!function(e,t,n,a,i,o,s,r){var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},c="function"==typeof l[a]&&l[a],d=c.i||{},m=c.cache||{},p="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function u(t,n){if(!m[t]){if(!e[t]){if(i[t])return i[t];var o="function"==typeof l[a]&&l[a];if(!n&&o)return o(t,!0);if(c)return c(t,!0);if(p&&"string"==typeof t)return p(t);var s=Error("Cannot find module '"+t+"'");throw s.code="MODULE_NOT_FOUND",s}d.resolve=function(n){var a=e[t][1][n];return null!=a?a:n},d.cache={};var r=m[t]=new u.Module(t);e[t][0].call(r.exports,d,r,r.exports,l)}return m[t].exports;function d(e){var t=d.resolve(e);return!1===t?{}:u(t)}}u.isParcelRequire=!0,u.Module=function(e){this.id=e,this.bundle=u,this.require=p,this.exports={}},u.modules=e,u.cache=m,u.parent=c,u.distDir=void 0,u.publicUrl=void 0,u.devServer=void 0,u.i=d,u.register=function(t,n){e[t]=[function(e,t){t.exports=n},{}]},Object.defineProperty(u,"root",{get:function(){return l[a]}}),l[a]=u;for(var h=0;h{let[n,a]=(0,s.useState)(!1),[i,d]=(0,s.useState)(!1),[u,h]=(0,s.useState)();(0,s.useEffect)(()=>{let e=(0,l.getContrast)();(0,l.addMatchesPolyfill)(),e&&(0,r.setGlobal)({highContrast:"true"==e})},[]),(0,s.useEffect)(()=>{t&&!i&&g()},[t,i]);let g=async()=>{a(!0),h(""),d(!1);let t="";try{await c.authAddons({lang:e.language})}catch(n){t=n.message||"Falha na autenticação",new(0,p.DeactivateAllAddonsCommand)(e.storageUrl).execute()}a(!1),h(t),d(!t)};return(0,o.h)(o.Fragment,null,(0,o.h)(m.default,{activated:t,config:e,isLoading:n,error:u}))}},{preact:"gdb49","preact/compat":"8ZO42",reactn:"iVSVY","../services/domUtils":"1UlS3","../services/translationService":"bkux0","../views/AddonsView":"7MOb9","../commands/addonsCommands/DeactivateAllAddonsCommand":"eggX2","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"7MOb9":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("preact/compat"),r=e("reactn"),l=e("styled-components"),c=i.interopDefault(l),d=e("../../services/appActivator"),m=e("../../services/analytics"),p=e("../../services/helpers/allStatesAreFalseHelper"),u=e("../../services/addonsService"),h=e("../../yotta/assets/tokens/colors"),g=e("../../constants/interface"),f=e("../../components/PluginWindow"),v=i.interopDefault(f),C=e("../LoadingPage"),S=i.interopDefault(C),y=e("../../apps/PageSpeechApp"),b=i.interopDefault(y),x=e("../../apps/FontSizeApp"),L=i.interopDefault(x),A=e("../../apps/LineHeightApp"),w=i.interopDefault(A),I=e("../../apps/ReaderModeApp"),k=i.interopDefault(I),T=e("../../apps/ReadingMaskApp"),M=i.interopDefault(T),E=e("../../components/Header"),j=i.interopDefault(E),D=e("../../apps/LetterSpacingApp"),_=i.interopDefault(D),H=e("../../apps/HighlightLinksApp"),N=i.interopDefault(H),R=e("../../apps/TextStyleApp"),V=i.interopDefault(R),F=e("../../apps/ColorIntensityApp"),O=i.interopDefault(F),P=e("../../apps/ReadingGuide"),$=i.interopDefault(P),B=e("../../apps/ContrastApp"),G=i.interopDefault(B),U=e("../../apps/MagnifierApp"),z=i.interopDefault(U),Z=e("../../views/Settings"),Y=i.interopDefault(Z),W=e("../../components/IconButton"),q=i.interopDefault(W),Q=e("../../components/Icons/Config"),X=i.interopDefault(Q),J=e("../../components/Icons/Close"),K=i.interopDefault(J),ee=e("../../apps/PageStructureApp"),et=i.interopDefault(ee),en=e("../PageStructure"),ea=i.interopDefault(en),ei=e("../../apps/PauseAnimationsApp"),eo=i.interopDefault(ei),es=e("../../apps/HighlightHeadingsApp"),er=i.interopDefault(es),el=e("../../apps/HideImagesApp"),ec=i.interopDefault(el),ed=e("../../apps/HighlightedLettersApp"),em=i.interopDefault(ed),ep=e("../../components/AccessibilityHeading"),eu=i.interopDefault(ep),eh=e("../../apps/ColorblindModeApp"),eg=i.interopDefault(eh),ef=e("../../apps/DisableSoundsApp"),ev=i.interopDefault(ef),eC=e("../../apps/SynonymsMeaningsApp"),eS=i.interopDefault(eC),ey=e("../SynonymsMeanings"),eb=i.interopDefault(ey),ex=e("../../components/NewTag"),eL=i.interopDefault(ex),eA=e("../../components/ResetResourcesButton"),ew=i.interopDefault(eA),eI=e("../../components/Icons/CloseFullscreen"),ek=i.interopDefault(eI),eT=e("../../components/Icons/OpenInFull"),eM=i.interopDefault(eT),eE=e("../../hooks/useCommandStack"),ej=e("../../hooks/useSettingsMenu"),eD=i.interopDefault(ej),e_=e("../../hooks/useConfig"),eH=i.interopDefault(e_),eN=e("../../hooks/useFocusOnReady"),eR=i.interopDefault(eN),eV=e("../../stores/useResearchNotificationStore"),eF=e("../../hooks/useUntilDate"),eO=e("../../stores/useErrorStore"),eP=i.interopDefault(eO),e$=e("../../stores/useTranslation"),eB=e("../../commands/addonsCommands/DeactivateAddonsCommand"),eG=e("../../commands/addonsCommands/DeactivateAllAddonsCommand"),eU=e("../../commands/addonsCommands/ExpandAddonsViewCommand"),ez=e("../../commands/addonsCommands/CollapseAddonsViewCommand"),eZ=e("../../services/linksHandTalk");let eY=e=>e,eW,eq,eQ,eX,eJ,eK,e1,e2,e0,e3,e4,e6,e5,e7,e8,e9=c.default.div(eW||(eW=eY` position: absolute; width: 100%; height: 100%; top: 0; right: 0; `)),te=c.default.div(eK||(eK=eY` pointer-events: auto; display: flex; align-items: center; flex-direction: column; justify-content: space-between; backdrop-filter: blur(20px); background: ${0}; color: ${0}; outline: 1px solid ${0}; border-radius: ${0}; overflow: hidden; min-height: ${0}; min-width: 320px; max-width: ${0}; max-height: ${0}; width: 430px; height: ${0}; ${0}; ${0} ${0} ${0} `),({theme:e})=>`${e.colors.surface.dim.background}99`,h.neutral.color.low.main,({theme:e})=>e.colors.border.low,({theme:e})=>e.borderRadius.lg,e=>!0===e.isMobile?"320px":"100%",g.addonsMaxWidth,g.addonsMaxHeight,e=>!0===e.isMobile?"486px":"80vh",({isMobile:e})=>e&&(0,l.css)(eq||(eq=eY` @media (orientation: landscape) { min-width: 350px; height: 100dvh; width: 50vw; } @media (orientation: portrait) { height: 50vh; width: 100vw; } @media (max-width: ${0}) { border-radius: ${0} ${0} 0px 0px; } `),g.addonsMaxWidth,g.borderRadius,g.borderRadius),({isMobile:e,side:t,align:n})=>!e&&(0,l.css)(eQ||(eQ=eY` position: absolute; bottom: ${0}; ${0}: 0; `),"top"===n?"calc(-100vh + 125px)":"bottom"===n?"0":"calc(-100vh + 200px)",t),({isExpanded:e,isMobile:t})=>e&&!t&&(0,l.css)(eX||(eX=eY` width: 705px; max-width: 705px; `)),({isExpanded:e,isMobile:t})=>e&&t&&(0,l.css)(eJ||(eJ=eY` @media (orientation: landscape) { width: 500px; max-width: 500px; } @media (orientation: portrait) { height: 100dvh; } `))),tt=c.default.div(e1||(e1=eY` position: relative; overflow: auto; width: 100%; height: 100%; @-moz-document url-prefix() { scrollbar-width: thin; scrollbar-color: #666666 transparent; } &::-webkit-scrollbar { width: 4px; padding: 10px; } &::-webkit-scrollbar-track { background: none; } &::-webkit-scrollbar-thumb { background: ${0}; border-radius: 35px; } &::-webkit-scrollbar-thumb:hover { background: #555; } `),h.neutral.color.low.medium),tn=c.default.div(e2||(e2=eY` width: 100%; height: auto; padding: 0 16px 16px 16px; display: ${0}; flex-direction: column; gap: 8px; margin-bottom: 40px; `),({internalPagesActivated:e})=>e?"none":"flex"),ta=c.default.ul(e0||(e0=eY` &&& { all: initial; display: flex; flex-wrap: wrap; gap: 8px; } `)),ti=c.default.li(e6||(e6=eY` display: flex; width: calc(50% - 4px); ${0} ${0} `),({isExpanded:e,isMobile:t})=>e&&!t&&(0,l.css)(e3||(e3=eY` width: calc(100% / 3 - 16px / 3); `)),({isExpanded:e,isMobile:t})=>e&&t&&(0,l.css)(e4||(e4=eY` @media (orientation: landscape) { width: calc(100% / 3 - 16px / 3); } `))),to=c.default.h4(e5||(e5=eY` &&& { all: initial; color: ${0}; padding-top: 14px; font: ${0}; margin: 0; text-align: left; } `),({theme:e})=>e.colors.surface.onSurface,({theme:e})=>e.typography.title.sm),ts=c.default.div(e7||(e7=eY` display: flex; align-items: center; gap: 8px; `)),tr=c.default.div(e8||(e8=eY` padding-top: 14px; `));n.default=({activated:e,config:t,isLoading:n,error:a})=>{var i,l,c,h;let{language:f,token:C,parentElement:y,doNotTrack:x,offRedirection:A,align:I}=t,T=[{isActive:null==(i=t.addonsMap.aiAssistant)?void 0:i.synonymsMeanings,app:eS.default}],E=null!=(l=t.addonsMap.fontControl)?l:{},D=null!=(c=t.addonsMap.navigation)?c:{},H=null!=(h=t.addonsMap.colorControl)?h:{},R=(0,p.allStatesAreFalse)(E),F=(0,p.allStatesAreFalse)(D),P=(0,p.allStatesAreFalse)(H),{translate:B,language:U}=(0,e$.useTranslationStore)(),{fontSize:Z,textStyle:W,lineHeight:Q,letterSpacing:J,highlightLetters:ee}=E,{pageSpeech:en,readerMode:ei,readingMask:es,readingGuide:el,highlightLinks:ed,pageStructure:ep,magnifier:eh,hideImages:ef,highlightHeadings:eC,pauseAnimations:ey,disableSounds:ex}=D,{contrastMode:eA,saturationMode:eI,pageColors:eT}=H,[{isMobile:ej,side:e_,highContrast:eN,hasAddonsAppsActive:eO,isAddonsActive:eY,pageStructureState:eW,synonymsMeaningsState:eq,addonsViewExpandState:eQ}]=(0,r.useGlobal)(),eX="active"===eW,eJ="active"===eq,eK="Complementos",e1=(0,eR.default)({isReady:eY});if(!e&&!d.appActivator.hasAddonsAppsActive)return null;let e2=(0,s.useMemo)(()=>({version:`${B("versionText")} 11.22.1`,aiAssistant:B("aiAssistant"),fontControl:B("fontControl"),navigation:B("navigation"),colorControl:B("colorControl"),plusAccessibilityFeatures:B("plusAccessibilityFeatures"),contract:B("contract"),config:B("config"),closeAddons:B("closeAddons"),expand:B("expand")}),[U]),{changeSide:e0,changeContrast:e3}=(0,eH.default)(),{isActiveConfigMenu:e4,toggleConfigMenu:e6}=(0,eD.default)(),{isSurveyNotificationVisible:e5,hideSurveyNotification:e7}=(0,eV.useResearchNotificationStore)(),e8=eN?"dark":"light",{execute:tl}=(0,eE.useCommandStack)(),tc=()=>{new(0,eB.DeactivateAddonsCommand)(y,C,f,x,A).execute()};(0,s.useEffect)(()=>{if(a){let{showModalOnAuthError:e}=eP.default.getState();e(),(0,m.handleAuthErrorAnalytics)(eK,t.token)}},[a]),(0,s.useEffect)(()=>{"true"===(0,u.getExpandedValue)()&&tl(new(0,eU.ExpandAddonsViewCommand))},[]);let td=(0,o.h)(e9,null,(0,o.h)(S.default,{fullSize:!0,applyBorderRadius:!1,applyBackgroundStyle:!1,activated:!0,defaultConfig:t,progress:1,initiator:eK,onClose:tc}));return(0,o.h)(v.default,{width:g.addonsMaxWidth,activated:e,isMobile:ej,side:e_},(0,o.h)(te,{context:e8,isMobile:ej,isExpanded:eQ,side:e_,align:I},(0,o.h)(o.Fragment,null,!e4&&eY&&!eX&&!eJ&&(0,o.h)(j.default,{config:t,context:e8,isLogoClickable:!t.offRedirection,onClickLogo:()=>{(0,eZ.HTBrandLink)(t.language,eK)},actions:(0,o.h)(o.Fragment,null,!n&&(0,o.h)(eu.default,{as:"h3",tabIndex:0,accessibilityText:e2.plusAccessibilityFeatures}),(0,o.h)(q.default.default,{side:e_,icon:eQ?(0,o.h)(ek.default,null):(0,o.h)(eM.default,null),ariaLabel:eQ?e2.contract:e2.expand,disabled:n,onClick:()=>{eQ?new(0,ez.CollapseAddonsViewCommand)().execute():new(0,eU.ExpandAddonsViewCommand)().execute()},tabIndex:0}),(0,o.h)(q.default.default,{side:e_,icon:(0,o.h)(X.default,null),ariaLabel:e2.config,disabled:n,onClick:e6,tabIndex:0}),(0,o.h)(q.default.default,{side:e_,icon:(0,o.h)(K.default,null),ariaLabel:e2.closeAddons,onClick:tc,tabIndex:0,ref:e1}))}),(0,o.h)(tt,null,!n&&!a&&(()=>{let e=[{isActive:Z,app:L.default},{isActive:W,app:V.default},{isActive:ee,app:em.default},{isActive:Q,app:w.default},{isActive:J,app:_.default}],n=[{isActive:en,app:b.default},{isActive:ei,app:k.default},{isActive:es,app:M.default},{isActive:el,app:$.default},{isActive:ed,app:N.default},{isActive:ep,app:et.default},{isActive:eh,app:z.default},{isActive:ef,app:ec.default},{isActive:eC,app:er.default},{isActive:ey,app:eo.default},{isActive:ex,app:ev.default}],a=[{isActive:eA,app:G.default},{isActive:eI,app:O.default},{isActive:eT,app:eg.default}],i=(0,s.useMemo)(()=>new Date("2025-07-01T00:00:00Z"),[]),r=(0,eF.useUntilDate)(i);return(0,o.h)(tn,{internalPagesActivated:e4||eX},!T.every(e=>!e.isActive)&&(0,o.h)(o.Fragment,null,(0,o.h)(ts,null,(0,o.h)(to,{tabIndex:0},e2.aiAssistant),(0,o.h)(tr,null,r&&(0,o.h)(eL.default,null))),(0,o.h)(ta,null,T.map((e,n)=>e.isActive?(0,o.h)(ti,{key:n,isMobile:ej,isExpanded:eQ},(0,o.createElement)(e.app,{config:t})):null))),!R&&(0,o.h)(o.Fragment,null,(0,o.h)(to,{tabIndex:0},e2.fontControl),(0,o.h)(ta,null,e.map(e=>e.isActive&&(0,o.h)(ti,{isMobile:ej,isExpanded:eQ},(0,o.createElement)(e.app,{config:t}))))),!F&&(0,o.h)(o.Fragment,null,(0,o.h)(to,{tabIndex:0},e2.navigation),(0,o.h)(ta,null,n.map(e=>e.isActive&&(0,o.h)(ti,{isMobile:ej,isExpanded:eQ},(0,o.createElement)(e.app,{config:t}))))),!P&&(0,o.h)(o.Fragment,null,(0,o.h)(to,{tabIndex:0},e2.colorControl),(0,o.h)(ta,null,a.map(e=>e.isActive&&(0,o.h)(ti,{isMobile:ej,isExpanded:eQ},(0,o.createElement)(e.app,{config:t}))))))})(),(n||a)&&td," ",e4?(0,o.h)(Y.default,{origin:"addons",side:e_,mobile:ej,onChangeSide:e0,onChangeContrast:e3,onToggleConfigMenu:e6,darkModeActivated:eN,isActiveConfigMenu:e4,version:e2.version,isSurveyNotificationVisible:e5,hideSurveyNotification:e7,offRedirection:A,language:t.language}):null),!n&&!a&&eO&&(0,o.h)(ew.default,{onClick:()=>{(0,m.sendEvent)({eventCategory:"Complementos",eventAction:"Limpar configuração",eventValue:d.appActivator.activeAddonsCount}),tl(new(0,eG.DeactivateAllAddonsCommand)(t.storageUrl))}})),eX&&!n&&!a&&(0,o.h)(ea.default,null),eJ&&!n&&!a&&(0,o.h)(eb.default,{token:t.token})))}},{preact:"gdb49","preact/compat":"8ZO42",reactn:"iVSVY","styled-components":"cCe5U","../../services/appActivator":"eOZgV","../../services/analytics":"9b6Tu","../../services/helpers/allStatesAreFalseHelper":"ac74u","../../services/addonsService":"yQkod","../../yotta/assets/tokens/colors":"8UG5g","../../constants/interface":"cnidu","../../components/PluginWindow":"2s1js","../LoadingPage":"8gnRV","../../apps/PageSpeechApp":"4DuPS","../../apps/FontSizeApp":"d5d9g","../../apps/LineHeightApp":"apsCt","../../apps/ReaderModeApp":"3yAv2","../../apps/ReadingMaskApp":"22yPQ","../../components/Header":"93ang","../../apps/LetterSpacingApp":"dybSf","../../apps/HighlightLinksApp":"a7aYm","../../apps/TextStyleApp":"3uiFA","../../apps/ColorIntensityApp":"dOIcM","../../apps/ReadingGuide":"2eUxg","../../apps/ContrastApp":"h6foI","../../apps/MagnifierApp":"90w3c","../../views/Settings":"hIg7d","../../components/IconButton":"foExY","../../components/Icons/Config":"2wWxY","../../components/Icons/Close":"gCC4v","../../apps/PageStructureApp":"hOgKr","../PageStructure":"zObaf","../../apps/PauseAnimationsApp":"dLdBg","../../apps/HighlightHeadingsApp":"aDzsu","../../apps/HideImagesApp":"bpIRd","../../apps/HighlightedLettersApp":"iz2ZA","../../components/AccessibilityHeading":"9XWuT","../../apps/ColorblindModeApp":"ilTE7","../../apps/DisableSoundsApp":"eLdQl","../../apps/SynonymsMeaningsApp":"aRmXA","../SynonymsMeanings":"9ospr","../../components/NewTag":"8QpJ5","../../components/ResetResourcesButton":"cMjfp","../../components/Icons/CloseFullscreen":"lQbsn","../../components/Icons/OpenInFull":"cJBWu","../../hooks/useCommandStack":"2LAi9","../../hooks/useSettingsMenu":"49uHi","../../hooks/useConfig":"i80Gi","../../hooks/useFocusOnReady":"h1l18","../../stores/useResearchNotificationStore":"eELQZ","../../hooks/useUntilDate":"ggwv3","../../stores/useErrorStore":"j4TpP","../../stores/useTranslation":"94OJm","../../commands/addonsCommands/DeactivateAddonsCommand":"hy4KD","../../commands/addonsCommands/DeactivateAllAddonsCommand":"eggX2","../../commands/addonsCommands/ExpandAddonsViewCommand":"geCCL","../../commands/addonsCommands/CollapseAddonsViewCommand":"bYrfl","../../services/linksHandTalk":"4ceCz","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"4DuPS":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("reactn"),r=e("preact/hooks"),l=e("../constants/config"),c=e("../components/ResourceButton"),d=i.interopDefault(c),m=e("../components/Icons/Speech"),p=i.interopDefault(m),u=e("../services/analytics"),h=e("../services/pageSpeechService"),g=e("../commands/pageSpeechCommands/IncreasePageSpeechSpeedCommand"),f=e("../commands/pageSpeechCommands/SetPageSpeechLevelCommand"),v=e("../hooks/useDebounce"),C=e("../hooks/useCommandStack"),S=e("../stores/useTranslation");n.default=()=>{let[{pageSpeechState:e,isMobile:t}]=(0,s.useGlobal)(),{translate:n,language:a}=(0,S.useTranslationStore)(),i=(0,v.useDebounce)(e,l.analyticsDebounceTime),{execute:c}=(0,C.useCommandStack)(),m=(0,r.useMemo)(()=>"none"===e?0:e,[e]);(0,r.useEffect)(()=>{"none"!==i&&(0,u.handleAnalyticsPageSpeech)(i)},[i]),(0,r.useEffect)(()=>{let t=(0,h.getPageSpeechValue)();t>0&&"none"===e&&c(new(0,f.SetPageSpeechLevelCommand)(t))},[e]);let y=(0,r.useMemo)(()=>({title:n("pageSpeech"),ariaLabelInactive:n("pageSpeechAriaLabelInactive"),ariaLabelActive:n("pageSpeechAriaLabelActive",{index:m})}),[a]);return(0,o.h)(d.default,{isMobile:t,onClick:()=>{c(new(0,g.IncreasePageSpeechSpeedCommand))},icon:(0,o.h)(p.default,null),title:y.title,ariaLabelInactive:y.ariaLabelInactive,ariaLabelActive:y.ariaLabelActive,dotsLength:l.speechSpeedList.length-1,dotsIndex:m})}},{preact:"gdb49",reactn:"iVSVY","preact/hooks":"9Dac5","../constants/config":"kqbjQ","../components/ResourceButton":"bnNUx","../components/Icons/Speech":"aeEP7","../services/analytics":"9b6Tu","../services/pageSpeechService":"dj1hh","../commands/pageSpeechCommands/IncreasePageSpeechSpeedCommand":"iwSYr","../commands/pageSpeechCommands/SetPageSpeechLevelCommand":"4FMYL","../hooks/useDebounce":"c67Vm","../hooks/useCommandStack":"2LAi9","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],bnNUx:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("styled-components"),r=i.interopDefault(s),l=e("reactn");let c=e=>e,d,m,p,u,h,g,f=r.default.button(m||(m=c` &&& { all: initial; box-shadow: ${0}; appearance: none; position: relative; outline: none; border: 2px solid transparent; width: 100%; height: 106px; display: flex; align-items: initial; justify-content: space-between; flex-direction: column; border-radius: 8px; padding: 12px 8px; cursor: pointer; transition: 0.2s ease-in-out; background-color: ${0}; box-sizing: border-box; box-shadow: 0px 2px 6px 2px #00000026; & > * > svg > path { transition: 0.2s ease-in-out; fill: ${0}; } ${0} &:active, &:focus { background-color: ${0}; } ${0} &:disabled { border: 2px solid ${0}; background: transparent; cursor: not-allowed; box-shadow: unset; &:hover { outline: none; } } } `),({theme:e})=>e.shadow[2],({theme:e})=>e.colors.surface.bright.background,({theme:e})=>e.colors.surface.onSurfaceLow,({isMobile:e,selected:t,theme:n})=>!e&&(0,s.css)(d||(d=c` &:hover { outline: 2px solid; outline-color: ${0}; outline-offset: -2px; background-color: ${0}; } `),!0===t?n.colors.primary.default:n.colors.border.normal,n.colors.surface.bright.background),({theme:e})=>e.colors.surface.bright.background,({selected:e,theme:t})=>e&&` border: 2px solid ${t.colors.primary.default}; & > * > svg > path { fill: ${t.colors.primary.default}; } `,({theme:e})=>e.colors.border.low),v=r.default.span(p||(p=c` width: 32px; height: 32px; margin-bottom: ${0}; display: flex; & > svg { width: 100%; height: 100%; } @media (max-width: 359px) { width: 24px; height: 24px; } @media (max-height: 359px) { width: 24px; height: 24px; } /*Para aparecer somente o primeiro filho svg*/ & > svg:not(:first-child) { display: none; } `),({isMobile:e})=>e?"0px":"4px"),C=r.default.span(u||(u=c` color: ${0}; font-size: 16px; font-weight: 700; line-height: 20.8px; text-align: initial; @media (max-width: 359px) { font-size: 14px; } @media (max-height: 359px) { font-size: 14px; } `),({theme:e})=>e.colors.surface.onSurface),S=r.default.span(h||(h=c` position: absolute; display: flex; right: 12px; top: 12px; height: 4px; align-items: center; gap: 4px; `)),y=r.default.span(g||(g=c` width: 6px; height: 6px; border-radius: 50%; background-color: ${0}; transition: 0.2s ease-in-out; ${0} `),({theme:e,context:t})=>"dark"===t?e.colors.surface.bright[2]:e.colors.surface.dim[2],({active:e,theme:t})=>e&&` height: 6px; background-color: ${t.colors.primary.default}; `);n.default=({icon:e,title:t,isMobile:n,onClick:a,ariaLabelActive:i,ariaLabelInactive:s,dotsLength:r=0,dotsIndex:c,disabled:d})=>{let[{highContrast:m,isAddonsActive:p}]=(0,l.useGlobal)(),u=m?"dark":"light",h=(null!=c?c:0)>0;return(0,o.h)(f,{selected:h,onClick:a,tabIndex:p?0:-1,"aria-label":h?i:s,context:u,isMobile:n,disabled:d},(0,o.h)(v,{isMobile:n},e),(0,o.h)(C,{isMobile:n,context:u},t),!d&&h&&r>=1&&(0,o.h)(S,null,Array.from(Array(r)).map((e,n)=>(0,o.h)(y,{context:u,key:`dot - ${t} -${n} `,active:n+1===c}))))}},{preact:"gdb49","styled-components":"cCe5U",reactn:"iVSVY","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],aeEP7:[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M15.9109 21.6723C18.9239 21.6723 21.3664 19.2298 21.3664 16.2169C21.3664 13.2039 18.9239 10.7614 15.9109 10.7614C12.898 10.7614 10.4555 13.2039 10.4555 16.2169C10.4555 19.2298 12.898 21.6723 15.9109 21.6723Z",fill:"white"}),(0,i.h)("path",{d:"M15.911 24.4001C12.2694 24.4001 5 26.2276 5 29.8555V31.2194C5 31.9695 5.61374 32.5833 6.36387 32.5833H25.458C26.2082 32.5833 26.8219 31.9695 26.8219 31.2194V29.8555C26.8219 26.2276 19.5525 24.4001 15.911 24.4001ZM24.7352 14.5393C25.1716 15.6167 25.1716 16.8169 24.7352 17.8944C24.476 18.5354 24.5852 19.2583 25.0761 19.7493L25.1171 19.7902C25.9081 20.5812 27.2583 20.4176 27.7766 19.4219C28.8131 17.4443 28.8131 15.1257 27.7493 13.0663C27.2311 12.057 25.8672 11.8661 25.0625 12.6708L25.0489 12.6844C24.5852 13.1618 24.476 13.8983 24.7352 14.5393ZM29.7951 7.8836C29.2496 8.42915 29.1678 9.27475 29.6178 9.90213C32.3047 13.6391 32.291 18.6445 29.5769 22.5179C29.1405 23.1317 29.2359 23.9773 29.7679 24.5092L29.8088 24.5501C30.4771 25.2184 31.6091 25.1638 32.1819 24.4137C35.9325 19.5856 35.9462 12.9981 32.1819 8.01999C31.6091 7.26986 30.4634 7.21531 29.7951 7.8836Z",fill:"white"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],iwSYr:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"IncreasePageSpeechSpeedCommand",()=>l);var o=e("./SetPageSpeechLevelCommand"),s=e("reactn"),r=e("../../constants/config");class l{constructor(){this.previousLevel=0,this.execute=async()=>{let{pageSpeechState:e}=(0,s.getGlobal)(),t="none"===e?0:e;this.previousLevel=t;let n=(t+1)%r.speechSpeedList.length,a=new(0,o.SetPageSpeechLevelCommand)(n);await a.execute()},this.undo=async()=>{new(0,o.SetPageSpeechLevelCommand)(this.previousLevel).execute()}}}},{"./SetPageSpeechLevelCommand":"4FMYL",reactn:"iVSVY","../../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],d5d9g:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("preact/compat"),r=e("reactn"),l=e("../constants/config"),c=e("../components/ResourceButton"),d=i.interopDefault(c),m=e("../components/Icons/FontSize"),p=i.interopDefault(m),u=e("../services/analytics"),h=e("../commands/fontSizeCommands/SetFontSizeCommand"),g=e("../hooks/useDebounce"),f=e("../hooks/useCommandStack"),v=e("../commands/fontSizeCommands/IncreaseFontSizeCommand"),C=e("../stores/useTranslation"),S=e("../services/domTypographyService");n.default=()=>{let[{fontSizeScaleState:e,isMobile:t}]=(0,r.useGlobal)(),{translate:n,language:a}=(0,C.useTranslationStore)(),i=(0,g.useDebounce)(e,l.analyticsDebounceTime),{execute:c}=(0,f.useCommandStack)();(0,s.useEffect)(()=>{if("none"===i)return;let e=100*l.fontSizeScaleList[i];(0,u.sendEvent)({eventCategory:"Complementos",eventAction:0===i?"Desativar":"Ativar",eventLabel:"Aumentar fonte",eventValue:e})},[i]);let m=(0,s.useMemo)(()=>"none"===e?0:e,[e]);(0,s.useEffect)(()=>{let e=(0,S.getFontSizeScaleValue)();0!==e&&c(new(0,h.SetFontSizeCommand)(e))},[]);let y=(0,s.useMemo)(()=>({title:n("fontSize"),ariaLabelInactive:n("fontSizeAriaLabelInactive"),ariaLabelActive:n("fontSizeAriaLabelActive",{index:m.toString()})}),[a]);return(0,o.h)(d.default,{onClick:()=>{c(new(0,v.IncreaseFontSizeCommand))},isMobile:t,icon:(0,o.h)(p.default,null),title:y.title,ariaLabelInactive:y.ariaLabelInactive,ariaLabelActive:y.ariaLabelActive,dotsLength:l.fontSizeScaleList.length-1,dotsIndex:m})}},{preact:"gdb49","preact/compat":"8ZO42",reactn:"iVSVY","../constants/config":"kqbjQ","../components/ResourceButton":"bnNUx","../components/Icons/FontSize":"4r11f","../services/analytics":"9b6Tu","../commands/fontSizeCommands/SetFontSizeCommand":"eYO3g","../hooks/useDebounce":"c67Vm","../hooks/useCommandStack":"2LAi9","../commands/fontSizeCommands/IncreaseFontSizeCommand":"doKy8","../stores/useTranslation":"94OJm","../services/domTypographyService":"6ZP8g","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"4r11f":[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M19.3009 16.0001C19.3009 15.3416 19.8397 14.8028 20.4982 14.8028H22.8929V12.4081C22.8929 11.7495 23.4317 11.2107 24.0902 11.2107C24.7488 11.2107 25.2876 11.7495 25.2876 12.4081V14.8028H27.6822C28.3408 14.8028 28.8796 15.3416 28.8796 16.0001C28.8796 16.6586 28.3408 17.1974 27.6822 17.1974H25.2876V19.5921C25.2876 20.2507 24.7488 20.7895 24.0902 20.7895C23.4317 20.7895 22.8929 20.2507 22.8929 19.5921V17.1974H20.4982C19.8397 17.1974 19.3009 16.6586 19.3009 16.0001Z",fill:"#666666"}),(0,i.h)("path",{d:"M12.5756 17.702L11.1173 13.392C11.0093 13.1183 10.8941 12.7978 10.7717 12.4306C10.6492 12.0561 10.5268 11.6528 10.4044 11.2207C10.2964 11.66 10.1812 12.0669 10.0587 12.4414C9.93631 12.8158 9.82109 13.1399 9.71307 13.4136L8.26559 17.702H12.5756ZM18.3763 23.7187H15.5462C15.2293 23.7187 14.9737 23.6467 14.7792 23.5027C14.5848 23.3514 14.4372 23.1606 14.3363 22.9302L13.4074 20.1864H7.42304L6.49406 22.9302C6.41485 23.1318 6.27082 23.3154 6.06198 23.4811C5.86034 23.6395 5.60829 23.7187 5.30584 23.7187H2.4541L8.54645 7.98014H12.284L18.3763 23.7187Z",fill:"#666666"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],eYO3g:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"SetFontSizeCommand",()=>l);var o=e("reactn"),s=e("../../services/domTypographyService"),r=e("../../services/appActivator");class l{constructor(e){this.level=e,this.previousLevel="none",this.execute=async()=>{let{fontSizeScaleState:e}=(0,o.getGlobal)();this.previousLevel=e,0===this.level?s.restoreFontSize():s.updateFontSize(this.level),s.setFontSizeScaleValue(this.level.toString()),await (0,o.setGlobal)({fontSizeScaleState:this.level}),r.appActivator.handleAddon()},this.undo=async()=>{let e=new l("none"===this.previousLevel?0:this.previousLevel);await e.execute()}}}},{reactn:"iVSVY","../../services/domTypographyService":"6ZP8g","../../services/appActivator":"eOZgV","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"6ZP8g":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"updateLineHeight",()=>L),i.export(n,"updateFontSize",()=>A),i.export(n,"updateLetterSpacing",()=>w),i.export(n,"restoreLineHeight",()=>I),i.export(n,"restoreFontSize",()=>k),i.export(n,"restoreLetterSpacing",()=>T),i.export(n,"clearHtStyleCache",()=>M),i.export(n,"getFontSizeScaleValue",()=>E),i.export(n,"setFontSizeScaleValue",()=>j),i.export(n,"getLetterSpacingScaleValue",()=>D),i.export(n,"setLetterSpacingScaleValue",()=>_),i.export(n,"getLineHeightScaleValue",()=>H),i.export(n,"setLineHeightScaleValue",()=>N);var o=e("../constants/config");let s=["script",".ht-skip",".ht-exception",".ht-exception *"],r="HTFontSizeScale",l="HTLetterSpacingScale",c="HTLineHeightScale",d=()=>{let e=new CSSStyleSheet;return e.insertRule(`body *:not(${s.join(",")}) { hyphens: auto !important; }`,0),e.insertRule(`body *:not(${s.join(",")}) { word-wrap: break-word !important; }`,1),e.disabled=!0,document.adoptedStyleSheets.push(e),e},m=d(),p=d();class u{get fontSize(){return parseFloat(this.computedFontSize)}get lineHeight(){return parseFloat(this.computedLineHeight)}get letterSpacing(){let e=parseFloat(this.computedLetterSpacing);return isNaN(e)?o.defaultLetterSpacing:e}get relativeLineHeight(){return isNaN(this.lineHeight)?o.defaultLineHeight:this.lineHeight/this.fontSize}constructor(e,t,n,a,i,o){this.inlineFontSize=e,this.inlineLineHeight=t,this.inlineLetterSpacing=n,this.computedFontSize=a,this.computedLineHeight=i,this.computedLetterSpacing=o}}let h=1,g="htStyleCache",f=new Map,v=()=>(h++).toString(),C=e=>!!e.dataset[g],S=e=>{let t=v(),n=e.style.getPropertyValue("font-size"),a=e.style.getPropertyValue("line-height"),i=e.style.getPropertyValue("letter-spacing"),o=window.getComputedStyle(e),s=o.getPropertyValue("font-size"),r=new u(n,a,i,s,o.getPropertyValue("line-height"),o.getPropertyValue("letter-spacing"));e.dataset[g]=t,f.set(t,r),e.style.setProperty("line-height",r.relativeLineHeight.toString())},y=()=>{let e=`body *:not(${s.join(",")})`;return Array.from(document.body.querySelectorAll(e))},b=e=>{C(e)||S(e);let t=e.dataset[g];if(t)return f.get(t)},x=e=>{y().map(e=>({element:e,cachedStyle:b(e)})).filter(e=>!!e.cachedStyle).forEach(e)},L=e=>{let t=o.lineHeightScaleList[e];x(({element:e,cachedStyle:n})=>{let a=n.relativeLineHeight*t;e.style.setProperty("line-height",a.toString())})},A=e=>{m.disabled=!1;let t=o.fontSizeScaleList[e];x(({element:e,cachedStyle:n})=>{let a=n.fontSize*t;e.style.setProperty("font-size",`${a}px`)})},w=e=>{p.disabled=!1;let t=o.letterSpacingScaleList[e];x(({element:e,cachedStyle:n})=>{let a=n.letterSpacing*t;e.style.setProperty("letter-spacing",`${a}px`)})},I=()=>{x(({element:e,cachedStyle:t})=>{let{relativeLineHeight:n}=t;e.style.setProperty("line-height",n.toString())})},k=()=>{m.disabled=!0,x(({element:e,cachedStyle:t})=>{e.style.setProperty("font-size",t.inlineFontSize)})},T=()=>{p.disabled=!0,x(({element:e,cachedStyle:t})=>{e.style.setProperty("letter-spacing",t.inlineLetterSpacing)})},M=e=>{let t=document.getElementById(e);t&&t.querySelectorAll("[data-ht-style-cache]").forEach(e=>{let t=e.dataset[g];if(!t)return;let n=f.get(t);if(!n)return;let{inlineFontSize:a,inlineLineHeight:i,inlineLetterSpacing:o}=n;e.style.fontSize=a,e.style.lineHeight=i,e.style.letterSpacing=o,e.removeAttribute("data-ht-style-cache")})},E=()=>parseInt(sessionStorage.getItem(r)||"0"),j=e=>{sessionStorage.setItem(r,e)},D=()=>parseInt(sessionStorage.getItem(l)||"0"),_=e=>{sessionStorage.setItem(l,e)},H=()=>parseInt(sessionStorage.getItem(c)||"0"),N=e=>{sessionStorage.setItem(c,e)}},{"../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],doKy8:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"IncreaseFontSizeCommand",()=>l);var o=e("reactn"),s=e("./SetFontSizeCommand"),r=e("../../constants/config");class l{constructor(){this.previousLevel=0,this.execute=async()=>{let{fontSizeScaleState:e}=(0,o.getGlobal)(),t="none"===e?0:e;this.previousLevel=t;let n=t>=r.fontSizeScaleList.length-1?0:t+1,a=new(0,s.SetFontSizeCommand)(n);await a.execute()},this.undo=async()=>{let e=new(0,s.SetFontSizeCommand)(this.previousLevel);await e.execute()}}}},{reactn:"iVSVY","./SetFontSizeCommand":"eYO3g","../../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],apsCt:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("preact/compat"),r=e("reactn"),l=e("../components/ResourceButton"),c=i.interopDefault(l),d=e("../components/Icons/LineSpacing"),m=i.interopDefault(d),p=e("../services/analytics"),u=e("../hooks/useDebounce"),h=e("../hooks/useCommandStack"),g=e("../stores/useTranslation"),f=e("../constants/config"),v=e("../commands/lineHeightCommands/SetLineHeightCommand"),C=e("../commands/lineHeightCommands/IncreaseLineHeightCommand"),S=e("../services/domTypographyService");n.default=()=>{let[{lineHeightScaleState:e,isMobile:t}]=(0,r.useGlobal)(),{translate:n,language:a}=(0,g.useTranslationStore)(),i=(0,u.useDebounce)(e,f.analyticsDebounceTime),{execute:l}=(0,h.useCommandStack)();(0,s.useEffect)(()=>{if("none"===i)return;let e=100*f.lineHeightScaleList[i];(0,p.sendEvent)({eventCategory:"Complementos",eventAction:0===i?"Desativar":"Ativar",eventLabel:"Espaçamento entre linhas",eventValue:e})},[i]);let d=(0,s.useMemo)(()=>"none"===e?0:e,[e]);(0,s.useEffect)(()=>{let e=(0,S.getLineHeightScaleValue)();0!==e&&l(new(0,v.SetLineHeightCommand)(e))},[]);let y=(0,s.useMemo)(()=>({title:n("lineHeight"),ariaLabelInactive:n("lineHeightAriaLabelInactive"),ariaLabelActive:n("lineHeightAriaLabelActive",{index:e})}),[a]);return(0,o.h)(c.default,{onClick:()=>{l(new(0,C.IncreaseLineHeightCommand))},isMobile:t,icon:(0,o.h)(m.default,null),title:y.title,ariaLabelInactive:y.ariaLabelInactive,ariaLabelActive:y.ariaLabelActive,dotsLength:f.lineHeightScaleList.length-1,dotsIndex:d})}},{preact:"gdb49","preact/compat":"8ZO42",reactn:"iVSVY","../components/ResourceButton":"bnNUx","../components/Icons/LineSpacing":"bxjQO","../services/analytics":"9b6Tu","../hooks/useDebounce":"c67Vm","../hooks/useCommandStack":"2LAi9","../stores/useTranslation":"94OJm","../constants/config":"kqbjQ","../commands/lineHeightCommands/SetLineHeightCommand":"9nLqb","../commands/lineHeightCommands/IncreaseLineHeightCommand":"aDwvi","../services/domTypographyService":"6ZP8g","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],bxjQO:[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M13.3159 13.0623C13.9409 13.0623 14.2464 12.3123 13.802 11.8818L10.6214 8.68734C10.3437 8.40956 9.9131 8.40956 9.63532 8.68734L6.45477 11.8818C6.02421 12.3123 6.32977 13.0623 6.95477 13.0623H8.74643V26.9512H6.95477C6.32977 26.9512 6.02421 27.7012 6.46865 28.1318L9.64921 31.3123C9.92699 31.5901 10.3575 31.5901 10.6353 31.3123L13.8159 28.1318C14.2464 27.7012 13.9409 26.9512 13.3159 26.9512H11.5242V13.0623H13.3159ZM18.4687 13.0623H32.3575C33.1214 13.0623 33.7464 12.4373 33.7464 11.6734C33.7464 10.9096 33.1214 10.2846 32.3575 10.2846H18.4687C17.7048 10.2846 17.0798 10.9096 17.0798 11.6734C17.0798 12.4373 17.7048 13.0623 18.4687 13.0623ZM32.3575 26.9512H18.4687C17.7048 26.9512 17.0798 27.5762 17.0798 28.3401C17.0798 29.104 17.7048 29.729 18.4687 29.729H32.3575C33.1214 29.729 33.7464 29.104 33.7464 28.3401C33.7464 27.5762 33.1214 26.9512 32.3575 26.9512ZM32.3575 18.6179H18.4687C17.7048 18.6179 17.0798 19.2429 17.0798 20.0068C17.0798 20.7707 17.7048 21.3957 18.4687 21.3957H32.3575C33.1214 21.3957 33.7464 20.7707 33.7464 20.0068C33.7464 19.2429 33.1214 18.6179 32.3575 18.6179Z",fill:"white"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"9nLqb":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"SetLineHeightCommand",()=>l);var o=e("reactn"),s=e("../../services/domTypographyService"),r=e("../../services/appActivator");class l{constructor(e){this.level=e,this.previousLevel="none",this.execute=async()=>{let{lineHeightScaleState:e}=(0,o.getGlobal)();this.previousLevel=e,0===this.level?s.restoreLineHeight():s.updateLineHeight(this.level),s.setLineHeightScaleValue(this.level.toString()),await (0,o.setGlobal)({lineHeightScaleState:this.level}),r.appActivator.handleAddon()},this.undo=async()=>{let e=new l("none"===this.previousLevel?0:this.previousLevel);await e.execute()}}}},{reactn:"iVSVY","../../services/domTypographyService":"6ZP8g","../../services/appActivator":"eOZgV","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],aDwvi:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"IncreaseLineHeightCommand",()=>l);var o=e("reactn"),s=e("../../constants/config"),r=e("./SetLineHeightCommand");class l{constructor(){this.previousLevel=0,this.execute=async()=>{let{lineHeightScaleState:e}=(0,o.getGlobal)(),t="none"===e?0:e;this.previousLevel=t;let n=t>=s.lineHeightScaleList.length-1?0:t+1,a=new(0,r.SetLineHeightCommand)(n);await a.execute()},this.undo=async()=>{let e=new(0,r.SetLineHeightCommand)(this.previousLevel);await e.execute()}}}},{reactn:"iVSVY","../../constants/config":"kqbjQ","./SetLineHeightCommand":"9nLqb","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"3yAv2":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact/compat"),s=e("reactn"),r=e("preact"),l=e("../services/articleService"),c=e("../hooks/useDebounce"),d=e("../views/ReaderMode"),m=i.interopDefault(d),p=e("../components/ResourceButton"),u=i.interopDefault(p),h=e("../components/Icons/ReaderMode"),g=e("../services/analytics"),f=e("../constants/config"),v=e("../hooks/useCommandStack"),C=e("../commands/readerModeCommands/SetReaderModeCommand"),S=e("../commands/readerModeCommands/IncreaseReaderModeCommand"),y=e("../stores/useTranslation");n.default=()=>{let[e,t]=(0,o.useState)(!1),[{isMobile:n,element:a,readerModeState:i,isAddonsActive:d}]=(0,s.useGlobal)(),{translate:p,language:b}=(0,y.useTranslationStore)(),x=(0,c.useDebounce)(i,f.analyticsDebounceTime),L=2===i,{execute:A}=(0,v.useCommandStack)();(0,o.useEffect)(()=>{"none"!==x&&(0,g.handleAnalyticsReaderMode)(x)},[x]),(0,o.useEffect)(()=>{let e=l.getReaderModeValue(),t=l.domValidateReaderMode(document);0!==e&&t&&A(new(0,C.SetReaderModeCommand)(e))},[]);let w=f.readerModeList.length-1,I=(0,o.useMemo)(()=>"none"===i?0:i,[i]);(0,o.useEffect)(()=>{(d||I>0)&&(I>0?t(!0):t(l.domValidateReaderMode(document)))},[d,I]);let k={0:(0,r.h)(h.ReaderModeIcon,null),1:(0,r.h)(h.ReaderModeLightIcon,null),2:(0,r.h)(h.ReaderModeDarkIcon,null)},T=(0,o.useMemo)(()=>({title:p("readerMode"),ariaLabelInactive:e?p("readerModeAriaLabelInactive"):p("readerModeUnavailable"),ariaLabelActive:p("readerModeAriaLabelActive",{index:I})}),[b]);return(0,r.h)(o.Fragment,null,(0,r.h)(u.default,{disabled:!e,isMobile:n,onClick:()=>{A(new(0,S.IncreaseReaderModeLevelCommand))},icon:k[I],title:T.title,ariaLabelInactive:T.ariaLabelInactive,ariaLabelActive:T.ariaLabelActive,dotsLength:w,dotsIndex:I}),I>0&&(0,o.createPortal)((0,r.h)(m.default,{isMobile:n,isDarkMode:L}),a))}},{"preact/compat":"8ZO42",reactn:"iVSVY",preact:"gdb49","../services/articleService":"3bbQo","../hooks/useDebounce":"c67Vm","../views/ReaderMode":"5JVdz","../components/ResourceButton":"bnNUx","../components/Icons/ReaderMode":"1JTy0","../services/analytics":"9b6Tu","../constants/config":"kqbjQ","../hooks/useCommandStack":"2LAi9","../commands/readerModeCommands/SetReaderModeCommand":"3pzqt","../commands/readerModeCommands/IncreaseReaderModeCommand":"eaDl7","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"3bbQo":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"domToArticle",()=>p),i.export(n,"domValidateReaderMode",()=>u),i.export(n,"getReaderModeValue",()=>h),i.export(n,"setReaderModeValue",()=>g);var o=e("@mozilla/readability"),s=e("dompurify"),r=i.interopDefault(s),l=e("../domUtils");let c={minContentLength:140,minScore:20},d="HTReaderMode",m={},p=e=>{let t=e.cloneNode(!0),n=new(0,o.Readability)(t,m).parse();if(!n)return console.error("Failed to parse article with Readability."),null;let a=(0,l.removeIDsFromString)(n.content);return{content:r.default.sanitize(a),title:r.default.sanitize(n.title)}},u=e=>{let t=e.cloneNode(!0);return(0,o.isProbablyReaderable)(t,c)},h=()=>parseInt(sessionStorage.getItem(d)||"0"),g=e=>{sessionStorage.setItem(d,e)}},{"@mozilla/readability":"7RWHb",dompurify:"4rVRq","../domUtils":"1UlS3","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"7RWHb":[function(e,t,n,a){t.exports={Readability:e("8eab4f7909b8a832"),isProbablyReaderable:e("2774c324ea37ee83")}},{"8eab4f7909b8a832":"kfWcN","2774c324ea37ee83":"8WEce"}],kfWcN:[function(e,t,n,a){function i(e,t){if(t&&t.documentElement)e=t,t=arguments[2];else if(!e||!e.documentElement)throw Error("First argument to Readability constructor should be a document object.");if(t=t||{},this._doc=e,this._docJSDOMParser=this._doc.firstChild.__JSDOMParser__,this._articleTitle=null,this._articleByline=null,this._articleDir=null,this._articleSiteName=null,this._attempts=[],this._metadata={},this._debug=!!t.debug,this._maxElemsToParse=t.maxElemsToParse||this.DEFAULT_MAX_ELEMS_TO_PARSE,this._nbTopCandidates=t.nbTopCandidates||this.DEFAULT_N_TOP_CANDIDATES,this._charThreshold=t.charThreshold||this.DEFAULT_CHAR_THRESHOLD,this._classesToPreserve=this.CLASSES_TO_PRESERVE.concat(t.classesToPreserve||[]),this._keepClasses=!!t.keepClasses,this._serializer=t.serializer||function(e){return e.innerHTML},this._disableJSONLD=!!t.disableJSONLD,this._allowedVideoRegex=t.allowedVideoRegex||this.REGEXPS.videos,this._linkDensityModifier=t.linkDensityModifier||0,this._flags=this.FLAG_STRIP_UNLIKELYS|this.FLAG_WEIGHT_CLASSES|this.FLAG_CLEAN_CONDITIONALLY,this._debug){let e=function(e){if(e.nodeType==e.TEXT_NODE)return`${e.nodeName} ("${e.textContent}")`;let t=Array.from(e.attributes||[],function(e){return`${e.name}="${e.value}"`}).join(" ");return`<${e.localName} ${t}>`};this.log=function(){if("undefined"!=typeof console){let t=Array.from(arguments,t=>t&&t.nodeType==this.ELEMENT_NODE?e(t):t);t.unshift("Reader: (Readability)"),console.log(...t)}else if("undefined"!=typeof dump){var t=Array.prototype.map.call(arguments,function(t){return t&&t.nodeName?e(t):t}).join(" ");dump("Reader: (Readability) "+t+"\n")}}}else this.log=function(){}}i.prototype={FLAG_STRIP_UNLIKELYS:1,FLAG_WEIGHT_CLASSES:2,FLAG_CLEAN_CONDITIONALLY:4,ELEMENT_NODE:1,TEXT_NODE:3,DEFAULT_MAX_ELEMS_TO_PARSE:0,DEFAULT_N_TOP_CANDIDATES:5,DEFAULT_TAGS_TO_SCORE:"SECTION,H2,H3,H4,H5,H6,P,TD,PRE".split(","),DEFAULT_CHAR_THRESHOLD:500,REGEXPS:{unlikelyCandidates:/-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i,okMaybeItsACandidate:/and|article|body|column|content|main|shadow/i,positive:/article|body|content|entry|hentry|h-entry|main|page|pagination|post|text|blog|story/i,negative:/-ad-|hidden|^hid$| hid$| hid |^hid |banner|combx|comment|com-|contact|footer|gdpr|masthead|media|meta|outbrain|promo|related|scroll|share|shoutbox|sidebar|skyscraper|sponsor|shopping|tags|widget/i,extraneous:/print|archive|comment|discuss|e[\-]?mail|share|reply|all|login|sign|single|utility/i,byline:/byline|author|dateline|writtenby|p-author/i,replaceFonts:/<(\/?)font[^>]*>/gi,normalize:/\s{2,}/g,videos:/\/\/(www\.)?((dailymotion|youtube|youtube-nocookie|player\.vimeo|v\.qq)\.com|(archive|upload\.wikimedia)\.org|player\.twitch\.tv)/i,shareElements:/(\b|_)(share|sharedaddy)(\b|_)/i,nextLink:/(next|weiter|continue|>([^\|]|$)|»([^\|]|$))/i,prevLink:/(prev|earl|old|new|<|«)/i,tokenize:/\W+/g,whitespace:/^\s*$/,hasContent:/\S$/,hashUrl:/^#.+/,srcsetUrl:/(\S+)(\s+[\d.]+[xw])?(\s*(?:,|$))/g,b64DataUrl:/^data:\s*([^\s;,]+)\s*;\s*base64\s*,/i,commas:/\u002C|\u060C|\uFE50|\uFE10|\uFE11|\u2E41|\u2E34|\u2E32|\uFF0C/g,jsonLdArticleTypes:/^Article|AdvertiserContentArticle|NewsArticle|AnalysisNewsArticle|AskPublicNewsArticle|BackgroundNewsArticle|OpinionNewsArticle|ReportageNewsArticle|ReviewNewsArticle|Report|SatiricalArticle|ScholarlyArticle|MedicalScholarlyArticle|SocialMediaPosting|BlogPosting|LiveBlogPosting|DiscussionForumPosting|TechArticle|APIReference$/,adWords:RegExp("^(ad(vertising|vertisement)?|pub(licité)?|werb(ung)?|广告|Реклама|Anuncio)$","iu"),loadingWords:RegExp("^((loading|正在加载|Загрузка|chargement|cargando)(…|\\.\\.\\.)?)$","iu")},UNLIKELY_ROLES:["menu","menubar","complementary","navigation","alert","alertdialog","dialog"],DIV_TO_P_ELEMS:new Set(["BLOCKQUOTE","DL","DIV","IMG","OL","P","PRE","TABLE","UL"]),ALTER_TO_DIV_EXCEPTIONS:["DIV","ARTICLE","SECTION","P","OL","UL"],PRESENTATIONAL_ATTRIBUTES:["align","background","bgcolor","border","cellpadding","cellspacing","frame","hspace","rules","style","valign","vspace"],DEPRECATED_SIZE_ATTRIBUTE_ELEMS:["TABLE","TH","TD","HR","PRE"],PHRASING_ELEMS:["ABBR","AUDIO","B","BDO","BR","BUTTON","CITE","CODE","DATA","DATALIST","DFN","EM","EMBED","I","IMG","INPUT","KBD","LABEL","MARK","MATH","METER","NOSCRIPT","OBJECT","OUTPUT","PROGRESS","Q","RUBY","SAMP","SCRIPT","SELECT","SMALL","SPAN","STRONG","SUB","SUP","TEXTAREA","TIME","VAR","WBR"],CLASSES_TO_PRESERVE:["page"],HTML_ESCAPE_MAP:{lt:"<",gt:">",amp:"&",quot:'"',apos:"'"},_postProcessContent(e){this._fixRelativeUris(e),this._simplifyNestedElements(e),this._keepClasses||this._cleanClasses(e)},_removeNodes(e,t){if(this._docJSDOMParser&&e._isLiveNodeList)throw Error("Do not pass live node lists to _removeNodes");for(var n=e.length-1;n>=0;n--){var a=e[n],i=a.parentNode;i&&(!t||t.call(this,a,n,e))&&i.removeChild(a)}},_replaceNodeTags(e,t){if(this._docJSDOMParser&&e._isLiveNodeList)throw Error("Do not pass live node lists to _replaceNodeTags");for(let n of e)this._setNodeTag(n,t)},_forEachNode(e,t){Array.prototype.forEach.call(e,t,this)},_findNode(e,t){return Array.prototype.find.call(e,t,this)},_someNode(e,t){return Array.prototype.some.call(e,t,this)},_everyNode(e,t){return Array.prototype.every.call(e,t,this)},_getAllNodesWithTag:(e,t)=>e.querySelectorAll?e.querySelectorAll(t.join(",")):[].concat.apply([],t.map(function(t){var n=e.getElementsByTagName(t);return Array.isArray(n)?n:Array.from(n)})),_cleanClasses(e){var t=this._classesToPreserve,n=(e.getAttribute("class")||"").split(/\s+/).filter(e=>t.includes(e)).join(" ");for(n?e.setAttribute("class",n):e.removeAttribute("class"),e=e.firstElementChild;e;e=e.nextElementSibling)this._cleanClasses(e)},_isUrl(e){try{return new URL(e),!0}catch(e){return!1}},_fixRelativeUris(e){var t=this._doc.baseURI,n=this._doc.documentURI;function a(e){if(t==n&&"#"==e.charAt(0))return e;try{return new URL(e,t).href}catch(e){}return e}var i=this._getAllNodesWithTag(e,["a"]);this._forEachNode(i,function(e){var t=e.getAttribute("href");if(t)if(0===t.indexOf("javascript:"))if(1===e.childNodes.length&&e.childNodes[0].nodeType===this.TEXT_NODE){var n=this._doc.createTextNode(e.textContent);e.parentNode.replaceChild(n,e)}else{for(var i=this._doc.createElement("span");e.firstChild;)i.appendChild(e.firstChild);e.parentNode.replaceChild(i,e)}else e.setAttribute("href",a(t))});var o=this._getAllNodesWithTag(e,["img","picture","figure","video","audio","source"]);this._forEachNode(o,function(e){var t=e.getAttribute("src"),n=e.getAttribute("poster"),i=e.getAttribute("srcset");if(t&&e.setAttribute("src",a(t)),n&&e.setAttribute("poster",a(n)),i){var o=i.replace(this.REGEXPS.srcsetUrl,function(e,t,n,i){return a(t)+(n||"")+i});e.setAttribute("srcset",o)}})},_simplifyNestedElements(e){for(var t=e;t;){if(t.parentNode&&["DIV","SECTION"].includes(t.tagName)&&!(t.id&&t.id.startsWith("readability"))){if(this._isElementWithoutContent(t)){t=this._removeAndGetNext(t);continue}else if(this._hasSingleTagInsideElement(t,"DIV")||this._hasSingleTagInsideElement(t,"SECTION")){for(var n=t.children[0],a=0;a»] /.test(t)){a=/ [\\\/>»] /.test(t);let e=Array.from(n.matchAll(/ [\|\-\\\/>»] /gi));3>i(t=n.substring(0,e.pop().index))&&(t=n.replace(/^[^\|\-\\\/>»]*[\|\-\\\/>»]/gi,""))}else if(t.includes(": ")){var o=this._getAllNodesWithTag(e,["h1","h2"]),s=t.trim();!this._someNode(o,function(e){return e.textContent.trim()===s})&&(3>i(t=n.substring(n.lastIndexOf(":")+1))?t=n.substring(n.indexOf(":")+1):i(n.substr(0,n.indexOf(":")))>5&&(t=n))}else if(t.length>150||t.length<15){var r=e.getElementsByTagName("h1");1===r.length&&(t=this._getInnerText(r[0]))}var l=i(t=t.trim().replace(this.REGEXPS.normalize," "));return l<=4&&(!a||l!=i(n.replace(/[\|\-\\\/>»]+/g,""))-1)&&(t=n),t},_prepDocument(){var e=this._doc;this._removeNodes(this._getAllNodesWithTag(e,["style"])),e.body&&this._replaceBrs(e.body),this._replaceNodeTags(this._getAllNodesWithTag(e,["font"]),"SPAN")},_nextNode(e){for(var t=e;t&&t.nodeType!=this.ELEMENT_NODE&&this.REGEXPS.whitespace.test(t.textContent);)t=t.nextSibling;return t},_replaceBrs(e){this._forEachNode(this._getAllNodesWithTag(e,["br"]),function(e){for(var t=e.nextSibling,n=!1;(t=this._nextNode(t))&&"BR"==t.tagName;){n=!0;var a=t.nextSibling;t.remove(),t=a}if(n){var i=this._doc.createElement("p");for(e.parentNode.replaceChild(i,e),t=i.nextSibling;t;){if("BR"==t.tagName){var o=this._nextNode(t.nextSibling);if(o&&"BR"==o.tagName)break}if(!this._isPhrasingContent(t))break;var s=t.nextSibling;i.appendChild(t),t=s}for(;i.lastChild&&this._isWhitespace(i.lastChild);)i.lastChild.remove();"P"===i.parentNode.tagName&&this._setNodeTag(i.parentNode,"DIV")}})},_setNodeTag(e,t){if(this.log("_setNodeTag",e,t),this._docJSDOMParser)return e.localName=t.toLowerCase(),e.tagName=t.toUpperCase(),e;for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);e.parentNode.replaceChild(n,e),e.readability&&(n.readability=e.readability);for(var a=0;a!n.includes(e)).join(" ").length/a.join(" ").length:0},_isValidByline(e,t){var n=e.getAttribute("rel"),a=e.getAttribute("itemprop"),i=e.textContent.trim().length;return("author"===n||a&&a.includes("author")||this.REGEXPS.byline.test(t))&&!!i&&i<100},_getNodeAncestors(e,t){t=t||0;for(var n=0,a=[];e.parentNode&&(a.push(e.parentNode),!t||++n!==t);)e=e.parentNode;return a},_grabArticle(e){this.log("**** grabArticle ****");var t=this._doc,n=null!==e;if(!(e=e||this._doc.body))return this.log("No body found in document. Abort."),null;for(var a=e.innerHTML;;){this.log("Starting grabArticle loop");var i,o=this._flagIsActive(this.FLAG_STRIP_UNLIKELYS),s=[],r=this._doc.documentElement;let q=!0;for(;r;){"HTML"===r.tagName&&(this._articleLang=r.getAttribute("lang"));var l=r.className+" "+r.id;if(!this._isProbablyVisible(r)){this.log("Removing hidden node - "+l),r=this._removeAndGetNext(r);continue}if("true"==r.getAttribute("aria-modal")&&"dialog"==r.getAttribute("role")){r=this._removeAndGetNext(r);continue}if(!this._articleByline&&!this._metadata.byline&&this._isValidByline(r,l)){for(var c=this._getNextNode(r,!0),d=this._getNextNode(r),m=null;d&&d!=c;){var p=d.getAttribute("itemprop");if(p&&p.includes("name")){m=d;break}d=this._getNextNode(d)}this._articleByline=(null!=m?m:r).textContent.trim(),r=this._removeAndGetNext(r);continue}if(q&&this._headerDuplicatesTitle(r)){this.log("Removing header: ",r.textContent.trim(),this._articleTitle.trim()),q=!1,r=this._removeAndGetNext(r);continue}if(o){if(this.REGEXPS.unlikelyCandidates.test(l)&&!this.REGEXPS.okMaybeItsACandidate.test(l)&&!this._hasAncestorTag(r,"table")&&!this._hasAncestorTag(r,"code")&&"BODY"!==r.tagName&&"A"!==r.tagName){this.log("Removing unlikely candidate - "+l),r=this._removeAndGetNext(r);continue}if(this.UNLIKELY_ROLES.includes(r.getAttribute("role"))){this.log("Removing content with role "+r.getAttribute("role")+" - "+l),r=this._removeAndGetNext(r);continue}}if(("DIV"===r.tagName||"SECTION"===r.tagName||"HEADER"===r.tagName||"H1"===r.tagName||"H2"===r.tagName||"H3"===r.tagName||"H4"===r.tagName||"H5"===r.tagName||"H6"===r.tagName)&&this._isElementWithoutContent(r)){r=this._removeAndGetNext(r);continue}if(this.DEFAULT_TAGS_TO_SCORE.includes(r.tagName)&&s.push(r),"DIV"===r.tagName){for(var u=null,h=r.firstChild;h;){var g=h.nextSibling;if(this._isPhrasingContent(h))null!==u?u.appendChild(h):this._isWhitespace(h)||(u=t.createElement("p"),r.replaceChild(u,h),u.appendChild(h));else if(null!==u){for(;u.lastChild&&this._isWhitespace(u.lastChild);)u.lastChild.remove();u=null}h=g}if(this._hasSingleTagInsideElement(r,"P")&&.25>this._getLinkDensity(r)){var f=r.children[0];r.parentNode.replaceChild(f,r),r=f,s.push(r)}else this._hasChildBlockElement(r)||(r=this._setNodeTag(r,"P"),s.push(r))}r=this._getNextNode(r)}var v=[];this._forEachNode(s,function(e){if(e.parentNode&&void 0!==e.parentNode.tagName){var t,n=this._getInnerText(e);if(!(n.length<25)){var a=this._getNodeAncestors(e,5);0!==a.length&&(t=1+n.split(this.REGEXPS.commas).length+Math.min(Math.floor(n.length/100),3),this._forEachNode(a,function(e,n){if(e.tagName&&e.parentNode&&void 0!==e.parentNode.tagName){if(void 0===e.readability&&(this._initializeNode(e),v.push(e)),0===n)var a=1;else a=1===n?2:3*n;e.readability.contentScore+=t/a}}))}}});for(var C=[],S=0,y=v.length;SA.readability.contentScore){C.splice(L,0,b),C.length>this._nbTopCandidates&&C.pop();break}}}var w=C[0]||null,I=!1;if(null===w||"BODY"===w.tagName){for(w=t.createElement("DIV"),I=!0;e.firstChild;)this.log("Moving child out:",e.firstChild),w.appendChild(e.firstChild);e.appendChild(w),this._initializeNode(w)}else if(w){for(var k=[],T=1;T=.75&&k.push(this._getNodeAncestors(C[T]));if(k.length>=3)for(i=w.parentNode;"BODY"!==i.tagName;){for(var M=0,E=0;E=3){w=i;break}i=i.parentNode}w.readability||this._initializeNode(w),i=w.parentNode;for(var j=w.readability.contentScore,D=j/3;"BODY"!==i.tagName;){if(!i.readability){i=i.parentNode;continue}var _=i.readability.contentScore;if(_j){w=i;break}j=i.readability.contentScore,i=i.parentNode}for(i=w.parentNode;"BODY"!=i.tagName&&1==i.children.length;)i=(w=i).parentNode;w.readability||this._initializeNode(w)}var H=t.createElement("DIV");n&&(H.id="readability-content");for(var N=Math.max(10,.2*w.readability.contentScore),R=(i=w.parentNode).children,V=0,F=R.length;V=N)P=!0;else if("P"===O.nodeName){var B=this._getLinkDensity(O),G=this._getInnerText(O),U=G.length;U>80&&B<.25?P=!0:U<80&&U>0&&0===B&&-1!==G.search(/\.( |$)/)&&(P=!0)}}P&&(this.log("Appending node:",O),this.ALTER_TO_DIV_EXCEPTIONS.includes(O.nodeName)||(this.log("Altering sibling:",O,"to div."),O=this._setNodeTag(O,"DIV")),H.appendChild(O),R=i.children,V-=1,F-=1)}if(this._debug&&this.log("Article content pre-prep: "+H.innerHTML),this._prepArticle(H),this._debug&&this.log("Article content post-prep: "+H.innerHTML),I)w.id="readability-page-1",w.className="page";else{var z=t.createElement("DIV");for(z.id="readability-page-1",z.className="page";H.firstChild;)z.appendChild(H.firstChild);H.appendChild(z)}this._debug&&this.log("Article content after paging: "+H.innerHTML);var Z=!0,Y=this._getInnerText(H,!0).length;if(Y1114111||a>=55296&&a<=57343)&&(a=65533),String.fromCodePoint(a)})},_getJSONLD(e){var t,n=this._getAllNodesWithTag(e,["script"]);return this._forEachNode(n,function(e){if(!t&&"application/ld+json"===e.getAttribute("type"))try{var n=e.textContent.replace(/^\s*\s*$/g,""),a=JSON.parse(n);if(Array.isArray(a)&&!(a=a.find(e=>e["@type"]&&e["@type"].match(this.REGEXPS.jsonLdArticleTypes))))return;var i=/^https?\:\/\/schema\.org\/?$/;if(!("string"==typeof a["@context"]&&a["@context"].match(i)||"object"==typeof a["@context"]&&"string"==typeof a["@context"]["@vocab"]&&a["@context"]["@vocab"].match(i))||(!a["@type"]&&Array.isArray(a["@graph"])&&(a=a["@graph"].find(e=>(e["@type"]||"").match(this.REGEXPS.jsonLdArticleTypes))),!a||!a["@type"]||!a["@type"].match(this.REGEXPS.jsonLdArticleTypes)))return;if(t={},"string"==typeof a.name&&"string"==typeof a.headline&&a.name!==a.headline){var o=this._getArticleTitle(),s=this._textSimilarity(a.name,o)>.75;this._textSimilarity(a.headline,o)>.75&&!s?t.title=a.headline:t.title=a.name}else"string"==typeof a.name?t.title=a.name.trim():"string"==typeof a.headline&&(t.title=a.headline.trim());a.author&&("string"==typeof a.author.name?t.byline=a.author.name.trim():Array.isArray(a.author)&&a.author[0]&&"string"==typeof a.author[0].name&&(t.byline=a.author.filter(function(e){return e&&"string"==typeof e.name}).map(function(e){return e.name.trim()}).join(", "))),"string"==typeof a.description&&(t.excerpt=a.description.trim()),a.publisher&&"string"==typeof a.publisher.name&&(t.siteName=a.publisher.name.trim()),"string"==typeof a.datePublished&&(t.datePublished=a.datePublished.trim())}catch(e){this.log(e.message)}}),t||{}},_getArticleMetadata(e){var t={},n={},a=this._doc.getElementsByTagName("meta"),i=/\s*(article|dc|dcterm|og|twitter)\s*:\s*(author|creator|description|published_time|title|site_name)\s*/gi,o=/^\s*(?:(dc|dcterm|og|twitter|parsely|weibo:(article|webpage))\s*[-\.:]\s*)?(author|creator|pub-date|description|title|site_name)\s*$/i;this._forEachNode(a,function(e){var t=e.getAttribute("name"),a=e.getAttribute("property"),s=e.getAttribute("content");if(s){var r=null,l=null;a&&(r=a.match(i))&&(n[l=r[0].toLowerCase().replace(/\s/g,"")]=s.trim()),!r&&t&&o.test(t)&&(l=t,s&&(n[l=l.toLowerCase().replace(/\s/g,"").replace(/\./g,":")]=s.trim()))}}),t.title=e.title||n["dc:title"]||n["dcterm:title"]||n["og:title"]||n["weibo:article:title"]||n["weibo:webpage:title"]||n.title||n["twitter:title"]||n["parsely-title"],t.title||(t.title=this._getArticleTitle());let s="string"!=typeof n["article:author"]||this._isUrl(n["article:author"])?void 0:n["article:author"];return t.byline=e.byline||n["dc:creator"]||n["dcterm:creator"]||n.author||n["parsely-author"]||s,t.excerpt=e.excerpt||n["dc:description"]||n["dcterm:description"]||n["og:description"]||n["weibo:article:description"]||n["weibo:webpage:description"]||n.description||n["twitter:description"],t.siteName=e.siteName||n["og:site_name"],t.publishedTime=e.datePublished||n["article:published_time"]||n["parsely-pub-date"]||null,t.title=this._unescapeHtmlEntities(t.title),t.byline=this._unescapeHtmlEntities(t.byline),t.excerpt=this._unescapeHtmlEntities(t.excerpt),t.siteName=this._unescapeHtmlEntities(t.siteName),t.publishedTime=this._unescapeHtmlEntities(t.publishedTime),t},_isSingleImage(e){for(;e;){if("IMG"===e.tagName)return!0;if(1!==e.children.length||""!==e.textContent.trim())break;e=e.children[0]}return!1},_unwrapNoscriptImages(e){var t=Array.from(e.getElementsByTagName("img"));this._forEachNode(t,function(e){for(var t=0;t0)||!(i>n));){if(e.parentNode.tagName===t&&(!a||a(e.parentNode)))return!0;e=e.parentNode,i++}return!1},_getRowAndColumnCount(e){for(var t=0,n=0,a=e.getElementsByTagName("tr"),i=0;i=10||o.columns>4){a._readabilityDataTable=!0;continue}a._readabilityDataTable=o.rows*o.columns>10}},_fixLazyImages(e){this._forEachNode(this._getAllNodesWithTag(e,["img","picture","figure"]),function(e){if(e.src&&this.REGEXPS.b64DataUrl.test(e.src)){var t=this.REGEXPS.b64DataUrl.exec(e.src);if("image/svg+xml"===t[1])return;for(var n=!1,a=0;aa+=this._getInnerText(e,!0).length),a/n},_cleanConditionally(e,t){this._flagIsActive(this.FLAG_CLEAN_CONDITIONALLY)&&this._removeNodes(this._getAllNodesWithTag(e,[t]),function(e){var n=function(e){return e._readabilityDataTable},a="ul"===t||"ol"===t;if(!a){var i=0,o=this._getAllNodesWithTag(e,["ul","ol"]);this._forEachNode(o,e=>i+=this._getInnerText(e).length),a=i/this._getInnerText(e).length>.9}if("table"===t&&n(e)||this._hasAncestorTag(e,"table",-1,n)||this._hasAncestorTag(e,"code")||[...e.getElementsByTagName("table")].some(e=>e._readabilityDataTable))return!1;var s=this._getClassWeight(e);if(this.log("Cleaning Conditionally",e),s+0<0)return!0;if(10>this._getCharCount(e,",")){for(var r=e.getElementsByTagName("p").length,l=e.getElementsByTagName("img").length,c=e.getElementsByTagName("li").length-100,d=e.getElementsByTagName("input").length,m=this._getTextDensity(e,["h1","h2","h3","h4","h5","h6"]),p=0,u=this._getAllNodesWithTag(e,["object","embed","iframe"]),h=0;h{let e=[];return!b&&l>1&&r/l<.5&&e.push(`Bad p to img ratio (img=${l}, p=${r})`),!a&&c>r&&e.push(`Too many li's outside of a list. (li=${c} > p=${r})`),d>Math.floor(r/3)&&e.push(`Too many inputs per p. (input=${d}, p=${r})`),!a&&!b&&m<.9&&v<25&&(0===l||l>2)&&C>0&&e.push(`Suspiciously short. (headingDensity=${m}, img=${l}, linkDensity=${C})`),!a&&s<25&&C>.2+this._linkDensityModifier&&e.push(`Low weight and a little linky. (linkDensity=${C})`),s>=25&&C>.5+this._linkDensityModifier&&e.push(`High weight and mostly links. (linkDensity=${C})`),(1===p&&v<75||p>1)&&e.push(`Suspicious embed. (embedCount=${p}, contentLength=${v})`),0===l&&0===y&&e.push(`No useful content. (img=${l}, textDensity=${y})`),!!e.length&&(this.log("Checks failed",e),!0)})();if(a&&x){for(var L=0;L1)return x;if(l==e.getElementsByTagName("li").length)return!1}return x}return!1})},_cleanMatchedNodes(e,t){for(var n=this._getNextNode(e,!0),a=this._getNextNode(e);a&&a!=n;)a=t.call(this,a,a.className+" "+a.id)?this._removeAndGetNext(a):this._getNextNode(a)},_cleanHeaders(e){let t=this._getAllNodesWithTag(e,["h1","h2"]);this._removeNodes(t,function(e){let t=0>this._getClassWeight(e);return t&&this.log("Removing header with low class weight:",e),t})},_headerDuplicatesTitle(e){if("H1"!=e.tagName&&"H2"!=e.tagName)return!1;var t=this._getInnerText(e,!1);return this.log("Evaluating similarity of header:",t,this._articleTitle),this._textSimilarity(this._articleTitle,t)>.75},_flagIsActive(e){return(this._flags&e)>0},_removeFlag(e){this._flags=this._flags&~e},_isProbablyVisible:e=>(!e.style||"none"!=e.style.display)&&(!e.style||"hidden"!=e.style.visibility)&&!e.hasAttribute("hidden")&&(!e.hasAttribute("aria-hidden")||"true"!=e.getAttribute("aria-hidden")||e.className&&e.className.includes&&e.className.includes("fallback-image")),parse(){if(this._maxElemsToParse>0){var e=this._doc.getElementsByTagName("*").length;if(e>this._maxElemsToParse)throw Error("Aborting parsing document; "+e+" elements found")}this._unwrapNoscriptImages(this._doc);var t=this._disableJSONLD?{}:this._getJSONLD(this._doc);this._removeScripts(this._doc),this._prepDocument();var n=this._getArticleMetadata(t);this._metadata=n,this._articleTitle=n.title;var a=this._grabArticle();if(!a)return null;if(this.log("Grabbed: "+a.innerHTML),this._postProcessContent(a),!n.excerpt){var i=a.getElementsByTagName("p");i.length&&(n.excerpt=i[0].textContent.trim())}var o=a.textContent;return{title:this._articleTitle,byline:n.byline||this._articleByline,dir:this._articleDir,lang:this._articleLang,content:this._serializer(a),textContent:o,length:o.length,excerpt:n.excerpt,siteName:n.siteName||this._articleSiteName,publishedTime:n.publishedTime}}},t.exports=i},{}],"8WEce":[function(e,t,n,a){var i={unlikelyCandidates:/-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i,okMaybeItsACandidate:/and|article|body|column|content|main|shadow/i};function o(e){return(!e.style||"none"!=e.style.display)&&!e.hasAttribute("hidden")&&(!e.hasAttribute("aria-hidden")||"true"!=e.getAttribute("aria-hidden")||e.className&&e.className.includes&&e.className.includes("fallback-image"))}t.exports=function(e,t={}){"function"==typeof t&&(t={visibilityChecker:t}),t=Object.assign({minScore:20,minContentLength:140,visibilityChecker:o},t);var n=e.querySelectorAll("p, pre, article"),a=e.querySelectorAll("div > br");if(a.length){var s=new Set(n);[].forEach.call(a,function(e){s.add(e.parentNode)}),n=Array.from(s)}var r=0;return[].some.call(n,function(e){if(!t.visibilityChecker(e))return!1;var n=e.className+" "+e.id;if(i.unlikelyCandidates.test(n)&&!i.okMaybeItsACandidate.test(n)||e.matches("li p"))return!1;var a=e.textContent.trim().length;return!(at.minScore})}},{}],"4rVRq":[function(e,t,n,a){t.exports=function(){"use strict";let{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:a,getOwnPropertyDescriptor:i}=Object,{freeze:o,seal:s,create:r}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(e){return e}),s||(s=function(e){return e}),l||(l=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});let d=A(Array.prototype.forEach),m=A(Array.prototype.lastIndexOf),p=A(Array.prototype.pop),u=A(Array.prototype.push),h=A(Array.prototype.splice),g=A(String.prototype.toLowerCase),f=A(String.prototype.toString),v=A(String.prototype.match),C=A(String.prototype.replace),S=A(String.prototype.indexOf),y=A(String.prototype.trim),b=A(Object.prototype.hasOwnProperty),x=A(RegExp.prototype.test),L=(W=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n1?n-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:g;t&&t(e,null);let o=a.length;for(;o--;){let t=a[o];if("string"==typeof t){let e=i(t);e!==t&&(n(a)||(a[o]=e),t=e)}e[t]=!0}return e}function I(t){let n=r(null);for(let[a,i]of e(t))b(t,a)&&(Array.isArray(i)?n[a]=function(e){for(let t=0;t/gm),$=s(/\$\{[\w\W]*/gm),B=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),G=s(/^aria-[\-\w]+$/),U=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=s(/^(?:\w+script|data):/i),Z=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Y=s(/^html$/i);var W,q=Object.freeze({__proto__:null,ARIA_ATTR:G,ATTR_WHITESPACE:Z,CUSTOM_ELEMENT:s(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:B,DOCTYPE_NAME:Y,ERB_EXPR:P,IS_ALLOWED_URI:U,IS_SCRIPT_OR_DATA:z,MUSTACHE_EXPR:O,TMPLIT_EXPR:$});let Q={element:1,text:3,progressingInstruction:7,comment:8,document:9},X=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null,a="data-tt-policy-suffix";t&&t.hasAttribute(a)&&(n=t.getAttribute(a));let i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},J=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};return function t(){let n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,i=e=>t(e);if(i.version="3.2.5",i.removed=[],!a||!a.document||a.document.nodeType!==Q.document||!a.Element)return i.isSupported=!1,i;let{document:s}=a,l=s,c=l.currentScript,{DocumentFragment:A,HTMLTemplateElement:O,Node:P,Element:$,NodeFilter:B,NamedNodeMap:G=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:z,DOMParser:Z,trustedTypes:W}=a,K=$.prototype,ee=k(K,"cloneNode"),et=k(K,"remove"),en=k(K,"nextSibling"),ea=k(K,"childNodes"),ei=k(K,"parentNode");if("function"==typeof O){let e=s.createElement("template");e.content&&e.content.ownerDocument&&(s=e.content.ownerDocument)}let eo="",{implementation:es,createNodeIterator:er,createDocumentFragment:el,getElementsByTagName:ec}=s,{importNode:ed}=l,em=J();i.isSupported="function"==typeof e&&"function"==typeof ei&&es&&void 0!==es.createHTMLDocument;let{MUSTACHE_EXPR:ep,ERB_EXPR:eu,TMPLIT_EXPR:eh,DATA_ATTR:eg,ARIA_ATTR:ef,IS_SCRIPT_OR_DATA:ev,ATTR_WHITESPACE:eC,CUSTOM_ELEMENT:eS}=q,{IS_ALLOWED_URI:ey}=q,eb=null,ex=w({},[...T,...M,...E,...D,...H]),eL=null,eA=w({},[...N,...R,...V,...F]),ew=Object.seal(r(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eI=null,ek=null,eT=!0,eM=!0,eE=!1,ej=!0,eD=!1,e_=!0,eH=!1,eN=!1,eR=!1,eV=!1,eF=!1,eO=!1,eP=!0,e$=!1,eB=!0,eG=!1,eU={},ez=null,eZ=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eY=null,eW=w({},["audio","video","img","source","image","track"]),eq=null,eQ=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eX="http://www.w3.org/1998/Math/MathML",eJ="http://www.w3.org/2000/svg",eK="http://www.w3.org/1999/xhtml",e1=eK,e2=!1,e0=null,e3=w({},[eX,eJ,eK],f),e4=w({},["mi","mo","mn","ms","mtext"]),e6=w({},["annotation-xml"]),e5=w({},["title","style","font","a","script"]),e7=null,e8=["application/xhtml+xml","text/html"],e9=null,te=null,tt=s.createElement("form"),tn=function(e){return e instanceof RegExp||e instanceof Function},ta=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!te||te!==e){if(e&&"object"==typeof e||(e={}),e=I(e),e9="application/xhtml+xml"===(e7=-1===e8.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?f:g,eb=b(e,"ALLOWED_TAGS")?w({},e.ALLOWED_TAGS,e9):ex,eL=b(e,"ALLOWED_ATTR")?w({},e.ALLOWED_ATTR,e9):eA,e0=b(e,"ALLOWED_NAMESPACES")?w({},e.ALLOWED_NAMESPACES,f):e3,eq=b(e,"ADD_URI_SAFE_ATTR")?w(I(eQ),e.ADD_URI_SAFE_ATTR,e9):eQ,eY=b(e,"ADD_DATA_URI_TAGS")?w(I(eW),e.ADD_DATA_URI_TAGS,e9):eW,ez=b(e,"FORBID_CONTENTS")?w({},e.FORBID_CONTENTS,e9):eZ,eI=b(e,"FORBID_TAGS")?w({},e.FORBID_TAGS,e9):{},ek=b(e,"FORBID_ATTR")?w({},e.FORBID_ATTR,e9):{},eU=!!b(e,"USE_PROFILES")&&e.USE_PROFILES,eT=!1!==e.ALLOW_ARIA_ATTR,eM=!1!==e.ALLOW_DATA_ATTR,eE=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ej=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eD=e.SAFE_FOR_TEMPLATES||!1,e_=!1!==e.SAFE_FOR_XML,eH=e.WHOLE_DOCUMENT||!1,eV=e.RETURN_DOM||!1,eF=e.RETURN_DOM_FRAGMENT||!1,eO=e.RETURN_TRUSTED_TYPE||!1,eR=e.FORCE_BODY||!1,eP=!1!==e.SANITIZE_DOM,e$=e.SANITIZE_NAMED_PROPS||!1,eB=!1!==e.KEEP_CONTENT,eG=e.IN_PLACE||!1,ey=e.ALLOWED_URI_REGEXP||U,e1=e.NAMESPACE||eK,e4=e.MATHML_TEXT_INTEGRATION_POINTS||e4,e6=e.HTML_INTEGRATION_POINTS||e6,ew=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&tn(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ew.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&tn(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ew.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ew.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eD&&(eM=!1),eF&&(eV=!0),eU&&(eb=w({},H),eL=[],!0===eU.html&&(w(eb,T),w(eL,N)),!0===eU.svg&&(w(eb,M),w(eL,R),w(eL,F)),!0===eU.svgFilters&&(w(eb,E),w(eL,R),w(eL,F)),!0===eU.mathMl&&(w(eb,D),w(eL,V),w(eL,F))),e.ADD_TAGS&&(eb===ex&&(eb=I(eb)),w(eb,e.ADD_TAGS,e9)),e.ADD_ATTR&&(eL===eA&&(eL=I(eL)),w(eL,e.ADD_ATTR,e9)),e.ADD_URI_SAFE_ATTR&&w(eq,e.ADD_URI_SAFE_ATTR,e9),e.FORBID_CONTENTS&&(ez===eZ&&(ez=I(ez)),w(ez,e.FORBID_CONTENTS,e9)),eB&&(eb["#text"]=!0),eH&&w(eb,["html","head","body"]),eb.table&&(w(eb,["tbody"]),delete eI.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');eo=(n=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===n&&(n=X(W,c)),null!==n&&"string"==typeof eo&&(eo=n.createHTML(""));o&&o(e),te=e}},ti=w({},[...M,...E,...j]),to=w({},[...D,..._]),ts=function(e){let t=ei(e);t&&t.tagName||(t={namespaceURI:e1,tagName:"template"});let n=g(e.tagName),a=g(t.tagName);return!!e0[e.namespaceURI]&&(e.namespaceURI===eJ?t.namespaceURI===eK?"svg"===n:t.namespaceURI===eX?"svg"===n&&("annotation-xml"===a||e4[a]):!!ti[n]:e.namespaceURI===eX?t.namespaceURI===eK?"math"===n:t.namespaceURI===eJ?"math"===n&&e6[a]:!!to[n]:e.namespaceURI===eK?(t.namespaceURI!==eJ||!!e6[a])&&(t.namespaceURI!==eX||!!e4[a])&&!to[n]&&(e5[n]||!ti[n]):"application/xhtml+xml"===e7&&!!e0[e.namespaceURI])},tr=function(e){u(i.removed,{element:e});try{ei(e).removeChild(e)}catch(t){et(e)}},tl=function(e,t){try{u(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){u(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(eV||eF)try{tr(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},tc=function(e){let t=null,a=null;if(eR)e=""+e;else{let t=v(e,/^[\r\n\t ]+/);a=t&&t[0]}"application/xhtml+xml"===e7&&e1===eK&&(e=''+e+"");let i=n?n.createHTML(e):e;if(e1===eK)try{t=new Z().parseFromString(i,e7)}catch(e){}if(!t||!t.documentElement){t=es.createDocument(e1,"template",null);try{t.documentElement.innerHTML=e2?eo:i}catch(e){}}let o=t.body||t.documentElement;return(e&&a&&o.insertBefore(s.createTextNode(a),o.childNodes[0]||null),e1===eK)?ec.call(t,eH?"html":"body")[0]:eH?t.documentElement:o},td=function(e){return er.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},tm=function(e){return e instanceof z&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof G)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},tp=function(e){return"function"==typeof P&&e instanceof P};function tu(e,t,n){d(e,e=>{e.call(i,t,n,te)})}let th=function(e){let t=null;if(tu(em.beforeSanitizeElements,e,null),tm(e))return tr(e),!0;let n=e9(e.nodeName);if(tu(em.uponSanitizeElement,e,{tagName:n,allowedTags:eb}),e.hasChildNodes()&&!tp(e.firstElementChild)&&x(/<[/\w!]/g,e.innerHTML)&&x(/<[/\w!]/g,e.textContent)||e.nodeType===Q.progressingInstruction||e_&&e.nodeType===Q.comment&&x(/<[/\w]/g,e.data))return tr(e),!0;if(!eb[n]||eI[n]){if(!eI[n]&&tf(n)&&(ew.tagNameCheck instanceof RegExp&&x(ew.tagNameCheck,n)||ew.tagNameCheck instanceof Function&&ew.tagNameCheck(n)))return!1;if(eB&&!ez[n]){let t=ei(e)||e.parentNode,n=ea(e)||e.childNodes;if(n&&t){let a=n.length;for(let i=a-1;i>=0;--i){let a=ee(n[i],!0);a.__removalCount=(e.__removalCount||0)+1,t.insertBefore(a,en(e))}}}return tr(e),!0}return e instanceof $&&!ts(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&x(/<\/no(script|embed|frames)/i,e.innerHTML)?(tr(e),!0):(eD&&e.nodeType===Q.text&&(t=e.textContent,d([ep,eu,eh],e=>{t=C(t,e," ")}),e.textContent!==t&&(u(i.removed,{element:e.cloneNode()}),e.textContent=t)),tu(em.afterSanitizeElements,e,null),!1)},tg=function(e,t,n){if(eP&&("id"===t||"name"===t)&&(n in s||n in tt))return!1;if(eM&&!ek[t]&&x(eg,t));else if(eT&&x(ef,t));else if(!eL[t]||ek[t]){if(!(tf(e)&&(ew.tagNameCheck instanceof RegExp&&x(ew.tagNameCheck,e)||ew.tagNameCheck instanceof Function&&ew.tagNameCheck(e))&&(ew.attributeNameCheck instanceof RegExp&&x(ew.attributeNameCheck,t)||ew.attributeNameCheck instanceof Function&&ew.attributeNameCheck(t))||"is"===t&&ew.allowCustomizedBuiltInElements&&(ew.tagNameCheck instanceof RegExp&&x(ew.tagNameCheck,n)||ew.tagNameCheck instanceof Function&&ew.tagNameCheck(n))))return!1}else if(eq[t]);else if(x(ey,C(n,eC,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===S(n,"data:")&&eY[e]);else if(eE&&!x(ev,C(n,eC,"")));else if(n)return!1;return!0},tf=function(e){return"annotation-xml"!==e&&v(e,eS)},tv=function(e){tu(em.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||tm(e))return;let a={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eL,forceKeepAttr:void 0},o=t.length;for(;o--;){let{name:s,namespaceURI:r,value:l}=t[o],c=e9(s),m="value"===s?l:y(l);if(a.attrName=c,a.attrValue=m,a.keepAttr=!0,a.forceKeepAttr=void 0,tu(em.uponSanitizeAttribute,e,a),m=a.attrValue,e$&&("id"===c||"name"===c)&&(tl(s,e),m="user-content-"+m),e_&&x(/((--!?|])>)|<\/(style|title)/i,m)){tl(s,e);continue}if(a.forceKeepAttr||(tl(s,e),!a.keepAttr))continue;if(!ej&&x(/\/>/i,m)){tl(s,e);continue}eD&&d([ep,eu,eh],e=>{m=C(m,e," ")});let u=e9(e.nodeName);if(tg(u,c,m)){if(n&&"object"==typeof W&&"function"==typeof W.getAttributeType)if(r);else switch(W.getAttributeType(u,c)){case"TrustedHTML":m=n.createHTML(m);break;case"TrustedScriptURL":m=n.createScriptURL(m)}try{r?e.setAttributeNS(r,s,m):e.setAttribute(s,m),tm(e)?tr(e):p(i.removed)}catch(e){}}}tu(em.afterSanitizeAttributes,e,null)},tC=function e(t){let n=null,a=td(t);for(tu(em.beforeSanitizeShadowDOM,t,null);n=a.nextNode();)tu(em.uponSanitizeShadowNode,n,null),th(n),tv(n),n.content instanceof A&&e(n.content);tu(em.afterSanitizeShadowDOM,t,null)};return i.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null,o=null,s=null,r=null;if((e2=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!tp(e))if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw L("dirty is not a string, aborting")}else throw L("toString is not a function");if(!i.isSupported)return e;if(eN||ta(t),i.removed=[],"string"==typeof e&&(eG=!1),eG){if(e.nodeName){let t=e9(e.nodeName);if(!eb[t]||eI[t])throw L("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof P)(o=(a=tc("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType===Q.element&&"BODY"===o.nodeName||"HTML"===o.nodeName?a=o:a.appendChild(o);else{if(!eV&&!eD&&!eH&&-1===e.indexOf("<"))return n&&eO?n.createHTML(e):e;if(!(a=tc(e)))return eV?null:eO?eo:""}a&&eR&&tr(a.firstChild);let c=td(eG?e:a);for(;s=c.nextNode();)th(s),tv(s),s.content instanceof A&&tC(s.content);if(eG)return e;if(eV){if(eF)for(r=el.call(a.ownerDocument);a.firstChild;)r.appendChild(a.firstChild);else r=a;return(eL.shadowroot||eL.shadowrootmode)&&(r=ed.call(l,r,!0)),r}let m=eH?a.outerHTML:a.innerHTML;return eH&&eb["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&x(Y,a.ownerDocument.doctype.name)&&(m="\n"+m),eD&&d([ep,eu,eh],e=>{m=C(m,e," ")}),n&&eO?n.createHTML(m):m},i.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ta(e),eN=!0},i.clearConfig=function(){te=null,eN=!1},i.isValidAttribute=function(e,t,n){return te||ta({}),tg(e9(e),e9(t),n)},i.addHook=function(e,t){"function"==typeof t&&u(em[e],t)},i.removeHook=function(e,t){if(void 0!==t){let n=m(em[e],t);return -1===n?void 0:h(em[e],n,1)[0]}return p(em[e])},i.removeHooks=function(e){em[e]=[]},i.removeAllHooks=function(){em=J()},i}()}()},{}],"5JVdz":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("styled-components"),s=i.interopDefault(o),r=e("preact"),l=e("reactn"),c=e("../../constants/config");let d=e=>e,m,p,u,h={background:"#FFFFFF",text:"#333333",linkText:"#0f62fe",linkHover:"#0043ce",linkVisited:"#8a3ffc"},g={background:"#212121",text:"#FFFFFF",linkText:"#78a9ff",linkHover:"#a6c8ff",linkVisited:"#be95ff"},f=s.default.div(m||(m=d` &&& { all: initial; display: flex; justify-content: center; position: absolute; top: 0; left: 0; padding: ${0}; background-color: ${0}; z-index: 1000; hr { color: rgb(251, 251, 254); margin: 30px 0px; } * { font-family: Lato; letter-spacing: 0em; text-align: left; background-color: ${0}; color: ${0}; } } `),e=>e.isMobile?"40px 16px":"40px",e=>e.isDarkMode?g.background:h.background,e=>e.isDarkMode?g.background:h.background,e=>e.isDarkMode?g.text:h.text),v=s.default.div(p||(p=d` &&& { all: initial; width: ${0}; align-self: stretch; } `),e=>e.isMobile?"90%":"45%"),C=s.default.div(u||(u=d` &&& { all: initial; h1 { font-size: 48px; font-weight: 900; line-height: 130%; margin: 24px 0px; } h2 { font-size: 36px; font-weight: 900; line-height: 130%; margin: 16px 0px; } h3 { font-size: 32px; font-weight: 700; line-height: 150%; margin: 8px 0px; } h4 { font-size: 24px; font-weight: 700; line-height: 150%; margin: 8px 0px; } h5 { font-size: 20px; font-weight: 700; line-height: 150%; margin: 8px 0px; } p { font-size: 20px; font-weight: 400; line-height: 150%; margin: 8px 0px; } a { text-decoration: underline; color: ${0}; } a:hover { color: ${0}; } a:visited { color: ${0}; } img { max-width: ${0}; max-height: ${0}; width: ${0}; height: ${0}; } } `),e=>e.isDarkMode?g.linkText:h.linkText,e=>e.isDarkMode?g.linkHover:h.linkHover,e=>e.isDarkMode?g.linkVisited:h.linkVisited,e=>e.isMobile?"70%":"50%",e=>e.isMobile?"70%":"50%",e=>e.isMobile?"100%":"70%",e=>e.isMobile?"100%":"70%");n.default=({isMobile:e,isDarkMode:t})=>{let[{readerModeArticle:n}]=(0,l.useGlobal)();return(0,r.h)(f,{id:c.readerModeViewId,isMobile:e,isDarkMode:t},n&&(0,r.h)(v,{isMobile:e},(0,r.h)(r.Fragment,null,(0,r.h)("h1",null,n.title),(0,r.h)("hr",null)),(0,r.h)(C,{isMobile:e,isDarkMode:t},(0,r.h)("div",{dangerouslySetInnerHTML:{__html:n.content}}))))}},{"styled-components":"cCe5U",preact:"gdb49",reactn:"iVSVY","../../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"1JTy0":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"ReaderModeIcon",()=>s),i.export(n,"ReaderModeLightIcon",()=>r),i.export(n,"ReaderModeDarkIcon",()=>l);var o=e("preact");let s=()=>(0,o.h)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M21.3888 19.3054H31.1111V21.3888H21.3888V19.3054ZM21.3888 15.8332H31.1111V17.9166H21.3888V15.8332ZM21.3888 22.7777H31.1111V24.861H21.3888V22.7777ZM32.4999 8.19434H7.49995C5.97217 8.19434 4.72217 9.44434 4.72217 10.9721V29.0277C4.72217 30.5554 5.97217 31.8054 7.49995 31.8054H32.4999C34.0277 31.8054 35.2777 30.5554 35.2777 29.0277V10.9721C35.2777 9.44434 34.0277 8.19434 32.4999 8.19434ZM32.4999 29.0277H19.9999V10.9721H32.4999V29.0277Z",fill:"white"})),r=()=>(0,o.h)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M31.1112 19.3054H21.3889V21.3888H31.1112V19.3054Z",fill:"white"}),(0,o.h)("path",{d:"M31.1112 15.8332H21.3889V17.9166H31.1112V15.8332Z",fill:"white"}),(0,o.h)("path",{d:"M31.1112 22.7777H21.3889V24.861H31.1112V22.7777Z",fill:"white"}),(0,o.h)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.50006 8.19434H32.5001C34.0278 8.19434 35.2778 9.44434 35.2778 10.9721V29.0277C35.2778 30.5555 34.0278 31.8055 32.5001 31.8055H15.6331C16.6672 30.4173 17.2792 28.6961 17.2792 26.832C17.2792 22.2297 13.5483 18.4987 8.94592 18.4987C7.40448 18.4987 5.96079 18.9172 4.72228 19.6468V10.9721C4.72228 9.44434 5.97228 8.19434 7.50006 8.19434ZM20.0001 29.0277H32.5001V10.9721H20.0001V29.0277Z",fill:"white"}),(0,o.h)("path",{d:"M8.94499 29.7537C8.12528 29.7537 7.43332 29.4719 6.8691 28.9081C6.30535 28.3439 6.02348 27.6519 6.02348 26.8322C6.02348 26.0125 6.30535 25.3206 6.8691 24.7564C7.43332 24.1926 8.12528 23.9107 8.94499 23.9107C9.76469 23.9107 10.4567 24.1926 11.0209 24.7564C11.5846 25.3206 11.8665 26.0125 11.8665 26.8322C11.8665 27.6519 11.5846 28.3439 11.0209 28.9081C10.4567 29.4719 9.76469 29.7537 8.94499 29.7537ZM3.18806 27.4397C3.02421 27.4397 2.88211 27.3796 2.76177 27.2592C2.64097 27.1384 2.58057 26.9961 2.58057 26.8322C2.58057 26.6684 2.64097 26.5261 2.76177 26.4053C2.88211 26.2849 3.02421 26.2248 3.18806 26.2248H4.34541C4.50926 26.2248 4.65159 26.2849 4.77239 26.4053C4.89273 26.5261 4.9529 26.6684 4.9529 26.8322C4.9529 26.9961 4.89273 27.1384 4.77239 27.2592C4.65159 27.3796 4.50926 27.4397 4.34541 27.4397H3.18806ZM13.5446 27.4397C13.3807 27.4397 13.2384 27.3796 13.1176 27.2592C12.9972 27.1384 12.9371 26.9961 12.9371 26.8322C12.9371 26.6684 12.9972 26.5261 13.1176 26.4053C13.2384 26.2849 13.3807 26.2248 13.5446 26.2248H14.7019C14.8658 26.2248 15.0079 26.2849 15.1282 26.4053C15.249 26.5261 15.3094 26.6684 15.3094 26.8322C15.3094 26.9961 15.249 27.1384 15.1282 27.2592C15.0079 27.3796 14.8658 27.4397 14.7019 27.4397H13.5446ZM8.94499 22.8402C8.78114 22.8402 8.63881 22.78 8.51801 22.6596C8.39767 22.5388 8.33749 22.3965 8.33749 22.2327V21.0753C8.33749 20.9115 8.39767 20.7694 8.51801 20.649C8.63881 20.5282 8.78114 20.4678 8.94499 20.4678C9.10883 20.4678 9.25116 20.5282 9.37196 20.649C9.49231 20.7694 9.55248 20.9115 9.55248 21.0753V22.2327C9.55248 22.3965 9.49231 22.5388 9.37196 22.6596C9.25116 22.78 9.10883 22.8402 8.94499 22.8402ZM8.94499 33.1967C8.78114 33.1967 8.63881 33.1363 8.51801 33.0155C8.39767 32.8951 8.33749 32.753 8.33749 32.5892V31.4318C8.33749 31.268 8.39767 31.1256 8.51801 31.0048C8.63881 30.8845 8.78114 30.8243 8.94499 30.8243C9.10883 30.8243 9.25116 30.8845 9.37196 31.0048C9.49231 31.1256 9.55248 31.268 9.55248 31.4318V32.5892C9.55248 32.753 9.49231 32.8951 9.37196 33.0155C9.25116 33.1363 9.10883 33.1967 8.94499 33.1967ZM5.28546 23.9975L4.66339 23.39C4.54768 23.2743 4.48982 23.132 4.48982 22.963C4.48982 22.7941 4.54768 22.6518 4.66339 22.5361C4.7791 22.4111 4.92143 22.3509 5.09037 22.3556C5.25885 22.3602 5.40094 22.4204 5.51666 22.5361L6.12484 23.1581C6.24055 23.2738 6.29586 23.4113 6.29077 23.5705C6.28614 23.7298 6.23083 23.8721 6.12484 23.9975C6.00913 24.1229 5.86912 24.1831 5.7048 24.178C5.54096 24.1734 5.40117 24.1132 5.28546 23.9975ZM12.3872 31.1284L11.7797 30.5063C11.664 30.3906 11.6061 30.2509 11.6061 30.087C11.6061 29.9227 11.664 29.7827 11.7797 29.667C11.8954 29.5513 12.0354 29.4934 12.1997 29.4934C12.3636 29.4934 12.5034 29.5513 12.6191 29.667L13.2412 30.2745C13.3569 30.3902 13.4147 30.5325 13.4147 30.7014C13.4147 30.8704 13.3569 31.0127 13.2412 31.1284C13.1254 31.2534 12.9831 31.3136 12.8142 31.3089C12.6452 31.3043 12.5029 31.2441 12.3872 31.1284ZM11.7797 23.9975C11.6543 23.8818 11.5941 23.742 11.5992 23.5782C11.6038 23.4139 11.664 23.2738 11.7797 23.1581L12.3872 22.5361C12.5029 22.4204 12.6452 22.3625 12.8142 22.3625C12.9831 22.3625 13.1254 22.4204 13.2412 22.5361C13.3661 22.6518 13.4263 22.7941 13.4217 22.963C13.417 23.132 13.3569 23.2743 13.2412 23.39L12.6191 23.9975C12.5034 24.1132 12.3659 24.1685 12.2067 24.1634C12.0475 24.1588 11.9051 24.1035 11.7797 23.9975ZM4.64881 31.1138C4.52384 30.9981 4.46367 30.8558 4.4683 30.6869C4.47293 30.5184 4.5331 30.3763 4.64881 30.2606L5.27088 29.6524C5.38659 29.5367 5.52638 29.4788 5.69022 29.4788C5.85454 29.4788 5.99455 29.5367 6.11026 29.6524C6.22597 29.7681 6.28383 29.9081 6.28383 30.0724C6.28383 30.2363 6.22597 30.3761 6.11026 30.4918L5.50277 31.1138C5.38706 31.2295 5.24473 31.2874 5.07579 31.2874C4.90685 31.2874 4.76452 31.2295 4.64881 31.1138Z",fill:"white"})),l=()=>(0,o.h)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M31.1111 19.3054H21.3888V21.3888H31.1111V19.3054Z",fill:"white"}),(0,o.h)("path",{d:"M31.1111 15.8332H21.3888V17.9166H31.1111V15.8332Z",fill:"white"}),(0,o.h)("path",{d:"M31.1111 22.7777H21.3888V24.861H31.1111V22.7777Z",fill:"white"}),(0,o.h)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.49995 8.19434H32.4999C34.0277 8.19434 35.2777 9.44434 35.2777 10.9721V29.0277C35.2777 30.5554 34.0277 31.8054 32.4999 31.8054H15.633C16.6671 30.4173 17.2791 28.6961 17.2791 26.832C17.2791 22.2297 13.5482 18.4987 8.9458 18.4987C7.40436 18.4987 5.96068 18.9172 4.72217 19.6468V10.9721C4.72217 9.44434 5.97217 8.19434 7.49995 8.19434ZM19.9999 29.0277H32.4999V10.9721H19.9999V29.0277Z",fill:"white"}),(0,o.h)("path",{d:"M14.6151 26.8323C14.6151 27.6228 14.4656 28.3701 14.1666 29.0741C13.8676 29.7781 13.4626 30.3927 12.9517 30.9181C12.4407 31.4439 11.838 31.8586 11.1438 32.1622C10.4495 32.4658 9.70685 32.6177 8.91583 32.6177C8.58814 32.6177 8.26761 32.5913 7.95426 32.5385C7.64091 32.4853 7.33474 32.4057 7.03574 32.2997C6.90059 32.2515 6.79205 32.1719 6.71012 32.0609C6.6282 31.9502 6.58724 31.8273 6.58724 31.6922C6.58724 31.6149 6.59927 31.5427 6.62334 31.4756C6.64741 31.408 6.68351 31.3501 6.73165 31.302C7.31021 30.7235 7.80453 30.0845 8.21462 29.3851C8.62424 28.6862 8.82905 27.8353 8.82905 26.8323C8.85821 25.8293 8.67029 24.9783 8.2653 24.2794C7.86031 23.5801 7.36853 22.9411 6.78996 22.3625C6.74183 22.3144 6.70573 22.2568 6.68166 22.1897C6.65759 22.1221 6.64556 22.0496 6.64556 21.9723C6.64556 21.8372 6.68652 21.7143 6.76844 21.6037C6.85037 21.4926 6.95867 21.413 7.09336 21.3649C7.39236 21.2589 7.69854 21.1793 8.01189 21.126C8.32524 21.0733 8.64599 21.0469 8.97415 21.0469C9.7647 21.0469 10.5071 21.1987 11.2014 21.5023C11.8957 21.806 12.4983 22.2207 13.0093 22.7465C13.5203 23.2718 13.9204 23.8839 14.2097 24.5828C14.499 25.2822 14.6341 26.032 14.6151 26.8323Z",fill:"white"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"3pzqt":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"SetReaderModeCommand",()=>m);var o=e("reactn"),s=e("../../services/domUtils"),r=e("../../services/articleService"),l=e("../../services/domTypographyService"),c=e("../../services/appActivator"),d=e("../../constants/config");class m{constructor(e){this.newReaderModeState=e,this.previousReaderModeState=null,this.execute=async()=>{let e=r.domToArticle(document);this.newReaderModeState>0?s.toggleVisibility(!1):s.toggleVisibility(!0),await (0,o.setGlobal)({readerModeState:this.newReaderModeState,readerModeArticle:e}),r.setReaderModeValue(this.newReaderModeState.toString());let{fontSizeScaleState:t,lineHeightScaleState:n,letterSpacingScaleState:a}=(0,o.getGlobal)(),i="none"===t?0:t,m="none"===n?0:n,p="none"===a?0:a;(0,l.clearHtStyleCache)(d.readerModeViewId),i>0&&l.updateFontSize(i),m>0&&l.updateLineHeight(m),p>0&&l.updateLetterSpacing(p),c.appActivator.handleAddon()},this.undo=async()=>{if(null!==this.previousReaderModeState){let e=new m(this.previousReaderModeState);await e.execute()}}}}},{reactn:"iVSVY","../../services/domUtils":"1UlS3","../../services/articleService":"3bbQo","../../services/domTypographyService":"6ZP8g","../../services/appActivator":"eOZgV","../../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],eaDl7:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"IncreaseReaderModeLevelCommand",()=>l);var o=e("reactn"),s=e("./SetReaderModeCommand"),r=e("../../constants/config");class l{constructor(){this.previousReaderModeState=null,this.execute=async()=>{let{readerModeState:e}=(0,o.getGlobal)(),t=(("number"==typeof e?r.readerModeList.indexOf(r.readerModeList[e]):r.readerModeList.indexOf(e))+1)%r.readerModeList.length,n=r.readerModeList[t],a=new(0,s.SetReaderModeCommand)("none"===n?0:r.readerModeList.indexOf(n));await a.execute()},this.undo=async()=>{if(null!==this.previousReaderModeState){let e=new(0,s.SetReaderModeCommand)(this.previousReaderModeState);await e.execute()}}}}},{reactn:"iVSVY","./SetReaderModeCommand":"3pzqt","../../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"22yPQ":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact/compat"),s=e("preact"),r=e("../components/ResourceButton"),l=i.interopDefault(r),c=e("../components/Icons/ReadingMask"),d=e("../views/ReadingMask"),m=i.interopDefault(d),p=e("reactn"),u=e("../hooks/useDebounce"),h=e("../constants/config"),g=e("../services/analytics"),f=e("../hooks/useCommandStack"),v=e("../commands/readingMaskCommands/IncreaseReadingMaskCommand"),C=e("../commands/readingMaskCommands/SetReadingMaskCommand"),S=e("../services/readingMaskService"),y=e("../stores/useTranslation");n.default=()=>{let[{isMobile:e,element:t,readingMaskState:n}]=(0,p.useGlobal)(),a=(0,u.useDebounce)(n,h.analyticsDebounceTime),{translate:i,language:r}=(0,y.useTranslationStore)(),{execute:d}=(0,f.useCommandStack)();(0,o.useEffect)(()=>{let e=(0,S.getReadingMaskActivatedValue)();0!==e&&d(new(0,C.SetReadingMaskCommand)(e))},[n]),(0,o.useEffect)(()=>{"none"!==a&&(0,g.handleAnalyticsReadingMask)(a)},[a]);let b=h.readingMaskList.length-1,x=(0,o.useMemo)(()=>"none"===n?0:n,[n]),L=(0,o.useMemo)(()=>({title:i("readingMask"),ariaLabelInactive:i("readingMaskAriaLabelInactive"),ariaLabelActive:i("readingMaskAriaLabelActive",{index:x})}),[r]);return(0,s.h)(o.Fragment,null,(0,s.h)(l.default,{onClick:()=>{d(new(0,v.IncreaseReadingMaskCommand))},isMobile:e,icon:(0,s.h)(c.ReadingMaskIcon,null),title:L.title,ariaLabelInactive:L.ariaLabelInactive,ariaLabelActive:L.ariaLabelActive,dotsLength:b,dotsIndex:x}),x>0&&(0,o.createPortal)((0,s.h)(m.default,null),t))}},{"preact/compat":"8ZO42",preact:"gdb49","../components/ResourceButton":"bnNUx","../components/Icons/ReadingMask":"cdtu3","../views/ReadingMask":"e05dj",reactn:"iVSVY","../hooks/useDebounce":"c67Vm","../constants/config":"kqbjQ","../services/analytics":"9b6Tu","../hooks/useCommandStack":"2LAi9","../commands/readingMaskCommands/IncreaseReadingMaskCommand":"dVvs6","../commands/readingMaskCommands/SetReadingMaskCommand":"1i0uf","../services/readingMaskService":"9r36C","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],cdtu3:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"ReadingMaskIcon",()=>s),i.export(n,"UpDownIcon",()=>r);var o=e("preact");let s=()=>(0,o.h)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M4.23942 8.21339C4.23942 7.18783 5.07081 6.35645 6.09637 6.35645H25.9038C26.9294 6.35645 27.7608 7.18783 27.7608 8.21339V11.0484H4.23942V8.21339Z",fill:"#F06F06"}),(0,o.h)("path",{d:"M4.23942 20.9521H27.7608V23.7892C27.7608 24.8147 26.9294 25.6461 25.9038 25.6461H6.09637C5.07081 25.6461 4.23942 24.8147 4.23942 23.7892V20.9521Z",fill:"#F06F06"}),(0,o.h)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.48584 14.1433C2.48584 13.1177 3.31722 12.2863 4.34279 12.2863H27.6578C28.6834 12.2863 29.5148 13.1177 29.5148 14.1433V17.8572C29.5148 18.8828 28.6834 19.7141 27.6578 19.7141H4.34279C3.31722 19.7141 2.48584 18.8828 2.48584 17.8572V14.1433ZM4.34279 14.1433H27.6578V17.8572H4.34279V14.1433Z",fill:"#F06F06"})),r=()=>(0,o.h)("svg",{width:"11",height:"22",viewBox:"0 0 11 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M5.72271 3.28789L8.79771 6.36289C9.2852 6.85039 10.0727 6.85039 10.5602 6.36289C11.0477 5.87539 11.0477 5.08789 10.5602 4.60039L6.5977 0.625391C6.11021 0.137891 5.32271 0.137891 4.83521 0.625391L0.872705 4.60039C0.385205 5.08789 0.385205 5.87539 0.872705 6.36289C1.36021 6.85039 2.1477 6.85039 2.6352 6.36289L5.72271 3.28789ZM5.72271 18.7129L2.64771 15.6379C2.16021 15.1504 1.37271 15.1504 0.885205 15.6379C0.397705 16.1254 0.397705 16.9129 0.885205 17.4004L4.84771 21.3754C5.33521 21.8629 6.12271 21.8629 6.61021 21.3754L10.5727 17.4129C11.0602 16.9254 11.0602 16.1379 10.5727 15.6504C10.0852 15.1629 9.29771 15.1629 8.81021 15.6504L5.72271 18.7129Z",fill:"white"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],e05dj:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("preact/hooks"),r=e("styled-components"),l=i.interopDefault(r),c=e("reactn"),d=e("../../yotta/assets/tokens/colors"),m=e("../../constants/config"),p=e("../../services/domEventsService"),u=e("../../components/Icons/ReadingMask");let h=e=>e,g,f,v,C={small:112,medium:172,large:232},S=l.default.div(g||(g=h` &&& { all: initial; display: flex; justify-content: center; height: 100%; width: 100%; } `)),y=l.default.div(f||(f=h` &&& { top: 0; left: 0; position: fixed; z-index: 1003; width: 100%; box-shadow: 0px 0px 0px 200vh rgba(0, 0, 0, 0.5); border-top: 5px solid ${0}; border-bottom: 5px solid ${0}; pointer-events: none; } `),d.brand.color.main,d.brand.color.main),b=l.default.button(v||(v=h` pointer-events: all; height: 48px; width: 48px; background: ${0}; border: 2px white solid; border-radius: 8px 8px 0 0; border-bottom: none; position: absolute; right: 50px; `),d.brand.color.main);n.default=()=>{let{isMobile:e,readingMaskState:t}=(0,c.getGlobal)(),n=(0,s.useRef)(null),[a,i]=(0,s.useState)(0),r="none"!==t?m.readingMaskList[t]:"small",l=(0,s.useMemo)(()=>C[r],[t]),d=t=>{i(t-(e?l:l/2))},h=e=>{d((0,p.getMousePositionY)(e))},g=e=>{d((0,p.getTouchPositionY)(e))};return(0,s.useEffect)(()=>{let t=e?n.current:document,a=e?"touchmove":"mousemove",i=e?g:h,o=()=>{null==t||t.removeEventListener(a,i)};return o(),null==t||t.addEventListener(a,i),()=>{o()}},[e,t]),(0,o.h)(S,{className:"ht-exception"},(0,o.h)(y,{style:{height:l,top:`clamp(0px, ${a}px, calc(100vh - ${l}px))`}},e&&(0,o.h)(b,{ref:n,style:{top:`calc(${l}px - 58px)`}},(0,o.h)(u.UpDownIcon,null))))}},{preact:"gdb49","preact/hooks":"9Dac5","styled-components":"cCe5U",reactn:"iVSVY","../../yotta/assets/tokens/colors":"8UG5g","../../constants/config":"kqbjQ","../../services/domEventsService":"5sHlJ","../../components/Icons/ReadingMask":"cdtu3","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"5sHlJ":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"getMousePositionY",()=>o),i.export(n,"getMousePositionX",()=>s),i.export(n,"getTouchPositionY",()=>r),i.export(n,"getTouchPositionX",()=>l);let o=e=>(e.preventDefault(),e.clientY),s=e=>(e.preventDefault(),e.clientX),r=e=>(e.preventDefault(),e.changedTouches[0].clientY),l=e=>(e.preventDefault(),e.changedTouches[0].clientX)},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],dVvs6:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"IncreaseReadingMaskCommand",()=>l);var o=e("reactn"),s=e("./SetReadingMaskCommand"),r=e("../../constants/config");class l{constructor(){this.execute=async()=>{let{readingMaskState:e}=(0,o.getGlobal)(),t=(("number"==typeof e?e:0)+1)%r.readingMaskList.length,n=new(0,s.SetReadingMaskCommand)(t);await n.execute()},this.undo=async()=>{let e=new(0,s.SetReadingMaskCommand)(0);return await e.execute()}}}},{reactn:"iVSVY","./SetReadingMaskCommand":"1i0uf","../../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"93ang":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("styled-components"),r=i.interopDefault(s),l=e("../Icons/HTLogo"),c=i.interopDefault(l);let d=e=>e,m,p,u,h=r.default.div(m||(m=d` display: flex; height: 56px; width: calc(100% - 10px); margin: 5px; padding: 4px 0px 4px 16px; justify-content: space-between; align-items: center; border-radius: ${0}; background-color: ${0}; box-shadow: ${0}; z-index: 2; `),({theme:e})=>e.borderRadius.md,({theme:e})=>e.colors.surface.bright.background,({theme:e})=>e.shadow[3]),g=r.default.div(p||(p=d` width: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; svg { width: 24px; height: 24px; } `)),f=r.default.div(u||(u=d` width: auto; height: 24px; display: flex; pointer-events: ${0}; cursor: ${0}; & > svg { width: auto; height: 24px; } `),({isClickable:e})=>e?"auto":"none",({isClickable:e})=>e?"pointer":"default");n.default=e=>{let{actions:t,isLogoClickable:n,onClickLogo:a}=e;return(0,o.h)(h,Object.assign({},e),(0,o.h)(f,{isClickable:n,onClick:a},(0,o.h)(c.default,null)),t&&(0,o.h)(g,null,t))}},{preact:"gdb49","styled-components":"cCe5U","../Icons/HTLogo":"dq8Z9","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],dybSf:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("../components/ResourceButton"),r=i.interopDefault(s),l=e("reactn"),c=e("../hooks/useCommandStack"),d=e("../commands/letterSpacingCommands/IncreaseLetterSpacingCommand"),m=e("preact/hooks"),p=e("../constants/config"),u=e("../commands/letterSpacingCommands/SetLetterSpacingCommand"),h=e("../hooks/useDebounce"),g=e("../services/analytics"),f=e("../components/Icons/LetterSpacing"),v=i.interopDefault(f),C=e("../services/domTypographyService"),S=e("../stores/useTranslation");n.default=()=>{let[{isMobile:e,letterSpacingScaleState:t}]=(0,l.useGlobal)(),{execute:n}=(0,c.useCommandStack)(),{translate:a,language:i}=(0,S.useTranslationStore)(),s=(0,h.useDebounce)(t,p.analyticsDebounceTime),f=(0,m.useMemo)(()=>"none"===t?0:t,[t]);(0,m.useEffect)(()=>{if("none"===s)return;let e=100*p.letterSpacingScaleList[s];(0,g.sendEvent)({eventCategory:"Complementos",eventAction:0===s?"Desativar":"Ativar",eventLabel:"Espaço entre letras",eventValue:e})},[s]),(0,m.useEffect)(()=>{let e=(0,C.getLetterSpacingScaleValue)();0!==e&&n(new(0,u.SetLetterSpacingCommand)(e))},[]);let y=(0,m.useMemo)(()=>({title:a("letterSpacing"),ariaLabelInactive:a("letterSpacingAriaLabelInactive"),ariaLabelActive:a("letterSpacingAriaLabelActive",{index:f})}),[i]);return(0,o.h)(r.default,{onClick:()=>{n(new(0,d.IncreaseLetterSpacingCommand))},isMobile:e,icon:(0,o.h)(v.default,null),title:y.title,ariaLabelInactive:y.ariaLabelInactive,ariaLabelActive:y.ariaLabelActive,dotsLength:p.letterSpacingScaleList.length-1,dotsIndex:f})}},{preact:"gdb49","../components/ResourceButton":"bnNUx",reactn:"iVSVY","../hooks/useCommandStack":"2LAi9","../commands/letterSpacingCommands/IncreaseLetterSpacingCommand":"4u1Hh","preact/hooks":"9Dac5","../constants/config":"kqbjQ","../commands/letterSpacingCommands/SetLetterSpacingCommand":"lz19e","../hooks/useDebounce":"c67Vm","../services/analytics":"9b6Tu","../components/Icons/LetterSpacing":"61SVS","../services/domTypographyService":"6ZP8g","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"4u1Hh":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"IncreaseLetterSpacingCommand",()=>l);var o=e("../../constants/config"),s=e("reactn"),r=e("./SetLetterSpacingCommand");class l{constructor(){this.previousLevel=0,this.execute=async()=>{let{letterSpacingScaleState:e}=(0,s.getGlobal)(),t="none"===e?0:e;this.previousLevel=t;let n=t>=o.letterSpacingScaleList.length-1?0:t+1,a=new(0,r.SetLetterSpacingCommand)(n);await a.execute()},this.undo=async()=>{let e=new(0,r.SetLetterSpacingCommand)(this.previousLevel);await e.execute()}}}},{"../../constants/config":"kqbjQ",reactn:"iVSVY","./SetLetterSpacingCommand":"lz19e","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],lz19e:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"SetLetterSpacingCommand",()=>l);var o=e("reactn"),s=e("../../services/domTypographyService"),r=e("../../services/appActivator");class l{constructor(e){this.level=e,this.previousLevel="none",this.execute=async()=>{let{letterSpacingScaleState:e}=(0,o.getGlobal)();this.previousLevel=e,0===this.level?s.restoreLetterSpacing():s.updateLetterSpacing(this.level),s.setLetterSpacingScaleValue(this.level.toString()),await (0,o.setGlobal)({letterSpacingScaleState:this.level}),r.appActivator.handleAddon()},this.undo=async()=>{let e=new l("none"===this.previousLevel?0:this.previousLevel);await e.execute()}}}},{reactn:"iVSVY","../../services/domTypographyService":"6ZP8g","../../services/appActivator":"eOZgV","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"61SVS":[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M6.15313 15.7415C6.46312 15.4215 7.00313 15.6415 7.00313 16.0915V17.3815H17.0031V16.0915C17.0031 15.6415 17.5431 15.4215 17.8531 15.7315L20.1431 18.0215C20.3431 18.2215 20.3431 18.5315 20.1431 18.7315L17.8531 21.0215C17.5431 21.3415 17.0031 21.1215 17.0031 20.6715V19.3815H7.00313V20.6715C7.00313 21.1215 6.46313 21.3415 6.15313 21.0315L3.85313 18.7415C3.65313 18.5415 3.65313 18.2315 3.85312 18.0315L6.15313 15.7415Z",fill:"#666666"}),(0,i.h)("path",{d:"M10.2574 9.76459L9.36645 7.13146C9.30046 6.96428 9.23006 6.7685 9.15527 6.54412C9.08048 6.31534 9.00569 6.06897 8.93089 5.80499C8.8649 6.07337 8.79451 6.32194 8.71972 6.55072C8.64492 6.7795 8.57453 6.97747 8.50854 7.14466L7.62423 9.76459H10.2574ZM13.8012 13.4404H12.0722C11.8786 13.4404 11.7224 13.3964 11.6036 13.3084C11.4848 13.216 11.3946 13.0995 11.3331 12.9587L10.7655 11.2824H7.10948L6.54194 12.9587C6.49354 13.0819 6.40555 13.194 6.27796 13.2952C6.15478 13.392 6.00079 13.4404 5.81601 13.4404H4.07379L7.79581 3.8252H10.0792L13.8012 13.4404Z",fill:"#666666"}),(0,i.h)("path",{d:"M17.8524 10.6555C17.4432 10.6731 17.1066 10.7083 16.8427 10.7611C16.5787 10.8139 16.3697 10.8799 16.2157 10.9591C16.0617 11.0383 15.954 11.1285 15.8924 11.2296C15.8352 11.3308 15.8066 11.4408 15.8066 11.5596C15.8066 11.7928 15.8704 11.9578 15.998 12.0546C16.1255 12.1469 16.3125 12.1931 16.5589 12.1931C16.8229 12.1931 17.0538 12.1469 17.2518 12.0546C17.4498 11.9622 17.65 11.8126 17.8524 11.6058V10.6555ZM14.1699 7.54722C14.5835 7.18205 15.041 6.91148 15.5426 6.7355C16.0485 6.55512 16.5897 6.46493 17.166 6.46493C17.5796 6.46493 17.9514 6.53312 18.2813 6.66951C18.6157 6.80149 18.8973 6.98847 19.126 7.23045C19.3592 7.46802 19.5374 7.7518 19.6606 8.08176C19.7838 8.41173 19.8454 8.77249 19.8454 9.16405V13.4404H18.9083C18.7147 13.4404 18.5673 13.414 18.4661 13.3612C18.3693 13.3084 18.2879 13.1984 18.2219 13.0313L18.0767 12.6551C17.9052 12.8003 17.7402 12.9279 17.5818 13.0379C17.4234 13.1478 17.2584 13.2424 17.0868 13.3216C16.9197 13.3964 16.7393 13.4514 16.5457 13.4866C16.3565 13.5262 16.1453 13.546 15.9122 13.546C15.5998 13.546 15.316 13.5064 15.0608 13.4272C14.8057 13.3436 14.5879 13.2226 14.4075 13.0643C14.2315 12.9059 14.0951 12.7101 13.9984 12.4769C13.9016 12.2393 13.8532 11.9666 13.8532 11.6586C13.8532 11.4122 13.9148 11.1636 14.038 10.9129C14.1611 10.6577 14.3745 10.4267 14.6781 10.2199C14.9817 10.0088 15.3908 9.83278 15.9056 9.692C16.4203 9.55121 17.0692 9.47202 17.8524 9.45442V9.16405C17.8524 8.76369 17.7688 8.47552 17.6016 8.29954C17.4388 8.11916 17.2056 8.02897 16.9021 8.02897C16.6601 8.02897 16.4621 8.05537 16.3081 8.10816C16.1541 8.16095 16.0155 8.22035 15.8924 8.28634C15.7736 8.35233 15.657 8.41173 15.5426 8.46452C15.4282 8.51732 15.2918 8.54372 15.1334 8.54372C14.9927 8.54372 14.8739 8.50852 14.7771 8.43813C14.6803 8.36773 14.6011 8.28414 14.5395 8.18735L14.1699 7.54722Z",fill:"#666666"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],a7aYm:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("reactn"),r=e("../hooks/useDebounce"),l=e("preact/hooks"),c=e("../constants/config"),d=e("../components/ResourceButton"),m=i.interopDefault(d),p=e("../components/Icons/HighlightLink"),u=i.interopDefault(p),h=e("../hooks/useCommandStack"),g=e("../commands/highlightLinksCommands/IncreaseHighlightLinksCommand"),f=e("../commands/highlightLinksCommands/SetHighlightLinksCommand"),v=e("../services/analytics"),C=e("../services/domHighlightLinksService"),S=e("../stores/useTranslation");n.default=()=>{let[{isMobile:e,highlightLinksState:t}]=(0,s.useGlobal)(),{translate:n,language:a}=(0,S.useTranslationStore)(),{execute:i}=(0,h.useCommandStack)(),d=(0,r.useDebounce)(t,c.analyticsDebounceTime);(0,l.useEffect)(()=>{"none"!==d&&(0,v.handleAnalyticsHighlightLinks)(d)},[d]),(0,l.useEffect)(()=>{let e=(0,C.getHighlightLinksActivatedValue)();0!==e&&i(new(0,f.SetHighlightLinksCommand)(e))},[t]);let p=c.highlightLinksList.length-1,y=(0,l.useMemo)(()=>"none"===t?0:t,[t]),b=(0,l.useMemo)(()=>({title:n("highlightLinks"),ariaLabelInactive:n("highlightLinksAriaLabelInactive"),ariaLabelActive:n("highlightLinksAriaLabelActive",{index:y})}),[a]);return(0,o.h)(m.default,{onClick:()=>{i(new(0,g.IncreaseHighlightLinksCommand))},isMobile:e,icon:(0,o.h)(u.default,null),title:b.title,ariaLabelInactive:b.ariaLabelInactive,ariaLabelActive:b.ariaLabelActive,dotsLength:p,dotsIndex:y})}},{preact:"gdb49",reactn:"iVSVY","../hooks/useDebounce":"c67Vm","preact/hooks":"9Dac5","../constants/config":"kqbjQ","../components/ResourceButton":"bnNUx","../components/Icons/HighlightLink":"1OCQK","../hooks/useCommandStack":"2LAi9","../commands/highlightLinksCommands/IncreaseHighlightLinksCommand":"gsDRw","../commands/highlightLinksCommands/SetHighlightLinksCommand":"dkpAv","../services/analytics":"9b6Tu","../services/domHighlightLinksService":"a11CZ","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"1OCQK":[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"40",height:"40",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.24844 4.5C3.36478 4.5 2.64844 5.21634 2.64844 6.1V17.9C2.64844 18.7837 3.36478 19.5 4.24844 19.5H19.3888C20.2724 19.5 20.9888 18.7837 20.9888 17.9V6.1C20.9888 5.21634 20.2724 4.5 19.3888 4.5H4.24844ZM5.70527 14.5342C6.40389 15.2329 7.24866 15.5822 8.23956 15.5822H10.3174C10.5203 15.5822 10.6965 15.5074 10.8461 15.3578C10.9951 15.2088 11.0696 15.0328 11.0696 14.83C11.0696 14.6271 10.9951 14.4508 10.8461 14.3013C10.6965 14.1523 10.5203 14.0778 10.3174 14.0778H8.23956C7.64296 14.0778 7.1475 13.8806 6.7532 13.4863C6.35948 13.0926 6.16262 12.5971 6.16262 11.9999C6.16262 11.4028 6.35948 10.9073 6.7532 10.5136C7.1475 10.1193 7.64296 9.92214 8.23956 9.92214H10.3174C10.5203 9.92214 10.6965 9.84763 10.8461 9.69862C10.9951 9.54904 11.0696 9.37281 11.0696 9.16993C11.0696 8.96705 10.9951 8.79111 10.8461 8.6421C10.6965 8.49252 10.5203 8.41772 10.3174 8.41772H8.23956C7.24866 8.41772 6.40389 8.76703 5.70527 9.46566C5.00723 10.1643 4.6582 11.009 4.6582 11.9999C4.6582 12.9909 5.00723 13.8356 5.70527 14.5342ZM9.18004 12.5286C9.32962 12.6776 9.50585 12.7522 9.70873 12.7522H13.9348C14.1377 12.7522 14.314 12.6776 14.4635 12.5286C14.6125 12.3791 14.687 12.2028 14.687 11.9999C14.687 11.7971 14.6125 11.6208 14.4635 11.4713C14.314 11.3222 14.1377 11.2477 13.9348 11.2477H9.70873C9.50585 11.2477 9.32962 11.3222 9.18004 11.4713C9.03103 11.6208 8.95652 11.7971 8.95652 11.9999C8.95652 12.2028 9.03103 12.3791 9.18004 12.5286ZM12.7975 15.3578C12.9471 15.5074 13.1233 15.5822 13.3262 15.5822H15.404C16.3949 15.5822 17.2397 15.2329 17.9383 14.5342C18.6363 13.8356 18.9854 12.9909 18.9854 11.9999C18.9854 11.009 18.6363 10.1643 17.9383 9.46566C17.2397 8.76703 16.3949 8.41772 15.404 8.41772H13.3262C13.1233 8.41772 12.9471 8.49252 12.7975 8.6421C12.6485 8.79111 12.574 8.96705 12.574 9.16993C12.574 9.37281 12.6485 9.54904 12.7975 9.69862C12.9471 9.84763 13.1233 9.92214 13.3262 9.92214H15.404C16.0006 9.92214 16.4961 10.1193 16.8904 10.5136C17.2841 10.9073 17.481 11.4028 17.481 11.9999C17.481 12.5971 17.2841 13.0926 16.8904 13.4863C16.4961 13.8806 16.0006 14.0778 15.404 14.0778H13.3262C13.1233 14.0778 12.9471 14.1523 12.7975 14.3013C12.6485 14.4508 12.574 14.6271 12.574 14.83C12.574 15.0328 12.6485 15.2088 12.7975 15.3578Z",fill:"#666666"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],gsDRw:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"IncreaseHighlightLinksCommand",()=>l);var o=e("reactn"),s=e("../../constants/config"),r=e("./SetHighlightLinksCommand");class l{constructor(){this.previousHighlightLinksState=null,this.execute=async()=>{let{highlightLinksState:e}=(0,o.getGlobal)(),t=(("number"==typeof e?e:0)+1)%s.highlightLinksList.length,n=s.highlightLinksList[t],a=new(0,r.SetHighlightLinksCommand)("none"===n?0:t);await a.execute()},this.undo=async()=>{if(null!==this.previousHighlightLinksState){let e=new(0,r.SetHighlightLinksCommand)(this.previousHighlightLinksState);await e.execute()}}}}},{reactn:"iVSVY","../../constants/config":"kqbjQ","./SetHighlightLinksCommand":"dkpAv","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],dkpAv:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"SetHighlightLinksCommand",()=>l);var o=e("reactn"),s=e("../../services/appActivator"),r=e("../../services/domHighlightLinksService");class l{constructor(e){this.newHighlightLinksState=e,this.previousHighlightLinksState=null,this.execute=async()=>{let e={0:r.deactivateHighlightLinks,1:r.blackAndYellow,2:r.whiteAndYellow,3:r.yellowAndBlack}[this.newHighlightLinksState];e?e():console.error("Estado de links em destaque inválido:",this.newHighlightLinksState),await (0,o.setGlobal)({highlightLinksState:this.newHighlightLinksState}),(0,r.setHighlightLinksActivatedValue)(this.newHighlightLinksState.toString()),s.appActivator.handleAddon()},this.undo=async()=>{if(null!==this.previousHighlightLinksState){let e=new l(this.previousHighlightLinksState);await e.execute()}}}}},{reactn:"iVSVY","../../services/appActivator":"eOZgV","../../services/domHighlightLinksService":"a11CZ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],a11CZ:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"deactivateHighlightLinks",()=>l),i.export(n,"blackAndYellow",()=>c),i.export(n,"whiteAndYellow",()=>d),i.export(n,"yellowAndBlack",()=>m),i.export(n,"getHighlightLinksActivatedValue",()=>u),i.export(n,"setHighlightLinksActivatedValue",()=>h);let o=new CSSStyleSheet,s="HTHighlightLinksActivated",r=["script",".ht-skip",".ht-exception",".ht-exception *"],l=()=>{p("")},c=()=>{p(`body a:not(${r.join("):not(")}), body *[role=link]:not(${r.join("):not(")}) { color: #FCC002 !important; background-color: #000000 !important; border: solid 1px #FCC002 !important; } body a:not(${r.join("):not(")}) svg > path, body *[role=link]:not(${r.join("):not(")}) svg > path { fill: #FFFFFF !important; }`)},d=()=>{p(`body a:not(${r.join("):not(")}), body *[role=link]:not(${r.join("):not(")}) { color: #FFFFFF !important; background-color: #000000 !important; border: solid 1px #FFFFFF !important; } body a:not(${r.join("):not(")}) svg > path, body *[role=link]:not(${r.join("):not(")}) svg > path { fill: #FFFFFF !important; }`)},m=()=>{p(`body a:not(${r.join("):not(")}), body *[role=link]:not(${r.join("):not(")}) { color: #000000 !important; background-color: #FFFF00!important; border: solid 1px #000000 !important; } body a:not(${r.join("):not(")}) svg > path, body *[role=link]:not(${r.join("):not(")}) svg > path { fill: #FFFFFF !important; }`)},p=e=>{o.replaceSync(e),document.adoptedStyleSheets.includes(o)||document.adoptedStyleSheets.push(o)},u=()=>parseInt(sessionStorage.getItem(s)||"0"),h=e=>{sessionStorage.setItem(s,e)}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"3uiFA":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("../components/ResourceButton"),r=i.interopDefault(s),l=e("reactn"),c=e("../constants/config"),d=e("preact/hooks"),m=e("../commands/textStyleCommands/IncreaseTextStyleCommand"),p=e("../hooks/useCommandStack"),u=e("../commands/textStyleCommands/SetTextStyleCommand"),h=e("../hooks/useDebounce"),g=e("../services/analytics"),f=e("../components/Icons/TextStyle"),v=e("../services/textStyleService/textStyleService"),C=e("../stores/useTranslation");n.default=({config:e})=>{let{storageUrl:t}=e,[{isMobile:n,textStyleState:a}]=(0,l.useGlobal)(),{translate:i,language:s}=(0,C.useTranslationStore)(),{execute:S}=(0,p.useCommandStack)(),y=(0,h.useDebounce)(a,c.analyticsDebounceTime),b=(0,d.useMemo)(()=>"none"===a?0:a,[a]);(0,d.useEffect)(()=>{"none"!==y&&(0,g.handleAnalyticsTextStyle)(y)},[y]),(0,d.useEffect)(()=>{let e=v.textStyleService.getTextStyleValue();0!==e&&S(new(0,u.SetTextStyleCommand)(t,e))},[]);let x=(0,d.useMemo)(()=>({title:i("textStyle"),ariaLabelInactive:i("textStyleAriaLabelInactive"),ariaLabelActive:i("textStyleAriaLabelActive",{index:b})}),[s]);return(0,o.h)(r.default,{onClick:()=>{S(new(0,m.IncreaseTextStyleCommand)(t))},isMobile:n,icon:0===b?(0,o.h)(f.TextStyleDefaultIcon,null):1===b?(0,o.h)(f.TextStyleAtksonHyperlegibleIcon,null):2===b?(0,o.h)(f.TextStyleNewsreaderIcon,null):(0,o.h)(f.TextStyleOpenDyslexicIcon,null),title:x.title,ariaLabelInactive:x.ariaLabelInactive,ariaLabelActive:x.ariaLabelActive,dotsLength:c.textStyleList.length-1,dotsIndex:b})}},{preact:"gdb49","../components/ResourceButton":"bnNUx",reactn:"iVSVY","../constants/config":"kqbjQ","preact/hooks":"9Dac5","../commands/textStyleCommands/IncreaseTextStyleCommand":"lG2jS","../hooks/useCommandStack":"2LAi9","../commands/textStyleCommands/SetTextStyleCommand":"36uXj","../hooks/useDebounce":"c67Vm","../services/analytics":"9b6Tu","../components/Icons/TextStyle":"5V0cb","../services/textStyleService/textStyleService":"2xqrr","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],lG2jS:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"IncreaseTextStyleCommand",()=>l);var o=e("../../constants/config"),s=e("reactn"),r=e("./SetTextStyleCommand");class l{constructor(e){this.storageUrl=e,this.execute=async()=>{let{textStyleState:e}=(0,s.getGlobal)(),t=(("number"==typeof e?e:0)+1)%o.textStyleList.length,n=o.textStyleList[t],a=new(0,r.SetTextStyleCommand)(this.storageUrl,"none"===n?0:t);await a.execute()},this.undo=async()=>{let e=new(0,r.SetTextStyleCommand)(this.storageUrl,0);await e.execute()}}}},{"../../constants/config":"kqbjQ",reactn:"iVSVY","./SetTextStyleCommand":"36uXj","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"36uXj":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"SetTextStyleCommand",()=>l);var o=e("reactn"),s=e("../../services/appActivator"),r=e("../../services/textStyleService/textStyleService");class l{constructor(e,t){this.storageUrl=e,this.level=t,this.previousLevel=0,this.execute=async()=>{let e={0:()=>r.textStyleService.deactivateAllFonts(),1:()=>r.textStyleService.setFontAtkinson(this.storageUrl),2:()=>r.textStyleService.setFontNewsreader(this.storageUrl),3:()=>r.textStyleService.setFontDislexia(this.storageUrl)}[this.level];e?e():console.error("Estado de fonte inválido:",this.level),await (0,o.setGlobal)({textStyleState:this.level}),r.textStyleService.setTextStyleValue(this.level.toString()),s.appActivator.handleAddon()},this.undo=async()=>{let e=new l(this.storageUrl,this.previousLevel);await e.execute()}}}},{reactn:"iVSVY","../../services/appActivator":"eOZgV","../../services/textStyleService/textStyleService":"2xqrr","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"2xqrr":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"textStyleService",()=>r);var o=e("./textStyleInjector"),s=e("./textStyleManager");let r=new class{constructor(){this.textStyleKey="HTTextStyle",this.setFontAtkinson=e=>{this.TextStyleInjector.injectFont("AtkinsonHyperlegible",`${e}fonts/AtkinsonHyperlegibleRegular.ttf`),this.TextStyleManager.setFontStyle("AtkinsonHyperlegible","sans-serif")},this.setFontNewsreader=e=>{this.TextStyleInjector.injectFont("Newsreader",`${e}fonts/Newsreader.ttf`),this.TextStyleManager.setFontStyle("Newsreader","system-ui")},this.setFontDislexia=e=>{this.TextStyleInjector.injectFont("Dislexia",`${e}fonts/OpenDyslexicMonoRegular.otf`),this.TextStyleManager.setFontStyle("Dislexia","serif")},this.deactivateAllFonts=()=>{this.TextStyleInjector.removeFont(),this.TextStyleManager.removeFontStyle()},this.getTextStyleValue=()=>parseInt(sessionStorage.getItem(this.textStyleKey)||"0"),this.setTextStyleValue=e=>{sessionStorage.setItem(this.textStyleKey,e)},this.TextStyleInjector=new(0,o.TextStyleInjector),this.TextStyleManager=new(0,s.TextStyleManager)}}},{"./textStyleInjector":"aSRVJ","./textStyleManager":"ezHKU","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],aSRVJ:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"TextStyleInjector",()=>o);class o{constructor(){this.injectFont=(e,t)=>{this.currentFontStyleElement&&document.head.removeChild(this.currentFontStyleElement);let n=document.createElement("style");n.innerHTML=` @font-face { font-family: "${e}"; src: url("${t}"); font-weight: 400; font-style: normal; } `,document.head.appendChild(n),this.currentFontStyleElement=n},this.removeFont=()=>{this.currentFontStyleElement&&(document.head.removeChild(this.currentFontStyleElement),this.currentFontStyleElement=null)},this.currentFontStyleElement=null}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],ezHKU:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"TextStyleManager",()=>o);class o{constructor(){this.setFontStyle=(e,t)=>{let n=`body *:not(${this.ignoreList.join("):not(")}) { font-family: ${e}, ${t} !important; }`;o.fontStyle.replaceSync(n),document.adoptedStyleSheets.includes(o.fontStyle)||document.adoptedStyleSheets.push(o.fontStyle)},this.removeFontStyle=()=>{o.fontStyle.replaceSync("")},this.ignoreList=["script",".ht-skip",".ht-exception",".ht-exception *"],o.fontStyle||(o.fontStyle=new CSSStyleSheet)}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"5V0cb":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"TextStyleDefaultIcon",()=>s),i.export(n,"TextStyleAtksonHyperlegibleIcon",()=>r),i.export(n,"TextStyleNewsreaderIcon",()=>l),i.export(n,"TextStyleOpenDyslexicIcon",()=>c);var o=e("preact");let s=()=>(0,o.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M20 2H4C2.9 2 2 2.9 2 4V20C2 21.1 2.9 22 4 22H20C21.1 22 22 21.1 22 20V4C22 2.9 21.1 2 20 2ZM20 20H4V4H20V20Z",fill:"black"}),(0,o.h)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.7101 17.88L14.8101 15.5H9.17007L8.28007 17.87C8.14007 18.25 7.78007 18.5 7.37007 18.5C6.69007 18.5 6.20007 17.81 6.45007 17.18L10.7001 6.37C10.9201 5.84 11.4401 5.5 12.0001 5.5C12.5601 5.5 13.0401 5.84 13.2501 6.37L17.5001 17.18C17.7501 17.81 17.3001 18.5 16.6201 18.5C16.2201 18.5 15.8601 18.25 15.7101 17.88ZM14.0701 13.5H9.93007L12.0001 7.98L14.0701 13.5Z",fill:"black"})),r=()=>(0,o.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M2 17.7709L6.60138 5H8.52626L13.1093 17.7709H11.2761L10.3412 14.9838H4.76816L3.83322 17.7709H2ZM5.2998 13.4376H9.80952L7.55466 6.81351L5.2998 13.4376Z",fill:"white"}),(0,o.h)("path",{d:"M17.1236 18C16.5492 18 16.0237 17.8918 15.5471 17.6755C15.0704 17.4591 14.6916 17.1473 14.4105 16.7401C14.1294 16.3328 13.9888 15.8429 13.9888 15.2702C13.9888 14.5193 14.2394 13.9276 14.7404 13.4949C15.2538 13.0622 15.9687 12.7313 16.8853 12.5022C17.8141 12.2604 18.8957 12.0695 20.1301 11.9295C20.1546 11.1278 20.0018 10.5105 19.6718 10.0778C19.3418 9.64513 18.8102 9.42878 18.0769 9.42878C17.5269 9.42878 17.0747 9.56241 16.7203 9.82966C16.3781 10.0842 16.1581 10.4405 16.0604 10.8987L14.5755 10.4405C14.8199 9.71512 15.2538 9.15516 15.877 8.76065C16.5126 8.3534 17.2397 8.14978 18.0586 8.14978C19.3174 8.14978 20.234 8.46158 20.8084 9.08517C21.395 9.69604 21.6884 10.6632 21.6884 11.9868V14.2012C21.6884 14.9902 21.7189 15.6711 21.78 16.2438C21.8411 16.8164 21.9144 17.3255 22 17.7709H20.5884L20.2218 16.4728C19.9529 16.9437 19.5679 17.3191 19.0668 17.5991C18.5658 17.8664 17.918 18 17.1236 18ZM17.4536 16.721C17.9303 16.721 18.3824 16.6319 18.8102 16.4537C19.2379 16.2756 19.5863 15.9765 19.8551 15.5565C20.124 15.1238 20.2584 14.5384 20.2584 13.8003V13.2085C19.3296 13.3103 18.523 13.4376 17.8386 13.5903C17.1542 13.7303 16.6226 13.9339 16.2437 14.2012C15.877 14.4557 15.6937 14.7993 15.6937 15.232C15.6937 15.6774 15.8465 16.0401 16.152 16.3201C16.4698 16.5874 16.9036 16.721 17.4536 16.721Z",fill:"white"})),l=()=>(0,o.h)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M5.00761 13.3215V12.8044H10.6788V13.3215H5.00761ZM12.9488 17.2285L14.201 17.5896V17.8358H9.76589V17.5896L11.2362 17.2449L7.22114 7.97811H7.45542L3.86854 17.1956L5.38731 17.5896V17.8358H2.06702V17.5896L3.30304 17.171L7.71393 6H8.029L12.9488 17.2285Z",fill:"white"}),(0,o.h)("path",{d:"M19.3849 12.4596L19.4819 12.829C18.7333 13.0588 18.1247 13.2804 17.6561 13.4938C17.1929 13.7073 16.8375 13.9207 16.5898 14.1341C16.3474 14.3475 16.1804 14.5718 16.0889 14.8071C15.9973 15.0424 15.9515 15.3023 15.9515 15.5869C15.9515 16.0465 16.0835 16.394 16.3474 16.6293C16.6113 16.8646 16.9344 16.9822 17.3168 16.9822C17.6238 16.9822 17.8904 16.9193 18.1166 16.7934C18.3482 16.6676 18.5286 16.487 18.6579 16.2517C18.7925 16.0164 18.8598 15.7319 18.8598 15.3981V11.7045C18.8598 11.1573 18.7279 10.7414 18.464 10.4569C18.2001 10.1724 17.7935 10.0301 17.2441 10.0301C16.991 10.0301 16.7325 10.052 16.4686 10.0958C16.2101 10.1341 16.0027 10.1943 15.8465 10.2763L16.2747 9.93981C16.2585 10.1368 16.2316 10.342 16.1939 10.5554C16.1616 10.7633 16.1212 10.9521 16.0727 11.1218C16.0243 11.2914 15.965 11.42 15.895 11.5075C15.825 11.5951 15.7173 11.6635 15.5719 11.7127C15.4318 11.762 15.2864 11.7866 15.1356 11.7866C14.9471 11.7866 14.7936 11.7483 14.6751 11.6717C14.562 11.5896 14.5055 11.4665 14.5055 11.3023C14.5055 11.078 14.6105 10.8536 14.8205 10.6293C15.036 10.4049 15.3106 10.1997 15.6446 10.0137C15.9785 9.82763 16.3393 9.67989 16.7271 9.57045C17.1202 9.46101 17.4972 9.40629 17.8581 9.40629C18.4505 9.40629 18.9271 9.49658 19.288 9.67715C19.6488 9.85226 19.91 10.1012 20.0716 10.4241C20.2386 10.7414 20.322 11.119 20.322 11.5568V16.3174C20.322 16.4979 20.349 16.643 20.4028 16.7524C20.4567 16.8618 20.5348 16.9412 20.6371 16.9904C20.7394 17.0397 20.8552 17.0643 20.9845 17.0643C21.1622 17.0643 21.3399 17.0369 21.5177 16.9822C21.6954 16.922 21.8785 16.8235 22.067 16.6867V16.9248C21.6846 17.3844 21.3426 17.6799 21.041 17.8112C20.7394 17.9371 20.4325 18 20.1201 18C19.8077 18 19.56 17.9289 19.3769 17.7866C19.1937 17.6443 19.0618 17.4391 18.981 17.171C18.9002 16.8974 18.8544 16.5746 18.8437 16.2025L18.8679 16.1943C18.7763 16.539 18.6282 16.8482 18.4236 17.1218C18.2243 17.3953 17.9793 17.6115 17.6884 17.7702C17.403 17.9234 17.0852 18 16.7352 18C16.0835 18 15.5368 17.8222 15.0952 17.4665C14.659 17.1108 14.4409 16.5937 14.4409 15.9152C14.4409 15.5595 14.5001 15.2449 14.6186 14.9713C14.7425 14.6977 14.9767 14.4378 15.3214 14.1915C15.6661 13.9398 16.1643 13.6772 16.816 13.4036C17.473 13.13 18.3293 12.8153 19.3849 12.4596Z",fill:"white"})),c=()=>(0,o.h)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M2.93298 18.6358L7.90496 5.15776H9.54189L14.4986 18.6358H12.0661L11.5766 16.4793H5.90087L5.24304 18.6358H2.93298ZM6.40572 14.4021H11.0411L8.70048 7.34597L6.40572 14.4021Z",fill:"white"}),(0,o.h)("path",{d:"M18.4965 18.842C16.0946 18.842 14.6107 17.0343 15.192 13.6727C15.758 10.3904 17.5327 9.89887 18.4047 9.77202C19.6132 9.5976 20.4546 9.94644 21.0054 10.8661L20.9748 9.94644H22.061L22.933 18.62H21.4031V17.3197C20.8218 18.3504 19.7203 18.842 18.4965 18.842ZM18.3129 16.4318C20.7759 16.4318 20.883 14.6558 20.883 13.8789C20.883 11.4687 19.7509 11.104 18.7259 11.104C17.8692 11.104 16.6147 11.8968 16.3241 14.085C16.1405 15.4962 16.5077 16.4318 18.3129 16.4318Z",fill:"white"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],dOIcM:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact/compat"),s=e("reactn"),r=e("preact"),l=e("../hooks/useDebounce"),c=e("../components/ResourceButton"),d=i.interopDefault(c),m=e("../components/Icons/ColorIntensity"),p=i.interopDefault(m),u=e("../constants/config"),h=e("../hooks/useCommandStack"),g=e("../commands/colorIntensityCommands/IncreaseColorIntensityCommand"),f=e("../commands/colorIntensityCommands/SetColorIntensityCommand"),v=e("../services/analytics"),C=e("../services/domColorBlendService/colorIntensity/domColorIntensityService"),S=e("../stores/useTranslation");n.default=()=>{let[{isMobile:e,colorIntensityState:t}]=(0,s.useGlobal)(),{translate:n,language:a}=(0,S.useTranslationStore)(),i=(0,l.useDebounce)(t,u.analyticsDebounceTime),{execute:c}=(0,h.useCommandStack)();(0,o.useEffect)(()=>{"none"!==i&&(0,v.handleAnalyticsColorIntensityAddons)(i)},[i]),(0,o.useEffect)(()=>{let e=(0,C.getColorIntensifyValue)();0!==e&&c(new(0,f.SetColorIntensityCommand)(e))},[]);let m=u.colorIntensityList.length-1,y=(0,o.useMemo)(()=>"none"===t?0:t,[t]),b=(0,o.useMemo)(()=>({title:n("colorIntensity"),ariaLabelInactive:n("colorIntensityAriaLabelInactive"),ariaLabelActive:n("colorIntensityAriaLabelActive",{index:y})}),[a]);return(0,r.h)(d.default,{isMobile:e,onClick:()=>{c(new(0,g.IncreaseColorIntensityLevelCommand))},icon:(0,r.h)(p.default,null),title:b.title,ariaLabelInactive:b.ariaLabelInactive,ariaLabelActive:b.ariaLabelActive,dotsLength:m,dotsIndex:y})}},{"preact/compat":"8ZO42",reactn:"iVSVY",preact:"gdb49","../hooks/useDebounce":"c67Vm","../components/ResourceButton":"bnNUx","../components/Icons/ColorIntensity":"foE3N","../constants/config":"kqbjQ","../hooks/useCommandStack":"2LAi9","../commands/colorIntensityCommands/IncreaseColorIntensityCommand":"ipehp","../commands/colorIntensityCommands/SetColorIntensityCommand":"bzV2U","../services/analytics":"9b6Tu","../services/domColorBlendService/colorIntensity/domColorIntensityService":"h6ocC","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],foE3N:[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"40",height:"40",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M16.5 9.06656V24.8332C12.8222 24.8332 9.83331 21.911 9.83331 18.311C9.83331 16.5777 10.5222 14.9443 11.7778 13.711L16.5 9.06656ZM16.5 5.94434L10.2222 12.1221C8.61108 13.711 7.61108 15.8999 7.61108 18.311C7.61108 23.1443 11.5889 27.0554 16.5 27.0554C21.4111 27.0554 25.3889 23.1443 25.3889 18.311C25.3889 15.8999 24.3889 13.711 22.7777 12.1221L16.5 5.94434Z",fill:"#F06F06"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],ipehp:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"IncreaseColorIntensityLevelCommand",()=>l);var o=e("reactn"),s=e("./SetColorIntensityCommand"),r=e("../../constants/config");class l{constructor(){this.previousColorIntensityState=null,this.execute=async()=>{let{colorIntensityState:e}=(0,o.getGlobal)(),t=(("number"==typeof e?e:0)+1)%r.colorIntensityList.length,n=r.colorIntensityList[t],a=new(0,s.SetColorIntensityCommand)("none"===n?0:t);await a.execute()},this.undo=async()=>{if(null!==this.previousColorIntensityState){let e=new(0,s.SetColorIntensityCommand)(this.previousColorIntensityState);await e.execute()}}}}},{reactn:"iVSVY","./SetColorIntensityCommand":"bzV2U","../../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],bzV2U:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"SetColorIntensityCommand",()=>l);var o=e("reactn"),s=e("../../services/appActivator"),r=e("../../services/domColorBlendService/colorIntensity/domColorIntensityService");class l{constructor(e){this.newColorIntensityState=e,this.previousColorIntensityState=null,this.execute=async()=>{let e={0:r.deactivateAllColorIntensity,1:r.colorIntensityLow,2:r.colorIntensityHigh,3:r.colorIntensityMonochromatic}[this.newColorIntensityState];e?e():console.error("Estado de saturação inválido:",this.newColorIntensityState),await (0,o.setGlobal)({colorIntensityState:this.newColorIntensityState}),(0,r.setColorIntensifyValue)(this.newColorIntensityState.toString()),s.appActivator.handleAddon()},this.undo=async()=>{if(null!==this.previousColorIntensityState){let e=new l(this.previousColorIntensityState);await e.execute()}}}}},{reactn:"iVSVY","../../services/appActivator":"eOZgV","../../services/domColorBlendService/colorIntensity/domColorIntensityService":"h6ocC","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],h6ocC:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"filterStyle",()=>s),i.export(n,"colorIntensityHigh",()=>l),i.export(n,"colorIntensityLow",()=>c),i.export(n,"colorIntensityMonochromatic",()=>d),i.export(n,"deactivateAllColorIntensity",()=>m),i.export(n,"getColorIntensifyValue",()=>p),i.export(n,"setColorIntensifyValue",()=>u);var o=e("../common/utilityService");let s=new CSSStyleSheet,r="HTColorIntensity",l=()=>{o.currentFilters.saturate=2,(0,o.updateFilterStyles)()},c=()=>{o.currentFilters.saturate=.5,(0,o.updateFilterStyles)()},d=()=>{o.currentFilters.saturate=0,(0,o.updateFilterStyles)()},m=()=>{o.currentFilters.saturate=1,(0,o.updateFilterStyles)()},p=()=>parseInt(sessionStorage.getItem(r)||"0"),u=e=>{sessionStorage.setItem(r,e)}},{"../common/utilityService":"1HyDF","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"1HyDF":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"currentFilters",()=>s),i.export(n,"updateFilterStyles",()=>r);var o=e("../colorIntensity/domColorIntensityService");let s={invert:0,saturate:1,contrast:"",hueRotate:0},r=()=>{l(`html { filter: hue-rotate(${s.hueRotate}deg) invert(${s.invert}) saturate(${s.saturate}); }`)},l=e=>{o.filterStyle.replaceSync(e),document.adoptedStyleSheets.includes(o.filterStyle)||document.adoptedStyleSheets.push(o.filterStyle)}},{"../colorIntensity/domColorIntensityService":"h6ocC","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"2eUxg":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("../components/ResourceButton"),r=i.interopDefault(s),l=e("reactn"),c=e("../constants/config"),d=e("preact/hooks"),m=e("preact/compat"),p=e("../views/ReadingGuide"),u=i.interopDefault(p),h=e("../commands/readingGuideCommands/IncreaseReadingGuideCommand"),g=e("../hooks/useCommandStack"),f=e("../commands/readingGuideCommands/SetReadingGuideCommand"),v=e("../hooks/useDebounce"),C=e("../services/analytics"),S=e("../components/Icons/ReadingGuide"),y=e("../services/readingGuideService"),b=e("../stores/useTranslation");n.default=()=>{let[{isMobile:e,readingGuideState:t,element:n}]=(0,l.useGlobal)(),{translate:a,language:i}=(0,b.useTranslationStore)(),s=(0,v.useDebounce)(t,c.analyticsDebounceTime),{execute:p}=(0,g.useCommandStack)(),x=(0,d.useMemo)(()=>"none"===t?0:t,[t]);(0,d.useEffect)(()=>{let e=(0,y.getReadingGuideScaleValue)();0!==e&&p(new(0,f.SetReadingGuideCommand)(e))},[t]),(0,d.useEffect)(()=>{"none"!==s&&(0,C.handleAnalyticsReadingGuide)(s)},[s]);let L=(0,d.useMemo)(()=>({title:a("readingGuide"),ariaLabelInactive:a("readingGuideAriaLabelInactive"),ariaLabelActive:a("readingGuideAriaLabelActive",{index:x})}),[i]);return(0,o.h)(o.Fragment,null,(0,o.h)(r.default,{onClick:()=>{p(new(0,h.IncreaseReadingGuideCommand))},isMobile:e,icon:(0,o.h)(S.ReadingGuideIcon,null),title:L.title,ariaLabelInactive:L.ariaLabelInactive,ariaLabelActive:L.ariaLabelActive,dotsLength:c.readingGuideList.length-1,dotsIndex:x}),x>0&&(0,m.createPortal)((0,o.h)(u.default,null),n))}},{preact:"gdb49","../components/ResourceButton":"bnNUx",reactn:"iVSVY","../constants/config":"kqbjQ","preact/hooks":"9Dac5","preact/compat":"8ZO42","../views/ReadingGuide":"fjP8l","../commands/readingGuideCommands/IncreaseReadingGuideCommand":"efTck","../hooks/useCommandStack":"2LAi9","../commands/readingGuideCommands/SetReadingGuideCommand":"2tSRx","../hooks/useDebounce":"c67Vm","../services/analytics":"9b6Tu","../components/Icons/ReadingGuide":"hEmAS","../services/readingGuideService":"ayJzQ","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],fjP8l:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("preact/hooks"),r=e("styled-components"),l=i.interopDefault(r),c=e("reactn"),d=e("../../services/domEventsService"),m=e("../../yotta/assets/tokens/colors"),p=e("../../services/styleUtils"),u=e("../../components/Icons/ReadingGuide");let h=e=>e,g,f,v,C={backgroundColor:m.brand.color.main,borderColor:m.neutral.color.low.main,iconColor:m.neutral.color.high.lightest},S={backgroundColor:m.neutral.color.low.main,borderColor:m.feedback.color.alert.main,iconColor:m.feedback.color.alert.main},y=C,b=l.default.div(g||(g=h` position: fixed; top: 50px; height: 4px; width: ${0}; border-radius: ${0}; background: ${0}; border: 1px solid ${0}; z-index: 1003; pointer-events: none; will-change: left, top; `),e=>e.isMobile?"100%":"600px",e=>e.isMobile?0:"6px",e=>e.theme.backgroundColor,e=>e.theme.borderColor),x=l.default.div(f||(f=h` width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid ${0}; bottom: 2px; position: absolute; pointer-events: none; left: ${0}; will-change: left; &::after { content: ""; position: absolute; width: 0; height: 0; left: -6px; top: -1px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 6px solid ${0}; z-index: -1; } `),e=>e.theme.backgroundColor,e=>e.isMobile?"calc(50% - 19px)":"50%",e=>e.theme.borderColor),L=l.default.button(v||(v=h` &&& { all: inherit; pointer-events: all; height: 44px; width: 44px; padding: 4px; background: ${0}; border: 1px ${0} solid; border-radius: 0 0 8px 8px; border-top: none; position: absolute; left: calc(50% - 24px); top: 2px; will-change: left; ${0} } `),e=>e.theme.backgroundColor,e=>e.theme.borderColor,e=>(0,p.getIconStyle)("32px",e.theme.iconColor));n.default=()=>{let{isMobile:e,readingGuideState:t}=(0,c.getGlobal)(),n=e?{positionX:50,positionY:30}:{positionX:500,positionY:30},[a,i]=(0,s.useState)(n),r=(0,s.useRef)(),l=e=>{let t=(0,d.getMousePositionY)(e)-10;i({positionX:(0,d.getMousePositionX)(e),positionY:t})},m=e=>{let t=(0,d.getTouchPositionY)(e)-27;i({positionX:(0,d.getTouchPositionX)(e)-10,positionY:t})};(0,s.useEffect)(()=>{y=1==t?C:S,2==t&&(0,p.getIconStyle)("32px",y.borderColor);let n=e?r.current:document,a=e?"touchmove":"mousemove",i=e?m:l,o=()=>{null==n||n.removeEventListener(a,i)};return o(),null==n||n.addEventListener(a,i),()=>{o()}},[e,t]);let h={top:`clamp(3vh, ${a.positionY}px, 97vh)`,left:e?0:`${a.positionX-305}px`};return(0,o.h)(b,{className:"ht-exception",style:h,isMobile:e,theme:y},(0,o.h)(x,{style:{left:e?`clamp(0px, ${a.positionX-5}px, calc(100vw - 12px))`:"50%"},isMobile:e,theme:y}),e&&(0,o.h)(L,{theme:y,ref:r,style:{left:`clamp(-1px, ${a.positionX-22}px, calc(100vw - 45px)`}},(0,o.h)(u.MoveIcon,null)))}},{preact:"gdb49","preact/hooks":"9Dac5","styled-components":"cCe5U",reactn:"iVSVY","../../services/domEventsService":"5sHlJ","../../yotta/assets/tokens/colors":"8UG5g","../../services/styleUtils":"6pBLg","../../components/Icons/ReadingGuide":"hEmAS","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],hEmAS:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"ReadingGuideIcon",()=>s),i.export(n,"MoveIcon",()=>r);var o=e("preact");let s=()=>(0,o.h)("svg",{width:"32",height:"33",viewBox:"0 0 32 33",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M16.4868 12.2984C16.2235 12.0177 15.7778 12.0177 15.5145 12.2984L12.2222 15.807H4.64616C3.45332 15.807 2.48633 16.774 2.48633 17.9668C2.48633 19.1596 3.45332 20.1266 4.64616 20.1266H27.3551C28.548 20.1266 29.515 19.1596 29.515 17.9668C29.515 16.774 28.548 15.807 27.3551 15.807H19.7791L16.4868 12.2984Z",fill:"#666666"}),(0,o.h)("path",{d:"M6.15104 14.4736V8.98828H25.8496V14.4736H27.3551C27.523 14.4736 27.6881 14.4855 27.8496 14.5084V8.72161C27.8496 7.76432 27.0736 6.98828 26.1163 6.98828H5.88437C4.92708 6.98828 4.15104 7.76432 4.15104 8.72162V14.5085C4.31278 14.4855 4.47808 14.4736 4.64616 14.4736H6.15104Z",fill:"#666666"}),(0,o.h)("path",{d:"M6.15104 15.807L4.64616 15.807C4.47579 15.807 4.31003 15.8267 4.15104 15.864V20.0696C4.31003 20.1069 4.47579 20.1266 4.64616 20.1266L6.15104 20.1266V15.807Z",fill:"#666666"}),(0,o.h)("path",{d:"M6.15104 21.46V24.278H25.8496V21.46H27.3551C27.523 21.46 27.6881 21.4481 27.8496 21.4253V24.5447C27.8496 25.502 27.0736 26.278 26.1163 26.278H5.88437C4.92708 26.278 4.15104 25.502 4.15104 24.5447V21.4252C4.31278 21.4481 4.47808 21.46 4.64616 21.46H6.15104Z",fill:"#666666"}),(0,o.h)("path",{d:"M27.8496 20.0698C27.6908 20.107 27.5253 20.1266 27.3551 20.1266L25.8496 20.1266V15.807L27.3551 15.807C27.5253 15.807 27.6908 15.8267 27.8496 15.8638V20.0698Z",fill:"#666666"})),r=()=>(0,o.h)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"33",viewBox:"0 0 33 33",fill:"none"},(0,o.h)("path",{d:"M15.1679 13.2122H18.5013C18.8124 13.2122 19.0568 12.9678 19.0568 12.6566V9.87886H21.0457C21.5457 9.87886 21.7901 9.27886 21.4346 8.93442L17.2235 4.72331C17.0013 4.50109 16.6568 4.50109 16.4346 4.72331L12.2235 8.93442C11.879 9.27886 12.1235 9.87886 12.6235 9.87886H14.6124V12.6566C14.6124 12.9678 14.8568 13.2122 15.1679 13.2122ZM12.9457 14.3233H10.1679V12.3344C10.1679 11.8344 9.56792 11.59 9.22348 11.9455L5.01237 16.1566C4.79015 16.3789 4.79015 16.7233 5.01237 16.9455L9.22348 21.1566C9.56792 21.5011 10.1679 21.2566 10.1679 20.7566V18.7678H12.9457C13.2568 18.7678 13.5013 18.5233 13.5013 18.2122V14.8789C13.5013 14.5678 13.2568 14.3233 12.9457 14.3233ZM28.6679 16.1566L24.4568 11.9455C24.1013 11.59 23.5013 11.8344 23.5013 12.3344V14.3233H20.7235C20.4124 14.3233 20.1679 14.5678 20.1679 14.8789V18.2122C20.1679 18.5233 20.4124 18.7678 20.7235 18.7678H23.5013V20.7566C23.5013 21.2566 24.1013 21.5011 24.4457 21.1455L28.6568 16.9344C28.879 16.7233 28.879 16.3678 28.6679 16.1566ZM18.5013 19.8789H15.1679C14.8568 19.8789 14.6124 20.1233 14.6124 20.4344V23.2122H12.6235C12.1235 23.2122 11.879 23.8122 12.2346 24.1566L16.4457 28.3678C16.6679 28.59 17.0124 28.59 17.2346 28.3678L21.4457 24.1566C21.7901 23.8122 21.5457 23.2122 21.0568 23.2122H19.0568V20.4344C19.0568 20.1233 18.8124 19.8789 18.5013 19.8789Z",fill:"white"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],efTck:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"IncreaseReadingGuideCommand",()=>l);var o=e("../../constants/config"),s=e("reactn"),r=e("./SetReadingGuideCommand");class l{constructor(){this.execute=async()=>{let{readingGuideState:e}=(0,s.getGlobal)(),t=(("number"==typeof e?e:0)+1)%o.readingGuideList.length,n=new(0,r.SetReadingGuideCommand)(t);await n.execute()},this.undo=async()=>{let e=new(0,r.SetReadingGuideCommand)(0);await e.execute()}}}},{"../../constants/config":"kqbjQ",reactn:"iVSVY","./SetReadingGuideCommand":"2tSRx","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],h6foI:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact/compat"),s=e("reactn"),r=e("preact"),l=e("../services/analytics"),c=e("../hooks/useDebounce"),d=e("../stores/useTranslation"),m=e("../components/ResourceButton"),p=i.interopDefault(m),u=e("../components/Icons/Contrast"),h=e("../constants/config"),g=e("../hooks/useCommandStack"),f=e("../commands/contrastCommands/IncreaseContrastCommand"),v=e("../commands/contrastCommands/SetContrastCommand"),C=e("../services/domColorBlendService/contrast/domContrastService");n.default=()=>{let[{isMobile:e,contrastState:t}]=(0,s.useGlobal)(),{translate:n,language:a}=(0,d.useTranslationStore)(),i=(0,c.useDebounce)(t,h.analyticsDebounceTime),{execute:m}=(0,g.useCommandStack)();(0,o.useEffect)(()=>{"none"!==i&&(0,l.handleAnalyticsContrastAddons)(i)},[i]),(0,o.useEffect)(()=>{let e=(0,C.getContrastModeValue)();0!==e&&m(new(0,v.SetContrastCommand)(e))},[]);let S=h.contrastList.length-1,y=(0,o.useMemo)(()=>"none"===t?0:t,[t]),b={0:(0,r.h)(u.ContrastIcon,null),1:(0,r.h)(u.ContrastDarkIcon,null),2:(0,r.h)(u.ContrastLightIcon,null)},x=(0,o.useMemo)(()=>({title:n("contrastMode"),ariaLabelInactive:n("contrastAriaLabelInactive"),ariaLabelActive:n("contrastAriaLabelActive",{index:y})}),[a]);return(0,r.h)(p.default,{isMobile:e,onClick:()=>{m(new(0,f.IncreaseContrastLevelCommand))},icon:b[y],title:x.title,ariaLabelInactive:x.ariaLabelInactive,ariaLabelActive:x.ariaLabelActive,dotsLength:S,dotsIndex:y})}},{"preact/compat":"8ZO42",reactn:"iVSVY",preact:"gdb49","../services/analytics":"9b6Tu","../hooks/useDebounce":"c67Vm","../stores/useTranslation":"94OJm","../components/ResourceButton":"bnNUx","../components/Icons/Contrast":"8z4Dp","../constants/config":"kqbjQ","../hooks/useCommandStack":"2LAi9","../commands/contrastCommands/IncreaseContrastCommand":"eNF4j","../commands/contrastCommands/SetContrastCommand":"3BJYX","../services/domColorBlendService/contrast/domContrastService":"5goVR","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"8z4Dp":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"ContrastIcon",()=>s),i.export(n,"ContrastLightIcon",()=>r),i.export(n,"ContrastDarkIcon",()=>l);var o=e("preact");let s=()=>(0,o.h)("svg",{width:"40",height:"40",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M16.5 27.1668C15.0369 27.1668 13.6574 26.889 12.3614 26.3335C11.0654 25.7779 9.93115 25.0139 8.95871 24.0415C7.98626 23.0691 7.22226 21.9348 6.66671 20.6388C6.11115 19.3428 5.83337 17.9633 5.83337 16.5002C5.83337 15.0184 6.11115 13.6339 6.66671 12.3468C7.22226 11.0606 7.98626 9.93127 8.95871 8.95883C9.93115 7.98638 11.0654 7.22238 12.3614 6.66683C13.6574 6.11127 15.0369 5.8335 16.5 5.8335C17.9818 5.8335 19.3663 6.11127 20.6534 6.66683C21.9396 7.22238 23.0689 7.98638 24.0414 8.95883C25.0138 9.93127 25.7778 11.0606 26.3334 12.3468C26.8889 13.6339 27.1667 15.0184 27.1667 16.5002C27.1667 17.9633 26.8889 19.3428 26.3334 20.6388C25.7778 21.9348 25.0138 23.0691 24.0414 24.0415C23.0689 25.0139 21.9396 25.7779 20.6534 26.3335C19.3663 26.889 17.9818 27.1668 16.5 27.1668ZM17.5 25.1108C19.6672 24.8522 21.4867 23.9126 22.9587 22.2922C24.4307 20.6717 25.1667 18.7411 25.1667 16.5002C25.1667 14.2593 24.4307 12.3286 22.9587 10.7082C21.4867 9.08772 19.6672 8.14816 17.5 7.8895V25.1108Z",fill:"#666666"})),r=()=>(0,o.h)("svg",{width:"40",height:"40",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M16.5 22.1107C14.9258 22.1107 13.5969 21.5693 12.5133 20.4867C11.4307 19.4031 10.8893 18.0742 10.8893 16.5C10.8893 14.9258 11.4307 13.5969 12.5133 12.5133C13.5969 11.4307 14.9258 10.8893 16.5 10.8893C18.0742 10.8893 19.4031 11.4307 20.4867 12.5133C21.5693 13.5969 22.1107 14.9258 22.1107 16.5C22.1107 18.0742 21.5693 19.4031 20.4867 20.4867C19.4031 21.5693 18.0742 22.1107 16.5 22.1107ZM5.44401 17.6667C5.12934 17.6667 4.85645 17.5511 4.62534 17.32C4.39334 17.088 4.27734 16.8147 4.27734 16.5C4.27734 16.1853 4.39334 15.912 4.62534 15.68C4.85645 15.4489 5.12934 15.3333 5.44401 15.3333H7.66668C7.98134 15.3333 8.25468 15.4489 8.48668 15.68C8.71779 15.912 8.83334 16.1853 8.83334 16.5C8.83334 16.8147 8.71779 17.088 8.48668 17.32C8.25468 17.5511 7.98134 17.6667 7.66668 17.6667H5.44401ZM25.3333 17.6667C25.0187 17.6667 24.7453 17.5511 24.5133 17.32C24.2822 17.088 24.1667 16.8147 24.1667 16.5C24.1667 16.1853 24.2822 15.912 24.5133 15.68C24.7453 15.4489 25.0187 15.3333 25.3333 15.3333H27.556C27.8707 15.3333 28.1436 15.4489 28.3747 15.68C28.6067 15.912 28.7227 16.1853 28.7227 16.5C28.7227 16.8147 28.6067 17.088 28.3747 17.32C28.1436 17.5511 27.8707 17.6667 27.556 17.6667H25.3333ZM16.5 8.83334C16.1853 8.83334 15.912 8.71779 15.68 8.48668C15.4489 8.25468 15.3333 7.98134 15.3333 7.66668V5.44401C15.3333 5.12934 15.4489 4.85645 15.68 4.62534C15.912 4.39334 16.1853 4.27734 16.5 4.27734C16.8147 4.27734 17.088 4.39334 17.32 4.62534C17.5511 4.85645 17.6667 5.12934 17.6667 5.44401V7.66668C17.6667 7.98134 17.5511 8.25468 17.32 8.48668C17.088 8.71779 16.8147 8.83334 16.5 8.83334ZM16.5 28.7227C16.1853 28.7227 15.912 28.6067 15.68 28.3747C15.4489 28.1436 15.3333 27.8707 15.3333 27.556V25.3333C15.3333 25.0187 15.4489 24.7453 15.68 24.5133C15.912 24.2822 16.1853 24.1667 16.5 24.1667C16.8147 24.1667 17.088 24.2822 17.32 24.5133C17.5511 24.7453 17.6667 25.0187 17.6667 25.3333V27.556C17.6667 27.8707 17.5511 28.1436 17.32 28.3747C17.088 28.6067 16.8147 28.7227 16.5 28.7227ZM9.47201 11.056L8.27734 9.88934C8.05512 9.66712 7.94401 9.39379 7.94401 9.06934C7.94401 8.7449 8.05512 8.47157 8.27734 8.24934C8.49957 8.00934 8.7729 7.89379 9.09734 7.90268C9.4209 7.91157 9.69379 8.02712 9.91601 8.24934L11.084 9.44401C11.3062 9.66623 11.4125 9.93023 11.4027 10.236C11.3938 10.5418 11.2876 10.8151 11.084 11.056C10.8618 11.2969 10.5929 11.4125 10.2773 11.4027C9.96268 11.3938 9.69423 11.2782 9.47201 11.056ZM23.1107 24.7507L21.944 23.556C21.7218 23.3338 21.6107 23.0653 21.6107 22.7507C21.6107 22.4351 21.7218 22.1662 21.944 21.944C22.1662 21.7218 22.4351 21.6107 22.7507 21.6107C23.0653 21.6107 23.3338 21.7218 23.556 21.944L24.7507 23.1107C24.9729 23.3329 25.084 23.6062 25.084 23.9307C25.084 24.2551 24.9729 24.5285 24.7507 24.7507C24.5285 24.9907 24.2551 25.1062 23.9307 25.0973C23.6062 25.0885 23.3329 24.9729 23.1107 24.7507ZM21.944 11.056C21.7031 10.8338 21.5876 10.5653 21.5973 10.2507C21.6062 9.93512 21.7218 9.66623 21.944 9.44401L23.1107 8.24934C23.3329 8.02712 23.6062 7.91601 23.9307 7.91601C24.2551 7.91601 24.5285 8.02712 24.7507 8.24934C24.9907 8.47157 25.1062 8.7449 25.0973 9.06934C25.0885 9.39379 24.9729 9.66712 24.7507 9.88934L23.556 11.056C23.3338 11.2782 23.0698 11.3845 22.764 11.3747C22.4582 11.3658 22.1849 11.2596 21.944 11.056ZM8.24934 24.7227C8.00934 24.5005 7.89379 24.2271 7.90268 23.9027C7.91157 23.5791 8.02712 23.3062 8.24934 23.084L9.44401 21.916C9.66623 21.6938 9.93468 21.5827 10.2493 21.5827C10.5649 21.5827 10.8338 21.6938 11.056 21.916C11.2782 22.1382 11.3893 22.4071 11.3893 22.7227C11.3893 23.0373 11.2782 23.3058 11.056 23.528L9.88934 24.7227C9.66712 24.9449 9.39379 25.056 9.06934 25.056C8.7449 25.056 8.47157 24.9449 8.24934 24.7227Z",fill:"#F06F06"})),l=()=>(0,o.h)("svg",{width:"40",height:"40",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M27.3894 16.4998C27.3894 18.018 27.1023 19.4532 26.528 20.8052C25.9538 22.1572 25.176 23.3376 24.1947 24.3465C23.2134 25.3563 22.056 26.1527 20.7227 26.7358C19.3894 27.3189 17.9632 27.6105 16.444 27.6105C15.8147 27.6105 15.1992 27.5598 14.5974 27.4585C13.9956 27.3563 13.4076 27.2034 12.8334 26.9998C12.5738 26.9074 12.3654 26.7545 12.208 26.5412C12.0507 26.3287 11.972 26.0927 11.972 25.8332C11.972 25.6847 11.9952 25.546 12.0414 25.4172C12.0876 25.2874 12.1569 25.1763 12.2494 25.0838C13.3605 23.9727 14.3098 22.7456 15.0974 21.4025C15.884 20.0603 16.2774 18.426 16.2774 16.4998C16.3334 14.5736 15.9725 12.9394 15.1947 11.5972C14.4169 10.254 13.4725 9.02694 12.3614 7.91583C12.2689 7.82338 12.1996 7.71272 12.1534 7.58383C12.1072 7.45405 12.084 7.31494 12.084 7.16649C12.084 6.90694 12.1627 6.67094 12.32 6.45849C12.4774 6.24516 12.6854 6.09227 12.944 5.99983C13.5183 5.79627 14.1063 5.64338 14.708 5.54116C15.3098 5.43983 15.9258 5.38916 16.556 5.38916C18.0743 5.38916 19.5 5.68072 20.8334 6.26383C22.1667 6.84694 23.324 7.64338 24.3054 8.65316C25.2867 9.66205 26.0552 10.8376 26.6107 12.1798C27.1663 13.5229 27.4258 14.9629 27.3894 16.4998Z",fill:"#F06F06"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],eNF4j:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"IncreaseContrastLevelCommand",()=>l);var o=e("reactn"),s=e("./SetContrastCommand"),r=e("../../constants/config");class l{constructor(){this.previousContrastState=null,this.execute=async()=>{let{contrastState:e}=(0,o.getGlobal)(),t=(("number"==typeof e?e:0)+1)%r.contrastList.length,n=r.contrastList[t],a=new(0,s.SetContrastCommand)("none"===n?0:t);await a.execute()},this.undo=async()=>{if(null!==this.previousContrastState){let e=new(0,s.SetContrastCommand)(this.previousContrastState);await e.execute()}}}}},{reactn:"iVSVY","./SetContrastCommand":"3BJYX","../../constants/config":"kqbjQ","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"3BJYX":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"SetContrastCommand",()=>l);var o=e("reactn"),s=e("../../services/appActivator"),r=e("../../services/domColorBlendService/contrast/domContrastService");class l{constructor(e){this.newContrastState=e,this.previousContrastState=null,this.execute=async()=>{let e={0:r.deactivateAllContrast,1:r.contrastDark,2:r.contrastLight}[this.newContrastState];e?e():console.error("Estado de contraste inválido:",this.newContrastState),await (0,o.setGlobal)({contrastState:this.newContrastState}),(0,r.setContrastModeValue)(this.newContrastState.toString()),s.appActivator.handleAddon()},this.undo=async()=>{if(null!==this.previousContrastState){let e=new l(this.previousContrastState);await e.execute()}}}}},{reactn:"iVSVY","../../services/appActivator":"eOZgV","../../services/domColorBlendService/contrast/domContrastService":"5goVR","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"5goVR":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"contrastDark",()=>c),i.export(n,"contrastLight",()=>d),i.export(n,"deactivateAllContrast",()=>m),i.export(n,"getContrastModeValue",()=>u),i.export(n,"setContrastModeValue",()=>h);var o=e("../common/utilityService");let s=new CSSStyleSheet,r="HTContrastMode",l=["script",".ht-skip",".ht-exception",".ht-exception *","img"],c=()=>{o.currentFilters.invert=0,p(`*:not(${l.join("):not(")}) { background-color: black !important; color: white !important; } button:not(${l.join("):not(")}), button:not(${l.join("):not(")}) *, [role=button]:not(${l.join("):not(")}), [role=link]:not(${l.join("):not(")}), a[onclick]:not(${l.join("):not(")}) { background-color: #FFF !important; color: black !important; border-color: #AEAEAE !important; } path:not(${l.join("):not(")}) { fill: #DEDEDE !important; }`)},d=()=>{p(`*:not(${l.join("):not(")}) { background-color: white !important; color: black !important; } button:not(${l.join("):not(")}), button:not(${l.join("):not(")}) *, [role=button]:not(${l.join("):not(")}), [role=link]:not(${l.join("):not(")}), a[onclick]:not(${l.join("):not(")}) { background-color: #161616 !important; color: white !important; border-color: #979797 !important; } path:not(${l.join("):not(")}) { fill: #333333 !important; }`)},m=()=>{p("")},p=e=>{s.replaceSync(e),document.adoptedStyleSheets.includes(s)||document.adoptedStyleSheets.push(s)},u=()=>parseInt(sessionStorage.getItem(r)||"0"),h=e=>{sessionStorage.setItem(r,e)}},{"../common/utilityService":"1HyDF","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"90w3c":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("reactn"),r=e("preact/hooks"),l=e("../components/ResourceButton"),c=i.interopDefault(l),d=e("../components/Icons/Magnifier"),m=i.interopDefault(d),p=e("../constants/config"),u=e("../commands/magnifierCommands/ActiveMagnifierCommand"),h=e("../commands/magnifierCommands/DeactivateMagnifierCommand"),g=e("../hooks/useCommandStack"),f=e("preact/compat"),v=e("../views/Magnifier"),C=i.interopDefault(v),S=e("../hooks/useDebounce"),y=e("../services/analytics"),b=e("../services/magnifierService"),x=e("../stores/useTranslation");n.default=()=>{let[{isMobile:e,magnifierState:t,element:n}]=(0,s.useGlobal)(),{execute:a}=(0,g.useCommandStack)(),{translate:i,language:l}=(0,x.useTranslationStore)(),d=(0,S.useDebounce)(t,p.analyticsDebounceTime);(0,r.useEffect)(()=>{"none"!==d&&(0,y.handleAnalyticsMagnifier)("active"===d)},[d]);let v=p.magnifierList.length-1,L=(0,r.useMemo)(()=>+("active"===t),[t]);(0,r.useEffect)(()=>{"true"===(0,b.getMagnifierActivatedValue)()&&"none"===t&&a(new(0,u.ActiveMagnifierCommand))},[t]);let A=(0,r.useMemo)(()=>({title:i("magnifier"),ariaLabelInactive:i("magnifierAriaLabelInactive"),ariaLabelActive:i("magnifierAriaLabelActive")}),[l]);return(0,o.h)(o.Fragment,null,(0,o.h)(c.default,{onClick:()=>{a("active"==("active"===t?"deactivate":"active")?new(0,u.ActiveMagnifierCommand):new(0,h.DeactivateMagnifierCommand))},isMobile:e,icon:(0,o.h)(m.default,null),title:A.title,ariaLabelInactive:A.ariaLabelInactive,ariaLabelActive:A.ariaLabelActive,dotsLength:v,dotsIndex:L}),L>0&&(0,f.createPortal)((0,o.h)(C.default,{magnifierState:t,isMobile:e}),n))}},{preact:"gdb49",reactn:"iVSVY","preact/hooks":"9Dac5","../components/ResourceButton":"bnNUx","../components/Icons/Magnifier":"5iziu","../constants/config":"kqbjQ","../commands/magnifierCommands/ActiveMagnifierCommand":"5h9pR","../commands/magnifierCommands/DeactivateMagnifierCommand":"k4QMj","../hooks/useCommandStack":"2LAi9","preact/compat":"8ZO42","../views/Magnifier":"l4Sp1","../hooks/useDebounce":"c67Vm","../services/analytics":"9b6Tu","../services/magnifierService":"i28yz","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"5iziu":[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M24.1365 25.1947L18.0525 19.1107C17.4418 19.5738 16.7796 19.9213 16.0658 20.1533C15.3529 20.3844 14.6076 20.5 13.8298 20.5C11.812 20.5 10.0947 19.8009 8.67782 18.4027C7.26093 17.0044 6.55249 15.296 6.55249 13.2773C6.55249 11.2596 7.26093 9.54222 8.67782 8.12533C10.0947 6.70844 11.812 6 13.8298 6C15.8485 6 17.5569 6.70844 18.9552 8.12533C20.3534 9.54222 21.0525 11.2596 21.0525 13.2773C21.0525 14.0551 20.9414 14.8004 20.7192 15.5133C20.4969 16.2271 20.1449 16.88 19.6632 17.472L25.7752 23.6107C25.9974 23.8329 26.1036 24.0969 26.0938 24.4027C26.0849 24.7084 25.9694 24.9724 25.7472 25.1947C25.5249 25.4169 25.2565 25.528 24.9418 25.528C24.6272 25.528 24.3587 25.4169 24.1365 25.1947ZM13.8298 18.1667C15.1818 18.1667 16.3347 17.6898 17.2885 16.736C18.2423 15.7822 18.7192 14.6293 18.7192 13.2773C18.7192 11.9076 18.2467 10.7409 17.3018 9.77733C16.3578 8.81467 15.2005 8.33333 13.8298 8.33333C12.46 8.33333 11.2934 8.81467 10.3298 9.77733C9.36716 10.7409 8.88582 11.9076 8.88582 13.2773C8.88582 14.648 9.36716 15.8053 10.3298 16.7493C11.2934 17.6942 12.46 18.1667 13.8298 18.1667Z",fill:"#666666"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],l4Sp1:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("styled-components"),r=i.interopDefault(s),l=e("preact/hooks"),c=e("../../services/magnifierService"),d=e("../../services/textCollectorService"),m=e("../../yotta/assets/tokens/colors"),p=e("../../components/Icons/Close"),u=i.interopDefault(p);let h=e=>e,g,f,v,C,S,y=r.default.div.attrs(e=>({style:{top:e.isMobile?"50%":`${e.y}px`,left:e.isMobile?"50%":`${e.x}px`,transform:e.isMobile?"translate(-50%, -50%)":void 0}}))(g||(g=h` display: flex; flex-direction: column; background-color: #161616e5; border: ${0}; border-radius: 16px; width: ${0}; max-width: ${0}; max-height: ${0}; padding: 16px 16px 24px 16px; position: fixed; z-index: 2147483647; margin-top: ${0}; `),({isMobile:e})=>e?`1px solid ${m.neutral.color.high.lightest}`:`2px solid ${m.neutral.color.high.lightest}`,({isMobile:e})=>e?"364px":"auto",({isMobile:e})=>e?"100%":"600px",({isMobile:e})=>e?"100%":"auto",({isMobile:e})=>e?"0":"3%"),b=r.default.div(f||(f=h` &&& { overflow: ${0}; p { color: ${0}; font-family: Lato; font-size: 30px; font-weight: 400; line-height: 43px; letter-spacing: 0em; text-align: left; } } `),({isMobile:e})=>e?"auto":"hidden",m.neutral.color.high.lightest),x=r.default.div(v||(v=h` width: 100%; height: 100%; display: flex; flex-direction: row-reverse; `)),L=r.default.button(C||(C=h` &&& { all: initial; width: 40px; height: 40px; padding: 2px; top: 10px; right: 10px; background: transparent; color: ${0}; border: none; cursor: pointer; path { fill: ${0}; } } `),m.neutral.color.high.lightest,m.neutral.color.high.lightest),A=r.default.button(S||(S=h` background-color: ${0}; font-size: 16px; font-weight: 700; color: ${0}; width: 100%; height: 48px; padding: 10px 24px 10px 24px; border: none; border-radius: 12px; margin-top: 30px; `),m.brand.color.main,m.neutral.color.high.lightest);n.default=({isMobile:e,magnifierState:t})=>{let[n,a]=(0,l.useState)(""),[i,s]=(0,l.useState)({x:0,y:0}),[r,m]=(0,l.useState)(!1),[p,h]=(0,l.useState)(!1),[g,f]=(0,l.useState)(!1),v=(0,o.h)(u.default,null),C=(0,l.useCallback)(e=>{s(e.pointerPosition),a(e.text),h(e=>!e)},[]);return(0,l.useEffect)(()=>{let t=e?c.addTextClickedListener:c.addTextCollectedListener,n=e?c.removeTextClickedListener:c.removeTextCollectedListener;return t(C),()=>n(C)},[C,e]),(0,l.useEffect)(()=>{let n;return"active"!==t||e||(n=c.startTrackingMouseMove(s)),()=>{n&&n()}},[t,e]),(0,l.useEffect)(()=>{m("active"===t&&""!==n)},[t,n,p]),(0,l.useEffect)(()=>(c.addClickableEventListener(f),()=>c.removeClickableEventListener(f)),[]),(0,o.h)(o.Fragment,null,r&&""!==n&&(0,o.h)(y,{className:"ht-exception",x:i.x,y:i.y,isMobile:e},e&&(0,o.h)(x,null,(0,o.h)(L,{onClick:()=>m(!1)},v)),(0,o.h)(b,{isMobile:e},(0,o.h)("p",null,n)),e&&g&&(0,o.h)(A,{onClick:()=>{d.clickThePreviousClickedElement(),m(!1)}},"Acessar Link")))}},{preact:"gdb49","styled-components":"cCe5U","preact/hooks":"9Dac5","../../services/magnifierService":"i28yz","../../services/textCollectorService":"5h9gT","../../yotta/assets/tokens/colors":"8UG5g","../../components/Icons/Close":"gCC4v","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],hOgKr:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("../components/ResourceButton"),r=i.interopDefault(s),l=e("reactn"),c=e("../hooks/useCommandStack"),d=e("../commands/pageStructureCommands/ActivePageStructureCommand"),m=e("preact/hooks"),p=e("../services/analytics"),u=e("../components/Icons/PageStructure"),h=i.interopDefault(u),g=e("../services/pageStructureService"),f=e("../stores/useTranslation");n.default=()=>{let[{pageStructureState:e}]=(0,l.useGlobal)(),{execute:t}=(0,c.useCommandStack)(),{translate:n,language:a}=(0,f.useTranslationStore)();(0,m.useEffect)(()=>{"true"===(0,g.getPageStructureActivatedValue)()&&"none"===e&&t(new(0,d.ActivePageStructureCommand))},[e]),(0,m.useEffect)(()=>{"none"!==e&&"deactivate"===e&&(0,p.handleAnalyticsPageStructure)(!1)},[e]);let i=(0,m.useMemo)(()=>({title:n("pageStructure"),ariaLabelInactive:n("pageStructureAriaLabelInactive"),ariaLabelActive:n("pageStructureAriaLabelActive")}),[a]);return(0,o.h)(r.default,{onClick:()=>{t(new(0,d.ActivePageStructureCommand))},icon:(0,o.h)(h.default,null),title:i.title,ariaLabelInactive:i.ariaLabelInactive,ariaLabelActive:i.ariaLabelActive})}},{preact:"gdb49","../components/ResourceButton":"bnNUx",reactn:"iVSVY","../hooks/useCommandStack":"2LAi9","../commands/pageStructureCommands/ActivePageStructureCommand":"eyPsi","preact/hooks":"9Dac5","../services/analytics":"9b6Tu","../components/Icons/PageStructure":"f26Ij","../services/pageStructureService":"czYz6","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],eyPsi:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"ActivePageStructureCommand",()=>l);var o=e("reactn"),s=e("./DeactivatePageStructureCommand"),r=e("../../services/pageStructureService");class l{constructor(){this.execute=async()=>{await (0,o.setGlobal)({pageStructureState:"active"}),(0,r.setPageStructureActivatedValue)("true")},this.undo=async()=>{new(0,s.DeactivatePageStructureCommand)().execute()}}}},{reactn:"iVSVY","./DeactivatePageStructureCommand":"crWQt","../../services/pageStructureService":"czYz6","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],crWQt:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"DeactivatePageStructureCommand",()=>l);var o=e("reactn"),s=e("./ActivePageStructureCommand"),r=e("../../services/pageStructureService");class l{constructor(){this.execute=async()=>{await (0,o.setGlobal)({pageStructureState:"deactivate"}),(0,r.setPageStructureActivatedValue)("false")},this.undo=async()=>{new(0,s.ActivePageStructureCommand)().execute()}}}},{reactn:"iVSVY","./ActivePageStructureCommand":"eyPsi","../../services/pageStructureService":"czYz6","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],czYz6:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"getTitles",()=>c),i.export(n,"getLinks",()=>m),i.export(n,"getSections",()=>p),i.export(n,"getPageStructureActivatedValue",()=>h),i.export(n,"setPageStructureActivatedValue",()=>g);let o=["script",".ht-skip",".ht-exception",".ht-exception *"],s=o.join("):not("),r=0,l=()=>"ht-"+r++,c=()=>{let e=[];return document.querySelectorAll(`h1:not(${s}), h2:not(${s}), h3:not(${o.join("):not(")}), h4:not(${s}), h5:not(${o.join("):not(")}), h6:not(${s})`).forEach(t=>{let n=t.id.length>0?t.id:t.id=l();e.push({hierarchy:t.tagName,title:t.textContent,headHref:"#"+n})}),e},d=e=>{let t=e.textContent;if(!(!t||""===t.trim()))return t;let n=e.getElementsByTagName("img");if(0===n.length)return"";let a=n[0].alt;return a||""},m=()=>{let e=[];return document.querySelectorAll(`a:not(${s}), [role="link"]:not(${s}`).forEach(t=>{let n=t.getAttribute("href")||"#",a=null==n?void 0:n.includes("http"),i=d(t);e.push({linkContent:i,href:n,isExternal:a})}),e},p=()=>{let e=[];return["header","menu","main","footer"].forEach(t=>{let n=document.getElementsByTagName(t);if(n.length>0){let a=n[0].id.length>0?n[0].id:n[0].id=l();e.push({section:t,sectionHref:"#"+a})}}),e},u="HTPageStructureActivated",h=()=>sessionStorage.getItem(u),g=e=>{sessionStorage.setItem(u,e)}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],f26Ij:[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M14.7059 21.6241C14.2859 21.9508 13.6909 21.9508 13.2709 21.6241L6.0959 16.0475C5.6759 15.7208 5.09257 15.7208 4.67257 16.0475C4.07757 16.5141 4.07757 17.4125 4.67257 17.8791L12.5592 24.0158C13.3992 24.6691 14.5776 24.6691 15.4292 24.0158L23.3159 17.8791C23.9109 17.4125 23.9109 16.5141 23.3159 16.0475L23.3042 16.0358C22.8842 15.7091 22.3009 15.7091 21.8809 16.0358L14.7059 21.6241ZM15.4409 18.1008L23.3276 11.9641C23.9226 11.4975 23.9226 10.5875 23.3276 10.1208L15.4409 3.98414C14.6009 3.33081 13.4226 3.33081 12.5709 3.98414L4.68424 10.1325C4.08924 10.5991 4.08924 11.5091 4.68424 11.9758L12.5709 18.1125C13.4109 18.7658 14.6009 18.7658 15.4409 18.1008Z",fill:"#656565"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],zObaf:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("styled-components"),r=i.interopDefault(s),l=e("../../services/pageStructureService"),c=e("preact/hooks"),d=e("../../services/analytics"),m=e("reactn"),p=e("../../commands/pageStructureCommands/DeactivatePageStructureCommand"),u=e("../../components/IconButton"),h=i.interopDefault(u),g=e("../../components/Icons/Arrows"),f=e("../../yotta/assets/tokens/colors"),v=e("../../hooks/useFocusOnReady"),C=i.interopDefault(v),S=e("../../components/Icons/Links"),y=e("../../stores/useTranslation");let b=e=>e,x,L,A,w,I,k,T,M,E,j,D,_=e=>e?({H1:"0px",H2:"36px",H3:"52px",H4:"68px",H5:"84px",H6:"100px"})[e]:"0px",H=r.default.div(x||(x=b` &&& { display: flex; flex-direction: column; height: 100%; width: 100%; background-color: ${0}; position: absolute; top: 0; } `),({theme:e})=>e.colors.surface.dim.background),N=r.default.nav(L||(L=b` &&& { all: initial; width: 100%; } `)),R=r.default.ul(A||(A=b` &&& { all: initial; display: flex; justify-content: center; list-style: none; border-bottom: 1px solid ${0}; width: 100%; height: 48px; } `),({theme:e})=>e.colors.border.low),V=r.default.li(w||(w=b` &&& { all: initial; flex: 1; text-align: center; padding: 12px; cursor: pointer; ${0} } `),({isSelected:e,theme:t})=>e&&`border-bottom: 3px solid ${t.colors.primary.default};`),F=r.default.a(I||(I=b` &&& { text-decoration: none; color: ${0}; font: ${0}; text-align: center; transition: all 0.3s; cursor: pointer; } `),({theme:e,isSelected:t})=>t?e.colors.primary.default:e.colors.surface.onSurface,({theme:e,isSelected:t})=>t?e.typography.label.mdBold:e.typography.label.md),O=r.default.ul(k||(k=b` &&& { all: initial; display: flex; flex-direction: column; gap: 10px; padding: 26px 8px 16px; height: 100%; overflow-x: hidden; overflow-y: scroll; @-moz-document url-prefix() { scrollbar-width: thin; scrollbar-color: #666666 transparent; } &::-webkit-scrollbar { width: 4px; padding: 10px; } &::-webkit-scrollbar-track { background: none; } &::-webkit-scrollbar-thumb { background: ${0}; border-radius: 35px; } &::-webkit-scrollbar-thumb:hover { background: #555; } } `),f.neutral.color.low.medium),P=r.default.li(T||(T=b` &&& { all: initial; display: flex; align-items: center; padding: 10px 6px; margin-left: ${0}; cursor: pointer; border: 2px solid transparent; border-radius: ${0}; &:hover { background-color: transparent; border-color: ${0}; } &:active { background-color: ${0}; } &:focus-within { outline: 2px solid ${0}; transition: 0s; a { text-decoration: underline; border: none !important; outline: none !important; } } } `),({hierarchy:e})=>_(e),({theme:e})=>e.borderRadius.sm,({theme:e})=>e.colors.primary.default,({theme:e})=>e.colors.surface.hover,({theme:e})=>e.colors.primary.default),$=r.default.div(M||(M=b` &&& { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-right: 10px; padding: ${0}; background-color: ${0}; border: 0.5px solid ${0}; border-radius: ${0}; font: ${0}; color: ${0}; svg path { fill: ${0}; } } `),({withoutPadding:e})=>e?"0":"4px 8px",({theme:e})=>e.colors.primaryContainer.default,({theme:e})=>e.colors.primary.default,({theme:e})=>e.borderRadius.xsm,({theme:e})=>e.typography.label.smBold,({theme:e})=>e.colors.primary.default,({theme:e})=>e.colors.primary.default),B=r.default.a(E||(E=b` &&& { font: ${0}; color: ${0}; text-decoration: underline !important; } `),({theme:e})=>e.typography.link.md,({theme:e})=>e.colors.surface.onSurface),G=r.default.div(j||(j=b` &&& { all: initial; display: flex; height: 48px; width: 100%; padding: 4px 0px 4px; align-items: center; background-color: ${0}; box-shadow: ${0}; } `),({theme:e})=>e.colors.surface.bright.background,({theme:e})=>e.shadow[3]),U=r.default.h4(D||(D=b` &&& { all: initial; white-space: nowrap; color: ${0}; font: ${0}; } `),({theme:e})=>e.colors.surface.onSurface,({theme:e})=>e.typography.title.sm),z=()=>{new(0,p.DeactivatePageStructureCommand)().execute()};n.default=()=>{let[{isMobile:e,pageStructureState:t}]=(0,m.useGlobal)(),{translate:n}=(0,y.useTranslationStore)(),[a,i]=(0,c.useState)({content:[],typeStructure:"titles"}),s=(e,t)=>((0,d.handleAnalyticsTabPageStructure)(t),i({content:e(),typeStructure:t}));(0,c.useEffect)(()=>{(0,d.handleAnalyticsPageStructure)(!0),s(l.getTitles,"titles")},[]);let r=(0,C.default)({isReady:"active"===t});return(0,o.h)(H,null,(0,o.h)(G,null,(0,o.h)(h.default.default,{ariaLabel:n("pageStructureBack"),icon:(0,o.h)(g.ArrowLeftIcon,null),onClick:z}),(0,o.h)(U,{ref:r,tabIndex:0},n("pageStructure"))),(0,o.h)(N,null,(0,o.h)(R,{isMobile:e},(0,o.h)(V,{isSelected:"titles"===a.typeStructure,onClick:()=>s(l.getTitles,"titles")},(0,o.h)(F,{isSelected:"titles"===a.typeStructure},n("titles"))),(0,o.h)(V,{isSelected:"links"===a.typeStructure,onClick:()=>s(l.getLinks,"links")},(0,o.h)(F,{isSelected:"links"===a.typeStructure},"Links")),(0,o.h)(V,{isSelected:"sections"===a.typeStructure,onClick:()=>s(l.getSections,"sections")},(0,o.h)(F,{isSelected:"sections"===a.typeStructure},n("sections"))))),(0,o.h)(O,null,"titles"===a.typeStructure&&a.content.map(e=>(0,o.h)(P,{role:"button",key:e.headHref,hierarchy:e.hierarchy,onClick:()=>{window.location.href=e.headHref}},(0,o.h)($,null,e.hierarchy),(0,o.h)(B,{href:e.headHref},e.title))),"links"===a.typeStructure&&a.content.map(e=>(0,o.h)(P,{role:"button",key:e.href,onClick:()=>{if(e.isExternal)return void window.open(e.href);window.location.href=e.href}},(0,o.h)($,{withoutPadding:!0},e.isExternal?(0,o.h)(S.ExternalLinkIcon,null):(0,o.h)(S.AccessLinkIcon,null)),(0,o.h)(B,{href:e.href,target:e.isExternal?"_blank":"_self"},e.linkContent))),"sections"===a.typeStructure&&a.content.map(e=>(0,o.h)(P,{role:"button",key:e.sectionHref,onClick:()=>{window.location.href=e.sectionHref}},(0,o.h)($,{withoutPadding:!0},(0,o.h)(S.AccessLinkIcon,null)),(0,o.h)(B,{href:e.sectionHref},n(e.section))))))}},{preact:"gdb49","styled-components":"cCe5U","../../services/pageStructureService":"czYz6","preact/hooks":"9Dac5","../../services/analytics":"9b6Tu",reactn:"iVSVY","../../commands/pageStructureCommands/DeactivatePageStructureCommand":"crWQt","../../components/IconButton":"foExY","../../components/Icons/Arrows":"3D2n7","../../yotta/assets/tokens/colors":"8UG5g","../../hooks/useFocusOnReady":"h1l18","../../components/Icons/Links":"5Wkof","../../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"3D2n7":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"ArrowLeftIcon",()=>l),i.export(n,"ArrowRightIcon",()=>c);var o=e("preact"),s=e("./IconWrapper"),r=i.interopDefault(s);let l=()=>(0,o.h)(r.default,null,(0,o.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M11.042 18.0421L5.60401 12.6251C5.50667 12.5278 5.43734 12.4271 5.39601 12.3231C5.35401 12.2191 5.33301 12.1114 5.33301 12.0001C5.33301 11.8888 5.35401 11.7811 5.39601 11.6771C5.43734 11.5731 5.50667 11.4724 5.60401 11.3751L11.042 5.93811C11.2087 5.77145 11.41 5.68445 11.646 5.67711C11.882 5.67045 12.0903 5.75745 12.271 5.93811C12.4377 6.10478 12.521 6.30945 12.521 6.55211C12.521 6.79545 12.4377 7.00045 12.271 7.16711L8.31201 11.1251H17.438C17.674 11.1251 17.8787 11.2118 18.052 11.3851C18.2253 11.5591 18.312 11.7641 18.312 12.0001C18.312 12.2361 18.2253 12.4411 18.052 12.6151C17.8787 12.7884 17.674 12.8751 17.438 12.8751H8.31201L12.271 16.8331C12.4377 16.9998 12.5243 17.1978 12.531 17.4271C12.5383 17.6564 12.4517 17.8614 12.271 18.0421C12.1043 18.2088 11.8993 18.2921 11.656 18.2921C11.4133 18.2921 11.2087 18.2088 11.042 18.0421Z",fill:"#333333"}))),c=()=>(0,o.h)(r.default,null,(0,o.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M11.042 18.0421L5.60401 12.6251C5.50667 12.5278 5.43734 12.4271 5.39601 12.3231C5.35401 12.2191 5.33301 12.1114 5.33301 12.0001C5.33301 11.8888 5.35401 11.7811 5.39601 11.6771C5.43734 11.5731 5.50667 11.4724 5.60401 11.3751L11.042 5.93811C11.2087 5.77145 11.41 5.68445 11.646 5.67711C11.882 5.67045 12.0903 5.75745 12.271 5.93811C12.4377 6.10478 12.521 6.30945 12.521 6.55211C12.521 6.79545 12.4377 7.00045 12.271 7.16711L8.31201 11.1251H17.438C17.674 11.1251 17.8787 11.2118 18.052 11.3851C18.2253 11.5591 18.312 11.7641 18.312 12.0001C18.312 12.2361 18.2253 12.4411 18.052 12.6151C17.8787 12.7884 17.674 12.8751 17.438 12.8751H8.31201L12.271 16.8331C12.4377 16.9998 12.5243 17.1978 12.531 17.4271C12.5383 17.6564 12.4517 17.8614 12.271 18.0421C12.1043 18.2088 11.8993 18.2921 11.656 18.2921C11.4133 18.2921 11.2087 18.2088 11.042 18.0421Z",fill:"#333333",transform:"scale(-1, 1) translate(-24, 0)"})))},{preact:"gdb49","./IconWrapper":"6RUzA","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"6RUzA":[function(e,t,n,a){let i;var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(n);var s=e("styled-components");n.default=o.interopDefault(s).default.span(i||(i=(e=>e)` &&& { display: flex; svg > path { fill: ${0}; } } `),({theme:e})=>e.colors.surface.onSurface)},{"styled-components":"cCe5U","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],h1l18:[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact/hooks");n.default=({isReady:e})=>{let t=(0,i.useRef)(null);return(0,i.useEffect)(()=>{e&&t.current&&t.current.focus()},[e]),t}},{"preact/hooks":"9Dac5","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],dLdBg:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("preact/compat"),r=e("reactn"),l=e("../components/ResourceButton"),c=i.interopDefault(l),d=e("../components/Icons/PauseAnimations"),m=i.interopDefault(d),p=e("../hooks/useDebounce"),u=e("../hooks/useCommandStack"),h=e("../constants/config"),g=e("../commands/pauseAnimationsCommands/ActivePauseAnimationsCommand"),f=e("../commands/pauseAnimationsCommands/DeactivatePauseAnimationsCommand"),v=e("../services/analytics"),C=e("../services/pauseAnimationsService"),S=e("../stores/useTranslation");n.default=()=>{let[{pauseAnimationsState:e,isMobile:t}]=(0,r.useGlobal)(),n=(0,p.useDebounce)(e,h.analyticsDebounceTime),{execute:a}=(0,u.useCommandStack)(),{translate:i,language:l}=(0,S.useTranslationStore)();(0,s.useEffect)(()=>{"none"!==n&&(0,v.handleAnalyticsPauseAnimations)("active"===n)},[n]);let d=(0,s.useMemo)(()=>+("active"===e),[e]);(0,s.useEffect)(()=>{"true"===(0,C.getPauseAnimationsActivatedValue)()&&"none"===e&&a(new(0,g.ActivePauseAnimationsCommand))},[e]);let y=(0,s.useMemo)(()=>({title:i("pauseAnimations"),ariaLabelInactive:i("pauseAnimationsAriaLabelInactive"),ariaLabelActive:i("pauseAnimationsAriaLabelActive")}),[l]);return(0,o.h)(c.default,{onClick:()=>{a("active"==("active"===e?"deactivate":"active")?new(0,g.ActivePauseAnimationsCommand):new(0,f.DeactivatePauseAnimationsCommand))},isMobile:t,icon:(0,o.h)(m.default,null),title:y.title,ariaLabelInactive:y.ariaLabelInactive,ariaLabelActive:y.ariaLabelActive,dotsLength:h.pauseAnimationsList.length-1,dotsIndex:d})}},{preact:"gdb49","preact/compat":"8ZO42",reactn:"iVSVY","../components/ResourceButton":"bnNUx","../components/Icons/PauseAnimations":"9p6xa","../hooks/useDebounce":"c67Vm","../hooks/useCommandStack":"2LAi9","../constants/config":"kqbjQ","../commands/pauseAnimationsCommands/ActivePauseAnimationsCommand":"8wR62","../commands/pauseAnimationsCommands/DeactivatePauseAnimationsCommand":"evpko","../services/analytics":"9b6Tu","../services/pauseAnimationsService":"1RkBJ","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"9p6xa":[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M11.6667 17.5C11.9972 17.5 12.2743 17.3882 12.4979 17.1646C12.7215 16.941 12.8333 16.6639 12.8333 16.3334V11.6667C12.8333 11.3362 12.7215 11.0591 12.4979 10.8355C12.2743 10.6118 11.9972 10.5 11.6667 10.5C11.3361 10.5 11.059 10.6118 10.8354 10.8355C10.6118 11.0591 10.5 11.3362 10.5 11.6667V16.3334C10.5 16.6639 10.6118 16.941 10.8354 17.1646C11.059 17.3882 11.3361 17.5 11.6667 17.5ZM16.3333 17.5C16.6639 17.5 16.941 17.3882 17.1646 17.1646C17.3882 16.941 17.5 16.6639 17.5 16.3334V11.6667C17.5 11.3362 17.3882 11.0591 17.1646 10.8355C16.941 10.6118 16.6639 10.5 16.3333 10.5C16.0028 10.5 15.7257 10.6118 15.5021 10.8355C15.2785 11.0591 15.1667 11.3362 15.1667 11.6667V16.3334C15.1667 16.6639 15.2785 16.941 15.5021 17.1646C15.7257 17.3882 16.0028 17.5 16.3333 17.5ZM14 25.6667C12.3861 25.6667 10.8694 25.3605 9.44999 24.748C8.03055 24.1355 6.79583 23.3042 5.74583 22.2542C4.69583 21.2042 3.86458 19.9695 3.25208 18.55C2.63958 17.1306 2.33333 15.6139 2.33333 14C2.33333 13.3778 2.38194 12.7556 2.47916 12.1334C2.57638 11.5112 2.72222 10.8987 2.91666 10.2959C3.01388 9.98476 3.21319 9.77573 3.51458 9.66879C3.81597 9.56185 4.10277 9.58615 4.37499 9.74171C4.66666 9.89726 4.87569 10.1257 5.00208 10.4271C5.12847 10.7285 5.14305 11.0445 5.04583 11.375C4.92916 11.8028 4.8368 12.2355 4.76874 12.673C4.70069 13.1105 4.66666 13.5528 4.66666 14C4.66666 16.6056 5.57083 18.8125 7.37916 20.6209C9.18749 22.4292 11.3944 23.3334 14 23.3334C16.6055 23.3334 18.8125 22.4292 20.6208 20.6209C22.4292 18.8125 23.3333 16.6056 23.3333 14C23.3333 11.3945 22.4292 9.18754 20.6208 7.37921C18.8125 5.57087 16.6055 4.66671 14 4.66671C13.5333 4.66671 13.0715 4.70074 12.6146 4.76879C12.1576 4.83685 11.7056 4.93893 11.2583 5.07504C10.9278 5.17226 10.6167 5.16254 10.325 5.04587C10.0333 4.92921 9.81944 4.72504 9.68333 4.43337C9.54722 4.14171 9.54236 3.84518 9.66874 3.54379C9.79513 3.2424 10.0139 3.0431 10.325 2.94587C10.9083 2.73199 11.5111 2.57643 12.1333 2.47921C12.7555 2.38199 13.3778 2.33337 14 2.33337C15.6139 2.33337 17.1305 2.63962 18.55 3.25212C19.9694 3.86462 21.2042 4.69587 22.2542 5.74587C23.3042 6.79587 24.1354 8.0306 24.7479 9.45004C25.3604 10.8695 25.6667 12.3862 25.6667 14C25.6667 15.6139 25.3604 17.1306 24.7479 18.55C24.1354 19.9695 23.3042 21.2042 22.2542 22.2542C21.2042 23.3042 19.9694 24.1355 18.55 24.748C17.1305 25.3605 15.6139 25.6667 14 25.6667ZM6.41666 8.16671C5.93055 8.16671 5.51736 7.99657 5.17708 7.65629C4.8368 7.31601 4.66666 6.90282 4.66666 6.41671C4.66666 5.9306 4.8368 5.5174 5.17708 5.17712C5.51736 4.83685 5.93055 4.66671 6.41666 4.66671C6.90277 4.66671 7.31597 4.83685 7.65624 5.17712C7.99652 5.5174 8.16666 5.9306 8.16666 6.41671C8.16666 6.90282 7.99652 7.31601 7.65624 7.65629C7.31597 7.99657 6.90277 8.16671 6.41666 8.16671Z",fill:"#656565"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],aDzsu:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("preact/compat"),r=e("reactn"),l=e("../components/ResourceButton"),c=i.interopDefault(l),d=e("../components/Icons/HighlightHeadings"),m=i.interopDefault(d),p=e("../hooks/useDebounce"),u=e("../hooks/useCommandStack"),h=e("../constants/config"),g=e("../commands/highlightHeadingsCommands/ActiveHighlightHeadingsCommand"),f=e("../commands/highlightHeadingsCommands/DeactivateHighlightHeadingsCommand"),v=e("../services/analytics"),C=e("../services/highlightHeadingsService"),S=e("../stores/useTranslation");n.default=()=>{let[{highlightHeadingsState:e,isMobile:t}]=(0,r.useGlobal)(),n=(0,p.useDebounce)(e,h.analyticsDebounceTime),{execute:a}=(0,u.useCommandStack)(),{translate:i,language:l}=(0,S.useTranslationStore)();(0,s.useEffect)(()=>{"none"!==n&&(0,v.handleHighlightHeadingsAnalytics)("active"===n)},[n]);let d=(0,s.useMemo)(()=>+("active"===e),[e]);(0,s.useEffect)(()=>{"true"===(0,C.getHighlightHeadingsActivatedValue)()&&"none"===e&&a(new(0,g.ActiveHighlightHeadingsCommand))},[e]);let y=(0,s.useMemo)(()=>({title:i("highlightHeadings"),ariaLabelInactive:i("highlightHeadingsAriaLabelInactive"),ariaLabelActive:i("highlightHeadingsAriaLabelActive")}),[l]);return(0,o.h)(c.default,{onClick:()=>{a("active"==("active"===e?"deactivate":"active")?new(0,g.ActiveHighlightHeadingsCommand):new(0,f.DeactivateHighlightHeadingsCommand))},isMobile:t,icon:(0,o.h)(m.default,null),title:y.title,ariaLabelInactive:y.ariaLabelInactive,ariaLabelActive:y.ariaLabelActive,dotsLength:h.highlightHeadingsList.length-1,dotsIndex:d})}},{preact:"gdb49","preact/compat":"8ZO42",reactn:"iVSVY","../components/ResourceButton":"bnNUx","../components/Icons/HighlightHeadings":"ix9eG","../hooks/useDebounce":"c67Vm","../hooks/useCommandStack":"2LAi9","../constants/config":"kqbjQ","../commands/highlightHeadingsCommands/ActiveHighlightHeadingsCommand":"blSpm","../commands/highlightHeadingsCommands/DeactivateHighlightHeadingsCommand":"cHfNf","../services/analytics":"9b6Tu","../services/highlightHeadingsService":"4gdh3","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],ix9eG:[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M5.83333 24.5C5.19167 24.5 4.64236 24.2715 4.18542 23.8146C3.72847 23.3576 3.5 22.8083 3.5 22.1667V5.83333C3.5 5.19167 3.72847 4.64236 4.18542 4.18542C4.64236 3.72847 5.19167 3.5 5.83333 3.5H22.1667C22.8083 3.5 23.3576 3.72847 23.8146 4.18542C24.2715 4.64236 24.5 5.19167 24.5 5.83333V22.1667C24.5 22.8083 24.2715 23.3576 23.8146 23.8146C23.3576 24.2715 22.8083 24.5 22.1667 24.5H5.83333ZM5.83333 22.1667H22.1667V5.83333H5.83333V22.1667ZM8.75 11.6667H15.75C16.2361 11.6667 16.6493 11.4965 16.9896 11.1562C17.3299 10.816 17.5 10.4028 17.5 9.91667C17.5 9.43056 17.3299 9.01736 16.9896 8.67708C16.6493 8.33681 16.2361 8.16667 15.75 8.16667H8.75C8.26389 8.16667 7.85069 8.33681 7.51042 8.67708C7.17014 9.01736 7 9.43056 7 9.91667C7 10.4028 7.17014 10.816 7.51042 11.1562C7.85069 11.4965 8.26389 11.6667 8.75 11.6667Z",fill:"#656565"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],blSpm:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"ActiveHighlightHeadingsCommand",()=>c);var o=e("reactn"),s=e("./DeactivateHighlightHeadingsCommand"),r=e("../../services/appActivator"),l=e("../../services/highlightHeadingsService");class c{constructor(){this.execute=async()=>{l.activate(),await (0,o.setGlobal)({highlightHeadingsState:"active"}),l.setHighlightHeadingsActivatedValue("true"),r.appActivator.handleAddon()},this.undo=async()=>{let e=new(0,s.DeactivateHighlightHeadingsCommand);return await e.execute()}}}},{reactn:"iVSVY","./DeactivateHighlightHeadingsCommand":"cHfNf","../../services/appActivator":"eOZgV","../../services/highlightHeadingsService":"4gdh3","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],cHfNf:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"DeactivateHighlightHeadingsCommand",()=>c);var o=e("reactn"),s=e("./ActiveHighlightHeadingsCommand"),r=e("../../services/appActivator"),l=e("../../services/highlightHeadingsService");class c{constructor(){this.execute=async()=>{l.deactivate(),await (0,o.setGlobal)({highlightHeadingsState:"deactivate"}),l.setHighlightHeadingsActivatedValue("false"),r.appActivator.handleAddon()},this.undo=async()=>{let e=new(0,s.ActiveHighlightHeadingsCommand);return await e.execute()}}}},{reactn:"iVSVY","./ActiveHighlightHeadingsCommand":"blSpm","../../services/appActivator":"eOZgV","../../services/highlightHeadingsService":"4gdh3","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"4gdh3":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"activate",()=>l),i.export(n,"deactivate",()=>c),i.export(n,"getHighlightHeadingsActivatedValue",()=>m),i.export(n,"setHighlightHeadingsActivatedValue",()=>p);let o=new CSSStyleSheet,s=["script",".ht-skip",".ht-exception",".ht-exception *"],r="HTHighlightHeadingsActivated",l=()=>{let e=`not(${s.join(",")})`;d(`h1:${e}, h2:${e}, h3:${e}, h4:${e}, h5:${e}, h6:${e} { font-weight: 900; text-decoration: underline; } `)},c=()=>{d("")},d=e=>{o.replaceSync(e),document.adoptedStyleSheets.includes(o)||document.adoptedStyleSheets.push(o)},m=()=>sessionStorage.getItem(r),p=e=>{sessionStorage.setItem(r,e)}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],bpIRd:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("../components/ResourceButton"),r=i.interopDefault(s),l=e("reactn"),c=e("preact/hooks"),d=e("../constants/config"),m=e("../hooks/useCommandStack"),p=e("../hooks/useDebounce"),u=e("../services/analytics"),h=e("../commands/hideImagesCommands/ActiveHideImagesCommand"),g=e("../commands/hideImagesCommands/DeactivateHideImagesCommand"),f=e("../components/Icons/HideImage"),v=i.interopDefault(f),C=e("../services/hideImagesService"),S=e("../stores/useTranslation");n.default=()=>{let[{hideImagesState:e,isMobile:t}]=(0,l.useGlobal)(),{execute:n}=(0,m.useCommandStack)(),{translate:a,language:i}=(0,S.useTranslationStore)(),s=(0,p.useDebounce)(e,d.analyticsDebounceTime);(0,c.useEffect)(()=>{"none"!==s&&(0,u.handleAnalyticsHideImages)("active"===s)},[s]),(0,c.useEffect)(()=>{"true"===(0,C.getHideImagesActivatedValue)()&&"none"===e&&n(new(0,h.ActiveHideImagesCommand))},[e]);let f=(0,c.useMemo)(()=>+("active"===e),[e]),y=(0,c.useMemo)(()=>({title:a("hideImages"),ariaLabelInactive:a("hideImagesAriaLabelInactive"),ariaLabelActive:a("hideImagesAriaLabelActive")}),[i]);return(0,o.h)(r.default,{onClick:()=>{n("active"==("active"===e?"deactivate":"active")?new(0,h.ActiveHideImagesCommand):new(0,g.DeactivateHideImagesCommand))},isMobile:t,icon:(0,o.h)(v.default,null),title:y.title,ariaLabelInactive:y.ariaLabelInactive,ariaLabelActive:y.ariaLabelActive,dotsLength:d.hideImagesList.length-1,dotsIndex:f})}},{preact:"gdb49","../components/ResourceButton":"bnNUx",reactn:"iVSVY","preact/hooks":"9Dac5","../constants/config":"kqbjQ","../hooks/useCommandStack":"2LAi9","../hooks/useDebounce":"c67Vm","../services/analytics":"9b6Tu","../commands/hideImagesCommands/ActiveHideImagesCommand":"iA89L","../commands/hideImagesCommands/DeactivateHideImagesCommand":"cK9D5","../components/Icons/HideImage":"2KeUC","../services/hideImagesService":"aepuf","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],iA89L:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"ActiveHideImagesCommand",()=>c);var o=e("reactn"),s=e("./DeactivateHideImagesCommand"),r=e("../../services/hideImagesService"),l=e("../../services/appActivator");class c{constructor(){this.execute=async()=>{(0,r.hideImages)(),await (0,o.setGlobal)({hideImagesState:"active"}),(0,r.setHideImagesActivatedValue)("true"),l.appActivator.handleAddon()},this.undo=async()=>{let e=new(0,s.DeactivateHideImagesCommand);return await e.execute()}}}},{reactn:"iVSVY","./DeactivateHideImagesCommand":"cK9D5","../../services/hideImagesService":"aepuf","../../services/appActivator":"eOZgV","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],cK9D5:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"DeactivateHideImagesCommand",()=>c);var o=e("reactn"),s=e("../../services/hideImagesService"),r=e("./ActiveHideImagesCommand"),l=e("../../services/appActivator");class c{constructor(){this.execute=async()=>{(0,s.showImages)(),await (0,o.setGlobal)({hideImagesState:"deactivate"}),(0,s.setHideImagesActivatedValue)("false"),l.appActivator.handleAddon()},this.undo=async()=>{let e=new(0,r.ActiveHideImagesCommand);return await e.execute()}}}},{reactn:"iVSVY","../../services/hideImagesService":"aepuf","./ActiveHideImagesCommand":"iA89L","../../services/appActivator":"eOZgV","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],aepuf:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"hideImages",()=>l),i.export(n,"showImages",()=>c),i.export(n,"getHideImagesActivatedValue",()=>m),i.export(n,"setHideImagesActivatedValue",()=>p);let o=new CSSStyleSheet,s="HTHideImagesActivated",r=["script",".ht-skip",".ht-exception",".ht-exception *"],l=()=>{d(`body img:not(${r.join(",")}) { background: black; filter: contrast(0) brightness(1.8); opacity: 0.3; }`)},c=()=>{d("")},d=e=>{o.replaceSync(e),document.adoptedStyleSheets.includes(o)||document.adoptedStyleSheets.push(o)},m=()=>sessionStorage.getItem(s),p=e=>{sessionStorage.setItem(s,e)}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"2KeUC":[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M24.5 5.83333V18.3458C24.5 18.6181 24.4319 18.8417 24.2958 19.0167C24.1597 19.1917 23.9847 19.3278 23.7708 19.425C23.5569 19.5222 23.343 19.5563 23.1292 19.5271C22.9153 19.4979 22.7111 19.3861 22.5167 19.1917L8.80832 5.48333C8.61387 5.28889 8.50207 5.08472 8.4729 4.87083C8.44373 4.65694 8.47776 4.44306 8.57498 4.22917C8.67221 4.01528 8.80832 3.84028 8.98332 3.70417C9.15832 3.56806 9.38193 3.5 9.65415 3.5H22.1667C22.8083 3.5 23.3576 3.72847 23.8146 4.18542C24.2715 4.64236 24.5 5.19167 24.5 5.83333ZM5.83332 24.5C5.19165 24.5 4.64234 24.2715 4.1854 23.8146C3.72846 23.3576 3.49998 22.8083 3.49998 22.1667V6.76667L2.44998 5.71667C2.23609 5.50278 2.12915 5.23056 2.12915 4.9C2.12915 4.56944 2.23609 4.29722 2.44998 4.08333C2.66387 3.86944 2.93609 3.7625 3.26665 3.7625C3.59721 3.7625 3.86943 3.86944 4.08332 4.08333L23.9167 23.9167C24.1305 24.1306 24.2375 24.4028 24.2375 24.7333C24.2375 25.0639 24.1305 25.3361 23.9167 25.55C23.7028 25.7639 23.4305 25.8708 23.1 25.8708C22.7694 25.8708 22.4972 25.7639 22.2833 25.55L21.2333 24.5H5.83332ZM16.5375 19.8333L14.0875 17.3833L13.125 18.6667L10.9667 15.7792C10.85 15.6236 10.6944 15.5458 10.5 15.5458C10.3055 15.5458 10.15 15.6236 10.0333 15.7792L7.69998 18.9C7.54443 19.0944 7.52498 19.2986 7.64165 19.5125C7.75832 19.7264 7.93332 19.8333 8.16665 19.8333H16.5375Z",fill:"#656565"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],iz2ZA:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("preact/hooks"),r=e("reactn"),l=e("../constants/config"),c=e("../components/Icons/HighlightedLetters"),d=i.interopDefault(c),m=e("../components/ResourceButton"),p=i.interopDefault(m),u=e("../hooks/useDebounce"),h=e("../hooks/useCommandStack"),g=e("../commands/highlightedLettersCommands/ActiveHighlightedLettersCommand"),f=e("../commands/highlightedLettersCommands/DeactivateHighlightedLettersCommand"),v=e("../services/analytics"),C=e("../services/highlightedLettersService/highlightedLettersService"),S=e("../stores/useTranslation");n.default=()=>{let[{highlightedLettersState:e}]=(0,r.useGlobal)(),{execute:t}=(0,h.useCommandStack)(),{translate:n,language:a}=(0,S.useTranslationStore)(),i=(0,u.useDebounce)(e,l.analyticsDebounceTime);(0,s.useEffect)(()=>{"none"!==i&&(0,v.handleAnalyticsHighlightedLetters)("active"===i)},[i]),(0,s.useEffect)(()=>{"true"===new(0,C.HighlightedLettersService)().getHighlightedLettersActivatedValue()&&"none"===e&&t(new(0,g.ActiveHighlightedLettersCommand))},[e]);let c=l.highlightedLettersList.length-1,m=(0,s.useMemo)(()=>+("active"===e),[e]),y=(0,s.useMemo)(()=>({title:n("highlightedLetters"),ariaLabelInactive:n("highlightedLettersAriaLabelInactive"),ariaLabelActive:n("highlightedLettersAriaLabelActive")}),[a]);return(0,o.h)(p.default,{onClick:()=>{t("active"==("active"===e?"deactivate":"active")?new(0,g.ActiveHighlightedLettersCommand):new(0,f.DeactivateHighlightedLettersCommand))},icon:(0,o.h)(d.default,null),title:y.title,ariaLabelInactive:y.ariaLabelInactive,ariaLabelActive:y.ariaLabelActive,dotsLength:c,dotsIndex:m})}},{preact:"gdb49","preact/hooks":"9Dac5",reactn:"iVSVY","../constants/config":"kqbjQ","../components/Icons/HighlightedLetters":"k7LID","../components/ResourceButton":"bnNUx","../hooks/useDebounce":"c67Vm","../hooks/useCommandStack":"2LAi9","../commands/highlightedLettersCommands/ActiveHighlightedLettersCommand":"d1r8D","../commands/highlightedLettersCommands/DeactivateHighlightedLettersCommand":"jMNyG","../services/analytics":"9b6Tu","../services/highlightedLettersService/highlightedLettersService":"dOKQA","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],k7LID:[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M15.225 11.79C16.195 11.12 16.875 10.02 16.875 9C16.875 6.74 15.125 5 12.875 5H7.625C7.075 5 6.625 5.45 6.625 6V18C6.625 18.55 7.075 19 7.625 19H13.405C15.475 19 17.365 17.31 17.375 15.23C17.385 13.7 16.525 12.39 15.225 11.79ZM9.625 7.5H12.625C13.455 7.5 14.125 8.17 14.125 9C14.125 9.83 13.455 10.5 12.625 10.5H9.625V7.5ZM13.125 16.5H9.625V13.5H13.125C13.955 13.5 14.625 14.17 14.625 15C14.625 15.83 13.955 16.5 13.125 16.5Z",fill:"black"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],d1r8D:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"ActiveHighlightedLettersCommand",()=>c);var o=e("reactn"),s=e("../../services/appActivator"),r=e("../../services/highlightedLettersService/highlightedLettersService"),l=e("./DeactivateHighlightedLettersCommand");class c{constructor(){this.execute=async()=>{this.highlightedLettersService.setHighlightedLettersStyle(),await (0,o.setGlobal)({highlightedLettersState:"active"}),this.highlightedLettersService.setHighlightedLettersActivatedValue("true"),s.appActivator.handleAddon()},this.undo=async()=>{let e=new(0,l.DeactivateHighlightedLettersCommand);return await e.execute()},this.highlightedLettersService=new(0,r.HighlightedLettersService)}}},{reactn:"iVSVY","../../services/appActivator":"eOZgV","../../services/highlightedLettersService/highlightedLettersService":"dOKQA","./DeactivateHighlightedLettersCommand":"jMNyG","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],dOKQA:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"HighlightedLettersService",()=>o);class o{constructor(){this.highlightedLettersActivated="HTHighlightedLettersActivated",this.setHighlightedLettersStyle=()=>{let e=`body *:not(${this.ignoreList.join("):not(")}) { font-weight: 900 !important; }`;o.highlightedLettersStyle.replaceSync(e),document.adoptedStyleSheets.includes(o.highlightedLettersStyle)||document.adoptedStyleSheets.push(o.highlightedLettersStyle)},this.removeHighlightedLettersStyle=()=>{o.highlightedLettersStyle&&o.highlightedLettersStyle.replaceSync("")},this.getHighlightedLettersActivatedValue=()=>sessionStorage.getItem(this.highlightedLettersActivated),this.setHighlightedLettersActivatedValue=e=>{sessionStorage.setItem(this.highlightedLettersActivated,e)},this.ignoreList=["script",".ht-skip",".ht-exception",".ht-exception *"],o.highlightedLettersStyle||(o.highlightedLettersStyle=new CSSStyleSheet)}}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],jMNyG:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"DeactivateHighlightedLettersCommand",()=>c);var o=e("reactn"),s=e("../../services/appActivator"),r=e("../../services/highlightedLettersService/highlightedLettersService"),l=e("./ActiveHighlightedLettersCommand");class c{constructor(){this.execute=async()=>{this.highlightedLettersService.removeHighlightedLettersStyle(),await (0,o.setGlobal)({highlightedLettersState:"deactivate"}),this.highlightedLettersService.setHighlightedLettersActivatedValue("false"),s.appActivator.handleAddon()},this.undo=async()=>{let e=new(0,l.ActiveHighlightedLettersCommand);return await e.execute()},this.highlightedLettersService=new(0,r.HighlightedLettersService)}}},{reactn:"iVSVY","../../services/appActivator":"eOZgV","../../services/highlightedLettersService/highlightedLettersService":"dOKQA","./ActiveHighlightedLettersCommand":"d1r8D","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],ilTE7:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("preact/hooks"),r=e("reactn"),l=e("../constants/config"),c=e("../hooks/useCommandStack"),d=e("../services/analytics"),m=e("../services/domColorBlendService/colorblind/domDaltonismService"),p=e("../commands/colorblindModeCommands/IncreaseColorblindModeCommand"),u=e("../commands/colorblindModeCommands/SetColorblindModeCommand"),h=e("../components/ResourceButton"),g=i.interopDefault(h),f=e("../components/Icons/Colors"),v=i.interopDefault(f),C=e("../stores/useTranslation");n.default=()=>{let[{isMobile:e,colorblindModeState:t}]=(0,r.useGlobal)(),{execute:n}=(0,c.useCommandStack)(),{translate:a,language:i}=(0,C.useTranslationStore)(),[h,f]=(0,s.useState)("none"),S=(0,s.useMemo)(()=>"none"===t?0:t,[t]);(0,s.useEffect)(()=>{let e=(0,m.getColorblindLevel)();0!==e&&n(new(0,u.SetColorblindModeCommand)(e))},[]),(0,s.useEffect)(()=>{if(h!==t){if("none"===t||0===t)(0,d.handleAnalyticsColorblindMode)(!1,0);else if("number"==typeof t&&t>0){let e=l.colorblindDegreeList[t-1];(0,d.handleAnalyticsColorblindMode)(!0,e)}f(t)}},[t,h]);let y=(0,s.useMemo)(()=>{let e=a("colorblind"),t=l.colorblindList.length,n=a("colorblindAriaLabelInactive",{length:t});if(0===S)return{title:e,ariaLabelInactive:n,ariaLabelActive:n};let i=a("colorblindAriaLabelActive",{index:S,length:t}),o=l.colorblindList[S-1];return{title:a(`colorblind.${o}`),ariaLabelInactive:n,ariaLabelActive:i}},[i,S,a]);return(0,o.h)(g.default,{onClick:()=>{n(new(0,p.IncreaseColorblindModeCommand))},isMobile:e,icon:(0,o.h)(v.default,null),title:y.title,ariaLabelInactive:y.ariaLabelInactive,ariaLabelActive:y.ariaLabelActive,dotsLength:l.colorblindList.length,dotsIndex:S})}},{preact:"gdb49","preact/hooks":"9Dac5",reactn:"iVSVY","../constants/config":"kqbjQ","../hooks/useCommandStack":"2LAi9","../services/analytics":"9b6Tu","../services/domColorBlendService/colorblind/domDaltonismService":"i5Syq","../commands/colorblindModeCommands/IncreaseColorblindModeCommand":"8TTLe","../commands/colorblindModeCommands/SetColorblindModeCommand":"2Z6vT","../components/ResourceButton":"bnNUx","../components/Icons/Colors":"dKRtp","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],i5Syq:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"FILTERS",()=>c),i.export(n,"getColorblindLevel",()=>d),i.export(n,"setColorblindLevel",()=>m),i.export(n,"updateColorblindStyle",()=>p),i.export(n,"deactivateColorblind",()=>u);let o="http://www.w3.org/2000/svg",s="dalton-svg-compensation",r="HTColorblindScale",l="ht-colorblind-style",c=[{id:"deuteranopia",matrix:"0.625 0.375 0 0 0 0.7 0.3 0 0 0 0 0.3 0.7 0 0 0 0 0 1 0"},{id:"protanopia",matrix:"0.567 0.433 0 0 0 0.558 0.442 0 0 0 0 0.242 0.758 0 0 0 0 0 1 0"},{id:"tritanopia",matrix:"0.95 0.05 0 0 0 0 0.433 0.567 0 0 0 0.475 0.525 0 0 0 0 0 1 0"}];function d(){let e=sessionStorage.getItem(r);return null!==e?Number(e):0}function m(e){e>0?sessionStorage.setItem(r,String(e)):sessionStorage.removeItem(r)}function p(e){var t;!function(){if(document.getElementById(s))return;let e=document.createElementNS(o,"svg"),t=document.createElementNS(o,"defs");e.id=s,e.setAttribute("aria-hidden","true"),e.setAttribute("xmlns",o),e.style.position="absolute",e.style.width="1px",e.style.height="1px",e.style.opacity="0.00001",e.style.pointerEvents="none",e.style.zIndex="-1",c.forEach(e=>{let n=document.createElementNS(o,"filter");n.id=e.id,n.setAttribute("color-interpolation-filters","sRGB");let a=document.createElementNS(o,"feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("values",e.matrix),n.appendChild(a),t.appendChild(n)}),e.appendChild(t),document.body.appendChild(e)}();let n=null==(t=c[e-1])?void 0:t.id;if(!n)return;let a=document.getElementById(l);a||((a=document.createElement("style")).id=l,document.head.appendChild(a)),a.textContent=` body > :not(.ht-skip) { filter: url(#${n}) !important; } `}function u(){let e=document.getElementById(l);e&&e.remove(),sessionStorage.removeItem(r)}},{"@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"8TTLe":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"IncreaseColorblindModeCommand",()=>l);var o=e("../../constants/config"),s=e("reactn"),r=e("./SetColorblindModeCommand");class l{constructor(){this.previousLevel=0,this.execute=async()=>{let{colorblindModeState:e}=(0,s.getGlobal)(),t="number"==typeof e?e:0;this.previousLevel=t;let n=o.colorblindList.length;new(0,r.SetColorblindModeCommand)(t>=n?0:t+1).execute()},this.undo=async()=>{new(0,r.SetColorblindModeCommand)(this.previousLevel).execute()}}}},{"../../constants/config":"kqbjQ",reactn:"iVSVY","./SetColorblindModeCommand":"2Z6vT","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"2Z6vT":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"SetColorblindModeCommand",()=>l);var o=e("reactn"),s=e("../../services/appActivator"),r=e("../../services/domColorBlendService/colorblind/domDaltonismService");class l{constructor(e){this.level=e,this.previousLevel=0,this.execute=async()=>{let{colorblindModeState:e}=(0,o.getGlobal)();this.previousLevel="number"==typeof e?e:0,0===this.level?(0,r.deactivateColorblind)():(0,r.updateColorblindStyle)(this.level),(0,r.setColorblindLevel)(this.level),await (0,o.setGlobal)({colorblindModeState:this.level}),s.appActivator.handleAddon()},this.undo=async()=>{let e=new l(this.previousLevel);await e.execute()}}}},{reactn:"iVSVY","../../services/appActivator":"eOZgV","../../services/domColorBlendService/colorblind/domDaltonismService":"i5Syq","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],dKRtp:[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M14 5C9.03 5 5 9.03 5 14C5 18.97 9.03 23 14 23C14.83 23 15.5 22.33 15.5 21.5C15.5 21.11 15.35 20.76 15.11 20.49C14.88 20.23 14.73 19.88 14.73 19.5C14.73 18.67 15.4 18 16.23 18H18C20.76 18 23 15.76 23 13C23 8.58 18.97 5 14 5ZM8.5 14C7.67 14 7 13.33 7 12.5C7 11.67 7.67 11 8.5 11C9.33 11 10 11.67 10 12.5C10 13.33 9.33 14 8.5 14ZM11.5 10C10.67 10 10 9.33 10 8.5C10 7.67 10.67 7 11.5 7C12.33 7 13 7.67 13 8.5C13 9.33 12.33 10 11.5 10ZM16.5 10C15.67 10 15 9.33 15 8.5C15 7.67 15.67 7 16.5 7C17.33 7 18 7.67 18 8.5C18 9.33 17.33 10 16.5 10ZM19.5 14C18.67 14 18 13.33 18 12.5C18 11.67 18.67 11 19.5 11C20.33 11 21 11.67 21 12.5C21 13.33 20.33 14 19.5 14Z",fill:"#656565"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],eLdQl:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("reactn"),r=e("preact/hooks"),l=e("../components/ResourceButton"),c=i.interopDefault(l),d=e("../components/Icons/DisableSounds"),m=i.interopDefault(d),p=e("../constants/config"),u=e("../commands/disableSoundsCommands/ActiveDisableSoundsCommand"),h=e("../commands/disableSoundsCommands/DeactivateDisableSoundsCommand"),g=e("../services/analytics"),f=e("../hooks/useCommandStack"),v=e("../hooks/useDebounce"),C=e("../services/mediaService/mediaService"),S=e("../stores/useTranslation");n.default=()=>{let[{disableSoundsState:e,isMobile:t}]=(0,s.useGlobal)(),{execute:n}=(0,f.useCommandStack)(),{translate:a,language:i}=(0,S.useTranslationStore)(),l=(0,v.useDebounce)(e,p.analyticsDebounceTime);(0,r.useEffect)(()=>{"none"!==l&&(0,g.handleDisableSoundsAnalytics)("active"===l)},[l]),(0,r.useEffect)(()=>{"true"===C.mediaService.getDisableSoundsActivatedValue()&&"none"===e&&n(new(0,u.ActiveDisableSoundsCommand))},[e]);let d=(0,r.useMemo)(()=>+("active"===e),[e]),y=(0,r.useMemo)(()=>({title:a("disableSounds"),ariaLabelInactive:a("disableSoundsLabelInactive"),ariaLabelActive:a("disableSoundsLabelActive")}),[i]);return(0,o.h)(c.default,{onClick:()=>{n("active"==("active"===e?"deactivate":"active")?new(0,u.ActiveDisableSoundsCommand):new(0,h.DeactivateDisableSoundsCommand))},isMobile:t,icon:(0,o.h)(m.default,null),title:y.title,ariaLabelInactive:y.ariaLabelInactive,ariaLabelActive:y.ariaLabelActive,dotsLength:p.disableSoundsList.length-1,dotsIndex:d})}},{preact:"gdb49",reactn:"iVSVY","preact/hooks":"9Dac5","../components/ResourceButton":"bnNUx","../components/Icons/DisableSounds":"c53Qy","../constants/config":"kqbjQ","../commands/disableSoundsCommands/ActiveDisableSoundsCommand":"hjkn9","../commands/disableSoundsCommands/DeactivateDisableSoundsCommand":"2HXQO","../services/analytics":"9b6Tu","../hooks/useCommandStack":"2LAi9","../hooks/useDebounce":"c67Vm","../services/mediaService/mediaService":"9VG0f","../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],c53Qy:[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M20.1257 21.3043C19.8216 21.5192 19.504 21.7161 19.173 21.8951C18.842 22.0742 18.4976 22.2353 18.1398 22.3785C17.9251 22.468 17.706 22.468 17.4823 22.3785C17.2587 22.289 17.1022 22.1368 17.0127 21.922C16.9233 21.7251 16.9277 21.5281 17.0261 21.3312C17.1245 21.1343 17.2811 20.991 17.4958 20.9015C17.7641 20.812 18.0191 20.7046 18.2606 20.5793C18.5021 20.454 18.7392 20.3018 18.9718 20.1228L14.5438 15.6918V20.1228C14.5438 20.4808 14.3783 20.727 14.0473 20.8613C13.7163 20.9955 13.4256 20.9373 13.1751 20.6867L9.17655 16.6854H5.68785C5.45527 16.6854 5.26295 16.6093 5.11088 16.4572C4.9588 16.305 4.88277 16.1125 4.88277 15.8798V11.046C4.88277 10.8133 4.9588 10.6208 5.11088 10.4687C5.26295 10.3165 5.45527 10.2404 5.68785 10.2404H9.06921L3.72881 4.89642C3.5678 4.73529 3.49176 4.54284 3.50071 4.31905C3.50965 4.09527 3.59463 3.90281 3.75565 3.74169C3.91667 3.58056 4.10899 3.5 4.33263 3.5C4.55626 3.5 4.74859 3.58056 4.9096 3.74169L24.2585 23.1036C24.4195 23.2647 24.5 23.4572 24.5 23.6809C24.5 23.9047 24.4195 24.0972 24.2585 24.2583C24.0975 24.4194 23.9007 24.5 23.6681 24.5C23.4355 24.5 23.2387 24.4194 23.0777 24.2583L20.1257 21.3043ZM22.5946 13.4361C22.5946 11.7711 22.125 10.2628 21.1857 8.91113C20.2465 7.55946 19.0165 6.57928 17.4958 5.97059C17.2811 5.88107 17.129 5.73785 17.0395 5.54092C16.9501 5.34399 16.9501 5.14706 17.0395 4.95013C17.129 4.73529 17.2855 4.5876 17.5092 4.50703C17.7328 4.42647 17.9609 4.43095 18.1935 4.52046C20.0005 5.25448 21.4541 6.42263 22.5544 8.02494C23.6547 9.62724 24.2048 11.4309 24.2048 13.4361C24.2048 14.1164 24.1377 14.7877 24.0035 15.4501C23.8694 16.1125 23.6591 16.757 23.3729 17.3836C23.2298 17.688 23.0553 17.8715 22.8496 17.9341C22.6438 17.9968 22.4426 17.9834 22.2458 17.8939C22.049 17.8043 21.9014 17.6746 21.803 17.5045C21.7046 17.3344 21.709 17.1509 21.8164 16.954C22.0847 16.4169 22.2815 15.8529 22.4068 15.2621C22.532 14.6714 22.5946 14.0627 22.5946 13.4361ZM17.3079 9.48849C17.9878 9.90026 18.5021 10.4687 18.851 11.1937C19.1999 11.9188 19.3743 12.6752 19.3743 13.4629V13.8657C19.3743 13.991 19.3564 14.1253 19.3206 14.2685C19.2848 14.4476 19.1864 14.5639 19.0254 14.6176C18.8644 14.6714 18.7123 14.6266 18.5692 14.4834L16.9322 12.8453C16.8427 12.7558 16.7801 12.6662 16.7444 12.5767C16.7086 12.4872 16.6907 12.3887 16.6907 12.2813V9.8376C16.6907 9.67647 16.7578 9.55563 16.8919 9.47506C17.0261 9.3945 17.1648 9.39898 17.3079 9.48849ZM12.048 7.9578C11.9586 7.86829 11.9138 7.76982 11.9138 7.6624C11.9138 7.55499 11.9586 7.45652 12.048 7.36701L13.1751 6.23913C13.4256 5.98849 13.7163 5.93031 14.0473 6.06458C14.3783 6.19885 14.5438 6.44501 14.5438 6.80307V9.48849C14.5438 9.66752 14.4588 9.78836 14.2888 9.85102C14.1189 9.91368 13.9713 9.88235 13.846 9.75703L12.048 7.9578Z",fill:"#656565"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],aRmXA:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("preact/hooks"),r=e("reactn"),l=e("../hooks/useCommandStack"),c=e("../stores/useTranslation"),d=e("../commands/synonymsMeaningsCommands/ActiveSynonymsMeaningsCommand"),m=e("../commands/synonymsMeaningsCommands/DeactivateSynonymsMeaningsCommand"),p=e("../components/ResourceButton"),u=i.interopDefault(p),h=e("../components/Icons/BookSparkle"),g=i.interopDefault(h),f=e("../services/synonymsMeaningsService"),v=e("../services/analytics");n.default=()=>{let[{synonymsMeaningsState:e}]=(0,r.useGlobal)(),{translate:t,language:n}=(0,c.useTranslationStore)(),a=(0,l.useCommandStack)(),i="active"===e;(0,s.useEffect)(()=>{"none"!==e&&"deactivate"===e&&(0,v.handleAnalyticsSynonymsMeanings)(!1)},[e]),(0,s.useEffect)(()=>{if("true"===(0,f.getSynonymsMeaningsActivatedValue)()&&"none"===e){let e=new(0,d.ActiveSynonymsMeaningsCommand);a.execute(e)}},[e]);let p=(0,s.useMemo)(()=>({title:t("synonymsMeanings"),ariaLabelInactive:t("synonymsMeaningsAriaLabelInactive"),ariaLabelActive:t("synonymsMeaningsAriaLabelActive")}),[n]);return(0,o.h)(u.default,{onClick:()=>{a.execute(i?new(0,m.DeactivateSynonymsMeaningsCommand):new(0,d.ActiveSynonymsMeaningsCommand))},icon:(0,o.h)(g.default,null),title:p.title,ariaLabelInactive:p.ariaLabelInactive,ariaLabelActive:p.ariaLabelActive})}},{preact:"gdb49","preact/hooks":"9Dac5",reactn:"iVSVY","../hooks/useCommandStack":"2LAi9","../stores/useTranslation":"94OJm","../commands/synonymsMeaningsCommands/ActiveSynonymsMeaningsCommand":"iwESS","../commands/synonymsMeaningsCommands/DeactivateSynonymsMeaningsCommand":"jgV8L","../components/ResourceButton":"bnNUx","../components/Icons/BookSparkle":"2kwoA","../services/synonymsMeaningsService":"g5u3O","../services/analytics":"9b6Tu","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],iwESS:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"ActiveSynonymsMeaningsCommand",()=>m);var o=e("reactn"),s=e("../../services/synonymsMeaningsService"),r=e("./DeactivateSynonymsMeaningsCommand"),l=e("../../services/wordCollectorService/CollectorService"),c=e("../pageSpeechCommands/SetPageSpeechLevelCommand"),d=e("../magnifierCommands/DeactivateMagnifierCommand");class m{constructor(){this.execute=async()=>{await (0,o.setGlobal)({synonymsMeaningsState:"active"});let{pageSpeechState:e,magnifierState:t}=(0,o.getGlobal)();if("none"!==e&&e>0){let e=new(0,c.SetPageSpeechLevelCommand)(0);await e.execute()}if("active"===t){let e=new(0,d.DeactivateMagnifierCommand);await e.execute()}(0,s.setSynonymsMeaningsActivatedValue)("true");let n=l.WordCollectorService.getInstance();n.setCollectorMode("word"),n.activate()},this.undo=async()=>{let e=new(0,r.DeactivateSynonymsMeaningsCommand);await e.execute()}}}},{reactn:"iVSVY","../../services/synonymsMeaningsService":"g5u3O","./DeactivateSynonymsMeaningsCommand":"jgV8L","../../services/wordCollectorService/CollectorService":"ptRIP","../pageSpeechCommands/SetPageSpeechLevelCommand":"4FMYL","../magnifierCommands/DeactivateMagnifierCommand":"k4QMj","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],g5u3O:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"getSynonymsMeaningsActivatedValue",()=>c),i.export(n,"setSynonymsMeaningsActivatedValue",()=>d),i.export(n,"getSynonymsMeanings",()=>m);var o=e("../../constants/config"),s=e("../translationService"),r=e("../translationService/utils/TranslationClientUtils");let l="HTSynonymsMeaningActivated",c=()=>sessionStorage.getItem(l),d=e=>sessionStorage.setItem(l,e);async function m(e,t,n){let a={phrase:e,language:t,token:n},i=location.origin,l=r.TranslationClientUtils.INTEGRITY_KEY+n,c=await r.TranslationClientUtils.generateHmac(JSON.stringify({origin:i,payload:a}),l),d=await fetch(`${o.defaultConfig.apiEndpoint}/api/v2/addons/ai/synonyms-meanings`,{method:"POST",headers:{"Content-Type":"application/json","X-Integrity":c,origin:i,key:s.translation.apiKey},body:JSON.stringify(a)});if(!d.ok)throw Error(`Erro ${d.status}`);return await d.json()}},{"../../constants/config":"kqbjQ","../translationService":"bkux0","../translationService/utils/TranslationClientUtils":"6q6oR","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],jgV8L:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"DeactivateSynonymsMeaningsCommand",()=>c);var o=e("reactn"),s=e("./ActiveSynonymsMeaningsCommand"),r=e("../../services/synonymsMeaningsService"),l=e("../../services/wordCollectorService/CollectorService");class c{constructor(){this.execute=async()=>{await (0,o.setGlobal)({synonymsMeaningsState:"deactivate"}),(0,r.setSynonymsMeaningsActivatedValue)("false"),l.WordCollectorService.getInstance().deactivate()},this.undo=async()=>{let e=new(0,s.ActiveSynonymsMeaningsCommand);await e.execute()}}}},{reactn:"iVSVY","./ActiveSynonymsMeaningsCommand":"iwESS","../../services/synonymsMeaningsService":"g5u3O","../../services/wordCollectorService/CollectorService":"ptRIP","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"2kwoA":[function(e,t,n,a){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(n);var i=e("preact");n.default=()=>(0,i.h)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.h)("path",{d:"M20.417 5.25C18.142 5.25 15.692 5.71667 14.0003 7C12.3087 5.71667 9.85866 5.25 7.58366 5.25C5.89199 5.25 4.09533 5.50667 2.59033 6.17167C1.73866 6.55667 1.16699 7.385 1.16699 8.33V21.49C1.16699 23.0067 2.59033 24.1267 4.06033 23.7533C5.20366 23.4617 6.41699 23.3333 7.58366 23.3333C9.40366 23.3333 11.3403 23.6367 12.9037 24.4067C13.6037 24.7567 14.397 24.7567 15.0853 24.4067C16.6487 23.625 18.5853 23.3333 20.4053 23.3333C21.572 23.3333 22.7853 23.4617 23.9287 23.7533C25.3987 24.1383 26.822 23.0183 26.822 21.49V8.33C26.822 7.385 26.2503 6.55667 25.3987 6.17167C23.9053 5.50667 22.1087 5.25 20.417 5.25ZM24.5003 20.1017C24.5003 20.8367 23.8237 21.3733 23.1003 21.245C22.2253 21.0817 21.3153 21.0117 20.417 21.0117C18.4337 21.0117 15.5753 21.77 14.0003 22.7617V9.33333C15.5753 8.34167 18.4337 7.58333 20.417 7.58333C21.4903 7.58333 22.552 7.68833 23.567 7.91C24.1037 8.02667 24.5003 8.505 24.5003 9.05333V20.1017Z",fill:"#656565"}),(0,i.h)("path",{d:"M19.8118 11.8434L20.6488 13.6612L22.5029 14.4922C22.9161 14.6791 22.9161 15.2504 22.5029 15.4374L20.6382 16.258L19.8012 18.0758C19.6105 18.4809 19.0278 18.4809 18.8371 18.0758L18.0001 16.2476L16.146 15.427C15.7328 15.24 15.7328 14.6687 16.146 14.4818L18.0107 13.6612L18.8476 11.8434C19.0384 11.4382 19.6211 11.4382 19.8118 11.8434Z",fill:"#656565"}))},{preact:"gdb49","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"9ospr":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"default",()=>s.default);var o=e("./synonymsMeaningsView.component"),s=i.interopDefault(o)},{"./synonymsMeaningsView.component":"4OR6d","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"4OR6d":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"SynonymsMeaningsView",()=>k);var o=e("preact"),s=e("preact/hooks"),r=e("reactn"),l=e("../../services/synonymsMeaningsService"),c=e("../../services/wordCollectorService/CollectorService"),d=e("../../hooks/useFocusOnReady"),m=i.interopDefault(d),p=e("../../hooks/useCommandStack"),u=e("../../commands/synonymsMeaningsCommands/DeactivateSynonymsMeaningsCommand"),h=e("../../components/IconButton"),g=i.interopDefault(h),f=e("../../components/Icons/Click"),v=i.interopDefault(f),C=e("../../components/SpinLoading"),S=i.interopDefault(C),y=e("../../components/Icons/Arrows"),b=e("../../components/Icons/Alert"),x=i.interopDefault(b),L=e("./synonymsMeanings.styles"),A=e("../../services/analytics"),w=e("../../stores/useTranslation");let I=new Map([["en","en-us"],["pt-BR","pt-br"],["es","es-es"]]),k=({token:e})=>{let[{synonymsMeaningsState:t}]=(0,r.useGlobal)(),n=(0,p.useCommandStack)(),[a,i]=(0,s.useState)(!1),{translate:d,language:h}=(0,w.useTranslationStore)(),[f,C]=(0,s.useState)(!1),[b,k]=(0,s.useState)(null),[T,M]=(0,s.useState)(""),[E,j]=(0,s.useState)(""),D=(0,m.default)({isReady:"active"===t}),_=c.WordCollectorService.getInstance(),H=(0,s.useCallback)(async(t,n)=>{i(!0),k(null);try{let a=I.get(h);if(!a)throw Error(`N\xe3o foi poss\xedvel obter a l\xedngua ${a}`);let i=await (0,l.getSynonymsMeanings)(t,a,e);k(i),M(t),j(n),C(!1)}catch(e){C(!0),console.error(e)}finally{i(!1)}},[e]),N=({text:e,markedText:t})=>{let n=t.trim(),a=e.trim();n&&n!==T&&H(n,a)};return((0,s.useEffect)(()=>{(0,A.handleAnalyticsSynonymsMeanings)(!0)},[]),(0,s.useEffect)(()=>{if("active"===t)return _.subscribeToSelectionChange(N),()=>_.unsubscribeFromSelectionChange(N)},[N]),"active"!==t)?null:(0,o.h)(L.Container,null,(0,o.h)(L.HeaderContainer,null,(0,o.h)(g.default.Main,{ariaLabel:d("synonymsMeanings"),icon:(0,o.h)(y.ArrowLeftIcon,null),onClick:()=>n.execute(new(0,u.DeactivateSynonymsMeaningsCommand))}),(0,o.h)(L.TitleHeader,{ref:D,tabIndex:0},d("synonymsMeanings"))),a?(0,o.h)(L.Content,null,(0,o.h)(S.default,null)):f?(0,o.h)(L.Content,null,(0,o.h)(L.Placeholder,null,(0,o.h)(L.IconContent,null,(0,o.h)(x.default,null)),d("synonymsMeaningsError"))):b?(0,o.h)(L.DataContent,null,(0,o.h)(L.InlineSection,null,(0,o.h)(L.FieldValue,null,d("worldSelected")),(0,o.h)(L.FieldLabel,null,E)),(0,o.h)(L.Section,null,(0,o.h)(L.FieldLabel,null,d("synonymsMeaningsSynonyms")),(0,o.h)(L.FieldValue,null,b.synonyms.join(" | "))),(0,o.h)(L.Section,null,(0,o.h)(L.FieldLabel,null,d("synonymsMeaningsDefinition")),(0,o.h)(L.FieldValue,null,b.definition)),(0,o.h)(L.Section,null,(0,o.h)(L.FieldLabel,null,d("synonymsMeaningsExamples")),(0,o.h)(L.ExamplesList,null,b.examples.map((e,t)=>(0,o.h)("li",{key:t},"“",e,"”"))))):(0,o.h)(L.Content,null,(0,o.h)(L.Placeholder,null,(0,o.h)(L.IconContent,null,(0,o.h)(v.default,null)),d("synonymsMeaningsEmpty"))))};n.default=k},{preact:"gdb49","preact/hooks":"9Dac5",reactn:"iVSVY","../../services/synonymsMeaningsService":"g5u3O","../../services/wordCollectorService/CollectorService":"ptRIP","../../hooks/useFocusOnReady":"h1l18","../../hooks/useCommandStack":"2LAi9","../../commands/synonymsMeaningsCommands/DeactivateSynonymsMeaningsCommand":"jgV8L","../../components/IconButton":"foExY","../../components/Icons/Click":"dLzKL","../../components/SpinLoading":"9dKUa","../../components/Icons/Arrows":"3D2n7","../../components/Icons/Alert":"2QX14","./synonymsMeanings.styles":"4OMlg","../../services/analytics":"9b6Tu","../../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],dLzKL:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("./IconWrapper"),r=i.interopDefault(s);n.default=()=>(0,o.h)(r.default,null,(0,o.h)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M4.5 24C4.22386 24 4 23.7761 4 23.5V20.5C4 20.2239 4.22386 20 4.5 20H9.5C9.77614 20 10 20.2239 10 20.5V23.5C10 23.7761 9.77614 24 9.5 24H4.5ZM11.1598 34.7402C10.9621 34.9379 10.6407 34.9351 10.4466 34.7339L8.34126 32.5534C8.15183 32.3572 8.15456 32.0454 8.3474 31.8526L11.8526 28.3474C12.0454 28.1546 12.3572 28.1518 12.5534 28.3413L14.7339 30.4466C14.9351 30.6407 14.9379 30.9621 14.7402 31.1598L11.1598 34.7402ZM12.5534 15.6587C12.3572 15.8482 12.0454 15.8454 11.8526 15.6526L8.3474 12.1474C8.15456 11.9546 8.15183 11.6428 8.34126 11.4466L10.4466 9.26607C10.6407 9.06494 10.9621 9.06212 11.1598 9.25981L14.7402 12.8402C14.9379 13.0379 14.9351 13.3593 14.7339 13.5534L12.5534 15.6587ZM36.3536 39.6464C36.1583 39.8417 35.8417 39.8417 35.6464 39.6464L27.0721 31.0721C26.8092 30.8092 26.3617 30.9149 26.2442 31.2675L24.4994 36.5017C24.345 36.9649 23.6865 36.9549 23.5462 36.4873L18.2668 18.8894C18.1524 18.508 18.508 18.1524 18.8894 18.2668L36.5286 23.5586C36.9923 23.6977 37.0074 24.3488 36.5507 24.5092L31.3497 26.3366C31.0023 26.4586 30.9015 26.9015 31.1619 27.1619L39.6464 35.6464C39.8417 35.8417 39.8417 36.1583 39.6464 36.3536L36.3536 39.6464ZM20.5 12C20.2239 12 20 11.7761 20 11.5V6.5C20 6.22386 20.2239 6 20.5 6H23.5C23.7761 6 24 6.22386 24 6.5V11.5C24 11.7761 23.7761 12 23.5 12H20.5ZM32.1474 15.6444C31.9552 15.8411 31.6402 15.8457 31.4424 15.6547L29.2661 13.5534C29.0649 13.3593 29.0621 13.0379 29.2598 12.8402L32.8464 9.25355C33.0417 9.05829 33.3583 9.05829 33.5536 9.25355L35.6506 11.3506C35.8442 11.5442 35.8461 11.8576 35.6547 12.0535L32.1474 15.6444Z",fill:"currentColor"})))},{preact:"gdb49","./IconWrapper":"6RUzA","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"9dKUa":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"spinLoadingSize",()=>m);var o=e("preact"),s=e("styled-components"),r=i.interopDefault(s);let l=e=>e,c,d,m="54px",p=r.default.div(c||(c=l` width: ${0}; border-radius: 50%; padding: 4px; `),m),u=r.default.div(d||(d=l` position: relative; margin: 0 auto; width: 100%; @keyframes rotate { 100% { transform: rotate(360deg); } } @keyframes dash { 0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; } 50% { stroke-dasharray: 89, 200; stroke-dashoffset: -35px; } 100% { stroke-dasharray: 89, 200; stroke-dashoffset: -124px; } } &:before { content: ""; display: block; padding-top: 100%; } & svg { animation: rotate 2s linear infinite; height: 100%; transform-origin: center center; width: 100%; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; } & circle { stroke-dasharray: 1, 200; stroke-dashoffset: 0; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; stroke: ${0}; stroke-width: 5px; stroke-miterlimit: 10px; } `),({theme:e})=>e.colors.primary.default);n.default=()=>(0,o.h)(p,null,(0,o.h)(u,null,(0,o.h)("svg",{viewBox:"25 25 50 50"},(0,o.h)("circle",{className:"path",cx:"50",cy:"50",r:"20",fill:"none"}))))},{preact:"gdb49","styled-components":"cCe5U","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"4OMlg":[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"Container",()=>x),i.export(n,"HeaderContainer",()=>L),i.export(n,"TitleHeader",()=>A),i.export(n,"Title",()=>w),i.export(n,"Content",()=>I),i.export(n,"Placeholder",()=>k),i.export(n,"IconContent",()=>T),i.export(n,"DataContent",()=>M),i.export(n,"Section",()=>E),i.export(n,"InlineSection",()=>j),i.export(n,"FieldLabel",()=>D),i.export(n,"FieldValue",()=>_),i.export(n,"ExamplesList",()=>H);var o=e("styled-components"),s=e("../../constants/config"),r=e("../../constants/interface");let l=e=>e,c,d,m,p,u,h,g,f,v,C,S,y,b,x=o.styled.div(c||(c=l` &&& { display: flex; flex-direction: column; height: 100%; width: 100%; background-color: ${0}; position: absolute; top: 0; overflow: hidden; @media (max-width: 768px) { border-radius: ${0} ${0} 0px 0px; } } `),({theme:e})=>e.colors.surface.dim.background,r.borderRadius,r.borderRadius),L=o.styled.div(d||(d=l` &&& { all: initial; display: flex; height: 44px; width: 100%; padding: 4px 0px 4px; align-items: center; background-color: ${0}; box-shadow: ${0}; } `),({theme:e})=>e.colors.surface.bright.background,({theme:e})=>e.shadow[3]),A=o.styled.h4(m||(m=l` &&& { all: initial; white-space: nowrap; color: ${0}; font: ${0}; } `),({theme:e})=>e.colors.surface.onSurface,({theme:e})=>e.typography.title.sm),w=o.styled.h3(p||(p=l` &&& { flex: 1; margin: 0 8px; ${0}; } `),({theme:e})=>e.typography.label.lgBold),I=o.styled.div(u||(u=l` &&& { flex: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; } `)),k=o.styled.div(h||(h=l` cursor: pointer; display: flex; flex-direction: column; align-items: center; color: ${0}; ${0}; line-height: 150%; gap: ${0}; @media (max-width: ${0}px) { flex-direction: row; } `),({theme:e})=>e.colors.primary.default,({theme:e})=>e.typography.paragraph.lgBold,({theme:e})=>e.spacing[2],s.portraitWidthBreakpoint),T=o.styled.div(g||(g=l` &&& { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: none; color: ${0}; svg { width: 48px; height: 48px; } svg path { fill: currentColor; } } `),({theme:e})=>e.colors.primary.default),M=o.styled.div(f||(f=l` display: flex; flex-direction: column; padding: ${0} ${0} ${0} ${0}; overflow-y: auto; row-gap: ${0}; `),({theme:e})=>e.spacing[6],({theme:e})=>e.spacing[4],({theme:e})=>e.spacing[6],({theme:e})=>e.spacing[4],({theme:e})=>e.spacing[3]),E=o.styled.div(v||(v=l` display: flex; flex-direction: column; row-gap: ${0}; margin-bottom: ${0}; `),({theme:e})=>e.spacing[2],({theme:e})=>e.spacing[3]),j=(0,o.styled)(E)(C||(C=l` flex-direction: row; align-items: center; column-gap: ${0}; `),({theme:e})=>e.spacing[2]),D=o.styled.p(S||(S=l` margin: 0; font: ${0}; color: ${0}; `),({theme:e})=>e.typography.label.mdBold,({theme:e})=>e.colors.surface.onSurface),_=o.styled.p(y||(y=l` margin: 0; font: ${0}; color: ${0}; `),({theme:e})=>e.typography.label.md,({theme:e})=>e.colors.surface.onSurfaceLow),H=o.styled.ol(b||(b=l` margin: 0; padding-left: 0; list-style-type: decimal; list-style-position: inside; font: ${0}; color: ${0}; & > li { margin-bottom: ${0}; padding: 0 10px; } `),({theme:e})=>e.typography.paragraph.md,({theme:e})=>e.colors.surface.onSurfaceLow,({theme:e})=>e.spacing[3])},{"styled-components":"cCe5U","../../constants/config":"kqbjQ","../../constants/interface":"cnidu","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],"8QpJ5":[function(e,t,n,a){let i;var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(n),o.export(n,"NewTag",()=>m);var s=e("preact"),r=e("styled-components"),l=o.interopDefault(r),c=e("../../stores/useTranslation");let d=l.default.div(i||(i=(e=>e)` display: inline-flex; align-items: center; width: 86px; height: 32px; justify-content: center; padding: ${0}; background-color: ${0}; border: 1px solid ${0}; border-radius: 80px; color: ${0}; white-space: nowrap; font: ${0}; `),({theme:e})=>e.spacing[5],({theme:e})=>e.colors.primaryContainer.default,({theme:e})=>e.colors.primary.default,({theme:e})=>e.colors.primary.default,({theme:e})=>e.typography.label.mdBold),m=()=>{let{translate:e}=(0,c.useTranslationStore)();return(0,s.h)(d,null,e("newTag"))};n.default=m},{preact:"gdb49","styled-components":"cCe5U","../../stores/useTranslation":"94OJm","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],cMjfp:[function(e,t,n,a){let i;var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(n);var s=e("preact"),r=e("styled-components"),l=o.interopDefault(r),c=e("./animations"),d=e("../Icons/Refresh"),m=o.interopDefault(d),p=e("../../stores/useTranslation"),u=e("preact/hooks");let h=l.default.button(i||(i=(e=>e)` &&& { display: flex; align-items: center; gap: ${0}; padding-block: 14px; padding-inline: ${0}; position: absolute; bottom: 6px; font: ${0}; border-radius: ${0}; color: ${0}; background-color: ${0}; box-shadow: ${0}; cursor: pointer; outline: none; border: none; animation: ${0} 300ms ease-in-out forwards; & svg > path { fill: ${0}; } } `),({theme:e})=>e.spacing[3],({theme:e})=>`${e.spacing[5]} ${e.spacing[6]}`,({theme:e})=>e.typography.label.mdBold,({theme:e})=>e.borderRadius.md,({theme:e})=>e.colors.primary.on,({theme:e})=>e.colors.primary.default,({theme:e})=>e.shadow[4],c.slideInAnimation,({theme:e})=>e.colors.primary.on);n.default=({onClick:e})=>{let{translate:t,language:n}=(0,p.useTranslationStore)(),a=(0,u.useMemo)(()=>({resetResourceButtonAriaLabel:t("resetResourceButtonAriaLabel"),clearSettings:t("clearSettings")}),[n]);return(0,s.h)(h,{onClick:e,"aria-label":a.resetResourceButtonAriaLabel},(0,s.h)(m.default,null),a.clearSettings)}},{preact:"gdb49","styled-components":"cCe5U","./animations":"fMdUJ","../Icons/Refresh":"eH25J","../../stores/useTranslation":"94OJm","preact/hooks":"9Dac5","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],fMdUJ:[function(e,t,n,a){let i;var o=e("@parcel/transformer-js/src/esmodule-helpers.js");o.defineInteropFlag(n),o.export(n,"slideInAnimation",()=>s);let s=(0,e("styled-components").keyframes)(i||(i=(e=>e)` from { transform: translateY(150%); } to { transform: translateY(0); } `))},{"styled-components":"cCe5U","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],eH25J:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("./IconWrapper"),r=i.interopDefault(s);n.default=()=>(0,o.h)(r.default,null,(0,o.h)("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M5.299 5.293a6.625 6.625 0 015.4-1.925c3.058.308 5.574 2.791 5.916 5.85A6.654 6.654 0 014 12.868a.835.835 0 01.75-1.2c.308 0 .6.167.733.442a4.995 4.995 0 005.667 2.758 4.956 4.956 0 003.733-3.767 5.002 5.002 0 00-4.875-6.1A4.93 4.93 0 006.49 6.484L7.75 7.743c.525.525.158 1.425-.584 1.425H4.174a.836.836 0 01-.834-.834V5.343c0-.742.9-1.117 1.425-.592l.534.542z",fill:"#fff"})))},{preact:"gdb49","./IconWrapper":"6RUzA","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],lQbsn:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("./IconWrapper"),r=i.interopDefault(s);n.default=function(){return(0,o.h)(r.default,null,(0,o.h)("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M21.295 4.7l-4.59 4.59 1.59 1.59c.63.63.18 1.71-.71 1.71h-4.58c-.55 0-1-.45-1-1v-4.6c0-.89 1.08-1.34 1.71-.71l1.59 1.59 4.59-4.59a.996.996 0 011.41 0c.38.4.38 1.03-.01 1.42zM4.125 21.87l4.59-4.59 1.59 1.59c.63.63 1.71.18 1.71-.71v-4.58c0-.55-.45-1-1-1h-4.6c-.89 0-1.34 1.08-.71 1.71l1.59 1.59-4.59 4.59a.996.996 0 000 1.41c.4.38 1.03.38 1.42-.01z",fill:"#2E2E2E"})))}},{preact:"gdb49","./IconWrapper":"6RUzA","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],cJBWu:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n);var o=e("preact"),s=e("./IconWrapper"),r=i.interopDefault(s);n.default=function(){return(0,o.h)(r.default,null,(0,o.h)("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M21 9.166v-4.59c0-.55-.45-1-1-1h-4.59c-.89 0-1.34 1.08-.71 1.71l1.59 1.59-10 10-1.59-1.59c-.62-.63-1.7-.19-1.7.7v4.59c0 .55.45 1 1 1h4.59c.89 0 1.34-1.08.71-1.71l-1.59-1.59 10-10 1.59 1.59c.62.63 1.7.19 1.7-.7z",fill:"#2E2E2E"})))}},{preact:"gdb49","./IconWrapper":"6RUzA","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],ggwv3:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"useUntilDate",()=>s);var o=e("preact/hooks");function s(e){let[t,n]=(0,o.useState)(()=>new Date{new Date>=e&&n(!1)},[e]),t}},{"preact/hooks":"9Dac5","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],eggX2:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"DeactivateAllAddonsCommand",()=>A);var o=e("reactn"),s=e("../fontSizeCommands/SetFontSizeCommand"),r=e("../lineHeightCommands/SetLineHeightCommand"),l=e("../readerModeCommands/SetReaderModeCommand"),c=e("../pageSpeechCommands/SetPageSpeechLevelCommand"),d=e("../contrastCommands/SetContrastCommand"),m=e("../letterSpacingCommands/SetLetterSpacingCommand"),p=e("../textStyleCommands/SetTextStyleCommand"),u=e("../colorIntensityCommands/SetColorIntensityCommand"),h=e("../readingMaskCommands/SetReadingMaskCommand"),g=e("../readingGuideCommands/SetReadingGuideCommand"),f=e("../magnifierCommands/DeactivateMagnifierCommand"),v=e("../pauseAnimationsCommands/DeactivatePauseAnimationsCommand"),C=e("../highlightHeadingsCommands/DeactivateHighlightHeadingsCommand"),S=e("../hideImagesCommands/DeactivateHideImagesCommand"),y=e("../highlightedLettersCommands/DeactivateHighlightedLettersCommand"),b=e("../disableSoundsCommands/DeactivateDisableSoundsCommand"),x=e("../highlightLinksCommands/SetHighlightLinksCommand"),L=e("../colorblindModeCommands/SetColorblindModeCommand");class A{constructor(e){this.storageURL=e,this.stack=[],this.execute=async()=>{let{pageSpeechState:e,readerModeState:t,fontSizeScaleState:n,lineHeightScaleState:a,readingMaskState:i,letterSpacingScaleState:A,highlightLinksState:w,contrastState:I,textStyleState:k,colorIntensityState:T,readingGuideState:M,magnifierState:E,hideImagesState:j,pauseAnimationsState:D,highlightHeadingsState:_,highlightedLettersState:H,colorblindModeState:N,disableSoundsState:R}=(0,o.getGlobal)();for(let o of("none"!==e&&e>0&&this.stack.push(new(0,c.SetPageSpeechLevelCommand)(0)),"none"!==t&&t>0&&this.stack.push(new(0,l.SetReaderModeCommand)(0)),"none"!==I&&I>0&&this.stack.push(new(0,d.SetContrastCommand)(0)),"none"!==a&&a>0&&this.stack.push(new(0,r.SetLineHeightCommand)(0)),"none"!==n&&n>0&&this.stack.push(new(0,s.SetFontSizeCommand)(0)),"none"!==i&&i>0&&this.stack.push(new(0,h.SetReadingMaskCommand)(0)),"none"!==A&&A>0&&this.stack.push(new(0,m.SetLetterSpacingCommand)(0)),"none"!==w&&w>0&&this.stack.push(new(0,x.SetHighlightLinksCommand)(0)),"none"!==k&&k>0&&this.stack.push(new(0,p.SetTextStyleCommand)(this.storageURL,0)),"none"!==T&&T>0&&this.stack.push(new(0,u.SetColorIntensityCommand)(0)),"none"!==M&&M>0&&this.stack.push(new(0,g.SetReadingGuideCommand)(0)),"active"===E&&this.stack.push(new(0,f.DeactivateMagnifierCommand)),"active"===_&&this.stack.push(new(0,C.DeactivateHighlightHeadingsCommand)),"active"===j&&this.stack.push(new(0,S.DeactivateHideImagesCommand)),"active"===D&&this.stack.push(new(0,v.DeactivatePauseAnimationsCommand)),"active"===H&&this.stack.push(new(0,y.DeactivateHighlightedLettersCommand)),"none"!==N&&N>0&&this.stack.push(new(0,L.SetColorblindModeCommand)(0)),"active"===R&&this.stack.push(new(0,b.DeactivateDisableSoundsCommand)),this.stack))await o.execute()},this.undo=async()=>{for(let e of this.stack)await e.undo()}}}},{reactn:"iVSVY","../fontSizeCommands/SetFontSizeCommand":"eYO3g","../lineHeightCommands/SetLineHeightCommand":"9nLqb","../readerModeCommands/SetReaderModeCommand":"3pzqt","../pageSpeechCommands/SetPageSpeechLevelCommand":"4FMYL","../contrastCommands/SetContrastCommand":"3BJYX","../letterSpacingCommands/SetLetterSpacingCommand":"lz19e","../textStyleCommands/SetTextStyleCommand":"36uXj","../colorIntensityCommands/SetColorIntensityCommand":"bzV2U","../readingMaskCommands/SetReadingMaskCommand":"1i0uf","../readingGuideCommands/SetReadingGuideCommand":"2tSRx","../magnifierCommands/DeactivateMagnifierCommand":"k4QMj","../pauseAnimationsCommands/DeactivatePauseAnimationsCommand":"evpko","../highlightHeadingsCommands/DeactivateHighlightHeadingsCommand":"cHfNf","../hideImagesCommands/DeactivateHideImagesCommand":"cK9D5","../highlightedLettersCommands/DeactivateHighlightedLettersCommand":"jMNyG","../disableSoundsCommands/DeactivateDisableSoundsCommand":"2HXQO","../highlightLinksCommands/SetHighlightLinksCommand":"dkpAv","../colorblindModeCommands/SetColorblindModeCommand":"2Z6vT","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],geCCL:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"ExpandAddonsViewCommand",()=>l);var o=e("reactn"),s=e("./CollapseAddonsViewCommand"),r=e("../../services/addonsService");class l{constructor(){this.execute=async()=>{await (0,o.setGlobal)({addonsViewExpandState:!0}),(0,r.setExpandedValue)("true")},this.undo=async()=>{let e=new(0,s.CollapseAddonsViewCommand);return await e.execute()}}}},{reactn:"iVSVY","./CollapseAddonsViewCommand":"bYrfl","../../services/addonsService":"yQkod","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}],bYrfl:[function(e,t,n,a){var i=e("@parcel/transformer-js/src/esmodule-helpers.js");i.defineInteropFlag(n),i.export(n,"CollapseAddonsViewCommand",()=>l);var o=e("reactn"),s=e("./ExpandAddonsViewCommand"),r=e("../../services/addonsService");class l{constructor(){this.execute=async()=>{await (0,o.setGlobal)({addonsViewExpandState:!1}),(0,r.setExpandedValue)("false")},this.undo=async()=>{let e=new(0,s.ExpandAddonsViewCommand);return await e.execute()}}}},{reactn:"iVSVY","./ExpandAddonsViewCommand":"geCCL","../../services/addonsService":"yQkod","@parcel/transformer-js/src/esmodule-helpers.js":"4yirv"}]},[],0,"parcelRequiref74b",{});