PageSourceSearch

https://spinthewheel.io/95.e440eccae235f536.js

js spinthewheel.io collected 2026-10-03 20:20:07 UTC 512,883 bytes, 1 lines download raw bytes

1(self.webpackChunkwheel_fortune_reyble=self.webpackChunkwheel_fortune_reyble||[]).push([[95],{8822:(ce,mA,m)=>{"use strict";m.d(mA,{$R:()=>NA,$c:()=>D,I3:()=>N,Ns:()=>$,PZ:()=>Je,R6:()=>te,Rs:()=>iA,W3:()=>ee,W6:()=>J,X7:()=>tA,d4:()=>A,l0:()=>pA,m8:()=>Me,qo:()=>L});var CA=m(45),h=m(4391);const L=U=>"none"===U.kind||"verified"===U.kind?null:U.messageKey,iA="(blank entry)",pA=U=>U.active&&U.members.length>0,J=U=>(!U.stage3View.active||0===U.stage3View.members.length)&&U.winnerListLength>0&&U.showDialog,tA=(U,E=iA,z)=>{if(z){const lA=tA(z,E);if(lA.imageSrc)return lA}if(null==U||""===U)return{textPart:"",imageSrc:"",isBlank:!0,displayText:E};if(typeof DOMParser>"u"){const lA=U.replace(/<[^>]*>/g,"").trim(),ne=!lA;return{textPart:lA,imageSrc:"",isBlank:ne,displayText:ne?E:lA}}const HA=(new DOMParser).parseFromString(U,"text/html").querySelector("img")?.getAttribute("src")||"",WA=(new DOMParser).parseFromString(U,"text/html");WA.querySelectorAll("img").forEach(lA=>lA.remove());const MA=WA.body.textContent?.trim()||"",de=!MA&&!HA;return{textPart:MA,imageSrc:HA,isBlank:de,displayText:de?E:MA}},Q=U=>(0,CA.I2)(U)?"music":(0,CA.h2)(U)?"image":"other",A=U=>{const{snapshotLabels:E,spinWheel:z,lang:eA,winningIndex:fA,sealedLabel:HA}=U;if(!z||!E||null==fA||!Number.isInteger(fA)||fA<0||fA>=E.length||E[fA]!==(HA??""))return null;const MA=(0,h.K)({snapshotLabels:E,sourceWheel:{values:[...z.values],config:{allowDuplicates:z.allowDuplicates}},lang:eA})?.[fA];return null==MA||"string"!=typeof MA?null:{rawEntry:MA,kind:Q(MA)}},D=U=>{const E=U.wheels;if(!E?.length)return null;const{originWheelIndex:z,sourceWheelIndex:eA}=U;return 1===E.length&&"number"==typeof z&&Number.isInteger(z)&&z===eA?{wheel:E[0],dialogIndex:0}:!Number.isInteger(eA)||eA<0||eA>=E.length?null:{wheel:E[eA],dialogIndex:eA}},N=(U,E)=>E.wheelPosition;class ${constructor(){this.replayId=null,this.byLabel=new Map}bindReplay(E){E!==this.replayId&&(this.replayId=E,this.byLabel.clear())}get(E,z=iA,eA){const fA=`${z}\0${eA??""}\0${E??""}`,HA=this.byLabel.get(fA);if(HA)return HA;const WA=tA(E,z,eA);return this.byLabel.set(fA,WA),WA}get size(){return this.byLabel.size}clear(){this.replayId=null,this.byLabel.clear()}}const ee=U=>{if(!(U=>!!U.stage3Enabled&&!!U.currentSealedReplayId&&!!U.sessionSharedReplayId&&U.currentSealedReplayId===U.sessionSharedReplayId)({stage3Enabled:U.stage3Enabled,currentSealedReplayId:U.currentSealedReplayId,sessionSharedReplayId:U.sessionSharedReplayId}))return{active:!1,badge:{kind:"none"},replayUrl:null,members:[]};const E=(U=>(U?.members||[]).map(E=>({wheelPosition:E.wheelPosition,displayWheelNumber:E.displayWheelNumber,winnerLabel:E.winnerLabel,winningIndex:E.winningIndex,sourceWheelIndex:E.sourceWheelIndex,cryptographicStatus:E.cryptographicStatus,landingStatus:E.landingStatus})))(U.grouped),z=U.sharedReplayUrl||null;if(U.verificationPending||!U.grouped)return{active:!0,badge:{kind:"verifying",messageKey:"verifiedDraw.grouped.verifying"},replayUrl:z,members:E};const eA=U.grouped.overallProofStatus,fA=U.grouped.overallLandingStatus;return"verification-expired"===eA?{active:!0,badge:{kind:"expired",messageKey:"verifiedDraw.grouped.verificationExpired"},replayUrl:z,members:E}:U.mayShowOverallVerified&&U.grouped.mayShowOverallVerified?{active:!0,badge:{kind:"verified",messageKey:E.length>1?"verifiedDraw.grouped.allWheelsVerified":"verifiedDraw.grouped.overallVerified"},replayUrl:z,members:E}:"verified"===eA&&"pending"===fA?{active:!0,badge:{kind:"landing-pending",messageKey:"verifiedDraw.grouped.proofVerifiedLandingPending"},replayUrl:z,members:E}:"verified"!==eA||"mismatch"!==fA&&"incomplete"!==fA?"verifying"===eA?{active:!0,badge:{kind:"verifying",messageKey:"verifiedDraw.grouped.verifying"},replayUrl:z,members:E}:{active:!0,badge:{kind:"failed",messageKey:"verifiedDraw.grouped.oneOrMoreFailed"},replayUrl:z,members:E}:{active:!0,badge:{kind:"mismatch",messageKey:"verifiedDraw.grouped.proofVerifiedLandingMismatch"},replayUrl:z,members:E}},te=U=>{if("string"==typeof U)return U;if(U&&"object"==typeof U&&"value"in U){const E=U.value;return"string"==typeof E?E:""}return""},NA=U=>{const{liveValue:E,sealedLabel:z,provenRawEntry:eA}=U;return"string"==typeof eA&&E===eA||"string"!=typeof eA&&((U,E)=>{const z=E??"";if(U===z)return!0;const eA=tA(U,iA),fA=tA(z,iA);return eA.displayText===fA.displayText&&eA.imageSrc===fA.imageSrc})(E,z)},Me=(U,E,z,eA)=>{if(!Number.isInteger(E)||E<0||E>=(U.values?.length||0))return!1;const fA=te(U.values[E]);return!!NA({liveValue:fA,sealedLabel:z,provenRawEntry:eA})&&(U.values.splice(E,1),U.weightEntries?.splice(E,1),U.colors?.splice(E,1),!0)},Je=(U,E,z,eA)=>{if(!Number.isInteger(E)||E<0||E>=(U.values?.length||0))return!1;const fA=te(U.values[E]);if(!NA({liveValue:fA,sealedLabel:z,provenRawEntry:eA}))return!1;const HA=fA;if(!HA&&z)return!1;const WA=[];return U.values=U.values.filter((MA,de)=>
1te(MA)!==HA||(WA.push(de),!1)),U.weightEntries&&(U.weightEntries=U.weightEntries.filter(MA=>(MA?.value??"")!==HA)),U.colors?.length&&(U.colors=U.colors.filter((MA,de)=>!WA.includes(de))),!0}},7095:(ce,mA,m)=>{"use strict";m.r(mA),m.d(mA,{WheelsModule:()=>fc});var CA=m(1376),h=m(2452),L=m(9652),iA=m(1679),oA=m(321),pA=m(2849),J=m(8070),tA=m(4277),Q=m(2569),A=m(8782),y=m(4452),D=m(3838),N=m(3088);m(5539);let $n=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=A.$C({type:t}),t.\u0275inj=A.G2t({imports:[[y.Ui]]}),t})(),qs=(()=>{class t{constructor(e,a){(0,Q.Vy)(a)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,a=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:y.EA,useValue:{...y.PV,...e}},{provide:y.SL,useValue:a,multi:!0},{provide:y.Ce,useValue:!0}]:[{provide:y.EA,useValue:{...y.PV,...e}},{provide:y.SL,useValue:a,multi:!0}]}}}return t.\u0275fac=function(e){return new(e||t)(A.KVO(y.Ce),A.KVO(A.Agw))},t.\u0275mod=A.$C({type:t}),t.\u0275inj=A.G2t({imports:[[N.w2,D.Cc,$n],N.w2,D.Cc,$n]}),t})();var Aa=m(1826),Jt=m(227),De=m(9681),ea=m(3744),PA=m(8283),wt=m(334),rA=m(8165),ge=m(7705),He=m(8027),mt=m(9758),q=m(981),ii=m(7950),jn=m(8545),zt=m(9582),ie=m(5141),ta=m(4321),na=m(4603),Yn=m(2687),ra=m(6441),Ct=m(9067),si=m(3627),Jn=m(7038),zn=m(2698),ia=m(8574),OA=m.n(ia),QA=m(880),Oe=m(221),sa=m(4837),ai=m(9051),oi=m(9438),qe=m(904),_t=m(6813),Zn=m(5162),yt=m(5358),aa=m(3900),ke=m(9900),vt=m(4685),pe=m(5409),fe=m(4150),Ft=m(1701),qn=m(4967),li=m(5618),ci=m(5764),di=m(1859),kA=m(1217);function Zt(){return(Zt=(0,rA.A)(function*(t){if(t.isSessionActive())return{status:"session-blocked",code:"session-in-progress"};if(!(yield t.confirmPrivateWheelWarning()))return{status:"cancelled"};if(t.isSessionActive())return{status:"session-blocked",code:"session-in-progress"};const e=t.tryBegin();return!1===e.ok?{status:"session-blocked",code:e.code}:(t.markPreparing(e.token),{status:"begun",token:e.token})})).apply(this,arguments)}const qt=t=>{const c=t.session.sessionToken;return t.localToken&&t.localToken!==c?c:t.localToken||c},pi=t=>{!t.session.isActive||t.session.sessionToken!==t.token||t.session.bindVerification(t.token,t.replayId,t.verificationPromise||Promise.resolve(null))};var Qt=m(5238);const Le=(t,c=!1)=>({action:t,legacyDrawCount:0,retrySealCount:0,spinCount:0,targetWriteCount:0,markLandingUnprovenCount:0,releaseHoldCount:0,showProof:!1,commitmentEverEstablished:c}),fi=function(){var t=(0,rA.A)(function*(c,e,a){if(a.isStale())return Le("ignore-stale",e.commitmentEverEstablished);const o=e.commitmentEverEstablished||"sealed"===c.kind||"refused"===c.kind&&c.commitmentEstablished,g=(t=>{if(t.stale)return{action:"ignore-stale"};if(t.sealed){const c="number"==typeof t.winningIndex?t.winningIndex:-1;return(t=>!(!t.wheelExists||t.absorb&&!0!==t.awaitingTarget))({wheelExists:t.wheelExists,absorb:t.absorb,awaitingTarget:t.awaitingTarget})?{action:"apply-sealed",winningIndex:c,landingOffset:t.landingOffset??null}:{action:"discard-hold-expired",winningIndex:c}}return t.refusal?((t,c=!1)=>!t.sealAttempted&&!t.commitmentEstablished&&!c)(t.refusal,!!t.commitmentEverEstablished)?{action:"legacy-fallback"}:t.refusal.commitmentEstablished&&!t.refusal.sealAttempted&&"string"==typeof t.refusal.commitmentId&&t.refusal.commitmentId?{action:"retry-seal",commitmentId:t.refusal.commitmentId}:{action:"release-without-target"}:{action:"release-without-target"}})({stale:!1,sealed:"sealed"===c.kind,winningIndex:"sealed"===c.kind?c.winningIndex:void 0,landingOffset:"sealed"===c.kind?c.landingOffset??null:void 0,absorb:e.absorb,wheelExists:!!e.wheel,awaitingTarget:!!e.wheel?.awaitingTarget,commitmentEverEstablished:o,refusal:"refused"===c.kind?{sealAttempted:c.sealAttempted,commitmentEstablished:c.commitmentEstablished,commitmentId:c.commitmentId}:void 0});if("ignore-stale"===g.action)return Le("ignore-stale",o);if("apply-sealed"===g.action||"discard-hold-expired"===g.action){if(a.isStale())return Le("ignore-stale",o);const F=Le(g.action,o);"apply-sealed"===g.action&&!e.absorb&&(a.startSpin(),F.spinCount+=1);const G=((t,c)=>{const e={markLandingUnproven:!1,releaseHold:!1,targetWriteCount:0,showProof:!1,legacyFallback:!1};if("ignore-stale"===t.action)return e;if("apply-sealed"===t.action){const a=c.wheel;return!a||c.absorb&&!0!==a.awaitingTarget?{markLandingUnproven:!0,releaseHold:c.absorb,targetWriteCount:0,showProof:!1,legacyFallback:!1}:(a.targetIndex=t.winningIndex,a.targetOffset="number"==typeof t.landingOffset&&Number.isFinite(t.landingOffset)&&t.landingOffset>=.1&&t.landingOffset<=.9?t.landingOffset:null,a.awaitingTarget=!1,{markLandingUnproven:!1,releaseHold:!1,targetWriteCount:1,showProof:!0,legacyFallback:!1})}return"discard-hold-expired"===t.action?{markLandingUnproven:!0,releaseHold:c.absorb,targetWriteCount:0,showProof:!1,legacyFallback:!1}:e})(g,{absorb:e.absorb,wheel:e.wheel});return F.targetWriteCount=G.targetWriteCount,F.showProof=G.showProof,G.markLandingUnproven&&(a.markLandingUnproven(),F.markLandingUnprovenCount+=1),G.releaseHold&&(a.releaseHold(),F.releaseHoldCount+=1),F}if("legacy-fallback"===g.action)return yield a.drawLegacy(),{...Le("legacy-fallback",o),legacyDrawCount:1};if("retry-seal"===g.action&&!e.retried){const F=yield a.retrySeal(),G=yield fi(F,{...e,retried:!0,commitmentEverEstablished:!0},a);return{...G,retrySealCount:G.retrySealCount+1,commitmentEverEstablished:!0}}if(a.isStale())return Le("ignore-stale",o);const C=Le("retry-seal"===g.action?"release-without-target":g.action,o);return a.releaseOrPlainSpin(),e.absorb?C.releaseHoldCount+=1:C.spinCount+=1,C});return function(e,a,o){return t.apply(this,arguments)}}();var er=m(7495),hi=m(3232),fa=m(6575),ha=m(920),tn=m(2058),Bi=m(6363);function Ba(t,c){1&t&&(A.j41(0,"div",8),A.nrm(1,"div",9),A.k0s())}function wa(t,c){if(1&t){const e=A.RV6();A.qex(0),A.j41(1,"div",2)(2,"canvas",3),A.bIt("click",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.onWheelClick())}),A.k0s(),A.nrm(3,"canvas",4),A.DNE(4,Ba,2,0,"div",5),A.k0s(),A.j41(5,"div",6,0),A.bIt("click",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.onWheelClick())}),A.j41(7,"div",7),A.EFF(8),A.nI1(9,"translate"),A.k0s()(),A.bVm()}if(2&t){const e=A.XpG();A.R7$(2),A.AVh("wheel-canvas--idle-nudge",e.isIdleNudge)("wheel-canvas--idle-pulse",e.isIdlePulse)("wheel-canvas--idle-shimmer",e.isIdleShimmer)("wheel-canvas--idle-swing",e.isIdleSwing),A.Y8G("id","wheel"+e.wheelIndex),A.R7$(),A.Y8G("hidden",!e.showPointerOverlay)("id","wheelPointer"+e.wheelIndex),A.R7$(),A.Y8G("ngIf",e.verifying),A.R7$(3),A.AVh("wheel-info_top--pulse",e.isPreviewComplete),A.Y8G("hidden",e.shouldHideSpinText),A.R7$(),A.SpI(" ",A.bMT(9,16,"text.spin")," ")}}let wi=(()=>{class t{get shouldHideSpinText(){return this.replayService.isReplay||this.isSpinned||this.isFullScreen||this.isSpinAllOnly&&0!==this.wheelIndex}get verifying(){return this.isBrowser&&this.verifiedDrawService.loading&&!this.spinnerService.isSpinning$.value}constructor(e,a,o,g,C,F,G,M,AA,bA,yA,BA,UA,$A,cA,VA,oe){this.audioService=e,this.winnerService=a,this.spinnerService=o,this.gaService=g,this.wheelStateService=C,this.wheelDefaultService=F,this.replayService=G,this.verifiedDrawService=M,this.spinProofSpinService=AA,this.spinProofSessionService=bA,this.spinProofWheelDelegates=yA,this.privateWheelPublicReplayWarning=BA,this.snackBar=UA,this.translate=$A,this.changeDetectorRef=cA,this.iframeDetectorService=VA,this.platformId=oe,this.destroy$=new ge.B,this.lastFrameTime=0,this.animationFrameId=null,this.previewAnimationFrameId=null,this.pointerAnimationFrameId=null,this.swingPointerRafId=null,this.swingPointerLastColor=null,this.redrawRafId=null,this.redrawTimeoutId=null,this.pointerAnimationStartedAt=null,this.pointerAnimationType=null,this.pointerPressDurationMs=450,this.pointerSettleDurationMs=900,this.idleNudgeFirstMs=0,this.idleSequence=[{effect:"swing",durationMs:0,delayAfter:0}],this.idleNudgeTimer=null,this.idleEffectCycle=0,this.idleStartTimer=function At(t={setTimeout,clearTimeout}){let c=null;return{get isPending(){return null!==c},schedule(e,a){null!==c&&(t.clearTimeout(c),c=null),c=t.setTimeout(()=>{c=null,a()},e)},cancel(){null!==c&&(t.clearTimeout(c),c=null)}}}(),this.isSpinned=!1,this.isPreviewComplete=!1,this.isIdleNudge=!1,this.isIdlePulse=!1,this.isIdleShimmer=!1,this.isIdleSwing=!1,this.showPointerOverlay=!1,this.wheelData=new ie.Q,this.tableSounds={duringSpinSound:null,afterSpinSound:null},this.wheelSounds={duringSpinSound:null,afterSpinSound:null},this.isInitial=!0,this.absorbThisSpin=!1,this.PROOF_FETCH_TIMEOUT_MS=1e4,this.proofAbort=null,this.proofTimeoutId=null,this.destroyed=!1,this.proofAttempt=null,this.proofSessionToken=null,this.proofDelegateRegistrationId=null,this.proofDelegateRegisteredIndex=null,this.isFullScreen=!1,this.isSpinAllOnly=!1,this.spinnerClicked=new A.bkB,this.isBrowser=(0,Q.UE)(this.platformId),this.isBrowser&&(this.wheel=new _t.Q3(this.audioService),this.attachWheelImageLoadHandler(),this.myTicker=new Zn.R),this.defaultTable=OA()(this.wheelDefaultService.defaultTable$.value)}ngOnChanges(e){e.wheelIndex&&this.isBrowser&&(this.setWheelsDataOnChanges(),this.registerProofDelegate()),e.isSpinAllStarted&&this.isSpinAllStarted&&this.spinAll()}ngOnInit(){this.onRestoreTODefault()}ngAfterViewInit(){this.wheelStateService.getCurrentWheel().pipe((0,q.Q)(this.destroy$)).subscribe(e=>{e=e||new zt.X,this.table=e,!e.deleted&&e?.config&&(this.preloadTableSounds(e.config),this.commonConfig=e.config)}),this.isBrowser&&("requestIdleCallback"in window?window.requestIdleCallback(()=>
1{this.drawCanvas(),this.detectFirstSpin$(),this.startPreviewAnimation()},{timeout:100}):setTimeout(()=>{this.drawCanvas(),this.detectFirstSpin$(),this.startPreviewAnimation()},0),this.registerProofDelegate())}onRestoreTODefault(){this.wheelStateService.onRestoreToDefault.pipe((0,q.Q)(this.destroy$)).subscribe(()=>{this.spinnerService.changeSpinningStatus(!1),this.clearData(),this.setWheelsDataOnChanges()})}clearData(){this.cancelAnimationLoop(),this.cancelPreviewAnimation(),this.wheel=new _t.Q3(this.audioService),this.attachWheelImageLoadHandler(),this.myTicker=new Zn.R,this.spinnerService.changeSpinningStatus(!1)}attachWheelImageLoadHandler(){this.wheel.wheelPainter.onImageLoad=()=>{this.drawCanvas(),this.showPointerOverlay&&this.drawPointerOverlay()}}cancelAnimationLoop(){null!==this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null)}cancelPreviewAnimation(){null!==this.previewAnimationFrameId&&(cancelAnimationFrame(this.previewAnimationFrameId),this.previewAnimationFrameId=null),this.isPreviewComplete=!1,this.wheel?.wheelPainter&&(this.wheel.wheelPainter.showPointer=!0),this.showPointerOverlay=!1,this.cancelIdleNudge(!0)}scheduleIdleNudge(e=this.idleNudgeFirstMs){this.cancelIdleNudge(),this.idleNudgeTimer=setTimeout(()=>{if(this.isSpinned||null!==this.animationFrameId)return;this.isPreviewComplete||(this.isPreviewComplete=!0);const{effect:a,durationMs:o,delayAfter:g}=this.idleSequence[this.idleEffectCycle%this.idleSequence.length];this.isIdleNudge=!1,this.isIdlePulse=!1,this.isIdleShimmer=!1,this.isIdleSwing="swing"===a,"swing"===a&&(this.wheel.wheelPainter.showPointer=!1,this.drawCanvas(),this.drawPointerOverlay(),this.showPointerOverlay=!0,this.startSwingPointerAnimation()),this.idleEffectCycle++,this.changeDetectorRef.detectChanges(),0!==o&&(this.idleNudgeTimer=setTimeout(()=>{this.isIdleNudge=!1,this.isIdlePulse=!1,this.isIdleShimmer=!1,this.isIdleSwing=!1,this.changeDetectorRef.detectChanges(),this.scheduleIdleNudge(g)},o))},e)}cancelIdleNudge(e=!1){this.idleStartTimer.cancel(),null!==this.idleNudgeTimer&&(clearTimeout(this.idleNudgeTimer),this.idleNudgeTimer=null),this.stopSwingPointerAnimation(),this.isIdleNudge=!1,this.isIdlePulse=!1,this.isIdleShimmer=!1,this.isIdleSwing=!1,e&&(this.idleEffectCycle=0)}cancelPointerAnimation(){null!==this.pointerAnimationFrameId&&(cancelAnimationFrame(this.pointerAnimationFrameId),this.pointerAnimationFrameId=null),this.pointerAnimationStartedAt=null,this.pointerAnimationType=null,this.wheel?.wheelPainter&&(this.wheel.wheelPainter.pointerEmphasis=0)}setWheelsDataOnChanges(){let e=!0;this.wheelOnChangeSubscription&&(this.wheelOnChangeSubscription.unsubscribe(),e=!1),this.wheelOnChangeSubscription=this.wheelStateService.getWheelByIndex(this.wheelIndex).pipe((0,q.Q)(this.destroy$),(0,oi.c)(0)).subscribe(a=>{if(this.table?.deleted)return this.wheelData=new ie.Q,void this.configureWheel();a=a||new ie.Q,this.preloadWheelSounds(a.config),a&&JSON.stringify(a)!==JSON.stringify(this.wheelDataForCompare)||this.wheel&&!e?(a.config.isDisplayLimit=a.values?.length>_t.Q3.MAX_DISPLAY_ENTRIES,this.wheelData=a,this.handleWheelColors(),this.wheel.config=this.wheelData.config,this.wheelDataForCompare=OA()(a),this.wheelData?.config&&this.scheduleConfigureWheel()):this.wheelData=a})}handleWheelColors(){const e=this.wheelData.colors;this.wheelData.config.colors?.length||(this.wheelData.config.colors=(0,pe.C)(e||fe.vK.colors));const a=this.wheelData.config.colors;if(e?.length<this.wheelData.values?.length){let o=a.findIndex(g=>g?.color===e[e.length-1]?.color)+1;o<0&&(o=0);for(let g=e.length;g<this.wheelData.values.length;g++,o++)this.wheelData.colors.push(a[o%a.length])}}preloadTableSounds(e){this.isInitial||(this.tableSounds.duringSpinSound!==e.duringSpinSound&&(this.audioService.preloadSound(e.duringSpinSound,!0),this.tableSounds.duringSpinSound=e.duringSpinSound),this.tableSounds.afterSpinSound!==e.afterSpinSound&&(this.audioService.preloadSound(e.afterSpinSound,!1),this.tableSounds.afterSpinSound=e.afterSpinSound))}preloadWheelSounds(e){this.isInitial||(this.wheelSounds.duringSpinSound!==e.duringSpinSound&&(this.audioService.preloadSound(e.duringSpinSound,!0),this.wheelSounds.duringSpinSound=e.duringSpinSound),this.wheelSounds.afterSpinSound!==e.afterSpinSound&&(this.audioService.preloadSound(e.afterSpinSound,!1),this.wheelSounds.afterSpinSound=e.afterSpinSound))}drawCanvas(){const e=document.getElementById(`wheel${this.wheelIndex}`);
1if(!e)return;const a=e?.getContext("2d");a.clearRect(0,0,e.width,e.height),this.wheel.draw(a)}drawPointerOverlay(e){const a=document.getElementById(`wheelPointer${this.wheelIndex}`);if(!a)return;const o=a.getContext("2d");o.clearRect(0,0,a.width,a.height),this.wheel.wheelPainter.drawPointer(o,.455*a.width,!1,e??this.wheel.angle,this.wheel.namePicker?.getDisplayNames(),this.wheel.colors)}getSwingRotationRad(){const e=document.getElementById(`wheel${this.wheelIndex}`);if(!e)return 0;const a=getComputedStyle(e).transform;if(!a||"none"===a)return 0;const o=a.match(/matrix\(([^)]+)\)/);if(!o)return 0;const g=o[1].split(",").map(C=>parseFloat(C));return Math.atan2(g[1],g[0])}startSwingPointerAnimation(){this.stopSwingPointerAnimation();const e=this.wheel?.wheelPainter;if(!e||e.pointerStyle!==Qt.uQ)return;const a=this.wheel.namePicker?.getDisplayNames(),o=this.wheel.colors,g=this.wheel.angle,C=5*Math.PI/180,F=[-C,-C/2,0,C/2,C].map(AA=>e.getColorAtPointer(g+AA,a,o));if(!F.some(AA=>AA!==F[0]))return;this.swingPointerLastColor=null;const M=()=>{if(!this.isIdleSwing||this.wheel?.wheelPainter?.pointerStyle!==Qt.uQ)return void(this.swingPointerRafId=null);const AA=this.wheel.angle+this.getSwingRotationRad(),bA=this.wheel.wheelPainter.getColorAtPointer(AA,this.wheel.namePicker?.getDisplayNames(),this.wheel.colors);bA!==this.swingPointerLastColor&&(this.swingPointerLastColor=bA,this.drawPointerOverlay(AA)),this.swingPointerRafId=requestAnimationFrame(M)};this.swingPointerRafId=requestAnimationFrame(M)}stopSwingPointerAnimation(){null!==this.swingPointerRafId&&(cancelAnimationFrame(this.swingPointerRafId),this.swingPointerRafId=null),this.swingPointerLastColor=null}startPreviewAnimation(){const e=function LA(t){return t.isSpinned||t.hasAnimationFrame?"skip":t.isObs||!(t.autoStartIdleAnimation??1)?"complete-without-idle":"schedule-idle-after-delay"}({isSpinned:this.isSpinned,hasAnimationFrame:null!==this.animationFrameId,isObs:this.iframeDetectorService.isObs});!function ca(t,c){c.cancelPendingIdleStart(),"skip"!==t&&(c.markPreviewComplete(),"complete-without-idle"!==t&&c.scheduleIdleAfterDelay())}(e,{markPreviewComplete:()=>{this.isPreviewComplete=!0},cancelPendingIdleStart:()=>{this.cancelIdleNudge()},scheduleIdleAfterDelay:()=>{this.idleStartTimer.schedule(2e3,()=>{this.scheduleIdleNudge(this.idleNudgeFirstMs)})}})}detectFirstSpin$(){this.spinnerService.isSpinning().pipe((0,qe.p)(Boolean),(0,mt.$)()).subscribe(()=>{this.isSpinned=!0,this.wheel.wheelPainter.showPointer=!0,this.showPointerOverlay=!1,this.cancelIdleNudge(!0)})}tick(e){for((0,kA.xT)()&&(0,kA.eO)("T5"),this.myTicker.setTimestamp(e);this.myTicker.shouldTick();)this.wheel.tick();if(!document.getElementById(`wheel${this.wheelIndex}`))return;const a=document.getElementById(`wheel${this.wheelIndex}`);if(!a)return;const o=a?.getContext("2d");o.clearRect(0,0,1e3,1e3);try{this.wheel.draw(o)}catch{}this.wheel?.isSpinning()?this.animationFrameId=requestAnimationFrame(this.tick.bind(this)):(this.animationFrameId=null,this.startPointerAnimation("settle"))}startPointerAnimation(e){this.cancelPointerAnimation(),this.pointerAnimationType=e,this.pointerAnimationStartedAt=null,this.pointerAnimationFrameId=requestAnimationFrame(this.tickPointerAnimation.bind(this))}tickPointerAnimation(e){if(!this.pointerAnimationType)return;null===this.pointerAnimationStartedAt&&(this.pointerAnimationStartedAt=e);const o=Math.min((e-this.pointerAnimationStartedAt)/("press"===this.pointerAnimationType?this.pointerPressDurationMs:this.pointerSettleDurationMs),1),g="press"===this.pointerAnimationType?Math.sin(o*Math.PI):Math.sin(o*Math.PI*2)*(1-o);this.wheel.wheelPainter.pointerEmphasis=Math.max(0,g),this.drawCanvas(),o<1?this.pointerAnimationFrameId=requestAnimationFrame(this.tickPointerAnimation.bind(this)):(this.cancelPointerAnimation(),this.drawCanvas())}startAnimationLoop(){this.cancelPreviewAnimation(),this.cancelAnimationLoop(),this.myTicker=new Zn.R,this.lastFrameTime=0,this.animationFrameId=requestAnimationFrame(this.tick.bind(this))}forceSpin(){this.verifiedDrawService.enabled&&this.spinProofSessionService.isActive||this.spin()}finishSpin(){this.wheel?.isSpinning()&&(this.cancelAnimationLoop(),this.wheel.finishSpin(),this.drawCanvas())}onWheelClick(){if(this.replayService.isReplay)this.snackBar.open(this.translate.instant("replay.functionNotAvailable"),"",{duration:3e3});else if(this.isInitial&&(this.isInitial=!1,this.table?.config&&this.preloadTableSounds(this.table.config),this.wheelData?.config&&this.preloadWheelSounds(this.wheelData.config)),this.verifiedDrawService.enabled&&this.spinProofSessionService.isActive)"single"===this.spinProofSessionService.mode&&this.snackBar.open(this.translate.instant("verifiedDraw.proofSpinInProgress"),"",{duration:3e3});else if(this.isSpinAllOnly&&this.table.wheels.length>
11)this.spinnerClicked.emit();else{if(!(this.verifiedDrawService.enabled&&this.table?.id&&this.spinProofSpinService.eligibleWheel(this.wheelData)))return this.verifiedDrawService.enabled&&this.table?.id?(this.spinProofSpinService.discard(),void this.runVerifiedDrawThenSpin()):(this.spinProofSpinService.discard(),this.verifiedDrawService.clearResult(),void this.spin());this.runReproducibleSpin()}}runReproducibleSpin(){var e=this;return(0,rA.A)(function*(){if(e.winnerService.isSpinDisabled||e.verifiedDrawService.loading||e.spinProofSpinService.busy)return;if(e.spinProofSessionService.isActive)return void e.snackBar.open(e.translate.instant("verifiedDraw.proofSpinInProgress"),"",{duration:3e3});if(e.spinnerService.isSpinning$.value)return void e.snackBar.open(e.translate.instant("verifiedDraw.spinInProgress"),"",{duration:3e3});(0,kA.K9)({path:"fetch-first",session:"single",spinTime:e.wheelData?.config?.spinTime??5});const o=yield function gi(t){return Zt.apply(this,arguments)}({isSessionActive:()=>e.spinProofSessionService.isActive,confirmPrivateWheelWarning:()=>e.privateWheelPublicReplayWarning.confirmIfNeeded(e.table),tryBegin:()=>e.spinProofSessionService.tryBegin({mode:"single",wheelId:e.table.id,documentWheelCount:e.table.wheels?.length??0,selectedSourceWheelIndex:e.wheelIndex,wheels:e.table.wheels??[],isMemberMoving:()=>!!e.wheel?.isSpinning?.()}),markPreparing:AA=>e.spinProofSessionService.markPreparing(AA)});if("begun"!==o.status)return(0,kA.Ie)(o.status),void("session-blocked"===o.status&&"session-in-progress"===o.code&&e.snackBar.open(e.translate.instant("verifiedDraw.proofSpinInProgress"),"",{duration:3e3}));(0,kA.eO)("T0.5");const g=o.token;e.proofSessionToken=g,e.verifiedDrawService.clearResult(),e.verifiedDrawService.clearPending(),e.verifiedDrawService.loading=!0;const C=(e.wheelData?.config?.spinTime??0)>=_t.Q3.ABSORB_MIN_SPIN_TIME;C&&((0,kA.Yb)("absorb"),e.absorbThisSpin=!0,e.spin(),e.spinProofSessionService.reportStarted(g,e.wheelIndex));const F=new AbortController;e.proofAbort=F,e.proofTimeoutId=setTimeout(()=>F.abort(),e.PROOF_FETCH_TIMEOUT_MS),e.proofAttempt={wheelId:e.table.id,wheelIndex:e.wheelIndex};const G=1e3*(e.wheelData?.config?.spinTime??5);let M;try{M=yield e.spinProofSpinService.run(e.table.id,{sessionMode:"single",wheelIndices:[e.wheelIndex]},{signal:F.signal}),"sealed"===M.kind?(M.commitmentId&&M.sessionCommitment&&e.spinProofSessionService.markSeeding(g,M.commitmentId,M.sessionCommitment),e.spinProofSessionService.markSealing(g),e.spinProofSessionService.markReadyToAnimate(g,{results:M.results||[{wheelPosition:0,sourceWheelIndex:e.wheelIndex,winningIndex:M.winningIndex,winnerLabel:M.winnerLabel,entryCount:(e.wheelData?.values||[]).length}],replayId:M.replayId,replayUrl:M.replayUrl,proofHash:M.proofHash||"",commitmentId:M.commitmentId||"",sessionCommitment:M.sessionCommitment})?(pi({session:e.spinProofSessionService,token:g,replayId:M.replayId,verificationPromise:M.verificationPromise}),e.spinProofSessionService.armWatchdog(g,G,{isObs:()=>e.iframeDetectorService.isObs})):(e.spinProofSessionService.finishFailed(g,"result-mismatch"),e.proofSessionToken=null)):!M.commitmentEstablished&&!M.sealAttempted&&(e.spinProofSessionService.finishFailed(g,M.code),e.proofSessionToken=null,(0,kA.Ie)(M.code))}catch{e.spinProofSessionService.finishFailed(g,"unexpected-run"),e.proofSessionToken=null,(0,kA.Ie)("unexpected-run"),M={kind:"refused",code:"unexpected-run",retryable:!1,sealAttempted:!0,commitmentEstablished:!!e.spinProofSessionService.openCommitmentId,attemptGeneration:e.spinProofSpinService.currentGeneration}}finally{null!==e.proofTimeoutId&&(clearTimeout(e.proofTimeoutId),e.proofTimeoutId=null),e.proofAbort=null,e.verifiedDrawService.loading=!1}yield e.resolveReproducibleOutcome(M,C,F.signal),"refused"===M.kind&&(0,kA.xT)()&&(0,kA.Ie)(M.code)})()}resolveReproducibleOutcome(e,a,o){var g=this;return(0,rA.A)(function*(C,F,G,M=!1){if(g.destroyed)return;let AA=C.attemptGeneration;const bA=()=>g.isCurrentProofAttemptStale(AA),yA="sealed"===C.kind?{kind:"sealed",winningIndex:C.winningIndex,landingOffset:(0,di.d)(C.sig,C.results?.[0]?.wheelPosition??0)}:{kind:"refused",sealAttempted:C.sealAttempted,commitmentEstablished:C.commitmentEstablished,commitmentId:C.commitmentId},BA="sealed"===C.kind||"refused"===C.kind&&C.commitmentEstablished;var $A;(yield fi(yA,{absorb:F,wheel:g.wheel??null,retried:M,commitmentEverEstablished:BA},{isStale:bA,startSpin:()=>{!g.destroyed&&!bA()&&(g.spin(),g.proofSessionToken&&g.spinProofSessionService.reportStarted(g.proofSessionToken,g.wheelIndex))},releaseOrPlainSpin:()=>
1{if(!g.destroyed&&!bA()){if(g.proofSessionToken&&g.spinProofSessionService.isActive&&(g.spinProofSessionService.finishFailed(g.proofSessionToken,"release-without-target"),g.proofSessionToken=null),F)return void g.releaseVerifiedHold();g.spinnerService.isSpinning$.value||g.spin()}},drawLegacy:($A=(0,rA.A)(function*(){g.destroyed||bA()||(g.proofSessionToken&&g.spinProofSessionService.isActive&&(g.spinProofSessionService.release(g.proofSessionToken),g.proofSessionToken=null),yield g.runLegacyFallbackAfterV2(F,AA))}),function(){return $A.apply(this,arguments)}),retrySeal:function(){var $A=(0,rA.A)(function*(){if(g.destroyed||bA())return{kind:"refused",sealAttempted:!1,commitmentEstablished:!0};let cA;g.verifiedDrawService.loading=!0;try{cA=yield g.spinProofSpinService.retrySeal({signal:G})}finally{g.verifiedDrawService.loading=!1}return AA=cA.attemptGeneration,"sealed"===cA.kind&&g.proofSessionToken&&((t=>{const{session:c,token:e,outcome:a}=t;if(!c.isActive||c.sessionToken!==e)return!1;const o=a.results&&a.results.length?a.results:[{wheelPosition:0,sourceWheelIndex:t.sourceWheelIndex,winningIndex:a.winningIndex,winnerLabel:a.winnerLabel,entryCount:t.entryCount}];return a.commitmentId&&a.sessionCommitment&&c.markSeeding(e,a.commitmentId,a.sessionCommitment),("preparing"===c.state||"seeding"===c.state)&&c.markSealing(e),c.markReadyToAnimate(e,{results:o,replayId:a.replayId,replayUrl:a.replayUrl,proofHash:a.proofHash||"",commitmentId:a.commitmentId||"",sessionCommitment:a.sessionCommitment})})({session:g.spinProofSessionService,token:g.proofSessionToken,sourceWheelIndex:g.
1wheelIndex,outcome:cA,entryCount:(g.wheelData?.values||[]).length})?(pi({session:g.spinProofSessionService,token:g.proofSessionToken,replayId:cA.replayId,verificationPromise:cA.verificationPromise}),g.spinProofSessionService.armWatchdog(g.proofSessionToken,1e3*(g.wheelData?.config?.spinTime??5),{isObs:()=>g.iframeDetectorService.isObs})):(g.spinProofSessionService.finishFailed(g.proofSessionToken,"retry-result-mismatch"),g.proofSessionToken=null)),"sealed"===cA.kind?{kind:"sealed",winningIndex:cA.winningIndex,landingOffset:(0,di.d)(cA.sig,cA.results?.[0]?.wheelPosition??0)}:{kind:"refused",sealAttempted:cA.sealAttempted,commitmentEstablished:cA.commitmentEstablished,commitmentId:cA.commitmentId}});return function(){return $A.apply(this,arguments)}}(),markLandingUnproven:()=>{!g.destroyed&&!bA()&&(g.spinProofSpinService.markLandingUnproven(),g.proofSessionToken&&g.spinProofSessionService.isActive&&(g.spinProofSessionService.finishFailed(g.proofSessionToken,"hold-expired"),g.proofSessionToken=null))},releaseHold:()=>{!g.destroyed&&!bA()&&g.releaseVerifiedHold()}})).targetWriteCount>0&&(0,kA.eO)("T6")}).apply(this,arguments)}isCurrentProofAttemptStale(e){const a=this.proofAttempt;return!a||(t=>!(!t.destroyed&&t.currentWheelId&&t.attemptWheelId===t.currentWheelId&&t.attemptWheelIndex===t.currentWheelIndex&&((t,c)=>t===c)(t.attemptGeneration,t.currentGeneration)))({destroyed:this.destroyed,attemptWheelId:a.wheelId,attemptWheelIndex:a.wheelIndex,currentWheelId:this.table?.id,currentWheelIndex:this.wheelIndex,attemptGeneration:e,currentGeneration:this.spinProofSpinService.currentGeneration})}runLegacyFallbackAfterV2(e,a){var o=this;return(0,rA.A)(function*(){o.verifiedDrawService.loading=!0;let g=!1,C=null;try{C=yield o.withFetchTimeout(o.verifiedDrawService.draw(o.table.id,o.wheelIndex))}catch{g=!0}finally{o.verifiedDrawService.loading=!1}if((t=>!t.destroyed&&!t.stale)({destroyed:o.destroyed,stale:o.isCurrentProofAttemptStale(a)})){if(g?(o.verifiedDrawService.clearResult(),o.snackBar.open(o.translate.instant("verifiedDraw.error"),"",{duration:4e3})):C&&o.verifiedDrawService.applyResult(C,o.wheelIndex),e)return void o.releaseVerifiedHold();o.spin()}})()}runVerifiedDrawThenSpin(){var e=this;return(0,rA.A)(function*(){if(e.winnerService.isSpinDisabled||e.verifiedDrawService.loading)return;if(e.spinnerService.isSpinning$.value)return void e.snackBar.open(e.translate.instant("verifiedDraw.spinInProgress"),"",{duration:3e3});const a=(e.wheelData?.config?.spinTime??0)>=_t.Q3.ABSORB_MIN_SPIN_TIME;if(e.verifiedDrawService.loading=!0,e.verifiedDrawService.clearPending(),a){e.absorbThisSpin=!0,e.spin();try{const o=yield e.withFetchTimeout(e.verifiedDrawService.draw(e.table.id,e.wheelIndex));e.verifiedDrawService.applyResult(o,e.wheelIndex)}catch{e.verifiedDrawService.clearResult(),e.snackBar.open(e.translate.instant("verifiedDraw.error"),"",{duration:4e3})}finally{e.verifiedDrawService.loading=!1}e.releaseVerifiedHold()}else{try{const o=yield e.verifiedDrawService.draw(e.table.id,e.wheelIndex);e.verifiedDrawService.applyResult(o,e.wheelIndex)}catch{e.verifiedDrawService.clearResult(),e.snackBar.open(e.translate.instant("verifiedDraw.error"),"",{duration:4e3})}finally{e.verifiedDrawService.loading=!1}e.spin()}})()}withFetchTimeout(e,a=1e4){return Promise.race([e,new Promise((o,g)=>setTimeout(()=>g(new Error("verified draw timeout")),a))])}releaseVerifiedHold(){this.applyReplayTarget(),this.wheel&&(this.wheel.awaitingTarget=!1)}spin(){(this.wheelData.values||[]).length&&!this.winnerService.isSpinDisabled?(this.gaService.track(new yt.i(vt.M.Spin,"Spin")),this.isSpinned=!0,this.spinnerService.changeSpinningStatus(!0),this.startPointerAnimation("press"),this.reseedReplayWinners(),this.applyReplayTarget(),this.wheel.awaitingTarget=this.absorbThisSpin,this.wheel.absorbLatency=this.absorbThisSpin,this.absorbThisSpin=!1,this.wheel.click(this.onNameChanged,this.onStopWheelSpin.bind(this),this.wheelData.config),this.startAnimationLoop()):this.absorbThisSpin=!1}reseedReplayWinners(){this.replayService.isReplay&&(this.wheelData.winners=[...this.replayService.getLockedResults(this.wheelIndex)])}applyReplayTarget(){this.wheel&&(this.wheel.targetIndex=this.spinProofSessionService.isActive&&this.spinProofSessionService.isMember(this.wheelIndex)?this.spinProofSessionService.getTargetIndex(this.wheelIndex):this.replayService.getTargetIndex(this.wheelIndex)??this.spinProofSessionService.getTargetIndex(this.wheelIndex)??this.verifiedDrawService.getTargetIndex(this.wheelIndex),this.wheel.targetOffset=this.replayService.getLandingOffset(this.wheelIndex)??this.verifiedDrawService.getLandingOffset(this.wheelIndex))}registerProofDelegate(){if(!this.isBrowser||this.destroyed||"number"!=typeof this.wheelIndex)return;this.proofDelegateRegistrationId&&null!==this.proofDelegateRegisteredIndex&&this.proofDelegateRegisteredIndex!==this.wheelIndex&&(this.spinProofWheelDelegates.unregister(this.proofDelegateRegisteredIndex,this.proofDelegateRegistrationId),this.proofDelegateRegistrationId=null);const e=this.proofDelegateRegistrationId||`wheel-${this.wheelIndex}-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`;this.proofDelegateRegistrationId=e,this.proofDelegateRegisteredIndex=this.wheelIndex,this.spinProofWheelDelegates.register({sourceWheelIndex:this.wheelIndex,registrationId:e,applyProofTarget:(a,o)=>this.applyProofTargetForSession(a,o),startProofAnimation:()=>this.startProofAnimationForSession(),startProofHold:()=>this.startProofHoldForSession(),isHoldingProofTarget:()=>this.isHoldingProofTargetForSession(),releaseProofHold:()=>this.releaseProofHoldForSession(),abandonProofHold:()=>this.abandonProofHoldForSession(),isLive:()=>!this.destroyed&&!!this.wheel&&"number"==typeof this.wheelIndex})}applyProofTargetForSession(e,a){if(this.destroyed||!this.wheel||"number"!=typeof e||!Number.isInteger(e)||e<0)return!1;const o=(this.wheelData?.values||[]).length;return!(!o||e>=o)&&(this.wheel.targetIndex=e,this.wheel.targetOffset="number"==typeof a&&Number.isFinite(a)&&a>=.1&&a<=.9?a:null,this.wheel.targetIndex===e)}startProofAnimationForSession(){return!(this.destroyed||!this.wheel||this.winnerService.isSpinDisabled||!(this.wheelData?.values||[]).length||this.spinProofSessionService.isActive&&this.spinProofSessionService.isMember(this.wheelIndex)&&null===this.spinProofSessionService.getTargetIndex(this.wheelIndex)&&"number"!=typeof this.wheel.targetIndex||(this.gaService.track(new yt.i(vt.M.Spin,"spin all")),this.spinnerService.changeSpinningStatus(!0),this.startPointerAnimation("press"),this.reseedReplayWinners(),"number"!=typeof this.wheel.targetIndex&&this.applyReplayTarget(),this.wheel.awaitingTarget=!1,this.wheel.absorbLatency=!1,this.wheel.click(this.onNameChanged,this.onStopOneOfWheels.bind(this),this.commonConfig),this.startAnimationLoop(),this.reportProofSessionStarted(),0))}startProofHoldForSession(){return!(this.destroyed||!this.wheel||this.winnerService.isSpinDisabled||!(this.wheelData?.values||[]).length||!this.spinProofSessionService.isActive||!this.spinProofSessionService.isMember(this.wheelIndex)||null!==this.spinProofSessionService.getTargetIndex(this.wheelIndex)||this.wheel.isSpinning?.()||(this.gaService.track(new yt.i(vt.M.Spin,"spin all")),this.spinnerService.changeSpinningStatus(!0),this.startPointerAnimation("press"),this.reseedReplayWinners(),this.wheel.targetIndex=null,this.wheel.targetOffset=null,this.wheel.awaitingTarget=!0,this.wheel.absorbLatency=!0,this.wheel.click(this.onNameChanged,this.onStopOneOfWheels.bind(this),this.commonConfig),this.startAnimationLoop(),this.reportProofSessionStarted(),0))}isHoldingProofTargetForSession(){return!this.destroyed&&!!this.wheel&&!0===this.wheel.awaitingTarget}releaseProofHoldForSession(){return!(this.destroyed||!this.wheel||!0!==this.wheel.awaitingTarget||(this.wheel.awaitingTarget=!1,0))}abandonProofHoldForSession(){this.destroyed||!this.wheel||this.releaseVerifiedHold()}spinAll(){if(this.winnerService.isSpinDisabled)this.reportProofSessionStartFailed();else if((this.wheelData.values||[]).length){if(!this.spinProofSessionService.isActive||!this.spinProofSessionService.isMember(this.wheelIndex)||null!==this.spinProofSessionService.getTargetIndex(this.wheelIndex))return this.gaService.track(new yt.i(vt.M.Spin,"spin all")),this.spinnerService.changeSpinningStatus(!0),this.startPointerAnimation("press"),this.reseedReplayWinners(),this.verifiedDrawService.absorbSpinAllActive?(this.applyReplayTarget(),this.wheel.awaitingTarget=!0,this.wheel.absorbLatency=!0,this.wheel.click(this.onNameChanged,this.onStopOneOfWheels.bind(this),this.commonConfig),this.startAnimationLoop(),this.reportProofSessionStarted(),void this.verifiedDrawService.whenSpinAllResolved().pipe((0,q.Q)(this.destroy$)).subscribe(()=>{this.applyReplayTarget(),this.wheel&&(this.wheel.awaitingTarget=!1)})):(this.applyReplayTarget(),this.wheel.awaitingTarget=!1,this.wheel.absorbLatency=!1,this.wheel.click(this.onNameChanged,this.onStopOneOfWheels.bind(this),this.commonConfig),this.startAnimationLoop(),void this.reportProofSessionStarted());this.reportProofSessionStartFailed()}else this.reportProofSessionStartFailed()}reportProofSessionStarted(){const e=qt({session:this.spinProofSessionService,localToken:this.proofSessionToken});!e||!this.spinProofSessionService.isActive||!this.spinProofSessionService.isMember(this.wheelIndex)||(this.proofSessionToken=e,this.spinProofSessionService.reportStarted(e,this.wheelIndex))}reportProofSessionStartFailed(){const e=qt({session:this.spinProofSessionService,localToken:this.proofSessionToken});!e||!this.spinProofSessionService.isActive||!this.spinProofSessionService.isMember(this.wheelIndex)||this.spinProofSessionService.reportStartFailed(e,this.wheelIndex)}onNameChanged(){this.tickerSounds.includes(this.config.duringSpinSound)&&this.audioService.playingAudio.next({action:Jn.d.playDuringSpin})}onStopWheelSpin({index:e,value:a}){this.addWinnerToList({index:e,value:a}),this.reportProofSessionSettled(e),(0,kA.xT)()&&(0,kA.QM)("stopped"),this.winnerService.onShowWinners.next({spinType:aa.$.spinSingle,index:this.wheelIndex,winnerName:a,winnerIndex:e})}onStopOneOfWheels({index:e,value:a}){this.addWinnerToList({index:e,value:a}),this.reportProofSessionSettled(e),(0,kA.xT)()&&(0,kA.QM)("stopped")}reportProofSessionSettled(e){const a=qt({session:this.spinProofSessionService,localToken:this.proofSessionToken});"ignored"!==(t=>{const{session:c,sourceWheelIndex:e,landingIndex:a}=t;if(!t.token||!c.isActive||c.sessionToken!==t.token||!c.isMember(e))return"ignored";const o=c.getTargetIndex(e)??c.orderedResults.find(g=>g.sourceWheelIndex===e)?.winningIndex??null;return"number"==typeof o&&o!==a?(c.reportLandingMismatch(t.token,e,a),"mismatch"):(c.reportSettled(t.token,e,a),"settled")})({session:this.spinProofSessionService,token:a,sourceWheelIndex:this.wheelIndex,landingIndex:e})&&(this.spinProofSessionService.isActive||(this.proofSessionToken=null))}addWinnerToList(e){this.wheelData.winners||(this.wheelData.winners=[]),this.wheelData.winners.push(e),this.wheelStateService.setWheelDataByIndex(this.wheelIndex,this.wheelData)}scheduleConfigureWheel(){this.isBrowser?(this.cancelScheduledConfigureWheel(),this.redrawRafId=requestAnimationFrame(()=>{this.redrawRafId=null,this.redrawTimeoutId=setTimeout(()=>{this.redrawTimeoutId=null,this.configureWheel()})})):this.configureWheel()}cancelScheduledConfigureWheel(){null!==this.redrawRafId&&(cancelAnimationFrame(this.redrawRafId),this.redrawRafId=null),null!==this.redrawTimeoutId&&(clearTimeout(this.redrawTimeoutId),this.redrawTimeoutId=null)}configureWheel(){this.wheel.configure(this.wheelData?.colors,this.getWheelImage(),this.wheelData.config.spinTime,this.wheelData.config.hubSize,this.wheelData.config.paletteAsPhotoBg,this.wheelData.config.pointerStyle),this.setValues(),this.drawCanvas(),this.startPreviewAnimation()}getWheelImage(){switch(this.wheelData?.config?.pictureType){case ke.Z.FromGallery:return this.wheelData.config.galleryPictureUrl;case ke.Z.UploadImage:return this.wheelData.config.customPictureDataUri;case ke.Z.Text:return this.buildTransparentTextDataUri();default:return null}}buildTransparentTextDataUri(){let e=this.wheelData?.config?.centerText;if(!e)return this.wheelData?.config?.centerTextDataUri??null;e.length>17&&(e=`${e.slice(0,17)}...`);const a=document.createElement("canvas").getContext("2d");if(!a)return this.wheelData?.config?.centerTextDataUri??null;a.font="200px Verdana";const g=a.measureText(e).width+80;a.canvas.width=g,a.canvas.height=g,a.font="200px Verdana";const F=1===e.length&&e.match(/[a-z]/i)&&e===e.toLowerCase()?g/2+54:g/2+70;return a.shadowColor="rgba(255, 255, 255, 0.95)",a.shadowBlur=36,a.fillStyle="#111111",a.fillText(e,40,F),a.fillText(e,40,F),a.shadowColor="transparent",a.shadowBlur=0,a.fillStyle="#111111",a.fillText(e,40,F),a.canvas.toDataURL("image/png")}setValues(){this.wheelData.values||(this.wheelData.values=(new ie.Q).values),this.defaultTable||(this.defaultTable=new zt.X);const e=this.wheelData.values?.length??0,a=this.wheelData.weightEntries?.length??0,g=this.wheelData.config.isWeightingEnabled&&a>0&&a>=e?this.wheelData.weightEntries.map(C=>({...C,value:C.value?.replace(/&amp;/g,"&")})):this.wheelData?.values.map(C=>C?.replace(/&amp;/g,"&"));this.wheel.setNames(g,this.wheelData.config.allowDuplicates)}ngOnDestroy(){this.destroyed=!0,this.proofAttempt=null,this.proofAbort&&(this.proofAbort.abort(),this.proofAbort=null),null!==this.proofTimeoutId&&(clearTimeout(this.proofTimeoutId),this.proofTimeoutId=null);const e=qt({session:this.spinProofSessionService,localToken:this.proofSessionToken});e&&this.spinProofSessionService.isActive&&this.spinProofSessionService.reportDestroyed(e,this.wheelIndex),this.proofSessionToken=null,null!==this.proofDelegateRegistrationId&&null!==this.proofDelegateRegisteredIndex&&(this.spinProofWheelDelegates.unregister(this.proofDelegateRegisteredIndex,this.proofDelegateRegistrationId),this.proofDelegateRegistrationId=null,this.proofDelegateRegisteredIndex=null),this.cancelScheduledConfigureWheel(),this.cancelPreviewAnimation(),this.cancelAnimationLoop(),this.cancelPointerAnimation(),this.cancelIdleNudge(!0),this.clearData(),this.destroy$.next(!0),this.destroy$.complete(),this.destroy$.unsubscribe()}static{this.\u0275fac=function(a){return new(a||t)(A.rXU(si.U),A.rXU(ii.A),A.rXU(er.D),A.rXU(hi.b),A.rXU(jn.u),A.rXU(zn.g),A.rXU(Ft.N),A.rXU(qn.S),A.rXU(li.i),A.rXU(ci.y),A.rXU(fa.c),A.rXU(ha.s),A.rXU(tn.UG),A.rXU(PA.c$),A.rXU(A.gRc),A.rXU(Bi.U),A.rXU(A.Agw))}}static{this.\u0275cmp=A.VBU({type:t,selectors:[["app-wheel"]],inputs:{wheelIndex:"wheelIndex",isSpinAllStarted:"isSpinAllStarted",isFullScreen:"isFullScreen",isSpinAllOnly:"isS
1pinAllOnly"},outputs:{spinnerClicked:"spinnerClicked"},features:[A.OA$],decls:1,vars:1,consts:[["wheelInfo",""],[4,"ngIf"],[1,"wheel-canvas-box"],["width","980","height","950",1,"wheel-canvas",3,"click","id"],["width","980","height","950",1,"wheel-pointer-overlay",3,"hidden","id"],["class","wheel-verifying","aria-hidden","true",4,"ngIf"],[1,"wheel-info",3,"click"],[1,"wheel-info_top",3,"hidden"],["aria-hidden","true",1,"wheel-verifying"],[1,"wheel-verifying_spinner"]],template:function(a,o){1&a&&A.DNE(0,wa,10,18,"ng-container",1),2&a&&A.Y8G("ngIf",o.isBrowser)},dependencies:[Q.bT,PA.D9],styles:['.wheel[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-width:fit-content}.wheel[_ngcontent-%COMP%]   .toast[_ngcontent-%COMP%]{display:inline-block}#wheelOfFortune[_ngcontent-%COMP%]{display:inline-block;position:relative;overflow:hidden}#wheel[_ngcontent-%COMP%]{display:block}#spin[_ngcontent-%COMP%]{font:1.5em/0 sans-serif;-webkit-user-select:none;user-select:none;cursor:pointer;display:flex;justify-content:center;align-items:center;position:absolute;top:50%;left:50%;width:30%;height:30%;margin:-15%;background:#fff;color:#fff;box-shadow:0 0 0 8px currentColor,0 0 15px 5px #0009;border-radius:50%;transition:.8s}#spin[_ngcontent-%COMP%]:after{content:"";position:absolute;top:-17px;border:10px solid transparent;border-bottom-color:currentColor;border-top:none}.wheel-canvas-box[_ngcontent-%COMP%]{position:relative;width:inherit;max-width:inherit;max-height:inherit}.wheel-canvas[_ngcontent-%COMP%]{width:inherit;max-width:inherit;max-height:inherit;border-radius:50%;cursor:pointer;overflow:hidden;filter:drop-shadow(0 6px 20px rgba(0,0,0,.16)) drop-shadow(0 2px 6px rgba(0,0,0,.1))}.wheel-pointer-overlay[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:inherit;max-width:inherit;max-height:inherit;pointer-events:none;filter:drop-shadow(0 6px 20px rgba(0,0,0,.16)) drop-shadow(0 2px 6px rgba(0,0,0,.1))}.wheel-verifying[_ngcontent-%COMP%]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#00000047;pointer-events:none;z-index:2}.wheel-verifying_spinner[_ngcontent-%COMP%]{width:18%;height:18%;border-radius:50%;border:6px solid rgba(255,255,255,.35);border-top-color:#fff;animation:_ngcontent-%COMP%_wheel-verifying-spin .8s linear infinite}@keyframes _ngcontent-%COMP%_wheel-verifying-spin{to{transform:rotate(360deg)}}.wheel-info[_ngcontent-%COMP%]{position:absolute;inset:25% 0 0;display:flex;flex-direction:column;justify-content:space-between;border-radius:50%;cursor:pointer}.wheel-info_top[_ngcontent-%COMP%], .wheel-info_bottom[_ngcontent-%COMP%]{text-align:center;padding:2%;color:#fff;font-size:3.5em;text-shadow:0 0 10px #000000;background-color:#0000;font-family:sans-serif;font-weight:800}@media screen and (max-width: 960px){.wheel-info_top[_ngcontent-%COMP%], .wheel-info_bottom[_ngcontent-%COMP%]{font-size:2em}}.wheel-info_top--pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_tap-to-spin-pulse 1.8s ease-in-out 1}@keyframes _ngcontent-%COMP%_tap-to-spin-pulse{0%,to{transform:scale(1);opacity:.88;text-shadow:0 0 10px #000000}50%{transform:scale(1.08);opacity:1;text-shadow:0 0 14px #000000,0 0 10px rgba(255,255,255,.35)}}.wheel-canvas--idle-nudge[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_wheel-idle-nudge 1.2s cubic-bezier(.4,0,.2,1) 1 forwards}@keyframes _ngcontent-%COMP%_wheel-idle-nudge{0%{transform:rotate(0)}30%{transform:rotate(7deg)}60%{transform:rotate(-2deg)}80%{transform:rotate(2deg)}to{transform:rotate(0)}}.wheel-canvas--idle-pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_wheel-idle-pulse 1.2s ease-in-out 1 forwards}@keyframes _ngcontent-%COMP%_wheel-idle-pulse{0%{transform:scale(1)}35%{transform:scale(1.04)}70%{transform:scale(1.015)}to{transform:scale(1)}}.wheel-canvas--idle-shimmer[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_wheel-idle-shimmer 1.2s ease-in-out 1 forwards}@keyframes _ngcontent-%COMP%_wheel-idle-shimmer{0%{filter:drop-shadow(0 6px 20px rgba(0,0,0,.16)) drop-shadow(0 2px 6px rgba(0,0,0,.1)) brightness(1)}40%{filter:drop-shadow(0 6px 20px rgba(0,0,0,.22)) drop-shadow(0 4px 12px rgba(0,0,0,.16)) brightness(1.18)}to{filter:drop-shadow(0 6px 20px rgba(0,0,0,.16)) drop-shadow(0 2px 6px rgba(0,0,0,.1)) brightness(1)}}.wheel-canvas--idle-swing[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_wheel-idle-swing 2s ease-in-out infinite alternate;animation-delay:-1s}
1@keyframes _ngcontent-%COMP%_wheel-idle-swing{0%{transform:rotate(-5deg)}to{transform:rotate(5deg)}}']})}}return t})();var bt=m(8868),va=m(1381),Ut=m(9855),et=m(2885),tt=m(45),ve=m(4391),Ge=m(9573);const rr=t=>{const c=(t=>{const{valueCount:c,signedWeights:e,sourceWeights:a}=t;if(!Number.isInteger(c)||c<=0)return null;const o=g=>{if(!g||g.length!==c)return null;const C=[];for(let F=0;F<g.length;F++){const G=g[F];if("number"!=typeof G||!Number.isFinite(G)||G<0)return null;C.push(G)}return C};return o(e)??o(a)})({valueCount:t.values.length,signedWeights:t.signedWeights,sourceWeights:t.sourceWeights});return c?t.values.map((e,a)=>({weight:c[a],value:e})):null},nt=t=>{if(!t)return null;const c=t.values??[],e=t.weightEntries??[];return t.config?.isWeightingEnabled&&e.length>0&&e.length>=c.length?e.map(o=>{const g=o?.weight;return"number"==typeof g&&Number.isFinite(g)?g:1}):null};var XA=m(2495),rn=m(9601),TA=m(1426),ir=m(3927);const mi=new Set(["verified","expired"]),Ci=new Set(["verified","expired"]),sn=t=>`https://spinthewheel.io/?replay=${t}`,ar=t=>`spinthewheel-verified-spin-${t}`,he=(t,c)=>!(!t?.proof||!mi.has(t.verdict)||"mismatch"===c||c&&!Ci.has(c)),be=t=>({wheelPosition:t.wheelPosition,sourceWheelIndex:t.sourceWheelIndex,weightingMode:t.weightingMode,scaledWeights:Array.isArray(t.scaledWeights)?[...t.scaledWeights]:null}),EA=t=>t.wheels?.length?t.wheels.map(c=>[...c]):t.entries.length?[[...t.entries]]:[],yi=t=>`${JSON.stringify(t,null,2)}\n`,Qi=(t,c={})=>{if(!t)return;try{t.focus({preventScroll:!0})}catch{t.focus()}const a=!!(c.matchMedia??(typeof window<"u"?window.matchMedia.bind(window):void 0))?.("(prefers-reduced-motion: reduce)")?.matches;t.scrollIntoView({block:"center",behavior:a?"auto":"smooth"})},lr=(t,c,e={})=>{const a=((t,c)=>!t||!Number.isInteger(c)||c<0?null:t.querySelector(`[data-wheel-position="${c}"]`))(t,c)||t||null;Qi(a,e)},Ui=new Set(["verified","expired","failed"]),cr=({destroyed:t,session:c,currentSession:e})=>!t&&c===e,rt=({destroyed:t,session:c,currentSession:e,topologyFinalised:a})=>cr({destroyed:t,session:c,currentSession:e})&&!a;var Si=m(941);const Ha=function(){var t=(0,rA.A)(function*(c){const e=c.isCancelled??(()=>!1);let o,a=!1;const g=new Promise(F=>{o=setTimeout(()=>{a=!0,F({outcome:"timeout"})},c.budgetMs)}),C=(0,rA.A)(function*(){try{if(e())return{outcome:"cancelled"};const F=yield c.loadSourceTable();return e()||a?{outcome:"cancelled"}:F?{outcome:"source",source:F}:{outcome:"miss"}}catch{return e()||a?{outcome:"cancelled"}:{outcome:"error"}}})();try{return yield Promise.race([C,g])}finally{void 0!==o&&clearTimeout(o)}});return function(e){return t.apply(this,arguments)}}();var Et=m(3883);const Mi=t=>!!t&&!0===t.complete&&t.naturalWidth>0,Rt=function(){var t=(0,rA.A)(function*(c){if("function"==typeof c.decode&&(yield c.decode()),!(0,Et.FK)(c)||!Mi(c))throw new Error("replay-image-not-ready");return{complete:!0,naturalWidth:c.naturalWidth}});return function(e){return t.apply(this,arguments)}}(),La=(t=Image)=>({load(c){const e=(0,Et.Oh)(c);return e?Promise.resolve({complete:!0,naturalWidth:e.naturalWidth,image:e}):new Promise((a,o)=>{const g=new t;let C=!1;const F=()=>{C||(C=!0,Rt(g).then(M=>{a({...M,image:g})},o))};g.addEventListener("load",F,{once:!0}),g.addEventListener("error",()=>{C||(C=!0,o(new Error("replay-image-load-failed")))},{once:!0}),g.setAttribute("crossOrigin","anonymous"),g.src=c,g.complete&&g.naturalWidth>0&&F()})}}),cn=function(){var t=(0,rA.A)(function*(c,e){const a=[...new Set(c.filter(M=>!!M))];if(!a.length)return"ready";let o=!0;const g=()=>o&&!e.isCancelled(),C=(0,rA.A)(function*(){try{if(e.isCancelled())return"cancelled";if(!o)return"error";const M=yield Promise.all(a.map(function(){var AA=(0,rA.A)(function*(bA){return{url:bA,ready:yield e.loader.load(bA)}});return function(bA){return AA.apply(this,arguments)}}()));return e.isCancelled()?"cancelled":!o||M.some(AA=>!Mi(AA.ready))?"error":((t,c)=>{if(!c.mayCommit()||c.isCancelled())return!1;for(const e of t){if(!c.mayCommit()||c.isCancelled())return!1;e.ready.image&&void 0!==c.session&&(0,Et.rq)(e.url,e.ready.image,c.session)}return c.mayCommit()&&!c.isCancelled()})(M,{isCancelled:e.isCancelled,session:e.session,mayCommit:g})?"ready":e.isCancelled()?"cancelled":"error"}catch{return e.isCancelled()?"cancelled":"error"}})();if(!e.hangMs||e.hangMs<=0)return C;let F;const G=new Promise(M=>{F=setTimeout(()=>{o=!1,M(e.isCancelled()?"cancelled":"error")},e.hangMs)});try{return yield Promise.race([C,G])}finally{void 0!==F&&clearTimeout(F)}});return function(e,a){return t.apply(this,arguments)}}();var Pi=m(209),Ka=m(7550),Va=m(93),Ti=m(8740),dn=m(6937),Na=m(5778),Wa=m(8167),Xa=m(6981),$a=m(7049),gn=m(7639),Di=m(6450),Hi=m(9895),ja=m(9453);let Ya=(()=>{class t{constructor(e,a){this.http=e,this.idToken=a,this.base=(bt.c.twitchWorkerUrl??"").replace(/\/+$/,"")}publicProofUrl(e,a=""){return a||(this.base?`${this.base}/v2/giveaway-proofs/${e}`:"")}detailedProofUrl(e,a=""){return a||(this.base?`${this.base}/v2/giveaway-proofs/${e}/details`:"")}fetchPublicProof(e){var a=this;return(0,rA.A)(function*(){if(!e)return{status:"unavailable",proof:null};try{const g=(yield(0,Hi._)(a.http.get(e)))?.proof??null;return{status:a.verdict(g),proof:g}}
1catch(o){return{status:409===o?.status?"invalid":"unavailable",proof:null}}})()}fetchDetailedProof(e){var a=this;return(0,rA.A)(function*(){if(!e)return{status:"unavailable",proof:null};const o=yield a.idToken().catch(()=>null);if(!o)return{status:"unavailable",proof:null};try{const C=(yield(0,Hi._)(a.http.get(e,{headers:new Di.Lr({Authorization:`Bearer ${o}`})})))?.proof??null;return{status:a.verdict(C),proof:C}}catch(g){return{status:409===g?.status?"invalid":"unavailable",proof:null}}})()}verdict(e){return"valid"===e?.verification?.signature&&"complete"===e?.verification?.drawRecord?"valid":"invalid"}static{this.\u0275fac=function(a){return new(a||t)(A.KVO(Di.Qq),A.KVO(ja.a))}}static{this.\u0275prov=A.jDH({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var pn=m(6956),Ja=m(8088);let Oi=(()=>{class t{constructor(){this.status=new Ja.t("idle"),this.focus=new ge.B,this.status$=this.status.asObservable(),this.focusRequests$=this.focus.asObservable()}get currentStatus(){return this.status.value}publishStatus(e){this.status.next(e)}requestProofFocus(){this.focus.next()}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=A.jDH({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ki=m(1061);const za=["proofToggle"],Li=t=>({count:t}),Za=t=>({time:t}),qa=(t,c)=>({algorithm:t,version:c}),Ao=(t,c)=>({encoding:t,count:c}
1),Gi=t=>({days:t});function eo(t,c){if(1&t&&(A.j41(0,"p",21),A.EFF(1),A.k0s()),2&t){const e=A.XpG(2);A.R7$(),A.JRh(null==e.state?null:e.state.title)}}function gr(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",22),A.bIt("click",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.retryProof())}),A.EFF(1),A.nI1(2,"translate"),A.k0s()}2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"streamerGiveaways.replay.page.tryAgain")," "))}function to(t,c){if(1&t&&(A.j41(0,"div",23)(1,"p",24),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"p",25),A.EFF(5),A.nI1(6,"translate"),A.k0s(),A.j41(7,"p",25),A.EFF(8),A.nI1(9,"translate"),A.k0s()()),2&t){const e=A.XpG(2);A.R7$(2),A.SpI(" ",A.i5U(3,3,e.countKey("streamerGiveaways.overlay.count.selectingFrom",e.entrantCount),A.eq3(10,Li,e.entrantCountLabel))," "),A.R7$(3),A.JRh(A.bMT(6,6,"streamerGiveaways.overlay.maskedNote")),A.R7$(3),A.JRh(A.bMT(9,8,"streamerGiveaways.replay.page.maskedWheelNote"))}}function no(t,c){if(1&t&&(A.j41(0,"p",24),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t){const e=A.XpG(3);A.R7$(),A.SpI(" ",A.i5U(2,1,e.countKey("streamerGiveaways.count.selectedFromVerified",e.entrantCount),A.eq3(4,Li,e.entrantCountLabel))," ")}}function Ki(t,c){if(1&t&&(A.j41(0,"div",26)(1,"p",25),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.DNE(4,no,3,6,"p",27),A.k0s()),2&t){const e=A.XpG(2);A.R7$(2),A.JRh(A.bMT(3,2,"streamerGiveaways.replay.page.resultOnlyNote")),A.R7$(2),A.Y8G("ngIf",e.entrantCount)}}function ro(t,c){if(1&t&&(A.j41(0,"span",33),A.EFF(1),A.k0s()),2&t){const e=A.XpG(3);A.BMQ("data-platform",null==e.state?null:e.state.winnerPlatform),A.R7$(),A.SpI(" ",e.winnerPlatformLabel," ")}}function io(t,c){if(1&t&&(A.j41(0,"p",28)(1,"span",29),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"span",30)(5,"strong",31),A.EFF(6),A.k0s(),A.DNE(7,ro,2,2,"span",32),A.k0s()()),2&t){const e=A.XpG(2);A.R7$(2),A.JRh(A.bMT(3,3,"streamerGiveaways.replay.page.winnerLabel")),A.R7$(4),A.JRh(e.winnerLabel),A.R7$(),A.Y8G("ngIf",e.winnerPlatformLabel)}}function pr(t,c){if(1&t&&(A.j41(0,"p",34),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t){const e=A.XpG(2);A.R7$(),A.SpI(" ",A.i5U(2,1,"streamerGiveaways.replay.page.drawStarted",A.eq3(4,Za,e.drawInitiatedAt))," ")}}function un(t,c){1&t&&(A.j41(0,"p",41),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"streamerGiveaways.replay.page.maskedProofNote")," "))}function so(t,c){1&t&&(A.j41(0,"p",25),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"streamerGiveaways.replay.page.proofCheckingNote")," "))}function ao(t,c){1&t&&(A.j41(0,"p",25),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"streamerGiveaways.replay.page.proofLoadFailed")," "))}function oo(t,c){1&t&&(A.j41(0,"p",25),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"streamerGiveaways.replay.page.proofDidNotVerify")," "))}function lo(t,c){if(1&t&&(A.j41(0,"dl",42)(1,"dt",43),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"dd"),A.EFF(5),A.k0s(),A.j41(6,"dt",43),A.EFF(7),A.nI1(8,"translate"),A.k0s(),A.j41(9,"dd"),A.EFF(10),A.k0s(),A.j41(11,"dt",43),A.EFF(12),A.nI1(13,"translate"),A.k0s(),A.j41(14,"dd",44),A.EFF(15),A.k0s(),A.j41(16,"dt",43),A.EFF(17),A.nI1(18,"translate"),A.k0s(),A.j41(19,"dd",44),A.EFF(20),A.k0s(),A.j41(21,"dt",43),A.EFF(22),A.nI1(23,"translate"),A.k0s(),A.j41(24,"dd",44),A.EFF(25),A.k0s(),A.j41(26,"dt",43),A.EFF(27),A.nI1(28,"translate"),A.k0s(),A.j41(29,"dd"),A.EFF(30),A.k0s(),A.j41(31,"dt",43),A.EFF(32),A.nI1(33,"translate"),A.k0s(),A.j41(34,"dd"),A.EFF(35),A.nI1(36,"translate"),A.k0s(),A.j41(37,"dt",43),A.EFF(38),A.nI1(39,"translate"),A.k0s(),A.j41(40,"dd",44),A.EFF(41),A.k0s(),A.j41(42,"dt",43),A.EFF(43),A.nI1(44,"translate"),A.k0s(),A.j41(45,"dd"),A.EFF(46),A.k0s(),A.j41(47,"dt",43),A.EFF(48),A.nI1(49,"translate"),A.k0s(),A.j41(50,"dd")(51,"a",45),A.EFF(52),A.k0s()()()),2&t){const e=A.XpG(3);A.R7$(2),A.JRh(A.bMT(3,21,"streamerGiveaways.replay.page.labelEntrants")),A.R7$(3),A.JRh(null==e.proof?null:e.proof.entrantCount),A.R7$(2),A.JRh(A.bMT(8,23,"streamerGiveaways.replay.page.labelSeedAssurance")),A.R7$(3),A.JRh(null==e.proof?null:e.proof.seedTimingSummary),A.R7$(2),A.JRh(A.bMT(13,25,"streamerGiveaways.replay.page.labelSnapshotCommitment")),A.R7$(3),A.JRh(null==e.proof?null:e.proof.snapshotCommitment),A.R7$(2),A.JRh(A.bMT(18,27,"streamerGiveaways.replay.page.labelSeedCommitment")),A.R7$(3),A.JRh(null==e.proof?null:e.proof.seedCommitment),A.R7$(2),A.JRh(A.bMT(23,29,"streamerGiveaways.replay.page.labelSelectionDigest")),A.R7$(3),A.JRh(null==e.proof?null:e.proof.selectionDigest),A.R7$(2),A.JRh(A.bMT(28,31,"streamerGiveaways.replay.page.labelSelectionBlockIndex")),A.R7$(3),A.JRh(null==e.proof?null:e.proof.selectionBlockIndex),A.R7$(2),A.JRh(A.bMT(33,33,"streamerGiveaways.replay.page.labelAlgorithm")),A.R7$(3),A.SpI(" ",A.i5U(36,35,"streamerGiveaways.replay.page.algorithmSchema",A.l_i(44,qa,null==e.proof?null:e.proof.algorithm,null==e.proof?null:e.proof.selectionSchemaVersion))," "),A.R7$(3),A.JRh(A.bMT(39,38,"streamerGiveaways.replay.page.labelSignature")),A.R7$(3),A.JRh(null==e.proof?null:e.proof.signature),A.R7$(2),A.JRh(A.bMT(44,40,"streamerGiveaways.replay.page.labelSignatureAlgorithm")),A.R7$(3),A.JRh(null==e.proof?null:e.proof.signatureAlgorithm),A.R7$(2),A.JRh(A.bMT(49,42,"streamerGiveaways.replay.page.labelSigningKey")),A.R7$(3),A.Y8G("href",null==e.proof?null:e.proof.publicKeyUrl,A.B4B),A.R7$(),A.JRh(null==e.proof?null:e.proof.signingKeyId)}}function co(t,c){if(1&t&&(A.j41(0,"p",25),A.EFF(1),A.k0s()),2&t){const e=A.XpG(3);A.R7$(),A.JRh(null==e.proof?null:e.proof.snapshotContentsNote)}}function go(t,c){if(1&t&&(A.j41(0,"p",25),A.EFF(1),A.k0s()),2&t){const e=A.XpG(3);A.R7$(),A.SpI(" ",null==e.proof?null:e.proof.sourceReconciliationNote," ")}}function fn(t,c){1&t&&(A.j41(0,"div",46)(1,"p",25),A.EFF(2),A.nI1(3,"translate"),A.k0s()()),2&t&&(A.R7$(2),A.JRh(A.bMT(3,1,"streamerGiveaways.replay.page.signInForDetails")))}function po(t,c){1&t&&(A.j41(0,"p",25),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"streamerGiveaways.replay.page.detailedLoading")," "))}function uo(t,c){1&t&&(A.j41(0,"p",25),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"streamerGiveaways.replay.page.detailedUnavailable")," "))}function fo(t,c){if(1&t&&(A.j41(0,"dl",42)(1,"dt",43),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"dd",44),A.EFF(5),A.k0s(),A.j41(6,"dt",43),A.EFF(7),A.nI1(8,"translate"),A.k0s(),A.j41(9,"dd"),A.EFF(10),A.k0s(),A.j41(11,"dt",43),A.EFF(12),A.nI1(13,"translate"),A.k0s(),A.j41(14,"dd"),A.EFF(15),A.k0s(),A.j41(16,"dt",43),A.EFF(17),A.nI1(18,"translate"),A.k0s(),A.j41(19,"dd",44),A.EFF(20),A.k0s(),A.j41(21,"dt",43),A.EFF(22),A.nI1(23,"translate"),A.k0s(),A.j41(24,"dd"),A.EFF(25),A.nI1(26,"translate"),A.k0s(),A.j41(27,"dt",43),A.EFF(28),A.nI1(29,"translate"),A.k0s(),A.j41(30,"dd"),A.EFF(31),A.k0s()()),2&t){const e=A.XpG(4);A.R7$(2),A.JRh(A.bMT(3,12,"streamerGiveaways.replay.page.labelRevealedSeed")),A.R7$(3),A.JRh(null==e.detailedProof?null:e.detailedProof.revealedSeed),A.R7$(2),A.JRh(A.bMT(8,14,"streamerGiveaways.replay.page.labelSeedMatches")),A.R7$(3),A.JRh(null==e.detailedProof||null==e.detailedProof.verification?null:e.detailedProof.verification.seedReveal),A.R7$(2),A.JRh(A.bMT(13,16,"streamerGiveaways.replay.page.labelDeterministicSelection")),A.R7$(3),A.JRh(null==e.detailedProof||null==e.detailedProof.verification?null:e.detailedProof.verification.deterministicSelection),A.R7$(2),A.JRh(A.bMT(18,18,"streamerGiveaways.replay.page.labelSignedPayload")),A.R7$(3),A.JRh(null==e.detailedProof?null:e.detailedProof.signedPayload),A.R7$(2),A.JRh(A.bMT(23,20,"streamerGiveaways.replay.page.labelSnapshotEncoding")),A.R7$(3),A.SpI(" ",A.i5U(26,22,"streamerGiveaways.replay.page.snapshotEncodingDetail",A.l_i(27,Ao,null==e.detailedProof?null:e.detailedProof.snapshotEncoding,null==e.detailedProof?null:e.detailedProof.snapshotChunkCount))," "),A.R7$(3),A.JRh(A.bMT(29,25,"streamerGiveaways.replay.page.labelSelection")),A.R7$(3),A.JRh(null==e.detailedProof?null:e.detailedProof.selectionDescription)}}function ho(t,c){if(1&t&&(A.j41(0,"li"),A.EFF(1),A.k0s()),2&t){const e=c.$implicit;A.R7$(),A.JRh(e)}}function Bo(t,c){if(1&t&&(A.j41(0,"ul",49),A.DNE(1,ho,2,1,"li",50),A.k0s()),2&t){const e=A.XpG(4);A.R7$(),A.Y8G("ngForOf",null==e.detailedProof?null:e.detailedProof.limitations)}}function wo(t,c){if(1&t&&(A.j41(0,"div",47),A.DNE(1,po,3,3,"p",37)(2,uo,3,3,"p",37)(3,fo,32,30,"dl",38)(4,Bo,2,1,"ul",48),A.k0s()),2&t){const e=A.XpG(3);A.R7$(),A.Y8G("ngIf","loading"===e.detailedStatus||"idle"===e.detailedStatus),A.R7$(),A.Y8G("ngIf","unavailable"===e.detailedStatus),A.R7$(),A.Y8G("ngIf",e.detailedProof),A.R7$(),A.Y8G("ngIf",null==e.detailedProof||null==e.detailedProof.limitations?null:e.detailedProof.limitations.length)}}function mo(t,c){if(1&t&&(A.j41(0,"div",35),A.DNE(1,un,3,3,"p",36)(2,so,3,3,"p",37)(3,ao,3,3,"p",37)(4,oo,3,3,"p",37)(5,lo,53,47,"dl",38)(6,co,2,1,"p",37)(7,go,2,1,"p",37)(8,fn,4,3,"div",39)(9,wo,5,4,"div",40),A.k0s()),2&t){const e=A.XpG(2);A.R7$(),A.Y8G("ngIf",e.isMasked),A.R7$(),A.Y8G("ngIf","loading"===e.proofStatus||"idle"===e.proofStatus),A.R7$(),A.Y8G("ngIf","unavailable"===e.proofStatus),A.R7$(),A.Y8G("ngIf","invali
1d"===e.proofStatus),A.R7$(),A.Y8G("ngIf",e.proof),A.R7$(),A.Y8G("ngIf",null==e.proof?null:e.proof.snapshotContentsNote),A.R7$(),A.Y8G("ngIf",null==e.proof?null:e.proof.sourceReconciliationNote),A.R7$(),A.Y8G("ngIf",!e.signedIn),A.R7$(),A.Y8G("ngIf",e.signedIn)}}function Co(t,c){if(1&t){const e=A.RV6();A.j41(0,"section",5)(1,"header",6)(2,"h2",7),A.EFF(3),A.k0s(),A.DNE(4,eo,2,1,"p",8),A.k0s(),A.j41(5,"ul",9)(6,"li",10)(7,"span",11),A.EFF(8),A.k0s(),A.j41(9,"span",12),A.EFF(10),A.k0s()(),A.j41(11,"li",13)(12,"span",11),A.EFF(13),A.nI1(14,"translate"),A.k0s(),A.j41(15,"span",12),A.EFF(16),A.k0s(),A.DNE(17,gr,3,3,"button",14),A.k0s()(),A.DNE(18,to,10,12,"div",15)(19,Ki,5,4,"div",16)(20,io,8,5,"p",17)(21,pr,3,6,"p",18),A.j41(22,"button",19,0),A.bIt("click",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.toggleProof())}),A.EFF(24),A.nI1(25,"translate"),A.k0s(),A.DNE(26,mo,10,9,"div",20),A.k0s()}if(2&t){const e=A.XpG();A.R7$(3),A.JRh(e.heading),A.R7$(),A.Y8G("ngIf",null==e.state?null:e.state.title),A.R7$(2),A.AVh("is-ok",e.integrityRowOk),A.R7$(2),A.JRh(e.integrityRowName),A.R7$(2),A.JRh(e.integrityLabel),A.R7$(),A.AVh("is-ok","valid"===e.proofStatus)("is-failed","invalid"===e.proofStatus),A.R7$(2),A.JRh(A.bMT(14,20,"streamerGiveaways.replay.page.drawProofRow")),A.R7$(3),A.JRh(e.proofLabel),A.R7$(),A.Y8G("ngIf","unavailable"===e.proofStatus),A.R7$(),A.Y8G("ngIf",e.isMasked),A.R7$(),A.Y8G("ngIf",e.isResultOnly),A.R7$(),A.Y8G("ngIf",e.winnerLabel&&(e.isResultOnly||e.winnerRevealed)),A.R7$(),A.Y8G("ngIf",e.drawInitiatedAt),A.R7$(),A.BMQ("aria-expanded",e.proofExpanded),A.R7$(2),A.SpI(" ",A.bMT(25,22,e.proofExpanded?"streamerGiveaways.replay.page.hideProof":"streamerGiveaways.replay.page.showProof")," "),A.R7$(2),A.Y8G("ngIf",e.proofExpanded)}}function _o(t,c){if(1&t&&(A.j41(0,"section",51)(1,"h2",7),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"p",25),A.EFF(5),A.nI1(6,"translate"),A.k0s(),A.j41(7,"p",52)(8,"a",53),A.EFF(9),A.nI1(10,"translate"),A.k0s()()()),2&t){const e=A.XpG();A.R7$(2),A.JRh(A.bMT(3,4,"streamerGiveaways.replay.page.expiredHeading")),A.R7$(3),A.SpI(" ",A.i5U(6,6,"streamerGiveaways.replay.page.retentionNote",A.eq3(11,Gi,e.retentionDays))," "),A.R7$(3),A.Y8G("href",e.homeUrl,A.B4B),A.R7$(),A.JRh(A.bMT(10,9,"streamerGiveaways.replay.page.createOwn"))}}function yo(t,c){if(1&t&&(A.j41(0,"section",54)(1,"h2",7),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"p",25),A.EFF(5),A.nI1(6,"translate"),A.k0s(),A.j41(7,"p",52)(8,"a",53),A.EFF(9),A.nI1(10,"translate"),A.k0s()()()),2&t){const e=A.XpG();A.R7$(2),A.JRh(A.bMT(3,4,"streamerGiveaways.replay.page.unavailableHeading")),A.R7$(3),A.JRh(A.bMT(6,6,"streamerGiveaways.replay.page.unavailableBody")),A.R7$(3),A.Y8G("href",e.homeUrl,A.B4B),A.R7$(),A.JRh(A.bMT(10,8,"streamerGiveaways.replay.page.goHome"))}}function vo(t,c){if(1&t&&(A.j41(0,"section",55)(1,"h2",7),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"p",25),A.EFF(5),A.nI1(6,"translate"),A.k0s(),A.j41(7,"p",52)(8,"a",53),A.EFF(9),A.nI1(10,"translate"),A.k0s()()()),2&t){const e=A.XpG();A.R7$(2),A.JRh(A.bMT(3,4,"streamerGiveaways.replay.page.expiredHeading")),A.R7$(3),A.SpI(" ",A.i5U(6,6,"streamerGiveaways.replay.page.retentionNote",A.eq3(11,Gi,e.retentionDays))," "),A.R7$(3),A.Y8G("href",e.homeUrl,A.B4B),A.R7$(),A.JRh(A.bMT(10,9,"streamerGiveaways.replay.page.goHome"))}}let Fo=(()=>{class t{constructor(e,a,o,g,C){this.proofService=e,this.proofFocus=a,this.countPhrase=o,this.translate=g,this.cd=C,this.destroy$=new ge.B,this.state=null,this.integrityMismatch=!1,this.winnerRevealed=!1,this.signedIn=!1,this.proofStatus="idle",this.proof=null,this.detailedStatus="idle",this.detailedProof=null,this.proofExpanded=!1,this.homeUrl=bt.c.webDomain}countKey(e,a){return this.countPhrase.key(e,a||0)}ngOnInit(){this.proofFocus.focusRequests$.pipe((0,q.Q)(this.destroy$)).subscribe(()=>this.revealProof()),this.loadProof()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnChanges(){this.signedIn&&"idle"===this.detailedStatus&&this.isActive&&this.loadDetailedProof()}get isActive(){const e=this.state?.state;return"named-wheel"===e||"masked-wheel"===e||"result-only"===e}get isExpired(){return"expired"===this.state?.state}get isNotFound(){return!this.state||"not-found"===this.state.state}get isUnavailable(){return"unavailable"===this.state?.state}get isMasked(){return"masked-wheel"===this.state?.state}get isResultOnly(){return"result-only"===this.state?.state}get heading(){return this.translate.instant("named-wheel"!==this.state?.state||this.integrityMismatch?"streamerGiveaways.replay.page.headingResult":"streamerGiveaways.replay.page.headingVerified")}get integrityLabel(){return this.translate.instant("named-wheel"===this.state?.state?this.integrityMismatch?"streamerGiveaways.replay.page.integrityBrowserFailed":"streamerGiveaways.replay.page.integrityVerified":this.isMasked?"streamerGiveaways.replay.page.integrityMasked":"streamerGiveaways.replay.page.integrityNoAnimation")}get integrityRowName(){return this.translate.instant(this.isMasked?"streamerGiveaways.replay.page.presentationRow":"streamerGiveaways.replay.page.integrityRow")}get integrityRowOk(){return"named-wheel"===this.state?.state&&!this.integrityMismatch}get proofLabel(){switch(this.proofStatus){case"valid":return this.translate.instant("streamerGiveaways.replay.page.proofVerified");
1case"invalid":return this.translate.instant("streamerGiveaways.replay.page.proofInvalid");case"unavailable":return this.translate.instant("streamerGiveaways.replay.page.proofUnavailable");default:return this.translate.instant("streamerGiveaways.replay.page.proofChecking")}}get winnerLabel(){return(0,pn.yb)(this.state?.winnerLabel??"",this.state?.winnerPlatform??null,this.state?.requiredPlatforms??null)}get winnerPlatformLabel(){return""}get showWinnerPlatform(){return!1}get entrantCount(){return this.state?.entrantCount??null}get entrantCountLabel(){const e=this.entrantCount;if("number"!=typeof e||!Number.isFinite(e))return"";const a=this.translate.currentLang||this.translate.defaultLang||"en-UK";try{return new Intl.NumberFormat(`${a}-u-nu-latn`).format(e)}catch{return e.toLocaleString()}}get drawInitiatedAt(){const e=this.state?.drawInitiatedAtMs??this.parseIso(this.proof?.drawInitiatedAt);if(!e)return"";const a=this.translate.currentLang||this.translate.defaultLang||"en-UK";try{return new Date(e).toLocaleString(a)}catch{return new Date(e).toLocaleString()}}get retentionDays(){return this.state?.retentionDays??28}toggleProof(){this.proofExpanded=!this.proofExpanded}revealProof(){this.proofExpanded=!0,this.cd.markForCheck(),setTimeout(()=>this.proofToggle?.nativeElement?.scrollIntoView?.({behavior:"smooth",block:"start"}))}retryProof(){var e=this;return(0,rA.A)(function*(){e.setProofStatus("idle"),yield e.loadProof()})()}setProofStatus(e){this.proofStatus=e,this.proofFocus.publishStatus(e)}loadProof(){var e=this;return(0,rA.A)(function*(){if(!e.isActive||!e.state)return;e.setProofStatus("loading"),e.cd.markForCheck();const a=e.proofService.publicProofUrl(e.state.replayId,e.state.proofApiUrl),o=yield e.proofService.fetchPublicProof(a);e.setProofStatus(o.status),e.proof=o.proof,e.cd.markForCheck(),e.signedIn&&e.loadDetailedProof()})()}loadDetailedProof(){var e=this;return(0,rA.A)(function*(){if(!e.state)return;e.detailedStatus="loading",e.cd.markForCheck();const a=e.proofService.detailedProofUrl(e.state.replayId,e.state.proofDetailsApiUrl),o=yield e.proofService.fetchDetailedProof(a);e.detailedStatus=o.status,e.detailedProof=o.proof,e.cd.markForCheck()})()}parseIso(e){const a=e?Date.parse(e):NaN;return Number.isFinite(a)?a:null}static{this.\u0275fac=function(a){return new(a||t)(A.rXU(Ya),A.rXU(Oi),A.rXU(gn.K),A.rXU(PA.c$),A.rXU(A.gRc))}}static{this.\u0275cmp=A.VBU({type:t,selectors:[["app-giveaway-replay-panel"]],viewQuery:function(a,o){if(1&a&&A.GBs(za,5),2&a){let g;A.mGM(g=A.lsd())&&(o.proofToggle=g.first)}},inputs:{state:"state",integrityMismatch:"integrityMismatch",winnerRevealed:"winnerRevealed",signedIn:"signedIn"},features:[A.OA$],decls:4,vars:4,consts:[["proofToggle",""],["class","gw-replay","data-testid","giveaway-replay-active",4,"ngIf"],["class","gw-replay gw-replay--expired","data-testid","giveaway-replay-expired",4,"ngIf"],["class","gw-replay gw-replay--unavailable","data-testid","giveaway-replay-unavailable",4,"ngIf"],["class","gw-replay gw-replay--missing","data-testid","giveaway-replay-missing",4,"ngIf"],["data-testid","giveaway-replay-active",1,"gw-replay"],[1,"gw-replay__head"],["dir","auto",1,"gw-replay__heading"],["class","gw-replay__title","dir","auto",4,"ngIf"],[1,"gw-replay__rows"],["data-testid","integrity-row",1,"gw-replay__row"],["dir","auto",1,"gw-replay__row-name"],["dir","auto",1,"gw-replay__row-value"],["data-testid","proof-row",1,"gw-replay__row"],["type","button","class","gw-replay__retry",3,"click",4,"ngIf"],["class","gw-replay__masked","data-testid","masked-summary",4,"ngIf"],["class","gw-replay__result-only","data-testid","result-only-summary",4,"ngIf"],["class","gw-replay__winner","data-testid","giveaway-winner",4,"ngIf"],["class","gw-replay__meta","dir","auto",4,"ngIf"],["type","button",1,"gw-replay__toggle",3,"click"],["class","gw-replay__proof","data-testid","proof-details",4,"ngIf"],["dir","auto",1,"gw-replay__title"],["type","button",1,"gw-replay__retry",3,"click"],["data-testid","masked-summary",1,"gw-replay__masked"],["dir","auto",1,"gw-replay__count"],["dir","auto",1,"gw-replay__note"],["data-testid","result-only-summary",1,"gw-replay__result-only"],["class","gw-replay__count","dir","auto",4,"ngIf"],["data-testid","giveaway-winner",1,"gw-replay__winner"],["dir","auto",1,"gw-replay__winner-label"],[1,"gw-replay__winner-row"],["data-testid","giveaway-winner-name"],["class","gw-replay__platform","data-testid","giveaway-winner-platform",4,"ngIf"],["data-testid","giveaway-winner-platform",1,"gw-replay__platform"],["dir","auto",1,"gw-replay__meta"],["data-testid","proof-details",1,"gw-replay__proof"],["class","gw-replay__note","data-testid","masked-proof-note","dir","auto",4,"ngIf"],["class","gw-replay__note","dir","auto",4,"ngIf"],["class","gw-replay__facts",4,"ngIf"],["class","gw-replay__detailed",4,"ngIf"],["class","gw-replay__detailed","data-testid","detailed-proof",4,"ngIf"],["data-testid","masked-proof-note","dir","auto",1,"gw-replay__note"],[1,"gw-replay__facts"],["dir","auto"],[1,"gw-replay__mono"],["rel","nofollow noopener","target","_blank",3,"href"],[1,"gw-replay__detailed"],["data-testid","detailed-proof",1,"gw-replay__detailed"],["class","gw-replay__limits",4,"ngIf"],[1,"gw-replay__limits"],[4,"ngFor","ngForOf"],["data-testid","giveaway-replay-expired",1,"gw-replay","gw-replay--expired"],[1,"gw-replay__ctas"],["rel","follow",1,"gw-replay__cta","gw-replay__cta--primary",3,"href"],["data-testid","giveaway-replay-unavailable",1,"gw-replay","gw-replay--unavailable"],["data-testid","giveaway-replay-missing",1,"gw-replay","gw-replay--missing"]],template:function(a,o){1&a&&A.DNE(0,Co,27,24,"section",1)(1,_o,11,13,"section",2)(2,yo,11,10,"section",3)(3,vo,11,13,"section",4),2&a&&(A.Y8G("ngIf",o.isActive),A.R7$(),A.Y8G("ngIf",o.isExpired),A.R7$(),A.Y8G("ngIf",o.isUnavailable),A.R7$(),A.Y8G("ngIf",o.isNotFound))},dependencies:[Q.Sq,Q.bT,ki.ig,PA.D9],styles:[".gw-replay[_ngcontent-%COMP%]{max-width:760px;margin:8px auto 16px;padding:16px 18px;border:1px solid #d8dde6;border-radius:12px;background:#fff;color:#1f2733;font-size:14px;line-height:1.5;text-align:left}.gw-replay--expired[_ngcontent-%COMP%], .gw-replay--missing[_ngcontent-%COMP%], .gw-replay--unavailable[_ngcontent-%COMP%]{background:#f8f9fc}.gw-replay__head[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px;margin-bottom:10px}.gw-replay__heading[_ngcontent-%COMP%]{margin:0;font-size:18px;font-weight:700}.gw-replay__title[_ngcontent-%COMP%]{margin:0;color:#55607a}.gw-replay__rows[_ngcontent-%COMP%]{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:4px}.gw-replay__row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.gw-replay__row.is-ok[_ngcontent-%COMP%]   .gw-replay__row-value[_ngcontent-%COMP%]{color:#0f7b3d;font-weight:600}.gw-replay__row.is-failed[_ngcontent-%COMP%]   .gw-replay__row-value[_ngcontent-%COMP%]{color:#a3221f;font-weight:600}
1.gw-replay__row-name[_ngcontent-%COMP%]{color:#55607a}.gw-replay__retry[_ngcontent-%COMP%]{border:1px solid #c7cede;border-radius:6px;background:#fff;cursor:pointer;font-size:12px;padding:2px 8px}.gw-replay__count[_ngcontent-%COMP%]{margin:6px 0;font-size:16px;font-weight:600}.gw-replay__note[_ngcontent-%COMP%]{margin:6px 0;color:#46506a}.gw-replay__winner[_ngcontent-%COMP%]{margin:10px 0 4px;font-size:16px}.gw-replay__winner-label[_ngcontent-%COMP%], .gw-replay__platform[_ngcontent-%COMP%]{color:#55607a;margin-right:4px}.gw-replay__meta[_ngcontent-%COMP%]{margin:2px 0 8px;color:#6b7488;font-size:13px}.gw-replay__toggle[_ngcontent-%COMP%]{border:1px solid #c7cede;border-radius:8px;background:#f4f6fb;cursor:pointer;font-size:13px;padding:6px 10px}.gw-replay__toggle[_ngcontent-%COMP%]:focus-visible{outline:2px solid #2f6df6;outline-offset:2px}.gw-replay__proof[_ngcontent-%COMP%]{margin-top:10px;padding-top:10px;border-top:1px solid #e6e9f0}.gw-replay__facts[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(140px,auto) 1fr;gap:4px 12px;margin:8px 0}.gw-replay__facts[_ngcontent-%COMP%]   dt[_ngcontent-%COMP%]{color:#55607a}.gw-replay__facts[_ngcontent-%COMP%]   dd[_ngcontent-%COMP%]{margin:0;overflow-wrap:anywhere}.gw-replay__mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.gw-replay__limits[_ngcontent-%COMP%]{margin:8px 0 0;padding-left:18px;color:#46506a}.gw-replay__detailed[_ngcontent-%COMP%]{margin-top:10px}.gw-replay__product[_ngcontent-%COMP%]{margin-top:12px}.gw-replay__product[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:0 0 6px;font-size:16px}.gw-replay__product[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0 0 10px;padding-left:18px}.gw-replay__ctas[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}.gw-replay__document-context[_ngcontent-%COMP%]{margin:14px 0 0;padding:12px 0 0;border-top:1px solid #e6e9f0;font-size:13px;line-height:1.45;color:#64748b;overflow-wrap:anywhere}.gw-replay__cta[_ngcontent-%COMP%]{border:1px solid #c7cede;border-radius:8px;padding:6px 12px;text-decoration:none;color:#1f2733}.gw-replay__cta--primary[_ngcontent-%COMP%]{background:#2f6df6;border-color:#2f6df6;color:#fff}.gw-replay__winner-row[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:100%}.gw-replay__platform[_ngcontent-%COMP%]{display:inline-block;padding:2px 8px;border-radius:999px;font-size:.72rem;font-weight:600;line-height:1.2;background:#00000012;flex:0 0 auto}.gw-replay__platform[data-platform=youtube][_ngcontent-%COMP%]{background:#fdeaea;color:#8f1d1d}.gw-replay__platform[data-platform=twitch][_ngcontent-%COMP%]{background:#efe9ff;color:#4b2ca0}"],changeDetection:0})}}return t})();const Vi=["*",[["","replayCrypto",""]]],Qo=["*","[replayCrypto]"];function bo(t,c){if(1&t&&(A.j41(0,"p",12),A.EFF(1),A.k0s()),2&t){const e=A.XpG().ngIf;A.R7$(),A.JRh(e.title)}}function Uo(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",17),A.bIt("click",function(){A.eBV(e);const o=A.XpG(3);return A.Njj(o.onRetry())}),A.EFF(1," Try again "),A.k0s()}}function hn(t,c){if(1&t&&(A.j41(0,"li",13)(1,"span",14),A.EFF(2),A.k0s(),A.j41(3,"span",15),A.EFF(4),A.k0s(),A.DNE(5,Uo,2,0,"button",16),A.k0s()),2&t){const e=c.$implicit;A.AVh("is-ok",e.ok)("is-failed",e.failed),A.BMQ("data-testid",e.testId||null),A.R7$(2),A.SpI("",e.name,":"),A.R7$(2),A.JRh(e.value),A.R7$(),A.Y8G("ngIf",e.showRetry)}}function Io(t,c){if(1&t&&(A.j41(0,"p",18),A.EFF(1),A.k0s()),2&t){const e=A.XpG().ngIf;A.R7$(),A.Lme(" ",e.metaLabel,": ",e.metaValue," ")}}function xo(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",19),A.bIt("click",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.onToggle())}),A.EFF(1),A.k0s()}if(2&t){const e=A.XpG(2);A.BMQ("aria-expanded",e.expanded)("aria-controls",e.proofDetailsId),A.R7$(),A.SpI(" ",e.expanded?"Hide":"Show"," cryptographic proof ")}}function Ni(t,c){if(1&t&&(A.j41(0,"p",23),A.EFF(1),A.k0s()),2&t){const e=c.$implicit;A.R7$(),A.JRh(e)}}function So(t,c){if(1&t&&(A.j41(0,"a",27),A.EFF(1),A.k0s()),2&t){const e=A.XpG().$implicit;A.Y8G("href",e.href,A.B4B),A.R7$(),A.SpI(" ",e.value," ")}}function Eo(t,c){if(1&t&&A.EFF(0),2&t){const e=A.XpG().$implicit;A.JRh(e.value)}}function Ro(t,c){if(1&t&&(A.qex(0),A.j41(1,"dt"),A.EFF(2),A.k0s(),A.j41(3,"dd"),A.DNE(4,So,2,2,"a",26)(5,Eo,1,1,"ng-template",null,0,A.C5r),A.k0s(),A.bVm()),2&t){const e=c.$implicit,a=A.sdS(6);A.R7$(2),A.JRh(e.label),A.R7$(),A.AVh("gw-replay__mono",e.mono),A.BMQ("title",e.title||null),A.R7$(),A.Y8G("ngIf",e.href)("ngIfElse",a)}}function Mo(t,c){if(1&t&&(A.j41(0,"dl",24),A.DNE(1,Ro,7,6,"ng-container",25),A.k0s()),2&t){const e=A.XpG(2).ngIf;A.R7$(),A.Y8G("ngForOf",e.facts)}}function Po(t,c){if(1&t&&(A.j41(0,"div",20),A.DNE(1,Ni,2,1,"p",21)(2,Mo,2,1,"dl",22),A.SdG(3,1),A.k0s()),2&t){const e=A.XpG().ngIf,a=A.XpG();A.BMQ("id",a.proofDetailsId),A.R7$(),A.Y8G("ngForOf",e.cryptoNotes),A.R7$(),A.Y8G("ngIf",null==e.facts?null:e.facts.length)}}function To(t,c){if(1&t&&(A.j41(0,"p",28),A.EFF(1),A.k0s()),2&t){const e=A.XpG(2);A.R7$(),A.SpI(" ",e.documentContextNote," ")}}function Do(t,c){if(1&t&&(A.j41(0,"section",2)(1,"header",3)(2,"h2",4),A.EFF(3),A.k0s(),A.DNE(4,bo,2,1,"p",5),A.k0s(),A.j41(5,"ul",6),A.DNE(6,hn,6,8,"li",7),A.k0s(),A.SdG(7),A.DNE(8,Io,2,2,"p",8)(9,xo,2,3,"button",9)(10,Po,4,3,"div",10)(11,To,2,1,"p",11),A.k0s()),2&t){const e=c.ngIf,a=A.XpG();A.BMQ("data-testid",e.testId),A.R7$(3),A.JRh(e.heading),A.R7$(),A.Y8G("ngIf",e.title),A.R7$(2),A.Y8G("ngForOf",e.rows),A.R7$(2),A.Y8G("ngIf",e.metaLabel&&e.metaValue),A.R7$(),A.Y8G("ngIf",e.showCryptoToggle),A.R7$(),A.Y8G("ngIf",a.expanded),A.R7$(),A.Y8G("ngIf",a.documentContextNote)}}let Ho=(()=>{class t{constructor(){this.proofDetailsId="replay-proof-details",this.view=null,this.expanded=!1,this.documentContextNote=null,this.toggleProof=new A.bkB,this.retryProof=new A.bkB}
1onToggle(){this.toggleProof.emit()}onRetry(){this.retryProof.emit()}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=A.VBU({type:t,selectors:[["app-replay-proof-panel"]],inputs:{view:"view",expanded:"expanded",documentContextNote:"documentContextNote"},outputs:{toggleProof:"toggleProof",retryProof:"retryProof"},ngContentSelectors:Qo,decls:1,vars:1,consts:[["plainFact",""],["class","gw-replay",4,"ngIf"],[1,"gw-replay"],[1,"gw-replay__head"],[1,"gw-replay__heading"],["class","gw-replay__title",4,"ngIf"],[1,"gw-replay__rows"],["class","gw-replay__row",3,"is-ok","is-failed",4,"ngFor","ngForOf"],["class","gw-replay__meta",4,"ngIf"],["type","button","class","gw-replay__toggle","data-testid","proof-toggle",3,"click",4,"ngIf"],["class","gw-replay__proof","data-testid","proof-details",4,"ngIf"],["class","gw-replay__document-context","data-testid","replay-document-context-note",4,"ngIf"],[1,"gw-replay__title"],[1,"gw-replay__row"],[1,"gw-replay__row-name"],[1,"gw-replay__row-value"],["type","button","class","gw-replay__retry",3,"click",4,"ngIf"],["type","button",1,"gw-replay__retry",3,"click"],[1,"gw-replay__meta"],["type","button","data-testid","proof-toggle",1,"gw-replay__toggle",3,"click"],["data-testid","proof-details",1,"gw-replay__proof"],["class","gw-replay__note",4,"ngFor","ngForOf"],["class","gw-replay__facts",4,"ngIf"],[1,"gw-replay__note"],[1,"gw-replay__facts"],[4,"ngFor","ngForOf"],["rel","nofollow noopener","target","_blank",3,"href",4,"ngIf","ngIfElse"],["rel","nofollow noopener","target","_blank",3,"href"],["data-testid","replay-document-context-note",1,"gw-replay__document-context"]],template:function(a,o){1&a&&(A.NAR(Vi),A.DNE(0,Do,12,8,"section",1)),2&a&&A.Y8G("ngIf",o.view)},dependencies:[Q.Sq,Q.bT],styles:[".gw-replay[_ngcontent-%COMP%]{max-width:760px;margin:8px auto 16px;padding:16px 18px;border:1px solid #d8dde6;border-radius:12px;background:#fff;color:#1f2733;font-size:14px;line-height:1.5;text-align:left}.gw-replay--expired[_ngcontent-%COMP%], .gw-replay--missing[_ngcontent-%COMP%], .gw-replay--unavailable[_ngcontent-%COMP%]{background:#f8f9fc}.gw-replay__head[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px;margin-bottom:10px}.gw-replay__heading[_ngcontent-%COMP%]{margin:0;font-size:18px;font-weight:700}.gw-replay__title[_ngcontent-%COMP%]{margin:0;color:#55607a}.gw-replay__rows[_ngcontent-%COMP%]{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:4px}.gw-replay__row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.gw-replay__row.is-ok[_ngcontent-%COMP%]   .gw-replay__row-value[_ngcontent-%COMP%]{color:#0f7b3d;font-weight:600}.gw-replay__row.is-failed[_ngcontent-%COMP%]   .gw-replay__row-value[_ngcontent-%COMP%]{color:#a3221f;font-weight:600}.gw-replay__row-name[_ngcontent-%COMP%]{color:#55607a}.gw-replay__retry[_ngcontent-%COMP%]{border:1px solid #c7cede;border-radius:6px;background:#fff;cursor:pointer;font-size:12px;padding:2px 8px}.gw-replay__count[_ngcontent-%COMP%]{margin:6px 0;font-size:16px;font-weight:600}.gw-replay__note[_ngcontent-%COMP%]{margin:6px 0;color:#46506a}.gw-replay__winner[_ngcontent-%COMP%]{margin:10px 0 4px;font-size:16px}.gw-replay__winner-label[_ngcontent-%COMP%], .gw-replay__platform[_ngcontent-%COMP%]{color:#55607a;margin-right:4px}.gw-replay__meta[_ngcontent-%COMP%]{margin:2px 0 8px;color:#6b7488;font-size:13px}.gw-replay__toggle[_ngcontent-%COMP%]{border:1px solid #c7cede;border-radius:8px;background:#f4f6fb;cursor:pointer;font-size:13px;padding:6px 10px}.gw-replay__toggle[_ngcontent-%COMP%]:focus-visible{outline:2px solid #2f6df6;outline-offset:2px}
1.gw-replay__proof[_ngcontent-%COMP%]{margin-top:10px;padding-top:10px;border-top:1px solid #e6e9f0}.gw-replay__facts[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(140px,auto) 1fr;gap:4px 12px;margin:8px 0}.gw-replay__facts[_ngcontent-%COMP%]   dt[_ngcontent-%COMP%]{color:#55607a}.gw-replay__facts[_ngcontent-%COMP%]   dd[_ngcontent-%COMP%]{margin:0;overflow-wrap:anywhere}.gw-replay__mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.gw-replay__limits[_ngcontent-%COMP%]{margin:8px 0 0;padding-left:18px;color:#46506a}.gw-replay__detailed[_ngcontent-%COMP%]{margin-top:10px}.gw-replay__product[_ngcontent-%COMP%]{margin-top:12px}.gw-replay__product[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:0 0 6px;font-size:16px}.gw-replay__product[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0 0 10px;padding-left:18px}.gw-replay__ctas[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}.gw-replay__document-context[_ngcontent-%COMP%]{margin:14px 0 0;padding:12px 0 0;border-top:1px solid #e6e9f0;font-size:13px;line-height:1.45;color:#64748b;overflow-wrap:anywhere}.gw-replay__cta[_ngcontent-%COMP%]{border:1px solid #c7cede;border-radius:8px;padding:6px 12px;text-decoration:none;color:#1f2733}.gw-replay__cta--primary[_ngcontent-%COMP%]{background:#2f6df6;border-color:#2f6df6;color:#fff}"],changeDetection:0})}}return t})();var SA=m(8822);const Oo=["*"],ko=t=>({count:t}),ur=t=>({number:t}),Lo=t=>({id:t});function Go(t,c){1&t&&(A.qex(0),A.EFF(1),A.nI1(2,"translate"),A.bVm()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"verifiedDraw.panel.title")," "))}function Wi(t,c){1&t&&(A.qex(0),A.EFF(1),A.nI1(2,"translate"),A.bVm()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"verifiedDraw.grouped.title")," "))}function Ko(t,c){if(1&t&&A.DNE(0,Wi,3,3,"ng-container",8),2&t){const e=A.XpG().ngIf,a=A.sdS(7),o=A.XpG();A.Y8G("ngIf",o.useGroupedTitle(e))("ngIfElse",a)}}function Vo(t,c){if(1&t&&A.EFF(0),2&t){const e=A.XpG().ngIf;A.JRh(e.heading)}}function No(t,c){if(1&t&&(A.qex(0),A.j41(1,"span",23),A.EFF(2," \xb7 "),A.k0s(),A.EFF(3),A.nI1(4,"translate"),A.bVm()),2&t){const e=A.XpG(2).ngIf;A.R7$(3),A.SpI(" ",A.i5U(4,1,"verifiedDraw.panel.wheelsVerified",A.eq3(4,ko,e.grouped.members.length))," ")}}function Wo(t,c){if(1&t&&(A.j41(0,"p",21),A.EFF(1),A.DNE(2,No,5,6,"ng-container",22),A.k0s()),2&t){const e=A.XpG().ngIf,a=A.XpG();A.BMQ("aria-live","polite"),A.R7$(),A.SpI(" ",a.overallProofLabel("verified")," "),A.R7$(),A.Y8G("ngIf",((null==e.grouped||null==e.grouped.members?null:e.grouped.members.length)||0)>1)}}function Xo(t,c){if(1&t&&(A.qex(0),A.EFF(1),A.nI1(2,"translate"),A.bVm()),2&t){const e=c.ngIf;A.R7$(),A.SpI(" ",A.bMT(2,1,e)," ")}}function $o(t,c){if(1&t&&A.EFF(0),2&t){const e=A.XpG().ngIf;A.JRh(e.summary)}}function Xi(t,c){if(1&t&&(A.j41(0,"li",26)(1,"span",27),A.EFF(2),A.nI1(3,"translate"),A.nI1(4,"translate"),A.nI1(5,"translate"),A.k0s(),A.EFF(6),A.nI1(7,"translate"),A.k0s()),2&t){const e=c.$implicit;A.BMQ("data-kind",e.kind),A.R7$(),A.BMQ("data-kind",e.kind),A.R7$(),A.JRh("ok"===e.kind?A.bMT(3,4,"verifiedDraw.panel.primaryKindOk"):"pending"===e.kind?A.bMT(4,6,"verifiedDraw.panel.primaryKindPending"):A.bMT(5,8,"verifiedDraw.panel.primaryKindFailed")),A.R7$(4),A.SpI(" ",A.bMT(7,10,e.labelKey)," ")}}function R(t,c){if(1&t&&(A.j41(0,"ul",24),A.DNE(1,Xi,8,12,"li",25),A.k0s()),2&t){const e=A.XpG().ngIf;A.R7$(),A.Y8G("ngForOf",e.primaryRows)}}function jo(t,c){1&t&&(A.j41(0,"p",28),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"verifiedDraw.panel.replayLandingTechnical")," "))}function Yo(t,c){1&t&&(A.j41(0,"span",36),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"verifiedDraw.panel.resultLabel")," "))}function fr(t,c){if(1&t&&(A.j41(0,"span",38),A.EFF(1),A.k0s()),2&t){const e=A.XpG(2).$implicit;A.R7$(),A.SpI(": ",e.wheelName,"")}}function ue(t,c){if(1&t&&(A.j41(0,"span",36),A.EFF(1),A.nI1(2,"translate"),A.DNE(3,fr,2,1,"span",37),A.k0s()),2&t){const e=A.XpG().$implicit;A.R7$(),A.SpI(" ",A.i5U(2,2,"verifiedDraw.grouped.wheelLabel",A.eq3(5,ur,e.displayWheelNumber))," "),A.R7$(2),A.Y8G("ngIf",e.wheelName)}}function Jo(t,c){if(1&t&&A.nrm(0,"img",40),2&t){const e=A.XpG().ngIf;A.Y8G("src",e.imageSrc,A.B4B)}}function $i(t,c){if(1&t&&(A.qex(0),A.DNE(1,Jo,1,1,"img",39),A.j41(2,"span"),A.EFF(3),A.k0s(),A.bVm()),2&t){const e=c.ngIf;A.R7$(),A.Y8G("ngIf",e.imageSrc),A.R7$(2),A.JRh(e.displayText)}}function Mt(t,c){if(1&t&&(A.j41(0,"span",41),A.EFF(1),A.k0s()),2&t){const e=A.XpG().$implicit,a=A.XpG(3);A.BMQ("data-testid","spin-proof-result-problem-"+e.wheelPosition),A.R7$(),A.SpI(" ",a.memberCryptoLabel(e.cryptographicStatus)," ")}}function Bn(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",42),A.bIt("click",function(){A.eBV(e);const o=A.XpG().$implicit,g=A.XpG(3);return A.Njj(g.onFocusWheel(o))}),A.EFF(1),A.nI1(2,"translate"),A.k0s()}if(2&t){const e=A.XpG().$implicit;A.BMQ("data-testid","spin-proof-view-wheel-"+e.wheelPosition),A.R7$(),A.SpI(" ",A.bMT(2,2,"verifiedDraw.grouped.viewWheel")," ")}}function zo(t,c){if(1&t&&(A.qex(0),A.j41(1,"div",31),A.DNE(2,Yo,3,3,"span",32)(3,ue,4,7,"span",32),A.j41(4,"span",33),A.DNE(5,$i,4,2,"ng-container",22),A.k0s(),A.DNE(6,Mt,2,2,"span",34)(7,Bn,3,4,"button",35),A.k0s(),A.bVm()),2&t){const e=c.$implicit,a=A.XpG(2).ngIf,o=A.XpG();A.R7$(),A.BMQ("data-testid","spin-proof-result-"+e.wheelPosition)("data-wheel-position",e.wheelPosition)("aria-label",o.memberAriaLabel(e)),A.R7$(),A.Y8G("ngIf",1===a.grouped.members.length),A.R7$(),A.Y8G("ngIf",a.grouped.members.length>1),A.R7$(),A.BMQ("data-testid","spin-proof-member-winner-"+e.wheelPosition),A.R7$(),A.Y8G("ngIf",o.memberWinnerDisplay(e)),A.R7$(),A.Y8G("ngIf",o.memberHasProblem(e)),A.R7$(),A.Y8G("ngIf",o.enableReplayWheelFocus)}}function Zo(t,c){if(1&t&&(A.j41(0,"div",29),A.DNE(1,zo,8,9,"ng-container",30),A.k0s()),2&t){const e=A.XpG().ngIf;A.R7$(),A.Y8G("ngForOf",e.grouped.members)}}function qo(t,c){if(1&t&&(A.j41(0,"p",49)(1,"span",46),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"span",47),A.EFF(5),A.k0s()()),2&t){const e=A.XpG().ngIf;A.R7$(2),A.JRh(A.bMT(3,2,"verifiedDraw.grouped.wheelsIncluded")),A.R7$(3),A.JRh(e.memberCount)}}function Ke(t,c){1&t&&(A.qex(0),A.EFF(1),A.nI1(2,"translate"),A.bVm()),2&t&&(A.R7$(),A.JRh(A.bMT(2,1,"verifiedDraw.grouped.allWheelsSession")))}function hr(t,c){1&t&&(A.qex(0),A.EFF(1),A.nI1(2,"translate"),A.bVm()),2&t&&(A.R7$(),A.JRh(A.bMT(2,1,"verifiedDraw.grouped.selectedWheelSession")))}function Br(t,c){1&t&&(A.qex(0),A.EFF(1),A.nI1(2,"translate"),A.bVm()),2&t&&(A.R7$(),A.JRh(A.bMT(2,1,"verifiedDraw.grouped.historicalProof")))}function Al(t,c){if(1&t&&(A.j41(0,"p",49)(1,"span",46),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"span",47),A.qex(5,50),A.DNE(6,Ke,3,3,"ng-container",51)(7,hr,3,3,"ng-container",51)(8,Br,3,3,"ng-container",51),A.bVm(),A.k0s(),A.j41(9,"span",52),A.EFF(10),A.nI1(11,"translate"),A.k0s()()),2&t){const e=A.XpG().ngIf;A.R7$(2),A.JRh(A.bMT(3,6,"verifiedDraw.grouped.sessionType")),A.R7$(3),A.Y8G("ngSwitch",e.sessionDescriptionKind),A.R7$(),A.Y8G("ngSwitchCase","all"),A.R7$(),A.Y8G("ngSwitchCase","selected"),A.R7$(),A.Y8G("ngSwitchCase","historical"),A.R7$(2),A.JRh(A.bMT(11,8,"verifiedDraw.grouped.sessionDescriptionNote"))}}function ji(t,c){if(1&t&&(A.j41(0,"p",53)(1,"span",46),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"span",47),A.EFF(5),A.k0s()()),2&t){const e=A.XpG().ngIf,a=A.XpG(2);A.R7$(2),A.JRh(A.bMT(3,4,"verifiedDraw.grouped.landingVerification")),A.R7$(2),A.BMQ("data-status",e.overallLandingStatus)("aria-l
1ive","polite"),A.R7$(),A.SpI(" ",a.overallLandingLabel(e.overallLandingStatus)," ")}}function el(t,c){if(1&t&&(A.j41(0,"div",43),A.DNE(1,qo,6,4,"p",44)(2,Al,12,10,"p",44),A.j41(3,"p",45)(4,"span",46),A.EFF(5),A.nI1(6,"translate"),A.k0s(),A.j41(7,"span",47),A.EFF(8),A.k0s()(),A.DNE(9,ji,6,6,"p",48),A.k0s()),2&t){const e=c.ngIf,a=A.XpG(2);A.R7$(),A.Y8G("ngIf",e.memberCount>0),A.R7$(),A.Y8G("ngIf",e.sessionDescriptionKind),A.R7$(3),A.JRh(A.bMT(6,7,"verifiedDraw.grouped.proofVerification")),A.R7$(2),A.BMQ("data-status",e.overallProofStatus)("aria-live","polite"),A.R7$(),A.SpI(" ",a.overallProofLabel(e.overallProofStatus)," "),A.R7$(),A.Y8G("ngIf","n/a"!==e.overallLandingStatus&&"not-observed"!==e.overallLandingStatus)}}function wr(t,c){if(1&t&&(A.j41(0,"li",56)(1,"span",57),A.EFF(2),A.k0s(),A.j41(3,"span",58),A.EFF(4),A.k0s()()),2&t){const e=c.$implicit;A.R7$(2),A.JRh(e.label),A.R7$(2),A.JRh(e.detail)}}function tl(t,c){if(1&t&&(A.j41(0,"ul",54),A.DNE(1,wr,5,2,"li",55),A.k0s()),2&t){const e=A.XpG().ngIf,a=A.XpG();A.R7$(),A.Y8G("ngForOf",a.failedChecks(e))}}function nl(t,c){if(1&t){const e=A.RV6();A.j41(0,"p",59)(1,"span",46),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"span",60),A.EFF(5),A.k0s(),A.j41(6,"button",61),A.nI1(7,"translate"),A.bIt("click",function(){A.eBV(e);const o=A.XpG().ngIf,g=A.XpG();return A.Njj(g.onCopyReplayId(o))}),A.EFF(8),A.nI1(9,"translate"),A.k0s()()}if(2&t){const e=c.ngIf;A.R7$(2),A.JRh(A.bMT(3,4,"verifiedDraw.panel.replayIdLabel")),A.R7$(3),A.JRh(e),A.R7$(),A.BMQ("aria-label",A.i5U(7,6,"verifiedDraw.panel.copyReplayIdAria",A.eq3(11,Lo,e))),A.R7$(2),A.SpI(" ",A.bMT(9,9,"verifiedDraw.panel.copyReplayId")," ")}}function rl(t,c){if(1&t){const e=A.RV6();A.j41(0,"p",62)(1,"a",63),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"button",64),A.bIt("click",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.onCopyReplayLink())}),A.EFF(5),A.nI1(6,"translate"),A.k0s()()}if(2&t){const e=A.XpG(2);A.R7$(),A.Y8G("href",e.replayUrl,A.B4B),A.R7$(),A.SpI(" ",A.bMT(3,3,"verifiedDraw.panel.openReplay")," "),A.R7$(3),A.SpI(" ",A.bMT(6,5,"verifiedDraw.grouped.copyReplayLink")," ")}}function il(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",65),A.bIt("click",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.onToggleProofDetails())}),A.EFF(1),A.nI1(2,"translate"),A.k0s()}if(2&t){const e=A.XpG(2);A.BMQ("aria-expanded",e.proofDetailsOpen)("aria-controls",e.proofDetailsId),A.R7$(),A.SpI(" ",A.bMT(2,3,e.proofDetailsOpen?"verifiedDraw.panel.hideProofDetails":"verifiedDraw.panel.viewProofDetails")," ")}}function sl(t,c){1&t&&(A.j41(0,"h3",74),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"verifiedDraw.panel.checksHeading")," "))}function al(t,c){if(1&t&&(A.j41(0,"li",77)(1,"span",57),A.EFF(2),A.k0s(),A.j41(3,"span",58),A.EFF(4),A.nI1(5,"translate"),A.k0s()()),2&t){const e=c.$implicit;A.AVh("is-ok",e.ok)("is-failed",!e.ok),A.R7$(2),A.JRh(e.label),A.R7$(2),A.SpI(" ",e.ok?A.bMT(5,6,"verifiedDraw.panel.checksOut"):e.detail," ")}}function ol(t,c){if(1&t&&(A.j41(0,"ul",75),A.DNE(1,al,6,8,"li",76),A.k0s()),2&t){const e=A.XpG(2).ngIf,a=A.XpG();A.BMQ("id",a.checksId),A.R7$(),A.Y8G("ngForOf",e.checks)}}function ll(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",78),A.bIt("click",function(){A.eBV(e);const o=A.XpG(3);return A.Njj(o.onToggleEntries())}),A.EFF(1),A.nI1(2,"translate"),A.nI1(3,"translate"),A.k0s()}if(2&t){const e=A.XpG(2).ngIf,a=A.XpG();A.BMQ("aria-expanded",a.entriesExpanded)("aria-controls",a.entriesId),A.R7$(),A.SpI(" ",a.entriesExpanded?A.bMT(2,3,"verifiedDraw.panel.hideCommittedEntries"):A.i5U(3,5,e.entriesToggleKey,e.entriesToggleParams)," ")}}function Yi(t,c){1&t&&(A.j41(0,"span",88),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"verifiedDraw.panel.winnerMarker")," "))}function cl(t,c){if(1&t&&(A.j41(0,"li",84)(1,"span",85),A.EFF(2),A.k0s(),A.j41(3,"span",86),A.EFF(4),A.k0s(),A.DNE(5,Yi,3,3,"span",87),A.k0s()),2&t){const e=c.$implicit,a=A.XpG(3).ngIf;A.AVh("is-winner",e.winner),A.BMQ("value",e.index),A.R7$(2),A.JRh(e.index),A.R7$(2),A.JRh(e.label||a.blankEntryLabel),A.R7$(),A.Y8G("ngIf",e.winner)}}function dl(t,c){if(1&t&&(A.j41(0,"p",89),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t){const e=A.XpG(3).ngIf;A.R7$(),A.SpI(" ",A.i5U(2,1,e.entriesTruncatedNoteKey,e.entriesTruncatedParams)," ")}}function gl(t,c){if(1&t&&(A.j41(0,"p",89),A.EFF(1),A.k0s()),2&t){const e=A.XpG(3).ngIf;A.R7$(),A.SpI(" ",e.entriesTruncatedNote," ")}}function Ji(t,c){if(1&t&&(A.j41(0,"div",79)(1,"p",80),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"ol",81),A.DNE(
15,cl,6,6,"li",82),A.k0s(),A.DNE(6,dl,3,4,"p",83)(7,gl,2,1,"p",83),A.k0s()),2&t){const e=A.XpG(2).ngIf,a=A.XpG();A.BMQ("id",a.entriesId),A.R7$(2),A.SpI(" ",A.bMT(3,5,"verifiedDraw.panel.committedEntriesNote")," "),A.R7$(3),A.Y8G("ngForOf",e.entries),A.R7$(),A.Y8G("ngIf",e.entriesTruncatedNoteKey),A.R7$(),A.Y8G("ngIf",!e.entriesTruncatedNoteKey&&e.entriesTruncatedNote)}}function pl(t,c){1&t&&(A.j41(0,"h3",93),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"verifiedDraw.grouped.membersHeading")," "))}function wn(t,c){if(1&t&&(A.j41(0,"span",38),A.EFF(1),A.k0s()),2&t){const e=A.XpG().$implicit;A.R7$(),A.SpI(": ",e.wheelName,"")}}function ul(t,c){1&t&&(A.j41(0,"span",52),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"verifiedDraw.grouped.wheelNameNotSigned")," "))}function mr(t,c){if(1&t&&(A.j41(0,"div")(1,"dt"),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"dd"),A.EFF(5),A.k0s()()),2&t){const e=A.XpG(2).$implicit,a=A.XpG(4);A.R7$(2),A.JRh(A.bMT(3,3,"verifiedDraw.grouped.landingVerification")),A.R7$(2),A.BMQ("data-status",e.landingStatus),A.R7$(),A.SpI(" ",a.memberLandingLabel(e.landingStatus)," ")}}function Cr(t,c){if(1&t&&(A.j41(0,"dl",103)(1,"div")(2,"dt"),A.EFF(3),A.nI1(4,"translate"),A.k0s(),A.j41(5,"dd"),A.EFF(6),A.k0s()(),A.DNE(7,mr,6,5,"div",22),A.k0s()),2&t){const e=A.XpG().$implicit,a=A.XpG(4);A.R7$(3),A.JRh(A.bMT(4,4,"verifiedDraw.grouped.proofVerification")),A.R7$(2),A.BMQ("data-status",e.cryptographicStatus),A.R7$(),A.SpI(" ",a.memberCryptoLabel(e.cryptographicStatus)," "),A.R7$(),A.Y8G("ngIf","not-observed"!==e.landingStatus)}}function zi(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",101),A.bIt("click",function(){A.eBV(e);const o=A.XpG().$implicit,g=A.XpG(4);return A.Njj(g.toggleMemberEntries(o.wheelPosition))}),A.EFF(1),A.nI1(2,"translate"),A.nI1(3,"translate"),A.k0s()}if(2&t){const e=A.XpG().$implicit,a=A.XpG(4);A.BMQ("aria-expanded",a.isMemberEntriesExpanded(e.wheelPosition))("aria-controls",a.memberEntriesId(e.wheelPosition))("data-testid","spin-proof-member-entries-toggle-"+e.wheelPosition),A.R7$(),A.SpI(" ",a.isMemberEntriesExpanded(e.wheelPosition)?A.i5U(2,4,"verifiedDraw.grouped.hideCommittedEntriesForWheel",A.eq3(10,ur,e.displayWheelNumber)):A.i5U(3,7,e.committedEntries.entriesToggleKey,e.committedEntries.entriesToggleParams)," ")}}function Zi(t,c){1&t&&(A.j41(0,"span",88),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"verifiedDraw.panel.winnerMarker")," "))}function fl(t,c){if(1&t&&(A.j41(0,"li",84)(1,"span",85),A.EFF(2),A.k0s(),A.j41(3,"span",86),A.EFF(4),A.k0s(),A.DNE(5,Zi,3,3,"span",87),A.k0s()),2&t){const e=c.$implicit,a=A.XpG(5).ngIf;A.AVh("is-winner",e.winner),A.BMQ("value",e.index),A.R7$(2),A.JRh(e.index),A.R7$(2),A.JRh(e.label||a.blankEntryLabel),A.R7$(),A.Y8G("ngIf",e.winner)}}function qi(t,c){if(1&t&&(A.j41(0,"p",89),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t){const e=A.XpG(2).$implicit;A.R7$(),A.SpI(" ",A.i5U(2,1,e.committedEntries.entriesTruncatedNoteKey,e.committedEntries.entriesTruncatedParams)," ")}}function _r(t,c){if(1&t&&(A.j41(0,"div",104)(1,"p",89),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"ol",81),A.DNE(5,fl,6,6,"li",82),A.k0s(),A.DNE(6,qi,3,4,"p",83),A.k0s()),2&t){const e=A.XpG().$implicit,a=A.XpG(4);A.BMQ("id",a.memberEntriesId(e.wheelPosition))("data-testid","spin-proof-member-entries-"+e.wheelPosition),A.R7$(2),A.SpI(" ",A.bMT(3,5,"verifiedDraw.panel.committedEntriesNote")," "),A.R7$(3),A.Y8G("ngForOf",e.committedEntries.entries),A.R7$(),A.Y8G("ngIf",e.committedEntries.entriesTruncatedNoteKey)}}function yr(t,c){if(1&t&&(A.j41(0,"div")(1,"dt"),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"dd"),A.EFF(5),A.k0s()()),2&t){const e=A.XpG(2).$implicit,a=A.XpG(4);A.R7$(2),A.JRh(A.bMT(3,3,"verifiedDraw.grouped.landingVerification")),A.R7$(2),A.BMQ("data-status",e.landingStatus),A.R7$(),A.SpI(" ",a.memberLandingLabel(e.landingStatus)," ")}}function As(t,c){if(1&t&&(A.qex(0),A.j41(1,"div")(2,"dt"),A.EFF(3),A.k0s(),A.j41(4,"dd"),A.EFF(5),A.k0s()(),A.bVm()),2&t){const e=c.$implicit;A.R7$(3),A.JRh(e.label),A.R7$(),A.AVh("is-mono",e.mono),A.R7$(),A.JRh(e.value)}}function es(t,c){if(1&t&&(A.j41(0,"dl",105)(1,"div")(2,"dt"),A.EFF(3),A.nI1(4,"translate"),A.k0s(),A.j41(5,"dd"),A.EFF(6),A.k0s()(),A.j41(7,"div")(8,"dt"),A.EFF(9),A.nI1(10,"translate"),A.k0s(),A.j41(11,"dd"),A.EFF(12),A.k0s()(),A.j41(13,"div")(14,"dt"),A.EFF(15),A.nI1(16,"translate"),A.k0s(),A.j41(17,"dd"),A.EFF(18),A.k0s()(),A.DNE(19,yr,6,5,"div",22)(20,As,6,4,"ng-container",30),A.k0s()),2&t){const e=A.XpG().$implicit,a=A.XpG(4);A.BMQ("id",a.memberDetailsId(e.wheelPosition))("data-testid","spin-proof-member-details-"+e.wheelPosition),A.R7$(3),A.JRh(A.bMT(4,11,"verifiedDraw.grouped.memberIndex")),A.R7$(3),A.JRh(null===e.winningIndex?"\u2014":e.winningIndex),A.R7$(3),A.JRh(A.bMT(10,13,"verifiedDraw.grouped.sourceIndexDetail")),A.R7$(3),A.JRh(e.sourceWheelIndex),A.R7$(3),A.JRh(A.bMT(16,15,"verifiedDraw.grouped.proofVerification")),A.R7$(2),A.BMQ("data-status",e.cryptographicStatus),A.R7$(),A.SpI(" ",a.memberCryptoLabel(e.cryptographicStatus)," "),A.R7$(),A.Y8G("ngIf","not-observed"!==e.landingStatus),A.R7$(),A.Y8G("ngForOf",e.technicalFacts)}}function ts(t,c){if(1&t){const e=A.RV6();
1A.j41(0,"article",94)(1,"header",95)(2,"span",96),A.EFF(3),A.nI1(4,"translate"),A.DNE(5,wn,2,1,"span",37),A.k0s(),A.DNE(6,ul,3,3,"span",97),A.k0s(),A.DNE(7,Cr,8,6,"dl",98)(8,zi,4,12,"button",99)(9,_r,7,7,"div",100),A.j41(10,"button",101),A.bIt("click",function(){const o=A.eBV(e).$implicit,g=A.XpG(4);return A.Njj(g.toggleMemberDetails(o.wheelPosition))}),A.EFF(11),A.nI1(12,"translate"),A.k0s(),A.DNE(13,es,21,17,"dl",102),A.k0s()}if(2&t){const e=c.$implicit,a=A.XpG(3).ngIf,o=A.XpG();A.BMQ("data-testid","spin-proof-member-"+e.wheelPosition)("data-wheel-position",e.wheelPosition)("data-source-index",e.sourceWheelIndex)("data-problem",o.memberHasProblem(e)?"true":null)("aria-label",o.memberAriaLabel(e)),A.R7$(3),A.SpI(" ",A.i5U(4,16,"verifiedDraw.grouped.wheelLabel",A.eq3(21,ur,e.displayWheelNumber))," "),A.R7$(2),A.Y8G("ngIf",e.wheelName),A.R7$(),A.Y8G("ngIf",e.wheelName),A.R7$(),A.Y8G("ngIf",o.memberHasProblem(e)),A.R7$(),A.Y8G("ngIf",o.showMemberCommittedEntries(a,e)),A.R7$(),A.Y8G("ngIf",o.isMemberEntriesExpanded(e.wheelPosition)&&o.showMemberCommittedEntries(a,e)),A.R7$(),A.BMQ("aria-expanded",o.isMemberDetailsExpanded(e.wheelPosition))("aria-controls",o.memberDetailsId(e.wheelPosition))("data-testid","spin-proof-member-details-toggle-"+e.wheelPosition),A.R7$(),A.SpI(" ",A.bMT(12,19,o.isMemberDetailsExpanded(e.wheelPosition)?"verifiedDraw.panel.hideMemberTechnicalDetails":"verifiedDraw.panel.memberTechnicalDetails")," "),A.R7$(2),A.Y8G("ngIf",o.isMemberDetailsExpanded(e.wheelPosition))}}function ns(t,c){if(1&t&&(A.j41(0,"div",90),A.DNE(1,pl,3,3,"h3",91)(2,ts,14,23,"article",92),A.k0s()),2&t){const e=A.XpG(2).ngIf,a=A.XpG();A.R7$(),A.Y8G("ngIf",a.showMembersHeading(e)||e.grouped.members.length>1&&a.isCompactSuccess(e)),A.R7$(),A.Y8G("ngForOf",e.grouped.members)}}function vr(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",106),A.bIt("click",function(){A.eBV(e);const o=A.XpG(3);return A.Njj(o.onToggleDetails())}),A.EFF(1),A.nI1(2,"translate"),A.nI1(3,"translate"),A.k0s()}if(2&t){const e=A.XpG(3);A.BMQ("aria-expanded",e.expanded)("aria-controls",e.detailsId),A.R7$(),A.SpI(" ",e.expanded?A.bMT(2,3,"verifiedDraw.grouped.hideTechnicalDetails"):A.bMT(3,5,"verifiedDraw.grouped.technicalDetails")," ")}}function hl(t,c){if(1&t&&(A.qex(0),A.EFF(1),A.nI1(2,"translate"),A.bVm()),2&t){const e=A.XpG().$implicit;A.R7$(),A.SpI(" ",A.i5U(2,1,e.valueKey,e.valueParams)," ")}}function Bl(t,c){if(1&t&&A.EFF(0),2&t){const e=A.XpG().$implicit;A.JRh(e.value)}}function wl(t,c){if(1&t&&(A.qex(0),A.j41(1,"div",109)(2,"dt"),A.EFF(3),A.k0s(),A.j41(4,"dd"),A.DNE(5,hl,3,4,"ng-container",8)(6,Bl,1,1,"ng-template",null,3,A.C5r),A.k0s()(),A.bVm()),2&t){const e=c.$implicit,a=A.sdS(7);A.R7$(3),A.JRh(e.label),A.R7$(),A.AVh("is-mono",e.mono),A.R7$(),A.Y8G("ngIf",e.valueKey)("ngIfElse",a)}}function JA(t,c){if(1&t&&(A.j41(0,"div",107)(1,"dl",108),A.DNE(2,wl,8,5,"ng-container",30),A.k0s()()),2&t){const e=A.XpG(2).ngIf,a=A.XpG();A.BMQ("id",a.detailsId),A.R7$(2),A.Y8G("ngForOf",e.facts)}}function Fr(t,c){if(1&t&&(A.j41(0,"div",66),A.DNE(1,sl,3,3,"h3",67)(2,ol,2,2,"ul",68)(3,ll,4,8,"button",69)(4,Ji,8,7,"div",70)(5,ns,3,2,"div",71)(6,vr,4,7,"button",72)(7,JA,3,2,"div",73),A.k0s()),2&t){const e=A.XpG().ngIf,a=A.XpG();A.BMQ("id",a.proofDetailsId),A.R7$(),A.Y8G("ngIf",e.checks.length),A.R7$(),A.Y8G("ngIf",e.checks.length),A.R7$(),A.Y8G("ngIf",a.showGlobalCommittedEntries(e)),A.R7$(),A.Y8G("ngIf",a.entriesExpanded&&a.showGlobalCommittedEntries(e)),A.R7$(),A.Y8G("ngIf",a.showMemberDetailCards(e)),A.R7$(),A.Y8G("ngIf",e.facts.length),A.R7$(),A.Y8G("ngIf",a.expanded)}}function ml(t,c){if(1&t&&(A.j41(0,"p",110),A.EFF(1),A.k0s()),2&t){const e=A.XpG(2);A.R7$(),A.SpI(" ",e.documentContextNote," ")}}function Cl(t,c){if(1&t&&(A.j41(0,"section",5)(1,"header",6)(2,"h2",7),A.DNE(3,Go,3,3,"ng-container",8)(4,Ko,1,2,"ng-template",null,0,A.C5r)(6,Vo,1,1,"ng-template",null,1,A.C5r),A.k0s(),A.DNE(8,Wo,3,3,"p",9),A.k0s(),A.j41(9,"p",10),A.DNE(10,Xo,3,3,"ng-container",8)(11,$o,1,1,"ng-template",null,2,A.C5r),A.k0s(),A.DNE(13,R,2,1,"ul",11)(14,jo,3,3,"p",12)(15,Zo,2,1,"div",13)(16,el,10,9,"div",14)(17,tl,2,1,"ul",15)(18,nl,10,13,"p",16)(19,rl,7,7,"p",17)(20,il,3,5,"button",18)(21,Fr,8,8,"div",19),A.SdG(22),A.DNE(23,ml,2,1,"p",20),A.k0s()),2&t){const e=c.ngIf,a=A.sdS(5),o=A.sdS(12),g=A.XpG();A.AVh("spin-proof--compact",g.isCompactSuccess(e)),A.BMQ("data-testid","spin-proof-panel")("data-status",e.status)("data-compact",g.isCompactSuccess(e)?"true":null)("data-member-count",(null==e.grouped?null:e.grouped.memberCount)||null),A.R7$(3),A.Y8G("ngIf",g.isCompactSuccess(e))("ngIfElse",a),A.R7$(5),A.Y8G("ngIf",g.isCompactSuccess(e)),A.R7$(2),A.Y8G("ngIf",g.compactSummaryKey(e))("ngIfElse",o),A.R7$(3),A.Y8G("ngIf",!g.isCompactSuccess(e)&&(null==e.primaryRows?null:e.primaryRows.length)),A.R7$(),A.Y8G("ngIf",e.showReplayLandingTechnical&&!g.isCompactSuccess(e)),A.R7$(),A.Y8G("ngIf",null==e.grouped||null==e.grouped.members?null:e.grouped.members.length),A.R7$(),A.Y8G("ngIf",!g.isCompactSuccess(e)&&e.grouped),A.R7$(),A.Y8G("ngIf",e.hasFailedChecks),A.R7$(),A.Y8G("ngIf",g.resolvedReplayId(e)),A.R7$(),A.Y8G("ngIf",g.replayUrl),A.R7$(),A.Y8G("ngIf",e.checks.length||e.facts.length||e.entryCount||((null==e.grouped||null==e.grouped.members?null:e.grouped.members.length)||0)>0),A.R7$(),A.Y8G("ngIf",g.proofDetailsOpen),A.R7$(2),A.Y8G("ngIf",g.documentContextNote)}}let _l=(()=>{class t{constructor(e){this.translate=e,this.detailsId="spin-proof-details",this.entriesId="spin-proof-entries",this.checksId="spin-proof-checks",this.proofDetailsId="spin-proof-proof-details",this.view=null,this.expanded=!1,this.entriesExpanded=!1,this.replayUrl=null,this.enableReplayWheelFocus=!1,this.documentContextNote=null,this.replayId=null,this.toggleDetails=new A.bkB,this.toggleEntries=new A.bkB,this.copyReplayLink=new A.bkB,this.copyReplayId=new A.bkB,this.focusWheel=new A.bkB,this.proofDetailsUserOpen=null,this.memberDetailsExpanded=new Set,this.memberDetailsUserOverride=new Set,this.memberEntriesExpanded=new Set}ngOnChanges(e){if(!e.view)return;const a=e.view.previousValue,o=this.view;a&&this.proofIdentity(a)!==this.proofIdentity(o)&&(this.proofDetailsUserOpen=null,this.memberDetailsExpanded=new Set,this.memberDetailsUserOverride=new Set)}proofIdentity(e){return e?[e.replayId||"",e.status,e.grouped?.overallProofStatus||""].join("|"):""}isCompactSuccess(e){return!0===e.compactSuccess}resolvedReplayId(e){return e.replayId||this.replayId||null}get proofDetailsOpen(){return null!==this.proofDetailsUserOpen?this.proofDetailsUserOpen:this.shouldAutoOpenProofDetails(this.view)}
1shouldAutoOpenProofDetails(e){return!(!e||this.isCompactSuccess(e)||!e.hasFailedChecks&&"failed"!==e.status&&"mismatch"!==e.status&&"malformed"!==e.status&&"unsupported"!==e.status&&"expired"!==e.status&&"hold-expired"!==e.status&&"retryable"!==e.status&&"proof-failed"!==e.grouped?.overallProofStatus&&"incomplete"!==e.grouped?.overallProofStatus&&"malformed"!==e.grouped?.overallProofStatus)}onToggleProofDetails(){this.proofDetailsUserOpen=!this.proofDetailsOpen}compactSummaryKey(e){return this.isCompactSuccess(e)?"public-replay"===e.grouped?.context?"verifiedDraw.panel.summaryVerifiedReplay":"verifiedDraw.panel.summaryVerifiedLive":e.summaryKey}showGlobalCommittedEntries(e){return"boolean"==typeof e.showGlobalCommittedEntries?e.showGlobalCommittedEntries&&!!e.entryCount:(e.grouped?.members?.length??0)<=1&&!!e.entryCount}showMemberCommittedEntries(e,a){return!this.showGlobalCommittedEntries(e)&&!!a.committedEntries?.entryCount}useGroupedTitle(e){return(e.grouped?.memberCount??0)>1&&"verified"===e.status&&"verified"===e.grouped?.overallProofStatus&&!this.isCompactSuccess(e)}onToggleDetails(){this.toggleDetails.emit()}onToggleEntries(){this.toggleEntries.emit()}onCopyReplayLink(){this.replayUrl&&this.copyReplayLink.emit(this.replayUrl)}onCopyReplayId(e){const a=this.resolvedReplayId(e);a&&this.copyReplayId.emit(a)}failedChecks(e){return(e.checks||[]).filter(a=>!a.ok)}memberHasProblem(e){return"failed"===e.cryptographicStatus||"mismatch"===e.landingStatus||"incomplete"===e.landingStatus||null===e.winningIndex||null===e.winnerLabel}toggleMemberDetails(e){const a=this.isMemberDetailsExpanded(e);this.memberDetailsUserOverride.add(e),a?this.memberDetailsExpanded.delete(e):this.memberDetailsExpanded.add(e),this.memberDetailsExpanded=new Set(this.memberDetailsExpanded),this.memberDetailsUserOverride=new Set(this.memberDetailsUserOverride)}isMemberDetailsExpanded(e){if(this.memberDetailsUserOverride.has(e))return this.memberDetailsExpanded.has(e);const a=this.view?.grouped?.members?.find(o=>o.wheelPosition===e);return!!(a&&this.shouldAutoOpenProofDetails(this.view)&&this.memberHasProblem(a))||this.memberDetailsExpanded.has(e)}memberDetailsId(e){return`spin-proof-member-details-${e}`}toggleMemberEntries(e){this.memberEntriesExpanded.has(e)?this.memberEntriesExpanded.delete(e):this.memberEntriesExpanded.add(e),this.memberEntriesExpanded=new Set(this.memberEntriesExpanded)}isMemberEntriesExpanded(e){return this.memberEntriesExpanded.has(e)}memberEntriesId(e){return`spin-proof-member-entries-${e}`}overallProofLabel(e){const a={verifying:"verifiedDraw.grouped.verifying",verified:"verifiedDraw.grouped.overallVerified","verification-expired":"verifiedDraw.grouped.verificationExpired","proof-failed":"verifiedDraw.grouped.proofCouldNotVerify",incomplete:"verifiedDraw.grouped.incompleteGroupedProof",unavailable:"verifiedDraw.grouped.proofCouldNotVerify",unsupported:"verifiedDraw.grouped.proofCouldNotVerify",malformed:"verifiedDraw.grouped.incompleteGroupedProof","not-found":"verifiedDraw.grouped.proofCouldNotVerify"};return this.translate.instant(a[e]||a.unavailable)}overallLandingLabel(e){const a={pending:"verifiedDraw.grouped.landingPending",verified:"verifiedDraw.grouped.landedCorrectly",mismatch:"verifiedDraw.grouped.landingMismatch",incomplete:"verifiedDraw.grouped.landingIncomplete","not-observed":"verifiedDraw.panel.replayLandingTechnical","n/a":"verifiedDraw.grouped.landingNotObserved"};return this.translate.instant(a[e]||a["n/a"])}memberCryptoLabel(e){return this.translate.instant({verified:"verifiedDraw.grouped.cryptoVerified",failed:"verifiedDraw.grouped.cryptoFailed",unavailable:"verifiedDraw.grouped.cryptoUnavailable"}[e])}memberLandingLabel(e){return this.translate.instant({"landed-correctly":"verifiedDraw.grouped.landedCorrectly",pending:"verifiedDraw.grouped.landingPending",mismatch:"verifiedDraw.grouped.landingMismatch",incomplete:"verifiedDraw.grouped.landingIncomplete","not-observed":"verifiedDraw.panel.replayLandingTechnical"}[e])}memberAriaLabel(e){const a=this.translate.instant("verifiedDraw.grouped.wheelLabel",{number:e.displayWheelNumber}),o=this.memberCryptoLabel(e.cryptographicStatus);return`${a}: ${this.memberWinnerDisplay(e).displayText}: ${o}`}showMembersHeading(e){const a=e.grouped?.members?.length||0;return!(a<1||this.isCompactSuccess(e))&&(a>1||this.enableReplayWheelFocus)}showMemberDetailCards(e){const a=e.grouped?.members?.length||0;return!(0===a||this.isCompactSuccess(e)&&1===a)}onFocusWheel(e){this.enableReplayWheelFocus&&this.focusWheel.emit({wheelPosition:e.wheelPosition,sourceWheelIndex:e.s
1ourceWheelIndex})}memberWinnerDisplay(e){return(0,SA.X7)(e.winnerLabel,this.view?.blankEntryLabel||SA.Rs)}static{this.\u0275fac=function(a){return new(a||t)(A.rXU(PA.c$))}}static{this.\u0275cmp=A.VBU({type:t,selectors:[["app-spin-proof-panel"]],inputs:{view:"view",expanded:"expanded",entriesExpanded:"entriesExpanded",replayUrl:"replayUrl",enableReplayWheelFocus:"enableReplayWheelFocus",documentContextNote:"documentContextNote",replayId:"replayId"},outputs:{toggleDetails:"toggleDetails",toggleEntries:"toggleEntries",copyReplayLink:"copyReplayLink",copyReplayId:"copyReplayId",focusWheel:"focusWheel"},features:[A.OA$],ngContentSelectors:Oo,decls:1,vars:1,consts:[["defaultHeading",""],["statusHeading",""],["plainSummary",""],["plainFactValue",""],["class","gw-replay spin-proof",3,"spin-proof--compact",4,"ngIf"],[1,"gw-replay","spin-proof"],[1,"gw-replay__head"],["data-testid","spin-proof-heading",1,"gw-replay__heading"],[4,"ngIf","ngIfElse"],["class","spin-proof__status","data-testid","spin-proof-compact-status",4,"ngIf"],["data-testid","spin-proof-summary",1,"gw-replay__note"],["class","spin-proof__primary-rows","data-testid","spin-proof-primary-rows",4,"ngIf"],["class","spin-proof__replay-technical","data-testid","spin-proof-replay-landing-technical",4,"ngIf"],["class","spin-proof__results","data-testid","spin-proof-results",4,"ngIf"],["class","spin-proof__grouped-summary","data-testid","spin-proof-grouped-summary",4,"ngIf"],["class","gw-replay__rows spin-proof__failed-checks","data-testid","spin-proof-failed-checks",4,"ngIf"],["class","spin-proof__replay-id","data-testid","spin-proof-replay-id",4,"ngIf"],["class","spin-proof__link",4,"ngIf"],["type","button","class","gw-replay__toggle","data-testid","spin-proof-proof-details-toggle",3,"click",4,"ngIf"],["class","spin-proof__proof-details","data-testid","spin-proof-proof-details",4,"ngIf"],["class","gw-replay__document-context","data-testid","replay-document-context-note",4,"ngIf"],["data-testid","spin-proof-compact-status",1,"spin-proof__status"],[4,"ngIf"],["aria-hidden","true",1,"spin-proof__status-sep"],["data-testid","spin-proof-primary-rows",1,"spin-proof__primary-rows"],["class","spin-proof__primary-row",4,"ngFor","ngForOf"],[1,"spin-proof__primary-row"],[1,"spin-proof__primary-kind"],["data-testid","spin-proof-replay-landing-technical",1,"spin-proof__replay-technical"],["data-testid","spin-proof-results",1,"spin-proof__results"],[4,"ngFor","ngForOf"],[1,"spin-proof__result-row"],["class","spin-proof__result-label",4,"ngIf"],[1,"spin-proof__result-value"],["class","spin-proof__result-problem",4,"ngIf"],["type","button","class","spin-proof__view-wheel",3,"click",4,"ngIf"],[1,"spin-proof__result-label"],["class","spin-proof__member-name",4,"ngIf"],[1,"spin-proof__member-name"],["class","spin-proof__winner-thumb","alt","",3,"src",4,"ngIf"],["alt","",1,"spin-proof__winner-thumb",3,"src"],[1,"spin-proof__result-problem"],["type","button",1,"spin-proof__view-wheel",3,"click"],["data-testid","spin-proof-grouped-summary",1,"spin-proof__grouped-summary"],["class","spin-proof__meta-line",4,"ngIf"],["data-testid","spin-proof-crypto-status",1,"spin-proof__meta-line"],[1,"spin-proof__meta-label"],[1,"spin-proof__meta-value"],["class","spin-proof__meta-line","data-testid","spin-proof-landing-status",4,"ngIf"],[1,"spin-proof__meta-line"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"spin-proof__meta-hint"],["data-testid","spin-proof-landing-status",1,"spin-proof__meta-line"],["data-testid","spin-proof-failed-checks",1,"gw-replay__rows","spin-proof__failed-checks"],["class","gw-replay__row is-failed",4,"ngFor","ngForOf"],[1,"gw-replay__row","is-failed"],[1,"gw-replay__row-name"],[1,"gw-replay__row-value"],["data-testid","spin-proof-replay-id",1,"spin-proof__replay-id"],[1,"spin-proof__replay-id-value","is-mono"],["type","button","data-testid","spin-proof-copy-replay-id",1,"spin-proof__text-action",3,"click"],[1,"spin-proof__link"],["rel","nofollow noopener","target","_blank","data-testid","spin-proof-replay-link",1,"spin-proof__open-replay",3,"href"],["type","button","data-testid","spin-proof-copy-replay",1,"spin-proof__text-action",3,"click"],["type","button","data-testid","spin-proof-proof-details-toggle",1,"gw-replay__toggle",3,"click"],["data-testid","spin-proof-proof-details",1,"spin-proof__proof-details"],["class","spin-proof__details-heading",4,"ngIf"],["class","gw-replay__rows","data-testid","spin-proof-checks",4,"ngIf"],["type","button","class","gw-replay__toggle","data-testid","spin-proof-entries-toggle",3,"click",4,"ngIf"],["class","spin-proof__entries","data-testid","spin-proof-entries",4,"ngIf"],["class","spin-proof__members spin-proof__members--detail
1s","data-testid","spin-proof-members",4,"ngIf"],["type","button","class","gw-replay__toggle","data-testid","spin-proof-toggle",3,"click",4,"ngIf"],["class","gw-replay__proof","data-testid","spin-proof-details",4,"ngIf"],[1,"spin-proof__details-heading"],["data-testid","spin-proof-checks",1,"gw-replay__rows"],["class","gw-replay__row",3,"is-ok","is-failed",4,"ngFor","ngForOf"],[1,"gw-replay__row"],["type","button","data-testid","spin-proof-entries-toggle",1,"gw-replay__toggle",3,"click"],["data-testid","spin-proof-entries",1,"spin-proof__entries"],["data-testid","spin-proof-committed-note",1,"gw-replay__note"],["start","0",1,"spin-proof__entry-list"],["class","spin-proof__entry",3,"is-winner",4,"ngFor","ngForOf"],["class","gw-replay__note",4,"ngIf"],[1,"spin-proof__entry"],[1,"spin-proof__entry-index"],[1,"spin-proof__entry-label"],["class","spin-proof__entry-winner",4,"ngIf"],[1,"spin-proof__entry-winner"],[1,"gw-replay__note"],["data-testid","spin-proof-members",1,"spin-proof__members","spin-proof__members--details"],["class","spin-proof__members-heading",4,"ngIf"],["class","spin-proof__member",4,"ngFor","ngForOf"],[1,"spin-proof__members-heading"],[1,"spin-proof__member"],[1,"spin-proof__member-head"],[1,"spin-proof__member-title"],["class","spin-proof__meta-hint",4,"ngIf"],["class","spin-proof__member-facts",4,"ngIf"],["type","button","class","gw-replay__toggle",3,"click",4,"ngIf"],["class","spin-proof__entries spin-proof__entries--member",4,"ngIf"],["type","button",1,"gw-replay__toggle",3,"click"],["class","spin-proof__member-facts spin-proof__member-facts--technical",4,"ngIf"],[1,"spin-proof__member-facts"],[1,"spin-proof__entries","spin-proof__entries--member"],[1,"spin-proof__member-facts","spin-proof__member-facts--technical"],["type","button","data-testid","spin-proof-toggle",1,"gw-replay__toggle",3,"click"],["data-testid","spin-proof-details",1,"gw-replay__proof"],[1,"gw-replay__facts"],[1,"gw-replay__fact"],["data-testid","replay-document-context-note",1,"gw-replay__document-context"]],template:function(a,o){1&a&&(A.NAR(),A.DNE(0,Cl,24,21,"section",4)),2&a&&A.Y8G("ngIf",o.view)},dependencies:[Q.Sq,Q.bT,Q.ux,Q.e1,PA.D9],styles:[".gw-replay[_ngcontent-%COMP%]{max-width:760px;margin:8px auto 16px;padding:16px 18px;border:1px solid #d8dde6;border-radius:12px;background:#fff;color:#1f2733;font-size:14px;line-height:1.5;text-align:left}.gw-replay--expired[_ngcontent-%COMP%], .gw-replay--missing[_ngcontent-%COMP%], .gw-replay--unavailable[_ngcontent-%COMP%]{background:#f8f9fc}.gw-replay__head[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px;margin-bottom:10px}.gw-replay__heading[_ngcontent-%COMP%]{margin:0;font-size:18px;font-weight:700}.gw-replay__title[_ngcontent-%COMP%]{margin:0;color:#55607a}.gw-replay__rows[_ngcontent-%COMP%]{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:4px}.gw-replay__row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.gw-replay__row.is-ok[_ngcontent-%COMP%]   .gw-replay__row-value[_ngcontent-%COMP%]{color:#0f7b3d;font-weight:600}.gw-replay__row.is-failed[_ngcontent-%COMP%]   .gw-replay__row-value[_ngcontent-%COMP%]{color:#a3221f;font-weight:600}.gw-replay__row-name[_ngcontent-%COMP%]{color:#55607a}.gw-replay__retry[_ngcontent-%COMP%]{border:1px solid #c7cede;border-radius:6px;background:#fff;cursor:pointer;font-size:12px;padding:2px 8px}.gw-replay__count[_ngcontent-%COMP%]{margin:6px 0;font-size:16px;font-weight:600}.gw-replay__note[_ngcontent-%COMP%]{margin:6px 0;color:#46506a}.gw-replay__winner[_ngcontent-%COMP%]{margin:10px 0 4px;font-size:16px}.gw-replay__winner-label[_ngcontent-%COMP%], .gw-replay__platform[_ngcontent-%COMP%]{color:#55607a;margin-right:4px}.gw-replay__meta[_ngcontent-%COMP%]{margin:2px 0 8px;color:#6b7488;font-size:13px}.gw-replay__toggle[_ngcontent-%COMP%]{border:1px solid #c7cede;border-radius:8px;background:#f4f6fb;cursor:pointer;font-size:13px;padding:6px 10px}.gw-replay__toggle[_ngcontent-%COMP%]:focus-visible{outline:2px solid #2f6df6;outline-offset:2px}
1.gw-replay__proof[_ngcontent-%COMP%]{margin-top:10px;padding-top:10px;border-top:1px solid #e6e9f0}.gw-replay__facts[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(140px,auto) 1fr;gap:4px 12px;margin:8px 0}.gw-replay__facts[_ngcontent-%COMP%]   dt[_ngcontent-%COMP%]{color:#55607a}.gw-replay__facts[_ngcontent-%COMP%]   dd[_ngcontent-%COMP%]{margin:0;overflow-wrap:anywhere}.gw-replay__mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.gw-replay__limits[_ngcontent-%COMP%]{margin:8px 0 0;padding-left:18px;color:#46506a}.gw-replay__detailed[_ngcontent-%COMP%]{margin-top:10px}.gw-replay__product[_ngcontent-%COMP%]{margin-top:12px}.gw-replay__product[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:0 0 6px;font-size:16px}.gw-replay__product[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0 0 10px;padding-left:18px}.gw-replay__ctas[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}.gw-replay__document-context[_ngcontent-%COMP%]{margin:14px 0 0;padding:12px 0 0;border-top:1px solid #e6e9f0;font-size:13px;line-height:1.45;color:#64748b;overflow-wrap:anywhere}.gw-replay__cta[_ngcontent-%COMP%]{border:1px solid #c7cede;border-radius:8px;padding:6px 12px;text-decoration:none;color:#1f2733}.gw-replay__cta--primary[_ngcontent-%COMP%]{background:#2f6df6;border-color:#2f6df6;color:#fff}.spin-proof--compact[_ngcontent-%COMP%]   .gw-replay__heading[_ngcontent-%COMP%]{font-size:16px;font-weight:700}.spin-proof__status[_ngcontent-%COMP%]{margin:4px 0 0;font-size:15px;font-weight:700;color:#0f7b3d}.spin-proof__status-sep[_ngcontent-%COMP%]{font-weight:600;color:#64748b}.spin-proof__results[_ngcontent-%COMP%]{margin:0 0 14px}.spin-proof__result-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin:0 0 8px}.spin-proof__result-label[_ngcontent-%COMP%]{font-size:.85em;color:#64748b;font-weight:600}.spin-proof__result-value[_ngcontent-%COMP%]{font-size:1.15rem;font-weight:700;color:#0f172a;word-break:break-word}.spin-proof__result-problem[_ngcontent-%COMP%]{color:#a3221f;font-weight:600}.spin-proof__primary-rows[_ngcontent-%COMP%]{list-style:none;margin:0 0 12px;padding:0}.spin-proof__primary-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin:0 0 4px}.spin-proof__primary-kind[_ngcontent-%COMP%]{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.spin-proof__primary-kind[data-kind=ok][_ngcontent-%COMP%]{color:#0f7b3d}.spin-proof__primary-kind[data-kind=pending][_ngcontent-%COMP%]{color:#7a5b12}.spin-proof__primary-kind[data-kind=failed][_ngcontent-%COMP%]{color:#a3221f}.spin-proof__replay-id[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;margin:0 0 10px}.spin-proof__replay-id-value[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;overflow-wrap:anywhere}.spin-proof__open-replay[_ngcontent-%COMP%]{font-weight:600;margin-right:10px}.spin-proof__text-action[_ngcontent-%COMP%]{border:0;background:transparent;color:#334155;text-decoration:underline;cursor:pointer;font-size:13px;padding:0}.spin-proof__text-action[_ngcontent-%COMP%]:focus-visible{outline:2px solid #2f6df6;outline-offset:2px}.spin-proof__proof-details[_ngcontent-%COMP%]{margin:10px 0 12px;padding-top:10px;border-top:1px solid #e6e9f0}.spin-proof__details-heading[_ngcontent-%COMP%]{margin:0 0 8px;font-size:.95rem;font-weight:600}.spin-proof__grouped-summary[_ngcontent-%COMP%]{margin:0 0 12px;padding:10px 12px;border:1px solid #e4e8ef;border-radius:8px;background:#fafbfc}.spin-proof__meta-line[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:6px 10px;margin:0 0 6px;align-items:baseline}.spin-proof__meta-line[_ngcontent-%COMP%]:last-child{margin-bottom:0}.spin-proof__meta-label[_ngcontent-%COMP%]{font-weight:600;color:#334155}.spin-proof__meta-value[_ngcontent-%COMP%]{color:#0f172a;word-break:break-word}.spin-proof__meta-hint[_ngcontent-%COMP%]{flex:1 1 100%;font-size:.85em;color:#64748b}.spin-proof__members[_ngcontent-%COMP%]{margin:0 0 14px}.spin-proof__members-heading[_ngcontent-%COMP%]{margin:0 0 8px;font-size:1rem;font-weight:600}.spin-proof__member[_ngcontent-%COMP%]{margin:0 0 8px;padding:10px 12px;border:1px solid #e4e8ef;border-radius:8px}.spin-proof__member-head[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin:0 0 8px}.spin-proof__member-title[_ngcontent-%COMP%]{font-weight:600}.spin-proof__view-wheel[_ngcontent-%COMP%]{margin-left:auto;border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:6px;padding:4px 10px;font-size:.85rem;cursor:pointer}.spin-proof__view-wheel[_ngcontent-%COMP%]:focus-visible{outline:2px solid #2f6df6;outline-offset:2px}.spin-proof__view-wheel[_ngcontent-%COMP%]:hover{background:#f8fafc}.spin-proof__winner-thumb[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;max-width:48px;max-height:48px;margin-right:8px;border-radius:4px;object-fit:contain}
1.spin-proof__member-name[_ngcontent-%COMP%]{font-weight:500;color:#475569;word-break:break-word}.spin-proof__member-facts[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px 12px;margin:0}.spin-proof__member-facts[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{margin:0}.spin-proof__member-facts[_ngcontent-%COMP%]   dt[_ngcontent-%COMP%]{margin:0;font-size:.8em;color:#64748b}.spin-proof__member-facts[_ngcontent-%COMP%]   dd[_ngcontent-%COMP%]{margin:2px 0 0;word-break:break-word}.spin-proof__link[_ngcontent-%COMP%]{margin:0 0 10px}.spin-proof__entries[_ngcontent-%COMP%]{margin:0 0 12px}.spin-proof__entry-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;max-height:320px;overflow-y:auto;border:1px solid #e4e8ef;border-radius:8px}.spin-proof__entry[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:10px;padding:4px 10px;border-bottom:1px solid #f0f2f6}.spin-proof__entry[_ngcontent-%COMP%]:last-child{border-bottom:0}.spin-proof__entry.is-winner[_ngcontent-%COMP%]{background:#eefaf1;font-weight:600}.spin-proof__entry-index[_ngcontent-%COMP%]{min-width:44px;color:#6b7590;font-variant-numeric:tabular-nums}.spin-proof__entry-label[_ngcontent-%COMP%]{flex:1 1 auto;overflow-wrap:anywhere}.spin-proof__entry-winner[_ngcontent-%COMP%]{color:#0f7b3d;text-transform:uppercase;font-size:11px;letter-spacing:.04em}"],changeDetection:0})}}return t})();const Ie="SpinTheWheel.io",Ve="Verified spin record",rs=["apa7","harvard","vancouver","mla9","chicago"],vl={apa7:"verifiedDraw.recordExport.styleApa7",harvard:"verifiedDraw.recordExport.styleHarvard",vancouver:"verifiedDraw.recordExport.styleVancouver",mla9:"verifiedDraw.recordExport.styleMla9",chicago:"verifiedDraw.recordExport.styleChicago"},Fl=["Jan.","Feb.","Mar.","Apr.","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."],mn=["January","February","March","April","May","June","July","August","September","October","November","December"],is=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Cn=t=>{const c=(t=>"number"!=typeof t||!Number.isFinite(t)||t<=0?null:new Date(t).toISOString().slice(0,10))(t);if(!c)return null;const[e,a,o]=c.split("-").map(Number);return{iso:c,year:String(e),monthIndex:a-1,day:o}},_n=t=>({replayId:t.replayId,replayUrl:t.replayUrl||sn(t.replayId),sealed:Cn(t.sealedAtMs),accessed:Cn(t.accessedAtMs)}),ae=t=>`Replay ID: ${t}`,as={apa7:({replayId:t,replayUrl:c,sealed:e})=>`${Ie}. ${(t=>t?`(${t.year}, ${mn[t.monthIndex]} ${t.day})`:"(n.d.)")(e)}. ${Ve}. ${ae(t)}. ${c}`,harvard:({replayId:t,replayUrl:c,sealed:e,accessed:a})=>`${Ie} ${(t=>t?`(${t.year})`:"(no date)")(e)} ${Ve}. ${ae(t)}. Available at: ${c}${(t=>t?` (Accessed: ${t.day} ${mn[t.monthIndex]} ${t.year})`:"")(a)}.`,vancouver:({replayId:t,replayUrl:c,sealed:e,accessed:a})=>`${Ie}. ${Ve} [Internet].${(t=>t?` ${t.year} ${is[t.monthIndex]} ${t.day}`:"")(e)}${(t=>t?` [cited ${t.year} ${is[t.monthIndex]} ${t.day}]`:"")(a)}. ${ae(t)}. Available from: ${c}`,mla9:({replayId:t,replayUrl:c,sealed:e})=>{const a=(t=>t?`${t.day} ${Fl[t.monthIndex]} ${t.year}`:"")(e);return`"${Ve}." ${a?`${Ie}, ${a}`:Ie}. ${ae(t)}. ${c}`},chicago:({replayId:t,replayUrl:c,sealed:e})=>{const a=(t=>t?`${mn[t.monthIndex]} ${t.day}, ${t.year}`:"")(e);return`${Ie}. "${Ve}." ${a?`${a}. `:""}${ae(t)}. ${c}`}},ls=t=>`SpinTheWheel_${t.replace(/[^A-Za-z0-9_-]/g,"_")}`,Pt=t=>`{${t.replace(/[{}]/g,"")}}`,xe=(t,c)=>`${t}  - ${c}`,Ne="stw-verified-spin-record-print",Rl={environment:"verifiedDraw.recordExport.checks.environment","snapshot-id":"verifiedDraw.recordExport.checks.snapshotId","snapshot-commitment":"verifiedDraw.recordExport.checks.snapshotCommitment","member-metadata":"verifiedDraw.recordExport.checks.memberMetadata","server-seed-commitment":"verifiedDraw.recordExport.checks.serverSeedCommitment","client-seed-commitment":"verifiedDraw.recordExport.checks.clientSeedCommitment",selection:"verifiedDraw.recordExport.checks.selection","winner-label":"verifiedDraw.recordExport.checks.winnerLabel","rendered-winner":"verifiedDraw.recordExport.checks.renderedWinner","legacy-message":"verifiedDraw.recordExport.checks.legacyMessage","legacy-signature":"verifiedDraw.recordExport.checks.legacySignature","envelope-hash":"verifiedDraw.recordExport.checks.envelopeHash","envelope-signature":"verifiedDraw.recordExport.checks.envelopeSignature","seal-receipt-signature":"verifiedDraw.recordExport.checks.sealReceiptSignature"};function Ur(t,c){if(1&t&&(A.j41(0,"span"),A.EFF(1),A.k0s()),2&t){const e=A.XpG().index,a=A.XpG(2);A.R7$(),A.SpI("",a.wheelTitle(e),": ")}}function ds(t,c){if(1&t&&(A.j41(0,"li"),A.DNE(1,Ur,2,1,"span",14),A.j41(2,"span"),A.EFF(3),A.nI1(4,"translate"),A.k0s(),A.EFF(5),A.nI1(6,"translate"),A.k0s()),2&t){const e=c.$implicit,a=A.XpG().ngIf;A.R7$(),A.Y8G("ngIf",a.recordedWinners.length>1),A.R7$(2),A.JRh(A.bMT(4,5,"verifiedDraw.recordExport.winnerLabel")),A.R7$(2),A.E5c(" ",e.label," (",A.bMT(6,7,"verifiedDraw.recordExport.winningIndexLabel")," ",e.index,") ")}}function gs(t,c){if(1&t&&(A.j41(0,"span",17),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t){const e=A.XpG().index,a=A.XpG().index,o=A.XpG().ngIf;A.R7$(),A.Lme(" (",A.bMT(2,2,"verifiedDraw.recordExport.weightLabel")," ",null==o.members[a]||null==o.members[a].scaledWeights?null:o.members[a].scaledWeights[e],") ")}}function ps(t,c){if(1&t&&(A.j41(0,"li"),A.EFF(1),A.DNE(2,gs,3,4,"span",16),A.k0s()),2&t){const e=c.$implicit,a=c.index,o=A.XpG().index,g=A.XpG().ngIf;A.R7$(),A.SpI(" ",e," "),A.R7$(),A.Y8G("ngIf",null!=(null==g.members[o]||null==g.members[o].scaledWeights?null:g.members[o].scaledWeights[a]))}}function Ml(t,c){if(1&t&&(A.j41(0,"section",15)(1,"h2"),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"ol"),A.DNE(5,ps,3,2,"li",9),A.k0s()()),2&t){const e=c.$implicit,a=c.index,o=A.XpG().ngIf,g=A.XpG();A.R7$(2),A.JRh(o.committedEntries.length>1?g.wheelTitle(a):A.bMT(3,2,"verifiedDraw.recordExport.entriesHeading")),A.R7$(3),A.Y8G("ngForOf",e)}}function vn(t,c){if(1&t&&(A.j41(0,"li"),A.EFF(1),A.nI1(2,"translate"),A.nI1(3,"translate"),A.nI1(4,"translate"),A.k0s()),2&t){const e=c.$implicit,a=A.XpG(2);A.R7$(),A.Lme(" ",A.bMT(2,2,a.checkLabelKey(e.id)),": ",e.ok?A.bMT(3,4,"verifiedDraw.recordExport.checkPassed"):A.bMT(4,6,"verifiedDraw.recordExport.checkFailed")," ")}}function us(t,c){1&t&&(A.j41(0,"p"),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,1,"verifiedDraw.recordExport.retentionNoExpiry")," "))}function fs(t,c){if(1&t&&(A.j41(0,"p"),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t){const e=A.XpG().ngIf,a=A.XpG();A.R7$(),A.Lme(" ",A.bMT(2,2,"verifiedDraw.recordExport.retentionExpires"),": ",a.formatTime(e.retention.expiresAtMs)," ")}}function Pl(t,c){if(1&t&&(A.j41(0,"article",1)(1,"h1",2),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"p",3),A.EFF(5),A.nI1(6,"translate"),A.k0s(),A.j41(7,"p",3),A.EFF(8),A.nI1(9,"translate"),A.k0s(),A.j41(10,"p",3),A.EFF(11),A.nI1(12,"translate"),A.k0s(),A.j41(13,"p",3),A.EFF(14),A.nI1(15,"translate"),A.k0s(),A.j41(16,"dl",4)(17,"div")(18,"dt"),A.EFF(19),A.nI1(20,"translate"),A.k0s(),A.j41(21,"dd",5),A.EFF(22),A.nI1(23,"translate"),A.k0s()(),A.j41(24,"div")(25,"dt"),A.EFF(26),A.nI1(27,"translate"),A.k0s(),A.j41(28,"dd",6),A.
1EFF(29),A.k0s()(),A.j41(30,"div")(31,"dt"),A.EFF(32),A.nI1(33,"translate"),A.k0s(),A.j41(34,"dd",7),A.EFF(35),A.k0s()(),A.j41(36,"div")(37,"dt"),A.EFF(38),A.nI1(39,"translate"),A.k0s(),A.j41(40,"dd"),A.EFF(41),A.k0s()(),A.j41(42,"div")(43,"dt"),A.EFF(44),A.nI1(45,"translate"),A.k0s(),A.j41(46,"dd"),A.EFF(47),A.k0s()(),A.j41(48,"div")(49,"dt"),A.EFF(50),A.nI1(51,"translate"),A.k0s(),A.j41(52,"dd"),A.EFF(53),A.k0s()()(),A.j41(54,"section",8)(55,"h2"),A.EFF(56),A.nI1(57,"translate"),A.k0s(),A.j41(58,"ul"),A.DNE(59,ds,7,9,"li",9),A.k0s()(),A.DNE(60,Ml,6,4,"section",10),A.j41(61,"section",11)(62,"h2"),A.EFF(63),A.nI1(64,"translate"),A.k0s(),A.j41(65,"ul",12),A.DNE(66,vn,5,8,"li",9),A.k0s()(),A.j41(67,"section",13)(68,"h2"),A.EFF(69),A.nI1(70,"translate"),A.k0s(),A.j41(71,"dl",4)(72,"div")(73,"dt"),A.EFF(74),A.nI1(75,"translate"),A.k0s(),A.j41(76,"dd"),A.EFF(77),A.k0s()(),A.j41(78,"div")(79,"dt"),A.EFF(80),A.nI1(81,"translate"),A.k0s(),A.j41(82,"dd"),A.EFF(83),A.k0s()(),A.j41(84,"div")(85,"dt"),A.EFF(86),A.nI1(87,"translate"),A.k0s(),A.j41(88,"dd"),A.EFF(89),A.k0s()(),A.j41(90,"div")(91,"dt"),A.EFF(92),A.nI1(93,"translate"),A.k0s(),A.j41(94,"dd"),A.EFF(95),A.k0s()(),A.j41(96,"div")(97,"dt"),A.EFF(98),A.nI1(99,"translate"),A.k0s(),A.j41(100,"dd"),A.EFF(101),A.k0s()()()(),A.j41(102,"section",13)(103,"h2"),A.EFF(104),A.nI1(105,"translate"),A.k0s(),A.DNE(106,us,3,3,"p",14)(107,fs,3,4,"p",14),A.k0s()()),2&t){const e=c.ngIf,a=A.XpG();A.R7$(2),A.SpI(" ",A.bMT(3,37,"verifiedDraw.recordExport.heading")," "),A.R7$(3),A.SpI(" ",A.bMT(6,39,"verifiedDraw.recordExport.archivalNote")," "),A.R7$(3),A.SpI(" ",A.bMT(9,41,"verifiedDraw.recordExport.hostedAvailability")," "),A.R7$(3),A.SpI(" ",A.bMT(12,43,"verifiedDraw.recordExport.deletedMarkerNote")," "),A.R7$(3),A.SpI(" ",A.bMT(15,45,"verifiedDraw.recordExport.checkingNote")," "),A.R7$(5),A.JRh(A.bMT(20,47,"verifiedDraw.recordExport.statusLabel")),A.R7$(3),A.JRh(A.bMT(23,49,a.statusKey(e.verificationStatus))),A.R7$(4),A.JRh(A.bMT(27,51,"verifiedDraw.recordExport.replayIdLabel")),A.R7$(3),A.JRh(e.replayId),A.R7$(3),A.JRh(A.bMT(33,53,"verifiedDraw.recordExport.replayUrlLabel")),A.R7$(3),A.JRh(e.replayUrl),A.R7$(3),A.JRh(A.bMT(39,55,"verifiedDraw.recordExport.committedAtLabel")),A.R7$(3),A.JRh(a.formatTime(e.timestamps.committedAtMs)),A.R7$(3),A.JRh(A.bMT(45,57,"verifiedDraw.recordExport.sealedAtLabel")),A.R7$(3),A.JRh(a.formatTime(e.timestamps.sealedAtMs)),A.R7$(3),A.JRh(A.bMT(51,59,"verifiedDraw.recordExport.algorithmHeading")),A.R7$(3),A.Lme("",e.algorithm," ",e.algorithmVersion,""),A.R7$(3),A.JRh(A.bMT(57,61,"verifiedDraw.recordExport.recordedResultHeading")),A.R7$(3),A.Y8G("ngForOf",e.recordedWinners),A.R7$(),A.Y8G("ngForOf",e.committedEntries),A.R7$(3),A.JRh(A.bMT(64,63,"verifiedDraw.recordExport.checksHeading")),A.R7$(3),A.Y8G("ngForOf",e.verificationChecks),A.R7$(3),A.JRh(A.bMT(70,65,"verifiedDraw.recordExport.cryptographyHeading")),A.R7$(5),A.JRh(A.bMT(75,67,"verifiedDraw.recordExport.commitmentIdLabel")),A.R7$(3),A.JRh(e.commitmentId),A.R7$(3),A.JRh(A.bMT(81,69,"verifiedDraw.recordExport.snapshotIdLabel")),A.R7$(3),A.JRh(e.snapshotId),A.R7$(3),A.JRh(A.bMT(87,71,"verifiedDraw.recordExport.snapshotCommitmentLabel")),A.R7$(3),A.JRh(e.snapshotCommitment),A.R7$(3),A.JRh(A.bMT(93,73,"verifiedDraw.recordExport.proofHashLabel")),A.R7$(3),A.JRh(e.cryptography.proofHash),A.R7$(3),A.JRh(A.bMT(99,75,"verifiedDraw.recordExport.signingKeyIdLabel")),A.R7$(3),A.JRh(e.cryptography.signingKeyId),A.R7$(3),A.JRh(A.bMT(105,77,"verifiedDraw.recordExport.retentionHeading")),A.R7$(2),A.Y8G("ngIf",null===e.retention.expiresAtMs),A.R7$(),A.Y8G("ngIf",null!==e.retention.expiresAtMs)}}let Tl=(()=>{class t{constructor(e){this.translate=e,this.record=null}checkLabelKey(e){return Rl[e]}statusKey(e){return"expired"===e?"verifiedDraw.recordExport.statusExpired":"verifiedDraw.recordExport.statusVerified"}formatTime(e){try{return new Intl.DateTimeFormat(this.translate.currentLang||void 0,{dateStyle:"medium",timeStyle:"medium"}).format(new Date(e))}catch{return String(e)}}wheelTitle(e){return this.translate.instant("verifiedDraw.recordExport.wheelLabel",{number:e+1})}static{this.\u0275fac=function(a){return new(a||t)(A.rXU(PA.c$))}}static{this.\u0275cmp=A.VBU({type:t,selectors:[["app-verified-spin-record-print"]],inputs:{record:"record"},decls:1,vars:1,consts:[["class","verified-spin-record-print","data-testid","verified-spin-record-print",4,"ngIf"],["data-testid","verified-spin-record-print",1,"verified-spin-record-print"],[1,"verified-spin-record-print__heading"],[1,"verified-spin-record-print__note"],[1,"verified-spin-record-print__meta"],["data-testid","verified-spin-print-status"],["data-testid","verified-spin-print-replay-id"],["data-testid","verified-spin-print-replay-url"],["data-testid","verified-spin-print-result",1,"verified-spin-record-print__block","verified-spin-record-print__block--keep"],[4,"ngFor","ngForOf"],["class","verified-spin-record-print__wheel","data-testid","verified-spin-print-wheel",4,"ngFor","ngForOf"],["data-testid","verified-spin-print-checks-section",1,"verified-spin-record-print__checks"],["data-testid","verified-spin-print-checks"],[1,"verified-spin-record-print__block"],[4,"ngIf"],["data-testid","verified-spin-print-wheel",1,"verified-spin-record-print__wheel"],["class","verified-spin-record-print__weight",4,"ngIf"],[1,"verified-spin-record-print__weight"]],template:function(a,o){1&a&&A.DNE(0,Pl,108,79,"article",0),2&a&&A.Y8G("ngIf",o.record)},dependencies:[Q.Sq,Q.bT,PA.D9],styles:[".verified-spin-record-print[_ngcontent-%COMP%]{display:none;color:#111;background:#fff;font-family:Georgia,Times New Roman,serif;max-width:720px;margin:0 auto;padding:24px}.verified-spin-record-print__heading[_ngcontent-%COMP%]{font-size:1.6rem;margin:0 0 12px}.verified-spin-record-print__note[_ngcontent-%COMP%]{font-size:.9rem;line-height:1.4;margin:0 0 8px}.verified-spin-record-print__meta[_ngcontent-%COMP%]{display:grid;gap:8px 16px;margin:16px 0}.verified-spin-record-print__meta[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(8rem,14rem) 1fr;gap:8px;break-inside:avoid;page-break-inside:avoid}.verified-spin-record-print__meta[_ngcontent-%COMP%]   dt[_ngcontent-%COMP%]{font-weight:700}.verified-spin-record-print__meta[_ngcontent-%COMP%]   dd[_ngcontent-%COMP%]{margin:0;word-break:break-word}.verified-spin-record-print__block[_ngcontent-%COMP%], .verified-spin-record-print__block--keep[_ngcontent-%COMP%]{break-inside:avoid;page-break-inside:avoid;margin:16px 0}.verified-spin-record-print__checks[_ngcontent-%COMP%]{margin:16px 0;break-inside:auto;page-break-inside:auto}.verified-spin-record-print__checks[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{break-inside:avoid;page-break-inside:avoid}.verified-spin-record-print__wheel[_ngcontent-%COMP%]{margin:16px 0;break-inside:auto;page-break-inside:auto}.verified-spin-record-print[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.1rem;margin:0 0 8px}.verified-spin-record-print[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%], .verified-spin-record-print[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0;padding-left:1.4rem}.verified-spin-record-print__weight[_ngcontent-%COMP%]{color:#444}@media print{.verified-spin-record-print[_ngcontent-%COMP%]{display:block}}"],changeDetection:0})}}return t})();function hs(t,c){if(1&t&&(A.j41(0,"option",19),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t){const e=c.$implicit,a=A.XpG(2);A.Y8G("value",e),A.R7$(),A.SpI(" ",A.bMT(2,2,a.styleLabelKey(e))," ")}}function it(t,c){if(1&t){const e=A.RV6();A.j41(0,"div",4)(1,"h3",5),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"p",6),A.EFF(5),A.nI1(6,"translate"),A.k0s(),A.j41(7,"div",7)(8,"label",8),A.EFF(9),A.nI1(10,"translate"),A.k0s(),A.j41(11,"div",9)(12,"select",10),A.bIt("change",function(o){A.eBV(e);const g=A.XpG();return A.Njj(g.onCitationStyleChange(o))}
1),A.DNE(13,hs,3,4,"option",11),A.k0s(),A.j41(14,"button",12),A.bIt("click",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.copyCitation())}),A.EFF(15),A.nI1(16,"translate"),A.k0s()()(),A.j41(17,"p",13),A.EFF(18),A.nI1(19,"translate"),A.k0s(),A.j41(20,"div",14)(21,"button",15),A.nI1(22,"translate"),A.bIt("click",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.copyBibtex())}),A.EFF(23),A.nI1(24,"translate"),A.k0s(),A.j41(25,"button",16),A.nI1(26,"translate"),A.bIt("click",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.downloadRis())}),A.EFF(27),A.nI1(28,"translate"),A.k0s()(),A.j41(29,"h3",5),A.EFF(30),A.nI1(31,"translate"),A.k0s(),A.j41(32,"div",14)(33,"button",17),A.bIt("click",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.downloadJson())}),A.EFF(34),A.nI1(35,"translate"),A.k0s(),A.j41(36,"button",18),A.bIt("click",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.printSavePdf())}),A.EFF(37),A.nI1(38,"translate"),A.k0s()()()}if(2&t){const e=A.XpG();A.BMQ("id",e.citePanelId),A.R7$(2),A.SpI(" ",A.bMT(3,15,"verifiedDraw.recordExport.citationGroupLabel")," "),A.R7$(3),A.SpI(" ",A.bMT(6,17,"verifiedDraw.recordExport.citationHelp")," "),A.R7$(4),A.SpI(" ",A.bMT(10,19,"verifiedDraw.recordExport.citationStyleLabel")," "),A.R7$(3),A.Y8G("value",e.citationStyle),A.R7$(),A.Y8G("ngForOf",e.citationStyles),A.R7$(2),A.SpI(" ",A.bMT(16,21,"verifiedDraw.recordExport.copyCitation")," "),A.R7$(3),A.SpI(" ",A.bMT(19,23,"verifiedDraw.recordExport.referenceManagerLabel")," "),A.R7$(3),A.BMQ("aria-label",A.bMT(22,25,"verifiedDraw.recordExport.copyBibtexAria")),A.R7$(2),A.SpI(" ",A.bMT(24,27,"verifiedDraw.recordExport.copyBibtex")," "),A.R7$(2),A.BMQ("aria-label",A.bMT(26,29,"verifiedDraw.recordExport.downloadRisAria")),A.R7$(2),A.SpI(" ",A.bMT(28,31,"verifiedDraw.recordExport.downloadRis")," "),A.R7$(3),A.SpI(" ",A.bMT(31,33,"verifiedDraw.recordExport.recordGroupLabel")," "),A.R7$(4),A.SpI(" ",A.bMT(35,35,"verifiedDraw.recordExport.downloadJson")," "),A.R7$(3),A.SpI(" ",A.bMT(38,37,"verifiedDraw.recordExport.printSavePdf")," ")}}function Ir(t,c){if(1&t&&A.nrm(0,"app-verified-spin-record-print",20),2&t){const e=A.XpG();A.Y8G("record",e.printRecord)}}let Fn=(()=>{class t{constructor(e,a,o,g,C){this.snackBar=e,this.translate=a,this.cd=o,this.title=g,this.document=C,this.verification=null,this.uiStatus=null,this.citationStyles=rs,this.citationStyle="apa7",this.citePanelId="verified-spin-cite-or-export",this.exportExpanded=!1,this.printRecord=null,this.printing=!1,this.afterPrintHandler=null,this.originalDocumentTitle=null,this.printHostHome=null}ngOnDestroy(){this.cleanupPrintState()}styleLabelKey(e){return vl[e]}onCitationStyleChange(e){const a=e.target?.value;a&&(t=>rs.includes(t))(a)&&(this.citationStyle=a)}toggleExport(){this.exportExpanded=!this.exportExpanded}citationAccessTimestampMs(){return Date.now()}copyCitation(){const e=this.currentRecord();e&&this.copyText(((t,c)=>as[t](_n(c)))(this.citationStyle,{replayId:e.replayId,replayUrl:e.replayUrl,sealedAtMs:e.timestamps?.sealedAtMs,accessedAtMs:this.citationAccessTimestampMs()}),"verifiedDraw.recordExport.citationCopied")}copyBibtex(){const e=this.currentRecord();e&&this.copyText((t=>{const{replayId:c,replayUrl:e,sealed:a}=_n(t),o=[`@misc{${ls(c)},`,`  author = {{${Ie}}},`,`  title = ${Pt(Ve)},`];return a?.year&&o.push(`  year = ${Pt(a.year)},`),o.push(`  url = ${Pt(e)},`),o.push(`  note = ${Pt(ae(c))}`),o.push("}"),`${o.join("\n")}\n`})({replayId:e.replayId,replayUrl:e.replayUrl,sealedAtMs:e.timestamps?.sealedAtMs}),"verifiedDraw.recordExport.bibtexCopied")}downloadRis(){const e=this.currentRecord();e&&((t,c,e,a=document)=>{const o=new Blob([t],{type:"application/x-research-info-systems"}),g=URL.createObjectURL(o),C=a.createElement("a");C.href=g,C.download=c,C.rel="noopener",a.body.appendChild(C),C.click(),C.remove(),URL.revokeObjectURL(g)})((t=>{const{replayId:c,replayUrl:e,sealed:a}=_n(t),o=[xe("TY","GEN"),xe("TI",Ve),xe("AU",Ie)];return a?.year&&o.push(xe("PY",a.year)),a?.iso&&o.push(xe("DA",a.iso.replace(/-/g,"/"))),o.push(xe("UR",e)),o.push(xe("N1",ae(c))),o.push(xe("ER","")),`${o.join("\r\n")}\r\n`})({replayId:e.replayId,replayUrl:e.replayUrl,sealedAtMs:e.timestamps?.sealedAtMs}),(t=>`spinthewheel-verified-spin-${t}
1.ris`)(e.replayId),0,this.document)}downloadJson(){const e=this.currentRecord();e&&((t,c=document)=>{const e=new Blob([yi(t)],{type:"application/json"}),a=URL.createObjectURL(e),o=c.createElement("a");o.href=a,o.download=(t=>`${ar(t)}.json`)(t.replayId),o.rel="noopener",c.body.appendChild(o),o.click(),o.remove(),URL.revokeObjectURL(a)})(e,this.document)}printSavePdf(){var e=this;return(0,rA.A)(function*(){const a=e.currentRecord();if(a){e.printRecord=a,e.printing=!0,e.document.documentElement.classList.add(Ne),e.document.body.classList.add(Ne),e.cd.detectChanges(),yield new Promise(t=>{"function"!=typeof requestAnimationFrame?setTimeout(t,0):requestAnimationFrame(()=>requestAnimationFrame(()=>t()))}),e.promotePrintRecordToBody(),e.applyPrintDocumentTitle(a.replayId),e.bindAfterPrintCleanup();try{yield e.document.defaultView?.print()}finally{e.cleanupPrintState()}}})()}currentRecord(){return(t=>{if(!he(t,this.uiStatus)||!t?.proof)return null;const e=t.proof,a=(t=>t.members?.length?t.members.filter(c=>null!==c.winningIndex&&null!==c.winnerLabel).map(c=>({index:c.winningIndex,label:c.winnerLabel})):null!==t.winningIndex&&null!==t.winnerLabel?[{index:t.winningIndex,label:t.winnerLabel}]:[])(t);return{recordType:"spinthewheel-verified-spin-record",exportSchemaVersion:1,replayId:e.replayId,replayUrl:sn(e.replayId),verificationStatus:"expired"===t.verdict?"expired":"verified",proofVersion:e.proofVersion,algorithm:e.algorithm,algorithmVersion:e.algorithmVersion,environment:e.environment,replayType:e.replayType,lifecycleState:e.lifecycleState,timestamps:{committedAtMs:e.committedAtMs,sealedAtMs:e.sealedAtMs},commitmentId:e.commitmentId,snapshotId:e.snapshotId,snapshotCommitment:e.snapshotCommitment,sourceWheelId:e.sourceWheelId,sourceRef:e.sourceRef,weightingMode:e.weightingMode,allowDuplicates:e.allowDuplicates,memberCount:e.memberCount??t.memberCount??1,committedEntries:EA(t),snapshotW:e.w,legacy:{r:e.r,ts:e.ts,src:e.src,sub:e.sub,l:e.l,sig:e.sig,legacyCanonicalHash:e.legacyCanonicalHash},members:(e.members||[]).map(be),recordedWinner:a[0]||null,recordedWinners:a,results:e.results.map(g=>({...g})),cryptography:{serverSeedCommitment:e.serverSeedCommitment,revealedServerSeed:e.revealedServerSeed,clientSeed:e.clientSeed,clientSeedCommitment:e.clientSeedCommitment,proofHash:e.proofHash,proofSignature:e.proofSignature,sealReceiptSignature:e.sealReceiptSignature,signingKeyId:e.signingKeyId},verificationChecks:t.checks.map(g=>({id:g.id,ok:g.ok})),retention:{retentionClass:e.retentionClass,expiresAtMs:e.expiresAtMs}}})(this.verification)}bindAfterPrintCleanup(){const e=this.document.defaultView;e&&(this.unbindAfterPrintCleanup(),this.afterPrintHandler=()=>this.cleanupPrintState(),e.addEventListener("afterprint",this.afterPrintHandler))}unbindAfterPrintCleanup(){const e=this.document.defaultView;e&&this.afterPrintHandler&&e.removeEventListener("afterprint",this.afterPrintHandler),this.afterPrintHandler=null}cleanupPrintState(){this.unbindAfterPrintCleanup(),this.restorePrintHostHome(),this.printing=!1,this.printRecord=null,this.document.documentElement.classList.remove(Ne),this.document.body.classList.remove(Ne),this.restoreDocumentTitle(),this.cd.destroyed?this.document.querySelector("app-verified-spin-record-print")?.remove():this.cd.detectChanges()}promotePrintRecordToBody(){const e=this.document.querySelector("app-verified-spin-record-print");e&&e.parentElement&&e.parentElement!==this.document.body&&(this.printHostHome={parent:e.parentElement,next:e.nextSibling},this.document.body.appendChild(e))}restorePrintHostHome(){const e=this.document.querySelector("app-verified-spin-record-print");e&&this.printHostHome?.parent?.isConnected&&this.printHostHome.parent.insertBefore(e,this.printHostHome.next),this.printHostHome=null}applyPrintDocumentTitle(e){null===this.originalDocumentTitle&&(this.originalDocumentTitle=this.title.getTitle()||this.document.title);const a=ar(e);this.title.setTitle(a),this.document.title=a}restoreDocumentTitle(){null!==this.originalDocumentTitle&&(this.title.setTitle(this.originalDocumentTitle),this.document.title=this.originalDocumentTitle,this.originalDocumentTitle=null)}copyText(e,a){const o=()=>this.snackBar.open(this.translate.instant(a),"",{duration:3e3}),g=this.document.defaultView;g?.navigator?.clipboard?.writeText?g.navigator.clipboard.writeText(e).then(o).catch(()=>this.fallbackCopy(e,o)):this.fallbackCopy(e,o)}fallbackCopy(e,a){const o=this.document.createElement("textarea");o.value=e,o.style.position="fixed",o.style.opacity="0",this.document.body.appendChild(o),o.select();try{this.document.execCommand("copy"),a()}finally{this.document.body.removeChild(o)}}static{this.\u0275fac=function(a){return new(a||t)(A.rXU(tn.UG),A.rXU(PA.c$),A.rXU(A.gRc),A.rXU(Pi.hE),A.rXU(Q.qQ))}}static{this.\u0275cmp=A.VBU({type:t,selectors:[["app-verified-spin-record-actions"]],inputs:{verification:"verification",uiStatus:"uiStatus"},decls:6,vars:7,consts:[["data-testid","verified-spin-record-actions",1,"verified-spin-record-actions"],["type","button","data-testid","verified-spin-cite-or-export-toggle",1,"gw-replay__toggle",3,"click"],["class","verified-spin-record-actions__panel","data-testid","verified-spin-cite-or-export",4,"ngIf"],[3,"re
1cord",4,"ngIf"],["data-testid","verified-spin-cite-or-export",1,"verified-spin-record-actions__panel"],[1,"verified-spin-record-actions__heading"],["data-testid","verified-spin-citation-help",1,"verified-spin-record-actions__help"],[1,"verified-spin-record-actions__citation"],["for","verified-spin-citation-style",1,"verified-spin-record-actions__label"],[1,"verified-spin-record-actions__citation-controls"],["id","verified-spin-citation-style","data-testid","verified-spin-citation-style",1,"verified-spin-record-actions__select",3,"change","value"],[3,"value",4,"ngFor","ngForOf"],["type","button","data-testid","verified-spin-copy-citation",1,"gw-replay__toggle",3,"click"],[1,"verified-spin-record-actions__label"],[1,"verified-spin-record-actions__buttons"],["type","button","data-testid","verified-spin-copy-bibtex",1,"gw-replay__toggle",3,"click"],["type","button","data-testid","verified-spin-download-ris",1,"gw-replay__toggle",3,"click"],["type","button","data-testid","verified-spin-download-json",1,"gw-replay__toggle",3,"click"],["type","button","data-testid","verified-spin-print",1,"gw-replay__toggle",3,"click"],[3,"value"],[3,"record"]],template:function(a,o){1&a&&(A.j41(0,"section",0)(1,"button",1),A.bIt("click",function(){return o.toggleExport()}
1),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.DNE(4,it,39,39,"div",2),A.k0s(),A.DNE(5,Ir,1,1,"app-verified-spin-record-print",3)),2&a&&(A.R7$(),A.BMQ("aria-expanded",o.exportExpanded)("aria-controls",o.citePanelId),A.R7$(),A.SpI(" ",A.bMT(3,5,o.exportExpanded?"verifiedDraw.recordExport.hideCiteOrExport":"verifiedDraw.recordExport.citeOrExport")," "),A.R7$(2),A.Y8G("ngIf",o.exportExpanded),A.R7$(),A.Y8G("ngIf",o.printRecord))},dependencies:[Q.Sq,Q.bT,De.xH,De.y7,Tl,PA.D9],styles:[".gw-replay[_ngcontent-%COMP%]{max-width:760px;margin:8px auto 16px;padding:16px 18px;border:1px solid #d8dde6;border-radius:12px;background:#fff;color:#1f2733;font-size:14px;line-height:1.5;text-align:left}.gw-replay--expired[_ngcontent-%COMP%], .gw-replay--missing[_ngcontent-%COMP%], .gw-replay--unavailable[_ngcontent-%COMP%]{background:#f8f9fc}.gw-replay__head[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px;margin-bottom:10px}.gw-replay__heading[_ngcontent-%COMP%]{margin:0;font-size:18px;font-weight:700}.gw-replay__title[_ngcontent-%COMP%]{margin:0;color:#55607a}.gw-replay__rows[_ngcontent-%COMP%]{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:4px}.gw-replay__row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.gw-replay__row.is-ok[_ngcontent-%COMP%]   .gw-replay__row-value[_ngcontent-%COMP%]{color:#0f7b3d;font-weight:600}.gw-replay__row.is-failed[_ngcontent-%COMP%]   .gw-replay__row-value[_ngcontent-%COMP%]{color:#a3221f;font-weight:600}.gw-replay__row-name[_ngcontent-%COMP%]{color:#55607a}.gw-replay__retry[_ngcontent-%COMP%]{border:1px solid #c7cede;border-radius:6px;background:#fff;cursor:pointer;font-size:12px;padding:2px 8px}.gw-replay__count[_ngcontent-%COMP%]{margin:6px 0;font-size:16px;font-weight:600}.gw-replay__note[_ngcontent-%COMP%]{margin:6px 0;color:#46506a}.gw-replay__winner[_ngcontent-%COMP%]{margin:10px 0 4px;font-size:16px}.gw-replay__winner-label[_ngcontent-%COMP%], .gw-replay__platform[_ngcontent-%COMP%]{color:#55607a;margin-right:4px}.gw-replay__meta[_ngcontent-%COMP%]{margin:2px 0 8px;color:#6b7488;font-size:13px}.gw-replay__toggle[_ngcontent-%COMP%]{border:1px solid #c7cede;border-radius:8px;background:#f4f6fb;cursor:pointer;font-size:13px;padding:6px 10px}.gw-replay__toggle[_ngcontent-%COMP%]:focus-visible{outline:2px solid #2f6df6;outline-offset:2px}
1.gw-replay__proof[_ngcontent-%COMP%]{margin-top:10px;padding-top:10px;border-top:1px solid #e6e9f0}.gw-replay__facts[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(140px,auto) 1fr;gap:4px 12px;margin:8px 0}.gw-replay__facts[_ngcontent-%COMP%]   dt[_ngcontent-%COMP%]{color:#55607a}.gw-replay__facts[_ngcontent-%COMP%]   dd[_ngcontent-%COMP%]{margin:0;overflow-wrap:anywhere}.gw-replay__mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.gw-replay__limits[_ngcontent-%COMP%]{margin:8px 0 0;padding-left:18px;color:#46506a}.gw-replay__detailed[_ngcontent-%COMP%]{margin-top:10px}.gw-replay__product[_ngcontent-%COMP%]{margin-top:12px}.gw-replay__product[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:0 0 6px;font-size:16px}.gw-replay__product[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0 0 10px;padding-left:18px}.gw-replay__ctas[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}.gw-replay__document-context[_ngcontent-%COMP%]{margin:14px 0 0;padding:12px 0 0;border-top:1px solid #e6e9f0;font-size:13px;line-height:1.45;color:#64748b;overflow-wrap:anywhere}.gw-replay__cta[_ngcontent-%COMP%]{border:1px solid #c7cede;border-radius:8px;padding:6px 12px;text-decoration:none;color:#1f2733}.gw-replay__cta--primary[_ngcontent-%COMP%]{background:#2f6df6;border-color:#2f6df6;color:#fff}.verified-spin-record-actions[_ngcontent-%COMP%]{margin-top:16px;padding-top:12px;border-top:1px solid #e4e8ef}.verified-spin-record-actions__heading[_ngcontent-%COMP%]{margin:12px 0 8px;font-size:1rem;font-weight:600}.verified-spin-record-actions__panel[_ngcontent-%COMP%]{margin-top:10px}.verified-spin-record-actions__help[_ngcontent-%COMP%]{margin:0 0 10px;color:#55607a;font-size:13px;line-height:1.45}.verified-spin-record-actions__label[_ngcontent-%COMP%]{display:block;margin:0 0 4px;color:#55607a;font-size:13px}.verified-spin-record-actions__citation[_ngcontent-%COMP%]{margin-bottom:12px}.verified-spin-record-actions__citation-controls[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.verified-spin-record-actions__select[_ngcontent-%COMP%]{max-width:100%;min-height:32px;padding:6px 10px;border:1px solid #c7cede;border-radius:8px;background:#f4f6fb;color:inherit;font-size:13px}.verified-spin-record-actions__buttons[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.verified-spin-record-actions__buttons[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}"],changeDetection:0})}}return t})();var Dl=m(397),Bs=m(3109),Hl=m(2210),Ol=m(7045),Tt=m(6519),xr=m(5824),Sr=m(1928),Er=m(3705),We=m(1831),Rr=m(2595),ws=m(3498),kl=m(9315),Qn=m(9037),bn=m(2385);const ms=t=>({count:t});let Cs=(()=>{class t{constructor(e,a,o,g){this.replayService=e,this.proofFocus=a,this.translate=o,this.cd=g,this.destroy$=new ge.B,this.proofStatus="idle"}ngOnInit(){this.proofFocus.status$.pipe((0,q.Q)(this.destroy$)).subscribe(e=>{this.proofStatus=e,this.cd.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}get entrantCount(){return this.replayService.giveaway?.entrantCount??null}get entrantCountLabel(){const e=this.entrantCount;if("number"!=typeof e||!Number.isFinite(e))return this.translate.instant("streamerGiveaways.replay.entries.countUnavailable");const a=this.translate.currentLang||this.translate.defaultLang||"en-UK";try{return new Intl.NumberFormat(`${a}-u-nu-latn`).format(e)}catch{return e.toLocaleString()}}get proofLabel(){switch(this.proofStatus){case"valid":return this.translate.instant("streamerGiveaways.replay.page.proofVerified");case"invalid":return this.translate.instant("streamerGiveaways.replay.page.proofInvalid");case"unavailable":return this.translate.instant("streamerGiveaways.replay.page.proofUnavailable");default:return this.translate.instant("streamerGiveaways.replay.page.proofChecking")}}showProof(){this.proofFocus.requestProofFocus()}static{this.\u0275fac=function(a){return new(a||t)(A.rXU(Ft.N),A.rXU(Oi),A.rXU(PA.c$),A.rXU(A.gRc))}}static{this.\u0275cmp=A.VBU({type:t,selectors:[["app-giveaway-entries-summary"]],decls:24,vars:23,consts:[["data-testid","giveaway-entries-summary",1,"gw-entries"],["dir","auto",1,"gw-entries__count"],["dir","auto",1,"gw-entries__note"],[1,"gw-entries__facts"],["dir","auto"],["data-testid","entries-total"],["data-testid","entries-proof-status"],["type","button","data-testid","entries-proof-action",1,"gw-entries__action",3,"click"]],template:function(a,o){1&a&&(A.j41(0,"section",0)(1,"h3",1),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"p",2),A.EFF(5),A.nI1(6,"translate"),A.k0s(),A.j41(7,"p",2),A.EFF(8),A.nI1(9,"translate"),A.k0s(),A.j41(10,"dl",3)(11,"dt",4),A.EFF(12),A.nI1(13,"translate"),A.k0s(),A.j41(14,"dd",5),A.EFF(15),A.k0s(),A.j41(16,"dt",4),A.EFF(17),A.nI1(18,"translate"),A.k0s(),A.j41(19,"dd",6),A.
1EFF(20),A.k0s()(),A.j41(21,"button",7),A.bIt("click",function(){return o.showProof()}),A.EFF(22),A.nI1(23,"translate"),A.k0s()()),2&a&&(A.R7$(2),A.SpI(" ",A.i5U(3,8,"streamerGiveaways.replay.entries.heading",A.eq3(21,ms,o.entrantCountLabel))," "),A.R7$(3),A.JRh(A.bMT(6,11,"streamerGiveaways.replay.entries.hiddenNote")),A.R7$(3),A.JRh(A.bMT(9,13,"streamerGiveaways.replay.entries.frozenNote")),A.R7$(4),A.JRh(A.bMT(13,15,"streamerGiveaways.replay.entries.totalEntrants")),A.R7$(3),A.JRh(o.entrantCountLabel),A.R7$(2),A.JRh(A.bMT(18,17,"streamerGiveaways.replay.entries.drawProof")),A.R7$(3),A.JRh(o.proofLabel),A.R7$(2),A.SpI(" ",A.bMT(23,19,"streamerGiveaways.replay.entries.seeWinner")," "))},dependencies:[ki.ig,PA.D9],styles:[".gw-entries[_ngcontent-%COMP%]{padding:14px 16px;border:1px solid #d8dde6;border-radius:12px;background:#fff;color:#1f2733;font-size:14px;line-height:1.5;text-align:left}.gw-entries__count[_ngcontent-%COMP%]{margin:0 0 8px;font-size:18px;font-weight:700}.gw-entries__note[_ngcontent-%COMP%]{margin:0 0 8px;color:#55607a}.gw-entries__facts[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:12px 0}.gw-entries__facts[_ngcontent-%COMP%]   dt[_ngcontent-%COMP%]{color:#55607a}.gw-entries__facts[_ngcontent-%COMP%]   dd[_ngcontent-%COMP%]{margin:0;font-weight:600}.gw-entries__action[_ngcontent-%COMP%]{display:inline-block;padding:8px 14px;border:1px solid #2b6cb0;border-radius:8px;background:#2b6cb0;color:#fff;font:inherit;font-weight:600;cursor:pointer}.gw-entries__action[_ngcontent-%COMP%]:hover{background:#245b95}.gw-entries__action[_ngcontent-%COMP%]:focus-visible{outline:3px solid #9fd2ff;outline-offset:2px}"],changeDetection:0})}}return t})();const Ll=["buttons"],_s=["entries"],ys=["settingsBtn"],Gl=["addImageMenuTrigger"],Kl=["centreSizeMenuTrigger"],KA=()=>[],vs=t=>({hubSize:t});function IA(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",29),A.nI1(1,"translate"),A.bIt("click",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.changeTab(o.WheelTab.Edit))}),A.j41(2,"span",30),A.nrm(3,"i",31),A.k0s()()}if(2&t){const e=A.XpG();A.AVh("active",e.currentTab===e.WheelTab.Edit),A.FS9("matTooltip",A.bMT(1,3,"tooltips.Edit_Entries"))}}function Xe(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",32),A.nI1(1,"translate"),A.bIt("click",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.deleteWheelDialog())}),A.j41(2,"span"),A.nrm(3,"i",33),A.k0s()()}if(2&t){const e=A.XpG();A.AVh("replay-locked",e.isReplay),A.FS9("matTooltip",A.bMT(1,3,"tooltips.Delete_Wheel"))}}function st(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",34),A.nI1(1,"translate"),A.bIt("click",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.addWheel())}),A.j41(2,"span",35),A.nrm(3,"div",36)(4,"div",37),A.k0s()()}if(2&t){const e=A.XpG();A.AVh("replay-locked",e.isReplay),A.FS9("matTooltip",A.bMT(1,4,"tooltips.Add_Wheel")),A.Y8G("disabled",e.isSpinning)}}function Se(t,c){1&t&&(A.j41(0,"div",39),A.nrm(1,"app-giveaway-entries-summary"),A.k0s())}function Ee(t,c){1&t&&A.nrm(0,"span",104)}function Dt(t,c){if(1&t){const e=A.RV6();A.j41(0,"div",105),A.bIt("click",function(){A.eBV(e);const o=A.XpG(3);return A.Njj(o.openCustomizationModal())}),A.nrm(1,"span",106),A.EFF(2),A.nI1(3,"translate"),A.k0s()}if(2&t){const e=A.XpG(3);A.xc7("top",e.nudgeTop,"px")("left",e.nudgeLeft,"px"),A.AVh("nudge-above",e.nudgeAbove),A.R7$(2),A.SpI(" \u2728 ",A.bMT(3,7,"app.Sounds, effects & more")," ")}}function we(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",107),A.bIt("mouseenter",function(){const o=A.eBV(e).$implicit,g=A.XpG(3);return A.Njj(g.previewCentreHubSize(o))})("focus",function(){const o=A.eBV(e).$implicit,g=A.XpG(3);return A.Njj(g.previewCentreHubSize(o))})("click",function(){const o=A.eBV(e).$implicit,g=A.XpG(3);return A.Njj(g.onCentreHubSizeClick(o))}),A.EFF(1),A.k0s()}if(2&t){const e=c.$implicit;A.XpG();const a=A.sdS(101),o=A.XpG(2);A.AVh("add-image-menu__size--current",e===o.currentHubSize),A.Y8G("matMenuTriggerFor",o.hasExistingCentreImage?null:a)("matMenuTriggerData",A.eq3(7,vs,e)),A.BMQ("name","centreHubSize-"+e)("aria-current",e===o.currentHubSize?"true":null),A.R7$(),A.SpI(" ",e," ")}}function Fs(t,c){if(1&t){const e=A.RV6();A.qex(0),A.j41(1,"button",108),A.bIt("click",function(){A.eBV(e);const o=A.XpG(3);return A.Njj(o.openCentreImageGallery(o.displayedCentreHubSize))}),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"button",109),A.bIt("click",function(){A.eBV(e),A.XpG();const o=A.sdS(106),g=A.XpG(2);return g.prepareCentreUpload(g.displayedCentreHubSize),A.Njj(o.click())}
1),A.EFF(5),A.nI1(6,"translate"),A.k0s(),A.bVm()}2&t&&(A.R7$(2),A.SpI(" ",A.bMT(3,2,"textboxbuttons.Search gallery")," "),A.R7$(3),A.SpI(" ",A.bMT(6,4,"common.Upload image")," "))}function Qs(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",108),A.bIt("click",function(){const o=A.eBV(e).hubSize,g=A.XpG(3);return A.Njj(g.openCentreImageGallery(o))}),A.EFF(1),A.nI1(2,"translate"),A.k0s(),A.j41(3,"button",109),A.bIt("click",function(){const o=A.eBV(e).hubSize;A.XpG();const g=A.sdS(106);return A.XpG(2).prepareCentreUpload(o),A.Njj(g.click())}),A.EFF(4),A.nI1(5,"translate"),A.k0s()}2&t&&(A.R7$(),A.SpI(" ",A.bMT(2,2,"textboxbuttons.Search gallery")," "),A.R7$(3),A.SpI(" ",A.bMT(5,4,"common.Upload image")," "))}function bs(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",110)(1,"span",51),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.nrm(4,"i",111),A.j41(5,"input",112),A.bIt("change",function(o){A.eBV(e);const g=A.XpG(3);return A.Njj(g.uploadedCSV(o,g.index))}),A.k0s()()}if(2&t){const e=A.XpG(3);A.AVh("replay-locked",e.isReplay),A.R7$(2),A.JRh(A.bMT(3,3,"CSV"))}}function Mr(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",113),A.nI1(1,"translate"),A.bIt("click",function(){A.eBV(e);const o=A.XpG(3);return A.Njj(o.handleInsertMusicSheetClick())}),A.nrm(2,"i",114),A.k0s()}if(2&t){const e=A.XpG(3);A.AVh("replay-locked",e.isReplay),A.FS9("matTooltip",A.bMT(1,3,"tooltips.InsertMusicSheet"))}}function Ht(t,c){1&t&&(A.j41(0,"p",117),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.JRh(A.bMT(2,1,"textbox.text")))}function Us(t,c){if(1&t){const e=A.RV6();A.qex(0),A.j41(1,"app-entries-form",115),A.bIt("click",function(){A.eBV(e);const o=A.XpG(3);return A.Njj(o.clearDefaultEntries())})("userTyped",function(){A.eBV(e);const o=A.XpG(3);return A.Njj(o.onEntriesTyped())}),A.k0s(),A.DNE(2,Ht,3,3,"p",116),A.bVm()}if(2&t){const e=A.XpG(3);A.R7$(),A.Y8G("wheelIndex",e.index)("events",e.eventsSubject),A.R7$(),A.Y8G("ngIf",e.showEntriesInformation&&!e.hideEntriesInformation)}}function Is(t,c){if(1&t&&A.nrm(0,"app-entries-weighting-form",118),2&t){const e=A.XpG(3);A.Y8G("wheelIndex",e.index)("isReactionEffectsEnabled",null==e.wheelData||null==e.wheelData.config?null:e.wheelData.config.isReactionEffectsEnabled)("isWeightingEnabled",null==e.wheelData||null==e.wheelData.config?null:e.wheelData.config.isWeightingEnabled)}}function Un(t,c){if(1&t&&(A.j41(0,"div",119)(1,"span"),A.EFF(2),A.nI1(3,"translate"),A.k0s()()),2&t){const e=A.XpG(3);A.R7$(2),A.Lme("",A.bMT(3,2,"textboxbuttons.Entries"),": ",null==((null==e.wheelData?null:e.wheelData.values)||A.lJ4(4,KA))?null:((null==e.wheelData?null:e.wheelData.values)||A.lJ4(5,KA)).length,"")}}function Vl(t,c){if(1&t){const e=A.RV6();A.j41(0,"div",39)(1,"header",40,1)(3,"button",41),A.nI1(4,"translate"),A.bIt("click",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.shuffle())}),A.nrm(5,"i",42),A.k0s(),A.j41(6,"button",43),A.nI1(7,"translate"),A.bIt("click",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.sortValues())}),A.nrm(8,"i",44),A.k0s(),A.j41(9,"div",45)(10,"button",46,2),A.bIt("click",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.openCustomizationModal())}),A.nrm(12,"img",47),A.DNE(13,Ee,1,0,"span",48),A.k0s()(),A.DNE(14,Dt,4,9,"div",49),A.j41(15,"button",50,3),A.nI1(17,"translate"),A.j41(18,"span",51),A.EFF(19),A.nI1(20,"translate"),A.k0s(),A.nrm(21,"i",52),A.k0s(),A.j41(22,"mat-menu",53,4)(24,"button",54),A.qSk(),A.j41(25,"svg",55),A.nrm(26,"path",56)(27,"path",57)(28,"path",58)(29,"path",59)(30,"path",60)(31,"path",61)(32,"circle",62),A.j41(33,"g",63),A.nrm(34,"rect",64)(35,"circle",65)(36,"path",66),A.k0s()(),A.joV(),A.j41(37,"span"),A.EFF(38),A.nI1(39,"translate"),A.k0s()(),A.j41(40,"button",67,5),A.qSk(),A.j41(42,"svg",68),A.nrm(43,"path",69)(44,"path",57)(45,"path",58)(46,"path",59)(47,"path",60)(48,"path",61)(49,"circle",70),A.j41(50,"g",71),A.nrm(51,"rect",64)(52,"circle",65)(53,"path",66),A.k0s()(),A.joV(),A.j41(54,"span"),A.EFF(55),A.nI1(56,"translate"),A.k0s()(),A.j41(57,"button",72),A.nI1(58,"translate"),A.bIt("click",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.openPageDesign())}),A.qSk(),A.j41(59,"svg",73)(60,"defs")(61,"clipPath",74),A.nrm(62,"rect",75),A.k0s()(),A.nrm(63,"rect",76),A.j41(64,"g",77)(65,"g",78),A.nrm(66,"rect",79)(67,"circle",65)(68,"path",66),A.k0s()(),A.j41(69,"g",80),A.nrm(70,"path",81)(71,"path",82)(72,"path",83)(73,"path",84)(74,"path",85)(75,"path",86),A.k0s(),A.nrm(76,"rect",87),A.k0s(),A.joV(),A.j41(77,"span",88),A.EFF(78),A.nI1(79,"translate"),A.j41(80,"span",89),A.EFF(81),A.nI1(82,"translate"),A.k0s(),A.EFF(83),A.nI1(84,"translate"),A.k0s()()(),A.j41(85,"mat-menu",null,6)(87,"button",90),A.bIt("click",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.openUnsplashDialog())}),A.EFF(88),A.nI1(89,"translate"),A.k0s(),A.j41(90,"button",91),A.bIt("click",function(){A.eBV(e);const o=A.sdS(104);return A.Njj(o.click())}
1),A.EFF(91),A.nI1(92,"translate"),A.k0s()(),A.j41(93,"mat-menu",92,7),A.bIt("closed",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.clearCentreHubPreview())}),A.j41(95,"button",93),A.EFF(96),A.nI1(97,"translate"),A.k0s(),A.DNE(98,we,2,9,"button",94)(99,Fs,7,6,"ng-container",95),A.k0s(),A.j41(100,"mat-menu",null,8),A.DNE(102,Qs,6,6,"ng-template",96),A.k0s(),A.j41(103,"input",97,9),A.bIt("change",function(o){A.eBV(e);const g=A.XpG(2);return A.Njj(g.uploadedImage(o))}),A.k0s(),A.j41(105,"input",98,10),A.bIt("change",function(o){A.eBV(e);const g=A.XpG(2);return A.Njj(g.uploadedCentreImage(o))}),A.k0s(),A.DNE(107,bs,6,5,"button",99)(108,Mr,3,5,"button",100),A.k0s(),A.j41(109,"div",101,11),A.DNE(111,Us,3,3,"ng-container",102),A.k0s(),A.j41(112,"div"),A.DNE(113,Is,1,3,"ng-template",null,12,A.C5r),A.k0s(),A.DNE(115,Un,4,6,"div",103),A.k0s()}if(2&t){const e=A.sdS(2),a=A.sdS(23),o=A.sdS(86),g=A.sdS(94),C=A.sdS(114),F=A.XpG(2);A.R7$(3),A.AVh("replay-locked",F.isReplay),A.FS9("matTooltip",A.bMT(4,42,"tooltips.Shuffle_entries")),A.R7$(3),A.AVh("replay-locked",F.isReplay),A.FS9("matTooltip",A.bMT(7,44,"tooltips.Sort_entries")),A.R7$(4),A.AVh("wheel-settings-flash",F.flashWheelSettingsIcon)("replay-locked",F.isReplay),A.Y8G("matTooltip",F.wheelSettingsTooltip),A.R7$(3),A.Y8G("ngIf",F.showSettingsDot),A.R7$(),A.Y8G("ngIf",F.showSettingsNudge),A.R7$(),A.AVh("replay-locked",F.isReplay),A.FS9("matTooltip",A.bMT(17,46,"tooltips.Add_an_image")),A.Y8G("matMenuTriggerFor",a),A.R7$(4),A.JRh(A.bMT(20,48,"textboxbuttons.Add image")),A.R7$(5),A.Y8G("matMenuTriggerFor",o),A.R7$(14),A.JRh(A.bMT(39,50,"textboxbuttons.Add image as entry")),A.R7$(2),A.Y8G("matMenuTriggerFor",g),A.R7$(9),A.BMQ("r",F.centreDiagramHubRadius),A.R7$(),A.BMQ("transform",F.centreDiagramGlyphTransform),A.R7$(5),A.JRh(A.bMT(56,52,"textboxbuttons.Add centre image")),A.R7$(2),A.BMQ("aria-label",A.bMT(58,54,"textboxbuttons.BackgroundInDesignHint")),A.R7$(21),A.SpI(" ",A.bMT(79,56,"textboxbuttons.BackgroundInDesignHintBefore"),""),A.R7$(3),A.JRh(A.bMT(82,58,"optionsdialog.Design")),A.R7$(2),A.SpI("",A.bMT(84,60,"textboxbuttons.BackgroundInDesignHintAfter")," "),A.R7$(5),A.SpI(" ",A.bMT(89,62,"textboxbuttons.Search gallery")," "),A.R7$(3),A.SpI(" ",A.bMT(92,64,"common.Upload image")," "),A.R7$(5),A.SpI(" ",A.bMT(97,66,"optionsdialog.Image size")," "),A.R7$(2),A.Y8G("ngForOf",F.centreHubSizes),A.R7$(),A.Y8G("ngIf",F.hasExistingCentreImage),A.R7$(8),A.Y8G("ngIf",F.isCSV&&F.isAdminLoggedIn),A.R7$(),A.Y8G("ngIf",null==F.wheelData||null==F.wheelData.config?null:F.wheelData.config.isMusicXMLEnabled),A.R7$(),A.xc7("width",e.clientWidth,"px")("max-width",e.clientWidth,"px"),A.R7$(2),A.Y8G("ngIf",!(null!=F.wheelData&&null!=F.wheelData.config&&F.wheelData.config.isWeightingEnabled||null!=F.wheelData&&null!=F.wheelData.config&&F.wheelData.config.isReactionEffectsEnabled))("ngIfElse",C),A.R7$(4),A.Y8G("ngIf",null==((null==F.wheelData?null:F.wheelData.values)||A.lJ4(68,KA))?null:((null==F.wheelData?null:F.wheelData.values)||A.lJ4(69,KA)).length)}}function Nl(t,c){if(1&t&&(A.qex(0),A.DNE(1,Se,2,0,"div",38)(2,Vl,116,70,"ng-template",null,0,A.C5r),A.bVm()),2&t){const e=A.sdS(3),a=A.XpG();A.R7$(),A.Y8G("ngIf",a.isMaskedGiveawayReplay)("ngIfElse",e)}}function Wl(t,c){if(1&t&&(A.j41(0,"p"),A.nrm(1,"span",127),A.k0s()),2&t){const e=c.$implicit;A.R7$(),A.Y8G("innerHTML",(null==e||null==e.value?null:e.value.value)||(null==e?null:e.value)||e,A.npT)}}function Xl(t,c){if(1&t){const e=A.RV6();A.qex(0),A.j41(1,"div",120)(2,"div",121,13)(4,"button",122),A.nI1(5,"translate"),A.bIt("click",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.sortWinners())}),A.nrm(6,"i",44),A.EFF(7),A.nI1(8,"translate"),A.k0s(),A.j41(9,"button",123),A.nI1(10,"translate"),A.bIt("click",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.clearWinnerList())}),A.nrm(11,"i",124),A.EFF(12),A.nI1(13,"translate"),A.k0s()(),A.j41(14,"div",125,14),A.DNE(16,Wl,2,1,"p",126),A.k0s()(),A.bVm()}if(2&t){const e=A.sdS(3),a=A.XpG();A.R7$(4),A.AVh("replay-locked",a.isReplay),A.FS9("matTooltip",A.bMT(5,13,"tooltips.Sort_results")),A.R7$(3),A.SpI("",A.bMT(8,15,"textboxbuttons.Sort")," "),A.R7$(2),A.AVh("replay-locked",a.isReplay),A.FS9("matTooltip",A.bMT(10,17,"tooltips.Delete_results")),A.R7$(3),A.SpI("",A.bMT(13,19,"textboxbuttons.Clear the list")," "),A.R7$(2),A.xc7("width",e.clientWidth,"px")("max-width",e.clientWidth,"px"),A.R7$(2),A.Y8G("ngForOf",(null==a.wheelData?null:a.wheelData.winners)||A.lJ4(21,KA))}}var at=function(t){return t[t.Edit=0]="Edit",t[t.Results=1]="Results",t[t.Hide=2]="Hide",t}(at||{});let Pr=(()=>{class t{emitEventToChild(e,a){this.eventsSubject.next([e,a]),this.showEntriesInformation=!1}static{this.SETTINGS_OPENED_KEY="stw_settings_opened"}constructor(e,a,o,g,C,F,G,M,AA,bA,yA,BA,UA){this.dialog=e,this.gaService=a,this.wheelStateService=o,this.wheelDefaultService=g,this.spinnerService=C,this.changeDetectorRef=F,this.authService=G,this.router=M,this.lazyLoadingService=AA,this.countryService=bA,this.translate=yA,this.snackBar=BA,this.replayService=UA,this.destroy$=new ge.B,this.eventsSubject=ne
1w ge.B,this.WheelTab=at,this.currentTab=at.Edit,this.customizeModalComponent=null,this.flashWheelSettingsIcon=!1,this.showSettingsDot=!1,this.showSettingsNudge=!1,this.nudgeTop=0,this.nudgeLeft=0,this.nudgeAbove=!1,this.hasFlashedWheelSettingsIcon=!1,this.hasSpun=!1,this.hasShownNudge=!1,this.hasInitialisedTab=!1,this.settingsNudgeTimeout=null,this.wheelSettingsFlashTimeout=null,this.wheelSettingsFlashResetTimeout=null,this.showAddWheel=!1,this.showDeleteWheel=!1,this.isEditMode=!0,this.pendingCentreHubSize=null,this.previewedCentreHubSize=null}get isSpinning(){return this.spinnerService.isSpinning$.value}get isReplay(){return this.replayService.isReplay}get isMaskedGiveawayReplay(){return this.replayService.isMaskedGiveawayWheel}blockIfReplay(){return!!this.replayService.isReplay&&(this.snackBar.open(this.translate.instant("replay.functionNotAvailable"),"",{duration:3e3}),!0)}get wheelSettingsTooltip(){return this.translate.instant("tooltips.Wheel_settings")}ngOnChanges(e){e.index&&this.wheelOnChangeSubscription&&this.getWheelDataOnChanges(),e.isShared&&this.isShared&&this.checkIsShared()}ngOnInit(){this.lazyLoadingService.loadLazyCustomizeModalComponent().then(e=>{this.customizeModalComponent=e}),this.isAdminLoggedIn=this.authService.user$.value?.isAdmin,this.wheelData||(this.wheelData=new ie.Q),this.isAdmin=this.authService.isAdmin,this.replayService.isReplay&&(this.currentTab=at.Hide),this.setShowEntriesInformation(),this.initSettingsDot()}ngAfterViewChecked(){this.setEntriesFieldSize()}ngAfterViewInit(){this.checkIsShared(),this.getWheelDataOnChanges(),this.onHideEntriesInformation()}setEntriesFieldSize(e=0){if(this.firstDivRef&&this.secondDivRef){const a=this.firstDivRef.nativeElement.clientWidth,g=this.firstDivRef.nativeElement.closest(".tabs__wrapper")?.clientWidth??a,C=Math.min(a,g);this.secondDivRef.nativeElement.style.width=`${C+e}px`,this.secondDivRef.nativeElement.style.maxWidth=`${C+e}px`}}setShowEntriesInformation(){const e=this.wheelStateService.table$.value,a=e?.wheels?.[this.index]?.values,o=JSON.stringify(a)===JSON.stringify(fe.vK.blankValues)||this.countryService.languagesCodes.some(g=>JSON.stringify(a)===JSON.stringify((0,QA.gH)(g)));this.showEntriesInformation=JSON.stringify(this.wheelDefaultService.defaultTable$.value)===JSON.stringify(e)||o&&(new Date).getTime()-this.loadedComponentTime>0,this.wheelStateService.onRestoreToDefault.pipe((0,q.Q)(this.destroy$)).subscribe(()=>{this.hideEntriesInformation=!1,this.showEntriesInformation=!0}),this.changeDetectorRef.detectChanges()}uploadedCSV(e,a){if(this.blockIfReplay())return;let o=e.target.files[0];if(o){const g=new FileReader;g.readAsText(o),(0,Hl.R)(g,"load").subscribe(()=>{this.emitEventToChild(g.result.toString().split("\r\n").filter(C=>""!=C),a)})}}initSettingsDot(){if(0===this.index)try{localStorage.getItem(t.SETTINGS_OPENED_KEY)||(this.showSettingsDot=!0,this.changeDetectorRef.detectChanges())}catch{}}markSettingsOpened(){try{localStorage.setItem(t.SETTINGS_OPENED_KEY,"1")}
1catch{}this.showSettingsDot=!1,this.dismissSettingsNudge(),this.changeDetectorRef.detectChanges()}dismissSettingsNudge(){this.settingsNudgeTimeout&&(clearTimeout(this.settingsNudgeTimeout),this.settingsNudgeTimeout=null),this.showSettingsNudge=!1}computeNudgePosition(){const e=this.settingsBtnRef?.nativeElement??document.querySelector('[name="openCustomization"]');if(!e)return!1;const a=e.getBoundingClientRect();return 0!==a.width&&(this.nudgeLeft=a.left+a.width/2,this.nudgeAbove=a.bottom>.55*window.innerHeight,this.nudgeTop=this.nudgeAbove?a.top-8:a.bottom+8,!0)}onHideEntriesInformation(){this.spinnerService.isSpinning().pipe((0,q.Q)(this.destroy$)).subscribe(e=>{if(this.changeDetectorRef.detectChanges(),e&&(this.hasSpun=!0),this.hasSpun&&!e&&this.showSettingsDot&&!this.hasShownNudge&&0===this.index){if(this.hasShownNudge=!0,!this.computeNudgePosition())return;this.showSettingsNudge=!0,this.changeDetectorRef.detectChanges(),this.settingsNudgeTimeout=setTimeout(()=>{this.showSettingsNudge=!1,this.changeDetectorRef.detectChanges()},5e3)}this.hideEntriesInformation||(e&&(this.hideEntriesInformation=!0),this.changeDetectorRef.detectChanges())})}getToolTipValue(e){return e}checkIsShared(){this.isEditMode&&this.isEditTabActiveOnInit||this.isShared&&this.changeTab(at.Hide)}openCustomizationModal(){this.blockIfReplay()||(this.markSettingsOpened(),this.dialog.open(this.customizeModalComponent,{data:{index:this.index},panelClass:"wheel-settings-dialog-panel",width:"700px",maxWidth:"90vw",maxHeight:"85vh"}))}openPageDesign(){this.blockIfReplay()||this.customizeModalComponent&&this.dialog.open(this.customizeModalComponent,{data:{customizeType:Dl.Q.CommonDesign,designIntent:"pageBackgroun
1dImage"},width:"700px",maxWidth:"90vw",maxHeight:"85vh"})}onEntriesTyped(){this.hasFlashedWheelSettingsIcon||this.wheelSettingsFlashTimeout||this.flashWheelSettingsIcon||(this.wheelSettingsFlashTimeout=setTimeout(()=>{this.wheelSettingsFlashTimeout=null,this.hasFlashedWheelSettingsIcon=!0,this.flashWheelSettingsIcon=!0,this.changeDetectorRef.detectChanges(),this.wheelSettingsFlashResetTimeout=setTimeout(()=>{this.flashWheelSettingsIcon=!1,this.changeDetectorRef.detectChanges()},1800)},2500))}handleInsertMusicSheetClick(){this.blockIfReplay()||this.dialog.open(ws.J,{width:"500px"}).afterClosed().pipe((0,Ol.s)(1),(0,qe.p)(Boolean)).subscribe(e=>{this.clearDefaultEntries(),e.style.maxHeight="100px";const a=e.outerHTML;this.wheelData.values.push(a),(this.wheelData.config.isWeightingEnabled||this.wheelData.config.isReactionEffectsEnabled)&&(this.wheelData.weightEntries||(this.wheelData.weightEntries=[]),this.wheelData.weightEntries.push({weight:1,value:a})),this.wheelStateService.setWheelDataByIndex(this.index,this.wheelData),this.changeDetectorRef.detectChanges()})}getWheelDataOnChanges(){this.wheelOnChangeSubscription&&this.wheelOnChangeSubscription.unsubscribe(),this.hasInitialisedTab=!1,this.wheelOnChangeSubscription=this.wheelStateService.getWheelByIndex(this.index).pipe((0,q.Q)(this.destroy$),(0,oi.c)(0)).subscribe(e=>{if(!e||JSON.stringify(e)===JSON.stringify(this.prevWheelData))return;e.config.isWeightingEnabled&&(this.showEntriesInformation=!1),this.wheelData=e,this.prevWheelData=OA()(e),this.hasInitialisedTab||(this.hasInitialisedTab=!0,this.replayService.isReplay?this.currentTab=at.Hide:!this.isShared&&void 0!==e.activeTab&&(this.currentTab=e.activeTab));const a=new yt.i(vt.M.WheelEntries,"Change Entries");this.gaService.track(a),this.changeDetectorRef.detectChanges()})}shuffle(){if(this.blockIfReplay())return;let e=this.wheelData.values;const a=this.wheelData.weightEntries;a?.length&&this.wheelData.config.isWeightingEnabled&&(this.wheelData.values=e=a.map(o=>o.value));for(let o=e.length-1;o>0;o--){const g=Math.floor(Math.random()*(o+1));[e[o],e[g]]=[e[g],e[o]],a?.length&&([a[o],a[g]]=[a[g],a[o]])}this.wheelStateService.setWheelDataByIndex(this.index,this.wheelData),this.changeDetectorRef.detectChanges()}sort(e){(this.wheelData[e]||[]).sort((a,o)=>(a="string"==typeof a?a:(0,Er.X)(a.value),o="string"==typeof o?o:(0,Er.X)(o.value),(a||"").localeCompare(o||"",void 0,{numeric:!0,sensitivity:"base"}))),this.changeDetectorRef.detectChanges()}sortValues(){if(this.blockIfReplay())return;let e=this.wheelData.values;const a=this.wheelData.weightEntries;a?.length&&this.wheelData.config.isWeightingEnabled&&(this.wheelData.values=e=a.map(o=>o.value)),this.sort("values"),this.sort("weightEntries"),this.wheelStateService.setWheelDataByIndex(this.index,this.wheelData),this.changeDetectorRef.detectChanges()}sortWinners(){this.blockIfReplay()||(this.sort("winners"),this.wheelStateService.setWheelDataByIndex(this.index,this.wheelData),this.changeDetectorRef.detectChanges())}clearWinnerList(){this.blockIfReplay()||(this.wheelData.winners=[],this.wheelStateService.setWheelDataByIndex(this.index,this.wheelData),this.changeDetectorRef.detectChanges())}addWheel(){this.blockIfReplay()||(this.wheelStateService.addWheel(),this.scrollToWheel())}scrollToWheel(){setTimeout(()=>{const e=document.getElementById("last-wheel");window.innerWidth>600?e.scrollIntoView({behavior:"smooth",block:"end"}):e.lastChild.scrollIntoView({behavior:"smooth",block:"end"}),this.changeDetectorRef.detectChanges()},0)}changeTab(e){this.currentTab=e,this.wheelData&&!this.isShared&&(this.wheelData.activeTab=e),this.changeDetectorRef.detectChanges()}deleteWheelDialog(){this.blockIfReplay()||(this.wheelData.values.length?(this.dialog.open(xr.X,{width:"500px",autoFocus:!1}).afterClosed().pipe((0,q.Q)(this.destroy$)).subscribe(a=>{a&&this.wheelStateService.deleteWheel(this.index),this.changeDetectorRef.detectChanges()}),this.changeDetectorRef.detectChanges()):this.wheelStateService.deleteWheel(this.index))}uploadedImage(e){if(this.blockIfReplay())return e.target.value="",Promise.resolve();const a=e.target.files?.[0];return e.target.value="",a?(0,We.sZ)(a).then(o=>(0,We.Ne)(o)).then(o=>{this.clearDefaultEntries();const g=(0,We._9)(o);this.wheelData.values.push(g),this.wheelData.weightEntries?.push({weight:1,value:g}),this.wheelStateService.setWheelDataByIndex(this.index,this.wheelData),this.changeDetectorRef.detectChanges()}).catch(o=>(0,Rr._X)(this.snackBar,g=>this.translate.instant(g),o)):Promise.resolve()}openUnsplashDialog(){this.blockIfReplay()||this.dialog.open(Tt.a,{data:{type:Sr.d.LowQualityLink},...Tt.G}).afterClosed().pipe((0,mt.$)()).subscribe(a=>{if(a){this.clearDefaultEntries();const o=`<img src="${a.url}" style="height:25px" style="font-size: 1rem;" alt="${a.author}authorUrl=${a.authorUrl}">`;this.wheelData.values.push(o),this.wheelData.weightEntries?.push({weight:1,value:o}),this.wheelStateService.setWheelDataByIndex(this.index,this.wheelData)}this.changeDetectorRef.detectChanges()})}openCentreImageGallery(e){this.blockIfReplay()||this.dialog.open(Tt.a,{data:{galleryPictureText:this.wheelData?.config?.galleryPictureText,galleryPictureUrl:this.wheelData?.config?.galleryPictureUrl,type:Sr.d.LowQualityBase64,optimizedCenterImage:!0},...Tt.G}).afterClosed().pipe((0,mt.$)()).subscribe(o=>{o&&e&&this.applyCentreImage({hubSize:e,pictureType:ke.Z.FromGallery,galleryPictureText:o.text,galleryPictureUrl:o.galleryPictureDataUri,galleryPictureAuthor:o.author,galleryPictureAuthorUrl:o.authorUrl})})}prepareCentreUpload(e){this.pendingCentreHubSize=e}get centreHubSizes(){return fe.vK.hubSizes}get currentHubSize(){return this.wheelData?.config?.hubSize||fe.vK.hubSize}static{this.CENTRE_DIAGRAM_WHEEL_RADIUS=17}get displayedCentreHubSize(){return this.previewedCentreHubSize??this.currentHubSize}get centreDiagramHubRadius(){return(Number(Bs.e[this.displayedCentreHubSize])||Number(Bs.e.S))*t.CENTRE_DIAGRAM_WHEEL_RADIUS}get centreDiagramGlyphTransform(){const a=Math.max(.22,1.55*this.centreDiagramHubRadius/11),g=26-5*a;return`translate(${(26-6*a).toFixed(2)}, ${g.toFixed(2)}) scale(${a.toFixed(3)})`}get hasExistingCentreImage(){const e=this.wheelData?.config;return!!e&&(e.pictureType===ke.Z.FromGallery?"string"==typeof e.galleryPictureUrl&&/^(https?:\/\/|data:image\/)/i.test(e.galleryPictureUrl.trim()):e.pictureType===ke.Z.UploadImage&&"string"==typeof e.customPictureDataUri&&/^data:image\//i.test(e.customPictureDataUri.trim()))}previewCentreHubSize(e){this.previewedCentreHubSize=e,this.changeDetectorRef.markForCheck()}clearCentreHubPreview(){this.previewedCentreHubSize=null,this.changeDetectorRef.markForCheck()}onCentreHubSizeClick(e){this.previewCentreHubSize(e),this.hasExistingCentreImage&&(this.blockIfReplay()||(this.applyCentreImage({hubSize:e}),this.closeAddImageMenus()))}closeAddImageMenus(){this.centreSizeMenuTrigger?.closeMenu(),this.addImageMenuTrigger?.closeMenu(),this.clearCentreHubPreview()}uploadedCentreImage(e){const a=this.pendingCentreHubSize;if(this.pendingCentreHubSize=null,this.blockIfReplay())return e.target.value="",Promise.resolve();const o=e.target.files?.[0];return e.target.value="",o&&a?(0,We.sZ)(o).then(g=>(0,We.e4)(g)).then(g=>{this.applyCentreImage({hubSize:a,pictureType:ke.Z.UploadImage,customPictureDataUri:g,customPictureName:o.name})}).catch(g=>(0,Rr._X)(this.snackBar,C=>this.translate.instant(C),g)):Promise.resolve()}applyCentreImage(e){this.wheelStateService.setConfigByIndex(this.index,e),this.changeDetectorRef.detectChanges()}editWheel(){this.isAdminLoggedIn&&window.open(`/profile/wheels/${this.wheelStateService.table$.value.id}/edit`,"_blank")}clearDefaultEntries(){this.replayService.isReplay||this.showEntriesInformation&&(this.wheelData.values=[],this.wheelStateService.setWheelDataByIndex(this.index,this.wheelData),this.showEntriesInformation=!1,this.changeDetectorRef.detectChanges())}ngOnDestroy(){this.wheelSettingsFlashTimeout&&clearTimeout(this.wheelSettingsFlashTimeout),this.wheelSettingsFlashResetTimeout&&clearTimeout(this.wheelSettingsFlashResetTimeout),this.settingsNudgeTimeout&&clearTimeout(this.settingsNudgeTimeout),this.destroy$.next(!0),this.destroy$.complete(),this.destroy$.unsubscribe()}static{this.\u0275fac=function(a){return new(a||t)(A.rXU(L.bZ),A.rXU(hi.b),A.rXU(jn.u),A.rXU(zn.g),A.rXU(er.D),A.rXU(A.gRc),A.rXU(Ct.u),A.rXU(wt.Ix),A.rXU(kl.y),A.rXU(Ti.o),A.rXU(PA.c$),A.rXU(tn.UG),A.rXU(Ft.N))}}static{this.\u0275cmp=A.VBU({type:t,selectors:[["app-sidebar"]],viewQuery:function(a,o){if(1&a&&(A.GBs(Ll,5),A.GBs(_s,5),A.GBs(ys,5),A.GBs(Gl,5),A.GBs(Kl,5)),2&a){let g;A.mGM(g=A.lsd())&&(o.firstDivRef=g.first),A.mGM(g=A.lsd())&&(o.secondDivRef=g.first),A.mGM(g=A.lsd())&&(o.settingsBtnRef=g.first),A.mGM(g=A.lsd())&&(o.addImageMenuTrigger=g.first),A.mGM(g=A.lsd())&&(o.centreSizeMenuTrigger=g.first)}},inputs:{index:"index",showAddWheel:"showAddWheel",showDeleteWheel:"showDeleteWheel",isShared:"isShared",isEditMode:"isEditMode",isEditTabActiveOnInit:"isEditTabActiveOnInit",loadedComponentTime:"loadedComponentTime",isCSV:"isCSV"},features:[A.OA$],decls:17,vars:22,consts:[["editableEntries",""],["buttons",""],["settingsBtn",""],["addImageMenuTrigger","matMenuTrigger"],["addImageMenu","matMenu"],["centreSizeMenuTrigger","matMenuTrigger"],["entryImageMenu","matMenu"],["centreImageMenu","matMenu"],["centreSourceMenu","matMenu"],["entryFileInput",""],["centreFileInput",""],["entries",""],["weightingForm",""],["resultsButtons",""],["results",""],[1,"sidebar"],[1,"tabs__wrapper"],[1,"tabs__labels"],["class","tab-label icon-button","matTooltipPosition","above","aria-label","Edit entr
1ies","matRipple","",3,"active","matTooltip","click",4,"ngIf"],["matRipple","","matTooltipPosition","above","aria-label","Results",1,"tab-label",3,"click","matTooltip"],[1,"button-text"],["matBadgeSize","small","matBadgeOverlap","false",1,"icon_checklist",3,"matBadge","matBadgeHidden"],["matTooltipPosition","above","aria-label","Hide entries","matRipple","",1,"tab-label","icon-button",3,"click","dblclick","matTooltip"],[1,"hide-tab","button-text"],[1,"icon_eye"],["class","tab-label","matTooltipPosition","above","aria-label","Delete wheel",3,"replay-locked","matTooltip","click",4,"ngIf"],["class","tab-label tab-label-action","aria-label","Add wheel",3,"disabled","replay-locked","matTooltip","click",4,"ngIf"],[1,"tabs__content",3,"ngSwitch"],[4,"ngSwitchCase"],["matTooltipPosition","above","aria-label","Edit entries","matRipple","",1,"tab-label","icon-button",3,"click","matTooltip"],[1,"icon-button","icon-button"],[1,"icon","fas","fa-pencil-alt","fa-lg"],["matTooltipPosition","above","aria-label","Delete wheel",1,"tab-label",3,"click","matTooltip"],[1,"fas","fa-trash"],["aria-label","Add wheel",1,"tab-label","tab-label-action",3,"click","disabled","matTooltip"],[1,"sidebar_action__add-wheel"],[1,"icon_add"],[1,"icon_wheel"],["class","sidebar__entries",4,"ngIf","ngIfElse"],[1,"sidebar__entries"],[1,"actions"],["name","shuffle","mat-raised-button","","aria-label","Shuffle entries",1,"icon-btn",3,"click","matTooltip"],[1,"fas","fa-random","me-2"],["name","sortValues","mat-raised-button","","aria-label","Sort entries",1,"icon-btn",3,"click","matTooltip"],[1,"fas","fa-sort-alpha-up","me-2"],[1,"wheel-settings-wrapper"],["name","openCustomization","mat-raised-button","","aria-label","Wheel settings",1,"icon-btn",3,"click","matTooltip"],["src","assets/icons/svg/design-settings-icon.svg","alt","wheel-settings-icon",1,"wheel-settings-icon"],["class","settings-pulse-dot",4,"ngIf"],["class","settings-nudge",3,"nudge-above","top","left","click",4,"ngIf"],["name","addImage","mat-raised-button","",1,"icon-btn",3,"matMenuTriggerFor","matTooltip"],[2,"margin-right","4px"],[1,"far","fa-image","me-2"],[1,"add-image-menu"],["mat-menu-item","","name","addImageAsEntry",1,"add-image-menu__destination",3,"matMenuTriggerFor"],["viewBox","0 0 52 52","aria-hidden","true","focusable","false",1,"add-image-diagram","add-image-diagram--entry"],["fill","#e3f2fd","stroke","#90caf9","stroke-width","0.7","d","M26 26 L26.00 9.00 A17 17 0 0 1 40.72 17.50 Z",1,"add-image-diagram__wedge","add-image-diagram__wedge--target"],["fill","#d5dbe3","stroke","#9aa3ad","stroke-width","0.6","d","M26 26 L40.72 17.50 A17 17 0 0 1 40.72 34.50 Z",1,"add-image-diagram__wedge"],["fill","#d5dbe3","stroke","#9aa3ad","stroke-width","0.6","d","M26 26 L40.72 34.50 A17 17 0 0 1 26.00 43.00 Z",1,"add-image-diagram__wedge"],["fill","#d5dbe3","stroke","#9aa3ad","stroke-width","0.6","d","M26 26 L26.00 43.00 A17 17 0 0 1 11.28 34.50 Z",1,"add-image-diagram__wedge"],["fill","#d5dbe3","stroke","#9aa3ad","stroke-width","0.6","d","M26 26 L11.28 34.50 A17 17 0 0 1 11.28 17.50 Z",1,"add-image-diagram__wedge"],["fill","#d5dbe3","stroke","#9aa3ad","stroke-width","0.6","d","M26 26 L11.28 17.50 A17 17 0 0 1 26.00 9.00 Z",1,"add-image-diagram__wedge"],["cx","26","cy","26","r","5.5","fill","#f5f7fa","stroke","#90a4ae","stroke-width","0.8",1,"add-image-diagram__hub"],["transform","translate(25.2, 13.2)",1,"add-image-diagram__image-glyph"],["x","0.5","y","0.5","width","11","height","9","rx","1.4","fill","#fff","stroke","#1565c0","stroke-width","0.9"],["cx","3.6","cy","3.3","r","1.15","fill","#42a5f5"],["d","M1.1 8.4 L4.4 5.2 L6.4 7 L8.6 4.8 L10.9 8.4 Z","fill","#1565c0"],["mat-menu-item","","name","addCentreImage",1,"add-image-menu__destination",3,"matMenuTriggerFor"],["viewBox","0 0 52 52","aria-hidden","true","focusable","false",1,"add-image-diagram","add-image-diagram--centre"],["fill","#d5dbe3","stroke","#9aa3ad","stroke-width","0.6","d","M26 26 L26.00 9.00 A17 17 0 0 1 40.72 17.50 Z",1,"add-image-diagram__wedge"],["cx","26","cy","26","fill","#e3f2fd","stroke","#1565c0","stroke-width","1",1,"add-image-diagram__hub"],[1,"add-image-diagram__image-glyph"],["mat-menu-item","","name","openPageDesign",1,"add-image-menu__design-hint",3,"click"],["viewBox","0 0 52 52","aria-hidden","true","focusable","false",1,"add-image-diagram","add-image-diagram--background"],["id","add-image-bg-frame-clip"],["x","1.5","y","1.5","width","49","height","49","rx","4"],["x","1.5","y","1.5","width","49","height","49","rx","4","fill","#fff",1,"add-image-diagram__page"],["clip-path","url(#add-image-bg-frame-clip)"],["transform","translate(-12.4, -15.0
1) scale(6.4)",1,"add-image-diagram__image-glyph"],["x","0.5","y","0.5","width","11","height","9","rx","1.4","fill","#fff"],[1,"add-image-diagram__ring"],["fill","#eceff1","stroke","#607d8b","stroke-width","0.55","d","M26.00 14.50 A14.5 14.5 0 0 1 38.56 21.75 L31.89 25.60 A6.8 6.8 0 0 0 26.00 22.20 Z",1,"add-image-diagram__wedge"],["fill","#d5dbe3","stroke","#607d8b","stroke-width","0.55","d","M38.56 21.75 A14.5 14.5 0 0 1 38.56 36.25 L31.89 32.40 A6.8 6.8 0 0 0 31.89 25.60 Z",1,"add-image-diagram__wedge"],["fill","#eceff1","stroke","#607d8b","stroke-width","0.55","d","M38.56 36.25 A14.5 14.5 0 0 1 26.00 43.50 L26.00 35.80 A6.8 6.8 0 0 0 31.89 32.40 Z",1,"add-image-diagram__wedge"],["fill","#d5dbe3","stroke","#607d8b","stroke-width","0.55","d","M26.00 43.50 A14.5 14.5 0 0 1 13.44 36.25 L20.11 32.40 A6.8 6.8 0 0 0 26.00 35.80 Z",1,"add-image-diagram__wedge"],["fill","#eceff1","stroke","#607d8b","stroke-width","0.55","d","M13.44 36.25 A14.5 14.5 0 0 1 13.44 21.75 L20.11 25.60 A6.8 6.8 0 0 0 20.11 32.40 Z",1,"add-image-diagram__wedge"],["fill","#d5dbe3","stroke","#607d8b","stroke-width","0.55","d","M13.44 21.75 A14.5 14.5 0 0 1 26.00 14.50 L26.00 22.20 A6.8 6.8 0 0 0 20.11 25.60 Z",1,"add-image-diagram__wedge"],["x","1.5","y","1.5","width","49","height","49","rx","4","fill","none","stroke","#1565c0","stroke-width","1.1"],[1,"add-image-menu__design-hint-text"],[1,"add-image-menu__design-link"],["mat-menu-item","","name","searchGallery",3,"click"],["mat-menu-item","","name","uploadImage",3,"click"],[1,"add-image-size-menu",3,"closed"],["mat-menu-item","","disabled","",1,"add-image-menu__size-header"],["mat-menu-item","","class","add-image-menu__size",3,"add-image-menu__size--current","matMenuTriggerFor","matMenuTriggerData","mouseenter","focus","click",4,"ngFor","ngForOf"],[4,"ngIf"],["matMenuContent",""],["hidden","","name","myFile","type","file","accept","image/*",3,"change"],["hidden","","name","centreFile","type","file","accept","image/*",3,"change"],["name","addCsv","mat-raised-button","","class","sidebar_add-image-btn",3,"replay-locked",4,"ngIf"],["mat-raised-button","","class","icon-btn","aria-label","Insert music sheet",3,"replay-locked","matTooltip","click",4,"ngIf"],[1,"relative-container"],[4,"ngIf","ngIfElse"],["class","entries-amount",4,"ngIf"],[1,"settings-pulse-dot"],[1,"settings-nudge",3,"click"],[1,"settings-nudge__arrow"],["mat-menu-item","",1,"add-image-menu__size",3,"mouseenter","focus","click","matMenuTriggerFor","matMenuTriggerData"],["mat-menu-item","","name","centreSearchGallery",3,"click"],["mat-menu-item","","name","centreUploadImage",3,"click"],["name","addCsv","mat-raised-button","",1,"sidebar_add-image-btn"],[1,"far","fa-file","me-2"],["name","csv","type","file","accept",".csv",3,"change"],["mat-raised-button","","aria-label","Insert music sheet",1,"icon-btn",3,"click","matTooltip"],[1,"fas","fa-music"],[3,"click","userTyped","wheelIndex","events"],["class","entries-information",4,"ngIf"],[1,"entries-information"],[3,"wheelIndex","isReactionEffectsEnabled","isWeightingEnabled"],[1,"entries-amount"],[1,"sidebar__results"],[1,"buttons"],["name","sortWinners","mat-raised-button","",3,"click","matTooltip"],["name","clearWinnerList","mat-raised-button","",3,"click","matTooltip"],[1,"fas","fa-times","me-2"],[1,"textarea"],[4,"ngFor","ngForOf"],[3,"innerHTML"]],template:function(a,o){1&a&&(A.j41(0,"div",15)(1,"div",16)(2,"div",17),A.DNE(3,IA,4,5,"button",18),A.j41(4,"button",19),A.nI1(5,"translate"),A.bIt("click",function(){return o.changeTab(o.WheelTab.Results)}),A.j41(6,"span",20),A.nrm(7,"i",21),A.k0s()(),A.j41(8,"button",22),A.nI1(9,"translate"),A.bIt("click",function(){return o.changeTab(o.WheelTab.Hide)})("dblclick",function(){return o.editWheel()}),A.j41(10,"span",23),A.nrm(11,"div",24),A.k0s()(),A.DNE(12,Xe,4,5,"button",25)(13,st,5,6,"button",26),A.k0s(),A.j41(14,"div",27),A.DNE(15,Nl,4,2,"ng-container",28)(16,Xl,17,22,"ng-container",28),A.k0s()()()),2&a&&(A.R7$(3),A.Y8G("ngIf",o.isEditMode),A.R7$(),A.AVh("active",o.currentTab===o.WheelTab.Results),A.FS9("matTooltip",A.bMT(5,14,"tooltips.Results")),A.R7$(3),A.Y8G("matBadge",(null==((null==o.wheelData?null:o.wheelData.winners)||A.lJ4(18,KA))?null:((null==o.wheelData?null:o.wheelData.winners)||A.lJ4(19,KA)).length)||0)("matBadgeHidden",!(null!=((null==o.wheelData?null:o.wheelData.winners)||A.lJ4(20,KA))&&((null==o.wheelData?null:o.wheelData.winners)||A.lJ4(21,KA)).length)),A.R7$(),A.AVh("active",o.currentTab===o.WheelTab.Hide),A.FS9("matTooltip",A.bMT(9,16,"tooltips.Hide")),A.R7$(4),A.Y8G("ngIf",o.showDeleteWheel&&o.isEditMode),A.R7$(),A.Y8G("ngIf",o.showAddWheel&&o.isEditMode),A.R7$(),A.Y8G("ngSwitch",o.currentTab),A.R7$(),A.Y8G("ngSwitchCase",o.WheelTab.Edit),A.R7$(),A.Y8G("ngSwitchCase",o.WheelTab.Results))},dependencies:[Q.Sq,Q.bT,Q.ux,Q.e1,h.$z,Qn.O,bn.i,oA.oV,pA.k,J.r6,tA.kk,tA.fb,tA.Cp,tA.z8,Cs,PA.D9],styles:['.replay-locked[_ngcontent-%COMP%]{opacity:.45}.dark-mode[_ngcontent-%COMP%]   .sidebar[_ngcontent-%COMP%]{background:green}.sidebar-block[_ngcontent-%COMP%]   .sidebar[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{background-color:green;justify-content:space-between}.sidebar[_ngcontent-%COMP%]{margin:auto auto auto 10px}@media screen and (max-width: 960px){.sidebar[_ngcontent-%COMP%]{margin:0 0 0 auto;width:100%;display:flex;flex-direction:column;align-items:center;padding:0 10px;box-sizing:border-box}}.sidebar[_ngcontent-%COMP%]   .tabs__labels[_ngcontent-%COMP%]{display:flex;min-width:300px}@media screen and (max-width: 960px){.sidebar[_ngcontent-%COMP%]   .tabs__labels[_ngcontent-%COMP%]{max-width:100%}}.sidebar[_ngcontent-%COMP%]   .tabs__content[_ngcontent-%COMP%]{width:fit-content;min-width:300px}.sidebar[_ngcontent-%COMP%]   .tabs__wrapper[_ngcontent-%COMP%]{width:fit-content;margin:auto}@media screen and (max-width: 960px){.sidebar[_ngcontent-%COMP%]   .tabs__wrapper[_ngcontent-%COMP%]{margin:0;min-width:300px;max-width:100%}}.sidebar[_ngcontent-%COMP%]   .icon_eye[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;background:url(hide.554b12190b7b7347.png) no-repeat center;background-size:cover}.sidebar[_ngcontent-%COMP%]   .icon_checklist[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;background:url(checklist.44e4ca0a73285e84.png) no-repeat center;background-size:cover}.sidebar[_ngcontent-%COMP%]   .icon_add[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;background:url(add.657e75d45a01d0ac.png) no-repeat center;background-color:#fff;border-radius:5px;background-size:cover}.sidebar[_ngcontent-%COMP%]   .icon_wheel[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;background:url(ms-icon-144x144_rotated.6f144c09a95f4a4b.webp) no-repeat center;background-color:#fff;border-radius:5px;background-size:cover}.sidebar[_ngcontent-%COMP%]   .mat-badge-small.mat-badge-above[_ngcontent-%COMP%]   .mat-badge-content[_ngcontent-%COMP%]{top:-3px}.sidebar[_ngcontent-%COMP%]   .button-text[_ngcontent-%COMP%]{padding:2px;display:block;display:flex;justify-content:center;align-content:center}.sidebar[_ngcontent-%COMP%]   .icon-button[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;height:100%}.sidebar[_ngcontent-%COMP%]   .tab-label[_ngcontent-%COMP%]{border:none;outline:none;font:500 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;color:#000000de;padding:0;cursor:pointer;overflow:hidden;min-width:0;width:100%;background:#fff;height:32px;opacity:1}.sidebar[_ngcontent-%COMP%]   .tab-label[_ngcontent-%COMP%]:not(.tab-label-action){border-bottom:2px solid transparent}.sidebar[_ngcontent-%COMP%]   .tab-label.active[_ngcontent-%COMP%]{border-color:#37474f}.sidebar[_ngcontent-%COMP%]   .tab-label[_ngcontent-%COMP%]:first-child{border-radius:8px 0 0}.sidebar[_ngcontent-%COMP%]   .tab-label[_ngcontent-%COMP%]:last-child{border-radius:0 8px 0 0}.sidebar[_ngcontent-%COMP%]   .tab-label[_ngcontent-%COMP%]:disabled{filter:grayscale(100%);opacity:.7}.sidebar__entries[_ngcontent-%COMP%]{width:fit-content}.sidebar__entries[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]{display:inline-block;max-height:380px;overflow:auto}.sidebar__entries[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]     img{height:25px}.sidebar__entries[_ngcontent-%COMP%]   .icon-btn[_ngcontent-%COMP%]{min-width:0;padding:0 12px;
1height:28px;display:flex;align-items:center}.sidebar__entries[_ngcontent-%COMP%]   .entries-amount[_ngcontent-%COMP%]{text-align:right;padding:5px 0}@media screen and (max-width: 960px){.sidebar__entries[_ngcontent-%COMP%]   .entries-amount[_ngcontent-%COMP%]{margin-right:30px}}.sidebar__entries[_ngcontent-%COMP%]   .entries-amount[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{background-color:#5072a7;border-radius:15px;font-size:12px;color:#fff;padding:5px}.sidebar__results[_ngcontent-%COMP%]{display:flex;flex-direction:column}.sidebar__results[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around}.sidebar__results[_ngcontent-%COMP%]   .icon-btn[_ngcontent-%COMP%], .sidebar__entries[_ngcontent-%COMP%]   .icon-btn[_ngcontent-%COMP%]{min-width:0;padding:0 12px;height:28px;display:flex;align-items:center}.sidebar__results[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%], .sidebar__entries[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]{width:100%;height:380px;overflow-wrap:break-word;box-sizing:border-box;background-color:#ffffff7e;border-color:#dbdbdb;border-radius:4px;color:#363636;line-height:1.8;font-size:16px;font-family:Roboto,sans-serif;padding:1rem;outline:none;display:inline-block;max-height:380px;overflow:auto}.sidebar__results[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .sidebar__entries[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background-color:#d7dadd;font-weight:400;height:28px;display:flex;align-items:center;margin:5px 5px 5px 0}.sidebar__results[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   i[_ngcontent-%COMP%], .sidebar__entries[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{display:inline-block;margin-right:5px}.sidebar__results[_ngcontent-%COMP%]{overflow-y:auto;display:flex;flex-wrap:wrap}.sidebar__results[_ngcontent-%COMP%]     img{height:25px}.sidebar_add-image-btn[_ngcontent-%COMP%]{position:relative;cursor:pointer}.sidebar_add-image-btn[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{opacity:0;position:absolute;inset:0;width:100%;cursor:pointer}.sidebar_pencil-icon[_ngcontent-%COMP%]{transform:rotateY(-180deg)}.sidebar[_ngcontent-%COMP%]   .hide-tab[_ngcontent-%COMP%]{pointer-events:auto}.sidebar_action[_ngcontent-%COMP%]{position:relative}.sidebar_action[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0}.sidebar_action__add-wheel[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:5px;height:100%;line-height:32px;transition:.2s;background-size:150% auto;color:red;animation:_ngcontent-%COMP%_bg-animation 2s ease-out 3;text-shadow:1px 2px 3px #4a4a4a}.sidebar_action__add-wheel[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{text-shadow:1px 2px 3px #4a4a4a}.sidebar_action__add-wheel[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:#000;stroke:#000}.sidebar_action__add-wheel[_ngcontent-%COMP%]:hover{background-position:right center}.sidebar[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;width:fit-content;min-width:350px;max-width:100%}.sidebar[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   .wheel-settings-icon[_ngcontent-%COMP%]{position:relative;top:1px;width:26px;height:26px}.sidebar[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   .wheel-settings-wrapper[_ngcontent-%COMP%]{position:relative;display:inline-flex;flex-direction:column;align-items:center;margin:5px 5px 5px 0}.sidebar[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   .settings-pulse-dot[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px;width:8px;height:8px;border-radius:50%;background-color:#e53935;pointer-events:none;animation:_ngcontent-%COMP%_settingsDotPulse 1.6s ease-in-out infinite}.sidebar[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:last-child{margin-right:0}.sidebar[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   .wheel-settings-flash[_ngcontent-%COMP%]{position:relative;overflow:hidden}.sidebar[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   .wheel-settings-flash[_ngcontent-%COMP%]:after{content:"";position:absolute;top:-35%;left:-65%;width:45%;height:170%;background:linear-gradient(120deg,transparent 0%,rgba(255,255,255,.2) 35%,rgba(255,255,255,.95) 50%,rgba(255,255,255,.2) 65%,transparent 100%);transform:rotate(18deg);animation:_ngcontent-%COMP%_wheel-settings-glint .9s ease-out 2;pointer-events:none}.sidebar[_ngcontent-%COMP%]   .relative-container[_ngcontent-%COMP%]{position:relative;width:100%;margin-right:0}.sidebar[_ngcontent-%COMP%]   .entries-information[_ngcontent-%COMP%]{position:absolute;top:23%;left:50%;min-width:150px;transform:translate(-50%,-50%);text-align:center;font-style:italic;font-size:18px;animation:_ngcontent-%COMP%_entries-information-fade-in .9s ease-out .5s both}@keyframes _ngcontent-%COMP%_entries-information-fade-in{0%{opacity:0;transform:translate(-50%,-42%)}to{opacity:1;transform:translate(-50%,-50%)}}.settings-nudge[_ngcontent-%COMP%]{position:fixed;transform:translate(-50%);background:#1a1a2e;color:#fff;font-size:12px;font-weight:500;white-space:nowrap;padding:6px 10px;border-radius:6px;cursor:pointer;box-shadow:0 3px 10px #00000040;z-index:1200;pointer-events:auto;animation:_ngcontent-%COMP%_nudgeFadeIn .3s ease-out both}.settings-nudge__arrow[_ngcontent-%COMP%]{position:absolute;top:-5px;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #1a1a2e}.settings-nudge.nudge-above[_ngcontent-%COMP%]{transform:translate(-50%) translateY(-100%)}.settings-nudge.nudge-above[_ngcontent-%COMP%]   .settings-nudge__arrow[_ngcontent-%COMP%]{top:auto;bottom:-5px;border-bottom:none;border-top:5px solid #1a1a2e}.settings-nudge[_ngcontent-%COMP%]:hover{background:#2d2d54}@keyframes _ngcontent-%COMP%_settingsDotPulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.5);opacity:.6}}@keyframes _ngcontent-%COMP%_nudgeFadeIn{0%{opacity:0;transform:translate(-50%) translateY(-6px)}to{opacity:1;transform:translate(-50%) translateY(0)}}@keyframes _ngcontent-%COMP%_wheel-settings-glint{0%{left:-65%}to{left:120%}}.wideTextarea[_ngcontent-%COMP%]{width:500px;max-width:500px!important}@media screen and (max-width: 600px){.wideTextarea[_ngcontent-%COMP%]{width:350px;max-width:350px!important}}@keyframes _ngcontent-%COMP%_bg-animation{0%{background-position:center center}25%{background-position:right center}50%{background-position:center center}75%{background-position:left center}to{background-position:center center}}.light-mode[_ngcontent-%COMP%]   .sidebar[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{background-color:red}'],changeDetection:0})}}return t})();const $l=["wheelsContainer"],jl=["wheelWrapper"],Yl=["replayWheelFocus"],Jl=t=>({days:t}),zl=(t,c)=>({"wheels-container_full-screen":t,"wheels-container_disabled":c});function Tr(t,c){1&t&&A.nrm(0,"app-spinner",16),2&t&&A.Y8G("isBackgroun
1dShown",!1)}function Dr(t,c){1&t&&(A.j41(0,"span",22),A.EFF(1),A.nI1(2,"translate"),A.k0s()),2&t&&(A.R7$(),A.SpI("\u2713 ",A.bMT(2,1,"replay.verified"),""))}function xs(t,c){1&t&&(A.j41(0,"span",23),A.EFF(1,"\xb7"),A.k0s())}function Zl(t,c){if(1&t&&(A.j41(0,"span",24)(1,"span",23),A.EFF(2,"\xb7"),A.k0s(),A.EFF(3),A.nI1(4,"translate"),A.k0s()),2&t){const e=A.XpG(2);A.R7$(3),A.Lme(" ",A.bMT(4,2,"replay.originalSpin")," ",e.replayTimeFormatted," ")}}function ql(t,c){if(1&t&&(A.j41(0,"div",17),A.DNE(1,Dr,3,3,"span",18)(2,xs,2,0,"span",19),A.j41(3,"span",20),A.EFF(4),A.nI1(5,"translate"),A.k0s(),A.DNE(6,Zl,5,4,"span",21),A.k0s()),2&t){const e=A.XpG();A.R7$(),A.Y8G("ngIf",!e.quietStage3ReplayBanner),A.R7$(),A.Y8G("ngIf",!e.quietStage3ReplayBanner),A.R7$(2),A.JRh(A.bMT(5,4,"replay.badge")),A.R7$(2),A.Y8G("ngIf",e.replayTimeFormatted)}}function Ss(t,c){if(1&t&&(A.j41(0,"span",24)(1,"span",23),A.EFF(2,"\xb7"),A.k0s(),A.EFF(3),A.nI1(4,"translate"),A.k0s()),2&t){const e=A.XpG(2);A.R7$(3),A.Lme(" ",A.bMT(4,2,"replay.originalSpin")," ",e.replayTimeFormatted," ")}}function Ac(t,c){if(1&t&&(A.j41(0,"div",25)(1,"span",26),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"span",23),A.EFF(5,"\xb7"),A.k0s(),A.j41(6,"span",20),A.EFF(7),A.nI1(8,"translate"),A.k0s(),A.DNE(9,Ss,5,4,"span",21),A.k0s()),2&t){const e=A.XpG();A.R7$(2),A.SpI(" \u26a0 ",A.bMT(3,3,"replay.proofFailed")," "),A.R7$(5),A.JRh(A.bMT(8,5,"replay.badge")),A.R7$(2),A.Y8G("ngIf",e.replayTimeFormatted)}}function ec(t,c){1&t&&(A.j41(0,"div",27)(1,"span",28),A.EFF(2),A.nI1(3,"translate"),A.k0s()()),2&t&&(A.R7$(2),A.SpI("\u26a0 ",A.bMT(3,1,"replay.unverified"),""))}function tc(t,c){if(1&t){const e=A.RV6();A.j41(0,"div",29)(1,"span",30),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"button",31),A.bIt("click",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.dismissReplayExpired())}),A.EFF(5,"\xd7"),A.k0s()()}if(2&t){const e=A.XpG();A.R7$(2),A.JRh(A.i5U(3,1,"replay.expired",A.eq3(4,Jl,e.replayRetentionDays)))}}function nc(t,c){1&t&&(A.j41(0,"div",32)(1,"h2",33),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"p",34),A.EFF(5),A.nI1(6,"translate"),A.k0s()()),2&t&&(A.R7$(2),A.JRh(A.bMT(3,2,"replay.deletedTitle")),A.R7$(3),A.JRh(A.bMT(6,4,"replay.deletedBody")))}function rc(t,c){if(1&t&&(A.j41(0,"div",35),A.nrm(1,"app-giveaway-replay-panel",36),A.k0s()),2&t){const e=A.XpG();A.R7$(),A.Y8G("state",e.giveawayPanelState)("integrityMismatch",e.giveawayIntegrityMismatch)("winnerRevealed",e.isGiveawayWinnerRevealed)("signedIn",e.isSignedIn)}}function Hr(t,c){1&t&&(A.j41(0,"div",54)(1,"span",55),A.EFF(2),A.nI1(3,"translate"),A.k0s()()),2&t&&(A.R7$(2),A.SpI("\u2713 ",A.bMT(3,1,"verifiedDraw.indicator"),""))}function ic(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",56),A.bIt("click",function(){A.eBV(e);const o=A.XpG(3);return A.Njj(o.copyVerifiedDrawLink())}),A.j41(1,"span",57),A.EFF(2,"\u{1f517}"),A.k0s(),A.j41(3,"span",58),A.EFF(4),A.nI1(5,"translate"),A.k0s()()}2&t&&(A.R7$(4),A.JRh(A.bMT(5,1,"verifiedDraw.replayLinkLabel")))}function Or(t,c){if(1&t&&(A.j41(0,"div",51),A.DNE(1,Hr,4,3,"div",52)(2,ic,6,3,"button",53),A.k0s()),2&t){const e=A.XpG(2);A.R7$(),A.Y8G("ngIf",e.showProvablyFairIndicator),A.R7$(),A.Y8G("ngIf",e.showVerifiedDrawCopyLink)}}function sc(t,c){if(1&t&&(A.j41(0,"h1",59),A.EFF(1),A.nI1(2,"translate"),A.nI1(3,"translate"),A.nI1(4,"translate"),A.nI1(5,"translate"),A.k0s()),2&t){const e=A.XpG(2);A.R7$(),A.SpI(" ",(e.isAdminWheel?A.bMT(2,1,null==e.table||null==e.table.seo?null:e.table.seo.h1)||A.bMT(3,3,null==e.table?null:e.table.name):A.bMT(4,5,null==e.table?null:e.table.name))||A.bMT(5,7,"Spin the Wheel")," ")}}function S(t,c){if(1&t){const e=A.RV6();A.j41(0,"div",60)(1,"input",61,2),A.bIt("click",function(){A.eBV(e);const o=A.sdS(2),g=A.XpG(2);return A.Njj(g.copy(g.table.id,o))}),A.k0s(),A.j41(3,"button",62),A.bIt("click",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.editInNewTab(o.table.id))}),A.EFF(4,"Edit in new tab"),A.k0s()()}if(2&t){const e=A.XpG(2);A.R7$(),A.Y8G("value",null==e.table?null:e.table.id)}}function ot(t,c){if(1&t){const e=A.RV6();A.j41(0,"button",63),A.bIt("click",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.playReplay())}),A.j41(1,"span",64),A.EFF(2,"\u25b6"),A.k0s(),A.EFF(3),A.nI1(4,"translate"),A.k0s()}2&t&&(A.R7$(3),A.SpI(" ",A.bMT(4,1,"replay.playReplay")," "))}function In(t,c){if(1&t){const e=A.RV6();A.j41(0,"div",65)(1,"button",66),A.bIt("click",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.playReplay())}),A.j41(2,"span",64),A.EFF(3,"\u25b6"),A.k0s(),A.EFF(4),A.nI1(5,"translate"),A.k0s()()}2&t&&(A.R7$(4),A.SpI(" ",A.bMT(5,1,"replay.playReplay")," "))}function zA(t,c){1&t&&(A.j41(0,"div",67),A.nrm(1,"app-spinner",68),A.j41(2,"p",69),A.EFF(3),A.nI1(4,"translate"),A.k0s()()),2&t&&(A.R7$(),A.Y8G("isBackgroun
1dShown",!1)("diameter",56),A.R7$(2),A.JRh(A.bMT(4,3,"replay.resolving")))}function ac(t,c){if(1&t){const e=A.RV6();A.j41(0,"div",70)(1,"p",69),A.EFF(2),A.nI1(3,"translate"),A.k0s(),A.j41(4,"button",71),A.bIt("click",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.retryReplayPreparation())}),A.EFF(5),A.nI1(6,"translate"),A.k0s()()}2&t&&(A.R7$(2),A.JRh(A.bMT(3,2,"replay.retryMessage")),A.R7$(3),A.SpI(" ",A.bMT(6,4,"replay.retryAction")," "))}function gA(t,c){1&t&&(A.j41(0,"div",72)(1,"p",69),A.EFF(2),A.nI1(3,"translate"),A.k0s()()),2&t&&(A.R7$(2),A.JRh(A.bMT(3,1,"replay.sourceUnavailable")))}function _A(t,c){if(1&t){const e=A.RV6();A.j41(0,"app-wheel-center-campaign",81),A.bIt("click",function(o){return A.eBV(e),A.Njj(o.stopPropagation())}),A.k0s()}if(2&t){const e=A.XpG().$implicit,a=A.XpG(3);A.Y8G("currentWheel",e)("wheelWrapperWidth",a.wrapperWidth)}}function xn(t,c){1&t&&A.nrm(0,"app-under-values-campaign",82)}function oc(t,c){if(1&t){const e=A.RV6();A.j41(0,"div")(1,"div",75,4),A.DNE(3,_A,1,2,"app-wheel-center-campaign",76),A.j41(4,"app-wheel",77),A.bIt("spinnerClicked",function(){A.eBV(e);const o=A.XpG(3);return A.Njj(o.onSpinnerClicked())}),A.k0s()(),A.j41(5,"div",78),A.nrm(6,"app-sidebar",79),A.DNE(7,xn,1,0,"app-under-values-campaign",80),A.k0s()()}if(2&t){const e=c.$implicit,a=c.index,o=A.XpG(3);A.ZvI("wrapper layout-",o.wheels.length>6?7:o.wheels.length,""),A.BMQ("id",o.table.wheels.length===a+1?"last-wheel":null)("data-wheel-position",o.isReplayFocusTarget?a:null)("tabindex",o.isReplayFocusTarget?-1:null)("role",o.isReplayFocusTarget?"group":null)("aria-label",o.isReplayFocusTarget?o.replayWheelPositionAriaLabel(a):null)("data-testid",o.isReplayFocusTarget?"replay-wheel-"+a:null),A.R7$(3),A.Y8G("ngIf",!(null!=o.state&&o.state.isFullScreen)),A.R7$(),A.Y8G("isSpinAllStarted",null==o.state?null:o.state.isSpinAllFlag)("wheelIndex",a)("isFullScreen",null==o.state?null:o.state.isFullScreen)("isSpinAllOnly",o.isSpinAllOnly),A.R7$(),A.Y8G("hidden",null==o.state?null:o.state.isFullScreen),A.R7$(),A.Y8G("showAddWheel",(null==o.wheels?null:o.wheels.length)===a+1&&o.wheels.length<8)("showDeleteWheel",null==o.state?null:o.state.isMultipleWheelsMode)("index",a)("isShared",null==o.state?null:o.state.isShared)("isEditMode",null==o.state?null:o.state.isEdit)("isEditTabActiveOnInit",null==o.state?null:o.state.isEditTabActiveOnInit)("loadedComponentTime",o.loadedComponentTime)("isCSV",e.config.isBigFileValuesEnabled),A.R7$(),A.Y8G("ngIf",1===(null==o.wheels?null:o.wheels.length))}}function Sn(t,c){if(1&t&&(A.j41(0,"div",73,3),A.DNE(2,oc,8,24,"div",74),A.k0s()),2&t){const e=A.XpG(2);A.AVh("wheel-list--replay-cta-visible",e.showReplayCta),A.Y8G("ngClass",null!=e.state&&e.state.isMultipleWheelsMode?null!=e.table&&null!=e.table.config&&e.table.config.isLayoutColumn?"column":"row":"column"),A.BMQ("tabindex",e.isReplayFocusTarget?-1:null)("role",e.isReplayFocusTarget?"region":null)("aria-label",e.isReplayFocusTarget?e.replayWheelAriaLabel:null)("data-testid",e.isReplayFocusTarget?"replay-wheel-focus":null),A.R7$(2),A.Y8G("ngForOf",e.wheels)("ngForTrackBy",e.trackByWheelIndex)}}function lc(t,c){if(1&t&&(A.nrm(0,"div",86),A.nI1(1,"translate")),2&t){const e=A.XpG(3);A.Y8G("innerHTML",e.slugTable||null!=e.table&&null!=e.table.seo&&e.table.seo.slug?e.seoSafeHtml:A.bMT(1,1,"appInfo.content"),A.npT)}}function En(t,c){if(1&t&&A.nrm(0,"app-author-list",87),2&t){const e=A.XpG(3);A.Y8G("tableConfig",e.table)}}function cc(t,c){if(1&t&&(A.j41(0,"div",83),A.DNE(1,lc,2,3,"div",84)(2,En,1,1,"app-author-list",85),A.k0s()),2&t){const e=A.XpG(2);A.R7$(),A.Y8G("ngIf",!(null!=e.state&&e.state.isFullScreen)&&(null==e.table||null==e.table.seo?null:e.table.seo.htmlContent)),A.R7$(),A.Y8G("ngIf",!(null!=e.state&&e.state.isFullScreen)&&e.table)}}function dc(t,c){1&t&&A.nrm(0,"app-auto-bottom-campaign",88)}function Es(t,c){if(1&t){const e=A.RV6();A.j41(0,"div",37,0),A.DNE(2,Or,3,2,"div",38),A.j41(3,"app-multiple-wheels-actions",39,1),A.bIt("spinAllFinished",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.finishWheelAnimations())}),A.k0s(),A.j41(5,"div",40),A.DNE(6,sc,6,9,"h1",41)(7,S,5,1,"div",42)(8,ot,5,3,"button",43)(9,In,6,3,"div",44)(10,zA,5,5,"div",45)(11,ac,7,6,"div",46)(12,gA,4,3,"div",47)(13,Sn,3,9,"div",48),A.k0s(),A.DNE(14,cc,3,2,"div",49)(15,dc,1,0,"app-auto-bottom-campaign",50),A.k0s()}if(2&t){const e=A.XpG();A.AVh("full-screen",null==e.state?null:e.state.isFullScreen)("index-wheels--release-page-height",e.releaseReplayPageHeight),A.R7$(2),A.Y8G("ngIf",(e.showProvablyFairIndicator||e.showVerifiedDrawCopyLink)&&e.isBrowser),A.R7$(),A.AVh("index-wheels__config--replay-cta-visible",e.showReplayCta),A.Y8G("hideSpinAllBtn",null==e.table||null==e.table.config?null:e.table.config.isSpinAllButtonHidden
1)("isSpinAllOnly",e.isSpinAllOnly),A.R7$(2),A.Y8G("ngClass",A.l_i(20,zl,null==e.state?null:e.state.isFullScreen,null==e.state?null:e.state.isSpinning)),A.R7$(),A.Y8G("ngIf",e.isRouteTableReady&&(null==e.table||null==e.table.config?null:e.table.config.showTitle)),A.R7$(),A.Y8G("ngIf",e.isAdminLoggedIn),A.R7$(),A.Y8G("ngIf",e.useFixedReplayCta),A.R7$(),A.Y8G("ngIf",e.useInlineReplayCta),A.R7$(),A.Y8G("ngIf",e.isReplaySourceResolving),A.R7$(),A.Y8G("ngIf",e.isReplayRetryableError),A.R7$(),A.Y8G("ngIf",e.isReplaySourceUnavailable),A.R7$(),A.Y8G("ngIf",e.shouldRenderWheels),A.R7$(),A.Y8G("ngIf",e.isRouteTableReady),A.R7$(),A.Y8G("ngIf",!(null!=e.state&&e.state.isFullScreen))}}function gc(t,c){if(1&t&&A.nrm(0,"app-giveaway-replay-panel",36),2&t){const e=A.XpG(2);A.Y8G("state",e.giveawayPanelState)("integrityMismatch",e.giveawayIntegrityMismatch)("winnerRevealed",e.isGiveawayWinnerRevealed)("signedIn",e.isSignedIn)}}function Rs(t,c){if(1&t){const e=A.RV6();A.j41(0,"app-replay-proof-panel",91),A.bIt("toggleProof",function(){A.eBV(e);const o=A.XpG(2);return A.Njj(o.toggleOrdinaryProof())}),A.k0s()}if(2&t){const e=A.XpG(2);A.Y8G("view",e.ordinaryReplayProofView)("expanded",e.ordinaryProofExpanded)("documentContextNote",e.ordinaryProofDocumentContextNote)}}function pc(t,c){if(1&t&&(A.j41(0,"div",35),A.DNE(1,gc,1,4,"app-giveaway-replay-panel",89)(2,Rs,1,3,"app-replay-proof-panel",90),A.k0s()),2&t){const e=A.XpG();A.R7$(),A.Y8G("ngIf",e.showGiveawayProofBelowAdvert),A.R7$(),A.Y8G("ngIf",e.showOrdinaryReplayProofPanel)}}function Ms(t,c){if(1&t&&A.nrm(0,"app-verified-spin-record-actions",95),2&t){const e=c.ngIf,a=A.XpG(2);A.Y8G("verification",e)("uiStatus",(null==a.spinProofPanel?null:a.spinProofPanel.status)||null)}}function Ps(t,c){if(1&t){const e=A.RV6();A.j41(0,"div",92)(1,"app-spin-proof-panel",93),A.bIt("toggleDetails",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.toggleSpinProof())})("toggleEntries",function(){A.eBV(e);const o=A.XpG();return A.Njj(o.toggleSpinProofEntries())})("copyReplayLink",function(o){A.eBV(e);const g=A.XpG();return A.Njj(g.onSpinProofCopyReplayLink(o))})("copyReplayId",function(o){A.eBV(e);const g=A.XpG();return A.Njj(g.onSpinProofCopyReplayId(o))})("focusWheel",function(o){A.eBV(e);const g=A.XpG();return A.Njj(g.onSpinProofFocusWheel(o))}),A.DNE(2,Ms,1,2,"app-verified-spin-record-actions",94),A.k0s()()}if(2&t){const e=A.XpG();A.R7$(),A.Y8G("view",e.spinProofPanel)("expanded",e.spinProofExpanded)("entriesExpanded",e.spinProofEntriesExpanded)("replayUrl",e.spinProofReplayUrl)("replayId",e.spinProofReplayId)("documentContextNote",e.spinProofDocumentContextNote)("enableReplayWheelFocus",e.isReplayFocusTarget),A.R7$(),A.Y8G("ngIf",e.exportableVerifiedSpinVerification)}}function kr(t,c){if(1&t&&(A.j41(0,"div",96)(1,"div",97),A.nrm(2,"p",98),A.k0s(),A.j41(3,"div",99),A.nrm(4,"div",100)(5,"div",101),A.k0s()()),2&t){const e=A.XpG();A.R7$(2),A.Y8G("innerHTML",e.animateWinner,A.npT)}}let Lr=(()=>{class t{constructor(e,a,o,g,C,F,G,M,AA,bA,yA,BA,UA,$A,cA,VA,oe,me,Ot,$e,Gr,hc,Bc,wc,mc,Cc,_c,yc,vc){this.route=e,this.winnerService=a,this.spinnerService=o,this.wheelStateService=g,this.wheelDefaultService=C,this.sanitizer=F,this.browserService=G,this.router=M,this.dialog=AA,this.wheelDbService=bA,this.seoService=yA,this.base64Service=BA,this.adminService=UA,this.authService=$A,this.audioService=cA,this.cd=VA,this.translate=oe,this.country=me,this.ngZone=Ot,this.iframeDetectorService=$e,this.replayService=Gr,this.verifiedDrawService=hc,this.spinProofSpinService=Bc,this.spinProofSessionService=wc,this.spinProofVerificationService=mc,this.location=Cc,this.slugResolver=_c,this.snackBar=yc,this.platformId=vc,this.destroy$=new ge.B,this.table=new zt.X,this.isAdminWheel=!0,this.animateWinner="",this.authorList=[],this.loadedComponentTime=(new Date).getTime(),this.isBrowser=!0,this.isRouteTableReady=!1,this.isLoadingData=!1,this.isAdmin=!1,this.isAdminLoggedIn=!1,this.wheels=[],this.replayPlayed=!1,this.replayDocumentContextProvenNumbers=[],this.ordinaryProofExpanded=!1,this.replayFocusFrameIds=[],this.verifiedDrawSpinStopped=!1,this.spinProofSpinStopped=!1,this.spinProofReplayPanel=null,this.spinProofReplayVerification=null,this.spinProofExpanded=!1,this.spinProofEntriesExpanded=!1,this.replayExpiredNotice=!1,this.giveawayBootstrapMissing=!1,this.unresolvedGiveawayState=null,this.giveawayWinnerRevealed=!1,this.replayRetentionDays=90,this.replayPreparationState="none",this.topologyFinalised=!1,this.sourceResolutionHangMs=2e4,this.assetPreloadHangMs=2e4,this.completeArchiveOptionalSourceMs=2e3,this.destroyed=!1,this.replaySession=0,this.currentLang="en-UK"}
1ngAfterViewInit(){this.wrapperWidth=this.wheelWrapper?.nativeElement?.offsetWidth}get isReplaySourceResolving(){return(t=>"resolving-source"===t||"preloading-assets"===t)(this.replayPreparationState)}get isReplayRetryableError(){return"retryable-error"===this.replayPreparationState}get isReplaySourceUnavailable(){return"source-unavailable"===this.replayPreparationState}get releaseReplayPageHeight(){return(()=>"source-unavailable"===this.replayPreparationState)()}get isSourceBackedReplay(){return!!this.replayService.getSourceRef()}get shouldRenderWheels(){return this.isBrowser&&this.isRouteTableReady&&!this.hideWheelForGiveaway&&!this.isReplayDeleted&&(!this.isSourceBackedReplay||(()=>"ready"===this.replayPreparationState)())}get isReplayDeleted(){return this.isBrowser&&this.replayService.isDeleted}get giveawayReplayState(){return this.replayService.giveaway}get isGiveawayReplayPage(){return!!this.replayService.giveaway||this.giveawayBootstrapMissing}get giveawayPanelState(){return this.unresolvedGiveawayState??this.replayService.giveaway}get hideWheelForGiveaway(){return((t,c=!1)=>c||"result-only"===t||"expired"===t||"unavailable"===t||"not-found"===t)(this.giveawayPanelState?.state,this.giveawayBootstrapMissing)}get showGiveawayProofAboveChrome(){return(()=>this.isGiveawayReplayPage&&this.isBrowser&&this.hideWheelForGiveaway)()}get showGiveawayProofBelowAdvert(){return(()=>this.isGiveawayReplayPage&&this.isBrowser&&!this.hideWheelForGiveaway)()}get giveawayIntegrityMismatch(){return this.replayService.giveawayIntegrityMismatch}get isGiveawayWinnerRevealed(){return this.giveawayWinnerRevealed}get isSignedIn(){return!!this.authService.userId}trackByWheelIndex(e){return e}ngOnInit(){this.seoSafeHtml=this.sanitizer.bypassSecurityTrustHtml(this.localizeSlugs(this.table?.seo.htmlContent)),this.getAllSubscriptions(),this.setWheels()}setWheels(){this.wheels=this.table?this.table.wheels:[new ie.Q],setTimeout(()=>{this.cd.detectChanges()},0)}getAllSubscriptions(){var e=this;return(0,rA.A)(function*(){e.isBrowser=(0,Q.UE)(e.platformId);const a=yield e.setReplayFromParams();(t=>{t.markForCheck()})(e.cd),e.applyReplayCanonical(),e.handleExpiredReplay(),e.subscribeClearDeletedReplayOnLeave(),e.handleDefaultWheel(),e.loadSpinProofForReplay(a),e.currentTableId&&!e.slugTable?yield e.handlerUserResolver():e.handlerUserResolver(),e.handleWheelResolver(),e.handleWheelState(),e.handleFullScreenState(),e.handleWinnerBlockAnimation(),e.getWheelsParams(),e.subscribeOnSpinning(),e.subscribeOnSpinProofChanges(),e.subscribeClearProofPresentationOnRestore(),e.langSubscription()})()}handlerUserResolver(){var e=this;return(0,rA.A)(function*(){yield(0,He.s)(e.authService.userResolverHandler())})()}handleDefaultWheel(){if(this.currentTableId=this.route.snapshot.paramMap.get("id")?.slice(0,20),this.slugTable=this.route.snapshot.data.slugTable,this.currentTableId||this.slugTable)return;const e=this.replayService.getSourceRef();e?this.seedReplayFromSource(e):this.seedHomeTable(this.applyEncodedWheelsParam(this.getDefaultTableTanslation(localStorage.getItem("language"))))}seedHomeTable(e){this.state={isEdit:!0},this.handleReceivedTable(e),this.wheelStateService.emitTable(e),this.wheelStateService.isAuthor$.next(!1),this.handleGettingCurrentWheel(),this.cd.markForCheck()}seedReplayFromSource(e){var a=this;return(0,rA.A)(function*(){if(a.destroyed)return;const o=++a.replaySession;(0,Et.LX)(o),a.topologyFinalised=!1,a.replayPreparationState="resolving-source",a.clearReplayHangTimer(),a.applyPendingReplayHomeSeo(),a.cd.markForCheck();try{a.cd.detectChanges()}catch{}const g=((t,c)=>t&&1===t.version&&"complete"===t.status&&Array.isArray(t.assets)&&t.assets.length>0?c?"archive-optional-source":"archive-only":"resolve-source")(a.replayService.getVisualArchive(),e);if("archive-only"===g)return void(yield a.finishReplayPreparationFromTable(o,a.buildReplayTableFromArchivedSnapshot()));if("archive-optional-source"===g){const M=yield Ha({loadSourceTable:()=>a.loadSourceTable(e),budgetMs:a.completeArchiveOptionalSourceMs,isCancelled:()=>a.destroyed||o!==a.replaySession||a.topologyFinalised});if(!rt({destroyed:a.destroyed,session:o,currentSession:a.replaySession,topologyFinalised:a.topologyFinalised}))return;return"source"===M.outcome&&M.source&&a.sourceAlignsWithSnapshot(M.source)?void(yield a.finishReplayPreparationFromTable(
1o,a.buildReplayTableFromSource(M.source))):void(yield a.finishReplayPreparationFromTable(o,a.buildReplayTableFromArchivedSnapshot()))}a.replayHangTimer=setTimeout(()=>{a.destroyed||o!==a.replaySession||a.topologyFinalised||"resolving-source"!==a.replayPreparationState||(a.replayPreparationState="retryable-error",a.cd.markForCheck())},a.sourceResolutionHangMs);let C=null,F=!1;try{C=yield a.loadSourceTable(e)}catch{F=!0}if(a.clearReplayHangTimer(),!rt({destroyed:a.destroyed,session:o,currentSession:a.replaySession,topologyFinalised:a.topologyFinalised}))return;const G=(t=>t.canCommit?t.loadFailed?"retryable-error":t.hasSourceTable&&t.aligns?"continue":"source-unavailable":"ignore")({canCommit:!0,loadFailed:F,hasSourceTable:!!C,aligns:!!C&&a.sourceAlignsWithSnapshot(C)});if("retryable-error"===G)return a.replayPreparationState="retryable-error",void a.cd.markForCheck();"continue"===G&&C?yield a.finishReplayPreparationFromTable(o,a.buildReplayTableFromSource(C)):a.enterSourceUnavailable()})()}finishReplayPreparationFromTable(e,a){var o=this;return(0,rA.A)(function*(){if(!rt({destroyed:o.destroyed,session:e,currentSession:o.replaySession,topologyFinalised:o.topologyFinalised}))return;try{a&&o.overlayVisualArchive(a)}catch{a=null}if(!a)return void o.enterSourceUnavailable();const g=o.replayDocumentContextProvenNumbers.length>0?new Set(o.replayDocumentContextProvenNumbers.map(F=>F-1)):new Set((a.wheels||[]).map((F,G)=>G)),C=(t=>{const c=[],e=new Set;return t.wheels.forEach((a,o)=>{if(!t.provenDisplayIndexes||t.provenDisplayIndexes.has(o))for(const g of a?.values||[]){const C=(0,Si.Z)(g);!C||e.has(C)||(e.add(C),c.push(C))}}),c})({wheels:a.wheels||[],provenDisplayIndexes:g});if(C.length){o.replayPreparationState="preloading-assets",o.cd.markForCheck();const F=yield o.preloadReplayAssets(C,e);if("cancelled"===F)return;if("error"===F)return void(rt({destroyed:o.destroyed,session:e,currentSession:o.replaySession,topologyFinalised:o.topologyFinalised})&&(o.replayPreparationState="retryable-error",o.cd.markForCheck()))}rt({destroyed:o.destroyed,session:e,currentSession:o.replaySession,topologyFinalised:o.topologyFinalised})&&(o.topologyFinalised=!0,o.replayPreparationState="ready",o.seedHomeTable(a))})()}preloadReplayAssets(e,a){var o=this;return(0,rA.A)(function*(){return cn(e,{loader:La(),isCancelled:()=>o.destroyed||a!==o.replaySession,hangMs:o.assetPreloadHangMs,session:a})})()}retryReplayPreparation(){const e=this.replayService.getSourceRef();!e||this.destroyed||this.seedReplayFromSource(e)}clearReplayHangTimer(){void 0!==this.replayHangTimer&&(clearTimeout(this.replayHangTimer),this.replayHangTimer=void 0)}enterSourceUnavailable(){this.topologyFinalised=!0,this.replayPreparationState="source-unavailable",this.replayService.setDisplayToSnapshotIndex(null),this.replayDocumentContextProvenNumbers=[],this.cd.markForCheck()}sourceAlignsWithSnapshot(e){const a=this.replayService.snapshotWheels,o=(a||[]).map((g,C)=>this.replayService.getSourceWheelIndex(C));return(t=>{const c=t.snapshotWheels,e=t.sourceWheels;return!(!c?.length||!e?.length)&&c.every((a,o)=>{const g=t.sourceIndexes[o];return!(!Number.isInteger(g)||g<0||g>=e.length||!(0,ve.K)({snapshotLabels:a,sourceWheel:e[g],lang:t.lang}))})})({snapshotWheels:a,sourceWheels:e.wheels||[],sourceIndexes:o,lang:(0,tt.XC)(this.replayService.getSourceRef())})}applyPendingReplayHomeSeo(){const e=this.getDefaultTableTanslation(localStorage.getItem("language")),a=new Yn.k({description:e?.seo?.description||this.translate.instant("DESCRIPTION"),title:e?.seo?.title||e?.seo?.h1||e?.name});this.seoService.setMeta(a)}loadSourceTable(e){var a=this;return(0,rA.A)(function*(){if(e.startsWith("wheels/")){const G=e.slice(7).slice(0,20);if(!G)return null;const M=yield(0,He.s)(a.wheelStateService.getWheelsById(G).pipe((0,mt.$)()));return M&&!M.deleted?M:null}const o=e.indexOf("/"),g=o>0?e.slice(0,o):void 0,C=o>0?e.slice(o+1):e;if(!C)return null;const F=yield(0,He.s)(a.slugResolver.loadCachedSlugTableForReplay(C,g));return F&&!F.deleted?F:null})()}buildReplayTableFromArchivedSnapshot(){return this.replayService.snapshotWheels?.length?this.applyEncodedWheelsParam(this.getDefaultTableTanslation(localStorage.getItem("language"))):null}overlayVisualArchive(e){const a=this.replayService.getVisualArchive(),o=this.replayService.getStoredReplayId(),g=this.replayService.snapshotWheels;
1!a?.assets?.length||!o||!g?.length||(e.wheels||[]).forEach((C,F)=>{const G=this.replayService.getSnapshotIndexForDisplay(F);if(null==G||!g[G])return;const M=(0,Ge.Q9)({snapshotValues:g[G],wheelIndex:G,liveValues:C.values,archive:a,replayId:o});if(C.values=M,C.weightEntries?.length){const AA=(0,Ge.Kw)(C.weightEntries,M);AA&&(C.weightEntries=AA)}})}buildReplayTableFromSource(e){const a=this.replayService.snapshotWheels;if(!a?.length)return null;const o=OA()(e);o.seo&&(o.seo.slug="");const g=this.replayService.getStoredTitle();g&&(o.name=g,o.seo&&(o.seo.h1=g));const C=this.replayService.isReplay?this.replayService.getStoredAppearance():null,F=(e.wheels||[]).slice(0,8),G=(0,tt.XC)(this.replayService.getSourceRef()),M=a.map((yA,BA)=>this.replayService.getSourceWheelIndex(BA)),AA=a.map((yA,BA)=>{const UA=M[BA];return!(!Number.isInteger(UA)||UA<0||UA>=F.length)&&(t=>null!==(0,ve.K)(t))({snapshotLabels:yA,sourceWheel:F[UA],lang:G})});if((t=>{const{snapshotWheels:c,sourceWheelCount:e,sourceIndexes:a,correlatedAtSourceIndex:o}=t;if(!c.length||e<=c.length||a.length!==c.length||o.length!==c.length)return!1;const g=new Set;for(let C=0;C<c.length;C++){const F=a[C];if(!Number.isInteger(F)||F<0||F>=e||!o[C])return!1;g.add(F)}return g.size===c.length})({snapshotWheels:a,sourceWheelCount:F.length,sourceIndexes:M,correlatedAtSourceIndex:AA})){const yA=F.map(()=>null);return a.forEach((BA,UA)=>{yA[M[UA]]=UA}),this.replayService.setDisplayToSnapshotIndex(yA),this.replayDocumentContextProvenNumbers=[...new Set(M)].map(BA=>BA+1),o.wheels=F.map((BA,UA)=>{const $A=yA[UA],cA=OA()(BA?.config??o.config);if(C&&(cA.animateWinner=!0,cA.confettiEffectType=cA.confettiEffectType??Ut.O.Confetti,this.applyStoredAppearance(cA,C)),null===$A){const $e=this.neutraliseReplayConfig(cA,!1);return new ie.Q({values:[...BA?.values||[]],colors:C?.colors?.length?C.colors.map(Gr=>new et.Q({color:Gr,checked:!0})):OA()(BA?.colors??fe.vK.colors),winners:[],config:$e})}const VA=a[$A],oe=this.resolveReplayWheelValues(VA,BA),me=this.resolveReplayWeightEntries({displayWheelIndex:UA,values:oe,snapshotLabels:VA,sourceWheel:BA}),Ot=this.neutraliseReplayConfig(cA,!!me);return new ie.Q({values:oe,...me?{weightEntries:me}:{},colors:C?.colors?.length?C.colors.map($e=>new et.Q({color:$e,checked:!0})):OA()(BA?.colors??fe.vK.colors),winners:this.replayService.getLockedResults(UA),config:Ot})}),o.config={...o.config,isSpinAllOnly:!1},o}return this.replayService.setDisplayToSnapshotIndex(null),this.replayDocumentContextProvenNumbers=[],o.wheels=a.slice(0,8).map((yA,BA)=>{const UA=M[BA],$A=Number.isInteger(UA)&&UA>=0?e.wheels?.[UA]:void 0,cA=AA[BA]?$A:void 0,VA=OA()(cA?.config??o.config);C&&(VA.animateWinner=!0,VA.confettiEffectType=VA.confettiEffectType??Ut.O.Confetti,this.applyStoredAppearance(VA,C));const oe=this.resolveReplayWheelValues(yA,cA),me=this.resolveReplayWeightEntries({displayWheelIndex:BA,values:oe,snapshotLabels:yA,sourceWheel:cA}),Ot=this.neutraliseReplayConfig(VA,!!me);return new ie.Q({values:oe,...me?{weightEntries:me}:{},colors:C?.colors?.length?C.colors.map($e=>new et.Q({color:$e,checked:!0})):OA()(cA?.colors??fe.vK.colors),winners:this.replayService.getLockedResults(BA),config:Ot})}),a.length>1&&(o.config={...o.config,isSpinAllOnly:!1}),o}resolveReplayWheelValues(e,a){const o=[...e];if(!a)return o;const g=(0,ve.K)({snapshotLabels:e,sourceWheel:a,lang:(0,tt.XC)(this.replayService.getSourceRef())});return g?e.map((C,F)=>(0,tt.h2)(g[F])?g[F]:C):o}neutraliseReplayConfig(e,a=!1){return{...e,allowDuplicates:!0,isWeightingEnabled:!!a,maxNames:Math.max(e?.maxNames??0,1e5)}}resolveReplayWeightEntries(e){const{displayWheelIndex:a,values:o,snapshotLabels:g,sourceWheel:C}=e;if(this.replayService.isStage3Replay)return rr({values:o,signedWeights:this.replayService.getStage3CommittedWeights(a),sourceWeights:null});const F=!!C&&!!(0,ve.K)({snapshotLabels:g,sourceWheel:C,lang:(0,tt.XC)(this.replayService.getSourceRef())});return rr({values:o,signedWeights:this.replayService.getSignedWeights(a),sourceWeights:F?nt(C):null})}applyStoredAppearance(e,a){a.colors?.length&&(e.colors=a.colors.map(o=>new et.Q({color:o,checked:!0}))),a.duringSpinSound&&(e.duringSpinSound=a.duringSpinSound),void 0!==a.duringSpinSoundVolume&&(e.duringSpinSoundVolume=a.duringSpinSoundVolume),a.afterSpinSound&&(e.afterSpinSound=a.afterSpinSound),void 0!==a.afterSpinSoundVolume&&(e.afterSpinSoundVolume=a.afterSpinSoundVolume),a.confettiEffectType&&(e.confettiEffectType=a.confettiEffectType),a.hubSize&&(e.hubSize=a.hubSize),a.pointerStyle&&(e.pointerStyle=a.pointerStyle),a.pictureType&&(e.pictureType=a.pictureType,a.galleryPictureUrl&&(e.galleryPictureUrl=a.galleryPictureUrl),a.customPictureDataUri&&(e.customPictureDataUri=a.customPictureDataUri),a.centerText&&(e.centerText=a.centerText)),void 0!==a.launchConfetti&&
1(e.launchConfetti=a.launchConfetti),void 0!==a.animateWinner&&(e.animateWinner=a.animateWinner)}applyEncodedWheelsParam(e){if(!(0,Q.UE)(this.platformId))return e;const a=this.replayService.snapshotWheels;if(!a?.length)return e;const o=OA()(e);if(this.replayService.isReplay){const C=this.replayService.getStoredTitle()||this.replayService.giveaway?.title||"";C&&(o.name=C,o.seo&&(o.seo.h1=C))}const g=this.replayService.isReplay?this.replayService.getStoredAppearance():null;return o.wheels=a.slice(0,8).map((C,F)=>{const G=OA()(o.config);this.replayService.isReplay&&(G.animateWinner=!0,G.confettiEffectType=G.confettiEffectType??Ut.O.Confetti),g&&this.applyStoredAppearance(G,g),this.replayService.isMaskedGiveawayWheel&&(G.displayWinnerDialog=!1,G.autoRemoveWinner=!1);const M=g?.colors?.length?g.colors.map(yA=>new et.Q({color:yA,checked:!0})):OA()(fe.vK.colors),AA=this.replayService.isReplay?this.resolveReplayWeightEntries({displayWheelIndex:F,values:C,snapshotLabels:C}):null,bA=this.replayService.isReplay?this.neutraliseReplayConfig(G,!!AA):G;return new ie.Q({values:C,...AA?{weightEntries:AA}:{},colors:M,config:bA})}),a.length>1&&(o.config={...o.config,isSpinAllOnly:!1}),o}setReplayFromParams(){var e=this;return(0,rA.A)(function*(){if(!(0,Q.UE)(e.platformId))return null;if(e.route.snapshot.paramMap.get("id")||e.route.snapshot.data.slugTable)return e.replayService.reset(),null;if(yield e.setGiveawayReplayFromPath())return null;const o=e.route.snapshot.queryParamMap;yield e.replayService.init({w:o.get("w"),r:o.get("r"),ts:o.get("ts"),sig:o.get("sig"),src:o.get("src"),sub:o.get("sub"),l:o.get("l"),wt:o.get("wt"),replayId:o.get("replay")});const g=e.replayService.legacyGiveawayPath;return g?(e.redirectToGiveawayReplay(g),null):o.get("replay")})()}redirectToGiveawayReplay(e){window.location.replace(e)}setGiveawayReplayFromPath(){var e=this;return(0,rA.A)(function*(){const a=((t,c)=>{const e=(0,XA.Rd)(t);return e?{isPathRoute:!0,replayId:e,state:(0,XA.an)(c,e)}:{isPathRoute:!1,replayId:"",state:null}})(window.location.pathname,document);return!!a.isPathRoute&&(a.state?yield e.replayService.initGiveawayReplay(a.state):(e.replayService.reset(),e.giveawayBootstrapMissing=!0,e.unresolvedGiveawayState=(0,XA.fu)(a.replayId)),!0)})()}applyReplayCanonical(){if(!(0,Q.UE)(this.platformId))return;if(this.isGiveawayReplayPage)return void this.applyGiveawayReplaySeo();const e=this.route.snapshot.queryParamMap;(e.get("w")||e.get("r")||e.get("replay"))&&this.seoService.setCanonical(bt.c.webDomain)}applyGiveawayReplaySeo(){if(!(0,Q.UE)(this.platformId)||!this.isGiveawayReplayPage)return;const e=((t,c)=>{const e=(0,XA.Rd)(t);return e?{robots:"noindex, follow",canonical:`${c}/replay/${e}`}:null})(window.location.pathname,bt.c.webDomain);e&&(this.seoService.lockRobots(e.robots),this.seoService.setCanonical(e.canonical))}subscribeClearDeletedReplayOnLeave(){(0,Q.UE)(this.platformId)&&this.route.queryParamMap.pipe((0,q.Q)(this.destroy$)).subscribe(e=>{((t,c)=>t&&!c)(this.replayService.isDeleted,e.get("replay"))&&(this.replayService.reset(),this.cd.markForCheck())})}handleExpiredReplay(){!(0,Q.UE)(this.platformId)||!this.replayService.expired||this.replayService.deleted||this.isGiveawayReplayPage||(this.replayExpiredNotice=!0,this.cd.markForCheck(),this.location.replaceState("/"))}dismissReplayExpired(){this.replayExpiredNotice=!1,this.cd.markForCheck()}get isReplay(){return this.replayService.isReplay}get isVerifiedDrawOwnerEligible(){return this.isBrowser&&!this.isReplay&&!!this.table?.id&&!!this.authService.userId&&this.authService.userId===this.table?.userId&&this.isOnline}get verifiedDrawEnabled(){return this.verifiedDrawService.enabled}get showProvablyFairIndicator(){return this.isVerifiedDrawOwnerEligible&&this.verifiedDrawService.enabled}get verifiedDrawResultLink(){return this.verifiedDrawService.result?.replayUrl??""}get showVerifiedDrawCopyLink(){return this.isBrowser&&this.isVerifiedDrawOwnerEligible&&!!this.verifiedDrawResultLink&&this.verifiedDrawSpinStopped}get spinProofPanel(){if(!this.isBrowser)return null;if(this.spinProofReplayPanel)return this.spinProofReplayPanel;if(!this.spinProofSpinStopped)return null;if(this.spinProofSpinService.panel){const e=this.spinProofSpinService.panel,a=this.spinProofSpinService.verification;return a&&e.grouped?(0,rn.Kz)(e,a,{context:"live-session",landings:(0,TA._)(this.spinProofSessionService.memberStates),sessionMayShowOverallVerified:this.spinProofSessionService.mayShowOverallVerified}):e}return"retryable"===this.spinProofSpinService.state?rn.r:null}get spinProofReplayUrl(){return this.spinProofReplayPanel||!this.spinProofSpinStopped?null:this.spinProofSpinService.sealed?this.spinProofSpinService.sealed.replayUrl:null}get spinProofReplayId(){return this.spinProofPanel?.replayId||this.spinProofSpinService.sealed?.replayId||null}get quietStage3ReplayBanner(){return!0===this.spinProofPanel?.compactSuccess}get exportableVerifiedSpinVerification(){return((t,c,e)=>e?.isReplayDeleted?null:he(t,c)?t??null:null)(this.spinProofReplayVerification||(this.spinProofSpinStopped?this.spinProofSpinService.verification:null),this.spinProofPanel?.status,{isReplayDeleted:this.isReplayDeleted})}toggleSpinProof(){this.spinProofExpanded=!this.spinProofExpanded}toggleSpinProofEntries(){this.spinProofEntriesExpanded=!this.spinProofEntriesExpanded}loadSpinProofForReplay(e){var a=this;return(0,rA.A)(function*(){if(a.spinProofReplayPanel=null,a.spinProofReplayVerification=null,!e||!a.spinProofVerificationService.enabled)return;const o=a.replaySession,g=yield a.spinProofVerificationService.verifyReplay(e);cr({destroyed:a.destroyed,session:o,currentSession:a.replaySession})&&g&&(a.spinProofReplayVerification=g,a.spinProofReplayPanel=(0,rn.uI)(g,void 0,{grouped:{context:"public-replay"}}),a.cd.markForCheck())})()}onSpinProofCopyReplayLink(e){if(!e)return;const a=()=>this.snackBar.open(this.translate.instant("verifiedDraw.linkCopied"),"",{duration:3e3});navigator?.clipboard?.writeText?navigator.clipboard.writeText(e).then(a).catch(()=>this.fallbackCopyLink(e,a)):this.fallbackCopyLink(e,a)}onSpinProofCopyReplayId(e){if(!e)return;const a=()=>this.snackBar.open(this.translate.instant("verifiedDraw.panel.replayIdCopied"),"",{duration:3e3});navigator?.clipboard?.writeText?navigator.clipboard.writeText(e).then(a).catch(()=>this.fallbackCopyLink(e,a)):this.fallbackCopyLink(e,a)}copyVerifiedDrawLink(){const e=this.verifiedDrawResultLink;if(!e)return;const a=()=>this.snackBar.open(this.translate.instant("verifiedDraw.linkCopied"),"",{duration:3e3});navigator?.clipboard?.writeText?navigator.clipboard.writeText(e).then(a).catch(()=>this.fallbackCopyLink(e,a)):this.fallbackCopyLink(e,a)}fallbackCopyLink(e,a){const o=document.createElement("textarea");o.value=e,o.style.position="fixed",o.style.opacity="0",document.body.appendChild(o),o.select();try{document.execCommand("copy"),a()}finally{document.body.removeChild(o)}}get isOnline(){return typeof navigator>"u"||navigator.onLine}get verifiedDrawHasUnsavedEdits(){return this.verifiedDrawService.hasUnsavedEdits(this.table)}syncVerifiedDrawState(){this.verifiedDrawService.enabled=!!this.table?.config?.isProvablyFairDraw&&this.isVerifiedDrawOwnerEligible&&!this.verifiedDrawHasUnsavedEdits}get isReplayVerified(){return this.replayService.isVerified}
1get isReplayUnverified(){return this.replayService.isUnverified}get replayBannerState(){return this.isBrowser?(t=>this.isReplayUnverified?"unverified":t&&"failed"===this.spinProofReplayPanel?.status?"proof-failed":t?"verified":"none")(this.isReplayVerified):"none"}get replayTimeFormatted(){const e=this.replayService.timestamp;if(!e)return null;try{const a=typeof navigator<"u"&&navigator.language||window.localStorage.getItem("language")||"en";return new Intl.DateTimeFormat(a,{dateStyle:"medium",timeStyle:"medium"}).format(new Date(e))}catch{return new Date(e).toLocaleString()}}get showReplayCta(){return(t=>!(!t.isBrowser||!t.isReplay||t.replayPlayed||!t.shouldRenderWheels||t.sourceBacked&&"ready"!==t.preparationState))({isBrowser:this.isBrowser,isReplay:this.replayService.isReplay,replayPlayed:this.replayPlayed,shouldRenderWheels:this.shouldRenderWheels,sourceBacked:this.isSourceBackedReplay,preparationState:this.replayPreparationState})}get showReplayWinnersSummary(){return!1}get replayWinnersSummary(){return((t,c,e=!0)=>this.replayService.isReplay&&(this.wheels?.length??0)>1&&e)(0,0,this.shouldRenderWheels)?(t=>{const c=t.groupedMembers;if(c&&c.length>1)return c.some(a=>null==a.winnerLabel)?[]:[...c].sort((a,o)=>a.wheelPosition-o.wheelPosition).map(a=>({wheelPosition:a.wheelPosition,displayWheelNumber:a.displayWheelNumber,winnerLabel:a.winnerLabel}));const e=t.fallbackWinnerLabels||[];return(t=>!!t&&t.length>1&&t.every(c=>"string"==typeof c))(e)?e.map((a,o)=>({wheelPosition:o,displayWheelNumber:o+1,winnerLabel:a})):[]})({groupedMembers:this.spinProofPanel?.grouped?.members??null,fallbackWinnerLabels:this.wheels?.map((o,g)=>{const C=this.replayService.getTargetIndex(g);if(null==C||!Array.isArray(o?.values))return null;const F=o.values[C];return"string"==typeof F?F:null})??[],blankLabel:""}):[]}get useInlineReplayCta(){return this.showReplayCta&&(this.wheels?.length??0)>1}get useFixedReplayCta(){return this.showReplayCta&&(this.wheels?.length??0)<=1}get showReplayDocumentContextNote(){return this.replayService.isReplay&&this.replayDocumentContextProvenNumbers.length>0&&(this.wheels?.length??0)>this.replayDocumentContextProvenNumbers.length}get replayDocumentContextNote(){const e=this.replayDocumentContextProvenNumbers;return 1===e.length?this.translate.instant("replay.documentContextNoteOne",{number:e[0]}):this.translate.instant("replay.documentContextNoteMany",{numbers:e.join(", ")})}get spinProofDocumentContextNote(){return this.showReplayDocumentContextNote&&this.spinProofPanel?this.replayDocumentContextNote:null}get ordinaryProofDocumentContextNote(){return this.showReplayDocumentContextNote&&!this.spinProofPanel?this.replayDocumentContextNote:null}onSpinProofFocusWheel(e){const a=e?.sourceWheelIndex;this.focusReplayWheelByPosition(this.replayDocumentContextProvenNumbers.length>0&&"number"==typeof a&&a>=0&&a<(this.wheels?.length??0)?a:e?.wheelPosition)}focusReplayWheelByPosition(e){(0,Q.UE)(this.platformId)&&lr(this.replayWheelFocus?.nativeElement,e)}get showOrdinaryReplayProofPanel(){return this.isBrowser&&this.isReplayVerified&&!this.isGiveawayReplayPage&&!(t=>!!t&&Ui.has(t))(this.spinProofReplayPanel?.status)}get isReplayFocusTarget(){return(()=>this.isBrowser&&this.replayService.isReplay&&this.shouldRenderWheels)()}get replayWheelAriaLabel(){return this.translate.instant((this.wheels?.length??0)>1?"replay.wheelRegion":"replay.wheelRegionOne")}replayWheelPositionAriaLabel(e){return this.translate.instant("replay.wheelPosition",{number:e+1})}get ordinaryReplayProofView(){if(!this.showOrdinaryReplayProofPanel)return null;const e=this.replayService.getVerifiedSignature(),a=this.replayService.getVerifiedCanonicalMessage(),o=this.replayService.getSourceRef(),g=[];this.replayTimeFormatted&&g.push({label:"Original spin",value:this.replayTimeFormatted}),e&&g.push({label:"Signature",value:e,mono:!0}),a&&g.push({label:"Signed message",value:this.truncateProofValue(a),mono:!0,title:a}),g.push({label:"Signing public key",value:bt.c.replaySigningPublicKey,mono:!0}),o&&g.push({label:"Source wheel",value:o});const C=this.replayService.getStoredTitle(),F=this.table?.name?this.translate.instant(this.table.name)||this.table.name:null;return{testId:"ordinary-replay-proof",heading:"Verified replay",title:C||F,rows:[{name:"Provably fair spin proof",value:"verified",ok:!0,testId:"spin-proof-row"}],showCryptoToggle:!0,facts:g}}toggleOrdinaryProof(){this.ordinaryProofExpanded=!this.ordinaryProofExpanded,this.cd.markForCheck()}playReplay(){(t=>!(t.replayPlayed||t.sourceBacked&&"ready"!==t.preparationState))({replayPlayed:this.replayPlayed,sourceBacked:this.isSourceBackedReplay,preparationState:this.replayPreparationState})&&(this.replayPlayed=!0,this.cd.markForCheck(),this.startReplaySpin(),this.focusReplayWheelAfterPlay())}focusReplayWheelAfterPlay(){if(!(0,Q.UE)(this.platformId))return;this.cancelReplayFocusFrames();const e=requestAnimationFrame(()=>{const a=requestAnimationFrame(()=>{this.replayFocusFrameIds=[];const o=this.replayWheelFocus?.nativeElement,g=(t=>{if(1!==t.provenSourceIndexes.length||t.displayWheelCount<=1)return null;const c=t.provenSourceIndexes[0];return!Number.isInteger(c)||c<0||c>=t.displayWheelCount?null:c})({provenSourceIndexes:this.replayDocumentContextProvenNumbers.map(C=>C-1),displayWheelCount:this.wheels?.length??0});null===g?Qi(o):lr(o,g)});this.replayFocusFrameIds.push(a)});this.replayFocusFrameIds.push(e)}cancelReplayFocusFrames(){for(const e of this.replayFocusFrameIds)cancelAnimationFrame(e);this.replayFocusFrameIds=[]}truncateProofValue(e,a=96){if(e.length<=a)return e;const o=Math.floor((a-1)/2),g=a-1-o;return`${e.slice(0,o)}\u2026${e.slice(-g)}`}startReplaySpin(){if(!this.winnerService.isSpinDisabled){if(this.replayDocumentContextProvenNumbers.length>0){const e=new Set(this.replayDocumentContextProvenNumbers.map(a=>a-1));return void this.wheelComponents?.forEach((a,o)=>{e.has(o)&&a.forceSpin()})}(this.wheels?.length??0)>1?this.onSpinnerClicked(!0):this.wheelComponents?.first?.forceSpin()}}handleWheelResolver(){var e=this;return(0,rA.A)(function*(){if(e.slugTable)return e.handleSlugTable(e.slugTable);e.currentTableId&&(e.isLoadingData=!0,e.cd.markForCheck(),e.wheelStateService.getWheelsById(e.currentTableId,null,{linkOpen:!0}).pipe((0,mt.$)()).subscribe({next:a=>(e.isLoadingData=!1,e.cd.markForCheck(),a?a.deleted?e.handleDeletedWheel():(e.isAdminTable(a),e.handleReceivedTable(OA()(a)),e.verifiedDrawService.setS
1avedSnapshot(a),void e.handleGettingCurrentWheel()):e.handleWheelNotFound()),error:()=>{e.isLoadingData=!1,e.cd.markForCheck(),e.snackBar.open("We couldn't load this wheel. Please try again.",e.translate.instant("common.Close"),{duration:7e3})}}))})()}handleSlugTable(e){if(e?.deleted)return this.handleDeletedWheel();this.handleReceivedTable(OA()(e)),this.handleSlugWheelState()}handleReceivedTable(e){if(e?.deleted)return;this.loadedComponentTime=(new Date).getTime(),this.table=e,this.isRouteTableReady=!0,this.setWheels(),this.currentLang=e.config.language,this.setIsSpinAllOnly(),this.ngZone.runOutsideAngular(()=>{this.wheelDbService.updateOpenedAt(e)}),e.wheels.length||e.wheels.push({...new ie.Q});const a=new Yn.k({description:e?.seo?.description||this.translate.instant("DESCRIPTION"),title:e?.seo?.title||e?.seo?.h1||e?.name});this.isAdminLoggedIn=this.authService.user$.value?.isAdmin,this.seoService.setMeta(a),this.seoSafeHtml=this.sanitizer.bypassSecurityTrustHtml(this.localizeSlugs(this.table?.seo.htmlContent)),this.cd.markForCheck()}handleWheelState(){this.wheelStateService.state$.pipe((0,q.Q)(this.destroy$)).subscribe(e=>{this.state=e,this.cd.markForCheck()})}handleWinnerBlockAnimation(){this.winnerService.onAnimate().pipe((0,q.Q)(this.destroy$)).subscribe(e=>{this.animateWinner=e,this.cd.markForCheck()})}handleFullScreenState(){this.spinnerService.isFullScreen().pipe((0,q.Q)(this.destroy$)).subscribe(e=>{this.wheelStateService.updateState({isFullScreen:e})})}handleGettingCurrentWheel(){this.isLoadingData=!0,this.cd.markForCheck(),this.wheelStateService.getCurrentWheel().pipe((0,q.Q)(this.destroy$)).subscribe(e=>(this.isLoadingData=!1,this.cd.markForCheck(),e=e||new zt.X,e?.deleted?this.handleDeletedWheel():(this.table=e,this.setWheels(),this.isAdminTable(e),this.syncVerifiedDrawState(),this.browserService.isMobile&&this.wheelsContainer?(this.handleWheelsAmountChange(e),this.wheelStateService.updateState({isMultipleWheelsMode:e?.wheels?.length>1})):(this.setIsSpinAllOnly(),this.wheelStateService.updateState({isMultipleWheelsMode:e?.wheels?.length>1}),void this.cd.markForCheck()))))}handleSlugWheelState(){this.wheelStateService.getCurrentWheel().pipe((0,q.Q)(this.destroy$)).subscribe(e=>{!e||e.deleted||(this.table=e,this.setWheels(),this.setIsSpinAllOnly(),this.wheelStateService.updateState({isMultipleWheelsMode:e?.wheels?.length>1}),this.cd.markForCheck())})}getWheelsParams(){this.iframeDetectorService.isEditorEnabled&&this.wheelStateService.updateState({isEdit:!0}),!this.slugTable&&this.route.queryParams.pipe((0,q.Q)(this.destroy$)).subscribe(e=>{const a=this.base64Service.getDecodedParams();a&&(e=a),this.wheelStateService.updateState({isShared:"true"===e?.share,isEdit:"false"!==e?.edit}),this.cd.markForCheck()})}noticeHomeCommands(){const a=this.router.url.split("?")[0].split("#")[0].split("/").filter(Boolean)[0];return a&&a!==this.country.defaultLang.languageSmall&&this.country.languagesSm.includes(a)?["/",a]:["/"]}handleWheelNotFound(){this.router.navigate(this.noticeHomeCommands(),{queryParams:{wheelNotFound:1}})}handleDeletedWheel(){this.router.navigate(this.noticeHomeCommands(),{queryParams:{removed:1}})}subscribeOnSpinProofChanges(){this.spinProofSpinService.changes$.pipe((0,q.Q)(this.destroy$)).subscribe(()=>{(t=>!t.isSpinning&&(t.hasSealedResult||t.isRetryable))({isSpinning:this.spinnerService.isSpinning$.value,hasSealedResult:!!this.spinProofSpinService.sealed,isRetryable:"retryable"===this.spinProofSpinService.state})&&(this.spinProofSpinStopped=!0),this.cd.markForCheck()})}subscribeOnSpinning(){this.spinnerService.isSpinning().pipe((0,q.Q)(this.destroy$)).subscribe(e=>{this.wheelStateService.updateState({isSpinning:e}),e?(this.verifiedDrawSpinStopped=!1,this.spinProofSpinStopped=!1):this.verifiedDrawResultLink&&(this.verifiedDrawSpinStopped=!0),!e&&(this.spinProofSpinService.sealed||"retryable"===this.spinProofSpinService.state)&&(this.spinProofSpinStopped=!0),!e&&this.replayPlayed&&this.isGiveawayReplayPage&&(this.giveawayWinnerRevealed=!0),this.cd.markForCheck()})}isAdminTable(e){if(e.config.showTitle)if(e.userId&&this.authService.userId===e.userId)this.isAdminWheel=!0;else{const a=this.wheelDbService.isAdminManagedDoc(e);this.isAdminWheel=a,this.isAdmin=a}this.adminService.isAdmin().subscribe(a=>{this.isAdmin=a,this.cd.detectChanges()})}langSubscription(){this.translate.onLangChange.pipe((0,q.Q)(this.destroy$)).subscribe(e=>{this.tableTranslation(e.lang),this.table.seo.slug&&this.table.config.isTranslated&&this.route.
1snapshot.parent?.routeConfig?.path&&this.wheelDbService.getTableBySlug(this.table.seo.slug,e.lang).pipe((0,q.Q)(this.destroy$)).subscribe(o=>{o=(0,sa.Aw)(o);let g=this.localizeSlugs(o?.seo.htmlContent);g=g.replaceAll("&amp;","&"),this.seoSafeHtml=this.sanitizer.bypassSecurityTrustHtml(g),this.slugTable?this.wheelStateService.emitTable(o):(this.wheelStateService.emitTable(o),this.router.navigate([`wheels/${o.id}`])),this.cd.detectChanges()})})}setIsSpinAllOnly(){this.isSpinAllOnly=this.table?.config.isSpinAllOnly,this.cd.markForCheck()}getDefaultTableTanslation(e){let a=this.wheelDefaultService.defaultTable$.value;this.country.languagesCodes.some(g=>a.config.winnerMessage==(0,QA.go)(g))&&(a.config.winnerMessage=(0,QA.go)(e)),a.wheels.forEach(g=>{this.country.languagesCodes.some(C=>g.config.winnerMessage==(0,QA.go)(C))&&(g.config.winnerMessage=(0,QA.go)(e)),this.country.languagesCodes.some(C=>g.values.toString()==(0,QA.gH)(C).toString())&&(g.values=(0,QA.gH)(e))}),this.country.languagesCodes.some(g=>a.config.winnerMessage==(0,QA.go)(g))&&(a.config.winnerMessage=(0,QA.go)(e));let o=a?.seo?.title||a?.seo?.h1||a?.name;return this.country.languagesCodes.some(g=>o==(0,QA.j$)(g))&&(o=(0,QA.j$)(e),a.seo.title=o),a}tableTranslation(e){if(this.slugTable)return;let a=!1,o=OA()(this.table);this.country.languagesCodes.some(C=>this.table.wheels[0].values.toString()==(0,QA.gH)(C).toString())&&(o.wheels[0].values=(0,QA.gH)(e),a=!0),this.country.languagesCodes.some(C=>this.table.config.winnerMessage==(0,QA.go)(C))&&(o.config.winnerMessage=(0,QA.go)(e),a=!0),o.wheels.forEach(C=>{this.country.languagesCodes.some(F=>C.config.winnerMessage==(0,QA.go)(F))&&(C.config.winnerMessage=(0,QA.go)(e),a=!0)}),this.country.languagesCodes.some(C=>o.config.winnerMessage==(0,QA.go)(C))&&(o.config.winnerMessage=(0,QA.go)(e));let g=o?.seo?.title||o?.seo?.h1||o?.name;if(this.country.languagesCodes.some(C=>g==(0,QA.j$)(C))){g=(0,QA.j$)(e),o.seo.title=g;const C=new Yn.k({description:this.translate.instant(o.seo?.description?o.seo?.description:"DESCRIPTION"),title:g});this.seoService.setMeta(C),a=!0}a&&this.wheelStateService.emitTable(o)}handleWheelsAmountChange(e){const a=this.wheelsContainerScrollHeight,o=this.wheelsContainerScrollTop;this.table=e,this.setWheels(),this.setIsSpinAllOnly();const g=this.wheelsContainerScrollTop;o===g&&this.setScrollTop(g,this.wheelsContainerScrollHeight-a),this.cd.markForCheck()}get wheelsContainerScrollHeight(){return this.wheelsContainer.nativeElement.scrollHeight}get wheelsContainerScrollTop(){return this.wheelsContainer.nativeElement.scrollTop}setScrollTop(e,a){this.wheelsContainer.nativeElement.scrollTop=e+a,window.scrollBy(0,a),this.cd.markForCheck()}getWheelByLang(e){this.table.seo.slug&&this.wheelDbService.getTableBySlug(this.table.seo.slug,e).pipe((0,q.Q)(this.destroy$)).subscribe(a=>{this.router.navigate(this.slugTable?[`${a.seo.slug}`]:[`wheels/${a.id}`])})}localizeSlugs(e){const a=(window.localStorage.getItem("language")??"").split("-")[0];return(0,Oe.i)(e,a)}onSpinnerClicked(e=!1){this.multipleWheelsActionsComponent&&this.multipleWheelsActionsComponent.spinAll(e)}finishWheelAnimations(){this.wheelComponents?.forEach(e=>e.finishSpin())}copy(e,a){a.select(),document.execCommand("copy"),a.setSelectionRange(0,0)}editInNewTab(e){window.open(`/profile/wheels/${e}/edit`,"_blank")}ngOnDestroy(){this.destroyed=!0,this.clearReplayHangTimer(),this.cancelReplayFocusFrames(),this.destroy$.next(!0),this.destroy$.complete(),this.destroy$.unsubscribe(),this.wheelStateService.emitTable(null),this.clearAbandonedDocumentProofPresentation(),this.audioService.playingAudio.next({action:Jn.d.stop})}subscribeClearProofPresentationOnRestore(){this.wheelStateService.onRestoreToDefault.pipe((0,q.Q)(this.destroy$)).subscribe(()=>{this.clearAbandonedDocumentProofPresentation()})}clearAbandonedDocumentProofPresentation(){this.replaySession++,(0,Et.iy)(),(t=>{t.spinProofSpin.reset(),t.spinProofSession.reset(),t.replay.reset(),t.verifiedDraw.clearResult(),t.verifiedDraw.enabled=!1})({spinProofSpin:this.spinProofSpinService,spinProofSession:this.spinProofSessionService,replay:this.replayService,verifiedDraw:this.verifiedDrawService}),(t=>{t.spinProofSpinStopped=!1,t.spinProofReplayPanel=null,t.spinProofReplayVerification=null,t.verifiedDrawSpinStopped=!1,t.replayDocumentContextProvenNumbers=[],t.replayPlayed=!1,t.ordinaryProofExpanded=!1,t.spinProofExpanded=!1,t.spinProofEntriesExpanded=!1,t.animateWinner="",t.giveawayWinnerRevealed=!1,t.replayExpiredNotice=!1,t.replayPreparationState="none",t.topologyFinalised=!1,t.giveawayBootstrapMissing=!1,t.unresolvedGiveawayState=null})(this),this.cd.markForCheck()}static{this.\u0275fac=function(a){return new(a||t)(A.rXU(wt.nX),A.rXU(ii.A),A.rXU(er.D),A.rXU(jn.u),A.rXU(zn.g),A.rXU(Pi.up),A.rXU(Ka.I),A.rXU(wt.Ix),A.rXU(L.bZ),A.rXU(ta.WheelDbService),A.rXU(na.B2),A.rXU(Va.j),A.rXU(ra.z),A.rXU(Ct.u),A.rXU(si.U),A.rXU(A.gRc),A.rXU(PA.c$),A.rXU(Ti.o),A.rXU(A.SKi),A.rXU(Bi.U),A.rXU(Ft.N),A.rXU(qn.S),A.rXU(li.i),A.rXU(ci.y),A.rXU(ir.b),A.rXU(Q.aZ),A.rXU(va.c),A.rXU(tn.UG),A.rXU(A.Agw))}}static{this.\u0275cmp=A.VBU({type:t,selectors:[["app-index-wheels"]],viewQuery:function(a,o){if(1&a&&(A.GBs($l,5),A.GBs(jl,5),A.GBs(Yl,5),A.GBs(ai.B,5),A.GBs(wi,5)),2&a){let g;A.mGM(g=A.lsd())&&(o.wheelsContainer=g.first),A.mGM(g=A.lsd())&&(o.wheelWrapper=g.first),A.mGM(g=A.lsd())&&(o.replayWheelFocus=g.first),A.mGM(g=A.lsd())&&(o.multipleWheelsActionsComponent=g.first),A.mGM(g=A.lsd())&&(o.wheelComponents=g)}},decls:12,vars:13,consts:[["wheelsContainer",""],["multipleWheelsActions",""],["wheelId",""],["replayWheelFocus",""],["wheelWrapper",""],[3,"isBackgroun
1dShown",4,"ngIf"],["data-testid","replay-page-root",1,"index-wheels-wrapper"],["class","replay-banner replay-banner--verified","role","status","data-testid","replay-banner-verified",4,"ngIf"],["class","replay-banner replay-banner--proof-failed","role","status","data-testid","replay-banner-proof-failed",4,"ngIf"],["class","replay-banner replay-banner--unverified","role","status","data-testid","replay-banner-unverified",4,"ngIf"],["class","replay-banner replay-banner--expired","role","status",4,"ngIf"],["class","replay-deleted","role","status","data-testid","replay-deleted",4,"ngIf"],["data-testid","replay-proof-section",4,"ngIf"],["class","index-wheels","data-testid","replay-wheel-section",3,"full-screen","index-wheels--release-page-height",4,"ngIf"],["data-testid","spin-proof-section",4,"ngIf"],["class","animated-background",4,"ngIf"],[3,"isBackgroundShown"],["role","status","data-testid","replay-banner-verified",1,"replay-banner","replay-banner--verified"],["class","replay-banner__badge",4,"ngIf"],["class","replay-banner__sep",4,"ngIf"],[1,"replay-banner__label"],["class","replay-banner__time",4,"ngIf"],[1,"replay-banner__badge"],[1,"replay-banner__sep"],[1,"replay-banner__time"],["role","status","data-testid","replay-banner-proof-failed",1,"replay-banner","replay-banner--proof-failed"],[1,"replay-banner__badge","replay-banner__badge--caution"],["role","status","data-testid","replay-banner-unverified",1,"replay-banner","replay-banner--unverified"],[1,"replay-banner__badge","replay-banner__badge--warn"],["role","status",1,"replay-banner","replay-banner--expired"],[1,"replay-banner__notice"],["type","button","aria-label","Dismiss",1,"replay-banner__dismiss",3,"click"],["role","status","data-testid","replay-deleted",1,"replay-deleted"],[1,"replay-deleted__title"],[1,"replay-deleted__body"],["data-testid","replay-proof-section"],[3,"state","integrityMismatch","winnerRevealed","signedIn"],["data-testid","replay-wheel-section",1,"index-wheels"],["class","provably-fair-bar",4,"ngIf"],[1,"index-wheels__config",3,"spinAllFinished","hideSpinAllBtn","isSpinAllOnly"],[1,"wheels-container",3,"ngClass"],["class","wheels-container_title",4,"ngIf"],["class","admin-panel",4,"ngIf"],["type","button","class","replay-cta","data-testid","play-replay-button",3,"click",4,"ngIf"],["class","replay-play-bar","data-testid","replay-play-bar",4,"ngIf"],["class","replay-source-pending","role","status","aria-live","polite","data-testid","replay-source-pending",4,"ngIf"],["class","replay-source-pending","role","alert","data-testid","replay-source-retry",4,"ngIf"],["class","replay-source-pending","role","status","data-testid","replay-source-unavailable",4,"ngIf"],["class","wheel-list",3,"wheel-list--replay-cta-visible","ngClass",4,"ngIf"],["class","instruction",4,"ngIf"],["class","auto-bottom-campaign","id","autoBottomCampaign","data-testid","replay-advert-area",4,"ngIf"],[1,"provably-fair-bar"],["class","provably-fair-indicator","role","status",4,"ngIf"],["type","button","class","provably-fair-copy",3,"click",4,"ngIf"],["role","status",1,"provably-fair-indicator"],[1,"provably-fair-indicator__badge"],["type","button",1,"provably-fair-copy",3,"click"],["aria-hidden","true",1,"provably-fair-copy__icon"],[1,"provably-fair-copy__label"],[1,"wheels-container_title"],[1,"admin-panel"],["readonly","",3,"click","value"],[3,"click"],["type","button","data-testid","play-replay-button",1,"replay-cta",3,"click"],["aria-hidden","true",1,"replay-cta__icon"],["data-testid","replay-play-bar",1,"replay-play-bar"],["type","button","data-testid","play-replay-button",1,"replay-cta","replay-cta--inline",3,"click"],["role","status","aria-live","polite","data-testid","replay-source-pending",1,"replay-source-pending"],[3,"isBackgroundShown","diameter"],[1,"replay-source-pending__label"],["role","alert","data-testid","replay-source-retry",1,"replay-source-pending"],["type","button","data-testid","replay-source-retry-button",1,"replay-source-pending__retry",3,"click"],["role","status","data-testid","replay-source-unavailable",1,"replay-source-pending"],[1,"wheel-list",3,"ngClass"],[3,"class",4,"ngFor","ngForOf","ngForTrackBy"],[1,"wrapper__wheel"],["class","wheel-center-campaign",3,"currentWheel","wheelWrapperWidth","click",4,"ngIf"],[3,"spinnerClicked","isSpinAllStarted","wheelIndex","isFullScreen","isSpinAllOnly"],[1,"sidebar-block",3,"hidden"],[3,"showAddWheel","showDeleteWheel","index","isShared","isEditMode","isEditTabActiveOnInit","loadedComponentTime","isCSV"],["class","under-values-campaign",4,"ngIf"],[1,"wheel-center-campaign",3,"click","currentWheel","wheelWrapperWidth"],[1,"under-values-campaign"],[1,"instruction"],["class","seo-html text-block",3,"innerHTML",4,"ngIf"],["class","author-list",3,"tableConfig",4,"ngIf"],[1,"seo-html","text-block",3,"innerHTML"],[1,"author-list",3,"tableConfig"],["id","autoBottomCampaign","data-testid","replay-advert-area",1,"auto-bottom-campaign"],[3,"state","integrityMismatch","winnerRevealed","signedIn",4,"ngIf"],[3,"view","expanded","documentContextNote","toggleProof",4,"ngIf"],[3,"toggleProof","view","expanded","documentContextNote"],["data-testid","spin-proof-section"],[3,"toggleDetails","toggleEntries","copyReplayLink","copyReplayId","focusWheel","view","expanded","entriesExpanded","replayUrl","replayId","documentContextNote","enableReplayWheelFocus"],[3,"verification","uiStatus",4,"ngIf"],[3,"verification","uiStatus"],[1,"animated-background"],[1,"content"],[1,"animated-text",2,"color","#ffffff",3,"innerHTML"],[1,"pyro"],[1,"before"],[1,"after"]],template:function(a,o){1&a&&(A.DNE(0,Tr,1,1,"app-spinner",5),A.j41(1,"div",6),A.DNE(2,ql,7,6,"div",7)(3,Ac,10,7,"div",8)(4,ec,4,3,"div",9)(5,tc,6,6,"div",10)(6,nc,7,6,"div",11)(7,rc,2,4,"div",12)(8,Es,16,23,"div",13)(9,pc,3,2,"div",12)(10,Ps,3,8,"div",14),A.k0s(),A.DNE(11,kr,6,1,"div",15)),2&a&&(A.Y8G("ngIf",o.isLoadingData),A.R7$(),A.AVh("no-header-margin",!(null!=o.table&&null!=o.table.config&&o.table.config.showTitle)),A.R7$(),A.Y8G("ngIf","verified"===o.replayBannerState),A.R7$(),A.Y8G("ngIf","proof-failed"===o.replayBannerState),A.R7$(),A.Y8G("ngIf","unverified"===o.replayBannerState),A.R7$(),A.Y8G("ngIf",o.replayExpiredNotice&&o.isBrowser),A.R7$(),A.Y8G("ngIf",o.isReplayDeleted),A.R7$(),A.Y8G("ngIf",o.showGiveawayProofAboveChrome),A.R7$(),A.Y8G("ngIf",!o.isReplayDeleted),A.R7$(),A.Y8G("ngIf",o.showGiveawayProofBelowAdvert||o.showOrdinaryReplayProofPanel),A.R7$(),A.Y8G("ngIf",o.spinProofPanel),A.R7$(),A.Y8G("ngIf",o.animateWinner&&o.isBrowser))},dependencies:[Q.YU,Q.Sq,Q.bT,D.PW,dn.t,ai.B,Na.h,Wa.K,Xa.y,$a.K,wi,Fo,Ho,_l,Fn,Pr,PA.D9],styles:['@charset "UTF-8";[hidden][_ngcontent-%COMP%]{display:none!important}.provably-fair-bar[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:8px auto 0;max-width:92%}.provably-fair-indicator[_ngcontent-%COMP%]{display:flex;justify-content:center}.provably-fair-indicator__badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;font-weight:700;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#fff;background:#28a430;padding:2px 10px;border-radius:999px;box-shadow:0 1px 4px #00000040}.provably-fair-copy[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;font-weight:600;font-size:12px;letter-spacing:.02em;color:#2f6f34;background:#e9f6ea;border:1px solid rgba(40,164,48,.5);padding:2px 10px;border-radius:999px;cursor:pointer;box-shadow:0 1px 4px #0003}.provably-fair-copy[_ngcontent-%COMP%]:hover{background:#dcefdd}.provably-fair-copy__icon[_ngcontent-%COMP%]{font-size:12px;line-height:1}.index-wheels-wrapper[_ngcontent-%COMP%]{min-height:calc(100vh - 90px)}.index-wheels-wrapper.no-header-margin[_ngcontent-%COMP%]{margin-top:10px}.wheel-list[data-testid=replay-wheel-focus][_ngcontent-%COMP%]:focus{outline:none}.replay-banner[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin:8px auto 0;padding:8px 14px;max-width:92%;border-radius:999px;text-align:center;box-shadow:0 1px 4px #00000040}.replay-banner--verified[_ngcontent-%COMP%]{background:#e9f6ea;border:1px solid rgba(40,164,48,.5)}.replay-banner--proof-failed[_ngcontent-%COMP%]{background:#fff6e5;border:1px solid rgba(184,120,8,.55)}.replay-banner--proof-failed[_ngcontent-%COMP%]   .replay-banner__label[_ngcontent-%COMP%]{color:#8a5a00}
1.replay-banner--unverified[_ngcontent-%COMP%]{background:#fdebeb;border:1px solid rgba(215,35,35,.5)}.replay-banner--expired[_ngcontent-%COMP%]{background:#ededf2;border:1px solid rgba(74,74,104,.4)}.replay-banner__notice[_ngcontent-%COMP%]{font-size:13px;color:#4a4a68}.replay-banner__dismiss[_ngcontent-%COMP%]{border:0;background:transparent;color:#4a4a68;font-size:18px;line-height:1;padding:0 4px;cursor:pointer}.replay-banner__badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;font-weight:700;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:#fff;background:#28a430;padding:3px 12px;border-radius:999px}.replay-banner__badge--warn[_ngcontent-%COMP%]{background:#d72323}.replay-banner__badge--caution[_ngcontent-%COMP%]{background:#c27a00}.replay-banner__label[_ngcontent-%COMP%]{font-weight:600;font-size:13px;color:#2f6f34;text-transform:uppercase;letter-spacing:.04em}.replay-banner__sep[_ngcontent-%COMP%]{color:#8a8aa0}.replay-banner__time[_ngcontent-%COMP%]{font-size:13px;color:#4a4a68}.replay-deleted[_ngcontent-%COMP%]{margin:48px auto 32px;padding:28px 24px;max-width:520px;text-align:center;background:#ededf2;border:1px solid rgba(74,74,104,.35);border-radius:12px;box-shadow:0 1px 4px #0000001f}.replay-deleted__title[_ngcontent-%COMP%]{margin:0 0 10px;font-size:20px;font-weight:650;line-height:1.3;color:#2f2f45}.replay-deleted__body[_ngcontent-%COMP%]{margin:0;font-size:15px;line-height:1.45;color:#4a4a68}.index-wheels[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:auto;min-height:calc(100vh - 90px);position:relative;padding-bottom:50px}.index-wheels--release-page-height[_ngcontent-%COMP%]{min-height:0}.index-wheels.full-screen[_ngcontent-%COMP%]{justify-content:center;padding-bottom:15px}.index-wheels__config[_ngcontent-%COMP%]{height:0}.index-wheels__config--replay-cta-visible[_ngcontent-%COMP%]{pointer-events:none}@media screen and (max-width: 889.98px){.index-wheels__config[_ngcontent-%COMP%]{display:none}}.index-wheels[_ngcontent-%COMP%]   .seo-html[_ngcontent-%COMP%]{-webkit-text-size-adjust:100%;overflow:visible;margin:2vh auto 0;border-radius:4px}.index-wheels[_ngcontent-%COMP%]   .author-list[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%;display:flex;justify-content:center}.index-wheels[_ngcontent-%COMP%]   .wheel-center-campaign[_ngcontent-%COMP%]{position:absolute;z-index:10}.index-wheels[_ngcontent-%COMP%]   .auto-bottom-campaign[_ngcontent-%COMP%]{position:fixed;z-index:2;bottom:0}.index-wheels[_ngcontent-%COMP%]   .under-values-campaign[_ngcontent-%COMP%]{pointer-events:auto;margin-top:40px}.index-wheels[_ngcontent-%COMP%]   .sidebar-block[_ngcontent-%COMP%]{min-width:350px;max-width:90%}.replay-cta[_ngcontent-%COMP%]{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:100;pointer-events:auto;display:inline-flex;align-items:center;gap:10px;padding:14px 28px;border:0;border-radius:999px;background:#28a430;color:#fff;font-size:18px;font-weight:700;letter-spacing:.02em;cursor:pointer;box-shadow:0 6px 20px #00000059;animation:_ngcontent-%COMP%_replay-cta-pulse 1.8s ease-in-out infinite}.replay-cta[_ngcontent-%COMP%]:hover{background:#239a2b}.replay-cta__icon[_ngcontent-%COMP%]{font-size:16px}.replay-cta--inline[_ngcontent-%COMP%]{position:static;top:auto;left:auto;transform:none;z-index:auto;margin:12px 0 4px;animation:none}.replay-play-bar[_ngcontent-%COMP%]{width:100%;max-width:720px;margin:0 auto 12px;display:flex;justify-content:center}.wheel-list--replay-cta-visible[_ngcontent-%COMP%]{pointer-events:none}.replay-source-pending[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:220px;padding:24px 12px;text-align:center}.replay-source-pending__label[_ngcontent-%COMP%]{margin:0;font-size:15px;line-height:1.4;color:#475569}.replay-source-pending__retry[_ngcontent-%COMP%]{margin-top:4px;padding:10px 20px;border:0;border-radius:8px;background:#1d4ed8;color:#fff;font-size:15px;font-weight:600;cursor:pointer}.replay-source-pending__retry[_ngcontent-%COMP%]:hover, .replay-source-pending__retry[_ngcontent-%COMP%]:focus-visible{background:#1e40af}.replay-session-summary[_ngcontent-%COMP%]{width:100%;max-width:720px;margin:0 auto 16px;padding:12px 16px 14px;box-sizing:border-box;text-align:left}.replay-session-summary__heading[_ngcontent-%COMP%]{margin:0 0 8px;font-size:1.05rem;font-weight:700}.replay-session-summary__list[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}.replay-session-summary__row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 8px;padding:4px 0;font-size:.98rem}.replay-session-summary__jump[_ngcontent-%COMP%], .replay-session-summary__chip[_ngcontent-%COMP%]{border:0;background:transparent;color:#1565c0;font:inherit;font-weight:600;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.replay-session-summary__jump[_ngcontent-%COMP%]:hover, .replay-session-summary__jump[_ngcontent-%COMP%]:focus-visible, .replay-session-summary__chip[_ngcontent-%COMP%]:hover, .replay-session-summary__chip[_ngcontent-%COMP%]:focus-visible{color:#0d47a1}.replay-session-summary__sep[_ngcontent-%COMP%]{color:#00000073}.replay-session-summary__winner[_ngcontent-%COMP%]{font-weight:600;word-break:break-word}.replay-session-summary__nav[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px 10px;margin-top:10px}.replay-session-summary__chip[_ngcontent-%COMP%]{text-decoration:none;border:1px solid rgba(21,101,192,.35);border-radius:999px;padding:4px 10px;background:#1565c00f}@media (max-width: 500px){.replay-session-summary[_ngcontent-%COMP%]{max-width:100%;padding-left:12px;padding-right:12px}}@keyframes _ngcontent-%COMP%_replay-cta-pulse{0%,to{box-shadow:0 6px 20px #28a43073}50%{box-shadow:0 6px 28px #28a430d9}}.wheels-container[_ngcontent-%COMP%]{position:relative;padding-top:0}.wheels-container_title[_ngcontent-%COMP%]{max-width:calc(100% - 230px);margin:auto;text-align:center;color:#fff;font-weight:500;word-break:break-word;text-shadow:0 0 3px #585858,0 0 7px #000}.wheels-container[_ngcontent-%COMP%]   app-footer[_ngcontent-%COMP%]{margin-top:auto}.wheels-container[_ngcontent-%COMP%]   .wheel-list[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.wheels-container[_ngcontent-%COMP%]   .wheel-list[_ngcontent-%COMP%]   .wrapper__wheel[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;align-items:center}.wheels-container[_ngcontent-%COMP%]   .wheel-list[_ngcontent-%COMP%]   .wrapper__wheel[_ngcontent-%COMP%]   app-wheel[_ngcontent-%COMP%]{width:inherit;max-width:inherit}.wheels-container[_ngcontent-%COMP%]   .wheel-list[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-sidebar[_ngcontent-%COMP%]{min-width:365px;max-width:90%}@media screen and (min-width: 1200px){.wheels-container[_ngcontent-%COMP%]   .wheel-list[_ngcontent-%COMP%]   .layout-1[_ngcontent-%COMP%]   app-wheel[_ngcontent-%COMP%]{height:calc(100vh - 140px);width:calc(100vh - 140px)}}.wheels-container[_ngcontent-%COMP%]   .wheel-list.row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:space-around;align-items:flex-start}.wheels-container[_ngcontent-%COMP%]   .wheel-list.row[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.wheels-container[_ngcontent-%COMP%]   .wheel-list.row[_ngcontent-%COMP%]   .layout-2[_ng
1content-%COMP%] > *[_ngcontent-%COMP%]{width:48vw}.wheels-container[_ngcontent-%COMP%]   .wheel-list.row[_ngcontent-%COMP%]   .layout-3[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:32vw}.wheels-container[_ngcontent-%COMP%]   .wheel-list.row[_ngcontent-%COMP%]   .layout-4[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:48vw}.wheels-container[_ngcontent-%COMP%]   .wheel-list.row[_ngcontent-%COMP%]   .layout-5[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .wheels-container[_ngcontent-%COMP%]   .wheel-list.row[_ngcontent-%COMP%]   .layout-6[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .wheels-container[_ngcontent-%COMP%]   .wheel-list.row[_ngcontent-%COMP%]   .layout-7[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:32vw}.wheels-container[_ngcontent-%COMP%]   .wheel-list.row[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .wheels-container[_ngcontent-%COMP%]   .wheel-list.row[_ngcontent-%COMP%]   .wrapper__wheel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-height:calc(100vh - 105px);max-width:calc(100vh - 105px)}@media screen and (max-width: 768px){.wheels-container[_ngcontent-%COMP%]   .wheel-list.row[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:48vw}}@media screen and (max-width: 500px){.wheels-container[_ngcontent-%COMP%]   .wheel-list.row[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{height:auto;display:block;width:100vw}}.wheels-container[_ngcontent-%COMP%]   .wheel-list.column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.wheels-container[_ngcontent-%COMP%]   .wheel-list.column[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-direction:row;align-items:flex-start;justify-content:center;flex-wrap:wrap;margin-bottom:5vh}.wheels-container[_ngcontent-%COMP%]   .wheel-list.column[_ngcontent-%COMP%]   .layout-1[_ngcontent-%COMP%]{margin-bottom:0}.wheels-container[_ngcontent-%COMP%]   .wheel-list.column[_ngcontent-%COMP%]   .layout-1[_ngcontent-%COMP%]   .wrapper__wheel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-width:100vw}.wheels-container[_ngcontent-%COMP%]   .wheel-list.column[_ngcontent-%COMP%]   .wrapper__wheel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-height:calc(100vh - 155px);max-width:100vw}@media screen and (max-width: 600px){.wheels-container[_ngcontent-%COMP%]   .wheel-list.column[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-direction:column;align-items:center}}.wheels-container_disabled[_ngcontent-%COMP%]{pointer-events:none}.wheels-container_full-screen[_ngcontent-%COMP%]   .column[_ngcontent-%COMP%]{flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important}.wheels-container_full-screen[_ngcontent-%COMP%]   .wrapper__wheel[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.wheels-container_full-screen[_ngcontent-%COMP%]   .layout-2[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .wheels-container_full-screen[_ngcontent-%COMP%]   .layout-4[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .wheels-container_full-screen[_ngcontent-%COMP%]   .layout-3[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:48vw!important}.wheels-container_full-screen[_ngcontent-%COMP%]   .layout-5[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .wheels-container_full-screen[_ngcontent-%COMP%]   .layout-6[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:32vw!important}.wheels-container_full-screen[_ngcontent-%COMP%]   .layout-7[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:24vw!important}.wheels-container_full-screen[_ngcontent-%COMP%]   .layout-1[_ngcontent-%COMP%]   .wrapper__wheel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .wheels-container_full-screen[_ngcontent-%COMP%]   .layout-2[_ngcontent-%COMP%]   .wrapper__wheel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .wheels-container_full-screen[_ngcontent-%COMP%]   .layout-3[_ngcontent-%COMP%]   .wrapper__wheel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-height:calc(100vh - 105px)!important;max-width:calc(100vh - 105px)!important}.wheels-container_full-screen[_ngcontent-%COMP%]   .layout-3[_ngcontent-%COMP%]   .wrapper__wheel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .wheels-container_full-screen[_ngcontent-%COMP%]   .layout-4[_ngcontent-%COMP%]   .wrapper__wheel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .wheels-container_full-screen[_ngcontent-%COMP%]   .layout-5[_ngcontent-%COMP%]   .wrapper__wheel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .wheels-container_full-screen[_ngcontent-%COMP%]   .layout-6[_ngcontent-%COMP%]   .wrapper__wheel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .wheels-container_full-screen[_ngcontent-%COMP%]   .layout-7[_ngcontent-%COMP%]   .wrapper__wheel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{max-height:calc(50vh - 70px)!important;max-width:calc(50vh - 70px)!important}.animated-background[_ngcontent-%COMP%]{text-align:center;position:fixed;display:block;width:100%;height:100%;inset:0;background-color:#000000b3;z-index:45;animation-name:fade-animation;animation-duration:1.5s;animation-timing-function:ease-in;animation-delay:0s;animation-iteration-count:1;animation-direction:normal;-webkit-user-select:none;user-select:none}.animated-background[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;position:relative;top:50%;transform:translateY(-50%)}.animated-background[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .animated-text[_ngcontent-%COMP%]{color:#0e3742;font-size:6em;animation:_ngcontent-%COMP%_winner-animation 3s linear infinite;-webkit-box-reflect:below 1px linear-gradient(transparent,rgba(0,0,0,.5333333333));line-height:.7em}.admin-panel[_ngcontent-%COMP%]{display:flex;align-items:center;column-gap:5px;margin:0 10px}
1.admin-panel[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .admin-panel[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{background-color:#e9e9e9b3;color:#303030;font-weight:700;padding:8px 12px;border-radius:6px;margin:0 5px;cursor:pointer;border:none}@keyframes _ngcontent-%COMP%_winner-animation{0%,18%,20%,50.1%,60%,65.1%,80%,90.1%,92%{color:#0e3742;text-shadow:none}18.1%,20.1%,30%,50%,60.1%,65%,80.1%,90%,92.1%,to{color:#fff;text-shadow:0 0 10px #03bcf4,0 0 20px #03bcf4,0 0 40px #03bcf4,0 0 80px #03bcf4,0 0 100px #03bcf4}}.pyro[_ngcontent-%COMP%] > .before[_ngcontent-%COMP%], .pyro[_ngcontent-%COMP%] > .after[_ngcontent-%COMP%]{position:absolute;width:5px;height:5px;border-radius:50%;box-shadow:-120px -218.66667px #00f,248px -16.66667px #00ff84,190px 16.33333px #002bff,-113px -308.66667px #ff009d,-109px -287.66667px #ffb300,-50px -313.66667px #ff006e,226px -31.66667px #ff4000,180px -351.66667px #ff00d0,-12px -338.66667px #00f6ff,220px -388.66667px #9f0,-69px -27.66667px #ff0400,-111px -339.66667px #6200ff,155px -237.66667px #0df,-152px -380.66667px #00ffd0,-50px -37.66667px #0fd,-95px -175.66667px #a6ff00,-88px 10.33333px #0d00ff,112px -309.66667px #005eff,69px -415.66667px #ff00a6,168px -100.66667px #ff004c,-244px 24.33333px #f60,97px -325.66667px #f06,-211px -182.66667px #00ffa2,236px -126.66667px #b700ff,140px -196.66667px #9000ff,125px -175.66667px #0bf,118px -381.66667px #ff002f,144px -111.66667px #ffae00,36px -78.66667px #f600ff,-63px -196.66667px #c800ff,-218px -227.66667px #d4ff00,-134px -377.66667px #ea00ff,-36px -412.66667px #ff00d4,209px -106.66667px #00fff2,91px -278.66667px #000dff,-22px -191.66667px #9dff00,139px -392.66667px #a6ff00,56px -2.66667px #09f,-156px -276.66667px #ea00ff,-163px -233.66667px #00fffb,-238px -346.66667px #00ff73,62px -363.66667px #08f,244px -170.66667px #0062ff,224px -142.66667px #b300ff,141px -208.66667px #9000ff,211px -285.66667px #f60,181px -128.66667px #1e00ff,90px -123.66667px #c800ff,189px 70.33333px #00ffc8,-18px -383.66667px #0f3,100px -6.66667px #ff008c;animation:1s _ngcontent-%COMP%_bang ease-out infinite backwards,1s _ngcontent-%COMP%_gravity ease-in infinite backwards,5s _ngcontent-%COMP%_position linear infinite backwards}.pyro[_ngcontent-%COMP%] > .after[_ngcontent-%COMP%]{animation-delay:1.25s,1.25s,1.25s;animation-duration:1.25s,1.25s,6.25s}@keyframes _ngcontent-%COMP%_bang{0%{box-shadow:0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff,0 0 #fff}}@keyframes _ngcontent-%COMP%_gravity{to{transform:translateY(200px);-moz-transform:translateY(200px);-webkit-transform:translateY(200px);-o-transform:translateY(200px);-ms-transform:translateY(200px);opacity:0}}@keyframes _ngcontent-%COMP%_position{0%,19.9%{margin-top:10%;margin-left:40%}20%,39.9%{margin-top:40%;margin-left:30%}40%,59.9%{margin-top:20%;margin-left:70%}60%,79.9%{margin-top:30%;margin-left:20%}80%,99.9%{margin-top:30%;margin-left:80%}}@media screen and (max-width: 640px){.wheels-container_title[_ngcontent-%COMP%]{max-width:90%}}'],changeDetection:0})}}return t})();const uc=[{path:"",component:Lr},{path:":id",component:Lr},{path:"**",redirectTo:"/wheels/default",pathMatch:"full"}];let Ts=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275mod=A.$C({type:t})}static{this.\u0275inj=A.G2t({imports:[wt.iI.forChild(uc),wt.iI]})}}return t})(),fc=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275mod=A.$C({type:t})}static{this.\u0275inj=A.G2t({imports:[Q.MD,Jt.R,Ts,De.X1,qs,PA.h,Aa.dX,ea.G,L.hM,h.Hl,CA.mV,iA.m_,oA.uc,pA.Y,J.pZ,tA.Cn]})}}return t})()},3498:(ce,mA,m)=>{"use strict";m.d(mA,{J:()=>de});var CA=m(8165),h=m(8782),L=m(9681),iA=m(7705),oA=m(981),pA=m(8251),J=m.n(pA),tA=m(2569);const Q=Object.freeze([{id:"ode-to-joy",titleKey:"musicxml.samples.OdeToJoy",path:"assets/musicxml-samples/ode-to-joy.musicxml"},{id:"twinkle-twinkle-little-star",titleKey:"musicxml.samples.TwinkleTwinkleLittleStar",path:"assets/musicxml-samples/twinkle-twinkle-little-star.musicxml"},{id:"frere-jacques",titleKey:"musicxml.samples.FrereJacques",path:"assets/musicxml-samples/frere-jacques.musicxml"},{id:"london-bridge",titleKey:"musicxml.samples.LondonBridge",path:"assets/musicxml-samples/london-bridge.musicxml"},{id:"hot-cross-buns",titleKey:"musicxml.samples.HotCrossBuns",path:"assets/musicxml-samples/hot-cross-buns.musicxml"}]);var y=m(9652),D=m(8283),N=m(6450),$=m(2525),vA=m(2452),ee=m(6937),te=m(2389),dt=m(3068),NA=m(1052),Me=m(8070);function Je(lA,ne){if(1&lA&&(h.j41(0,"p",23),h.EFF(1),h.k0s()),2&lA){const I=h.XpG();h.R7$(),h.JRh(I.fileError)}}function U(lA,ne){if(1&lA&&(h.j41(0,"p",24),h.EFF(1),h.k0s()),2&lA){const I=h.XpG();h.R7$(),h.JRh(I.playbackWarning)}}function E(lA,ne){if(1&lA&&(h.j41(0,"mat-option",25),h.EFF(1),h.nI1(2,"translate"),h.k0s()),2&lA){const I=ne.$implicit;
1h.Y8G("value",I.id),h.R7$(),h.JRh(h.bMT(2,2,I.titleKey))}}function z(lA,ne){1&lA&&h.nrm(0,"mat-spinner",26),2&lA&&h.Y8G("diameter",16)}function eA(lA,ne){if(1&lA&&(h.j41(0,"p",27),h.EFF(1),h.k0s()),2&lA){const I=h.XpG();h.R7$(),h.JRh(I.sampleError)}}function fA(lA,ne){1&lA&&h.nrm(0,"app-spinner")}const WA=[".musicxml"];let de=(()=>{class lA{constructor(I,W,k,Y,nA){this.formBuilder=I,this.dialogRef=W,this.translate=k,this.http=Y,this.platformId=nA,this.isLoading=!1,this.isDraggingFile=!1,this.fileError=null,this.playbackWarning=null,this.samples=Q,this.selectedSampleId="ode-to-joy",this.isSampleLoading=!1,this.sampleError=null,this.destroy$=new iA.B,this.renderToken=0,this.osmdConstructorPromise=null,this.inputGeneration=0,this.pendingSampleRequest=null,this.isApplyingSampleValue=!1,this.isModalClosed=!1,this.sampleTextCache=new Map,this.isBrowser=(0,tA.UE)(this.platformId)}ngOnInit(){this.initForm(),this.subscribeOnFormChanges(),this.subscribeOnDialogClose()}handleInsertClick(){const{musicXML:I}=this.musicXMLForm.value;this.isValidMusicXML(I)&&this.getImageFromMusicXML(I)}handleFileDragOver(I){I.preventDefault(),I.stopPropagation(),this.isDraggingFile=!0}handleFileDragLeave(I){I.preventDefault(),I.stopPropagation(),this.isDraggingFile=!1}handleFileDrop(I){I.preventDefault(),I.stopPropagation(),this.isDraggingFile=!1,this.readMusicXMLFileList(I.dataTransfer?.files)}handleFileSelected(I){const W=I.target;this.readMusicXMLFileList(W.files),W.value=""}handleUseSampleClick(){if(this.isSampleLoading||this.isModalClosed)return;const I=this.samples.find(({id:nA})=>nA===this.selectedSampleId);if(!I)return;const W=this.startSampleRequest(),k=this.sampleTextCache.get(I.id);if(void 0!==k)return void this.applySampleXML(k,W);const Y=this.http.get(I.path,{responseType:"text"}).pipe((0,oA.Q)(this.destroy$)).subscribe({next:nA=>this.handleSampleLoaded(I,nA,W),error:()=>this.failSampleRequest(W)});Y.closed||(this.pendingSampleRequest=Y)}subscribeOnDialogClose(){this.dialogRef.beforeClosed().pipe((0,oA.Q)(this.destroy$)).subscribe(()=>{this.isModalClosed=!0,this.stopPendingSampleRequest()})}startSampleRequest(){return this.stopPendingSampleRequest(),this.sampleError=null,this.isSampleLoading=!0,++this.inputGeneration}handleSampleLoaded(I,W,k){this.applySampleXML(W,k,I.id)}applySampleXML(I,W,k){if(!this.isSampleGenerationCurrent(W))return;const Y=this.getMusicXMLValidationError(I);if(Y)return this.finishSampleRequest(),void(this.sampleError=Y);k&&this.sampleTextCache.set(k,I),this.isApplyingSampleValue=!0,this.musicXMLForm.get("musicXML")?.setValue(I),this.isApplyingSampleValue=!1,this.finishSampleRequest()}failSampleRequest(I){this.isSampleGenerationCurrent(I)&&(this.finishSampleRequest(),this.sampleError=this.getMusicXMLMessage("SampleCouldNotBeLoaded"))}finishSampleRequest(){this.pendingSampleRequest=null,this.isSampleLoading=!1}isSampleGenerationCurrent(I){return!this.isModalClosed&&I===this.inputGeneration}cancelPendingSampleRequest(){this.pendingSampleRequest?.unsubscribe(),this.pendingSampleRequest=null}stopPendingSampleRequest(){this.cancelPendingSampleRequest(),this.isSampleLoading=!1}invalidatePendingSampleWork(){return this.stopPendingSampleRequest(),++this.inputGeneration}initForm(){this.musicXMLForm=this.formBuilder.group({musicXML:["",L.k0.required]})}subscribeOnFormChanges(){this.musicXMLForm.valueChanges.pipe((0,oA.Q)(this.destroy$)).subscribe(({musicXML:I})=>{this.isApplyingSampleValue||this.invalidatePendingSampleWork(),this.fileError=null,this.sampleError=null,this.playbackWarning=this.getMusicXMLPlaybackWarning(I),this.renderOSMDMusicSheet(I)})}readMusicXMLFileList(I){if(I?.length){if(I.length>1)return void(this.fileError=this.getMusicXMLMessage("OneFileOnly"));this.readMusicXMLFile(I[0])}}readMusicXMLFile(I){this.fileError=null;const W=this.invalidatePendingSampleWork(),k=I.name.toLowerCase();if(!WA.some(nA=>k.endsWith(nA)))return void(this.fileError=this.getMusicXMLMessage("UseMusicXMLFile"));if(I.size>25e4)return void(this.fileError=this.getMusicXMLMessage("MusicXMLTooLarge"));const Y=new FileReader;Y.onload=()=>{if(!this.isSampleGenerationCurrent(W))return;const nA="string"==typeof Y.result?Y.result:"",FA=this.getMusicXMLValidationError(nA);FA?this.fileError=FA:this.musicXMLForm.get("musicXML")?.setValue(nA)},Y.onerror=()=>{this.isSampleGenerationCurrent(W)&&(this.fileError=this.getMusicXMLMessage("FileCouldNotBeRead"))},Y.readAsText(I)}renderOSMDMusicSheet(I){var W=this;return(0,CA.A)(function*(){if(!W.isBrowser)return;const k=document.getElementById("preview-container");if(!k)return;const Y=++W.renderToken;k.innerHTML="";
1const nA=W.getMusicXMLValidationError(I);if(nA){const re=document.createElement("p");return re.innerText=nA,re.style.color="red",void k.appendChild(re)}const FA=W.minifyXML(I);try{const re=yield W.getOpenSheetMusicDisplay();if(Y!==W.renderToken)return;const Pe=new re(k,{backend:"svg",drawTitle:!1,drawPartNames:W.scoreHasMeaningfulPartNames(I)});if(yield Pe.load(FA),Y!==W.renderToken)return;Pe.render()}catch{if(Y!==W.renderToken)return;k.innerHTML="";const re=document.createElement("p");re.innerText=W.getMusicXMLMessage("MusicXMLCouldNotBeRendered"),re.style.color="red",k.appendChild(re)}})()}isValidMusicXML(I){return!this.getMusicXMLValidationError(I)}getMusicXMLValidationError(I){if(!this.isBrowser)return this.getMusicXMLMessage("BrowserOnly");try{if(!I?.trim().startsWith("<?xml"))return this.getMusicXMLMessage("InvalidMusicXML");if(new Blob([I]).size>25e4)return this.getMusicXMLMessage("MusicXMLTooLarge");const k=(new DOMParser).parseFromString(I,"text/xml");if(k.querySelector("parsererror"))return this.getMusicXMLMessage("InvalidMusicXML");const Y=k.documentElement;if(!Y||"score-partwise"!==Y.tagName&&"score-timewise"!==Y.tagName)return this.getMusicXMLMessage("InvalidMusicXML");const nA=k.querySelector("part-list"),FA=k.querySelectorAll("part");return nA&&FA.length>0?null:this.getMusicXMLMessage("InvalidMusicXML")}catch{return this.getMusicXMLMessage("InvalidMusicXML")}}getMusicXMLPlaybackWarning(I){if(!I||this.getMusicXMLValidationError(I))return null;const k=(new DOMParser).parseFromString(I,"text/xml");return Array.from(k.querySelectorAll("note")).filter(nA=>!nA.querySelector("rest")).length>512?this.getMusicXMLMessage("PlaybackMayBeLimited"):null}getMusicXMLMessage(I){return`* ${this.translate.instant(`musicxml.${I}`)}`}scoreHasMeaningfulPartNames(I){try{const Y=(new DOMParser).parseFromString(I,"text/xml").querySelectorAll("part-name, part-abbreviation, part-name-display display-text");return Array.from(Y).some(nA=>(nA.textContent||"").trim().length>0)}catch{return!1}}minifyXML(I){return I.replace(/\r\n/g," ").replace(/\n/g," ").replace(/\r/g," ").replace(/\s+/g," ").replace(/>\s+</g,"><").trim()}getOpenSheetMusicDisplay(){return this.osmdConstructorPromise=this.osmdConstructorPromise||m.e(177).then(m.t.bind(m,1177,23)).then(I=>I.OpenSheetMusicDisplay),this.osmdConstructorPromise}getImageFromMusicXML(I){this.isLoading=!0;const W="preview-container",k=document.getElementById(W);if(!k)throw this.isLoading=!1,new Error(`Element with ID "${W}" not found.`);J()(k,{useCORS:!0,backgroundColor:null,scale:2}).then(Y=>{const nA=new Image;nA.src=Y.toDataURL("image/png"),nA.setAttribute("data-musicxml",encodeURIComponent(this.minifyXML(I))),this.isLoading=!1,this.dialogRef.close(nA)})}ngOnDestroy(){this.isModalClosed=!0,this.stopPendingSampleRequest(),this.destroy$.next(!0),this.destroy$.complete(),this.destroy$.unsubscribe()}static{this.\u0275fac=function(W){return new(W||lA)(h.rXU(L.ok),h.rXU(y.CP),h.rXU(D.c$),h.rXU(N.Qq),h.rXU(h.Agw))}}static{this.\u0275cmp=h.VBU({type:lA,selectors:[["app-music-sheet-modal"]],decls:49,vars:49,consts:[["musicXMLFileInput",""],[1,"music",3,"formGroup"],[1,"music__file-drop",3,"dragover","dragleave","drop"],["type","file","accept",".musicxml","hidden","",3,"change"],["type","button","mat-stroked-button","",3,"click"],["class","music__file-error",4,"ngIf"],["class","music__playback-warning",4,"ngIf"],["appearance","fill"],["formControlName","musicXML","matInput","","rows","5",3,"placeholder"],[1,"music__samples"],["id","music-samples-label",1,"music__samples-label"],["appearance","fill",1,"music__samples-field"],["aria-describedby","music-samples-label",3,"valueChange","value","disabled"],[3,"value",4,"ngFor","ngForOf"],["type","button","mat-stroked-button","",1,"music__samples-button",3,"click","disabled"],["class","music__samples-spinner",3,"diameter",4,"ngIf"],["role","status","aria-live","polite",1,"music__samples-status"],["class","music__file-error","role","alert",4,"ngIf"],["id","preview-container",1,"preview-container"],[1,"modal-card-foot"],["type","button","mat-raised-button","","mat-dialog-close",""],["type","button","mat-raised-button","","color","primary",3,"click"],[4,"ngIf"],[1,"music__file-error"],[1,"music__playback-warning"],[3,"value"],[1,"music__samples-spinner",3,"diameter"],["role","alert",1,"music__file-error"]],template:function(W,k){if(1&W){const Y=h.RV6();h.j41(0,"form",1)(1,"h3"),h.EFF(2),h.nI1(3,"translate"),h.k0s(),h.j41(4,"div",2),h.bIt("dragover",function(FA){return h.eBV(Y),h.Njj(k.handleFileDragOver(FA))})("dragleave",function(FA){return h.eBV(Y),h.Njj(k.handleFileDragLeave(FA))})("drop",function(FA){return h.eBV(Y),h.Njj(k.handleFileDrop(FA))}),h.j41(5,"p"),h.EFF(6),h.nI1(7,"translate"),h.k0s(),h.j41(8,"input",3,0),h.bIt("change",function(FA){return h.eBV(Y),h.Njj(k.handleFileSelected(FA))}),h.k0s(),h.j41(10,"button",4),h.bIt("click",function(){h.eBV(Y);const FA=h.sdS(9);return h.Njj(FA.click())}),h.EFF(11),h.nI1(12,"translate"),h.k0s(),h.DNE(13,Je,2,1,"p",5),h.k0s(),h.DNE(14,U,2,1,"p",6),h.j41(15,"mat-form-field",7)(16,"mat-label"),h.EFF(17),h.nI1(18,"translate"),h.k0s(),h.nrm(19,"textarea",8),h.nI1(20,"translate"),h.k0s(),h.j41(21,"div",9)(22,"span",10),h.EFF(23),h.nI1(24,"translate"),h.k0s(),h.j41(25,"mat-form-field",11)(26,"mat-label"),h.EFF(27),h.nI1(28,"translate"),h.k0s(),h.j41(29,"mat-select",12),h.nI1(30,"translate"),h.mxI("valueChange",function(FA){return h.eBV(Y),h.DH7(k.selectedSampleId,FA)||(k.selectedSampleId=FA),h.Njj(FA)}),h.DNE(31,E,3,4,"mat-option",13),h.k0s()(),h.j41(32,"button",14),h.bIt("click",function(){return h.eBV(Y),h.Njj(k.handleUseSampleClick())}),h.DNE(33,z,1,1,"mat-spinner",15),h.EFF(34),h.nI1(35,"translate"),h.k0s(),h.j41(36,"span",16),h.EFF(37),h.nI1(38,"translate"),h.k0s()(),h.DNE(39,eA,2,1,"p",17),h.nrm(40,"div",18),h.j41(41,"footer",19)(42,"button",20),h.EFF(43),h.nI1(44,"translate"),h.k0s(),h.j41(45,"button",21),h.bIt("click",function(){return h.eBV(Y),h.Njj(k.handleInsertClick())}),h.EFF(46),h.nI1(47,"translate"),h.k0s()()(),h.DNE(48,fA,1,0,"app-spinner",22)}2&W&&(h.Y8G("formGroup",k.musicXMLForm),h.R7$(2),h.JRh(h.bMT(3,25,"musicxml.InsertMusicSheetXML")),h.R7$(2),h.AVh("music__file-drop_active",k.isDraggingFile),h.R7$(2),h.JRh(h.bMT(7,27,"musicxml.DragMusicXMLFile")),h.R7$(5),h.JRh(h.bMT(12,29,"musicxml.ChooseMusicXMLFile")),h.R7$(2),h.Y8G("ngIf",k.fileError),h.R7$(),h.Y8G("ngIf",k.playbackWarning),h.R7$(3),h.JRh(h.bMT(18,31,"musicxml.MusicXML")),h.R7$(2),h.Y8G("placeholder",h.bMT(20,33,"musicxml.PasteMusicXML")),h.R7$(4),h.JRh(h.bMT(24,35,"musicxml.OrTryASample")),h.R7$(4),h.JRh(h.bMT(28,37,"musicxml.SampleSelectLabel")),h.R7$(2),h.R50("value",k.selectedSampleId),h.Y8G("disabled",k.isSampleLoading),h.BMQ("aria-label",h.bMT(30,39,"musicxml.SampleSelectLabel")),h.R7$(2),h.Y8G("ngForOf",k.samples),h.R7$(),h.Y8G("disabled",k.isSampleLoading),h.BMQ("aria-busy",k.isSampleLoading),h.R7$(),h.Y8G("ngIf",k.isSampleLoading),h.R7$(),h.SpI(" ",h.bMT(35,41,"musicxml.UseSample")," "),h.R7$(3),h.SpI(" ",k.isSampleLoading?h.bMT(38,43,"musicxml.LoadingSample"):""," "),h.R7$(2),h.Y8G("ngIf",k.sampleError),h.R7$(4),h.SpI(" ",h.bMT(44,45,"common.Cancel")," "),h.R7$(3),h.JRh(h.bMT(47,47,"musicxml.Insert")),h.R7$(2),h.Y8G("ngIf",k.isLoading))},dependencies:[tA.Sq,tA.bT,L.qT,L.me,L.BC,L.cb,L.j4,L.JD,$.LG,vA.$z,y.tx,ee.t,te.rl,te.nJ,dt.fg,NA.VO,Me.wT,D.D9],styles:[".music[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;max-height:85vh;min-height:0}.music[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:20px;font-weight:500;flex:0 0 auto}.music[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{flex:0 0 auto}.music__file-drop[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;padding:16px;border:2px dashed #cfd8dc;border-radius:8px;background:#fafafa;text-align:center}.music__file-drop[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0}.music__file-drop_active[_ngcontent-%COMP%]{border-color:#37474f;background:#eef3f5}.music__file-error[_ngcontent-%COMP%]{color:red}.music__playback-warning[_ngcontent-%COMP%]{margin:0;color:#8a5a00}.music__samples[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}.music__samples[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin-bottom:-1.25em}.music__samples-label[_ngcontent-%COMP%]{flex:1 1 100%;font-weight:500}.music__samples-field[_ngcontent-%COMP%]{flex:1 1 180px;min-width:0}.music__samples-button[_ngcontent-%COMP%]{flex:0 0 auto}.music__samples-button[_ngcontent-%COMP%]   mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-right:8px;vertical-align:middle}.music__samples-status[_ngcontent-%COMP%]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}@media (max-width: 480px){.music__samples[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.music__samples-field[_ngcontent-%COMP%], .music__samples-button[_ngcontent-%COMP%]{width:100%}}.music[_ngcontent-%COMP%]   .preview-container[_ngcontent-%COMP%]{flex:1 1 auto;min-height:160px;max-height:48vh;overflow:auto;border:1px solid #ddd;border-radius:8px;padding:8px;background:#fff}.music[_ngcontent-%COMP%]   .preview-container[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{max-width:none}
1.music[_ngcontent-%COMP%]   .modal-card-foot[_ngcontent-%COMP%]{position:sticky;bottom:0;z-index:1;display:flex;gap:16px;align-items:center;justify-content:flex-end;flex:0 0 auto;padding-top:8px;background:#fff}"]})}}return lA})()},5162:(ce,mA,m)=>{"use strict";m.d(mA,{R:()=>CA});class CA{constructor(){this.lastFrameTimeMs=0,this.delta=0,this.timestep=1e3/60}setTimestamp(L){0==this.lastFrameTimeMs?this.delta=this.timestep:this.delta+=L-this.lastFrameTimeMs,this.lastFrameTimeMs=L}shouldTick(){const L=this.delta>=this.timestep;return L&&(this.delta-=this.timestep),L}}},2687:(ce,mA,m)=>{"use strict";m.d(mA,{k:()=>CA});class CA{constructor({title:L,url:iA,description:oA,previewImage:pA,headScripts:J,bodyScripts:tA}={}){this.title=L||"Spin the Wheel \u2013 Free Wheel Spinner & Random Wheel Generator | Custom Picker Wheel",this.url=iA||"https://spinthewheel.io",this.description=oA||"Create and spin single or multiple custom wheels online. Use this free random wheel spinner as a name picker, number picker or decision maker. Add entries, apply themes and sounds, save your wheels and let the wheel decide.",this.previewImage=pA||"https://spinthewheel.io/assets/og-images/og-main-image.webp",this.headScripts=J||"",this.bodyScripts=tA||""}}},7639:(ce,mA,m)=>{"use strict";m.d(mA,{K:()=>A});const h=new Map,iA=(y,D)=>{const N=(y=>{const D=y||"en-UK",N=h.get(D);if(N)return N;try{const $=new Intl.PluralRules(D);return h.set(D,$),$}catch{return null}})(y);if(!N)return"other";const $="number"==typeof D&&isFinite(D)?Math.abs(Math.floor(D)):0;return N.select($)};var tA=m(8782),Q=m(8283);let A=(()=>{class y{constructor(N){this.translate=N}get locale(){return this.translate.currentLang||this.translate.defaultLang||"en-UK"}category(N){return iA(this.locale,N)}key(N,$){return((y,D,N,$)=>{const vA=iA(this.locale,N);if("other"!==vA){const ee=`${y}.${vA}`;if($(ee))return ee}return`${y}.other`})(N,0,$,vA=>this.has(vA))}instant(N,$,vA={}){return this.translate.instant(this.key(N,$),{count:$,...vA})}has(N){const $=this.translate.instant(N);return"string"==typeof $&&$!==N&&$.length>0}static{this.\u0275fac=function($){return new($||y)(tA.KVO(Q.c$))}}static{this.\u0275prov=tA.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}}return y})()},9453:(ce,mA,m)=>{"use strict";m.d(mA,{T:()=>tA,a:()=>J});var CA=m(8165),h=m(6450),L=m(8782),iA=m(7763),oA=m(9895),pA=m(8868);const J=new L.nKC("GIVEAWAY_ID_TOKEN_PROVIDER",{providedIn:"root",factory:()=>(0,CA.A)(function*(){const Q=(0,iA.xI)().currentUser;return Q?Q.getIdToken():null})});let tA=(()=>{class Q{constructor(y){this.http=y,this.base=pA.c.twitchWorkerUrl??"",this.idToken=(0,L.WQX)(J)}get configured(){return!!this.base}options(){return this.request("GET","/v2/giveaways/options")}list(y){const D=y?(new h.Nl).set("limit",String(y)):void 0;return this.request("GET","/v2/giveaways",void 0,D)}get(y){return this.request("GET",`/v2/giveaways/${encodeURIComponent(y)}`)}create(y){return this.request("POST","/v2/giveaways",y)}attachSource(y,D){return this.request("POST",`/v2/giveaways/${encodeURIComponent(y)}/sources`,D)}setStyle(y,D={}){return this.request("POST",`/v2/giveaways/${encodeURIComponent(y)}/style`,{styleWheelId:D.styleWheelId||"",styleThemeId:D.styleThemeId||""})}checkAnnouncer(y,D){return this.request("POST",`/v2/giveaways/${encodeURIComponent(y)}/sources/${encodeURIComponent(D)}/announcer-check`,{})}retryAnnouncement(y,D){const N=D?{platform:D}:{};return this.request("POST",`/v2/giveaways/${encodeURIComponent(y)}/announcement/retry`,N)}finishAnnouncement(y){return this.request("POST",`/v2/giveaways/${encodeURIComponent(y)}/announcement/finish`,{})}detachSource(y,D){return this.request("DELETE",`/v2/giveaways/${encodeURIComponent(y)}/sources/${encodeURIComponent(D)}`)}start(y){return this.request("POST",`/v2/giveaways/${encodeURIComponent(y)}/start`,{})}stop(y){return this.request("POST",`/v2/giveaways/${encodeURIComponent(y)}/stop`,{})}cancel(y){return this.request("POST",`/v2/giveaways/${encodeURIComponent(y)}/cancel`,{})}hideFromHistory(y){return this.request("POST",`/v2/giveaways/${encodeURIComponent(y)}/hide-from-history`,{})}hideHistory(){return this.request("POST","/v2/giveaways/hide-history",{})}hideSelected(y){return this.request("POST","/v2/giveaways/hide-selected-history",{giveawayIds:y})}draw(y){return this.request("POST",`/v2/giveaways/${encodeURIComponent(y)}/draw`,{})}entrants(y,D={}){let N=new h.Nl;return D.limit&&(N=N.set("limit",String(D.limit))),this.request("GET",`/v2/giveaways/${encodeURIComponent(y)}/entrants`,void 0,N)}request(y,D,N,$){var vA=this;return(0,CA.A)(function*(){if(!vA.base)throw new Error("No giveaway worker URL configured for this environment.");
1const ee=yield vA.idToken();if(!ee)throw new Error("You must be signed in as an authorised owner.");const te={headers:new h.Lr({Authorization:`Bearer ${ee}`}),...$?{params:$}:{},...void 0===N?{}:{body:N}};return(0,oA._)(vA.http.request(y,`${vA.base}${D}`,te))})()}static{this.\u0275fac=function(D){return new(D||Q)(L.KVO(h.Qq))}}static{this.\u0275prov=L.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"})}}return Q})()},4603:(ce,mA,m)=>{"use strict";m.d(mA,{B2:()=>tA});var CA=m(2569),h=m(8782),L=m(209),iA=m(334),oA=m(8283);const pA=Q=>"string"==typeof Q&&/^[A-Za-z]\w*(\.[A-Za-z]\w*)+$/.test(Q);let tA=(()=>{class Q{constructor(y,D,N,$,vA){this.metaService=y,this.router=D,this.titleService=N,this.translate=$,this.document=vA,this.robotsLock=null}setMetaTag(y,D){this.metaService.updateTag({value:D},`name="${y}"`)}lockRobots(y){this.robotsLock=y,this.metaService.updateTag({name:"robots",content:y})}unlockRobots(){this.robotsLock=null}setCanonical(y){let D=this.document.querySelector("link[rel='canonical']");D||(D=this.document.createElement("link"),D.setAttribute("rel","canonical"),this.document.head.appendChild(D)),D.setAttribute("href",y)}setOgTitle(y){this.metaService.updateTag({content:y},'property="og:title"')}setTitle(y="Spin The Wheel"){this.titleService.setTitle(y||"Spin The Wheel")}setMeta(y){const D=this.resolvedMetaText(y.title,this.titleService.getTitle()),N=this.resolvedMetaText(y.description,this.metaService.getTag('name="description"')?.content??"");D&&(this.titleService.setTitle(D),this.metaService.updateTag({property:"og:title",content:D}),this.metaService.updateTag({property:"twitter:title",content:D})),N&&(this.metaService.updateTag({name:"description",content:N}),this.metaService.updateTag({property:"og:description",content:N}),this.metaService.updateTag({property:"twitter:description",content:N})),this.metaService.updateTag({property:"og:url",content:this.router.url}),this.metaService.updateTag({property:"og:type",content:"article"}),this.metaService.updateTag({property:"og:site_name",content:"Spin the Wheel"}),this.metaService.updateTag({property:"og:image",content:y.previewImage||"URL__2000&h=1000"}),this.metaService.updateTag({property:"og:image:width",content:"2000"}),this.metaService.updateTag({property:"og:image:height",content:"1000"}),this.metaService.updateTag({property:"twitter:card",content:"summary_large_image"}),this.metaService.updateTag({property:"twitter:url",content:this.router.url}),this.metaService.updateTag({property:"twitter:image",content:y.previewImage||"URL__2000&h=1000"}),this.metaService.updateTag({property:"pinterest:url",content:this.router.url}),this.metaService.updateTag({property:"pinterest:media",content:y.previewImage||"URL__2000&h=1000"}),this.metaService.updateTag({name:"robots",content:this.robotsLock??"max-image-preview:large"}),this.metaService.updateTag({property:"og:rating",content:"5"}),this.metaService.updateTag({property:"og:rating_scale",content:"5"}),this.metaService.updateTag({property:"fb:app_id",content:"facebookAppId"}),this.metaService.updateTag({property:"fb:pages",content:"facebookPagesId"}),this.metaService.updateTag({property:"article:opinion",content:"false"})}resolvedMetaText(y,D){return pA(y)?pA(D)?"":D:y}static{this.\u0275fac=function(D){return new(D||Q)(h.KVO(L.W8),h.KVO(iA.Ix),h.KVO(L.hE),h.KVO(oA.c$),h.KVO(CA.qQ))}}static{this.\u0275prov=h.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"})}}return Q})()},2595:(ce,mA,m)=>{"use strict";m.d(mA,{_X:()=>oA});var CA=m(1831);const h="imageUpload.tooLarge",L="imageUpload.couldNotUse";function oA(pA,J,tA){pA.open(J(function iA(pA){const J=pA instanceof CA.WN?pA.reason:"";return"source-too-large"===J||"dimensions-too-large"===J?h:L}(tA)),"",{duration:4e3})}},4391:(ce,mA,m)=>{"use strict";m.d(mA,{K:()=>h});var CA=m(45);const h=L=>{const{snapshotLabels:iA,sourceWheel:oA,lang:pA}=L;if(!iA||!iA.length||!oA)return null;try{const{resolved:J,rawEntries:tA}=(0,CA.j9)(oA,pA);if(J.length!==iA.length)return null;for(let Q=0;Q<iA.length;Q++)if(J[Q]!==iA[Q])return null;return tA}catch{return null}}},8251:function(ce){ce.exports=function(){"use strict";var mA=function(r,n){return(mA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,i){s.__proto__=i}||function(s,i){for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(s[l]=i[l])})(r,n)};function m(r,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function s(){this.constructor=r}mA(r,n),r.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}var CA=function(){return CA=Object.assign||function(n){for(var s,i=1,l=arguments.length;i<l;i++)for(var d in s=arguments[i])Object.prototype.hasOwnProperty.call(s,d)&&(n[d]=s[d]);return n},CA.apply(this,arguments)};
vendor: 4,471 bytes, line 1
1function h(r,n,s,i){return new(s||(s=Promise))(function(d,p){function f(w){try{B(i.next(w))}catch(_){p(_)}}function u(w){try{B(i.throw(w))}catch(_){p(_)}}function B(w){w.done?d(w.value):function l(d){return d instanceof s?d:new s(function(p){p(d)})}(w.value).then(f,u)}B((i=i.apply(r,n||[])).next())})}function L(r,n){var i,l,d,p,s={label:0,sent:function(){if(1&d[0])throw d[1];return d[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},"function"==typeof Symbol&&(p[Symbol.iterator]=function(){return this}),p;function f(B){return function(w){return function u(B){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,l&&(d=2&B[0]?l.return:B[0]?l.throw||((d=l.return)&&d.call(l),0):l.next)&&!(d=d.call(l,B[1])).done)return d;switch(l=0,d&&(B=[2&B[0],d.value]),B[0]){case 0:case 1:d=B;break;case 4:return s.label++,{value:B[1],done:!1};case 5:s.label++,l=B[1],B=[0];continue;case 7:B=s.ops.pop(),s.trys.pop();continue;default:if(!(d=(d=s.trys).length>0&&d[d.length-1])&&(6===B[0]||2===B[0])){s=0;continue}if(3===B[0]&&(!d||B[1]>d[0]&&B[1]<d[3])){s.label=B[1];break}if(6===B[0]&&s.label<d[1]){s.label=d[1],d=B;break}if(d&&s.label<d[2]){s.label=d[2],s.ops.push(B);break}d[2]&&s.ops.pop(),s.trys.pop();continue}B=n.call(r,s)}catch(w){B=[6,w],l=0}finally{i=d=0}if(5&B[0])throw B[1];return{value:B[0]?B[1]:void 0,done:!0}}([B,w])}}}function iA(r,n,s){if(s||2===arguments.length)for(var d,i=0,l=n.length;i<l;i++)(d||!(i in n))&&(d||(d=Array.prototype.slice.call(n,0,i)),d[i]=n[i]);return r.concat(d||n)}for(var oA=function(){function r(n,s,i,l){this.left=n,this.top=s,this.width=i,this.height=l}return r.prototype.add=function(n,s,i,l){return new r(this.left+n,this.top+s,this.width+i,this.height+l)},r.fromClientRect=function(n,s){return new r(s.left+n.windowBounds.left,s.top+n.windowBounds.top,s.width,s.height)},r.fromDOMRectList=function(n,s){var i=Array.from(s).find(function(l){return 0!==l.width});return i?new r(i.left+n.windowBounds.left,i.top+n.windowBounds.top,i.width,i.height):r.EMPTY},r.EMPTY=new r(0,0,0,0),r}(),pA=function(r,n){return oA.fromClientRect(r,n.getBoundingClientRect())},tA=function(r){for(var n=[],s=0,i=r.length;s<i;){var l=r.charCodeAt(s++);if(l>=55296&&l<=56319&&s<i){var d=r.charCodeAt(s++);56320==(64512&d)?n.push(((1023&l)<<10)+(1023&d)+65536):(n.push(l),s--)}else n.push(l)}return n},Q=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(String.fromCodePoint)return String.fromCodePoint.apply(String,r);var s=r.length;if(!s)return"";for(var i=[],l=-1,d="";++l<s;){var p=r[l];p<=65535?i.push(p):i.push(55296+((p-=65536)>>10),p%1024+56320),(l+1===s||i.length>16384)&&(d+=String.fromCharCode.apply(String,i),i.length=0)}return d},A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=typeof Uint8Array>"u"?[]:new Uint8Array(256),D=0;D<64;D++)y[A.charCodeAt(D)]=D;for(var N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$=typeof Uint8Array>"u"?[]:new Uint8Array(256),vA=0;vA<64;vA++)$[N.charCodeAt(vA)]=vA;for(var W=function(r,n,s){return r.slice?r.slice(n,s):new Uint16Array(Array.prototype.slice.call(r,n,s))},nA=function(){function r(n,s,i,l,d,p){this.initialValue=n,this.errorValue=s,this.highStart=i,this.highValueIndex=l,this.index=d,this.data=p}return r.prototype.get=function(n){var s;if(n>=0){if(n<55296||n>56319&&n<=65535)return this.data[s=((s=this.index[n>>5])<<2)+(31&n)];if(n<=65535)return this.data[s=((s=this.index[2048+(n-55296>>5)])<<2)+(31&n)];if(n<this.highStart)return s=this.index[s=2080+(n>>11)],this.data[s=((s=this.index[s+=n>>5&63])<<2)+(31&n)];if(n<=1114111)return this.data[this.highValueIndex]}return this.errorValue},r}(),FA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re=typeof Uint8Array>"u"?[]:new Uint8Array(256),Pe=0;Pe<64;Pe++)re[FA.charCodeAt(Pe)]=Pe;var s,i,l,p,f,Ce=10,Pn=13,gt=15,Dn=17,pt=18,Gs=19,Yr=20,Hn=21,ut=22,ze=24,jA=25,ft=26,ht=27,Ze=28,Te=30,kn=32,Vt=33,Ln=34,Nt=35,Bt=37,Kn=38,Wt=39,Xt=40,zr=42,Ws=[9001,65288],Z="\xd7",Vn=(s=function(r){var i,d,p,f,u,n=.75*r.length,s=r.length,l=0;"="===r[r.length-1]&&(n--,"="===r[r.length-2]&&n--);var B=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(n):new Array(n),w=Array.isArray(B)?B:new Uint8Array(B);for(i=0;i<s;i+=4)d=$[r.charCodeAt(i)],p=$[r.charCodeAt(i+1)],f=$[r.charCodeAt(i+2)],u=$[r.charCodeAt(i+3)],w[l++]=d<<2|p>>4,w[l++]=(15&p)<<4|f>>2,w[l++]=(3&f)<<6|63&u;return B}(
vendor: 52,890 bytes, line 1
1"KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYg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G0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywH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gIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1A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UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwAD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AEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABAB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AUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJ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ACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="
vendor: 18,226 bytes, line 1
1),i=Array.isArray(s)?function(r){for(var n=r.length,s=[],i=0;i<n;i+=4)s.push(r[i+3]<<24|r[i+2]<<16|r[i+1]<<8|r[i]);return s}(s):new Uint32Array(s),l=Array.isArray(s)?function(r){for(var n=r.length,s=[],i=0;i<n;i+=2)s.push(r[i+1]<<8|r[i]);return s}(s):new Uint16Array(s),p=W(l,12,i[4]/2),f=2===i[5]?W(l,(24+i[4])/2):function(r,n,s){return r.slice?r.slice(n,s):new Uint32Array(Array.prototype.slice.call(r,n,s))}(i,Math.ceil((24+i[4])/4)),new nA(i[0],i[1],i[2],i[3],p,f)),_e=[Te,36],Nn=[1,2,3,5],qr=[Ce,8],Ai=[ht,ft],Xs=Nn.concat(qr),ei=[Kn,Wt,Xt,Ln,Nt],$s=[gt,Pn],Wn=function(r,n,s,i){var l=i[s];if(Array.isArray(r)?-1!==r.indexOf(l):r===l)for(var d=s;d<=i.length;){if((p=i[++d])===n)return!0;if(p!==Ce)break}if(l===Ce)for(d=s;d>0;){var f=i[--d];if(Array.isArray(r)?-1!==r.indexOf(f):r===f)for(var u=s;u<=i.length;){var p;if((p=i[++u])===n)return!0;if(p!==Ce)break}if(f!==Ce)break}return!1},ti=function(r,n){for(var s=r;s>=0;){var i=n[s];if(i!==Ce)return i;s--}return 0},ni=function(r,n,s,i,l){if(0===s[i])return Z;var d=i-1;if(Array.isArray(l)&&!0===l[d])return Z;var p=d-1,f=d+1,u=n[d],B=p>=0?n[p]:0,w=n[f];if(2===u&&3===w)return Z;if(-1!==Nn.indexOf(u))return"!";if(-1!==Nn.indexOf(w)||-1!==qr.indexOf(w))return Z;if(8===ti(d,n))return"\xf7";if(11===Vn.get(r[d])||(u===kn||u===Vt)&&11===Vn.get(r[f])||7===u||7===w||9===u||-1===[Ce,Pn,gt].indexOf(u)&&9===w||-1!==[Dn,pt,Gs,ze,Ze].indexOf(w)||ti(d,n)===ut||Wn(23,ut,d,n)||Wn([Dn,pt],Hn,d,n)||Wn(12,12,d,n))return Z;if(u===Ce)return"\xf7";if(23===u||23===w)return Z;if(16===w||16===u)return"\xf7";if(-1!==[Pn,gt,Hn].indexOf(w)||14===u||36===B&&-1!==$s.indexOf(u)||u===Ze&&36===w||w===Yr||-1!==_e.indexOf(w)&&u===jA||-1!==_e.indexOf(u)&&w===jA||u===ht&&-1!==[Bt,kn,Vt].indexOf(w)||-1!==[Bt,kn,Vt].indexOf(u)&&w===ft||-1!==_e.indexOf(u)&&-1!==Ai.indexOf(w)||-1!==Ai.indexOf(u)&&-1!==_e.indexOf(w)||-1!==[ht,ft].indexOf(u)&&(w===jA||-1!==[ut,gt].indexOf(w)&&n[f+1]===jA)||-1!==[ut,gt].indexOf(u)&&w===jA||u===jA&&-1!==[jA,Ze,ze].indexOf(w))return Z;if(-1!==[jA,Ze,ze,Dn,pt].indexOf(w))for(var _=d;_>=0;){if((v=n[_])===jA)return Z;if(-1===[Ze,ze].indexOf(v))break;_--}if(-1!==[ht,ft].indexOf(w))for(_=-1!==[Dn,pt].indexOf(u)?p:d;_>=0;){var v;if((v=n[_])===jA)return Z;if(-1===[Ze,ze].indexOf(v))break;_--}if(Kn===u&&-1!==[Kn,Wt,Ln,Nt].indexOf(w)||-1!==[Wt,Ln].indexOf(u)&&-1!==[Wt,Xt].indexOf(w)||-1!==[Xt,Nt].indexOf(u)&&w===Xt||-1!==ei.indexOf(u)&&-1!==[Yr,ft].indexOf(w)||-1!==ei.indexOf(w)&&u===ht||-1!==_e.indexOf(u)&&-1!==_e.indexOf(w)||u===ze&&-1!==_e.indexOf(w)||-1!==_e.concat(jA).indexOf(u)&&w===ut&&-1===Ws.indexOf(r[f])||-1!==_e.concat(jA).indexOf(w)&&u===pt)return Z;if(41===u&&41===w){for(var T=s[d],b=1;T>0&&41===n[--T];)b++;if(b%2!=0)return Z}return u===kn&&w===Vt?Z:"\xf7"},js=function(r,n){n||(n={lineBreak:"normal",wordBreak:"normal"});var s=function(r,n){void 0===n&&(n="strict");var s=[],i=[],l=[];return r.forEach(function(d,p){var f=Vn.get(d);if(f>50?(l.push(!0),f-=50):l.push(!1),-1!==["normal","auto","loose"].indexOf(n)&&-1!==[8208,8211,12316,12448].indexOf(d))return i.push(p),s.push(16);if(4===f||11===f){if(0===p)return i.push(p),s.push(Te);var u=s[p-1];return-1===Xs.indexOf(u)?(i.push(i[p-1]),s.push(u)):(i.push(p),s.push(Te))}return i.push(p),31===f?s.push("strict"===n?Hn:Bt):f===zr||29===f?s.push(Te):43===f?s.push(d>=131072&&d<=196605||d>=196608&&d<=262141?Bt:Te):void s.push(f)}),[i,s,l]}(r,n.lineBreak),i=s[0],l=s[1],d=s[2];return("break-all"===n.wordBreak||"break-word"===n.wordBreak)&&(l=l.map(function(f){return-1!==[jA,Te,zr].indexOf(f)?Bt:f})),[i,l,"keep-all"===n.wordBreak?d.map(function(f,u){return f&&r[u]>=19968&&r[u]<=40959}):void 0]},Ys=function(){function r(n,s,i,l){this.codePoints=n,this.required="!"===s,this.start=i,this.end=l}return r.prototype.slice=function(){return Q.apply(void 0,this.codePoints.slice(this.start,this.end))},r}(),q=45,LA=function(r){return r>=48&&r<=57},At=function(r){return LA(r)||r>=65&&r<=70||r>=97&&r<=102},Qt=function(r){return 10===r||9===r||32===r},An=function(r){return function(r){return function(r){return r>=97&&r<=122}(r)||function(r){return r>=65&&r<=90}(r)}(r)||function(r){return r>=128}(r)||95===r},ui=function(r){return An(r)||LA(r)||r===q},pa=function(r){return r>=0&&r<=8||11===r||r>=14&&r<=31||127===r},ye=function(r,n){return 92===r&&10!==n},en=function(r,n,s){return r===q?An(n)||ye(n,s):!!An(r)||!(92!==r||!ye(r,n))},Ar=function(r,n,s){return 43===r||r===q?!!LA(n)||46===n&&LA(s):LA(46===r?n:r)},ua=function(r){var n=0,s=1;(43===r[n]||r[n]===q)&&(r[n]===q&&(s=-1),n++);for(var i=[];LA(r[n]);)i.push(r[n++]);var l=i.length?parseInt(Q.apply(void 0,i),10):0;46===r[n]&&n++;for(var d=[];LA(r[n]);)d.push(r[n++]);var p=d.length,f=p?parseInt(Q.apply(void 0,d),10):0;(69===r[n]||101===r[n])&&n++;var u=1;(43===r[n]||r[n]===q)&&(r[n]===q&&(u=-1),n++);for(var B=[];LA(r[n]);)B.push(r[n++]);var w=B.length?parseInt(Q.apply(void 0,B),10):0;return s*(l+f*Math.pow(10,-p))*Math.pow(10,u*w)},Le={type:2},fi={type:3},er={type:4},hi={type:13},fa={type:8},ha={type:21},tn={type:9},Bi={type:10},Ba={type:11},wa={type:12},wi={type:14},nn={type:23},bc={type:1},ma={type:25},tr={type:24},Ca={type:26},_a={type:27},ya={type:28},bt={type:29},va={type:31},Ut={type:32},et=function(){function r(){this._value=[]}return r.prototype.write=function(n){this._value=this._value.concat(tA(n))},r.prototype.read=function(){for(var n=[],s=this.consumeToken();s!==Ut;)n.push(s),s=this.consumeToken();return n},r.prototype.consumeToken=function(){var n=this.consumeCodePoint();switch(n){case 34:return this.consumeStringToken(34);case 35:var s=this.peekCodePoint(0),i=this.peekCodePoint(1),l=this.peekCodePoint(2);if(ui(s)||ye(i,l)){var d=en(s,i,l)?2:1;return{type:5,value:this.consumeName(),flags:d}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),hi;break;case 39:return this.consumeStringToken(39);case 40:return Le;case 41:return fi;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),wi;break;case 43:if(Ar(n,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(n),this.consumeNumericToken();break;case 44:return er;case q:var f=n,u=this.peekCodePoint(0),B=this.peekCodePoint(1);if(Ar(f,u,B))return this.reconsumeCodePoint(n),this.consumeNumericToken();if(en(f,u,B))return this.reconsumeCodePoint(n),this.consumeIdentLikeToken();if(u===q&&62===B)return this.consumeCodePoint(),this.consumeCodePoint(),tr;break;case 46:if(Ar(n,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(n),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var w=this.consumeCodePoint();if(42===w&&47===(w=this.consumeCodePoint()))return this.consumeToken();if(-1===w)return this.consumeToken()}break;case 58:return Ca;case 59:return _a;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===q&&this.peekCodePoint(2)===q)return this.consumeCodePoint(),this.consumeCodePoint(),ma;break;case 64:var _=this.peekCodePoint(0),v=this.peekCodePoint(1),T=this.peekCodePoint(2);if(en(_,v,T))return{type:7,value:this.consumeName()};break;case 91:return ya;case 92:if(ye(n,this.peekCodePoint(0)))return this.reconsumeCodePoint(n),this.consumeIdentLikeToken();break;case 93:return bt;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),fa;break;case 123:return Ba;case 125:return wa;case 117:case 85:var b=this.peekCodePoint(0),x=this.peekCodePoint(1);return 43===b&&(At(x)||63===x)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(n),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),tn;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),ha;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Bi;break;case-1:return Ut}return Qt(n)?(this.consumeWhiteSpace(),va):LA(n)?(this.reconsumeCodePoint(n),this.consumeNumericToken()):An(n)?(this.reconsumeCodePoint(n),this.consumeIdentLikeToken()):{type:6,value:Q(n)}},r.prototype.consumeCodePoint=function(){var n=this._value.shift();return typeof n>"u"?-1:n},r.prototype.reconsumeCodePoint=function(n){this._value.unshift(n)},r.prototype.peekCodePoint=function(n){return n>=this._value.length?-1:this._value[n]},r.prototype.consumeUnicodeRangeToken=function(){for(var n=[],s=this.consumeCodePoint();At(s)&&n.length<6;)n.push(s),s=this.consumeCodePoint();for(var i=!1;63===s&&n.length<6;)n.push(s),s=this.consumeCodePoint(),i=!0;if(i)return{type:30,start:parseInt(Q.apply(void 0,n.map(function(u){return 63===u?48:u})),16),end:parseInt(Q.apply(void 0,n.map(function(u){return 63===u?70:u})),16)};var p=parseInt(Q.apply(void 0,n),16);if(this.peekCodePoint(0)===q&&At(this.peekCodePoint(1))){this.consumeCodePoint(),s=this.consumeCodePoint();for(var f=[];At(s)&&f.length<6;)f.push(s),s=this.consumeCodePoint();return{type:30,start:p,end:parseInt(Q.apply(void 0,f),16)}}return{type:30,start:p,end:p}},r.prototype.consumeIdentLikeToken=function(){var n=this.consumeName();return"url"===n.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:n}):{type:20,value:n}},r.prototype.consumeUrlToken=function(){var n=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:22,value:""};var s=this.peekCodePoint(0);if(39===s||34===s){var i=this.consumeStringToken(this.consumeCodePoint());return 0===i.type&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:i.value}):(this.consumeBadUrlRemnants(),nn)}for(;;){var l=this.consumeCodePoint();if(-1===l||41===l)return{type:22,value:Q.apply(void 0,n)};if(Qt(l))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:Q.apply(void 0,n)}):(this.consumeBadUrlRemnants(),nn);if(34===l||39===l||40===l||pa(l))return this.consumeBadUrlRemnants(),nn;if(92===l){if(!ye(l,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),nn;n.push(this.consumeEscapedCodePoint())}else n.push(l)}},r.prototype.consumeWhiteSpace=function(){for(;Qt(this.peekCodePoint(0));)this.consumeCodePoint()},r.prototype.consumeBadUrlRemnants=function(){for(;;){var n=this.consumeCodePoint();if(41===n||-1===n)return;ye(n,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},r.prototype.consumeStringSlice=function(n){for(var i="";n>0;){var l=Math.min(5e4,n);i+=Q.apply(void 0,this._value.splice(0,l)),n-=l}return this._value.shift(),i},r.prototype.consumeStringToken=function(n){for(var s="",i=0;;){var l=this._value[i];if(-1===l||void 0===l||l===n)return{type:0,value:s+=this.consumeStringSlice(i)};if(10===l)return this._value.splice(0,i),bc;if(92===l){var d=this._value[i+1];-1!==d&&void 0!==d&&(10===d?(s+=this.consumeStringSlice(i),i=-1,this._value.shift()):ye(l,d)&&(s+=this.consumeStringSlice(i),s+=Q(this.consumeEscapedCodePoint()),i=-1))}i++}},r.prototype.consumeNumber=function(){var n=[],s=4,i=this.peekCodePoint(0);for((43===i||i===q)&&n.push(this.consumeCodePoint());LA(this.peekCodePoint(0));)n.push(this.consumeCodePoint());i=this.peekCodePoint(0);var l=this.peekCodePoint(1);if(46===i&&LA(l))for(n.push(this.consumeCodePoint(),this.consumeCodePoint()),s=8;LA(this.peekCodePoint(0));)n.push(this.consumeCodePoint());i=this.peekCodePoint(0),l=this.peekCodePoint(1);var d=this.peekCodePoint(2);if((69===i||101===i)&&((43===l||l===q)&&LA(d)||LA(l)))for(n.push(this.consumeCodePoint(),this.consumeCodePoint()),s=8;LA(this.peekCodePoint(0));)n.push(this.consumeCodePoint());return[ua(n),s]},r.prototype.consumeNumericToken=function(){var n=this.consumeNumber(),s=n[0],i=n[1],l=this.peekCodePoint(0),d=this.peekCodePoint(1),p=this.peekCodePoint(2);return en(l,d,p)?{type:15,number:s,flags:i,unit:this.consumeName()}:37===l?(this.consumeCodePoint(),{type:16,number:s,flags:i}):{type:17,number:s,flags:i}},r.prototype.consumeEscapedCodePoint=function(){var n=this.consumeCodePoint();if(At(n)){for(var s=Q(n);At(this.peekCodePoint(0))&&s.length<6;)s+=Q(this.consumeCodePoint());Qt(this.peekCodePoint(0))&&this.consumeCodePoint();var i=parseInt(s,16);return 0===i||function(r){return r>=55296&&r<=57343}(i)||i>1114111?65533:i}return-1===n?65533:n},r.prototype.consumeName=function(){for(var n="";;){var s=this.consumeCodePoint();if(ui(s))n+=Q(s);else{if(!ye(s,this.peekCodePoint(0)))return this.reconsumeCodePoint(s),n;n+=Q(this.consumeEscapedCodePoint())}}},r}(),tt=function(){function r(n){this._tokens=n}return r.create=function(n){var s=new et;return s.write(n),new r(s.read())},r.parseValue=function(n){return r.create(n).parseComponentValue()},r.parseValues=function(n){return r.create(n).parseComponentValues()},r.prototype.parseComponentValue=function(){for(var n=this.consumeToken();31===n.type;)n=this.consumeToken();if(32===n.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(n);var s=this.consumeComponentValue();do{n=this.consumeToken()}while(31===n.type);if(32===n.type)return s;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},r.prototype.parseComponentValues=function(){for(var n=[];;){var s=this.consumeComponentValue();if(32===s.type)return n;n.push(s),n.push()}},r.prototype.consumeComponentValue=function(){var n=this.consumeToken();switch(n.type){case 11:case 28:case 2:return this.consumeSimpleBlock(n.type);case 19:return this.consumeFunction(n)}return n},r.prototype.consumeSimpleBlock=function(n){for(var s={type:n,values:[]},i=this.consumeToken();;){if(32===i.type||Qa(i,n))return s;this.reconsumeToken(i),s.values.push(this.consumeComponentValue()),i=this.consumeToken()}},r.prototype.consumeFunction=function(n){for(var s={name:n.value,values:[],type:18};;){var i=this.consumeToken();if(32===i.type||3===i.type)return s;this.reconsumeToken(i),s.values.push(this.consumeComponentValue())}},r.prototype.consumeToken=function(){var n=this._tokens.shift();return typeof n>"u"?Ut:n},r.prototype.reconsumeToken=function(n){this._tokens.unshift(n)},r}(),ve=function(r){return 15===r.type},Ge=function(r){return 17===r.type},uA=function(r){return 20===r.type},Fa=function(r){return 0===r.type},nr=function(r,n){return uA(r)&&r.value===n},rr=function(r){return 31!==r.type},nt=function(r){return 31!==r.type&&4!==r.type},XA=function(r){var n=[],s=[];return r.forEach(function(i){if(4===i.type){if(0===s.length)throw new Error("Error parsing function args, zero tokens for arg");return n.push(s),void(s=[])}31!==i.type&&s.push(i)}),s.length&&n.push(s),n},Qa=function(r,n){return 11===n&&12===r.type||28===n&&29===r.type||2===n&&3===r.type},Fe=function(r){return 17===r.type||15===r.type},xA=function(r){return 16===r.type||Fe(r)},rn=function(r){return r.length>1?[r[0],r[1]]:[r[0]]},TA={type:17,number:0,flags:4},ir={type:16,number:50,flags:4},Qe={type:16,number:100,flags:4},It=function(r,n,s){var i=r[0],l=r[1];return[hA(i,n),hA(typeof l<"u"?l:i,s)]},hA=function(r,n){if(16===r.type)return r.number/100*n;if(ve(r))switch(r.unit){case"rem":case"em":return 16*r.number;default:return r.number}return r.number},xt_parse=function(r,n){if(15===n.type)switch(n.unit){case"deg":return Math.PI*n.number/180;case"grad":return Math.PI/200*n.number;case"rad":return n.number;case"turn":return 2*Math.PI*n.number}throw new Error("Unsupported angle type")},ba=function(r){return 15===r.type&&("deg"===r.unit||"grad"===r.unit||"rad"===r.unit||"turn"===r.unit)},ar=function(r){switch(r.filter(uA).map(function(s){return s.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[TA,TA];case"to top":case"bottom":return YA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[TA,Qe];case"to right":case"left":return YA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Qe,Qe];case"to bottom":case"top":return YA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Qe,TA];case"to left":case"right":return YA(270)}return 0},YA=function(r){return Math.PI*r/180},he_parse=function(r,n){if(18===n.type){var s=Ua[n.name];if(typeof s>"u")throw new Error('Attempting to parse an unsupported color function "'+n.name+'"');return s(r,n.values)}if(5===n.type){if(3===n.value.length){var i=n.value.substring(0,1),l=n.value.substring(1,2),d=n.value.substring(2,3);return Ue(parseInt(i+i,16),parseInt(l+l,16),parseInt(d+d,16),1)}if(4===n.value.length){i=n.value.substring(0,1),l=n.value.substring(1,2),d=n.value.substring(2,3);var p=n.value.substring(3,4);return Ue(parseInt(i+i,16),parseInt(l+l,16),parseInt(d+d,16),parseInt(p+p,16)/255)}if(6===n.value.length)return i=n.value.substring(0,2),l=n.value.substring(2,4),d=n.value.substring(4,6),Ue(parseInt(i,16),parseInt(l,16),parseInt(d,16),1);if(8===n.value.length)return i=n.value.substring(0,2),l=n.value.substring(2,4),d=n.value.substring(4,6),p=n.value.substring(6,8),Ue(parseInt(i,16),parseInt(l,16),parseInt(d,16),parseInt(p,16)/255)}if(20===n.type){var f=Be[n.value.toUpperCase()];if(typeof f<"u")return f}return Be.TRANSPARENT},be=function(r){return!(255&r)},EA=function(r){var n=255&r,s=255&r>>8,i=255&r>>16,l=255&r>>24;return n<255?"rgba("+l+","+i+","+s+","+n/255+")":"rgb("+l+","+i+","+s+")"},Ue=function(r,n,s,i){return(r<<24|n<<16|s<<8|Math.round(255*i))>>>0},_i=function(r,n){if(17===r.type)return r.number;if(16===r.type){var s=3===n?1:255;return 3===n?r.number/100*s:Math.round(r.number/100*s)}return 0},yi=function(r,n){var s=n.filter(nt);if(3===s.length){var i=s.map(_i);return Ue(i[0],i[1],i[2],1)}if(4===s.length){var f=s.map(_i);return Ue(f[0],f[1],f[2],f[3])}return 0};function or(r,n,s){return s<0&&(s+=1),s>=1&&(s-=1),s<1/6?(n-r)*s*6+r:s<.5?n:s<2/3?6*(n-r)*(2/3-s)+r:r}var vi=function(r,n){var s=n.filter(nt),i=s[0],l=s[1],d=s[2],p=s[3],f=(17===i.type?YA(i.number):xt_parse(r,i))/(2*Math.PI),u=xA(l)?l.number/100:0,B=xA(d)?d.number/100:0,w=typeof p<"u"&&xA(p)?hA(p,1):1;if(0===u)return Ue(255*B,255*B,255*B,1);var _=B<=.5?B*(u+1):B+u-B*u,v=2*B-_,T=or(v,_,f+1/3),b=or(v,_,f),x=or(v,_,f-1/3);return Ue(255*T,255*b,255*x,w)},Ua={hsl:vi,hsla:vi,rgb:yi,rgba:yi},St=function(r,n){return he_parse(r,tt.create(n).parseComponentValue())},Be
vendor: 3,054 bytes, line 1
1={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},
vendor: 9,119 bytes, line 1
1Ia={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(r,n){return n.map(function(s){if(uA(s))switch(s.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},xa={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},an=function(r,n){var s=he_parse(r,n[0]),i=n[1];return i&&xA(i)?{color:s,stop:i}:{color:s,stop:null}},Fi=function(r,n){var s=r[0],i=r[r.length-1];null===s.stop&&(s.stop=TA),null===i.stop&&(i.stop=Qe);for(var l=[],d=0,p=0;p<r.length;p++){var f=r[p].stop;if(null!==f){var u=hA(f,n);l.push(u>d?u:d),d=u}else l.push(null)}var B=null;for(p=0;p<l.length;p++){var w=l[p];if(null===w)null===B&&(B=p);else if(null!==B){for(var _=p-B,T=(w-l[B-1])/(_+1),b=1;b<=_;b++)l[B+b-1]=T*b;B=null}}return r.map(function(x,X){return{color:x.color,stop:Math.max(Math.min(1,l[X]/n),0)}})},Sa=function(r,n,s){var i="number"==typeof r?r:function(r,n,s){var i=n/2,l=s/2,d=hA(r[0],n)-i,p=l-hA(r[1],s);return(Math.atan2(p,d)+2*Math.PI)%(2*Math.PI)}(r,n,s),l=Math.abs(n*Math.sin(i))+Math.abs(s*Math.cos(i)),d=n/2,p=s/2,f=l/2,u=Math.sin(i-Math.PI/2)*f,B=Math.cos(i-Math.PI/2)*f;return[l,d-B,d+B,p-u,p+u]},se=function(r,n){return Math.sqrt(r*r+n*n)},lr=function(r,n,s,i,l){return[[0,0],[0,n],[r,0],[r,n]].reduce(function(p,f){var w=se(s-f[0],i-f[1]);return(l?w<p.optimumDistance:w>p.optimumDistance)?{optimumCorner:f,optimumDistance:w}:p},{optimumDistance:l?1/0:-1/0,optimumCorner:null}).optimumCorner},on=function(r,n){var s=YA(180),i=[];return XA(n).forEach(function(l,d){if(0===d){var p=l[0];if(20===p.type&&-1!==["top","left","right","bottom"].indexOf(p.value))return void(s=ar(l));if(ba(p))return void(s=(xt_parse(r,p)+YA(270))%YA(360))}var f=an(r,l);i.push(f)}),{angle:s,stops:i,type:1}},bi="closest-side",Ui="farthest-side",Ii="closest-corner",xi="farthest-corner",rt="ellipse",Ei="contain",ln=function(r,n){var s=0,i=3,l=[],d=[];return XA(n).forEach(function(p,f){var u=!0;if(0===f?u=p.reduce(function(w,_){if(uA(_))switch(_.value){case"center":return d.push(ir),!1;case"top":case"left":return d.push(TA),!1;case"right":case"bottom":return d.push(Qe),!1}else if(xA(_)||Fe(_))return d.push(_),!1;return w},u):1===f&&(u=p.reduce(function(w,_){if(uA(_))switch(_.value){case"circle":return s=0,!1;case rt:return s=1,!1;case Ei:case bi:return i=0,!1;case Ui:return i=1,!1;case Ii:return i=2,!1;case"cover":case xi:return i=3,!1}else if(Fe(_)||xA(_))return Array.isArray(i)||(i=[]),i.push(_),!1;return w},u)),u){var B=an(r,p);l.push(B)}}),{size:i,shape:s,stops:l,position:d,type:2}},dr_parse=function(r,n){if(22===n.type){var s={url:n.value,type:0};return r.cache.addImage(n.value),s}if(18===n.type){var i=Ri[n.name];if(typeof i>"u")throw new Error('Attempting to parse an unsupported image function "'+n.name+'"');return i(r,n.values)}throw new Error("Unsupported image type "+n.type)};for(var Ri={"linear-gradient":function(r,n){var s=YA(180),i=[];return XA(n).forEach(function(l,d){if(0===d){var p=l[0];if(20===p.type&&"to"===p.value)return void(s=ar(l));if(ba(p))return void(s=xt_parse(r,p))}var f=an(r,l);i.push(f)}),{angle:s,stops:i,type:1}},"-moz-linear-gradient":on,"-ms-linear-gradient":on,"-o-linear-gradient":on,"-webkit-linear-gradient":on,"radial-gradient":function(r,n){var s=0,i=3,l=[],d=[];return XA(n).forEach(function(p,f){var u=!0;if(0===f){var B=!1;u=p.reduce(function(_,v){if(B)if(uA(v))switch(v.value){case"center":return d.push(ir),_;case"top":case"left":return d.push(TA),_;case"right":case"bottom":return d.push(Qe),_}else(xA(v)||Fe(v))&&d.push(v);else if(uA(v))switch(v.value){case"circle":return s=0,!1;case rt:return s=1,!1;case"at":return B=!0,!1;case bi:return i=0,!1;case"cover":case Ui:return i=1,!1;case Ei:case Ii:return i=2,!1;case xi:return i=3,!1}else if(Fe(v)||xA(v))return Array.isArray(i)||(i=[]),i.push(v),!1;return _},u)}if(u){var w=an(r,p);l.push(w)}}),{size:i,shape:s,stops:l,position:d,type:2}},"-moz-radial-gradient":ln,"-ms-radial-gradient":ln,"-o-radial-gradient":ln,"-webkit-radial-gradient":ln,"-webkit-gradient":function(r,n){var s=YA(180),i=[],l=1;return XA(n).forEach(function(u,B){var w=u[0];if(0===B){if(uA(w)&&"linear"===w.value)return void(l=1);if(uA(w)&&"radial"===w.value)return void(l=2)}if(18===w.type)if("from"===w.name){var _=he_parse(r,w.values[0]);i.push({stop:TA,color:_})}else if("to"===w.name)_=he_parse(r,w.values[0]),i.push({stop:Qe,color:_});else if("color-stop"===w.name){var v=w.values.filter(nt);if(2===v.length){_=he_parse(r,v[1]);var T=v[0];Ge(T)&&i.push({stop:{type:16,number:100*T.number,flags:T.flags},color:_})}}}),1===l?{angle:(s+YA(180))%YA(360),stops:i,type:l}:{size:3,shape:0,stops:i,position:[],type:l}}},Uc={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(r,n){if(0===n.length)return[];var s=n[0];return 20===s.type&&"none"===s.value?[]:n.filter(function(i){return nt(i)&&function Ha(r){return!(20===r.type&&"none"===r.value||18===r.type&&!Ri[r.name])}(i)}).map(function(i){return dr_parse(r,i)})}},Oa={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(r,n){return n.map(function(s){if(uA(s))switch(s.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ka={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(r,n){return XA(n).map(function(s){return s.filter(xA)}).map(rn)}},Et={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(r,n){return XA(n).map(function(s){return s.filter(uA).map(function(i){return i.value}).join(" ")}).map(Mi)}},Mi=function(r){switch(r){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},Rt=function(r){return r.AUTO="auto",r.CONTAIN="contain",r.COVER="cover",r}(Rt||{}),La={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(r,n){return XA(n).map(function(s){return s.filter(Ga)})}},Ga=function(r){return uA(r)||xA(r)},cn=function(r){return{name:"border-"+r+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Pi=cn("top"),Ka=cn("right"),Va=cn("bottom"),Ti=cn("left"),dn=function(r){return{name:"border-radius-"+r,initialValue:"0 0",prefix:!1,type:1,parse:function(n,s){return rn(s.filter(xA))}}},Na=dn("top-left"),Wa=dn("top-right"),Xa=dn("bottom-right"),$a=dn("bottom-left"),gn=function(r){return{name:"border-"+r+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(n,s){switch(s){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Di=gn("top"),Hi=gn("right"),ja=gn("bottom"),Ya=gn("left"),pn=function(r){return{name:"border-"+r+"-width",initialValue:"0",type:0,prefix:!1,parse:function(n,s){return ve(s)?s.number:0}}},Ja=pn("top"),Oi=pn("right"),ki=pn("bottom"),za=pn("left"),Li={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Za={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(r,n){return"rtl"===n?1:0}},qa={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(r,n){return n.filter(uA).reduce(function(s,i){return s|Ao(i.value)},0)}},Ao=function(r){switch(r){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Gi={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(r,n){switch(n){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},eo={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(r,n){return 20===n.type&&"normal"===n.value?0:17===n.type||15===n.type?n.number:0}},gr=function(r){return r.NORMAL="normal",r.STRICT="strict",r}(gr||{}),to={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(r,n){return"strict"===n?gr.STRICT:gr.NORMAL}},no={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ki=function(r,n){return uA(r)&&"normal"===r.value?1.2*n:17===r.type?n*r.number:xA(r)?hA(r,n):n},ro={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(r,n){return 20===n.type&&"none"===n.value?null:dr_parse(r,n)}},io={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(r,n){return"inside"===n?0:1}},pr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(r,n){
vendor: 2,254 bytes, line 1
1switch(n){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},un=function(r){return{name:"margin-"+r,initialValue:"0",prefix:!1,type:4}},so=un("top"),ao=un("right"),oo=un("bottom"),lo=un("left"),co={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(r,n){return n.filter(uA).map(function(s){switch(s.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},go={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(r,n){return"break-word"===n?"break-word":"normal"}},fn=function(r){return{name:"padding-"+r,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},po=fn("top"),uo=fn("right"),fo=fn("bottom"),ho=fn("left"),Bo={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(r,n){
vendor: 11,177 bytes, line 1
1switch(n){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},wo={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(r,n){switch(n){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},mo={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(r,n){return 1===n.length&&nr(n[0],"none")?[]:XA(n).map(function(s){for(var i={color:Be.TRANSPARENT,offsetX:TA,offsetY:TA,blur:TA},l=0,d=0;d<s.length;d++){var p=s[d];Fe(p)?(0===l?i.offsetX=p:1===l?i.offsetY=p:i.blur=p,l++):i.color=he_parse(r,p)}return i})}},Co={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(r,n){switch(n){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},_o={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(r,n){if(20===n.type&&"none"===n.value)return null;if(18===n.type){var s=Fo[n.name];if(typeof s>"u")throw new Error('Attempting to parse an unsupported transform function "'+n.name+'"');return s(n.values)}return null}},Fo={matrix:function(r){var n=r.filter(function(s){return 17===s.type}).map(function(s){return s.number});return 6===n.length?n:null},matrix3d:function(r){var n=r.filter(function(u){return 17===u.type}).map(function(u){return u.number});return 16===n.length?[n[0],n[1],n[4],n[5],n[12],n[13]]:null}},Vi={type:16,number:50,flags:4},Qo=[Vi,Vi],bo={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(r,n){var s=n.filter(xA);return 2!==s.length?Qo:[s[0],s[1]]}},Uo={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(r,n){switch(n){case"hidden":return 1;case"collapse":return 2;default:return 0}}},hn=function(r){return r.NORMAL="normal",r.BREAK_ALL="break-all",r.KEEP_ALL="keep-all",r}(hn||{}),Io={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(r,n){switch(n){case"break-all":return hn.BREAK_ALL;case"keep-all":return hn.KEEP_ALL;default:return hn.NORMAL}}},xo={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(r,n){if(20===n.type)return{auto:!0,order:0};if(Ge(n))return{auto:!1,order:n.number};throw new Error("Invalid z-index number parsed")}},Ni={name:"time",parse:function(r,n){if(15===n.type)switch(n.unit.toLowerCase()){case"s":return 1e3*n.number;case"ms":return n.number}throw new Error("Unsupported time type")}},So={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(r,n){return Ge(n)?n.number:1}},Eo={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ro={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(r,n){return n.filter(uA).map(function(s){switch(s.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(s){return 0!==s})}},Mo={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(r,n){var s=[],i=[];return n.forEach(function(l){switch(l.type){case 20:case 0:s.push(l.value);break;case 17:s.push(l.number.toString());break;case 4:i.push(s.join(" ")),s.length=0}}),s.length&&i.push(s.join(" ")),i.map(function(l){return-1===l.indexOf(" ")?l:"'"+l+"'"})}},Po={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},To={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(r,n){return Ge(n)?n.number:uA(n)&&"bold"===n.value?700:400}},Do={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(r,n){return n.filter(uA).map(function(s){return s.value})}},Ho={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(r,n){switch(n){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},SA=function(r,n){return!!(r&n)},Oo={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(r,n){if(0===n.length)return[];var s=n[0];return 20===s.type&&"none"===s.value?[]:n}},ko={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(r,n){if(0===n.length)return null;var s=n[0];if(20===s.type&&"none"===s.value)return null;for(var i=[],l=n.filter(rr),d=0;d<l.length;d++){var p=l[d],f=l[d+1];if(20===p.type){var u=f&&Ge(f)?f.number:1;i.push({counter:p.value,increment:u})}}return i}},ur={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(r,n){if(0===n.length)return[];for(var s=[],i=n.filter(rr),l=0;l<i.length;l++){var d=i[l],p=i[l+1];if(uA(d)&&"none"!==d.value){var f=p&&Ge(p)?p.number:0;s.push({counter:d.value,reset:f})}}return s}},Lo={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(r,n){return n.filter(ve).map(function(s){return Ni.parse(r,s)})}},Go={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(r,n){if(0===n.length)return null;var s=n[0];if(20===s.type&&"none"===s.value)return null;var i=[],l=n.filter(Fa);if(l.length%2!=0)return null;for(var d=0;d<l.length;d+=2)i.push({open:l[d].value,close:l[d+1].value});return i}},Wi=function(r,n,s){if(!r)return"";var i=r[Math.min(n,r.length-1)];return i?s?i.open:i.close:""},Ko={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(r,n){return 1===n.length&&nr(n[0],"none")?[]:XA(n).map(function(s){for(var i={color:255,offsetX:TA,offsetY:TA,blur:TA,spread:TA,inset:!1},l=0,d=0;d<s.length;d++){var p=s[d];nr(p,"inset")?i.inset=!0:Fe(p)?(0===l?i.offsetX=p:1===l?i.offsetY=p:2===l?i.blur=p:i.spread=p,l++):i.color=he_parse(r,p)}return i})}},Vo={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(r,n){var i=[];return n.filter(uA).forEach(function(l){switch(l.value){case"stroke":i.push(1);break;case"fill":i.push(0);break;case"markers":i.push(2)}}),[0,1,2].forEach(function(l){-1===i.indexOf(l)&&i.push(l)}),i}},No={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Wo={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(r,n){return ve(n)?n.number:0}},Xo=function(){function r(n,s){var i,l;this.animationDuration=R(n,Lo,s.animationDuration),this.backgroundClip=R(n,Ia,s.backgroundClip),this.backgroundColor=R(n,xa,s.backgroundColor),this.backgroundImage=R(n,Uc,s.backgroundImage),this.backgroundOrigin=R(n,Oa,s.backgroundOrigin),this.backgroundPosition=R(n,ka,s.backgroundPosition),this.backgroundRepeat=R(n,Et,s.backgroundRepeat),this.backgroundSize=R(n,La,s.backgroundSize),this.borderTopColor=R(n,Pi,s.borderTopColor),this.borderRightColor=R(n,Ka,s.borderRightColor),this.borderBottomColor=R(n,Va,s.borderBottomColor),this.borderLeftColor=R(n,Ti,s.borderLeftColor),this.borderTopLeftRadius=R(n,Na,s.borderTopLeftRadius),this.borderTopRightRadius=R(n,Wa,s.borderTopRightRadius),this.borderBottomRightRadius=R(n,Xa,s.borderBottomRightRadius),this.borderBottomLeftRadius=R(n,$a,s.borderBottomLeftRadius),this.borderTopStyle=R(n,Di,s.borderTopStyle),this.borderRightStyle=R(n,Hi,s.borderRightStyle),this.borderBottomStyle=R(n,ja,s.borderBottomStyle),this.borderLeftStyle=R(n,Ya,s.borderLeftStyle),this.borderTopWidth=R(n,Ja,s.borderTopWidth),this.borderRightWidth=R(n,Oi,s.borderRightWidth),this.borderBottomWidth=R(n,ki,s.borderBottomWidth),this.borderLeftWidth=R(n,za,s.borderLeftWidth),this.boxShadow=R(n,Ko,s.boxShadow),this.color=R(n,Li,s.color),this.direction=R(n,Za,s.direction),this.display=R(n,qa,s.display),this.float=R(n,Gi,s.cssFloat),this.fontFamily=R(n,Mo,s.fontFamily),this.fontSize=R(n,Po,s.fontSize),this.fontStyle=R(n,Ho,s.fontStyle),this.fontVariant=R(n,Do,s.fontVariant),this.fontWeight=R(n,To,s.fontWeight),this.letterSpacing=R(n,eo,s.letterSpacing),this.lineBreak=R(n,to,s.lineBreak),this.lineHeight=R(n,no,s.lineHeight),this.listStyleImage=R(n,ro,s.listStyleImage),this.listStylePosition=R(n,io,s.listStylePosition),this.listStyleType=R(n,pr,s.listStyleType),this.marginTop=R(n,so,s.marginTop),this.marginRight=R(n,ao,s.marginRight),this.marginBottom=R(n,oo,s.marginBottom),this.marginLeft=R(n,lo,s.marginLeft),this.opacity=R(n,So,s.opacity);var d=R(n,co,s.overflow);this.overflowX=d[0],this.overflowY=d[d.length>1?1:0],this.overflowWrap=R(n,go,s.overflowWrap),this.paddingTop=R(n,po,s.paddingTop),this.paddingRight=R(n,uo,s.paddingRight),this.paddingBottom=R(n,fo,s.paddingBottom),this.paddingLeft=R(n,ho,s.paddingLeft),this.paintOrder=R(n,Vo,s.paintOrder),this.position=R(n,wo,s.position),this.textAlign=R(n,Bo,s.textAlign),this.textDecorationColor=R(n,Eo,null!==(i=s.textDecorationColor)&&void 0!==i?i:s.color),this.textDecorationLine=R(n,Ro,null!==(l=s.textDecorationLine)&&void 0!==l?l:s.textDecoration),this.textShadow=R(n,mo,s.textShadow),this.textTransform=R(n,Co,s.textTransform),this.transform=R(n,_o,s.transform),this.transformOrigin=R(n,bo,s.transformOrigin),this.visibility=R(n,Uo,s.visibility),this.webkitTextStrokeColor=R(n,No,s.webkitTextStrokeColor),this.webkitTextStrokeWidth=R(n,Wo,s.webkitTextStrokeWidth),this.wordBreak=R(n,Io,s.wordBreak),this.zIndex=R(n,xo,s.zIndex)}return r.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},r.prototype.isTransparent=function(){return be(this.backgroundColor)},r.prototype.isTransformed=function(){return null!==this.transform},r.prototype.isPositioned=function(){return 0!==this.position},r.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},r.prototype.isFloating=function(){return 0!==this.float},r.prototype.isInlineLevel=function(){return SA(this.display,4)||SA(this.display,33554432)||SA(this.display,268435456)||SA(this.display,536870912)||SA(this.display,67108864)||SA(this.display,134217728)},r}(),$o=function(){return function r(n,s){this.content=R(n,Oo,s.content),this.quotes=R(n,Go,s.quotes)}}(),Xi=function(){return function r(n,s){this.counterIncrement=R(n,ko,s.counterIncrement),this.counterReset=R(n,ur,s.counterReset)}}(),R=function(r,n,s){var i=new et,l=null!==s&&typeof s<"u"?s.toString():n.initialValue;i.write(l);var d=new tt(i.read());switch(n.type){case 2:var p=d.parseComponentValue();return n.parse(r,uA(p)?p.value:n.initialValue);case 0:return n.parse(r,d.parseComponentValue());case 1:return n.parse(r,d.parseComponentValues());case 4:return d.parseComponentValue();case 3:switch(n.format){case"angle":return xt_parse(r,d.parseComponentValue());case"color":return he_parse(r,d.parseComponentValue());case"image":return dr_parse(r,d.parseComponentValue());case"length":var f=d.parseComponentValue();return Fe(f)?f:TA;case"length-percentage":var u=d.parseComponentValue();return xA(u)?u:TA;case"time":return Ni.parse(r,d.parseComponentValue())}}},fr=function(r,n){var s=function(r){switch(r.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(r);return 1===s||n===s},ue=function(){return function r(n,s){this.context=n,this.textNodes=[],this.elements=[],this.flags=0,fr(s,3),this.styles=new Xo(n,window.getComputedStyle(s,null)),Ir(s)&&(this.styles.animationDuration.some(function(i){return i>0})&&(s.style.animationDuration="0s"),null!==this.styles.transform&&(s.style.transform="none")),this.bounds=pA(this.context,s),fr(s,4)&&(this.flags|=16)}}(),$i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/",Mt=typeof Uint8Array>"u"?[]:new Uint8Array(256),Bn=0;Bn<64;Bn++)Mt[$i.charCodeAt(Bn)]=Bn;for(var Yi=function(r,n,s){return r.slice?r.slice(n,s):new Uint16Array(Array.prototype.slice.call(r,n,s))},gl=function(){function r(n,s,i,l,d,p){this.initialValue=n,this.errorValue=s,this.highStart=i,this.highValueIndex=l,this.index=d,this.data=p}return r.prototype.get=function(n){var s;if(n>=0){if(n<55296||n>56319&&n<=65535)return this.data[s=((s=this.index[n>>5])<<2)+(31&n)];if(n<=65535)return this.data[s=((s=this.index[2048+(n-55296>>5)])<<2)+(31&n)];if(n<this.highStart)return s=this.index[s=2080+(n>>11)],this.data[s=((s=this.index[s+=n>>5&63])<<2)+(31&n)];if(n<=1114111)return this.data[this.highValueIndex]}return this.errorValue},r}(),Ji="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",pl=typeof Uint8Array>"u"?[]:new Uint8Array(256),wn=0;wn<64;wn++)pl[Ji.charCodeAt(wn)]=wn;var qi=8,_r=9,As=11,es=12,Bl=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(String.fromCodePoint)return String.fromCodePoint.apply(String,r);var s=r.length;if(!s)return"";for(var i=[],l=-1,d="";++l<s;){var p=r[l];p<=65535?i.push(p):i.push(55296+((p-=65536)>>10),p%1024+56320),(l+1===s||i.length>16384)&&(d+=String.fromCharCode.apply(String,i),i.length=0)}return d},wl=function(r){var s=function(r){var i,d,p,f,u,n=.75*r.length,s=r.length,l=0;"="===r[r.length-1]&&(n--,"="===r[r.length-2]&&n--);var B=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(n):new Array(n),w=Array.isArray(B)?B:new Uint8Array(B);for(i=0;i<s;i+=4)d=Mt[r.charCodeAt(i)],p=Mt[r.charCodeAt(i+1)],f=Mt[r.charCodeAt(i+2)],u=Mt[r.charCodeAt(i+3)],w[l++]=d<<2|p>>4,w[l++]=(15&p)<<4|f>>2,w[l++]=(3&f)<<6|63&u;return B}(r),i=Array.isArray(s)?function(r){for(var n=r.length,s=[],i=0;i<n;i+=4)s.push(r[i+3]<<24|r[i+2]<<16|r[i+1]<<8|r[i]);return s}(s):new Uint32Array(s),l=Array.isArray(s)?function(r){for(var n=r.length,s=[],i=0;i<n;i+=2)s.push(r[i+1]<<8|r[i]);return s}(s):new Uint16Array(s),p=Yi(l,12,i[4]/2),f=2===i[5]?Yi(l,(24+i[4])/2):function(r,n,s){return r.slice?r.slice(n,s):new Uint32Array(Array.prototype.slice.call(r,n,s))}(i,Math.ceil((24+i[4])/4));return new gl(i[0],i[1],i[2],i[3],p,f)}(
vendor: 26,158 bytes, line 1
1"AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFO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AAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAC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gAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="
vendor: 5,867 bytes, line 1
1),ml=function(r){return wl.get(r)},Cl=function(r,n,s){var i=s-2,l=n[i],d=n[s-1],p=n[s];if(2===d&&3===p)return"\xd7";if(2===d||3===d||4===d||2===p||3===p||4===p)return"\xf7";if(d===qi&&-1!==[qi,_r,As,es].indexOf(p)||(d===As||d===_r)&&(p===_r||10===p)||(d===es||10===d)&&10===p||13===p||5===p||7===p||1===d)return"\xd7";if(13===d&&14===p){for(;5===l;)l=n[--i];if(14===l)return"\xd7"}if(15===d&&15===p){for(var f=0;15===l;)f++,l=n[--i];if(f%2==0)return"\xd7"}return"\xf7"},_l=function(r){var n=function(r){for(var n=[],s=0,i=r.length;s<i;){var l=r.charCodeAt(s++);if(l>=55296&&l<=56319&&s<i){var d=r.charCodeAt(s++);56320==(64512&d)?n.push(((1023&l)<<10)+(1023&d)+65536):(n.push(l),s--)}else n.push(l)}return n}(r),s=n.length,i=0,l=0,d=n.map(ml);return{next:function(){if(i>=s)return{done:!0,value:null};for(var p="\xd7";i<s&&"\xd7"===(p=Cl(0,d,++i)););if("\xd7"!==p||i===s){var f=Bl.apply(null,n.slice(l,i));return l=i,{value:f,done:!1}}return{done:!0,value:null}}}},mn=function(r){return 0===r[0]&&255===r[1]&&0===r[2]&&255===r[3]},Cn=function(r,n,s,i,l){var d="http://www.w3.org/2000/svg",p=document.createElementNS(d,"svg"),f=document.createElementNS(d,"foreignObject");return p.setAttributeNS(null,"width",r.toString()),p.setAttributeNS(null,"height",n.toString()),f.setAttributeNS(null,"width","100%"),f.setAttributeNS(null,"height","100%"),f.setAttributeNS(null,"x",s.toString()),f.setAttributeNS(null,"y",i.toString()),f.setAttributeNS(null,"externalResourcesRequired","true"),p.appendChild(f),f.appendChild(l),p},_n=function(r){return new Promise(function(n,s){var i=new Image;i.onload=function(){return n(i)},i.onerror=s,i.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(r))})},DA={get SUPPORT_RANGE_BOUNDS(){var r=function(r){if(r.createRange){var s=r.createRange();if(s.getBoundingClientRect){var i=r.createElement("boundtest");i.style.height="123px",i.style.display="block",r.body.appendChild(i),s.selectNode(i);var l=s.getBoundingClientRect(),d=Math.round(l.height);if(r.body.removeChild(i),123===d)return!0}}return!1}(document);return Object.defineProperty(DA,"SUPPORT_RANGE_BOUNDS",{value:r}),r},get SUPPORT_WORD_BREAKING(){var r=DA.SUPPORT_RANGE_BOUNDS&&function(r){var n=r.createElement("boundtest");n.style.width="50px",n.style.display="block",n.style.fontSize="12px",n.style.letterSpacing="0px",n.style.wordSpacing="0px",r.body.appendChild(n);var s=r.createRange();n.innerHTML="function"==typeof"".repeat?"&#128104;".repeat(10):"";var i=n.firstChild,l=tA(i.data).map(function(u){return Q(u)}),d=0,p={},f=l.every(function(u,B){s.setStart(i,d),s.setEnd(i,d+u.length);var w=s.getBoundingClientRect();d+=u.length;var _=w.x>p.x||w.y>p.y;return p=w,0===B||_});return r.body.removeChild(n),f}(document);return Object.defineProperty(DA,"SUPPORT_WORD_BREAKING",{value:r}),r},get SUPPORT_SVG_DRAWING(){var r=function(r){var n=new Image,s=r.createElement("canvas"),i=s.getContext("2d");if(!i)return!1;n.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{i.drawImage(n,0,0),s.toDataURL()}catch{return!1}return!0}(document);return Object.defineProperty(DA,"SUPPORT_SVG_DRAWING",{value:r}),r},get SUPPORT_FOREIGNOBJECT_DRAWING(){var r="function"==typeof Array.from&&"function"==typeof window.fetch?function(r){var n=r.createElement("canvas"),s=100;n.width=s,n.height=s;var i=n.getContext("2d");if(!i)return Promise.reject(!1);i.fillStyle="rgb(0, 255, 0)",i.fillRect(0,0,s,s);var l=new Image,d=n.toDataURL();l.src=d;var p=Cn(s,s,0,0,l);return i.fillStyle="red",i.fillRect(0,0,s,s),_n(p).then(function(f){i.drawImage(f,0,0);var u=i.getImageData(0,0,s,s).data;i.fillStyle="red",i.fillRect(0,0,s,s);var B=r.createElement("div");return B.style.backgroundImage="url("+d+")",B.style.height=s+"px",mn(u)?_n(Cn(s,s,0,0,B)):Promise.reject(!1)}).then(function(f){return i.drawImage(f,0,0),mn(i.getImageData(0,0,s,s).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(DA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:r}),r},get SUPPORT_CORS_IMAGES(){var r=typeof(new Image).crossOrigin<"u";return Object.defineProperty(DA,"SUPPORT_CORS_IMAGES",{value:r}),r},get SUPPORT_RESPONSE_TYPE(){var r="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(DA,"SUPPORT_RESPONSE_TYPE",{value:r}),r},get SUPPORT_CORS_XHR(){var r="withCredentials"in new XMLHttpRequest;return Object.defineProperty(DA,"SUPPORT_CORS_XHR",{value:r}),r},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var r=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(DA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:r}),r}},ae=function(){return function r(n,s){this.text=n,this.bounds=s}}(),bl=function(r,n){var s=n.ownerDocument;if(s){var i=s.createElement("html2canvaswrapper");i.appendChild(n.cloneNode(!0));var l=n.parentNode;if(l){l.replaceChild(i,n);var d=pA(r,i);return i.firstChild&&l.replaceChild(i.firstChild,i),d}}return oA.EMPTY},ss=function(r,n,s){var i=r.ownerDocument;if(!i)throw new Error("Node has no owner document");var l=i.createRange();return l.setStart(r,n),l.setEnd(r,n+s),l},Qr=function(r){if(DA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(n.segment(r)).map(function(s){return s.segment})}return function(r){for(var i,n=_l(r),s=[];!(i=n.next()).done;)i.value&&s.push(i.value.slice());return s}(r)},Il=function(r,n){return 0!==n.letterSpacing?Qr(r):function(r,n){if(DA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var s=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(s.segment(r)).map(function(i){return i.segment})}return Ic(r,n)}(r,n)},xl=[32,160,4961,65792,65793,4153,4241],Ic=function(r,n){for(var l,s=function(r,n){var s=tA(r),i=js(s,n),l=i[0],d=i[1],p=i[2],f=s.length,u=0,B=0;return{next:function(){if(B>=f)return{done:!0,value:null};for(var w=Z;B<f&&(w=ni(s,d,l,++B,p))===Z;);
vendor: 1,026 bytes, line 1
1if(w!==Z||B===f){var _=new Ys(s,w,u,B);return u=B,{value:_,done:!1}}return{done:!0,value:null}}}}(r,{lineBreak:n.lineBreak,wordBreak:"break-word"===n.overflowWrap?"break-word":n.wordBreak}),i=[],d=function(){if(l.value){var p=l.value.slice(),f=tA(p),u="";f.forEach(function(B){-1===xl.indexOf(B)?u+=Q(B):(u.length&&i.push(u),i.push(Q(B)),u="")}),u.length&&i.push(u)}};!(l=s.next()).done;)d();return i},xc=function(){return function r(n,s,i){this.text=Sc(s.data,i.textTransform),this.textBounds=function(r,n,s,i){var l=Il(n,s),d=[],p=0;return l.forEach(function(f){if(s.textDecorationLine.length||f.trim().length>0)if(DA.SUPPORT_RANGE_BOUNDS){var u=ss(i,p,f.length).getClientRects();if(u.length>1){var B=Qr(f),w=0;B.forEach(function(v){d.push(new ae(v,oA.fromDOMRectList(r,ss(i,w+p,v.length).getClientRects()))),w+=v.length})}else d.push(new ae(f,oA.fromDOMRectList(r,u)))}else{var _=i.splitText(f.length);d.push(new ae(f,bl(r,i))),i=_}else DA.SUPPORT_RANGE_BOUNDS||(i=i.splitText(f.length));p+=f.length}),d}(n,this.text,i,s)}}
vendor: 23,038 bytes, line 1
1(),Sc=function(r,n){switch(n){case 1:return r.toLowerCase();case 3:return r.replace(Ec,Rc);case 2:return r.toUpperCase();default:return r}},Ec=/(^|\s|:|-|\(|\))([a-z])/g,Rc=function(r,n,s){return r.length>0?n+s.toUpperCase():r},as=function(r){function n(s,i){var l=r.call(this,s,i)||this;return l.src=i.currentSrc||i.src,l.intrinsicWidth=i.naturalWidth,l.intrinsicHeight=i.naturalHeight,l.context.cache.addImage(l.src),l}return m(n,r),n}(ue),os=function(r){function n(s,i){var l=r.call(this,s,i)||this;return l.canvas=i,l.intrinsicWidth=i.width,l.intrinsicHeight=i.height,l}return m(n,r),n}(ue),ls=function(r){function n(s,i){var l=r.call(this,s,i)||this,d=new XMLSerializer,p=pA(s,i);return i.setAttribute("width",p.width+"px"),i.setAttribute("height",p.height+"px"),l.svg="data:image/svg+xml,"+encodeURIComponent(d.serializeToString(i)),l.intrinsicWidth=i.width.baseVal.value,l.intrinsicHeight=i.height.baseVal.value,l.context.cache.addImage(l.svg),l}return m(n,r),n}(ue),Pt=function(r){function n(s,i){var l=r.call(this,s,i)||this;return l.value=i.value,l}return m(n,r),n}(ue),br=function(r){function n(s,i){var l=r.call(this,s,i)||this;return l.start=i.start,l.reversed="boolean"==typeof i.reversed&&!0===i.reversed,l}return m(n,r),n}(ue),Mc=[{type:15,flags:0,unit:"px",number:3}],Sl=[{type:16,flags:0,number:50}],yn="checkbox",Ne="radio",Rl="password",cs=707406591,Ur=function(r){function n(s,i){var l=r.call(this,s,i)||this;switch(l.type=i.type.toLowerCase(),l.checked=i.checked,l.value=function(r){var n=r.type===Rl?new Array(r.value.length+1).join("\u2022"):r.value;return 0===n.length?r.placeholder||"":n}(i),(l.type===yn||l.type===Ne)&&(l.styles.backgroundColor=3739148031,l.styles.borderTopColor=l.styles.borderRightColor=l.styles.borderBottomColor=l.styles.borderLeftColor=2779096575,l.styles.borderTopWidth=l.styles.borderRightWidth=l.styles.borderBottomWidth=l.styles.borderLeftWidth=1,l.styles.borderTopStyle=l.styles.borderRightStyle=l.styles.borderBottomStyle=l.styles.borderLeftStyle=1,l.styles.backgroundClip=[0],l.styles.backgroundOrigin=[0],l.bounds=function(r){return r.width>r.height?new oA(r.left+(r.width-r.height)/2,r.top,r.height,r.height):r.width<r.height?new oA(r.left,r.top+(r.height-r.width)/2,r.width,r.width):r}(l.bounds)),l.type){case yn:l.styles.borderTopRightRadius=l.styles.borderTopLeftRadius=l.styles.borderBottomRightRadius=l.styles.borderBottomLeftRadius=Mc;break;case Ne:l.styles.borderTopRightRadius=l.styles.borderTopLeftRadius=l.styles.borderBottomRightRadius=l.styles.borderBottomLeftRadius=Sl}return l}return m(n,r),n}(ue),ds=function(r){function n(s,i){var l=r.call(this,s,i)||this,d=i.options[i.selectedIndex||0];return l.value=d&&d.text||"",l}return m(n,r),n}(ue),gs=function(r){function n(s,i){var l=r.call(this,s,i)||this;return l.value=i.value,l}return m(n,r),n}(ue),ps=function(r){function n(s,i){var l=r.call(this,s,i)||this;l.src=i.src,l.width=parseInt(i.width,10)||0,l.height=parseInt(i.height,10)||0,l.backgroundColor=l.styles.backgroundColor;try{if(i.contentWindow&&i.contentWindow.document&&i.contentWindow.document.documentElement){l.tree=fs(s,i.contentWindow.document.documentElement);var d=i.contentWindow.document.documentElement?St(s,getComputedStyle(i.contentWindow.document.documentElement).backgroundColor):Be.TRANSPARENT,p=i.contentWindow.document.body?St(s,getComputedStyle(i.contentWindow.document.body).backgroundColor):Be.TRANSPARENT;l.backgroundColor=be(d)?be(p)?l.styles.backgroundColor:p:d}}catch{}return l}return m(n,r),n}(ue),Ml=["OL","UL","MENU"],vn=function(r,n,s,i){for(var l=n.firstChild,d=void 0;l;l=d)if(d=l.nextSibling,hs(l)&&l.data.trim().length>0)s.textNodes.push(new xc(r,l,s.styles));else if(it(l))if(ms(l)&&l.assignedNodes)l.assignedNodes().forEach(function(f){return vn(r,f,s,i)});else{var p=us(r,l);p.styles.isVisible()&&(Pl(l,p,i)?p.flags|=4:Tl(p.styles)&&(p.flags|=2),-1!==Ml.indexOf(l.tagName)&&(p.flags|=8),s.elements.push(p),l.shadowRoot?vn(r,l.shadowRoot,p,i):!Qn(l)&&!Tt(l)&&!bn(l)&&vn(r,l,p,i))}},us=function(r,n){return We(n)?new as(r,n):Sr(n)?new os(r,n):Tt(n)?new ls(r,n):Dl(n)?new Pt(r,n):Bs(n)?new br(r,n):Hl(n)?new Ur(r,n):bn(n)?new ds(r,n):Qn(n)?new gs(r,n):Rr(n)?new ps(r,n):new ue(r,n)},fs=function(r,n){var s=us(r,n);return s.flags|=4,vn(r,n,s,s),s},Pl=function(r,n,s){return n.styles.isPositionedWithZIndex()||n.styles.opacity<1||n.styles.isTransformed()||xr(r)&&s.styles.isTransparent()},Tl=function(r){return r.isPositioned()||r.isFloating()},hs=function(r){return r.nodeType===Node.TEXT_NODE},it=function(r){return r.nodeType===Node.ELEMENT_NODE},Ir=function(r){return it(r)&&typeof r.style<"u"&&!Fn(r)},Fn=function(r){return"object"==typeof r.className},Dl=function(r){return"LI"===r.tagName},Bs=function(r){return"OL"===r.tagName},Hl=function(r){return"INPUT"===r.tagName},Tt=function(r){return"svg"===r.tagName},xr=function(r){return"BODY"===r.tagName},Sr=function(r){return"CANVAS"===r.tagName},Er=function(r){return"VIDEO"===r.tagName},We=function(r){return"IMG"===r.tagName},Rr=function(r){return"IFRAME"===r.tagName},ws=function(r){return"STYLE"===r.tagName},Qn=function(r){return"TEXTAREA"===r.tagName},bn=function(r){return"SELECT"===r.tagName},ms=function(r){return"SLOT"===r.tagName},Cs=function(r){return r.tagName.indexOf("-")>0},Ll=function(){function r(){this.counters={}}return r.prototype.getCounterValue=function(n){var s=this.counters[n];return s&&s.length?s[s.length-1]:1},r.prototype.getCounterValues=function(n){return this.counters[n]||[]},r.prototype.pop=function(n){var s=this;n.forEach(function(i){return s.counters[i].pop()})},r.prototype.parse=function(n){var s=this,i=n.counterIncrement,l=n.counterReset,d=!0;null!==i&&i.forEach(function(f){var u=s.counters[f.counter];u&&0!==f.increment&&(d=!1,u.length||u.push(1),u[Math.max(0,u.length-1)]+=f.increment)});var p=[];return d&&l.forEach(function(f){var u=s.counters[f.counter];p.push(f.counter),u||(u=s.counters[f.counter]=[]),u.push(f.reset)}),p},r}(),_s={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ys={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Gl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},Kl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},KA=function(r,n,s,i,l,d){return r<n||r>s?Ht(r,l,d.length>0):i.integers.reduce(function(p,f,u){for(;r>=f;)r-=f,p+=i.values[u];return p},"")+d},vs=function(r,n,s,i){var l="";do{s||r--,l=i(r)+l,r/=n}while(r*n>=n);return l},IA=function(r,n,s,i,l){var d=s-n+1;return(r<0?"-":"")+(vs(Math.abs(r),d,i,function(p){return Q(Math.floor(p%d)+n)})+l)},Xe=function(r,n,s){void 0===s&&(s=". ");var i=n.length;return vs(Math.abs(r),i,!1,function(l){return n[Math.floor(l%i)]})+s},we=function(r,n,s,i,l,d){if(r<-9999||r>9999)return Ht(r,4,l.length>0);var p=Math.abs(r),f=l;if(0===p)return n[0]+f;for(var u=0;p>0&&u<=4;u++){var B=p%10;0===B&&SA(d,1)&&""!==f?f=n[B]+f:B>1||1===B&&0===u||1===B&&1===u&&SA(d,2)||1===B&&1===u&&SA(d,4)&&r>100||1===B&&u>1&&SA(d,8)?f=n[B]+(u>0?s[u-1]:"")+f:1===B&&u>0&&(f=s[u-1]+f),p=Math.floor(p/10)}return(r<0?i:"")+f},Mr="\ub9c8\uc774\ub108\uc2a4",Ht=function(r,n,s){var i=s?". ":"",l=s?"\u3001":"",d=s?", ":"",p=s?" ":"";switch(n){case 0:return"\u2022"+p;case 1:return"\u25e6"+p;case 2:return"\u25fe"+p;case 5:var f=IA(r,48,57,!0,i);return f.length<4?"0"+f:f;case 4:return Xe(r,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",l);case 6:return KA(r,1,3999,_s,3,i).toLowerCase();case 7:return KA(r,1,3999,_s,3,i);case 8:return IA(r,945,969,!1,i);case 9:return IA(r,97,122,!1,i);case 10:return IA(r,65,90,!1,i);case 11:return IA(r,1632,1641,!0,i);case 12:case 49:return KA(r,1,9999,ys,3,i);case 35:return KA(r,1,9999,ys,3,i).toLowerCase();case 13:return IA(r,2534,2543,!0,i);case 14:case 30:return IA(r,6112,6121,!0,i);case 15:return Xe(r,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",l);case 16:return Xe(r,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",l);case 17:case 48:return we(r,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8ca0",l,14);case 47:return we(r,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8ca0",l,15);case 42:return we(r,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8d1f",l,14);case 41:return we(r,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8d1f",l,15);case 26:return we(r,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",l,0);case 25:return we(r,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",l,7);case 31:return we(r,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc",Mr,d,7);case 33:return we(r,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c",Mr,d,0);case 32:return we(r,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343",Mr,d,7);case 18:return IA(r,2406,2415,!0,i);case 20:return KA(r,1,19999,Kl,3,i);case 21:return IA(r,2790,2799,!0,i);case 22:return IA(r,2662,2671,!0,i);case 22:return KA(r,1,10999,Gl,3,i);case 23:return Xe(r,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case 24:return Xe(r,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case 27:return IA(r,3302,3311,!0,i);case 28:return Xe(r,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",l);case 29:return Xe(r,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",l);case 34:return IA(r,3792,3801,!0,i);case 37:return IA(r,6160,6169,!0,i);case 38:return IA(r,4160,4169,!0,i);case 39:return IA(r,2918,2927,!0,i);case 40:return IA(r,1776,1785,!0,i);case 43:return IA(r,3046,3055,!0,i);case 44:return IA(r,3174,3183,!0,i);case 45:return IA(r,3664,3673,!0,i);case 46:return IA(r,3872,3881,!0,i);default:return IA(r,48,57,!0,i)}},Us="data-html2canvas-ignore",Is=function(){function r(n,s,i){if(this.context=n,this.options=i,this.scrolledElements=[],this.referenceElement=s,this.counters=new Ll,this.quoteDepth=0,!s.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(s.ownerDocument.documentElement,!1)}return r.prototype.toIFrame=function(n,s){var i=this,l=Vl(n,s);if(!l.contentWindow)return Promise.reject("Unable to find iframe window");var d=n.defaultView.pageXOffset,p=n.defaultView.pageYOffset,f=l.contentWindow,u=f.document,B=Xl(l).then(function(){return h(i,void 0,void 0,function(){var w,_;return L(this,function(v){switch(v.label){case 0:return this.scrolledElements.forEach(Yl),f&&(f.scrollTo(s.left,s.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(f.scrollY!==s.top||f.scrollX!==s.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(f.scrollX-s.left,f.scrollY-s.top,0,0))),w=this.options.onclone,typeof(_=this.clonedReferenceElement)>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:u.fonts&&u.fonts.ready?[4,u.fonts.ready]:[3,2];case 1:v.sent(),v.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Wl(u)]:[3,4];case 3:v.sent(),v.label=4;case 4:return"function"==typeof w?[2,Promise.resolve().then(function(){return w(u,_)}).then(function(){return l})]:[2,l]}})})});return u.open(),u.write($l(document.doctype)+"<html></html>"),jl(this.referenceElement.ownerDocument,d,p),u.replaceChild(u.adoptNode(this.documentElement),u.documentElement),u.close(),B},r.prototype.createElementClone=function(n){if(fr(n,2),Sr(n))return this.createCanvasClone(n);if(Er(n))return this.createVideoClone(n);if(ws(n))return this.createStyleClone(n);var s=n.cloneNode(!1);return We(s)&&(We(n)&&n.currentSrc&&n.currentSrc!==n.src&&(s.src=n.currentSrc,s.srcset=""),"lazy"===s.loading&&(s.loading="eager")),Cs(s)?this.createCustomElementClone(s):s},r.prototype.createCustomElementClone=function(n){var s=document.createElement("html2canvascustomelement");return Pr(n.style,s),s},r.prototype.createStyleClone=function(n){try{var s=n.sheet;if(s&&s.cssRules){var i=[].slice.call(s.cssRules,0).reduce(function(d,p){return p&&"string"==typeof p.cssText?d+p.cssText:d},""),l=n.cloneNode(!1);return l.textContent=i,l}}catch(d){if(this.context.logger.error("Unable to access cssRules property",d),"SecurityError"!==d.name)throw d}return n.cloneNode(!1)},r.prototype.createCanvasClone=function(n){var s;if(this.options.inlineImages&&n.ownerDocument){var i=n.ownerDocument.createElement("img");try{return i.src=n.toDataURL(),i}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",n)}}var l=n.cloneNode(!1);try{l.width=n.width,l.height=n.height;var d=n.getContext("2d"),p=l.getContext("2d");if(p)if(!this.options.allowTaint&&d)p.putImageData(d.getImageData(0,0,n.width,n.height),0,0);else{var f=null!==(s=n.getContext("webgl2"))&&void 0!==s?s:n.getContext("webgl");if(f){var u=f.getContextAttributes();!1===u?.preserveDrawingBuffer&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",n)}p.drawImage(n,0,0)}return l}catch{this.context.logger.info("Unable to clone canvas as it is tainted",n)}return l},r.prototype.createVideoClone=function(n){var s=n.ownerDocument.createElement("canvas");s.width=n.offsetWidth,s.height=n.offsetHeight;var i=s.getContext("2d");try{return i&&(i.drawImage(n,0,0,s.width,s.height),this.options.allowTaint||i.getImageData(0,0,s.width,s.height)),s}catch{this.context.logger.info("Unable to clone video as it is tainted",n)}var l=n.ownerDocument.createElement("canvas");return l.width=n.offsetWidth,l.height=n.offsetHeight,l},r.prototype.appendChildNode=function(n,s,i){(!it(s)||!function(r){return"SCRIPT"===r.tagName}(s)&&!s.hasAttribute(Us)&&("function"!=typeof this.options.ignoreElements||!this.options.ignoreElements(s)))&&(!this.options.copyStyles||!it(s)||!ws(s))&&n.appendChild(this.cloneNode(s,i))},r.prototype.cloneChildNodes=function(n,s,i){for(var l=this,d=n.shadowRoot?n.shadowRoot.firstChild:n.firstChild;d;d=d.nextSibling)if(it(d)&&ms(d)&&"function"==typeof d.assignedNodes){var p=d.assignedNodes();p.length&&p.forEach(function(f){return l.appendChildNode(s,f,i)})}else this.appendChildNode(s,d,i)},r.prototype.cloneNode=function(n,s){if(hs(n))return document.createTextNode(n.data);if(!n.ownerDocument)return n.cloneNode(!1);var i=n.ownerDocument.defaultView;if(i&&it(n)&&(Ir(n)||Fn(n))){var l=this.createElementClone(n);l.style.transitionProperty="none";var d=i.getComputedStyle(n),p=i.getComputedStyle(n,":before"),f=i.getComputedStyle(n,":after");this.referenceElement===n&&Ir(l)&&(this.clonedReferenceElement=l),xr(l)&&Zl(l);var u=this.counters.parse(new Xi(this.context,d)),B=this.resolvePseudoContent(n,l,p,Un.BEFORE);Cs(n)&&(s=!0),Er(n)||this.cloneChildNodes(n,l,s),B&&l.insertBefore(B,l.firstChild);var w=this.resolvePseudoContent(n,l,f,Un.AFTER);return w&&l.appendChild(w),this.counters.pop(u),(d&&(this.options.copyStyles||Fn(n))&&!Rr(n)||s)&&Pr(d,l),(0!==n.scrollTop||0!==n.scrollLeft)&&this.scrolledElements.push([l,n.scrollLeft,n.scrollTop]),(Qn(n)||bn(n))&&(Qn(l)||bn(l))&&(l.value=n.value),l}return n.cloneNode(!1)},r.prototype.resolvePseudoContent=function(n,s,i,l){var d=this;if(i){var p=i.content,f=s.ownerDocument;if(f&&p&&"none"!==p&&"-moz-alt-content"!==p&&"none"!==i.display){this.counters.parse(new Xi(this.context,i));var u=new $o(this.context,i),B=f.createElement("html2canvaspseudoelement");Pr(i,B),u.content.forEach(function(_){if(0===_.type)B.appendChild(f.createTextNode(_.value));else if(22===_.type){var v=f.createElement("img");v.src=_.value,v.style.opacity="1",B.appendChild(v)}else if(18===_.type){if("attr"===_.name){var T=_.values.filter(uA);T.length&&B.appendChild(f.createTextNode(n.getAttribute(T[0].value)||""))}else if("counter"===_.name){var b=_.values.filter(nt),X=b[1];if((x=b[0])&&uA(x)){var O=d.counters.getCounterValue(x.value),H=X&&uA(X)?pr.parse(d.context,X.value):3;B.appendChild(f.createTextNode(Ht(O,H,!1)))}}else if("counters"===_.name){var x,dA=_.values.filter(nt),j=dA[1];if(X=dA[2],(x=dA[0])&&uA(x)){var K=d.counters.getCounterValues(x.value),P=X&&uA(X)?pr.parse(d.context,X.value):3,sA=j&&0===j.type?j.value:"",aA=K.map(function(ZA){return Ht(ZA,P,!1)}).join(sA);B.appendChild(f.createTextNode(aA))}}}else if(20===_.type)switch(_.value){case"open-quote":B.appendChild(f.createTextNode(Wi(u.quotes,d.quoteDepth++,!0)));break;case"close-quote":B.appendChild(f.createTextNode(Wi(u.quotes,--d.quoteDepth,!1)));break;default:B.appendChild(f.createTextNode(_.value))}}),B.className=Tr+" "+Dr;var w=l===Un.BEFORE?" "+Tr:" "+Dr;return Fn(s)?s.className.baseValue+=w:s.className+=w,B}}},r.destroy=function(n){return!!n.parentNode&&(n.parentNode.removeChild(n),!0)},r}(),Un=function(r){return r[r.BEFORE=0]="BEFORE",r[r.AFTER=1]="AFTER",r}(Un||{}),Vl=function(r,n){var s=r.createElement("iframe");return s.className="html2canvas-container",s.style.visibility="hidden",s.style.position="fixed",s.style.left="-10000px",s.style.top="0px",s.style.border="0",s.width=n.width.toString(),s.height=n.height.toString(),s.scrolling="no",s.setAttribute(Us,"true"),r.body.appendChild(s),s},Nl=function(r){return new Promise(function(n){r.complete?n():r.src?(r.onload=n,r.onerror=n):n()})},Wl=function(r){return Promise.all([].slice.call(r.images,0).map(Nl))},Xl=function(r){return new Promise(function(n,s){var i=r.contentWindow;if(!i)return s("No window assigned for iframe");var l=i.document;i.onload=r.onload=function(){i.onload=r.onload=null;var d=setInterval(function(){l.body.childNodes.length>0&&"complete"===l.readyState&&(clearInterval(d),n(r))},50)}})},at=["all","d","content"],Pr=function(r,n){for(var s=r.length-1;s>=0;s--){var i=r.item(s);-1===at.indexOf(i)&&n.style.setProperty(i,r.getPropertyValue(i))}return n},$l=function(r){var n="";return r&&(n+="<!DOCTYPE ",r.name&&(n+=r.name),r.internalSubset&&(n+=r.internalSubset),r.publicId&&(n+='"'+r.publicId+'"'),r.systemId&&(n+='"'+r.systemId+'"'),n+=">"),n},jl=function(r,n,s){r&&r.defaultView&&(n!==r.defaultView.pageXOffset||s!==r.defaultView.pageYOffset)&&r.defaultView.scrollTo(n,s)},Yl=function(r){var n=r[0],i=r[2];n.scrollLeft=r[1],n.scrollTop=i},Tr="___html2canvas___pseudoelement_before",Dr="___html2canvas___pseudoelement_after",xs='{\n    content: "" !important;\n    display: none !important;\n}',Zl=function(r){ql(r,"."+Tr+":before"+xs+"\n         ."+Dr+":after"+xs)},ql=function(r,n){var s=r.ownerDocument;if(s){var i=s.createElement("style");i.textContent=n,r.appendChild(i)}},Ss=function(){function r(){}return r.getOrigin=function(n){var s=r._link;return s?(s.href=n,s.href=s.href,s.protocol+s.hostname+s.port):"about:blank"},r.isSameOrigin=function(n){return r.getOrigin(n)===r._origin},r.setContext=function(n){r._link=n.document.createElement("a"),r._origin=r.getOrigin(n.location.href)},r._origin="about:blank",r}(),Ac=function(){function r(n,s){this.context=n,this._options=s,this._cache={}}return r.prototype.addImage=function(n){var s=Promise.resolve();return this.has(n)||(Or(n)||rc(n))&&(this._cache[n]=this.loadImage(n)).catch(function(){}),s},r.prototype.match=function(n){return this._cache[n]},r.prototype.loadImage=function(n){return h(this,void 0,void 0,function(){var s,i,l,d,p=this;return L(this,function(f){switch(f.label){case 0:return s=Ss.isSameOrigin(n),i=!Hr(n)&&!0===this._options.useCORS&&DA.SUPPORT_CORS_IMAGES&&!s,l=!Hr(n)&&!s&&!Or(n)&&"string"==typeof this._options.proxy&&DA.SUPPORT_CORS_XHR&&!i,s||!1!==this._options.allowTaint||Hr(n)||Or(n)||l||i?(d=n,l?[4,this.proxy(d)]:[3,2]):[2];case 1:d=f.sent(),f.label=2;case 2:return this.context.logger.debug("Added image "+n.substring(0,256)),[4,new Promise(function(u,B){var w=new Image;w.onload=function(){return u(w)},w.onerror=B,(ic(d)||i)&&(w.crossOrigin="anonymous"),w.src=d,!0===w.complete&&setTimeout(function(){return u(w)},500),p._options.imageTimeout>0&&setTimeout(function(){return B("Timed out ("+p._options.imageTimeout+"ms) loading image")},p._options.imageTimeout)})];case 3:return[2,f.sent()]}})})},r.prototype.has=function(n){return typeof this._cache[n]<"u"},r.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},r.prototype.proxy=function(n){var s=this,i=this._options.proxy;if(!i)throw new Error("No proxy defined");var l=n.substring(0,256);return new Promise(function(d,p){var f=DA.SUPPORT_RESPONSE_TYPE?"blob":"text",u=new XMLHttpRequest;u.onload=function(){if(200===u.status)if("text"===f)d(u.response);else{var _=new FileReader;_.addEventListener("load",function(){return d(_.result)},!1),_.addEventListener("error",function(v){return p(v)}
vendor: 4,997 bytes, line 1
1,!1),_.readAsDataURL(u.response)}else p("Failed to proxy resource "+l+" with status code "+u.status)},u.onerror=p;var B=i.indexOf("?")>-1?"&":"?";if(u.open("GET",""+i+B+"url="+encodeURIComponent(n)+"&responseType="+f),"text"!==f&&u instanceof XMLHttpRequest&&(u.responseType=f),s._options.imageTimeout){var w=s._options.imageTimeout;u.timeout=w,u.ontimeout=function(){return p("Timed out ("+w+"ms) proxying "+l)}}u.send()})},r}(),ec=/^data:image\/svg\+xml/i,tc=/^data:image\/.*;base64,/i,nc=/^data:image\/.*/i,rc=function(r){return DA.SUPPORT_SVG_DRAWING||!sc(r)},Hr=function(r){return nc.test(r)},ic=function(r){return tc.test(r)},Or=function(r){return"blob"===r.substr(0,4)},sc=function(r){return"svg"===r.substr(-3).toLowerCase()||ec.test(r)},S=function(){function r(n,s){this.type=0,this.x=n,this.y=s}return r.prototype.add=function(n,s){return new r(this.x+n,this.y+s)},r}(),ot=function(r,n,s){return new S(r.x+(n.x-r.x)*s,r.y+(n.y-r.y)*s)},In=function(){function r(n,s,i,l){this.type=1,this.start=n,this.startControl=s,this.endControl=i,this.end=l}return r.prototype.subdivide=function(n,s){var i=ot(this.start,this.startControl,n),l=ot(this.startControl,this.endControl,n),d=ot(this.endControl,this.end,n),p=ot(i,l,n),f=ot(l,d,n),u=ot(p,f,n);return s?new r(this.start,i,p,u):new r(u,f,d,this.end)},r.prototype.add=function(n,s){return new r(this.start.add(n,s),this.startControl.add(n,s),this.endControl.add(n,s),this.end.add(n,s))},r.prototype.reverse=function(){return new r(this.end,this.endControl,this.startControl,this.start)},r}(),zA=function(r){return 1===r.type},ac=function(){return function r(n){var s=n.styles,i=n.bounds,l=It(s.borderTopLeftRadius,i.width,i.height),d=l[0],p=l[1],f=It(s.borderTopRightRadius,i.width,i.height),u=f[0],B=f[1],w=It(s.borderBottomRightRadius,i.width,i.height),_=w[0],v=w[1],T=It(s.borderBottomLeftRadius,i.width,i.height),b=T[0],x=T[1],X=[];X.push((d+u)/i.width),X.push((b+_)/i.width),X.push((p+x)/i.height),X.push((B+v)/i.height);var O=Math.max.apply(Math,X);O>1&&(d/=O,p/=O,u/=O,B/=O,_/=O,v/=O,b/=O,x/=O);var H=i.width-u,dA=i.height-v,j=i.width-_,K=i.height-x,P=s.borderTopWidth,sA=s.borderRightWidth,aA=s.borderBottomWidth,V=s.borderLeftWidth,RA=hA(s.paddingTop,n.bounds.width),ZA=hA(s.paddingRight,n.bounds.width),le=hA(s.paddingBottom,n.bounds.width),wA=hA(s.paddingLeft,n.bounds.width);this.topLeftBorderDoubleOuterBox=d>0||p>0?_A(i.left+V/3,i.top+P/3,d-V/3,p-P/3,gA.TOP_LEFT):new S(i.left+V/3,i.top+P/3),this.topRightBorderDoubleOuterBox=d>0||p>0?_A(i.left+H,i.top+P/3,u-sA/3,B-P/3,gA.TOP_RIGHT):new S(i.left+i.width-sA/3,i.top+P/3),this.bottomRightBorderDoubleOuterBox=_>0||v>0?_A(i.left+j,i.top+dA,_-sA/3,v-aA/3,gA.BOTTOM_RIGHT):new S(i.left+i.width-sA/3,i.top+i.height-aA/3),this.bottomLeftBorderDoubleOuterBox=b>0||x>0?_A(i.left+V/3,i.top+K,b-V/3,x-aA/3,gA.BOTTOM_LEFT):new S(i.left+V/3,i.top+i.height-aA/3),this.topLeftBorderDoubleInnerBox=d>0||p>0?_A(i.left+2*V/3,i.top+2*P/3,d-2*V/3,p-2*P/3,gA.TOP_LEFT):new S(i.left+2*V/3,i.top+2*P/3),this.topRightBorderDoubleInnerBox=d>0||p>0?_A(i.left+H,i.top+2*P/3,u-2*sA/3,B-2*P/3,gA.TOP_RIGHT):new S(i.left+i.width-2*sA/3,i.top+2*P/3),this.bottomRightBorderDoubleInnerBox=_>0||v>0?_A(i.left+j,i.top+dA,_-2*sA/3,v-2*aA/3,gA.BOTTOM_RIGHT):new S(i.left+i.width-2*sA/3,i.top+i.height-2*aA/3),this.bottomLeftBorderDoubleInnerBox=b>0||x>0?_A(i.left+2*V/3,i.top+K,b-2*V/3,x-2*aA/3,gA.BOTTOM_LEFT):new S(i.left+2*V/3,i.top+i.height-2*aA/3),this.topLeftBorderStroke=d>0||p>0?_A(i.left+V/2,i.top+P/2,d-V/2,p-P/2,gA.TOP_LEFT):new S(i.left+V/2,i.top+P/2),this.topRightBorderStroke=d>0||p>0?_A(i.left+H,i.top+P/2,u-sA/2,B-P/2,gA.TOP_RIGHT):new S(i.left+i.width-sA/2,i.top+P/2),this.bottomRightBorderStroke=_>0||v>0?_A(i.left+j,i.top+dA,_-sA/2,v-aA/2,gA.BOTTOM_RIGHT):new S(i.left+i.width-sA/2,i.top+i.height-aA/2),this.bottomLeftBorderStroke=b>0||x>0?_A(i.left+V/2,i.top+K,b-V/2,x-aA/2,gA.BOTTOM_LEFT):new S(i.left+V/2,i.top+i.height-aA/2),this.topLeftBorderBox=d>0||p>0?_A(i.left,i.top,d,p,gA.TOP_LEFT):new S(i.left,i.top),this.topRightBorderBox=u>0||B>0?_A(i.left+H,i.top,u,B,gA.TOP_RIGHT):new S(i.left+i.width,i.top),this.bottomRightBorderBox=_>0||v>0?_A(i.left+j,i.top+dA,_,v,gA.BOTTOM_RIGHT):new S(i.left+i.width,i.top+i.height),this.bottomLeftBorderBox=b>0||x>0?_A(i.left,i.top+K,b,x,gA.BOTTOM_LEFT):new S(i.left,i.top+i.height),this.topLeftPaddingBox=d>0||p>0?_A(i.left+V,i.top+P,Math.max(0,d-V),Math.max(0,p-P),gA.TOP_LEFT):new S(i.left+V,i.top+P),this.topRightPaddingBox=u>0||B>0?_A(i.left+Math.min(H,i.width-sA),i.top+P,H>i.width+sA?0:Math.max(0,u-sA),Math.max(0,B-P),gA.TOP_RIGHT):new S(i.left+i.width-sA,i.top+P),this.bottomRightPaddingBox=_>0||v>0?_A(i.left+Math.min(j,i.width-V),i.top+Math.min(dA,i.height-aA),Math.max(0,_-sA),Math.max(0,v-aA),gA.BOTTOM_RIGHT):new S(i.left+i.width-sA,i.top+i.height-aA),this.bottomLeftPaddingBox=b>0||x>0?_A(i.left+V,i.top+Math.min(K,i.height-aA),Math.max(0,b-V),Math.max(0,x-aA),gA.BOTTOM_LEFT):new S(i.left+V,i.top+i.height-aA),this.topLeftContentBox=d>0||p>
vendor: 35,435 bytes, line 1
10?_A(i.left+V+wA,i.top+P+RA,Math.max(0,d-(V+wA)),Math.max(0,p-(P+RA)),gA.TOP_LEFT):new S(i.left+V+wA,i.top+P+RA),this.topRightContentBox=u>0||B>0?_A(i.left+Math.min(H,i.width+V+wA),i.top+P+RA,H>i.width+V+wA?0:u-V+wA,B-(P+RA),gA.TOP_RIGHT):new S(i.left+i.width-(sA+ZA),i.top+P+RA),this.bottomRightContentBox=_>0||v>0?_A(i.left+Math.min(j,i.width-(V+wA)),i.top+Math.min(dA,i.height+P+RA),Math.max(0,_-(sA+ZA)),v-(aA+le),gA.BOTTOM_RIGHT):new S(i.left+i.width-(sA+ZA),i.top+i.height-(aA+le)),this.bottomLeftContentBox=b>0||x>0?_A(i.left+V+wA,i.top+K,Math.max(0,b-(V+wA)),x-(aA+le),gA.BOTTOM_LEFT):new S(i.left+V+wA,i.top+i.height-(aA+le))}}(),gA=function(r){return r[r.TOP_LEFT=0]="TOP_LEFT",r[r.TOP_RIGHT=1]="TOP_RIGHT",r[r.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",r[r.BOTTOM_LEFT=3]="BOTTOM_LEFT",r}(gA||{}),_A=function(r,n,s,i,l){var d=(Math.sqrt(2)-1)/3*4,p=s*d,f=i*d,u=r+s,B=n+i;switch(l){case gA.TOP_LEFT:return new In(new S(r,B),new S(r,B-f),new S(u-p,n),new S(u,n));case gA.TOP_RIGHT:return new In(new S(r,n),new S(r+p,n),new S(u,B-f),new S(u,B));case gA.BOTTOM_RIGHT:return new In(new S(u,n),new S(u,n+f),new S(r+p,B),new S(r,B));default:return new In(new S(u,B),new S(u-p,B),new S(r,n+f),new S(r,n))}},xn=function(r){return[r.topLeftBorderBox,r.topRightBorderBox,r.bottomRightBorderBox,r.bottomLeftBorderBox]},Sn=function(r){return[r.topLeftPaddingBox,r.topRightPaddingBox,r.bottomRightPaddingBox,r.bottomLeftPaddingBox]},lc=function(){return function r(n,s,i){this.offsetX=n,this.offsetY=s,this.matrix=i,this.type=0,this.target=6}}(),En=function(){return function r(n,s){this.path=n,this.target=s,this.type=1}}(),cc=function(){return function r(n){this.opacity=n,this.type=2,this.target=6}}(),Es=function(r){return 1===r.type},Rs=function(r,n){return r.length===n.length&&r.some(function(s,i){return s===n[i]})},Ms=function(){return function r(n){this.element=n,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}(),Ps=function(){function r(n,s){if(this.container=n,this.parent=s,this.effects=[],this.curves=new ac(this.container),this.container.styles.opacity<1&&this.effects.push(new cc(this.container.styles.opacity)),null!==this.container.styles.transform&&this.effects.push(new lc(this.container.bounds.left+this.container.styles.transformOrigin[0].number,this.container.bounds.top+this.container.styles.transformOrigin[1].number,this.container.styles.transform)),0!==this.container.styles.overflowX){var p=xn(this.curves),f=Sn(this.curves);Rs(p,f)?this.effects.push(new En(p,6)):(this.effects.push(new En(p,2)),this.effects.push(new En(f,4)))}}return r.prototype.getEffects=function(n){for(var s=-1===[2,3].indexOf(this.container.styles.position),i=this.parent,l=this.effects.slice(0);i;){var d=i.effects.filter(function(u){return!Es(u)});if(s||0!==i.container.styles.position||!i.parent){if(l.unshift.apply(l,d),s=-1===[2,3].indexOf(i.container.styles.position),0!==i.container.styles.overflowX){var p=xn(i.curves),f=Sn(i.curves);Rs(p,f)||l.unshift(new En(f,6))}}else l.unshift.apply(l,d);i=i.parent}return l.filter(function(u){return SA(u.target,n)})},r}(),kr=function(r,n,s,i){r.container.elements.forEach(function(l){var d=SA(l.flags,4),p=SA(l.flags,2),f=new Ps(l,r);SA(l.styles.display,2048)&&i.push(f);var u=SA(l.flags,8)?[]:i;if(d||p){var B=d||l.styles.isPositioned()?s:n,w=new Ms(f);if(l.styles.isPositioned()||l.styles.opacity<1||l.styles.isTransformed()){var _=l.styles.zIndex.order;if(_<0){var v=0;B.negativeZIndex.some(function(b,x){return _>b.element.container.styles.zIndex.order?(v=x,!1):v>0}),B.negativeZIndex.splice(v,0,w)}else if(_>0){var T=0;B.positiveZIndex.some(function(b,x){return _>=b.element.container.styles.zIndex.order?(T=x+1,!1):T>0}),B.positiveZIndex.splice(T,0,w)}else B.zeroOrAutoZIndexOrTransformedOrOpacity.push(w)}else l.styles.isFloating()?B.nonPositionedFloats.push(w):B.nonPositionedInlineLevel.push(w);kr(f,w,d?w:s,u)}else l.styles.isInlineLevel()?n.inlineLevel.push(f):n.nonInlineLevel.push(f),kr(f,n,s,u);SA(l.flags,8)&&Lr(l,u)})},Lr=function(r,n){for(var s=r instanceof br?r.start:1,i=r instanceof br&&r.reversed,l=0;l<n.length;l++){var d=n[l];d.container instanceof Pt&&"number"==typeof d.container.value&&0!==d.container.value&&(s=d.container.value),d.listValue=Ht(s,d.container.styles.listStyleType,!0),s+=i?-1:1}},Ts=function(r,n){switch(n){case 0:return a(r.topLeftBorderBox,r.topLeftPaddingBox,r.topRightBorderBox,r.topRightPaddingBox);case 1:return a(r.topRightBorderBox,r.topRightPaddingBox,r.bottomRightBorderBox,r.bottomRightPaddingBox);case 2:return a(r.bottomRightBorderBox,r.bottomRightPaddingBox,r.bottomLeftBorderBox,r.bottomLeftPaddingBox);default:return a(r.bottomLeftBorderBox,r.bottomLeftPaddingBox,r.topLeftBorderBox,r.topLeftPaddingBox)}},e=function(r,n){var s=[];return zA(r)?s.push(r.subdivide(.5,!1)):s.push(r),zA(n)?s.push(n.subdivide(.5,!0)):s.push(n),s},a=function(r,n,s,i){var l=[];return zA(r)?l.push(r.subdivide(.5,!1)):l.push(r),zA(s)?l.push(s.subdivide(.5,!0)):l.push(s),zA(i)?l.push(i.subdivide(.5,!0).reverse()):l.push(i),zA(n)?l.push(n.subdivide(.5,!1).reverse()):l.push(n),l},o=function(r){var s=r.styles;return r.bounds.add(s.borderLeftWidth,s.borderTopWidth,-(s.borderRightWidth+s.borderLeftWidth),-(s.borderTopWidth+s.borderBottomWidth))},g=function(r){var n=r.styles,s=r.bounds,i=hA(n.paddingLeft,s.width),l=hA(n.paddingRight,s.width),d=hA(n.paddingTop,s.width),p=hA(n.paddingBottom,s.width);return s.add(i+n.borderLeftWidth,d+n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth+i+l),-(n.borderTopWidth+n.borderBottomWidth+d+p))},G=function(r,n,s){var i=function(r,n){return 0===r?n.bounds:2===r?g(n):o(n)}(yA(r.styles.backgroundOrigin,n),r),l=function(r,n){return 0===r?n.bounds:2===r?g(n):o(n)}(yA(r.styles.backgroundClip,n),r),d=bA(yA(r.styles.backgroundSize,n),s,i),p=d[0],f=d[1],u=It(yA(r.styles.backgroundPosition,n),i.width-p,i.height-f);return[BA(yA(r.styles.backgroundRepeat,n),u,d,i,l),Math.round(i.left+u[0]),Math.round(i.top+u[1]),p,f]},M=function(r){return uA(r)&&r.value===Rt.AUTO},AA=function(r){return"number"==typeof r},bA=function(r,n,s){var i=n[0],l=n[1],d=n[2],p=r[0],f=r[1];if(!p)return[0,0];if(xA(p)&&f&&xA(f))return[hA(p,s.width),hA(f,s.height)];var u=AA(d);if(uA(p)&&(p.value===Rt.CONTAIN||p.value===Rt.COVER))return AA(d)?s.width/s.height<d!=(p.value===Rt.COVER)?[s.width,s.width/d]:[s.height*d,s.height]:[s.width,s.height];var w=AA(i),_=AA(l),v=w||_;if(M(p)&&(!f||M(f)))return w&&_?[i,l]:u||v?v&&u?[w?i:l*d,_?l:i/d]:[w?i:s.width,_?l:s.height]:[s.width,s.height];if(u){var O=0,H=0;return xA(p)?O=hA(p,s.width):xA(f)&&(H=hA(f,s.height)),M(p)?O=H*d:(!f||M(f))&&(H=O/d),[O,H]}var dA=null,j=null;if(xA(p)?dA=hA(p,s.width):f&&xA(f)&&(j=hA(f,s.height)),null!==dA&&(!f||M(f))&&(j=w&&_?dA/i*l:s.height),null!==j&&M(p)&&(dA=w&&_?j/l*i:s.width),null!==dA&&null!==j)return[dA,j];throw new Error("Unable to calculate background-size for element")},yA=function(r,n){var s=r[n];return typeof s>"u"?r[0]:s},BA=function(r,n,s,i,l){var d=n[0],p=n[1],f=s[0],u=s[1];switch(r){case 2:return[new S(Math.round(i.left),Math.round(i.top+p)),new S(Math.round(i.left+i.width),Math.round(i.top+p)),new S(Math.round(i.left+i.width),Math.round(u+i.top+p)),new S(Math.round(i.left),Math.round(u+i.top+p))];case 3:return[new S(Math.round(i.left+d),Math.round(i.top)),new S(Math.round(i.left+d+f),Math.round(i.top)),new S(Math.round(i.left+d+f),Math.round(i.height+i.top)),new S(Math.round(i.left+d),Math.round(i.height+i.top))];case 1:return[new S(Math.round(i.left+d),Math.round(i.top+p)),new S(Math.round(i.left+d+f),Math.round(i.top+p)),new S(Math.round(i.left+d+f),Math.round(i.top+p+u)),new S(Math.round(i.left+d),Math.round(i.top+p+u))];default:return[new S(Math.round(l.left),Math.round(l.top)),new S(Math.round(l.left+l.width),Math.round(l.top)),new S(Math.round(l.left+l.width),Math.round(l.height+l.top)),new S(Math.round(l.left),Math.round(l.height+l.top))]}},$A="Hidden Text",cA=function(){function r(n){this._data={},this._document=n}return r.prototype.parseMetrics=function(n,s){var i=this._document.createElement("div"),l=this._document.createElement("img"),d=this._document.createElement("span"),p=this._document.body;i.style.visibility="hidden",i.style.fontFamily=n,i.style.fontSize=s,i.style.margin="0",i.style.padding="0",i.style.whiteSpace="nowrap",p.appendChild(i),l.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",l.width=1,l.height=1,l.style.margin="0",l.style.padding="0",l.style.verticalAlign="baseline",d.style.fontFamily=n,d.style.fontSize=s,d.style.margin="0",d.style.padding="0",d.appendChild(this._document.createTextNode($A)),i.appendChild(d),i.appendChild(l);var f=l.offsetTop-d.offsetTop+2;i.removeChild(d),i.appendChild(this._document.createTextNode($A)),i.style.lineHeight="normal",l.style.verticalAlign="super";var u=l.offsetTop-i.offsetTop+2;return p.removeChild(i),{baseline:f,middle:u}},r.prototype.getMetrics=function(n,s){var i=n+" "+s;return typeof this._data[i]>"u"&&(this._data[i]=this.parseMetrics(n,s)),this._data[i]},r}(),VA=function(){return function r(n,s){this.context=n,this.options=s}}(),me=function(r){function n(s,i){var l=r.call(this,s,i)||this;return l._activeEffects=[],l.canvas=i.canvas?i.canvas:document.createElement("canvas"),l.ctx=l.canvas.getContext("2d"),i.canvas||(l.canvas.width=Math.floor(i.width*i.scale),l.canvas.height=Math.floor(i.height*i.scale),l.canvas.style.width=i.width+"px",l.canvas.style.height=i.height+"px"),l.fontMetrics=new cA(document),l.ctx.scale(l.options.scale,l.options.scale),l.ctx.translate(-i.x,-i.y),l.ctx.textBaseline="bottom",l._activeEffects=[],l.context.logger.debug("Canvas renderer initialized ("+i.width+"x"+i.height+") with scale "+i.scale),l}return m(n,r),n.prototype.applyEffects=function(s){for(var i=this;this._activeEffects.length;)this.popEffect();s.forEach(function(l){return i.applyEffect(l)})},n.prototype.applyEffect=function(s){this.ctx.save(),function(r){return 2===r.type}(s)&&(this.ctx.globalAlpha=s.opacity),function(r){return 0===r.type}(s)&&(this.ctx.translate(s.offsetX,s.offsetY),this.ctx.transform(s.matrix[0],s.matrix[1],s.matrix[2],s.matrix[3],s.matrix[4],s.matrix[5]),this.ctx.translate(-s.offsetX,-s.offsetY)),Es(s)&&(this.path(s.path),this.ctx.clip()),this._activeEffects.push(s)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(s){return h(this,void 0,void 0,function(){return L(this,function(l){switch(l.label){case 0:return s.element.container.styles.isVisible()?[4,this.renderStackContent(s)]:[3,2];case 1:l.sent(),l.label=2;case 2:return[2]}})})},n.prototype.renderNode=function(s){return h(this,void 0,void 0,function(){return L(this,function(i){switch(i.label){case 0:return SA(s.container.flags,16),s.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(s)]:[3,3];case 1:return i.sent(),[4,this.renderNodeContent(s)];case 2:i.sent(),i.label=3;case 3:return[2]}})})},n.prototype.renderTextWithLetterSpacing=function(s,i,l){var d=this;0===i?this.ctx.fillText(s.text,s.bounds.left,s.bounds.top+l):Qr(s.text).reduce(function(f,u){return d.ctx.fillText(u,f,s.bounds.top+l),f+d.ctx.measureText(u).width},s.bounds.left)},n.prototype.createFontStyle=function(s){var i=s.fontVariant.filter(function(p){return"normal"===p||"small-caps"===p}).join(""),l=Bc(s.fontFamily).join(", "),d=ve(s.fontSize)?""+s.fontSize.number+s.fontSize.unit:s.fontSize.number+"px";return[[s.fontStyle,i,s.fontWeight,d,l].join(" "),l,d]},n.prototype.renderTextNode=function(s,i){return h(this,void 0,void 0,function(){var l,p,f,u,B,w,_,v=this;return L(this,function(T){return l=this.createFontStyle(i),p=l[1],f=l[2],this.ctx.font=l[0],this.ctx.direction=1===i.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",u=this.fontMetrics.getMetrics(p,f),B=u.baseline,w=u.middle,_=i.paintOrder,s.textBounds.forEach(function(b){_.forEach(function(x){switch(x){case 0:v.ctx.fillStyle=EA(i.color),v.renderTextWithLetterSpacing(b,i.letterSpacing,B);var X=i.textShadow;X.length&&b.text.trim().length&&(X.slice(0).reverse().forEach(function(O){v.ctx.shadowColor=EA(O.color),v.ctx.shadowOffsetX=O.offsetX.number*v.options.scale,v.ctx.shadowOffsetY=O.offsetY.number*v.options.scale,v.ctx.shadowBlur=O.blur.number,v.renderTextWithLetterSpacing(b,i.letterSpacing,B)}),v.ctx.shadowColor="",v.ctx.shadowOffsetX=0,v.ctx.shadowOffsetY=0,v.ctx.shadowBlur=0),i.textDecorationLine.length&&(v.ctx.fillStyle=EA(i.textDecorationColor||i.color),i.textDecorationLine.forEach(function(O){switch(O){case 1:v.ctx.fillRect(b.bounds.left,Math.round(b.bounds.top+B),b.bounds.width,1);break;case 2:v.ctx.fillRect(b.bounds.left,Math.round(b.bounds.top),b.bounds.width,1);break;case 3:v.ctx.fillRect(b.bounds.left,Math.ceil(b.bounds.top+w),b.bounds.width,1)}}));break;case 1:i.webkitTextStrokeWidth&&b.text.trim().length&&(v.ctx.strokeStyle=EA(i.webkitTextStrokeColor),v.ctx.lineWidth=i.webkitTextStrokeWidth,v.ctx.lineJoin=window.chrome?"miter":"round",v.ctx.strokeText(b.text,b.bounds.left,b.bounds.top+B)),v.ctx.strokeStyle="",v.ctx.lineWidth=0,v.ctx.lineJoin="miter"}})}),[2]})})},n.prototype.renderReplacedElement=function(s,i,l){if(l&&s.intrinsicWidth>0&&s.intrinsicHeight>0){var d=g(s),p=Sn(i);this.path(p),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(l,0,0,s.intrinsicWidth,s.intrinsicHeight,d.left,d.top,d.width,d.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(s){return h(this,void 0,void 0,function(){var i,l,d,p,f,w,_,v,b,x,X,O,H,dA,j,K;return L(this,function(P){switch(P.label){case 0:this.applyEffects(s.getEffects(4)),l=s.curves,d=(i=s.container).styles,p=0,f=i.textNodes,P.label=1;case 1:return p<f.length?[4,this.renderTextNode(f[p],d)]:[3,4];case 2:P.sent(),P.label=3;case 3:return p++,[3,1];case 4:if(!(i instanceof as))return[3,8];P.label=5;case 5:return P.trys.push([5,7,,8]),[4,this.context.cache.match(i.src)];case 6:return H=P.sent(),this.renderReplacedElement(i,l,H),[3,8];case 7:return P.sent(),this.context.logger.error("Error loading image "+i.src),[3,8];case 8:if(i instanceof os&&this.renderReplacedElement(i,l,i.canvas),!(i instanceof ls))return[3,12];P.label=9;case 9:return P.trys.push([9,11,,12]),[4,this.context.cache.match(i.svg)];case 10:return H=P.sent(),this.renderReplacedElement(i,l,H),[3,12];case 11:return P.sent(),this.context.logger.error("Error loading svg "+i.svg.substring(0,255)),[3,12];case 12:return i instanceof ps&&i.tree?[4,new n(this.context,{scale:this.options.scale,backgroundColor:i.backgroundColor,x:0,y:0,width:i.width,height:i.height}).render(i.tree)]:[3,14];case 13:w=P.sent(),i.width&&i.height&&this.ctx.drawImage(w,0,0,i.width,i.height,i.bounds.left,i.bounds.top,i.bounds.width,i.bounds.height),P.label=14;case 14:if(i instanceof Ur&&(_=Math.min(i.bounds.width,i.bounds.height),i.type===yn?i.checked&&(this.ctx.save(),this.path([new S(i.bounds.left+.39363*_,i.bounds.top+.79*_),new S(i.bounds.left+.16*_,i.bounds.top+.5549*_),new S(i.bounds.left+.27347*_,i.bounds.top+.44071*_),new S(i.bounds.left+.39694*_,i.bounds.top+.5649*_),new S(i.bounds.left+.72983*_,i.bounds.top+.23*_),new S(i.bounds.left+.84*_,i.bounds.top+.34085*_),new S(i.bounds.left+.39363*_,i.bounds.top+.79*_)]),this.ctx.fillStyle=EA(cs),this.ctx.fill(),this.ctx.restore()):i.type===Ne&&i.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(i.bounds.left+_/2,i.bounds.top+_/2,_/4,0,2*Math.PI,!0),this.ctx.fillStyle=EA(cs),this.ctx.fill(),this.ctx.restore())),Ot(i)&&i.value.length){switch(v=this.createFontStyle(d),b=this.fontMetrics.getMetrics(j=v[0],v[1]).baseline,this.ctx.font=j,this.ctx.fillStyle=EA(d.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Gr(i.styles.textAlign),K=g(i),x=0,i.styles.textAlign){case 1:x+=K.width/2;break;case 2:x+=K.width}X=K.add(x,0,0,-K.height/2+1),this.ctx.save(),this.path([new S(K.left,K.top),new S(K.left+K.width,K.top),new S(K.left+K.width,K.top+K.height),new S(K.left,K.top+K.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new ae(i.value,X),d.letterSpacing,b),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!SA(i.styles.display,2048))return[3,20];if(null===i.styles.listStyleImage)return[3,19];if(0!==(O=i.styles.listStyleImage).type)return[3,18];H=void 0,dA=O.url,P.label=15;case 15:return P.trys.push([15,17,,18]),[4,this.context.cache.match(dA)];case 16:return H=P.sent(),this.ctx.drawImage(H,i.bounds.left-(H.width+10),i.bounds.top),[3,18];case 17:return P.sent(),this.context.logger.error("Error loading list-style-image "+dA),[3,18];case 18:return[3,20];case 19:s.listValue&&-1!==i.styles.listStyleType&&(j=this.createFontStyle(d)[0],this.ctx.font=j,this.ctx.fillStyle=EA(d.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",K=new oA(i.bounds.left,i.bounds.top+hA(i.styles.paddingTop,i.bounds.width),i.bounds.width,Ki(d.lineHeight,d.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new ae(s.listValue,K),d.letterSpacing,Ki(d.lineHeight,d.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),P.label=20;case 20:return[2]}})})},n.prototype.renderStackContent=function(s){return h(this,void 0,void 0,function(){var i,l,d,p,f,u,B,w,_,v,T,b,x,X;return L(this,function(H){switch(H.label){case 0:return SA(s.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(s.element)];case 1:H.sent(),i=0,l=s.negativeZIndex,H.label=2;case 2:return i<l.length?[4,this.renderStack(l[i])]:[3,5];case 3:H.sent(),H.label=4;case 4:return i++,[3,2];case 5:return[4,this.renderNodeContent(s.element)];case 6:H.sent(),d=0,p=s.nonInlineLevel,H.label=7;case 7:return d<p.length?[4,this.renderNode(p[d])]:[3,10];case 8:H.sent(),H.label=9;case 9:return d++,[3,7];case 10:f=0,u=s.nonPositionedFloats,H.label=11;case 11:return f<u.length?[4,this.renderStack(u[f])]:[3,14];case 12:H.sent(),H.label=13;case 13:return f++,[3,11];case 14:B=0,w=s.nonPositionedInlineLevel,H.label=15;case 15:return B<w.length?[4,this.renderStack(w[B])]:[3,18];case 16:H.sent(),H.label=17;case 17:return B++,[3,15];case 18:_=0,v=s.inlineLevel,H.label=19;case 19:return _<v.length?[4,this.renderNode(v[_])]:[3,22];case 20:H.sent(),H.label=21;case 21:return _++,[3,19];case 22:T=0,b=s.zeroOrAutoZIndexOrTransformedOrOpacity,H.label=23;case 23:return T<b.length?[4,this.renderStack(b[T])]:[3,26];case 24:H.sent(),H.label=25;case 25:return T++,[3,23];case 26:x=0,X=s.positiveZIndex,H.label=27;case 27:return x<X.length?[4,this.renderStack(X[x])]:[3,30];case 28:H.sent(),H.label=29;case 29:return x++,[3,27];case 30:return[2]}})})},n.prototype.mask=function(s){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(s.slice(0).reverse()),this.ctx.closePath()},n.prototype.path=function(s){this.ctx.beginPath(),this.formatPath(s),this.ctx.closePath()},n.prototype.formatPath=function(s){var i=this;s.forEach(function(l,d){var p=zA(l)?l.start:l;0===d?i.ctx.moveTo(p.x,p.y):i.ctx.lineTo(p.x,p.y),zA(l)&&i.ctx.bezierCurveTo(l.startControl.x,l.startControl.y,l.endControl.x,l.endControl.y,l.end.x,l.end.y)})},n.prototype.renderRepeat=function(s,i,l,d){this.path(s),this.ctx.fillStyle=i,this.ctx.translate(l,d),this.ctx.fill(),this.ctx.translate(-l,-d)},n.prototype.resizeImage=function(s,i,l){var d;if(s.width===i&&s.height===l)return s;var f=(null!==(d=this.canvas.ownerDocument)&&void 0!==d?d:document).createElement("canvas");return f.width=Math.max(1,i),f.height=Math.max(1,l),f.getContext("2d").drawImage(s,0,0,s.width,s.height,0,0,i,l),f},n.prototype.renderBackgroundImage=function(s){return h(this,void 0,void 0,function(){var i,l,d,p,f;return L(this,function(B){switch(B.label){case 0:i=s.styles.backgroundImage.length-1,l=function(w){var _,v,T,b,x,X,O,H,dA,j,K,P,sA,aA,V,RA,ZA,le,wA,GA,lt,qA,Ae,kt,Re,ct,Lt,Gt,je,Kt,Ye;return L(this,function(Rn){switch(Rn.label){case 0:if(0!==w.type)return[3,5];_=void 0,v=w.url,Rn.label=1;case 1:return Rn.trys.push([1,3,,4]),[4,d.context.cache.match(v)];case 2:return _=Rn.sent(),[3,4];case 3:return Rn.sent(),d.context.logger.error("Error loading background-image "+v),[3,4];case 4:return _&&(T=G(s,i,[_.width,_.height,_.width/_.height]),RA=T[0],qA=T[1],Ae=T[2],aA=d.ctx.createPattern(d.resizeImage(_,wA=T[3],GA=T[4]),"repeat"),d.renderRepeat(RA,aA,qA,Ae)),[3,6];case 5:!function(r){return 1===r.type}(w)?function(r){return 2===r.type}(w)&&(V=G(s,i,[null,null,null]),RA=V[0],ZA=V[1],le=V[2],GA=V[4],qA=hA((lt=0===w.position.length?[ir]:w.position)[0],wA=V[3]),Ae=hA(lt[lt.length-1],GA),kt=function(r,n,s,i,l){var d=0,p=0;switch(r.size){case 0:0===r.shape?d=p=Math.min(Math.abs(n),Math.abs(n-i),Math.abs(s),Math.abs(s-l)):1===r.shape&&(d=Math.min(Math.abs(n),Math.abs(n-i)),p=Math.min(Math.abs(s),Math.abs(s-l)));break;case 2:if(0===r.shape)d=p=Math.min(se(n,s),se(n,s-l),se(n-i,s),se(n-i,s-l));else if(1===r.shape){var f=Math.min(Math.abs(s),Math.abs(s-l))/Math.min(Math.abs(n),Math.abs(n-i)),u=lr(i,l,n,s,!0);p=f*(d=se(u[0]-n,(u[1]-s)/f))}break;case 1:0===r.shape?d=p=Math.max(Math.abs(n),Math.abs(n-i),Math.abs(s),Math.abs(s-l)):1===r.shape&&(d=Math.max(Math.abs(n),Math.abs(n-i)),p=Math.max(Math.abs(s),Math.abs(s-l)));break;case 3:if(0===r.shape)d=p=Math.max(se(n,s),se(n,s-l),se(n-i,s),se(n-i,s-l));else if(1===r.shape){f=Math.max(Math.abs(s),Math.abs(s-l))/Math.max(Math.abs(n),Math.abs(n-i));var _=lr(i,l,n,s,!1);p=f*(d=se(_[0]-n,(_[1]-s)/f))}}return Array.isArray(r.size)&&(d=hA(r.size[0],i),p=2===r.size.length?hA(r.size[1],l):d),[d,p]}(w,qA,Ae,wA,GA),ct=kt[1],(Re=kt[0])>0&&ct>0&&(Lt=d.ctx.createRadialGradient(ZA+qA,le+Ae,0,ZA+qA,le+Ae,Re),Fi(w.stops,2*Re).forEach(function(Kr){return Lt.addColorStop(Kr.stop,EA(Kr.color))}),d.path(RA),d.ctx.fillStyle=Lt,Re!==ct?(Gt=s.bounds.left+.5*s.bounds.width,je=s.bounds.top+.5*s.bounds.height,Ye=1/(Kt=ct/Re),d.ctx.save(),d.ctx.translate(Gt,je),d.ctx.transform(1,0,0,Kt,0,0),d.ctx.translate(-Gt,-je),d.ctx.fillRect(ZA,Ye*(le-je)+je,wA,GA*Ye),d.ctx.restore()):d.ctx.fill())):(b=G(s,i,[null,null,null]),RA=b[0],qA=b[1],Ae=b[2],x=Sa(w.angle,wA=b[3],GA=b[4]),X=x[0],O=x[1],H=x[2],dA=x[3],j=x[4],(K=document.createElement("canvas")).width=wA,K.height=GA,P=K.getContext("2d"),sA=P.createLinearGradient(O,dA,H,j),Fi(w.stops,X).forEach(function(Kr){return sA.addColorStop(Kr.stop,EA(Kr.color))}),P.fillStyle=sA,P.fillRect(0,0,wA,GA),wA>0&&GA>0&&(aA=d.ctx.createPattern(K,"repeat"),d.renderRepeat(RA,aA,qA,Ae))),Rn.label=6;case 6:return i--,[2]}})},d=this,p=0,f=s.styles.backgroundImage.slice(0).reverse(),B.label=1;case 1:return p<f.length?[5,l(f[p])]:[3,4];case 2:B.sent(),B.label=3;case 3:return p++,[3,1];case 4:return[2]}})})},n.prototype.renderSolidBorder=function(s,i,l){return h(this,void 0,void 0,function(){return L(this,function(d){return this.path(Ts(l,i)),this.ctx.fillStyle=EA(s),this.ctx.fill(),[2]})})},n.prototype.renderDoubleBorder=function(s,i,l,d){return h(this,void 0,void 0,function(){var p,f;return L(this,function(u){switch(u.label){case 0:return i<3?[4,this.renderSolidBorder(s,l,d)]:[3,2];case 1:return u.sent(),[2];case 2:return p=function(r,n){switch(n){case 0:return a(r.topLeftBorderBox,r.topLeftBorderDoubleOuterBox,r.topRightBorderBox,r.topRightBorderDoubleOuterBox);case 1:return a(r.topRightBorderBox,r.topRightBorderDoubleOuterBox,r.bottomRightBorderBox,r.bottomRightBorderDoubleOuterBox);case 2:return a(r.bottomRightBorderBox,r.bottomRightBorderDoubleOuterBox,r.bottomLeftBorderBox,r.bottomLeftBorderDoubleOuterBox);default:return a(r.bottomLeftBorderBox,r.bottomLeftBorderDoubleOuterBox,r.topLeftBorderBox,r.topLeftBorderDoubleOuterBox)}}(d,l),this.path(p),this.ctx.fillStyle=EA(s),this.ctx.fill(),f=function(r,n){switch(n){case 0:return a(r.topLeftBorderDoubleInnerBox,r.topLeftPaddingBox,r.topRightBorderDoubleInnerBox,r.topRightPaddingBox);case 1:return a(r.topRightBorderDoubleInnerBox,r.topRightPaddingBox,r.bottomRightBorderDoubleInnerBox,r.bottomRightPaddingBox);case 2:return a(r.bottomRightBorderDoubleInnerBox,r.bottomRightPaddingBox,r.bottomLeftBorderDoubleInnerBox,r.bottomLeftPaddingBox);default:return a(r.bottomLeftBorderDoubleInnerBox,r.bottomLeftPaddingBox,r.topLeftBorderDoubleInnerBox,r.topLeftPaddingBox)}}(d,l),this.path(f),this.ctx.fill(),[2]}})})},n.prototype.renderNodeBackgroundAndBorders=function(s){return h(this,void 0,void 0,function(){var i,l,d,p,f,u,B,w,_=this;return L(this,function(v){switch(v.label){case 0:return this.applyEffects(s.getEffects(2)),l=!be((i=s.container.styles).backgroundColor)||i.backgroundImage.length,d=[{style:i.borderTopStyle,color:i.borderTopColor,width:i.borderTopWidth},{style:i.borderRightStyle,color:i.borderRightColor,width:i.borderRightWidth},{style:i.borderBottomStyle,color:i.borderBottomColor,width:i.borderBottomWidth},{style:i.borderLeftStyle,color:i.borderLeftColor,width:i.borderLeftWidth}],p=$e(yA(i.backgroundClip,0),s.curves),l||i.boxShadow.length?(this.ctx.save(),this.path(p),this.ctx.clip(),be(i.backgroundColor)||(this.ctx.fillStyle=EA(i.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(s.container)]):[3,2];case 1:v.sent(),this.ctx.restore(),i.boxShadow.slice(0).reverse().forEach(function(T){_.ctx.save();var b=xn(s.curves),x=T.inset?0:1e4,X=function(r,n,s,i,l){return r.map(function(d,p){switch(p){case 0:return d.add(n,s);case 1:return d.add(n+i,s);case 2:return d.add(n+i,s+l);case 3:return d.add(n,s+l)}return d})}(b,(T.inset?1:-1)*T.spread.number-x,(T.inset?1:-1)*T.spread.number,T.spread.number*(T.inset?-2:2),T.spread.number*(T.inset?-2:2));T.inset?(_.path(b),_.ctx.clip(),_.mask(X)):(_.mask(b),_.ctx.clip(),_.path(X)),_.ctx.shadowOffsetX=T.offsetX.number+x,_.ctx.shadowOffsetY=T.offsetY.number,_.ctx.shadowColor=EA(T.color),_.ctx.shadowBlur=T.blur.number,_.ctx.fillStyle=T.inset?EA(T.color):"rgba(0,0,0,1)",_.ctx.fill(),_.ctx.restore()}),v.label=2;case 2:f=0,u=0,B=d,v.label=3;case 3:return u<B.length?0!==(w=B[u]).style&&!be(w.color)&&w.width>0?2!==w.style?[3,5]:[4,this.renderDashedDottedBorder(w.color,w.width,f,s.curves,2)]:[3,11]:[3,13];case 4:return v.sent(),[3,11];case 5:return 3!==w.style?[3,7]:[4,this.renderDashedDottedBorder(w.color,w.width,f,s.curves,3)];case 6:return v.sent(),[3,11];case 7:return 4!==w.style?[3,9]:[4,this.renderDoubleBorder(w.color,w.width,f,s.curves)];case 8:return v.sent(),[3,11];case 9:return[4,this.renderSolidBorder(w.color,f,s.curves)];case 10:v.sent(),v.label=11;case 11:f++,v.label=12;case 12:return u++,[3,3];case 13:return[2]}})})},n.prototype.renderDashedDottedBorder=function(s,i,l,d,p){return h(this,void 0,void 0,function(){var f,u,B,w,_,v,T,b,x,X,O,H,dA,j,K,P;return L(this,function(sA){return this.ctx.save(),f=function(r,n){switch(n){case 0:return e(r.topLeftBorderStroke,r.topRightBorderStroke);case 1:return e(r.topRightBorderStroke,r.bottomRightBorderStroke);case 2:return e(r.bottomRightBorderStroke,r.bottomLeftBorderStroke);default:return e(r.bottomLeftBorderStroke,r.topLeftBorderStroke)}}(d,l),u=Ts(d,l),2===p&&(this.path(u),this.ctx.clip()),zA(u[0])?(B=u[0].start.x,w=u[0].start.y):(B=u[0].x,w=u[0].y),zA(u[1])?(_=u[1].end.x,v=u[1].end.y):(_=u[1].x,v=u[1].y),T=0===l||2===l?Math.abs(B-_):Math.abs(w-v),this.ctx.beginPath(),this.formatPath(3===p?f:u.slice(0,2)),b=i<3?3*i:2*i,x=i<3?2*i:i,3===p&&(b=i,x=i),X=!0,T<=2*b?X=!1:T<=2*b+x?(b*=O=T/(2*b+x),x*=O):(H=Math.floor((T+x)/(b+x)),dA=(T-H*b)/(H-1),x=(j=(T-(H+1)*b)/H)<=0||Math.abs(x-dA)<Math.abs(x-j)?dA:j),X&&this.ctx.setLineDash(3===p?[0,b+x]:[b,x]),3===p?(this.ctx.lineCap="round",this.ctx.lineWidth=i):this.ctx.lineWidth=2*i+1.1,this.ctx.strokeStyle=EA(s),this.ctx.stroke(),this.ctx.setLineDash([]),2===p&&(zA(u[0])&&(K=u[3],P=u[0],this.ctx.beginPath(),this.formatPath([new S(K.end.x,K.end.y),new S(P.start.x,P.start.y)]),this.ctx.stroke()),zA(u[1])&&(K=u[1],P=u[2],this.ctx.beginPath(),this.formatPath([new S(K.end.x,K.end.y),new S(P.start.x,P.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},n.prototype.render=function(s){return h(this,void 0,void 0,function(){var i;return L(this,function(l){switch(l.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=EA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),i=function(r){var n=new Ps(r,null),s=new Ms(n),i=[];return kr(n,s,s,i),Lr(n.container,i),s}(s),[4,this.renderStack(i)];case 1:return l.sent(),this.applyEffects([]),[2,this.canvas]}})})},n}(VA),Ot=function(r){return r instanceof gs||r instanceof ds||r instanceof Ur&&r.type!==Ne&&r.type!==yn},$e=function(r,n){switch(r){case 0:return xn(n);case 2:return function(r){return[r.topLeftContentBox,r.topRightContentBox,r.bottomRightContentBox,r.bottomLeftContentBox]}(n);default:return Sn(n)}},Gr=function(r){switch(r){case 1:return"center";case 2:return"right";default:return"left"}},hc=["-apple-system","system-ui"],Bc=function(r){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?r.filter(function(n){return-1===hc.indexOf(n)}):r},wc=function(r){function n(s,i){var l=r.call(this,s,i)||this;return l.canvas=i.canvas?i.canvas:document.createElement("canvas"),l.ctx=l.canvas.getContext("2d"),l.options=i,l.canvas.width=Math.floor(i.width*i.scale),l.canvas.height=Math.floor(i.height*i.scale),l.canvas.style.width=i.width+"px",l.canvas.style.height=i.height+"px",l.ctx.scale(l.options.scale,l.options.scale),l.ctx.translate(-i.x,-i.y),l.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+i.width+"x"+i.height+" at "+i.x+","+i.y+") with scale "+i.scale),l}return m(n,r),n.prototype.render=function(s){return h(this,void 0,void 0,function(){var i,l;return L(this,function(d){switch(d.label){case 0:return i=Cn(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,s),[4,mc(i)];case 1:return l=d.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=EA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(l,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},n}(VA),mc=function(r){return new Promise(function(n,s){var i=new Image;i.onload=function(){n(i)},i.onerror=s,i.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(r))})},Cc=function(){function r(n){var i=n.enabled;this.id=n.id,this.enabled=i,this.start=Date.now()}return r.prototype.debug=function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.debug?console.debug.apply(console,iA([this.id,this.getTime()+"ms"],n)):this.info.apply(this,n))},r.prototype.getTime=function(){return Date.now()-this.start},r.prototype.info=function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];this.enabled&&typeof window<"u"&&window.console&&"function"==typeof console.info&&console.info.apply(console,iA([this.id,this.getTime()+"ms"],n))},r.prototype.warn=function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.warn?console.warn.apply(console,iA([this.id,this.getTime()+"ms"],n)):this.info.apply(this,n))},r.prototype.error=function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.error?console.error.apply(console,iA([this.id,this.getTime()+"ms"],n)):this.info.apply(this,n))},r.instances={},r}(),_c=function(){function r(n,s){var i;this.windowBounds=s,this.instanceName="#"+r.instanceCount++,this.logger=new Cc({id:this.instanceName,enabled:n.logging}),this.cache=null!==(i=n.cache)&&void 0!==i?i:new Ac(this,n)}return r.instanceCount=1,r}();typeof window<"u"&&Ss.setContext(window);var vc=function(r,n){return h(void 0,void 0,void 0,function(){var s,i,l,d,p,f,u,B,w,_,v,T,b,x,X,O,H,dA,j,K,P,aA,V,RA,ZA,le,wA,GA,lt,qA,Ae,kt,Re,ct,Lt,Gt,je,Kt;return L(this,function(Ye){switch(Ye.label){case 0:if(!r||"object"!=typeof r)return[2,Promise.reject("Invalid element provided as first argument")];if(!(s=r.ownerDocument))throw new Error("Element is not attached to a Document");if(!(i=s.defaultView))throw new Error("Document is not attached to a Window");return l={allowTaint:null!==(aA=n.allowTaint)&&void 0!==aA&&aA,imageTimeout:null!==(V=n.imageTimeout)&&void 0!==V?V:15e3,proxy:n.proxy,useCORS:null!==(RA=n.useCORS)&&void 0!==RA&&RA},d=CA({logging:null===(ZA=n.logging)||void 0===ZA||ZA,cache:n.cache},l),p={windowWidth:null!==(le=n.windowWidth)&&void 0!==le?le:i.innerWidth,windowHeight:null!==(wA=n.windowHeight)&&void 0!==wA?wA:i.innerHeight,scrollX:null!==(GA=n.scrollX)&&void 0!==GA?GA:i.pageXOffset,scrollY:null!==(lt=n.scrollY)&&void 0!==lt?lt:i.pageYOffset},f=new oA(p.scrollX,p.scrollY,p.windowWidth,p.windowHeight),u=new _c(d,f),B=null!==(qA=n.foreignObjectRendering)&&void 0!==qA&&qA,w={allowTaint:null!==(Ae=n.allowTaint)&&void 0!==Ae&&Ae,onclone:n.onclone,ignoreElements:n.ignoreElements,inlineImages:B,copyStyles:B},u.logger.debug("Starting document clone with size "+f.width+"x"+f.height+" scrolled to "+-f.left+","+-f.top),_=new Is(u,r,w),(v=_.clonedReferenceElement)?[4,_.toIFrame(s,f)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return T=Ye.sent(),b=xr(v)||function(r){return"HTML"===r.tagName}(v)?function(r){var n=r.body,s=r.documentElement;if(!n||!s)throw new Error("Unable to get document size");var i=Math.max(Math.max(n.scrollWidth,s.scrollWidth),Math.max(n.offsetWidth,s.offsetWidth),Math.max(n.clientWidth,s.clientWidth)),l=Math.max(Math.max(n.scrollHeight,s.scrollHeight),Math.max(n.offsetHeight,s.offsetHeight),Math.max(n.clientHeight,s.clientHeight));return new oA(0,0,i,l)}(v.ownerDocument):pA(u,v),x=b.width,X=b.height,O=b.left,H=b.top,dA=Pc(u,v,n.backgroundColor),j={canvas:n.canvas,backgroundColor:dA,scale:null!==(Re=null!==(kt=n.scale)&&void 0!==kt?kt:i.devicePixelRatio)&&void 0!==Re?Re:1,x:(null!==(ct=n.x)&&void 0!==ct?ct:0)+O,y:(null!==(Lt=n.y)&&void 0!==Lt?Lt:0)+H,width:null!==(Gt=n.width)&&void 0!==Gt?Gt:Math.ceil(x),height:null!==(je=n.height)&&void 0!==je?je:Math.ceil(X)},B?(u.logger.debug("Document cloned, using foreign object rendering"),[4,new wc(u,j).render(v)]):[3,3];case 2:return K=Ye.sent(),[3,5];case 3:return u.logger.debug("Document cloned, element located at "+O+","+H+" with size "+x+"x"+X+" using computed rendering"),u.logger.debug("Starting DOM parsing"),P=fs(u,v),dA===P.styles.backgroundColor&&(P.styles.backgroundColor=Be.TRANSPARENT),u.logger.debug("Starting renderer for element at "+j.x+","+j.y+" with size "+j.width+"x"+j.height),[4,new me(u,j).render(P)];case 4:K=Ye.sent(),Ye.label=5;case 5:return(!(null!==(Kt=n.removeContainer)&&void 0!==Kt)||Kt)&&(Is.destroy(T)||u.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),u.logger.debug("Finished rendering"),[2,K]}})})},Pc=function(r,n,s){var i=n.ownerDocument,l=i.documentElement?St(r,getComputedStyle(i.documentElement).backgroundColor):Be.TRANSPARENT,d=i.body?St(r,getComputedStyle(i.body).backgroundColor):Be.TRANSPARENT,p="string"==typeof s?St(r,s):null===s?Be.TRANSPARENT:4294967295;return n===i.documentElement?be(l)?be(d)?p:d:l:p};return function(r,n){return void 0===n&&(n={}),vc(r,n)}}()},8027:(ce,mA,m)=>{"use strict";m.d(mA,{s:()=>h});var CA=m(9258);
1function h(L,iA){const oA="object"==typeof iA;return new Promise((pA,J)=>{let Q,tA=!1;L.subscribe({next:A=>{Q=A,tA=!0},error:J,complete:()=>{tA?pA(Q):oA?pA(iA.defaultValue):J(new CA.G)}})})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.