Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠
JavaScript ai-agentai-agentsai-toolsbrowser-aibrowser-automationbrowser-extensionchrome-aichrome-devtoolschrome-extensionchrome-extensionsfirefox-addonfirefox-addonsfirefox-extensionfirefox-extensionsgemmagemma4minimaxoffline-aioffline-llmqwen
newtab: accessible switches; report link query param; stop mirroring uploads into localStorage
Claude7444b4e4190d
diff --git a/newtab/src/components/Form/Settings/Switch/Switch.jsx b/newtab/src/components/Form/Settings/Switch/Switch.jsxindex c3d8b4bd3..58a8cf098 100644--- a/newtab/src/components/Form/Settings/Switch/Switch.jsx+++ b/newtab/src/components/Form/Settings/Switch/Switch.jsx@@ -33,19 +33,27 @@ const Switch = memo((props) => {EventBus.emit('refresh', props.category);}, [checked, props]);+ // The native checkbox is the control (focusable, announced, Space toggles it) and the+ // visible track is its decoration; the label text names it.+ const label = props.text || props.title || props.name;return (<div className="switch-wrapper">{!props.header && <span className="switch-label">{props.text}</span>}- <div className={`switch-track ${checked ? 'checked' : ''}`} onClick={handleChange}>+ <div+ className={`switch-track ${checked ? 'checked' : ''}`}+ onClick={handleChange}+ aria-hidden="true"+ ><div className="switch-thumb" /></div><inputtype="checkbox"+ role="switch"name={props.name}checked={checked}onChange={handleChange}className="switch-input"- aria-hidden="true"+ aria-label={label}/></div>);diff --git a/newtab/src/components/Form/Settings/Switch/Switch.scss b/newtab/src/components/Form/Settings/Switch/Switch.scssindex 2a7bf5d3a..fe4a0c353 100644--- a/newtab/src/components/Form/Settings/Switch/Switch.scss+++ b/newtab/src/components/Form/Settings/Switch/Switch.scss@@ -60,4 +60,10 @@opacity: 0;pointer-events: none;}++ // The input is visually hidden, so show its keyboard focus on the track.+ &:has(.switch-input:focus-visible) .switch-track {+ outline: 2px solid currentColor;+ outline-offset: 2px;+ }}diff --git a/newtab/src/components/Layout/Settings/Header/Header.jsx b/newtab/src/components/Layout/Settings/Header/Header.jsxindex 3adac61de..79fca7772 100644--- a/newtab/src/components/Layout/Settings/Header/Header.jsx+++ b/newtab/src/components/Layout/Settings/Header/Header.jsx@@ -57,7 +57,7 @@ function Header(props) {<Buttontype="settings"onClick={() =>- window.open(variables.constants.BUG_REPORT + props.title.split(' ').join('+'), '_blank')+ window.open(`${variables.constants.BUG_REPORT}?title=${encodeURIComponent(props.title)}`, '_blank')}icon={<MdFlag />}label={variables.getMessage('modals.main.settings.sections.header.report_issue')}diff --git a/newtab/src/features/background/options/Custom.jsx b/newtab/src/features/background/options/Custom.jsxindex 36c3fdee5..c09f69fd7 100644--- a/newtab/src/features/background/options/Custom.jsx+++ b/newtab/src/features/background/options/Custom.jsx@@ -40,6 +40,18 @@ import Modal from 'react-modal';import FolderTaggingModal from './FolderTaggingModal';+// The media itself lives in IndexedDB. Mirroring every data URL into localStorage would hit its+// small quota after a few uploads (and a failed write leaves the old multi-megabyte value+// behind), so only the count is kept there and any copy from an older version is dropped.+const syncBackgroundCount = (backgrounds) => {+ try {+ localStorage.removeItem('customBackground');+ localStorage.setItem('customBackgroundCount', String(backgrounds.length));+ } catch {+ // best effort: nothing else reads these+ }+};+const CustomSettings = memo(() => {const [customBackground, setCustomBackground] = useState([]);const [folderTaggingModal, setFolderTaggingModal] = useState(false);@@ -135,12 +147,7 @@ const CustomSettings = memo(() => {const backgrounds = await getAllBackgroundsWithMetadata();setCustomBackground(backgrounds);- try {- localStorage.setItem('customBackground', JSON.stringify(backgrounds.map((bg) => bg.url)));- } catch (_quotaError) {- console.warn('localStorage quota exceeded, storing count only');- localStorage.setItem('customBackgroundCount', backgrounds.length.toString());- }+ syncBackgroundCount(backgrounds);// Only emit refresh if not part of a batch uploadif (!skipRefresh) {@@ -282,13 +289,7 @@ const CustomSettings = memo(() => {const backgrounds = await getAllBackgroundsWithMetadata();setCustomBackground(backgrounds);- // Store in localStorage with quota handling- try {- localStorage.setItem('customBackground', JSON.stringify(backgrounds.map((bg) => bg.url)));- } catch (_quotaError) {- console.warn('localStorage quota exceeded, storing count only');- localStorage.setItem('customBackgroundCount', backgrounds.length.toString());- }+ syncBackgroundCount(backgrounds);EventBus.emit('refresh', 'background');} catch (error) {@@ -311,12 +312,7 @@ const CustomSettings = memo(() => {setCustomBackground(backgrounds);setSelectedImages(new Set());- // Update localStorage- try {- localStorage.setItem('customBackground', JSON.stringify(backgrounds.map((bg) => bg.url)));- } catch (_quotaError) {- localStorage.setItem('customBackgroundCount', backgrounds.length.toString());- }+ syncBackgroundCount(backgrounds);EventBus.emit('refresh', 'background');toast(variables.getMessage('toasts.deleted'));diff --git a/src/chrome/newtab/assets/Settings-BHcHjb2v.js b/src/chrome/newtab/assets/Settings-BHcHjb2v.jsnew file mode 100644index 000000000..b9809a777--- /dev/null+++ b/src/chrome/newtab/assets/Settings-BHcHjb2v.js@@ -0,0 +1,53 @@+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-WlLvTUiq.js","./index-B1h2CV5t.js","./index-BmeAAROj.css"])))=>i.map(i=>d[i]);+import{s as Ri,v as d,y as GA,r as E,j as i,B as mA,M as Ni,a as _i,b as Gi,E as UA,c as ls,S as nt,R as m,d as cs,u as Ct,g as ji,D as Vi,e as gs,f as fe,h as Vn,T as Pn,q as us,i as Pi,k as Bs,l as ut,m as ln,n as Bt,o as ds,C as QA,p as KA,t as Xi,w as Ji,x as Wi,z as Yi,A as Hr,F as fs,G as er,H as tr,I as cn,J as hs,K as ws,L as ps,N as Zi,O as Cs,P as rr,Q as Qs,U as ms,V as vs,W as Us,X as Fs,Y as bs,Z as Es,_ as zi,$ as ys,a0 as Xn,a1 as qi,a2 as xs,a3 as Ft,a4 as $i,a5 as Jn,a6 as Ve,a7 as Ao,a8 as bt,a9 as Wn,aa as eo,ab as Yn,ac as to,ad as ro,ae as no,af as Is,ag as ao,ah as so,ai as io,aj as Zn,ak as oo,al as lo,am as co,an as go,ao as uo,ap as Bo,aq as fo,ar as ho,as as wo,at as po,au as Co,av as Qo,aw as Kn}from"./index-B1h2CV5t.js";function mo(){const e={};Object.keys(localStorage).forEach(n=>{e[n]=localStorage.getItem(n)});const A=new Date,t=`mue_settings_backup_${`${A.getFullYear()}-${(A.getMonth()+1).toString().padStart(2,"0")}-${A.getDate().toString().padStart(2,"0")}_${A.getHours().toString().padStart(2,"0")}-${A.getMinutes().toString().padStart(2,"0")}-${A.getSeconds().toString().padStart(2,"0")}`}.json`;Ri(e,t),d.stats.postEvent("tab","Settings exported")}function vo(e,A=!1){const r=JSON.parse(e);Object.keys(r).forEach(t=>{localStorage.setItem(t,r[t])}),GA(d.getMessage("toasts.imported")),A||d.stats.postEvent("tab","Settings imported"),setTimeout(()=>window.location.reload(),1200)}function TA(e){const[A,r]=E.useState(localStorage.getItem(e.setting)==="true");E.useEffect(()=>{r(localStorage.getItem(e.setting)==="true")},[e.setting]);const t=()=>{const s=localStorage.getItem(e.setting)==="true";if(localStorage.setItem(e.setting,!s),r(!s),d.stats.postEvent("setting",`${e.name} ${A===!0?"enabled":"disabled"}`),UA.emit("toggle",e.setting),e.element&&!document.querySelector(e.element)){ls();return}UA.emit("refresh",e.category)},n=()=>i.jsx(mA,{type:"settings",onClick:t,icon:A?i.jsx(Ni,{}):i.jsx(_i,{}),label:A?"Hide":"Show"}),a=()=>i.jsx(mA,{type:"settings",onClick:()=>window.open(`${d.constants.BUG_REPORT}?title=${encodeURIComponent(e.title)}`,"_blank"),icon:i.jsx(Gi,{}),label:d.getMessage("modals.main.settings.sections.header.report_issue")});return i.jsxs("div",{className:"modalHeader",children:[i.jsx("span",{className:"mainTitle",children:e.secondaryTitle||e.title}),i.jsxs("div",{className:"headerActions",children:[e.visibilityToggle&&i.jsx(n,{}),e.report!==!1&&i.jsx(a,{}),e.children]})]})}function rA(e){const A=`${e.final?"settingsRow settingsNoBorder":"settingsRow"} ${e.inactive?"preferencesInactive":""}`;return i.jsx("div",{className:A,children:e.children})}function nA(e){return i.jsxs("div",{className:"content",children:[i.jsx("span",{className:"title",children:e.title}),i.jsx("span",{className:"subtitle",children:e.subtitle})]})}function cA(e){return i.jsx("div",{className:"action",children:e.children})}const Uo=[{value:10,label:"0.1x"},{value:100,label:"1x"},{value:200,label:"2x"},{value:400,label:"4x"}],Fo=[{value:500,label:"0.5s"},{value:1e3,label:"1s"},{value:1500,label:"1.5s"},{value:2e3,label:"2s"},{value:2500,label:"2.5s"},{value:3e3,label:"3s"},{value:4e3,label:"4s"},{value:5e3,label:"5s"}],bo=[{value:0,label:"0%"},{value:25,label:"25%"},{value:50,label:"50%"},{value:75,label:"75%"},{value:100,label:"100%"}],at={zoom:Uo,toast:Fo,background:bo},Qt=({children:e,...A})=>{const[r,t]=E.useState(localStorage.getItem(A.setting)==="true");return E.useEffect(()=>{const n=a=>{a===A.setting&&t(localStorage.getItem(A.setting)==="true")};return UA.on("toggle",n),()=>UA.off("toggle",n)},[A.setting]),i.jsxs("div",{className:r?"preferences":"preferencesInactive",children:[A.zoomSetting&&i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.widget_zoom"),subtitle:d.getMessage("modals.main.settings.sections.header.size")}),i.jsx(cA,{children:i.jsx(nt,{name:A.zoomSetting,min:"10",max:"400",default:"100",display:"%",marks:at.zoom,category:A.zoomCategory||A.category})})]}),e]})};function Tn({title:e,subtitle:A,icon:r,onClick:t,children:n}){return i.jsxs("div",{className:"moreSettings",onClick:t,children:[i.jsxs("div",{className:"left",children:[r,i.jsxs("div",{className:"content",children:[i.jsx("span",{className:"title",children:e}),i.jsx("span",{className:"subtitle",children:A})]})]}),i.jsx("div",{className:"action",children:m.Children.count(n)===0?i.jsx(cs,{}):n})]})}function Eo({label:e,currentTab:A,onClick:r,navbarTab:t}){const n=Ct(),[a,s]=E.useState(!0);E.useEffect(()=>{s(localStorage.getItem("experimental")!=="false")},[]);const o=ji(e,{getMessage:n}),l=Vi.some(p=>n(p)===e),B=`${t?"navbar-item":"tab-list-item"}${A===e?` ${t?"navbar-item-active":"tab-list-active"}`:""}`;return e===n("modals.main.settings.sections.experimental.title")&&!a?i.jsx("hr",{}):i.jsxs(i.Fragment,{children:[i.jsxs("button",{className:B,onClick:()=>r(e),children:[o&&i.jsx(o,{})," ",i.jsx("span",{children:e})]}),l&&i.jsx("hr",{})]})}const yo=E.memo(Eo),xo=({isVisible:e,onHide:A})=>e?i.jsxs("div",{className:"reminder-info",children:[i.jsxs("div",{className:"shareHeader",children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.reminder.title")}),i.jsx("span",{className:"closeModal",onClick:A,children:i.jsx(gs,{})})]}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.reminder.message")}),i.jsxs("button",{onClick:()=>window.location.reload(),children:[i.jsx(fe,{}),d.getMessage("modals.main.error_boundary.refresh")]})]}):null;class Io extends E.PureComponent{constructor(A){super(A),this.state={error:!1,errorData:"",showReport:!0}}static getDerivedStateFromError(A){return console.error(A),{error:!0,errorData:A}}reportError(){window.open(d.constants.BUG_REPORT,"_blank","noopener,noreferrer"),this.setState({showReport:!1})}render(){return this.state.error?i.jsx("div",{className:"emptyItems",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Vn,{}),i.jsx("span",{className:"title",children:d.getMessage("modals.main.error_boundary.title")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.error_boundary.message")}),i.jsxs("div",{className:"buttonsRow",children:[this.state.showReport?i.jsx(mA,{type:"settings",icon:i.jsx(Vn,{}),label:d.getMessage("modals.main.error_boundary.report_error"),onClick:()=>this.reportError()}):i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.error_boundary.sent")}),i.jsx(mA,{type:"settings",icon:i.jsx(fe,{}),label:d.getMessage("modals.main.error_boundary.refresh"),onClick:()=>window.location.reload()})]})]})}):this.props.children}}const Ho=({children:e,navbar:A=!1,currentTab:r,onSectionChange:t,resetToFirst:n,deepLinkData:a,navigationTrigger:s,sections:o})=>{const l=Ct(),g=(()=>{if(a?.section&&o){const y=o.find(h=>h.name===a.section);if(y)return{label:l(y.label),name:y.name}}return{label:e[0]?.props.label,name:e[0]?.props.name}})(),[B,u]=E.useState(g.label),[p,Q]=E.useState(g.name),[C,I]=E.useState(localStorage.getItem("showReminder")==="true"),U=E.useRef(null),b=(y,h)=>{h!==p&&d.stats.postEvent("tab",`Opened ${h}`),u(y),Q(h),U.current&&(U.current.scrollTop=0),t&&t(y,h)};E.useEffect(()=>{t&&B&&t(B,p)},[]),E.useEffect(()=>{if(o&&p){const y=o.find(h=>h.name===p);if(y){const h=l(y.label);u(h)}}},[l,o,p]),E.useEffect(()=>{if(s?.type==="settings-section"&&o){const y=o.find(h=>h.name===s.data);if(y){const h=l(y.label);u(h),Q(y.name),U.current&&(U.current.scrollTop=0)}}},[s,o,l]),E.useEffect(()=>{n&&(u(e[0]?.props.label),Q(e[0]?.props.name),U.current&&(U.current.scrollTop=0),t&&t(e[0]?.props.label,e[0]?.props.name))},[n]);const L=()=>{localStorage.setItem("showReminder","false"),I(!1)},S=r===Pn.SETTINGS||r===Pn.DISCOVER;return i.jsxs("div",{style:{display:"flex",width:"100%",height:"100%",overflow:"hidden"},children:[S?i.jsxs("div",{className:"modalSidebar",children:[e.map((y,h)=>i.jsx(yo,{currentTab:B,label:y.props.label,onClick:x=>b(x,y.props.name),navbarTab:A},h)),i.jsx(xo,{isVisible:C,onHide:L})]}):null,i.jsx("div",{className:"modalTabContent",ref:U,children:e.map((y,h)=>y.props.label!==B?null:i.jsx(Io,{children:y.props.children},`error-boundary-${h}`))})]})};async function nr(e){const A=String(e??"").trim();try{return new URL(/^[a-z][a-z0-9+.-]*:/i.test(A)?A:`https://${A}`).hostname.replace(/^www\./i,"")||A}catch{return A}}function dt(e){return/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._~#=]{1,256}\.[a-zA-Z0-9()]{1,63}\b([-a-zA-Z0-9()!@:%_.~#?&=]*)/.test(e)}function ar(e){let A=String(e??"").trim();if(!A)return null;const r=/^https?:\/\//i.exec(A);A=r?r[0].toLowerCase()+A.slice(r[0].length):`https://${A}`;try{if(!/^https?:$/.test(new URL(A).protocol))return null}catch{return null}return dt(A)?A:null}const So=({item:e,deleteLink:A,startEditLink:r,draggable:t=!1,onDragStart:n,onDragOver:a,onDrop:s,onDragEnd:o,isDragOver:l=!1,isDragging:c=!1})=>{let g,B=null;if(localStorage.getItem("quicklinksnewtab")==="true"&&(g="_blank",B="noopener noreferrer"),localStorage.getItem("quicklinksText")==="true")return i.jsx("a",{className:"quicklinkstext",onContextMenu:C=>A(e.key,C),href:e.url,target:g,rel:B,draggable:!1,children:e.name});const p=e.icon||us(e.url,e.name),Q=`messageMap ${c?"dragging":""} ${l?"drag-over":""}`;return i.jsxs("div",{className:Q,draggable:t,onDragStart:C=>n&&n(C,e.key),onDragOver:C=>a&&a(C,e.key),onDrop:C=>s&&s(C,e.key),onDragEnd:C=>o&&o(C),children:[i.jsx("div",{className:"dragHandle","aria-hidden":!0,children:i.jsx(Pi,{})}),i.jsx("div",{className:"icon",children:i.jsx("img",{src:p,alt:e.name,draggable:!1,style:{height:"30px",width:"30px"}})}),i.jsxs("div",{className:"messageText",children:[i.jsx("div",{className:"title",children:e.name}),i.jsx("div",{className:"subtitle",children:i.jsx("a",{className:"quicklinknostyle",target:"_blank",rel:"noopener noreferrer",href:e.url,children:e.url})})]}),i.jsx("div",{children:i.jsxs("div",{className:"messageAction",children:[i.jsx(mA,{type:"settings",onClick:()=>r(e),icon:i.jsx(Bs,{}),label:d.getMessage("modals.main.settings.sections.quicklinks.edit")}),i.jsx(mA,{type:"settings",onClick:C=>A(e.key,C),icon:i.jsx(ut,{}),label:d.getMessage("modals.main.marketplace.product.buttons.remove")})]})})]})};function Lo({appsEnabled:e}){const A=Ct(),[r,t]=E.useState({newLink:!1,edit:!1,items:JSON.parse(localStorage.getItem("applinks")),urlError:"",iconError:"",editData:null}),n=async(l,c,g)=>{const B=JSON.parse(localStorage.getItem("applinks"));if(c=ar(c),!c)return t(u=>({...u,urlError:A("widgets.quicklinks.url_error")}));if(g.length>0&&dt(g)===!1)return t(u=>({...u,iconError:A("widgets.quicklinks.icon_error")}));B.push({name:l||await nr(c),url:c,icon:g||"",key:Math.random().toString(36).substring(7)+1}),localStorage.setItem("applinks",JSON.stringify(B)),t({newLink:!1,edit:!1,items:B,urlError:"",iconError:""}),UA.emit("refresh","navbar"),d.stats.postEvent("feature","App link add")},a=l=>{t(c=>({...c,edit:!0,editData:l}))},s=async(l,c,g,B)=>{const u=JSON.parse(localStorage.getItem("applinks")),p=u.find(Q=>Q.key===l.key);if(p){if(g=ar(g),!g)return t(Q=>({...Q,urlError:A("widgets.quicklinks.url_error")}));if(B.length>0&&dt(B)===!1)return t(Q=>({...Q,iconError:A("widgets.quicklinks.icon_error")}));p.name=c||await nr(g),p.url=g,p.icon=B||"",localStorage.setItem("applinks",JSON.stringify(u)),t(Q=>({...Q,items:u,edit:!1,newLink:!1})),UA.emit("refresh","navbar")}},o=(l,c)=>{c.preventDefault();const g=JSON.parse(localStorage.getItem("applinks")).filter(B=>B.key!==l);localStorage.setItem("applinks",JSON.stringify(g)),t(B=>({...B,items:g})),UA.emit("refresh","navbar"),d.stats.postEvent("feature","App link delete")};return i.jsxs(i.Fragment,{children:[i.jsxs(rA,{final:!0,inactive:!e,children:[i.jsx(nA,{title:A("widgets.navbar.apps.title"),subtitle:A("modals.main.settings.sections.appearance.navbar.apps_subtitle")}),i.jsx(cA,{children:i.jsx(mA,{type:"settings",onClick:()=>t(l=>({...l,newLink:!0})),icon:i.jsx(ln,{}),label:A("modals.main.settings.sections.quicklinks.add_link")})})]}),i.jsx("div",{className:"messagesContainer",children:r.items.map((l,c)=>i.jsx(So,{item:l,startEditLink:()=>a(l),deleteLink:(g,B)=>o(g,B)},c))}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>t(l=>({...l,newLink:!1,edit:!1})),isOpen:r.edit||r.newLink,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(ds,{urlError:r.urlError,iconError:r.iconError,addLink:(l,c,g)=>n(l,c,g),editLink:(l,c,g,B)=>s(l,c,g,B),edit:r.edit,editData:r.editData,closeModal:()=>t(l=>({...l,newLink:!1,edit:!1}))})})]})}function ko(){const e=Ct(),[A,r]=E.useState(localStorage.getItem("refresh")==="true"),[t,n]=E.useState(localStorage.getItem("appsEnabled")==="true"||!1),a="modals.main.settings.sections.appearance.navbar",s=()=>i.jsxs(rA,{final:!1,children:[i.jsx(nA,{title:e("modals.main.settings.additional_settings"),subtitle:e("modals.main.settings.sections.appearance.navbar.additional")}),i.jsx(cA,{children:i.jsx(QA,{name:"navbarHover",text:e(`${a}.hover`),category:"navbar"})})]}),o=()=>{const c=({icon:B,messageKey:u,settingName:p})=>{const[Q,C]=E.useState(localStorage.getItem(p)!=="true"),I=()=>{localStorage.setItem(p,Q),p==="refresh"?r(!A):p==="appsEnabled"&&n(!t),C(!Q),d.stats.postEvent("setting",`${p} ${Q?"disabled":"enabled"}`),UA.emit("refresh","navbar")};return i.jsxs("button",{onClick:I,className:`navbarButtonOption ${Q===!0?"disabled":""}`,children:[B,i.jsx("span",{className:"subtitle",children:e(u)})]})},g=[{icon:i.jsx(Xi,{}),settingName:"view",messageKey:"modals.main.settings.sections.background.buttons.view"},{icon:i.jsx(Ji,{}),settingName:"notesEnabled",messageKey:`${a}.notes`},{icon:i.jsx(Wi,{}),settingName:"todoEnabled",messageKey:"widgets.navbar.todo.title"},{icon:i.jsx(fe,{}),settingName:"refresh",messageKey:`${a}.refresh`},{icon:i.jsx(Yi,{}),settingName:"appsEnabled",messageKey:"widgets.navbar.apps.title"}];return i.jsxs(rA,{children:[i.jsx(nA,{title:e("modals.main.settings.sections.appearance.navbar.widgets")}),i.jsx(cA,{children:i.jsx("div",{className:"navbarButtonOptions",children:g.map((B,u)=>i.jsx(c,{...B},u))})})]})},l=()=>i.jsxs(rA,{final:!1,inactive:!A,children:[i.jsx(nA,{title:e(`${a}.refresh`),subtitle:e("modals.main.settings.sections.appearance.navbar.refresh_subtitle")}),i.jsx(cA,{children:i.jsx(KA,{name:"refreshOption",category:"navbar",items:[{value:"page",text:e("modals.main.settings.sections.appearance.navbar.refresh_options.page")},{value:"background",text:e("modals.main.settings.sections.background.title")}]})})]});return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:e(`${a}.title`),setting:"navbar",category:"widgets",zoomSetting:"zoomNavbar",zoomCategory:"navbar"}),i.jsx(s,{}),i.jsx(o,{}),i.jsx(l,{}),i.jsx(Lo,{appsEnabled:t})]})}const Mo=E.memo(ko),zn=[{id:"widgets.greeting.christmas",name:"Merry Christmas",month:12,date:25},{id:"widgets.greeting.newyear",name:"Happy New Year",month:1,date:1},{id:"widgets.greeting.halloween",name:"Happy Halloween",month:10,date:31}],Ko=e=>{const[A,r,t]=String(e).split("-").map(Number);return A&&r&&t?new Date(A,r-1,t):new Date},To=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,Do=({currentSubSection:e,onSubSectionChange:A,sectionName:r})=>{const[t,n]=E.useState(JSON.parse(localStorage.getItem("customEvents"))||[]),[a,s]=E.useState(()=>{const h=localStorage.getItem("birthday");return h?new Date(h):new Date}),[o,l]=E.useState(localStorage.getItem("birthdayenabled")==="true"?"preferences":"preferencesInactive"),[c,g]=E.useState(localStorage.getItem("events")==="true"?"preferences":"preferencesInactive"),B=h=>{const x=h.target.value?Ko(h.target.value):new Date;localStorage.setItem("birthday",x),s(x)},u="modals.main.settings.sections.greeting",p=()=>{const h=JSON.parse(localStorage.getItem("customEvents"))||[],x={id:"widgets.greeting.halloween",name:"",month:1,date:1},M=[...h,x];h.push(x),localStorage.setItem("customEvents",JSON.stringify(h)),n(M)},Q=h=>{const x=t.filter((M,k)=>k!==h);localStorage.setItem("customEvents",JSON.stringify(x)),n(x)},C=()=>{localStorage.setItem("customEvents",JSON.stringify(zn)),n(zn),GA(d.getMessage("toasts.reset"))},I=(h,x)=>{n(k=>{const R=[...k];return R[h]=x,R});const M=JSON.parse(localStorage.getItem("customEvents")||"[]");M[h]=x,localStorage.setItem("customEvents",JSON.stringify(M))},U=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.additional_settings"),subtitle:d.getMessage(`${u}.additional`)}),i.jsxs(cA,{children:[i.jsx(QA,{name:"defaultGreetingMessage",text:d.getMessage(`${u}.default`),category:"greeting"}),i.jsx(tr,{title:d.getMessage(`${u}.name`),name:"greetingName",category:"greeting"})]})]}),b=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage(`${u}.birthday`),subtitle:d.getMessage("modals.main.settings.sections.greeting.birthday_subtitle")}),i.jsxs(cA,{children:[i.jsx(fs,{name:"birthdayenabled",text:d.getMessage("modals.main.settings.enabled"),category:"greeting",onChange:h=>{l(h?"preferences":"preferencesInactive")}}),i.jsxs("div",{className:o,children:[i.jsx(QA,{name:"birthdayage",text:d.getMessage(`${u}.birthday_age`),category:"greeting"}),i.jsx("p",{style:{marginRight:"auto"},children:d.getMessage(`${u}.birthday_date`)}),i.jsx("input",{type:"date",onChange:B,value:To(a),required:!0})]})]})]}),L=()=>i.jsxs("div",{className:c,children:[i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${u}.custom`)}),i.jsx(cA,{children:i.jsxs("div",{className:"headerActions",children:[i.jsx(mA,{type:"settings",onClick:C,icon:i.jsx(fe,{}),label:d.getMessage("modals.main.settings.buttons.reset")}),i.jsx(mA,{type:"settings",onClick:p,icon:i.jsx(er,{}),label:d.getMessage("widgets.quicklinks.add")})]})})]}),i.jsx("div",{className:"messagesContainer",children:t.map((h,x)=>i.jsxs("div",{className:"messageMap",children:[i.jsxs("div",{className:"flexGrow",children:[i.jsx("div",{className:"icon",children:i.jsx(Hr,{})}),i.jsxs("div",{className:"messageText",children:[i.jsx("span",{className:"subtitle",children:d.getMessage(`${u}.event_name`)}),i.jsx("input",{type:"text",className:"text-field-input",value:h.name,placeholder:d.getMessage(`${u}.event_name`),onChange:M=>{const k={...h,name:M.target.value};I(x,k)}})]})]}),i.jsx("div",{children:i.jsxs("div",{className:"messageAction",children:[i.jsxs("div",{className:"eventDateSelection",children:[i.jsxs("label",{className:"subtitle",children:[d.getMessage(`${u}.day`),":"]}),i.jsx("input",{id:"day",type:"number",min:"1",max:"31",value:h.date,onChange:M=>{const k=parseInt(M.target.value,10);if(k>=1&&k<=31){const R={...h,date:k};I(x,R)}}}),i.jsx("hr",{}),i.jsxs("label",{className:"subtitle",children:[d.getMessage(`${u}.month`),":"]}),i.jsx("input",{id:"month",type:"number",min:"1",max:"12",value:h.month,onChange:M=>{const k=parseInt(M.target.value,10);if(k>=1&&k<=12){const R={...h,month:k};I(x,R)}}})]}),i.jsx(mA,{type:"settings",onClick:()=>Q(x),icon:i.jsx(ut,{}),label:d.getMessage("modals.main.marketplace.product.buttons.remove")})]})})]},x))}),t.length===0&&i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Hr,{}),i.jsx("span",{className:"title",children:d.getMessage(`${u}.no_events`)}),i.jsx("span",{className:"subtitle",children:d.getMessage(`${u}.no_events_description`)}),i.jsx(mA,{type:"settings",onClick:p,icon:i.jsx(er,{}),label:d.getMessage(`${u}.add_event`)})]})})]}),S=e==="events";let y;return S?y=i.jsx(TA,{title:d.getMessage(`${u}.title`),secondaryTitle:d.getMessage(`${u}.events.title`),goBack:()=>A(null,r),report:!1}):y=i.jsx(TA,{title:d.getMessage(`${u}.title`),setting:"greeting",category:"widgets",zoomSetting:"zoomGreeting",visibilityToggle:!0}),i.jsxs(i.Fragment,{children:[y,S?i.jsxs(i.Fragment,{children:[i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage(`${u}.events`),subtitle:d.getMessage(`${u}.enable_events`)}),i.jsx(cA,{children:i.jsx(QA,{name:"events",text:d.getMessage(`${u}.events`),category:"greeting",onChange:h=>{g(h?"preferences":"preferencesInactive")}})})]}),b(),L()]}):i.jsxs(Qt,{setting:"greeting",zoomSetting:"zoomGreeting",category:"greeting",visibilityToggle:!0,children:[i.jsx(U,{}),i.jsx(Tn,{title:d.getMessage(`${u}.events`),subtitle:d.getMessage(`${u}.events_description`),onClick:()=>A("events",r),icon:i.jsx(Hr,{})})]})]})},Oo=()=>{const[e,A]=E.useState(localStorage.getItem("timeType")||"digital"),[r,t]=E.useState(localStorage.getItem("hourColour")||"#ffffff"),[n,a]=E.useState(localStorage.getItem("minuteColour")||"#ffffff"),[s,o]=E.useState(localStorage.getItem("secondColour")||"#ffffff"),l="modals.main.settings.sections.time",c=(C,I)=>{const U=I.target.value;C==="hourColour"?t(U):C==="minuteColour"?a(U):C==="secondColour"&&o(U),localStorage.setItem(C,U)},g=()=>i.jsxs(rA,{final:e==="percentageComplete",children:[i.jsx(nA,{title:d.getMessage(`${l}.type`),subtitle:d.getMessage(`${l}.type_subtitle`)}),i.jsx(cA,{children:i.jsx(KA,{name:"timeType",onChange:C=>A(C),category:"clock",items:[{value:"digital",text:d.getMessage(`${l}.digital.title`)},{value:"analogue",text:d.getMessage(`${l}.analogue.title`)},{value:"percentageComplete",text:d.getMessage(`${l}.percentage_complete`)},{value:"verticalClock",text:d.getMessage(`${l}.vertical_clock.title`)}]})})]}),B=i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${l}.digital.title`),subtitle:d.getMessage(`${l}.digital.subtitle`)}),i.jsxs(cA,{children:[i.jsx(cn,{name:"timeformat",options:[{name:d.getMessage(`${l}.digital.twentyfourhour`),value:"twentyfourhour"},{name:d.getMessage(`${l}.digital.twelvehour`),value:"twelvehour"}],smallTitle:!0,category:"clock"}),i.jsx(QA,{name:"seconds",text:d.getMessage(`${l}.digital.seconds`),category:"clock"}),i.jsx(QA,{name:"zero",text:d.getMessage(`${l}.digital.zero`),category:"clock"})]})]}),u=i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${l}.analogue.title`),subtitle:d.getMessage(`${l}.analogue.subtitle`)}),i.jsxs(cA,{children:[i.jsx(QA,{name:"secondHand",text:d.getMessage(`${l}.analogue.second_hand`),category:"clock"}),i.jsx(QA,{name:"minuteHand",text:d.getMessage(`${l}.analogue.minute_hand`),category:"clock"}),i.jsx(QA,{name:"hourHand",text:d.getMessage(`${l}.analogue.hour_hand`),category:"clock"}),i.jsx(QA,{name:"hourMarks",text:d.getMessage(`${l}.analogue.hour_marks`),category:"clock"}),i.jsx(QA,{name:"minuteMarks",text:d.getMessage(`${l}.analogue.minute_marks`),category:"clock"}),i.jsx(QA,{name:"roundClock",text:d.getMessage(`${l}.analogue.round_clock`),category:"clock"})]})]}),p=i.jsxs(i.Fragment,{children:[i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.vertical_clock.change_hour_colour")}),i.jsxs(cA,{children:[i.jsxs("div",{className:"colourInput",children:[i.jsx("input",{type:"color",name:"hourColour",className:"minuteColour",onChange:C=>c("hourColour",C),value:r}),i.jsx("label",{htmlFor:"hourColour",className:"customBackgroundHex",children:r})]}),i.jsxs("span",{className:"link",onClick:()=>c("hourColour",{target:{value:"#ffffff"}}),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})]})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.vertical_clock.change_minute_colour")}),i.jsxs(cA,{children:[i.jsxs("div",{className:"colourInput",children:[i.jsx("input",{type:"color",name:"minuteColour",className:"minuteColour",onChange:C=>c("minuteColour",C),value:n}),i.jsx("label",{htmlFor:"minuteColour",className:"customBackgroundHex",children:n})]}),i.jsxs("span",{className:"link",onClick:()=>c("minuteColour",{target:{value:"#ffffff"}}),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})]})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.vertical_clock.change_second_colour")}),i.jsxs(cA,{children:[i.jsxs("div",{className:"colourInput",children:[i.jsx("input",{type:"color",name:"secondColour",className:"secondColour",onChange:C=>c("secondColour",C),value:s}),i.jsx("label",{htmlFor:"secondColour",className:"customBackgroundHex",children:s})]}),i.jsxs("span",{className:"link",onClick:()=>c("secondColour",{target:{value:"#ffffff"}}),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})]})]}),B]}),Q=()=>{switch(e){case"digital":return B;case"analogue":return u;case"verticalClock":return p;default:return null}};return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage(`${l}.title`),setting:"time",category:"widgets",zoomSetting:"zoomClock",visibilityToggle:!0}),i.jsxs(Qt,{setting:"time",zoomSetting:"zoomClock",category:"clock",visibilityToggle:!0,children:[i.jsx(g,{}),Q()]})]})};function Ro(){const[e,A]=E.useState(localStorage.getItem("dateType")||"long"),r=["DMY","MDY","YMD"],t=i.jsxs(i.Fragment,{children:[i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.date.long_format"),name:"longFormat",category:"date",items:r.map(a=>({value:a,text:a}))}),i.jsx(QA,{name:"dayofweek",text:d.getMessage("modals.main.settings.sections.date.day_of_week"),category:"date"}),i.jsx(QA,{name:"datenth",text:d.getMessage("modals.main.settings.sections.date.datenth"),category:"date"})]}),n=i.jsxs(i.Fragment,{children:[i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.date.short_format"),name:"dateFormat",category:"date",items:r.map(a=>({value:a,text:a}))}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.date.short_separator.title"),name:"shortFormat",category:"date",items:[{value:"dash",text:d.getMessage("modals.main.settings.sections.date.short_separator.dash")},{value:"dots",text:d.getMessage("modals.main.settings.sections.date.short_separator.dots")},{value:"gaps",text:d.getMessage("modals.main.settings.sections.date.short_separator.gaps")},{value:"slashes",text:d.getMessage("modals.main.settings.sections.date.short_separator.slashes")}]})]});return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.date.title"),setting:"date",category:"widgets",zoomSetting:"zoomDate",visibilityToggle:!0}),i.jsxs(Qt,{setting:"date",visibilityToggle:!0,category:"date",zoomSetting:"zoomDate",children:[i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.type"),subtitle:d.getMessage("modals.main.settings.sections.date.type.subtitle")}),i.jsx(cA,{children:i.jsx(KA,{name:"dateType",onChange:a=>{A(a),localStorage.setItem("dateType",a)},category:"date",items:[{value:"long",text:d.getMessage("modals.main.settings.sections.date.type.long")},{value:"short",text:d.getMessage("modals.main.settings.sections.date.type.short")}]})})]}),i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:e==="long"?d.getMessage("modals.main.settings.sections.date.type.long"):d.getMessage("modals.main.settings.sections.date.type.short"),subtitle:d.getMessage("modals.main.settings.sections.date.type_settings")}),i.jsxs(cA,{children:[e==="long"?t:n,i.jsx(QA,{name:"weeknumber",text:d.getMessage("modals.main.settings.sections.date.week_number"),category:"date"}),i.jsx(QA,{name:"datezero",text:d.getMessage("modals.main.settings.sections.time.digital.zero"),category:"date"})]})]})]})]})}const No=()=>i.jsx("div",{className:"quicklink-drag-handle","aria-hidden":"true",children:i.jsx(hs,{})}),_o=({value:e,enabled:A,startEditLink:r,deleteLink:t})=>{const{attributes:n,listeners:a,setNodeRef:s,transform:o,transition:l,isDragging:c}=ws({id:e.key,disabled:!A}),g={transform:ps.Transform.toString(o),transition:l,opacity:c?.5:1},B=u=>u.icon||us(u.url,u.name);return i.jsxs("div",{ref:s,style:g,...n,...a,className:`quicklink-item ${A?"":"disabled"}`,role:"listitem",children:[i.jsx(No,{}),i.jsx("div",{className:"quicklink-icon",children:i.jsx("img",{src:B(e),alt:e.name,draggable:!1})}),i.jsxs("div",{className:"quicklink-content",children:[i.jsx("div",{className:"quicklink-name",children:e.name}),i.jsx("div",{className:"quicklink-url",children:e.url})]}),i.jsxs("div",{className:"quicklink-actions",children:[i.jsxs("button",{className:"quicklink-action-btn",onClick:u=>{A&&(u.stopPropagation(),r(e))},title:"Edit",disabled:!A,"aria-disabled":!A,children:[i.jsx(Bs,{}),i.jsx("span",{children:"Edit"})]}),i.jsxs("button",{className:"quicklink-action-btn quicklink-remove-btn",onClick:u=>{A&&(u.stopPropagation(),t(e.key,u))},title:"Remove",disabled:!A,"aria-disabled":!A,children:[i.jsx(Zi,{}),i.jsx("span",{children:"Remove"})]})]})]})},Go=({items:e,enabled:A,onDragEnd:r,startEditLink:t,deleteLink:n})=>{const a=Cs(rr(vs,{activationConstraint:{distance:6}}),rr(ms,{coordinateGetter:Qs}));return i.jsx(Us,{sensors:a,collisionDetection:Fs,onDragEnd:r,children:i.jsx(bs,{items:e.map(s=>s.key),strategy:Es,children:i.jsx("div",{className:"quicklinks-list",role:"list",children:e.map(s=>i.jsx(_o,{value:s,enabled:A,startEditLink:t,deleteLink:n},s.key))})})})},Pe=()=>{try{const e=localStorage.getItem("quicklinks");if(!e)return[];const A=JSON.parse(e);return Array.isArray(A)?A:[]}catch(e){return console.warn("Failed to parse quicklinks from localStorage. Resetting to []",e),[]}},jo=()=>{const[e,A]=E.useState(Pe()),[r,t]=E.useState(!1),[n,a]=E.useState(""),[s,o]=E.useState(""),[l,c]=E.useState(!1),[g,B]=E.useState(""),[u,p]=E.useState(localStorage.getItem("quicklinksenabled")!=="false"),Q=E.useRef(),C=E.useRef(!1),I=R=>{if(!Q||!Q.current)return;const O=Q.current;O.classList.toggle("disabled",!R),R?O.removeAttribute("aria-hidden"):O.setAttribute("aria-hidden","true")},U=(R,O)=>{O.preventDefault();const D=Pe().filter(z=>z.key!==R);C.current=!0,localStorage.setItem("quicklinks",JSON.stringify(D)),A(D),d.stats.postEvent("feature","Quicklink delete"),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)},b=async(R,O,Z)=>{const D=Pe();if(O=ar(O),!O){a(d.getMessage("widgets.quicklinks.url_error"));return}if(Z.length>0&&dt(Z)===!1){o(d.getMessage("widgets.quicklinks.url_error"));return}const z={name:R||await nr(O),url:O,icon:Z||"",key:Date.now().toString()+Math.random().toString(36).substring(2)};D.push(z),C.current=!0,localStorage.setItem("quicklinks",JSON.stringify(D)),A(D),t(!1),a(""),o(""),d.stats.postEvent("feature","Quicklink add"),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)},L=R=>{c(!0),B(R),t(!0)},S=async(R,O,Z,D)=>{const z=Pe(),eA=z.find(tA=>tA.key===R.key);if(eA){if(Z=ar(Z),!Z){a(d.getMessage("widgets.quicklinks.url_error"));return}if(D.length>0&&dt(D)===!1){o(d.getMessage("widgets.quicklinks.url_error"));return}eA.name=O||await nr(Z),eA.url=Z,eA.icon=D||"",C.current=!0,localStorage.setItem("quicklinks",JSON.stringify(z)),A(z),t(!1),c(!1),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)}},y=R=>{const{active:O,over:Z}=R;if(!Z||!u||O.id===Z.id)return;const D=e.findIndex(tA=>tA.key===O.id),z=e.findIndex(tA=>tA.key===Z.id);if(D===-1||z===-1)return;const eA=ys(e,D,z);C.current=!0,A(eA),localStorage.setItem("quicklinks",JSON.stringify(eA)),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)};E.useEffect(()=>{I(u)},[u]),E.useEffect(()=>{I(u);const R=O=>{if(O!=="quicklinks"||C.current)return;const Z=localStorage.getItem("quicklinksenabled")!=="false",D=Pe(),z=e||[],eA=z.length===D.length&&z.every(tA=>D.some(AA=>AA.key===tA.key));(Z!==u||!eA)&&(I(Z),A(D),p(Z))};return UA.on("refresh",R),()=>{UA.off("refresh",R)}},[u,e]);const h="modals.main.settings.sections.quicklinks",x=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.additional_settings"),subtitle:d.getMessage(`${h}.additional`)}),i.jsxs(cA,{children:[i.jsx(QA,{name:"quicklinksnewtab",text:d.getMessage(`${h}.open_new`),category:"quicklinks"}),i.jsx(QA,{name:"quicklinkstooltip",text:d.getMessage(`${h}.tooltip`),category:"quicklinks"})]})]}),M=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage(`${h}.styling`),subtitle:d.getMessage("modals.main.settings.sections.quicklinks.styling_description")}),i.jsx(cA,{children:i.jsx(KA,{label:d.getMessage(`${h}.style`),name:"quickLinksStyle",category:"quicklinks",items:[{value:"icon",text:d.getMessage(`${h}.options.icon`)},{value:"text",text:d.getMessage(`${h}.options.text_only`)},{value:"metro",text:d.getMessage(`${h}.options.metro`)}]})})]}),k=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${h}.title`)}),i.jsx(cA,{children:i.jsx(mA,{type:"settings",onClick:()=>u&&t(!0),icon:i.jsx(ln,{}),label:d.getMessage(`${h}.add_link`),disabled:!u})})]});return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage(`${h}.title`),setting:"quicklinksenabled",category:"widgets",zoomSetting:"zoomQuicklinks",visibilityToggle:!0}),i.jsxs(Qt,{setting:"quicklinksenabled",category:"quicklinks",visibilityToggle:!0,zoomSetting:"zoomQuicklinks",children:[i.jsx(x,{}),i.jsx(M,{}),i.jsx(k,{}),e.length===0&&i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(zi,{}),i.jsx("span",{className:"title",children:d.getMessage(`${h}.no_quicklinks`)}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.message.add_some")}),i.jsx(mA,{type:"settings",onClick:()=>t(!0),icon:i.jsx(ln,{}),label:d.getMessage(`${h}.add_link`)})]})})]}),i.jsx("div",{className:`quicklinks-container ${u?"":"disabled"}`,ref:Q,"aria-hidden":!u,children:i.jsx("div",{className:`messagesContainer ${u?"":"disabled"}`,children:i.jsx(Go,{items:e,enabled:u,onDragEnd:y,startEditLink:R=>L(R),deleteLink:(R,O)=>U(R,O)})})}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>{t(!1),a(""),o(""),c(!1),B("")},isOpen:r,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(ds,{urlError:n,iconError:s,addLink:(R,O,Z)=>b(R,O,Z),editLink:(R,O,Z,D)=>S(R,O,Z,D),edit:l,editData:g,closeModal:()=>{t(!1),a(""),o(""),c(!1)}})})]})},Vo=()=>{const[e,A]=E.useState(JSON.parse(localStorage.getItem("messages"))||[]),r=(a,s)=>{const o=[...e];a==="add"?o.push(""):o.splice(s,1),A(o),localStorage.setItem("messages",JSON.stringify(o)),UA.emit("refresh","message")},t=(a,s,o)=>{const l=a.target.value,c=[...e];c[o]=l,A(c),localStorage.setItem("messages",JSON.stringify(c)),ls()},n="modals.main.settings.sections.message";return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage(`${n}.title`),setting:"message",category:"widgets",zoomSetting:"zoomMessage",visibilityToggle:!0}),i.jsxs(Qt,{setting:"message",visibilityToggle:!0,category:"message",zoomSetting:"zoomMessage",children:[i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${n}.messages`)}),i.jsx(cA,{children:i.jsx(mA,{type:"settings",onClick:()=>r("add"),icon:i.jsx(er,{}),label:d.getMessage(`${n}.add`)})})]}),i.jsx("div",{className:"messagesContainer",children:e.map((a,s)=>i.jsxs("div",{className:"messageMap",children:[i.jsxs("div",{className:"flexGrow",children:[i.jsx("div",{className:"icon",children:i.jsx(Xn,{})}),i.jsxs("div",{className:"messageText",children:[i.jsx("span",{className:"subtitle",children:d.getMessage(`${n}.title`)}),i.jsx(qi,{value:e[s],placeholder:d.getMessage("modals.main.settings.sections.message.content"),onChange:o=>t(o,!0,s),minRows:2})]})]}),i.jsx("div",{children:i.jsx("div",{className:"messageAction",children:i.jsx(mA,{type:"settings",onClick:()=>r("remove",s),icon:i.jsx(ut,{}),label:d.getMessage("modals.main.marketplace.product.buttons.remove")})})})]},s))}),e.length===0&&i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Xn,{}),i.jsx("span",{className:"title",children:d.getMessage(`${n}.no_messages`)}),i.jsx("span",{className:"subtitle",children:d.getMessage(`${n}.add_some`)}),i.jsx(mA,{type:"settings",onClick:()=>r("add"),icon:i.jsx(er,{}),label:d.getMessage(`${n}.add`)})]})})]})]})};var Sr={exports:{}},qn;function Po(){return qn||(qn=1,(function(e){(function(A){var r=/^\s+/,t=/\s+$/,n=0,a=A.round,s=A.min,o=A.max,l=A.random;function c(f,v){if(f=f||"",v=v||{},f instanceof c)return f;if(!(this instanceof c))return new c(f,v);var w=g(f);this._originalInput=f,this._r=w.r,this._g=w.g,this._b=w.b,this._a=w.a,this._roundA=a(100*this._a)/100,this._format=v.format||w.format,this._gradientType=v.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=w.ok,this._tc_id=n++}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var f=this.toRgb();return(f.r*299+f.g*587+f.b*114)/1e3},getLuminance:function(){var f=this.toRgb(),v,w,K,W,P,oA;return v=f.r/255,w=f.g/255,K=f.b/255,v<=.03928?W=v/12.92:W=A.pow((v+.055)/1.055,2.4),w<=.03928?P=w/12.92:P=A.pow((w+.055)/1.055,2.4),K<=.03928?oA=K/12.92:oA=A.pow((K+.055)/1.055,2.4),.2126*W+.7152*P+.0722*oA},setAlpha:function(f){return this._a=aA(f),this._roundA=a(100*this._a)/100,this},toHsv:function(){var f=Q(this._r,this._g,this._b);return{h:f.h*360,s:f.s,v:f.v,a:this._a}},toHsvString:function(){var f=Q(this._r,this._g,this._b),v=a(f.h*360),w=a(f.s*100),K=a(f.v*100);return this._a==1?"hsv("+v+", "+w+"%, "+K+"%)":"hsva("+v+", "+w+"%, "+K+"%, "+this._roundA+")"},toHsl:function(){var f=u(this._r,this._g,this._b);return{h:f.h*360,s:f.s,l:f.l,a:this._a}},toHslString:function(){var f=u(this._r,this._g,this._b),v=a(f.h*360),w=a(f.s*100),K=a(f.l*100);return this._a==1?"hsl("+v+", "+w+"%, "+K+"%)":"hsla("+v+", "+w+"%, "+K+"%, "+this._roundA+")"},toHex:function(f){return I(this._r,this._g,this._b,f)},toHexString:function(f){return"#"+this.toHex(f)},toHex8:function(f){return U(this._r,this._g,this._b,this._a,f)},toHex8String:function(f){return"#"+this.toHex8(f)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(q(this._r,255)*100)+"%",g:a(q(this._g,255)*100)+"%",b:a(q(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+a(q(this._r,255)*100)+"%, "+a(q(this._g,255)*100)+"%, "+a(q(this._b,255)*100)+"%)":"rgba("+a(q(this._r,255)*100)+"%, "+a(q(this._g,255)*100)+"%, "+a(q(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:AA[I(this._r,this._g,this._b,!0)]||!1},toFilter:function(f){var v="#"+b(this._r,this._g,this._b,this._a),w=v,K=this._gradientType?"GradientType = 1, ":"";if(f){var W=c(f);w="#"+b(W._r,W._g,W._b,W._a)}return"progid:DXImageTransform.Microsoft.gradient("+K+"startColorstr="+v+",endColorstr="+w+")"},toString:function(f){var v=!!f;f=f||this._format;var w=!1,K=this._a<1&&this._a>=0,W=!v&&K&&(f==="hex"||f==="hex6"||f==="hex3"||f==="hex4"||f==="hex8"||f==="name");return W?f==="name"&&this._a===0?this.toName():this.toRgbString():(f==="rgb"&&(w=this.toRgbString()),f==="prgb"&&(w=this.toPercentageRgbString()),(f==="hex"||f==="hex6")&&(w=this.toHexString()),f==="hex3"&&(w=this.toHexString(!0)),f==="hex4"&&(w=this.toHex8String(!0)),f==="hex8"&&(w=this.toHex8String()),f==="name"&&(w=this.toName()),f==="hsl"&&(w=this.toHslString()),f==="hsv"&&(w=this.toHsvString()),w||this.toHexString())},clone:function(){return c(this.toString())},_applyModification:function(f,v){var w=f.apply(null,[this].concat([].slice.call(v)));return this._r=w._r,this._g=w._g,this._b=w._b,this.setAlpha(w._a),this},lighten:function(){return this._applyModification(h,arguments)},brighten:function(){return this._applyModification(x,arguments)},darken:function(){return this._applyModification(M,arguments)},desaturate:function(){return this._applyModification(L,arguments)},saturate:function(){return this._applyModification(S,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(k,arguments)},_applyCombination:function(f,v){return f.apply(null,[this].concat([].slice.call(v)))},analogous:function(){return this._applyCombination(z,arguments)},complement:function(){return this._applyCombination(R,arguments)},monochromatic:function(){return this._applyCombination(eA,arguments)},splitcomplement:function(){return this._applyCombination(D,arguments)},triad:function(){return this._applyCombination(O,arguments)},tetrad:function(){return this._applyCombination(Z,arguments)}},c.fromRatio=function(f,v){if(typeof f=="object"){var w={};for(var K in f)f.hasOwnProperty(K)&&(K==="a"?w[K]=f[K]:w[K]=F(f[K]));f=w}return c(f,v)};function g(f){var v={r:0,g:0,b:0},w=1,K=null,W=null,P=null,oA=!1,fA=!1;return typeof f=="string"&&(f=$(f)),typeof f=="object"&&(J(f.r)&&J(f.g)&&J(f.b)?(v=B(f.r,f.g,f.b),oA=!0,fA=String(f.r).substr(-1)==="%"?"prgb":"rgb"):J(f.h)&&J(f.s)&&J(f.v)?(K=F(f.s),W=F(f.v),v=C(f.h,K,W),oA=!0,fA="hsv"):J(f.h)&&J(f.s)&&J(f.l)&&(K=F(f.s),P=F(f.l),v=p(f.h,K,P),oA=!0,fA="hsl"),f.hasOwnProperty("a")&&(w=f.a)),w=aA(w),{ok:oA,format:f.format||fA,r:s(255,o(v.r,0)),g:s(255,o(v.g,0)),b:s(255,o(v.b,0)),a:w}}function B(f,v,w){return{r:q(f,255)*255,g:q(v,255)*255,b:q(w,255)*255}}function u(f,v,w){f=q(f,255),v=q(v,255),w=q(w,255);var K=o(f,v,w),W=s(f,v,w),P,oA,fA=(K+W)/2;if(K==W)P=oA=0;else{var vA=K-W;switch(oA=fA>.5?vA/(2-K-W):vA/(K+W),K){case f:P=(v-w)/vA+(v<w?6:0);break;case v:P=(w-f)/vA+2;break;case w:P=(f-v)/vA+4;break}P/=6}return{h:P,s:oA,l:fA}}function p(f,v,w){var K,W,P;f=q(f,360),v=q(v,100),w=q(w,100);function oA(jA,je,YA){return YA<0&&(YA+=1),YA>1&&(YA-=1),YA<1/6?jA+(je-jA)*6*YA:YA<1/2?je:YA<2/3?jA+(je-jA)*(2/3-YA)*6:jA}if(v===0)K=W=P=w;else{var fA=w<.5?w*(1+v):w+v-w*v,vA=2*w-fA;K=oA(vA,fA,f+1/3),W=oA(vA,fA,f),P=oA(vA,fA,f-1/3)}return{r:K*255,g:W*255,b:P*255}}function Q(f,v,w){f=q(f,255),v=q(v,255),w=q(w,255);var K=o(f,v,w),W=s(f,v,w),P,oA,fA=K,vA=K-W;if(oA=K===0?0:vA/K,K==W)P=0;else{switch(K){case f:P=(v-w)/vA+(v<w?6:0);break;case v:P=(w-f)/vA+2;break;case w:P=(f-v)/vA+4;break}P/=6}return{h:P,s:oA,v:fA}}function C(f,v,w){f=q(f,360)*6,v=q(v,100),w=q(w,100);var K=A.floor(f),W=f-K,P=w*(1-v),oA=w*(1-W*v),fA=w*(1-(1-W)*v),vA=K%6,jA=[w,oA,P,P,fA,w][vA],je=[fA,w,w,oA,P,P][vA],YA=[P,P,fA,w,w,oA][vA];return{r:jA*255,g:je*255,b:YA*255}}function I(f,v,w,K){var W=[_(a(f).toString(16)),_(a(v).toString(16)),_(a(w).toString(16))];return K&&W[0].charAt(0)==W[0].charAt(1)&&W[1].charAt(0)==W[1].charAt(1)&&W[2].charAt(0)==W[2].charAt(1)?W[0].charAt(0)+W[1].charAt(0)+W[2].charAt(0):W.join("")}function U(f,v,w,K,W){var P=[_(a(f).toString(16)),_(a(v).toString(16)),_(a(w).toString(16)),_(N(K))];return W&&P[0].charAt(0)==P[0].charAt(1)&&P[1].charAt(0)==P[1].charAt(1)&&P[2].charAt(0)==P[2].charAt(1)&&P[3].charAt(0)==P[3].charAt(1)?P[0].charAt(0)+P[1].charAt(0)+P[2].charAt(0)+P[3].charAt(0):P.join("")}function b(f,v,w,K){var W=[_(N(K)),_(a(f).toString(16)),_(a(v).toString(16)),_(a(w).toString(16))];return W.join("")}c.equals=function(f,v){return!f||!v?!1:c(f).toRgbString()==c(v).toRgbString()},c.random=function(){return c.fromRatio({r:l(),g:l(),b:l()})};function L(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.s-=v/100,w.s=lA(w.s),c(w)}function S(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.s+=v/100,w.s=lA(w.s),c(w)}function y(f){return c(f).desaturate(100)}function h(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.l+=v/100,w.l=lA(w.l),c(w)}function x(f,v){v=v===0?0:v||10;var w=c(f).toRgb();return w.r=o(0,s(255,w.r-a(255*-(v/100)))),w.g=o(0,s(255,w.g-a(255*-(v/100)))),w.b=o(0,s(255,w.b-a(255*-(v/100)))),c(w)}function M(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.l-=v/100,w.l=lA(w.l),c(w)}function k(f,v){var w=c(f).toHsl(),K=(w.h+v)%360;return w.h=K<0?360+K:K,c(w)}function R(f){var v=c(f).toHsl();return v.h=(v.h+180)%360,c(v)}function O(f){var v=c(f).toHsl(),w=v.h;return[c(f),c({h:(w+120)%360,s:v.s,l:v.l}),c({h:(w+240)%360,s:v.s,l:v.l})]}function Z(f){var v=c(f).toHsl(),w=v.h;return[c(f),c({h:(w+90)%360,s:v.s,l:v.l}),c({h:(w+180)%360,s:v.s,l:v.l}),c({h:(w+270)%360,s:v.s,l:v.l})]}function D(f){var v=c(f).toHsl(),w=v.h;return[c(f),c({h:(w+72)%360,s:v.s,l:v.l}),c({h:(w+216)%360,s:v.s,l:v.l})]}function z(f,v,w){v=v||6,w=w||30;var K=c(f).toHsl(),W=360/w,P=[c(f)];for(K.h=(K.h-(W*v>>1)+720)%360;--v;)K.h=(K.h+W)%360,P.push(c(K));return P}function eA(f,v){v=v||6;for(var w=c(f).toHsv(),K=w.h,W=w.s,P=w.v,oA=[],fA=1/v;v--;)oA.push(c({h:K,s:W,v:P})),P=(P+fA)%1;return oA}c.mix=function(f,v,w){w=w===0?0:w||50;var K=c(f).toRgb(),W=c(v).toRgb(),P=w/100,oA={r:(W.r-K.r)*P+K.r,g:(W.g-K.g)*P+K.g,b:(W.b-K.b)*P+K.b,a:(W.a-K.a)*P+K.a};return c(oA)},c.readability=function(f,v){var w=c(f),K=c(v);return(A.max(w.getLuminance(),K.getLuminance())+.05)/(A.min(w.getLuminance(),K.getLuminance())+.05)},c.isReadable=function(f,v,w){var K=c.readability(f,v),W,P;switch(P=!1,W=wA(w),W.level+W.size){case"AAsmall":case"AAAlarge":P=K>=4.5;break;case"AAlarge":P=K>=3;break;case"AAAsmall":P=K>=7;break}return P},c.mostReadable=function(f,v,w){var K=null,W=0,P,oA,fA,vA;w=w||{},oA=w.includeFallbackColors,fA=w.level,vA=w.size;for(var jA=0;jA<v.length;jA++)P=c.readability(f,v[jA]),P>W&&(W=P,K=c(v[jA]));return c.isReadable(f,K,{level:fA,size:vA})||!oA?K:(w.includeFallbackColors=!1,c.mostReadable(f,["#fff","#000"],w))};var tA=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},AA=c.hexNames=dA(tA);function dA(f){var v={};for(var w in f)f.hasOwnProperty(w)&&(v[f[w]]=w);return v}function aA(f){return f=parseFloat(f),(isNaN(f)||f<0||f>1)&&(f=1),f}function q(f,v){H(f)&&(f="100%");var w=j(f);return f=s(v,o(0,parseFloat(f))),w&&(f=parseInt(f*v,10)/100),A.abs(f-v)<1e-6?1:f%v/parseFloat(v)}function lA(f){return s(1,o(0,f))}function sA(f){return parseInt(f,16)}function H(f){return typeof f=="string"&&f.indexOf(".")!=-1&&parseFloat(f)===1}function j(f){return typeof f=="string"&&f.indexOf("%")!=-1}function _(f){return f.length==1?"0"+f:""+f}function F(f){return f<=1&&(f=f*100+"%"),f}function N(f){return A.round(parseFloat(f)*255).toString(16)}function T(f){return sA(f)/255}var G=(function(){var f="[-\\+]?\\d+%?",v="[-\\+]?\\d*\\.\\d+%?",w="(?:"+v+")|(?:"+f+")",K="[\\s|\\(]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")\\s*\\)?",W="[\\s|\\(]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")\\s*\\)?";return{CSS_UNIT:new RegExp(w),rgb:new RegExp("rgb"+K),rgba:new RegExp("rgba"+W),hsl:new RegExp("hsl"+K),hsla:new RegExp("hsla"+W),hsv:new RegExp("hsv"+K),hsva:new RegExp("hsva"+W),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function J(f){return!!G.CSS_UNIT.exec(f)}function $(f){f=f.replace(r,"").replace(t,"").toLowerCase();var v=!1;if(tA[f])f=tA[f],v=!0;else if(f=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var w;return(w=G.rgb.exec(f))?{r:w[1],g:w[2],b:w[3]}:(w=G.rgba.exec(f))?{r:w[1],g:w[2],b:w[3],a:w[4]}:(w=G.hsl.exec(f))?{h:w[1],s:w[2],l:w[3]}:(w=G.hsla.exec(f))?{h:w[1],s:w[2],l:w[3],a:w[4]}:(w=G.hsv.exec(f))?{h:w[1],s:w[2],v:w[3]}:(w=G.hsva.exec(f))?{h:w[1],s:w[2],v:w[3],a:w[4]}:(w=G.hex8.exec(f))?{r:sA(w[1]),g:sA(w[2]),b:sA(w[3]),a:T(w[4]),format:v?"name":"hex8"}:(w=G.hex6.exec(f))?{r:sA(w[1]),g:sA(w[2]),b:sA(w[3]),format:v?"name":"hex"}:(w=G.hex4.exec(f))?{r:sA(w[1]+""+w[1]),g:sA(w[2]+""+w[2]),b:sA(w[3]+""+w[3]),a:T(w[4]+""+w[4]),format:v?"name":"hex8"}:(w=G.hex3.exec(f))?{r:sA(w[1]+""+w[1]),g:sA(w[2]+""+w[2]),b:sA(w[3]+""+w[3]),format:v?"name":"hex"}:!1}function wA(f){var v,w;return f=f||{level:"AA",size:"small"},v=(f.level||"AA").toUpperCase(),w=(f.size||"small").toLowerCase(),v!=="AA"&&v!=="AAA"&&(v="AA"),w!=="small"&&w!=="large"&&(w="small"),{level:v,size:w}}e.exports?e.exports=c:window.tinycolor=c})(Math)})(Sr)),Sr.exports}var Xo=Po();const SA=xs(Xo);var Te=function(){return Te=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Te.apply(this,arguments)},Jo=function(e,A,r){if(r||arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||Array.prototype.slice.call(A))},Wo=function(e){e===void 0&&(e="");var A={linearGradient:/^(-(webkit|o|ms|moz)-)?(linear-gradient)/i,repeatingLinearGradient:/^(-(webkit|o|ms|moz)-)?(repeating-linear-gradient)/i,radialGradient:/^(-(webkit|o|ms|moz)-)?(radial-gradient)/i,repeatingRadialGradient:/^(-(webkit|o|ms|moz)-)?(repeating-radial-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest-side|closest-corner|farthest-side|farthest-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,spacedRgbColor:/^(\d{1,3})\s+(\d{1,3})\s+(\d{1,3})\s+\/\s+([0-1](\.\d+)?)/,rgbaColor:/^rgba/i,hslColor:/^hsl/i,hsvColor:/^hsv/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/};function r(H){var j=new Error(e+": "+H);throw j}function t(H){e=e.substr(H)}function n(H){var j=/^[\n\r\t\s]+/.exec(e);j&&t(j[0].length);var _=H.exec(e);return _&&t(_[0].length),_}function a(H){var j=H(),_=[];if(j)for(_.push(j);n(A.comma);)j=H(),j?_.push(j):r("One extra comma");return _}function s(H,j,_){var F=n(j);if(F)return{type:H,value:F[_]}}function o(){var H=s("hex",A.hexColor,1);if(H?.value){var j=SA(H?.value).toRgb(),_=j.r,F=j.g,N=j.b,T=j.a;return{value:"rgba(".concat(_,", ").concat(F,", ").concat(N,", ").concat(T,")")}}}var l=function(H){var j=me(H?.[0]);return{value:"".concat(j?"RGBA":"rgba","(").concat(a(AA),")")}};function c(H,j){var _=n(H);if(_){n(A.startCall)||r("Missing (");var F=j(_);return n(A.endCall)||r("Missing )"),F}}function g(){return c(A.hslColor,dA)}function B(){return c(A.rgbaColor,l)}function u(){return c(A.rgbColor,q)}function p(){var H=s("literal",A.literalColor,0);if(H?.value){var j=SA(H?.value).toRgb(),_=j.r,F=j.g,N=j.b,T=j.a;return{value:"rgba(".concat(_,", ").concat(F,", ").concat(N,", ").concat(T,")")}}}function Q(){return c(A.hsvColor,aA)}function C(){return o()||g()||B()||u()||p()||Q()}function I(){var H,j=C();return j||r("Expected color definition"),j.left=parseInt((H=lA())===null||H===void 0?void 0:H.value),j}function U(H,j,_){return c(j,function(){var F=_();return F&&(n(A.comma)||r("Missing comma before color stops")),{type:H,orientation:F,colorStops:a(I)}})}function b(){return h()||x()}function L(){return U("linear-gradient",A.linearGradient,b)||U("repeating-linear-gradient",A.repeatingLinearGradient,b)||U("radial-gradient",A.radialGradient,M)||U("repeating-radial-gradient",A.repeatingRadialGradient,M)}function S(){return a(L)}function y(){var H,j=S();e.length>0&&r("Invalid input not EOF");var _=j[0],F=(H=_?.colorStops)===null||H===void 0?void 0:H.filter(function(T){return me(T.value)}).length,N=function(){if(F>0)return _;var T=function(G,J){return J===0?Cr(G):mt(G)};return Te(Te({},_),{colorStops:_.colorStops.map(function(G,J){return Te(Te({},G),{value:T(G,J)})})})};return N()}function h(){return s("directional",A.sideOrCorner,1)}function x(){return s("angular",A.angleValue,1)}function M(){var H,j=k(),_;return j&&(H=[],H.push(j),_=e,n(A.comma)&&(j=k(),j?H.push(j):e=_)),H}function k(){var H=O()||Z();if(H)H.at=z();else{var j=D();if(j){H=j;var _=z();_&&(H.at=_)}else{var F=eA();F&&(H={type:"default-radial",at:F})}}return H}function R(){return s("px",A.pixelValue,1)||s("em",A.emValue,1)}function O(){var H=s("shape",/^(circle)/i,0);return H&&(H.style=R()||D()),H}function Z(){var H=s("shape",/^(ellipse)/i,0);return H&&(H.style=lA()||D()),H}function D(){return s("extent-keyword",A.extentKeywords,1)}function z(){if(s("position",/^at/,0)){var H=eA();return H||r("Missing positioning value"),H}}function eA(){var H=tA();if(H.x||H.y)return{type:"position",value:H}}function tA(){return{x:lA(),y:lA()}}function AA(){return n(A.number)[1]}var dA=function(H){var j=me(H?.[0]),_=a(AA),F=SA({h:_[0],s:_[1],l:_[2],a:_[3]||1}).toRgb(),N=F.r,T=F.g,G=F.b,J=F.a;return{value:"".concat(j?"RGBA":"rgba","(").concat(N,", ").concat(T,", ").concat(G,", ").concat(J,")")}},aA=function(H){var j=me(H?.[0]),_=a(AA),F=SA({h:_[0],s:_[1],v:_[2],a:_[3]||1}).toRgb(),N=F.r,T=F.g,G=F.b,J=F.a;return{value:"".concat(j?"RGBA":"rgba","(").concat(N,", ").concat(T,", ").concat(G,", ").concat(J,")")}},q=function(H){var j=me(H?.[0]),_=n(A.spacedRgbColor),F=_||Jo([null],a(AA),!0),N=F[1],T=F[2],G=F[3],J=F[4],$=J===void 0?1:J;return{value:"".concat(j?"RGBA":"rgba","(").concat(N,", ").concat(T,", ").concat(G,", ").concat($,")")}};function lA(){return s("%",A.percentageValue,1)||sA()||R()}function sA(){return s("position-keyword",A.positionKeywords,1)}return y()},mt=function(e){return e.value.toLowerCase()},Cr=function(e){return e.value.toUpperCase()},Yo=function(e,A,r){var t=e?.includes("gradient");if(t){var n=e?.includes("conic"),a=n?r:e;n&&console.log("Sorry we cant handle conic gradients yet");var s=Wo(a);return s?.colorStops}else{var a=e||A;return[{value:a}]}},Re=function(e,A,r){return isNaN(e)||e<A?A:e>r?r:e},ee=function(e){return Math.round(e)},sr=function(){return sr=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},sr.apply(this,arguments)},Hs=function(e){var A=e.target.parentNode.getBoundingClientRect(),r=e.target.className,t=r==="c-resize ps-rl"?15:0;return{offsetLeft:A?.x+t,offsetTop:A?.y,clientWidth:A?.width,clientHeight:A?.height}};function Ne(e,A){var r=Hs(e),t=r.offsetLeft,n=r.clientWidth,a=e.clientX-t-A/2,s=n-18,o=Re(a,0,s);return Math.round(o/(s/100))}function Zo(e,A,r,t,n){var a=e*r-n/2,s=(100-A)/100*t-n/2;return[a,s]}var zo=function(e){if(e.clientX)return{clientX:e.clientX,clientY:e.clientY};var A=e.touches[0]||{};return{clientX:A.clientX,clientY:A.clientY}};function qo(e,A){var r=Hs(e),t=r.offsetLeft,n=r.offsetTop,a=r.clientWidth,s=r.clientHeight,o=zo(e),l=o.clientX,c=o.clientY,g=function(){var u=l-t-A/2;return Re(u,-9,a-10)},B=function(){var u=c-n-A/2;return Re(u,-9,s-10)};return[g(),B()]}var me=function(e){var A;return e?.[0]===((A=e?.[0])===null||A===void 0?void 0:A.toUpperCase())},Ss=function(e){if(e==="to top")return 0;if(e==="to bottom")return 180;if(e==="to left")return 270;if(e==="to right")return 90;if(e==="to top right")return 45;if(e==="to bottom right")return 135;if(e==="to bottom left")return 225;if(e==="to top left")return 315;var A=e||0;return parseInt(A)},$o=function(e){var A,r,t,n,a;if(typeof e=="string")return e;if(!((A=e?.type)===null||A===void 0)&&A.includes("gradient")){var s=(r=e?.colorStops)===null||r===void 0?void 0:r.sort(function(u,p){return u?.left-p?.left}),o=(t=s?.map(function(u){return"".concat(u?.value," ").concat(u?.left,"%")}))===null||t===void 0?void 0:t.join(", "),l=e?.type,c=Ss((n=e?.orientation)===null||n===void 0?void 0:n.value),g=l==="linear-gradient"?"".concat(c,"deg"):"circle";return"".concat(l,"(").concat(g,", ").concat(o,")")}else{var B=((a=e?.colorStops[0])===null||a===void 0?void 0:a.value)||"rgba(175, 51, 242, 1)";return B}},Al=function(e,A){var r=e?.map(function(a,s){return sr(sr({},a),{index:s})}),t=r?.find(function(a){return me(a.value)}),n=t||r[0];return{currentColor:n?.value||A,selectedColor:n?.index||0,currentLeft:n?.left||0}},el=function(e){var A,r=e?.split(",")[0],t=(A=r?.split("(")[1])===null||A===void 0?void 0:A.replace("deg","");return Ss(t)},tl=function(e){var A=e?.includes("gradient"),r=e?.split("(")[0],t=el(e),n=r==="linear-gradient"?"".concat(t,"deg"):"circle";return{degrees:t,degreeStr:n,isGradient:A,gradientType:r}},DA=function(){return DA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},DA.apply(this,arguments)},rl=function(e,A,r){if(r||arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||Array.prototype.slice.call(A))},Ls=E.createContext(null);function nl(e){var A,r,t,n,a=e.value,s=e.children,o=e.onChange,l=e.isDarkMode,c=e.squareWidth,g=e.hideOpacity,B=e.showHexAlpha,u=e.squareHeight,p=e.passedConfig,Q=e.defaultStyles,C=e.pickerIdSuffix,I={barSize:(A=p.barSize)!==null&&A!==void 0?A:Et.barSize,crossSize:(r=p.crossSize)!==null&&r!==void 0?r:Et.crossSize,defaultColor:(t=p.defaultColor)!==null&&t!==void 0?t:Et.defaultColor,defaultGradient:(n=p.defaultGradient)!==null&&n!==void 0?n:Et.defaultGradient},U=Yo(a,I.defaultColor,I.defaultGradient),b=tl(a),L=b.degrees,S=b.degreeStr,y=b.isGradient,h=b.gradientType,x=Al(U,I.defaultGradient),M=x.currentColor,k=x.selectedColor,R=x.currentLeft,O=E.useState("rgb"),Z=O[0],D=O[1],z=E.useState({}),eA=z[0],tA=z[1],AA=SA(M),dA=AA.toRgb(),aA=AA.toHsv(),q=E.useState(DA(DA({},dA),aA)),lA=q[0],sA=q[1];E.useEffect(function(){aA?.s===0?sA(DA(DA(DA({},dA),aA),{h:lA?.h})):sA(DA(DA({},dA),aA))},[M]);var H=function(T){var G=T.sort(function(wA,f){return wA.left-f.left}),J=G?.map(function(wA){return"".concat(wA?.value," ").concat(wA.left,"%")}),$="".concat(h,"(").concat(S,", ").concat(J.join(", "),")");tA(DA(DA({},eA),{gradient:$})),o($)},j=function(T,G){var J=U?.filter(function(wA){return!me(wA.value)}),$=rl([{value:T.toUpperCase(),left:G??R}],J,!0);H($)},_=function(T){y?j(T):(tA(DA(DA({},eA),{color:T})),o(T))},F=function(){if(U?.length>2){var T=U?.map(function(J,$){return DA(DA({},J),{value:$===k-1?Cr(J):mt(J)})}),G=T?.filter(function(J,$){return $!==k});H(G)}},N={hc:lA,setHc:sA,value:a,colors:U,config:I,degrees:L,onChange:o,previous:eA,inputType:Z,tinyColor:AA,isDarkMode:l,isGradient:y,squareWidth:c,hideOpacity:g,currentLeft:R,deletePoint:F,showHexAlpha:B,squareHeight:u,setInputType:D,gradientType:h,handleChange:_,currentColor:M,selectedColor:k,defaultStyles:Q,handleGradient:j,pickerIdSuffix:C,createGradientStr:H};return m.createElement(Ls.Provider,{value:N},s)}function BA(){var e=E.useContext(Ls);if(!e)throw new Error("usePicker has to be used within <PickerContext.Provider>");return e}var Et={barSize:18,crossSize:18,defaultColor:"rgba(175, 51, 242, 1)",defaultGradient:"linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%)"},al=function(e,A){E.useEffect(function(){var r,t=(r=e?.current)===null||r===void 0?void 0:r.getContext("2d",{willReadFrequently:!0});if(t){t.rect(0,0,A,14);for(var n=t.createLinearGradient(0,0,A,0),a=0;a<=360;a+=30)n.addColorStop(a/360,"hsl(".concat(a,", 100%, 50%)"));t.fillStyle=n,t.fill()}},[e,A])},sl=function(e,A,r,t){E.useEffect(function(){var n,a=(n=e?.current)===null||n===void 0?void 0:n.getContext("2d",{willReadFrequently:!0});if(a){a.rect(0,0,t,14);for(var s=a.createLinearGradient(0,0,t,0),o=0;o<=100;o+=10)s.addColorStop(o/100,"hsl(".concat(A,", ").concat(o,"%, ").concat(r,"%)"));a.fillStyle=s,a.fill()}},[e,A,r,t])},il=function(e,A,r,t){E.useEffect(function(){var n,a=(n=e?.current)===null||n===void 0?void 0:n.getContext("2d",{willReadFrequently:!0});if(a){a.rect(0,0,t,14);for(var s=a.createLinearGradient(0,0,t,0),o=0;o<=100;o+=10)s.addColorStop(o/100,"hsl(".concat(A,", ").concat(r,"%, ").concat(o,"%)"));a.fillStyle=s,a.fill()}},[e,A,r,t])},ol=function(e,A,r,t){E.useEffect(function(){var n,a=(n=e?.current)===null||n===void 0?void 0:n.getContext("2d",{willReadFrequently:!0});if(a){a.rect(0,0,t,14);for(var s=a.createLinearGradient(0,0,t,0),o=0;o<=100;o+=10){var l=SA({h:A,s:r,v:o});s.addColorStop(o/100,l.toHslString())}a.fillStyle=s,a.fill()}},[e,A,r,t])},ir=function(){return ir=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},ir.apply(this,arguments)},ll=function(){var e=E.useRef(null),A=BA(),r=A.config,t=A.handleChange,n=A.squareWidth,a=A.hc,s=A.setHc,o=A.pickerIdSuffix,l=E.useState(!1),c=l[0],g=l[1],B=r.barSize;al(e,n);var u=function(){g(!1)},p=function(){g(!0)},Q=function(U){var b=Ne(U,B)*3.6,L=SA({h:b,s:a?.s,v:a?.v}),S=L.toRgb(),y=S.r,h=S.g,x=S.b;t("rgba(".concat(y,", ").concat(h,", ").concat(x,", ").concat(a.a,")")),s(ir(ir({},a),{h:b}))},C=function(U){c&&Q(U)},I=function(U){c||Q(U)};return E.useEffect(function(){var U=function(){u()};return window.addEventListener("mouseup",U),function(){window.removeEventListener("mouseup",U)}},[]),m.createElement("div",{style:{height:14,marginTop:17,marginBottom:4,cursor:"ew-resize",position:"relative"},onMouseMove:function(U){return C(U)},id:"rbgcp-hue-wrap".concat(o)},m.createElement("div",{tabIndex:0,role:"button",style:{border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0, 0, 0, 0.5)",width:"18px",height:"18px",zIndex:1e3,transition:"all 10ms linear",position:"absolute",left:a?.h*((n-18)/360),top:-2,cursor:"ew-resize",boxSizing:"border-box"},onMouseDown:p,id:"rbgcp-hue-handle".concat(o)}),m.createElement("canvas",{ref:e,height:"14px",width:"".concat(n,"px"),onClick:function(U){return I(U)},id:"rbgcp-hue-bar".concat(o),style:{borderRadius:14,position:"relative",verticalAlign:"top"}}))};function cl(e,A,r){var t=0,n=0,a=0,s=0;if(e===null||A===null||r===null||isNaN(e)||isNaN(A)||isNaN(r))return console.log("Please enter numeric RGB values!"),{c:0,m:0,k:0,y:1};if(e<0||A<0||r<0||e>255||A>255||r>255)return console.log("RGB values must be in the range 0 to 255."),{c:0,m:0,k:0,y:1};if(e===0&&A===0&&r===0)return s=1,{c:0,m:0,k:0,y:1};t=1-e/255,n=1-A/255,a=1-r/255;var o=Math.min(t,Math.min(n,a));return t=(t-o)/(1-o),n=(n-o)/(1-o),a=(a-o)/(1-o),s=o,{c:t,m:n,y:a,k:s}}var gl=function(e){var A=e.c,r=e.m,t=e.y,n=e.k,a=255*(1-A)*(1-n),s=255*(1-r)*(1-n),o=255*(1-t)*(1-n);return{r:a,g:s,b:o}},ul=function(e){return typeof e!="number"?"FF":e<0?"00":e>1?"FF":Math.round(e*255).toString(16).padStart(2,"0").toUpperCase()},WA=function(){return WA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},WA.apply(this,arguments)},NA=function(e){var A=e.label,r=e.value,t=e.callback,n=e.max,a=n===void 0?100:n,s=e.hideOpacity,o=e.defaultStyles,l=e.pickerIdSuffix,c=E.useState(r),g=c[0],B=c[1],u=s?"25%":"20%";E.useEffect(function(){B(r)},[r]);var p=function(Q){var C=Re(parseFloat(Q.target.value),0,a);B(C),t(C)};return m.createElement("div",{style:{width:u,flexShrink:1},id:"rbgcp-".concat(A,"-input-wrapper").concat(l)},m.createElement("input",{value:g,onChange:function(Q){return p(Q)},style:WA({},o.rbgcpInput),id:"rbgcp-".concat(A,"-input").concat(l)}),m.createElement("div",{style:WA({},o.rbgcpInputLabel)},A))},Bl=function(e){var A=e.opacity,r=e.tinyColor,t=e.showHexAlpha,n=e.handleChange,a=e.defaultStyles,s=e.pickerIdSuffix,o=E.useState(""),l=o[0],c=o[1],g=r.toHex(),B=E.useState(g),u=B[0],p=B[1];E.useEffect(function(){l!=="hex"&&p(g)},[r,l,g]);var Q=function(){c("hex")},C=function(){c("")},I=function(S){var y=SA(S.target.value);if(p(S.target.value),y.isValid()){var h=y.toRgb(),x=h.r,M=h.g,k=h.b,R="rgba(".concat(x,", ").concat(M,", ").concat(k,", ").concat(A,")");n(R)}},U=t?"".concat(u).concat(ul(A)):u,b=t?"HEXA":"HEX",L=t?88:76;return m.createElement("div",{style:{width:L,flexShrink:0},id:"rbgcp-hex-input-wrapper".concat(s)},m.createElement("input",{onBlur:C,onFocus:Q,onChange:function(S){return I(S)},value:U?.toUpperCase(),id:"rbgcp-hex-input".concat(s),style:WA(WA({},a.rbgcpInput),a.rbgcpHexInput)}),m.createElement("div",{style:WA({},a.rbgcpInputLabel)},b))},dl=function(e){var A=e.hc,r=e.hideOpacity,t=e.handleChange,n=e.defaultStyles,a=e.pickerIdSuffix,s=function(o){var l=o.r,c=o.g,g=o.b;t("rgba(".concat(l,", ").concat(c,", ").concat(g,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"R",max:255,value:A?.r,hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(o){return s({r:o,g:A?.g,b:A?.b})}}),m.createElement(NA,{label:"G",max:255,value:A?.g,hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(o){return s({r:A?.r,g:o,b:A?.b})}}),m.createElement(NA,{label:"B",max:255,value:A?.b,hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(o){return s({r:A?.r,g:A?.g,b:o})}}))},fl=function(e){var A=e.hc,r=e.setHc,t=e.tinyColor,n=e.hideOpacity,a=e.handleChange,s=e.defaultStyles,o=e.pickerIdSuffix,l=t.toHsl(),c=l.s,g=l.l,B=function(p,Q,C){var I=SA({h:p,s:Q,l:C}).toRgb(),U=I.r,b=I.g,L=I.b;a("rgba(".concat(U,", ").concat(b,", ").concat(L,", ").concat(A?.a,")")),r(WA(WA({},A),{h:p}))},u=function(p){var Q=SA(p).toRgb(),C=Q.r,I=Q.g,U=Q.b;a("rgba(".concat(C,", ").concat(I,", ").concat(U,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"H",max:360,value:ee(A?.h),hideOpacity:n,defaultStyles:s,pickerIdSuffix:o,callback:function(p){return B(p,c,g)}}),m.createElement(NA,{label:"S",value:ee(c*100),hideOpacity:n,defaultStyles:s,pickerIdSuffix:o,callback:function(p){return u({h:A?.h,s:p,l:g})}}),m.createElement(NA,{label:"L",value:ee(g*100),hideOpacity:n,defaultStyles:s,pickerIdSuffix:o,callback:function(p){return u({h:A?.h,s:c,l:p})}}))},hl=function(e){var A=e.hc,r=e.setHc,t=e.hideOpacity,n=e.handleChange,a=e.defaultStyles,s=e.pickerIdSuffix,o=function(c,g,B){var u=SA({h:c,s:g,v:B}).toRgb(),p=u.r,Q=u.g,C=u.b;n("rgba(".concat(p,", ").concat(Q,", ").concat(C,", ").concat(A?.a,")")),r(WA(WA({},A),{h:c}))},l=function(c){var g=SA(c).toRgb(),B=g.r,u=g.g,p=g.b;n("rgba(".concat(B,", ").concat(u,", ").concat(p,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"H",max:360,value:ee(A?.h),hideOpacity:t,defaultStyles:a,pickerIdSuffix:s,callback:function(c){return o(c,A?.s,A?.v)}}),m.createElement(NA,{label:"S",hideOpacity:t,value:ee(A?.s*100),defaultStyles:a,pickerIdSuffix:s,callback:function(c){return l({h:A?.h,s:c,v:A?.v})}}),m.createElement(NA,{label:"V",hideOpacity:t,value:ee(A?.v*100),defaultStyles:a,pickerIdSuffix:s,callback:function(c){return l({h:A?.h,s:A?.s,v:c})}}))},wl=function(e){var A=e.hc,r=e.hideOpacity,t=e.handleChange,n=e.defaultStyles,a=e.pickerIdSuffix,s=cl(A?.r,A?.g,A?.b),o=s.c,l=s.m,c=s.y,g=s.k,B=function(u){var p=gl(u),Q=p.r,C=p.g,I=p.b;t("rgba(".concat(Q,", ").concat(C,", ").concat(I,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"C",value:ee(o*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:u/100,m:l,y:c,k:g})}}),m.createElement(NA,{label:"M",value:ee(l*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:o,m:u/100,y:c,k:g})}}),m.createElement(NA,{label:"Y",value:ee(c*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:o,m:l,y:u/100,k:g})}}),m.createElement(NA,{label:"K",value:ee(g*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:o,m:l,y:c,k:u/100})}}))},pl=function(){var e=BA(),A=e.hc,r=e.setHc,t=e.inputType,n=e.tinyColor,a=e.hideOpacity,s=e.showHexAlpha,o=e.handleChange,l=e.defaultStyles,c=e.pickerIdSuffix;return m.createElement("div",{style:WA({columnGap:6,paddingTop:14,display:"flex",justifyContent:"space-between"},l.rbgcpInputsWrap),id:"rbgcp-inputs-wrap".concat(c)},t!=="cmyk"&&m.createElement(Bl,{opacity:A?.a,tinyColor:n,showHexAlpha:s,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="hsl"&&m.createElement(fl,{hc:A,setHc:r,tinyColor:n,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="rgb"&&m.createElement(dl,{hc:A,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="hsv"&&m.createElement(hl,{hc:A,setHc:r,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="cmyk"&&m.createElement(wl,{hc:A,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),!a&&m.createElement(NA,{label:"A",hideOpacity:a,defaultStyles:l,value:Math.round(A?.a*100),pickerIdSuffix:c,callback:function(g){return o("rgba(".concat(A?.r,", ").concat(A?.g,", ").concat(A?.b,", ").concat(g/100,")"))}}))},Cl=function(e,A,r,t){E.useEffect(function(){if(e.current){var n=e.current.getContext("2d",{willReadFrequently:!0});if(n){n.fillStyle="hsl(".concat(A,", 100%, 50%)"),n.fillRect(0,0,r,t);var a=n.createLinearGradient(0,0,r,0);a.addColorStop(0,"rgba(255, 255, 255, 1)"),a.addColorStop(1,"rgba(255, 255, 255, 0)"),n.fillStyle=a,n.fillRect(0,0,r,t);var s=n.createLinearGradient(0,0,0,t);s.addColorStop(0,"rgba(0, 0, 0, 0)"),s.addColorStop(1,"rgba(0, 0, 0, 1)"),n.fillStyle=s,n.fillRect(0,0,r,t)}}},[e,A,r,t])},Lr,$n;function Ql(){if($n)return Lr;$n=1;var e="Expected a function",A=NaN,r="[object Symbol]",t=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,o=parseInt,l=typeof Ft=="object"&&Ft&&Ft.Object===Object&&Ft,c=typeof self=="object"&&self&&self.Object===Object&&self,g=l||c||Function("return this")(),B=Object.prototype,u=B.toString,p=Math.max,Q=Math.min,C=function(){return g.Date.now()};function I(h,x,M){var k,R,O,Z,D,z,eA=0,tA=!1,AA=!1,dA=!0;if(typeof h!="function")throw new TypeError(e);x=y(x)||0,b(M)&&(tA=!!M.leading,AA="maxWait"in M,O=AA?p(y(M.maxWait)||0,x):O,dA="trailing"in M?!!M.trailing:dA);function aA(T){var G=k,J=R;return k=R=void 0,eA=T,Z=h.apply(J,G),Z}function q(T){return eA=T,D=setTimeout(H,x),tA?aA(T):Z}function lA(T){var G=T-z,J=T-eA,$=x-G;return AA?Q($,O-J):$}function sA(T){var G=T-z,J=T-eA;return z===void 0||G>=x||G<0||AA&&J>=O}function H(){var T=C();if(sA(T))return j(T);D=setTimeout(H,lA(T))}function j(T){return D=void 0,dA&&k?aA(T):(k=R=void 0,Z)}function _(){D!==void 0&&clearTimeout(D),eA=0,k=z=R=D=void 0}function F(){return D===void 0?Z:j(C())}function N(){var T=C(),G=sA(T);if(k=arguments,R=this,z=T,G){if(D===void 0)return q(z);if(AA)return D=setTimeout(H,x),aA(z)}return D===void 0&&(D=setTimeout(H,x)),Z}return N.cancel=_,N.flush=F,N}function U(h,x,M){var k=!0,R=!0;if(typeof h!="function")throw new TypeError(e);return b(M)&&(k="leading"in M?!!M.leading:k,R="trailing"in M?!!M.trailing:R),I(h,x,{leading:k,maxWait:x,trailing:R})}function b(h){var x=typeof h;return!!h&&(x=="object"||x=="function")}function L(h){return!!h&&typeof h=="object"}function S(h){return typeof h=="symbol"||L(h)&&u.call(h)==r}function y(h){if(typeof h=="number")return h;if(S(h))return A;if(b(h)){var x=typeof h.valueOf=="function"?h.valueOf():h;h=b(x)?x+"":x}if(typeof h!="string")return h===0?h:+h;h=h.replace(t,"");var M=a.test(h);return M||s.test(h)?o(h.slice(2),M?2:8):n.test(h)?A:+h}return Lr=U,Lr}var ml=Ql();const vl=xs(ml);var ve=function(){return ve=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},ve.apply(this,arguments)},Ul=function(){var e,A,r=BA(),t=r.hc,n=r.config,a=r.squareWidth,s=r.squareHeight,o=r.handleChange,l=r.defaultStyles,c=r.pickerIdSuffix,g=n.crossSize,B=E.useState(!1),u=B[0],p=B[1],Q=E.useRef(null),C=Zo(t?.s,t?.v*100,a,s,g),I=C[0],U=C[1],b=E.useState({x:I,y:U}),L=b[0],S=b[1];Cl(Q,t?.h,a,s),E.useEffect(function(){u||S({x:t?.v===0?L.x:I,y:U})},[I,U]);var y=function(O){var Z=vl(function(){var D=qo(O,g),z=D[0],eA=D[1];if(z&&eA){var tA=Math.min(z+g/2,a-1),AA=Math.min(eA+g/2,s-1),dA=tA/a*100,aA=100-AA/s*100;S({x:aA===0?L?.x:z,y:eA});var q=SA("hsva(".concat(t?.h,", ").concat(dA,"%, ").concat(aA,"%, ").concat(t?.a,")"));o(q.toRgbString())}},250);Z()},h=function(){p(!1)},x=function(O){u&&y(O)},M=function(O){u||y(O)},k=function(){p(!0)},R=function(O){p(!0),y(O)};return E.useEffect(function(){var O=function(){h()};return window.addEventListener("mouseup",O),function(){window.removeEventListener("mouseup",O)}},[]),m.createElement("div",{style:{position:"relative",marginBottom:12},id:"rbgcp-square-wrapper".concat(c)},m.createElement("div",{onMouseUp:h,onTouchEnd:h,onMouseDown:R,onTouchStart:R,onMouseMove:function(O){return x(O)},id:"rbgcp-square".concat(c),style:{position:"relative",cursor:"ew-cross"}},m.createElement("div",{style:ve(ve(ve({},l.rbgcpHandle),{transform:"translate(".concat((e=L?.x)!==null&&e!==void 0?e:0,"px, ").concat((A=L?.y)!==null&&A!==void 0?A:0,"px)")}),u?{transition:""}:{}),onMouseDown:k,id:"rbgcp-square-handle".concat(c)}),m.createElement("div",{style:ve(ve({},l.rbgcpCanvasWrapper),{height:s}),id:"rbgcp-square-canvas-wrapper".concat(c),onClick:function(O){return M(O)}},m.createElement("canvas",{ref:Q,width:"".concat(a,"px"),height:"".concat(s,"px"),id:"rbgcp-square-canvas".concat(c)}))))},ce=function(){return ce=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},ce.apply(this,arguments)},Fl=function(){var e=BA(),A=e.config,r=e.hc,t=r===void 0?{}:r,n=e.squareWidth,a=e.handleChange,s=e.defaultStyles,o=e.pickerIdSuffix,l=E.useState(!1),c=l[0],g=l[1],B=t.r,u=t.g,p=t.b,Q="linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(".concat(B,",").concat(u,",").concat(p,",.5) 100%)"),C=A.barSize,I=function(){g(!1)},U=function(){g(!0)},b=function(h){var x=Ne(h,C)/100,M="rgba(".concat(B,", ").concat(u,", ").concat(p,", ").concat(x,")");a(M)},L=function(h){c&&b(h)},S=function(h){c||b(h)},y=n-18;return E.useEffect(function(){var h=function(){I()};return window.addEventListener("mouseup",h),function(){window.removeEventListener("mouseup",h)}},[]),m.createElement("div",{onMouseDown:U,onMouseMove:function(h){return L(h)},style:{height:14,marginTop:17,marginBottom:4,cursor:"ew-resize",position:"relative"},id:"rbgcp-opacity-wrapper".concat(o)},m.createElement("div",{id:"rbgcp-opacity-checkered-bg".concat(o),style:ce(ce({},s.rbgcpCheckered),{width:"100%",height:14})}),m.createElement("div",{id:"rbgcp-opacity-handle".concat(o),style:ce(ce({},s.rbgcpHandle),{left:y*t?.a,top:-2})}),m.createElement("div",{style:ce(ce({},s.rbgcpOpacityOverlay),{background:Q}),id:"rbgcp-opacity-overlay".concat(o),onClick:function(h){return S(h)}}))},bl={CONTROLS:{SOLID:"Solid",GRADIENT:"Gradient"}},El=["rgba(0,0,0,1)","rgba(128,128,128, 1)","rgba(192,192,192, 1)","rgba(255,255,255, 1)","rgba(0,0,128,1)","rgba(0,0,255,1)","rgba(0,255,255, 1)","rgba(0,128,0,1)","rgba(128,128,0, 1)","rgba(0,128,128,1)","rgba(0,255,0, 1)","rgba(128,0,0, 1)","rgba(128,0,128, 1)","rgba(175, 51, 242, 1)","rgba(255,0,255, 1)","rgba(255,0,0, 1)","rgba(240, 103, 46, 1)","rgba(255,255,0, 1)"],yl=function(e){var A=e.presets,r=A===void 0?[]:A,t=BA(),n=t.value,a=t.onChange,s=t.isDarkMode,o=t.squareWidth,l=t.handleChange,c=t.pickerIdSuffix,g=function(){return r?.length>0?r?.slice(0,18):El},B=function(p){p?.includes("gradient")?a(p):l(p)},u=function(p){if(!p||s)return"";var Q=p?.replace(" ","");return Q==="rgba(255,255,255,1)"?"1px solid #96959c":""};return m.createElement("div",{style:{marginTop:14,display:"flex",justifyContent:"space-between"},id:"rbgcp-footer-wrapper".concat(c)},m.createElement("div",{style:{width:50,height:50,flexShrink:0,borderRadius:6,background:n,border:u(n)},id:"rbgcp-preview".concat(c)}),m.createElement("div",{style:{rowGap:3,display:"flex",flexWrap:"wrap",width:o-57,justifyContent:"space-between"},id:"rbgcp-presets-wrapper".concat(c)},g().map(function(p,Q){return m.createElement("div",{key:"".concat(p,"-").concat(Q),id:"rbgcp-preset-".concat(Q,"-wrapper").concat(c),style:{width:"calc(100% / 9)",paddingLeft:3}},m.createElement("div",{style:{height:23.5,width:"100%",background:p,borderRadius:4,border:u(p)},onClick:function(){return B(p)},id:"rbgcp-preset-".concat(Q).concat(c)}))})))},Y=function(){return Y=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Y.apply(this,arguments)},xl=function(){var e=BA().defaultStyles,A={fill:"none",strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},m.createElement("polyline",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y({},A),e.rbgcpControlIcon),points:"17.96 4.31 2.04 4.3 3.75 4.3 4.81 17.29 5.16 17.96 5.74 18.47 6.59 18.62 13.64 18.62 14.52 18.32 15.07 17.68 15.29 17.12 16.28 4.3 12.87 4.3 12.87 2.38 12.48 1.75 11.83 1.46 8.4 1.46 7.64 1.68 7.26 2.21 7.16 2.52 7.17 4.23"}))},Il=function(e){var A=e.color,r=BA().defaultStyles,t=A??"",n={fill:"none",strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:14}},m.createElement("polyline",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"0.9 12.73 0.9 19.1 7.27 19.1 0.9 19.1 19.1 0.9 12.73 0.9 19.1 0.9 19.1 7.27"}))},Hl=function(e){var A=e.color,r=BA().defaultStyles,t=A??"",n={fill:"none",strokeMiterlimit:10,strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},m.createElement("circle",{style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),cx:"10",cy:"10",r:"9"}),m.createElement("circle",{style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),cx:"10",cy:"10",r:"5"}))},Sl=function(e){var A=e.color,r=BA().defaultStyles,t=A??"",n={fill:"none",strokeWidth:"1.8px"},a={strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},m.createElement("polyline",{fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"3.74 2.75 3.74 12.69 0.9 12.71 6.59 12.71"}),m.createElement("line",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},a),r.rbgcpControlIcon),t&&{stroke:t,fill:t}),x1:"3.74",y1:"17.26",x2:"3.74",y2:"15.21"}),m.createElement("polyline",{fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"10.1 17.25 10.1 7.31 12.95 7.29 7.26 7.29"}),m.createElement("line",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},a),r.rbgcpControlIcon),t&&{stroke:t,fill:t}),x1:"10.1",y1:"2.74",x2:"10.1",y2:"4.79"}),m.createElement("polyline",{fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"16.26 2.75 16.26 12.69 13.41 12.71 19.1 12.71"}),m.createElement("line",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},a),r.rbgcpControlIcon),t&&{stroke:t,fill:t}),x1:"16.26",y1:"17.26",x2:"16.26",y2:"15.21"}))},Ll=function(e){var A=e.color,r=BA().defaultStyles,t=A??"",n={fill:"none",strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),d:"M6.35,2.72a4.85,4.85,0,0,1,1.86.16,7.94,7.94,0,0,1,.88.43,3.66,3.66,0,0,0,.85.49c.25,0,.58-.27.81-.39A8.25,8.25,0,0,1,11.7,3a4,4,0,0,1,1.79-.23,3.21,3.21,0,0,0-1.34.09,6.39,6.39,0,0,0-1.47.63c-.45.25-.7.3-.7.86s0,1.18,0,1.78c0,1.3,0,2.61,0,3.92h0v5.63a2.46,2.46,0,0,1,0,.47c-.07.28-.43.42-.7.57a5.29,5.29,0,0,1-2.94.61A9.3,9.3,0,0,0,8,17.15l1.09-.37.89-.52c.06,0,.48.21.56.25.32.14.64.27,1,.38a8.54,8.54,0,0,0,2.12.4"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),d:"M7.57,5.73C6,5.7,4.5,5.65,3,5.77a2.28,2.28,0,0,0-1.76.74A2.3,2.3,0,0,0,.94,7.83l0,3.82A4.73,4.73,0,0,0,1,12.9a1.64,1.64,0,0,0,.68,1,2.44,2.44,0,0,0,1,.27,25,25,0,0,0,4.74.09"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),d:"M12.43,14.32a44.12,44.12,0,0,0,4.6,0,2.24,2.24,0,0,0,1.76-.74,2.29,2.29,0,0,0,.27-1.32l0-3.81A4.81,4.81,0,0,0,19,7.15a1.62,1.62,0,0,0-.68-1,2.31,2.31,0,0,0-1-.28,26.8,26.8,0,0,0-4.74-.09"}))},kl=function(e){var A=e.color,r=BA().defaultStyles,t=A??"",n={strokeMiterlimit:10,strokeWidth:"0.5px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"9.36",cy:"5.07",r:"1.71"}),m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"13.93",cy:"6.91",r:"1.71"}),m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"5.8",cy:"7.55",r:"1.71"}),m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"5.45",cy:"12.04",r:"1.71"}),m.createElement("path",{style:Y(Y(Y(Y({},n),r.rbgcpControlIcon),r.rbgcpControlIcon2),t&&{fill:t,stroke:t}),d:"M19.1,10c0,3.58-2.12,2.94-4.06,2.35-1.15-.34-2.24-.67-2.77-.08-.68.78-.54,2.07-.39,3.33.2,1.79.39,3.5-1.88,3.5A9.1,9.1,0,1,1,19.1,10ZM10,18c.7,0,.74-.19.75-.2a2.67,2.67,0,0,0,.07-1.27c0-.19,0-.42-.06-.67-.06-.53-.13-1.15-.14-1.67a3.82,3.82,0,0,1,.8-2.63,2.14,2.14,0,0,1,1.45-.7,4.36,4.36,0,0,1,1.32.12c.39.08.8.21,1.16.32h0c.39.12.74.23,1.08.3.74.17,1,.1,1.13,0S18,11.32,18,10a8,8,0,1,0-8,8Z"}))},Ml=function(e){var A=e.color,r=BA().defaultStyles,t=A??"",n={fill:"none",strokeMiterlimit:10,strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},m.createElement("polyline",{strokeLinecap:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"13.86 2.01 1.7 16.99 18.77 16.99"}),m.createElement("polyline",{strokeLinecap:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"10.96 16.38 10.96 16.38 10.74 15.7 10.44 14.97 10.06 14.21 9.72 13.63 9.21 12.89 8.85 12.44 8.41 11.95 7.91 11.45 7.51 11.1"}))},Kl=function(){var e=BA().defaultStyles;return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:20,marginRight:1}},m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M2.39,8c-.63,0-1,.21-1,.63A.49.49,0,0,0,1.67,9a6.48,6.48,0,0,0,1.11.43A3,3,0,0,1,4,10.09a1.47,1.47,0,0,1,.35,1.09,1.75,1.75,0,0,1-.57,1.42,2.21,2.21,0,0,1-1.48.48,8.32,8.32,0,0,1-1.68-.21l-.31-.06.12-.94a13.7,13.7,0,0,0,1.8.16c.61,0,.92-.26.92-.77a.52.52,0,0,0-.21-.44,3.13,3.13,0,0,0-.85-.34A3.32,3.32,0,0,1,.66,9.79a1.43,1.43,0,0,1-.42-1.1A1.6,1.6,0,0,1,.78,7.36a2.32,2.32,0,0,1,1.49-.44,10.46,10.46,0,0,1,1.64.17l.32.07-.1.95C3.31,8,2.73,8,2.39,8Z"}),m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M4.79,8.09V7H9.16V8.09H7.59V13H6.38V8.09Z"}),m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M14,12.34a2.25,2.25,0,0,1-1.91.74,2.24,2.24,0,0,1-1.91-.74A3.85,3.85,0,0,1,9.61,10a4,4,0,0,1,.56-2.34,2.2,2.2,0,0,1,1.91-.77A2.21,2.21,0,0,1,14,7.69,4,4,0,0,1,14.55,10,3.85,3.85,0,0,1,14,12.34Zm-2.88-.77a1,1,0,0,0,1,.46,1,1,0,0,0,1-.46A3.25,3.25,0,0,0,13.3,10,3.45,3.45,0,0,0,13,8.46a1,1,0,0,0-1-.49,1,1,0,0,0-1,.49A3.43,3.43,0,0,0,10.85,10,3.38,3.38,0,0,0,11.11,11.57Z"}),m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M17.77,11.24h-1V13H15.58V7h2.19a1.85,1.85,0,0,1,2.11,2.07,2.21,2.21,0,0,1-.54,1.6A2.07,2.07,0,0,1,17.77,11.24Zm-1-1h1c.6,0,.9-.37.9-1.12a1.18,1.18,0,0,0-.22-.79.88.88,0,0,0-.68-.24h-1Z"}))},Tl=function(e){var A,r=e.children,t="id"+Math.random().toString(16).slice(2),n=E.useRef((A=document.getElementById(t))!==null&&A!==void 0?A:document.createElement("div")),a=E.useState(!n.current.parentElement)[0];return E.useEffect(function(){var s=n.current;return a&&(n.current.id=t,document.body.appendChild(n.current)),function(){a&&s.parentElement&&s.parentElement.removeChild(s)}},[t]),$i.createPortal(r,n.current)};const Dl=E.memo(Tl);var gn=function(e,A){return gn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])},gn(e,A)};function zA(e,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");gn(e,A);function r(){this.constructor=e}e.prototype=A===null?Object.create(A):(r.prototype=A.prototype,new r)}var un=function(){return un=Object.assign||function(A){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(A[a]=r[a])}return A},un.apply(this,arguments)};function OA(e,A,r,t){function n(a){return a instanceof r?a:new r(function(s){s(a)})}return new(r||(r=Promise))(function(a,s){function o(g){try{c(t.next(g))}catch(B){s(B)}}function l(g){try{c(t.throw(g))}catch(B){s(B)}}function c(g){g.done?a(g.value):n(g.value).then(o,l)}c((t=t.apply(e,[])).next())})}function kA(e,A){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(c){return function(g){return l([c,g])}}function l(c){if(t)throw new TypeError("Generator is already executing.");for(;r;)try{if(t=1,n&&(a=c[0]&2?n.return:c[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,c[1])).done)return a;switch(n=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,n=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=A.call(e,r)}catch(g){c=[6,g],n=0}finally{t=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function yt(e,A,r){if(arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||A)}var ie=(function(){function e(A,r,t,n){this.left=A,this.top=r,this.width=t,this.height=n}return e.prototype.add=function(A,r,t,n){return new e(this.left+A,this.top+r,this.width+t,this.height+n)},e.fromClientRect=function(A,r){return new e(r.left+A.windowBounds.left,r.top+A.windowBounds.top,r.width,r.height)},e.fromDOMRectList=function(A,r){var t=Array.from(r).find(function(n){return n.width!==0});return t?new e(t.left+A.windowBounds.left,t.top+A.windowBounds.top,t.width,t.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e})(),Qr=function(e,A){return ie.fromClientRect(e,A.getBoundingClientRect())},Ol=function(e){var A=e.body,r=e.documentElement;if(!A||!r)throw new Error("Unable to get document size");var t=Math.max(Math.max(A.scrollWidth,r.scrollWidth),Math.max(A.offsetWidth,r.offsetWidth),Math.max(A.clientWidth,r.clientWidth)),n=Math.max(Math.max(A.scrollHeight,r.scrollHeight),Math.max(A.offsetHeight,r.offsetHeight),Math.max(A.clientHeight,r.clientHeight));return new ie(0,0,t,n)},mr=function(e){for(var A=[],r=0,t=e.length;r<t;){var n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<t){var a=e.charCodeAt(r++);(a&64512)===56320?A.push(((n&1023)<<10)+(a&1023)+65536):(A.push(n),r--)}else A.push(n)}return A},bA=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";for(var t=[],n=-1,a="";++n<r;){var s=e[n];s<=65535?t.push(s):(s-=65536,t.push((s>>10)+55296,s%1024+56320)),(n+1===r||t.length>16384)&&(a+=String.fromCharCode.apply(String,t),t.length=0)}return a},Aa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Rl=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var xt=0;xt<Aa.length;xt++)Rl[Aa.charCodeAt(xt)]=xt;var ea="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ze=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var It=0;It<ea.length;It++)ze[ea.charCodeAt(It)]=It;var Nl=function(e){var A=e.length*.75,r=e.length,t,n=0,a,s,o,l;e[e.length-1]==="="&&(A--,e[e.length-2]==="="&&A--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),g=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<r;t+=4)a=ze[e.charCodeAt(t)],s=ze[e.charCodeAt(t+1)],o=ze[e.charCodeAt(t+2)],l=ze[e.charCodeAt(t+3)],g[n++]=a<<2|s>>4,g[n++]=(s&15)<<4|o>>2,g[n++]=(o&3)<<6|l&63;return c},_l=function(e){for(var A=e.length,r=[],t=0;t<A;t+=2)r.push(e[t+1]<<8|e[t]);return r},Gl=function(e){for(var A=e.length,r=[],t=0;t<A;t+=4)r.push(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]);return r},Ee=5,Dn=11,kr=2,jl=Dn-Ee,ks=65536>>Ee,Vl=1<<Ee,Mr=Vl-1,Pl=1024>>Ee,Xl=ks+Pl,Jl=Xl,Wl=32,Yl=Jl+Wl,Zl=65536>>Dn,zl=1<<jl,ql=zl-1,ta=function(e,A,r){return e.slice?e.slice(A,r):new Uint16Array(Array.prototype.slice.call(e,A,r))},$l=function(e,A,r){return e.slice?e.slice(A,r):new Uint32Array(Array.prototype.slice.call(e,A,r))},Ac=function(e,A){var r=Nl(e),t=Array.isArray(r)?Gl(r):new Uint32Array(r),n=Array.isArray(r)?_l(r):new Uint16Array(r),a=24,s=ta(n,a/2,t[4]/2),o=t[5]===2?ta(n,(a+t[4])/2):$l(t,Math.ceil((a+t[4])/4));return new ec(t[0],t[1],t[2],t[3],s,o)},ec=(function(){function e(A,r,t,n,a,s){this.initialValue=A,this.errorValue=r,this.highStart=t,this.highValueIndex=n,this.index=a,this.data=s}return e.prototype.get=function(A){var r;if(A>=0){if(A<55296||A>56319&&A<=65535)return r=this.index[A>>Ee],r=(r<<kr)+(A&Mr),this.data[r];if(A<=65535)return r=this.index[ks+(A-55296>>Ee)],r=(r<<kr)+(A&Mr),this.data[r];if(A<this.highStart)return r=Yl-Zl+(A>>Dn),r=this.index[r],r+=A>>Ee&ql,r=this.index[r],r=(r<<kr)+(A&Mr),this.data[r];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e})(),ra="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tc=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ht=0;Ht<ra.length;Ht++)tc[ra.charCodeAt(Ht)]=Ht;var rc="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",na=50,nc=1,Ms=2,Ks=3,ac=4,sc=5,aa=7,Ts=8,sa=9,ue=10,Bn=11,ia=12,dn=13,ic=14,qe=15,fn=16,St=17,Xe=18,oc=19,oa=20,hn=21,Je=22,Kr=23,xe=24,_A=25,$e=26,At=27,Ie=28,lc=29,Ue=30,cc=31,Lt=32,kt=33,wn=34,pn=35,Cn=36,ft=37,Qn=38,zt=39,qt=40,Tr=41,Ds=42,gc=43,uc=[9001,65288],Os="!",iA="×",Mt="÷",mn=Ac(rc),ne=[Ue,Cn],vn=[nc,Ms,Ks,sc],Rs=[ue,Ts],la=[At,$e],Bc=vn.concat(Rs),ca=[Qn,zt,qt,wn,pn],dc=[qe,dn],fc=function(e,A){A===void 0&&(A="strict");var r=[],t=[],n=[];return e.forEach(function(a,s){var o=mn.get(a);if(o>na?(n.push(!0),o-=na):n.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(a)!==-1)return t.push(s),r.push(fn);if(o===ac||o===Bn){if(s===0)return t.push(s),r.push(Ue);var l=r[s-1];return Bc.indexOf(l)===-1?(t.push(t[s-1]),r.push(l)):(t.push(s),r.push(Ue))}if(t.push(s),o===cc)return r.push(A==="strict"?hn:ft);if(o===Ds||o===lc)return r.push(Ue);if(o===gc)return a>=131072&&a<=196605||a>=196608&&a<=262141?r.push(ft):r.push(Ue);r.push(o)}),[t,r,n]},Dr=function(e,A,r,t){var n=t[r];if(Array.isArray(e)?e.indexOf(n)!==-1:e===n)for(var a=r;a<=t.length;){a++;var s=t[a];if(s===A)return!0;if(s!==ue)break}if(n===ue)for(var a=r;a>0;){a--;var o=t[a];if(Array.isArray(e)?e.indexOf(o)!==-1:e===o)for(var l=r;l<=t.length;){l++;var s=t[l];if(s===A)return!0;if(s!==ue)break}if(o!==ue)break}return!1},ga=function(e,A){for(var r=e;r>=0;){var t=A[r];if(t===ue)r--;else return t}return 0},hc=function(e,A,r,t,n){if(r[t]===0)return iA;var a=t-1;if(Array.isArray(n)&&n[a]===!0)return iA;var s=a-1,o=a+1,l=A[a],c=s>=0?A[s]:0,g=A[o];if(l===Ms&&g===Ks)return iA;if(vn.indexOf(l)!==-1)return Os;if(vn.indexOf(g)!==-1||Rs.indexOf(g)!==-1)return iA;if(ga(a,A)===Ts)return Mt;if(mn.get(e[a])===Bn||(l===Lt||l===kt)&&mn.get(e[o])===Bn||l===aa||g===aa||l===sa||[ue,dn,qe].indexOf(l)===-1&&g===sa||[St,Xe,oc,xe,Ie].indexOf(g)!==-1||ga(a,A)===Je||Dr(Kr,Je,a,A)||Dr([St,Xe],hn,a,A)||Dr(ia,ia,a,A))return iA;if(l===ue)return Mt;if(l===Kr||g===Kr)return iA;if(g===fn||l===fn)return Mt;if([dn,qe,hn].indexOf(g)!==-1||l===ic||c===Cn&&dc.indexOf(l)!==-1||l===Ie&&g===Cn||g===oa||ne.indexOf(g)!==-1&&l===_A||ne.indexOf(l)!==-1&&g===_A||l===At&&[ft,Lt,kt].indexOf(g)!==-1||[ft,Lt,kt].indexOf(l)!==-1&&g===$e||ne.indexOf(l)!==-1&&la.indexOf(g)!==-1||la.indexOf(l)!==-1&&ne.indexOf(g)!==-1||[At,$e].indexOf(l)!==-1&&(g===_A||[Je,qe].indexOf(g)!==-1&&A[o+1]===_A)||[Je,qe].indexOf(l)!==-1&&g===_A||l===_A&&[_A,Ie,xe].indexOf(g)!==-1)return iA;if([_A,Ie,xe,St,Xe].indexOf(g)!==-1)for(var B=a;B>=0;){var u=A[B];if(u===_A)return iA;if([Ie,xe].indexOf(u)!==-1)B--;else break}if([At,$e].indexOf(g)!==-1)for(var B=[St,Xe].indexOf(l)!==-1?s:a;B>=0;){var u=A[B];if(u===_A)return iA;if([Ie,xe].indexOf(u)!==-1)B--;else break}if(Qn===l&&[Qn,zt,wn,pn].indexOf(g)!==-1||[zt,wn].indexOf(l)!==-1&&[zt,qt].indexOf(g)!==-1||[qt,pn].indexOf(l)!==-1&&g===qt||ca.indexOf(l)!==-1&&[oa,$e].indexOf(g)!==-1||ca.indexOf(g)!==-1&&l===At||ne.indexOf(l)!==-1&&ne.indexOf(g)!==-1||l===xe&&ne.indexOf(g)!==-1||ne.concat(_A).indexOf(l)!==-1&&g===Je&&uc.indexOf(e[o])===-1||ne.concat(_A).indexOf(g)!==-1&&l===Xe)return iA;if(l===Tr&&g===Tr){for(var p=r[a],Q=1;p>0&&(p--,A[p]===Tr);)Q++;if(Q%2!==0)return iA}return l===Lt&&g===kt?iA:Mt},wc=function(e,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var r=fc(e,A.lineBreak),t=r[0],n=r[1],a=r[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(n=n.map(function(o){return[_A,Ue,Ds].indexOf(o)!==-1?ft:o}));var s=A.wordBreak==="keep-all"?a.map(function(o,l){return o&&e[l]>=19968&&e[l]<=40959}):void 0;return[t,n,s]},pc=(function(){function e(A,r,t,n){this.codePoints=A,this.required=r===Os,this.start=t,this.end=n}return e.prototype.slice=function(){return bA.apply(void 0,this.codePoints.slice(this.start,this.end))},e})(),Cc=function(e,A){var r=mr(e),t=wc(r,A),n=t[0],a=t[1],s=t[2],o=r.length,l=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};for(var g=iA;c<o&&(g=hc(r,a,n,++c,s))===iA;);if(g!==iA||c===o){var B=new pc(r,g,l,c);return l=c,{value:B,done:!1}}return{done:!0,value:null}}}},Qc=1,mc=2,vt=4,ua=8,or=10,Ba=47,st=92,vc=9,Uc=32,Kt=34,We=61,Fc=35,bc=36,Ec=37,Tt=39,Dt=40,Ye=41,yc=95,RA=45,xc=33,Ic=60,Hc=62,Sc=64,Lc=91,kc=93,Mc=61,Kc=123,Ot=63,Tc=125,da=124,Dc=126,Oc=128,fa=65533,Or=42,be=43,Rc=44,Nc=58,_c=59,ht=46,Gc=0,jc=8,Vc=11,Pc=14,Xc=31,Jc=127,qA=-1,Ns=48,_s=97,Gs=101,Wc=102,Yc=117,Zc=122,js=65,Vs=69,Ps=70,zc=85,qc=90,MA=function(e){return e>=Ns&&e<=57},$c=function(e){return e>=55296&&e<=57343},He=function(e){return MA(e)||e>=js&&e<=Ps||e>=_s&&e<=Wc},Ag=function(e){return e>=_s&&e<=Zc},eg=function(e){return e>=js&&e<=qc},tg=function(e){return Ag(e)||eg(e)},rg=function(e){return e>=Oc},Rt=function(e){return e===or||e===vc||e===Uc},lr=function(e){return tg(e)||rg(e)||e===yc},ha=function(e){return lr(e)||MA(e)||e===RA},ng=function(e){return e>=Gc&&e<=jc||e===Vc||e>=Pc&&e<=Xc||e===Jc},ge=function(e,A){return e!==st?!1:A!==or},Nt=function(e,A,r){return e===RA?lr(A)||ge(A,r):lr(e)?!0:!!(e===st&&ge(e,A))},Rr=function(e,A,r){return e===be||e===RA?MA(A)?!0:A===ht&&MA(r):MA(e===ht?A:e)},ag=function(e){var A=0,r=1;(e[A]===be||e[A]===RA)&&(e[A]===RA&&(r=-1),A++);for(var t=[];MA(e[A]);)t.push(e[A++]);var n=t.length?parseInt(bA.apply(void 0,t),10):0;e[A]===ht&&A++;for(var a=[];MA(e[A]);)a.push(e[A++]);var s=a.length,o=s?parseInt(bA.apply(void 0,a),10):0;(e[A]===Vs||e[A]===Gs)&&A++;var l=1;(e[A]===be||e[A]===RA)&&(e[A]===RA&&(l=-1),A++);for(var c=[];MA(e[A]);)c.push(e[A++]);var g=c.length?parseInt(bA.apply(void 0,c),10):0;return r*(n+o*Math.pow(10,-s))*Math.pow(10,l*g)},sg={type:2},ig={type:3},og={type:4},lg={type:13},cg={type:8},gg={type:21},ug={type:9},Bg={type:10},dg={type:11},fg={type:12},hg={type:14},_t={type:23},wg={type:1},pg={type:25},Cg={type:24},Qg={type:26},mg={type:27},vg={type:28},Ug={type:29},Fg={type:31},Un={type:32},Xs=(function(){function e(){this._value=[]}return e.prototype.write=function(A){this._value=this._value.concat(mr(A))},e.prototype.read=function(){for(var A=[],r=this.consumeToken();r!==Un;)A.push(r),r=this.consumeToken();return A},e.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case Kt:return this.consumeStringToken(Kt);case Fc:var r=this.peekCodePoint(0),t=this.peekCodePoint(1),n=this.peekCodePoint(2);if(ha(r)||ge(t,n)){var a=Nt(r,t,n)?mc:Qc,s=this.consumeName();return{type:5,value:s,flags:a}}break;case bc:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),lg;break;case Tt:return this.consumeStringToken(Tt);case Dt:return sg;case Ye:return ig;case Or:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),hg;break;case be:if(Rr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Rc:return og;case RA:var o=A,l=this.peekCodePoint(0),c=this.peekCodePoint(1);if(Rr(o,l,c))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(Nt(o,l,c))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(l===RA&&c===Hc)return this.consumeCodePoint(),this.consumeCodePoint(),Cg;break;case ht:if(Rr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Ba:if(this.peekCodePoint(0)===Or)for(this.consumeCodePoint();;){var g=this.consumeCodePoint();if(g===Or&&(g=this.consumeCodePoint(),g===Ba))return this.consumeToken();if(g===qA)return this.consumeToken()}break;case Nc:return Qg;case _c:return mg;case Ic:if(this.peekCodePoint(0)===xc&&this.peekCodePoint(1)===RA&&this.peekCodePoint(2)===RA)return this.consumeCodePoint(),this.consumeCodePoint(),pg;break;case Sc:var B=this.peekCodePoint(0),u=this.peekCodePoint(1),p=this.peekCodePoint(2);if(Nt(B,u,p)){var s=this.consumeName();return{type:7,value:s}}break;case Lc:return vg;case st:if(ge(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case kc:return Ug;case Mc:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),cg;break;case Kc:return dg;case Tc:return fg;case Yc:case zc:var Q=this.peekCodePoint(0),C=this.peekCodePoint(1);return Q===be&&(He(C)||C===Ot)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case da:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),ug;if(this.peekCodePoint(0)===da)return this.consumeCodePoint(),gg;break;case Dc:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),Bg;break;case qA:return Un}return Rt(A)?(this.consumeWhiteSpace(),Fg):MA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):lr(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:bA(A)}},e.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},e.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},e.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},e.prototype.consumeUnicodeRangeToken=function(){for(var A=[],r=this.consumeCodePoint();He(r)&&A.length<6;)A.push(r),r=this.consumeCodePoint();for(var t=!1;r===Ot&&A.length<6;)A.push(r),r=this.consumeCodePoint(),t=!0;if(t){var n=parseInt(bA.apply(void 0,A.map(function(l){return l===Ot?Ns:l})),16),a=parseInt(bA.apply(void 0,A.map(function(l){return l===Ot?Ps:l})),16);return{type:30,start:n,end:a}}var s=parseInt(bA.apply(void 0,A),16);if(this.peekCodePoint(0)===RA&&He(this.peekCodePoint(1))){this.consumeCodePoint(),r=this.consumeCodePoint();for(var o=[];He(r)&&o.length<6;)o.push(r),r=this.consumeCodePoint();var a=parseInt(bA.apply(void 0,o),16);return{type:30,start:s,end:a}}else return{type:30,start:s,end:s}},e.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===Dt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Dt?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},e.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===qA)return{type:22,value:""};var r=this.peekCodePoint(0);if(r===Tt||r===Kt){var t=this.consumeStringToken(this.consumeCodePoint());return t.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===qA||this.peekCodePoint(0)===Ye)?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),_t)}for(;;){var n=this.consumeCodePoint();if(n===qA||n===Ye)return{type:22,value:bA.apply(void 0,A)};if(Rt(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===qA||this.peekCodePoint(0)===Ye?(this.consumeCodePoint(),{type:22,value:bA.apply(void 0,A)}):(this.consumeBadUrlRemnants(),_t);if(n===Kt||n===Tt||n===Dt||ng(n))return this.consumeBadUrlRemnants(),_t;if(n===st)if(ge(n,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),_t;else A.push(n)}},e.prototype.consumeWhiteSpace=function(){for(;Rt(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===Ye||A===qA)return;ge(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(A){for(var r=5e4,t="";A>0;){var n=Math.min(r,A);t+=bA.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),t},e.prototype.consumeStringToken=function(A){var r="",t=0;do{var n=this._value[t];if(n===qA||n===void 0||n===A)return r+=this.consumeStringSlice(t),{type:0,value:r};if(n===or)return this._value.splice(0,t),wg;if(n===st){var a=this._value[t+1];a!==qA&&a!==void 0&&(a===or?(r+=this.consumeStringSlice(t),t=-1,this._value.shift()):ge(n,a)&&(r+=this.consumeStringSlice(t),r+=bA(this.consumeEscapedCodePoint()),t=-1))}t++}while(!0)},e.prototype.consumeNumber=function(){var A=[],r=vt,t=this.peekCodePoint(0);for((t===be||t===RA)&&A.push(this.consumeCodePoint());MA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(t===ht&&MA(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),r=ua;MA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),n=this.peekCodePoint(1);var a=this.peekCodePoint(2);if((t===Vs||t===Gs)&&((n===be||n===RA)&&MA(a)||MA(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),r=ua;MA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[ag(A),r]},e.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),r=A[0],t=A[1],n=this.peekCodePoint(0),a=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Nt(n,a,s)){var o=this.consumeName();return{type:15,number:r,flags:t,unit:o}}return n===Ec?(this.consumeCodePoint(),{type:16,number:r,flags:t}):{type:17,number:r,flags:t}},e.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(He(A)){for(var r=bA(A);He(this.peekCodePoint(0))&&r.length<6;)r+=bA(this.consumeCodePoint());Rt(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(r,16);return t===0||$c(t)||t>1114111?fa:t}return A===qA?fa:A},e.prototype.consumeName=function(){for(var A="";;){var r=this.consumeCodePoint();if(ha(r))A+=bA(r);else if(ge(r,this.peekCodePoint(0)))A+=bA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(r),A}},e})(),Js=(function(){function e(A){this._tokens=A}return e.create=function(A){var r=new Xs;return r.write(A),new e(r.read())},e.parseValue=function(A){return e.create(A).parseComponentValue()},e.parseValues=function(A){return e.create(A).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var A=this.consumeToken();A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var r=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return r;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var A=[];;){var r=this.consumeComponentValue();if(r.type===32)return A;A.push(r),A.push()}},e.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},e.prototype.consumeSimpleBlock=function(A){for(var r={type:A,values:[]},t=this.consumeToken();;){if(t.type===32||Eg(t,A))return r;this.reconsumeToken(t),r.values.push(this.consumeComponentValue()),t=this.consumeToken()}},e.prototype.consumeFunction=function(A){for(var r={name:A.value,values:[],type:18};;){var t=this.consumeToken();if(t.type===32||t.type===3)return r;this.reconsumeToken(t),r.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?Un:A},e.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},e})(),Ut=function(e){return e.type===15},Ge=function(e){return e.type===17},uA=function(e){return e.type===20},bg=function(e){return e.type===0},Fn=function(e,A){return uA(e)&&e.value===A},Ws=function(e){return e.type!==31},_e=function(e){return e.type!==31&&e.type!==4},te=function(e){var A=[],r=[];return e.forEach(function(t){if(t.type===4){if(r.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(r),r=[];return}t.type!==31&&r.push(t)}),r.length&&A.push(r),A},Eg=function(e,A){return A===11&&e.type===12||A===28&&e.type===29?!0:A===2&&e.type===3},pe=function(e){return e.type===17||e.type===15},EA=function(e){return e.type===16||pe(e)},Ys=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},LA={type:17,number:0,flags:vt},On={type:16,number:50,flags:vt},Be={type:16,number:100,flags:vt},et=function(e,A,r){var t=e[0],n=e[1];return[hA(t,A),hA(typeof n<"u"?n:t,r)]},hA=function(e,A){if(e.type===16)return e.number/100*A;if(Ut(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},Zs="deg",zs="grad",qs="rad",$s="turn",vr={name:"angle",parse:function(e,A){if(A.type===15)switch(A.unit){case Zs:return Math.PI*A.number/180;case zs:return Math.PI/200*A.number;case qs:return A.number;case $s:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},Ai=function(e){return e.type===15&&(e.unit===Zs||e.unit===zs||e.unit===qs||e.unit===$s)},ei=function(e){var A=e.filter(uA).map(function(r){return r.value}).join(" ");switch(A){case"to bottom right":case"to right bottom":case"left top":case"top left":return[LA,LA];case"to top":case"bottom":return XA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[LA,Be];case"to right":case"left":return XA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Be,Be];case"to bottom":case"top":return XA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Be,LA];case"to left":case"right":return XA(270)}return 0},XA=function(e){return Math.PI*e/180},he={name:"color",parse:function(e,A){if(A.type===18){var r=yg[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return r(e,A.values)}if(A.type===5){if(A.value.length===3){var t=A.value.substring(0,1),n=A.value.substring(1,2),a=A.value.substring(2,3);return de(parseInt(t+t,16),parseInt(n+n,16),parseInt(a+a,16),1)}if(A.value.length===4){var t=A.value.substring(0,1),n=A.value.substring(1,2),a=A.value.substring(2,3),s=A.value.substring(3,4);return de(parseInt(t+t,16),parseInt(n+n,16),parseInt(a+a,16),parseInt(s+s,16)/255)}if(A.value.length===6){var t=A.value.substring(0,2),n=A.value.substring(2,4),a=A.value.substring(4,6);return de(parseInt(t,16),parseInt(n,16),parseInt(a,16),1)}if(A.value.length===8){var t=A.value.substring(0,2),n=A.value.substring(2,4),a=A.value.substring(4,6),s=A.value.substring(6,8);return de(parseInt(t,16),parseInt(n,16),parseInt(a,16),parseInt(s,16)/255)}}if(A.type===20){var o=se[A.value.toUpperCase()];if(typeof o<"u")return o}return se.TRANSPARENT}},we=function(e){return(255&e)===0},xA=function(e){var A=255&e,r=255&e>>8,t=255&e>>16,n=255&e>>24;return A<255?"rgba("+n+","+t+","+r+","+A/255+")":"rgb("+n+","+t+","+r+")"},de=function(e,A,r,t){return(e<<24|A<<16|r<<8|Math.round(t*255)<<0)>>>0},wa=function(e,A){if(e.type===17)return e.number;if(e.type===16){var r=A===3?1:255;return A===3?e.number/100*r:Math.round(e.number/100*r)}return 0},pa=function(e,A){var r=A.filter(_e);if(r.length===3){var t=r.map(wa),n=t[0],a=t[1],s=t[2];return de(n,a,s,1)}if(r.length===4){var o=r.map(wa),n=o[0],a=o[1],s=o[2],l=o[3];return de(n,a,s,l)}return 0};function Nr(e,A,r){return r<0&&(r+=1),r>=1&&(r-=1),r<1/6?(A-e)*r*6+e:r<1/2?A:r<2/3?(A-e)*6*(2/3-r)+e:e}var Ca=function(e,A){var r=A.filter(_e),t=r[0],n=r[1],a=r[2],s=r[3],o=(t.type===17?XA(t.number):vr.parse(e,t))/(Math.PI*2),l=EA(n)?n.number/100:0,c=EA(a)?a.number/100:0,g=typeof s<"u"&&EA(s)?hA(s,1):1;if(l===0)return de(c*255,c*255,c*255,1);var B=c<=.5?c*(l+1):c+l-c*l,u=c*2-B,p=Nr(u,B,o+1/3),Q=Nr(u,B,o),C=Nr(u,B,o-1/3);return de(p*255,Q*255,C*255,g)},yg={hsl:Ca,hsla:Ca,rgb:pa,rgba:pa},it=function(e,A){return he.parse(e,Js.create(A).parseComponentValue())},se={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},xg={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(r){if(uA(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ig={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ur=function(e,A){var r=he.parse(e,A[0]),t=A[1];return t&&EA(t)?{color:r,stop:t}:{color:r,stop:null}},Qa=function(e,A){var r=e[0],t=e[e.length-1];r.stop===null&&(r.stop=LA),t.stop===null&&(t.stop=Be);for(var n=[],a=0,s=0;s<e.length;s++){var o=e[s].stop;if(o!==null){var l=hA(o,A);l>a?n.push(l):n.push(a),a=l}else n.push(null)}for(var c=null,s=0;s<n.length;s++){var g=n[s];if(g===null)c===null&&(c=s);else if(c!==null){for(var B=s-c,u=n[c-1],p=(g-u)/(B+1),Q=1;Q<=B;Q++)n[c+Q-1]=p*Q;c=null}}return e.map(function(C,I){var U=C.color;return{color:U,stop:Math.max(Math.min(1,n[I]/A),0)}})},Hg=function(e,A,r){var t=A/2,n=r/2,a=hA(e[0],A)-t,s=n-hA(e[1],r);return(Math.atan2(s,a)+Math.PI*2)%(Math.PI*2)},Sg=function(e,A,r){var t=typeof e=="number"?e:Hg(e,A,r),n=Math.abs(A*Math.sin(t))+Math.abs(r*Math.cos(t)),a=A/2,s=r/2,o=n/2,l=Math.sin(t-Math.PI/2)*o,c=Math.cos(t-Math.PI/2)*o;return[n,a-c,a+c,s-l,s+l]},ZA=function(e,A){return Math.sqrt(e*e+A*A)},ma=function(e,A,r,t,n){var a=[[0,0],[0,A],[e,0],[e,A]];return a.reduce(function(s,o){var l=o[0],c=o[1],g=ZA(r-l,t-c);return(n?g<s.optimumDistance:g>s.optimumDistance)?{optimumCorner:o,optimumDistance:g}:s},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Lg=function(e,A,r,t,n){var a=0,s=0;switch(e.size){case 0:e.shape===0?a=s=Math.min(Math.abs(A),Math.abs(A-t),Math.abs(r),Math.abs(r-n)):e.shape===1&&(a=Math.min(Math.abs(A),Math.abs(A-t)),s=Math.min(Math.abs(r),Math.abs(r-n)));break;case 2:if(e.shape===0)a=s=Math.min(ZA(A,r),ZA(A,r-n),ZA(A-t,r),ZA(A-t,r-n));else if(e.shape===1){var o=Math.min(Math.abs(r),Math.abs(r-n))/Math.min(Math.abs(A),Math.abs(A-t)),l=ma(t,n,A,r,!0),c=l[0],g=l[1];a=ZA(c-A,(g-r)/o),s=o*a}break;case 1:e.shape===0?a=s=Math.max(Math.abs(A),Math.abs(A-t),Math.abs(r),Math.abs(r-n)):e.shape===1&&(a=Math.max(Math.abs(A),Math.abs(A-t)),s=Math.max(Math.abs(r),Math.abs(r-n)));break;case 3:if(e.shape===0)a=s=Math.max(ZA(A,r),ZA(A,r-n),ZA(A-t,r),ZA(A-t,r-n));else if(e.shape===1){var o=Math.max(Math.abs(r),Math.abs(r-n))/Math.max(Math.abs(A),Math.abs(A-t)),B=ma(t,n,A,r,!1),c=B[0],g=B[1];a=ZA(c-A,(g-r)/o),s=o*a}break}return Array.isArray(e.size)&&(a=hA(e.size[0],t),s=e.size.length===2?hA(e.size[1],n):a),[a,s]},kg=function(e,A){var r=XA(180),t=[];return te(A).forEach(function(n,a){if(a===0){var s=n[0];if(s.type===20&&s.value==="to"){r=ei(n);return}else if(Ai(s)){r=vr.parse(e,s);return}}var o=Ur(e,n);t.push(o)}),{angle:r,stops:t,type:1}},Gt=function(e,A){var r=XA(180),t=[];return te(A).forEach(function(n,a){if(a===0){var s=n[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){r=ei(n);return}else if(Ai(s)){r=(vr.parse(e,s)+XA(270))%XA(360);return}}var o=Ur(e,n);t.push(o)}),{angle:r,stops:t,type:1}},Mg=function(e,A){var r=XA(180),t=[],n=1,a=0,s=3,o=[];return te(A).forEach(function(l,c){var g=l[0];if(c===0){if(uA(g)&&g.value==="linear"){n=1;return}else if(uA(g)&&g.value==="radial"){n=2;return}}if(g.type===18){if(g.name==="from"){var B=he.parse(e,g.values[0]);t.push({stop:LA,color:B})}else if(g.name==="to"){var B=he.parse(e,g.values[0]);t.push({stop:Be,color:B})}else if(g.name==="color-stop"){var u=g.values.filter(_e);if(u.length===2){var B=he.parse(e,u[1]),p=u[0];Ge(p)&&t.push({stop:{type:16,number:p.number*100,flags:p.flags},color:B})}}}}),n===1?{angle:(r+XA(180))%XA(360),stops:t,type:n}:{size:s,shape:a,stops:t,position:o,type:n}},ti="closest-side",ri="farthest-side",ni="closest-corner",ai="farthest-corner",si="circle",ii="ellipse",oi="cover",li="contain",Kg=function(e,A){var r=0,t=3,n=[],a=[];return te(A).forEach(function(s,o){var l=!0;if(o===0){var c=!1;l=s.reduce(function(B,u){if(c)if(uA(u))switch(u.value){case"center":return a.push(On),B;case"top":case"left":return a.push(LA),B;case"right":case"bottom":return a.push(Be),B}else(EA(u)||pe(u))&&a.push(u);else if(uA(u))switch(u.value){case si:return r=0,!1;case ii:return r=1,!1;case"at":return c=!0,!1;case ti:return t=0,!1;case oi:case ri:return t=1,!1;case li:case ni:return t=2,!1;case ai:return t=3,!1}else if(pe(u)||EA(u))return Array.isArray(t)||(t=[]),t.push(u),!1;return B},l)}if(l){var g=Ur(e,s);n.push(g)}}),{size:t,shape:r,stops:n,position:a,type:2}},jt=function(e,A){var r=0,t=3,n=[],a=[];return te(A).forEach(function(s,o){var l=!0;if(o===0?l=s.reduce(function(g,B){if(uA(B))switch(B.value){case"center":return a.push(On),!1;case"top":case"left":return a.push(LA),!1;case"right":case"bottom":return a.push(Be),!1}else if(EA(B)||pe(B))return a.push(B),!1;return g},l):o===1&&(l=s.reduce(function(g,B){if(uA(B))switch(B.value){case si:return r=0,!1;case ii:return r=1,!1;case li:case ti:return t=0,!1;case ri:return t=1,!1;case ni:return t=2,!1;case oi:case ai:return t=3,!1}else if(pe(B)||EA(B))return Array.isArray(t)||(t=[]),t.push(B),!1;return g},l)),l){var c=Ur(e,s);n.push(c)}}),{size:t,shape:r,stops:n,position:a,type:2}},Tg=function(e){return e.type===1},Dg=function(e){return e.type===2},Rn={name:"image",parse:function(e,A){if(A.type===22){var r={url:A.value,type:0};return e.cache.addImage(A.value),r}if(A.type===18){var t=ci[A.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return t(e,A.values)}throw new Error("Unsupported image type "+A.type)}};function Og(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!ci[e.name])}var ci={"linear-gradient":kg,"-moz-linear-gradient":Gt,"-ms-linear-gradient":Gt,"-o-linear-gradient":Gt,"-webkit-linear-gradient":Gt,"radial-gradient":Kg,"-moz-radial-gradient":jt,"-ms-radial-gradient":jt,"-o-radial-gradient":jt,"-webkit-radial-gradient":jt,"-webkit-gradient":Mg},Rg={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var r=A[0];return r.type===20&&r.value==="none"?[]:A.filter(function(t){return _e(t)&&Og(t)}).map(function(t){return Rn.parse(e,t)})}},Ng={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(r){if(uA(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},_g={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,A){return te(A).map(function(r){return r.filter(EA)}).map(Ys)}},Gg={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,A){return te(A).map(function(r){return r.filter(uA).map(function(t){return t.value}).join(" ")}).map(jg)}},jg=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},Oe;(function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"})(Oe||(Oe={}));var Vg={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,A){return te(A).map(function(r){return r.filter(Pg)})}},Pg=function(e){return uA(e)||EA(e)},Fr=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Xg=Fr("top"),Jg=Fr("right"),Wg=Fr("bottom"),Yg=Fr("left"),br=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(A,r){return Ys(r.filter(EA))}}},Zg=br("top-left"),zg=br("top-right"),qg=br("bottom-right"),$g=br("bottom-left"),Er=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,r){switch(r){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Au=Er("top"),eu=Er("right"),tu=Er("bottom"),ru=Er("left"),yr=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,r){return Ut(r)?r.number:0}}},nu=yr("top"),au=yr("right"),su=yr("bottom"),iu=yr("left"),ou={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},lu={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,A){return A==="rtl"?1:0}},cu={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,A){return A.filter(uA).reduce(function(r,t){return r|gu(t.value)},0)}},gu=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},uu={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Bu={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,A){return A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0}},cr;(function(e){e.NORMAL="normal",e.STRICT="strict"})(cr||(cr={}));var du={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){return A==="strict"?cr.STRICT:cr.NORMAL}},fu={name:"line-height",initialValue:"normal",prefix:!1,type:4},va=function(e,A){return uA(e)&&e.value==="normal"?1.2*A:e.type===17?A*e.number:EA(e)?hA(e,A):A},hu={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,A){return A.type===20&&A.value==="none"?null:Rn.parse(e,A)}},wu={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,A){return A==="inside"?0:1}},bn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},xr=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},pu=xr("top"),Cu=xr("right"),Qu=xr("bottom"),mu=xr("left"),vu={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,A){return A.filter(uA).map(function(r){switch(r.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},Uu={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){return A==="break-word"?"break-word":"normal"}},Ir=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Fu=Ir("top"),bu=Ir("right"),Eu=Ir("bottom"),yu=Ir("left"),xu={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,A){switch(A){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Iu={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Hu={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.length===1&&Fn(A[0],"none")?[]:te(A).map(function(r){for(var t={color:se.TRANSPARENT,offsetX:LA,offsetY:LA,blur:LA},n=0,a=0;a<r.length;a++){var s=r[a];pe(s)?(n===0?t.offsetX=s:n===1?t.offsetY=s:t.blur=s,n++):t.color=he.parse(e,s)}return t})}},Su={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Lu={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,A){if(A.type===20&&A.value==="none")return null;if(A.type===18){var r=Ku[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return r(A.values)}return null}},ku=function(e){var A=e.filter(function(r){return r.type===17}).map(function(r){return r.number});return A.length===6?A:null},Mu=function(e){var A=e.filter(function(l){return l.type===17}).map(function(l){return l.number}),r=A[0],t=A[1];A[2],A[3];var n=A[4],a=A[5];A[6],A[7],A[8],A[9],A[10],A[11];var s=A[12],o=A[13];return A[14],A[15],A.length===16?[r,t,n,a,s,o]:null},Ku={matrix:ku,matrix3d:Mu},Ua={type:16,number:50,flags:vt},Tu=[Ua,Ua],Du={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,A){var r=A.filter(EA);return r.length!==2?Tu:[r[0],r[1]]}},Ou={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"hidden":return 1;case"collapse":return 2;default:return 0}}},ot;(function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"})(ot||(ot={}));var Ru={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"break-all":return ot.BREAK_ALL;case"keep-all":return ot.KEEP_ALL;default:return ot.NORMAL}}},Nu={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,A){if(A.type===20)return{auto:!0,order:0};if(Ge(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},gi={name:"time",parse:function(e,A){if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},_u={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,A){return Ge(A)?A.number:1}},Gu={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ju={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,A){return A.filter(uA).map(function(r){switch(r.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(r){return r!==0})}},Vu={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,A){var r=[],t=[];return A.forEach(function(n){switch(n.type){case 20:case 0:r.push(n.value);break;case 17:r.push(n.number.toString());break;case 4:t.push(r.join(" ")),r.length=0;break}}),r.length&&t.push(r.join(" ")),t.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},Pu={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Xu={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,A){return Ge(A)?A.number:uA(A)&&A.value==="bold"?700:400}},Ju={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.filter(uA).map(function(r){return r.value})}},Wu={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},yA=function(e,A){return(e&A)!==0},Yu={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var r=A[0];return r.type===20&&r.value==="none"?[]:A}},Zu={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return null;var r=A[0];if(r.type===20&&r.value==="none")return null;for(var t=[],n=A.filter(Ws),a=0;a<n.length;a++){var s=n[a],o=n[a+1];if(s.type===20){var l=o&&Ge(o)?o.number:1;t.push({counter:s.value,increment:l})}}return t}},zu={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return[];for(var r=[],t=A.filter(Ws),n=0;n<t.length;n++){var a=t[n],s=t[n+1];if(uA(a)&&a.value!=="none"){var o=s&&Ge(s)?s.number:0;r.push({counter:a.value,reset:o})}}return r}},qu={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,A){return A.filter(Ut).map(function(r){return gi.parse(e,r)})}},$u={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return null;var r=A[0];if(r.type===20&&r.value==="none")return null;var t=[],n=A.filter(bg);if(n.length%2!==0)return null;for(var a=0;a<n.length;a+=2){var s=n[a].value,o=n[a+1].value;t.push({open:s,close:o})}return t}},Fa=function(e,A,r){if(!e)return"";var t=e[Math.min(A,e.length-1)];return t?r?t.open:t.close:""},AB={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.length===1&&Fn(A[0],"none")?[]:te(A).map(function(r){for(var t={color:255,offsetX:LA,offsetY:LA,blur:LA,spread:LA,inset:!1},n=0,a=0;a<r.length;a++){var s=r[a];Fn(s,"inset")?t.inset=!0:pe(s)?(n===0?t.offsetX=s:n===1?t.offsetY=s:n===2?t.blur=s:t.spread=s,n++):t.color=he.parse(e,s)}return t})}},eB={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,A){var r=[0,1,2],t=[];return A.filter(uA).forEach(function(n){switch(n.value){case"stroke":t.push(1);break;case"fill":t.push(0);break;case"markers":t.push(2);break}}),r.forEach(function(n){t.indexOf(n)===-1&&t.push(n)}),t}},tB={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},rB={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,A){return Ut(A)?A.number:0}},nB=(function(){function e(A,r){var t,n;this.animationDuration=X(A,qu,r.animationDuration),this.backgroundClip=X(A,xg,r.backgroundClip),this.backgroundColor=X(A,Ig,r.backgroundColor),this.backgroundImage=X(A,Rg,r.backgroundImage),this.backgroundOrigin=X(A,Ng,r.backgroundOrigin),this.backgroundPosition=X(A,_g,r.backgroundPosition),this.backgroundRepeat=X(A,Gg,r.backgroundRepeat),this.backgroundSize=X(A,Vg,r.backgroundSize),this.borderTopColor=X(A,Xg,r.borderTopColor),this.borderRightColor=X(A,Jg,r.borderRightColor),this.borderBottomColor=X(A,Wg,r.borderBottomColor),this.borderLeftColor=X(A,Yg,r.borderLeftColor),this.borderTopLeftRadius=X(A,Zg,r.borderTopLeftRadius),this.borderTopRightRadius=X(A,zg,r.borderTopRightRadius),this.borderBottomRightRadius=X(A,qg,r.borderBottomRightRadius),this.borderBottomLeftRadius=X(A,$g,r.borderBottomLeftRadius),this.borderTopStyle=X(A,Au,r.borderTopStyle),this.borderRightStyle=X(A,eu,r.borderRightStyle),this.borderBottomStyle=X(A,tu,r.borderBottomStyle),this.borderLeftStyle=X(A,ru,r.borderLeftStyle),this.borderTopWidth=X(A,nu,r.borderTopWidth),this.borderRightWidth=X(A,au,r.borderRightWidth),this.borderBottomWidth=X(A,su,r.borderBottomWidth),this.borderLeftWidth=X(A,iu,r.borderLeftWidth),this.boxShadow=X(A,AB,r.boxShadow),this.color=X(A,ou,r.color),this.direction=X(A,lu,r.direction),this.display=X(A,cu,r.display),this.float=X(A,uu,r.cssFloat),this.fontFamily=X(A,Vu,r.fontFamily),this.fontSize=X(A,Pu,r.fontSize),this.fontStyle=X(A,Wu,r.fontStyle),this.fontVariant=X(A,Ju,r.fontVariant),this.fontWeight=X(A,Xu,r.fontWeight),this.letterSpacing=X(A,Bu,r.letterSpacing),this.lineBreak=X(A,du,r.lineBreak),this.lineHeight=X(A,fu,r.lineHeight),this.listStyleImage=X(A,hu,r.listStyleImage),this.listStylePosition=X(A,wu,r.listStylePosition),this.listStyleType=X(A,bn,r.listStyleType),this.marginTop=X(A,pu,r.marginTop),this.marginRight=X(A,Cu,r.marginRight),this.marginBottom=X(A,Qu,r.marginBottom),this.marginLeft=X(A,mu,r.marginLeft),this.opacity=X(A,_u,r.opacity);var a=X(A,vu,r.overflow);this.overflowX=a[0],this.overflowY=a[a.length>1?1:0],this.overflowWrap=X(A,Uu,r.overflowWrap),this.paddingTop=X(A,Fu,r.paddingTop),this.paddingRight=X(A,bu,r.paddingRight),this.paddingBottom=X(A,Eu,r.paddingBottom),this.paddingLeft=X(A,yu,r.paddingLeft),this.paintOrder=X(A,eB,r.paintOrder),this.position=X(A,Iu,r.position),this.textAlign=X(A,xu,r.textAlign),this.textDecorationColor=X(A,Gu,(t=r.textDecorationColor)!==null&&t!==void 0?t:r.color),this.textDecorationLine=X(A,ju,(n=r.textDecorationLine)!==null&&n!==void 0?n:r.textDecoration),this.textShadow=X(A,Hu,r.textShadow),this.textTransform=X(A,Su,r.textTransform),this.transform=X(A,Lu,r.transform),this.transformOrigin=X(A,Du,r.transformOrigin),this.visibility=X(A,Ou,r.visibility),this.webkitTextStrokeColor=X(A,tB,r.webkitTextStrokeColor),this.webkitTextStrokeWidth=X(A,rB,r.webkitTextStrokeWidth),this.wordBreak=X(A,Ru,r.wordBreak),this.zIndex=X(A,Nu,r.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return we(this.backgroundColor)},e.prototype.isTransformed=function(){return this.transform!==null},e.prototype.isPositioned=function(){return this.position!==0},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==0},e.prototype.isInlineLevel=function(){return yA(this.display,4)||yA(this.display,33554432)||yA(this.display,268435456)||yA(this.display,536870912)||yA(this.display,67108864)||yA(this.display,134217728)},e})(),aB=(function(){function e(A,r){this.content=X(A,Yu,r.content),this.quotes=X(A,$u,r.quotes)}return e})(),ba=(function(){function e(A,r){this.counterIncrement=X(A,Zu,r.counterIncrement),this.counterReset=X(A,zu,r.counterReset)}return e})(),X=function(e,A,r){var t=new Xs,n=r!==null&&typeof r<"u"?r.toString():A.initialValue;t.write(n);var a=new Js(t.read());switch(A.type){case 2:var s=a.parseComponentValue();return A.parse(e,uA(s)?s.value:A.initialValue);case 0:return A.parse(e,a.parseComponentValue());case 1:return A.parse(e,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(A.format){case"angle":return vr.parse(e,a.parseComponentValue());case"color":return he.parse(e,a.parseComponentValue());case"image":return Rn.parse(e,a.parseComponentValue());case"length":var o=a.parseComponentValue();return pe(o)?o:LA;case"length-percentage":var l=a.parseComponentValue();return EA(l)?l:LA;case"time":return gi.parse(e,a.parseComponentValue())}break}},sB="data-html2canvas-debug",iB=function(e){var A=e.getAttribute(sB);switch(A){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},En=function(e,A){var r=iB(e);return r===1||A===r},re=(function(){function e(A,r){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,En(r,3))debugger;this.styles=new nB(A,window.getComputedStyle(r,null)),In(r)&&(this.styles.animationDuration.some(function(t){return t>0})&&(r.style.animationDuration="0s"),this.styles.transform!==null&&(r.style.transform="none")),this.bounds=Qr(this.context,r),En(r,4)&&(this.flags|=16)}return e})(),oB="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Ea="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tt=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Vt=0;Vt<Ea.length;Vt++)tt[Ea.charCodeAt(Vt)]=Vt;var lB=function(e){var A=e.length*.75,r=e.length,t,n=0,a,s,o,l;e[e.length-1]==="="&&(A--,e[e.length-2]==="="&&A--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),g=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<r;t+=4)a=tt[e.charCodeAt(t)],s=tt[e.charCodeAt(t+1)],o=tt[e.charCodeAt(t+2)],l=tt[e.charCodeAt(t+3)],g[n++]=a<<2|s>>4,g[n++]=(s&15)<<4|o>>2,g[n++]=(o&3)<<6|l&63;return c},cB=function(e){for(var A=e.length,r=[],t=0;t<A;t+=2)r.push(e[t+1]<<8|e[t]);return r},gB=function(e){for(var A=e.length,r=[],t=0;t<A;t+=4)r.push(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]);return r},ye=5,Nn=11,_r=2,uB=Nn-ye,ui=65536>>ye,BB=1<<ye,Gr=BB-1,dB=1024>>ye,fB=ui+dB,hB=fB,wB=32,pB=hB+wB,CB=65536>>Nn,QB=1<<uB,mB=QB-1,ya=function(e,A,r){return e.slice?e.slice(A,r):new Uint16Array(Array.prototype.slice.call(e,A,r))},vB=function(e,A,r){return e.slice?e.slice(A,r):new Uint32Array(Array.prototype.slice.call(e,A,r))},UB=function(e,A){var r=lB(e),t=Array.isArray(r)?gB(r):new Uint32Array(r),n=Array.isArray(r)?cB(r):new Uint16Array(r),a=24,s=ya(n,a/2,t[4]/2),o=t[5]===2?ya(n,(a+t[4])/2):vB(t,Math.ceil((a+t[4])/4));return new FB(t[0],t[1],t[2],t[3],s,o)},FB=(function(){function e(A,r,t,n,a,s){this.initialValue=A,this.errorValue=r,this.highStart=t,this.highValueIndex=n,this.index=a,this.data=s}return e.prototype.get=function(A){var r;if(A>=0){if(A<55296||A>56319&&A<=65535)return r=this.index[A>>ye],r=(r<<_r)+(A&Gr),this.data[r];if(A<=65535)return r=this.index[ui+(A-55296>>ye)],r=(r<<_r)+(A&Gr),this.data[r];if(A<this.highStart)return r=pB-CB+(A>>Nn),r=this.index[r],r+=A>>ye&mB,r=this.index[r],r=(r<<_r)+(A&Gr),this.data[r];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e})(),xa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bB=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Pt=0;Pt<xa.length;Pt++)bB[xa.charCodeAt(Pt)]=Pt;var EB=1,jr=2,Vr=3,Ia=4,Ha=5,yB=7,Sa=8,Pr=9,Xr=10,La=11,ka=12,Ma=13,Ka=14,Jr=15,xB=function(e){for(var A=[],r=0,t=e.length;r<t;){var n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<t){var a=e.charCodeAt(r++);(a&64512)===56320?A.push(((n&1023)<<10)+(a&1023)+65536):(A.push(n),r--)}else A.push(n)}return A},IB=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";for(var t=[],n=-1,a="";++n<r;){var s=e[n];s<=65535?t.push(s):(s-=65536,t.push((s>>10)+55296,s%1024+56320)),(n+1===r||t.length>16384)&&(a+=String.fromCharCode.apply(String,t),t.length=0)}return a},HB=UB(oB),VA="×",Wr="÷",SB=function(e){return HB.get(e)},LB=function(e,A,r){var t=r-2,n=A[t],a=A[r-1],s=A[r];if(a===jr&&s===Vr)return VA;if(a===jr||a===Vr||a===Ia||s===jr||s===Vr||s===Ia)return Wr;if(a===Sa&&[Sa,Pr,La,ka].indexOf(s)!==-1||(a===La||a===Pr)&&(s===Pr||s===Xr)||(a===ka||a===Xr)&&s===Xr||s===Ma||s===Ha||s===yB||a===EB)return VA;if(a===Ma&&s===Ka){for(;n===Ha;)n=A[--t];if(n===Ka)return VA}if(a===Jr&&s===Jr){for(var o=0;n===Jr;)o++,n=A[--t];if(o%2===0)return VA}return Wr},kB=function(e){var A=xB(e),r=A.length,t=0,n=0,a=A.map(SB);return{next:function(){if(t>=r)return{done:!0,value:null};for(var s=VA;t<r&&(s=LB(A,a,++t))===VA;);if(s!==VA||t===r){var o=IB.apply(null,A.slice(n,t));return n=t,{value:o,done:!1}}return{done:!0,value:null}}}},MB=function(e){for(var A=kB(e),r=[],t;!(t=A.next()).done;)t.value&&r.push(t.value.slice());return r},KB=function(e){var A=123;if(e.createRange){var r=e.createRange();if(r.getBoundingClientRect){var t=e.createElement("boundtest");t.style.height=A+"px",t.style.display="block",e.body.appendChild(t),r.selectNode(t);var n=r.getBoundingClientRect(),a=Math.round(n.height);if(e.body.removeChild(t),a===A)return!0}}return!1},TB=function(e){var A=e.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",e.body.appendChild(A);var r=e.createRange();A.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var t=A.firstChild,n=mr(t.data).map(function(l){return bA(l)}),a=0,s={},o=n.every(function(l,c){r.setStart(t,a),r.setEnd(t,a+l.length);var g=r.getBoundingClientRect();a+=l.length;var B=g.x>s.x||g.y>s.y;return s=g,c===0?!0:B});return e.body.removeChild(A),o},DB=function(){return typeof new Image().crossOrigin<"u"},OB=function(){return typeof new XMLHttpRequest().responseType=="string"},RB=function(e){var A=new Image,r=e.createElement("canvas"),t=r.getContext("2d");if(!t)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{t.drawImage(A,0,0),r.toDataURL()}catch{return!1}return!0},Ta=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},NB=function(e){var A=e.createElement("canvas"),r=100;A.width=r,A.height=r;var t=A.getContext("2d");if(!t)return Promise.reject(!1);t.fillStyle="rgb(0, 255, 0)",t.fillRect(0,0,r,r);var n=new Image,a=A.toDataURL();n.src=a;var s=yn(r,r,0,0,n);return t.fillStyle="red",t.fillRect(0,0,r,r),Da(s).then(function(o){t.drawImage(o,0,0);var l=t.getImageData(0,0,r,r).data;t.fillStyle="red",t.fillRect(0,0,r,r);var c=e.createElement("div");return c.style.backgroundImage="url("+a+")",c.style.height=r+"px",Ta(l)?Da(yn(r,r,0,0,c)):Promise.reject(!1)}).then(function(o){return t.drawImage(o,0,0),Ta(t.getImageData(0,0,r,r).data)}).catch(function(){return!1})},yn=function(e,A,r,t,n){var a="http://www.w3.org/2000/svg",s=document.createElementNS(a,"svg"),o=document.createElementNS(a,"foreignObject");return s.setAttributeNS(null,"width",e.toString()),s.setAttributeNS(null,"height",A.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",r.toString()),o.setAttributeNS(null,"y",t.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(n),s},Da=function(e){return new Promise(function(A,r){var t=new Image;t.onload=function(){return A(t)},t.onerror=r,t.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},HA={get SUPPORT_RANGE_BOUNDS(){var e=KB(document);return Object.defineProperty(HA,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=HA.SUPPORT_RANGE_BOUNDS&&TB(document);return Object.defineProperty(HA,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=RB(document);return Object.defineProperty(HA,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?NB(document):Promise.resolve(!1);return Object.defineProperty(HA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=DB();return Object.defineProperty(HA,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=OB();return Object.defineProperty(HA,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(HA,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(HA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},lt=(function(){function e(A,r){this.text=A,this.bounds=r}return e})(),_B=function(e,A,r,t){var n=VB(A,r),a=[],s=0;return n.forEach(function(o){if(r.textDecorationLine.length||o.trim().length>0)if(HA.SUPPORT_RANGE_BOUNDS){var l=Oa(t,s,o.length).getClientRects();if(l.length>1){var c=_n(o),g=0;c.forEach(function(u){a.push(new lt(u,ie.fromDOMRectList(e,Oa(t,g+s,u.length).getClientRects()))),g+=u.length})}else a.push(new lt(o,ie.fromDOMRectList(e,l)))}else{var B=t.splitText(o.length);a.push(new lt(o,GB(e,t))),t=B}else HA.SUPPORT_RANGE_BOUNDS||(t=t.splitText(o.length));s+=o.length}),a},GB=function(e,A){var r=A.ownerDocument;if(r){var t=r.createElement("html2canvaswrapper");t.appendChild(A.cloneNode(!0));var n=A.parentNode;if(n){n.replaceChild(t,A);var a=Qr(e,t);return t.firstChild&&n.replaceChild(t.firstChild,t),a}}return ie.EMPTY},Oa=function(e,A,r){var t=e.ownerDocument;if(!t)throw new Error("Node has no owner document");var n=t.createRange();return n.setStart(e,A),n.setEnd(e,A+r),n},_n=function(e){if(HA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(e)).map(function(r){return r.segment})}return MB(e)},jB=function(e,A){if(HA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var r=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(r.segment(e)).map(function(t){return t.segment})}return XB(e,A)},VB=function(e,A){return A.letterSpacing!==0?_n(e):jB(e,A)},PB=[32,160,4961,65792,65793,4153,4241],XB=function(e,A){for(var r=Cc(e,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),t=[],n,a=function(){if(n.value){var s=n.value.slice(),o=mr(s),l="";o.forEach(function(c){PB.indexOf(c)===-1?l+=bA(c):(l.length&&t.push(l),t.push(bA(c)),l="")}),l.length&&t.push(l)}};!(n=r.next()).done;)a();return t},JB=(function(){function e(A,r,t){this.text=WB(r.data,t.textTransform),this.textBounds=_B(A,this.text,t,r)}return e})(),WB=function(e,A){switch(A){case 1:return e.toLowerCase();case 3:return e.replace(YB,ZB);case 2:return e.toUpperCase();default:return e}},YB=/(^|\s|:|-|\(|\))([a-z])/g,ZB=function(e,A,r){return e.length>0?A+r.toUpperCase():e},Bi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.src=t.currentSrc||t.src,n.intrinsicWidth=t.naturalWidth,n.intrinsicHeight=t.naturalHeight,n.context.cache.addImage(n.src),n}return A})(re),di=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.canvas=t,n.intrinsicWidth=t.width,n.intrinsicHeight=t.height,n}return A})(re),fi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this,a=new XMLSerializer,s=Qr(r,t);return t.setAttribute("width",s.width+"px"),t.setAttribute("height",s.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(a.serializeToString(t)),n.intrinsicWidth=t.width.baseVal.value,n.intrinsicHeight=t.height.baseVal.value,n.context.cache.addImage(n.svg),n}return A})(re),hi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.value=t.value,n}return A})(re),xn=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.start=t.start,n.reversed=typeof t.reversed=="boolean"&&t.reversed===!0,n}return A})(re),zB=[{type:15,flags:0,unit:"px",number:3}],qB=[{type:16,flags:0,number:50}],$B=function(e){return e.width>e.height?new ie(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new ie(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},Ad=function(e){var A=e.type===ed?new Array(e.value.length+1).join("•"):e.value;return A.length===0?e.placeholder||"":A},gr="checkbox",ur="radio",ed="password",Ra=707406591,Gn=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;switch(n.type=t.type.toLowerCase(),n.checked=t.checked,n.value=Ad(t),(n.type===gr||n.type===ur)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=$B(n.bounds)),n.type){case gr:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=zB;break;case ur:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=qB;break}return n}return A})(re),wi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this,a=t.options[t.selectedIndex||0];return n.value=a&&a.text||"",n}return A})(re),pi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.value=t.value,n}return A})(re),Ci=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;n.src=t.src,n.width=parseInt(t.width,10)||0,n.height=parseInt(t.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement){n.tree=mi(r,t.contentWindow.document.documentElement);var a=t.contentWindow.document.documentElement?it(r,getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):se.TRANSPARENT,s=t.contentWindow.document.body?it(r,getComputedStyle(t.contentWindow.document.body).backgroundColor):se.TRANSPARENT;n.backgroundColor=we(a)?we(s)?n.styles.backgroundColor:s:a}}catch{}return n}return A})(re),td=["OL","UL","MENU"],$t=function(e,A,r,t){for(var n=A.firstChild,a=void 0;n;n=a)if(a=n.nextSibling,vi(n)&&n.data.trim().length>0)r.textNodes.push(new JB(e,n,r.styles));else if(De(n))if(Ei(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return $t(e,o,r,t)});else{var s=Qi(e,n);s.styles.isVisible()&&(rd(n,s,t)?s.flags|=4:nd(s.styles)&&(s.flags|=2),td.indexOf(n.tagName)!==-1&&(s.flags|=8),r.elements.push(s),n.slot,n.shadowRoot?$t(e,n.shadowRoot,s,t):!Br(n)&&!Ui(n)&&!dr(n)&&$t(e,n,s,t))}},Qi=function(e,A){return Hn(A)?new Bi(e,A):Fi(A)?new di(e,A):Ui(A)?new fi(e,A):ad(A)?new hi(e,A):sd(A)?new xn(e,A):id(A)?new Gn(e,A):dr(A)?new wi(e,A):Br(A)?new pi(e,A):bi(A)?new Ci(e,A):new re(e,A)},mi=function(e,A){var r=Qi(e,A);return r.flags|=4,$t(e,A,r,r),r},rd=function(e,A,r){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||jn(e)&&r.styles.isTransparent()},nd=function(e){return e.isPositioned()||e.isFloating()},vi=function(e){return e.nodeType===Node.TEXT_NODE},De=function(e){return e.nodeType===Node.ELEMENT_NODE},In=function(e){return De(e)&&typeof e.style<"u"&&!Ar(e)},Ar=function(e){return typeof e.className=="object"},ad=function(e){return e.tagName==="LI"},sd=function(e){return e.tagName==="OL"},id=function(e){return e.tagName==="INPUT"},od=function(e){return e.tagName==="HTML"},Ui=function(e){return e.tagName==="svg"},jn=function(e){return e.tagName==="BODY"},Fi=function(e){return e.tagName==="CANVAS"},Na=function(e){return e.tagName==="VIDEO"},Hn=function(e){return e.tagName==="IMG"},bi=function(e){return e.tagName==="IFRAME"},_a=function(e){return e.tagName==="STYLE"},ld=function(e){return e.tagName==="SCRIPT"},Br=function(e){return e.tagName==="TEXTAREA"},dr=function(e){return e.tagName==="SELECT"},Ei=function(e){return e.tagName==="SLOT"},Ga=function(e){return e.tagName.indexOf("-")>0},cd=(function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(A){var r=this.counters[A];return r&&r.length?r[r.length-1]:1},e.prototype.getCounterValues=function(A){var r=this.counters[A];return r||[]},e.prototype.pop=function(A){var r=this;A.forEach(function(t){return r.counters[t].pop()})},e.prototype.parse=function(A){var r=this,t=A.counterIncrement,n=A.counterReset,a=!0;t!==null&&t.forEach(function(o){var l=r.counters[o.counter];l&&o.increment!==0&&(a=!1,l.length||l.push(1),l[Math.max(0,l.length-1)]+=o.increment)});var s=[];return a&&n.forEach(function(o){var l=r.counters[o.counter];s.push(o.counter),l||(l=r.counters[o.counter]=[]),l.push(o.reset)}),s},e})(),ja={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Va={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},gd={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},ud={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Se=function(e,A,r,t,n,a){return e<A||e>r?wt(e,n,a.length>0):t.integers.reduce(function(s,o,l){for(;e>=o;)e-=o,s+=t.values[l];return s},"")+a},yi=function(e,A,r,t){var n="";do r||e--,n=t(e)+n,e/=A;while(e*A>=A);return n},FA=function(e,A,r,t,n){var a=r-A+1;return(e<0?"-":"")+(yi(Math.abs(e),a,t,function(s){return bA(Math.floor(s%a)+A)})+n)},Ce=function(e,A,r){r===void 0&&(r=". ");var t=A.length;return yi(Math.abs(e),t,!1,function(n){return A[Math.floor(n%t)]})+r},Me=1,oe=2,le=4,rt=8,ae=function(e,A,r,t,n,a){if(e<-9999||e>9999)return wt(e,4,n.length>0);var s=Math.abs(e),o=n;if(s===0)return A[0]+o;for(var l=0;s>0&&l<=4;l++){var c=s%10;c===0&&yA(a,Me)&&o!==""?o=A[c]+o:c>1||c===1&&l===0||c===1&&l===1&&yA(a,oe)||c===1&&l===1&&yA(a,le)&&e>100||c===1&&l>1&&yA(a,rt)?o=A[c]+(l>0?r[l-1]:"")+o:c===1&&l>0&&(o=r[l-1]+o),s=Math.floor(s/10)}return(e<0?t:"")+o},Pa="十百千萬",Xa="拾佰仟萬",Ja="マイナス",Yr="마이너스",wt=function(e,A,r){var t=r?". ":"",n=r?"、":"",a=r?", ":"",s=r?" ":"";switch(A){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var o=FA(e,48,57,!0,t);return o.length<4?"0"+o:o;case 4:return Ce(e,"〇一二三四五六七八九",n);case 6:return Se(e,1,3999,ja,3,t).toLowerCase();case 7:return Se(e,1,3999,ja,3,t);case 8:return FA(e,945,969,!1,t);case 9:return FA(e,97,122,!1,t);case 10:return FA(e,65,90,!1,t);case 11:return FA(e,1632,1641,!0,t);case 12:case 49:return Se(e,1,9999,Va,3,t);case 35:return Se(e,1,9999,Va,3,t).toLowerCase();case 13:return FA(e,2534,2543,!0,t);case 14:case 30:return FA(e,6112,6121,!0,t);case 15:return Ce(e,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Ce(e,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return ae(e,"零一二三四五六七八九",Pa,"負",n,oe|le|rt);case 47:return ae(e,"零壹貳參肆伍陸柒捌玖",Xa,"負",n,Me|oe|le|rt);case 42:return ae(e,"零一二三四五六七八九",Pa,"负",n,oe|le|rt);case 41:return ae(e,"零壹贰叁肆伍陆柒捌玖",Xa,"负",n,Me|oe|le|rt);case 26:return ae(e,"〇一二三四五六七八九","十百千万",Ja,n,0);case 25:return ae(e,"零壱弐参四伍六七八九","拾百千万",Ja,n,Me|oe|le);case 31:return ae(e,"영일이삼사오육칠팔구","십백천만",Yr,a,Me|oe|le);case 33:return ae(e,"零一二三四五六七八九","十百千萬",Yr,a,0);case 32:return ae(e,"零壹貳參四五六七八九","拾百千",Yr,a,Me|oe|le);case 18:return FA(e,2406,2415,!0,t);case 20:return Se(e,1,19999,ud,3,t);case 21:return FA(e,2790,2799,!0,t);case 22:return FA(e,2662,2671,!0,t);case 22:return Se(e,1,10999,gd,3,t);case 23:return Ce(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Ce(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return FA(e,3302,3311,!0,t);case 28:return Ce(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Ce(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return FA(e,3792,3801,!0,t);case 37:return FA(e,6160,6169,!0,t);case 38:return FA(e,4160,4169,!0,t);case 39:return FA(e,2918,2927,!0,t);case 40:return FA(e,1776,1785,!0,t);case 43:return FA(e,3046,3055,!0,t);case 44:return FA(e,3174,3183,!0,t);case 45:return FA(e,3664,3673,!0,t);case 46:return FA(e,3872,3881,!0,t);default:return FA(e,48,57,!0,t)}},xi="data-html2canvas-ignore",Wa=(function(){function e(A,r,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=r,this.counters=new cd,this.quoteDepth=0,!r.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(r.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(A,r){var t=this,n=Bd(A,r);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var a=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,o=n.contentWindow,l=o.document,c=hd(n).then(function(){return OA(t,void 0,void 0,function(){var g,B;return kA(this,function(u){switch(u.label){case 0:return this.scrolledElements.forEach(Qd),o&&(o.scrollTo(r.left,r.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==r.top||o.scrollX!==r.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-r.left,o.scrollY-r.top,0,0))),g=this.options.onclone,B=this.clonedReferenceElement,typeof B>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:u.sent(),u.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,fd(l)]:[3,4];case 3:u.sent(),u.label=4;case 4:return typeof g=="function"?[2,Promise.resolve().then(function(){return g(l,B)}).then(function(){return n})]:[2,n]}})})});return l.open(),l.write(pd(document.doctype)+"<html></html>"),Cd(this.referenceElement.ownerDocument,a,s),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),c},e.prototype.createElementClone=function(A){if(En(A,2))debugger;if(Fi(A))return this.createCanvasClone(A);if(Na(A))return this.createVideoClone(A);if(_a(A))return this.createStyleClone(A);var r=A.cloneNode(!1);return Hn(r)&&(Hn(A)&&A.currentSrc&&A.currentSrc!==A.src&&(r.src=A.currentSrc,r.srcset=""),r.loading==="lazy"&&(r.loading="eager")),Ga(r)?this.createCustomElementClone(r):r},e.prototype.createCustomElementClone=function(A){var r=document.createElement("html2canvascustomelement");return Zr(A.style,r),r},e.prototype.createStyleClone=function(A){try{var r=A.sheet;if(r&&r.cssRules){var t=[].slice.call(r.cssRules,0).reduce(function(a,s){return s&&typeof s.cssText=="string"?a+s.cssText:a},""),n=A.cloneNode(!1);return n.textContent=t,n}}catch(a){if(this.context.logger.error("Unable to access cssRules property",a),a.name!=="SecurityError")throw a}return A.cloneNode(!1)},e.prototype.createCanvasClone=function(A){var r;if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var a=A.getContext("2d"),s=n.getContext("2d");if(s)if(!this.options.allowTaint&&a)s.putImageData(a.getImageData(0,0,A.width,A.height),0,0);else{var o=(r=A.getContext("webgl2"))!==null&&r!==void 0?r:A.getContext("webgl");if(o){var l=o.getContextAttributes();l?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}s.drawImage(A,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},e.prototype.createVideoClone=function(A){var r=A.ownerDocument.createElement("canvas");r.width=A.offsetWidth,r.height=A.offsetHeight;var t=r.getContext("2d");try{return t&&(t.drawImage(A,0,0,r.width,r.height),this.options.allowTaint||t.getImageData(0,0,r.width,r.height)),r}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},e.prototype.appendChildNode=function(A,r,t){(!De(r)||!ld(r)&&!r.hasAttribute(xi)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(r)))&&(!this.options.copyStyles||!De(r)||!_a(r))&&A.appendChild(this.cloneNode(r,t))},e.prototype.cloneChildNodes=function(A,r,t){for(var n=this,a=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;a;a=a.nextSibling)if(De(a)&&Ei(a)&&typeof a.assignedNodes=="function"){var s=a.assignedNodes();s.length&&s.forEach(function(o){return n.appendChildNode(r,o,t)})}else this.appendChildNode(r,a,t)},e.prototype.cloneNode=function(A,r){if(vi(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&De(A)&&(In(A)||Ar(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var a=t.getComputedStyle(A),s=t.getComputedStyle(A,":before"),o=t.getComputedStyle(A,":after");this.referenceElement===A&&In(n)&&(this.clonedReferenceElement=n),jn(n)&&Ud(n);var l=this.counters.parse(new ba(this.context,a)),c=this.resolvePseudoContent(A,n,s,ct.BEFORE);Ga(A)&&(r=!0),Na(A)||this.cloneChildNodes(A,n,r),c&&n.insertBefore(c,n.firstChild);var g=this.resolvePseudoContent(A,n,o,ct.AFTER);return g&&n.appendChild(g),this.counters.pop(l),(a&&(this.options.copyStyles||Ar(A))&&!bi(A)||r)&&Zr(a,n),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(Br(A)||dr(A))&&(Br(n)||dr(n))&&(n.value=A.value),n}return A.cloneNode(!1)},e.prototype.resolvePseudoContent=function(A,r,t,n){var a=this;if(t){var s=t.content,o=r.ownerDocument;if(!(!o||!s||s==="none"||s==="-moz-alt-content"||t.display==="none")){this.counters.parse(new ba(this.context,t));var l=new aB(this.context,t),c=o.createElement("html2canvaspseudoelement");Zr(t,c),l.content.forEach(function(B){if(B.type===0)c.appendChild(o.createTextNode(B.value));else if(B.type===22){var u=o.createElement("img");u.src=B.value,u.style.opacity="1",c.appendChild(u)}else if(B.type===18){if(B.name==="attr"){var p=B.values.filter(uA);p.length&&c.appendChild(o.createTextNode(A.getAttribute(p[0].value)||""))}else if(B.name==="counter"){var Q=B.values.filter(_e),C=Q[0],I=Q[1];if(C&&uA(C)){var U=a.counters.getCounterValue(C.value),b=I&&uA(I)?bn.parse(a.context,I.value):3;c.appendChild(o.createTextNode(wt(U,b,!1)))}}else if(B.name==="counters"){var L=B.values.filter(_e),C=L[0],S=L[1],I=L[2];if(C&&uA(C)){var y=a.counters.getCounterValues(C.value),h=I&&uA(I)?bn.parse(a.context,I.value):3,x=S&&S.type===0?S.value:"",M=y.map(function(O){return wt(O,h,!1)}).join(x);c.appendChild(o.createTextNode(M))}}}else if(B.type===20)switch(B.value){case"open-quote":c.appendChild(o.createTextNode(Fa(l.quotes,a.quoteDepth++,!0)));break;case"close-quote":c.appendChild(o.createTextNode(Fa(l.quotes,--a.quoteDepth,!1)));break;default:c.appendChild(o.createTextNode(B.value))}}),c.className=Sn+" "+Ln;var g=n===ct.BEFORE?" "+Sn:" "+Ln;return Ar(r)?r.className.baseValue+=g:r.className+=g,c}}},e.destroy=function(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1},e})(),ct;(function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"})(ct||(ct={}));var Bd=function(e,A){var r=e.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=A.width.toString(),r.height=A.height.toString(),r.scrolling="no",r.setAttribute(xi,"true"),e.body.appendChild(r),r},dd=function(e){return new Promise(function(A){if(e.complete){A();return}if(!e.src){A();return}e.onload=A,e.onerror=A})},fd=function(e){return Promise.all([].slice.call(e.images,0).map(dd))},hd=function(e){return new Promise(function(A,r){var t=e.contentWindow;if(!t)return r("No window assigned for iframe");var n=t.document;t.onload=e.onload=function(){t.onload=e.onload=null;var a=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(a),A(e))},50)}})},wd=["all","d","content"],Zr=function(e,A){for(var r=e.length-1;r>=0;r--){var t=e.item(r);wd.indexOf(t)===-1&&A.style.setProperty(t,e.getPropertyValue(t))}return A},pd=function(e){var A="";return e&&(A+="<!DOCTYPE ",e.name&&(A+=e.name),e.internalSubset&&(A+=e.internalSubset),e.publicId&&(A+='"'+e.publicId+'"'),e.systemId&&(A+='"'+e.systemId+'"'),A+=">"),A},Cd=function(e,A,r){e&&e.defaultView&&(A!==e.defaultView.pageXOffset||r!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(A,r)},Qd=function(e){var A=e[0],r=e[1],t=e[2];A.scrollLeft=r,A.scrollTop=t},md=":before",vd=":after",Sn="___html2canvas___pseudoelement_before",Ln="___html2canvas___pseudoelement_after",Ya=`{+ content: "" !important;+ display: none !important;+}`,Ud=function(e){Fd(e,"."+Sn+md+Ya+`+ .`+Ln+vd+Ya)},Fd=function(e,A){var r=e.ownerDocument;if(r){var t=r.createElement("style");t.textContent=A,e.appendChild(t)}},Ii=(function(){function e(){}return e.getOrigin=function(A){var r=e._link;return r?(r.href=A,r.href=r.href,r.protocol+r.hostname+r.port):"about:blank"},e.isSameOrigin=function(A){return e.getOrigin(A)===e._origin},e.setContext=function(A){e._link=A.document.createElement("a"),e._origin=e.getOrigin(A.location.href)},e._origin="about:blank",e})(),bd=(function(){function e(A,r){this.context=A,this._options=r,this._cache={}}return e.prototype.addImage=function(A){var r=Promise.resolve();return this.has(A)||(qr(A)||Id(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),r},e.prototype.match=function(A){return this._cache[A]},e.prototype.loadImage=function(A){return OA(this,void 0,void 0,function(){var r,t,n,a,s=this;return kA(this,function(o){switch(o.label){case 0:return r=Ii.isSameOrigin(A),t=!zr(A)&&this._options.useCORS===!0&&HA.SUPPORT_CORS_IMAGES&&!r,n=!zr(A)&&!r&&!qr(A)&&typeof this._options.proxy=="string"&&HA.SUPPORT_CORS_XHR&&!t,!r&&this._options.allowTaint===!1&&!zr(A)&&!qr(A)&&!n&&!t?[2]:(a=A,n?[4,this.proxy(a)]:[3,2]);case 1:a=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(l,c){var g=new Image;g.onload=function(){return l(g)},g.onerror=c,(Hd(a)||t)&&(g.crossOrigin="anonymous"),g.src=a,g.complete===!0&&setTimeout(function(){return l(g)},500),s._options.imageTimeout>0&&setTimeout(function(){return c("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},e.prototype.has=function(A){return typeof this._cache[A]<"u"},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(A){var r=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise(function(a,s){var o=HA.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;l.onload=function(){if(l.status===200)if(o==="text")a(l.response);else{var B=new FileReader;B.addEventListener("load",function(){return a(B.result)},!1),B.addEventListener("error",function(u){return s(u)},!1),B.readAsDataURL(l.response)}else s("Failed to proxy resource "+n+" with status code "+l.status)},l.onerror=s;var c=t.indexOf("?")>-1?"&":"?";if(l.open("GET",""+t+c+"url="+encodeURIComponent(A)+"&responseType="+o),o!=="text"&&l instanceof XMLHttpRequest&&(l.responseType=o),r._options.imageTimeout){var g=r._options.imageTimeout;l.timeout=g,l.ontimeout=function(){return s("Timed out ("+g+"ms) proxying "+n)}}l.send()})},e})(),Ed=/^data:image\/svg\+xml/i,yd=/^data:image\/.*;base64,/i,xd=/^data:image\/.*/i,Id=function(e){return HA.SUPPORT_SVG_DRAWING||!Sd(e)},zr=function(e){return xd.test(e)},Hd=function(e){return yd.test(e)},qr=function(e){return e.substr(0,4)==="blob"},Sd=function(e){return e.substr(-3).toLowerCase()==="svg"||Ed.test(e)},V=(function(){function e(A,r){this.type=0,this.x=A,this.y=r}return e.prototype.add=function(A,r){return new e(this.x+A,this.y+r)},e})(),Le=function(e,A,r){return new V(e.x+(A.x-e.x)*r,e.y+(A.y-e.y)*r)},Xt=(function(){function e(A,r,t,n){this.type=1,this.start=A,this.startControl=r,this.endControl=t,this.end=n}return e.prototype.subdivide=function(A,r){var t=Le(this.start,this.startControl,A),n=Le(this.startControl,this.endControl,A),a=Le(this.endControl,this.end,A),s=Le(t,n,A),o=Le(n,a,A),l=Le(s,o,A);return r?new e(this.start,t,s,l):new e(l,o,a,this.end)},e.prototype.add=function(A,r){return new e(this.start.add(A,r),this.startControl.add(A,r),this.endControl.add(A,r),this.end.add(A,r))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e})(),PA=function(e){return e.type===1},Ld=(function(){function e(A){var r=A.styles,t=A.bounds,n=et(r.borderTopLeftRadius,t.width,t.height),a=n[0],s=n[1],o=et(r.borderTopRightRadius,t.width,t.height),l=o[0],c=o[1],g=et(r.borderBottomRightRadius,t.width,t.height),B=g[0],u=g[1],p=et(r.borderBottomLeftRadius,t.width,t.height),Q=p[0],C=p[1],I=[];I.push((a+l)/t.width),I.push((Q+B)/t.width),I.push((s+C)/t.height),I.push((c+u)/t.height);var U=Math.max.apply(Math,I);U>1&&(a/=U,s/=U,l/=U,c/=U,B/=U,u/=U,Q/=U,C/=U);var b=t.width-l,L=t.height-u,S=t.width-B,y=t.height-C,h=r.borderTopWidth,x=r.borderRightWidth,M=r.borderBottomWidth,k=r.borderLeftWidth,R=hA(r.paddingTop,A.bounds.width),O=hA(r.paddingRight,A.bounds.width),Z=hA(r.paddingBottom,A.bounds.width),D=hA(r.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=a>0||s>0?CA(t.left+k/3,t.top+h/3,a-k/3,s-h/3,gA.TOP_LEFT):new V(t.left+k/3,t.top+h/3),this.topRightBorderDoubleOuterBox=a>0||s>0?CA(t.left+b,t.top+h/3,l-x/3,c-h/3,gA.TOP_RIGHT):new V(t.left+t.width-x/3,t.top+h/3),this.bottomRightBorderDoubleOuterBox=B>0||u>0?CA(t.left+S,t.top+L,B-x/3,u-M/3,gA.BOTTOM_RIGHT):new V(t.left+t.width-x/3,t.top+t.height-M/3),this.bottomLeftBorderDoubleOuterBox=Q>0||C>0?CA(t.left+k/3,t.top+y,Q-k/3,C-M/3,gA.BOTTOM_LEFT):new V(t.left+k/3,t.top+t.height-M/3),this.topLeftBorderDoubleInnerBox=a>0||s>0?CA(t.left+k*2/3,t.top+h*2/3,a-k*2/3,s-h*2/3,gA.TOP_LEFT):new V(t.left+k*2/3,t.top+h*2/3),this.topRightBorderDoubleInnerBox=a>0||s>0?CA(t.left+b,t.top+h*2/3,l-x*2/3,c-h*2/3,gA.TOP_RIGHT):new V(t.left+t.width-x*2/3,t.top+h*2/3),this.bottomRightBorderDoubleInnerBox=B>0||u>0?CA(t.left+S,t.top+L,B-x*2/3,u-M*2/3,gA.BOTTOM_RIGHT):new V(t.left+t.width-x*2/3,t.top+t.height-M*2/3),this.bottomLeftBorderDoubleInnerBox=Q>0||C>0?CA(t.left+k*2/3,t.top+y,Q-k*2/3,C-M*2/3,gA.BOTTOM_LEFT):new V(t.left+k*2/3,t.top+t.height-M*2/3),this.topLeftBorderStroke=a>0||s>0?CA(t.left+k/2,t.top+h/2,a-k/2,s-h/2,gA.TOP_LEFT):new V(t.left+k/2,t.top+h/2),this.topRightBorderStroke=a>0||s>0?CA(t.left+b,t.top+h/2,l-x/2,c-h/2,gA.TOP_RIGHT):new V(t.left+t.width-x/2,t.top+h/2),this.bottomRightBorderStroke=B>0||u>0?CA(t.left+S,t.top+L,B-x/2,u-M/2,gA.BOTTOM_RIGHT):new V(t.left+t.width-x/2,t.top+t.height-M/2),this.bottomLeftBorderStroke=Q>0||C>0?CA(t.left+k/2,t.top+y,Q-k/2,C-M/2,gA.BOTTOM_LEFT):new V(t.left+k/2,t.top+t.height-M/2),this.topLeftBorderBox=a>0||s>0?CA(t.left,t.top,a,s,gA.TOP_LEFT):new V(t.left,t.top),this.topRightBorderBox=l>0||c>0?CA(t.left+b,t.top,l,c,gA.TOP_RIGHT):new V(t.left+t.width,t.top),this.bottomRightBorderBox=B>0||u>0?CA(t.left+S,t.top+L,B,u,gA.BOTTOM_RIGHT):new V(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=Q>0||C>0?CA(t.left,t.top+y,Q,C,gA.BOTTOM_LEFT):new V(t.left,t.top+t.height),this.topLeftPaddingBox=a>0||s>0?CA(t.left+k,t.top+h,Math.max(0,a-k),Math.max(0,s-h),gA.TOP_LEFT):new V(t.left+k,t.top+h),this.topRightPaddingBox=l>0||c>0?CA(t.left+Math.min(b,t.width-x),t.top+h,b>t.width+x?0:Math.max(0,l-x),Math.max(0,c-h),gA.TOP_RIGHT):new V(t.left+t.width-x,t.top+h),this.bottomRightPaddingBox=B>0||u>0?CA(t.left+Math.min(S,t.width-k),t.top+Math.min(L,t.height-M),Math.max(0,B-x),Math.max(0,u-M),gA.BOTTOM_RIGHT):new V(t.left+t.width-x,t.top+t.height-M),this.bottomLeftPaddingBox=Q>0||C>0?CA(t.left+k,t.top+Math.min(y,t.height-M),Math.max(0,Q-k),Math.max(0,C-M),gA.BOTTOM_LEFT):new V(t.left+k,t.top+t.height-M),this.topLeftContentBox=a>0||s>0?CA(t.left+k+D,t.top+h+R,Math.max(0,a-(k+D)),Math.max(0,s-(h+R)),gA.TOP_LEFT):new V(t.left+k+D,t.top+h+R),this.topRightContentBox=l>0||c>0?CA(t.left+Math.min(b,t.width+k+D),t.top+h+R,b>t.width+k+D?0:l-k+D,c-(h+R),gA.TOP_RIGHT):new V(t.left+t.width-(x+O),t.top+h+R),this.bottomRightContentBox=B>0||u>0?CA(t.left+Math.min(S,t.width-(k+D)),t.top+Math.min(L,t.height+h+R),Math.max(0,B-(x+O)),u-(M+Z),gA.BOTTOM_RIGHT):new V(t.left+t.width-(x+O),t.top+t.height-(M+Z)),this.bottomLeftContentBox=Q>0||C>0?CA(t.left+k+D,t.top+y,Math.max(0,Q-(k+D)),C-(M+Z),gA.BOTTOM_LEFT):new V(t.left+k+D,t.top+t.height-(M+Z))}return e})(),gA;(function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(gA||(gA={}));var CA=function(e,A,r,t,n){var a=4*((Math.sqrt(2)-1)/3),s=r*a,o=t*a,l=e+r,c=A+t;switch(n){case gA.TOP_LEFT:return new Xt(new V(e,c),new V(e,c-o),new V(l-s,A),new V(l,A));case gA.TOP_RIGHT:return new Xt(new V(e,A),new V(e+s,A),new V(l,c-o),new V(l,c));case gA.BOTTOM_RIGHT:return new Xt(new V(l,A),new V(l,A+o),new V(e+s,c),new V(e,c));case gA.BOTTOM_LEFT:default:return new Xt(new V(l,c),new V(l-s,c),new V(e,A+o),new V(e,A))}},fr=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},kd=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},hr=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},Md=(function(){function e(A,r,t){this.offsetX=A,this.offsetY=r,this.matrix=t,this.type=0,this.target=6}return e})(),Jt=(function(){function e(A,r){this.path=A,this.target=r,this.type=1}return e})(),Kd=(function(){function e(A){this.opacity=A,this.type=2,this.target=6}return e})(),Td=function(e){return e.type===0},Hi=function(e){return e.type===1},Dd=function(e){return e.type===2},Za=function(e,A){return e.length===A.length?e.some(function(r,t){return r===A[t]}):!1},Od=function(e,A,r,t,n){return e.map(function(a,s){switch(s){case 0:return a.add(A,r);case 1:return a.add(A+t,r);case 2:return a.add(A+t,r+n);case 3:return a.add(A,r+n)}return a})},Si=(function(){function e(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e})(),Li=(function(){function e(A,r){if(this.container=A,this.parent=r,this.effects=[],this.curves=new Ld(this.container),this.container.styles.opacity<1&&this.effects.push(new Kd(this.container.styles.opacity)),this.container.styles.transform!==null){var t=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,a=this.container.styles.transform;this.effects.push(new Md(t,n,a))}if(this.container.styles.overflowX!==0){var s=fr(this.curves),o=hr(this.curves);Za(s,o)?this.effects.push(new Jt(s,6)):(this.effects.push(new Jt(s,2)),this.effects.push(new Jt(o,4)))}}return e.prototype.getEffects=function(A){for(var r=[2,3].indexOf(this.container.styles.position)===-1,t=this.parent,n=this.effects.slice(0);t;){var a=t.effects.filter(function(l){return!Hi(l)});if(r||t.container.styles.position!==0||!t.parent){if(n.unshift.apply(n,a),r=[2,3].indexOf(t.container.styles.position)===-1,t.container.styles.overflowX!==0){var s=fr(t.curves),o=hr(t.curves);Za(s,o)||n.unshift(new Jt(o,6))}}else n.unshift.apply(n,a);t=t.parent}return n.filter(function(l){return yA(l.target,A)})},e})(),kn=function(e,A,r,t){e.container.elements.forEach(function(n){var a=yA(n.flags,4),s=yA(n.flags,2),o=new Li(n,e);yA(n.styles.display,2048)&&t.push(o);var l=yA(n.flags,8)?[]:t;if(a||s){var c=a||n.styles.isPositioned()?r:A,g=new Si(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var B=n.styles.zIndex.order;if(B<0){var u=0;c.negativeZIndex.some(function(Q,C){return B>Q.element.container.styles.zIndex.order?(u=C,!1):u>0}),c.negativeZIndex.splice(u,0,g)}else if(B>0){var p=0;c.positiveZIndex.some(function(Q,C){return B>=Q.element.container.styles.zIndex.order?(p=C+1,!1):p>0}),c.positiveZIndex.splice(p,0,g)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(g)}else n.styles.isFloating()?c.nonPositionedFloats.push(g):c.nonPositionedInlineLevel.push(g);kn(o,g,a?g:r,l)}else n.styles.isInlineLevel()?A.inlineLevel.push(o):A.nonInlineLevel.push(o),kn(o,A,r,l);yA(n.flags,8)&&ki(n,l)})},ki=function(e,A){for(var r=e instanceof xn?e.start:1,t=e instanceof xn?e.reversed:!1,n=0;n<A.length;n++){var a=A[n];a.container instanceof hi&&typeof a.container.value=="number"&&a.container.value!==0&&(r=a.container.value),a.listValue=wt(r,a.container.styles.listStyleType,!0),r+=t?-1:1}},Rd=function(e){var A=new Li(e,null),r=new Si(A),t=[];return kn(A,r,r,t),ki(A.container,t),r},za=function(e,A){switch(A){case 0:return JA(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return JA(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return JA(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return JA(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Nd=function(e,A){switch(A){case 0:return JA(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return JA(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return JA(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return JA(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},_d=function(e,A){switch(A){case 0:return JA(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return JA(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return JA(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return JA(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},Gd=function(e,A){switch(A){case 0:return Wt(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Wt(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Wt(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return Wt(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},Wt=function(e,A){var r=[];return PA(e)?r.push(e.subdivide(.5,!1)):r.push(e),PA(A)?r.push(A.subdivide(.5,!0)):r.push(A),r},JA=function(e,A,r,t){var n=[];return PA(e)?n.push(e.subdivide(.5,!1)):n.push(e),PA(r)?n.push(r.subdivide(.5,!0)):n.push(r),PA(t)?n.push(t.subdivide(.5,!0).reverse()):n.push(t),PA(A)?n.push(A.subdivide(.5,!1).reverse()):n.push(A),n},Mi=function(e){var A=e.bounds,r=e.styles;return A.add(r.borderLeftWidth,r.borderTopWidth,-(r.borderRightWidth+r.borderLeftWidth),-(r.borderTopWidth+r.borderBottomWidth))},wr=function(e){var A=e.styles,r=e.bounds,t=hA(A.paddingLeft,r.width),n=hA(A.paddingRight,r.width),a=hA(A.paddingTop,r.width),s=hA(A.paddingBottom,r.width);return r.add(t+A.borderLeftWidth,a+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+t+n),-(A.borderTopWidth+A.borderBottomWidth+a+s))},jd=function(e,A){return e===0?A.bounds:e===2?wr(A):Mi(A)},Vd=function(e,A){return e===0?A.bounds:e===2?wr(A):Mi(A)},$r=function(e,A,r){var t=jd(Ke(e.styles.backgroundOrigin,A),e),n=Vd(Ke(e.styles.backgroundClip,A),e),a=Pd(Ke(e.styles.backgroundSize,A),r,t),s=a[0],o=a[1],l=et(Ke(e.styles.backgroundPosition,A),t.width-s,t.height-o),c=Xd(Ke(e.styles.backgroundRepeat,A),l,a,t,n),g=Math.round(t.left+l[0]),B=Math.round(t.top+l[1]);return[c,g,B,s,o]},ke=function(e){return uA(e)&&e.value===Oe.AUTO},Yt=function(e){return typeof e=="number"},Pd=function(e,A,r){var t=A[0],n=A[1],a=A[2],s=e[0],o=e[1];if(!s)return[0,0];if(EA(s)&&o&&EA(o))return[hA(s,r.width),hA(o,r.height)];var l=Yt(a);if(uA(s)&&(s.value===Oe.CONTAIN||s.value===Oe.COVER)){if(Yt(a)){var c=r.width/r.height;return c<a!=(s.value===Oe.COVER)?[r.width,r.width/a]:[r.height*a,r.height]}return[r.width,r.height]}var g=Yt(t),B=Yt(n),u=g||B;if(ke(s)&&(!o||ke(o))){if(g&&B)return[t,n];if(!l&&!u)return[r.width,r.height];if(u&&l){var p=g?t:n*a,Q=B?n:t/a;return[p,Q]}var C=g?t:r.width,I=B?n:r.height;return[C,I]}if(l){var U=0,b=0;return EA(s)?U=hA(s,r.width):EA(o)&&(b=hA(o,r.height)),ke(s)?U=b*a:(!o||ke(o))&&(b=U/a),[U,b]}var L=null,S=null;if(EA(s)?L=hA(s,r.width):o&&EA(o)&&(S=hA(o,r.height)),L!==null&&(!o||ke(o))&&(S=g&&B?L/t*n:r.height),S!==null&&ke(s)&&(L=g&&B?S/n*t:r.width),L!==null&&S!==null)return[L,S];throw new Error("Unable to calculate background-size for element")},Ke=function(e,A){var r=e[A];return typeof r>"u"?e[0]:r},Xd=function(e,A,r,t,n){var a=A[0],s=A[1],o=r[0],l=r[1];switch(e){case 2:return[new V(Math.round(t.left),Math.round(t.top+s)),new V(Math.round(t.left+t.width),Math.round(t.top+s)),new V(Math.round(t.left+t.width),Math.round(l+t.top+s)),new V(Math.round(t.left),Math.round(l+t.top+s))];case 3:return[new V(Math.round(t.left+a),Math.round(t.top)),new V(Math.round(t.left+a+o),Math.round(t.top)),new V(Math.round(t.left+a+o),Math.round(t.height+t.top)),new V(Math.round(t.left+a),Math.round(t.height+t.top))];case 1:return[new V(Math.round(t.left+a),Math.round(t.top+s)),new V(Math.round(t.left+a+o),Math.round(t.top+s)),new V(Math.round(t.left+a+o),Math.round(t.top+s+l)),new V(Math.round(t.left+a),Math.round(t.top+s+l))];default:return[new V(Math.round(n.left),Math.round(n.top)),new V(Math.round(n.left+n.width),Math.round(n.top)),new V(Math.round(n.left+n.width),Math.round(n.height+n.top)),new V(Math.round(n.left),Math.round(n.height+n.top))]}},Jd="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",qa="Hidden Text",Wd=(function(){function e(A){this._data={},this._document=A}return e.prototype.parseMetrics=function(A,r){var t=this._document.createElement("div"),n=this._document.createElement("img"),a=this._document.createElement("span"),s=this._document.body;t.style.visibility="hidden",t.style.fontFamily=A,t.style.fontSize=r,t.style.margin="0",t.style.padding="0",t.style.whiteSpace="nowrap",s.appendChild(t),n.src=Jd,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",a.style.fontFamily=A,a.style.fontSize=r,a.style.margin="0",a.style.padding="0",a.appendChild(this._document.createTextNode(qa)),t.appendChild(a),t.appendChild(n);var o=n.offsetTop-a.offsetTop+2;t.removeChild(a),t.appendChild(this._document.createTextNode(qa)),t.style.lineHeight="normal",n.style.verticalAlign="super";var l=n.offsetTop-t.offsetTop+2;return s.removeChild(t),{baseline:o,middle:l}},e.prototype.getMetrics=function(A,r){var t=A+" "+r;return typeof this._data[t]>"u"&&(this._data[t]=this.parseMetrics(A,r)),this._data[t]},e})(),Ki=(function(){function e(A,r){this.context=A,this.options=r}return e})(),Yd=1e4,Zd=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n._activeEffects=[],n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),t.canvas||(n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px"),n.fontMetrics=new Wd(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+t.width+"x"+t.height+") with scale "+t.scale),n}return A.prototype.applyEffects=function(r){for(var t=this;this._activeEffects.length;)this.popEffect();r.forEach(function(n){return t.applyEffect(n)})},A.prototype.applyEffect=function(r){this.ctx.save(),Dd(r)&&(this.ctx.globalAlpha=r.opacity),Td(r)&&(this.ctx.translate(r.offsetX,r.offsetY),this.ctx.transform(r.matrix[0],r.matrix[1],r.matrix[2],r.matrix[3],r.matrix[4],r.matrix[5]),this.ctx.translate(-r.offsetX,-r.offsetY)),Hi(r)&&(this.path(r.path),this.ctx.clip()),this._activeEffects.push(r)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(r){return OA(this,void 0,void 0,function(){var t;return kA(this,function(n){switch(n.label){case 0:return t=r.element.container.styles,t.isVisible()?[4,this.renderStackContent(r)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(r){return OA(this,void 0,void 0,function(){return kA(this,function(t){switch(t.label){case 0:if(yA(r.container.flags,16))debugger;return r.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(r)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(r)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(r,t,n){var a=this;if(t===0)this.ctx.fillText(r.text,r.bounds.left,r.bounds.top+n);else{var s=_n(r.text);s.reduce(function(o,l){return a.ctx.fillText(l,o,r.bounds.top+n),o+a.ctx.measureText(l).width},r.bounds.left)}},A.prototype.createFontStyle=function(r){var t=r.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),n=ef(r.fontFamily).join(", "),a=Ut(r.fontSize)?""+r.fontSize.number+r.fontSize.unit:r.fontSize.number+"px";return[[r.fontStyle,t,r.fontWeight,a,n].join(" "),n,a]},A.prototype.renderTextNode=function(r,t){return OA(this,void 0,void 0,function(){var n,a,s,o,l,c,g,B,u=this;return kA(this,function(p){return n=this.createFontStyle(t),a=n[0],s=n[1],o=n[2],this.ctx.font=a,this.ctx.direction=t.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",l=this.fontMetrics.getMetrics(s,o),c=l.baseline,g=l.middle,B=t.paintOrder,r.textBounds.forEach(function(Q){B.forEach(function(C){switch(C){case 0:u.ctx.fillStyle=xA(t.color),u.renderTextWithLetterSpacing(Q,t.letterSpacing,c);var I=t.textShadow;I.length&&Q.text.trim().length&&(I.slice(0).reverse().forEach(function(U){u.ctx.shadowColor=xA(U.color),u.ctx.shadowOffsetX=U.offsetX.number*u.options.scale,u.ctx.shadowOffsetY=U.offsetY.number*u.options.scale,u.ctx.shadowBlur=U.blur.number,u.renderTextWithLetterSpacing(Q,t.letterSpacing,c)}),u.ctx.shadowColor="",u.ctx.shadowOffsetX=0,u.ctx.shadowOffsetY=0,u.ctx.shadowBlur=0),t.textDecorationLine.length&&(u.ctx.fillStyle=xA(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(U){switch(U){case 1:u.ctx.fillRect(Q.bounds.left,Math.round(Q.bounds.top+c),Q.bounds.width,1);break;case 2:u.ctx.fillRect(Q.bounds.left,Math.round(Q.bounds.top),Q.bounds.width,1);break;case 3:u.ctx.fillRect(Q.bounds.left,Math.ceil(Q.bounds.top+g),Q.bounds.width,1);break}}));break;case 1:t.webkitTextStrokeWidth&&Q.text.trim().length&&(u.ctx.strokeStyle=xA(t.webkitTextStrokeColor),u.ctx.lineWidth=t.webkitTextStrokeWidth,u.ctx.lineJoin=window.chrome?"miter":"round",u.ctx.strokeText(Q.text,Q.bounds.left,Q.bounds.top+c)),u.ctx.strokeStyle="",u.ctx.lineWidth=0,u.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(r,t,n){if(n&&r.intrinsicWidth>0&&r.intrinsicHeight>0){var a=wr(r),s=hr(t);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,r.intrinsicWidth,r.intrinsicHeight,a.left,a.top,a.width,a.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(r){return OA(this,void 0,void 0,function(){var t,n,a,s,o,l,b,b,c,g,B,u,S,p,Q,y,C,I,U,b,L,S,y;return kA(this,function(h){switch(h.label){case 0:this.applyEffects(r.getEffects(4)),t=r.container,n=r.curves,a=t.styles,s=0,o=t.textNodes,h.label=1;case 1:return s<o.length?(l=o[s],[4,this.renderTextNode(l,a)]):[3,4];case 2:h.sent(),h.label=3;case 3:return s++,[3,1];case 4:if(!(t instanceof Bi))return[3,8];h.label=5;case 5:return h.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return b=h.sent(),this.renderReplacedElement(t,n,b),[3,8];case 7:return h.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof di&&this.renderReplacedElement(t,n,t.canvas),!(t instanceof fi))return[3,12];h.label=9;case 9:return h.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return b=h.sent(),this.renderReplacedElement(t,n,b),[3,12];case 11:return h.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof Ci&&t.tree?(c=new A(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}),[4,c.render(t.tree)]):[3,14];case 13:g=h.sent(),t.width&&t.height&&this.ctx.drawImage(g,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),h.label=14;case 14:if(t instanceof Gn&&(B=Math.min(t.bounds.width,t.bounds.height),t.type===gr?t.checked&&(this.ctx.save(),this.path([new V(t.bounds.left+B*.39363,t.bounds.top+B*.79),new V(t.bounds.left+B*.16,t.bounds.top+B*.5549),new V(t.bounds.left+B*.27347,t.bounds.top+B*.44071),new V(t.bounds.left+B*.39694,t.bounds.top+B*.5649),new V(t.bounds.left+B*.72983,t.bounds.top+B*.23),new V(t.bounds.left+B*.84,t.bounds.top+B*.34085),new V(t.bounds.left+B*.39363,t.bounds.top+B*.79)]),this.ctx.fillStyle=xA(Ra),this.ctx.fill(),this.ctx.restore()):t.type===ur&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+B/2,t.bounds.top+B/2,B/4,0,Math.PI*2,!0),this.ctx.fillStyle=xA(Ra),this.ctx.fill(),this.ctx.restore())),zd(t)&&t.value.length){switch(u=this.createFontStyle(a),S=u[0],p=u[1],Q=this.fontMetrics.getMetrics(S,p).baseline,this.ctx.font=S,this.ctx.fillStyle=xA(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=$d(t.styles.textAlign),y=wr(t),C=0,t.styles.textAlign){case 1:C+=y.width/2;break;case 2:C+=y.width;break}I=y.add(C,0,0,-y.height/2+1),this.ctx.save(),this.path([new V(y.left,y.top),new V(y.left+y.width,y.top),new V(y.left+y.width,y.top+y.height),new V(y.left,y.top+y.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new lt(t.value,I),a.letterSpacing,Q),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!yA(t.styles.display,2048))return[3,20];if(t.styles.listStyleImage===null)return[3,19];if(U=t.styles.listStyleImage,U.type!==0)return[3,18];b=void 0,L=U.url,h.label=15;case 15:return h.trys.push([15,17,,18]),[4,this.context.cache.match(L)];case 16:return b=h.sent(),this.ctx.drawImage(b,t.bounds.left-(b.width+10),t.bounds.top),[3,18];case 17:return h.sent(),this.context.logger.error("Error loading list-style-image "+L),[3,18];case 18:return[3,20];case 19:r.listValue&&t.styles.listStyleType!==-1&&(S=this.createFontStyle(a)[0],this.ctx.font=S,this.ctx.fillStyle=xA(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",y=new ie(t.bounds.left,t.bounds.top+hA(t.styles.paddingTop,t.bounds.width),t.bounds.width,va(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new lt(r.listValue,y),a.letterSpacing,va(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),h.label=20;case 20:return[2]}})})},A.prototype.renderStackContent=function(r){return OA(this,void 0,void 0,function(){var t,n,U,a,s,U,o,l,U,c,g,U,B,u,U,p,Q,U,C,I,U;return kA(this,function(b){switch(b.label){case 0:if(yA(r.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(r.element)];case 1:b.sent(),t=0,n=r.negativeZIndex,b.label=2;case 2:return t<n.length?(U=n[t],[4,this.renderStack(U)]):[3,5];case 3:b.sent(),b.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(r.element)];case 6:b.sent(),a=0,s=r.nonInlineLevel,b.label=7;case 7:return a<s.length?(U=s[a],[4,this.renderNode(U)]):[3,10];case 8:b.sent(),b.label=9;case 9:return a++,[3,7];case 10:o=0,l=r.nonPositionedFloats,b.label=11;case 11:return o<l.length?(U=l[o],[4,this.renderStack(U)]):[3,14];case 12:b.sent(),b.label=13;case 13:return o++,[3,11];case 14:c=0,g=r.nonPositionedInlineLevel,b.label=15;case 15:return c<g.length?(U=g[c],[4,this.renderStack(U)]):[3,18];case 16:b.sent(),b.label=17;case 17:return c++,[3,15];case 18:B=0,u=r.inlineLevel,b.label=19;case 19:return B<u.length?(U=u[B],[4,this.renderNode(U)]):[3,22];case 20:b.sent(),b.label=21;case 21:return B++,[3,19];case 22:p=0,Q=r.zeroOrAutoZIndexOrTransformedOrOpacity,b.label=23;case 23:return p<Q.length?(U=Q[p],[4,this.renderStack(U)]):[3,26];case 24:b.sent(),b.label=25;case 25:return p++,[3,23];case 26:C=0,I=r.positiveZIndex,b.label=27;case 27:return C<I.length?(U=I[C],[4,this.renderStack(U)]):[3,30];case 28:b.sent(),b.label=29;case 29:return C++,[3,27];case 30:return[2]}})})},A.prototype.mask=function(r){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(r.slice(0).reverse()),this.ctx.closePath()},A.prototype.path=function(r){this.ctx.beginPath(),this.formatPath(r),this.ctx.closePath()},A.prototype.formatPath=function(r){var t=this;r.forEach(function(n,a){var s=PA(n)?n.start:n;a===0?t.ctx.moveTo(s.x,s.y):t.ctx.lineTo(s.x,s.y),PA(n)&&t.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},A.prototype.renderRepeat=function(r,t,n,a){this.path(r),this.ctx.fillStyle=t,this.ctx.translate(n,a),this.ctx.fill(),this.ctx.translate(-n,-a)},A.prototype.resizeImage=function(r,t,n){var a;if(r.width===t&&r.height===n)return r;var s=(a=this.canvas.ownerDocument)!==null&&a!==void 0?a:document,o=s.createElement("canvas");o.width=Math.max(1,t),o.height=Math.max(1,n);var l=o.getContext("2d");return l.drawImage(r,0,0,r.width,r.height,0,0,t,n),o},A.prototype.renderBackgroundImage=function(r){return OA(this,void 0,void 0,function(){var t,n,a,s,o,l;return kA(this,function(c){switch(c.label){case 0:t=r.styles.backgroundImage.length-1,n=function(g){var B,u,p,R,tA,AA,D,z,M,Q,R,tA,AA,D,z,C,I,U,b,L,S,y,h,x,M,k,R,O,Z,D,z,eA,tA,AA,dA,aA,q,lA,sA,H,j,_;return kA(this,function(F){switch(F.label){case 0:if(g.type!==0)return[3,5];B=void 0,u=g.url,F.label=1;case 1:return F.trys.push([1,3,,4]),[4,a.context.cache.match(u)];case 2:return B=F.sent(),[3,4];case 3:return F.sent(),a.context.logger.error("Error loading background-image "+u),[3,4];case 4:return B&&(p=$r(r,t,[B.width,B.height,B.width/B.height]),R=p[0],tA=p[1],AA=p[2],D=p[3],z=p[4],M=a.ctx.createPattern(a.resizeImage(B,D,z),"repeat"),a.renderRepeat(R,M,tA,AA)),[3,6];case 5:Tg(g)?(Q=$r(r,t,[null,null,null]),R=Q[0],tA=Q[1],AA=Q[2],D=Q[3],z=Q[4],C=Sg(g.angle,D,z),I=C[0],U=C[1],b=C[2],L=C[3],S=C[4],y=document.createElement("canvas"),y.width=D,y.height=z,h=y.getContext("2d"),x=h.createLinearGradient(U,L,b,S),Qa(g.stops,I).forEach(function(N){return x.addColorStop(N.stop,xA(N.color))}),h.fillStyle=x,h.fillRect(0,0,D,z),D>0&&z>0&&(M=a.ctx.createPattern(y,"repeat"),a.renderRepeat(R,M,tA,AA))):Dg(g)&&(k=$r(r,t,[null,null,null]),R=k[0],O=k[1],Z=k[2],D=k[3],z=k[4],eA=g.position.length===0?[On]:g.position,tA=hA(eA[0],D),AA=hA(eA[eA.length-1],z),dA=Lg(g,tA,AA,D,z),aA=dA[0],q=dA[1],aA>0&&q>0&&(lA=a.ctx.createRadialGradient(O+tA,Z+AA,0,O+tA,Z+AA,aA),Qa(g.stops,aA*2).forEach(function(N){return lA.addColorStop(N.stop,xA(N.color))}),a.path(R),a.ctx.fillStyle=lA,aA!==q?(sA=r.bounds.left+.5*r.bounds.width,H=r.bounds.top+.5*r.bounds.height,j=q/aA,_=1/j,a.ctx.save(),a.ctx.translate(sA,H),a.ctx.transform(1,0,0,j,0,0),a.ctx.translate(-sA,-H),a.ctx.fillRect(O,_*(Z-H)+H,D,z*_),a.ctx.restore()):a.ctx.fill())),F.label=6;case 6:return t--,[2]}})},a=this,s=0,o=r.styles.backgroundImage.slice(0).reverse(),c.label=1;case 1:return s<o.length?(l=o[s],[5,n(l)]):[3,4];case 2:c.sent(),c.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},A.prototype.renderSolidBorder=function(r,t,n){return OA(this,void 0,void 0,function(){return kA(this,function(a){return this.path(za(n,t)),this.ctx.fillStyle=xA(r),this.ctx.fill(),[2]})})},A.prototype.renderDoubleBorder=function(r,t,n,a){return OA(this,void 0,void 0,function(){var s,o;return kA(this,function(l){switch(l.label){case 0:return t<3?[4,this.renderSolidBorder(r,n,a)]:[3,2];case 1:return l.sent(),[2];case 2:return s=Nd(a,n),this.path(s),this.ctx.fillStyle=xA(r),this.ctx.fill(),o=_d(a,n),this.path(o),this.ctx.fill(),[2]}})})},A.prototype.renderNodeBackgroundAndBorders=function(r){return OA(this,void 0,void 0,function(){var t,n,a,s,o,l,c,g,B=this;return kA(this,function(u){switch(u.label){case 0:return this.applyEffects(r.getEffects(2)),t=r.container.styles,n=!we(t.backgroundColor)||t.backgroundImage.length,a=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],s=qd(Ke(t.backgroundClip,0),r.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),we(t.backgroundColor)||(this.ctx.fillStyle=xA(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(r.container)]):[3,2];case 1:u.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach(function(p){B.ctx.save();var Q=fr(r.curves),C=p.inset?0:Yd,I=Od(Q,-C+(p.inset?1:-1)*p.spread.number,(p.inset?1:-1)*p.spread.number,p.spread.number*(p.inset?-2:2),p.spread.number*(p.inset?-2:2));p.inset?(B.path(Q),B.ctx.clip(),B.mask(I)):(B.mask(Q),B.ctx.clip(),B.path(I)),B.ctx.shadowOffsetX=p.offsetX.number+C,B.ctx.shadowOffsetY=p.offsetY.number,B.ctx.shadowColor=xA(p.color),B.ctx.shadowBlur=p.blur.number,B.ctx.fillStyle=p.inset?xA(p.color):"rgba(0,0,0,1)",B.ctx.fill(),B.ctx.restore()}),u.label=2;case 2:o=0,l=0,c=a,u.label=3;case 3:return l<c.length?(g=c[l],g.style!==0&&!we(g.color)&&g.width>0?g.style!==2?[3,5]:[4,this.renderDashedDottedBorder(g.color,g.width,o,r.curves,2)]:[3,11]):[3,13];case 4:return u.sent(),[3,11];case 5:return g.style!==3?[3,7]:[4,this.renderDashedDottedBorder(g.color,g.width,o,r.curves,3)];case 6:return u.sent(),[3,11];case 7:return g.style!==4?[3,9]:[4,this.renderDoubleBorder(g.color,g.width,o,r.curves)];case 8:return u.sent(),[3,11];case 9:return[4,this.renderSolidBorder(g.color,o,r.curves)];case 10:u.sent(),u.label=11;case 11:o++,u.label=12;case 12:return l++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(r,t,n,a,s){return OA(this,void 0,void 0,function(){var o,l,c,g,B,u,p,Q,C,I,U,b,L,S,y,h,y,h;return kA(this,function(x){return this.ctx.save(),o=Gd(a,n),l=za(a,n),s===2&&(this.path(l),this.ctx.clip()),PA(l[0])?(c=l[0].start.x,g=l[0].start.y):(c=l[0].x,g=l[0].y),PA(l[1])?(B=l[1].end.x,u=l[1].end.y):(B=l[1].x,u=l[1].y),n===0||n===2?p=Math.abs(c-B):p=Math.abs(g-u),this.ctx.beginPath(),s===3?this.formatPath(o):this.formatPath(l.slice(0,2)),Q=t<3?t*3:t*2,C=t<3?t*2:t,s===3&&(Q=t,C=t),I=!0,p<=Q*2?I=!1:p<=Q*2+C?(U=p/(2*Q+C),Q*=U,C*=U):(b=Math.floor((p+C)/(Q+C)),L=(p-b*Q)/(b-1),S=(p-(b+1)*Q)/b,C=S<=0||Math.abs(C-L)<Math.abs(C-S)?L:S),I&&(s===3?this.ctx.setLineDash([0,Q+C]):this.ctx.setLineDash([Q,C])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=t*2+1.1,this.ctx.strokeStyle=xA(r),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(PA(l[0])&&(y=l[3],h=l[0],this.ctx.beginPath(),this.formatPath([new V(y.end.x,y.end.y),new V(h.start.x,h.start.y)]),this.ctx.stroke()),PA(l[1])&&(y=l[1],h=l[2],this.ctx.beginPath(),this.formatPath([new V(y.end.x,y.end.y),new V(h.start.x,h.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},A.prototype.render=function(r){return OA(this,void 0,void 0,function(){var t;return kA(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=xA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=Rd(r),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},A})(Ki),zd=function(e){return e instanceof pi||e instanceof wi?!0:e instanceof Gn&&e.type!==ur&&e.type!==gr},qd=function(e,A){switch(e){case 0:return fr(A);case 2:return kd(A);default:return hr(A)}},$d=function(e){switch(e){case 1:return"center";case 2:return"right";default:return"left"}},Af=["-apple-system","system-ui"],ef=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(A){return Af.indexOf(A)===-1}):e},tf=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=t,n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+t.width+"x"+t.height+" at "+t.x+","+t.y+") with scale "+t.scale),n}return A.prototype.render=function(r){return OA(this,void 0,void 0,function(){var t,n;return kA(this,function(a){switch(a.label){case 0:return t=yn(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,r),[4,rf(t)];case 1:return n=a.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=xA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},A})(Ki),rf=function(e){return new Promise(function(A,r){var t=new Image;t.onload=function(){A(t)},t.onerror=r,t.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},nf=(function(){function e(A){var r=A.id,t=A.enabled;this.id=r,this.enabled=t,this.start=Date.now()}return e.prototype.debug=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,yt([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,yt([this.id,this.getTime()+"ms"],A))},e.prototype.warn=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,yt([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.prototype.error=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,yt([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.instances={},e})(),af=(function(){function e(A,r){var t;this.windowBounds=r,this.instanceName="#"+e.instanceCount++,this.logger=new nf({id:this.instanceName,enabled:A.logging}),this.cache=(t=A.cache)!==null&&t!==void 0?t:new bd(this,A)}return e.instanceCount=1,e})(),sf=function(e,A){return A===void 0&&(A={}),of(e,A)};typeof window<"u"&&Ii.setContext(window);var of=function(e,A){return OA(void 0,void 0,void 0,function(){var r,t,n,a,s,o,l,c,g,B,u,p,Q,C,I,U,b,L,S,y,x,h,x,M,k,R,O,Z,D,z,eA,tA,AA,dA,aA,q,lA,sA,H,j;return kA(this,function(_){switch(_.label){case 0:if(!e||typeof e!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(r=e.ownerDocument,!r)throw new Error("Element is not attached to a Document");if(t=r.defaultView,!t)throw new Error("Document is not attached to a Window");return n={allowTaint:(M=A.allowTaint)!==null&&M!==void 0?M:!1,imageTimeout:(k=A.imageTimeout)!==null&&k!==void 0?k:15e3,proxy:A.proxy,useCORS:(R=A.useCORS)!==null&&R!==void 0?R:!1},a=un({logging:(O=A.logging)!==null&&O!==void 0?O:!0,cache:A.cache},n),s={windowWidth:(Z=A.windowWidth)!==null&&Z!==void 0?Z:t.innerWidth,windowHeight:(D=A.windowHeight)!==null&&D!==void 0?D:t.innerHeight,scrollX:(z=A.scrollX)!==null&&z!==void 0?z:t.pageXOffset,scrollY:(eA=A.scrollY)!==null&&eA!==void 0?eA:t.pageYOffset},o=new ie(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),l=new af(a,o),c=(tA=A.foreignObjectRendering)!==null&&tA!==void 0?tA:!1,g={allowTaint:(AA=A.allowTaint)!==null&&AA!==void 0?AA:!1,onclone:A.onclone,ignoreElements:A.ignoreElements,inlineImages:c,copyStyles:c},l.logger.debug("Starting document clone with size "+o.width+"x"+o.height+" scrolled to "+-o.left+","+-o.top),B=new Wa(l,e,g),u=B.clonedReferenceElement,u?[4,B.toIFrame(r,o)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return p=_.sent(),Q=jn(u)||od(u)?Ol(u.ownerDocument):Qr(l,u),C=Q.width,I=Q.height,U=Q.left,b=Q.top,L=lf(l,u,A.backgroundColor),S={canvas:A.canvas,backgroundColor:L,scale:(aA=(dA=A.scale)!==null&&dA!==void 0?dA:t.devicePixelRatio)!==null&&aA!==void 0?aA:1,x:((q=A.x)!==null&&q!==void 0?q:0)+U,y:((lA=A.y)!==null&&lA!==void 0?lA:0)+b,width:(sA=A.width)!==null&&sA!==void 0?sA:Math.ceil(C),height:(H=A.height)!==null&&H!==void 0?H:Math.ceil(I)},c?(l.logger.debug("Document cloned, using foreign object rendering"),x=new tf(l,S),[4,x.render(u)]):[3,3];case 2:return y=_.sent(),[3,5];case 3:return l.logger.debug("Document cloned, element located at "+U+","+b+" with size "+C+"x"+I+" using computed rendering"),l.logger.debug("Starting DOM parsing"),h=mi(l,u),L===h.styles.backgroundColor&&(h.styles.backgroundColor=se.TRANSPARENT),l.logger.debug("Starting renderer for element at "+S.x+","+S.y+" with size "+S.width+"x"+S.height),x=new Zd(l,S),[4,x.render(h)];case 4:y=_.sent(),_.label=5;case 5:return(!((j=A.removeContainer)!==null&&j!==void 0)||j)&&(Wa.destroy(p)||l.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),l.logger.debug("Finished rendering"),[2,y]}})})},lf=function(e,A,r){var t=A.ownerDocument,n=t.documentElement?it(e,getComputedStyle(t.documentElement).backgroundColor):se.TRANSPARENT,a=t.body?it(e,getComputedStyle(t.body).backgroundColor):se.TRANSPARENT,s=typeof r=="string"?it(e,r):r===null?se.TRANSPARENT:4294967295;return A===t.documentElement?we(n)?we(a)?s:a:n:s},An={body:{background:"rgb(32, 32, 32)"},rbgcpInputLabel:{color:"rgb(212, 212, 212)"},rbgcpControlBtnWrapper:{background:"rgb(54, 54, 54)"},rbgcpInput:{border:"none",color:"white",background:"rgb(54, 54, 54)"},rbgcpControlBtn:{color:"rgb(212, 212, 212)"},rbgcpControlIcon:{stroke:"rgb(212, 212, 212)"},rbgcpControlIcon2:{fill:"rgb(212, 212, 212)"},rbgcpControlInput:{color:"white"},rbgcpControlBtnSelected:{background:"black",color:"#568cf5"},rbgcpDegreeIcon:{color:"rgb(212, 212, 212)"},rbgcpColorModelDropdown:{background:"rgb(32, 32, 32)"},rbgcpComparibleLabel:{color:"rgb(212, 212, 212)"}},IA=function(){return IA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},IA.apply(this,arguments)},cf={body:{boxSizing:"border-box",background:"rgb(255, 255, 255)"},rbgcpControlBtn:{paddingLeft:"8px",paddingRight:"8px",lineHeight:"1",borderRadius:"4px",fontWeight:700,fontSize:"12px",height:"24px",transition:"all 160ms ease",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(255, 255, 255, 0)",boxShadow:"1px 1px 3px rgba(0, 0, 0, 0)",color:"rgb(86, 86, 86)"},rbgcpControlIcon:{stroke:"rgb(50, 49, 54)"},rbgcpControlIconBtn:{width:"30px",height:"24px",borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},rbgcpControlBtnWrapper:{height:"28px",background:"#e9e9f5",borderRadius:"6px",padding:"2px",display:"flex",justifyContent:"center",alignItems:"center",position:"relative"},rbgcpColorModelDropdown:{position:"absolute",right:"-2px",top:"34px",padding:"5px",background:"#e9e9f5",zIndex:1e8,borderRadius:"6px",boxShadow:"1px 1px 14px 1px rgba(0, 0, 0, 0.25)"},rbgcpEyedropperCover:{position:"fixed",left:"0px",top:"0px",zIndex:1e8,width:"100vw",height:"100vh",cursor:"copy"},rbgcpControlInput:{height:"24px",borderRadius:"4px",border:"none",outline:"none",textAlign:"center",width:"34px",fontWeight:500,color:"rgb(50, 49, 54)",fontSize:"13px",background:"transparent"},rbgcpInputLabel:{textAlign:"center",lineHeight:"1.2",fontWeight:700,color:"rgb(86, 86, 86)",fontSize:"11px"},rbgcpInput:{height:"32px",borderRadius:"6px",border:"1px solid #bebebe",width:"100%",padding:"2px",outline:"none",color:"black",fontWeight:400,textAlign:"center",background:"transparent",fontSize:"15px"},rbgcpHandle:{position:"absolute",border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0, 0, 0, 0.5)",width:"18px",height:"18px",zIndex:1e3,transition:"all 30ms linear",boxSizing:"border-box",willChange:"transform",outline:"none"},rbgcpCanvasWrapper:{borderRadius:"6px",overflow:"hidden",height:"294px"},rbgcpCheckered:{background:`linear-gradient(+ 45deg,+ rgba(0, 0, 0, 0.18) 25%,+ transparent 25%,+ transparent 75%,+ rgba(0, 0, 0, 0.18) 75%,+ rgba(0, 0, 0, 0.18) 0+ ),+ linear-gradient(+ 45deg,+ rgba(0, 0, 0, 0.18) 25%,+ transparent 25%,+ transparent 75%,+ rgba(0, 0, 0, 0.18) 75%,+ rgba(0, 0, 0, 0.18) 0+ ),+ white`,backgroundRepeat:"repeat, repeat",backgroundPosition:"0px 0, 7px 7px",transformOrigin:"0 0 0",backgroundOrigin:"padding-box, padding-box",backgroundClip:"border-box, border-box",backgroundSize:"14px 14px, 14px 14px",boxShadow:"none",textShadow:"none",transition:"none",transform:"scaleX(1) scaleY(1) scaleZ(1)",borderRadius:"10px"},rbgcpOpacityOverlay:{position:"absolute",left:"0px",top:"0px",width:"100%",height:"100%",borderRadius:"10px"},rbgcpGradientHandleWrap:{position:"absolute",zIndex:1e4,top:"-2px",outline:"none"},rbgcpGradientHandle:{border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0, 0, 0, 0.5)",width:"18px",height:"18px",display:"flex",alignItems:"center",justifyContent:"center"},rbgcpControlIcon2:{fill:"#323136"},rbgcpControlBtnSelected:{background:"white",color:"#568cf5",boxShadow:"1px 1px 3px rgba(0, 0, 0, 0.2)"},rbgcpComparibleLabel:{color:"#323136"}},gf=function(e,A){var r=IA({},cf);if(e)for(var t in An)Object.prototype.hasOwnProperty.call(An,t)&&(r[t]=IA(IA({},Object.prototype.hasOwnProperty.call(r,t)?r[t]:{}),An[t]));for(var t in A)Object.prototype.hasOwnProperty.call(A,t)&&(r[t]=IA(IA({},Object.prototype.hasOwnProperty.call(r,t)?r[t]:{}),A[t]));return r},$a=function(e,A){return e?IA(IA({},A.rbgcpControlBtn),A.rbgcpControlBtnSelected):IA({},A.rbgcpControlBtn)},gt=function(e,A){return e?IA(IA({},A.rbgcpControlIconBtn),A.rbgcpControlBtnSelected):IA({},A.rbgcpControlIconBtn)},Zt=function(e,A){return e?IA(IA(IA({},A.rbgcpControlBtn),A.rbgcpColorModelDropdownBtn),A.rbgcpControlBtnSelected):IA(IA({},A.rbgcpControlBtn),A.rbgcpColorModelDropdownBtn)},$A=function(){return $A=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},$A.apply(this,arguments)},uf=function(e){var A=e.color,r=BA().defaultStyles,t=A??"";return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:16}},m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:$A($A({fill:"none",strokeWidth:"1.4px"},r.rbgcpControlIcon),t&&{stroke:t}),d:"M15.6,7h0L7.78,14.86c-.37.37-1.61.38-2,.75s-.5,1.53-.76,2a3.53,3.53,0,0,1-.52.52,1.6,1.6,0,0,1-2.27-.06l-.32-.32a1.61,1.61,0,0,1-.06-2.27A3.25,3.25,0,0,1,2.4,15c.47-.26,1.65-.35,2-.73s.34-1.64.71-2c1.68-1.73,5.61-5.65,7.91-7.93h0l1.14,1.38L15.6,7Z"}),m.createElement("polygon",{strokeLinecap:"round",strokeLinejoin:"round",style:$A($A({strokeWidth:"1.4px"},r.rbgcpControlIcon2),t&&{stroke:t,fill:t}),points:"15.7 8.87 11.13 4.29 12.69 2.73 17.25 7.31 15.7 8.87"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:$A($A({strokeWidth:"1.4px"},r.rbgcpControlIcon2),t&&{stroke:t,fill:t}),d:"M18.18,3.71,16.36,5.53a1.33,1.33,0,0,1-1.88,0h0a1.34,1.34,0,0,1,0-1.89l1.81-1.82a1.34,1.34,0,0,1,1.89,0h0A1.34,1.34,0,0,1,18.18,3.71Z"}))},Bf=function(e){var A=e.onSelect,r=BA().defaultStyles,t=E.useState(null),n=t[0],a=t[1],s=E.useState(!1),o=s[0],l=s[1],c=E.useState(!1),g=c[0],B=c[1],u=function(){var C=document.getElementById("root");l(!0),sf(C).then(function(I){var U=document.createElement("canvas"),b=U.getContext("2d",{willReadFrequently:!0});C&&b&&(U.width=C.offsetWidth*2,U.height=C.offsetHeight*2,b.drawImage(I,0,0)),a(b)})},p=function(C){if(C.stopPropagation(),n){var I=C.pageX,U=C.pageY,b=I*2,L=U*2,S=n.getImageData(b,L,1,1).data;A("rgba(".concat(S[0],", ").concat(S[1],", ").concat(S[2],", 1)"))}B(!1),l(!1)},Q=function(){if(B(!0),!window.EyeDropper)u();else{var C=new window.EyeDropper,I=new window.AbortController;C.open({signal:I.signal}).then(function(U){var b=SA(U.sRGBHex),L=b.toRgb(),S=L.r,y=L.g,h=L.b;A("rgba(".concat(S,", ").concat(y,", ").concat(h,", 1)")),B(!1)}).catch(function(U){console.log(U),B(!1)})}};return m.createElement("div",null,m.createElement("div",{onClick:Q,id:"rbgcp-eyedropper-btn",style:$A($A({},r.rbgcpEyedropperBtn),gt(o,r))},m.createElement(uf,{color:g?"rgb(86, 140, 245)":""})),o&&m.createElement(Dl,null,m.createElement("div",{onClick:function(C){return p(C)},style:r.rbgcpEyedropperCover})))},Mn=function(){return Mn=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Mn.apply(this,arguments)},en=function(e){var A=e.value,r=e.reffy,t=e.label,n=e.config,a=e.callback,s=e.squareWidth,o=e.openAdvanced,l=e.defaultStyles,c=e.pickerIdSuffix,g=n.barSize,B=E.useState(!1),u=B[0],p=B[1],Q=E.useState(2),C=Q[0],I=Q[1],U=A*(s-18);E.useEffect(function(){var h;I(((h=r?.current)===null||h===void 0?void 0:h.offsetTop)-2)},[o,r]);var b=function(){p(!1)},L=function(h){u&&a(Ne(h,g))},S=function(h){u||a(Ne(h,g))},y=function(){p(!0)};return E.useEffect(function(){var h=function(){b()};return window.addEventListener("mouseup",h),function(){window.removeEventListener("mouseup",h)}},[]),m.createElement("div",{style:{width:"100%",padding:"3px 0px 3px 0px"}},m.createElement("div",{onMouseMove:function(h){return L(h)},style:{cursor:"resize",position:"relative"},id:"rbgcp-advanced-bar-".concat(t,"-wrapper").concat(c)},m.createElement("div",{style:Mn({left:U,top:C},l.rbgcpHandle),id:"rbgcp-advanced-bar-".concat(t,"-handle").concat(c),onMouseDown:y,role:"button",tabIndex:0}),m.createElement("div",{style:{textAlign:"center",color:"#fff",fontSize:12,fontWeight:500,lineHeight:1,position:"absolute",left:"50%",transform:"translate(-50%, 0%)",top:C+2,zIndex:10,textShadow:"1px 1px 1px rgba(0,0,0,.6)"},id:"rbgcp-advanced-bar-".concat(t,"-label").concat(c),onMouseMove:function(h){return L(h)},onClick:function(h){return S(h)},tabIndex:0,role:"button",onKeyDown:function(){}},t),m.createElement("canvas",{ref:r,height:"14px",width:"".concat(s,"px"),onClick:function(h){return S(h)},style:{position:"relative",borderRadius:14},id:"rbgcp-advanced-bar-".concat(t,"-canvas").concat(c)})))},df=function(e){var A=e.openAdvanced,r=BA(),t=r.config,n=r.tinyColor,a=r.handleChange,s=r.squareWidth,o=r.hc,l=r.defaultStyles,c=r.pickerIdSuffix,g=n.toHsl(),B=g.s,u=g.l,p=E.useRef(null),Q=E.useRef(null),C=E.useRef(null);sl(p,o?.h,u*100,s),il(Q,o?.h,B*100,s),ol(C,o?.h,B*100,s);var I=function(L){var S=SA({h:o?.h,s:L/100,l:u}).toRgb(),y=S.r,h=S.g,x=S.b;a("rgba(".concat(y,",").concat(h,",").concat(x,",").concat(o?.a,")"))},U=function(L){var S=SA({h:o?.h,s:B,l:L/100}).toRgb(),y=S.r,h=S.g,x=S.b;a("rgba(".concat(y,",").concat(h,",").concat(x,",").concat(o?.a,")"))},b=function(L){var S=SA({h:o?.h,s:o?.s*100,v:L}).toRgb(),y=S.r,h=S.g,x=S.b;a("rgba(".concat(y,",").concat(h,",").concat(x,",").concat(o?.a,")"))};return m.createElement("div",{style:{width:"100%",height:A?98:0,transition:"all 120ms linear"},id:"rbgcp-advanced-controls-wrapper".concat(c)},m.createElement("div",{style:{paddingTop:11,display:A?"flex":"none",flexDirection:"column",justifyContent:"space-between",height:A?98:0,overflow:"hidden",transition:"height 100ms linear"},id:"rbgcp-advanced-controls-inner".concat(c)},m.createElement(en,{value:B,reffy:p,config:t,label:"Saturation",callback:I,squareWidth:s,openAdvanced:A,defaultStyles:l,pickerIdSuffix:c}),m.createElement(en,{value:u,config:t,reffy:Q,label:"Lightness",callback:U,squareWidth:s,openAdvanced:A,defaultStyles:l,pickerIdSuffix:c}),m.createElement(en,{value:o?.v,config:t,reffy:C,label:"Brightness",callback:b,squareWidth:s,openAdvanced:A,defaultStyles:l,pickerIdSuffix:c})))},Fe=function(){return Fe=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Fe.apply(this,arguments)},ff=function(e){var A=e.openComparibles,r=BA(),t=r.tinyColor,n=r.handleChange,a=r.defaultStyles,s=r.pickerIdSuffix,o=t.analogous(),l=t.monochromatic(),c=t.triad(),g=t.tetrad(),B=function(u){var p=u.toRgb(),Q=p.r,C=p.g,I=p.b,U=p.a;n("rgba(".concat(Q,",").concat(C,",").concat(I,",").concat(U,")"))};return m.createElement("div",{style:{width:"100%",transition:"all 120ms linear",height:A?216:0},id:"rbgcp-comparible-colors-wrapper".concat(s)},m.createElement("div",{style:{paddingTop:11,display:A?"":"none",position:"relative"},id:"rbgcp-comparible-colors-inner".concat(s)},m.createElement("div",{style:Fe({textAlign:"center",fontSize:13,fontWeight:600,position:"absolute",top:6.5,left:2},a.rbgcpComparibleLabel),id:"rbgcp-comparible-color-guide-label".concat(s)},"Color Guide"),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-analogous-colors-label".concat(s)},"Analogous"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex"},id:"rbgcp-comparible-analogous-colors".concat(s)},o?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-analogous-color-".concat(p).concat(s),style:{width:"20%",height:30,background:u.toHexString()},onClick:function(){return B(u)}})})),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-monochromatic-colors-label".concat(s)},"Monochromatic"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex",justifyContent:"flex-end"},id:"rbgcp-comparible-monochromatic-colors".concat(s)},l?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-monochromatic-color-".concat(p).concat(s),style:{width:"20%",height:30,background:u.toHexString()},onClick:function(){return B(u)}})})),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-triad-colors-label".concat(s)},"Triad"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex",justifyContent:"flex-end"},id:"rbgcp-comparible-triad-colors".concat(s)},c?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-triad-color-".concat(p).concat(s),style:{width:"calc(100% / 3)",height:28,background:u.toHexString()},onClick:function(){return B(u)}})})),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-tetrad-colors-label".concat(s)},"Tetrad"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex",justifyContent:"flex-end"},id:"rbgcp-comparible-tetrad-colors".concat(s)},g?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-tetrad-color-".concat(p).concat(s),style:{width:"25%",height:28,background:u.toHexString()},onClick:function(){return B(u)}})}))))},pA=function(){return pA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},pA.apply(this,arguments)},hf=function(){var e=BA(),A=e.gradientType,r=e.onChange,t=e.value,n=e.defaultStyles,a=e.pickerIdSuffix,s=A==="linear-gradient",o=A==="radial-gradient",l=function(){var g=t.split(/,(.+)/)[1];r("linear-gradient(90deg, ".concat(g))},c=function(){var g=t.split(/,(.+)/)[1];r("radial-gradient(circle, ".concat(g))};return m.createElement("div",{style:n.rbgcpControlBtnWrapper},m.createElement("div",{onClick:l,id:"rbgcp-linear-btn".concat(a),style:pA(pA({},n.rbgcpControlBtn),s&&n.rbgcpControlBtnSelected),tabIndex:0,role:"button",onKeyDown:function(){}},m.createElement(Il,{color:s?"#568CF5":""})),m.createElement("div",{onClick:c,id:"rbgcp-radial-btn".concat(a),style:pA(pA({},n.rbgcpControlBtn),o&&n.rbgcpControlBtnSelected),tabIndex:0,role:"button",onKeyDown:function(){}},m.createElement(Hl,{color:o?"#568CF5":""})))},wf=function(){var e=BA(),A=e.currentLeft,r=e.currentColor,t=e.defaultStyles,n=e.handleGradient,a=e.pickerIdSuffix,s=function(o){n(r,Re(parseInt(o),0,100))};return m.createElement("div",{style:pA(pA(pA(pA({},t.rbgcpControlBtnWrapper),t.rbgcpControlInputWrap),t.rbgcpStopInputWrap),{paddingLeft:8}),id:"rbgcp-stop-input-wrapper".concat(a)},m.createElement(Kl,null),m.createElement("input",{value:A,id:"rbgcp-stop-input".concat(a),onChange:function(o){return s(o.target.value)},style:pA(pA({},t.rbgcpControlInput),t.rbgcpStopInput)}))},pf=function(){var e=BA(),A=e.degrees,r=e.onChange,t=e.value,n=e.defaultStyles,a=e.pickerIdSuffix,s=function(o){var l=Re(o.target.value,0,360),c=t.split(/,(.+)/)[1];r("linear-gradient(".concat(l??0,"deg, ").concat(c))};return m.createElement("div",{style:pA(pA(pA({},n.rbgcpControlBtnWrapper),n.rbgcpControlInputWrap),n.rbgcpDegreeInputWrap),id:"rbgcp-degree-input-wrapper".concat(a)},m.createElement(Ml,null),m.createElement("input",{value:A,onChange:function(o){return s(o)},id:"rbgcp-degree-input".concat(a),style:pA(pA({},n.rbgcpControlInput),n.rbgcpDegreeInput)}),m.createElement("div",{style:pA(pA({},n.rbgcpDegreeIcon),{position:"absolute",right:A>99?0:A<10?7:3,top:1,fontWeight:400,fontSize:13})},"°"))},Cf=function(){var e=BA(),A=e.colors,r=e.selectedColor,t=e.createGradientStr,n=e.defaultStyles,a=e.pickerIdSuffix,s=function(){if(A?.length>2){var o=A?.map(function(c,g){return pA(pA({},c),{value:g===r-1?Cr(c):mt(c)})}),l=o?.filter(function(c,g){return g!==r});t(l)}};return m.createElement("div",{onClick:s,style:pA(pA({},gt(!1,n)),{width:28}),id:"rbgcp-point-delete-btn".concat(a),tabIndex:0,role:"button",onKeyDown:function(){}},m.createElement(xl,null))},As=function(e){var A=e.hideGradientType,r=e.hideGradientAngle,t=e.hideGradientStop,n=BA(),a=n.gradientType,s=n.defaultStyles,o=n.pickerIdSuffix;return m.createElement("div",{style:pA(pA({},s.rbgcpControlBtnWrapper),{marginTop:12,marginBottom:-4,justifyContent:"space-between",paddingLeft:A?4:0}),id:"rbgcp-gradient-controls-wrap".concat(o)},!A&&m.createElement(hf,null),m.createElement("div",{style:{width:53}},!r&&a==="linear-gradient"&&m.createElement(pf,null)),!t&&m.createElement(wf,null),m.createElement(Cf,null))},pt=function(){return pt=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},pt.apply(this,arguments)},Qf=function(e){var A,r,t=e.hideColorTypeBtns,n=e.setGradient,a=e.isGradient,s=e.setSolid,o=e.locales,l=BA(),c=l.defaultStyles,g=l.pickerIdSuffix;return t?m.createElement("div",{style:{width:1}}):m.createElement("div",{style:pt({display:"flex",alignItems:"center"},c.rbgcpControlBtnWrapper),id:"rbgcp-color-type-btns".concat(g)},m.createElement("div",{onClick:s,id:"rbgcp-solid-btn".concat(g),style:$a(!a,c)},(A=o?.CONTROLS)===null||A===void 0?void 0:A.SOLID),m.createElement("div",{onClick:n,id:"rbgcp-gradient-btn".concat(g),style:$a(a??!1,c)},(r=o?.CONTROLS)===null||r===void 0?void 0:r.GRADIENT))},mf=function(e){var A=e.openInputType,r=e.setOpenInputType,t=BA(),n=t.inputType,a=t.setInputType,s=t.defaultStyles,o=t.pickerIdSuffix,l=A?"visibility 0ms linear":"visibility 100ms linear 150ms",c=A?"z-index 0ms linear":"z-index 100ms linear 150ms",g=A?"opacity 120ms linear":"opacity 150ms linear 50ms",B=function(u,p){A&&(u.stopPropagation(),a(p),r(!1))};return m.createElement("div",{style:pt({visibility:A?"visible":"hidden",zIndex:A?"":-100,opacity:A?1:0,transition:"".concat(g,", ").concat(l,", ").concat(c)},s.rbgcpColorModelDropdown),id:"rbgcp-color-model-dropdown".concat(o)},m.createElement("div",{id:"rbgcp-color-model-rgb-btn".concat(o),onClick:function(u){return B(u,"rgb")},style:Zt(n==="rgb",s)},"RGB"),m.createElement("div",{id:"rbgcp-color-model-hsl-btn".concat(o),onClick:function(u){return B(u,"hsl")},style:Zt(n==="hsl",s)},"HSL"),m.createElement("div",{id:"rbgcp-color-model-hsv-btn".concat(o),onClick:function(u){return B(u,"hsv")},style:Zt(n==="hsv",s)},"HSV"),m.createElement("div",{id:"rbgcp-color-model-cmyk-btn".concat(o),onClick:function(u){return B(u,"cmyk")},style:Zt(n==="cmyk",s)},"CMYK"))},vf=function(e){var A,r,t=e.locales,n=e.hideEyeDrop,a=n===void 0?!1:n,s=e.hideAdvancedSliders,o=s===void 0?!1:s,l=e.hideColorGuide,c=l===void 0?!1:l,g=e.hideInputType,B=g===void 0?!1:g,u=e.hideColorTypeBtns,p=u===void 0?!1:u,Q=e.hideGradientControls,C=Q===void 0?!1:Q,I=e.hideGradientType,U=I===void 0?!1:I,b=e.hideGradientAngle,L=b===void 0?!1:b,S=e.hideGradientStop,y=S===void 0?!1:S,h=BA(),x=h.config,M=h.onChange,k=h.isGradient,R=h.handleChange,O=h.previous,Z=h.defaultStyles,D=h.pickerIdSuffix,z=x.defaultColor,eA=x.defaultGradient,tA=E.useState(!1),AA=tA[0],dA=tA[1],aA=E.useState(!1),q=aA[0],lA=aA[1],sA=E.useState(!1),H=sA[0],j=sA[1],_=a&&o&&c&&B,F=(A=O?.color)!==null&&A!==void 0?A:z,N=(r=O?.gradient)!==null&&r!==void 0?r:eA,T=function(){M(F)},G=function(){M(N)},J=a&&o&&c&&B,$=J&&p;return $?k&&!C?m.createElement(As,{hideGradientType:U,hideGradientAngle:L,hideGradientStop:y}):null:m.createElement("div",{style:{paddingBottom:4}},m.createElement("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},id:"rbgcp-controls-wrapper".concat(D)},m.createElement(Qf,{hideColorTypeBtns:p,setGradient:G,isGradient:k,setSolid:T,locales:t}),!J&&m.createElement("div",{style:pt({display:_?"none":""},Z.rbgcpControlBtnWrapper),id:"rbgcp-control-rightside-wrapper".concat(D)},!a&&m.createElement(Bf,{onSelect:R}),!o&&m.createElement("div",{id:"rbgcp-advanced-btn".concat(D),onClick:function(){return j(!H)},style:gt(H,Z)},m.createElement(Sl,{color:H?"#568CF5":""})),!c&&m.createElement("div",{style:gt(AA,Z),onClick:function(){return dA(!AA)},id:"rbgcp-comparibles-btn".concat(D)},m.createElement(kl,{color:AA?"#568CF5":""})),!B&&m.createElement("div",{id:"rbgcp-color-model-btn".concat(D),onClick:function(){return lA(!q)},style:gt(q,Z)},m.createElement(Ll,{color:q?"#568CF5":""}),m.createElement(mf,{openInputType:q,setOpenInputType:lA})))),!o&&m.createElement(df,{openAdvanced:H}),!c&&m.createElement(ff,{openComparibles:AA}),k&&!C&&m.createElement(As,{hideGradientType:U,hideGradientAngle:L,hideGradientStop:y}))},Ae=function(){return Ae=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Ae.apply(this,arguments)},es=function(e,A,r){if(r||arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||Array.prototype.slice.call(A))},Uf=function(e){var A=e.left,r=e.i,t=e.setDragging,n=BA(),a=n.colors,s=n.squareWidth,o=n.selectedColor,l=n.defaultStyles,c=n.pickerIdSuffix,g=n.createGradientStr,B=o===r,u=(s-18)/100,p=function(C){var I=a?.map(function(U,b){return Ae(Ae({},U),{value:b===C?Cr(U):mt(U)})});g(I)},Q=function(C){C.stopPropagation(),p(r),t(!0)};return m.createElement("div",{onMouseDown:function(C){return Q(C)},id:"rbgcp-gradient-handle-".concat(r).concat(c),style:Ae(Ae({},l.rbgcpGradientHandleWrap),{left:(A??0)*u})},m.createElement("div",{style:Ae(Ae({},l.rbgcpGradientHandle),B?{boxShadow:"0px 0px 5px 1px rgba(86, 140, 245,.95)",border:"2px solid white"}:{}),id:"rbgcp-gradient-handle-".concat(r,"-dot").concat(c)},B&&m.createElement("div",{style:{width:5,height:5,borderRadius:"50%",background:"white"},id:"rbgcp-gradient-handle-".concat(r,"-selected-dot").concat(c)})))},Ff=function(){var e=BA(),A=e.value,r=e.colors,t=e.config,n=e.squareWidth,a=e.currentColor,s=e.handleGradient,o=e.pickerIdSuffix,l=e.createGradientStr,c=t.barSize,g=E.useState(!1),B=g[0],u=g[1];function p(L){return L.replace(/(radial|linear)-gradient\([^,]+,/,"linear-gradient(90deg,")}var Q=function(L){var S,y=Ne(L,c),h=(S=es(es([],r.map(function(x){return Ae(Ae({},x),{value:mt(x)})}),!0),[{value:a,left:y}],!1))===null||S===void 0?void 0:S.sort(function(x,M){return x.left-M.left});l(h)},C=function(){u(!1)},I=function(L){B||(Q(L),u(!0))},U=function(L){B&&s(a,Ne(L,c))},b=function(){C()};return E.useEffect(function(){return window.addEventListener("mouseup",b),function(){window.removeEventListener("mouseup",b)}}),m.createElement("div",{style:{width:"100%",marginTop:17,marginBottom:4,position:"relative"},id:"rbgcp-gradient-bar".concat(o)},m.createElement("div",{style:{height:14,borderRadius:10,width:n,backgroundImage:p(A)},onMouseDown:function(L){return I(L)},onMouseMove:function(L){return U(L)},id:"rbgcp-gradient-bar-canvas".concat(o)}),r?.map(function(L,S){return m.createElement(Uf,{i:S,left:L.left,key:"".concat(S,"-").concat(L),setDragging:u})}))},bf=function(e){var A=e.locales,r=e.presets,t=e.hideHue,n=e.hideInputs,a=e.hidePresets,s=e.hideOpacity,o=e.hideEyeDrop,l=e.hideControls,c=e.hideInputType,g=e.hideColorGuide,B=e.hidePickerSquare,u=e.hideGradientType,p=e.hideGradientStop,Q=e.hideGradientAngle,C=e.hideColorTypeBtns,I=e.hideAdvancedSliders,U=e.hideGradientControls,b=BA(),L=b.isGradient,S=b.pickerIdSuffix;return m.createElement("div",{style:{userSelect:"none"},id:"rbgcp-color-picker".concat(S)},!B&&m.createElement(Ul,null),!l&&m.createElement(vf,{locales:A,hideEyeDrop:o,hideInputType:c,hideColorGuide:g,hideGradientType:u,hideGradientStop:p,hideColorTypeBtns:C,hideGradientAngle:Q,hideAdvancedSliders:I,hideGradientControls:U}),L&&m.createElement(Ff,null),!t&&m.createElement(ll,null),!s&&m.createElement(Fl,null),!n&&m.createElement(pl,null),!a&&m.createElement(yl,{presets:r}))},pr=function(){return pr=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},pr.apply(this,arguments)};function Ef(e){var A=e.idSuffix,r=e.value,t=r===void 0?"rgba(175, 51, 242, 1)":r,n=e.onChange,a=e.hideControls,s=a===void 0?!1:a,o=e.hideInputs,l=o===void 0?!1:o,c=e.hideOpacity,g=c===void 0?!1:c,B=e.hidePresets,u=B===void 0?!1:B,p=e.hideHue,Q=p===void 0?!1:p,C=e.presets,I=C===void 0?[]:C,U=e.hideEyeDrop,b=U===void 0?!1:U,L=e.hideAdvancedSliders,S=L===void 0?!1:L,y=e.hideColorGuide,h=y===void 0?!1:y,x=e.hideInputType,M=x===void 0?!1:x,k=e.hideColorTypeBtns,R=k===void 0?!1:k,O=e.hideGradientType,Z=O===void 0?!1:O,D=e.hideGradientAngle,z=D===void 0?!1:D,eA=e.hideGradientStop,tA=eA===void 0?!1:eA,AA=e.hideGradientControls,dA=AA===void 0?!1:AA,aA=e.locales,q=aA===void 0?bl:aA,lA=e.width,sA=lA===void 0?294:lA,H=e.height,j=H===void 0?294:H,_=e.style,F=_===void 0?{}:_,N=e.className,T=e.disableDarkMode,G=T===void 0?!1:T,J=e.disableLightMode,$=J===void 0?!1:J,wA=e.hidePickerSquare,f=wA===void 0?!1:wA,v=e.showHexAlpha,w=v===void 0?!1:v,K=e.config,W=K===void 0?{}:K,P=$o(t),oA=typeof window>"u"||G?!1:!!(window.matchMedia("(prefers-color-scheme: dark)").matches||$),fA=gf(oA,F),vA=oA?"-dark".concat(A?"-".concat(A):""):A?"-".concat(A):"";return m.createElement("div",{className:N,style:pr(pr({},fA.body),{width:sA})},m.createElement(nl,{value:P,onChange:n,squareWidth:sA,passedConfig:W,squareHeight:j,isDarkMode:oA,hideOpacity:g,showHexAlpha:w,defaultStyles:fA,pickerIdSuffix:vA},m.createElement(bf,{hideControls:s,hideInputs:l,hidePresets:u,hideOpacity:g,hideHue:Q,presets:I,hideEyeDrop:b,hideAdvancedSliders:S,hideColorGuide:h,hideInputType:M,hideColorTypeBtns:R,hideGradientType:Z,hideGradientAngle:z,hideGradientStop:tA,hideGradientControls:dA,hidePickerSquare:f,locales:q})))}const tn="rgb(0, 0, 0)",yf=()=>{const[e,A]=E.useState(localStorage.getItem("customBackgroundColour")||tn),r=n=>{A(n),localStorage.setItem("customBackgroundColour",n),UA.emit("refresh","background")},t=()=>{A(tn),localStorage.setItem("customBackgroundColour",tn),GA(d.getMessage("toasts.reset")),UA.emit("refresh","background")};return i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.source.custom_colour")}),i.jsxs(cA,{children:[i.jsx(Ef,{value:e,onChange:r,hideEyeDrop:!0,hideColorGuide:!0,hidePresets:!0,hideAdvancedSliders:!1,hideColorTypeBtns:!1,hideInputType:!1,height:147}),i.jsx("div",{className:"colourReset",children:i.jsxs("span",{className:"link",onClick:()=>t(),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})})]})]})};var xf=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],Ze=(e,A)=>{var r="";for(let t=1;t<=A;t++){let n=Math.floor(e)/Math.pow(83,A-t)%83;r+=xf[Math.floor(n)]}return r},rn=e=>{let A=e/255;return A<=.04045?A/12.92:Math.pow((A+.055)/1.055,2.4)},nn=e=>{let A=Math.max(0,Math.min(1,e));return A<=.0031308?Math.trunc(A*12.92*255+.5):Math.trunc((1.055*Math.pow(A,.4166666666666667)-.055)*255+.5)},If=e=>e<0?-1:1,an=(e,A)=>If(e)*Math.pow(Math.abs(e),A),ts=class extends Error{constructor(e){super(e),this.name="ValidationError",this.message=e}},rs=4,Hf=(e,A,r,t)=>{let n=0,a=0,s=0,o=A*rs;for(let c=0;c<A;c++){let g=rs*c;for(let B=0;B<r;B++){let u=g+B*o,p=t(c,B);n+=p*rn(e[u]),a+=p*rn(e[u+1]),s+=p*rn(e[u+2])}}let l=1/(A*r);return[n*l,a*l,s*l]},Sf=e=>{let A=nn(e[0]),r=nn(e[1]),t=nn(e[2]);return(A<<16)+(r<<8)+t},Lf=(e,A)=>{let r=Math.floor(Math.max(0,Math.min(18,Math.floor(an(e[0]/A,.5)*9+9.5)))),t=Math.floor(Math.max(0,Math.min(18,Math.floor(an(e[1]/A,.5)*9+9.5)))),n=Math.floor(Math.max(0,Math.min(18,Math.floor(an(e[2]/A,.5)*9+9.5))));return r*19*19+t*19+n},kf=(e,A,r,t,n)=>{if(t<1||t>9||n<1||n>9)throw new ts("BlurHash must have between 1 and 9 components");if(A*r*4!==e.length)throw new ts("Width and height must match the pixels array");let a=[];for(let B=0;B<n;B++)for(let u=0;u<t;u++){let p=u==0&&B==0?1:2,Q=Hf(e,A,r,(C,I)=>p*Math.cos(Math.PI*u*C/A)*Math.cos(Math.PI*B*I/r));a.push(Q)}let s=a[0],o=a.slice(1),l="",c=t-1+(n-1)*9;l+=Ze(c,1);let g;if(o.length>0){let B=Math.max(...o.map(p=>Math.max(...p))),u=Math.floor(Math.max(0,Math.min(82,Math.floor(B*166-.5))));g=(u+1)/166,l+=Ze(u,1)}else g=1,l+=Ze(0,1);return l+=Ze(Sf(s),4),o.forEach(B=>{l+=Ze(Lf(B,g),2)}),l},Mf=kf;async function ns(e){return new Promise((A,r)=>{const t=new Image;t.onload=()=>{A({width:t.width,height:t.height}),typeof e!="string"&&URL.revokeObjectURL(t.src)},t.onerror=()=>r(new Error("Failed to load image")),typeof e=="string"?t.src=e:t.src=URL.createObjectURL(e)})}async function as(e,A=4,r=3){return new Promise((t,n)=>{const a=new Image;a.onload=()=>{try{const s=document.createElement("canvas"),o=s.getContext("2d"),l=64,c=Math.min(l/a.width,l/a.height);s.width=Math.floor(a.width*c),s.height=Math.floor(a.height*c),o.drawImage(a,0,0,s.width,s.height);const g=o.getImageData(0,0,s.width,s.height),B=Mf(g.data,g.width,g.height,A,r);typeof e!="string"&&URL.revokeObjectURL(a.src),t(B)}catch(s){n(s)}},a.onerror=()=>n(new Error("Failed to load image for blur hash")),typeof e=="string"?a.src=e:a.src=URL.createObjectURL(e)})}function sn(e){const A=e.split(",")[1];if(!A)return 0;const r=(A.match(/=/g)||[]).length;return Math.floor(A.length*3/4-r)}function ss(e,A){return e&&e.name?e.name:`Image ${A+1}`}function Kf(){const e={};return Object.keys(localStorage).forEach(A=>{e[A]=localStorage.getItem(A)}),new TextEncoder().encode(JSON.stringify(e)).length}function Qe(e){if(e===0)return"0 Bytes";if(!e)return"Unknown";const A=1024,r=["Bytes","KB","MB","GB"],t=Math.floor(Math.log(e)/Math.log(A));return Math.round(e/Math.pow(A,t)*10)/10+" "+r[t]}const Tf=({files:e,onConfirm:A,onCancel:r})=>{const[t,n]=E.useState(""),a=()=>{A(t.trim())};return i.jsxs("div",{className:"smallModal",children:[i.jsxs("div",{className:"shareHeader",children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.tag_images")}),i.jsx("button",{className:"closeModal",onClick:r,children:i.jsx(gs,{})})]}),i.jsxs("div",{className:"taggingModalContent",children:[i.jsx("p",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.tag_description",{count:e.length})}),i.jsxs("div",{className:"taggingInput",children:[i.jsx("label",{children:d.getMessage("modals.main.settings.sections.background.source.folder_name")}),i.jsx("input",{type:"text",placeholder:d.getMessage("modals.main.settings.sections.background.source.folder_placeholder"),value:t,onChange:s=>n(s.target.value),onKeyPress:s=>{s.key==="Enter"&&a()},autoFocus:!0})]})]}),i.jsxs("div",{className:"resetFooter",children:[i.jsx(mA,{type:"settings",onClick:r,label:d.getMessage("modals.main.settings.buttons.cancel")}),i.jsx(mA,{type:"settings",onClick:a,label:d.getMessage("modals.main.settings.buttons.continue")})]})]})},on=e=>{try{localStorage.removeItem("customBackground"),localStorage.setItem("customBackgroundCount",String(e.length))}catch{}},Ti=E.memo(()=>{const[e,A]=E.useState([]),[r,t]=E.useState(!1),[n,a]=E.useState([]),[s,o]=E.useState(!0),[l,c]=E.useState(!1),[g,B]=E.useState({current:0,total:0}),[u,p]=E.useState(!1),[Q,C]=E.useState(new Set),[I,U]=E.useState(localStorage.getItem("customImageSort")||"date_desc"),[b,L]=E.useState(!1),[S,y]=E.useState({usage:0,quota:0}),h=E.useRef(null),x=E.useRef(0),M=5e7;E.useEffect(()=>{(async()=>{if(navigator.storage&&navigator.storage.estimate)try{const N=await navigator.storage.estimate();y({usage:N.usage||0,quota:N.quota||M})}catch(N){console.warn("Could not get storage estimate:",N),y({usage:0,quota:M})}else y({usage:0,quota:M})})()},[e]),E.useEffect(()=>{(async()=>{try{await ao();const N=await Ve();A(N),N.forEach(async T=>{if(!T.dimensions&&T.url&&!bt(T.url))try{const G=await ns(T.url),J=await as(T.url);await so(T.id,{dimensions:G,blurHash:J});const $=await Ve();A($)}catch(G){console.warn("Could not extract metadata for existing image:",G)}})}catch(N){console.error("Error loading backgrounds:",N),GA(d.getMessage("toasts.error"))}finally{o(!1)}})()},[]);const k=E.useCallback(async(F,N,T,G=!1)=>{try{const J={url:N,name:T.name,uploadDate:Date.now(),dimensions:T.dimensions,fileSize:T.fileSize,folder:T.folder||"",blurHash:T.blurHash};await Jn(J);const $=await Ve();A($),on($),G||UA.emit("refresh","background")}catch(J){console.error("Error saving background:",J),GA(d.getMessage("toasts.error"))}},[]),R=async(F,N="")=>{const T=e.reduce((J,$)=>$.url&&$.url.startsWith("data:")?J+sn($.url):J,0),G=S.quota||M;if(T/G>.9&&navigator.storage&&navigator.storage.persist)try{await navigator.storage.persist()&&console.log("Storage persistence granted")}catch(J){console.warn("Could not request storage persistence:",J)}if(bt(F.type)){if(T+F.size>G)throw new Error("no_storage");const J=new FileReader;return new Promise(($,wA)=>{J.onloadend=()=>{$({dataUrl:J.result,metadata:{name:ss(F,e.length),dimensions:null,fileSize:F.size,folder:N,blurHash:null}})},J.onerror=wA,J.readAsDataURL(F)})}else{const J=await Zn.compressAccurately(F,{size:450,accuracy:.9}),$=S.quota||M;if(T+J.size>$)throw new Error("no_storage");const wA=await Zn.filetoDataURL(J),[f,v]=await Promise.all([ns(wA),as(wA).catch(()=>null)]);return{dataUrl:wA,metadata:{name:ss(F,e.length),dimensions:f,fileSize:sn(wA),folder:N,blurHash:v}}}},O=async(F,N="")=>{c(!0),B({current:0,total:F.length});const T=[];for(let G=0;G<F.length;G++)try{const J=await R(F[G],N);await k(F[G],J.dataUrl,J.metadata,!0),B({current:G+1,total:F.length})}catch(J){if(J.message==="no_storage"){GA(d.getMessage("toasts.no_storage"));break}T.push(F[G].name)}T.length>0&&GA(d.getMessage("toasts.error")+`: ${T.join(", ")}`),UA.emit("refresh","background"),c(!1),B({current:0,total:0})},Z=async F=>{t(!1),await O(n,F),a([])},D=E.useCallback(async(F,N)=>{try{F==="add"?await Jn(""):await Ao(N);const T=await Ve();A(T),on(T),UA.emit("refresh","background")}catch(T){console.error("Error modifying background:",T),GA(d.getMessage("toasts.error"))}},[]),z=async()=>{if(Q.size!==0)try{const F=Array.from(Q).sort((T,G)=>G-T);await io(F);const N=await Ve();A(N),C(new Set),on(N),UA.emit("refresh","background"),GA(d.getMessage("toasts.deleted"))}catch(F){console.error("Error batch deleting:",F),GA(d.getMessage("toasts.error"))}},eA=F=>{const N=new Set(Q);N.has(F)?N.delete(F):N.add(F),C(N)},tA=F=>{U(F),localStorage.setItem("customImageSort",F)},AA=E.useCallback(()=>{document.getElementById("bg-input").click()},[]),dA=async F=>{F.length>1?(a(F),t(!0)):await O(F,"")},aA=[...e].sort((F,N)=>{switch(I){case"date_asc":return F.uploadDate-N.uploadDate;case"date_desc":return N.uploadDate-F.uploadDate;case"name_asc":return(F.name||"").localeCompare(N.name||"");case"name_desc":return(N.name||"").localeCompare(F.name||"");case"size_asc":return(F.fileSize||0)-(N.fileSize||0);case"size_desc":return(N.fileSize||0)-(F.fileSize||0);default:return 0}}),q=e.reduce((F,N)=>N.url&&N.url.startsWith("data:")?F+sn(N.url):F,0),lA=S.quota||M,sA=q/lA*100,H=Kf(),j=5242880;E.useEffect(()=>{const F=h.current;if(!F)return;const N=$=>{$.preventDefault(),$.stopPropagation()},T=$=>{$.preventDefault(),$.stopPropagation(),x.current++,$.dataTransfer.items&&$.dataTransfer.items.length>0&&p(!0)},G=$=>{$.preventDefault(),$.stopPropagation(),x.current--,x.current===0&&p(!1)},J=async $=>{$.preventDefault(),$.stopPropagation(),p(!1),x.current=0;const wA=Array.from($.dataTransfer.files);wA.length!==0&&(wA.length>1?(a(wA),t(!0)):await O(wA,""))};return F.ondragover=N,F.ondragenter=T,F.ondragleave=G,F.ondrop=J,()=>{F&&(F.ondragover=null,F.ondragenter=null,F.ondragleave=null,F.ondrop=null)}},[e.length,O]);const _=aA.filter(F=>F&&bt(F.url)).length>0;return s?i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"loaderHolder",children:[i.jsx("div",{id:"loader"}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.loading")})]})}):l?i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"loaderHolder",children:[i.jsx("div",{id:"loader"}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.uploading",{current:g.current,total:g.total})}),i.jsxs("span",{className:"subtitle",children:[Math.round(g.current/g.total*100),"%"]})]})}):i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:`dropzone ${u?"dragging":""}`,ref:h,style:u?{outline:"2px dashed #ff5c25",outlineOffset:"-2px",backgroundColor:"rgba(255, 92, 37, 0.1)",transition:"all 0.2s ease"}:{},children:[i.jsxs("div",{className:"imagesTopBar",children:[i.jsxs("div",{className:"imagesTopBarTitle",children:[i.jsx(Wn,{}),i.jsxs("div",{children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.custom_title")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.custom_description")})]})]}),i.jsx("div",{className:"topbarbuttons",children:i.jsx(mA,{type:"settings",onClick:AA,icon:i.jsx(eo,{}),label:d.getMessage("modals.main.settings.sections.background.source.upload")})})]}),i.jsxs("div",{className:"imagesControlBar",children:[i.jsxs("div",{className:"controlBarLeft",children:[i.jsxs("span",{className:"image-count",children:[e.length," ",e.length===1?"image":"images",i.jsxs("span",{className:"storage-info",children:[" ","· ",Qe(q)," / ",Qe(lA),sA>80&&navigator.storage&&navigator.storage.persist&&i.jsx(Yn,{title:"Request persistent storage to prevent browser from automatically clearing your images",children:i.jsx("button",{className:"request-storage-link",onClick:async()=>{try{await navigator.storage.persist()?GA("Persistent storage granted - your images are protected from eviction"):GA("Persistent storage denied - images may be cleared if storage is low")}catch(F){console.error("Storage request error:",F),GA("Could not request persistent storage")}},children:"Protect images"})})]})]}),i.jsx("span",{className:"selection-separator",children:"·"}),Q.size>0?i.jsxs(i.Fragment,{children:[i.jsxs("span",{className:"selected-count",children:[Q.size," selected"]}),i.jsx("button",{className:"delete-link",onClick:z,children:"Delete"}),Q.size<e.length&&i.jsx("button",{className:"select-all-link",onClick:()=>{const F=new Set(e.map((N,T)=>T));C(F)},children:"Select all"}),Q.size===e.length&&i.jsx("button",{className:"select-all-link",onClick:()=>C(new Set),children:"Deselect all"})]}):e.length>0&&i.jsx("button",{className:"select-all-link",onClick:()=>{const F=new Set(e.map((N,T)=>T));C(F)},children:"Select all"})]}),i.jsx("div",{className:"controlBarRight",children:i.jsx(KA,{name:"customImageSort",category:"customImageSort",onChange:tA,items:[{value:"date_desc",text:d.getMessage("modals.main.settings.sections.background.source.sort.date_newest")},{value:"date_asc",text:d.getMessage("modals.main.settings.sections.background.source.sort.date_oldest")},{value:"name_asc",text:d.getMessage("modals.main.settings.sections.background.source.sort.name_asc")},{value:"name_desc",text:d.getMessage("modals.main.settings.sections.background.source.sort.name_desc")},{value:"size_asc",text:d.getMessage("modals.main.settings.sections.background.source.sort.size_small")},{value:"size_desc",text:d.getMessage("modals.main.settings.sections.background.source.sort.size_large")}]})})]}),i.jsx("div",{className:"dropzone-content",children:aA.length>0?i.jsx("div",{className:`images-grid ${Q.size>0?"selection-mode":""}`,children:aA.map(F=>{const N=e.findIndex(G=>G===F),T=F&&bt(F.url);return i.jsxs("div",{className:"image-card",onClick:G=>{G.target.closest(".delete-button")||eA(N)},children:[i.jsx("div",{className:"image-checkbox",children:i.jsx("input",{type:"checkbox",checked:Q.has(N),onChange:()=>eA(N)})}),i.jsxs("div",{className:"image-preview",children:[F.blurHash&&!T&&(()=>{const G=to(F.blurHash,32,32);return G?i.jsx("div",{className:"blur-placeholder",style:{backgroundImage:`url(${G})`,filter:"blur(20px)",position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:0}}):null})(),T?i.jsx("div",{className:"video-icon-wrapper",children:i.jsx(ro,{className:"customvideoicon"})}):i.jsx("img",{alt:F.name||"Custom background",src:F.url,loading:"lazy",style:{position:"relative",zIndex:1}})]}),i.jsxs("div",{className:"image-metadata",children:[i.jsx("span",{className:"image-name",title:F.name,children:F.name||"Unnamed"}),i.jsxs("div",{className:"image-details",children:[F.dimensions&&i.jsxs("span",{className:"detail",children:[F.dimensions.width," × ",F.dimensions.height]}),F.fileSize&&i.jsx("span",{className:"detail",children:Qe(F.fileSize)}),F.folder&&i.jsx("span",{className:"detail folder-tag",children:F.folder})]})]}),i.jsx(Yn,{title:d.getMessage("modals.main.settings.sections.background.source.remove"),children:i.jsx("button",{className:"delete-button",onClick:G=>{G.stopPropagation(),D("remove",N)},children:i.jsx(ut,{})})})]},N)})}):i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Wn,{}),i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.drop_to_upload")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.formats",{list:"jpeg, png, webp, webm, gif, mp4, webm, ogg"})}),i.jsx(mA,{type:"settings",onClick:AA,icon:i.jsx(no,{}),label:d.getMessage("modals.main.settings.sections.background.source.select")})]})})})]}),i.jsx(Is,{id:"bg-input",accept:"image/jpeg, image/png, image/webp, image/webm, image/gif, video/mp4, video/webm, video/ogg",multiple:!0,loadFunction:async F=>{await dA(F)}}),_&&i.jsxs(i.Fragment,{children:[i.jsx(QA,{name:"backgroundVideoLoop",category:"backgroundvideo",text:d.getMessage("modals.main.settings.sections.background.source.loop_video")}),i.jsx(QA,{name:"backgroundVideoMute",category:"backgroundvideo",text:d.getMessage("modals.main.settings.sections.background.source.mute_video")})]}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>{t(!1),a([])},isOpen:r,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(Tf,{files:n,onConfirm:Z,onCancel:()=>{t(!1),a([])}})}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>L(!1),isOpen:b,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsxs("div",{className:"smallModal",children:[i.jsxs("div",{className:"shareHeader",children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.storage_info")}),i.jsx("button",{className:"closeModal",onClick:()=>L(!1),children:i.jsx(ut,{})})]}),i.jsxs("div",{style:{padding:"20px"},children:[i.jsx("p",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.storage_description")}),i.jsxs("div",{style:{marginTop:"20px"},children:[i.jsx("p",{className:"subtitle",style:{fontWeight:"600",marginBottom:"8px"},children:"Custom Backgrounds"}),i.jsxs("p",{className:"subtitle",children:[Qe(q)," / ",Qe(lA)," (",Math.round(sA),"%)"]})]}),i.jsxs("div",{style:{marginTop:"15px"},children:[i.jsx("p",{className:"subtitle",style:{fontWeight:"600",marginBottom:"8px"},children:"Total localStorage Usage"}),i.jsxs("p",{className:"subtitle",children:[Qe(H)," / ",Qe(j)," (",Math.round(H/j*100),"%)"]}),i.jsx("p",{className:"subtitle",style:{marginTop:"8px",fontSize:"12px",opacity:.7},children:"Includes all Mue settings and custom images"})]})]}),i.jsx("div",{className:"resetFooter",children:i.jsx(mA,{type:"settings",onClick:()=>L(!1),label:d.getMessage("modals.main.settings.buttons.close")})})]})})]})});Ti.displayName="CustomSettings";const Df=({usingImage:e})=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.display"),subtitle:d.getMessage("modals.main.settings.sections.background.display_subtitle")}),i.jsxs(cA,{children:[i.jsx(QA,{name:"bgtransition",text:d.getMessage("modals.main.settings.sections.background.transition"),element:".other",disabled:!e}),i.jsx(QA,{name:"photoInformation",text:d.getMessage("modals.main.settings.sections.background.photo_information"),element:".other"}),i.jsx(QA,{name:"photoMap",text:d.getMessage("modals.main.settings.sections.background.show_map"),element:".other",disabled:!e})]})]});d.getMessage("modals.main.settings.sections.background.source.quality.original"),d.getMessage("modals.main.settings.sections.background.source.quality.high"),d.getMessage("modals.main.settings.sections.background.source.quality.normal"),d.getMessage("modals.main.settings.sections.background.source.quality.datasaver");const Of=[{value:"none",text:d.getMessage("modals.main.settings.sections.appearance.navbar.refresh_options.none")},{value:"grayscale",text:d.getMessage("modals.main.settings.sections.background.effects.filters.grayscale")},{value:"sepia",text:d.getMessage("modals.main.settings.sections.background.effects.filters.sepia")},{value:"invert",text:d.getMessage("modals.main.settings.sections.background.effects.filters.invert")},{value:"saturate",text:d.getMessage("modals.main.settings.sections.background.effects.filters.saturate")},{value:"contrast",text:d.getMessage("modals.main.settings.sections.background.effects.filters.contrast")}];function Di(){return[{value:"api",text:d.getMessage("wb.settings_bundled_photos")},{value:"custom",text:d.getMessage("modals.main.settings.sections.background.type.custom_image")},{value:"colour",text:d.getMessage("modals.main.settings.sections.background.type.custom_colour")},{value:"random_colour",text:d.getMessage("modals.main.settings.sections.background.type.random_colour")},{value:"random_gradient",text:d.getMessage("modals.main.settings.sections.background.type.random_gradient")}]}const Rf=({backgroundFilter:e,onFilterChange:A})=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.effects.title"),subtitle:d.getMessage("modals.main.settings.sections.background.effects.subtitle")}),i.jsxs(cA,{children:[i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.background.effects.blur"),name:"blur",min:"0",max:"100",default:"0",display:"%",marks:at.background,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo"}),i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.background.effects.brightness"),name:"brightness",min:"0",max:"100",default:"100",display:"%",marks:at.background,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo"}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.background.effects.filters.title"),name:"backgroundFilter",onChange:A,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo",items:Of}),e!=="none"&&i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.background.effects.filters.amount"),name:"backgroundFilterAmount",min:"0",max:"100",default:"0",display:"%",marks:at.background,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo"})]})]}),Nf=({backgroundType:e,onTypeChange:A})=>i.jsxs(rA,{final:e==="random_colour"||e==="random_gradient",children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.source.title"),subtitle:d.getMessage("modals.main.settings.sections.background.source.subtitle")}),i.jsx(cA,{children:i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.background.type.title"),name:"backgroundType",onChange:A,category:"background",items:Di()})})]}),is=({icon:e,title:A,subtitle:r,onClick:t,action:n})=>i.jsxs("div",{className:"moreSettings",onClick:t,children:[i.jsxs("div",{className:"left",children:[i.jsx(e,{}),i.jsxs("div",{className:"content",children:[i.jsx("span",{className:"title",children:A}),i.jsx("span",{className:"subtitle",children:r})]})]}),i.jsx("div",{className:"action",children:n||i.jsx(cs,{})})]}),Oi=E.memo(({currentSubSection:e,onSubSectionChange:A,sectionName:r})=>{const[t,n]=E.useState(localStorage.getItem("backgroundType")||"api"),[a,s]=E.useState(localStorage.getItem("backgroundFilter")||"none"),o=["colour","random_colour","random_gradient"].includes(t);E.useEffect(()=>{o&&e!=="source"&&A("source",r)},[o,e,A,r]);const l=()=>{switch(t){case"custom":return i.jsx(Ti,{});case"colour":return i.jsx(yf,{});default:return null}},c=t!=="colour"&&t!=="random_colour"&&t!=="random_gradient",g=t==="api"||t==="custom",B=()=>e==="effects"?i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.background.title"),secondaryTitle:d.getMessage("modals.main.settings.sections.background.effects.title"),goBack:()=>A(null,r)}):e==="source"?i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.background.title"),secondaryTitle:d.getMessage("modals.main.settings.sections.background.source.title"),goBack:()=>A(null,r)}):i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.background.title"),setting:"background",category:"background",visibilityToggle:!0});return i.jsxs(i.Fragment,{children:[B(),!e&&i.jsxs(i.Fragment,{children:[i.jsx(is,{icon:oo,title:d.getMessage("modals.main.settings.sections.background.source.title"),subtitle:d.getMessage("modals.main.settings.sections.background.source.subtitle"),onClick:()=>A("source",r),action:i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.background.type.title"),name:"backgroundType",onChange:u=>{n(u),u==="custom"&&UA.emit("refresh","background")},category:"background",items:Di()})}),g&&i.jsx(is,{icon:lo,title:d.getMessage("modals.main.settings.sections.background.effects.title"),subtitle:d.getMessage("modals.main.settings.sections.background.effects.subtitle"),onClick:()=>A("effects",r)})]}),!e&&g&&i.jsx(Df,{usingImage:c}),e==="source"&&i.jsxs(i.Fragment,{children:[i.jsx(Nf,{backgroundType:t,onTypeChange:n}),l()]}),g&&e==="effects"&&i.jsx(Rf,{backgroundFilter:a,onFilterChange:u=>s(u)})]})});Oi.displayName="BackgroundOptions";function _f(){const e=[{value:"ask",text:d.getMessage("wb.ask")},{value:"act",text:d.getMessage("wb.act")},...co()?[{value:"search",text:d.getMessage("wb.search")}]:[]];return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage("wb.settings_taskbox"),setting:"taskBox",category:"widgets",visibilityToggle:!0}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("wb.settings_default_mode"),subtitle:d.getMessage("wb.settings_taskbox_sub")}),i.jsx(cA,{children:i.jsx(KA,{name:"taskBoxMode",category:"widgets",items:e})})]}),i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("wb.settings_recent")}),i.jsx(cA,{children:i.jsx(fs,{name:"recentChats",category:"widgets"})})]})]})}const Gf=["Africa/Abidjan","Africa/Accra","Africa/Algiers","Africa/Bissau","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/El_Aaiun","Africa/Johannesburg","Africa/Juba","Africa/Khartoum","Africa/Lagos","Africa/Maputo","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Chicago","America/Chihuahua","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fort_Nelson","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/La_Paz","America/Lima","America/Los_Angeles","America/Maceio","America/Managua","America/Manaus","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Johns","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Helsinki","Europe/Istanbul","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/Saratov","Europe/Simferopol","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zaporozhye","Europe/Zurich","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis"];function jf({currentSubSection:e,onSubSectionChange:A,sectionName:r}){const[t,n]=E.useState(!1),a="modals.main.settings.sections.advanced",s=()=>localStorage.getItem("welcomePreview")!=="true"?i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.data"),subtitle:d.getMessage("modals.main.settings.sections.advanced.data_description")}),i.jsxs("div",{className:"resetDataButtonsLayout",children:[i.jsx(mA,{onClick:()=>n(!0),icon:i.jsx(Bo,{}),label:d.getMessage("modals.main.settings.buttons.reset")}),i.jsx(mA,{onClick:()=>mo(),icon:i.jsx(fo,{}),label:d.getMessage("modals.main.settings.buttons.export")}),i.jsx(mA,{onClick:()=>document.getElementById("file-input").click(),icon:i.jsx(ho,{}),label:d.getMessage("modals.main.settings.buttons.import")})]}),i.jsx(Is,{id:"file-input",accept:"application/json",type:"settings",loadFunction:c=>vo(c)})]}):i.jsx("div",{className:"emptyItems",children:i.jsx("div",{className:"emptyMessage",children:i.jsxs("div",{className:"loaderHolder",children:[i.jsx(wo,{}),i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.advanced.preview_data_disabled.title")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.advanced.preview_data_disabled.description")})]})})}),o=e==="data";let l;return o?l=i.jsx(TA,{title:d.getMessage(`${a}.title`),secondaryTitle:d.getMessage(`${a}.data`),goBack:()=>A(null,r),report:!1}):l=i.jsx(TA,{title:d.getMessage(`${a}.title`),report:!1}),i.jsxs(i.Fragment,{children:[l,o?i.jsxs(i.Fragment,{children:[i.jsx(s,{}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>n(!1),isOpen:t,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(go,{modalClose:()=>n(!1)})})]}):i.jsxs(i.Fragment,{children:[i.jsx(Tn,{title:d.getMessage(`${a}.data`),subtitle:d.getMessage(`${a}.data_subtitle`),onClick:()=>A("data",r),icon:i.jsx(uo,{})}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.timezone.title"),subtitle:d.getMessage("modals.main.settings.sections.advanced.timezone.subtitle")}),i.jsx(cA,{children:i.jsx(KA,{name:"timezone",category:"timezone",items:[{value:"auto",text:d.getMessage("modals.main.settings.sections.advanced.timezone.automatic")},...Gf.map(c=>({value:c,text:c}))]})})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.tab_name"),subtitle:d.getMessage("modals.main.settings.sections.advanced.tab_name_subtitle")}),i.jsx(cA,{children:i.jsx(tr,{name:"tabName",default:d.getMessage("tabname"),category:"other"})})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.custom_css"),subtitle:d.getMessage("modals.main.settings.sections.advanced.custom_css_subtitle")}),i.jsx(cA,{children:i.jsx(tr,{name:"customcss",textarea:!0,category:"other",customcss:!0})})]})]})]})}function Vf({currentSubSection:e,onSubSectionChange:A,sectionName:r}){const t=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.theme.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.theme.description")}),i.jsx(cA,{children:i.jsx(cn,{name:"theme",options:[{name:d.getMessage("modals.main.settings.sections.appearance.theme.auto"),value:"auto"},{name:d.getMessage("modals.main.settings.sections.appearance.theme.light"),value:"light"},{name:d.getMessage("modals.main.settings.sections.appearance.theme.dark"),value:"dark"}],category:"other"})})]}),n=()=>{const c="modals.main.settings.sections.appearance.font.weight";return i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.font.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.font.description")}),i.jsxs(cA,{children:[i.jsx(tr,{title:d.getMessage("modals.main.settings.sections.appearance.font.custom"),name:"font",upperCaseFirst:!0,category:"other"}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.appearance.font.weight.title"),name:"fontweight",category:"other",items:[{value:"100",text:d.getMessage(c+".thin")},{value:"200",text:d.getMessage(c+".extra_light")},{value:"300",text:d.getMessage(c+".light")},{value:"400",text:d.getMessage(c+".normal")},{value:"500",text:d.getMessage(c+".medium")},{value:"600",text:d.getMessage(c+".semi_bold")},{value:"700",text:d.getMessage(c+".bold")},{value:"800",text:d.getMessage(c+".extra_bold")}]}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.appearance.font.style.title"),name:"fontstyle",category:"other",items:[{value:"normal",text:d.getMessage("modals.main.settings.sections.appearance.font.style.normal")},{value:"italic",text:d.getMessage("modals.main.settings.sections.appearance.font.style.italic")},{value:"oblique",text:d.getMessage("modals.main.settings.sections.appearance.font.style.oblique")}]})]})]})},a=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.style.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.style.description")}),i.jsx(cA,{children:i.jsx(cn,{name:"widgetStyle",element:".other",options:[{name:d.getMessage("modals.main.settings.sections.appearance.style.legacy"),value:"legacy"},{name:d.getMessage("modals.main.settings.sections.appearance.style.new"),value:"new"}],category:"widgets"})})]}),s=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.accessibility.description")}),i.jsxs(cA,{children:[i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.title"),name:"textBorder",category:"other",items:[{value:"new",text:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.new")},{value:"true",text:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.old")},{value:"none",text:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.none")}]}),i.jsx(QA,{text:d.getMessage("modals.main.settings.sections.appearance.accessibility.animations"),name:"animations",category:"other"}),i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.toast_duration"),name:"toastDisplayTime",default:"2500",step:"100",min:"500",max:"5000",marks:at.toast,display:" "+d.getMessage("modals.main.settings.sections.appearance.accessibility.milliseconds")})]})]}),o=e==="accessibility";let l;return o?l=i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.appearance.title"),secondaryTitle:d.getMessage("modals.main.settings.sections.appearance.accessibility.title"),goBack:()=>A(null,r),report:!1}):l=i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.appearance.title"),report:!1}),i.jsxs(i.Fragment,{children:[l,o?i.jsx(s,{}):i.jsxs(i.Fragment,{children:[i.jsx(Tn,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.accessibility.description"),icon:i.jsx(po,{}),onClick:()=>A("accessibility",r)}),i.jsx(t,{}),i.jsx(n,{}),i.jsx(a,{})]})]})}const Pf=E.memo(Vf),Xf=`BSD 3-Clause License++Copyright (c) 2019-2026 The Mue Authors+Copyright (c) 2018-2019 David Ralph++All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++1. Redistributions of source code must retain the above copyright notice, this+ list of conditions and the following disclaimer.++2. Redistributions in binary form must reproduce the above copyright notice,+ this list of conditions and the following disclaimer in the documentation+ and/or other materials provided with the distribution.++3. Neither the name of the copyright holder nor the names of its+ contributors may be used to endorse or promote products derived from+ this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.+`;function Jf(){const e=Object.keys(Co),{MUE_REPO_URL:A,MUE_VERSION:r,REPO_URL:t,WEBSITE_URL:n}=d.constants;return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage("wb.settings_credits")}),i.jsx(rA,{children:i.jsx(nA,{title:"WebBrain",subtitle:"The WebBrain new tab is free software, licensed GPL-3.0-or-later, and makes no network requests of its own."})}),i.jsx(rA,{children:i.jsx(nA,{title:`Based on Mue ${r}`,subtitle:i.jsxs(i.Fragment,{children:["Derived from ",i.jsx("a",{href:A,target:"_blank",rel:"noreferrer",children:"Mue"})," by The Mue Authors and David Ralph, used under the BSD-3-Clause license reproduced below. Mue is not affiliated with or endorsing WebBrain."]})})}),i.jsx(rA,{children:i.jsx(nA,{title:d.getMessage("wb.settings_bundled_photos"),subtitle:`${e.join(", ")}. Offline images shipped with Mue (Unsplash, Pexels and Pixabay).`})}),i.jsx(rA,{children:i.jsx(nA,{title:"Fonts and icons",subtitle:"Inter, Lexend Deca and Montserrat (SIL Open Font License); Material Design icons via react-icons."})}),i.jsx(rA,{final:!0,children:i.jsx(nA,{title:"Mue license",subtitle:i.jsx("pre",{style:{whiteSpace:"pre-wrap",fontSize:"0.75rem"},children:Xf})})}),i.jsxs("p",{style:{opacity:.7,fontSize:"0.85rem"},children:[i.jsx("a",{href:n,target:"_blank",rel:"noreferrer",children:n.replace("https://","")})," · ",i.jsx("a",{href:t,target:"_blank",rel:"noreferrer",children:"GitHub"})]})]})}function Wf(){return i.jsx("span",{className:"greeting preview",children:"Good Morning"})}const Yf=E.memo(Wf),Zf=E.lazy(()=>Qo(()=>import("./index-WlLvTUiq.js"),__vite__mapDeps([0,1,2]),import.meta.url));function zf(){return localStorage.getItem("timeType")==="analogue"?i.jsx(E.Suspense,{fallback:i.jsx(i.Fragment,{}),children:i.jsx("div",{className:"clockBackground",children:i.jsx(Zf,{className:"analogclock clock-container",value:"2022-10-07T17:00:00+00:00",size:50})})}):localStorage.getItem("timeType")==="percentageComplete"?i.jsx("span",{className:"vertical-clock clock-container clockSkeleton",children:"68%"}):localStorage.getItem("timeType")==="verticalClock"?i.jsxs("span",{className:"vertical-clock clock-container",style:{fontSize:"30px"},children:[i.jsx("div",{className:"hour",children:"10"}),i.jsx("div",{className:"minute",children:"23"})]}):i.jsx("span",{className:"vertical-clock clock-container clockSkeleton",children:"10:24"})}const qf=E.memo(zf);function $f(e){return Kn({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"},child:[]}]})(e)}function Ah(e){return Kn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z"},child:[]}]})(e)}function eh(e){return Kn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M17.625 1.499c-2.32 0-4.354 1.203-5.625 3.03-1.271-1.827-3.305-3.03-5.625-3.03C3.129 1.499 0 4.253 0 8.249c0 4.275 3.068 7.847 5.828 10.227a33.14 33.14 0 0 0 5.616 3.876l.028.017.008.003-.001.003c.163.085.342.126.521.125.179.001.358-.041.521-.125l-.001-.003.008-.003.028-.017a33.14 33.14 0 0 0 5.616-3.876C20.932 16.096 24 12.524 24 8.249c0-3.996-3.129-6.75-6.375-6.75zm-.919 15.275a30.766 30.766 0 0 1-4.703 3.316l-.004-.002-.004.002a30.955 30.955 0 0 1-4.703-3.316c-2.677-2.307-5.047-5.298-5.047-8.523 0-2.754 2.121-4.5 4.125-4.5 2.06 0 3.914 1.479 4.544 3.684.143.495.596.797 1.086.796.49.001.943-.302 1.085-.796.63-2.205 2.484-3.684 4.544-3.684 2.004 0 4.125 1.746 4.125 4.5 0 3.225-2.37 6.216-5.048 8.523z"},child:[]}]})(e)}function th(){return i.jsx("div",{className:"quickLinksSkeleton",children:i.jsxs("div",{className:"circles",children:[i.jsx("div",{children:i.jsx($f,{})}),i.jsx("div",{children:i.jsx(Ah,{})}),i.jsx("div",{children:i.jsx(eh,{})})]})})}const rh=E.memo(th);function nh(){return i.jsx("span",{className:"date",children:"Thursday January 1st"})}const ah=E.memo(nh);function sh(){return i.jsx("h2",{className:"message",children:i.jsxs("span",{children:["Message",i.jsx("br",{})]})})}const ih=E.memo(sh),oh={greeting:d.getMessage("modals.main.settings.sections.greeting.title"),time:d.getMessage("modals.main.settings.sections.time.title"),quicklinks:d.getMessage("modals.main.settings.sections.quicklinks.title"),date:d.getMessage("modals.main.settings.sections.date.title"),message:d.getMessage("modals.main.settings.sections.message.title")},lh=({id:e})=>{const{attributes:A,listeners:r,setNodeRef:t,transform:n,transition:a}=ws({id:e}),s={transform:ps.Transform.toString(n),transition:a};return i.jsxs("li",{ref:t,style:s,...A,...r,className:"sortableItem",children:[oh[e],i.jsx(hs,{})]})},ch=()=>{const[e,A]=E.useState(()=>JSON.parse(localStorage.getItem("order"))||["greeting","time","quicklinks","date","message"]),r=Cs(rr(vs),rr(ms,{coordinateGetter:Qs})),t=s=>{const{active:o,over:l}=s;l&&o.id!==l.id&&A(c=>{const g=c.indexOf(o.id),B=c.indexOf(l.id);return ys(c,g,B)})},n=s=>s==="quicklinks"?localStorage.getItem("quicklinksenabled")==="true":localStorage.getItem(s)==="true",a=s=>{switch(s){case"greeting":return i.jsx(Yf,{});case"time":return i.jsx(qf,{});case"quicklinks":return i.jsx(rh,{});case"date":return i.jsx(ah,{});case"message":return i.jsx(ih,{});default:return null}};return E.useEffect(()=>{localStorage.setItem("order",JSON.stringify(e)),d.stats.postEvent("setting","Widget order"),UA.emit("refresh","widgets")},[e]),i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"mainTitle",children:d.getMessage("modals.main.marketplace.product.overview")}),i.jsxs("div",{className:"overviewGrid",children:[i.jsxs("div",{children:[i.jsx("span",{className:"title",children:d.getMessage("modals.welcome.buttons.preview")}),i.jsx("div",{className:"tabPreview",children:i.jsx("div",{className:"previewItem",style:{maxWidth:"50%"},children:e.map((s,o)=>n(s)?i.jsx("div",{className:"previewItem",children:a(s)},`item-${s}`):null)})})]}),i.jsxs("div",{children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.order.title")}),i.jsx(Us,{sensors:r,collisionDetection:Fs,onDragEnd:t,children:i.jsx(bs,{items:e,strategy:Es,children:i.jsx("ul",{className:"sortableContainer",children:e.map(s=>n(s)?i.jsx(lh,{id:s},s):null)})})})]})]})]})},os=[{label:"modals.main.marketplace.product.overview",name:"order",component:ch},{label:"modals.main.settings.sections.appearance.navbar.title",name:"navbar",component:Mo},{label:"modals.main.settings.sections.greeting.title",name:"greeting",component:Do},{label:"modals.main.settings.sections.time.title",name:"time",component:Oo},{label:"modals.main.settings.sections.quicklinks.title",name:"quicklinks",component:jo},{label:"modals.main.settings.sections.date.title",name:"date",component:Ro},{label:"modals.main.settings.sections.message.title",name:"message",component:Vo},{label:"modals.main.settings.sections.background.title",name:"background",component:Oi},{label:"wb.settings_taskbox",name:"taskbox",component:_f},{label:"modals.main.settings.sections.appearance.title",name:"appearance",component:Pf},{label:"modals.main.settings.sections.advanced.title",name:"advanced",component:jf},{label:"wb.settings_credits",name:"credits",component:Jf}];function gh(e){const A=Ct(),r=E.useMemo(()=>os.map(t=>({...t,translatedLabel:A(t.label)})),[A]);return i.jsx(Ho,{changeTab:t=>e.changeTab(t),current:"settings",currentTab:e.currentTab,onSectionChange:e.onSectionChange,onSubSectionChange:e.onSubSectionChange,currentSubSection:e.currentSubSection,deepLinkData:e.deepLinkData,navigationTrigger:e.navigationTrigger,sections:os,children:r.map(({label:t,name:n,component:a,translatedLabel:s})=>i.jsx("div",{label:s,name:n,children:i.jsx(a,{currentSubSection:e.currentSubSection,onSubSectionChange:e.onSubSectionChange,sectionName:n})},n))})}const Bh=E.memo(gh);export{Bh as default};diff --git a/src/chrome/newtab/assets/Settings-DPM-2yQQ.js b/src/chrome/newtab/assets/Settings-DPM-2yQQ.jsdeleted file mode 100644index 272057cda..000000000--- a/src/chrome/newtab/assets/Settings-DPM-2yQQ.js+++ /dev/null@@ -1,53 +0,0 @@-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-DfKEmD7L.js","./index-DLQt-leu.js","./index-DRYJ4NLv.css"])))=>i.map(i=>d[i]);-import{s as Oi,v as d,y as GA,r as E,j as i,B as mA,M as Ri,a as Ni,b as _i,E as UA,c as os,S as nt,R as m,d as ls,u as Ct,g as Gi,D as ji,e as cs,f as fe,h as jn,T as Vn,q as gs,i as Vi,k as us,l as ut,m as on,n as Bt,o as Bs,C as QA,p as KA,t as Pi,w as Xi,x as Ji,z as Wi,A as Hr,F as ds,G as er,H as tr,I as ln,J as fs,K as hs,L as ws,N as Yi,O as ps,P as rr,Q as Cs,U as Qs,V as ms,W as vs,X as Us,Y as Fs,Z as bs,_ as Zi,$ as Es,a0 as Pn,a1 as zi,a2 as ys,a3 as Ft,a4 as qi,a5 as Xn,a6 as Ve,a7 as $i,a8 as bt,a9 as Jn,aa as Ao,ab as Wn,ac as eo,ad as to,ae as ro,af as xs,ag as no,ah as ao,ai as so,aj as Yn,ak as io,al as oo,am as lo,an as co,ao as go,ap as uo,aq as Bo,ar as fo,as as ho,at as wo,au as po,av as Co,aw as Mn}from"./index-DLQt-leu.js";function Qo(){const e={};Object.keys(localStorage).forEach(n=>{e[n]=localStorage.getItem(n)});const A=new Date,t=`mue_settings_backup_${`${A.getFullYear()}-${(A.getMonth()+1).toString().padStart(2,"0")}-${A.getDate().toString().padStart(2,"0")}_${A.getHours().toString().padStart(2,"0")}-${A.getMinutes().toString().padStart(2,"0")}-${A.getSeconds().toString().padStart(2,"0")}`}.json`;Oi(e,t),d.stats.postEvent("tab","Settings exported")}function mo(e,A=!1){const r=JSON.parse(e);Object.keys(r).forEach(t=>{localStorage.setItem(t,r[t])}),GA(d.getMessage("toasts.imported")),A||d.stats.postEvent("tab","Settings imported"),setTimeout(()=>window.location.reload(),1200)}function TA(e){const[A,r]=E.useState(localStorage.getItem(e.setting)==="true");E.useEffect(()=>{r(localStorage.getItem(e.setting)==="true")},[e.setting]);const t=()=>{const s=localStorage.getItem(e.setting)==="true";if(localStorage.setItem(e.setting,!s),r(!s),d.stats.postEvent("setting",`${e.name} ${A===!0?"enabled":"disabled"}`),UA.emit("toggle",e.setting),e.element&&!document.querySelector(e.element)){os();return}UA.emit("refresh",e.category)},n=()=>i.jsx(mA,{type:"settings",onClick:t,icon:A?i.jsx(Ri,{}):i.jsx(Ni,{}),label:A?"Hide":"Show"}),a=()=>i.jsx(mA,{type:"settings",onClick:()=>window.open(d.constants.BUG_REPORT+e.title.split(" ").join("+"),"_blank"),icon:i.jsx(_i,{}),label:d.getMessage("modals.main.settings.sections.header.report_issue")});return i.jsxs("div",{className:"modalHeader",children:[i.jsx("span",{className:"mainTitle",children:e.secondaryTitle||e.title}),i.jsxs("div",{className:"headerActions",children:[e.visibilityToggle&&i.jsx(n,{}),e.report!==!1&&i.jsx(a,{}),e.children]})]})}function rA(e){const A=`${e.final?"settingsRow settingsNoBorder":"settingsRow"} ${e.inactive?"preferencesInactive":""}`;return i.jsx("div",{className:A,children:e.children})}function nA(e){return i.jsxs("div",{className:"content",children:[i.jsx("span",{className:"title",children:e.title}),i.jsx("span",{className:"subtitle",children:e.subtitle})]})}function cA(e){return i.jsx("div",{className:"action",children:e.children})}const vo=[{value:10,label:"0.1x"},{value:100,label:"1x"},{value:200,label:"2x"},{value:400,label:"4x"}],Uo=[{value:500,label:"0.5s"},{value:1e3,label:"1s"},{value:1500,label:"1.5s"},{value:2e3,label:"2s"},{value:2500,label:"2.5s"},{value:3e3,label:"3s"},{value:4e3,label:"4s"},{value:5e3,label:"5s"}],Fo=[{value:0,label:"0%"},{value:25,label:"25%"},{value:50,label:"50%"},{value:75,label:"75%"},{value:100,label:"100%"}],at={zoom:vo,toast:Uo,background:Fo},Qt=({children:e,...A})=>{const[r,t]=E.useState(localStorage.getItem(A.setting)==="true");return E.useEffect(()=>{const n=a=>{a===A.setting&&t(localStorage.getItem(A.setting)==="true")};return UA.on("toggle",n),()=>UA.off("toggle",n)},[A.setting]),i.jsxs("div",{className:r?"preferences":"preferencesInactive",children:[A.zoomSetting&&i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.widget_zoom"),subtitle:d.getMessage("modals.main.settings.sections.header.size")}),i.jsx(cA,{children:i.jsx(nt,{name:A.zoomSetting,min:"10",max:"400",default:"100",display:"%",marks:at.zoom,category:A.zoomCategory||A.category})})]}),e]})};function Kn({title:e,subtitle:A,icon:r,onClick:t,children:n}){return i.jsxs("div",{className:"moreSettings",onClick:t,children:[i.jsxs("div",{className:"left",children:[r,i.jsxs("div",{className:"content",children:[i.jsx("span",{className:"title",children:e}),i.jsx("span",{className:"subtitle",children:A})]})]}),i.jsx("div",{className:"action",children:m.Children.count(n)===0?i.jsx(ls,{}):n})]})}function bo({label:e,currentTab:A,onClick:r,navbarTab:t}){const n=Ct(),[a,s]=E.useState(!0);E.useEffect(()=>{s(localStorage.getItem("experimental")!=="false")},[]);const o=Gi(e,{getMessage:n}),l=ji.some(p=>n(p)===e),B=`${t?"navbar-item":"tab-list-item"}${A===e?` ${t?"navbar-item-active":"tab-list-active"}`:""}`;return e===n("modals.main.settings.sections.experimental.title")&&!a?i.jsx("hr",{}):i.jsxs(i.Fragment,{children:[i.jsxs("button",{className:B,onClick:()=>r(e),children:[o&&i.jsx(o,{})," ",i.jsx("span",{children:e})]}),l&&i.jsx("hr",{})]})}const Eo=E.memo(bo),yo=({isVisible:e,onHide:A})=>e?i.jsxs("div",{className:"reminder-info",children:[i.jsxs("div",{className:"shareHeader",children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.reminder.title")}),i.jsx("span",{className:"closeModal",onClick:A,children:i.jsx(cs,{})})]}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.reminder.message")}),i.jsxs("button",{onClick:()=>window.location.reload(),children:[i.jsx(fe,{}),d.getMessage("modals.main.error_boundary.refresh")]})]}):null;class xo extends E.PureComponent{constructor(A){super(A),this.state={error:!1,errorData:"",showReport:!0}}static getDerivedStateFromError(A){return console.error(A),{error:!0,errorData:A}}reportError(){window.open(d.constants.BUG_REPORT,"_blank","noopener,noreferrer"),this.setState({showReport:!1})}render(){return this.state.error?i.jsx("div",{className:"emptyItems",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(jn,{}),i.jsx("span",{className:"title",children:d.getMessage("modals.main.error_boundary.title")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.error_boundary.message")}),i.jsxs("div",{className:"buttonsRow",children:[this.state.showReport?i.jsx(mA,{type:"settings",icon:i.jsx(jn,{}),label:d.getMessage("modals.main.error_boundary.report_error"),onClick:()=>this.reportError()}):i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.error_boundary.sent")}),i.jsx(mA,{type:"settings",icon:i.jsx(fe,{}),label:d.getMessage("modals.main.error_boundary.refresh"),onClick:()=>window.location.reload()})]})]})}):this.props.children}}const Io=({children:e,navbar:A=!1,currentTab:r,onSectionChange:t,resetToFirst:n,deepLinkData:a,navigationTrigger:s,sections:o})=>{const l=Ct(),g=(()=>{if(a?.section&&o){const y=o.find(h=>h.name===a.section);if(y)return{label:l(y.label),name:y.name}}return{label:e[0]?.props.label,name:e[0]?.props.name}})(),[B,u]=E.useState(g.label),[p,Q]=E.useState(g.name),[C,I]=E.useState(localStorage.getItem("showReminder")==="true"),U=E.useRef(null),b=(y,h)=>{h!==p&&d.stats.postEvent("tab",`Opened ${h}`),u(y),Q(h),U.current&&(U.current.scrollTop=0),t&&t(y,h)};E.useEffect(()=>{t&&B&&t(B,p)},[]),E.useEffect(()=>{if(o&&p){const y=o.find(h=>h.name===p);if(y){const h=l(y.label);u(h)}}},[l,o,p]),E.useEffect(()=>{if(s?.type==="settings-section"&&o){const y=o.find(h=>h.name===s.data);if(y){const h=l(y.label);u(h),Q(y.name),U.current&&(U.current.scrollTop=0)}}},[s,o,l]),E.useEffect(()=>{n&&(u(e[0]?.props.label),Q(e[0]?.props.name),U.current&&(U.current.scrollTop=0),t&&t(e[0]?.props.label,e[0]?.props.name))},[n]);const L=()=>{localStorage.setItem("showReminder","false"),I(!1)},S=r===Vn.SETTINGS||r===Vn.DISCOVER;return i.jsxs("div",{style:{display:"flex",width:"100%",height:"100%",overflow:"hidden"},children:[S?i.jsxs("div",{className:"modalSidebar",children:[e.map((y,h)=>i.jsx(Eo,{currentTab:B,label:y.props.label,onClick:x=>b(x,y.props.name),navbarTab:A},h)),i.jsx(yo,{isVisible:C,onHide:L})]}):null,i.jsx("div",{className:"modalTabContent",ref:U,children:e.map((y,h)=>y.props.label!==B?null:i.jsx(xo,{children:y.props.children},`error-boundary-${h}`))})]})};async function nr(e){const A=String(e??"").trim();try{return new URL(/^[a-z][a-z0-9+.-]*:/i.test(A)?A:`https://${A}`).hostname.replace(/^www\./i,"")||A}catch{return A}}function dt(e){return/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._~#=]{1,256}\.[a-zA-Z0-9()]{1,63}\b([-a-zA-Z0-9()!@:%_.~#?&=]*)/.test(e)}function ar(e){let A=String(e??"").trim();if(!A)return null;const r=/^https?:\/\//i.exec(A);A=r?r[0].toLowerCase()+A.slice(r[0].length):`https://${A}`;try{if(!/^https?:$/.test(new URL(A).protocol))return null}catch{return null}return dt(A)?A:null}const Ho=({item:e,deleteLink:A,startEditLink:r,draggable:t=!1,onDragStart:n,onDragOver:a,onDrop:s,onDragEnd:o,isDragOver:l=!1,isDragging:c=!1})=>{let g,B=null;if(localStorage.getItem("quicklinksnewtab")==="true"&&(g="_blank",B="noopener noreferrer"),localStorage.getItem("quicklinksText")==="true")return i.jsx("a",{className:"quicklinkstext",onContextMenu:C=>A(e.key,C),href:e.url,target:g,rel:B,draggable:!1,children:e.name});const p=e.icon||gs(e.url,e.name),Q=`messageMap ${c?"dragging":""} ${l?"drag-over":""}`;return i.jsxs("div",{className:Q,draggable:t,onDragStart:C=>n&&n(C,e.key),onDragOver:C=>a&&a(C,e.key),onDrop:C=>s&&s(C,e.key),onDragEnd:C=>o&&o(C),children:[i.jsx("div",{className:"dragHandle","aria-hidden":!0,children:i.jsx(Vi,{})}),i.jsx("div",{className:"icon",children:i.jsx("img",{src:p,alt:e.name,draggable:!1,style:{height:"30px",width:"30px"}})}),i.jsxs("div",{className:"messageText",children:[i.jsx("div",{className:"title",children:e.name}),i.jsx("div",{className:"subtitle",children:i.jsx("a",{className:"quicklinknostyle",target:"_blank",rel:"noopener noreferrer",href:e.url,children:e.url})})]}),i.jsx("div",{children:i.jsxs("div",{className:"messageAction",children:[i.jsx(mA,{type:"settings",onClick:()=>r(e),icon:i.jsx(us,{}),label:d.getMessage("modals.main.settings.sections.quicklinks.edit")}),i.jsx(mA,{type:"settings",onClick:C=>A(e.key,C),icon:i.jsx(ut,{}),label:d.getMessage("modals.main.marketplace.product.buttons.remove")})]})})]})};function So({appsEnabled:e}){const A=Ct(),[r,t]=E.useState({newLink:!1,edit:!1,items:JSON.parse(localStorage.getItem("applinks")),urlError:"",iconError:"",editData:null}),n=async(l,c,g)=>{const B=JSON.parse(localStorage.getItem("applinks"));if(c=ar(c),!c)return t(u=>({...u,urlError:A("widgets.quicklinks.url_error")}));if(g.length>0&&dt(g)===!1)return t(u=>({...u,iconError:A("widgets.quicklinks.icon_error")}));B.push({name:l||await nr(c),url:c,icon:g||"",key:Math.random().toString(36).substring(7)+1}),localStorage.setItem("applinks",JSON.stringify(B)),t({newLink:!1,edit:!1,items:B,urlError:"",iconError:""}),UA.emit("refresh","navbar"),d.stats.postEvent("feature","App link add")},a=l=>{t(c=>({...c,edit:!0,editData:l}))},s=async(l,c,g,B)=>{const u=JSON.parse(localStorage.getItem("applinks")),p=u.find(Q=>Q.key===l.key);if(p){if(g=ar(g),!g)return t(Q=>({...Q,urlError:A("widgets.quicklinks.url_error")}));if(B.length>0&&dt(B)===!1)return t(Q=>({...Q,iconError:A("widgets.quicklinks.icon_error")}));p.name=c||await nr(g),p.url=g,p.icon=B||"",localStorage.setItem("applinks",JSON.stringify(u)),t(Q=>({...Q,items:u,edit:!1,newLink:!1})),UA.emit("refresh","navbar")}},o=(l,c)=>{c.preventDefault();const g=JSON.parse(localStorage.getItem("applinks")).filter(B=>B.key!==l);localStorage.setItem("applinks",JSON.stringify(g)),t(B=>({...B,items:g})),UA.emit("refresh","navbar"),d.stats.postEvent("feature","App link delete")};return i.jsxs(i.Fragment,{children:[i.jsxs(rA,{final:!0,inactive:!e,children:[i.jsx(nA,{title:A("widgets.navbar.apps.title"),subtitle:A("modals.main.settings.sections.appearance.navbar.apps_subtitle")}),i.jsx(cA,{children:i.jsx(mA,{type:"settings",onClick:()=>t(l=>({...l,newLink:!0})),icon:i.jsx(on,{}),label:A("modals.main.settings.sections.quicklinks.add_link")})})]}),i.jsx("div",{className:"messagesContainer",children:r.items.map((l,c)=>i.jsx(Ho,{item:l,startEditLink:()=>a(l),deleteLink:(g,B)=>o(g,B)},c))}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>t(l=>({...l,newLink:!1,edit:!1})),isOpen:r.edit||r.newLink,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(Bs,{urlError:r.urlError,iconError:r.iconError,addLink:(l,c,g)=>n(l,c,g),editLink:(l,c,g,B)=>s(l,c,g,B),edit:r.edit,editData:r.editData,closeModal:()=>t(l=>({...l,newLink:!1,edit:!1}))})})]})}function Lo(){const e=Ct(),[A,r]=E.useState(localStorage.getItem("refresh")==="true"),[t,n]=E.useState(localStorage.getItem("appsEnabled")==="true"||!1),a="modals.main.settings.sections.appearance.navbar",s=()=>i.jsxs(rA,{final:!1,children:[i.jsx(nA,{title:e("modals.main.settings.additional_settings"),subtitle:e("modals.main.settings.sections.appearance.navbar.additional")}),i.jsx(cA,{children:i.jsx(QA,{name:"navbarHover",text:e(`${a}.hover`),category:"navbar"})})]}),o=()=>{const c=({icon:B,messageKey:u,settingName:p})=>{const[Q,C]=E.useState(localStorage.getItem(p)!=="true"),I=()=>{localStorage.setItem(p,Q),p==="refresh"?r(!A):p==="appsEnabled"&&n(!t),C(!Q),d.stats.postEvent("setting",`${p} ${Q?"disabled":"enabled"}`),UA.emit("refresh","navbar")};return i.jsxs("button",{onClick:I,className:`navbarButtonOption ${Q===!0?"disabled":""}`,children:[B,i.jsx("span",{className:"subtitle",children:e(u)})]})},g=[{icon:i.jsx(Pi,{}),settingName:"view",messageKey:"modals.main.settings.sections.background.buttons.view"},{icon:i.jsx(Xi,{}),settingName:"notesEnabled",messageKey:`${a}.notes`},{icon:i.jsx(Ji,{}),settingName:"todoEnabled",messageKey:"widgets.navbar.todo.title"},{icon:i.jsx(fe,{}),settingName:"refresh",messageKey:`${a}.refresh`},{icon:i.jsx(Wi,{}),settingName:"appsEnabled",messageKey:"widgets.navbar.apps.title"}];return i.jsxs(rA,{children:[i.jsx(nA,{title:e("modals.main.settings.sections.appearance.navbar.widgets")}),i.jsx(cA,{children:i.jsx("div",{className:"navbarButtonOptions",children:g.map((B,u)=>i.jsx(c,{...B},u))})})]})},l=()=>i.jsxs(rA,{final:!1,inactive:!A,children:[i.jsx(nA,{title:e(`${a}.refresh`),subtitle:e("modals.main.settings.sections.appearance.navbar.refresh_subtitle")}),i.jsx(cA,{children:i.jsx(KA,{name:"refreshOption",category:"navbar",items:[{value:"page",text:e("modals.main.settings.sections.appearance.navbar.refresh_options.page")},{value:"background",text:e("modals.main.settings.sections.background.title")}]})})]});return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:e(`${a}.title`),setting:"navbar",category:"widgets",zoomSetting:"zoomNavbar",zoomCategory:"navbar"}),i.jsx(s,{}),i.jsx(o,{}),i.jsx(l,{}),i.jsx(So,{appsEnabled:t})]})}const ko=E.memo(Lo),Zn=[{id:"widgets.greeting.christmas",name:"Merry Christmas",month:12,date:25},{id:"widgets.greeting.newyear",name:"Happy New Year",month:1,date:1},{id:"widgets.greeting.halloween",name:"Happy Halloween",month:10,date:31}],Mo=e=>{const[A,r,t]=String(e).split("-").map(Number);return A&&r&&t?new Date(A,r-1,t):new Date},Ko=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,To=({currentSubSection:e,onSubSectionChange:A,sectionName:r})=>{const[t,n]=E.useState(JSON.parse(localStorage.getItem("customEvents"))||[]),[a,s]=E.useState(()=>{const h=localStorage.getItem("birthday");return h?new Date(h):new Date}),[o,l]=E.useState(localStorage.getItem("birthdayenabled")==="true"?"preferences":"preferencesInactive"),[c,g]=E.useState(localStorage.getItem("events")==="true"?"preferences":"preferencesInactive"),B=h=>{const x=h.target.value?Mo(h.target.value):new Date;localStorage.setItem("birthday",x),s(x)},u="modals.main.settings.sections.greeting",p=()=>{const h=JSON.parse(localStorage.getItem("customEvents"))||[],x={id:"widgets.greeting.halloween",name:"",month:1,date:1},K=[...h,x];h.push(x),localStorage.setItem("customEvents",JSON.stringify(h)),n(K)},Q=h=>{const x=t.filter((K,k)=>k!==h);localStorage.setItem("customEvents",JSON.stringify(x)),n(x)},C=()=>{localStorage.setItem("customEvents",JSON.stringify(Zn)),n(Zn),GA(d.getMessage("toasts.reset"))},I=(h,x)=>{n(k=>{const R=[...k];return R[h]=x,R});const K=JSON.parse(localStorage.getItem("customEvents")||"[]");K[h]=x,localStorage.setItem("customEvents",JSON.stringify(K))},U=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.additional_settings"),subtitle:d.getMessage(`${u}.additional`)}),i.jsxs(cA,{children:[i.jsx(QA,{name:"defaultGreetingMessage",text:d.getMessage(`${u}.default`),category:"greeting"}),i.jsx(tr,{title:d.getMessage(`${u}.name`),name:"greetingName",category:"greeting"})]})]}),b=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage(`${u}.birthday`),subtitle:d.getMessage("modals.main.settings.sections.greeting.birthday_subtitle")}),i.jsxs(cA,{children:[i.jsx(ds,{name:"birthdayenabled",text:d.getMessage("modals.main.settings.enabled"),category:"greeting",onChange:h=>{l(h?"preferences":"preferencesInactive")}}),i.jsxs("div",{className:o,children:[i.jsx(QA,{name:"birthdayage",text:d.getMessage(`${u}.birthday_age`),category:"greeting"}),i.jsx("p",{style:{marginRight:"auto"},children:d.getMessage(`${u}.birthday_date`)}),i.jsx("input",{type:"date",onChange:B,value:Ko(a),required:!0})]})]})]}),L=()=>i.jsxs("div",{className:c,children:[i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${u}.custom`)}),i.jsx(cA,{children:i.jsxs("div",{className:"headerActions",children:[i.jsx(mA,{type:"settings",onClick:C,icon:i.jsx(fe,{}),label:d.getMessage("modals.main.settings.buttons.reset")}),i.jsx(mA,{type:"settings",onClick:p,icon:i.jsx(er,{}),label:d.getMessage("widgets.quicklinks.add")})]})})]}),i.jsx("div",{className:"messagesContainer",children:t.map((h,x)=>i.jsxs("div",{className:"messageMap",children:[i.jsxs("div",{className:"flexGrow",children:[i.jsx("div",{className:"icon",children:i.jsx(Hr,{})}),i.jsxs("div",{className:"messageText",children:[i.jsx("span",{className:"subtitle",children:d.getMessage(`${u}.event_name`)}),i.jsx("input",{type:"text",className:"text-field-input",value:h.name,placeholder:d.getMessage(`${u}.event_name`),onChange:K=>{const k={...h,name:K.target.value};I(x,k)}})]})]}),i.jsx("div",{children:i.jsxs("div",{className:"messageAction",children:[i.jsxs("div",{className:"eventDateSelection",children:[i.jsxs("label",{className:"subtitle",children:[d.getMessage(`${u}.day`),":"]}),i.jsx("input",{id:"day",type:"number",min:"1",max:"31",value:h.date,onChange:K=>{const k=parseInt(K.target.value,10);if(k>=1&&k<=31){const R={...h,date:k};I(x,R)}}}),i.jsx("hr",{}),i.jsxs("label",{className:"subtitle",children:[d.getMessage(`${u}.month`),":"]}),i.jsx("input",{id:"month",type:"number",min:"1",max:"12",value:h.month,onChange:K=>{const k=parseInt(K.target.value,10);if(k>=1&&k<=12){const R={...h,month:k};I(x,R)}}})]}),i.jsx(mA,{type:"settings",onClick:()=>Q(x),icon:i.jsx(ut,{}),label:d.getMessage("modals.main.marketplace.product.buttons.remove")})]})})]},x))}),t.length===0&&i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Hr,{}),i.jsx("span",{className:"title",children:d.getMessage(`${u}.no_events`)}),i.jsx("span",{className:"subtitle",children:d.getMessage(`${u}.no_events_description`)}),i.jsx(mA,{type:"settings",onClick:p,icon:i.jsx(er,{}),label:d.getMessage(`${u}.add_event`)})]})})]}),S=e==="events";let y;return S?y=i.jsx(TA,{title:d.getMessage(`${u}.title`),secondaryTitle:d.getMessage(`${u}.events.title`),goBack:()=>A(null,r),report:!1}):y=i.jsx(TA,{title:d.getMessage(`${u}.title`),setting:"greeting",category:"widgets",zoomSetting:"zoomGreeting",visibilityToggle:!0}),i.jsxs(i.Fragment,{children:[y,S?i.jsxs(i.Fragment,{children:[i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage(`${u}.events`),subtitle:d.getMessage(`${u}.enable_events`)}),i.jsx(cA,{children:i.jsx(QA,{name:"events",text:d.getMessage(`${u}.events`),category:"greeting",onChange:h=>{g(h?"preferences":"preferencesInactive")}})})]}),b(),L()]}):i.jsxs(Qt,{setting:"greeting",zoomSetting:"zoomGreeting",category:"greeting",visibilityToggle:!0,children:[i.jsx(U,{}),i.jsx(Kn,{title:d.getMessage(`${u}.events`),subtitle:d.getMessage(`${u}.events_description`),onClick:()=>A("events",r),icon:i.jsx(Hr,{})})]})]})},Do=()=>{const[e,A]=E.useState(localStorage.getItem("timeType")||"digital"),[r,t]=E.useState(localStorage.getItem("hourColour")||"#ffffff"),[n,a]=E.useState(localStorage.getItem("minuteColour")||"#ffffff"),[s,o]=E.useState(localStorage.getItem("secondColour")||"#ffffff"),l="modals.main.settings.sections.time",c=(C,I)=>{const U=I.target.value;C==="hourColour"?t(U):C==="minuteColour"?a(U):C==="secondColour"&&o(U),localStorage.setItem(C,U)},g=()=>i.jsxs(rA,{final:e==="percentageComplete",children:[i.jsx(nA,{title:d.getMessage(`${l}.type`),subtitle:d.getMessage(`${l}.type_subtitle`)}),i.jsx(cA,{children:i.jsx(KA,{name:"timeType",onChange:C=>A(C),category:"clock",items:[{value:"digital",text:d.getMessage(`${l}.digital.title`)},{value:"analogue",text:d.getMessage(`${l}.analogue.title`)},{value:"percentageComplete",text:d.getMessage(`${l}.percentage_complete`)},{value:"verticalClock",text:d.getMessage(`${l}.vertical_clock.title`)}]})})]}),B=i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${l}.digital.title`),subtitle:d.getMessage(`${l}.digital.subtitle`)}),i.jsxs(cA,{children:[i.jsx(ln,{name:"timeformat",options:[{name:d.getMessage(`${l}.digital.twentyfourhour`),value:"twentyfourhour"},{name:d.getMessage(`${l}.digital.twelvehour`),value:"twelvehour"}],smallTitle:!0,category:"clock"}),i.jsx(QA,{name:"seconds",text:d.getMessage(`${l}.digital.seconds`),category:"clock"}),i.jsx(QA,{name:"zero",text:d.getMessage(`${l}.digital.zero`),category:"clock"})]})]}),u=i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${l}.analogue.title`),subtitle:d.getMessage(`${l}.analogue.subtitle`)}),i.jsxs(cA,{children:[i.jsx(QA,{name:"secondHand",text:d.getMessage(`${l}.analogue.second_hand`),category:"clock"}),i.jsx(QA,{name:"minuteHand",text:d.getMessage(`${l}.analogue.minute_hand`),category:"clock"}),i.jsx(QA,{name:"hourHand",text:d.getMessage(`${l}.analogue.hour_hand`),category:"clock"}),i.jsx(QA,{name:"hourMarks",text:d.getMessage(`${l}.analogue.hour_marks`),category:"clock"}),i.jsx(QA,{name:"minuteMarks",text:d.getMessage(`${l}.analogue.minute_marks`),category:"clock"}),i.jsx(QA,{name:"roundClock",text:d.getMessage(`${l}.analogue.round_clock`),category:"clock"})]})]}),p=i.jsxs(i.Fragment,{children:[i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.vertical_clock.change_hour_colour")}),i.jsxs(cA,{children:[i.jsxs("div",{className:"colourInput",children:[i.jsx("input",{type:"color",name:"hourColour",className:"minuteColour",onChange:C=>c("hourColour",C),value:r}),i.jsx("label",{htmlFor:"hourColour",className:"customBackgroundHex",children:r})]}),i.jsxs("span",{className:"link",onClick:()=>c("hourColour",{target:{value:"#ffffff"}}),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})]})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.vertical_clock.change_minute_colour")}),i.jsxs(cA,{children:[i.jsxs("div",{className:"colourInput",children:[i.jsx("input",{type:"color",name:"minuteColour",className:"minuteColour",onChange:C=>c("minuteColour",C),value:n}),i.jsx("label",{htmlFor:"minuteColour",className:"customBackgroundHex",children:n})]}),i.jsxs("span",{className:"link",onClick:()=>c("minuteColour",{target:{value:"#ffffff"}}),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})]})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.vertical_clock.change_second_colour")}),i.jsxs(cA,{children:[i.jsxs("div",{className:"colourInput",children:[i.jsx("input",{type:"color",name:"secondColour",className:"secondColour",onChange:C=>c("secondColour",C),value:s}),i.jsx("label",{htmlFor:"secondColour",className:"customBackgroundHex",children:s})]}),i.jsxs("span",{className:"link",onClick:()=>c("secondColour",{target:{value:"#ffffff"}}),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})]})]}),B]}),Q=()=>{switch(e){case"digital":return B;case"analogue":return u;case"verticalClock":return p;default:return null}};return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage(`${l}.title`),setting:"time",category:"widgets",zoomSetting:"zoomClock",visibilityToggle:!0}),i.jsxs(Qt,{setting:"time",zoomSetting:"zoomClock",category:"clock",visibilityToggle:!0,children:[i.jsx(g,{}),Q()]})]})};function Oo(){const[e,A]=E.useState(localStorage.getItem("dateType")||"long"),r=["DMY","MDY","YMD"],t=i.jsxs(i.Fragment,{children:[i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.date.long_format"),name:"longFormat",category:"date",items:r.map(a=>({value:a,text:a}))}),i.jsx(QA,{name:"dayofweek",text:d.getMessage("modals.main.settings.sections.date.day_of_week"),category:"date"}),i.jsx(QA,{name:"datenth",text:d.getMessage("modals.main.settings.sections.date.datenth"),category:"date"})]}),n=i.jsxs(i.Fragment,{children:[i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.date.short_format"),name:"dateFormat",category:"date",items:r.map(a=>({value:a,text:a}))}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.date.short_separator.title"),name:"shortFormat",category:"date",items:[{value:"dash",text:d.getMessage("modals.main.settings.sections.date.short_separator.dash")},{value:"dots",text:d.getMessage("modals.main.settings.sections.date.short_separator.dots")},{value:"gaps",text:d.getMessage("modals.main.settings.sections.date.short_separator.gaps")},{value:"slashes",text:d.getMessage("modals.main.settings.sections.date.short_separator.slashes")}]})]});return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.date.title"),setting:"date",category:"widgets",zoomSetting:"zoomDate",visibilityToggle:!0}),i.jsxs(Qt,{setting:"date",visibilityToggle:!0,category:"date",zoomSetting:"zoomDate",children:[i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.type"),subtitle:d.getMessage("modals.main.settings.sections.date.type.subtitle")}),i.jsx(cA,{children:i.jsx(KA,{name:"dateType",onChange:a=>{A(a),localStorage.setItem("dateType",a)},category:"date",items:[{value:"long",text:d.getMessage("modals.main.settings.sections.date.type.long")},{value:"short",text:d.getMessage("modals.main.settings.sections.date.type.short")}]})})]}),i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:e==="long"?d.getMessage("modals.main.settings.sections.date.type.long"):d.getMessage("modals.main.settings.sections.date.type.short"),subtitle:d.getMessage("modals.main.settings.sections.date.type_settings")}),i.jsxs(cA,{children:[e==="long"?t:n,i.jsx(QA,{name:"weeknumber",text:d.getMessage("modals.main.settings.sections.date.week_number"),category:"date"}),i.jsx(QA,{name:"datezero",text:d.getMessage("modals.main.settings.sections.time.digital.zero"),category:"date"})]})]})]})]})}const Ro=()=>i.jsx("div",{className:"quicklink-drag-handle","aria-hidden":"true",children:i.jsx(fs,{})}),No=({value:e,enabled:A,startEditLink:r,deleteLink:t})=>{const{attributes:n,listeners:a,setNodeRef:s,transform:o,transition:l,isDragging:c}=hs({id:e.key,disabled:!A}),g={transform:ws.Transform.toString(o),transition:l,opacity:c?.5:1},B=u=>u.icon||gs(u.url,u.name);return i.jsxs("div",{ref:s,style:g,...n,...a,className:`quicklink-item ${A?"":"disabled"}`,role:"listitem",children:[i.jsx(Ro,{}),i.jsx("div",{className:"quicklink-icon",children:i.jsx("img",{src:B(e),alt:e.name,draggable:!1})}),i.jsxs("div",{className:"quicklink-content",children:[i.jsx("div",{className:"quicklink-name",children:e.name}),i.jsx("div",{className:"quicklink-url",children:e.url})]}),i.jsxs("div",{className:"quicklink-actions",children:[i.jsxs("button",{className:"quicklink-action-btn",onClick:u=>{A&&(u.stopPropagation(),r(e))},title:"Edit",disabled:!A,"aria-disabled":!A,children:[i.jsx(us,{}),i.jsx("span",{children:"Edit"})]}),i.jsxs("button",{className:"quicklink-action-btn quicklink-remove-btn",onClick:u=>{A&&(u.stopPropagation(),t(e.key,u))},title:"Remove",disabled:!A,"aria-disabled":!A,children:[i.jsx(Yi,{}),i.jsx("span",{children:"Remove"})]})]})]})},_o=({items:e,enabled:A,onDragEnd:r,startEditLink:t,deleteLink:n})=>{const a=ps(rr(ms,{activationConstraint:{distance:6}}),rr(Qs,{coordinateGetter:Cs}));return i.jsx(vs,{sensors:a,collisionDetection:Us,onDragEnd:r,children:i.jsx(Fs,{items:e.map(s=>s.key),strategy:bs,children:i.jsx("div",{className:"quicklinks-list",role:"list",children:e.map(s=>i.jsx(No,{value:s,enabled:A,startEditLink:t,deleteLink:n},s.key))})})})},Pe=()=>{try{const e=localStorage.getItem("quicklinks");if(!e)return[];const A=JSON.parse(e);return Array.isArray(A)?A:[]}catch(e){return console.warn("Failed to parse quicklinks from localStorage. Resetting to []",e),[]}},Go=()=>{const[e,A]=E.useState(Pe()),[r,t]=E.useState(!1),[n,a]=E.useState(""),[s,o]=E.useState(""),[l,c]=E.useState(!1),[g,B]=E.useState(""),[u,p]=E.useState(localStorage.getItem("quicklinksenabled")!=="false"),Q=E.useRef(),C=E.useRef(!1),I=R=>{if(!Q||!Q.current)return;const O=Q.current;O.classList.toggle("disabled",!R),R?O.removeAttribute("aria-hidden"):O.setAttribute("aria-hidden","true")},U=(R,O)=>{O.preventDefault();const D=Pe().filter(z=>z.key!==R);C.current=!0,localStorage.setItem("quicklinks",JSON.stringify(D)),A(D),d.stats.postEvent("feature","Quicklink delete"),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)},b=async(R,O,Z)=>{const D=Pe();if(O=ar(O),!O){a(d.getMessage("widgets.quicklinks.url_error"));return}if(Z.length>0&&dt(Z)===!1){o(d.getMessage("widgets.quicklinks.url_error"));return}const z={name:R||await nr(O),url:O,icon:Z||"",key:Date.now().toString()+Math.random().toString(36).substring(2)};D.push(z),C.current=!0,localStorage.setItem("quicklinks",JSON.stringify(D)),A(D),t(!1),a(""),o(""),d.stats.postEvent("feature","Quicklink add"),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)},L=R=>{c(!0),B(R),t(!0)},S=async(R,O,Z,D)=>{const z=Pe(),eA=z.find(tA=>tA.key===R.key);if(eA){if(Z=ar(Z),!Z){a(d.getMessage("widgets.quicklinks.url_error"));return}if(D.length>0&&dt(D)===!1){o(d.getMessage("widgets.quicklinks.url_error"));return}eA.name=O||await nr(Z),eA.url=Z,eA.icon=D||"",C.current=!0,localStorage.setItem("quicklinks",JSON.stringify(z)),A(z),t(!1),c(!1),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)}},y=R=>{const{active:O,over:Z}=R;if(!Z||!u||O.id===Z.id)return;const D=e.findIndex(tA=>tA.key===O.id),z=e.findIndex(tA=>tA.key===Z.id);if(D===-1||z===-1)return;const eA=Es(e,D,z);C.current=!0,A(eA),localStorage.setItem("quicklinks",JSON.stringify(eA)),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)};E.useEffect(()=>{I(u)},[u]),E.useEffect(()=>{I(u);const R=O=>{if(O!=="quicklinks"||C.current)return;const Z=localStorage.getItem("quicklinksenabled")!=="false",D=Pe(),z=e||[],eA=z.length===D.length&&z.every(tA=>D.some(AA=>AA.key===tA.key));(Z!==u||!eA)&&(I(Z),A(D),p(Z))};return UA.on("refresh",R),()=>{UA.off("refresh",R)}},[u,e]);const h="modals.main.settings.sections.quicklinks",x=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.additional_settings"),subtitle:d.getMessage(`${h}.additional`)}),i.jsxs(cA,{children:[i.jsx(QA,{name:"quicklinksnewtab",text:d.getMessage(`${h}.open_new`),category:"quicklinks"}),i.jsx(QA,{name:"quicklinkstooltip",text:d.getMessage(`${h}.tooltip`),category:"quicklinks"})]})]}),K=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage(`${h}.styling`),subtitle:d.getMessage("modals.main.settings.sections.quicklinks.styling_description")}),i.jsx(cA,{children:i.jsx(KA,{label:d.getMessage(`${h}.style`),name:"quickLinksStyle",category:"quicklinks",items:[{value:"icon",text:d.getMessage(`${h}.options.icon`)},{value:"text",text:d.getMessage(`${h}.options.text_only`)},{value:"metro",text:d.getMessage(`${h}.options.metro`)}]})})]}),k=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${h}.title`)}),i.jsx(cA,{children:i.jsx(mA,{type:"settings",onClick:()=>u&&t(!0),icon:i.jsx(on,{}),label:d.getMessage(`${h}.add_link`),disabled:!u})})]});return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage(`${h}.title`),setting:"quicklinksenabled",category:"widgets",zoomSetting:"zoomQuicklinks",visibilityToggle:!0}),i.jsxs(Qt,{setting:"quicklinksenabled",category:"quicklinks",visibilityToggle:!0,zoomSetting:"zoomQuicklinks",children:[i.jsx(x,{}),i.jsx(K,{}),i.jsx(k,{}),e.length===0&&i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Zi,{}),i.jsx("span",{className:"title",children:d.getMessage(`${h}.no_quicklinks`)}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.message.add_some")}),i.jsx(mA,{type:"settings",onClick:()=>t(!0),icon:i.jsx(on,{}),label:d.getMessage(`${h}.add_link`)})]})})]}),i.jsx("div",{className:`quicklinks-container ${u?"":"disabled"}`,ref:Q,"aria-hidden":!u,children:i.jsx("div",{className:`messagesContainer ${u?"":"disabled"}`,children:i.jsx(_o,{items:e,enabled:u,onDragEnd:y,startEditLink:R=>L(R),deleteLink:(R,O)=>U(R,O)})})}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>{t(!1),a(""),o(""),c(!1),B("")},isOpen:r,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(Bs,{urlError:n,iconError:s,addLink:(R,O,Z)=>b(R,O,Z),editLink:(R,O,Z,D)=>S(R,O,Z,D),edit:l,editData:g,closeModal:()=>{t(!1),a(""),o(""),c(!1)}})})]})},jo=()=>{const[e,A]=E.useState(JSON.parse(localStorage.getItem("messages"))||[]),r=(a,s)=>{const o=[...e];a==="add"?o.push(""):o.splice(s,1),A(o),localStorage.setItem("messages",JSON.stringify(o)),UA.emit("refresh","message")},t=(a,s,o)=>{const l=a.target.value,c=[...e];c[o]=l,A(c),localStorage.setItem("messages",JSON.stringify(c)),os()},n="modals.main.settings.sections.message";return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage(`${n}.title`),setting:"message",category:"widgets",zoomSetting:"zoomMessage",visibilityToggle:!0}),i.jsxs(Qt,{setting:"message",visibilityToggle:!0,category:"message",zoomSetting:"zoomMessage",children:[i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${n}.messages`)}),i.jsx(cA,{children:i.jsx(mA,{type:"settings",onClick:()=>r("add"),icon:i.jsx(er,{}),label:d.getMessage(`${n}.add`)})})]}),i.jsx("div",{className:"messagesContainer",children:e.map((a,s)=>i.jsxs("div",{className:"messageMap",children:[i.jsxs("div",{className:"flexGrow",children:[i.jsx("div",{className:"icon",children:i.jsx(Pn,{})}),i.jsxs("div",{className:"messageText",children:[i.jsx("span",{className:"subtitle",children:d.getMessage(`${n}.title`)}),i.jsx(zi,{value:e[s],placeholder:d.getMessage("modals.main.settings.sections.message.content"),onChange:o=>t(o,!0,s),minRows:2})]})]}),i.jsx("div",{children:i.jsx("div",{className:"messageAction",children:i.jsx(mA,{type:"settings",onClick:()=>r("remove",s),icon:i.jsx(ut,{}),label:d.getMessage("modals.main.marketplace.product.buttons.remove")})})})]},s))}),e.length===0&&i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Pn,{}),i.jsx("span",{className:"title",children:d.getMessage(`${n}.no_messages`)}),i.jsx("span",{className:"subtitle",children:d.getMessage(`${n}.add_some`)}),i.jsx(mA,{type:"settings",onClick:()=>r("add"),icon:i.jsx(er,{}),label:d.getMessage(`${n}.add`)})]})})]})]})};var Sr={exports:{}},zn;function Vo(){return zn||(zn=1,(function(e){(function(A){var r=/^\s+/,t=/\s+$/,n=0,a=A.round,s=A.min,o=A.max,l=A.random;function c(f,v){if(f=f||"",v=v||{},f instanceof c)return f;if(!(this instanceof c))return new c(f,v);var w=g(f);this._originalInput=f,this._r=w.r,this._g=w.g,this._b=w.b,this._a=w.a,this._roundA=a(100*this._a)/100,this._format=v.format||w.format,this._gradientType=v.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=w.ok,this._tc_id=n++}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var f=this.toRgb();return(f.r*299+f.g*587+f.b*114)/1e3},getLuminance:function(){var f=this.toRgb(),v,w,T,W,P,oA;return v=f.r/255,w=f.g/255,T=f.b/255,v<=.03928?W=v/12.92:W=A.pow((v+.055)/1.055,2.4),w<=.03928?P=w/12.92:P=A.pow((w+.055)/1.055,2.4),T<=.03928?oA=T/12.92:oA=A.pow((T+.055)/1.055,2.4),.2126*W+.7152*P+.0722*oA},setAlpha:function(f){return this._a=aA(f),this._roundA=a(100*this._a)/100,this},toHsv:function(){var f=Q(this._r,this._g,this._b);return{h:f.h*360,s:f.s,v:f.v,a:this._a}},toHsvString:function(){var f=Q(this._r,this._g,this._b),v=a(f.h*360),w=a(f.s*100),T=a(f.v*100);return this._a==1?"hsv("+v+", "+w+"%, "+T+"%)":"hsva("+v+", "+w+"%, "+T+"%, "+this._roundA+")"},toHsl:function(){var f=u(this._r,this._g,this._b);return{h:f.h*360,s:f.s,l:f.l,a:this._a}},toHslString:function(){var f=u(this._r,this._g,this._b),v=a(f.h*360),w=a(f.s*100),T=a(f.l*100);return this._a==1?"hsl("+v+", "+w+"%, "+T+"%)":"hsla("+v+", "+w+"%, "+T+"%, "+this._roundA+")"},toHex:function(f){return I(this._r,this._g,this._b,f)},toHexString:function(f){return"#"+this.toHex(f)},toHex8:function(f){return U(this._r,this._g,this._b,this._a,f)},toHex8String:function(f){return"#"+this.toHex8(f)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(q(this._r,255)*100)+"%",g:a(q(this._g,255)*100)+"%",b:a(q(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+a(q(this._r,255)*100)+"%, "+a(q(this._g,255)*100)+"%, "+a(q(this._b,255)*100)+"%)":"rgba("+a(q(this._r,255)*100)+"%, "+a(q(this._g,255)*100)+"%, "+a(q(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:AA[I(this._r,this._g,this._b,!0)]||!1},toFilter:function(f){var v="#"+b(this._r,this._g,this._b,this._a),w=v,T=this._gradientType?"GradientType = 1, ":"";if(f){var W=c(f);w="#"+b(W._r,W._g,W._b,W._a)}return"progid:DXImageTransform.Microsoft.gradient("+T+"startColorstr="+v+",endColorstr="+w+")"},toString:function(f){var v=!!f;f=f||this._format;var w=!1,T=this._a<1&&this._a>=0,W=!v&&T&&(f==="hex"||f==="hex6"||f==="hex3"||f==="hex4"||f==="hex8"||f==="name");return W?f==="name"&&this._a===0?this.toName():this.toRgbString():(f==="rgb"&&(w=this.toRgbString()),f==="prgb"&&(w=this.toPercentageRgbString()),(f==="hex"||f==="hex6")&&(w=this.toHexString()),f==="hex3"&&(w=this.toHexString(!0)),f==="hex4"&&(w=this.toHex8String(!0)),f==="hex8"&&(w=this.toHex8String()),f==="name"&&(w=this.toName()),f==="hsl"&&(w=this.toHslString()),f==="hsv"&&(w=this.toHsvString()),w||this.toHexString())},clone:function(){return c(this.toString())},_applyModification:function(f,v){var w=f.apply(null,[this].concat([].slice.call(v)));return this._r=w._r,this._g=w._g,this._b=w._b,this.setAlpha(w._a),this},lighten:function(){return this._applyModification(h,arguments)},brighten:function(){return this._applyModification(x,arguments)},darken:function(){return this._applyModification(K,arguments)},desaturate:function(){return this._applyModification(L,arguments)},saturate:function(){return this._applyModification(S,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(k,arguments)},_applyCombination:function(f,v){return f.apply(null,[this].concat([].slice.call(v)))},analogous:function(){return this._applyCombination(z,arguments)},complement:function(){return this._applyCombination(R,arguments)},monochromatic:function(){return this._applyCombination(eA,arguments)},splitcomplement:function(){return this._applyCombination(D,arguments)},triad:function(){return this._applyCombination(O,arguments)},tetrad:function(){return this._applyCombination(Z,arguments)}},c.fromRatio=function(f,v){if(typeof f=="object"){var w={};for(var T in f)f.hasOwnProperty(T)&&(T==="a"?w[T]=f[T]:w[T]=F(f[T]));f=w}return c(f,v)};function g(f){var v={r:0,g:0,b:0},w=1,T=null,W=null,P=null,oA=!1,hA=!1;return typeof f=="string"&&(f=$(f)),typeof f=="object"&&(J(f.r)&&J(f.g)&&J(f.b)?(v=B(f.r,f.g,f.b),oA=!0,hA=String(f.r).substr(-1)==="%"?"prgb":"rgb"):J(f.h)&&J(f.s)&&J(f.v)?(T=F(f.s),W=F(f.v),v=C(f.h,T,W),oA=!0,hA="hsv"):J(f.h)&&J(f.s)&&J(f.l)&&(T=F(f.s),P=F(f.l),v=p(f.h,T,P),oA=!0,hA="hsl"),f.hasOwnProperty("a")&&(w=f.a)),w=aA(w),{ok:oA,format:f.format||hA,r:s(255,o(v.r,0)),g:s(255,o(v.g,0)),b:s(255,o(v.b,0)),a:w}}function B(f,v,w){return{r:q(f,255)*255,g:q(v,255)*255,b:q(w,255)*255}}function u(f,v,w){f=q(f,255),v=q(v,255),w=q(w,255);var T=o(f,v,w),W=s(f,v,w),P,oA,hA=(T+W)/2;if(T==W)P=oA=0;else{var vA=T-W;switch(oA=hA>.5?vA/(2-T-W):vA/(T+W),T){case f:P=(v-w)/vA+(v<w?6:0);break;case v:P=(w-f)/vA+2;break;case w:P=(f-v)/vA+4;break}P/=6}return{h:P,s:oA,l:hA}}function p(f,v,w){var T,W,P;f=q(f,360),v=q(v,100),w=q(w,100);function oA(jA,je,YA){return YA<0&&(YA+=1),YA>1&&(YA-=1),YA<1/6?jA+(je-jA)*6*YA:YA<1/2?je:YA<2/3?jA+(je-jA)*(2/3-YA)*6:jA}if(v===0)T=W=P=w;else{var hA=w<.5?w*(1+v):w+v-w*v,vA=2*w-hA;T=oA(vA,hA,f+1/3),W=oA(vA,hA,f),P=oA(vA,hA,f-1/3)}return{r:T*255,g:W*255,b:P*255}}function Q(f,v,w){f=q(f,255),v=q(v,255),w=q(w,255);var T=o(f,v,w),W=s(f,v,w),P,oA,hA=T,vA=T-W;if(oA=T===0?0:vA/T,T==W)P=0;else{switch(T){case f:P=(v-w)/vA+(v<w?6:0);break;case v:P=(w-f)/vA+2;break;case w:P=(f-v)/vA+4;break}P/=6}return{h:P,s:oA,v:hA}}function C(f,v,w){f=q(f,360)*6,v=q(v,100),w=q(w,100);var T=A.floor(f),W=f-T,P=w*(1-v),oA=w*(1-W*v),hA=w*(1-(1-W)*v),vA=T%6,jA=[w,oA,P,P,hA,w][vA],je=[hA,w,w,oA,P,P][vA],YA=[P,P,hA,w,w,oA][vA];return{r:jA*255,g:je*255,b:YA*255}}function I(f,v,w,T){var W=[G(a(f).toString(16)),G(a(v).toString(16)),G(a(w).toString(16))];return T&&W[0].charAt(0)==W[0].charAt(1)&&W[1].charAt(0)==W[1].charAt(1)&&W[2].charAt(0)==W[2].charAt(1)?W[0].charAt(0)+W[1].charAt(0)+W[2].charAt(0):W.join("")}function U(f,v,w,T,W){var P=[G(a(f).toString(16)),G(a(v).toString(16)),G(a(w).toString(16)),G(N(T))];return W&&P[0].charAt(0)==P[0].charAt(1)&&P[1].charAt(0)==P[1].charAt(1)&&P[2].charAt(0)==P[2].charAt(1)&&P[3].charAt(0)==P[3].charAt(1)?P[0].charAt(0)+P[1].charAt(0)+P[2].charAt(0)+P[3].charAt(0):P.join("")}function b(f,v,w,T){var W=[G(N(T)),G(a(f).toString(16)),G(a(v).toString(16)),G(a(w).toString(16))];return W.join("")}c.equals=function(f,v){return!f||!v?!1:c(f).toRgbString()==c(v).toRgbString()},c.random=function(){return c.fromRatio({r:l(),g:l(),b:l()})};function L(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.s-=v/100,w.s=lA(w.s),c(w)}function S(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.s+=v/100,w.s=lA(w.s),c(w)}function y(f){return c(f).desaturate(100)}function h(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.l+=v/100,w.l=lA(w.l),c(w)}function x(f,v){v=v===0?0:v||10;var w=c(f).toRgb();return w.r=o(0,s(255,w.r-a(255*-(v/100)))),w.g=o(0,s(255,w.g-a(255*-(v/100)))),w.b=o(0,s(255,w.b-a(255*-(v/100)))),c(w)}function K(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.l-=v/100,w.l=lA(w.l),c(w)}function k(f,v){var w=c(f).toHsl(),T=(w.h+v)%360;return w.h=T<0?360+T:T,c(w)}function R(f){var v=c(f).toHsl();return v.h=(v.h+180)%360,c(v)}function O(f){var v=c(f).toHsl(),w=v.h;return[c(f),c({h:(w+120)%360,s:v.s,l:v.l}),c({h:(w+240)%360,s:v.s,l:v.l})]}function Z(f){var v=c(f).toHsl(),w=v.h;return[c(f),c({h:(w+90)%360,s:v.s,l:v.l}),c({h:(w+180)%360,s:v.s,l:v.l}),c({h:(w+270)%360,s:v.s,l:v.l})]}function D(f){var v=c(f).toHsl(),w=v.h;return[c(f),c({h:(w+72)%360,s:v.s,l:v.l}),c({h:(w+216)%360,s:v.s,l:v.l})]}function z(f,v,w){v=v||6,w=w||30;var T=c(f).toHsl(),W=360/w,P=[c(f)];for(T.h=(T.h-(W*v>>1)+720)%360;--v;)T.h=(T.h+W)%360,P.push(c(T));return P}function eA(f,v){v=v||6;for(var w=c(f).toHsv(),T=w.h,W=w.s,P=w.v,oA=[],hA=1/v;v--;)oA.push(c({h:T,s:W,v:P})),P=(P+hA)%1;return oA}c.mix=function(f,v,w){w=w===0?0:w||50;var T=c(f).toRgb(),W=c(v).toRgb(),P=w/100,oA={r:(W.r-T.r)*P+T.r,g:(W.g-T.g)*P+T.g,b:(W.b-T.b)*P+T.b,a:(W.a-T.a)*P+T.a};return c(oA)},c.readability=function(f,v){var w=c(f),T=c(v);return(A.max(w.getLuminance(),T.getLuminance())+.05)/(A.min(w.getLuminance(),T.getLuminance())+.05)},c.isReadable=function(f,v,w){var T=c.readability(f,v),W,P;switch(P=!1,W=uA(w),W.level+W.size){case"AAsmall":case"AAAlarge":P=T>=4.5;break;case"AAlarge":P=T>=3;break;case"AAAsmall":P=T>=7;break}return P},c.mostReadable=function(f,v,w){var T=null,W=0,P,oA,hA,vA;w=w||{},oA=w.includeFallbackColors,hA=w.level,vA=w.size;for(var jA=0;jA<v.length;jA++)P=c.readability(f,v[jA]),P>W&&(W=P,T=c(v[jA]));return c.isReadable(f,T,{level:hA,size:vA})||!oA?T:(w.includeFallbackColors=!1,c.mostReadable(f,["#fff","#000"],w))};var tA=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},AA=c.hexNames=fA(tA);function fA(f){var v={};for(var w in f)f.hasOwnProperty(w)&&(v[f[w]]=w);return v}function aA(f){return f=parseFloat(f),(isNaN(f)||f<0||f>1)&&(f=1),f}function q(f,v){H(f)&&(f="100%");var w=j(f);return f=s(v,o(0,parseFloat(f))),w&&(f=parseInt(f*v,10)/100),A.abs(f-v)<1e-6?1:f%v/parseFloat(v)}function lA(f){return s(1,o(0,f))}function sA(f){return parseInt(f,16)}function H(f){return typeof f=="string"&&f.indexOf(".")!=-1&&parseFloat(f)===1}function j(f){return typeof f=="string"&&f.indexOf("%")!=-1}function G(f){return f.length==1?"0"+f:""+f}function F(f){return f<=1&&(f=f*100+"%"),f}function N(f){return A.round(parseFloat(f)*255).toString(16)}function M(f){return sA(f)/255}var _=(function(){var f="[-\\+]?\\d+%?",v="[-\\+]?\\d*\\.\\d+%?",w="(?:"+v+")|(?:"+f+")",T="[\\s|\\(]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")\\s*\\)?",W="[\\s|\\(]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")\\s*\\)?";return{CSS_UNIT:new RegExp(w),rgb:new RegExp("rgb"+T),rgba:new RegExp("rgba"+W),hsl:new RegExp("hsl"+T),hsla:new RegExp("hsla"+W),hsv:new RegExp("hsv"+T),hsva:new RegExp("hsva"+W),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function J(f){return!!_.CSS_UNIT.exec(f)}function $(f){f=f.replace(r,"").replace(t,"").toLowerCase();var v=!1;if(tA[f])f=tA[f],v=!0;else if(f=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var w;return(w=_.rgb.exec(f))?{r:w[1],g:w[2],b:w[3]}:(w=_.rgba.exec(f))?{r:w[1],g:w[2],b:w[3],a:w[4]}:(w=_.hsl.exec(f))?{h:w[1],s:w[2],l:w[3]}:(w=_.hsla.exec(f))?{h:w[1],s:w[2],l:w[3],a:w[4]}:(w=_.hsv.exec(f))?{h:w[1],s:w[2],v:w[3]}:(w=_.hsva.exec(f))?{h:w[1],s:w[2],v:w[3],a:w[4]}:(w=_.hex8.exec(f))?{r:sA(w[1]),g:sA(w[2]),b:sA(w[3]),a:M(w[4]),format:v?"name":"hex8"}:(w=_.hex6.exec(f))?{r:sA(w[1]),g:sA(w[2]),b:sA(w[3]),format:v?"name":"hex"}:(w=_.hex4.exec(f))?{r:sA(w[1]+""+w[1]),g:sA(w[2]+""+w[2]),b:sA(w[3]+""+w[3]),a:M(w[4]+""+w[4]),format:v?"name":"hex8"}:(w=_.hex3.exec(f))?{r:sA(w[1]+""+w[1]),g:sA(w[2]+""+w[2]),b:sA(w[3]+""+w[3]),format:v?"name":"hex"}:!1}function uA(f){var v,w;return f=f||{level:"AA",size:"small"},v=(f.level||"AA").toUpperCase(),w=(f.size||"small").toLowerCase(),v!=="AA"&&v!=="AAA"&&(v="AA"),w!=="small"&&w!=="large"&&(w="small"),{level:v,size:w}}e.exports?e.exports=c:window.tinycolor=c})(Math)})(Sr)),Sr.exports}var Po=Vo();const SA=ys(Po);var Te=function(){return Te=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Te.apply(this,arguments)},Xo=function(e,A,r){if(r||arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||Array.prototype.slice.call(A))},Jo=function(e){e===void 0&&(e="");var A={linearGradient:/^(-(webkit|o|ms|moz)-)?(linear-gradient)/i,repeatingLinearGradient:/^(-(webkit|o|ms|moz)-)?(repeating-linear-gradient)/i,radialGradient:/^(-(webkit|o|ms|moz)-)?(radial-gradient)/i,repeatingRadialGradient:/^(-(webkit|o|ms|moz)-)?(repeating-radial-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest-side|closest-corner|farthest-side|farthest-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,spacedRgbColor:/^(\d{1,3})\s+(\d{1,3})\s+(\d{1,3})\s+\/\s+([0-1](\.\d+)?)/,rgbaColor:/^rgba/i,hslColor:/^hsl/i,hsvColor:/^hsv/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/};function r(H){var j=new Error(e+": "+H);throw j}function t(H){e=e.substr(H)}function n(H){var j=/^[\n\r\t\s]+/.exec(e);j&&t(j[0].length);var G=H.exec(e);return G&&t(G[0].length),G}function a(H){var j=H(),G=[];if(j)for(G.push(j);n(A.comma);)j=H(),j?G.push(j):r("One extra comma");return G}function s(H,j,G){var F=n(j);if(F)return{type:H,value:F[G]}}function o(){var H=s("hex",A.hexColor,1);if(H?.value){var j=SA(H?.value).toRgb(),G=j.r,F=j.g,N=j.b,M=j.a;return{value:"rgba(".concat(G,", ").concat(F,", ").concat(N,", ").concat(M,")")}}}var l=function(H){var j=me(H?.[0]);return{value:"".concat(j?"RGBA":"rgba","(").concat(a(AA),")")}};function c(H,j){var G=n(H);if(G){n(A.startCall)||r("Missing (");var F=j(G);return n(A.endCall)||r("Missing )"),F}}function g(){return c(A.hslColor,fA)}function B(){return c(A.rgbaColor,l)}function u(){return c(A.rgbColor,q)}function p(){var H=s("literal",A.literalColor,0);if(H?.value){var j=SA(H?.value).toRgb(),G=j.r,F=j.g,N=j.b,M=j.a;return{value:"rgba(".concat(G,", ").concat(F,", ").concat(N,", ").concat(M,")")}}}function Q(){return c(A.hsvColor,aA)}function C(){return o()||g()||B()||u()||p()||Q()}function I(){var H,j=C();return j||r("Expected color definition"),j.left=parseInt((H=lA())===null||H===void 0?void 0:H.value),j}function U(H,j,G){return c(j,function(){var F=G();return F&&(n(A.comma)||r("Missing comma before color stops")),{type:H,orientation:F,colorStops:a(I)}})}function b(){return h()||x()}function L(){return U("linear-gradient",A.linearGradient,b)||U("repeating-linear-gradient",A.repeatingLinearGradient,b)||U("radial-gradient",A.radialGradient,K)||U("repeating-radial-gradient",A.repeatingRadialGradient,K)}function S(){return a(L)}function y(){var H,j=S();e.length>0&&r("Invalid input not EOF");var G=j[0],F=(H=G?.colorStops)===null||H===void 0?void 0:H.filter(function(M){return me(M.value)}).length,N=function(){if(F>0)return G;var M=function(_,J){return J===0?Cr(_):mt(_)};return Te(Te({},G),{colorStops:G.colorStops.map(function(_,J){return Te(Te({},_),{value:M(_,J)})})})};return N()}function h(){return s("directional",A.sideOrCorner,1)}function x(){return s("angular",A.angleValue,1)}function K(){var H,j=k(),G;return j&&(H=[],H.push(j),G=e,n(A.comma)&&(j=k(),j?H.push(j):e=G)),H}function k(){var H=O()||Z();if(H)H.at=z();else{var j=D();if(j){H=j;var G=z();G&&(H.at=G)}else{var F=eA();F&&(H={type:"default-radial",at:F})}}return H}function R(){return s("px",A.pixelValue,1)||s("em",A.emValue,1)}function O(){var H=s("shape",/^(circle)/i,0);return H&&(H.style=R()||D()),H}function Z(){var H=s("shape",/^(ellipse)/i,0);return H&&(H.style=lA()||D()),H}function D(){return s("extent-keyword",A.extentKeywords,1)}function z(){if(s("position",/^at/,0)){var H=eA();return H||r("Missing positioning value"),H}}function eA(){var H=tA();if(H.x||H.y)return{type:"position",value:H}}function tA(){return{x:lA(),y:lA()}}function AA(){return n(A.number)[1]}var fA=function(H){var j=me(H?.[0]),G=a(AA),F=SA({h:G[0],s:G[1],l:G[2],a:G[3]||1}).toRgb(),N=F.r,M=F.g,_=F.b,J=F.a;return{value:"".concat(j?"RGBA":"rgba","(").concat(N,", ").concat(M,", ").concat(_,", ").concat(J,")")}},aA=function(H){var j=me(H?.[0]),G=a(AA),F=SA({h:G[0],s:G[1],v:G[2],a:G[3]||1}).toRgb(),N=F.r,M=F.g,_=F.b,J=F.a;return{value:"".concat(j?"RGBA":"rgba","(").concat(N,", ").concat(M,", ").concat(_,", ").concat(J,")")}},q=function(H){var j=me(H?.[0]),G=n(A.spacedRgbColor),F=G||Xo([null],a(AA),!0),N=F[1],M=F[2],_=F[3],J=F[4],$=J===void 0?1:J;return{value:"".concat(j?"RGBA":"rgba","(").concat(N,", ").concat(M,", ").concat(_,", ").concat($,")")}};function lA(){return s("%",A.percentageValue,1)||sA()||R()}function sA(){return s("position-keyword",A.positionKeywords,1)}return y()},mt=function(e){return e.value.toLowerCase()},Cr=function(e){return e.value.toUpperCase()},Wo=function(e,A,r){var t=e?.includes("gradient");if(t){var n=e?.includes("conic"),a=n?r:e;n&&console.log("Sorry we cant handle conic gradients yet");var s=Jo(a);return s?.colorStops}else{var a=e||A;return[{value:a}]}},Re=function(e,A,r){return isNaN(e)||e<A?A:e>r?r:e},ee=function(e){return Math.round(e)},sr=function(){return sr=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},sr.apply(this,arguments)},Is=function(e){var A=e.target.parentNode.getBoundingClientRect(),r=e.target.className,t=r==="c-resize ps-rl"?15:0;return{offsetLeft:A?.x+t,offsetTop:A?.y,clientWidth:A?.width,clientHeight:A?.height}};function Ne(e,A){var r=Is(e),t=r.offsetLeft,n=r.clientWidth,a=e.clientX-t-A/2,s=n-18,o=Re(a,0,s);return Math.round(o/(s/100))}function Yo(e,A,r,t,n){var a=e*r-n/2,s=(100-A)/100*t-n/2;return[a,s]}var Zo=function(e){if(e.clientX)return{clientX:e.clientX,clientY:e.clientY};var A=e.touches[0]||{};return{clientX:A.clientX,clientY:A.clientY}};function zo(e,A){var r=Is(e),t=r.offsetLeft,n=r.offsetTop,a=r.clientWidth,s=r.clientHeight,o=Zo(e),l=o.clientX,c=o.clientY,g=function(){var u=l-t-A/2;return Re(u,-9,a-10)},B=function(){var u=c-n-A/2;return Re(u,-9,s-10)};return[g(),B()]}var me=function(e){var A;return e?.[0]===((A=e?.[0])===null||A===void 0?void 0:A.toUpperCase())},Hs=function(e){if(e==="to top")return 0;if(e==="to bottom")return 180;if(e==="to left")return 270;if(e==="to right")return 90;if(e==="to top right")return 45;if(e==="to bottom right")return 135;if(e==="to bottom left")return 225;if(e==="to top left")return 315;var A=e||0;return parseInt(A)},qo=function(e){var A,r,t,n,a;if(typeof e=="string")return e;if(!((A=e?.type)===null||A===void 0)&&A.includes("gradient")){var s=(r=e?.colorStops)===null||r===void 0?void 0:r.sort(function(u,p){return u?.left-p?.left}),o=(t=s?.map(function(u){return"".concat(u?.value," ").concat(u?.left,"%")}))===null||t===void 0?void 0:t.join(", "),l=e?.type,c=Hs((n=e?.orientation)===null||n===void 0?void 0:n.value),g=l==="linear-gradient"?"".concat(c,"deg"):"circle";return"".concat(l,"(").concat(g,", ").concat(o,")")}else{var B=((a=e?.colorStops[0])===null||a===void 0?void 0:a.value)||"rgba(175, 51, 242, 1)";return B}},$o=function(e,A){var r=e?.map(function(a,s){return sr(sr({},a),{index:s})}),t=r?.find(function(a){return me(a.value)}),n=t||r[0];return{currentColor:n?.value||A,selectedColor:n?.index||0,currentLeft:n?.left||0}},Al=function(e){var A,r=e?.split(",")[0],t=(A=r?.split("(")[1])===null||A===void 0?void 0:A.replace("deg","");return Hs(t)},el=function(e){var A=e?.includes("gradient"),r=e?.split("(")[0],t=Al(e),n=r==="linear-gradient"?"".concat(t,"deg"):"circle";return{degrees:t,degreeStr:n,isGradient:A,gradientType:r}},DA=function(){return DA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},DA.apply(this,arguments)},tl=function(e,A,r){if(r||arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||Array.prototype.slice.call(A))},Ss=E.createContext(null);function rl(e){var A,r,t,n,a=e.value,s=e.children,o=e.onChange,l=e.isDarkMode,c=e.squareWidth,g=e.hideOpacity,B=e.showHexAlpha,u=e.squareHeight,p=e.passedConfig,Q=e.defaultStyles,C=e.pickerIdSuffix,I={barSize:(A=p.barSize)!==null&&A!==void 0?A:Et.barSize,crossSize:(r=p.crossSize)!==null&&r!==void 0?r:Et.crossSize,defaultColor:(t=p.defaultColor)!==null&&t!==void 0?t:Et.defaultColor,defaultGradient:(n=p.defaultGradient)!==null&&n!==void 0?n:Et.defaultGradient},U=Wo(a,I.defaultColor,I.defaultGradient),b=el(a),L=b.degrees,S=b.degreeStr,y=b.isGradient,h=b.gradientType,x=$o(U,I.defaultGradient),K=x.currentColor,k=x.selectedColor,R=x.currentLeft,O=E.useState("rgb"),Z=O[0],D=O[1],z=E.useState({}),eA=z[0],tA=z[1],AA=SA(K),fA=AA.toRgb(),aA=AA.toHsv(),q=E.useState(DA(DA({},fA),aA)),lA=q[0],sA=q[1];E.useEffect(function(){aA?.s===0?sA(DA(DA(DA({},fA),aA),{h:lA?.h})):sA(DA(DA({},fA),aA))},[K]);var H=function(M){var _=M.sort(function(uA,f){return uA.left-f.left}),J=_?.map(function(uA){return"".concat(uA?.value," ").concat(uA.left,"%")}),$="".concat(h,"(").concat(S,", ").concat(J.join(", "),")");tA(DA(DA({},eA),{gradient:$})),o($)},j=function(M,_){var J=U?.filter(function(uA){return!me(uA.value)}),$=tl([{value:M.toUpperCase(),left:_??R}],J,!0);H($)},G=function(M){y?j(M):(tA(DA(DA({},eA),{color:M})),o(M))},F=function(){if(U?.length>2){var M=U?.map(function(J,$){return DA(DA({},J),{value:$===k-1?Cr(J):mt(J)})}),_=M?.filter(function(J,$){return $!==k});H(_)}},N={hc:lA,setHc:sA,value:a,colors:U,config:I,degrees:L,onChange:o,previous:eA,inputType:Z,tinyColor:AA,isDarkMode:l,isGradient:y,squareWidth:c,hideOpacity:g,currentLeft:R,deletePoint:F,showHexAlpha:B,squareHeight:u,setInputType:D,gradientType:h,handleChange:G,currentColor:K,selectedColor:k,defaultStyles:Q,handleGradient:j,pickerIdSuffix:C,createGradientStr:H};return m.createElement(Ss.Provider,{value:N},s)}function dA(){var e=E.useContext(Ss);if(!e)throw new Error("usePicker has to be used within <PickerContext.Provider>");return e}var Et={barSize:18,crossSize:18,defaultColor:"rgba(175, 51, 242, 1)",defaultGradient:"linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%)"},nl=function(e,A){E.useEffect(function(){var r,t=(r=e?.current)===null||r===void 0?void 0:r.getContext("2d",{willReadFrequently:!0});if(t){t.rect(0,0,A,14);for(var n=t.createLinearGradient(0,0,A,0),a=0;a<=360;a+=30)n.addColorStop(a/360,"hsl(".concat(a,", 100%, 50%)"));t.fillStyle=n,t.fill()}},[e,A])},al=function(e,A,r,t){E.useEffect(function(){var n,a=(n=e?.current)===null||n===void 0?void 0:n.getContext("2d",{willReadFrequently:!0});if(a){a.rect(0,0,t,14);for(var s=a.createLinearGradient(0,0,t,0),o=0;o<=100;o+=10)s.addColorStop(o/100,"hsl(".concat(A,", ").concat(o,"%, ").concat(r,"%)"));a.fillStyle=s,a.fill()}},[e,A,r,t])},sl=function(e,A,r,t){E.useEffect(function(){var n,a=(n=e?.current)===null||n===void 0?void 0:n.getContext("2d",{willReadFrequently:!0});if(a){a.rect(0,0,t,14);for(var s=a.createLinearGradient(0,0,t,0),o=0;o<=100;o+=10)s.addColorStop(o/100,"hsl(".concat(A,", ").concat(r,"%, ").concat(o,"%)"));a.fillStyle=s,a.fill()}},[e,A,r,t])},il=function(e,A,r,t){E.useEffect(function(){var n,a=(n=e?.current)===null||n===void 0?void 0:n.getContext("2d",{willReadFrequently:!0});if(a){a.rect(0,0,t,14);for(var s=a.createLinearGradient(0,0,t,0),o=0;o<=100;o+=10){var l=SA({h:A,s:r,v:o});s.addColorStop(o/100,l.toHslString())}a.fillStyle=s,a.fill()}},[e,A,r,t])},ir=function(){return ir=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},ir.apply(this,arguments)},ol=function(){var e=E.useRef(null),A=dA(),r=A.config,t=A.handleChange,n=A.squareWidth,a=A.hc,s=A.setHc,o=A.pickerIdSuffix,l=E.useState(!1),c=l[0],g=l[1],B=r.barSize;nl(e,n);var u=function(){g(!1)},p=function(){g(!0)},Q=function(U){var b=Ne(U,B)*3.6,L=SA({h:b,s:a?.s,v:a?.v}),S=L.toRgb(),y=S.r,h=S.g,x=S.b;t("rgba(".concat(y,", ").concat(h,", ").concat(x,", ").concat(a.a,")")),s(ir(ir({},a),{h:b}))},C=function(U){c&&Q(U)},I=function(U){c||Q(U)};return E.useEffect(function(){var U=function(){u()};return window.addEventListener("mouseup",U),function(){window.removeEventListener("mouseup",U)}},[]),m.createElement("div",{style:{height:14,marginTop:17,marginBottom:4,cursor:"ew-resize",position:"relative"},onMouseMove:function(U){return C(U)},id:"rbgcp-hue-wrap".concat(o)},m.createElement("div",{tabIndex:0,role:"button",style:{border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0, 0, 0, 0.5)",width:"18px",height:"18px",zIndex:1e3,transition:"all 10ms linear",position:"absolute",left:a?.h*((n-18)/360),top:-2,cursor:"ew-resize",boxSizing:"border-box"},onMouseDown:p,id:"rbgcp-hue-handle".concat(o)}),m.createElement("canvas",{ref:e,height:"14px",width:"".concat(n,"px"),onClick:function(U){return I(U)},id:"rbgcp-hue-bar".concat(o),style:{borderRadius:14,position:"relative",verticalAlign:"top"}}))};function ll(e,A,r){var t=0,n=0,a=0,s=0;if(e===null||A===null||r===null||isNaN(e)||isNaN(A)||isNaN(r))return console.log("Please enter numeric RGB values!"),{c:0,m:0,k:0,y:1};if(e<0||A<0||r<0||e>255||A>255||r>255)return console.log("RGB values must be in the range 0 to 255."),{c:0,m:0,k:0,y:1};if(e===0&&A===0&&r===0)return s=1,{c:0,m:0,k:0,y:1};t=1-e/255,n=1-A/255,a=1-r/255;var o=Math.min(t,Math.min(n,a));return t=(t-o)/(1-o),n=(n-o)/(1-o),a=(a-o)/(1-o),s=o,{c:t,m:n,y:a,k:s}}var cl=function(e){var A=e.c,r=e.m,t=e.y,n=e.k,a=255*(1-A)*(1-n),s=255*(1-r)*(1-n),o=255*(1-t)*(1-n);return{r:a,g:s,b:o}},gl=function(e){return typeof e!="number"?"FF":e<0?"00":e>1?"FF":Math.round(e*255).toString(16).padStart(2,"0").toUpperCase()},WA=function(){return WA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},WA.apply(this,arguments)},NA=function(e){var A=e.label,r=e.value,t=e.callback,n=e.max,a=n===void 0?100:n,s=e.hideOpacity,o=e.defaultStyles,l=e.pickerIdSuffix,c=E.useState(r),g=c[0],B=c[1],u=s?"25%":"20%";E.useEffect(function(){B(r)},[r]);var p=function(Q){var C=Re(parseFloat(Q.target.value),0,a);B(C),t(C)};return m.createElement("div",{style:{width:u,flexShrink:1},id:"rbgcp-".concat(A,"-input-wrapper").concat(l)},m.createElement("input",{value:g,onChange:function(Q){return p(Q)},style:WA({},o.rbgcpInput),id:"rbgcp-".concat(A,"-input").concat(l)}),m.createElement("div",{style:WA({},o.rbgcpInputLabel)},A))},ul=function(e){var A=e.opacity,r=e.tinyColor,t=e.showHexAlpha,n=e.handleChange,a=e.defaultStyles,s=e.pickerIdSuffix,o=E.useState(""),l=o[0],c=o[1],g=r.toHex(),B=E.useState(g),u=B[0],p=B[1];E.useEffect(function(){l!=="hex"&&p(g)},[r,l,g]);var Q=function(){c("hex")},C=function(){c("")},I=function(S){var y=SA(S.target.value);if(p(S.target.value),y.isValid()){var h=y.toRgb(),x=h.r,K=h.g,k=h.b,R="rgba(".concat(x,", ").concat(K,", ").concat(k,", ").concat(A,")");n(R)}},U=t?"".concat(u).concat(gl(A)):u,b=t?"HEXA":"HEX",L=t?88:76;return m.createElement("div",{style:{width:L,flexShrink:0},id:"rbgcp-hex-input-wrapper".concat(s)},m.createElement("input",{onBlur:C,onFocus:Q,onChange:function(S){return I(S)},value:U?.toUpperCase(),id:"rbgcp-hex-input".concat(s),style:WA(WA({},a.rbgcpInput),a.rbgcpHexInput)}),m.createElement("div",{style:WA({},a.rbgcpInputLabel)},b))},Bl=function(e){var A=e.hc,r=e.hideOpacity,t=e.handleChange,n=e.defaultStyles,a=e.pickerIdSuffix,s=function(o){var l=o.r,c=o.g,g=o.b;t("rgba(".concat(l,", ").concat(c,", ").concat(g,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"R",max:255,value:A?.r,hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(o){return s({r:o,g:A?.g,b:A?.b})}}),m.createElement(NA,{label:"G",max:255,value:A?.g,hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(o){return s({r:A?.r,g:o,b:A?.b})}}),m.createElement(NA,{label:"B",max:255,value:A?.b,hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(o){return s({r:A?.r,g:A?.g,b:o})}}))},dl=function(e){var A=e.hc,r=e.setHc,t=e.tinyColor,n=e.hideOpacity,a=e.handleChange,s=e.defaultStyles,o=e.pickerIdSuffix,l=t.toHsl(),c=l.s,g=l.l,B=function(p,Q,C){var I=SA({h:p,s:Q,l:C}).toRgb(),U=I.r,b=I.g,L=I.b;a("rgba(".concat(U,", ").concat(b,", ").concat(L,", ").concat(A?.a,")")),r(WA(WA({},A),{h:p}))},u=function(p){var Q=SA(p).toRgb(),C=Q.r,I=Q.g,U=Q.b;a("rgba(".concat(C,", ").concat(I,", ").concat(U,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"H",max:360,value:ee(A?.h),hideOpacity:n,defaultStyles:s,pickerIdSuffix:o,callback:function(p){return B(p,c,g)}}),m.createElement(NA,{label:"S",value:ee(c*100),hideOpacity:n,defaultStyles:s,pickerIdSuffix:o,callback:function(p){return u({h:A?.h,s:p,l:g})}}),m.createElement(NA,{label:"L",value:ee(g*100),hideOpacity:n,defaultStyles:s,pickerIdSuffix:o,callback:function(p){return u({h:A?.h,s:c,l:p})}}))},fl=function(e){var A=e.hc,r=e.setHc,t=e.hideOpacity,n=e.handleChange,a=e.defaultStyles,s=e.pickerIdSuffix,o=function(c,g,B){var u=SA({h:c,s:g,v:B}).toRgb(),p=u.r,Q=u.g,C=u.b;n("rgba(".concat(p,", ").concat(Q,", ").concat(C,", ").concat(A?.a,")")),r(WA(WA({},A),{h:c}))},l=function(c){var g=SA(c).toRgb(),B=g.r,u=g.g,p=g.b;n("rgba(".concat(B,", ").concat(u,", ").concat(p,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"H",max:360,value:ee(A?.h),hideOpacity:t,defaultStyles:a,pickerIdSuffix:s,callback:function(c){return o(c,A?.s,A?.v)}}),m.createElement(NA,{label:"S",hideOpacity:t,value:ee(A?.s*100),defaultStyles:a,pickerIdSuffix:s,callback:function(c){return l({h:A?.h,s:c,v:A?.v})}}),m.createElement(NA,{label:"V",hideOpacity:t,value:ee(A?.v*100),defaultStyles:a,pickerIdSuffix:s,callback:function(c){return l({h:A?.h,s:A?.s,v:c})}}))},hl=function(e){var A=e.hc,r=e.hideOpacity,t=e.handleChange,n=e.defaultStyles,a=e.pickerIdSuffix,s=ll(A?.r,A?.g,A?.b),o=s.c,l=s.m,c=s.y,g=s.k,B=function(u){var p=cl(u),Q=p.r,C=p.g,I=p.b;t("rgba(".concat(Q,", ").concat(C,", ").concat(I,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"C",value:ee(o*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:u/100,m:l,y:c,k:g})}}),m.createElement(NA,{label:"M",value:ee(l*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:o,m:u/100,y:c,k:g})}}),m.createElement(NA,{label:"Y",value:ee(c*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:o,m:l,y:u/100,k:g})}}),m.createElement(NA,{label:"K",value:ee(g*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:o,m:l,y:c,k:u/100})}}))},wl=function(){var e=dA(),A=e.hc,r=e.setHc,t=e.inputType,n=e.tinyColor,a=e.hideOpacity,s=e.showHexAlpha,o=e.handleChange,l=e.defaultStyles,c=e.pickerIdSuffix;return m.createElement("div",{style:WA({columnGap:6,paddingTop:14,display:"flex",justifyContent:"space-between"},l.rbgcpInputsWrap),id:"rbgcp-inputs-wrap".concat(c)},t!=="cmyk"&&m.createElement(ul,{opacity:A?.a,tinyColor:n,showHexAlpha:s,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="hsl"&&m.createElement(dl,{hc:A,setHc:r,tinyColor:n,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="rgb"&&m.createElement(Bl,{hc:A,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="hsv"&&m.createElement(fl,{hc:A,setHc:r,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="cmyk"&&m.createElement(hl,{hc:A,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),!a&&m.createElement(NA,{label:"A",hideOpacity:a,defaultStyles:l,value:Math.round(A?.a*100),pickerIdSuffix:c,callback:function(g){return o("rgba(".concat(A?.r,", ").concat(A?.g,", ").concat(A?.b,", ").concat(g/100,")"))}}))},pl=function(e,A,r,t){E.useEffect(function(){if(e.current){var n=e.current.getContext("2d",{willReadFrequently:!0});if(n){n.fillStyle="hsl(".concat(A,", 100%, 50%)"),n.fillRect(0,0,r,t);var a=n.createLinearGradient(0,0,r,0);a.addColorStop(0,"rgba(255, 255, 255, 1)"),a.addColorStop(1,"rgba(255, 255, 255, 0)"),n.fillStyle=a,n.fillRect(0,0,r,t);var s=n.createLinearGradient(0,0,0,t);s.addColorStop(0,"rgba(0, 0, 0, 0)"),s.addColorStop(1,"rgba(0, 0, 0, 1)"),n.fillStyle=s,n.fillRect(0,0,r,t)}}},[e,A,r,t])},Lr,qn;function Cl(){if(qn)return Lr;qn=1;var e="Expected a function",A=NaN,r="[object Symbol]",t=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,o=parseInt,l=typeof Ft=="object"&&Ft&&Ft.Object===Object&&Ft,c=typeof self=="object"&&self&&self.Object===Object&&self,g=l||c||Function("return this")(),B=Object.prototype,u=B.toString,p=Math.max,Q=Math.min,C=function(){return g.Date.now()};function I(h,x,K){var k,R,O,Z,D,z,eA=0,tA=!1,AA=!1,fA=!0;if(typeof h!="function")throw new TypeError(e);x=y(x)||0,b(K)&&(tA=!!K.leading,AA="maxWait"in K,O=AA?p(y(K.maxWait)||0,x):O,fA="trailing"in K?!!K.trailing:fA);function aA(M){var _=k,J=R;return k=R=void 0,eA=M,Z=h.apply(J,_),Z}function q(M){return eA=M,D=setTimeout(H,x),tA?aA(M):Z}function lA(M){var _=M-z,J=M-eA,$=x-_;return AA?Q($,O-J):$}function sA(M){var _=M-z,J=M-eA;return z===void 0||_>=x||_<0||AA&&J>=O}function H(){var M=C();if(sA(M))return j(M);D=setTimeout(H,lA(M))}function j(M){return D=void 0,fA&&k?aA(M):(k=R=void 0,Z)}function G(){D!==void 0&&clearTimeout(D),eA=0,k=z=R=D=void 0}function F(){return D===void 0?Z:j(C())}function N(){var M=C(),_=sA(M);if(k=arguments,R=this,z=M,_){if(D===void 0)return q(z);if(AA)return D=setTimeout(H,x),aA(z)}return D===void 0&&(D=setTimeout(H,x)),Z}return N.cancel=G,N.flush=F,N}function U(h,x,K){var k=!0,R=!0;if(typeof h!="function")throw new TypeError(e);return b(K)&&(k="leading"in K?!!K.leading:k,R="trailing"in K?!!K.trailing:R),I(h,x,{leading:k,maxWait:x,trailing:R})}function b(h){var x=typeof h;return!!h&&(x=="object"||x=="function")}function L(h){return!!h&&typeof h=="object"}function S(h){return typeof h=="symbol"||L(h)&&u.call(h)==r}function y(h){if(typeof h=="number")return h;if(S(h))return A;if(b(h)){var x=typeof h.valueOf=="function"?h.valueOf():h;h=b(x)?x+"":x}if(typeof h!="string")return h===0?h:+h;h=h.replace(t,"");var K=a.test(h);return K||s.test(h)?o(h.slice(2),K?2:8):n.test(h)?A:+h}return Lr=U,Lr}var Ql=Cl();const ml=ys(Ql);var ve=function(){return ve=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},ve.apply(this,arguments)},vl=function(){var e,A,r=dA(),t=r.hc,n=r.config,a=r.squareWidth,s=r.squareHeight,o=r.handleChange,l=r.defaultStyles,c=r.pickerIdSuffix,g=n.crossSize,B=E.useState(!1),u=B[0],p=B[1],Q=E.useRef(null),C=Yo(t?.s,t?.v*100,a,s,g),I=C[0],U=C[1],b=E.useState({x:I,y:U}),L=b[0],S=b[1];pl(Q,t?.h,a,s),E.useEffect(function(){u||S({x:t?.v===0?L.x:I,y:U})},[I,U]);var y=function(O){var Z=ml(function(){var D=zo(O,g),z=D[0],eA=D[1];if(z&&eA){var tA=Math.min(z+g/2,a-1),AA=Math.min(eA+g/2,s-1),fA=tA/a*100,aA=100-AA/s*100;S({x:aA===0?L?.x:z,y:eA});var q=SA("hsva(".concat(t?.h,", ").concat(fA,"%, ").concat(aA,"%, ").concat(t?.a,")"));o(q.toRgbString())}},250);Z()},h=function(){p(!1)},x=function(O){u&&y(O)},K=function(O){u||y(O)},k=function(){p(!0)},R=function(O){p(!0),y(O)};return E.useEffect(function(){var O=function(){h()};return window.addEventListener("mouseup",O),function(){window.removeEventListener("mouseup",O)}},[]),m.createElement("div",{style:{position:"relative",marginBottom:12},id:"rbgcp-square-wrapper".concat(c)},m.createElement("div",{onMouseUp:h,onTouchEnd:h,onMouseDown:R,onTouchStart:R,onMouseMove:function(O){return x(O)},id:"rbgcp-square".concat(c),style:{position:"relative",cursor:"ew-cross"}},m.createElement("div",{style:ve(ve(ve({},l.rbgcpHandle),{transform:"translate(".concat((e=L?.x)!==null&&e!==void 0?e:0,"px, ").concat((A=L?.y)!==null&&A!==void 0?A:0,"px)")}),u?{transition:""}:{}),onMouseDown:k,id:"rbgcp-square-handle".concat(c)}),m.createElement("div",{style:ve(ve({},l.rbgcpCanvasWrapper),{height:s}),id:"rbgcp-square-canvas-wrapper".concat(c),onClick:function(O){return K(O)}},m.createElement("canvas",{ref:Q,width:"".concat(a,"px"),height:"".concat(s,"px"),id:"rbgcp-square-canvas".concat(c)}))))},ce=function(){return ce=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},ce.apply(this,arguments)},Ul=function(){var e=dA(),A=e.config,r=e.hc,t=r===void 0?{}:r,n=e.squareWidth,a=e.handleChange,s=e.defaultStyles,o=e.pickerIdSuffix,l=E.useState(!1),c=l[0],g=l[1],B=t.r,u=t.g,p=t.b,Q="linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(".concat(B,",").concat(u,",").concat(p,",.5) 100%)"),C=A.barSize,I=function(){g(!1)},U=function(){g(!0)},b=function(h){var x=Ne(h,C)/100,K="rgba(".concat(B,", ").concat(u,", ").concat(p,", ").concat(x,")");a(K)},L=function(h){c&&b(h)},S=function(h){c||b(h)},y=n-18;return E.useEffect(function(){var h=function(){I()};return window.addEventListener("mouseup",h),function(){window.removeEventListener("mouseup",h)}},[]),m.createElement("div",{onMouseDown:U,onMouseMove:function(h){return L(h)},style:{height:14,marginTop:17,marginBottom:4,cursor:"ew-resize",position:"relative"},id:"rbgcp-opacity-wrapper".concat(o)},m.createElement("div",{id:"rbgcp-opacity-checkered-bg".concat(o),style:ce(ce({},s.rbgcpCheckered),{width:"100%",height:14})}),m.createElement("div",{id:"rbgcp-opacity-handle".concat(o),style:ce(ce({},s.rbgcpHandle),{left:y*t?.a,top:-2})}),m.createElement("div",{style:ce(ce({},s.rbgcpOpacityOverlay),{background:Q}),id:"rbgcp-opacity-overlay".concat(o),onClick:function(h){return S(h)}}))},Fl={CONTROLS:{SOLID:"Solid",GRADIENT:"Gradient"}},bl=["rgba(0,0,0,1)","rgba(128,128,128, 1)","rgba(192,192,192, 1)","rgba(255,255,255, 1)","rgba(0,0,128,1)","rgba(0,0,255,1)","rgba(0,255,255, 1)","rgba(0,128,0,1)","rgba(128,128,0, 1)","rgba(0,128,128,1)","rgba(0,255,0, 1)","rgba(128,0,0, 1)","rgba(128,0,128, 1)","rgba(175, 51, 242, 1)","rgba(255,0,255, 1)","rgba(255,0,0, 1)","rgba(240, 103, 46, 1)","rgba(255,255,0, 1)"],El=function(e){var A=e.presets,r=A===void 0?[]:A,t=dA(),n=t.value,a=t.onChange,s=t.isDarkMode,o=t.squareWidth,l=t.handleChange,c=t.pickerIdSuffix,g=function(){return r?.length>0?r?.slice(0,18):bl},B=function(p){p?.includes("gradient")?a(p):l(p)},u=function(p){if(!p||s)return"";var Q=p?.replace(" ","");return Q==="rgba(255,255,255,1)"?"1px solid #96959c":""};return m.createElement("div",{style:{marginTop:14,display:"flex",justifyContent:"space-between"},id:"rbgcp-footer-wrapper".concat(c)},m.createElement("div",{style:{width:50,height:50,flexShrink:0,borderRadius:6,background:n,border:u(n)},id:"rbgcp-preview".concat(c)}),m.createElement("div",{style:{rowGap:3,display:"flex",flexWrap:"wrap",width:o-57,justifyContent:"space-between"},id:"rbgcp-presets-wrapper".concat(c)},g().map(function(p,Q){return m.createElement("div",{key:"".concat(p,"-").concat(Q),id:"rbgcp-preset-".concat(Q,"-wrapper").concat(c),style:{width:"calc(100% / 9)",paddingLeft:3}},m.createElement("div",{style:{height:23.5,width:"100%",background:p,borderRadius:4,border:u(p)},onClick:function(){return B(p)},id:"rbgcp-preset-".concat(Q).concat(c)}))})))},Y=function(){return Y=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Y.apply(this,arguments)},yl=function(){var e=dA().defaultStyles,A={fill:"none",strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},m.createElement("polyline",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y({},A),e.rbgcpControlIcon),points:"17.96 4.31 2.04 4.3 3.75 4.3 4.81 17.29 5.16 17.96 5.74 18.47 6.59 18.62 13.64 18.62 14.52 18.32 15.07 17.68 15.29 17.12 16.28 4.3 12.87 4.3 12.87 2.38 12.48 1.75 11.83 1.46 8.4 1.46 7.64 1.68 7.26 2.21 7.16 2.52 7.17 4.23"}))},xl=function(e){var A=e.color,r=dA().defaultStyles,t=A??"",n={fill:"none",strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:14}},m.createElement("polyline",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"0.9 12.73 0.9 19.1 7.27 19.1 0.9 19.1 19.1 0.9 12.73 0.9 19.1 0.9 19.1 7.27"}))},Il=function(e){var A=e.color,r=dA().defaultStyles,t=A??"",n={fill:"none",strokeMiterlimit:10,strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},m.createElement("circle",{style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),cx:"10",cy:"10",r:"9"}),m.createElement("circle",{style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),cx:"10",cy:"10",r:"5"}))},Hl=function(e){var A=e.color,r=dA().defaultStyles,t=A??"",n={fill:"none",strokeWidth:"1.8px"},a={strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},m.createElement("polyline",{fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"3.74 2.75 3.74 12.69 0.9 12.71 6.59 12.71"}),m.createElement("line",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},a),r.rbgcpControlIcon),t&&{stroke:t,fill:t}),x1:"3.74",y1:"17.26",x2:"3.74",y2:"15.21"}),m.createElement("polyline",{fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"10.1 17.25 10.1 7.31 12.95 7.29 7.26 7.29"}),m.createElement("line",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},a),r.rbgcpControlIcon),t&&{stroke:t,fill:t}),x1:"10.1",y1:"2.74",x2:"10.1",y2:"4.79"}),m.createElement("polyline",{fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"16.26 2.75 16.26 12.69 13.41 12.71 19.1 12.71"}),m.createElement("line",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},a),r.rbgcpControlIcon),t&&{stroke:t,fill:t}),x1:"16.26",y1:"17.26",x2:"16.26",y2:"15.21"}))},Sl=function(e){var A=e.color,r=dA().defaultStyles,t=A??"",n={fill:"none",strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),d:"M6.35,2.72a4.85,4.85,0,0,1,1.86.16,7.94,7.94,0,0,1,.88.43,3.66,3.66,0,0,0,.85.49c.25,0,.58-.27.81-.39A8.25,8.25,0,0,1,11.7,3a4,4,0,0,1,1.79-.23,3.21,3.21,0,0,0-1.34.09,6.39,6.39,0,0,0-1.47.63c-.45.25-.7.3-.7.86s0,1.18,0,1.78c0,1.3,0,2.61,0,3.92h0v5.63a2.46,2.46,0,0,1,0,.47c-.07.28-.43.42-.7.57a5.29,5.29,0,0,1-2.94.61A9.3,9.3,0,0,0,8,17.15l1.09-.37.89-.52c.06,0,.48.21.56.25.32.14.64.27,1,.38a8.54,8.54,0,0,0,2.12.4"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),d:"M7.57,5.73C6,5.7,4.5,5.65,3,5.77a2.28,2.28,0,0,0-1.76.74A2.3,2.3,0,0,0,.94,7.83l0,3.82A4.73,4.73,0,0,0,1,12.9a1.64,1.64,0,0,0,.68,1,2.44,2.44,0,0,0,1,.27,25,25,0,0,0,4.74.09"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),d:"M12.43,14.32a44.12,44.12,0,0,0,4.6,0,2.24,2.24,0,0,0,1.76-.74,2.29,2.29,0,0,0,.27-1.32l0-3.81A4.81,4.81,0,0,0,19,7.15a1.62,1.62,0,0,0-.68-1,2.31,2.31,0,0,0-1-.28,26.8,26.8,0,0,0-4.74-.09"}))},Ll=function(e){var A=e.color,r=dA().defaultStyles,t=A??"",n={strokeMiterlimit:10,strokeWidth:"0.5px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"9.36",cy:"5.07",r:"1.71"}),m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"13.93",cy:"6.91",r:"1.71"}),m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"5.8",cy:"7.55",r:"1.71"}),m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"5.45",cy:"12.04",r:"1.71"}),m.createElement("path",{style:Y(Y(Y(Y({},n),r.rbgcpControlIcon),r.rbgcpControlIcon2),t&&{fill:t,stroke:t}),d:"M19.1,10c0,3.58-2.12,2.94-4.06,2.35-1.15-.34-2.24-.67-2.77-.08-.68.78-.54,2.07-.39,3.33.2,1.79.39,3.5-1.88,3.5A9.1,9.1,0,1,1,19.1,10ZM10,18c.7,0,.74-.19.75-.2a2.67,2.67,0,0,0,.07-1.27c0-.19,0-.42-.06-.67-.06-.53-.13-1.15-.14-1.67a3.82,3.82,0,0,1,.8-2.63,2.14,2.14,0,0,1,1.45-.7,4.36,4.36,0,0,1,1.32.12c.39.08.8.21,1.16.32h0c.39.12.74.23,1.08.3.74.17,1,.1,1.13,0S18,11.32,18,10a8,8,0,1,0-8,8Z"}))},kl=function(e){var A=e.color,r=dA().defaultStyles,t=A??"",n={fill:"none",strokeMiterlimit:10,strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},m.createElement("polyline",{strokeLinecap:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"13.86 2.01 1.7 16.99 18.77 16.99"}),m.createElement("polyline",{strokeLinecap:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"10.96 16.38 10.96 16.38 10.74 15.7 10.44 14.97 10.06 14.21 9.72 13.63 9.21 12.89 8.85 12.44 8.41 11.95 7.91 11.45 7.51 11.1"}))},Ml=function(){var e=dA().defaultStyles;return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:20,marginRight:1}},m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M2.39,8c-.63,0-1,.21-1,.63A.49.49,0,0,0,1.67,9a6.48,6.48,0,0,0,1.11.43A3,3,0,0,1,4,10.09a1.47,1.47,0,0,1,.35,1.09,1.75,1.75,0,0,1-.57,1.42,2.21,2.21,0,0,1-1.48.48,8.32,8.32,0,0,1-1.68-.21l-.31-.06.12-.94a13.7,13.7,0,0,0,1.8.16c.61,0,.92-.26.92-.77a.52.52,0,0,0-.21-.44,3.13,3.13,0,0,0-.85-.34A3.32,3.32,0,0,1,.66,9.79a1.43,1.43,0,0,1-.42-1.1A1.6,1.6,0,0,1,.78,7.36a2.32,2.32,0,0,1,1.49-.44,10.46,10.46,0,0,1,1.64.17l.32.07-.1.95C3.31,8,2.73,8,2.39,8Z"}),m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M4.79,8.09V7H9.16V8.09H7.59V13H6.38V8.09Z"}),m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M14,12.34a2.25,2.25,0,0,1-1.91.74,2.24,2.24,0,0,1-1.91-.74A3.85,3.85,0,0,1,9.61,10a4,4,0,0,1,.56-2.34,2.2,2.2,0,0,1,1.91-.77A2.21,2.21,0,0,1,14,7.69,4,4,0,0,1,14.55,10,3.85,3.85,0,0,1,14,12.34Zm-2.88-.77a1,1,0,0,0,1,.46,1,1,0,0,0,1-.46A3.25,3.25,0,0,0,13.3,10,3.45,3.45,0,0,0,13,8.46a1,1,0,0,0-1-.49,1,1,0,0,0-1,.49A3.43,3.43,0,0,0,10.85,10,3.38,3.38,0,0,0,11.11,11.57Z"}),m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M17.77,11.24h-1V13H15.58V7h2.19a1.85,1.85,0,0,1,2.11,2.07,2.21,2.21,0,0,1-.54,1.6A2.07,2.07,0,0,1,17.77,11.24Zm-1-1h1c.6,0,.9-.37.9-1.12a1.18,1.18,0,0,0-.22-.79.88.88,0,0,0-.68-.24h-1Z"}))},Kl=function(e){var A,r=e.children,t="id"+Math.random().toString(16).slice(2),n=E.useRef((A=document.getElementById(t))!==null&&A!==void 0?A:document.createElement("div")),a=E.useState(!n.current.parentElement)[0];return E.useEffect(function(){var s=n.current;return a&&(n.current.id=t,document.body.appendChild(n.current)),function(){a&&s.parentElement&&s.parentElement.removeChild(s)}},[t]),qi.createPortal(r,n.current)};const Tl=E.memo(Kl);var cn=function(e,A){return cn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])},cn(e,A)};function zA(e,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");cn(e,A);function r(){this.constructor=e}e.prototype=A===null?Object.create(A):(r.prototype=A.prototype,new r)}var gn=function(){return gn=Object.assign||function(A){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(A[a]=r[a])}return A},gn.apply(this,arguments)};function OA(e,A,r,t){function n(a){return a instanceof r?a:new r(function(s){s(a)})}return new(r||(r=Promise))(function(a,s){function o(g){try{c(t.next(g))}catch(B){s(B)}}function l(g){try{c(t.throw(g))}catch(B){s(B)}}function c(g){g.done?a(g.value):n(g.value).then(o,l)}c((t=t.apply(e,[])).next())})}function kA(e,A){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(c){return function(g){return l([c,g])}}function l(c){if(t)throw new TypeError("Generator is already executing.");for(;r;)try{if(t=1,n&&(a=c[0]&2?n.return:c[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,c[1])).done)return a;switch(n=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,n=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=A.call(e,r)}catch(g){c=[6,g],n=0}finally{t=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function yt(e,A,r){if(arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||A)}var ie=(function(){function e(A,r,t,n){this.left=A,this.top=r,this.width=t,this.height=n}return e.prototype.add=function(A,r,t,n){return new e(this.left+A,this.top+r,this.width+t,this.height+n)},e.fromClientRect=function(A,r){return new e(r.left+A.windowBounds.left,r.top+A.windowBounds.top,r.width,r.height)},e.fromDOMRectList=function(A,r){var t=Array.from(r).find(function(n){return n.width!==0});return t?new e(t.left+A.windowBounds.left,t.top+A.windowBounds.top,t.width,t.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e})(),Qr=function(e,A){return ie.fromClientRect(e,A.getBoundingClientRect())},Dl=function(e){var A=e.body,r=e.documentElement;if(!A||!r)throw new Error("Unable to get document size");var t=Math.max(Math.max(A.scrollWidth,r.scrollWidth),Math.max(A.offsetWidth,r.offsetWidth),Math.max(A.clientWidth,r.clientWidth)),n=Math.max(Math.max(A.scrollHeight,r.scrollHeight),Math.max(A.offsetHeight,r.offsetHeight),Math.max(A.clientHeight,r.clientHeight));return new ie(0,0,t,n)},mr=function(e){for(var A=[],r=0,t=e.length;r<t;){var n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<t){var a=e.charCodeAt(r++);(a&64512)===56320?A.push(((n&1023)<<10)+(a&1023)+65536):(A.push(n),r--)}else A.push(n)}return A},bA=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";for(var t=[],n=-1,a="";++n<r;){var s=e[n];s<=65535?t.push(s):(s-=65536,t.push((s>>10)+55296,s%1024+56320)),(n+1===r||t.length>16384)&&(a+=String.fromCharCode.apply(String,t),t.length=0)}return a},$n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ol=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var xt=0;xt<$n.length;xt++)Ol[$n.charCodeAt(xt)]=xt;var Aa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ze=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var It=0;It<Aa.length;It++)ze[Aa.charCodeAt(It)]=It;var Rl=function(e){var A=e.length*.75,r=e.length,t,n=0,a,s,o,l;e[e.length-1]==="="&&(A--,e[e.length-2]==="="&&A--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),g=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<r;t+=4)a=ze[e.charCodeAt(t)],s=ze[e.charCodeAt(t+1)],o=ze[e.charCodeAt(t+2)],l=ze[e.charCodeAt(t+3)],g[n++]=a<<2|s>>4,g[n++]=(s&15)<<4|o>>2,g[n++]=(o&3)<<6|l&63;return c},Nl=function(e){for(var A=e.length,r=[],t=0;t<A;t+=2)r.push(e[t+1]<<8|e[t]);return r},_l=function(e){for(var A=e.length,r=[],t=0;t<A;t+=4)r.push(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]);return r},Ee=5,Tn=11,kr=2,Gl=Tn-Ee,Ls=65536>>Ee,jl=1<<Ee,Mr=jl-1,Vl=1024>>Ee,Pl=Ls+Vl,Xl=Pl,Jl=32,Wl=Xl+Jl,Yl=65536>>Tn,Zl=1<<Gl,zl=Zl-1,ea=function(e,A,r){return e.slice?e.slice(A,r):new Uint16Array(Array.prototype.slice.call(e,A,r))},ql=function(e,A,r){return e.slice?e.slice(A,r):new Uint32Array(Array.prototype.slice.call(e,A,r))},$l=function(e,A){var r=Rl(e),t=Array.isArray(r)?_l(r):new Uint32Array(r),n=Array.isArray(r)?Nl(r):new Uint16Array(r),a=24,s=ea(n,a/2,t[4]/2),o=t[5]===2?ea(n,(a+t[4])/2):ql(t,Math.ceil((a+t[4])/4));return new Ac(t[0],t[1],t[2],t[3],s,o)},Ac=(function(){function e(A,r,t,n,a,s){this.initialValue=A,this.errorValue=r,this.highStart=t,this.highValueIndex=n,this.index=a,this.data=s}return e.prototype.get=function(A){var r;if(A>=0){if(A<55296||A>56319&&A<=65535)return r=this.index[A>>Ee],r=(r<<kr)+(A&Mr),this.data[r];if(A<=65535)return r=this.index[Ls+(A-55296>>Ee)],r=(r<<kr)+(A&Mr),this.data[r];if(A<this.highStart)return r=Wl-Yl+(A>>Tn),r=this.index[r],r+=A>>Ee&zl,r=this.index[r],r=(r<<kr)+(A&Mr),this.data[r];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e})(),ta="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ec=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ht=0;Ht<ta.length;Ht++)ec[ta.charCodeAt(Ht)]=Ht;var tc="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",ra=50,rc=1,ks=2,Ms=3,nc=4,ac=5,na=7,Ks=8,aa=9,ue=10,un=11,sa=12,Bn=13,sc=14,qe=15,dn=16,St=17,Xe=18,ic=19,ia=20,fn=21,Je=22,Kr=23,xe=24,_A=25,$e=26,At=27,Ie=28,oc=29,Ue=30,lc=31,Lt=32,kt=33,hn=34,wn=35,pn=36,ft=37,Cn=38,zt=39,qt=40,Tr=41,Ts=42,cc=43,gc=[9001,65288],Ds="!",iA="×",Mt="÷",Qn=$l(tc),ne=[Ue,pn],mn=[rc,ks,Ms,ac],Os=[ue,Ks],oa=[At,$e],uc=mn.concat(Os),la=[Cn,zt,qt,hn,wn],Bc=[qe,Bn],dc=function(e,A){A===void 0&&(A="strict");var r=[],t=[],n=[];return e.forEach(function(a,s){var o=Qn.get(a);if(o>ra?(n.push(!0),o-=ra):n.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(a)!==-1)return t.push(s),r.push(dn);if(o===nc||o===un){if(s===0)return t.push(s),r.push(Ue);var l=r[s-1];return uc.indexOf(l)===-1?(t.push(t[s-1]),r.push(l)):(t.push(s),r.push(Ue))}if(t.push(s),o===lc)return r.push(A==="strict"?fn:ft);if(o===Ts||o===oc)return r.push(Ue);if(o===cc)return a>=131072&&a<=196605||a>=196608&&a<=262141?r.push(ft):r.push(Ue);r.push(o)}),[t,r,n]},Dr=function(e,A,r,t){var n=t[r];if(Array.isArray(e)?e.indexOf(n)!==-1:e===n)for(var a=r;a<=t.length;){a++;var s=t[a];if(s===A)return!0;if(s!==ue)break}if(n===ue)for(var a=r;a>0;){a--;var o=t[a];if(Array.isArray(e)?e.indexOf(o)!==-1:e===o)for(var l=r;l<=t.length;){l++;var s=t[l];if(s===A)return!0;if(s!==ue)break}if(o!==ue)break}return!1},ca=function(e,A){for(var r=e;r>=0;){var t=A[r];if(t===ue)r--;else return t}return 0},fc=function(e,A,r,t,n){if(r[t]===0)return iA;var a=t-1;if(Array.isArray(n)&&n[a]===!0)return iA;var s=a-1,o=a+1,l=A[a],c=s>=0?A[s]:0,g=A[o];if(l===ks&&g===Ms)return iA;if(mn.indexOf(l)!==-1)return Ds;if(mn.indexOf(g)!==-1||Os.indexOf(g)!==-1)return iA;if(ca(a,A)===Ks)return Mt;if(Qn.get(e[a])===un||(l===Lt||l===kt)&&Qn.get(e[o])===un||l===na||g===na||l===aa||[ue,Bn,qe].indexOf(l)===-1&&g===aa||[St,Xe,ic,xe,Ie].indexOf(g)!==-1||ca(a,A)===Je||Dr(Kr,Je,a,A)||Dr([St,Xe],fn,a,A)||Dr(sa,sa,a,A))return iA;if(l===ue)return Mt;if(l===Kr||g===Kr)return iA;if(g===dn||l===dn)return Mt;if([Bn,qe,fn].indexOf(g)!==-1||l===sc||c===pn&&Bc.indexOf(l)!==-1||l===Ie&&g===pn||g===ia||ne.indexOf(g)!==-1&&l===_A||ne.indexOf(l)!==-1&&g===_A||l===At&&[ft,Lt,kt].indexOf(g)!==-1||[ft,Lt,kt].indexOf(l)!==-1&&g===$e||ne.indexOf(l)!==-1&&oa.indexOf(g)!==-1||oa.indexOf(l)!==-1&&ne.indexOf(g)!==-1||[At,$e].indexOf(l)!==-1&&(g===_A||[Je,qe].indexOf(g)!==-1&&A[o+1]===_A)||[Je,qe].indexOf(l)!==-1&&g===_A||l===_A&&[_A,Ie,xe].indexOf(g)!==-1)return iA;if([_A,Ie,xe,St,Xe].indexOf(g)!==-1)for(var B=a;B>=0;){var u=A[B];if(u===_A)return iA;if([Ie,xe].indexOf(u)!==-1)B--;else break}if([At,$e].indexOf(g)!==-1)for(var B=[St,Xe].indexOf(l)!==-1?s:a;B>=0;){var u=A[B];if(u===_A)return iA;if([Ie,xe].indexOf(u)!==-1)B--;else break}if(Cn===l&&[Cn,zt,hn,wn].indexOf(g)!==-1||[zt,hn].indexOf(l)!==-1&&[zt,qt].indexOf(g)!==-1||[qt,wn].indexOf(l)!==-1&&g===qt||la.indexOf(l)!==-1&&[ia,$e].indexOf(g)!==-1||la.indexOf(g)!==-1&&l===At||ne.indexOf(l)!==-1&&ne.indexOf(g)!==-1||l===xe&&ne.indexOf(g)!==-1||ne.concat(_A).indexOf(l)!==-1&&g===Je&&gc.indexOf(e[o])===-1||ne.concat(_A).indexOf(g)!==-1&&l===Xe)return iA;if(l===Tr&&g===Tr){for(var p=r[a],Q=1;p>0&&(p--,A[p]===Tr);)Q++;if(Q%2!==0)return iA}return l===Lt&&g===kt?iA:Mt},hc=function(e,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var r=dc(e,A.lineBreak),t=r[0],n=r[1],a=r[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(n=n.map(function(o){return[_A,Ue,Ts].indexOf(o)!==-1?ft:o}));var s=A.wordBreak==="keep-all"?a.map(function(o,l){return o&&e[l]>=19968&&e[l]<=40959}):void 0;return[t,n,s]},wc=(function(){function e(A,r,t,n){this.codePoints=A,this.required=r===Ds,this.start=t,this.end=n}return e.prototype.slice=function(){return bA.apply(void 0,this.codePoints.slice(this.start,this.end))},e})(),pc=function(e,A){var r=mr(e),t=hc(r,A),n=t[0],a=t[1],s=t[2],o=r.length,l=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};for(var g=iA;c<o&&(g=fc(r,a,n,++c,s))===iA;);if(g!==iA||c===o){var B=new wc(r,g,l,c);return l=c,{value:B,done:!1}}return{done:!0,value:null}}}},Cc=1,Qc=2,vt=4,ga=8,or=10,ua=47,st=92,mc=9,vc=32,Kt=34,We=61,Uc=35,Fc=36,bc=37,Tt=39,Dt=40,Ye=41,Ec=95,RA=45,yc=33,xc=60,Ic=62,Hc=64,Sc=91,Lc=93,kc=61,Mc=123,Ot=63,Kc=125,Ba=124,Tc=126,Dc=128,da=65533,Or=42,be=43,Oc=44,Rc=58,Nc=59,ht=46,_c=0,Gc=8,jc=11,Vc=14,Pc=31,Xc=127,qA=-1,Rs=48,Ns=97,_s=101,Jc=102,Wc=117,Yc=122,Gs=65,js=69,Vs=70,Zc=85,zc=90,MA=function(e){return e>=Rs&&e<=57},qc=function(e){return e>=55296&&e<=57343},He=function(e){return MA(e)||e>=Gs&&e<=Vs||e>=Ns&&e<=Jc},$c=function(e){return e>=Ns&&e<=Yc},Ag=function(e){return e>=Gs&&e<=zc},eg=function(e){return $c(e)||Ag(e)},tg=function(e){return e>=Dc},Rt=function(e){return e===or||e===mc||e===vc},lr=function(e){return eg(e)||tg(e)||e===Ec},fa=function(e){return lr(e)||MA(e)||e===RA},rg=function(e){return e>=_c&&e<=Gc||e===jc||e>=Vc&&e<=Pc||e===Xc},ge=function(e,A){return e!==st?!1:A!==or},Nt=function(e,A,r){return e===RA?lr(A)||ge(A,r):lr(e)?!0:!!(e===st&&ge(e,A))},Rr=function(e,A,r){return e===be||e===RA?MA(A)?!0:A===ht&&MA(r):MA(e===ht?A:e)},ng=function(e){var A=0,r=1;(e[A]===be||e[A]===RA)&&(e[A]===RA&&(r=-1),A++);for(var t=[];MA(e[A]);)t.push(e[A++]);var n=t.length?parseInt(bA.apply(void 0,t),10):0;e[A]===ht&&A++;for(var a=[];MA(e[A]);)a.push(e[A++]);var s=a.length,o=s?parseInt(bA.apply(void 0,a),10):0;(e[A]===js||e[A]===_s)&&A++;var l=1;(e[A]===be||e[A]===RA)&&(e[A]===RA&&(l=-1),A++);for(var c=[];MA(e[A]);)c.push(e[A++]);var g=c.length?parseInt(bA.apply(void 0,c),10):0;return r*(n+o*Math.pow(10,-s))*Math.pow(10,l*g)},ag={type:2},sg={type:3},ig={type:4},og={type:13},lg={type:8},cg={type:21},gg={type:9},ug={type:10},Bg={type:11},dg={type:12},fg={type:14},_t={type:23},hg={type:1},wg={type:25},pg={type:24},Cg={type:26},Qg={type:27},mg={type:28},vg={type:29},Ug={type:31},vn={type:32},Ps=(function(){function e(){this._value=[]}return e.prototype.write=function(A){this._value=this._value.concat(mr(A))},e.prototype.read=function(){for(var A=[],r=this.consumeToken();r!==vn;)A.push(r),r=this.consumeToken();return A},e.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case Kt:return this.consumeStringToken(Kt);case Uc:var r=this.peekCodePoint(0),t=this.peekCodePoint(1),n=this.peekCodePoint(2);if(fa(r)||ge(t,n)){var a=Nt(r,t,n)?Qc:Cc,s=this.consumeName();return{type:5,value:s,flags:a}}break;case Fc:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),og;break;case Tt:return this.consumeStringToken(Tt);case Dt:return ag;case Ye:return sg;case Or:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),fg;break;case be:if(Rr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Oc:return ig;case RA:var o=A,l=this.peekCodePoint(0),c=this.peekCodePoint(1);if(Rr(o,l,c))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(Nt(o,l,c))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(l===RA&&c===Ic)return this.consumeCodePoint(),this.consumeCodePoint(),pg;break;case ht:if(Rr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case ua:if(this.peekCodePoint(0)===Or)for(this.consumeCodePoint();;){var g=this.consumeCodePoint();if(g===Or&&(g=this.consumeCodePoint(),g===ua))return this.consumeToken();if(g===qA)return this.consumeToken()}break;case Rc:return Cg;case Nc:return Qg;case xc:if(this.peekCodePoint(0)===yc&&this.peekCodePoint(1)===RA&&this.peekCodePoint(2)===RA)return this.consumeCodePoint(),this.consumeCodePoint(),wg;break;case Hc:var B=this.peekCodePoint(0),u=this.peekCodePoint(1),p=this.peekCodePoint(2);if(Nt(B,u,p)){var s=this.consumeName();return{type:7,value:s}}break;case Sc:return mg;case st:if(ge(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case Lc:return vg;case kc:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),lg;break;case Mc:return Bg;case Kc:return dg;case Wc:case Zc:var Q=this.peekCodePoint(0),C=this.peekCodePoint(1);return Q===be&&(He(C)||C===Ot)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Ba:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),gg;if(this.peekCodePoint(0)===Ba)return this.consumeCodePoint(),cg;break;case Tc:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),ug;break;case qA:return vn}return Rt(A)?(this.consumeWhiteSpace(),Ug):MA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):lr(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:bA(A)}},e.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},e.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},e.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},e.prototype.consumeUnicodeRangeToken=function(){for(var A=[],r=this.consumeCodePoint();He(r)&&A.length<6;)A.push(r),r=this.consumeCodePoint();for(var t=!1;r===Ot&&A.length<6;)A.push(r),r=this.consumeCodePoint(),t=!0;if(t){var n=parseInt(bA.apply(void 0,A.map(function(l){return l===Ot?Rs:l})),16),a=parseInt(bA.apply(void 0,A.map(function(l){return l===Ot?Vs:l})),16);return{type:30,start:n,end:a}}var s=parseInt(bA.apply(void 0,A),16);if(this.peekCodePoint(0)===RA&&He(this.peekCodePoint(1))){this.consumeCodePoint(),r=this.consumeCodePoint();for(var o=[];He(r)&&o.length<6;)o.push(r),r=this.consumeCodePoint();var a=parseInt(bA.apply(void 0,o),16);return{type:30,start:s,end:a}}else return{type:30,start:s,end:s}},e.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===Dt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Dt?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},e.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===qA)return{type:22,value:""};var r=this.peekCodePoint(0);if(r===Tt||r===Kt){var t=this.consumeStringToken(this.consumeCodePoint());return t.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===qA||this.peekCodePoint(0)===Ye)?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),_t)}for(;;){var n=this.consumeCodePoint();if(n===qA||n===Ye)return{type:22,value:bA.apply(void 0,A)};if(Rt(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===qA||this.peekCodePoint(0)===Ye?(this.consumeCodePoint(),{type:22,value:bA.apply(void 0,A)}):(this.consumeBadUrlRemnants(),_t);if(n===Kt||n===Tt||n===Dt||rg(n))return this.consumeBadUrlRemnants(),_t;if(n===st)if(ge(n,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),_t;else A.push(n)}},e.prototype.consumeWhiteSpace=function(){for(;Rt(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===Ye||A===qA)return;ge(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(A){for(var r=5e4,t="";A>0;){var n=Math.min(r,A);t+=bA.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),t},e.prototype.consumeStringToken=function(A){var r="",t=0;do{var n=this._value[t];if(n===qA||n===void 0||n===A)return r+=this.consumeStringSlice(t),{type:0,value:r};if(n===or)return this._value.splice(0,t),hg;if(n===st){var a=this._value[t+1];a!==qA&&a!==void 0&&(a===or?(r+=this.consumeStringSlice(t),t=-1,this._value.shift()):ge(n,a)&&(r+=this.consumeStringSlice(t),r+=bA(this.consumeEscapedCodePoint()),t=-1))}t++}while(!0)},e.prototype.consumeNumber=function(){var A=[],r=vt,t=this.peekCodePoint(0);for((t===be||t===RA)&&A.push(this.consumeCodePoint());MA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(t===ht&&MA(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),r=ga;MA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),n=this.peekCodePoint(1);var a=this.peekCodePoint(2);if((t===js||t===_s)&&((n===be||n===RA)&&MA(a)||MA(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),r=ga;MA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[ng(A),r]},e.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),r=A[0],t=A[1],n=this.peekCodePoint(0),a=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Nt(n,a,s)){var o=this.consumeName();return{type:15,number:r,flags:t,unit:o}}return n===bc?(this.consumeCodePoint(),{type:16,number:r,flags:t}):{type:17,number:r,flags:t}},e.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(He(A)){for(var r=bA(A);He(this.peekCodePoint(0))&&r.length<6;)r+=bA(this.consumeCodePoint());Rt(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(r,16);return t===0||qc(t)||t>1114111?da:t}return A===qA?da:A},e.prototype.consumeName=function(){for(var A="";;){var r=this.consumeCodePoint();if(fa(r))A+=bA(r);else if(ge(r,this.peekCodePoint(0)))A+=bA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(r),A}},e})(),Xs=(function(){function e(A){this._tokens=A}return e.create=function(A){var r=new Ps;return r.write(A),new e(r.read())},e.parseValue=function(A){return e.create(A).parseComponentValue()},e.parseValues=function(A){return e.create(A).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var A=this.consumeToken();A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var r=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return r;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var A=[];;){var r=this.consumeComponentValue();if(r.type===32)return A;A.push(r),A.push()}},e.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},e.prototype.consumeSimpleBlock=function(A){for(var r={type:A,values:[]},t=this.consumeToken();;){if(t.type===32||bg(t,A))return r;this.reconsumeToken(t),r.values.push(this.consumeComponentValue()),t=this.consumeToken()}},e.prototype.consumeFunction=function(A){for(var r={name:A.value,values:[],type:18};;){var t=this.consumeToken();if(t.type===32||t.type===3)return r;this.reconsumeToken(t),r.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?vn:A},e.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},e})(),Ut=function(e){return e.type===15},Ge=function(e){return e.type===17},BA=function(e){return e.type===20},Fg=function(e){return e.type===0},Un=function(e,A){return BA(e)&&e.value===A},Js=function(e){return e.type!==31},_e=function(e){return e.type!==31&&e.type!==4},te=function(e){var A=[],r=[];return e.forEach(function(t){if(t.type===4){if(r.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(r),r=[];return}t.type!==31&&r.push(t)}),r.length&&A.push(r),A},bg=function(e,A){return A===11&&e.type===12||A===28&&e.type===29?!0:A===2&&e.type===3},pe=function(e){return e.type===17||e.type===15},EA=function(e){return e.type===16||pe(e)},Ws=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},LA={type:17,number:0,flags:vt},Dn={type:16,number:50,flags:vt},Be={type:16,number:100,flags:vt},et=function(e,A,r){var t=e[0],n=e[1];return[wA(t,A),wA(typeof n<"u"?n:t,r)]},wA=function(e,A){if(e.type===16)return e.number/100*A;if(Ut(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},Ys="deg",Zs="grad",zs="rad",qs="turn",vr={name:"angle",parse:function(e,A){if(A.type===15)switch(A.unit){case Ys:return Math.PI*A.number/180;case Zs:return Math.PI/200*A.number;case zs:return A.number;case qs:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},$s=function(e){return e.type===15&&(e.unit===Ys||e.unit===Zs||e.unit===zs||e.unit===qs)},Ai=function(e){var A=e.filter(BA).map(function(r){return r.value}).join(" ");switch(A){case"to bottom right":case"to right bottom":case"left top":case"top left":return[LA,LA];case"to top":case"bottom":return XA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[LA,Be];case"to right":case"left":return XA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Be,Be];case"to bottom":case"top":return XA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Be,LA];case"to left":case"right":return XA(270)}return 0},XA=function(e){return Math.PI*e/180},he={name:"color",parse:function(e,A){if(A.type===18){var r=Eg[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return r(e,A.values)}if(A.type===5){if(A.value.length===3){var t=A.value.substring(0,1),n=A.value.substring(1,2),a=A.value.substring(2,3);return de(parseInt(t+t,16),parseInt(n+n,16),parseInt(a+a,16),1)}if(A.value.length===4){var t=A.value.substring(0,1),n=A.value.substring(1,2),a=A.value.substring(2,3),s=A.value.substring(3,4);return de(parseInt(t+t,16),parseInt(n+n,16),parseInt(a+a,16),parseInt(s+s,16)/255)}if(A.value.length===6){var t=A.value.substring(0,2),n=A.value.substring(2,4),a=A.value.substring(4,6);return de(parseInt(t,16),parseInt(n,16),parseInt(a,16),1)}if(A.value.length===8){var t=A.value.substring(0,2),n=A.value.substring(2,4),a=A.value.substring(4,6),s=A.value.substring(6,8);return de(parseInt(t,16),parseInt(n,16),parseInt(a,16),parseInt(s,16)/255)}}if(A.type===20){var o=se[A.value.toUpperCase()];if(typeof o<"u")return o}return se.TRANSPARENT}},we=function(e){return(255&e)===0},xA=function(e){var A=255&e,r=255&e>>8,t=255&e>>16,n=255&e>>24;return A<255?"rgba("+n+","+t+","+r+","+A/255+")":"rgb("+n+","+t+","+r+")"},de=function(e,A,r,t){return(e<<24|A<<16|r<<8|Math.round(t*255)<<0)>>>0},ha=function(e,A){if(e.type===17)return e.number;if(e.type===16){var r=A===3?1:255;return A===3?e.number/100*r:Math.round(e.number/100*r)}return 0},wa=function(e,A){var r=A.filter(_e);if(r.length===3){var t=r.map(ha),n=t[0],a=t[1],s=t[2];return de(n,a,s,1)}if(r.length===4){var o=r.map(ha),n=o[0],a=o[1],s=o[2],l=o[3];return de(n,a,s,l)}return 0};function Nr(e,A,r){return r<0&&(r+=1),r>=1&&(r-=1),r<1/6?(A-e)*r*6+e:r<1/2?A:r<2/3?(A-e)*6*(2/3-r)+e:e}var pa=function(e,A){var r=A.filter(_e),t=r[0],n=r[1],a=r[2],s=r[3],o=(t.type===17?XA(t.number):vr.parse(e,t))/(Math.PI*2),l=EA(n)?n.number/100:0,c=EA(a)?a.number/100:0,g=typeof s<"u"&&EA(s)?wA(s,1):1;if(l===0)return de(c*255,c*255,c*255,1);var B=c<=.5?c*(l+1):c+l-c*l,u=c*2-B,p=Nr(u,B,o+1/3),Q=Nr(u,B,o),C=Nr(u,B,o-1/3);return de(p*255,Q*255,C*255,g)},Eg={hsl:pa,hsla:pa,rgb:wa,rgba:wa},it=function(e,A){return he.parse(e,Xs.create(A).parseComponentValue())},se={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},yg={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(r){if(BA(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},xg={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ur=function(e,A){var r=he.parse(e,A[0]),t=A[1];return t&&EA(t)?{color:r,stop:t}:{color:r,stop:null}},Ca=function(e,A){var r=e[0],t=e[e.length-1];r.stop===null&&(r.stop=LA),t.stop===null&&(t.stop=Be);for(var n=[],a=0,s=0;s<e.length;s++){var o=e[s].stop;if(o!==null){var l=wA(o,A);l>a?n.push(l):n.push(a),a=l}else n.push(null)}for(var c=null,s=0;s<n.length;s++){var g=n[s];if(g===null)c===null&&(c=s);else if(c!==null){for(var B=s-c,u=n[c-1],p=(g-u)/(B+1),Q=1;Q<=B;Q++)n[c+Q-1]=p*Q;c=null}}return e.map(function(C,I){var U=C.color;return{color:U,stop:Math.max(Math.min(1,n[I]/A),0)}})},Ig=function(e,A,r){var t=A/2,n=r/2,a=wA(e[0],A)-t,s=n-wA(e[1],r);return(Math.atan2(s,a)+Math.PI*2)%(Math.PI*2)},Hg=function(e,A,r){var t=typeof e=="number"?e:Ig(e,A,r),n=Math.abs(A*Math.sin(t))+Math.abs(r*Math.cos(t)),a=A/2,s=r/2,o=n/2,l=Math.sin(t-Math.PI/2)*o,c=Math.cos(t-Math.PI/2)*o;return[n,a-c,a+c,s-l,s+l]},ZA=function(e,A){return Math.sqrt(e*e+A*A)},Qa=function(e,A,r,t,n){var a=[[0,0],[0,A],[e,0],[e,A]];return a.reduce(function(s,o){var l=o[0],c=o[1],g=ZA(r-l,t-c);return(n?g<s.optimumDistance:g>s.optimumDistance)?{optimumCorner:o,optimumDistance:g}:s},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Sg=function(e,A,r,t,n){var a=0,s=0;switch(e.size){case 0:e.shape===0?a=s=Math.min(Math.abs(A),Math.abs(A-t),Math.abs(r),Math.abs(r-n)):e.shape===1&&(a=Math.min(Math.abs(A),Math.abs(A-t)),s=Math.min(Math.abs(r),Math.abs(r-n)));break;case 2:if(e.shape===0)a=s=Math.min(ZA(A,r),ZA(A,r-n),ZA(A-t,r),ZA(A-t,r-n));else if(e.shape===1){var o=Math.min(Math.abs(r),Math.abs(r-n))/Math.min(Math.abs(A),Math.abs(A-t)),l=Qa(t,n,A,r,!0),c=l[0],g=l[1];a=ZA(c-A,(g-r)/o),s=o*a}break;case 1:e.shape===0?a=s=Math.max(Math.abs(A),Math.abs(A-t),Math.abs(r),Math.abs(r-n)):e.shape===1&&(a=Math.max(Math.abs(A),Math.abs(A-t)),s=Math.max(Math.abs(r),Math.abs(r-n)));break;case 3:if(e.shape===0)a=s=Math.max(ZA(A,r),ZA(A,r-n),ZA(A-t,r),ZA(A-t,r-n));else if(e.shape===1){var o=Math.max(Math.abs(r),Math.abs(r-n))/Math.max(Math.abs(A),Math.abs(A-t)),B=Qa(t,n,A,r,!1),c=B[0],g=B[1];a=ZA(c-A,(g-r)/o),s=o*a}break}return Array.isArray(e.size)&&(a=wA(e.size[0],t),s=e.size.length===2?wA(e.size[1],n):a),[a,s]},Lg=function(e,A){var r=XA(180),t=[];return te(A).forEach(function(n,a){if(a===0){var s=n[0];if(s.type===20&&s.value==="to"){r=Ai(n);return}else if($s(s)){r=vr.parse(e,s);return}}var o=Ur(e,n);t.push(o)}),{angle:r,stops:t,type:1}},Gt=function(e,A){var r=XA(180),t=[];return te(A).forEach(function(n,a){if(a===0){var s=n[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){r=Ai(n);return}else if($s(s)){r=(vr.parse(e,s)+XA(270))%XA(360);return}}var o=Ur(e,n);t.push(o)}),{angle:r,stops:t,type:1}},kg=function(e,A){var r=XA(180),t=[],n=1,a=0,s=3,o=[];return te(A).forEach(function(l,c){var g=l[0];if(c===0){if(BA(g)&&g.value==="linear"){n=1;return}else if(BA(g)&&g.value==="radial"){n=2;return}}if(g.type===18){if(g.name==="from"){var B=he.parse(e,g.values[0]);t.push({stop:LA,color:B})}else if(g.name==="to"){var B=he.parse(e,g.values[0]);t.push({stop:Be,color:B})}else if(g.name==="color-stop"){var u=g.values.filter(_e);if(u.length===2){var B=he.parse(e,u[1]),p=u[0];Ge(p)&&t.push({stop:{type:16,number:p.number*100,flags:p.flags},color:B})}}}}),n===1?{angle:(r+XA(180))%XA(360),stops:t,type:n}:{size:s,shape:a,stops:t,position:o,type:n}},ei="closest-side",ti="farthest-side",ri="closest-corner",ni="farthest-corner",ai="circle",si="ellipse",ii="cover",oi="contain",Mg=function(e,A){var r=0,t=3,n=[],a=[];return te(A).forEach(function(s,o){var l=!0;if(o===0){var c=!1;l=s.reduce(function(B,u){if(c)if(BA(u))switch(u.value){case"center":return a.push(Dn),B;case"top":case"left":return a.push(LA),B;case"right":case"bottom":return a.push(Be),B}else(EA(u)||pe(u))&&a.push(u);else if(BA(u))switch(u.value){case ai:return r=0,!1;case si:return r=1,!1;case"at":return c=!0,!1;case ei:return t=0,!1;case ii:case ti:return t=1,!1;case oi:case ri:return t=2,!1;case ni:return t=3,!1}else if(pe(u)||EA(u))return Array.isArray(t)||(t=[]),t.push(u),!1;return B},l)}if(l){var g=Ur(e,s);n.push(g)}}),{size:t,shape:r,stops:n,position:a,type:2}},jt=function(e,A){var r=0,t=3,n=[],a=[];return te(A).forEach(function(s,o){var l=!0;if(o===0?l=s.reduce(function(g,B){if(BA(B))switch(B.value){case"center":return a.push(Dn),!1;case"top":case"left":return a.push(LA),!1;case"right":case"bottom":return a.push(Be),!1}else if(EA(B)||pe(B))return a.push(B),!1;return g},l):o===1&&(l=s.reduce(function(g,B){if(BA(B))switch(B.value){case ai:return r=0,!1;case si:return r=1,!1;case oi:case ei:return t=0,!1;case ti:return t=1,!1;case ri:return t=2,!1;case ii:case ni:return t=3,!1}else if(pe(B)||EA(B))return Array.isArray(t)||(t=[]),t.push(B),!1;return g},l)),l){var c=Ur(e,s);n.push(c)}}),{size:t,shape:r,stops:n,position:a,type:2}},Kg=function(e){return e.type===1},Tg=function(e){return e.type===2},On={name:"image",parse:function(e,A){if(A.type===22){var r={url:A.value,type:0};return e.cache.addImage(A.value),r}if(A.type===18){var t=li[A.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return t(e,A.values)}throw new Error("Unsupported image type "+A.type)}};function Dg(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!li[e.name])}var li={"linear-gradient":Lg,"-moz-linear-gradient":Gt,"-ms-linear-gradient":Gt,"-o-linear-gradient":Gt,"-webkit-linear-gradient":Gt,"radial-gradient":Mg,"-moz-radial-gradient":jt,"-ms-radial-gradient":jt,"-o-radial-gradient":jt,"-webkit-radial-gradient":jt,"-webkit-gradient":kg},Og={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var r=A[0];return r.type===20&&r.value==="none"?[]:A.filter(function(t){return _e(t)&&Dg(t)}).map(function(t){return On.parse(e,t)})}},Rg={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(r){if(BA(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ng={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,A){return te(A).map(function(r){return r.filter(EA)}).map(Ws)}},_g={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,A){return te(A).map(function(r){return r.filter(BA).map(function(t){return t.value}).join(" ")}).map(Gg)}},Gg=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},Oe;(function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"})(Oe||(Oe={}));var jg={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,A){return te(A).map(function(r){return r.filter(Vg)})}},Vg=function(e){return BA(e)||EA(e)},Fr=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Pg=Fr("top"),Xg=Fr("right"),Jg=Fr("bottom"),Wg=Fr("left"),br=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(A,r){return Ws(r.filter(EA))}}},Yg=br("top-left"),Zg=br("top-right"),zg=br("bottom-right"),qg=br("bottom-left"),Er=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,r){switch(r){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},$g=Er("top"),Au=Er("right"),eu=Er("bottom"),tu=Er("left"),yr=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,r){return Ut(r)?r.number:0}}},ru=yr("top"),nu=yr("right"),au=yr("bottom"),su=yr("left"),iu={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ou={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,A){return A==="rtl"?1:0}},lu={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,A){return A.filter(BA).reduce(function(r,t){return r|cu(t.value)},0)}},cu=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},gu={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},uu={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,A){return A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0}},cr;(function(e){e.NORMAL="normal",e.STRICT="strict"})(cr||(cr={}));var Bu={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){return A==="strict"?cr.STRICT:cr.NORMAL}},du={name:"line-height",initialValue:"normal",prefix:!1,type:4},ma=function(e,A){return BA(e)&&e.value==="normal"?1.2*A:e.type===17?A*e.number:EA(e)?wA(e,A):A},fu={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,A){return A.type===20&&A.value==="none"?null:On.parse(e,A)}},hu={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,A){return A==="inside"?0:1}},Fn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},xr=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},wu=xr("top"),pu=xr("right"),Cu=xr("bottom"),Qu=xr("left"),mu={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,A){return A.filter(BA).map(function(r){switch(r.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},vu={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){return A==="break-word"?"break-word":"normal"}},Ir=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Uu=Ir("top"),Fu=Ir("right"),bu=Ir("bottom"),Eu=Ir("left"),yu={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,A){switch(A){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},xu={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Iu={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.length===1&&Un(A[0],"none")?[]:te(A).map(function(r){for(var t={color:se.TRANSPARENT,offsetX:LA,offsetY:LA,blur:LA},n=0,a=0;a<r.length;a++){var s=r[a];pe(s)?(n===0?t.offsetX=s:n===1?t.offsetY=s:t.blur=s,n++):t.color=he.parse(e,s)}return t})}},Hu={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Su={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,A){if(A.type===20&&A.value==="none")return null;if(A.type===18){var r=Mu[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return r(A.values)}return null}},Lu=function(e){var A=e.filter(function(r){return r.type===17}).map(function(r){return r.number});return A.length===6?A:null},ku=function(e){var A=e.filter(function(l){return l.type===17}).map(function(l){return l.number}),r=A[0],t=A[1];A[2],A[3];var n=A[4],a=A[5];A[6],A[7],A[8],A[9],A[10],A[11];var s=A[12],o=A[13];return A[14],A[15],A.length===16?[r,t,n,a,s,o]:null},Mu={matrix:Lu,matrix3d:ku},va={type:16,number:50,flags:vt},Ku=[va,va],Tu={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,A){var r=A.filter(EA);return r.length!==2?Ku:[r[0],r[1]]}},Du={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"hidden":return 1;case"collapse":return 2;default:return 0}}},ot;(function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"})(ot||(ot={}));var Ou={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"break-all":return ot.BREAK_ALL;case"keep-all":return ot.KEEP_ALL;default:return ot.NORMAL}}},Ru={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,A){if(A.type===20)return{auto:!0,order:0};if(Ge(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},ci={name:"time",parse:function(e,A){if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},Nu={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,A){return Ge(A)?A.number:1}},_u={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Gu={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,A){return A.filter(BA).map(function(r){switch(r.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(r){return r!==0})}},ju={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,A){var r=[],t=[];return A.forEach(function(n){switch(n.type){case 20:case 0:r.push(n.value);break;case 17:r.push(n.number.toString());break;case 4:t.push(r.join(" ")),r.length=0;break}}),r.length&&t.push(r.join(" ")),t.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},Vu={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Pu={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,A){return Ge(A)?A.number:BA(A)&&A.value==="bold"?700:400}},Xu={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.filter(BA).map(function(r){return r.value})}},Ju={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},yA=function(e,A){return(e&A)!==0},Wu={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var r=A[0];return r.type===20&&r.value==="none"?[]:A}},Yu={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return null;var r=A[0];if(r.type===20&&r.value==="none")return null;for(var t=[],n=A.filter(Js),a=0;a<n.length;a++){var s=n[a],o=n[a+1];if(s.type===20){var l=o&&Ge(o)?o.number:1;t.push({counter:s.value,increment:l})}}return t}},Zu={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return[];for(var r=[],t=A.filter(Js),n=0;n<t.length;n++){var a=t[n],s=t[n+1];if(BA(a)&&a.value!=="none"){var o=s&&Ge(s)?s.number:0;r.push({counter:a.value,reset:o})}}return r}},zu={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,A){return A.filter(Ut).map(function(r){return ci.parse(e,r)})}},qu={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return null;var r=A[0];if(r.type===20&&r.value==="none")return null;var t=[],n=A.filter(Fg);if(n.length%2!==0)return null;for(var a=0;a<n.length;a+=2){var s=n[a].value,o=n[a+1].value;t.push({open:s,close:o})}return t}},Ua=function(e,A,r){if(!e)return"";var t=e[Math.min(A,e.length-1)];return t?r?t.open:t.close:""},$u={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.length===1&&Un(A[0],"none")?[]:te(A).map(function(r){for(var t={color:255,offsetX:LA,offsetY:LA,blur:LA,spread:LA,inset:!1},n=0,a=0;a<r.length;a++){var s=r[a];Un(s,"inset")?t.inset=!0:pe(s)?(n===0?t.offsetX=s:n===1?t.offsetY=s:n===2?t.blur=s:t.spread=s,n++):t.color=he.parse(e,s)}return t})}},AB={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,A){var r=[0,1,2],t=[];return A.filter(BA).forEach(function(n){switch(n.value){case"stroke":t.push(1);break;case"fill":t.push(0);break;case"markers":t.push(2);break}}),r.forEach(function(n){t.indexOf(n)===-1&&t.push(n)}),t}},eB={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},tB={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,A){return Ut(A)?A.number:0}},rB=(function(){function e(A,r){var t,n;this.animationDuration=X(A,zu,r.animationDuration),this.backgroundClip=X(A,yg,r.backgroundClip),this.backgroundColor=X(A,xg,r.backgroundColor),this.backgroundImage=X(A,Og,r.backgroundImage),this.backgroundOrigin=X(A,Rg,r.backgroundOrigin),this.backgroundPosition=X(A,Ng,r.backgroundPosition),this.backgroundRepeat=X(A,_g,r.backgroundRepeat),this.backgroundSize=X(A,jg,r.backgroundSize),this.borderTopColor=X(A,Pg,r.borderTopColor),this.borderRightColor=X(A,Xg,r.borderRightColor),this.borderBottomColor=X(A,Jg,r.borderBottomColor),this.borderLeftColor=X(A,Wg,r.borderLeftColor),this.borderTopLeftRadius=X(A,Yg,r.borderTopLeftRadius),this.borderTopRightRadius=X(A,Zg,r.borderTopRightRadius),this.borderBottomRightRadius=X(A,zg,r.borderBottomRightRadius),this.borderBottomLeftRadius=X(A,qg,r.borderBottomLeftRadius),this.borderTopStyle=X(A,$g,r.borderTopStyle),this.borderRightStyle=X(A,Au,r.borderRightStyle),this.borderBottomStyle=X(A,eu,r.borderBottomStyle),this.borderLeftStyle=X(A,tu,r.borderLeftStyle),this.borderTopWidth=X(A,ru,r.borderTopWidth),this.borderRightWidth=X(A,nu,r.borderRightWidth),this.borderBottomWidth=X(A,au,r.borderBottomWidth),this.borderLeftWidth=X(A,su,r.borderLeftWidth),this.boxShadow=X(A,$u,r.boxShadow),this.color=X(A,iu,r.color),this.direction=X(A,ou,r.direction),this.display=X(A,lu,r.display),this.float=X(A,gu,r.cssFloat),this.fontFamily=X(A,ju,r.fontFamily),this.fontSize=X(A,Vu,r.fontSize),this.fontStyle=X(A,Ju,r.fontStyle),this.fontVariant=X(A,Xu,r.fontVariant),this.fontWeight=X(A,Pu,r.fontWeight),this.letterSpacing=X(A,uu,r.letterSpacing),this.lineBreak=X(A,Bu,r.lineBreak),this.lineHeight=X(A,du,r.lineHeight),this.listStyleImage=X(A,fu,r.listStyleImage),this.listStylePosition=X(A,hu,r.listStylePosition),this.listStyleType=X(A,Fn,r.listStyleType),this.marginTop=X(A,wu,r.marginTop),this.marginRight=X(A,pu,r.marginRight),this.marginBottom=X(A,Cu,r.marginBottom),this.marginLeft=X(A,Qu,r.marginLeft),this.opacity=X(A,Nu,r.opacity);var a=X(A,mu,r.overflow);this.overflowX=a[0],this.overflowY=a[a.length>1?1:0],this.overflowWrap=X(A,vu,r.overflowWrap),this.paddingTop=X(A,Uu,r.paddingTop),this.paddingRight=X(A,Fu,r.paddingRight),this.paddingBottom=X(A,bu,r.paddingBottom),this.paddingLeft=X(A,Eu,r.paddingLeft),this.paintOrder=X(A,AB,r.paintOrder),this.position=X(A,xu,r.position),this.textAlign=X(A,yu,r.textAlign),this.textDecorationColor=X(A,_u,(t=r.textDecorationColor)!==null&&t!==void 0?t:r.color),this.textDecorationLine=X(A,Gu,(n=r.textDecorationLine)!==null&&n!==void 0?n:r.textDecoration),this.textShadow=X(A,Iu,r.textShadow),this.textTransform=X(A,Hu,r.textTransform),this.transform=X(A,Su,r.transform),this.transformOrigin=X(A,Tu,r.transformOrigin),this.visibility=X(A,Du,r.visibility),this.webkitTextStrokeColor=X(A,eB,r.webkitTextStrokeColor),this.webkitTextStrokeWidth=X(A,tB,r.webkitTextStrokeWidth),this.wordBreak=X(A,Ou,r.wordBreak),this.zIndex=X(A,Ru,r.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return we(this.backgroundColor)},e.prototype.isTransformed=function(){return this.transform!==null},e.prototype.isPositioned=function(){return this.position!==0},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==0},e.prototype.isInlineLevel=function(){return yA(this.display,4)||yA(this.display,33554432)||yA(this.display,268435456)||yA(this.display,536870912)||yA(this.display,67108864)||yA(this.display,134217728)},e})(),nB=(function(){function e(A,r){this.content=X(A,Wu,r.content),this.quotes=X(A,qu,r.quotes)}return e})(),Fa=(function(){function e(A,r){this.counterIncrement=X(A,Yu,r.counterIncrement),this.counterReset=X(A,Zu,r.counterReset)}return e})(),X=function(e,A,r){var t=new Ps,n=r!==null&&typeof r<"u"?r.toString():A.initialValue;t.write(n);var a=new Xs(t.read());switch(A.type){case 2:var s=a.parseComponentValue();return A.parse(e,BA(s)?s.value:A.initialValue);case 0:return A.parse(e,a.parseComponentValue());case 1:return A.parse(e,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(A.format){case"angle":return vr.parse(e,a.parseComponentValue());case"color":return he.parse(e,a.parseComponentValue());case"image":return On.parse(e,a.parseComponentValue());case"length":var o=a.parseComponentValue();return pe(o)?o:LA;case"length-percentage":var l=a.parseComponentValue();return EA(l)?l:LA;case"time":return ci.parse(e,a.parseComponentValue())}break}},aB="data-html2canvas-debug",sB=function(e){var A=e.getAttribute(aB);switch(A){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},bn=function(e,A){var r=sB(e);return r===1||A===r},re=(function(){function e(A,r){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,bn(r,3))debugger;this.styles=new rB(A,window.getComputedStyle(r,null)),xn(r)&&(this.styles.animationDuration.some(function(t){return t>0})&&(r.style.animationDuration="0s"),this.styles.transform!==null&&(r.style.transform="none")),this.bounds=Qr(this.context,r),bn(r,4)&&(this.flags|=16)}return e})(),iB="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",ba="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tt=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Vt=0;Vt<ba.length;Vt++)tt[ba.charCodeAt(Vt)]=Vt;var oB=function(e){var A=e.length*.75,r=e.length,t,n=0,a,s,o,l;e[e.length-1]==="="&&(A--,e[e.length-2]==="="&&A--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),g=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<r;t+=4)a=tt[e.charCodeAt(t)],s=tt[e.charCodeAt(t+1)],o=tt[e.charCodeAt(t+2)],l=tt[e.charCodeAt(t+3)],g[n++]=a<<2|s>>4,g[n++]=(s&15)<<4|o>>2,g[n++]=(o&3)<<6|l&63;return c},lB=function(e){for(var A=e.length,r=[],t=0;t<A;t+=2)r.push(e[t+1]<<8|e[t]);return r},cB=function(e){for(var A=e.length,r=[],t=0;t<A;t+=4)r.push(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]);return r},ye=5,Rn=11,_r=2,gB=Rn-ye,gi=65536>>ye,uB=1<<ye,Gr=uB-1,BB=1024>>ye,dB=gi+BB,fB=dB,hB=32,wB=fB+hB,pB=65536>>Rn,CB=1<<gB,QB=CB-1,Ea=function(e,A,r){return e.slice?e.slice(A,r):new Uint16Array(Array.prototype.slice.call(e,A,r))},mB=function(e,A,r){return e.slice?e.slice(A,r):new Uint32Array(Array.prototype.slice.call(e,A,r))},vB=function(e,A){var r=oB(e),t=Array.isArray(r)?cB(r):new Uint32Array(r),n=Array.isArray(r)?lB(r):new Uint16Array(r),a=24,s=Ea(n,a/2,t[4]/2),o=t[5]===2?Ea(n,(a+t[4])/2):mB(t,Math.ceil((a+t[4])/4));return new UB(t[0],t[1],t[2],t[3],s,o)},UB=(function(){function e(A,r,t,n,a,s){this.initialValue=A,this.errorValue=r,this.highStart=t,this.highValueIndex=n,this.index=a,this.data=s}return e.prototype.get=function(A){var r;if(A>=0){if(A<55296||A>56319&&A<=65535)return r=this.index[A>>ye],r=(r<<_r)+(A&Gr),this.data[r];if(A<=65535)return r=this.index[gi+(A-55296>>ye)],r=(r<<_r)+(A&Gr),this.data[r];if(A<this.highStart)return r=wB-pB+(A>>Rn),r=this.index[r],r+=A>>ye&QB,r=this.index[r],r=(r<<_r)+(A&Gr),this.data[r];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e})(),ya="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",FB=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Pt=0;Pt<ya.length;Pt++)FB[ya.charCodeAt(Pt)]=Pt;var bB=1,jr=2,Vr=3,xa=4,Ia=5,EB=7,Ha=8,Pr=9,Xr=10,Sa=11,La=12,ka=13,Ma=14,Jr=15,yB=function(e){for(var A=[],r=0,t=e.length;r<t;){var n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<t){var a=e.charCodeAt(r++);(a&64512)===56320?A.push(((n&1023)<<10)+(a&1023)+65536):(A.push(n),r--)}else A.push(n)}return A},xB=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";for(var t=[],n=-1,a="";++n<r;){var s=e[n];s<=65535?t.push(s):(s-=65536,t.push((s>>10)+55296,s%1024+56320)),(n+1===r||t.length>16384)&&(a+=String.fromCharCode.apply(String,t),t.length=0)}return a},IB=vB(iB),VA="×",Wr="÷",HB=function(e){return IB.get(e)},SB=function(e,A,r){var t=r-2,n=A[t],a=A[r-1],s=A[r];if(a===jr&&s===Vr)return VA;if(a===jr||a===Vr||a===xa||s===jr||s===Vr||s===xa)return Wr;if(a===Ha&&[Ha,Pr,Sa,La].indexOf(s)!==-1||(a===Sa||a===Pr)&&(s===Pr||s===Xr)||(a===La||a===Xr)&&s===Xr||s===ka||s===Ia||s===EB||a===bB)return VA;if(a===ka&&s===Ma){for(;n===Ia;)n=A[--t];if(n===Ma)return VA}if(a===Jr&&s===Jr){for(var o=0;n===Jr;)o++,n=A[--t];if(o%2===0)return VA}return Wr},LB=function(e){var A=yB(e),r=A.length,t=0,n=0,a=A.map(HB);return{next:function(){if(t>=r)return{done:!0,value:null};for(var s=VA;t<r&&(s=SB(A,a,++t))===VA;);if(s!==VA||t===r){var o=xB.apply(null,A.slice(n,t));return n=t,{value:o,done:!1}}return{done:!0,value:null}}}},kB=function(e){for(var A=LB(e),r=[],t;!(t=A.next()).done;)t.value&&r.push(t.value.slice());return r},MB=function(e){var A=123;if(e.createRange){var r=e.createRange();if(r.getBoundingClientRect){var t=e.createElement("boundtest");t.style.height=A+"px",t.style.display="block",e.body.appendChild(t),r.selectNode(t);var n=r.getBoundingClientRect(),a=Math.round(n.height);if(e.body.removeChild(t),a===A)return!0}}return!1},KB=function(e){var A=e.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",e.body.appendChild(A);var r=e.createRange();A.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var t=A.firstChild,n=mr(t.data).map(function(l){return bA(l)}),a=0,s={},o=n.every(function(l,c){r.setStart(t,a),r.setEnd(t,a+l.length);var g=r.getBoundingClientRect();a+=l.length;var B=g.x>s.x||g.y>s.y;return s=g,c===0?!0:B});return e.body.removeChild(A),o},TB=function(){return typeof new Image().crossOrigin<"u"},DB=function(){return typeof new XMLHttpRequest().responseType=="string"},OB=function(e){var A=new Image,r=e.createElement("canvas"),t=r.getContext("2d");if(!t)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{t.drawImage(A,0,0),r.toDataURL()}catch{return!1}return!0},Ka=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},RB=function(e){var A=e.createElement("canvas"),r=100;A.width=r,A.height=r;var t=A.getContext("2d");if(!t)return Promise.reject(!1);t.fillStyle="rgb(0, 255, 0)",t.fillRect(0,0,r,r);var n=new Image,a=A.toDataURL();n.src=a;var s=En(r,r,0,0,n);return t.fillStyle="red",t.fillRect(0,0,r,r),Ta(s).then(function(o){t.drawImage(o,0,0);var l=t.getImageData(0,0,r,r).data;t.fillStyle="red",t.fillRect(0,0,r,r);var c=e.createElement("div");return c.style.backgroundImage="url("+a+")",c.style.height=r+"px",Ka(l)?Ta(En(r,r,0,0,c)):Promise.reject(!1)}).then(function(o){return t.drawImage(o,0,0),Ka(t.getImageData(0,0,r,r).data)}).catch(function(){return!1})},En=function(e,A,r,t,n){var a="http://www.w3.org/2000/svg",s=document.createElementNS(a,"svg"),o=document.createElementNS(a,"foreignObject");return s.setAttributeNS(null,"width",e.toString()),s.setAttributeNS(null,"height",A.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",r.toString()),o.setAttributeNS(null,"y",t.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(n),s},Ta=function(e){return new Promise(function(A,r){var t=new Image;t.onload=function(){return A(t)},t.onerror=r,t.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},HA={get SUPPORT_RANGE_BOUNDS(){var e=MB(document);return Object.defineProperty(HA,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=HA.SUPPORT_RANGE_BOUNDS&&KB(document);return Object.defineProperty(HA,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=OB(document);return Object.defineProperty(HA,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?RB(document):Promise.resolve(!1);return Object.defineProperty(HA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=TB();return Object.defineProperty(HA,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=DB();return Object.defineProperty(HA,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(HA,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(HA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},lt=(function(){function e(A,r){this.text=A,this.bounds=r}return e})(),NB=function(e,A,r,t){var n=jB(A,r),a=[],s=0;return n.forEach(function(o){if(r.textDecorationLine.length||o.trim().length>0)if(HA.SUPPORT_RANGE_BOUNDS){var l=Da(t,s,o.length).getClientRects();if(l.length>1){var c=Nn(o),g=0;c.forEach(function(u){a.push(new lt(u,ie.fromDOMRectList(e,Da(t,g+s,u.length).getClientRects()))),g+=u.length})}else a.push(new lt(o,ie.fromDOMRectList(e,l)))}else{var B=t.splitText(o.length);a.push(new lt(o,_B(e,t))),t=B}else HA.SUPPORT_RANGE_BOUNDS||(t=t.splitText(o.length));s+=o.length}),a},_B=function(e,A){var r=A.ownerDocument;if(r){var t=r.createElement("html2canvaswrapper");t.appendChild(A.cloneNode(!0));var n=A.parentNode;if(n){n.replaceChild(t,A);var a=Qr(e,t);return t.firstChild&&n.replaceChild(t.firstChild,t),a}}return ie.EMPTY},Da=function(e,A,r){var t=e.ownerDocument;if(!t)throw new Error("Node has no owner document");var n=t.createRange();return n.setStart(e,A),n.setEnd(e,A+r),n},Nn=function(e){if(HA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(e)).map(function(r){return r.segment})}return kB(e)},GB=function(e,A){if(HA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var r=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(r.segment(e)).map(function(t){return t.segment})}return PB(e,A)},jB=function(e,A){return A.letterSpacing!==0?Nn(e):GB(e,A)},VB=[32,160,4961,65792,65793,4153,4241],PB=function(e,A){for(var r=pc(e,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),t=[],n,a=function(){if(n.value){var s=n.value.slice(),o=mr(s),l="";o.forEach(function(c){VB.indexOf(c)===-1?l+=bA(c):(l.length&&t.push(l),t.push(bA(c)),l="")}),l.length&&t.push(l)}};!(n=r.next()).done;)a();return t},XB=(function(){function e(A,r,t){this.text=JB(r.data,t.textTransform),this.textBounds=NB(A,this.text,t,r)}return e})(),JB=function(e,A){switch(A){case 1:return e.toLowerCase();case 3:return e.replace(WB,YB);case 2:return e.toUpperCase();default:return e}},WB=/(^|\s|:|-|\(|\))([a-z])/g,YB=function(e,A,r){return e.length>0?A+r.toUpperCase():e},ui=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.src=t.currentSrc||t.src,n.intrinsicWidth=t.naturalWidth,n.intrinsicHeight=t.naturalHeight,n.context.cache.addImage(n.src),n}return A})(re),Bi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.canvas=t,n.intrinsicWidth=t.width,n.intrinsicHeight=t.height,n}return A})(re),di=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this,a=new XMLSerializer,s=Qr(r,t);return t.setAttribute("width",s.width+"px"),t.setAttribute("height",s.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(a.serializeToString(t)),n.intrinsicWidth=t.width.baseVal.value,n.intrinsicHeight=t.height.baseVal.value,n.context.cache.addImage(n.svg),n}return A})(re),fi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.value=t.value,n}return A})(re),yn=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.start=t.start,n.reversed=typeof t.reversed=="boolean"&&t.reversed===!0,n}return A})(re),ZB=[{type:15,flags:0,unit:"px",number:3}],zB=[{type:16,flags:0,number:50}],qB=function(e){return e.width>e.height?new ie(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new ie(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},$B=function(e){var A=e.type===Ad?new Array(e.value.length+1).join("•"):e.value;return A.length===0?e.placeholder||"":A},gr="checkbox",ur="radio",Ad="password",Oa=707406591,_n=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;switch(n.type=t.type.toLowerCase(),n.checked=t.checked,n.value=$B(t),(n.type===gr||n.type===ur)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=qB(n.bounds)),n.type){case gr:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=ZB;break;case ur:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=zB;break}return n}return A})(re),hi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this,a=t.options[t.selectedIndex||0];return n.value=a&&a.text||"",n}return A})(re),wi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.value=t.value,n}return A})(re),pi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;n.src=t.src,n.width=parseInt(t.width,10)||0,n.height=parseInt(t.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement){n.tree=Qi(r,t.contentWindow.document.documentElement);var a=t.contentWindow.document.documentElement?it(r,getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):se.TRANSPARENT,s=t.contentWindow.document.body?it(r,getComputedStyle(t.contentWindow.document.body).backgroundColor):se.TRANSPARENT;n.backgroundColor=we(a)?we(s)?n.styles.backgroundColor:s:a}}catch{}return n}return A})(re),ed=["OL","UL","MENU"],$t=function(e,A,r,t){for(var n=A.firstChild,a=void 0;n;n=a)if(a=n.nextSibling,mi(n)&&n.data.trim().length>0)r.textNodes.push(new XB(e,n,r.styles));else if(De(n))if(bi(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return $t(e,o,r,t)});else{var s=Ci(e,n);s.styles.isVisible()&&(td(n,s,t)?s.flags|=4:rd(s.styles)&&(s.flags|=2),ed.indexOf(n.tagName)!==-1&&(s.flags|=8),r.elements.push(s),n.slot,n.shadowRoot?$t(e,n.shadowRoot,s,t):!Br(n)&&!vi(n)&&!dr(n)&&$t(e,n,s,t))}},Ci=function(e,A){return In(A)?new ui(e,A):Ui(A)?new Bi(e,A):vi(A)?new di(e,A):nd(A)?new fi(e,A):ad(A)?new yn(e,A):sd(A)?new _n(e,A):dr(A)?new hi(e,A):Br(A)?new wi(e,A):Fi(A)?new pi(e,A):new re(e,A)},Qi=function(e,A){var r=Ci(e,A);return r.flags|=4,$t(e,A,r,r),r},td=function(e,A,r){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Gn(e)&&r.styles.isTransparent()},rd=function(e){return e.isPositioned()||e.isFloating()},mi=function(e){return e.nodeType===Node.TEXT_NODE},De=function(e){return e.nodeType===Node.ELEMENT_NODE},xn=function(e){return De(e)&&typeof e.style<"u"&&!Ar(e)},Ar=function(e){return typeof e.className=="object"},nd=function(e){return e.tagName==="LI"},ad=function(e){return e.tagName==="OL"},sd=function(e){return e.tagName==="INPUT"},id=function(e){return e.tagName==="HTML"},vi=function(e){return e.tagName==="svg"},Gn=function(e){return e.tagName==="BODY"},Ui=function(e){return e.tagName==="CANVAS"},Ra=function(e){return e.tagName==="VIDEO"},In=function(e){return e.tagName==="IMG"},Fi=function(e){return e.tagName==="IFRAME"},Na=function(e){return e.tagName==="STYLE"},od=function(e){return e.tagName==="SCRIPT"},Br=function(e){return e.tagName==="TEXTAREA"},dr=function(e){return e.tagName==="SELECT"},bi=function(e){return e.tagName==="SLOT"},_a=function(e){return e.tagName.indexOf("-")>0},ld=(function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(A){var r=this.counters[A];return r&&r.length?r[r.length-1]:1},e.prototype.getCounterValues=function(A){var r=this.counters[A];return r||[]},e.prototype.pop=function(A){var r=this;A.forEach(function(t){return r.counters[t].pop()})},e.prototype.parse=function(A){var r=this,t=A.counterIncrement,n=A.counterReset,a=!0;t!==null&&t.forEach(function(o){var l=r.counters[o.counter];l&&o.increment!==0&&(a=!1,l.length||l.push(1),l[Math.max(0,l.length-1)]+=o.increment)});var s=[];return a&&n.forEach(function(o){var l=r.counters[o.counter];s.push(o.counter),l||(l=r.counters[o.counter]=[]),l.push(o.reset)}),s},e})(),Ga={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ja={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},cd={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},gd={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Se=function(e,A,r,t,n,a){return e<A||e>r?wt(e,n,a.length>0):t.integers.reduce(function(s,o,l){for(;e>=o;)e-=o,s+=t.values[l];return s},"")+a},Ei=function(e,A,r,t){var n="";do r||e--,n=t(e)+n,e/=A;while(e*A>=A);return n},FA=function(e,A,r,t,n){var a=r-A+1;return(e<0?"-":"")+(Ei(Math.abs(e),a,t,function(s){return bA(Math.floor(s%a)+A)})+n)},Ce=function(e,A,r){r===void 0&&(r=". ");var t=A.length;return Ei(Math.abs(e),t,!1,function(n){return A[Math.floor(n%t)]})+r},Me=1,oe=2,le=4,rt=8,ae=function(e,A,r,t,n,a){if(e<-9999||e>9999)return wt(e,4,n.length>0);var s=Math.abs(e),o=n;if(s===0)return A[0]+o;for(var l=0;s>0&&l<=4;l++){var c=s%10;c===0&&yA(a,Me)&&o!==""?o=A[c]+o:c>1||c===1&&l===0||c===1&&l===1&&yA(a,oe)||c===1&&l===1&&yA(a,le)&&e>100||c===1&&l>1&&yA(a,rt)?o=A[c]+(l>0?r[l-1]:"")+o:c===1&&l>0&&(o=r[l-1]+o),s=Math.floor(s/10)}return(e<0?t:"")+o},Va="十百千萬",Pa="拾佰仟萬",Xa="マイナス",Yr="마이너스",wt=function(e,A,r){var t=r?". ":"",n=r?"、":"",a=r?", ":"",s=r?" ":"";switch(A){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var o=FA(e,48,57,!0,t);return o.length<4?"0"+o:o;case 4:return Ce(e,"〇一二三四五六七八九",n);case 6:return Se(e,1,3999,Ga,3,t).toLowerCase();case 7:return Se(e,1,3999,Ga,3,t);case 8:return FA(e,945,969,!1,t);case 9:return FA(e,97,122,!1,t);case 10:return FA(e,65,90,!1,t);case 11:return FA(e,1632,1641,!0,t);case 12:case 49:return Se(e,1,9999,ja,3,t);case 35:return Se(e,1,9999,ja,3,t).toLowerCase();case 13:return FA(e,2534,2543,!0,t);case 14:case 30:return FA(e,6112,6121,!0,t);case 15:return Ce(e,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Ce(e,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return ae(e,"零一二三四五六七八九",Va,"負",n,oe|le|rt);case 47:return ae(e,"零壹貳參肆伍陸柒捌玖",Pa,"負",n,Me|oe|le|rt);case 42:return ae(e,"零一二三四五六七八九",Va,"负",n,oe|le|rt);case 41:return ae(e,"零壹贰叁肆伍陆柒捌玖",Pa,"负",n,Me|oe|le|rt);case 26:return ae(e,"〇一二三四五六七八九","十百千万",Xa,n,0);case 25:return ae(e,"零壱弐参四伍六七八九","拾百千万",Xa,n,Me|oe|le);case 31:return ae(e,"영일이삼사오육칠팔구","십백천만",Yr,a,Me|oe|le);case 33:return ae(e,"零一二三四五六七八九","十百千萬",Yr,a,0);case 32:return ae(e,"零壹貳參四五六七八九","拾百千",Yr,a,Me|oe|le);case 18:return FA(e,2406,2415,!0,t);case 20:return Se(e,1,19999,gd,3,t);case 21:return FA(e,2790,2799,!0,t);case 22:return FA(e,2662,2671,!0,t);case 22:return Se(e,1,10999,cd,3,t);case 23:return Ce(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Ce(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return FA(e,3302,3311,!0,t);case 28:return Ce(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Ce(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return FA(e,3792,3801,!0,t);case 37:return FA(e,6160,6169,!0,t);case 38:return FA(e,4160,4169,!0,t);case 39:return FA(e,2918,2927,!0,t);case 40:return FA(e,1776,1785,!0,t);case 43:return FA(e,3046,3055,!0,t);case 44:return FA(e,3174,3183,!0,t);case 45:return FA(e,3664,3673,!0,t);case 46:return FA(e,3872,3881,!0,t);default:return FA(e,48,57,!0,t)}},yi="data-html2canvas-ignore",Ja=(function(){function e(A,r,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=r,this.counters=new ld,this.quoteDepth=0,!r.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(r.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(A,r){var t=this,n=ud(A,r);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var a=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,o=n.contentWindow,l=o.document,c=fd(n).then(function(){return OA(t,void 0,void 0,function(){var g,B;return kA(this,function(u){switch(u.label){case 0:return this.scrolledElements.forEach(Cd),o&&(o.scrollTo(r.left,r.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==r.top||o.scrollX!==r.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-r.left,o.scrollY-r.top,0,0))),g=this.options.onclone,B=this.clonedReferenceElement,typeof B>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:u.sent(),u.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,dd(l)]:[3,4];case 3:u.sent(),u.label=4;case 4:return typeof g=="function"?[2,Promise.resolve().then(function(){return g(l,B)}).then(function(){return n})]:[2,n]}})})});return l.open(),l.write(wd(document.doctype)+"<html></html>"),pd(this.referenceElement.ownerDocument,a,s),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),c},e.prototype.createElementClone=function(A){if(bn(A,2))debugger;if(Ui(A))return this.createCanvasClone(A);if(Ra(A))return this.createVideoClone(A);if(Na(A))return this.createStyleClone(A);var r=A.cloneNode(!1);return In(r)&&(In(A)&&A.currentSrc&&A.currentSrc!==A.src&&(r.src=A.currentSrc,r.srcset=""),r.loading==="lazy"&&(r.loading="eager")),_a(r)?this.createCustomElementClone(r):r},e.prototype.createCustomElementClone=function(A){var r=document.createElement("html2canvascustomelement");return Zr(A.style,r),r},e.prototype.createStyleClone=function(A){try{var r=A.sheet;if(r&&r.cssRules){var t=[].slice.call(r.cssRules,0).reduce(function(a,s){return s&&typeof s.cssText=="string"?a+s.cssText:a},""),n=A.cloneNode(!1);return n.textContent=t,n}}catch(a){if(this.context.logger.error("Unable to access cssRules property",a),a.name!=="SecurityError")throw a}return A.cloneNode(!1)},e.prototype.createCanvasClone=function(A){var r;if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var a=A.getContext("2d"),s=n.getContext("2d");if(s)if(!this.options.allowTaint&&a)s.putImageData(a.getImageData(0,0,A.width,A.height),0,0);else{var o=(r=A.getContext("webgl2"))!==null&&r!==void 0?r:A.getContext("webgl");if(o){var l=o.getContextAttributes();l?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}s.drawImage(A,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},e.prototype.createVideoClone=function(A){var r=A.ownerDocument.createElement("canvas");r.width=A.offsetWidth,r.height=A.offsetHeight;var t=r.getContext("2d");try{return t&&(t.drawImage(A,0,0,r.width,r.height),this.options.allowTaint||t.getImageData(0,0,r.width,r.height)),r}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},e.prototype.appendChildNode=function(A,r,t){(!De(r)||!od(r)&&!r.hasAttribute(yi)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(r)))&&(!this.options.copyStyles||!De(r)||!Na(r))&&A.appendChild(this.cloneNode(r,t))},e.prototype.cloneChildNodes=function(A,r,t){for(var n=this,a=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;a;a=a.nextSibling)if(De(a)&&bi(a)&&typeof a.assignedNodes=="function"){var s=a.assignedNodes();s.length&&s.forEach(function(o){return n.appendChildNode(r,o,t)})}else this.appendChildNode(r,a,t)},e.prototype.cloneNode=function(A,r){if(mi(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&De(A)&&(xn(A)||Ar(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var a=t.getComputedStyle(A),s=t.getComputedStyle(A,":before"),o=t.getComputedStyle(A,":after");this.referenceElement===A&&xn(n)&&(this.clonedReferenceElement=n),Gn(n)&&vd(n);var l=this.counters.parse(new Fa(this.context,a)),c=this.resolvePseudoContent(A,n,s,ct.BEFORE);_a(A)&&(r=!0),Ra(A)||this.cloneChildNodes(A,n,r),c&&n.insertBefore(c,n.firstChild);var g=this.resolvePseudoContent(A,n,o,ct.AFTER);return g&&n.appendChild(g),this.counters.pop(l),(a&&(this.options.copyStyles||Ar(A))&&!Fi(A)||r)&&Zr(a,n),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(Br(A)||dr(A))&&(Br(n)||dr(n))&&(n.value=A.value),n}return A.cloneNode(!1)},e.prototype.resolvePseudoContent=function(A,r,t,n){var a=this;if(t){var s=t.content,o=r.ownerDocument;if(!(!o||!s||s==="none"||s==="-moz-alt-content"||t.display==="none")){this.counters.parse(new Fa(this.context,t));var l=new nB(this.context,t),c=o.createElement("html2canvaspseudoelement");Zr(t,c),l.content.forEach(function(B){if(B.type===0)c.appendChild(o.createTextNode(B.value));else if(B.type===22){var u=o.createElement("img");u.src=B.value,u.style.opacity="1",c.appendChild(u)}else if(B.type===18){if(B.name==="attr"){var p=B.values.filter(BA);p.length&&c.appendChild(o.createTextNode(A.getAttribute(p[0].value)||""))}else if(B.name==="counter"){var Q=B.values.filter(_e),C=Q[0],I=Q[1];if(C&&BA(C)){var U=a.counters.getCounterValue(C.value),b=I&&BA(I)?Fn.parse(a.context,I.value):3;c.appendChild(o.createTextNode(wt(U,b,!1)))}}else if(B.name==="counters"){var L=B.values.filter(_e),C=L[0],S=L[1],I=L[2];if(C&&BA(C)){var y=a.counters.getCounterValues(C.value),h=I&&BA(I)?Fn.parse(a.context,I.value):3,x=S&&S.type===0?S.value:"",K=y.map(function(O){return wt(O,h,!1)}).join(x);c.appendChild(o.createTextNode(K))}}}else if(B.type===20)switch(B.value){case"open-quote":c.appendChild(o.createTextNode(Ua(l.quotes,a.quoteDepth++,!0)));break;case"close-quote":c.appendChild(o.createTextNode(Ua(l.quotes,--a.quoteDepth,!1)));break;default:c.appendChild(o.createTextNode(B.value))}}),c.className=Hn+" "+Sn;var g=n===ct.BEFORE?" "+Hn:" "+Sn;return Ar(r)?r.className.baseValue+=g:r.className+=g,c}}},e.destroy=function(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1},e})(),ct;(function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"})(ct||(ct={}));var ud=function(e,A){var r=e.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=A.width.toString(),r.height=A.height.toString(),r.scrolling="no",r.setAttribute(yi,"true"),e.body.appendChild(r),r},Bd=function(e){return new Promise(function(A){if(e.complete){A();return}if(!e.src){A();return}e.onload=A,e.onerror=A})},dd=function(e){return Promise.all([].slice.call(e.images,0).map(Bd))},fd=function(e){return new Promise(function(A,r){var t=e.contentWindow;if(!t)return r("No window assigned for iframe");var n=t.document;t.onload=e.onload=function(){t.onload=e.onload=null;var a=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(a),A(e))},50)}})},hd=["all","d","content"],Zr=function(e,A){for(var r=e.length-1;r>=0;r--){var t=e.item(r);hd.indexOf(t)===-1&&A.style.setProperty(t,e.getPropertyValue(t))}return A},wd=function(e){var A="";return e&&(A+="<!DOCTYPE ",e.name&&(A+=e.name),e.internalSubset&&(A+=e.internalSubset),e.publicId&&(A+='"'+e.publicId+'"'),e.systemId&&(A+='"'+e.systemId+'"'),A+=">"),A},pd=function(e,A,r){e&&e.defaultView&&(A!==e.defaultView.pageXOffset||r!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(A,r)},Cd=function(e){var A=e[0],r=e[1],t=e[2];A.scrollLeft=r,A.scrollTop=t},Qd=":before",md=":after",Hn="___html2canvas___pseudoelement_before",Sn="___html2canvas___pseudoelement_after",Wa=`{- content: "" !important;- display: none !important;-}`,vd=function(e){Ud(e,"."+Hn+Qd+Wa+`- .`+Sn+md+Wa)},Ud=function(e,A){var r=e.ownerDocument;if(r){var t=r.createElement("style");t.textContent=A,e.appendChild(t)}},xi=(function(){function e(){}return e.getOrigin=function(A){var r=e._link;return r?(r.href=A,r.href=r.href,r.protocol+r.hostname+r.port):"about:blank"},e.isSameOrigin=function(A){return e.getOrigin(A)===e._origin},e.setContext=function(A){e._link=A.document.createElement("a"),e._origin=e.getOrigin(A.location.href)},e._origin="about:blank",e})(),Fd=(function(){function e(A,r){this.context=A,this._options=r,this._cache={}}return e.prototype.addImage=function(A){var r=Promise.resolve();return this.has(A)||(qr(A)||xd(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),r},e.prototype.match=function(A){return this._cache[A]},e.prototype.loadImage=function(A){return OA(this,void 0,void 0,function(){var r,t,n,a,s=this;return kA(this,function(o){switch(o.label){case 0:return r=xi.isSameOrigin(A),t=!zr(A)&&this._options.useCORS===!0&&HA.SUPPORT_CORS_IMAGES&&!r,n=!zr(A)&&!r&&!qr(A)&&typeof this._options.proxy=="string"&&HA.SUPPORT_CORS_XHR&&!t,!r&&this._options.allowTaint===!1&&!zr(A)&&!qr(A)&&!n&&!t?[2]:(a=A,n?[4,this.proxy(a)]:[3,2]);case 1:a=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(l,c){var g=new Image;g.onload=function(){return l(g)},g.onerror=c,(Id(a)||t)&&(g.crossOrigin="anonymous"),g.src=a,g.complete===!0&&setTimeout(function(){return l(g)},500),s._options.imageTimeout>0&&setTimeout(function(){return c("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},e.prototype.has=function(A){return typeof this._cache[A]<"u"},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(A){var r=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise(function(a,s){var o=HA.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;l.onload=function(){if(l.status===200)if(o==="text")a(l.response);else{var B=new FileReader;B.addEventListener("load",function(){return a(B.result)},!1),B.addEventListener("error",function(u){return s(u)},!1),B.readAsDataURL(l.response)}else s("Failed to proxy resource "+n+" with status code "+l.status)},l.onerror=s;var c=t.indexOf("?")>-1?"&":"?";if(l.open("GET",""+t+c+"url="+encodeURIComponent(A)+"&responseType="+o),o!=="text"&&l instanceof XMLHttpRequest&&(l.responseType=o),r._options.imageTimeout){var g=r._options.imageTimeout;l.timeout=g,l.ontimeout=function(){return s("Timed out ("+g+"ms) proxying "+n)}}l.send()})},e})(),bd=/^data:image\/svg\+xml/i,Ed=/^data:image\/.*;base64,/i,yd=/^data:image\/.*/i,xd=function(e){return HA.SUPPORT_SVG_DRAWING||!Hd(e)},zr=function(e){return yd.test(e)},Id=function(e){return Ed.test(e)},qr=function(e){return e.substr(0,4)==="blob"},Hd=function(e){return e.substr(-3).toLowerCase()==="svg"||bd.test(e)},V=(function(){function e(A,r){this.type=0,this.x=A,this.y=r}return e.prototype.add=function(A,r){return new e(this.x+A,this.y+r)},e})(),Le=function(e,A,r){return new V(e.x+(A.x-e.x)*r,e.y+(A.y-e.y)*r)},Xt=(function(){function e(A,r,t,n){this.type=1,this.start=A,this.startControl=r,this.endControl=t,this.end=n}return e.prototype.subdivide=function(A,r){var t=Le(this.start,this.startControl,A),n=Le(this.startControl,this.endControl,A),a=Le(this.endControl,this.end,A),s=Le(t,n,A),o=Le(n,a,A),l=Le(s,o,A);return r?new e(this.start,t,s,l):new e(l,o,a,this.end)},e.prototype.add=function(A,r){return new e(this.start.add(A,r),this.startControl.add(A,r),this.endControl.add(A,r),this.end.add(A,r))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e})(),PA=function(e){return e.type===1},Sd=(function(){function e(A){var r=A.styles,t=A.bounds,n=et(r.borderTopLeftRadius,t.width,t.height),a=n[0],s=n[1],o=et(r.borderTopRightRadius,t.width,t.height),l=o[0],c=o[1],g=et(r.borderBottomRightRadius,t.width,t.height),B=g[0],u=g[1],p=et(r.borderBottomLeftRadius,t.width,t.height),Q=p[0],C=p[1],I=[];I.push((a+l)/t.width),I.push((Q+B)/t.width),I.push((s+C)/t.height),I.push((c+u)/t.height);var U=Math.max.apply(Math,I);U>1&&(a/=U,s/=U,l/=U,c/=U,B/=U,u/=U,Q/=U,C/=U);var b=t.width-l,L=t.height-u,S=t.width-B,y=t.height-C,h=r.borderTopWidth,x=r.borderRightWidth,K=r.borderBottomWidth,k=r.borderLeftWidth,R=wA(r.paddingTop,A.bounds.width),O=wA(r.paddingRight,A.bounds.width),Z=wA(r.paddingBottom,A.bounds.width),D=wA(r.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=a>0||s>0?CA(t.left+k/3,t.top+h/3,a-k/3,s-h/3,gA.TOP_LEFT):new V(t.left+k/3,t.top+h/3),this.topRightBorderDoubleOuterBox=a>0||s>0?CA(t.left+b,t.top+h/3,l-x/3,c-h/3,gA.TOP_RIGHT):new V(t.left+t.width-x/3,t.top+h/3),this.bottomRightBorderDoubleOuterBox=B>0||u>0?CA(t.left+S,t.top+L,B-x/3,u-K/3,gA.BOTTOM_RIGHT):new V(t.left+t.width-x/3,t.top+t.height-K/3),this.bottomLeftBorderDoubleOuterBox=Q>0||C>0?CA(t.left+k/3,t.top+y,Q-k/3,C-K/3,gA.BOTTOM_LEFT):new V(t.left+k/3,t.top+t.height-K/3),this.topLeftBorderDoubleInnerBox=a>0||s>0?CA(t.left+k*2/3,t.top+h*2/3,a-k*2/3,s-h*2/3,gA.TOP_LEFT):new V(t.left+k*2/3,t.top+h*2/3),this.topRightBorderDoubleInnerBox=a>0||s>0?CA(t.left+b,t.top+h*2/3,l-x*2/3,c-h*2/3,gA.TOP_RIGHT):new V(t.left+t.width-x*2/3,t.top+h*2/3),this.bottomRightBorderDoubleInnerBox=B>0||u>0?CA(t.left+S,t.top+L,B-x*2/3,u-K*2/3,gA.BOTTOM_RIGHT):new V(t.left+t.width-x*2/3,t.top+t.height-K*2/3),this.bottomLeftBorderDoubleInnerBox=Q>0||C>0?CA(t.left+k*2/3,t.top+y,Q-k*2/3,C-K*2/3,gA.BOTTOM_LEFT):new V(t.left+k*2/3,t.top+t.height-K*2/3),this.topLeftBorderStroke=a>0||s>0?CA(t.left+k/2,t.top+h/2,a-k/2,s-h/2,gA.TOP_LEFT):new V(t.left+k/2,t.top+h/2),this.topRightBorderStroke=a>0||s>0?CA(t.left+b,t.top+h/2,l-x/2,c-h/2,gA.TOP_RIGHT):new V(t.left+t.width-x/2,t.top+h/2),this.bottomRightBorderStroke=B>0||u>0?CA(t.left+S,t.top+L,B-x/2,u-K/2,gA.BOTTOM_RIGHT):new V(t.left+t.width-x/2,t.top+t.height-K/2),this.bottomLeftBorderStroke=Q>0||C>0?CA(t.left+k/2,t.top+y,Q-k/2,C-K/2,gA.BOTTOM_LEFT):new V(t.left+k/2,t.top+t.height-K/2),this.topLeftBorderBox=a>0||s>0?CA(t.left,t.top,a,s,gA.TOP_LEFT):new V(t.left,t.top),this.topRightBorderBox=l>0||c>0?CA(t.left+b,t.top,l,c,gA.TOP_RIGHT):new V(t.left+t.width,t.top),this.bottomRightBorderBox=B>0||u>0?CA(t.left+S,t.top+L,B,u,gA.BOTTOM_RIGHT):new V(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=Q>0||C>0?CA(t.left,t.top+y,Q,C,gA.BOTTOM_LEFT):new V(t.left,t.top+t.height),this.topLeftPaddingBox=a>0||s>0?CA(t.left+k,t.top+h,Math.max(0,a-k),Math.max(0,s-h),gA.TOP_LEFT):new V(t.left+k,t.top+h),this.topRightPaddingBox=l>0||c>0?CA(t.left+Math.min(b,t.width-x),t.top+h,b>t.width+x?0:Math.max(0,l-x),Math.max(0,c-h),gA.TOP_RIGHT):new V(t.left+t.width-x,t.top+h),this.bottomRightPaddingBox=B>0||u>0?CA(t.left+Math.min(S,t.width-k),t.top+Math.min(L,t.height-K),Math.max(0,B-x),Math.max(0,u-K),gA.BOTTOM_RIGHT):new V(t.left+t.width-x,t.top+t.height-K),this.bottomLeftPaddingBox=Q>0||C>0?CA(t.left+k,t.top+Math.min(y,t.height-K),Math.max(0,Q-k),Math.max(0,C-K),gA.BOTTOM_LEFT):new V(t.left+k,t.top+t.height-K),this.topLeftContentBox=a>0||s>0?CA(t.left+k+D,t.top+h+R,Math.max(0,a-(k+D)),Math.max(0,s-(h+R)),gA.TOP_LEFT):new V(t.left+k+D,t.top+h+R),this.topRightContentBox=l>0||c>0?CA(t.left+Math.min(b,t.width+k+D),t.top+h+R,b>t.width+k+D?0:l-k+D,c-(h+R),gA.TOP_RIGHT):new V(t.left+t.width-(x+O),t.top+h+R),this.bottomRightContentBox=B>0||u>0?CA(t.left+Math.min(S,t.width-(k+D)),t.top+Math.min(L,t.height+h+R),Math.max(0,B-(x+O)),u-(K+Z),gA.BOTTOM_RIGHT):new V(t.left+t.width-(x+O),t.top+t.height-(K+Z)),this.bottomLeftContentBox=Q>0||C>0?CA(t.left+k+D,t.top+y,Math.max(0,Q-(k+D)),C-(K+Z),gA.BOTTOM_LEFT):new V(t.left+k+D,t.top+t.height-(K+Z))}return e})(),gA;(function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(gA||(gA={}));var CA=function(e,A,r,t,n){var a=4*((Math.sqrt(2)-1)/3),s=r*a,o=t*a,l=e+r,c=A+t;switch(n){case gA.TOP_LEFT:return new Xt(new V(e,c),new V(e,c-o),new V(l-s,A),new V(l,A));case gA.TOP_RIGHT:return new Xt(new V(e,A),new V(e+s,A),new V(l,c-o),new V(l,c));case gA.BOTTOM_RIGHT:return new Xt(new V(l,A),new V(l,A+o),new V(e+s,c),new V(e,c));case gA.BOTTOM_LEFT:default:return new Xt(new V(l,c),new V(l-s,c),new V(e,A+o),new V(e,A))}},fr=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Ld=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},hr=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},kd=(function(){function e(A,r,t){this.offsetX=A,this.offsetY=r,this.matrix=t,this.type=0,this.target=6}return e})(),Jt=(function(){function e(A,r){this.path=A,this.target=r,this.type=1}return e})(),Md=(function(){function e(A){this.opacity=A,this.type=2,this.target=6}return e})(),Kd=function(e){return e.type===0},Ii=function(e){return e.type===1},Td=function(e){return e.type===2},Ya=function(e,A){return e.length===A.length?e.some(function(r,t){return r===A[t]}):!1},Dd=function(e,A,r,t,n){return e.map(function(a,s){switch(s){case 0:return a.add(A,r);case 1:return a.add(A+t,r);case 2:return a.add(A+t,r+n);case 3:return a.add(A,r+n)}return a})},Hi=(function(){function e(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e})(),Si=(function(){function e(A,r){if(this.container=A,this.parent=r,this.effects=[],this.curves=new Sd(this.container),this.container.styles.opacity<1&&this.effects.push(new Md(this.container.styles.opacity)),this.container.styles.transform!==null){var t=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,a=this.container.styles.transform;this.effects.push(new kd(t,n,a))}if(this.container.styles.overflowX!==0){var s=fr(this.curves),o=hr(this.curves);Ya(s,o)?this.effects.push(new Jt(s,6)):(this.effects.push(new Jt(s,2)),this.effects.push(new Jt(o,4)))}}return e.prototype.getEffects=function(A){for(var r=[2,3].indexOf(this.container.styles.position)===-1,t=this.parent,n=this.effects.slice(0);t;){var a=t.effects.filter(function(l){return!Ii(l)});if(r||t.container.styles.position!==0||!t.parent){if(n.unshift.apply(n,a),r=[2,3].indexOf(t.container.styles.position)===-1,t.container.styles.overflowX!==0){var s=fr(t.curves),o=hr(t.curves);Ya(s,o)||n.unshift(new Jt(o,6))}}else n.unshift.apply(n,a);t=t.parent}return n.filter(function(l){return yA(l.target,A)})},e})(),Ln=function(e,A,r,t){e.container.elements.forEach(function(n){var a=yA(n.flags,4),s=yA(n.flags,2),o=new Si(n,e);yA(n.styles.display,2048)&&t.push(o);var l=yA(n.flags,8)?[]:t;if(a||s){var c=a||n.styles.isPositioned()?r:A,g=new Hi(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var B=n.styles.zIndex.order;if(B<0){var u=0;c.negativeZIndex.some(function(Q,C){return B>Q.element.container.styles.zIndex.order?(u=C,!1):u>0}),c.negativeZIndex.splice(u,0,g)}else if(B>0){var p=0;c.positiveZIndex.some(function(Q,C){return B>=Q.element.container.styles.zIndex.order?(p=C+1,!1):p>0}),c.positiveZIndex.splice(p,0,g)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(g)}else n.styles.isFloating()?c.nonPositionedFloats.push(g):c.nonPositionedInlineLevel.push(g);Ln(o,g,a?g:r,l)}else n.styles.isInlineLevel()?A.inlineLevel.push(o):A.nonInlineLevel.push(o),Ln(o,A,r,l);yA(n.flags,8)&&Li(n,l)})},Li=function(e,A){for(var r=e instanceof yn?e.start:1,t=e instanceof yn?e.reversed:!1,n=0;n<A.length;n++){var a=A[n];a.container instanceof fi&&typeof a.container.value=="number"&&a.container.value!==0&&(r=a.container.value),a.listValue=wt(r,a.container.styles.listStyleType,!0),r+=t?-1:1}},Od=function(e){var A=new Si(e,null),r=new Hi(A),t=[];return Ln(A,r,r,t),Li(A.container,t),r},Za=function(e,A){switch(A){case 0:return JA(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return JA(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return JA(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return JA(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Rd=function(e,A){switch(A){case 0:return JA(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return JA(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return JA(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return JA(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},Nd=function(e,A){switch(A){case 0:return JA(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return JA(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return JA(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return JA(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},_d=function(e,A){switch(A){case 0:return Wt(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Wt(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Wt(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return Wt(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},Wt=function(e,A){var r=[];return PA(e)?r.push(e.subdivide(.5,!1)):r.push(e),PA(A)?r.push(A.subdivide(.5,!0)):r.push(A),r},JA=function(e,A,r,t){var n=[];return PA(e)?n.push(e.subdivide(.5,!1)):n.push(e),PA(r)?n.push(r.subdivide(.5,!0)):n.push(r),PA(t)?n.push(t.subdivide(.5,!0).reverse()):n.push(t),PA(A)?n.push(A.subdivide(.5,!1).reverse()):n.push(A),n},ki=function(e){var A=e.bounds,r=e.styles;return A.add(r.borderLeftWidth,r.borderTopWidth,-(r.borderRightWidth+r.borderLeftWidth),-(r.borderTopWidth+r.borderBottomWidth))},wr=function(e){var A=e.styles,r=e.bounds,t=wA(A.paddingLeft,r.width),n=wA(A.paddingRight,r.width),a=wA(A.paddingTop,r.width),s=wA(A.paddingBottom,r.width);return r.add(t+A.borderLeftWidth,a+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+t+n),-(A.borderTopWidth+A.borderBottomWidth+a+s))},Gd=function(e,A){return e===0?A.bounds:e===2?wr(A):ki(A)},jd=function(e,A){return e===0?A.bounds:e===2?wr(A):ki(A)},$r=function(e,A,r){var t=Gd(Ke(e.styles.backgroundOrigin,A),e),n=jd(Ke(e.styles.backgroundClip,A),e),a=Vd(Ke(e.styles.backgroundSize,A),r,t),s=a[0],o=a[1],l=et(Ke(e.styles.backgroundPosition,A),t.width-s,t.height-o),c=Pd(Ke(e.styles.backgroundRepeat,A),l,a,t,n),g=Math.round(t.left+l[0]),B=Math.round(t.top+l[1]);return[c,g,B,s,o]},ke=function(e){return BA(e)&&e.value===Oe.AUTO},Yt=function(e){return typeof e=="number"},Vd=function(e,A,r){var t=A[0],n=A[1],a=A[2],s=e[0],o=e[1];if(!s)return[0,0];if(EA(s)&&o&&EA(o))return[wA(s,r.width),wA(o,r.height)];var l=Yt(a);if(BA(s)&&(s.value===Oe.CONTAIN||s.value===Oe.COVER)){if(Yt(a)){var c=r.width/r.height;return c<a!=(s.value===Oe.COVER)?[r.width,r.width/a]:[r.height*a,r.height]}return[r.width,r.height]}var g=Yt(t),B=Yt(n),u=g||B;if(ke(s)&&(!o||ke(o))){if(g&&B)return[t,n];if(!l&&!u)return[r.width,r.height];if(u&&l){var p=g?t:n*a,Q=B?n:t/a;return[p,Q]}var C=g?t:r.width,I=B?n:r.height;return[C,I]}if(l){var U=0,b=0;return EA(s)?U=wA(s,r.width):EA(o)&&(b=wA(o,r.height)),ke(s)?U=b*a:(!o||ke(o))&&(b=U/a),[U,b]}var L=null,S=null;if(EA(s)?L=wA(s,r.width):o&&EA(o)&&(S=wA(o,r.height)),L!==null&&(!o||ke(o))&&(S=g&&B?L/t*n:r.height),S!==null&&ke(s)&&(L=g&&B?S/n*t:r.width),L!==null&&S!==null)return[L,S];throw new Error("Unable to calculate background-size for element")},Ke=function(e,A){var r=e[A];return typeof r>"u"?e[0]:r},Pd=function(e,A,r,t,n){var a=A[0],s=A[1],o=r[0],l=r[1];switch(e){case 2:return[new V(Math.round(t.left),Math.round(t.top+s)),new V(Math.round(t.left+t.width),Math.round(t.top+s)),new V(Math.round(t.left+t.width),Math.round(l+t.top+s)),new V(Math.round(t.left),Math.round(l+t.top+s))];case 3:return[new V(Math.round(t.left+a),Math.round(t.top)),new V(Math.round(t.left+a+o),Math.round(t.top)),new V(Math.round(t.left+a+o),Math.round(t.height+t.top)),new V(Math.round(t.left+a),Math.round(t.height+t.top))];case 1:return[new V(Math.round(t.left+a),Math.round(t.top+s)),new V(Math.round(t.left+a+o),Math.round(t.top+s)),new V(Math.round(t.left+a+o),Math.round(t.top+s+l)),new V(Math.round(t.left+a),Math.round(t.top+s+l))];default:return[new V(Math.round(n.left),Math.round(n.top)),new V(Math.round(n.left+n.width),Math.round(n.top)),new V(Math.round(n.left+n.width),Math.round(n.height+n.top)),new V(Math.round(n.left),Math.round(n.height+n.top))]}},Xd="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",za="Hidden Text",Jd=(function(){function e(A){this._data={},this._document=A}return e.prototype.parseMetrics=function(A,r){var t=this._document.createElement("div"),n=this._document.createElement("img"),a=this._document.createElement("span"),s=this._document.body;t.style.visibility="hidden",t.style.fontFamily=A,t.style.fontSize=r,t.style.margin="0",t.style.padding="0",t.style.whiteSpace="nowrap",s.appendChild(t),n.src=Xd,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",a.style.fontFamily=A,a.style.fontSize=r,a.style.margin="0",a.style.padding="0",a.appendChild(this._document.createTextNode(za)),t.appendChild(a),t.appendChild(n);var o=n.offsetTop-a.offsetTop+2;t.removeChild(a),t.appendChild(this._document.createTextNode(za)),t.style.lineHeight="normal",n.style.verticalAlign="super";var l=n.offsetTop-t.offsetTop+2;return s.removeChild(t),{baseline:o,middle:l}},e.prototype.getMetrics=function(A,r){var t=A+" "+r;return typeof this._data[t]>"u"&&(this._data[t]=this.parseMetrics(A,r)),this._data[t]},e})(),Mi=(function(){function e(A,r){this.context=A,this.options=r}return e})(),Wd=1e4,Yd=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n._activeEffects=[],n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),t.canvas||(n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px"),n.fontMetrics=new Jd(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+t.width+"x"+t.height+") with scale "+t.scale),n}return A.prototype.applyEffects=function(r){for(var t=this;this._activeEffects.length;)this.popEffect();r.forEach(function(n){return t.applyEffect(n)})},A.prototype.applyEffect=function(r){this.ctx.save(),Td(r)&&(this.ctx.globalAlpha=r.opacity),Kd(r)&&(this.ctx.translate(r.offsetX,r.offsetY),this.ctx.transform(r.matrix[0],r.matrix[1],r.matrix[2],r.matrix[3],r.matrix[4],r.matrix[5]),this.ctx.translate(-r.offsetX,-r.offsetY)),Ii(r)&&(this.path(r.path),this.ctx.clip()),this._activeEffects.push(r)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(r){return OA(this,void 0,void 0,function(){var t;return kA(this,function(n){switch(n.label){case 0:return t=r.element.container.styles,t.isVisible()?[4,this.renderStackContent(r)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(r){return OA(this,void 0,void 0,function(){return kA(this,function(t){switch(t.label){case 0:if(yA(r.container.flags,16))debugger;return r.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(r)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(r)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(r,t,n){var a=this;if(t===0)this.ctx.fillText(r.text,r.bounds.left,r.bounds.top+n);else{var s=Nn(r.text);s.reduce(function(o,l){return a.ctx.fillText(l,o,r.bounds.top+n),o+a.ctx.measureText(l).width},r.bounds.left)}},A.prototype.createFontStyle=function(r){var t=r.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),n=Af(r.fontFamily).join(", "),a=Ut(r.fontSize)?""+r.fontSize.number+r.fontSize.unit:r.fontSize.number+"px";return[[r.fontStyle,t,r.fontWeight,a,n].join(" "),n,a]},A.prototype.renderTextNode=function(r,t){return OA(this,void 0,void 0,function(){var n,a,s,o,l,c,g,B,u=this;return kA(this,function(p){return n=this.createFontStyle(t),a=n[0],s=n[1],o=n[2],this.ctx.font=a,this.ctx.direction=t.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",l=this.fontMetrics.getMetrics(s,o),c=l.baseline,g=l.middle,B=t.paintOrder,r.textBounds.forEach(function(Q){B.forEach(function(C){switch(C){case 0:u.ctx.fillStyle=xA(t.color),u.renderTextWithLetterSpacing(Q,t.letterSpacing,c);var I=t.textShadow;I.length&&Q.text.trim().length&&(I.slice(0).reverse().forEach(function(U){u.ctx.shadowColor=xA(U.color),u.ctx.shadowOffsetX=U.offsetX.number*u.options.scale,u.ctx.shadowOffsetY=U.offsetY.number*u.options.scale,u.ctx.shadowBlur=U.blur.number,u.renderTextWithLetterSpacing(Q,t.letterSpacing,c)}),u.ctx.shadowColor="",u.ctx.shadowOffsetX=0,u.ctx.shadowOffsetY=0,u.ctx.shadowBlur=0),t.textDecorationLine.length&&(u.ctx.fillStyle=xA(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(U){switch(U){case 1:u.ctx.fillRect(Q.bounds.left,Math.round(Q.bounds.top+c),Q.bounds.width,1);break;case 2:u.ctx.fillRect(Q.bounds.left,Math.round(Q.bounds.top),Q.bounds.width,1);break;case 3:u.ctx.fillRect(Q.bounds.left,Math.ceil(Q.bounds.top+g),Q.bounds.width,1);break}}));break;case 1:t.webkitTextStrokeWidth&&Q.text.trim().length&&(u.ctx.strokeStyle=xA(t.webkitTextStrokeColor),u.ctx.lineWidth=t.webkitTextStrokeWidth,u.ctx.lineJoin=window.chrome?"miter":"round",u.ctx.strokeText(Q.text,Q.bounds.left,Q.bounds.top+c)),u.ctx.strokeStyle="",u.ctx.lineWidth=0,u.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(r,t,n){if(n&&r.intrinsicWidth>0&&r.intrinsicHeight>0){var a=wr(r),s=hr(t);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,r.intrinsicWidth,r.intrinsicHeight,a.left,a.top,a.width,a.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(r){return OA(this,void 0,void 0,function(){var t,n,a,s,o,l,b,b,c,g,B,u,S,p,Q,y,C,I,U,b,L,S,y;return kA(this,function(h){switch(h.label){case 0:this.applyEffects(r.getEffects(4)),t=r.container,n=r.curves,a=t.styles,s=0,o=t.textNodes,h.label=1;case 1:return s<o.length?(l=o[s],[4,this.renderTextNode(l,a)]):[3,4];case 2:h.sent(),h.label=3;case 3:return s++,[3,1];case 4:if(!(t instanceof ui))return[3,8];h.label=5;case 5:return h.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return b=h.sent(),this.renderReplacedElement(t,n,b),[3,8];case 7:return h.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof Bi&&this.renderReplacedElement(t,n,t.canvas),!(t instanceof di))return[3,12];h.label=9;case 9:return h.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return b=h.sent(),this.renderReplacedElement(t,n,b),[3,12];case 11:return h.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof pi&&t.tree?(c=new A(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}),[4,c.render(t.tree)]):[3,14];case 13:g=h.sent(),t.width&&t.height&&this.ctx.drawImage(g,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),h.label=14;case 14:if(t instanceof _n&&(B=Math.min(t.bounds.width,t.bounds.height),t.type===gr?t.checked&&(this.ctx.save(),this.path([new V(t.bounds.left+B*.39363,t.bounds.top+B*.79),new V(t.bounds.left+B*.16,t.bounds.top+B*.5549),new V(t.bounds.left+B*.27347,t.bounds.top+B*.44071),new V(t.bounds.left+B*.39694,t.bounds.top+B*.5649),new V(t.bounds.left+B*.72983,t.bounds.top+B*.23),new V(t.bounds.left+B*.84,t.bounds.top+B*.34085),new V(t.bounds.left+B*.39363,t.bounds.top+B*.79)]),this.ctx.fillStyle=xA(Oa),this.ctx.fill(),this.ctx.restore()):t.type===ur&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+B/2,t.bounds.top+B/2,B/4,0,Math.PI*2,!0),this.ctx.fillStyle=xA(Oa),this.ctx.fill(),this.ctx.restore())),Zd(t)&&t.value.length){switch(u=this.createFontStyle(a),S=u[0],p=u[1],Q=this.fontMetrics.getMetrics(S,p).baseline,this.ctx.font=S,this.ctx.fillStyle=xA(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=qd(t.styles.textAlign),y=wr(t),C=0,t.styles.textAlign){case 1:C+=y.width/2;break;case 2:C+=y.width;break}I=y.add(C,0,0,-y.height/2+1),this.ctx.save(),this.path([new V(y.left,y.top),new V(y.left+y.width,y.top),new V(y.left+y.width,y.top+y.height),new V(y.left,y.top+y.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new lt(t.value,I),a.letterSpacing,Q),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!yA(t.styles.display,2048))return[3,20];if(t.styles.listStyleImage===null)return[3,19];if(U=t.styles.listStyleImage,U.type!==0)return[3,18];b=void 0,L=U.url,h.label=15;case 15:return h.trys.push([15,17,,18]),[4,this.context.cache.match(L)];case 16:return b=h.sent(),this.ctx.drawImage(b,t.bounds.left-(b.width+10),t.bounds.top),[3,18];case 17:return h.sent(),this.context.logger.error("Error loading list-style-image "+L),[3,18];case 18:return[3,20];case 19:r.listValue&&t.styles.listStyleType!==-1&&(S=this.createFontStyle(a)[0],this.ctx.font=S,this.ctx.fillStyle=xA(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",y=new ie(t.bounds.left,t.bounds.top+wA(t.styles.paddingTop,t.bounds.width),t.bounds.width,ma(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new lt(r.listValue,y),a.letterSpacing,ma(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),h.label=20;case 20:return[2]}})})},A.prototype.renderStackContent=function(r){return OA(this,void 0,void 0,function(){var t,n,U,a,s,U,o,l,U,c,g,U,B,u,U,p,Q,U,C,I,U;return kA(this,function(b){switch(b.label){case 0:if(yA(r.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(r.element)];case 1:b.sent(),t=0,n=r.negativeZIndex,b.label=2;case 2:return t<n.length?(U=n[t],[4,this.renderStack(U)]):[3,5];case 3:b.sent(),b.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(r.element)];case 6:b.sent(),a=0,s=r.nonInlineLevel,b.label=7;case 7:return a<s.length?(U=s[a],[4,this.renderNode(U)]):[3,10];case 8:b.sent(),b.label=9;case 9:return a++,[3,7];case 10:o=0,l=r.nonPositionedFloats,b.label=11;case 11:return o<l.length?(U=l[o],[4,this.renderStack(U)]):[3,14];case 12:b.sent(),b.label=13;case 13:return o++,[3,11];case 14:c=0,g=r.nonPositionedInlineLevel,b.label=15;case 15:return c<g.length?(U=g[c],[4,this.renderStack(U)]):[3,18];case 16:b.sent(),b.label=17;case 17:return c++,[3,15];case 18:B=0,u=r.inlineLevel,b.label=19;case 19:return B<u.length?(U=u[B],[4,this.renderNode(U)]):[3,22];case 20:b.sent(),b.label=21;case 21:return B++,[3,19];case 22:p=0,Q=r.zeroOrAutoZIndexOrTransformedOrOpacity,b.label=23;case 23:return p<Q.length?(U=Q[p],[4,this.renderStack(U)]):[3,26];case 24:b.sent(),b.label=25;case 25:return p++,[3,23];case 26:C=0,I=r.positiveZIndex,b.label=27;case 27:return C<I.length?(U=I[C],[4,this.renderStack(U)]):[3,30];case 28:b.sent(),b.label=29;case 29:return C++,[3,27];case 30:return[2]}})})},A.prototype.mask=function(r){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(r.slice(0).reverse()),this.ctx.closePath()},A.prototype.path=function(r){this.ctx.beginPath(),this.formatPath(r),this.ctx.closePath()},A.prototype.formatPath=function(r){var t=this;r.forEach(function(n,a){var s=PA(n)?n.start:n;a===0?t.ctx.moveTo(s.x,s.y):t.ctx.lineTo(s.x,s.y),PA(n)&&t.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},A.prototype.renderRepeat=function(r,t,n,a){this.path(r),this.ctx.fillStyle=t,this.ctx.translate(n,a),this.ctx.fill(),this.ctx.translate(-n,-a)},A.prototype.resizeImage=function(r,t,n){var a;if(r.width===t&&r.height===n)return r;var s=(a=this.canvas.ownerDocument)!==null&&a!==void 0?a:document,o=s.createElement("canvas");o.width=Math.max(1,t),o.height=Math.max(1,n);var l=o.getContext("2d");return l.drawImage(r,0,0,r.width,r.height,0,0,t,n),o},A.prototype.renderBackgroundImage=function(r){return OA(this,void 0,void 0,function(){var t,n,a,s,o,l;return kA(this,function(c){switch(c.label){case 0:t=r.styles.backgroundImage.length-1,n=function(g){var B,u,p,R,tA,AA,D,z,K,Q,R,tA,AA,D,z,C,I,U,b,L,S,y,h,x,K,k,R,O,Z,D,z,eA,tA,AA,fA,aA,q,lA,sA,H,j,G;return kA(this,function(F){switch(F.label){case 0:if(g.type!==0)return[3,5];B=void 0,u=g.url,F.label=1;case 1:return F.trys.push([1,3,,4]),[4,a.context.cache.match(u)];case 2:return B=F.sent(),[3,4];case 3:return F.sent(),a.context.logger.error("Error loading background-image "+u),[3,4];case 4:return B&&(p=$r(r,t,[B.width,B.height,B.width/B.height]),R=p[0],tA=p[1],AA=p[2],D=p[3],z=p[4],K=a.ctx.createPattern(a.resizeImage(B,D,z),"repeat"),a.renderRepeat(R,K,tA,AA)),[3,6];case 5:Kg(g)?(Q=$r(r,t,[null,null,null]),R=Q[0],tA=Q[1],AA=Q[2],D=Q[3],z=Q[4],C=Hg(g.angle,D,z),I=C[0],U=C[1],b=C[2],L=C[3],S=C[4],y=document.createElement("canvas"),y.width=D,y.height=z,h=y.getContext("2d"),x=h.createLinearGradient(U,L,b,S),Ca(g.stops,I).forEach(function(N){return x.addColorStop(N.stop,xA(N.color))}),h.fillStyle=x,h.fillRect(0,0,D,z),D>0&&z>0&&(K=a.ctx.createPattern(y,"repeat"),a.renderRepeat(R,K,tA,AA))):Tg(g)&&(k=$r(r,t,[null,null,null]),R=k[0],O=k[1],Z=k[2],D=k[3],z=k[4],eA=g.position.length===0?[Dn]:g.position,tA=wA(eA[0],D),AA=wA(eA[eA.length-1],z),fA=Sg(g,tA,AA,D,z),aA=fA[0],q=fA[1],aA>0&&q>0&&(lA=a.ctx.createRadialGradient(O+tA,Z+AA,0,O+tA,Z+AA,aA),Ca(g.stops,aA*2).forEach(function(N){return lA.addColorStop(N.stop,xA(N.color))}),a.path(R),a.ctx.fillStyle=lA,aA!==q?(sA=r.bounds.left+.5*r.bounds.width,H=r.bounds.top+.5*r.bounds.height,j=q/aA,G=1/j,a.ctx.save(),a.ctx.translate(sA,H),a.ctx.transform(1,0,0,j,0,0),a.ctx.translate(-sA,-H),a.ctx.fillRect(O,G*(Z-H)+H,D,z*G),a.ctx.restore()):a.ctx.fill())),F.label=6;case 6:return t--,[2]}})},a=this,s=0,o=r.styles.backgroundImage.slice(0).reverse(),c.label=1;case 1:return s<o.length?(l=o[s],[5,n(l)]):[3,4];case 2:c.sent(),c.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},A.prototype.renderSolidBorder=function(r,t,n){return OA(this,void 0,void 0,function(){return kA(this,function(a){return this.path(Za(n,t)),this.ctx.fillStyle=xA(r),this.ctx.fill(),[2]})})},A.prototype.renderDoubleBorder=function(r,t,n,a){return OA(this,void 0,void 0,function(){var s,o;return kA(this,function(l){switch(l.label){case 0:return t<3?[4,this.renderSolidBorder(r,n,a)]:[3,2];case 1:return l.sent(),[2];case 2:return s=Rd(a,n),this.path(s),this.ctx.fillStyle=xA(r),this.ctx.fill(),o=Nd(a,n),this.path(o),this.ctx.fill(),[2]}})})},A.prototype.renderNodeBackgroundAndBorders=function(r){return OA(this,void 0,void 0,function(){var t,n,a,s,o,l,c,g,B=this;return kA(this,function(u){switch(u.label){case 0:return this.applyEffects(r.getEffects(2)),t=r.container.styles,n=!we(t.backgroundColor)||t.backgroundImage.length,a=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],s=zd(Ke(t.backgroundClip,0),r.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),we(t.backgroundColor)||(this.ctx.fillStyle=xA(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(r.container)]):[3,2];case 1:u.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach(function(p){B.ctx.save();var Q=fr(r.curves),C=p.inset?0:Wd,I=Dd(Q,-C+(p.inset?1:-1)*p.spread.number,(p.inset?1:-1)*p.spread.number,p.spread.number*(p.inset?-2:2),p.spread.number*(p.inset?-2:2));p.inset?(B.path(Q),B.ctx.clip(),B.mask(I)):(B.mask(Q),B.ctx.clip(),B.path(I)),B.ctx.shadowOffsetX=p.offsetX.number+C,B.ctx.shadowOffsetY=p.offsetY.number,B.ctx.shadowColor=xA(p.color),B.ctx.shadowBlur=p.blur.number,B.ctx.fillStyle=p.inset?xA(p.color):"rgba(0,0,0,1)",B.ctx.fill(),B.ctx.restore()}),u.label=2;case 2:o=0,l=0,c=a,u.label=3;case 3:return l<c.length?(g=c[l],g.style!==0&&!we(g.color)&&g.width>0?g.style!==2?[3,5]:[4,this.renderDashedDottedBorder(g.color,g.width,o,r.curves,2)]:[3,11]):[3,13];case 4:return u.sent(),[3,11];case 5:return g.style!==3?[3,7]:[4,this.renderDashedDottedBorder(g.color,g.width,o,r.curves,3)];case 6:return u.sent(),[3,11];case 7:return g.style!==4?[3,9]:[4,this.renderDoubleBorder(g.color,g.width,o,r.curves)];case 8:return u.sent(),[3,11];case 9:return[4,this.renderSolidBorder(g.color,o,r.curves)];case 10:u.sent(),u.label=11;case 11:o++,u.label=12;case 12:return l++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(r,t,n,a,s){return OA(this,void 0,void 0,function(){var o,l,c,g,B,u,p,Q,C,I,U,b,L,S,y,h,y,h;return kA(this,function(x){return this.ctx.save(),o=_d(a,n),l=Za(a,n),s===2&&(this.path(l),this.ctx.clip()),PA(l[0])?(c=l[0].start.x,g=l[0].start.y):(c=l[0].x,g=l[0].y),PA(l[1])?(B=l[1].end.x,u=l[1].end.y):(B=l[1].x,u=l[1].y),n===0||n===2?p=Math.abs(c-B):p=Math.abs(g-u),this.ctx.beginPath(),s===3?this.formatPath(o):this.formatPath(l.slice(0,2)),Q=t<3?t*3:t*2,C=t<3?t*2:t,s===3&&(Q=t,C=t),I=!0,p<=Q*2?I=!1:p<=Q*2+C?(U=p/(2*Q+C),Q*=U,C*=U):(b=Math.floor((p+C)/(Q+C)),L=(p-b*Q)/(b-1),S=(p-(b+1)*Q)/b,C=S<=0||Math.abs(C-L)<Math.abs(C-S)?L:S),I&&(s===3?this.ctx.setLineDash([0,Q+C]):this.ctx.setLineDash([Q,C])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=t*2+1.1,this.ctx.strokeStyle=xA(r),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(PA(l[0])&&(y=l[3],h=l[0],this.ctx.beginPath(),this.formatPath([new V(y.end.x,y.end.y),new V(h.start.x,h.start.y)]),this.ctx.stroke()),PA(l[1])&&(y=l[1],h=l[2],this.ctx.beginPath(),this.formatPath([new V(y.end.x,y.end.y),new V(h.start.x,h.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},A.prototype.render=function(r){return OA(this,void 0,void 0,function(){var t;return kA(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=xA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=Od(r),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},A})(Mi),Zd=function(e){return e instanceof wi||e instanceof hi?!0:e instanceof _n&&e.type!==ur&&e.type!==gr},zd=function(e,A){switch(e){case 0:return fr(A);case 2:return Ld(A);default:return hr(A)}},qd=function(e){switch(e){case 1:return"center";case 2:return"right";default:return"left"}},$d=["-apple-system","system-ui"],Af=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(A){return $d.indexOf(A)===-1}):e},ef=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=t,n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+t.width+"x"+t.height+" at "+t.x+","+t.y+") with scale "+t.scale),n}return A.prototype.render=function(r){return OA(this,void 0,void 0,function(){var t,n;return kA(this,function(a){switch(a.label){case 0:return t=En(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,r),[4,tf(t)];case 1:return n=a.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=xA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},A})(Mi),tf=function(e){return new Promise(function(A,r){var t=new Image;t.onload=function(){A(t)},t.onerror=r,t.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},rf=(function(){function e(A){var r=A.id,t=A.enabled;this.id=r,this.enabled=t,this.start=Date.now()}return e.prototype.debug=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,yt([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,yt([this.id,this.getTime()+"ms"],A))},e.prototype.warn=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,yt([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.prototype.error=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,yt([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.instances={},e})(),nf=(function(){function e(A,r){var t;this.windowBounds=r,this.instanceName="#"+e.instanceCount++,this.logger=new rf({id:this.instanceName,enabled:A.logging}),this.cache=(t=A.cache)!==null&&t!==void 0?t:new Fd(this,A)}return e.instanceCount=1,e})(),af=function(e,A){return A===void 0&&(A={}),sf(e,A)};typeof window<"u"&&xi.setContext(window);var sf=function(e,A){return OA(void 0,void 0,void 0,function(){var r,t,n,a,s,o,l,c,g,B,u,p,Q,C,I,U,b,L,S,y,x,h,x,K,k,R,O,Z,D,z,eA,tA,AA,fA,aA,q,lA,sA,H,j;return kA(this,function(G){switch(G.label){case 0:if(!e||typeof e!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(r=e.ownerDocument,!r)throw new Error("Element is not attached to a Document");if(t=r.defaultView,!t)throw new Error("Document is not attached to a Window");return n={allowTaint:(K=A.allowTaint)!==null&&K!==void 0?K:!1,imageTimeout:(k=A.imageTimeout)!==null&&k!==void 0?k:15e3,proxy:A.proxy,useCORS:(R=A.useCORS)!==null&&R!==void 0?R:!1},a=gn({logging:(O=A.logging)!==null&&O!==void 0?O:!0,cache:A.cache},n),s={windowWidth:(Z=A.windowWidth)!==null&&Z!==void 0?Z:t.innerWidth,windowHeight:(D=A.windowHeight)!==null&&D!==void 0?D:t.innerHeight,scrollX:(z=A.scrollX)!==null&&z!==void 0?z:t.pageXOffset,scrollY:(eA=A.scrollY)!==null&&eA!==void 0?eA:t.pageYOffset},o=new ie(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),l=new nf(a,o),c=(tA=A.foreignObjectRendering)!==null&&tA!==void 0?tA:!1,g={allowTaint:(AA=A.allowTaint)!==null&&AA!==void 0?AA:!1,onclone:A.onclone,ignoreElements:A.ignoreElements,inlineImages:c,copyStyles:c},l.logger.debug("Starting document clone with size "+o.width+"x"+o.height+" scrolled to "+-o.left+","+-o.top),B=new Ja(l,e,g),u=B.clonedReferenceElement,u?[4,B.toIFrame(r,o)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return p=G.sent(),Q=Gn(u)||id(u)?Dl(u.ownerDocument):Qr(l,u),C=Q.width,I=Q.height,U=Q.left,b=Q.top,L=of(l,u,A.backgroundColor),S={canvas:A.canvas,backgroundColor:L,scale:(aA=(fA=A.scale)!==null&&fA!==void 0?fA:t.devicePixelRatio)!==null&&aA!==void 0?aA:1,x:((q=A.x)!==null&&q!==void 0?q:0)+U,y:((lA=A.y)!==null&&lA!==void 0?lA:0)+b,width:(sA=A.width)!==null&&sA!==void 0?sA:Math.ceil(C),height:(H=A.height)!==null&&H!==void 0?H:Math.ceil(I)},c?(l.logger.debug("Document cloned, using foreign object rendering"),x=new ef(l,S),[4,x.render(u)]):[3,3];case 2:return y=G.sent(),[3,5];case 3:return l.logger.debug("Document cloned, element located at "+U+","+b+" with size "+C+"x"+I+" using computed rendering"),l.logger.debug("Starting DOM parsing"),h=Qi(l,u),L===h.styles.backgroundColor&&(h.styles.backgroundColor=se.TRANSPARENT),l.logger.debug("Starting renderer for element at "+S.x+","+S.y+" with size "+S.width+"x"+S.height),x=new Yd(l,S),[4,x.render(h)];case 4:y=G.sent(),G.label=5;case 5:return(!((j=A.removeContainer)!==null&&j!==void 0)||j)&&(Ja.destroy(p)||l.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),l.logger.debug("Finished rendering"),[2,y]}})})},of=function(e,A,r){var t=A.ownerDocument,n=t.documentElement?it(e,getComputedStyle(t.documentElement).backgroundColor):se.TRANSPARENT,a=t.body?it(e,getComputedStyle(t.body).backgroundColor):se.TRANSPARENT,s=typeof r=="string"?it(e,r):r===null?se.TRANSPARENT:4294967295;return A===t.documentElement?we(n)?we(a)?s:a:n:s},An={body:{background:"rgb(32, 32, 32)"},rbgcpInputLabel:{color:"rgb(212, 212, 212)"},rbgcpControlBtnWrapper:{background:"rgb(54, 54, 54)"},rbgcpInput:{border:"none",color:"white",background:"rgb(54, 54, 54)"},rbgcpControlBtn:{color:"rgb(212, 212, 212)"},rbgcpControlIcon:{stroke:"rgb(212, 212, 212)"},rbgcpControlIcon2:{fill:"rgb(212, 212, 212)"},rbgcpControlInput:{color:"white"},rbgcpControlBtnSelected:{background:"black",color:"#568cf5"},rbgcpDegreeIcon:{color:"rgb(212, 212, 212)"},rbgcpColorModelDropdown:{background:"rgb(32, 32, 32)"},rbgcpComparibleLabel:{color:"rgb(212, 212, 212)"}},IA=function(){return IA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},IA.apply(this,arguments)},lf={body:{boxSizing:"border-box",background:"rgb(255, 255, 255)"},rbgcpControlBtn:{paddingLeft:"8px",paddingRight:"8px",lineHeight:"1",borderRadius:"4px",fontWeight:700,fontSize:"12px",height:"24px",transition:"all 160ms ease",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(255, 255, 255, 0)",boxShadow:"1px 1px 3px rgba(0, 0, 0, 0)",color:"rgb(86, 86, 86)"},rbgcpControlIcon:{stroke:"rgb(50, 49, 54)"},rbgcpControlIconBtn:{width:"30px",height:"24px",borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},rbgcpControlBtnWrapper:{height:"28px",background:"#e9e9f5",borderRadius:"6px",padding:"2px",display:"flex",justifyContent:"center",alignItems:"center",position:"relative"},rbgcpColorModelDropdown:{position:"absolute",right:"-2px",top:"34px",padding:"5px",background:"#e9e9f5",zIndex:1e8,borderRadius:"6px",boxShadow:"1px 1px 14px 1px rgba(0, 0, 0, 0.25)"},rbgcpEyedropperCover:{position:"fixed",left:"0px",top:"0px",zIndex:1e8,width:"100vw",height:"100vh",cursor:"copy"},rbgcpControlInput:{height:"24px",borderRadius:"4px",border:"none",outline:"none",textAlign:"center",width:"34px",fontWeight:500,color:"rgb(50, 49, 54)",fontSize:"13px",background:"transparent"},rbgcpInputLabel:{textAlign:"center",lineHeight:"1.2",fontWeight:700,color:"rgb(86, 86, 86)",fontSize:"11px"},rbgcpInput:{height:"32px",borderRadius:"6px",border:"1px solid #bebebe",width:"100%",padding:"2px",outline:"none",color:"black",fontWeight:400,textAlign:"center",background:"transparent",fontSize:"15px"},rbgcpHandle:{position:"absolute",border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0, 0, 0, 0.5)",width:"18px",height:"18px",zIndex:1e3,transition:"all 30ms linear",boxSizing:"border-box",willChange:"transform",outline:"none"},rbgcpCanvasWrapper:{borderRadius:"6px",overflow:"hidden",height:"294px"},rbgcpCheckered:{background:`linear-gradient(- 45deg,- rgba(0, 0, 0, 0.18) 25%,- transparent 25%,- transparent 75%,- rgba(0, 0, 0, 0.18) 75%,- rgba(0, 0, 0, 0.18) 0- ),- linear-gradient(- 45deg,- rgba(0, 0, 0, 0.18) 25%,- transparent 25%,- transparent 75%,- rgba(0, 0, 0, 0.18) 75%,- rgba(0, 0, 0, 0.18) 0- ),- white`,backgroundRepeat:"repeat, repeat",backgroundPosition:"0px 0, 7px 7px",transformOrigin:"0 0 0",backgroundOrigin:"padding-box, padding-box",backgroundClip:"border-box, border-box",backgroundSize:"14px 14px, 14px 14px",boxShadow:"none",textShadow:"none",transition:"none",transform:"scaleX(1) scaleY(1) scaleZ(1)",borderRadius:"10px"},rbgcpOpacityOverlay:{position:"absolute",left:"0px",top:"0px",width:"100%",height:"100%",borderRadius:"10px"},rbgcpGradientHandleWrap:{position:"absolute",zIndex:1e4,top:"-2px",outline:"none"},rbgcpGradientHandle:{border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0, 0, 0, 0.5)",width:"18px",height:"18px",display:"flex",alignItems:"center",justifyContent:"center"},rbgcpControlIcon2:{fill:"#323136"},rbgcpControlBtnSelected:{background:"white",color:"#568cf5",boxShadow:"1px 1px 3px rgba(0, 0, 0, 0.2)"},rbgcpComparibleLabel:{color:"#323136"}},cf=function(e,A){var r=IA({},lf);if(e)for(var t in An)Object.prototype.hasOwnProperty.call(An,t)&&(r[t]=IA(IA({},Object.prototype.hasOwnProperty.call(r,t)?r[t]:{}),An[t]));for(var t in A)Object.prototype.hasOwnProperty.call(A,t)&&(r[t]=IA(IA({},Object.prototype.hasOwnProperty.call(r,t)?r[t]:{}),A[t]));return r},qa=function(e,A){return e?IA(IA({},A.rbgcpControlBtn),A.rbgcpControlBtnSelected):IA({},A.rbgcpControlBtn)},gt=function(e,A){return e?IA(IA({},A.rbgcpControlIconBtn),A.rbgcpControlBtnSelected):IA({},A.rbgcpControlIconBtn)},Zt=function(e,A){return e?IA(IA(IA({},A.rbgcpControlBtn),A.rbgcpColorModelDropdownBtn),A.rbgcpControlBtnSelected):IA(IA({},A.rbgcpControlBtn),A.rbgcpColorModelDropdownBtn)},$A=function(){return $A=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},$A.apply(this,arguments)},gf=function(e){var A=e.color,r=dA().defaultStyles,t=A??"";return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:16}},m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:$A($A({fill:"none",strokeWidth:"1.4px"},r.rbgcpControlIcon),t&&{stroke:t}),d:"M15.6,7h0L7.78,14.86c-.37.37-1.61.38-2,.75s-.5,1.53-.76,2a3.53,3.53,0,0,1-.52.52,1.6,1.6,0,0,1-2.27-.06l-.32-.32a1.61,1.61,0,0,1-.06-2.27A3.25,3.25,0,0,1,2.4,15c.47-.26,1.65-.35,2-.73s.34-1.64.71-2c1.68-1.73,5.61-5.65,7.91-7.93h0l1.14,1.38L15.6,7Z"}),m.createElement("polygon",{strokeLinecap:"round",strokeLinejoin:"round",style:$A($A({strokeWidth:"1.4px"},r.rbgcpControlIcon2),t&&{stroke:t,fill:t}),points:"15.7 8.87 11.13 4.29 12.69 2.73 17.25 7.31 15.7 8.87"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:$A($A({strokeWidth:"1.4px"},r.rbgcpControlIcon2),t&&{stroke:t,fill:t}),d:"M18.18,3.71,16.36,5.53a1.33,1.33,0,0,1-1.88,0h0a1.34,1.34,0,0,1,0-1.89l1.81-1.82a1.34,1.34,0,0,1,1.89,0h0A1.34,1.34,0,0,1,18.18,3.71Z"}))},uf=function(e){var A=e.onSelect,r=dA().defaultStyles,t=E.useState(null),n=t[0],a=t[1],s=E.useState(!1),o=s[0],l=s[1],c=E.useState(!1),g=c[0],B=c[1],u=function(){var C=document.getElementById("root");l(!0),af(C).then(function(I){var U=document.createElement("canvas"),b=U.getContext("2d",{willReadFrequently:!0});C&&b&&(U.width=C.offsetWidth*2,U.height=C.offsetHeight*2,b.drawImage(I,0,0)),a(b)})},p=function(C){if(C.stopPropagation(),n){var I=C.pageX,U=C.pageY,b=I*2,L=U*2,S=n.getImageData(b,L,1,1).data;A("rgba(".concat(S[0],", ").concat(S[1],", ").concat(S[2],", 1)"))}B(!1),l(!1)},Q=function(){if(B(!0),!window.EyeDropper)u();else{var C=new window.EyeDropper,I=new window.AbortController;C.open({signal:I.signal}).then(function(U){var b=SA(U.sRGBHex),L=b.toRgb(),S=L.r,y=L.g,h=L.b;A("rgba(".concat(S,", ").concat(y,", ").concat(h,", 1)")),B(!1)}).catch(function(U){console.log(U),B(!1)})}};return m.createElement("div",null,m.createElement("div",{onClick:Q,id:"rbgcp-eyedropper-btn",style:$A($A({},r.rbgcpEyedropperBtn),gt(o,r))},m.createElement(gf,{color:g?"rgb(86, 140, 245)":""})),o&&m.createElement(Tl,null,m.createElement("div",{onClick:function(C){return p(C)},style:r.rbgcpEyedropperCover})))},kn=function(){return kn=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},kn.apply(this,arguments)},en=function(e){var A=e.value,r=e.reffy,t=e.label,n=e.config,a=e.callback,s=e.squareWidth,o=e.openAdvanced,l=e.defaultStyles,c=e.pickerIdSuffix,g=n.barSize,B=E.useState(!1),u=B[0],p=B[1],Q=E.useState(2),C=Q[0],I=Q[1],U=A*(s-18);E.useEffect(function(){var h;I(((h=r?.current)===null||h===void 0?void 0:h.offsetTop)-2)},[o,r]);var b=function(){p(!1)},L=function(h){u&&a(Ne(h,g))},S=function(h){u||a(Ne(h,g))},y=function(){p(!0)};return E.useEffect(function(){var h=function(){b()};return window.addEventListener("mouseup",h),function(){window.removeEventListener("mouseup",h)}},[]),m.createElement("div",{style:{width:"100%",padding:"3px 0px 3px 0px"}},m.createElement("div",{onMouseMove:function(h){return L(h)},style:{cursor:"resize",position:"relative"},id:"rbgcp-advanced-bar-".concat(t,"-wrapper").concat(c)},m.createElement("div",{style:kn({left:U,top:C},l.rbgcpHandle),id:"rbgcp-advanced-bar-".concat(t,"-handle").concat(c),onMouseDown:y,role:"button",tabIndex:0}),m.createElement("div",{style:{textAlign:"center",color:"#fff",fontSize:12,fontWeight:500,lineHeight:1,position:"absolute",left:"50%",transform:"translate(-50%, 0%)",top:C+2,zIndex:10,textShadow:"1px 1px 1px rgba(0,0,0,.6)"},id:"rbgcp-advanced-bar-".concat(t,"-label").concat(c),onMouseMove:function(h){return L(h)},onClick:function(h){return S(h)},tabIndex:0,role:"button",onKeyDown:function(){}},t),m.createElement("canvas",{ref:r,height:"14px",width:"".concat(s,"px"),onClick:function(h){return S(h)},style:{position:"relative",borderRadius:14},id:"rbgcp-advanced-bar-".concat(t,"-canvas").concat(c)})))},Bf=function(e){var A=e.openAdvanced,r=dA(),t=r.config,n=r.tinyColor,a=r.handleChange,s=r.squareWidth,o=r.hc,l=r.defaultStyles,c=r.pickerIdSuffix,g=n.toHsl(),B=g.s,u=g.l,p=E.useRef(null),Q=E.useRef(null),C=E.useRef(null);al(p,o?.h,u*100,s),sl(Q,o?.h,B*100,s),il(C,o?.h,B*100,s);var I=function(L){var S=SA({h:o?.h,s:L/100,l:u}).toRgb(),y=S.r,h=S.g,x=S.b;a("rgba(".concat(y,",").concat(h,",").concat(x,",").concat(o?.a,")"))},U=function(L){var S=SA({h:o?.h,s:B,l:L/100}).toRgb(),y=S.r,h=S.g,x=S.b;a("rgba(".concat(y,",").concat(h,",").concat(x,",").concat(o?.a,")"))},b=function(L){var S=SA({h:o?.h,s:o?.s*100,v:L}).toRgb(),y=S.r,h=S.g,x=S.b;a("rgba(".concat(y,",").concat(h,",").concat(x,",").concat(o?.a,")"))};return m.createElement("div",{style:{width:"100%",height:A?98:0,transition:"all 120ms linear"},id:"rbgcp-advanced-controls-wrapper".concat(c)},m.createElement("div",{style:{paddingTop:11,display:A?"flex":"none",flexDirection:"column",justifyContent:"space-between",height:A?98:0,overflow:"hidden",transition:"height 100ms linear"},id:"rbgcp-advanced-controls-inner".concat(c)},m.createElement(en,{value:B,reffy:p,config:t,label:"Saturation",callback:I,squareWidth:s,openAdvanced:A,defaultStyles:l,pickerIdSuffix:c}),m.createElement(en,{value:u,config:t,reffy:Q,label:"Lightness",callback:U,squareWidth:s,openAdvanced:A,defaultStyles:l,pickerIdSuffix:c}),m.createElement(en,{value:o?.v,config:t,reffy:C,label:"Brightness",callback:b,squareWidth:s,openAdvanced:A,defaultStyles:l,pickerIdSuffix:c})))},Fe=function(){return Fe=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Fe.apply(this,arguments)},df=function(e){var A=e.openComparibles,r=dA(),t=r.tinyColor,n=r.handleChange,a=r.defaultStyles,s=r.pickerIdSuffix,o=t.analogous(),l=t.monochromatic(),c=t.triad(),g=t.tetrad(),B=function(u){var p=u.toRgb(),Q=p.r,C=p.g,I=p.b,U=p.a;n("rgba(".concat(Q,",").concat(C,",").concat(I,",").concat(U,")"))};return m.createElement("div",{style:{width:"100%",transition:"all 120ms linear",height:A?216:0},id:"rbgcp-comparible-colors-wrapper".concat(s)},m.createElement("div",{style:{paddingTop:11,display:A?"":"none",position:"relative"},id:"rbgcp-comparible-colors-inner".concat(s)},m.createElement("div",{style:Fe({textAlign:"center",fontSize:13,fontWeight:600,position:"absolute",top:6.5,left:2},a.rbgcpComparibleLabel),id:"rbgcp-comparible-color-guide-label".concat(s)},"Color Guide"),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-analogous-colors-label".concat(s)},"Analogous"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex"},id:"rbgcp-comparible-analogous-colors".concat(s)},o?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-analogous-color-".concat(p).concat(s),style:{width:"20%",height:30,background:u.toHexString()},onClick:function(){return B(u)}})})),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-monochromatic-colors-label".concat(s)},"Monochromatic"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex",justifyContent:"flex-end"},id:"rbgcp-comparible-monochromatic-colors".concat(s)},l?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-monochromatic-color-".concat(p).concat(s),style:{width:"20%",height:30,background:u.toHexString()},onClick:function(){return B(u)}})})),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-triad-colors-label".concat(s)},"Triad"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex",justifyContent:"flex-end"},id:"rbgcp-comparible-triad-colors".concat(s)},c?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-triad-color-".concat(p).concat(s),style:{width:"calc(100% / 3)",height:28,background:u.toHexString()},onClick:function(){return B(u)}})})),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-tetrad-colors-label".concat(s)},"Tetrad"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex",justifyContent:"flex-end"},id:"rbgcp-comparible-tetrad-colors".concat(s)},g?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-tetrad-color-".concat(p).concat(s),style:{width:"25%",height:28,background:u.toHexString()},onClick:function(){return B(u)}})}))))},pA=function(){return pA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},pA.apply(this,arguments)},ff=function(){var e=dA(),A=e.gradientType,r=e.onChange,t=e.value,n=e.defaultStyles,a=e.pickerIdSuffix,s=A==="linear-gradient",o=A==="radial-gradient",l=function(){var g=t.split(/,(.+)/)[1];r("linear-gradient(90deg, ".concat(g))},c=function(){var g=t.split(/,(.+)/)[1];r("radial-gradient(circle, ".concat(g))};return m.createElement("div",{style:n.rbgcpControlBtnWrapper},m.createElement("div",{onClick:l,id:"rbgcp-linear-btn".concat(a),style:pA(pA({},n.rbgcpControlBtn),s&&n.rbgcpControlBtnSelected),tabIndex:0,role:"button",onKeyDown:function(){}},m.createElement(xl,{color:s?"#568CF5":""})),m.createElement("div",{onClick:c,id:"rbgcp-radial-btn".concat(a),style:pA(pA({},n.rbgcpControlBtn),o&&n.rbgcpControlBtnSelected),tabIndex:0,role:"button",onKeyDown:function(){}},m.createElement(Il,{color:o?"#568CF5":""})))},hf=function(){var e=dA(),A=e.currentLeft,r=e.currentColor,t=e.defaultStyles,n=e.handleGradient,a=e.pickerIdSuffix,s=function(o){n(r,Re(parseInt(o),0,100))};return m.createElement("div",{style:pA(pA(pA(pA({},t.rbgcpControlBtnWrapper),t.rbgcpControlInputWrap),t.rbgcpStopInputWrap),{paddingLeft:8}),id:"rbgcp-stop-input-wrapper".concat(a)},m.createElement(Ml,null),m.createElement("input",{value:A,id:"rbgcp-stop-input".concat(a),onChange:function(o){return s(o.target.value)},style:pA(pA({},t.rbgcpControlInput),t.rbgcpStopInput)}))},wf=function(){var e=dA(),A=e.degrees,r=e.onChange,t=e.value,n=e.defaultStyles,a=e.pickerIdSuffix,s=function(o){var l=Re(o.target.value,0,360),c=t.split(/,(.+)/)[1];r("linear-gradient(".concat(l??0,"deg, ").concat(c))};return m.createElement("div",{style:pA(pA(pA({},n.rbgcpControlBtnWrapper),n.rbgcpControlInputWrap),n.rbgcpDegreeInputWrap),id:"rbgcp-degree-input-wrapper".concat(a)},m.createElement(kl,null),m.createElement("input",{value:A,onChange:function(o){return s(o)},id:"rbgcp-degree-input".concat(a),style:pA(pA({},n.rbgcpControlInput),n.rbgcpDegreeInput)}),m.createElement("div",{style:pA(pA({},n.rbgcpDegreeIcon),{position:"absolute",right:A>99?0:A<10?7:3,top:1,fontWeight:400,fontSize:13})},"°"))},pf=function(){var e=dA(),A=e.colors,r=e.selectedColor,t=e.createGradientStr,n=e.defaultStyles,a=e.pickerIdSuffix,s=function(){if(A?.length>2){var o=A?.map(function(c,g){return pA(pA({},c),{value:g===r-1?Cr(c):mt(c)})}),l=o?.filter(function(c,g){return g!==r});t(l)}};return m.createElement("div",{onClick:s,style:pA(pA({},gt(!1,n)),{width:28}),id:"rbgcp-point-delete-btn".concat(a),tabIndex:0,role:"button",onKeyDown:function(){}},m.createElement(yl,null))},$a=function(e){var A=e.hideGradientType,r=e.hideGradientAngle,t=e.hideGradientStop,n=dA(),a=n.gradientType,s=n.defaultStyles,o=n.pickerIdSuffix;return m.createElement("div",{style:pA(pA({},s.rbgcpControlBtnWrapper),{marginTop:12,marginBottom:-4,justifyContent:"space-between",paddingLeft:A?4:0}),id:"rbgcp-gradient-controls-wrap".concat(o)},!A&&m.createElement(ff,null),m.createElement("div",{style:{width:53}},!r&&a==="linear-gradient"&&m.createElement(wf,null)),!t&&m.createElement(hf,null),m.createElement(pf,null))},pt=function(){return pt=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},pt.apply(this,arguments)},Cf=function(e){var A,r,t=e.hideColorTypeBtns,n=e.setGradient,a=e.isGradient,s=e.setSolid,o=e.locales,l=dA(),c=l.defaultStyles,g=l.pickerIdSuffix;return t?m.createElement("div",{style:{width:1}}):m.createElement("div",{style:pt({display:"flex",alignItems:"center"},c.rbgcpControlBtnWrapper),id:"rbgcp-color-type-btns".concat(g)},m.createElement("div",{onClick:s,id:"rbgcp-solid-btn".concat(g),style:qa(!a,c)},(A=o?.CONTROLS)===null||A===void 0?void 0:A.SOLID),m.createElement("div",{onClick:n,id:"rbgcp-gradient-btn".concat(g),style:qa(a??!1,c)},(r=o?.CONTROLS)===null||r===void 0?void 0:r.GRADIENT))},Qf=function(e){var A=e.openInputType,r=e.setOpenInputType,t=dA(),n=t.inputType,a=t.setInputType,s=t.defaultStyles,o=t.pickerIdSuffix,l=A?"visibility 0ms linear":"visibility 100ms linear 150ms",c=A?"z-index 0ms linear":"z-index 100ms linear 150ms",g=A?"opacity 120ms linear":"opacity 150ms linear 50ms",B=function(u,p){A&&(u.stopPropagation(),a(p),r(!1))};return m.createElement("div",{style:pt({visibility:A?"visible":"hidden",zIndex:A?"":-100,opacity:A?1:0,transition:"".concat(g,", ").concat(l,", ").concat(c)},s.rbgcpColorModelDropdown),id:"rbgcp-color-model-dropdown".concat(o)},m.createElement("div",{id:"rbgcp-color-model-rgb-btn".concat(o),onClick:function(u){return B(u,"rgb")},style:Zt(n==="rgb",s)},"RGB"),m.createElement("div",{id:"rbgcp-color-model-hsl-btn".concat(o),onClick:function(u){return B(u,"hsl")},style:Zt(n==="hsl",s)},"HSL"),m.createElement("div",{id:"rbgcp-color-model-hsv-btn".concat(o),onClick:function(u){return B(u,"hsv")},style:Zt(n==="hsv",s)},"HSV"),m.createElement("div",{id:"rbgcp-color-model-cmyk-btn".concat(o),onClick:function(u){return B(u,"cmyk")},style:Zt(n==="cmyk",s)},"CMYK"))},mf=function(e){var A,r,t=e.locales,n=e.hideEyeDrop,a=n===void 0?!1:n,s=e.hideAdvancedSliders,o=s===void 0?!1:s,l=e.hideColorGuide,c=l===void 0?!1:l,g=e.hideInputType,B=g===void 0?!1:g,u=e.hideColorTypeBtns,p=u===void 0?!1:u,Q=e.hideGradientControls,C=Q===void 0?!1:Q,I=e.hideGradientType,U=I===void 0?!1:I,b=e.hideGradientAngle,L=b===void 0?!1:b,S=e.hideGradientStop,y=S===void 0?!1:S,h=dA(),x=h.config,K=h.onChange,k=h.isGradient,R=h.handleChange,O=h.previous,Z=h.defaultStyles,D=h.pickerIdSuffix,z=x.defaultColor,eA=x.defaultGradient,tA=E.useState(!1),AA=tA[0],fA=tA[1],aA=E.useState(!1),q=aA[0],lA=aA[1],sA=E.useState(!1),H=sA[0],j=sA[1],G=a&&o&&c&&B,F=(A=O?.color)!==null&&A!==void 0?A:z,N=(r=O?.gradient)!==null&&r!==void 0?r:eA,M=function(){K(F)},_=function(){K(N)},J=a&&o&&c&&B,$=J&&p;return $?k&&!C?m.createElement($a,{hideGradientType:U,hideGradientAngle:L,hideGradientStop:y}):null:m.createElement("div",{style:{paddingBottom:4}},m.createElement("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},id:"rbgcp-controls-wrapper".concat(D)},m.createElement(Cf,{hideColorTypeBtns:p,setGradient:_,isGradient:k,setSolid:M,locales:t}),!J&&m.createElement("div",{style:pt({display:G?"none":""},Z.rbgcpControlBtnWrapper),id:"rbgcp-control-rightside-wrapper".concat(D)},!a&&m.createElement(uf,{onSelect:R}),!o&&m.createElement("div",{id:"rbgcp-advanced-btn".concat(D),onClick:function(){return j(!H)},style:gt(H,Z)},m.createElement(Hl,{color:H?"#568CF5":""})),!c&&m.createElement("div",{style:gt(AA,Z),onClick:function(){return fA(!AA)},id:"rbgcp-comparibles-btn".concat(D)},m.createElement(Ll,{color:AA?"#568CF5":""})),!B&&m.createElement("div",{id:"rbgcp-color-model-btn".concat(D),onClick:function(){return lA(!q)},style:gt(q,Z)},m.createElement(Sl,{color:q?"#568CF5":""}),m.createElement(Qf,{openInputType:q,setOpenInputType:lA})))),!o&&m.createElement(Bf,{openAdvanced:H}),!c&&m.createElement(df,{openComparibles:AA}),k&&!C&&m.createElement($a,{hideGradientType:U,hideGradientAngle:L,hideGradientStop:y}))},Ae=function(){return Ae=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Ae.apply(this,arguments)},As=function(e,A,r){if(r||arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||Array.prototype.slice.call(A))},vf=function(e){var A=e.left,r=e.i,t=e.setDragging,n=dA(),a=n.colors,s=n.squareWidth,o=n.selectedColor,l=n.defaultStyles,c=n.pickerIdSuffix,g=n.createGradientStr,B=o===r,u=(s-18)/100,p=function(C){var I=a?.map(function(U,b){return Ae(Ae({},U),{value:b===C?Cr(U):mt(U)})});g(I)},Q=function(C){C.stopPropagation(),p(r),t(!0)};return m.createElement("div",{onMouseDown:function(C){return Q(C)},id:"rbgcp-gradient-handle-".concat(r).concat(c),style:Ae(Ae({},l.rbgcpGradientHandleWrap),{left:(A??0)*u})},m.createElement("div",{style:Ae(Ae({},l.rbgcpGradientHandle),B?{boxShadow:"0px 0px 5px 1px rgba(86, 140, 245,.95)",border:"2px solid white"}:{}),id:"rbgcp-gradient-handle-".concat(r,"-dot").concat(c)},B&&m.createElement("div",{style:{width:5,height:5,borderRadius:"50%",background:"white"},id:"rbgcp-gradient-handle-".concat(r,"-selected-dot").concat(c)})))},Uf=function(){var e=dA(),A=e.value,r=e.colors,t=e.config,n=e.squareWidth,a=e.currentColor,s=e.handleGradient,o=e.pickerIdSuffix,l=e.createGradientStr,c=t.barSize,g=E.useState(!1),B=g[0],u=g[1];function p(L){return L.replace(/(radial|linear)-gradient\([^,]+,/,"linear-gradient(90deg,")}var Q=function(L){var S,y=Ne(L,c),h=(S=As(As([],r.map(function(x){return Ae(Ae({},x),{value:mt(x)})}),!0),[{value:a,left:y}],!1))===null||S===void 0?void 0:S.sort(function(x,K){return x.left-K.left});l(h)},C=function(){u(!1)},I=function(L){B||(Q(L),u(!0))},U=function(L){B&&s(a,Ne(L,c))},b=function(){C()};return E.useEffect(function(){return window.addEventListener("mouseup",b),function(){window.removeEventListener("mouseup",b)}}),m.createElement("div",{style:{width:"100%",marginTop:17,marginBottom:4,position:"relative"},id:"rbgcp-gradient-bar".concat(o)},m.createElement("div",{style:{height:14,borderRadius:10,width:n,backgroundImage:p(A)},onMouseDown:function(L){return I(L)},onMouseMove:function(L){return U(L)},id:"rbgcp-gradient-bar-canvas".concat(o)}),r?.map(function(L,S){return m.createElement(vf,{i:S,left:L.left,key:"".concat(S,"-").concat(L),setDragging:u})}))},Ff=function(e){var A=e.locales,r=e.presets,t=e.hideHue,n=e.hideInputs,a=e.hidePresets,s=e.hideOpacity,o=e.hideEyeDrop,l=e.hideControls,c=e.hideInputType,g=e.hideColorGuide,B=e.hidePickerSquare,u=e.hideGradientType,p=e.hideGradientStop,Q=e.hideGradientAngle,C=e.hideColorTypeBtns,I=e.hideAdvancedSliders,U=e.hideGradientControls,b=dA(),L=b.isGradient,S=b.pickerIdSuffix;return m.createElement("div",{style:{userSelect:"none"},id:"rbgcp-color-picker".concat(S)},!B&&m.createElement(vl,null),!l&&m.createElement(mf,{locales:A,hideEyeDrop:o,hideInputType:c,hideColorGuide:g,hideGradientType:u,hideGradientStop:p,hideColorTypeBtns:C,hideGradientAngle:Q,hideAdvancedSliders:I,hideGradientControls:U}),L&&m.createElement(Uf,null),!t&&m.createElement(ol,null),!s&&m.createElement(Ul,null),!n&&m.createElement(wl,null),!a&&m.createElement(El,{presets:r}))},pr=function(){return pr=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},pr.apply(this,arguments)};function bf(e){var A=e.idSuffix,r=e.value,t=r===void 0?"rgba(175, 51, 242, 1)":r,n=e.onChange,a=e.hideControls,s=a===void 0?!1:a,o=e.hideInputs,l=o===void 0?!1:o,c=e.hideOpacity,g=c===void 0?!1:c,B=e.hidePresets,u=B===void 0?!1:B,p=e.hideHue,Q=p===void 0?!1:p,C=e.presets,I=C===void 0?[]:C,U=e.hideEyeDrop,b=U===void 0?!1:U,L=e.hideAdvancedSliders,S=L===void 0?!1:L,y=e.hideColorGuide,h=y===void 0?!1:y,x=e.hideInputType,K=x===void 0?!1:x,k=e.hideColorTypeBtns,R=k===void 0?!1:k,O=e.hideGradientType,Z=O===void 0?!1:O,D=e.hideGradientAngle,z=D===void 0?!1:D,eA=e.hideGradientStop,tA=eA===void 0?!1:eA,AA=e.hideGradientControls,fA=AA===void 0?!1:AA,aA=e.locales,q=aA===void 0?Fl:aA,lA=e.width,sA=lA===void 0?294:lA,H=e.height,j=H===void 0?294:H,G=e.style,F=G===void 0?{}:G,N=e.className,M=e.disableDarkMode,_=M===void 0?!1:M,J=e.disableLightMode,$=J===void 0?!1:J,uA=e.hidePickerSquare,f=uA===void 0?!1:uA,v=e.showHexAlpha,w=v===void 0?!1:v,T=e.config,W=T===void 0?{}:T,P=qo(t),oA=typeof window>"u"||_?!1:!!(window.matchMedia("(prefers-color-scheme: dark)").matches||$),hA=cf(oA,F),vA=oA?"-dark".concat(A?"-".concat(A):""):A?"-".concat(A):"";return m.createElement("div",{className:N,style:pr(pr({},hA.body),{width:sA})},m.createElement(rl,{value:P,onChange:n,squareWidth:sA,passedConfig:W,squareHeight:j,isDarkMode:oA,hideOpacity:g,showHexAlpha:w,defaultStyles:hA,pickerIdSuffix:vA},m.createElement(Ff,{hideControls:s,hideInputs:l,hidePresets:u,hideOpacity:g,hideHue:Q,presets:I,hideEyeDrop:b,hideAdvancedSliders:S,hideColorGuide:h,hideInputType:K,hideColorTypeBtns:R,hideGradientType:Z,hideGradientAngle:z,hideGradientStop:tA,hideGradientControls:fA,hidePickerSquare:f,locales:q})))}const tn="rgb(0, 0, 0)",Ef=()=>{const[e,A]=E.useState(localStorage.getItem("customBackgroundColour")||tn),r=n=>{A(n),localStorage.setItem("customBackgroundColour",n),UA.emit("refresh","background")},t=()=>{A(tn),localStorage.setItem("customBackgroundColour",tn),GA(d.getMessage("toasts.reset")),UA.emit("refresh","background")};return i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.source.custom_colour")}),i.jsxs(cA,{children:[i.jsx(bf,{value:e,onChange:r,hideEyeDrop:!0,hideColorGuide:!0,hidePresets:!0,hideAdvancedSliders:!1,hideColorTypeBtns:!1,hideInputType:!1,height:147}),i.jsx("div",{className:"colourReset",children:i.jsxs("span",{className:"link",onClick:()=>t(),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})})]})]})};var yf=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],Ze=(e,A)=>{var r="";for(let t=1;t<=A;t++){let n=Math.floor(e)/Math.pow(83,A-t)%83;r+=yf[Math.floor(n)]}return r},rn=e=>{let A=e/255;return A<=.04045?A/12.92:Math.pow((A+.055)/1.055,2.4)},nn=e=>{let A=Math.max(0,Math.min(1,e));return A<=.0031308?Math.trunc(A*12.92*255+.5):Math.trunc((1.055*Math.pow(A,.4166666666666667)-.055)*255+.5)},xf=e=>e<0?-1:1,an=(e,A)=>xf(e)*Math.pow(Math.abs(e),A),es=class extends Error{constructor(e){super(e),this.name="ValidationError",this.message=e}},ts=4,If=(e,A,r,t)=>{let n=0,a=0,s=0,o=A*ts;for(let c=0;c<A;c++){let g=ts*c;for(let B=0;B<r;B++){let u=g+B*o,p=t(c,B);n+=p*rn(e[u]),a+=p*rn(e[u+1]),s+=p*rn(e[u+2])}}let l=1/(A*r);return[n*l,a*l,s*l]},Hf=e=>{let A=nn(e[0]),r=nn(e[1]),t=nn(e[2]);return(A<<16)+(r<<8)+t},Sf=(e,A)=>{let r=Math.floor(Math.max(0,Math.min(18,Math.floor(an(e[0]/A,.5)*9+9.5)))),t=Math.floor(Math.max(0,Math.min(18,Math.floor(an(e[1]/A,.5)*9+9.5)))),n=Math.floor(Math.max(0,Math.min(18,Math.floor(an(e[2]/A,.5)*9+9.5))));return r*19*19+t*19+n},Lf=(e,A,r,t,n)=>{if(t<1||t>9||n<1||n>9)throw new es("BlurHash must have between 1 and 9 components");if(A*r*4!==e.length)throw new es("Width and height must match the pixels array");let a=[];for(let B=0;B<n;B++)for(let u=0;u<t;u++){let p=u==0&&B==0?1:2,Q=If(e,A,r,(C,I)=>p*Math.cos(Math.PI*u*C/A)*Math.cos(Math.PI*B*I/r));a.push(Q)}let s=a[0],o=a.slice(1),l="",c=t-1+(n-1)*9;l+=Ze(c,1);let g;if(o.length>0){let B=Math.max(...o.map(p=>Math.max(...p))),u=Math.floor(Math.max(0,Math.min(82,Math.floor(B*166-.5))));g=(u+1)/166,l+=Ze(u,1)}else g=1,l+=Ze(0,1);return l+=Ze(Hf(s),4),o.forEach(B=>{l+=Ze(Sf(B,g),2)}),l},kf=Lf;async function rs(e){return new Promise((A,r)=>{const t=new Image;t.onload=()=>{A({width:t.width,height:t.height}),typeof e!="string"&&URL.revokeObjectURL(t.src)},t.onerror=()=>r(new Error("Failed to load image")),typeof e=="string"?t.src=e:t.src=URL.createObjectURL(e)})}async function ns(e,A=4,r=3){return new Promise((t,n)=>{const a=new Image;a.onload=()=>{try{const s=document.createElement("canvas"),o=s.getContext("2d"),l=64,c=Math.min(l/a.width,l/a.height);s.width=Math.floor(a.width*c),s.height=Math.floor(a.height*c),o.drawImage(a,0,0,s.width,s.height);const g=o.getImageData(0,0,s.width,s.height),B=kf(g.data,g.width,g.height,A,r);typeof e!="string"&&URL.revokeObjectURL(a.src),t(B)}catch(s){n(s)}},a.onerror=()=>n(new Error("Failed to load image for blur hash")),typeof e=="string"?a.src=e:a.src=URL.createObjectURL(e)})}function sn(e){const A=e.split(",")[1];if(!A)return 0;const r=(A.match(/=/g)||[]).length;return Math.floor(A.length*3/4-r)}function as(e,A){return e&&e.name?e.name:`Image ${A+1}`}function Mf(){const e={};return Object.keys(localStorage).forEach(A=>{e[A]=localStorage.getItem(A)}),new TextEncoder().encode(JSON.stringify(e)).length}function Qe(e){if(e===0)return"0 Bytes";if(!e)return"Unknown";const A=1024,r=["Bytes","KB","MB","GB"],t=Math.floor(Math.log(e)/Math.log(A));return Math.round(e/Math.pow(A,t)*10)/10+" "+r[t]}const Kf=({files:e,onConfirm:A,onCancel:r})=>{const[t,n]=E.useState(""),a=()=>{A(t.trim())};return i.jsxs("div",{className:"smallModal",children:[i.jsxs("div",{className:"shareHeader",children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.tag_images")}),i.jsx("button",{className:"closeModal",onClick:r,children:i.jsx(cs,{})})]}),i.jsxs("div",{className:"taggingModalContent",children:[i.jsx("p",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.tag_description",{count:e.length})}),i.jsxs("div",{className:"taggingInput",children:[i.jsx("label",{children:d.getMessage("modals.main.settings.sections.background.source.folder_name")}),i.jsx("input",{type:"text",placeholder:d.getMessage("modals.main.settings.sections.background.source.folder_placeholder"),value:t,onChange:s=>n(s.target.value),onKeyPress:s=>{s.key==="Enter"&&a()},autoFocus:!0})]})]}),i.jsxs("div",{className:"resetFooter",children:[i.jsx(mA,{type:"settings",onClick:r,label:d.getMessage("modals.main.settings.buttons.cancel")}),i.jsx(mA,{type:"settings",onClick:a,label:d.getMessage("modals.main.settings.buttons.continue")})]})]})},Ki=E.memo(()=>{const[e,A]=E.useState([]),[r,t]=E.useState(!1),[n,a]=E.useState([]),[s,o]=E.useState(!0),[l,c]=E.useState(!1),[g,B]=E.useState({current:0,total:0}),[u,p]=E.useState(!1),[Q,C]=E.useState(new Set),[I,U]=E.useState(localStorage.getItem("customImageSort")||"date_desc"),[b,L]=E.useState(!1),[S,y]=E.useState({usage:0,quota:0}),h=E.useRef(null),x=E.useRef(0),K=5e7;E.useEffect(()=>{(async()=>{if(navigator.storage&&navigator.storage.estimate)try{const N=await navigator.storage.estimate();y({usage:N.usage||0,quota:N.quota||K})}catch(N){console.warn("Could not get storage estimate:",N),y({usage:0,quota:K})}else y({usage:0,quota:K})})()},[e]),E.useEffect(()=>{(async()=>{try{await no();const N=await Ve();A(N),N.forEach(async M=>{if(!M.dimensions&&M.url&&!bt(M.url))try{const _=await rs(M.url),J=await ns(M.url);await ao(M.id,{dimensions:_,blurHash:J});const $=await Ve();A($)}catch(_){console.warn("Could not extract metadata for existing image:",_)}})}catch(N){console.error("Error loading backgrounds:",N),GA(d.getMessage("toasts.error"))}finally{o(!1)}})()},[]);const k=E.useCallback(async(F,N,M,_=!1)=>{try{const J={url:N,name:M.name,uploadDate:Date.now(),dimensions:M.dimensions,fileSize:M.fileSize,folder:M.folder||"",blurHash:M.blurHash};await Xn(J);const $=await Ve();A($);try{localStorage.setItem("customBackground",JSON.stringify($.map(uA=>uA.url)))}catch{console.warn("localStorage quota exceeded, storing count only"),localStorage.setItem("customBackgroundCount",$.length.toString())}_||UA.emit("refresh","background")}catch(J){console.error("Error saving background:",J),GA(d.getMessage("toasts.error"))}},[]),R=async(F,N="")=>{const M=e.reduce((J,$)=>$.url&&$.url.startsWith("data:")?J+sn($.url):J,0),_=S.quota||K;if(M/_>.9&&navigator.storage&&navigator.storage.persist)try{await navigator.storage.persist()&&console.log("Storage persistence granted")}catch(J){console.warn("Could not request storage persistence:",J)}if(bt(F.type)){if(M+F.size>_)throw new Error("no_storage");const J=new FileReader;return new Promise(($,uA)=>{J.onloadend=()=>{$({dataUrl:J.result,metadata:{name:as(F,e.length),dimensions:null,fileSize:F.size,folder:N,blurHash:null}})},J.onerror=uA,J.readAsDataURL(F)})}else{const J=await Yn.compressAccurately(F,{size:450,accuracy:.9}),$=S.quota||K;if(M+J.size>$)throw new Error("no_storage");const uA=await Yn.filetoDataURL(J),[f,v]=await Promise.all([rs(uA),ns(uA).catch(()=>null)]);return{dataUrl:uA,metadata:{name:as(F,e.length),dimensions:f,fileSize:sn(uA),folder:N,blurHash:v}}}},O=async(F,N="")=>{c(!0),B({current:0,total:F.length});const M=[];for(let _=0;_<F.length;_++)try{const J=await R(F[_],N);await k(F[_],J.dataUrl,J.metadata,!0),B({current:_+1,total:F.length})}catch(J){if(J.message==="no_storage"){GA(d.getMessage("toasts.no_storage"));break}M.push(F[_].name)}M.length>0&&GA(d.getMessage("toasts.error")+`: ${M.join(", ")}`),UA.emit("refresh","background"),c(!1),B({current:0,total:0})},Z=async F=>{t(!1),await O(n,F),a([])},D=E.useCallback(async(F,N)=>{try{F==="add"?await Xn(""):await $i(N);const M=await Ve();A(M);try{localStorage.setItem("customBackground",JSON.stringify(M.map(_=>_.url)))}catch{console.warn("localStorage quota exceeded, storing count only"),localStorage.setItem("customBackgroundCount",M.length.toString())}UA.emit("refresh","background")}catch(M){console.error("Error modifying background:",M),GA(d.getMessage("toasts.error"))}},[]),z=async()=>{if(Q.size!==0)try{const F=Array.from(Q).sort((M,_)=>_-M);await so(F);const N=await Ve();A(N),C(new Set);try{localStorage.setItem("customBackground",JSON.stringify(N.map(M=>M.url)))}catch{localStorage.setItem("customBackgroundCount",N.length.toString())}UA.emit("refresh","background"),GA(d.getMessage("toasts.deleted"))}catch(F){console.error("Error batch deleting:",F),GA(d.getMessage("toasts.error"))}},eA=F=>{const N=new Set(Q);N.has(F)?N.delete(F):N.add(F),C(N)},tA=F=>{U(F),localStorage.setItem("customImageSort",F)},AA=E.useCallback(()=>{document.getElementById("bg-input").click()},[]),fA=async F=>{F.length>1?(a(F),t(!0)):await O(F,"")},aA=[...e].sort((F,N)=>{switch(I){case"date_asc":return F.uploadDate-N.uploadDate;case"date_desc":return N.uploadDate-F.uploadDate;case"name_asc":return(F.name||"").localeCompare(N.name||"");case"name_desc":return(N.name||"").localeCompare(F.name||"");case"size_asc":return(F.fileSize||0)-(N.fileSize||0);case"size_desc":return(N.fileSize||0)-(F.fileSize||0);default:return 0}}),q=e.reduce((F,N)=>N.url&&N.url.startsWith("data:")?F+sn(N.url):F,0),lA=S.quota||K,sA=q/lA*100,H=Mf(),j=5242880;E.useEffect(()=>{const F=h.current;if(!F)return;const N=$=>{$.preventDefault(),$.stopPropagation()},M=$=>{$.preventDefault(),$.stopPropagation(),x.current++,$.dataTransfer.items&&$.dataTransfer.items.length>0&&p(!0)},_=$=>{$.preventDefault(),$.stopPropagation(),x.current--,x.current===0&&p(!1)},J=async $=>{$.preventDefault(),$.stopPropagation(),p(!1),x.current=0;const uA=Array.from($.dataTransfer.files);uA.length!==0&&(uA.length>1?(a(uA),t(!0)):await O(uA,""))};return F.ondragover=N,F.ondragenter=M,F.ondragleave=_,F.ondrop=J,()=>{F&&(F.ondragover=null,F.ondragenter=null,F.ondragleave=null,F.ondrop=null)}},[e.length,O]);const G=aA.filter(F=>F&&bt(F.url)).length>0;return s?i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"loaderHolder",children:[i.jsx("div",{id:"loader"}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.loading")})]})}):l?i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"loaderHolder",children:[i.jsx("div",{id:"loader"}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.uploading",{current:g.current,total:g.total})}),i.jsxs("span",{className:"subtitle",children:[Math.round(g.current/g.total*100),"%"]})]})}):i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:`dropzone ${u?"dragging":""}`,ref:h,style:u?{outline:"2px dashed #ff5c25",outlineOffset:"-2px",backgroundColor:"rgba(255, 92, 37, 0.1)",transition:"all 0.2s ease"}:{},children:[i.jsxs("div",{className:"imagesTopBar",children:[i.jsxs("div",{className:"imagesTopBarTitle",children:[i.jsx(Jn,{}),i.jsxs("div",{children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.custom_title")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.custom_description")})]})]}),i.jsx("div",{className:"topbarbuttons",children:i.jsx(mA,{type:"settings",onClick:AA,icon:i.jsx(Ao,{}),label:d.getMessage("modals.main.settings.sections.background.source.upload")})})]}),i.jsxs("div",{className:"imagesControlBar",children:[i.jsxs("div",{className:"controlBarLeft",children:[i.jsxs("span",{className:"image-count",children:[e.length," ",e.length===1?"image":"images",i.jsxs("span",{className:"storage-info",children:[" ","· ",Qe(q)," / ",Qe(lA),sA>80&&navigator.storage&&navigator.storage.persist&&i.jsx(Wn,{title:"Request persistent storage to prevent browser from automatically clearing your images",children:i.jsx("button",{className:"request-storage-link",onClick:async()=>{try{await navigator.storage.persist()?GA("Persistent storage granted - your images are protected from eviction"):GA("Persistent storage denied - images may be cleared if storage is low")}catch(F){console.error("Storage request error:",F),GA("Could not request persistent storage")}},children:"Protect images"})})]})]}),i.jsx("span",{className:"selection-separator",children:"·"}),Q.size>0?i.jsxs(i.Fragment,{children:[i.jsxs("span",{className:"selected-count",children:[Q.size," selected"]}),i.jsx("button",{className:"delete-link",onClick:z,children:"Delete"}),Q.size<e.length&&i.jsx("button",{className:"select-all-link",onClick:()=>{const F=new Set(e.map((N,M)=>M));C(F)},children:"Select all"}),Q.size===e.length&&i.jsx("button",{className:"select-all-link",onClick:()=>C(new Set),children:"Deselect all"})]}):e.length>0&&i.jsx("button",{className:"select-all-link",onClick:()=>{const F=new Set(e.map((N,M)=>M));C(F)},children:"Select all"})]}),i.jsx("div",{className:"controlBarRight",children:i.jsx(KA,{name:"customImageSort",category:"customImageSort",onChange:tA,items:[{value:"date_desc",text:d.getMessage("modals.main.settings.sections.background.source.sort.date_newest")},{value:"date_asc",text:d.getMessage("modals.main.settings.sections.background.source.sort.date_oldest")},{value:"name_asc",text:d.getMessage("modals.main.settings.sections.background.source.sort.name_asc")},{value:"name_desc",text:d.getMessage("modals.main.settings.sections.background.source.sort.name_desc")},{value:"size_asc",text:d.getMessage("modals.main.settings.sections.background.source.sort.size_small")},{value:"size_desc",text:d.getMessage("modals.main.settings.sections.background.source.sort.size_large")}]})})]}),i.jsx("div",{className:"dropzone-content",children:aA.length>0?i.jsx("div",{className:`images-grid ${Q.size>0?"selection-mode":""}`,children:aA.map(F=>{const N=e.findIndex(_=>_===F),M=F&&bt(F.url);return i.jsxs("div",{className:"image-card",onClick:_=>{_.target.closest(".delete-button")||eA(N)},children:[i.jsx("div",{className:"image-checkbox",children:i.jsx("input",{type:"checkbox",checked:Q.has(N),onChange:()=>eA(N)})}),i.jsxs("div",{className:"image-preview",children:[F.blurHash&&!M&&(()=>{const _=eo(F.blurHash,32,32);return _?i.jsx("div",{className:"blur-placeholder",style:{backgroundImage:`url(${_})`,filter:"blur(20px)",position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:0}}):null})(),M?i.jsx("div",{className:"video-icon-wrapper",children:i.jsx(to,{className:"customvideoicon"})}):i.jsx("img",{alt:F.name||"Custom background",src:F.url,loading:"lazy",style:{position:"relative",zIndex:1}})]}),i.jsxs("div",{className:"image-metadata",children:[i.jsx("span",{className:"image-name",title:F.name,children:F.name||"Unnamed"}),i.jsxs("div",{className:"image-details",children:[F.dimensions&&i.jsxs("span",{className:"detail",children:[F.dimensions.width," × ",F.dimensions.height]}),F.fileSize&&i.jsx("span",{className:"detail",children:Qe(F.fileSize)}),F.folder&&i.jsx("span",{className:"detail folder-tag",children:F.folder})]})]}),i.jsx(Wn,{title:d.getMessage("modals.main.settings.sections.background.source.remove"),children:i.jsx("button",{className:"delete-button",onClick:_=>{_.stopPropagation(),D("remove",N)},children:i.jsx(ut,{})})})]},N)})}):i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Jn,{}),i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.drop_to_upload")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.formats",{list:"jpeg, png, webp, webm, gif, mp4, webm, ogg"})}),i.jsx(mA,{type:"settings",onClick:AA,icon:i.jsx(ro,{}),label:d.getMessage("modals.main.settings.sections.background.source.select")})]})})})]}),i.jsx(xs,{id:"bg-input",accept:"image/jpeg, image/png, image/webp, image/webm, image/gif, video/mp4, video/webm, video/ogg",multiple:!0,loadFunction:async F=>{await fA(F)}}),G&&i.jsxs(i.Fragment,{children:[i.jsx(QA,{name:"backgroundVideoLoop",category:"backgroundvideo",text:d.getMessage("modals.main.settings.sections.background.source.loop_video")}),i.jsx(QA,{name:"backgroundVideoMute",category:"backgroundvideo",text:d.getMessage("modals.main.settings.sections.background.source.mute_video")})]}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>{t(!1),a([])},isOpen:r,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(Kf,{files:n,onConfirm:Z,onCancel:()=>{t(!1),a([])}})}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>L(!1),isOpen:b,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsxs("div",{className:"smallModal",children:[i.jsxs("div",{className:"shareHeader",children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.storage_info")}),i.jsx("button",{className:"closeModal",onClick:()=>L(!1),children:i.jsx(ut,{})})]}),i.jsxs("div",{style:{padding:"20px"},children:[i.jsx("p",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.storage_description")}),i.jsxs("div",{style:{marginTop:"20px"},children:[i.jsx("p",{className:"subtitle",style:{fontWeight:"600",marginBottom:"8px"},children:"Custom Backgrounds"}),i.jsxs("p",{className:"subtitle",children:[Qe(q)," / ",Qe(lA)," (",Math.round(sA),"%)"]})]}),i.jsxs("div",{style:{marginTop:"15px"},children:[i.jsx("p",{className:"subtitle",style:{fontWeight:"600",marginBottom:"8px"},children:"Total localStorage Usage"}),i.jsxs("p",{className:"subtitle",children:[Qe(H)," / ",Qe(j)," (",Math.round(H/j*100),"%)"]}),i.jsx("p",{className:"subtitle",style:{marginTop:"8px",fontSize:"12px",opacity:.7},children:"Includes all Mue settings and custom images"})]})]}),i.jsx("div",{className:"resetFooter",children:i.jsx(mA,{type:"settings",onClick:()=>L(!1),label:d.getMessage("modals.main.settings.buttons.close")})})]})})]})});Ki.displayName="CustomSettings";const Tf=({usingImage:e})=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.display"),subtitle:d.getMessage("modals.main.settings.sections.background.display_subtitle")}),i.jsxs(cA,{children:[i.jsx(QA,{name:"bgtransition",text:d.getMessage("modals.main.settings.sections.background.transition"),element:".other",disabled:!e}),i.jsx(QA,{name:"photoInformation",text:d.getMessage("modals.main.settings.sections.background.photo_information"),element:".other"}),i.jsx(QA,{name:"photoMap",text:d.getMessage("modals.main.settings.sections.background.show_map"),element:".other",disabled:!e})]})]});d.getMessage("modals.main.settings.sections.background.source.quality.original"),d.getMessage("modals.main.settings.sections.background.source.quality.high"),d.getMessage("modals.main.settings.sections.background.source.quality.normal"),d.getMessage("modals.main.settings.sections.background.source.quality.datasaver");const Df=[{value:"none",text:d.getMessage("modals.main.settings.sections.appearance.navbar.refresh_options.none")},{value:"grayscale",text:d.getMessage("modals.main.settings.sections.background.effects.filters.grayscale")},{value:"sepia",text:d.getMessage("modals.main.settings.sections.background.effects.filters.sepia")},{value:"invert",text:d.getMessage("modals.main.settings.sections.background.effects.filters.invert")},{value:"saturate",text:d.getMessage("modals.main.settings.sections.background.effects.filters.saturate")},{value:"contrast",text:d.getMessage("modals.main.settings.sections.background.effects.filters.contrast")}];function Ti(){return[{value:"api",text:d.getMessage("wb.settings_bundled_photos")},{value:"custom",text:d.getMessage("modals.main.settings.sections.background.type.custom_image")},{value:"colour",text:d.getMessage("modals.main.settings.sections.background.type.custom_colour")},{value:"random_colour",text:d.getMessage("modals.main.settings.sections.background.type.random_colour")},{value:"random_gradient",text:d.getMessage("modals.main.settings.sections.background.type.random_gradient")}]}const Of=({backgroundFilter:e,onFilterChange:A})=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.effects.title"),subtitle:d.getMessage("modals.main.settings.sections.background.effects.subtitle")}),i.jsxs(cA,{children:[i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.background.effects.blur"),name:"blur",min:"0",max:"100",default:"0",display:"%",marks:at.background,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo"}),i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.background.effects.brightness"),name:"brightness",min:"0",max:"100",default:"100",display:"%",marks:at.background,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo"}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.background.effects.filters.title"),name:"backgroundFilter",onChange:A,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo",items:Df}),e!=="none"&&i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.background.effects.filters.amount"),name:"backgroundFilterAmount",min:"0",max:"100",default:"0",display:"%",marks:at.background,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo"})]})]}),Rf=({backgroundType:e,onTypeChange:A})=>i.jsxs(rA,{final:e==="random_colour"||e==="random_gradient",children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.source.title"),subtitle:d.getMessage("modals.main.settings.sections.background.source.subtitle")}),i.jsx(cA,{children:i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.background.type.title"),name:"backgroundType",onChange:A,category:"background",items:Ti()})})]}),ss=({icon:e,title:A,subtitle:r,onClick:t,action:n})=>i.jsxs("div",{className:"moreSettings",onClick:t,children:[i.jsxs("div",{className:"left",children:[i.jsx(e,{}),i.jsxs("div",{className:"content",children:[i.jsx("span",{className:"title",children:A}),i.jsx("span",{className:"subtitle",children:r})]})]}),i.jsx("div",{className:"action",children:n||i.jsx(ls,{})})]}),Di=E.memo(({currentSubSection:e,onSubSectionChange:A,sectionName:r})=>{const[t,n]=E.useState(localStorage.getItem("backgroundType")||"api"),[a,s]=E.useState(localStorage.getItem("backgroundFilter")||"none"),o=["colour","random_colour","random_gradient"].includes(t);E.useEffect(()=>{o&&e!=="source"&&A("source",r)},[o,e,A,r]);const l=()=>{switch(t){case"custom":return i.jsx(Ki,{});case"colour":return i.jsx(Ef,{});default:return null}},c=t!=="colour"&&t!=="random_colour"&&t!=="random_gradient",g=t==="api"||t==="custom",B=()=>e==="effects"?i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.background.title"),secondaryTitle:d.getMessage("modals.main.settings.sections.background.effects.title"),goBack:()=>A(null,r)}):e==="source"?i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.background.title"),secondaryTitle:d.getMessage("modals.main.settings.sections.background.source.title"),goBack:()=>A(null,r)}):i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.background.title"),setting:"background",category:"background",visibilityToggle:!0});return i.jsxs(i.Fragment,{children:[B(),!e&&i.jsxs(i.Fragment,{children:[i.jsx(ss,{icon:io,title:d.getMessage("modals.main.settings.sections.background.source.title"),subtitle:d.getMessage("modals.main.settings.sections.background.source.subtitle"),onClick:()=>A("source",r),action:i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.background.type.title"),name:"backgroundType",onChange:u=>{n(u),u==="custom"&&UA.emit("refresh","background")},category:"background",items:Ti()})}),g&&i.jsx(ss,{icon:oo,title:d.getMessage("modals.main.settings.sections.background.effects.title"),subtitle:d.getMessage("modals.main.settings.sections.background.effects.subtitle"),onClick:()=>A("effects",r)})]}),!e&&g&&i.jsx(Tf,{usingImage:c}),e==="source"&&i.jsxs(i.Fragment,{children:[i.jsx(Rf,{backgroundType:t,onTypeChange:n}),l()]}),g&&e==="effects"&&i.jsx(Of,{backgroundFilter:a,onFilterChange:u=>s(u)})]})});Di.displayName="BackgroundOptions";function Nf(){const e=[{value:"ask",text:d.getMessage("wb.ask")},{value:"act",text:d.getMessage("wb.act")},...lo()?[{value:"search",text:d.getMessage("wb.search")}]:[]];return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage("wb.settings_taskbox"),setting:"taskBox",category:"widgets",visibilityToggle:!0}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("wb.settings_default_mode"),subtitle:d.getMessage("wb.settings_taskbox_sub")}),i.jsx(cA,{children:i.jsx(KA,{name:"taskBoxMode",category:"widgets",items:e})})]}),i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("wb.settings_recent")}),i.jsx(cA,{children:i.jsx(ds,{name:"recentChats",category:"widgets"})})]})]})}const _f=["Africa/Abidjan","Africa/Accra","Africa/Algiers","Africa/Bissau","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/El_Aaiun","Africa/Johannesburg","Africa/Juba","Africa/Khartoum","Africa/Lagos","Africa/Maputo","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Chicago","America/Chihuahua","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fort_Nelson","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/La_Paz","America/Lima","America/Los_Angeles","America/Maceio","America/Managua","America/Manaus","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Johns","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Helsinki","Europe/Istanbul","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/Saratov","Europe/Simferopol","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zaporozhye","Europe/Zurich","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis"];function Gf({currentSubSection:e,onSubSectionChange:A,sectionName:r}){const[t,n]=E.useState(!1),a="modals.main.settings.sections.advanced",s=()=>localStorage.getItem("welcomePreview")!=="true"?i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.data"),subtitle:d.getMessage("modals.main.settings.sections.advanced.data_description")}),i.jsxs("div",{className:"resetDataButtonsLayout",children:[i.jsx(mA,{onClick:()=>n(!0),icon:i.jsx(uo,{}),label:d.getMessage("modals.main.settings.buttons.reset")}),i.jsx(mA,{onClick:()=>Qo(),icon:i.jsx(Bo,{}),label:d.getMessage("modals.main.settings.buttons.export")}),i.jsx(mA,{onClick:()=>document.getElementById("file-input").click(),icon:i.jsx(fo,{}),label:d.getMessage("modals.main.settings.buttons.import")})]}),i.jsx(xs,{id:"file-input",accept:"application/json",type:"settings",loadFunction:c=>mo(c)})]}):i.jsx("div",{className:"emptyItems",children:i.jsx("div",{className:"emptyMessage",children:i.jsxs("div",{className:"loaderHolder",children:[i.jsx(ho,{}),i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.advanced.preview_data_disabled.title")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.advanced.preview_data_disabled.description")})]})})}),o=e==="data";let l;return o?l=i.jsx(TA,{title:d.getMessage(`${a}.title`),secondaryTitle:d.getMessage(`${a}.data`),goBack:()=>A(null,r),report:!1}):l=i.jsx(TA,{title:d.getMessage(`${a}.title`),report:!1}),i.jsxs(i.Fragment,{children:[l,o?i.jsxs(i.Fragment,{children:[i.jsx(s,{}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>n(!1),isOpen:t,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(co,{modalClose:()=>n(!1)})})]}):i.jsxs(i.Fragment,{children:[i.jsx(Kn,{title:d.getMessage(`${a}.data`),subtitle:d.getMessage(`${a}.data_subtitle`),onClick:()=>A("data",r),icon:i.jsx(go,{})}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.timezone.title"),subtitle:d.getMessage("modals.main.settings.sections.advanced.timezone.subtitle")}),i.jsx(cA,{children:i.jsx(KA,{name:"timezone",category:"timezone",items:[{value:"auto",text:d.getMessage("modals.main.settings.sections.advanced.timezone.automatic")},..._f.map(c=>({value:c,text:c}))]})})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.tab_name"),subtitle:d.getMessage("modals.main.settings.sections.advanced.tab_name_subtitle")}),i.jsx(cA,{children:i.jsx(tr,{name:"tabName",default:d.getMessage("tabname"),category:"other"})})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.custom_css"),subtitle:d.getMessage("modals.main.settings.sections.advanced.custom_css_subtitle")}),i.jsx(cA,{children:i.jsx(tr,{name:"customcss",textarea:!0,category:"other",customcss:!0})})]})]})]})}function jf({currentSubSection:e,onSubSectionChange:A,sectionName:r}){const t=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.theme.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.theme.description")}),i.jsx(cA,{children:i.jsx(ln,{name:"theme",options:[{name:d.getMessage("modals.main.settings.sections.appearance.theme.auto"),value:"auto"},{name:d.getMessage("modals.main.settings.sections.appearance.theme.light"),value:"light"},{name:d.getMessage("modals.main.settings.sections.appearance.theme.dark"),value:"dark"}],category:"other"})})]}),n=()=>{const c="modals.main.settings.sections.appearance.font.weight";return i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.font.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.font.description")}),i.jsxs(cA,{children:[i.jsx(tr,{title:d.getMessage("modals.main.settings.sections.appearance.font.custom"),name:"font",upperCaseFirst:!0,category:"other"}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.appearance.font.weight.title"),name:"fontweight",category:"other",items:[{value:"100",text:d.getMessage(c+".thin")},{value:"200",text:d.getMessage(c+".extra_light")},{value:"300",text:d.getMessage(c+".light")},{value:"400",text:d.getMessage(c+".normal")},{value:"500",text:d.getMessage(c+".medium")},{value:"600",text:d.getMessage(c+".semi_bold")},{value:"700",text:d.getMessage(c+".bold")},{value:"800",text:d.getMessage(c+".extra_bold")}]}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.appearance.font.style.title"),name:"fontstyle",category:"other",items:[{value:"normal",text:d.getMessage("modals.main.settings.sections.appearance.font.style.normal")},{value:"italic",text:d.getMessage("modals.main.settings.sections.appearance.font.style.italic")},{value:"oblique",text:d.getMessage("modals.main.settings.sections.appearance.font.style.oblique")}]})]})]})},a=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.style.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.style.description")}),i.jsx(cA,{children:i.jsx(ln,{name:"widgetStyle",element:".other",options:[{name:d.getMessage("modals.main.settings.sections.appearance.style.legacy"),value:"legacy"},{name:d.getMessage("modals.main.settings.sections.appearance.style.new"),value:"new"}],category:"widgets"})})]}),s=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.accessibility.description")}),i.jsxs(cA,{children:[i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.title"),name:"textBorder",category:"other",items:[{value:"new",text:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.new")},{value:"true",text:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.old")},{value:"none",text:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.none")}]}),i.jsx(QA,{text:d.getMessage("modals.main.settings.sections.appearance.accessibility.animations"),name:"animations",category:"other"}),i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.toast_duration"),name:"toastDisplayTime",default:"2500",step:"100",min:"500",max:"5000",marks:at.toast,display:" "+d.getMessage("modals.main.settings.sections.appearance.accessibility.milliseconds")})]})]}),o=e==="accessibility";let l;return o?l=i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.appearance.title"),secondaryTitle:d.getMessage("modals.main.settings.sections.appearance.accessibility.title"),goBack:()=>A(null,r),report:!1}):l=i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.appearance.title"),report:!1}),i.jsxs(i.Fragment,{children:[l,o?i.jsx(s,{}):i.jsxs(i.Fragment,{children:[i.jsx(Kn,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.accessibility.description"),icon:i.jsx(wo,{}),onClick:()=>A("accessibility",r)}),i.jsx(t,{}),i.jsx(n,{}),i.jsx(a,{})]})]})}const Vf=E.memo(jf),Pf=`BSD 3-Clause License--Copyright (c) 2019-2026 The Mue Authors-Copyright (c) 2018-2019 David Ralph--All rights reserved.--Redistribution and use in source and binary forms, with or without-modification, are permitted provided that the following conditions are met:--1. Redistributions of source code must retain the above copyright notice, this- list of conditions and the following disclaimer.--2. Redistributions in binary form must reproduce the above copyright notice,- this list of conditions and the following disclaimer in the documentation- and/or other materials provided with the distribution.--3. Neither the name of the copyright holder nor the names of its- contributors may be used to endorse or promote products derived from- this software without specific prior written permission.--THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-`;function Xf(){const e=Object.keys(po),{MUE_REPO_URL:A,MUE_VERSION:r,REPO_URL:t,WEBSITE_URL:n}=d.constants;return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage("wb.settings_credits")}),i.jsx(rA,{children:i.jsx(nA,{title:"WebBrain",subtitle:"The WebBrain new tab is free software, licensed GPL-3.0-or-later, and makes no network requests of its own."})}),i.jsx(rA,{children:i.jsx(nA,{title:`Based on Mue ${r}`,subtitle:i.jsxs(i.Fragment,{children:["Derived from ",i.jsx("a",{href:A,target:"_blank",rel:"noreferrer",children:"Mue"})," by The Mue Authors and David Ralph, used under the BSD-3-Clause license reproduced below. Mue is not affiliated with or endorsing WebBrain."]})})}),i.jsx(rA,{children:i.jsx(nA,{title:d.getMessage("wb.settings_bundled_photos"),subtitle:`${e.join(", ")}. Offline images shipped with Mue (Unsplash, Pexels and Pixabay).`})}),i.jsx(rA,{children:i.jsx(nA,{title:"Fonts and icons",subtitle:"Inter, Lexend Deca and Montserrat (SIL Open Font License); Material Design icons via react-icons."})}),i.jsx(rA,{final:!0,children:i.jsx(nA,{title:"Mue license",subtitle:i.jsx("pre",{style:{whiteSpace:"pre-wrap",fontSize:"0.75rem"},children:Pf})})}),i.jsxs("p",{style:{opacity:.7,fontSize:"0.85rem"},children:[i.jsx("a",{href:n,target:"_blank",rel:"noreferrer",children:n.replace("https://","")})," · ",i.jsx("a",{href:t,target:"_blank",rel:"noreferrer",children:"GitHub"})]})]})}function Jf(){return i.jsx("span",{className:"greeting preview",children:"Good Morning"})}const Wf=E.memo(Jf),Yf=E.lazy(()=>Co(()=>import("./index-DfKEmD7L.js"),__vite__mapDeps([0,1,2]),import.meta.url));function Zf(){return localStorage.getItem("timeType")==="analogue"?i.jsx(E.Suspense,{fallback:i.jsx(i.Fragment,{}),children:i.jsx("div",{className:"clockBackground",children:i.jsx(Yf,{className:"analogclock clock-container",value:"2022-10-07T17:00:00+00:00",size:50})})}):localStorage.getItem("timeType")==="percentageComplete"?i.jsx("span",{className:"vertical-clock clock-container clockSkeleton",children:"68%"}):localStorage.getItem("timeType")==="verticalClock"?i.jsxs("span",{className:"vertical-clock clock-container",style:{fontSize:"30px"},children:[i.jsx("div",{className:"hour",children:"10"}),i.jsx("div",{className:"minute",children:"23"})]}):i.jsx("span",{className:"vertical-clock clock-container clockSkeleton",children:"10:24"})}const zf=E.memo(Zf);function qf(e){return Mn({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"},child:[]}]})(e)}function $f(e){return Mn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z"},child:[]}]})(e)}function Ah(e){return Mn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M17.625 1.499c-2.32 0-4.354 1.203-5.625 3.03-1.271-1.827-3.305-3.03-5.625-3.03C3.129 1.499 0 4.253 0 8.249c0 4.275 3.068 7.847 5.828 10.227a33.14 33.14 0 0 0 5.616 3.876l.028.017.008.003-.001.003c.163.085.342.126.521.125.179.001.358-.041.521-.125l-.001-.003.008-.003.028-.017a33.14 33.14 0 0 0 5.616-3.876C20.932 16.096 24 12.524 24 8.249c0-3.996-3.129-6.75-6.375-6.75zm-.919 15.275a30.766 30.766 0 0 1-4.703 3.316l-.004-.002-.004.002a30.955 30.955 0 0 1-4.703-3.316c-2.677-2.307-5.047-5.298-5.047-8.523 0-2.754 2.121-4.5 4.125-4.5 2.06 0 3.914 1.479 4.544 3.684.143.495.596.797 1.086.796.49.001.943-.302 1.085-.796.63-2.205 2.484-3.684 4.544-3.684 2.004 0 4.125 1.746 4.125 4.5 0 3.225-2.37 6.216-5.048 8.523z"},child:[]}]})(e)}function eh(){return i.jsx("div",{className:"quickLinksSkeleton",children:i.jsxs("div",{className:"circles",children:[i.jsx("div",{children:i.jsx(qf,{})}),i.jsx("div",{children:i.jsx($f,{})}),i.jsx("div",{children:i.jsx(Ah,{})})]})})}const th=E.memo(eh);function rh(){return i.jsx("span",{className:"date",children:"Thursday January 1st"})}const nh=E.memo(rh);function ah(){return i.jsx("h2",{className:"message",children:i.jsxs("span",{children:["Message",i.jsx("br",{})]})})}const sh=E.memo(ah),ih={greeting:d.getMessage("modals.main.settings.sections.greeting.title"),time:d.getMessage("modals.main.settings.sections.time.title"),quicklinks:d.getMessage("modals.main.settings.sections.quicklinks.title"),date:d.getMessage("modals.main.settings.sections.date.title"),message:d.getMessage("modals.main.settings.sections.message.title")},oh=({id:e})=>{const{attributes:A,listeners:r,setNodeRef:t,transform:n,transition:a}=hs({id:e}),s={transform:ws.Transform.toString(n),transition:a};return i.jsxs("li",{ref:t,style:s,...A,...r,className:"sortableItem",children:[ih[e],i.jsx(fs,{})]})},lh=()=>{const[e,A]=E.useState(()=>JSON.parse(localStorage.getItem("order"))||["greeting","time","quicklinks","date","message"]),r=ps(rr(ms),rr(Qs,{coordinateGetter:Cs})),t=s=>{const{active:o,over:l}=s;l&&o.id!==l.id&&A(c=>{const g=c.indexOf(o.id),B=c.indexOf(l.id);return Es(c,g,B)})},n=s=>s==="quicklinks"?localStorage.getItem("quicklinksenabled")==="true":localStorage.getItem(s)==="true",a=s=>{switch(s){case"greeting":return i.jsx(Wf,{});case"time":return i.jsx(zf,{});case"quicklinks":return i.jsx(th,{});case"date":return i.jsx(nh,{});case"message":return i.jsx(sh,{});default:return null}};return E.useEffect(()=>{localStorage.setItem("order",JSON.stringify(e)),d.stats.postEvent("setting","Widget order"),UA.emit("refresh","widgets")},[e]),i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"mainTitle",children:d.getMessage("modals.main.marketplace.product.overview")}),i.jsxs("div",{className:"overviewGrid",children:[i.jsxs("div",{children:[i.jsx("span",{className:"title",children:d.getMessage("modals.welcome.buttons.preview")}),i.jsx("div",{className:"tabPreview",children:i.jsx("div",{className:"previewItem",style:{maxWidth:"50%"},children:e.map((s,o)=>n(s)?i.jsx("div",{className:"previewItem",children:a(s)},`item-${s}`):null)})})]}),i.jsxs("div",{children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.order.title")}),i.jsx(vs,{sensors:r,collisionDetection:Us,onDragEnd:t,children:i.jsx(Fs,{items:e,strategy:bs,children:i.jsx("ul",{className:"sortableContainer",children:e.map(s=>n(s)?i.jsx(oh,{id:s},s):null)})})})]})]})]})},is=[{label:"modals.main.marketplace.product.overview",name:"order",component:lh},{label:"modals.main.settings.sections.appearance.navbar.title",name:"navbar",component:ko},{label:"modals.main.settings.sections.greeting.title",name:"greeting",component:To},{label:"modals.main.settings.sections.time.title",name:"time",component:Do},{label:"modals.main.settings.sections.quicklinks.title",name:"quicklinks",component:Go},{label:"modals.main.settings.sections.date.title",name:"date",component:Oo},{label:"modals.main.settings.sections.message.title",name:"message",component:jo},{label:"modals.main.settings.sections.background.title",name:"background",component:Di},{label:"wb.settings_taskbox",name:"taskbox",component:Nf},{label:"modals.main.settings.sections.appearance.title",name:"appearance",component:Vf},{label:"modals.main.settings.sections.advanced.title",name:"advanced",component:Gf},{label:"wb.settings_credits",name:"credits",component:Xf}];function ch(e){const A=Ct(),r=E.useMemo(()=>is.map(t=>({...t,translatedLabel:A(t.label)})),[A]);return i.jsx(Io,{changeTab:t=>e.changeTab(t),current:"settings",currentTab:e.currentTab,onSectionChange:e.onSectionChange,onSubSectionChange:e.onSubSectionChange,currentSubSection:e.currentSubSection,deepLinkData:e.deepLinkData,navigationTrigger:e.navigationTrigger,sections:is,children:r.map(({label:t,name:n,component:a,translatedLabel:s})=>i.jsx("div",{label:s,name:n,children:i.jsx(a,{currentSubSection:e.currentSubSection,onSubSectionChange:e.onSubSectionChange,sectionName:n})},n))})}const uh=E.memo(ch);export{uh as default};diff --git a/src/firefox/newtab/assets/index-DLQt-leu.js b/src/chrome/newtab/assets/index-B1h2CV5t.jssimilarity index 99%rename from src/firefox/newtab/assets/index-DLQt-leu.jsrename to src/chrome/newtab/assets/index-B1h2CV5t.jsindex 3f9cabc50..b15957e08 100644--- a/src/firefox/newtab/assets/index-DLQt-leu.js+++ b/src/chrome/newtab/assets/index-B1h2CV5t.js@@ -1,4 +1,4 @@-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Clock-okasD9hI.css","./Settings-DPM-2yQQ.js","./Settings-BkGHEXAt.css"])))=>i.map(i=>d[i]);+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Clock-okasD9hI.css","./Settings-BHcHjb2v.js","./Settings-BkGHEXAt.css"])))=>i.map(i=>d[i]);var KT=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zm(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}function xS(o){if(Object.prototype.hasOwnProperty.call(o,"__esModule"))return o;var n=o.default;if(typeof n=="function"){var u=function l(){var d=!1;try{d=this instanceof l}catch{}return d?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};u.prototype=n.prototype}else u={};return Object.defineProperty(u,"__esModule",{value:!0}),Object.keys(o).forEach(function(l){var d=Object.getOwnPropertyDescriptor(o,l);Object.defineProperty(u,l,d.get?d:{enumerable:!0,get:function(){return o[l]}})}),u}var Kc={exports:{}},zs={};var h_;function zS(){if(h_)return zs;h_=1;var o=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function u(l,d,c){var f=null;if(c!==void 0&&(f=""+c),d.key!==void 0&&(f=""+d.key),"key"in d){c={};for(var p in d)p!=="key"&&(c[p]=d[p])}else c=d;return d=c.ref,{$$typeof:o,type:l,key:f,ref:d!==void 0?d:null,props:c}}return zs.Fragment=n,zs.jsx=u,zs.jsxs=u,zs}var __;function TS(){return __||(__=1,Kc.exports=zS()),Kc.exports}var w=TS();const NS="wbnt:";function Bv(o,n=NS){const u=()=>{const d=[];for(let c=0;c<o.length;c+=1){const f=o.key(c);f!=null&&f.startsWith(n)&&d.push(f.slice(n.length))}return d},l={getItem:d=>o.getItem(n+String(d)),setItem:(d,c)=>o.setItem(n+String(d),String(c)),removeItem:d=>o.removeItem(n+String(d)),clear:()=>u().forEach(d=>o.removeItem(n+d)),key:d=>u()[d]??null};return new Proxy(Object.create(null),{get(d,c){if(c==="length")return u().length;if(Object.prototype.hasOwnProperty.call(l,c))return l[c];if(typeof c!="string")return;const f=o.getItem(n+c);return f===null?void 0:f},set(d,c,f){return typeof c!="string"?!1:(o.setItem(n+c,String(f)),!0)},deleteProperty(d,c){return typeof c=="string"&&o.removeItem(n+c),!0},has(d,c){return Object.prototype.hasOwnProperty.call(l,c)||c==="length"||typeof c=="string"&&o.getItem(n+c)!==null},ownKeys:()=>u(),getOwnPropertyDescriptor(d,c){if(typeof c!="string")return;const f=o.getItem(n+c);return f===null?void 0:{value:f,enumerable:!0,configurable:!0,writable:!0}}})}function ES(o=globalThis){const n=o.localStorage,u=Bv(n);return Object.defineProperty(o,"localStorage",{configurable:!0,get:()=>u}),{real:n,shim:u}}function jS(){const o=new Map;return{get length(){return o.size},key:n=>[...o.keys()][n]??null,getItem:n=>o.has(String(n))?o.get(String(n)):null,setItem:(n,u)=>{o.set(String(n),String(u))},removeItem:n=>{o.delete(String(n))},clear:()=>o.clear()}}let Ll=null;try{Ll=ES(window).real}catch{try{const o=jS(),n=Bv(o);Object.defineProperty(window,"localStorage",{configurable:!0,get:()=>n})}catch{}Ll=null}var Yc={exports:{}},Ts={},Wc={exports:{}},Qc={};var v_;function DS(){return v_||(v_=1,(function(o){function n(I,T){var K=I.length;I.push(T);e:for(;0<K;){var ie=K-1>>>1,ne=I[ie];if(0<d(ne,T))I[ie]=T,I[K]=ne,K=ie;else break e}}function u(I){return I.length===0?null:I[0]}function l(I){if(I.length===0)return null;var T=I[0],K=I.pop();if(K!==T){I[0]=K;e:for(var ie=0,ne=I.length,ye=ne>>>1;ie<ye;){var Ce=2*(ie+1)-1,Ve=I[Ce],E=Ce+1,te=I[E];if(0>d(Ve,K))E<ne&&0>d(te,Ve)?(I[ie]=te,I[E]=K,ie=E):(I[ie]=Ve,I[Ce]=K,ie=Ce);else if(E<ne&&0>d(te,K))I[ie]=te,I[E]=K,ie=E;else break e}}return T}function d(I,T){var K=I.sortIndex-T.sortIndex;return K!==0?K:I.id-T.id}if(o.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;o.unstable_now=function(){return c.now()}}else{var f=Date,p=f.now();o.unstable_now=function(){return f.now()-p}}var h=[],y=[],_=1,g=null,b=3,S=!1,C=!1,x=!1,A=!1,j=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;function G(I){for(var T=u(y);T!==null;){if(T.callback===null)l(y);else if(T.startTime<=I)l(y),T.sortIndex=T.expirationTime,n(h,T);else break;T=u(y)}}function Z(I){if(x=!1,G(I),!C)if(u(h)!==null)C=!0,H||(H=!0,ee());else{var T=u(y);T!==null&&Y(Z,T.startTime-I)}}var H=!1,D=-1,q=5,V=-1;function $(){return A?!0:!(o.unstable_now()-V<q)}function W(){if(A=!1,H){var I=o.unstable_now();V=I;var T=!0;try{e:{C=!1,x&&(x=!1,z(D),D=-1),S=!0;var K=b;try{t:{for(G(I),g=u(h);g!==null&&!(g.expirationTime>I&&$());){var ie=g.callback;if(typeof ie=="function"){g.callback=null,b=g.priorityLevel;var ne=ie(g.expirationTime<=I);if(I=o.unstable_now(),typeof ne=="function"){g.callback=ne,G(I),T=!0;break t}g===u(h)&&l(h),G(I)}else l(h);g=u(h)}if(g!==null)T=!0;else{var ye=u(y);ye!==null&&Y(Z,ye.startTime-I),T=!1}}break e}finally{g=null,b=K,S=!1}T=void 0}}finally{T?ee():H=!1}}}var ee;if(typeof L=="function")ee=function(){L(W)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,X=ae.port2;ae.port1.onmessage=W,ee=function(){X.postMessage(null)}}else ee=function(){j(W,0)};function Y(I,T){D=j(function(){I(o.unstable_now())},T)}o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(I){I.callback=null},o.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):q=0<I?Math.floor(1e3/I):5},o.unstable_getCurrentPriorityLevel=function(){return b},o.unstable_next=function(I){switch(b){case 1:case 2:case 3:var T=3;break;default:T=b}var K=b;b=T;try{return I()}finally{b=K}},o.unstable_requestPaint=function(){A=!0},o.unstable_runWithPriority=function(I,T){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var K=b;b=I;try{return T()}finally{b=K}},o.unstable_scheduleCallback=function(I,T,K){var ie=o.unstable_now();switch(typeof K=="object"&&K!==null?(K=K.delay,K=typeof K=="number"&&0<K?ie+K:ie):K=ie,I){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=K+ne,I={id:_++,callback:T,priorityLevel:I,startTime:K,expirationTime:ne,sortIndex:-1},K>ie?(I.sortIndex=K,n(y,I),u(h)===null&&I===u(y)&&(x?(z(D),D=-1):x=!0,Y(Z,K-ie))):(I.sortIndex=ne,n(h,I),C||S||(C=!0,H||(H=!0,ee()))),I},o.unstable_shouldYield=$,o.unstable_wrapCallback=function(I){var T=b;return function(){var K=b;b=T;try{return I.apply(this,arguments)}finally{b=K}}}})(Qc)),Qc}var b_;function OS(){return b_||(b_=1,Wc.exports=DS()),Wc.exports}var Zc={exports:{}},be={};var y_;function qS(){if(y_)return be;y_=1;var o=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),b=Symbol.for("react.view_transition"),S=Symbol.iterator;function C(E){return E===null||typeof E!="object"?null:(E=S&&E[S]||E["@@iterator"],typeof E=="function"?E:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,j={};function z(E,te,se){this.props=E,this.context=te,this.refs=j,this.updater=se||x}z.prototype.isReactComponent={},z.prototype.setState=function(E,te){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,te,"setState")},z.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function L(){}L.prototype=z.prototype;function G(E,te,se){this.props=E,this.context=te,this.refs=j,this.updater=se||x}var Z=G.prototype=new L;Z.constructor=G,A(Z,z.prototype),Z.isPureReactComponent=!0;var H=Array.isArray;function D(){}var q={H:null,A:null,T:null,S:null},V=Object.prototype.hasOwnProperty;function $(E,te,se){var ce=se.ref;return{$$typeof:o,type:E,key:te,ref:ce!==void 0?ce:null,props:se}}function W(E,te){return $(E.type,te,E.props)}function ee(E){return typeof E=="object"&&E!==null&&E.$$typeof===o}function ae(E){var te={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(se){return te[se]})}var X=/\/+/g;function Y(E,te){return typeof E=="object"&&E!==null&&E.key!=null?ae(""+E.key):te.toString(36)}function I(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(D,D):(E.status="pending",E.then(function(te){E.status==="pending"&&(E.status="fulfilled",E.value=te)},function(te){E.status==="pending"&&(E.status="rejected",E.reason=te)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function T(E,te,se,ce,ke){var we=typeof E;(we==="undefined"||we==="boolean")&&(E=null);var me=!1;if(E===null)me=!0;else switch(we){case"bigint":case"string":case"number":me=!0;break;case"object":switch(E.$$typeof){case o:case n:me=!0;break;case _:return me=E._init,T(me(E._payload),te,se,ce,ke)}}if(me)return ke=ke(E),me=ce===""?"."+Y(E,0):ce,H(ke)?(se="",me!=null&&(se=me.replace(X,"$&/")+"/"),T(ke,te,se,"",function(At){return At})):ke!=null&&(ee(ke)&&(ke=W(ke,se+(ke.key==null||E&&E.key===ke.key?"":(""+ke.key).replace(X,"$&/")+"/")+me)),te.push(ke)),1;me=0;var ue=ce===""?".":ce+":";if(H(E))for(var fe=0;fe<E.length;fe++)ce=E[fe],we=ue+Y(ce,fe),me+=T(ce,te,se,we,ke);else if(fe=C(E),typeof fe=="function")for(E=fe.call(E),fe=0;!(ce=E.next()).done;)ce=ce.value,we=ue+Y(ce,fe++),me+=T(ce,te,se,we,ke);else if(we==="object"){if(typeof E.then=="function")return T(I(E),te,se,ce,ke);throw te=String(E),Error("Objects are not valid as a React child (found: "+(te==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":te)+"). If you meant to render a collection of children, use an array instead.")}return me}function K(E,te,se){if(E==null)return E;var ce=[],ke=0;return T(E,ce,"","",function(we){return te.call(se,we,ke++)}),ce}function ie(E){if(E._status===-1){var te=E._result,se=te();se.then(function(ce){(E._status===0||E._status===-1)&&(E._status=1,E._result=ce,se.status===void 0&&(se.status="fulfilled",se.value=ce))},function(ce){(E._status===0||E._status===-1)&&(E._status=2,E._result=ce,se.status===void 0&&(se.status="rejected",se.reason=ce))}),E._status===-1&&(E._status=0,E._result=se)}if(E._status===1)return E._result.default;throw E._result}var ne=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var te=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E),error:E});if(!window.dispatchEvent(te))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)};function ye(E){var te=q.T,se={};se.types=te!==null?te.types:null,q.T=se;try{var ce=E(),ke=q.S;ke!==null&&ke(se,ce),typeof ce=="object"&&ce!==null&&typeof ce.then=="function"&&ce.then(D,ne)}catch(we){ne(we)}finally{te!==null&&se.types!==null&&(te.types=se.types),q.T=te}}function Ce(E){var te=q.T;if(te!==null){var se=te.types;se===null?te.types=[E]:se.indexOf(E)===-1&&se.push(E)}else ye(Ce.bind(null,E))}var Ve={map:K,forEach:function(E,te,se){K(E,function(){te.apply(this,arguments)},se)},count:function(E){var te=0;return K(E,function(){te++}),te},toArray:function(E){return K(E,function(te){return te})||[]},only:function(E){if(!ee(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return be.Activity=g,be.Children=Ve,be.Component=z,be.Fragment=u,be.Profiler=d,be.PureComponent=G,be.StrictMode=l,be.Suspense=h,be.ViewTransition=b,be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=q,be.__COMPILER_RUNTIME={__proto__:null,c:function(E){return q.H.useMemoCache(E)}},be.addTransitionType=Ce,be.cache=function(E){return function(){return E.apply(null,arguments)}},be.cacheSignal=function(){return null},be.cloneElement=function(E,te,se){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var ce=A({},E.props),ke=E.key;if(te!=null)for(we in te.key!==void 0&&(ke=""+te.key),te)!V.call(te,we)||we==="key"||we==="__self"||we==="__source"||we==="ref"&&te.ref===void 0||(ce[we]=te[we]);var we=arguments.length-2;if(we===1)ce.children=se;else if(1<we){for(var me=Array(we),ue=0;ue<we;ue++)me[ue]=arguments[ue+2];ce.children=me}return $(E.type,ke,ce)},be.createContext=function(E){return E={$$typeof:f,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:c,_context:E},E},be.createElement=function(E,te,se){var ce,ke={},we=null;if(te!=null)for(ce in te.key!==void 0&&(we=""+te.key),te)V.call(te,ce)&&ce!=="key"&&ce!=="__self"&&ce!=="__source"&&(ke[ce]=te[ce]);var me=arguments.length-2;if(me===1)ke.children=se;else if(1<me){for(var ue=Array(me),fe=0;fe<me;fe++)ue[fe]=arguments[fe+2];ke.children=ue}if(E&&E.defaultProps)for(ce in me=E.defaultProps,me)ke[ce]===void 0&&(ke[ce]=me[ce]);return $(E,we,ke)},be.createRef=function(){return{current:null}},be.forwardRef=function(E){return{$$typeof:p,render:E}},be.isValidElement=ee,be.lazy=function(E){return{$$typeof:_,_payload:{_status:-1,_result:E},_init:ie}},be.memo=function(E,te){return{$$typeof:y,type:E,compare:te===void 0?null:te}},be.startTransition=ye,be.unstable_useCacheRefresh=function(){return q.H.useCacheRefresh()},be.use=function(E){return q.H.use(E)},be.useActionState=function(E,te,se){return q.H.useActionState(E,te,se)},be.useCallback=function(E,te){return q.H.useCallback(E,te)},be.useContext=function(E){return q.H.useContext(E)},be.useDebugValue=function(){},be.useDeferredValue=function(E,te){return q.H.useDeferredValue(E,te)},be.useEffect=function(E,te){return q.H.useEffect(E,te)},be.useEffectEvent=function(E){return q.H.useEffectEvent(E)},be.useId=function(){return q.H.useId()},be.useImperativeHandle=function(E,te,se){return q.H.useImperativeHandle(E,te,se)},be.useInsertionEffect=function(E,te){return q.H.useInsertionEffect(E,te)},be.useLayoutEffect=function(E,te){return q.H.useLayoutEffect(E,te)},be.useMemo=function(E,te){return q.H.useMemo(E,te)},be.useOptimistic=function(E,te){return q.H.useOptimistic(E,te)},be.useReducer=function(E,te,se){return q.H.useReducer(E,te,se)},be.useRef=function(E){return q.H.useRef(E)},be.useState=function(E){return q.H.useState(E)},be.useSyncExternalStore=function(E,te,se){return q.H.useSyncExternalStore(E,te,se)},be.useTransition=function(){return q.H.useTransition()},be.version="19.3.1",be}var k_;function Ws(){return k_||(k_=1,Zc.exports=qS()),Zc.exports}var Xc={exports:{}},Mt={};var w_;function RS(){if(w_)return Mt;w_=1;var o=Ws();function n(_){var g="https://react.dev/errors/"+_;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)g+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+_+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var l={d:{f:u,r:function(){throw Error(n(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},d=Symbol.for("react.portal"),c=Symbol.for("react.recoverable"),f=Symbol.for("react.optimistic_key");function p(_,g,b){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:S==null?null:S===f?f:""+S,children:_,containerInfo:g,implementation:b}}var h=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(_,g){if(_==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return Mt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,Mt.browser=function(_){return{$$typeof:c,_reason:_}},Mt.createPortal=function(_,g){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(n(299));return p(_,g,null,b)},Mt.flushSync=function(_){var g=h.T,b=l.p;try{if(h.T=null,l.p=2,_)return _()}finally{h.T=g,l.p=b,l.d.f()}},Mt.preconnect=function(_,g){typeof _=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,l.d.C(_,g))},Mt.prefetchDNS=function(_){typeof _=="string"&&l.d.D(_)},Mt.preinit=function(_,g){if(typeof _=="string"&&g&&typeof g.as=="string"){var b=g.as,S=y(b,g.crossOrigin),C=typeof g.integrity=="string"?g.integrity:void 0,x=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;b==="style"?l.d.S(_,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:S,integrity:C,fetchPriority:x}):b==="script"&&l.d.X(_,{crossOrigin:S,integrity:C,fetchPriority:x,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},Mt.preinitModule=function(_,g){if(typeof _=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var b=y(g.as,g.crossOrigin);l.d.M(_,{crossOrigin:b,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0})}}else g==null&&l.d.M(_)},Mt.preload=function(_,g){if(typeof _=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var b=g.as,S=y(b,g.crossOrigin);l.d.L(_,b,{crossOrigin:S,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},Mt.preloadModule=function(_,g){if(typeof _=="string")if(g){var b=y(g.as,g.crossOrigin);l.d.m(_,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:b,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0})}else l.d.m(_)},Mt.requestFormReset=function(_){l.d.r(_)},Mt.unstable_batchedUpdates=function(_,g){return _(g)},Mt.useFormState=function(_,g,b){return h.H.useFormState(_,g,b)},Mt.useFormStatus=function(){return h.H.useHostTransitionStatus()},Mt.version="19.3.1",Mt}var S_;function Tm(){if(S_)return Xc.exports;S_=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(n){console.error(n)}}return o(),Xc.exports=RS(),Xc.exports}var M_;function BS(){if(M_)return Ts;M_=1;var o=OS(),n=Ws(),u=Tm();function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function c(e){for(var t=e,a=t;a&&!a.alternate;)t=a,(t.flags&4098)!==0&&(e=t.return),a=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function f(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function h(e){if(c(e)!==e)throw Error(l(188))}function y(e){var t=e.alternate;if(!t){if(t=c(e),t===null)throw Error(l(188));return t!==e?null:e}for(var a=e,i=t;;){var s=a.return;if(s===null)break;var r=s.alternate;if(r===null){if(i=s.return,i!==null){a=i;continue}break}if(s.child===r.child){for(r=s.child;r;){if(r===a)return h(s),e;if(r===i)return h(s),t;r=r.sibling}throw Error(l(188))}if(a.return!==i.return)a=s,i=r;else{for(var m=!1,v=s.child;v;){if(v===a){m=!0,a=s,i=r;break}if(v===i){m=!0,i=s,a=r;break}v=v.sibling}if(!m){for(v=r.child;v;){if(v===a){m=!0,a=r,i=s;break}if(v===i){m=!0,i=r,a=s;break}v=v.sibling}if(!m)throw Error(l(189))}}if(a.alternate!==i)throw Error(l(190))}if(a.tag!==3)throw Error(l(188));return a.stateNode.current===a?e:t}function _(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=_(e),t!==null)return t;e=e.sibling}return null}function g(e,t,a,i,s,r){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&a(e,i,s,r)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&g(e.child,t,a,i,s,r))return!0;e=e.sibling}return!1}function b(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function S(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function C(e){var t=[null,null],a=b(e);return a===null||x(t,e,a.child,{foundSelf:!1}),t}function x(e,t,a,i){for(;a!==null;){if(a===t)i.foundSelf=!0;else if(a.tag===5||a.tag===27||a.tag===6){if(i.foundSelf)return e[1]=a,!0;e[0]=a}else if((a.tag!==22||a.memoizedState===null)&&x(e,t,a.child,i))return!0;a=a.sibling}return!1}function A(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(l(559))}}var j=null,z=null;function L(e,t,a){return e===a?!0:e===t?(j=e,!0):!1}function G(e,t,a){return e===a?(z=e,!1):e===t?(z!==null&&(j=e),!0):!1}function Z(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function H(e,t,a){for(var i=0,s=e;s;s=a(s))i++;s=0;for(var r=t;r;r=a(r))s++;for(;0<i-s;)e=a(e),i--;for(;0<s-i;)t=a(t),s--;for(;i--;){if(e===t||t!==null&&e===t.alternate)return e;e=a(e),t=a(t)}return null}var D=Object.assign,q=Symbol.for("react.element"),V=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),ee=Symbol.for("react.strict_mode"),ae=Symbol.for("react.profiler"),X=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),ye=Symbol.for("react.activity"),Ce=Symbol.for("react.legacy_hidden"),Ve=Symbol.for("react.memo_cache_sentinel"),E=Symbol.for("react.view_transition"),te=Symbol.for("react.recoverable"),se=Symbol.iterator;function ce(e){return e===null||typeof e!="object"?null:(e=se&&e[se]||e["@@iterator"],typeof e=="function"?e:null)}var ke=Symbol.for("react.client.reference");function we(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ke?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case W:return"Fragment";case ae:return"Profiler";case ee:return"StrictMode";case T:return"Suspense";case K:return"SuspenseList";case ye:return"Activity";case E:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case $:return"Portal";case Y:return e.displayName||"Context";case X:return(e._context.displayName||"Context")+".Consumer";case I:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ie:return t=e.displayName||null,t!==null?t:we(e.type)||"Memo";case ne:t=e._payload,e=e._init;try{return we(e(t))}catch{}}return null}var me=Array.isArray,ue=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fe=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,At={pending:!1,data:null,method:null,action:null},Qt=[],Zt=-1;function _t(e){return{current:e}}function tt(e){0>Zt||(e.current=Qt[Zt],Qt[Zt]=null,Zt--)}function Le(e,t){Zt++,Qt[Zt]=e.current,e.current=t}var Bt=_t(null),Lt=_t(null),Xt=_t(null),Xa=_t(null);function Jo(e,t){switch(Le(Xt,t),Le(Lt,e),Le(Bt,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Ah(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Ah(t),e=Ch(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}tt(Bt),Le(Bt,e)}function Ja(){tt(Bt),tt(Lt),tt(Xt)}function On(e){var t=e.memoizedState;t!==null&&(yn._currentValue=t.memoizedState,Le(Xa,e)),t=Bt.current;var a=Ch(t,e.type);t!==a&&(Le(Lt,e),Le(Bt,a))}function Ni(e){Lt.current===e&&(tt(Bt),tt(Lt)),Xa.current===e&&(tt(Xa),yn._currentValue=At)}var Da,$a;function It(e){if(Da===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Da=t&&t[1]||"",$a=-1<a.stack.indexOf(`at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return``+Da+e+$a}var Ei=!1;function la(e,t){if(!e||Ei)return"";Ei=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(oe){var O=oe}Reflect.construct(e,[],J)}else{try{J.call()}catch(oe){O=oe}J=!1;try{var P=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),J=!0,new e}finally{J&&(P!==void 0?Object.defineProperty(e.prototype,"props",P):delete e.prototype.props)}}}else{try{throw Error()}catch(oe){O=oe}(J=e())&&typeof J.catch=="function"&&J.catch(function(){})}}catch(oe){if(oe&&O&&typeof oe.stack=="string")return[oe.stack,O.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=i.DetermineComponentFrameRoot(),m=r[0],v=r[1];if(m&&v){var M=m.split(`@@ -847,7 +847,7 @@ Not: "{category}" kategorisine ait görselleri beğenmediyseniz, arka plan kaynaПримітка: якщо вам не подобаються "{category}" зображення, ви можете вимкнути цю категорію у налаштуваннях джерела фону.`,confirm:"Підтвердити"},search:"Пошук",quicklinks:{new:"Нове посилання",edit:"Редагувати посилання",name:"Ім'я",url:"URL",icon:"Іконка (необов'язково)",add:"Додати",name_error:"Необхідно вказати ім'я",url_error:"Необхідно вказати URL-адресу"},date:{week:"Тиждень"},weather:{not_found:"Не знайдено",meters:"{amount} метрів",extra_information:"Додаткова інформація",feels_like:"Відчувається як {amount}"},quote:{link_tooltip:"Відкрити у Вікіпедії",share:"Поділитися",copy:"Скопіювати",favourite:"Улюблене",unfavourite:"Неулюблене"},navbar:{tooltips:{refresh:"Оновити"},notes:{title:"Примітки",placeholder:"Введіть тут"},todo:{title:"Todo",pin:"Прикріпити",add:"Додати",no_todos:"Немає Todos"},apps:{title:"Додатки",no_apps:"Не знайдено жодного посилання на додаток"}}},qM=JSON.parse(`{"main":{"title":"Параметри","loading":"Завантаження...","file_upload_error":"Розмір файлу більше 2 МБ","navbar":{"settings":"Налаштування","library":"Доповнення","discover":"Маркетплейс"},"error_boundary":{"title":"Помилка","message":"Не вдалося завантажити цей компонент Mue","report_error":"Надіслати звіт про помилку","sent":"Відправлено!","refresh":"Оновити"},"settings":{"enabled":"Увімкнено","open_knowledgebase":"Відкрита база знань","additional_settings":"Додаткові налаштування","reminder":{"title":"ЗАМІТКА","message":"Щоб всі зміни набули чинності, сторінку необхідно оновити."},"sections":{"header":{"more_info":"Більше інформації","report_issue":"Повідомити про проблему","enabled":"Виберіть, показувати цей віджет чи ні","size":"Повзунок для керування розміром віджету"},"time":{"title":"Час","format":"Формат","type":"Тип","type_subtitle":"Виберіть, чи відображати час у цифровому форматі, аналоговому форматі або у відсотках від завершення дня","digital":{"title":"Цифровий","subtitle":"Змініть вигляд цифрового годинника","seconds":"Секунди","twentyfourhour":"24 години","twelvehour":"12 годин","zero":"Додатковий нуль"},"analogue":{"title":"Аналоговий","subtitle":"Змініть вигляд аналогового годинника","second_hand":"Секундна стрілка","minute_hand":"Хвилинна стрілка","hour_hand":"Годинникова стрілка","hour_marks":"Годинникові мітки","minute_marks":"Хвилинні мітки","round_clock":"Закруглений фон"},"percentage_complete":"Відсоток виконання","vertical_clock":{"title":"Вертикальний годинник","change_hour_colour":"Змінити колір тексту годинника","change_minute_colour":"Змінити колір хвилинного тексту","change_second_colour":"Змінити другий колір тексту"}},"date":{"title":"Дата","week_number":"Номер тижня","day_of_week":"День тижня","datenth":"Дата n-та","type":{"short":"Коротка","long":"Довга","subtitle":"Відображати дату в довгій чи в короткій формі"},"type_settings":"Налаштування та формат відображення для вибраного типу дати","short_date":"Коротка дата","short_format":"Короткий формат","long_format":"Довгий формат","short_separator":{"title":"Короткий сепаратор","dots":"Крапки","dash":"Тире","gaps":"Пробіли","slashes":"Слеши"}},"quote":{"title":"Цитата","additional":"Інші налаштування для налаштування стилю віджету котирувань","author_link":"Посилання на автора","author_details":"Інформація про автора","custom":"Користувацька цитата","custom_subtitle":"Встановіть свої власні користувацьки цитати","no_quotes":"Без лапок","author":"Автор","custom_buttons":"Кнопки","custom_author":"Користувацький автор","author_img":"Показати зображення автора","add":"Додати цитату","source_subtitle":"Виберіть, звідки отримувати цитати","buttons":{"title":"Кнопки","subtitle":"Виберіть, які кнопки показувати на цитаті","copy":"Скопіювати","tweet":"Твітнути","favourite":"Улюблене"}},"greeting":{"title":"Привітання","events":"Події","events_description":"Керуйте подіями на Mue, такими як дні народження.","enable_events":"Показувати повідомлення в особливі дні","default":"Привітання за замовчуванням","name":"Ім'я для привітання","birthday":"День народження","birthday_subtitle":"Показувати привітання з днем народження, коли твій день народження","birthday_age":"Рік народження","birthday_date":"Дата народження","additional":"Налаштування відображення привітання","custom":"Користувацькі події","event_name":"Назва події","day":"День","month":"Місяць","no_events":"Немає подій","no_events_description":"Додати кілька подій","add_event":"Додати подію"},"background":{"title":"Фон","transition":"Затухаючий перехід","photo_information":"Показати інформацію про фото","show_map":"Показувати карту місцезнаходження на інформації про фото, якщо вона доступна","categories":"Категорії","buttons":{"title":"Кнопки","view":"Перегляд","favourite":"Улюблені","download":"Завантажити'"},"effects":{"title":"Ефекти","subtitle":"Додати ефекти до фонових зображень","blur":"Розмиття","brightness":"Яскравість","filters":{"title":"Фільтр фону","amount":"Кількість фільтрів","grayscale":"Відтінки сірого","sepia":"Сепія","invert":"Негатив","saturate":"Насиченість","contrast":"Контраст"}},"type":{"title":"Тип","api":"API","custom_image":"Користувацьке зображення","custom_colour":"Користувацький колір/градієнт","random_colour":"Випадковий колір","random_gradient":"Випадковий градієнт"},"unsplash":{"title":"Колекція(ї) Unsplash","subtitle":"Виберіть колекцію(ї), яку ви хочете використати для фону","id":"Ідентифікатор(и) колекції","id_subtitle":"Введіть список ідентифікаторів Unsplash через кому"},"source":{"title":"Джерело","subtitle":"Виберіть, звідки взяти фонові зображення","api":"API для фону","custom_background":"Користувацький фон","custom_colour":"Користувацький колір фону","upload":"Вавантажити","add_colour":"Додати колір","add_background":"Додати фон","drop_to_upload":"Перетягніть для завантаження","formats":"Доступні формати: {list}","select":"Або виберіть","add_url":"Додати URL","disabled":"Вимкнено","loop_video":"Циклічне відео","mute_video":"Вимкнути звук відео","quality":{"title":"Якість","original":"Original","high":"Висока якість","normal":"Нормальна якість","datasaver":"Data Saver"},"custom_title":"Користувацькі зображення","custom_description":"Виберіть зображення з вашего локального комп'ютера","remove":"Видалити зображення","delete_selected":"Delete {count} Selected","uploading":"Uploading {current} of {total}...","images":"images","tag_images":"Tag Images","tag_description":"Add {count} images to a folder (optional)","folder_name":"Folder Name","folder_placeholder":"Leave empty for no folder","storage_info":"Storage Information","storage_description":"Mue uses browser storage to save your custom images. The current limit is approximately 4.85MB for all settings and images combined.","storage_current":"Current usage: {used} of {total} ({percent}%)","sort":{"date_newest":"Date Added (Newest)","date_oldest":"Date Added (Oldest)","name_asc":"Name (A-Z)","name_desc":"Name (Z-A)","size_small":"File Size (Smallest)","size_large":"File Size (Largest)"}},"display":"Відображати","display_subtitle":"Зміна способу завантаження фону та інформації про фотографію","api":"Налаштування API","api_subtitle":"Варіанти отримання зображення із зовнішнього сервісу (API)"},"search":{"title":"Пошук","additional":"Додаткові параметри відображення та функціональності пошукового віджета","search_engine":"Пошукова система","search_engine_subtitle":"Виберіть пошукову систему в рядку пошуку","custom":"Користувацька URL-адреса пошуку","autocomplete":"Автозаповнення","autocomplete_provider":"Провайдер автозаповнення","autocomplete_provider_subtitle":"Пошукова система для автоматичного заповнення випадаючих результатів","voice_search":"Голосовий пошук","dropdown":"Випадаючий список пошуку","focus":"Фокус на відкритій вкладці","chrome_policy_warning":"У версії 7.2 можливість вибору пошукової системи в Mue була видалена відповідно до нових вимог Chrome Web Store. Тепер Mue використовує пошукову систему, встановлену за замовчуванням у вашому браузері. Ви можете змінити її в налаштуваннях Chrome."},"weather":{"title":"Погода","location":"Місцезнаходження","auto":"Auto","widget_type":"Тип віджету","temp_format":{"title":"Формат температури","celsius":"Цельсії","fahrenheit":"Фаренгейт","kelvin":"Кельвін"},"extra_info":{"title":"Extra information","show_location":"Показати розташування","show_description":"Показати опис","weather_description":"Опис погоди","cloudiness":"Хмарність","humidity":"Вологість","visibility":"Видимість","wind_speed":"Швидкість вітру","wind_direction":"Напрямок вітру","min_temp":"Мінімальна температура","max_temp":"Максимальна температура","atmospheric_pressure":"Атмосферний тиск"},"options":{"basic":"Базовий","standard":"Стандартний","expanded":"Розширений","custom":"Свій"},"custom_settings":"Користувацькі налаштування"},"quicklinks":{"title":"Швидкі посилання","additional":"Додаткові налаштування відображення швидких посилань і функцій","open_new":"Відкрити в новій вкладці","tooltip":"Спливаюча підказка","text_only":"Показувати тільки текст","add_link":"Додати посилання","no_quicklinks":"Немає швидких посилань","edit":"Редагувати","style":"Стиль","options":{"icon":"Іконка","text_only":"Тільки текст","metro":"Метро"},"styling":"Стиль швидких посилань","styling_description":"Налаштувати зовнішній вигляд швидких посилань"},"message":{"title":"Message","add":"Add message","messages":"Повідомлення","text":"Текст","no_messages":"Немає повідомлень","add_some":"Йдемо далі і додайте ще.","content":"Зміст повідомлення"},"appearance":{"title":"Оформлення","style":{"title":"Стиль віджетів","description":"Обирайте між двома стилями: застарілим (доступний для користувачів попередніх версій 7.0) та наш стильний і сучасний стиль.","legacy":"Застаріле","new":"Новий"},"theme":{"title":"Theme","description":"Змінити тему віджетів і модальних вікон Mue","auto":"Автоматично","light":"Світла","dark":"Темна"},"navbar":{"title":"Навігаційна панель","widgets":"Віджети навігаційної панелі","notes":"Примітки","refresh":"Оновити","refresh_subtitle":"Виберіть, що буде оновлюватися, коли ви натискаєте кнопку \\"Оновити\\"","hover":"Відображення тільки при наведенні","additional":"Налаштуйте стиль навігаційної панелі та кнопки, які ви хочете відображати","refresh_options":{"none":"None","page":"Сторінка"},"apps_subtitle":"Створіть ярлик для інших сайтів, які ви часто використовуєте."},"font":{"title":"Шрифт","description":"Змінити шрифт, який використовується у Mue","custom":"Користувацький шрифт","google":"Імпорт з Google Fonts","weight":{"title":"Товщина шрифту","thin":"Тонкий","extra_light":"Дуже тонкий","light":"Світло","normal":"Нормальний","medium":"Medium","semi_bold":"Напівжирний","bold":"Жирний","extra_bold":"Дуже жирний"},"style":{"title":"Стиль шрифту","normal":"Normal","italic":"Italic","oblique":"Курсив"}},"accessibility":{"title":"Доступність","description":"Налаштування спеціальних можливостей для Mue","animations":"Анімації","text_shadow":{"title":"Тінь тексту віджета","new":"Новий","old":"Старий","none":"None"},"widget_zoom":"Widget Zoom","toast_duration":"Тривалість підказки","milliseconds":"мілісекунди"}},"order":{"title":"Порядок віджетів"},"advanced":{"title":"Додатково","offline_mode":"Офлайн режим","offline_subtitle":"Якщо ввімкнено, всі запити до онлайн-сервісів будуть вимкнені.","data":"Data","data_description":"Виберіть, чи потрібно експортувати налаштування Mue на комп'ютер, імпортувати існуючий файл налаштувань або скинути налаштування до значень за замовчуванням","data_subtitle":"Керуйте своїми даними на Mue.","reset_modal":{"title":"ПОПЕРЕДЖЕННЯ","question":"Ви хочете скинути Mue?","information":"Це призведе до видалення всіх даних. Якщо ви хочете зберегти свої дані та налаштування, будь ласка, спочатку експортуйте їх.","cancel":"Скасувати"},"customisation":"Кастомізація","custom_css":"Користувацький CSS","custom_css_subtitle":"Налаштуйте стиль Mue під себе за допомогою каскадних таблиць стилів (CSS).","custom_js":"Користувацький JS","tab_name":"Назва вкладки","tab_name_subtitle":"Змініть назву вкладки, яка з'являється у вашому браузері","timezone":{"title":"Часовий пояс","subtitle":"Виберіть часовий пояс зі списку замість автоматично встановленого на вашому комп'ютері","automatic":"Автоматичний"},"experimental_warning":"Зверніть увагу, що команда Mue не зможе надати підтримку, якщо у вас увімкнено експериментальний режим. Будь ласка, спочатку вимкніть його і перевірте, чи проблема не зникне, перш ніж звертатися до служби підтримки.","preview_data_disabled":{"title":"Налаштування даних вимкнено","description":"Налаштування даних вимкнено в режимі попереднього перегляду. Вийдіть із режиму попереднього перегляду, щоб скористатися цією функцією."}},"stats":{"title":"Статистика","sections":{"tabs_opened":"Відкриті вкладки","backgrounds_favourited":"Улюблені фони","backgrounds_downloaded":"Завантажені фони","quotes_favourited":"Улюблені цитати","quicklinks_added":"Додано швидкі посилання","settings_changed":"Змінено налаштування","addons_installed":"Встановлені доповнення"},"usage":"Статистика використання","achievements":"Досягнення","achievement_unlocked":"Досягнення розблоковано:{name}","unlocked":"{count} Розблоковано","locked":"Закрито","clear_modal":{"question":"Ви хочете очистити свою статистику?","information":"Це очистить усі досягнення та статистику використання."}},"experimental":{"title":"Експериментальний","warning":"Ці налаштування не були повністю протестовані/реалізовані і можуть працювати некоректно!","developer":"Developer"},"language":{"title":"Мова","quote":"Мова цитат","search":"Search languages...","current":"Current","use_system":"Use system language","locale_formatting":"Format numbers for your language"},"changelog":{"title":"Журнал змін","by":"Автор {author}"},"about":{"title":"О нас","version":{"title":"Версія","checking_update":"Перевірка наявності оновлень","update_available":"Доступне оновлення","no_update":"Оновлення не доступне","offline_mode":"Не вдається перевірити наявність оновлень в автономному режимі","error":{"title":"Не вдалося отримати інформацію про оновлення","description":"Виникла помилка"}},"contact_us":"Зв'яжіться з нами","support_mue":"Підтримайте Mue","support_subtitle":"Оскільки Mue є повністю безкоштовним, ми покладаємося на пожертви, щоб покрити рахунки за сервер і фінансувати розробку","support_donate":"Пожертвувати","form_button":"Форма","resources_used":{"title":"Використані ресурси","bg_images":"Офлайн фонові зображення"},"contributors":"Учасники","supporters":"Підтримка","no_supporters":"Наразі підтримки Муе немає","photographers":"Фотографи","curators":"Творці доповнень"}},"buttons":{"reset":"Скинути","import":"Імпорт","export":"Експорт","cancel":"Cancel","continue":"Continue","close":"Close"}},"marketplace":{"title":"Marketplace","by":"від {author}","all":"Усе","learn_more":"Дізнатися більше","photo_packs":"Набори фото","quote_packs":"Набори цитат","preset_settings":"Пресети налаштувань","no_items":"У цій категорії немає елементів","collection":"Колекція","explore_collection":"Дослідити колекцію","add_all":"Додати все до Муе","collections":"Колекції","cant_find":"Не можете знайти те, що шукаєте?","knowledgebase_one":"Завітайте на сторінку","knowledgebase_two":"база знань","knowledgebase_three":"щоб створити свій власний.","installing":"Встановлення","product":{"overview":"Огляд","information":"Інформація","last_updated":"Останнє оновлення","description":"Опис","details":"Деталі","more_from_curator":"Більше схоже на це від {name}","show_more":"Показати більше","show_less":"Показати менше","show_all":"Показати всі","showing":"Показати","no_images":"Ні. Зображення","no_quotes":"Ні. Цитати","version":"Версія","created_by":"Створено","updated_at":"Оновлено на","part_of":"Частина","explore":"Дослідити","buttons":{"addtomue":"Додати до","remove":"Видалити","update_addon":"Оновлення доповнення","back":"Назад","report":"Звіт","not_available_preview":"Недоступно в режимі попереднього перегляду"},"not_in_language":"Це доповнення недоступне вашою мовою","third_party_api":"Це доповнення використовує сторонній API","sideload_warning":"Це доповнення було завантажено збоку.","setting":"Налаштування'","value":"Значення"},"offline":{"title":"Схоже, ти не в мережі","description":"Будь ласка, підключіться до Інтернету"}},"addons":{"added":"Додано","check_updates":"Перевірте наявність оновлень","no_updates":"Оновлення не доступні","updates_available":"Доступні оновлення {amount}","empty":{"title":"Порожньо","description":"Аддони не встановлені"},"sideload":{"title":"Додаткове завантаження","description":"Встановіть аддон Mue, якого немає на маркетплейсі, зі свого комп'ютера","failed":"Не вдалося підвантажити аддон","errors":{"no_name":"Ім'я не вказано","no_author":"Автор не вказаний","no_type":"Тип не вказано","invalid_photos":"Об'єкт з недійсними фотографіями","invalid_quotes":"Неправильний об'єкт лапок"}},"sort":{"title":"Сортування","newest":"Встановлені (найновіші)","a_z":"За алфавітом (A-Z)","recently_updated":"Recently Updated"},"create":{"title":"Створити","moved_title":"Створення доповнення переїхало!","moved_description":"Після оновлення 7.1 створення аддонів було перенесено у веб-інтерфейс","moved_button":"Незабаром...."}}},"update":{"title":"Оновлення","offline":{"title":"Офлайн","description":"Неможливо отримати журнали оновлень в автономному режимі"},"error":{"title":"Помилка","description":"Не вдалося підключитися до сервера"}},"welcome":{"tip":"Коротка порада","sections":{"intro":{"title":"Ласкаво просимо до Mue Tab","description":"Дякуємо, що встановили Mue, сподіваємося, вам сподобається наше розширення.","notices":{"discord_title":"Приєднуйтесь до нашого Discord","discord_description":"Поспілкуйтеся зі спільнотою та розробниками Mue","discord_join":"Приєднатися","github_title":"Зробіть свій внесок на GitHub","github_description":"Повідомляйте про помилки, додавайте функції або зробіть пожертву","github_open":"Відкрито"}},"language":{"title":"Виберіть свою мову","description":"Mue може відображатися мовами, переліченими нижче. Ви також можете додавати нові переклади на нашій сторінці"},"theme":{"title":"Виберіть тему","description":"Mue доступний як у світлій, так і у темній темах, або може бути автоматично встановлений залежно від теми вашої системи.","tip":"За допомогою налаштувань Авто буде використано тему, встановлену на вашому комп'ютері. Цей параметр впливає на модальності і деякі віджети, що відображаються на екрані, такі як погода і нотатки."},"style":{"title":"Виберіть стиль","description":"Наразі Mue пропонує вибір між старим дизайном та нещодавно випущеним сучасним дизайном.","legacy":"Спадщина","modern":"Сучасний"},"settings":{"title":"Налаштування імпорту","description":"Встановлюєте Mue на новий пристрій? Не соромтеся імпортувати свої старі налаштування!","tip":"Ви можете експортувати свої старі налаштування, перейшовши на вкладку \\"Додатково\\" у вашому старому налаштуванні Mue. Потім вам потрібно натиснути кнопку експорту, яка завантажить JSON-файл. Ви можете завантажити цей файл сюди, щоб перенести ваші налаштування та уподобання з попередньої інсталяції Mue."},"privacy":{"title":"Параметри конфіденційності","description":"Увімкніть налаштування для додаткового захисту вашої конфіденційності за допомогою Mue.","offline_mode_description":"Увімкнення офлайн-режиму вимкне всі запити до будь-яких сервісів. Це призведе до вимкнення онлайн-фону, онлайн-котирувань, біржі, погоди, швидких посилань, журналу змін та деякої інформації про вкладки.","links":{"title":"Посилання","privacy_policy":"Політика конфіденційності","source_code":"Вихідний код"}},"final":{"title":"Останній крок","description":"Ваш досвід роботи з Mue Tab ось-ось почнеться.","changes":"Зміни","changes_description":"Щоб змінити налаштування пізніше, натисніть на іконку налаштувань у верхньому правому куті вкладки.","imported":"Імпортовані налаштування {amount}"}},"buttons":{"next":"Далі","preview":"Попередній перегляд","previous":"Попередні","close":"Закрити","finish":"Фініш"},"preview":{"description":"Наразі ви перебуваєте в режимі попереднього перегляду. Після закриття цієї вкладки налаштування буде скинуто.","continue":"Продовжити налаштування"}},"share":{"copy_link":"Скопіювати посилання","email":"Електронна пошта"}}`),RM={quote:"Скопійовані квоти",notes:"Нотатки скопійовано",reset:"Скидання успішно виконано",installed:"Успішно встановлено",uninstalled:"Успішно видалено",updated:"Успішно оновлено",error:"Щось пішло не так",imported:"Успішно імпортовано",no_storage:"Недостатньо місця для зберігання",link_copied:"Посилання скопійовано",stats_reset:"Статистику скинуто"},kb={tabname:DM,widgets:OM,modals:qM,toasts:RM},BM="Tab mới",LM={greeting:{morning:"Chào buổi sáng",afternoon:"Chào buổi chiều",evening:"Chào buổi tối",christmas:"Merry Christmas",newyear:"Happy New Year",halloween:"Happy Halloween",birthday:"Happy Birthday"},background:{credit:"Photo by",unsplash:"on Unsplash",information:"Information",download:"Download",downloads:"Downloads",views:"Views",likes:"Likes",location:"Location",camera:"Camera",resolution:"Resolution",source:"Source",category:"Category",exclude:"Don't show again",exclude_confirm:`Are you sure you don't want to see this image again?Note: if you don't like "{category}" images, you can deselect the category in the background source settings.`,confirm:"Confirm"},search:"Search",quicklinks:{new:"New Link",edit:"Edit Link",name:"Name",url:"URL",icon:"Icon (optional)",add:"Add",name_error:"Must provide name",url_error:"Must provide URL"},date:{week:"Week"},weather:{not_found:"Not Found",meters:"{amount} metres",extra_information:"Extra Information",feels_like:"Feels like {amount}"},quote:{link_tooltip:"Open on Wikipedia",share:"Share",copy:"Copy",favourite:"Favourite",unfavourite:"Unfavourite"},navbar:{tooltips:{refresh:"Refresh"},notes:{title:"Notes",placeholder:"Type here"},todo:{title:"Todo",pin:"Pin",add:"Add",no_todos:"No Todos"},apps:{title:"Apps",no_apps:"No app links found"}}},IM=JSON.parse(`{"main":{"title":"Options","loading":"Loading...","file_upload_error":"File is over 2MB","navbar":{"settings":"Settings","library":"Library","discover":"Discover"},"error_boundary":{"title":"Error","message":"Failed to load this component of Mue","report_error":"Send Error Report","sent":"Sent!","refresh":"Refresh"},"settings":{"enabled":"Enabled","open_knowledgebase":"Open Knowledgebase","additional_settings":"Additional Settings","reminder":{"title":"NOTICE","message":"In order for all of the changes to take place, the page must be refreshed."},"sections":{"header":{"more_info":"More info","report_issue":"Report Issue","enabled":"Choose whether or not to show this widget","size":"Slider to control how large the widget is"},"time":{"title":"Time","format":"Format","type":"Type","type_subtitle":"Choose whether to display the time in digital format, analogue format, or a percentage completion of the day","digital":{"title":"Digital","subtitle":"Change how the digital clock looks","seconds":"Seconds","twentyfourhour":"24 Hour","twelvehour":"12 hour","zero":"Zero-padded"},"analogue":{"title":"Analogue","subtitle":"Change how the analogue clock looks","second_hand":"Seconds hand","minute_hand":"Minutes hand","hour_hand":"Hours hand","hour_marks":"Hour marks","minute_marks":"Minute marks","round_clock":"Rounded background"},"percentage_complete":"Percentage complete","vertical_clock":{"title":"Vertical Clock","change_hour_colour":"Change hour text colour","change_minute_colour":"Change minute text colour","change_second_colour":"Change second text colour"}},"date":{"title":"Date","week_number":"Week number","day_of_week":"Day of week","datenth":"Date nth","type":{"short":"Short","long":"Long","subtitle":"Whether to display the date in long form or short form"},"type_settings":"Display settings and format for the selected date type","short_date":"Short date","short_format":"Short format","long_format":"Long format","short_separator":{"title":"Short separator","dots":"Dots","dash":"Dash","gaps":"Gaps","slashes":"Slashes"}},"quote":{"title":"Quote","additional":"Other settings to customise the style of the quote widget","author_link":"Author link","author_details":"Author details","custom":"Custom quote","custom_subtitle":"Set your own custom quotes","no_quotes":"No quotes","author":"Author","custom_buttons":"Buttons","custom_author":"Custom author","author_img":"Show author image","add":"Add quote","source_subtitle":"Choose where to get quotes from","buttons":{"title":"Buttons","subtitle":"Choose which buttons to show on the quote","copy":"Copy","tweet":"Tweet","favourite":"Favourite"}},"greeting":{"title":"Greeting","events":{"0":"E","1":"v","2":"e","3":"n","4":"t","5":"s","title":"Events"},"events_description":"Control events on Mue such as birthdays.","enable_events":"Show messages on special days","default":"Default greeting message","name":"Name for greeting","birthday":"Birthday","birthday_subtitle":"Show a Happy Birthday message when it is your birthday","birthday_age":"Birthday age","birthday_date":"Birthday date","additional":"Settings for the greeting display","custom":"Custom events","event_name":"Event Name","day":"Day","month":"Month","no_events":"No Events","no_events_description":"Add Some Events","add_event":"Add Event"},"background":{"title":"Background","transition":"Fade-in transition","photo_information":"Show photo information","show_map":"Show location map on photo information if available","categories":"Categories","buttons":{"title":"Buttons","view":"Maximise","favourite":"Favourite","download":"Download"},"effects":{"title":"Effects","subtitle":"Add effects to the background images","blur":"Adjust blur","brightness":"Adjust brightness","filters":{"title":"Background filter","amount":"Filter amount","grayscale":"Grayscale","sepia":"Sepia","invert":"Invert","saturate":"Saturate","contrast":"Contrast"}},"type":{"title":"Type","api":"API","custom_image":"Custom image","custom_colour":"Custom colour/gradient","random_colour":"Random colour","random_gradient":"Random gradient"},"unsplash":{"title":"Unsplash Collection(s)","subtitle":"Select the collection(s) you want to use for your background","id":"Collection ID(s)","id_subtitle":"Enter a comma separated list of Unsplash IDs"},"source":{"title":"Source","subtitle":"Select where to get background images from","api":"Background API","custom_background":"Custom background","custom_colour":"Custom background colour","upload":"Upload","add_colour":"Add colour","add_background":"Add background","drop_to_upload":"Drop to upload","formats":"Available formats: {list}","select":"Or Select","add_url":"Add URL","disabled":"Disabled","loop_video":"Loop video","mute_video":"Mute video","quality":{"title":"Quality","original":"Original","high":"High Quality","normal":"Normal Quality","datasaver":"Data Saver"},"custom_title":"Custom Images","custom_description":"Select images from your local computer","remove":"Remove Image","delete_selected":"Delete {count} Selected","uploading":"Uploading {current} of {total}...","images":"images","tag_images":"Tag Images","tag_description":"Add {count} images to a folder (optional)","folder_name":"Folder Name","folder_placeholder":"Leave empty for no folder","storage_info":"Storage Information","storage_description":"Mue uses browser storage to save your custom images. The current limit is approximately 4.85MB for all settings and images combined.","storage_current":"Current usage: {used} of {total} ({percent}%)","sort":{"date_newest":"Date Added (Newest)","date_oldest":"Date Added (Oldest)","name_asc":"Name (A-Z)","name_desc":"Name (Z-A)","size_small":"File Size (Smallest)","size_large":"File Size (Largest)"}},"display":"Display","display_subtitle":"Change how background and photo information are loaded","api":"API Settings","api_subtitle":"Options for getting an image from an external service (API)"},"search":{"title":"Search","additional":"Additional options for search widget display and functionality","search_engine":"Search Engine","search_engine_subtitle":"Choose search engine to use in the search bar","custom":"Custom Search URL","autocomplete":"Autocomplete","autocomplete_provider":"Autocomplete Provider","autocomplete_provider_subtitle":"Search engine to use for autocomplete dropdown results","voice_search":"Voice search","dropdown":"Search Dropdown","focus":"Focus on tab open","chrome_policy_warning":"In version 7.2, the ability to choose your search engine within Mue was removed to comply with new Chrome Web Store guidelines. Mue now uses your browser's default search engine. You can change this in Chrome Settings."},"weather":{"title":"Weather","location":"Location","auto":"Auto","widget_type":"Widget Type","temp_format":{"title":"Temperature format","celsius":"Celsius","fahrenheit":"Fahrenheit","kelvin":"Kelvin"},"extra_info":{"title":"Extra information","show_location":"Show location","show_description":"Show description","weather_description":"Weather description","cloudiness":"Cloudiness","humidity":"Humidity","visibility":"Visibility","wind_speed":"Wind speed","wind_direction":"Wind direction","min_temp":"Minimum temperature","max_temp":"Maximum temperature","atmospheric_pressure":"Atmospheric pressure"},"options":{"basic":"Basic","standard":"Standard","expanded":"Expanded","custom":"Custom"},"custom_settings":"Custom Settings"},"quicklinks":{"title":"Quick Links","additional":"Additional settings for quick links display and functions","open_new":"Open in new tab","tooltip":"Tooltip","text_only":"Show text only","add_link":"Add Link","no_quicklinks":"No quick links","edit":"Edit","style":"Style","options":{"icon":"Icon","text_only":"Text Only","metro":"Metro"},"styling":"Styling","styling_description":"Customise Quick Links appearance"},"message":{"title":"Message","add":"Add message","messages":"Messages","text":"Text","no_messages":"No messages","add_some":"Go ahead and add some.","content":"Message Content"},"appearance":{"title":"Appearance","style":{"title":"Widget Style","description":"Choose between the two styles, legacy (enabled for pre 7.0 users) and our slick modern styling.","legacy":"Legacy","new":"New"},"theme":{"title":"Theme","description":"Change the theme of the Mue widgets and modals","auto":"Auto","light":"Light","dark":"Dark"},"navbar":{"title":"Navbar","widgets":"Navbar Widgets","notes":"Notes","refresh":"Refresh","refresh_subtitle":"Choose what is refreshed when you click the refresh button","hover":"Only display on hover","additional":"Modify navbar style and which buttons you want to display","refresh_options":{"none":"None","page":"Page"},"apps_subtitle":"Create a shortcut of your other commonly used websites."},"font":{"title":"Font","description":"Change the font used in Mue","custom":"Custom font","google":"Import from Google Fonts","weight":{"title":"Font weight","thin":"Thin","extra_light":"Extra Light","light":"Light","normal":"Normal","medium":"Medium","semi_bold":"Semi-Bold","bold":"Bold","extra_bold":"Extra-Bold"},"style":{"title":"Font style","normal":"Normal","italic":"Italic","oblique":"Oblique"}},"accessibility":{"title":"Accessibility","description":"Make Mue comfortable and accessible","animations":"Animations","text_shadow":{"title":"Widget text shadow","new":"New","old":"Old","none":"None"},"widget_zoom":"Widget Zoom","toast_duration":"Toast Duration","milliseconds":"milliseconds"}},"order":{"title":"Widget Order"},"advanced":{"title":"Advanced","offline_mode":"Offline mode","offline_subtitle":"When enabled, all requests to online services will be disabled.","data":"Data","data_description":"Choose whether to export your Mue settings to your computer, import an existing settings file, or reset your settings to their default values","data_subtitle":"Manage your data on Mue.","reset_modal":{"title":"WARNING","question":"Do you want to reset Mue?","information":"This will delete all data. If you wish to keep your data and preferences, please export them first.","cancel":"Cancel"},"customisation":"Customisation","custom_css":"Custom CSS","custom_css_subtitle":"Make Mue's styling customised to you with Cascading Style Sheets (CSS).","custom_js":"Custom JS","tab_name":"Tab name","tab_name_subtitle":"Change the name of the tab that appears in your browser","timezone":{"title":"Time Zone","subtitle":"Choose a timezone from the list instead of the automatic default from your computer","automatic":"Automatic"},"experimental_warning":"Please note that the Mue team cannot provide support if you have experimental mode on. Please disable it first and see if the issue continues to occur before contacting support.","preview_data_disabled":{"title":"Data Settings Disabled","description":"Data settings are disabled in preview mode. Please exit preview mode to use this feature."}},"stats":{"title":"Stats","sections":{"tabs_opened":"Tabs opened","backgrounds_favourited":"Backgrounds favourited","backgrounds_downloaded":"Backgrounds downloaded","quotes_favourited":"Quotes favourited","quicklinks_added":"Quicklinks added","settings_changed":"Settings changed","addons_installed":"Add-ons installed"},"usage":"Usage Stats","achievements":"Achievements","achievement_unlocked":"Achievement Unlocked: {name}","unlocked":"{count} Unlocked","locked":"Locked","clear_modal":{"question":"Do you want to clear your stats?","information":"This will clear all achievements and usage statistics."}},"experimental":{"title":"Experimental","warning":"These settings have not been fully tested/implemented and may not work correctly!","developer":"Developer"},"language":{"title":"Language","quote":"Quote language","search":"Search languages...","current":"Current","use_system":"Use system language","locale_formatting":"Format numbers for your language"},"changelog":{"title":"Change Log","by":"By {author}"},"about":{"title":"About","version":{"title":"Version","checking_update":"Checking for update","update_available":"Update available","no_update":"No update available","offline_mode":"Cannot check for update in offline mode","error":{"title":"Failed to get update information","description":"An error occured"}},"contact_us":"Contact Us","support_mue":"Support Mue","support_subtitle":"As Mue is entirely free, we rely on donations to cover the server bills and fund development","support_donate":"Donate","form_button":"Form","resources_used":{"title":"Resources used","bg_images":"Offline background images"},"contributors":"Contributors","supporters":"Supporters","no_supporters":"There are currently no Mue supporters","photographers":"Photographers","curators":"Add-on creators"}},"buttons":{"reset":"Reset","import":"Import","export":"Export","cancel":"Cancel","continue":"Continue","close":"Close"}},"marketplace":{"title":"Marketplace","by":"by {author}","all":"All","learn_more":"Learn More","photo_packs":"Photo Packs","quote_packs":"Quote Packs","preset_settings":"Preset Settings","no_items":"No items in this category","collection":"Collection","explore_collection":"Explore Collection","add_all":"Add All To Mue","collections":"Collections","cant_find":"Can't find what you're looking for?","knowledgebase_one":"Visit the","knowledgebase_two":"knowledgebase","knowledgebase_three":"to create your own.","installing":"Installing","product":{"overview":"Overview","information":"Information","last_updated":"Last Updated","description":"Description","details":"Details","more_from_curator":"More like this from {name}","show_more":"Show More","show_less":"Show Less","show_all":"Show All","showing":"Showing","no_images":"No. Images","no_quotes":"No. Quotes","version":"Version","created_by":"Created by","updated_at":"Updated on","part_of":"Part of","explore":"Explore","buttons":{"addtomue":"Add To","remove":"Remove","update_addon":"Update Add-on","back":"Back","report":"Report","not_available_preview":"Unavailable on Preview"},"not_in_language":"This add-on is not in your language","third_party_api":"This add-on uses a third-party API","sideload_warning":"This add-on has been sideloaded.","setting":"Setting","value":"Value"},"offline":{"title":"Looks like you're offline","description":"Please connect to the internet"}},"addons":{"added":"Added","check_updates":"Check for updates","no_updates":"No updates available","updates_available":"Updates available {amount}","empty":{"title":"Empty","description":"No addons are installed"},"sideload":{"title":"Sideload","description":"Install a Mue addon not on the marketplace from your computer","failed":"Failed to sideload addon","errors":{"no_name":"No name provided","no_author":"No author provided","no_type":"No type provided","invalid_photos":"Invalid photos object","invalid_quotes":"Invalid quotes object"}},"sort":{"title":"Sort","newest":"Installed (Newest)","a_z":"Alphabetical (A-Z)","recently_updated":"Recently Updated"},"create":{"title":"Create","moved_title":"Create add-on has moved!","moved_description":"Following the 7.1 update, the creation of addons has now moved to the web UI","moved_button":"Coming Soon...."}}},"update":{"title":"Update","offline":{"title":"Offline","description":"Cannot get update logs while in offline mode"},"error":{"title":"Error","description":"Could not connect to the server"}},"welcome":{"tip":"Quick Tip","sections":{"intro":{"title":"Welcome to Mue Tab","description":"Thank you for installing Mue, we hope you enjoy your time with our extension.","notices":{"discord_title":"Join our Discord","discord_description":"Talk with the Mue community and developers","discord_join":"Join","github_title":"Contribute on GitHub","github_description":"Report bugs, add features or donate","github_open":"Open"}},"language":{"title":"Choose your language","description":"Mue can be displayed the languages listed below. You can also add new translations on our"},"theme":{"title":"Select a theme","description":"Mue is available in both light and dark theme, or this can be automatically set depending on your system theme.","tip":"Using the Auto settings will use the theme on your computer. This setting will impact the modals and some of the widgets displayed on the screen, such as weather and notes."},"style":{"title":"Choose a style","description":"Mue currently offers the choice between the legacy styling and the newly released modern styling.","legacy":"Legacy","modern":"Modern"},"settings":{"title":"Import Settings","description":"Installing Mue on a new device? Feel free to import your old settings!","tip":"You can export your old settings by navigating to the Advanced tab in your old Mue setup. Then you need to click the export button which will download the JSON file. You can upload this file here to carry across your settings and preferences from your previous Mue installation."},"privacy":{"title":"Privacy Options","description":"Enable settings to further protect your privacy with Mue.","offline_mode_description":"Enabling offline mode will disable all requests to any service. This will result in online backgrounds, online quotes, marketplace, weather, quick links, change log and some about tab information to be disabled.","links":{"title":"Links","privacy_policy":"Privacy Policy","source_code":"Source Code"}},"final":{"title":"Final step","description":"Your Mue Tab experience is about to begin.","changes":"Changes","changes_description":"To change settings later click on the settings icon in the top right corner of your tab.","imported":"Imported {amount} settings"}},"buttons":{"next":"Next","preview":"Preview","previous":"Previous","close":"Close","finish":"Finish"},"preview":{"description":"You are currently in preview mode. Settings will be reset on closing this tab.","continue":"Continue setup"}},"share":{"copy_link":"Copy link","email":"Email"}}`),UM={quote:"Quote copied",notes:"Notes copied",reset:"Reset successfully",installed:"Successfully installed",uninstalled:"Successfully removed",updated:"Successfully updated",error:"Something went wrong",imported:"Successfully imported",no_storage:"Not enough storage",link_copied:"Link copied",stats_reset:"Stats reset"},wb={tabname:BM,widgets:LM,modals:IM,toasts:UM},PM="新标签页",HM={greeting:{morning:"早上好",afternoon:"下午好",evening:"晚上好",christmas:"圣诞节快乐",newyear:"新年快乐",halloween:"万圣节快乐",birthday:"生日快乐"},background:{credit:"图像作者:",unsplash:"@ Unsplash",information:"信息",download:"下载",downloads:"下载",views:"风景",likes:"喜爱",location:"地点",camera:"摄影",resolution:"分辨率",source:"来源",category:"分类",exclude:"不再显示",exclude_confirm:`您确定不希望看到这张照片吗?值得注意的是,如果你不喜欢 "{category}" 图片, 你可以在背景的来源设置中取消选择。`,confirm:"确认"},search:"搜索",quicklinks:{new:"新快捷方式",edit:"编辑链接",name:"名称",url:"链接",icon:"图标 (可选)",add:"添加",name_error:"请输入名称",url_error:"请输入链接"},date:{week:"周"},weather:{not_found:"未找到",meters:"{amount}米",extra_information:"更多信息",feels_like:"体感温度 {amount}"},quote:{link_tooltip:"在维基百科中打开",share:"分享",copy:"复制",favourite:"收藏",unfavourite:"不感兴趣"},navbar:{tooltips:{refresh:"刷新"},notes:{title:"便签",placeholder:"请键入内容"},todo:{title:"计划任务",pin:"固定",add:"添加",no_todos:"未找到任务"},apps:{title:"应用",no_apps:"未找到应用链接"}}},FM=JSON.parse(`{"main":{"title":"选项","loading":"载入中...","file_upload_error":"大小超过了 2MB","navbar":{"settings":"设置","library":"我的插件","discover":"插件市场"},"error_boundary":{"title":"错误","message":"无法载入该Mue组件","report_error":"发送错误报告","sent":"已发送!","refresh":"刷新"},"settings":{"enabled":"已启用","open_knowledgebase":"打开知识库","additional_settings":"更多设置","reminder":{"title":"注意","message":"刷新页面后设置才会生效"},"sections":{"header":{"more_info":"更多信息","report_issue":"报告 Issue","enabled":"选择是否显示此小部件","size":"滑动以控制该小部件的大小"},"time":{"title":"时间","format":"格式","type":"类型","type_subtitle":"选择时间显示类型(数字、模拟或百分比)","digital":{"title":"数字时钟","subtitle":"选择数字时钟的样式","seconds":"显示秒","twentyfourhour":"使用 24 小时制","twelvehour":"使用 12 小时制","zero":"加零补足两位数字"},"analogue":{"title":"模拟时钟","subtitle":"选择模拟时钟的样式","second_hand":"秒针","minute_hand":"分针","hour_hand":"时针","hour_marks":"时钟刻度","minute_marks":"分钟刻度","round_clock":"Rounded background"},"percentage_complete":"今天过去了%几","vertical_clock":{"title":"垂直时钟","change_hour_colour":"选择小时数颜色","change_minute_colour":"选择分钟数颜色","change_second_colour":"选择秒钟数颜色"}},"date":{"title":"显示日期","week_number":"第n周","day_of_week":"星期n","datenth":"添加th后缀","type":{"short":"短格式","long":"长格式","subtitle":"选择日期显示格式(短格式或长格式)"},"type_settings":"所选日期类型的显示设置和格式","short_date":"简写日期","short_format":"简写格式","long_format":"长格式","short_separator":{"title":"简写分隔","dots":"点","dash":"横杠","gaps":"空格","slashes":"斜杠"}},"quote":{"title":"名言警句","additional":"名言警句小部件的其他设置","author_link":"出处链接","author_details":"作者详情","custom":"自定义名言","custom_subtitle":"自定义名言","no_quotes":"没有名言","author":"作者","custom_buttons":"按钮","custom_author":"自定义出处","author_img":"显示作者图片","add":"继续添加名言","source_subtitle":"选择名言来源","buttons":{"title":"下方按钮","subtitle":"选择名言下显示的按钮","copy":"显示复制按钮","tweet":"显示发推按钮","favourite":"显示收藏按钮"}},"greeting":{"title":"问候","events":"节日问候","events_description":"设定 Mue 上的时间,如生日","enable_events":"在特定的事件显示节日问候","default":"常规问候","name":"您在问候中的名字","birthday":"生日","birthday_subtitle":"在您的生日时祝您生日快了","birthday_age":"显示年龄","birthday_date":"生日日期","additional":"设置显示的问候","custom":"自定义事件","event_name":"时间名","day":"日","month":"月","no_events":"没有事件","no_events_description":"试着添加一些事件","add_event":"添加事件"},"background":{"title":"背景","transition":"过渡动画","photo_information":"显示图片信息","show_map":"在图片信息内显示位置信息 (如果可用)","categories":"分类","buttons":{"title":"显示顶部按钮","view":"仅显示背景","favourite":"收藏","download":"下载"},"effects":{"title":"背景特效","subtitle":"为背景图片添加特效","blur":"模糊程度","brightness":"更改亮度","filters":{"title":"背景滤镜","amount":"数值","grayscale":"灰度","sepia":"相片","invert":"反色","saturate":"饱和度","contrast":"对比度"}},"type":{"title":"来源","api":"网络图像库API","custom_image":"自定义图像/视频","custom_colour":"自定义纯色背景","random_colour":"随机纯色背景","random_gradient":"随机渐变色背景"},"unsplash":{"title":"Unsplash 分类(s)","subtitle":"选择背景的分类","id":"分类 ID","id_subtitle":"输入 Unsplash 分类 ID,以英文逗号分隔"},"source":{"title":"来源","subtitle":"选择背景图片来与那","api":"背景来源","custom_background":"自定义背景 (支持图片/视频)","custom_colour":"自定义背景颜色","upload":"选择","add_colour":"添加颜色","add_background":"继续添加背景","drop_to_upload":"拖拽到此处上传","formats":"支持的格式: {list}","select":"或者选择文件","add_url":"添加 URL","disabled":"已禁用","loop_video":"循环播放","mute_video":"静音","quality":{"title":"画质","original":"原画","high":"高画质","normal":"普通画质","datasaver":"省流模式"},"custom_title":"自定义图片","custom_description":"从你的计算机本地选择图片","remove":"删除图片","delete_selected":"Delete {count} Selected","uploading":"Uploading {current} of {total}...","images":"images","tag_images":"Tag Images","tag_description":"Add {count} images to a folder (optional)","folder_name":"Folder Name","folder_placeholder":"Leave empty for no folder","storage_info":"Storage Information","storage_description":"Mue uses browser storage to save your custom images. The current limit is approximately 4.85MB for all settings and images combined.","storage_current":"Current usage: {used} of {total} ({percent}%)","sort":{"date_newest":"Date Added (Newest)","date_oldest":"Date Added (Oldest)","name_asc":"Name (A-Z)","name_desc":"Name (Z-A)","size_small":"File Size (Smallest)","size_large":"File Size (Largest)"}},"display":"显示","display_subtitle":"Change how background and photo information are loaded","api":"API Settings","api_subtitle":"Options for getting an image from an external service (API)"},"search":{"title":"搜索栏","additional":"Additional options for search widget display and functionality","search_engine":"搜索引擎","search_engine_subtitle":"Choose search engine to use in the search bar","custom":"自定义搜索链接","autocomplete":"搜索联想","autocomplete_provider":"联想功能提供引擎","autocomplete_provider_subtitle":"Search engine to use for autocomplete dropdown results","voice_search":"语音搜索","dropdown":"搜索框左侧显示搜索引擎选择框","focus":"Focus on tab open","chrome_policy_warning":"In version 7.2, the ability to choose your search engine within Mue was removed to comply with new Chrome Web Store guidelines. Mue now uses your browser's default search engine. You can change this in Chrome Settings."},"weather":{"title":"天气","location":"位置","auto":"自动定位","widget_type":"Widget Type","temp_format":{"title":"温度单位","celsius":"摄氏度","fahrenheit":"华氏度","kelvin":"开尔文"},"extra_info":{"title":"更多信息","show_location":"显示位置","show_description":"显示描述","weather_description":"Weather description","cloudiness":"云量","humidity":"湿度","visibility":"能见度","wind_speed":"风速","wind_direction":"风向","min_temp":"最低温度","max_temp":"最高温度","atmospheric_pressure":"大气压"},"options":{"basic":"Basic","standard":"Standard","expanded":"Expanded","custom":"Custom"},"custom_settings":"Custom Settings"},"quicklinks":{"title":"快捷方式","additional":"Additional settings for quick links display and functions","open_new":"在新标签页打开","tooltip":"光标停留时下方显示标题","text_only":"仅显示标题","add_link":"Add Link","no_quicklinks":"No quicklinks","edit":"Edit","style":"Style","options":{"icon":"Icon","text_only":"Text Only","metro":"Metro"},"styling":"Quick Links Styling","styling_description":"Customise Quick Links appearance"},"message":{"title":"消息","add":"继续添加消息","messages":"Messages","text":"文本","no_messages":"No messages","add_some":"Go ahead and add some.","content":"Message Content"},"appearance":{"title":"外观","style":{"title":"Widget Style","description":"Choose between the two styles, legacy (enabled for pre 7.0 users) and our slick modern styling.","legacy":"Legacy","new":"New"},"theme":{"title":"主题","description":"Change the theme of the Mue widgets and modals","auto":"自动选择","light":"日间主题","dark":"夜间主题"},"navbar":{"title":"右上方功能键","widgets":"Navbar Widgets","notes":"便签","refresh":"刷新键","refresh_subtitle":"Choose what is refreshed when you click the refresh button","hover":"Only display on hover","additional":"Modify navbar style and which buttons you want to display","refresh_options":{"none":"不显示","page":"页面"},"apps_subtitle":"Create a shortcut of your other commonly used websites."},"font":{"title":"字体","description":"Change the font used in Mue","custom":"自定义字体","google":"从 Google Fonts 导入","weight":{"title":"字体粗细","thin":"极细","extra_light":"细字","light":"较细","normal":"一般","medium":"中等","semi_bold":"较粗","bold":"粗体","extra_bold":"加粗"},"style":{"title":"字体样式","normal":"常规","italic":"意大利斜体","oblique":"伪斜体"}},"accessibility":{"title":"无障碍设定","description":"Accessibility settings for Mue","animations":"动画效果","text_shadow":{"title":"Widget text shadow","new":"New","old":"Old","none":"None"},"widget_zoom":"小部件缩放","toast_duration":"窗口弹出时间长度","milliseconds":"毫秒"}},"order":{"title":"小部件顺序"},"advanced":{"title":"高级","offline_mode":"启用离线模式","offline_subtitle":"When enabled, all requests to online services will be disabled.","data":"数据和设置","data_description":"Choose whether to export your Mue settings to your computer, import an existing settings file, or reset your settings to their default values","data_subtitle":"Choose whether to export your Mue settings to your computer, import an existing settings file, or reset your settings to their default values","reset_modal":{"title":"警告","question":"您想要重置 Mue 的所有设置吗?","information":"本操作将删除所有数据。若您想保留数据及设置,请先将其导出。","cancel":"取消"},"customisation":"自定义","custom_css":"自定义 CSS","custom_css_subtitle":"Make Mue's styling customised to you with Cascading Style Sheets (CSS).","custom_js":"自定义 JS","tab_name":"新标签页名称","tab_name_subtitle":"Change the name of the tab that appears in your browser","timezone":{"title":"时区","subtitle":"Choose a timezone from the list instead of the automatic default from your computer","automatic":"自动"},"experimental_warning":"请注意 Mue 团队无法提供实验性功能的支持。若您遇到问题,请先关闭实验性功能,再寻求帮助。","preview_data_disabled":{"title":"Data Settings Disabled","description":"Data settings are disabled in preview mode. Please exit preview mode to use this feature."}},"stats":{"title":"统计","sections":{"tabs_opened":"页面打开次数","backgrounds_favourited":"收藏的背景","backgrounds_downloaded":"下载过背景","quotes_favourited":"收藏的名言警句","quicklinks_added":"添加的快捷方式","settings_changed":"更改的设置","addons_installed":"添加的插件"},"usage":"启用统计","achievements":"Achievements","achievement_unlocked":"Achievement Unlocked: {name}","unlocked":"{count} Unlocked","locked":"Locked","clear_modal":{"question":"Do you want to clear your stats?","information":"This will clear all achievements and usage statistics."}},"experimental":{"title":"实验性功能","warning":"以下设置仍未完成编写或测试,可能无法正常运作!","developer":"开发者"},"language":{"title":"语言","quote":"名言语言","search":"Search languages...","current":"Current","use_system":"Use system language","locale_formatting":"Format numbers for your language"},"changelog":{"title":"更新日志","by":"By {author}"},"about":{"title":"关于","version":{"title":"版本","checking_update":"正在检查更新……","update_available":"可下载更新","no_update":"无可下载更新","offline_mode":"离线模式下不能检查更新","error":{"title":"获取更新信息失败","description":"错误"}},"contact_us":"联系我们","support_mue":"支持 Mue","support_subtitle":"As Mue is entirely free, we rely on donations to cover the server bills and fund development","support_donate":"Donate","form_button":"Form","resources_used":{"title":"使用资源","bg_images":"离线背景"},"contributors":"贡献者","supporters":"支持者","no_supporters":"There are currently no Mue supporters","photographers":"背景摄影者","curators":"Add-on creators"}},"buttons":{"reset":"重置","import":"导入","export":"导出","cancel":"Cancel","continue":"Continue","close":"Close"}},"marketplace":{"title":"Marketplace","by":"by {author}","all":"All","learn_more":"Learn More","photo_packs":"图片包","quote_packs":"名言包","preset_settings":"预设设定","no_items":"本类别为空","collection":"Collection","explore_collection":"Explore Collection","add_all":"Add All To Mue","collections":"Collections","cant_find":"Can't find what you're looking for?","knowledgebase_one":"Visit the","knowledgebase_two":"knowledgebase","knowledgebase_three":"to create your own.","installing":"Installing","product":{"overview":"总览","information":"信息","last_updated":"更新日期","description":"Description","details":"Details","more_from_curator":"More like this from {name}","show_more":"Show More","show_less":"Show Less","show_all":"Show All","showing":"Showing","no_images":"No. Images","no_quotes":"No. Quotes","version":"版本","created_by":"Created by","updated_at":"Updated on","part_of":"Part of","explore":"Explore","buttons":{"addtomue":"添加至 Mue","remove":"卸载","update_addon":"Update Add-on","back":"Back","report":"Report","not_available_preview":"Unavailable on Preview"},"not_in_language":"This add-on is not in your language","third_party_api":"This add-on uses a third-party API","sideload_warning":"This add-on has been sideloaded.","setting":"Setting","value":"Value"},"offline":{"title":"您目前似乎离线","description":"请连接到互联网。"}},"addons":{"added":"已添加","check_updates":"Check for updates","no_updates":"No updates available","updates_available":"Updates available {amount}","empty":{"title":"这里空空如也","description":"请访问插件市场来添加插件。"},"sideload":{"title":"上传插件","description":"Install a Mue addon not on the marketplace from your computer","failed":"Failed to sideload addon","errors":{"no_name":"No name provided","no_author":"No author provided","no_type":"No type provided","invalid_photos":"Invalid photos object","invalid_quotes":"Invalid quotes object"}},"sort":{"title":"排序","newest":"安装过 (从新到旧)","a_z":"首字母 (A-Z)","recently_updated":"Recently Updated"},"create":{"title":"创建","moved_title":"Create add-on has moved!","moved_description":"Following the 7.1 update, the creation of addons has now moved to the web UI","moved_button":"Get Started"}}},"update":{"title":"更新日志","offline":{"title":"离线模式已启用","description":"不能从官网获取更新日志"},"error":{"title":"错误","description":"无法连接到服务器"}},"welcome":{"tip":"快速提示","sections":{"intro":{"title":"欢迎使用 Mue 新标签插件","description":"感谢您的安装。祝您使用愉快。","notices":{"discord_title":"Join our Discord","discord_description":"Talk with the Mue community and developers","discord_join":"Join","github_title":"Contribute on GitHub","github_description":"Report bugs, add features or donate","github_open":"Open"}},"language":{"title":"更改语言","description":"Mue 支持以下语言。你也可以在这里添加新的翻译"},"theme":{"title":"选择一个主题","description":"Mue 支持日间和夜间主题,或者设置为自动选择,主题将跟随系统主题自动切换","tip":"使用自动选择将使用您的电脑的主题。这个设置也会影响设置界面和一些小组件的主题,比如天气和便签。"},"style":{"title":"Choose a style","description":"Mue currently offers the choice between the legacy styling and the newly released modern styling.","legacy":"Legacy","modern":"Modern"},"settings":{"title":"导入设置","description":"在新设备上安装 Mue? 可以直接导入之前的设置!","tip":"您可以通过在之前设备上点击右上角的设置,打开高级选项卡,然后点击导出按钮,浏览器将自动下载一个 json 文件。你可以在上面点击导入按钮导入该 json 文件来导入你之前的设置和偏好。"},"privacy":{"title":"隐私设置","description":"进行一些设置来和 Mue 更好的保护您的隐私","offline_mode_description":"启用离线模式将会关闭所有服务的网络访问。该选项会关闭所有在线背景图片、在线名言警句、插件市场、天气、快捷方式、更新历史和一些关于信息的网络访问。","links":{"title":"链接","privacy_policy":"隐私政策","source_code":"源代码"}},"final":{"title":"最后一步","description":"马上即可开始使用 Mue!","changes":"更改的设置","changes_description":"如果需要进一步设置,点击右上角的设置图标即可弹出完整设置对话框。如果显示不正常,刷新即可。","imported":"导入{amount}设置"}},"buttons":{"next":"下一步","preview":"Preview","previous":"上一步","close":"关闭","finish":"Finish"},"preview":{"description":"You are currently in preview mode. Settings will be reset on closing this tab.","continue":"Continue setup"}},"share":{"copy_link":"Copy link","email":"Email"}}`),VM={quote:"名言已复制",notes:"便签已复制",reset:"重置成功",installed:"安装成功",uninstalled:"卸载成功",updated:"Successfully updated",error:"发生错误",imported:"导入成功",no_storage:"Not enough storage",link_copied:"Link copied",stats_reset:"Stats reset"},Sb={tabname:PM,widgets:HM,modals:FM,toasts:VM},GM="新分頁",KM={greeting:{morning:"早安",afternoon:"午安",evening:"晚安",christmas:"聖誕快樂",newyear:"新年快樂",halloween:"萬聖節快樂",birthday:"生日快樂"},background:{credit:"影像來自",unsplash:"在 Unsplash 上",information:"資訊",download:"下載",downloads:"下載",views:"檢視",likes:"喜歡",location:"地點",camera:"相機",resolution:"解析度",source:"來源",category:"類別",exclude:"不要再顯示",exclude_confirm:`你確定你不想再次看到此影像嗎?-注意:如果你不喜歡「{category}」影像,你可以在背景來源設定中取消選擇該類別。`,confirm:"確認"},search:"搜尋",quicklinks:{new:"新增連結",edit:"編輯連結",name:"名稱",url:"網址",icon:"圖示(選擇性)",add:"增加",name_error:"必須提供名稱",url_error:"必須提供網址"},date:{week:"週"},weather:{not_found:"找不到",meters:"{amount} 公尺",extra_information:"額外資訊",feels_like:"感覺像 {amount}"},quote:{link_tooltip:"在維基百科上開啟",share:"分享",copy:"複製",favourite:"收藏",unfavourite:"取消收藏"},navbar:{tooltips:{refresh:"重新整理"},notes:{title:"筆記",placeholder:"在此輸入"},todo:{title:"待辦事項",pin:"釘選",add:"增加",no_todos:"無待辦事項"},apps:{title:"應用程式",no_apps:"找不到應用程式連結"}}},YM=JSON.parse(`{"main":{"title":"選項","loading":"載入中…","file_upload_error":"檔案超過 2MB","navbar":{"settings":"設定","library":"附加元件","discover":"市場"},"error_boundary":{"title":"錯誤","message":"無法載入 Mue 的此元件","report_error":"傳送錯誤報告","sent":"已傳送!","refresh":"重新整理"},"settings":{"enabled":"已啟用","open_knowledgebase":"開啟知識庫","additional_settings":"附加設定","reminder":{"title":"注意","message":"為了使所有變更生效,必須重新整理頁面。"},"sections":{"header":{"more_info":"更多資訊","report_issue":"報告問題","enabled":"選擇是否顯示此小工具","size":"滑桿控制小部件的大小"},"time":{"title":"時間","format":"格式","type":"類型","type_subtitle":"選擇是否以數位格式、類比格式或當天完成百分比顯示時間","digital":{"title":"數位","subtitle":"變更數位時鐘的外觀","seconds":"秒","twentyfourhour":"24 小時制","twelvehour":"12 小時制","zero":"Zero-padded"},"analogue":{"title":"類比","subtitle":"變更類比時鐘的外觀","second_hand":"秒針","minute_hand":"分針","hour_hand":"時針","hour_marks":"小時刻度","minute_marks":"分鐘刻度","round_clock":"圓形背景"},"percentage_complete":"完成百分比","vertical_clock":{"title":"垂直時鐘","change_hour_colour":"變更小時文字顏色","change_minute_colour":"變更分鐘文字顏色","change_second_colour":"變更秒文字顏色"}},"date":{"title":"日期","week_number":"週數","day_of_week":"星期","datenth":"日期 th","type":{"short":"短","long":"長","subtitle":"Whether to display the date in long form or short form"},"type_settings":"Display settings and format for the selected date type","short_date":"Short date","short_format":"Short format","long_format":"Long format","short_separator":{"title":"Short separator","dots":"Dots","dash":"Dash","gaps":"Gaps","slashes":"Slashes"}},"quote":{"title":"Quote","additional":"Other settings to customise the style of the quote widget","author_link":"Author link","author_details":"作者詳細資訊","custom":"Custom quote","custom_subtitle":"Set your own custom quotes","no_quotes":"No quotes","author":"Author","custom_buttons":"Buttons","custom_author":"Custom author","author_img":"Show author image","add":"Add quote","source_subtitle":"Choose where to get quotes from","buttons":{"title":"Buttons","subtitle":"Choose which buttons to show on the quote","copy":"Copy","tweet":"Tweet","favourite":"Favourite"}},"greeting":{"title":"Greeting","events":{"0":"E","1":"v","2":"e","3":"n","4":"t","5":"s","title":"Events"},"events_description":"Control events on Mue such as birthdays.","enable_events":"Show messages on special days","default":"Default greeting message","name":"Name for greeting","birthday":"Birthday","birthday_subtitle":"Show a Happy Birthday message when it is your birthday","birthday_age":"Birthday age","birthday_date":"Birthday date","additional":"Settings for the greeting display","custom":"Custom events","event_name":"Event Name","day":"Day","month":"Month","no_events":"No Events","no_events_description":"Add Some Events","add_event":"Add Event"},"background":{"title":"Background","transition":"Fade-in transition","photo_information":"Show photo information","show_map":"Show location map on photo information if available","categories":"Categories","buttons":{"title":"Buttons","view":"Maximise","favourite":"Favourite","download":"Download"},"effects":{"title":"Effects","subtitle":"Add effects to the background images","blur":"Adjust blur","brightness":"Adjust brightness","filters":{"title":"Background filter","amount":"Filter amount","grayscale":"Grayscale","sepia":"Sepia","invert":"Invert","saturate":"Saturate","contrast":"Contrast"}},"type":{"title":"Type","api":"API","custom_image":"Custom image","custom_colour":"Custom colour/gradient","random_colour":"Random colour","random_gradient":"Random gradient"},"unsplash":{"title":"Unsplash Collection(s)","subtitle":"Select the collection(s) you want to use for your background","id":"Collection ID(s)","id_subtitle":"Enter a comma separated list of Unsplash IDs"},"source":{"title":"Source","subtitle":"Select where to get background images from","api":"Background API","custom_background":"Custom background","custom_colour":"Custom background colour","upload":"Upload","add_colour":"Add colour","add_background":"Add background","drop_to_upload":"Drop to upload","formats":"Available formats: {list}","select":"Or Select","add_url":"Add URL","disabled":"Disabled","loop_video":"Loop video","mute_video":"Mute video","quality":{"title":"Quality","original":"Original","high":"High Quality","normal":"Normal Quality","datasaver":"Data Saver"},"custom_title":"Custom Images","custom_description":"Select images from your local computer","remove":"Remove Image","delete_selected":"Delete {count} Selected","uploading":"Uploading {current} of {total}...","images":"images","tag_images":"Tag Images","tag_description":"Add {count} images to a folder (optional)","folder_name":"Folder Name","folder_placeholder":"Leave empty for no folder","storage_info":"Storage Information","storage_description":"Mue uses browser storage to save your custom images. The current limit is approximately 4.85MB for all settings and images combined.","storage_current":"Current usage: {used} of {total} ({percent}%)","sort":{"date_newest":"Date Added (Newest)","date_oldest":"Date Added (Oldest)","name_asc":"Name (A-Z)","name_desc":"Name (Z-A)","size_small":"File Size (Smallest)","size_large":"File Size (Largest)"}},"display":"Display","display_subtitle":"Change how background and photo information are loaded","api":"API Settings","api_subtitle":"Options for getting an image from an external service (API)"},"search":{"title":"Search","additional":"Additional options for search widget display and functionality","search_engine":"Search Engine","search_engine_subtitle":"Choose search engine to use in the search bar","custom":"Custom Search URL","autocomplete":"Autocomplete","autocomplete_provider":"Autocomplete Provider","autocomplete_provider_subtitle":"Search engine to use for autocomplete dropdown results","voice_search":"Voice search","dropdown":"Search Dropdown","focus":"Focus on tab open","chrome_policy_warning":"In version 7.2, the ability to choose your search engine within Mue was removed to comply with new Chrome Web Store guidelines. Mue now uses your browser's default search engine. You can change this in Chrome Settings."},"weather":{"title":"Weather","location":"Location","auto":"Auto","widget_type":"Widget Type","temp_format":{"title":"Temperature format","celsius":"Celsius","fahrenheit":"Fahrenheit","kelvin":"Kelvin"},"extra_info":{"title":"Extra information","show_location":"Show location","show_description":"Show description","weather_description":"Weather description","cloudiness":"Cloudiness","humidity":"Humidity","visibility":"Visibility","wind_speed":"Wind speed","wind_direction":"Wind direction","min_temp":"Minimum temperature","max_temp":"Maximum temperature","atmospheric_pressure":"Atmospheric pressure"},"options":{"basic":"Basic","standard":"Standard","expanded":"Expanded","custom":"Custom"},"custom_settings":"Custom Settings"},"quicklinks":{"title":"Quick Links","additional":"Additional settings for quick links display and functions","open_new":"Open in new tab","tooltip":"Tooltip","text_only":"Show text only","add_link":"Add Link","no_quicklinks":"No quick links","edit":"Edit","style":"Style","options":{"icon":"Icon","text_only":"Text Only","metro":"Metro"},"styling":"Styling","styling_description":"Customise Quick Links appearance"},"message":{"title":"Message","add":"Add message","messages":"Messages","text":"Text","no_messages":"No messages","add_some":"Go ahead and add some.","content":"Message Content"},"appearance":{"title":"Appearance","style":{"title":"Widget Style","description":"Choose between the two styles, legacy (enabled for pre 7.0 users) and our slick modern styling.","legacy":"Legacy","new":"New"},"theme":{"title":"Theme","description":"Change the theme of the Mue widgets and modals","auto":"Auto","light":"Light","dark":"Dark"},"navbar":{"title":"Navbar","widgets":"Navbar Widgets","notes":"Notes","refresh":"Refresh","refresh_subtitle":"Choose what is refreshed when you click the refresh button","hover":"Only display on hover","additional":"Modify navbar style and which buttons you want to display","refresh_options":{"none":"None","page":"Page"},"apps_subtitle":"Create a shortcut of your other commonly used websites."},"font":{"title":"Font","description":"Change the font used in Mue","custom":"Custom font","google":"Import from Google Fonts","weight":{"title":"Font weight","thin":"Thin","extra_light":"Extra Light","light":"Light","normal":"Normal","medium":"Medium","semi_bold":"Semi-Bold","bold":"Bold","extra_bold":"Extra-Bold"},"style":{"title":"Font style","normal":"Normal","italic":"Italic","oblique":"Oblique"}},"accessibility":{"title":"Accessibility","description":"Make Mue comfortable and accessible","animations":"Animations","text_shadow":{"title":"Widget text shadow","new":"New","old":"Old","none":"None"},"widget_zoom":"Widget Zoom","toast_duration":"Toast Duration","milliseconds":"milliseconds"}},"order":{"title":"Widget Order"},"advanced":{"title":"Advanced","offline_mode":"Offline mode","offline_subtitle":"When enabled, all requests to online services will be disabled.","data":"Data","data_description":"Choose whether to export your Mue settings to your computer, import an existing settings file, or reset your settings to their default values","data_subtitle":"Manage your data on Mue.","reset_modal":{"title":"WARNING","question":"Do you want to reset Mue?","information":"This will delete all data. If you wish to keep your data and preferences, please export them first.","cancel":"Cancel"},"customisation":"Customisation","custom_css":"Custom CSS","custom_css_subtitle":"Make Mue's styling customised to you with Cascading Style Sheets (CSS).","custom_js":"Custom JS","tab_name":"Tab name","tab_name_subtitle":"Change the name of the tab that appears in your browser","timezone":{"title":"Time Zone","subtitle":"Choose a timezone from the list instead of the automatic default from your computer","automatic":"Automatic"},"experimental_warning":"Please note that the Mue team cannot provide support if you have experimental mode on. Please disable it first and see if the issue continues to occur before contacting support.","preview_data_disabled":{"title":"Data Settings Disabled","description":"Data settings are disabled in preview mode. Please exit preview mode to use this feature."}},"stats":{"title":"Stats","sections":{"tabs_opened":"Tabs opened","backgrounds_favourited":"Backgrounds favourited","backgrounds_downloaded":"Backgrounds downloaded","quotes_favourited":"Quotes favourited","quicklinks_added":"Quicklinks added","settings_changed":"Settings changed","addons_installed":"Add-ons installed"},"usage":"Usage Stats","achievements":"Achievements","achievement_unlocked":"Achievement Unlocked: {name}","unlocked":"{count} Unlocked","locked":"Locked","clear_modal":{"question":"Do you want to clear your stats?","information":"This will clear all achievements and usage statistics."}},"experimental":{"title":"Experimental","warning":"These settings have not been fully tested/implemented and may not work correctly!","developer":"Developer"},"language":{"title":"Language","quote":"Quote language","search":"Search languages...","current":"Current","use_system":"Use system language","locale_formatting":"Format numbers for your language"},"changelog":{"title":"Change Log","by":"By {author}"},"about":{"title":"About","version":{"title":"Version","checking_update":"Checking for update","update_available":"Update available","no_update":"No update available","offline_mode":"Cannot check for update in offline mode","error":{"title":"Failed to get update information","description":"An error occured"}},"contact_us":"Contact Us","support_mue":"Support Mue","support_subtitle":"As Mue is entirely free, we rely on donations to cover the server bills and fund development","support_donate":"Donate","form_button":"Form","resources_used":{"title":"Resources used","bg_images":"Offline background images"},"contributors":"Contributors","supporters":"Supporters","no_supporters":"There are currently no Mue supporters","photographers":"Photographers","curators":"Add-on creators"}},"buttons":{"reset":"Reset","import":"Import","export":"Export","cancel":"Cancel","continue":"Continue","close":"Close"}},"marketplace":{"title":"Marketplace","by":"by {author}","all":"All","learn_more":"Learn More","photo_packs":"Photo Packs","quote_packs":"Quote Packs","preset_settings":"Preset Settings","no_items":"No items in this category","collection":"Collection","explore_collection":"Explore Collection","add_all":"Add All To Mue","collections":"Collections","cant_find":"Can't find what you're looking for?","knowledgebase_one":"Visit the","knowledgebase_two":"knowledgebase","knowledgebase_three":"to create your own.","installing":"Installing","product":{"overview":"Overview","information":"Information","last_updated":"Last Updated","description":"Description","details":"Details","more_from_curator":"More like this from {name}","show_more":"Show More","show_less":"Show Less","show_all":"Show All","showing":"Showing","no_images":"No. Images","no_quotes":"No. Quotes","version":"Version","created_by":"Created by","updated_at":"Updated on","part_of":"Part of","explore":"Explore","buttons":{"addtomue":"Add To Mue","remove":"Remove","update_addon":"Update Add-on","back":"Back","report":"Report","not_available_preview":"Unavailable on Preview"},"not_in_language":"This add-on is not in your language","third_party_api":"This add-on uses a third-party API","sideload_warning":"This add-on has been sideloaded.","setting":"Setting","value":"Value"},"offline":{"title":"Looks like you're offline","description":"Please connect to the internet"}},"addons":{"added":"Added","check_updates":"Check for updates","no_updates":"No updates available","updates_available":"Updates available {amount}","empty":{"title":"Empty","description":"No addons are installed"},"sideload":{"title":"Sideload","description":"Install a Mue addon not on the marketplace from your computer","failed":"Failed to sideload addon","errors":{"no_name":"No name provided","no_author":"No author provided","no_type":"No type provided","invalid_photos":"Invalid photos object","invalid_quotes":"Invalid quotes object"}},"sort":{"title":"Sort","newest":"Installed (Newest)","a_z":"Alphabetical (A-Z)","recently_updated":"Recently Updated"},"create":{"title":"Create","moved_title":"Create add-on has moved!","moved_description":"Following the 7.1 update, the creation of addons has now moved to the web UI","moved_button":"Coming Soon...."}}},"update":{"title":"Update","offline":{"title":"Offline","description":"Cannot get update logs while in offline mode"},"error":{"title":"Error","description":"Could not connect to the server"}},"welcome":{"tip":"Quick Tip","sections":{"intro":{"title":"Welcome to Mue Tab","description":"Thank you for installing Mue, we hope you enjoy your time with our extension.","notices":{"discord_title":"Join our Discord","discord_description":"Talk with the Mue community and developers","discord_join":"Join","github_title":"Contribute on GitHub","github_description":"Report bugs, add features or donate","github_open":"Open"}},"language":{"title":"Choose your language","description":"Mue can be displayed the languages listed below. You can also add new translations on our"},"theme":{"title":"Select a theme","description":"Mue is available in both light and dark theme, or this can be automatically set depending on your system theme.","tip":"Using the Auto settings will use the theme on your computer. This setting will impact the modals and some of the widgets displayed on the screen, such as weather and notes."},"style":{"title":"Choose a style","description":"Mue currently offers the choice between the legacy styling and the newly released modern styling.","legacy":"Legacy","modern":"Modern"},"settings":{"title":"Import Settings","description":"Installing Mue on a new device? Feel free to import your old settings!","tip":"You can export your old settings by navigating to the Advanced tab in your old Mue setup. Then you need to click the export button which will download the JSON file. You can upload this file here to carry across your settings and preferences from your previous Mue installation."},"privacy":{"title":"Privacy Options","description":"Enable settings to further protect your privacy with Mue.","offline_mode_description":"Enabling offline mode will disable all requests to any service. This will result in online backgrounds, online quotes, marketplace, weather, quick links, change log and some about tab information to be disabled.","links":{"title":"Links","privacy_policy":"Privacy Policy","source_code":"Source Code"}},"final":{"title":"Final step","description":"Your Mue Tab experience is about to begin.","changes":"Changes","changes_description":"To change settings later click on the settings icon in the top right corner of your tab.","imported":"Imported {amount} settings"}},"buttons":{"next":"Next","preview":"Preview","previous":"Previous","close":"Close","finish":"Finish"},"preview":{"description":"You are currently in preview mode. Settings will be reset on closing this tab.","continue":"Continue setup"}},"share":{"copy_link":"Copy link","email":"Email"}}`),WM={quote:"Quote copied",notes:"Notes copied",reset:"Reset successfully",installed:"Successfully installed",uninstalled:"Successfully removed",updated:"Successfully updated",error:"Something went wrong",imported:"Successfully imported",no_storage:"Not enough storage",link_copied:"Link copied",stats_reset:"Stats reset"},Mb={tabname:GM,widgets:KM,modals:YM,toasts:WM};function Dl(o){return new M0("en_GB",{ar:Kv,arz:Yv,az:Wv,azb:Qv,bn:Zv,de_DE:Xv,el:Jv,en_GB:$v,en_US:eb,es:tb,es_419:ab,et:ob,fa:ib,fr:nb,hu:sb,id_ID:rb,ja:lb,lt:ub,lv:db,nl:cb,no:mb,peo:pb,pt:fb,pt_BR:gb,ru:hb,sl:_b,sv:vb,ta:bb,tr_TR:yb,uk:kb,vi:wb,zh_CN:Sb,zh_Hant:Mb})}const QM={ar:Kv,arz:Yv,az:Wv,azb:Qv,bn:Zv,de_DE:Xv,el:Jv,en_GB:$v,en_US:eb,es:tb,es_419:ab,et:ob,fa:ib,fr:nb,hu:sb,id_ID:rb,ja:lb,lt:ub,lv:db,nl:cb,no:mb,peo:pb,pt:fb,pt_BR:gb,ru:hb,sl:_b,sv:vb,ta:bb,tr_TR:yb,uk:kb,vi:wb,zh_CN:Sb,zh_Hant:Mb},ZM="https://webbrain.one",XM="https://webbrain.one/privacy",JM="https://github.com/esokullu/webbrain",$M="https://github.com/esokullu/webbrain/issues/new",eA="https://github.com/mue/mue",tA="7.6.0",aA="1.0.0",oA=Object.freeze(Object.defineProperty({__proto__:null,BUG_REPORT:$M,MUE_REPO_URL:eA,MUE_VERSION:tA,PRIVACY_URL:XM,REPO_URL:JM,VERSION:aA,WEBSITE_URL:ZM},Symbol.toStringTag,{value:"Module"}));class iA{static async postEvent(){}static async tabLoad(){}}const pe={language:{},languagecode:"",stats:iA,constants:oA};class ve{static listeners={};static register(n,u){this.listeners[n]||(this.listeners[n]=[]),u.first?this.listeners[n].unshift(u):this.listeners[n].push(u)}static on(n,u){const l=d=>u(d.detail);document.addEventListener(n,l),this.register(n,{callback:u,listener:l,capture:!1})}static emit(n,u){document.dispatchEvent(new CustomEvent(n,{detail:u}))}static off(n,u){if(typeof u!="function")return;const l=this.listeners[n]||[],d=l.filter(c=>c.callback===u||c.listener===u);d.forEach(c=>document.removeEventListener(n,c.listener,{capture:c.capture})),this.listeners[n]=l.filter(c=>!d.includes(c))}static once(n,u){const l=d=>{this.off(n,l),u(d.detail)};document.addEventListener(n,l),this.register(n,{callback:u,listener:l,capture:!1})}static prepend(n,u){const l=d=>u(d.detail);document.addEventListener(n,l,{capture:!0}),this.register(n,{callback:u,listener:l,capture:!0,first:!0})}static prependOnce(n,u){const l=d=>{this.off(n,l),u(d.detail)};document.addEventListener(n,l,{capture:!0}),this.register(n,{callback:u,listener:l,capture:!0,first:!0})}static getListeners(n){return this.listeners[n]||[]}static eventNames(){return Object.keys(this.listeners)}static removeAllListeners(){Object.keys(this.listeners).forEach(n=>{this.listeners[n].forEach(({listener:u,capture:l})=>{document.removeEventListener(n,u,{capture:l})})}),this.listeners={}}}const nA={en:"en_GB",zh:"zh_CN",ar:"ar",bn:"bn",nl:"nl",fr:"fr",de:"de_DE",id:"id_ID",ja:"ja",fa:"fa",pt:"pt_BR",ru:"ru",es:"es",tr:"tr_TR",uk:"uk",vi:"vi"};function Ab(){let o;try{o=String(Ll?.getItem("wbLocale")||"").trim()}catch{o=""}return o||String(globalThis.navigator?.language||"en").slice(0,2).toLowerCase()}function sA(){return nA[Ab()]||"en_GB"}const rA=["ask","act","search","placeholder_ask","placeholder_act","placeholder_search","go","act_hint","panel_failed","recent_title","recent_empty","recent_all","settings_taskbox","settings_taskbox_sub","settings_default_mode","settings_recent","settings_credits","settings_bundled_photos"],lA={en:["Ask","Act","Search","Ask WebBrain anything…","Tell WebBrain what to do…","Search or enter a URL","Go","WebBrain opens with your task ready. Press Enter there to run it.","Couldn't open the WebBrain panel. Click the WebBrain toolbar icon.","Recent chats","No chats yet","All history","Task box","Ask or act with WebBrain from the new tab.","Default mode","Show recent chats","Credits","Bundled photos"],es:["Preguntar","Actuar","Buscar","Pregunta lo que quieras a WebBrain…","Dile a WebBrain qué hacer…","Busca o escribe una URL","Ir","WebBrain se abre con tu tarea lista. Pulsa Intro allí para ejecutarla.","No se pudo abrir el panel de WebBrain. Haz clic en el icono de WebBrain de la barra.","Chats recientes","Aún no hay chats","Todo el historial","Cuadro de tareas","Pregunta o actúa con WebBrain desde la nueva pestaña.","Modo predeterminado","Mostrar chats recientes","Créditos","Fotos incluidas"],fr:["Demander","Agir","Rechercher","Posez n’importe quelle question à WebBrain…","Dites à WebBrain quoi faire…","Rechercher ou saisir une URL","OK","WebBrain s’ouvre avec votre tâche prête. Appuyez sur Entrée pour la lancer.","Impossible d’ouvrir le panneau WebBrain. Cliquez sur l’icône WebBrain de la barre d’outils.","Discussions récentes","Aucune discussion","Tout l’historique","Zone de tâche","Posez une question ou agissez avec WebBrain depuis le nouvel onglet.","Mode par défaut","Afficher les discussions récentes","Crédits","Photos incluses"],de:["Fragen","Handeln","Suchen","Frag WebBrain, was du willst…","Sag WebBrain, was zu tun ist…","Suchen oder URL eingeben","Los","WebBrain öffnet sich mit deiner Aufgabe. Drücke dort Enter, um sie auszuführen.","Das WebBrain-Panel konnte nicht geöffnet werden. Klicke auf das WebBrain-Symbol in der Symbolleiste.","Letzte Chats","Noch keine Chats","Gesamter Verlauf","Aufgabenfeld","Frage oder handle mit WebBrain direkt im neuen Tab.","Standardmodus","Letzte Chats anzeigen","Danksagungen","Mitgelieferte Fotos"],tr:["Sor","Yap","Ara","WebBrain’e her şeyi sor…","WebBrain’e ne yapacağını söyle…","Ara veya URL gir","Git","WebBrain, görevin hazır şekilde açılır. Çalıştırmak için orada Enter’a bas.","WebBrain paneli açılamadı. Araç çubuğundaki WebBrain simgesine tıkla.","Son sohbetler","Henüz sohbet yok","Tüm geçmiş","Görev kutusu","Yeni sekmeden WebBrain ile sor veya işlem yap.","Varsayılan mod","Son sohbetleri göster","Katkılar","Dahili fotoğraflar"],pt:["Perguntar","Agir","Pesquisar","Pergunte qualquer coisa ao WebBrain…","Diga ao WebBrain o que fazer…","Pesquise ou digite um URL","Ir","O WebBrain abre com sua tarefa pronta. Pressione Enter lá para executá-la.","Não foi possível abrir o painel do WebBrain. Clique no ícone do WebBrain na barra de ferramentas.","Conversas recentes","Ainda não há conversas","Todo o histórico","Caixa de tarefas","Pergunte ou aja com o WebBrain na nova guia.","Modo padrão","Mostrar conversas recentes","Créditos","Fotos incluídas"],ru:["Спросить","Действовать","Поиск","Спросите WebBrain о чём угодно…","Скажите WebBrain, что сделать…","Введите запрос или URL","Вперёд","WebBrain откроется с готовой задачей. Нажмите там Enter, чтобы запустить её.","Не удалось открыть панель WebBrain. Нажмите значок WebBrain на панели инструментов.","Недавние чаты","Чатов пока нет","Вся история","Поле задач","Спрашивайте и действуйте с WebBrain прямо на новой вкладке.","Режим по умолчанию","Показывать недавние чаты","Авторы и лицензии","Встроенные фото"],uk:["Запитати","Діяти","Пошук","Запитайте WebBrain про що завгодно…","Скажіть WebBrain, що зробити…","Введіть запит або URL","Вперед","WebBrain відкриється з готовим завданням. Натисніть там Enter, щоб запустити його.","Не вдалося відкрити панель WebBrain. Натисніть значок WebBrain на панелі інструментів.","Нещодавні чати","Чатів поки немає","Уся історія","Поле завдань","Запитуйте та виконуйте завдання з WebBrain просто на новій вкладці.","Режим за замовчуванням","Показувати нещодавні чати","Автори та ліцензії","Вбудовані фото"],zh:["提问","执行","搜索","向 WebBrain 提任何问题…","告诉 WebBrain 要做什么…","搜索或输入网址","前往","WebBrain 将带着你的任务打开。在那里按 Enter 即可运行。","无法打开 WebBrain 面板。请点击工具栏中的 WebBrain 图标。","最近的对话","还没有对话","全部历史","任务框","在新标签页中直接向 WebBrain 提问或下达任务。","默认模式","显示最近的对话","致谢","内置照片"],ja:["質問","実行","検索","WebBrain に何でも聞く…","WebBrain にやってほしいことを伝える…","検索または URL を入力","移動","タスクを入力した状態で WebBrain が開きます。そこで Enter を押すと実行されます。","WebBrain パネルを開けませんでした。ツールバーの WebBrain アイコンをクリックしてください。","最近のチャット","チャットはまだありません","すべての履歴","タスクボックス","新しいタブから WebBrain に質問したり操作を任せたりできます。","デフォルトのモード","最近のチャットを表示","クレジット","同梱の写真"],ko:["질문","실행","검색","WebBrain에게 무엇이든 물어보세요…","WebBrain에게 할 일을 알려주세요…","검색하거나 URL 입력","이동","작업이 입력된 상태로 WebBrain이 열립니다. 거기서 Enter를 누르면 실행됩니다.","WebBrain 패널을 열 수 없습니다. 도구 모음의 WebBrain 아이콘을 클릭하세요.","최근 대화","아직 대화가 없습니다","전체 기록","작업 상자","새 탭에서 바로 WebBrain에게 질문하거나 작업을 맡기세요.","기본 모드","최근 대화 표시","크레딧","기본 제공 사진"],ar:["اسأل","نفّذ","ابحث","اسأل WebBrain أي شيء…","أخبر WebBrain بما يجب فعله…","ابحث أو أدخل عنوان URL","انتقال","يفتح WebBrain ومعه مهمتك جاهزة. اضغط Enter هناك لتشغيلها.","تعذّر فتح لوحة WebBrain. انقر على أيقونة WebBrain في شريط الأدوات.","المحادثات الأخيرة","لا توجد محادثات بعد","السجل الكامل","مربع المهام","اسأل أو نفّذ مع WebBrain مباشرة من علامة التبويب الجديدة.","الوضع الافتراضي","إظهار المحادثات الأخيرة","الشكر والتقدير","الصور المضمّنة"],he:["שאלה","פעולה","חיפוש","שאלו את WebBrain כל דבר…","ספרו ל-WebBrain מה לעשות…","חפשו או הזינו כתובת URL","מעבר","WebBrain ייפתח כשהמשימה שלכם מוכנה. לחצו שם Enter כדי להריץ אותה.","לא ניתן היה לפתוח את לוח WebBrain. לחצו על סמל WebBrain בסרגל הכלים.","שיחות אחרונות","עדיין אין שיחות","כל ההיסטוריה","תיבת משימות","שאלו או פעלו עם WebBrain ישירות מהכרטיסייה החדשה.","מצב ברירת מחדל","הצגת שיחות אחרונות","קרדיטים","תמונות מובנות"],hi:["पूछें","करें","खोजें","WebBrain से कुछ भी पूछें…","WebBrain को बताएँ क्या करना है…","खोजें या URL दर्ज करें","जाएँ","WebBrain आपके कार्य के साथ खुलेगा। चलाने के लिए वहाँ Enter दबाएँ।","WebBrain पैनल नहीं खुल सका। टूलबार में WebBrain आइकन पर क्लिक करें।","हाल की चैट","अभी कोई चैट नहीं","पूरा इतिहास","कार्य बॉक्स","नए टैब से ही WebBrain से पूछें या काम करवाएँ।","डिफ़ॉल्ट मोड","हाल की चैट दिखाएँ","श्रेय","शामिल तस्वीरें"],id:["Tanya","Jalankan","Cari","Tanyakan apa saja ke WebBrain…","Beri tahu WebBrain apa yang harus dilakukan…","Cari atau masukkan URL","Buka","WebBrain terbuka dengan tugas Anda siap. Tekan Enter di sana untuk menjalankannya.","Tidak dapat membuka panel WebBrain. Klik ikon WebBrain di bilah alat.","Obrolan terbaru","Belum ada obrolan","Semua riwayat","Kotak tugas","Tanya atau jalankan tugas dengan WebBrain langsung dari tab baru.","Mode default","Tampilkan obrolan terbaru","Kredit","Foto bawaan"],ms:["Tanya","Laksana","Cari","Tanya apa sahaja kepada WebBrain…","Beritahu WebBrain apa yang perlu dilakukan…","Cari atau masukkan URL","Pergi","WebBrain dibuka dengan tugas anda sedia. Tekan Enter di sana untuk menjalankannya.","Tidak dapat membuka panel WebBrain. Klik ikon WebBrain pada bar alat.","Sembang terkini","Belum ada sembang","Semua sejarah","Kotak tugas","Tanya atau laksanakan tugas dengan WebBrain terus dari tab baharu.","Mod lalai","Tunjukkan sembang terkini","Kredit","Foto terbina dalam"],tl:["Magtanong","Gumawa","Maghanap","Magtanong ng kahit ano sa WebBrain…","Sabihin sa WebBrain kung ano ang gagawin…","Maghanap o maglagay ng URL","Pumunta","Magbubukas ang WebBrain na handa na ang iyong gawain. Pindutin ang Enter doon para patakbuhin ito.","Hindi mabuksan ang panel ng WebBrain. I-click ang icon ng WebBrain sa toolbar.","Mga kamakailang chat","Wala pang chat","Buong kasaysayan","Kahon ng gawain","Magtanong o mag-utos sa WebBrain mula mismo sa bagong tab.","Default na mode","Ipakita ang mga kamakailang chat","Mga kredito","Mga kasamang larawan"],pl:["Zapytaj","Wykonaj","Szukaj","Zapytaj WebBrain o cokolwiek…","Powiedz WebBrain, co ma zrobić…","Wyszukaj lub wpisz adres URL","Idź","WebBrain otworzy się z gotowym zadaniem. Naciśnij tam Enter, aby je uruchomić.","Nie udało się otworzyć panelu WebBrain. Kliknij ikonę WebBrain na pasku narzędzi.","Ostatnie czaty","Brak czatów","Cała historia","Pole zadań","Pytaj i zlecaj zadania WebBrain prosto z nowej karty.","Tryb domyślny","Pokaż ostatnie czaty","Autorzy i licencje","Dołączone zdjęcia"],th:["ถาม","ทำ","ค้นหา","ถามอะไรก็ได้กับ WebBrain…","บอก WebBrain ว่าต้องทำอะไร…","ค้นหาหรือป้อน URL","ไป","WebBrain จะเปิดพร้อมงานของคุณ กด Enter ที่นั่นเพื่อรัน","เปิดแผง WebBrain ไม่ได้ คลิกไอคอน WebBrain บนแถบเครื่องมือ","แชตล่าสุด","ยังไม่มีแชต","ประวัติทั้งหมด","ช่องงาน","ถามหรือสั่งงาน WebBrain ได้จากแท็บใหม่ทันที","โหมดเริ่มต้น","แสดงแชตล่าสุด","เครดิต","รูปภาพที่รวมมา"],vi:["Hỏi","Thực hiện","Tìm kiếm","Hỏi WebBrain bất cứ điều gì…","Nói với WebBrain cần làm gì…","Tìm kiếm hoặc nhập URL","Đi","WebBrain sẽ mở với tác vụ đã sẵn sàng. Nhấn Enter ở đó để chạy.","Không thể mở bảng WebBrain. Hãy nhấp vào biểu tượng WebBrain trên thanh công cụ.","Cuộc trò chuyện gần đây","Chưa có cuộc trò chuyện","Toàn bộ lịch sử","Hộp tác vụ","Hỏi hoặc giao việc cho WebBrain ngay từ tab mới.","Chế độ mặc định","Hiện cuộc trò chuyện gần đây","Ghi công","Ảnh đi kèm"],bn:["জিজ্ঞাসা","করুন","খুঁজুন","WebBrain-কে যেকোনো কিছু জিজ্ঞাসা করুন…","WebBrain-কে বলুন কী করতে হবে…","খুঁজুন বা URL লিখুন","যান","আপনার কাজ প্রস্তুত অবস্থায় WebBrain খুলবে। চালাতে সেখানে Enter চাপুন।","WebBrain প্যানেল খোলা যায়নি। টুলবারে WebBrain আইকনে ক্লিক করুন।","সাম্প্রতিক চ্যাট","এখনো কোনো চ্যাট নেই","সম্পূর্ণ ইতিহাস","টাস্ক বক্স","নতুন ট্যাব থেকেই WebBrain-কে জিজ্ঞাসা করুন বা কাজ দিন।","ডিফল্ট মোড","সাম্প্রতিক চ্যাট দেখান","কৃতজ্ঞতা","অন্তর্ভুক্ত ছবি"],fa:["بپرس","اجرا کن","جستجو","از WebBrain هر چیزی بپرسید…","به WebBrain بگویید چه کار کند…","جستجو کنید یا نشانی URL وارد کنید","برو","WebBrain با وظیفهٔ آمادهٔ شما باز میشود. برای اجرا، آنجا Enter را بزنید.","پنل WebBrain باز نشد. روی نماد WebBrain در نوار ابزار کلیک کنید.","گفتگوهای اخیر","هنوز گفتگویی نیست","کل تاریخچه","جعبهٔ وظیفه","از همین زبانهٔ جدید از WebBrain بپرسید یا کار بسپارید.","حالت پیشفرض","نمایش گفتگوهای اخیر","سپاسها","عکسهای همراه"],nl:["Vragen","Uitvoeren","Zoeken","Vraag WebBrain alles…","Zeg WebBrain wat te doen…","Zoek of voer een URL in","Ga","WebBrain opent met je taak klaar. Druk daar op Enter om te starten.","Het WebBrain-paneel kon niet worden geopend. Klik op het WebBrain-pictogram in de werkbalk.","Recente chats","Nog geen chats","Alle geschiedenis","Taakvak","Vraag of voer uit met WebBrain, direct vanaf het nieuwe tabblad.","Standaardmodus","Recente chats tonen","Met dank aan","Meegeleverde foto’s"]},T_=Object.fromEntries(Object.entries(lA).map(([o,n])=>[o,Object.fromEntries(rA.map((u,l)=>[`wb.${u}`,n[l]]))]));function ya(o,n=Ab()){return T_[n]?.[o]??T_.en[o]??o}const Cb=o=>typeof o=="string"&&o.startsWith("wb."),xb=k.createContext();function uA({children:o,initialLanguage:n}){const[u,l]=k.useState(n),d=k.useRef(Dl());k.useEffect(()=>{u!==n&&(d.current=Dl()),pe.language=d.current,pe.languagecode=u,document.documentElement.lang=u.replace("_","-")},[u,n]);const c=k.useCallback(h=>{d.current=Dl(),pe.language=d.current,pe.languagecode=h,document.documentElement.lang=h.replace("_","-");const y=localStorage.getItem("tabName"),_=d.current?.getMessage(u,"tabname");if(y===_||!y){const g=QM[h.replace("-","_")]?.tabname||d.current?.getMessage(h,"tabname")||"Mue";localStorage.setItem("tabName",g),document.title=g}localStorage.setItem("language",h),localStorage.removeItem("currentWeather"),l(h)},[u]),f=k.useCallback((h,y={})=>Cb(h)?ya(h):d.current?d.current.getMessage(u,h,y):h,[u]);k.useEffect(()=>{const h=y=>{y?.language&&c(y.language)};return ve.on("languageChange",h),()=>{ve.off("languageChange",h)}},[c]),k.useEffect(()=>{pe.getMessage=(h,y={})=>f(h,y)},[f]);const p=k.useMemo(()=>({language:u,languagecode:u,changeLanguage:c,t:f}),[u,c,f]);return w.jsx(xb.Provider,{value:p,children:o})}function zb(){const o=k.useContext(xb);if(!o)throw new Error("useTranslation must be used within a TranslationProvider");return o}function Qo(){const{t:o}=zb();return o}function dA({info:o}){const n=Qo();return o.hidden===!0||!o.credit||localStorage.getItem("photoInformation")==="false"?null:w.jsx("div",{className:"photoInformation",style:{position:"absolute",left:"1rem",bottom:"1rem",padding:"4px 10px",borderRadius:"10px",fontSize:"0.8rem",color:"#fff",background:"rgba(0, 0, 0, 0.45)"},children:w.jsxs("span",{id:"credit",children:[n("widgets.background.credit")," ",o.credit]})})}const cA=k.memo(dA);var Tb={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},N_=_e.createContext&&_e.createContext(Tb),mA=["attr","size","title"];function pA(o,n){if(o==null)return{};var u,l,d=fA(o,n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(o);for(l=0;l<c.length;l++)u=c[l],n.indexOf(u)===-1&&{}.propertyIsEnumerable.call(o,u)&&(d[u]=o[u])}return d}function fA(o,n){if(o==null)return{};var u={};for(var l in o)if({}.hasOwnProperty.call(o,l)){if(n.indexOf(l)!==-1)continue;u[l]=o[l]}return u}function Il(){return Il=Object.assign?Object.assign.bind():function(o){for(var n=1;n<arguments.length;n++){var u=arguments[n];for(var l in u)({}).hasOwnProperty.call(u,l)&&(o[l]=u[l])}return o},Il.apply(null,arguments)}function E_(o,n){var u=Object.keys(o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);n&&(l=l.filter(function(d){return Object.getOwnPropertyDescriptor(o,d).enumerable})),u.push.apply(u,l)}return u}function Ul(o){for(var n=1;n<arguments.length;n++){var u=arguments[n]!=null?arguments[n]:{};n%2?E_(Object(u),!0).forEach(function(l){gA(o,l,u[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(u)):E_(Object(u)).forEach(function(l){Object.defineProperty(o,l,Object.getOwnPropertyDescriptor(u,l))})}return o}function gA(o,n,u){return(n=hA(n))in o?Object.defineProperty(o,n,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[n]=u,o}function hA(o){var n=_A(o,"string");return typeof n=="symbol"?n:n+""}function _A(o,n){if(typeof o!="object"||!o)return o;var u=o[Symbol.toPrimitive];if(u!==void 0){var l=u.call(o,n);if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(o)}function Nb(o){return o&&o.map((n,u)=>_e.createElement(n.tag,Ul({key:u},n.attr),Nb(n.child)))}function le(o){return n=>_e.createElement(vA,Il({attr:Ul({},o.attr)},n),Nb(o.child))}function vA(o){var n=u=>{var l=o.attr,d=o.size,c=o.title,f=pA(o,mA),p=d||u.size||"1em",h;return u.className&&(h=u.className),o.className&&(h=(h?h+" ":"")+o.className),_e.createElement("svg",Il({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},u.attr,l,f,{className:h,style:Ul(Ul({color:o.color||u.color},u.style),o.style),height:p,width:p,xmlns:"http://www.w3.org/2000/svg"}),c&&_e.createElement("title",null,c),o.children)};return N_!==void 0?_e.createElement(N_.Consumer,null,u=>n(u)):n(Tb)}function bA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"circle",attr:{cx:"12",cy:"4",r:"2"},child:[]},{tag:"path",attr:{d:"M15.89 8.11C15.5 7.72 14.83 7 13.53 7h-2.54C8.24 6.99 6 4.75 6 2H4c0 3.16 2.11 5.84 5 6.71V22h2v-6h2v6h2V10.05L18.95 14l1.41-1.41z"},child:[]}]})(o)}function WT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M21 3H3c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5a2 2 0 0 0-2-2m0 14H3V5h18z"},child:[]}]})(o)}function QT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M17 10H7v2h10zm2-7h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V8h14zm-5-5H7v2h7z"},child:[]}]})(o)}function Ls(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M17.65 6.35A7.96 7.96 0 0 0 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"},child:[]}]})(o)}function yA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"},child:[]}]})(o)}function Eb(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"},child:[]}]})(o)}function Is(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(o)}function kA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"},child:[]}]})(o)}function Nm(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},child:[]}]})(o)}function ZT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"},child:[]}]})(o)}function jb(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"},child:[]}]})(o)}function wA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"},child:[]}]})(o)}function SA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 17v2h6v-2zM3 5v2h10V5zm10 16v-2h8v-2h-8v-2h-2v6zM7 9v2H3v2h4v2h2V9zm14 4v-2H11v2zm-6-4h2V7h4V5h-4V3h-2z"},child:[]}]})(o)}function XT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"},child:[]}]})(o)}function MA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 5v4h2V5h4V3H5c-1.1 0-2 .9-2 2m2 10H3v4c0 1.1.9 2 2 2h4v-2H5zm14 4h-4v2h4c1.1 0 2-.9 2-2v-4h-2zm0-16h-4v2h4v4h2V5c0-1.1-.9-2-2-2"},child:[]}]})(o)}function AA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4z"},child:[]},{tag:"path",attr:{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 10-2.5-1.5L15 12V4h5z"},child:[]}]})(o)}function JT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2zm-3 4V8h-3V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8zM5 19l3-4 2 3 3-4 4 5z"},child:[]}]})(o)}function $T(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M5 20h14v-2H5zm0-10h4v6h6v-6h4l-7-7z"},child:[]}]})(o)}function eN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"},child:[]}]})(o)}function CA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"},child:[]}]})(o)}function xA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3"},child:[]}]})(o)}function Db(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 9V7c0-1.1-.9-2-2-2h-3c0-1.66-1.34-3-3-3S9 3.34 9 5H6c-1.1 0-2 .9-2 2v2c-1.66 0-3 1.34-3 3s1.34 3 3 3v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c1.66 0 3-1.34 3-3s-1.34-3-3-3M7.5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S9.83 13 9 13s-1.5-.67-1.5-1.5M16 17H8v-2h8zm-1-4c-.83 0-1.5-.67-1.5-1.5S14.17 10 15 10s1.5.67 1.5 1.5S15.83 13 15 13"},child:[]}]})(o)}function zA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 4V3c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6h1v4H9v11c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-9h8V4z"},child:[]}]})(o)}function tN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 9H4v2h16zM4 15h16v-2H4z"},child:[]}]})(o)}function j_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M22 7h-9v2h9zm0 8h-9v2h9zM5.54 11 2 7.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41zm0 8L2 15.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41z"},child:[]}]})(o)}function Ob(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",d:"M16 9V4h1c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3"},child:[]}]})(o)}function aN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.43-.98 2.63-2.31 2.98l1.46 1.46C20.88 15.61 22 13.95 22 12c0-2.76-2.24-5-5-5m-1 4h-2.19l2 2H16zM2 4.27l3.11 3.11A4.99 4.99 0 0 0 2 12c0 2.76 2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1 0-1.59 1.21-2.9 2.76-3.07L8.73 11H8v2h2.73L13 15.27V17h1.73l4.01 4L20 19.74 3.27 3z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 24V0"},child:[]}]})(o)}function TA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"},child:[]}]})(o)}function oN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M14.4 6 14 4H5v17h2v-7h5.6l.4 2h7V6z"},child:[]}]})(o)}function NA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"},child:[]}]})(o)}function D_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0"},child:[]},{tag:"path",attr:{d:"M8 11h8v2H8zm12.1 1H22c0-2.76-2.24-5-5-5h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M19 12h-2v3h-3v2h3v3h2v-3h3v-2h-3z"},child:[]}]})(o)}function EA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"},child:[]}]})(o)}function iN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"},child:[]}]})(o)}function jA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H6l-2 2V4h16z"},child:[]}]})(o)}function DA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8M6 13c0-1.65.67-3.15 1.76-4.24L6.34 7.34A8.01 8.01 0 0 0 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91"},child:[]}]})(o)}function nN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M13 2.05v3.03c3.39.49 6 3.39 6 6.92 0 .9-.18 1.75-.48 2.54l2.6 1.53c.56-1.24.88-2.62.88-4.07 0-5.18-3.95-9.45-9-9.95M12 19c-3.87 0-7-3.13-7-7 0-3.53 2.61-6.43 6-6.92V2.05c-5.06.5-9 4.76-9 9.95 0 5.52 4.47 10 9.99 10 3.31 0 6.24-1.61 8.06-4.09l-2.6-1.53A6.95 6.95 0 0 1 12 19"},child:[]}]})(o)}function OA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m22 5.72-4.6-3.86-1.29 1.53 4.6 3.86zM7.88 3.39 6.6 1.86 2 5.71l1.29 1.53zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9a9 9 0 0 0 0-18m0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7"},child:[]}]})(o)}function sN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},child:[]}]})(o)}function rN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"},child:[]}]})(o)}function qb(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M14 10H3v2h11zm0-4H3v2h11zM3 16h7v-2H3zm11.41 6L17 19.41 19.59 22 21 20.59 18.41 18 21 15.41 19.59 14 17 16.59 14.41 14 13 15.41 15.59 18 13 20.59z"},child:[]}]})(o)}function qA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M14 10H3v2h11zm0-4H3v2h11zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2zM3 16h7v-2H3z"},child:[]}]})(o)}function RA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 13H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2M19 3H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"},child:[]}]})(o)}function BA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m12.87 15.07-2.54-2.51.03-.03A17.5 17.5 0 0 0 14.07 6H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2zm-2.62 7 1.62-4.33L19.12 17z"},child:[]}]})(o)}function lN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6 10H6v-2h8zm4-4H6v-2h12z"},child:[]}]})(o)}function LA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.49.49 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"},child:[]}]})(o)}function Em(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"},child:[]}]})(o)}function IA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"},child:[]}]})(o)}function UA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1 1.1-.49 1.1-1.1-.49-1.1-1.1-1.1M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m2.19 12.19L6 18l3.81-8.19L18 6z"},child:[]}]})(o)}function PA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"},child:[]}]})(o)}function HA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 11H7v2h2zm4 0h-2v2h2zm4 0h-2v2h2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V9h14z"},child:[]}]})(o)}function FA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 8h-2.81a6 6 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20zm-6 8h-4v-2h4zm0-4h-4v-2h4z"},child:[]}]})(o)}function VA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m19 18 2 1V3c0-1.1-.9-2-2-2H8.99C7.89 1 7 1.9 7 3h10c1.1 0 2 .9 2 2zM15 5H5c-1.1 0-2 .9-2 2v16l7-3 7 3V7c0-1.1-.9-2-2-2"},child:[]}]})(o)}function O_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m2 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"},child:[]}]})(o)}function uN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m9 7h-6v13h-2v-6h-2v6H9V9H3V7h18z"},child:[]}]})(o)}function q_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M4 8h4V4H4zm6 12h4v-4h-4zm-6 0h4v-4H4zm0-6h4v-4H4zm6 0h4v-4h-4zm6-10v4h4V4zm-6 4h4V4h-4zm6 6h4v-4h-4zm0 6h4v-4h-4z"},child:[]}]})(o)}function GA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-4.86 8.86-3 3.87L9 13.14 6 17h12z"},child:[]}]})(o)}function dN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m19 9 1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25zM11.5 9.5 9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12zm-1.51 3.49L9 15.17l-.99-2.18L5.83 12l2.18-.99L9 8.83l.99 2.18 2.18.99z"},child:[]}]})(o)}function cN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5z"},child:[]}]})(o)}function mN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"},child:[]}]})(o)}function KA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18.62 18h-5.24l2-4H13V6h8v7.24zm-2-2h.76L19 12.76V8h-4v4h3.62zm-8 2H3.38l2-4H3V6h8v7.24zm-2-2h.76L9 12.76V8H5v4h3.62z"},child:[]}]})(o)}function YA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H6l-2 2V4h16zM7 9h2v2H7zm4 0h2v2h-2zm4 0h2v2h-2z"},child:[]}]})(o)}function WA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m23 12-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68zm-4.51 2.11.26 2.79-2.74.62-1.43 2.41L12 18.82l-2.58 1.11-1.43-2.41-2.74-.62.26-2.8L3.66 12l1.85-2.12-.26-2.78 2.74-.61 1.43-2.41L12 5.18l2.58-1.11 1.43 2.41 2.74.62-.26 2.79L20.34 12zM11 15h2v2h-2zm0-8h2v6h-2z"},child:[]}]})(o)}function pN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 6a9.77 9.77 0 0 1 8.82 5.5 9.65 9.65 0 0 1-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6m-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14M2.01 3.87l2.68 2.68A11.74 11.74 0 0 0 1 11.5C2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45zm7.5 7.5 2.61 2.61c-.04.01-.08.02-.12.02a2.5 2.5 0 0 1-2.5-2.5c0-.05.01-.08.01-.13m-3.4-3.4 1.75 1.75a4.6 4.6 0 0 0-.36 1.78 4.507 4.507 0 0 0 6.27 4.14l.98.98c-.88.24-1.8.38-2.75.38a9.77 9.77 0 0 1-8.82-5.5c.7-1.43 1.72-2.61 2.93-3.53"},child:[]}]})(o)}function fN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 6a9.77 9.77 0 0 1 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5A9.77 9.77 0 0 1 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4m0 5a2.5 2.5 0 0 1 0 5 2.5 2.5 0 0 1 0-5m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7"},child:[]}]})(o)}function QA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46a.5.5 0 0 0-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65A.49.49 0 0 0 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1a.6.6 0 0 0-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46a.5.5 0 0 0 .61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1q.09.03.18.03c.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64zm-1.98-1.71c.04.31.05.52.05.73s-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"},child:[]}]})(o)}function ZA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10.5 4.5c.28 0 .5.22.5.5v2h6v6h2c.28 0 .5.22.5.5s-.22.5-.5.5h-2v6h-2.12c-.68-1.75-2.39-3-4.38-3s-3.7 1.25-4.38 3H4v-2.12c1.75-.68 3-2.39 3-4.38S5.76 9.8 4.01 9.12L4 7h6V5c0-.28.22-.5.5-.5m0-2A2.5 2.5 0 0 0 8 5H4c-1.1 0-1.99.9-1.99 2v3.8h.29c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-.3c0-1.49 1.21-2.7 2.7-2.7s2.7 1.21 2.7 2.7v.3H17c1.1 0 2-.9 2-2v-4a2.5 2.5 0 0 0 0-5V7c0-1.1-.9-2-2-2h-4a2.5 2.5 0 0 0-2.5-2.5"},child:[]}]})(o)}function XA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"},child:[]}]})(o)}function JA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V5h14zM7 10h2v7H7zm4-3h2v10h-2zm4 6h2v4h-2z"},child:[]}]})(o)}const Yo={SETTINGS:"settings"},Re={SETTINGS:SA,LIBRARY:VA,TASKBOX:Db,DISCOVER:UA,NAVBAR:yA,GREETING:bA,TIME:OA,QUOTE:KA,QUICKLINKS:TA,DATE:HA,MESSAGE:YA,BACKGROUND:GA,SEARCH:Em,WEATHER:xA,APPEARANCE:zA,LANGUAGE:BA,ADVANCED:QA,EXPERIMENTAL:FA,STATS:JA,CHANGELOG:WA,ABOUT:IA,ADDED:ZA,CREATE:EA,OVERVIEW:RA,COLLECTIONS:AA},Fe={OVERVIEW:"modals.main.marketplace.product.overview",SETTINGS:"modals.main.navbar.settings",LIBRARY:"modals.main.navbar.library",DISCOVER:"modals.main.navbar.discover",NAVBAR:"modals.main.settings.sections.appearance.navbar.title",GREETING:"modals.main.settings.sections.greeting.title",TIME:"modals.main.settings.sections.time.title",QUICKLINKS:"modals.main.settings.sections.quicklinks.title",QUOTE:"modals.main.settings.sections.quote.title",DATE:"modals.main.settings.sections.date.title",MESSAGE:"modals.main.settings.sections.message.title",BACKGROUND:"modals.main.settings.sections.background.title",SEARCH:"modals.main.settings.sections.search.title",WEATHER:"modals.main.settings.sections.weather.title",APPEARANCE:"modals.main.settings.sections.appearance.title",LANGUAGE:"modals.main.settings.sections.language.title",ADVANCED:"modals.main.settings.sections.advanced.title",STATS:"modals.main.settings.sections.stats.title",EXPERIMENTAL:"modals.main.settings.sections.experimental.title",CHANGELOG:"modals.main.settings.sections.changelog.title",ABOUT:"modals.main.settings.sections.about.title",ADDED:"modals.main.addons.added",CREATE:"modals.main.addons.create.title",ALL_MARKETPLACE:"modals.main.marketplace.all",PHOTO_PACKS:"modals.main.marketplace.photo_packs",QUOTE_PACKS:"modals.main.marketplace.quote_packs",PRESET_SETTINGS:"modals.main.marketplace.preset_settings",COLLECTIONS:"modals.main.marketplace.collections"},gN=(o,n)=>({[n.getMessage(Fe.OVERVIEW)]:Re.OVERVIEW,[n.getMessage(Fe.SETTINGS)]:Re.SETTINGS,[n.getMessage(Fe.LIBRARY)]:Re.LIBRARY,[n.getMessage(Fe.DISCOVER)]:Re.DISCOVER,[n.getMessage(Fe.NAVBAR)]:Re.NAVBAR,[n.getMessage(Fe.GREETING)]:Re.GREETING,[n.getMessage(Fe.TIME)]:Re.TIME,[n.getMessage(Fe.QUICKLINKS)]:Re.QUICKLINKS,[n.getMessage(Fe.QUOTE)]:Re.QUOTE,[n.getMessage(Fe.DATE)]:Re.DATE,[n.getMessage(Fe.MESSAGE)]:Re.MESSAGE,[n.getMessage(Fe.BACKGROUND)]:Re.BACKGROUND,[n.getMessage(Fe.SEARCH)]:Re.SEARCH,[n.getMessage(Fe.WEATHER)]:Re.WEATHER,[n.getMessage(Fe.APPEARANCE)]:Re.APPEARANCE,[n.getMessage(Fe.LANGUAGE)]:Re.LANGUAGE,[n.getMessage(Fe.ADVANCED)]:Re.ADVANCED,[n.getMessage(Fe.STATS)]:Re.STATS,[n.getMessage(Fe.EXPERIMENTAL)]:Re.EXPERIMENTAL,[n.getMessage(Fe.CHANGELOG)]:Re.CHANGELOG,[n.getMessage(Fe.ABOUT)]:Re.ABOUT,[n.getMessage("wb.settings_credits")]:Re.ABOUT,[n.getMessage("wb.settings_taskbox")]:Re.TASKBOX,[n.getMessage(Fe.ADDED)]:Re.ADDED,[n.getMessage(Fe.CREATE)]:Re.CREATE,[n.getMessage(Fe.ALL_MARKETPLACE)]:Re.LIBRARY,[n.getMessage(Fe.PHOTO_PACKS)]:Re.BACKGROUND,[n.getMessage(Fe.QUOTE_PACKS)]:Re.QUOTE,[n.getMessage(Fe.PRESET_SETTINGS)]:Re.ADVANCED,[n.getMessage(Fe.COLLECTIONS)]:Re.COLLECTIONS})[o],$A=[{tab:Yo.SETTINGS,icon:Re.SETTINGS,messageKey:"modals.main.navbar.settings"}],hN=["modals.main.settings.sections.appearance.title","modals.main.settings.sections.advanced.title"],Pl=(o=window.location.hash)=>{if(!o||o==="#")return null;const[n,u,l]=o.slice(1).split("/");return n!==Yo.SETTINGS?null:{tab:n,section:u||void 0,subSection:l||void 0}},Hl=(o,n=!0)=>{window.history.pushState?n?window.history.pushState(null,null,o):window.history.replaceState(null,null,o):window.location.hash=o},eC=()=>Pl()!==null,tC="MueCustomBackgrounds",aC=1,zt="backgrounds";function Ti(){return new Promise((o,n)=>{const u=indexedDB.open(tC,aC);u.onerror=()=>n(u.error),u.onsuccess=()=>o(u.result),u.onupgradeneeded=l=>{const d=l.target.result;d.objectStoreNames.contains(zt)||d.createObjectStore(zt,{keyPath:"id",autoIncrement:!0}).createIndex("url","url",{unique:!1})}})}async function Rb(){try{const l=(await Ti()).transaction(zt,"readonly").objectStore(zt).getAll();return new Promise((d,c)=>{l.onsuccess=()=>{const f=l.result;d(f.map(p=>typeof p.url=="string"&&!p.name?{id:p.id,url:p.url,name:`Image ${p.id}`,uploadDate:p.createdAt||Date.now(),dimensions:null,fileSize:null,folder:"",blurHash:null}:p))},l.onerror=()=>c(l.error)})}catch(o){return console.error("Error getting backgrounds from IndexedDB:",o),[]}}async function oC(){return(await Rb()).map(n=>n.url||n)}async function iC(o){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt),d=typeof o=="string"?{url:o,name:"Image",uploadDate:Date.now(),folder:""}:{...o,uploadDate:o.uploadDate||Date.now()},c=l.add(d);return new Promise((f,p)=>{c.onsuccess=()=>f(c.result),c.onerror=()=>p(c.error)})}async function _N(o){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt),d=l.getAll();return new Promise((c,f)=>{d.onsuccess=()=>{const p=d.result;if(p[o]){const h=l.delete(p[o].id);h.onsuccess=()=>c(),h.onerror=()=>f(h.error)}else c()},d.onerror=()=>f(d.error)})}async function vN(o){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt),d=l.getAll();return new Promise((c,f)=>{d.onsuccess=()=>{const p=d.result,h=o.filter(g=>p[g]).map(g=>p[g].id);let y=0;const _=h.length;if(_===0){c();return}h.forEach(g=>{const b=l.delete(g);b.onsuccess=()=>{y++,y===_&&c()},b.onerror=()=>f(b.error)})},d.onerror=()=>f(d.error)})}async function nC(){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt).clear();return new Promise((d,c)=>{l.onsuccess=()=>d(),l.onerror=()=>c(l.error)})}async function sC(){const l=(await Ti()).transaction(zt,"readonly").objectStore(zt).count();return new Promise((d,c)=>{l.onsuccess=()=>d(l.result),l.onerror=()=>c(l.error)})}async function bN(o,n){const d=(await Ti()).transaction(zt,"readwrite").objectStore(zt),c=d.get(o);return new Promise((f,p)=>{c.onsuccess=()=>{const h=c.result;if(h){Object.assign(h,n),h.updatedAt=Date.now();const y=d.put(h);y.onsuccess=()=>f(),y.onerror=()=>p(y.error)}else p(new Error("Background not found"))},c.onerror=()=>p(c.error)})}async function yN(){try{const o=localStorage.getItem("customBackground");if(!o||o==="null"||o==="[]")return!1;let n=[];try{n=JSON.parse(o),Array.isArray(n)||(n=[o])}catch{n=[o]}if(n=n.filter(l=>l&&l.trim()!==""),n.length===0||await sC()>0)return!1;for(const l of n)await iC(l);return console.log(`Migrated ${n.length} backgrounds from localStorage to IndexedDB`),localStorage.setItem("customBackgroundMigrated","true"),!0}catch(o){return console.error("Error migrating backgrounds:",o),!1}}function rC({photoInfo:o,currentAPI:n,url:u}){const l=localStorage.getItem("backgroundType")==="custom",[d,c]=k.useState([]),[f,p]=k.useState(!0);k.useEffect(()=>{(async()=>{if(l)try{const g=await oC();c(g||[])}catch(g){console.error("Failed to load custom backgrounds:",g),c([])}p(!1)})()},[l,u]);const h=l&&!f&&(!d||d.length===0),y=()=>{Hl("#settings/background/source"),ve.emit("modal","openMainModal")};return w.jsxs(w.Fragment,{children:[w.jsx("div",{id:"backgroundImage"}),h&&w.jsxs("div",{style:{position:"absolute",bottom:"20px",left:"20px",color:"white",background:"rgba(0, 0, 0, 0.6)",padding:"20px 30px",borderRadius:"10px",zIndex:1},children:[w.jsx("h2",{style:{margin:"0 0 10px 0",fontSize:"20px"},children:pe.getMessage("widgets.background.no_images_title")||"No Custom Images"}),w.jsx("p",{style:{margin:"0 0 15px 0",fontSize:"14px",opacity:.9},children:pe.getMessage("widgets.background.no_images_description")||"Please add custom images in the Background settings"}),w.jsx("button",{onClick:y,style:{background:"rgba(255, 255, 255, 0.2)",border:"1px solid rgba(255, 255, 255, 0.3)",color:"white",padding:"10px 20px",borderRadius:"5px",cursor:"pointer",fontSize:"14px",fontWeight:"500",transition:"all 0.2s"},onMouseOver:_=>{_.target.style.background="rgba(255, 255, 255, 0.3)"},onMouseOut:_=>{_.target.style.background="rgba(255, 255, 255, 0.2)"},children:pe.getMessage("widgets.background.add_images_button")||"Add Images"})]}),o?.credit&&w.jsx(cA,{info:o,api:n,url:u})]})}const lC=k.memo(rC),R_=()=>({muted:localStorage.getItem("backgroundVideoMute")==="true",loop:localStorage.getItem("backgroundVideoLoop")==="true"});function uC({url:o,filterStyle:n}){const[{muted:u,loop:l},d]=k.useState(R_);return k.useEffect(()=>{const c=f=>{f==="backgroundvideo"&&d(R_())};return ve.on("refresh",c),()=>ve.off("refresh",c)},[]),w.jsx("video",{autoPlay:!0,muted:u,loop:l,style:n,id:"backgroundVideo",children:w.jsx("source",{src:o})})}const dC=k.memo(uC);function cC(){const[o,n]=k.useState({url:"",style:"",type:"",currentAPI:"",video:!1,photoInfo:{hidden:!1,offline:!1,photographerURL:"",photoURL:""}}),u=k.useCallback(d=>{n(c=>({...c,...d,photoInfo:{...c.photoInfo,...d.photoInfo||{}}}))},[]),l=k.useCallback(()=>{n({url:"",style:"",type:"",currentAPI:"",video:!1,photoInfo:{hidden:!0}})},[]);return{backgroundData:o,updateBackground:u,resetBackground:l}}const mC={photo:[5]},$c={"Ryan Hutton":{photo:[1]},"Francesco De Tommaso":{photo:[2]},"Andy Vu":{photo:[3]},"Sergi Ferrete":{photo:[4]},Pixabay:mC};function Bb(o){const n=Object.keys($c),u=n[Math.floor(Math.random()*n.length)],d={url:`src/assets/offline-images/${$c[u].photo[Math.floor(Math.random()*$c[u].photo.length)]}.webp`,type:o,photoInfo:{offline:!0,credit:u}};return localStorage.setItem("currentBackground",JSON.stringify(d)),d}function pC(o){const n=()=>"#000000".replace(/0/g,()=>(~~(Math.random()*16)).toString(16));let u=`background:${n()};`;if(o==="random_gradient"){const l=["to right","to left","to bottom","to top","to bottom right","to bottom left","to top right","to top left"];u=`background:linear-gradient(${l[Math.floor(Math.random()*l.length)]}, ${n()}, ${n()});`}return{type:"colour",style:u}}function Lb(o){return o.startsWith("data:video/")||o.startsWith("video/")||o.endsWith(".mp4")||o.endsWith(".webm")||o.endsWith(".ogg")}const Ib=(o,n=null)=>{const u=localStorage.getItem(o);if(u===null||u==="null")return n;try{const l=JSON.parse(u);return l!==null?l:n}catch{return n}};async function fC(){const o=localStorage.getItem("offlineMode")==="true"||localStorage.getItem("showWelcome")==="true",n=Ib("favourite");if(n)return n.type==="random_colour"||n.type==="random_gradient"?{type:"colour",style:`background:${n.url}`}:{url:n.url,photoInfo:{...n,url:n.url}};const u=localStorage.getItem("backgroundType");switch(u){case"api":return hC();case"colour":return gC();case"random_colour":case"random_gradient":return pC(u);case"custom":return await _C(o);default:return null}}function gC(){return{type:"colour",style:`background: ${localStorage.getItem("customBackgroundColour")||"rgb(0,0,0)"}`}}function hC(){return{...Bb("api"),currentAPI:localStorage.getItem("backgroundAPI")||"mue"}}async function _C(o){let n=await Rb();if(!n||n.length===0){const c=Ib("customBackground",[]);c&&c.length>0&&(n=c.map(f=>({url:f,photoInfo:{hidden:!0}})))}if(!n||n.length===0)return null;const u=n[Math.floor(Math.random()*n.length)];if(!u)return null;const l=u.url||u;if(o&&!l.startsWith("data:"))return Bb("custom");const d={url:l,type:"custom",video:Lb(l),photoInfo:{hidden:!0,blur_hash:u.blurHash||null}};try{localStorage.setItem("currentBackground",JSON.stringify({type:"custom",video:d.video,photoInfo:d.photoInfo}))}catch(c){console.warn("Could not save currentBackground to localStorage:",c)}return d}function vC(o,n){const u=k.useRef(0),l=k.useCallback(async()=>{const c=++u.current,f=()=>c!==u.current;try{if(localStorage.getItem("welcomeTab")){const y=localStorage.getItem("welcomeImage");if(y){o(JSON.parse(y));return}}const h=await fC();if(f())return;h&&o(h)}catch(p){console.error("Failed to load background:",p)}},[o]),d=k.useCallback(()=>{n(),l()},[l,n]);return k.useEffect(()=>{const c=localStorage.getItem("backgroundchange");(!localStorage.getItem("backgroundStartTime")||c==="refresh")&&localStorage.setItem("backgroundStartTime",Date.now()),l()},[l]),{loadBackground:l,refreshBackground:d}}async function bC(o){try{const n=await fetch(o,{mode:"cors",credentials:"omit"});if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);const u=await n.blob();return URL.createObjectURL(u)}catch{return null}}const yC="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz#$%*+,-.:;=?@[]^_{|}~",Ol=(o,n,u)=>{let l=0;for(;n<u;)l=l*83+yC.indexOf(o[n++]);return l},Ub=Math.pow,js=Math.PI,Pb=3294.6,Hb=269.025,kC=o=>o>10.31475?Ub(o/Hb+.052132,2.4):o/Pb,wC=o=>~~(o>1227e-8?Hb*Ub(o,.416666)-13.025:o*Pb+1),Fl=4096,Fb=new Uint8ClampedArray(Fl+1);for(let o=0;o<=Fl;o++)Fb[o]=wC(o/Fl);const em=o=>o<=0?0:o>=1?255:Fb[o*Fl+.5|0],Ds=o=>(o<0?-1:1)*o*o,B_=o=>{for(o+=js/2;o>js;)o-=js*2;const n=1.27323954*o-.405284735*Ds(o);return .225*(Ds(n)-n)+n};function SC(o){const n=Ol(o,2,6);return[n>>16,n>>8&255,n&255]}function MC(o,n,u,l){const d=Ol(o,0,1),c=d%9+1,f=~~(d/9)+1,p=c*f;let h,y,_,g,b,S,C,x,A,j,z,L;const G=(Ol(o,1,2)+1)/13446*(l|1),Z=new Float64Array(p*3),H=SC(o);for(h=0;h<3;h++)Z[h]=kC(H[h]);for(h=1;h<p;h++)L=Ol(o,4+h*2,6+h*2),Z[h*3]=Ds(~~(L/361)-9)*G,Z[h*3+1]=Ds(~~(L/19)%19-9)*G,Z[h*3+2]=Ds(L%19-9)*G;const D=new Float64Array(f*u),q=new Float64Array(c*n);for(y=0;y<f;y++)for(g=0;g<u;g++)D[y*u+g]=B_(js*g*y/u);for(h=0;h<c;h++)for(_=0;_<n;_++)q[h*n+_]=B_(js*_*h/n);const V=n*4,$=new Uint8ClampedArray(V*u),W=new Float64Array(c*3);for(g=0;g<u;g++){for(h=0;h<c;h++){for(b=S=C=0,y=0;y<f;y++)A=D[y*u+g],j=(h+y*c)*3,b+=Z[j]*A,S+=Z[j+1]*A,C+=Z[j+2]*A;W[h*3]=b,W[h*3+1]=S,W[h*3+2]=C}for(_=0;_<n;_++){for(b=S=C=0,h=0;h<c;h++)x=q[h*n+_],j=h*3,b+=W[j]*x,S+=W[j+1]*x,C+=W[j+2]*x;z=4*_+g*V,$[z]=em(b),$[z+1]=em(S),$[z+2]=em(C),$[z+3]=255}}return $}function AC(o,n=32,u=32){try{const l=document.createElement("canvas");l.width=n,l.height=u;const d=l.getContext("2d"),c=d.createImageData(n,u);return c.data.set(MC(o,n,u)),d.putImageData(c,0,0),l.toDataURL()}catch(l){return console.error("Failed to generate blur hash:",l),null}}function jm(){const o=localStorage.getItem("blur")||"0",n=localStorage.getItem("brightness")||"100",u=localStorage.getItem("backgroundFilter"),l=localStorage.getItem("backgroundFilterAmount")||"100";let d=`blur(${o}px) brightness(${n}%)`;return u&&u!=="none"&&(d+=` ${u}(${l}%)`),d}function Dm(){const o=localStorage.getItem("blur")||"0",n=localStorage.getItem("brightness")||"100",u=localStorage.getItem("backgroundFilter"),l=localStorage.getItem("backgroundFilterAmount")||"100";let d=`blur(${o}px)`;u&&u!=="none"&&(d+=` ${u}(${l}%)`);const f=(100-parseInt(n,10))/100;return{backdropFilter:d,WebkitBackdropFilter:d,backgroundColor:`rgba(0, 0, 0, ${f})`}}const L_=1200;function CC(o){const n=k.useRef(null);k.useEffect(()=>{if(o.video)return;const u=document.getElementById("backgroundImage");if(!u)return;let l=!1,d=null;return(async()=>{if(o.url){const f=localStorage.getItem("bgtransition")!=="false",p=window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(!f||p){u.style.background=`url(${o.url})`,document.querySelector(".photoInformation")?.style.setProperty("display","flex");return}let h=document.getElementById("backgroundOverlay");if(h||(h=document.createElement("div"),h.id="backgroundOverlay",u.parentNode.insertBefore(h,u.nextSibling)),o.photoInfo?.colour&&(u.style.backgroundColor=o.photoInfo.colour),o.photoInfo?.blur_hash){const b=AC(o.photoInfo.blur_hash,64,64);b&&(u.style.backgroundImage=`url(${b})`)}const y=await bC(o.url);if(l){y&&URL.revokeObjectURL(y);return}const _=y||o.url;y&&(n.current&&URL.revokeObjectURL(n.current),n.current=y);const g=new Image;if(g.src=_,await new Promise(b=>{g.onload=b,g.onerror=b}),l)return;h.style.transition="none",h.style.opacity="0",h.style.backgroundImage="",h.offsetHeight,h.style.backgroundImage=`url(${_})`,h.offsetHeight,h.style.transition=`opacity ${L_/1e3}s ease-in-out`,h.offsetHeight,h.style.opacity="1",d=setTimeout(()=>{u.style.backgroundImage=`url(${_})`,h.style.opacity="0",h.style.backgroundImage=""},L_+100)}else o.style&&u.setAttribute("style",o.style)})(),()=>{l=!0,clearTimeout(d),n.current&&(URL.revokeObjectURL(n.current),n.current=null);const f=document.getElementById("backgroundOverlay");f&&f.remove()}},[o.url,o.style,o.video,o.photoInfo])}function xC(){return k.useMemo(()=>({WebkitFilter:jm()}),[])}function zC(){return k.useMemo(()=>Dm(),[])}function TC(o,n){k.useEffect(()=>{const u=c=>{c==="welcomeLanguage"?localStorage.setItem("welcomeImage",JSON.stringify(o)):c==="background"?l():["backgroundwelcome","backgroundrefresh"].includes(c)?n():c==="backgroundeffect"&&d()},l=()=>{const c=document.getElementById(o.video?"backgroundVideo":"backgroundImage"),f=document.querySelector(".photoInformation");if(!(localStorage.getItem("background")!=="false")){c?.style.setProperty("display","none"),o.photoInfo?.hidden||f?.style.setProperty("display","none");return}c?.style.setProperty("display","block"),o.photoInfo?.hidden||f?.style.setProperty("display","flex");const h=localStorage.getItem("backgroundType");(h!==o.type&&!(o.photoInfo?.offline&&h===o.type)||o.type==="api"&&localStorage.getItem("backgroundAPI")!==o.currentAPI||h==="custom"&&o.type!=="custom"||h==="colour"||o.photoInfo?.pun&&JSON.parse(localStorage.getItem("backgroundExclude")||"[]").includes(o.photoInfo.pun))&&n()},d=()=>{if(o.video){const c=jm(),f=document.getElementById("backgroundVideo");f&&(f.style.webkitFilter=c)}else{const c=document.getElementById("backgroundFilterOverlay");if(c){const f=Dm();c.style.backdropFilter=f.backdropFilter,c.style.webkitBackdropFilter=f.WebkitBackdropFilter,c.style.backgroundColor=f.backgroundColor}}};return ve.on("refresh",u),()=>ve.off("refresh",u)},[o,n])}function NC(){const{backgroundData:o,updateBackground:n,resetBackground:u}=cC(),{refreshBackground:l}=vC(n,u),d=xC(),c=zC();return CC(o),TC(o,l),w.jsxs(w.Fragment,{children:[o.video?w.jsx(dC,{url:o.url,filterStyle:d}):w.jsx(lC,{photoInfo:o.photoInfo,currentAPI:o.currentAPI,url:o.url}),w.jsx("div",{id:"backgroundFilterOverlay",style:c})]})}const EC=(function(){const n=typeof document<"u"&&document.createElement("link").relList;return n&&n.supports&&n.supports("modulepreload")?"modulepreload":"preload"})(),jC=function(o,n){return new URL(o,n).href},I_={},Om=function(n,u,l){let d=Promise.resolve();if(u&&u.length>0){let y=function(_){return Promise.all(_.map(g=>Promise.resolve(g).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const f=document.getElementsByTagName("link"),p=document.querySelector("meta[property=csp-nonce]"),h=p?.nonce||p?.getAttribute("nonce");d=y(u.map(_=>{if(_=jC(_,l),_ in I_)return;I_[_]=!0;const g=_.endsWith(".css"),b=g?'[rel="stylesheet"]':"";if(l)for(let C=f.length-1;C>=0;C--){const x=f[C];if(x.href===_&&(!g||x.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${_}"]${b}`))return;const S=document.createElement("link");if(S.rel=g?"stylesheet":EC,g||(S.as="script"),S.crossOrigin="",S.href=_,h&&S.setAttribute("nonce",h),document.head.appendChild(S),g)return new Promise((C,x)=>{S.addEventListener("load",C),S.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${_}`)))})}))}function c(f){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=f,window.dispatchEvent(p),!p.defaultPrevented)throw f}return d.then(f=>{for(const p of f||[])p.status==="rejected"&&c(p.reason);return n().catch(c)})};function Vb(o){if(o>3&&o<21)return o+"th";switch(o%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd";default:return o+"th"}}function qm(o,n){return new Date((typeof o=="string"?new Date(o):o).toLocaleString("en-US",{timeZone:n}))}function Gb(){const o=localStorage.getItem("language")?.replace(/_/g,"-")||"en-GB",n={ar:"arab",fa:"arabext",bn:"beng",hi:"deva",mr:"deva",ne:"deva",ta:"tamldec"},u=o.split("-")[0];return n[u]?`${o}-u-nu-${n[u]}`:o}function DC(o){if(localStorage.getItem("localeFormatting")==="false")return Math.round(o*100)+"%";try{return new Intl.NumberFormat(Gb(),{style:"percent",maximumFractionDigits:0}).format(o)}catch{return Math.round(o*100)+"%"}}function Es(o){if(localStorage.getItem("localeFormatting")==="false")return String(o);try{const u=typeof o=="string"?parseInt(o,10):o;return isNaN(u)?String(o):new Intl.NumberFormat(Gb(),{useGrouping:!1}).format(u)}catch{return String(o)}}const OC=k.lazy(()=>Om(()=>import("./index-DfKEmD7L.js"),[],import.meta.url));function qC({time:o}){const n=u=>localStorage.getItem(u)==="true";return w.jsx(k.Suspense,{fallback:w.jsx(w.Fragment,{}),children:w.jsx("div",{className:`clockBackground ${n("roundClock")?"round":""}`,children:w.jsx(OC,{className:"analogclock clock-container",value:o,size:1.5*Number(localStorage.getItem("zoomClock")||100),renderMinuteMarks:n("minuteMarks"),renderHourMarks:n("hourMarks"),renderSecondHand:n("secondHand"),renderMinuteHand:n("minuteHand"),renderHourHand:n("hourHand")})})})}function RC({finalHour:o,finalMinute:n,finalSeconds:u}){const l=localStorage.getItem("hourColour")||"#fff",d=localStorage.getItem("minuteColour")||"#fff",c=localStorage.getItem("secondColour")||"#fff";return w.jsxs("span",{className:"vertical-clock clock-container",children:[w.jsx("div",{className:"hour",style:{color:l},children:o}),w.jsx("div",{className:"minute",style:{color:d},children:n}),w.jsx("div",{className:"seconds",style:{color:c},children:u})]})}const Yt=o=>String(o).split("").map(u=>Es(u)).join(""),BC=()=>{const[o]=k.useState(localStorage.getItem("timeType")),[n,u]=k.useState(""),[l,d]=k.useState(""),[c,f]=k.useState(""),[p,h]=k.useState(""),[y,_]=k.useState(""),[g,b]=k.useState("block"),[S,C]=k.useState("4em"),x=k.useRef(void 0),A=(j=localStorage.getItem("seconds")==="true"||localStorage.getItem("timeType")==="analogue"?1e3-Date.now()%1e3:6e4-Date.now()%6e4)=>{x.current=setTimeout(()=>{let z=new Date;const L=localStorage.getItem("timezone");switch(L&&L!=="auto"&&(z=qm(z,L)),localStorage.getItem("timeType")){case"percentageComplete":u(DC(z.getHours()/24)),_("");break;case"analogue":Om(()=>Promise.resolve({}),__vite__mapDeps([0]),import.meta.url),u(z);break;default:{let G,Z="";const H=localStorage.getItem("zero");if(localStorage.getItem("seconds")==="true"){const D=("00"+z.getSeconds()).slice(-2);Z=`:${Yt(D)}`,h(Yt(D))}else h("");if(localStorage.getItem("timeformat")==="twentyfourhour"){const D=("00"+z.getMinutes()).slice(-2);if(H==="true"){const q=("00"+z.getHours()).slice(-2);G=`${Yt(q)}:${Yt(D)}${Z}`,d(Yt(q)),f(Yt(D))}else{const q=z.getHours();G=`${Es(q)}:${Yt(D)}${Z}`,d(Es(q)),f(Yt(D))}u(G),_("")}else{let D=z.getHours();D>12?D-=12:D===0&&(D=12);const q=("00"+z.getMinutes()).slice(-2);if(H==="true"){const V=("00"+D).slice(-2);G=`${Yt(V)}:${Yt(q)}${Z}`,d(Yt(V)),f(Yt(q))}else G=`${Es(D)}:${Yt(q)}${Z}`,d(Es(D)),f(Yt(q));u(G),_(z.getHours()>11?"PM":"AM")}break}}A()},j)};return k.useEffect(()=>{const j=z=>{if(z==="clock"||z==="timezone"){if(localStorage.getItem("time")==="false"){b("none");return}clearTimeout(x.current),x.current=null,A(0),b("block"),C(`${4*Number((localStorage.getItem("zoomClock")||100)/100)}em`)}};return localStorage.getItem("timeType")!=="analogue"&&C(`${4*Number((localStorage.getItem("zoomClock")||100)/100)}em`),A(0),ve.on("refresh",j),()=>{ve.off("refresh",j),x.current&&clearTimeout(x.current)}},[]),localStorage.getItem("timeType")==="analogue"?w.jsx(qC,{time:n}):localStorage.getItem("timeType")==="verticalClock"?w.jsx(RC,{finalHour:l,finalMinute:c,finalSeconds:p}):w.jsxs("span",{className:"clock clock-container",style:{display:g,fontSize:S},children:[n,w.jsx("span",{className:"ampm",children:y})]})},LC=(o,n)=>{if(!(localStorage.getItem("events")!=="false"))return n;const l=o.getMonth(),d=o.getDate(),f=JSON.parse(localStorage.getItem("customEvents")||"[]").find(p=>p.month-1===l&&p.date===d);return f&&(n=f.name),n},U_=o=>{const n=Date.now()-o.getTime(),u=new Date(n);return Math.abs(u.getUTCFullYear()-1970)},IC=()=>{const o=Qo(),[n,u]=k.useState(""),[l,d]=k.useState("block"),[c,f]=k.useState("1.6em"),p=k.useRef(),h=k.useRef(null),y=(_=6e4-Date.now()%6e4)=>{h.current=setTimeout(()=>{let g=new Date;const b=localStorage.getItem("timezone");b&&b!=="auto"&&(g=qm(g,b));const S=g.getHours();let C;switch(!0){case S<12:C=o("widgets.greeting.morning");break;case S<18:C=o("widgets.greeting.afternoon");break;default:C=o("widgets.greeting.evening");break}const x=localStorage.getItem("defaultGreetingMessage");x==="false"?C="":C=LC(g,C);let A="";const j=localStorage.getItem("greetingName");typeof j=="string"&&j.replace(/\s/g,"").length>0&&(A=`, ${j.trim()}`);const z=localStorage.getItem("birthdayenabled");if(x==="false"&&z!=="true"&&(A=A.replace(",","")),z==="true"){const L=new Date(localStorage.getItem("birthday"));if(L.getDate()===g.getDate()&&L.getMonth()===g.getMonth())if(localStorage.getItem("birthdayage")==="true"&&U_(L)!==0){const G=o("widgets.greeting.birthday").split(" ");C=`${G[0]} ${Vb(U_(L))} ${G[1]}`}else C=o("widgets.greeting.birthday")}u(`${C}${A}`),y()},_)};return k.useEffect(()=>{const _=b=>{if(b==="greeting"||b==="timezone"){const S=localStorage.getItem("greeting"),C=localStorage.getItem("zoomGreeting");d(S==="false"?"none":"block"),f(`${1.6*Number((C||100)/100)}em`),S!=="false"&&(h.current&&clearTimeout(h.current),y(0))}},g=localStorage.getItem("zoomGreeting");return f(`${1.6*Number((g||100)/100)}em`),y(0),ve.on("refresh",_),()=>{ve.off("refresh",_),h.current&&clearTimeout(h.current)}},[o]),w.jsx("span",{className:"greeting",ref:p,style:{display:l,fontSize:c},children:n})},UC="wbNewtabHandoff:",au=o=>`${UC}${o}`,PC=4e3,ou=()=>typeof browser<"u"&&typeof browser?.sidebarAction?.open=="function",Us=()=>ou()?browser:typeof chrome<"u"&&chrome?.runtime?.id?chrome:null;let Vl=null;async function HC(){let o=null;try{o=await Us()?.tabs?.getCurrent?.()??null}catch{o=null}return o?.id!=null&&await GC(Us(),o.id),Vl=o,Vl}function FC({text:o,mode:n,tabId:u,now:l=Date.now()}){return{id:`nt-${l}-${Math.random().toString(36).slice(2,8)}`,tabId:u,text:String(o).slice(0,PC),mode:n==="act"?"act":"ask",createdAt:l}}const Kb=16e4,Wo=new Map;function Yb(o){let n;const u=new Promise(d=>{n=d}),l=()=>{Wo.get(o)?.promise===u&&Wo.delete(o),n()};return Wo.set(o,{promise:u,release:l}),l}const VC=o=>Wo.has(o);function P_(o=Vl){return Wo.get(o?.id)?.promise??Promise.resolve()}async function GC(o,n,u=Date.now()){if(!o?.storage?.local?.get||Wo.has(n))return!1;const l=au(n);let d;try{d=(await o.storage.local.get(l))?.[l]}catch{return!1}if(!d||Wo.has(n))return!1;const c=Kb-(u-Number(d.createdAt||0));return c>0?(Wb(o,n,Yb(n),c),!0):!1}function Wb(o,n,u,l=Kb){const d=au(n);let c;const f=(h,y)=>{(!y||y==="local")&&h?.[d]&&!h[d].newValue&&p()};function p(){clearTimeout(c),o.storage.onChanged?.removeListener?.(f),u()}c=setTimeout(p,l),o.storage.onChanged?.addListener?.(f),Promise.resolve(o.storage.local.get?.(d)).then(h=>{h?.[d]||p()}).catch(()=>{})}function KC({text:o,mode:n},u=Us(),l=Vl){if(!u||l?.id==null)return Promise.reject(new Error("Extension API unavailable"));if(Wo.has(l.id))return Promise.reject(new Error("Previous task is still being handed over"));const d=ou();if(!d&&!u.sidePanel?.open)return Promise.reject(new Error("Side panel API unavailable"));const c=Yb(l.id),f=FC({text:o,mode:n,tabId:l.id});let p,h;try{p=Promise.resolve(u.storage.local.set({[au(l.id)]:f})),d?h=u.sidebarAction.open():(Promise.resolve(u.sidePanel.setOptions({tabId:l.id,path:"src/ui/sidepanel.html",enabled:!0})).catch(()=>{}),h=u.sidePanel.open({tabId:l.id}))}catch(y){h=Promise.reject(y),p??=Promise.resolve()}return Promise.all([p,h]).then(()=>(Wb(u,l.id,c),Promise.resolve(u.runtime.sendMessage({type:"WB_NEWTAB_PANEL_OPENED",tabId:l.id})).catch(()=>{}),!0),async y=>{throw await p.catch(()=>{}),await YC(u,l.id,f.id),c(),y})}async function YC(o,n,u){const l=au(n);try{const d=(await o.storage.local.get(l))?.[l];(!d||d.id===u)&&await o.storage.local.remove(l)}catch{}}function WC(o=Us()){return ou()?typeof o?.search?.search=="function":typeof o?.search?.query=="function"}const H_=new Set(["http:","https:"]);function QC(o){const n=String(o||"").trim();if(!n||/\s/.test(n))return null;try{const u=new URL(n);if(/^[a-z][a-z0-9+.-]*:\/\//i.test(n))return H_.has(u.protocol)?u.href:null}catch{}if(/^(localhost|(\d{1,3}\.){3}\d{1,3}|([a-z0-9-]+\.)+[a-z]{2,})(:\d+)?([/?#]\S*)?$/i.test(n))try{const u=new URL(`https://${n}`);return H_.has(u.protocol)?u.href:null}catch{return null}return null}async function ZC(o,n=Us(),u=l=>window.location.assign(l)){const l=QC(o);if(l)return u(l),!0;if(ou()&&n?.search?.search)return await n.search.search({query:o,disposition:"CURRENT_TAB"}),!0;if(n?.search?.query)return await n.search.query({text:o,disposition:"CURRENT_TAB"}),!0;throw new Error("Search API unavailable")}const XC=[{id:"ask",icon:jA},{id:"act",icon:Db},{id:"search",icon:Em}],Qb=()=>XC.filter(o=>o.id!=="search"||WC()),JC=()=>{const o=localStorage.getItem("taskBoxMode");return Qb().some(n=>n.id===o)?o:"ask"};function $C(){const[o,n]=k.useState(JC),[u,l]=k.useState(""),[d,c]=k.useState(""),[f,p]=k.useState(!1),h=k.useRef(null),y=k.useRef(!1);k.useEffect(()=>{let g=!0;return HC().then(b=>{g&&b?.id!=null&&VC(b.id)&&(p(!0),P_(b).then(()=>g&&p(!1)))}),localStorage.getItem("taskBoxFocus")!=="false"&&h.current?.focus(),()=>{g=!1}},[]);const _=g=>{g.preventDefault();const b=u.trim();if(!(!b||f||y.current)){if(c(""),o==="search"){ZC(b).catch(()=>c(ya("wb.panel_failed")));return}y.current=!0,p(!0),KC({text:b,mode:o}).then(()=>(l(""),P_())).catch(()=>c(ya("wb.panel_failed"))).finally(()=>{y.current=!1,p(!1),h.current?.focus()})}};return w.jsxs("div",{className:"taskBox",children:[w.jsxs("form",{className:"taskBoxForm",onSubmit:_,children:[w.jsx("input",{ref:h,className:"taskBoxInput",type:"text",value:u,maxLength:4e3,autoComplete:"off",spellCheck:!1,placeholder:ya(`wb.placeholder_${o}`),"aria-label":ya(`wb.placeholder_${o}`),disabled:f,onChange:g=>l(g.target.value)}),w.jsx("button",{className:"taskBoxGo",type:"submit","aria-label":ya("wb.go"),disabled:f||!u.trim(),children:w.jsx(jb,{})})]}),w.jsx("div",{className:"taskBoxModes",role:"radiogroup",children:Qb().map(({id:g,icon:b})=>w.jsxs("button",{type:"button",role:"radio","aria-checked":o===g,className:o===g?"taskBoxMode active":"taskBoxMode",onClick:()=>{n(g),h.current?.focus()},children:[w.jsx(b,{}),w.jsx("span",{children:ya(`wb.${g}`)})]},g))}),o==="act"&&w.jsx("span",{className:"taskBoxHint",children:ya("wb.act_hint")}),d&&w.jsx("span",{className:"taskBoxHint taskBoxError",role:"alert",children:d})]})}const F_="webbrain_chat_history",tm="records";async function ex(o=4,n=globalThis.indexedDB){if(!n?.databases)return[];if(!(await n.databases()).some(d=>d.name===F_))return[];const l=await new Promise((d,c)=>{const f=n.open(F_);f.onupgradeneeded=()=>f.transaction.abort(),f.onsuccess=()=>d(f.result),f.onerror=()=>c(f.error),f.onblocked=()=>c(new Error("blocked"))});try{return l.objectStoreNames.contains(tm)?await new Promise((d,c)=>{const f=[],p=l.transaction([tm],"readonly").objectStore(tm),y=(p.indexNames.contains("updatedAt")?p.index("updatedAt"):p).openCursor(null,"prev");y.onsuccess=()=>{const _=y.result;if(!_||f.length>=o)return d(f);const{id:g,title:b,url:S,updatedAt:C}=_.value;f.push({id:g,title:String(b||"").slice(0,140),url:String(S||""),updatedAt:C}),_.continue()},y.onerror=()=>c(y.error)}):[]}finally{l.close()}}const V_="../src/ui/history.html";function tx(){const[o,n]=k.useState(null);return k.useEffect(()=>{let u=!1;return ex(4).then(l=>!u&&n(l)).catch(()=>!u&&n([])),()=>{u=!0}},[]),o===null?null:w.jsxs("div",{className:"recentChats",children:[w.jsxs("div",{className:"recentChatsHeader",children:[w.jsx("span",{children:ya("wb.recent_title")}),w.jsx("a",{href:V_,children:ya("wb.recent_all")})]}),o.length===0?w.jsx("span",{className:"recentChatsEmpty",children:ya("wb.recent_empty")}):w.jsx("ul",{children:o.map(u=>w.jsx("li",{children:w.jsx("a",{href:`${V_}?id=${encodeURIComponent(u.id)}`,children:u.title||u.url})},u.id))})]})}const bm=Math.min,An=Math.max,Gl=Math.round,ho=o=>({x:o,y:o}),ax={left:"right",right:"left",bottom:"top",top:"bottom"};function ox(o,n,u){return An(o,bm(n,u))}function iu(o,n){return typeof o=="function"?o(n):o}function zn(o){return o.split("-")[0]}function nu(o){return o.split("-")[1]}function Zb(o){return o==="x"?"y":"x"}function Xb(o){return o==="y"?"height":"width"}function Ko(o){const n=o[0];return n==="t"||n==="b"?"y":"x"}function Jb(o){return Zb(Ko(o))}function ix(o,n,u){u===void 0&&(u=!1);const l=nu(o),d=Jb(o),c=Xb(d);let f=d==="x"?l===(u?"end":"start")?"right":"left":l==="start"?"bottom":"top";return n.reference[c]>n.floating[c]&&(f=Kl(f)),[f,Kl(f)]}function nx(o){const n=Kl(o);return[ym(o),n,ym(n)]}function ym(o){return o.includes("start")?o.replace("start","end"):o.replace("end","start")}const G_=["left","right"],K_=["right","left"],sx=["top","bottom"],rx=["bottom","top"];function lx(o,n,u){switch(o){case"top":case"bottom":return u?n?K_:G_:n?G_:K_;case"left":case"right":return n?sx:rx;default:return[]}}function ux(o,n,u,l){const d=nu(o);let c=lx(zn(o),u==="start",l);return d&&(c=c.map(f=>f+"-"+d),n&&(c=c.concat(c.map(ym)))),c}function Kl(o){const n=zn(o);return ax[n]+o.slice(n.length)}function dx(o){var n,u,l,d;return{top:(n=o.top)!=null?n:0,right:(u=o.right)!=null?u:0,bottom:(l=o.bottom)!=null?l:0,left:(d=o.left)!=null?d:0}}function cx(o){return typeof o!="number"?dx(o):{top:o,right:o,bottom:o,left:o}}function Yl(o){const{x:n,y:u,width:l,height:d}=o;return{width:l,height:d,top:u,left:n,right:n+l,bottom:u+d,x:n,y:u}}function Y_(o,n,u){let{reference:l,floating:d}=o;const c=Ko(n),f=Jb(n),p=Xb(f),h=zn(n),y=c==="y",_=l.x+l.width/2-d.width/2,g=l.y+l.height/2-d.height/2,b=l[p]/2-d[p]/2;let S;switch(h){case"top":S={x:_,y:l.y-d.height};break;case"bottom":S={x:_,y:l.y+l.height};break;case"right":S={x:l.x+l.width,y:g};break;case"left":S={x:l.x-d.width,y:g};break;default:S={x:l.x,y:l.y}}const C=nu(n);return C&&(S[f]+=b*(C==="end"?1:-1)*(u&&y?-1:1)),S}async function mx(o,n){var u;n===void 0&&(n={});const{x:l,y:d,platform:c,rects:f,elements:p,strategy:h}=o,{boundary:y="clippingAncestors",rootBoundary:_="viewport",elementContext:g="floating",altBoundary:b=!1,padding:S=0}=iu(n,o),C=cx(S),A=p[b?g==="floating"?"reference":"floating":g],j=Yl(await c.getClippingRect({element:(u=await(c.isElement==null?void 0:c.isElement(A)))==null||u?A:A.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:y,rootBoundary:_,strategy:h})),z=g==="floating"?{x:l,y:d,width:f.floating.width,height:f.floating.height}:f.reference,L=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),G=await(c.isElement==null?void 0:c.isElement(L))&&await(c.getScale==null?void 0:c.getScale(L))||{x:1,y:1},Z=Yl(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:z,offsetParent:L,strategy:h}):z);return{top:(j.top-Z.top+C.top)/G.y,bottom:(Z.bottom-j.bottom+C.bottom)/G.y,left:(j.left-Z.left+C.left)/G.x,right:(Z.right-j.right+C.right)/G.x}}const px=50,fx=async(o,n,u)=>{const{placement:l="bottom",strategy:d="absolute",middleware:c=[],platform:f}=u,p=f.detectOverflow?f:{...f,detectOverflow:mx},h=await(f.isRTL==null?void 0:f.isRTL(n));let y=await f.getElementRects({reference:o,floating:n,strategy:d}),{x:_,y:g}=Y_(y,l,h),b=l,S=0;const C={};for(let x=0;x<c.length;x++){const A=c[x];if(!A)continue;const{name:j,fn:z}=A,{x:L,y:G,data:Z,reset:H}=await z({x:_,y:g,initialPlacement:l,placement:b,strategy:d,middlewareData:C,rects:y,platform:p,elements:{reference:o,floating:n}});_=L??_,g=G??g,C[j]={...C[j],...Z},H&&S<px&&(S++,typeof H=="object"&&(H.placement&&(b=H.placement),H.rects&&(y=H.rects===!0?await f.getElementRects({reference:o,floating:n,strategy:d}):H.rects),{x:_,y:g}=Y_(y,b,h)),x=-1)}return{x:_,y:g,placement:b,strategy:d,middlewareData:C}},gx=function(o){return o===void 0&&(o={}),{name:"flip",options:o,async fn(n){var u,l;const{placement:d,middlewareData:c,rects:f,initialPlacement:p,platform:h,elements:y}=n,{mainAxis:_=!0,crossAxis:g=!0,fallbackPlacements:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:x=!0,...A}=iu(o,n);if((u=c.arrow)!=null&&u.alignmentOffset)return{};const j=zn(d),z=Ko(p),L=zn(p)===p,G=await(h.isRTL==null?void 0:h.isRTL(y.floating)),Z=b||(L||!x?[Kl(p)]:nx(p)),H=C!=="none";!b&&H&&Z.push(...ux(p,x,C,G));const D=[p,...Z],q=await h.detectOverflow(n,A),V=[];let $=((l=c.flip)==null?void 0:l.overflows)||[];if(_&&V.push(q[j]),g){const X=ix(d,f,G);V.push(q[X[0]],q[X[1]])}if($=[...$,{placement:d,overflows:V}],!V.every(X=>X<=0)){var W,ee;const X=(((W=c.flip)==null?void 0:W.index)||0)+1,Y=D[X];if(Y&&(!(g==="alignment"?z!==Ko(Y):!1)||$.every(K=>Ko(K.placement)===z?K.overflows[0]>0:!0)))return{data:{index:X,overflows:$},reset:{placement:Y}};let I=(ee=$.filter(T=>T.overflows[0]<=0).sort((T,K)=>T.overflows[1]-K.overflows[1])[0])==null?void 0:ee.placement;if(!I)switch(S){case"bestFit":{var ae;const T=(ae=$.filter(K=>{if(H){const ie=Ko(K.placement);return ie===z||ie==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(ie=>ie>0).reduce((ie,ne)=>ie+ne,0)]).sort((K,ie)=>K[1]-ie[1])[0])==null?void 0:ae[0];T&&(I=T);break}case"initialPlacement":I=p;break}if(d!==I)return{reset:{placement:I}}}return{}}}},hx=new Set(["left","top"]);async function _x(o,n){const{placement:u,platform:l,elements:d}=o,c=await(l.isRTL==null?void 0:l.isRTL(d.floating)),f=zn(u),p=nu(u),h=Ko(u)==="y",y=hx.has(f)?-1:1,_=c&&h?-1:1,g=iu(n,o);let{mainAxis:b,crossAxis:S,alignmentAxis:C}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return p&&typeof C=="number"&&(S=p==="end"?C*-1:C),h?{x:S*_,y:b*y}:{x:b*y,y:S*_}}const vx=function(o){return o===void 0&&(o=0),{name:"offset",options:o,async fn(n){var u,l;const{x:d,y:c,placement:f,middlewareData:p}=n,h=await _x(n,o);return f===((u=p.offset)==null?void 0:u.placement)&&(l=p.arrow)!=null&&l.alignmentOffset?{}:{x:d+h.x,y:c+h.y,data:{...h,placement:f}}}}},bx=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(n){const{x:u,y:l,placement:d,platform:c}=n,{mainAxis:f=!0,crossAxis:p=!1,limiter:h={fn:z=>{let{x:L,y:G}=z;return{x:L,y:G}}},...y}=iu(o,n),_={x:u,y:l},g=await c.detectOverflow(n,y),b=Ko(d),S=Zb(b);let C=_[S],x=_[b];const A=(z,L)=>ox(L+g[z==="y"?"top":"left"],L,L-g[z==="y"?"bottom":"right"]);f&&(C=A(S,C)),p&&(x=A(b,x));const j=h.fn({...n,[S]:C,[b]:x});return{...j,data:{x:j.x-u,y:j.y-l,enabled:{[S]:f,[b]:p}}}}}};function su(){return typeof window<"u"}function Tn(o){return $b(o)?(o.nodeName||"").toLowerCase():"#document"}function ra(o){var n;return(o==null||(n=o.ownerDocument)==null?void 0:n.defaultView)||window}function Zo(o){var n;return(n=($b(o)?o.ownerDocument:o.document)||window.document)==null?void 0:n.documentElement}function $b(o){return su()?o instanceof Node||o instanceof ra(o).Node:!1}function Wa(o){return su()?o instanceof Element||o instanceof ra(o).Element:!1}function Xo(o){return su()?o instanceof HTMLElement||o instanceof ra(o).HTMLElement:!1}function W_(o){return!su()||typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof ra(o).ShadowRoot}function ru(o){const{overflow:n,overflowX:u,overflowY:l,display:d}=Qa(o);return/auto|scroll|overlay|hidden|clip/.test(n+l+u)&&d!=="inline"&&d!=="contents"}function yx(o){return/^(table|td|th)$/.test(Tn(o))}function lu(o){try{if(o.matches(":popover-open"))return!0}catch{}try{return o.matches(":modal")}catch{return!1}}const kx=/transform|translate|scale|rotate|perspective|filter/,wx=/paint|layout|strict|content/,Si=o=>!!o&&o!=="none";let am;function Rm(o){const n=Wa(o)?Qa(o):o;return Si(n.transform)||Si(n.translate)||Si(n.scale)||Si(n.rotate)||Si(n.perspective)||!Bm()&&(Si(n.backdropFilter)||Si(n.filter))||kx.test(n.willChange||"")||wx.test(n.contain||"")}function Sx(o){let n=zi(o);for(;Xo(n)&&!Ps(n);){if(Rm(n))return n;if(lu(n))return null;n=zi(n)}return null}function Bm(){return am==null&&(am=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),am}function Ps(o){return/^(html|body|#document)$/.test(Tn(o))}function Qa(o){return ra(o).getComputedStyle(o)}function uu(o){return Wa(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.scrollX,scrollTop:o.scrollY}}function zi(o){if(Tn(o)==="html")return o;const n=o.assignedSlot||o.parentNode||W_(o)&&o.host||Zo(o);return W_(n)?n.host:n}function ey(o){const n=zi(o);return Ps(n)?(o.ownerDocument||o).body:Xo(n)&&ru(n)?n:ey(n)}function ty(o,n,u){var l;n===void 0&&(n=[]);const d=ey(o),c=d===((l=o.ownerDocument)==null?void 0:l.body),f=ra(d);return c?(km(f),n.concat(f,f.visualViewport||[],ru(d)?d:[],[])):n.concat(d,ty(d,[]))}function km(o){return o.parent&&Object.getPrototypeOf(o.parent)?o.frameElement:null}function ay(o){const n=Qa(o);let u=parseFloat(n.width)||0,l=parseFloat(n.height)||0;const d=Xo(o),c=d?o.offsetWidth:u,f=d?o.offsetHeight:l,p=Gl(u)!==c||Gl(l)!==f;return p&&(u=c,l=f),{width:u,height:l,$:p}}function oy(o){return Wa(o)?o:o.contextElement}function Cn(o){const n=oy(o);if(!Xo(n))return ho(1);const u=n.getBoundingClientRect(),{width:l,height:d,$:c}=ay(n);let f=(c?Gl(u.width):u.width)/l,p=(c?Gl(u.height):u.height)/d;return(!f||!Number.isFinite(f))&&(f=1),(!p||!Number.isFinite(p))&&(p=1),{x:f,y:p}}const Mx=ho(0);function iy(o){const n=ra(o);return!Bm()||!n.visualViewport?Mx:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function Ax(o,n,u){return n===void 0&&(n=!1),!!u&&n&&u===ra(o)}function Hs(o,n,u,l){n===void 0&&(n=!1),u===void 0&&(u=!1);const d=o.getBoundingClientRect(),c=oy(o);let f=ho(1);n&&(l?Wa(l)&&(f=Cn(l)):f=Cn(o));const p=Ax(c,u,l)?iy(c):ho(0);let h=(d.left+p.x)/f.x,y=(d.top+p.y)/f.y,_=d.width/f.x,g=d.height/f.y;if(c&&l){const b=ra(c),S=Wa(l)?ra(l):l;let C=b,x=km(C);for(;x&&S!==C;){const A=Cn(x),j=x.getBoundingClientRect(),z=Qa(x),L=j.left+(x.clientLeft+parseFloat(z.paddingLeft))*A.x,G=j.top+(x.clientTop+parseFloat(z.paddingTop))*A.y;h*=A.x,y*=A.y,_*=A.x,g*=A.y,h+=L,y+=G,C=ra(x),x=km(C)}}return Yl({width:_,height:g,x:h,y})}function du(o,n){const u=uu(o).scrollLeft;return n?n.left+u:Hs(Zo(o)).left+u}function ny(o,n){const u=o.getBoundingClientRect(),l=u.left+n.scrollLeft-du(o,u),d=u.top+n.scrollTop;return{x:l,y:d}}function Cx(o){let{elements:n,rect:u,offsetParent:l,strategy:d}=o;const c=d==="fixed",f=Zo(l),p=n?lu(n.floating):!1;if(l===f||p&&c)return u;let h={scrollLeft:0,scrollTop:0},y=ho(1);const _=ho(0),g=Xo(l);if((g||!c)&&((Tn(l)!=="body"||ru(f))&&(h=uu(l)),g)){const S=Hs(l);y=Cn(l),_.x=S.x+l.clientLeft,_.y=S.y+l.clientTop}const b=f&&!g&&!c?ny(f,h):ho(0);return{width:u.width*y.x,height:u.height*y.y,x:u.x*y.x-h.scrollLeft*y.x+_.x+b.x,y:u.y*y.y-h.scrollTop*y.y+_.y+b.y}}function xx(o){return o.getClientRects?Array.from(o.getClientRects()):[]}function zx(o){const n=uu(o),u=o.ownerDocument.body,l=An(o.scrollWidth,o.clientWidth,u.scrollWidth,u.clientWidth),d=An(o.scrollHeight,o.clientHeight,u.scrollHeight,u.clientHeight);let c=-n.scrollLeft+du(o);const f=-n.scrollTop;return Qa(u).direction==="rtl"&&(c+=An(o.clientWidth,u.clientWidth)-l),{width:l,height:d,x:c,y:f}}const Tx=25;function Nx(o,n,u){u===void 0&&(u="viewport");const l=u==="layoutViewport",d=ra(o),c=Zo(o),f=d.visualViewport;let p=c.clientWidth,h=c.clientHeight,y=0,_=0;if(f){const b=!Bm()||n==="fixed";l?b||(y=-f.offsetLeft,_=-f.offsetTop):(p=f.width,h=f.height,b&&(y=f.offsetLeft,_=f.offsetTop))}if(du(c)<=0){const b=c.ownerDocument,S=b.body,C=getComputedStyle(S),x=b.compatMode==="CSS1Compat"&&parseFloat(C.marginLeft)+parseFloat(C.marginRight)||0,A=Math.abs(c.clientWidth-S.clientWidth-x),j=getComputedStyle(c).scrollbarGutter==="stable both-edges"?A/2:A;j<=Tx&&(p-=j)}return{width:p,height:h,x:y,y:_}}function Ex(o,n){const u=Hs(o,!0,n==="fixed"),l=u.top+o.clientTop,d=u.left+o.clientLeft,c=Cn(o),f=o.clientWidth*c.x,p=o.clientHeight*c.y,h=d*c.x,y=l*c.y;return{width:f,height:p,x:h,y}}function Q_(o,n,u){let l;if(n==="viewport"||n==="layoutViewport")l=Nx(o,u,n);else if(n==="document")l=zx(Zo(o));else if(Wa(n))l=Ex(n,u);else{const d=iy(o);l={x:n.x-d.x,y:n.y-d.y,width:n.width,height:n.height}}return Yl(l)}function jx(o,n){const u=n.get(o);if(u)return u;let l=ty(o,[]).filter(p=>Wa(p)&&Tn(p)!=="body"),d=null;const c=Qa(o).position==="fixed";let f=c?zi(o):o;for(;Wa(f)&&!Ps(f);){const p=Qa(f),h=Rm(f),y=d?d.position:c?"fixed":"";!h&&(y==="fixed"||y==="absolute"&&p.position==="static")?l=l.filter(g=>g!==f):d=p,f=zi(f)}return n.set(o,l),l}function Dx(o){let{element:n,boundary:u,rootBoundary:l,strategy:d}=o;const f=[...u==="clippingAncestors"?lu(n)?[]:jx(n,this._c):[].concat(u),l],p=Q_(n,f[0],d);let h=p.top,y=p.right,_=p.bottom,g=p.left;for(let b=1;b<f.length;b++){const S=Q_(n,f[b],d);h=An(S.top,h),y=bm(S.right,y),_=bm(S.bottom,_),g=An(S.left,g)}return{width:y-g,height:_-h,x:g,y:h}}function Ox(o){const{width:n,height:u}=ay(o);return{width:n,height:u}}function qx(o,n,u){const l=Xo(n),d=Zo(n),c=u==="fixed",f=Hs(o,!0,c,n);let p={scrollLeft:0,scrollTop:0};const h=ho(0);if((l||!c)&&((Tn(n)!=="body"||ru(d))&&(p=uu(n)),l)){const b=Hs(n,!0,c,n);h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}!l&&d&&(h.x=du(d));const y=d&&!l&&!c?ny(d,p):ho(0),_=f.left+p.scrollLeft-h.x-y.x,g=f.top+p.scrollTop-h.y-y.y;return{x:_,y:g,width:f.width,height:f.height}}function om(o){return Qa(o).position==="static"}function Z_(o,n){if(!Xo(o)||Qa(o).position==="fixed")return null;if(n)return n(o);let u=o.offsetParent;return Zo(o)===u&&(u=u.ownerDocument.body),u}function sy(o,n){const u=ra(o);if(lu(o))return u;if(!Xo(o)){let d=zi(o);for(;d&&!Ps(d);){if(Wa(d)&&!om(d))return d;d=zi(d)}return u}let l=Z_(o,n);for(;l&&yx(l)&&om(l);)l=Z_(l,n);return l&&Ps(l)&&om(l)&&!Rm(l)?u:l||Sx(o)||u}const Rx=async function(o){const n=this.getOffsetParent||sy,u=this.getDimensions,l=await u(o.floating);return{reference:qx(o.reference,await n(o.floating),o.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}};function Bx(o){return Qa(o).direction==="rtl"}const Lx={convertOffsetParentRelativeRectToViewportRelativeRect:Cx,getDocumentElement:Zo,getClippingRect:Dx,getOffsetParent:sy,getElementRects:Rx,getClientRects:xx,getDimensions:Ox,getScale:Cn,isElement:Wa,isRTL:Bx},Ix=vx,Ux=bx,Px=gx,Hx=(o,n,u)=>{const l=new Map,d=u??{},c={...Lx,...d.platform,_c:l};return fx(o,n,{...d,platform:c})};var Mn=Tm(),Fx=typeof document<"u",Vx=function(){},ql=Fx?k.useLayoutEffect:Vx;function Wl(o,n){if(o===n)return!0;if(typeof o!=typeof n)return!1;if(typeof o=="function"&&o.toString()===n.toString())return!0;let u,l,d;if(o&&n&&typeof o=="object"){if(Array.isArray(o)){if(u=o.length,u!==n.length)return!1;for(l=u;l--!==0;)if(!Wl(o[l],n[l]))return!1;return!0}if(d=Object.keys(o),u=d.length,u!==Object.keys(n).length)return!1;for(l=u;l--!==0;)if(!{}.hasOwnProperty.call(n,d[l]))return!1;for(l=u;l--!==0;){const c=d[l];if(!(c==="_owner"&&o.$$typeof)&&!Wl(o[c],n[c]))return!1}return!0}return o!==o&&n!==n}function ry(o){return typeof window>"u"?1:(o.ownerDocument.defaultView||window).devicePixelRatio||1}function X_(o,n){const u=ry(o);return Math.round(n*u)/u}function im(o){const n=k.useRef(o);return ql(()=>{n.current=o}),n}function cu(o){o===void 0&&(o={});const{placement:n="bottom",strategy:u="absolute",middleware:l=[],platform:d,elements:{reference:c,floating:f}={},transform:p=!0,whileElementsMounted:h,open:y}=o,[_,g]=k.useState({x:0,y:0,strategy:u,placement:n,middlewareData:{},isPositioned:!1}),[b,S]=k.useState(l);Wl(b,l)||S(l);const[C,x]=k.useState(null),[A,j]=k.useState(null),z=k.useCallback(K=>{K!==H.current&&(H.current=K,x(K))},[]),L=k.useCallback(K=>{K!==D.current&&(D.current=K,j(K))},[]),G=c||C,Z=f||A,H=k.useRef(null),D=k.useRef(null),q=k.useRef(_),V=h!=null,$=im(h),W=im(d),ee=im(y),ae=k.useCallback(()=>{if(!H.current||!D.current)return;const K={placement:n,strategy:u,middleware:b};W.current&&(K.platform=W.current),Hx(H.current,D.current,K).then(ie=>{const ne={...ie,isPositioned:ee.current!==!1};X.current&&!Wl(q.current,ne)&&(q.current=ne,Mn.flushSync(()=>{g(ne)}))})},[b,n,u,W,ee]);ql(()=>{y===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,g(K=>({...K,isPositioned:!1})))},[y]);const X=k.useRef(!1);ql(()=>(X.current=!0,()=>{X.current=!1}),[]),ql(()=>{if(G&&(H.current=G),Z&&(D.current=Z),G&&Z){if($.current)return $.current(G,Z,ae);ae()}},[G,Z,ae,$,V]);const Y=k.useMemo(()=>({reference:H,floating:D,setReference:z,setFloating:L}),[z,L]),I=k.useMemo(()=>({reference:G,floating:Z}),[G,Z]),T=k.useMemo(()=>{const K={position:u,left:0,top:0};if(!I.floating)return K;const ie=X_(I.floating,_.x),ne=X_(I.floating,_.y);return p?{...K,transform:"translate("+ie+"px, "+ne+"px)",...ry(I.floating)>=1.5&&{willChange:"transform"}}:{position:u,left:ie,top:ne}},[u,p,I.floating,_.x,_.y]);return k.useMemo(()=>({..._,update:ae,refs:Y,elements:I,floatingStyles:T}),[_,ae,Y,I,T])}const Gx=(o,n)=>{const u=Ix(o);return{name:u.name,fn:u.fn,options:[o,n]}},mu=(o,n)=>{const u=Ux(o);return{name:u.name,fn:u.fn,options:[o,n]}},Kx=(o,n)=>{const u=Px(o);return{name:u.name,fn:u.fn,options:[o,n]}};function Yx({children:o,title:n,style:u,placement:l,subtitle:d}){const[c,f]=k.useState(!1),[p,h]=k.useState(!1),[y,_]=k.useState(null),g=k.useRef(`tooltip-${Math.random()}`),b=k.useRef(null),{x:S,y:C,refs:x,strategy:A,placement:j}=cu({placement:l||"bottom",middleware:[Kx(),Gx(15),mu()],elements:{reference:y}}),z=()=>{b.current&&(clearTimeout(b.current),b.current=null),h(!1),f(!0)},L=()=>{h(!0),b.current=setTimeout(()=>{f(!1),h(!1)},200)},G=()=>{b.current&&(clearTimeout(b.current),b.current=null),h(!1),f(!0)},Z=()=>{h(!0),b.current=setTimeout(()=>{f(!1),h(!1)},200)},H=()=>!c&&!p?"initial":p?"close":"open";return w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"tooltip",style:u,onMouseEnter:z,onMouseLeave:L,onFocus:G,onBlur:Z,ref:_,"aria-describedby":g.current,children:o}),(c||p)&&w.jsxs("span",{ref:x.setFloating,style:{position:A,top:C??"",left:S??"",display:"flex",flexFlow:"column"},className:"tooltipTitle","data-status":H(),"data-placement":j,children:[n,w.jsx("span",{style:{fontSize:"8px"},children:d})]})]})}const ht=k.memo(Yx),Fs=k.forwardRef(({icon:o,label:n,type:u,iconPlacement:l,onClick:d,active:c,disabled:f,tooltipTitle:p,tooltipKey:h,href:y,style:_},g)=>{let b;switch(u){case"settings":b="btn-settings";break;case"secondary":b="btn-secondary";break;case"icon":b="btn-icon";break;case"navigation":b="btn-navigation";break;case"collection":b="btn-collection";break;case"linkIconButton":b="btn-icon";break;case"linkButton":b="btn-settings";break;default:b="btn-default"}l==="right"&&(b+=" flowReverse"),c&&(b+=` ${b}-active`);const S=w.jsxs("button",{className:b,onClick:d,ref:g,disabled:f,style:_,children:[o,n]}),C=w.jsxs("a",{className:b,onClick:d,ref:g,disabled:f,href:y,style:_,target:"_blank",rel:"noopener noreferrer",children:[o,n]}),x=w.jsx(ht,{title:p,children:w.jsxs("a",{className:b,onClick:d,ref:g,disabled:f,href:y,target:"_blank",rel:"noopener noreferrer",style:_,children:[o,n]})},h);switch(u){case"linkIconButton":return x;case"linkButton":return C;case"icon":return w.jsx(ht,{title:p,children:S},h);default:return S}});Fs.displayName="Button";function Wx({urlError:o,iconError:n,addLink:u,closeModal:l,edit:d,editData:c,editLink:f}){const[p,h]=k.useState(d?c.name:""),[y,_]=k.useState(d?c.url:""),[g,b]=k.useState(d?c.icon:"");return w.jsxs("div",{className:"addLinkModal",children:[w.jsxs("div",{className:"shareHeader",children:[w.jsx("span",{className:"title",children:d?pe.getMessage("widgets.quicklinks.edit"):pe.getMessage("widgets.quicklinks.new")}),w.jsx(ht,{title:pe.getMessage("modals.welcome.buttons.close"),children:w.jsx("div",{className:"close",onClick:()=>l(),children:w.jsx(Is,{})})})]}),w.jsxs("div",{className:"quicklinkModalTextbox",children:[w.jsx("input",{type:"text",className:"text-field-input",placeholder:pe.getMessage("widgets.quicklinks.name"),value:p,onChange:S=>h(S.target.value.replace(/(\r\n|\n|\r)/gm,"")),style:{gridColumn:"span 2"}}),w.jsx("input",{type:"text",className:"text-field-input",placeholder:pe.getMessage("widgets.quicklinks.url"),value:y,onChange:S=>_(S.target.value.replace(/(\r\n|\n|\r)/gm,""))}),w.jsx("input",{type:"text",className:"text-field-input",placeholder:pe.getMessage("widgets.quicklinks.icon"),value:g,onChange:S=>b(S.target.value.replace(/(\r\n|\n|\r)/gm,""))})]}),w.jsxs("div",{className:"addFooter",children:[w.jsxs("span",{className:"dropdown-error",children:[n," ",o]}),d?w.jsx(Fs,{type:"settings",onClick:()=>f(c,p,y,g),icon:w.jsx(D_,{}),label:pe.getMessage("modals.main.settings.sections.quicklinks.edit")}):w.jsx(Fs,{type:"settings",onClick:()=>u(p,y,g),icon:w.jsx(D_,{}),label:pe.getMessage("widgets.quicklinks.add")})]})]})}const kN=k.memo(Wx),Qx=[{name:"time",value:!0},{name:"greeting",value:!0},{name:"background",value:!0},{name:"quote",value:!1},{name:"searchBar",value:!1},{name:"blur",value:0},{name:"brightness",value:90},{name:"zero",value:!0},{name:"events",value:!0},{name:"customBackground",value:""},{name:"greetingName",value:""},{name:"defaultGreetingMessage",value:!0},{name:"backgroundAPI",value:"mue"},{name:"copyButton",value:!1},{name:"installed",value:[]},{name:"searchEngine",value:"duckduckgo"},{name:"refresh",value:!1},{name:"view",value:!0},{name:"favouriteEnabled",value:!0},{name:"quoteShareButton",value:!1},{name:"favouriteQuoteEnabled",value:!1},{name:"showWelcome",value:!1},{name:"date",value:"false"},{name:"timeType",value:"digital"},{name:"dateFormat",value:"DMY"},{name:"shortFormat",value:"dots"},{name:"toastDisplayTime",value:2500},{name:"fontstyle",value:"normal"},{name:"fontweight",value:400},{name:"order",value:'["greeting", "time", "quicklinks", "date", "message"]'},{name:"theme",value:"auto"},{name:"backgroundType",value:"api"},{name:"timeformat",value:"twentyfourhour"},{name:"experimental",value:!1},{name:"debugtimeout",value:0},{name:"quicklinks",value:"[]"},{name:"quicklinksenabled",value:!1},{name:"weatherEnabled",value:!1},{name:"weatherType",value:2},{name:"tempformat",value:"celsius"},{name:"authorImg",value:!0},{name:"authorLink",value:!0},{name:"bgtransition",value:!0},{name:"backgroundVideoLoop",value:!0},{name:"backgroundVideoMute",value:!0},{name:"quicklinkstooltip",value:!0},{name:"notesEnabled",value:!0},{name:"showlocation",value:!0},{name:"minuteHand",value:!0},{name:"hourHand",value:!0},{name:"datezero",value:!0},{name:"autocompleteProvider",value:"google"},{name:"quoteType",value:"quote_pack"},{name:"backgroundFilter",value:"none"},{name:"apiQuality",value:"high"},{name:"photoInformation",value:!0},{name:"backgroundFilterAmount",value:0},{name:"stats",value:!1},{name:"statsData",value:"{}"},{name:"localeFormatting",value:!0},{name:"offlineMode",value:!0},{name:"animations",value:!0},{name:"textBorder",value:"new"},{name:"widgetStyle",value:"new"},{name:"backgroundExclude",value:"[]"},{name:"photoMap",value:!0},{name:"appsEnabled",value:!1},{name:"applinks",value:"[]"},{name:"customEvents",value:'[{"id":"widgets.greeting.christmas","name":"Merry Christmas","month":12,"date":25},{"id":"widgets.greeting.newyear","name":"Happy New Year","month":1,"date":1},{"id":"widgets.greeting.halloween","name":"Happy Halloween","month":10,"date":31}]'},{name:"authorDetails",value:!0},{name:"taskBox",value:!0},{name:"taskBoxMode",value:"ask"},{name:"taskBoxFocus",value:!0},{name:"recentChats",value:!1}],Zx=[{name:"العربية",value:"ar"},{name:"مصرى",value:"arz"},{name:"Azərbaycan",value:"az"},{name:"تۆرکجه",value:"azb"},{name:"Bahasa Indonesia",value:"id_ID"},{name:"বাংলা",value:"bn"},{name:"Deutsch",value:"de_DE"},{name:"Ελληνικά",value:"el"},{name:"English (UK)",value:"en_GB"},{name:"English (US)",value:"en_US"},{name:"Español",value:"es"},{name:"Español (Latinoamérica)",value:"es_419"},{name:"Eesti",value:"et"},{name:"فارسی",value:"fa"},{name:"Français",value:"fr"},{name:"Magyar",value:"hu"},{name:"日本語",value:"ja"},{name:"Lietuvių",value:"lt"},{name:"Latviešu",value:"lv"},{name:"Nederlands",value:"nl"},{name:"Norsk",value:"no"},{name:"𐎱𐎠𐎼𐎿",value:"peo"},{name:"Pусский",value:"ru"},{name:"Português",value:"pt"},{name:"Português (Brasil)",value:"pt_BR"},{name:"Português (Portugal)",value:"pt_PT"},{name:"Slovenščina",value:"sl"},{name:"Svenska",value:"sv"},{name:"தமிழ்",value:"ta"},{name:"Türkçe",value:"tr_TR"},{name:"Українська",value:"uk"},{name:"Tiếng Việt",value:"vi"},{name:"中文 (简体)",value:"zh_CN"},{name:"中文 (繁體)",value:"zh_Hant"}];function wm(o){localStorage.clear(),Qx.forEach(l=>localStorage.setItem(l.name,l.value));const n=Zx.map(({value:l})=>l),u=navigator.languages&&navigator.languages.find(l=>l.replace("-","_")&&n.includes(l))||navigator.language.replace("-","_");n.includes(u)?localStorage.setItem("language",u):localStorage.setItem("language","en_GB"),localStorage.setItem("tabName",pe.getMessage("tabname")),o&&localStorage.setItem("showWelcome",!1),localStorage.setItem("firstRun",!0)}function Xx(o,n="file",u="text/json"){typeof o=="object"&&(o=JSON.stringify(o,void 0,4));const l=new Blob([o],{type:u}),d=document.createEvent("MouseEvents"),c=document.createElement("a");c.href=window.URL.createObjectURL(l),c.download=n,c.dataset.downloadurl=[u,c.download,c.href].join(":"),d.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),c.dispatchEvent(d)}function J_(o){switch(localStorage.getItem("theme")){case"dark":document.body.classList.add("dark"),document.body.classList.remove("light");break;case"auto":window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?document.body.classList.add("dark"):(document.body.classList.remove("dark"),document.body.classList.add("light"));break;default:document.body.classList.add("light"),document.body.classList.remove("dark")}document.title=localStorage.getItem("tabName")||pe.getMessage("tabname"),o===!0&&["customcss","customfont"].forEach(c=>{try{document.head.removeChild(document.getElementById(c))}catch{}}),localStorage.getItem("animations")==="false"?document.body.classList.add("no-animations"):document.body.classList.remove("no-animations");const n=localStorage.getItem("textBorder");n==="true"?["greeting","clock","date"].forEach(c=>{try{document.querySelector("."+c).classList.add("textBorder")}catch{}}):["greeting","clock","date"].forEach(c=>{try{document.querySelector("."+c).classList.remove("textBorder")}catch{}}),n==="none"?document.getElementById("center").classList.add("no-textBorder"):document.getElementById("center").classList.remove("no-textBorder");const u=localStorage.getItem("customcss");u&&document.head.insertAdjacentHTML("beforeend",'<style id="customcss">'+u+"</style>");const l=localStorage.getItem("font");l&&document.head.insertAdjacentHTML("beforeend",`+注意:如果你不喜歡「{category}」影像,你可以在背景來源設定中取消選擇該類別。`,confirm:"確認"},search:"搜尋",quicklinks:{new:"新增連結",edit:"編輯連結",name:"名稱",url:"網址",icon:"圖示(選擇性)",add:"增加",name_error:"必須提供名稱",url_error:"必須提供網址"},date:{week:"週"},weather:{not_found:"找不到",meters:"{amount} 公尺",extra_information:"額外資訊",feels_like:"感覺像 {amount}"},quote:{link_tooltip:"在維基百科上開啟",share:"分享",copy:"複製",favourite:"收藏",unfavourite:"取消收藏"},navbar:{tooltips:{refresh:"重新整理"},notes:{title:"筆記",placeholder:"在此輸入"},todo:{title:"待辦事項",pin:"釘選",add:"增加",no_todos:"無待辦事項"},apps:{title:"應用程式",no_apps:"找不到應用程式連結"}}},YM=JSON.parse(`{"main":{"title":"選項","loading":"載入中…","file_upload_error":"檔案超過 2MB","navbar":{"settings":"設定","library":"附加元件","discover":"市場"},"error_boundary":{"title":"錯誤","message":"無法載入 Mue 的此元件","report_error":"傳送錯誤報告","sent":"已傳送!","refresh":"重新整理"},"settings":{"enabled":"已啟用","open_knowledgebase":"開啟知識庫","additional_settings":"附加設定","reminder":{"title":"注意","message":"為了使所有變更生效,必須重新整理頁面。"},"sections":{"header":{"more_info":"更多資訊","report_issue":"報告問題","enabled":"選擇是否顯示此小工具","size":"滑桿控制小部件的大小"},"time":{"title":"時間","format":"格式","type":"類型","type_subtitle":"選擇是否以數位格式、類比格式或當天完成百分比顯示時間","digital":{"title":"數位","subtitle":"變更數位時鐘的外觀","seconds":"秒","twentyfourhour":"24 小時制","twelvehour":"12 小時制","zero":"Zero-padded"},"analogue":{"title":"類比","subtitle":"變更類比時鐘的外觀","second_hand":"秒針","minute_hand":"分針","hour_hand":"時針","hour_marks":"小時刻度","minute_marks":"分鐘刻度","round_clock":"圓形背景"},"percentage_complete":"完成百分比","vertical_clock":{"title":"垂直時鐘","change_hour_colour":"變更小時文字顏色","change_minute_colour":"變更分鐘文字顏色","change_second_colour":"變更秒文字顏色"}},"date":{"title":"日期","week_number":"週數","day_of_week":"星期","datenth":"日期 th","type":{"short":"短","long":"長","subtitle":"Whether to display the date in long form or short form"},"type_settings":"Display settings and format for the selected date type","short_date":"Short date","short_format":"Short format","long_format":"Long format","short_separator":{"title":"Short separator","dots":"Dots","dash":"Dash","gaps":"Gaps","slashes":"Slashes"}},"quote":{"title":"Quote","additional":"Other settings to customise the style of the quote widget","author_link":"Author link","author_details":"作者詳細資訊","custom":"Custom quote","custom_subtitle":"Set your own custom quotes","no_quotes":"No quotes","author":"Author","custom_buttons":"Buttons","custom_author":"Custom author","author_img":"Show author image","add":"Add quote","source_subtitle":"Choose where to get quotes from","buttons":{"title":"Buttons","subtitle":"Choose which buttons to show on the quote","copy":"Copy","tweet":"Tweet","favourite":"Favourite"}},"greeting":{"title":"Greeting","events":{"0":"E","1":"v","2":"e","3":"n","4":"t","5":"s","title":"Events"},"events_description":"Control events on Mue such as birthdays.","enable_events":"Show messages on special days","default":"Default greeting message","name":"Name for greeting","birthday":"Birthday","birthday_subtitle":"Show a Happy Birthday message when it is your birthday","birthday_age":"Birthday age","birthday_date":"Birthday date","additional":"Settings for the greeting display","custom":"Custom events","event_name":"Event Name","day":"Day","month":"Month","no_events":"No Events","no_events_description":"Add Some Events","add_event":"Add Event"},"background":{"title":"Background","transition":"Fade-in transition","photo_information":"Show photo information","show_map":"Show location map on photo information if available","categories":"Categories","buttons":{"title":"Buttons","view":"Maximise","favourite":"Favourite","download":"Download"},"effects":{"title":"Effects","subtitle":"Add effects to the background images","blur":"Adjust blur","brightness":"Adjust brightness","filters":{"title":"Background filter","amount":"Filter amount","grayscale":"Grayscale","sepia":"Sepia","invert":"Invert","saturate":"Saturate","contrast":"Contrast"}},"type":{"title":"Type","api":"API","custom_image":"Custom image","custom_colour":"Custom colour/gradient","random_colour":"Random colour","random_gradient":"Random gradient"},"unsplash":{"title":"Unsplash Collection(s)","subtitle":"Select the collection(s) you want to use for your background","id":"Collection ID(s)","id_subtitle":"Enter a comma separated list of Unsplash IDs"},"source":{"title":"Source","subtitle":"Select where to get background images from","api":"Background API","custom_background":"Custom background","custom_colour":"Custom background colour","upload":"Upload","add_colour":"Add colour","add_background":"Add background","drop_to_upload":"Drop to upload","formats":"Available formats: {list}","select":"Or Select","add_url":"Add URL","disabled":"Disabled","loop_video":"Loop video","mute_video":"Mute video","quality":{"title":"Quality","original":"Original","high":"High Quality","normal":"Normal Quality","datasaver":"Data Saver"},"custom_title":"Custom Images","custom_description":"Select images from your local computer","remove":"Remove Image","delete_selected":"Delete {count} Selected","uploading":"Uploading {current} of {total}...","images":"images","tag_images":"Tag Images","tag_description":"Add {count} images to a folder (optional)","folder_name":"Folder Name","folder_placeholder":"Leave empty for no folder","storage_info":"Storage Information","storage_description":"Mue uses browser storage to save your custom images. The current limit is approximately 4.85MB for all settings and images combined.","storage_current":"Current usage: {used} of {total} ({percent}%)","sort":{"date_newest":"Date Added (Newest)","date_oldest":"Date Added (Oldest)","name_asc":"Name (A-Z)","name_desc":"Name (Z-A)","size_small":"File Size (Smallest)","size_large":"File Size (Largest)"}},"display":"Display","display_subtitle":"Change how background and photo information are loaded","api":"API Settings","api_subtitle":"Options for getting an image from an external service (API)"},"search":{"title":"Search","additional":"Additional options for search widget display and functionality","search_engine":"Search Engine","search_engine_subtitle":"Choose search engine to use in the search bar","custom":"Custom Search URL","autocomplete":"Autocomplete","autocomplete_provider":"Autocomplete Provider","autocomplete_provider_subtitle":"Search engine to use for autocomplete dropdown results","voice_search":"Voice search","dropdown":"Search Dropdown","focus":"Focus on tab open","chrome_policy_warning":"In version 7.2, the ability to choose your search engine within Mue was removed to comply with new Chrome Web Store guidelines. Mue now uses your browser's default search engine. You can change this in Chrome Settings."},"weather":{"title":"Weather","location":"Location","auto":"Auto","widget_type":"Widget Type","temp_format":{"title":"Temperature format","celsius":"Celsius","fahrenheit":"Fahrenheit","kelvin":"Kelvin"},"extra_info":{"title":"Extra information","show_location":"Show location","show_description":"Show description","weather_description":"Weather description","cloudiness":"Cloudiness","humidity":"Humidity","visibility":"Visibility","wind_speed":"Wind speed","wind_direction":"Wind direction","min_temp":"Minimum temperature","max_temp":"Maximum temperature","atmospheric_pressure":"Atmospheric pressure"},"options":{"basic":"Basic","standard":"Standard","expanded":"Expanded","custom":"Custom"},"custom_settings":"Custom Settings"},"quicklinks":{"title":"Quick Links","additional":"Additional settings for quick links display and functions","open_new":"Open in new tab","tooltip":"Tooltip","text_only":"Show text only","add_link":"Add Link","no_quicklinks":"No quick links","edit":"Edit","style":"Style","options":{"icon":"Icon","text_only":"Text Only","metro":"Metro"},"styling":"Styling","styling_description":"Customise Quick Links appearance"},"message":{"title":"Message","add":"Add message","messages":"Messages","text":"Text","no_messages":"No messages","add_some":"Go ahead and add some.","content":"Message Content"},"appearance":{"title":"Appearance","style":{"title":"Widget Style","description":"Choose between the two styles, legacy (enabled for pre 7.0 users) and our slick modern styling.","legacy":"Legacy","new":"New"},"theme":{"title":"Theme","description":"Change the theme of the Mue widgets and modals","auto":"Auto","light":"Light","dark":"Dark"},"navbar":{"title":"Navbar","widgets":"Navbar Widgets","notes":"Notes","refresh":"Refresh","refresh_subtitle":"Choose what is refreshed when you click the refresh button","hover":"Only display on hover","additional":"Modify navbar style and which buttons you want to display","refresh_options":{"none":"None","page":"Page"},"apps_subtitle":"Create a shortcut of your other commonly used websites."},"font":{"title":"Font","description":"Change the font used in Mue","custom":"Custom font","google":"Import from Google Fonts","weight":{"title":"Font weight","thin":"Thin","extra_light":"Extra Light","light":"Light","normal":"Normal","medium":"Medium","semi_bold":"Semi-Bold","bold":"Bold","extra_bold":"Extra-Bold"},"style":{"title":"Font style","normal":"Normal","italic":"Italic","oblique":"Oblique"}},"accessibility":{"title":"Accessibility","description":"Make Mue comfortable and accessible","animations":"Animations","text_shadow":{"title":"Widget text shadow","new":"New","old":"Old","none":"None"},"widget_zoom":"Widget Zoom","toast_duration":"Toast Duration","milliseconds":"milliseconds"}},"order":{"title":"Widget Order"},"advanced":{"title":"Advanced","offline_mode":"Offline mode","offline_subtitle":"When enabled, all requests to online services will be disabled.","data":"Data","data_description":"Choose whether to export your Mue settings to your computer, import an existing settings file, or reset your settings to their default values","data_subtitle":"Manage your data on Mue.","reset_modal":{"title":"WARNING","question":"Do you want to reset Mue?","information":"This will delete all data. If you wish to keep your data and preferences, please export them first.","cancel":"Cancel"},"customisation":"Customisation","custom_css":"Custom CSS","custom_css_subtitle":"Make Mue's styling customised to you with Cascading Style Sheets (CSS).","custom_js":"Custom JS","tab_name":"Tab name","tab_name_subtitle":"Change the name of the tab that appears in your browser","timezone":{"title":"Time Zone","subtitle":"Choose a timezone from the list instead of the automatic default from your computer","automatic":"Automatic"},"experimental_warning":"Please note that the Mue team cannot provide support if you have experimental mode on. Please disable it first and see if the issue continues to occur before contacting support.","preview_data_disabled":{"title":"Data Settings Disabled","description":"Data settings are disabled in preview mode. Please exit preview mode to use this feature."}},"stats":{"title":"Stats","sections":{"tabs_opened":"Tabs opened","backgrounds_favourited":"Backgrounds favourited","backgrounds_downloaded":"Backgrounds downloaded","quotes_favourited":"Quotes favourited","quicklinks_added":"Quicklinks added","settings_changed":"Settings changed","addons_installed":"Add-ons installed"},"usage":"Usage Stats","achievements":"Achievements","achievement_unlocked":"Achievement Unlocked: {name}","unlocked":"{count} Unlocked","locked":"Locked","clear_modal":{"question":"Do you want to clear your stats?","information":"This will clear all achievements and usage statistics."}},"experimental":{"title":"Experimental","warning":"These settings have not been fully tested/implemented and may not work correctly!","developer":"Developer"},"language":{"title":"Language","quote":"Quote language","search":"Search languages...","current":"Current","use_system":"Use system language","locale_formatting":"Format numbers for your language"},"changelog":{"title":"Change Log","by":"By {author}"},"about":{"title":"About","version":{"title":"Version","checking_update":"Checking for update","update_available":"Update available","no_update":"No update available","offline_mode":"Cannot check for update in offline mode","error":{"title":"Failed to get update information","description":"An error occured"}},"contact_us":"Contact Us","support_mue":"Support Mue","support_subtitle":"As Mue is entirely free, we rely on donations to cover the server bills and fund development","support_donate":"Donate","form_button":"Form","resources_used":{"title":"Resources used","bg_images":"Offline background images"},"contributors":"Contributors","supporters":"Supporters","no_supporters":"There are currently no Mue supporters","photographers":"Photographers","curators":"Add-on creators"}},"buttons":{"reset":"Reset","import":"Import","export":"Export","cancel":"Cancel","continue":"Continue","close":"Close"}},"marketplace":{"title":"Marketplace","by":"by {author}","all":"All","learn_more":"Learn More","photo_packs":"Photo Packs","quote_packs":"Quote Packs","preset_settings":"Preset Settings","no_items":"No items in this category","collection":"Collection","explore_collection":"Explore Collection","add_all":"Add All To Mue","collections":"Collections","cant_find":"Can't find what you're looking for?","knowledgebase_one":"Visit the","knowledgebase_two":"knowledgebase","knowledgebase_three":"to create your own.","installing":"Installing","product":{"overview":"Overview","information":"Information","last_updated":"Last Updated","description":"Description","details":"Details","more_from_curator":"More like this from {name}","show_more":"Show More","show_less":"Show Less","show_all":"Show All","showing":"Showing","no_images":"No. Images","no_quotes":"No. Quotes","version":"Version","created_by":"Created by","updated_at":"Updated on","part_of":"Part of","explore":"Explore","buttons":{"addtomue":"Add To Mue","remove":"Remove","update_addon":"Update Add-on","back":"Back","report":"Report","not_available_preview":"Unavailable on Preview"},"not_in_language":"This add-on is not in your language","third_party_api":"This add-on uses a third-party API","sideload_warning":"This add-on has been sideloaded.","setting":"Setting","value":"Value"},"offline":{"title":"Looks like you're offline","description":"Please connect to the internet"}},"addons":{"added":"Added","check_updates":"Check for updates","no_updates":"No updates available","updates_available":"Updates available {amount}","empty":{"title":"Empty","description":"No addons are installed"},"sideload":{"title":"Sideload","description":"Install a Mue addon not on the marketplace from your computer","failed":"Failed to sideload addon","errors":{"no_name":"No name provided","no_author":"No author provided","no_type":"No type provided","invalid_photos":"Invalid photos object","invalid_quotes":"Invalid quotes object"}},"sort":{"title":"Sort","newest":"Installed (Newest)","a_z":"Alphabetical (A-Z)","recently_updated":"Recently Updated"},"create":{"title":"Create","moved_title":"Create add-on has moved!","moved_description":"Following the 7.1 update, the creation of addons has now moved to the web UI","moved_button":"Coming Soon...."}}},"update":{"title":"Update","offline":{"title":"Offline","description":"Cannot get update logs while in offline mode"},"error":{"title":"Error","description":"Could not connect to the server"}},"welcome":{"tip":"Quick Tip","sections":{"intro":{"title":"Welcome to Mue Tab","description":"Thank you for installing Mue, we hope you enjoy your time with our extension.","notices":{"discord_title":"Join our Discord","discord_description":"Talk with the Mue community and developers","discord_join":"Join","github_title":"Contribute on GitHub","github_description":"Report bugs, add features or donate","github_open":"Open"}},"language":{"title":"Choose your language","description":"Mue can be displayed the languages listed below. You can also add new translations on our"},"theme":{"title":"Select a theme","description":"Mue is available in both light and dark theme, or this can be automatically set depending on your system theme.","tip":"Using the Auto settings will use the theme on your computer. This setting will impact the modals and some of the widgets displayed on the screen, such as weather and notes."},"style":{"title":"Choose a style","description":"Mue currently offers the choice between the legacy styling and the newly released modern styling.","legacy":"Legacy","modern":"Modern"},"settings":{"title":"Import Settings","description":"Installing Mue on a new device? Feel free to import your old settings!","tip":"You can export your old settings by navigating to the Advanced tab in your old Mue setup. Then you need to click the export button which will download the JSON file. You can upload this file here to carry across your settings and preferences from your previous Mue installation."},"privacy":{"title":"Privacy Options","description":"Enable settings to further protect your privacy with Mue.","offline_mode_description":"Enabling offline mode will disable all requests to any service. This will result in online backgrounds, online quotes, marketplace, weather, quick links, change log and some about tab information to be disabled.","links":{"title":"Links","privacy_policy":"Privacy Policy","source_code":"Source Code"}},"final":{"title":"Final step","description":"Your Mue Tab experience is about to begin.","changes":"Changes","changes_description":"To change settings later click on the settings icon in the top right corner of your tab.","imported":"Imported {amount} settings"}},"buttons":{"next":"Next","preview":"Preview","previous":"Previous","close":"Close","finish":"Finish"},"preview":{"description":"You are currently in preview mode. Settings will be reset on closing this tab.","continue":"Continue setup"}},"share":{"copy_link":"Copy link","email":"Email"}}`),WM={quote:"Quote copied",notes:"Notes copied",reset:"Reset successfully",installed:"Successfully installed",uninstalled:"Successfully removed",updated:"Successfully updated",error:"Something went wrong",imported:"Successfully imported",no_storage:"Not enough storage",link_copied:"Link copied",stats_reset:"Stats reset"},Mb={tabname:GM,widgets:KM,modals:YM,toasts:WM};function Dl(o){return new M0("en_GB",{ar:Kv,arz:Yv,az:Wv,azb:Qv,bn:Zv,de_DE:Xv,el:Jv,en_GB:$v,en_US:eb,es:tb,es_419:ab,et:ob,fa:ib,fr:nb,hu:sb,id_ID:rb,ja:lb,lt:ub,lv:db,nl:cb,no:mb,peo:pb,pt:fb,pt_BR:gb,ru:hb,sl:_b,sv:vb,ta:bb,tr_TR:yb,uk:kb,vi:wb,zh_CN:Sb,zh_Hant:Mb})}const QM={ar:Kv,arz:Yv,az:Wv,azb:Qv,bn:Zv,de_DE:Xv,el:Jv,en_GB:$v,en_US:eb,es:tb,es_419:ab,et:ob,fa:ib,fr:nb,hu:sb,id_ID:rb,ja:lb,lt:ub,lv:db,nl:cb,no:mb,peo:pb,pt:fb,pt_BR:gb,ru:hb,sl:_b,sv:vb,ta:bb,tr_TR:yb,uk:kb,vi:wb,zh_CN:Sb,zh_Hant:Mb},ZM="https://webbrain.one",XM="https://webbrain.one/privacy",JM="https://github.com/esokullu/webbrain",$M="https://github.com/esokullu/webbrain/issues/new",eA="https://github.com/mue/mue",tA="7.6.0",aA="1.0.0",oA=Object.freeze(Object.defineProperty({__proto__:null,BUG_REPORT:$M,MUE_REPO_URL:eA,MUE_VERSION:tA,PRIVACY_URL:XM,REPO_URL:JM,VERSION:aA,WEBSITE_URL:ZM},Symbol.toStringTag,{value:"Module"}));class iA{static async postEvent(){}static async tabLoad(){}}const pe={language:{},languagecode:"",stats:iA,constants:oA};class ve{static listeners={};static register(n,u){this.listeners[n]||(this.listeners[n]=[]),u.first?this.listeners[n].unshift(u):this.listeners[n].push(u)}static on(n,u){const l=d=>u(d.detail);document.addEventListener(n,l),this.register(n,{callback:u,listener:l,capture:!1})}static emit(n,u){document.dispatchEvent(new CustomEvent(n,{detail:u}))}static off(n,u){if(typeof u!="function")return;const l=this.listeners[n]||[],d=l.filter(c=>c.callback===u||c.listener===u);d.forEach(c=>document.removeEventListener(n,c.listener,{capture:c.capture})),this.listeners[n]=l.filter(c=>!d.includes(c))}static once(n,u){const l=d=>{this.off(n,l),u(d.detail)};document.addEventListener(n,l),this.register(n,{callback:u,listener:l,capture:!1})}static prepend(n,u){const l=d=>u(d.detail);document.addEventListener(n,l,{capture:!0}),this.register(n,{callback:u,listener:l,capture:!0,first:!0})}static prependOnce(n,u){const l=d=>{this.off(n,l),u(d.detail)};document.addEventListener(n,l,{capture:!0}),this.register(n,{callback:u,listener:l,capture:!0,first:!0})}static getListeners(n){return this.listeners[n]||[]}static eventNames(){return Object.keys(this.listeners)}static removeAllListeners(){Object.keys(this.listeners).forEach(n=>{this.listeners[n].forEach(({listener:u,capture:l})=>{document.removeEventListener(n,u,{capture:l})})}),this.listeners={}}}const nA={en:"en_GB",zh:"zh_CN",ar:"ar",bn:"bn",nl:"nl",fr:"fr",de:"de_DE",id:"id_ID",ja:"ja",fa:"fa",pt:"pt_BR",ru:"ru",es:"es",tr:"tr_TR",uk:"uk",vi:"vi"};function Ab(){let o;try{o=String(Ll?.getItem("wbLocale")||"").trim()}catch{o=""}return o||String(globalThis.navigator?.language||"en").slice(0,2).toLowerCase()}function sA(){return nA[Ab()]||"en_GB"}const rA=["ask","act","search","placeholder_ask","placeholder_act","placeholder_search","go","act_hint","panel_failed","recent_title","recent_empty","recent_all","settings_taskbox","settings_taskbox_sub","settings_default_mode","settings_recent","settings_credits","settings_bundled_photos"],lA={en:["Ask","Act","Search","Ask WebBrain anything…","Tell WebBrain what to do…","Search or enter a URL","Go","WebBrain opens with your task ready. Press Enter there to run it.","Couldn't open the WebBrain panel. Click the WebBrain toolbar icon.","Recent chats","No chats yet","All history","Task box","Ask or act with WebBrain from the new tab.","Default mode","Show recent chats","Credits","Bundled photos"],es:["Preguntar","Actuar","Buscar","Pregunta lo que quieras a WebBrain…","Dile a WebBrain qué hacer…","Busca o escribe una URL","Ir","WebBrain se abre con tu tarea lista. Pulsa Intro allí para ejecutarla.","No se pudo abrir el panel de WebBrain. Haz clic en el icono de WebBrain de la barra.","Chats recientes","Aún no hay chats","Todo el historial","Cuadro de tareas","Pregunta o actúa con WebBrain desde la nueva pestaña.","Modo predeterminado","Mostrar chats recientes","Créditos","Fotos incluidas"],fr:["Demander","Agir","Rechercher","Posez n’importe quelle question à WebBrain…","Dites à WebBrain quoi faire…","Rechercher ou saisir une URL","OK","WebBrain s’ouvre avec votre tâche prête. Appuyez sur Entrée pour la lancer.","Impossible d’ouvrir le panneau WebBrain. Cliquez sur l’icône WebBrain de la barre d’outils.","Discussions récentes","Aucune discussion","Tout l’historique","Zone de tâche","Posez une question ou agissez avec WebBrain depuis le nouvel onglet.","Mode par défaut","Afficher les discussions récentes","Crédits","Photos incluses"],de:["Fragen","Handeln","Suchen","Frag WebBrain, was du willst…","Sag WebBrain, was zu tun ist…","Suchen oder URL eingeben","Los","WebBrain öffnet sich mit deiner Aufgabe. Drücke dort Enter, um sie auszuführen.","Das WebBrain-Panel konnte nicht geöffnet werden. Klicke auf das WebBrain-Symbol in der Symbolleiste.","Letzte Chats","Noch keine Chats","Gesamter Verlauf","Aufgabenfeld","Frage oder handle mit WebBrain direkt im neuen Tab.","Standardmodus","Letzte Chats anzeigen","Danksagungen","Mitgelieferte Fotos"],tr:["Sor","Yap","Ara","WebBrain’e her şeyi sor…","WebBrain’e ne yapacağını söyle…","Ara veya URL gir","Git","WebBrain, görevin hazır şekilde açılır. Çalıştırmak için orada Enter’a bas.","WebBrain paneli açılamadı. Araç çubuğundaki WebBrain simgesine tıkla.","Son sohbetler","Henüz sohbet yok","Tüm geçmiş","Görev kutusu","Yeni sekmeden WebBrain ile sor veya işlem yap.","Varsayılan mod","Son sohbetleri göster","Katkılar","Dahili fotoğraflar"],pt:["Perguntar","Agir","Pesquisar","Pergunte qualquer coisa ao WebBrain…","Diga ao WebBrain o que fazer…","Pesquise ou digite um URL","Ir","O WebBrain abre com sua tarefa pronta. Pressione Enter lá para executá-la.","Não foi possível abrir o painel do WebBrain. Clique no ícone do WebBrain na barra de ferramentas.","Conversas recentes","Ainda não há conversas","Todo o histórico","Caixa de tarefas","Pergunte ou aja com o WebBrain na nova guia.","Modo padrão","Mostrar conversas recentes","Créditos","Fotos incluídas"],ru:["Спросить","Действовать","Поиск","Спросите WebBrain о чём угодно…","Скажите WebBrain, что сделать…","Введите запрос или URL","Вперёд","WebBrain откроется с готовой задачей. Нажмите там Enter, чтобы запустить её.","Не удалось открыть панель WebBrain. Нажмите значок WebBrain на панели инструментов.","Недавние чаты","Чатов пока нет","Вся история","Поле задач","Спрашивайте и действуйте с WebBrain прямо на новой вкладке.","Режим по умолчанию","Показывать недавние чаты","Авторы и лицензии","Встроенные фото"],uk:["Запитати","Діяти","Пошук","Запитайте WebBrain про що завгодно…","Скажіть WebBrain, що зробити…","Введіть запит або URL","Вперед","WebBrain відкриється з готовим завданням. Натисніть там Enter, щоб запустити його.","Не вдалося відкрити панель WebBrain. Натисніть значок WebBrain на панелі інструментів.","Нещодавні чати","Чатів поки немає","Уся історія","Поле завдань","Запитуйте та виконуйте завдання з WebBrain просто на новій вкладці.","Режим за замовчуванням","Показувати нещодавні чати","Автори та ліцензії","Вбудовані фото"],zh:["提问","执行","搜索","向 WebBrain 提任何问题…","告诉 WebBrain 要做什么…","搜索或输入网址","前往","WebBrain 将带着你的任务打开。在那里按 Enter 即可运行。","无法打开 WebBrain 面板。请点击工具栏中的 WebBrain 图标。","最近的对话","还没有对话","全部历史","任务框","在新标签页中直接向 WebBrain 提问或下达任务。","默认模式","显示最近的对话","致谢","内置照片"],ja:["質問","実行","検索","WebBrain に何でも聞く…","WebBrain にやってほしいことを伝える…","検索または URL を入力","移動","タスクを入力した状態で WebBrain が開きます。そこで Enter を押すと実行されます。","WebBrain パネルを開けませんでした。ツールバーの WebBrain アイコンをクリックしてください。","最近のチャット","チャットはまだありません","すべての履歴","タスクボックス","新しいタブから WebBrain に質問したり操作を任せたりできます。","デフォルトのモード","最近のチャットを表示","クレジット","同梱の写真"],ko:["질문","실행","검색","WebBrain에게 무엇이든 물어보세요…","WebBrain에게 할 일을 알려주세요…","검색하거나 URL 입력","이동","작업이 입력된 상태로 WebBrain이 열립니다. 거기서 Enter를 누르면 실행됩니다.","WebBrain 패널을 열 수 없습니다. 도구 모음의 WebBrain 아이콘을 클릭하세요.","최근 대화","아직 대화가 없습니다","전체 기록","작업 상자","새 탭에서 바로 WebBrain에게 질문하거나 작업을 맡기세요.","기본 모드","최근 대화 표시","크레딧","기본 제공 사진"],ar:["اسأل","نفّذ","ابحث","اسأل WebBrain أي شيء…","أخبر WebBrain بما يجب فعله…","ابحث أو أدخل عنوان URL","انتقال","يفتح WebBrain ومعه مهمتك جاهزة. اضغط Enter هناك لتشغيلها.","تعذّر فتح لوحة WebBrain. انقر على أيقونة WebBrain في شريط الأدوات.","المحادثات الأخيرة","لا توجد محادثات بعد","السجل الكامل","مربع المهام","اسأل أو نفّذ مع WebBrain مباشرة من علامة التبويب الجديدة.","الوضع الافتراضي","إظهار المحادثات الأخيرة","الشكر والتقدير","الصور المضمّنة"],he:["שאלה","פעולה","חיפוש","שאלו את WebBrain כל דבר…","ספרו ל-WebBrain מה לעשות…","חפשו או הזינו כתובת URL","מעבר","WebBrain ייפתח כשהמשימה שלכם מוכנה. לחצו שם Enter כדי להריץ אותה.","לא ניתן היה לפתוח את לוח WebBrain. לחצו על סמל WebBrain בסרגל הכלים.","שיחות אחרונות","עדיין אין שיחות","כל ההיסטוריה","תיבת משימות","שאלו או פעלו עם WebBrain ישירות מהכרטיסייה החדשה.","מצב ברירת מחדל","הצגת שיחות אחרונות","קרדיטים","תמונות מובנות"],hi:["पूछें","करें","खोजें","WebBrain से कुछ भी पूछें…","WebBrain को बताएँ क्या करना है…","खोजें या URL दर्ज करें","जाएँ","WebBrain आपके कार्य के साथ खुलेगा। चलाने के लिए वहाँ Enter दबाएँ।","WebBrain पैनल नहीं खुल सका। टूलबार में WebBrain आइकन पर क्लिक करें।","हाल की चैट","अभी कोई चैट नहीं","पूरा इतिहास","कार्य बॉक्स","नए टैब से ही WebBrain से पूछें या काम करवाएँ।","डिफ़ॉल्ट मोड","हाल की चैट दिखाएँ","श्रेय","शामिल तस्वीरें"],id:["Tanya","Jalankan","Cari","Tanyakan apa saja ke WebBrain…","Beri tahu WebBrain apa yang harus dilakukan…","Cari atau masukkan URL","Buka","WebBrain terbuka dengan tugas Anda siap. Tekan Enter di sana untuk menjalankannya.","Tidak dapat membuka panel WebBrain. Klik ikon WebBrain di bilah alat.","Obrolan terbaru","Belum ada obrolan","Semua riwayat","Kotak tugas","Tanya atau jalankan tugas dengan WebBrain langsung dari tab baru.","Mode default","Tampilkan obrolan terbaru","Kredit","Foto bawaan"],ms:["Tanya","Laksana","Cari","Tanya apa sahaja kepada WebBrain…","Beritahu WebBrain apa yang perlu dilakukan…","Cari atau masukkan URL","Pergi","WebBrain dibuka dengan tugas anda sedia. Tekan Enter di sana untuk menjalankannya.","Tidak dapat membuka panel WebBrain. Klik ikon WebBrain pada bar alat.","Sembang terkini","Belum ada sembang","Semua sejarah","Kotak tugas","Tanya atau laksanakan tugas dengan WebBrain terus dari tab baharu.","Mod lalai","Tunjukkan sembang terkini","Kredit","Foto terbina dalam"],tl:["Magtanong","Gumawa","Maghanap","Magtanong ng kahit ano sa WebBrain…","Sabihin sa WebBrain kung ano ang gagawin…","Maghanap o maglagay ng URL","Pumunta","Magbubukas ang WebBrain na handa na ang iyong gawain. Pindutin ang Enter doon para patakbuhin ito.","Hindi mabuksan ang panel ng WebBrain. I-click ang icon ng WebBrain sa toolbar.","Mga kamakailang chat","Wala pang chat","Buong kasaysayan","Kahon ng gawain","Magtanong o mag-utos sa WebBrain mula mismo sa bagong tab.","Default na mode","Ipakita ang mga kamakailang chat","Mga kredito","Mga kasamang larawan"],pl:["Zapytaj","Wykonaj","Szukaj","Zapytaj WebBrain o cokolwiek…","Powiedz WebBrain, co ma zrobić…","Wyszukaj lub wpisz adres URL","Idź","WebBrain otworzy się z gotowym zadaniem. Naciśnij tam Enter, aby je uruchomić.","Nie udało się otworzyć panelu WebBrain. Kliknij ikonę WebBrain na pasku narzędzi.","Ostatnie czaty","Brak czatów","Cała historia","Pole zadań","Pytaj i zlecaj zadania WebBrain prosto z nowej karty.","Tryb domyślny","Pokaż ostatnie czaty","Autorzy i licencje","Dołączone zdjęcia"],th:["ถาม","ทำ","ค้นหา","ถามอะไรก็ได้กับ WebBrain…","บอก WebBrain ว่าต้องทำอะไร…","ค้นหาหรือป้อน URL","ไป","WebBrain จะเปิดพร้อมงานของคุณ กด Enter ที่นั่นเพื่อรัน","เปิดแผง WebBrain ไม่ได้ คลิกไอคอน WebBrain บนแถบเครื่องมือ","แชตล่าสุด","ยังไม่มีแชต","ประวัติทั้งหมด","ช่องงาน","ถามหรือสั่งงาน WebBrain ได้จากแท็บใหม่ทันที","โหมดเริ่มต้น","แสดงแชตล่าสุด","เครดิต","รูปภาพที่รวมมา"],vi:["Hỏi","Thực hiện","Tìm kiếm","Hỏi WebBrain bất cứ điều gì…","Nói với WebBrain cần làm gì…","Tìm kiếm hoặc nhập URL","Đi","WebBrain sẽ mở với tác vụ đã sẵn sàng. Nhấn Enter ở đó để chạy.","Không thể mở bảng WebBrain. Hãy nhấp vào biểu tượng WebBrain trên thanh công cụ.","Cuộc trò chuyện gần đây","Chưa có cuộc trò chuyện","Toàn bộ lịch sử","Hộp tác vụ","Hỏi hoặc giao việc cho WebBrain ngay từ tab mới.","Chế độ mặc định","Hiện cuộc trò chuyện gần đây","Ghi công","Ảnh đi kèm"],bn:["জিজ্ঞাসা","করুন","খুঁজুন","WebBrain-কে যেকোনো কিছু জিজ্ঞাসা করুন…","WebBrain-কে বলুন কী করতে হবে…","খুঁজুন বা URL লিখুন","যান","আপনার কাজ প্রস্তুত অবস্থায় WebBrain খুলবে। চালাতে সেখানে Enter চাপুন।","WebBrain প্যানেল খোলা যায়নি। টুলবারে WebBrain আইকনে ক্লিক করুন।","সাম্প্রতিক চ্যাট","এখনো কোনো চ্যাট নেই","সম্পূর্ণ ইতিহাস","টাস্ক বক্স","নতুন ট্যাব থেকেই WebBrain-কে জিজ্ঞাসা করুন বা কাজ দিন।","ডিফল্ট মোড","সাম্প্রতিক চ্যাট দেখান","কৃতজ্ঞতা","অন্তর্ভুক্ত ছবি"],fa:["بپرس","اجرا کن","جستجو","از WebBrain هر چیزی بپرسید…","به WebBrain بگویید چه کار کند…","جستجو کنید یا نشانی URL وارد کنید","برو","WebBrain با وظیفهٔ آمادهٔ شما باز میشود. برای اجرا، آنجا Enter را بزنید.","پنل WebBrain باز نشد. روی نماد WebBrain در نوار ابزار کلیک کنید.","گفتگوهای اخیر","هنوز گفتگویی نیست","کل تاریخچه","جعبهٔ وظیفه","از همین زبانهٔ جدید از WebBrain بپرسید یا کار بسپارید.","حالت پیشفرض","نمایش گفتگوهای اخیر","سپاسها","عکسهای همراه"],nl:["Vragen","Uitvoeren","Zoeken","Vraag WebBrain alles…","Zeg WebBrain wat te doen…","Zoek of voer een URL in","Ga","WebBrain opent met je taak klaar. Druk daar op Enter om te starten.","Het WebBrain-paneel kon niet worden geopend. Klik op het WebBrain-pictogram in de werkbalk.","Recente chats","Nog geen chats","Alle geschiedenis","Taakvak","Vraag of voer uit met WebBrain, direct vanaf het nieuwe tabblad.","Standaardmodus","Recente chats tonen","Met dank aan","Meegeleverde foto’s"]},T_=Object.fromEntries(Object.entries(lA).map(([o,n])=>[o,Object.fromEntries(rA.map((u,l)=>[`wb.${u}`,n[l]]))]));function ya(o,n=Ab()){return T_[n]?.[o]??T_.en[o]??o}const Cb=o=>typeof o=="string"&&o.startsWith("wb."),xb=k.createContext();function uA({children:o,initialLanguage:n}){const[u,l]=k.useState(n),d=k.useRef(Dl());k.useEffect(()=>{u!==n&&(d.current=Dl()),pe.language=d.current,pe.languagecode=u,document.documentElement.lang=u.replace("_","-")},[u,n]);const c=k.useCallback(h=>{d.current=Dl(),pe.language=d.current,pe.languagecode=h,document.documentElement.lang=h.replace("_","-");const y=localStorage.getItem("tabName"),_=d.current?.getMessage(u,"tabname");if(y===_||!y){const g=QM[h.replace("-","_")]?.tabname||d.current?.getMessage(h,"tabname")||"Mue";localStorage.setItem("tabName",g),document.title=g}localStorage.setItem("language",h),localStorage.removeItem("currentWeather"),l(h)},[u]),f=k.useCallback((h,y={})=>Cb(h)?ya(h):d.current?d.current.getMessage(u,h,y):h,[u]);k.useEffect(()=>{const h=y=>{y?.language&&c(y.language)};return ve.on("languageChange",h),()=>{ve.off("languageChange",h)}},[c]),k.useEffect(()=>{pe.getMessage=(h,y={})=>f(h,y)},[f]);const p=k.useMemo(()=>({language:u,languagecode:u,changeLanguage:c,t:f}),[u,c,f]);return w.jsx(xb.Provider,{value:p,children:o})}function zb(){const o=k.useContext(xb);if(!o)throw new Error("useTranslation must be used within a TranslationProvider");return o}function Qo(){const{t:o}=zb();return o}function dA({info:o}){const n=Qo();return o.hidden===!0||!o.credit||localStorage.getItem("photoInformation")==="false"?null:w.jsx("div",{className:"photoInformation",style:{position:"absolute",left:"1rem",bottom:"1rem",padding:"4px 10px",borderRadius:"10px",fontSize:"0.8rem",color:"#fff",background:"rgba(0, 0, 0, 0.45)"},children:w.jsxs("span",{id:"credit",children:[n("widgets.background.credit")," ",o.credit]})})}const cA=k.memo(dA);var Tb={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},N_=_e.createContext&&_e.createContext(Tb),mA=["attr","size","title"];function pA(o,n){if(o==null)return{};var u,l,d=fA(o,n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(o);for(l=0;l<c.length;l++)u=c[l],n.indexOf(u)===-1&&{}.propertyIsEnumerable.call(o,u)&&(d[u]=o[u])}return d}function fA(o,n){if(o==null)return{};var u={};for(var l in o)if({}.hasOwnProperty.call(o,l)){if(n.indexOf(l)!==-1)continue;u[l]=o[l]}return u}function Il(){return Il=Object.assign?Object.assign.bind():function(o){for(var n=1;n<arguments.length;n++){var u=arguments[n];for(var l in u)({}).hasOwnProperty.call(u,l)&&(o[l]=u[l])}return o},Il.apply(null,arguments)}function E_(o,n){var u=Object.keys(o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);n&&(l=l.filter(function(d){return Object.getOwnPropertyDescriptor(o,d).enumerable})),u.push.apply(u,l)}return u}function Ul(o){for(var n=1;n<arguments.length;n++){var u=arguments[n]!=null?arguments[n]:{};n%2?E_(Object(u),!0).forEach(function(l){gA(o,l,u[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(u)):E_(Object(u)).forEach(function(l){Object.defineProperty(o,l,Object.getOwnPropertyDescriptor(u,l))})}return o}function gA(o,n,u){return(n=hA(n))in o?Object.defineProperty(o,n,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[n]=u,o}function hA(o){var n=_A(o,"string");return typeof n=="symbol"?n:n+""}function _A(o,n){if(typeof o!="object"||!o)return o;var u=o[Symbol.toPrimitive];if(u!==void 0){var l=u.call(o,n);if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(o)}function Nb(o){return o&&o.map((n,u)=>_e.createElement(n.tag,Ul({key:u},n.attr),Nb(n.child)))}function le(o){return n=>_e.createElement(vA,Il({attr:Ul({},o.attr)},n),Nb(o.child))}function vA(o){var n=u=>{var l=o.attr,d=o.size,c=o.title,f=pA(o,mA),p=d||u.size||"1em",h;return u.className&&(h=u.className),o.className&&(h=(h?h+" ":"")+o.className),_e.createElement("svg",Il({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},u.attr,l,f,{className:h,style:Ul(Ul({color:o.color||u.color},u.style),o.style),height:p,width:p,xmlns:"http://www.w3.org/2000/svg"}),c&&_e.createElement("title",null,c),o.children)};return N_!==void 0?_e.createElement(N_.Consumer,null,u=>n(u)):n(Tb)}function bA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"circle",attr:{cx:"12",cy:"4",r:"2"},child:[]},{tag:"path",attr:{d:"M15.89 8.11C15.5 7.72 14.83 7 13.53 7h-2.54C8.24 6.99 6 4.75 6 2H4c0 3.16 2.11 5.84 5 6.71V22h2v-6h2v6h2V10.05L18.95 14l1.41-1.41z"},child:[]}]})(o)}function WT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M21 3H3c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5a2 2 0 0 0-2-2m0 14H3V5h18z"},child:[]}]})(o)}function QT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M17 10H7v2h10zm2-7h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V8h14zm-5-5H7v2h7z"},child:[]}]})(o)}function Ls(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M17.65 6.35A7.96 7.96 0 0 0 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"},child:[]}]})(o)}function yA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"},child:[]}]})(o)}function Eb(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"},child:[]}]})(o)}function Is(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(o)}function kA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"},child:[]}]})(o)}function Nm(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},child:[]}]})(o)}function ZT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"},child:[]}]})(o)}function jb(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"},child:[]}]})(o)}function wA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"},child:[]}]})(o)}function SA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 17v2h6v-2zM3 5v2h10V5zm10 16v-2h8v-2h-8v-2h-2v6zM7 9v2H3v2h4v2h2V9zm14 4v-2H11v2zm-6-4h2V7h4V5h-4V3h-2z"},child:[]}]})(o)}function XT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"},child:[]}]})(o)}function MA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 5v4h2V5h4V3H5c-1.1 0-2 .9-2 2m2 10H3v4c0 1.1.9 2 2 2h4v-2H5zm14 4h-4v2h4c1.1 0 2-.9 2-2v-4h-2zm0-16h-4v2h4v4h2V5c0-1.1-.9-2-2-2"},child:[]}]})(o)}function AA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4z"},child:[]},{tag:"path",attr:{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 10-2.5-1.5L15 12V4h5z"},child:[]}]})(o)}function JT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2zm-3 4V8h-3V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8zM5 19l3-4 2 3 3-4 4 5z"},child:[]}]})(o)}function $T(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M5 20h14v-2H5zm0-10h4v6h6v-6h4l-7-7z"},child:[]}]})(o)}function eN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"},child:[]}]})(o)}function CA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"},child:[]}]})(o)}function xA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3"},child:[]}]})(o)}function Db(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 9V7c0-1.1-.9-2-2-2h-3c0-1.66-1.34-3-3-3S9 3.34 9 5H6c-1.1 0-2 .9-2 2v2c-1.66 0-3 1.34-3 3s1.34 3 3 3v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c1.66 0 3-1.34 3-3s-1.34-3-3-3M7.5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S9.83 13 9 13s-1.5-.67-1.5-1.5M16 17H8v-2h8zm-1-4c-.83 0-1.5-.67-1.5-1.5S14.17 10 15 10s1.5.67 1.5 1.5S15.83 13 15 13"},child:[]}]})(o)}function zA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 4V3c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6h1v4H9v11c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-9h8V4z"},child:[]}]})(o)}function tN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 9H4v2h16zM4 15h16v-2H4z"},child:[]}]})(o)}function j_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M22 7h-9v2h9zm0 8h-9v2h9zM5.54 11 2 7.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41zm0 8L2 15.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41z"},child:[]}]})(o)}function Ob(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",d:"M16 9V4h1c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3"},child:[]}]})(o)}function aN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.43-.98 2.63-2.31 2.98l1.46 1.46C20.88 15.61 22 13.95 22 12c0-2.76-2.24-5-5-5m-1 4h-2.19l2 2H16zM2 4.27l3.11 3.11A4.99 4.99 0 0 0 2 12c0 2.76 2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1 0-1.59 1.21-2.9 2.76-3.07L8.73 11H8v2h2.73L13 15.27V17h1.73l4.01 4L20 19.74 3.27 3z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 24V0"},child:[]}]})(o)}function TA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"},child:[]}]})(o)}function oN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M14.4 6 14 4H5v17h2v-7h5.6l.4 2h7V6z"},child:[]}]})(o)}function NA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"},child:[]}]})(o)}function D_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0"},child:[]},{tag:"path",attr:{d:"M8 11h8v2H8zm12.1 1H22c0-2.76-2.24-5-5-5h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M19 12h-2v3h-3v2h3v3h2v-3h3v-2h-3z"},child:[]}]})(o)}function EA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"},child:[]}]})(o)}function iN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"},child:[]}]})(o)}function jA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H6l-2 2V4h16z"},child:[]}]})(o)}function DA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8M6 13c0-1.65.67-3.15 1.76-4.24L6.34 7.34A8.01 8.01 0 0 0 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91"},child:[]}]})(o)}function nN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M13 2.05v3.03c3.39.49 6 3.39 6 6.92 0 .9-.18 1.75-.48 2.54l2.6 1.53c.56-1.24.88-2.62.88-4.07 0-5.18-3.95-9.45-9-9.95M12 19c-3.87 0-7-3.13-7-7 0-3.53 2.61-6.43 6-6.92V2.05c-5.06.5-9 4.76-9 9.95 0 5.52 4.47 10 9.99 10 3.31 0 6.24-1.61 8.06-4.09l-2.6-1.53A6.95 6.95 0 0 1 12 19"},child:[]}]})(o)}function OA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m22 5.72-4.6-3.86-1.29 1.53 4.6 3.86zM7.88 3.39 6.6 1.86 2 5.71l1.29 1.53zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9a9 9 0 0 0 0-18m0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7"},child:[]}]})(o)}function sN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},child:[]}]})(o)}function rN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"},child:[]}]})(o)}function qb(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M14 10H3v2h11zm0-4H3v2h11zM3 16h7v-2H3zm11.41 6L17 19.41 19.59 22 21 20.59 18.41 18 21 15.41 19.59 14 17 16.59 14.41 14 13 15.41 15.59 18 13 20.59z"},child:[]}]})(o)}function qA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M14 10H3v2h11zm0-4H3v2h11zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2zM3 16h7v-2H3z"},child:[]}]})(o)}function RA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 13H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2M19 3H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"},child:[]}]})(o)}function BA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m12.87 15.07-2.54-2.51.03-.03A17.5 17.5 0 0 0 14.07 6H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2zm-2.62 7 1.62-4.33L19.12 17z"},child:[]}]})(o)}function lN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6 10H6v-2h8zm4-4H6v-2h12z"},child:[]}]})(o)}function LA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.49.49 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"},child:[]}]})(o)}function Em(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"},child:[]}]})(o)}function IA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"},child:[]}]})(o)}function UA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1 1.1-.49 1.1-1.1-.49-1.1-1.1-1.1M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m2.19 12.19L6 18l3.81-8.19L18 6z"},child:[]}]})(o)}function PA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"},child:[]}]})(o)}function HA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 11H7v2h2zm4 0h-2v2h2zm4 0h-2v2h2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V9h14z"},child:[]}]})(o)}function FA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 8h-2.81a6 6 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20zm-6 8h-4v-2h4zm0-4h-4v-2h4z"},child:[]}]})(o)}function VA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m19 18 2 1V3c0-1.1-.9-2-2-2H8.99C7.89 1 7 1.9 7 3h10c1.1 0 2 .9 2 2zM15 5H5c-1.1 0-2 .9-2 2v16l7-3 7 3V7c0-1.1-.9-2-2-2"},child:[]}]})(o)}function O_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m2 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"},child:[]}]})(o)}function uN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m9 7h-6v13h-2v-6h-2v6H9V9H3V7h18z"},child:[]}]})(o)}function q_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M4 8h4V4H4zm6 12h4v-4h-4zm-6 0h4v-4H4zm0-6h4v-4H4zm6 0h4v-4h-4zm6-10v4h4V4zm-6 4h4V4h-4zm6 6h4v-4h-4zm0 6h4v-4h-4z"},child:[]}]})(o)}function GA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-4.86 8.86-3 3.87L9 13.14 6 17h12z"},child:[]}]})(o)}function dN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m19 9 1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25zM11.5 9.5 9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12zm-1.51 3.49L9 15.17l-.99-2.18L5.83 12l2.18-.99L9 8.83l.99 2.18 2.18.99z"},child:[]}]})(o)}function cN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5z"},child:[]}]})(o)}function mN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"},child:[]}]})(o)}function KA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18.62 18h-5.24l2-4H13V6h8v7.24zm-2-2h.76L19 12.76V8h-4v4h3.62zm-8 2H3.38l2-4H3V6h8v7.24zm-2-2h.76L9 12.76V8H5v4h3.62z"},child:[]}]})(o)}function YA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H6l-2 2V4h16zM7 9h2v2H7zm4 0h2v2h-2zm4 0h2v2h-2z"},child:[]}]})(o)}function WA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m23 12-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68zm-4.51 2.11.26 2.79-2.74.62-1.43 2.41L12 18.82l-2.58 1.11-1.43-2.41-2.74-.62.26-2.8L3.66 12l1.85-2.12-.26-2.78 2.74-.61 1.43-2.41L12 5.18l2.58-1.11 1.43 2.41 2.74.62-.26 2.79L20.34 12zM11 15h2v2h-2zm0-8h2v6h-2z"},child:[]}]})(o)}function pN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 6a9.77 9.77 0 0 1 8.82 5.5 9.65 9.65 0 0 1-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6m-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14M2.01 3.87l2.68 2.68A11.74 11.74 0 0 0 1 11.5C2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45zm7.5 7.5 2.61 2.61c-.04.01-.08.02-.12.02a2.5 2.5 0 0 1-2.5-2.5c0-.05.01-.08.01-.13m-3.4-3.4 1.75 1.75a4.6 4.6 0 0 0-.36 1.78 4.507 4.507 0 0 0 6.27 4.14l.98.98c-.88.24-1.8.38-2.75.38a9.77 9.77 0 0 1-8.82-5.5c.7-1.43 1.72-2.61 2.93-3.53"},child:[]}]})(o)}function fN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 6a9.77 9.77 0 0 1 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5A9.77 9.77 0 0 1 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4m0 5a2.5 2.5 0 0 1 0 5 2.5 2.5 0 0 1 0-5m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7"},child:[]}]})(o)}function QA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46a.5.5 0 0 0-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65A.49.49 0 0 0 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1a.6.6 0 0 0-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46a.5.5 0 0 0 .61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1q.09.03.18.03c.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64zm-1.98-1.71c.04.31.05.52.05.73s-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"},child:[]}]})(o)}function ZA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10.5 4.5c.28 0 .5.22.5.5v2h6v6h2c.28 0 .5.22.5.5s-.22.5-.5.5h-2v6h-2.12c-.68-1.75-2.39-3-4.38-3s-3.7 1.25-4.38 3H4v-2.12c1.75-.68 3-2.39 3-4.38S5.76 9.8 4.01 9.12L4 7h6V5c0-.28.22-.5.5-.5m0-2A2.5 2.5 0 0 0 8 5H4c-1.1 0-1.99.9-1.99 2v3.8h.29c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-.3c0-1.49 1.21-2.7 2.7-2.7s2.7 1.21 2.7 2.7v.3H17c1.1 0 2-.9 2-2v-4a2.5 2.5 0 0 0 0-5V7c0-1.1-.9-2-2-2h-4a2.5 2.5 0 0 0-2.5-2.5"},child:[]}]})(o)}function XA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"},child:[]}]})(o)}function JA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V5h14zM7 10h2v7H7zm4-3h2v10h-2zm4 6h2v4h-2z"},child:[]}]})(o)}const Yo={SETTINGS:"settings"},Re={SETTINGS:SA,LIBRARY:VA,TASKBOX:Db,DISCOVER:UA,NAVBAR:yA,GREETING:bA,TIME:OA,QUOTE:KA,QUICKLINKS:TA,DATE:HA,MESSAGE:YA,BACKGROUND:GA,SEARCH:Em,WEATHER:xA,APPEARANCE:zA,LANGUAGE:BA,ADVANCED:QA,EXPERIMENTAL:FA,STATS:JA,CHANGELOG:WA,ABOUT:IA,ADDED:ZA,CREATE:EA,OVERVIEW:RA,COLLECTIONS:AA},Fe={OVERVIEW:"modals.main.marketplace.product.overview",SETTINGS:"modals.main.navbar.settings",LIBRARY:"modals.main.navbar.library",DISCOVER:"modals.main.navbar.discover",NAVBAR:"modals.main.settings.sections.appearance.navbar.title",GREETING:"modals.main.settings.sections.greeting.title",TIME:"modals.main.settings.sections.time.title",QUICKLINKS:"modals.main.settings.sections.quicklinks.title",QUOTE:"modals.main.settings.sections.quote.title",DATE:"modals.main.settings.sections.date.title",MESSAGE:"modals.main.settings.sections.message.title",BACKGROUND:"modals.main.settings.sections.background.title",SEARCH:"modals.main.settings.sections.search.title",WEATHER:"modals.main.settings.sections.weather.title",APPEARANCE:"modals.main.settings.sections.appearance.title",LANGUAGE:"modals.main.settings.sections.language.title",ADVANCED:"modals.main.settings.sections.advanced.title",STATS:"modals.main.settings.sections.stats.title",EXPERIMENTAL:"modals.main.settings.sections.experimental.title",CHANGELOG:"modals.main.settings.sections.changelog.title",ABOUT:"modals.main.settings.sections.about.title",ADDED:"modals.main.addons.added",CREATE:"modals.main.addons.create.title",ALL_MARKETPLACE:"modals.main.marketplace.all",PHOTO_PACKS:"modals.main.marketplace.photo_packs",QUOTE_PACKS:"modals.main.marketplace.quote_packs",PRESET_SETTINGS:"modals.main.marketplace.preset_settings",COLLECTIONS:"modals.main.marketplace.collections"},gN=(o,n)=>({[n.getMessage(Fe.OVERVIEW)]:Re.OVERVIEW,[n.getMessage(Fe.SETTINGS)]:Re.SETTINGS,[n.getMessage(Fe.LIBRARY)]:Re.LIBRARY,[n.getMessage(Fe.DISCOVER)]:Re.DISCOVER,[n.getMessage(Fe.NAVBAR)]:Re.NAVBAR,[n.getMessage(Fe.GREETING)]:Re.GREETING,[n.getMessage(Fe.TIME)]:Re.TIME,[n.getMessage(Fe.QUICKLINKS)]:Re.QUICKLINKS,[n.getMessage(Fe.QUOTE)]:Re.QUOTE,[n.getMessage(Fe.DATE)]:Re.DATE,[n.getMessage(Fe.MESSAGE)]:Re.MESSAGE,[n.getMessage(Fe.BACKGROUND)]:Re.BACKGROUND,[n.getMessage(Fe.SEARCH)]:Re.SEARCH,[n.getMessage(Fe.WEATHER)]:Re.WEATHER,[n.getMessage(Fe.APPEARANCE)]:Re.APPEARANCE,[n.getMessage(Fe.LANGUAGE)]:Re.LANGUAGE,[n.getMessage(Fe.ADVANCED)]:Re.ADVANCED,[n.getMessage(Fe.STATS)]:Re.STATS,[n.getMessage(Fe.EXPERIMENTAL)]:Re.EXPERIMENTAL,[n.getMessage(Fe.CHANGELOG)]:Re.CHANGELOG,[n.getMessage(Fe.ABOUT)]:Re.ABOUT,[n.getMessage("wb.settings_credits")]:Re.ABOUT,[n.getMessage("wb.settings_taskbox")]:Re.TASKBOX,[n.getMessage(Fe.ADDED)]:Re.ADDED,[n.getMessage(Fe.CREATE)]:Re.CREATE,[n.getMessage(Fe.ALL_MARKETPLACE)]:Re.LIBRARY,[n.getMessage(Fe.PHOTO_PACKS)]:Re.BACKGROUND,[n.getMessage(Fe.QUOTE_PACKS)]:Re.QUOTE,[n.getMessage(Fe.PRESET_SETTINGS)]:Re.ADVANCED,[n.getMessage(Fe.COLLECTIONS)]:Re.COLLECTIONS})[o],$A=[{tab:Yo.SETTINGS,icon:Re.SETTINGS,messageKey:"modals.main.navbar.settings"}],hN=["modals.main.settings.sections.appearance.title","modals.main.settings.sections.advanced.title"],Pl=(o=window.location.hash)=>{if(!o||o==="#")return null;const[n,u,l]=o.slice(1).split("/");return n!==Yo.SETTINGS?null:{tab:n,section:u||void 0,subSection:l||void 0}},Hl=(o,n=!0)=>{window.history.pushState?n?window.history.pushState(null,null,o):window.history.replaceState(null,null,o):window.location.hash=o},eC=()=>Pl()!==null,tC="MueCustomBackgrounds",aC=1,zt="backgrounds";function Ti(){return new Promise((o,n)=>{const u=indexedDB.open(tC,aC);u.onerror=()=>n(u.error),u.onsuccess=()=>o(u.result),u.onupgradeneeded=l=>{const d=l.target.result;d.objectStoreNames.contains(zt)||d.createObjectStore(zt,{keyPath:"id",autoIncrement:!0}).createIndex("url","url",{unique:!1})}})}async function Rb(){try{const l=(await Ti()).transaction(zt,"readonly").objectStore(zt).getAll();return new Promise((d,c)=>{l.onsuccess=()=>{const f=l.result;d(f.map(p=>typeof p.url=="string"&&!p.name?{id:p.id,url:p.url,name:`Image ${p.id}`,uploadDate:p.createdAt||Date.now(),dimensions:null,fileSize:null,folder:"",blurHash:null}:p))},l.onerror=()=>c(l.error)})}catch(o){return console.error("Error getting backgrounds from IndexedDB:",o),[]}}async function oC(){return(await Rb()).map(n=>n.url||n)}async function iC(o){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt),d=typeof o=="string"?{url:o,name:"Image",uploadDate:Date.now(),folder:""}:{...o,uploadDate:o.uploadDate||Date.now()},c=l.add(d);return new Promise((f,p)=>{c.onsuccess=()=>f(c.result),c.onerror=()=>p(c.error)})}async function _N(o){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt),d=l.getAll();return new Promise((c,f)=>{d.onsuccess=()=>{const p=d.result;if(p[o]){const h=l.delete(p[o].id);h.onsuccess=()=>c(),h.onerror=()=>f(h.error)}else c()},d.onerror=()=>f(d.error)})}async function vN(o){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt),d=l.getAll();return new Promise((c,f)=>{d.onsuccess=()=>{const p=d.result,h=o.filter(g=>p[g]).map(g=>p[g].id);let y=0;const _=h.length;if(_===0){c();return}h.forEach(g=>{const b=l.delete(g);b.onsuccess=()=>{y++,y===_&&c()},b.onerror=()=>f(b.error)})},d.onerror=()=>f(d.error)})}async function nC(){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt).clear();return new Promise((d,c)=>{l.onsuccess=()=>d(),l.onerror=()=>c(l.error)})}async function sC(){const l=(await Ti()).transaction(zt,"readonly").objectStore(zt).count();return new Promise((d,c)=>{l.onsuccess=()=>d(l.result),l.onerror=()=>c(l.error)})}async function bN(o,n){const d=(await Ti()).transaction(zt,"readwrite").objectStore(zt),c=d.get(o);return new Promise((f,p)=>{c.onsuccess=()=>{const h=c.result;if(h){Object.assign(h,n),h.updatedAt=Date.now();const y=d.put(h);y.onsuccess=()=>f(),y.onerror=()=>p(y.error)}else p(new Error("Background not found"))},c.onerror=()=>p(c.error)})}async function yN(){try{const o=localStorage.getItem("customBackground");if(!o||o==="null"||o==="[]")return!1;let n=[];try{n=JSON.parse(o),Array.isArray(n)||(n=[o])}catch{n=[o]}if(n=n.filter(l=>l&&l.trim()!==""),n.length===0||await sC()>0)return!1;for(const l of n)await iC(l);return console.log(`Migrated ${n.length} backgrounds from localStorage to IndexedDB`),localStorage.setItem("customBackgroundMigrated","true"),!0}catch(o){return console.error("Error migrating backgrounds:",o),!1}}function rC({photoInfo:o,currentAPI:n,url:u}){const l=localStorage.getItem("backgroundType")==="custom",[d,c]=k.useState([]),[f,p]=k.useState(!0);k.useEffect(()=>{(async()=>{if(l)try{const g=await oC();c(g||[])}catch(g){console.error("Failed to load custom backgrounds:",g),c([])}p(!1)})()},[l,u]);const h=l&&!f&&(!d||d.length===0),y=()=>{Hl("#settings/background/source"),ve.emit("modal","openMainModal")};return w.jsxs(w.Fragment,{children:[w.jsx("div",{id:"backgroundImage"}),h&&w.jsxs("div",{style:{position:"absolute",bottom:"20px",left:"20px",color:"white",background:"rgba(0, 0, 0, 0.6)",padding:"20px 30px",borderRadius:"10px",zIndex:1},children:[w.jsx("h2",{style:{margin:"0 0 10px 0",fontSize:"20px"},children:pe.getMessage("widgets.background.no_images_title")||"No Custom Images"}),w.jsx("p",{style:{margin:"0 0 15px 0",fontSize:"14px",opacity:.9},children:pe.getMessage("widgets.background.no_images_description")||"Please add custom images in the Background settings"}),w.jsx("button",{onClick:y,style:{background:"rgba(255, 255, 255, 0.2)",border:"1px solid rgba(255, 255, 255, 0.3)",color:"white",padding:"10px 20px",borderRadius:"5px",cursor:"pointer",fontSize:"14px",fontWeight:"500",transition:"all 0.2s"},onMouseOver:_=>{_.target.style.background="rgba(255, 255, 255, 0.3)"},onMouseOut:_=>{_.target.style.background="rgba(255, 255, 255, 0.2)"},children:pe.getMessage("widgets.background.add_images_button")||"Add Images"})]}),o?.credit&&w.jsx(cA,{info:o,api:n,url:u})]})}const lC=k.memo(rC),R_=()=>({muted:localStorage.getItem("backgroundVideoMute")==="true",loop:localStorage.getItem("backgroundVideoLoop")==="true"});function uC({url:o,filterStyle:n}){const[{muted:u,loop:l},d]=k.useState(R_);return k.useEffect(()=>{const c=f=>{f==="backgroundvideo"&&d(R_())};return ve.on("refresh",c),()=>ve.off("refresh",c)},[]),w.jsx("video",{autoPlay:!0,muted:u,loop:l,style:n,id:"backgroundVideo",children:w.jsx("source",{src:o})})}const dC=k.memo(uC);function cC(){const[o,n]=k.useState({url:"",style:"",type:"",currentAPI:"",video:!1,photoInfo:{hidden:!1,offline:!1,photographerURL:"",photoURL:""}}),u=k.useCallback(d=>{n(c=>({...c,...d,photoInfo:{...c.photoInfo,...d.photoInfo||{}}}))},[]),l=k.useCallback(()=>{n({url:"",style:"",type:"",currentAPI:"",video:!1,photoInfo:{hidden:!0}})},[]);return{backgroundData:o,updateBackground:u,resetBackground:l}}const mC={photo:[5]},$c={"Ryan Hutton":{photo:[1]},"Francesco De Tommaso":{photo:[2]},"Andy Vu":{photo:[3]},"Sergi Ferrete":{photo:[4]},Pixabay:mC};function Bb(o){const n=Object.keys($c),u=n[Math.floor(Math.random()*n.length)],d={url:`src/assets/offline-images/${$c[u].photo[Math.floor(Math.random()*$c[u].photo.length)]}.webp`,type:o,photoInfo:{offline:!0,credit:u}};return localStorage.setItem("currentBackground",JSON.stringify(d)),d}function pC(o){const n=()=>"#000000".replace(/0/g,()=>(~~(Math.random()*16)).toString(16));let u=`background:${n()};`;if(o==="random_gradient"){const l=["to right","to left","to bottom","to top","to bottom right","to bottom left","to top right","to top left"];u=`background:linear-gradient(${l[Math.floor(Math.random()*l.length)]}, ${n()}, ${n()});`}return{type:"colour",style:u}}function Lb(o){return o.startsWith("data:video/")||o.startsWith("video/")||o.endsWith(".mp4")||o.endsWith(".webm")||o.endsWith(".ogg")}const Ib=(o,n=null)=>{const u=localStorage.getItem(o);if(u===null||u==="null")return n;try{const l=JSON.parse(u);return l!==null?l:n}catch{return n}};async function fC(){const o=localStorage.getItem("offlineMode")==="true"||localStorage.getItem("showWelcome")==="true",n=Ib("favourite");if(n)return n.type==="random_colour"||n.type==="random_gradient"?{type:"colour",style:`background:${n.url}`}:{url:n.url,photoInfo:{...n,url:n.url}};const u=localStorage.getItem("backgroundType");switch(u){case"api":return hC();case"colour":return gC();case"random_colour":case"random_gradient":return pC(u);case"custom":return await _C(o);default:return null}}function gC(){return{type:"colour",style:`background: ${localStorage.getItem("customBackgroundColour")||"rgb(0,0,0)"}`}}function hC(){return{...Bb("api"),currentAPI:localStorage.getItem("backgroundAPI")||"mue"}}async function _C(o){let n=await Rb();if(!n||n.length===0){const c=Ib("customBackground",[]);c&&c.length>0&&(n=c.map(f=>({url:f,photoInfo:{hidden:!0}})))}if(!n||n.length===0)return null;const u=n[Math.floor(Math.random()*n.length)];if(!u)return null;const l=u.url||u;if(o&&!l.startsWith("data:"))return Bb("custom");const d={url:l,type:"custom",video:Lb(l),photoInfo:{hidden:!0,blur_hash:u.blurHash||null}};try{localStorage.setItem("currentBackground",JSON.stringify({type:"custom",video:d.video,photoInfo:d.photoInfo}))}catch(c){console.warn("Could not save currentBackground to localStorage:",c)}return d}function vC(o,n){const u=k.useRef(0),l=k.useCallback(async()=>{const c=++u.current,f=()=>c!==u.current;try{if(localStorage.getItem("welcomeTab")){const y=localStorage.getItem("welcomeImage");if(y){o(JSON.parse(y));return}}const h=await fC();if(f())return;h&&o(h)}catch(p){console.error("Failed to load background:",p)}},[o]),d=k.useCallback(()=>{n(),l()},[l,n]);return k.useEffect(()=>{const c=localStorage.getItem("backgroundchange");(!localStorage.getItem("backgroundStartTime")||c==="refresh")&&localStorage.setItem("backgroundStartTime",Date.now()),l()},[l]),{loadBackground:l,refreshBackground:d}}async function bC(o){try{const n=await fetch(o,{mode:"cors",credentials:"omit"});if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);const u=await n.blob();return URL.createObjectURL(u)}catch{return null}}const yC="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz#$%*+,-.:;=?@[]^_{|}~",Ol=(o,n,u)=>{let l=0;for(;n<u;)l=l*83+yC.indexOf(o[n++]);return l},Ub=Math.pow,js=Math.PI,Pb=3294.6,Hb=269.025,kC=o=>o>10.31475?Ub(o/Hb+.052132,2.4):o/Pb,wC=o=>~~(o>1227e-8?Hb*Ub(o,.416666)-13.025:o*Pb+1),Fl=4096,Fb=new Uint8ClampedArray(Fl+1);for(let o=0;o<=Fl;o++)Fb[o]=wC(o/Fl);const em=o=>o<=0?0:o>=1?255:Fb[o*Fl+.5|0],Ds=o=>(o<0?-1:1)*o*o,B_=o=>{for(o+=js/2;o>js;)o-=js*2;const n=1.27323954*o-.405284735*Ds(o);return .225*(Ds(n)-n)+n};function SC(o){const n=Ol(o,2,6);return[n>>16,n>>8&255,n&255]}function MC(o,n,u,l){const d=Ol(o,0,1),c=d%9+1,f=~~(d/9)+1,p=c*f;let h,y,_,g,b,S,C,x,A,j,z,L;const G=(Ol(o,1,2)+1)/13446*(l|1),Z=new Float64Array(p*3),H=SC(o);for(h=0;h<3;h++)Z[h]=kC(H[h]);for(h=1;h<p;h++)L=Ol(o,4+h*2,6+h*2),Z[h*3]=Ds(~~(L/361)-9)*G,Z[h*3+1]=Ds(~~(L/19)%19-9)*G,Z[h*3+2]=Ds(L%19-9)*G;const D=new Float64Array(f*u),q=new Float64Array(c*n);for(y=0;y<f;y++)for(g=0;g<u;g++)D[y*u+g]=B_(js*g*y/u);for(h=0;h<c;h++)for(_=0;_<n;_++)q[h*n+_]=B_(js*_*h/n);const V=n*4,$=new Uint8ClampedArray(V*u),W=new Float64Array(c*3);for(g=0;g<u;g++){for(h=0;h<c;h++){for(b=S=C=0,y=0;y<f;y++)A=D[y*u+g],j=(h+y*c)*3,b+=Z[j]*A,S+=Z[j+1]*A,C+=Z[j+2]*A;W[h*3]=b,W[h*3+1]=S,W[h*3+2]=C}for(_=0;_<n;_++){for(b=S=C=0,h=0;h<c;h++)x=q[h*n+_],j=h*3,b+=W[j]*x,S+=W[j+1]*x,C+=W[j+2]*x;z=4*_+g*V,$[z]=em(b),$[z+1]=em(S),$[z+2]=em(C),$[z+3]=255}}return $}function AC(o,n=32,u=32){try{const l=document.createElement("canvas");l.width=n,l.height=u;const d=l.getContext("2d"),c=d.createImageData(n,u);return c.data.set(MC(o,n,u)),d.putImageData(c,0,0),l.toDataURL()}catch(l){return console.error("Failed to generate blur hash:",l),null}}function jm(){const o=localStorage.getItem("blur")||"0",n=localStorage.getItem("brightness")||"100",u=localStorage.getItem("backgroundFilter"),l=localStorage.getItem("backgroundFilterAmount")||"100";let d=`blur(${o}px) brightness(${n}%)`;return u&&u!=="none"&&(d+=` ${u}(${l}%)`),d}function Dm(){const o=localStorage.getItem("blur")||"0",n=localStorage.getItem("brightness")||"100",u=localStorage.getItem("backgroundFilter"),l=localStorage.getItem("backgroundFilterAmount")||"100";let d=`blur(${o}px)`;u&&u!=="none"&&(d+=` ${u}(${l}%)`);const f=(100-parseInt(n,10))/100;return{backdropFilter:d,WebkitBackdropFilter:d,backgroundColor:`rgba(0, 0, 0, ${f})`}}const L_=1200;function CC(o){const n=k.useRef(null);k.useEffect(()=>{if(o.video)return;const u=document.getElementById("backgroundImage");if(!u)return;let l=!1,d=null;return(async()=>{if(o.url){const f=localStorage.getItem("bgtransition")!=="false",p=window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(!f||p){u.style.background=`url(${o.url})`,document.querySelector(".photoInformation")?.style.setProperty("display","flex");return}let h=document.getElementById("backgroundOverlay");if(h||(h=document.createElement("div"),h.id="backgroundOverlay",u.parentNode.insertBefore(h,u.nextSibling)),o.photoInfo?.colour&&(u.style.backgroundColor=o.photoInfo.colour),o.photoInfo?.blur_hash){const b=AC(o.photoInfo.blur_hash,64,64);b&&(u.style.backgroundImage=`url(${b})`)}const y=await bC(o.url);if(l){y&&URL.revokeObjectURL(y);return}const _=y||o.url;y&&(n.current&&URL.revokeObjectURL(n.current),n.current=y);const g=new Image;if(g.src=_,await new Promise(b=>{g.onload=b,g.onerror=b}),l)return;h.style.transition="none",h.style.opacity="0",h.style.backgroundImage="",h.offsetHeight,h.style.backgroundImage=`url(${_})`,h.offsetHeight,h.style.transition=`opacity ${L_/1e3}s ease-in-out`,h.offsetHeight,h.style.opacity="1",d=setTimeout(()=>{u.style.backgroundImage=`url(${_})`,h.style.opacity="0",h.style.backgroundImage=""},L_+100)}else o.style&&u.setAttribute("style",o.style)})(),()=>{l=!0,clearTimeout(d),n.current&&(URL.revokeObjectURL(n.current),n.current=null);const f=document.getElementById("backgroundOverlay");f&&f.remove()}},[o.url,o.style,o.video,o.photoInfo])}function xC(){return k.useMemo(()=>({WebkitFilter:jm()}),[])}function zC(){return k.useMemo(()=>Dm(),[])}function TC(o,n){k.useEffect(()=>{const u=c=>{c==="welcomeLanguage"?localStorage.setItem("welcomeImage",JSON.stringify(o)):c==="background"?l():["backgroundwelcome","backgroundrefresh"].includes(c)?n():c==="backgroundeffect"&&d()},l=()=>{const c=document.getElementById(o.video?"backgroundVideo":"backgroundImage"),f=document.querySelector(".photoInformation");if(!(localStorage.getItem("background")!=="false")){c?.style.setProperty("display","none"),o.photoInfo?.hidden||f?.style.setProperty("display","none");return}c?.style.setProperty("display","block"),o.photoInfo?.hidden||f?.style.setProperty("display","flex");const h=localStorage.getItem("backgroundType");(h!==o.type&&!(o.photoInfo?.offline&&h===o.type)||o.type==="api"&&localStorage.getItem("backgroundAPI")!==o.currentAPI||h==="custom"&&o.type!=="custom"||h==="colour"||o.photoInfo?.pun&&JSON.parse(localStorage.getItem("backgroundExclude")||"[]").includes(o.photoInfo.pun))&&n()},d=()=>{if(o.video){const c=jm(),f=document.getElementById("backgroundVideo");f&&(f.style.webkitFilter=c)}else{const c=document.getElementById("backgroundFilterOverlay");if(c){const f=Dm();c.style.backdropFilter=f.backdropFilter,c.style.webkitBackdropFilter=f.WebkitBackdropFilter,c.style.backgroundColor=f.backgroundColor}}};return ve.on("refresh",u),()=>ve.off("refresh",u)},[o,n])}function NC(){const{backgroundData:o,updateBackground:n,resetBackground:u}=cC(),{refreshBackground:l}=vC(n,u),d=xC(),c=zC();return CC(o),TC(o,l),w.jsxs(w.Fragment,{children:[o.video?w.jsx(dC,{url:o.url,filterStyle:d}):w.jsx(lC,{photoInfo:o.photoInfo,currentAPI:o.currentAPI,url:o.url}),w.jsx("div",{id:"backgroundFilterOverlay",style:c})]})}const EC=(function(){const n=typeof document<"u"&&document.createElement("link").relList;return n&&n.supports&&n.supports("modulepreload")?"modulepreload":"preload"})(),jC=function(o,n){return new URL(o,n).href},I_={},Om=function(n,u,l){let d=Promise.resolve();if(u&&u.length>0){let y=function(_){return Promise.all(_.map(g=>Promise.resolve(g).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const f=document.getElementsByTagName("link"),p=document.querySelector("meta[property=csp-nonce]"),h=p?.nonce||p?.getAttribute("nonce");d=y(u.map(_=>{if(_=jC(_,l),_ in I_)return;I_[_]=!0;const g=_.endsWith(".css"),b=g?'[rel="stylesheet"]':"";if(l)for(let C=f.length-1;C>=0;C--){const x=f[C];if(x.href===_&&(!g||x.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${_}"]${b}`))return;const S=document.createElement("link");if(S.rel=g?"stylesheet":EC,g||(S.as="script"),S.crossOrigin="",S.href=_,h&&S.setAttribute("nonce",h),document.head.appendChild(S),g)return new Promise((C,x)=>{S.addEventListener("load",C),S.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${_}`)))})}))}function c(f){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=f,window.dispatchEvent(p),!p.defaultPrevented)throw f}return d.then(f=>{for(const p of f||[])p.status==="rejected"&&c(p.reason);return n().catch(c)})};function Vb(o){if(o>3&&o<21)return o+"th";switch(o%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd";default:return o+"th"}}function qm(o,n){return new Date((typeof o=="string"?new Date(o):o).toLocaleString("en-US",{timeZone:n}))}function Gb(){const o=localStorage.getItem("language")?.replace(/_/g,"-")||"en-GB",n={ar:"arab",fa:"arabext",bn:"beng",hi:"deva",mr:"deva",ne:"deva",ta:"tamldec"},u=o.split("-")[0];return n[u]?`${o}-u-nu-${n[u]}`:o}function DC(o){if(localStorage.getItem("localeFormatting")==="false")return Math.round(o*100)+"%";try{return new Intl.NumberFormat(Gb(),{style:"percent",maximumFractionDigits:0}).format(o)}catch{return Math.round(o*100)+"%"}}function Es(o){if(localStorage.getItem("localeFormatting")==="false")return String(o);try{const u=typeof o=="string"?parseInt(o,10):o;return isNaN(u)?String(o):new Intl.NumberFormat(Gb(),{useGrouping:!1}).format(u)}catch{return String(o)}}const OC=k.lazy(()=>Om(()=>import("./index-WlLvTUiq.js"),[],import.meta.url));function qC({time:o}){const n=u=>localStorage.getItem(u)==="true";return w.jsx(k.Suspense,{fallback:w.jsx(w.Fragment,{}),children:w.jsx("div",{className:`clockBackground ${n("roundClock")?"round":""}`,children:w.jsx(OC,{className:"analogclock clock-container",value:o,size:1.5*Number(localStorage.getItem("zoomClock")||100),renderMinuteMarks:n("minuteMarks"),renderHourMarks:n("hourMarks"),renderSecondHand:n("secondHand"),renderMinuteHand:n("minuteHand"),renderHourHand:n("hourHand")})})})}function RC({finalHour:o,finalMinute:n,finalSeconds:u}){const l=localStorage.getItem("hourColour")||"#fff",d=localStorage.getItem("minuteColour")||"#fff",c=localStorage.getItem("secondColour")||"#fff";return w.jsxs("span",{className:"vertical-clock clock-container",children:[w.jsx("div",{className:"hour",style:{color:l},children:o}),w.jsx("div",{className:"minute",style:{color:d},children:n}),w.jsx("div",{className:"seconds",style:{color:c},children:u})]})}const Yt=o=>String(o).split("").map(u=>Es(u)).join(""),BC=()=>{const[o]=k.useState(localStorage.getItem("timeType")),[n,u]=k.useState(""),[l,d]=k.useState(""),[c,f]=k.useState(""),[p,h]=k.useState(""),[y,_]=k.useState(""),[g,b]=k.useState("block"),[S,C]=k.useState("4em"),x=k.useRef(void 0),A=(j=localStorage.getItem("seconds")==="true"||localStorage.getItem("timeType")==="analogue"?1e3-Date.now()%1e3:6e4-Date.now()%6e4)=>{x.current=setTimeout(()=>{let z=new Date;const L=localStorage.getItem("timezone");switch(L&&L!=="auto"&&(z=qm(z,L)),localStorage.getItem("timeType")){case"percentageComplete":u(DC(z.getHours()/24)),_("");break;case"analogue":Om(()=>Promise.resolve({}),__vite__mapDeps([0]),import.meta.url),u(z);break;default:{let G,Z="";const H=localStorage.getItem("zero");if(localStorage.getItem("seconds")==="true"){const D=("00"+z.getSeconds()).slice(-2);Z=`:${Yt(D)}`,h(Yt(D))}else h("");if(localStorage.getItem("timeformat")==="twentyfourhour"){const D=("00"+z.getMinutes()).slice(-2);if(H==="true"){const q=("00"+z.getHours()).slice(-2);G=`${Yt(q)}:${Yt(D)}${Z}`,d(Yt(q)),f(Yt(D))}else{const q=z.getHours();G=`${Es(q)}:${Yt(D)}${Z}`,d(Es(q)),f(Yt(D))}u(G),_("")}else{let D=z.getHours();D>12?D-=12:D===0&&(D=12);const q=("00"+z.getMinutes()).slice(-2);if(H==="true"){const V=("00"+D).slice(-2);G=`${Yt(V)}:${Yt(q)}${Z}`,d(Yt(V)),f(Yt(q))}else G=`${Es(D)}:${Yt(q)}${Z}`,d(Es(D)),f(Yt(q));u(G),_(z.getHours()>11?"PM":"AM")}break}}A()},j)};return k.useEffect(()=>{const j=z=>{if(z==="clock"||z==="timezone"){if(localStorage.getItem("time")==="false"){b("none");return}clearTimeout(x.current),x.current=null,A(0),b("block"),C(`${4*Number((localStorage.getItem("zoomClock")||100)/100)}em`)}};return localStorage.getItem("timeType")!=="analogue"&&C(`${4*Number((localStorage.getItem("zoomClock")||100)/100)}em`),A(0),ve.on("refresh",j),()=>{ve.off("refresh",j),x.current&&clearTimeout(x.current)}},[]),localStorage.getItem("timeType")==="analogue"?w.jsx(qC,{time:n}):localStorage.getItem("timeType")==="verticalClock"?w.jsx(RC,{finalHour:l,finalMinute:c,finalSeconds:p}):w.jsxs("span",{className:"clock clock-container",style:{display:g,fontSize:S},children:[n,w.jsx("span",{className:"ampm",children:y})]})},LC=(o,n)=>{if(!(localStorage.getItem("events")!=="false"))return n;const l=o.getMonth(),d=o.getDate(),f=JSON.parse(localStorage.getItem("customEvents")||"[]").find(p=>p.month-1===l&&p.date===d);return f&&(n=f.name),n},U_=o=>{const n=Date.now()-o.getTime(),u=new Date(n);return Math.abs(u.getUTCFullYear()-1970)},IC=()=>{const o=Qo(),[n,u]=k.useState(""),[l,d]=k.useState("block"),[c,f]=k.useState("1.6em"),p=k.useRef(),h=k.useRef(null),y=(_=6e4-Date.now()%6e4)=>{h.current=setTimeout(()=>{let g=new Date;const b=localStorage.getItem("timezone");b&&b!=="auto"&&(g=qm(g,b));const S=g.getHours();let C;switch(!0){case S<12:C=o("widgets.greeting.morning");break;case S<18:C=o("widgets.greeting.afternoon");break;default:C=o("widgets.greeting.evening");break}const x=localStorage.getItem("defaultGreetingMessage");x==="false"?C="":C=LC(g,C);let A="";const j=localStorage.getItem("greetingName");typeof j=="string"&&j.replace(/\s/g,"").length>0&&(A=`, ${j.trim()}`);const z=localStorage.getItem("birthdayenabled");if(x==="false"&&z!=="true"&&(A=A.replace(",","")),z==="true"){const L=new Date(localStorage.getItem("birthday"));if(L.getDate()===g.getDate()&&L.getMonth()===g.getMonth())if(localStorage.getItem("birthdayage")==="true"&&U_(L)!==0){const G=o("widgets.greeting.birthday").split(" ");C=`${G[0]} ${Vb(U_(L))} ${G[1]}`}else C=o("widgets.greeting.birthday")}u(`${C}${A}`),y()},_)};return k.useEffect(()=>{const _=b=>{if(b==="greeting"||b==="timezone"){const S=localStorage.getItem("greeting"),C=localStorage.getItem("zoomGreeting");d(S==="false"?"none":"block"),f(`${1.6*Number((C||100)/100)}em`),S!=="false"&&(h.current&&clearTimeout(h.current),y(0))}},g=localStorage.getItem("zoomGreeting");return f(`${1.6*Number((g||100)/100)}em`),y(0),ve.on("refresh",_),()=>{ve.off("refresh",_),h.current&&clearTimeout(h.current)}},[o]),w.jsx("span",{className:"greeting",ref:p,style:{display:l,fontSize:c},children:n})},UC="wbNewtabHandoff:",au=o=>`${UC}${o}`,PC=4e3,ou=()=>typeof browser<"u"&&typeof browser?.sidebarAction?.open=="function",Us=()=>ou()?browser:typeof chrome<"u"&&chrome?.runtime?.id?chrome:null;let Vl=null;async function HC(){let o=null;try{o=await Us()?.tabs?.getCurrent?.()??null}catch{o=null}return o?.id!=null&&await GC(Us(),o.id),Vl=o,Vl}function FC({text:o,mode:n,tabId:u,now:l=Date.now()}){return{id:`nt-${l}-${Math.random().toString(36).slice(2,8)}`,tabId:u,text:String(o).slice(0,PC),mode:n==="act"?"act":"ask",createdAt:l}}const Kb=16e4,Wo=new Map;function Yb(o){let n;const u=new Promise(d=>{n=d}),l=()=>{Wo.get(o)?.promise===u&&Wo.delete(o),n()};return Wo.set(o,{promise:u,release:l}),l}const VC=o=>Wo.has(o);function P_(o=Vl){return Wo.get(o?.id)?.promise??Promise.resolve()}async function GC(o,n,u=Date.now()){if(!o?.storage?.local?.get||Wo.has(n))return!1;const l=au(n);let d;try{d=(await o.storage.local.get(l))?.[l]}catch{return!1}if(!d||Wo.has(n))return!1;const c=Kb-(u-Number(d.createdAt||0));return c>0?(Wb(o,n,Yb(n),c),!0):!1}function Wb(o,n,u,l=Kb){const d=au(n);let c;const f=(h,y)=>{(!y||y==="local")&&h?.[d]&&!h[d].newValue&&p()};function p(){clearTimeout(c),o.storage.onChanged?.removeListener?.(f),u()}c=setTimeout(p,l),o.storage.onChanged?.addListener?.(f),Promise.resolve(o.storage.local.get?.(d)).then(h=>{h?.[d]||p()}).catch(()=>{})}function KC({text:o,mode:n},u=Us(),l=Vl){if(!u||l?.id==null)return Promise.reject(new Error("Extension API unavailable"));if(Wo.has(l.id))return Promise.reject(new Error("Previous task is still being handed over"));const d=ou();if(!d&&!u.sidePanel?.open)return Promise.reject(new Error("Side panel API unavailable"));const c=Yb(l.id),f=FC({text:o,mode:n,tabId:l.id});let p,h;try{p=Promise.resolve(u.storage.local.set({[au(l.id)]:f})),d?h=u.sidebarAction.open():(Promise.resolve(u.sidePanel.setOptions({tabId:l.id,path:"src/ui/sidepanel.html",enabled:!0})).catch(()=>{}),h=u.sidePanel.open({tabId:l.id}))}catch(y){h=Promise.reject(y),p??=Promise.resolve()}return Promise.all([p,h]).then(()=>(Wb(u,l.id,c),Promise.resolve(u.runtime.sendMessage({type:"WB_NEWTAB_PANEL_OPENED",tabId:l.id})).catch(()=>{}),!0),async y=>{throw await p.catch(()=>{}),await YC(u,l.id,f.id),c(),y})}async function YC(o,n,u){const l=au(n);try{const d=(await o.storage.local.get(l))?.[l];(!d||d.id===u)&&await o.storage.local.remove(l)}catch{}}function WC(o=Us()){return ou()?typeof o?.search?.search=="function":typeof o?.search?.query=="function"}const H_=new Set(["http:","https:"]);function QC(o){const n=String(o||"").trim();if(!n||/\s/.test(n))return null;try{const u=new URL(n);if(/^[a-z][a-z0-9+.-]*:\/\//i.test(n))return H_.has(u.protocol)?u.href:null}catch{}if(/^(localhost|(\d{1,3}\.){3}\d{1,3}|([a-z0-9-]+\.)+[a-z]{2,})(:\d+)?([/?#]\S*)?$/i.test(n))try{const u=new URL(`https://${n}`);return H_.has(u.protocol)?u.href:null}catch{return null}return null}async function ZC(o,n=Us(),u=l=>window.location.assign(l)){const l=QC(o);if(l)return u(l),!0;if(ou()&&n?.search?.search)return await n.search.search({query:o,disposition:"CURRENT_TAB"}),!0;if(n?.search?.query)return await n.search.query({text:o,disposition:"CURRENT_TAB"}),!0;throw new Error("Search API unavailable")}const XC=[{id:"ask",icon:jA},{id:"act",icon:Db},{id:"search",icon:Em}],Qb=()=>XC.filter(o=>o.id!=="search"||WC()),JC=()=>{const o=localStorage.getItem("taskBoxMode");return Qb().some(n=>n.id===o)?o:"ask"};function $C(){const[o,n]=k.useState(JC),[u,l]=k.useState(""),[d,c]=k.useState(""),[f,p]=k.useState(!1),h=k.useRef(null),y=k.useRef(!1);k.useEffect(()=>{let g=!0;return HC().then(b=>{g&&b?.id!=null&&VC(b.id)&&(p(!0),P_(b).then(()=>g&&p(!1)))}),localStorage.getItem("taskBoxFocus")!=="false"&&h.current?.focus(),()=>{g=!1}},[]);const _=g=>{g.preventDefault();const b=u.trim();if(!(!b||f||y.current)){if(c(""),o==="search"){ZC(b).catch(()=>c(ya("wb.panel_failed")));return}y.current=!0,p(!0),KC({text:b,mode:o}).then(()=>(l(""),P_())).catch(()=>c(ya("wb.panel_failed"))).finally(()=>{y.current=!1,p(!1),h.current?.focus()})}};return w.jsxs("div",{className:"taskBox",children:[w.jsxs("form",{className:"taskBoxForm",onSubmit:_,children:[w.jsx("input",{ref:h,className:"taskBoxInput",type:"text",value:u,maxLength:4e3,autoComplete:"off",spellCheck:!1,placeholder:ya(`wb.placeholder_${o}`),"aria-label":ya(`wb.placeholder_${o}`),disabled:f,onChange:g=>l(g.target.value)}),w.jsx("button",{className:"taskBoxGo",type:"submit","aria-label":ya("wb.go"),disabled:f||!u.trim(),children:w.jsx(jb,{})})]}),w.jsx("div",{className:"taskBoxModes",role:"radiogroup",children:Qb().map(({id:g,icon:b})=>w.jsxs("button",{type:"button",role:"radio","aria-checked":o===g,className:o===g?"taskBoxMode active":"taskBoxMode",onClick:()=>{n(g),h.current?.focus()},children:[w.jsx(b,{}),w.jsx("span",{children:ya(`wb.${g}`)})]},g))}),o==="act"&&w.jsx("span",{className:"taskBoxHint",children:ya("wb.act_hint")}),d&&w.jsx("span",{className:"taskBoxHint taskBoxError",role:"alert",children:d})]})}const F_="webbrain_chat_history",tm="records";async function ex(o=4,n=globalThis.indexedDB){if(!n?.databases)return[];if(!(await n.databases()).some(d=>d.name===F_))return[];const l=await new Promise((d,c)=>{const f=n.open(F_);f.onupgradeneeded=()=>f.transaction.abort(),f.onsuccess=()=>d(f.result),f.onerror=()=>c(f.error),f.onblocked=()=>c(new Error("blocked"))});try{return l.objectStoreNames.contains(tm)?await new Promise((d,c)=>{const f=[],p=l.transaction([tm],"readonly").objectStore(tm),y=(p.indexNames.contains("updatedAt")?p.index("updatedAt"):p).openCursor(null,"prev");y.onsuccess=()=>{const _=y.result;if(!_||f.length>=o)return d(f);const{id:g,title:b,url:S,updatedAt:C}=_.value;f.push({id:g,title:String(b||"").slice(0,140),url:String(S||""),updatedAt:C}),_.continue()},y.onerror=()=>c(y.error)}):[]}finally{l.close()}}const V_="../src/ui/history.html";function tx(){const[o,n]=k.useState(null);return k.useEffect(()=>{let u=!1;return ex(4).then(l=>!u&&n(l)).catch(()=>!u&&n([])),()=>{u=!0}},[]),o===null?null:w.jsxs("div",{className:"recentChats",children:[w.jsxs("div",{className:"recentChatsHeader",children:[w.jsx("span",{children:ya("wb.recent_title")}),w.jsx("a",{href:V_,children:ya("wb.recent_all")})]}),o.length===0?w.jsx("span",{className:"recentChatsEmpty",children:ya("wb.recent_empty")}):w.jsx("ul",{children:o.map(u=>w.jsx("li",{children:w.jsx("a",{href:`${V_}?id=${encodeURIComponent(u.id)}`,children:u.title||u.url})},u.id))})]})}const bm=Math.min,An=Math.max,Gl=Math.round,ho=o=>({x:o,y:o}),ax={left:"right",right:"left",bottom:"top",top:"bottom"};function ox(o,n,u){return An(o,bm(n,u))}function iu(o,n){return typeof o=="function"?o(n):o}function zn(o){return o.split("-")[0]}function nu(o){return o.split("-")[1]}function Zb(o){return o==="x"?"y":"x"}function Xb(o){return o==="y"?"height":"width"}function Ko(o){const n=o[0];return n==="t"||n==="b"?"y":"x"}function Jb(o){return Zb(Ko(o))}function ix(o,n,u){u===void 0&&(u=!1);const l=nu(o),d=Jb(o),c=Xb(d);let f=d==="x"?l===(u?"end":"start")?"right":"left":l==="start"?"bottom":"top";return n.reference[c]>n.floating[c]&&(f=Kl(f)),[f,Kl(f)]}function nx(o){const n=Kl(o);return[ym(o),n,ym(n)]}function ym(o){return o.includes("start")?o.replace("start","end"):o.replace("end","start")}const G_=["left","right"],K_=["right","left"],sx=["top","bottom"],rx=["bottom","top"];function lx(o,n,u){switch(o){case"top":case"bottom":return u?n?K_:G_:n?G_:K_;case"left":case"right":return n?sx:rx;default:return[]}}function ux(o,n,u,l){const d=nu(o);let c=lx(zn(o),u==="start",l);return d&&(c=c.map(f=>f+"-"+d),n&&(c=c.concat(c.map(ym)))),c}function Kl(o){const n=zn(o);return ax[n]+o.slice(n.length)}function dx(o){var n,u,l,d;return{top:(n=o.top)!=null?n:0,right:(u=o.right)!=null?u:0,bottom:(l=o.bottom)!=null?l:0,left:(d=o.left)!=null?d:0}}function cx(o){return typeof o!="number"?dx(o):{top:o,right:o,bottom:o,left:o}}function Yl(o){const{x:n,y:u,width:l,height:d}=o;return{width:l,height:d,top:u,left:n,right:n+l,bottom:u+d,x:n,y:u}}function Y_(o,n,u){let{reference:l,floating:d}=o;const c=Ko(n),f=Jb(n),p=Xb(f),h=zn(n),y=c==="y",_=l.x+l.width/2-d.width/2,g=l.y+l.height/2-d.height/2,b=l[p]/2-d[p]/2;let S;switch(h){case"top":S={x:_,y:l.y-d.height};break;case"bottom":S={x:_,y:l.y+l.height};break;case"right":S={x:l.x+l.width,y:g};break;case"left":S={x:l.x-d.width,y:g};break;default:S={x:l.x,y:l.y}}const C=nu(n);return C&&(S[f]+=b*(C==="end"?1:-1)*(u&&y?-1:1)),S}async function mx(o,n){var u;n===void 0&&(n={});const{x:l,y:d,platform:c,rects:f,elements:p,strategy:h}=o,{boundary:y="clippingAncestors",rootBoundary:_="viewport",elementContext:g="floating",altBoundary:b=!1,padding:S=0}=iu(n,o),C=cx(S),A=p[b?g==="floating"?"reference":"floating":g],j=Yl(await c.getClippingRect({element:(u=await(c.isElement==null?void 0:c.isElement(A)))==null||u?A:A.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:y,rootBoundary:_,strategy:h})),z=g==="floating"?{x:l,y:d,width:f.floating.width,height:f.floating.height}:f.reference,L=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),G=await(c.isElement==null?void 0:c.isElement(L))&&await(c.getScale==null?void 0:c.getScale(L))||{x:1,y:1},Z=Yl(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:z,offsetParent:L,strategy:h}):z);return{top:(j.top-Z.top+C.top)/G.y,bottom:(Z.bottom-j.bottom+C.bottom)/G.y,left:(j.left-Z.left+C.left)/G.x,right:(Z.right-j.right+C.right)/G.x}}const px=50,fx=async(o,n,u)=>{const{placement:l="bottom",strategy:d="absolute",middleware:c=[],platform:f}=u,p=f.detectOverflow?f:{...f,detectOverflow:mx},h=await(f.isRTL==null?void 0:f.isRTL(n));let y=await f.getElementRects({reference:o,floating:n,strategy:d}),{x:_,y:g}=Y_(y,l,h),b=l,S=0;const C={};for(let x=0;x<c.length;x++){const A=c[x];if(!A)continue;const{name:j,fn:z}=A,{x:L,y:G,data:Z,reset:H}=await z({x:_,y:g,initialPlacement:l,placement:b,strategy:d,middlewareData:C,rects:y,platform:p,elements:{reference:o,floating:n}});_=L??_,g=G??g,C[j]={...C[j],...Z},H&&S<px&&(S++,typeof H=="object"&&(H.placement&&(b=H.placement),H.rects&&(y=H.rects===!0?await f.getElementRects({reference:o,floating:n,strategy:d}):H.rects),{x:_,y:g}=Y_(y,b,h)),x=-1)}return{x:_,y:g,placement:b,strategy:d,middlewareData:C}},gx=function(o){return o===void 0&&(o={}),{name:"flip",options:o,async fn(n){var u,l;const{placement:d,middlewareData:c,rects:f,initialPlacement:p,platform:h,elements:y}=n,{mainAxis:_=!0,crossAxis:g=!0,fallbackPlacements:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:x=!0,...A}=iu(o,n);if((u=c.arrow)!=null&&u.alignmentOffset)return{};const j=zn(d),z=Ko(p),L=zn(p)===p,G=await(h.isRTL==null?void 0:h.isRTL(y.floating)),Z=b||(L||!x?[Kl(p)]:nx(p)),H=C!=="none";!b&&H&&Z.push(...ux(p,x,C,G));const D=[p,...Z],q=await h.detectOverflow(n,A),V=[];let $=((l=c.flip)==null?void 0:l.overflows)||[];if(_&&V.push(q[j]),g){const X=ix(d,f,G);V.push(q[X[0]],q[X[1]])}if($=[...$,{placement:d,overflows:V}],!V.every(X=>X<=0)){var W,ee;const X=(((W=c.flip)==null?void 0:W.index)||0)+1,Y=D[X];if(Y&&(!(g==="alignment"?z!==Ko(Y):!1)||$.every(K=>Ko(K.placement)===z?K.overflows[0]>0:!0)))return{data:{index:X,overflows:$},reset:{placement:Y}};let I=(ee=$.filter(T=>T.overflows[0]<=0).sort((T,K)=>T.overflows[1]-K.overflows[1])[0])==null?void 0:ee.placement;if(!I)switch(S){case"bestFit":{var ae;const T=(ae=$.filter(K=>{if(H){const ie=Ko(K.placement);return ie===z||ie==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(ie=>ie>0).reduce((ie,ne)=>ie+ne,0)]).sort((K,ie)=>K[1]-ie[1])[0])==null?void 0:ae[0];T&&(I=T);break}case"initialPlacement":I=p;break}if(d!==I)return{reset:{placement:I}}}return{}}}},hx=new Set(["left","top"]);async function _x(o,n){const{placement:u,platform:l,elements:d}=o,c=await(l.isRTL==null?void 0:l.isRTL(d.floating)),f=zn(u),p=nu(u),h=Ko(u)==="y",y=hx.has(f)?-1:1,_=c&&h?-1:1,g=iu(n,o);let{mainAxis:b,crossAxis:S,alignmentAxis:C}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return p&&typeof C=="number"&&(S=p==="end"?C*-1:C),h?{x:S*_,y:b*y}:{x:b*y,y:S*_}}const vx=function(o){return o===void 0&&(o=0),{name:"offset",options:o,async fn(n){var u,l;const{x:d,y:c,placement:f,middlewareData:p}=n,h=await _x(n,o);return f===((u=p.offset)==null?void 0:u.placement)&&(l=p.arrow)!=null&&l.alignmentOffset?{}:{x:d+h.x,y:c+h.y,data:{...h,placement:f}}}}},bx=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(n){const{x:u,y:l,placement:d,platform:c}=n,{mainAxis:f=!0,crossAxis:p=!1,limiter:h={fn:z=>{let{x:L,y:G}=z;return{x:L,y:G}}},...y}=iu(o,n),_={x:u,y:l},g=await c.detectOverflow(n,y),b=Ko(d),S=Zb(b);let C=_[S],x=_[b];const A=(z,L)=>ox(L+g[z==="y"?"top":"left"],L,L-g[z==="y"?"bottom":"right"]);f&&(C=A(S,C)),p&&(x=A(b,x));const j=h.fn({...n,[S]:C,[b]:x});return{...j,data:{x:j.x-u,y:j.y-l,enabled:{[S]:f,[b]:p}}}}}};function su(){return typeof window<"u"}function Tn(o){return $b(o)?(o.nodeName||"").toLowerCase():"#document"}function ra(o){var n;return(o==null||(n=o.ownerDocument)==null?void 0:n.defaultView)||window}function Zo(o){var n;return(n=($b(o)?o.ownerDocument:o.document)||window.document)==null?void 0:n.documentElement}function $b(o){return su()?o instanceof Node||o instanceof ra(o).Node:!1}function Wa(o){return su()?o instanceof Element||o instanceof ra(o).Element:!1}function Xo(o){return su()?o instanceof HTMLElement||o instanceof ra(o).HTMLElement:!1}function W_(o){return!su()||typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof ra(o).ShadowRoot}function ru(o){const{overflow:n,overflowX:u,overflowY:l,display:d}=Qa(o);return/auto|scroll|overlay|hidden|clip/.test(n+l+u)&&d!=="inline"&&d!=="contents"}function yx(o){return/^(table|td|th)$/.test(Tn(o))}function lu(o){try{if(o.matches(":popover-open"))return!0}catch{}try{return o.matches(":modal")}catch{return!1}}const kx=/transform|translate|scale|rotate|perspective|filter/,wx=/paint|layout|strict|content/,Si=o=>!!o&&o!=="none";let am;function Rm(o){const n=Wa(o)?Qa(o):o;return Si(n.transform)||Si(n.translate)||Si(n.scale)||Si(n.rotate)||Si(n.perspective)||!Bm()&&(Si(n.backdropFilter)||Si(n.filter))||kx.test(n.willChange||"")||wx.test(n.contain||"")}function Sx(o){let n=zi(o);for(;Xo(n)&&!Ps(n);){if(Rm(n))return n;if(lu(n))return null;n=zi(n)}return null}function Bm(){return am==null&&(am=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),am}function Ps(o){return/^(html|body|#document)$/.test(Tn(o))}function Qa(o){return ra(o).getComputedStyle(o)}function uu(o){return Wa(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.scrollX,scrollTop:o.scrollY}}function zi(o){if(Tn(o)==="html")return o;const n=o.assignedSlot||o.parentNode||W_(o)&&o.host||Zo(o);return W_(n)?n.host:n}function ey(o){const n=zi(o);return Ps(n)?(o.ownerDocument||o).body:Xo(n)&&ru(n)?n:ey(n)}function ty(o,n,u){var l;n===void 0&&(n=[]);const d=ey(o),c=d===((l=o.ownerDocument)==null?void 0:l.body),f=ra(d);return c?(km(f),n.concat(f,f.visualViewport||[],ru(d)?d:[],[])):n.concat(d,ty(d,[]))}function km(o){return o.parent&&Object.getPrototypeOf(o.parent)?o.frameElement:null}function ay(o){const n=Qa(o);let u=parseFloat(n.width)||0,l=parseFloat(n.height)||0;const d=Xo(o),c=d?o.offsetWidth:u,f=d?o.offsetHeight:l,p=Gl(u)!==c||Gl(l)!==f;return p&&(u=c,l=f),{width:u,height:l,$:p}}function oy(o){return Wa(o)?o:o.contextElement}function Cn(o){const n=oy(o);if(!Xo(n))return ho(1);const u=n.getBoundingClientRect(),{width:l,height:d,$:c}=ay(n);let f=(c?Gl(u.width):u.width)/l,p=(c?Gl(u.height):u.height)/d;return(!f||!Number.isFinite(f))&&(f=1),(!p||!Number.isFinite(p))&&(p=1),{x:f,y:p}}const Mx=ho(0);function iy(o){const n=ra(o);return!Bm()||!n.visualViewport?Mx:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function Ax(o,n,u){return n===void 0&&(n=!1),!!u&&n&&u===ra(o)}function Hs(o,n,u,l){n===void 0&&(n=!1),u===void 0&&(u=!1);const d=o.getBoundingClientRect(),c=oy(o);let f=ho(1);n&&(l?Wa(l)&&(f=Cn(l)):f=Cn(o));const p=Ax(c,u,l)?iy(c):ho(0);let h=(d.left+p.x)/f.x,y=(d.top+p.y)/f.y,_=d.width/f.x,g=d.height/f.y;if(c&&l){const b=ra(c),S=Wa(l)?ra(l):l;let C=b,x=km(C);for(;x&&S!==C;){const A=Cn(x),j=x.getBoundingClientRect(),z=Qa(x),L=j.left+(x.clientLeft+parseFloat(z.paddingLeft))*A.x,G=j.top+(x.clientTop+parseFloat(z.paddingTop))*A.y;h*=A.x,y*=A.y,_*=A.x,g*=A.y,h+=L,y+=G,C=ra(x),x=km(C)}}return Yl({width:_,height:g,x:h,y})}function du(o,n){const u=uu(o).scrollLeft;return n?n.left+u:Hs(Zo(o)).left+u}function ny(o,n){const u=o.getBoundingClientRect(),l=u.left+n.scrollLeft-du(o,u),d=u.top+n.scrollTop;return{x:l,y:d}}function Cx(o){let{elements:n,rect:u,offsetParent:l,strategy:d}=o;const c=d==="fixed",f=Zo(l),p=n?lu(n.floating):!1;if(l===f||p&&c)return u;let h={scrollLeft:0,scrollTop:0},y=ho(1);const _=ho(0),g=Xo(l);if((g||!c)&&((Tn(l)!=="body"||ru(f))&&(h=uu(l)),g)){const S=Hs(l);y=Cn(l),_.x=S.x+l.clientLeft,_.y=S.y+l.clientTop}const b=f&&!g&&!c?ny(f,h):ho(0);return{width:u.width*y.x,height:u.height*y.y,x:u.x*y.x-h.scrollLeft*y.x+_.x+b.x,y:u.y*y.y-h.scrollTop*y.y+_.y+b.y}}function xx(o){return o.getClientRects?Array.from(o.getClientRects()):[]}function zx(o){const n=uu(o),u=o.ownerDocument.body,l=An(o.scrollWidth,o.clientWidth,u.scrollWidth,u.clientWidth),d=An(o.scrollHeight,o.clientHeight,u.scrollHeight,u.clientHeight);let c=-n.scrollLeft+du(o);const f=-n.scrollTop;return Qa(u).direction==="rtl"&&(c+=An(o.clientWidth,u.clientWidth)-l),{width:l,height:d,x:c,y:f}}const Tx=25;function Nx(o,n,u){u===void 0&&(u="viewport");const l=u==="layoutViewport",d=ra(o),c=Zo(o),f=d.visualViewport;let p=c.clientWidth,h=c.clientHeight,y=0,_=0;if(f){const b=!Bm()||n==="fixed";l?b||(y=-f.offsetLeft,_=-f.offsetTop):(p=f.width,h=f.height,b&&(y=f.offsetLeft,_=f.offsetTop))}if(du(c)<=0){const b=c.ownerDocument,S=b.body,C=getComputedStyle(S),x=b.compatMode==="CSS1Compat"&&parseFloat(C.marginLeft)+parseFloat(C.marginRight)||0,A=Math.abs(c.clientWidth-S.clientWidth-x),j=getComputedStyle(c).scrollbarGutter==="stable both-edges"?A/2:A;j<=Tx&&(p-=j)}return{width:p,height:h,x:y,y:_}}function Ex(o,n){const u=Hs(o,!0,n==="fixed"),l=u.top+o.clientTop,d=u.left+o.clientLeft,c=Cn(o),f=o.clientWidth*c.x,p=o.clientHeight*c.y,h=d*c.x,y=l*c.y;return{width:f,height:p,x:h,y}}function Q_(o,n,u){let l;if(n==="viewport"||n==="layoutViewport")l=Nx(o,u,n);else if(n==="document")l=zx(Zo(o));else if(Wa(n))l=Ex(n,u);else{const d=iy(o);l={x:n.x-d.x,y:n.y-d.y,width:n.width,height:n.height}}return Yl(l)}function jx(o,n){const u=n.get(o);if(u)return u;let l=ty(o,[]).filter(p=>Wa(p)&&Tn(p)!=="body"),d=null;const c=Qa(o).position==="fixed";let f=c?zi(o):o;for(;Wa(f)&&!Ps(f);){const p=Qa(f),h=Rm(f),y=d?d.position:c?"fixed":"";!h&&(y==="fixed"||y==="absolute"&&p.position==="static")?l=l.filter(g=>g!==f):d=p,f=zi(f)}return n.set(o,l),l}function Dx(o){let{element:n,boundary:u,rootBoundary:l,strategy:d}=o;const f=[...u==="clippingAncestors"?lu(n)?[]:jx(n,this._c):[].concat(u),l],p=Q_(n,f[0],d);let h=p.top,y=p.right,_=p.bottom,g=p.left;for(let b=1;b<f.length;b++){const S=Q_(n,f[b],d);h=An(S.top,h),y=bm(S.right,y),_=bm(S.bottom,_),g=An(S.left,g)}return{width:y-g,height:_-h,x:g,y:h}}function Ox(o){const{width:n,height:u}=ay(o);return{width:n,height:u}}function qx(o,n,u){const l=Xo(n),d=Zo(n),c=u==="fixed",f=Hs(o,!0,c,n);let p={scrollLeft:0,scrollTop:0};const h=ho(0);if((l||!c)&&((Tn(n)!=="body"||ru(d))&&(p=uu(n)),l)){const b=Hs(n,!0,c,n);h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}!l&&d&&(h.x=du(d));const y=d&&!l&&!c?ny(d,p):ho(0),_=f.left+p.scrollLeft-h.x-y.x,g=f.top+p.scrollTop-h.y-y.y;return{x:_,y:g,width:f.width,height:f.height}}function om(o){return Qa(o).position==="static"}function Z_(o,n){if(!Xo(o)||Qa(o).position==="fixed")return null;if(n)return n(o);let u=o.offsetParent;return Zo(o)===u&&(u=u.ownerDocument.body),u}function sy(o,n){const u=ra(o);if(lu(o))return u;if(!Xo(o)){let d=zi(o);for(;d&&!Ps(d);){if(Wa(d)&&!om(d))return d;d=zi(d)}return u}let l=Z_(o,n);for(;l&&yx(l)&&om(l);)l=Z_(l,n);return l&&Ps(l)&&om(l)&&!Rm(l)?u:l||Sx(o)||u}const Rx=async function(o){const n=this.getOffsetParent||sy,u=this.getDimensions,l=await u(o.floating);return{reference:qx(o.reference,await n(o.floating),o.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}};function Bx(o){return Qa(o).direction==="rtl"}const Lx={convertOffsetParentRelativeRectToViewportRelativeRect:Cx,getDocumentElement:Zo,getClippingRect:Dx,getOffsetParent:sy,getElementRects:Rx,getClientRects:xx,getDimensions:Ox,getScale:Cn,isElement:Wa,isRTL:Bx},Ix=vx,Ux=bx,Px=gx,Hx=(o,n,u)=>{const l=new Map,d=u??{},c={...Lx,...d.platform,_c:l};return fx(o,n,{...d,platform:c})};var Mn=Tm(),Fx=typeof document<"u",Vx=function(){},ql=Fx?k.useLayoutEffect:Vx;function Wl(o,n){if(o===n)return!0;if(typeof o!=typeof n)return!1;if(typeof o=="function"&&o.toString()===n.toString())return!0;let u,l,d;if(o&&n&&typeof o=="object"){if(Array.isArray(o)){if(u=o.length,u!==n.length)return!1;for(l=u;l--!==0;)if(!Wl(o[l],n[l]))return!1;return!0}if(d=Object.keys(o),u=d.length,u!==Object.keys(n).length)return!1;for(l=u;l--!==0;)if(!{}.hasOwnProperty.call(n,d[l]))return!1;for(l=u;l--!==0;){const c=d[l];if(!(c==="_owner"&&o.$$typeof)&&!Wl(o[c],n[c]))return!1}return!0}return o!==o&&n!==n}function ry(o){return typeof window>"u"?1:(o.ownerDocument.defaultView||window).devicePixelRatio||1}function X_(o,n){const u=ry(o);return Math.round(n*u)/u}function im(o){const n=k.useRef(o);return ql(()=>{n.current=o}),n}function cu(o){o===void 0&&(o={});const{placement:n="bottom",strategy:u="absolute",middleware:l=[],platform:d,elements:{reference:c,floating:f}={},transform:p=!0,whileElementsMounted:h,open:y}=o,[_,g]=k.useState({x:0,y:0,strategy:u,placement:n,middlewareData:{},isPositioned:!1}),[b,S]=k.useState(l);Wl(b,l)||S(l);const[C,x]=k.useState(null),[A,j]=k.useState(null),z=k.useCallback(K=>{K!==H.current&&(H.current=K,x(K))},[]),L=k.useCallback(K=>{K!==D.current&&(D.current=K,j(K))},[]),G=c||C,Z=f||A,H=k.useRef(null),D=k.useRef(null),q=k.useRef(_),V=h!=null,$=im(h),W=im(d),ee=im(y),ae=k.useCallback(()=>{if(!H.current||!D.current)return;const K={placement:n,strategy:u,middleware:b};W.current&&(K.platform=W.current),Hx(H.current,D.current,K).then(ie=>{const ne={...ie,isPositioned:ee.current!==!1};X.current&&!Wl(q.current,ne)&&(q.current=ne,Mn.flushSync(()=>{g(ne)}))})},[b,n,u,W,ee]);ql(()=>{y===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,g(K=>({...K,isPositioned:!1})))},[y]);const X=k.useRef(!1);ql(()=>(X.current=!0,()=>{X.current=!1}),[]),ql(()=>{if(G&&(H.current=G),Z&&(D.current=Z),G&&Z){if($.current)return $.current(G,Z,ae);ae()}},[G,Z,ae,$,V]);const Y=k.useMemo(()=>({reference:H,floating:D,setReference:z,setFloating:L}),[z,L]),I=k.useMemo(()=>({reference:G,floating:Z}),[G,Z]),T=k.useMemo(()=>{const K={position:u,left:0,top:0};if(!I.floating)return K;const ie=X_(I.floating,_.x),ne=X_(I.floating,_.y);return p?{...K,transform:"translate("+ie+"px, "+ne+"px)",...ry(I.floating)>=1.5&&{willChange:"transform"}}:{position:u,left:ie,top:ne}},[u,p,I.floating,_.x,_.y]);return k.useMemo(()=>({..._,update:ae,refs:Y,elements:I,floatingStyles:T}),[_,ae,Y,I,T])}const Gx=(o,n)=>{const u=Ix(o);return{name:u.name,fn:u.fn,options:[o,n]}},mu=(o,n)=>{const u=Ux(o);return{name:u.name,fn:u.fn,options:[o,n]}},Kx=(o,n)=>{const u=Px(o);return{name:u.name,fn:u.fn,options:[o,n]}};function Yx({children:o,title:n,style:u,placement:l,subtitle:d}){const[c,f]=k.useState(!1),[p,h]=k.useState(!1),[y,_]=k.useState(null),g=k.useRef(`tooltip-${Math.random()}`),b=k.useRef(null),{x:S,y:C,refs:x,strategy:A,placement:j}=cu({placement:l||"bottom",middleware:[Kx(),Gx(15),mu()],elements:{reference:y}}),z=()=>{b.current&&(clearTimeout(b.current),b.current=null),h(!1),f(!0)},L=()=>{h(!0),b.current=setTimeout(()=>{f(!1),h(!1)},200)},G=()=>{b.current&&(clearTimeout(b.current),b.current=null),h(!1),f(!0)},Z=()=>{h(!0),b.current=setTimeout(()=>{f(!1),h(!1)},200)},H=()=>!c&&!p?"initial":p?"close":"open";return w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"tooltip",style:u,onMouseEnter:z,onMouseLeave:L,onFocus:G,onBlur:Z,ref:_,"aria-describedby":g.current,children:o}),(c||p)&&w.jsxs("span",{ref:x.setFloating,style:{position:A,top:C??"",left:S??"",display:"flex",flexFlow:"column"},className:"tooltipTitle","data-status":H(),"data-placement":j,children:[n,w.jsx("span",{style:{fontSize:"8px"},children:d})]})]})}const ht=k.memo(Yx),Fs=k.forwardRef(({icon:o,label:n,type:u,iconPlacement:l,onClick:d,active:c,disabled:f,tooltipTitle:p,tooltipKey:h,href:y,style:_},g)=>{let b;switch(u){case"settings":b="btn-settings";break;case"secondary":b="btn-secondary";break;case"icon":b="btn-icon";break;case"navigation":b="btn-navigation";break;case"collection":b="btn-collection";break;case"linkIconButton":b="btn-icon";break;case"linkButton":b="btn-settings";break;default:b="btn-default"}l==="right"&&(b+=" flowReverse"),c&&(b+=` ${b}-active`);const S=w.jsxs("button",{className:b,onClick:d,ref:g,disabled:f,style:_,children:[o,n]}),C=w.jsxs("a",{className:b,onClick:d,ref:g,disabled:f,href:y,style:_,target:"_blank",rel:"noopener noreferrer",children:[o,n]}),x=w.jsx(ht,{title:p,children:w.jsxs("a",{className:b,onClick:d,ref:g,disabled:f,href:y,target:"_blank",rel:"noopener noreferrer",style:_,children:[o,n]})},h);switch(u){case"linkIconButton":return x;case"linkButton":return C;case"icon":return w.jsx(ht,{title:p,children:S},h);default:return S}});Fs.displayName="Button";function Wx({urlError:o,iconError:n,addLink:u,closeModal:l,edit:d,editData:c,editLink:f}){const[p,h]=k.useState(d?c.name:""),[y,_]=k.useState(d?c.url:""),[g,b]=k.useState(d?c.icon:"");return w.jsxs("div",{className:"addLinkModal",children:[w.jsxs("div",{className:"shareHeader",children:[w.jsx("span",{className:"title",children:d?pe.getMessage("widgets.quicklinks.edit"):pe.getMessage("widgets.quicklinks.new")}),w.jsx(ht,{title:pe.getMessage("modals.welcome.buttons.close"),children:w.jsx("div",{className:"close",onClick:()=>l(),children:w.jsx(Is,{})})})]}),w.jsxs("div",{className:"quicklinkModalTextbox",children:[w.jsx("input",{type:"text",className:"text-field-input",placeholder:pe.getMessage("widgets.quicklinks.name"),value:p,onChange:S=>h(S.target.value.replace(/(\r\n|\n|\r)/gm,"")),style:{gridColumn:"span 2"}}),w.jsx("input",{type:"text",className:"text-field-input",placeholder:pe.getMessage("widgets.quicklinks.url"),value:y,onChange:S=>_(S.target.value.replace(/(\r\n|\n|\r)/gm,""))}),w.jsx("input",{type:"text",className:"text-field-input",placeholder:pe.getMessage("widgets.quicklinks.icon"),value:g,onChange:S=>b(S.target.value.replace(/(\r\n|\n|\r)/gm,""))})]}),w.jsxs("div",{className:"addFooter",children:[w.jsxs("span",{className:"dropdown-error",children:[n," ",o]}),d?w.jsx(Fs,{type:"settings",onClick:()=>f(c,p,y,g),icon:w.jsx(D_,{}),label:pe.getMessage("modals.main.settings.sections.quicklinks.edit")}):w.jsx(Fs,{type:"settings",onClick:()=>u(p,y,g),icon:w.jsx(D_,{}),label:pe.getMessage("widgets.quicklinks.add")})]})]})}const kN=k.memo(Wx),Qx=[{name:"time",value:!0},{name:"greeting",value:!0},{name:"background",value:!0},{name:"quote",value:!1},{name:"searchBar",value:!1},{name:"blur",value:0},{name:"brightness",value:90},{name:"zero",value:!0},{name:"events",value:!0},{name:"customBackground",value:""},{name:"greetingName",value:""},{name:"defaultGreetingMessage",value:!0},{name:"backgroundAPI",value:"mue"},{name:"copyButton",value:!1},{name:"installed",value:[]},{name:"searchEngine",value:"duckduckgo"},{name:"refresh",value:!1},{name:"view",value:!0},{name:"favouriteEnabled",value:!0},{name:"quoteShareButton",value:!1},{name:"favouriteQuoteEnabled",value:!1},{name:"showWelcome",value:!1},{name:"date",value:"false"},{name:"timeType",value:"digital"},{name:"dateFormat",value:"DMY"},{name:"shortFormat",value:"dots"},{name:"toastDisplayTime",value:2500},{name:"fontstyle",value:"normal"},{name:"fontweight",value:400},{name:"order",value:'["greeting", "time", "quicklinks", "date", "message"]'},{name:"theme",value:"auto"},{name:"backgroundType",value:"api"},{name:"timeformat",value:"twentyfourhour"},{name:"experimental",value:!1},{name:"debugtimeout",value:0},{name:"quicklinks",value:"[]"},{name:"quicklinksenabled",value:!1},{name:"weatherEnabled",value:!1},{name:"weatherType",value:2},{name:"tempformat",value:"celsius"},{name:"authorImg",value:!0},{name:"authorLink",value:!0},{name:"bgtransition",value:!0},{name:"backgroundVideoLoop",value:!0},{name:"backgroundVideoMute",value:!0},{name:"quicklinkstooltip",value:!0},{name:"notesEnabled",value:!0},{name:"showlocation",value:!0},{name:"minuteHand",value:!0},{name:"hourHand",value:!0},{name:"datezero",value:!0},{name:"autocompleteProvider",value:"google"},{name:"quoteType",value:"quote_pack"},{name:"backgroundFilter",value:"none"},{name:"apiQuality",value:"high"},{name:"photoInformation",value:!0},{name:"backgroundFilterAmount",value:0},{name:"stats",value:!1},{name:"statsData",value:"{}"},{name:"localeFormatting",value:!0},{name:"offlineMode",value:!0},{name:"animations",value:!0},{name:"textBorder",value:"new"},{name:"widgetStyle",value:"new"},{name:"backgroundExclude",value:"[]"},{name:"photoMap",value:!0},{name:"appsEnabled",value:!1},{name:"applinks",value:"[]"},{name:"customEvents",value:'[{"id":"widgets.greeting.christmas","name":"Merry Christmas","month":12,"date":25},{"id":"widgets.greeting.newyear","name":"Happy New Year","month":1,"date":1},{"id":"widgets.greeting.halloween","name":"Happy Halloween","month":10,"date":31}]'},{name:"authorDetails",value:!0},{name:"taskBox",value:!0},{name:"taskBoxMode",value:"ask"},{name:"taskBoxFocus",value:!0},{name:"recentChats",value:!1}],Zx=[{name:"العربية",value:"ar"},{name:"مصرى",value:"arz"},{name:"Azərbaycan",value:"az"},{name:"تۆرکجه",value:"azb"},{name:"Bahasa Indonesia",value:"id_ID"},{name:"বাংলা",value:"bn"},{name:"Deutsch",value:"de_DE"},{name:"Ελληνικά",value:"el"},{name:"English (UK)",value:"en_GB"},{name:"English (US)",value:"en_US"},{name:"Español",value:"es"},{name:"Español (Latinoamérica)",value:"es_419"},{name:"Eesti",value:"et"},{name:"فارسی",value:"fa"},{name:"Français",value:"fr"},{name:"Magyar",value:"hu"},{name:"日本語",value:"ja"},{name:"Lietuvių",value:"lt"},{name:"Latviešu",value:"lv"},{name:"Nederlands",value:"nl"},{name:"Norsk",value:"no"},{name:"𐎱𐎠𐎼𐎿",value:"peo"},{name:"Pусский",value:"ru"},{name:"Português",value:"pt"},{name:"Português (Brasil)",value:"pt_BR"},{name:"Português (Portugal)",value:"pt_PT"},{name:"Slovenščina",value:"sl"},{name:"Svenska",value:"sv"},{name:"தமிழ்",value:"ta"},{name:"Türkçe",value:"tr_TR"},{name:"Українська",value:"uk"},{name:"Tiếng Việt",value:"vi"},{name:"中文 (简体)",value:"zh_CN"},{name:"中文 (繁體)",value:"zh_Hant"}];function wm(o){localStorage.clear(),Qx.forEach(l=>localStorage.setItem(l.name,l.value));const n=Zx.map(({value:l})=>l),u=navigator.languages&&navigator.languages.find(l=>l.replace("-","_")&&n.includes(l))||navigator.language.replace("-","_");n.includes(u)?localStorage.setItem("language",u):localStorage.setItem("language","en_GB"),localStorage.setItem("tabName",pe.getMessage("tabname")),o&&localStorage.setItem("showWelcome",!1),localStorage.setItem("firstRun",!0)}function Xx(o,n="file",u="text/json"){typeof o=="object"&&(o=JSON.stringify(o,void 0,4));const l=new Blob([o],{type:u}),d=document.createEvent("MouseEvents"),c=document.createElement("a");c.href=window.URL.createObjectURL(l),c.download=n,c.dataset.downloadurl=[u,c.download,c.href].join(":"),d.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),c.dispatchEvent(d)}function J_(o){switch(localStorage.getItem("theme")){case"dark":document.body.classList.add("dark"),document.body.classList.remove("light");break;case"auto":window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?document.body.classList.add("dark"):(document.body.classList.remove("dark"),document.body.classList.add("light"));break;default:document.body.classList.add("light"),document.body.classList.remove("dark")}document.title=localStorage.getItem("tabName")||pe.getMessage("tabname"),o===!0&&["customcss","customfont"].forEach(c=>{try{document.head.removeChild(document.getElementById(c))}catch{}}),localStorage.getItem("animations")==="false"?document.body.classList.add("no-animations"):document.body.classList.remove("no-animations");const n=localStorage.getItem("textBorder");n==="true"?["greeting","clock","date"].forEach(c=>{try{document.querySelector("."+c).classList.add("textBorder")}catch{}}):["greeting","clock","date"].forEach(c=>{try{document.querySelector("."+c).classList.remove("textBorder")}catch{}}),n==="none"?document.getElementById("center").classList.add("no-textBorder"):document.getElementById("center").classList.remove("no-textBorder");const u=localStorage.getItem("customcss");u&&document.head.insertAdjacentHTML("beforeend",'<style id="customcss">'+u+"</style>");const l=localStorage.getItem("font");l&&document.head.insertAdjacentHTML("beforeend",`<style id='customfont'>* {font-family: '${l}', 'Lexend Deca', 'Inter', sans-serif !important;@@ -855,7 +855,7 @@ Note: if you don't like "{category}" images, you can deselect the category in thfont-style: ${localStorage.getItem("fontstyle")};}</style>- `),localStorage.getItem("applinks")===null&&localStorage.setItem("applinks",JSON.stringify([])),localStorage.getItem("appsEnabled")===null&&localStorage.setItem("showWelcome",!1)}function Jx(){const o=Object.keys(localStorage);if(o.length===0)return wm();const n={};o.forEach(u=>{n[u]=localStorage.getItem(u)}),localStorage.clear(),wm(),Object.keys(n).forEach(u=>{localStorage.setItem(u,n[u])})}function $x({modalClose:o}){const n=async()=>{pe.stats.postEvent("setting","Reset");try{await nC()}catch{}wm("reset"),window.location.reload()};return w.jsxs("div",{className:"smallModal",children:[w.jsxs("div",{className:"shareHeader",children:[w.jsx("span",{className:"title",children:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.title")}),w.jsx(ht,{title:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.cancel"),children:w.jsx("div",{className:"close",onClick:o,children:w.jsx(Is,{})})})]}),w.jsx("span",{className:"title",children:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.question")}),w.jsx("span",{className:"subtitle",children:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.information")}),w.jsxs("div",{className:"resetFooter",children:[w.jsx(Fs,{type:"secondary",onClick:o,icon:w.jsx(Is,{}),label:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.cancel")}),w.jsx(Fs,{type:"settings",onClick:()=>n(),icon:w.jsx(DA,{}),label:pe.getMessage("modals.main.settings.buttons.reset")})]})]})}const wN=k.memo($x),$_={[Yo.SETTINGS]:{itemCount:16,dividerPositions:[10,12],textWidths:[80,100,70,90,85,75,80,95,90,75,85,90,85,80,70,95]},[Yo.DISCOVER]:{itemCount:5,dividerPositions:[0],textWidths:[60,95,95,110,90]},[Yo.LIBRARY]:{itemCount:0,dividerPositions:[],textWidths:[]}},e2=({currentTab:o=Yo.SETTINGS})=>{const n=$_[o]||$_[Yo.SETTINGS];return n.itemCount===0?null:w.jsx("div",{className:"sidebarSkeleton",children:Array.from({length:n.itemCount}).map((u,l)=>{const d=n.dividerPositions.includes(l),c=n.textWidths[l]||80;return w.jsxs("div",{children:[w.jsxs("div",{className:"skeletonItem",children:[w.jsx("div",{className:"iconPlaceholder pulse"}),w.jsx("div",{className:"textPlaceholder pulse",style:{width:`${c}px`}})]}),d&&w.jsx("hr",{className:"skeletonDivider"})]},l)})})},t2=({currentTab:o})=>w.jsxs("div",{style:{display:"flex",width:"100%",minHeight:"100%"},children:[w.jsx("div",{className:"modalSidebar",children:w.jsx(e2,{currentTab:o})}),w.jsx("div",{className:"modalTabContent",children:w.jsx("div",{className:"emptyItems",children:w.jsx("div",{className:"emptyMessage",children:w.jsxs("div",{className:"loaderHolder",children:[w.jsx("div",{id:"loader"}),w.jsx("span",{className:"subtitle",children:pe.getMessage("modals.main.loading")})]})})})})]}),a2=""+new URL("webbrain-rEIJfo36.png",import.meta.url).href;function o2({currentTab:o,currentSection:n,currentSectionName:u,currentSubSection:l,onSubSectionChange:d,onClose:c,onBack:f,onForward:p,canGoBack:h,canGoForward:y}){const _=Qo(),g=$A.find(({tab:x})=>x===o),b=g?_(g.messageKey):"",S=(x,A)=>{if(!x||!A)return x;const j=`modals.main.settings.sections.${A}.${x}.title`,z=_(j);return!z||z===j?x.charAt(0).toUpperCase()+x.slice(1):z},C=[];return b&&(C.push({label:b,onClick:null}),n&&(C.push({label:n,onClick:l?()=>d(null):null}),l&&C.push({label:S(l,u),onClick:null}))),w.jsxs("div",{className:"modalTopBar",children:[w.jsxs("div",{className:"topBarLeft",children:[w.jsxs("div",{className:"navigationButtons",children:[w.jsx(ht,{title:"Back",children:w.jsx("button",{className:"navButton",onClick:f,disabled:!h,"aria-label":"Navigate back",children:w.jsx(wA,{})})},"backTooltip"),w.jsx(ht,{title:"Forward",children:w.jsx("button",{className:"navButton",onClick:p,disabled:!y,"aria-label":"Navigate forward",children:w.jsx(jb,{})})},"forwardTooltip")]}),w.jsx("img",{src:a2,alt:"WebBrain",className:"topBarLogo",draggable:!1}),C.length>0&&w.jsx("nav",{className:"breadcrumbs","aria-label":"Breadcrumb navigation",children:C.map((x,A)=>{const j=A===C.length-1,z=x.onClick!==null;return w.jsxs("span",{className:"breadcrumb-segment",children:[z?w.jsx("span",{className:"breadcrumb-item breadcrumb-clickable",onClick:x.onClick,onKeyDown:L=>{(L.key==="Enter"||L.key===" ")&&(L.preventDefault(),x.onClick())},role:"button",tabIndex:0,"aria-label":`Navigate to ${x.label}`,children:x.label}):w.jsx("span",{className:`breadcrumb-item ${j?"breadcrumb-current":""}`,"aria-current":j?"page":void 0,children:x.label}),!j&&w.jsx(kA,{className:"breadcrumb-separator","aria-hidden":"true"})]},A)})})]}),w.jsx("div",{className:"topBarRight",children:w.jsx(ht,{title:_("modals.welcome.buttons.close"),children:w.jsx("span",{className:"closeModal",onClick:c,children:w.jsx(Is,{})})},"closeTooltip")})]})}const i2=k.lazy(()=>Om(()=>import("./Settings-DPM-2yQQ.js"),__vite__mapDeps([1,2]),import.meta.url));function n2({modalClose:o,deepLinkData:n}){const u=Yo.SETTINGS,[l,d]=k.useState(""),[c,f]=k.useState(""),[p,h]=k.useState(n?.subSection||null),[y,_]=k.useState(null);k.useEffect(()=>{n?.section&&(_({type:"settings-section",data:n.section,timestamp:Date.now()}),n.subSection&&h(n.subSection))},[n]),k.useEffect(()=>()=>{window.location.hash&&window.history.replaceState(null,null,window.location.pathname)},[]),k.useEffect(()=>{const S=()=>{const C=window.location.hash?Pl(window.location.hash):null;C?.section&&(_({type:"settings-section",data:C.section,timestamp:Date.now()}),h(C.subSection||null))};return window.addEventListener("popstate",S),()=>window.removeEventListener("popstate",S)},[]);const g=(S,C)=>{d(S),f(C),h(null),C&&Hl(`#${u}/${C}`,!1)},b=(S,C)=>{h(S),C&&Hl(S?`#${u}/${C}/${S}`:`#${u}/${C}`)};return w.jsxs("div",{className:"frame",children:[w.jsx(o2,{currentTab:u,currentSection:l,currentSectionName:c,currentSubSection:p,onSubSectionChange:b,onClose:o,onBack:()=>window.history.back(),onForward:()=>window.history.forward(),canGoBack:!0,canGoForward:!0}),w.jsx("div",{style:{flex:1,display:"flex",overflow:"hidden",minHeight:0},children:w.jsx(k.Suspense,{fallback:w.jsx(t2,{currentTab:u}),children:w.jsx(i2,{currentTab:u,changeTab:()=>{},deepLinkData:n,onSectionChange:g,onSubSectionChange:b,currentSubSection:p,navigationTrigger:y},u)})})]})}const s2=k.memo(n2),ev=["#3b6ea8","#2f8f83","#a85a3b","#7a4fa3","#a38a2f","#b0425b","#4a7f3a","#456b8f"];function ly(o,n=""){let u;try{u=new URL(o).hostname.replace(/^www\./,"")}catch{u=String(o||"")}const l=(n||u||"?").trim(),d=(Array.from(l)[0]||"?").toUpperCase().replace(/[&<>"']/g,"?");let c=0;for(const h of u)c=c*31+h.charCodeAt(0)>>>0;const p=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="${ev[c%ev.length]}"/><text x="32" y="43" font-family="sans-serif" font-size="32" font-weight="600" text-anchor="middle" fill="#fff">${d}</text></svg>`;return`data:image/svg+xml;charset=utf-8,${encodeURIComponent(p)}`}const tv=()=>{try{const o=localStorage.getItem("quicklinks");if(!o)return[];const n=JSON.parse(o);return Array.isArray(n)?n:[]}catch(o){return console.warn("Failed to parse quicklinks from localStorage. Resetting to []",o),[]}},uy=k.memo(()=>{const[o,n]=k.useState(tv()),[u,l]=k.useState(0),d=k.useRef(null),c=k.useCallback(_=>{if(!_)return;const g=localStorage.getItem("zoomQuicklinks")||100;for(const b of _.getElementsByTagName("span"))b.style.fontSize=`${14*Number(g/100)}px`;if(localStorage.getItem("quickLinksStyle")!=="text")for(const b of _.getElementsByTagName("img"))b.style.height=`${30*Number(g/100)}px`},[]);k.useEffect(()=>{const _=g=>{if(g==="quicklinks"){if(localStorage.getItem("quicklinksenabled")==="false"){d.current&&(d.current.style.display="none");return}d.current&&(d.current.style.display="flex"),n(tv()),l(Date.now())}};return ve.on("refresh",_),c(d.current),()=>{ve.off("refresh",_)}},[c]),k.useEffect(()=>{c(d.current)},[o,u,c]);let f,p=null;localStorage.getItem("quicklinksnewtab")==="true"&&(f="_blank",p="noopener noreferrer");const h=localStorage.getItem("quicklinkstooltip"),y=(_,g)=>{if(localStorage.getItem("quickLinksStyle")==="text")return w.jsx("a",{className:"quicklinkstext",href:_.url,target:f,rel:p,draggable:!1,children:_.name},`quicklink-${_.key}-${g}`);const b=_.icon||ly(_.url,_.name);if(localStorage.getItem("quickLinksStyle")==="metro")return w.jsxs("a",{className:"quickLinksMetro",href:_.url,target:f,rel:p,draggable:!1,children:[w.jsx("img",{src:b,alt:_.name,draggable:!1}),w.jsx("span",{className:"subtitle",children:_.name})]},`quicklink-${_.key}-${g}`);const S=w.jsx("a",{href:_.url,target:f,rel:p,draggable:!1,children:w.jsx("img",{src:b,alt:_.name,draggable:!1})},`quicklink-${_.key}-${g}`);return h==="true"?w.jsx(ht,{title:_.name,placement:"bottom",children:S},`quicklink-${_.key}-${g}`):S};return w.jsx("div",{className:"quicklinkscontainer",ref:d,children:o&&o.map((_,g)=>y(_,g))})});uy.displayName="QuickLinks";const r2=()=>{const[o,n]=k.useState(""),[u,l]=k.useState(null),[d,c]=k.useState("block"),[f,p]=k.useState("1em"),h=k.useRef(),y=g=>{const b=new Date(g.valueOf()),S=(b.getDay()+6)%7;b.setDate(b.getDate()-S+3);const C=b.valueOf();b.setMonth(0,1),b.getDay()!==4&&b.setMonth(0,1+(4-b.getDay()+7)%7),l(`${pe.getMessage("widgets.date.week")} ${1+Math.ceil((C-b)/6048e5)}`)},_=()=>{let g=new Date;const b=localStorage.getItem("timezone");if(b&&b!=="auto"&&(g=qm(g,b)),localStorage.getItem("weeknumber")==="true"?y(g):l(null),localStorage.getItem("dateType")==="short"){const S=g.getDate(),C=g.getMonth()+1,x=g.getFullYear(),A=localStorage.getItem("datezero")==="true";let j=A?("00"+S).slice(-2):S,z=A?("00"+C).slice(-2):C,L=x;switch(localStorage.getItem("dateFormat")){case"MDY":{const[Z,H]=[j,z];j=H,z=Z;break}case"YMD":{const Z=j;j=L,L=Z;break}}let G;switch(localStorage.getItem("shortFormat")){case"dots":G=`${j}.${z}.${L}`;break;case"dash":G=`${j}-${z}-${L}`;break;case"gaps":G=`${j} - ${z} - ${L}`;break;case"slashes":G=`${j}/${z}/${L}`;break}n(G)}else{const S=pe.languagecode.split("_")[0],C=localStorage.getItem("datenth")==="true"?Vb(g.getDate()):g.getDate(),x=localStorage.getItem("dayofweek")==="true"?g.toLocaleDateString(S,{weekday:"long"}):"",A=g.toLocaleDateString(S,{month:"long"}),j=g.getFullYear();let z;switch(localStorage.getItem("longFormat")){case"MDY":z=`${A} ${C}, ${j}${x?`, ${x}`:""}`;break;case"YMD":z=`${j} ${A} ${C}${x?`, ${x}`:""}`;break;default:z=`${C} ${A} ${j}${x?`, ${x}`:""}`;break}n(z)}};return k.useEffect(()=>{const g=S=>{if(S==="date"||S==="timezone"){if(localStorage.getItem("date")==="false"){c("none");return}c("block"),p(`${Number((localStorage.getItem("zoomDate")||100)/100)}em`),_()}};p(`${Number((localStorage.getItem("zoomDate")||100)/100)}em`),_();const b=setInterval(_,6e4);return ve.on("refresh",g),()=>{clearInterval(b),ve.off("refresh",g)}},[]),w.jsxs("span",{className:"date",ref:h,style:{display:d,fontSize:f},children:[o,w.jsx("br",{}),u]})},av=()=>{try{const o=JSON.parse(localStorage.getItem("messages"));return Array.isArray(o)?o.filter(n=>typeof n=="string"&&n!==""):[]}catch{return[]}},l2=()=>{const[o,n]=k.useState(""),[u,l]=k.useState("none"),[d,c]=k.useState("1em"),f=k.useRef();return k.useEffect(()=>{const p=y=>{if(y==="message"){const _=av();n(S=>_.includes(S)?S:_.length>0?_[Math.floor(Math.random()*_.length)]:"");const g=localStorage.getItem("message"),b=localStorage.getItem("zoomMessage");l(g==="false"||_.length===0?"none":"block"),c(`${1*Number((b||100)/100)}em`)}},h=av();return h.length>0&&(n(h[Math.floor(Math.random()*h.length)]),l("block")),ve.on("refresh",p),()=>{ve.off("refresh",p)}},[]),w.jsx("h2",{className:"message",ref:f,style:{display:u,fontSize:d},children:o.split(/\r?\n/).map(p=>w.jsxs("span",{children:[p,w.jsx("br",{})]},p))})};function Nn(){const o=document.querySelector(".reminder-info");o&&(o.style.display="flex"),localStorage.setItem("showReminder",!0)}const u2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)||o.default),l=k.useRef(null),d=k.useCallback(p=>{let h=p.target.value;if(h=Number(h),h>o.max&&(h=o.max),h<o.min&&(h=o.min),localStorage.setItem(o.name,h),u(h),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)},[o]),c=k.useCallback(()=>{l.current&&cancelAnimationFrame(l.current);const p=Number(n),h=Number(o.default||0),y=300,_=performance.now(),g=b=>{const S=b-_,C=Math.min(S/y,1),x=1-Math.pow(1-C,3),A=p+(h-p)*x,j=Math.round(A/(Number(o.step)||1))*(Number(o.step)||1);localStorage.setItem(o.name,j),u(j),C<1?l.current=requestAnimationFrame(g):(localStorage.setItem(o.name,h),u(h),ve.emit("refresh",o.category))};l.current=requestAnimationFrame(g),De(pe.getMessage("toasts.reset"))},[n,o]),f=(Number(n)-Number(o.min))/(Number(o.max)-Number(o.min))*100;return w.jsxs("div",{className:"slider-container",children:[w.jsxs("div",{className:"slider-header",children:[w.jsx("span",{className:"slider-value",children:Number(n)}),w.jsxs("span",{className:"slider-reset",onClick:c,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsxs("div",{className:"slider-wrapper",children:[w.jsx("input",{type:"range",className:"slider-input",value:Number(n),onChange:d,min:Number(o.min),max:Number(o.max),step:Number(o.step)||1,style:{"--slider-percentage":`${f}%`},"aria-label":o.title,"aria-valuemin":Number(o.min),"aria-valuemax":Number(o.max),"aria-valuenow":Number(n),disabled:o.disabled||!1}),o.marks&&o.marks.length>0&&w.jsx("div",{className:"slider-marks",children:o.marks.map(p=>w.jsx("span",{className:"slider-mark",style:{left:`${(p.value-Number(o.min))/(Number(o.max)-Number(o.min))*100}%`},children:p.label},p.value))})]})]})});u2.displayName="SliderComponent";const d2=({children:o})=>w.jsx("div",{id:"widgets",children:o}),ov=()=>{try{const o=JSON.parse(localStorage.getItem("order"));return Array.isArray(o)?o:[]}catch{return[]}},Mi=o=>localStorage.getItem(o)==="true",c2=()=>{const[o,n]=k.useState(ov),u=k.useMemo(()=>({time:Mi("time")&&w.jsx(BC,{}),greeting:Mi("greeting")&&w.jsx(IC,{}),date:Mi("date")&&w.jsx(r2,{}),quicklinks:Mi("quicklinksenabled")?w.jsx(uy,{}):null,message:Mi("message")&&w.jsx(l2,{})}),[o]);return k.useEffect(()=>{const l=d=>{d==="widgets"&&n(ov())};return ve.on("refresh",l),()=>{ve.off("refresh",l)}},[]),w.jsxs(d2,{children:[o.map((l,d)=>w.jsx(k.Fragment,{children:u[l]},d)),Mi("taskBox")&&w.jsx($C,{}),Mi("recentChats")&&w.jsx(tx,{})]})};var xl={exports:{}},Vo={},nm={exports:{}},sm,iv;function m2(){if(iv)return sm;iv=1;var o="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return sm=o,sm}var rm,nv;function p2(){if(nv)return rm;nv=1;var o=m2();function n(){}function u(){}return u.resetWarningCache=n,rm=function(){function l(f,p,h,y,_,g){if(g!==o){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}}l.isRequired=l;function d(){return l}var c={array:l,bigint:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:d,element:l,elementType:l,instanceOf:d,node:l,objectOf:d,oneOf:d,oneOfType:d,shape:d,exact:d,checkPropTypes:u,resetWarningCache:n};return c.PropTypes=c,c},rm}var sv;function dy(){return sv||(sv=1,nm.exports=p2()()),nm.exports}var zl={exports:{}},ba={},Tl={exports:{}},rv;function cy(){return rv||(rv=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=_;var u="none",l="contents",d=/^(input|select|textarea|button|object|iframe)$/;function c(g,b){return b.getPropertyValue("overflow")!=="visible"||g.scrollWidth<=0&&g.scrollHeight<=0}function f(g){var b=g.offsetWidth<=0&&g.offsetHeight<=0;if(b&&!g.innerHTML)return!0;try{var S=window.getComputedStyle(g),C=S.getPropertyValue("display");return b?C!==l&&c(g,S):C===u}catch{return console.warn("Failed to inspect element style"),!1}}function p(g){for(var b=g,S=g.getRootNode&&g.getRootNode();b&&b!==document.body;){if(S&&b===S&&(b=S.host.parentNode),f(b))return!1;b=b.parentNode}return!0}function h(g,b){var S=g.nodeName.toLowerCase(),C=d.test(S)&&!g.disabled||S==="a"&&g.href||b;return C&&p(g)}function y(g){var b=g.getAttribute("tabindex");b===null&&(b=void 0);var S=isNaN(b);return(S||b>=0)&&h(g,!S)}function _(g){var b=[].slice.call(g.querySelectorAll("*"),0).reduce(function(S,C){return S.concat(C.shadowRoot?_(C.shadowRoot):[C])},[]);return b.filter(y)}o.exports=n.default})(Tl,Tl.exports)),Tl.exports}var lv;function f2(){if(lv)return ba;lv=1,Object.defineProperty(ba,"__esModule",{value:!0}),ba.resetState=f,ba.log=p,ba.handleBlur=h,ba.handleFocus=y,ba.markForFocusLater=_,ba.returnFocus=g,ba.popWithoutFocus=b,ba.setupScopedFocus=S,ba.teardownScopedFocus=C;var o=cy(),n=u(o);function u(x){return x&&x.__esModule?x:{default:x}}var l=[],d=null,c=!1;function f(){l=[]}function p(){}function h(){c=!0}function y(){if(c){if(c=!1,!d)return;setTimeout(function(){if(!d.contains(document.activeElement)){var x=(0,n.default)(d)[0]||d;x.focus()}},0)}}function _(){l.push(document.activeElement)}function g(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,A=null;try{l.length!==0&&(A=l.pop(),A.focus({preventScroll:x}));return}catch{console.warn(["You tried to return focus to",A,"but it is not in the DOM anymore"].join(" "))}}function b(){l.length>0&&l.pop()}function S(x){d=x,window.addEventListener?(window.addEventListener("blur",h,!1),document.addEventListener("focus",y,!0)):(window.attachEvent("onBlur",h),document.attachEvent("onFocus",y))}function C(){d=null,window.addEventListener?(window.removeEventListener("blur",h),document.removeEventListener("focus",y)):(window.detachEvent("onBlur",h),document.detachEvent("onFocus",y))}return ba}var Nl={exports:{}},uv;function g2(){return uv||(uv=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var u=cy(),l=d(u);function d(p){return p&&p.__esModule?p:{default:p}}function c(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return p.activeElement.shadowRoot?c(p.activeElement.shadowRoot):p.activeElement}function f(p,h){var y=(0,l.default)(p);if(!y.length){h.preventDefault();return}var _=void 0,g=h.shiftKey,b=y[0],S=y[y.length-1],C=c();if(p===C){if(!g)return;_=S}if(S===C&&!g&&(_=b),b===C&&g&&(_=S),_){h.preventDefault(),_.focus();return}var x=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),A=x!=null&&x[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(A){var j=y.indexOf(C);if(j>-1&&(j+=g?-1:1),_=y[j],typeof _>"u"){h.preventDefault(),_=g?S:b,_.focus();return}h.preventDefault(),_.focus()}}o.exports=n.default})(Nl,Nl.exports)),Nl.exports}var Ea={},lm,dv;function h2(){if(dv)return lm;dv=1;var o=function(){};return lm=o,lm}var Ya={},um={exports:{}};var cv;function _2(){return cv||(cv=1,(function(o){(function(){var n=!!(typeof window<"u"&&window.document&&window.document.createElement),u={canUseDOM:n,canUseWorkers:typeof Worker<"u",canUseEventListeners:n&&!!(window.addEventListener||window.attachEvent),canUseViewport:n&&!!window.screen};o.exports?o.exports=u:window.ExecutionEnvironment=u})()})(um)),um.exports}var mv;function Lm(){if(mv)return Ya;mv=1,Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.canUseDOM=Ya.SafeNodeList=Ya.SafeHTMLCollection=void 0;var o=_2(),n=u(o);function u(c){return c&&c.__esModule?c:{default:c}}var l=n.default,d=l.canUseDOM?window.HTMLElement:{};return Ya.SafeHTMLCollection=l.canUseDOM?window.HTMLCollection:{},Ya.SafeNodeList=l.canUseDOM?window.NodeList:{},Ya.canUseDOM=l.canUseDOM,Ya.default=d,Ya}var pv;function my(){if(pv)return Ea;pv=1,Object.defineProperty(Ea,"__esModule",{value:!0}),Ea.resetState=c,Ea.log=f,Ea.assertNodeList=p,Ea.setElement=h,Ea.validateElement=y,Ea.hide=_,Ea.show=g,Ea.documentNotReadyOrSSRTesting=b;var o=h2(),n=l(o),u=Lm();function l(S){return S&&S.__esModule?S:{default:S}}var d=null;function c(){d&&(d.removeAttribute?d.removeAttribute("aria-hidden"):d.length!=null?d.forEach(function(S){return S.removeAttribute("aria-hidden")}):document.querySelectorAll(d).forEach(function(S){return S.removeAttribute("aria-hidden")})),d=null}function f(){}function p(S,C){if(!S||!S.length)throw new Error("react-modal: No elements were found for selector "+C+".")}function h(S){var C=S;if(typeof C=="string"&&u.canUseDOM){var x=document.querySelectorAll(C);p(x,C),C=x}return d=C||d,d}function y(S){var C=S||d;return C?Array.isArray(C)||C instanceof HTMLCollection||C instanceof NodeList?C:[C]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function _(S){var C=!0,x=!1,A=void 0;try{for(var j=y(S)[Symbol.iterator](),z;!(C=(z=j.next()).done);C=!0){var L=z.value;L.setAttribute("aria-hidden","true")}}catch(G){x=!0,A=G}finally{try{!C&&j.return&&j.return()}finally{if(x)throw A}}}function g(S){var C=!0,x=!1,A=void 0;try{for(var j=y(S)[Symbol.iterator](),z;!(C=(z=j.next()).done);C=!0){var L=z.value;L.removeAttribute("aria-hidden")}}catch(G){x=!0,A=G}finally{try{!C&&j.return&&j.return()}finally{if(x)throw A}}}function b(){d=null}return Ea}var Ai={},fv;function v2(){if(fv)return Ai;fv=1,Object.defineProperty(Ai,"__esModule",{value:!0}),Ai.resetState=l,Ai.log=d;var o={},n={};function u(y,_){y.classList.remove(_)}function l(){var y=document.getElementsByTagName("html")[0];for(var _ in o)u(y,o[_]);var g=document.body;for(var b in n)u(g,n[b]);o={},n={}}function d(){}var c=function(_,g){return _[g]||(_[g]=0),_[g]+=1,g},f=function(_,g){return _[g]&&(_[g]-=1),g},p=function(_,g,b){b.forEach(function(S){c(g,S),_.add(S)})},h=function(_,g,b){b.forEach(function(S){f(g,S),g[S]===0&&_.remove(S)})};return Ai.add=function(_,g){return p(_.classList,_.nodeName.toLowerCase()=="html"?o:n,g.split(" "))},Ai.remove=function(_,g){return h(_.classList,_.nodeName.toLowerCase()=="html"?o:n,g.split(" "))},Ai}var Sn={},gv;function py(){if(gv)return Sn;gv=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.log=l,Sn.resetState=d;function o(c,f){if(!(c instanceof f))throw new TypeError("Cannot call a class as a function")}var n=function c(){var f=this;o(this,c),this.register=function(p){f.openInstances.indexOf(p)===-1&&(f.openInstances.push(p),f.emit("register"))},this.deregister=function(p){var h=f.openInstances.indexOf(p);h!==-1&&(f.openInstances.splice(h,1),f.emit("deregister"))},this.subscribe=function(p){f.subscribers.push(p)},this.emit=function(p){f.subscribers.forEach(function(h){return h(p,f.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},u=new n;function l(){console.log("portalOpenInstances ----------"),console.log(u.openInstances.length),u.openInstances.forEach(function(c){return console.log(c)}),console.log("end portalOpenInstances ----------")}function d(){u=new n}return Sn.default=u,Sn}var Ns={},hv;function b2(){if(hv)return Ns;hv=1,Object.defineProperty(Ns,"__esModule",{value:!0}),Ns.resetState=f,Ns.log=p;var o=py(),n=u(o);function u(_){return _&&_.__esModule?_:{default:_}}var l=void 0,d=void 0,c=[];function f(){for(var _=[l,d],g=0;g<_.length;g++){var b=_[g];b&&b.parentNode&&b.parentNode.removeChild(b)}l=d=null,c=[]}function p(){console.log("bodyTrap ----------"),console.log(c.length);for(var _=[l,d],g=0;g<_.length;g++){var b=_[g],S=b||{};console.log(S.nodeName,S.className,S.id)}console.log("edn bodyTrap ----------")}function h(){c.length!==0&&c[c.length-1].focusContent()}function y(_,g){!l&&!d&&(l=document.createElement("div"),l.setAttribute("data-react-modal-body-trap",""),l.style.position="absolute",l.style.opacity="0",l.setAttribute("tabindex","0"),l.addEventListener("focus",h),d=l.cloneNode(),d.addEventListener("focus",h)),c=g,c.length>0?(document.body.firstChild!==l&&document.body.insertBefore(l,document.body.firstChild),document.body.lastChild!==d&&document.body.appendChild(d)):(l.parentElement&&l.parentElement.removeChild(l),d.parentElement&&d.parentElement.removeChild(d))}return n.default.subscribe(y),Ns}var _v;function y2(){return _v||(_v=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0});var u=Object.assign||function(X){for(var Y=1;Y<arguments.length;Y++){var I=arguments[Y];for(var T in I)Object.prototype.hasOwnProperty.call(I,T)&&(X[T]=I[T])}return X},l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},d=(function(){function X(Y,I){for(var T=0;T<I.length;T++){var K=I[T];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(Y,K.key,K)}}return function(Y,I,T){return I&&X(Y.prototype,I),T&&X(Y,T),Y}})(),c=Ws(),f=dy(),p=Z(f),h=f2(),y=G(h),_=g2(),g=Z(_),b=my(),S=G(b),C=v2(),x=G(C),A=Lm(),j=Z(A),z=py(),L=Z(z);b2();function G(X){if(X&&X.__esModule)return X;var Y={};if(X!=null)for(var I in X)Object.prototype.hasOwnProperty.call(X,I)&&(Y[I]=X[I]);return Y.default=X,Y}function Z(X){return X&&X.__esModule?X:{default:X}}function H(X,Y){if(!(X instanceof Y))throw new TypeError("Cannot call a class as a function")}function D(X,Y){if(!X)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y&&(typeof Y=="object"||typeof Y=="function")?Y:X}function q(X,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);X.prototype=Object.create(Y&&Y.prototype,{constructor:{value:X,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(X,Y):X.__proto__=Y)}var V={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},$=function(Y){return Y.code==="Tab"||Y.keyCode===9},W=function(Y){return Y.code==="Escape"||Y.keyCode===27},ee=0,ae=(function(X){q(Y,X);function Y(I){H(this,Y);var T=D(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this,I));return T.setOverlayRef=function(K){T.overlay=K,T.props.overlayRef&&T.props.overlayRef(K)},T.setContentRef=function(K){T.content=K,T.props.contentRef&&T.props.contentRef(K)},T.afterClose=function(){var K=T.props,ie=K.appElement,ne=K.ariaHideApp,ye=K.htmlOpenClassName,Ce=K.bodyOpenClassName,Ve=K.parentSelector,E=Ve&&Ve().ownerDocument||document;Ce&&x.remove(E.body,Ce),ye&&x.remove(E.getElementsByTagName("html")[0],ye),ne&&ee>0&&(ee-=1,ee===0&&S.show(ie)),T.props.shouldFocusAfterRender&&(T.props.shouldReturnFocusAfterClose?(y.returnFocus(T.props.preventScroll),y.teardownScopedFocus()):y.popWithoutFocus()),T.props.onAfterClose&&T.props.onAfterClose(),L.default.deregister(T)},T.open=function(){T.beforeOpen(),T.state.afterOpen&&T.state.beforeClose?(clearTimeout(T.closeTimer),T.setState({beforeClose:!1})):(T.props.shouldFocusAfterRender&&(y.setupScopedFocus(T.node),y.markForFocusLater()),T.setState({isOpen:!0},function(){T.openAnimationFrame=requestAnimationFrame(function(){T.setState({afterOpen:!0}),T.props.isOpen&&T.props.onAfterOpen&&T.props.onAfterOpen({overlayEl:T.overlay,contentEl:T.content})})}))},T.close=function(){T.props.closeTimeoutMS>0?T.closeWithTimeout():T.closeWithoutTimeout()},T.focusContent=function(){return T.content&&!T.contentHasFocus()&&T.content.focus({preventScroll:!0})},T.closeWithTimeout=function(){var K=Date.now()+T.props.closeTimeoutMS;T.setState({beforeClose:!0,closesAt:K},function(){T.closeTimer=setTimeout(T.closeWithoutTimeout,T.state.closesAt-Date.now())})},T.closeWithoutTimeout=function(){T.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},T.afterClose)},T.handleKeyDown=function(K){$(K)&&(0,g.default)(T.content,K),T.props.shouldCloseOnEsc&&W(K)&&(K.stopPropagation(),T.requestClose(K))},T.handleOverlayOnClick=function(K){T.shouldClose===null&&(T.shouldClose=!0),T.shouldClose&&T.props.shouldCloseOnOverlayClick&&(T.ownerHandlesClose()?T.requestClose(K):T.focusContent()),T.shouldClose=null},T.handleContentOnMouseUp=function(){T.shouldClose=!1},T.handleOverlayOnMouseDown=function(K){!T.props.shouldCloseOnOverlayClick&&K.target==T.overlay&&K.preventDefault()},T.handleContentOnClick=function(){T.shouldClose=!1},T.handleContentOnMouseDown=function(){T.shouldClose=!1},T.requestClose=function(K){return T.ownerHandlesClose()&&T.props.onRequestClose(K)},T.ownerHandlesClose=function(){return T.props.onRequestClose},T.shouldBeClosed=function(){return!T.state.isOpen&&!T.state.beforeClose},T.contentHasFocus=function(){return document.activeElement===T.content||T.content.contains(document.activeElement)},T.buildClassName=function(K,ie){var ne=(typeof ie>"u"?"undefined":l(ie))==="object"?ie:{base:V[K],afterOpen:V[K]+"--after-open",beforeClose:V[K]+"--before-close"},ye=ne.base;return T.state.afterOpen&&(ye=ye+" "+ne.afterOpen),T.state.beforeClose&&(ye=ye+" "+ne.beforeClose),typeof ie=="string"&&ie?ye+" "+ie:ye},T.attributesFromObject=function(K,ie){return Object.keys(ie).reduce(function(ne,ye){return ne[K+"-"+ye]=ie[ye],ne},{})},T.state={afterOpen:!1,beforeClose:!1},T.shouldClose=null,T.moveFromContentToOverlay=null,T}return d(Y,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(T,K){this.props.isOpen&&!T.isOpen?this.open():!this.props.isOpen&&T.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!K.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var T=this.props,K=T.appElement,ie=T.ariaHideApp,ne=T.htmlOpenClassName,ye=T.bodyOpenClassName,Ce=T.parentSelector,Ve=Ce&&Ce().ownerDocument||document;ye&&x.add(Ve.body,ye),ne&&x.add(Ve.getElementsByTagName("html")[0],ne),ie&&(ee+=1,S.hide(K)),L.default.register(this)}},{key:"render",value:function(){var T=this.props,K=T.id,ie=T.className,ne=T.overlayClassName,ye=T.defaultStyles,Ce=T.children,Ve=ie?{}:ye.content,E=ne?{}:ye.overlay;if(this.shouldBeClosed())return null;var te={ref:this.setOverlayRef,className:this.buildClassName("overlay",ne),style:u({},E,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},se=u({id:K,ref:this.setContentRef,style:u({},Ve,this.props.style.content),className:this.buildClassName("content",ie),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",u({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),ce=this.props.contentElement(se,Ce);return this.props.overlayElement(te,ce)}}]),Y})(c.Component);ae.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},ae.propTypes={isOpen:p.default.bool.isRequired,defaultStyles:p.default.shape({content:p.default.object,overlay:p.default.object}),style:p.default.shape({content:p.default.object,overlay:p.default.object}),className:p.default.oneOfType([p.default.string,p.default.object]),overlayClassName:p.default.oneOfType([p.default.string,p.default.object]),parentSelector:p.default.func,bodyOpenClassName:p.default.string,htmlOpenClassName:p.default.string,ariaHideApp:p.default.bool,appElement:p.default.oneOfType([p.default.instanceOf(j.default),p.default.instanceOf(A.SafeHTMLCollection),p.default.instanceOf(A.SafeNodeList),p.default.arrayOf(p.default.instanceOf(j.default))]),onAfterOpen:p.default.func,onAfterClose:p.default.func,onRequestClose:p.default.func,closeTimeoutMS:p.default.number,shouldFocusAfterRender:p.default.bool,shouldCloseOnOverlayClick:p.default.bool,shouldReturnFocusAfterClose:p.default.bool,preventScroll:p.default.bool,role:p.default.string,contentLabel:p.default.string,aria:p.default.object,data:p.default.object,children:p.default.node,shouldCloseOnEsc:p.default.bool,overlayRef:p.default.func,contentRef:p.default.func,id:p.default.string,overlayElement:p.default.func,contentElement:p.default.func,testId:p.default.string},n.default=ae,o.exports=n.default})(zl,zl.exports)),zl.exports}function fy(){var o=this.constructor.getDerivedStateFromProps(this.props,this.state);o!=null&&this.setState(o)}function gy(o){function n(u){var l=this.constructor.getDerivedStateFromProps(o,u);return l??null}this.setState(n.bind(this))}function hy(o,n){try{var u=this.props,l=this.state;this.props=o,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(u,l)}finally{this.props=u,this.state=l}}fy.__suppressDeprecationWarning=!0;gy.__suppressDeprecationWarning=!0;hy.__suppressDeprecationWarning=!0;function k2(o){var n=o.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if(typeof o.getDerivedStateFromProps!="function"&&typeof n.getSnapshotBeforeUpdate!="function")return o;var u=null,l=null,d=null;if(typeof n.componentWillMount=="function"?u="componentWillMount":typeof n.UNSAFE_componentWillMount=="function"&&(u="UNSAFE_componentWillMount"),typeof n.componentWillReceiveProps=="function"?l="componentWillReceiveProps":typeof n.UNSAFE_componentWillReceiveProps=="function"&&(l="UNSAFE_componentWillReceiveProps"),typeof n.componentWillUpdate=="function"?d="componentWillUpdate":typeof n.UNSAFE_componentWillUpdate=="function"&&(d="UNSAFE_componentWillUpdate"),u!==null||l!==null||d!==null){var c=o.displayName||o.name,f=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.+ `),localStorage.getItem("applinks")===null&&localStorage.setItem("applinks",JSON.stringify([])),localStorage.getItem("appsEnabled")===null&&localStorage.setItem("showWelcome",!1)}function Jx(){const o=Object.keys(localStorage);if(o.length===0)return wm();const n={};o.forEach(u=>{n[u]=localStorage.getItem(u)}),localStorage.clear(),wm(),Object.keys(n).forEach(u=>{localStorage.setItem(u,n[u])})}function $x({modalClose:o}){const n=async()=>{pe.stats.postEvent("setting","Reset");try{await nC()}catch{}wm("reset"),window.location.reload()};return w.jsxs("div",{className:"smallModal",children:[w.jsxs("div",{className:"shareHeader",children:[w.jsx("span",{className:"title",children:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.title")}),w.jsx(ht,{title:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.cancel"),children:w.jsx("div",{className:"close",onClick:o,children:w.jsx(Is,{})})})]}),w.jsx("span",{className:"title",children:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.question")}),w.jsx("span",{className:"subtitle",children:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.information")}),w.jsxs("div",{className:"resetFooter",children:[w.jsx(Fs,{type:"secondary",onClick:o,icon:w.jsx(Is,{}),label:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.cancel")}),w.jsx(Fs,{type:"settings",onClick:()=>n(),icon:w.jsx(DA,{}),label:pe.getMessage("modals.main.settings.buttons.reset")})]})]})}const wN=k.memo($x),$_={[Yo.SETTINGS]:{itemCount:16,dividerPositions:[10,12],textWidths:[80,100,70,90,85,75,80,95,90,75,85,90,85,80,70,95]},[Yo.DISCOVER]:{itemCount:5,dividerPositions:[0],textWidths:[60,95,95,110,90]},[Yo.LIBRARY]:{itemCount:0,dividerPositions:[],textWidths:[]}},e2=({currentTab:o=Yo.SETTINGS})=>{const n=$_[o]||$_[Yo.SETTINGS];return n.itemCount===0?null:w.jsx("div",{className:"sidebarSkeleton",children:Array.from({length:n.itemCount}).map((u,l)=>{const d=n.dividerPositions.includes(l),c=n.textWidths[l]||80;return w.jsxs("div",{children:[w.jsxs("div",{className:"skeletonItem",children:[w.jsx("div",{className:"iconPlaceholder pulse"}),w.jsx("div",{className:"textPlaceholder pulse",style:{width:`${c}px`}})]}),d&&w.jsx("hr",{className:"skeletonDivider"})]},l)})})},t2=({currentTab:o})=>w.jsxs("div",{style:{display:"flex",width:"100%",minHeight:"100%"},children:[w.jsx("div",{className:"modalSidebar",children:w.jsx(e2,{currentTab:o})}),w.jsx("div",{className:"modalTabContent",children:w.jsx("div",{className:"emptyItems",children:w.jsx("div",{className:"emptyMessage",children:w.jsxs("div",{className:"loaderHolder",children:[w.jsx("div",{id:"loader"}),w.jsx("span",{className:"subtitle",children:pe.getMessage("modals.main.loading")})]})})})})]}),a2=""+new URL("webbrain-rEIJfo36.png",import.meta.url).href;function o2({currentTab:o,currentSection:n,currentSectionName:u,currentSubSection:l,onSubSectionChange:d,onClose:c,onBack:f,onForward:p,canGoBack:h,canGoForward:y}){const _=Qo(),g=$A.find(({tab:x})=>x===o),b=g?_(g.messageKey):"",S=(x,A)=>{if(!x||!A)return x;const j=`modals.main.settings.sections.${A}.${x}.title`,z=_(j);return!z||z===j?x.charAt(0).toUpperCase()+x.slice(1):z},C=[];return b&&(C.push({label:b,onClick:null}),n&&(C.push({label:n,onClick:l?()=>d(null):null}),l&&C.push({label:S(l,u),onClick:null}))),w.jsxs("div",{className:"modalTopBar",children:[w.jsxs("div",{className:"topBarLeft",children:[w.jsxs("div",{className:"navigationButtons",children:[w.jsx(ht,{title:"Back",children:w.jsx("button",{className:"navButton",onClick:f,disabled:!h,"aria-label":"Navigate back",children:w.jsx(wA,{})})},"backTooltip"),w.jsx(ht,{title:"Forward",children:w.jsx("button",{className:"navButton",onClick:p,disabled:!y,"aria-label":"Navigate forward",children:w.jsx(jb,{})})},"forwardTooltip")]}),w.jsx("img",{src:a2,alt:"WebBrain",className:"topBarLogo",draggable:!1}),C.length>0&&w.jsx("nav",{className:"breadcrumbs","aria-label":"Breadcrumb navigation",children:C.map((x,A)=>{const j=A===C.length-1,z=x.onClick!==null;return w.jsxs("span",{className:"breadcrumb-segment",children:[z?w.jsx("span",{className:"breadcrumb-item breadcrumb-clickable",onClick:x.onClick,onKeyDown:L=>{(L.key==="Enter"||L.key===" ")&&(L.preventDefault(),x.onClick())},role:"button",tabIndex:0,"aria-label":`Navigate to ${x.label}`,children:x.label}):w.jsx("span",{className:`breadcrumb-item ${j?"breadcrumb-current":""}`,"aria-current":j?"page":void 0,children:x.label}),!j&&w.jsx(kA,{className:"breadcrumb-separator","aria-hidden":"true"})]},A)})})]}),w.jsx("div",{className:"topBarRight",children:w.jsx(ht,{title:_("modals.welcome.buttons.close"),children:w.jsx("span",{className:"closeModal",onClick:c,children:w.jsx(Is,{})})},"closeTooltip")})]})}const i2=k.lazy(()=>Om(()=>import("./Settings-BHcHjb2v.js"),__vite__mapDeps([1,2]),import.meta.url));function n2({modalClose:o,deepLinkData:n}){const u=Yo.SETTINGS,[l,d]=k.useState(""),[c,f]=k.useState(""),[p,h]=k.useState(n?.subSection||null),[y,_]=k.useState(null);k.useEffect(()=>{n?.section&&(_({type:"settings-section",data:n.section,timestamp:Date.now()}),n.subSection&&h(n.subSection))},[n]),k.useEffect(()=>()=>{window.location.hash&&window.history.replaceState(null,null,window.location.pathname)},[]),k.useEffect(()=>{const S=()=>{const C=window.location.hash?Pl(window.location.hash):null;C?.section&&(_({type:"settings-section",data:C.section,timestamp:Date.now()}),h(C.subSection||null))};return window.addEventListener("popstate",S),()=>window.removeEventListener("popstate",S)},[]);const g=(S,C)=>{d(S),f(C),h(null),C&&Hl(`#${u}/${C}`,!1)},b=(S,C)=>{h(S),C&&Hl(S?`#${u}/${C}/${S}`:`#${u}/${C}`)};return w.jsxs("div",{className:"frame",children:[w.jsx(o2,{currentTab:u,currentSection:l,currentSectionName:c,currentSubSection:p,onSubSectionChange:b,onClose:o,onBack:()=>window.history.back(),onForward:()=>window.history.forward(),canGoBack:!0,canGoForward:!0}),w.jsx("div",{style:{flex:1,display:"flex",overflow:"hidden",minHeight:0},children:w.jsx(k.Suspense,{fallback:w.jsx(t2,{currentTab:u}),children:w.jsx(i2,{currentTab:u,changeTab:()=>{},deepLinkData:n,onSectionChange:g,onSubSectionChange:b,currentSubSection:p,navigationTrigger:y},u)})})]})}const s2=k.memo(n2),ev=["#3b6ea8","#2f8f83","#a85a3b","#7a4fa3","#a38a2f","#b0425b","#4a7f3a","#456b8f"];function ly(o,n=""){let u;try{u=new URL(o).hostname.replace(/^www\./,"")}catch{u=String(o||"")}const l=(n||u||"?").trim(),d=(Array.from(l)[0]||"?").toUpperCase().replace(/[&<>"']/g,"?");let c=0;for(const h of u)c=c*31+h.charCodeAt(0)>>>0;const p=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="${ev[c%ev.length]}"/><text x="32" y="43" font-family="sans-serif" font-size="32" font-weight="600" text-anchor="middle" fill="#fff">${d}</text></svg>`;return`data:image/svg+xml;charset=utf-8,${encodeURIComponent(p)}`}const tv=()=>{try{const o=localStorage.getItem("quicklinks");if(!o)return[];const n=JSON.parse(o);return Array.isArray(n)?n:[]}catch(o){return console.warn("Failed to parse quicklinks from localStorage. Resetting to []",o),[]}},uy=k.memo(()=>{const[o,n]=k.useState(tv()),[u,l]=k.useState(0),d=k.useRef(null),c=k.useCallback(_=>{if(!_)return;const g=localStorage.getItem("zoomQuicklinks")||100;for(const b of _.getElementsByTagName("span"))b.style.fontSize=`${14*Number(g/100)}px`;if(localStorage.getItem("quickLinksStyle")!=="text")for(const b of _.getElementsByTagName("img"))b.style.height=`${30*Number(g/100)}px`},[]);k.useEffect(()=>{const _=g=>{if(g==="quicklinks"){if(localStorage.getItem("quicklinksenabled")==="false"){d.current&&(d.current.style.display="none");return}d.current&&(d.current.style.display="flex"),n(tv()),l(Date.now())}};return ve.on("refresh",_),c(d.current),()=>{ve.off("refresh",_)}},[c]),k.useEffect(()=>{c(d.current)},[o,u,c]);let f,p=null;localStorage.getItem("quicklinksnewtab")==="true"&&(f="_blank",p="noopener noreferrer");const h=localStorage.getItem("quicklinkstooltip"),y=(_,g)=>{if(localStorage.getItem("quickLinksStyle")==="text")return w.jsx("a",{className:"quicklinkstext",href:_.url,target:f,rel:p,draggable:!1,children:_.name},`quicklink-${_.key}-${g}`);const b=_.icon||ly(_.url,_.name);if(localStorage.getItem("quickLinksStyle")==="metro")return w.jsxs("a",{className:"quickLinksMetro",href:_.url,target:f,rel:p,draggable:!1,children:[w.jsx("img",{src:b,alt:_.name,draggable:!1}),w.jsx("span",{className:"subtitle",children:_.name})]},`quicklink-${_.key}-${g}`);const S=w.jsx("a",{href:_.url,target:f,rel:p,draggable:!1,children:w.jsx("img",{src:b,alt:_.name,draggable:!1})},`quicklink-${_.key}-${g}`);return h==="true"?w.jsx(ht,{title:_.name,placement:"bottom",children:S},`quicklink-${_.key}-${g}`):S};return w.jsx("div",{className:"quicklinkscontainer",ref:d,children:o&&o.map((_,g)=>y(_,g))})});uy.displayName="QuickLinks";const r2=()=>{const[o,n]=k.useState(""),[u,l]=k.useState(null),[d,c]=k.useState("block"),[f,p]=k.useState("1em"),h=k.useRef(),y=g=>{const b=new Date(g.valueOf()),S=(b.getDay()+6)%7;b.setDate(b.getDate()-S+3);const C=b.valueOf();b.setMonth(0,1),b.getDay()!==4&&b.setMonth(0,1+(4-b.getDay()+7)%7),l(`${pe.getMessage("widgets.date.week")} ${1+Math.ceil((C-b)/6048e5)}`)},_=()=>{let g=new Date;const b=localStorage.getItem("timezone");if(b&&b!=="auto"&&(g=qm(g,b)),localStorage.getItem("weeknumber")==="true"?y(g):l(null),localStorage.getItem("dateType")==="short"){const S=g.getDate(),C=g.getMonth()+1,x=g.getFullYear(),A=localStorage.getItem("datezero")==="true";let j=A?("00"+S).slice(-2):S,z=A?("00"+C).slice(-2):C,L=x;switch(localStorage.getItem("dateFormat")){case"MDY":{const[Z,H]=[j,z];j=H,z=Z;break}case"YMD":{const Z=j;j=L,L=Z;break}}let G;switch(localStorage.getItem("shortFormat")){case"dots":G=`${j}.${z}.${L}`;break;case"dash":G=`${j}-${z}-${L}`;break;case"gaps":G=`${j} - ${z} - ${L}`;break;case"slashes":G=`${j}/${z}/${L}`;break}n(G)}else{const S=pe.languagecode.split("_")[0],C=localStorage.getItem("datenth")==="true"?Vb(g.getDate()):g.getDate(),x=localStorage.getItem("dayofweek")==="true"?g.toLocaleDateString(S,{weekday:"long"}):"",A=g.toLocaleDateString(S,{month:"long"}),j=g.getFullYear();let z;switch(localStorage.getItem("longFormat")){case"MDY":z=`${A} ${C}, ${j}${x?`, ${x}`:""}`;break;case"YMD":z=`${j} ${A} ${C}${x?`, ${x}`:""}`;break;default:z=`${C} ${A} ${j}${x?`, ${x}`:""}`;break}n(z)}};return k.useEffect(()=>{const g=S=>{if(S==="date"||S==="timezone"){if(localStorage.getItem("date")==="false"){c("none");return}c("block"),p(`${Number((localStorage.getItem("zoomDate")||100)/100)}em`),_()}};p(`${Number((localStorage.getItem("zoomDate")||100)/100)}em`),_();const b=setInterval(_,6e4);return ve.on("refresh",g),()=>{clearInterval(b),ve.off("refresh",g)}},[]),w.jsxs("span",{className:"date",ref:h,style:{display:d,fontSize:f},children:[o,w.jsx("br",{}),u]})},av=()=>{try{const o=JSON.parse(localStorage.getItem("messages"));return Array.isArray(o)?o.filter(n=>typeof n=="string"&&n!==""):[]}catch{return[]}},l2=()=>{const[o,n]=k.useState(""),[u,l]=k.useState("none"),[d,c]=k.useState("1em"),f=k.useRef();return k.useEffect(()=>{const p=y=>{if(y==="message"){const _=av();n(S=>_.includes(S)?S:_.length>0?_[Math.floor(Math.random()*_.length)]:"");const g=localStorage.getItem("message"),b=localStorage.getItem("zoomMessage");l(g==="false"||_.length===0?"none":"block"),c(`${1*Number((b||100)/100)}em`)}},h=av();return h.length>0&&(n(h[Math.floor(Math.random()*h.length)]),l("block")),ve.on("refresh",p),()=>{ve.off("refresh",p)}},[]),w.jsx("h2",{className:"message",ref:f,style:{display:u,fontSize:d},children:o.split(/\r?\n/).map(p=>w.jsxs("span",{children:[p,w.jsx("br",{})]},p))})};function Nn(){const o=document.querySelector(".reminder-info");o&&(o.style.display="flex"),localStorage.setItem("showReminder",!0)}const u2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)||o.default),l=k.useRef(null),d=k.useCallback(p=>{let h=p.target.value;if(h=Number(h),h>o.max&&(h=o.max),h<o.min&&(h=o.min),localStorage.setItem(o.name,h),u(h),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)},[o]),c=k.useCallback(()=>{l.current&&cancelAnimationFrame(l.current);const p=Number(n),h=Number(o.default||0),y=300,_=performance.now(),g=b=>{const S=b-_,C=Math.min(S/y,1),x=1-Math.pow(1-C,3),A=p+(h-p)*x,j=Math.round(A/(Number(o.step)||1))*(Number(o.step)||1);localStorage.setItem(o.name,j),u(j),C<1?l.current=requestAnimationFrame(g):(localStorage.setItem(o.name,h),u(h),ve.emit("refresh",o.category))};l.current=requestAnimationFrame(g),De(pe.getMessage("toasts.reset"))},[n,o]),f=(Number(n)-Number(o.min))/(Number(o.max)-Number(o.min))*100;return w.jsxs("div",{className:"slider-container",children:[w.jsxs("div",{className:"slider-header",children:[w.jsx("span",{className:"slider-value",children:Number(n)}),w.jsxs("span",{className:"slider-reset",onClick:c,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsxs("div",{className:"slider-wrapper",children:[w.jsx("input",{type:"range",className:"slider-input",value:Number(n),onChange:d,min:Number(o.min),max:Number(o.max),step:Number(o.step)||1,style:{"--slider-percentage":`${f}%`},"aria-label":o.title,"aria-valuemin":Number(o.min),"aria-valuemax":Number(o.max),"aria-valuenow":Number(n),disabled:o.disabled||!1}),o.marks&&o.marks.length>0&&w.jsx("div",{className:"slider-marks",children:o.marks.map(p=>w.jsx("span",{className:"slider-mark",style:{left:`${(p.value-Number(o.min))/(Number(o.max)-Number(o.min))*100}%`},children:p.label},p.value))})]})]})});u2.displayName="SliderComponent";const d2=({children:o})=>w.jsx("div",{id:"widgets",children:o}),ov=()=>{try{const o=JSON.parse(localStorage.getItem("order"));return Array.isArray(o)?o:[]}catch{return[]}},Mi=o=>localStorage.getItem(o)==="true",c2=()=>{const[o,n]=k.useState(ov),u=k.useMemo(()=>({time:Mi("time")&&w.jsx(BC,{}),greeting:Mi("greeting")&&w.jsx(IC,{}),date:Mi("date")&&w.jsx(r2,{}),quicklinks:Mi("quicklinksenabled")?w.jsx(uy,{}):null,message:Mi("message")&&w.jsx(l2,{})}),[o]);return k.useEffect(()=>{const l=d=>{d==="widgets"&&n(ov())};return ve.on("refresh",l),()=>{ve.off("refresh",l)}},[]),w.jsxs(d2,{children:[o.map((l,d)=>w.jsx(k.Fragment,{children:u[l]},d)),Mi("taskBox")&&w.jsx($C,{}),Mi("recentChats")&&w.jsx(tx,{})]})};var xl={exports:{}},Vo={},nm={exports:{}},sm,iv;function m2(){if(iv)return sm;iv=1;var o="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return sm=o,sm}var rm,nv;function p2(){if(nv)return rm;nv=1;var o=m2();function n(){}function u(){}return u.resetWarningCache=n,rm=function(){function l(f,p,h,y,_,g){if(g!==o){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}}l.isRequired=l;function d(){return l}var c={array:l,bigint:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:d,element:l,elementType:l,instanceOf:d,node:l,objectOf:d,oneOf:d,oneOfType:d,shape:d,exact:d,checkPropTypes:u,resetWarningCache:n};return c.PropTypes=c,c},rm}var sv;function dy(){return sv||(sv=1,nm.exports=p2()()),nm.exports}var zl={exports:{}},ba={},Tl={exports:{}},rv;function cy(){return rv||(rv=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=_;var u="none",l="contents",d=/^(input|select|textarea|button|object|iframe)$/;function c(g,b){return b.getPropertyValue("overflow")!=="visible"||g.scrollWidth<=0&&g.scrollHeight<=0}function f(g){var b=g.offsetWidth<=0&&g.offsetHeight<=0;if(b&&!g.innerHTML)return!0;try{var S=window.getComputedStyle(g),C=S.getPropertyValue("display");return b?C!==l&&c(g,S):C===u}catch{return console.warn("Failed to inspect element style"),!1}}function p(g){for(var b=g,S=g.getRootNode&&g.getRootNode();b&&b!==document.body;){if(S&&b===S&&(b=S.host.parentNode),f(b))return!1;b=b.parentNode}return!0}function h(g,b){var S=g.nodeName.toLowerCase(),C=d.test(S)&&!g.disabled||S==="a"&&g.href||b;return C&&p(g)}function y(g){var b=g.getAttribute("tabindex");b===null&&(b=void 0);var S=isNaN(b);return(S||b>=0)&&h(g,!S)}function _(g){var b=[].slice.call(g.querySelectorAll("*"),0).reduce(function(S,C){return S.concat(C.shadowRoot?_(C.shadowRoot):[C])},[]);return b.filter(y)}o.exports=n.default})(Tl,Tl.exports)),Tl.exports}var lv;function f2(){if(lv)return ba;lv=1,Object.defineProperty(ba,"__esModule",{value:!0}),ba.resetState=f,ba.log=p,ba.handleBlur=h,ba.handleFocus=y,ba.markForFocusLater=_,ba.returnFocus=g,ba.popWithoutFocus=b,ba.setupScopedFocus=S,ba.teardownScopedFocus=C;var o=cy(),n=u(o);function u(x){return x&&x.__esModule?x:{default:x}}var l=[],d=null,c=!1;function f(){l=[]}function p(){}function h(){c=!0}function y(){if(c){if(c=!1,!d)return;setTimeout(function(){if(!d.contains(document.activeElement)){var x=(0,n.default)(d)[0]||d;x.focus()}},0)}}function _(){l.push(document.activeElement)}function g(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,A=null;try{l.length!==0&&(A=l.pop(),A.focus({preventScroll:x}));return}catch{console.warn(["You tried to return focus to",A,"but it is not in the DOM anymore"].join(" "))}}function b(){l.length>0&&l.pop()}function S(x){d=x,window.addEventListener?(window.addEventListener("blur",h,!1),document.addEventListener("focus",y,!0)):(window.attachEvent("onBlur",h),document.attachEvent("onFocus",y))}function C(){d=null,window.addEventListener?(window.removeEventListener("blur",h),document.removeEventListener("focus",y)):(window.detachEvent("onBlur",h),document.detachEvent("onFocus",y))}return ba}var Nl={exports:{}},uv;function g2(){return uv||(uv=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var u=cy(),l=d(u);function d(p){return p&&p.__esModule?p:{default:p}}function c(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return p.activeElement.shadowRoot?c(p.activeElement.shadowRoot):p.activeElement}function f(p,h){var y=(0,l.default)(p);if(!y.length){h.preventDefault();return}var _=void 0,g=h.shiftKey,b=y[0],S=y[y.length-1],C=c();if(p===C){if(!g)return;_=S}if(S===C&&!g&&(_=b),b===C&&g&&(_=S),_){h.preventDefault(),_.focus();return}var x=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),A=x!=null&&x[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(A){var j=y.indexOf(C);if(j>-1&&(j+=g?-1:1),_=y[j],typeof _>"u"){h.preventDefault(),_=g?S:b,_.focus();return}h.preventDefault(),_.focus()}}o.exports=n.default})(Nl,Nl.exports)),Nl.exports}var Ea={},lm,dv;function h2(){if(dv)return lm;dv=1;var o=function(){};return lm=o,lm}var Ya={},um={exports:{}};var cv;function _2(){return cv||(cv=1,(function(o){(function(){var n=!!(typeof window<"u"&&window.document&&window.document.createElement),u={canUseDOM:n,canUseWorkers:typeof Worker<"u",canUseEventListeners:n&&!!(window.addEventListener||window.attachEvent),canUseViewport:n&&!!window.screen};o.exports?o.exports=u:window.ExecutionEnvironment=u})()})(um)),um.exports}var mv;function Lm(){if(mv)return Ya;mv=1,Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.canUseDOM=Ya.SafeNodeList=Ya.SafeHTMLCollection=void 0;var o=_2(),n=u(o);function u(c){return c&&c.__esModule?c:{default:c}}var l=n.default,d=l.canUseDOM?window.HTMLElement:{};return Ya.SafeHTMLCollection=l.canUseDOM?window.HTMLCollection:{},Ya.SafeNodeList=l.canUseDOM?window.NodeList:{},Ya.canUseDOM=l.canUseDOM,Ya.default=d,Ya}var pv;function my(){if(pv)return Ea;pv=1,Object.defineProperty(Ea,"__esModule",{value:!0}),Ea.resetState=c,Ea.log=f,Ea.assertNodeList=p,Ea.setElement=h,Ea.validateElement=y,Ea.hide=_,Ea.show=g,Ea.documentNotReadyOrSSRTesting=b;var o=h2(),n=l(o),u=Lm();function l(S){return S&&S.__esModule?S:{default:S}}var d=null;function c(){d&&(d.removeAttribute?d.removeAttribute("aria-hidden"):d.length!=null?d.forEach(function(S){return S.removeAttribute("aria-hidden")}):document.querySelectorAll(d).forEach(function(S){return S.removeAttribute("aria-hidden")})),d=null}function f(){}function p(S,C){if(!S||!S.length)throw new Error("react-modal: No elements were found for selector "+C+".")}function h(S){var C=S;if(typeof C=="string"&&u.canUseDOM){var x=document.querySelectorAll(C);p(x,C),C=x}return d=C||d,d}function y(S){var C=S||d;return C?Array.isArray(C)||C instanceof HTMLCollection||C instanceof NodeList?C:[C]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function _(S){var C=!0,x=!1,A=void 0;try{for(var j=y(S)[Symbol.iterator](),z;!(C=(z=j.next()).done);C=!0){var L=z.value;L.setAttribute("aria-hidden","true")}}catch(G){x=!0,A=G}finally{try{!C&&j.return&&j.return()}finally{if(x)throw A}}}function g(S){var C=!0,x=!1,A=void 0;try{for(var j=y(S)[Symbol.iterator](),z;!(C=(z=j.next()).done);C=!0){var L=z.value;L.removeAttribute("aria-hidden")}}catch(G){x=!0,A=G}finally{try{!C&&j.return&&j.return()}finally{if(x)throw A}}}function b(){d=null}return Ea}var Ai={},fv;function v2(){if(fv)return Ai;fv=1,Object.defineProperty(Ai,"__esModule",{value:!0}),Ai.resetState=l,Ai.log=d;var o={},n={};function u(y,_){y.classList.remove(_)}function l(){var y=document.getElementsByTagName("html")[0];for(var _ in o)u(y,o[_]);var g=document.body;for(var b in n)u(g,n[b]);o={},n={}}function d(){}var c=function(_,g){return _[g]||(_[g]=0),_[g]+=1,g},f=function(_,g){return _[g]&&(_[g]-=1),g},p=function(_,g,b){b.forEach(function(S){c(g,S),_.add(S)})},h=function(_,g,b){b.forEach(function(S){f(g,S),g[S]===0&&_.remove(S)})};return Ai.add=function(_,g){return p(_.classList,_.nodeName.toLowerCase()=="html"?o:n,g.split(" "))},Ai.remove=function(_,g){return h(_.classList,_.nodeName.toLowerCase()=="html"?o:n,g.split(" "))},Ai}var Sn={},gv;function py(){if(gv)return Sn;gv=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.log=l,Sn.resetState=d;function o(c,f){if(!(c instanceof f))throw new TypeError("Cannot call a class as a function")}var n=function c(){var f=this;o(this,c),this.register=function(p){f.openInstances.indexOf(p)===-1&&(f.openInstances.push(p),f.emit("register"))},this.deregister=function(p){var h=f.openInstances.indexOf(p);h!==-1&&(f.openInstances.splice(h,1),f.emit("deregister"))},this.subscribe=function(p){f.subscribers.push(p)},this.emit=function(p){f.subscribers.forEach(function(h){return h(p,f.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},u=new n;function l(){console.log("portalOpenInstances ----------"),console.log(u.openInstances.length),u.openInstances.forEach(function(c){return console.log(c)}),console.log("end portalOpenInstances ----------")}function d(){u=new n}return Sn.default=u,Sn}var Ns={},hv;function b2(){if(hv)return Ns;hv=1,Object.defineProperty(Ns,"__esModule",{value:!0}),Ns.resetState=f,Ns.log=p;var o=py(),n=u(o);function u(_){return _&&_.__esModule?_:{default:_}}var l=void 0,d=void 0,c=[];function f(){for(var _=[l,d],g=0;g<_.length;g++){var b=_[g];b&&b.parentNode&&b.parentNode.removeChild(b)}l=d=null,c=[]}function p(){console.log("bodyTrap ----------"),console.log(c.length);for(var _=[l,d],g=0;g<_.length;g++){var b=_[g],S=b||{};console.log(S.nodeName,S.className,S.id)}console.log("edn bodyTrap ----------")}function h(){c.length!==0&&c[c.length-1].focusContent()}function y(_,g){!l&&!d&&(l=document.createElement("div"),l.setAttribute("data-react-modal-body-trap",""),l.style.position="absolute",l.style.opacity="0",l.setAttribute("tabindex","0"),l.addEventListener("focus",h),d=l.cloneNode(),d.addEventListener("focus",h)),c=g,c.length>0?(document.body.firstChild!==l&&document.body.insertBefore(l,document.body.firstChild),document.body.lastChild!==d&&document.body.appendChild(d)):(l.parentElement&&l.parentElement.removeChild(l),d.parentElement&&d.parentElement.removeChild(d))}return n.default.subscribe(y),Ns}var _v;function y2(){return _v||(_v=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0});var u=Object.assign||function(X){for(var Y=1;Y<arguments.length;Y++){var I=arguments[Y];for(var T in I)Object.prototype.hasOwnProperty.call(I,T)&&(X[T]=I[T])}return X},l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},d=(function(){function X(Y,I){for(var T=0;T<I.length;T++){var K=I[T];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(Y,K.key,K)}}return function(Y,I,T){return I&&X(Y.prototype,I),T&&X(Y,T),Y}})(),c=Ws(),f=dy(),p=Z(f),h=f2(),y=G(h),_=g2(),g=Z(_),b=my(),S=G(b),C=v2(),x=G(C),A=Lm(),j=Z(A),z=py(),L=Z(z);b2();function G(X){if(X&&X.__esModule)return X;var Y={};if(X!=null)for(var I in X)Object.prototype.hasOwnProperty.call(X,I)&&(Y[I]=X[I]);return Y.default=X,Y}function Z(X){return X&&X.__esModule?X:{default:X}}function H(X,Y){if(!(X instanceof Y))throw new TypeError("Cannot call a class as a function")}function D(X,Y){if(!X)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y&&(typeof Y=="object"||typeof Y=="function")?Y:X}function q(X,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);X.prototype=Object.create(Y&&Y.prototype,{constructor:{value:X,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(X,Y):X.__proto__=Y)}var V={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},$=function(Y){return Y.code==="Tab"||Y.keyCode===9},W=function(Y){return Y.code==="Escape"||Y.keyCode===27},ee=0,ae=(function(X){q(Y,X);function Y(I){H(this,Y);var T=D(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this,I));return T.setOverlayRef=function(K){T.overlay=K,T.props.overlayRef&&T.props.overlayRef(K)},T.setContentRef=function(K){T.content=K,T.props.contentRef&&T.props.contentRef(K)},T.afterClose=function(){var K=T.props,ie=K.appElement,ne=K.ariaHideApp,ye=K.htmlOpenClassName,Ce=K.bodyOpenClassName,Ve=K.parentSelector,E=Ve&&Ve().ownerDocument||document;Ce&&x.remove(E.body,Ce),ye&&x.remove(E.getElementsByTagName("html")[0],ye),ne&&ee>0&&(ee-=1,ee===0&&S.show(ie)),T.props.shouldFocusAfterRender&&(T.props.shouldReturnFocusAfterClose?(y.returnFocus(T.props.preventScroll),y.teardownScopedFocus()):y.popWithoutFocus()),T.props.onAfterClose&&T.props.onAfterClose(),L.default.deregister(T)},T.open=function(){T.beforeOpen(),T.state.afterOpen&&T.state.beforeClose?(clearTimeout(T.closeTimer),T.setState({beforeClose:!1})):(T.props.shouldFocusAfterRender&&(y.setupScopedFocus(T.node),y.markForFocusLater()),T.setState({isOpen:!0},function(){T.openAnimationFrame=requestAnimationFrame(function(){T.setState({afterOpen:!0}),T.props.isOpen&&T.props.onAfterOpen&&T.props.onAfterOpen({overlayEl:T.overlay,contentEl:T.content})})}))},T.close=function(){T.props.closeTimeoutMS>0?T.closeWithTimeout():T.closeWithoutTimeout()},T.focusContent=function(){return T.content&&!T.contentHasFocus()&&T.content.focus({preventScroll:!0})},T.closeWithTimeout=function(){var K=Date.now()+T.props.closeTimeoutMS;T.setState({beforeClose:!0,closesAt:K},function(){T.closeTimer=setTimeout(T.closeWithoutTimeout,T.state.closesAt-Date.now())})},T.closeWithoutTimeout=function(){T.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},T.afterClose)},T.handleKeyDown=function(K){$(K)&&(0,g.default)(T.content,K),T.props.shouldCloseOnEsc&&W(K)&&(K.stopPropagation(),T.requestClose(K))},T.handleOverlayOnClick=function(K){T.shouldClose===null&&(T.shouldClose=!0),T.shouldClose&&T.props.shouldCloseOnOverlayClick&&(T.ownerHandlesClose()?T.requestClose(K):T.focusContent()),T.shouldClose=null},T.handleContentOnMouseUp=function(){T.shouldClose=!1},T.handleOverlayOnMouseDown=function(K){!T.props.shouldCloseOnOverlayClick&&K.target==T.overlay&&K.preventDefault()},T.handleContentOnClick=function(){T.shouldClose=!1},T.handleContentOnMouseDown=function(){T.shouldClose=!1},T.requestClose=function(K){return T.ownerHandlesClose()&&T.props.onRequestClose(K)},T.ownerHandlesClose=function(){return T.props.onRequestClose},T.shouldBeClosed=function(){return!T.state.isOpen&&!T.state.beforeClose},T.contentHasFocus=function(){return document.activeElement===T.content||T.content.contains(document.activeElement)},T.buildClassName=function(K,ie){var ne=(typeof ie>"u"?"undefined":l(ie))==="object"?ie:{base:V[K],afterOpen:V[K]+"--after-open",beforeClose:V[K]+"--before-close"},ye=ne.base;return T.state.afterOpen&&(ye=ye+" "+ne.afterOpen),T.state.beforeClose&&(ye=ye+" "+ne.beforeClose),typeof ie=="string"&&ie?ye+" "+ie:ye},T.attributesFromObject=function(K,ie){return Object.keys(ie).reduce(function(ne,ye){return ne[K+"-"+ye]=ie[ye],ne},{})},T.state={afterOpen:!1,beforeClose:!1},T.shouldClose=null,T.moveFromContentToOverlay=null,T}return d(Y,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(T,K){this.props.isOpen&&!T.isOpen?this.open():!this.props.isOpen&&T.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!K.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var T=this.props,K=T.appElement,ie=T.ariaHideApp,ne=T.htmlOpenClassName,ye=T.bodyOpenClassName,Ce=T.parentSelector,Ve=Ce&&Ce().ownerDocument||document;ye&&x.add(Ve.body,ye),ne&&x.add(Ve.getElementsByTagName("html")[0],ne),ie&&(ee+=1,S.hide(K)),L.default.register(this)}},{key:"render",value:function(){var T=this.props,K=T.id,ie=T.className,ne=T.overlayClassName,ye=T.defaultStyles,Ce=T.children,Ve=ie?{}:ye.content,E=ne?{}:ye.overlay;if(this.shouldBeClosed())return null;var te={ref:this.setOverlayRef,className:this.buildClassName("overlay",ne),style:u({},E,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},se=u({id:K,ref:this.setContentRef,style:u({},Ve,this.props.style.content),className:this.buildClassName("content",ie),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",u({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),ce=this.props.contentElement(se,Ce);return this.props.overlayElement(te,ce)}}]),Y})(c.Component);ae.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},ae.propTypes={isOpen:p.default.bool.isRequired,defaultStyles:p.default.shape({content:p.default.object,overlay:p.default.object}),style:p.default.shape({content:p.default.object,overlay:p.default.object}),className:p.default.oneOfType([p.default.string,p.default.object]),overlayClassName:p.default.oneOfType([p.default.string,p.default.object]),parentSelector:p.default.func,bodyOpenClassName:p.default.string,htmlOpenClassName:p.default.string,ariaHideApp:p.default.bool,appElement:p.default.oneOfType([p.default.instanceOf(j.default),p.default.instanceOf(A.SafeHTMLCollection),p.default.instanceOf(A.SafeNodeList),p.default.arrayOf(p.default.instanceOf(j.default))]),onAfterOpen:p.default.func,onAfterClose:p.default.func,onRequestClose:p.default.func,closeTimeoutMS:p.default.number,shouldFocusAfterRender:p.default.bool,shouldCloseOnOverlayClick:p.default.bool,shouldReturnFocusAfterClose:p.default.bool,preventScroll:p.default.bool,role:p.default.string,contentLabel:p.default.string,aria:p.default.object,data:p.default.object,children:p.default.node,shouldCloseOnEsc:p.default.bool,overlayRef:p.default.func,contentRef:p.default.func,id:p.default.string,overlayElement:p.default.func,contentElement:p.default.func,testId:p.default.string},n.default=ae,o.exports=n.default})(zl,zl.exports)),zl.exports}function fy(){var o=this.constructor.getDerivedStateFromProps(this.props,this.state);o!=null&&this.setState(o)}function gy(o){function n(u){var l=this.constructor.getDerivedStateFromProps(o,u);return l??null}this.setState(n.bind(this))}function hy(o,n){try{var u=this.props,l=this.state;this.props=o,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(u,l)}finally{this.props=u,this.state=l}}fy.__suppressDeprecationWarning=!0;gy.__suppressDeprecationWarning=!0;hy.__suppressDeprecationWarning=!0;function k2(o){var n=o.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if(typeof o.getDerivedStateFromProps!="function"&&typeof n.getSnapshotBeforeUpdate!="function")return o;var u=null,l=null,d=null;if(typeof n.componentWillMount=="function"?u="componentWillMount":typeof n.UNSAFE_componentWillMount=="function"&&(u="UNSAFE_componentWillMount"),typeof n.componentWillReceiveProps=="function"?l="componentWillReceiveProps":typeof n.UNSAFE_componentWillReceiveProps=="function"&&(l="UNSAFE_componentWillReceiveProps"),typeof n.componentWillUpdate=="function"?d="componentWillUpdate":typeof n.UNSAFE_componentWillUpdate=="function"&&(d="UNSAFE_componentWillUpdate"),u!==null||l!==null||d!==null){var c=o.displayName||o.name,f=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.`+c+" uses "+f+" but also contains the following legacy lifecycles:"+(u!==null?``+u:"")+(l!==null?`@@ -863,7 +863,7 @@ Note: if you don't like "{category}" images, you can deselect the category in th`+d:"")+`The above lifecycles should be removed. Learn more about this warning here:-https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof o.getDerivedStateFromProps=="function"&&(n.componentWillMount=fy,n.componentWillReceiveProps=gy),typeof n.getSnapshotBeforeUpdate=="function"){if(typeof n.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=hy;var p=n.componentDidUpdate;n.componentDidUpdate=function(y,_,g){var b=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:g;p.call(this,y,_,b)}}return o}const w2=Object.freeze(Object.defineProperty({__proto__:null,polyfill:k2},Symbol.toStringTag,{value:"Module"})),S2=xS(w2);var vv;function M2(){if(vv)return Vo;vv=1,Object.defineProperty(Vo,"__esModule",{value:!0}),Vo.bodyOpenClassName=Vo.portalClassName=void 0;var o=Object.assign||function(W){for(var ee=1;ee<arguments.length;ee++){var ae=arguments[ee];for(var X in ae)Object.prototype.hasOwnProperty.call(ae,X)&&(W[X]=ae[X])}return W},n=(function(){function W(ee,ae){for(var X=0;X<ae.length;X++){var Y=ae[X];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(ee,Y.key,Y)}}return function(ee,ae,X){return ae&&W(ee.prototype,ae),X&&W(ee,X),ee}})(),u=Ws(),l=A(u),d=Tm(),c=A(d),f=dy(),p=A(f),h=y2(),y=A(h),_=my(),g=x(_),b=Lm(),S=A(b),C=S2;function x(W){if(W&&W.__esModule)return W;var ee={};if(W!=null)for(var ae in W)Object.prototype.hasOwnProperty.call(W,ae)&&(ee[ae]=W[ae]);return ee.default=W,ee}function A(W){return W&&W.__esModule?W:{default:W}}function j(W,ee){if(!(W instanceof ee))throw new TypeError("Cannot call a class as a function")}function z(W,ee){if(!W)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee&&(typeof ee=="object"||typeof ee=="function")?ee:W}function L(W,ee){if(typeof ee!="function"&&ee!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ee);W.prototype=Object.create(ee&&ee.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),ee&&(Object.setPrototypeOf?Object.setPrototypeOf(W,ee):W.__proto__=ee)}var G=Vo.portalClassName="ReactModalPortal",Z=Vo.bodyOpenClassName="ReactModal__Body--open",H=b.canUseDOM&&c.default.createPortal!==void 0,D=function(ee){return document.createElement(ee)},q=function(){return H?c.default.createPortal:c.default.unstable_renderSubtreeIntoContainer};function V(W){return W()}var $=(function(W){L(ee,W);function ee(){var ae,X,Y,I;j(this,ee);for(var T=arguments.length,K=Array(T),ie=0;ie<T;ie++)K[ie]=arguments[ie];return I=(X=(Y=z(this,(ae=ee.__proto__||Object.getPrototypeOf(ee)).call.apply(ae,[this].concat(K))),Y),Y.removePortal=function(){!H&&c.default.unmountComponentAtNode(Y.node);var ne=V(Y.props.parentSelector);ne&&ne.contains(Y.node)?ne.removeChild(Y.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},Y.portalRef=function(ne){Y.portal=ne},Y.renderPortal=function(ne){var ye=q(),Ce=ye(Y,l.default.createElement(y.default,o({defaultStyles:ee.defaultStyles},ne)),Y.node);Y.portalRef(Ce)},X),z(Y,I)}return n(ee,[{key:"componentDidMount",value:function(){if(b.canUseDOM){H||(this.node=D("div")),this.node.className=this.props.portalClassName;var X=V(this.props.parentSelector);X.appendChild(this.node),!H&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(X){var Y=V(X.parentSelector),I=V(this.props.parentSelector);return{prevParent:Y,nextParent:I}}},{key:"componentDidUpdate",value:function(X,Y,I){if(b.canUseDOM){var T=this.props,K=T.isOpen,ie=T.portalClassName;X.portalClassName!==ie&&(this.node.className=ie);var ne=I.prevParent,ye=I.nextParent;ye!==ne&&(ne.removeChild(this.node),ye.appendChild(this.node)),!(!X.isOpen&&!K)&&!H&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!b.canUseDOM||!this.node||!this.portal)){var X=this.portal.state,Y=Date.now(),I=X.isOpen&&this.props.closeTimeoutMS&&(X.closesAt||Y+this.props.closeTimeoutMS);I?(X.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,I-Y)):this.removePortal()}}},{key:"render",value:function(){if(!b.canUseDOM||!H)return null;!this.node&&H&&(this.node=D("div"));var X=q();return X(l.default.createElement(y.default,o({ref:this.portalRef,defaultStyles:ee.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(X){g.setElement(X)}}]),ee})(u.Component);return $.propTypes={isOpen:p.default.bool.isRequired,style:p.default.shape({content:p.default.object,overlay:p.default.object}),portalClassName:p.default.string,bodyOpenClassName:p.default.string,htmlOpenClassName:p.default.string,className:p.default.oneOfType([p.default.string,p.default.shape({base:p.default.string.isRequired,afterOpen:p.default.string.isRequired,beforeClose:p.default.string.isRequired})]),overlayClassName:p.default.oneOfType([p.default.string,p.default.shape({base:p.default.string.isRequired,afterOpen:p.default.string.isRequired,beforeClose:p.default.string.isRequired})]),appElement:p.default.oneOfType([p.default.instanceOf(S.default),p.default.instanceOf(b.SafeHTMLCollection),p.default.instanceOf(b.SafeNodeList),p.default.arrayOf(p.default.instanceOf(S.default))]),onAfterOpen:p.default.func,onRequestClose:p.default.func,closeTimeoutMS:p.default.number,ariaHideApp:p.default.bool,shouldFocusAfterRender:p.default.bool,shouldCloseOnOverlayClick:p.default.bool,shouldReturnFocusAfterClose:p.default.bool,preventScroll:p.default.bool,parentSelector:p.default.func,aria:p.default.object,data:p.default.object,role:p.default.string,contentLabel:p.default.string,shouldCloseOnEsc:p.default.bool,overlayRef:p.default.func,contentRef:p.default.func,id:p.default.string,overlayElement:p.default.func,contentElement:p.default.func},$.defaultProps={isOpen:!1,portalClassName:G,bodyOpenClassName:Z,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(ee,ae){return l.default.createElement("div",ee,ae)},contentElement:function(ee,ae){return l.default.createElement("div",ee,ae)}},$.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,C.polyfill)($),Vo.default=$,Vo}var bv;function A2(){return bv||(bv=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0});var u=M2(),l=d(u);function d(c){return c&&c.__esModule?c:{default:c}}n.default=l.default,o.exports=n.default})(xl,xl.exports)),xl.exports}var C2=A2();const x2=zm(C2),z2=({appsRef:o,floatRef:n,position:u,xPosition:l,yPosition:d})=>{const[c,f]=k.useState(JSON.parse(localStorage.getItem("applinks"))),[p,h]=k.useState(localStorage.getItem("appsPinned")==="true"?"visible":"hidden"),[y,_]=k.useState(localStorage.getItem("refresh")==="false"?"-200px":"-130px"),[g,b]=k.useState(localStorage.getItem("appsPinned")==="true"),[S,C]=k.useState("1.2rem"),x=()=>{C(Number((localStorage.getItem("zoomNavbar")||100)/100*1.2)+"rem")};k.useEffect(()=>{const L=G=>{if(G==="navbar"){f(JSON.parse(localStorage.getItem("applinks")));try{x()}catch{}}};return x(),ve.on("refresh",L),()=>{ve.off("refresh",L)}},[]);const A=()=>{b(!0)},j=()=>{b(localStorage.getItem("AppsPinned")==="true")},z=c;return w.jsxs("div",{className:"notes",onMouseLeave:j,onFocus:A,children:[w.jsx("button",{className:"navbarButton",onMouseEnter:A,onFocus:A,onBlur:j,ref:o,style:{fontSize:S},children:w.jsx(q_,{className:"topicons"})}),g&&w.jsxs("span",{className:"notesContainer",ref:n,style:{position:u,top:d??"44px",left:l??""},children:[w.jsx("div",{className:"flexTodo",children:w.jsxs("div",{className:"topBarNotes",style:{display:"flex"},children:[w.jsx(q_,{}),w.jsx("span",{children:pe.getMessage("widgets.navbar.apps.title")})]})}),z.length>0?w.jsx("div",{className:"appsShortcutContainer",children:z.map((L,G)=>w.jsx(ht,{title:L.name.split(" ")[0],subtitle:L.name.split(" ").slice(1).join(" "),children:w.jsxs("a",{href:L.url,className:"appsIcon",children:[w.jsx("img",{src:L.icon===""?ly(L.url,L.name):L.icon,width:"40px",height:"40px",alt:"Google"}),w.jsx("span",{children:L.name})]})},G))}):w.jsx("div",{className:"todosEmpty",children:w.jsxs("div",{className:"emptyNewMessage",children:[w.jsx(qb,{}),w.jsx("span",{className:"title",children:pe.language.getMessage(pe.languagecode,"widgets.navbar.apps.no_apps")})]})})]})]})};function T2(){const[o,n]=k.useState(null),{x:u,y:l,refs:d,strategy:c}=cu({placement:"bottom",middleware:[mu()],elements:{reference:o}});return w.jsx(z2,{appsRef:n,floatRef:d.setFloating,position:c,xPosition:u,yPosition:l})}const N2=k.memo(T2),E2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)==="true"),l=k.useCallback(()=>{const c=!n;if(localStorage.setItem(o.name,c),u(c),o.onChange&&o.onChange(c),pe.stats.postEvent("setting",`${o.name} ${c?"enabled":"disabled"}`),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)},[n,o]),d=k.useCallback(c=>{(c.key===" "||c.key==="Enter")&&!o.disabled&&(c.preventDefault(),l())},[l,o.disabled]);return w.jsxs("div",{className:`checkbox-wrapper ${o.disabled?"disabled":""}`,children:[w.jsx("span",{className:"checkbox-label",children:o.text}),w.jsx("input",{type:"checkbox",name:o.name,checked:n,onChange:l,disabled:o.disabled||!1,className:"checkbox-input","aria-label":o.text,onKeyDown:d}),w.jsx("div",{className:`checkbox-box ${n?"checked":""}`,children:n&&w.jsx(Nm,{})})]})});E2.displayName="Checkbox";function j2({label:o,options:n,onChange:u}){let l=(localStorage.getItem("apiCategories")||"").split(",");l[0]===""&&(l=[]);const[d,c]=k.useState(l),[f,p]=k.useState(!1),h=k.useRef(null);k.useEffect(()=>{const g=b=>{h.current&&!h.current.contains(b.target)&&p(!1)};return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[]);const y=g=>{let b;d.includes(g)?b=d.filter(S=>S!==g):b=[...d,g],c(b),localStorage.setItem("apiCategories",b.join(",")),u&&u(b)},_=(g,b)=>{g.stopPropagation(),y(b)};return w.jsxs("div",{className:"chipSelect",ref:h,children:[o&&w.jsx("label",{className:"chipSelect-label",children:o}),w.jsxs("div",{className:"chipSelect-control",onClick:()=>p(!f),children:[w.jsx("div",{className:"chipSelect-value",children:d.length===0?w.jsx("span",{className:"chipSelect-placeholder",children:"Select options..."}):w.jsx("div",{className:"chipSelect-chips",children:d.map(g=>w.jsxs("span",{className:"chipSelect-chip",children:[g.charAt(0).toUpperCase()+g.slice(1),w.jsx("button",{type:"button",className:"chipSelect-chip-remove",onClick:b=>_(b,g),children:w.jsx(Is,{})})]},g))})}),w.jsx(Eb,{className:`chipSelect-arrow ${f?"open":""}`})]}),f&&w.jsx("div",{className:"chipSelect-dropdown",children:n.map(g=>w.jsxs("div",{className:`chipSelect-option ${d.includes(g.name)?"selected":""}`,onClick:()=>y(g.name),children:[w.jsx("span",{className:"chipSelect-option-checkbox",children:d.includes(g.name)&&"✓"}),w.jsxs("span",{className:"chipSelect-option-label",children:[g.name.charAt(0).toUpperCase()+g.name.slice(1),g.count&&` (${g.count})`]})]},g.name))})]})}k.memo(j2);const D2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)||o.items[0]?.value),[l,d]=k.useState(!1),[c,f]=k.useState(-1),p=k.useRef(null),h=k.useRef([]);k.useEffect(()=>{const A=j=>{p.current&&!p.current.contains(j.target)&&(d(!1),f(-1))};return document.addEventListener("mousedown",A),()=>document.removeEventListener("mousedown",A)},[]);const y=k.useCallback(A=>{if(A!==pe.getMessage("modals.main.loading")){if(pe.stats.postEvent("setting",`${o.name} from ${n} to ${A}`),u(A),d(!1),f(-1),o.noSetting||(localStorage.setItem(o.name,A),localStorage.setItem(o.name2,o.value2)),o.onChange&&o.onChange(A),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)}},[n,o]),_=k.useCallback(A=>{if(!o.disabled)switch(A.key){case"Enter":case" ":A.preventDefault(),d(!l);break;case"Escape":d(!1),f(-1);break;case"ArrowDown":A.preventDefault(),l?f(j=>j<o.items.filter(z=>z!==null).length-1?j+1:j):d(!0);break;case"ArrowUp":A.preventDefault(),l&&f(j=>j>0?j-1:j);break}},[l,o.items,o.disabled]),g=k.useCallback((A,j)=>{(A.key==="Enter"||A.key===" ")&&(A.preventDefault(),y(j.value))},[y]),b=k.useCallback(()=>{const A=o.default||o.items[0]?.value;y(A),De(pe.getMessage("toasts.reset"))},[y,o.default,o.items]),S="dropdown"+o.name,C=o.label||"",x=o.items.find(A=>A?.value===n);return w.jsxs("div",{className:`dropdown ${S} ${o.disabled?"disabled":""}`,ref:p,children:[C&&w.jsxs("div",{className:"dropdown-header",children:[w.jsx("label",{className:"dropdown-label",children:C}),w.jsxs("span",{className:"dropdown-reset",onClick:b,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsxs("div",{className:"dropdown-control",onClick:()=>!o.disabled&&d(!l),onKeyDown:_,role:"button","aria-haspopup":"listbox","aria-expanded":l,"aria-label":C||o.name,tabIndex:o.disabled?-1:0,children:[w.jsx("span",{className:"dropdown-value",children:x?.text||n}),w.jsx(Eb,{className:`dropdown-arrow ${l?"open":""}`})]}),l&&w.jsx("div",{className:"dropdown-menu",role:"listbox",children:o.items.map((A,j)=>A!==null?w.jsxs("div",{ref:z=>h.current[j]=z,className:`dropdown-option ${n===A.value?"selected":""} ${j===c?"focused":""}`,onClick:()=>y(A.value),onKeyDown:z=>g(z,A),role:"option","aria-selected":n===A.value,tabIndex:0,children:[w.jsx("span",{className:"dropdown-option-text",children:A.text}),n===A.value&&w.jsx(Nm,{className:"dropdown-option-check"})]},S+A.value):null)})]})});D2.displayName="Dropdown";var Rl={exports:{}},O2=Rl.exports,yv;function q2(){return yv||(yv=1,(function(o,n){(function(u,l){o.exports=l()})(O2,(function(){return(function(u){var l={};function d(c){if(l[c])return l[c].exports;var f=l[c]={i:c,l:!1,exports:{}};return u[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}return d.m=u,d.c=l,d.d=function(c,f,p){d.o(c,f)||Object.defineProperty(c,f,{enumerable:!0,get:p})},d.r=function(c){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},d.t=function(c,f){if(1&f&&(c=d(c)),8&f||4&f&&typeof c=="object"&&c&&c.__esModule)return c;var p=Object.create(null);if(d.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:c}),2&f&&typeof c!="string")for(var h in c)d.d(p,h,function(y){return c[y]}.bind(null,h));return p},d.n=function(c){var f=c&&c.__esModule?function(){return c.default}:function(){return c};return d.d(f,"a",f),f},d.o=function(c,f){return Object.prototype.hasOwnProperty.call(c,f)},d.p="",d(d.s=0)})([function(u,l,d){var c;function f(H){return["image/png","image/jpeg","image/gif"].some(D=>D===H)}d.r(l),d.d(l,"canvastoDataURL",(function(){return h})),d.d(l,"canvastoFile",(function(){return y})),d.d(l,"dataURLtoFile",(function(){return g})),d.d(l,"dataURLtoImage",(function(){return b})),d.d(l,"downloadFile",(function(){return S})),d.d(l,"filetoDataURL",(function(){return C})),d.d(l,"imagetoCanvas",(function(){return A})),d.d(l,"urltoBlob",(function(){return j})),d.d(l,"urltoImage",(function(){return z})),d.d(l,"compress",(function(){return G})),d.d(l,"compressAccurately",(function(){return Z})),d.d(l,"EImageType",(function(){return c})),(function(H){H.PNG="image/png",H.JPEG="image/jpeg",H.GIF="image/gif"})(c||(c={}));var p=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function h(H,D=.92,q=c.JPEG){return p(this,void 0,void 0,(function*(){return f(q)||(q=c.JPEG),H.toDataURL(q,D)}))}function y(H,D=.92,q=c.JPEG){return new Promise(V=>H.toBlob($=>V($),q,D))}var _=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function g(H,D){return _(this,void 0,void 0,(function*(){const q=H.split(",");let V=q[0].match(/:(.*?);/)[1];const $=atob(q[1]);let W=$.length;const ee=new Uint8Array(W);for(;W--;)ee[W]=$.charCodeAt(W);return f(D)&&(V=D),new Blob([ee],{type:V})}))}function b(H){return new Promise((D,q)=>{const V=new Image;V.onload=()=>D(V),V.onerror=()=>q(new Error("dataURLtoImage(): dataURL is illegal")),V.src=H})}function S(H,D){const q=document.createElement("a");q.href=window.URL.createObjectURL(H),q.download=D||Date.now().toString(36),document.body.appendChild(q);const V=document.createEvent("MouseEvents");V.initEvent("click",!1,!1),q.dispatchEvent(V),document.body.removeChild(q)}function C(H){return new Promise(D=>{const q=new FileReader;q.onloadend=V=>D(V.target.result),q.readAsDataURL(H)})}var x=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function A(H,D={}){return x(this,void 0,void 0,(function*(){const q=Object.assign({},D),V=document.createElement("canvas"),$=V.getContext("2d");let W,ee;for(const ae in q)Object.prototype.hasOwnProperty.call(q,ae)&&(q[ae]=Number(q[ae]));if(q.scale){const ae=q.scale>0&&q.scale<10?q.scale:1;ee=H.width*ae,W=H.height*ae}else ee=q.width||q.height*H.width/H.height||H.width,W=q.height||q.width*H.height/H.width||H.height;switch([5,6,7,8].some(ae=>ae===q.orientation)?(V.height=ee,V.width=W):(V.height=W,V.width=ee),q.orientation){case 3:$.rotate(180*Math.PI/180),$.drawImage(H,-V.width,-V.height,V.width,V.height);break;case 6:$.rotate(90*Math.PI/180),$.drawImage(H,0,-V.width,V.height,V.width);break;case 8:$.rotate(270*Math.PI/180),$.drawImage(H,-V.height,0,V.height,V.width);break;case 2:$.translate(V.width,0),$.scale(-1,1),$.drawImage(H,0,0,V.width,V.height);break;case 4:$.translate(V.width,0),$.scale(-1,1),$.rotate(180*Math.PI/180),$.drawImage(H,-V.width,-V.height,V.width,V.height);break;case 5:$.translate(V.width,0),$.scale(-1,1),$.rotate(90*Math.PI/180),$.drawImage(H,0,-V.width,V.height,V.width);break;case 7:$.translate(V.width,0),$.scale(-1,1),$.rotate(270*Math.PI/180),$.drawImage(H,-V.height,0,V.height,V.width);break;default:$.drawImage(H,0,0,V.width,V.height)}return V}))}function j(H){return fetch(H).then(D=>D.blob())}function z(H){return new Promise((D,q)=>{const V=new Image;V.onload=()=>D(V),V.onerror=()=>q(new Error("urltoImage(): Image failed to load, please check the image URL")),V.src=H})}var L=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function G(H,D={}){return L(this,void 0,void 0,(function*(){if(!(H instanceof Blob))throw new Error("compress(): First arg must be a Blob object or a File object.");if(typeof D!="object"&&(D=Object.assign({quality:D})),D.quality=Number(D.quality),Number.isNaN(D.quality))return H;const q=yield C(H);let V=q.split(",")[0].match(/:(.*?);/)[1],$=c.JPEG;f(D.type)&&($=D.type,V=D.type);const W=yield b(q),ee=yield A(W,Object.assign({},D)),ae=yield h(ee,D.quality,$),X=yield g(ae,V);return X.size>H.size?H:X}))}function Z(H,D={}){return L(this,void 0,void 0,(function*(){if(!(H instanceof Blob))throw new Error("compressAccurately(): First arg must be a Blob object or a File object.");if(typeof D!="object"&&(D=Object.assign({size:D})),D.size=Number(D.size),Number.isNaN(D.size)||1024*D.size>H.size)return H;D.accuracy=Number(D.accuracy),(!D.accuracy||D.accuracy<.8||D.accuracy>.99)&&(D.accuracy=.95);const q=D.size*(2-D.accuracy)*1024,V=1024*D.size,$=D.size*D.accuracy*1024,W=yield C(H);let ee=W.split(",")[0].match(/:(.*?);/)[1],ae=c.JPEG;f(D.type)&&(ae=D.type,ee=D.type);const X=yield b(W),Y=yield A(X,Object.assign({},D));let I,T=.5;const K=[null,null];for(let ne=1;ne<=7;ne++){I=yield h(Y,T,ae);const ye=.75*I.length;if(ne===7){(q<ye||$>ye)&&(I=[I,...K].filter(Ce=>Ce).sort((Ce,Ve)=>Math.abs(.75*Ce.length-V)-Math.abs(.75*Ve.length-V))[0]);break}if(q<ye)K[1]=I,T-=Math.pow(.5,ne+1);else{if(!($>ye))break;K[0]=I,T+=Math.pow(.5,ne+1)}}const ie=yield g(I,ee);return ie.size>H.size?H:ie}))}}])}))})(Rl)),Rl.exports}var dm,kv;function R2(){return kv||(kv=1,dm=q2()),dm}var wv=R2();const B2=k.memo(({id:o,type:n,accept:u,loadFunction:l,multiple:d})=>(k.useEffect(()=>{const c=document.getElementById(o);if(!c)return;const f=p=>{const h=Array.from(p.target.files);if(n==="settings"){const y=new FileReader,_=h[0];y.readAsText(_,"UTF-8"),y.onload=g=>l(g.target.result)}else if(typeof l=="function"&&l.length===1)l(h);else{const y={};Object.keys(localStorage).forEach(g=>{y[g]=localStorage.getItem(g)});const _=new TextEncoder().encode(JSON.stringify(y)).length;h.forEach((g,b)=>{if(Lb(g.type)===!0)return _+g.size>485e4?De(pe.getMessage("toasts.no_storage")):l(g,b);wv.compressAccurately(g,{size:450,accuracy:.9}).then(async S=>{if(_+S.size>485e4)return De(pe.getMessage("toasts.no_storage"));l({target:{result:await wv.filetoDataURL(S)}},b)})})}};return c.onchange=f,()=>{c&&(c.onchange=null)}},[o,n,l,d]),w.jsx("input",{id:o,type:"file",style:{display:"none"},accept:u,multiple:d!==void 0?d:n!=="settings"})));B2.displayName="FileUpload";const L2=k.memo(o=>{const{changeLanguage:n}=zb(),[u,l]=k.useState(localStorage.getItem(o.name)),d=k.useCallback(async c=>{if(c!=="loading"){if(o.name==="language"){n(c),l(c),pe.stats.postEvent("setting",`${o.name} from ${u} to ${c}`),o.onChange&&o.onChange(c),ve.emit("refresh",o.category);return}if(localStorage.setItem(o.name,c),l(c),o.onChange&&o.onChange(c),pe.stats.postEvent("setting",`${o.name} from ${u} to ${c}`),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)}},[u,o,n]);return w.jsxs("div",{className:"radio-group",children:[o.title&&w.jsx("legend",{className:o.smallTitle?"radio-title-small":"radio-title",children:o.title}),w.jsx("div",{className:"radio-options",role:"radiogroup","aria-label":o.name,children:o.options.map(c=>w.jsxs("label",{className:`radio-option ${u===c.value?"selected":""} ${c.disabled||o.disabled?"disabled":""}`,children:[w.jsx("span",{className:"radio-label",children:c.name}),w.jsx("input",{type:"radio",name:o.name,value:c.value,checked:u===c.value,onChange:()=>d(c.value),disabled:c.disabled||o.disabled||!1,className:"radio-input","aria-label":c.name,tabIndex:0}),w.jsx("div",{className:"radio-circle",children:u===c.value&&w.jsx("div",{className:"radio-dot"})})]},c.value))})]})});L2.displayName="Radio";const I2=k.memo(({value:o,onChange:n,placeholder:u,fullWidth:l})=>w.jsxs("div",{className:`search-input-container${l?" full-width":""}`,children:[w.jsx(Em,{className:"search-input-icon"}),w.jsx("input",{type:"text",className:"search-input-field",value:o,onChange:n,placeholder:u})]}));I2.displayName="SearchInput";const U2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)==="true"),l=k.useCallback(()=>{const d=!n;if(localStorage.setItem(o.name,d),u(d),o.onChange&&o.onChange(d),pe.stats.postEvent("setting",`${o.name} ${n?"enabled":"disabled"}`),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)},[n,o]);return w.jsxs("div",{className:"switch-wrapper",children:[!o.header&&w.jsx("span",{className:"switch-label",children:o.text}),w.jsx("div",{className:`switch-track ${n?"checked":""}`,onClick:l,children:w.jsx("div",{className:"switch-thumb"})}),w.jsx("input",{type:"checkbox",name:o.name,checked:n,onChange:l,className:"switch-input","aria-hidden":"true"})]})});U2.displayName="Switch";const P2=k.memo(o=>{const{name:n,upperCaseFirst:u,element:l,category:d,onChange:c,title:f,textarea:p,customcss:h,placeholder:y}=o,_=o.default,[g,b]=k.useState(localStorage.getItem(n)||""),S=k.useCallback(x=>{let A=x.target.value;if(u===!0&&(A=A.charAt(0).toUpperCase()+A.slice(1)),localStorage.setItem(n,A),b(A),c&&c(A),l&&!document.querySelector(l)){Nn();return}ve.emit("refresh",d)},[n,u,l,d,c]),C=k.useCallback(()=>{S({target:{value:_||""}}),De(pe.getMessage("toasts.reset"))},[S,_]);return w.jsx("div",{className:"text-field-container",children:p===!0?w.jsxs("div",{className:`text-field ${h?"customcss":""}`,children:[f&&w.jsxs("div",{className:"text-field-header",children:[w.jsx("label",{className:"text-field-label",children:f}),w.jsxs("span",{className:"text-field-reset",onClick:C,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsx("textarea",{value:g,onChange:S,spellCheck:!1,rows:4,className:"text-field-textarea"})]}):w.jsxs("div",{className:"text-field",children:[f&&w.jsxs("div",{className:"text-field-header",children:[w.jsx("label",{className:"text-field-label",children:f}),w.jsxs("span",{className:"text-field-reset",onClick:C,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsx("input",{type:"text",value:g,onChange:S,placeholder:y||"",className:"text-field-input"})]})})});P2.displayName="Text";const Im=k.memo(({value:o,onChange:n,placeholder:u,minRows:l=1,maxRows:d,className:c,style:f,readOnly:p})=>{const h=k.useRef(null),y=k.useCallback(()=>{const _=h.current;if(!_)return;_.style.height="auto";const g=window.getComputedStyle(_),b=parseInt(g.lineHeight)||24,S=parseInt(g.paddingTop)||0,C=parseInt(g.paddingBottom)||0,x=l*b+S+C,A=d?d*b+S+C:1/0,j=Math.min(Math.max(_.scrollHeight,x),A);_.style.height=`${j}px`},[l,d]);return k.useEffect(()=>{y()},[o,y]),k.useEffect(()=>(y(),window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)),[y]),w.jsx("textarea",{ref:h,className:`textarea-autosize${c?` ${c}`:""}`,value:o,onChange:n,placeholder:u,style:f,readOnly:p,rows:l})});Im.displayName="Textarea";const H2=({notesRef:o,floatRef:n,position:u,xPosition:l,yPosition:d})=>{const c=Qo(),[f,p]=k.useState(localStorage.getItem("notes")||""),[h,y]=k.useState(localStorage.getItem("notesPinned")==="true"),[_,g]=k.useState("1.2rem");k.useEffect(()=>{const z=L=>{L==="navbar"&&g(Number((localStorage.getItem("zoomNavbar")||100)/100*1.2)+"rem")};return g(Number((localStorage.getItem("zoomNavbar")||100)/100*1.2)+"rem"),ve.on("refresh",z),()=>{ve.off("refresh",z)}},[]);const b=z=>{localStorage.setItem("notes",z.target.value),p(z.target.value)},S=()=>{y(!0)},C=()=>{y(localStorage.getItem("notesPinned")==="true")},x=()=>{pe.stats.postEvent("feature","Notes pin");const z=localStorage.getItem("notesPinned")==="true";localStorage.setItem("notesPinned",!z),y(!z)},A=()=>{pe.stats.postEvent("feature","Notes copied"),navigator.clipboard.writeText(f),De(c("toasts.notes"))},j=()=>{!f||f===""||(pe.stats.postEvent("feature","Notes download"),Xx(f,"mue-notes.txt","text/plain"))};return w.jsxs("div",{className:"notes",onMouseLeave:C,onFocus:S,children:[w.jsx("button",{className:"navbarButton",onMouseEnter:S,onFocus:S,onBlur:C,ref:o,style:{fontSize:_},"aria-label":c("widgets.navbar.notes.title"),children:w.jsx(O_,{className:"topicons"})}),h&&w.jsx("span",{className:"notesContainer",ref:n,style:{position:u,top:d??"44",left:l??""},children:w.jsxs("div",{className:"flexNotes",children:[w.jsxs("div",{className:"topBarNotes",style:{display:"flex"},children:[w.jsx(O_,{}),w.jsx("span",{children:c("widgets.navbar.notes.title")})]}),w.jsxs("div",{className:"notes-buttons",children:[w.jsx(ht,{title:c("widgets.navbar.todo.pin"),children:w.jsx("button",{onClick:x,children:w.jsx(Ob,{})})}),w.jsx(ht,{title:c("widgets.quote.copy"),children:w.jsx("button",{onClick:A,disabled:f==="",children:w.jsx(NA,{})})}),w.jsx(ht,{title:c("widgets.background.download"),children:w.jsx("button",{onClick:j,disabled:f==="",children:w.jsx(CA,{})})})]}),w.jsx(Im,{placeholder:c("widgets.navbar.notes.placeholder"),value:f,onChange:b,minRows:5})]})})]})};function F2(){const[o,n]=k.useState(null),{x:u,y:l,refs:d,strategy:c}=cu({placement:"bottom",middleware:[mu()],elements:{reference:o}});return w.jsx(H2,{notesRef:n,floatRef:d.setFloating,position:c,xPosition:u,yPosition:l})}const V2=k.memo(F2);function G2(){for(var o=arguments.length,n=new Array(o),u=0;u<o;u++)n[u]=arguments[u];return k.useMemo(()=>l=>{n.forEach(d=>d(l))},n)}const pu=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function En(o){const n=Object.prototype.toString.call(o);return n==="[object Window]"||n==="[object global]"}function Um(o){return"nodeType"in o}function Wt(o){var n,u;return o?En(o)?o:Um(o)&&(n=(u=o.ownerDocument)==null?void 0:u.defaultView)!=null?n:window:window}function Pm(o){const{Document:n}=Wt(o);return o instanceof n}function Xs(o){return En(o)?!1:o instanceof Wt(o).HTMLElement}function _y(o){return o instanceof Wt(o).SVGElement}function jn(o){return o?En(o)?o.document:Um(o)?Pm(o)?o:Xs(o)||_y(o)?o.ownerDocument:document:document:document}const Za=pu?k.useLayoutEffect:k.useEffect;function Hm(o){const n=k.useRef(o);return Za(()=>{n.current=o}),k.useCallback(function(){for(var u=arguments.length,l=new Array(u),d=0;d<u;d++)l[d]=arguments[d];return n.current==null?void 0:n.current(...l)},[])}function K2(){const o=k.useRef(null),n=k.useCallback((l,d)=>{o.current=setInterval(l,d)},[]),u=k.useCallback(()=>{o.current!==null&&(clearInterval(o.current),o.current=null)},[]);return[n,u]}function Vs(o,n){n===void 0&&(n=[o]);const u=k.useRef(o);return Za(()=>{u.current!==o&&(u.current=o)},n),u}function Js(o,n){const u=k.useRef();return k.useMemo(()=>{const l=o(u.current);return u.current=l,l},[...n])}function Ql(o){const n=Hm(o),u=k.useRef(null),l=k.useCallback(d=>{d!==u.current&&n?.(d,u.current),u.current=d},[]);return[u,l]}function Sm(o){const n=k.useRef();return k.useEffect(()=>{n.current=o},[o]),n.current}let cm={};function $s(o,n){return k.useMemo(()=>{if(n)return n;const u=cm[o]==null?0:cm[o]+1;return cm[o]=u,o+"-"+u},[o,n])}function vy(o){return function(n){for(var u=arguments.length,l=new Array(u>1?u-1:0),d=1;d<u;d++)l[d-1]=arguments[d];return l.reduce((c,f)=>{const p=Object.entries(f);for(const[h,y]of p){const _=c[h];_!=null&&(c[h]=_+o*y)}return c},{...n})}}const xn=vy(1),Gs=vy(-1);function Y2(o){return"clientX"in o&&"clientY"in o}function Fm(o){if(!o)return!1;const{KeyboardEvent:n}=Wt(o.target);return n&&o instanceof n}function W2(o){if(!o)return!1;const{TouchEvent:n}=Wt(o.target);return n&&o instanceof n}function Mm(o){if(W2(o)){if(o.touches&&o.touches.length){const{clientX:n,clientY:u}=o.touches[0];return{x:n,y:u}}else if(o.changedTouches&&o.changedTouches.length){const{clientX:n,clientY:u}=o.changedTouches[0];return{x:n,y:u}}}return Y2(o)?{x:o.clientX,y:o.clientY}:null}const Ks=Object.freeze({Translate:{toString(o){if(!o)return;const{x:n,y:u}=o;return"translate3d("+(n?Math.round(n):0)+"px, "+(u?Math.round(u):0)+"px, 0)"}},Scale:{toString(o){if(!o)return;const{scaleX:n,scaleY:u}=o;return"scaleX("+n+") scaleY("+u+")"}},Transform:{toString(o){if(o)return[Ks.Translate.toString(o),Ks.Scale.toString(o)].join(" ")}},Transition:{toString(o){let{property:n,duration:u,easing:l}=o;return n+" "+u+"ms "+l}}}),Sv="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Q2(o){return o.matches(Sv)?o:o.querySelector(Sv)}const Z2={display:"none"};function X2(o){let{id:n,value:u}=o;return _e.createElement("div",{id:n,style:Z2},u)}function J2(o){let{id:n,announcement:u,ariaLiveType:l="assertive"}=o;const d={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return _e.createElement("div",{id:n,style:d,role:"status","aria-live":l,"aria-atomic":!0},u)}function $2(){const[o,n]=k.useState("");return{announce:k.useCallback(l=>{l!=null&&n(l)},[]),announcement:o}}const by=k.createContext(null);function ez(o){const n=k.useContext(by);k.useEffect(()=>{if(!n)throw new Error("useDndMonitor must be used within a children of <DndContext>");return n(o)},[o,n])}function tz(){const[o]=k.useState(()=>new Set),n=k.useCallback(l=>(o.add(l),()=>o.delete(l)),[o]);return[k.useCallback(l=>{let{type:d,event:c}=l;o.forEach(f=>{var p;return(p=f[d])==null?void 0:p.call(f,c)})},[o]),n]}const az={draggable:`+https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof o.getDerivedStateFromProps=="function"&&(n.componentWillMount=fy,n.componentWillReceiveProps=gy),typeof n.getSnapshotBeforeUpdate=="function"){if(typeof n.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=hy;var p=n.componentDidUpdate;n.componentDidUpdate=function(y,_,g){var b=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:g;p.call(this,y,_,b)}}return o}const w2=Object.freeze(Object.defineProperty({__proto__:null,polyfill:k2},Symbol.toStringTag,{value:"Module"})),S2=xS(w2);var vv;function M2(){if(vv)return Vo;vv=1,Object.defineProperty(Vo,"__esModule",{value:!0}),Vo.bodyOpenClassName=Vo.portalClassName=void 0;var o=Object.assign||function(W){for(var ee=1;ee<arguments.length;ee++){var ae=arguments[ee];for(var X in ae)Object.prototype.hasOwnProperty.call(ae,X)&&(W[X]=ae[X])}return W},n=(function(){function W(ee,ae){for(var X=0;X<ae.length;X++){var Y=ae[X];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(ee,Y.key,Y)}}return function(ee,ae,X){return ae&&W(ee.prototype,ae),X&&W(ee,X),ee}})(),u=Ws(),l=A(u),d=Tm(),c=A(d),f=dy(),p=A(f),h=y2(),y=A(h),_=my(),g=x(_),b=Lm(),S=A(b),C=S2;function x(W){if(W&&W.__esModule)return W;var ee={};if(W!=null)for(var ae in W)Object.prototype.hasOwnProperty.call(W,ae)&&(ee[ae]=W[ae]);return ee.default=W,ee}function A(W){return W&&W.__esModule?W:{default:W}}function j(W,ee){if(!(W instanceof ee))throw new TypeError("Cannot call a class as a function")}function z(W,ee){if(!W)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee&&(typeof ee=="object"||typeof ee=="function")?ee:W}function L(W,ee){if(typeof ee!="function"&&ee!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ee);W.prototype=Object.create(ee&&ee.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),ee&&(Object.setPrototypeOf?Object.setPrototypeOf(W,ee):W.__proto__=ee)}var G=Vo.portalClassName="ReactModalPortal",Z=Vo.bodyOpenClassName="ReactModal__Body--open",H=b.canUseDOM&&c.default.createPortal!==void 0,D=function(ee){return document.createElement(ee)},q=function(){return H?c.default.createPortal:c.default.unstable_renderSubtreeIntoContainer};function V(W){return W()}var $=(function(W){L(ee,W);function ee(){var ae,X,Y,I;j(this,ee);for(var T=arguments.length,K=Array(T),ie=0;ie<T;ie++)K[ie]=arguments[ie];return I=(X=(Y=z(this,(ae=ee.__proto__||Object.getPrototypeOf(ee)).call.apply(ae,[this].concat(K))),Y),Y.removePortal=function(){!H&&c.default.unmountComponentAtNode(Y.node);var ne=V(Y.props.parentSelector);ne&&ne.contains(Y.node)?ne.removeChild(Y.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},Y.portalRef=function(ne){Y.portal=ne},Y.renderPortal=function(ne){var ye=q(),Ce=ye(Y,l.default.createElement(y.default,o({defaultStyles:ee.defaultStyles},ne)),Y.node);Y.portalRef(Ce)},X),z(Y,I)}return n(ee,[{key:"componentDidMount",value:function(){if(b.canUseDOM){H||(this.node=D("div")),this.node.className=this.props.portalClassName;var X=V(this.props.parentSelector);X.appendChild(this.node),!H&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(X){var Y=V(X.parentSelector),I=V(this.props.parentSelector);return{prevParent:Y,nextParent:I}}},{key:"componentDidUpdate",value:function(X,Y,I){if(b.canUseDOM){var T=this.props,K=T.isOpen,ie=T.portalClassName;X.portalClassName!==ie&&(this.node.className=ie);var ne=I.prevParent,ye=I.nextParent;ye!==ne&&(ne.removeChild(this.node),ye.appendChild(this.node)),!(!X.isOpen&&!K)&&!H&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!b.canUseDOM||!this.node||!this.portal)){var X=this.portal.state,Y=Date.now(),I=X.isOpen&&this.props.closeTimeoutMS&&(X.closesAt||Y+this.props.closeTimeoutMS);I?(X.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,I-Y)):this.removePortal()}}},{key:"render",value:function(){if(!b.canUseDOM||!H)return null;!this.node&&H&&(this.node=D("div"));var X=q();return X(l.default.createElement(y.default,o({ref:this.portalRef,defaultStyles:ee.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(X){g.setElement(X)}}]),ee})(u.Component);return $.propTypes={isOpen:p.default.bool.isRequired,style:p.default.shape({content:p.default.object,overlay:p.default.object}),portalClassName:p.default.string,bodyOpenClassName:p.default.string,htmlOpenClassName:p.default.string,className:p.default.oneOfType([p.default.string,p.default.shape({base:p.default.string.isRequired,afterOpen:p.default.string.isRequired,beforeClose:p.default.string.isRequired})]),overlayClassName:p.default.oneOfType([p.default.string,p.default.shape({base:p.default.string.isRequired,afterOpen:p.default.string.isRequired,beforeClose:p.default.string.isRequired})]),appElement:p.default.oneOfType([p.default.instanceOf(S.default),p.default.instanceOf(b.SafeHTMLCollection),p.default.instanceOf(b.SafeNodeList),p.default.arrayOf(p.default.instanceOf(S.default))]),onAfterOpen:p.default.func,onRequestClose:p.default.func,closeTimeoutMS:p.default.number,ariaHideApp:p.default.bool,shouldFocusAfterRender:p.default.bool,shouldCloseOnOverlayClick:p.default.bool,shouldReturnFocusAfterClose:p.default.bool,preventScroll:p.default.bool,parentSelector:p.default.func,aria:p.default.object,data:p.default.object,role:p.default.string,contentLabel:p.default.string,shouldCloseOnEsc:p.default.bool,overlayRef:p.default.func,contentRef:p.default.func,id:p.default.string,overlayElement:p.default.func,contentElement:p.default.func},$.defaultProps={isOpen:!1,portalClassName:G,bodyOpenClassName:Z,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(ee,ae){return l.default.createElement("div",ee,ae)},contentElement:function(ee,ae){return l.default.createElement("div",ee,ae)}},$.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,C.polyfill)($),Vo.default=$,Vo}var bv;function A2(){return bv||(bv=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0});var u=M2(),l=d(u);function d(c){return c&&c.__esModule?c:{default:c}}n.default=l.default,o.exports=n.default})(xl,xl.exports)),xl.exports}var C2=A2();const x2=zm(C2),z2=({appsRef:o,floatRef:n,position:u,xPosition:l,yPosition:d})=>{const[c,f]=k.useState(JSON.parse(localStorage.getItem("applinks"))),[p,h]=k.useState(localStorage.getItem("appsPinned")==="true"?"visible":"hidden"),[y,_]=k.useState(localStorage.getItem("refresh")==="false"?"-200px":"-130px"),[g,b]=k.useState(localStorage.getItem("appsPinned")==="true"),[S,C]=k.useState("1.2rem"),x=()=>{C(Number((localStorage.getItem("zoomNavbar")||100)/100*1.2)+"rem")};k.useEffect(()=>{const L=G=>{if(G==="navbar"){f(JSON.parse(localStorage.getItem("applinks")));try{x()}catch{}}};return x(),ve.on("refresh",L),()=>{ve.off("refresh",L)}},[]);const A=()=>{b(!0)},j=()=>{b(localStorage.getItem("AppsPinned")==="true")},z=c;return w.jsxs("div",{className:"notes",onMouseLeave:j,onFocus:A,children:[w.jsx("button",{className:"navbarButton",onMouseEnter:A,onFocus:A,onBlur:j,ref:o,style:{fontSize:S},children:w.jsx(q_,{className:"topicons"})}),g&&w.jsxs("span",{className:"notesContainer",ref:n,style:{position:u,top:d??"44px",left:l??""},children:[w.jsx("div",{className:"flexTodo",children:w.jsxs("div",{className:"topBarNotes",style:{display:"flex"},children:[w.jsx(q_,{}),w.jsx("span",{children:pe.getMessage("widgets.navbar.apps.title")})]})}),z.length>0?w.jsx("div",{className:"appsShortcutContainer",children:z.map((L,G)=>w.jsx(ht,{title:L.name.split(" ")[0],subtitle:L.name.split(" ").slice(1).join(" "),children:w.jsxs("a",{href:L.url,className:"appsIcon",children:[w.jsx("img",{src:L.icon===""?ly(L.url,L.name):L.icon,width:"40px",height:"40px",alt:"Google"}),w.jsx("span",{children:L.name})]})},G))}):w.jsx("div",{className:"todosEmpty",children:w.jsxs("div",{className:"emptyNewMessage",children:[w.jsx(qb,{}),w.jsx("span",{className:"title",children:pe.language.getMessage(pe.languagecode,"widgets.navbar.apps.no_apps")})]})})]})]})};function T2(){const[o,n]=k.useState(null),{x:u,y:l,refs:d,strategy:c}=cu({placement:"bottom",middleware:[mu()],elements:{reference:o}});return w.jsx(z2,{appsRef:n,floatRef:d.setFloating,position:c,xPosition:u,yPosition:l})}const N2=k.memo(T2),E2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)==="true"),l=k.useCallback(()=>{const c=!n;if(localStorage.setItem(o.name,c),u(c),o.onChange&&o.onChange(c),pe.stats.postEvent("setting",`${o.name} ${c?"enabled":"disabled"}`),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)},[n,o]),d=k.useCallback(c=>{(c.key===" "||c.key==="Enter")&&!o.disabled&&(c.preventDefault(),l())},[l,o.disabled]);return w.jsxs("div",{className:`checkbox-wrapper ${o.disabled?"disabled":""}`,children:[w.jsx("span",{className:"checkbox-label",children:o.text}),w.jsx("input",{type:"checkbox",name:o.name,checked:n,onChange:l,disabled:o.disabled||!1,className:"checkbox-input","aria-label":o.text,onKeyDown:d}),w.jsx("div",{className:`checkbox-box ${n?"checked":""}`,children:n&&w.jsx(Nm,{})})]})});E2.displayName="Checkbox";function j2({label:o,options:n,onChange:u}){let l=(localStorage.getItem("apiCategories")||"").split(",");l[0]===""&&(l=[]);const[d,c]=k.useState(l),[f,p]=k.useState(!1),h=k.useRef(null);k.useEffect(()=>{const g=b=>{h.current&&!h.current.contains(b.target)&&p(!1)};return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[]);const y=g=>{let b;d.includes(g)?b=d.filter(S=>S!==g):b=[...d,g],c(b),localStorage.setItem("apiCategories",b.join(",")),u&&u(b)},_=(g,b)=>{g.stopPropagation(),y(b)};return w.jsxs("div",{className:"chipSelect",ref:h,children:[o&&w.jsx("label",{className:"chipSelect-label",children:o}),w.jsxs("div",{className:"chipSelect-control",onClick:()=>p(!f),children:[w.jsx("div",{className:"chipSelect-value",children:d.length===0?w.jsx("span",{className:"chipSelect-placeholder",children:"Select options..."}):w.jsx("div",{className:"chipSelect-chips",children:d.map(g=>w.jsxs("span",{className:"chipSelect-chip",children:[g.charAt(0).toUpperCase()+g.slice(1),w.jsx("button",{type:"button",className:"chipSelect-chip-remove",onClick:b=>_(b,g),children:w.jsx(Is,{})})]},g))})}),w.jsx(Eb,{className:`chipSelect-arrow ${f?"open":""}`})]}),f&&w.jsx("div",{className:"chipSelect-dropdown",children:n.map(g=>w.jsxs("div",{className:`chipSelect-option ${d.includes(g.name)?"selected":""}`,onClick:()=>y(g.name),children:[w.jsx("span",{className:"chipSelect-option-checkbox",children:d.includes(g.name)&&"✓"}),w.jsxs("span",{className:"chipSelect-option-label",children:[g.name.charAt(0).toUpperCase()+g.name.slice(1),g.count&&` (${g.count})`]})]},g.name))})]})}k.memo(j2);const D2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)||o.items[0]?.value),[l,d]=k.useState(!1),[c,f]=k.useState(-1),p=k.useRef(null),h=k.useRef([]);k.useEffect(()=>{const A=j=>{p.current&&!p.current.contains(j.target)&&(d(!1),f(-1))};return document.addEventListener("mousedown",A),()=>document.removeEventListener("mousedown",A)},[]);const y=k.useCallback(A=>{if(A!==pe.getMessage("modals.main.loading")){if(pe.stats.postEvent("setting",`${o.name} from ${n} to ${A}`),u(A),d(!1),f(-1),o.noSetting||(localStorage.setItem(o.name,A),localStorage.setItem(o.name2,o.value2)),o.onChange&&o.onChange(A),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)}},[n,o]),_=k.useCallback(A=>{if(!o.disabled)switch(A.key){case"Enter":case" ":A.preventDefault(),d(!l);break;case"Escape":d(!1),f(-1);break;case"ArrowDown":A.preventDefault(),l?f(j=>j<o.items.filter(z=>z!==null).length-1?j+1:j):d(!0);break;case"ArrowUp":A.preventDefault(),l&&f(j=>j>0?j-1:j);break}},[l,o.items,o.disabled]),g=k.useCallback((A,j)=>{(A.key==="Enter"||A.key===" ")&&(A.preventDefault(),y(j.value))},[y]),b=k.useCallback(()=>{const A=o.default||o.items[0]?.value;y(A),De(pe.getMessage("toasts.reset"))},[y,o.default,o.items]),S="dropdown"+o.name,C=o.label||"",x=o.items.find(A=>A?.value===n);return w.jsxs("div",{className:`dropdown ${S} ${o.disabled?"disabled":""}`,ref:p,children:[C&&w.jsxs("div",{className:"dropdown-header",children:[w.jsx("label",{className:"dropdown-label",children:C}),w.jsxs("span",{className:"dropdown-reset",onClick:b,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsxs("div",{className:"dropdown-control",onClick:()=>!o.disabled&&d(!l),onKeyDown:_,role:"button","aria-haspopup":"listbox","aria-expanded":l,"aria-label":C||o.name,tabIndex:o.disabled?-1:0,children:[w.jsx("span",{className:"dropdown-value",children:x?.text||n}),w.jsx(Eb,{className:`dropdown-arrow ${l?"open":""}`})]}),l&&w.jsx("div",{className:"dropdown-menu",role:"listbox",children:o.items.map((A,j)=>A!==null?w.jsxs("div",{ref:z=>h.current[j]=z,className:`dropdown-option ${n===A.value?"selected":""} ${j===c?"focused":""}`,onClick:()=>y(A.value),onKeyDown:z=>g(z,A),role:"option","aria-selected":n===A.value,tabIndex:0,children:[w.jsx("span",{className:"dropdown-option-text",children:A.text}),n===A.value&&w.jsx(Nm,{className:"dropdown-option-check"})]},S+A.value):null)})]})});D2.displayName="Dropdown";var Rl={exports:{}},O2=Rl.exports,yv;function q2(){return yv||(yv=1,(function(o,n){(function(u,l){o.exports=l()})(O2,(function(){return(function(u){var l={};function d(c){if(l[c])return l[c].exports;var f=l[c]={i:c,l:!1,exports:{}};return u[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}return d.m=u,d.c=l,d.d=function(c,f,p){d.o(c,f)||Object.defineProperty(c,f,{enumerable:!0,get:p})},d.r=function(c){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},d.t=function(c,f){if(1&f&&(c=d(c)),8&f||4&f&&typeof c=="object"&&c&&c.__esModule)return c;var p=Object.create(null);if(d.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:c}),2&f&&typeof c!="string")for(var h in c)d.d(p,h,function(y){return c[y]}.bind(null,h));return p},d.n=function(c){var f=c&&c.__esModule?function(){return c.default}:function(){return c};return d.d(f,"a",f),f},d.o=function(c,f){return Object.prototype.hasOwnProperty.call(c,f)},d.p="",d(d.s=0)})([function(u,l,d){var c;function f(H){return["image/png","image/jpeg","image/gif"].some(D=>D===H)}d.r(l),d.d(l,"canvastoDataURL",(function(){return h})),d.d(l,"canvastoFile",(function(){return y})),d.d(l,"dataURLtoFile",(function(){return g})),d.d(l,"dataURLtoImage",(function(){return b})),d.d(l,"downloadFile",(function(){return S})),d.d(l,"filetoDataURL",(function(){return C})),d.d(l,"imagetoCanvas",(function(){return A})),d.d(l,"urltoBlob",(function(){return j})),d.d(l,"urltoImage",(function(){return z})),d.d(l,"compress",(function(){return G})),d.d(l,"compressAccurately",(function(){return Z})),d.d(l,"EImageType",(function(){return c})),(function(H){H.PNG="image/png",H.JPEG="image/jpeg",H.GIF="image/gif"})(c||(c={}));var p=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function h(H,D=.92,q=c.JPEG){return p(this,void 0,void 0,(function*(){return f(q)||(q=c.JPEG),H.toDataURL(q,D)}))}function y(H,D=.92,q=c.JPEG){return new Promise(V=>H.toBlob($=>V($),q,D))}var _=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function g(H,D){return _(this,void 0,void 0,(function*(){const q=H.split(",");let V=q[0].match(/:(.*?);/)[1];const $=atob(q[1]);let W=$.length;const ee=new Uint8Array(W);for(;W--;)ee[W]=$.charCodeAt(W);return f(D)&&(V=D),new Blob([ee],{type:V})}))}function b(H){return new Promise((D,q)=>{const V=new Image;V.onload=()=>D(V),V.onerror=()=>q(new Error("dataURLtoImage(): dataURL is illegal")),V.src=H})}function S(H,D){const q=document.createElement("a");q.href=window.URL.createObjectURL(H),q.download=D||Date.now().toString(36),document.body.appendChild(q);const V=document.createEvent("MouseEvents");V.initEvent("click",!1,!1),q.dispatchEvent(V),document.body.removeChild(q)}function C(H){return new Promise(D=>{const q=new FileReader;q.onloadend=V=>D(V.target.result),q.readAsDataURL(H)})}var x=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function A(H,D={}){return x(this,void 0,void 0,(function*(){const q=Object.assign({},D),V=document.createElement("canvas"),$=V.getContext("2d");let W,ee;for(const ae in q)Object.prototype.hasOwnProperty.call(q,ae)&&(q[ae]=Number(q[ae]));if(q.scale){const ae=q.scale>0&&q.scale<10?q.scale:1;ee=H.width*ae,W=H.height*ae}else ee=q.width||q.height*H.width/H.height||H.width,W=q.height||q.width*H.height/H.width||H.height;switch([5,6,7,8].some(ae=>ae===q.orientation)?(V.height=ee,V.width=W):(V.height=W,V.width=ee),q.orientation){case 3:$.rotate(180*Math.PI/180),$.drawImage(H,-V.width,-V.height,V.width,V.height);break;case 6:$.rotate(90*Math.PI/180),$.drawImage(H,0,-V.width,V.height,V.width);break;case 8:$.rotate(270*Math.PI/180),$.drawImage(H,-V.height,0,V.height,V.width);break;case 2:$.translate(V.width,0),$.scale(-1,1),$.drawImage(H,0,0,V.width,V.height);break;case 4:$.translate(V.width,0),$.scale(-1,1),$.rotate(180*Math.PI/180),$.drawImage(H,-V.width,-V.height,V.width,V.height);break;case 5:$.translate(V.width,0),$.scale(-1,1),$.rotate(90*Math.PI/180),$.drawImage(H,0,-V.width,V.height,V.width);break;case 7:$.translate(V.width,0),$.scale(-1,1),$.rotate(270*Math.PI/180),$.drawImage(H,-V.height,0,V.height,V.width);break;default:$.drawImage(H,0,0,V.width,V.height)}return V}))}function j(H){return fetch(H).then(D=>D.blob())}function z(H){return new Promise((D,q)=>{const V=new Image;V.onload=()=>D(V),V.onerror=()=>q(new Error("urltoImage(): Image failed to load, please check the image URL")),V.src=H})}var L=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function G(H,D={}){return L(this,void 0,void 0,(function*(){if(!(H instanceof Blob))throw new Error("compress(): First arg must be a Blob object or a File object.");if(typeof D!="object"&&(D=Object.assign({quality:D})),D.quality=Number(D.quality),Number.isNaN(D.quality))return H;const q=yield C(H);let V=q.split(",")[0].match(/:(.*?);/)[1],$=c.JPEG;f(D.type)&&($=D.type,V=D.type);const W=yield b(q),ee=yield A(W,Object.assign({},D)),ae=yield h(ee,D.quality,$),X=yield g(ae,V);return X.size>H.size?H:X}))}function Z(H,D={}){return L(this,void 0,void 0,(function*(){if(!(H instanceof Blob))throw new Error("compressAccurately(): First arg must be a Blob object or a File object.");if(typeof D!="object"&&(D=Object.assign({size:D})),D.size=Number(D.size),Number.isNaN(D.size)||1024*D.size>H.size)return H;D.accuracy=Number(D.accuracy),(!D.accuracy||D.accuracy<.8||D.accuracy>.99)&&(D.accuracy=.95);const q=D.size*(2-D.accuracy)*1024,V=1024*D.size,$=D.size*D.accuracy*1024,W=yield C(H);let ee=W.split(",")[0].match(/:(.*?);/)[1],ae=c.JPEG;f(D.type)&&(ae=D.type,ee=D.type);const X=yield b(W),Y=yield A(X,Object.assign({},D));let I,T=.5;const K=[null,null];for(let ne=1;ne<=7;ne++){I=yield h(Y,T,ae);const ye=.75*I.length;if(ne===7){(q<ye||$>ye)&&(I=[I,...K].filter(Ce=>Ce).sort((Ce,Ve)=>Math.abs(.75*Ce.length-V)-Math.abs(.75*Ve.length-V))[0]);break}if(q<ye)K[1]=I,T-=Math.pow(.5,ne+1);else{if(!($>ye))break;K[0]=I,T+=Math.pow(.5,ne+1)}}const ie=yield g(I,ee);return ie.size>H.size?H:ie}))}}])}))})(Rl)),Rl.exports}var dm,kv;function R2(){return kv||(kv=1,dm=q2()),dm}var wv=R2();const B2=k.memo(({id:o,type:n,accept:u,loadFunction:l,multiple:d})=>(k.useEffect(()=>{const c=document.getElementById(o);if(!c)return;const f=p=>{const h=Array.from(p.target.files);if(n==="settings"){const y=new FileReader,_=h[0];y.readAsText(_,"UTF-8"),y.onload=g=>l(g.target.result)}else if(typeof l=="function"&&l.length===1)l(h);else{const y={};Object.keys(localStorage).forEach(g=>{y[g]=localStorage.getItem(g)});const _=new TextEncoder().encode(JSON.stringify(y)).length;h.forEach((g,b)=>{if(Lb(g.type)===!0)return _+g.size>485e4?De(pe.getMessage("toasts.no_storage")):l(g,b);wv.compressAccurately(g,{size:450,accuracy:.9}).then(async S=>{if(_+S.size>485e4)return De(pe.getMessage("toasts.no_storage"));l({target:{result:await wv.filetoDataURL(S)}},b)})})}};return c.onchange=f,()=>{c&&(c.onchange=null)}},[o,n,l,d]),w.jsx("input",{id:o,type:"file",style:{display:"none"},accept:u,multiple:d!==void 0?d:n!=="settings"})));B2.displayName="FileUpload";const L2=k.memo(o=>{const{changeLanguage:n}=zb(),[u,l]=k.useState(localStorage.getItem(o.name)),d=k.useCallback(async c=>{if(c!=="loading"){if(o.name==="language"){n(c),l(c),pe.stats.postEvent("setting",`${o.name} from ${u} to ${c}`),o.onChange&&o.onChange(c),ve.emit("refresh",o.category);return}if(localStorage.setItem(o.name,c),l(c),o.onChange&&o.onChange(c),pe.stats.postEvent("setting",`${o.name} from ${u} to ${c}`),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)}},[u,o,n]);return w.jsxs("div",{className:"radio-group",children:[o.title&&w.jsx("legend",{className:o.smallTitle?"radio-title-small":"radio-title",children:o.title}),w.jsx("div",{className:"radio-options",role:"radiogroup","aria-label":o.name,children:o.options.map(c=>w.jsxs("label",{className:`radio-option ${u===c.value?"selected":""} ${c.disabled||o.disabled?"disabled":""}`,children:[w.jsx("span",{className:"radio-label",children:c.name}),w.jsx("input",{type:"radio",name:o.name,value:c.value,checked:u===c.value,onChange:()=>d(c.value),disabled:c.disabled||o.disabled||!1,className:"radio-input","aria-label":c.name,tabIndex:0}),w.jsx("div",{className:"radio-circle",children:u===c.value&&w.jsx("div",{className:"radio-dot"})})]},c.value))})]})});L2.displayName="Radio";const I2=k.memo(({value:o,onChange:n,placeholder:u,fullWidth:l})=>w.jsxs("div",{className:`search-input-container${l?" full-width":""}`,children:[w.jsx(Em,{className:"search-input-icon"}),w.jsx("input",{type:"text",className:"search-input-field",value:o,onChange:n,placeholder:u})]}));I2.displayName="SearchInput";const U2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)==="true"),l=k.useCallback(()=>{const c=!n;if(localStorage.setItem(o.name,c),u(c),o.onChange&&o.onChange(c),pe.stats.postEvent("setting",`${o.name} ${n?"enabled":"disabled"}`),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)},[n,o]),d=o.text||o.title||o.name;return w.jsxs("div",{className:"switch-wrapper",children:[!o.header&&w.jsx("span",{className:"switch-label",children:o.text}),w.jsx("div",{className:`switch-track ${n?"checked":""}`,onClick:l,"aria-hidden":"true",children:w.jsx("div",{className:"switch-thumb"})}),w.jsx("input",{type:"checkbox",role:"switch",name:o.name,checked:n,onChange:l,className:"switch-input","aria-label":d})]})});U2.displayName="Switch";const P2=k.memo(o=>{const{name:n,upperCaseFirst:u,element:l,category:d,onChange:c,title:f,textarea:p,customcss:h,placeholder:y}=o,_=o.default,[g,b]=k.useState(localStorage.getItem(n)||""),S=k.useCallback(x=>{let A=x.target.value;if(u===!0&&(A=A.charAt(0).toUpperCase()+A.slice(1)),localStorage.setItem(n,A),b(A),c&&c(A),l&&!document.querySelector(l)){Nn();return}ve.emit("refresh",d)},[n,u,l,d,c]),C=k.useCallback(()=>{S({target:{value:_||""}}),De(pe.getMessage("toasts.reset"))},[S,_]);return w.jsx("div",{className:"text-field-container",children:p===!0?w.jsxs("div",{className:`text-field ${h?"customcss":""}`,children:[f&&w.jsxs("div",{className:"text-field-header",children:[w.jsx("label",{className:"text-field-label",children:f}),w.jsxs("span",{className:"text-field-reset",onClick:C,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsx("textarea",{value:g,onChange:S,spellCheck:!1,rows:4,className:"text-field-textarea"})]}):w.jsxs("div",{className:"text-field",children:[f&&w.jsxs("div",{className:"text-field-header",children:[w.jsx("label",{className:"text-field-label",children:f}),w.jsxs("span",{className:"text-field-reset",onClick:C,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsx("input",{type:"text",value:g,onChange:S,placeholder:y||"",className:"text-field-input"})]})})});P2.displayName="Text";const Im=k.memo(({value:o,onChange:n,placeholder:u,minRows:l=1,maxRows:d,className:c,style:f,readOnly:p})=>{const h=k.useRef(null),y=k.useCallback(()=>{const _=h.current;if(!_)return;_.style.height="auto";const g=window.getComputedStyle(_),b=parseInt(g.lineHeight)||24,S=parseInt(g.paddingTop)||0,C=parseInt(g.paddingBottom)||0,x=l*b+S+C,A=d?d*b+S+C:1/0,j=Math.min(Math.max(_.scrollHeight,x),A);_.style.height=`${j}px`},[l,d]);return k.useEffect(()=>{y()},[o,y]),k.useEffect(()=>(y(),window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)),[y]),w.jsx("textarea",{ref:h,className:`textarea-autosize${c?` ${c}`:""}`,value:o,onChange:n,placeholder:u,style:f,readOnly:p,rows:l})});Im.displayName="Textarea";const H2=({notesRef:o,floatRef:n,position:u,xPosition:l,yPosition:d})=>{const c=Qo(),[f,p]=k.useState(localStorage.getItem("notes")||""),[h,y]=k.useState(localStorage.getItem("notesPinned")==="true"),[_,g]=k.useState("1.2rem");k.useEffect(()=>{const z=L=>{L==="navbar"&&g(Number((localStorage.getItem("zoomNavbar")||100)/100*1.2)+"rem")};return g(Number((localStorage.getItem("zoomNavbar")||100)/100*1.2)+"rem"),ve.on("refresh",z),()=>{ve.off("refresh",z)}},[]);const b=z=>{localStorage.setItem("notes",z.target.value),p(z.target.value)},S=()=>{y(!0)},C=()=>{y(localStorage.getItem("notesPinned")==="true")},x=()=>{pe.stats.postEvent("feature","Notes pin");const z=localStorage.getItem("notesPinned")==="true";localStorage.setItem("notesPinned",!z),y(!z)},A=()=>{pe.stats.postEvent("feature","Notes copied"),navigator.clipboard.writeText(f),De(c("toasts.notes"))},j=()=>{!f||f===""||(pe.stats.postEvent("feature","Notes download"),Xx(f,"mue-notes.txt","text/plain"))};return w.jsxs("div",{className:"notes",onMouseLeave:C,onFocus:S,children:[w.jsx("button",{className:"navbarButton",onMouseEnter:S,onFocus:S,onBlur:C,ref:o,style:{fontSize:_},"aria-label":c("widgets.navbar.notes.title"),children:w.jsx(O_,{className:"topicons"})}),h&&w.jsx("span",{className:"notesContainer",ref:n,style:{position:u,top:d??"44",left:l??""},children:w.jsxs("div",{className:"flexNotes",children:[w.jsxs("div",{className:"topBarNotes",style:{display:"flex"},children:[w.jsx(O_,{}),w.jsx("span",{children:c("widgets.navbar.notes.title")})]}),w.jsxs("div",{className:"notes-buttons",children:[w.jsx(ht,{title:c("widgets.navbar.todo.pin"),children:w.jsx("button",{onClick:x,children:w.jsx(Ob,{})})}),w.jsx(ht,{title:c("widgets.quote.copy"),children:w.jsx("button",{onClick:A,disabled:f==="",children:w.jsx(NA,{})})}),w.jsx(ht,{title:c("widgets.background.download"),children:w.jsx("button",{onClick:j,disabled:f==="",children:w.jsx(CA,{})})})]}),w.jsx(Im,{placeholder:c("widgets.navbar.notes.placeholder"),value:f,onChange:b,minRows:5})]})})]})};function F2(){const[o,n]=k.useState(null),{x:u,y:l,refs:d,strategy:c}=cu({placement:"bottom",middleware:[mu()],elements:{reference:o}});return w.jsx(H2,{notesRef:n,floatRef:d.setFloating,position:c,xPosition:u,yPosition:l})}const V2=k.memo(F2);function G2(){for(var o=arguments.length,n=new Array(o),u=0;u<o;u++)n[u]=arguments[u];return k.useMemo(()=>l=>{n.forEach(d=>d(l))},n)}const pu=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function En(o){const n=Object.prototype.toString.call(o);return n==="[object Window]"||n==="[object global]"}function Um(o){return"nodeType"in o}function Wt(o){var n,u;return o?En(o)?o:Um(o)&&(n=(u=o.ownerDocument)==null?void 0:u.defaultView)!=null?n:window:window}function Pm(o){const{Document:n}=Wt(o);return o instanceof n}function Xs(o){return En(o)?!1:o instanceof Wt(o).HTMLElement}function _y(o){return o instanceof Wt(o).SVGElement}function jn(o){return o?En(o)?o.document:Um(o)?Pm(o)?o:Xs(o)||_y(o)?o.ownerDocument:document:document:document}const Za=pu?k.useLayoutEffect:k.useEffect;function Hm(o){const n=k.useRef(o);return Za(()=>{n.current=o}),k.useCallback(function(){for(var u=arguments.length,l=new Array(u),d=0;d<u;d++)l[d]=arguments[d];return n.current==null?void 0:n.current(...l)},[])}function K2(){const o=k.useRef(null),n=k.useCallback((l,d)=>{o.current=setInterval(l,d)},[]),u=k.useCallback(()=>{o.current!==null&&(clearInterval(o.current),o.current=null)},[]);return[n,u]}function Vs(o,n){n===void 0&&(n=[o]);const u=k.useRef(o);return Za(()=>{u.current!==o&&(u.current=o)},n),u}function Js(o,n){const u=k.useRef();return k.useMemo(()=>{const l=o(u.current);return u.current=l,l},[...n])}function Ql(o){const n=Hm(o),u=k.useRef(null),l=k.useCallback(d=>{d!==u.current&&n?.(d,u.current),u.current=d},[]);return[u,l]}function Sm(o){const n=k.useRef();return k.useEffect(()=>{n.current=o},[o]),n.current}let cm={};function $s(o,n){return k.useMemo(()=>{if(n)return n;const u=cm[o]==null?0:cm[o]+1;return cm[o]=u,o+"-"+u},[o,n])}function vy(o){return function(n){for(var u=arguments.length,l=new Array(u>1?u-1:0),d=1;d<u;d++)l[d-1]=arguments[d];return l.reduce((c,f)=>{const p=Object.entries(f);for(const[h,y]of p){const _=c[h];_!=null&&(c[h]=_+o*y)}return c},{...n})}}const xn=vy(1),Gs=vy(-1);function Y2(o){return"clientX"in o&&"clientY"in o}function Fm(o){if(!o)return!1;const{KeyboardEvent:n}=Wt(o.target);return n&&o instanceof n}function W2(o){if(!o)return!1;const{TouchEvent:n}=Wt(o.target);return n&&o instanceof n}function Mm(o){if(W2(o)){if(o.touches&&o.touches.length){const{clientX:n,clientY:u}=o.touches[0];return{x:n,y:u}}else if(o.changedTouches&&o.changedTouches.length){const{clientX:n,clientY:u}=o.changedTouches[0];return{x:n,y:u}}}return Y2(o)?{x:o.clientX,y:o.clientY}:null}const Ks=Object.freeze({Translate:{toString(o){if(!o)return;const{x:n,y:u}=o;return"translate3d("+(n?Math.round(n):0)+"px, "+(u?Math.round(u):0)+"px, 0)"}},Scale:{toString(o){if(!o)return;const{scaleX:n,scaleY:u}=o;return"scaleX("+n+") scaleY("+u+")"}},Transform:{toString(o){if(o)return[Ks.Translate.toString(o),Ks.Scale.toString(o)].join(" ")}},Transition:{toString(o){let{property:n,duration:u,easing:l}=o;return n+" "+u+"ms "+l}}}),Sv="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Q2(o){return o.matches(Sv)?o:o.querySelector(Sv)}const Z2={display:"none"};function X2(o){let{id:n,value:u}=o;return _e.createElement("div",{id:n,style:Z2},u)}function J2(o){let{id:n,announcement:u,ariaLiveType:l="assertive"}=o;const d={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return _e.createElement("div",{id:n,style:d,role:"status","aria-live":l,"aria-atomic":!0},u)}function $2(){const[o,n]=k.useState("");return{announce:k.useCallback(l=>{l!=null&&n(l)},[]),announcement:o}}const by=k.createContext(null);function ez(o){const n=k.useContext(by);k.useEffect(()=>{if(!n)throw new Error("useDndMonitor must be used within a children of <DndContext>");return n(o)},[o,n])}function tz(){const[o]=k.useState(()=>new Set),n=k.useCallback(l=>(o.add(l),()=>o.delete(l)),[o]);return[k.useCallback(l=>{let{type:d,event:c}=l;o.forEach(f=>{var p;return(p=f[d])==null?void 0:p.call(f,c)})},[o]),n]}const az={draggable:`To pick up a draggable item, press the space bar.While dragging, use the arrow keys to move the item.Press space again to drop the item in its new position, or press escape to cancel.diff --git a/src/firefox/newtab/assets/index-DRYJ4NLv.css b/src/chrome/newtab/assets/index-BmeAAROj.csssimilarity index 77%rename from src/firefox/newtab/assets/index-DRYJ4NLv.cssrename to src/chrome/newtab/assets/index-BmeAAROj.cssindex 6b3358437..0a0ed7dbd 100644--- a/src/firefox/newtab/assets/index-DRYJ4NLv.css+++ b/src/chrome/newtab/assets/index-BmeAAROj.css@@ -1 +1 @@-.photoInformation,.photoInformation .map-concept{backdrop-filter:blur(15px)}.light .photoInformation,.light .photoInformation .map-concept,.photoInformation .light .map-concept{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .photoInformation,.dark .photoInformation .map-concept,.photoInformation .dark .map-concept{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.photoInformation .title{font-size:18px}.light .photoInformation .title,.photoInformation .light .map-concept .title{color:#000}.dark .photoInformation .title,.photoInformation .dark .map-concept .title{color:#fff}.photoInformation .subtitle{font-size:14px}.light .photoInformation .subtitle,.photoInformation .light .map-concept .subtitle{color:#333}.dark .photoInformation .subtitle,.photoInformation .dark .map-concept .subtitle{color:#a0a0a0}.photoInformationHolder{position:absolute;bottom:1rem;left:1rem;flex-flow:column-reverse;display:flex}.photoInformationHolder:hover .photoInformation{height:auto;align-items:flex-start;flex-flow:column}.photoInformationHolder:hover .photoInformation .buttons{padding:30px 0 0;display:flex}.photoInformationHolder:hover .photoInformation .extra-content{margin-top:10px;display:grid;grid-template-columns:auto auto;gap:10px;transition:.8s}.photoInformationHolder:hover .photoInformation .stats{display:flex;padding-top:5px;gap:20px}.light .photoInformationHolder:hover .photoInformation .stats{color:#333}.dark .photoInformationHolder:hover .photoInformation .stats{color:#a0a0a0}.photoInformationHolder:hover .photoInformation .stats div{display:flex;align-items:center;align-content:center;flex-direction:row;gap:5px}.photoInformationHolder:hover .photoInformation .stats div svg{font-size:1em}.photoInformationHolder:hover .photoInformation .copyright{display:flex;margin-top:10px;gap:10px}.photoInformationHolder:hover .photoInformation .copyright a{text-decoration:none}.light .photoInformationHolder:hover .photoInformation .copyright a{color:#333}.dark .photoInformationHolder:hover .photoInformation .copyright a{color:#a0a0a0}.photoInformationHolder:hover .photoInformation .photoInformation-content{padding:20px 20px 20px 0}.photoInformationHolder:hover .photoInformation .map-concept{width:100%}.mapOn{width:100%;height:150px;display:flex;justify-content:center;align-items:center;overflow:hidden}.mapOn img{flex-shrink:0;min-width:100%;min-height:100%}.mapOn svg{display:none}.photoInformation-legacy{font-size:1.36em;text-shadow:0 0 10px rgba(0,0,0,.3);color:#fff;z-index:99;user-select:none;cursor:initial;font-weight:bolder}.photoInformation-legacy svg{font-size:1.36em}.photoInformation-legacy:hover .infoCard{display:block!important}.photoInformation-legacy{display:flex;align-items:center;gap:15px}.photoInformation-legacy svg:hover+.infoCard{display:block}.photoInformation-legacy a{color:#fff;text-decoration:none}.photoInformation-legacy a:hover{text-decoration:underline}.photoInformation-legacy+.photoInformation{animation:none!important}.infoCard{display:none;background:var(--background);box-shadow:0 0 10px #0000004d;color:var(--modal-text);position:fixed;bottom:2.9rem;left:.7em;padding:1rem;border-radius:24px 24px 24px 0;width:300px!important;text-align:left;text-shadow:none}.infoCard svg{margin-right:.5rem;vertical-align:middle;display:inline-flex;padding:2px}.infoCard .locationMap{height:100px;object-fit:cover;width:100%;background-position:center center;background-repeat:no-repeat}.infoCard .mapboxLogo{height:20px;width:auto}.infoCard span,.infoCard svg{font-size:2em}.infoCard span{user-select:text}.infoCard h1,.infoCard .MuiSvgIcon-root{user-select:none;cursor:initial}.infoCard h1,.infoCard .infoIcon{font-size:3em}.infoCard .infoIcon{padding:4px}.infoCard hr{height:3px;background:var(--photo-info);outline:none;border:none}.infoCard:hover,.infoCard span{display:block!important}.infoCard .download{text-decoration:underline;cursor:pointer}.infoCard .download:hover{opacity:.8}.infoCard .mapCopyright{font-size:.9em}.photoInformation{animation:fadeIn 2s;min-width:300px;font-size:.8em;font-weight:300;z-index:99;display:flex;flex-flow:row;align-items:center;transition:.8s cubic-bezier(.075,.82,.165,1);padding:10px}.photoInformation .link{text-decoration:none;cursor:pointer}.light .photoInformation .link,.dark .photoInformation .link{color:#ff5c25}.photoInformation .link:hover{opacity:.8}.photoInformation:hover{padding:20px;height:auto;align-items:flex-start;flex-flow:column}.photoInformation:hover .buttons{padding:30px 0 0;display:flex}.photoInformation:hover .extra-content{display:flex;flex-flow:column;gap:10px;transition:.8s}.photoInformation:hover .stats{display:flex;gap:15px}.light .photoInformation:hover .stats{color:#333}.dark .photoInformation:hover .stats{color:#a0a0a0}.photoInformation:hover .stats div{display:flex;align-items:center;align-content:center;flex-direction:row;gap:10px}.photoInformation:hover .stats div svg{font-size:1em}.photoInformation:hover .copyright{display:flex;margin-top:10px;gap:10px}.photoInformation:hover .copyright a{text-decoration:none}.light .photoInformation:hover .copyright a{color:#333}.dark .photoInformation:hover .copyright a{color:#a0a0a0}.photoInformation:hover .photoInformation-content{padding-left:0}.photoInformation:hover .map-concept{width:100%}.photoInformation .map-concept{height:50px;width:50px;flex-grow:0;flex-shrink:0;border-radius:12px;display:flex;align-items:center;justify-content:center;border:none!important}.photoInformation .map-concept svg{font-size:24px}.photoInformation .map-concept img{width:100%;height:100%;background-repeat:no-repeat;background-size:cover;object-fit:cover;border-radius:12px}.photoInformation .location{font-size:1.9em}.photoInformation .credit{font-size:1.4em}.light .photoInformation .credit{color:#333}.dark .photoInformation .credit{color:#a0a0a0}.light .photoInformation .credit a{color:#333}.dark .photoInformation .credit a{color:#a0a0a0}.photoInformation .credit a:nth-child(2){color:var(--modal-link)}.photoInformation-content{line-height:2em;padding-right:10px;display:flex;flex-flow:row;align-items:center;gap:20px;padding-left:20px;width:100%;justify-content:space-between}.light .photoInformation-content a,.dark .photoInformation-content a{color:#ff5c25}.photoInformation-content a{text-decoration:none}.photoInformation-content a:hover{opacity:.9}.extra-content{display:none;flex-flow:column;width:100%;transition:1s}.extra-content .row{display:flex;align-items:center;gap:20px;font-size:13px}.light .extra-content .row svg{color:#333;font-size:18px}.dark .extra-content .row svg{color:#a0a0a0;font-size:18px}.copyright{display:none}.buttons{align-items:center;gap:20px;padding:20px 20px 0 0;display:none}.light .buttons svg{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .buttons svg:hover{background:#f7fafce6}.light .buttons svg:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .buttons svg:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .buttons svg{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .buttons svg:hover{background:#565656}.dark .buttons svg:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .buttons svg:focus{background:#565656;box-shadow:0 0 0 1px #fff}.buttons svg{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.photoMap img{height:50px!important;width:50px!important}.photoMap a{height:50px}.photoInformation:hover .photoMap,.photoInformation-legacy+.photoInformation .photoMap{height:auto!important}.photoInformation:hover .photoMap img,.photoInformation-legacy+.photoInformation .photoMap img{height:auto!important;width:auto!important}.photoInformation:hover .photoMap a,.photoInformation-legacy+.photoInformation .photoMap a{height:auto!important}.unsplashStats{display:flex;flex-flow:column;justify-content:space-between}.unsplashStats div{display:flex;flex-flow:row;gap:10px;align-items:center}.photoInformation-text{display:flex;flex-flow:column}#backgroundImage{height:100vh;background-size:cover!important;background-repeat:no-repeat!important;background-position:center!important;background-attachment:fixed!important;zoom:100%!important;position:relative;z-index:-2}#backgroundOverlay{position:fixed;top:0;left:0;width:100%;height:100vh;background-size:cover!important;background-repeat:no-repeat!important;background-position:center!important;background-attachment:fixed!important;pointer-events:none;z-index:-1;transition:opacity 1.2s ease-in-out}#backgroundFilterOverlay{position:fixed;top:0;left:0;width:100%;height:100vh;pointer-events:none;z-index:0;transition:backdrop-filter .3s ease-in-out,background-color .3s ease-in-out}.backgroundPreload{opacity:0}#backgroundVideo{position:fixed;right:0;bottom:0;min-width:100%;min-height:100%}.fade-in{animation:fadein .8s ease-in-out}@keyframes fadein{0%{opacity:0}to{opacity:1}}.clockBackground{backdrop-filter:blur(15px)}.light .clockBackground{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .clockBackground{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.clockBackground .title{font-size:18px}.light .clockBackground .title{color:#000}.dark .clockBackground .title{color:#fff}.clockBackground .subtitle{font-size:14px}.light .clockBackground .subtitle{color:#333}.dark .clockBackground .subtitle{color:#a0a0a0}.clock{font-size:4em;margin:0;cursor:initial;user-select:none;font-weight:600;animation:fadeIn 1s;--shadow-shift: .4rem}.ampm{font-size:.5em}.analogclock,.react-clock__face{margin:0 auto;border-radius:100%;border:none!important}.light .analogclock,.light .react-clock__face{border:1px solid rgb(0,0,0)!important}.dark .analogclock,.dark .react-clock__face{border:1px solid rgb(255,255,255)!important}.analogclock,.react-clock__face{cursor:initial;user-select:none}.light .react-clock__hand__body,.light .react-clock__mark__body{background:#000!important}.dark .react-clock__hand__body,.dark .react-clock__mark__body{background:#fff!important}.clockBackground{padding:1rem}.clockBackground.round{border-radius:100%!important}.vertical-clock{line-height:100%;user-select:none;font-size:4em}.vertical-clock .seconds{font-size:7rem;margin:50px;line-height:0}.greeting{margin:0;font-size:1.6em;cursor:initial;user-select:none;font-weight:600}.greeting:not(.preview){animation:fadeIn 1s}.greeting{--shadow-shift: .2rem}.taskBoxForm,.recentChats{backdrop-filter:blur(15px)}.light .taskBoxForm,.light .recentChats{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .taskBoxForm,.dark .recentChats{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.taskBoxForm .title,.recentChats .title{font-size:18px}.light .taskBoxForm .title,.light .recentChats .title{color:#000}.dark .taskBoxForm .title,.dark .recentChats .title{color:#fff}.taskBoxForm .subtitle,.recentChats .subtitle{font-size:14px}.light .taskBoxForm .subtitle,.light .recentChats .subtitle{color:#333}.dark .taskBoxForm .subtitle,.dark .recentChats .subtitle{color:#a0a0a0}.taskBox{width:min(640px,90vw);margin-top:1.5rem;display:flex;flex-flow:column;align-items:stretch;gap:.6rem;font-size:1rem;animation:fadeIn 1s}.taskBoxForm{display:flex;align-items:center;gap:.5rem;padding:6px 6px 6px 18px;border-radius:18px}.taskBoxInput:disabled{cursor:progress;opacity:.6}.taskBoxInput{flex:1;min-width:0;border:none;outline:none;background:transparent;color:inherit;font-size:1.15rem;padding:10px 0}.taskBoxInput::placeholder{opacity:.65;color:inherit}.light .taskBoxGo{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .taskBoxGo:hover{background:#f7fafce6}.light .taskBoxGo:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .taskBoxGo:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .taskBoxGo{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .taskBoxGo:hover{background:#565656}.dark .taskBoxGo:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .taskBoxGo:focus{background:#565656;box-shadow:0 0 0 1px #fff}.taskBoxGo{padding:10px;font-size:1.3rem;border:none;outline:none;transition:.5s;display:grid;place-items:center;cursor:pointer}.taskBoxGo:disabled{opacity:.4;cursor:default}.taskBoxModes{display:flex;justify-content:center;gap:6px}.light .taskBoxMode{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .taskBoxMode:hover{background:#f7fafce6}.light .taskBoxMode:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .taskBoxMode:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .taskBoxMode{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .taskBoxMode:hover{background:#565656}.dark .taskBoxMode:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .taskBoxMode:focus{background:#565656;box-shadow:0 0 0 1px #fff}.taskBoxMode{font-size:.95rem;border:none;outline:none;transition:.5s;display:grid;place-items:center;display:inline-flex;align-items:center;gap:6px;padding:6px 14px;cursor:pointer;opacity:.75}.taskBoxMode.active{opacity:1;box-shadow:0 0 0 1px currentcolor}.taskBoxHint{text-align:center;font-size:.85rem;opacity:.8}.taskBoxError{opacity:1}.recentChats{width:min(640px,90vw);margin-top:1rem;padding:12px 18px;border-radius:18px;font-size:.95rem;text-align:left}.recentChats .recentChatsHeader{display:flex;justify-content:space-between;margin-bottom:6px;font-weight:600}.recentChats .recentChatsHeader a{font-weight:400;opacity:.75}.recentChats ul{margin:0;padding:0;list-style:none}.recentChats li a{display:block;padding:4px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recentChats a{color:inherit;text-decoration:none}.recentChats a:hover{text-decoration:underline}.recentChats .recentChatsEmpty{opacity:.7}.tooltipTitle,#root .tooltipTitle{backdrop-filter:blur(15px)}.light .tooltipTitle,.light #root .tooltipTitle,#root .light .tooltipTitle{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .tooltipTitle,.dark #root .tooltipTitle,#root .dark .tooltipTitle{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.tooltipTitle .title,#root .tooltipTitle .title{font-size:18px}.light .tooltipTitle .title,.light #root .tooltipTitle .title,#root .light .tooltipTitle .title{color:#000}.dark .tooltipTitle .title,.dark #root .tooltipTitle .title,#root .dark .tooltipTitle .title{color:#fff}.tooltipTitle .subtitle,#root .tooltipTitle .subtitle{font-size:14px}.light .tooltipTitle .subtitle,.light #root .tooltipTitle .subtitle,#root .light .tooltipTitle .subtitle{color:#333}.dark .tooltipTitle .subtitle,.dark #root .tooltipTitle .subtitle,#root .dark .tooltipTitle .subtitle{color:#a0a0a0}.tooltip{position:relative;display:grid}@keyframes floating{0%{transform:translateY(-5px);opacity:0}to{transform:translateY(-0);opacity:1}}.tooltipTitle{text-align:center;font-size:.6rem;padding:5px 10px;position:absolute;z-index:1;cursor:initial;user-select:none;opacity:1;transition:opacity .2s ease-out,transform .2s ease-out}.tooltipTitle[data-status=initial]{opacity:0}.tooltipTitle[data-status=open]{opacity:1;transform:translate(0);animation-name:floating;animation-duration:.3s;animation-timing-function:ease-in}.tooltipTitle[data-status=close]{opacity:0}.tooltipTitle[data-status=close][data-placement^=top]{transform:translateY(5px)}.tooltipTitle[data-status=close][data-placement^=bottom]{transform:translateY(-5px)}.tooltipTitle[data-status=close][data-placement^=left]{transform:translate(5px)}.tooltipTitle[data-status=close][data-placement^=right]{transform:translate(-5px)}.light #modal .tooltipTitle{background:#feffff;box-shadow:0 0 0 1px #f5f5f5;color:#000}.dark #modal .tooltipTitle{background:#151515;box-shadow:0 0 0 1px #262626;color:#fff}.tooltipTitle:before{transform:scale3d(.2,.2,1);transition:all .2s ease-in-out}.tooltipTitle:after{transform:translate3d(0,6px,0);transition:all .1s ease-in-out}.tooltipTitle:hover:before,.tooltipTitle:hover:after{opacity:1;transform:scaleZ(1)}.tooltipTitle:hover:after{transition:all .2s .1s ease-in-out}#arrow{position:absolute;background:#333;width:8px;height:8px;transform:rotate(45deg)}.infoTooltip{position:relative;display:grid}.infoTooltip svg{cursor:pointer}.light .infoTooltip svg:hover{color:#000}.dark .infoTooltip svg:hover{color:#fff}#floating{transition-property:opacity,transform}#floating[data-status=open],#floating[data-status=close]{transition-duration:.25s}#floating[data-status=initial],#floating[data-status=close]{opacity:0}#floating[data-status=initial][data-placement^=top],#floating[data-status=close][data-placement^=top]{transform:translateY(5px)}#floating[data-status=initial][data-placement^=bottom],#floating[data-status=close][data-placement^=bottom]{transform:translateY(-5px)}#floating[data-status=initial][data-placement^=left],#floating[data-status=close][data-placement^=left]{transform:translate(5px)}#floating[data-status=initial][data-placement^=right],#floating[data-status=close][data-placement^=right]{transform:translate(-5px)}.reminder-info .mainTitle,.light .modalTabContent .mainTitle,.dark .modalTabContent .mainTitle{display:flex;align-items:center;font-size:38px;font-weight:600;margin-bottom:15px;text-transform:capitalize}.light .reminder-info .mainTitle,.light .modalTabContent .mainTitle{color:#000}.dark .reminder-info .mainTitle,.dark .modalTabContent .mainTitle{color:#fff}.reminder-info .mainTitle .backTitle,.light .modalTabContent .mainTitle .backTitle,.dark .modalTabContent .mainTitle .backTitle{cursor:pointer;transition:.5s}.light .reminder-info .mainTitle .backTitle,.light .modalTabContent .mainTitle .backTitle{color:#333}.light .reminder-info .mainTitle .backTitle:hover,.light .modalTabContent .mainTitle .backTitle:hover{color:#000}.dark .reminder-info .mainTitle .backTitle,.dark .modalTabContent .mainTitle .backTitle{color:#a0a0a0}.dark .reminder-info .mainTitle .backTitle:hover,.dark .modalTabContent .mainTitle .backTitle:hover{color:#fff}.reminder-info .title,.light .modalTabContent .title,.dark .modalTabContent .title{font-size:24px;font-weight:600}.light .reminder-info .title,.light .modalTabContent .title{color:#000}.dark .reminder-info .title,.dark .modalTabContent .title{color:#fff}.reminder-info .subtitle,.light .modalTabContent .subtitle,.dark .modalTabContent .subtitle{font-size:16px;font-family:Inter,sans-serif!important}.light .reminder-info .subtitle,.light .modalTabContent .subtitle{color:#333}.dark .reminder-info .subtitle,.dark .modalTabContent .subtitle{color:#a0a0a0}.reminder-info .link,.light .modalTabContent .link,.dark .modalTabContent .link{font-size:16px;text-decoration:none;cursor:pointer}.light .reminder-info .link,.light .modalTabContent .link,.dark .reminder-info .link,.dark .modalTabContent .link{color:#ff5c25}.reminder-info .link:hover,.light .modalTabContent .link:hover,.dark .modalTabContent .link:hover{opacity:.8}.modalTopBar{position:relative;flex-shrink:0;z-index:100;display:flex;align-items:center;justify-content:space-between;padding:1.5rem;-webkit-backdrop-filter:blur(16px) saturate(180%);backdrop-filter:blur(16px) saturate(180%)}.light .modalTopBar{background-color:#fff;border-bottom:1px solid #f5f5f5}.dark .modalTopBar{background-color:#0a0a0a;border-bottom:1px solid #262626}.modalTopBar .topBarLeft{display:flex;align-items:center;flex-shrink:0;gap:1rem}.modalTopBar .topBarLeft .navigationButtons{display:flex;gap:.25rem}.modalTopBar .topBarLeft .navigationButtons .navButton{display:grid;place-items:center;padding:.5rem;border-radius:8px;cursor:pointer;border:none;background:none;transition:.3s}.light .modalTopBar .topBarLeft .navigationButtons .navButton{color:#000}.dark .modalTopBar .topBarLeft .navigationButtons .navButton{color:#fff}.modalTopBar .topBarLeft .navigationButtons .navButton svg{font-size:1.2rem}.light .modalTopBar .topBarLeft .navigationButtons .navButton:hover:not(:disabled){background:#f5f5f5}.dark .modalTopBar .topBarLeft .navigationButtons .navButton:hover:not(:disabled){background:#262626}.modalTopBar .topBarLeft .navigationButtons .navButton:disabled{opacity:.3;cursor:not-allowed}.modalTopBar .topBarLeft .topBarLogo{height:32px;width:auto}.modalTopBar .topBarLeft .breadcrumbs{display:flex;align-items:center;gap:0;font-size:.95rem;font-weight:500}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-segment{display:flex;align-items:center}.light .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-item{color:#333}.dark .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-item{color:#a0a0a0}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-item{white-space:nowrap;transition:opacity .2s}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-clickable{cursor:pointer}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-clickable:hover{opacity:.7;text-decoration:underline}.light .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-separator{color:#333}.dark .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-separator{color:#a0a0a0}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-separator{opacity:.5;font-size:1.2rem;margin:0 .25rem}.light .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-current{color:#000}.dark .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-current{color:#fff}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-current{font-weight:600}.modalTopBar .topBarRight{display:flex;align-items:center;gap:.75rem;flex-shrink:0}.modalTopBar .topBarRight .topBarNavigation{display:flex;flex-flow:row;gap:.5rem}.modalTopBar .topBarRight .closeModal{display:grid;place-items:center;padding:.4em;border-radius:12px;cursor:pointer;transition:.5s;flex-shrink:0}.modalTopBar .topBarRight .closeModal svg{font-size:1.5em}.light .modalTopBar .topBarRight .closeModal:hover{background:#f5f5f5}.dark .modalTopBar .topBarRight .closeModal:hover{background:#262626}.light .modalSidebar{position:relative;margin:0;padding:.5rem 0 0 .5rem;background:#feffff;border-radius:12px 0 0 12px;overflow-y:auto;overflow-x:hidden;height:100%;min-width:250px;flex-shrink:0}.light .modalSidebar svg{margin-left:20px;margin-right:20px;color:#333;font-size:17px}.light .modalSidebar hr{height:1px;background:#ccc;margin:0 1.75rem;border:none}.light .modalSidebar button{color:#000;font-size:18px;list-style:none;cursor:pointer;border-radius:12px;display:flex;align-items:center;margin:.2rem;padding:.5rem;transition:.5s;outline:none;border:none;background:none;min-width:calc(100% - 1.2em);text-align:left}.light .modalSidebar button:last-child{margin-bottom:1rem}.light .modalSidebar button:hover{background:#f5f5f5}.light .modalSidebar button:active{background:#f5f5f5;box-shadow:0 0 0 .5px #000}.light .modalSidebar button:focus{background:#f5f5f5;box-shadow:0 0 0 .5px #000}.light .modalSidebar .tab-list-active{background:#f5f5f5}.dark .modalSidebar{position:relative;margin:0;padding:.5rem 0 0 .5rem;background:#151515;border-radius:12px 0 0 12px;overflow-y:auto;overflow-x:hidden;height:100%;min-width:250px;flex-shrink:0}.dark .modalSidebar svg{margin-left:20px;margin-right:20px;color:#a0a0a0;font-size:17px}.dark .modalSidebar hr{height:1px;background:#ccc;margin:0 1.75rem;border:none}.dark .modalSidebar button{color:#fff;font-size:18px;list-style:none;cursor:pointer;border-radius:12px;display:flex;align-items:center;margin:.2rem;padding:.5rem;transition:.5s;outline:none;border:none;background:none;min-width:calc(100% - 1.2em);text-align:left}.dark .modalSidebar button:last-child{margin-bottom:1rem}.dark .modalSidebar button:hover{background:#262626}.dark .modalSidebar button:active{background:#262626;box-shadow:0 0 0 .5px #fff}.dark .modalSidebar button:focus{background:#262626;box-shadow:0 0 0 .5px #fff}.dark .modalSidebar .tab-list-active{background:#262626}.css-j204z7-MuiFormControlLabel-root{margin-left:0!important;margin-right:0!important}.sidebarSkeleton{padding:.5rem .2rem}.sidebarSkeleton .skeletonItem{display:flex;align-items:center;padding:.5rem;margin:.2rem;pointer-events:none}.sidebarSkeleton .skeletonItem .iconPlaceholder{width:17px;height:17px;border-radius:6px;margin-left:20px;margin-right:20px;flex-shrink:0}.light .sidebarSkeleton .skeletonItem .iconPlaceholder{background:#f5f5f5}.dark .sidebarSkeleton .skeletonItem .iconPlaceholder{background:#262626}.sidebarSkeleton .skeletonItem .textPlaceholder{height:18px;border-radius:6px}.light .sidebarSkeleton .skeletonItem .textPlaceholder{background:#f5f5f5}.dark .sidebarSkeleton .skeletonItem .textPlaceholder{background:#262626}.light .sidebarSkeleton .skeletonDivider{height:1px;background:linear-gradient(90deg,transparent 0%,#f5f5f5 20%,#f5f5f5 80%,transparent 100%);margin:.5rem 1.75rem;border:none;opacity:.6}.dark .sidebarSkeleton .skeletonDivider{height:1px;background:linear-gradient(90deg,transparent 0%,#262626 20%,#262626 80%,transparent 100%);margin:.5rem 1.75rem;border:none;opacity:.6}#modal{display:flex;align-items:flex-start;justify-content:flex-start}.modalNavbar{display:flex;flex-flow:row;gap:25px;margin-bottom:1rem}.updateCheck{flex-flow:row!important}.light .btn-settings{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-settings{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-settings:hover{background:#f5f5f5}.light .btn-settings:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-settings:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-settings:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-settings{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-settings{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-settings:hover{background:#262626}.dark .btn-settings:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-settings:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-settings:disabled{background:#262626;cursor:not-allowed}.btn-settings{display:inline;margin-top:0;float:none!important;padding:0 20px}.light .btn-secondary{background:#f5f5f5;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-secondary:hover{background:#feffff!important}.light .btn-secondary{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-secondary:hover{background:#f5f5f5}.light .btn-secondary:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-secondary:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-secondary:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-secondary{background:#262626;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-secondary:hover{background:#151515!important}.dark .btn-secondary{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-secondary:hover{background:#262626}.dark .btn-secondary:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-secondary:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-secondary:disabled{background:#262626;cursor:not-allowed}.btn-secondary{display:inline;margin-top:0;float:none!important;padding:0 20px}.light .btn-navigation{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-navigation{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-navigation:hover{background:#f5f5f5}.light .btn-navigation:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-navigation:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-navigation:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-navigation{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-navigation{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-navigation:hover{background:#262626}.dark .btn-navigation:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-navigation:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-navigation:disabled{background:#262626;cursor:not-allowed}.btn-navigation{padding:10px 20px;border-radius:12px!important;transition:all .2s ease;position:relative}.light .btn-navigation,.dark .btn-navigation{background:transparent!important;border:none!important;box-shadow:none!important}.light .btn-navigation,.dark .btn-navigation{background:transparent!important;border:none!important}.light .btn-navigation:hover,.dark .btn-navigation:hover{background:#0000000a!important}.dark .btn-navigation:hover{background:#ffffff0f!important}.btn-navigation span,.btn-navigation svg{font-size:1.1em!important}.btn-navigation svg{font-size:1.2em!important}.light .btn-navigation svg{color:#000}.dark .btn-navigation svg{color:#fff}@supports (-webkit-hyphens: none){.btn-navigation{display:inline-block!important}}.light .btn-navigation-active,.dark .btn-navigation-active{background:#0000000f!important;box-shadow:none!important}.light .btn-navigation-active{background:#0000000f!important;border:none!important}.dark .btn-navigation-active{background:#ffffff1a!important;border:none!important}.btn-collection{padding:1px 12px;backdrop-filter:blur(16px) saturate(180%);background-color:#ffffff1a;border:1px solid rgba(209,213,219,.3);color:#fff;border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.btn-collection:hover{backdrop-filter:blur(16px) saturate(180%);background-color:#11192833;border:1px solid rgba(255,255,255,.125)}.light .btn-collection:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .btn-collection:active{background:#262626;box-shadow:0 0 0 1px #fff}.light .btn-collection:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .btn-collection:focus{background:#262626;box-shadow:0 0 0 1px #fff}.light .btn-collection:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-collection:disabled{background:#262626;cursor:not-allowed}a.btn-collection{height:40px;text-decoration:none}.light a.btn-collection,.dark a.btn-collection{border-radius:12px}.flowReverse{flex-flow:row-reverse!important}.btn-icon{width:40px;height:40px;display:grid;place-content:center;border-radius:8px!important}.light .btn-icon{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-icon{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-icon:hover{background:#f5f5f5}.light .btn-icon:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-icon:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-icon:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-icon{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-icon{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-icon:hover{background:#262626}.dark .btn-icon:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-icon:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-icon:disabled{background:#262626;cursor:not-allowed}.modalTabContent{width:100%!important}.light .modalTabContent{padding:1rem 2rem 5rem;display:flex;flex-direction:column;width:100%;height:100%;overflow-y:auto;background:#fff;margin:0;border-radius:12px}.light .modalTabContent hr{width:100%;background:#c4c4c4bd;outline:none}.light .modalTabContent .settingsRow{display:flex;align-items:center;justify-content:space-between;transition:.4s ease-in-out;border-bottom:1px solid #676767;padding-top:1rem;padding-bottom:1rem}.light .modalTabContent .settingsRow.settingsNoBorder{border-bottom:none}.light .modalTabContent .settingsRow:last-child{margin-bottom:2rem}.light .modalTabContent .settingsRow .content{display:flex;flex-flow:column;max-width:50%}.light .modalTabContent .settingsRow .action{display:flex;flex-flow:column;align-items:flex-end;width:300px}.light .modalTabContent .settingsRow .action button{margin-top:10px}.light .modalTabContent .settingsRow .action .link{margin-top:10px;display:flex;flex-flow:row;gap:15px;align-items:center}.dark .modalTabContent{padding:1rem 2rem 5rem;display:flex;flex-direction:column;width:100%;height:100%;overflow-y:auto;background:#0a0a0a;margin:0;border-radius:12px}.dark .modalTabContent hr{width:100%;background:#c4c4c4bd;outline:none}.dark .modalTabContent .settingsRow{display:flex;align-items:center;justify-content:space-between;transition:.4s ease-in-out;border-bottom:1px solid #676767;padding-top:1rem;padding-bottom:1rem}.dark .modalTabContent .settingsRow.settingsNoBorder{border-bottom:none}.dark .modalTabContent .settingsRow:last-child{margin-bottom:2rem}.dark .modalTabContent .settingsRow .content{display:flex;flex-flow:column;max-width:50%}.dark .modalTabContent .settingsRow .action{display:flex;flex-flow:column;align-items:flex-end;width:300px}.dark .modalTabContent .settingsRow .action button{margin-top:10px}.dark .modalTabContent .settingsRow .action .link{margin-top:10px;display:flex;flex-flow:row;gap:15px;align-items:center}.resetDataButtonsLayout{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px}.resetDataButtonsLayout :nth-child(1){grid-column:span 2}.light .resetDataButtonsLayout button{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .resetDataButtonsLayout button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .resetDataButtonsLayout button:hover{background:#f5f5f5}.light .resetDataButtonsLayout button:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .resetDataButtonsLayout button:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .resetDataButtonsLayout button:disabled{background:#f5f5f5;cursor:not-allowed}.dark .resetDataButtonsLayout button{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .resetDataButtonsLayout button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .resetDataButtonsLayout button:hover{background:#262626}.dark .resetDataButtonsLayout button:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .resetDataButtonsLayout button:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .resetDataButtonsLayout button:disabled{background:#262626;cursor:not-allowed}.resetDataButtonsLayout button{padding:5px 10px}table{border-collapse:separate;border-radius:10px;margin-top:20px}.light table{box-shadow:0 0 0 1px #f5f5f5;padding:0;border:0;outline:none}.dark table{box-shadow:0 0 0 1px #262626;padding:0;border:0;outline:none}.light table tr:first-child{border-radius:12px;color:#333}.dark table tr:first-child{border-radius:12px;color:#a0a0a0}table tr:first-child{letter-spacing:2px}table tr:first-child th{padding:20px}table td{padding:15px}table tr th:last-child{display:grid;place-items:center}.light table ::placeholder{color:#333}.dark table ::placeholder{color:#a0a0a0}.light table tr:not(:first-child){background:#fafafa}.dark table tr:not(:first-child){background:#111}table tr:not(:first-child) textarea{width:90%;margin:10px}.light table tr:not(:first-child) textarea{color:#000}.dark table tr:not(:first-child) textarea{color:#fff}.light .donateButton{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .donateButton{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .donateButton:hover{background:#f5f5f5}.light .donateButton:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .donateButton:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .donateButton:disabled{background:#f5f5f5;cursor:not-allowed}.dark .donateButton{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .donateButton{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .donateButton:hover{background:#262626}.dark .donateButton:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .donateButton:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .donateButton:disabled{background:#262626;cursor:not-allowed}.donateButton{flex-flow:row!important;text-decoration:none;height:auto!important}.donateButton svg{font-size:1.5rem!important}.flexGrow{flex-grow:1}.messageMap{display:flex;flex-flow:row;align-items:center;gap:25px;padding:25px;justify-content:space-between;cursor:default!important;user-select:auto}.messageMap:active{cursor:default!important}.light .messageMap{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.dark .messageMap{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.messageMap div:nth-child(1){display:flex;flex-flow:row;gap:25px;align-items:center}.light .messageMap .icon{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .messageMap .icon{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.messageMap .icon{padding:15px;border-radius:100%;font-size:25px}.messageMap .messageText{display:flex;flex-flow:column;flex-grow:3}.light .messageMap .messageText textarea{color:#000}.dark .messageMap .messageText textarea{color:#fff}.messageMap .messageText input[type=text]{height:56px;padding:0 16px;font-size:16px;outline:none;transition:.2s ease}.light .messageMap .messageText input[type=text]{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .messageMap .messageText input[type=text]:hover,.light .messageMap .messageText input[type=text]:focus{border-color:#000}.light .messageMap .messageText input[type=text]::placeholder{color:#333}.dark .messageMap .messageText input[type=text]{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .messageMap .messageText input[type=text]:hover,.dark .messageMap .messageText input[type=text]:focus{border-color:#fff}.dark .messageMap .messageText input[type=text]::placeholder{color:#a0a0a0}.light .messageMap .messageText .subtitle{color:#333;font-size:13px}.dark .messageMap .messageText .subtitle{color:#a0a0a0;font-size:13px}.messageMap .messageAction{float:right}.messagesContainer{display:flex;flex-flow:column;gap:25px}.eventDateSelection{display:flex!important;flex-flow:row!important;gap:5px!important;text-align:center!important}.light .eventDateSelection{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;color:#000!important}.dark .eventDateSelection{background:#151515;box-shadow:0 0 0 1px #484848;color:#fff!important}.eventDateSelection hr{height:100%;margin-right:5px}.light .eventDateSelection hr{border-color:#fafafa}.dark .eventDateSelection hr{border-color:#111}.eventDateSelection{border-radius:12px;height:40px;font-size:1rem;align-items:center;justify-content:center;transition:.5s;cursor:pointer;border:0;padding-left:10px;padding-right:5px}.eventDateSelection input[type=tel],.eventDateSelection input[type=number]{background:none;outline:none;border:none;max-width:20px;text-align:center}.light .eventDateSelection input[type=tel],.light .eventDateSelection input[type=number]{color:#000!important}.dark .eventDateSelection input[type=tel],.dark .eventDateSelection input[type=number]{color:#fff!important}.resetLink{color:var(--modal-link);cursor:pointer}.resetLink:hover{opacity:.8}.resetLink span{font-size:1.2rem;color:var(--modal-link);vertical-align:text-bottom;margin-left:5px}.modalLink{color:var(--modal-link);cursor:pointer;margin-left:5px}.modalLink:hover{opacity:.8}::-webkit-scrollbar{width:6px;height:6px;border-radius:12px}.light ::-webkit-scrollbar{background:#feffff}.dark ::-webkit-scrollbar{background:#151515}::-webkit-scrollbar-thumb{border-radius:25px}.light ::-webkit-scrollbar-thumb{background:#f5f5f5}.dark ::-webkit-scrollbar-thumb{background:#262626}.light ::-webkit-scrollbar-thumb:hover{background:#f7fafce6}.dark ::-webkit-scrollbar-thumb:hover{background:#565656}.light ::-webkit-scrollbar-thumb:active{background:#f7fafce6}.dark ::-webkit-scrollbar-thumb:active{background:#565656}.light .MuiCheckbox-colorPrimary.Mui-checked,.light .MuiSwitch-colorPrimary.Mui-checked,.light .MuIconButton-colorPrimary.Mui-checked,.light .MuiSwitch-thumb,.light .MuiRadio-colorSecondary.Mui-checked,.light .PrivateSwitchBase-input-4,.light .MuiRadio-root,.light .aboutLink,.light .MuiSlider-colorPrimary,.light legend{color:#000!important}.dark .MuiCheckbox-colorPrimary.Mui-checked,.dark .MuiSwitch-colorPrimary.Mui-checked,.dark .MuIconButton-colorPrimary.Mui-checked,.dark .MuiSwitch-thumb,.dark .MuiRadio-colorSecondary.Mui-checked,.dark .PrivateSwitchBase-input-4,.dark .MuiRadio-root,.dark .aboutLink,.dark .MuiSlider-colorPrimary,.dark legend{color:#fff!important}.MuiFormControlLabel-labelPlacementStart{margin-left:0!important}.light .MuiSwitch-colorPrimary.Mui-checked+.MuiSwitch-track{background-color:#333!important}.dark .MuiSwitch-colorPrimary.Mui-checked+.MuiSwitch-track{background-color:#a0a0a0!important}.light .MuiSwitch-track{background-color:#333!important}.dark .MuiSwitch-track{background-color:#a0a0a0!important}.light .MuiIconButton-label>svg.MuiSvgIcon-root{color:#000!important}.dark .MuiIconButton-label>svg.MuiSvgIcon-root{color:#fff!important}.MuiTouchRipple-root{background:transparent}.MuiFormControl-root,.settingsRow .action .MuiFormControlLabel-root{margin-top:10px!important}.light .checkbox svg{fill:#000!important}.dark .checkbox svg{fill:#fff!important}.radio-title{font-weight:700;font-size:1.17rem}.radio-title-small{font-weight:700;font-size:1rem}.MuiSlider-root{margin-bottom:30px!important}.light .MuiOutlinedInput-notchedOutline{border-color:#000!important}.dark .MuiOutlinedInput-notchedOutline{border-color:#fff!important}.light .MuiFormLabel-root-MuiInputLabel-root{color:#000!important}.dark .MuiFormLabel-root-MuiInputLabel-root{color:#fff!important}.light .MuiInputLabel-root,.light .MuiSlider-markLabel,.light .MuiSelect-icon,.light .MuiSelect-select,.light .Mui-focused,.light legend,.light .MuiOutlinedInput-input{color:#000!important}.dark .MuiInputLabel-root,.dark .MuiSlider-markLabel,.dark .MuiSelect-icon,.dark .MuiSelect-select,.dark .Mui-focused,.dark legend,.dark .MuiOutlinedInput-input{color:#fff!important}.light .MuiMenu-list{background-color:#fff;color:#000}.dark .MuiMenu-list{background-color:#0a0a0a;color:#fff}.light .MuiMenu-list li:hover{background-color:#f5f5f5;transition:.5s}.dark .MuiMenu-list li:hover{background-color:#262626;transition:.5s}.light .Mui-selected{background-color:#f5f5f5!important}.dark .Mui-selected{background-color:#262626!important}.MuiTextField-root,.MuiFormControl-root,.MuiSlider-root{width:300px!important}.Mui-disabled{color:#818181!important;cursor:not-allowed}.Mui-disabled .checkbox svg{fill:#818181!important}.light .MuiPaper-root{background-color:#fff!important}.dark .MuiPaper-root{background-color:#0a0a0a!important}.light .MuiSlider-valueLabel{background-color:#f5f5f5!important}.dark .MuiSlider-valueLabel{background-color:#262626!important}.MuiFormControlLabel-labelPlacementStart{justify-content:flex-end}.settingsRow .MuiFormControlLabel-root{flex-direction:row-reverse;margin-right:0;display:flex;justify-content:space-between;width:100%;margin-left:0}.settingsRow .MuiFormControlLabel-root{width:100%}.light .settingsRow p{color:#333!important}.dark .settingsRow p{color:#a0a0a0!important}.light .css-w66kx-MuiChip-root{color:#000!important;border:1px solid #f5f5f5;background:#feffff!important;border-radius:12px}.dark .css-w66kx-MuiChip-root{color:#fff!important;border:1px solid #262626;background:#151515!important;border-radius:12px}.css-w66kx-MuiChip-root,.MuiChip-root{text-transform:capitalize}.light .MuiChip-root{background:#f5f5f5!important;color:#000!important}.dark .MuiChip-root{background:#262626!important;color:#fff!important}.aboutLink:hover{opacity:.8}.aboutLogo{height:100px;width:auto;margin:calc(1rem - 15px) 0 1rem;align-self:center}.aboutContact{flex-flow:row;display:flex;gap:15px}.aboutContact a{text-decoration:none}.contributorImages{display:flex;flex-wrap:wrap;gap:15px}.contributorImages img{width:75px;height:auto;opacity:0;animation:fadeIn .5s ease-in-out forwards}.light .contributorImages img,.dark .contributorImages img{border-radius:12px}@keyframes fadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.subtitle-photographers{font-size:16px}.light .subtitle-photographers{color:#000}.light .subtitle-photographers span{color:#333}.dark .subtitle-photographers{color:#fff}.dark .subtitle-photographers span{color:#a0a0a0}.aboutText{text-align:center;display:flex;flex-flow:column}.updateChangelog{max-width:75%;margin-top:15px;white-space:pre-wrap;font-size:18px}.updateChangelog a{color:var(--modal-link)}.updateChangelog a:hover{opacity:.8}.changelogtab .mainTitle{margin:0!important}.changelogtab img{max-width:95%}.changelogtab .changelogAt{text-decoration:none}.sortableItem{cursor:move;width:200px;z-index:999!important;padding:15px;margin-bottom:10px;font-size:1.325rem}.light .sortableItem{color:#000!important;display:flex;justify-content:space-between;align-items:center;background:#fafafa;border-radius:12px;box-shadow:0 0 0 1px #e7e3e9}.light .sortableItem svg{font-size:1.3rem;color:#333}.light .sortableItem:hover{background:#f5f5f5!important}.dark .sortableItem{color:#fff!important;display:flex;justify-content:space-between;align-items:center;background:#111;border-radius:12px;box-shadow:0 0 0 1px #484848}.dark .sortableItem svg{font-size:1.3rem;color:#a0a0a0}.dark .sortableItem:hover{background:#262626!important}.sortableItem ul{-webkit-padding-start:0;padding:0;list-style-type:none}.sortableItem ul>label{vertical-align:middle}.sortablecontainer{-webkit-padding-start:0;padding:0;list-style-type:none}.images-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));padding:20px;grid-gap:20px}.light .images-row div{border-radius:12px;display:flex;align-items:center;justify-content:center;flex-flow:column;gap:5px;position:relative}.light .images-row div img{width:100%;height:200px;object-fit:cover;border-radius:12px}.light .images-row div button{padding:0 30px;background:#fff;border:none!important}.light .images-row div button:hover{background:#f5f5f5}.light .images-row div .tooltip{position:absolute!important;top:5px!important;right:5px!important}.light .images-row .iconButton{width:calc(100% - 22px);margin-top:10px}.light .light .images-row .iconButton{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px}.light .light .images-row .iconButton:hover{background:#f5f5f5}.light .light .images-row .iconButton:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .light .images-row .iconButton:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .light .images-row .iconButton{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px}.dark .light .images-row .iconButton:hover{background:#262626}.dark .light .images-row .iconButton:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .light .images-row .iconButton:focus{background:#262626;box-shadow:0 0 0 1px #fff}.light .images-row .iconButton{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.dark .images-row div{border-radius:12px;display:flex;align-items:center;justify-content:center;flex-flow:column;gap:5px;position:relative}.dark .images-row div img{width:100%;height:200px;object-fit:cover;border-radius:12px}.dark .images-row div button{padding:0 30px;background:#0a0a0a;border:none!important}.dark .images-row div button:hover{background:#262626}.dark .images-row div .tooltip{position:absolute!important;top:5px!important;right:5px!important}.dark .images-row .iconButton{width:calc(100% - 22px);margin-top:10px}.light .dark .images-row .iconButton{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px}.light .dark .images-row .iconButton:hover{background:#f5f5f5}.light .dark .images-row .iconButton:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .dark .images-row .iconButton:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .dark .images-row .iconButton{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px}.dark .dark .images-row .iconButton:hover{background:#262626}.dark .dark .images-row .iconButton:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .dark .images-row .iconButton:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .images-row .iconButton{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.images-grid{display:grid;padding:1px}.images-grid.selection-mode .image-checkbox{opacity:1}.images-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.light .images-grid .image-card{position:relative;border-radius:12px;background:#fafafa;overflow:hidden;transition:all .3s ease;box-shadow:0 0 0 1px #e7e3e9;cursor:pointer}.light .images-grid .image-card.selected{outline:3px solid #ff5c25;outline-offset:-3px}.light .images-grid .image-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px #00000026}.light .images-grid .image-card:hover .image-nav-buttons,.light .images-grid .image-card:hover .delete-button,.light .images-grid .image-card:hover .image-checkbox{opacity:1}.light .images-grid .image-card .image-checkbox{position:absolute;top:8px;left:8px;z-index:12;opacity:0;transition:opacity .2s}.light .images-grid .image-card .image-checkbox input[type=checkbox]{width:20px;height:20px;cursor:pointer;appearance:none;border:2px solid #fff;border-radius:4px;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .2s;box-shadow:0 2px 8px #0000004d;position:relative}.light .images-grid .image-card .image-checkbox input[type=checkbox]:checked{background:#ff5c25;border-color:#ff5c25;opacity:1}.light .images-grid .image-card .image-checkbox input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:2px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.light .images-grid .image-card .image-checkbox input[type=checkbox]:hover{border-color:#ff5c25;transform:scale(1.1)}.light .images-grid .image-card .image-checkbox:has(input:checked){opacity:1}.light .images-grid .image-card .image-preview{position:relative;width:100%;height:200px;overflow:hidden;background:#feffff}.light .images-grid .image-card .image-preview img{width:100%;height:100%;object-fit:cover}.light .images-grid .image-card .image-preview .video-icon-wrapper{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#feffff}.light .images-grid .image-card .image-preview .video-icon-wrapper .customvideoicon{font-size:60px;color:#333}.light .images-grid .image-card .image-preview .blur-placeholder{background-size:cover;background-position:center}.light .images-grid .image-card .image-preview .image-nav-buttons{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);display:flex;justify-content:space-between;padding:0 8px;opacity:0;transition:opacity .3s ease;pointer-events:none}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button{pointer-events:all;width:36px;height:36px;border-radius:50%;border:none;background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button svg{font-size:24px}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button:hover:not(:disabled){background:#000c;transform:scale(1.1)}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button:disabled{opacity:.3;cursor:not-allowed}.light .images-grid .image-card .image-metadata{padding:12px;display:flex;flex-direction:column;gap:6px}.light .images-grid .image-card .image-metadata .image-name{font-size:14px;font-weight:500;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.light .images-grid .image-card .image-metadata .image-details{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#333}.light .images-grid .image-card .image-metadata .image-details .detail{display:inline-block}.light .images-grid .image-card .image-metadata .image-details .folder-tag{padding:2px 8px;background:#f5f5f5;border-radius:4px;font-size:11px}.light .images-grid .image-card .delete-button{position:absolute;top:8px;right:8px;width:32px;height:32px;border-radius:50%;border:none;background:#ff4757e6;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:all .2s;z-index:11;box-shadow:0 2px 8px #0000004d}.light .images-grid .image-card .delete-button svg{font-size:20px}.light .images-grid .image-card .delete-button:hover{background:#ff4757;transform:scale(1.1)}.light .images-grid .image-card:hover .delete-button,.light .images-grid .image-card .image-checkbox:has(input:checked)~* .delete-button{opacity:1}.dark .images-grid .image-card{position:relative;border-radius:12px;background:#111;overflow:hidden;transition:all .3s ease;box-shadow:0 0 0 1px #484848;cursor:pointer}.dark .images-grid .image-card.selected{outline:3px solid #ff5c25;outline-offset:-3px}.dark .images-grid .image-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px #00000026}.dark .images-grid .image-card:hover .image-nav-buttons,.dark .images-grid .image-card:hover .delete-button,.dark .images-grid .image-card:hover .image-checkbox{opacity:1}.dark .images-grid .image-card .image-checkbox{position:absolute;top:8px;left:8px;z-index:12;opacity:0;transition:opacity .2s}.dark .images-grid .image-card .image-checkbox input[type=checkbox]{width:20px;height:20px;cursor:pointer;appearance:none;border:2px solid #fff;border-radius:4px;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .2s;box-shadow:0 2px 8px #0000004d;position:relative}.dark .images-grid .image-card .image-checkbox input[type=checkbox]:checked{background:#ff5c25;border-color:#ff5c25;opacity:1}.dark .images-grid .image-card .image-checkbox input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:2px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.dark .images-grid .image-card .image-checkbox input[type=checkbox]:hover{border-color:#ff5c25;transform:scale(1.1)}.dark .images-grid .image-card .image-checkbox:has(input:checked){opacity:1}.dark .images-grid .image-card .image-preview{position:relative;width:100%;height:200px;overflow:hidden;background:#151515}.dark .images-grid .image-card .image-preview img{width:100%;height:100%;object-fit:cover}.dark .images-grid .image-card .image-preview .video-icon-wrapper{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#151515}.dark .images-grid .image-card .image-preview .video-icon-wrapper .customvideoicon{font-size:60px;color:#a0a0a0}.dark .images-grid .image-card .image-preview .blur-placeholder{background-size:cover;background-position:center}.dark .images-grid .image-card .image-preview .image-nav-buttons{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);display:flex;justify-content:space-between;padding:0 8px;opacity:0;transition:opacity .3s ease;pointer-events:none}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button{pointer-events:all;width:36px;height:36px;border-radius:50%;border:none;background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button svg{font-size:24px}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button:hover:not(:disabled){background:#000c;transform:scale(1.1)}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button:disabled{opacity:.3;cursor:not-allowed}.dark .images-grid .image-card .image-metadata{padding:12px;display:flex;flex-direction:column;gap:6px}.dark .images-grid .image-card .image-metadata .image-name{font-size:14px;font-weight:500;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dark .images-grid .image-card .image-metadata .image-details{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#a0a0a0}.dark .images-grid .image-card .image-metadata .image-details .detail{display:inline-block}.dark .images-grid .image-card .image-metadata .image-details .folder-tag{padding:2px 8px;background:#262626;border-radius:4px;font-size:11px}.dark .images-grid .image-card .delete-button{position:absolute;top:8px;right:8px;width:32px;height:32px;border-radius:50%;border:none;background:#ff4757e6;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:all .2s;z-index:11;box-shadow:0 2px 8px #0000004d}.dark .images-grid .image-card .delete-button svg{font-size:20px}.dark .images-grid .image-card .delete-button:hover{background:#ff4757;transform:scale(1.1)}.dark .images-grid .image-card:hover .delete-button,.dark .images-grid .image-card .image-checkbox:has(input:checked)~* .delete-button{opacity:1}.storage-quota{padding:15px 20px;margin-top:10px;margin-bottom:50px}.light .storage-quota{background:#fafafa;border-top:1px solid #f5f5f5}.dark .storage-quota{background:#111;border-top:1px solid #262626}.storage-quota .quota-info{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.storage-quota .quota-info .quota-text{font-size:13px}.light .storage-quota .quota-info .quota-text{color:#333}.dark .storage-quota .quota-info .quota-text{color:#a0a0a0}.storage-quota .quota-info .quota-info-button{width:24px;height:24px;border-radius:50%;border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.light .storage-quota .quota-info .quota-info-button{color:#333}.light .storage-quota .quota-info .quota-info-button:hover{background:#f5f5f5}.dark .storage-quota .quota-info .quota-info-button{color:#a0a0a0}.dark .storage-quota .quota-info .quota-info-button:hover{background:#262626}.storage-quota .quota-info .quota-info-button svg{font-size:18px}.storage-quota .quota-bar{width:100%;height:6px;border-radius:3px;overflow:hidden}.light .storage-quota .quota-bar{background:#feffff}.dark .storage-quota .quota-bar{background:#151515}.storage-quota .quota-bar .quota-fill{height:100%;border-radius:3px;transition:all .3s ease}.taggingModalContent{padding:20px}.taggingModalContent p.subtitle{margin-bottom:20px}.taggingModalContent .taggingInput{display:flex;flex-direction:column;gap:8px}.taggingModalContent .taggingInput label{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .taggingModalContent .taggingInput label{color:#333}.dark .taggingModalContent .taggingInput label{color:#a0a0a0}.taggingModalContent .taggingInput input{padding:12px 16px;border-radius:8px;border:1px solid;font-size:14px;transition:all .2s}.light .taggingModalContent .taggingInput input{background:#fff;color:#000;border-color:#f5f5f5}.light .taggingModalContent .taggingInput input:focus{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c251a}.dark .taggingModalContent .taggingInput input{background:#0a0a0a;color:#fff;border-color:#262626}.dark .taggingModalContent .taggingInput input:focus{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c251a}.dropzone{margin-bottom:100px}.light .dropzone{background:#fff}.dark .dropzone{background:#0a0a0a}.dropzone .dropzone-content{min-height:200px}.dropzone .photosEmpty{padding:60px 20px;display:flex;align-items:center;justify-content:center}.dropzone .photosEmpty .emptyNewMessage{display:flex;flex-direction:column;align-items:center;gap:15px;text-align:center}.dropzone .photosEmpty .emptyNewMessage .title{font-size:18px;font-weight:500}.light .dropzone .photosEmpty .emptyNewMessage .title{color:#000}.dark .dropzone .photosEmpty .emptyNewMessage .title{color:#fff}.dropzone .photosEmpty .emptyNewMessage .subtitle{font-size:14px}.light .dropzone .photosEmpty .emptyNewMessage .subtitle{color:#333}.dark .dropzone .photosEmpty .emptyNewMessage .subtitle{color:#a0a0a0}.overviewGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:30px}.tabPreview{width:100%;aspect-ratio:2/1;display:flex;align-items:center;justify-content:center;margin-top:16px}.light .tabPreview{background:#fafafa;border-radius:12px;box-shadow:0 0 0 1px #e7e3e9}.dark .tabPreview{background:#111;border-radius:12px;box-shadow:0 0 0 1px #484848}.tabPreview .previewItem{display:flex;flex-flow:column;align-items:center}.tabPreview .previewItem .quotediv .quote{max-width:100%}.tabPreview .previewItem .quotediv .author-holder .author .author-content .title{font-size:1em!important}.light .tabPreview .previewItem .quotediv .author-holder .author .author-content .title{color:#000!important}.dark .tabPreview .previewItem .quotediv .author-holder .author .author-content .title{color:#fff!important}.overviewNews{display:flex;flex-flow:column;margin-top:16px;padding:25px}.overviewNews .title{font-size:36px!important;text-align:center}.overviewNews .subtitle{font-size:12px!important;text-align:center;text-transform:uppercase;letter-spacing:1px}.overviewNews .content{margin:20px 20px 0}.light .overviewNews{background:#fafafa;border-radius:12px;box-shadow:0 0 0 1px #e7e3e9}.dark .overviewNews{background:#111;border-radius:12px;box-shadow:0 0 0 1px #484848}.stats{display:flex;flex-flow:column;gap:30px;width:100%}.stats .rightPanel .statIcon{display:flex;justify-content:center;margin-bottom:30px}.stats .rightPanel .statGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:10px}.stats .rightPanel .statGrid div{display:flex;flex-flow:column}.stats .rightPanel .subtitle{text-transform:capitalize}.stats .rightPanel span{font-size:20px}.achievements{display:flex;flex-flow:column;gap:15px}.achievementsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:10px}.achievement{padding:20px 10px;display:flex;flex-flow:row!important;align-items:center}.light .achievement{background:#fafafa;border:1px solid #f5f5f5;border-radius:12px;gap:10px}.dark .achievement{background:#111;border:1px solid #262626;border-radius:12px;gap:10px}.achievement .timestamp{display:flex;flex-flow:row;align-items:center;gap:5px;font-size:12px}.light .achievement .timestamp{color:#333}.dark .achievement .timestamp{color:#a0a0a0}.achievement .achievementTitle{font-size:18px;font-weight:700}.achievement svg.trophy{font-size:20px!important}.light .achievement svg.trophy{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .achievement svg.trophy{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.achievement svg.trophy{padding:15px;border-radius:100%}.achievement svg.trophyLocked{font-size:20px!important}.light .achievement svg.trophyLocked{background-image:#f5f5f5;box-shadow:0 0 0 1px #e7e3e9}.dark .achievement svg.trophyLocked{background-image:#262626;box-shadow:0 0 0 1px #484848}.achievement svg.trophyLocked{padding:15px;border-radius:100%}.statSection.rightPanel{padding:25px}.light .statSection.rightPanel{border-radius:12px;background:#fafafa;box-shadow:0 0 0 1px #f5f5f5}.light .statSection.rightPanel svg{font-size:50px;color:#333}.dark .statSection.rightPanel{border-radius:12px;background:#111;box-shadow:0 0 0 1px #262626}.dark .statSection.rightPanel svg{font-size:50px;color:#a0a0a0}.achievementContent{display:flex;flex-flow:column;gap:2px}.achievementContent .subtitle{font-size:13px!important}.statsTopBar{display:flex;justify-content:space-between;align-items:center}.statsTopBar button{margin-bottom:15px;flex-flow:row!important;padding-left:20px;padding-right:20px}input[type=color]{border-radius:100%;height:30px;width:30px;border:none;outline:none;appearance:none;vertical-align:middle;background:none}.light input[type=color]{border:#f5f5f5 1px solid}.dark input[type=color]{border:#262626 1px solid}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:none;border-radius:100%}input[type=color]::-moz-color-swatch{border-radius:100%;height:30px;width:30px;border:none;outline:none;appearance:none;vertical-align:middle;background:none}input[type=color]::-moz-color-swatch::-moz-color-swatch{border:none;border-radius:100%}input[type=date]{width:260px;flex-flow:column}.light input[type=date]{background:#feffff;border:1px solid #f5f5f5;color:#000}.dark input[type=date]{background:#151515;border:1px solid #262626;color:#fff}input[type=date]{padding:15px 20px;border-radius:4px;display:flex!important;cursor:pointer}input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer}.dark ::-webkit-calendar-picker-indicator{filter:invert(1)}h4{cursor:pointer}.photosEmpty{height:400px;display:grid;place-items:center}.photosEmpty button{padding:0 20px}.imagesTopBar{position:sticky;top:-20px;z-index:90;padding:25px 0 15px;display:flex;flex-flow:row;justify-content:space-between;align-items:center}.light .imagesTopBar{background:#fff}.dark .imagesTopBar{background:#0a0a0a}.imagesTopBar .imagesTopBarTitle{display:flex;flex-flow:row;align-items:center;gap:20px}.imagesTopBar .imagesTopBarTitle svg{font-size:30px}.light .imagesTopBar .imagesTopBarTitle svg{color:#333}.dark .imagesTopBar .imagesTopBarTitle svg{color:#a0a0a0}.imagesTopBar .imagesTopBarTitle div{display:flex;flex-flow:column}.imagesTopBar .topbarbuttons{display:flex;flex-flow:row;gap:15px;align-items:center}.imagesTopBar button:not(.MuiButtonBase-root){padding:0 20px}.imagesControlBar{position:sticky;top:68px;z-index:89;padding:12px 0;margin-bottom:15px;display:flex;flex-flow:row;justify-content:space-between;align-items:center}.light .imagesControlBar{background:#fff;border-bottom:1px solid #f5f5f5}.dark .imagesControlBar{background:#0a0a0a;border-bottom:1px solid #262626}.imagesControlBar .controlBarLeft{display:flex;align-items:center;gap:10px;font-size:14px}.light .imagesControlBar .controlBarLeft{color:#333}.dark .imagesControlBar .controlBarLeft{color:#a0a0a0}.imagesControlBar .controlBarLeft .image-count{font-weight:500;display:flex}.light .imagesControlBar .controlBarLeft .image-count{color:#000}.dark .imagesControlBar .controlBarLeft .image-count{color:#fff}.imagesControlBar .controlBarLeft .image-count .storage-info{font-weight:400}.light .imagesControlBar .controlBarLeft .image-count .storage-info{color:#333}.dark .imagesControlBar .controlBarLeft .image-count .storage-info{color:#a0a0a0}.imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link{background:none;border:none;padding:0;margin-left:5px;cursor:pointer;text-decoration:underline;font-size:13px;transition:opacity .2s}.light .imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link,.dark .imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link{color:#ff5c25}.imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link:hover{opacity:.8}.imagesControlBar .controlBarLeft .selection-separator{opacity:.5}.imagesControlBar .controlBarLeft .selected-count{font-weight:500}.imagesControlBar .controlBarLeft .delete-link{background:none;border:none;padding:0;margin-left:5px;cursor:pointer;text-decoration:underline;font-size:14px;transition:opacity .2s}.light .imagesControlBar .controlBarLeft .delete-link,.dark .imagesControlBar .controlBarLeft .delete-link{color:#ff4757}.imagesControlBar .controlBarLeft .delete-link:hover{opacity:.8}.imagesControlBar .controlBarLeft .select-all-link{background:none;border:none;padding:0;margin-left:5px;cursor:pointer;text-decoration:underline;font-size:14px;transition:opacity .2s}.light .imagesControlBar .controlBarLeft .select-all-link{color:#333}.dark .imagesControlBar .controlBarLeft .select-all-link{color:#a0a0a0}.imagesControlBar .controlBarLeft .select-all-link:hover{opacity:.8}.light .imagesControlBar .controlBarLeft .select-all-link:hover{color:#000}.dark .imagesControlBar .controlBarLeft .select-all-link:hover{color:#fff}.imagesControlBar .controlBarRight{display:flex;align-items:center}.customcss textarea{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace!important}.preferences{transition:.4s ease-in-out}.preferencesInactive{opacity:.5;pointer-events:none;transition:.4s ease-in-out}.itemWarning{padding:10px 20px;display:flex;flex-flow:row;gap:15px;align-items:center}.itemWarning .text{display:flex;flex-flow:column}.itemWarning .text .header{font-weight:600;margin-bottom:5px}.light .itemWarning svg{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .itemWarning svg{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.itemWarning svg{padding:7px;border-radius:100%;font-size:24px;min-width:24px}.light .itemWarning{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.dark .itemWarning{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.lightBoxModal{margin:auto;max-width:60%;background:none!important;box-shadow:none!important}.lightBoxModal img{height:auto;width:100%}.lightBoxModal .closeModal{color:#fff;text-shadow:0 0 20px rgba(0,0,0,.3)}.items{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,280px));grid-gap:1.5rem;margin-top:15px;margin-bottom:30px}.items .item{position:relative;border-radius:12px;width:auto;cursor:pointer;transition:transform .3s cubic-bezier(.4,0,.2,1);display:flex;flex-flow:column;align-items:flex-start;gap:15px;background-position:center;background-repeat:no-repeat;background-size:cover;padding:1.5rem;will-change:transform;transform:translateZ(0)}.light .items .item{background-color:#fafafa;box-shadow:0 0 0 1px #f5f5f5}.light .items .item:hover{transform:translate3d(0,-5px,0)}.dark .items .item{background-color:#111;box-shadow:0 0 0 1px #262626}.dark .items .item:hover{transform:translate3d(0,-5px,0)}.items .item .tags{margin-top:7px}.items .item .item-icon{object-fit:cover!important;height:60px!important;width:60px!important;border-radius:12px;transition:.5s}.items .item .item-icon.item-icon-text{display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:600;letter-spacing:1px}.light .items .item .item-icon.item-icon-text{background-color:#f5f5f5;color:#000}.dark .items .item .item-icon.item-icon-text{background-color:#262626;color:#fff}.items .item .card-details{z-index:1;display:flex;flex-flow:column;align-items:flex-start}.items .item .card-details .card-title{font-size:18px}.items .item .card-details .card-subtitle{font-size:14px}.light .items .item .card-details .card-subtitle{color:#333}.dark .items .item .card-details .card-subtitle{color:#a0a0a0}.items .item .card-details .card-chips{margin-top:20px;display:flex;flex-flow:row;gap:8px;flex-wrap:wrap}.items .item .card-details .card-type,.items .item .card-details .card-collection{font-size:12px;font-weight:bolder}.light .items .item .card-details .card-type,.light .items .item .card-details .card-collection{color:#333}.dark .items .item .card-details .card-type,.dark .items .item .card-details .card-collection{color:#a0a0a0}.items .item .card-details .card-type,.items .item .card-details .card-collection{border-radius:150px;padding:2px 15px;background-color:#ffffff1a;border:1px solid rgba(209,213,219,.3)}.light .items .item .card-details .card-collection,.dark .items .item .card-details .card-collection{background-color:#ffffff26;border:1px solid rgba(209,213,219,.4)}.items .item .item-uninstall-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:none;background-color:#00000080;cursor:pointer;transition:background-color .2s ease}.items .item .item-uninstall-btn svg{color:#fff;font-size:18px}.items .item .item-uninstall-btn:hover{background-color:#dc3232e6}.items .item .item-installed-badge{position:absolute;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:2px solid rgba(255,255,255,.4);box-shadow:0 2px 6px #0000004d;z-index:2;pointer-events:none;will-change:transform}.items .item .item-installed-badge svg{color:#fff;font-size:20px}.items .item .item-sideload-badge{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background-color:#646464e6;cursor:help}.items .item .item-sideload-badge svg{color:#fff;font-size:16px}.items .item:hover .item-installed-badge{transform:scale(1.05)}.items .item.item-sideloaded{cursor:default}.items .item.item-sideloaded:hover{transform:none}.itemPage{display:flex;flex-flow:row;justify-content:space-between;align-items:flex-start;gap:30px;flex-wrap:wrap}.itemPage .itemContent{display:flex;flex-flow:column;gap:25px;flex:1}.itemPage .itemContent img{width:100%;height:auto;border-radius:12px}.itemPage .itemContent table{table-layout:fixed;width:100%;word-wrap:break-word!important;font-size:16px;border-collapse:collapse}.itemPage .itemContent .itemTop{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background-color:#646464e6;cursor:help}.itemPage .itemContent .itemTop svg{color:#fff;font-size:16px}.itemPage .itemContent:hover .item-installed-badge{transform:scale(1.05)}.itemPage .itemContent.item-sideloaded{cursor:default}.itemPage .itemContent.item-sideloaded:hover{transform:none}.emptyItems{width:100%;height:100%;display:grid;place-items:center}.emptyMessage{display:grid;place-items:center;grid-gap:5px;padding:50px}.emptyMessage .title,.emptyMessage svg{margin:10px}.emptyMessage svg{font-size:70px}.light .emptyMessage .sideloadIcon{font-size:50px;color:#333}.dark .emptyMessage .sideloadIcon{font-size:50px;color:#a0a0a0}.emptyMessage button{display:flex;flex-flow:row}.emptyNewMessage{display:flex;gap:20px;flex-flow:column;text-align:center;align-items:center;-webkit-user-select:none;user-select:none}.emptyNewMessage img{width:200px;height:auto}.emptyNewMessage svg{font-size:70px}.emptyNewMessage button svg{font-size:1rem}.emptyNewMessage .buttonsRow{display:flex;flex-flow:row;gap:30px;align-items:center}p.author{margin-top:-5px}#item>img,.updateImage,.updateChangelog>p>img{border-radius:12px;height:200px;width:auto;cursor:pointer}.filter{display:flex;flex-flow:row;gap:15px;justify-content:space-between;align-items:center}.filter .MuiFormControl-root{margin-bottom:10px}.filter .buttonSection{display:flex;flex-flow:row;gap:20px}.filter .tags{max-width:50%}.createYourOwn{display:flex;flex-flow:column;gap:20px;align-items:center;margin-top:30px}.createYourOwn svg{font-size:30px}.topAddons{display:flex;align-items:center;justify-content:space-between}.modalHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.modalHeader .tooltip{margin-right:25px}.modalHeader .mainTitle{margin-bottom:0!important}.filter-options-container{display:flex;flex-flow:row;gap:20px;margin:20px 0;align-items:center;justify-content:space-between}.filter-chips{display:flex;flex-flow:row;gap:12px;align-items:center}.filter-chips .filter-chip{all:unset;padding:8px 20px;border-radius:24px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;-webkit-user-select:none;user-select:none}.light .filter-chips .filter-chip{background-color:#f5f5f5;color:#000}.dark .filter-chips .filter-chip{background-color:#262626;color:#fff}.light .filter-chips .filter-chip:hover,.dark .filter-chips .filter-chip:hover{background-color:#ffffff26}.light .filter-chips .filter-chip.active,.dark .filter-chips .filter-chip.active{background-color:#fff;color:#000}.light .filter-chips .filter-chip.active:hover,.dark .filter-chips .filter-chip.active:hover{background-color:#f0f0f0}.filter-chips .filter-chip:focus-visible{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}.Overlay{position:fixed;z-index:100;inset:0;width:100vw;height:100vh;display:grid;place-items:center}.light .Modal{color:#000}.dark .Modal{color:#fff}.Modal{box-shadow:0 0 20px #0000004d;opacity:1;z-index:-2;transition-timing-function:ease-in;border-radius:12px;user-select:none;overflow:hidden;transform:scale(0);transition:all .3s cubic-bezier(.47,1.64,.41,.8)}.Modal:focus{outline:0}.Modal .modalInfoPage{user-select:text}.closePositioning{position:absolute;top:3rem;right:3rem}.closeModal{display:grid;place-items:center;padding:.5em;border-radius:12px;cursor:pointer;transition:.5s;outline:none;border:none;background:transparent}.closeModal svg{font-size:2em}.light .closeModal{color:#000}.dark .closeModal{color:#fff}.light .closeModal:hover{background:#f5f5f5}.dark .closeModal:hover{background:#262626}.ReactModal__Html--open,.ReactModal__Body--open{overflow:hidden}.ReactModal__Content--after-open{opacity:1;transform:scale(1)}.ReactModal__Content--before-close{opacity:0;transform:scale(0)}#modal{height:80vh;width:clamp(60vw,1400px,90vw);-webkit-backdrop-filter:blur(16px) saturate(180%);backdrop-filter:blur(16px) saturate(180%);overflow:hidden;border-radius:12px}.light #modal{background-color:#fff}.dark #modal{background-color:#0a0a0a}label,p,span.modalLink{font-size:1rem}h2{font-size:2rem;margin-bottom:0}h3{font-size:1.17rem}h5{font-size:.8rem}.loaderHolder{display:flex;gap:15px;flex-flow:column;align-items:center}#loader{display:inline-block;width:50px;height:50px}.light #loader{border:3px solid #feffff;border-radius:50%;border-top-color:#f5f5f5}.dark #loader{border:3px solid #151515;border-radius:50%;border-top-color:#262626}#loader{animation:spin 1s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}.headerExtras{display:flex;flex-flow:column;gap:-1px;padding:10px 0}.headerExtras div:nth-child(1){display:flex;flex-flow:column;gap:10px}.headerExtras form{margin-top:10px}.headerExtras .link{display:flex;flex-flow:row;gap:15px;align-items:center}.light .headerExtras .MuiOutlinedInput-notchedOutline{border-color:#f5f5f5!important}.dark .headerExtras .MuiOutlinedInput-notchedOutline{border-color:#262626!important}.headerActions{display:flex;flex-flow:row;gap:20px;justify-content:center;align-items:center}.headerActions .link{display:flex;flex-flow:row;gap:15px;align-items:center}.marketplaceCondition{display:flex;flex-flow:row!important;gap:-1px;justify-content:space-between;align-items:center}.languageSettings{padding-bottom:50px}.languageSettings .MuiFormGroup-root{gap:5px}.languageSettings .MuiFormControl-root{width:100%!important;gap:15px}.languageSettings .MuiFormControl-root .MuiFormControlLabel-root{display:flex;flex-direction:row-reverse;justify-content:space-between;padding:5px 5px 5px 20px;transition:.3s}.light .languageSettings .MuiFormControl-root .MuiFormControlLabel-root{background:#feffff;border-radius:12px}.light .languageSettings .MuiFormControl-root .MuiFormControlLabel-root:hover{background:#f5f5f5}.dark .languageSettings .MuiFormControl-root .MuiFormControlLabel-root{background:#151515;border-radius:12px}.dark .languageSettings .MuiFormControl-root .MuiFormControlLabel-root:hover{background:#262626}.sliderTitle{width:100%;display:flex;justify-content:space-between;padding:15px 0}.sliderTitle .link{display:flex;flex-flow:row;gap:15px;align-items:center}.moreSettings{cursor:pointer;display:flex;flex-flow:row;justify-content:space-between;padding:25px;margin-top:20px;transition:.5s}.light .moreSettings{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.light .moreSettings:hover{background:#f5f5f5}.dark .moreSettings{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.dark .moreSettings:hover{background:#262626}.moreSettings svg{font-size:20px}.moreSettings .left{display:flex;flex-flow:row;align-items:center;gap:25px}.light .moreSettings .left svg{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .moreSettings .left svg{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.moreSettings .left svg{padding:15px;border-radius:100%}.moreSettings .content{display:flex;flex-flow:column}.moreSettings .action{display:flex;flex-flow:row;gap:20px;align-items:center}.reminder-info{display:flex;flex-flow:column;position:absolute;bottom:0;padding:15px;gap:15px}.light .reminder-info{background-color:#fafafa;border-radius:12px;border:1px solid #f5f5f5}.dark .reminder-info{background-color:#111;border-radius:12px;border:1px solid #262626}.light .reminder-info button{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px}.light .reminder-info button:hover{background:#f5f5f5}.light .reminder-info button:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .reminder-info button:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .reminder-info button{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px}.dark .reminder-info button:hover{background:#262626}.dark .reminder-info button:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .reminder-info button:focus{background:#262626;box-shadow:0 0 0 1px #fff}.reminder-info button{padding:5px;font-size:5px;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center;display:flex;justify-content:center;gap:15px}.reminder-info button svg{margin:0!important}.reminder-info svg{margin:0!important}.quoteSkeleton{margin-top:5px;display:flex;flex-flow:column;gap:5px;align-items:center}.quoteSkeleton div{display:flex;flex-flow:row}.quoteSkeleton .text{display:flex;flex-flow:column;padding:5px}.quoteSkeleton .skeletonAuthor{font-size:smaller;display:flex;flex-flow:row;align-items:center;gap:25px;padding:0 20px 0 5px}.light .quoteSkeleton .skeletonAuthor svg{background-color:#feffff;padding:10px;border-radius:12px;place-items:center}.dark .quoteSkeleton .skeletonAuthor svg{background-color:#151515;padding:10px;border-radius:12px;place-items:center}.light .quoteSkeleton .skeletonAuthor{background-color:#f5f5f5;border-radius:12px}.dark .quoteSkeleton .skeletonAuthor{background-color:#262626;border-radius:12px}.quoteSkeleton .skeletonAuthor .title{font-size:medium!important}.quoteSkeleton .skeletonAuthor .subtitle{font-size:smaller!important}.quickLinksSkeleton .circles{display:flex;flex-flow:row;gap:5px}.quickLinksSkeleton .circles div{margin-top:10px;padding:3px;height:20px;width:20px;border-radius:100%;display:grid;place-items:center}.light .quickLinksSkeleton .circles div{background-color:#f5f5f5}.dark .quickLinksSkeleton .circles div{background-color:#262626}.clockSkeleton{font-size:30px!important;font-weight:700}.quicklinkscontainer textarea,.quicklinksdropdown,.quickLinksMetro{backdrop-filter:blur(15px)}.light .quicklinkscontainer textarea,.quicklinkscontainer .light textarea,.light .quicklinksdropdown,.light .quickLinksMetro{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .quicklinkscontainer textarea,.quicklinkscontainer .dark textarea,.dark .quicklinksdropdown,.dark .quickLinksMetro{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.quicklinkscontainer textarea .title,.quicklinksdropdown .title,.quickLinksMetro .title{font-size:18px}.light .quicklinkscontainer textarea .title,.quicklinkscontainer .light textarea .title,.light .quicklinksdropdown .title,.light .quickLinksMetro .title{color:#000}.dark .quicklinkscontainer textarea .title,.quicklinkscontainer .dark textarea .title,.dark .quicklinksdropdown .title,.dark .quickLinksMetro .title{color:#fff}.quicklinkscontainer textarea .subtitle,.quicklinksdropdown .subtitle,.quickLinksMetro .subtitle{font-size:14px}.light .quicklinkscontainer textarea .subtitle,.quicklinkscontainer .light textarea .subtitle,.light .quicklinksdropdown .subtitle,.light .quickLinksMetro .subtitle{color:#333}.dark .quicklinkscontainer textarea .subtitle,.quicklinkscontainer .dark textarea .subtitle,.dark .quicklinksdropdown .subtitle,.dark .quickLinksMetro .subtitle{color:#a0a0a0}.addLinkModal .mainTitle{display:flex;align-items:center;font-size:38px;font-weight:600;margin-bottom:15px;text-transform:capitalize}.light .addLinkModal .mainTitle{color:#000}.dark .addLinkModal .mainTitle{color:#fff}.addLinkModal .mainTitle .backTitle{cursor:pointer;transition:.5s}.light .addLinkModal .mainTitle .backTitle{color:#333}.light .addLinkModal .mainTitle .backTitle:hover{color:#000}.dark .addLinkModal .mainTitle .backTitle{color:#a0a0a0}.dark .addLinkModal .mainTitle .backTitle:hover{color:#fff}.addLinkModal .title{font-size:24px;font-weight:600}.light .addLinkModal .title{color:#000}.dark .addLinkModal .title{color:#fff}.addLinkModal .subtitle{font-size:16px;font-family:Inter,sans-serif!important}.light .addLinkModal .subtitle{color:#333}.dark .addLinkModal .subtitle{color:#a0a0a0}.addLinkModal .link{font-size:16px;text-decoration:none;cursor:pointer}.light .addLinkModal .link,.dark .addLinkModal .link{color:#ff5c25}.addLinkModal .link:hover{opacity:.8}.light .quicklinks{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .quicklinks:hover{background:#f7fafce6}.light .quicklinks:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .quicklinks:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .quicklinks{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .quicklinks:hover{background:#565656}.dark .quicklinks:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .quicklinks:focus{background:#565656;box-shadow:0 0 0 1px #fff}.quicklinks{font-size:14px;cursor:pointer;transition:.5s;display:grid;place-items:center;outline:none;border:none;box-shadow:0 0 0 1px #484848;border-radius:12px;color:#fff;display:flex;align-items:center;justify-content:space-evenly;font-size:.5em;padding:10px 40px;gap:15px}.quicklinkscontainer{border-radius:12px;z-index:1;display:flex;place-content:center center;flex-wrap:wrap;padding:0 25px;gap:12px;max-width:100%;overflow-x:visible;box-sizing:border-box}.quicklinkscontainer.sortable-quicklinks{cursor:default}.quicklinkscontainer textarea{border:none;padding:15px;border-radius:12px}.quicklinkscontainer ::placeholder{color:#636e72;opacity:1}.topbarquicklinks svg{font-size:46px;padding:9px}.topbarquicklinks h4{margin:0;cursor:initial;user-select:none;text-shadow:none}.topbarquicklinks p{font-size:16px;cursor:initial;user-select:none;color:#ff4757}.messagesContainer.disabled{pointer-events:none;user-select:none;opacity:.55}.quicklink-wrapper{position:relative;display:flex;align-items:center;gap:8px;transition:all .2s ease;cursor:grab;user-select:none;border-radius:8px;padding:4px}.quicklink-wrapper:hover{background:#ffffff0d}.quicklink-wrapper:hover .quicklink-drag-handle{opacity:1}.quicklink-wrapper:active{cursor:grabbing}.quicklink-wrapper a{margin:0;flex:1;display:flex;align-items:center;justify-content:center}.quicklink-drag-handle{display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:#fff6;cursor:grab;opacity:0;transition:opacity .2s ease,color .2s ease;border-radius:4px}.quicklink-drag-handle:hover{color:#fffc;background:#ffffff1a}.quicklink-drag-handle svg{width:16px;height:16px}.metro-wrapper{flex-direction:column}.metro-wrapper .quicklink-drag-handle{position:absolute;top:8px;left:8px;z-index:2}.quicklinkstext{text-decoration:none;color:#fff;font-size:.8em}.quicklinkstext:hover{text-decoration:underline}.quicklinksdropdown{position:absolute;z-index:99;display:none;flex-flow:column;padding:15px;box-shadow:0 0 0 1px #484848;gap:5px}.quicklinksdropdown:hover .quicklinksdropdown{display:block}.quicklinksdropdown .dropdown-title{font-size:.9em}.quicklinksdropdown .dropdown-subtitle{font-size:.4em}.light .quicklinksdropdown .dropdown-subtitle{color:#333}.dark .quicklinksdropdown .dropdown-subtitle{color:#a0a0a0}.light .quicklinksdropdown button{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .quicklinksdropdown button:hover{background:#f7fafce6}.light .quicklinksdropdown button:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .quicklinksdropdown button:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .quicklinksdropdown button{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .quicklinksdropdown button:hover{background:#565656}.dark .quicklinksdropdown button:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .quicklinksdropdown button:focus{background:#565656;box-shadow:0 0 0 1px #fff}.quicklinksdropdown button{padding:10px;font-size:.9rem;cursor:pointer;transition:.5s;display:grid;place-items:center;border-radius:12px;border:none;outline:none;color:#fff;display:flex;align-items:center;justify-content:center;gap:20px}.dropdown-error{font-size:.4em}button.quicklinks{cursor:pointer}.outOfScreen{bottom:515px}.addLinkModal{padding:15px}.light .addLinkModal{background:#fafafa}.dark .addLinkModal{background:#111}.light .addLinkModal button{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .addLinkModal button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .addLinkModal button:hover{background:#f5f5f5}.light .addLinkModal button:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .addLinkModal button:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .addLinkModal button:disabled{background:#f5f5f5;cursor:not-allowed}.dark .addLinkModal button{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .addLinkModal button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .addLinkModal button:hover{background:#262626}.dark .addLinkModal button:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .addLinkModal button:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .addLinkModal button:disabled{background:#262626;cursor:not-allowed}.addLinkModal button{padding:10px 30px;float:right}.addLinkModal .addFooter{display:flex;flex-flow:row;justify-content:space-between;align-items:center}.addLinkModal .dropdown-error{font-size:16px;padding-left:5px;color:#e74c3c}.quicklinkModalTextbox{display:grid;grid-template-rows:auto 1fr;grid-template-columns:repeat(2,1fr);grid-gap:10px;padding:15px 0}.quicklinkModalTextbox button{display:flex;flex-flow:row;gap:20px;justify-content:center}.quicklinkModalTextbox .dropdown-error{font-size:30px;padding-left:5px;color:#e74c3c}.light .quicklinkModalTextbox textarea{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px;padding:10px 20px}.light .quicklinkModalTextbox textarea:hover,.light .quicklinkModalTextbox textarea:active{box-shadow:0 0 0 1px #000}.light .quicklinkModalTextbox textarea:focus{box-shadow:0 0 0 1px #000}.dark .quicklinkModalTextbox textarea{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px;padding:10px 20px}.dark .quicklinkModalTextbox textarea:hover,.dark .quicklinkModalTextbox textarea:active{box-shadow:0 0 0 1px #fff}.dark .quicklinkModalTextbox textarea:focus{box-shadow:0 0 0 1px #fff}.quickLinksMetro{text-decoration:none;gap:10px;display:flex;flex-flow:column;align-items:center;min-width:100px;background-image:linear-gradient(to left,rgb(0,0,0),transparent,rgb(0,0,0));transition:.8s;text-align:left;padding:20px 40px}.light .quickLinksMetro:hover{background:#f7fafce6}.dark .quickLinksMetro:hover{background:#565656}.quickLinksMetro img{width:auto;align-self:center}.quicklinknostyle{text-decoration:none;font-size:14px}.light .quicklinknostyle{color:#333}.dark .quicklinknostyle{color:#a0a0a0}.messageMap{display:flex;align-items:center;gap:12px;padding:10px;border-radius:10px;transition:box-shadow .15s ease,transform .12s ease,opacity .12s ease;cursor:grab;user-select:none;background:transparent;border:1px solid rgba(255,255,255,.03)}.messageMap:active{cursor:grabbing}.messageMap.dragging{opacity:.6;transform:scale(.995);box-shadow:0 8px 20px #00000059;z-index:10}.messageMap.drag-over{outline:2px dashed rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px #ffffff08;background:#ffffff03}.messageMap .dragHandle{display:flex;align-items:center;justify-content:center;color:#ffffffa6;font-size:20px;padding:6px;border-radius:8px;margin-right:4px;cursor:grab;user-select:none;transition:background .12s ease,color .12s ease}.messageMap .dragHandle:hover{color:#ffffffe6;background:#ffffff05}.messageMap .messageText{flex:1 1 auto;min-width:0}.messageMap .messageText .title{font-weight:600;font-size:.95rem;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messageMap .messageText .subtitle{font-size:.8rem;color:#fff9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messageMap .messageAction{display:flex;gap:8px;align-items:center}.quicklinks-list{display:flex;flex-direction:column;gap:12px;padding:16px 0;width:100%}.quicklink-item{display:flex;align-items:center;gap:16px;background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:16px 20px;transition:all .01s ease;cursor:grab;user-select:none}.quicklink-item:hover{background:#ffffff0f;border-color:#ffffff1f}.quicklink-item:hover .quicklink-drag-handle{opacity:1;color:#ffffffb3}.quicklink-item:active{cursor:grabbing}.quicklink-item .quicklink-drag-handle{display:flex;align-items:center;justify-content:center;cursor:grab;color:#fff6;font-size:24px;padding:4px;opacity:.3;transition:opacity .2s ease,color .2s ease}.quicklink-item .quicklink-drag-handle:active{cursor:grabbing}.quicklink-item .quicklink-drag-handle:hover{color:#ffffffe6}.quicklink-item .quicklink-icon{width:48px;height:48px;border-radius:50%;background:#ffffff14;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;border:1px solid rgba(255,255,255,.1)}.quicklink-item .quicklink-icon img{width:32px;height:32px;object-fit:contain;user-select:none;pointer-events:none}.quicklink-item .quicklink-icon .quicklink-icon-placeholder{font-size:20px}.quicklink-item .quicklink-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.quicklink-item .quicklink-content .quicklink-name{font-size:16px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.quicklink-item .quicklink-content .quicklink-url{font-size:13px;color:#ffffff80;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.quicklink-item .quicklink-actions{display:flex;gap:8px;flex-shrink:0}.quicklink-item .quicklink-actions .quicklink-action-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:#ffffff0d;color:#fff;font-size:14px;cursor:pointer;transition:all .2s ease;white-space:nowrap}.quicklink-item .quicklink-actions .quicklink-action-btn svg{font-size:16px;flex-shrink:0}.quicklink-item .quicklink-actions .quicklink-action-btn:hover{background:#ffffff1a;border-color:#ffffff40}.quicklink-item .quicklink-actions .quicklink-action-btn:active{transform:translateY(0)}.quicklink-item .quicklink-actions .quicklink-action-btn.quicklink-remove-btn:hover{background:#ef444426;border-color:#ef444466;color:#ef4444}.quicklink-item.disabled{cursor:default}.quicklink-item.disabled .quicklink-action-btn{opacity:.6;cursor:not-allowed}.quicklink-item.disabled .drag-handle{cursor:not-allowed;opacity:.5}.sortable-helper{transform:scale(1.02);z-index:9999!important;opacity:.5!important;box-shadow:0 12px 40px #00000080!important;cursor:grabbing!important}.sortable-helper.quicklink-item{background:#ffffff1a!important;border-color:#fff3!important}.sortable-helper .quicklink-drag-handle{opacity:1!important;color:#ffffffe6!important}.sortable-helper .quicklink-icon,.sortable-helper .quicklink-content,.sortable-helper .quicklink-actions,.sortable-helper img{opacity:1!important;visibility:visible!important}.sortable-helper *{pointer-events:none!important}.sortable-ghost{opacity:0!important;visibility:hidden!important;pointer-events:none!important;background:#ffffff1a!important;transition:none!important}.messagesContainer{display:flex;flex-direction:column;gap:8px;padding-bottom:50px}.quicklink-wrapper .quicklinkstext{text-decoration:none;color:#fff;font-size:.8em;padding:8px 12px;border-radius:6px;transition:all .2s ease}.quicklink-wrapper .quicklinkstext:hover{text-decoration:underline;background:#ffffff1a}.quicklink-wrapper .quickLinksMetro{position:relative;min-width:100px}.quicklink-wrapper .quickLinksMetro .subtitle{margin-top:8px;font-size:.8rem;color:#ffffffe6}.date{cursor:initial;user-select:none;text-transform:capitalize;font-weight:700;--shadow-shift: .125rem}.message{cursor:default;margin:0;user-select:none;font-size:1em}.slider-container{width:300px;margin-bottom:30px}.slider-container .slider-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.slider-container .slider-value{font-size:16px;font-weight:600}.light .slider-container .slider-value{color:#000}.dark .slider-container .slider-value{color:#fff}.slider-container .slider-reset{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .slider-container .slider-reset,.dark .slider-container .slider-reset{color:#ff5c25}.slider-container .slider-reset:hover{opacity:.8}.slider-container .slider-reset svg{font-size:12px}.slider-container .slider-wrapper{position:relative;width:100%}.slider-container .slider-input{-webkit-appearance:none;appearance:none;width:100%;height:6px;border-radius:3px;outline:none;cursor:pointer;transition:background .3s ease}.light .slider-container .slider-input{background:linear-gradient(to right,#ff5c25 0%,#ff5c25 var(--slider-percentage),#f5f5f5 var(--slider-percentage),#f5f5f5 100%)}.dark .slider-container .slider-input{background:linear-gradient(to right,#ff5c25 0%,#ff5c25 var(--slider-percentage),#262626 var(--slider-percentage),#262626 100%)}.slider-container .slider-input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 6px #0003}.light .slider-container .slider-input::-webkit-slider-thumb{background:#000;border:2px solid #ff5c25}.dark .slider-container .slider-input::-webkit-slider-thumb{background:#fff;border:2px solid #ff5c25}.slider-container .slider-input::-webkit-slider-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px #0000004d}.slider-container .slider-input::-moz-range-thumb{width:20px;height:20px;border-radius:50%;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 6px #0003;border:none}.light .slider-container .slider-input::-moz-range-thumb{background:#000;border:2px solid #ff5c25}.dark .slider-container .slider-input::-moz-range-thumb{background:#fff;border:2px solid #ff5c25}.slider-container .slider-input::-moz-range-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px #0000004d}.slider-container .slider-input:focus-visible{outline:none}.light .slider-container .slider-input:focus-visible::-webkit-slider-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.dark .slider-container .slider-input:focus-visible::-webkit-slider-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.slider-container .slider-input:focus-visible::-webkit-slider-thumb{transform:scale(1.15)}.light .slider-container .slider-input:focus-visible::-moz-range-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.dark .slider-container .slider-input:focus-visible::-moz-range-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.slider-container .slider-input:focus-visible::-moz-range-thumb{transform:scale(1.15)}.slider-container .slider-input:active:not(:disabled)::-webkit-slider-thumb{transform:scale(1.2)}.slider-container .slider-input:active:not(:disabled)::-moz-range-thumb{transform:scale(1.2)}.slider-container .slider-input:disabled{opacity:.5;cursor:not-allowed}.slider-container .slider-input:disabled::-webkit-slider-thumb{cursor:not-allowed;transform:scale(1)!important}.slider-container .slider-input:disabled::-moz-range-thumb{cursor:not-allowed;transform:scale(1)!important}.slider-container .slider-marks{position:relative;width:100%;height:20px;margin-top:8px}.slider-container .slider-marks .slider-mark{position:absolute;transform:translate(-50%);font-size:12px}.light .slider-container .slider-marks .slider-mark{color:#333}.dark .slider-container .slider-marks .slider-mark{color:#a0a0a0}@keyframes checkScale{0%{transform:scale(0);opacity:0}50%{transform:scale(1.1)}to{transform:scale(1);opacity:1}}.checkbox-wrapper{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;cursor:pointer;padding:8px 0}.checkbox-wrapper.disabled{opacity:.5;cursor:not-allowed}.light .checkbox-wrapper:hover:not(.disabled) .checkbox-label{color:#ff5c25}.dark .checkbox-wrapper:hover:not(.disabled) .checkbox-label{color:#ff5c25}.checkbox-wrapper .checkbox-label{flex:1;transition:color .2s ease;pointer-events:none}.light .checkbox-wrapper .checkbox-label{color:#000}.dark .checkbox-wrapper .checkbox-label{color:#fff}.checkbox-wrapper .checkbox-box{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;transition:all .2s ease;cursor:pointer;flex-shrink:0;pointer-events:none}.light .checkbox-wrapper .checkbox-box{border:2px solid #f5f5f5;background:#feffff;color:#000}.light .checkbox-wrapper .checkbox-box:hover:not(.disabled){border-color:#000;transform:scale(1.05)}.dark .checkbox-wrapper .checkbox-box{border:2px solid #262626;background:#151515;color:#fff}.dark .checkbox-wrapper .checkbox-box:hover:not(.disabled){border-color:#fff;transform:scale(1.05)}.checkbox-wrapper .checkbox-box:active:not(.disabled){transform:scale(.95)}.light .checkbox-wrapper .checkbox-box:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.dark .checkbox-wrapper .checkbox-box:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.light .checkbox-wrapper .checkbox-box.checked,.dark .checkbox-wrapper .checkbox-box.checked{background:#ff5c25;border-color:#ff5c25}.checkbox-wrapper .checkbox-box.checked svg{animation:checkScale .3s cubic-bezier(.68,-.55,.265,1.55)}.checkbox-wrapper .checkbox-box svg{font-size:18px;color:#fff}.checkbox-wrapper .checkbox-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}.light .checkbox-wrapper .checkbox-input:focus-visible+.checkbox-box{box-shadow:0 0 0 3px #ff5c25}.dark .checkbox-wrapper .checkbox-input:focus-visible+.checkbox-box{box-shadow:0 0 0 3px #ff5c25}.checkbox-wrapper .checkbox-input:disabled{cursor:not-allowed}.chipSelect{position:relative;width:300px;margin-top:10px}.chipSelect .chipSelect-label{display:block;margin-bottom:8px;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .chipSelect .chipSelect-label{color:#333}.dark .chipSelect .chipSelect-label{color:#a0a0a0}.chipSelect .chipSelect-control{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:8px 12px;cursor:pointer;transition:.2s ease}.light .chipSelect .chipSelect-control{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .chipSelect .chipSelect-control:hover{border-color:#000}.dark .chipSelect .chipSelect-control{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .chipSelect .chipSelect-control:hover{border-color:#fff}.chipSelect .chipSelect-value{flex:1;min-width:0}.light .chipSelect .chipSelect-placeholder{color:#333}.dark .chipSelect .chipSelect-placeholder{color:#a0a0a0}.chipSelect .chipSelect-chips{display:flex;flex-wrap:wrap;gap:6px}.chipSelect .chipSelect-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;font-size:13px;text-transform:capitalize}.light .chipSelect .chipSelect-chip{background:#f5f5f5;border-radius:6px;color:#000}.dark .chipSelect .chipSelect-chip{background:#262626;border-radius:6px;color:#fff}.chipSelect .chipSelect-chip .chipSelect-chip-remove{display:flex;align-items:center;justify-content:center;padding:2px;margin-left:2px;border:none;background:transparent;cursor:pointer;border-radius:50%;transition:.2s ease}.light .chipSelect .chipSelect-chip .chipSelect-chip-remove{color:#333}.light .chipSelect .chipSelect-chip .chipSelect-chip-remove:hover{background:#ffffff1a;color:#000}.dark .chipSelect .chipSelect-chip .chipSelect-chip-remove{color:#a0a0a0}.dark .chipSelect .chipSelect-chip .chipSelect-chip-remove:hover{background:#ffffff1a;color:#fff}.chipSelect .chipSelect-chip .chipSelect-chip-remove svg{font-size:14px}.chipSelect .chipSelect-arrow{flex-shrink:0;font-size:24px;transition:transform .2s ease}.light .chipSelect .chipSelect-arrow{color:#333}.dark .chipSelect .chipSelect-arrow{color:#a0a0a0}.chipSelect .chipSelect-arrow.open{transform:rotate(180deg)}.chipSelect .chipSelect-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:250px;overflow-y:auto;z-index:100}.light .chipSelect .chipSelect-dropdown{background:#fff;border:1px solid #f5f5f5;border-radius:12px;box-shadow:0 4px 12px #00000026}.dark .chipSelect .chipSelect-dropdown{background:#0a0a0a;border:1px solid #262626;border-radius:12px;box-shadow:0 4px 12px #00000026}.chipSelect .chipSelect-option{display:flex;align-items:center;gap:10px;padding:12px 16px;cursor:pointer;transition:.2s ease}.light .chipSelect .chipSelect-option{color:#000}.light .chipSelect .chipSelect-option:hover{background:#f5f5f5}.light .chipSelect .chipSelect-option.selected{background:#feffff}.dark .chipSelect .chipSelect-option{color:#fff}.dark .chipSelect .chipSelect-option:hover{background:#262626}.dark .chipSelect .chipSelect-option.selected{background:#151515}.chipSelect .chipSelect-option .chipSelect-option-checkbox{display:flex;align-items:center;justify-content:center;width:20px;height:20px;font-size:12px;font-weight:700}.light .chipSelect .chipSelect-option .chipSelect-option-checkbox{border:2px solid #f5f5f5;border-radius:4px;color:#000}.dark .chipSelect .chipSelect-option .chipSelect-option-checkbox{border:2px solid #262626;border-radius:4px;color:#fff}.light .chipSelect .chipSelect-option.selected .chipSelect-option-checkbox{background:#f5f5f5;border-color:#000}.dark .chipSelect .chipSelect-option.selected .chipSelect-option-checkbox{background:#262626;border-color:#fff}.chipSelect .chipSelect-option .chipSelect-option-label{flex:1}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dropdown{position:relative;width:300px;margin-top:10px;gap:8px;display:flex;flex-flow:column}.dropdown.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.dropdown .dropdown-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.dropdown .dropdown-label{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .dropdown .dropdown-label{color:#333}.dark .dropdown .dropdown-label{color:#a0a0a0}.dropdown .dropdown-reset{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .dropdown .dropdown-reset,.dark .dropdown .dropdown-reset{color:#ff5c25}.dropdown .dropdown-reset:hover{opacity:.8}.dropdown .dropdown-reset svg{font-size:12px}.dropdown .dropdown-control{display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 16px;cursor:pointer;transition:all .2s ease;outline:none}.light .dropdown .dropdown-control{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .dropdown .dropdown-control:hover{border-color:#000}.dark .dropdown .dropdown-control{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .dropdown .dropdown-control:hover{border-color:#fff}.dropdown .dropdown-control:focus-visible{outline:none}.light .dropdown .dropdown-control:focus-visible{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c25}.dark .dropdown .dropdown-control:focus-visible{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c25}.dropdown .dropdown-value{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color .2s ease}.dropdown .dropdown-arrow{flex-shrink:0;font-size:24px;transition:transform .2s ease}.light .dropdown .dropdown-arrow{color:#333}.dark .dropdown .dropdown-arrow{color:#a0a0a0}.dropdown .dropdown-arrow.open{transform:rotate(180deg)}.dropdown .dropdown-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:250px;overflow-y:auto;z-index:9999;animation:dropdownSlideIn .2s ease-out}.light .dropdown .dropdown-menu{background:#fff;border:1px solid #f5f5f5;border-radius:12px;box-shadow:0 4px 12px #00000026}.dark .dropdown .dropdown-menu{background:#0a0a0a;border:1px solid #262626;border-radius:12px;box-shadow:0 4px 12px #00000026}.dropdown .dropdown-menu::-webkit-scrollbar{width:6px}.light .dropdown .dropdown-menu::-webkit-scrollbar-track{background:#feffff}.dark .dropdown .dropdown-menu::-webkit-scrollbar-track{background:#151515}.light .dropdown .dropdown-menu::-webkit-scrollbar-thumb{background:#f5f5f5;border-radius:3px}.dark .dropdown .dropdown-menu::-webkit-scrollbar-thumb{background:#262626;border-radius:3px}.light .dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover{background:#000}.dark .dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover{background:#fff}.dropdown .dropdown-option{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;cursor:pointer;transition:all .15s ease;outline:none}.light .dropdown .dropdown-option{color:#000}.light .dropdown .dropdown-option:hover{background:#f5f5f5;padding-left:20px}.light .dropdown .dropdown-option.selected{background:#feffff;font-weight:500}.light .dropdown .dropdown-option.focused{background:#f5f5f5;border-left:2px solid #ff5c25}.dark .dropdown .dropdown-option{color:#fff}.dark .dropdown .dropdown-option:hover{background:#262626;padding-left:20px}.dark .dropdown .dropdown-option.selected{background:#151515;font-weight:500}.dark .dropdown .dropdown-option.focused{background:#262626;border-left:2px solid #ff5c25}.dropdown .dropdown-option .dropdown-option-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown .dropdown-option .dropdown-option-check{flex-shrink:0;font-size:14px;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center}.light .dropdown .dropdown-option .dropdown-option-check,.dark .dropdown .dropdown-option .dropdown-option-check{background:#ff5c25;color:#fff}@keyframes radioDotScale{0%{transform:scale(0);opacity:0}50%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}.radio-group{width:100%;margin-top:10px}.radio-group .radio-title{font-weight:700;font-size:1.17rem;margin-bottom:12px;display:block}.light .radio-group .radio-title{color:#000}.dark .radio-group .radio-title{color:#fff}.radio-group .radio-title-small{font-weight:700;font-size:1rem;margin-bottom:10px;display:block}.light .radio-group .radio-title-small{color:#000}.dark .radio-group .radio-title-small{color:#fff}.radio-group .radio-options{display:flex;flex-direction:column;gap:10px}.radio-group .radio-option{position:relative;display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:16px 20px;transition:all .2s ease}.light .radio-group .radio-option{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.light .radio-group .radio-option:hover:not(.disabled){background:#fafafa;transform:translateY(-1px)}.dark .radio-group .radio-option{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.dark .radio-group .radio-option:hover:not(.disabled){background:#111;transform:translateY(-1px)}.radio-group .radio-option:active:not(.disabled){transform:translateY(0)}.light .radio-group .radio-option.selected .radio-circle,.dark .radio-group .radio-option.selected .radio-circle{border-color:#ff5c25}.radio-group .radio-option.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.radio-group .radio-label{flex:1;font-size:15px;pointer-events:none}.light .radio-group .radio-label{color:#000}.dark .radio-group .radio-label{color:#fff}.radio-group .radio-circle{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;transition:all .2s ease;cursor:pointer;flex-shrink:0;margin-left:20px;pointer-events:none}.light .radio-group .radio-circle{border:2px solid #f5f5f5;background:#fafafa}.dark .radio-group .radio-circle{border:2px solid #262626;background:#111}.radio-group .radio-circle:hover:not(.disabled){transform:scale(1.1)}.light .radio-group .radio-circle:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.dark .radio-group .radio-circle:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.radio-group .radio-dot{width:12px;height:12px;border-radius:50%;animation:radioDotScale .3s cubic-bezier(.68,-.55,.265,1.55)}.light .radio-group .radio-dot,.dark .radio-group .radio-dot{background:#ff5c25}.radio-group .radio-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}.light .radio-group .radio-input:focus-visible+.radio-circle{box-shadow:0 0 0 3px #ff5c25}.dark .radio-group .radio-input:focus-visible+.radio-circle{box-shadow:0 0 0 3px #ff5c25}.radio-group .radio-input:disabled{cursor:not-allowed}.search-input-container{position:relative;display:flex;align-items:center;width:250px}.search-input-container.full-width{width:100%}.search-input-container .search-input-icon{position:absolute;left:16px;font-size:20px;pointer-events:none}.light .search-input-container .search-input-icon{color:#333}.dark .search-input-container .search-input-icon{color:#a0a0a0}.search-input-container .search-input-field{width:100%;height:48px;padding:0 16px 0 44px;font-size:15px;outline:none;transition:.2s ease}.light .search-input-container .search-input-field{background:#feffff;border:1px solid #f5f5f5;border-radius:24px;color:#000}.light .search-input-container .search-input-field:hover,.light .search-input-container .search-input-field:focus{border-color:#000}.light .search-input-container .search-input-field::placeholder{color:#333}.dark .search-input-container .search-input-field{background:#151515;border:1px solid #262626;border-radius:24px;color:#fff}.dark .search-input-container .search-input-field:hover,.dark .search-input-container .search-input-field:focus{border-color:#fff}.dark .search-input-container .search-input-field::placeholder{color:#a0a0a0}.switch-wrapper{display:flex;align-items:center;justify-content:space-between;width:100%;cursor:pointer;padding:8px 0}.switch-wrapper .switch-label{flex:1}.light .switch-wrapper .switch-label{color:#000}.dark .switch-wrapper .switch-label{color:#fff}.switch-wrapper .switch-track{position:relative;width:52px;height:32px;border-radius:16px;cursor:pointer;transition:.2s ease;flex-shrink:0}.light .switch-wrapper .switch-track{background:#f5f5f5}.dark .switch-wrapper .switch-track{background:#262626}.light .switch-wrapper .switch-track.checked,.dark .switch-wrapper .switch-track.checked{background:#ff5c25}.switch-wrapper .switch-track.checked .switch-thumb{transform:translate(20px)}.switch-wrapper .switch-thumb{position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;transition:.2s ease;box-shadow:0 2px 4px #0003}.light .switch-wrapper .switch-thumb{background:#000}.dark .switch-wrapper .switch-thumb{background:#fff}.switch-wrapper .switch-input{position:absolute;opacity:0;pointer-events:none}.text-field-container{display:flex;flex-direction:column;width:300px;margin-top:10px}.text-field{display:flex;flex-direction:column;gap:8px}.text-field .text-field-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.text-field .text-field-label{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .text-field .text-field-label{color:#333}.dark .text-field .text-field-label{color:#a0a0a0}.text-field .text-field-reset{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .text-field .text-field-reset,.dark .text-field .text-field-reset{color:#ff5c25}.text-field .text-field-reset:hover{opacity:.8}.text-field .text-field-reset svg{font-size:12px}.text-field .text-field-input{height:56px;padding:0 16px;font-size:16px;outline:none;transition:.2s ease}.light .text-field .text-field-input{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .text-field .text-field-input:hover,.light .text-field .text-field-input:focus{border-color:#000}.light .text-field .text-field-input::placeholder{color:#333}.dark .text-field .text-field-input{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .text-field .text-field-input:hover,.dark .text-field .text-field-input:focus{border-color:#fff}.dark .text-field .text-field-input::placeholder{color:#a0a0a0}.text-field .text-field-textarea{padding:16px;font-size:16px;outline:none;resize:vertical;min-height:100px;transition:.2s ease}.light .text-field .text-field-textarea{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .text-field .text-field-textarea:hover,.light .text-field .text-field-textarea:focus{border-color:#000}.light .text-field .text-field-textarea::placeholder{color:#333}.dark .text-field .text-field-textarea{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .text-field .text-field-textarea:hover,.dark .text-field .text-field-textarea:focus{border-color:#fff}.dark .text-field .text-field-textarea::placeholder{color:#a0a0a0}.text-field.customcss .text-field-textarea{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace!important}.textarea-autosize{width:100%;padding:12px 16px;font-size:15px;line-height:24px;outline:none;resize:none;overflow:hidden;transition:.2s ease;font-family:inherit}.light .textarea-autosize{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .textarea-autosize:hover,.light .textarea-autosize:focus{border-color:#000}.light .textarea-autosize::placeholder{color:#333}.dark .textarea-autosize{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .textarea-autosize:hover,.dark .textarea-autosize:focus{border-color:#fff}.dark .textarea-autosize::placeholder{color:#a0a0a0}.textarea-autosize[readonly]{opacity:.6;cursor:not-allowed}.notesContainer,.notesContainer .flexNotes textarea,.topBarNotes{backdrop-filter:blur(15px)}.light .notesContainer,.light .notesContainer .flexNotes textarea,.notesContainer .flexNotes .light textarea,.light .topBarNotes{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .notesContainer,.dark .notesContainer .flexNotes textarea,.notesContainer .flexNotes .dark textarea,.dark .topBarNotes{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.notesContainer .title,.notesContainer .flexNotes textarea .title,.topBarNotes .title{font-size:18px}.light .notesContainer .title,.notesContainer .flexNotes .light textarea .title,.light .topBarNotes .title{color:#000}.dark .notesContainer .title,.notesContainer .flexNotes .dark textarea .title,.dark .topBarNotes .title{color:#fff}.notesContainer .subtitle,.notesContainer .flexNotes textarea .subtitle,.topBarNotes .subtitle{font-size:14px}.light .notesContainer .subtitle,.notesContainer .flexNotes .light textarea .subtitle,.light .topBarNotes .subtitle{color:#333}.dark .notesContainer .subtitle,.notesContainer .flexNotes .dark textarea .subtitle,.dark .topBarNotes .subtitle{color:#a0a0a0}.notes{position:relative}.notes h3{text-shadow:none;margin:0;cursor:initial;user-select:none}.notes:hover .notesContainer,.notes:active .notesContainer{visibility:visible!important}.notes:focus .notesContainer{visibility:visible!important}.notesContainer{padding:15px;text-align:center;border-radius:12px;position:absolute;font-size:1rem!important}.light .notesContainer .notes-buttons button{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .notesContainer .notes-buttons button:hover{background:#f7fafce6}.light .notesContainer .notes-buttons button:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .notesContainer .notes-buttons button:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .notesContainer .notes-buttons button{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .notesContainer .notes-buttons button:hover{background:#565656}.dark .notesContainer .notes-buttons button:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .notesContainer .notes-buttons button:focus{background:#565656;box-shadow:0 0 0 1px #fff}.notesContainer .notes-buttons button{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.light .notesContainer .notes-buttons button{background:#fff!important}.light .notesContainer .notes-buttons button:hover{background:#f7fafce6!important}.dark .notesContainer .notes-buttons button{background:#222!important}.dark .notesContainer .notes-buttons button:hover{background:#565656!important}.notesContainer .notes-buttons button{flex-grow:1;display:grid;place-items:center}.notesContainer .notes-buttons button svg{font-size:1.3rem}.notesContainer .flexNotes{display:flex;flex-flow:column;gap:15px}.notesContainer .flexNotes textarea{max-height:65vh!important;overflow-y:visible!important;border:none;padding:15px;border-radius:12px;width:200px}.notesContainer ::placeholder{color:#636e72;opacity:1}textarea{border:none;resize:none;background:none}.topBarNotes{display:flex;align-items:center;justify-content:center;height:50px;border-radius:12px;flex-flow:row;gap:5px;user-select:none}.topBarNotes svg{font-size:1.5rem}.notes-buttons{display:flex!important;gap:10px}.light .notes-buttons button:disabled{background:#feffff!important}.dark .notes-buttons button:disabled{background:#151515!important}.notes-buttons button:disabled{cursor:not-allowed}.notes-buttons .tooltip{flex:1!important}.notesContainer .flexTodo{display:flex;flex-flow:column;gap:15px;width:223px}.notesContainer .flexTodo .todoRows{max-height:65vh!important;overflow:hidden visible!important;display:flex;flex-flow:column;gap:15px}.notesContainer .todosEmpty{height:200px;display:grid;place-items:center}.light .todoRow{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .todoRow:hover{background:#f7fafce6}.light .todoRow:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .todoRow:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .todoRow{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .todoRow:hover{background:#565656}.dark .todoRow:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .todoRow:focus{background:#565656;box-shadow:0 0 0 1px #fff}.todoRow{padding:1px;font-size:16px;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center;display:flex;flex-flow:row;align-items:center;margin:15px 5px}.light .todoRow{color:#000!important}.dark .todoRow{color:#fff!important}.todoRow textarea{width:120px}.light .todoRow textarea{color:#000!important}.dark .todoRow textarea{color:#fff!important}.todoRow svg{padding:10px;place-items:center;display:grid;cursor:pointer}.light .todoRow svg{color:#000!important}.dark .todoRow svg{color:#fff!important}.light .todoRow svg:hover{background:#feffff;border-radius:12px}.dark .todoRow svg:hover{background:#151515;border-radius:12px}.done{text-decoration:line-through}.done textarea{cursor:not-allowed}.appsShortcutContainer{max-height:35rem;overflow-y:auto;border-radius:.8em;padding:1.2em;display:grid;grid-template-columns:repeat(3,auto);grid-auto-rows:100px;gap:10px;place-items:center}.light .appsShortcutContainer{background:#fafafa}.dark .appsShortcutContainer{background:#111}.appsShortcutContainer .noAppsContainer{grid-column:1/3}.appsShortcutContainer .noAppsContainer h3{margin:0;display:flex;align-items:center}.appsShortcutContainer .noAppsContainer svg{font-size:30px;margin-left:10px}.appsIcon{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;text-decoration:none;padding:10px;border-radius:.8em;cursor:pointer;width:5rem;height:4.7rem;transition:.5s}.appsIcon img{border-radius:.6rem}.appsIcon span{display:inline-block;width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;text-align:center;margin-top:10px}.appsIcon:hover span{white-space:initial}.appsIcon:hover{height:max-content}.light .appsIcon{color:#000}.light .appsIcon:hover{background:#f5f5f5}.dark .appsIcon{color:#fff}.dark .appsIcon:hover{background:#262626}.navbar{display:flex;flex-flow:row;gap:10px;animation:fadeIn 2s}.navbar button{-webkit-font-smoothing:subpixel-antialiased;cursor:pointer;margin-top:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.light .old button.navbarButton{background:none;color:#fff;border-radius:12px;box-shadow:0 0!important}.light .old button.navbarButton:hover{background-color:#4242423b}.light .old button.navbarButton:active{background-color:#4242423b;box-shadow:0 0 0 1px #000}.light .old button.navbarButton:focus{background-color:#4242423b;box-shadow:0 0 0 1px #000}.dark .old button.navbarButton{background:none;color:#fff;border-radius:12px;box-shadow:0 0!important}.dark .old button.navbarButton:hover{background-color:#4242423b}.dark .old button.navbarButton:active{background-color:#4242423b;box-shadow:0 0 0 1px #fff}.dark .old button.navbarButton:focus{background-color:#4242423b;box-shadow:0 0 0 1px #fff}.old button.navbarButton{padding:12px;font-size:1.2rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.light .new button.navbarButton{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .new button.navbarButton:hover{background:#f7fafce6}.light .new button.navbarButton:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .new button.navbarButton:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .new button.navbarButton{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .new button.navbarButton:hover{background:#565656}.dark .new button.navbarButton:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .new button.navbarButton:focus{background:#565656;box-shadow:0 0 0 1px #fff}.new button.navbarButton{padding:12px;font-size:1.2rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.navbar-hover{position:absolute;top:0;right:0;height:50px;width:500px}.navbar-hover .navbar{opacity:0;transition:visibility .2s linear,opacity .2s linear;visibility:hidden}.navbar-hover:hover .navbar{opacity:1;visibility:visible}.navbar-container{position:absolute;top:1rem;right:1rem;display:flex;flex-flow:column}.appsmodal{width:fit-content;padding:5px;border-radius:1em}.light .appsmodal{background:#f5f5f5}.dark .appsmodal{background:#262626}.navbarButtonOptions{display:flex;flex-flow:row;gap:10px}.navbarButtonOptions .navbarButtonOption .subtitle{font-size:12px}.navbarButtonOptions .navbarButtonOption svg{background:linear-gradient(238.7deg,#ff5c25 13.8%,#d21a11 49.49%,#ff456e 87.48%);padding:5px;border-radius:100%}.light .navbarButtonOptions .navbarButtonOption svg{color:#000}.dark .navbarButtonOptions .navbarButtonOption svg{color:#fff}.navbarButtonOptions .navbarButtonOption{cursor:pointer;width:70px!important;border:none;outline:none;margin-top:0!important;height:70px;padding:5px;display:flex;flex-flow:column;align-items:center;justify-content:center;text-align:center;gap:10px}.light .navbarButtonOptions .navbarButtonOption{background:#f5f5f5;border-radius:12px;box-shadow:0 0 0 1px #f7fafce6}.light .navbarButtonOptions .navbarButtonOption:hover{background:#feffff}.dark .navbarButtonOptions .navbarButtonOption{background:#262626;border-radius:12px;box-shadow:0 0 0 1px #565656}.dark .navbarButtonOptions .navbarButtonOption:hover{background:#151515}.light .navbarButtonOptions .disabled{background:#feffff;box-shadow:0 0 0 1px #f5f5f5}.light .navbarButtonOptions .disabled:hover{background:#f5f5f5}.dark .navbarButtonOptions .disabled{background:#151515;box-shadow:0 0 0 1px #262626}.dark .navbarButtonOptions .disabled:hover{background:#262626}.light .navbarButtonOptions .disabled svg{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .navbarButtonOptions .disabled svg{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.Toastify__toast-container{width:auto!important;padding:16px!important}.light .Toastify__toast{background:#ffffffb3!important;color:#000!important;box-shadow:0 0 0 1px #e7e3e9,0 8px 32px #0003!important}.dark .Toastify__toast{background:#000000b3!important;color:#fff!important;box-shadow:0 0 0 1px #484848,0 8px 32px #0003!important}.Toastify__toast{border-radius:"borderRadius"!important;-webkit-backdrop-filter:blur(15px) saturate(180%)!important;backdrop-filter:blur(15px) saturate(180%)!important;padding:16px 20px!important;min-height:64px!important;width:auto!important;min-width:300px!important;max-width:500px!important;font-family:inherit!important;box-sizing:border-box!important;transition:all .3s ease!important}.Toastify__toast:hover{transform:translateY(-2px)!important;box-shadow:0 0 0 1px #484848,0 12px 40px #0000004d!important}.Toastify__toast-body{padding:0!important;font-size:15px!important;line-height:1.5!important;margin:0!important}.light .Toastify__toast-body{color:#000!important}.dark .Toastify__toast-body{color:#fff!important}.light .Toastify__close-button{color:#000!important;opacity:.6!important}.dark .Toastify__close-button{color:#fff!important;opacity:.6!important}.Toastify__close-button{align-self:center!important;transition:all .2s ease!important}.Toastify__close-button:hover{opacity:1!important}.Toastify__progress-bar{height:4px!important;border-radius:0 0 "borderRadius" "borderRadius"!important}.light .Toastify__progress-bar--default,.light .Toastify__progress-bar--info,.dark .Toastify__progress-bar--default,.dark .Toastify__progress-bar--info{background:linear-gradient(90deg,#ff5c25,#dd3b67)!important}.Toastify__progress-bar--success{background:linear-gradient(90deg,#2ed573,#1abc9c)!important}.Toastify__progress-bar--warning{background:linear-gradient(90deg,#ffb032,#ff9500)!important}.Toastify__progress-bar--error{background:linear-gradient(90deg,#ff4757,#dd3b67)!important}.light .Toastify__toast--default,.light .Toastify__toast--info,.light .Toastify__toast--success,.light .Toastify__toast--warning,.light .Toastify__toast--error{background:#ffffffb3!important;color:#000!important}.dark .Toastify__toast--default,.dark .Toastify__toast--info,.dark .Toastify__toast--success,.dark .Toastify__toast--warning,.dark .Toastify__toast--error{background:#000000b3!important;color:#fff!important}body{background:#000;margin:0;overflow:hidden;text-rendering:optimizelegibility!important;-moz-text-rendering:optimizelegibility!important}*{font-family:Lexend Deca,Inter,sans-serif!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;outline:none}#center{font-size:calc(10px + 2vmin);text-align:center;position:absolute;inset:0;text-shadow:0 0 25px rgba(0,0,0,.3);display:grid;place-items:center;margin:0}#center #widgets{color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;animation:fadeIn 1s}#center.no-textBorder,#center.no-textBorder .quote{text-shadow:none!important}.light ::placeholder{color:#000}.dark ::placeholder{color:#fff}::placeholder{opacity:1}.light #root{color:#000}.dark #root{color:#fff}.textBorder{filter:drop-shadow(var(--shadow-shift) var(--shadow-shift) 0 rgba(17,17,17,.8))}.no-animations .ReactModal__Content,.no-animations button,.no-animations svg,.no-animations input[type=text],.no-animations .MuiSwitch-switchBase,.no-animations .tooltipTitle,.no-animations .quicklinks-container img{transition:none!important}.frame{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}@font-face{font-family:Lexend Deca;font-style:normal;font-display:swap;font-weight:400;src:url(./lexend-deca-latin-400-normal-Ck_pn9Ss.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lexend Deca;font-style:normal;font-display:swap;font-weight:400;src:url(./lexend-deca-latin-ext-400-normal-BcOMzUY_.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-400-normal-C38fXH4l.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-greek-400-normal-B4URO6DV.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-greek-ext-400-normal-DGGRlc-M.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-vietnamese-400-normal-DMkecbls.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-cyrillic-400-normal-obahsSVq.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}.criticalError{display:grid;place-items:center;width:100vw;height:100vh}.criticalError .criticalError-actions{display:flex;flex-flow:row;gap:20px}.criticalError button,.criticalError a{border:0;border-radius:12px;padding:10px 30px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer;text-decoration:none}@media(prefers-color-scheme:dark){body{background-color:#000}.criticalError .criticalError-message{color:#fff}.criticalError p{color:#ffffffc0}.criticalError a{background:#0e1013;box-shadow:0 0 0 1px #484848;color:#fff}.criticalError a:hover{background:#1e1e1e}}@media(prefers-color-scheme:light){body{background-color:#fff}.criticalError .criticalError-message{color:#000}.criticalError p{color:#000000c0}.criticalError a{background:#fdfdfd;box-shadow:0 0 0 1px #484848;color:#000}.criticalError a:hover{background:#f5f5f5}}.light .pulse{height:100%;width:100%;background:linear-gradient(-90deg,#efefef,#ccc,#efefef);background-size:400% 400%;animation:pulse .8s ease-in-out infinite}.dark .pulse{height:100%;width:100%;background:linear-gradient(-90deg,#000,#535353,#000);background-size:400% 400%;animation:pulse .8s ease-in-out infinite}@keyframes pulse{0%{background-position:0% 0%}to{background-position:-135% 0%}}:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0px;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width:480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}@media only screen and (max-width:480px){.Toastify__toast-container[data-stacked=true]{width:100vw}}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}+.photoInformation,.photoInformation .map-concept{backdrop-filter:blur(15px)}.light .photoInformation,.light .photoInformation .map-concept,.photoInformation .light .map-concept{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .photoInformation,.dark .photoInformation .map-concept,.photoInformation .dark .map-concept{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.photoInformation .title{font-size:18px}.light .photoInformation .title,.photoInformation .light .map-concept .title{color:#000}.dark .photoInformation .title,.photoInformation .dark .map-concept .title{color:#fff}.photoInformation .subtitle{font-size:14px}.light .photoInformation .subtitle,.photoInformation .light .map-concept .subtitle{color:#333}.dark .photoInformation .subtitle,.photoInformation .dark .map-concept .subtitle{color:#a0a0a0}.photoInformationHolder{position:absolute;bottom:1rem;left:1rem;flex-flow:column-reverse;display:flex}.photoInformationHolder:hover .photoInformation{height:auto;align-items:flex-start;flex-flow:column}.photoInformationHolder:hover .photoInformation .buttons{padding:30px 0 0;display:flex}.photoInformationHolder:hover .photoInformation .extra-content{margin-top:10px;display:grid;grid-template-columns:auto auto;gap:10px;transition:.8s}.photoInformationHolder:hover .photoInformation .stats{display:flex;padding-top:5px;gap:20px}.light .photoInformationHolder:hover .photoInformation .stats{color:#333}.dark .photoInformationHolder:hover .photoInformation .stats{color:#a0a0a0}.photoInformationHolder:hover .photoInformation .stats div{display:flex;align-items:center;align-content:center;flex-direction:row;gap:5px}.photoInformationHolder:hover .photoInformation .stats div svg{font-size:1em}.photoInformationHolder:hover .photoInformation .copyright{display:flex;margin-top:10px;gap:10px}.photoInformationHolder:hover .photoInformation .copyright a{text-decoration:none}.light .photoInformationHolder:hover .photoInformation .copyright a{color:#333}.dark .photoInformationHolder:hover .photoInformation .copyright a{color:#a0a0a0}.photoInformationHolder:hover .photoInformation .photoInformation-content{padding:20px 20px 20px 0}.photoInformationHolder:hover .photoInformation .map-concept{width:100%}.mapOn{width:100%;height:150px;display:flex;justify-content:center;align-items:center;overflow:hidden}.mapOn img{flex-shrink:0;min-width:100%;min-height:100%}.mapOn svg{display:none}.photoInformation-legacy{font-size:1.36em;text-shadow:0 0 10px rgba(0,0,0,.3);color:#fff;z-index:99;user-select:none;cursor:initial;font-weight:bolder}.photoInformation-legacy svg{font-size:1.36em}.photoInformation-legacy:hover .infoCard{display:block!important}.photoInformation-legacy{display:flex;align-items:center;gap:15px}.photoInformation-legacy svg:hover+.infoCard{display:block}.photoInformation-legacy a{color:#fff;text-decoration:none}.photoInformation-legacy a:hover{text-decoration:underline}.photoInformation-legacy+.photoInformation{animation:none!important}.infoCard{display:none;background:var(--background);box-shadow:0 0 10px #0000004d;color:var(--modal-text);position:fixed;bottom:2.9rem;left:.7em;padding:1rem;border-radius:24px 24px 24px 0;width:300px!important;text-align:left;text-shadow:none}.infoCard svg{margin-right:.5rem;vertical-align:middle;display:inline-flex;padding:2px}.infoCard .locationMap{height:100px;object-fit:cover;width:100%;background-position:center center;background-repeat:no-repeat}.infoCard .mapboxLogo{height:20px;width:auto}.infoCard span,.infoCard svg{font-size:2em}.infoCard span{user-select:text}.infoCard h1,.infoCard .MuiSvgIcon-root{user-select:none;cursor:initial}.infoCard h1,.infoCard .infoIcon{font-size:3em}.infoCard .infoIcon{padding:4px}.infoCard hr{height:3px;background:var(--photo-info);outline:none;border:none}.infoCard:hover,.infoCard span{display:block!important}.infoCard .download{text-decoration:underline;cursor:pointer}.infoCard .download:hover{opacity:.8}.infoCard .mapCopyright{font-size:.9em}.photoInformation{animation:fadeIn 2s;min-width:300px;font-size:.8em;font-weight:300;z-index:99;display:flex;flex-flow:row;align-items:center;transition:.8s cubic-bezier(.075,.82,.165,1);padding:10px}.photoInformation .link{text-decoration:none;cursor:pointer}.light .photoInformation .link,.dark .photoInformation .link{color:#ff5c25}.photoInformation .link:hover{opacity:.8}.photoInformation:hover{padding:20px;height:auto;align-items:flex-start;flex-flow:column}.photoInformation:hover .buttons{padding:30px 0 0;display:flex}.photoInformation:hover .extra-content{display:flex;flex-flow:column;gap:10px;transition:.8s}.photoInformation:hover .stats{display:flex;gap:15px}.light .photoInformation:hover .stats{color:#333}.dark .photoInformation:hover .stats{color:#a0a0a0}.photoInformation:hover .stats div{display:flex;align-items:center;align-content:center;flex-direction:row;gap:10px}.photoInformation:hover .stats div svg{font-size:1em}.photoInformation:hover .copyright{display:flex;margin-top:10px;gap:10px}.photoInformation:hover .copyright a{text-decoration:none}.light .photoInformation:hover .copyright a{color:#333}.dark .photoInformation:hover .copyright a{color:#a0a0a0}.photoInformation:hover .photoInformation-content{padding-left:0}.photoInformation:hover .map-concept{width:100%}.photoInformation .map-concept{height:50px;width:50px;flex-grow:0;flex-shrink:0;border-radius:12px;display:flex;align-items:center;justify-content:center;border:none!important}.photoInformation .map-concept svg{font-size:24px}.photoInformation .map-concept img{width:100%;height:100%;background-repeat:no-repeat;background-size:cover;object-fit:cover;border-radius:12px}.photoInformation .location{font-size:1.9em}.photoInformation .credit{font-size:1.4em}.light .photoInformation .credit{color:#333}.dark .photoInformation .credit{color:#a0a0a0}.light .photoInformation .credit a{color:#333}.dark .photoInformation .credit a{color:#a0a0a0}.photoInformation .credit a:nth-child(2){color:var(--modal-link)}.photoInformation-content{line-height:2em;padding-right:10px;display:flex;flex-flow:row;align-items:center;gap:20px;padding-left:20px;width:100%;justify-content:space-between}.light .photoInformation-content a,.dark .photoInformation-content a{color:#ff5c25}.photoInformation-content a{text-decoration:none}.photoInformation-content a:hover{opacity:.9}.extra-content{display:none;flex-flow:column;width:100%;transition:1s}.extra-content .row{display:flex;align-items:center;gap:20px;font-size:13px}.light .extra-content .row svg{color:#333;font-size:18px}.dark .extra-content .row svg{color:#a0a0a0;font-size:18px}.copyright{display:none}.buttons{align-items:center;gap:20px;padding:20px 20px 0 0;display:none}.light .buttons svg{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .buttons svg:hover{background:#f7fafce6}.light .buttons svg:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .buttons svg:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .buttons svg{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .buttons svg:hover{background:#565656}.dark .buttons svg:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .buttons svg:focus{background:#565656;box-shadow:0 0 0 1px #fff}.buttons svg{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.photoMap img{height:50px!important;width:50px!important}.photoMap a{height:50px}.photoInformation:hover .photoMap,.photoInformation-legacy+.photoInformation .photoMap{height:auto!important}.photoInformation:hover .photoMap img,.photoInformation-legacy+.photoInformation .photoMap img{height:auto!important;width:auto!important}.photoInformation:hover .photoMap a,.photoInformation-legacy+.photoInformation .photoMap a{height:auto!important}.unsplashStats{display:flex;flex-flow:column;justify-content:space-between}.unsplashStats div{display:flex;flex-flow:row;gap:10px;align-items:center}.photoInformation-text{display:flex;flex-flow:column}#backgroundImage{height:100vh;background-size:cover!important;background-repeat:no-repeat!important;background-position:center!important;background-attachment:fixed!important;zoom:100%!important;position:relative;z-index:-2}#backgroundOverlay{position:fixed;top:0;left:0;width:100%;height:100vh;background-size:cover!important;background-repeat:no-repeat!important;background-position:center!important;background-attachment:fixed!important;pointer-events:none;z-index:-1;transition:opacity 1.2s ease-in-out}#backgroundFilterOverlay{position:fixed;top:0;left:0;width:100%;height:100vh;pointer-events:none;z-index:0;transition:backdrop-filter .3s ease-in-out,background-color .3s ease-in-out}.backgroundPreload{opacity:0}#backgroundVideo{position:fixed;right:0;bottom:0;min-width:100%;min-height:100%}.fade-in{animation:fadein .8s ease-in-out}@keyframes fadein{0%{opacity:0}to{opacity:1}}.clockBackground{backdrop-filter:blur(15px)}.light .clockBackground{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .clockBackground{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.clockBackground .title{font-size:18px}.light .clockBackground .title{color:#000}.dark .clockBackground .title{color:#fff}.clockBackground .subtitle{font-size:14px}.light .clockBackground .subtitle{color:#333}.dark .clockBackground .subtitle{color:#a0a0a0}.clock{font-size:4em;margin:0;cursor:initial;user-select:none;font-weight:600;animation:fadeIn 1s;--shadow-shift: .4rem}.ampm{font-size:.5em}.analogclock,.react-clock__face{margin:0 auto;border-radius:100%;border:none!important}.light .analogclock,.light .react-clock__face{border:1px solid rgb(0,0,0)!important}.dark .analogclock,.dark .react-clock__face{border:1px solid rgb(255,255,255)!important}.analogclock,.react-clock__face{cursor:initial;user-select:none}.light .react-clock__hand__body,.light .react-clock__mark__body{background:#000!important}.dark .react-clock__hand__body,.dark .react-clock__mark__body{background:#fff!important}.clockBackground{padding:1rem}.clockBackground.round{border-radius:100%!important}.vertical-clock{line-height:100%;user-select:none;font-size:4em}.vertical-clock .seconds{font-size:7rem;margin:50px;line-height:0}.greeting{margin:0;font-size:1.6em;cursor:initial;user-select:none;font-weight:600}.greeting:not(.preview){animation:fadeIn 1s}.greeting{--shadow-shift: .2rem}.taskBoxForm,.recentChats{backdrop-filter:blur(15px)}.light .taskBoxForm,.light .recentChats{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .taskBoxForm,.dark .recentChats{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.taskBoxForm .title,.recentChats .title{font-size:18px}.light .taskBoxForm .title,.light .recentChats .title{color:#000}.dark .taskBoxForm .title,.dark .recentChats .title{color:#fff}.taskBoxForm .subtitle,.recentChats .subtitle{font-size:14px}.light .taskBoxForm .subtitle,.light .recentChats .subtitle{color:#333}.dark .taskBoxForm .subtitle,.dark .recentChats .subtitle{color:#a0a0a0}.taskBox{width:min(640px,90vw);margin-top:1.5rem;display:flex;flex-flow:column;align-items:stretch;gap:.6rem;font-size:1rem;animation:fadeIn 1s}.taskBoxForm{display:flex;align-items:center;gap:.5rem;padding:6px 6px 6px 18px;border-radius:18px}.taskBoxInput:disabled{cursor:progress;opacity:.6}.taskBoxInput{flex:1;min-width:0;border:none;outline:none;background:transparent;color:inherit;font-size:1.15rem;padding:10px 0}.taskBoxInput::placeholder{opacity:.65;color:inherit}.light .taskBoxGo{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .taskBoxGo:hover{background:#f7fafce6}.light .taskBoxGo:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .taskBoxGo:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .taskBoxGo{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .taskBoxGo:hover{background:#565656}.dark .taskBoxGo:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .taskBoxGo:focus{background:#565656;box-shadow:0 0 0 1px #fff}.taskBoxGo{padding:10px;font-size:1.3rem;border:none;outline:none;transition:.5s;display:grid;place-items:center;cursor:pointer}.taskBoxGo:disabled{opacity:.4;cursor:default}.taskBoxModes{display:flex;justify-content:center;gap:6px}.light .taskBoxMode{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .taskBoxMode:hover{background:#f7fafce6}.light .taskBoxMode:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .taskBoxMode:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .taskBoxMode{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .taskBoxMode:hover{background:#565656}.dark .taskBoxMode:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .taskBoxMode:focus{background:#565656;box-shadow:0 0 0 1px #fff}.taskBoxMode{font-size:.95rem;border:none;outline:none;transition:.5s;display:grid;place-items:center;display:inline-flex;align-items:center;gap:6px;padding:6px 14px;cursor:pointer;opacity:.75}.taskBoxMode.active{opacity:1;box-shadow:0 0 0 1px currentcolor}.taskBoxHint{text-align:center;font-size:.85rem;opacity:.8}.taskBoxError{opacity:1}.recentChats{width:min(640px,90vw);margin-top:1rem;padding:12px 18px;border-radius:18px;font-size:.95rem;text-align:left}.recentChats .recentChatsHeader{display:flex;justify-content:space-between;margin-bottom:6px;font-weight:600}.recentChats .recentChatsHeader a{font-weight:400;opacity:.75}.recentChats ul{margin:0;padding:0;list-style:none}.recentChats li a{display:block;padding:4px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recentChats a{color:inherit;text-decoration:none}.recentChats a:hover{text-decoration:underline}.recentChats .recentChatsEmpty{opacity:.7}.tooltipTitle,#root .tooltipTitle{backdrop-filter:blur(15px)}.light .tooltipTitle,.light #root .tooltipTitle,#root .light .tooltipTitle{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .tooltipTitle,.dark #root .tooltipTitle,#root .dark .tooltipTitle{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.tooltipTitle .title,#root .tooltipTitle .title{font-size:18px}.light .tooltipTitle .title,.light #root .tooltipTitle .title,#root .light .tooltipTitle .title{color:#000}.dark .tooltipTitle .title,.dark #root .tooltipTitle .title,#root .dark .tooltipTitle .title{color:#fff}.tooltipTitle .subtitle,#root .tooltipTitle .subtitle{font-size:14px}.light .tooltipTitle .subtitle,.light #root .tooltipTitle .subtitle,#root .light .tooltipTitle .subtitle{color:#333}.dark .tooltipTitle .subtitle,.dark #root .tooltipTitle .subtitle,#root .dark .tooltipTitle .subtitle{color:#a0a0a0}.tooltip{position:relative;display:grid}@keyframes floating{0%{transform:translateY(-5px);opacity:0}to{transform:translateY(-0);opacity:1}}.tooltipTitle{text-align:center;font-size:.6rem;padding:5px 10px;position:absolute;z-index:1;cursor:initial;user-select:none;opacity:1;transition:opacity .2s ease-out,transform .2s ease-out}.tooltipTitle[data-status=initial]{opacity:0}.tooltipTitle[data-status=open]{opacity:1;transform:translate(0);animation-name:floating;animation-duration:.3s;animation-timing-function:ease-in}.tooltipTitle[data-status=close]{opacity:0}.tooltipTitle[data-status=close][data-placement^=top]{transform:translateY(5px)}.tooltipTitle[data-status=close][data-placement^=bottom]{transform:translateY(-5px)}.tooltipTitle[data-status=close][data-placement^=left]{transform:translate(5px)}.tooltipTitle[data-status=close][data-placement^=right]{transform:translate(-5px)}.light #modal .tooltipTitle{background:#feffff;box-shadow:0 0 0 1px #f5f5f5;color:#000}.dark #modal .tooltipTitle{background:#151515;box-shadow:0 0 0 1px #262626;color:#fff}.tooltipTitle:before{transform:scale3d(.2,.2,1);transition:all .2s ease-in-out}.tooltipTitle:after{transform:translate3d(0,6px,0);transition:all .1s ease-in-out}.tooltipTitle:hover:before,.tooltipTitle:hover:after{opacity:1;transform:scaleZ(1)}.tooltipTitle:hover:after{transition:all .2s .1s ease-in-out}#arrow{position:absolute;background:#333;width:8px;height:8px;transform:rotate(45deg)}.infoTooltip{position:relative;display:grid}.infoTooltip svg{cursor:pointer}.light .infoTooltip svg:hover{color:#000}.dark .infoTooltip svg:hover{color:#fff}#floating{transition-property:opacity,transform}#floating[data-status=open],#floating[data-status=close]{transition-duration:.25s}#floating[data-status=initial],#floating[data-status=close]{opacity:0}#floating[data-status=initial][data-placement^=top],#floating[data-status=close][data-placement^=top]{transform:translateY(5px)}#floating[data-status=initial][data-placement^=bottom],#floating[data-status=close][data-placement^=bottom]{transform:translateY(-5px)}#floating[data-status=initial][data-placement^=left],#floating[data-status=close][data-placement^=left]{transform:translate(5px)}#floating[data-status=initial][data-placement^=right],#floating[data-status=close][data-placement^=right]{transform:translate(-5px)}.reminder-info .mainTitle,.light .modalTabContent .mainTitle,.dark .modalTabContent .mainTitle{display:flex;align-items:center;font-size:38px;font-weight:600;margin-bottom:15px;text-transform:capitalize}.light .reminder-info .mainTitle,.light .modalTabContent .mainTitle{color:#000}.dark .reminder-info .mainTitle,.dark .modalTabContent .mainTitle{color:#fff}.reminder-info .mainTitle .backTitle,.light .modalTabContent .mainTitle .backTitle,.dark .modalTabContent .mainTitle .backTitle{cursor:pointer;transition:.5s}.light .reminder-info .mainTitle .backTitle,.light .modalTabContent .mainTitle .backTitle{color:#333}.light .reminder-info .mainTitle .backTitle:hover,.light .modalTabContent .mainTitle .backTitle:hover{color:#000}.dark .reminder-info .mainTitle .backTitle,.dark .modalTabContent .mainTitle .backTitle{color:#a0a0a0}.dark .reminder-info .mainTitle .backTitle:hover,.dark .modalTabContent .mainTitle .backTitle:hover{color:#fff}.reminder-info .title,.light .modalTabContent .title,.dark .modalTabContent .title{font-size:24px;font-weight:600}.light .reminder-info .title,.light .modalTabContent .title{color:#000}.dark .reminder-info .title,.dark .modalTabContent .title{color:#fff}.reminder-info .subtitle,.light .modalTabContent .subtitle,.dark .modalTabContent .subtitle{font-size:16px;font-family:Inter,sans-serif!important}.light .reminder-info .subtitle,.light .modalTabContent .subtitle{color:#333}.dark .reminder-info .subtitle,.dark .modalTabContent .subtitle{color:#a0a0a0}.reminder-info .link,.light .modalTabContent .link,.dark .modalTabContent .link{font-size:16px;text-decoration:none;cursor:pointer}.light .reminder-info .link,.light .modalTabContent .link,.dark .reminder-info .link,.dark .modalTabContent .link{color:#ff5c25}.reminder-info .link:hover,.light .modalTabContent .link:hover,.dark .modalTabContent .link:hover{opacity:.8}.modalTopBar{position:relative;flex-shrink:0;z-index:100;display:flex;align-items:center;justify-content:space-between;padding:1.5rem;-webkit-backdrop-filter:blur(16px) saturate(180%);backdrop-filter:blur(16px) saturate(180%)}.light .modalTopBar{background-color:#fff;border-bottom:1px solid #f5f5f5}.dark .modalTopBar{background-color:#0a0a0a;border-bottom:1px solid #262626}.modalTopBar .topBarLeft{display:flex;align-items:center;flex-shrink:0;gap:1rem}.modalTopBar .topBarLeft .navigationButtons{display:flex;gap:.25rem}.modalTopBar .topBarLeft .navigationButtons .navButton{display:grid;place-items:center;padding:.5rem;border-radius:8px;cursor:pointer;border:none;background:none;transition:.3s}.light .modalTopBar .topBarLeft .navigationButtons .navButton{color:#000}.dark .modalTopBar .topBarLeft .navigationButtons .navButton{color:#fff}.modalTopBar .topBarLeft .navigationButtons .navButton svg{font-size:1.2rem}.light .modalTopBar .topBarLeft .navigationButtons .navButton:hover:not(:disabled){background:#f5f5f5}.dark .modalTopBar .topBarLeft .navigationButtons .navButton:hover:not(:disabled){background:#262626}.modalTopBar .topBarLeft .navigationButtons .navButton:disabled{opacity:.3;cursor:not-allowed}.modalTopBar .topBarLeft .topBarLogo{height:32px;width:auto}.modalTopBar .topBarLeft .breadcrumbs{display:flex;align-items:center;gap:0;font-size:.95rem;font-weight:500}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-segment{display:flex;align-items:center}.light .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-item{color:#333}.dark .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-item{color:#a0a0a0}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-item{white-space:nowrap;transition:opacity .2s}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-clickable{cursor:pointer}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-clickable:hover{opacity:.7;text-decoration:underline}.light .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-separator{color:#333}.dark .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-separator{color:#a0a0a0}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-separator{opacity:.5;font-size:1.2rem;margin:0 .25rem}.light .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-current{color:#000}.dark .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-current{color:#fff}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-current{font-weight:600}.modalTopBar .topBarRight{display:flex;align-items:center;gap:.75rem;flex-shrink:0}.modalTopBar .topBarRight .topBarNavigation{display:flex;flex-flow:row;gap:.5rem}.modalTopBar .topBarRight .closeModal{display:grid;place-items:center;padding:.4em;border-radius:12px;cursor:pointer;transition:.5s;flex-shrink:0}.modalTopBar .topBarRight .closeModal svg{font-size:1.5em}.light .modalTopBar .topBarRight .closeModal:hover{background:#f5f5f5}.dark .modalTopBar .topBarRight .closeModal:hover{background:#262626}.light .modalSidebar{position:relative;margin:0;padding:.5rem 0 0 .5rem;background:#feffff;border-radius:12px 0 0 12px;overflow-y:auto;overflow-x:hidden;height:100%;min-width:250px;flex-shrink:0}.light .modalSidebar svg{margin-left:20px;margin-right:20px;color:#333;font-size:17px}.light .modalSidebar hr{height:1px;background:#ccc;margin:0 1.75rem;border:none}.light .modalSidebar button{color:#000;font-size:18px;list-style:none;cursor:pointer;border-radius:12px;display:flex;align-items:center;margin:.2rem;padding:.5rem;transition:.5s;outline:none;border:none;background:none;min-width:calc(100% - 1.2em);text-align:left}.light .modalSidebar button:last-child{margin-bottom:1rem}.light .modalSidebar button:hover{background:#f5f5f5}.light .modalSidebar button:active{background:#f5f5f5;box-shadow:0 0 0 .5px #000}.light .modalSidebar button:focus{background:#f5f5f5;box-shadow:0 0 0 .5px #000}.light .modalSidebar .tab-list-active{background:#f5f5f5}.dark .modalSidebar{position:relative;margin:0;padding:.5rem 0 0 .5rem;background:#151515;border-radius:12px 0 0 12px;overflow-y:auto;overflow-x:hidden;height:100%;min-width:250px;flex-shrink:0}.dark .modalSidebar svg{margin-left:20px;margin-right:20px;color:#a0a0a0;font-size:17px}.dark .modalSidebar hr{height:1px;background:#ccc;margin:0 1.75rem;border:none}.dark .modalSidebar button{color:#fff;font-size:18px;list-style:none;cursor:pointer;border-radius:12px;display:flex;align-items:center;margin:.2rem;padding:.5rem;transition:.5s;outline:none;border:none;background:none;min-width:calc(100% - 1.2em);text-align:left}.dark .modalSidebar button:last-child{margin-bottom:1rem}.dark .modalSidebar button:hover{background:#262626}.dark .modalSidebar button:active{background:#262626;box-shadow:0 0 0 .5px #fff}.dark .modalSidebar button:focus{background:#262626;box-shadow:0 0 0 .5px #fff}.dark .modalSidebar .tab-list-active{background:#262626}.css-j204z7-MuiFormControlLabel-root{margin-left:0!important;margin-right:0!important}.sidebarSkeleton{padding:.5rem .2rem}.sidebarSkeleton .skeletonItem{display:flex;align-items:center;padding:.5rem;margin:.2rem;pointer-events:none}.sidebarSkeleton .skeletonItem .iconPlaceholder{width:17px;height:17px;border-radius:6px;margin-left:20px;margin-right:20px;flex-shrink:0}.light .sidebarSkeleton .skeletonItem .iconPlaceholder{background:#f5f5f5}.dark .sidebarSkeleton .skeletonItem .iconPlaceholder{background:#262626}.sidebarSkeleton .skeletonItem .textPlaceholder{height:18px;border-radius:6px}.light .sidebarSkeleton .skeletonItem .textPlaceholder{background:#f5f5f5}.dark .sidebarSkeleton .skeletonItem .textPlaceholder{background:#262626}.light .sidebarSkeleton .skeletonDivider{height:1px;background:linear-gradient(90deg,transparent 0%,#f5f5f5 20%,#f5f5f5 80%,transparent 100%);margin:.5rem 1.75rem;border:none;opacity:.6}.dark .sidebarSkeleton .skeletonDivider{height:1px;background:linear-gradient(90deg,transparent 0%,#262626 20%,#262626 80%,transparent 100%);margin:.5rem 1.75rem;border:none;opacity:.6}#modal{display:flex;align-items:flex-start;justify-content:flex-start}.modalNavbar{display:flex;flex-flow:row;gap:25px;margin-bottom:1rem}.updateCheck{flex-flow:row!important}.light .btn-settings{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-settings{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-settings:hover{background:#f5f5f5}.light .btn-settings:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-settings:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-settings:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-settings{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-settings{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-settings:hover{background:#262626}.dark .btn-settings:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-settings:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-settings:disabled{background:#262626;cursor:not-allowed}.btn-settings{display:inline;margin-top:0;float:none!important;padding:0 20px}.light .btn-secondary{background:#f5f5f5;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-secondary:hover{background:#feffff!important}.light .btn-secondary{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-secondary:hover{background:#f5f5f5}.light .btn-secondary:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-secondary:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-secondary:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-secondary{background:#262626;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-secondary:hover{background:#151515!important}.dark .btn-secondary{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-secondary:hover{background:#262626}.dark .btn-secondary:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-secondary:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-secondary:disabled{background:#262626;cursor:not-allowed}.btn-secondary{display:inline;margin-top:0;float:none!important;padding:0 20px}.light .btn-navigation{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-navigation{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-navigation:hover{background:#f5f5f5}.light .btn-navigation:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-navigation:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-navigation:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-navigation{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-navigation{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-navigation:hover{background:#262626}.dark .btn-navigation:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-navigation:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-navigation:disabled{background:#262626;cursor:not-allowed}.btn-navigation{padding:10px 20px;border-radius:12px!important;transition:all .2s ease;position:relative}.light .btn-navigation,.dark .btn-navigation{background:transparent!important;border:none!important;box-shadow:none!important}.light .btn-navigation,.dark .btn-navigation{background:transparent!important;border:none!important}.light .btn-navigation:hover,.dark .btn-navigation:hover{background:#0000000a!important}.dark .btn-navigation:hover{background:#ffffff0f!important}.btn-navigation span,.btn-navigation svg{font-size:1.1em!important}.btn-navigation svg{font-size:1.2em!important}.light .btn-navigation svg{color:#000}.dark .btn-navigation svg{color:#fff}@supports (-webkit-hyphens: none){.btn-navigation{display:inline-block!important}}.light .btn-navigation-active,.dark .btn-navigation-active{background:#0000000f!important;box-shadow:none!important}.light .btn-navigation-active{background:#0000000f!important;border:none!important}.dark .btn-navigation-active{background:#ffffff1a!important;border:none!important}.btn-collection{padding:1px 12px;backdrop-filter:blur(16px) saturate(180%);background-color:#ffffff1a;border:1px solid rgba(209,213,219,.3);color:#fff;border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.btn-collection:hover{backdrop-filter:blur(16px) saturate(180%);background-color:#11192833;border:1px solid rgba(255,255,255,.125)}.light .btn-collection:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .btn-collection:active{background:#262626;box-shadow:0 0 0 1px #fff}.light .btn-collection:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .btn-collection:focus{background:#262626;box-shadow:0 0 0 1px #fff}.light .btn-collection:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-collection:disabled{background:#262626;cursor:not-allowed}a.btn-collection{height:40px;text-decoration:none}.light a.btn-collection,.dark a.btn-collection{border-radius:12px}.flowReverse{flex-flow:row-reverse!important}.btn-icon{width:40px;height:40px;display:grid;place-content:center;border-radius:8px!important}.light .btn-icon{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-icon{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-icon:hover{background:#f5f5f5}.light .btn-icon:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-icon:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-icon:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-icon{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-icon{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-icon:hover{background:#262626}.dark .btn-icon:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-icon:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-icon:disabled{background:#262626;cursor:not-allowed}.modalTabContent{width:100%!important}.light .modalTabContent{padding:1rem 2rem 5rem;display:flex;flex-direction:column;width:100%;height:100%;overflow-y:auto;background:#fff;margin:0;border-radius:12px}.light .modalTabContent hr{width:100%;background:#c4c4c4bd;outline:none}.light .modalTabContent .settingsRow{display:flex;align-items:center;justify-content:space-between;transition:.4s ease-in-out;border-bottom:1px solid #676767;padding-top:1rem;padding-bottom:1rem}.light .modalTabContent .settingsRow.settingsNoBorder{border-bottom:none}.light .modalTabContent .settingsRow:last-child{margin-bottom:2rem}.light .modalTabContent .settingsRow .content{display:flex;flex-flow:column;max-width:50%}.light .modalTabContent .settingsRow .action{display:flex;flex-flow:column;align-items:flex-end;width:300px}.light .modalTabContent .settingsRow .action button{margin-top:10px}.light .modalTabContent .settingsRow .action .link{margin-top:10px;display:flex;flex-flow:row;gap:15px;align-items:center}.dark .modalTabContent{padding:1rem 2rem 5rem;display:flex;flex-direction:column;width:100%;height:100%;overflow-y:auto;background:#0a0a0a;margin:0;border-radius:12px}.dark .modalTabContent hr{width:100%;background:#c4c4c4bd;outline:none}.dark .modalTabContent .settingsRow{display:flex;align-items:center;justify-content:space-between;transition:.4s ease-in-out;border-bottom:1px solid #676767;padding-top:1rem;padding-bottom:1rem}.dark .modalTabContent .settingsRow.settingsNoBorder{border-bottom:none}.dark .modalTabContent .settingsRow:last-child{margin-bottom:2rem}.dark .modalTabContent .settingsRow .content{display:flex;flex-flow:column;max-width:50%}.dark .modalTabContent .settingsRow .action{display:flex;flex-flow:column;align-items:flex-end;width:300px}.dark .modalTabContent .settingsRow .action button{margin-top:10px}.dark .modalTabContent .settingsRow .action .link{margin-top:10px;display:flex;flex-flow:row;gap:15px;align-items:center}.resetDataButtonsLayout{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px}.resetDataButtonsLayout :nth-child(1){grid-column:span 2}.light .resetDataButtonsLayout button{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .resetDataButtonsLayout button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .resetDataButtonsLayout button:hover{background:#f5f5f5}.light .resetDataButtonsLayout button:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .resetDataButtonsLayout button:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .resetDataButtonsLayout button:disabled{background:#f5f5f5;cursor:not-allowed}.dark .resetDataButtonsLayout button{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .resetDataButtonsLayout button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .resetDataButtonsLayout button:hover{background:#262626}.dark .resetDataButtonsLayout button:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .resetDataButtonsLayout button:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .resetDataButtonsLayout button:disabled{background:#262626;cursor:not-allowed}.resetDataButtonsLayout button{padding:5px 10px}table{border-collapse:separate;border-radius:10px;margin-top:20px}.light table{box-shadow:0 0 0 1px #f5f5f5;padding:0;border:0;outline:none}.dark table{box-shadow:0 0 0 1px #262626;padding:0;border:0;outline:none}.light table tr:first-child{border-radius:12px;color:#333}.dark table tr:first-child{border-radius:12px;color:#a0a0a0}table tr:first-child{letter-spacing:2px}table tr:first-child th{padding:20px}table td{padding:15px}table tr th:last-child{display:grid;place-items:center}.light table ::placeholder{color:#333}.dark table ::placeholder{color:#a0a0a0}.light table tr:not(:first-child){background:#fafafa}.dark table tr:not(:first-child){background:#111}table tr:not(:first-child) textarea{width:90%;margin:10px}.light table tr:not(:first-child) textarea{color:#000}.dark table tr:not(:first-child) textarea{color:#fff}.light .donateButton{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .donateButton{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .donateButton:hover{background:#f5f5f5}.light .donateButton:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .donateButton:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .donateButton:disabled{background:#f5f5f5;cursor:not-allowed}.dark .donateButton{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .donateButton{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .donateButton:hover{background:#262626}.dark .donateButton:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .donateButton:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .donateButton:disabled{background:#262626;cursor:not-allowed}.donateButton{flex-flow:row!important;text-decoration:none;height:auto!important}.donateButton svg{font-size:1.5rem!important}.flexGrow{flex-grow:1}.messageMap{display:flex;flex-flow:row;align-items:center;gap:25px;padding:25px;justify-content:space-between;cursor:default!important;user-select:auto}.messageMap:active{cursor:default!important}.light .messageMap{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.dark .messageMap{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.messageMap div:nth-child(1){display:flex;flex-flow:row;gap:25px;align-items:center}.light .messageMap .icon{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .messageMap .icon{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.messageMap .icon{padding:15px;border-radius:100%;font-size:25px}.messageMap .messageText{display:flex;flex-flow:column;flex-grow:3}.light .messageMap .messageText textarea{color:#000}.dark .messageMap .messageText textarea{color:#fff}.messageMap .messageText input[type=text]{height:56px;padding:0 16px;font-size:16px;outline:none;transition:.2s ease}.light .messageMap .messageText input[type=text]{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .messageMap .messageText input[type=text]:hover,.light .messageMap .messageText input[type=text]:focus{border-color:#000}.light .messageMap .messageText input[type=text]::placeholder{color:#333}.dark .messageMap .messageText input[type=text]{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .messageMap .messageText input[type=text]:hover,.dark .messageMap .messageText input[type=text]:focus{border-color:#fff}.dark .messageMap .messageText input[type=text]::placeholder{color:#a0a0a0}.light .messageMap .messageText .subtitle{color:#333;font-size:13px}.dark .messageMap .messageText .subtitle{color:#a0a0a0;font-size:13px}.messageMap .messageAction{float:right}.messagesContainer{display:flex;flex-flow:column;gap:25px}.eventDateSelection{display:flex!important;flex-flow:row!important;gap:5px!important;text-align:center!important}.light .eventDateSelection{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;color:#000!important}.dark .eventDateSelection{background:#151515;box-shadow:0 0 0 1px #484848;color:#fff!important}.eventDateSelection hr{height:100%;margin-right:5px}.light .eventDateSelection hr{border-color:#fafafa}.dark .eventDateSelection hr{border-color:#111}.eventDateSelection{border-radius:12px;height:40px;font-size:1rem;align-items:center;justify-content:center;transition:.5s;cursor:pointer;border:0;padding-left:10px;padding-right:5px}.eventDateSelection input[type=tel],.eventDateSelection input[type=number]{background:none;outline:none;border:none;max-width:20px;text-align:center}.light .eventDateSelection input[type=tel],.light .eventDateSelection input[type=number]{color:#000!important}.dark .eventDateSelection input[type=tel],.dark .eventDateSelection input[type=number]{color:#fff!important}.resetLink{color:var(--modal-link);cursor:pointer}.resetLink:hover{opacity:.8}.resetLink span{font-size:1.2rem;color:var(--modal-link);vertical-align:text-bottom;margin-left:5px}.modalLink{color:var(--modal-link);cursor:pointer;margin-left:5px}.modalLink:hover{opacity:.8}::-webkit-scrollbar{width:6px;height:6px;border-radius:12px}.light ::-webkit-scrollbar{background:#feffff}.dark ::-webkit-scrollbar{background:#151515}::-webkit-scrollbar-thumb{border-radius:25px}.light ::-webkit-scrollbar-thumb{background:#f5f5f5}.dark ::-webkit-scrollbar-thumb{background:#262626}.light ::-webkit-scrollbar-thumb:hover{background:#f7fafce6}.dark ::-webkit-scrollbar-thumb:hover{background:#565656}.light ::-webkit-scrollbar-thumb:active{background:#f7fafce6}.dark ::-webkit-scrollbar-thumb:active{background:#565656}.light .MuiCheckbox-colorPrimary.Mui-checked,.light .MuiSwitch-colorPrimary.Mui-checked,.light .MuIconButton-colorPrimary.Mui-checked,.light .MuiSwitch-thumb,.light .MuiRadio-colorSecondary.Mui-checked,.light .PrivateSwitchBase-input-4,.light .MuiRadio-root,.light .aboutLink,.light .MuiSlider-colorPrimary,.light legend{color:#000!important}.dark .MuiCheckbox-colorPrimary.Mui-checked,.dark .MuiSwitch-colorPrimary.Mui-checked,.dark .MuIconButton-colorPrimary.Mui-checked,.dark .MuiSwitch-thumb,.dark .MuiRadio-colorSecondary.Mui-checked,.dark .PrivateSwitchBase-input-4,.dark .MuiRadio-root,.dark .aboutLink,.dark .MuiSlider-colorPrimary,.dark legend{color:#fff!important}.MuiFormControlLabel-labelPlacementStart{margin-left:0!important}.light .MuiSwitch-colorPrimary.Mui-checked+.MuiSwitch-track{background-color:#333!important}.dark .MuiSwitch-colorPrimary.Mui-checked+.MuiSwitch-track{background-color:#a0a0a0!important}.light .MuiSwitch-track{background-color:#333!important}.dark .MuiSwitch-track{background-color:#a0a0a0!important}.light .MuiIconButton-label>svg.MuiSvgIcon-root{color:#000!important}.dark .MuiIconButton-label>svg.MuiSvgIcon-root{color:#fff!important}.MuiTouchRipple-root{background:transparent}.MuiFormControl-root,.settingsRow .action .MuiFormControlLabel-root{margin-top:10px!important}.light .checkbox svg{fill:#000!important}.dark .checkbox svg{fill:#fff!important}.radio-title{font-weight:700;font-size:1.17rem}.radio-title-small{font-weight:700;font-size:1rem}.MuiSlider-root{margin-bottom:30px!important}.light .MuiOutlinedInput-notchedOutline{border-color:#000!important}.dark .MuiOutlinedInput-notchedOutline{border-color:#fff!important}.light .MuiFormLabel-root-MuiInputLabel-root{color:#000!important}.dark .MuiFormLabel-root-MuiInputLabel-root{color:#fff!important}.light .MuiInputLabel-root,.light .MuiSlider-markLabel,.light .MuiSelect-icon,.light .MuiSelect-select,.light .Mui-focused,.light legend,.light .MuiOutlinedInput-input{color:#000!important}.dark .MuiInputLabel-root,.dark .MuiSlider-markLabel,.dark .MuiSelect-icon,.dark .MuiSelect-select,.dark .Mui-focused,.dark legend,.dark .MuiOutlinedInput-input{color:#fff!important}.light .MuiMenu-list{background-color:#fff;color:#000}.dark .MuiMenu-list{background-color:#0a0a0a;color:#fff}.light .MuiMenu-list li:hover{background-color:#f5f5f5;transition:.5s}.dark .MuiMenu-list li:hover{background-color:#262626;transition:.5s}.light .Mui-selected{background-color:#f5f5f5!important}.dark .Mui-selected{background-color:#262626!important}.MuiTextField-root,.MuiFormControl-root,.MuiSlider-root{width:300px!important}.Mui-disabled{color:#818181!important;cursor:not-allowed}.Mui-disabled .checkbox svg{fill:#818181!important}.light .MuiPaper-root{background-color:#fff!important}.dark .MuiPaper-root{background-color:#0a0a0a!important}.light .MuiSlider-valueLabel{background-color:#f5f5f5!important}.dark .MuiSlider-valueLabel{background-color:#262626!important}.MuiFormControlLabel-labelPlacementStart{justify-content:flex-end}.settingsRow .MuiFormControlLabel-root{flex-direction:row-reverse;margin-right:0;display:flex;justify-content:space-between;width:100%;margin-left:0}.settingsRow .MuiFormControlLabel-root{width:100%}.light .settingsRow p{color:#333!important}.dark .settingsRow p{color:#a0a0a0!important}.light .css-w66kx-MuiChip-root{color:#000!important;border:1px solid #f5f5f5;background:#feffff!important;border-radius:12px}.dark .css-w66kx-MuiChip-root{color:#fff!important;border:1px solid #262626;background:#151515!important;border-radius:12px}.css-w66kx-MuiChip-root,.MuiChip-root{text-transform:capitalize}.light .MuiChip-root{background:#f5f5f5!important;color:#000!important}.dark .MuiChip-root{background:#262626!important;color:#fff!important}.aboutLink:hover{opacity:.8}.aboutLogo{height:100px;width:auto;margin:calc(1rem - 15px) 0 1rem;align-self:center}.aboutContact{flex-flow:row;display:flex;gap:15px}.aboutContact a{text-decoration:none}.contributorImages{display:flex;flex-wrap:wrap;gap:15px}.contributorImages img{width:75px;height:auto;opacity:0;animation:fadeIn .5s ease-in-out forwards}.light .contributorImages img,.dark .contributorImages img{border-radius:12px}@keyframes fadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.subtitle-photographers{font-size:16px}.light .subtitle-photographers{color:#000}.light .subtitle-photographers span{color:#333}.dark .subtitle-photographers{color:#fff}.dark .subtitle-photographers span{color:#a0a0a0}.aboutText{text-align:center;display:flex;flex-flow:column}.updateChangelog{max-width:75%;margin-top:15px;white-space:pre-wrap;font-size:18px}.updateChangelog a{color:var(--modal-link)}.updateChangelog a:hover{opacity:.8}.changelogtab .mainTitle{margin:0!important}.changelogtab img{max-width:95%}.changelogtab .changelogAt{text-decoration:none}.sortableItem{cursor:move;width:200px;z-index:999!important;padding:15px;margin-bottom:10px;font-size:1.325rem}.light .sortableItem{color:#000!important;display:flex;justify-content:space-between;align-items:center;background:#fafafa;border-radius:12px;box-shadow:0 0 0 1px #e7e3e9}.light .sortableItem svg{font-size:1.3rem;color:#333}.light .sortableItem:hover{background:#f5f5f5!important}.dark .sortableItem{color:#fff!important;display:flex;justify-content:space-between;align-items:center;background:#111;border-radius:12px;box-shadow:0 0 0 1px #484848}.dark .sortableItem svg{font-size:1.3rem;color:#a0a0a0}.dark .sortableItem:hover{background:#262626!important}.sortableItem ul{-webkit-padding-start:0;padding:0;list-style-type:none}.sortableItem ul>label{vertical-align:middle}.sortablecontainer{-webkit-padding-start:0;padding:0;list-style-type:none}.images-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));padding:20px;grid-gap:20px}.light .images-row div{border-radius:12px;display:flex;align-items:center;justify-content:center;flex-flow:column;gap:5px;position:relative}.light .images-row div img{width:100%;height:200px;object-fit:cover;border-radius:12px}.light .images-row div button{padding:0 30px;background:#fff;border:none!important}.light .images-row div button:hover{background:#f5f5f5}.light .images-row div .tooltip{position:absolute!important;top:5px!important;right:5px!important}.light .images-row .iconButton{width:calc(100% - 22px);margin-top:10px}.light .light .images-row .iconButton{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px}.light .light .images-row .iconButton:hover{background:#f5f5f5}.light .light .images-row .iconButton:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .light .images-row .iconButton:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .light .images-row .iconButton{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px}.dark .light .images-row .iconButton:hover{background:#262626}.dark .light .images-row .iconButton:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .light .images-row .iconButton:focus{background:#262626;box-shadow:0 0 0 1px #fff}.light .images-row .iconButton{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.dark .images-row div{border-radius:12px;display:flex;align-items:center;justify-content:center;flex-flow:column;gap:5px;position:relative}.dark .images-row div img{width:100%;height:200px;object-fit:cover;border-radius:12px}.dark .images-row div button{padding:0 30px;background:#0a0a0a;border:none!important}.dark .images-row div button:hover{background:#262626}.dark .images-row div .tooltip{position:absolute!important;top:5px!important;right:5px!important}.dark .images-row .iconButton{width:calc(100% - 22px);margin-top:10px}.light .dark .images-row .iconButton{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px}.light .dark .images-row .iconButton:hover{background:#f5f5f5}.light .dark .images-row .iconButton:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .dark .images-row .iconButton:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .dark .images-row .iconButton{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px}.dark .dark .images-row .iconButton:hover{background:#262626}.dark .dark .images-row .iconButton:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .dark .images-row .iconButton:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .images-row .iconButton{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.images-grid{display:grid;padding:1px}.images-grid.selection-mode .image-checkbox{opacity:1}.images-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.light .images-grid .image-card{position:relative;border-radius:12px;background:#fafafa;overflow:hidden;transition:all .3s ease;box-shadow:0 0 0 1px #e7e3e9;cursor:pointer}.light .images-grid .image-card.selected{outline:3px solid #ff5c25;outline-offset:-3px}.light .images-grid .image-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px #00000026}.light .images-grid .image-card:hover .image-nav-buttons,.light .images-grid .image-card:hover .delete-button,.light .images-grid .image-card:hover .image-checkbox{opacity:1}.light .images-grid .image-card .image-checkbox{position:absolute;top:8px;left:8px;z-index:12;opacity:0;transition:opacity .2s}.light .images-grid .image-card .image-checkbox input[type=checkbox]{width:20px;height:20px;cursor:pointer;appearance:none;border:2px solid #fff;border-radius:4px;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .2s;box-shadow:0 2px 8px #0000004d;position:relative}.light .images-grid .image-card .image-checkbox input[type=checkbox]:checked{background:#ff5c25;border-color:#ff5c25;opacity:1}.light .images-grid .image-card .image-checkbox input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:2px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.light .images-grid .image-card .image-checkbox input[type=checkbox]:hover{border-color:#ff5c25;transform:scale(1.1)}.light .images-grid .image-card .image-checkbox:has(input:checked){opacity:1}.light .images-grid .image-card .image-preview{position:relative;width:100%;height:200px;overflow:hidden;background:#feffff}.light .images-grid .image-card .image-preview img{width:100%;height:100%;object-fit:cover}.light .images-grid .image-card .image-preview .video-icon-wrapper{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#feffff}.light .images-grid .image-card .image-preview .video-icon-wrapper .customvideoicon{font-size:60px;color:#333}.light .images-grid .image-card .image-preview .blur-placeholder{background-size:cover;background-position:center}.light .images-grid .image-card .image-preview .image-nav-buttons{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);display:flex;justify-content:space-between;padding:0 8px;opacity:0;transition:opacity .3s ease;pointer-events:none}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button{pointer-events:all;width:36px;height:36px;border-radius:50%;border:none;background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button svg{font-size:24px}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button:hover:not(:disabled){background:#000c;transform:scale(1.1)}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button:disabled{opacity:.3;cursor:not-allowed}.light .images-grid .image-card .image-metadata{padding:12px;display:flex;flex-direction:column;gap:6px}.light .images-grid .image-card .image-metadata .image-name{font-size:14px;font-weight:500;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.light .images-grid .image-card .image-metadata .image-details{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#333}.light .images-grid .image-card .image-metadata .image-details .detail{display:inline-block}.light .images-grid .image-card .image-metadata .image-details .folder-tag{padding:2px 8px;background:#f5f5f5;border-radius:4px;font-size:11px}.light .images-grid .image-card .delete-button{position:absolute;top:8px;right:8px;width:32px;height:32px;border-radius:50%;border:none;background:#ff4757e6;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:all .2s;z-index:11;box-shadow:0 2px 8px #0000004d}.light .images-grid .image-card .delete-button svg{font-size:20px}.light .images-grid .image-card .delete-button:hover{background:#ff4757;transform:scale(1.1)}.light .images-grid .image-card:hover .delete-button,.light .images-grid .image-card .image-checkbox:has(input:checked)~* .delete-button{opacity:1}.dark .images-grid .image-card{position:relative;border-radius:12px;background:#111;overflow:hidden;transition:all .3s ease;box-shadow:0 0 0 1px #484848;cursor:pointer}.dark .images-grid .image-card.selected{outline:3px solid #ff5c25;outline-offset:-3px}.dark .images-grid .image-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px #00000026}.dark .images-grid .image-card:hover .image-nav-buttons,.dark .images-grid .image-card:hover .delete-button,.dark .images-grid .image-card:hover .image-checkbox{opacity:1}.dark .images-grid .image-card .image-checkbox{position:absolute;top:8px;left:8px;z-index:12;opacity:0;transition:opacity .2s}.dark .images-grid .image-card .image-checkbox input[type=checkbox]{width:20px;height:20px;cursor:pointer;appearance:none;border:2px solid #fff;border-radius:4px;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .2s;box-shadow:0 2px 8px #0000004d;position:relative}.dark .images-grid .image-card .image-checkbox input[type=checkbox]:checked{background:#ff5c25;border-color:#ff5c25;opacity:1}.dark .images-grid .image-card .image-checkbox input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:2px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.dark .images-grid .image-card .image-checkbox input[type=checkbox]:hover{border-color:#ff5c25;transform:scale(1.1)}.dark .images-grid .image-card .image-checkbox:has(input:checked){opacity:1}.dark .images-grid .image-card .image-preview{position:relative;width:100%;height:200px;overflow:hidden;background:#151515}.dark .images-grid .image-card .image-preview img{width:100%;height:100%;object-fit:cover}.dark .images-grid .image-card .image-preview .video-icon-wrapper{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#151515}.dark .images-grid .image-card .image-preview .video-icon-wrapper .customvideoicon{font-size:60px;color:#a0a0a0}.dark .images-grid .image-card .image-preview .blur-placeholder{background-size:cover;background-position:center}.dark .images-grid .image-card .image-preview .image-nav-buttons{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);display:flex;justify-content:space-between;padding:0 8px;opacity:0;transition:opacity .3s ease;pointer-events:none}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button{pointer-events:all;width:36px;height:36px;border-radius:50%;border:none;background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button svg{font-size:24px}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button:hover:not(:disabled){background:#000c;transform:scale(1.1)}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button:disabled{opacity:.3;cursor:not-allowed}.dark .images-grid .image-card .image-metadata{padding:12px;display:flex;flex-direction:column;gap:6px}.dark .images-grid .image-card .image-metadata .image-name{font-size:14px;font-weight:500;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dark .images-grid .image-card .image-metadata .image-details{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#a0a0a0}.dark .images-grid .image-card .image-metadata .image-details .detail{display:inline-block}.dark .images-grid .image-card .image-metadata .image-details .folder-tag{padding:2px 8px;background:#262626;border-radius:4px;font-size:11px}.dark .images-grid .image-card .delete-button{position:absolute;top:8px;right:8px;width:32px;height:32px;border-radius:50%;border:none;background:#ff4757e6;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:all .2s;z-index:11;box-shadow:0 2px 8px #0000004d}.dark .images-grid .image-card .delete-button svg{font-size:20px}.dark .images-grid .image-card .delete-button:hover{background:#ff4757;transform:scale(1.1)}.dark .images-grid .image-card:hover .delete-button,.dark .images-grid .image-card .image-checkbox:has(input:checked)~* .delete-button{opacity:1}.storage-quota{padding:15px 20px;margin-top:10px;margin-bottom:50px}.light .storage-quota{background:#fafafa;border-top:1px solid #f5f5f5}.dark .storage-quota{background:#111;border-top:1px solid #262626}.storage-quota .quota-info{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.storage-quota .quota-info .quota-text{font-size:13px}.light .storage-quota .quota-info .quota-text{color:#333}.dark .storage-quota .quota-info .quota-text{color:#a0a0a0}.storage-quota .quota-info .quota-info-button{width:24px;height:24px;border-radius:50%;border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.light .storage-quota .quota-info .quota-info-button{color:#333}.light .storage-quota .quota-info .quota-info-button:hover{background:#f5f5f5}.dark .storage-quota .quota-info .quota-info-button{color:#a0a0a0}.dark .storage-quota .quota-info .quota-info-button:hover{background:#262626}.storage-quota .quota-info .quota-info-button svg{font-size:18px}.storage-quota .quota-bar{width:100%;height:6px;border-radius:3px;overflow:hidden}.light .storage-quota .quota-bar{background:#feffff}.dark .storage-quota .quota-bar{background:#151515}.storage-quota .quota-bar .quota-fill{height:100%;border-radius:3px;transition:all .3s ease}.taggingModalContent{padding:20px}.taggingModalContent p.subtitle{margin-bottom:20px}.taggingModalContent .taggingInput{display:flex;flex-direction:column;gap:8px}.taggingModalContent .taggingInput label{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .taggingModalContent .taggingInput label{color:#333}.dark .taggingModalContent .taggingInput label{color:#a0a0a0}.taggingModalContent .taggingInput input{padding:12px 16px;border-radius:8px;border:1px solid;font-size:14px;transition:all .2s}.light .taggingModalContent .taggingInput input{background:#fff;color:#000;border-color:#f5f5f5}.light .taggingModalContent .taggingInput input:focus{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c251a}.dark .taggingModalContent .taggingInput input{background:#0a0a0a;color:#fff;border-color:#262626}.dark .taggingModalContent .taggingInput input:focus{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c251a}.dropzone{margin-bottom:100px}.light .dropzone{background:#fff}.dark .dropzone{background:#0a0a0a}.dropzone .dropzone-content{min-height:200px}.dropzone .photosEmpty{padding:60px 20px;display:flex;align-items:center;justify-content:center}.dropzone .photosEmpty .emptyNewMessage{display:flex;flex-direction:column;align-items:center;gap:15px;text-align:center}.dropzone .photosEmpty .emptyNewMessage .title{font-size:18px;font-weight:500}.light .dropzone .photosEmpty .emptyNewMessage .title{color:#000}.dark .dropzone .photosEmpty .emptyNewMessage .title{color:#fff}.dropzone .photosEmpty .emptyNewMessage .subtitle{font-size:14px}.light .dropzone .photosEmpty .emptyNewMessage .subtitle{color:#333}.dark .dropzone .photosEmpty .emptyNewMessage .subtitle{color:#a0a0a0}.overviewGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:30px}.tabPreview{width:100%;aspect-ratio:2/1;display:flex;align-items:center;justify-content:center;margin-top:16px}.light .tabPreview{background:#fafafa;border-radius:12px;box-shadow:0 0 0 1px #e7e3e9}.dark .tabPreview{background:#111;border-radius:12px;box-shadow:0 0 0 1px #484848}.tabPreview .previewItem{display:flex;flex-flow:column;align-items:center}.tabPreview .previewItem .quotediv .quote{max-width:100%}.tabPreview .previewItem .quotediv .author-holder .author .author-content .title{font-size:1em!important}.light .tabPreview .previewItem .quotediv .author-holder .author .author-content .title{color:#000!important}.dark .tabPreview .previewItem .quotediv .author-holder .author .author-content .title{color:#fff!important}.overviewNews{display:flex;flex-flow:column;margin-top:16px;padding:25px}.overviewNews .title{font-size:36px!important;text-align:center}.overviewNews .subtitle{font-size:12px!important;text-align:center;text-transform:uppercase;letter-spacing:1px}.overviewNews .content{margin:20px 20px 0}.light .overviewNews{background:#fafafa;border-radius:12px;box-shadow:0 0 0 1px #e7e3e9}.dark .overviewNews{background:#111;border-radius:12px;box-shadow:0 0 0 1px #484848}.stats{display:flex;flex-flow:column;gap:30px;width:100%}.stats .rightPanel .statIcon{display:flex;justify-content:center;margin-bottom:30px}.stats .rightPanel .statGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:10px}.stats .rightPanel .statGrid div{display:flex;flex-flow:column}.stats .rightPanel .subtitle{text-transform:capitalize}.stats .rightPanel span{font-size:20px}.achievements{display:flex;flex-flow:column;gap:15px}.achievementsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:10px}.achievement{padding:20px 10px;display:flex;flex-flow:row!important;align-items:center}.light .achievement{background:#fafafa;border:1px solid #f5f5f5;border-radius:12px;gap:10px}.dark .achievement{background:#111;border:1px solid #262626;border-radius:12px;gap:10px}.achievement .timestamp{display:flex;flex-flow:row;align-items:center;gap:5px;font-size:12px}.light .achievement .timestamp{color:#333}.dark .achievement .timestamp{color:#a0a0a0}.achievement .achievementTitle{font-size:18px;font-weight:700}.achievement svg.trophy{font-size:20px!important}.light .achievement svg.trophy{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .achievement svg.trophy{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.achievement svg.trophy{padding:15px;border-radius:100%}.achievement svg.trophyLocked{font-size:20px!important}.light .achievement svg.trophyLocked{background-image:#f5f5f5;box-shadow:0 0 0 1px #e7e3e9}.dark .achievement svg.trophyLocked{background-image:#262626;box-shadow:0 0 0 1px #484848}.achievement svg.trophyLocked{padding:15px;border-radius:100%}.statSection.rightPanel{padding:25px}.light .statSection.rightPanel{border-radius:12px;background:#fafafa;box-shadow:0 0 0 1px #f5f5f5}.light .statSection.rightPanel svg{font-size:50px;color:#333}.dark .statSection.rightPanel{border-radius:12px;background:#111;box-shadow:0 0 0 1px #262626}.dark .statSection.rightPanel svg{font-size:50px;color:#a0a0a0}.achievementContent{display:flex;flex-flow:column;gap:2px}.achievementContent .subtitle{font-size:13px!important}.statsTopBar{display:flex;justify-content:space-between;align-items:center}.statsTopBar button{margin-bottom:15px;flex-flow:row!important;padding-left:20px;padding-right:20px}input[type=color]{border-radius:100%;height:30px;width:30px;border:none;outline:none;appearance:none;vertical-align:middle;background:none}.light input[type=color]{border:#f5f5f5 1px solid}.dark input[type=color]{border:#262626 1px solid}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:none;border-radius:100%}input[type=color]::-moz-color-swatch{border-radius:100%;height:30px;width:30px;border:none;outline:none;appearance:none;vertical-align:middle;background:none}input[type=color]::-moz-color-swatch::-moz-color-swatch{border:none;border-radius:100%}input[type=date]{width:260px;flex-flow:column}.light input[type=date]{background:#feffff;border:1px solid #f5f5f5;color:#000}.dark input[type=date]{background:#151515;border:1px solid #262626;color:#fff}input[type=date]{padding:15px 20px;border-radius:4px;display:flex!important;cursor:pointer}input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer}.dark ::-webkit-calendar-picker-indicator{filter:invert(1)}h4{cursor:pointer}.photosEmpty{height:400px;display:grid;place-items:center}.photosEmpty button{padding:0 20px}.imagesTopBar{position:sticky;top:-20px;z-index:90;padding:25px 0 15px;display:flex;flex-flow:row;justify-content:space-between;align-items:center}.light .imagesTopBar{background:#fff}.dark .imagesTopBar{background:#0a0a0a}.imagesTopBar .imagesTopBarTitle{display:flex;flex-flow:row;align-items:center;gap:20px}.imagesTopBar .imagesTopBarTitle svg{font-size:30px}.light .imagesTopBar .imagesTopBarTitle svg{color:#333}.dark .imagesTopBar .imagesTopBarTitle svg{color:#a0a0a0}.imagesTopBar .imagesTopBarTitle div{display:flex;flex-flow:column}.imagesTopBar .topbarbuttons{display:flex;flex-flow:row;gap:15px;align-items:center}.imagesTopBar button:not(.MuiButtonBase-root){padding:0 20px}.imagesControlBar{position:sticky;top:68px;z-index:89;padding:12px 0;margin-bottom:15px;display:flex;flex-flow:row;justify-content:space-between;align-items:center}.light .imagesControlBar{background:#fff;border-bottom:1px solid #f5f5f5}.dark .imagesControlBar{background:#0a0a0a;border-bottom:1px solid #262626}.imagesControlBar .controlBarLeft{display:flex;align-items:center;gap:10px;font-size:14px}.light .imagesControlBar .controlBarLeft{color:#333}.dark .imagesControlBar .controlBarLeft{color:#a0a0a0}.imagesControlBar .controlBarLeft .image-count{font-weight:500;display:flex}.light .imagesControlBar .controlBarLeft .image-count{color:#000}.dark .imagesControlBar .controlBarLeft .image-count{color:#fff}.imagesControlBar .controlBarLeft .image-count .storage-info{font-weight:400}.light .imagesControlBar .controlBarLeft .image-count .storage-info{color:#333}.dark .imagesControlBar .controlBarLeft .image-count .storage-info{color:#a0a0a0}.imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link{background:none;border:none;padding:0;margin-left:5px;cursor:pointer;text-decoration:underline;font-size:13px;transition:opacity .2s}.light .imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link,.dark .imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link{color:#ff5c25}.imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link:hover{opacity:.8}.imagesControlBar .controlBarLeft .selection-separator{opacity:.5}.imagesControlBar .controlBarLeft .selected-count{font-weight:500}.imagesControlBar .controlBarLeft .delete-link{background:none;border:none;padding:0;margin-left:5px;cursor:pointer;text-decoration:underline;font-size:14px;transition:opacity .2s}.light .imagesControlBar .controlBarLeft .delete-link,.dark .imagesControlBar .controlBarLeft .delete-link{color:#ff4757}.imagesControlBar .controlBarLeft .delete-link:hover{opacity:.8}.imagesControlBar .controlBarLeft .select-all-link{background:none;border:none;padding:0;margin-left:5px;cursor:pointer;text-decoration:underline;font-size:14px;transition:opacity .2s}.light .imagesControlBar .controlBarLeft .select-all-link{color:#333}.dark .imagesControlBar .controlBarLeft .select-all-link{color:#a0a0a0}.imagesControlBar .controlBarLeft .select-all-link:hover{opacity:.8}.light .imagesControlBar .controlBarLeft .select-all-link:hover{color:#000}.dark .imagesControlBar .controlBarLeft .select-all-link:hover{color:#fff}.imagesControlBar .controlBarRight{display:flex;align-items:center}.customcss textarea{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace!important}.preferences{transition:.4s ease-in-out}.preferencesInactive{opacity:.5;pointer-events:none;transition:.4s ease-in-out}.itemWarning{padding:10px 20px;display:flex;flex-flow:row;gap:15px;align-items:center}.itemWarning .text{display:flex;flex-flow:column}.itemWarning .text .header{font-weight:600;margin-bottom:5px}.light .itemWarning svg{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .itemWarning svg{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.itemWarning svg{padding:7px;border-radius:100%;font-size:24px;min-width:24px}.light .itemWarning{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.dark .itemWarning{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.lightBoxModal{margin:auto;max-width:60%;background:none!important;box-shadow:none!important}.lightBoxModal img{height:auto;width:100%}.lightBoxModal .closeModal{color:#fff;text-shadow:0 0 20px rgba(0,0,0,.3)}.items{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,280px));grid-gap:1.5rem;margin-top:15px;margin-bottom:30px}.items .item{position:relative;border-radius:12px;width:auto;cursor:pointer;transition:transform .3s cubic-bezier(.4,0,.2,1);display:flex;flex-flow:column;align-items:flex-start;gap:15px;background-position:center;background-repeat:no-repeat;background-size:cover;padding:1.5rem;will-change:transform;transform:translateZ(0)}.light .items .item{background-color:#fafafa;box-shadow:0 0 0 1px #f5f5f5}.light .items .item:hover{transform:translate3d(0,-5px,0)}.dark .items .item{background-color:#111;box-shadow:0 0 0 1px #262626}.dark .items .item:hover{transform:translate3d(0,-5px,0)}.items .item .tags{margin-top:7px}.items .item .item-icon{object-fit:cover!important;height:60px!important;width:60px!important;border-radius:12px;transition:.5s}.items .item .item-icon.item-icon-text{display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:600;letter-spacing:1px}.light .items .item .item-icon.item-icon-text{background-color:#f5f5f5;color:#000}.dark .items .item .item-icon.item-icon-text{background-color:#262626;color:#fff}.items .item .card-details{z-index:1;display:flex;flex-flow:column;align-items:flex-start}.items .item .card-details .card-title{font-size:18px}.items .item .card-details .card-subtitle{font-size:14px}.light .items .item .card-details .card-subtitle{color:#333}.dark .items .item .card-details .card-subtitle{color:#a0a0a0}.items .item .card-details .card-chips{margin-top:20px;display:flex;flex-flow:row;gap:8px;flex-wrap:wrap}.items .item .card-details .card-type,.items .item .card-details .card-collection{font-size:12px;font-weight:bolder}.light .items .item .card-details .card-type,.light .items .item .card-details .card-collection{color:#333}.dark .items .item .card-details .card-type,.dark .items .item .card-details .card-collection{color:#a0a0a0}.items .item .card-details .card-type,.items .item .card-details .card-collection{border-radius:150px;padding:2px 15px;background-color:#ffffff1a;border:1px solid rgba(209,213,219,.3)}.light .items .item .card-details .card-collection,.dark .items .item .card-details .card-collection{background-color:#ffffff26;border:1px solid rgba(209,213,219,.4)}.items .item .item-uninstall-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:none;background-color:#00000080;cursor:pointer;transition:background-color .2s ease}.items .item .item-uninstall-btn svg{color:#fff;font-size:18px}.items .item .item-uninstall-btn:hover{background-color:#dc3232e6}.items .item .item-installed-badge{position:absolute;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:2px solid rgba(255,255,255,.4);box-shadow:0 2px 6px #0000004d;z-index:2;pointer-events:none;will-change:transform}.items .item .item-installed-badge svg{color:#fff;font-size:20px}.items .item .item-sideload-badge{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background-color:#646464e6;cursor:help}.items .item .item-sideload-badge svg{color:#fff;font-size:16px}.items .item:hover .item-installed-badge{transform:scale(1.05)}.items .item.item-sideloaded{cursor:default}.items .item.item-sideloaded:hover{transform:none}.itemPage{display:flex;flex-flow:row;justify-content:space-between;align-items:flex-start;gap:30px;flex-wrap:wrap}.itemPage .itemContent{display:flex;flex-flow:column;gap:25px;flex:1}.itemPage .itemContent img{width:100%;height:auto;border-radius:12px}.itemPage .itemContent table{table-layout:fixed;width:100%;word-wrap:break-word!important;font-size:16px;border-collapse:collapse}.itemPage .itemContent .itemTop{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background-color:#646464e6;cursor:help}.itemPage .itemContent .itemTop svg{color:#fff;font-size:16px}.itemPage .itemContent:hover .item-installed-badge{transform:scale(1.05)}.itemPage .itemContent.item-sideloaded{cursor:default}.itemPage .itemContent.item-sideloaded:hover{transform:none}.emptyItems{width:100%;height:100%;display:grid;place-items:center}.emptyMessage{display:grid;place-items:center;grid-gap:5px;padding:50px}.emptyMessage .title,.emptyMessage svg{margin:10px}.emptyMessage svg{font-size:70px}.light .emptyMessage .sideloadIcon{font-size:50px;color:#333}.dark .emptyMessage .sideloadIcon{font-size:50px;color:#a0a0a0}.emptyMessage button{display:flex;flex-flow:row}.emptyNewMessage{display:flex;gap:20px;flex-flow:column;text-align:center;align-items:center;-webkit-user-select:none;user-select:none}.emptyNewMessage img{width:200px;height:auto}.emptyNewMessage svg{font-size:70px}.emptyNewMessage button svg{font-size:1rem}.emptyNewMessage .buttonsRow{display:flex;flex-flow:row;gap:30px;align-items:center}p.author{margin-top:-5px}#item>img,.updateImage,.updateChangelog>p>img{border-radius:12px;height:200px;width:auto;cursor:pointer}.filter{display:flex;flex-flow:row;gap:15px;justify-content:space-between;align-items:center}.filter .MuiFormControl-root{margin-bottom:10px}.filter .buttonSection{display:flex;flex-flow:row;gap:20px}.filter .tags{max-width:50%}.createYourOwn{display:flex;flex-flow:column;gap:20px;align-items:center;margin-top:30px}.createYourOwn svg{font-size:30px}.topAddons{display:flex;align-items:center;justify-content:space-between}.modalHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.modalHeader .tooltip{margin-right:25px}.modalHeader .mainTitle{margin-bottom:0!important}.filter-options-container{display:flex;flex-flow:row;gap:20px;margin:20px 0;align-items:center;justify-content:space-between}.filter-chips{display:flex;flex-flow:row;gap:12px;align-items:center}.filter-chips .filter-chip{all:unset;padding:8px 20px;border-radius:24px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;-webkit-user-select:none;user-select:none}.light .filter-chips .filter-chip{background-color:#f5f5f5;color:#000}.dark .filter-chips .filter-chip{background-color:#262626;color:#fff}.light .filter-chips .filter-chip:hover,.dark .filter-chips .filter-chip:hover{background-color:#ffffff26}.light .filter-chips .filter-chip.active,.dark .filter-chips .filter-chip.active{background-color:#fff;color:#000}.light .filter-chips .filter-chip.active:hover,.dark .filter-chips .filter-chip.active:hover{background-color:#f0f0f0}.filter-chips .filter-chip:focus-visible{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}.Overlay{position:fixed;z-index:100;inset:0;width:100vw;height:100vh;display:grid;place-items:center}.light .Modal{color:#000}.dark .Modal{color:#fff}.Modal{box-shadow:0 0 20px #0000004d;opacity:1;z-index:-2;transition-timing-function:ease-in;border-radius:12px;user-select:none;overflow:hidden;transform:scale(0);transition:all .3s cubic-bezier(.47,1.64,.41,.8)}.Modal:focus{outline:0}.Modal .modalInfoPage{user-select:text}.closePositioning{position:absolute;top:3rem;right:3rem}.closeModal{display:grid;place-items:center;padding:.5em;border-radius:12px;cursor:pointer;transition:.5s;outline:none;border:none;background:transparent}.closeModal svg{font-size:2em}.light .closeModal{color:#000}.dark .closeModal{color:#fff}.light .closeModal:hover{background:#f5f5f5}.dark .closeModal:hover{background:#262626}.ReactModal__Html--open,.ReactModal__Body--open{overflow:hidden}.ReactModal__Content--after-open{opacity:1;transform:scale(1)}.ReactModal__Content--before-close{opacity:0;transform:scale(0)}#modal{height:80vh;width:clamp(60vw,1400px,90vw);-webkit-backdrop-filter:blur(16px) saturate(180%);backdrop-filter:blur(16px) saturate(180%);overflow:hidden;border-radius:12px}.light #modal{background-color:#fff}.dark #modal{background-color:#0a0a0a}label,p,span.modalLink{font-size:1rem}h2{font-size:2rem;margin-bottom:0}h3{font-size:1.17rem}h5{font-size:.8rem}.loaderHolder{display:flex;gap:15px;flex-flow:column;align-items:center}#loader{display:inline-block;width:50px;height:50px}.light #loader{border:3px solid #feffff;border-radius:50%;border-top-color:#f5f5f5}.dark #loader{border:3px solid #151515;border-radius:50%;border-top-color:#262626}#loader{animation:spin 1s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}.headerExtras{display:flex;flex-flow:column;gap:-1px;padding:10px 0}.headerExtras div:nth-child(1){display:flex;flex-flow:column;gap:10px}.headerExtras form{margin-top:10px}.headerExtras .link{display:flex;flex-flow:row;gap:15px;align-items:center}.light .headerExtras .MuiOutlinedInput-notchedOutline{border-color:#f5f5f5!important}.dark .headerExtras .MuiOutlinedInput-notchedOutline{border-color:#262626!important}.headerActions{display:flex;flex-flow:row;gap:20px;justify-content:center;align-items:center}.headerActions .link{display:flex;flex-flow:row;gap:15px;align-items:center}.marketplaceCondition{display:flex;flex-flow:row!important;gap:-1px;justify-content:space-between;align-items:center}.languageSettings{padding-bottom:50px}.languageSettings .MuiFormGroup-root{gap:5px}.languageSettings .MuiFormControl-root{width:100%!important;gap:15px}.languageSettings .MuiFormControl-root .MuiFormControlLabel-root{display:flex;flex-direction:row-reverse;justify-content:space-between;padding:5px 5px 5px 20px;transition:.3s}.light .languageSettings .MuiFormControl-root .MuiFormControlLabel-root{background:#feffff;border-radius:12px}.light .languageSettings .MuiFormControl-root .MuiFormControlLabel-root:hover{background:#f5f5f5}.dark .languageSettings .MuiFormControl-root .MuiFormControlLabel-root{background:#151515;border-radius:12px}.dark .languageSettings .MuiFormControl-root .MuiFormControlLabel-root:hover{background:#262626}.sliderTitle{width:100%;display:flex;justify-content:space-between;padding:15px 0}.sliderTitle .link{display:flex;flex-flow:row;gap:15px;align-items:center}.moreSettings{cursor:pointer;display:flex;flex-flow:row;justify-content:space-between;padding:25px;margin-top:20px;transition:.5s}.light .moreSettings{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.light .moreSettings:hover{background:#f5f5f5}.dark .moreSettings{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.dark .moreSettings:hover{background:#262626}.moreSettings svg{font-size:20px}.moreSettings .left{display:flex;flex-flow:row;align-items:center;gap:25px}.light .moreSettings .left svg{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .moreSettings .left svg{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.moreSettings .left svg{padding:15px;border-radius:100%}.moreSettings .content{display:flex;flex-flow:column}.moreSettings .action{display:flex;flex-flow:row;gap:20px;align-items:center}.reminder-info{display:flex;flex-flow:column;position:absolute;bottom:0;padding:15px;gap:15px}.light .reminder-info{background-color:#fafafa;border-radius:12px;border:1px solid #f5f5f5}.dark .reminder-info{background-color:#111;border-radius:12px;border:1px solid #262626}.light .reminder-info button{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px}.light .reminder-info button:hover{background:#f5f5f5}.light .reminder-info button:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .reminder-info button:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .reminder-info button{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px}.dark .reminder-info button:hover{background:#262626}.dark .reminder-info button:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .reminder-info button:focus{background:#262626;box-shadow:0 0 0 1px #fff}.reminder-info button{padding:5px;font-size:5px;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center;display:flex;justify-content:center;gap:15px}.reminder-info button svg{margin:0!important}.reminder-info svg{margin:0!important}.quoteSkeleton{margin-top:5px;display:flex;flex-flow:column;gap:5px;align-items:center}.quoteSkeleton div{display:flex;flex-flow:row}.quoteSkeleton .text{display:flex;flex-flow:column;padding:5px}.quoteSkeleton .skeletonAuthor{font-size:smaller;display:flex;flex-flow:row;align-items:center;gap:25px;padding:0 20px 0 5px}.light .quoteSkeleton .skeletonAuthor svg{background-color:#feffff;padding:10px;border-radius:12px;place-items:center}.dark .quoteSkeleton .skeletonAuthor svg{background-color:#151515;padding:10px;border-radius:12px;place-items:center}.light .quoteSkeleton .skeletonAuthor{background-color:#f5f5f5;border-radius:12px}.dark .quoteSkeleton .skeletonAuthor{background-color:#262626;border-radius:12px}.quoteSkeleton .skeletonAuthor .title{font-size:medium!important}.quoteSkeleton .skeletonAuthor .subtitle{font-size:smaller!important}.quickLinksSkeleton .circles{display:flex;flex-flow:row;gap:5px}.quickLinksSkeleton .circles div{margin-top:10px;padding:3px;height:20px;width:20px;border-radius:100%;display:grid;place-items:center}.light .quickLinksSkeleton .circles div{background-color:#f5f5f5}.dark .quickLinksSkeleton .circles div{background-color:#262626}.clockSkeleton{font-size:30px!important;font-weight:700}.quicklinkscontainer textarea,.quicklinksdropdown,.quickLinksMetro{backdrop-filter:blur(15px)}.light .quicklinkscontainer textarea,.quicklinkscontainer .light textarea,.light .quicklinksdropdown,.light .quickLinksMetro{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .quicklinkscontainer textarea,.quicklinkscontainer .dark textarea,.dark .quicklinksdropdown,.dark .quickLinksMetro{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.quicklinkscontainer textarea .title,.quicklinksdropdown .title,.quickLinksMetro .title{font-size:18px}.light .quicklinkscontainer textarea .title,.quicklinkscontainer .light textarea .title,.light .quicklinksdropdown .title,.light .quickLinksMetro .title{color:#000}.dark .quicklinkscontainer textarea .title,.quicklinkscontainer .dark textarea .title,.dark .quicklinksdropdown .title,.dark .quickLinksMetro .title{color:#fff}.quicklinkscontainer textarea .subtitle,.quicklinksdropdown .subtitle,.quickLinksMetro .subtitle{font-size:14px}.light .quicklinkscontainer textarea .subtitle,.quicklinkscontainer .light textarea .subtitle,.light .quicklinksdropdown .subtitle,.light .quickLinksMetro .subtitle{color:#333}.dark .quicklinkscontainer textarea .subtitle,.quicklinkscontainer .dark textarea .subtitle,.dark .quicklinksdropdown .subtitle,.dark .quickLinksMetro .subtitle{color:#a0a0a0}.addLinkModal .mainTitle{display:flex;align-items:center;font-size:38px;font-weight:600;margin-bottom:15px;text-transform:capitalize}.light .addLinkModal .mainTitle{color:#000}.dark .addLinkModal .mainTitle{color:#fff}.addLinkModal .mainTitle .backTitle{cursor:pointer;transition:.5s}.light .addLinkModal .mainTitle .backTitle{color:#333}.light .addLinkModal .mainTitle .backTitle:hover{color:#000}.dark .addLinkModal .mainTitle .backTitle{color:#a0a0a0}.dark .addLinkModal .mainTitle .backTitle:hover{color:#fff}.addLinkModal .title{font-size:24px;font-weight:600}.light .addLinkModal .title{color:#000}.dark .addLinkModal .title{color:#fff}.addLinkModal .subtitle{font-size:16px;font-family:Inter,sans-serif!important}.light .addLinkModal .subtitle{color:#333}.dark .addLinkModal .subtitle{color:#a0a0a0}.addLinkModal .link{font-size:16px;text-decoration:none;cursor:pointer}.light .addLinkModal .link,.dark .addLinkModal .link{color:#ff5c25}.addLinkModal .link:hover{opacity:.8}.light .quicklinks{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .quicklinks:hover{background:#f7fafce6}.light .quicklinks:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .quicklinks:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .quicklinks{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .quicklinks:hover{background:#565656}.dark .quicklinks:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .quicklinks:focus{background:#565656;box-shadow:0 0 0 1px #fff}.quicklinks{font-size:14px;cursor:pointer;transition:.5s;display:grid;place-items:center;outline:none;border:none;box-shadow:0 0 0 1px #484848;border-radius:12px;color:#fff;display:flex;align-items:center;justify-content:space-evenly;font-size:.5em;padding:10px 40px;gap:15px}.quicklinkscontainer{border-radius:12px;z-index:1;display:flex;place-content:center center;flex-wrap:wrap;padding:0 25px;gap:12px;max-width:100%;overflow-x:visible;box-sizing:border-box}.quicklinkscontainer.sortable-quicklinks{cursor:default}.quicklinkscontainer textarea{border:none;padding:15px;border-radius:12px}.quicklinkscontainer ::placeholder{color:#636e72;opacity:1}.topbarquicklinks svg{font-size:46px;padding:9px}.topbarquicklinks h4{margin:0;cursor:initial;user-select:none;text-shadow:none}.topbarquicklinks p{font-size:16px;cursor:initial;user-select:none;color:#ff4757}.messagesContainer.disabled{pointer-events:none;user-select:none;opacity:.55}.quicklink-wrapper{position:relative;display:flex;align-items:center;gap:8px;transition:all .2s ease;cursor:grab;user-select:none;border-radius:8px;padding:4px}.quicklink-wrapper:hover{background:#ffffff0d}.quicklink-wrapper:hover .quicklink-drag-handle{opacity:1}.quicklink-wrapper:active{cursor:grabbing}.quicklink-wrapper a{margin:0;flex:1;display:flex;align-items:center;justify-content:center}.quicklink-drag-handle{display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:#fff6;cursor:grab;opacity:0;transition:opacity .2s ease,color .2s ease;border-radius:4px}.quicklink-drag-handle:hover{color:#fffc;background:#ffffff1a}.quicklink-drag-handle svg{width:16px;height:16px}.metro-wrapper{flex-direction:column}.metro-wrapper .quicklink-drag-handle{position:absolute;top:8px;left:8px;z-index:2}.quicklinkstext{text-decoration:none;color:#fff;font-size:.8em}.quicklinkstext:hover{text-decoration:underline}.quicklinksdropdown{position:absolute;z-index:99;display:none;flex-flow:column;padding:15px;box-shadow:0 0 0 1px #484848;gap:5px}.quicklinksdropdown:hover .quicklinksdropdown{display:block}.quicklinksdropdown .dropdown-title{font-size:.9em}.quicklinksdropdown .dropdown-subtitle{font-size:.4em}.light .quicklinksdropdown .dropdown-subtitle{color:#333}.dark .quicklinksdropdown .dropdown-subtitle{color:#a0a0a0}.light .quicklinksdropdown button{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .quicklinksdropdown button:hover{background:#f7fafce6}.light .quicklinksdropdown button:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .quicklinksdropdown button:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .quicklinksdropdown button{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .quicklinksdropdown button:hover{background:#565656}.dark .quicklinksdropdown button:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .quicklinksdropdown button:focus{background:#565656;box-shadow:0 0 0 1px #fff}.quicklinksdropdown button{padding:10px;font-size:.9rem;cursor:pointer;transition:.5s;display:grid;place-items:center;border-radius:12px;border:none;outline:none;color:#fff;display:flex;align-items:center;justify-content:center;gap:20px}.dropdown-error{font-size:.4em}button.quicklinks{cursor:pointer}.outOfScreen{bottom:515px}.addLinkModal{padding:15px}.light .addLinkModal{background:#fafafa}.dark .addLinkModal{background:#111}.light .addLinkModal button{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .addLinkModal button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .addLinkModal button:hover{background:#f5f5f5}.light .addLinkModal button:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .addLinkModal button:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .addLinkModal button:disabled{background:#f5f5f5;cursor:not-allowed}.dark .addLinkModal button{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .addLinkModal button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .addLinkModal button:hover{background:#262626}.dark .addLinkModal button:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .addLinkModal button:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .addLinkModal button:disabled{background:#262626;cursor:not-allowed}.addLinkModal button{padding:10px 30px;float:right}.addLinkModal .addFooter{display:flex;flex-flow:row;justify-content:space-between;align-items:center}.addLinkModal .dropdown-error{font-size:16px;padding-left:5px;color:#e74c3c}.quicklinkModalTextbox{display:grid;grid-template-rows:auto 1fr;grid-template-columns:repeat(2,1fr);grid-gap:10px;padding:15px 0}.quicklinkModalTextbox button{display:flex;flex-flow:row;gap:20px;justify-content:center}.quicklinkModalTextbox .dropdown-error{font-size:30px;padding-left:5px;color:#e74c3c}.light .quicklinkModalTextbox textarea{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px;padding:10px 20px}.light .quicklinkModalTextbox textarea:hover,.light .quicklinkModalTextbox textarea:active{box-shadow:0 0 0 1px #000}.light .quicklinkModalTextbox textarea:focus{box-shadow:0 0 0 1px #000}.dark .quicklinkModalTextbox textarea{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px;padding:10px 20px}.dark .quicklinkModalTextbox textarea:hover,.dark .quicklinkModalTextbox textarea:active{box-shadow:0 0 0 1px #fff}.dark .quicklinkModalTextbox textarea:focus{box-shadow:0 0 0 1px #fff}.quickLinksMetro{text-decoration:none;gap:10px;display:flex;flex-flow:column;align-items:center;min-width:100px;background-image:linear-gradient(to left,rgb(0,0,0),transparent,rgb(0,0,0));transition:.8s;text-align:left;padding:20px 40px}.light .quickLinksMetro:hover{background:#f7fafce6}.dark .quickLinksMetro:hover{background:#565656}.quickLinksMetro img{width:auto;align-self:center}.quicklinknostyle{text-decoration:none;font-size:14px}.light .quicklinknostyle{color:#333}.dark .quicklinknostyle{color:#a0a0a0}.messageMap{display:flex;align-items:center;gap:12px;padding:10px;border-radius:10px;transition:box-shadow .15s ease,transform .12s ease,opacity .12s ease;cursor:grab;user-select:none;background:transparent;border:1px solid rgba(255,255,255,.03)}.messageMap:active{cursor:grabbing}.messageMap.dragging{opacity:.6;transform:scale(.995);box-shadow:0 8px 20px #00000059;z-index:10}.messageMap.drag-over{outline:2px dashed rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px #ffffff08;background:#ffffff03}.messageMap .dragHandle{display:flex;align-items:center;justify-content:center;color:#ffffffa6;font-size:20px;padding:6px;border-radius:8px;margin-right:4px;cursor:grab;user-select:none;transition:background .12s ease,color .12s ease}.messageMap .dragHandle:hover{color:#ffffffe6;background:#ffffff05}.messageMap .messageText{flex:1 1 auto;min-width:0}.messageMap .messageText .title{font-weight:600;font-size:.95rem;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messageMap .messageText .subtitle{font-size:.8rem;color:#fff9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messageMap .messageAction{display:flex;gap:8px;align-items:center}.quicklinks-list{display:flex;flex-direction:column;gap:12px;padding:16px 0;width:100%}.quicklink-item{display:flex;align-items:center;gap:16px;background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:16px 20px;transition:all .01s ease;cursor:grab;user-select:none}.quicklink-item:hover{background:#ffffff0f;border-color:#ffffff1f}.quicklink-item:hover .quicklink-drag-handle{opacity:1;color:#ffffffb3}.quicklink-item:active{cursor:grabbing}.quicklink-item .quicklink-drag-handle{display:flex;align-items:center;justify-content:center;cursor:grab;color:#fff6;font-size:24px;padding:4px;opacity:.3;transition:opacity .2s ease,color .2s ease}.quicklink-item .quicklink-drag-handle:active{cursor:grabbing}.quicklink-item .quicklink-drag-handle:hover{color:#ffffffe6}.quicklink-item .quicklink-icon{width:48px;height:48px;border-radius:50%;background:#ffffff14;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;border:1px solid rgba(255,255,255,.1)}.quicklink-item .quicklink-icon img{width:32px;height:32px;object-fit:contain;user-select:none;pointer-events:none}.quicklink-item .quicklink-icon .quicklink-icon-placeholder{font-size:20px}.quicklink-item .quicklink-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.quicklink-item .quicklink-content .quicklink-name{font-size:16px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.quicklink-item .quicklink-content .quicklink-url{font-size:13px;color:#ffffff80;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.quicklink-item .quicklink-actions{display:flex;gap:8px;flex-shrink:0}.quicklink-item .quicklink-actions .quicklink-action-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:#ffffff0d;color:#fff;font-size:14px;cursor:pointer;transition:all .2s ease;white-space:nowrap}.quicklink-item .quicklink-actions .quicklink-action-btn svg{font-size:16px;flex-shrink:0}.quicklink-item .quicklink-actions .quicklink-action-btn:hover{background:#ffffff1a;border-color:#ffffff40}.quicklink-item .quicklink-actions .quicklink-action-btn:active{transform:translateY(0)}.quicklink-item .quicklink-actions .quicklink-action-btn.quicklink-remove-btn:hover{background:#ef444426;border-color:#ef444466;color:#ef4444}.quicklink-item.disabled{cursor:default}.quicklink-item.disabled .quicklink-action-btn{opacity:.6;cursor:not-allowed}.quicklink-item.disabled .drag-handle{cursor:not-allowed;opacity:.5}.sortable-helper{transform:scale(1.02);z-index:9999!important;opacity:.5!important;box-shadow:0 12px 40px #00000080!important;cursor:grabbing!important}.sortable-helper.quicklink-item{background:#ffffff1a!important;border-color:#fff3!important}.sortable-helper .quicklink-drag-handle{opacity:1!important;color:#ffffffe6!important}.sortable-helper .quicklink-icon,.sortable-helper .quicklink-content,.sortable-helper .quicklink-actions,.sortable-helper img{opacity:1!important;visibility:visible!important}.sortable-helper *{pointer-events:none!important}.sortable-ghost{opacity:0!important;visibility:hidden!important;pointer-events:none!important;background:#ffffff1a!important;transition:none!important}.messagesContainer{display:flex;flex-direction:column;gap:8px;padding-bottom:50px}.quicklink-wrapper .quicklinkstext{text-decoration:none;color:#fff;font-size:.8em;padding:8px 12px;border-radius:6px;transition:all .2s ease}.quicklink-wrapper .quicklinkstext:hover{text-decoration:underline;background:#ffffff1a}.quicklink-wrapper .quickLinksMetro{position:relative;min-width:100px}.quicklink-wrapper .quickLinksMetro .subtitle{margin-top:8px;font-size:.8rem;color:#ffffffe6}.date{cursor:initial;user-select:none;text-transform:capitalize;font-weight:700;--shadow-shift: .125rem}.message{cursor:default;margin:0;user-select:none;font-size:1em}.slider-container{width:300px;margin-bottom:30px}.slider-container .slider-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.slider-container .slider-value{font-size:16px;font-weight:600}.light .slider-container .slider-value{color:#000}.dark .slider-container .slider-value{color:#fff}.slider-container .slider-reset{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .slider-container .slider-reset,.dark .slider-container .slider-reset{color:#ff5c25}.slider-container .slider-reset:hover{opacity:.8}.slider-container .slider-reset svg{font-size:12px}.slider-container .slider-wrapper{position:relative;width:100%}.slider-container .slider-input{-webkit-appearance:none;appearance:none;width:100%;height:6px;border-radius:3px;outline:none;cursor:pointer;transition:background .3s ease}.light .slider-container .slider-input{background:linear-gradient(to right,#ff5c25 0%,#ff5c25 var(--slider-percentage),#f5f5f5 var(--slider-percentage),#f5f5f5 100%)}.dark .slider-container .slider-input{background:linear-gradient(to right,#ff5c25 0%,#ff5c25 var(--slider-percentage),#262626 var(--slider-percentage),#262626 100%)}.slider-container .slider-input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 6px #0003}.light .slider-container .slider-input::-webkit-slider-thumb{background:#000;border:2px solid #ff5c25}.dark .slider-container .slider-input::-webkit-slider-thumb{background:#fff;border:2px solid #ff5c25}.slider-container .slider-input::-webkit-slider-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px #0000004d}.slider-container .slider-input::-moz-range-thumb{width:20px;height:20px;border-radius:50%;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 6px #0003;border:none}.light .slider-container .slider-input::-moz-range-thumb{background:#000;border:2px solid #ff5c25}.dark .slider-container .slider-input::-moz-range-thumb{background:#fff;border:2px solid #ff5c25}.slider-container .slider-input::-moz-range-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px #0000004d}.slider-container .slider-input:focus-visible{outline:none}.light .slider-container .slider-input:focus-visible::-webkit-slider-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.dark .slider-container .slider-input:focus-visible::-webkit-slider-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.slider-container .slider-input:focus-visible::-webkit-slider-thumb{transform:scale(1.15)}.light .slider-container .slider-input:focus-visible::-moz-range-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.dark .slider-container .slider-input:focus-visible::-moz-range-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.slider-container .slider-input:focus-visible::-moz-range-thumb{transform:scale(1.15)}.slider-container .slider-input:active:not(:disabled)::-webkit-slider-thumb{transform:scale(1.2)}.slider-container .slider-input:active:not(:disabled)::-moz-range-thumb{transform:scale(1.2)}.slider-container .slider-input:disabled{opacity:.5;cursor:not-allowed}.slider-container .slider-input:disabled::-webkit-slider-thumb{cursor:not-allowed;transform:scale(1)!important}.slider-container .slider-input:disabled::-moz-range-thumb{cursor:not-allowed;transform:scale(1)!important}.slider-container .slider-marks{position:relative;width:100%;height:20px;margin-top:8px}.slider-container .slider-marks .slider-mark{position:absolute;transform:translate(-50%);font-size:12px}.light .slider-container .slider-marks .slider-mark{color:#333}.dark .slider-container .slider-marks .slider-mark{color:#a0a0a0}@keyframes checkScale{0%{transform:scale(0);opacity:0}50%{transform:scale(1.1)}to{transform:scale(1);opacity:1}}.checkbox-wrapper{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;cursor:pointer;padding:8px 0}.checkbox-wrapper.disabled{opacity:.5;cursor:not-allowed}.light .checkbox-wrapper:hover:not(.disabled) .checkbox-label{color:#ff5c25}.dark .checkbox-wrapper:hover:not(.disabled) .checkbox-label{color:#ff5c25}.checkbox-wrapper .checkbox-label{flex:1;transition:color .2s ease;pointer-events:none}.light .checkbox-wrapper .checkbox-label{color:#000}.dark .checkbox-wrapper .checkbox-label{color:#fff}.checkbox-wrapper .checkbox-box{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;transition:all .2s ease;cursor:pointer;flex-shrink:0;pointer-events:none}.light .checkbox-wrapper .checkbox-box{border:2px solid #f5f5f5;background:#feffff;color:#000}.light .checkbox-wrapper .checkbox-box:hover:not(.disabled){border-color:#000;transform:scale(1.05)}.dark .checkbox-wrapper .checkbox-box{border:2px solid #262626;background:#151515;color:#fff}.dark .checkbox-wrapper .checkbox-box:hover:not(.disabled){border-color:#fff;transform:scale(1.05)}.checkbox-wrapper .checkbox-box:active:not(.disabled){transform:scale(.95)}.light .checkbox-wrapper .checkbox-box:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.dark .checkbox-wrapper .checkbox-box:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.light .checkbox-wrapper .checkbox-box.checked,.dark .checkbox-wrapper .checkbox-box.checked{background:#ff5c25;border-color:#ff5c25}.checkbox-wrapper .checkbox-box.checked svg{animation:checkScale .3s cubic-bezier(.68,-.55,.265,1.55)}.checkbox-wrapper .checkbox-box svg{font-size:18px;color:#fff}.checkbox-wrapper .checkbox-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}.light .checkbox-wrapper .checkbox-input:focus-visible+.checkbox-box{box-shadow:0 0 0 3px #ff5c25}.dark .checkbox-wrapper .checkbox-input:focus-visible+.checkbox-box{box-shadow:0 0 0 3px #ff5c25}.checkbox-wrapper .checkbox-input:disabled{cursor:not-allowed}.chipSelect{position:relative;width:300px;margin-top:10px}.chipSelect .chipSelect-label{display:block;margin-bottom:8px;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .chipSelect .chipSelect-label{color:#333}.dark .chipSelect .chipSelect-label{color:#a0a0a0}.chipSelect .chipSelect-control{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:8px 12px;cursor:pointer;transition:.2s ease}.light .chipSelect .chipSelect-control{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .chipSelect .chipSelect-control:hover{border-color:#000}.dark .chipSelect .chipSelect-control{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .chipSelect .chipSelect-control:hover{border-color:#fff}.chipSelect .chipSelect-value{flex:1;min-width:0}.light .chipSelect .chipSelect-placeholder{color:#333}.dark .chipSelect .chipSelect-placeholder{color:#a0a0a0}.chipSelect .chipSelect-chips{display:flex;flex-wrap:wrap;gap:6px}.chipSelect .chipSelect-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;font-size:13px;text-transform:capitalize}.light .chipSelect .chipSelect-chip{background:#f5f5f5;border-radius:6px;color:#000}.dark .chipSelect .chipSelect-chip{background:#262626;border-radius:6px;color:#fff}.chipSelect .chipSelect-chip .chipSelect-chip-remove{display:flex;align-items:center;justify-content:center;padding:2px;margin-left:2px;border:none;background:transparent;cursor:pointer;border-radius:50%;transition:.2s ease}.light .chipSelect .chipSelect-chip .chipSelect-chip-remove{color:#333}.light .chipSelect .chipSelect-chip .chipSelect-chip-remove:hover{background:#ffffff1a;color:#000}.dark .chipSelect .chipSelect-chip .chipSelect-chip-remove{color:#a0a0a0}.dark .chipSelect .chipSelect-chip .chipSelect-chip-remove:hover{background:#ffffff1a;color:#fff}.chipSelect .chipSelect-chip .chipSelect-chip-remove svg{font-size:14px}.chipSelect .chipSelect-arrow{flex-shrink:0;font-size:24px;transition:transform .2s ease}.light .chipSelect .chipSelect-arrow{color:#333}.dark .chipSelect .chipSelect-arrow{color:#a0a0a0}.chipSelect .chipSelect-arrow.open{transform:rotate(180deg)}.chipSelect .chipSelect-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:250px;overflow-y:auto;z-index:100}.light .chipSelect .chipSelect-dropdown{background:#fff;border:1px solid #f5f5f5;border-radius:12px;box-shadow:0 4px 12px #00000026}.dark .chipSelect .chipSelect-dropdown{background:#0a0a0a;border:1px solid #262626;border-radius:12px;box-shadow:0 4px 12px #00000026}.chipSelect .chipSelect-option{display:flex;align-items:center;gap:10px;padding:12px 16px;cursor:pointer;transition:.2s ease}.light .chipSelect .chipSelect-option{color:#000}.light .chipSelect .chipSelect-option:hover{background:#f5f5f5}.light .chipSelect .chipSelect-option.selected{background:#feffff}.dark .chipSelect .chipSelect-option{color:#fff}.dark .chipSelect .chipSelect-option:hover{background:#262626}.dark .chipSelect .chipSelect-option.selected{background:#151515}.chipSelect .chipSelect-option .chipSelect-option-checkbox{display:flex;align-items:center;justify-content:center;width:20px;height:20px;font-size:12px;font-weight:700}.light .chipSelect .chipSelect-option .chipSelect-option-checkbox{border:2px solid #f5f5f5;border-radius:4px;color:#000}.dark .chipSelect .chipSelect-option .chipSelect-option-checkbox{border:2px solid #262626;border-radius:4px;color:#fff}.light .chipSelect .chipSelect-option.selected .chipSelect-option-checkbox{background:#f5f5f5;border-color:#000}.dark .chipSelect .chipSelect-option.selected .chipSelect-option-checkbox{background:#262626;border-color:#fff}.chipSelect .chipSelect-option .chipSelect-option-label{flex:1}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dropdown{position:relative;width:300px;margin-top:10px;gap:8px;display:flex;flex-flow:column}.dropdown.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.dropdown .dropdown-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.dropdown .dropdown-label{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .dropdown .dropdown-label{color:#333}.dark .dropdown .dropdown-label{color:#a0a0a0}.dropdown .dropdown-reset{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .dropdown .dropdown-reset,.dark .dropdown .dropdown-reset{color:#ff5c25}.dropdown .dropdown-reset:hover{opacity:.8}.dropdown .dropdown-reset svg{font-size:12px}.dropdown .dropdown-control{display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 16px;cursor:pointer;transition:all .2s ease;outline:none}.light .dropdown .dropdown-control{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .dropdown .dropdown-control:hover{border-color:#000}.dark .dropdown .dropdown-control{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .dropdown .dropdown-control:hover{border-color:#fff}.dropdown .dropdown-control:focus-visible{outline:none}.light .dropdown .dropdown-control:focus-visible{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c25}.dark .dropdown .dropdown-control:focus-visible{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c25}.dropdown .dropdown-value{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color .2s ease}.dropdown .dropdown-arrow{flex-shrink:0;font-size:24px;transition:transform .2s ease}.light .dropdown .dropdown-arrow{color:#333}.dark .dropdown .dropdown-arrow{color:#a0a0a0}.dropdown .dropdown-arrow.open{transform:rotate(180deg)}.dropdown .dropdown-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:250px;overflow-y:auto;z-index:9999;animation:dropdownSlideIn .2s ease-out}.light .dropdown .dropdown-menu{background:#fff;border:1px solid #f5f5f5;border-radius:12px;box-shadow:0 4px 12px #00000026}.dark .dropdown .dropdown-menu{background:#0a0a0a;border:1px solid #262626;border-radius:12px;box-shadow:0 4px 12px #00000026}.dropdown .dropdown-menu::-webkit-scrollbar{width:6px}.light .dropdown .dropdown-menu::-webkit-scrollbar-track{background:#feffff}.dark .dropdown .dropdown-menu::-webkit-scrollbar-track{background:#151515}.light .dropdown .dropdown-menu::-webkit-scrollbar-thumb{background:#f5f5f5;border-radius:3px}.dark .dropdown .dropdown-menu::-webkit-scrollbar-thumb{background:#262626;border-radius:3px}.light .dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover{background:#000}.dark .dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover{background:#fff}.dropdown .dropdown-option{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;cursor:pointer;transition:all .15s ease;outline:none}.light .dropdown .dropdown-option{color:#000}.light .dropdown .dropdown-option:hover{background:#f5f5f5;padding-left:20px}.light .dropdown .dropdown-option.selected{background:#feffff;font-weight:500}.light .dropdown .dropdown-option.focused{background:#f5f5f5;border-left:2px solid #ff5c25}.dark .dropdown .dropdown-option{color:#fff}.dark .dropdown .dropdown-option:hover{background:#262626;padding-left:20px}.dark .dropdown .dropdown-option.selected{background:#151515;font-weight:500}.dark .dropdown .dropdown-option.focused{background:#262626;border-left:2px solid #ff5c25}.dropdown .dropdown-option .dropdown-option-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown .dropdown-option .dropdown-option-check{flex-shrink:0;font-size:14px;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center}.light .dropdown .dropdown-option .dropdown-option-check,.dark .dropdown .dropdown-option .dropdown-option-check{background:#ff5c25;color:#fff}@keyframes radioDotScale{0%{transform:scale(0);opacity:0}50%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}.radio-group{width:100%;margin-top:10px}.radio-group .radio-title{font-weight:700;font-size:1.17rem;margin-bottom:12px;display:block}.light .radio-group .radio-title{color:#000}.dark .radio-group .radio-title{color:#fff}.radio-group .radio-title-small{font-weight:700;font-size:1rem;margin-bottom:10px;display:block}.light .radio-group .radio-title-small{color:#000}.dark .radio-group .radio-title-small{color:#fff}.radio-group .radio-options{display:flex;flex-direction:column;gap:10px}.radio-group .radio-option{position:relative;display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:16px 20px;transition:all .2s ease}.light .radio-group .radio-option{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.light .radio-group .radio-option:hover:not(.disabled){background:#fafafa;transform:translateY(-1px)}.dark .radio-group .radio-option{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.dark .radio-group .radio-option:hover:not(.disabled){background:#111;transform:translateY(-1px)}.radio-group .radio-option:active:not(.disabled){transform:translateY(0)}.light .radio-group .radio-option.selected .radio-circle,.dark .radio-group .radio-option.selected .radio-circle{border-color:#ff5c25}.radio-group .radio-option.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.radio-group .radio-label{flex:1;font-size:15px;pointer-events:none}.light .radio-group .radio-label{color:#000}.dark .radio-group .radio-label{color:#fff}.radio-group .radio-circle{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;transition:all .2s ease;cursor:pointer;flex-shrink:0;margin-left:20px;pointer-events:none}.light .radio-group .radio-circle{border:2px solid #f5f5f5;background:#fafafa}.dark .radio-group .radio-circle{border:2px solid #262626;background:#111}.radio-group .radio-circle:hover:not(.disabled){transform:scale(1.1)}.light .radio-group .radio-circle:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.dark .radio-group .radio-circle:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.radio-group .radio-dot{width:12px;height:12px;border-radius:50%;animation:radioDotScale .3s cubic-bezier(.68,-.55,.265,1.55)}.light .radio-group .radio-dot,.dark .radio-group .radio-dot{background:#ff5c25}.radio-group .radio-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}.light .radio-group .radio-input:focus-visible+.radio-circle{box-shadow:0 0 0 3px #ff5c25}.dark .radio-group .radio-input:focus-visible+.radio-circle{box-shadow:0 0 0 3px #ff5c25}.radio-group .radio-input:disabled{cursor:not-allowed}.search-input-container{position:relative;display:flex;align-items:center;width:250px}.search-input-container.full-width{width:100%}.search-input-container .search-input-icon{position:absolute;left:16px;font-size:20px;pointer-events:none}.light .search-input-container .search-input-icon{color:#333}.dark .search-input-container .search-input-icon{color:#a0a0a0}.search-input-container .search-input-field{width:100%;height:48px;padding:0 16px 0 44px;font-size:15px;outline:none;transition:.2s ease}.light .search-input-container .search-input-field{background:#feffff;border:1px solid #f5f5f5;border-radius:24px;color:#000}.light .search-input-container .search-input-field:hover,.light .search-input-container .search-input-field:focus{border-color:#000}.light .search-input-container .search-input-field::placeholder{color:#333}.dark .search-input-container .search-input-field{background:#151515;border:1px solid #262626;border-radius:24px;color:#fff}.dark .search-input-container .search-input-field:hover,.dark .search-input-container .search-input-field:focus{border-color:#fff}.dark .search-input-container .search-input-field::placeholder{color:#a0a0a0}.switch-wrapper{display:flex;align-items:center;justify-content:space-between;width:100%;cursor:pointer;padding:8px 0}.switch-wrapper .switch-label{flex:1}.light .switch-wrapper .switch-label{color:#000}.dark .switch-wrapper .switch-label{color:#fff}.switch-wrapper .switch-track{position:relative;width:52px;height:32px;border-radius:16px;cursor:pointer;transition:.2s ease;flex-shrink:0}.light .switch-wrapper .switch-track{background:#f5f5f5}.dark .switch-wrapper .switch-track{background:#262626}.light .switch-wrapper .switch-track.checked,.dark .switch-wrapper .switch-track.checked{background:#ff5c25}.switch-wrapper .switch-track.checked .switch-thumb{transform:translate(20px)}.switch-wrapper .switch-thumb{position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;transition:.2s ease;box-shadow:0 2px 4px #0003}.light .switch-wrapper .switch-thumb{background:#000}.dark .switch-wrapper .switch-thumb{background:#fff}.switch-wrapper .switch-input{position:absolute;opacity:0;pointer-events:none}.switch-wrapper:has(.switch-input:focus-visible) .switch-track{outline:2px solid currentColor;outline-offset:2px}.text-field-container{display:flex;flex-direction:column;width:300px;margin-top:10px}.text-field{display:flex;flex-direction:column;gap:8px}.text-field .text-field-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.text-field .text-field-label{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .text-field .text-field-label{color:#333}.dark .text-field .text-field-label{color:#a0a0a0}.text-field .text-field-reset{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .text-field .text-field-reset,.dark .text-field .text-field-reset{color:#ff5c25}.text-field .text-field-reset:hover{opacity:.8}.text-field .text-field-reset svg{font-size:12px}.text-field .text-field-input{height:56px;padding:0 16px;font-size:16px;outline:none;transition:.2s ease}.light .text-field .text-field-input{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .text-field .text-field-input:hover,.light .text-field .text-field-input:focus{border-color:#000}.light .text-field .text-field-input::placeholder{color:#333}.dark .text-field .text-field-input{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .text-field .text-field-input:hover,.dark .text-field .text-field-input:focus{border-color:#fff}.dark .text-field .text-field-input::placeholder{color:#a0a0a0}.text-field .text-field-textarea{padding:16px;font-size:16px;outline:none;resize:vertical;min-height:100px;transition:.2s ease}.light .text-field .text-field-textarea{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .text-field .text-field-textarea:hover,.light .text-field .text-field-textarea:focus{border-color:#000}.light .text-field .text-field-textarea::placeholder{color:#333}.dark .text-field .text-field-textarea{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .text-field .text-field-textarea:hover,.dark .text-field .text-field-textarea:focus{border-color:#fff}.dark .text-field .text-field-textarea::placeholder{color:#a0a0a0}.text-field.customcss .text-field-textarea{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace!important}.textarea-autosize{width:100%;padding:12px 16px;font-size:15px;line-height:24px;outline:none;resize:none;overflow:hidden;transition:.2s ease;font-family:inherit}.light .textarea-autosize{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .textarea-autosize:hover,.light .textarea-autosize:focus{border-color:#000}.light .textarea-autosize::placeholder{color:#333}.dark .textarea-autosize{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .textarea-autosize:hover,.dark .textarea-autosize:focus{border-color:#fff}.dark .textarea-autosize::placeholder{color:#a0a0a0}.textarea-autosize[readonly]{opacity:.6;cursor:not-allowed}.notesContainer,.notesContainer .flexNotes textarea,.topBarNotes{backdrop-filter:blur(15px)}.light .notesContainer,.light .notesContainer .flexNotes textarea,.notesContainer .flexNotes .light textarea,.light .topBarNotes{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .notesContainer,.dark .notesContainer .flexNotes textarea,.notesContainer .flexNotes .dark textarea,.dark .topBarNotes{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.notesContainer .title,.notesContainer .flexNotes textarea .title,.topBarNotes .title{font-size:18px}.light .notesContainer .title,.notesContainer .flexNotes .light textarea .title,.light .topBarNotes .title{color:#000}.dark .notesContainer .title,.notesContainer .flexNotes .dark textarea .title,.dark .topBarNotes .title{color:#fff}.notesContainer .subtitle,.notesContainer .flexNotes textarea .subtitle,.topBarNotes .subtitle{font-size:14px}.light .notesContainer .subtitle,.notesContainer .flexNotes .light textarea .subtitle,.light .topBarNotes .subtitle{color:#333}.dark .notesContainer .subtitle,.notesContainer .flexNotes .dark textarea .subtitle,.dark .topBarNotes .subtitle{color:#a0a0a0}.notes{position:relative}.notes h3{text-shadow:none;margin:0;cursor:initial;user-select:none}.notes:hover .notesContainer,.notes:active .notesContainer{visibility:visible!important}.notes:focus .notesContainer{visibility:visible!important}.notesContainer{padding:15px;text-align:center;border-radius:12px;position:absolute;font-size:1rem!important}.light .notesContainer .notes-buttons button{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .notesContainer .notes-buttons button:hover{background:#f7fafce6}.light .notesContainer .notes-buttons button:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .notesContainer .notes-buttons button:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .notesContainer .notes-buttons button{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .notesContainer .notes-buttons button:hover{background:#565656}.dark .notesContainer .notes-buttons button:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .notesContainer .notes-buttons button:focus{background:#565656;box-shadow:0 0 0 1px #fff}.notesContainer .notes-buttons button{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.light .notesContainer .notes-buttons button{background:#fff!important}.light .notesContainer .notes-buttons button:hover{background:#f7fafce6!important}.dark .notesContainer .notes-buttons button{background:#222!important}.dark .notesContainer .notes-buttons button:hover{background:#565656!important}.notesContainer .notes-buttons button{flex-grow:1;display:grid;place-items:center}.notesContainer .notes-buttons button svg{font-size:1.3rem}.notesContainer .flexNotes{display:flex;flex-flow:column;gap:15px}.notesContainer .flexNotes textarea{max-height:65vh!important;overflow-y:visible!important;border:none;padding:15px;border-radius:12px;width:200px}.notesContainer ::placeholder{color:#636e72;opacity:1}textarea{border:none;resize:none;background:none}.topBarNotes{display:flex;align-items:center;justify-content:center;height:50px;border-radius:12px;flex-flow:row;gap:5px;user-select:none}.topBarNotes svg{font-size:1.5rem}.notes-buttons{display:flex!important;gap:10px}.light .notes-buttons button:disabled{background:#feffff!important}.dark .notes-buttons button:disabled{background:#151515!important}.notes-buttons button:disabled{cursor:not-allowed}.notes-buttons .tooltip{flex:1!important}.notesContainer .flexTodo{display:flex;flex-flow:column;gap:15px;width:223px}.notesContainer .flexTodo .todoRows{max-height:65vh!important;overflow:hidden visible!important;display:flex;flex-flow:column;gap:15px}.notesContainer .todosEmpty{height:200px;display:grid;place-items:center}.light .todoRow{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .todoRow:hover{background:#f7fafce6}.light .todoRow:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .todoRow:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .todoRow{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .todoRow:hover{background:#565656}.dark .todoRow:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .todoRow:focus{background:#565656;box-shadow:0 0 0 1px #fff}.todoRow{padding:1px;font-size:16px;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center;display:flex;flex-flow:row;align-items:center;margin:15px 5px}.light .todoRow{color:#000!important}.dark .todoRow{color:#fff!important}.todoRow textarea{width:120px}.light .todoRow textarea{color:#000!important}.dark .todoRow textarea{color:#fff!important}.todoRow svg{padding:10px;place-items:center;display:grid;cursor:pointer}.light .todoRow svg{color:#000!important}.dark .todoRow svg{color:#fff!important}.light .todoRow svg:hover{background:#feffff;border-radius:12px}.dark .todoRow svg:hover{background:#151515;border-radius:12px}.done{text-decoration:line-through}.done textarea{cursor:not-allowed}.appsShortcutContainer{max-height:35rem;overflow-y:auto;border-radius:.8em;padding:1.2em;display:grid;grid-template-columns:repeat(3,auto);grid-auto-rows:100px;gap:10px;place-items:center}.light .appsShortcutContainer{background:#fafafa}.dark .appsShortcutContainer{background:#111}.appsShortcutContainer .noAppsContainer{grid-column:1/3}.appsShortcutContainer .noAppsContainer h3{margin:0;display:flex;align-items:center}.appsShortcutContainer .noAppsContainer svg{font-size:30px;margin-left:10px}.appsIcon{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;text-decoration:none;padding:10px;border-radius:.8em;cursor:pointer;width:5rem;height:4.7rem;transition:.5s}.appsIcon img{border-radius:.6rem}.appsIcon span{display:inline-block;width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;text-align:center;margin-top:10px}.appsIcon:hover span{white-space:initial}.appsIcon:hover{height:max-content}.light .appsIcon{color:#000}.light .appsIcon:hover{background:#f5f5f5}.dark .appsIcon{color:#fff}.dark .appsIcon:hover{background:#262626}.navbar{display:flex;flex-flow:row;gap:10px;animation:fadeIn 2s}.navbar button{-webkit-font-smoothing:subpixel-antialiased;cursor:pointer;margin-top:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.light .old button.navbarButton{background:none;color:#fff;border-radius:12px;box-shadow:0 0!important}.light .old button.navbarButton:hover{background-color:#4242423b}.light .old button.navbarButton:active{background-color:#4242423b;box-shadow:0 0 0 1px #000}.light .old button.navbarButton:focus{background-color:#4242423b;box-shadow:0 0 0 1px #000}.dark .old button.navbarButton{background:none;color:#fff;border-radius:12px;box-shadow:0 0!important}.dark .old button.navbarButton:hover{background-color:#4242423b}.dark .old button.navbarButton:active{background-color:#4242423b;box-shadow:0 0 0 1px #fff}.dark .old button.navbarButton:focus{background-color:#4242423b;box-shadow:0 0 0 1px #fff}.old button.navbarButton{padding:12px;font-size:1.2rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.light .new button.navbarButton{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .new button.navbarButton:hover{background:#f7fafce6}.light .new button.navbarButton:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .new button.navbarButton:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .new button.navbarButton{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .new button.navbarButton:hover{background:#565656}.dark .new button.navbarButton:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .new button.navbarButton:focus{background:#565656;box-shadow:0 0 0 1px #fff}.new button.navbarButton{padding:12px;font-size:1.2rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.navbar-hover{position:absolute;top:0;right:0;height:50px;width:500px}.navbar-hover .navbar{opacity:0;transition:visibility .2s linear,opacity .2s linear;visibility:hidden}.navbar-hover:hover .navbar{opacity:1;visibility:visible}.navbar-container{position:absolute;top:1rem;right:1rem;display:flex;flex-flow:column}.appsmodal{width:fit-content;padding:5px;border-radius:1em}.light .appsmodal{background:#f5f5f5}.dark .appsmodal{background:#262626}.navbarButtonOptions{display:flex;flex-flow:row;gap:10px}.navbarButtonOptions .navbarButtonOption .subtitle{font-size:12px}.navbarButtonOptions .navbarButtonOption svg{background:linear-gradient(238.7deg,#ff5c25 13.8%,#d21a11 49.49%,#ff456e 87.48%);padding:5px;border-radius:100%}.light .navbarButtonOptions .navbarButtonOption svg{color:#000}.dark .navbarButtonOptions .navbarButtonOption svg{color:#fff}.navbarButtonOptions .navbarButtonOption{cursor:pointer;width:70px!important;border:none;outline:none;margin-top:0!important;height:70px;padding:5px;display:flex;flex-flow:column;align-items:center;justify-content:center;text-align:center;gap:10px}.light .navbarButtonOptions .navbarButtonOption{background:#f5f5f5;border-radius:12px;box-shadow:0 0 0 1px #f7fafce6}.light .navbarButtonOptions .navbarButtonOption:hover{background:#feffff}.dark .navbarButtonOptions .navbarButtonOption{background:#262626;border-radius:12px;box-shadow:0 0 0 1px #565656}.dark .navbarButtonOptions .navbarButtonOption:hover{background:#151515}.light .navbarButtonOptions .disabled{background:#feffff;box-shadow:0 0 0 1px #f5f5f5}.light .navbarButtonOptions .disabled:hover{background:#f5f5f5}.dark .navbarButtonOptions .disabled{background:#151515;box-shadow:0 0 0 1px #262626}.dark .navbarButtonOptions .disabled:hover{background:#262626}.light .navbarButtonOptions .disabled svg{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .navbarButtonOptions .disabled svg{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.Toastify__toast-container{width:auto!important;padding:16px!important}.light .Toastify__toast{background:#ffffffb3!important;color:#000!important;box-shadow:0 0 0 1px #e7e3e9,0 8px 32px #0003!important}.dark .Toastify__toast{background:#000000b3!important;color:#fff!important;box-shadow:0 0 0 1px #484848,0 8px 32px #0003!important}.Toastify__toast{border-radius:"borderRadius"!important;-webkit-backdrop-filter:blur(15px) saturate(180%)!important;backdrop-filter:blur(15px) saturate(180%)!important;padding:16px 20px!important;min-height:64px!important;width:auto!important;min-width:300px!important;max-width:500px!important;font-family:inherit!important;box-sizing:border-box!important;transition:all .3s ease!important}.Toastify__toast:hover{transform:translateY(-2px)!important;box-shadow:0 0 0 1px #484848,0 12px 40px #0000004d!important}.Toastify__toast-body{padding:0!important;font-size:15px!important;line-height:1.5!important;margin:0!important}.light .Toastify__toast-body{color:#000!important}.dark .Toastify__toast-body{color:#fff!important}.light .Toastify__close-button{color:#000!important;opacity:.6!important}.dark .Toastify__close-button{color:#fff!important;opacity:.6!important}.Toastify__close-button{align-self:center!important;transition:all .2s ease!important}.Toastify__close-button:hover{opacity:1!important}.Toastify__progress-bar{height:4px!important;border-radius:0 0 "borderRadius" "borderRadius"!important}.light .Toastify__progress-bar--default,.light .Toastify__progress-bar--info,.dark .Toastify__progress-bar--default,.dark .Toastify__progress-bar--info{background:linear-gradient(90deg,#ff5c25,#dd3b67)!important}.Toastify__progress-bar--success{background:linear-gradient(90deg,#2ed573,#1abc9c)!important}.Toastify__progress-bar--warning{background:linear-gradient(90deg,#ffb032,#ff9500)!important}.Toastify__progress-bar--error{background:linear-gradient(90deg,#ff4757,#dd3b67)!important}.light .Toastify__toast--default,.light .Toastify__toast--info,.light .Toastify__toast--success,.light .Toastify__toast--warning,.light .Toastify__toast--error{background:#ffffffb3!important;color:#000!important}.dark .Toastify__toast--default,.dark .Toastify__toast--info,.dark .Toastify__toast--success,.dark .Toastify__toast--warning,.dark .Toastify__toast--error{background:#000000b3!important;color:#fff!important}body{background:#000;margin:0;overflow:hidden;text-rendering:optimizelegibility!important;-moz-text-rendering:optimizelegibility!important}*{font-family:Lexend Deca,Inter,sans-serif!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;outline:none}#center{font-size:calc(10px + 2vmin);text-align:center;position:absolute;inset:0;text-shadow:0 0 25px rgba(0,0,0,.3);display:grid;place-items:center;margin:0}#center #widgets{color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;animation:fadeIn 1s}#center.no-textBorder,#center.no-textBorder .quote{text-shadow:none!important}.light ::placeholder{color:#000}.dark ::placeholder{color:#fff}::placeholder{opacity:1}.light #root{color:#000}.dark #root{color:#fff}.textBorder{filter:drop-shadow(var(--shadow-shift) var(--shadow-shift) 0 rgba(17,17,17,.8))}.no-animations .ReactModal__Content,.no-animations button,.no-animations svg,.no-animations input[type=text],.no-animations .MuiSwitch-switchBase,.no-animations .tooltipTitle,.no-animations .quicklinks-container img{transition:none!important}.frame{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}@font-face{font-family:Lexend Deca;font-style:normal;font-display:swap;font-weight:400;src:url(./lexend-deca-latin-400-normal-Ck_pn9Ss.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lexend Deca;font-style:normal;font-display:swap;font-weight:400;src:url(./lexend-deca-latin-ext-400-normal-BcOMzUY_.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-400-normal-C38fXH4l.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-greek-400-normal-B4URO6DV.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-greek-ext-400-normal-DGGRlc-M.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-vietnamese-400-normal-DMkecbls.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-cyrillic-400-normal-obahsSVq.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}.criticalError{display:grid;place-items:center;width:100vw;height:100vh}.criticalError .criticalError-actions{display:flex;flex-flow:row;gap:20px}.criticalError button,.criticalError a{border:0;border-radius:12px;padding:10px 30px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer;text-decoration:none}@media(prefers-color-scheme:dark){body{background-color:#000}.criticalError .criticalError-message{color:#fff}.criticalError p{color:#ffffffc0}.criticalError a{background:#0e1013;box-shadow:0 0 0 1px #484848;color:#fff}.criticalError a:hover{background:#1e1e1e}}@media(prefers-color-scheme:light){body{background-color:#fff}.criticalError .criticalError-message{color:#000}.criticalError p{color:#000000c0}.criticalError a{background:#fdfdfd;box-shadow:0 0 0 1px #484848;color:#000}.criticalError a:hover{background:#f5f5f5}}.light .pulse{height:100%;width:100%;background:linear-gradient(-90deg,#efefef,#ccc,#efefef);background-size:400% 400%;animation:pulse .8s ease-in-out infinite}.dark .pulse{height:100%;width:100%;background:linear-gradient(-90deg,#000,#535353,#000);background-size:400% 400%;animation:pulse .8s ease-in-out infinite}@keyframes pulse{0%{background-position:0% 0%}to{background-position:-135% 0%}}:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0px;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width:480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}@media only screen and (max-width:480px){.Toastify__toast-container[data-stacked=true]{width:100vw}}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}diff --git a/src/firefox/newtab/assets/index-DfKEmD7L.js b/src/chrome/newtab/assets/index-WlLvTUiq.jssimilarity index 99%rename from src/firefox/newtab/assets/index-DfKEmD7L.jsrename to src/chrome/newtab/assets/index-WlLvTUiq.jsindex 9cb6d1991..a39bd7e77 100644--- a/src/firefox/newtab/assets/index-DfKEmD7L.js+++ b/src/chrome/newtab/assets/index-WlLvTUiq.js@@ -1,2 +1,2 @@-import{j as m,r as K,ax as de}from"./index-DLQt-leu.js";function Y(e){if(e instanceof Date)return e.getHours();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const t=n[0];if(t){const r=Number.parseInt(t,10);if(!Number.isNaN(r))return r}}}throw new Error(`Failed to get hours from date: ${e}.`)}function w(e){if(e instanceof Date)return e.getMinutes();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const t=n[1]||"0",r=Number.parseInt(t,10);if(!Number.isNaN(r))return r}}throw new Error(`Failed to get minutes from date: ${e}.`)}function y(e){if(e instanceof Date)return e.getSeconds();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const t=n[2]||"0",r=Number.parseInt(t,10);if(!Number.isNaN(r))return r}}throw new Error(`Failed to get seconds from date: ${e}.`)}function M(e){if(e instanceof Date)return e.getMilliseconds();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const r=(n[2]||"0").split(".")[1]||"0",o=Number.parseInt(r,10);if(!Number.isNaN(o))return o}}throw new Error(`Failed to get seconds from date: ${e}.`)}function S(e){var n=e.angle,t=n===void 0?0:n,r=e.name,o=e.length,i=o===void 0?100:o,c=e.oppositeLength,a=c===void 0?10:c,l=e.width,s=l===void 0?1:l;return m.jsx("div",{className:"react-clock__hand react-clock__".concat(r,"-hand"),style:{transform:"rotate(".concat(t,"deg)")},children:m.jsx("div",{className:"react-clock__hand__body react-clock__".concat(r,"-hand__body"),style:{width:"".concat(s,"px"),top:"".concat(50-i/2,"%"),bottom:"".concat(50-a/2,"%")}})})}var q=K.memo(function(n){var t=n.angle,r=t===void 0?0:t,o=n.length,i=o===void 0?10:o,c=n.name,a=n.width,l=a===void 0?1:a;return m.jsx("div",{className:"react-clock__mark react-clock__".concat(c,"-mark"),style:{transform:"rotate(".concat(r,"deg)")},children:m.jsx("div",{className:"react-clock__mark__body react-clock__".concat(c,"-mark__body"),style:{width:"".concat(l,"px"),top:0,bottom:"".concat(100-i/2,"%")}})})}),le=K.memo(function(n){var t=n.angle,r=t===void 0?0:t,o=n.length,i=o===void 0?10:o,c=n.name,a=n.number;return m.jsx("div",{className:"react-clock__mark react-clock__".concat(c,"-mark"),style:{transform:"rotate(".concat(r,"deg)")},children:m.jsx("div",{className:"react-clock__mark__number",style:{transform:"rotate(-".concat(r,"deg)"),top:"".concat(i/2,"%")},children:a})})});const fe=(e,n,t,r)=>{if(t==="length"||t==="prototype"||t==="arguments"||t==="caller")return;const o=Object.getOwnPropertyDescriptor(e,t),i=Object.getOwnPropertyDescriptor(n,t);!me(o,i)&&r||Object.defineProperty(e,t,i)},me=function(e,n){return e===void 0||e.configurable||e.writable===n.writable&&e.enumerable===n.enumerable&&e.configurable===n.configurable&&(e.writable||e.value===n.value)},ge=(e,n)=>{const t=Object.getPrototypeOf(n);t!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,t)},he=(e,n)=>`/* Wrapped ${e}*/+import{j as m,r as K,ax as de}from"./index-B1h2CV5t.js";function Y(e){if(e instanceof Date)return e.getHours();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const t=n[0];if(t){const r=Number.parseInt(t,10);if(!Number.isNaN(r))return r}}}throw new Error(`Failed to get hours from date: ${e}.`)}function w(e){if(e instanceof Date)return e.getMinutes();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const t=n[1]||"0",r=Number.parseInt(t,10);if(!Number.isNaN(r))return r}}throw new Error(`Failed to get minutes from date: ${e}.`)}function y(e){if(e instanceof Date)return e.getSeconds();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const t=n[2]||"0",r=Number.parseInt(t,10);if(!Number.isNaN(r))return r}}throw new Error(`Failed to get seconds from date: ${e}.`)}function M(e){if(e instanceof Date)return e.getMilliseconds();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const r=(n[2]||"0").split(".")[1]||"0",o=Number.parseInt(r,10);if(!Number.isNaN(o))return o}}throw new Error(`Failed to get seconds from date: ${e}.`)}function S(e){var n=e.angle,t=n===void 0?0:n,r=e.name,o=e.length,i=o===void 0?100:o,c=e.oppositeLength,a=c===void 0?10:c,l=e.width,s=l===void 0?1:l;return m.jsx("div",{className:"react-clock__hand react-clock__".concat(r,"-hand"),style:{transform:"rotate(".concat(t,"deg)")},children:m.jsx("div",{className:"react-clock__hand__body react-clock__".concat(r,"-hand__body"),style:{width:"".concat(s,"px"),top:"".concat(50-i/2,"%"),bottom:"".concat(50-a/2,"%")}})})}var q=K.memo(function(n){var t=n.angle,r=t===void 0?0:t,o=n.length,i=o===void 0?10:o,c=n.name,a=n.width,l=a===void 0?1:a;return m.jsx("div",{className:"react-clock__mark react-clock__".concat(c,"-mark"),style:{transform:"rotate(".concat(r,"deg)")},children:m.jsx("div",{className:"react-clock__mark__body react-clock__".concat(c,"-mark__body"),style:{width:"".concat(l,"px"),top:0,bottom:"".concat(100-i/2,"%")}})})}),le=K.memo(function(n){var t=n.angle,r=t===void 0?0:t,o=n.length,i=o===void 0?10:o,c=n.name,a=n.number;return m.jsx("div",{className:"react-clock__mark react-clock__".concat(c,"-mark"),style:{transform:"rotate(".concat(r,"deg)")},children:m.jsx("div",{className:"react-clock__mark__number",style:{transform:"rotate(-".concat(r,"deg)"),top:"".concat(i/2,"%")},children:a})})});const fe=(e,n,t,r)=>{if(t==="length"||t==="prototype"||t==="arguments"||t==="caller")return;const o=Object.getOwnPropertyDescriptor(e,t),i=Object.getOwnPropertyDescriptor(n,t);!me(o,i)&&r||Object.defineProperty(e,t,i)},me=function(e,n){return e===void 0||e.configurable||e.writable===n.writable&&e.enumerable===n.enumerable&&e.configurable===n.configurable&&(e.writable||e.value===n.value)},ge=(e,n)=>{const t=Object.getPrototypeOf(n);t!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,t)},he=(e,n)=>`/* Wrapped ${e}*/${n}`,pe=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),ve=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),be=(e,n,t)=>{const r=t===""?"":`with ${t.trim()}() `,o=he.bind(null,r,n.toString());Object.defineProperty(o,"name",ve);const{writable:i,enumerable:c,configurable:a}=pe;Object.defineProperty(e,"toString",{value:o,writable:i,enumerable:c,configurable:a})};function Ne(e,n,{ignoreNonConfigurable:t=!1}={}){const{name:r}=e;for(const o of Reflect.ownKeys(n))fe(e,n,o,t);return ge(e,n),be(e,n,r),e}const v=2147483647,ke=new WeakMap,H=new WeakMap,we=new WeakMap;function ye(e,n){const t=e.get(n);if(t){if(t.maxAge<=Date.now()){e.delete(n);return}return t}}function R(e,{cacheKey:n,cache:t=new Map,maxAge:r}={}){if(r===0)return e;if(typeof r=="number"&&Number.isFinite(r)){if(r>v)throw new TypeError(`The \`maxAge\` option cannot exceed ${v}.`);if(r<0)throw new TypeError("The `maxAge` option should not be a negative number.")}const o=function(...i){const c=n?n(i):i[0],a=ye(t,c);if(a)return a.data;const l=e.apply(this,i),s=typeof r=="function"?r(...i):r;if(s!==void 0&&s!==Number.POSITIVE_INFINITY){if(!Number.isFinite(s))throw new TypeError("The `maxAge` function must return a finite number, `0`, or `Infinity`.");if(s<=0)return l;if(s>v)throw new TypeError(`The \`maxAge\` function result cannot exceed ${v}.`)}if(t.set(c,{data:l,maxAge:s===void 0||s===Number.POSITIVE_INFINITY?Number.POSITIVE_INFINITY:Date.now()+s}),s!==void 0&&s!==Number.POSITIVE_INFINITY){const g=setTimeout(()=>{t.delete(c),H.get(o)?.delete(g)},s);g.unref?.();const h=H.get(o)??new Set;h.add(g),H.set(o,h)}return l};return Ne(o,e,{ignoreNonConfigurable:!0}),ke.set(o,t),we.set(o,n??(i=>i[0])),o}function Me(e){return typeof e=="string"}function Se(e,n,t){return t.indexOf(e)===n}function He(e){return e.toLowerCase()===e}function J(e){return e.indexOf(",")===-1?e:e.split(",")}function O(e){if(!e)return e;if(e==="C"||e==="posix"||e==="POSIX")return"en-US";if(e.indexOf(".")!==-1){var n=e.split(".")[0],t=n===void 0?"":n;return O(t)}if(e.indexOf("@")!==-1){var r=e.split("@")[0],t=r===void 0?"":r;return O(t)}if(e.indexOf("-")===-1||!He(e))return e;var o=e.split("-"),i=o[0],c=o[1],a=c===void 0?"":c;return"".concat(i,"-").concat(a.toUpperCase())}function Oe(e){var n=e===void 0?{}:e,t=n.useFallbackLocale,r=t===void 0?!0:t,o=n.fallbackLocale,i=o===void 0?"en-US":o,c=[];if(typeof navigator<"u"){for(var a=navigator.languages||[],l=[],s=0,g=a;s<g.length;s++){var h=g[s];l=l.concat(J(h))}var p=navigator.language,b=p&&J(p);c=c.concat(l,b)}return r&&c.push(i),c.filter(Me).map(O).filter(Se)}var xe=R(Oe,{cacheKey:JSON.stringify});function Le(e){return xe(e)[0]||null}var Ie=R(Le,{cacheKey:JSON.stringify});function je(e,n){return n.toLocaleString(e||Ie()||void 0)}function _e(e){return e!==null&&e!==!1&&!Number.isNaN(Number(e))}function Pe(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Math.max.apply(Math,e.filter(_e))}function Fe(e){var n=e.className,t=e.formatHour,r=t===void 0?je:t,o=e.hourHandLength,i=o===void 0?50:o,c=e.hourHandOppositeLength,a=e.hourHandWidth,l=a===void 0?4:a,s=e.hourMarksLength,g=s===void 0?10:s,h=e.hourMarksWidth,p=h===void 0?3:h,b=e.locale,x=e.minuteHandLength,A=x===void 0?70:x,X=e.minuteHandOppositeLength,L=e.minuteHandWidth,B=L===void 0?2:L,I=e.minuteMarksLength,j=I===void 0?6:I,_=e.minuteMarksWidth,G=_===void 0?1:_,P=e.renderHourMarks,N=P===void 0?!0:P,T=e.renderMinuteHand,F=T===void 0?!0:T,W=e.renderMinuteMarks,E=W===void 0?!0:W,Q=e.renderNumbers,C=e.renderSecondHand,$=C===void 0?!0:C,U=e.secondHandLength,Z=U===void 0?90:U,ee=e.secondHandOppositeLength,V=e.secondHandWidth,ne=V===void 0?1:V,z=e.size,D=z===void 0?150:z,k=e.useMillisecondPrecision,u=e.value;function te(){if(!E)return null;for(var f=[],d=1;d<=60;d+=1){var ue=N&&!(d%5);ue||f.push(m.jsx(q,{angle:d*6,length:j,name:"minute",width:G},"minute_".concat(d)))}return f}function re(){if(!N)return null;for(var f=[],d=1;d<=12;d+=1)f.push(m.jsx(q,{angle:d*30,length:g,name:"hour",width:p},"hour_".concat(d)));return f}function oe(){if(!Q)return null;for(var f=[],d=1;d<=12;d+=1)f.push(m.jsx(le,{angle:d*30,length:Pe(N&&g,E&&j,0),name:"number",number:r(b,d)},"number_".concat(d)));return f}function ie(){return m.jsxs("div",{className:"react-clock__face",children:[te(),re(),oe()]})}function ce(){var f=u?Y(u)*30+w(u)/2+y(u)/120+(k?M(u)/12e4:0):0;return m.jsx(S,{angle:f,length:i,name:"hour",oppositeLength:c,width:l})}function se(){if(!F)return null;var f=u?Y(u)*360+w(u)*6+y(u)/10+(k?M(u)/1e4:0):0;return m.jsx(S,{angle:f,length:A,name:"minute",oppositeLength:X,width:B})}function ae(){if(!$)return null;var f=u?w(u)*360+y(u)*6+(k?M(u)*.006:0):0;return m.jsx(S,{angle:f,length:Z,name:"second",oppositeLength:ee,width:ne})}return m.jsxs("time",{className:de("react-clock",n),dateTime:u instanceof Date?u.toLocaleTimeString("en",{hourCycle:"h23",hour:"2-digit",minute:F?"2-digit":void 0,second:$?"2-digit":void 0}):u||void 0,style:{width:D,height:D},children:[ie(),ce(),se(),ae()]})}export{Fe as Clock,Fe as default};diff --git a/src/chrome/newtab/index.html b/src/chrome/newtab/index.htmlindex 3a3ff6377..1e1e3b787 100644--- a/src/chrome/newtab/index.html+++ b/src/chrome/newtab/index.html@@ -5,8 +5,8 @@<meta name="viewport" content="width=device-width, initial-scale=1" /><link rel="icon" type="image/png" sizes="16x16" href="../icons/icon16.png" /><title>New Tab</title>- <script type="module" crossorigin src="./assets/index-DLQt-leu.js"></script>- <link rel="stylesheet" crossorigin href="./assets/index-DRYJ4NLv.css">+ <script type="module" crossorigin src="./assets/index-B1h2CV5t.js"></script>+ <link rel="stylesheet" crossorigin href="./assets/index-BmeAAROj.css"></head><body><noscript>JavaScript is required for the WebBrain new tab.</noscript>diff --git a/src/firefox/newtab/assets/Settings-BHcHjb2v.js b/src/firefox/newtab/assets/Settings-BHcHjb2v.jsnew file mode 100644index 000000000..b9809a777--- /dev/null+++ b/src/firefox/newtab/assets/Settings-BHcHjb2v.js@@ -0,0 +1,53 @@+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-WlLvTUiq.js","./index-B1h2CV5t.js","./index-BmeAAROj.css"])))=>i.map(i=>d[i]);+import{s as Ri,v as d,y as GA,r as E,j as i,B as mA,M as Ni,a as _i,b as Gi,E as UA,c as ls,S as nt,R as m,d as cs,u as Ct,g as ji,D as Vi,e as gs,f as fe,h as Vn,T as Pn,q as us,i as Pi,k as Bs,l as ut,m as ln,n as Bt,o as ds,C as QA,p as KA,t as Xi,w as Ji,x as Wi,z as Yi,A as Hr,F as fs,G as er,H as tr,I as cn,J as hs,K as ws,L as ps,N as Zi,O as Cs,P as rr,Q as Qs,U as ms,V as vs,W as Us,X as Fs,Y as bs,Z as Es,_ as zi,$ as ys,a0 as Xn,a1 as qi,a2 as xs,a3 as Ft,a4 as $i,a5 as Jn,a6 as Ve,a7 as Ao,a8 as bt,a9 as Wn,aa as eo,ab as Yn,ac as to,ad as ro,ae as no,af as Is,ag as ao,ah as so,ai as io,aj as Zn,ak as oo,al as lo,am as co,an as go,ao as uo,ap as Bo,aq as fo,ar as ho,as as wo,at as po,au as Co,av as Qo,aw as Kn}from"./index-B1h2CV5t.js";function mo(){const e={};Object.keys(localStorage).forEach(n=>{e[n]=localStorage.getItem(n)});const A=new Date,t=`mue_settings_backup_${`${A.getFullYear()}-${(A.getMonth()+1).toString().padStart(2,"0")}-${A.getDate().toString().padStart(2,"0")}_${A.getHours().toString().padStart(2,"0")}-${A.getMinutes().toString().padStart(2,"0")}-${A.getSeconds().toString().padStart(2,"0")}`}.json`;Ri(e,t),d.stats.postEvent("tab","Settings exported")}function vo(e,A=!1){const r=JSON.parse(e);Object.keys(r).forEach(t=>{localStorage.setItem(t,r[t])}),GA(d.getMessage("toasts.imported")),A||d.stats.postEvent("tab","Settings imported"),setTimeout(()=>window.location.reload(),1200)}function TA(e){const[A,r]=E.useState(localStorage.getItem(e.setting)==="true");E.useEffect(()=>{r(localStorage.getItem(e.setting)==="true")},[e.setting]);const t=()=>{const s=localStorage.getItem(e.setting)==="true";if(localStorage.setItem(e.setting,!s),r(!s),d.stats.postEvent("setting",`${e.name} ${A===!0?"enabled":"disabled"}`),UA.emit("toggle",e.setting),e.element&&!document.querySelector(e.element)){ls();return}UA.emit("refresh",e.category)},n=()=>i.jsx(mA,{type:"settings",onClick:t,icon:A?i.jsx(Ni,{}):i.jsx(_i,{}),label:A?"Hide":"Show"}),a=()=>i.jsx(mA,{type:"settings",onClick:()=>window.open(`${d.constants.BUG_REPORT}?title=${encodeURIComponent(e.title)}`,"_blank"),icon:i.jsx(Gi,{}),label:d.getMessage("modals.main.settings.sections.header.report_issue")});return i.jsxs("div",{className:"modalHeader",children:[i.jsx("span",{className:"mainTitle",children:e.secondaryTitle||e.title}),i.jsxs("div",{className:"headerActions",children:[e.visibilityToggle&&i.jsx(n,{}),e.report!==!1&&i.jsx(a,{}),e.children]})]})}function rA(e){const A=`${e.final?"settingsRow settingsNoBorder":"settingsRow"} ${e.inactive?"preferencesInactive":""}`;return i.jsx("div",{className:A,children:e.children})}function nA(e){return i.jsxs("div",{className:"content",children:[i.jsx("span",{className:"title",children:e.title}),i.jsx("span",{className:"subtitle",children:e.subtitle})]})}function cA(e){return i.jsx("div",{className:"action",children:e.children})}const Uo=[{value:10,label:"0.1x"},{value:100,label:"1x"},{value:200,label:"2x"},{value:400,label:"4x"}],Fo=[{value:500,label:"0.5s"},{value:1e3,label:"1s"},{value:1500,label:"1.5s"},{value:2e3,label:"2s"},{value:2500,label:"2.5s"},{value:3e3,label:"3s"},{value:4e3,label:"4s"},{value:5e3,label:"5s"}],bo=[{value:0,label:"0%"},{value:25,label:"25%"},{value:50,label:"50%"},{value:75,label:"75%"},{value:100,label:"100%"}],at={zoom:Uo,toast:Fo,background:bo},Qt=({children:e,...A})=>{const[r,t]=E.useState(localStorage.getItem(A.setting)==="true");return E.useEffect(()=>{const n=a=>{a===A.setting&&t(localStorage.getItem(A.setting)==="true")};return UA.on("toggle",n),()=>UA.off("toggle",n)},[A.setting]),i.jsxs("div",{className:r?"preferences":"preferencesInactive",children:[A.zoomSetting&&i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.widget_zoom"),subtitle:d.getMessage("modals.main.settings.sections.header.size")}),i.jsx(cA,{children:i.jsx(nt,{name:A.zoomSetting,min:"10",max:"400",default:"100",display:"%",marks:at.zoom,category:A.zoomCategory||A.category})})]}),e]})};function Tn({title:e,subtitle:A,icon:r,onClick:t,children:n}){return i.jsxs("div",{className:"moreSettings",onClick:t,children:[i.jsxs("div",{className:"left",children:[r,i.jsxs("div",{className:"content",children:[i.jsx("span",{className:"title",children:e}),i.jsx("span",{className:"subtitle",children:A})]})]}),i.jsx("div",{className:"action",children:m.Children.count(n)===0?i.jsx(cs,{}):n})]})}function Eo({label:e,currentTab:A,onClick:r,navbarTab:t}){const n=Ct(),[a,s]=E.useState(!0);E.useEffect(()=>{s(localStorage.getItem("experimental")!=="false")},[]);const o=ji(e,{getMessage:n}),l=Vi.some(p=>n(p)===e),B=`${t?"navbar-item":"tab-list-item"}${A===e?` ${t?"navbar-item-active":"tab-list-active"}`:""}`;return e===n("modals.main.settings.sections.experimental.title")&&!a?i.jsx("hr",{}):i.jsxs(i.Fragment,{children:[i.jsxs("button",{className:B,onClick:()=>r(e),children:[o&&i.jsx(o,{})," ",i.jsx("span",{children:e})]}),l&&i.jsx("hr",{})]})}const yo=E.memo(Eo),xo=({isVisible:e,onHide:A})=>e?i.jsxs("div",{className:"reminder-info",children:[i.jsxs("div",{className:"shareHeader",children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.reminder.title")}),i.jsx("span",{className:"closeModal",onClick:A,children:i.jsx(gs,{})})]}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.reminder.message")}),i.jsxs("button",{onClick:()=>window.location.reload(),children:[i.jsx(fe,{}),d.getMessage("modals.main.error_boundary.refresh")]})]}):null;class Io extends E.PureComponent{constructor(A){super(A),this.state={error:!1,errorData:"",showReport:!0}}static getDerivedStateFromError(A){return console.error(A),{error:!0,errorData:A}}reportError(){window.open(d.constants.BUG_REPORT,"_blank","noopener,noreferrer"),this.setState({showReport:!1})}render(){return this.state.error?i.jsx("div",{className:"emptyItems",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Vn,{}),i.jsx("span",{className:"title",children:d.getMessage("modals.main.error_boundary.title")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.error_boundary.message")}),i.jsxs("div",{className:"buttonsRow",children:[this.state.showReport?i.jsx(mA,{type:"settings",icon:i.jsx(Vn,{}),label:d.getMessage("modals.main.error_boundary.report_error"),onClick:()=>this.reportError()}):i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.error_boundary.sent")}),i.jsx(mA,{type:"settings",icon:i.jsx(fe,{}),label:d.getMessage("modals.main.error_boundary.refresh"),onClick:()=>window.location.reload()})]})]})}):this.props.children}}const Ho=({children:e,navbar:A=!1,currentTab:r,onSectionChange:t,resetToFirst:n,deepLinkData:a,navigationTrigger:s,sections:o})=>{const l=Ct(),g=(()=>{if(a?.section&&o){const y=o.find(h=>h.name===a.section);if(y)return{label:l(y.label),name:y.name}}return{label:e[0]?.props.label,name:e[0]?.props.name}})(),[B,u]=E.useState(g.label),[p,Q]=E.useState(g.name),[C,I]=E.useState(localStorage.getItem("showReminder")==="true"),U=E.useRef(null),b=(y,h)=>{h!==p&&d.stats.postEvent("tab",`Opened ${h}`),u(y),Q(h),U.current&&(U.current.scrollTop=0),t&&t(y,h)};E.useEffect(()=>{t&&B&&t(B,p)},[]),E.useEffect(()=>{if(o&&p){const y=o.find(h=>h.name===p);if(y){const h=l(y.label);u(h)}}},[l,o,p]),E.useEffect(()=>{if(s?.type==="settings-section"&&o){const y=o.find(h=>h.name===s.data);if(y){const h=l(y.label);u(h),Q(y.name),U.current&&(U.current.scrollTop=0)}}},[s,o,l]),E.useEffect(()=>{n&&(u(e[0]?.props.label),Q(e[0]?.props.name),U.current&&(U.current.scrollTop=0),t&&t(e[0]?.props.label,e[0]?.props.name))},[n]);const L=()=>{localStorage.setItem("showReminder","false"),I(!1)},S=r===Pn.SETTINGS||r===Pn.DISCOVER;return i.jsxs("div",{style:{display:"flex",width:"100%",height:"100%",overflow:"hidden"},children:[S?i.jsxs("div",{className:"modalSidebar",children:[e.map((y,h)=>i.jsx(yo,{currentTab:B,label:y.props.label,onClick:x=>b(x,y.props.name),navbarTab:A},h)),i.jsx(xo,{isVisible:C,onHide:L})]}):null,i.jsx("div",{className:"modalTabContent",ref:U,children:e.map((y,h)=>y.props.label!==B?null:i.jsx(Io,{children:y.props.children},`error-boundary-${h}`))})]})};async function nr(e){const A=String(e??"").trim();try{return new URL(/^[a-z][a-z0-9+.-]*:/i.test(A)?A:`https://${A}`).hostname.replace(/^www\./i,"")||A}catch{return A}}function dt(e){return/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._~#=]{1,256}\.[a-zA-Z0-9()]{1,63}\b([-a-zA-Z0-9()!@:%_.~#?&=]*)/.test(e)}function ar(e){let A=String(e??"").trim();if(!A)return null;const r=/^https?:\/\//i.exec(A);A=r?r[0].toLowerCase()+A.slice(r[0].length):`https://${A}`;try{if(!/^https?:$/.test(new URL(A).protocol))return null}catch{return null}return dt(A)?A:null}const So=({item:e,deleteLink:A,startEditLink:r,draggable:t=!1,onDragStart:n,onDragOver:a,onDrop:s,onDragEnd:o,isDragOver:l=!1,isDragging:c=!1})=>{let g,B=null;if(localStorage.getItem("quicklinksnewtab")==="true"&&(g="_blank",B="noopener noreferrer"),localStorage.getItem("quicklinksText")==="true")return i.jsx("a",{className:"quicklinkstext",onContextMenu:C=>A(e.key,C),href:e.url,target:g,rel:B,draggable:!1,children:e.name});const p=e.icon||us(e.url,e.name),Q=`messageMap ${c?"dragging":""} ${l?"drag-over":""}`;return i.jsxs("div",{className:Q,draggable:t,onDragStart:C=>n&&n(C,e.key),onDragOver:C=>a&&a(C,e.key),onDrop:C=>s&&s(C,e.key),onDragEnd:C=>o&&o(C),children:[i.jsx("div",{className:"dragHandle","aria-hidden":!0,children:i.jsx(Pi,{})}),i.jsx("div",{className:"icon",children:i.jsx("img",{src:p,alt:e.name,draggable:!1,style:{height:"30px",width:"30px"}})}),i.jsxs("div",{className:"messageText",children:[i.jsx("div",{className:"title",children:e.name}),i.jsx("div",{className:"subtitle",children:i.jsx("a",{className:"quicklinknostyle",target:"_blank",rel:"noopener noreferrer",href:e.url,children:e.url})})]}),i.jsx("div",{children:i.jsxs("div",{className:"messageAction",children:[i.jsx(mA,{type:"settings",onClick:()=>r(e),icon:i.jsx(Bs,{}),label:d.getMessage("modals.main.settings.sections.quicklinks.edit")}),i.jsx(mA,{type:"settings",onClick:C=>A(e.key,C),icon:i.jsx(ut,{}),label:d.getMessage("modals.main.marketplace.product.buttons.remove")})]})})]})};function Lo({appsEnabled:e}){const A=Ct(),[r,t]=E.useState({newLink:!1,edit:!1,items:JSON.parse(localStorage.getItem("applinks")),urlError:"",iconError:"",editData:null}),n=async(l,c,g)=>{const B=JSON.parse(localStorage.getItem("applinks"));if(c=ar(c),!c)return t(u=>({...u,urlError:A("widgets.quicklinks.url_error")}));if(g.length>0&&dt(g)===!1)return t(u=>({...u,iconError:A("widgets.quicklinks.icon_error")}));B.push({name:l||await nr(c),url:c,icon:g||"",key:Math.random().toString(36).substring(7)+1}),localStorage.setItem("applinks",JSON.stringify(B)),t({newLink:!1,edit:!1,items:B,urlError:"",iconError:""}),UA.emit("refresh","navbar"),d.stats.postEvent("feature","App link add")},a=l=>{t(c=>({...c,edit:!0,editData:l}))},s=async(l,c,g,B)=>{const u=JSON.parse(localStorage.getItem("applinks")),p=u.find(Q=>Q.key===l.key);if(p){if(g=ar(g),!g)return t(Q=>({...Q,urlError:A("widgets.quicklinks.url_error")}));if(B.length>0&&dt(B)===!1)return t(Q=>({...Q,iconError:A("widgets.quicklinks.icon_error")}));p.name=c||await nr(g),p.url=g,p.icon=B||"",localStorage.setItem("applinks",JSON.stringify(u)),t(Q=>({...Q,items:u,edit:!1,newLink:!1})),UA.emit("refresh","navbar")}},o=(l,c)=>{c.preventDefault();const g=JSON.parse(localStorage.getItem("applinks")).filter(B=>B.key!==l);localStorage.setItem("applinks",JSON.stringify(g)),t(B=>({...B,items:g})),UA.emit("refresh","navbar"),d.stats.postEvent("feature","App link delete")};return i.jsxs(i.Fragment,{children:[i.jsxs(rA,{final:!0,inactive:!e,children:[i.jsx(nA,{title:A("widgets.navbar.apps.title"),subtitle:A("modals.main.settings.sections.appearance.navbar.apps_subtitle")}),i.jsx(cA,{children:i.jsx(mA,{type:"settings",onClick:()=>t(l=>({...l,newLink:!0})),icon:i.jsx(ln,{}),label:A("modals.main.settings.sections.quicklinks.add_link")})})]}),i.jsx("div",{className:"messagesContainer",children:r.items.map((l,c)=>i.jsx(So,{item:l,startEditLink:()=>a(l),deleteLink:(g,B)=>o(g,B)},c))}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>t(l=>({...l,newLink:!1,edit:!1})),isOpen:r.edit||r.newLink,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(ds,{urlError:r.urlError,iconError:r.iconError,addLink:(l,c,g)=>n(l,c,g),editLink:(l,c,g,B)=>s(l,c,g,B),edit:r.edit,editData:r.editData,closeModal:()=>t(l=>({...l,newLink:!1,edit:!1}))})})]})}function ko(){const e=Ct(),[A,r]=E.useState(localStorage.getItem("refresh")==="true"),[t,n]=E.useState(localStorage.getItem("appsEnabled")==="true"||!1),a="modals.main.settings.sections.appearance.navbar",s=()=>i.jsxs(rA,{final:!1,children:[i.jsx(nA,{title:e("modals.main.settings.additional_settings"),subtitle:e("modals.main.settings.sections.appearance.navbar.additional")}),i.jsx(cA,{children:i.jsx(QA,{name:"navbarHover",text:e(`${a}.hover`),category:"navbar"})})]}),o=()=>{const c=({icon:B,messageKey:u,settingName:p})=>{const[Q,C]=E.useState(localStorage.getItem(p)!=="true"),I=()=>{localStorage.setItem(p,Q),p==="refresh"?r(!A):p==="appsEnabled"&&n(!t),C(!Q),d.stats.postEvent("setting",`${p} ${Q?"disabled":"enabled"}`),UA.emit("refresh","navbar")};return i.jsxs("button",{onClick:I,className:`navbarButtonOption ${Q===!0?"disabled":""}`,children:[B,i.jsx("span",{className:"subtitle",children:e(u)})]})},g=[{icon:i.jsx(Xi,{}),settingName:"view",messageKey:"modals.main.settings.sections.background.buttons.view"},{icon:i.jsx(Ji,{}),settingName:"notesEnabled",messageKey:`${a}.notes`},{icon:i.jsx(Wi,{}),settingName:"todoEnabled",messageKey:"widgets.navbar.todo.title"},{icon:i.jsx(fe,{}),settingName:"refresh",messageKey:`${a}.refresh`},{icon:i.jsx(Yi,{}),settingName:"appsEnabled",messageKey:"widgets.navbar.apps.title"}];return i.jsxs(rA,{children:[i.jsx(nA,{title:e("modals.main.settings.sections.appearance.navbar.widgets")}),i.jsx(cA,{children:i.jsx("div",{className:"navbarButtonOptions",children:g.map((B,u)=>i.jsx(c,{...B},u))})})]})},l=()=>i.jsxs(rA,{final:!1,inactive:!A,children:[i.jsx(nA,{title:e(`${a}.refresh`),subtitle:e("modals.main.settings.sections.appearance.navbar.refresh_subtitle")}),i.jsx(cA,{children:i.jsx(KA,{name:"refreshOption",category:"navbar",items:[{value:"page",text:e("modals.main.settings.sections.appearance.navbar.refresh_options.page")},{value:"background",text:e("modals.main.settings.sections.background.title")}]})})]});return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:e(`${a}.title`),setting:"navbar",category:"widgets",zoomSetting:"zoomNavbar",zoomCategory:"navbar"}),i.jsx(s,{}),i.jsx(o,{}),i.jsx(l,{}),i.jsx(Lo,{appsEnabled:t})]})}const Mo=E.memo(ko),zn=[{id:"widgets.greeting.christmas",name:"Merry Christmas",month:12,date:25},{id:"widgets.greeting.newyear",name:"Happy New Year",month:1,date:1},{id:"widgets.greeting.halloween",name:"Happy Halloween",month:10,date:31}],Ko=e=>{const[A,r,t]=String(e).split("-").map(Number);return A&&r&&t?new Date(A,r-1,t):new Date},To=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,Do=({currentSubSection:e,onSubSectionChange:A,sectionName:r})=>{const[t,n]=E.useState(JSON.parse(localStorage.getItem("customEvents"))||[]),[a,s]=E.useState(()=>{const h=localStorage.getItem("birthday");return h?new Date(h):new Date}),[o,l]=E.useState(localStorage.getItem("birthdayenabled")==="true"?"preferences":"preferencesInactive"),[c,g]=E.useState(localStorage.getItem("events")==="true"?"preferences":"preferencesInactive"),B=h=>{const x=h.target.value?Ko(h.target.value):new Date;localStorage.setItem("birthday",x),s(x)},u="modals.main.settings.sections.greeting",p=()=>{const h=JSON.parse(localStorage.getItem("customEvents"))||[],x={id:"widgets.greeting.halloween",name:"",month:1,date:1},M=[...h,x];h.push(x),localStorage.setItem("customEvents",JSON.stringify(h)),n(M)},Q=h=>{const x=t.filter((M,k)=>k!==h);localStorage.setItem("customEvents",JSON.stringify(x)),n(x)},C=()=>{localStorage.setItem("customEvents",JSON.stringify(zn)),n(zn),GA(d.getMessage("toasts.reset"))},I=(h,x)=>{n(k=>{const R=[...k];return R[h]=x,R});const M=JSON.parse(localStorage.getItem("customEvents")||"[]");M[h]=x,localStorage.setItem("customEvents",JSON.stringify(M))},U=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.additional_settings"),subtitle:d.getMessage(`${u}.additional`)}),i.jsxs(cA,{children:[i.jsx(QA,{name:"defaultGreetingMessage",text:d.getMessage(`${u}.default`),category:"greeting"}),i.jsx(tr,{title:d.getMessage(`${u}.name`),name:"greetingName",category:"greeting"})]})]}),b=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage(`${u}.birthday`),subtitle:d.getMessage("modals.main.settings.sections.greeting.birthday_subtitle")}),i.jsxs(cA,{children:[i.jsx(fs,{name:"birthdayenabled",text:d.getMessage("modals.main.settings.enabled"),category:"greeting",onChange:h=>{l(h?"preferences":"preferencesInactive")}}),i.jsxs("div",{className:o,children:[i.jsx(QA,{name:"birthdayage",text:d.getMessage(`${u}.birthday_age`),category:"greeting"}),i.jsx("p",{style:{marginRight:"auto"},children:d.getMessage(`${u}.birthday_date`)}),i.jsx("input",{type:"date",onChange:B,value:To(a),required:!0})]})]})]}),L=()=>i.jsxs("div",{className:c,children:[i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${u}.custom`)}),i.jsx(cA,{children:i.jsxs("div",{className:"headerActions",children:[i.jsx(mA,{type:"settings",onClick:C,icon:i.jsx(fe,{}),label:d.getMessage("modals.main.settings.buttons.reset")}),i.jsx(mA,{type:"settings",onClick:p,icon:i.jsx(er,{}),label:d.getMessage("widgets.quicklinks.add")})]})})]}),i.jsx("div",{className:"messagesContainer",children:t.map((h,x)=>i.jsxs("div",{className:"messageMap",children:[i.jsxs("div",{className:"flexGrow",children:[i.jsx("div",{className:"icon",children:i.jsx(Hr,{})}),i.jsxs("div",{className:"messageText",children:[i.jsx("span",{className:"subtitle",children:d.getMessage(`${u}.event_name`)}),i.jsx("input",{type:"text",className:"text-field-input",value:h.name,placeholder:d.getMessage(`${u}.event_name`),onChange:M=>{const k={...h,name:M.target.value};I(x,k)}})]})]}),i.jsx("div",{children:i.jsxs("div",{className:"messageAction",children:[i.jsxs("div",{className:"eventDateSelection",children:[i.jsxs("label",{className:"subtitle",children:[d.getMessage(`${u}.day`),":"]}),i.jsx("input",{id:"day",type:"number",min:"1",max:"31",value:h.date,onChange:M=>{const k=parseInt(M.target.value,10);if(k>=1&&k<=31){const R={...h,date:k};I(x,R)}}}),i.jsx("hr",{}),i.jsxs("label",{className:"subtitle",children:[d.getMessage(`${u}.month`),":"]}),i.jsx("input",{id:"month",type:"number",min:"1",max:"12",value:h.month,onChange:M=>{const k=parseInt(M.target.value,10);if(k>=1&&k<=12){const R={...h,month:k};I(x,R)}}})]}),i.jsx(mA,{type:"settings",onClick:()=>Q(x),icon:i.jsx(ut,{}),label:d.getMessage("modals.main.marketplace.product.buttons.remove")})]})})]},x))}),t.length===0&&i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Hr,{}),i.jsx("span",{className:"title",children:d.getMessage(`${u}.no_events`)}),i.jsx("span",{className:"subtitle",children:d.getMessage(`${u}.no_events_description`)}),i.jsx(mA,{type:"settings",onClick:p,icon:i.jsx(er,{}),label:d.getMessage(`${u}.add_event`)})]})})]}),S=e==="events";let y;return S?y=i.jsx(TA,{title:d.getMessage(`${u}.title`),secondaryTitle:d.getMessage(`${u}.events.title`),goBack:()=>A(null,r),report:!1}):y=i.jsx(TA,{title:d.getMessage(`${u}.title`),setting:"greeting",category:"widgets",zoomSetting:"zoomGreeting",visibilityToggle:!0}),i.jsxs(i.Fragment,{children:[y,S?i.jsxs(i.Fragment,{children:[i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage(`${u}.events`),subtitle:d.getMessage(`${u}.enable_events`)}),i.jsx(cA,{children:i.jsx(QA,{name:"events",text:d.getMessage(`${u}.events`),category:"greeting",onChange:h=>{g(h?"preferences":"preferencesInactive")}})})]}),b(),L()]}):i.jsxs(Qt,{setting:"greeting",zoomSetting:"zoomGreeting",category:"greeting",visibilityToggle:!0,children:[i.jsx(U,{}),i.jsx(Tn,{title:d.getMessage(`${u}.events`),subtitle:d.getMessage(`${u}.events_description`),onClick:()=>A("events",r),icon:i.jsx(Hr,{})})]})]})},Oo=()=>{const[e,A]=E.useState(localStorage.getItem("timeType")||"digital"),[r,t]=E.useState(localStorage.getItem("hourColour")||"#ffffff"),[n,a]=E.useState(localStorage.getItem("minuteColour")||"#ffffff"),[s,o]=E.useState(localStorage.getItem("secondColour")||"#ffffff"),l="modals.main.settings.sections.time",c=(C,I)=>{const U=I.target.value;C==="hourColour"?t(U):C==="minuteColour"?a(U):C==="secondColour"&&o(U),localStorage.setItem(C,U)},g=()=>i.jsxs(rA,{final:e==="percentageComplete",children:[i.jsx(nA,{title:d.getMessage(`${l}.type`),subtitle:d.getMessage(`${l}.type_subtitle`)}),i.jsx(cA,{children:i.jsx(KA,{name:"timeType",onChange:C=>A(C),category:"clock",items:[{value:"digital",text:d.getMessage(`${l}.digital.title`)},{value:"analogue",text:d.getMessage(`${l}.analogue.title`)},{value:"percentageComplete",text:d.getMessage(`${l}.percentage_complete`)},{value:"verticalClock",text:d.getMessage(`${l}.vertical_clock.title`)}]})})]}),B=i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${l}.digital.title`),subtitle:d.getMessage(`${l}.digital.subtitle`)}),i.jsxs(cA,{children:[i.jsx(cn,{name:"timeformat",options:[{name:d.getMessage(`${l}.digital.twentyfourhour`),value:"twentyfourhour"},{name:d.getMessage(`${l}.digital.twelvehour`),value:"twelvehour"}],smallTitle:!0,category:"clock"}),i.jsx(QA,{name:"seconds",text:d.getMessage(`${l}.digital.seconds`),category:"clock"}),i.jsx(QA,{name:"zero",text:d.getMessage(`${l}.digital.zero`),category:"clock"})]})]}),u=i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${l}.analogue.title`),subtitle:d.getMessage(`${l}.analogue.subtitle`)}),i.jsxs(cA,{children:[i.jsx(QA,{name:"secondHand",text:d.getMessage(`${l}.analogue.second_hand`),category:"clock"}),i.jsx(QA,{name:"minuteHand",text:d.getMessage(`${l}.analogue.minute_hand`),category:"clock"}),i.jsx(QA,{name:"hourHand",text:d.getMessage(`${l}.analogue.hour_hand`),category:"clock"}),i.jsx(QA,{name:"hourMarks",text:d.getMessage(`${l}.analogue.hour_marks`),category:"clock"}),i.jsx(QA,{name:"minuteMarks",text:d.getMessage(`${l}.analogue.minute_marks`),category:"clock"}),i.jsx(QA,{name:"roundClock",text:d.getMessage(`${l}.analogue.round_clock`),category:"clock"})]})]}),p=i.jsxs(i.Fragment,{children:[i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.vertical_clock.change_hour_colour")}),i.jsxs(cA,{children:[i.jsxs("div",{className:"colourInput",children:[i.jsx("input",{type:"color",name:"hourColour",className:"minuteColour",onChange:C=>c("hourColour",C),value:r}),i.jsx("label",{htmlFor:"hourColour",className:"customBackgroundHex",children:r})]}),i.jsxs("span",{className:"link",onClick:()=>c("hourColour",{target:{value:"#ffffff"}}),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})]})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.vertical_clock.change_minute_colour")}),i.jsxs(cA,{children:[i.jsxs("div",{className:"colourInput",children:[i.jsx("input",{type:"color",name:"minuteColour",className:"minuteColour",onChange:C=>c("minuteColour",C),value:n}),i.jsx("label",{htmlFor:"minuteColour",className:"customBackgroundHex",children:n})]}),i.jsxs("span",{className:"link",onClick:()=>c("minuteColour",{target:{value:"#ffffff"}}),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})]})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.vertical_clock.change_second_colour")}),i.jsxs(cA,{children:[i.jsxs("div",{className:"colourInput",children:[i.jsx("input",{type:"color",name:"secondColour",className:"secondColour",onChange:C=>c("secondColour",C),value:s}),i.jsx("label",{htmlFor:"secondColour",className:"customBackgroundHex",children:s})]}),i.jsxs("span",{className:"link",onClick:()=>c("secondColour",{target:{value:"#ffffff"}}),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})]})]}),B]}),Q=()=>{switch(e){case"digital":return B;case"analogue":return u;case"verticalClock":return p;default:return null}};return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage(`${l}.title`),setting:"time",category:"widgets",zoomSetting:"zoomClock",visibilityToggle:!0}),i.jsxs(Qt,{setting:"time",zoomSetting:"zoomClock",category:"clock",visibilityToggle:!0,children:[i.jsx(g,{}),Q()]})]})};function Ro(){const[e,A]=E.useState(localStorage.getItem("dateType")||"long"),r=["DMY","MDY","YMD"],t=i.jsxs(i.Fragment,{children:[i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.date.long_format"),name:"longFormat",category:"date",items:r.map(a=>({value:a,text:a}))}),i.jsx(QA,{name:"dayofweek",text:d.getMessage("modals.main.settings.sections.date.day_of_week"),category:"date"}),i.jsx(QA,{name:"datenth",text:d.getMessage("modals.main.settings.sections.date.datenth"),category:"date"})]}),n=i.jsxs(i.Fragment,{children:[i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.date.short_format"),name:"dateFormat",category:"date",items:r.map(a=>({value:a,text:a}))}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.date.short_separator.title"),name:"shortFormat",category:"date",items:[{value:"dash",text:d.getMessage("modals.main.settings.sections.date.short_separator.dash")},{value:"dots",text:d.getMessage("modals.main.settings.sections.date.short_separator.dots")},{value:"gaps",text:d.getMessage("modals.main.settings.sections.date.short_separator.gaps")},{value:"slashes",text:d.getMessage("modals.main.settings.sections.date.short_separator.slashes")}]})]});return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.date.title"),setting:"date",category:"widgets",zoomSetting:"zoomDate",visibilityToggle:!0}),i.jsxs(Qt,{setting:"date",visibilityToggle:!0,category:"date",zoomSetting:"zoomDate",children:[i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.type"),subtitle:d.getMessage("modals.main.settings.sections.date.type.subtitle")}),i.jsx(cA,{children:i.jsx(KA,{name:"dateType",onChange:a=>{A(a),localStorage.setItem("dateType",a)},category:"date",items:[{value:"long",text:d.getMessage("modals.main.settings.sections.date.type.long")},{value:"short",text:d.getMessage("modals.main.settings.sections.date.type.short")}]})})]}),i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:e==="long"?d.getMessage("modals.main.settings.sections.date.type.long"):d.getMessage("modals.main.settings.sections.date.type.short"),subtitle:d.getMessage("modals.main.settings.sections.date.type_settings")}),i.jsxs(cA,{children:[e==="long"?t:n,i.jsx(QA,{name:"weeknumber",text:d.getMessage("modals.main.settings.sections.date.week_number"),category:"date"}),i.jsx(QA,{name:"datezero",text:d.getMessage("modals.main.settings.sections.time.digital.zero"),category:"date"})]})]})]})]})}const No=()=>i.jsx("div",{className:"quicklink-drag-handle","aria-hidden":"true",children:i.jsx(hs,{})}),_o=({value:e,enabled:A,startEditLink:r,deleteLink:t})=>{const{attributes:n,listeners:a,setNodeRef:s,transform:o,transition:l,isDragging:c}=ws({id:e.key,disabled:!A}),g={transform:ps.Transform.toString(o),transition:l,opacity:c?.5:1},B=u=>u.icon||us(u.url,u.name);return i.jsxs("div",{ref:s,style:g,...n,...a,className:`quicklink-item ${A?"":"disabled"}`,role:"listitem",children:[i.jsx(No,{}),i.jsx("div",{className:"quicklink-icon",children:i.jsx("img",{src:B(e),alt:e.name,draggable:!1})}),i.jsxs("div",{className:"quicklink-content",children:[i.jsx("div",{className:"quicklink-name",children:e.name}),i.jsx("div",{className:"quicklink-url",children:e.url})]}),i.jsxs("div",{className:"quicklink-actions",children:[i.jsxs("button",{className:"quicklink-action-btn",onClick:u=>{A&&(u.stopPropagation(),r(e))},title:"Edit",disabled:!A,"aria-disabled":!A,children:[i.jsx(Bs,{}),i.jsx("span",{children:"Edit"})]}),i.jsxs("button",{className:"quicklink-action-btn quicklink-remove-btn",onClick:u=>{A&&(u.stopPropagation(),t(e.key,u))},title:"Remove",disabled:!A,"aria-disabled":!A,children:[i.jsx(Zi,{}),i.jsx("span",{children:"Remove"})]})]})]})},Go=({items:e,enabled:A,onDragEnd:r,startEditLink:t,deleteLink:n})=>{const a=Cs(rr(vs,{activationConstraint:{distance:6}}),rr(ms,{coordinateGetter:Qs}));return i.jsx(Us,{sensors:a,collisionDetection:Fs,onDragEnd:r,children:i.jsx(bs,{items:e.map(s=>s.key),strategy:Es,children:i.jsx("div",{className:"quicklinks-list",role:"list",children:e.map(s=>i.jsx(_o,{value:s,enabled:A,startEditLink:t,deleteLink:n},s.key))})})})},Pe=()=>{try{const e=localStorage.getItem("quicklinks");if(!e)return[];const A=JSON.parse(e);return Array.isArray(A)?A:[]}catch(e){return console.warn("Failed to parse quicklinks from localStorage. Resetting to []",e),[]}},jo=()=>{const[e,A]=E.useState(Pe()),[r,t]=E.useState(!1),[n,a]=E.useState(""),[s,o]=E.useState(""),[l,c]=E.useState(!1),[g,B]=E.useState(""),[u,p]=E.useState(localStorage.getItem("quicklinksenabled")!=="false"),Q=E.useRef(),C=E.useRef(!1),I=R=>{if(!Q||!Q.current)return;const O=Q.current;O.classList.toggle("disabled",!R),R?O.removeAttribute("aria-hidden"):O.setAttribute("aria-hidden","true")},U=(R,O)=>{O.preventDefault();const D=Pe().filter(z=>z.key!==R);C.current=!0,localStorage.setItem("quicklinks",JSON.stringify(D)),A(D),d.stats.postEvent("feature","Quicklink delete"),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)},b=async(R,O,Z)=>{const D=Pe();if(O=ar(O),!O){a(d.getMessage("widgets.quicklinks.url_error"));return}if(Z.length>0&&dt(Z)===!1){o(d.getMessage("widgets.quicklinks.url_error"));return}const z={name:R||await nr(O),url:O,icon:Z||"",key:Date.now().toString()+Math.random().toString(36).substring(2)};D.push(z),C.current=!0,localStorage.setItem("quicklinks",JSON.stringify(D)),A(D),t(!1),a(""),o(""),d.stats.postEvent("feature","Quicklink add"),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)},L=R=>{c(!0),B(R),t(!0)},S=async(R,O,Z,D)=>{const z=Pe(),eA=z.find(tA=>tA.key===R.key);if(eA){if(Z=ar(Z),!Z){a(d.getMessage("widgets.quicklinks.url_error"));return}if(D.length>0&&dt(D)===!1){o(d.getMessage("widgets.quicklinks.url_error"));return}eA.name=O||await nr(Z),eA.url=Z,eA.icon=D||"",C.current=!0,localStorage.setItem("quicklinks",JSON.stringify(z)),A(z),t(!1),c(!1),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)}},y=R=>{const{active:O,over:Z}=R;if(!Z||!u||O.id===Z.id)return;const D=e.findIndex(tA=>tA.key===O.id),z=e.findIndex(tA=>tA.key===Z.id);if(D===-1||z===-1)return;const eA=ys(e,D,z);C.current=!0,A(eA),localStorage.setItem("quicklinks",JSON.stringify(eA)),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)};E.useEffect(()=>{I(u)},[u]),E.useEffect(()=>{I(u);const R=O=>{if(O!=="quicklinks"||C.current)return;const Z=localStorage.getItem("quicklinksenabled")!=="false",D=Pe(),z=e||[],eA=z.length===D.length&&z.every(tA=>D.some(AA=>AA.key===tA.key));(Z!==u||!eA)&&(I(Z),A(D),p(Z))};return UA.on("refresh",R),()=>{UA.off("refresh",R)}},[u,e]);const h="modals.main.settings.sections.quicklinks",x=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.additional_settings"),subtitle:d.getMessage(`${h}.additional`)}),i.jsxs(cA,{children:[i.jsx(QA,{name:"quicklinksnewtab",text:d.getMessage(`${h}.open_new`),category:"quicklinks"}),i.jsx(QA,{name:"quicklinkstooltip",text:d.getMessage(`${h}.tooltip`),category:"quicklinks"})]})]}),M=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage(`${h}.styling`),subtitle:d.getMessage("modals.main.settings.sections.quicklinks.styling_description")}),i.jsx(cA,{children:i.jsx(KA,{label:d.getMessage(`${h}.style`),name:"quickLinksStyle",category:"quicklinks",items:[{value:"icon",text:d.getMessage(`${h}.options.icon`)},{value:"text",text:d.getMessage(`${h}.options.text_only`)},{value:"metro",text:d.getMessage(`${h}.options.metro`)}]})})]}),k=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${h}.title`)}),i.jsx(cA,{children:i.jsx(mA,{type:"settings",onClick:()=>u&&t(!0),icon:i.jsx(ln,{}),label:d.getMessage(`${h}.add_link`),disabled:!u})})]});return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage(`${h}.title`),setting:"quicklinksenabled",category:"widgets",zoomSetting:"zoomQuicklinks",visibilityToggle:!0}),i.jsxs(Qt,{setting:"quicklinksenabled",category:"quicklinks",visibilityToggle:!0,zoomSetting:"zoomQuicklinks",children:[i.jsx(x,{}),i.jsx(M,{}),i.jsx(k,{}),e.length===0&&i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(zi,{}),i.jsx("span",{className:"title",children:d.getMessage(`${h}.no_quicklinks`)}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.message.add_some")}),i.jsx(mA,{type:"settings",onClick:()=>t(!0),icon:i.jsx(ln,{}),label:d.getMessage(`${h}.add_link`)})]})})]}),i.jsx("div",{className:`quicklinks-container ${u?"":"disabled"}`,ref:Q,"aria-hidden":!u,children:i.jsx("div",{className:`messagesContainer ${u?"":"disabled"}`,children:i.jsx(Go,{items:e,enabled:u,onDragEnd:y,startEditLink:R=>L(R),deleteLink:(R,O)=>U(R,O)})})}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>{t(!1),a(""),o(""),c(!1),B("")},isOpen:r,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(ds,{urlError:n,iconError:s,addLink:(R,O,Z)=>b(R,O,Z),editLink:(R,O,Z,D)=>S(R,O,Z,D),edit:l,editData:g,closeModal:()=>{t(!1),a(""),o(""),c(!1)}})})]})},Vo=()=>{const[e,A]=E.useState(JSON.parse(localStorage.getItem("messages"))||[]),r=(a,s)=>{const o=[...e];a==="add"?o.push(""):o.splice(s,1),A(o),localStorage.setItem("messages",JSON.stringify(o)),UA.emit("refresh","message")},t=(a,s,o)=>{const l=a.target.value,c=[...e];c[o]=l,A(c),localStorage.setItem("messages",JSON.stringify(c)),ls()},n="modals.main.settings.sections.message";return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage(`${n}.title`),setting:"message",category:"widgets",zoomSetting:"zoomMessage",visibilityToggle:!0}),i.jsxs(Qt,{setting:"message",visibilityToggle:!0,category:"message",zoomSetting:"zoomMessage",children:[i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${n}.messages`)}),i.jsx(cA,{children:i.jsx(mA,{type:"settings",onClick:()=>r("add"),icon:i.jsx(er,{}),label:d.getMessage(`${n}.add`)})})]}),i.jsx("div",{className:"messagesContainer",children:e.map((a,s)=>i.jsxs("div",{className:"messageMap",children:[i.jsxs("div",{className:"flexGrow",children:[i.jsx("div",{className:"icon",children:i.jsx(Xn,{})}),i.jsxs("div",{className:"messageText",children:[i.jsx("span",{className:"subtitle",children:d.getMessage(`${n}.title`)}),i.jsx(qi,{value:e[s],placeholder:d.getMessage("modals.main.settings.sections.message.content"),onChange:o=>t(o,!0,s),minRows:2})]})]}),i.jsx("div",{children:i.jsx("div",{className:"messageAction",children:i.jsx(mA,{type:"settings",onClick:()=>r("remove",s),icon:i.jsx(ut,{}),label:d.getMessage("modals.main.marketplace.product.buttons.remove")})})})]},s))}),e.length===0&&i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Xn,{}),i.jsx("span",{className:"title",children:d.getMessage(`${n}.no_messages`)}),i.jsx("span",{className:"subtitle",children:d.getMessage(`${n}.add_some`)}),i.jsx(mA,{type:"settings",onClick:()=>r("add"),icon:i.jsx(er,{}),label:d.getMessage(`${n}.add`)})]})})]})]})};var Sr={exports:{}},qn;function Po(){return qn||(qn=1,(function(e){(function(A){var r=/^\s+/,t=/\s+$/,n=0,a=A.round,s=A.min,o=A.max,l=A.random;function c(f,v){if(f=f||"",v=v||{},f instanceof c)return f;if(!(this instanceof c))return new c(f,v);var w=g(f);this._originalInput=f,this._r=w.r,this._g=w.g,this._b=w.b,this._a=w.a,this._roundA=a(100*this._a)/100,this._format=v.format||w.format,this._gradientType=v.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=w.ok,this._tc_id=n++}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var f=this.toRgb();return(f.r*299+f.g*587+f.b*114)/1e3},getLuminance:function(){var f=this.toRgb(),v,w,K,W,P,oA;return v=f.r/255,w=f.g/255,K=f.b/255,v<=.03928?W=v/12.92:W=A.pow((v+.055)/1.055,2.4),w<=.03928?P=w/12.92:P=A.pow((w+.055)/1.055,2.4),K<=.03928?oA=K/12.92:oA=A.pow((K+.055)/1.055,2.4),.2126*W+.7152*P+.0722*oA},setAlpha:function(f){return this._a=aA(f),this._roundA=a(100*this._a)/100,this},toHsv:function(){var f=Q(this._r,this._g,this._b);return{h:f.h*360,s:f.s,v:f.v,a:this._a}},toHsvString:function(){var f=Q(this._r,this._g,this._b),v=a(f.h*360),w=a(f.s*100),K=a(f.v*100);return this._a==1?"hsv("+v+", "+w+"%, "+K+"%)":"hsva("+v+", "+w+"%, "+K+"%, "+this._roundA+")"},toHsl:function(){var f=u(this._r,this._g,this._b);return{h:f.h*360,s:f.s,l:f.l,a:this._a}},toHslString:function(){var f=u(this._r,this._g,this._b),v=a(f.h*360),w=a(f.s*100),K=a(f.l*100);return this._a==1?"hsl("+v+", "+w+"%, "+K+"%)":"hsla("+v+", "+w+"%, "+K+"%, "+this._roundA+")"},toHex:function(f){return I(this._r,this._g,this._b,f)},toHexString:function(f){return"#"+this.toHex(f)},toHex8:function(f){return U(this._r,this._g,this._b,this._a,f)},toHex8String:function(f){return"#"+this.toHex8(f)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(q(this._r,255)*100)+"%",g:a(q(this._g,255)*100)+"%",b:a(q(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+a(q(this._r,255)*100)+"%, "+a(q(this._g,255)*100)+"%, "+a(q(this._b,255)*100)+"%)":"rgba("+a(q(this._r,255)*100)+"%, "+a(q(this._g,255)*100)+"%, "+a(q(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:AA[I(this._r,this._g,this._b,!0)]||!1},toFilter:function(f){var v="#"+b(this._r,this._g,this._b,this._a),w=v,K=this._gradientType?"GradientType = 1, ":"";if(f){var W=c(f);w="#"+b(W._r,W._g,W._b,W._a)}return"progid:DXImageTransform.Microsoft.gradient("+K+"startColorstr="+v+",endColorstr="+w+")"},toString:function(f){var v=!!f;f=f||this._format;var w=!1,K=this._a<1&&this._a>=0,W=!v&&K&&(f==="hex"||f==="hex6"||f==="hex3"||f==="hex4"||f==="hex8"||f==="name");return W?f==="name"&&this._a===0?this.toName():this.toRgbString():(f==="rgb"&&(w=this.toRgbString()),f==="prgb"&&(w=this.toPercentageRgbString()),(f==="hex"||f==="hex6")&&(w=this.toHexString()),f==="hex3"&&(w=this.toHexString(!0)),f==="hex4"&&(w=this.toHex8String(!0)),f==="hex8"&&(w=this.toHex8String()),f==="name"&&(w=this.toName()),f==="hsl"&&(w=this.toHslString()),f==="hsv"&&(w=this.toHsvString()),w||this.toHexString())},clone:function(){return c(this.toString())},_applyModification:function(f,v){var w=f.apply(null,[this].concat([].slice.call(v)));return this._r=w._r,this._g=w._g,this._b=w._b,this.setAlpha(w._a),this},lighten:function(){return this._applyModification(h,arguments)},brighten:function(){return this._applyModification(x,arguments)},darken:function(){return this._applyModification(M,arguments)},desaturate:function(){return this._applyModification(L,arguments)},saturate:function(){return this._applyModification(S,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(k,arguments)},_applyCombination:function(f,v){return f.apply(null,[this].concat([].slice.call(v)))},analogous:function(){return this._applyCombination(z,arguments)},complement:function(){return this._applyCombination(R,arguments)},monochromatic:function(){return this._applyCombination(eA,arguments)},splitcomplement:function(){return this._applyCombination(D,arguments)},triad:function(){return this._applyCombination(O,arguments)},tetrad:function(){return this._applyCombination(Z,arguments)}},c.fromRatio=function(f,v){if(typeof f=="object"){var w={};for(var K in f)f.hasOwnProperty(K)&&(K==="a"?w[K]=f[K]:w[K]=F(f[K]));f=w}return c(f,v)};function g(f){var v={r:0,g:0,b:0},w=1,K=null,W=null,P=null,oA=!1,fA=!1;return typeof f=="string"&&(f=$(f)),typeof f=="object"&&(J(f.r)&&J(f.g)&&J(f.b)?(v=B(f.r,f.g,f.b),oA=!0,fA=String(f.r).substr(-1)==="%"?"prgb":"rgb"):J(f.h)&&J(f.s)&&J(f.v)?(K=F(f.s),W=F(f.v),v=C(f.h,K,W),oA=!0,fA="hsv"):J(f.h)&&J(f.s)&&J(f.l)&&(K=F(f.s),P=F(f.l),v=p(f.h,K,P),oA=!0,fA="hsl"),f.hasOwnProperty("a")&&(w=f.a)),w=aA(w),{ok:oA,format:f.format||fA,r:s(255,o(v.r,0)),g:s(255,o(v.g,0)),b:s(255,o(v.b,0)),a:w}}function B(f,v,w){return{r:q(f,255)*255,g:q(v,255)*255,b:q(w,255)*255}}function u(f,v,w){f=q(f,255),v=q(v,255),w=q(w,255);var K=o(f,v,w),W=s(f,v,w),P,oA,fA=(K+W)/2;if(K==W)P=oA=0;else{var vA=K-W;switch(oA=fA>.5?vA/(2-K-W):vA/(K+W),K){case f:P=(v-w)/vA+(v<w?6:0);break;case v:P=(w-f)/vA+2;break;case w:P=(f-v)/vA+4;break}P/=6}return{h:P,s:oA,l:fA}}function p(f,v,w){var K,W,P;f=q(f,360),v=q(v,100),w=q(w,100);function oA(jA,je,YA){return YA<0&&(YA+=1),YA>1&&(YA-=1),YA<1/6?jA+(je-jA)*6*YA:YA<1/2?je:YA<2/3?jA+(je-jA)*(2/3-YA)*6:jA}if(v===0)K=W=P=w;else{var fA=w<.5?w*(1+v):w+v-w*v,vA=2*w-fA;K=oA(vA,fA,f+1/3),W=oA(vA,fA,f),P=oA(vA,fA,f-1/3)}return{r:K*255,g:W*255,b:P*255}}function Q(f,v,w){f=q(f,255),v=q(v,255),w=q(w,255);var K=o(f,v,w),W=s(f,v,w),P,oA,fA=K,vA=K-W;if(oA=K===0?0:vA/K,K==W)P=0;else{switch(K){case f:P=(v-w)/vA+(v<w?6:0);break;case v:P=(w-f)/vA+2;break;case w:P=(f-v)/vA+4;break}P/=6}return{h:P,s:oA,v:fA}}function C(f,v,w){f=q(f,360)*6,v=q(v,100),w=q(w,100);var K=A.floor(f),W=f-K,P=w*(1-v),oA=w*(1-W*v),fA=w*(1-(1-W)*v),vA=K%6,jA=[w,oA,P,P,fA,w][vA],je=[fA,w,w,oA,P,P][vA],YA=[P,P,fA,w,w,oA][vA];return{r:jA*255,g:je*255,b:YA*255}}function I(f,v,w,K){var W=[_(a(f).toString(16)),_(a(v).toString(16)),_(a(w).toString(16))];return K&&W[0].charAt(0)==W[0].charAt(1)&&W[1].charAt(0)==W[1].charAt(1)&&W[2].charAt(0)==W[2].charAt(1)?W[0].charAt(0)+W[1].charAt(0)+W[2].charAt(0):W.join("")}function U(f,v,w,K,W){var P=[_(a(f).toString(16)),_(a(v).toString(16)),_(a(w).toString(16)),_(N(K))];return W&&P[0].charAt(0)==P[0].charAt(1)&&P[1].charAt(0)==P[1].charAt(1)&&P[2].charAt(0)==P[2].charAt(1)&&P[3].charAt(0)==P[3].charAt(1)?P[0].charAt(0)+P[1].charAt(0)+P[2].charAt(0)+P[3].charAt(0):P.join("")}function b(f,v,w,K){var W=[_(N(K)),_(a(f).toString(16)),_(a(v).toString(16)),_(a(w).toString(16))];return W.join("")}c.equals=function(f,v){return!f||!v?!1:c(f).toRgbString()==c(v).toRgbString()},c.random=function(){return c.fromRatio({r:l(),g:l(),b:l()})};function L(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.s-=v/100,w.s=lA(w.s),c(w)}function S(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.s+=v/100,w.s=lA(w.s),c(w)}function y(f){return c(f).desaturate(100)}function h(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.l+=v/100,w.l=lA(w.l),c(w)}function x(f,v){v=v===0?0:v||10;var w=c(f).toRgb();return w.r=o(0,s(255,w.r-a(255*-(v/100)))),w.g=o(0,s(255,w.g-a(255*-(v/100)))),w.b=o(0,s(255,w.b-a(255*-(v/100)))),c(w)}function M(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.l-=v/100,w.l=lA(w.l),c(w)}function k(f,v){var w=c(f).toHsl(),K=(w.h+v)%360;return w.h=K<0?360+K:K,c(w)}function R(f){var v=c(f).toHsl();return v.h=(v.h+180)%360,c(v)}function O(f){var v=c(f).toHsl(),w=v.h;return[c(f),c({h:(w+120)%360,s:v.s,l:v.l}),c({h:(w+240)%360,s:v.s,l:v.l})]}function Z(f){var v=c(f).toHsl(),w=v.h;return[c(f),c({h:(w+90)%360,s:v.s,l:v.l}),c({h:(w+180)%360,s:v.s,l:v.l}),c({h:(w+270)%360,s:v.s,l:v.l})]}function D(f){var v=c(f).toHsl(),w=v.h;return[c(f),c({h:(w+72)%360,s:v.s,l:v.l}),c({h:(w+216)%360,s:v.s,l:v.l})]}function z(f,v,w){v=v||6,w=w||30;var K=c(f).toHsl(),W=360/w,P=[c(f)];for(K.h=(K.h-(W*v>>1)+720)%360;--v;)K.h=(K.h+W)%360,P.push(c(K));return P}function eA(f,v){v=v||6;for(var w=c(f).toHsv(),K=w.h,W=w.s,P=w.v,oA=[],fA=1/v;v--;)oA.push(c({h:K,s:W,v:P})),P=(P+fA)%1;return oA}c.mix=function(f,v,w){w=w===0?0:w||50;var K=c(f).toRgb(),W=c(v).toRgb(),P=w/100,oA={r:(W.r-K.r)*P+K.r,g:(W.g-K.g)*P+K.g,b:(W.b-K.b)*P+K.b,a:(W.a-K.a)*P+K.a};return c(oA)},c.readability=function(f,v){var w=c(f),K=c(v);return(A.max(w.getLuminance(),K.getLuminance())+.05)/(A.min(w.getLuminance(),K.getLuminance())+.05)},c.isReadable=function(f,v,w){var K=c.readability(f,v),W,P;switch(P=!1,W=wA(w),W.level+W.size){case"AAsmall":case"AAAlarge":P=K>=4.5;break;case"AAlarge":P=K>=3;break;case"AAAsmall":P=K>=7;break}return P},c.mostReadable=function(f,v,w){var K=null,W=0,P,oA,fA,vA;w=w||{},oA=w.includeFallbackColors,fA=w.level,vA=w.size;for(var jA=0;jA<v.length;jA++)P=c.readability(f,v[jA]),P>W&&(W=P,K=c(v[jA]));return c.isReadable(f,K,{level:fA,size:vA})||!oA?K:(w.includeFallbackColors=!1,c.mostReadable(f,["#fff","#000"],w))};var tA=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},AA=c.hexNames=dA(tA);function dA(f){var v={};for(var w in f)f.hasOwnProperty(w)&&(v[f[w]]=w);return v}function aA(f){return f=parseFloat(f),(isNaN(f)||f<0||f>1)&&(f=1),f}function q(f,v){H(f)&&(f="100%");var w=j(f);return f=s(v,o(0,parseFloat(f))),w&&(f=parseInt(f*v,10)/100),A.abs(f-v)<1e-6?1:f%v/parseFloat(v)}function lA(f){return s(1,o(0,f))}function sA(f){return parseInt(f,16)}function H(f){return typeof f=="string"&&f.indexOf(".")!=-1&&parseFloat(f)===1}function j(f){return typeof f=="string"&&f.indexOf("%")!=-1}function _(f){return f.length==1?"0"+f:""+f}function F(f){return f<=1&&(f=f*100+"%"),f}function N(f){return A.round(parseFloat(f)*255).toString(16)}function T(f){return sA(f)/255}var G=(function(){var f="[-\\+]?\\d+%?",v="[-\\+]?\\d*\\.\\d+%?",w="(?:"+v+")|(?:"+f+")",K="[\\s|\\(]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")\\s*\\)?",W="[\\s|\\(]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")\\s*\\)?";return{CSS_UNIT:new RegExp(w),rgb:new RegExp("rgb"+K),rgba:new RegExp("rgba"+W),hsl:new RegExp("hsl"+K),hsla:new RegExp("hsla"+W),hsv:new RegExp("hsv"+K),hsva:new RegExp("hsva"+W),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function J(f){return!!G.CSS_UNIT.exec(f)}function $(f){f=f.replace(r,"").replace(t,"").toLowerCase();var v=!1;if(tA[f])f=tA[f],v=!0;else if(f=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var w;return(w=G.rgb.exec(f))?{r:w[1],g:w[2],b:w[3]}:(w=G.rgba.exec(f))?{r:w[1],g:w[2],b:w[3],a:w[4]}:(w=G.hsl.exec(f))?{h:w[1],s:w[2],l:w[3]}:(w=G.hsla.exec(f))?{h:w[1],s:w[2],l:w[3],a:w[4]}:(w=G.hsv.exec(f))?{h:w[1],s:w[2],v:w[3]}:(w=G.hsva.exec(f))?{h:w[1],s:w[2],v:w[3],a:w[4]}:(w=G.hex8.exec(f))?{r:sA(w[1]),g:sA(w[2]),b:sA(w[3]),a:T(w[4]),format:v?"name":"hex8"}:(w=G.hex6.exec(f))?{r:sA(w[1]),g:sA(w[2]),b:sA(w[3]),format:v?"name":"hex"}:(w=G.hex4.exec(f))?{r:sA(w[1]+""+w[1]),g:sA(w[2]+""+w[2]),b:sA(w[3]+""+w[3]),a:T(w[4]+""+w[4]),format:v?"name":"hex8"}:(w=G.hex3.exec(f))?{r:sA(w[1]+""+w[1]),g:sA(w[2]+""+w[2]),b:sA(w[3]+""+w[3]),format:v?"name":"hex"}:!1}function wA(f){var v,w;return f=f||{level:"AA",size:"small"},v=(f.level||"AA").toUpperCase(),w=(f.size||"small").toLowerCase(),v!=="AA"&&v!=="AAA"&&(v="AA"),w!=="small"&&w!=="large"&&(w="small"),{level:v,size:w}}e.exports?e.exports=c:window.tinycolor=c})(Math)})(Sr)),Sr.exports}var Xo=Po();const SA=xs(Xo);var Te=function(){return Te=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Te.apply(this,arguments)},Jo=function(e,A,r){if(r||arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||Array.prototype.slice.call(A))},Wo=function(e){e===void 0&&(e="");var A={linearGradient:/^(-(webkit|o|ms|moz)-)?(linear-gradient)/i,repeatingLinearGradient:/^(-(webkit|o|ms|moz)-)?(repeating-linear-gradient)/i,radialGradient:/^(-(webkit|o|ms|moz)-)?(radial-gradient)/i,repeatingRadialGradient:/^(-(webkit|o|ms|moz)-)?(repeating-radial-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest-side|closest-corner|farthest-side|farthest-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,spacedRgbColor:/^(\d{1,3})\s+(\d{1,3})\s+(\d{1,3})\s+\/\s+([0-1](\.\d+)?)/,rgbaColor:/^rgba/i,hslColor:/^hsl/i,hsvColor:/^hsv/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/};function r(H){var j=new Error(e+": "+H);throw j}function t(H){e=e.substr(H)}function n(H){var j=/^[\n\r\t\s]+/.exec(e);j&&t(j[0].length);var _=H.exec(e);return _&&t(_[0].length),_}function a(H){var j=H(),_=[];if(j)for(_.push(j);n(A.comma);)j=H(),j?_.push(j):r("One extra comma");return _}function s(H,j,_){var F=n(j);if(F)return{type:H,value:F[_]}}function o(){var H=s("hex",A.hexColor,1);if(H?.value){var j=SA(H?.value).toRgb(),_=j.r,F=j.g,N=j.b,T=j.a;return{value:"rgba(".concat(_,", ").concat(F,", ").concat(N,", ").concat(T,")")}}}var l=function(H){var j=me(H?.[0]);return{value:"".concat(j?"RGBA":"rgba","(").concat(a(AA),")")}};function c(H,j){var _=n(H);if(_){n(A.startCall)||r("Missing (");var F=j(_);return n(A.endCall)||r("Missing )"),F}}function g(){return c(A.hslColor,dA)}function B(){return c(A.rgbaColor,l)}function u(){return c(A.rgbColor,q)}function p(){var H=s("literal",A.literalColor,0);if(H?.value){var j=SA(H?.value).toRgb(),_=j.r,F=j.g,N=j.b,T=j.a;return{value:"rgba(".concat(_,", ").concat(F,", ").concat(N,", ").concat(T,")")}}}function Q(){return c(A.hsvColor,aA)}function C(){return o()||g()||B()||u()||p()||Q()}function I(){var H,j=C();return j||r("Expected color definition"),j.left=parseInt((H=lA())===null||H===void 0?void 0:H.value),j}function U(H,j,_){return c(j,function(){var F=_();return F&&(n(A.comma)||r("Missing comma before color stops")),{type:H,orientation:F,colorStops:a(I)}})}function b(){return h()||x()}function L(){return U("linear-gradient",A.linearGradient,b)||U("repeating-linear-gradient",A.repeatingLinearGradient,b)||U("radial-gradient",A.radialGradient,M)||U("repeating-radial-gradient",A.repeatingRadialGradient,M)}function S(){return a(L)}function y(){var H,j=S();e.length>0&&r("Invalid input not EOF");var _=j[0],F=(H=_?.colorStops)===null||H===void 0?void 0:H.filter(function(T){return me(T.value)}).length,N=function(){if(F>0)return _;var T=function(G,J){return J===0?Cr(G):mt(G)};return Te(Te({},_),{colorStops:_.colorStops.map(function(G,J){return Te(Te({},G),{value:T(G,J)})})})};return N()}function h(){return s("directional",A.sideOrCorner,1)}function x(){return s("angular",A.angleValue,1)}function M(){var H,j=k(),_;return j&&(H=[],H.push(j),_=e,n(A.comma)&&(j=k(),j?H.push(j):e=_)),H}function k(){var H=O()||Z();if(H)H.at=z();else{var j=D();if(j){H=j;var _=z();_&&(H.at=_)}else{var F=eA();F&&(H={type:"default-radial",at:F})}}return H}function R(){return s("px",A.pixelValue,1)||s("em",A.emValue,1)}function O(){var H=s("shape",/^(circle)/i,0);return H&&(H.style=R()||D()),H}function Z(){var H=s("shape",/^(ellipse)/i,0);return H&&(H.style=lA()||D()),H}function D(){return s("extent-keyword",A.extentKeywords,1)}function z(){if(s("position",/^at/,0)){var H=eA();return H||r("Missing positioning value"),H}}function eA(){var H=tA();if(H.x||H.y)return{type:"position",value:H}}function tA(){return{x:lA(),y:lA()}}function AA(){return n(A.number)[1]}var dA=function(H){var j=me(H?.[0]),_=a(AA),F=SA({h:_[0],s:_[1],l:_[2],a:_[3]||1}).toRgb(),N=F.r,T=F.g,G=F.b,J=F.a;return{value:"".concat(j?"RGBA":"rgba","(").concat(N,", ").concat(T,", ").concat(G,", ").concat(J,")")}},aA=function(H){var j=me(H?.[0]),_=a(AA),F=SA({h:_[0],s:_[1],v:_[2],a:_[3]||1}).toRgb(),N=F.r,T=F.g,G=F.b,J=F.a;return{value:"".concat(j?"RGBA":"rgba","(").concat(N,", ").concat(T,", ").concat(G,", ").concat(J,")")}},q=function(H){var j=me(H?.[0]),_=n(A.spacedRgbColor),F=_||Jo([null],a(AA),!0),N=F[1],T=F[2],G=F[3],J=F[4],$=J===void 0?1:J;return{value:"".concat(j?"RGBA":"rgba","(").concat(N,", ").concat(T,", ").concat(G,", ").concat($,")")}};function lA(){return s("%",A.percentageValue,1)||sA()||R()}function sA(){return s("position-keyword",A.positionKeywords,1)}return y()},mt=function(e){return e.value.toLowerCase()},Cr=function(e){return e.value.toUpperCase()},Yo=function(e,A,r){var t=e?.includes("gradient");if(t){var n=e?.includes("conic"),a=n?r:e;n&&console.log("Sorry we cant handle conic gradients yet");var s=Wo(a);return s?.colorStops}else{var a=e||A;return[{value:a}]}},Re=function(e,A,r){return isNaN(e)||e<A?A:e>r?r:e},ee=function(e){return Math.round(e)},sr=function(){return sr=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},sr.apply(this,arguments)},Hs=function(e){var A=e.target.parentNode.getBoundingClientRect(),r=e.target.className,t=r==="c-resize ps-rl"?15:0;return{offsetLeft:A?.x+t,offsetTop:A?.y,clientWidth:A?.width,clientHeight:A?.height}};function Ne(e,A){var r=Hs(e),t=r.offsetLeft,n=r.clientWidth,a=e.clientX-t-A/2,s=n-18,o=Re(a,0,s);return Math.round(o/(s/100))}function Zo(e,A,r,t,n){var a=e*r-n/2,s=(100-A)/100*t-n/2;return[a,s]}var zo=function(e){if(e.clientX)return{clientX:e.clientX,clientY:e.clientY};var A=e.touches[0]||{};return{clientX:A.clientX,clientY:A.clientY}};function qo(e,A){var r=Hs(e),t=r.offsetLeft,n=r.offsetTop,a=r.clientWidth,s=r.clientHeight,o=zo(e),l=o.clientX,c=o.clientY,g=function(){var u=l-t-A/2;return Re(u,-9,a-10)},B=function(){var u=c-n-A/2;return Re(u,-9,s-10)};return[g(),B()]}var me=function(e){var A;return e?.[0]===((A=e?.[0])===null||A===void 0?void 0:A.toUpperCase())},Ss=function(e){if(e==="to top")return 0;if(e==="to bottom")return 180;if(e==="to left")return 270;if(e==="to right")return 90;if(e==="to top right")return 45;if(e==="to bottom right")return 135;if(e==="to bottom left")return 225;if(e==="to top left")return 315;var A=e||0;return parseInt(A)},$o=function(e){var A,r,t,n,a;if(typeof e=="string")return e;if(!((A=e?.type)===null||A===void 0)&&A.includes("gradient")){var s=(r=e?.colorStops)===null||r===void 0?void 0:r.sort(function(u,p){return u?.left-p?.left}),o=(t=s?.map(function(u){return"".concat(u?.value," ").concat(u?.left,"%")}))===null||t===void 0?void 0:t.join(", "),l=e?.type,c=Ss((n=e?.orientation)===null||n===void 0?void 0:n.value),g=l==="linear-gradient"?"".concat(c,"deg"):"circle";return"".concat(l,"(").concat(g,", ").concat(o,")")}else{var B=((a=e?.colorStops[0])===null||a===void 0?void 0:a.value)||"rgba(175, 51, 242, 1)";return B}},Al=function(e,A){var r=e?.map(function(a,s){return sr(sr({},a),{index:s})}),t=r?.find(function(a){return me(a.value)}),n=t||r[0];return{currentColor:n?.value||A,selectedColor:n?.index||0,currentLeft:n?.left||0}},el=function(e){var A,r=e?.split(",")[0],t=(A=r?.split("(")[1])===null||A===void 0?void 0:A.replace("deg","");return Ss(t)},tl=function(e){var A=e?.includes("gradient"),r=e?.split("(")[0],t=el(e),n=r==="linear-gradient"?"".concat(t,"deg"):"circle";return{degrees:t,degreeStr:n,isGradient:A,gradientType:r}},DA=function(){return DA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},DA.apply(this,arguments)},rl=function(e,A,r){if(r||arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||Array.prototype.slice.call(A))},Ls=E.createContext(null);function nl(e){var A,r,t,n,a=e.value,s=e.children,o=e.onChange,l=e.isDarkMode,c=e.squareWidth,g=e.hideOpacity,B=e.showHexAlpha,u=e.squareHeight,p=e.passedConfig,Q=e.defaultStyles,C=e.pickerIdSuffix,I={barSize:(A=p.barSize)!==null&&A!==void 0?A:Et.barSize,crossSize:(r=p.crossSize)!==null&&r!==void 0?r:Et.crossSize,defaultColor:(t=p.defaultColor)!==null&&t!==void 0?t:Et.defaultColor,defaultGradient:(n=p.defaultGradient)!==null&&n!==void 0?n:Et.defaultGradient},U=Yo(a,I.defaultColor,I.defaultGradient),b=tl(a),L=b.degrees,S=b.degreeStr,y=b.isGradient,h=b.gradientType,x=Al(U,I.defaultGradient),M=x.currentColor,k=x.selectedColor,R=x.currentLeft,O=E.useState("rgb"),Z=O[0],D=O[1],z=E.useState({}),eA=z[0],tA=z[1],AA=SA(M),dA=AA.toRgb(),aA=AA.toHsv(),q=E.useState(DA(DA({},dA),aA)),lA=q[0],sA=q[1];E.useEffect(function(){aA?.s===0?sA(DA(DA(DA({},dA),aA),{h:lA?.h})):sA(DA(DA({},dA),aA))},[M]);var H=function(T){var G=T.sort(function(wA,f){return wA.left-f.left}),J=G?.map(function(wA){return"".concat(wA?.value," ").concat(wA.left,"%")}),$="".concat(h,"(").concat(S,", ").concat(J.join(", "),")");tA(DA(DA({},eA),{gradient:$})),o($)},j=function(T,G){var J=U?.filter(function(wA){return!me(wA.value)}),$=rl([{value:T.toUpperCase(),left:G??R}],J,!0);H($)},_=function(T){y?j(T):(tA(DA(DA({},eA),{color:T})),o(T))},F=function(){if(U?.length>2){var T=U?.map(function(J,$){return DA(DA({},J),{value:$===k-1?Cr(J):mt(J)})}),G=T?.filter(function(J,$){return $!==k});H(G)}},N={hc:lA,setHc:sA,value:a,colors:U,config:I,degrees:L,onChange:o,previous:eA,inputType:Z,tinyColor:AA,isDarkMode:l,isGradient:y,squareWidth:c,hideOpacity:g,currentLeft:R,deletePoint:F,showHexAlpha:B,squareHeight:u,setInputType:D,gradientType:h,handleChange:_,currentColor:M,selectedColor:k,defaultStyles:Q,handleGradient:j,pickerIdSuffix:C,createGradientStr:H};return m.createElement(Ls.Provider,{value:N},s)}function BA(){var e=E.useContext(Ls);if(!e)throw new Error("usePicker has to be used within <PickerContext.Provider>");return e}var Et={barSize:18,crossSize:18,defaultColor:"rgba(175, 51, 242, 1)",defaultGradient:"linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%)"},al=function(e,A){E.useEffect(function(){var r,t=(r=e?.current)===null||r===void 0?void 0:r.getContext("2d",{willReadFrequently:!0});if(t){t.rect(0,0,A,14);for(var n=t.createLinearGradient(0,0,A,0),a=0;a<=360;a+=30)n.addColorStop(a/360,"hsl(".concat(a,", 100%, 50%)"));t.fillStyle=n,t.fill()}},[e,A])},sl=function(e,A,r,t){E.useEffect(function(){var n,a=(n=e?.current)===null||n===void 0?void 0:n.getContext("2d",{willReadFrequently:!0});if(a){a.rect(0,0,t,14);for(var s=a.createLinearGradient(0,0,t,0),o=0;o<=100;o+=10)s.addColorStop(o/100,"hsl(".concat(A,", ").concat(o,"%, ").concat(r,"%)"));a.fillStyle=s,a.fill()}},[e,A,r,t])},il=function(e,A,r,t){E.useEffect(function(){var n,a=(n=e?.current)===null||n===void 0?void 0:n.getContext("2d",{willReadFrequently:!0});if(a){a.rect(0,0,t,14);for(var s=a.createLinearGradient(0,0,t,0),o=0;o<=100;o+=10)s.addColorStop(o/100,"hsl(".concat(A,", ").concat(r,"%, ").concat(o,"%)"));a.fillStyle=s,a.fill()}},[e,A,r,t])},ol=function(e,A,r,t){E.useEffect(function(){var n,a=(n=e?.current)===null||n===void 0?void 0:n.getContext("2d",{willReadFrequently:!0});if(a){a.rect(0,0,t,14);for(var s=a.createLinearGradient(0,0,t,0),o=0;o<=100;o+=10){var l=SA({h:A,s:r,v:o});s.addColorStop(o/100,l.toHslString())}a.fillStyle=s,a.fill()}},[e,A,r,t])},ir=function(){return ir=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},ir.apply(this,arguments)},ll=function(){var e=E.useRef(null),A=BA(),r=A.config,t=A.handleChange,n=A.squareWidth,a=A.hc,s=A.setHc,o=A.pickerIdSuffix,l=E.useState(!1),c=l[0],g=l[1],B=r.barSize;al(e,n);var u=function(){g(!1)},p=function(){g(!0)},Q=function(U){var b=Ne(U,B)*3.6,L=SA({h:b,s:a?.s,v:a?.v}),S=L.toRgb(),y=S.r,h=S.g,x=S.b;t("rgba(".concat(y,", ").concat(h,", ").concat(x,", ").concat(a.a,")")),s(ir(ir({},a),{h:b}))},C=function(U){c&&Q(U)},I=function(U){c||Q(U)};return E.useEffect(function(){var U=function(){u()};return window.addEventListener("mouseup",U),function(){window.removeEventListener("mouseup",U)}},[]),m.createElement("div",{style:{height:14,marginTop:17,marginBottom:4,cursor:"ew-resize",position:"relative"},onMouseMove:function(U){return C(U)},id:"rbgcp-hue-wrap".concat(o)},m.createElement("div",{tabIndex:0,role:"button",style:{border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0, 0, 0, 0.5)",width:"18px",height:"18px",zIndex:1e3,transition:"all 10ms linear",position:"absolute",left:a?.h*((n-18)/360),top:-2,cursor:"ew-resize",boxSizing:"border-box"},onMouseDown:p,id:"rbgcp-hue-handle".concat(o)}),m.createElement("canvas",{ref:e,height:"14px",width:"".concat(n,"px"),onClick:function(U){return I(U)},id:"rbgcp-hue-bar".concat(o),style:{borderRadius:14,position:"relative",verticalAlign:"top"}}))};function cl(e,A,r){var t=0,n=0,a=0,s=0;if(e===null||A===null||r===null||isNaN(e)||isNaN(A)||isNaN(r))return console.log("Please enter numeric RGB values!"),{c:0,m:0,k:0,y:1};if(e<0||A<0||r<0||e>255||A>255||r>255)return console.log("RGB values must be in the range 0 to 255."),{c:0,m:0,k:0,y:1};if(e===0&&A===0&&r===0)return s=1,{c:0,m:0,k:0,y:1};t=1-e/255,n=1-A/255,a=1-r/255;var o=Math.min(t,Math.min(n,a));return t=(t-o)/(1-o),n=(n-o)/(1-o),a=(a-o)/(1-o),s=o,{c:t,m:n,y:a,k:s}}var gl=function(e){var A=e.c,r=e.m,t=e.y,n=e.k,a=255*(1-A)*(1-n),s=255*(1-r)*(1-n),o=255*(1-t)*(1-n);return{r:a,g:s,b:o}},ul=function(e){return typeof e!="number"?"FF":e<0?"00":e>1?"FF":Math.round(e*255).toString(16).padStart(2,"0").toUpperCase()},WA=function(){return WA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},WA.apply(this,arguments)},NA=function(e){var A=e.label,r=e.value,t=e.callback,n=e.max,a=n===void 0?100:n,s=e.hideOpacity,o=e.defaultStyles,l=e.pickerIdSuffix,c=E.useState(r),g=c[0],B=c[1],u=s?"25%":"20%";E.useEffect(function(){B(r)},[r]);var p=function(Q){var C=Re(parseFloat(Q.target.value),0,a);B(C),t(C)};return m.createElement("div",{style:{width:u,flexShrink:1},id:"rbgcp-".concat(A,"-input-wrapper").concat(l)},m.createElement("input",{value:g,onChange:function(Q){return p(Q)},style:WA({},o.rbgcpInput),id:"rbgcp-".concat(A,"-input").concat(l)}),m.createElement("div",{style:WA({},o.rbgcpInputLabel)},A))},Bl=function(e){var A=e.opacity,r=e.tinyColor,t=e.showHexAlpha,n=e.handleChange,a=e.defaultStyles,s=e.pickerIdSuffix,o=E.useState(""),l=o[0],c=o[1],g=r.toHex(),B=E.useState(g),u=B[0],p=B[1];E.useEffect(function(){l!=="hex"&&p(g)},[r,l,g]);var Q=function(){c("hex")},C=function(){c("")},I=function(S){var y=SA(S.target.value);if(p(S.target.value),y.isValid()){var h=y.toRgb(),x=h.r,M=h.g,k=h.b,R="rgba(".concat(x,", ").concat(M,", ").concat(k,", ").concat(A,")");n(R)}},U=t?"".concat(u).concat(ul(A)):u,b=t?"HEXA":"HEX",L=t?88:76;return m.createElement("div",{style:{width:L,flexShrink:0},id:"rbgcp-hex-input-wrapper".concat(s)},m.createElement("input",{onBlur:C,onFocus:Q,onChange:function(S){return I(S)},value:U?.toUpperCase(),id:"rbgcp-hex-input".concat(s),style:WA(WA({},a.rbgcpInput),a.rbgcpHexInput)}),m.createElement("div",{style:WA({},a.rbgcpInputLabel)},b))},dl=function(e){var A=e.hc,r=e.hideOpacity,t=e.handleChange,n=e.defaultStyles,a=e.pickerIdSuffix,s=function(o){var l=o.r,c=o.g,g=o.b;t("rgba(".concat(l,", ").concat(c,", ").concat(g,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"R",max:255,value:A?.r,hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(o){return s({r:o,g:A?.g,b:A?.b})}}),m.createElement(NA,{label:"G",max:255,value:A?.g,hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(o){return s({r:A?.r,g:o,b:A?.b})}}),m.createElement(NA,{label:"B",max:255,value:A?.b,hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(o){return s({r:A?.r,g:A?.g,b:o})}}))},fl=function(e){var A=e.hc,r=e.setHc,t=e.tinyColor,n=e.hideOpacity,a=e.handleChange,s=e.defaultStyles,o=e.pickerIdSuffix,l=t.toHsl(),c=l.s,g=l.l,B=function(p,Q,C){var I=SA({h:p,s:Q,l:C}).toRgb(),U=I.r,b=I.g,L=I.b;a("rgba(".concat(U,", ").concat(b,", ").concat(L,", ").concat(A?.a,")")),r(WA(WA({},A),{h:p}))},u=function(p){var Q=SA(p).toRgb(),C=Q.r,I=Q.g,U=Q.b;a("rgba(".concat(C,", ").concat(I,", ").concat(U,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"H",max:360,value:ee(A?.h),hideOpacity:n,defaultStyles:s,pickerIdSuffix:o,callback:function(p){return B(p,c,g)}}),m.createElement(NA,{label:"S",value:ee(c*100),hideOpacity:n,defaultStyles:s,pickerIdSuffix:o,callback:function(p){return u({h:A?.h,s:p,l:g})}}),m.createElement(NA,{label:"L",value:ee(g*100),hideOpacity:n,defaultStyles:s,pickerIdSuffix:o,callback:function(p){return u({h:A?.h,s:c,l:p})}}))},hl=function(e){var A=e.hc,r=e.setHc,t=e.hideOpacity,n=e.handleChange,a=e.defaultStyles,s=e.pickerIdSuffix,o=function(c,g,B){var u=SA({h:c,s:g,v:B}).toRgb(),p=u.r,Q=u.g,C=u.b;n("rgba(".concat(p,", ").concat(Q,", ").concat(C,", ").concat(A?.a,")")),r(WA(WA({},A),{h:c}))},l=function(c){var g=SA(c).toRgb(),B=g.r,u=g.g,p=g.b;n("rgba(".concat(B,", ").concat(u,", ").concat(p,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"H",max:360,value:ee(A?.h),hideOpacity:t,defaultStyles:a,pickerIdSuffix:s,callback:function(c){return o(c,A?.s,A?.v)}}),m.createElement(NA,{label:"S",hideOpacity:t,value:ee(A?.s*100),defaultStyles:a,pickerIdSuffix:s,callback:function(c){return l({h:A?.h,s:c,v:A?.v})}}),m.createElement(NA,{label:"V",hideOpacity:t,value:ee(A?.v*100),defaultStyles:a,pickerIdSuffix:s,callback:function(c){return l({h:A?.h,s:A?.s,v:c})}}))},wl=function(e){var A=e.hc,r=e.hideOpacity,t=e.handleChange,n=e.defaultStyles,a=e.pickerIdSuffix,s=cl(A?.r,A?.g,A?.b),o=s.c,l=s.m,c=s.y,g=s.k,B=function(u){var p=gl(u),Q=p.r,C=p.g,I=p.b;t("rgba(".concat(Q,", ").concat(C,", ").concat(I,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"C",value:ee(o*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:u/100,m:l,y:c,k:g})}}),m.createElement(NA,{label:"M",value:ee(l*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:o,m:u/100,y:c,k:g})}}),m.createElement(NA,{label:"Y",value:ee(c*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:o,m:l,y:u/100,k:g})}}),m.createElement(NA,{label:"K",value:ee(g*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:o,m:l,y:c,k:u/100})}}))},pl=function(){var e=BA(),A=e.hc,r=e.setHc,t=e.inputType,n=e.tinyColor,a=e.hideOpacity,s=e.showHexAlpha,o=e.handleChange,l=e.defaultStyles,c=e.pickerIdSuffix;return m.createElement("div",{style:WA({columnGap:6,paddingTop:14,display:"flex",justifyContent:"space-between"},l.rbgcpInputsWrap),id:"rbgcp-inputs-wrap".concat(c)},t!=="cmyk"&&m.createElement(Bl,{opacity:A?.a,tinyColor:n,showHexAlpha:s,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="hsl"&&m.createElement(fl,{hc:A,setHc:r,tinyColor:n,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="rgb"&&m.createElement(dl,{hc:A,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="hsv"&&m.createElement(hl,{hc:A,setHc:r,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="cmyk"&&m.createElement(wl,{hc:A,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),!a&&m.createElement(NA,{label:"A",hideOpacity:a,defaultStyles:l,value:Math.round(A?.a*100),pickerIdSuffix:c,callback:function(g){return o("rgba(".concat(A?.r,", ").concat(A?.g,", ").concat(A?.b,", ").concat(g/100,")"))}}))},Cl=function(e,A,r,t){E.useEffect(function(){if(e.current){var n=e.current.getContext("2d",{willReadFrequently:!0});if(n){n.fillStyle="hsl(".concat(A,", 100%, 50%)"),n.fillRect(0,0,r,t);var a=n.createLinearGradient(0,0,r,0);a.addColorStop(0,"rgba(255, 255, 255, 1)"),a.addColorStop(1,"rgba(255, 255, 255, 0)"),n.fillStyle=a,n.fillRect(0,0,r,t);var s=n.createLinearGradient(0,0,0,t);s.addColorStop(0,"rgba(0, 0, 0, 0)"),s.addColorStop(1,"rgba(0, 0, 0, 1)"),n.fillStyle=s,n.fillRect(0,0,r,t)}}},[e,A,r,t])},Lr,$n;function Ql(){if($n)return Lr;$n=1;var e="Expected a function",A=NaN,r="[object Symbol]",t=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,o=parseInt,l=typeof Ft=="object"&&Ft&&Ft.Object===Object&&Ft,c=typeof self=="object"&&self&&self.Object===Object&&self,g=l||c||Function("return this")(),B=Object.prototype,u=B.toString,p=Math.max,Q=Math.min,C=function(){return g.Date.now()};function I(h,x,M){var k,R,O,Z,D,z,eA=0,tA=!1,AA=!1,dA=!0;if(typeof h!="function")throw new TypeError(e);x=y(x)||0,b(M)&&(tA=!!M.leading,AA="maxWait"in M,O=AA?p(y(M.maxWait)||0,x):O,dA="trailing"in M?!!M.trailing:dA);function aA(T){var G=k,J=R;return k=R=void 0,eA=T,Z=h.apply(J,G),Z}function q(T){return eA=T,D=setTimeout(H,x),tA?aA(T):Z}function lA(T){var G=T-z,J=T-eA,$=x-G;return AA?Q($,O-J):$}function sA(T){var G=T-z,J=T-eA;return z===void 0||G>=x||G<0||AA&&J>=O}function H(){var T=C();if(sA(T))return j(T);D=setTimeout(H,lA(T))}function j(T){return D=void 0,dA&&k?aA(T):(k=R=void 0,Z)}function _(){D!==void 0&&clearTimeout(D),eA=0,k=z=R=D=void 0}function F(){return D===void 0?Z:j(C())}function N(){var T=C(),G=sA(T);if(k=arguments,R=this,z=T,G){if(D===void 0)return q(z);if(AA)return D=setTimeout(H,x),aA(z)}return D===void 0&&(D=setTimeout(H,x)),Z}return N.cancel=_,N.flush=F,N}function U(h,x,M){var k=!0,R=!0;if(typeof h!="function")throw new TypeError(e);return b(M)&&(k="leading"in M?!!M.leading:k,R="trailing"in M?!!M.trailing:R),I(h,x,{leading:k,maxWait:x,trailing:R})}function b(h){var x=typeof h;return!!h&&(x=="object"||x=="function")}function L(h){return!!h&&typeof h=="object"}function S(h){return typeof h=="symbol"||L(h)&&u.call(h)==r}function y(h){if(typeof h=="number")return h;if(S(h))return A;if(b(h)){var x=typeof h.valueOf=="function"?h.valueOf():h;h=b(x)?x+"":x}if(typeof h!="string")return h===0?h:+h;h=h.replace(t,"");var M=a.test(h);return M||s.test(h)?o(h.slice(2),M?2:8):n.test(h)?A:+h}return Lr=U,Lr}var ml=Ql();const vl=xs(ml);var ve=function(){return ve=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},ve.apply(this,arguments)},Ul=function(){var e,A,r=BA(),t=r.hc,n=r.config,a=r.squareWidth,s=r.squareHeight,o=r.handleChange,l=r.defaultStyles,c=r.pickerIdSuffix,g=n.crossSize,B=E.useState(!1),u=B[0],p=B[1],Q=E.useRef(null),C=Zo(t?.s,t?.v*100,a,s,g),I=C[0],U=C[1],b=E.useState({x:I,y:U}),L=b[0],S=b[1];Cl(Q,t?.h,a,s),E.useEffect(function(){u||S({x:t?.v===0?L.x:I,y:U})},[I,U]);var y=function(O){var Z=vl(function(){var D=qo(O,g),z=D[0],eA=D[1];if(z&&eA){var tA=Math.min(z+g/2,a-1),AA=Math.min(eA+g/2,s-1),dA=tA/a*100,aA=100-AA/s*100;S({x:aA===0?L?.x:z,y:eA});var q=SA("hsva(".concat(t?.h,", ").concat(dA,"%, ").concat(aA,"%, ").concat(t?.a,")"));o(q.toRgbString())}},250);Z()},h=function(){p(!1)},x=function(O){u&&y(O)},M=function(O){u||y(O)},k=function(){p(!0)},R=function(O){p(!0),y(O)};return E.useEffect(function(){var O=function(){h()};return window.addEventListener("mouseup",O),function(){window.removeEventListener("mouseup",O)}},[]),m.createElement("div",{style:{position:"relative",marginBottom:12},id:"rbgcp-square-wrapper".concat(c)},m.createElement("div",{onMouseUp:h,onTouchEnd:h,onMouseDown:R,onTouchStart:R,onMouseMove:function(O){return x(O)},id:"rbgcp-square".concat(c),style:{position:"relative",cursor:"ew-cross"}},m.createElement("div",{style:ve(ve(ve({},l.rbgcpHandle),{transform:"translate(".concat((e=L?.x)!==null&&e!==void 0?e:0,"px, ").concat((A=L?.y)!==null&&A!==void 0?A:0,"px)")}),u?{transition:""}:{}),onMouseDown:k,id:"rbgcp-square-handle".concat(c)}),m.createElement("div",{style:ve(ve({},l.rbgcpCanvasWrapper),{height:s}),id:"rbgcp-square-canvas-wrapper".concat(c),onClick:function(O){return M(O)}},m.createElement("canvas",{ref:Q,width:"".concat(a,"px"),height:"".concat(s,"px"),id:"rbgcp-square-canvas".concat(c)}))))},ce=function(){return ce=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},ce.apply(this,arguments)},Fl=function(){var e=BA(),A=e.config,r=e.hc,t=r===void 0?{}:r,n=e.squareWidth,a=e.handleChange,s=e.defaultStyles,o=e.pickerIdSuffix,l=E.useState(!1),c=l[0],g=l[1],B=t.r,u=t.g,p=t.b,Q="linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(".concat(B,",").concat(u,",").concat(p,",.5) 100%)"),C=A.barSize,I=function(){g(!1)},U=function(){g(!0)},b=function(h){var x=Ne(h,C)/100,M="rgba(".concat(B,", ").concat(u,", ").concat(p,", ").concat(x,")");a(M)},L=function(h){c&&b(h)},S=function(h){c||b(h)},y=n-18;return E.useEffect(function(){var h=function(){I()};return window.addEventListener("mouseup",h),function(){window.removeEventListener("mouseup",h)}},[]),m.createElement("div",{onMouseDown:U,onMouseMove:function(h){return L(h)},style:{height:14,marginTop:17,marginBottom:4,cursor:"ew-resize",position:"relative"},id:"rbgcp-opacity-wrapper".concat(o)},m.createElement("div",{id:"rbgcp-opacity-checkered-bg".concat(o),style:ce(ce({},s.rbgcpCheckered),{width:"100%",height:14})}),m.createElement("div",{id:"rbgcp-opacity-handle".concat(o),style:ce(ce({},s.rbgcpHandle),{left:y*t?.a,top:-2})}),m.createElement("div",{style:ce(ce({},s.rbgcpOpacityOverlay),{background:Q}),id:"rbgcp-opacity-overlay".concat(o),onClick:function(h){return S(h)}}))},bl={CONTROLS:{SOLID:"Solid",GRADIENT:"Gradient"}},El=["rgba(0,0,0,1)","rgba(128,128,128, 1)","rgba(192,192,192, 1)","rgba(255,255,255, 1)","rgba(0,0,128,1)","rgba(0,0,255,1)","rgba(0,255,255, 1)","rgba(0,128,0,1)","rgba(128,128,0, 1)","rgba(0,128,128,1)","rgba(0,255,0, 1)","rgba(128,0,0, 1)","rgba(128,0,128, 1)","rgba(175, 51, 242, 1)","rgba(255,0,255, 1)","rgba(255,0,0, 1)","rgba(240, 103, 46, 1)","rgba(255,255,0, 1)"],yl=function(e){var A=e.presets,r=A===void 0?[]:A,t=BA(),n=t.value,a=t.onChange,s=t.isDarkMode,o=t.squareWidth,l=t.handleChange,c=t.pickerIdSuffix,g=function(){return r?.length>0?r?.slice(0,18):El},B=function(p){p?.includes("gradient")?a(p):l(p)},u=function(p){if(!p||s)return"";var Q=p?.replace(" ","");return Q==="rgba(255,255,255,1)"?"1px solid #96959c":""};return m.createElement("div",{style:{marginTop:14,display:"flex",justifyContent:"space-between"},id:"rbgcp-footer-wrapper".concat(c)},m.createElement("div",{style:{width:50,height:50,flexShrink:0,borderRadius:6,background:n,border:u(n)},id:"rbgcp-preview".concat(c)}),m.createElement("div",{style:{rowGap:3,display:"flex",flexWrap:"wrap",width:o-57,justifyContent:"space-between"},id:"rbgcp-presets-wrapper".concat(c)},g().map(function(p,Q){return m.createElement("div",{key:"".concat(p,"-").concat(Q),id:"rbgcp-preset-".concat(Q,"-wrapper").concat(c),style:{width:"calc(100% / 9)",paddingLeft:3}},m.createElement("div",{style:{height:23.5,width:"100%",background:p,borderRadius:4,border:u(p)},onClick:function(){return B(p)},id:"rbgcp-preset-".concat(Q).concat(c)}))})))},Y=function(){return Y=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Y.apply(this,arguments)},xl=function(){var e=BA().defaultStyles,A={fill:"none",strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},m.createElement("polyline",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y({},A),e.rbgcpControlIcon),points:"17.96 4.31 2.04 4.3 3.75 4.3 4.81 17.29 5.16 17.96 5.74 18.47 6.59 18.62 13.64 18.62 14.52 18.32 15.07 17.68 15.29 17.12 16.28 4.3 12.87 4.3 12.87 2.38 12.48 1.75 11.83 1.46 8.4 1.46 7.64 1.68 7.26 2.21 7.16 2.52 7.17 4.23"}))},Il=function(e){var A=e.color,r=BA().defaultStyles,t=A??"",n={fill:"none",strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:14}},m.createElement("polyline",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"0.9 12.73 0.9 19.1 7.27 19.1 0.9 19.1 19.1 0.9 12.73 0.9 19.1 0.9 19.1 7.27"}))},Hl=function(e){var A=e.color,r=BA().defaultStyles,t=A??"",n={fill:"none",strokeMiterlimit:10,strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},m.createElement("circle",{style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),cx:"10",cy:"10",r:"9"}),m.createElement("circle",{style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),cx:"10",cy:"10",r:"5"}))},Sl=function(e){var A=e.color,r=BA().defaultStyles,t=A??"",n={fill:"none",strokeWidth:"1.8px"},a={strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},m.createElement("polyline",{fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"3.74 2.75 3.74 12.69 0.9 12.71 6.59 12.71"}),m.createElement("line",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},a),r.rbgcpControlIcon),t&&{stroke:t,fill:t}),x1:"3.74",y1:"17.26",x2:"3.74",y2:"15.21"}),m.createElement("polyline",{fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"10.1 17.25 10.1 7.31 12.95 7.29 7.26 7.29"}),m.createElement("line",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},a),r.rbgcpControlIcon),t&&{stroke:t,fill:t}),x1:"10.1",y1:"2.74",x2:"10.1",y2:"4.79"}),m.createElement("polyline",{fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"16.26 2.75 16.26 12.69 13.41 12.71 19.1 12.71"}),m.createElement("line",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},a),r.rbgcpControlIcon),t&&{stroke:t,fill:t}),x1:"16.26",y1:"17.26",x2:"16.26",y2:"15.21"}))},Ll=function(e){var A=e.color,r=BA().defaultStyles,t=A??"",n={fill:"none",strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),d:"M6.35,2.72a4.85,4.85,0,0,1,1.86.16,7.94,7.94,0,0,1,.88.43,3.66,3.66,0,0,0,.85.49c.25,0,.58-.27.81-.39A8.25,8.25,0,0,1,11.7,3a4,4,0,0,1,1.79-.23,3.21,3.21,0,0,0-1.34.09,6.39,6.39,0,0,0-1.47.63c-.45.25-.7.3-.7.86s0,1.18,0,1.78c0,1.3,0,2.61,0,3.92h0v5.63a2.46,2.46,0,0,1,0,.47c-.07.28-.43.42-.7.57a5.29,5.29,0,0,1-2.94.61A9.3,9.3,0,0,0,8,17.15l1.09-.37.89-.52c.06,0,.48.21.56.25.32.14.64.27,1,.38a8.54,8.54,0,0,0,2.12.4"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),d:"M7.57,5.73C6,5.7,4.5,5.65,3,5.77a2.28,2.28,0,0,0-1.76.74A2.3,2.3,0,0,0,.94,7.83l0,3.82A4.73,4.73,0,0,0,1,12.9a1.64,1.64,0,0,0,.68,1,2.44,2.44,0,0,0,1,.27,25,25,0,0,0,4.74.09"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),d:"M12.43,14.32a44.12,44.12,0,0,0,4.6,0,2.24,2.24,0,0,0,1.76-.74,2.29,2.29,0,0,0,.27-1.32l0-3.81A4.81,4.81,0,0,0,19,7.15a1.62,1.62,0,0,0-.68-1,2.31,2.31,0,0,0-1-.28,26.8,26.8,0,0,0-4.74-.09"}))},kl=function(e){var A=e.color,r=BA().defaultStyles,t=A??"",n={strokeMiterlimit:10,strokeWidth:"0.5px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"9.36",cy:"5.07",r:"1.71"}),m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"13.93",cy:"6.91",r:"1.71"}),m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"5.8",cy:"7.55",r:"1.71"}),m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"5.45",cy:"12.04",r:"1.71"}),m.createElement("path",{style:Y(Y(Y(Y({},n),r.rbgcpControlIcon),r.rbgcpControlIcon2),t&&{fill:t,stroke:t}),d:"M19.1,10c0,3.58-2.12,2.94-4.06,2.35-1.15-.34-2.24-.67-2.77-.08-.68.78-.54,2.07-.39,3.33.2,1.79.39,3.5-1.88,3.5A9.1,9.1,0,1,1,19.1,10ZM10,18c.7,0,.74-.19.75-.2a2.67,2.67,0,0,0,.07-1.27c0-.19,0-.42-.06-.67-.06-.53-.13-1.15-.14-1.67a3.82,3.82,0,0,1,.8-2.63,2.14,2.14,0,0,1,1.45-.7,4.36,4.36,0,0,1,1.32.12c.39.08.8.21,1.16.32h0c.39.12.74.23,1.08.3.74.17,1,.1,1.13,0S18,11.32,18,10a8,8,0,1,0-8,8Z"}))},Ml=function(e){var A=e.color,r=BA().defaultStyles,t=A??"",n={fill:"none",strokeMiterlimit:10,strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},m.createElement("polyline",{strokeLinecap:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"13.86 2.01 1.7 16.99 18.77 16.99"}),m.createElement("polyline",{strokeLinecap:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"10.96 16.38 10.96 16.38 10.74 15.7 10.44 14.97 10.06 14.21 9.72 13.63 9.21 12.89 8.85 12.44 8.41 11.95 7.91 11.45 7.51 11.1"}))},Kl=function(){var e=BA().defaultStyles;return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:20,marginRight:1}},m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M2.39,8c-.63,0-1,.21-1,.63A.49.49,0,0,0,1.67,9a6.48,6.48,0,0,0,1.11.43A3,3,0,0,1,4,10.09a1.47,1.47,0,0,1,.35,1.09,1.75,1.75,0,0,1-.57,1.42,2.21,2.21,0,0,1-1.48.48,8.32,8.32,0,0,1-1.68-.21l-.31-.06.12-.94a13.7,13.7,0,0,0,1.8.16c.61,0,.92-.26.92-.77a.52.52,0,0,0-.21-.44,3.13,3.13,0,0,0-.85-.34A3.32,3.32,0,0,1,.66,9.79a1.43,1.43,0,0,1-.42-1.1A1.6,1.6,0,0,1,.78,7.36a2.32,2.32,0,0,1,1.49-.44,10.46,10.46,0,0,1,1.64.17l.32.07-.1.95C3.31,8,2.73,8,2.39,8Z"}),m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M4.79,8.09V7H9.16V8.09H7.59V13H6.38V8.09Z"}),m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M14,12.34a2.25,2.25,0,0,1-1.91.74,2.24,2.24,0,0,1-1.91-.74A3.85,3.85,0,0,1,9.61,10a4,4,0,0,1,.56-2.34,2.2,2.2,0,0,1,1.91-.77A2.21,2.21,0,0,1,14,7.69,4,4,0,0,1,14.55,10,3.85,3.85,0,0,1,14,12.34Zm-2.88-.77a1,1,0,0,0,1,.46,1,1,0,0,0,1-.46A3.25,3.25,0,0,0,13.3,10,3.45,3.45,0,0,0,13,8.46a1,1,0,0,0-1-.49,1,1,0,0,0-1,.49A3.43,3.43,0,0,0,10.85,10,3.38,3.38,0,0,0,11.11,11.57Z"}),m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M17.77,11.24h-1V13H15.58V7h2.19a1.85,1.85,0,0,1,2.11,2.07,2.21,2.21,0,0,1-.54,1.6A2.07,2.07,0,0,1,17.77,11.24Zm-1-1h1c.6,0,.9-.37.9-1.12a1.18,1.18,0,0,0-.22-.79.88.88,0,0,0-.68-.24h-1Z"}))},Tl=function(e){var A,r=e.children,t="id"+Math.random().toString(16).slice(2),n=E.useRef((A=document.getElementById(t))!==null&&A!==void 0?A:document.createElement("div")),a=E.useState(!n.current.parentElement)[0];return E.useEffect(function(){var s=n.current;return a&&(n.current.id=t,document.body.appendChild(n.current)),function(){a&&s.parentElement&&s.parentElement.removeChild(s)}},[t]),$i.createPortal(r,n.current)};const Dl=E.memo(Tl);var gn=function(e,A){return gn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])},gn(e,A)};function zA(e,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");gn(e,A);function r(){this.constructor=e}e.prototype=A===null?Object.create(A):(r.prototype=A.prototype,new r)}var un=function(){return un=Object.assign||function(A){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(A[a]=r[a])}return A},un.apply(this,arguments)};function OA(e,A,r,t){function n(a){return a instanceof r?a:new r(function(s){s(a)})}return new(r||(r=Promise))(function(a,s){function o(g){try{c(t.next(g))}catch(B){s(B)}}function l(g){try{c(t.throw(g))}catch(B){s(B)}}function c(g){g.done?a(g.value):n(g.value).then(o,l)}c((t=t.apply(e,[])).next())})}function kA(e,A){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(c){return function(g){return l([c,g])}}function l(c){if(t)throw new TypeError("Generator is already executing.");for(;r;)try{if(t=1,n&&(a=c[0]&2?n.return:c[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,c[1])).done)return a;switch(n=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,n=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=A.call(e,r)}catch(g){c=[6,g],n=0}finally{t=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function yt(e,A,r){if(arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||A)}var ie=(function(){function e(A,r,t,n){this.left=A,this.top=r,this.width=t,this.height=n}return e.prototype.add=function(A,r,t,n){return new e(this.left+A,this.top+r,this.width+t,this.height+n)},e.fromClientRect=function(A,r){return new e(r.left+A.windowBounds.left,r.top+A.windowBounds.top,r.width,r.height)},e.fromDOMRectList=function(A,r){var t=Array.from(r).find(function(n){return n.width!==0});return t?new e(t.left+A.windowBounds.left,t.top+A.windowBounds.top,t.width,t.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e})(),Qr=function(e,A){return ie.fromClientRect(e,A.getBoundingClientRect())},Ol=function(e){var A=e.body,r=e.documentElement;if(!A||!r)throw new Error("Unable to get document size");var t=Math.max(Math.max(A.scrollWidth,r.scrollWidth),Math.max(A.offsetWidth,r.offsetWidth),Math.max(A.clientWidth,r.clientWidth)),n=Math.max(Math.max(A.scrollHeight,r.scrollHeight),Math.max(A.offsetHeight,r.offsetHeight),Math.max(A.clientHeight,r.clientHeight));return new ie(0,0,t,n)},mr=function(e){for(var A=[],r=0,t=e.length;r<t;){var n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<t){var a=e.charCodeAt(r++);(a&64512)===56320?A.push(((n&1023)<<10)+(a&1023)+65536):(A.push(n),r--)}else A.push(n)}return A},bA=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";for(var t=[],n=-1,a="";++n<r;){var s=e[n];s<=65535?t.push(s):(s-=65536,t.push((s>>10)+55296,s%1024+56320)),(n+1===r||t.length>16384)&&(a+=String.fromCharCode.apply(String,t),t.length=0)}return a},Aa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Rl=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var xt=0;xt<Aa.length;xt++)Rl[Aa.charCodeAt(xt)]=xt;var ea="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ze=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var It=0;It<ea.length;It++)ze[ea.charCodeAt(It)]=It;var Nl=function(e){var A=e.length*.75,r=e.length,t,n=0,a,s,o,l;e[e.length-1]==="="&&(A--,e[e.length-2]==="="&&A--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),g=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<r;t+=4)a=ze[e.charCodeAt(t)],s=ze[e.charCodeAt(t+1)],o=ze[e.charCodeAt(t+2)],l=ze[e.charCodeAt(t+3)],g[n++]=a<<2|s>>4,g[n++]=(s&15)<<4|o>>2,g[n++]=(o&3)<<6|l&63;return c},_l=function(e){for(var A=e.length,r=[],t=0;t<A;t+=2)r.push(e[t+1]<<8|e[t]);return r},Gl=function(e){for(var A=e.length,r=[],t=0;t<A;t+=4)r.push(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]);return r},Ee=5,Dn=11,kr=2,jl=Dn-Ee,ks=65536>>Ee,Vl=1<<Ee,Mr=Vl-1,Pl=1024>>Ee,Xl=ks+Pl,Jl=Xl,Wl=32,Yl=Jl+Wl,Zl=65536>>Dn,zl=1<<jl,ql=zl-1,ta=function(e,A,r){return e.slice?e.slice(A,r):new Uint16Array(Array.prototype.slice.call(e,A,r))},$l=function(e,A,r){return e.slice?e.slice(A,r):new Uint32Array(Array.prototype.slice.call(e,A,r))},Ac=function(e,A){var r=Nl(e),t=Array.isArray(r)?Gl(r):new Uint32Array(r),n=Array.isArray(r)?_l(r):new Uint16Array(r),a=24,s=ta(n,a/2,t[4]/2),o=t[5]===2?ta(n,(a+t[4])/2):$l(t,Math.ceil((a+t[4])/4));return new ec(t[0],t[1],t[2],t[3],s,o)},ec=(function(){function e(A,r,t,n,a,s){this.initialValue=A,this.errorValue=r,this.highStart=t,this.highValueIndex=n,this.index=a,this.data=s}return e.prototype.get=function(A){var r;if(A>=0){if(A<55296||A>56319&&A<=65535)return r=this.index[A>>Ee],r=(r<<kr)+(A&Mr),this.data[r];if(A<=65535)return r=this.index[ks+(A-55296>>Ee)],r=(r<<kr)+(A&Mr),this.data[r];if(A<this.highStart)return r=Yl-Zl+(A>>Dn),r=this.index[r],r+=A>>Ee&ql,r=this.index[r],r=(r<<kr)+(A&Mr),this.data[r];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e})(),ra="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tc=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ht=0;Ht<ra.length;Ht++)tc[ra.charCodeAt(Ht)]=Ht;var rc="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",na=50,nc=1,Ms=2,Ks=3,ac=4,sc=5,aa=7,Ts=8,sa=9,ue=10,Bn=11,ia=12,dn=13,ic=14,qe=15,fn=16,St=17,Xe=18,oc=19,oa=20,hn=21,Je=22,Kr=23,xe=24,_A=25,$e=26,At=27,Ie=28,lc=29,Ue=30,cc=31,Lt=32,kt=33,wn=34,pn=35,Cn=36,ft=37,Qn=38,zt=39,qt=40,Tr=41,Ds=42,gc=43,uc=[9001,65288],Os="!",iA="×",Mt="÷",mn=Ac(rc),ne=[Ue,Cn],vn=[nc,Ms,Ks,sc],Rs=[ue,Ts],la=[At,$e],Bc=vn.concat(Rs),ca=[Qn,zt,qt,wn,pn],dc=[qe,dn],fc=function(e,A){A===void 0&&(A="strict");var r=[],t=[],n=[];return e.forEach(function(a,s){var o=mn.get(a);if(o>na?(n.push(!0),o-=na):n.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(a)!==-1)return t.push(s),r.push(fn);if(o===ac||o===Bn){if(s===0)return t.push(s),r.push(Ue);var l=r[s-1];return Bc.indexOf(l)===-1?(t.push(t[s-1]),r.push(l)):(t.push(s),r.push(Ue))}if(t.push(s),o===cc)return r.push(A==="strict"?hn:ft);if(o===Ds||o===lc)return r.push(Ue);if(o===gc)return a>=131072&&a<=196605||a>=196608&&a<=262141?r.push(ft):r.push(Ue);r.push(o)}),[t,r,n]},Dr=function(e,A,r,t){var n=t[r];if(Array.isArray(e)?e.indexOf(n)!==-1:e===n)for(var a=r;a<=t.length;){a++;var s=t[a];if(s===A)return!0;if(s!==ue)break}if(n===ue)for(var a=r;a>0;){a--;var o=t[a];if(Array.isArray(e)?e.indexOf(o)!==-1:e===o)for(var l=r;l<=t.length;){l++;var s=t[l];if(s===A)return!0;if(s!==ue)break}if(o!==ue)break}return!1},ga=function(e,A){for(var r=e;r>=0;){var t=A[r];if(t===ue)r--;else return t}return 0},hc=function(e,A,r,t,n){if(r[t]===0)return iA;var a=t-1;if(Array.isArray(n)&&n[a]===!0)return iA;var s=a-1,o=a+1,l=A[a],c=s>=0?A[s]:0,g=A[o];if(l===Ms&&g===Ks)return iA;if(vn.indexOf(l)!==-1)return Os;if(vn.indexOf(g)!==-1||Rs.indexOf(g)!==-1)return iA;if(ga(a,A)===Ts)return Mt;if(mn.get(e[a])===Bn||(l===Lt||l===kt)&&mn.get(e[o])===Bn||l===aa||g===aa||l===sa||[ue,dn,qe].indexOf(l)===-1&&g===sa||[St,Xe,oc,xe,Ie].indexOf(g)!==-1||ga(a,A)===Je||Dr(Kr,Je,a,A)||Dr([St,Xe],hn,a,A)||Dr(ia,ia,a,A))return iA;if(l===ue)return Mt;if(l===Kr||g===Kr)return iA;if(g===fn||l===fn)return Mt;if([dn,qe,hn].indexOf(g)!==-1||l===ic||c===Cn&&dc.indexOf(l)!==-1||l===Ie&&g===Cn||g===oa||ne.indexOf(g)!==-1&&l===_A||ne.indexOf(l)!==-1&&g===_A||l===At&&[ft,Lt,kt].indexOf(g)!==-1||[ft,Lt,kt].indexOf(l)!==-1&&g===$e||ne.indexOf(l)!==-1&&la.indexOf(g)!==-1||la.indexOf(l)!==-1&&ne.indexOf(g)!==-1||[At,$e].indexOf(l)!==-1&&(g===_A||[Je,qe].indexOf(g)!==-1&&A[o+1]===_A)||[Je,qe].indexOf(l)!==-1&&g===_A||l===_A&&[_A,Ie,xe].indexOf(g)!==-1)return iA;if([_A,Ie,xe,St,Xe].indexOf(g)!==-1)for(var B=a;B>=0;){var u=A[B];if(u===_A)return iA;if([Ie,xe].indexOf(u)!==-1)B--;else break}if([At,$e].indexOf(g)!==-1)for(var B=[St,Xe].indexOf(l)!==-1?s:a;B>=0;){var u=A[B];if(u===_A)return iA;if([Ie,xe].indexOf(u)!==-1)B--;else break}if(Qn===l&&[Qn,zt,wn,pn].indexOf(g)!==-1||[zt,wn].indexOf(l)!==-1&&[zt,qt].indexOf(g)!==-1||[qt,pn].indexOf(l)!==-1&&g===qt||ca.indexOf(l)!==-1&&[oa,$e].indexOf(g)!==-1||ca.indexOf(g)!==-1&&l===At||ne.indexOf(l)!==-1&&ne.indexOf(g)!==-1||l===xe&&ne.indexOf(g)!==-1||ne.concat(_A).indexOf(l)!==-1&&g===Je&&uc.indexOf(e[o])===-1||ne.concat(_A).indexOf(g)!==-1&&l===Xe)return iA;if(l===Tr&&g===Tr){for(var p=r[a],Q=1;p>0&&(p--,A[p]===Tr);)Q++;if(Q%2!==0)return iA}return l===Lt&&g===kt?iA:Mt},wc=function(e,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var r=fc(e,A.lineBreak),t=r[0],n=r[1],a=r[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(n=n.map(function(o){return[_A,Ue,Ds].indexOf(o)!==-1?ft:o}));var s=A.wordBreak==="keep-all"?a.map(function(o,l){return o&&e[l]>=19968&&e[l]<=40959}):void 0;return[t,n,s]},pc=(function(){function e(A,r,t,n){this.codePoints=A,this.required=r===Os,this.start=t,this.end=n}return e.prototype.slice=function(){return bA.apply(void 0,this.codePoints.slice(this.start,this.end))},e})(),Cc=function(e,A){var r=mr(e),t=wc(r,A),n=t[0],a=t[1],s=t[2],o=r.length,l=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};for(var g=iA;c<o&&(g=hc(r,a,n,++c,s))===iA;);if(g!==iA||c===o){var B=new pc(r,g,l,c);return l=c,{value:B,done:!1}}return{done:!0,value:null}}}},Qc=1,mc=2,vt=4,ua=8,or=10,Ba=47,st=92,vc=9,Uc=32,Kt=34,We=61,Fc=35,bc=36,Ec=37,Tt=39,Dt=40,Ye=41,yc=95,RA=45,xc=33,Ic=60,Hc=62,Sc=64,Lc=91,kc=93,Mc=61,Kc=123,Ot=63,Tc=125,da=124,Dc=126,Oc=128,fa=65533,Or=42,be=43,Rc=44,Nc=58,_c=59,ht=46,Gc=0,jc=8,Vc=11,Pc=14,Xc=31,Jc=127,qA=-1,Ns=48,_s=97,Gs=101,Wc=102,Yc=117,Zc=122,js=65,Vs=69,Ps=70,zc=85,qc=90,MA=function(e){return e>=Ns&&e<=57},$c=function(e){return e>=55296&&e<=57343},He=function(e){return MA(e)||e>=js&&e<=Ps||e>=_s&&e<=Wc},Ag=function(e){return e>=_s&&e<=Zc},eg=function(e){return e>=js&&e<=qc},tg=function(e){return Ag(e)||eg(e)},rg=function(e){return e>=Oc},Rt=function(e){return e===or||e===vc||e===Uc},lr=function(e){return tg(e)||rg(e)||e===yc},ha=function(e){return lr(e)||MA(e)||e===RA},ng=function(e){return e>=Gc&&e<=jc||e===Vc||e>=Pc&&e<=Xc||e===Jc},ge=function(e,A){return e!==st?!1:A!==or},Nt=function(e,A,r){return e===RA?lr(A)||ge(A,r):lr(e)?!0:!!(e===st&&ge(e,A))},Rr=function(e,A,r){return e===be||e===RA?MA(A)?!0:A===ht&&MA(r):MA(e===ht?A:e)},ag=function(e){var A=0,r=1;(e[A]===be||e[A]===RA)&&(e[A]===RA&&(r=-1),A++);for(var t=[];MA(e[A]);)t.push(e[A++]);var n=t.length?parseInt(bA.apply(void 0,t),10):0;e[A]===ht&&A++;for(var a=[];MA(e[A]);)a.push(e[A++]);var s=a.length,o=s?parseInt(bA.apply(void 0,a),10):0;(e[A]===Vs||e[A]===Gs)&&A++;var l=1;(e[A]===be||e[A]===RA)&&(e[A]===RA&&(l=-1),A++);for(var c=[];MA(e[A]);)c.push(e[A++]);var g=c.length?parseInt(bA.apply(void 0,c),10):0;return r*(n+o*Math.pow(10,-s))*Math.pow(10,l*g)},sg={type:2},ig={type:3},og={type:4},lg={type:13},cg={type:8},gg={type:21},ug={type:9},Bg={type:10},dg={type:11},fg={type:12},hg={type:14},_t={type:23},wg={type:1},pg={type:25},Cg={type:24},Qg={type:26},mg={type:27},vg={type:28},Ug={type:29},Fg={type:31},Un={type:32},Xs=(function(){function e(){this._value=[]}return e.prototype.write=function(A){this._value=this._value.concat(mr(A))},e.prototype.read=function(){for(var A=[],r=this.consumeToken();r!==Un;)A.push(r),r=this.consumeToken();return A},e.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case Kt:return this.consumeStringToken(Kt);case Fc:var r=this.peekCodePoint(0),t=this.peekCodePoint(1),n=this.peekCodePoint(2);if(ha(r)||ge(t,n)){var a=Nt(r,t,n)?mc:Qc,s=this.consumeName();return{type:5,value:s,flags:a}}break;case bc:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),lg;break;case Tt:return this.consumeStringToken(Tt);case Dt:return sg;case Ye:return ig;case Or:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),hg;break;case be:if(Rr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Rc:return og;case RA:var o=A,l=this.peekCodePoint(0),c=this.peekCodePoint(1);if(Rr(o,l,c))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(Nt(o,l,c))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(l===RA&&c===Hc)return this.consumeCodePoint(),this.consumeCodePoint(),Cg;break;case ht:if(Rr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Ba:if(this.peekCodePoint(0)===Or)for(this.consumeCodePoint();;){var g=this.consumeCodePoint();if(g===Or&&(g=this.consumeCodePoint(),g===Ba))return this.consumeToken();if(g===qA)return this.consumeToken()}break;case Nc:return Qg;case _c:return mg;case Ic:if(this.peekCodePoint(0)===xc&&this.peekCodePoint(1)===RA&&this.peekCodePoint(2)===RA)return this.consumeCodePoint(),this.consumeCodePoint(),pg;break;case Sc:var B=this.peekCodePoint(0),u=this.peekCodePoint(1),p=this.peekCodePoint(2);if(Nt(B,u,p)){var s=this.consumeName();return{type:7,value:s}}break;case Lc:return vg;case st:if(ge(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case kc:return Ug;case Mc:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),cg;break;case Kc:return dg;case Tc:return fg;case Yc:case zc:var Q=this.peekCodePoint(0),C=this.peekCodePoint(1);return Q===be&&(He(C)||C===Ot)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case da:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),ug;if(this.peekCodePoint(0)===da)return this.consumeCodePoint(),gg;break;case Dc:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),Bg;break;case qA:return Un}return Rt(A)?(this.consumeWhiteSpace(),Fg):MA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):lr(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:bA(A)}},e.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},e.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},e.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},e.prototype.consumeUnicodeRangeToken=function(){for(var A=[],r=this.consumeCodePoint();He(r)&&A.length<6;)A.push(r),r=this.consumeCodePoint();for(var t=!1;r===Ot&&A.length<6;)A.push(r),r=this.consumeCodePoint(),t=!0;if(t){var n=parseInt(bA.apply(void 0,A.map(function(l){return l===Ot?Ns:l})),16),a=parseInt(bA.apply(void 0,A.map(function(l){return l===Ot?Ps:l})),16);return{type:30,start:n,end:a}}var s=parseInt(bA.apply(void 0,A),16);if(this.peekCodePoint(0)===RA&&He(this.peekCodePoint(1))){this.consumeCodePoint(),r=this.consumeCodePoint();for(var o=[];He(r)&&o.length<6;)o.push(r),r=this.consumeCodePoint();var a=parseInt(bA.apply(void 0,o),16);return{type:30,start:s,end:a}}else return{type:30,start:s,end:s}},e.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===Dt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Dt?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},e.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===qA)return{type:22,value:""};var r=this.peekCodePoint(0);if(r===Tt||r===Kt){var t=this.consumeStringToken(this.consumeCodePoint());return t.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===qA||this.peekCodePoint(0)===Ye)?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),_t)}for(;;){var n=this.consumeCodePoint();if(n===qA||n===Ye)return{type:22,value:bA.apply(void 0,A)};if(Rt(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===qA||this.peekCodePoint(0)===Ye?(this.consumeCodePoint(),{type:22,value:bA.apply(void 0,A)}):(this.consumeBadUrlRemnants(),_t);if(n===Kt||n===Tt||n===Dt||ng(n))return this.consumeBadUrlRemnants(),_t;if(n===st)if(ge(n,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),_t;else A.push(n)}},e.prototype.consumeWhiteSpace=function(){for(;Rt(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===Ye||A===qA)return;ge(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(A){for(var r=5e4,t="";A>0;){var n=Math.min(r,A);t+=bA.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),t},e.prototype.consumeStringToken=function(A){var r="",t=0;do{var n=this._value[t];if(n===qA||n===void 0||n===A)return r+=this.consumeStringSlice(t),{type:0,value:r};if(n===or)return this._value.splice(0,t),wg;if(n===st){var a=this._value[t+1];a!==qA&&a!==void 0&&(a===or?(r+=this.consumeStringSlice(t),t=-1,this._value.shift()):ge(n,a)&&(r+=this.consumeStringSlice(t),r+=bA(this.consumeEscapedCodePoint()),t=-1))}t++}while(!0)},e.prototype.consumeNumber=function(){var A=[],r=vt,t=this.peekCodePoint(0);for((t===be||t===RA)&&A.push(this.consumeCodePoint());MA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(t===ht&&MA(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),r=ua;MA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),n=this.peekCodePoint(1);var a=this.peekCodePoint(2);if((t===Vs||t===Gs)&&((n===be||n===RA)&&MA(a)||MA(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),r=ua;MA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[ag(A),r]},e.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),r=A[0],t=A[1],n=this.peekCodePoint(0),a=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Nt(n,a,s)){var o=this.consumeName();return{type:15,number:r,flags:t,unit:o}}return n===Ec?(this.consumeCodePoint(),{type:16,number:r,flags:t}):{type:17,number:r,flags:t}},e.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(He(A)){for(var r=bA(A);He(this.peekCodePoint(0))&&r.length<6;)r+=bA(this.consumeCodePoint());Rt(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(r,16);return t===0||$c(t)||t>1114111?fa:t}return A===qA?fa:A},e.prototype.consumeName=function(){for(var A="";;){var r=this.consumeCodePoint();if(ha(r))A+=bA(r);else if(ge(r,this.peekCodePoint(0)))A+=bA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(r),A}},e})(),Js=(function(){function e(A){this._tokens=A}return e.create=function(A){var r=new Xs;return r.write(A),new e(r.read())},e.parseValue=function(A){return e.create(A).parseComponentValue()},e.parseValues=function(A){return e.create(A).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var A=this.consumeToken();A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var r=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return r;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var A=[];;){var r=this.consumeComponentValue();if(r.type===32)return A;A.push(r),A.push()}},e.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},e.prototype.consumeSimpleBlock=function(A){for(var r={type:A,values:[]},t=this.consumeToken();;){if(t.type===32||Eg(t,A))return r;this.reconsumeToken(t),r.values.push(this.consumeComponentValue()),t=this.consumeToken()}},e.prototype.consumeFunction=function(A){for(var r={name:A.value,values:[],type:18};;){var t=this.consumeToken();if(t.type===32||t.type===3)return r;this.reconsumeToken(t),r.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?Un:A},e.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},e})(),Ut=function(e){return e.type===15},Ge=function(e){return e.type===17},uA=function(e){return e.type===20},bg=function(e){return e.type===0},Fn=function(e,A){return uA(e)&&e.value===A},Ws=function(e){return e.type!==31},_e=function(e){return e.type!==31&&e.type!==4},te=function(e){var A=[],r=[];return e.forEach(function(t){if(t.type===4){if(r.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(r),r=[];return}t.type!==31&&r.push(t)}),r.length&&A.push(r),A},Eg=function(e,A){return A===11&&e.type===12||A===28&&e.type===29?!0:A===2&&e.type===3},pe=function(e){return e.type===17||e.type===15},EA=function(e){return e.type===16||pe(e)},Ys=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},LA={type:17,number:0,flags:vt},On={type:16,number:50,flags:vt},Be={type:16,number:100,flags:vt},et=function(e,A,r){var t=e[0],n=e[1];return[hA(t,A),hA(typeof n<"u"?n:t,r)]},hA=function(e,A){if(e.type===16)return e.number/100*A;if(Ut(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},Zs="deg",zs="grad",qs="rad",$s="turn",vr={name:"angle",parse:function(e,A){if(A.type===15)switch(A.unit){case Zs:return Math.PI*A.number/180;case zs:return Math.PI/200*A.number;case qs:return A.number;case $s:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},Ai=function(e){return e.type===15&&(e.unit===Zs||e.unit===zs||e.unit===qs||e.unit===$s)},ei=function(e){var A=e.filter(uA).map(function(r){return r.value}).join(" ");switch(A){case"to bottom right":case"to right bottom":case"left top":case"top left":return[LA,LA];case"to top":case"bottom":return XA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[LA,Be];case"to right":case"left":return XA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Be,Be];case"to bottom":case"top":return XA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Be,LA];case"to left":case"right":return XA(270)}return 0},XA=function(e){return Math.PI*e/180},he={name:"color",parse:function(e,A){if(A.type===18){var r=yg[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return r(e,A.values)}if(A.type===5){if(A.value.length===3){var t=A.value.substring(0,1),n=A.value.substring(1,2),a=A.value.substring(2,3);return de(parseInt(t+t,16),parseInt(n+n,16),parseInt(a+a,16),1)}if(A.value.length===4){var t=A.value.substring(0,1),n=A.value.substring(1,2),a=A.value.substring(2,3),s=A.value.substring(3,4);return de(parseInt(t+t,16),parseInt(n+n,16),parseInt(a+a,16),parseInt(s+s,16)/255)}if(A.value.length===6){var t=A.value.substring(0,2),n=A.value.substring(2,4),a=A.value.substring(4,6);return de(parseInt(t,16),parseInt(n,16),parseInt(a,16),1)}if(A.value.length===8){var t=A.value.substring(0,2),n=A.value.substring(2,4),a=A.value.substring(4,6),s=A.value.substring(6,8);return de(parseInt(t,16),parseInt(n,16),parseInt(a,16),parseInt(s,16)/255)}}if(A.type===20){var o=se[A.value.toUpperCase()];if(typeof o<"u")return o}return se.TRANSPARENT}},we=function(e){return(255&e)===0},xA=function(e){var A=255&e,r=255&e>>8,t=255&e>>16,n=255&e>>24;return A<255?"rgba("+n+","+t+","+r+","+A/255+")":"rgb("+n+","+t+","+r+")"},de=function(e,A,r,t){return(e<<24|A<<16|r<<8|Math.round(t*255)<<0)>>>0},wa=function(e,A){if(e.type===17)return e.number;if(e.type===16){var r=A===3?1:255;return A===3?e.number/100*r:Math.round(e.number/100*r)}return 0},pa=function(e,A){var r=A.filter(_e);if(r.length===3){var t=r.map(wa),n=t[0],a=t[1],s=t[2];return de(n,a,s,1)}if(r.length===4){var o=r.map(wa),n=o[0],a=o[1],s=o[2],l=o[3];return de(n,a,s,l)}return 0};function Nr(e,A,r){return r<0&&(r+=1),r>=1&&(r-=1),r<1/6?(A-e)*r*6+e:r<1/2?A:r<2/3?(A-e)*6*(2/3-r)+e:e}var Ca=function(e,A){var r=A.filter(_e),t=r[0],n=r[1],a=r[2],s=r[3],o=(t.type===17?XA(t.number):vr.parse(e,t))/(Math.PI*2),l=EA(n)?n.number/100:0,c=EA(a)?a.number/100:0,g=typeof s<"u"&&EA(s)?hA(s,1):1;if(l===0)return de(c*255,c*255,c*255,1);var B=c<=.5?c*(l+1):c+l-c*l,u=c*2-B,p=Nr(u,B,o+1/3),Q=Nr(u,B,o),C=Nr(u,B,o-1/3);return de(p*255,Q*255,C*255,g)},yg={hsl:Ca,hsla:Ca,rgb:pa,rgba:pa},it=function(e,A){return he.parse(e,Js.create(A).parseComponentValue())},se={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},xg={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(r){if(uA(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ig={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ur=function(e,A){var r=he.parse(e,A[0]),t=A[1];return t&&EA(t)?{color:r,stop:t}:{color:r,stop:null}},Qa=function(e,A){var r=e[0],t=e[e.length-1];r.stop===null&&(r.stop=LA),t.stop===null&&(t.stop=Be);for(var n=[],a=0,s=0;s<e.length;s++){var o=e[s].stop;if(o!==null){var l=hA(o,A);l>a?n.push(l):n.push(a),a=l}else n.push(null)}for(var c=null,s=0;s<n.length;s++){var g=n[s];if(g===null)c===null&&(c=s);else if(c!==null){for(var B=s-c,u=n[c-1],p=(g-u)/(B+1),Q=1;Q<=B;Q++)n[c+Q-1]=p*Q;c=null}}return e.map(function(C,I){var U=C.color;return{color:U,stop:Math.max(Math.min(1,n[I]/A),0)}})},Hg=function(e,A,r){var t=A/2,n=r/2,a=hA(e[0],A)-t,s=n-hA(e[1],r);return(Math.atan2(s,a)+Math.PI*2)%(Math.PI*2)},Sg=function(e,A,r){var t=typeof e=="number"?e:Hg(e,A,r),n=Math.abs(A*Math.sin(t))+Math.abs(r*Math.cos(t)),a=A/2,s=r/2,o=n/2,l=Math.sin(t-Math.PI/2)*o,c=Math.cos(t-Math.PI/2)*o;return[n,a-c,a+c,s-l,s+l]},ZA=function(e,A){return Math.sqrt(e*e+A*A)},ma=function(e,A,r,t,n){var a=[[0,0],[0,A],[e,0],[e,A]];return a.reduce(function(s,o){var l=o[0],c=o[1],g=ZA(r-l,t-c);return(n?g<s.optimumDistance:g>s.optimumDistance)?{optimumCorner:o,optimumDistance:g}:s},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Lg=function(e,A,r,t,n){var a=0,s=0;switch(e.size){case 0:e.shape===0?a=s=Math.min(Math.abs(A),Math.abs(A-t),Math.abs(r),Math.abs(r-n)):e.shape===1&&(a=Math.min(Math.abs(A),Math.abs(A-t)),s=Math.min(Math.abs(r),Math.abs(r-n)));break;case 2:if(e.shape===0)a=s=Math.min(ZA(A,r),ZA(A,r-n),ZA(A-t,r),ZA(A-t,r-n));else if(e.shape===1){var o=Math.min(Math.abs(r),Math.abs(r-n))/Math.min(Math.abs(A),Math.abs(A-t)),l=ma(t,n,A,r,!0),c=l[0],g=l[1];a=ZA(c-A,(g-r)/o),s=o*a}break;case 1:e.shape===0?a=s=Math.max(Math.abs(A),Math.abs(A-t),Math.abs(r),Math.abs(r-n)):e.shape===1&&(a=Math.max(Math.abs(A),Math.abs(A-t)),s=Math.max(Math.abs(r),Math.abs(r-n)));break;case 3:if(e.shape===0)a=s=Math.max(ZA(A,r),ZA(A,r-n),ZA(A-t,r),ZA(A-t,r-n));else if(e.shape===1){var o=Math.max(Math.abs(r),Math.abs(r-n))/Math.max(Math.abs(A),Math.abs(A-t)),B=ma(t,n,A,r,!1),c=B[0],g=B[1];a=ZA(c-A,(g-r)/o),s=o*a}break}return Array.isArray(e.size)&&(a=hA(e.size[0],t),s=e.size.length===2?hA(e.size[1],n):a),[a,s]},kg=function(e,A){var r=XA(180),t=[];return te(A).forEach(function(n,a){if(a===0){var s=n[0];if(s.type===20&&s.value==="to"){r=ei(n);return}else if(Ai(s)){r=vr.parse(e,s);return}}var o=Ur(e,n);t.push(o)}),{angle:r,stops:t,type:1}},Gt=function(e,A){var r=XA(180),t=[];return te(A).forEach(function(n,a){if(a===0){var s=n[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){r=ei(n);return}else if(Ai(s)){r=(vr.parse(e,s)+XA(270))%XA(360);return}}var o=Ur(e,n);t.push(o)}),{angle:r,stops:t,type:1}},Mg=function(e,A){var r=XA(180),t=[],n=1,a=0,s=3,o=[];return te(A).forEach(function(l,c){var g=l[0];if(c===0){if(uA(g)&&g.value==="linear"){n=1;return}else if(uA(g)&&g.value==="radial"){n=2;return}}if(g.type===18){if(g.name==="from"){var B=he.parse(e,g.values[0]);t.push({stop:LA,color:B})}else if(g.name==="to"){var B=he.parse(e,g.values[0]);t.push({stop:Be,color:B})}else if(g.name==="color-stop"){var u=g.values.filter(_e);if(u.length===2){var B=he.parse(e,u[1]),p=u[0];Ge(p)&&t.push({stop:{type:16,number:p.number*100,flags:p.flags},color:B})}}}}),n===1?{angle:(r+XA(180))%XA(360),stops:t,type:n}:{size:s,shape:a,stops:t,position:o,type:n}},ti="closest-side",ri="farthest-side",ni="closest-corner",ai="farthest-corner",si="circle",ii="ellipse",oi="cover",li="contain",Kg=function(e,A){var r=0,t=3,n=[],a=[];return te(A).forEach(function(s,o){var l=!0;if(o===0){var c=!1;l=s.reduce(function(B,u){if(c)if(uA(u))switch(u.value){case"center":return a.push(On),B;case"top":case"left":return a.push(LA),B;case"right":case"bottom":return a.push(Be),B}else(EA(u)||pe(u))&&a.push(u);else if(uA(u))switch(u.value){case si:return r=0,!1;case ii:return r=1,!1;case"at":return c=!0,!1;case ti:return t=0,!1;case oi:case ri:return t=1,!1;case li:case ni:return t=2,!1;case ai:return t=3,!1}else if(pe(u)||EA(u))return Array.isArray(t)||(t=[]),t.push(u),!1;return B},l)}if(l){var g=Ur(e,s);n.push(g)}}),{size:t,shape:r,stops:n,position:a,type:2}},jt=function(e,A){var r=0,t=3,n=[],a=[];return te(A).forEach(function(s,o){var l=!0;if(o===0?l=s.reduce(function(g,B){if(uA(B))switch(B.value){case"center":return a.push(On),!1;case"top":case"left":return a.push(LA),!1;case"right":case"bottom":return a.push(Be),!1}else if(EA(B)||pe(B))return a.push(B),!1;return g},l):o===1&&(l=s.reduce(function(g,B){if(uA(B))switch(B.value){case si:return r=0,!1;case ii:return r=1,!1;case li:case ti:return t=0,!1;case ri:return t=1,!1;case ni:return t=2,!1;case oi:case ai:return t=3,!1}else if(pe(B)||EA(B))return Array.isArray(t)||(t=[]),t.push(B),!1;return g},l)),l){var c=Ur(e,s);n.push(c)}}),{size:t,shape:r,stops:n,position:a,type:2}},Tg=function(e){return e.type===1},Dg=function(e){return e.type===2},Rn={name:"image",parse:function(e,A){if(A.type===22){var r={url:A.value,type:0};return e.cache.addImage(A.value),r}if(A.type===18){var t=ci[A.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return t(e,A.values)}throw new Error("Unsupported image type "+A.type)}};function Og(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!ci[e.name])}var ci={"linear-gradient":kg,"-moz-linear-gradient":Gt,"-ms-linear-gradient":Gt,"-o-linear-gradient":Gt,"-webkit-linear-gradient":Gt,"radial-gradient":Kg,"-moz-radial-gradient":jt,"-ms-radial-gradient":jt,"-o-radial-gradient":jt,"-webkit-radial-gradient":jt,"-webkit-gradient":Mg},Rg={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var r=A[0];return r.type===20&&r.value==="none"?[]:A.filter(function(t){return _e(t)&&Og(t)}).map(function(t){return Rn.parse(e,t)})}},Ng={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(r){if(uA(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},_g={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,A){return te(A).map(function(r){return r.filter(EA)}).map(Ys)}},Gg={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,A){return te(A).map(function(r){return r.filter(uA).map(function(t){return t.value}).join(" ")}).map(jg)}},jg=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},Oe;(function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"})(Oe||(Oe={}));var Vg={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,A){return te(A).map(function(r){return r.filter(Pg)})}},Pg=function(e){return uA(e)||EA(e)},Fr=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Xg=Fr("top"),Jg=Fr("right"),Wg=Fr("bottom"),Yg=Fr("left"),br=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(A,r){return Ys(r.filter(EA))}}},Zg=br("top-left"),zg=br("top-right"),qg=br("bottom-right"),$g=br("bottom-left"),Er=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,r){switch(r){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Au=Er("top"),eu=Er("right"),tu=Er("bottom"),ru=Er("left"),yr=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,r){return Ut(r)?r.number:0}}},nu=yr("top"),au=yr("right"),su=yr("bottom"),iu=yr("left"),ou={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},lu={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,A){return A==="rtl"?1:0}},cu={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,A){return A.filter(uA).reduce(function(r,t){return r|gu(t.value)},0)}},gu=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},uu={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Bu={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,A){return A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0}},cr;(function(e){e.NORMAL="normal",e.STRICT="strict"})(cr||(cr={}));var du={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){return A==="strict"?cr.STRICT:cr.NORMAL}},fu={name:"line-height",initialValue:"normal",prefix:!1,type:4},va=function(e,A){return uA(e)&&e.value==="normal"?1.2*A:e.type===17?A*e.number:EA(e)?hA(e,A):A},hu={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,A){return A.type===20&&A.value==="none"?null:Rn.parse(e,A)}},wu={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,A){return A==="inside"?0:1}},bn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},xr=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},pu=xr("top"),Cu=xr("right"),Qu=xr("bottom"),mu=xr("left"),vu={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,A){return A.filter(uA).map(function(r){switch(r.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},Uu={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){return A==="break-word"?"break-word":"normal"}},Ir=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Fu=Ir("top"),bu=Ir("right"),Eu=Ir("bottom"),yu=Ir("left"),xu={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,A){switch(A){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Iu={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Hu={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.length===1&&Fn(A[0],"none")?[]:te(A).map(function(r){for(var t={color:se.TRANSPARENT,offsetX:LA,offsetY:LA,blur:LA},n=0,a=0;a<r.length;a++){var s=r[a];pe(s)?(n===0?t.offsetX=s:n===1?t.offsetY=s:t.blur=s,n++):t.color=he.parse(e,s)}return t})}},Su={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Lu={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,A){if(A.type===20&&A.value==="none")return null;if(A.type===18){var r=Ku[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return r(A.values)}return null}},ku=function(e){var A=e.filter(function(r){return r.type===17}).map(function(r){return r.number});return A.length===6?A:null},Mu=function(e){var A=e.filter(function(l){return l.type===17}).map(function(l){return l.number}),r=A[0],t=A[1];A[2],A[3];var n=A[4],a=A[5];A[6],A[7],A[8],A[9],A[10],A[11];var s=A[12],o=A[13];return A[14],A[15],A.length===16?[r,t,n,a,s,o]:null},Ku={matrix:ku,matrix3d:Mu},Ua={type:16,number:50,flags:vt},Tu=[Ua,Ua],Du={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,A){var r=A.filter(EA);return r.length!==2?Tu:[r[0],r[1]]}},Ou={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"hidden":return 1;case"collapse":return 2;default:return 0}}},ot;(function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"})(ot||(ot={}));var Ru={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"break-all":return ot.BREAK_ALL;case"keep-all":return ot.KEEP_ALL;default:return ot.NORMAL}}},Nu={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,A){if(A.type===20)return{auto:!0,order:0};if(Ge(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},gi={name:"time",parse:function(e,A){if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},_u={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,A){return Ge(A)?A.number:1}},Gu={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ju={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,A){return A.filter(uA).map(function(r){switch(r.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(r){return r!==0})}},Vu={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,A){var r=[],t=[];return A.forEach(function(n){switch(n.type){case 20:case 0:r.push(n.value);break;case 17:r.push(n.number.toString());break;case 4:t.push(r.join(" ")),r.length=0;break}}),r.length&&t.push(r.join(" ")),t.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},Pu={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Xu={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,A){return Ge(A)?A.number:uA(A)&&A.value==="bold"?700:400}},Ju={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.filter(uA).map(function(r){return r.value})}},Wu={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},yA=function(e,A){return(e&A)!==0},Yu={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var r=A[0];return r.type===20&&r.value==="none"?[]:A}},Zu={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return null;var r=A[0];if(r.type===20&&r.value==="none")return null;for(var t=[],n=A.filter(Ws),a=0;a<n.length;a++){var s=n[a],o=n[a+1];if(s.type===20){var l=o&&Ge(o)?o.number:1;t.push({counter:s.value,increment:l})}}return t}},zu={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return[];for(var r=[],t=A.filter(Ws),n=0;n<t.length;n++){var a=t[n],s=t[n+1];if(uA(a)&&a.value!=="none"){var o=s&&Ge(s)?s.number:0;r.push({counter:a.value,reset:o})}}return r}},qu={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,A){return A.filter(Ut).map(function(r){return gi.parse(e,r)})}},$u={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return null;var r=A[0];if(r.type===20&&r.value==="none")return null;var t=[],n=A.filter(bg);if(n.length%2!==0)return null;for(var a=0;a<n.length;a+=2){var s=n[a].value,o=n[a+1].value;t.push({open:s,close:o})}return t}},Fa=function(e,A,r){if(!e)return"";var t=e[Math.min(A,e.length-1)];return t?r?t.open:t.close:""},AB={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.length===1&&Fn(A[0],"none")?[]:te(A).map(function(r){for(var t={color:255,offsetX:LA,offsetY:LA,blur:LA,spread:LA,inset:!1},n=0,a=0;a<r.length;a++){var s=r[a];Fn(s,"inset")?t.inset=!0:pe(s)?(n===0?t.offsetX=s:n===1?t.offsetY=s:n===2?t.blur=s:t.spread=s,n++):t.color=he.parse(e,s)}return t})}},eB={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,A){var r=[0,1,2],t=[];return A.filter(uA).forEach(function(n){switch(n.value){case"stroke":t.push(1);break;case"fill":t.push(0);break;case"markers":t.push(2);break}}),r.forEach(function(n){t.indexOf(n)===-1&&t.push(n)}),t}},tB={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},rB={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,A){return Ut(A)?A.number:0}},nB=(function(){function e(A,r){var t,n;this.animationDuration=X(A,qu,r.animationDuration),this.backgroundClip=X(A,xg,r.backgroundClip),this.backgroundColor=X(A,Ig,r.backgroundColor),this.backgroundImage=X(A,Rg,r.backgroundImage),this.backgroundOrigin=X(A,Ng,r.backgroundOrigin),this.backgroundPosition=X(A,_g,r.backgroundPosition),this.backgroundRepeat=X(A,Gg,r.backgroundRepeat),this.backgroundSize=X(A,Vg,r.backgroundSize),this.borderTopColor=X(A,Xg,r.borderTopColor),this.borderRightColor=X(A,Jg,r.borderRightColor),this.borderBottomColor=X(A,Wg,r.borderBottomColor),this.borderLeftColor=X(A,Yg,r.borderLeftColor),this.borderTopLeftRadius=X(A,Zg,r.borderTopLeftRadius),this.borderTopRightRadius=X(A,zg,r.borderTopRightRadius),this.borderBottomRightRadius=X(A,qg,r.borderBottomRightRadius),this.borderBottomLeftRadius=X(A,$g,r.borderBottomLeftRadius),this.borderTopStyle=X(A,Au,r.borderTopStyle),this.borderRightStyle=X(A,eu,r.borderRightStyle),this.borderBottomStyle=X(A,tu,r.borderBottomStyle),this.borderLeftStyle=X(A,ru,r.borderLeftStyle),this.borderTopWidth=X(A,nu,r.borderTopWidth),this.borderRightWidth=X(A,au,r.borderRightWidth),this.borderBottomWidth=X(A,su,r.borderBottomWidth),this.borderLeftWidth=X(A,iu,r.borderLeftWidth),this.boxShadow=X(A,AB,r.boxShadow),this.color=X(A,ou,r.color),this.direction=X(A,lu,r.direction),this.display=X(A,cu,r.display),this.float=X(A,uu,r.cssFloat),this.fontFamily=X(A,Vu,r.fontFamily),this.fontSize=X(A,Pu,r.fontSize),this.fontStyle=X(A,Wu,r.fontStyle),this.fontVariant=X(A,Ju,r.fontVariant),this.fontWeight=X(A,Xu,r.fontWeight),this.letterSpacing=X(A,Bu,r.letterSpacing),this.lineBreak=X(A,du,r.lineBreak),this.lineHeight=X(A,fu,r.lineHeight),this.listStyleImage=X(A,hu,r.listStyleImage),this.listStylePosition=X(A,wu,r.listStylePosition),this.listStyleType=X(A,bn,r.listStyleType),this.marginTop=X(A,pu,r.marginTop),this.marginRight=X(A,Cu,r.marginRight),this.marginBottom=X(A,Qu,r.marginBottom),this.marginLeft=X(A,mu,r.marginLeft),this.opacity=X(A,_u,r.opacity);var a=X(A,vu,r.overflow);this.overflowX=a[0],this.overflowY=a[a.length>1?1:0],this.overflowWrap=X(A,Uu,r.overflowWrap),this.paddingTop=X(A,Fu,r.paddingTop),this.paddingRight=X(A,bu,r.paddingRight),this.paddingBottom=X(A,Eu,r.paddingBottom),this.paddingLeft=X(A,yu,r.paddingLeft),this.paintOrder=X(A,eB,r.paintOrder),this.position=X(A,Iu,r.position),this.textAlign=X(A,xu,r.textAlign),this.textDecorationColor=X(A,Gu,(t=r.textDecorationColor)!==null&&t!==void 0?t:r.color),this.textDecorationLine=X(A,ju,(n=r.textDecorationLine)!==null&&n!==void 0?n:r.textDecoration),this.textShadow=X(A,Hu,r.textShadow),this.textTransform=X(A,Su,r.textTransform),this.transform=X(A,Lu,r.transform),this.transformOrigin=X(A,Du,r.transformOrigin),this.visibility=X(A,Ou,r.visibility),this.webkitTextStrokeColor=X(A,tB,r.webkitTextStrokeColor),this.webkitTextStrokeWidth=X(A,rB,r.webkitTextStrokeWidth),this.wordBreak=X(A,Ru,r.wordBreak),this.zIndex=X(A,Nu,r.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return we(this.backgroundColor)},e.prototype.isTransformed=function(){return this.transform!==null},e.prototype.isPositioned=function(){return this.position!==0},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==0},e.prototype.isInlineLevel=function(){return yA(this.display,4)||yA(this.display,33554432)||yA(this.display,268435456)||yA(this.display,536870912)||yA(this.display,67108864)||yA(this.display,134217728)},e})(),aB=(function(){function e(A,r){this.content=X(A,Yu,r.content),this.quotes=X(A,$u,r.quotes)}return e})(),ba=(function(){function e(A,r){this.counterIncrement=X(A,Zu,r.counterIncrement),this.counterReset=X(A,zu,r.counterReset)}return e})(),X=function(e,A,r){var t=new Xs,n=r!==null&&typeof r<"u"?r.toString():A.initialValue;t.write(n);var a=new Js(t.read());switch(A.type){case 2:var s=a.parseComponentValue();return A.parse(e,uA(s)?s.value:A.initialValue);case 0:return A.parse(e,a.parseComponentValue());case 1:return A.parse(e,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(A.format){case"angle":return vr.parse(e,a.parseComponentValue());case"color":return he.parse(e,a.parseComponentValue());case"image":return Rn.parse(e,a.parseComponentValue());case"length":var o=a.parseComponentValue();return pe(o)?o:LA;case"length-percentage":var l=a.parseComponentValue();return EA(l)?l:LA;case"time":return gi.parse(e,a.parseComponentValue())}break}},sB="data-html2canvas-debug",iB=function(e){var A=e.getAttribute(sB);switch(A){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},En=function(e,A){var r=iB(e);return r===1||A===r},re=(function(){function e(A,r){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,En(r,3))debugger;this.styles=new nB(A,window.getComputedStyle(r,null)),In(r)&&(this.styles.animationDuration.some(function(t){return t>0})&&(r.style.animationDuration="0s"),this.styles.transform!==null&&(r.style.transform="none")),this.bounds=Qr(this.context,r),En(r,4)&&(this.flags|=16)}return e})(),oB="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Ea="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tt=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Vt=0;Vt<Ea.length;Vt++)tt[Ea.charCodeAt(Vt)]=Vt;var lB=function(e){var A=e.length*.75,r=e.length,t,n=0,a,s,o,l;e[e.length-1]==="="&&(A--,e[e.length-2]==="="&&A--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),g=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<r;t+=4)a=tt[e.charCodeAt(t)],s=tt[e.charCodeAt(t+1)],o=tt[e.charCodeAt(t+2)],l=tt[e.charCodeAt(t+3)],g[n++]=a<<2|s>>4,g[n++]=(s&15)<<4|o>>2,g[n++]=(o&3)<<6|l&63;return c},cB=function(e){for(var A=e.length,r=[],t=0;t<A;t+=2)r.push(e[t+1]<<8|e[t]);return r},gB=function(e){for(var A=e.length,r=[],t=0;t<A;t+=4)r.push(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]);return r},ye=5,Nn=11,_r=2,uB=Nn-ye,ui=65536>>ye,BB=1<<ye,Gr=BB-1,dB=1024>>ye,fB=ui+dB,hB=fB,wB=32,pB=hB+wB,CB=65536>>Nn,QB=1<<uB,mB=QB-1,ya=function(e,A,r){return e.slice?e.slice(A,r):new Uint16Array(Array.prototype.slice.call(e,A,r))},vB=function(e,A,r){return e.slice?e.slice(A,r):new Uint32Array(Array.prototype.slice.call(e,A,r))},UB=function(e,A){var r=lB(e),t=Array.isArray(r)?gB(r):new Uint32Array(r),n=Array.isArray(r)?cB(r):new Uint16Array(r),a=24,s=ya(n,a/2,t[4]/2),o=t[5]===2?ya(n,(a+t[4])/2):vB(t,Math.ceil((a+t[4])/4));return new FB(t[0],t[1],t[2],t[3],s,o)},FB=(function(){function e(A,r,t,n,a,s){this.initialValue=A,this.errorValue=r,this.highStart=t,this.highValueIndex=n,this.index=a,this.data=s}return e.prototype.get=function(A){var r;if(A>=0){if(A<55296||A>56319&&A<=65535)return r=this.index[A>>ye],r=(r<<_r)+(A&Gr),this.data[r];if(A<=65535)return r=this.index[ui+(A-55296>>ye)],r=(r<<_r)+(A&Gr),this.data[r];if(A<this.highStart)return r=pB-CB+(A>>Nn),r=this.index[r],r+=A>>ye&mB,r=this.index[r],r=(r<<_r)+(A&Gr),this.data[r];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e})(),xa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bB=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Pt=0;Pt<xa.length;Pt++)bB[xa.charCodeAt(Pt)]=Pt;var EB=1,jr=2,Vr=3,Ia=4,Ha=5,yB=7,Sa=8,Pr=9,Xr=10,La=11,ka=12,Ma=13,Ka=14,Jr=15,xB=function(e){for(var A=[],r=0,t=e.length;r<t;){var n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<t){var a=e.charCodeAt(r++);(a&64512)===56320?A.push(((n&1023)<<10)+(a&1023)+65536):(A.push(n),r--)}else A.push(n)}return A},IB=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";for(var t=[],n=-1,a="";++n<r;){var s=e[n];s<=65535?t.push(s):(s-=65536,t.push((s>>10)+55296,s%1024+56320)),(n+1===r||t.length>16384)&&(a+=String.fromCharCode.apply(String,t),t.length=0)}return a},HB=UB(oB),VA="×",Wr="÷",SB=function(e){return HB.get(e)},LB=function(e,A,r){var t=r-2,n=A[t],a=A[r-1],s=A[r];if(a===jr&&s===Vr)return VA;if(a===jr||a===Vr||a===Ia||s===jr||s===Vr||s===Ia)return Wr;if(a===Sa&&[Sa,Pr,La,ka].indexOf(s)!==-1||(a===La||a===Pr)&&(s===Pr||s===Xr)||(a===ka||a===Xr)&&s===Xr||s===Ma||s===Ha||s===yB||a===EB)return VA;if(a===Ma&&s===Ka){for(;n===Ha;)n=A[--t];if(n===Ka)return VA}if(a===Jr&&s===Jr){for(var o=0;n===Jr;)o++,n=A[--t];if(o%2===0)return VA}return Wr},kB=function(e){var A=xB(e),r=A.length,t=0,n=0,a=A.map(SB);return{next:function(){if(t>=r)return{done:!0,value:null};for(var s=VA;t<r&&(s=LB(A,a,++t))===VA;);if(s!==VA||t===r){var o=IB.apply(null,A.slice(n,t));return n=t,{value:o,done:!1}}return{done:!0,value:null}}}},MB=function(e){for(var A=kB(e),r=[],t;!(t=A.next()).done;)t.value&&r.push(t.value.slice());return r},KB=function(e){var A=123;if(e.createRange){var r=e.createRange();if(r.getBoundingClientRect){var t=e.createElement("boundtest");t.style.height=A+"px",t.style.display="block",e.body.appendChild(t),r.selectNode(t);var n=r.getBoundingClientRect(),a=Math.round(n.height);if(e.body.removeChild(t),a===A)return!0}}return!1},TB=function(e){var A=e.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",e.body.appendChild(A);var r=e.createRange();A.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var t=A.firstChild,n=mr(t.data).map(function(l){return bA(l)}),a=0,s={},o=n.every(function(l,c){r.setStart(t,a),r.setEnd(t,a+l.length);var g=r.getBoundingClientRect();a+=l.length;var B=g.x>s.x||g.y>s.y;return s=g,c===0?!0:B});return e.body.removeChild(A),o},DB=function(){return typeof new Image().crossOrigin<"u"},OB=function(){return typeof new XMLHttpRequest().responseType=="string"},RB=function(e){var A=new Image,r=e.createElement("canvas"),t=r.getContext("2d");if(!t)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{t.drawImage(A,0,0),r.toDataURL()}catch{return!1}return!0},Ta=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},NB=function(e){var A=e.createElement("canvas"),r=100;A.width=r,A.height=r;var t=A.getContext("2d");if(!t)return Promise.reject(!1);t.fillStyle="rgb(0, 255, 0)",t.fillRect(0,0,r,r);var n=new Image,a=A.toDataURL();n.src=a;var s=yn(r,r,0,0,n);return t.fillStyle="red",t.fillRect(0,0,r,r),Da(s).then(function(o){t.drawImage(o,0,0);var l=t.getImageData(0,0,r,r).data;t.fillStyle="red",t.fillRect(0,0,r,r);var c=e.createElement("div");return c.style.backgroundImage="url("+a+")",c.style.height=r+"px",Ta(l)?Da(yn(r,r,0,0,c)):Promise.reject(!1)}).then(function(o){return t.drawImage(o,0,0),Ta(t.getImageData(0,0,r,r).data)}).catch(function(){return!1})},yn=function(e,A,r,t,n){var a="http://www.w3.org/2000/svg",s=document.createElementNS(a,"svg"),o=document.createElementNS(a,"foreignObject");return s.setAttributeNS(null,"width",e.toString()),s.setAttributeNS(null,"height",A.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",r.toString()),o.setAttributeNS(null,"y",t.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(n),s},Da=function(e){return new Promise(function(A,r){var t=new Image;t.onload=function(){return A(t)},t.onerror=r,t.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},HA={get SUPPORT_RANGE_BOUNDS(){var e=KB(document);return Object.defineProperty(HA,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=HA.SUPPORT_RANGE_BOUNDS&&TB(document);return Object.defineProperty(HA,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=RB(document);return Object.defineProperty(HA,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?NB(document):Promise.resolve(!1);return Object.defineProperty(HA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=DB();return Object.defineProperty(HA,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=OB();return Object.defineProperty(HA,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(HA,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(HA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},lt=(function(){function e(A,r){this.text=A,this.bounds=r}return e})(),_B=function(e,A,r,t){var n=VB(A,r),a=[],s=0;return n.forEach(function(o){if(r.textDecorationLine.length||o.trim().length>0)if(HA.SUPPORT_RANGE_BOUNDS){var l=Oa(t,s,o.length).getClientRects();if(l.length>1){var c=_n(o),g=0;c.forEach(function(u){a.push(new lt(u,ie.fromDOMRectList(e,Oa(t,g+s,u.length).getClientRects()))),g+=u.length})}else a.push(new lt(o,ie.fromDOMRectList(e,l)))}else{var B=t.splitText(o.length);a.push(new lt(o,GB(e,t))),t=B}else HA.SUPPORT_RANGE_BOUNDS||(t=t.splitText(o.length));s+=o.length}),a},GB=function(e,A){var r=A.ownerDocument;if(r){var t=r.createElement("html2canvaswrapper");t.appendChild(A.cloneNode(!0));var n=A.parentNode;if(n){n.replaceChild(t,A);var a=Qr(e,t);return t.firstChild&&n.replaceChild(t.firstChild,t),a}}return ie.EMPTY},Oa=function(e,A,r){var t=e.ownerDocument;if(!t)throw new Error("Node has no owner document");var n=t.createRange();return n.setStart(e,A),n.setEnd(e,A+r),n},_n=function(e){if(HA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(e)).map(function(r){return r.segment})}return MB(e)},jB=function(e,A){if(HA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var r=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(r.segment(e)).map(function(t){return t.segment})}return XB(e,A)},VB=function(e,A){return A.letterSpacing!==0?_n(e):jB(e,A)},PB=[32,160,4961,65792,65793,4153,4241],XB=function(e,A){for(var r=Cc(e,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),t=[],n,a=function(){if(n.value){var s=n.value.slice(),o=mr(s),l="";o.forEach(function(c){PB.indexOf(c)===-1?l+=bA(c):(l.length&&t.push(l),t.push(bA(c)),l="")}),l.length&&t.push(l)}};!(n=r.next()).done;)a();return t},JB=(function(){function e(A,r,t){this.text=WB(r.data,t.textTransform),this.textBounds=_B(A,this.text,t,r)}return e})(),WB=function(e,A){switch(A){case 1:return e.toLowerCase();case 3:return e.replace(YB,ZB);case 2:return e.toUpperCase();default:return e}},YB=/(^|\s|:|-|\(|\))([a-z])/g,ZB=function(e,A,r){return e.length>0?A+r.toUpperCase():e},Bi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.src=t.currentSrc||t.src,n.intrinsicWidth=t.naturalWidth,n.intrinsicHeight=t.naturalHeight,n.context.cache.addImage(n.src),n}return A})(re),di=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.canvas=t,n.intrinsicWidth=t.width,n.intrinsicHeight=t.height,n}return A})(re),fi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this,a=new XMLSerializer,s=Qr(r,t);return t.setAttribute("width",s.width+"px"),t.setAttribute("height",s.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(a.serializeToString(t)),n.intrinsicWidth=t.width.baseVal.value,n.intrinsicHeight=t.height.baseVal.value,n.context.cache.addImage(n.svg),n}return A})(re),hi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.value=t.value,n}return A})(re),xn=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.start=t.start,n.reversed=typeof t.reversed=="boolean"&&t.reversed===!0,n}return A})(re),zB=[{type:15,flags:0,unit:"px",number:3}],qB=[{type:16,flags:0,number:50}],$B=function(e){return e.width>e.height?new ie(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new ie(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},Ad=function(e){var A=e.type===ed?new Array(e.value.length+1).join("•"):e.value;return A.length===0?e.placeholder||"":A},gr="checkbox",ur="radio",ed="password",Ra=707406591,Gn=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;switch(n.type=t.type.toLowerCase(),n.checked=t.checked,n.value=Ad(t),(n.type===gr||n.type===ur)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=$B(n.bounds)),n.type){case gr:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=zB;break;case ur:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=qB;break}return n}return A})(re),wi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this,a=t.options[t.selectedIndex||0];return n.value=a&&a.text||"",n}return A})(re),pi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.value=t.value,n}return A})(re),Ci=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;n.src=t.src,n.width=parseInt(t.width,10)||0,n.height=parseInt(t.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement){n.tree=mi(r,t.contentWindow.document.documentElement);var a=t.contentWindow.document.documentElement?it(r,getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):se.TRANSPARENT,s=t.contentWindow.document.body?it(r,getComputedStyle(t.contentWindow.document.body).backgroundColor):se.TRANSPARENT;n.backgroundColor=we(a)?we(s)?n.styles.backgroundColor:s:a}}catch{}return n}return A})(re),td=["OL","UL","MENU"],$t=function(e,A,r,t){for(var n=A.firstChild,a=void 0;n;n=a)if(a=n.nextSibling,vi(n)&&n.data.trim().length>0)r.textNodes.push(new JB(e,n,r.styles));else if(De(n))if(Ei(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return $t(e,o,r,t)});else{var s=Qi(e,n);s.styles.isVisible()&&(rd(n,s,t)?s.flags|=4:nd(s.styles)&&(s.flags|=2),td.indexOf(n.tagName)!==-1&&(s.flags|=8),r.elements.push(s),n.slot,n.shadowRoot?$t(e,n.shadowRoot,s,t):!Br(n)&&!Ui(n)&&!dr(n)&&$t(e,n,s,t))}},Qi=function(e,A){return Hn(A)?new Bi(e,A):Fi(A)?new di(e,A):Ui(A)?new fi(e,A):ad(A)?new hi(e,A):sd(A)?new xn(e,A):id(A)?new Gn(e,A):dr(A)?new wi(e,A):Br(A)?new pi(e,A):bi(A)?new Ci(e,A):new re(e,A)},mi=function(e,A){var r=Qi(e,A);return r.flags|=4,$t(e,A,r,r),r},rd=function(e,A,r){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||jn(e)&&r.styles.isTransparent()},nd=function(e){return e.isPositioned()||e.isFloating()},vi=function(e){return e.nodeType===Node.TEXT_NODE},De=function(e){return e.nodeType===Node.ELEMENT_NODE},In=function(e){return De(e)&&typeof e.style<"u"&&!Ar(e)},Ar=function(e){return typeof e.className=="object"},ad=function(e){return e.tagName==="LI"},sd=function(e){return e.tagName==="OL"},id=function(e){return e.tagName==="INPUT"},od=function(e){return e.tagName==="HTML"},Ui=function(e){return e.tagName==="svg"},jn=function(e){return e.tagName==="BODY"},Fi=function(e){return e.tagName==="CANVAS"},Na=function(e){return e.tagName==="VIDEO"},Hn=function(e){return e.tagName==="IMG"},bi=function(e){return e.tagName==="IFRAME"},_a=function(e){return e.tagName==="STYLE"},ld=function(e){return e.tagName==="SCRIPT"},Br=function(e){return e.tagName==="TEXTAREA"},dr=function(e){return e.tagName==="SELECT"},Ei=function(e){return e.tagName==="SLOT"},Ga=function(e){return e.tagName.indexOf("-")>0},cd=(function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(A){var r=this.counters[A];return r&&r.length?r[r.length-1]:1},e.prototype.getCounterValues=function(A){var r=this.counters[A];return r||[]},e.prototype.pop=function(A){var r=this;A.forEach(function(t){return r.counters[t].pop()})},e.prototype.parse=function(A){var r=this,t=A.counterIncrement,n=A.counterReset,a=!0;t!==null&&t.forEach(function(o){var l=r.counters[o.counter];l&&o.increment!==0&&(a=!1,l.length||l.push(1),l[Math.max(0,l.length-1)]+=o.increment)});var s=[];return a&&n.forEach(function(o){var l=r.counters[o.counter];s.push(o.counter),l||(l=r.counters[o.counter]=[]),l.push(o.reset)}),s},e})(),ja={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Va={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},gd={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},ud={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Se=function(e,A,r,t,n,a){return e<A||e>r?wt(e,n,a.length>0):t.integers.reduce(function(s,o,l){for(;e>=o;)e-=o,s+=t.values[l];return s},"")+a},yi=function(e,A,r,t){var n="";do r||e--,n=t(e)+n,e/=A;while(e*A>=A);return n},FA=function(e,A,r,t,n){var a=r-A+1;return(e<0?"-":"")+(yi(Math.abs(e),a,t,function(s){return bA(Math.floor(s%a)+A)})+n)},Ce=function(e,A,r){r===void 0&&(r=". ");var t=A.length;return yi(Math.abs(e),t,!1,function(n){return A[Math.floor(n%t)]})+r},Me=1,oe=2,le=4,rt=8,ae=function(e,A,r,t,n,a){if(e<-9999||e>9999)return wt(e,4,n.length>0);var s=Math.abs(e),o=n;if(s===0)return A[0]+o;for(var l=0;s>0&&l<=4;l++){var c=s%10;c===0&&yA(a,Me)&&o!==""?o=A[c]+o:c>1||c===1&&l===0||c===1&&l===1&&yA(a,oe)||c===1&&l===1&&yA(a,le)&&e>100||c===1&&l>1&&yA(a,rt)?o=A[c]+(l>0?r[l-1]:"")+o:c===1&&l>0&&(o=r[l-1]+o),s=Math.floor(s/10)}return(e<0?t:"")+o},Pa="十百千萬",Xa="拾佰仟萬",Ja="マイナス",Yr="마이너스",wt=function(e,A,r){var t=r?". ":"",n=r?"、":"",a=r?", ":"",s=r?" ":"";switch(A){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var o=FA(e,48,57,!0,t);return o.length<4?"0"+o:o;case 4:return Ce(e,"〇一二三四五六七八九",n);case 6:return Se(e,1,3999,ja,3,t).toLowerCase();case 7:return Se(e,1,3999,ja,3,t);case 8:return FA(e,945,969,!1,t);case 9:return FA(e,97,122,!1,t);case 10:return FA(e,65,90,!1,t);case 11:return FA(e,1632,1641,!0,t);case 12:case 49:return Se(e,1,9999,Va,3,t);case 35:return Se(e,1,9999,Va,3,t).toLowerCase();case 13:return FA(e,2534,2543,!0,t);case 14:case 30:return FA(e,6112,6121,!0,t);case 15:return Ce(e,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Ce(e,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return ae(e,"零一二三四五六七八九",Pa,"負",n,oe|le|rt);case 47:return ae(e,"零壹貳參肆伍陸柒捌玖",Xa,"負",n,Me|oe|le|rt);case 42:return ae(e,"零一二三四五六七八九",Pa,"负",n,oe|le|rt);case 41:return ae(e,"零壹贰叁肆伍陆柒捌玖",Xa,"负",n,Me|oe|le|rt);case 26:return ae(e,"〇一二三四五六七八九","十百千万",Ja,n,0);case 25:return ae(e,"零壱弐参四伍六七八九","拾百千万",Ja,n,Me|oe|le);case 31:return ae(e,"영일이삼사오육칠팔구","십백천만",Yr,a,Me|oe|le);case 33:return ae(e,"零一二三四五六七八九","十百千萬",Yr,a,0);case 32:return ae(e,"零壹貳參四五六七八九","拾百千",Yr,a,Me|oe|le);case 18:return FA(e,2406,2415,!0,t);case 20:return Se(e,1,19999,ud,3,t);case 21:return FA(e,2790,2799,!0,t);case 22:return FA(e,2662,2671,!0,t);case 22:return Se(e,1,10999,gd,3,t);case 23:return Ce(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Ce(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return FA(e,3302,3311,!0,t);case 28:return Ce(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Ce(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return FA(e,3792,3801,!0,t);case 37:return FA(e,6160,6169,!0,t);case 38:return FA(e,4160,4169,!0,t);case 39:return FA(e,2918,2927,!0,t);case 40:return FA(e,1776,1785,!0,t);case 43:return FA(e,3046,3055,!0,t);case 44:return FA(e,3174,3183,!0,t);case 45:return FA(e,3664,3673,!0,t);case 46:return FA(e,3872,3881,!0,t);default:return FA(e,48,57,!0,t)}},xi="data-html2canvas-ignore",Wa=(function(){function e(A,r,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=r,this.counters=new cd,this.quoteDepth=0,!r.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(r.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(A,r){var t=this,n=Bd(A,r);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var a=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,o=n.contentWindow,l=o.document,c=hd(n).then(function(){return OA(t,void 0,void 0,function(){var g,B;return kA(this,function(u){switch(u.label){case 0:return this.scrolledElements.forEach(Qd),o&&(o.scrollTo(r.left,r.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==r.top||o.scrollX!==r.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-r.left,o.scrollY-r.top,0,0))),g=this.options.onclone,B=this.clonedReferenceElement,typeof B>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:u.sent(),u.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,fd(l)]:[3,4];case 3:u.sent(),u.label=4;case 4:return typeof g=="function"?[2,Promise.resolve().then(function(){return g(l,B)}).then(function(){return n})]:[2,n]}})})});return l.open(),l.write(pd(document.doctype)+"<html></html>"),Cd(this.referenceElement.ownerDocument,a,s),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),c},e.prototype.createElementClone=function(A){if(En(A,2))debugger;if(Fi(A))return this.createCanvasClone(A);if(Na(A))return this.createVideoClone(A);if(_a(A))return this.createStyleClone(A);var r=A.cloneNode(!1);return Hn(r)&&(Hn(A)&&A.currentSrc&&A.currentSrc!==A.src&&(r.src=A.currentSrc,r.srcset=""),r.loading==="lazy"&&(r.loading="eager")),Ga(r)?this.createCustomElementClone(r):r},e.prototype.createCustomElementClone=function(A){var r=document.createElement("html2canvascustomelement");return Zr(A.style,r),r},e.prototype.createStyleClone=function(A){try{var r=A.sheet;if(r&&r.cssRules){var t=[].slice.call(r.cssRules,0).reduce(function(a,s){return s&&typeof s.cssText=="string"?a+s.cssText:a},""),n=A.cloneNode(!1);return n.textContent=t,n}}catch(a){if(this.context.logger.error("Unable to access cssRules property",a),a.name!=="SecurityError")throw a}return A.cloneNode(!1)},e.prototype.createCanvasClone=function(A){var r;if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var a=A.getContext("2d"),s=n.getContext("2d");if(s)if(!this.options.allowTaint&&a)s.putImageData(a.getImageData(0,0,A.width,A.height),0,0);else{var o=(r=A.getContext("webgl2"))!==null&&r!==void 0?r:A.getContext("webgl");if(o){var l=o.getContextAttributes();l?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}s.drawImage(A,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},e.prototype.createVideoClone=function(A){var r=A.ownerDocument.createElement("canvas");r.width=A.offsetWidth,r.height=A.offsetHeight;var t=r.getContext("2d");try{return t&&(t.drawImage(A,0,0,r.width,r.height),this.options.allowTaint||t.getImageData(0,0,r.width,r.height)),r}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},e.prototype.appendChildNode=function(A,r,t){(!De(r)||!ld(r)&&!r.hasAttribute(xi)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(r)))&&(!this.options.copyStyles||!De(r)||!_a(r))&&A.appendChild(this.cloneNode(r,t))},e.prototype.cloneChildNodes=function(A,r,t){for(var n=this,a=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;a;a=a.nextSibling)if(De(a)&&Ei(a)&&typeof a.assignedNodes=="function"){var s=a.assignedNodes();s.length&&s.forEach(function(o){return n.appendChildNode(r,o,t)})}else this.appendChildNode(r,a,t)},e.prototype.cloneNode=function(A,r){if(vi(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&De(A)&&(In(A)||Ar(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var a=t.getComputedStyle(A),s=t.getComputedStyle(A,":before"),o=t.getComputedStyle(A,":after");this.referenceElement===A&&In(n)&&(this.clonedReferenceElement=n),jn(n)&&Ud(n);var l=this.counters.parse(new ba(this.context,a)),c=this.resolvePseudoContent(A,n,s,ct.BEFORE);Ga(A)&&(r=!0),Na(A)||this.cloneChildNodes(A,n,r),c&&n.insertBefore(c,n.firstChild);var g=this.resolvePseudoContent(A,n,o,ct.AFTER);return g&&n.appendChild(g),this.counters.pop(l),(a&&(this.options.copyStyles||Ar(A))&&!bi(A)||r)&&Zr(a,n),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(Br(A)||dr(A))&&(Br(n)||dr(n))&&(n.value=A.value),n}return A.cloneNode(!1)},e.prototype.resolvePseudoContent=function(A,r,t,n){var a=this;if(t){var s=t.content,o=r.ownerDocument;if(!(!o||!s||s==="none"||s==="-moz-alt-content"||t.display==="none")){this.counters.parse(new ba(this.context,t));var l=new aB(this.context,t),c=o.createElement("html2canvaspseudoelement");Zr(t,c),l.content.forEach(function(B){if(B.type===0)c.appendChild(o.createTextNode(B.value));else if(B.type===22){var u=o.createElement("img");u.src=B.value,u.style.opacity="1",c.appendChild(u)}else if(B.type===18){if(B.name==="attr"){var p=B.values.filter(uA);p.length&&c.appendChild(o.createTextNode(A.getAttribute(p[0].value)||""))}else if(B.name==="counter"){var Q=B.values.filter(_e),C=Q[0],I=Q[1];if(C&&uA(C)){var U=a.counters.getCounterValue(C.value),b=I&&uA(I)?bn.parse(a.context,I.value):3;c.appendChild(o.createTextNode(wt(U,b,!1)))}}else if(B.name==="counters"){var L=B.values.filter(_e),C=L[0],S=L[1],I=L[2];if(C&&uA(C)){var y=a.counters.getCounterValues(C.value),h=I&&uA(I)?bn.parse(a.context,I.value):3,x=S&&S.type===0?S.value:"",M=y.map(function(O){return wt(O,h,!1)}).join(x);c.appendChild(o.createTextNode(M))}}}else if(B.type===20)switch(B.value){case"open-quote":c.appendChild(o.createTextNode(Fa(l.quotes,a.quoteDepth++,!0)));break;case"close-quote":c.appendChild(o.createTextNode(Fa(l.quotes,--a.quoteDepth,!1)));break;default:c.appendChild(o.createTextNode(B.value))}}),c.className=Sn+" "+Ln;var g=n===ct.BEFORE?" "+Sn:" "+Ln;return Ar(r)?r.className.baseValue+=g:r.className+=g,c}}},e.destroy=function(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1},e})(),ct;(function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"})(ct||(ct={}));var Bd=function(e,A){var r=e.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=A.width.toString(),r.height=A.height.toString(),r.scrolling="no",r.setAttribute(xi,"true"),e.body.appendChild(r),r},dd=function(e){return new Promise(function(A){if(e.complete){A();return}if(!e.src){A();return}e.onload=A,e.onerror=A})},fd=function(e){return Promise.all([].slice.call(e.images,0).map(dd))},hd=function(e){return new Promise(function(A,r){var t=e.contentWindow;if(!t)return r("No window assigned for iframe");var n=t.document;t.onload=e.onload=function(){t.onload=e.onload=null;var a=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(a),A(e))},50)}})},wd=["all","d","content"],Zr=function(e,A){for(var r=e.length-1;r>=0;r--){var t=e.item(r);wd.indexOf(t)===-1&&A.style.setProperty(t,e.getPropertyValue(t))}return A},pd=function(e){var A="";return e&&(A+="<!DOCTYPE ",e.name&&(A+=e.name),e.internalSubset&&(A+=e.internalSubset),e.publicId&&(A+='"'+e.publicId+'"'),e.systemId&&(A+='"'+e.systemId+'"'),A+=">"),A},Cd=function(e,A,r){e&&e.defaultView&&(A!==e.defaultView.pageXOffset||r!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(A,r)},Qd=function(e){var A=e[0],r=e[1],t=e[2];A.scrollLeft=r,A.scrollTop=t},md=":before",vd=":after",Sn="___html2canvas___pseudoelement_before",Ln="___html2canvas___pseudoelement_after",Ya=`{+ content: "" !important;+ display: none !important;+}`,Ud=function(e){Fd(e,"."+Sn+md+Ya+`+ .`+Ln+vd+Ya)},Fd=function(e,A){var r=e.ownerDocument;if(r){var t=r.createElement("style");t.textContent=A,e.appendChild(t)}},Ii=(function(){function e(){}return e.getOrigin=function(A){var r=e._link;return r?(r.href=A,r.href=r.href,r.protocol+r.hostname+r.port):"about:blank"},e.isSameOrigin=function(A){return e.getOrigin(A)===e._origin},e.setContext=function(A){e._link=A.document.createElement("a"),e._origin=e.getOrigin(A.location.href)},e._origin="about:blank",e})(),bd=(function(){function e(A,r){this.context=A,this._options=r,this._cache={}}return e.prototype.addImage=function(A){var r=Promise.resolve();return this.has(A)||(qr(A)||Id(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),r},e.prototype.match=function(A){return this._cache[A]},e.prototype.loadImage=function(A){return OA(this,void 0,void 0,function(){var r,t,n,a,s=this;return kA(this,function(o){switch(o.label){case 0:return r=Ii.isSameOrigin(A),t=!zr(A)&&this._options.useCORS===!0&&HA.SUPPORT_CORS_IMAGES&&!r,n=!zr(A)&&!r&&!qr(A)&&typeof this._options.proxy=="string"&&HA.SUPPORT_CORS_XHR&&!t,!r&&this._options.allowTaint===!1&&!zr(A)&&!qr(A)&&!n&&!t?[2]:(a=A,n?[4,this.proxy(a)]:[3,2]);case 1:a=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(l,c){var g=new Image;g.onload=function(){return l(g)},g.onerror=c,(Hd(a)||t)&&(g.crossOrigin="anonymous"),g.src=a,g.complete===!0&&setTimeout(function(){return l(g)},500),s._options.imageTimeout>0&&setTimeout(function(){return c("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},e.prototype.has=function(A){return typeof this._cache[A]<"u"},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(A){var r=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise(function(a,s){var o=HA.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;l.onload=function(){if(l.status===200)if(o==="text")a(l.response);else{var B=new FileReader;B.addEventListener("load",function(){return a(B.result)},!1),B.addEventListener("error",function(u){return s(u)},!1),B.readAsDataURL(l.response)}else s("Failed to proxy resource "+n+" with status code "+l.status)},l.onerror=s;var c=t.indexOf("?")>-1?"&":"?";if(l.open("GET",""+t+c+"url="+encodeURIComponent(A)+"&responseType="+o),o!=="text"&&l instanceof XMLHttpRequest&&(l.responseType=o),r._options.imageTimeout){var g=r._options.imageTimeout;l.timeout=g,l.ontimeout=function(){return s("Timed out ("+g+"ms) proxying "+n)}}l.send()})},e})(),Ed=/^data:image\/svg\+xml/i,yd=/^data:image\/.*;base64,/i,xd=/^data:image\/.*/i,Id=function(e){return HA.SUPPORT_SVG_DRAWING||!Sd(e)},zr=function(e){return xd.test(e)},Hd=function(e){return yd.test(e)},qr=function(e){return e.substr(0,4)==="blob"},Sd=function(e){return e.substr(-3).toLowerCase()==="svg"||Ed.test(e)},V=(function(){function e(A,r){this.type=0,this.x=A,this.y=r}return e.prototype.add=function(A,r){return new e(this.x+A,this.y+r)},e})(),Le=function(e,A,r){return new V(e.x+(A.x-e.x)*r,e.y+(A.y-e.y)*r)},Xt=(function(){function e(A,r,t,n){this.type=1,this.start=A,this.startControl=r,this.endControl=t,this.end=n}return e.prototype.subdivide=function(A,r){var t=Le(this.start,this.startControl,A),n=Le(this.startControl,this.endControl,A),a=Le(this.endControl,this.end,A),s=Le(t,n,A),o=Le(n,a,A),l=Le(s,o,A);return r?new e(this.start,t,s,l):new e(l,o,a,this.end)},e.prototype.add=function(A,r){return new e(this.start.add(A,r),this.startControl.add(A,r),this.endControl.add(A,r),this.end.add(A,r))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e})(),PA=function(e){return e.type===1},Ld=(function(){function e(A){var r=A.styles,t=A.bounds,n=et(r.borderTopLeftRadius,t.width,t.height),a=n[0],s=n[1],o=et(r.borderTopRightRadius,t.width,t.height),l=o[0],c=o[1],g=et(r.borderBottomRightRadius,t.width,t.height),B=g[0],u=g[1],p=et(r.borderBottomLeftRadius,t.width,t.height),Q=p[0],C=p[1],I=[];I.push((a+l)/t.width),I.push((Q+B)/t.width),I.push((s+C)/t.height),I.push((c+u)/t.height);var U=Math.max.apply(Math,I);U>1&&(a/=U,s/=U,l/=U,c/=U,B/=U,u/=U,Q/=U,C/=U);var b=t.width-l,L=t.height-u,S=t.width-B,y=t.height-C,h=r.borderTopWidth,x=r.borderRightWidth,M=r.borderBottomWidth,k=r.borderLeftWidth,R=hA(r.paddingTop,A.bounds.width),O=hA(r.paddingRight,A.bounds.width),Z=hA(r.paddingBottom,A.bounds.width),D=hA(r.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=a>0||s>0?CA(t.left+k/3,t.top+h/3,a-k/3,s-h/3,gA.TOP_LEFT):new V(t.left+k/3,t.top+h/3),this.topRightBorderDoubleOuterBox=a>0||s>0?CA(t.left+b,t.top+h/3,l-x/3,c-h/3,gA.TOP_RIGHT):new V(t.left+t.width-x/3,t.top+h/3),this.bottomRightBorderDoubleOuterBox=B>0||u>0?CA(t.left+S,t.top+L,B-x/3,u-M/3,gA.BOTTOM_RIGHT):new V(t.left+t.width-x/3,t.top+t.height-M/3),this.bottomLeftBorderDoubleOuterBox=Q>0||C>0?CA(t.left+k/3,t.top+y,Q-k/3,C-M/3,gA.BOTTOM_LEFT):new V(t.left+k/3,t.top+t.height-M/3),this.topLeftBorderDoubleInnerBox=a>0||s>0?CA(t.left+k*2/3,t.top+h*2/3,a-k*2/3,s-h*2/3,gA.TOP_LEFT):new V(t.left+k*2/3,t.top+h*2/3),this.topRightBorderDoubleInnerBox=a>0||s>0?CA(t.left+b,t.top+h*2/3,l-x*2/3,c-h*2/3,gA.TOP_RIGHT):new V(t.left+t.width-x*2/3,t.top+h*2/3),this.bottomRightBorderDoubleInnerBox=B>0||u>0?CA(t.left+S,t.top+L,B-x*2/3,u-M*2/3,gA.BOTTOM_RIGHT):new V(t.left+t.width-x*2/3,t.top+t.height-M*2/3),this.bottomLeftBorderDoubleInnerBox=Q>0||C>0?CA(t.left+k*2/3,t.top+y,Q-k*2/3,C-M*2/3,gA.BOTTOM_LEFT):new V(t.left+k*2/3,t.top+t.height-M*2/3),this.topLeftBorderStroke=a>0||s>0?CA(t.left+k/2,t.top+h/2,a-k/2,s-h/2,gA.TOP_LEFT):new V(t.left+k/2,t.top+h/2),this.topRightBorderStroke=a>0||s>0?CA(t.left+b,t.top+h/2,l-x/2,c-h/2,gA.TOP_RIGHT):new V(t.left+t.width-x/2,t.top+h/2),this.bottomRightBorderStroke=B>0||u>0?CA(t.left+S,t.top+L,B-x/2,u-M/2,gA.BOTTOM_RIGHT):new V(t.left+t.width-x/2,t.top+t.height-M/2),this.bottomLeftBorderStroke=Q>0||C>0?CA(t.left+k/2,t.top+y,Q-k/2,C-M/2,gA.BOTTOM_LEFT):new V(t.left+k/2,t.top+t.height-M/2),this.topLeftBorderBox=a>0||s>0?CA(t.left,t.top,a,s,gA.TOP_LEFT):new V(t.left,t.top),this.topRightBorderBox=l>0||c>0?CA(t.left+b,t.top,l,c,gA.TOP_RIGHT):new V(t.left+t.width,t.top),this.bottomRightBorderBox=B>0||u>0?CA(t.left+S,t.top+L,B,u,gA.BOTTOM_RIGHT):new V(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=Q>0||C>0?CA(t.left,t.top+y,Q,C,gA.BOTTOM_LEFT):new V(t.left,t.top+t.height),this.topLeftPaddingBox=a>0||s>0?CA(t.left+k,t.top+h,Math.max(0,a-k),Math.max(0,s-h),gA.TOP_LEFT):new V(t.left+k,t.top+h),this.topRightPaddingBox=l>0||c>0?CA(t.left+Math.min(b,t.width-x),t.top+h,b>t.width+x?0:Math.max(0,l-x),Math.max(0,c-h),gA.TOP_RIGHT):new V(t.left+t.width-x,t.top+h),this.bottomRightPaddingBox=B>0||u>0?CA(t.left+Math.min(S,t.width-k),t.top+Math.min(L,t.height-M),Math.max(0,B-x),Math.max(0,u-M),gA.BOTTOM_RIGHT):new V(t.left+t.width-x,t.top+t.height-M),this.bottomLeftPaddingBox=Q>0||C>0?CA(t.left+k,t.top+Math.min(y,t.height-M),Math.max(0,Q-k),Math.max(0,C-M),gA.BOTTOM_LEFT):new V(t.left+k,t.top+t.height-M),this.topLeftContentBox=a>0||s>0?CA(t.left+k+D,t.top+h+R,Math.max(0,a-(k+D)),Math.max(0,s-(h+R)),gA.TOP_LEFT):new V(t.left+k+D,t.top+h+R),this.topRightContentBox=l>0||c>0?CA(t.left+Math.min(b,t.width+k+D),t.top+h+R,b>t.width+k+D?0:l-k+D,c-(h+R),gA.TOP_RIGHT):new V(t.left+t.width-(x+O),t.top+h+R),this.bottomRightContentBox=B>0||u>0?CA(t.left+Math.min(S,t.width-(k+D)),t.top+Math.min(L,t.height+h+R),Math.max(0,B-(x+O)),u-(M+Z),gA.BOTTOM_RIGHT):new V(t.left+t.width-(x+O),t.top+t.height-(M+Z)),this.bottomLeftContentBox=Q>0||C>0?CA(t.left+k+D,t.top+y,Math.max(0,Q-(k+D)),C-(M+Z),gA.BOTTOM_LEFT):new V(t.left+k+D,t.top+t.height-(M+Z))}return e})(),gA;(function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(gA||(gA={}));var CA=function(e,A,r,t,n){var a=4*((Math.sqrt(2)-1)/3),s=r*a,o=t*a,l=e+r,c=A+t;switch(n){case gA.TOP_LEFT:return new Xt(new V(e,c),new V(e,c-o),new V(l-s,A),new V(l,A));case gA.TOP_RIGHT:return new Xt(new V(e,A),new V(e+s,A),new V(l,c-o),new V(l,c));case gA.BOTTOM_RIGHT:return new Xt(new V(l,A),new V(l,A+o),new V(e+s,c),new V(e,c));case gA.BOTTOM_LEFT:default:return new Xt(new V(l,c),new V(l-s,c),new V(e,A+o),new V(e,A))}},fr=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},kd=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},hr=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},Md=(function(){function e(A,r,t){this.offsetX=A,this.offsetY=r,this.matrix=t,this.type=0,this.target=6}return e})(),Jt=(function(){function e(A,r){this.path=A,this.target=r,this.type=1}return e})(),Kd=(function(){function e(A){this.opacity=A,this.type=2,this.target=6}return e})(),Td=function(e){return e.type===0},Hi=function(e){return e.type===1},Dd=function(e){return e.type===2},Za=function(e,A){return e.length===A.length?e.some(function(r,t){return r===A[t]}):!1},Od=function(e,A,r,t,n){return e.map(function(a,s){switch(s){case 0:return a.add(A,r);case 1:return a.add(A+t,r);case 2:return a.add(A+t,r+n);case 3:return a.add(A,r+n)}return a})},Si=(function(){function e(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e})(),Li=(function(){function e(A,r){if(this.container=A,this.parent=r,this.effects=[],this.curves=new Ld(this.container),this.container.styles.opacity<1&&this.effects.push(new Kd(this.container.styles.opacity)),this.container.styles.transform!==null){var t=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,a=this.container.styles.transform;this.effects.push(new Md(t,n,a))}if(this.container.styles.overflowX!==0){var s=fr(this.curves),o=hr(this.curves);Za(s,o)?this.effects.push(new Jt(s,6)):(this.effects.push(new Jt(s,2)),this.effects.push(new Jt(o,4)))}}return e.prototype.getEffects=function(A){for(var r=[2,3].indexOf(this.container.styles.position)===-1,t=this.parent,n=this.effects.slice(0);t;){var a=t.effects.filter(function(l){return!Hi(l)});if(r||t.container.styles.position!==0||!t.parent){if(n.unshift.apply(n,a),r=[2,3].indexOf(t.container.styles.position)===-1,t.container.styles.overflowX!==0){var s=fr(t.curves),o=hr(t.curves);Za(s,o)||n.unshift(new Jt(o,6))}}else n.unshift.apply(n,a);t=t.parent}return n.filter(function(l){return yA(l.target,A)})},e})(),kn=function(e,A,r,t){e.container.elements.forEach(function(n){var a=yA(n.flags,4),s=yA(n.flags,2),o=new Li(n,e);yA(n.styles.display,2048)&&t.push(o);var l=yA(n.flags,8)?[]:t;if(a||s){var c=a||n.styles.isPositioned()?r:A,g=new Si(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var B=n.styles.zIndex.order;if(B<0){var u=0;c.negativeZIndex.some(function(Q,C){return B>Q.element.container.styles.zIndex.order?(u=C,!1):u>0}),c.negativeZIndex.splice(u,0,g)}else if(B>0){var p=0;c.positiveZIndex.some(function(Q,C){return B>=Q.element.container.styles.zIndex.order?(p=C+1,!1):p>0}),c.positiveZIndex.splice(p,0,g)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(g)}else n.styles.isFloating()?c.nonPositionedFloats.push(g):c.nonPositionedInlineLevel.push(g);kn(o,g,a?g:r,l)}else n.styles.isInlineLevel()?A.inlineLevel.push(o):A.nonInlineLevel.push(o),kn(o,A,r,l);yA(n.flags,8)&&ki(n,l)})},ki=function(e,A){for(var r=e instanceof xn?e.start:1,t=e instanceof xn?e.reversed:!1,n=0;n<A.length;n++){var a=A[n];a.container instanceof hi&&typeof a.container.value=="number"&&a.container.value!==0&&(r=a.container.value),a.listValue=wt(r,a.container.styles.listStyleType,!0),r+=t?-1:1}},Rd=function(e){var A=new Li(e,null),r=new Si(A),t=[];return kn(A,r,r,t),ki(A.container,t),r},za=function(e,A){switch(A){case 0:return JA(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return JA(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return JA(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return JA(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Nd=function(e,A){switch(A){case 0:return JA(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return JA(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return JA(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return JA(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},_d=function(e,A){switch(A){case 0:return JA(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return JA(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return JA(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return JA(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},Gd=function(e,A){switch(A){case 0:return Wt(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Wt(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Wt(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return Wt(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},Wt=function(e,A){var r=[];return PA(e)?r.push(e.subdivide(.5,!1)):r.push(e),PA(A)?r.push(A.subdivide(.5,!0)):r.push(A),r},JA=function(e,A,r,t){var n=[];return PA(e)?n.push(e.subdivide(.5,!1)):n.push(e),PA(r)?n.push(r.subdivide(.5,!0)):n.push(r),PA(t)?n.push(t.subdivide(.5,!0).reverse()):n.push(t),PA(A)?n.push(A.subdivide(.5,!1).reverse()):n.push(A),n},Mi=function(e){var A=e.bounds,r=e.styles;return A.add(r.borderLeftWidth,r.borderTopWidth,-(r.borderRightWidth+r.borderLeftWidth),-(r.borderTopWidth+r.borderBottomWidth))},wr=function(e){var A=e.styles,r=e.bounds,t=hA(A.paddingLeft,r.width),n=hA(A.paddingRight,r.width),a=hA(A.paddingTop,r.width),s=hA(A.paddingBottom,r.width);return r.add(t+A.borderLeftWidth,a+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+t+n),-(A.borderTopWidth+A.borderBottomWidth+a+s))},jd=function(e,A){return e===0?A.bounds:e===2?wr(A):Mi(A)},Vd=function(e,A){return e===0?A.bounds:e===2?wr(A):Mi(A)},$r=function(e,A,r){var t=jd(Ke(e.styles.backgroundOrigin,A),e),n=Vd(Ke(e.styles.backgroundClip,A),e),a=Pd(Ke(e.styles.backgroundSize,A),r,t),s=a[0],o=a[1],l=et(Ke(e.styles.backgroundPosition,A),t.width-s,t.height-o),c=Xd(Ke(e.styles.backgroundRepeat,A),l,a,t,n),g=Math.round(t.left+l[0]),B=Math.round(t.top+l[1]);return[c,g,B,s,o]},ke=function(e){return uA(e)&&e.value===Oe.AUTO},Yt=function(e){return typeof e=="number"},Pd=function(e,A,r){var t=A[0],n=A[1],a=A[2],s=e[0],o=e[1];if(!s)return[0,0];if(EA(s)&&o&&EA(o))return[hA(s,r.width),hA(o,r.height)];var l=Yt(a);if(uA(s)&&(s.value===Oe.CONTAIN||s.value===Oe.COVER)){if(Yt(a)){var c=r.width/r.height;return c<a!=(s.value===Oe.COVER)?[r.width,r.width/a]:[r.height*a,r.height]}return[r.width,r.height]}var g=Yt(t),B=Yt(n),u=g||B;if(ke(s)&&(!o||ke(o))){if(g&&B)return[t,n];if(!l&&!u)return[r.width,r.height];if(u&&l){var p=g?t:n*a,Q=B?n:t/a;return[p,Q]}var C=g?t:r.width,I=B?n:r.height;return[C,I]}if(l){var U=0,b=0;return EA(s)?U=hA(s,r.width):EA(o)&&(b=hA(o,r.height)),ke(s)?U=b*a:(!o||ke(o))&&(b=U/a),[U,b]}var L=null,S=null;if(EA(s)?L=hA(s,r.width):o&&EA(o)&&(S=hA(o,r.height)),L!==null&&(!o||ke(o))&&(S=g&&B?L/t*n:r.height),S!==null&&ke(s)&&(L=g&&B?S/n*t:r.width),L!==null&&S!==null)return[L,S];throw new Error("Unable to calculate background-size for element")},Ke=function(e,A){var r=e[A];return typeof r>"u"?e[0]:r},Xd=function(e,A,r,t,n){var a=A[0],s=A[1],o=r[0],l=r[1];switch(e){case 2:return[new V(Math.round(t.left),Math.round(t.top+s)),new V(Math.round(t.left+t.width),Math.round(t.top+s)),new V(Math.round(t.left+t.width),Math.round(l+t.top+s)),new V(Math.round(t.left),Math.round(l+t.top+s))];case 3:return[new V(Math.round(t.left+a),Math.round(t.top)),new V(Math.round(t.left+a+o),Math.round(t.top)),new V(Math.round(t.left+a+o),Math.round(t.height+t.top)),new V(Math.round(t.left+a),Math.round(t.height+t.top))];case 1:return[new V(Math.round(t.left+a),Math.round(t.top+s)),new V(Math.round(t.left+a+o),Math.round(t.top+s)),new V(Math.round(t.left+a+o),Math.round(t.top+s+l)),new V(Math.round(t.left+a),Math.round(t.top+s+l))];default:return[new V(Math.round(n.left),Math.round(n.top)),new V(Math.round(n.left+n.width),Math.round(n.top)),new V(Math.round(n.left+n.width),Math.round(n.height+n.top)),new V(Math.round(n.left),Math.round(n.height+n.top))]}},Jd="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",qa="Hidden Text",Wd=(function(){function e(A){this._data={},this._document=A}return e.prototype.parseMetrics=function(A,r){var t=this._document.createElement("div"),n=this._document.createElement("img"),a=this._document.createElement("span"),s=this._document.body;t.style.visibility="hidden",t.style.fontFamily=A,t.style.fontSize=r,t.style.margin="0",t.style.padding="0",t.style.whiteSpace="nowrap",s.appendChild(t),n.src=Jd,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",a.style.fontFamily=A,a.style.fontSize=r,a.style.margin="0",a.style.padding="0",a.appendChild(this._document.createTextNode(qa)),t.appendChild(a),t.appendChild(n);var o=n.offsetTop-a.offsetTop+2;t.removeChild(a),t.appendChild(this._document.createTextNode(qa)),t.style.lineHeight="normal",n.style.verticalAlign="super";var l=n.offsetTop-t.offsetTop+2;return s.removeChild(t),{baseline:o,middle:l}},e.prototype.getMetrics=function(A,r){var t=A+" "+r;return typeof this._data[t]>"u"&&(this._data[t]=this.parseMetrics(A,r)),this._data[t]},e})(),Ki=(function(){function e(A,r){this.context=A,this.options=r}return e})(),Yd=1e4,Zd=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n._activeEffects=[],n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),t.canvas||(n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px"),n.fontMetrics=new Wd(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+t.width+"x"+t.height+") with scale "+t.scale),n}return A.prototype.applyEffects=function(r){for(var t=this;this._activeEffects.length;)this.popEffect();r.forEach(function(n){return t.applyEffect(n)})},A.prototype.applyEffect=function(r){this.ctx.save(),Dd(r)&&(this.ctx.globalAlpha=r.opacity),Td(r)&&(this.ctx.translate(r.offsetX,r.offsetY),this.ctx.transform(r.matrix[0],r.matrix[1],r.matrix[2],r.matrix[3],r.matrix[4],r.matrix[5]),this.ctx.translate(-r.offsetX,-r.offsetY)),Hi(r)&&(this.path(r.path),this.ctx.clip()),this._activeEffects.push(r)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(r){return OA(this,void 0,void 0,function(){var t;return kA(this,function(n){switch(n.label){case 0:return t=r.element.container.styles,t.isVisible()?[4,this.renderStackContent(r)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(r){return OA(this,void 0,void 0,function(){return kA(this,function(t){switch(t.label){case 0:if(yA(r.container.flags,16))debugger;return r.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(r)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(r)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(r,t,n){var a=this;if(t===0)this.ctx.fillText(r.text,r.bounds.left,r.bounds.top+n);else{var s=_n(r.text);s.reduce(function(o,l){return a.ctx.fillText(l,o,r.bounds.top+n),o+a.ctx.measureText(l).width},r.bounds.left)}},A.prototype.createFontStyle=function(r){var t=r.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),n=ef(r.fontFamily).join(", "),a=Ut(r.fontSize)?""+r.fontSize.number+r.fontSize.unit:r.fontSize.number+"px";return[[r.fontStyle,t,r.fontWeight,a,n].join(" "),n,a]},A.prototype.renderTextNode=function(r,t){return OA(this,void 0,void 0,function(){var n,a,s,o,l,c,g,B,u=this;return kA(this,function(p){return n=this.createFontStyle(t),a=n[0],s=n[1],o=n[2],this.ctx.font=a,this.ctx.direction=t.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",l=this.fontMetrics.getMetrics(s,o),c=l.baseline,g=l.middle,B=t.paintOrder,r.textBounds.forEach(function(Q){B.forEach(function(C){switch(C){case 0:u.ctx.fillStyle=xA(t.color),u.renderTextWithLetterSpacing(Q,t.letterSpacing,c);var I=t.textShadow;I.length&&Q.text.trim().length&&(I.slice(0).reverse().forEach(function(U){u.ctx.shadowColor=xA(U.color),u.ctx.shadowOffsetX=U.offsetX.number*u.options.scale,u.ctx.shadowOffsetY=U.offsetY.number*u.options.scale,u.ctx.shadowBlur=U.blur.number,u.renderTextWithLetterSpacing(Q,t.letterSpacing,c)}),u.ctx.shadowColor="",u.ctx.shadowOffsetX=0,u.ctx.shadowOffsetY=0,u.ctx.shadowBlur=0),t.textDecorationLine.length&&(u.ctx.fillStyle=xA(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(U){switch(U){case 1:u.ctx.fillRect(Q.bounds.left,Math.round(Q.bounds.top+c),Q.bounds.width,1);break;case 2:u.ctx.fillRect(Q.bounds.left,Math.round(Q.bounds.top),Q.bounds.width,1);break;case 3:u.ctx.fillRect(Q.bounds.left,Math.ceil(Q.bounds.top+g),Q.bounds.width,1);break}}));break;case 1:t.webkitTextStrokeWidth&&Q.text.trim().length&&(u.ctx.strokeStyle=xA(t.webkitTextStrokeColor),u.ctx.lineWidth=t.webkitTextStrokeWidth,u.ctx.lineJoin=window.chrome?"miter":"round",u.ctx.strokeText(Q.text,Q.bounds.left,Q.bounds.top+c)),u.ctx.strokeStyle="",u.ctx.lineWidth=0,u.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(r,t,n){if(n&&r.intrinsicWidth>0&&r.intrinsicHeight>0){var a=wr(r),s=hr(t);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,r.intrinsicWidth,r.intrinsicHeight,a.left,a.top,a.width,a.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(r){return OA(this,void 0,void 0,function(){var t,n,a,s,o,l,b,b,c,g,B,u,S,p,Q,y,C,I,U,b,L,S,y;return kA(this,function(h){switch(h.label){case 0:this.applyEffects(r.getEffects(4)),t=r.container,n=r.curves,a=t.styles,s=0,o=t.textNodes,h.label=1;case 1:return s<o.length?(l=o[s],[4,this.renderTextNode(l,a)]):[3,4];case 2:h.sent(),h.label=3;case 3:return s++,[3,1];case 4:if(!(t instanceof Bi))return[3,8];h.label=5;case 5:return h.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return b=h.sent(),this.renderReplacedElement(t,n,b),[3,8];case 7:return h.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof di&&this.renderReplacedElement(t,n,t.canvas),!(t instanceof fi))return[3,12];h.label=9;case 9:return h.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return b=h.sent(),this.renderReplacedElement(t,n,b),[3,12];case 11:return h.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof Ci&&t.tree?(c=new A(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}),[4,c.render(t.tree)]):[3,14];case 13:g=h.sent(),t.width&&t.height&&this.ctx.drawImage(g,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),h.label=14;case 14:if(t instanceof Gn&&(B=Math.min(t.bounds.width,t.bounds.height),t.type===gr?t.checked&&(this.ctx.save(),this.path([new V(t.bounds.left+B*.39363,t.bounds.top+B*.79),new V(t.bounds.left+B*.16,t.bounds.top+B*.5549),new V(t.bounds.left+B*.27347,t.bounds.top+B*.44071),new V(t.bounds.left+B*.39694,t.bounds.top+B*.5649),new V(t.bounds.left+B*.72983,t.bounds.top+B*.23),new V(t.bounds.left+B*.84,t.bounds.top+B*.34085),new V(t.bounds.left+B*.39363,t.bounds.top+B*.79)]),this.ctx.fillStyle=xA(Ra),this.ctx.fill(),this.ctx.restore()):t.type===ur&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+B/2,t.bounds.top+B/2,B/4,0,Math.PI*2,!0),this.ctx.fillStyle=xA(Ra),this.ctx.fill(),this.ctx.restore())),zd(t)&&t.value.length){switch(u=this.createFontStyle(a),S=u[0],p=u[1],Q=this.fontMetrics.getMetrics(S,p).baseline,this.ctx.font=S,this.ctx.fillStyle=xA(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=$d(t.styles.textAlign),y=wr(t),C=0,t.styles.textAlign){case 1:C+=y.width/2;break;case 2:C+=y.width;break}I=y.add(C,0,0,-y.height/2+1),this.ctx.save(),this.path([new V(y.left,y.top),new V(y.left+y.width,y.top),new V(y.left+y.width,y.top+y.height),new V(y.left,y.top+y.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new lt(t.value,I),a.letterSpacing,Q),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!yA(t.styles.display,2048))return[3,20];if(t.styles.listStyleImage===null)return[3,19];if(U=t.styles.listStyleImage,U.type!==0)return[3,18];b=void 0,L=U.url,h.label=15;case 15:return h.trys.push([15,17,,18]),[4,this.context.cache.match(L)];case 16:return b=h.sent(),this.ctx.drawImage(b,t.bounds.left-(b.width+10),t.bounds.top),[3,18];case 17:return h.sent(),this.context.logger.error("Error loading list-style-image "+L),[3,18];case 18:return[3,20];case 19:r.listValue&&t.styles.listStyleType!==-1&&(S=this.createFontStyle(a)[0],this.ctx.font=S,this.ctx.fillStyle=xA(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",y=new ie(t.bounds.left,t.bounds.top+hA(t.styles.paddingTop,t.bounds.width),t.bounds.width,va(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new lt(r.listValue,y),a.letterSpacing,va(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),h.label=20;case 20:return[2]}})})},A.prototype.renderStackContent=function(r){return OA(this,void 0,void 0,function(){var t,n,U,a,s,U,o,l,U,c,g,U,B,u,U,p,Q,U,C,I,U;return kA(this,function(b){switch(b.label){case 0:if(yA(r.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(r.element)];case 1:b.sent(),t=0,n=r.negativeZIndex,b.label=2;case 2:return t<n.length?(U=n[t],[4,this.renderStack(U)]):[3,5];case 3:b.sent(),b.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(r.element)];case 6:b.sent(),a=0,s=r.nonInlineLevel,b.label=7;case 7:return a<s.length?(U=s[a],[4,this.renderNode(U)]):[3,10];case 8:b.sent(),b.label=9;case 9:return a++,[3,7];case 10:o=0,l=r.nonPositionedFloats,b.label=11;case 11:return o<l.length?(U=l[o],[4,this.renderStack(U)]):[3,14];case 12:b.sent(),b.label=13;case 13:return o++,[3,11];case 14:c=0,g=r.nonPositionedInlineLevel,b.label=15;case 15:return c<g.length?(U=g[c],[4,this.renderStack(U)]):[3,18];case 16:b.sent(),b.label=17;case 17:return c++,[3,15];case 18:B=0,u=r.inlineLevel,b.label=19;case 19:return B<u.length?(U=u[B],[4,this.renderNode(U)]):[3,22];case 20:b.sent(),b.label=21;case 21:return B++,[3,19];case 22:p=0,Q=r.zeroOrAutoZIndexOrTransformedOrOpacity,b.label=23;case 23:return p<Q.length?(U=Q[p],[4,this.renderStack(U)]):[3,26];case 24:b.sent(),b.label=25;case 25:return p++,[3,23];case 26:C=0,I=r.positiveZIndex,b.label=27;case 27:return C<I.length?(U=I[C],[4,this.renderStack(U)]):[3,30];case 28:b.sent(),b.label=29;case 29:return C++,[3,27];case 30:return[2]}})})},A.prototype.mask=function(r){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(r.slice(0).reverse()),this.ctx.closePath()},A.prototype.path=function(r){this.ctx.beginPath(),this.formatPath(r),this.ctx.closePath()},A.prototype.formatPath=function(r){var t=this;r.forEach(function(n,a){var s=PA(n)?n.start:n;a===0?t.ctx.moveTo(s.x,s.y):t.ctx.lineTo(s.x,s.y),PA(n)&&t.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},A.prototype.renderRepeat=function(r,t,n,a){this.path(r),this.ctx.fillStyle=t,this.ctx.translate(n,a),this.ctx.fill(),this.ctx.translate(-n,-a)},A.prototype.resizeImage=function(r,t,n){var a;if(r.width===t&&r.height===n)return r;var s=(a=this.canvas.ownerDocument)!==null&&a!==void 0?a:document,o=s.createElement("canvas");o.width=Math.max(1,t),o.height=Math.max(1,n);var l=o.getContext("2d");return l.drawImage(r,0,0,r.width,r.height,0,0,t,n),o},A.prototype.renderBackgroundImage=function(r){return OA(this,void 0,void 0,function(){var t,n,a,s,o,l;return kA(this,function(c){switch(c.label){case 0:t=r.styles.backgroundImage.length-1,n=function(g){var B,u,p,R,tA,AA,D,z,M,Q,R,tA,AA,D,z,C,I,U,b,L,S,y,h,x,M,k,R,O,Z,D,z,eA,tA,AA,dA,aA,q,lA,sA,H,j,_;return kA(this,function(F){switch(F.label){case 0:if(g.type!==0)return[3,5];B=void 0,u=g.url,F.label=1;case 1:return F.trys.push([1,3,,4]),[4,a.context.cache.match(u)];case 2:return B=F.sent(),[3,4];case 3:return F.sent(),a.context.logger.error("Error loading background-image "+u),[3,4];case 4:return B&&(p=$r(r,t,[B.width,B.height,B.width/B.height]),R=p[0],tA=p[1],AA=p[2],D=p[3],z=p[4],M=a.ctx.createPattern(a.resizeImage(B,D,z),"repeat"),a.renderRepeat(R,M,tA,AA)),[3,6];case 5:Tg(g)?(Q=$r(r,t,[null,null,null]),R=Q[0],tA=Q[1],AA=Q[2],D=Q[3],z=Q[4],C=Sg(g.angle,D,z),I=C[0],U=C[1],b=C[2],L=C[3],S=C[4],y=document.createElement("canvas"),y.width=D,y.height=z,h=y.getContext("2d"),x=h.createLinearGradient(U,L,b,S),Qa(g.stops,I).forEach(function(N){return x.addColorStop(N.stop,xA(N.color))}),h.fillStyle=x,h.fillRect(0,0,D,z),D>0&&z>0&&(M=a.ctx.createPattern(y,"repeat"),a.renderRepeat(R,M,tA,AA))):Dg(g)&&(k=$r(r,t,[null,null,null]),R=k[0],O=k[1],Z=k[2],D=k[3],z=k[4],eA=g.position.length===0?[On]:g.position,tA=hA(eA[0],D),AA=hA(eA[eA.length-1],z),dA=Lg(g,tA,AA,D,z),aA=dA[0],q=dA[1],aA>0&&q>0&&(lA=a.ctx.createRadialGradient(O+tA,Z+AA,0,O+tA,Z+AA,aA),Qa(g.stops,aA*2).forEach(function(N){return lA.addColorStop(N.stop,xA(N.color))}),a.path(R),a.ctx.fillStyle=lA,aA!==q?(sA=r.bounds.left+.5*r.bounds.width,H=r.bounds.top+.5*r.bounds.height,j=q/aA,_=1/j,a.ctx.save(),a.ctx.translate(sA,H),a.ctx.transform(1,0,0,j,0,0),a.ctx.translate(-sA,-H),a.ctx.fillRect(O,_*(Z-H)+H,D,z*_),a.ctx.restore()):a.ctx.fill())),F.label=6;case 6:return t--,[2]}})},a=this,s=0,o=r.styles.backgroundImage.slice(0).reverse(),c.label=1;case 1:return s<o.length?(l=o[s],[5,n(l)]):[3,4];case 2:c.sent(),c.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},A.prototype.renderSolidBorder=function(r,t,n){return OA(this,void 0,void 0,function(){return kA(this,function(a){return this.path(za(n,t)),this.ctx.fillStyle=xA(r),this.ctx.fill(),[2]})})},A.prototype.renderDoubleBorder=function(r,t,n,a){return OA(this,void 0,void 0,function(){var s,o;return kA(this,function(l){switch(l.label){case 0:return t<3?[4,this.renderSolidBorder(r,n,a)]:[3,2];case 1:return l.sent(),[2];case 2:return s=Nd(a,n),this.path(s),this.ctx.fillStyle=xA(r),this.ctx.fill(),o=_d(a,n),this.path(o),this.ctx.fill(),[2]}})})},A.prototype.renderNodeBackgroundAndBorders=function(r){return OA(this,void 0,void 0,function(){var t,n,a,s,o,l,c,g,B=this;return kA(this,function(u){switch(u.label){case 0:return this.applyEffects(r.getEffects(2)),t=r.container.styles,n=!we(t.backgroundColor)||t.backgroundImage.length,a=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],s=qd(Ke(t.backgroundClip,0),r.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),we(t.backgroundColor)||(this.ctx.fillStyle=xA(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(r.container)]):[3,2];case 1:u.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach(function(p){B.ctx.save();var Q=fr(r.curves),C=p.inset?0:Yd,I=Od(Q,-C+(p.inset?1:-1)*p.spread.number,(p.inset?1:-1)*p.spread.number,p.spread.number*(p.inset?-2:2),p.spread.number*(p.inset?-2:2));p.inset?(B.path(Q),B.ctx.clip(),B.mask(I)):(B.mask(Q),B.ctx.clip(),B.path(I)),B.ctx.shadowOffsetX=p.offsetX.number+C,B.ctx.shadowOffsetY=p.offsetY.number,B.ctx.shadowColor=xA(p.color),B.ctx.shadowBlur=p.blur.number,B.ctx.fillStyle=p.inset?xA(p.color):"rgba(0,0,0,1)",B.ctx.fill(),B.ctx.restore()}),u.label=2;case 2:o=0,l=0,c=a,u.label=3;case 3:return l<c.length?(g=c[l],g.style!==0&&!we(g.color)&&g.width>0?g.style!==2?[3,5]:[4,this.renderDashedDottedBorder(g.color,g.width,o,r.curves,2)]:[3,11]):[3,13];case 4:return u.sent(),[3,11];case 5:return g.style!==3?[3,7]:[4,this.renderDashedDottedBorder(g.color,g.width,o,r.curves,3)];case 6:return u.sent(),[3,11];case 7:return g.style!==4?[3,9]:[4,this.renderDoubleBorder(g.color,g.width,o,r.curves)];case 8:return u.sent(),[3,11];case 9:return[4,this.renderSolidBorder(g.color,o,r.curves)];case 10:u.sent(),u.label=11;case 11:o++,u.label=12;case 12:return l++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(r,t,n,a,s){return OA(this,void 0,void 0,function(){var o,l,c,g,B,u,p,Q,C,I,U,b,L,S,y,h,y,h;return kA(this,function(x){return this.ctx.save(),o=Gd(a,n),l=za(a,n),s===2&&(this.path(l),this.ctx.clip()),PA(l[0])?(c=l[0].start.x,g=l[0].start.y):(c=l[0].x,g=l[0].y),PA(l[1])?(B=l[1].end.x,u=l[1].end.y):(B=l[1].x,u=l[1].y),n===0||n===2?p=Math.abs(c-B):p=Math.abs(g-u),this.ctx.beginPath(),s===3?this.formatPath(o):this.formatPath(l.slice(0,2)),Q=t<3?t*3:t*2,C=t<3?t*2:t,s===3&&(Q=t,C=t),I=!0,p<=Q*2?I=!1:p<=Q*2+C?(U=p/(2*Q+C),Q*=U,C*=U):(b=Math.floor((p+C)/(Q+C)),L=(p-b*Q)/(b-1),S=(p-(b+1)*Q)/b,C=S<=0||Math.abs(C-L)<Math.abs(C-S)?L:S),I&&(s===3?this.ctx.setLineDash([0,Q+C]):this.ctx.setLineDash([Q,C])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=t*2+1.1,this.ctx.strokeStyle=xA(r),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(PA(l[0])&&(y=l[3],h=l[0],this.ctx.beginPath(),this.formatPath([new V(y.end.x,y.end.y),new V(h.start.x,h.start.y)]),this.ctx.stroke()),PA(l[1])&&(y=l[1],h=l[2],this.ctx.beginPath(),this.formatPath([new V(y.end.x,y.end.y),new V(h.start.x,h.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},A.prototype.render=function(r){return OA(this,void 0,void 0,function(){var t;return kA(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=xA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=Rd(r),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},A})(Ki),zd=function(e){return e instanceof pi||e instanceof wi?!0:e instanceof Gn&&e.type!==ur&&e.type!==gr},qd=function(e,A){switch(e){case 0:return fr(A);case 2:return kd(A);default:return hr(A)}},$d=function(e){switch(e){case 1:return"center";case 2:return"right";default:return"left"}},Af=["-apple-system","system-ui"],ef=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(A){return Af.indexOf(A)===-1}):e},tf=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=t,n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+t.width+"x"+t.height+" at "+t.x+","+t.y+") with scale "+t.scale),n}return A.prototype.render=function(r){return OA(this,void 0,void 0,function(){var t,n;return kA(this,function(a){switch(a.label){case 0:return t=yn(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,r),[4,rf(t)];case 1:return n=a.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=xA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},A})(Ki),rf=function(e){return new Promise(function(A,r){var t=new Image;t.onload=function(){A(t)},t.onerror=r,t.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},nf=(function(){function e(A){var r=A.id,t=A.enabled;this.id=r,this.enabled=t,this.start=Date.now()}return e.prototype.debug=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,yt([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,yt([this.id,this.getTime()+"ms"],A))},e.prototype.warn=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,yt([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.prototype.error=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,yt([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.instances={},e})(),af=(function(){function e(A,r){var t;this.windowBounds=r,this.instanceName="#"+e.instanceCount++,this.logger=new nf({id:this.instanceName,enabled:A.logging}),this.cache=(t=A.cache)!==null&&t!==void 0?t:new bd(this,A)}return e.instanceCount=1,e})(),sf=function(e,A){return A===void 0&&(A={}),of(e,A)};typeof window<"u"&&Ii.setContext(window);var of=function(e,A){return OA(void 0,void 0,void 0,function(){var r,t,n,a,s,o,l,c,g,B,u,p,Q,C,I,U,b,L,S,y,x,h,x,M,k,R,O,Z,D,z,eA,tA,AA,dA,aA,q,lA,sA,H,j;return kA(this,function(_){switch(_.label){case 0:if(!e||typeof e!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(r=e.ownerDocument,!r)throw new Error("Element is not attached to a Document");if(t=r.defaultView,!t)throw new Error("Document is not attached to a Window");return n={allowTaint:(M=A.allowTaint)!==null&&M!==void 0?M:!1,imageTimeout:(k=A.imageTimeout)!==null&&k!==void 0?k:15e3,proxy:A.proxy,useCORS:(R=A.useCORS)!==null&&R!==void 0?R:!1},a=un({logging:(O=A.logging)!==null&&O!==void 0?O:!0,cache:A.cache},n),s={windowWidth:(Z=A.windowWidth)!==null&&Z!==void 0?Z:t.innerWidth,windowHeight:(D=A.windowHeight)!==null&&D!==void 0?D:t.innerHeight,scrollX:(z=A.scrollX)!==null&&z!==void 0?z:t.pageXOffset,scrollY:(eA=A.scrollY)!==null&&eA!==void 0?eA:t.pageYOffset},o=new ie(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),l=new af(a,o),c=(tA=A.foreignObjectRendering)!==null&&tA!==void 0?tA:!1,g={allowTaint:(AA=A.allowTaint)!==null&&AA!==void 0?AA:!1,onclone:A.onclone,ignoreElements:A.ignoreElements,inlineImages:c,copyStyles:c},l.logger.debug("Starting document clone with size "+o.width+"x"+o.height+" scrolled to "+-o.left+","+-o.top),B=new Wa(l,e,g),u=B.clonedReferenceElement,u?[4,B.toIFrame(r,o)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return p=_.sent(),Q=jn(u)||od(u)?Ol(u.ownerDocument):Qr(l,u),C=Q.width,I=Q.height,U=Q.left,b=Q.top,L=lf(l,u,A.backgroundColor),S={canvas:A.canvas,backgroundColor:L,scale:(aA=(dA=A.scale)!==null&&dA!==void 0?dA:t.devicePixelRatio)!==null&&aA!==void 0?aA:1,x:((q=A.x)!==null&&q!==void 0?q:0)+U,y:((lA=A.y)!==null&&lA!==void 0?lA:0)+b,width:(sA=A.width)!==null&&sA!==void 0?sA:Math.ceil(C),height:(H=A.height)!==null&&H!==void 0?H:Math.ceil(I)},c?(l.logger.debug("Document cloned, using foreign object rendering"),x=new tf(l,S),[4,x.render(u)]):[3,3];case 2:return y=_.sent(),[3,5];case 3:return l.logger.debug("Document cloned, element located at "+U+","+b+" with size "+C+"x"+I+" using computed rendering"),l.logger.debug("Starting DOM parsing"),h=mi(l,u),L===h.styles.backgroundColor&&(h.styles.backgroundColor=se.TRANSPARENT),l.logger.debug("Starting renderer for element at "+S.x+","+S.y+" with size "+S.width+"x"+S.height),x=new Zd(l,S),[4,x.render(h)];case 4:y=_.sent(),_.label=5;case 5:return(!((j=A.removeContainer)!==null&&j!==void 0)||j)&&(Wa.destroy(p)||l.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),l.logger.debug("Finished rendering"),[2,y]}})})},lf=function(e,A,r){var t=A.ownerDocument,n=t.documentElement?it(e,getComputedStyle(t.documentElement).backgroundColor):se.TRANSPARENT,a=t.body?it(e,getComputedStyle(t.body).backgroundColor):se.TRANSPARENT,s=typeof r=="string"?it(e,r):r===null?se.TRANSPARENT:4294967295;return A===t.documentElement?we(n)?we(a)?s:a:n:s},An={body:{background:"rgb(32, 32, 32)"},rbgcpInputLabel:{color:"rgb(212, 212, 212)"},rbgcpControlBtnWrapper:{background:"rgb(54, 54, 54)"},rbgcpInput:{border:"none",color:"white",background:"rgb(54, 54, 54)"},rbgcpControlBtn:{color:"rgb(212, 212, 212)"},rbgcpControlIcon:{stroke:"rgb(212, 212, 212)"},rbgcpControlIcon2:{fill:"rgb(212, 212, 212)"},rbgcpControlInput:{color:"white"},rbgcpControlBtnSelected:{background:"black",color:"#568cf5"},rbgcpDegreeIcon:{color:"rgb(212, 212, 212)"},rbgcpColorModelDropdown:{background:"rgb(32, 32, 32)"},rbgcpComparibleLabel:{color:"rgb(212, 212, 212)"}},IA=function(){return IA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},IA.apply(this,arguments)},cf={body:{boxSizing:"border-box",background:"rgb(255, 255, 255)"},rbgcpControlBtn:{paddingLeft:"8px",paddingRight:"8px",lineHeight:"1",borderRadius:"4px",fontWeight:700,fontSize:"12px",height:"24px",transition:"all 160ms ease",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(255, 255, 255, 0)",boxShadow:"1px 1px 3px rgba(0, 0, 0, 0)",color:"rgb(86, 86, 86)"},rbgcpControlIcon:{stroke:"rgb(50, 49, 54)"},rbgcpControlIconBtn:{width:"30px",height:"24px",borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},rbgcpControlBtnWrapper:{height:"28px",background:"#e9e9f5",borderRadius:"6px",padding:"2px",display:"flex",justifyContent:"center",alignItems:"center",position:"relative"},rbgcpColorModelDropdown:{position:"absolute",right:"-2px",top:"34px",padding:"5px",background:"#e9e9f5",zIndex:1e8,borderRadius:"6px",boxShadow:"1px 1px 14px 1px rgba(0, 0, 0, 0.25)"},rbgcpEyedropperCover:{position:"fixed",left:"0px",top:"0px",zIndex:1e8,width:"100vw",height:"100vh",cursor:"copy"},rbgcpControlInput:{height:"24px",borderRadius:"4px",border:"none",outline:"none",textAlign:"center",width:"34px",fontWeight:500,color:"rgb(50, 49, 54)",fontSize:"13px",background:"transparent"},rbgcpInputLabel:{textAlign:"center",lineHeight:"1.2",fontWeight:700,color:"rgb(86, 86, 86)",fontSize:"11px"},rbgcpInput:{height:"32px",borderRadius:"6px",border:"1px solid #bebebe",width:"100%",padding:"2px",outline:"none",color:"black",fontWeight:400,textAlign:"center",background:"transparent",fontSize:"15px"},rbgcpHandle:{position:"absolute",border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0, 0, 0, 0.5)",width:"18px",height:"18px",zIndex:1e3,transition:"all 30ms linear",boxSizing:"border-box",willChange:"transform",outline:"none"},rbgcpCanvasWrapper:{borderRadius:"6px",overflow:"hidden",height:"294px"},rbgcpCheckered:{background:`linear-gradient(+ 45deg,+ rgba(0, 0, 0, 0.18) 25%,+ transparent 25%,+ transparent 75%,+ rgba(0, 0, 0, 0.18) 75%,+ rgba(0, 0, 0, 0.18) 0+ ),+ linear-gradient(+ 45deg,+ rgba(0, 0, 0, 0.18) 25%,+ transparent 25%,+ transparent 75%,+ rgba(0, 0, 0, 0.18) 75%,+ rgba(0, 0, 0, 0.18) 0+ ),+ white`,backgroundRepeat:"repeat, repeat",backgroundPosition:"0px 0, 7px 7px",transformOrigin:"0 0 0",backgroundOrigin:"padding-box, padding-box",backgroundClip:"border-box, border-box",backgroundSize:"14px 14px, 14px 14px",boxShadow:"none",textShadow:"none",transition:"none",transform:"scaleX(1) scaleY(1) scaleZ(1)",borderRadius:"10px"},rbgcpOpacityOverlay:{position:"absolute",left:"0px",top:"0px",width:"100%",height:"100%",borderRadius:"10px"},rbgcpGradientHandleWrap:{position:"absolute",zIndex:1e4,top:"-2px",outline:"none"},rbgcpGradientHandle:{border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0, 0, 0, 0.5)",width:"18px",height:"18px",display:"flex",alignItems:"center",justifyContent:"center"},rbgcpControlIcon2:{fill:"#323136"},rbgcpControlBtnSelected:{background:"white",color:"#568cf5",boxShadow:"1px 1px 3px rgba(0, 0, 0, 0.2)"},rbgcpComparibleLabel:{color:"#323136"}},gf=function(e,A){var r=IA({},cf);if(e)for(var t in An)Object.prototype.hasOwnProperty.call(An,t)&&(r[t]=IA(IA({},Object.prototype.hasOwnProperty.call(r,t)?r[t]:{}),An[t]));for(var t in A)Object.prototype.hasOwnProperty.call(A,t)&&(r[t]=IA(IA({},Object.prototype.hasOwnProperty.call(r,t)?r[t]:{}),A[t]));return r},$a=function(e,A){return e?IA(IA({},A.rbgcpControlBtn),A.rbgcpControlBtnSelected):IA({},A.rbgcpControlBtn)},gt=function(e,A){return e?IA(IA({},A.rbgcpControlIconBtn),A.rbgcpControlBtnSelected):IA({},A.rbgcpControlIconBtn)},Zt=function(e,A){return e?IA(IA(IA({},A.rbgcpControlBtn),A.rbgcpColorModelDropdownBtn),A.rbgcpControlBtnSelected):IA(IA({},A.rbgcpControlBtn),A.rbgcpColorModelDropdownBtn)},$A=function(){return $A=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},$A.apply(this,arguments)},uf=function(e){var A=e.color,r=BA().defaultStyles,t=A??"";return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:16}},m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:$A($A({fill:"none",strokeWidth:"1.4px"},r.rbgcpControlIcon),t&&{stroke:t}),d:"M15.6,7h0L7.78,14.86c-.37.37-1.61.38-2,.75s-.5,1.53-.76,2a3.53,3.53,0,0,1-.52.52,1.6,1.6,0,0,1-2.27-.06l-.32-.32a1.61,1.61,0,0,1-.06-2.27A3.25,3.25,0,0,1,2.4,15c.47-.26,1.65-.35,2-.73s.34-1.64.71-2c1.68-1.73,5.61-5.65,7.91-7.93h0l1.14,1.38L15.6,7Z"}),m.createElement("polygon",{strokeLinecap:"round",strokeLinejoin:"round",style:$A($A({strokeWidth:"1.4px"},r.rbgcpControlIcon2),t&&{stroke:t,fill:t}),points:"15.7 8.87 11.13 4.29 12.69 2.73 17.25 7.31 15.7 8.87"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:$A($A({strokeWidth:"1.4px"},r.rbgcpControlIcon2),t&&{stroke:t,fill:t}),d:"M18.18,3.71,16.36,5.53a1.33,1.33,0,0,1-1.88,0h0a1.34,1.34,0,0,1,0-1.89l1.81-1.82a1.34,1.34,0,0,1,1.89,0h0A1.34,1.34,0,0,1,18.18,3.71Z"}))},Bf=function(e){var A=e.onSelect,r=BA().defaultStyles,t=E.useState(null),n=t[0],a=t[1],s=E.useState(!1),o=s[0],l=s[1],c=E.useState(!1),g=c[0],B=c[1],u=function(){var C=document.getElementById("root");l(!0),sf(C).then(function(I){var U=document.createElement("canvas"),b=U.getContext("2d",{willReadFrequently:!0});C&&b&&(U.width=C.offsetWidth*2,U.height=C.offsetHeight*2,b.drawImage(I,0,0)),a(b)})},p=function(C){if(C.stopPropagation(),n){var I=C.pageX,U=C.pageY,b=I*2,L=U*2,S=n.getImageData(b,L,1,1).data;A("rgba(".concat(S[0],", ").concat(S[1],", ").concat(S[2],", 1)"))}B(!1),l(!1)},Q=function(){if(B(!0),!window.EyeDropper)u();else{var C=new window.EyeDropper,I=new window.AbortController;C.open({signal:I.signal}).then(function(U){var b=SA(U.sRGBHex),L=b.toRgb(),S=L.r,y=L.g,h=L.b;A("rgba(".concat(S,", ").concat(y,", ").concat(h,", 1)")),B(!1)}).catch(function(U){console.log(U),B(!1)})}};return m.createElement("div",null,m.createElement("div",{onClick:Q,id:"rbgcp-eyedropper-btn",style:$A($A({},r.rbgcpEyedropperBtn),gt(o,r))},m.createElement(uf,{color:g?"rgb(86, 140, 245)":""})),o&&m.createElement(Dl,null,m.createElement("div",{onClick:function(C){return p(C)},style:r.rbgcpEyedropperCover})))},Mn=function(){return Mn=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Mn.apply(this,arguments)},en=function(e){var A=e.value,r=e.reffy,t=e.label,n=e.config,a=e.callback,s=e.squareWidth,o=e.openAdvanced,l=e.defaultStyles,c=e.pickerIdSuffix,g=n.barSize,B=E.useState(!1),u=B[0],p=B[1],Q=E.useState(2),C=Q[0],I=Q[1],U=A*(s-18);E.useEffect(function(){var h;I(((h=r?.current)===null||h===void 0?void 0:h.offsetTop)-2)},[o,r]);var b=function(){p(!1)},L=function(h){u&&a(Ne(h,g))},S=function(h){u||a(Ne(h,g))},y=function(){p(!0)};return E.useEffect(function(){var h=function(){b()};return window.addEventListener("mouseup",h),function(){window.removeEventListener("mouseup",h)}},[]),m.createElement("div",{style:{width:"100%",padding:"3px 0px 3px 0px"}},m.createElement("div",{onMouseMove:function(h){return L(h)},style:{cursor:"resize",position:"relative"},id:"rbgcp-advanced-bar-".concat(t,"-wrapper").concat(c)},m.createElement("div",{style:Mn({left:U,top:C},l.rbgcpHandle),id:"rbgcp-advanced-bar-".concat(t,"-handle").concat(c),onMouseDown:y,role:"button",tabIndex:0}),m.createElement("div",{style:{textAlign:"center",color:"#fff",fontSize:12,fontWeight:500,lineHeight:1,position:"absolute",left:"50%",transform:"translate(-50%, 0%)",top:C+2,zIndex:10,textShadow:"1px 1px 1px rgba(0,0,0,.6)"},id:"rbgcp-advanced-bar-".concat(t,"-label").concat(c),onMouseMove:function(h){return L(h)},onClick:function(h){return S(h)},tabIndex:0,role:"button",onKeyDown:function(){}},t),m.createElement("canvas",{ref:r,height:"14px",width:"".concat(s,"px"),onClick:function(h){return S(h)},style:{position:"relative",borderRadius:14},id:"rbgcp-advanced-bar-".concat(t,"-canvas").concat(c)})))},df=function(e){var A=e.openAdvanced,r=BA(),t=r.config,n=r.tinyColor,a=r.handleChange,s=r.squareWidth,o=r.hc,l=r.defaultStyles,c=r.pickerIdSuffix,g=n.toHsl(),B=g.s,u=g.l,p=E.useRef(null),Q=E.useRef(null),C=E.useRef(null);sl(p,o?.h,u*100,s),il(Q,o?.h,B*100,s),ol(C,o?.h,B*100,s);var I=function(L){var S=SA({h:o?.h,s:L/100,l:u}).toRgb(),y=S.r,h=S.g,x=S.b;a("rgba(".concat(y,",").concat(h,",").concat(x,",").concat(o?.a,")"))},U=function(L){var S=SA({h:o?.h,s:B,l:L/100}).toRgb(),y=S.r,h=S.g,x=S.b;a("rgba(".concat(y,",").concat(h,",").concat(x,",").concat(o?.a,")"))},b=function(L){var S=SA({h:o?.h,s:o?.s*100,v:L}).toRgb(),y=S.r,h=S.g,x=S.b;a("rgba(".concat(y,",").concat(h,",").concat(x,",").concat(o?.a,")"))};return m.createElement("div",{style:{width:"100%",height:A?98:0,transition:"all 120ms linear"},id:"rbgcp-advanced-controls-wrapper".concat(c)},m.createElement("div",{style:{paddingTop:11,display:A?"flex":"none",flexDirection:"column",justifyContent:"space-between",height:A?98:0,overflow:"hidden",transition:"height 100ms linear"},id:"rbgcp-advanced-controls-inner".concat(c)},m.createElement(en,{value:B,reffy:p,config:t,label:"Saturation",callback:I,squareWidth:s,openAdvanced:A,defaultStyles:l,pickerIdSuffix:c}),m.createElement(en,{value:u,config:t,reffy:Q,label:"Lightness",callback:U,squareWidth:s,openAdvanced:A,defaultStyles:l,pickerIdSuffix:c}),m.createElement(en,{value:o?.v,config:t,reffy:C,label:"Brightness",callback:b,squareWidth:s,openAdvanced:A,defaultStyles:l,pickerIdSuffix:c})))},Fe=function(){return Fe=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Fe.apply(this,arguments)},ff=function(e){var A=e.openComparibles,r=BA(),t=r.tinyColor,n=r.handleChange,a=r.defaultStyles,s=r.pickerIdSuffix,o=t.analogous(),l=t.monochromatic(),c=t.triad(),g=t.tetrad(),B=function(u){var p=u.toRgb(),Q=p.r,C=p.g,I=p.b,U=p.a;n("rgba(".concat(Q,",").concat(C,",").concat(I,",").concat(U,")"))};return m.createElement("div",{style:{width:"100%",transition:"all 120ms linear",height:A?216:0},id:"rbgcp-comparible-colors-wrapper".concat(s)},m.createElement("div",{style:{paddingTop:11,display:A?"":"none",position:"relative"},id:"rbgcp-comparible-colors-inner".concat(s)},m.createElement("div",{style:Fe({textAlign:"center",fontSize:13,fontWeight:600,position:"absolute",top:6.5,left:2},a.rbgcpComparibleLabel),id:"rbgcp-comparible-color-guide-label".concat(s)},"Color Guide"),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-analogous-colors-label".concat(s)},"Analogous"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex"},id:"rbgcp-comparible-analogous-colors".concat(s)},o?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-analogous-color-".concat(p).concat(s),style:{width:"20%",height:30,background:u.toHexString()},onClick:function(){return B(u)}})})),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-monochromatic-colors-label".concat(s)},"Monochromatic"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex",justifyContent:"flex-end"},id:"rbgcp-comparible-monochromatic-colors".concat(s)},l?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-monochromatic-color-".concat(p).concat(s),style:{width:"20%",height:30,background:u.toHexString()},onClick:function(){return B(u)}})})),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-triad-colors-label".concat(s)},"Triad"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex",justifyContent:"flex-end"},id:"rbgcp-comparible-triad-colors".concat(s)},c?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-triad-color-".concat(p).concat(s),style:{width:"calc(100% / 3)",height:28,background:u.toHexString()},onClick:function(){return B(u)}})})),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-tetrad-colors-label".concat(s)},"Tetrad"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex",justifyContent:"flex-end"},id:"rbgcp-comparible-tetrad-colors".concat(s)},g?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-tetrad-color-".concat(p).concat(s),style:{width:"25%",height:28,background:u.toHexString()},onClick:function(){return B(u)}})}))))},pA=function(){return pA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},pA.apply(this,arguments)},hf=function(){var e=BA(),A=e.gradientType,r=e.onChange,t=e.value,n=e.defaultStyles,a=e.pickerIdSuffix,s=A==="linear-gradient",o=A==="radial-gradient",l=function(){var g=t.split(/,(.+)/)[1];r("linear-gradient(90deg, ".concat(g))},c=function(){var g=t.split(/,(.+)/)[1];r("radial-gradient(circle, ".concat(g))};return m.createElement("div",{style:n.rbgcpControlBtnWrapper},m.createElement("div",{onClick:l,id:"rbgcp-linear-btn".concat(a),style:pA(pA({},n.rbgcpControlBtn),s&&n.rbgcpControlBtnSelected),tabIndex:0,role:"button",onKeyDown:function(){}},m.createElement(Il,{color:s?"#568CF5":""})),m.createElement("div",{onClick:c,id:"rbgcp-radial-btn".concat(a),style:pA(pA({},n.rbgcpControlBtn),o&&n.rbgcpControlBtnSelected),tabIndex:0,role:"button",onKeyDown:function(){}},m.createElement(Hl,{color:o?"#568CF5":""})))},wf=function(){var e=BA(),A=e.currentLeft,r=e.currentColor,t=e.defaultStyles,n=e.handleGradient,a=e.pickerIdSuffix,s=function(o){n(r,Re(parseInt(o),0,100))};return m.createElement("div",{style:pA(pA(pA(pA({},t.rbgcpControlBtnWrapper),t.rbgcpControlInputWrap),t.rbgcpStopInputWrap),{paddingLeft:8}),id:"rbgcp-stop-input-wrapper".concat(a)},m.createElement(Kl,null),m.createElement("input",{value:A,id:"rbgcp-stop-input".concat(a),onChange:function(o){return s(o.target.value)},style:pA(pA({},t.rbgcpControlInput),t.rbgcpStopInput)}))},pf=function(){var e=BA(),A=e.degrees,r=e.onChange,t=e.value,n=e.defaultStyles,a=e.pickerIdSuffix,s=function(o){var l=Re(o.target.value,0,360),c=t.split(/,(.+)/)[1];r("linear-gradient(".concat(l??0,"deg, ").concat(c))};return m.createElement("div",{style:pA(pA(pA({},n.rbgcpControlBtnWrapper),n.rbgcpControlInputWrap),n.rbgcpDegreeInputWrap),id:"rbgcp-degree-input-wrapper".concat(a)},m.createElement(Ml,null),m.createElement("input",{value:A,onChange:function(o){return s(o)},id:"rbgcp-degree-input".concat(a),style:pA(pA({},n.rbgcpControlInput),n.rbgcpDegreeInput)}),m.createElement("div",{style:pA(pA({},n.rbgcpDegreeIcon),{position:"absolute",right:A>99?0:A<10?7:3,top:1,fontWeight:400,fontSize:13})},"°"))},Cf=function(){var e=BA(),A=e.colors,r=e.selectedColor,t=e.createGradientStr,n=e.defaultStyles,a=e.pickerIdSuffix,s=function(){if(A?.length>2){var o=A?.map(function(c,g){return pA(pA({},c),{value:g===r-1?Cr(c):mt(c)})}),l=o?.filter(function(c,g){return g!==r});t(l)}};return m.createElement("div",{onClick:s,style:pA(pA({},gt(!1,n)),{width:28}),id:"rbgcp-point-delete-btn".concat(a),tabIndex:0,role:"button",onKeyDown:function(){}},m.createElement(xl,null))},As=function(e){var A=e.hideGradientType,r=e.hideGradientAngle,t=e.hideGradientStop,n=BA(),a=n.gradientType,s=n.defaultStyles,o=n.pickerIdSuffix;return m.createElement("div",{style:pA(pA({},s.rbgcpControlBtnWrapper),{marginTop:12,marginBottom:-4,justifyContent:"space-between",paddingLeft:A?4:0}),id:"rbgcp-gradient-controls-wrap".concat(o)},!A&&m.createElement(hf,null),m.createElement("div",{style:{width:53}},!r&&a==="linear-gradient"&&m.createElement(pf,null)),!t&&m.createElement(wf,null),m.createElement(Cf,null))},pt=function(){return pt=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},pt.apply(this,arguments)},Qf=function(e){var A,r,t=e.hideColorTypeBtns,n=e.setGradient,a=e.isGradient,s=e.setSolid,o=e.locales,l=BA(),c=l.defaultStyles,g=l.pickerIdSuffix;return t?m.createElement("div",{style:{width:1}}):m.createElement("div",{style:pt({display:"flex",alignItems:"center"},c.rbgcpControlBtnWrapper),id:"rbgcp-color-type-btns".concat(g)},m.createElement("div",{onClick:s,id:"rbgcp-solid-btn".concat(g),style:$a(!a,c)},(A=o?.CONTROLS)===null||A===void 0?void 0:A.SOLID),m.createElement("div",{onClick:n,id:"rbgcp-gradient-btn".concat(g),style:$a(a??!1,c)},(r=o?.CONTROLS)===null||r===void 0?void 0:r.GRADIENT))},mf=function(e){var A=e.openInputType,r=e.setOpenInputType,t=BA(),n=t.inputType,a=t.setInputType,s=t.defaultStyles,o=t.pickerIdSuffix,l=A?"visibility 0ms linear":"visibility 100ms linear 150ms",c=A?"z-index 0ms linear":"z-index 100ms linear 150ms",g=A?"opacity 120ms linear":"opacity 150ms linear 50ms",B=function(u,p){A&&(u.stopPropagation(),a(p),r(!1))};return m.createElement("div",{style:pt({visibility:A?"visible":"hidden",zIndex:A?"":-100,opacity:A?1:0,transition:"".concat(g,", ").concat(l,", ").concat(c)},s.rbgcpColorModelDropdown),id:"rbgcp-color-model-dropdown".concat(o)},m.createElement("div",{id:"rbgcp-color-model-rgb-btn".concat(o),onClick:function(u){return B(u,"rgb")},style:Zt(n==="rgb",s)},"RGB"),m.createElement("div",{id:"rbgcp-color-model-hsl-btn".concat(o),onClick:function(u){return B(u,"hsl")},style:Zt(n==="hsl",s)},"HSL"),m.createElement("div",{id:"rbgcp-color-model-hsv-btn".concat(o),onClick:function(u){return B(u,"hsv")},style:Zt(n==="hsv",s)},"HSV"),m.createElement("div",{id:"rbgcp-color-model-cmyk-btn".concat(o),onClick:function(u){return B(u,"cmyk")},style:Zt(n==="cmyk",s)},"CMYK"))},vf=function(e){var A,r,t=e.locales,n=e.hideEyeDrop,a=n===void 0?!1:n,s=e.hideAdvancedSliders,o=s===void 0?!1:s,l=e.hideColorGuide,c=l===void 0?!1:l,g=e.hideInputType,B=g===void 0?!1:g,u=e.hideColorTypeBtns,p=u===void 0?!1:u,Q=e.hideGradientControls,C=Q===void 0?!1:Q,I=e.hideGradientType,U=I===void 0?!1:I,b=e.hideGradientAngle,L=b===void 0?!1:b,S=e.hideGradientStop,y=S===void 0?!1:S,h=BA(),x=h.config,M=h.onChange,k=h.isGradient,R=h.handleChange,O=h.previous,Z=h.defaultStyles,D=h.pickerIdSuffix,z=x.defaultColor,eA=x.defaultGradient,tA=E.useState(!1),AA=tA[0],dA=tA[1],aA=E.useState(!1),q=aA[0],lA=aA[1],sA=E.useState(!1),H=sA[0],j=sA[1],_=a&&o&&c&&B,F=(A=O?.color)!==null&&A!==void 0?A:z,N=(r=O?.gradient)!==null&&r!==void 0?r:eA,T=function(){M(F)},G=function(){M(N)},J=a&&o&&c&&B,$=J&&p;return $?k&&!C?m.createElement(As,{hideGradientType:U,hideGradientAngle:L,hideGradientStop:y}):null:m.createElement("div",{style:{paddingBottom:4}},m.createElement("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},id:"rbgcp-controls-wrapper".concat(D)},m.createElement(Qf,{hideColorTypeBtns:p,setGradient:G,isGradient:k,setSolid:T,locales:t}),!J&&m.createElement("div",{style:pt({display:_?"none":""},Z.rbgcpControlBtnWrapper),id:"rbgcp-control-rightside-wrapper".concat(D)},!a&&m.createElement(Bf,{onSelect:R}),!o&&m.createElement("div",{id:"rbgcp-advanced-btn".concat(D),onClick:function(){return j(!H)},style:gt(H,Z)},m.createElement(Sl,{color:H?"#568CF5":""})),!c&&m.createElement("div",{style:gt(AA,Z),onClick:function(){return dA(!AA)},id:"rbgcp-comparibles-btn".concat(D)},m.createElement(kl,{color:AA?"#568CF5":""})),!B&&m.createElement("div",{id:"rbgcp-color-model-btn".concat(D),onClick:function(){return lA(!q)},style:gt(q,Z)},m.createElement(Ll,{color:q?"#568CF5":""}),m.createElement(mf,{openInputType:q,setOpenInputType:lA})))),!o&&m.createElement(df,{openAdvanced:H}),!c&&m.createElement(ff,{openComparibles:AA}),k&&!C&&m.createElement(As,{hideGradientType:U,hideGradientAngle:L,hideGradientStop:y}))},Ae=function(){return Ae=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Ae.apply(this,arguments)},es=function(e,A,r){if(r||arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||Array.prototype.slice.call(A))},Uf=function(e){var A=e.left,r=e.i,t=e.setDragging,n=BA(),a=n.colors,s=n.squareWidth,o=n.selectedColor,l=n.defaultStyles,c=n.pickerIdSuffix,g=n.createGradientStr,B=o===r,u=(s-18)/100,p=function(C){var I=a?.map(function(U,b){return Ae(Ae({},U),{value:b===C?Cr(U):mt(U)})});g(I)},Q=function(C){C.stopPropagation(),p(r),t(!0)};return m.createElement("div",{onMouseDown:function(C){return Q(C)},id:"rbgcp-gradient-handle-".concat(r).concat(c),style:Ae(Ae({},l.rbgcpGradientHandleWrap),{left:(A??0)*u})},m.createElement("div",{style:Ae(Ae({},l.rbgcpGradientHandle),B?{boxShadow:"0px 0px 5px 1px rgba(86, 140, 245,.95)",border:"2px solid white"}:{}),id:"rbgcp-gradient-handle-".concat(r,"-dot").concat(c)},B&&m.createElement("div",{style:{width:5,height:5,borderRadius:"50%",background:"white"},id:"rbgcp-gradient-handle-".concat(r,"-selected-dot").concat(c)})))},Ff=function(){var e=BA(),A=e.value,r=e.colors,t=e.config,n=e.squareWidth,a=e.currentColor,s=e.handleGradient,o=e.pickerIdSuffix,l=e.createGradientStr,c=t.barSize,g=E.useState(!1),B=g[0],u=g[1];function p(L){return L.replace(/(radial|linear)-gradient\([^,]+,/,"linear-gradient(90deg,")}var Q=function(L){var S,y=Ne(L,c),h=(S=es(es([],r.map(function(x){return Ae(Ae({},x),{value:mt(x)})}),!0),[{value:a,left:y}],!1))===null||S===void 0?void 0:S.sort(function(x,M){return x.left-M.left});l(h)},C=function(){u(!1)},I=function(L){B||(Q(L),u(!0))},U=function(L){B&&s(a,Ne(L,c))},b=function(){C()};return E.useEffect(function(){return window.addEventListener("mouseup",b),function(){window.removeEventListener("mouseup",b)}}),m.createElement("div",{style:{width:"100%",marginTop:17,marginBottom:4,position:"relative"},id:"rbgcp-gradient-bar".concat(o)},m.createElement("div",{style:{height:14,borderRadius:10,width:n,backgroundImage:p(A)},onMouseDown:function(L){return I(L)},onMouseMove:function(L){return U(L)},id:"rbgcp-gradient-bar-canvas".concat(o)}),r?.map(function(L,S){return m.createElement(Uf,{i:S,left:L.left,key:"".concat(S,"-").concat(L),setDragging:u})}))},bf=function(e){var A=e.locales,r=e.presets,t=e.hideHue,n=e.hideInputs,a=e.hidePresets,s=e.hideOpacity,o=e.hideEyeDrop,l=e.hideControls,c=e.hideInputType,g=e.hideColorGuide,B=e.hidePickerSquare,u=e.hideGradientType,p=e.hideGradientStop,Q=e.hideGradientAngle,C=e.hideColorTypeBtns,I=e.hideAdvancedSliders,U=e.hideGradientControls,b=BA(),L=b.isGradient,S=b.pickerIdSuffix;return m.createElement("div",{style:{userSelect:"none"},id:"rbgcp-color-picker".concat(S)},!B&&m.createElement(Ul,null),!l&&m.createElement(vf,{locales:A,hideEyeDrop:o,hideInputType:c,hideColorGuide:g,hideGradientType:u,hideGradientStop:p,hideColorTypeBtns:C,hideGradientAngle:Q,hideAdvancedSliders:I,hideGradientControls:U}),L&&m.createElement(Ff,null),!t&&m.createElement(ll,null),!s&&m.createElement(Fl,null),!n&&m.createElement(pl,null),!a&&m.createElement(yl,{presets:r}))},pr=function(){return pr=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},pr.apply(this,arguments)};function Ef(e){var A=e.idSuffix,r=e.value,t=r===void 0?"rgba(175, 51, 242, 1)":r,n=e.onChange,a=e.hideControls,s=a===void 0?!1:a,o=e.hideInputs,l=o===void 0?!1:o,c=e.hideOpacity,g=c===void 0?!1:c,B=e.hidePresets,u=B===void 0?!1:B,p=e.hideHue,Q=p===void 0?!1:p,C=e.presets,I=C===void 0?[]:C,U=e.hideEyeDrop,b=U===void 0?!1:U,L=e.hideAdvancedSliders,S=L===void 0?!1:L,y=e.hideColorGuide,h=y===void 0?!1:y,x=e.hideInputType,M=x===void 0?!1:x,k=e.hideColorTypeBtns,R=k===void 0?!1:k,O=e.hideGradientType,Z=O===void 0?!1:O,D=e.hideGradientAngle,z=D===void 0?!1:D,eA=e.hideGradientStop,tA=eA===void 0?!1:eA,AA=e.hideGradientControls,dA=AA===void 0?!1:AA,aA=e.locales,q=aA===void 0?bl:aA,lA=e.width,sA=lA===void 0?294:lA,H=e.height,j=H===void 0?294:H,_=e.style,F=_===void 0?{}:_,N=e.className,T=e.disableDarkMode,G=T===void 0?!1:T,J=e.disableLightMode,$=J===void 0?!1:J,wA=e.hidePickerSquare,f=wA===void 0?!1:wA,v=e.showHexAlpha,w=v===void 0?!1:v,K=e.config,W=K===void 0?{}:K,P=$o(t),oA=typeof window>"u"||G?!1:!!(window.matchMedia("(prefers-color-scheme: dark)").matches||$),fA=gf(oA,F),vA=oA?"-dark".concat(A?"-".concat(A):""):A?"-".concat(A):"";return m.createElement("div",{className:N,style:pr(pr({},fA.body),{width:sA})},m.createElement(nl,{value:P,onChange:n,squareWidth:sA,passedConfig:W,squareHeight:j,isDarkMode:oA,hideOpacity:g,showHexAlpha:w,defaultStyles:fA,pickerIdSuffix:vA},m.createElement(bf,{hideControls:s,hideInputs:l,hidePresets:u,hideOpacity:g,hideHue:Q,presets:I,hideEyeDrop:b,hideAdvancedSliders:S,hideColorGuide:h,hideInputType:M,hideColorTypeBtns:R,hideGradientType:Z,hideGradientAngle:z,hideGradientStop:tA,hideGradientControls:dA,hidePickerSquare:f,locales:q})))}const tn="rgb(0, 0, 0)",yf=()=>{const[e,A]=E.useState(localStorage.getItem("customBackgroundColour")||tn),r=n=>{A(n),localStorage.setItem("customBackgroundColour",n),UA.emit("refresh","background")},t=()=>{A(tn),localStorage.setItem("customBackgroundColour",tn),GA(d.getMessage("toasts.reset")),UA.emit("refresh","background")};return i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.source.custom_colour")}),i.jsxs(cA,{children:[i.jsx(Ef,{value:e,onChange:r,hideEyeDrop:!0,hideColorGuide:!0,hidePresets:!0,hideAdvancedSliders:!1,hideColorTypeBtns:!1,hideInputType:!1,height:147}),i.jsx("div",{className:"colourReset",children:i.jsxs("span",{className:"link",onClick:()=>t(),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})})]})]})};var xf=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],Ze=(e,A)=>{var r="";for(let t=1;t<=A;t++){let n=Math.floor(e)/Math.pow(83,A-t)%83;r+=xf[Math.floor(n)]}return r},rn=e=>{let A=e/255;return A<=.04045?A/12.92:Math.pow((A+.055)/1.055,2.4)},nn=e=>{let A=Math.max(0,Math.min(1,e));return A<=.0031308?Math.trunc(A*12.92*255+.5):Math.trunc((1.055*Math.pow(A,.4166666666666667)-.055)*255+.5)},If=e=>e<0?-1:1,an=(e,A)=>If(e)*Math.pow(Math.abs(e),A),ts=class extends Error{constructor(e){super(e),this.name="ValidationError",this.message=e}},rs=4,Hf=(e,A,r,t)=>{let n=0,a=0,s=0,o=A*rs;for(let c=0;c<A;c++){let g=rs*c;for(let B=0;B<r;B++){let u=g+B*o,p=t(c,B);n+=p*rn(e[u]),a+=p*rn(e[u+1]),s+=p*rn(e[u+2])}}let l=1/(A*r);return[n*l,a*l,s*l]},Sf=e=>{let A=nn(e[0]),r=nn(e[1]),t=nn(e[2]);return(A<<16)+(r<<8)+t},Lf=(e,A)=>{let r=Math.floor(Math.max(0,Math.min(18,Math.floor(an(e[0]/A,.5)*9+9.5)))),t=Math.floor(Math.max(0,Math.min(18,Math.floor(an(e[1]/A,.5)*9+9.5)))),n=Math.floor(Math.max(0,Math.min(18,Math.floor(an(e[2]/A,.5)*9+9.5))));return r*19*19+t*19+n},kf=(e,A,r,t,n)=>{if(t<1||t>9||n<1||n>9)throw new ts("BlurHash must have between 1 and 9 components");if(A*r*4!==e.length)throw new ts("Width and height must match the pixels array");let a=[];for(let B=0;B<n;B++)for(let u=0;u<t;u++){let p=u==0&&B==0?1:2,Q=Hf(e,A,r,(C,I)=>p*Math.cos(Math.PI*u*C/A)*Math.cos(Math.PI*B*I/r));a.push(Q)}let s=a[0],o=a.slice(1),l="",c=t-1+(n-1)*9;l+=Ze(c,1);let g;if(o.length>0){let B=Math.max(...o.map(p=>Math.max(...p))),u=Math.floor(Math.max(0,Math.min(82,Math.floor(B*166-.5))));g=(u+1)/166,l+=Ze(u,1)}else g=1,l+=Ze(0,1);return l+=Ze(Sf(s),4),o.forEach(B=>{l+=Ze(Lf(B,g),2)}),l},Mf=kf;async function ns(e){return new Promise((A,r)=>{const t=new Image;t.onload=()=>{A({width:t.width,height:t.height}),typeof e!="string"&&URL.revokeObjectURL(t.src)},t.onerror=()=>r(new Error("Failed to load image")),typeof e=="string"?t.src=e:t.src=URL.createObjectURL(e)})}async function as(e,A=4,r=3){return new Promise((t,n)=>{const a=new Image;a.onload=()=>{try{const s=document.createElement("canvas"),o=s.getContext("2d"),l=64,c=Math.min(l/a.width,l/a.height);s.width=Math.floor(a.width*c),s.height=Math.floor(a.height*c),o.drawImage(a,0,0,s.width,s.height);const g=o.getImageData(0,0,s.width,s.height),B=Mf(g.data,g.width,g.height,A,r);typeof e!="string"&&URL.revokeObjectURL(a.src),t(B)}catch(s){n(s)}},a.onerror=()=>n(new Error("Failed to load image for blur hash")),typeof e=="string"?a.src=e:a.src=URL.createObjectURL(e)})}function sn(e){const A=e.split(",")[1];if(!A)return 0;const r=(A.match(/=/g)||[]).length;return Math.floor(A.length*3/4-r)}function ss(e,A){return e&&e.name?e.name:`Image ${A+1}`}function Kf(){const e={};return Object.keys(localStorage).forEach(A=>{e[A]=localStorage.getItem(A)}),new TextEncoder().encode(JSON.stringify(e)).length}function Qe(e){if(e===0)return"0 Bytes";if(!e)return"Unknown";const A=1024,r=["Bytes","KB","MB","GB"],t=Math.floor(Math.log(e)/Math.log(A));return Math.round(e/Math.pow(A,t)*10)/10+" "+r[t]}const Tf=({files:e,onConfirm:A,onCancel:r})=>{const[t,n]=E.useState(""),a=()=>{A(t.trim())};return i.jsxs("div",{className:"smallModal",children:[i.jsxs("div",{className:"shareHeader",children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.tag_images")}),i.jsx("button",{className:"closeModal",onClick:r,children:i.jsx(gs,{})})]}),i.jsxs("div",{className:"taggingModalContent",children:[i.jsx("p",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.tag_description",{count:e.length})}),i.jsxs("div",{className:"taggingInput",children:[i.jsx("label",{children:d.getMessage("modals.main.settings.sections.background.source.folder_name")}),i.jsx("input",{type:"text",placeholder:d.getMessage("modals.main.settings.sections.background.source.folder_placeholder"),value:t,onChange:s=>n(s.target.value),onKeyPress:s=>{s.key==="Enter"&&a()},autoFocus:!0})]})]}),i.jsxs("div",{className:"resetFooter",children:[i.jsx(mA,{type:"settings",onClick:r,label:d.getMessage("modals.main.settings.buttons.cancel")}),i.jsx(mA,{type:"settings",onClick:a,label:d.getMessage("modals.main.settings.buttons.continue")})]})]})},on=e=>{try{localStorage.removeItem("customBackground"),localStorage.setItem("customBackgroundCount",String(e.length))}catch{}},Ti=E.memo(()=>{const[e,A]=E.useState([]),[r,t]=E.useState(!1),[n,a]=E.useState([]),[s,o]=E.useState(!0),[l,c]=E.useState(!1),[g,B]=E.useState({current:0,total:0}),[u,p]=E.useState(!1),[Q,C]=E.useState(new Set),[I,U]=E.useState(localStorage.getItem("customImageSort")||"date_desc"),[b,L]=E.useState(!1),[S,y]=E.useState({usage:0,quota:0}),h=E.useRef(null),x=E.useRef(0),M=5e7;E.useEffect(()=>{(async()=>{if(navigator.storage&&navigator.storage.estimate)try{const N=await navigator.storage.estimate();y({usage:N.usage||0,quota:N.quota||M})}catch(N){console.warn("Could not get storage estimate:",N),y({usage:0,quota:M})}else y({usage:0,quota:M})})()},[e]),E.useEffect(()=>{(async()=>{try{await ao();const N=await Ve();A(N),N.forEach(async T=>{if(!T.dimensions&&T.url&&!bt(T.url))try{const G=await ns(T.url),J=await as(T.url);await so(T.id,{dimensions:G,blurHash:J});const $=await Ve();A($)}catch(G){console.warn("Could not extract metadata for existing image:",G)}})}catch(N){console.error("Error loading backgrounds:",N),GA(d.getMessage("toasts.error"))}finally{o(!1)}})()},[]);const k=E.useCallback(async(F,N,T,G=!1)=>{try{const J={url:N,name:T.name,uploadDate:Date.now(),dimensions:T.dimensions,fileSize:T.fileSize,folder:T.folder||"",blurHash:T.blurHash};await Jn(J);const $=await Ve();A($),on($),G||UA.emit("refresh","background")}catch(J){console.error("Error saving background:",J),GA(d.getMessage("toasts.error"))}},[]),R=async(F,N="")=>{const T=e.reduce((J,$)=>$.url&&$.url.startsWith("data:")?J+sn($.url):J,0),G=S.quota||M;if(T/G>.9&&navigator.storage&&navigator.storage.persist)try{await navigator.storage.persist()&&console.log("Storage persistence granted")}catch(J){console.warn("Could not request storage persistence:",J)}if(bt(F.type)){if(T+F.size>G)throw new Error("no_storage");const J=new FileReader;return new Promise(($,wA)=>{J.onloadend=()=>{$({dataUrl:J.result,metadata:{name:ss(F,e.length),dimensions:null,fileSize:F.size,folder:N,blurHash:null}})},J.onerror=wA,J.readAsDataURL(F)})}else{const J=await Zn.compressAccurately(F,{size:450,accuracy:.9}),$=S.quota||M;if(T+J.size>$)throw new Error("no_storage");const wA=await Zn.filetoDataURL(J),[f,v]=await Promise.all([ns(wA),as(wA).catch(()=>null)]);return{dataUrl:wA,metadata:{name:ss(F,e.length),dimensions:f,fileSize:sn(wA),folder:N,blurHash:v}}}},O=async(F,N="")=>{c(!0),B({current:0,total:F.length});const T=[];for(let G=0;G<F.length;G++)try{const J=await R(F[G],N);await k(F[G],J.dataUrl,J.metadata,!0),B({current:G+1,total:F.length})}catch(J){if(J.message==="no_storage"){GA(d.getMessage("toasts.no_storage"));break}T.push(F[G].name)}T.length>0&&GA(d.getMessage("toasts.error")+`: ${T.join(", ")}`),UA.emit("refresh","background"),c(!1),B({current:0,total:0})},Z=async F=>{t(!1),await O(n,F),a([])},D=E.useCallback(async(F,N)=>{try{F==="add"?await Jn(""):await Ao(N);const T=await Ve();A(T),on(T),UA.emit("refresh","background")}catch(T){console.error("Error modifying background:",T),GA(d.getMessage("toasts.error"))}},[]),z=async()=>{if(Q.size!==0)try{const F=Array.from(Q).sort((T,G)=>G-T);await io(F);const N=await Ve();A(N),C(new Set),on(N),UA.emit("refresh","background"),GA(d.getMessage("toasts.deleted"))}catch(F){console.error("Error batch deleting:",F),GA(d.getMessage("toasts.error"))}},eA=F=>{const N=new Set(Q);N.has(F)?N.delete(F):N.add(F),C(N)},tA=F=>{U(F),localStorage.setItem("customImageSort",F)},AA=E.useCallback(()=>{document.getElementById("bg-input").click()},[]),dA=async F=>{F.length>1?(a(F),t(!0)):await O(F,"")},aA=[...e].sort((F,N)=>{switch(I){case"date_asc":return F.uploadDate-N.uploadDate;case"date_desc":return N.uploadDate-F.uploadDate;case"name_asc":return(F.name||"").localeCompare(N.name||"");case"name_desc":return(N.name||"").localeCompare(F.name||"");case"size_asc":return(F.fileSize||0)-(N.fileSize||0);case"size_desc":return(N.fileSize||0)-(F.fileSize||0);default:return 0}}),q=e.reduce((F,N)=>N.url&&N.url.startsWith("data:")?F+sn(N.url):F,0),lA=S.quota||M,sA=q/lA*100,H=Kf(),j=5242880;E.useEffect(()=>{const F=h.current;if(!F)return;const N=$=>{$.preventDefault(),$.stopPropagation()},T=$=>{$.preventDefault(),$.stopPropagation(),x.current++,$.dataTransfer.items&&$.dataTransfer.items.length>0&&p(!0)},G=$=>{$.preventDefault(),$.stopPropagation(),x.current--,x.current===0&&p(!1)},J=async $=>{$.preventDefault(),$.stopPropagation(),p(!1),x.current=0;const wA=Array.from($.dataTransfer.files);wA.length!==0&&(wA.length>1?(a(wA),t(!0)):await O(wA,""))};return F.ondragover=N,F.ondragenter=T,F.ondragleave=G,F.ondrop=J,()=>{F&&(F.ondragover=null,F.ondragenter=null,F.ondragleave=null,F.ondrop=null)}},[e.length,O]);const _=aA.filter(F=>F&&bt(F.url)).length>0;return s?i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"loaderHolder",children:[i.jsx("div",{id:"loader"}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.loading")})]})}):l?i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"loaderHolder",children:[i.jsx("div",{id:"loader"}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.uploading",{current:g.current,total:g.total})}),i.jsxs("span",{className:"subtitle",children:[Math.round(g.current/g.total*100),"%"]})]})}):i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:`dropzone ${u?"dragging":""}`,ref:h,style:u?{outline:"2px dashed #ff5c25",outlineOffset:"-2px",backgroundColor:"rgba(255, 92, 37, 0.1)",transition:"all 0.2s ease"}:{},children:[i.jsxs("div",{className:"imagesTopBar",children:[i.jsxs("div",{className:"imagesTopBarTitle",children:[i.jsx(Wn,{}),i.jsxs("div",{children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.custom_title")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.custom_description")})]})]}),i.jsx("div",{className:"topbarbuttons",children:i.jsx(mA,{type:"settings",onClick:AA,icon:i.jsx(eo,{}),label:d.getMessage("modals.main.settings.sections.background.source.upload")})})]}),i.jsxs("div",{className:"imagesControlBar",children:[i.jsxs("div",{className:"controlBarLeft",children:[i.jsxs("span",{className:"image-count",children:[e.length," ",e.length===1?"image":"images",i.jsxs("span",{className:"storage-info",children:[" ","· ",Qe(q)," / ",Qe(lA),sA>80&&navigator.storage&&navigator.storage.persist&&i.jsx(Yn,{title:"Request persistent storage to prevent browser from automatically clearing your images",children:i.jsx("button",{className:"request-storage-link",onClick:async()=>{try{await navigator.storage.persist()?GA("Persistent storage granted - your images are protected from eviction"):GA("Persistent storage denied - images may be cleared if storage is low")}catch(F){console.error("Storage request error:",F),GA("Could not request persistent storage")}},children:"Protect images"})})]})]}),i.jsx("span",{className:"selection-separator",children:"·"}),Q.size>0?i.jsxs(i.Fragment,{children:[i.jsxs("span",{className:"selected-count",children:[Q.size," selected"]}),i.jsx("button",{className:"delete-link",onClick:z,children:"Delete"}),Q.size<e.length&&i.jsx("button",{className:"select-all-link",onClick:()=>{const F=new Set(e.map((N,T)=>T));C(F)},children:"Select all"}),Q.size===e.length&&i.jsx("button",{className:"select-all-link",onClick:()=>C(new Set),children:"Deselect all"})]}):e.length>0&&i.jsx("button",{className:"select-all-link",onClick:()=>{const F=new Set(e.map((N,T)=>T));C(F)},children:"Select all"})]}),i.jsx("div",{className:"controlBarRight",children:i.jsx(KA,{name:"customImageSort",category:"customImageSort",onChange:tA,items:[{value:"date_desc",text:d.getMessage("modals.main.settings.sections.background.source.sort.date_newest")},{value:"date_asc",text:d.getMessage("modals.main.settings.sections.background.source.sort.date_oldest")},{value:"name_asc",text:d.getMessage("modals.main.settings.sections.background.source.sort.name_asc")},{value:"name_desc",text:d.getMessage("modals.main.settings.sections.background.source.sort.name_desc")},{value:"size_asc",text:d.getMessage("modals.main.settings.sections.background.source.sort.size_small")},{value:"size_desc",text:d.getMessage("modals.main.settings.sections.background.source.sort.size_large")}]})})]}),i.jsx("div",{className:"dropzone-content",children:aA.length>0?i.jsx("div",{className:`images-grid ${Q.size>0?"selection-mode":""}`,children:aA.map(F=>{const N=e.findIndex(G=>G===F),T=F&&bt(F.url);return i.jsxs("div",{className:"image-card",onClick:G=>{G.target.closest(".delete-button")||eA(N)},children:[i.jsx("div",{className:"image-checkbox",children:i.jsx("input",{type:"checkbox",checked:Q.has(N),onChange:()=>eA(N)})}),i.jsxs("div",{className:"image-preview",children:[F.blurHash&&!T&&(()=>{const G=to(F.blurHash,32,32);return G?i.jsx("div",{className:"blur-placeholder",style:{backgroundImage:`url(${G})`,filter:"blur(20px)",position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:0}}):null})(),T?i.jsx("div",{className:"video-icon-wrapper",children:i.jsx(ro,{className:"customvideoicon"})}):i.jsx("img",{alt:F.name||"Custom background",src:F.url,loading:"lazy",style:{position:"relative",zIndex:1}})]}),i.jsxs("div",{className:"image-metadata",children:[i.jsx("span",{className:"image-name",title:F.name,children:F.name||"Unnamed"}),i.jsxs("div",{className:"image-details",children:[F.dimensions&&i.jsxs("span",{className:"detail",children:[F.dimensions.width," × ",F.dimensions.height]}),F.fileSize&&i.jsx("span",{className:"detail",children:Qe(F.fileSize)}),F.folder&&i.jsx("span",{className:"detail folder-tag",children:F.folder})]})]}),i.jsx(Yn,{title:d.getMessage("modals.main.settings.sections.background.source.remove"),children:i.jsx("button",{className:"delete-button",onClick:G=>{G.stopPropagation(),D("remove",N)},children:i.jsx(ut,{})})})]},N)})}):i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Wn,{}),i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.drop_to_upload")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.formats",{list:"jpeg, png, webp, webm, gif, mp4, webm, ogg"})}),i.jsx(mA,{type:"settings",onClick:AA,icon:i.jsx(no,{}),label:d.getMessage("modals.main.settings.sections.background.source.select")})]})})})]}),i.jsx(Is,{id:"bg-input",accept:"image/jpeg, image/png, image/webp, image/webm, image/gif, video/mp4, video/webm, video/ogg",multiple:!0,loadFunction:async F=>{await dA(F)}}),_&&i.jsxs(i.Fragment,{children:[i.jsx(QA,{name:"backgroundVideoLoop",category:"backgroundvideo",text:d.getMessage("modals.main.settings.sections.background.source.loop_video")}),i.jsx(QA,{name:"backgroundVideoMute",category:"backgroundvideo",text:d.getMessage("modals.main.settings.sections.background.source.mute_video")})]}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>{t(!1),a([])},isOpen:r,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(Tf,{files:n,onConfirm:Z,onCancel:()=>{t(!1),a([])}})}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>L(!1),isOpen:b,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsxs("div",{className:"smallModal",children:[i.jsxs("div",{className:"shareHeader",children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.storage_info")}),i.jsx("button",{className:"closeModal",onClick:()=>L(!1),children:i.jsx(ut,{})})]}),i.jsxs("div",{style:{padding:"20px"},children:[i.jsx("p",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.storage_description")}),i.jsxs("div",{style:{marginTop:"20px"},children:[i.jsx("p",{className:"subtitle",style:{fontWeight:"600",marginBottom:"8px"},children:"Custom Backgrounds"}),i.jsxs("p",{className:"subtitle",children:[Qe(q)," / ",Qe(lA)," (",Math.round(sA),"%)"]})]}),i.jsxs("div",{style:{marginTop:"15px"},children:[i.jsx("p",{className:"subtitle",style:{fontWeight:"600",marginBottom:"8px"},children:"Total localStorage Usage"}),i.jsxs("p",{className:"subtitle",children:[Qe(H)," / ",Qe(j)," (",Math.round(H/j*100),"%)"]}),i.jsx("p",{className:"subtitle",style:{marginTop:"8px",fontSize:"12px",opacity:.7},children:"Includes all Mue settings and custom images"})]})]}),i.jsx("div",{className:"resetFooter",children:i.jsx(mA,{type:"settings",onClick:()=>L(!1),label:d.getMessage("modals.main.settings.buttons.close")})})]})})]})});Ti.displayName="CustomSettings";const Df=({usingImage:e})=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.display"),subtitle:d.getMessage("modals.main.settings.sections.background.display_subtitle")}),i.jsxs(cA,{children:[i.jsx(QA,{name:"bgtransition",text:d.getMessage("modals.main.settings.sections.background.transition"),element:".other",disabled:!e}),i.jsx(QA,{name:"photoInformation",text:d.getMessage("modals.main.settings.sections.background.photo_information"),element:".other"}),i.jsx(QA,{name:"photoMap",text:d.getMessage("modals.main.settings.sections.background.show_map"),element:".other",disabled:!e})]})]});d.getMessage("modals.main.settings.sections.background.source.quality.original"),d.getMessage("modals.main.settings.sections.background.source.quality.high"),d.getMessage("modals.main.settings.sections.background.source.quality.normal"),d.getMessage("modals.main.settings.sections.background.source.quality.datasaver");const Of=[{value:"none",text:d.getMessage("modals.main.settings.sections.appearance.navbar.refresh_options.none")},{value:"grayscale",text:d.getMessage("modals.main.settings.sections.background.effects.filters.grayscale")},{value:"sepia",text:d.getMessage("modals.main.settings.sections.background.effects.filters.sepia")},{value:"invert",text:d.getMessage("modals.main.settings.sections.background.effects.filters.invert")},{value:"saturate",text:d.getMessage("modals.main.settings.sections.background.effects.filters.saturate")},{value:"contrast",text:d.getMessage("modals.main.settings.sections.background.effects.filters.contrast")}];function Di(){return[{value:"api",text:d.getMessage("wb.settings_bundled_photos")},{value:"custom",text:d.getMessage("modals.main.settings.sections.background.type.custom_image")},{value:"colour",text:d.getMessage("modals.main.settings.sections.background.type.custom_colour")},{value:"random_colour",text:d.getMessage("modals.main.settings.sections.background.type.random_colour")},{value:"random_gradient",text:d.getMessage("modals.main.settings.sections.background.type.random_gradient")}]}const Rf=({backgroundFilter:e,onFilterChange:A})=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.effects.title"),subtitle:d.getMessage("modals.main.settings.sections.background.effects.subtitle")}),i.jsxs(cA,{children:[i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.background.effects.blur"),name:"blur",min:"0",max:"100",default:"0",display:"%",marks:at.background,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo"}),i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.background.effects.brightness"),name:"brightness",min:"0",max:"100",default:"100",display:"%",marks:at.background,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo"}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.background.effects.filters.title"),name:"backgroundFilter",onChange:A,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo",items:Of}),e!=="none"&&i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.background.effects.filters.amount"),name:"backgroundFilterAmount",min:"0",max:"100",default:"0",display:"%",marks:at.background,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo"})]})]}),Nf=({backgroundType:e,onTypeChange:A})=>i.jsxs(rA,{final:e==="random_colour"||e==="random_gradient",children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.source.title"),subtitle:d.getMessage("modals.main.settings.sections.background.source.subtitle")}),i.jsx(cA,{children:i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.background.type.title"),name:"backgroundType",onChange:A,category:"background",items:Di()})})]}),is=({icon:e,title:A,subtitle:r,onClick:t,action:n})=>i.jsxs("div",{className:"moreSettings",onClick:t,children:[i.jsxs("div",{className:"left",children:[i.jsx(e,{}),i.jsxs("div",{className:"content",children:[i.jsx("span",{className:"title",children:A}),i.jsx("span",{className:"subtitle",children:r})]})]}),i.jsx("div",{className:"action",children:n||i.jsx(cs,{})})]}),Oi=E.memo(({currentSubSection:e,onSubSectionChange:A,sectionName:r})=>{const[t,n]=E.useState(localStorage.getItem("backgroundType")||"api"),[a,s]=E.useState(localStorage.getItem("backgroundFilter")||"none"),o=["colour","random_colour","random_gradient"].includes(t);E.useEffect(()=>{o&&e!=="source"&&A("source",r)},[o,e,A,r]);const l=()=>{switch(t){case"custom":return i.jsx(Ti,{});case"colour":return i.jsx(yf,{});default:return null}},c=t!=="colour"&&t!=="random_colour"&&t!=="random_gradient",g=t==="api"||t==="custom",B=()=>e==="effects"?i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.background.title"),secondaryTitle:d.getMessage("modals.main.settings.sections.background.effects.title"),goBack:()=>A(null,r)}):e==="source"?i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.background.title"),secondaryTitle:d.getMessage("modals.main.settings.sections.background.source.title"),goBack:()=>A(null,r)}):i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.background.title"),setting:"background",category:"background",visibilityToggle:!0});return i.jsxs(i.Fragment,{children:[B(),!e&&i.jsxs(i.Fragment,{children:[i.jsx(is,{icon:oo,title:d.getMessage("modals.main.settings.sections.background.source.title"),subtitle:d.getMessage("modals.main.settings.sections.background.source.subtitle"),onClick:()=>A("source",r),action:i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.background.type.title"),name:"backgroundType",onChange:u=>{n(u),u==="custom"&&UA.emit("refresh","background")},category:"background",items:Di()})}),g&&i.jsx(is,{icon:lo,title:d.getMessage("modals.main.settings.sections.background.effects.title"),subtitle:d.getMessage("modals.main.settings.sections.background.effects.subtitle"),onClick:()=>A("effects",r)})]}),!e&&g&&i.jsx(Df,{usingImage:c}),e==="source"&&i.jsxs(i.Fragment,{children:[i.jsx(Nf,{backgroundType:t,onTypeChange:n}),l()]}),g&&e==="effects"&&i.jsx(Rf,{backgroundFilter:a,onFilterChange:u=>s(u)})]})});Oi.displayName="BackgroundOptions";function _f(){const e=[{value:"ask",text:d.getMessage("wb.ask")},{value:"act",text:d.getMessage("wb.act")},...co()?[{value:"search",text:d.getMessage("wb.search")}]:[]];return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage("wb.settings_taskbox"),setting:"taskBox",category:"widgets",visibilityToggle:!0}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("wb.settings_default_mode"),subtitle:d.getMessage("wb.settings_taskbox_sub")}),i.jsx(cA,{children:i.jsx(KA,{name:"taskBoxMode",category:"widgets",items:e})})]}),i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("wb.settings_recent")}),i.jsx(cA,{children:i.jsx(fs,{name:"recentChats",category:"widgets"})})]})]})}const Gf=["Africa/Abidjan","Africa/Accra","Africa/Algiers","Africa/Bissau","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/El_Aaiun","Africa/Johannesburg","Africa/Juba","Africa/Khartoum","Africa/Lagos","Africa/Maputo","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Chicago","America/Chihuahua","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fort_Nelson","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/La_Paz","America/Lima","America/Los_Angeles","America/Maceio","America/Managua","America/Manaus","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Johns","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Helsinki","Europe/Istanbul","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/Saratov","Europe/Simferopol","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zaporozhye","Europe/Zurich","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis"];function jf({currentSubSection:e,onSubSectionChange:A,sectionName:r}){const[t,n]=E.useState(!1),a="modals.main.settings.sections.advanced",s=()=>localStorage.getItem("welcomePreview")!=="true"?i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.data"),subtitle:d.getMessage("modals.main.settings.sections.advanced.data_description")}),i.jsxs("div",{className:"resetDataButtonsLayout",children:[i.jsx(mA,{onClick:()=>n(!0),icon:i.jsx(Bo,{}),label:d.getMessage("modals.main.settings.buttons.reset")}),i.jsx(mA,{onClick:()=>mo(),icon:i.jsx(fo,{}),label:d.getMessage("modals.main.settings.buttons.export")}),i.jsx(mA,{onClick:()=>document.getElementById("file-input").click(),icon:i.jsx(ho,{}),label:d.getMessage("modals.main.settings.buttons.import")})]}),i.jsx(Is,{id:"file-input",accept:"application/json",type:"settings",loadFunction:c=>vo(c)})]}):i.jsx("div",{className:"emptyItems",children:i.jsx("div",{className:"emptyMessage",children:i.jsxs("div",{className:"loaderHolder",children:[i.jsx(wo,{}),i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.advanced.preview_data_disabled.title")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.advanced.preview_data_disabled.description")})]})})}),o=e==="data";let l;return o?l=i.jsx(TA,{title:d.getMessage(`${a}.title`),secondaryTitle:d.getMessage(`${a}.data`),goBack:()=>A(null,r),report:!1}):l=i.jsx(TA,{title:d.getMessage(`${a}.title`),report:!1}),i.jsxs(i.Fragment,{children:[l,o?i.jsxs(i.Fragment,{children:[i.jsx(s,{}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>n(!1),isOpen:t,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(go,{modalClose:()=>n(!1)})})]}):i.jsxs(i.Fragment,{children:[i.jsx(Tn,{title:d.getMessage(`${a}.data`),subtitle:d.getMessage(`${a}.data_subtitle`),onClick:()=>A("data",r),icon:i.jsx(uo,{})}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.timezone.title"),subtitle:d.getMessage("modals.main.settings.sections.advanced.timezone.subtitle")}),i.jsx(cA,{children:i.jsx(KA,{name:"timezone",category:"timezone",items:[{value:"auto",text:d.getMessage("modals.main.settings.sections.advanced.timezone.automatic")},...Gf.map(c=>({value:c,text:c}))]})})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.tab_name"),subtitle:d.getMessage("modals.main.settings.sections.advanced.tab_name_subtitle")}),i.jsx(cA,{children:i.jsx(tr,{name:"tabName",default:d.getMessage("tabname"),category:"other"})})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.custom_css"),subtitle:d.getMessage("modals.main.settings.sections.advanced.custom_css_subtitle")}),i.jsx(cA,{children:i.jsx(tr,{name:"customcss",textarea:!0,category:"other",customcss:!0})})]})]})]})}function Vf({currentSubSection:e,onSubSectionChange:A,sectionName:r}){const t=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.theme.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.theme.description")}),i.jsx(cA,{children:i.jsx(cn,{name:"theme",options:[{name:d.getMessage("modals.main.settings.sections.appearance.theme.auto"),value:"auto"},{name:d.getMessage("modals.main.settings.sections.appearance.theme.light"),value:"light"},{name:d.getMessage("modals.main.settings.sections.appearance.theme.dark"),value:"dark"}],category:"other"})})]}),n=()=>{const c="modals.main.settings.sections.appearance.font.weight";return i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.font.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.font.description")}),i.jsxs(cA,{children:[i.jsx(tr,{title:d.getMessage("modals.main.settings.sections.appearance.font.custom"),name:"font",upperCaseFirst:!0,category:"other"}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.appearance.font.weight.title"),name:"fontweight",category:"other",items:[{value:"100",text:d.getMessage(c+".thin")},{value:"200",text:d.getMessage(c+".extra_light")},{value:"300",text:d.getMessage(c+".light")},{value:"400",text:d.getMessage(c+".normal")},{value:"500",text:d.getMessage(c+".medium")},{value:"600",text:d.getMessage(c+".semi_bold")},{value:"700",text:d.getMessage(c+".bold")},{value:"800",text:d.getMessage(c+".extra_bold")}]}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.appearance.font.style.title"),name:"fontstyle",category:"other",items:[{value:"normal",text:d.getMessage("modals.main.settings.sections.appearance.font.style.normal")},{value:"italic",text:d.getMessage("modals.main.settings.sections.appearance.font.style.italic")},{value:"oblique",text:d.getMessage("modals.main.settings.sections.appearance.font.style.oblique")}]})]})]})},a=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.style.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.style.description")}),i.jsx(cA,{children:i.jsx(cn,{name:"widgetStyle",element:".other",options:[{name:d.getMessage("modals.main.settings.sections.appearance.style.legacy"),value:"legacy"},{name:d.getMessage("modals.main.settings.sections.appearance.style.new"),value:"new"}],category:"widgets"})})]}),s=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.accessibility.description")}),i.jsxs(cA,{children:[i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.title"),name:"textBorder",category:"other",items:[{value:"new",text:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.new")},{value:"true",text:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.old")},{value:"none",text:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.none")}]}),i.jsx(QA,{text:d.getMessage("modals.main.settings.sections.appearance.accessibility.animations"),name:"animations",category:"other"}),i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.toast_duration"),name:"toastDisplayTime",default:"2500",step:"100",min:"500",max:"5000",marks:at.toast,display:" "+d.getMessage("modals.main.settings.sections.appearance.accessibility.milliseconds")})]})]}),o=e==="accessibility";let l;return o?l=i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.appearance.title"),secondaryTitle:d.getMessage("modals.main.settings.sections.appearance.accessibility.title"),goBack:()=>A(null,r),report:!1}):l=i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.appearance.title"),report:!1}),i.jsxs(i.Fragment,{children:[l,o?i.jsx(s,{}):i.jsxs(i.Fragment,{children:[i.jsx(Tn,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.accessibility.description"),icon:i.jsx(po,{}),onClick:()=>A("accessibility",r)}),i.jsx(t,{}),i.jsx(n,{}),i.jsx(a,{})]})]})}const Pf=E.memo(Vf),Xf=`BSD 3-Clause License++Copyright (c) 2019-2026 The Mue Authors+Copyright (c) 2018-2019 David Ralph++All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++1. Redistributions of source code must retain the above copyright notice, this+ list of conditions and the following disclaimer.++2. Redistributions in binary form must reproduce the above copyright notice,+ this list of conditions and the following disclaimer in the documentation+ and/or other materials provided with the distribution.++3. Neither the name of the copyright holder nor the names of its+ contributors may be used to endorse or promote products derived from+ this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.+`;function Jf(){const e=Object.keys(Co),{MUE_REPO_URL:A,MUE_VERSION:r,REPO_URL:t,WEBSITE_URL:n}=d.constants;return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage("wb.settings_credits")}),i.jsx(rA,{children:i.jsx(nA,{title:"WebBrain",subtitle:"The WebBrain new tab is free software, licensed GPL-3.0-or-later, and makes no network requests of its own."})}),i.jsx(rA,{children:i.jsx(nA,{title:`Based on Mue ${r}`,subtitle:i.jsxs(i.Fragment,{children:["Derived from ",i.jsx("a",{href:A,target:"_blank",rel:"noreferrer",children:"Mue"})," by The Mue Authors and David Ralph, used under the BSD-3-Clause license reproduced below. Mue is not affiliated with or endorsing WebBrain."]})})}),i.jsx(rA,{children:i.jsx(nA,{title:d.getMessage("wb.settings_bundled_photos"),subtitle:`${e.join(", ")}. Offline images shipped with Mue (Unsplash, Pexels and Pixabay).`})}),i.jsx(rA,{children:i.jsx(nA,{title:"Fonts and icons",subtitle:"Inter, Lexend Deca and Montserrat (SIL Open Font License); Material Design icons via react-icons."})}),i.jsx(rA,{final:!0,children:i.jsx(nA,{title:"Mue license",subtitle:i.jsx("pre",{style:{whiteSpace:"pre-wrap",fontSize:"0.75rem"},children:Xf})})}),i.jsxs("p",{style:{opacity:.7,fontSize:"0.85rem"},children:[i.jsx("a",{href:n,target:"_blank",rel:"noreferrer",children:n.replace("https://","")})," · ",i.jsx("a",{href:t,target:"_blank",rel:"noreferrer",children:"GitHub"})]})]})}function Wf(){return i.jsx("span",{className:"greeting preview",children:"Good Morning"})}const Yf=E.memo(Wf),Zf=E.lazy(()=>Qo(()=>import("./index-WlLvTUiq.js"),__vite__mapDeps([0,1,2]),import.meta.url));function zf(){return localStorage.getItem("timeType")==="analogue"?i.jsx(E.Suspense,{fallback:i.jsx(i.Fragment,{}),children:i.jsx("div",{className:"clockBackground",children:i.jsx(Zf,{className:"analogclock clock-container",value:"2022-10-07T17:00:00+00:00",size:50})})}):localStorage.getItem("timeType")==="percentageComplete"?i.jsx("span",{className:"vertical-clock clock-container clockSkeleton",children:"68%"}):localStorage.getItem("timeType")==="verticalClock"?i.jsxs("span",{className:"vertical-clock clock-container",style:{fontSize:"30px"},children:[i.jsx("div",{className:"hour",children:"10"}),i.jsx("div",{className:"minute",children:"23"})]}):i.jsx("span",{className:"vertical-clock clock-container clockSkeleton",children:"10:24"})}const qf=E.memo(zf);function $f(e){return Kn({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"},child:[]}]})(e)}function Ah(e){return Kn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z"},child:[]}]})(e)}function eh(e){return Kn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M17.625 1.499c-2.32 0-4.354 1.203-5.625 3.03-1.271-1.827-3.305-3.03-5.625-3.03C3.129 1.499 0 4.253 0 8.249c0 4.275 3.068 7.847 5.828 10.227a33.14 33.14 0 0 0 5.616 3.876l.028.017.008.003-.001.003c.163.085.342.126.521.125.179.001.358-.041.521-.125l-.001-.003.008-.003.028-.017a33.14 33.14 0 0 0 5.616-3.876C20.932 16.096 24 12.524 24 8.249c0-3.996-3.129-6.75-6.375-6.75zm-.919 15.275a30.766 30.766 0 0 1-4.703 3.316l-.004-.002-.004.002a30.955 30.955 0 0 1-4.703-3.316c-2.677-2.307-5.047-5.298-5.047-8.523 0-2.754 2.121-4.5 4.125-4.5 2.06 0 3.914 1.479 4.544 3.684.143.495.596.797 1.086.796.49.001.943-.302 1.085-.796.63-2.205 2.484-3.684 4.544-3.684 2.004 0 4.125 1.746 4.125 4.5 0 3.225-2.37 6.216-5.048 8.523z"},child:[]}]})(e)}function th(){return i.jsx("div",{className:"quickLinksSkeleton",children:i.jsxs("div",{className:"circles",children:[i.jsx("div",{children:i.jsx($f,{})}),i.jsx("div",{children:i.jsx(Ah,{})}),i.jsx("div",{children:i.jsx(eh,{})})]})})}const rh=E.memo(th);function nh(){return i.jsx("span",{className:"date",children:"Thursday January 1st"})}const ah=E.memo(nh);function sh(){return i.jsx("h2",{className:"message",children:i.jsxs("span",{children:["Message",i.jsx("br",{})]})})}const ih=E.memo(sh),oh={greeting:d.getMessage("modals.main.settings.sections.greeting.title"),time:d.getMessage("modals.main.settings.sections.time.title"),quicklinks:d.getMessage("modals.main.settings.sections.quicklinks.title"),date:d.getMessage("modals.main.settings.sections.date.title"),message:d.getMessage("modals.main.settings.sections.message.title")},lh=({id:e})=>{const{attributes:A,listeners:r,setNodeRef:t,transform:n,transition:a}=ws({id:e}),s={transform:ps.Transform.toString(n),transition:a};return i.jsxs("li",{ref:t,style:s,...A,...r,className:"sortableItem",children:[oh[e],i.jsx(hs,{})]})},ch=()=>{const[e,A]=E.useState(()=>JSON.parse(localStorage.getItem("order"))||["greeting","time","quicklinks","date","message"]),r=Cs(rr(vs),rr(ms,{coordinateGetter:Qs})),t=s=>{const{active:o,over:l}=s;l&&o.id!==l.id&&A(c=>{const g=c.indexOf(o.id),B=c.indexOf(l.id);return ys(c,g,B)})},n=s=>s==="quicklinks"?localStorage.getItem("quicklinksenabled")==="true":localStorage.getItem(s)==="true",a=s=>{switch(s){case"greeting":return i.jsx(Yf,{});case"time":return i.jsx(qf,{});case"quicklinks":return i.jsx(rh,{});case"date":return i.jsx(ah,{});case"message":return i.jsx(ih,{});default:return null}};return E.useEffect(()=>{localStorage.setItem("order",JSON.stringify(e)),d.stats.postEvent("setting","Widget order"),UA.emit("refresh","widgets")},[e]),i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"mainTitle",children:d.getMessage("modals.main.marketplace.product.overview")}),i.jsxs("div",{className:"overviewGrid",children:[i.jsxs("div",{children:[i.jsx("span",{className:"title",children:d.getMessage("modals.welcome.buttons.preview")}),i.jsx("div",{className:"tabPreview",children:i.jsx("div",{className:"previewItem",style:{maxWidth:"50%"},children:e.map((s,o)=>n(s)?i.jsx("div",{className:"previewItem",children:a(s)},`item-${s}`):null)})})]}),i.jsxs("div",{children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.order.title")}),i.jsx(Us,{sensors:r,collisionDetection:Fs,onDragEnd:t,children:i.jsx(bs,{items:e,strategy:Es,children:i.jsx("ul",{className:"sortableContainer",children:e.map(s=>n(s)?i.jsx(lh,{id:s},s):null)})})})]})]})]})},os=[{label:"modals.main.marketplace.product.overview",name:"order",component:ch},{label:"modals.main.settings.sections.appearance.navbar.title",name:"navbar",component:Mo},{label:"modals.main.settings.sections.greeting.title",name:"greeting",component:Do},{label:"modals.main.settings.sections.time.title",name:"time",component:Oo},{label:"modals.main.settings.sections.quicklinks.title",name:"quicklinks",component:jo},{label:"modals.main.settings.sections.date.title",name:"date",component:Ro},{label:"modals.main.settings.sections.message.title",name:"message",component:Vo},{label:"modals.main.settings.sections.background.title",name:"background",component:Oi},{label:"wb.settings_taskbox",name:"taskbox",component:_f},{label:"modals.main.settings.sections.appearance.title",name:"appearance",component:Pf},{label:"modals.main.settings.sections.advanced.title",name:"advanced",component:jf},{label:"wb.settings_credits",name:"credits",component:Jf}];function gh(e){const A=Ct(),r=E.useMemo(()=>os.map(t=>({...t,translatedLabel:A(t.label)})),[A]);return i.jsx(Ho,{changeTab:t=>e.changeTab(t),current:"settings",currentTab:e.currentTab,onSectionChange:e.onSectionChange,onSubSectionChange:e.onSubSectionChange,currentSubSection:e.currentSubSection,deepLinkData:e.deepLinkData,navigationTrigger:e.navigationTrigger,sections:os,children:r.map(({label:t,name:n,component:a,translatedLabel:s})=>i.jsx("div",{label:s,name:n,children:i.jsx(a,{currentSubSection:e.currentSubSection,onSubSectionChange:e.onSubSectionChange,sectionName:n})},n))})}const Bh=E.memo(gh);export{Bh as default};diff --git a/src/firefox/newtab/assets/Settings-DPM-2yQQ.js b/src/firefox/newtab/assets/Settings-DPM-2yQQ.jsdeleted file mode 100644index 272057cda..000000000--- a/src/firefox/newtab/assets/Settings-DPM-2yQQ.js+++ /dev/null@@ -1,53 +0,0 @@-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-DfKEmD7L.js","./index-DLQt-leu.js","./index-DRYJ4NLv.css"])))=>i.map(i=>d[i]);-import{s as Oi,v as d,y as GA,r as E,j as i,B as mA,M as Ri,a as Ni,b as _i,E as UA,c as os,S as nt,R as m,d as ls,u as Ct,g as Gi,D as ji,e as cs,f as fe,h as jn,T as Vn,q as gs,i as Vi,k as us,l as ut,m as on,n as Bt,o as Bs,C as QA,p as KA,t as Pi,w as Xi,x as Ji,z as Wi,A as Hr,F as ds,G as er,H as tr,I as ln,J as fs,K as hs,L as ws,N as Yi,O as ps,P as rr,Q as Cs,U as Qs,V as ms,W as vs,X as Us,Y as Fs,Z as bs,_ as Zi,$ as Es,a0 as Pn,a1 as zi,a2 as ys,a3 as Ft,a4 as qi,a5 as Xn,a6 as Ve,a7 as $i,a8 as bt,a9 as Jn,aa as Ao,ab as Wn,ac as eo,ad as to,ae as ro,af as xs,ag as no,ah as ao,ai as so,aj as Yn,ak as io,al as oo,am as lo,an as co,ao as go,ap as uo,aq as Bo,ar as fo,as as ho,at as wo,au as po,av as Co,aw as Mn}from"./index-DLQt-leu.js";function Qo(){const e={};Object.keys(localStorage).forEach(n=>{e[n]=localStorage.getItem(n)});const A=new Date,t=`mue_settings_backup_${`${A.getFullYear()}-${(A.getMonth()+1).toString().padStart(2,"0")}-${A.getDate().toString().padStart(2,"0")}_${A.getHours().toString().padStart(2,"0")}-${A.getMinutes().toString().padStart(2,"0")}-${A.getSeconds().toString().padStart(2,"0")}`}.json`;Oi(e,t),d.stats.postEvent("tab","Settings exported")}function mo(e,A=!1){const r=JSON.parse(e);Object.keys(r).forEach(t=>{localStorage.setItem(t,r[t])}),GA(d.getMessage("toasts.imported")),A||d.stats.postEvent("tab","Settings imported"),setTimeout(()=>window.location.reload(),1200)}function TA(e){const[A,r]=E.useState(localStorage.getItem(e.setting)==="true");E.useEffect(()=>{r(localStorage.getItem(e.setting)==="true")},[e.setting]);const t=()=>{const s=localStorage.getItem(e.setting)==="true";if(localStorage.setItem(e.setting,!s),r(!s),d.stats.postEvent("setting",`${e.name} ${A===!0?"enabled":"disabled"}`),UA.emit("toggle",e.setting),e.element&&!document.querySelector(e.element)){os();return}UA.emit("refresh",e.category)},n=()=>i.jsx(mA,{type:"settings",onClick:t,icon:A?i.jsx(Ri,{}):i.jsx(Ni,{}),label:A?"Hide":"Show"}),a=()=>i.jsx(mA,{type:"settings",onClick:()=>window.open(d.constants.BUG_REPORT+e.title.split(" ").join("+"),"_blank"),icon:i.jsx(_i,{}),label:d.getMessage("modals.main.settings.sections.header.report_issue")});return i.jsxs("div",{className:"modalHeader",children:[i.jsx("span",{className:"mainTitle",children:e.secondaryTitle||e.title}),i.jsxs("div",{className:"headerActions",children:[e.visibilityToggle&&i.jsx(n,{}),e.report!==!1&&i.jsx(a,{}),e.children]})]})}function rA(e){const A=`${e.final?"settingsRow settingsNoBorder":"settingsRow"} ${e.inactive?"preferencesInactive":""}`;return i.jsx("div",{className:A,children:e.children})}function nA(e){return i.jsxs("div",{className:"content",children:[i.jsx("span",{className:"title",children:e.title}),i.jsx("span",{className:"subtitle",children:e.subtitle})]})}function cA(e){return i.jsx("div",{className:"action",children:e.children})}const vo=[{value:10,label:"0.1x"},{value:100,label:"1x"},{value:200,label:"2x"},{value:400,label:"4x"}],Uo=[{value:500,label:"0.5s"},{value:1e3,label:"1s"},{value:1500,label:"1.5s"},{value:2e3,label:"2s"},{value:2500,label:"2.5s"},{value:3e3,label:"3s"},{value:4e3,label:"4s"},{value:5e3,label:"5s"}],Fo=[{value:0,label:"0%"},{value:25,label:"25%"},{value:50,label:"50%"},{value:75,label:"75%"},{value:100,label:"100%"}],at={zoom:vo,toast:Uo,background:Fo},Qt=({children:e,...A})=>{const[r,t]=E.useState(localStorage.getItem(A.setting)==="true");return E.useEffect(()=>{const n=a=>{a===A.setting&&t(localStorage.getItem(A.setting)==="true")};return UA.on("toggle",n),()=>UA.off("toggle",n)},[A.setting]),i.jsxs("div",{className:r?"preferences":"preferencesInactive",children:[A.zoomSetting&&i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.widget_zoom"),subtitle:d.getMessage("modals.main.settings.sections.header.size")}),i.jsx(cA,{children:i.jsx(nt,{name:A.zoomSetting,min:"10",max:"400",default:"100",display:"%",marks:at.zoom,category:A.zoomCategory||A.category})})]}),e]})};function Kn({title:e,subtitle:A,icon:r,onClick:t,children:n}){return i.jsxs("div",{className:"moreSettings",onClick:t,children:[i.jsxs("div",{className:"left",children:[r,i.jsxs("div",{className:"content",children:[i.jsx("span",{className:"title",children:e}),i.jsx("span",{className:"subtitle",children:A})]})]}),i.jsx("div",{className:"action",children:m.Children.count(n)===0?i.jsx(ls,{}):n})]})}function bo({label:e,currentTab:A,onClick:r,navbarTab:t}){const n=Ct(),[a,s]=E.useState(!0);E.useEffect(()=>{s(localStorage.getItem("experimental")!=="false")},[]);const o=Gi(e,{getMessage:n}),l=ji.some(p=>n(p)===e),B=`${t?"navbar-item":"tab-list-item"}${A===e?` ${t?"navbar-item-active":"tab-list-active"}`:""}`;return e===n("modals.main.settings.sections.experimental.title")&&!a?i.jsx("hr",{}):i.jsxs(i.Fragment,{children:[i.jsxs("button",{className:B,onClick:()=>r(e),children:[o&&i.jsx(o,{})," ",i.jsx("span",{children:e})]}),l&&i.jsx("hr",{})]})}const Eo=E.memo(bo),yo=({isVisible:e,onHide:A})=>e?i.jsxs("div",{className:"reminder-info",children:[i.jsxs("div",{className:"shareHeader",children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.reminder.title")}),i.jsx("span",{className:"closeModal",onClick:A,children:i.jsx(cs,{})})]}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.reminder.message")}),i.jsxs("button",{onClick:()=>window.location.reload(),children:[i.jsx(fe,{}),d.getMessage("modals.main.error_boundary.refresh")]})]}):null;class xo extends E.PureComponent{constructor(A){super(A),this.state={error:!1,errorData:"",showReport:!0}}static getDerivedStateFromError(A){return console.error(A),{error:!0,errorData:A}}reportError(){window.open(d.constants.BUG_REPORT,"_blank","noopener,noreferrer"),this.setState({showReport:!1})}render(){return this.state.error?i.jsx("div",{className:"emptyItems",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(jn,{}),i.jsx("span",{className:"title",children:d.getMessage("modals.main.error_boundary.title")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.error_boundary.message")}),i.jsxs("div",{className:"buttonsRow",children:[this.state.showReport?i.jsx(mA,{type:"settings",icon:i.jsx(jn,{}),label:d.getMessage("modals.main.error_boundary.report_error"),onClick:()=>this.reportError()}):i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.error_boundary.sent")}),i.jsx(mA,{type:"settings",icon:i.jsx(fe,{}),label:d.getMessage("modals.main.error_boundary.refresh"),onClick:()=>window.location.reload()})]})]})}):this.props.children}}const Io=({children:e,navbar:A=!1,currentTab:r,onSectionChange:t,resetToFirst:n,deepLinkData:a,navigationTrigger:s,sections:o})=>{const l=Ct(),g=(()=>{if(a?.section&&o){const y=o.find(h=>h.name===a.section);if(y)return{label:l(y.label),name:y.name}}return{label:e[0]?.props.label,name:e[0]?.props.name}})(),[B,u]=E.useState(g.label),[p,Q]=E.useState(g.name),[C,I]=E.useState(localStorage.getItem("showReminder")==="true"),U=E.useRef(null),b=(y,h)=>{h!==p&&d.stats.postEvent("tab",`Opened ${h}`),u(y),Q(h),U.current&&(U.current.scrollTop=0),t&&t(y,h)};E.useEffect(()=>{t&&B&&t(B,p)},[]),E.useEffect(()=>{if(o&&p){const y=o.find(h=>h.name===p);if(y){const h=l(y.label);u(h)}}},[l,o,p]),E.useEffect(()=>{if(s?.type==="settings-section"&&o){const y=o.find(h=>h.name===s.data);if(y){const h=l(y.label);u(h),Q(y.name),U.current&&(U.current.scrollTop=0)}}},[s,o,l]),E.useEffect(()=>{n&&(u(e[0]?.props.label),Q(e[0]?.props.name),U.current&&(U.current.scrollTop=0),t&&t(e[0]?.props.label,e[0]?.props.name))},[n]);const L=()=>{localStorage.setItem("showReminder","false"),I(!1)},S=r===Vn.SETTINGS||r===Vn.DISCOVER;return i.jsxs("div",{style:{display:"flex",width:"100%",height:"100%",overflow:"hidden"},children:[S?i.jsxs("div",{className:"modalSidebar",children:[e.map((y,h)=>i.jsx(Eo,{currentTab:B,label:y.props.label,onClick:x=>b(x,y.props.name),navbarTab:A},h)),i.jsx(yo,{isVisible:C,onHide:L})]}):null,i.jsx("div",{className:"modalTabContent",ref:U,children:e.map((y,h)=>y.props.label!==B?null:i.jsx(xo,{children:y.props.children},`error-boundary-${h}`))})]})};async function nr(e){const A=String(e??"").trim();try{return new URL(/^[a-z][a-z0-9+.-]*:/i.test(A)?A:`https://${A}`).hostname.replace(/^www\./i,"")||A}catch{return A}}function dt(e){return/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._~#=]{1,256}\.[a-zA-Z0-9()]{1,63}\b([-a-zA-Z0-9()!@:%_.~#?&=]*)/.test(e)}function ar(e){let A=String(e??"").trim();if(!A)return null;const r=/^https?:\/\//i.exec(A);A=r?r[0].toLowerCase()+A.slice(r[0].length):`https://${A}`;try{if(!/^https?:$/.test(new URL(A).protocol))return null}catch{return null}return dt(A)?A:null}const Ho=({item:e,deleteLink:A,startEditLink:r,draggable:t=!1,onDragStart:n,onDragOver:a,onDrop:s,onDragEnd:o,isDragOver:l=!1,isDragging:c=!1})=>{let g,B=null;if(localStorage.getItem("quicklinksnewtab")==="true"&&(g="_blank",B="noopener noreferrer"),localStorage.getItem("quicklinksText")==="true")return i.jsx("a",{className:"quicklinkstext",onContextMenu:C=>A(e.key,C),href:e.url,target:g,rel:B,draggable:!1,children:e.name});const p=e.icon||gs(e.url,e.name),Q=`messageMap ${c?"dragging":""} ${l?"drag-over":""}`;return i.jsxs("div",{className:Q,draggable:t,onDragStart:C=>n&&n(C,e.key),onDragOver:C=>a&&a(C,e.key),onDrop:C=>s&&s(C,e.key),onDragEnd:C=>o&&o(C),children:[i.jsx("div",{className:"dragHandle","aria-hidden":!0,children:i.jsx(Vi,{})}),i.jsx("div",{className:"icon",children:i.jsx("img",{src:p,alt:e.name,draggable:!1,style:{height:"30px",width:"30px"}})}),i.jsxs("div",{className:"messageText",children:[i.jsx("div",{className:"title",children:e.name}),i.jsx("div",{className:"subtitle",children:i.jsx("a",{className:"quicklinknostyle",target:"_blank",rel:"noopener noreferrer",href:e.url,children:e.url})})]}),i.jsx("div",{children:i.jsxs("div",{className:"messageAction",children:[i.jsx(mA,{type:"settings",onClick:()=>r(e),icon:i.jsx(us,{}),label:d.getMessage("modals.main.settings.sections.quicklinks.edit")}),i.jsx(mA,{type:"settings",onClick:C=>A(e.key,C),icon:i.jsx(ut,{}),label:d.getMessage("modals.main.marketplace.product.buttons.remove")})]})})]})};function So({appsEnabled:e}){const A=Ct(),[r,t]=E.useState({newLink:!1,edit:!1,items:JSON.parse(localStorage.getItem("applinks")),urlError:"",iconError:"",editData:null}),n=async(l,c,g)=>{const B=JSON.parse(localStorage.getItem("applinks"));if(c=ar(c),!c)return t(u=>({...u,urlError:A("widgets.quicklinks.url_error")}));if(g.length>0&&dt(g)===!1)return t(u=>({...u,iconError:A("widgets.quicklinks.icon_error")}));B.push({name:l||await nr(c),url:c,icon:g||"",key:Math.random().toString(36).substring(7)+1}),localStorage.setItem("applinks",JSON.stringify(B)),t({newLink:!1,edit:!1,items:B,urlError:"",iconError:""}),UA.emit("refresh","navbar"),d.stats.postEvent("feature","App link add")},a=l=>{t(c=>({...c,edit:!0,editData:l}))},s=async(l,c,g,B)=>{const u=JSON.parse(localStorage.getItem("applinks")),p=u.find(Q=>Q.key===l.key);if(p){if(g=ar(g),!g)return t(Q=>({...Q,urlError:A("widgets.quicklinks.url_error")}));if(B.length>0&&dt(B)===!1)return t(Q=>({...Q,iconError:A("widgets.quicklinks.icon_error")}));p.name=c||await nr(g),p.url=g,p.icon=B||"",localStorage.setItem("applinks",JSON.stringify(u)),t(Q=>({...Q,items:u,edit:!1,newLink:!1})),UA.emit("refresh","navbar")}},o=(l,c)=>{c.preventDefault();const g=JSON.parse(localStorage.getItem("applinks")).filter(B=>B.key!==l);localStorage.setItem("applinks",JSON.stringify(g)),t(B=>({...B,items:g})),UA.emit("refresh","navbar"),d.stats.postEvent("feature","App link delete")};return i.jsxs(i.Fragment,{children:[i.jsxs(rA,{final:!0,inactive:!e,children:[i.jsx(nA,{title:A("widgets.navbar.apps.title"),subtitle:A("modals.main.settings.sections.appearance.navbar.apps_subtitle")}),i.jsx(cA,{children:i.jsx(mA,{type:"settings",onClick:()=>t(l=>({...l,newLink:!0})),icon:i.jsx(on,{}),label:A("modals.main.settings.sections.quicklinks.add_link")})})]}),i.jsx("div",{className:"messagesContainer",children:r.items.map((l,c)=>i.jsx(Ho,{item:l,startEditLink:()=>a(l),deleteLink:(g,B)=>o(g,B)},c))}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>t(l=>({...l,newLink:!1,edit:!1})),isOpen:r.edit||r.newLink,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(Bs,{urlError:r.urlError,iconError:r.iconError,addLink:(l,c,g)=>n(l,c,g),editLink:(l,c,g,B)=>s(l,c,g,B),edit:r.edit,editData:r.editData,closeModal:()=>t(l=>({...l,newLink:!1,edit:!1}))})})]})}function Lo(){const e=Ct(),[A,r]=E.useState(localStorage.getItem("refresh")==="true"),[t,n]=E.useState(localStorage.getItem("appsEnabled")==="true"||!1),a="modals.main.settings.sections.appearance.navbar",s=()=>i.jsxs(rA,{final:!1,children:[i.jsx(nA,{title:e("modals.main.settings.additional_settings"),subtitle:e("modals.main.settings.sections.appearance.navbar.additional")}),i.jsx(cA,{children:i.jsx(QA,{name:"navbarHover",text:e(`${a}.hover`),category:"navbar"})})]}),o=()=>{const c=({icon:B,messageKey:u,settingName:p})=>{const[Q,C]=E.useState(localStorage.getItem(p)!=="true"),I=()=>{localStorage.setItem(p,Q),p==="refresh"?r(!A):p==="appsEnabled"&&n(!t),C(!Q),d.stats.postEvent("setting",`${p} ${Q?"disabled":"enabled"}`),UA.emit("refresh","navbar")};return i.jsxs("button",{onClick:I,className:`navbarButtonOption ${Q===!0?"disabled":""}`,children:[B,i.jsx("span",{className:"subtitle",children:e(u)})]})},g=[{icon:i.jsx(Pi,{}),settingName:"view",messageKey:"modals.main.settings.sections.background.buttons.view"},{icon:i.jsx(Xi,{}),settingName:"notesEnabled",messageKey:`${a}.notes`},{icon:i.jsx(Ji,{}),settingName:"todoEnabled",messageKey:"widgets.navbar.todo.title"},{icon:i.jsx(fe,{}),settingName:"refresh",messageKey:`${a}.refresh`},{icon:i.jsx(Wi,{}),settingName:"appsEnabled",messageKey:"widgets.navbar.apps.title"}];return i.jsxs(rA,{children:[i.jsx(nA,{title:e("modals.main.settings.sections.appearance.navbar.widgets")}),i.jsx(cA,{children:i.jsx("div",{className:"navbarButtonOptions",children:g.map((B,u)=>i.jsx(c,{...B},u))})})]})},l=()=>i.jsxs(rA,{final:!1,inactive:!A,children:[i.jsx(nA,{title:e(`${a}.refresh`),subtitle:e("modals.main.settings.sections.appearance.navbar.refresh_subtitle")}),i.jsx(cA,{children:i.jsx(KA,{name:"refreshOption",category:"navbar",items:[{value:"page",text:e("modals.main.settings.sections.appearance.navbar.refresh_options.page")},{value:"background",text:e("modals.main.settings.sections.background.title")}]})})]});return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:e(`${a}.title`),setting:"navbar",category:"widgets",zoomSetting:"zoomNavbar",zoomCategory:"navbar"}),i.jsx(s,{}),i.jsx(o,{}),i.jsx(l,{}),i.jsx(So,{appsEnabled:t})]})}const ko=E.memo(Lo),Zn=[{id:"widgets.greeting.christmas",name:"Merry Christmas",month:12,date:25},{id:"widgets.greeting.newyear",name:"Happy New Year",month:1,date:1},{id:"widgets.greeting.halloween",name:"Happy Halloween",month:10,date:31}],Mo=e=>{const[A,r,t]=String(e).split("-").map(Number);return A&&r&&t?new Date(A,r-1,t):new Date},Ko=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,To=({currentSubSection:e,onSubSectionChange:A,sectionName:r})=>{const[t,n]=E.useState(JSON.parse(localStorage.getItem("customEvents"))||[]),[a,s]=E.useState(()=>{const h=localStorage.getItem("birthday");return h?new Date(h):new Date}),[o,l]=E.useState(localStorage.getItem("birthdayenabled")==="true"?"preferences":"preferencesInactive"),[c,g]=E.useState(localStorage.getItem("events")==="true"?"preferences":"preferencesInactive"),B=h=>{const x=h.target.value?Mo(h.target.value):new Date;localStorage.setItem("birthday",x),s(x)},u="modals.main.settings.sections.greeting",p=()=>{const h=JSON.parse(localStorage.getItem("customEvents"))||[],x={id:"widgets.greeting.halloween",name:"",month:1,date:1},K=[...h,x];h.push(x),localStorage.setItem("customEvents",JSON.stringify(h)),n(K)},Q=h=>{const x=t.filter((K,k)=>k!==h);localStorage.setItem("customEvents",JSON.stringify(x)),n(x)},C=()=>{localStorage.setItem("customEvents",JSON.stringify(Zn)),n(Zn),GA(d.getMessage("toasts.reset"))},I=(h,x)=>{n(k=>{const R=[...k];return R[h]=x,R});const K=JSON.parse(localStorage.getItem("customEvents")||"[]");K[h]=x,localStorage.setItem("customEvents",JSON.stringify(K))},U=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.additional_settings"),subtitle:d.getMessage(`${u}.additional`)}),i.jsxs(cA,{children:[i.jsx(QA,{name:"defaultGreetingMessage",text:d.getMessage(`${u}.default`),category:"greeting"}),i.jsx(tr,{title:d.getMessage(`${u}.name`),name:"greetingName",category:"greeting"})]})]}),b=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage(`${u}.birthday`),subtitle:d.getMessage("modals.main.settings.sections.greeting.birthday_subtitle")}),i.jsxs(cA,{children:[i.jsx(ds,{name:"birthdayenabled",text:d.getMessage("modals.main.settings.enabled"),category:"greeting",onChange:h=>{l(h?"preferences":"preferencesInactive")}}),i.jsxs("div",{className:o,children:[i.jsx(QA,{name:"birthdayage",text:d.getMessage(`${u}.birthday_age`),category:"greeting"}),i.jsx("p",{style:{marginRight:"auto"},children:d.getMessage(`${u}.birthday_date`)}),i.jsx("input",{type:"date",onChange:B,value:Ko(a),required:!0})]})]})]}),L=()=>i.jsxs("div",{className:c,children:[i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${u}.custom`)}),i.jsx(cA,{children:i.jsxs("div",{className:"headerActions",children:[i.jsx(mA,{type:"settings",onClick:C,icon:i.jsx(fe,{}),label:d.getMessage("modals.main.settings.buttons.reset")}),i.jsx(mA,{type:"settings",onClick:p,icon:i.jsx(er,{}),label:d.getMessage("widgets.quicklinks.add")})]})})]}),i.jsx("div",{className:"messagesContainer",children:t.map((h,x)=>i.jsxs("div",{className:"messageMap",children:[i.jsxs("div",{className:"flexGrow",children:[i.jsx("div",{className:"icon",children:i.jsx(Hr,{})}),i.jsxs("div",{className:"messageText",children:[i.jsx("span",{className:"subtitle",children:d.getMessage(`${u}.event_name`)}),i.jsx("input",{type:"text",className:"text-field-input",value:h.name,placeholder:d.getMessage(`${u}.event_name`),onChange:K=>{const k={...h,name:K.target.value};I(x,k)}})]})]}),i.jsx("div",{children:i.jsxs("div",{className:"messageAction",children:[i.jsxs("div",{className:"eventDateSelection",children:[i.jsxs("label",{className:"subtitle",children:[d.getMessage(`${u}.day`),":"]}),i.jsx("input",{id:"day",type:"number",min:"1",max:"31",value:h.date,onChange:K=>{const k=parseInt(K.target.value,10);if(k>=1&&k<=31){const R={...h,date:k};I(x,R)}}}),i.jsx("hr",{}),i.jsxs("label",{className:"subtitle",children:[d.getMessage(`${u}.month`),":"]}),i.jsx("input",{id:"month",type:"number",min:"1",max:"12",value:h.month,onChange:K=>{const k=parseInt(K.target.value,10);if(k>=1&&k<=12){const R={...h,month:k};I(x,R)}}})]}),i.jsx(mA,{type:"settings",onClick:()=>Q(x),icon:i.jsx(ut,{}),label:d.getMessage("modals.main.marketplace.product.buttons.remove")})]})})]},x))}),t.length===0&&i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Hr,{}),i.jsx("span",{className:"title",children:d.getMessage(`${u}.no_events`)}),i.jsx("span",{className:"subtitle",children:d.getMessage(`${u}.no_events_description`)}),i.jsx(mA,{type:"settings",onClick:p,icon:i.jsx(er,{}),label:d.getMessage(`${u}.add_event`)})]})})]}),S=e==="events";let y;return S?y=i.jsx(TA,{title:d.getMessage(`${u}.title`),secondaryTitle:d.getMessage(`${u}.events.title`),goBack:()=>A(null,r),report:!1}):y=i.jsx(TA,{title:d.getMessage(`${u}.title`),setting:"greeting",category:"widgets",zoomSetting:"zoomGreeting",visibilityToggle:!0}),i.jsxs(i.Fragment,{children:[y,S?i.jsxs(i.Fragment,{children:[i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage(`${u}.events`),subtitle:d.getMessage(`${u}.enable_events`)}),i.jsx(cA,{children:i.jsx(QA,{name:"events",text:d.getMessage(`${u}.events`),category:"greeting",onChange:h=>{g(h?"preferences":"preferencesInactive")}})})]}),b(),L()]}):i.jsxs(Qt,{setting:"greeting",zoomSetting:"zoomGreeting",category:"greeting",visibilityToggle:!0,children:[i.jsx(U,{}),i.jsx(Kn,{title:d.getMessage(`${u}.events`),subtitle:d.getMessage(`${u}.events_description`),onClick:()=>A("events",r),icon:i.jsx(Hr,{})})]})]})},Do=()=>{const[e,A]=E.useState(localStorage.getItem("timeType")||"digital"),[r,t]=E.useState(localStorage.getItem("hourColour")||"#ffffff"),[n,a]=E.useState(localStorage.getItem("minuteColour")||"#ffffff"),[s,o]=E.useState(localStorage.getItem("secondColour")||"#ffffff"),l="modals.main.settings.sections.time",c=(C,I)=>{const U=I.target.value;C==="hourColour"?t(U):C==="minuteColour"?a(U):C==="secondColour"&&o(U),localStorage.setItem(C,U)},g=()=>i.jsxs(rA,{final:e==="percentageComplete",children:[i.jsx(nA,{title:d.getMessage(`${l}.type`),subtitle:d.getMessage(`${l}.type_subtitle`)}),i.jsx(cA,{children:i.jsx(KA,{name:"timeType",onChange:C=>A(C),category:"clock",items:[{value:"digital",text:d.getMessage(`${l}.digital.title`)},{value:"analogue",text:d.getMessage(`${l}.analogue.title`)},{value:"percentageComplete",text:d.getMessage(`${l}.percentage_complete`)},{value:"verticalClock",text:d.getMessage(`${l}.vertical_clock.title`)}]})})]}),B=i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${l}.digital.title`),subtitle:d.getMessage(`${l}.digital.subtitle`)}),i.jsxs(cA,{children:[i.jsx(ln,{name:"timeformat",options:[{name:d.getMessage(`${l}.digital.twentyfourhour`),value:"twentyfourhour"},{name:d.getMessage(`${l}.digital.twelvehour`),value:"twelvehour"}],smallTitle:!0,category:"clock"}),i.jsx(QA,{name:"seconds",text:d.getMessage(`${l}.digital.seconds`),category:"clock"}),i.jsx(QA,{name:"zero",text:d.getMessage(`${l}.digital.zero`),category:"clock"})]})]}),u=i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${l}.analogue.title`),subtitle:d.getMessage(`${l}.analogue.subtitle`)}),i.jsxs(cA,{children:[i.jsx(QA,{name:"secondHand",text:d.getMessage(`${l}.analogue.second_hand`),category:"clock"}),i.jsx(QA,{name:"minuteHand",text:d.getMessage(`${l}.analogue.minute_hand`),category:"clock"}),i.jsx(QA,{name:"hourHand",text:d.getMessage(`${l}.analogue.hour_hand`),category:"clock"}),i.jsx(QA,{name:"hourMarks",text:d.getMessage(`${l}.analogue.hour_marks`),category:"clock"}),i.jsx(QA,{name:"minuteMarks",text:d.getMessage(`${l}.analogue.minute_marks`),category:"clock"}),i.jsx(QA,{name:"roundClock",text:d.getMessage(`${l}.analogue.round_clock`),category:"clock"})]})]}),p=i.jsxs(i.Fragment,{children:[i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.vertical_clock.change_hour_colour")}),i.jsxs(cA,{children:[i.jsxs("div",{className:"colourInput",children:[i.jsx("input",{type:"color",name:"hourColour",className:"minuteColour",onChange:C=>c("hourColour",C),value:r}),i.jsx("label",{htmlFor:"hourColour",className:"customBackgroundHex",children:r})]}),i.jsxs("span",{className:"link",onClick:()=>c("hourColour",{target:{value:"#ffffff"}}),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})]})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.vertical_clock.change_minute_colour")}),i.jsxs(cA,{children:[i.jsxs("div",{className:"colourInput",children:[i.jsx("input",{type:"color",name:"minuteColour",className:"minuteColour",onChange:C=>c("minuteColour",C),value:n}),i.jsx("label",{htmlFor:"minuteColour",className:"customBackgroundHex",children:n})]}),i.jsxs("span",{className:"link",onClick:()=>c("minuteColour",{target:{value:"#ffffff"}}),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})]})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.vertical_clock.change_second_colour")}),i.jsxs(cA,{children:[i.jsxs("div",{className:"colourInput",children:[i.jsx("input",{type:"color",name:"secondColour",className:"secondColour",onChange:C=>c("secondColour",C),value:s}),i.jsx("label",{htmlFor:"secondColour",className:"customBackgroundHex",children:s})]}),i.jsxs("span",{className:"link",onClick:()=>c("secondColour",{target:{value:"#ffffff"}}),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})]})]}),B]}),Q=()=>{switch(e){case"digital":return B;case"analogue":return u;case"verticalClock":return p;default:return null}};return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage(`${l}.title`),setting:"time",category:"widgets",zoomSetting:"zoomClock",visibilityToggle:!0}),i.jsxs(Qt,{setting:"time",zoomSetting:"zoomClock",category:"clock",visibilityToggle:!0,children:[i.jsx(g,{}),Q()]})]})};function Oo(){const[e,A]=E.useState(localStorage.getItem("dateType")||"long"),r=["DMY","MDY","YMD"],t=i.jsxs(i.Fragment,{children:[i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.date.long_format"),name:"longFormat",category:"date",items:r.map(a=>({value:a,text:a}))}),i.jsx(QA,{name:"dayofweek",text:d.getMessage("modals.main.settings.sections.date.day_of_week"),category:"date"}),i.jsx(QA,{name:"datenth",text:d.getMessage("modals.main.settings.sections.date.datenth"),category:"date"})]}),n=i.jsxs(i.Fragment,{children:[i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.date.short_format"),name:"dateFormat",category:"date",items:r.map(a=>({value:a,text:a}))}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.date.short_separator.title"),name:"shortFormat",category:"date",items:[{value:"dash",text:d.getMessage("modals.main.settings.sections.date.short_separator.dash")},{value:"dots",text:d.getMessage("modals.main.settings.sections.date.short_separator.dots")},{value:"gaps",text:d.getMessage("modals.main.settings.sections.date.short_separator.gaps")},{value:"slashes",text:d.getMessage("modals.main.settings.sections.date.short_separator.slashes")}]})]});return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.date.title"),setting:"date",category:"widgets",zoomSetting:"zoomDate",visibilityToggle:!0}),i.jsxs(Qt,{setting:"date",visibilityToggle:!0,category:"date",zoomSetting:"zoomDate",children:[i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.time.type"),subtitle:d.getMessage("modals.main.settings.sections.date.type.subtitle")}),i.jsx(cA,{children:i.jsx(KA,{name:"dateType",onChange:a=>{A(a),localStorage.setItem("dateType",a)},category:"date",items:[{value:"long",text:d.getMessage("modals.main.settings.sections.date.type.long")},{value:"short",text:d.getMessage("modals.main.settings.sections.date.type.short")}]})})]}),i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:e==="long"?d.getMessage("modals.main.settings.sections.date.type.long"):d.getMessage("modals.main.settings.sections.date.type.short"),subtitle:d.getMessage("modals.main.settings.sections.date.type_settings")}),i.jsxs(cA,{children:[e==="long"?t:n,i.jsx(QA,{name:"weeknumber",text:d.getMessage("modals.main.settings.sections.date.week_number"),category:"date"}),i.jsx(QA,{name:"datezero",text:d.getMessage("modals.main.settings.sections.time.digital.zero"),category:"date"})]})]})]})]})}const Ro=()=>i.jsx("div",{className:"quicklink-drag-handle","aria-hidden":"true",children:i.jsx(fs,{})}),No=({value:e,enabled:A,startEditLink:r,deleteLink:t})=>{const{attributes:n,listeners:a,setNodeRef:s,transform:o,transition:l,isDragging:c}=hs({id:e.key,disabled:!A}),g={transform:ws.Transform.toString(o),transition:l,opacity:c?.5:1},B=u=>u.icon||gs(u.url,u.name);return i.jsxs("div",{ref:s,style:g,...n,...a,className:`quicklink-item ${A?"":"disabled"}`,role:"listitem",children:[i.jsx(Ro,{}),i.jsx("div",{className:"quicklink-icon",children:i.jsx("img",{src:B(e),alt:e.name,draggable:!1})}),i.jsxs("div",{className:"quicklink-content",children:[i.jsx("div",{className:"quicklink-name",children:e.name}),i.jsx("div",{className:"quicklink-url",children:e.url})]}),i.jsxs("div",{className:"quicklink-actions",children:[i.jsxs("button",{className:"quicklink-action-btn",onClick:u=>{A&&(u.stopPropagation(),r(e))},title:"Edit",disabled:!A,"aria-disabled":!A,children:[i.jsx(us,{}),i.jsx("span",{children:"Edit"})]}),i.jsxs("button",{className:"quicklink-action-btn quicklink-remove-btn",onClick:u=>{A&&(u.stopPropagation(),t(e.key,u))},title:"Remove",disabled:!A,"aria-disabled":!A,children:[i.jsx(Yi,{}),i.jsx("span",{children:"Remove"})]})]})]})},_o=({items:e,enabled:A,onDragEnd:r,startEditLink:t,deleteLink:n})=>{const a=ps(rr(ms,{activationConstraint:{distance:6}}),rr(Qs,{coordinateGetter:Cs}));return i.jsx(vs,{sensors:a,collisionDetection:Us,onDragEnd:r,children:i.jsx(Fs,{items:e.map(s=>s.key),strategy:bs,children:i.jsx("div",{className:"quicklinks-list",role:"list",children:e.map(s=>i.jsx(No,{value:s,enabled:A,startEditLink:t,deleteLink:n},s.key))})})})},Pe=()=>{try{const e=localStorage.getItem("quicklinks");if(!e)return[];const A=JSON.parse(e);return Array.isArray(A)?A:[]}catch(e){return console.warn("Failed to parse quicklinks from localStorage. Resetting to []",e),[]}},Go=()=>{const[e,A]=E.useState(Pe()),[r,t]=E.useState(!1),[n,a]=E.useState(""),[s,o]=E.useState(""),[l,c]=E.useState(!1),[g,B]=E.useState(""),[u,p]=E.useState(localStorage.getItem("quicklinksenabled")!=="false"),Q=E.useRef(),C=E.useRef(!1),I=R=>{if(!Q||!Q.current)return;const O=Q.current;O.classList.toggle("disabled",!R),R?O.removeAttribute("aria-hidden"):O.setAttribute("aria-hidden","true")},U=(R,O)=>{O.preventDefault();const D=Pe().filter(z=>z.key!==R);C.current=!0,localStorage.setItem("quicklinks",JSON.stringify(D)),A(D),d.stats.postEvent("feature","Quicklink delete"),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)},b=async(R,O,Z)=>{const D=Pe();if(O=ar(O),!O){a(d.getMessage("widgets.quicklinks.url_error"));return}if(Z.length>0&&dt(Z)===!1){o(d.getMessage("widgets.quicklinks.url_error"));return}const z={name:R||await nr(O),url:O,icon:Z||"",key:Date.now().toString()+Math.random().toString(36).substring(2)};D.push(z),C.current=!0,localStorage.setItem("quicklinks",JSON.stringify(D)),A(D),t(!1),a(""),o(""),d.stats.postEvent("feature","Quicklink add"),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)},L=R=>{c(!0),B(R),t(!0)},S=async(R,O,Z,D)=>{const z=Pe(),eA=z.find(tA=>tA.key===R.key);if(eA){if(Z=ar(Z),!Z){a(d.getMessage("widgets.quicklinks.url_error"));return}if(D.length>0&&dt(D)===!1){o(d.getMessage("widgets.quicklinks.url_error"));return}eA.name=O||await nr(Z),eA.url=Z,eA.icon=D||"",C.current=!0,localStorage.setItem("quicklinks",JSON.stringify(z)),A(z),t(!1),c(!1),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)}},y=R=>{const{active:O,over:Z}=R;if(!Z||!u||O.id===Z.id)return;const D=e.findIndex(tA=>tA.key===O.id),z=e.findIndex(tA=>tA.key===Z.id);if(D===-1||z===-1)return;const eA=Es(e,D,z);C.current=!0,A(eA),localStorage.setItem("quicklinks",JSON.stringify(eA)),UA.emit("refresh","quicklinks"),setTimeout(()=>{C.current=!1},0)};E.useEffect(()=>{I(u)},[u]),E.useEffect(()=>{I(u);const R=O=>{if(O!=="quicklinks"||C.current)return;const Z=localStorage.getItem("quicklinksenabled")!=="false",D=Pe(),z=e||[],eA=z.length===D.length&&z.every(tA=>D.some(AA=>AA.key===tA.key));(Z!==u||!eA)&&(I(Z),A(D),p(Z))};return UA.on("refresh",R),()=>{UA.off("refresh",R)}},[u,e]);const h="modals.main.settings.sections.quicklinks",x=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.additional_settings"),subtitle:d.getMessage(`${h}.additional`)}),i.jsxs(cA,{children:[i.jsx(QA,{name:"quicklinksnewtab",text:d.getMessage(`${h}.open_new`),category:"quicklinks"}),i.jsx(QA,{name:"quicklinkstooltip",text:d.getMessage(`${h}.tooltip`),category:"quicklinks"})]})]}),K=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage(`${h}.styling`),subtitle:d.getMessage("modals.main.settings.sections.quicklinks.styling_description")}),i.jsx(cA,{children:i.jsx(KA,{label:d.getMessage(`${h}.style`),name:"quickLinksStyle",category:"quicklinks",items:[{value:"icon",text:d.getMessage(`${h}.options.icon`)},{value:"text",text:d.getMessage(`${h}.options.text_only`)},{value:"metro",text:d.getMessage(`${h}.options.metro`)}]})})]}),k=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${h}.title`)}),i.jsx(cA,{children:i.jsx(mA,{type:"settings",onClick:()=>u&&t(!0),icon:i.jsx(on,{}),label:d.getMessage(`${h}.add_link`),disabled:!u})})]});return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage(`${h}.title`),setting:"quicklinksenabled",category:"widgets",zoomSetting:"zoomQuicklinks",visibilityToggle:!0}),i.jsxs(Qt,{setting:"quicklinksenabled",category:"quicklinks",visibilityToggle:!0,zoomSetting:"zoomQuicklinks",children:[i.jsx(x,{}),i.jsx(K,{}),i.jsx(k,{}),e.length===0&&i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Zi,{}),i.jsx("span",{className:"title",children:d.getMessage(`${h}.no_quicklinks`)}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.message.add_some")}),i.jsx(mA,{type:"settings",onClick:()=>t(!0),icon:i.jsx(on,{}),label:d.getMessage(`${h}.add_link`)})]})})]}),i.jsx("div",{className:`quicklinks-container ${u?"":"disabled"}`,ref:Q,"aria-hidden":!u,children:i.jsx("div",{className:`messagesContainer ${u?"":"disabled"}`,children:i.jsx(_o,{items:e,enabled:u,onDragEnd:y,startEditLink:R=>L(R),deleteLink:(R,O)=>U(R,O)})})}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>{t(!1),a(""),o(""),c(!1),B("")},isOpen:r,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(Bs,{urlError:n,iconError:s,addLink:(R,O,Z)=>b(R,O,Z),editLink:(R,O,Z,D)=>S(R,O,Z,D),edit:l,editData:g,closeModal:()=>{t(!1),a(""),o(""),c(!1)}})})]})},jo=()=>{const[e,A]=E.useState(JSON.parse(localStorage.getItem("messages"))||[]),r=(a,s)=>{const o=[...e];a==="add"?o.push(""):o.splice(s,1),A(o),localStorage.setItem("messages",JSON.stringify(o)),UA.emit("refresh","message")},t=(a,s,o)=>{const l=a.target.value,c=[...e];c[o]=l,A(c),localStorage.setItem("messages",JSON.stringify(c)),os()},n="modals.main.settings.sections.message";return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage(`${n}.title`),setting:"message",category:"widgets",zoomSetting:"zoomMessage",visibilityToggle:!0}),i.jsxs(Qt,{setting:"message",visibilityToggle:!0,category:"message",zoomSetting:"zoomMessage",children:[i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage(`${n}.messages`)}),i.jsx(cA,{children:i.jsx(mA,{type:"settings",onClick:()=>r("add"),icon:i.jsx(er,{}),label:d.getMessage(`${n}.add`)})})]}),i.jsx("div",{className:"messagesContainer",children:e.map((a,s)=>i.jsxs("div",{className:"messageMap",children:[i.jsxs("div",{className:"flexGrow",children:[i.jsx("div",{className:"icon",children:i.jsx(Pn,{})}),i.jsxs("div",{className:"messageText",children:[i.jsx("span",{className:"subtitle",children:d.getMessage(`${n}.title`)}),i.jsx(zi,{value:e[s],placeholder:d.getMessage("modals.main.settings.sections.message.content"),onChange:o=>t(o,!0,s),minRows:2})]})]}),i.jsx("div",{children:i.jsx("div",{className:"messageAction",children:i.jsx(mA,{type:"settings",onClick:()=>r("remove",s),icon:i.jsx(ut,{}),label:d.getMessage("modals.main.marketplace.product.buttons.remove")})})})]},s))}),e.length===0&&i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Pn,{}),i.jsx("span",{className:"title",children:d.getMessage(`${n}.no_messages`)}),i.jsx("span",{className:"subtitle",children:d.getMessage(`${n}.add_some`)}),i.jsx(mA,{type:"settings",onClick:()=>r("add"),icon:i.jsx(er,{}),label:d.getMessage(`${n}.add`)})]})})]})]})};var Sr={exports:{}},zn;function Vo(){return zn||(zn=1,(function(e){(function(A){var r=/^\s+/,t=/\s+$/,n=0,a=A.round,s=A.min,o=A.max,l=A.random;function c(f,v){if(f=f||"",v=v||{},f instanceof c)return f;if(!(this instanceof c))return new c(f,v);var w=g(f);this._originalInput=f,this._r=w.r,this._g=w.g,this._b=w.b,this._a=w.a,this._roundA=a(100*this._a)/100,this._format=v.format||w.format,this._gradientType=v.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=w.ok,this._tc_id=n++}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var f=this.toRgb();return(f.r*299+f.g*587+f.b*114)/1e3},getLuminance:function(){var f=this.toRgb(),v,w,T,W,P,oA;return v=f.r/255,w=f.g/255,T=f.b/255,v<=.03928?W=v/12.92:W=A.pow((v+.055)/1.055,2.4),w<=.03928?P=w/12.92:P=A.pow((w+.055)/1.055,2.4),T<=.03928?oA=T/12.92:oA=A.pow((T+.055)/1.055,2.4),.2126*W+.7152*P+.0722*oA},setAlpha:function(f){return this._a=aA(f),this._roundA=a(100*this._a)/100,this},toHsv:function(){var f=Q(this._r,this._g,this._b);return{h:f.h*360,s:f.s,v:f.v,a:this._a}},toHsvString:function(){var f=Q(this._r,this._g,this._b),v=a(f.h*360),w=a(f.s*100),T=a(f.v*100);return this._a==1?"hsv("+v+", "+w+"%, "+T+"%)":"hsva("+v+", "+w+"%, "+T+"%, "+this._roundA+")"},toHsl:function(){var f=u(this._r,this._g,this._b);return{h:f.h*360,s:f.s,l:f.l,a:this._a}},toHslString:function(){var f=u(this._r,this._g,this._b),v=a(f.h*360),w=a(f.s*100),T=a(f.l*100);return this._a==1?"hsl("+v+", "+w+"%, "+T+"%)":"hsla("+v+", "+w+"%, "+T+"%, "+this._roundA+")"},toHex:function(f){return I(this._r,this._g,this._b,f)},toHexString:function(f){return"#"+this.toHex(f)},toHex8:function(f){return U(this._r,this._g,this._b,this._a,f)},toHex8String:function(f){return"#"+this.toHex8(f)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(q(this._r,255)*100)+"%",g:a(q(this._g,255)*100)+"%",b:a(q(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+a(q(this._r,255)*100)+"%, "+a(q(this._g,255)*100)+"%, "+a(q(this._b,255)*100)+"%)":"rgba("+a(q(this._r,255)*100)+"%, "+a(q(this._g,255)*100)+"%, "+a(q(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:AA[I(this._r,this._g,this._b,!0)]||!1},toFilter:function(f){var v="#"+b(this._r,this._g,this._b,this._a),w=v,T=this._gradientType?"GradientType = 1, ":"";if(f){var W=c(f);w="#"+b(W._r,W._g,W._b,W._a)}return"progid:DXImageTransform.Microsoft.gradient("+T+"startColorstr="+v+",endColorstr="+w+")"},toString:function(f){var v=!!f;f=f||this._format;var w=!1,T=this._a<1&&this._a>=0,W=!v&&T&&(f==="hex"||f==="hex6"||f==="hex3"||f==="hex4"||f==="hex8"||f==="name");return W?f==="name"&&this._a===0?this.toName():this.toRgbString():(f==="rgb"&&(w=this.toRgbString()),f==="prgb"&&(w=this.toPercentageRgbString()),(f==="hex"||f==="hex6")&&(w=this.toHexString()),f==="hex3"&&(w=this.toHexString(!0)),f==="hex4"&&(w=this.toHex8String(!0)),f==="hex8"&&(w=this.toHex8String()),f==="name"&&(w=this.toName()),f==="hsl"&&(w=this.toHslString()),f==="hsv"&&(w=this.toHsvString()),w||this.toHexString())},clone:function(){return c(this.toString())},_applyModification:function(f,v){var w=f.apply(null,[this].concat([].slice.call(v)));return this._r=w._r,this._g=w._g,this._b=w._b,this.setAlpha(w._a),this},lighten:function(){return this._applyModification(h,arguments)},brighten:function(){return this._applyModification(x,arguments)},darken:function(){return this._applyModification(K,arguments)},desaturate:function(){return this._applyModification(L,arguments)},saturate:function(){return this._applyModification(S,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(k,arguments)},_applyCombination:function(f,v){return f.apply(null,[this].concat([].slice.call(v)))},analogous:function(){return this._applyCombination(z,arguments)},complement:function(){return this._applyCombination(R,arguments)},monochromatic:function(){return this._applyCombination(eA,arguments)},splitcomplement:function(){return this._applyCombination(D,arguments)},triad:function(){return this._applyCombination(O,arguments)},tetrad:function(){return this._applyCombination(Z,arguments)}},c.fromRatio=function(f,v){if(typeof f=="object"){var w={};for(var T in f)f.hasOwnProperty(T)&&(T==="a"?w[T]=f[T]:w[T]=F(f[T]));f=w}return c(f,v)};function g(f){var v={r:0,g:0,b:0},w=1,T=null,W=null,P=null,oA=!1,hA=!1;return typeof f=="string"&&(f=$(f)),typeof f=="object"&&(J(f.r)&&J(f.g)&&J(f.b)?(v=B(f.r,f.g,f.b),oA=!0,hA=String(f.r).substr(-1)==="%"?"prgb":"rgb"):J(f.h)&&J(f.s)&&J(f.v)?(T=F(f.s),W=F(f.v),v=C(f.h,T,W),oA=!0,hA="hsv"):J(f.h)&&J(f.s)&&J(f.l)&&(T=F(f.s),P=F(f.l),v=p(f.h,T,P),oA=!0,hA="hsl"),f.hasOwnProperty("a")&&(w=f.a)),w=aA(w),{ok:oA,format:f.format||hA,r:s(255,o(v.r,0)),g:s(255,o(v.g,0)),b:s(255,o(v.b,0)),a:w}}function B(f,v,w){return{r:q(f,255)*255,g:q(v,255)*255,b:q(w,255)*255}}function u(f,v,w){f=q(f,255),v=q(v,255),w=q(w,255);var T=o(f,v,w),W=s(f,v,w),P,oA,hA=(T+W)/2;if(T==W)P=oA=0;else{var vA=T-W;switch(oA=hA>.5?vA/(2-T-W):vA/(T+W),T){case f:P=(v-w)/vA+(v<w?6:0);break;case v:P=(w-f)/vA+2;break;case w:P=(f-v)/vA+4;break}P/=6}return{h:P,s:oA,l:hA}}function p(f,v,w){var T,W,P;f=q(f,360),v=q(v,100),w=q(w,100);function oA(jA,je,YA){return YA<0&&(YA+=1),YA>1&&(YA-=1),YA<1/6?jA+(je-jA)*6*YA:YA<1/2?je:YA<2/3?jA+(je-jA)*(2/3-YA)*6:jA}if(v===0)T=W=P=w;else{var hA=w<.5?w*(1+v):w+v-w*v,vA=2*w-hA;T=oA(vA,hA,f+1/3),W=oA(vA,hA,f),P=oA(vA,hA,f-1/3)}return{r:T*255,g:W*255,b:P*255}}function Q(f,v,w){f=q(f,255),v=q(v,255),w=q(w,255);var T=o(f,v,w),W=s(f,v,w),P,oA,hA=T,vA=T-W;if(oA=T===0?0:vA/T,T==W)P=0;else{switch(T){case f:P=(v-w)/vA+(v<w?6:0);break;case v:P=(w-f)/vA+2;break;case w:P=(f-v)/vA+4;break}P/=6}return{h:P,s:oA,v:hA}}function C(f,v,w){f=q(f,360)*6,v=q(v,100),w=q(w,100);var T=A.floor(f),W=f-T,P=w*(1-v),oA=w*(1-W*v),hA=w*(1-(1-W)*v),vA=T%6,jA=[w,oA,P,P,hA,w][vA],je=[hA,w,w,oA,P,P][vA],YA=[P,P,hA,w,w,oA][vA];return{r:jA*255,g:je*255,b:YA*255}}function I(f,v,w,T){var W=[G(a(f).toString(16)),G(a(v).toString(16)),G(a(w).toString(16))];return T&&W[0].charAt(0)==W[0].charAt(1)&&W[1].charAt(0)==W[1].charAt(1)&&W[2].charAt(0)==W[2].charAt(1)?W[0].charAt(0)+W[1].charAt(0)+W[2].charAt(0):W.join("")}function U(f,v,w,T,W){var P=[G(a(f).toString(16)),G(a(v).toString(16)),G(a(w).toString(16)),G(N(T))];return W&&P[0].charAt(0)==P[0].charAt(1)&&P[1].charAt(0)==P[1].charAt(1)&&P[2].charAt(0)==P[2].charAt(1)&&P[3].charAt(0)==P[3].charAt(1)?P[0].charAt(0)+P[1].charAt(0)+P[2].charAt(0)+P[3].charAt(0):P.join("")}function b(f,v,w,T){var W=[G(N(T)),G(a(f).toString(16)),G(a(v).toString(16)),G(a(w).toString(16))];return W.join("")}c.equals=function(f,v){return!f||!v?!1:c(f).toRgbString()==c(v).toRgbString()},c.random=function(){return c.fromRatio({r:l(),g:l(),b:l()})};function L(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.s-=v/100,w.s=lA(w.s),c(w)}function S(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.s+=v/100,w.s=lA(w.s),c(w)}function y(f){return c(f).desaturate(100)}function h(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.l+=v/100,w.l=lA(w.l),c(w)}function x(f,v){v=v===0?0:v||10;var w=c(f).toRgb();return w.r=o(0,s(255,w.r-a(255*-(v/100)))),w.g=o(0,s(255,w.g-a(255*-(v/100)))),w.b=o(0,s(255,w.b-a(255*-(v/100)))),c(w)}function K(f,v){v=v===0?0:v||10;var w=c(f).toHsl();return w.l-=v/100,w.l=lA(w.l),c(w)}function k(f,v){var w=c(f).toHsl(),T=(w.h+v)%360;return w.h=T<0?360+T:T,c(w)}function R(f){var v=c(f).toHsl();return v.h=(v.h+180)%360,c(v)}function O(f){var v=c(f).toHsl(),w=v.h;return[c(f),c({h:(w+120)%360,s:v.s,l:v.l}),c({h:(w+240)%360,s:v.s,l:v.l})]}function Z(f){var v=c(f).toHsl(),w=v.h;return[c(f),c({h:(w+90)%360,s:v.s,l:v.l}),c({h:(w+180)%360,s:v.s,l:v.l}),c({h:(w+270)%360,s:v.s,l:v.l})]}function D(f){var v=c(f).toHsl(),w=v.h;return[c(f),c({h:(w+72)%360,s:v.s,l:v.l}),c({h:(w+216)%360,s:v.s,l:v.l})]}function z(f,v,w){v=v||6,w=w||30;var T=c(f).toHsl(),W=360/w,P=[c(f)];for(T.h=(T.h-(W*v>>1)+720)%360;--v;)T.h=(T.h+W)%360,P.push(c(T));return P}function eA(f,v){v=v||6;for(var w=c(f).toHsv(),T=w.h,W=w.s,P=w.v,oA=[],hA=1/v;v--;)oA.push(c({h:T,s:W,v:P})),P=(P+hA)%1;return oA}c.mix=function(f,v,w){w=w===0?0:w||50;var T=c(f).toRgb(),W=c(v).toRgb(),P=w/100,oA={r:(W.r-T.r)*P+T.r,g:(W.g-T.g)*P+T.g,b:(W.b-T.b)*P+T.b,a:(W.a-T.a)*P+T.a};return c(oA)},c.readability=function(f,v){var w=c(f),T=c(v);return(A.max(w.getLuminance(),T.getLuminance())+.05)/(A.min(w.getLuminance(),T.getLuminance())+.05)},c.isReadable=function(f,v,w){var T=c.readability(f,v),W,P;switch(P=!1,W=uA(w),W.level+W.size){case"AAsmall":case"AAAlarge":P=T>=4.5;break;case"AAlarge":P=T>=3;break;case"AAAsmall":P=T>=7;break}return P},c.mostReadable=function(f,v,w){var T=null,W=0,P,oA,hA,vA;w=w||{},oA=w.includeFallbackColors,hA=w.level,vA=w.size;for(var jA=0;jA<v.length;jA++)P=c.readability(f,v[jA]),P>W&&(W=P,T=c(v[jA]));return c.isReadable(f,T,{level:hA,size:vA})||!oA?T:(w.includeFallbackColors=!1,c.mostReadable(f,["#fff","#000"],w))};var tA=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},AA=c.hexNames=fA(tA);function fA(f){var v={};for(var w in f)f.hasOwnProperty(w)&&(v[f[w]]=w);return v}function aA(f){return f=parseFloat(f),(isNaN(f)||f<0||f>1)&&(f=1),f}function q(f,v){H(f)&&(f="100%");var w=j(f);return f=s(v,o(0,parseFloat(f))),w&&(f=parseInt(f*v,10)/100),A.abs(f-v)<1e-6?1:f%v/parseFloat(v)}function lA(f){return s(1,o(0,f))}function sA(f){return parseInt(f,16)}function H(f){return typeof f=="string"&&f.indexOf(".")!=-1&&parseFloat(f)===1}function j(f){return typeof f=="string"&&f.indexOf("%")!=-1}function G(f){return f.length==1?"0"+f:""+f}function F(f){return f<=1&&(f=f*100+"%"),f}function N(f){return A.round(parseFloat(f)*255).toString(16)}function M(f){return sA(f)/255}var _=(function(){var f="[-\\+]?\\d+%?",v="[-\\+]?\\d*\\.\\d+%?",w="(?:"+v+")|(?:"+f+")",T="[\\s|\\(]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")\\s*\\)?",W="[\\s|\\(]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")[,|\\s]+("+w+")\\s*\\)?";return{CSS_UNIT:new RegExp(w),rgb:new RegExp("rgb"+T),rgba:new RegExp("rgba"+W),hsl:new RegExp("hsl"+T),hsla:new RegExp("hsla"+W),hsv:new RegExp("hsv"+T),hsva:new RegExp("hsva"+W),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function J(f){return!!_.CSS_UNIT.exec(f)}function $(f){f=f.replace(r,"").replace(t,"").toLowerCase();var v=!1;if(tA[f])f=tA[f],v=!0;else if(f=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var w;return(w=_.rgb.exec(f))?{r:w[1],g:w[2],b:w[3]}:(w=_.rgba.exec(f))?{r:w[1],g:w[2],b:w[3],a:w[4]}:(w=_.hsl.exec(f))?{h:w[1],s:w[2],l:w[3]}:(w=_.hsla.exec(f))?{h:w[1],s:w[2],l:w[3],a:w[4]}:(w=_.hsv.exec(f))?{h:w[1],s:w[2],v:w[3]}:(w=_.hsva.exec(f))?{h:w[1],s:w[2],v:w[3],a:w[4]}:(w=_.hex8.exec(f))?{r:sA(w[1]),g:sA(w[2]),b:sA(w[3]),a:M(w[4]),format:v?"name":"hex8"}:(w=_.hex6.exec(f))?{r:sA(w[1]),g:sA(w[2]),b:sA(w[3]),format:v?"name":"hex"}:(w=_.hex4.exec(f))?{r:sA(w[1]+""+w[1]),g:sA(w[2]+""+w[2]),b:sA(w[3]+""+w[3]),a:M(w[4]+""+w[4]),format:v?"name":"hex8"}:(w=_.hex3.exec(f))?{r:sA(w[1]+""+w[1]),g:sA(w[2]+""+w[2]),b:sA(w[3]+""+w[3]),format:v?"name":"hex"}:!1}function uA(f){var v,w;return f=f||{level:"AA",size:"small"},v=(f.level||"AA").toUpperCase(),w=(f.size||"small").toLowerCase(),v!=="AA"&&v!=="AAA"&&(v="AA"),w!=="small"&&w!=="large"&&(w="small"),{level:v,size:w}}e.exports?e.exports=c:window.tinycolor=c})(Math)})(Sr)),Sr.exports}var Po=Vo();const SA=ys(Po);var Te=function(){return Te=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Te.apply(this,arguments)},Xo=function(e,A,r){if(r||arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||Array.prototype.slice.call(A))},Jo=function(e){e===void 0&&(e="");var A={linearGradient:/^(-(webkit|o|ms|moz)-)?(linear-gradient)/i,repeatingLinearGradient:/^(-(webkit|o|ms|moz)-)?(repeating-linear-gradient)/i,radialGradient:/^(-(webkit|o|ms|moz)-)?(radial-gradient)/i,repeatingRadialGradient:/^(-(webkit|o|ms|moz)-)?(repeating-radial-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest-side|closest-corner|farthest-side|farthest-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,spacedRgbColor:/^(\d{1,3})\s+(\d{1,3})\s+(\d{1,3})\s+\/\s+([0-1](\.\d+)?)/,rgbaColor:/^rgba/i,hslColor:/^hsl/i,hsvColor:/^hsv/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/};function r(H){var j=new Error(e+": "+H);throw j}function t(H){e=e.substr(H)}function n(H){var j=/^[\n\r\t\s]+/.exec(e);j&&t(j[0].length);var G=H.exec(e);return G&&t(G[0].length),G}function a(H){var j=H(),G=[];if(j)for(G.push(j);n(A.comma);)j=H(),j?G.push(j):r("One extra comma");return G}function s(H,j,G){var F=n(j);if(F)return{type:H,value:F[G]}}function o(){var H=s("hex",A.hexColor,1);if(H?.value){var j=SA(H?.value).toRgb(),G=j.r,F=j.g,N=j.b,M=j.a;return{value:"rgba(".concat(G,", ").concat(F,", ").concat(N,", ").concat(M,")")}}}var l=function(H){var j=me(H?.[0]);return{value:"".concat(j?"RGBA":"rgba","(").concat(a(AA),")")}};function c(H,j){var G=n(H);if(G){n(A.startCall)||r("Missing (");var F=j(G);return n(A.endCall)||r("Missing )"),F}}function g(){return c(A.hslColor,fA)}function B(){return c(A.rgbaColor,l)}function u(){return c(A.rgbColor,q)}function p(){var H=s("literal",A.literalColor,0);if(H?.value){var j=SA(H?.value).toRgb(),G=j.r,F=j.g,N=j.b,M=j.a;return{value:"rgba(".concat(G,", ").concat(F,", ").concat(N,", ").concat(M,")")}}}function Q(){return c(A.hsvColor,aA)}function C(){return o()||g()||B()||u()||p()||Q()}function I(){var H,j=C();return j||r("Expected color definition"),j.left=parseInt((H=lA())===null||H===void 0?void 0:H.value),j}function U(H,j,G){return c(j,function(){var F=G();return F&&(n(A.comma)||r("Missing comma before color stops")),{type:H,orientation:F,colorStops:a(I)}})}function b(){return h()||x()}function L(){return U("linear-gradient",A.linearGradient,b)||U("repeating-linear-gradient",A.repeatingLinearGradient,b)||U("radial-gradient",A.radialGradient,K)||U("repeating-radial-gradient",A.repeatingRadialGradient,K)}function S(){return a(L)}function y(){var H,j=S();e.length>0&&r("Invalid input not EOF");var G=j[0],F=(H=G?.colorStops)===null||H===void 0?void 0:H.filter(function(M){return me(M.value)}).length,N=function(){if(F>0)return G;var M=function(_,J){return J===0?Cr(_):mt(_)};return Te(Te({},G),{colorStops:G.colorStops.map(function(_,J){return Te(Te({},_),{value:M(_,J)})})})};return N()}function h(){return s("directional",A.sideOrCorner,1)}function x(){return s("angular",A.angleValue,1)}function K(){var H,j=k(),G;return j&&(H=[],H.push(j),G=e,n(A.comma)&&(j=k(),j?H.push(j):e=G)),H}function k(){var H=O()||Z();if(H)H.at=z();else{var j=D();if(j){H=j;var G=z();G&&(H.at=G)}else{var F=eA();F&&(H={type:"default-radial",at:F})}}return H}function R(){return s("px",A.pixelValue,1)||s("em",A.emValue,1)}function O(){var H=s("shape",/^(circle)/i,0);return H&&(H.style=R()||D()),H}function Z(){var H=s("shape",/^(ellipse)/i,0);return H&&(H.style=lA()||D()),H}function D(){return s("extent-keyword",A.extentKeywords,1)}function z(){if(s("position",/^at/,0)){var H=eA();return H||r("Missing positioning value"),H}}function eA(){var H=tA();if(H.x||H.y)return{type:"position",value:H}}function tA(){return{x:lA(),y:lA()}}function AA(){return n(A.number)[1]}var fA=function(H){var j=me(H?.[0]),G=a(AA),F=SA({h:G[0],s:G[1],l:G[2],a:G[3]||1}).toRgb(),N=F.r,M=F.g,_=F.b,J=F.a;return{value:"".concat(j?"RGBA":"rgba","(").concat(N,", ").concat(M,", ").concat(_,", ").concat(J,")")}},aA=function(H){var j=me(H?.[0]),G=a(AA),F=SA({h:G[0],s:G[1],v:G[2],a:G[3]||1}).toRgb(),N=F.r,M=F.g,_=F.b,J=F.a;return{value:"".concat(j?"RGBA":"rgba","(").concat(N,", ").concat(M,", ").concat(_,", ").concat(J,")")}},q=function(H){var j=me(H?.[0]),G=n(A.spacedRgbColor),F=G||Xo([null],a(AA),!0),N=F[1],M=F[2],_=F[3],J=F[4],$=J===void 0?1:J;return{value:"".concat(j?"RGBA":"rgba","(").concat(N,", ").concat(M,", ").concat(_,", ").concat($,")")}};function lA(){return s("%",A.percentageValue,1)||sA()||R()}function sA(){return s("position-keyword",A.positionKeywords,1)}return y()},mt=function(e){return e.value.toLowerCase()},Cr=function(e){return e.value.toUpperCase()},Wo=function(e,A,r){var t=e?.includes("gradient");if(t){var n=e?.includes("conic"),a=n?r:e;n&&console.log("Sorry we cant handle conic gradients yet");var s=Jo(a);return s?.colorStops}else{var a=e||A;return[{value:a}]}},Re=function(e,A,r){return isNaN(e)||e<A?A:e>r?r:e},ee=function(e){return Math.round(e)},sr=function(){return sr=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},sr.apply(this,arguments)},Is=function(e){var A=e.target.parentNode.getBoundingClientRect(),r=e.target.className,t=r==="c-resize ps-rl"?15:0;return{offsetLeft:A?.x+t,offsetTop:A?.y,clientWidth:A?.width,clientHeight:A?.height}};function Ne(e,A){var r=Is(e),t=r.offsetLeft,n=r.clientWidth,a=e.clientX-t-A/2,s=n-18,o=Re(a,0,s);return Math.round(o/(s/100))}function Yo(e,A,r,t,n){var a=e*r-n/2,s=(100-A)/100*t-n/2;return[a,s]}var Zo=function(e){if(e.clientX)return{clientX:e.clientX,clientY:e.clientY};var A=e.touches[0]||{};return{clientX:A.clientX,clientY:A.clientY}};function zo(e,A){var r=Is(e),t=r.offsetLeft,n=r.offsetTop,a=r.clientWidth,s=r.clientHeight,o=Zo(e),l=o.clientX,c=o.clientY,g=function(){var u=l-t-A/2;return Re(u,-9,a-10)},B=function(){var u=c-n-A/2;return Re(u,-9,s-10)};return[g(),B()]}var me=function(e){var A;return e?.[0]===((A=e?.[0])===null||A===void 0?void 0:A.toUpperCase())},Hs=function(e){if(e==="to top")return 0;if(e==="to bottom")return 180;if(e==="to left")return 270;if(e==="to right")return 90;if(e==="to top right")return 45;if(e==="to bottom right")return 135;if(e==="to bottom left")return 225;if(e==="to top left")return 315;var A=e||0;return parseInt(A)},qo=function(e){var A,r,t,n,a;if(typeof e=="string")return e;if(!((A=e?.type)===null||A===void 0)&&A.includes("gradient")){var s=(r=e?.colorStops)===null||r===void 0?void 0:r.sort(function(u,p){return u?.left-p?.left}),o=(t=s?.map(function(u){return"".concat(u?.value," ").concat(u?.left,"%")}))===null||t===void 0?void 0:t.join(", "),l=e?.type,c=Hs((n=e?.orientation)===null||n===void 0?void 0:n.value),g=l==="linear-gradient"?"".concat(c,"deg"):"circle";return"".concat(l,"(").concat(g,", ").concat(o,")")}else{var B=((a=e?.colorStops[0])===null||a===void 0?void 0:a.value)||"rgba(175, 51, 242, 1)";return B}},$o=function(e,A){var r=e?.map(function(a,s){return sr(sr({},a),{index:s})}),t=r?.find(function(a){return me(a.value)}),n=t||r[0];return{currentColor:n?.value||A,selectedColor:n?.index||0,currentLeft:n?.left||0}},Al=function(e){var A,r=e?.split(",")[0],t=(A=r?.split("(")[1])===null||A===void 0?void 0:A.replace("deg","");return Hs(t)},el=function(e){var A=e?.includes("gradient"),r=e?.split("(")[0],t=Al(e),n=r==="linear-gradient"?"".concat(t,"deg"):"circle";return{degrees:t,degreeStr:n,isGradient:A,gradientType:r}},DA=function(){return DA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},DA.apply(this,arguments)},tl=function(e,A,r){if(r||arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||Array.prototype.slice.call(A))},Ss=E.createContext(null);function rl(e){var A,r,t,n,a=e.value,s=e.children,o=e.onChange,l=e.isDarkMode,c=e.squareWidth,g=e.hideOpacity,B=e.showHexAlpha,u=e.squareHeight,p=e.passedConfig,Q=e.defaultStyles,C=e.pickerIdSuffix,I={barSize:(A=p.barSize)!==null&&A!==void 0?A:Et.barSize,crossSize:(r=p.crossSize)!==null&&r!==void 0?r:Et.crossSize,defaultColor:(t=p.defaultColor)!==null&&t!==void 0?t:Et.defaultColor,defaultGradient:(n=p.defaultGradient)!==null&&n!==void 0?n:Et.defaultGradient},U=Wo(a,I.defaultColor,I.defaultGradient),b=el(a),L=b.degrees,S=b.degreeStr,y=b.isGradient,h=b.gradientType,x=$o(U,I.defaultGradient),K=x.currentColor,k=x.selectedColor,R=x.currentLeft,O=E.useState("rgb"),Z=O[0],D=O[1],z=E.useState({}),eA=z[0],tA=z[1],AA=SA(K),fA=AA.toRgb(),aA=AA.toHsv(),q=E.useState(DA(DA({},fA),aA)),lA=q[0],sA=q[1];E.useEffect(function(){aA?.s===0?sA(DA(DA(DA({},fA),aA),{h:lA?.h})):sA(DA(DA({},fA),aA))},[K]);var H=function(M){var _=M.sort(function(uA,f){return uA.left-f.left}),J=_?.map(function(uA){return"".concat(uA?.value," ").concat(uA.left,"%")}),$="".concat(h,"(").concat(S,", ").concat(J.join(", "),")");tA(DA(DA({},eA),{gradient:$})),o($)},j=function(M,_){var J=U?.filter(function(uA){return!me(uA.value)}),$=tl([{value:M.toUpperCase(),left:_??R}],J,!0);H($)},G=function(M){y?j(M):(tA(DA(DA({},eA),{color:M})),o(M))},F=function(){if(U?.length>2){var M=U?.map(function(J,$){return DA(DA({},J),{value:$===k-1?Cr(J):mt(J)})}),_=M?.filter(function(J,$){return $!==k});H(_)}},N={hc:lA,setHc:sA,value:a,colors:U,config:I,degrees:L,onChange:o,previous:eA,inputType:Z,tinyColor:AA,isDarkMode:l,isGradient:y,squareWidth:c,hideOpacity:g,currentLeft:R,deletePoint:F,showHexAlpha:B,squareHeight:u,setInputType:D,gradientType:h,handleChange:G,currentColor:K,selectedColor:k,defaultStyles:Q,handleGradient:j,pickerIdSuffix:C,createGradientStr:H};return m.createElement(Ss.Provider,{value:N},s)}function dA(){var e=E.useContext(Ss);if(!e)throw new Error("usePicker has to be used within <PickerContext.Provider>");return e}var Et={barSize:18,crossSize:18,defaultColor:"rgba(175, 51, 242, 1)",defaultGradient:"linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%)"},nl=function(e,A){E.useEffect(function(){var r,t=(r=e?.current)===null||r===void 0?void 0:r.getContext("2d",{willReadFrequently:!0});if(t){t.rect(0,0,A,14);for(var n=t.createLinearGradient(0,0,A,0),a=0;a<=360;a+=30)n.addColorStop(a/360,"hsl(".concat(a,", 100%, 50%)"));t.fillStyle=n,t.fill()}},[e,A])},al=function(e,A,r,t){E.useEffect(function(){var n,a=(n=e?.current)===null||n===void 0?void 0:n.getContext("2d",{willReadFrequently:!0});if(a){a.rect(0,0,t,14);for(var s=a.createLinearGradient(0,0,t,0),o=0;o<=100;o+=10)s.addColorStop(o/100,"hsl(".concat(A,", ").concat(o,"%, ").concat(r,"%)"));a.fillStyle=s,a.fill()}},[e,A,r,t])},sl=function(e,A,r,t){E.useEffect(function(){var n,a=(n=e?.current)===null||n===void 0?void 0:n.getContext("2d",{willReadFrequently:!0});if(a){a.rect(0,0,t,14);for(var s=a.createLinearGradient(0,0,t,0),o=0;o<=100;o+=10)s.addColorStop(o/100,"hsl(".concat(A,", ").concat(r,"%, ").concat(o,"%)"));a.fillStyle=s,a.fill()}},[e,A,r,t])},il=function(e,A,r,t){E.useEffect(function(){var n,a=(n=e?.current)===null||n===void 0?void 0:n.getContext("2d",{willReadFrequently:!0});if(a){a.rect(0,0,t,14);for(var s=a.createLinearGradient(0,0,t,0),o=0;o<=100;o+=10){var l=SA({h:A,s:r,v:o});s.addColorStop(o/100,l.toHslString())}a.fillStyle=s,a.fill()}},[e,A,r,t])},ir=function(){return ir=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},ir.apply(this,arguments)},ol=function(){var e=E.useRef(null),A=dA(),r=A.config,t=A.handleChange,n=A.squareWidth,a=A.hc,s=A.setHc,o=A.pickerIdSuffix,l=E.useState(!1),c=l[0],g=l[1],B=r.barSize;nl(e,n);var u=function(){g(!1)},p=function(){g(!0)},Q=function(U){var b=Ne(U,B)*3.6,L=SA({h:b,s:a?.s,v:a?.v}),S=L.toRgb(),y=S.r,h=S.g,x=S.b;t("rgba(".concat(y,", ").concat(h,", ").concat(x,", ").concat(a.a,")")),s(ir(ir({},a),{h:b}))},C=function(U){c&&Q(U)},I=function(U){c||Q(U)};return E.useEffect(function(){var U=function(){u()};return window.addEventListener("mouseup",U),function(){window.removeEventListener("mouseup",U)}},[]),m.createElement("div",{style:{height:14,marginTop:17,marginBottom:4,cursor:"ew-resize",position:"relative"},onMouseMove:function(U){return C(U)},id:"rbgcp-hue-wrap".concat(o)},m.createElement("div",{tabIndex:0,role:"button",style:{border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0, 0, 0, 0.5)",width:"18px",height:"18px",zIndex:1e3,transition:"all 10ms linear",position:"absolute",left:a?.h*((n-18)/360),top:-2,cursor:"ew-resize",boxSizing:"border-box"},onMouseDown:p,id:"rbgcp-hue-handle".concat(o)}),m.createElement("canvas",{ref:e,height:"14px",width:"".concat(n,"px"),onClick:function(U){return I(U)},id:"rbgcp-hue-bar".concat(o),style:{borderRadius:14,position:"relative",verticalAlign:"top"}}))};function ll(e,A,r){var t=0,n=0,a=0,s=0;if(e===null||A===null||r===null||isNaN(e)||isNaN(A)||isNaN(r))return console.log("Please enter numeric RGB values!"),{c:0,m:0,k:0,y:1};if(e<0||A<0||r<0||e>255||A>255||r>255)return console.log("RGB values must be in the range 0 to 255."),{c:0,m:0,k:0,y:1};if(e===0&&A===0&&r===0)return s=1,{c:0,m:0,k:0,y:1};t=1-e/255,n=1-A/255,a=1-r/255;var o=Math.min(t,Math.min(n,a));return t=(t-o)/(1-o),n=(n-o)/(1-o),a=(a-o)/(1-o),s=o,{c:t,m:n,y:a,k:s}}var cl=function(e){var A=e.c,r=e.m,t=e.y,n=e.k,a=255*(1-A)*(1-n),s=255*(1-r)*(1-n),o=255*(1-t)*(1-n);return{r:a,g:s,b:o}},gl=function(e){return typeof e!="number"?"FF":e<0?"00":e>1?"FF":Math.round(e*255).toString(16).padStart(2,"0").toUpperCase()},WA=function(){return WA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},WA.apply(this,arguments)},NA=function(e){var A=e.label,r=e.value,t=e.callback,n=e.max,a=n===void 0?100:n,s=e.hideOpacity,o=e.defaultStyles,l=e.pickerIdSuffix,c=E.useState(r),g=c[0],B=c[1],u=s?"25%":"20%";E.useEffect(function(){B(r)},[r]);var p=function(Q){var C=Re(parseFloat(Q.target.value),0,a);B(C),t(C)};return m.createElement("div",{style:{width:u,flexShrink:1},id:"rbgcp-".concat(A,"-input-wrapper").concat(l)},m.createElement("input",{value:g,onChange:function(Q){return p(Q)},style:WA({},o.rbgcpInput),id:"rbgcp-".concat(A,"-input").concat(l)}),m.createElement("div",{style:WA({},o.rbgcpInputLabel)},A))},ul=function(e){var A=e.opacity,r=e.tinyColor,t=e.showHexAlpha,n=e.handleChange,a=e.defaultStyles,s=e.pickerIdSuffix,o=E.useState(""),l=o[0],c=o[1],g=r.toHex(),B=E.useState(g),u=B[0],p=B[1];E.useEffect(function(){l!=="hex"&&p(g)},[r,l,g]);var Q=function(){c("hex")},C=function(){c("")},I=function(S){var y=SA(S.target.value);if(p(S.target.value),y.isValid()){var h=y.toRgb(),x=h.r,K=h.g,k=h.b,R="rgba(".concat(x,", ").concat(K,", ").concat(k,", ").concat(A,")");n(R)}},U=t?"".concat(u).concat(gl(A)):u,b=t?"HEXA":"HEX",L=t?88:76;return m.createElement("div",{style:{width:L,flexShrink:0},id:"rbgcp-hex-input-wrapper".concat(s)},m.createElement("input",{onBlur:C,onFocus:Q,onChange:function(S){return I(S)},value:U?.toUpperCase(),id:"rbgcp-hex-input".concat(s),style:WA(WA({},a.rbgcpInput),a.rbgcpHexInput)}),m.createElement("div",{style:WA({},a.rbgcpInputLabel)},b))},Bl=function(e){var A=e.hc,r=e.hideOpacity,t=e.handleChange,n=e.defaultStyles,a=e.pickerIdSuffix,s=function(o){var l=o.r,c=o.g,g=o.b;t("rgba(".concat(l,", ").concat(c,", ").concat(g,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"R",max:255,value:A?.r,hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(o){return s({r:o,g:A?.g,b:A?.b})}}),m.createElement(NA,{label:"G",max:255,value:A?.g,hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(o){return s({r:A?.r,g:o,b:A?.b})}}),m.createElement(NA,{label:"B",max:255,value:A?.b,hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(o){return s({r:A?.r,g:A?.g,b:o})}}))},dl=function(e){var A=e.hc,r=e.setHc,t=e.tinyColor,n=e.hideOpacity,a=e.handleChange,s=e.defaultStyles,o=e.pickerIdSuffix,l=t.toHsl(),c=l.s,g=l.l,B=function(p,Q,C){var I=SA({h:p,s:Q,l:C}).toRgb(),U=I.r,b=I.g,L=I.b;a("rgba(".concat(U,", ").concat(b,", ").concat(L,", ").concat(A?.a,")")),r(WA(WA({},A),{h:p}))},u=function(p){var Q=SA(p).toRgb(),C=Q.r,I=Q.g,U=Q.b;a("rgba(".concat(C,", ").concat(I,", ").concat(U,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"H",max:360,value:ee(A?.h),hideOpacity:n,defaultStyles:s,pickerIdSuffix:o,callback:function(p){return B(p,c,g)}}),m.createElement(NA,{label:"S",value:ee(c*100),hideOpacity:n,defaultStyles:s,pickerIdSuffix:o,callback:function(p){return u({h:A?.h,s:p,l:g})}}),m.createElement(NA,{label:"L",value:ee(g*100),hideOpacity:n,defaultStyles:s,pickerIdSuffix:o,callback:function(p){return u({h:A?.h,s:c,l:p})}}))},fl=function(e){var A=e.hc,r=e.setHc,t=e.hideOpacity,n=e.handleChange,a=e.defaultStyles,s=e.pickerIdSuffix,o=function(c,g,B){var u=SA({h:c,s:g,v:B}).toRgb(),p=u.r,Q=u.g,C=u.b;n("rgba(".concat(p,", ").concat(Q,", ").concat(C,", ").concat(A?.a,")")),r(WA(WA({},A),{h:c}))},l=function(c){var g=SA(c).toRgb(),B=g.r,u=g.g,p=g.b;n("rgba(".concat(B,", ").concat(u,", ").concat(p,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"H",max:360,value:ee(A?.h),hideOpacity:t,defaultStyles:a,pickerIdSuffix:s,callback:function(c){return o(c,A?.s,A?.v)}}),m.createElement(NA,{label:"S",hideOpacity:t,value:ee(A?.s*100),defaultStyles:a,pickerIdSuffix:s,callback:function(c){return l({h:A?.h,s:c,v:A?.v})}}),m.createElement(NA,{label:"V",hideOpacity:t,value:ee(A?.v*100),defaultStyles:a,pickerIdSuffix:s,callback:function(c){return l({h:A?.h,s:A?.s,v:c})}}))},hl=function(e){var A=e.hc,r=e.hideOpacity,t=e.handleChange,n=e.defaultStyles,a=e.pickerIdSuffix,s=ll(A?.r,A?.g,A?.b),o=s.c,l=s.m,c=s.y,g=s.k,B=function(u){var p=cl(u),Q=p.r,C=p.g,I=p.b;t("rgba(".concat(Q,", ").concat(C,", ").concat(I,", ").concat(A?.a,")"))};return m.createElement(m.Fragment,null,m.createElement(NA,{label:"C",value:ee(o*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:u/100,m:l,y:c,k:g})}}),m.createElement(NA,{label:"M",value:ee(l*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:o,m:u/100,y:c,k:g})}}),m.createElement(NA,{label:"Y",value:ee(c*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:o,m:l,y:u/100,k:g})}}),m.createElement(NA,{label:"K",value:ee(g*100),hideOpacity:r,defaultStyles:n,pickerIdSuffix:a,callback:function(u){return B({c:o,m:l,y:c,k:u/100})}}))},wl=function(){var e=dA(),A=e.hc,r=e.setHc,t=e.inputType,n=e.tinyColor,a=e.hideOpacity,s=e.showHexAlpha,o=e.handleChange,l=e.defaultStyles,c=e.pickerIdSuffix;return m.createElement("div",{style:WA({columnGap:6,paddingTop:14,display:"flex",justifyContent:"space-between"},l.rbgcpInputsWrap),id:"rbgcp-inputs-wrap".concat(c)},t!=="cmyk"&&m.createElement(ul,{opacity:A?.a,tinyColor:n,showHexAlpha:s,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="hsl"&&m.createElement(dl,{hc:A,setHc:r,tinyColor:n,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="rgb"&&m.createElement(Bl,{hc:A,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="hsv"&&m.createElement(fl,{hc:A,setHc:r,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),t==="cmyk"&&m.createElement(hl,{hc:A,hideOpacity:a,handleChange:o,defaultStyles:l,pickerIdSuffix:c}),!a&&m.createElement(NA,{label:"A",hideOpacity:a,defaultStyles:l,value:Math.round(A?.a*100),pickerIdSuffix:c,callback:function(g){return o("rgba(".concat(A?.r,", ").concat(A?.g,", ").concat(A?.b,", ").concat(g/100,")"))}}))},pl=function(e,A,r,t){E.useEffect(function(){if(e.current){var n=e.current.getContext("2d",{willReadFrequently:!0});if(n){n.fillStyle="hsl(".concat(A,", 100%, 50%)"),n.fillRect(0,0,r,t);var a=n.createLinearGradient(0,0,r,0);a.addColorStop(0,"rgba(255, 255, 255, 1)"),a.addColorStop(1,"rgba(255, 255, 255, 0)"),n.fillStyle=a,n.fillRect(0,0,r,t);var s=n.createLinearGradient(0,0,0,t);s.addColorStop(0,"rgba(0, 0, 0, 0)"),s.addColorStop(1,"rgba(0, 0, 0, 1)"),n.fillStyle=s,n.fillRect(0,0,r,t)}}},[e,A,r,t])},Lr,qn;function Cl(){if(qn)return Lr;qn=1;var e="Expected a function",A=NaN,r="[object Symbol]",t=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,o=parseInt,l=typeof Ft=="object"&&Ft&&Ft.Object===Object&&Ft,c=typeof self=="object"&&self&&self.Object===Object&&self,g=l||c||Function("return this")(),B=Object.prototype,u=B.toString,p=Math.max,Q=Math.min,C=function(){return g.Date.now()};function I(h,x,K){var k,R,O,Z,D,z,eA=0,tA=!1,AA=!1,fA=!0;if(typeof h!="function")throw new TypeError(e);x=y(x)||0,b(K)&&(tA=!!K.leading,AA="maxWait"in K,O=AA?p(y(K.maxWait)||0,x):O,fA="trailing"in K?!!K.trailing:fA);function aA(M){var _=k,J=R;return k=R=void 0,eA=M,Z=h.apply(J,_),Z}function q(M){return eA=M,D=setTimeout(H,x),tA?aA(M):Z}function lA(M){var _=M-z,J=M-eA,$=x-_;return AA?Q($,O-J):$}function sA(M){var _=M-z,J=M-eA;return z===void 0||_>=x||_<0||AA&&J>=O}function H(){var M=C();if(sA(M))return j(M);D=setTimeout(H,lA(M))}function j(M){return D=void 0,fA&&k?aA(M):(k=R=void 0,Z)}function G(){D!==void 0&&clearTimeout(D),eA=0,k=z=R=D=void 0}function F(){return D===void 0?Z:j(C())}function N(){var M=C(),_=sA(M);if(k=arguments,R=this,z=M,_){if(D===void 0)return q(z);if(AA)return D=setTimeout(H,x),aA(z)}return D===void 0&&(D=setTimeout(H,x)),Z}return N.cancel=G,N.flush=F,N}function U(h,x,K){var k=!0,R=!0;if(typeof h!="function")throw new TypeError(e);return b(K)&&(k="leading"in K?!!K.leading:k,R="trailing"in K?!!K.trailing:R),I(h,x,{leading:k,maxWait:x,trailing:R})}function b(h){var x=typeof h;return!!h&&(x=="object"||x=="function")}function L(h){return!!h&&typeof h=="object"}function S(h){return typeof h=="symbol"||L(h)&&u.call(h)==r}function y(h){if(typeof h=="number")return h;if(S(h))return A;if(b(h)){var x=typeof h.valueOf=="function"?h.valueOf():h;h=b(x)?x+"":x}if(typeof h!="string")return h===0?h:+h;h=h.replace(t,"");var K=a.test(h);return K||s.test(h)?o(h.slice(2),K?2:8):n.test(h)?A:+h}return Lr=U,Lr}var Ql=Cl();const ml=ys(Ql);var ve=function(){return ve=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},ve.apply(this,arguments)},vl=function(){var e,A,r=dA(),t=r.hc,n=r.config,a=r.squareWidth,s=r.squareHeight,o=r.handleChange,l=r.defaultStyles,c=r.pickerIdSuffix,g=n.crossSize,B=E.useState(!1),u=B[0],p=B[1],Q=E.useRef(null),C=Yo(t?.s,t?.v*100,a,s,g),I=C[0],U=C[1],b=E.useState({x:I,y:U}),L=b[0],S=b[1];pl(Q,t?.h,a,s),E.useEffect(function(){u||S({x:t?.v===0?L.x:I,y:U})},[I,U]);var y=function(O){var Z=ml(function(){var D=zo(O,g),z=D[0],eA=D[1];if(z&&eA){var tA=Math.min(z+g/2,a-1),AA=Math.min(eA+g/2,s-1),fA=tA/a*100,aA=100-AA/s*100;S({x:aA===0?L?.x:z,y:eA});var q=SA("hsva(".concat(t?.h,", ").concat(fA,"%, ").concat(aA,"%, ").concat(t?.a,")"));o(q.toRgbString())}},250);Z()},h=function(){p(!1)},x=function(O){u&&y(O)},K=function(O){u||y(O)},k=function(){p(!0)},R=function(O){p(!0),y(O)};return E.useEffect(function(){var O=function(){h()};return window.addEventListener("mouseup",O),function(){window.removeEventListener("mouseup",O)}},[]),m.createElement("div",{style:{position:"relative",marginBottom:12},id:"rbgcp-square-wrapper".concat(c)},m.createElement("div",{onMouseUp:h,onTouchEnd:h,onMouseDown:R,onTouchStart:R,onMouseMove:function(O){return x(O)},id:"rbgcp-square".concat(c),style:{position:"relative",cursor:"ew-cross"}},m.createElement("div",{style:ve(ve(ve({},l.rbgcpHandle),{transform:"translate(".concat((e=L?.x)!==null&&e!==void 0?e:0,"px, ").concat((A=L?.y)!==null&&A!==void 0?A:0,"px)")}),u?{transition:""}:{}),onMouseDown:k,id:"rbgcp-square-handle".concat(c)}),m.createElement("div",{style:ve(ve({},l.rbgcpCanvasWrapper),{height:s}),id:"rbgcp-square-canvas-wrapper".concat(c),onClick:function(O){return K(O)}},m.createElement("canvas",{ref:Q,width:"".concat(a,"px"),height:"".concat(s,"px"),id:"rbgcp-square-canvas".concat(c)}))))},ce=function(){return ce=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},ce.apply(this,arguments)},Ul=function(){var e=dA(),A=e.config,r=e.hc,t=r===void 0?{}:r,n=e.squareWidth,a=e.handleChange,s=e.defaultStyles,o=e.pickerIdSuffix,l=E.useState(!1),c=l[0],g=l[1],B=t.r,u=t.g,p=t.b,Q="linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(".concat(B,",").concat(u,",").concat(p,",.5) 100%)"),C=A.barSize,I=function(){g(!1)},U=function(){g(!0)},b=function(h){var x=Ne(h,C)/100,K="rgba(".concat(B,", ").concat(u,", ").concat(p,", ").concat(x,")");a(K)},L=function(h){c&&b(h)},S=function(h){c||b(h)},y=n-18;return E.useEffect(function(){var h=function(){I()};return window.addEventListener("mouseup",h),function(){window.removeEventListener("mouseup",h)}},[]),m.createElement("div",{onMouseDown:U,onMouseMove:function(h){return L(h)},style:{height:14,marginTop:17,marginBottom:4,cursor:"ew-resize",position:"relative"},id:"rbgcp-opacity-wrapper".concat(o)},m.createElement("div",{id:"rbgcp-opacity-checkered-bg".concat(o),style:ce(ce({},s.rbgcpCheckered),{width:"100%",height:14})}),m.createElement("div",{id:"rbgcp-opacity-handle".concat(o),style:ce(ce({},s.rbgcpHandle),{left:y*t?.a,top:-2})}),m.createElement("div",{style:ce(ce({},s.rbgcpOpacityOverlay),{background:Q}),id:"rbgcp-opacity-overlay".concat(o),onClick:function(h){return S(h)}}))},Fl={CONTROLS:{SOLID:"Solid",GRADIENT:"Gradient"}},bl=["rgba(0,0,0,1)","rgba(128,128,128, 1)","rgba(192,192,192, 1)","rgba(255,255,255, 1)","rgba(0,0,128,1)","rgba(0,0,255,1)","rgba(0,255,255, 1)","rgba(0,128,0,1)","rgba(128,128,0, 1)","rgba(0,128,128,1)","rgba(0,255,0, 1)","rgba(128,0,0, 1)","rgba(128,0,128, 1)","rgba(175, 51, 242, 1)","rgba(255,0,255, 1)","rgba(255,0,0, 1)","rgba(240, 103, 46, 1)","rgba(255,255,0, 1)"],El=function(e){var A=e.presets,r=A===void 0?[]:A,t=dA(),n=t.value,a=t.onChange,s=t.isDarkMode,o=t.squareWidth,l=t.handleChange,c=t.pickerIdSuffix,g=function(){return r?.length>0?r?.slice(0,18):bl},B=function(p){p?.includes("gradient")?a(p):l(p)},u=function(p){if(!p||s)return"";var Q=p?.replace(" ","");return Q==="rgba(255,255,255,1)"?"1px solid #96959c":""};return m.createElement("div",{style:{marginTop:14,display:"flex",justifyContent:"space-between"},id:"rbgcp-footer-wrapper".concat(c)},m.createElement("div",{style:{width:50,height:50,flexShrink:0,borderRadius:6,background:n,border:u(n)},id:"rbgcp-preview".concat(c)}),m.createElement("div",{style:{rowGap:3,display:"flex",flexWrap:"wrap",width:o-57,justifyContent:"space-between"},id:"rbgcp-presets-wrapper".concat(c)},g().map(function(p,Q){return m.createElement("div",{key:"".concat(p,"-").concat(Q),id:"rbgcp-preset-".concat(Q,"-wrapper").concat(c),style:{width:"calc(100% / 9)",paddingLeft:3}},m.createElement("div",{style:{height:23.5,width:"100%",background:p,borderRadius:4,border:u(p)},onClick:function(){return B(p)},id:"rbgcp-preset-".concat(Q).concat(c)}))})))},Y=function(){return Y=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Y.apply(this,arguments)},yl=function(){var e=dA().defaultStyles,A={fill:"none",strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},m.createElement("polyline",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y({},A),e.rbgcpControlIcon),points:"17.96 4.31 2.04 4.3 3.75 4.3 4.81 17.29 5.16 17.96 5.74 18.47 6.59 18.62 13.64 18.62 14.52 18.32 15.07 17.68 15.29 17.12 16.28 4.3 12.87 4.3 12.87 2.38 12.48 1.75 11.83 1.46 8.4 1.46 7.64 1.68 7.26 2.21 7.16 2.52 7.17 4.23"}))},xl=function(e){var A=e.color,r=dA().defaultStyles,t=A??"",n={fill:"none",strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:14}},m.createElement("polyline",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"0.9 12.73 0.9 19.1 7.27 19.1 0.9 19.1 19.1 0.9 12.73 0.9 19.1 0.9 19.1 7.27"}))},Il=function(e){var A=e.color,r=dA().defaultStyles,t=A??"",n={fill:"none",strokeMiterlimit:10,strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},m.createElement("circle",{style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),cx:"10",cy:"10",r:"9"}),m.createElement("circle",{style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),cx:"10",cy:"10",r:"5"}))},Hl=function(e){var A=e.color,r=dA().defaultStyles,t=A??"",n={fill:"none",strokeWidth:"1.8px"},a={strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},m.createElement("polyline",{fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"3.74 2.75 3.74 12.69 0.9 12.71 6.59 12.71"}),m.createElement("line",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},a),r.rbgcpControlIcon),t&&{stroke:t,fill:t}),x1:"3.74",y1:"17.26",x2:"3.74",y2:"15.21"}),m.createElement("polyline",{fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"10.1 17.25 10.1 7.31 12.95 7.29 7.26 7.29"}),m.createElement("line",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},a),r.rbgcpControlIcon),t&&{stroke:t,fill:t}),x1:"10.1",y1:"2.74",x2:"10.1",y2:"4.79"}),m.createElement("polyline",{fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"16.26 2.75 16.26 12.69 13.41 12.71 19.1 12.71"}),m.createElement("line",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},a),r.rbgcpControlIcon),t&&{stroke:t,fill:t}),x1:"16.26",y1:"17.26",x2:"16.26",y2:"15.21"}))},Sl=function(e){var A=e.color,r=dA().defaultStyles,t=A??"",n={fill:"none",strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),d:"M6.35,2.72a4.85,4.85,0,0,1,1.86.16,7.94,7.94,0,0,1,.88.43,3.66,3.66,0,0,0,.85.49c.25,0,.58-.27.81-.39A8.25,8.25,0,0,1,11.7,3a4,4,0,0,1,1.79-.23,3.21,3.21,0,0,0-1.34.09,6.39,6.39,0,0,0-1.47.63c-.45.25-.7.3-.7.86s0,1.18,0,1.78c0,1.3,0,2.61,0,3.92h0v5.63a2.46,2.46,0,0,1,0,.47c-.07.28-.43.42-.7.57a5.29,5.29,0,0,1-2.94.61A9.3,9.3,0,0,0,8,17.15l1.09-.37.89-.52c.06,0,.48.21.56.25.32.14.64.27,1,.38a8.54,8.54,0,0,0,2.12.4"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),d:"M7.57,5.73C6,5.7,4.5,5.65,3,5.77a2.28,2.28,0,0,0-1.76.74A2.3,2.3,0,0,0,.94,7.83l0,3.82A4.73,4.73,0,0,0,1,12.9a1.64,1.64,0,0,0,.68,1,2.44,2.44,0,0,0,1,.27,25,25,0,0,0,4.74.09"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),d:"M12.43,14.32a44.12,44.12,0,0,0,4.6,0,2.24,2.24,0,0,0,1.76-.74,2.29,2.29,0,0,0,.27-1.32l0-3.81A4.81,4.81,0,0,0,19,7.15a1.62,1.62,0,0,0-.68-1,2.31,2.31,0,0,0-1-.28,26.8,26.8,0,0,0-4.74-.09"}))},Ll=function(e){var A=e.color,r=dA().defaultStyles,t=A??"",n={strokeMiterlimit:10,strokeWidth:"0.5px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"9.36",cy:"5.07",r:"1.71"}),m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"13.93",cy:"6.91",r:"1.71"}),m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"5.8",cy:"7.55",r:"1.71"}),m.createElement("circle",{style:Y(Y({},r.rbgcpControlIcon2),t&&{fill:t}),cx:"5.45",cy:"12.04",r:"1.71"}),m.createElement("path",{style:Y(Y(Y(Y({},n),r.rbgcpControlIcon),r.rbgcpControlIcon2),t&&{fill:t,stroke:t}),d:"M19.1,10c0,3.58-2.12,2.94-4.06,2.35-1.15-.34-2.24-.67-2.77-.08-.68.78-.54,2.07-.39,3.33.2,1.79.39,3.5-1.88,3.5A9.1,9.1,0,1,1,19.1,10ZM10,18c.7,0,.74-.19.75-.2a2.67,2.67,0,0,0,.07-1.27c0-.19,0-.42-.06-.67-.06-.53-.13-1.15-.14-1.67a3.82,3.82,0,0,1,.8-2.63,2.14,2.14,0,0,1,1.45-.7,4.36,4.36,0,0,1,1.32.12c.39.08.8.21,1.16.32h0c.39.12.74.23,1.08.3.74.17,1,.1,1.13,0S18,11.32,18,10a8,8,0,1,0-8,8Z"}))},kl=function(e){var A=e.color,r=dA().defaultStyles,t=A??"",n={fill:"none",strokeMiterlimit:10,strokeWidth:"1.8px"};return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},m.createElement("polyline",{strokeLinecap:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"13.86 2.01 1.7 16.99 18.77 16.99"}),m.createElement("polyline",{strokeLinecap:"round",style:Y(Y(Y({},n),r.rbgcpControlIcon),t&&{stroke:t}),points:"10.96 16.38 10.96 16.38 10.74 15.7 10.44 14.97 10.06 14.21 9.72 13.63 9.21 12.89 8.85 12.44 8.41 11.95 7.91 11.45 7.51 11.1"}))},Ml=function(){var e=dA().defaultStyles;return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:20,marginRight:1}},m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M2.39,8c-.63,0-1,.21-1,.63A.49.49,0,0,0,1.67,9a6.48,6.48,0,0,0,1.11.43A3,3,0,0,1,4,10.09a1.47,1.47,0,0,1,.35,1.09,1.75,1.75,0,0,1-.57,1.42,2.21,2.21,0,0,1-1.48.48,8.32,8.32,0,0,1-1.68-.21l-.31-.06.12-.94a13.7,13.7,0,0,0,1.8.16c.61,0,.92-.26.92-.77a.52.52,0,0,0-.21-.44,3.13,3.13,0,0,0-.85-.34A3.32,3.32,0,0,1,.66,9.79a1.43,1.43,0,0,1-.42-1.1A1.6,1.6,0,0,1,.78,7.36a2.32,2.32,0,0,1,1.49-.44,10.46,10.46,0,0,1,1.64.17l.32.07-.1.95C3.31,8,2.73,8,2.39,8Z"}),m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M4.79,8.09V7H9.16V8.09H7.59V13H6.38V8.09Z"}),m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M14,12.34a2.25,2.25,0,0,1-1.91.74,2.24,2.24,0,0,1-1.91-.74A3.85,3.85,0,0,1,9.61,10a4,4,0,0,1,.56-2.34,2.2,2.2,0,0,1,1.91-.77A2.21,2.21,0,0,1,14,7.69,4,4,0,0,1,14.55,10,3.85,3.85,0,0,1,14,12.34Zm-2.88-.77a1,1,0,0,0,1,.46,1,1,0,0,0,1-.46A3.25,3.25,0,0,0,13.3,10,3.45,3.45,0,0,0,13,8.46a1,1,0,0,0-1-.49,1,1,0,0,0-1,.49A3.43,3.43,0,0,0,10.85,10,3.38,3.38,0,0,0,11.11,11.57Z"}),m.createElement("path",{style:Y({},e.rbgcpControlIcon2),d:"M17.77,11.24h-1V13H15.58V7h2.19a1.85,1.85,0,0,1,2.11,2.07,2.21,2.21,0,0,1-.54,1.6A2.07,2.07,0,0,1,17.77,11.24Zm-1-1h1c.6,0,.9-.37.9-1.12a1.18,1.18,0,0,0-.22-.79.88.88,0,0,0-.68-.24h-1Z"}))},Kl=function(e){var A,r=e.children,t="id"+Math.random().toString(16).slice(2),n=E.useRef((A=document.getElementById(t))!==null&&A!==void 0?A:document.createElement("div")),a=E.useState(!n.current.parentElement)[0];return E.useEffect(function(){var s=n.current;return a&&(n.current.id=t,document.body.appendChild(n.current)),function(){a&&s.parentElement&&s.parentElement.removeChild(s)}},[t]),qi.createPortal(r,n.current)};const Tl=E.memo(Kl);var cn=function(e,A){return cn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])},cn(e,A)};function zA(e,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");cn(e,A);function r(){this.constructor=e}e.prototype=A===null?Object.create(A):(r.prototype=A.prototype,new r)}var gn=function(){return gn=Object.assign||function(A){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(A[a]=r[a])}return A},gn.apply(this,arguments)};function OA(e,A,r,t){function n(a){return a instanceof r?a:new r(function(s){s(a)})}return new(r||(r=Promise))(function(a,s){function o(g){try{c(t.next(g))}catch(B){s(B)}}function l(g){try{c(t.throw(g))}catch(B){s(B)}}function c(g){g.done?a(g.value):n(g.value).then(o,l)}c((t=t.apply(e,[])).next())})}function kA(e,A){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(c){return function(g){return l([c,g])}}function l(c){if(t)throw new TypeError("Generator is already executing.");for(;r;)try{if(t=1,n&&(a=c[0]&2?n.return:c[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,c[1])).done)return a;switch(n=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,n=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=A.call(e,r)}catch(g){c=[6,g],n=0}finally{t=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function yt(e,A,r){if(arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||A)}var ie=(function(){function e(A,r,t,n){this.left=A,this.top=r,this.width=t,this.height=n}return e.prototype.add=function(A,r,t,n){return new e(this.left+A,this.top+r,this.width+t,this.height+n)},e.fromClientRect=function(A,r){return new e(r.left+A.windowBounds.left,r.top+A.windowBounds.top,r.width,r.height)},e.fromDOMRectList=function(A,r){var t=Array.from(r).find(function(n){return n.width!==0});return t?new e(t.left+A.windowBounds.left,t.top+A.windowBounds.top,t.width,t.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e})(),Qr=function(e,A){return ie.fromClientRect(e,A.getBoundingClientRect())},Dl=function(e){var A=e.body,r=e.documentElement;if(!A||!r)throw new Error("Unable to get document size");var t=Math.max(Math.max(A.scrollWidth,r.scrollWidth),Math.max(A.offsetWidth,r.offsetWidth),Math.max(A.clientWidth,r.clientWidth)),n=Math.max(Math.max(A.scrollHeight,r.scrollHeight),Math.max(A.offsetHeight,r.offsetHeight),Math.max(A.clientHeight,r.clientHeight));return new ie(0,0,t,n)},mr=function(e){for(var A=[],r=0,t=e.length;r<t;){var n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<t){var a=e.charCodeAt(r++);(a&64512)===56320?A.push(((n&1023)<<10)+(a&1023)+65536):(A.push(n),r--)}else A.push(n)}return A},bA=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";for(var t=[],n=-1,a="";++n<r;){var s=e[n];s<=65535?t.push(s):(s-=65536,t.push((s>>10)+55296,s%1024+56320)),(n+1===r||t.length>16384)&&(a+=String.fromCharCode.apply(String,t),t.length=0)}return a},$n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ol=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var xt=0;xt<$n.length;xt++)Ol[$n.charCodeAt(xt)]=xt;var Aa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ze=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var It=0;It<Aa.length;It++)ze[Aa.charCodeAt(It)]=It;var Rl=function(e){var A=e.length*.75,r=e.length,t,n=0,a,s,o,l;e[e.length-1]==="="&&(A--,e[e.length-2]==="="&&A--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),g=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<r;t+=4)a=ze[e.charCodeAt(t)],s=ze[e.charCodeAt(t+1)],o=ze[e.charCodeAt(t+2)],l=ze[e.charCodeAt(t+3)],g[n++]=a<<2|s>>4,g[n++]=(s&15)<<4|o>>2,g[n++]=(o&3)<<6|l&63;return c},Nl=function(e){for(var A=e.length,r=[],t=0;t<A;t+=2)r.push(e[t+1]<<8|e[t]);return r},_l=function(e){for(var A=e.length,r=[],t=0;t<A;t+=4)r.push(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]);return r},Ee=5,Tn=11,kr=2,Gl=Tn-Ee,Ls=65536>>Ee,jl=1<<Ee,Mr=jl-1,Vl=1024>>Ee,Pl=Ls+Vl,Xl=Pl,Jl=32,Wl=Xl+Jl,Yl=65536>>Tn,Zl=1<<Gl,zl=Zl-1,ea=function(e,A,r){return e.slice?e.slice(A,r):new Uint16Array(Array.prototype.slice.call(e,A,r))},ql=function(e,A,r){return e.slice?e.slice(A,r):new Uint32Array(Array.prototype.slice.call(e,A,r))},$l=function(e,A){var r=Rl(e),t=Array.isArray(r)?_l(r):new Uint32Array(r),n=Array.isArray(r)?Nl(r):new Uint16Array(r),a=24,s=ea(n,a/2,t[4]/2),o=t[5]===2?ea(n,(a+t[4])/2):ql(t,Math.ceil((a+t[4])/4));return new Ac(t[0],t[1],t[2],t[3],s,o)},Ac=(function(){function e(A,r,t,n,a,s){this.initialValue=A,this.errorValue=r,this.highStart=t,this.highValueIndex=n,this.index=a,this.data=s}return e.prototype.get=function(A){var r;if(A>=0){if(A<55296||A>56319&&A<=65535)return r=this.index[A>>Ee],r=(r<<kr)+(A&Mr),this.data[r];if(A<=65535)return r=this.index[Ls+(A-55296>>Ee)],r=(r<<kr)+(A&Mr),this.data[r];if(A<this.highStart)return r=Wl-Yl+(A>>Tn),r=this.index[r],r+=A>>Ee&zl,r=this.index[r],r=(r<<kr)+(A&Mr),this.data[r];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e})(),ta="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ec=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ht=0;Ht<ta.length;Ht++)ec[ta.charCodeAt(Ht)]=Ht;var tc="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",ra=50,rc=1,ks=2,Ms=3,nc=4,ac=5,na=7,Ks=8,aa=9,ue=10,un=11,sa=12,Bn=13,sc=14,qe=15,dn=16,St=17,Xe=18,ic=19,ia=20,fn=21,Je=22,Kr=23,xe=24,_A=25,$e=26,At=27,Ie=28,oc=29,Ue=30,lc=31,Lt=32,kt=33,hn=34,wn=35,pn=36,ft=37,Cn=38,zt=39,qt=40,Tr=41,Ts=42,cc=43,gc=[9001,65288],Ds="!",iA="×",Mt="÷",Qn=$l(tc),ne=[Ue,pn],mn=[rc,ks,Ms,ac],Os=[ue,Ks],oa=[At,$e],uc=mn.concat(Os),la=[Cn,zt,qt,hn,wn],Bc=[qe,Bn],dc=function(e,A){A===void 0&&(A="strict");var r=[],t=[],n=[];return e.forEach(function(a,s){var o=Qn.get(a);if(o>ra?(n.push(!0),o-=ra):n.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(a)!==-1)return t.push(s),r.push(dn);if(o===nc||o===un){if(s===0)return t.push(s),r.push(Ue);var l=r[s-1];return uc.indexOf(l)===-1?(t.push(t[s-1]),r.push(l)):(t.push(s),r.push(Ue))}if(t.push(s),o===lc)return r.push(A==="strict"?fn:ft);if(o===Ts||o===oc)return r.push(Ue);if(o===cc)return a>=131072&&a<=196605||a>=196608&&a<=262141?r.push(ft):r.push(Ue);r.push(o)}),[t,r,n]},Dr=function(e,A,r,t){var n=t[r];if(Array.isArray(e)?e.indexOf(n)!==-1:e===n)for(var a=r;a<=t.length;){a++;var s=t[a];if(s===A)return!0;if(s!==ue)break}if(n===ue)for(var a=r;a>0;){a--;var o=t[a];if(Array.isArray(e)?e.indexOf(o)!==-1:e===o)for(var l=r;l<=t.length;){l++;var s=t[l];if(s===A)return!0;if(s!==ue)break}if(o!==ue)break}return!1},ca=function(e,A){for(var r=e;r>=0;){var t=A[r];if(t===ue)r--;else return t}return 0},fc=function(e,A,r,t,n){if(r[t]===0)return iA;var a=t-1;if(Array.isArray(n)&&n[a]===!0)return iA;var s=a-1,o=a+1,l=A[a],c=s>=0?A[s]:0,g=A[o];if(l===ks&&g===Ms)return iA;if(mn.indexOf(l)!==-1)return Ds;if(mn.indexOf(g)!==-1||Os.indexOf(g)!==-1)return iA;if(ca(a,A)===Ks)return Mt;if(Qn.get(e[a])===un||(l===Lt||l===kt)&&Qn.get(e[o])===un||l===na||g===na||l===aa||[ue,Bn,qe].indexOf(l)===-1&&g===aa||[St,Xe,ic,xe,Ie].indexOf(g)!==-1||ca(a,A)===Je||Dr(Kr,Je,a,A)||Dr([St,Xe],fn,a,A)||Dr(sa,sa,a,A))return iA;if(l===ue)return Mt;if(l===Kr||g===Kr)return iA;if(g===dn||l===dn)return Mt;if([Bn,qe,fn].indexOf(g)!==-1||l===sc||c===pn&&Bc.indexOf(l)!==-1||l===Ie&&g===pn||g===ia||ne.indexOf(g)!==-1&&l===_A||ne.indexOf(l)!==-1&&g===_A||l===At&&[ft,Lt,kt].indexOf(g)!==-1||[ft,Lt,kt].indexOf(l)!==-1&&g===$e||ne.indexOf(l)!==-1&&oa.indexOf(g)!==-1||oa.indexOf(l)!==-1&&ne.indexOf(g)!==-1||[At,$e].indexOf(l)!==-1&&(g===_A||[Je,qe].indexOf(g)!==-1&&A[o+1]===_A)||[Je,qe].indexOf(l)!==-1&&g===_A||l===_A&&[_A,Ie,xe].indexOf(g)!==-1)return iA;if([_A,Ie,xe,St,Xe].indexOf(g)!==-1)for(var B=a;B>=0;){var u=A[B];if(u===_A)return iA;if([Ie,xe].indexOf(u)!==-1)B--;else break}if([At,$e].indexOf(g)!==-1)for(var B=[St,Xe].indexOf(l)!==-1?s:a;B>=0;){var u=A[B];if(u===_A)return iA;if([Ie,xe].indexOf(u)!==-1)B--;else break}if(Cn===l&&[Cn,zt,hn,wn].indexOf(g)!==-1||[zt,hn].indexOf(l)!==-1&&[zt,qt].indexOf(g)!==-1||[qt,wn].indexOf(l)!==-1&&g===qt||la.indexOf(l)!==-1&&[ia,$e].indexOf(g)!==-1||la.indexOf(g)!==-1&&l===At||ne.indexOf(l)!==-1&&ne.indexOf(g)!==-1||l===xe&&ne.indexOf(g)!==-1||ne.concat(_A).indexOf(l)!==-1&&g===Je&&gc.indexOf(e[o])===-1||ne.concat(_A).indexOf(g)!==-1&&l===Xe)return iA;if(l===Tr&&g===Tr){for(var p=r[a],Q=1;p>0&&(p--,A[p]===Tr);)Q++;if(Q%2!==0)return iA}return l===Lt&&g===kt?iA:Mt},hc=function(e,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var r=dc(e,A.lineBreak),t=r[0],n=r[1],a=r[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(n=n.map(function(o){return[_A,Ue,Ts].indexOf(o)!==-1?ft:o}));var s=A.wordBreak==="keep-all"?a.map(function(o,l){return o&&e[l]>=19968&&e[l]<=40959}):void 0;return[t,n,s]},wc=(function(){function e(A,r,t,n){this.codePoints=A,this.required=r===Ds,this.start=t,this.end=n}return e.prototype.slice=function(){return bA.apply(void 0,this.codePoints.slice(this.start,this.end))},e})(),pc=function(e,A){var r=mr(e),t=hc(r,A),n=t[0],a=t[1],s=t[2],o=r.length,l=0,c=0;return{next:function(){if(c>=o)return{done:!0,value:null};for(var g=iA;c<o&&(g=fc(r,a,n,++c,s))===iA;);if(g!==iA||c===o){var B=new wc(r,g,l,c);return l=c,{value:B,done:!1}}return{done:!0,value:null}}}},Cc=1,Qc=2,vt=4,ga=8,or=10,ua=47,st=92,mc=9,vc=32,Kt=34,We=61,Uc=35,Fc=36,bc=37,Tt=39,Dt=40,Ye=41,Ec=95,RA=45,yc=33,xc=60,Ic=62,Hc=64,Sc=91,Lc=93,kc=61,Mc=123,Ot=63,Kc=125,Ba=124,Tc=126,Dc=128,da=65533,Or=42,be=43,Oc=44,Rc=58,Nc=59,ht=46,_c=0,Gc=8,jc=11,Vc=14,Pc=31,Xc=127,qA=-1,Rs=48,Ns=97,_s=101,Jc=102,Wc=117,Yc=122,Gs=65,js=69,Vs=70,Zc=85,zc=90,MA=function(e){return e>=Rs&&e<=57},qc=function(e){return e>=55296&&e<=57343},He=function(e){return MA(e)||e>=Gs&&e<=Vs||e>=Ns&&e<=Jc},$c=function(e){return e>=Ns&&e<=Yc},Ag=function(e){return e>=Gs&&e<=zc},eg=function(e){return $c(e)||Ag(e)},tg=function(e){return e>=Dc},Rt=function(e){return e===or||e===mc||e===vc},lr=function(e){return eg(e)||tg(e)||e===Ec},fa=function(e){return lr(e)||MA(e)||e===RA},rg=function(e){return e>=_c&&e<=Gc||e===jc||e>=Vc&&e<=Pc||e===Xc},ge=function(e,A){return e!==st?!1:A!==or},Nt=function(e,A,r){return e===RA?lr(A)||ge(A,r):lr(e)?!0:!!(e===st&&ge(e,A))},Rr=function(e,A,r){return e===be||e===RA?MA(A)?!0:A===ht&&MA(r):MA(e===ht?A:e)},ng=function(e){var A=0,r=1;(e[A]===be||e[A]===RA)&&(e[A]===RA&&(r=-1),A++);for(var t=[];MA(e[A]);)t.push(e[A++]);var n=t.length?parseInt(bA.apply(void 0,t),10):0;e[A]===ht&&A++;for(var a=[];MA(e[A]);)a.push(e[A++]);var s=a.length,o=s?parseInt(bA.apply(void 0,a),10):0;(e[A]===js||e[A]===_s)&&A++;var l=1;(e[A]===be||e[A]===RA)&&(e[A]===RA&&(l=-1),A++);for(var c=[];MA(e[A]);)c.push(e[A++]);var g=c.length?parseInt(bA.apply(void 0,c),10):0;return r*(n+o*Math.pow(10,-s))*Math.pow(10,l*g)},ag={type:2},sg={type:3},ig={type:4},og={type:13},lg={type:8},cg={type:21},gg={type:9},ug={type:10},Bg={type:11},dg={type:12},fg={type:14},_t={type:23},hg={type:1},wg={type:25},pg={type:24},Cg={type:26},Qg={type:27},mg={type:28},vg={type:29},Ug={type:31},vn={type:32},Ps=(function(){function e(){this._value=[]}return e.prototype.write=function(A){this._value=this._value.concat(mr(A))},e.prototype.read=function(){for(var A=[],r=this.consumeToken();r!==vn;)A.push(r),r=this.consumeToken();return A},e.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case Kt:return this.consumeStringToken(Kt);case Uc:var r=this.peekCodePoint(0),t=this.peekCodePoint(1),n=this.peekCodePoint(2);if(fa(r)||ge(t,n)){var a=Nt(r,t,n)?Qc:Cc,s=this.consumeName();return{type:5,value:s,flags:a}}break;case Fc:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),og;break;case Tt:return this.consumeStringToken(Tt);case Dt:return ag;case Ye:return sg;case Or:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),fg;break;case be:if(Rr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Oc:return ig;case RA:var o=A,l=this.peekCodePoint(0),c=this.peekCodePoint(1);if(Rr(o,l,c))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(Nt(o,l,c))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(l===RA&&c===Ic)return this.consumeCodePoint(),this.consumeCodePoint(),pg;break;case ht:if(Rr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case ua:if(this.peekCodePoint(0)===Or)for(this.consumeCodePoint();;){var g=this.consumeCodePoint();if(g===Or&&(g=this.consumeCodePoint(),g===ua))return this.consumeToken();if(g===qA)return this.consumeToken()}break;case Rc:return Cg;case Nc:return Qg;case xc:if(this.peekCodePoint(0)===yc&&this.peekCodePoint(1)===RA&&this.peekCodePoint(2)===RA)return this.consumeCodePoint(),this.consumeCodePoint(),wg;break;case Hc:var B=this.peekCodePoint(0),u=this.peekCodePoint(1),p=this.peekCodePoint(2);if(Nt(B,u,p)){var s=this.consumeName();return{type:7,value:s}}break;case Sc:return mg;case st:if(ge(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case Lc:return vg;case kc:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),lg;break;case Mc:return Bg;case Kc:return dg;case Wc:case Zc:var Q=this.peekCodePoint(0),C=this.peekCodePoint(1);return Q===be&&(He(C)||C===Ot)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Ba:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),gg;if(this.peekCodePoint(0)===Ba)return this.consumeCodePoint(),cg;break;case Tc:if(this.peekCodePoint(0)===We)return this.consumeCodePoint(),ug;break;case qA:return vn}return Rt(A)?(this.consumeWhiteSpace(),Ug):MA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):lr(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:bA(A)}},e.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},e.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},e.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},e.prototype.consumeUnicodeRangeToken=function(){for(var A=[],r=this.consumeCodePoint();He(r)&&A.length<6;)A.push(r),r=this.consumeCodePoint();for(var t=!1;r===Ot&&A.length<6;)A.push(r),r=this.consumeCodePoint(),t=!0;if(t){var n=parseInt(bA.apply(void 0,A.map(function(l){return l===Ot?Rs:l})),16),a=parseInt(bA.apply(void 0,A.map(function(l){return l===Ot?Vs:l})),16);return{type:30,start:n,end:a}}var s=parseInt(bA.apply(void 0,A),16);if(this.peekCodePoint(0)===RA&&He(this.peekCodePoint(1))){this.consumeCodePoint(),r=this.consumeCodePoint();for(var o=[];He(r)&&o.length<6;)o.push(r),r=this.consumeCodePoint();var a=parseInt(bA.apply(void 0,o),16);return{type:30,start:s,end:a}}else return{type:30,start:s,end:s}},e.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===Dt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Dt?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},e.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===qA)return{type:22,value:""};var r=this.peekCodePoint(0);if(r===Tt||r===Kt){var t=this.consumeStringToken(this.consumeCodePoint());return t.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===qA||this.peekCodePoint(0)===Ye)?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),_t)}for(;;){var n=this.consumeCodePoint();if(n===qA||n===Ye)return{type:22,value:bA.apply(void 0,A)};if(Rt(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===qA||this.peekCodePoint(0)===Ye?(this.consumeCodePoint(),{type:22,value:bA.apply(void 0,A)}):(this.consumeBadUrlRemnants(),_t);if(n===Kt||n===Tt||n===Dt||rg(n))return this.consumeBadUrlRemnants(),_t;if(n===st)if(ge(n,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),_t;else A.push(n)}},e.prototype.consumeWhiteSpace=function(){for(;Rt(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===Ye||A===qA)return;ge(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(A){for(var r=5e4,t="";A>0;){var n=Math.min(r,A);t+=bA.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),t},e.prototype.consumeStringToken=function(A){var r="",t=0;do{var n=this._value[t];if(n===qA||n===void 0||n===A)return r+=this.consumeStringSlice(t),{type:0,value:r};if(n===or)return this._value.splice(0,t),hg;if(n===st){var a=this._value[t+1];a!==qA&&a!==void 0&&(a===or?(r+=this.consumeStringSlice(t),t=-1,this._value.shift()):ge(n,a)&&(r+=this.consumeStringSlice(t),r+=bA(this.consumeEscapedCodePoint()),t=-1))}t++}while(!0)},e.prototype.consumeNumber=function(){var A=[],r=vt,t=this.peekCodePoint(0);for((t===be||t===RA)&&A.push(this.consumeCodePoint());MA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(t===ht&&MA(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),r=ga;MA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),n=this.peekCodePoint(1);var a=this.peekCodePoint(2);if((t===js||t===_s)&&((n===be||n===RA)&&MA(a)||MA(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),r=ga;MA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[ng(A),r]},e.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),r=A[0],t=A[1],n=this.peekCodePoint(0),a=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Nt(n,a,s)){var o=this.consumeName();return{type:15,number:r,flags:t,unit:o}}return n===bc?(this.consumeCodePoint(),{type:16,number:r,flags:t}):{type:17,number:r,flags:t}},e.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(He(A)){for(var r=bA(A);He(this.peekCodePoint(0))&&r.length<6;)r+=bA(this.consumeCodePoint());Rt(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(r,16);return t===0||qc(t)||t>1114111?da:t}return A===qA?da:A},e.prototype.consumeName=function(){for(var A="";;){var r=this.consumeCodePoint();if(fa(r))A+=bA(r);else if(ge(r,this.peekCodePoint(0)))A+=bA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(r),A}},e})(),Xs=(function(){function e(A){this._tokens=A}return e.create=function(A){var r=new Ps;return r.write(A),new e(r.read())},e.parseValue=function(A){return e.create(A).parseComponentValue()},e.parseValues=function(A){return e.create(A).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var A=this.consumeToken();A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var r=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return r;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var A=[];;){var r=this.consumeComponentValue();if(r.type===32)return A;A.push(r),A.push()}},e.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},e.prototype.consumeSimpleBlock=function(A){for(var r={type:A,values:[]},t=this.consumeToken();;){if(t.type===32||bg(t,A))return r;this.reconsumeToken(t),r.values.push(this.consumeComponentValue()),t=this.consumeToken()}},e.prototype.consumeFunction=function(A){for(var r={name:A.value,values:[],type:18};;){var t=this.consumeToken();if(t.type===32||t.type===3)return r;this.reconsumeToken(t),r.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?vn:A},e.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},e})(),Ut=function(e){return e.type===15},Ge=function(e){return e.type===17},BA=function(e){return e.type===20},Fg=function(e){return e.type===0},Un=function(e,A){return BA(e)&&e.value===A},Js=function(e){return e.type!==31},_e=function(e){return e.type!==31&&e.type!==4},te=function(e){var A=[],r=[];return e.forEach(function(t){if(t.type===4){if(r.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(r),r=[];return}t.type!==31&&r.push(t)}),r.length&&A.push(r),A},bg=function(e,A){return A===11&&e.type===12||A===28&&e.type===29?!0:A===2&&e.type===3},pe=function(e){return e.type===17||e.type===15},EA=function(e){return e.type===16||pe(e)},Ws=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},LA={type:17,number:0,flags:vt},Dn={type:16,number:50,flags:vt},Be={type:16,number:100,flags:vt},et=function(e,A,r){var t=e[0],n=e[1];return[wA(t,A),wA(typeof n<"u"?n:t,r)]},wA=function(e,A){if(e.type===16)return e.number/100*A;if(Ut(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},Ys="deg",Zs="grad",zs="rad",qs="turn",vr={name:"angle",parse:function(e,A){if(A.type===15)switch(A.unit){case Ys:return Math.PI*A.number/180;case Zs:return Math.PI/200*A.number;case zs:return A.number;case qs:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},$s=function(e){return e.type===15&&(e.unit===Ys||e.unit===Zs||e.unit===zs||e.unit===qs)},Ai=function(e){var A=e.filter(BA).map(function(r){return r.value}).join(" ");switch(A){case"to bottom right":case"to right bottom":case"left top":case"top left":return[LA,LA];case"to top":case"bottom":return XA(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[LA,Be];case"to right":case"left":return XA(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Be,Be];case"to bottom":case"top":return XA(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Be,LA];case"to left":case"right":return XA(270)}return 0},XA=function(e){return Math.PI*e/180},he={name:"color",parse:function(e,A){if(A.type===18){var r=Eg[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return r(e,A.values)}if(A.type===5){if(A.value.length===3){var t=A.value.substring(0,1),n=A.value.substring(1,2),a=A.value.substring(2,3);return de(parseInt(t+t,16),parseInt(n+n,16),parseInt(a+a,16),1)}if(A.value.length===4){var t=A.value.substring(0,1),n=A.value.substring(1,2),a=A.value.substring(2,3),s=A.value.substring(3,4);return de(parseInt(t+t,16),parseInt(n+n,16),parseInt(a+a,16),parseInt(s+s,16)/255)}if(A.value.length===6){var t=A.value.substring(0,2),n=A.value.substring(2,4),a=A.value.substring(4,6);return de(parseInt(t,16),parseInt(n,16),parseInt(a,16),1)}if(A.value.length===8){var t=A.value.substring(0,2),n=A.value.substring(2,4),a=A.value.substring(4,6),s=A.value.substring(6,8);return de(parseInt(t,16),parseInt(n,16),parseInt(a,16),parseInt(s,16)/255)}}if(A.type===20){var o=se[A.value.toUpperCase()];if(typeof o<"u")return o}return se.TRANSPARENT}},we=function(e){return(255&e)===0},xA=function(e){var A=255&e,r=255&e>>8,t=255&e>>16,n=255&e>>24;return A<255?"rgba("+n+","+t+","+r+","+A/255+")":"rgb("+n+","+t+","+r+")"},de=function(e,A,r,t){return(e<<24|A<<16|r<<8|Math.round(t*255)<<0)>>>0},ha=function(e,A){if(e.type===17)return e.number;if(e.type===16){var r=A===3?1:255;return A===3?e.number/100*r:Math.round(e.number/100*r)}return 0},wa=function(e,A){var r=A.filter(_e);if(r.length===3){var t=r.map(ha),n=t[0],a=t[1],s=t[2];return de(n,a,s,1)}if(r.length===4){var o=r.map(ha),n=o[0],a=o[1],s=o[2],l=o[3];return de(n,a,s,l)}return 0};function Nr(e,A,r){return r<0&&(r+=1),r>=1&&(r-=1),r<1/6?(A-e)*r*6+e:r<1/2?A:r<2/3?(A-e)*6*(2/3-r)+e:e}var pa=function(e,A){var r=A.filter(_e),t=r[0],n=r[1],a=r[2],s=r[3],o=(t.type===17?XA(t.number):vr.parse(e,t))/(Math.PI*2),l=EA(n)?n.number/100:0,c=EA(a)?a.number/100:0,g=typeof s<"u"&&EA(s)?wA(s,1):1;if(l===0)return de(c*255,c*255,c*255,1);var B=c<=.5?c*(l+1):c+l-c*l,u=c*2-B,p=Nr(u,B,o+1/3),Q=Nr(u,B,o),C=Nr(u,B,o-1/3);return de(p*255,Q*255,C*255,g)},Eg={hsl:pa,hsla:pa,rgb:wa,rgba:wa},it=function(e,A){return he.parse(e,Xs.create(A).parseComponentValue())},se={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},yg={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(r){if(BA(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},xg={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ur=function(e,A){var r=he.parse(e,A[0]),t=A[1];return t&&EA(t)?{color:r,stop:t}:{color:r,stop:null}},Ca=function(e,A){var r=e[0],t=e[e.length-1];r.stop===null&&(r.stop=LA),t.stop===null&&(t.stop=Be);for(var n=[],a=0,s=0;s<e.length;s++){var o=e[s].stop;if(o!==null){var l=wA(o,A);l>a?n.push(l):n.push(a),a=l}else n.push(null)}for(var c=null,s=0;s<n.length;s++){var g=n[s];if(g===null)c===null&&(c=s);else if(c!==null){for(var B=s-c,u=n[c-1],p=(g-u)/(B+1),Q=1;Q<=B;Q++)n[c+Q-1]=p*Q;c=null}}return e.map(function(C,I){var U=C.color;return{color:U,stop:Math.max(Math.min(1,n[I]/A),0)}})},Ig=function(e,A,r){var t=A/2,n=r/2,a=wA(e[0],A)-t,s=n-wA(e[1],r);return(Math.atan2(s,a)+Math.PI*2)%(Math.PI*2)},Hg=function(e,A,r){var t=typeof e=="number"?e:Ig(e,A,r),n=Math.abs(A*Math.sin(t))+Math.abs(r*Math.cos(t)),a=A/2,s=r/2,o=n/2,l=Math.sin(t-Math.PI/2)*o,c=Math.cos(t-Math.PI/2)*o;return[n,a-c,a+c,s-l,s+l]},ZA=function(e,A){return Math.sqrt(e*e+A*A)},Qa=function(e,A,r,t,n){var a=[[0,0],[0,A],[e,0],[e,A]];return a.reduce(function(s,o){var l=o[0],c=o[1],g=ZA(r-l,t-c);return(n?g<s.optimumDistance:g>s.optimumDistance)?{optimumCorner:o,optimumDistance:g}:s},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Sg=function(e,A,r,t,n){var a=0,s=0;switch(e.size){case 0:e.shape===0?a=s=Math.min(Math.abs(A),Math.abs(A-t),Math.abs(r),Math.abs(r-n)):e.shape===1&&(a=Math.min(Math.abs(A),Math.abs(A-t)),s=Math.min(Math.abs(r),Math.abs(r-n)));break;case 2:if(e.shape===0)a=s=Math.min(ZA(A,r),ZA(A,r-n),ZA(A-t,r),ZA(A-t,r-n));else if(e.shape===1){var o=Math.min(Math.abs(r),Math.abs(r-n))/Math.min(Math.abs(A),Math.abs(A-t)),l=Qa(t,n,A,r,!0),c=l[0],g=l[1];a=ZA(c-A,(g-r)/o),s=o*a}break;case 1:e.shape===0?a=s=Math.max(Math.abs(A),Math.abs(A-t),Math.abs(r),Math.abs(r-n)):e.shape===1&&(a=Math.max(Math.abs(A),Math.abs(A-t)),s=Math.max(Math.abs(r),Math.abs(r-n)));break;case 3:if(e.shape===0)a=s=Math.max(ZA(A,r),ZA(A,r-n),ZA(A-t,r),ZA(A-t,r-n));else if(e.shape===1){var o=Math.max(Math.abs(r),Math.abs(r-n))/Math.max(Math.abs(A),Math.abs(A-t)),B=Qa(t,n,A,r,!1),c=B[0],g=B[1];a=ZA(c-A,(g-r)/o),s=o*a}break}return Array.isArray(e.size)&&(a=wA(e.size[0],t),s=e.size.length===2?wA(e.size[1],n):a),[a,s]},Lg=function(e,A){var r=XA(180),t=[];return te(A).forEach(function(n,a){if(a===0){var s=n[0];if(s.type===20&&s.value==="to"){r=Ai(n);return}else if($s(s)){r=vr.parse(e,s);return}}var o=Ur(e,n);t.push(o)}),{angle:r,stops:t,type:1}},Gt=function(e,A){var r=XA(180),t=[];return te(A).forEach(function(n,a){if(a===0){var s=n[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){r=Ai(n);return}else if($s(s)){r=(vr.parse(e,s)+XA(270))%XA(360);return}}var o=Ur(e,n);t.push(o)}),{angle:r,stops:t,type:1}},kg=function(e,A){var r=XA(180),t=[],n=1,a=0,s=3,o=[];return te(A).forEach(function(l,c){var g=l[0];if(c===0){if(BA(g)&&g.value==="linear"){n=1;return}else if(BA(g)&&g.value==="radial"){n=2;return}}if(g.type===18){if(g.name==="from"){var B=he.parse(e,g.values[0]);t.push({stop:LA,color:B})}else if(g.name==="to"){var B=he.parse(e,g.values[0]);t.push({stop:Be,color:B})}else if(g.name==="color-stop"){var u=g.values.filter(_e);if(u.length===2){var B=he.parse(e,u[1]),p=u[0];Ge(p)&&t.push({stop:{type:16,number:p.number*100,flags:p.flags},color:B})}}}}),n===1?{angle:(r+XA(180))%XA(360),stops:t,type:n}:{size:s,shape:a,stops:t,position:o,type:n}},ei="closest-side",ti="farthest-side",ri="closest-corner",ni="farthest-corner",ai="circle",si="ellipse",ii="cover",oi="contain",Mg=function(e,A){var r=0,t=3,n=[],a=[];return te(A).forEach(function(s,o){var l=!0;if(o===0){var c=!1;l=s.reduce(function(B,u){if(c)if(BA(u))switch(u.value){case"center":return a.push(Dn),B;case"top":case"left":return a.push(LA),B;case"right":case"bottom":return a.push(Be),B}else(EA(u)||pe(u))&&a.push(u);else if(BA(u))switch(u.value){case ai:return r=0,!1;case si:return r=1,!1;case"at":return c=!0,!1;case ei:return t=0,!1;case ii:case ti:return t=1,!1;case oi:case ri:return t=2,!1;case ni:return t=3,!1}else if(pe(u)||EA(u))return Array.isArray(t)||(t=[]),t.push(u),!1;return B},l)}if(l){var g=Ur(e,s);n.push(g)}}),{size:t,shape:r,stops:n,position:a,type:2}},jt=function(e,A){var r=0,t=3,n=[],a=[];return te(A).forEach(function(s,o){var l=!0;if(o===0?l=s.reduce(function(g,B){if(BA(B))switch(B.value){case"center":return a.push(Dn),!1;case"top":case"left":return a.push(LA),!1;case"right":case"bottom":return a.push(Be),!1}else if(EA(B)||pe(B))return a.push(B),!1;return g},l):o===1&&(l=s.reduce(function(g,B){if(BA(B))switch(B.value){case ai:return r=0,!1;case si:return r=1,!1;case oi:case ei:return t=0,!1;case ti:return t=1,!1;case ri:return t=2,!1;case ii:case ni:return t=3,!1}else if(pe(B)||EA(B))return Array.isArray(t)||(t=[]),t.push(B),!1;return g},l)),l){var c=Ur(e,s);n.push(c)}}),{size:t,shape:r,stops:n,position:a,type:2}},Kg=function(e){return e.type===1},Tg=function(e){return e.type===2},On={name:"image",parse:function(e,A){if(A.type===22){var r={url:A.value,type:0};return e.cache.addImage(A.value),r}if(A.type===18){var t=li[A.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return t(e,A.values)}throw new Error("Unsupported image type "+A.type)}};function Dg(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!li[e.name])}var li={"linear-gradient":Lg,"-moz-linear-gradient":Gt,"-ms-linear-gradient":Gt,"-o-linear-gradient":Gt,"-webkit-linear-gradient":Gt,"radial-gradient":Mg,"-moz-radial-gradient":jt,"-ms-radial-gradient":jt,"-o-radial-gradient":jt,"-webkit-radial-gradient":jt,"-webkit-gradient":kg},Og={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var r=A[0];return r.type===20&&r.value==="none"?[]:A.filter(function(t){return _e(t)&&Dg(t)}).map(function(t){return On.parse(e,t)})}},Rg={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(r){if(BA(r))switch(r.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ng={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,A){return te(A).map(function(r){return r.filter(EA)}).map(Ws)}},_g={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,A){return te(A).map(function(r){return r.filter(BA).map(function(t){return t.value}).join(" ")}).map(Gg)}},Gg=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},Oe;(function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"})(Oe||(Oe={}));var jg={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,A){return te(A).map(function(r){return r.filter(Vg)})}},Vg=function(e){return BA(e)||EA(e)},Fr=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Pg=Fr("top"),Xg=Fr("right"),Jg=Fr("bottom"),Wg=Fr("left"),br=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(A,r){return Ws(r.filter(EA))}}},Yg=br("top-left"),Zg=br("top-right"),zg=br("bottom-right"),qg=br("bottom-left"),Er=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,r){switch(r){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},$g=Er("top"),Au=Er("right"),eu=Er("bottom"),tu=Er("left"),yr=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,r){return Ut(r)?r.number:0}}},ru=yr("top"),nu=yr("right"),au=yr("bottom"),su=yr("left"),iu={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ou={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,A){return A==="rtl"?1:0}},lu={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,A){return A.filter(BA).reduce(function(r,t){return r|cu(t.value)},0)}},cu=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},gu={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},uu={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,A){return A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0}},cr;(function(e){e.NORMAL="normal",e.STRICT="strict"})(cr||(cr={}));var Bu={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){return A==="strict"?cr.STRICT:cr.NORMAL}},du={name:"line-height",initialValue:"normal",prefix:!1,type:4},ma=function(e,A){return BA(e)&&e.value==="normal"?1.2*A:e.type===17?A*e.number:EA(e)?wA(e,A):A},fu={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,A){return A.type===20&&A.value==="none"?null:On.parse(e,A)}},hu={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,A){return A==="inside"?0:1}},Fn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},xr=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},wu=xr("top"),pu=xr("right"),Cu=xr("bottom"),Qu=xr("left"),mu={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,A){return A.filter(BA).map(function(r){switch(r.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},vu={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){return A==="break-word"?"break-word":"normal"}},Ir=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Uu=Ir("top"),Fu=Ir("right"),bu=Ir("bottom"),Eu=Ir("left"),yu={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,A){switch(A){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},xu={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Iu={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.length===1&&Un(A[0],"none")?[]:te(A).map(function(r){for(var t={color:se.TRANSPARENT,offsetX:LA,offsetY:LA,blur:LA},n=0,a=0;a<r.length;a++){var s=r[a];pe(s)?(n===0?t.offsetX=s:n===1?t.offsetY=s:t.blur=s,n++):t.color=he.parse(e,s)}return t})}},Hu={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Su={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,A){if(A.type===20&&A.value==="none")return null;if(A.type===18){var r=Mu[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return r(A.values)}return null}},Lu=function(e){var A=e.filter(function(r){return r.type===17}).map(function(r){return r.number});return A.length===6?A:null},ku=function(e){var A=e.filter(function(l){return l.type===17}).map(function(l){return l.number}),r=A[0],t=A[1];A[2],A[3];var n=A[4],a=A[5];A[6],A[7],A[8],A[9],A[10],A[11];var s=A[12],o=A[13];return A[14],A[15],A.length===16?[r,t,n,a,s,o]:null},Mu={matrix:Lu,matrix3d:ku},va={type:16,number:50,flags:vt},Ku=[va,va],Tu={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,A){var r=A.filter(EA);return r.length!==2?Ku:[r[0],r[1]]}},Du={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"hidden":return 1;case"collapse":return 2;default:return 0}}},ot;(function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"})(ot||(ot={}));var Ou={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"break-all":return ot.BREAK_ALL;case"keep-all":return ot.KEEP_ALL;default:return ot.NORMAL}}},Ru={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,A){if(A.type===20)return{auto:!0,order:0};if(Ge(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},ci={name:"time",parse:function(e,A){if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},Nu={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,A){return Ge(A)?A.number:1}},_u={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Gu={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,A){return A.filter(BA).map(function(r){switch(r.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(r){return r!==0})}},ju={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,A){var r=[],t=[];return A.forEach(function(n){switch(n.type){case 20:case 0:r.push(n.value);break;case 17:r.push(n.number.toString());break;case 4:t.push(r.join(" ")),r.length=0;break}}),r.length&&t.push(r.join(" ")),t.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},Vu={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Pu={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,A){return Ge(A)?A.number:BA(A)&&A.value==="bold"?700:400}},Xu={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.filter(BA).map(function(r){return r.value})}},Ju={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},yA=function(e,A){return(e&A)!==0},Wu={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var r=A[0];return r.type===20&&r.value==="none"?[]:A}},Yu={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return null;var r=A[0];if(r.type===20&&r.value==="none")return null;for(var t=[],n=A.filter(Js),a=0;a<n.length;a++){var s=n[a],o=n[a+1];if(s.type===20){var l=o&&Ge(o)?o.number:1;t.push({counter:s.value,increment:l})}}return t}},Zu={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return[];for(var r=[],t=A.filter(Js),n=0;n<t.length;n++){var a=t[n],s=t[n+1];if(BA(a)&&a.value!=="none"){var o=s&&Ge(s)?s.number:0;r.push({counter:a.value,reset:o})}}return r}},zu={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,A){return A.filter(Ut).map(function(r){return ci.parse(e,r)})}},qu={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return null;var r=A[0];if(r.type===20&&r.value==="none")return null;var t=[],n=A.filter(Fg);if(n.length%2!==0)return null;for(var a=0;a<n.length;a+=2){var s=n[a].value,o=n[a+1].value;t.push({open:s,close:o})}return t}},Ua=function(e,A,r){if(!e)return"";var t=e[Math.min(A,e.length-1)];return t?r?t.open:t.close:""},$u={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.length===1&&Un(A[0],"none")?[]:te(A).map(function(r){for(var t={color:255,offsetX:LA,offsetY:LA,blur:LA,spread:LA,inset:!1},n=0,a=0;a<r.length;a++){var s=r[a];Un(s,"inset")?t.inset=!0:pe(s)?(n===0?t.offsetX=s:n===1?t.offsetY=s:n===2?t.blur=s:t.spread=s,n++):t.color=he.parse(e,s)}return t})}},AB={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,A){var r=[0,1,2],t=[];return A.filter(BA).forEach(function(n){switch(n.value){case"stroke":t.push(1);break;case"fill":t.push(0);break;case"markers":t.push(2);break}}),r.forEach(function(n){t.indexOf(n)===-1&&t.push(n)}),t}},eB={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},tB={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,A){return Ut(A)?A.number:0}},rB=(function(){function e(A,r){var t,n;this.animationDuration=X(A,zu,r.animationDuration),this.backgroundClip=X(A,yg,r.backgroundClip),this.backgroundColor=X(A,xg,r.backgroundColor),this.backgroundImage=X(A,Og,r.backgroundImage),this.backgroundOrigin=X(A,Rg,r.backgroundOrigin),this.backgroundPosition=X(A,Ng,r.backgroundPosition),this.backgroundRepeat=X(A,_g,r.backgroundRepeat),this.backgroundSize=X(A,jg,r.backgroundSize),this.borderTopColor=X(A,Pg,r.borderTopColor),this.borderRightColor=X(A,Xg,r.borderRightColor),this.borderBottomColor=X(A,Jg,r.borderBottomColor),this.borderLeftColor=X(A,Wg,r.borderLeftColor),this.borderTopLeftRadius=X(A,Yg,r.borderTopLeftRadius),this.borderTopRightRadius=X(A,Zg,r.borderTopRightRadius),this.borderBottomRightRadius=X(A,zg,r.borderBottomRightRadius),this.borderBottomLeftRadius=X(A,qg,r.borderBottomLeftRadius),this.borderTopStyle=X(A,$g,r.borderTopStyle),this.borderRightStyle=X(A,Au,r.borderRightStyle),this.borderBottomStyle=X(A,eu,r.borderBottomStyle),this.borderLeftStyle=X(A,tu,r.borderLeftStyle),this.borderTopWidth=X(A,ru,r.borderTopWidth),this.borderRightWidth=X(A,nu,r.borderRightWidth),this.borderBottomWidth=X(A,au,r.borderBottomWidth),this.borderLeftWidth=X(A,su,r.borderLeftWidth),this.boxShadow=X(A,$u,r.boxShadow),this.color=X(A,iu,r.color),this.direction=X(A,ou,r.direction),this.display=X(A,lu,r.display),this.float=X(A,gu,r.cssFloat),this.fontFamily=X(A,ju,r.fontFamily),this.fontSize=X(A,Vu,r.fontSize),this.fontStyle=X(A,Ju,r.fontStyle),this.fontVariant=X(A,Xu,r.fontVariant),this.fontWeight=X(A,Pu,r.fontWeight),this.letterSpacing=X(A,uu,r.letterSpacing),this.lineBreak=X(A,Bu,r.lineBreak),this.lineHeight=X(A,du,r.lineHeight),this.listStyleImage=X(A,fu,r.listStyleImage),this.listStylePosition=X(A,hu,r.listStylePosition),this.listStyleType=X(A,Fn,r.listStyleType),this.marginTop=X(A,wu,r.marginTop),this.marginRight=X(A,pu,r.marginRight),this.marginBottom=X(A,Cu,r.marginBottom),this.marginLeft=X(A,Qu,r.marginLeft),this.opacity=X(A,Nu,r.opacity);var a=X(A,mu,r.overflow);this.overflowX=a[0],this.overflowY=a[a.length>1?1:0],this.overflowWrap=X(A,vu,r.overflowWrap),this.paddingTop=X(A,Uu,r.paddingTop),this.paddingRight=X(A,Fu,r.paddingRight),this.paddingBottom=X(A,bu,r.paddingBottom),this.paddingLeft=X(A,Eu,r.paddingLeft),this.paintOrder=X(A,AB,r.paintOrder),this.position=X(A,xu,r.position),this.textAlign=X(A,yu,r.textAlign),this.textDecorationColor=X(A,_u,(t=r.textDecorationColor)!==null&&t!==void 0?t:r.color),this.textDecorationLine=X(A,Gu,(n=r.textDecorationLine)!==null&&n!==void 0?n:r.textDecoration),this.textShadow=X(A,Iu,r.textShadow),this.textTransform=X(A,Hu,r.textTransform),this.transform=X(A,Su,r.transform),this.transformOrigin=X(A,Tu,r.transformOrigin),this.visibility=X(A,Du,r.visibility),this.webkitTextStrokeColor=X(A,eB,r.webkitTextStrokeColor),this.webkitTextStrokeWidth=X(A,tB,r.webkitTextStrokeWidth),this.wordBreak=X(A,Ou,r.wordBreak),this.zIndex=X(A,Ru,r.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return we(this.backgroundColor)},e.prototype.isTransformed=function(){return this.transform!==null},e.prototype.isPositioned=function(){return this.position!==0},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==0},e.prototype.isInlineLevel=function(){return yA(this.display,4)||yA(this.display,33554432)||yA(this.display,268435456)||yA(this.display,536870912)||yA(this.display,67108864)||yA(this.display,134217728)},e})(),nB=(function(){function e(A,r){this.content=X(A,Wu,r.content),this.quotes=X(A,qu,r.quotes)}return e})(),Fa=(function(){function e(A,r){this.counterIncrement=X(A,Yu,r.counterIncrement),this.counterReset=X(A,Zu,r.counterReset)}return e})(),X=function(e,A,r){var t=new Ps,n=r!==null&&typeof r<"u"?r.toString():A.initialValue;t.write(n);var a=new Xs(t.read());switch(A.type){case 2:var s=a.parseComponentValue();return A.parse(e,BA(s)?s.value:A.initialValue);case 0:return A.parse(e,a.parseComponentValue());case 1:return A.parse(e,a.parseComponentValues());case 4:return a.parseComponentValue();case 3:switch(A.format){case"angle":return vr.parse(e,a.parseComponentValue());case"color":return he.parse(e,a.parseComponentValue());case"image":return On.parse(e,a.parseComponentValue());case"length":var o=a.parseComponentValue();return pe(o)?o:LA;case"length-percentage":var l=a.parseComponentValue();return EA(l)?l:LA;case"time":return ci.parse(e,a.parseComponentValue())}break}},aB="data-html2canvas-debug",sB=function(e){var A=e.getAttribute(aB);switch(A){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},bn=function(e,A){var r=sB(e);return r===1||A===r},re=(function(){function e(A,r){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,bn(r,3))debugger;this.styles=new rB(A,window.getComputedStyle(r,null)),xn(r)&&(this.styles.animationDuration.some(function(t){return t>0})&&(r.style.animationDuration="0s"),this.styles.transform!==null&&(r.style.transform="none")),this.bounds=Qr(this.context,r),bn(r,4)&&(this.flags|=16)}return e})(),iB="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",ba="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tt=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Vt=0;Vt<ba.length;Vt++)tt[ba.charCodeAt(Vt)]=Vt;var oB=function(e){var A=e.length*.75,r=e.length,t,n=0,a,s,o,l;e[e.length-1]==="="&&(A--,e[e.length-2]==="="&&A--);var c=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),g=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<r;t+=4)a=tt[e.charCodeAt(t)],s=tt[e.charCodeAt(t+1)],o=tt[e.charCodeAt(t+2)],l=tt[e.charCodeAt(t+3)],g[n++]=a<<2|s>>4,g[n++]=(s&15)<<4|o>>2,g[n++]=(o&3)<<6|l&63;return c},lB=function(e){for(var A=e.length,r=[],t=0;t<A;t+=2)r.push(e[t+1]<<8|e[t]);return r},cB=function(e){for(var A=e.length,r=[],t=0;t<A;t+=4)r.push(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]);return r},ye=5,Rn=11,_r=2,gB=Rn-ye,gi=65536>>ye,uB=1<<ye,Gr=uB-1,BB=1024>>ye,dB=gi+BB,fB=dB,hB=32,wB=fB+hB,pB=65536>>Rn,CB=1<<gB,QB=CB-1,Ea=function(e,A,r){return e.slice?e.slice(A,r):new Uint16Array(Array.prototype.slice.call(e,A,r))},mB=function(e,A,r){return e.slice?e.slice(A,r):new Uint32Array(Array.prototype.slice.call(e,A,r))},vB=function(e,A){var r=oB(e),t=Array.isArray(r)?cB(r):new Uint32Array(r),n=Array.isArray(r)?lB(r):new Uint16Array(r),a=24,s=Ea(n,a/2,t[4]/2),o=t[5]===2?Ea(n,(a+t[4])/2):mB(t,Math.ceil((a+t[4])/4));return new UB(t[0],t[1],t[2],t[3],s,o)},UB=(function(){function e(A,r,t,n,a,s){this.initialValue=A,this.errorValue=r,this.highStart=t,this.highValueIndex=n,this.index=a,this.data=s}return e.prototype.get=function(A){var r;if(A>=0){if(A<55296||A>56319&&A<=65535)return r=this.index[A>>ye],r=(r<<_r)+(A&Gr),this.data[r];if(A<=65535)return r=this.index[gi+(A-55296>>ye)],r=(r<<_r)+(A&Gr),this.data[r];if(A<this.highStart)return r=wB-pB+(A>>Rn),r=this.index[r],r+=A>>ye&QB,r=this.index[r],r=(r<<_r)+(A&Gr),this.data[r];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e})(),ya="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",FB=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Pt=0;Pt<ya.length;Pt++)FB[ya.charCodeAt(Pt)]=Pt;var bB=1,jr=2,Vr=3,xa=4,Ia=5,EB=7,Ha=8,Pr=9,Xr=10,Sa=11,La=12,ka=13,Ma=14,Jr=15,yB=function(e){for(var A=[],r=0,t=e.length;r<t;){var n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<t){var a=e.charCodeAt(r++);(a&64512)===56320?A.push(((n&1023)<<10)+(a&1023)+65536):(A.push(n),r--)}else A.push(n)}return A},xB=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var r=e.length;if(!r)return"";for(var t=[],n=-1,a="";++n<r;){var s=e[n];s<=65535?t.push(s):(s-=65536,t.push((s>>10)+55296,s%1024+56320)),(n+1===r||t.length>16384)&&(a+=String.fromCharCode.apply(String,t),t.length=0)}return a},IB=vB(iB),VA="×",Wr="÷",HB=function(e){return IB.get(e)},SB=function(e,A,r){var t=r-2,n=A[t],a=A[r-1],s=A[r];if(a===jr&&s===Vr)return VA;if(a===jr||a===Vr||a===xa||s===jr||s===Vr||s===xa)return Wr;if(a===Ha&&[Ha,Pr,Sa,La].indexOf(s)!==-1||(a===Sa||a===Pr)&&(s===Pr||s===Xr)||(a===La||a===Xr)&&s===Xr||s===ka||s===Ia||s===EB||a===bB)return VA;if(a===ka&&s===Ma){for(;n===Ia;)n=A[--t];if(n===Ma)return VA}if(a===Jr&&s===Jr){for(var o=0;n===Jr;)o++,n=A[--t];if(o%2===0)return VA}return Wr},LB=function(e){var A=yB(e),r=A.length,t=0,n=0,a=A.map(HB);return{next:function(){if(t>=r)return{done:!0,value:null};for(var s=VA;t<r&&(s=SB(A,a,++t))===VA;);if(s!==VA||t===r){var o=xB.apply(null,A.slice(n,t));return n=t,{value:o,done:!1}}return{done:!0,value:null}}}},kB=function(e){for(var A=LB(e),r=[],t;!(t=A.next()).done;)t.value&&r.push(t.value.slice());return r},MB=function(e){var A=123;if(e.createRange){var r=e.createRange();if(r.getBoundingClientRect){var t=e.createElement("boundtest");t.style.height=A+"px",t.style.display="block",e.body.appendChild(t),r.selectNode(t);var n=r.getBoundingClientRect(),a=Math.round(n.height);if(e.body.removeChild(t),a===A)return!0}}return!1},KB=function(e){var A=e.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",e.body.appendChild(A);var r=e.createRange();A.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var t=A.firstChild,n=mr(t.data).map(function(l){return bA(l)}),a=0,s={},o=n.every(function(l,c){r.setStart(t,a),r.setEnd(t,a+l.length);var g=r.getBoundingClientRect();a+=l.length;var B=g.x>s.x||g.y>s.y;return s=g,c===0?!0:B});return e.body.removeChild(A),o},TB=function(){return typeof new Image().crossOrigin<"u"},DB=function(){return typeof new XMLHttpRequest().responseType=="string"},OB=function(e){var A=new Image,r=e.createElement("canvas"),t=r.getContext("2d");if(!t)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{t.drawImage(A,0,0),r.toDataURL()}catch{return!1}return!0},Ka=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},RB=function(e){var A=e.createElement("canvas"),r=100;A.width=r,A.height=r;var t=A.getContext("2d");if(!t)return Promise.reject(!1);t.fillStyle="rgb(0, 255, 0)",t.fillRect(0,0,r,r);var n=new Image,a=A.toDataURL();n.src=a;var s=En(r,r,0,0,n);return t.fillStyle="red",t.fillRect(0,0,r,r),Ta(s).then(function(o){t.drawImage(o,0,0);var l=t.getImageData(0,0,r,r).data;t.fillStyle="red",t.fillRect(0,0,r,r);var c=e.createElement("div");return c.style.backgroundImage="url("+a+")",c.style.height=r+"px",Ka(l)?Ta(En(r,r,0,0,c)):Promise.reject(!1)}).then(function(o){return t.drawImage(o,0,0),Ka(t.getImageData(0,0,r,r).data)}).catch(function(){return!1})},En=function(e,A,r,t,n){var a="http://www.w3.org/2000/svg",s=document.createElementNS(a,"svg"),o=document.createElementNS(a,"foreignObject");return s.setAttributeNS(null,"width",e.toString()),s.setAttributeNS(null,"height",A.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",r.toString()),o.setAttributeNS(null,"y",t.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(n),s},Ta=function(e){return new Promise(function(A,r){var t=new Image;t.onload=function(){return A(t)},t.onerror=r,t.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},HA={get SUPPORT_RANGE_BOUNDS(){var e=MB(document);return Object.defineProperty(HA,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=HA.SUPPORT_RANGE_BOUNDS&&KB(document);return Object.defineProperty(HA,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=OB(document);return Object.defineProperty(HA,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?RB(document):Promise.resolve(!1);return Object.defineProperty(HA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=TB();return Object.defineProperty(HA,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=DB();return Object.defineProperty(HA,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(HA,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(HA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},lt=(function(){function e(A,r){this.text=A,this.bounds=r}return e})(),NB=function(e,A,r,t){var n=jB(A,r),a=[],s=0;return n.forEach(function(o){if(r.textDecorationLine.length||o.trim().length>0)if(HA.SUPPORT_RANGE_BOUNDS){var l=Da(t,s,o.length).getClientRects();if(l.length>1){var c=Nn(o),g=0;c.forEach(function(u){a.push(new lt(u,ie.fromDOMRectList(e,Da(t,g+s,u.length).getClientRects()))),g+=u.length})}else a.push(new lt(o,ie.fromDOMRectList(e,l)))}else{var B=t.splitText(o.length);a.push(new lt(o,_B(e,t))),t=B}else HA.SUPPORT_RANGE_BOUNDS||(t=t.splitText(o.length));s+=o.length}),a},_B=function(e,A){var r=A.ownerDocument;if(r){var t=r.createElement("html2canvaswrapper");t.appendChild(A.cloneNode(!0));var n=A.parentNode;if(n){n.replaceChild(t,A);var a=Qr(e,t);return t.firstChild&&n.replaceChild(t.firstChild,t),a}}return ie.EMPTY},Da=function(e,A,r){var t=e.ownerDocument;if(!t)throw new Error("Node has no owner document");var n=t.createRange();return n.setStart(e,A),n.setEnd(e,A+r),n},Nn=function(e){if(HA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(e)).map(function(r){return r.segment})}return kB(e)},GB=function(e,A){if(HA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var r=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(r.segment(e)).map(function(t){return t.segment})}return PB(e,A)},jB=function(e,A){return A.letterSpacing!==0?Nn(e):GB(e,A)},VB=[32,160,4961,65792,65793,4153,4241],PB=function(e,A){for(var r=pc(e,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),t=[],n,a=function(){if(n.value){var s=n.value.slice(),o=mr(s),l="";o.forEach(function(c){VB.indexOf(c)===-1?l+=bA(c):(l.length&&t.push(l),t.push(bA(c)),l="")}),l.length&&t.push(l)}};!(n=r.next()).done;)a();return t},XB=(function(){function e(A,r,t){this.text=JB(r.data,t.textTransform),this.textBounds=NB(A,this.text,t,r)}return e})(),JB=function(e,A){switch(A){case 1:return e.toLowerCase();case 3:return e.replace(WB,YB);case 2:return e.toUpperCase();default:return e}},WB=/(^|\s|:|-|\(|\))([a-z])/g,YB=function(e,A,r){return e.length>0?A+r.toUpperCase():e},ui=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.src=t.currentSrc||t.src,n.intrinsicWidth=t.naturalWidth,n.intrinsicHeight=t.naturalHeight,n.context.cache.addImage(n.src),n}return A})(re),Bi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.canvas=t,n.intrinsicWidth=t.width,n.intrinsicHeight=t.height,n}return A})(re),di=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this,a=new XMLSerializer,s=Qr(r,t);return t.setAttribute("width",s.width+"px"),t.setAttribute("height",s.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(a.serializeToString(t)),n.intrinsicWidth=t.width.baseVal.value,n.intrinsicHeight=t.height.baseVal.value,n.context.cache.addImage(n.svg),n}return A})(re),fi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.value=t.value,n}return A})(re),yn=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.start=t.start,n.reversed=typeof t.reversed=="boolean"&&t.reversed===!0,n}return A})(re),ZB=[{type:15,flags:0,unit:"px",number:3}],zB=[{type:16,flags:0,number:50}],qB=function(e){return e.width>e.height?new ie(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new ie(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},$B=function(e){var A=e.type===Ad?new Array(e.value.length+1).join("•"):e.value;return A.length===0?e.placeholder||"":A},gr="checkbox",ur="radio",Ad="password",Oa=707406591,_n=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;switch(n.type=t.type.toLowerCase(),n.checked=t.checked,n.value=$B(t),(n.type===gr||n.type===ur)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=qB(n.bounds)),n.type){case gr:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=ZB;break;case ur:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=zB;break}return n}return A})(re),hi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this,a=t.options[t.selectedIndex||0];return n.value=a&&a.text||"",n}return A})(re),wi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.value=t.value,n}return A})(re),pi=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;n.src=t.src,n.width=parseInt(t.width,10)||0,n.height=parseInt(t.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement){n.tree=Qi(r,t.contentWindow.document.documentElement);var a=t.contentWindow.document.documentElement?it(r,getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):se.TRANSPARENT,s=t.contentWindow.document.body?it(r,getComputedStyle(t.contentWindow.document.body).backgroundColor):se.TRANSPARENT;n.backgroundColor=we(a)?we(s)?n.styles.backgroundColor:s:a}}catch{}return n}return A})(re),ed=["OL","UL","MENU"],$t=function(e,A,r,t){for(var n=A.firstChild,a=void 0;n;n=a)if(a=n.nextSibling,mi(n)&&n.data.trim().length>0)r.textNodes.push(new XB(e,n,r.styles));else if(De(n))if(bi(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return $t(e,o,r,t)});else{var s=Ci(e,n);s.styles.isVisible()&&(td(n,s,t)?s.flags|=4:rd(s.styles)&&(s.flags|=2),ed.indexOf(n.tagName)!==-1&&(s.flags|=8),r.elements.push(s),n.slot,n.shadowRoot?$t(e,n.shadowRoot,s,t):!Br(n)&&!vi(n)&&!dr(n)&&$t(e,n,s,t))}},Ci=function(e,A){return In(A)?new ui(e,A):Ui(A)?new Bi(e,A):vi(A)?new di(e,A):nd(A)?new fi(e,A):ad(A)?new yn(e,A):sd(A)?new _n(e,A):dr(A)?new hi(e,A):Br(A)?new wi(e,A):Fi(A)?new pi(e,A):new re(e,A)},Qi=function(e,A){var r=Ci(e,A);return r.flags|=4,$t(e,A,r,r),r},td=function(e,A,r){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Gn(e)&&r.styles.isTransparent()},rd=function(e){return e.isPositioned()||e.isFloating()},mi=function(e){return e.nodeType===Node.TEXT_NODE},De=function(e){return e.nodeType===Node.ELEMENT_NODE},xn=function(e){return De(e)&&typeof e.style<"u"&&!Ar(e)},Ar=function(e){return typeof e.className=="object"},nd=function(e){return e.tagName==="LI"},ad=function(e){return e.tagName==="OL"},sd=function(e){return e.tagName==="INPUT"},id=function(e){return e.tagName==="HTML"},vi=function(e){return e.tagName==="svg"},Gn=function(e){return e.tagName==="BODY"},Ui=function(e){return e.tagName==="CANVAS"},Ra=function(e){return e.tagName==="VIDEO"},In=function(e){return e.tagName==="IMG"},Fi=function(e){return e.tagName==="IFRAME"},Na=function(e){return e.tagName==="STYLE"},od=function(e){return e.tagName==="SCRIPT"},Br=function(e){return e.tagName==="TEXTAREA"},dr=function(e){return e.tagName==="SELECT"},bi=function(e){return e.tagName==="SLOT"},_a=function(e){return e.tagName.indexOf("-")>0},ld=(function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(A){var r=this.counters[A];return r&&r.length?r[r.length-1]:1},e.prototype.getCounterValues=function(A){var r=this.counters[A];return r||[]},e.prototype.pop=function(A){var r=this;A.forEach(function(t){return r.counters[t].pop()})},e.prototype.parse=function(A){var r=this,t=A.counterIncrement,n=A.counterReset,a=!0;t!==null&&t.forEach(function(o){var l=r.counters[o.counter];l&&o.increment!==0&&(a=!1,l.length||l.push(1),l[Math.max(0,l.length-1)]+=o.increment)});var s=[];return a&&n.forEach(function(o){var l=r.counters[o.counter];s.push(o.counter),l||(l=r.counters[o.counter]=[]),l.push(o.reset)}),s},e})(),Ga={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ja={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},cd={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},gd={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Se=function(e,A,r,t,n,a){return e<A||e>r?wt(e,n,a.length>0):t.integers.reduce(function(s,o,l){for(;e>=o;)e-=o,s+=t.values[l];return s},"")+a},Ei=function(e,A,r,t){var n="";do r||e--,n=t(e)+n,e/=A;while(e*A>=A);return n},FA=function(e,A,r,t,n){var a=r-A+1;return(e<0?"-":"")+(Ei(Math.abs(e),a,t,function(s){return bA(Math.floor(s%a)+A)})+n)},Ce=function(e,A,r){r===void 0&&(r=". ");var t=A.length;return Ei(Math.abs(e),t,!1,function(n){return A[Math.floor(n%t)]})+r},Me=1,oe=2,le=4,rt=8,ae=function(e,A,r,t,n,a){if(e<-9999||e>9999)return wt(e,4,n.length>0);var s=Math.abs(e),o=n;if(s===0)return A[0]+o;for(var l=0;s>0&&l<=4;l++){var c=s%10;c===0&&yA(a,Me)&&o!==""?o=A[c]+o:c>1||c===1&&l===0||c===1&&l===1&&yA(a,oe)||c===1&&l===1&&yA(a,le)&&e>100||c===1&&l>1&&yA(a,rt)?o=A[c]+(l>0?r[l-1]:"")+o:c===1&&l>0&&(o=r[l-1]+o),s=Math.floor(s/10)}return(e<0?t:"")+o},Va="十百千萬",Pa="拾佰仟萬",Xa="マイナス",Yr="마이너스",wt=function(e,A,r){var t=r?". ":"",n=r?"、":"",a=r?", ":"",s=r?" ":"";switch(A){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var o=FA(e,48,57,!0,t);return o.length<4?"0"+o:o;case 4:return Ce(e,"〇一二三四五六七八九",n);case 6:return Se(e,1,3999,Ga,3,t).toLowerCase();case 7:return Se(e,1,3999,Ga,3,t);case 8:return FA(e,945,969,!1,t);case 9:return FA(e,97,122,!1,t);case 10:return FA(e,65,90,!1,t);case 11:return FA(e,1632,1641,!0,t);case 12:case 49:return Se(e,1,9999,ja,3,t);case 35:return Se(e,1,9999,ja,3,t).toLowerCase();case 13:return FA(e,2534,2543,!0,t);case 14:case 30:return FA(e,6112,6121,!0,t);case 15:return Ce(e,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Ce(e,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return ae(e,"零一二三四五六七八九",Va,"負",n,oe|le|rt);case 47:return ae(e,"零壹貳參肆伍陸柒捌玖",Pa,"負",n,Me|oe|le|rt);case 42:return ae(e,"零一二三四五六七八九",Va,"负",n,oe|le|rt);case 41:return ae(e,"零壹贰叁肆伍陆柒捌玖",Pa,"负",n,Me|oe|le|rt);case 26:return ae(e,"〇一二三四五六七八九","十百千万",Xa,n,0);case 25:return ae(e,"零壱弐参四伍六七八九","拾百千万",Xa,n,Me|oe|le);case 31:return ae(e,"영일이삼사오육칠팔구","십백천만",Yr,a,Me|oe|le);case 33:return ae(e,"零一二三四五六七八九","十百千萬",Yr,a,0);case 32:return ae(e,"零壹貳參四五六七八九","拾百千",Yr,a,Me|oe|le);case 18:return FA(e,2406,2415,!0,t);case 20:return Se(e,1,19999,gd,3,t);case 21:return FA(e,2790,2799,!0,t);case 22:return FA(e,2662,2671,!0,t);case 22:return Se(e,1,10999,cd,3,t);case 23:return Ce(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Ce(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return FA(e,3302,3311,!0,t);case 28:return Ce(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Ce(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return FA(e,3792,3801,!0,t);case 37:return FA(e,6160,6169,!0,t);case 38:return FA(e,4160,4169,!0,t);case 39:return FA(e,2918,2927,!0,t);case 40:return FA(e,1776,1785,!0,t);case 43:return FA(e,3046,3055,!0,t);case 44:return FA(e,3174,3183,!0,t);case 45:return FA(e,3664,3673,!0,t);case 46:return FA(e,3872,3881,!0,t);default:return FA(e,48,57,!0,t)}},yi="data-html2canvas-ignore",Ja=(function(){function e(A,r,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=r,this.counters=new ld,this.quoteDepth=0,!r.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(r.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(A,r){var t=this,n=ud(A,r);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var a=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,o=n.contentWindow,l=o.document,c=fd(n).then(function(){return OA(t,void 0,void 0,function(){var g,B;return kA(this,function(u){switch(u.label){case 0:return this.scrolledElements.forEach(Cd),o&&(o.scrollTo(r.left,r.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==r.top||o.scrollX!==r.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-r.left,o.scrollY-r.top,0,0))),g=this.options.onclone,B=this.clonedReferenceElement,typeof B>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:u.sent(),u.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,dd(l)]:[3,4];case 3:u.sent(),u.label=4;case 4:return typeof g=="function"?[2,Promise.resolve().then(function(){return g(l,B)}).then(function(){return n})]:[2,n]}})})});return l.open(),l.write(wd(document.doctype)+"<html></html>"),pd(this.referenceElement.ownerDocument,a,s),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),c},e.prototype.createElementClone=function(A){if(bn(A,2))debugger;if(Ui(A))return this.createCanvasClone(A);if(Ra(A))return this.createVideoClone(A);if(Na(A))return this.createStyleClone(A);var r=A.cloneNode(!1);return In(r)&&(In(A)&&A.currentSrc&&A.currentSrc!==A.src&&(r.src=A.currentSrc,r.srcset=""),r.loading==="lazy"&&(r.loading="eager")),_a(r)?this.createCustomElementClone(r):r},e.prototype.createCustomElementClone=function(A){var r=document.createElement("html2canvascustomelement");return Zr(A.style,r),r},e.prototype.createStyleClone=function(A){try{var r=A.sheet;if(r&&r.cssRules){var t=[].slice.call(r.cssRules,0).reduce(function(a,s){return s&&typeof s.cssText=="string"?a+s.cssText:a},""),n=A.cloneNode(!1);return n.textContent=t,n}}catch(a){if(this.context.logger.error("Unable to access cssRules property",a),a.name!=="SecurityError")throw a}return A.cloneNode(!1)},e.prototype.createCanvasClone=function(A){var r;if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var a=A.getContext("2d"),s=n.getContext("2d");if(s)if(!this.options.allowTaint&&a)s.putImageData(a.getImageData(0,0,A.width,A.height),0,0);else{var o=(r=A.getContext("webgl2"))!==null&&r!==void 0?r:A.getContext("webgl");if(o){var l=o.getContextAttributes();l?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}s.drawImage(A,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},e.prototype.createVideoClone=function(A){var r=A.ownerDocument.createElement("canvas");r.width=A.offsetWidth,r.height=A.offsetHeight;var t=r.getContext("2d");try{return t&&(t.drawImage(A,0,0,r.width,r.height),this.options.allowTaint||t.getImageData(0,0,r.width,r.height)),r}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},e.prototype.appendChildNode=function(A,r,t){(!De(r)||!od(r)&&!r.hasAttribute(yi)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(r)))&&(!this.options.copyStyles||!De(r)||!Na(r))&&A.appendChild(this.cloneNode(r,t))},e.prototype.cloneChildNodes=function(A,r,t){for(var n=this,a=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;a;a=a.nextSibling)if(De(a)&&bi(a)&&typeof a.assignedNodes=="function"){var s=a.assignedNodes();s.length&&s.forEach(function(o){return n.appendChildNode(r,o,t)})}else this.appendChildNode(r,a,t)},e.prototype.cloneNode=function(A,r){if(mi(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&De(A)&&(xn(A)||Ar(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var a=t.getComputedStyle(A),s=t.getComputedStyle(A,":before"),o=t.getComputedStyle(A,":after");this.referenceElement===A&&xn(n)&&(this.clonedReferenceElement=n),Gn(n)&&vd(n);var l=this.counters.parse(new Fa(this.context,a)),c=this.resolvePseudoContent(A,n,s,ct.BEFORE);_a(A)&&(r=!0),Ra(A)||this.cloneChildNodes(A,n,r),c&&n.insertBefore(c,n.firstChild);var g=this.resolvePseudoContent(A,n,o,ct.AFTER);return g&&n.appendChild(g),this.counters.pop(l),(a&&(this.options.copyStyles||Ar(A))&&!Fi(A)||r)&&Zr(a,n),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(Br(A)||dr(A))&&(Br(n)||dr(n))&&(n.value=A.value),n}return A.cloneNode(!1)},e.prototype.resolvePseudoContent=function(A,r,t,n){var a=this;if(t){var s=t.content,o=r.ownerDocument;if(!(!o||!s||s==="none"||s==="-moz-alt-content"||t.display==="none")){this.counters.parse(new Fa(this.context,t));var l=new nB(this.context,t),c=o.createElement("html2canvaspseudoelement");Zr(t,c),l.content.forEach(function(B){if(B.type===0)c.appendChild(o.createTextNode(B.value));else if(B.type===22){var u=o.createElement("img");u.src=B.value,u.style.opacity="1",c.appendChild(u)}else if(B.type===18){if(B.name==="attr"){var p=B.values.filter(BA);p.length&&c.appendChild(o.createTextNode(A.getAttribute(p[0].value)||""))}else if(B.name==="counter"){var Q=B.values.filter(_e),C=Q[0],I=Q[1];if(C&&BA(C)){var U=a.counters.getCounterValue(C.value),b=I&&BA(I)?Fn.parse(a.context,I.value):3;c.appendChild(o.createTextNode(wt(U,b,!1)))}}else if(B.name==="counters"){var L=B.values.filter(_e),C=L[0],S=L[1],I=L[2];if(C&&BA(C)){var y=a.counters.getCounterValues(C.value),h=I&&BA(I)?Fn.parse(a.context,I.value):3,x=S&&S.type===0?S.value:"",K=y.map(function(O){return wt(O,h,!1)}).join(x);c.appendChild(o.createTextNode(K))}}}else if(B.type===20)switch(B.value){case"open-quote":c.appendChild(o.createTextNode(Ua(l.quotes,a.quoteDepth++,!0)));break;case"close-quote":c.appendChild(o.createTextNode(Ua(l.quotes,--a.quoteDepth,!1)));break;default:c.appendChild(o.createTextNode(B.value))}}),c.className=Hn+" "+Sn;var g=n===ct.BEFORE?" "+Hn:" "+Sn;return Ar(r)?r.className.baseValue+=g:r.className+=g,c}}},e.destroy=function(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1},e})(),ct;(function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"})(ct||(ct={}));var ud=function(e,A){var r=e.createElement("iframe");return r.className="html2canvas-container",r.style.visibility="hidden",r.style.position="fixed",r.style.left="-10000px",r.style.top="0px",r.style.border="0",r.width=A.width.toString(),r.height=A.height.toString(),r.scrolling="no",r.setAttribute(yi,"true"),e.body.appendChild(r),r},Bd=function(e){return new Promise(function(A){if(e.complete){A();return}if(!e.src){A();return}e.onload=A,e.onerror=A})},dd=function(e){return Promise.all([].slice.call(e.images,0).map(Bd))},fd=function(e){return new Promise(function(A,r){var t=e.contentWindow;if(!t)return r("No window assigned for iframe");var n=t.document;t.onload=e.onload=function(){t.onload=e.onload=null;var a=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(a),A(e))},50)}})},hd=["all","d","content"],Zr=function(e,A){for(var r=e.length-1;r>=0;r--){var t=e.item(r);hd.indexOf(t)===-1&&A.style.setProperty(t,e.getPropertyValue(t))}return A},wd=function(e){var A="";return e&&(A+="<!DOCTYPE ",e.name&&(A+=e.name),e.internalSubset&&(A+=e.internalSubset),e.publicId&&(A+='"'+e.publicId+'"'),e.systemId&&(A+='"'+e.systemId+'"'),A+=">"),A},pd=function(e,A,r){e&&e.defaultView&&(A!==e.defaultView.pageXOffset||r!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(A,r)},Cd=function(e){var A=e[0],r=e[1],t=e[2];A.scrollLeft=r,A.scrollTop=t},Qd=":before",md=":after",Hn="___html2canvas___pseudoelement_before",Sn="___html2canvas___pseudoelement_after",Wa=`{- content: "" !important;- display: none !important;-}`,vd=function(e){Ud(e,"."+Hn+Qd+Wa+`- .`+Sn+md+Wa)},Ud=function(e,A){var r=e.ownerDocument;if(r){var t=r.createElement("style");t.textContent=A,e.appendChild(t)}},xi=(function(){function e(){}return e.getOrigin=function(A){var r=e._link;return r?(r.href=A,r.href=r.href,r.protocol+r.hostname+r.port):"about:blank"},e.isSameOrigin=function(A){return e.getOrigin(A)===e._origin},e.setContext=function(A){e._link=A.document.createElement("a"),e._origin=e.getOrigin(A.location.href)},e._origin="about:blank",e})(),Fd=(function(){function e(A,r){this.context=A,this._options=r,this._cache={}}return e.prototype.addImage=function(A){var r=Promise.resolve();return this.has(A)||(qr(A)||xd(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),r},e.prototype.match=function(A){return this._cache[A]},e.prototype.loadImage=function(A){return OA(this,void 0,void 0,function(){var r,t,n,a,s=this;return kA(this,function(o){switch(o.label){case 0:return r=xi.isSameOrigin(A),t=!zr(A)&&this._options.useCORS===!0&&HA.SUPPORT_CORS_IMAGES&&!r,n=!zr(A)&&!r&&!qr(A)&&typeof this._options.proxy=="string"&&HA.SUPPORT_CORS_XHR&&!t,!r&&this._options.allowTaint===!1&&!zr(A)&&!qr(A)&&!n&&!t?[2]:(a=A,n?[4,this.proxy(a)]:[3,2]);case 1:a=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(l,c){var g=new Image;g.onload=function(){return l(g)},g.onerror=c,(Id(a)||t)&&(g.crossOrigin="anonymous"),g.src=a,g.complete===!0&&setTimeout(function(){return l(g)},500),s._options.imageTimeout>0&&setTimeout(function(){return c("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},e.prototype.has=function(A){return typeof this._cache[A]<"u"},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(A){var r=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise(function(a,s){var o=HA.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;l.onload=function(){if(l.status===200)if(o==="text")a(l.response);else{var B=new FileReader;B.addEventListener("load",function(){return a(B.result)},!1),B.addEventListener("error",function(u){return s(u)},!1),B.readAsDataURL(l.response)}else s("Failed to proxy resource "+n+" with status code "+l.status)},l.onerror=s;var c=t.indexOf("?")>-1?"&":"?";if(l.open("GET",""+t+c+"url="+encodeURIComponent(A)+"&responseType="+o),o!=="text"&&l instanceof XMLHttpRequest&&(l.responseType=o),r._options.imageTimeout){var g=r._options.imageTimeout;l.timeout=g,l.ontimeout=function(){return s("Timed out ("+g+"ms) proxying "+n)}}l.send()})},e})(),bd=/^data:image\/svg\+xml/i,Ed=/^data:image\/.*;base64,/i,yd=/^data:image\/.*/i,xd=function(e){return HA.SUPPORT_SVG_DRAWING||!Hd(e)},zr=function(e){return yd.test(e)},Id=function(e){return Ed.test(e)},qr=function(e){return e.substr(0,4)==="blob"},Hd=function(e){return e.substr(-3).toLowerCase()==="svg"||bd.test(e)},V=(function(){function e(A,r){this.type=0,this.x=A,this.y=r}return e.prototype.add=function(A,r){return new e(this.x+A,this.y+r)},e})(),Le=function(e,A,r){return new V(e.x+(A.x-e.x)*r,e.y+(A.y-e.y)*r)},Xt=(function(){function e(A,r,t,n){this.type=1,this.start=A,this.startControl=r,this.endControl=t,this.end=n}return e.prototype.subdivide=function(A,r){var t=Le(this.start,this.startControl,A),n=Le(this.startControl,this.endControl,A),a=Le(this.endControl,this.end,A),s=Le(t,n,A),o=Le(n,a,A),l=Le(s,o,A);return r?new e(this.start,t,s,l):new e(l,o,a,this.end)},e.prototype.add=function(A,r){return new e(this.start.add(A,r),this.startControl.add(A,r),this.endControl.add(A,r),this.end.add(A,r))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e})(),PA=function(e){return e.type===1},Sd=(function(){function e(A){var r=A.styles,t=A.bounds,n=et(r.borderTopLeftRadius,t.width,t.height),a=n[0],s=n[1],o=et(r.borderTopRightRadius,t.width,t.height),l=o[0],c=o[1],g=et(r.borderBottomRightRadius,t.width,t.height),B=g[0],u=g[1],p=et(r.borderBottomLeftRadius,t.width,t.height),Q=p[0],C=p[1],I=[];I.push((a+l)/t.width),I.push((Q+B)/t.width),I.push((s+C)/t.height),I.push((c+u)/t.height);var U=Math.max.apply(Math,I);U>1&&(a/=U,s/=U,l/=U,c/=U,B/=U,u/=U,Q/=U,C/=U);var b=t.width-l,L=t.height-u,S=t.width-B,y=t.height-C,h=r.borderTopWidth,x=r.borderRightWidth,K=r.borderBottomWidth,k=r.borderLeftWidth,R=wA(r.paddingTop,A.bounds.width),O=wA(r.paddingRight,A.bounds.width),Z=wA(r.paddingBottom,A.bounds.width),D=wA(r.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=a>0||s>0?CA(t.left+k/3,t.top+h/3,a-k/3,s-h/3,gA.TOP_LEFT):new V(t.left+k/3,t.top+h/3),this.topRightBorderDoubleOuterBox=a>0||s>0?CA(t.left+b,t.top+h/3,l-x/3,c-h/3,gA.TOP_RIGHT):new V(t.left+t.width-x/3,t.top+h/3),this.bottomRightBorderDoubleOuterBox=B>0||u>0?CA(t.left+S,t.top+L,B-x/3,u-K/3,gA.BOTTOM_RIGHT):new V(t.left+t.width-x/3,t.top+t.height-K/3),this.bottomLeftBorderDoubleOuterBox=Q>0||C>0?CA(t.left+k/3,t.top+y,Q-k/3,C-K/3,gA.BOTTOM_LEFT):new V(t.left+k/3,t.top+t.height-K/3),this.topLeftBorderDoubleInnerBox=a>0||s>0?CA(t.left+k*2/3,t.top+h*2/3,a-k*2/3,s-h*2/3,gA.TOP_LEFT):new V(t.left+k*2/3,t.top+h*2/3),this.topRightBorderDoubleInnerBox=a>0||s>0?CA(t.left+b,t.top+h*2/3,l-x*2/3,c-h*2/3,gA.TOP_RIGHT):new V(t.left+t.width-x*2/3,t.top+h*2/3),this.bottomRightBorderDoubleInnerBox=B>0||u>0?CA(t.left+S,t.top+L,B-x*2/3,u-K*2/3,gA.BOTTOM_RIGHT):new V(t.left+t.width-x*2/3,t.top+t.height-K*2/3),this.bottomLeftBorderDoubleInnerBox=Q>0||C>0?CA(t.left+k*2/3,t.top+y,Q-k*2/3,C-K*2/3,gA.BOTTOM_LEFT):new V(t.left+k*2/3,t.top+t.height-K*2/3),this.topLeftBorderStroke=a>0||s>0?CA(t.left+k/2,t.top+h/2,a-k/2,s-h/2,gA.TOP_LEFT):new V(t.left+k/2,t.top+h/2),this.topRightBorderStroke=a>0||s>0?CA(t.left+b,t.top+h/2,l-x/2,c-h/2,gA.TOP_RIGHT):new V(t.left+t.width-x/2,t.top+h/2),this.bottomRightBorderStroke=B>0||u>0?CA(t.left+S,t.top+L,B-x/2,u-K/2,gA.BOTTOM_RIGHT):new V(t.left+t.width-x/2,t.top+t.height-K/2),this.bottomLeftBorderStroke=Q>0||C>0?CA(t.left+k/2,t.top+y,Q-k/2,C-K/2,gA.BOTTOM_LEFT):new V(t.left+k/2,t.top+t.height-K/2),this.topLeftBorderBox=a>0||s>0?CA(t.left,t.top,a,s,gA.TOP_LEFT):new V(t.left,t.top),this.topRightBorderBox=l>0||c>0?CA(t.left+b,t.top,l,c,gA.TOP_RIGHT):new V(t.left+t.width,t.top),this.bottomRightBorderBox=B>0||u>0?CA(t.left+S,t.top+L,B,u,gA.BOTTOM_RIGHT):new V(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=Q>0||C>0?CA(t.left,t.top+y,Q,C,gA.BOTTOM_LEFT):new V(t.left,t.top+t.height),this.topLeftPaddingBox=a>0||s>0?CA(t.left+k,t.top+h,Math.max(0,a-k),Math.max(0,s-h),gA.TOP_LEFT):new V(t.left+k,t.top+h),this.topRightPaddingBox=l>0||c>0?CA(t.left+Math.min(b,t.width-x),t.top+h,b>t.width+x?0:Math.max(0,l-x),Math.max(0,c-h),gA.TOP_RIGHT):new V(t.left+t.width-x,t.top+h),this.bottomRightPaddingBox=B>0||u>0?CA(t.left+Math.min(S,t.width-k),t.top+Math.min(L,t.height-K),Math.max(0,B-x),Math.max(0,u-K),gA.BOTTOM_RIGHT):new V(t.left+t.width-x,t.top+t.height-K),this.bottomLeftPaddingBox=Q>0||C>0?CA(t.left+k,t.top+Math.min(y,t.height-K),Math.max(0,Q-k),Math.max(0,C-K),gA.BOTTOM_LEFT):new V(t.left+k,t.top+t.height-K),this.topLeftContentBox=a>0||s>0?CA(t.left+k+D,t.top+h+R,Math.max(0,a-(k+D)),Math.max(0,s-(h+R)),gA.TOP_LEFT):new V(t.left+k+D,t.top+h+R),this.topRightContentBox=l>0||c>0?CA(t.left+Math.min(b,t.width+k+D),t.top+h+R,b>t.width+k+D?0:l-k+D,c-(h+R),gA.TOP_RIGHT):new V(t.left+t.width-(x+O),t.top+h+R),this.bottomRightContentBox=B>0||u>0?CA(t.left+Math.min(S,t.width-(k+D)),t.top+Math.min(L,t.height+h+R),Math.max(0,B-(x+O)),u-(K+Z),gA.BOTTOM_RIGHT):new V(t.left+t.width-(x+O),t.top+t.height-(K+Z)),this.bottomLeftContentBox=Q>0||C>0?CA(t.left+k+D,t.top+y,Math.max(0,Q-(k+D)),C-(K+Z),gA.BOTTOM_LEFT):new V(t.left+k+D,t.top+t.height-(K+Z))}return e})(),gA;(function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(gA||(gA={}));var CA=function(e,A,r,t,n){var a=4*((Math.sqrt(2)-1)/3),s=r*a,o=t*a,l=e+r,c=A+t;switch(n){case gA.TOP_LEFT:return new Xt(new V(e,c),new V(e,c-o),new V(l-s,A),new V(l,A));case gA.TOP_RIGHT:return new Xt(new V(e,A),new V(e+s,A),new V(l,c-o),new V(l,c));case gA.BOTTOM_RIGHT:return new Xt(new V(l,A),new V(l,A+o),new V(e+s,c),new V(e,c));case gA.BOTTOM_LEFT:default:return new Xt(new V(l,c),new V(l-s,c),new V(e,A+o),new V(e,A))}},fr=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},Ld=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},hr=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},kd=(function(){function e(A,r,t){this.offsetX=A,this.offsetY=r,this.matrix=t,this.type=0,this.target=6}return e})(),Jt=(function(){function e(A,r){this.path=A,this.target=r,this.type=1}return e})(),Md=(function(){function e(A){this.opacity=A,this.type=2,this.target=6}return e})(),Kd=function(e){return e.type===0},Ii=function(e){return e.type===1},Td=function(e){return e.type===2},Ya=function(e,A){return e.length===A.length?e.some(function(r,t){return r===A[t]}):!1},Dd=function(e,A,r,t,n){return e.map(function(a,s){switch(s){case 0:return a.add(A,r);case 1:return a.add(A+t,r);case 2:return a.add(A+t,r+n);case 3:return a.add(A,r+n)}return a})},Hi=(function(){function e(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e})(),Si=(function(){function e(A,r){if(this.container=A,this.parent=r,this.effects=[],this.curves=new Sd(this.container),this.container.styles.opacity<1&&this.effects.push(new Md(this.container.styles.opacity)),this.container.styles.transform!==null){var t=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,a=this.container.styles.transform;this.effects.push(new kd(t,n,a))}if(this.container.styles.overflowX!==0){var s=fr(this.curves),o=hr(this.curves);Ya(s,o)?this.effects.push(new Jt(s,6)):(this.effects.push(new Jt(s,2)),this.effects.push(new Jt(o,4)))}}return e.prototype.getEffects=function(A){for(var r=[2,3].indexOf(this.container.styles.position)===-1,t=this.parent,n=this.effects.slice(0);t;){var a=t.effects.filter(function(l){return!Ii(l)});if(r||t.container.styles.position!==0||!t.parent){if(n.unshift.apply(n,a),r=[2,3].indexOf(t.container.styles.position)===-1,t.container.styles.overflowX!==0){var s=fr(t.curves),o=hr(t.curves);Ya(s,o)||n.unshift(new Jt(o,6))}}else n.unshift.apply(n,a);t=t.parent}return n.filter(function(l){return yA(l.target,A)})},e})(),Ln=function(e,A,r,t){e.container.elements.forEach(function(n){var a=yA(n.flags,4),s=yA(n.flags,2),o=new Si(n,e);yA(n.styles.display,2048)&&t.push(o);var l=yA(n.flags,8)?[]:t;if(a||s){var c=a||n.styles.isPositioned()?r:A,g=new Hi(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var B=n.styles.zIndex.order;if(B<0){var u=0;c.negativeZIndex.some(function(Q,C){return B>Q.element.container.styles.zIndex.order?(u=C,!1):u>0}),c.negativeZIndex.splice(u,0,g)}else if(B>0){var p=0;c.positiveZIndex.some(function(Q,C){return B>=Q.element.container.styles.zIndex.order?(p=C+1,!1):p>0}),c.positiveZIndex.splice(p,0,g)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(g)}else n.styles.isFloating()?c.nonPositionedFloats.push(g):c.nonPositionedInlineLevel.push(g);Ln(o,g,a?g:r,l)}else n.styles.isInlineLevel()?A.inlineLevel.push(o):A.nonInlineLevel.push(o),Ln(o,A,r,l);yA(n.flags,8)&&Li(n,l)})},Li=function(e,A){for(var r=e instanceof yn?e.start:1,t=e instanceof yn?e.reversed:!1,n=0;n<A.length;n++){var a=A[n];a.container instanceof fi&&typeof a.container.value=="number"&&a.container.value!==0&&(r=a.container.value),a.listValue=wt(r,a.container.styles.listStyleType,!0),r+=t?-1:1}},Od=function(e){var A=new Si(e,null),r=new Hi(A),t=[];return Ln(A,r,r,t),Li(A.container,t),r},Za=function(e,A){switch(A){case 0:return JA(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return JA(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return JA(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);default:return JA(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Rd=function(e,A){switch(A){case 0:return JA(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return JA(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return JA(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);default:return JA(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},Nd=function(e,A){switch(A){case 0:return JA(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return JA(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return JA(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);default:return JA(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},_d=function(e,A){switch(A){case 0:return Wt(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Wt(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Wt(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);default:return Wt(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},Wt=function(e,A){var r=[];return PA(e)?r.push(e.subdivide(.5,!1)):r.push(e),PA(A)?r.push(A.subdivide(.5,!0)):r.push(A),r},JA=function(e,A,r,t){var n=[];return PA(e)?n.push(e.subdivide(.5,!1)):n.push(e),PA(r)?n.push(r.subdivide(.5,!0)):n.push(r),PA(t)?n.push(t.subdivide(.5,!0).reverse()):n.push(t),PA(A)?n.push(A.subdivide(.5,!1).reverse()):n.push(A),n},ki=function(e){var A=e.bounds,r=e.styles;return A.add(r.borderLeftWidth,r.borderTopWidth,-(r.borderRightWidth+r.borderLeftWidth),-(r.borderTopWidth+r.borderBottomWidth))},wr=function(e){var A=e.styles,r=e.bounds,t=wA(A.paddingLeft,r.width),n=wA(A.paddingRight,r.width),a=wA(A.paddingTop,r.width),s=wA(A.paddingBottom,r.width);return r.add(t+A.borderLeftWidth,a+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+t+n),-(A.borderTopWidth+A.borderBottomWidth+a+s))},Gd=function(e,A){return e===0?A.bounds:e===2?wr(A):ki(A)},jd=function(e,A){return e===0?A.bounds:e===2?wr(A):ki(A)},$r=function(e,A,r){var t=Gd(Ke(e.styles.backgroundOrigin,A),e),n=jd(Ke(e.styles.backgroundClip,A),e),a=Vd(Ke(e.styles.backgroundSize,A),r,t),s=a[0],o=a[1],l=et(Ke(e.styles.backgroundPosition,A),t.width-s,t.height-o),c=Pd(Ke(e.styles.backgroundRepeat,A),l,a,t,n),g=Math.round(t.left+l[0]),B=Math.round(t.top+l[1]);return[c,g,B,s,o]},ke=function(e){return BA(e)&&e.value===Oe.AUTO},Yt=function(e){return typeof e=="number"},Vd=function(e,A,r){var t=A[0],n=A[1],a=A[2],s=e[0],o=e[1];if(!s)return[0,0];if(EA(s)&&o&&EA(o))return[wA(s,r.width),wA(o,r.height)];var l=Yt(a);if(BA(s)&&(s.value===Oe.CONTAIN||s.value===Oe.COVER)){if(Yt(a)){var c=r.width/r.height;return c<a!=(s.value===Oe.COVER)?[r.width,r.width/a]:[r.height*a,r.height]}return[r.width,r.height]}var g=Yt(t),B=Yt(n),u=g||B;if(ke(s)&&(!o||ke(o))){if(g&&B)return[t,n];if(!l&&!u)return[r.width,r.height];if(u&&l){var p=g?t:n*a,Q=B?n:t/a;return[p,Q]}var C=g?t:r.width,I=B?n:r.height;return[C,I]}if(l){var U=0,b=0;return EA(s)?U=wA(s,r.width):EA(o)&&(b=wA(o,r.height)),ke(s)?U=b*a:(!o||ke(o))&&(b=U/a),[U,b]}var L=null,S=null;if(EA(s)?L=wA(s,r.width):o&&EA(o)&&(S=wA(o,r.height)),L!==null&&(!o||ke(o))&&(S=g&&B?L/t*n:r.height),S!==null&&ke(s)&&(L=g&&B?S/n*t:r.width),L!==null&&S!==null)return[L,S];throw new Error("Unable to calculate background-size for element")},Ke=function(e,A){var r=e[A];return typeof r>"u"?e[0]:r},Pd=function(e,A,r,t,n){var a=A[0],s=A[1],o=r[0],l=r[1];switch(e){case 2:return[new V(Math.round(t.left),Math.round(t.top+s)),new V(Math.round(t.left+t.width),Math.round(t.top+s)),new V(Math.round(t.left+t.width),Math.round(l+t.top+s)),new V(Math.round(t.left),Math.round(l+t.top+s))];case 3:return[new V(Math.round(t.left+a),Math.round(t.top)),new V(Math.round(t.left+a+o),Math.round(t.top)),new V(Math.round(t.left+a+o),Math.round(t.height+t.top)),new V(Math.round(t.left+a),Math.round(t.height+t.top))];case 1:return[new V(Math.round(t.left+a),Math.round(t.top+s)),new V(Math.round(t.left+a+o),Math.round(t.top+s)),new V(Math.round(t.left+a+o),Math.round(t.top+s+l)),new V(Math.round(t.left+a),Math.round(t.top+s+l))];default:return[new V(Math.round(n.left),Math.round(n.top)),new V(Math.round(n.left+n.width),Math.round(n.top)),new V(Math.round(n.left+n.width),Math.round(n.height+n.top)),new V(Math.round(n.left),Math.round(n.height+n.top))]}},Xd="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",za="Hidden Text",Jd=(function(){function e(A){this._data={},this._document=A}return e.prototype.parseMetrics=function(A,r){var t=this._document.createElement("div"),n=this._document.createElement("img"),a=this._document.createElement("span"),s=this._document.body;t.style.visibility="hidden",t.style.fontFamily=A,t.style.fontSize=r,t.style.margin="0",t.style.padding="0",t.style.whiteSpace="nowrap",s.appendChild(t),n.src=Xd,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",a.style.fontFamily=A,a.style.fontSize=r,a.style.margin="0",a.style.padding="0",a.appendChild(this._document.createTextNode(za)),t.appendChild(a),t.appendChild(n);var o=n.offsetTop-a.offsetTop+2;t.removeChild(a),t.appendChild(this._document.createTextNode(za)),t.style.lineHeight="normal",n.style.verticalAlign="super";var l=n.offsetTop-t.offsetTop+2;return s.removeChild(t),{baseline:o,middle:l}},e.prototype.getMetrics=function(A,r){var t=A+" "+r;return typeof this._data[t]>"u"&&(this._data[t]=this.parseMetrics(A,r)),this._data[t]},e})(),Mi=(function(){function e(A,r){this.context=A,this.options=r}return e})(),Wd=1e4,Yd=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n._activeEffects=[],n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),t.canvas||(n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px"),n.fontMetrics=new Jd(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+t.width+"x"+t.height+") with scale "+t.scale),n}return A.prototype.applyEffects=function(r){for(var t=this;this._activeEffects.length;)this.popEffect();r.forEach(function(n){return t.applyEffect(n)})},A.prototype.applyEffect=function(r){this.ctx.save(),Td(r)&&(this.ctx.globalAlpha=r.opacity),Kd(r)&&(this.ctx.translate(r.offsetX,r.offsetY),this.ctx.transform(r.matrix[0],r.matrix[1],r.matrix[2],r.matrix[3],r.matrix[4],r.matrix[5]),this.ctx.translate(-r.offsetX,-r.offsetY)),Ii(r)&&(this.path(r.path),this.ctx.clip()),this._activeEffects.push(r)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(r){return OA(this,void 0,void 0,function(){var t;return kA(this,function(n){switch(n.label){case 0:return t=r.element.container.styles,t.isVisible()?[4,this.renderStackContent(r)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(r){return OA(this,void 0,void 0,function(){return kA(this,function(t){switch(t.label){case 0:if(yA(r.container.flags,16))debugger;return r.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(r)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(r)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(r,t,n){var a=this;if(t===0)this.ctx.fillText(r.text,r.bounds.left,r.bounds.top+n);else{var s=Nn(r.text);s.reduce(function(o,l){return a.ctx.fillText(l,o,r.bounds.top+n),o+a.ctx.measureText(l).width},r.bounds.left)}},A.prototype.createFontStyle=function(r){var t=r.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),n=Af(r.fontFamily).join(", "),a=Ut(r.fontSize)?""+r.fontSize.number+r.fontSize.unit:r.fontSize.number+"px";return[[r.fontStyle,t,r.fontWeight,a,n].join(" "),n,a]},A.prototype.renderTextNode=function(r,t){return OA(this,void 0,void 0,function(){var n,a,s,o,l,c,g,B,u=this;return kA(this,function(p){return n=this.createFontStyle(t),a=n[0],s=n[1],o=n[2],this.ctx.font=a,this.ctx.direction=t.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",l=this.fontMetrics.getMetrics(s,o),c=l.baseline,g=l.middle,B=t.paintOrder,r.textBounds.forEach(function(Q){B.forEach(function(C){switch(C){case 0:u.ctx.fillStyle=xA(t.color),u.renderTextWithLetterSpacing(Q,t.letterSpacing,c);var I=t.textShadow;I.length&&Q.text.trim().length&&(I.slice(0).reverse().forEach(function(U){u.ctx.shadowColor=xA(U.color),u.ctx.shadowOffsetX=U.offsetX.number*u.options.scale,u.ctx.shadowOffsetY=U.offsetY.number*u.options.scale,u.ctx.shadowBlur=U.blur.number,u.renderTextWithLetterSpacing(Q,t.letterSpacing,c)}),u.ctx.shadowColor="",u.ctx.shadowOffsetX=0,u.ctx.shadowOffsetY=0,u.ctx.shadowBlur=0),t.textDecorationLine.length&&(u.ctx.fillStyle=xA(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(U){switch(U){case 1:u.ctx.fillRect(Q.bounds.left,Math.round(Q.bounds.top+c),Q.bounds.width,1);break;case 2:u.ctx.fillRect(Q.bounds.left,Math.round(Q.bounds.top),Q.bounds.width,1);break;case 3:u.ctx.fillRect(Q.bounds.left,Math.ceil(Q.bounds.top+g),Q.bounds.width,1);break}}));break;case 1:t.webkitTextStrokeWidth&&Q.text.trim().length&&(u.ctx.strokeStyle=xA(t.webkitTextStrokeColor),u.ctx.lineWidth=t.webkitTextStrokeWidth,u.ctx.lineJoin=window.chrome?"miter":"round",u.ctx.strokeText(Q.text,Q.bounds.left,Q.bounds.top+c)),u.ctx.strokeStyle="",u.ctx.lineWidth=0,u.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(r,t,n){if(n&&r.intrinsicWidth>0&&r.intrinsicHeight>0){var a=wr(r),s=hr(t);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,r.intrinsicWidth,r.intrinsicHeight,a.left,a.top,a.width,a.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(r){return OA(this,void 0,void 0,function(){var t,n,a,s,o,l,b,b,c,g,B,u,S,p,Q,y,C,I,U,b,L,S,y;return kA(this,function(h){switch(h.label){case 0:this.applyEffects(r.getEffects(4)),t=r.container,n=r.curves,a=t.styles,s=0,o=t.textNodes,h.label=1;case 1:return s<o.length?(l=o[s],[4,this.renderTextNode(l,a)]):[3,4];case 2:h.sent(),h.label=3;case 3:return s++,[3,1];case 4:if(!(t instanceof ui))return[3,8];h.label=5;case 5:return h.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return b=h.sent(),this.renderReplacedElement(t,n,b),[3,8];case 7:return h.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof Bi&&this.renderReplacedElement(t,n,t.canvas),!(t instanceof di))return[3,12];h.label=9;case 9:return h.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return b=h.sent(),this.renderReplacedElement(t,n,b),[3,12];case 11:return h.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof pi&&t.tree?(c=new A(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}),[4,c.render(t.tree)]):[3,14];case 13:g=h.sent(),t.width&&t.height&&this.ctx.drawImage(g,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),h.label=14;case 14:if(t instanceof _n&&(B=Math.min(t.bounds.width,t.bounds.height),t.type===gr?t.checked&&(this.ctx.save(),this.path([new V(t.bounds.left+B*.39363,t.bounds.top+B*.79),new V(t.bounds.left+B*.16,t.bounds.top+B*.5549),new V(t.bounds.left+B*.27347,t.bounds.top+B*.44071),new V(t.bounds.left+B*.39694,t.bounds.top+B*.5649),new V(t.bounds.left+B*.72983,t.bounds.top+B*.23),new V(t.bounds.left+B*.84,t.bounds.top+B*.34085),new V(t.bounds.left+B*.39363,t.bounds.top+B*.79)]),this.ctx.fillStyle=xA(Oa),this.ctx.fill(),this.ctx.restore()):t.type===ur&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+B/2,t.bounds.top+B/2,B/4,0,Math.PI*2,!0),this.ctx.fillStyle=xA(Oa),this.ctx.fill(),this.ctx.restore())),Zd(t)&&t.value.length){switch(u=this.createFontStyle(a),S=u[0],p=u[1],Q=this.fontMetrics.getMetrics(S,p).baseline,this.ctx.font=S,this.ctx.fillStyle=xA(a.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=qd(t.styles.textAlign),y=wr(t),C=0,t.styles.textAlign){case 1:C+=y.width/2;break;case 2:C+=y.width;break}I=y.add(C,0,0,-y.height/2+1),this.ctx.save(),this.path([new V(y.left,y.top),new V(y.left+y.width,y.top),new V(y.left+y.width,y.top+y.height),new V(y.left,y.top+y.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new lt(t.value,I),a.letterSpacing,Q),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!yA(t.styles.display,2048))return[3,20];if(t.styles.listStyleImage===null)return[3,19];if(U=t.styles.listStyleImage,U.type!==0)return[3,18];b=void 0,L=U.url,h.label=15;case 15:return h.trys.push([15,17,,18]),[4,this.context.cache.match(L)];case 16:return b=h.sent(),this.ctx.drawImage(b,t.bounds.left-(b.width+10),t.bounds.top),[3,18];case 17:return h.sent(),this.context.logger.error("Error loading list-style-image "+L),[3,18];case 18:return[3,20];case 19:r.listValue&&t.styles.listStyleType!==-1&&(S=this.createFontStyle(a)[0],this.ctx.font=S,this.ctx.fillStyle=xA(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",y=new ie(t.bounds.left,t.bounds.top+wA(t.styles.paddingTop,t.bounds.width),t.bounds.width,ma(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new lt(r.listValue,y),a.letterSpacing,ma(a.lineHeight,a.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),h.label=20;case 20:return[2]}})})},A.prototype.renderStackContent=function(r){return OA(this,void 0,void 0,function(){var t,n,U,a,s,U,o,l,U,c,g,U,B,u,U,p,Q,U,C,I,U;return kA(this,function(b){switch(b.label){case 0:if(yA(r.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(r.element)];case 1:b.sent(),t=0,n=r.negativeZIndex,b.label=2;case 2:return t<n.length?(U=n[t],[4,this.renderStack(U)]):[3,5];case 3:b.sent(),b.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(r.element)];case 6:b.sent(),a=0,s=r.nonInlineLevel,b.label=7;case 7:return a<s.length?(U=s[a],[4,this.renderNode(U)]):[3,10];case 8:b.sent(),b.label=9;case 9:return a++,[3,7];case 10:o=0,l=r.nonPositionedFloats,b.label=11;case 11:return o<l.length?(U=l[o],[4,this.renderStack(U)]):[3,14];case 12:b.sent(),b.label=13;case 13:return o++,[3,11];case 14:c=0,g=r.nonPositionedInlineLevel,b.label=15;case 15:return c<g.length?(U=g[c],[4,this.renderStack(U)]):[3,18];case 16:b.sent(),b.label=17;case 17:return c++,[3,15];case 18:B=0,u=r.inlineLevel,b.label=19;case 19:return B<u.length?(U=u[B],[4,this.renderNode(U)]):[3,22];case 20:b.sent(),b.label=21;case 21:return B++,[3,19];case 22:p=0,Q=r.zeroOrAutoZIndexOrTransformedOrOpacity,b.label=23;case 23:return p<Q.length?(U=Q[p],[4,this.renderStack(U)]):[3,26];case 24:b.sent(),b.label=25;case 25:return p++,[3,23];case 26:C=0,I=r.positiveZIndex,b.label=27;case 27:return C<I.length?(U=I[C],[4,this.renderStack(U)]):[3,30];case 28:b.sent(),b.label=29;case 29:return C++,[3,27];case 30:return[2]}})})},A.prototype.mask=function(r){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(r.slice(0).reverse()),this.ctx.closePath()},A.prototype.path=function(r){this.ctx.beginPath(),this.formatPath(r),this.ctx.closePath()},A.prototype.formatPath=function(r){var t=this;r.forEach(function(n,a){var s=PA(n)?n.start:n;a===0?t.ctx.moveTo(s.x,s.y):t.ctx.lineTo(s.x,s.y),PA(n)&&t.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},A.prototype.renderRepeat=function(r,t,n,a){this.path(r),this.ctx.fillStyle=t,this.ctx.translate(n,a),this.ctx.fill(),this.ctx.translate(-n,-a)},A.prototype.resizeImage=function(r,t,n){var a;if(r.width===t&&r.height===n)return r;var s=(a=this.canvas.ownerDocument)!==null&&a!==void 0?a:document,o=s.createElement("canvas");o.width=Math.max(1,t),o.height=Math.max(1,n);var l=o.getContext("2d");return l.drawImage(r,0,0,r.width,r.height,0,0,t,n),o},A.prototype.renderBackgroundImage=function(r){return OA(this,void 0,void 0,function(){var t,n,a,s,o,l;return kA(this,function(c){switch(c.label){case 0:t=r.styles.backgroundImage.length-1,n=function(g){var B,u,p,R,tA,AA,D,z,K,Q,R,tA,AA,D,z,C,I,U,b,L,S,y,h,x,K,k,R,O,Z,D,z,eA,tA,AA,fA,aA,q,lA,sA,H,j,G;return kA(this,function(F){switch(F.label){case 0:if(g.type!==0)return[3,5];B=void 0,u=g.url,F.label=1;case 1:return F.trys.push([1,3,,4]),[4,a.context.cache.match(u)];case 2:return B=F.sent(),[3,4];case 3:return F.sent(),a.context.logger.error("Error loading background-image "+u),[3,4];case 4:return B&&(p=$r(r,t,[B.width,B.height,B.width/B.height]),R=p[0],tA=p[1],AA=p[2],D=p[3],z=p[4],K=a.ctx.createPattern(a.resizeImage(B,D,z),"repeat"),a.renderRepeat(R,K,tA,AA)),[3,6];case 5:Kg(g)?(Q=$r(r,t,[null,null,null]),R=Q[0],tA=Q[1],AA=Q[2],D=Q[3],z=Q[4],C=Hg(g.angle,D,z),I=C[0],U=C[1],b=C[2],L=C[3],S=C[4],y=document.createElement("canvas"),y.width=D,y.height=z,h=y.getContext("2d"),x=h.createLinearGradient(U,L,b,S),Ca(g.stops,I).forEach(function(N){return x.addColorStop(N.stop,xA(N.color))}),h.fillStyle=x,h.fillRect(0,0,D,z),D>0&&z>0&&(K=a.ctx.createPattern(y,"repeat"),a.renderRepeat(R,K,tA,AA))):Tg(g)&&(k=$r(r,t,[null,null,null]),R=k[0],O=k[1],Z=k[2],D=k[3],z=k[4],eA=g.position.length===0?[Dn]:g.position,tA=wA(eA[0],D),AA=wA(eA[eA.length-1],z),fA=Sg(g,tA,AA,D,z),aA=fA[0],q=fA[1],aA>0&&q>0&&(lA=a.ctx.createRadialGradient(O+tA,Z+AA,0,O+tA,Z+AA,aA),Ca(g.stops,aA*2).forEach(function(N){return lA.addColorStop(N.stop,xA(N.color))}),a.path(R),a.ctx.fillStyle=lA,aA!==q?(sA=r.bounds.left+.5*r.bounds.width,H=r.bounds.top+.5*r.bounds.height,j=q/aA,G=1/j,a.ctx.save(),a.ctx.translate(sA,H),a.ctx.transform(1,0,0,j,0,0),a.ctx.translate(-sA,-H),a.ctx.fillRect(O,G*(Z-H)+H,D,z*G),a.ctx.restore()):a.ctx.fill())),F.label=6;case 6:return t--,[2]}})},a=this,s=0,o=r.styles.backgroundImage.slice(0).reverse(),c.label=1;case 1:return s<o.length?(l=o[s],[5,n(l)]):[3,4];case 2:c.sent(),c.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},A.prototype.renderSolidBorder=function(r,t,n){return OA(this,void 0,void 0,function(){return kA(this,function(a){return this.path(Za(n,t)),this.ctx.fillStyle=xA(r),this.ctx.fill(),[2]})})},A.prototype.renderDoubleBorder=function(r,t,n,a){return OA(this,void 0,void 0,function(){var s,o;return kA(this,function(l){switch(l.label){case 0:return t<3?[4,this.renderSolidBorder(r,n,a)]:[3,2];case 1:return l.sent(),[2];case 2:return s=Rd(a,n),this.path(s),this.ctx.fillStyle=xA(r),this.ctx.fill(),o=Nd(a,n),this.path(o),this.ctx.fill(),[2]}})})},A.prototype.renderNodeBackgroundAndBorders=function(r){return OA(this,void 0,void 0,function(){var t,n,a,s,o,l,c,g,B=this;return kA(this,function(u){switch(u.label){case 0:return this.applyEffects(r.getEffects(2)),t=r.container.styles,n=!we(t.backgroundColor)||t.backgroundImage.length,a=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],s=zd(Ke(t.backgroundClip,0),r.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),we(t.backgroundColor)||(this.ctx.fillStyle=xA(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(r.container)]):[3,2];case 1:u.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach(function(p){B.ctx.save();var Q=fr(r.curves),C=p.inset?0:Wd,I=Dd(Q,-C+(p.inset?1:-1)*p.spread.number,(p.inset?1:-1)*p.spread.number,p.spread.number*(p.inset?-2:2),p.spread.number*(p.inset?-2:2));p.inset?(B.path(Q),B.ctx.clip(),B.mask(I)):(B.mask(Q),B.ctx.clip(),B.path(I)),B.ctx.shadowOffsetX=p.offsetX.number+C,B.ctx.shadowOffsetY=p.offsetY.number,B.ctx.shadowColor=xA(p.color),B.ctx.shadowBlur=p.blur.number,B.ctx.fillStyle=p.inset?xA(p.color):"rgba(0,0,0,1)",B.ctx.fill(),B.ctx.restore()}),u.label=2;case 2:o=0,l=0,c=a,u.label=3;case 3:return l<c.length?(g=c[l],g.style!==0&&!we(g.color)&&g.width>0?g.style!==2?[3,5]:[4,this.renderDashedDottedBorder(g.color,g.width,o,r.curves,2)]:[3,11]):[3,13];case 4:return u.sent(),[3,11];case 5:return g.style!==3?[3,7]:[4,this.renderDashedDottedBorder(g.color,g.width,o,r.curves,3)];case 6:return u.sent(),[3,11];case 7:return g.style!==4?[3,9]:[4,this.renderDoubleBorder(g.color,g.width,o,r.curves)];case 8:return u.sent(),[3,11];case 9:return[4,this.renderSolidBorder(g.color,o,r.curves)];case 10:u.sent(),u.label=11;case 11:o++,u.label=12;case 12:return l++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(r,t,n,a,s){return OA(this,void 0,void 0,function(){var o,l,c,g,B,u,p,Q,C,I,U,b,L,S,y,h,y,h;return kA(this,function(x){return this.ctx.save(),o=_d(a,n),l=Za(a,n),s===2&&(this.path(l),this.ctx.clip()),PA(l[0])?(c=l[0].start.x,g=l[0].start.y):(c=l[0].x,g=l[0].y),PA(l[1])?(B=l[1].end.x,u=l[1].end.y):(B=l[1].x,u=l[1].y),n===0||n===2?p=Math.abs(c-B):p=Math.abs(g-u),this.ctx.beginPath(),s===3?this.formatPath(o):this.formatPath(l.slice(0,2)),Q=t<3?t*3:t*2,C=t<3?t*2:t,s===3&&(Q=t,C=t),I=!0,p<=Q*2?I=!1:p<=Q*2+C?(U=p/(2*Q+C),Q*=U,C*=U):(b=Math.floor((p+C)/(Q+C)),L=(p-b*Q)/(b-1),S=(p-(b+1)*Q)/b,C=S<=0||Math.abs(C-L)<Math.abs(C-S)?L:S),I&&(s===3?this.ctx.setLineDash([0,Q+C]):this.ctx.setLineDash([Q,C])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=t*2+1.1,this.ctx.strokeStyle=xA(r),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(PA(l[0])&&(y=l[3],h=l[0],this.ctx.beginPath(),this.formatPath([new V(y.end.x,y.end.y),new V(h.start.x,h.start.y)]),this.ctx.stroke()),PA(l[1])&&(y=l[1],h=l[2],this.ctx.beginPath(),this.formatPath([new V(y.end.x,y.end.y),new V(h.start.x,h.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},A.prototype.render=function(r){return OA(this,void 0,void 0,function(){var t;return kA(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=xA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=Od(r),[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},A})(Mi),Zd=function(e){return e instanceof wi||e instanceof hi?!0:e instanceof _n&&e.type!==ur&&e.type!==gr},zd=function(e,A){switch(e){case 0:return fr(A);case 2:return Ld(A);default:return hr(A)}},qd=function(e){switch(e){case 1:return"center";case 2:return"right";default:return"left"}},$d=["-apple-system","system-ui"],Af=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(A){return $d.indexOf(A)===-1}):e},ef=(function(e){zA(A,e);function A(r,t){var n=e.call(this,r,t)||this;return n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=t,n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+t.width+"x"+t.height+" at "+t.x+","+t.y+") with scale "+t.scale),n}return A.prototype.render=function(r){return OA(this,void 0,void 0,function(){var t,n;return kA(this,function(a){switch(a.label){case 0:return t=En(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,r),[4,tf(t)];case 1:return n=a.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=xA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},A})(Mi),tf=function(e){return new Promise(function(A,r){var t=new Image;t.onload=function(){A(t)},t.onerror=r,t.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},rf=(function(){function e(A){var r=A.id,t=A.enabled;this.id=r,this.enabled=t,this.start=Date.now()}return e.prototype.debug=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,yt([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,yt([this.id,this.getTime()+"ms"],A))},e.prototype.warn=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,yt([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.prototype.error=function(){for(var A=[],r=0;r<arguments.length;r++)A[r]=arguments[r];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,yt([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.instances={},e})(),nf=(function(){function e(A,r){var t;this.windowBounds=r,this.instanceName="#"+e.instanceCount++,this.logger=new rf({id:this.instanceName,enabled:A.logging}),this.cache=(t=A.cache)!==null&&t!==void 0?t:new Fd(this,A)}return e.instanceCount=1,e})(),af=function(e,A){return A===void 0&&(A={}),sf(e,A)};typeof window<"u"&&xi.setContext(window);var sf=function(e,A){return OA(void 0,void 0,void 0,function(){var r,t,n,a,s,o,l,c,g,B,u,p,Q,C,I,U,b,L,S,y,x,h,x,K,k,R,O,Z,D,z,eA,tA,AA,fA,aA,q,lA,sA,H,j;return kA(this,function(G){switch(G.label){case 0:if(!e||typeof e!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(r=e.ownerDocument,!r)throw new Error("Element is not attached to a Document");if(t=r.defaultView,!t)throw new Error("Document is not attached to a Window");return n={allowTaint:(K=A.allowTaint)!==null&&K!==void 0?K:!1,imageTimeout:(k=A.imageTimeout)!==null&&k!==void 0?k:15e3,proxy:A.proxy,useCORS:(R=A.useCORS)!==null&&R!==void 0?R:!1},a=gn({logging:(O=A.logging)!==null&&O!==void 0?O:!0,cache:A.cache},n),s={windowWidth:(Z=A.windowWidth)!==null&&Z!==void 0?Z:t.innerWidth,windowHeight:(D=A.windowHeight)!==null&&D!==void 0?D:t.innerHeight,scrollX:(z=A.scrollX)!==null&&z!==void 0?z:t.pageXOffset,scrollY:(eA=A.scrollY)!==null&&eA!==void 0?eA:t.pageYOffset},o=new ie(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),l=new nf(a,o),c=(tA=A.foreignObjectRendering)!==null&&tA!==void 0?tA:!1,g={allowTaint:(AA=A.allowTaint)!==null&&AA!==void 0?AA:!1,onclone:A.onclone,ignoreElements:A.ignoreElements,inlineImages:c,copyStyles:c},l.logger.debug("Starting document clone with size "+o.width+"x"+o.height+" scrolled to "+-o.left+","+-o.top),B=new Ja(l,e,g),u=B.clonedReferenceElement,u?[4,B.toIFrame(r,o)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return p=G.sent(),Q=Gn(u)||id(u)?Dl(u.ownerDocument):Qr(l,u),C=Q.width,I=Q.height,U=Q.left,b=Q.top,L=of(l,u,A.backgroundColor),S={canvas:A.canvas,backgroundColor:L,scale:(aA=(fA=A.scale)!==null&&fA!==void 0?fA:t.devicePixelRatio)!==null&&aA!==void 0?aA:1,x:((q=A.x)!==null&&q!==void 0?q:0)+U,y:((lA=A.y)!==null&&lA!==void 0?lA:0)+b,width:(sA=A.width)!==null&&sA!==void 0?sA:Math.ceil(C),height:(H=A.height)!==null&&H!==void 0?H:Math.ceil(I)},c?(l.logger.debug("Document cloned, using foreign object rendering"),x=new ef(l,S),[4,x.render(u)]):[3,3];case 2:return y=G.sent(),[3,5];case 3:return l.logger.debug("Document cloned, element located at "+U+","+b+" with size "+C+"x"+I+" using computed rendering"),l.logger.debug("Starting DOM parsing"),h=Qi(l,u),L===h.styles.backgroundColor&&(h.styles.backgroundColor=se.TRANSPARENT),l.logger.debug("Starting renderer for element at "+S.x+","+S.y+" with size "+S.width+"x"+S.height),x=new Yd(l,S),[4,x.render(h)];case 4:y=G.sent(),G.label=5;case 5:return(!((j=A.removeContainer)!==null&&j!==void 0)||j)&&(Ja.destroy(p)||l.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),l.logger.debug("Finished rendering"),[2,y]}})})},of=function(e,A,r){var t=A.ownerDocument,n=t.documentElement?it(e,getComputedStyle(t.documentElement).backgroundColor):se.TRANSPARENT,a=t.body?it(e,getComputedStyle(t.body).backgroundColor):se.TRANSPARENT,s=typeof r=="string"?it(e,r):r===null?se.TRANSPARENT:4294967295;return A===t.documentElement?we(n)?we(a)?s:a:n:s},An={body:{background:"rgb(32, 32, 32)"},rbgcpInputLabel:{color:"rgb(212, 212, 212)"},rbgcpControlBtnWrapper:{background:"rgb(54, 54, 54)"},rbgcpInput:{border:"none",color:"white",background:"rgb(54, 54, 54)"},rbgcpControlBtn:{color:"rgb(212, 212, 212)"},rbgcpControlIcon:{stroke:"rgb(212, 212, 212)"},rbgcpControlIcon2:{fill:"rgb(212, 212, 212)"},rbgcpControlInput:{color:"white"},rbgcpControlBtnSelected:{background:"black",color:"#568cf5"},rbgcpDegreeIcon:{color:"rgb(212, 212, 212)"},rbgcpColorModelDropdown:{background:"rgb(32, 32, 32)"},rbgcpComparibleLabel:{color:"rgb(212, 212, 212)"}},IA=function(){return IA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},IA.apply(this,arguments)},lf={body:{boxSizing:"border-box",background:"rgb(255, 255, 255)"},rbgcpControlBtn:{paddingLeft:"8px",paddingRight:"8px",lineHeight:"1",borderRadius:"4px",fontWeight:700,fontSize:"12px",height:"24px",transition:"all 160ms ease",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(255, 255, 255, 0)",boxShadow:"1px 1px 3px rgba(0, 0, 0, 0)",color:"rgb(86, 86, 86)"},rbgcpControlIcon:{stroke:"rgb(50, 49, 54)"},rbgcpControlIconBtn:{width:"30px",height:"24px",borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},rbgcpControlBtnWrapper:{height:"28px",background:"#e9e9f5",borderRadius:"6px",padding:"2px",display:"flex",justifyContent:"center",alignItems:"center",position:"relative"},rbgcpColorModelDropdown:{position:"absolute",right:"-2px",top:"34px",padding:"5px",background:"#e9e9f5",zIndex:1e8,borderRadius:"6px",boxShadow:"1px 1px 14px 1px rgba(0, 0, 0, 0.25)"},rbgcpEyedropperCover:{position:"fixed",left:"0px",top:"0px",zIndex:1e8,width:"100vw",height:"100vh",cursor:"copy"},rbgcpControlInput:{height:"24px",borderRadius:"4px",border:"none",outline:"none",textAlign:"center",width:"34px",fontWeight:500,color:"rgb(50, 49, 54)",fontSize:"13px",background:"transparent"},rbgcpInputLabel:{textAlign:"center",lineHeight:"1.2",fontWeight:700,color:"rgb(86, 86, 86)",fontSize:"11px"},rbgcpInput:{height:"32px",borderRadius:"6px",border:"1px solid #bebebe",width:"100%",padding:"2px",outline:"none",color:"black",fontWeight:400,textAlign:"center",background:"transparent",fontSize:"15px"},rbgcpHandle:{position:"absolute",border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0, 0, 0, 0.5)",width:"18px",height:"18px",zIndex:1e3,transition:"all 30ms linear",boxSizing:"border-box",willChange:"transform",outline:"none"},rbgcpCanvasWrapper:{borderRadius:"6px",overflow:"hidden",height:"294px"},rbgcpCheckered:{background:`linear-gradient(- 45deg,- rgba(0, 0, 0, 0.18) 25%,- transparent 25%,- transparent 75%,- rgba(0, 0, 0, 0.18) 75%,- rgba(0, 0, 0, 0.18) 0- ),- linear-gradient(- 45deg,- rgba(0, 0, 0, 0.18) 25%,- transparent 25%,- transparent 75%,- rgba(0, 0, 0, 0.18) 75%,- rgba(0, 0, 0, 0.18) 0- ),- white`,backgroundRepeat:"repeat, repeat",backgroundPosition:"0px 0, 7px 7px",transformOrigin:"0 0 0",backgroundOrigin:"padding-box, padding-box",backgroundClip:"border-box, border-box",backgroundSize:"14px 14px, 14px 14px",boxShadow:"none",textShadow:"none",transition:"none",transform:"scaleX(1) scaleY(1) scaleZ(1)",borderRadius:"10px"},rbgcpOpacityOverlay:{position:"absolute",left:"0px",top:"0px",width:"100%",height:"100%",borderRadius:"10px"},rbgcpGradientHandleWrap:{position:"absolute",zIndex:1e4,top:"-2px",outline:"none"},rbgcpGradientHandle:{border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0, 0, 0, 0.5)",width:"18px",height:"18px",display:"flex",alignItems:"center",justifyContent:"center"},rbgcpControlIcon2:{fill:"#323136"},rbgcpControlBtnSelected:{background:"white",color:"#568cf5",boxShadow:"1px 1px 3px rgba(0, 0, 0, 0.2)"},rbgcpComparibleLabel:{color:"#323136"}},cf=function(e,A){var r=IA({},lf);if(e)for(var t in An)Object.prototype.hasOwnProperty.call(An,t)&&(r[t]=IA(IA({},Object.prototype.hasOwnProperty.call(r,t)?r[t]:{}),An[t]));for(var t in A)Object.prototype.hasOwnProperty.call(A,t)&&(r[t]=IA(IA({},Object.prototype.hasOwnProperty.call(r,t)?r[t]:{}),A[t]));return r},qa=function(e,A){return e?IA(IA({},A.rbgcpControlBtn),A.rbgcpControlBtnSelected):IA({},A.rbgcpControlBtn)},gt=function(e,A){return e?IA(IA({},A.rbgcpControlIconBtn),A.rbgcpControlBtnSelected):IA({},A.rbgcpControlIconBtn)},Zt=function(e,A){return e?IA(IA(IA({},A.rbgcpControlBtn),A.rbgcpColorModelDropdownBtn),A.rbgcpControlBtnSelected):IA(IA({},A.rbgcpControlBtn),A.rbgcpColorModelDropdownBtn)},$A=function(){return $A=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},$A.apply(this,arguments)},gf=function(e){var A=e.color,r=dA().defaultStyles,t=A??"";return m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:16}},m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:$A($A({fill:"none",strokeWidth:"1.4px"},r.rbgcpControlIcon),t&&{stroke:t}),d:"M15.6,7h0L7.78,14.86c-.37.37-1.61.38-2,.75s-.5,1.53-.76,2a3.53,3.53,0,0,1-.52.52,1.6,1.6,0,0,1-2.27-.06l-.32-.32a1.61,1.61,0,0,1-.06-2.27A3.25,3.25,0,0,1,2.4,15c.47-.26,1.65-.35,2-.73s.34-1.64.71-2c1.68-1.73,5.61-5.65,7.91-7.93h0l1.14,1.38L15.6,7Z"}),m.createElement("polygon",{strokeLinecap:"round",strokeLinejoin:"round",style:$A($A({strokeWidth:"1.4px"},r.rbgcpControlIcon2),t&&{stroke:t,fill:t}),points:"15.7 8.87 11.13 4.29 12.69 2.73 17.25 7.31 15.7 8.87"}),m.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",style:$A($A({strokeWidth:"1.4px"},r.rbgcpControlIcon2),t&&{stroke:t,fill:t}),d:"M18.18,3.71,16.36,5.53a1.33,1.33,0,0,1-1.88,0h0a1.34,1.34,0,0,1,0-1.89l1.81-1.82a1.34,1.34,0,0,1,1.89,0h0A1.34,1.34,0,0,1,18.18,3.71Z"}))},uf=function(e){var A=e.onSelect,r=dA().defaultStyles,t=E.useState(null),n=t[0],a=t[1],s=E.useState(!1),o=s[0],l=s[1],c=E.useState(!1),g=c[0],B=c[1],u=function(){var C=document.getElementById("root");l(!0),af(C).then(function(I){var U=document.createElement("canvas"),b=U.getContext("2d",{willReadFrequently:!0});C&&b&&(U.width=C.offsetWidth*2,U.height=C.offsetHeight*2,b.drawImage(I,0,0)),a(b)})},p=function(C){if(C.stopPropagation(),n){var I=C.pageX,U=C.pageY,b=I*2,L=U*2,S=n.getImageData(b,L,1,1).data;A("rgba(".concat(S[0],", ").concat(S[1],", ").concat(S[2],", 1)"))}B(!1),l(!1)},Q=function(){if(B(!0),!window.EyeDropper)u();else{var C=new window.EyeDropper,I=new window.AbortController;C.open({signal:I.signal}).then(function(U){var b=SA(U.sRGBHex),L=b.toRgb(),S=L.r,y=L.g,h=L.b;A("rgba(".concat(S,", ").concat(y,", ").concat(h,", 1)")),B(!1)}).catch(function(U){console.log(U),B(!1)})}};return m.createElement("div",null,m.createElement("div",{onClick:Q,id:"rbgcp-eyedropper-btn",style:$A($A({},r.rbgcpEyedropperBtn),gt(o,r))},m.createElement(gf,{color:g?"rgb(86, 140, 245)":""})),o&&m.createElement(Tl,null,m.createElement("div",{onClick:function(C){return p(C)},style:r.rbgcpEyedropperCover})))},kn=function(){return kn=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},kn.apply(this,arguments)},en=function(e){var A=e.value,r=e.reffy,t=e.label,n=e.config,a=e.callback,s=e.squareWidth,o=e.openAdvanced,l=e.defaultStyles,c=e.pickerIdSuffix,g=n.barSize,B=E.useState(!1),u=B[0],p=B[1],Q=E.useState(2),C=Q[0],I=Q[1],U=A*(s-18);E.useEffect(function(){var h;I(((h=r?.current)===null||h===void 0?void 0:h.offsetTop)-2)},[o,r]);var b=function(){p(!1)},L=function(h){u&&a(Ne(h,g))},S=function(h){u||a(Ne(h,g))},y=function(){p(!0)};return E.useEffect(function(){var h=function(){b()};return window.addEventListener("mouseup",h),function(){window.removeEventListener("mouseup",h)}},[]),m.createElement("div",{style:{width:"100%",padding:"3px 0px 3px 0px"}},m.createElement("div",{onMouseMove:function(h){return L(h)},style:{cursor:"resize",position:"relative"},id:"rbgcp-advanced-bar-".concat(t,"-wrapper").concat(c)},m.createElement("div",{style:kn({left:U,top:C},l.rbgcpHandle),id:"rbgcp-advanced-bar-".concat(t,"-handle").concat(c),onMouseDown:y,role:"button",tabIndex:0}),m.createElement("div",{style:{textAlign:"center",color:"#fff",fontSize:12,fontWeight:500,lineHeight:1,position:"absolute",left:"50%",transform:"translate(-50%, 0%)",top:C+2,zIndex:10,textShadow:"1px 1px 1px rgba(0,0,0,.6)"},id:"rbgcp-advanced-bar-".concat(t,"-label").concat(c),onMouseMove:function(h){return L(h)},onClick:function(h){return S(h)},tabIndex:0,role:"button",onKeyDown:function(){}},t),m.createElement("canvas",{ref:r,height:"14px",width:"".concat(s,"px"),onClick:function(h){return S(h)},style:{position:"relative",borderRadius:14},id:"rbgcp-advanced-bar-".concat(t,"-canvas").concat(c)})))},Bf=function(e){var A=e.openAdvanced,r=dA(),t=r.config,n=r.tinyColor,a=r.handleChange,s=r.squareWidth,o=r.hc,l=r.defaultStyles,c=r.pickerIdSuffix,g=n.toHsl(),B=g.s,u=g.l,p=E.useRef(null),Q=E.useRef(null),C=E.useRef(null);al(p,o?.h,u*100,s),sl(Q,o?.h,B*100,s),il(C,o?.h,B*100,s);var I=function(L){var S=SA({h:o?.h,s:L/100,l:u}).toRgb(),y=S.r,h=S.g,x=S.b;a("rgba(".concat(y,",").concat(h,",").concat(x,",").concat(o?.a,")"))},U=function(L){var S=SA({h:o?.h,s:B,l:L/100}).toRgb(),y=S.r,h=S.g,x=S.b;a("rgba(".concat(y,",").concat(h,",").concat(x,",").concat(o?.a,")"))},b=function(L){var S=SA({h:o?.h,s:o?.s*100,v:L}).toRgb(),y=S.r,h=S.g,x=S.b;a("rgba(".concat(y,",").concat(h,",").concat(x,",").concat(o?.a,")"))};return m.createElement("div",{style:{width:"100%",height:A?98:0,transition:"all 120ms linear"},id:"rbgcp-advanced-controls-wrapper".concat(c)},m.createElement("div",{style:{paddingTop:11,display:A?"flex":"none",flexDirection:"column",justifyContent:"space-between",height:A?98:0,overflow:"hidden",transition:"height 100ms linear"},id:"rbgcp-advanced-controls-inner".concat(c)},m.createElement(en,{value:B,reffy:p,config:t,label:"Saturation",callback:I,squareWidth:s,openAdvanced:A,defaultStyles:l,pickerIdSuffix:c}),m.createElement(en,{value:u,config:t,reffy:Q,label:"Lightness",callback:U,squareWidth:s,openAdvanced:A,defaultStyles:l,pickerIdSuffix:c}),m.createElement(en,{value:o?.v,config:t,reffy:C,label:"Brightness",callback:b,squareWidth:s,openAdvanced:A,defaultStyles:l,pickerIdSuffix:c})))},Fe=function(){return Fe=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Fe.apply(this,arguments)},df=function(e){var A=e.openComparibles,r=dA(),t=r.tinyColor,n=r.handleChange,a=r.defaultStyles,s=r.pickerIdSuffix,o=t.analogous(),l=t.monochromatic(),c=t.triad(),g=t.tetrad(),B=function(u){var p=u.toRgb(),Q=p.r,C=p.g,I=p.b,U=p.a;n("rgba(".concat(Q,",").concat(C,",").concat(I,",").concat(U,")"))};return m.createElement("div",{style:{width:"100%",transition:"all 120ms linear",height:A?216:0},id:"rbgcp-comparible-colors-wrapper".concat(s)},m.createElement("div",{style:{paddingTop:11,display:A?"":"none",position:"relative"},id:"rbgcp-comparible-colors-inner".concat(s)},m.createElement("div",{style:Fe({textAlign:"center",fontSize:13,fontWeight:600,position:"absolute",top:6.5,left:2},a.rbgcpComparibleLabel),id:"rbgcp-comparible-color-guide-label".concat(s)},"Color Guide"),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-analogous-colors-label".concat(s)},"Analogous"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex"},id:"rbgcp-comparible-analogous-colors".concat(s)},o?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-analogous-color-".concat(p).concat(s),style:{width:"20%",height:30,background:u.toHexString()},onClick:function(){return B(u)}})})),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-monochromatic-colors-label".concat(s)},"Monochromatic"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex",justifyContent:"flex-end"},id:"rbgcp-comparible-monochromatic-colors".concat(s)},l?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-monochromatic-color-".concat(p).concat(s),style:{width:"20%",height:30,background:u.toHexString()},onClick:function(){return B(u)}})})),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-triad-colors-label".concat(s)},"Triad"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex",justifyContent:"flex-end"},id:"rbgcp-comparible-triad-colors".concat(s)},c?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-triad-color-".concat(p).concat(s),style:{width:"calc(100% / 3)",height:28,background:u.toHexString()},onClick:function(){return B(u)}})})),m.createElement("div",{style:Fe({textAlign:"center",fontSize:12,fontWeight:500,marginTop:3},a.rbgcpComparibleLabel),id:"rbgcp-comparible-tetrad-colors-label".concat(s)},"Tetrad"),m.createElement("div",{style:{borderRadius:5,overflow:"hidden",display:"flex",justifyContent:"flex-end"},id:"rbgcp-comparible-tetrad-colors".concat(s)},g?.map(function(u,p){return m.createElement("div",{key:p,id:"rbgcp-comparible-tetrad-color-".concat(p).concat(s),style:{width:"25%",height:28,background:u.toHexString()},onClick:function(){return B(u)}})}))))},pA=function(){return pA=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},pA.apply(this,arguments)},ff=function(){var e=dA(),A=e.gradientType,r=e.onChange,t=e.value,n=e.defaultStyles,a=e.pickerIdSuffix,s=A==="linear-gradient",o=A==="radial-gradient",l=function(){var g=t.split(/,(.+)/)[1];r("linear-gradient(90deg, ".concat(g))},c=function(){var g=t.split(/,(.+)/)[1];r("radial-gradient(circle, ".concat(g))};return m.createElement("div",{style:n.rbgcpControlBtnWrapper},m.createElement("div",{onClick:l,id:"rbgcp-linear-btn".concat(a),style:pA(pA({},n.rbgcpControlBtn),s&&n.rbgcpControlBtnSelected),tabIndex:0,role:"button",onKeyDown:function(){}},m.createElement(xl,{color:s?"#568CF5":""})),m.createElement("div",{onClick:c,id:"rbgcp-radial-btn".concat(a),style:pA(pA({},n.rbgcpControlBtn),o&&n.rbgcpControlBtnSelected),tabIndex:0,role:"button",onKeyDown:function(){}},m.createElement(Il,{color:o?"#568CF5":""})))},hf=function(){var e=dA(),A=e.currentLeft,r=e.currentColor,t=e.defaultStyles,n=e.handleGradient,a=e.pickerIdSuffix,s=function(o){n(r,Re(parseInt(o),0,100))};return m.createElement("div",{style:pA(pA(pA(pA({},t.rbgcpControlBtnWrapper),t.rbgcpControlInputWrap),t.rbgcpStopInputWrap),{paddingLeft:8}),id:"rbgcp-stop-input-wrapper".concat(a)},m.createElement(Ml,null),m.createElement("input",{value:A,id:"rbgcp-stop-input".concat(a),onChange:function(o){return s(o.target.value)},style:pA(pA({},t.rbgcpControlInput),t.rbgcpStopInput)}))},wf=function(){var e=dA(),A=e.degrees,r=e.onChange,t=e.value,n=e.defaultStyles,a=e.pickerIdSuffix,s=function(o){var l=Re(o.target.value,0,360),c=t.split(/,(.+)/)[1];r("linear-gradient(".concat(l??0,"deg, ").concat(c))};return m.createElement("div",{style:pA(pA(pA({},n.rbgcpControlBtnWrapper),n.rbgcpControlInputWrap),n.rbgcpDegreeInputWrap),id:"rbgcp-degree-input-wrapper".concat(a)},m.createElement(kl,null),m.createElement("input",{value:A,onChange:function(o){return s(o)},id:"rbgcp-degree-input".concat(a),style:pA(pA({},n.rbgcpControlInput),n.rbgcpDegreeInput)}),m.createElement("div",{style:pA(pA({},n.rbgcpDegreeIcon),{position:"absolute",right:A>99?0:A<10?7:3,top:1,fontWeight:400,fontSize:13})},"°"))},pf=function(){var e=dA(),A=e.colors,r=e.selectedColor,t=e.createGradientStr,n=e.defaultStyles,a=e.pickerIdSuffix,s=function(){if(A?.length>2){var o=A?.map(function(c,g){return pA(pA({},c),{value:g===r-1?Cr(c):mt(c)})}),l=o?.filter(function(c,g){return g!==r});t(l)}};return m.createElement("div",{onClick:s,style:pA(pA({},gt(!1,n)),{width:28}),id:"rbgcp-point-delete-btn".concat(a),tabIndex:0,role:"button",onKeyDown:function(){}},m.createElement(yl,null))},$a=function(e){var A=e.hideGradientType,r=e.hideGradientAngle,t=e.hideGradientStop,n=dA(),a=n.gradientType,s=n.defaultStyles,o=n.pickerIdSuffix;return m.createElement("div",{style:pA(pA({},s.rbgcpControlBtnWrapper),{marginTop:12,marginBottom:-4,justifyContent:"space-between",paddingLeft:A?4:0}),id:"rbgcp-gradient-controls-wrap".concat(o)},!A&&m.createElement(ff,null),m.createElement("div",{style:{width:53}},!r&&a==="linear-gradient"&&m.createElement(wf,null)),!t&&m.createElement(hf,null),m.createElement(pf,null))},pt=function(){return pt=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},pt.apply(this,arguments)},Cf=function(e){var A,r,t=e.hideColorTypeBtns,n=e.setGradient,a=e.isGradient,s=e.setSolid,o=e.locales,l=dA(),c=l.defaultStyles,g=l.pickerIdSuffix;return t?m.createElement("div",{style:{width:1}}):m.createElement("div",{style:pt({display:"flex",alignItems:"center"},c.rbgcpControlBtnWrapper),id:"rbgcp-color-type-btns".concat(g)},m.createElement("div",{onClick:s,id:"rbgcp-solid-btn".concat(g),style:qa(!a,c)},(A=o?.CONTROLS)===null||A===void 0?void 0:A.SOLID),m.createElement("div",{onClick:n,id:"rbgcp-gradient-btn".concat(g),style:qa(a??!1,c)},(r=o?.CONTROLS)===null||r===void 0?void 0:r.GRADIENT))},Qf=function(e){var A=e.openInputType,r=e.setOpenInputType,t=dA(),n=t.inputType,a=t.setInputType,s=t.defaultStyles,o=t.pickerIdSuffix,l=A?"visibility 0ms linear":"visibility 100ms linear 150ms",c=A?"z-index 0ms linear":"z-index 100ms linear 150ms",g=A?"opacity 120ms linear":"opacity 150ms linear 50ms",B=function(u,p){A&&(u.stopPropagation(),a(p),r(!1))};return m.createElement("div",{style:pt({visibility:A?"visible":"hidden",zIndex:A?"":-100,opacity:A?1:0,transition:"".concat(g,", ").concat(l,", ").concat(c)},s.rbgcpColorModelDropdown),id:"rbgcp-color-model-dropdown".concat(o)},m.createElement("div",{id:"rbgcp-color-model-rgb-btn".concat(o),onClick:function(u){return B(u,"rgb")},style:Zt(n==="rgb",s)},"RGB"),m.createElement("div",{id:"rbgcp-color-model-hsl-btn".concat(o),onClick:function(u){return B(u,"hsl")},style:Zt(n==="hsl",s)},"HSL"),m.createElement("div",{id:"rbgcp-color-model-hsv-btn".concat(o),onClick:function(u){return B(u,"hsv")},style:Zt(n==="hsv",s)},"HSV"),m.createElement("div",{id:"rbgcp-color-model-cmyk-btn".concat(o),onClick:function(u){return B(u,"cmyk")},style:Zt(n==="cmyk",s)},"CMYK"))},mf=function(e){var A,r,t=e.locales,n=e.hideEyeDrop,a=n===void 0?!1:n,s=e.hideAdvancedSliders,o=s===void 0?!1:s,l=e.hideColorGuide,c=l===void 0?!1:l,g=e.hideInputType,B=g===void 0?!1:g,u=e.hideColorTypeBtns,p=u===void 0?!1:u,Q=e.hideGradientControls,C=Q===void 0?!1:Q,I=e.hideGradientType,U=I===void 0?!1:I,b=e.hideGradientAngle,L=b===void 0?!1:b,S=e.hideGradientStop,y=S===void 0?!1:S,h=dA(),x=h.config,K=h.onChange,k=h.isGradient,R=h.handleChange,O=h.previous,Z=h.defaultStyles,D=h.pickerIdSuffix,z=x.defaultColor,eA=x.defaultGradient,tA=E.useState(!1),AA=tA[0],fA=tA[1],aA=E.useState(!1),q=aA[0],lA=aA[1],sA=E.useState(!1),H=sA[0],j=sA[1],G=a&&o&&c&&B,F=(A=O?.color)!==null&&A!==void 0?A:z,N=(r=O?.gradient)!==null&&r!==void 0?r:eA,M=function(){K(F)},_=function(){K(N)},J=a&&o&&c&&B,$=J&&p;return $?k&&!C?m.createElement($a,{hideGradientType:U,hideGradientAngle:L,hideGradientStop:y}):null:m.createElement("div",{style:{paddingBottom:4}},m.createElement("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},id:"rbgcp-controls-wrapper".concat(D)},m.createElement(Cf,{hideColorTypeBtns:p,setGradient:_,isGradient:k,setSolid:M,locales:t}),!J&&m.createElement("div",{style:pt({display:G?"none":""},Z.rbgcpControlBtnWrapper),id:"rbgcp-control-rightside-wrapper".concat(D)},!a&&m.createElement(uf,{onSelect:R}),!o&&m.createElement("div",{id:"rbgcp-advanced-btn".concat(D),onClick:function(){return j(!H)},style:gt(H,Z)},m.createElement(Hl,{color:H?"#568CF5":""})),!c&&m.createElement("div",{style:gt(AA,Z),onClick:function(){return fA(!AA)},id:"rbgcp-comparibles-btn".concat(D)},m.createElement(Ll,{color:AA?"#568CF5":""})),!B&&m.createElement("div",{id:"rbgcp-color-model-btn".concat(D),onClick:function(){return lA(!q)},style:gt(q,Z)},m.createElement(Sl,{color:q?"#568CF5":""}),m.createElement(Qf,{openInputType:q,setOpenInputType:lA})))),!o&&m.createElement(Bf,{openAdvanced:H}),!c&&m.createElement(df,{openComparibles:AA}),k&&!C&&m.createElement($a,{hideGradientType:U,hideGradientAngle:L,hideGradientStop:y}))},Ae=function(){return Ae=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},Ae.apply(this,arguments)},As=function(e,A,r){if(r||arguments.length===2)for(var t=0,n=A.length,a;t<n;t++)(a||!(t in A))&&(a||(a=Array.prototype.slice.call(A,0,t)),a[t]=A[t]);return e.concat(a||Array.prototype.slice.call(A))},vf=function(e){var A=e.left,r=e.i,t=e.setDragging,n=dA(),a=n.colors,s=n.squareWidth,o=n.selectedColor,l=n.defaultStyles,c=n.pickerIdSuffix,g=n.createGradientStr,B=o===r,u=(s-18)/100,p=function(C){var I=a?.map(function(U,b){return Ae(Ae({},U),{value:b===C?Cr(U):mt(U)})});g(I)},Q=function(C){C.stopPropagation(),p(r),t(!0)};return m.createElement("div",{onMouseDown:function(C){return Q(C)},id:"rbgcp-gradient-handle-".concat(r).concat(c),style:Ae(Ae({},l.rbgcpGradientHandleWrap),{left:(A??0)*u})},m.createElement("div",{style:Ae(Ae({},l.rbgcpGradientHandle),B?{boxShadow:"0px 0px 5px 1px rgba(86, 140, 245,.95)",border:"2px solid white"}:{}),id:"rbgcp-gradient-handle-".concat(r,"-dot").concat(c)},B&&m.createElement("div",{style:{width:5,height:5,borderRadius:"50%",background:"white"},id:"rbgcp-gradient-handle-".concat(r,"-selected-dot").concat(c)})))},Uf=function(){var e=dA(),A=e.value,r=e.colors,t=e.config,n=e.squareWidth,a=e.currentColor,s=e.handleGradient,o=e.pickerIdSuffix,l=e.createGradientStr,c=t.barSize,g=E.useState(!1),B=g[0],u=g[1];function p(L){return L.replace(/(radial|linear)-gradient\([^,]+,/,"linear-gradient(90deg,")}var Q=function(L){var S,y=Ne(L,c),h=(S=As(As([],r.map(function(x){return Ae(Ae({},x),{value:mt(x)})}),!0),[{value:a,left:y}],!1))===null||S===void 0?void 0:S.sort(function(x,K){return x.left-K.left});l(h)},C=function(){u(!1)},I=function(L){B||(Q(L),u(!0))},U=function(L){B&&s(a,Ne(L,c))},b=function(){C()};return E.useEffect(function(){return window.addEventListener("mouseup",b),function(){window.removeEventListener("mouseup",b)}}),m.createElement("div",{style:{width:"100%",marginTop:17,marginBottom:4,position:"relative"},id:"rbgcp-gradient-bar".concat(o)},m.createElement("div",{style:{height:14,borderRadius:10,width:n,backgroundImage:p(A)},onMouseDown:function(L){return I(L)},onMouseMove:function(L){return U(L)},id:"rbgcp-gradient-bar-canvas".concat(o)}),r?.map(function(L,S){return m.createElement(vf,{i:S,left:L.left,key:"".concat(S,"-").concat(L),setDragging:u})}))},Ff=function(e){var A=e.locales,r=e.presets,t=e.hideHue,n=e.hideInputs,a=e.hidePresets,s=e.hideOpacity,o=e.hideEyeDrop,l=e.hideControls,c=e.hideInputType,g=e.hideColorGuide,B=e.hidePickerSquare,u=e.hideGradientType,p=e.hideGradientStop,Q=e.hideGradientAngle,C=e.hideColorTypeBtns,I=e.hideAdvancedSliders,U=e.hideGradientControls,b=dA(),L=b.isGradient,S=b.pickerIdSuffix;return m.createElement("div",{style:{userSelect:"none"},id:"rbgcp-color-picker".concat(S)},!B&&m.createElement(vl,null),!l&&m.createElement(mf,{locales:A,hideEyeDrop:o,hideInputType:c,hideColorGuide:g,hideGradientType:u,hideGradientStop:p,hideColorTypeBtns:C,hideGradientAngle:Q,hideAdvancedSliders:I,hideGradientControls:U}),L&&m.createElement(Uf,null),!t&&m.createElement(ol,null),!s&&m.createElement(Ul,null),!n&&m.createElement(wl,null),!a&&m.createElement(El,{presets:r}))},pr=function(){return pr=Object.assign||function(e){for(var A,r=1,t=arguments.length;r<t;r++){A=arguments[r];for(var n in A)Object.prototype.hasOwnProperty.call(A,n)&&(e[n]=A[n])}return e},pr.apply(this,arguments)};function bf(e){var A=e.idSuffix,r=e.value,t=r===void 0?"rgba(175, 51, 242, 1)":r,n=e.onChange,a=e.hideControls,s=a===void 0?!1:a,o=e.hideInputs,l=o===void 0?!1:o,c=e.hideOpacity,g=c===void 0?!1:c,B=e.hidePresets,u=B===void 0?!1:B,p=e.hideHue,Q=p===void 0?!1:p,C=e.presets,I=C===void 0?[]:C,U=e.hideEyeDrop,b=U===void 0?!1:U,L=e.hideAdvancedSliders,S=L===void 0?!1:L,y=e.hideColorGuide,h=y===void 0?!1:y,x=e.hideInputType,K=x===void 0?!1:x,k=e.hideColorTypeBtns,R=k===void 0?!1:k,O=e.hideGradientType,Z=O===void 0?!1:O,D=e.hideGradientAngle,z=D===void 0?!1:D,eA=e.hideGradientStop,tA=eA===void 0?!1:eA,AA=e.hideGradientControls,fA=AA===void 0?!1:AA,aA=e.locales,q=aA===void 0?Fl:aA,lA=e.width,sA=lA===void 0?294:lA,H=e.height,j=H===void 0?294:H,G=e.style,F=G===void 0?{}:G,N=e.className,M=e.disableDarkMode,_=M===void 0?!1:M,J=e.disableLightMode,$=J===void 0?!1:J,uA=e.hidePickerSquare,f=uA===void 0?!1:uA,v=e.showHexAlpha,w=v===void 0?!1:v,T=e.config,W=T===void 0?{}:T,P=qo(t),oA=typeof window>"u"||_?!1:!!(window.matchMedia("(prefers-color-scheme: dark)").matches||$),hA=cf(oA,F),vA=oA?"-dark".concat(A?"-".concat(A):""):A?"-".concat(A):"";return m.createElement("div",{className:N,style:pr(pr({},hA.body),{width:sA})},m.createElement(rl,{value:P,onChange:n,squareWidth:sA,passedConfig:W,squareHeight:j,isDarkMode:oA,hideOpacity:g,showHexAlpha:w,defaultStyles:hA,pickerIdSuffix:vA},m.createElement(Ff,{hideControls:s,hideInputs:l,hidePresets:u,hideOpacity:g,hideHue:Q,presets:I,hideEyeDrop:b,hideAdvancedSliders:S,hideColorGuide:h,hideInputType:K,hideColorTypeBtns:R,hideGradientType:Z,hideGradientAngle:z,hideGradientStop:tA,hideGradientControls:fA,hidePickerSquare:f,locales:q})))}const tn="rgb(0, 0, 0)",Ef=()=>{const[e,A]=E.useState(localStorage.getItem("customBackgroundColour")||tn),r=n=>{A(n),localStorage.setItem("customBackgroundColour",n),UA.emit("refresh","background")},t=()=>{A(tn),localStorage.setItem("customBackgroundColour",tn),GA(d.getMessage("toasts.reset")),UA.emit("refresh","background")};return i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.source.custom_colour")}),i.jsxs(cA,{children:[i.jsx(bf,{value:e,onChange:r,hideEyeDrop:!0,hideColorGuide:!0,hidePresets:!0,hideAdvancedSliders:!1,hideColorTypeBtns:!1,hideInputType:!1,height:147}),i.jsx("div",{className:"colourReset",children:i.jsxs("span",{className:"link",onClick:()=>t(),children:[i.jsx(fe,{}),d.getMessage("modals.main.settings.buttons.reset")]})})]})]})};var yf=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],Ze=(e,A)=>{var r="";for(let t=1;t<=A;t++){let n=Math.floor(e)/Math.pow(83,A-t)%83;r+=yf[Math.floor(n)]}return r},rn=e=>{let A=e/255;return A<=.04045?A/12.92:Math.pow((A+.055)/1.055,2.4)},nn=e=>{let A=Math.max(0,Math.min(1,e));return A<=.0031308?Math.trunc(A*12.92*255+.5):Math.trunc((1.055*Math.pow(A,.4166666666666667)-.055)*255+.5)},xf=e=>e<0?-1:1,an=(e,A)=>xf(e)*Math.pow(Math.abs(e),A),es=class extends Error{constructor(e){super(e),this.name="ValidationError",this.message=e}},ts=4,If=(e,A,r,t)=>{let n=0,a=0,s=0,o=A*ts;for(let c=0;c<A;c++){let g=ts*c;for(let B=0;B<r;B++){let u=g+B*o,p=t(c,B);n+=p*rn(e[u]),a+=p*rn(e[u+1]),s+=p*rn(e[u+2])}}let l=1/(A*r);return[n*l,a*l,s*l]},Hf=e=>{let A=nn(e[0]),r=nn(e[1]),t=nn(e[2]);return(A<<16)+(r<<8)+t},Sf=(e,A)=>{let r=Math.floor(Math.max(0,Math.min(18,Math.floor(an(e[0]/A,.5)*9+9.5)))),t=Math.floor(Math.max(0,Math.min(18,Math.floor(an(e[1]/A,.5)*9+9.5)))),n=Math.floor(Math.max(0,Math.min(18,Math.floor(an(e[2]/A,.5)*9+9.5))));return r*19*19+t*19+n},Lf=(e,A,r,t,n)=>{if(t<1||t>9||n<1||n>9)throw new es("BlurHash must have between 1 and 9 components");if(A*r*4!==e.length)throw new es("Width and height must match the pixels array");let a=[];for(let B=0;B<n;B++)for(let u=0;u<t;u++){let p=u==0&&B==0?1:2,Q=If(e,A,r,(C,I)=>p*Math.cos(Math.PI*u*C/A)*Math.cos(Math.PI*B*I/r));a.push(Q)}let s=a[0],o=a.slice(1),l="",c=t-1+(n-1)*9;l+=Ze(c,1);let g;if(o.length>0){let B=Math.max(...o.map(p=>Math.max(...p))),u=Math.floor(Math.max(0,Math.min(82,Math.floor(B*166-.5))));g=(u+1)/166,l+=Ze(u,1)}else g=1,l+=Ze(0,1);return l+=Ze(Hf(s),4),o.forEach(B=>{l+=Ze(Sf(B,g),2)}),l},kf=Lf;async function rs(e){return new Promise((A,r)=>{const t=new Image;t.onload=()=>{A({width:t.width,height:t.height}),typeof e!="string"&&URL.revokeObjectURL(t.src)},t.onerror=()=>r(new Error("Failed to load image")),typeof e=="string"?t.src=e:t.src=URL.createObjectURL(e)})}async function ns(e,A=4,r=3){return new Promise((t,n)=>{const a=new Image;a.onload=()=>{try{const s=document.createElement("canvas"),o=s.getContext("2d"),l=64,c=Math.min(l/a.width,l/a.height);s.width=Math.floor(a.width*c),s.height=Math.floor(a.height*c),o.drawImage(a,0,0,s.width,s.height);const g=o.getImageData(0,0,s.width,s.height),B=kf(g.data,g.width,g.height,A,r);typeof e!="string"&&URL.revokeObjectURL(a.src),t(B)}catch(s){n(s)}},a.onerror=()=>n(new Error("Failed to load image for blur hash")),typeof e=="string"?a.src=e:a.src=URL.createObjectURL(e)})}function sn(e){const A=e.split(",")[1];if(!A)return 0;const r=(A.match(/=/g)||[]).length;return Math.floor(A.length*3/4-r)}function as(e,A){return e&&e.name?e.name:`Image ${A+1}`}function Mf(){const e={};return Object.keys(localStorage).forEach(A=>{e[A]=localStorage.getItem(A)}),new TextEncoder().encode(JSON.stringify(e)).length}function Qe(e){if(e===0)return"0 Bytes";if(!e)return"Unknown";const A=1024,r=["Bytes","KB","MB","GB"],t=Math.floor(Math.log(e)/Math.log(A));return Math.round(e/Math.pow(A,t)*10)/10+" "+r[t]}const Kf=({files:e,onConfirm:A,onCancel:r})=>{const[t,n]=E.useState(""),a=()=>{A(t.trim())};return i.jsxs("div",{className:"smallModal",children:[i.jsxs("div",{className:"shareHeader",children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.tag_images")}),i.jsx("button",{className:"closeModal",onClick:r,children:i.jsx(cs,{})})]}),i.jsxs("div",{className:"taggingModalContent",children:[i.jsx("p",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.tag_description",{count:e.length})}),i.jsxs("div",{className:"taggingInput",children:[i.jsx("label",{children:d.getMessage("modals.main.settings.sections.background.source.folder_name")}),i.jsx("input",{type:"text",placeholder:d.getMessage("modals.main.settings.sections.background.source.folder_placeholder"),value:t,onChange:s=>n(s.target.value),onKeyPress:s=>{s.key==="Enter"&&a()},autoFocus:!0})]})]}),i.jsxs("div",{className:"resetFooter",children:[i.jsx(mA,{type:"settings",onClick:r,label:d.getMessage("modals.main.settings.buttons.cancel")}),i.jsx(mA,{type:"settings",onClick:a,label:d.getMessage("modals.main.settings.buttons.continue")})]})]})},Ki=E.memo(()=>{const[e,A]=E.useState([]),[r,t]=E.useState(!1),[n,a]=E.useState([]),[s,o]=E.useState(!0),[l,c]=E.useState(!1),[g,B]=E.useState({current:0,total:0}),[u,p]=E.useState(!1),[Q,C]=E.useState(new Set),[I,U]=E.useState(localStorage.getItem("customImageSort")||"date_desc"),[b,L]=E.useState(!1),[S,y]=E.useState({usage:0,quota:0}),h=E.useRef(null),x=E.useRef(0),K=5e7;E.useEffect(()=>{(async()=>{if(navigator.storage&&navigator.storage.estimate)try{const N=await navigator.storage.estimate();y({usage:N.usage||0,quota:N.quota||K})}catch(N){console.warn("Could not get storage estimate:",N),y({usage:0,quota:K})}else y({usage:0,quota:K})})()},[e]),E.useEffect(()=>{(async()=>{try{await no();const N=await Ve();A(N),N.forEach(async M=>{if(!M.dimensions&&M.url&&!bt(M.url))try{const _=await rs(M.url),J=await ns(M.url);await ao(M.id,{dimensions:_,blurHash:J});const $=await Ve();A($)}catch(_){console.warn("Could not extract metadata for existing image:",_)}})}catch(N){console.error("Error loading backgrounds:",N),GA(d.getMessage("toasts.error"))}finally{o(!1)}})()},[]);const k=E.useCallback(async(F,N,M,_=!1)=>{try{const J={url:N,name:M.name,uploadDate:Date.now(),dimensions:M.dimensions,fileSize:M.fileSize,folder:M.folder||"",blurHash:M.blurHash};await Xn(J);const $=await Ve();A($);try{localStorage.setItem("customBackground",JSON.stringify($.map(uA=>uA.url)))}catch{console.warn("localStorage quota exceeded, storing count only"),localStorage.setItem("customBackgroundCount",$.length.toString())}_||UA.emit("refresh","background")}catch(J){console.error("Error saving background:",J),GA(d.getMessage("toasts.error"))}},[]),R=async(F,N="")=>{const M=e.reduce((J,$)=>$.url&&$.url.startsWith("data:")?J+sn($.url):J,0),_=S.quota||K;if(M/_>.9&&navigator.storage&&navigator.storage.persist)try{await navigator.storage.persist()&&console.log("Storage persistence granted")}catch(J){console.warn("Could not request storage persistence:",J)}if(bt(F.type)){if(M+F.size>_)throw new Error("no_storage");const J=new FileReader;return new Promise(($,uA)=>{J.onloadend=()=>{$({dataUrl:J.result,metadata:{name:as(F,e.length),dimensions:null,fileSize:F.size,folder:N,blurHash:null}})},J.onerror=uA,J.readAsDataURL(F)})}else{const J=await Yn.compressAccurately(F,{size:450,accuracy:.9}),$=S.quota||K;if(M+J.size>$)throw new Error("no_storage");const uA=await Yn.filetoDataURL(J),[f,v]=await Promise.all([rs(uA),ns(uA).catch(()=>null)]);return{dataUrl:uA,metadata:{name:as(F,e.length),dimensions:f,fileSize:sn(uA),folder:N,blurHash:v}}}},O=async(F,N="")=>{c(!0),B({current:0,total:F.length});const M=[];for(let _=0;_<F.length;_++)try{const J=await R(F[_],N);await k(F[_],J.dataUrl,J.metadata,!0),B({current:_+1,total:F.length})}catch(J){if(J.message==="no_storage"){GA(d.getMessage("toasts.no_storage"));break}M.push(F[_].name)}M.length>0&&GA(d.getMessage("toasts.error")+`: ${M.join(", ")}`),UA.emit("refresh","background"),c(!1),B({current:0,total:0})},Z=async F=>{t(!1),await O(n,F),a([])},D=E.useCallback(async(F,N)=>{try{F==="add"?await Xn(""):await $i(N);const M=await Ve();A(M);try{localStorage.setItem("customBackground",JSON.stringify(M.map(_=>_.url)))}catch{console.warn("localStorage quota exceeded, storing count only"),localStorage.setItem("customBackgroundCount",M.length.toString())}UA.emit("refresh","background")}catch(M){console.error("Error modifying background:",M),GA(d.getMessage("toasts.error"))}},[]),z=async()=>{if(Q.size!==0)try{const F=Array.from(Q).sort((M,_)=>_-M);await so(F);const N=await Ve();A(N),C(new Set);try{localStorage.setItem("customBackground",JSON.stringify(N.map(M=>M.url)))}catch{localStorage.setItem("customBackgroundCount",N.length.toString())}UA.emit("refresh","background"),GA(d.getMessage("toasts.deleted"))}catch(F){console.error("Error batch deleting:",F),GA(d.getMessage("toasts.error"))}},eA=F=>{const N=new Set(Q);N.has(F)?N.delete(F):N.add(F),C(N)},tA=F=>{U(F),localStorage.setItem("customImageSort",F)},AA=E.useCallback(()=>{document.getElementById("bg-input").click()},[]),fA=async F=>{F.length>1?(a(F),t(!0)):await O(F,"")},aA=[...e].sort((F,N)=>{switch(I){case"date_asc":return F.uploadDate-N.uploadDate;case"date_desc":return N.uploadDate-F.uploadDate;case"name_asc":return(F.name||"").localeCompare(N.name||"");case"name_desc":return(N.name||"").localeCompare(F.name||"");case"size_asc":return(F.fileSize||0)-(N.fileSize||0);case"size_desc":return(N.fileSize||0)-(F.fileSize||0);default:return 0}}),q=e.reduce((F,N)=>N.url&&N.url.startsWith("data:")?F+sn(N.url):F,0),lA=S.quota||K,sA=q/lA*100,H=Mf(),j=5242880;E.useEffect(()=>{const F=h.current;if(!F)return;const N=$=>{$.preventDefault(),$.stopPropagation()},M=$=>{$.preventDefault(),$.stopPropagation(),x.current++,$.dataTransfer.items&&$.dataTransfer.items.length>0&&p(!0)},_=$=>{$.preventDefault(),$.stopPropagation(),x.current--,x.current===0&&p(!1)},J=async $=>{$.preventDefault(),$.stopPropagation(),p(!1),x.current=0;const uA=Array.from($.dataTransfer.files);uA.length!==0&&(uA.length>1?(a(uA),t(!0)):await O(uA,""))};return F.ondragover=N,F.ondragenter=M,F.ondragleave=_,F.ondrop=J,()=>{F&&(F.ondragover=null,F.ondragenter=null,F.ondragleave=null,F.ondrop=null)}},[e.length,O]);const G=aA.filter(F=>F&&bt(F.url)).length>0;return s?i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"loaderHolder",children:[i.jsx("div",{id:"loader"}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.loading")})]})}):l?i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"loaderHolder",children:[i.jsx("div",{id:"loader"}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.uploading",{current:g.current,total:g.total})}),i.jsxs("span",{className:"subtitle",children:[Math.round(g.current/g.total*100),"%"]})]})}):i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:`dropzone ${u?"dragging":""}`,ref:h,style:u?{outline:"2px dashed #ff5c25",outlineOffset:"-2px",backgroundColor:"rgba(255, 92, 37, 0.1)",transition:"all 0.2s ease"}:{},children:[i.jsxs("div",{className:"imagesTopBar",children:[i.jsxs("div",{className:"imagesTopBarTitle",children:[i.jsx(Jn,{}),i.jsxs("div",{children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.custom_title")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.custom_description")})]})]}),i.jsx("div",{className:"topbarbuttons",children:i.jsx(mA,{type:"settings",onClick:AA,icon:i.jsx(Ao,{}),label:d.getMessage("modals.main.settings.sections.background.source.upload")})})]}),i.jsxs("div",{className:"imagesControlBar",children:[i.jsxs("div",{className:"controlBarLeft",children:[i.jsxs("span",{className:"image-count",children:[e.length," ",e.length===1?"image":"images",i.jsxs("span",{className:"storage-info",children:[" ","· ",Qe(q)," / ",Qe(lA),sA>80&&navigator.storage&&navigator.storage.persist&&i.jsx(Wn,{title:"Request persistent storage to prevent browser from automatically clearing your images",children:i.jsx("button",{className:"request-storage-link",onClick:async()=>{try{await navigator.storage.persist()?GA("Persistent storage granted - your images are protected from eviction"):GA("Persistent storage denied - images may be cleared if storage is low")}catch(F){console.error("Storage request error:",F),GA("Could not request persistent storage")}},children:"Protect images"})})]})]}),i.jsx("span",{className:"selection-separator",children:"·"}),Q.size>0?i.jsxs(i.Fragment,{children:[i.jsxs("span",{className:"selected-count",children:[Q.size," selected"]}),i.jsx("button",{className:"delete-link",onClick:z,children:"Delete"}),Q.size<e.length&&i.jsx("button",{className:"select-all-link",onClick:()=>{const F=new Set(e.map((N,M)=>M));C(F)},children:"Select all"}),Q.size===e.length&&i.jsx("button",{className:"select-all-link",onClick:()=>C(new Set),children:"Deselect all"})]}):e.length>0&&i.jsx("button",{className:"select-all-link",onClick:()=>{const F=new Set(e.map((N,M)=>M));C(F)},children:"Select all"})]}),i.jsx("div",{className:"controlBarRight",children:i.jsx(KA,{name:"customImageSort",category:"customImageSort",onChange:tA,items:[{value:"date_desc",text:d.getMessage("modals.main.settings.sections.background.source.sort.date_newest")},{value:"date_asc",text:d.getMessage("modals.main.settings.sections.background.source.sort.date_oldest")},{value:"name_asc",text:d.getMessage("modals.main.settings.sections.background.source.sort.name_asc")},{value:"name_desc",text:d.getMessage("modals.main.settings.sections.background.source.sort.name_desc")},{value:"size_asc",text:d.getMessage("modals.main.settings.sections.background.source.sort.size_small")},{value:"size_desc",text:d.getMessage("modals.main.settings.sections.background.source.sort.size_large")}]})})]}),i.jsx("div",{className:"dropzone-content",children:aA.length>0?i.jsx("div",{className:`images-grid ${Q.size>0?"selection-mode":""}`,children:aA.map(F=>{const N=e.findIndex(_=>_===F),M=F&&bt(F.url);return i.jsxs("div",{className:"image-card",onClick:_=>{_.target.closest(".delete-button")||eA(N)},children:[i.jsx("div",{className:"image-checkbox",children:i.jsx("input",{type:"checkbox",checked:Q.has(N),onChange:()=>eA(N)})}),i.jsxs("div",{className:"image-preview",children:[F.blurHash&&!M&&(()=>{const _=eo(F.blurHash,32,32);return _?i.jsx("div",{className:"blur-placeholder",style:{backgroundImage:`url(${_})`,filter:"blur(20px)",position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:0}}):null})(),M?i.jsx("div",{className:"video-icon-wrapper",children:i.jsx(to,{className:"customvideoicon"})}):i.jsx("img",{alt:F.name||"Custom background",src:F.url,loading:"lazy",style:{position:"relative",zIndex:1}})]}),i.jsxs("div",{className:"image-metadata",children:[i.jsx("span",{className:"image-name",title:F.name,children:F.name||"Unnamed"}),i.jsxs("div",{className:"image-details",children:[F.dimensions&&i.jsxs("span",{className:"detail",children:[F.dimensions.width," × ",F.dimensions.height]}),F.fileSize&&i.jsx("span",{className:"detail",children:Qe(F.fileSize)}),F.folder&&i.jsx("span",{className:"detail folder-tag",children:F.folder})]})]}),i.jsx(Wn,{title:d.getMessage("modals.main.settings.sections.background.source.remove"),children:i.jsx("button",{className:"delete-button",onClick:_=>{_.stopPropagation(),D("remove",N)},children:i.jsx(ut,{})})})]},N)})}):i.jsx("div",{className:"photosEmpty",children:i.jsxs("div",{className:"emptyNewMessage",children:[i.jsx(Jn,{}),i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.drop_to_upload")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.formats",{list:"jpeg, png, webp, webm, gif, mp4, webm, ogg"})}),i.jsx(mA,{type:"settings",onClick:AA,icon:i.jsx(ro,{}),label:d.getMessage("modals.main.settings.sections.background.source.select")})]})})})]}),i.jsx(xs,{id:"bg-input",accept:"image/jpeg, image/png, image/webp, image/webm, image/gif, video/mp4, video/webm, video/ogg",multiple:!0,loadFunction:async F=>{await fA(F)}}),G&&i.jsxs(i.Fragment,{children:[i.jsx(QA,{name:"backgroundVideoLoop",category:"backgroundvideo",text:d.getMessage("modals.main.settings.sections.background.source.loop_video")}),i.jsx(QA,{name:"backgroundVideoMute",category:"backgroundvideo",text:d.getMessage("modals.main.settings.sections.background.source.mute_video")})]}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>{t(!1),a([])},isOpen:r,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(Kf,{files:n,onConfirm:Z,onCancel:()=>{t(!1),a([])}})}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>L(!1),isOpen:b,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsxs("div",{className:"smallModal",children:[i.jsxs("div",{className:"shareHeader",children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.background.source.storage_info")}),i.jsx("button",{className:"closeModal",onClick:()=>L(!1),children:i.jsx(ut,{})})]}),i.jsxs("div",{style:{padding:"20px"},children:[i.jsx("p",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.background.source.storage_description")}),i.jsxs("div",{style:{marginTop:"20px"},children:[i.jsx("p",{className:"subtitle",style:{fontWeight:"600",marginBottom:"8px"},children:"Custom Backgrounds"}),i.jsxs("p",{className:"subtitle",children:[Qe(q)," / ",Qe(lA)," (",Math.round(sA),"%)"]})]}),i.jsxs("div",{style:{marginTop:"15px"},children:[i.jsx("p",{className:"subtitle",style:{fontWeight:"600",marginBottom:"8px"},children:"Total localStorage Usage"}),i.jsxs("p",{className:"subtitle",children:[Qe(H)," / ",Qe(j)," (",Math.round(H/j*100),"%)"]}),i.jsx("p",{className:"subtitle",style:{marginTop:"8px",fontSize:"12px",opacity:.7},children:"Includes all Mue settings and custom images"})]})]}),i.jsx("div",{className:"resetFooter",children:i.jsx(mA,{type:"settings",onClick:()=>L(!1),label:d.getMessage("modals.main.settings.buttons.close")})})]})})]})});Ki.displayName="CustomSettings";const Tf=({usingImage:e})=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.display"),subtitle:d.getMessage("modals.main.settings.sections.background.display_subtitle")}),i.jsxs(cA,{children:[i.jsx(QA,{name:"bgtransition",text:d.getMessage("modals.main.settings.sections.background.transition"),element:".other",disabled:!e}),i.jsx(QA,{name:"photoInformation",text:d.getMessage("modals.main.settings.sections.background.photo_information"),element:".other"}),i.jsx(QA,{name:"photoMap",text:d.getMessage("modals.main.settings.sections.background.show_map"),element:".other",disabled:!e})]})]});d.getMessage("modals.main.settings.sections.background.source.quality.original"),d.getMessage("modals.main.settings.sections.background.source.quality.high"),d.getMessage("modals.main.settings.sections.background.source.quality.normal"),d.getMessage("modals.main.settings.sections.background.source.quality.datasaver");const Df=[{value:"none",text:d.getMessage("modals.main.settings.sections.appearance.navbar.refresh_options.none")},{value:"grayscale",text:d.getMessage("modals.main.settings.sections.background.effects.filters.grayscale")},{value:"sepia",text:d.getMessage("modals.main.settings.sections.background.effects.filters.sepia")},{value:"invert",text:d.getMessage("modals.main.settings.sections.background.effects.filters.invert")},{value:"saturate",text:d.getMessage("modals.main.settings.sections.background.effects.filters.saturate")},{value:"contrast",text:d.getMessage("modals.main.settings.sections.background.effects.filters.contrast")}];function Ti(){return[{value:"api",text:d.getMessage("wb.settings_bundled_photos")},{value:"custom",text:d.getMessage("modals.main.settings.sections.background.type.custom_image")},{value:"colour",text:d.getMessage("modals.main.settings.sections.background.type.custom_colour")},{value:"random_colour",text:d.getMessage("modals.main.settings.sections.background.type.random_colour")},{value:"random_gradient",text:d.getMessage("modals.main.settings.sections.background.type.random_gradient")}]}const Of=({backgroundFilter:e,onFilterChange:A})=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.effects.title"),subtitle:d.getMessage("modals.main.settings.sections.background.effects.subtitle")}),i.jsxs(cA,{children:[i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.background.effects.blur"),name:"blur",min:"0",max:"100",default:"0",display:"%",marks:at.background,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo"}),i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.background.effects.brightness"),name:"brightness",min:"0",max:"100",default:"100",display:"%",marks:at.background,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo"}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.background.effects.filters.title"),name:"backgroundFilter",onChange:A,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo",items:Df}),e!=="none"&&i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.background.effects.filters.amount"),name:"backgroundFilterAmount",min:"0",max:"100",default:"0",display:"%",marks:at.background,category:"backgroundeffect",element:"#backgroundImage, #backgroundVideo"})]})]}),Rf=({backgroundType:e,onTypeChange:A})=>i.jsxs(rA,{final:e==="random_colour"||e==="random_gradient",children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.background.source.title"),subtitle:d.getMessage("modals.main.settings.sections.background.source.subtitle")}),i.jsx(cA,{children:i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.background.type.title"),name:"backgroundType",onChange:A,category:"background",items:Ti()})})]}),ss=({icon:e,title:A,subtitle:r,onClick:t,action:n})=>i.jsxs("div",{className:"moreSettings",onClick:t,children:[i.jsxs("div",{className:"left",children:[i.jsx(e,{}),i.jsxs("div",{className:"content",children:[i.jsx("span",{className:"title",children:A}),i.jsx("span",{className:"subtitle",children:r})]})]}),i.jsx("div",{className:"action",children:n||i.jsx(ls,{})})]}),Di=E.memo(({currentSubSection:e,onSubSectionChange:A,sectionName:r})=>{const[t,n]=E.useState(localStorage.getItem("backgroundType")||"api"),[a,s]=E.useState(localStorage.getItem("backgroundFilter")||"none"),o=["colour","random_colour","random_gradient"].includes(t);E.useEffect(()=>{o&&e!=="source"&&A("source",r)},[o,e,A,r]);const l=()=>{switch(t){case"custom":return i.jsx(Ki,{});case"colour":return i.jsx(Ef,{});default:return null}},c=t!=="colour"&&t!=="random_colour"&&t!=="random_gradient",g=t==="api"||t==="custom",B=()=>e==="effects"?i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.background.title"),secondaryTitle:d.getMessage("modals.main.settings.sections.background.effects.title"),goBack:()=>A(null,r)}):e==="source"?i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.background.title"),secondaryTitle:d.getMessage("modals.main.settings.sections.background.source.title"),goBack:()=>A(null,r)}):i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.background.title"),setting:"background",category:"background",visibilityToggle:!0});return i.jsxs(i.Fragment,{children:[B(),!e&&i.jsxs(i.Fragment,{children:[i.jsx(ss,{icon:io,title:d.getMessage("modals.main.settings.sections.background.source.title"),subtitle:d.getMessage("modals.main.settings.sections.background.source.subtitle"),onClick:()=>A("source",r),action:i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.background.type.title"),name:"backgroundType",onChange:u=>{n(u),u==="custom"&&UA.emit("refresh","background")},category:"background",items:Ti()})}),g&&i.jsx(ss,{icon:oo,title:d.getMessage("modals.main.settings.sections.background.effects.title"),subtitle:d.getMessage("modals.main.settings.sections.background.effects.subtitle"),onClick:()=>A("effects",r)})]}),!e&&g&&i.jsx(Tf,{usingImage:c}),e==="source"&&i.jsxs(i.Fragment,{children:[i.jsx(Rf,{backgroundType:t,onTypeChange:n}),l()]}),g&&e==="effects"&&i.jsx(Of,{backgroundFilter:a,onFilterChange:u=>s(u)})]})});Di.displayName="BackgroundOptions";function Nf(){const e=[{value:"ask",text:d.getMessage("wb.ask")},{value:"act",text:d.getMessage("wb.act")},...lo()?[{value:"search",text:d.getMessage("wb.search")}]:[]];return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage("wb.settings_taskbox"),setting:"taskBox",category:"widgets",visibilityToggle:!0}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("wb.settings_default_mode"),subtitle:d.getMessage("wb.settings_taskbox_sub")}),i.jsx(cA,{children:i.jsx(KA,{name:"taskBoxMode",category:"widgets",items:e})})]}),i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("wb.settings_recent")}),i.jsx(cA,{children:i.jsx(ds,{name:"recentChats",category:"widgets"})})]})]})}const _f=["Africa/Abidjan","Africa/Accra","Africa/Algiers","Africa/Bissau","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/El_Aaiun","Africa/Johannesburg","Africa/Juba","Africa/Khartoum","Africa/Lagos","Africa/Maputo","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Chicago","America/Chihuahua","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fort_Nelson","America/Fortaleza","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/La_Paz","America/Lima","America/Los_Angeles","America/Maceio","America/Managua","America/Manaus","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Johns","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Helsinki","Europe/Istanbul","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/Saratov","Europe/Simferopol","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zaporozhye","Europe/Zurich","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis"];function Gf({currentSubSection:e,onSubSectionChange:A,sectionName:r}){const[t,n]=E.useState(!1),a="modals.main.settings.sections.advanced",s=()=>localStorage.getItem("welcomePreview")!=="true"?i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.data"),subtitle:d.getMessage("modals.main.settings.sections.advanced.data_description")}),i.jsxs("div",{className:"resetDataButtonsLayout",children:[i.jsx(mA,{onClick:()=>n(!0),icon:i.jsx(uo,{}),label:d.getMessage("modals.main.settings.buttons.reset")}),i.jsx(mA,{onClick:()=>Qo(),icon:i.jsx(Bo,{}),label:d.getMessage("modals.main.settings.buttons.export")}),i.jsx(mA,{onClick:()=>document.getElementById("file-input").click(),icon:i.jsx(fo,{}),label:d.getMessage("modals.main.settings.buttons.import")})]}),i.jsx(xs,{id:"file-input",accept:"application/json",type:"settings",loadFunction:c=>mo(c)})]}):i.jsx("div",{className:"emptyItems",children:i.jsx("div",{className:"emptyMessage",children:i.jsxs("div",{className:"loaderHolder",children:[i.jsx(ho,{}),i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.advanced.preview_data_disabled.title")}),i.jsx("span",{className:"subtitle",children:d.getMessage("modals.main.settings.sections.advanced.preview_data_disabled.description")})]})})}),o=e==="data";let l;return o?l=i.jsx(TA,{title:d.getMessage(`${a}.title`),secondaryTitle:d.getMessage(`${a}.data`),goBack:()=>A(null,r),report:!1}):l=i.jsx(TA,{title:d.getMessage(`${a}.title`),report:!1}),i.jsxs(i.Fragment,{children:[l,o?i.jsxs(i.Fragment,{children:[i.jsx(s,{}),i.jsx(Bt,{closeTimeoutMS:100,onRequestClose:()=>n(!1),isOpen:t,className:"Modal resetmodal mainModal",overlayClassName:"Overlay resetoverlay",ariaHideApp:!1,children:i.jsx(co,{modalClose:()=>n(!1)})})]}):i.jsxs(i.Fragment,{children:[i.jsx(Kn,{title:d.getMessage(`${a}.data`),subtitle:d.getMessage(`${a}.data_subtitle`),onClick:()=>A("data",r),icon:i.jsx(go,{})}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.timezone.title"),subtitle:d.getMessage("modals.main.settings.sections.advanced.timezone.subtitle")}),i.jsx(cA,{children:i.jsx(KA,{name:"timezone",category:"timezone",items:[{value:"auto",text:d.getMessage("modals.main.settings.sections.advanced.timezone.automatic")},..._f.map(c=>({value:c,text:c}))]})})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.tab_name"),subtitle:d.getMessage("modals.main.settings.sections.advanced.tab_name_subtitle")}),i.jsx(cA,{children:i.jsx(tr,{name:"tabName",default:d.getMessage("tabname"),category:"other"})})]}),i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.advanced.custom_css"),subtitle:d.getMessage("modals.main.settings.sections.advanced.custom_css_subtitle")}),i.jsx(cA,{children:i.jsx(tr,{name:"customcss",textarea:!0,category:"other",customcss:!0})})]})]})]})}function jf({currentSubSection:e,onSubSectionChange:A,sectionName:r}){const t=()=>i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.theme.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.theme.description")}),i.jsx(cA,{children:i.jsx(ln,{name:"theme",options:[{name:d.getMessage("modals.main.settings.sections.appearance.theme.auto"),value:"auto"},{name:d.getMessage("modals.main.settings.sections.appearance.theme.light"),value:"light"},{name:d.getMessage("modals.main.settings.sections.appearance.theme.dark"),value:"dark"}],category:"other"})})]}),n=()=>{const c="modals.main.settings.sections.appearance.font.weight";return i.jsxs(rA,{children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.font.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.font.description")}),i.jsxs(cA,{children:[i.jsx(tr,{title:d.getMessage("modals.main.settings.sections.appearance.font.custom"),name:"font",upperCaseFirst:!0,category:"other"}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.appearance.font.weight.title"),name:"fontweight",category:"other",items:[{value:"100",text:d.getMessage(c+".thin")},{value:"200",text:d.getMessage(c+".extra_light")},{value:"300",text:d.getMessage(c+".light")},{value:"400",text:d.getMessage(c+".normal")},{value:"500",text:d.getMessage(c+".medium")},{value:"600",text:d.getMessage(c+".semi_bold")},{value:"700",text:d.getMessage(c+".bold")},{value:"800",text:d.getMessage(c+".extra_bold")}]}),i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.appearance.font.style.title"),name:"fontstyle",category:"other",items:[{value:"normal",text:d.getMessage("modals.main.settings.sections.appearance.font.style.normal")},{value:"italic",text:d.getMessage("modals.main.settings.sections.appearance.font.style.italic")},{value:"oblique",text:d.getMessage("modals.main.settings.sections.appearance.font.style.oblique")}]})]})]})},a=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.style.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.style.description")}),i.jsx(cA,{children:i.jsx(ln,{name:"widgetStyle",element:".other",options:[{name:d.getMessage("modals.main.settings.sections.appearance.style.legacy"),value:"legacy"},{name:d.getMessage("modals.main.settings.sections.appearance.style.new"),value:"new"}],category:"widgets"})})]}),s=()=>i.jsxs(rA,{final:!0,children:[i.jsx(nA,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.accessibility.description")}),i.jsxs(cA,{children:[i.jsx(KA,{label:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.title"),name:"textBorder",category:"other",items:[{value:"new",text:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.new")},{value:"true",text:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.old")},{value:"none",text:d.getMessage("modals.main.settings.sections.appearance.accessibility.text_shadow.none")}]}),i.jsx(QA,{text:d.getMessage("modals.main.settings.sections.appearance.accessibility.animations"),name:"animations",category:"other"}),i.jsx(nt,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.toast_duration"),name:"toastDisplayTime",default:"2500",step:"100",min:"500",max:"5000",marks:at.toast,display:" "+d.getMessage("modals.main.settings.sections.appearance.accessibility.milliseconds")})]})]}),o=e==="accessibility";let l;return o?l=i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.appearance.title"),secondaryTitle:d.getMessage("modals.main.settings.sections.appearance.accessibility.title"),goBack:()=>A(null,r),report:!1}):l=i.jsx(TA,{title:d.getMessage("modals.main.settings.sections.appearance.title"),report:!1}),i.jsxs(i.Fragment,{children:[l,o?i.jsx(s,{}):i.jsxs(i.Fragment,{children:[i.jsx(Kn,{title:d.getMessage("modals.main.settings.sections.appearance.accessibility.title"),subtitle:d.getMessage("modals.main.settings.sections.appearance.accessibility.description"),icon:i.jsx(wo,{}),onClick:()=>A("accessibility",r)}),i.jsx(t,{}),i.jsx(n,{}),i.jsx(a,{})]})]})}const Vf=E.memo(jf),Pf=`BSD 3-Clause License--Copyright (c) 2019-2026 The Mue Authors-Copyright (c) 2018-2019 David Ralph--All rights reserved.--Redistribution and use in source and binary forms, with or without-modification, are permitted provided that the following conditions are met:--1. Redistributions of source code must retain the above copyright notice, this- list of conditions and the following disclaimer.--2. Redistributions in binary form must reproduce the above copyright notice,- this list of conditions and the following disclaimer in the documentation- and/or other materials provided with the distribution.--3. Neither the name of the copyright holder nor the names of its- contributors may be used to endorse or promote products derived from- this software without specific prior written permission.--THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-`;function Xf(){const e=Object.keys(po),{MUE_REPO_URL:A,MUE_VERSION:r,REPO_URL:t,WEBSITE_URL:n}=d.constants;return i.jsxs(i.Fragment,{children:[i.jsx(TA,{title:d.getMessage("wb.settings_credits")}),i.jsx(rA,{children:i.jsx(nA,{title:"WebBrain",subtitle:"The WebBrain new tab is free software, licensed GPL-3.0-or-later, and makes no network requests of its own."})}),i.jsx(rA,{children:i.jsx(nA,{title:`Based on Mue ${r}`,subtitle:i.jsxs(i.Fragment,{children:["Derived from ",i.jsx("a",{href:A,target:"_blank",rel:"noreferrer",children:"Mue"})," by The Mue Authors and David Ralph, used under the BSD-3-Clause license reproduced below. Mue is not affiliated with or endorsing WebBrain."]})})}),i.jsx(rA,{children:i.jsx(nA,{title:d.getMessage("wb.settings_bundled_photos"),subtitle:`${e.join(", ")}. Offline images shipped with Mue (Unsplash, Pexels and Pixabay).`})}),i.jsx(rA,{children:i.jsx(nA,{title:"Fonts and icons",subtitle:"Inter, Lexend Deca and Montserrat (SIL Open Font License); Material Design icons via react-icons."})}),i.jsx(rA,{final:!0,children:i.jsx(nA,{title:"Mue license",subtitle:i.jsx("pre",{style:{whiteSpace:"pre-wrap",fontSize:"0.75rem"},children:Pf})})}),i.jsxs("p",{style:{opacity:.7,fontSize:"0.85rem"},children:[i.jsx("a",{href:n,target:"_blank",rel:"noreferrer",children:n.replace("https://","")})," · ",i.jsx("a",{href:t,target:"_blank",rel:"noreferrer",children:"GitHub"})]})]})}function Jf(){return i.jsx("span",{className:"greeting preview",children:"Good Morning"})}const Wf=E.memo(Jf),Yf=E.lazy(()=>Co(()=>import("./index-DfKEmD7L.js"),__vite__mapDeps([0,1,2]),import.meta.url));function Zf(){return localStorage.getItem("timeType")==="analogue"?i.jsx(E.Suspense,{fallback:i.jsx(i.Fragment,{}),children:i.jsx("div",{className:"clockBackground",children:i.jsx(Yf,{className:"analogclock clock-container",value:"2022-10-07T17:00:00+00:00",size:50})})}):localStorage.getItem("timeType")==="percentageComplete"?i.jsx("span",{className:"vertical-clock clock-container clockSkeleton",children:"68%"}):localStorage.getItem("timeType")==="verticalClock"?i.jsxs("span",{className:"vertical-clock clock-container",style:{fontSize:"30px"},children:[i.jsx("div",{className:"hour",children:"10"}),i.jsx("div",{className:"minute",children:"23"})]}):i.jsx("span",{className:"vertical-clock clock-container clockSkeleton",children:"10:24"})}const zf=E.memo(Zf);function qf(e){return Mn({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"},child:[]}]})(e)}function $f(e){return Mn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z"},child:[]}]})(e)}function Ah(e){return Mn({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M17.625 1.499c-2.32 0-4.354 1.203-5.625 3.03-1.271-1.827-3.305-3.03-5.625-3.03C3.129 1.499 0 4.253 0 8.249c0 4.275 3.068 7.847 5.828 10.227a33.14 33.14 0 0 0 5.616 3.876l.028.017.008.003-.001.003c.163.085.342.126.521.125.179.001.358-.041.521-.125l-.001-.003.008-.003.028-.017a33.14 33.14 0 0 0 5.616-3.876C20.932 16.096 24 12.524 24 8.249c0-3.996-3.129-6.75-6.375-6.75zm-.919 15.275a30.766 30.766 0 0 1-4.703 3.316l-.004-.002-.004.002a30.955 30.955 0 0 1-4.703-3.316c-2.677-2.307-5.047-5.298-5.047-8.523 0-2.754 2.121-4.5 4.125-4.5 2.06 0 3.914 1.479 4.544 3.684.143.495.596.797 1.086.796.49.001.943-.302 1.085-.796.63-2.205 2.484-3.684 4.544-3.684 2.004 0 4.125 1.746 4.125 4.5 0 3.225-2.37 6.216-5.048 8.523z"},child:[]}]})(e)}function eh(){return i.jsx("div",{className:"quickLinksSkeleton",children:i.jsxs("div",{className:"circles",children:[i.jsx("div",{children:i.jsx(qf,{})}),i.jsx("div",{children:i.jsx($f,{})}),i.jsx("div",{children:i.jsx(Ah,{})})]})})}const th=E.memo(eh);function rh(){return i.jsx("span",{className:"date",children:"Thursday January 1st"})}const nh=E.memo(rh);function ah(){return i.jsx("h2",{className:"message",children:i.jsxs("span",{children:["Message",i.jsx("br",{})]})})}const sh=E.memo(ah),ih={greeting:d.getMessage("modals.main.settings.sections.greeting.title"),time:d.getMessage("modals.main.settings.sections.time.title"),quicklinks:d.getMessage("modals.main.settings.sections.quicklinks.title"),date:d.getMessage("modals.main.settings.sections.date.title"),message:d.getMessage("modals.main.settings.sections.message.title")},oh=({id:e})=>{const{attributes:A,listeners:r,setNodeRef:t,transform:n,transition:a}=hs({id:e}),s={transform:ws.Transform.toString(n),transition:a};return i.jsxs("li",{ref:t,style:s,...A,...r,className:"sortableItem",children:[ih[e],i.jsx(fs,{})]})},lh=()=>{const[e,A]=E.useState(()=>JSON.parse(localStorage.getItem("order"))||["greeting","time","quicklinks","date","message"]),r=ps(rr(ms),rr(Qs,{coordinateGetter:Cs})),t=s=>{const{active:o,over:l}=s;l&&o.id!==l.id&&A(c=>{const g=c.indexOf(o.id),B=c.indexOf(l.id);return Es(c,g,B)})},n=s=>s==="quicklinks"?localStorage.getItem("quicklinksenabled")==="true":localStorage.getItem(s)==="true",a=s=>{switch(s){case"greeting":return i.jsx(Wf,{});case"time":return i.jsx(zf,{});case"quicklinks":return i.jsx(th,{});case"date":return i.jsx(nh,{});case"message":return i.jsx(sh,{});default:return null}};return E.useEffect(()=>{localStorage.setItem("order",JSON.stringify(e)),d.stats.postEvent("setting","Widget order"),UA.emit("refresh","widgets")},[e]),i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"mainTitle",children:d.getMessage("modals.main.marketplace.product.overview")}),i.jsxs("div",{className:"overviewGrid",children:[i.jsxs("div",{children:[i.jsx("span",{className:"title",children:d.getMessage("modals.welcome.buttons.preview")}),i.jsx("div",{className:"tabPreview",children:i.jsx("div",{className:"previewItem",style:{maxWidth:"50%"},children:e.map((s,o)=>n(s)?i.jsx("div",{className:"previewItem",children:a(s)},`item-${s}`):null)})})]}),i.jsxs("div",{children:[i.jsx("span",{className:"title",children:d.getMessage("modals.main.settings.sections.order.title")}),i.jsx(vs,{sensors:r,collisionDetection:Us,onDragEnd:t,children:i.jsx(Fs,{items:e,strategy:bs,children:i.jsx("ul",{className:"sortableContainer",children:e.map(s=>n(s)?i.jsx(oh,{id:s},s):null)})})})]})]})]})},is=[{label:"modals.main.marketplace.product.overview",name:"order",component:lh},{label:"modals.main.settings.sections.appearance.navbar.title",name:"navbar",component:ko},{label:"modals.main.settings.sections.greeting.title",name:"greeting",component:To},{label:"modals.main.settings.sections.time.title",name:"time",component:Do},{label:"modals.main.settings.sections.quicklinks.title",name:"quicklinks",component:Go},{label:"modals.main.settings.sections.date.title",name:"date",component:Oo},{label:"modals.main.settings.sections.message.title",name:"message",component:jo},{label:"modals.main.settings.sections.background.title",name:"background",component:Di},{label:"wb.settings_taskbox",name:"taskbox",component:Nf},{label:"modals.main.settings.sections.appearance.title",name:"appearance",component:Vf},{label:"modals.main.settings.sections.advanced.title",name:"advanced",component:Gf},{label:"wb.settings_credits",name:"credits",component:Xf}];function ch(e){const A=Ct(),r=E.useMemo(()=>is.map(t=>({...t,translatedLabel:A(t.label)})),[A]);return i.jsx(Io,{changeTab:t=>e.changeTab(t),current:"settings",currentTab:e.currentTab,onSectionChange:e.onSectionChange,onSubSectionChange:e.onSubSectionChange,currentSubSection:e.currentSubSection,deepLinkData:e.deepLinkData,navigationTrigger:e.navigationTrigger,sections:is,children:r.map(({label:t,name:n,component:a,translatedLabel:s})=>i.jsx("div",{label:s,name:n,children:i.jsx(a,{currentSubSection:e.currentSubSection,onSubSectionChange:e.onSubSectionChange,sectionName:n})},n))})}const uh=E.memo(ch);export{uh as default};diff --git a/src/chrome/newtab/assets/index-DLQt-leu.js b/src/firefox/newtab/assets/index-B1h2CV5t.jssimilarity index 99%rename from src/chrome/newtab/assets/index-DLQt-leu.jsrename to src/firefox/newtab/assets/index-B1h2CV5t.jsindex 3f9cabc50..b15957e08 100644--- a/src/chrome/newtab/assets/index-DLQt-leu.js+++ b/src/firefox/newtab/assets/index-B1h2CV5t.js@@ -1,4 +1,4 @@-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Clock-okasD9hI.css","./Settings-DPM-2yQQ.js","./Settings-BkGHEXAt.css"])))=>i.map(i=>d[i]);+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Clock-okasD9hI.css","./Settings-BHcHjb2v.js","./Settings-BkGHEXAt.css"])))=>i.map(i=>d[i]);var KT=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zm(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}function xS(o){if(Object.prototype.hasOwnProperty.call(o,"__esModule"))return o;var n=o.default;if(typeof n=="function"){var u=function l(){var d=!1;try{d=this instanceof l}catch{}return d?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};u.prototype=n.prototype}else u={};return Object.defineProperty(u,"__esModule",{value:!0}),Object.keys(o).forEach(function(l){var d=Object.getOwnPropertyDescriptor(o,l);Object.defineProperty(u,l,d.get?d:{enumerable:!0,get:function(){return o[l]}})}),u}var Kc={exports:{}},zs={};var h_;function zS(){if(h_)return zs;h_=1;var o=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function u(l,d,c){var f=null;if(c!==void 0&&(f=""+c),d.key!==void 0&&(f=""+d.key),"key"in d){c={};for(var p in d)p!=="key"&&(c[p]=d[p])}else c=d;return d=c.ref,{$$typeof:o,type:l,key:f,ref:d!==void 0?d:null,props:c}}return zs.Fragment=n,zs.jsx=u,zs.jsxs=u,zs}var __;function TS(){return __||(__=1,Kc.exports=zS()),Kc.exports}var w=TS();const NS="wbnt:";function Bv(o,n=NS){const u=()=>{const d=[];for(let c=0;c<o.length;c+=1){const f=o.key(c);f!=null&&f.startsWith(n)&&d.push(f.slice(n.length))}return d},l={getItem:d=>o.getItem(n+String(d)),setItem:(d,c)=>o.setItem(n+String(d),String(c)),removeItem:d=>o.removeItem(n+String(d)),clear:()=>u().forEach(d=>o.removeItem(n+d)),key:d=>u()[d]??null};return new Proxy(Object.create(null),{get(d,c){if(c==="length")return u().length;if(Object.prototype.hasOwnProperty.call(l,c))return l[c];if(typeof c!="string")return;const f=o.getItem(n+c);return f===null?void 0:f},set(d,c,f){return typeof c!="string"?!1:(o.setItem(n+c,String(f)),!0)},deleteProperty(d,c){return typeof c=="string"&&o.removeItem(n+c),!0},has(d,c){return Object.prototype.hasOwnProperty.call(l,c)||c==="length"||typeof c=="string"&&o.getItem(n+c)!==null},ownKeys:()=>u(),getOwnPropertyDescriptor(d,c){if(typeof c!="string")return;const f=o.getItem(n+c);return f===null?void 0:{value:f,enumerable:!0,configurable:!0,writable:!0}}})}function ES(o=globalThis){const n=o.localStorage,u=Bv(n);return Object.defineProperty(o,"localStorage",{configurable:!0,get:()=>u}),{real:n,shim:u}}function jS(){const o=new Map;return{get length(){return o.size},key:n=>[...o.keys()][n]??null,getItem:n=>o.has(String(n))?o.get(String(n)):null,setItem:(n,u)=>{o.set(String(n),String(u))},removeItem:n=>{o.delete(String(n))},clear:()=>o.clear()}}let Ll=null;try{Ll=ES(window).real}catch{try{const o=jS(),n=Bv(o);Object.defineProperty(window,"localStorage",{configurable:!0,get:()=>n})}catch{}Ll=null}var Yc={exports:{}},Ts={},Wc={exports:{}},Qc={};var v_;function DS(){return v_||(v_=1,(function(o){function n(I,T){var K=I.length;I.push(T);e:for(;0<K;){var ie=K-1>>>1,ne=I[ie];if(0<d(ne,T))I[ie]=T,I[K]=ne,K=ie;else break e}}function u(I){return I.length===0?null:I[0]}function l(I){if(I.length===0)return null;var T=I[0],K=I.pop();if(K!==T){I[0]=K;e:for(var ie=0,ne=I.length,ye=ne>>>1;ie<ye;){var Ce=2*(ie+1)-1,Ve=I[Ce],E=Ce+1,te=I[E];if(0>d(Ve,K))E<ne&&0>d(te,Ve)?(I[ie]=te,I[E]=K,ie=E):(I[ie]=Ve,I[Ce]=K,ie=Ce);else if(E<ne&&0>d(te,K))I[ie]=te,I[E]=K,ie=E;else break e}}return T}function d(I,T){var K=I.sortIndex-T.sortIndex;return K!==0?K:I.id-T.id}if(o.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;o.unstable_now=function(){return c.now()}}else{var f=Date,p=f.now();o.unstable_now=function(){return f.now()-p}}var h=[],y=[],_=1,g=null,b=3,S=!1,C=!1,x=!1,A=!1,j=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;function G(I){for(var T=u(y);T!==null;){if(T.callback===null)l(y);else if(T.startTime<=I)l(y),T.sortIndex=T.expirationTime,n(h,T);else break;T=u(y)}}function Z(I){if(x=!1,G(I),!C)if(u(h)!==null)C=!0,H||(H=!0,ee());else{var T=u(y);T!==null&&Y(Z,T.startTime-I)}}var H=!1,D=-1,q=5,V=-1;function $(){return A?!0:!(o.unstable_now()-V<q)}function W(){if(A=!1,H){var I=o.unstable_now();V=I;var T=!0;try{e:{C=!1,x&&(x=!1,z(D),D=-1),S=!0;var K=b;try{t:{for(G(I),g=u(h);g!==null&&!(g.expirationTime>I&&$());){var ie=g.callback;if(typeof ie=="function"){g.callback=null,b=g.priorityLevel;var ne=ie(g.expirationTime<=I);if(I=o.unstable_now(),typeof ne=="function"){g.callback=ne,G(I),T=!0;break t}g===u(h)&&l(h),G(I)}else l(h);g=u(h)}if(g!==null)T=!0;else{var ye=u(y);ye!==null&&Y(Z,ye.startTime-I),T=!1}}break e}finally{g=null,b=K,S=!1}T=void 0}}finally{T?ee():H=!1}}}var ee;if(typeof L=="function")ee=function(){L(W)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,X=ae.port2;ae.port1.onmessage=W,ee=function(){X.postMessage(null)}}else ee=function(){j(W,0)};function Y(I,T){D=j(function(){I(o.unstable_now())},T)}o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(I){I.callback=null},o.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):q=0<I?Math.floor(1e3/I):5},o.unstable_getCurrentPriorityLevel=function(){return b},o.unstable_next=function(I){switch(b){case 1:case 2:case 3:var T=3;break;default:T=b}var K=b;b=T;try{return I()}finally{b=K}},o.unstable_requestPaint=function(){A=!0},o.unstable_runWithPriority=function(I,T){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var K=b;b=I;try{return T()}finally{b=K}},o.unstable_scheduleCallback=function(I,T,K){var ie=o.unstable_now();switch(typeof K=="object"&&K!==null?(K=K.delay,K=typeof K=="number"&&0<K?ie+K:ie):K=ie,I){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=K+ne,I={id:_++,callback:T,priorityLevel:I,startTime:K,expirationTime:ne,sortIndex:-1},K>ie?(I.sortIndex=K,n(y,I),u(h)===null&&I===u(y)&&(x?(z(D),D=-1):x=!0,Y(Z,K-ie))):(I.sortIndex=ne,n(h,I),C||S||(C=!0,H||(H=!0,ee()))),I},o.unstable_shouldYield=$,o.unstable_wrapCallback=function(I){var T=b;return function(){var K=b;b=T;try{return I.apply(this,arguments)}finally{b=K}}}})(Qc)),Qc}var b_;function OS(){return b_||(b_=1,Wc.exports=DS()),Wc.exports}var Zc={exports:{}},be={};var y_;function qS(){if(y_)return be;y_=1;var o=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),b=Symbol.for("react.view_transition"),S=Symbol.iterator;function C(E){return E===null||typeof E!="object"?null:(E=S&&E[S]||E["@@iterator"],typeof E=="function"?E:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,j={};function z(E,te,se){this.props=E,this.context=te,this.refs=j,this.updater=se||x}z.prototype.isReactComponent={},z.prototype.setState=function(E,te){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,te,"setState")},z.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function L(){}L.prototype=z.prototype;function G(E,te,se){this.props=E,this.context=te,this.refs=j,this.updater=se||x}var Z=G.prototype=new L;Z.constructor=G,A(Z,z.prototype),Z.isPureReactComponent=!0;var H=Array.isArray;function D(){}var q={H:null,A:null,T:null,S:null},V=Object.prototype.hasOwnProperty;function $(E,te,se){var ce=se.ref;return{$$typeof:o,type:E,key:te,ref:ce!==void 0?ce:null,props:se}}function W(E,te){return $(E.type,te,E.props)}function ee(E){return typeof E=="object"&&E!==null&&E.$$typeof===o}function ae(E){var te={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(se){return te[se]})}var X=/\/+/g;function Y(E,te){return typeof E=="object"&&E!==null&&E.key!=null?ae(""+E.key):te.toString(36)}function I(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(D,D):(E.status="pending",E.then(function(te){E.status==="pending"&&(E.status="fulfilled",E.value=te)},function(te){E.status==="pending"&&(E.status="rejected",E.reason=te)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function T(E,te,se,ce,ke){var we=typeof E;(we==="undefined"||we==="boolean")&&(E=null);var me=!1;if(E===null)me=!0;else switch(we){case"bigint":case"string":case"number":me=!0;break;case"object":switch(E.$$typeof){case o:case n:me=!0;break;case _:return me=E._init,T(me(E._payload),te,se,ce,ke)}}if(me)return ke=ke(E),me=ce===""?"."+Y(E,0):ce,H(ke)?(se="",me!=null&&(se=me.replace(X,"$&/")+"/"),T(ke,te,se,"",function(At){return At})):ke!=null&&(ee(ke)&&(ke=W(ke,se+(ke.key==null||E&&E.key===ke.key?"":(""+ke.key).replace(X,"$&/")+"/")+me)),te.push(ke)),1;me=0;var ue=ce===""?".":ce+":";if(H(E))for(var fe=0;fe<E.length;fe++)ce=E[fe],we=ue+Y(ce,fe),me+=T(ce,te,se,we,ke);else if(fe=C(E),typeof fe=="function")for(E=fe.call(E),fe=0;!(ce=E.next()).done;)ce=ce.value,we=ue+Y(ce,fe++),me+=T(ce,te,se,we,ke);else if(we==="object"){if(typeof E.then=="function")return T(I(E),te,se,ce,ke);throw te=String(E),Error("Objects are not valid as a React child (found: "+(te==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":te)+"). If you meant to render a collection of children, use an array instead.")}return me}function K(E,te,se){if(E==null)return E;var ce=[],ke=0;return T(E,ce,"","",function(we){return te.call(se,we,ke++)}),ce}function ie(E){if(E._status===-1){var te=E._result,se=te();se.then(function(ce){(E._status===0||E._status===-1)&&(E._status=1,E._result=ce,se.status===void 0&&(se.status="fulfilled",se.value=ce))},function(ce){(E._status===0||E._status===-1)&&(E._status=2,E._result=ce,se.status===void 0&&(se.status="rejected",se.reason=ce))}),E._status===-1&&(E._status=0,E._result=se)}if(E._status===1)return E._result.default;throw E._result}var ne=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var te=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E),error:E});if(!window.dispatchEvent(te))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)};function ye(E){var te=q.T,se={};se.types=te!==null?te.types:null,q.T=se;try{var ce=E(),ke=q.S;ke!==null&&ke(se,ce),typeof ce=="object"&&ce!==null&&typeof ce.then=="function"&&ce.then(D,ne)}catch(we){ne(we)}finally{te!==null&&se.types!==null&&(te.types=se.types),q.T=te}}function Ce(E){var te=q.T;if(te!==null){var se=te.types;se===null?te.types=[E]:se.indexOf(E)===-1&&se.push(E)}else ye(Ce.bind(null,E))}var Ve={map:K,forEach:function(E,te,se){K(E,function(){te.apply(this,arguments)},se)},count:function(E){var te=0;return K(E,function(){te++}),te},toArray:function(E){return K(E,function(te){return te})||[]},only:function(E){if(!ee(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return be.Activity=g,be.Children=Ve,be.Component=z,be.Fragment=u,be.Profiler=d,be.PureComponent=G,be.StrictMode=l,be.Suspense=h,be.ViewTransition=b,be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=q,be.__COMPILER_RUNTIME={__proto__:null,c:function(E){return q.H.useMemoCache(E)}},be.addTransitionType=Ce,be.cache=function(E){return function(){return E.apply(null,arguments)}},be.cacheSignal=function(){return null},be.cloneElement=function(E,te,se){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var ce=A({},E.props),ke=E.key;if(te!=null)for(we in te.key!==void 0&&(ke=""+te.key),te)!V.call(te,we)||we==="key"||we==="__self"||we==="__source"||we==="ref"&&te.ref===void 0||(ce[we]=te[we]);var we=arguments.length-2;if(we===1)ce.children=se;else if(1<we){for(var me=Array(we),ue=0;ue<we;ue++)me[ue]=arguments[ue+2];ce.children=me}return $(E.type,ke,ce)},be.createContext=function(E){return E={$$typeof:f,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:c,_context:E},E},be.createElement=function(E,te,se){var ce,ke={},we=null;if(te!=null)for(ce in te.key!==void 0&&(we=""+te.key),te)V.call(te,ce)&&ce!=="key"&&ce!=="__self"&&ce!=="__source"&&(ke[ce]=te[ce]);var me=arguments.length-2;if(me===1)ke.children=se;else if(1<me){for(var ue=Array(me),fe=0;fe<me;fe++)ue[fe]=arguments[fe+2];ke.children=ue}if(E&&E.defaultProps)for(ce in me=E.defaultProps,me)ke[ce]===void 0&&(ke[ce]=me[ce]);return $(E,we,ke)},be.createRef=function(){return{current:null}},be.forwardRef=function(E){return{$$typeof:p,render:E}},be.isValidElement=ee,be.lazy=function(E){return{$$typeof:_,_payload:{_status:-1,_result:E},_init:ie}},be.memo=function(E,te){return{$$typeof:y,type:E,compare:te===void 0?null:te}},be.startTransition=ye,be.unstable_useCacheRefresh=function(){return q.H.useCacheRefresh()},be.use=function(E){return q.H.use(E)},be.useActionState=function(E,te,se){return q.H.useActionState(E,te,se)},be.useCallback=function(E,te){return q.H.useCallback(E,te)},be.useContext=function(E){return q.H.useContext(E)},be.useDebugValue=function(){},be.useDeferredValue=function(E,te){return q.H.useDeferredValue(E,te)},be.useEffect=function(E,te){return q.H.useEffect(E,te)},be.useEffectEvent=function(E){return q.H.useEffectEvent(E)},be.useId=function(){return q.H.useId()},be.useImperativeHandle=function(E,te,se){return q.H.useImperativeHandle(E,te,se)},be.useInsertionEffect=function(E,te){return q.H.useInsertionEffect(E,te)},be.useLayoutEffect=function(E,te){return q.H.useLayoutEffect(E,te)},be.useMemo=function(E,te){return q.H.useMemo(E,te)},be.useOptimistic=function(E,te){return q.H.useOptimistic(E,te)},be.useReducer=function(E,te,se){return q.H.useReducer(E,te,se)},be.useRef=function(E){return q.H.useRef(E)},be.useState=function(E){return q.H.useState(E)},be.useSyncExternalStore=function(E,te,se){return q.H.useSyncExternalStore(E,te,se)},be.useTransition=function(){return q.H.useTransition()},be.version="19.3.1",be}var k_;function Ws(){return k_||(k_=1,Zc.exports=qS()),Zc.exports}var Xc={exports:{}},Mt={};var w_;function RS(){if(w_)return Mt;w_=1;var o=Ws();function n(_){var g="https://react.dev/errors/"+_;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)g+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+_+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var l={d:{f:u,r:function(){throw Error(n(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},d=Symbol.for("react.portal"),c=Symbol.for("react.recoverable"),f=Symbol.for("react.optimistic_key");function p(_,g,b){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:S==null?null:S===f?f:""+S,children:_,containerInfo:g,implementation:b}}var h=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(_,g){if(_==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return Mt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,Mt.browser=function(_){return{$$typeof:c,_reason:_}},Mt.createPortal=function(_,g){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(n(299));return p(_,g,null,b)},Mt.flushSync=function(_){var g=h.T,b=l.p;try{if(h.T=null,l.p=2,_)return _()}finally{h.T=g,l.p=b,l.d.f()}},Mt.preconnect=function(_,g){typeof _=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,l.d.C(_,g))},Mt.prefetchDNS=function(_){typeof _=="string"&&l.d.D(_)},Mt.preinit=function(_,g){if(typeof _=="string"&&g&&typeof g.as=="string"){var b=g.as,S=y(b,g.crossOrigin),C=typeof g.integrity=="string"?g.integrity:void 0,x=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;b==="style"?l.d.S(_,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:S,integrity:C,fetchPriority:x}):b==="script"&&l.d.X(_,{crossOrigin:S,integrity:C,fetchPriority:x,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},Mt.preinitModule=function(_,g){if(typeof _=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var b=y(g.as,g.crossOrigin);l.d.M(_,{crossOrigin:b,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0})}}else g==null&&l.d.M(_)},Mt.preload=function(_,g){if(typeof _=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var b=g.as,S=y(b,g.crossOrigin);l.d.L(_,b,{crossOrigin:S,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},Mt.preloadModule=function(_,g){if(typeof _=="string")if(g){var b=y(g.as,g.crossOrigin);l.d.m(_,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:b,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0})}else l.d.m(_)},Mt.requestFormReset=function(_){l.d.r(_)},Mt.unstable_batchedUpdates=function(_,g){return _(g)},Mt.useFormState=function(_,g,b){return h.H.useFormState(_,g,b)},Mt.useFormStatus=function(){return h.H.useHostTransitionStatus()},Mt.version="19.3.1",Mt}var S_;function Tm(){if(S_)return Xc.exports;S_=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(n){console.error(n)}}return o(),Xc.exports=RS(),Xc.exports}var M_;function BS(){if(M_)return Ts;M_=1;var o=OS(),n=Ws(),u=Tm();function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function c(e){for(var t=e,a=t;a&&!a.alternate;)t=a,(t.flags&4098)!==0&&(e=t.return),a=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function f(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function h(e){if(c(e)!==e)throw Error(l(188))}function y(e){var t=e.alternate;if(!t){if(t=c(e),t===null)throw Error(l(188));return t!==e?null:e}for(var a=e,i=t;;){var s=a.return;if(s===null)break;var r=s.alternate;if(r===null){if(i=s.return,i!==null){a=i;continue}break}if(s.child===r.child){for(r=s.child;r;){if(r===a)return h(s),e;if(r===i)return h(s),t;r=r.sibling}throw Error(l(188))}if(a.return!==i.return)a=s,i=r;else{for(var m=!1,v=s.child;v;){if(v===a){m=!0,a=s,i=r;break}if(v===i){m=!0,i=s,a=r;break}v=v.sibling}if(!m){for(v=r.child;v;){if(v===a){m=!0,a=r,i=s;break}if(v===i){m=!0,i=r,a=s;break}v=v.sibling}if(!m)throw Error(l(189))}}if(a.alternate!==i)throw Error(l(190))}if(a.tag!==3)throw Error(l(188));return a.stateNode.current===a?e:t}function _(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=_(e),t!==null)return t;e=e.sibling}return null}function g(e,t,a,i,s,r){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&a(e,i,s,r)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&g(e.child,t,a,i,s,r))return!0;e=e.sibling}return!1}function b(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function S(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function C(e){var t=[null,null],a=b(e);return a===null||x(t,e,a.child,{foundSelf:!1}),t}function x(e,t,a,i){for(;a!==null;){if(a===t)i.foundSelf=!0;else if(a.tag===5||a.tag===27||a.tag===6){if(i.foundSelf)return e[1]=a,!0;e[0]=a}else if((a.tag!==22||a.memoizedState===null)&&x(e,t,a.child,i))return!0;a=a.sibling}return!1}function A(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(l(559))}}var j=null,z=null;function L(e,t,a){return e===a?!0:e===t?(j=e,!0):!1}function G(e,t,a){return e===a?(z=e,!1):e===t?(z!==null&&(j=e),!0):!1}function Z(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function H(e,t,a){for(var i=0,s=e;s;s=a(s))i++;s=0;for(var r=t;r;r=a(r))s++;for(;0<i-s;)e=a(e),i--;for(;0<s-i;)t=a(t),s--;for(;i--;){if(e===t||t!==null&&e===t.alternate)return e;e=a(e),t=a(t)}return null}var D=Object.assign,q=Symbol.for("react.element"),V=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),ee=Symbol.for("react.strict_mode"),ae=Symbol.for("react.profiler"),X=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),ye=Symbol.for("react.activity"),Ce=Symbol.for("react.legacy_hidden"),Ve=Symbol.for("react.memo_cache_sentinel"),E=Symbol.for("react.view_transition"),te=Symbol.for("react.recoverable"),se=Symbol.iterator;function ce(e){return e===null||typeof e!="object"?null:(e=se&&e[se]||e["@@iterator"],typeof e=="function"?e:null)}var ke=Symbol.for("react.client.reference");function we(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ke?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case W:return"Fragment";case ae:return"Profiler";case ee:return"StrictMode";case T:return"Suspense";case K:return"SuspenseList";case ye:return"Activity";case E:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case $:return"Portal";case Y:return e.displayName||"Context";case X:return(e._context.displayName||"Context")+".Consumer";case I:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ie:return t=e.displayName||null,t!==null?t:we(e.type)||"Memo";case ne:t=e._payload,e=e._init;try{return we(e(t))}catch{}}return null}var me=Array.isArray,ue=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fe=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,At={pending:!1,data:null,method:null,action:null},Qt=[],Zt=-1;function _t(e){return{current:e}}function tt(e){0>Zt||(e.current=Qt[Zt],Qt[Zt]=null,Zt--)}function Le(e,t){Zt++,Qt[Zt]=e.current,e.current=t}var Bt=_t(null),Lt=_t(null),Xt=_t(null),Xa=_t(null);function Jo(e,t){switch(Le(Xt,t),Le(Lt,e),Le(Bt,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Ah(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Ah(t),e=Ch(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}tt(Bt),Le(Bt,e)}function Ja(){tt(Bt),tt(Lt),tt(Xt)}function On(e){var t=e.memoizedState;t!==null&&(yn._currentValue=t.memoizedState,Le(Xa,e)),t=Bt.current;var a=Ch(t,e.type);t!==a&&(Le(Lt,e),Le(Bt,a))}function Ni(e){Lt.current===e&&(tt(Bt),tt(Lt)),Xa.current===e&&(tt(Xa),yn._currentValue=At)}var Da,$a;function It(e){if(Da===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Da=t&&t[1]||"",$a=-1<a.stack.indexOf(`at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return``+Da+e+$a}var Ei=!1;function la(e,t){if(!e||Ei)return"";Ei=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(oe){var O=oe}Reflect.construct(e,[],J)}else{try{J.call()}catch(oe){O=oe}J=!1;try{var P=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),J=!0,new e}finally{J&&(P!==void 0?Object.defineProperty(e.prototype,"props",P):delete e.prototype.props)}}}else{try{throw Error()}catch(oe){O=oe}(J=e())&&typeof J.catch=="function"&&J.catch(function(){})}}catch(oe){if(oe&&O&&typeof oe.stack=="string")return[oe.stack,O.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=i.DetermineComponentFrameRoot(),m=r[0],v=r[1];if(m&&v){var M=m.split(`@@ -847,7 +847,7 @@ Not: "{category}" kategorisine ait görselleri beğenmediyseniz, arka plan kaynaПримітка: якщо вам не подобаються "{category}" зображення, ви можете вимкнути цю категорію у налаштуваннях джерела фону.`,confirm:"Підтвердити"},search:"Пошук",quicklinks:{new:"Нове посилання",edit:"Редагувати посилання",name:"Ім'я",url:"URL",icon:"Іконка (необов'язково)",add:"Додати",name_error:"Необхідно вказати ім'я",url_error:"Необхідно вказати URL-адресу"},date:{week:"Тиждень"},weather:{not_found:"Не знайдено",meters:"{amount} метрів",extra_information:"Додаткова інформація",feels_like:"Відчувається як {amount}"},quote:{link_tooltip:"Відкрити у Вікіпедії",share:"Поділитися",copy:"Скопіювати",favourite:"Улюблене",unfavourite:"Неулюблене"},navbar:{tooltips:{refresh:"Оновити"},notes:{title:"Примітки",placeholder:"Введіть тут"},todo:{title:"Todo",pin:"Прикріпити",add:"Додати",no_todos:"Немає Todos"},apps:{title:"Додатки",no_apps:"Не знайдено жодного посилання на додаток"}}},qM=JSON.parse(`{"main":{"title":"Параметри","loading":"Завантаження...","file_upload_error":"Розмір файлу більше 2 МБ","navbar":{"settings":"Налаштування","library":"Доповнення","discover":"Маркетплейс"},"error_boundary":{"title":"Помилка","message":"Не вдалося завантажити цей компонент Mue","report_error":"Надіслати звіт про помилку","sent":"Відправлено!","refresh":"Оновити"},"settings":{"enabled":"Увімкнено","open_knowledgebase":"Відкрита база знань","additional_settings":"Додаткові налаштування","reminder":{"title":"ЗАМІТКА","message":"Щоб всі зміни набули чинності, сторінку необхідно оновити."},"sections":{"header":{"more_info":"Більше інформації","report_issue":"Повідомити про проблему","enabled":"Виберіть, показувати цей віджет чи ні","size":"Повзунок для керування розміром віджету"},"time":{"title":"Час","format":"Формат","type":"Тип","type_subtitle":"Виберіть, чи відображати час у цифровому форматі, аналоговому форматі або у відсотках від завершення дня","digital":{"title":"Цифровий","subtitle":"Змініть вигляд цифрового годинника","seconds":"Секунди","twentyfourhour":"24 години","twelvehour":"12 годин","zero":"Додатковий нуль"},"analogue":{"title":"Аналоговий","subtitle":"Змініть вигляд аналогового годинника","second_hand":"Секундна стрілка","minute_hand":"Хвилинна стрілка","hour_hand":"Годинникова стрілка","hour_marks":"Годинникові мітки","minute_marks":"Хвилинні мітки","round_clock":"Закруглений фон"},"percentage_complete":"Відсоток виконання","vertical_clock":{"title":"Вертикальний годинник","change_hour_colour":"Змінити колір тексту годинника","change_minute_colour":"Змінити колір хвилинного тексту","change_second_colour":"Змінити другий колір тексту"}},"date":{"title":"Дата","week_number":"Номер тижня","day_of_week":"День тижня","datenth":"Дата n-та","type":{"short":"Коротка","long":"Довга","subtitle":"Відображати дату в довгій чи в короткій формі"},"type_settings":"Налаштування та формат відображення для вибраного типу дати","short_date":"Коротка дата","short_format":"Короткий формат","long_format":"Довгий формат","short_separator":{"title":"Короткий сепаратор","dots":"Крапки","dash":"Тире","gaps":"Пробіли","slashes":"Слеши"}},"quote":{"title":"Цитата","additional":"Інші налаштування для налаштування стилю віджету котирувань","author_link":"Посилання на автора","author_details":"Інформація про автора","custom":"Користувацька цитата","custom_subtitle":"Встановіть свої власні користувацьки цитати","no_quotes":"Без лапок","author":"Автор","custom_buttons":"Кнопки","custom_author":"Користувацький автор","author_img":"Показати зображення автора","add":"Додати цитату","source_subtitle":"Виберіть, звідки отримувати цитати","buttons":{"title":"Кнопки","subtitle":"Виберіть, які кнопки показувати на цитаті","copy":"Скопіювати","tweet":"Твітнути","favourite":"Улюблене"}},"greeting":{"title":"Привітання","events":"Події","events_description":"Керуйте подіями на Mue, такими як дні народження.","enable_events":"Показувати повідомлення в особливі дні","default":"Привітання за замовчуванням","name":"Ім'я для привітання","birthday":"День народження","birthday_subtitle":"Показувати привітання з днем народження, коли твій день народження","birthday_age":"Рік народження","birthday_date":"Дата народження","additional":"Налаштування відображення привітання","custom":"Користувацькі події","event_name":"Назва події","day":"День","month":"Місяць","no_events":"Немає подій","no_events_description":"Додати кілька подій","add_event":"Додати подію"},"background":{"title":"Фон","transition":"Затухаючий перехід","photo_information":"Показати інформацію про фото","show_map":"Показувати карту місцезнаходження на інформації про фото, якщо вона доступна","categories":"Категорії","buttons":{"title":"Кнопки","view":"Перегляд","favourite":"Улюблені","download":"Завантажити'"},"effects":{"title":"Ефекти","subtitle":"Додати ефекти до фонових зображень","blur":"Розмиття","brightness":"Яскравість","filters":{"title":"Фільтр фону","amount":"Кількість фільтрів","grayscale":"Відтінки сірого","sepia":"Сепія","invert":"Негатив","saturate":"Насиченість","contrast":"Контраст"}},"type":{"title":"Тип","api":"API","custom_image":"Користувацьке зображення","custom_colour":"Користувацький колір/градієнт","random_colour":"Випадковий колір","random_gradient":"Випадковий градієнт"},"unsplash":{"title":"Колекція(ї) Unsplash","subtitle":"Виберіть колекцію(ї), яку ви хочете використати для фону","id":"Ідентифікатор(и) колекції","id_subtitle":"Введіть список ідентифікаторів Unsplash через кому"},"source":{"title":"Джерело","subtitle":"Виберіть, звідки взяти фонові зображення","api":"API для фону","custom_background":"Користувацький фон","custom_colour":"Користувацький колір фону","upload":"Вавантажити","add_colour":"Додати колір","add_background":"Додати фон","drop_to_upload":"Перетягніть для завантаження","formats":"Доступні формати: {list}","select":"Або виберіть","add_url":"Додати URL","disabled":"Вимкнено","loop_video":"Циклічне відео","mute_video":"Вимкнути звук відео","quality":{"title":"Якість","original":"Original","high":"Висока якість","normal":"Нормальна якість","datasaver":"Data Saver"},"custom_title":"Користувацькі зображення","custom_description":"Виберіть зображення з вашего локального комп'ютера","remove":"Видалити зображення","delete_selected":"Delete {count} Selected","uploading":"Uploading {current} of {total}...","images":"images","tag_images":"Tag Images","tag_description":"Add {count} images to a folder (optional)","folder_name":"Folder Name","folder_placeholder":"Leave empty for no folder","storage_info":"Storage Information","storage_description":"Mue uses browser storage to save your custom images. The current limit is approximately 4.85MB for all settings and images combined.","storage_current":"Current usage: {used} of {total} ({percent}%)","sort":{"date_newest":"Date Added (Newest)","date_oldest":"Date Added (Oldest)","name_asc":"Name (A-Z)","name_desc":"Name (Z-A)","size_small":"File Size (Smallest)","size_large":"File Size (Largest)"}},"display":"Відображати","display_subtitle":"Зміна способу завантаження фону та інформації про фотографію","api":"Налаштування API","api_subtitle":"Варіанти отримання зображення із зовнішнього сервісу (API)"},"search":{"title":"Пошук","additional":"Додаткові параметри відображення та функціональності пошукового віджета","search_engine":"Пошукова система","search_engine_subtitle":"Виберіть пошукову систему в рядку пошуку","custom":"Користувацька URL-адреса пошуку","autocomplete":"Автозаповнення","autocomplete_provider":"Провайдер автозаповнення","autocomplete_provider_subtitle":"Пошукова система для автоматичного заповнення випадаючих результатів","voice_search":"Голосовий пошук","dropdown":"Випадаючий список пошуку","focus":"Фокус на відкритій вкладці","chrome_policy_warning":"У версії 7.2 можливість вибору пошукової системи в Mue була видалена відповідно до нових вимог Chrome Web Store. Тепер Mue використовує пошукову систему, встановлену за замовчуванням у вашому браузері. Ви можете змінити її в налаштуваннях Chrome."},"weather":{"title":"Погода","location":"Місцезнаходження","auto":"Auto","widget_type":"Тип віджету","temp_format":{"title":"Формат температури","celsius":"Цельсії","fahrenheit":"Фаренгейт","kelvin":"Кельвін"},"extra_info":{"title":"Extra information","show_location":"Показати розташування","show_description":"Показати опис","weather_description":"Опис погоди","cloudiness":"Хмарність","humidity":"Вологість","visibility":"Видимість","wind_speed":"Швидкість вітру","wind_direction":"Напрямок вітру","min_temp":"Мінімальна температура","max_temp":"Максимальна температура","atmospheric_pressure":"Атмосферний тиск"},"options":{"basic":"Базовий","standard":"Стандартний","expanded":"Розширений","custom":"Свій"},"custom_settings":"Користувацькі налаштування"},"quicklinks":{"title":"Швидкі посилання","additional":"Додаткові налаштування відображення швидких посилань і функцій","open_new":"Відкрити в новій вкладці","tooltip":"Спливаюча підказка","text_only":"Показувати тільки текст","add_link":"Додати посилання","no_quicklinks":"Немає швидких посилань","edit":"Редагувати","style":"Стиль","options":{"icon":"Іконка","text_only":"Тільки текст","metro":"Метро"},"styling":"Стиль швидких посилань","styling_description":"Налаштувати зовнішній вигляд швидких посилань"},"message":{"title":"Message","add":"Add message","messages":"Повідомлення","text":"Текст","no_messages":"Немає повідомлень","add_some":"Йдемо далі і додайте ще.","content":"Зміст повідомлення"},"appearance":{"title":"Оформлення","style":{"title":"Стиль віджетів","description":"Обирайте між двома стилями: застарілим (доступний для користувачів попередніх версій 7.0) та наш стильний і сучасний стиль.","legacy":"Застаріле","new":"Новий"},"theme":{"title":"Theme","description":"Змінити тему віджетів і модальних вікон Mue","auto":"Автоматично","light":"Світла","dark":"Темна"},"navbar":{"title":"Навігаційна панель","widgets":"Віджети навігаційної панелі","notes":"Примітки","refresh":"Оновити","refresh_subtitle":"Виберіть, що буде оновлюватися, коли ви натискаєте кнопку \\"Оновити\\"","hover":"Відображення тільки при наведенні","additional":"Налаштуйте стиль навігаційної панелі та кнопки, які ви хочете відображати","refresh_options":{"none":"None","page":"Сторінка"},"apps_subtitle":"Створіть ярлик для інших сайтів, які ви часто використовуєте."},"font":{"title":"Шрифт","description":"Змінити шрифт, який використовується у Mue","custom":"Користувацький шрифт","google":"Імпорт з Google Fonts","weight":{"title":"Товщина шрифту","thin":"Тонкий","extra_light":"Дуже тонкий","light":"Світло","normal":"Нормальний","medium":"Medium","semi_bold":"Напівжирний","bold":"Жирний","extra_bold":"Дуже жирний"},"style":{"title":"Стиль шрифту","normal":"Normal","italic":"Italic","oblique":"Курсив"}},"accessibility":{"title":"Доступність","description":"Налаштування спеціальних можливостей для Mue","animations":"Анімації","text_shadow":{"title":"Тінь тексту віджета","new":"Новий","old":"Старий","none":"None"},"widget_zoom":"Widget Zoom","toast_duration":"Тривалість підказки","milliseconds":"мілісекунди"}},"order":{"title":"Порядок віджетів"},"advanced":{"title":"Додатково","offline_mode":"Офлайн режим","offline_subtitle":"Якщо ввімкнено, всі запити до онлайн-сервісів будуть вимкнені.","data":"Data","data_description":"Виберіть, чи потрібно експортувати налаштування Mue на комп'ютер, імпортувати існуючий файл налаштувань або скинути налаштування до значень за замовчуванням","data_subtitle":"Керуйте своїми даними на Mue.","reset_modal":{"title":"ПОПЕРЕДЖЕННЯ","question":"Ви хочете скинути Mue?","information":"Це призведе до видалення всіх даних. Якщо ви хочете зберегти свої дані та налаштування, будь ласка, спочатку експортуйте їх.","cancel":"Скасувати"},"customisation":"Кастомізація","custom_css":"Користувацький CSS","custom_css_subtitle":"Налаштуйте стиль Mue під себе за допомогою каскадних таблиць стилів (CSS).","custom_js":"Користувацький JS","tab_name":"Назва вкладки","tab_name_subtitle":"Змініть назву вкладки, яка з'являється у вашому браузері","timezone":{"title":"Часовий пояс","subtitle":"Виберіть часовий пояс зі списку замість автоматично встановленого на вашому комп'ютері","automatic":"Автоматичний"},"experimental_warning":"Зверніть увагу, що команда Mue не зможе надати підтримку, якщо у вас увімкнено експериментальний режим. Будь ласка, спочатку вимкніть його і перевірте, чи проблема не зникне, перш ніж звертатися до служби підтримки.","preview_data_disabled":{"title":"Налаштування даних вимкнено","description":"Налаштування даних вимкнено в режимі попереднього перегляду. Вийдіть із режиму попереднього перегляду, щоб скористатися цією функцією."}},"stats":{"title":"Статистика","sections":{"tabs_opened":"Відкриті вкладки","backgrounds_favourited":"Улюблені фони","backgrounds_downloaded":"Завантажені фони","quotes_favourited":"Улюблені цитати","quicklinks_added":"Додано швидкі посилання","settings_changed":"Змінено налаштування","addons_installed":"Встановлені доповнення"},"usage":"Статистика використання","achievements":"Досягнення","achievement_unlocked":"Досягнення розблоковано:{name}","unlocked":"{count} Розблоковано","locked":"Закрито","clear_modal":{"question":"Ви хочете очистити свою статистику?","information":"Це очистить усі досягнення та статистику використання."}},"experimental":{"title":"Експериментальний","warning":"Ці налаштування не були повністю протестовані/реалізовані і можуть працювати некоректно!","developer":"Developer"},"language":{"title":"Мова","quote":"Мова цитат","search":"Search languages...","current":"Current","use_system":"Use system language","locale_formatting":"Format numbers for your language"},"changelog":{"title":"Журнал змін","by":"Автор {author}"},"about":{"title":"О нас","version":{"title":"Версія","checking_update":"Перевірка наявності оновлень","update_available":"Доступне оновлення","no_update":"Оновлення не доступне","offline_mode":"Не вдається перевірити наявність оновлень в автономному режимі","error":{"title":"Не вдалося отримати інформацію про оновлення","description":"Виникла помилка"}},"contact_us":"Зв'яжіться з нами","support_mue":"Підтримайте Mue","support_subtitle":"Оскільки Mue є повністю безкоштовним, ми покладаємося на пожертви, щоб покрити рахунки за сервер і фінансувати розробку","support_donate":"Пожертвувати","form_button":"Форма","resources_used":{"title":"Використані ресурси","bg_images":"Офлайн фонові зображення"},"contributors":"Учасники","supporters":"Підтримка","no_supporters":"Наразі підтримки Муе немає","photographers":"Фотографи","curators":"Творці доповнень"}},"buttons":{"reset":"Скинути","import":"Імпорт","export":"Експорт","cancel":"Cancel","continue":"Continue","close":"Close"}},"marketplace":{"title":"Marketplace","by":"від {author}","all":"Усе","learn_more":"Дізнатися більше","photo_packs":"Набори фото","quote_packs":"Набори цитат","preset_settings":"Пресети налаштувань","no_items":"У цій категорії немає елементів","collection":"Колекція","explore_collection":"Дослідити колекцію","add_all":"Додати все до Муе","collections":"Колекції","cant_find":"Не можете знайти те, що шукаєте?","knowledgebase_one":"Завітайте на сторінку","knowledgebase_two":"база знань","knowledgebase_three":"щоб створити свій власний.","installing":"Встановлення","product":{"overview":"Огляд","information":"Інформація","last_updated":"Останнє оновлення","description":"Опис","details":"Деталі","more_from_curator":"Більше схоже на це від {name}","show_more":"Показати більше","show_less":"Показати менше","show_all":"Показати всі","showing":"Показати","no_images":"Ні. Зображення","no_quotes":"Ні. Цитати","version":"Версія","created_by":"Створено","updated_at":"Оновлено на","part_of":"Частина","explore":"Дослідити","buttons":{"addtomue":"Додати до","remove":"Видалити","update_addon":"Оновлення доповнення","back":"Назад","report":"Звіт","not_available_preview":"Недоступно в режимі попереднього перегляду"},"not_in_language":"Це доповнення недоступне вашою мовою","third_party_api":"Це доповнення використовує сторонній API","sideload_warning":"Це доповнення було завантажено збоку.","setting":"Налаштування'","value":"Значення"},"offline":{"title":"Схоже, ти не в мережі","description":"Будь ласка, підключіться до Інтернету"}},"addons":{"added":"Додано","check_updates":"Перевірте наявність оновлень","no_updates":"Оновлення не доступні","updates_available":"Доступні оновлення {amount}","empty":{"title":"Порожньо","description":"Аддони не встановлені"},"sideload":{"title":"Додаткове завантаження","description":"Встановіть аддон Mue, якого немає на маркетплейсі, зі свого комп'ютера","failed":"Не вдалося підвантажити аддон","errors":{"no_name":"Ім'я не вказано","no_author":"Автор не вказаний","no_type":"Тип не вказано","invalid_photos":"Об'єкт з недійсними фотографіями","invalid_quotes":"Неправильний об'єкт лапок"}},"sort":{"title":"Сортування","newest":"Встановлені (найновіші)","a_z":"За алфавітом (A-Z)","recently_updated":"Recently Updated"},"create":{"title":"Створити","moved_title":"Створення доповнення переїхало!","moved_description":"Після оновлення 7.1 створення аддонів було перенесено у веб-інтерфейс","moved_button":"Незабаром...."}}},"update":{"title":"Оновлення","offline":{"title":"Офлайн","description":"Неможливо отримати журнали оновлень в автономному режимі"},"error":{"title":"Помилка","description":"Не вдалося підключитися до сервера"}},"welcome":{"tip":"Коротка порада","sections":{"intro":{"title":"Ласкаво просимо до Mue Tab","description":"Дякуємо, що встановили Mue, сподіваємося, вам сподобається наше розширення.","notices":{"discord_title":"Приєднуйтесь до нашого Discord","discord_description":"Поспілкуйтеся зі спільнотою та розробниками Mue","discord_join":"Приєднатися","github_title":"Зробіть свій внесок на GitHub","github_description":"Повідомляйте про помилки, додавайте функції або зробіть пожертву","github_open":"Відкрито"}},"language":{"title":"Виберіть свою мову","description":"Mue може відображатися мовами, переліченими нижче. Ви також можете додавати нові переклади на нашій сторінці"},"theme":{"title":"Виберіть тему","description":"Mue доступний як у світлій, так і у темній темах, або може бути автоматично встановлений залежно від теми вашої системи.","tip":"За допомогою налаштувань Авто буде використано тему, встановлену на вашому комп'ютері. Цей параметр впливає на модальності і деякі віджети, що відображаються на екрані, такі як погода і нотатки."},"style":{"title":"Виберіть стиль","description":"Наразі Mue пропонує вибір між старим дизайном та нещодавно випущеним сучасним дизайном.","legacy":"Спадщина","modern":"Сучасний"},"settings":{"title":"Налаштування імпорту","description":"Встановлюєте Mue на новий пристрій? Не соромтеся імпортувати свої старі налаштування!","tip":"Ви можете експортувати свої старі налаштування, перейшовши на вкладку \\"Додатково\\" у вашому старому налаштуванні Mue. Потім вам потрібно натиснути кнопку експорту, яка завантажить JSON-файл. Ви можете завантажити цей файл сюди, щоб перенести ваші налаштування та уподобання з попередньої інсталяції Mue."},"privacy":{"title":"Параметри конфіденційності","description":"Увімкніть налаштування для додаткового захисту вашої конфіденційності за допомогою Mue.","offline_mode_description":"Увімкнення офлайн-режиму вимкне всі запити до будь-яких сервісів. Це призведе до вимкнення онлайн-фону, онлайн-котирувань, біржі, погоди, швидких посилань, журналу змін та деякої інформації про вкладки.","links":{"title":"Посилання","privacy_policy":"Політика конфіденційності","source_code":"Вихідний код"}},"final":{"title":"Останній крок","description":"Ваш досвід роботи з Mue Tab ось-ось почнеться.","changes":"Зміни","changes_description":"Щоб змінити налаштування пізніше, натисніть на іконку налаштувань у верхньому правому куті вкладки.","imported":"Імпортовані налаштування {amount}"}},"buttons":{"next":"Далі","preview":"Попередній перегляд","previous":"Попередні","close":"Закрити","finish":"Фініш"},"preview":{"description":"Наразі ви перебуваєте в режимі попереднього перегляду. Після закриття цієї вкладки налаштування буде скинуто.","continue":"Продовжити налаштування"}},"share":{"copy_link":"Скопіювати посилання","email":"Електронна пошта"}}`),RM={quote:"Скопійовані квоти",notes:"Нотатки скопійовано",reset:"Скидання успішно виконано",installed:"Успішно встановлено",uninstalled:"Успішно видалено",updated:"Успішно оновлено",error:"Щось пішло не так",imported:"Успішно імпортовано",no_storage:"Недостатньо місця для зберігання",link_copied:"Посилання скопійовано",stats_reset:"Статистику скинуто"},kb={tabname:DM,widgets:OM,modals:qM,toasts:RM},BM="Tab mới",LM={greeting:{morning:"Chào buổi sáng",afternoon:"Chào buổi chiều",evening:"Chào buổi tối",christmas:"Merry Christmas",newyear:"Happy New Year",halloween:"Happy Halloween",birthday:"Happy Birthday"},background:{credit:"Photo by",unsplash:"on Unsplash",information:"Information",download:"Download",downloads:"Downloads",views:"Views",likes:"Likes",location:"Location",camera:"Camera",resolution:"Resolution",source:"Source",category:"Category",exclude:"Don't show again",exclude_confirm:`Are you sure you don't want to see this image again?Note: if you don't like "{category}" images, you can deselect the category in the background source settings.`,confirm:"Confirm"},search:"Search",quicklinks:{new:"New Link",edit:"Edit Link",name:"Name",url:"URL",icon:"Icon (optional)",add:"Add",name_error:"Must provide name",url_error:"Must provide URL"},date:{week:"Week"},weather:{not_found:"Not Found",meters:"{amount} metres",extra_information:"Extra Information",feels_like:"Feels like {amount}"},quote:{link_tooltip:"Open on Wikipedia",share:"Share",copy:"Copy",favourite:"Favourite",unfavourite:"Unfavourite"},navbar:{tooltips:{refresh:"Refresh"},notes:{title:"Notes",placeholder:"Type here"},todo:{title:"Todo",pin:"Pin",add:"Add",no_todos:"No Todos"},apps:{title:"Apps",no_apps:"No app links found"}}},IM=JSON.parse(`{"main":{"title":"Options","loading":"Loading...","file_upload_error":"File is over 2MB","navbar":{"settings":"Settings","library":"Library","discover":"Discover"},"error_boundary":{"title":"Error","message":"Failed to load this component of Mue","report_error":"Send Error Report","sent":"Sent!","refresh":"Refresh"},"settings":{"enabled":"Enabled","open_knowledgebase":"Open Knowledgebase","additional_settings":"Additional Settings","reminder":{"title":"NOTICE","message":"In order for all of the changes to take place, the page must be refreshed."},"sections":{"header":{"more_info":"More info","report_issue":"Report Issue","enabled":"Choose whether or not to show this widget","size":"Slider to control how large the widget is"},"time":{"title":"Time","format":"Format","type":"Type","type_subtitle":"Choose whether to display the time in digital format, analogue format, or a percentage completion of the day","digital":{"title":"Digital","subtitle":"Change how the digital clock looks","seconds":"Seconds","twentyfourhour":"24 Hour","twelvehour":"12 hour","zero":"Zero-padded"},"analogue":{"title":"Analogue","subtitle":"Change how the analogue clock looks","second_hand":"Seconds hand","minute_hand":"Minutes hand","hour_hand":"Hours hand","hour_marks":"Hour marks","minute_marks":"Minute marks","round_clock":"Rounded background"},"percentage_complete":"Percentage complete","vertical_clock":{"title":"Vertical Clock","change_hour_colour":"Change hour text colour","change_minute_colour":"Change minute text colour","change_second_colour":"Change second text colour"}},"date":{"title":"Date","week_number":"Week number","day_of_week":"Day of week","datenth":"Date nth","type":{"short":"Short","long":"Long","subtitle":"Whether to display the date in long form or short form"},"type_settings":"Display settings and format for the selected date type","short_date":"Short date","short_format":"Short format","long_format":"Long format","short_separator":{"title":"Short separator","dots":"Dots","dash":"Dash","gaps":"Gaps","slashes":"Slashes"}},"quote":{"title":"Quote","additional":"Other settings to customise the style of the quote widget","author_link":"Author link","author_details":"Author details","custom":"Custom quote","custom_subtitle":"Set your own custom quotes","no_quotes":"No quotes","author":"Author","custom_buttons":"Buttons","custom_author":"Custom author","author_img":"Show author image","add":"Add quote","source_subtitle":"Choose where to get quotes from","buttons":{"title":"Buttons","subtitle":"Choose which buttons to show on the quote","copy":"Copy","tweet":"Tweet","favourite":"Favourite"}},"greeting":{"title":"Greeting","events":{"0":"E","1":"v","2":"e","3":"n","4":"t","5":"s","title":"Events"},"events_description":"Control events on Mue such as birthdays.","enable_events":"Show messages on special days","default":"Default greeting message","name":"Name for greeting","birthday":"Birthday","birthday_subtitle":"Show a Happy Birthday message when it is your birthday","birthday_age":"Birthday age","birthday_date":"Birthday date","additional":"Settings for the greeting display","custom":"Custom events","event_name":"Event Name","day":"Day","month":"Month","no_events":"No Events","no_events_description":"Add Some Events","add_event":"Add Event"},"background":{"title":"Background","transition":"Fade-in transition","photo_information":"Show photo information","show_map":"Show location map on photo information if available","categories":"Categories","buttons":{"title":"Buttons","view":"Maximise","favourite":"Favourite","download":"Download"},"effects":{"title":"Effects","subtitle":"Add effects to the background images","blur":"Adjust blur","brightness":"Adjust brightness","filters":{"title":"Background filter","amount":"Filter amount","grayscale":"Grayscale","sepia":"Sepia","invert":"Invert","saturate":"Saturate","contrast":"Contrast"}},"type":{"title":"Type","api":"API","custom_image":"Custom image","custom_colour":"Custom colour/gradient","random_colour":"Random colour","random_gradient":"Random gradient"},"unsplash":{"title":"Unsplash Collection(s)","subtitle":"Select the collection(s) you want to use for your background","id":"Collection ID(s)","id_subtitle":"Enter a comma separated list of Unsplash IDs"},"source":{"title":"Source","subtitle":"Select where to get background images from","api":"Background API","custom_background":"Custom background","custom_colour":"Custom background colour","upload":"Upload","add_colour":"Add colour","add_background":"Add background","drop_to_upload":"Drop to upload","formats":"Available formats: {list}","select":"Or Select","add_url":"Add URL","disabled":"Disabled","loop_video":"Loop video","mute_video":"Mute video","quality":{"title":"Quality","original":"Original","high":"High Quality","normal":"Normal Quality","datasaver":"Data Saver"},"custom_title":"Custom Images","custom_description":"Select images from your local computer","remove":"Remove Image","delete_selected":"Delete {count} Selected","uploading":"Uploading {current} of {total}...","images":"images","tag_images":"Tag Images","tag_description":"Add {count} images to a folder (optional)","folder_name":"Folder Name","folder_placeholder":"Leave empty for no folder","storage_info":"Storage Information","storage_description":"Mue uses browser storage to save your custom images. The current limit is approximately 4.85MB for all settings and images combined.","storage_current":"Current usage: {used} of {total} ({percent}%)","sort":{"date_newest":"Date Added (Newest)","date_oldest":"Date Added (Oldest)","name_asc":"Name (A-Z)","name_desc":"Name (Z-A)","size_small":"File Size (Smallest)","size_large":"File Size (Largest)"}},"display":"Display","display_subtitle":"Change how background and photo information are loaded","api":"API Settings","api_subtitle":"Options for getting an image from an external service (API)"},"search":{"title":"Search","additional":"Additional options for search widget display and functionality","search_engine":"Search Engine","search_engine_subtitle":"Choose search engine to use in the search bar","custom":"Custom Search URL","autocomplete":"Autocomplete","autocomplete_provider":"Autocomplete Provider","autocomplete_provider_subtitle":"Search engine to use for autocomplete dropdown results","voice_search":"Voice search","dropdown":"Search Dropdown","focus":"Focus on tab open","chrome_policy_warning":"In version 7.2, the ability to choose your search engine within Mue was removed to comply with new Chrome Web Store guidelines. Mue now uses your browser's default search engine. You can change this in Chrome Settings."},"weather":{"title":"Weather","location":"Location","auto":"Auto","widget_type":"Widget Type","temp_format":{"title":"Temperature format","celsius":"Celsius","fahrenheit":"Fahrenheit","kelvin":"Kelvin"},"extra_info":{"title":"Extra information","show_location":"Show location","show_description":"Show description","weather_description":"Weather description","cloudiness":"Cloudiness","humidity":"Humidity","visibility":"Visibility","wind_speed":"Wind speed","wind_direction":"Wind direction","min_temp":"Minimum temperature","max_temp":"Maximum temperature","atmospheric_pressure":"Atmospheric pressure"},"options":{"basic":"Basic","standard":"Standard","expanded":"Expanded","custom":"Custom"},"custom_settings":"Custom Settings"},"quicklinks":{"title":"Quick Links","additional":"Additional settings for quick links display and functions","open_new":"Open in new tab","tooltip":"Tooltip","text_only":"Show text only","add_link":"Add Link","no_quicklinks":"No quick links","edit":"Edit","style":"Style","options":{"icon":"Icon","text_only":"Text Only","metro":"Metro"},"styling":"Styling","styling_description":"Customise Quick Links appearance"},"message":{"title":"Message","add":"Add message","messages":"Messages","text":"Text","no_messages":"No messages","add_some":"Go ahead and add some.","content":"Message Content"},"appearance":{"title":"Appearance","style":{"title":"Widget Style","description":"Choose between the two styles, legacy (enabled for pre 7.0 users) and our slick modern styling.","legacy":"Legacy","new":"New"},"theme":{"title":"Theme","description":"Change the theme of the Mue widgets and modals","auto":"Auto","light":"Light","dark":"Dark"},"navbar":{"title":"Navbar","widgets":"Navbar Widgets","notes":"Notes","refresh":"Refresh","refresh_subtitle":"Choose what is refreshed when you click the refresh button","hover":"Only display on hover","additional":"Modify navbar style and which buttons you want to display","refresh_options":{"none":"None","page":"Page"},"apps_subtitle":"Create a shortcut of your other commonly used websites."},"font":{"title":"Font","description":"Change the font used in Mue","custom":"Custom font","google":"Import from Google Fonts","weight":{"title":"Font weight","thin":"Thin","extra_light":"Extra Light","light":"Light","normal":"Normal","medium":"Medium","semi_bold":"Semi-Bold","bold":"Bold","extra_bold":"Extra-Bold"},"style":{"title":"Font style","normal":"Normal","italic":"Italic","oblique":"Oblique"}},"accessibility":{"title":"Accessibility","description":"Make Mue comfortable and accessible","animations":"Animations","text_shadow":{"title":"Widget text shadow","new":"New","old":"Old","none":"None"},"widget_zoom":"Widget Zoom","toast_duration":"Toast Duration","milliseconds":"milliseconds"}},"order":{"title":"Widget Order"},"advanced":{"title":"Advanced","offline_mode":"Offline mode","offline_subtitle":"When enabled, all requests to online services will be disabled.","data":"Data","data_description":"Choose whether to export your Mue settings to your computer, import an existing settings file, or reset your settings to their default values","data_subtitle":"Manage your data on Mue.","reset_modal":{"title":"WARNING","question":"Do you want to reset Mue?","information":"This will delete all data. If you wish to keep your data and preferences, please export them first.","cancel":"Cancel"},"customisation":"Customisation","custom_css":"Custom CSS","custom_css_subtitle":"Make Mue's styling customised to you with Cascading Style Sheets (CSS).","custom_js":"Custom JS","tab_name":"Tab name","tab_name_subtitle":"Change the name of the tab that appears in your browser","timezone":{"title":"Time Zone","subtitle":"Choose a timezone from the list instead of the automatic default from your computer","automatic":"Automatic"},"experimental_warning":"Please note that the Mue team cannot provide support if you have experimental mode on. Please disable it first and see if the issue continues to occur before contacting support.","preview_data_disabled":{"title":"Data Settings Disabled","description":"Data settings are disabled in preview mode. Please exit preview mode to use this feature."}},"stats":{"title":"Stats","sections":{"tabs_opened":"Tabs opened","backgrounds_favourited":"Backgrounds favourited","backgrounds_downloaded":"Backgrounds downloaded","quotes_favourited":"Quotes favourited","quicklinks_added":"Quicklinks added","settings_changed":"Settings changed","addons_installed":"Add-ons installed"},"usage":"Usage Stats","achievements":"Achievements","achievement_unlocked":"Achievement Unlocked: {name}","unlocked":"{count} Unlocked","locked":"Locked","clear_modal":{"question":"Do you want to clear your stats?","information":"This will clear all achievements and usage statistics."}},"experimental":{"title":"Experimental","warning":"These settings have not been fully tested/implemented and may not work correctly!","developer":"Developer"},"language":{"title":"Language","quote":"Quote language","search":"Search languages...","current":"Current","use_system":"Use system language","locale_formatting":"Format numbers for your language"},"changelog":{"title":"Change Log","by":"By {author}"},"about":{"title":"About","version":{"title":"Version","checking_update":"Checking for update","update_available":"Update available","no_update":"No update available","offline_mode":"Cannot check for update in offline mode","error":{"title":"Failed to get update information","description":"An error occured"}},"contact_us":"Contact Us","support_mue":"Support Mue","support_subtitle":"As Mue is entirely free, we rely on donations to cover the server bills and fund development","support_donate":"Donate","form_button":"Form","resources_used":{"title":"Resources used","bg_images":"Offline background images"},"contributors":"Contributors","supporters":"Supporters","no_supporters":"There are currently no Mue supporters","photographers":"Photographers","curators":"Add-on creators"}},"buttons":{"reset":"Reset","import":"Import","export":"Export","cancel":"Cancel","continue":"Continue","close":"Close"}},"marketplace":{"title":"Marketplace","by":"by {author}","all":"All","learn_more":"Learn More","photo_packs":"Photo Packs","quote_packs":"Quote Packs","preset_settings":"Preset Settings","no_items":"No items in this category","collection":"Collection","explore_collection":"Explore Collection","add_all":"Add All To Mue","collections":"Collections","cant_find":"Can't find what you're looking for?","knowledgebase_one":"Visit the","knowledgebase_two":"knowledgebase","knowledgebase_three":"to create your own.","installing":"Installing","product":{"overview":"Overview","information":"Information","last_updated":"Last Updated","description":"Description","details":"Details","more_from_curator":"More like this from {name}","show_more":"Show More","show_less":"Show Less","show_all":"Show All","showing":"Showing","no_images":"No. Images","no_quotes":"No. Quotes","version":"Version","created_by":"Created by","updated_at":"Updated on","part_of":"Part of","explore":"Explore","buttons":{"addtomue":"Add To","remove":"Remove","update_addon":"Update Add-on","back":"Back","report":"Report","not_available_preview":"Unavailable on Preview"},"not_in_language":"This add-on is not in your language","third_party_api":"This add-on uses a third-party API","sideload_warning":"This add-on has been sideloaded.","setting":"Setting","value":"Value"},"offline":{"title":"Looks like you're offline","description":"Please connect to the internet"}},"addons":{"added":"Added","check_updates":"Check for updates","no_updates":"No updates available","updates_available":"Updates available {amount}","empty":{"title":"Empty","description":"No addons are installed"},"sideload":{"title":"Sideload","description":"Install a Mue addon not on the marketplace from your computer","failed":"Failed to sideload addon","errors":{"no_name":"No name provided","no_author":"No author provided","no_type":"No type provided","invalid_photos":"Invalid photos object","invalid_quotes":"Invalid quotes object"}},"sort":{"title":"Sort","newest":"Installed (Newest)","a_z":"Alphabetical (A-Z)","recently_updated":"Recently Updated"},"create":{"title":"Create","moved_title":"Create add-on has moved!","moved_description":"Following the 7.1 update, the creation of addons has now moved to the web UI","moved_button":"Coming Soon...."}}},"update":{"title":"Update","offline":{"title":"Offline","description":"Cannot get update logs while in offline mode"},"error":{"title":"Error","description":"Could not connect to the server"}},"welcome":{"tip":"Quick Tip","sections":{"intro":{"title":"Welcome to Mue Tab","description":"Thank you for installing Mue, we hope you enjoy your time with our extension.","notices":{"discord_title":"Join our Discord","discord_description":"Talk with the Mue community and developers","discord_join":"Join","github_title":"Contribute on GitHub","github_description":"Report bugs, add features or donate","github_open":"Open"}},"language":{"title":"Choose your language","description":"Mue can be displayed the languages listed below. You can also add new translations on our"},"theme":{"title":"Select a theme","description":"Mue is available in both light and dark theme, or this can be automatically set depending on your system theme.","tip":"Using the Auto settings will use the theme on your computer. This setting will impact the modals and some of the widgets displayed on the screen, such as weather and notes."},"style":{"title":"Choose a style","description":"Mue currently offers the choice between the legacy styling and the newly released modern styling.","legacy":"Legacy","modern":"Modern"},"settings":{"title":"Import Settings","description":"Installing Mue on a new device? Feel free to import your old settings!","tip":"You can export your old settings by navigating to the Advanced tab in your old Mue setup. Then you need to click the export button which will download the JSON file. You can upload this file here to carry across your settings and preferences from your previous Mue installation."},"privacy":{"title":"Privacy Options","description":"Enable settings to further protect your privacy with Mue.","offline_mode_description":"Enabling offline mode will disable all requests to any service. This will result in online backgrounds, online quotes, marketplace, weather, quick links, change log and some about tab information to be disabled.","links":{"title":"Links","privacy_policy":"Privacy Policy","source_code":"Source Code"}},"final":{"title":"Final step","description":"Your Mue Tab experience is about to begin.","changes":"Changes","changes_description":"To change settings later click on the settings icon in the top right corner of your tab.","imported":"Imported {amount} settings"}},"buttons":{"next":"Next","preview":"Preview","previous":"Previous","close":"Close","finish":"Finish"},"preview":{"description":"You are currently in preview mode. Settings will be reset on closing this tab.","continue":"Continue setup"}},"share":{"copy_link":"Copy link","email":"Email"}}`),UM={quote:"Quote copied",notes:"Notes copied",reset:"Reset successfully",installed:"Successfully installed",uninstalled:"Successfully removed",updated:"Successfully updated",error:"Something went wrong",imported:"Successfully imported",no_storage:"Not enough storage",link_copied:"Link copied",stats_reset:"Stats reset"},wb={tabname:BM,widgets:LM,modals:IM,toasts:UM},PM="新标签页",HM={greeting:{morning:"早上好",afternoon:"下午好",evening:"晚上好",christmas:"圣诞节快乐",newyear:"新年快乐",halloween:"万圣节快乐",birthday:"生日快乐"},background:{credit:"图像作者:",unsplash:"@ Unsplash",information:"信息",download:"下载",downloads:"下载",views:"风景",likes:"喜爱",location:"地点",camera:"摄影",resolution:"分辨率",source:"来源",category:"分类",exclude:"不再显示",exclude_confirm:`您确定不希望看到这张照片吗?值得注意的是,如果你不喜欢 "{category}" 图片, 你可以在背景的来源设置中取消选择。`,confirm:"确认"},search:"搜索",quicklinks:{new:"新快捷方式",edit:"编辑链接",name:"名称",url:"链接",icon:"图标 (可选)",add:"添加",name_error:"请输入名称",url_error:"请输入链接"},date:{week:"周"},weather:{not_found:"未找到",meters:"{amount}米",extra_information:"更多信息",feels_like:"体感温度 {amount}"},quote:{link_tooltip:"在维基百科中打开",share:"分享",copy:"复制",favourite:"收藏",unfavourite:"不感兴趣"},navbar:{tooltips:{refresh:"刷新"},notes:{title:"便签",placeholder:"请键入内容"},todo:{title:"计划任务",pin:"固定",add:"添加",no_todos:"未找到任务"},apps:{title:"应用",no_apps:"未找到应用链接"}}},FM=JSON.parse(`{"main":{"title":"选项","loading":"载入中...","file_upload_error":"大小超过了 2MB","navbar":{"settings":"设置","library":"我的插件","discover":"插件市场"},"error_boundary":{"title":"错误","message":"无法载入该Mue组件","report_error":"发送错误报告","sent":"已发送!","refresh":"刷新"},"settings":{"enabled":"已启用","open_knowledgebase":"打开知识库","additional_settings":"更多设置","reminder":{"title":"注意","message":"刷新页面后设置才会生效"},"sections":{"header":{"more_info":"更多信息","report_issue":"报告 Issue","enabled":"选择是否显示此小部件","size":"滑动以控制该小部件的大小"},"time":{"title":"时间","format":"格式","type":"类型","type_subtitle":"选择时间显示类型(数字、模拟或百分比)","digital":{"title":"数字时钟","subtitle":"选择数字时钟的样式","seconds":"显示秒","twentyfourhour":"使用 24 小时制","twelvehour":"使用 12 小时制","zero":"加零补足两位数字"},"analogue":{"title":"模拟时钟","subtitle":"选择模拟时钟的样式","second_hand":"秒针","minute_hand":"分针","hour_hand":"时针","hour_marks":"时钟刻度","minute_marks":"分钟刻度","round_clock":"Rounded background"},"percentage_complete":"今天过去了%几","vertical_clock":{"title":"垂直时钟","change_hour_colour":"选择小时数颜色","change_minute_colour":"选择分钟数颜色","change_second_colour":"选择秒钟数颜色"}},"date":{"title":"显示日期","week_number":"第n周","day_of_week":"星期n","datenth":"添加th后缀","type":{"short":"短格式","long":"长格式","subtitle":"选择日期显示格式(短格式或长格式)"},"type_settings":"所选日期类型的显示设置和格式","short_date":"简写日期","short_format":"简写格式","long_format":"长格式","short_separator":{"title":"简写分隔","dots":"点","dash":"横杠","gaps":"空格","slashes":"斜杠"}},"quote":{"title":"名言警句","additional":"名言警句小部件的其他设置","author_link":"出处链接","author_details":"作者详情","custom":"自定义名言","custom_subtitle":"自定义名言","no_quotes":"没有名言","author":"作者","custom_buttons":"按钮","custom_author":"自定义出处","author_img":"显示作者图片","add":"继续添加名言","source_subtitle":"选择名言来源","buttons":{"title":"下方按钮","subtitle":"选择名言下显示的按钮","copy":"显示复制按钮","tweet":"显示发推按钮","favourite":"显示收藏按钮"}},"greeting":{"title":"问候","events":"节日问候","events_description":"设定 Mue 上的时间,如生日","enable_events":"在特定的事件显示节日问候","default":"常规问候","name":"您在问候中的名字","birthday":"生日","birthday_subtitle":"在您的生日时祝您生日快了","birthday_age":"显示年龄","birthday_date":"生日日期","additional":"设置显示的问候","custom":"自定义事件","event_name":"时间名","day":"日","month":"月","no_events":"没有事件","no_events_description":"试着添加一些事件","add_event":"添加事件"},"background":{"title":"背景","transition":"过渡动画","photo_information":"显示图片信息","show_map":"在图片信息内显示位置信息 (如果可用)","categories":"分类","buttons":{"title":"显示顶部按钮","view":"仅显示背景","favourite":"收藏","download":"下载"},"effects":{"title":"背景特效","subtitle":"为背景图片添加特效","blur":"模糊程度","brightness":"更改亮度","filters":{"title":"背景滤镜","amount":"数值","grayscale":"灰度","sepia":"相片","invert":"反色","saturate":"饱和度","contrast":"对比度"}},"type":{"title":"来源","api":"网络图像库API","custom_image":"自定义图像/视频","custom_colour":"自定义纯色背景","random_colour":"随机纯色背景","random_gradient":"随机渐变色背景"},"unsplash":{"title":"Unsplash 分类(s)","subtitle":"选择背景的分类","id":"分类 ID","id_subtitle":"输入 Unsplash 分类 ID,以英文逗号分隔"},"source":{"title":"来源","subtitle":"选择背景图片来与那","api":"背景来源","custom_background":"自定义背景 (支持图片/视频)","custom_colour":"自定义背景颜色","upload":"选择","add_colour":"添加颜色","add_background":"继续添加背景","drop_to_upload":"拖拽到此处上传","formats":"支持的格式: {list}","select":"或者选择文件","add_url":"添加 URL","disabled":"已禁用","loop_video":"循环播放","mute_video":"静音","quality":{"title":"画质","original":"原画","high":"高画质","normal":"普通画质","datasaver":"省流模式"},"custom_title":"自定义图片","custom_description":"从你的计算机本地选择图片","remove":"删除图片","delete_selected":"Delete {count} Selected","uploading":"Uploading {current} of {total}...","images":"images","tag_images":"Tag Images","tag_description":"Add {count} images to a folder (optional)","folder_name":"Folder Name","folder_placeholder":"Leave empty for no folder","storage_info":"Storage Information","storage_description":"Mue uses browser storage to save your custom images. The current limit is approximately 4.85MB for all settings and images combined.","storage_current":"Current usage: {used} of {total} ({percent}%)","sort":{"date_newest":"Date Added (Newest)","date_oldest":"Date Added (Oldest)","name_asc":"Name (A-Z)","name_desc":"Name (Z-A)","size_small":"File Size (Smallest)","size_large":"File Size (Largest)"}},"display":"显示","display_subtitle":"Change how background and photo information are loaded","api":"API Settings","api_subtitle":"Options for getting an image from an external service (API)"},"search":{"title":"搜索栏","additional":"Additional options for search widget display and functionality","search_engine":"搜索引擎","search_engine_subtitle":"Choose search engine to use in the search bar","custom":"自定义搜索链接","autocomplete":"搜索联想","autocomplete_provider":"联想功能提供引擎","autocomplete_provider_subtitle":"Search engine to use for autocomplete dropdown results","voice_search":"语音搜索","dropdown":"搜索框左侧显示搜索引擎选择框","focus":"Focus on tab open","chrome_policy_warning":"In version 7.2, the ability to choose your search engine within Mue was removed to comply with new Chrome Web Store guidelines. Mue now uses your browser's default search engine. You can change this in Chrome Settings."},"weather":{"title":"天气","location":"位置","auto":"自动定位","widget_type":"Widget Type","temp_format":{"title":"温度单位","celsius":"摄氏度","fahrenheit":"华氏度","kelvin":"开尔文"},"extra_info":{"title":"更多信息","show_location":"显示位置","show_description":"显示描述","weather_description":"Weather description","cloudiness":"云量","humidity":"湿度","visibility":"能见度","wind_speed":"风速","wind_direction":"风向","min_temp":"最低温度","max_temp":"最高温度","atmospheric_pressure":"大气压"},"options":{"basic":"Basic","standard":"Standard","expanded":"Expanded","custom":"Custom"},"custom_settings":"Custom Settings"},"quicklinks":{"title":"快捷方式","additional":"Additional settings for quick links display and functions","open_new":"在新标签页打开","tooltip":"光标停留时下方显示标题","text_only":"仅显示标题","add_link":"Add Link","no_quicklinks":"No quicklinks","edit":"Edit","style":"Style","options":{"icon":"Icon","text_only":"Text Only","metro":"Metro"},"styling":"Quick Links Styling","styling_description":"Customise Quick Links appearance"},"message":{"title":"消息","add":"继续添加消息","messages":"Messages","text":"文本","no_messages":"No messages","add_some":"Go ahead and add some.","content":"Message Content"},"appearance":{"title":"外观","style":{"title":"Widget Style","description":"Choose between the two styles, legacy (enabled for pre 7.0 users) and our slick modern styling.","legacy":"Legacy","new":"New"},"theme":{"title":"主题","description":"Change the theme of the Mue widgets and modals","auto":"自动选择","light":"日间主题","dark":"夜间主题"},"navbar":{"title":"右上方功能键","widgets":"Navbar Widgets","notes":"便签","refresh":"刷新键","refresh_subtitle":"Choose what is refreshed when you click the refresh button","hover":"Only display on hover","additional":"Modify navbar style and which buttons you want to display","refresh_options":{"none":"不显示","page":"页面"},"apps_subtitle":"Create a shortcut of your other commonly used websites."},"font":{"title":"字体","description":"Change the font used in Mue","custom":"自定义字体","google":"从 Google Fonts 导入","weight":{"title":"字体粗细","thin":"极细","extra_light":"细字","light":"较细","normal":"一般","medium":"中等","semi_bold":"较粗","bold":"粗体","extra_bold":"加粗"},"style":{"title":"字体样式","normal":"常规","italic":"意大利斜体","oblique":"伪斜体"}},"accessibility":{"title":"无障碍设定","description":"Accessibility settings for Mue","animations":"动画效果","text_shadow":{"title":"Widget text shadow","new":"New","old":"Old","none":"None"},"widget_zoom":"小部件缩放","toast_duration":"窗口弹出时间长度","milliseconds":"毫秒"}},"order":{"title":"小部件顺序"},"advanced":{"title":"高级","offline_mode":"启用离线模式","offline_subtitle":"When enabled, all requests to online services will be disabled.","data":"数据和设置","data_description":"Choose whether to export your Mue settings to your computer, import an existing settings file, or reset your settings to their default values","data_subtitle":"Choose whether to export your Mue settings to your computer, import an existing settings file, or reset your settings to their default values","reset_modal":{"title":"警告","question":"您想要重置 Mue 的所有设置吗?","information":"本操作将删除所有数据。若您想保留数据及设置,请先将其导出。","cancel":"取消"},"customisation":"自定义","custom_css":"自定义 CSS","custom_css_subtitle":"Make Mue's styling customised to you with Cascading Style Sheets (CSS).","custom_js":"自定义 JS","tab_name":"新标签页名称","tab_name_subtitle":"Change the name of the tab that appears in your browser","timezone":{"title":"时区","subtitle":"Choose a timezone from the list instead of the automatic default from your computer","automatic":"自动"},"experimental_warning":"请注意 Mue 团队无法提供实验性功能的支持。若您遇到问题,请先关闭实验性功能,再寻求帮助。","preview_data_disabled":{"title":"Data Settings Disabled","description":"Data settings are disabled in preview mode. Please exit preview mode to use this feature."}},"stats":{"title":"统计","sections":{"tabs_opened":"页面打开次数","backgrounds_favourited":"收藏的背景","backgrounds_downloaded":"下载过背景","quotes_favourited":"收藏的名言警句","quicklinks_added":"添加的快捷方式","settings_changed":"更改的设置","addons_installed":"添加的插件"},"usage":"启用统计","achievements":"Achievements","achievement_unlocked":"Achievement Unlocked: {name}","unlocked":"{count} Unlocked","locked":"Locked","clear_modal":{"question":"Do you want to clear your stats?","information":"This will clear all achievements and usage statistics."}},"experimental":{"title":"实验性功能","warning":"以下设置仍未完成编写或测试,可能无法正常运作!","developer":"开发者"},"language":{"title":"语言","quote":"名言语言","search":"Search languages...","current":"Current","use_system":"Use system language","locale_formatting":"Format numbers for your language"},"changelog":{"title":"更新日志","by":"By {author}"},"about":{"title":"关于","version":{"title":"版本","checking_update":"正在检查更新……","update_available":"可下载更新","no_update":"无可下载更新","offline_mode":"离线模式下不能检查更新","error":{"title":"获取更新信息失败","description":"错误"}},"contact_us":"联系我们","support_mue":"支持 Mue","support_subtitle":"As Mue is entirely free, we rely on donations to cover the server bills and fund development","support_donate":"Donate","form_button":"Form","resources_used":{"title":"使用资源","bg_images":"离线背景"},"contributors":"贡献者","supporters":"支持者","no_supporters":"There are currently no Mue supporters","photographers":"背景摄影者","curators":"Add-on creators"}},"buttons":{"reset":"重置","import":"导入","export":"导出","cancel":"Cancel","continue":"Continue","close":"Close"}},"marketplace":{"title":"Marketplace","by":"by {author}","all":"All","learn_more":"Learn More","photo_packs":"图片包","quote_packs":"名言包","preset_settings":"预设设定","no_items":"本类别为空","collection":"Collection","explore_collection":"Explore Collection","add_all":"Add All To Mue","collections":"Collections","cant_find":"Can't find what you're looking for?","knowledgebase_one":"Visit the","knowledgebase_two":"knowledgebase","knowledgebase_three":"to create your own.","installing":"Installing","product":{"overview":"总览","information":"信息","last_updated":"更新日期","description":"Description","details":"Details","more_from_curator":"More like this from {name}","show_more":"Show More","show_less":"Show Less","show_all":"Show All","showing":"Showing","no_images":"No. Images","no_quotes":"No. Quotes","version":"版本","created_by":"Created by","updated_at":"Updated on","part_of":"Part of","explore":"Explore","buttons":{"addtomue":"添加至 Mue","remove":"卸载","update_addon":"Update Add-on","back":"Back","report":"Report","not_available_preview":"Unavailable on Preview"},"not_in_language":"This add-on is not in your language","third_party_api":"This add-on uses a third-party API","sideload_warning":"This add-on has been sideloaded.","setting":"Setting","value":"Value"},"offline":{"title":"您目前似乎离线","description":"请连接到互联网。"}},"addons":{"added":"已添加","check_updates":"Check for updates","no_updates":"No updates available","updates_available":"Updates available {amount}","empty":{"title":"这里空空如也","description":"请访问插件市场来添加插件。"},"sideload":{"title":"上传插件","description":"Install a Mue addon not on the marketplace from your computer","failed":"Failed to sideload addon","errors":{"no_name":"No name provided","no_author":"No author provided","no_type":"No type provided","invalid_photos":"Invalid photos object","invalid_quotes":"Invalid quotes object"}},"sort":{"title":"排序","newest":"安装过 (从新到旧)","a_z":"首字母 (A-Z)","recently_updated":"Recently Updated"},"create":{"title":"创建","moved_title":"Create add-on has moved!","moved_description":"Following the 7.1 update, the creation of addons has now moved to the web UI","moved_button":"Get Started"}}},"update":{"title":"更新日志","offline":{"title":"离线模式已启用","description":"不能从官网获取更新日志"},"error":{"title":"错误","description":"无法连接到服务器"}},"welcome":{"tip":"快速提示","sections":{"intro":{"title":"欢迎使用 Mue 新标签插件","description":"感谢您的安装。祝您使用愉快。","notices":{"discord_title":"Join our Discord","discord_description":"Talk with the Mue community and developers","discord_join":"Join","github_title":"Contribute on GitHub","github_description":"Report bugs, add features or donate","github_open":"Open"}},"language":{"title":"更改语言","description":"Mue 支持以下语言。你也可以在这里添加新的翻译"},"theme":{"title":"选择一个主题","description":"Mue 支持日间和夜间主题,或者设置为自动选择,主题将跟随系统主题自动切换","tip":"使用自动选择将使用您的电脑的主题。这个设置也会影响设置界面和一些小组件的主题,比如天气和便签。"},"style":{"title":"Choose a style","description":"Mue currently offers the choice between the legacy styling and the newly released modern styling.","legacy":"Legacy","modern":"Modern"},"settings":{"title":"导入设置","description":"在新设备上安装 Mue? 可以直接导入之前的设置!","tip":"您可以通过在之前设备上点击右上角的设置,打开高级选项卡,然后点击导出按钮,浏览器将自动下载一个 json 文件。你可以在上面点击导入按钮导入该 json 文件来导入你之前的设置和偏好。"},"privacy":{"title":"隐私设置","description":"进行一些设置来和 Mue 更好的保护您的隐私","offline_mode_description":"启用离线模式将会关闭所有服务的网络访问。该选项会关闭所有在线背景图片、在线名言警句、插件市场、天气、快捷方式、更新历史和一些关于信息的网络访问。","links":{"title":"链接","privacy_policy":"隐私政策","source_code":"源代码"}},"final":{"title":"最后一步","description":"马上即可开始使用 Mue!","changes":"更改的设置","changes_description":"如果需要进一步设置,点击右上角的设置图标即可弹出完整设置对话框。如果显示不正常,刷新即可。","imported":"导入{amount}设置"}},"buttons":{"next":"下一步","preview":"Preview","previous":"上一步","close":"关闭","finish":"Finish"},"preview":{"description":"You are currently in preview mode. Settings will be reset on closing this tab.","continue":"Continue setup"}},"share":{"copy_link":"Copy link","email":"Email"}}`),VM={quote:"名言已复制",notes:"便签已复制",reset:"重置成功",installed:"安装成功",uninstalled:"卸载成功",updated:"Successfully updated",error:"发生错误",imported:"导入成功",no_storage:"Not enough storage",link_copied:"Link copied",stats_reset:"Stats reset"},Sb={tabname:PM,widgets:HM,modals:FM,toasts:VM},GM="新分頁",KM={greeting:{morning:"早安",afternoon:"午安",evening:"晚安",christmas:"聖誕快樂",newyear:"新年快樂",halloween:"萬聖節快樂",birthday:"生日快樂"},background:{credit:"影像來自",unsplash:"在 Unsplash 上",information:"資訊",download:"下載",downloads:"下載",views:"檢視",likes:"喜歡",location:"地點",camera:"相機",resolution:"解析度",source:"來源",category:"類別",exclude:"不要再顯示",exclude_confirm:`你確定你不想再次看到此影像嗎?-注意:如果你不喜歡「{category}」影像,你可以在背景來源設定中取消選擇該類別。`,confirm:"確認"},search:"搜尋",quicklinks:{new:"新增連結",edit:"編輯連結",name:"名稱",url:"網址",icon:"圖示(選擇性)",add:"增加",name_error:"必須提供名稱",url_error:"必須提供網址"},date:{week:"週"},weather:{not_found:"找不到",meters:"{amount} 公尺",extra_information:"額外資訊",feels_like:"感覺像 {amount}"},quote:{link_tooltip:"在維基百科上開啟",share:"分享",copy:"複製",favourite:"收藏",unfavourite:"取消收藏"},navbar:{tooltips:{refresh:"重新整理"},notes:{title:"筆記",placeholder:"在此輸入"},todo:{title:"待辦事項",pin:"釘選",add:"增加",no_todos:"無待辦事項"},apps:{title:"應用程式",no_apps:"找不到應用程式連結"}}},YM=JSON.parse(`{"main":{"title":"選項","loading":"載入中…","file_upload_error":"檔案超過 2MB","navbar":{"settings":"設定","library":"附加元件","discover":"市場"},"error_boundary":{"title":"錯誤","message":"無法載入 Mue 的此元件","report_error":"傳送錯誤報告","sent":"已傳送!","refresh":"重新整理"},"settings":{"enabled":"已啟用","open_knowledgebase":"開啟知識庫","additional_settings":"附加設定","reminder":{"title":"注意","message":"為了使所有變更生效,必須重新整理頁面。"},"sections":{"header":{"more_info":"更多資訊","report_issue":"報告問題","enabled":"選擇是否顯示此小工具","size":"滑桿控制小部件的大小"},"time":{"title":"時間","format":"格式","type":"類型","type_subtitle":"選擇是否以數位格式、類比格式或當天完成百分比顯示時間","digital":{"title":"數位","subtitle":"變更數位時鐘的外觀","seconds":"秒","twentyfourhour":"24 小時制","twelvehour":"12 小時制","zero":"Zero-padded"},"analogue":{"title":"類比","subtitle":"變更類比時鐘的外觀","second_hand":"秒針","minute_hand":"分針","hour_hand":"時針","hour_marks":"小時刻度","minute_marks":"分鐘刻度","round_clock":"圓形背景"},"percentage_complete":"完成百分比","vertical_clock":{"title":"垂直時鐘","change_hour_colour":"變更小時文字顏色","change_minute_colour":"變更分鐘文字顏色","change_second_colour":"變更秒文字顏色"}},"date":{"title":"日期","week_number":"週數","day_of_week":"星期","datenth":"日期 th","type":{"short":"短","long":"長","subtitle":"Whether to display the date in long form or short form"},"type_settings":"Display settings and format for the selected date type","short_date":"Short date","short_format":"Short format","long_format":"Long format","short_separator":{"title":"Short separator","dots":"Dots","dash":"Dash","gaps":"Gaps","slashes":"Slashes"}},"quote":{"title":"Quote","additional":"Other settings to customise the style of the quote widget","author_link":"Author link","author_details":"作者詳細資訊","custom":"Custom quote","custom_subtitle":"Set your own custom quotes","no_quotes":"No quotes","author":"Author","custom_buttons":"Buttons","custom_author":"Custom author","author_img":"Show author image","add":"Add quote","source_subtitle":"Choose where to get quotes from","buttons":{"title":"Buttons","subtitle":"Choose which buttons to show on the quote","copy":"Copy","tweet":"Tweet","favourite":"Favourite"}},"greeting":{"title":"Greeting","events":{"0":"E","1":"v","2":"e","3":"n","4":"t","5":"s","title":"Events"},"events_description":"Control events on Mue such as birthdays.","enable_events":"Show messages on special days","default":"Default greeting message","name":"Name for greeting","birthday":"Birthday","birthday_subtitle":"Show a Happy Birthday message when it is your birthday","birthday_age":"Birthday age","birthday_date":"Birthday date","additional":"Settings for the greeting display","custom":"Custom events","event_name":"Event Name","day":"Day","month":"Month","no_events":"No Events","no_events_description":"Add Some Events","add_event":"Add Event"},"background":{"title":"Background","transition":"Fade-in transition","photo_information":"Show photo information","show_map":"Show location map on photo information if available","categories":"Categories","buttons":{"title":"Buttons","view":"Maximise","favourite":"Favourite","download":"Download"},"effects":{"title":"Effects","subtitle":"Add effects to the background images","blur":"Adjust blur","brightness":"Adjust brightness","filters":{"title":"Background filter","amount":"Filter amount","grayscale":"Grayscale","sepia":"Sepia","invert":"Invert","saturate":"Saturate","contrast":"Contrast"}},"type":{"title":"Type","api":"API","custom_image":"Custom image","custom_colour":"Custom colour/gradient","random_colour":"Random colour","random_gradient":"Random gradient"},"unsplash":{"title":"Unsplash Collection(s)","subtitle":"Select the collection(s) you want to use for your background","id":"Collection ID(s)","id_subtitle":"Enter a comma separated list of Unsplash IDs"},"source":{"title":"Source","subtitle":"Select where to get background images from","api":"Background API","custom_background":"Custom background","custom_colour":"Custom background colour","upload":"Upload","add_colour":"Add colour","add_background":"Add background","drop_to_upload":"Drop to upload","formats":"Available formats: {list}","select":"Or Select","add_url":"Add URL","disabled":"Disabled","loop_video":"Loop video","mute_video":"Mute video","quality":{"title":"Quality","original":"Original","high":"High Quality","normal":"Normal Quality","datasaver":"Data Saver"},"custom_title":"Custom Images","custom_description":"Select images from your local computer","remove":"Remove Image","delete_selected":"Delete {count} Selected","uploading":"Uploading {current} of {total}...","images":"images","tag_images":"Tag Images","tag_description":"Add {count} images to a folder (optional)","folder_name":"Folder Name","folder_placeholder":"Leave empty for no folder","storage_info":"Storage Information","storage_description":"Mue uses browser storage to save your custom images. The current limit is approximately 4.85MB for all settings and images combined.","storage_current":"Current usage: {used} of {total} ({percent}%)","sort":{"date_newest":"Date Added (Newest)","date_oldest":"Date Added (Oldest)","name_asc":"Name (A-Z)","name_desc":"Name (Z-A)","size_small":"File Size (Smallest)","size_large":"File Size (Largest)"}},"display":"Display","display_subtitle":"Change how background and photo information are loaded","api":"API Settings","api_subtitle":"Options for getting an image from an external service (API)"},"search":{"title":"Search","additional":"Additional options for search widget display and functionality","search_engine":"Search Engine","search_engine_subtitle":"Choose search engine to use in the search bar","custom":"Custom Search URL","autocomplete":"Autocomplete","autocomplete_provider":"Autocomplete Provider","autocomplete_provider_subtitle":"Search engine to use for autocomplete dropdown results","voice_search":"Voice search","dropdown":"Search Dropdown","focus":"Focus on tab open","chrome_policy_warning":"In version 7.2, the ability to choose your search engine within Mue was removed to comply with new Chrome Web Store guidelines. Mue now uses your browser's default search engine. You can change this in Chrome Settings."},"weather":{"title":"Weather","location":"Location","auto":"Auto","widget_type":"Widget Type","temp_format":{"title":"Temperature format","celsius":"Celsius","fahrenheit":"Fahrenheit","kelvin":"Kelvin"},"extra_info":{"title":"Extra information","show_location":"Show location","show_description":"Show description","weather_description":"Weather description","cloudiness":"Cloudiness","humidity":"Humidity","visibility":"Visibility","wind_speed":"Wind speed","wind_direction":"Wind direction","min_temp":"Minimum temperature","max_temp":"Maximum temperature","atmospheric_pressure":"Atmospheric pressure"},"options":{"basic":"Basic","standard":"Standard","expanded":"Expanded","custom":"Custom"},"custom_settings":"Custom Settings"},"quicklinks":{"title":"Quick Links","additional":"Additional settings for quick links display and functions","open_new":"Open in new tab","tooltip":"Tooltip","text_only":"Show text only","add_link":"Add Link","no_quicklinks":"No quick links","edit":"Edit","style":"Style","options":{"icon":"Icon","text_only":"Text Only","metro":"Metro"},"styling":"Styling","styling_description":"Customise Quick Links appearance"},"message":{"title":"Message","add":"Add message","messages":"Messages","text":"Text","no_messages":"No messages","add_some":"Go ahead and add some.","content":"Message Content"},"appearance":{"title":"Appearance","style":{"title":"Widget Style","description":"Choose between the two styles, legacy (enabled for pre 7.0 users) and our slick modern styling.","legacy":"Legacy","new":"New"},"theme":{"title":"Theme","description":"Change the theme of the Mue widgets and modals","auto":"Auto","light":"Light","dark":"Dark"},"navbar":{"title":"Navbar","widgets":"Navbar Widgets","notes":"Notes","refresh":"Refresh","refresh_subtitle":"Choose what is refreshed when you click the refresh button","hover":"Only display on hover","additional":"Modify navbar style and which buttons you want to display","refresh_options":{"none":"None","page":"Page"},"apps_subtitle":"Create a shortcut of your other commonly used websites."},"font":{"title":"Font","description":"Change the font used in Mue","custom":"Custom font","google":"Import from Google Fonts","weight":{"title":"Font weight","thin":"Thin","extra_light":"Extra Light","light":"Light","normal":"Normal","medium":"Medium","semi_bold":"Semi-Bold","bold":"Bold","extra_bold":"Extra-Bold"},"style":{"title":"Font style","normal":"Normal","italic":"Italic","oblique":"Oblique"}},"accessibility":{"title":"Accessibility","description":"Make Mue comfortable and accessible","animations":"Animations","text_shadow":{"title":"Widget text shadow","new":"New","old":"Old","none":"None"},"widget_zoom":"Widget Zoom","toast_duration":"Toast Duration","milliseconds":"milliseconds"}},"order":{"title":"Widget Order"},"advanced":{"title":"Advanced","offline_mode":"Offline mode","offline_subtitle":"When enabled, all requests to online services will be disabled.","data":"Data","data_description":"Choose whether to export your Mue settings to your computer, import an existing settings file, or reset your settings to their default values","data_subtitle":"Manage your data on Mue.","reset_modal":{"title":"WARNING","question":"Do you want to reset Mue?","information":"This will delete all data. If you wish to keep your data and preferences, please export them first.","cancel":"Cancel"},"customisation":"Customisation","custom_css":"Custom CSS","custom_css_subtitle":"Make Mue's styling customised to you with Cascading Style Sheets (CSS).","custom_js":"Custom JS","tab_name":"Tab name","tab_name_subtitle":"Change the name of the tab that appears in your browser","timezone":{"title":"Time Zone","subtitle":"Choose a timezone from the list instead of the automatic default from your computer","automatic":"Automatic"},"experimental_warning":"Please note that the Mue team cannot provide support if you have experimental mode on. Please disable it first and see if the issue continues to occur before contacting support.","preview_data_disabled":{"title":"Data Settings Disabled","description":"Data settings are disabled in preview mode. Please exit preview mode to use this feature."}},"stats":{"title":"Stats","sections":{"tabs_opened":"Tabs opened","backgrounds_favourited":"Backgrounds favourited","backgrounds_downloaded":"Backgrounds downloaded","quotes_favourited":"Quotes favourited","quicklinks_added":"Quicklinks added","settings_changed":"Settings changed","addons_installed":"Add-ons installed"},"usage":"Usage Stats","achievements":"Achievements","achievement_unlocked":"Achievement Unlocked: {name}","unlocked":"{count} Unlocked","locked":"Locked","clear_modal":{"question":"Do you want to clear your stats?","information":"This will clear all achievements and usage statistics."}},"experimental":{"title":"Experimental","warning":"These settings have not been fully tested/implemented and may not work correctly!","developer":"Developer"},"language":{"title":"Language","quote":"Quote language","search":"Search languages...","current":"Current","use_system":"Use system language","locale_formatting":"Format numbers for your language"},"changelog":{"title":"Change Log","by":"By {author}"},"about":{"title":"About","version":{"title":"Version","checking_update":"Checking for update","update_available":"Update available","no_update":"No update available","offline_mode":"Cannot check for update in offline mode","error":{"title":"Failed to get update information","description":"An error occured"}},"contact_us":"Contact Us","support_mue":"Support Mue","support_subtitle":"As Mue is entirely free, we rely on donations to cover the server bills and fund development","support_donate":"Donate","form_button":"Form","resources_used":{"title":"Resources used","bg_images":"Offline background images"},"contributors":"Contributors","supporters":"Supporters","no_supporters":"There are currently no Mue supporters","photographers":"Photographers","curators":"Add-on creators"}},"buttons":{"reset":"Reset","import":"Import","export":"Export","cancel":"Cancel","continue":"Continue","close":"Close"}},"marketplace":{"title":"Marketplace","by":"by {author}","all":"All","learn_more":"Learn More","photo_packs":"Photo Packs","quote_packs":"Quote Packs","preset_settings":"Preset Settings","no_items":"No items in this category","collection":"Collection","explore_collection":"Explore Collection","add_all":"Add All To Mue","collections":"Collections","cant_find":"Can't find what you're looking for?","knowledgebase_one":"Visit the","knowledgebase_two":"knowledgebase","knowledgebase_three":"to create your own.","installing":"Installing","product":{"overview":"Overview","information":"Information","last_updated":"Last Updated","description":"Description","details":"Details","more_from_curator":"More like this from {name}","show_more":"Show More","show_less":"Show Less","show_all":"Show All","showing":"Showing","no_images":"No. Images","no_quotes":"No. Quotes","version":"Version","created_by":"Created by","updated_at":"Updated on","part_of":"Part of","explore":"Explore","buttons":{"addtomue":"Add To Mue","remove":"Remove","update_addon":"Update Add-on","back":"Back","report":"Report","not_available_preview":"Unavailable on Preview"},"not_in_language":"This add-on is not in your language","third_party_api":"This add-on uses a third-party API","sideload_warning":"This add-on has been sideloaded.","setting":"Setting","value":"Value"},"offline":{"title":"Looks like you're offline","description":"Please connect to the internet"}},"addons":{"added":"Added","check_updates":"Check for updates","no_updates":"No updates available","updates_available":"Updates available {amount}","empty":{"title":"Empty","description":"No addons are installed"},"sideload":{"title":"Sideload","description":"Install a Mue addon not on the marketplace from your computer","failed":"Failed to sideload addon","errors":{"no_name":"No name provided","no_author":"No author provided","no_type":"No type provided","invalid_photos":"Invalid photos object","invalid_quotes":"Invalid quotes object"}},"sort":{"title":"Sort","newest":"Installed (Newest)","a_z":"Alphabetical (A-Z)","recently_updated":"Recently Updated"},"create":{"title":"Create","moved_title":"Create add-on has moved!","moved_description":"Following the 7.1 update, the creation of addons has now moved to the web UI","moved_button":"Coming Soon...."}}},"update":{"title":"Update","offline":{"title":"Offline","description":"Cannot get update logs while in offline mode"},"error":{"title":"Error","description":"Could not connect to the server"}},"welcome":{"tip":"Quick Tip","sections":{"intro":{"title":"Welcome to Mue Tab","description":"Thank you for installing Mue, we hope you enjoy your time with our extension.","notices":{"discord_title":"Join our Discord","discord_description":"Talk with the Mue community and developers","discord_join":"Join","github_title":"Contribute on GitHub","github_description":"Report bugs, add features or donate","github_open":"Open"}},"language":{"title":"Choose your language","description":"Mue can be displayed the languages listed below. You can also add new translations on our"},"theme":{"title":"Select a theme","description":"Mue is available in both light and dark theme, or this can be automatically set depending on your system theme.","tip":"Using the Auto settings will use the theme on your computer. This setting will impact the modals and some of the widgets displayed on the screen, such as weather and notes."},"style":{"title":"Choose a style","description":"Mue currently offers the choice between the legacy styling and the newly released modern styling.","legacy":"Legacy","modern":"Modern"},"settings":{"title":"Import Settings","description":"Installing Mue on a new device? Feel free to import your old settings!","tip":"You can export your old settings by navigating to the Advanced tab in your old Mue setup. Then you need to click the export button which will download the JSON file. You can upload this file here to carry across your settings and preferences from your previous Mue installation."},"privacy":{"title":"Privacy Options","description":"Enable settings to further protect your privacy with Mue.","offline_mode_description":"Enabling offline mode will disable all requests to any service. This will result in online backgrounds, online quotes, marketplace, weather, quick links, change log and some about tab information to be disabled.","links":{"title":"Links","privacy_policy":"Privacy Policy","source_code":"Source Code"}},"final":{"title":"Final step","description":"Your Mue Tab experience is about to begin.","changes":"Changes","changes_description":"To change settings later click on the settings icon in the top right corner of your tab.","imported":"Imported {amount} settings"}},"buttons":{"next":"Next","preview":"Preview","previous":"Previous","close":"Close","finish":"Finish"},"preview":{"description":"You are currently in preview mode. Settings will be reset on closing this tab.","continue":"Continue setup"}},"share":{"copy_link":"Copy link","email":"Email"}}`),WM={quote:"Quote copied",notes:"Notes copied",reset:"Reset successfully",installed:"Successfully installed",uninstalled:"Successfully removed",updated:"Successfully updated",error:"Something went wrong",imported:"Successfully imported",no_storage:"Not enough storage",link_copied:"Link copied",stats_reset:"Stats reset"},Mb={tabname:GM,widgets:KM,modals:YM,toasts:WM};function Dl(o){return new M0("en_GB",{ar:Kv,arz:Yv,az:Wv,azb:Qv,bn:Zv,de_DE:Xv,el:Jv,en_GB:$v,en_US:eb,es:tb,es_419:ab,et:ob,fa:ib,fr:nb,hu:sb,id_ID:rb,ja:lb,lt:ub,lv:db,nl:cb,no:mb,peo:pb,pt:fb,pt_BR:gb,ru:hb,sl:_b,sv:vb,ta:bb,tr_TR:yb,uk:kb,vi:wb,zh_CN:Sb,zh_Hant:Mb})}const QM={ar:Kv,arz:Yv,az:Wv,azb:Qv,bn:Zv,de_DE:Xv,el:Jv,en_GB:$v,en_US:eb,es:tb,es_419:ab,et:ob,fa:ib,fr:nb,hu:sb,id_ID:rb,ja:lb,lt:ub,lv:db,nl:cb,no:mb,peo:pb,pt:fb,pt_BR:gb,ru:hb,sl:_b,sv:vb,ta:bb,tr_TR:yb,uk:kb,vi:wb,zh_CN:Sb,zh_Hant:Mb},ZM="https://webbrain.one",XM="https://webbrain.one/privacy",JM="https://github.com/esokullu/webbrain",$M="https://github.com/esokullu/webbrain/issues/new",eA="https://github.com/mue/mue",tA="7.6.0",aA="1.0.0",oA=Object.freeze(Object.defineProperty({__proto__:null,BUG_REPORT:$M,MUE_REPO_URL:eA,MUE_VERSION:tA,PRIVACY_URL:XM,REPO_URL:JM,VERSION:aA,WEBSITE_URL:ZM},Symbol.toStringTag,{value:"Module"}));class iA{static async postEvent(){}static async tabLoad(){}}const pe={language:{},languagecode:"",stats:iA,constants:oA};class ve{static listeners={};static register(n,u){this.listeners[n]||(this.listeners[n]=[]),u.first?this.listeners[n].unshift(u):this.listeners[n].push(u)}static on(n,u){const l=d=>u(d.detail);document.addEventListener(n,l),this.register(n,{callback:u,listener:l,capture:!1})}static emit(n,u){document.dispatchEvent(new CustomEvent(n,{detail:u}))}static off(n,u){if(typeof u!="function")return;const l=this.listeners[n]||[],d=l.filter(c=>c.callback===u||c.listener===u);d.forEach(c=>document.removeEventListener(n,c.listener,{capture:c.capture})),this.listeners[n]=l.filter(c=>!d.includes(c))}static once(n,u){const l=d=>{this.off(n,l),u(d.detail)};document.addEventListener(n,l),this.register(n,{callback:u,listener:l,capture:!1})}static prepend(n,u){const l=d=>u(d.detail);document.addEventListener(n,l,{capture:!0}),this.register(n,{callback:u,listener:l,capture:!0,first:!0})}static prependOnce(n,u){const l=d=>{this.off(n,l),u(d.detail)};document.addEventListener(n,l,{capture:!0}),this.register(n,{callback:u,listener:l,capture:!0,first:!0})}static getListeners(n){return this.listeners[n]||[]}static eventNames(){return Object.keys(this.listeners)}static removeAllListeners(){Object.keys(this.listeners).forEach(n=>{this.listeners[n].forEach(({listener:u,capture:l})=>{document.removeEventListener(n,u,{capture:l})})}),this.listeners={}}}const nA={en:"en_GB",zh:"zh_CN",ar:"ar",bn:"bn",nl:"nl",fr:"fr",de:"de_DE",id:"id_ID",ja:"ja",fa:"fa",pt:"pt_BR",ru:"ru",es:"es",tr:"tr_TR",uk:"uk",vi:"vi"};function Ab(){let o;try{o=String(Ll?.getItem("wbLocale")||"").trim()}catch{o=""}return o||String(globalThis.navigator?.language||"en").slice(0,2).toLowerCase()}function sA(){return nA[Ab()]||"en_GB"}const rA=["ask","act","search","placeholder_ask","placeholder_act","placeholder_search","go","act_hint","panel_failed","recent_title","recent_empty","recent_all","settings_taskbox","settings_taskbox_sub","settings_default_mode","settings_recent","settings_credits","settings_bundled_photos"],lA={en:["Ask","Act","Search","Ask WebBrain anything…","Tell WebBrain what to do…","Search or enter a URL","Go","WebBrain opens with your task ready. Press Enter there to run it.","Couldn't open the WebBrain panel. Click the WebBrain toolbar icon.","Recent chats","No chats yet","All history","Task box","Ask or act with WebBrain from the new tab.","Default mode","Show recent chats","Credits","Bundled photos"],es:["Preguntar","Actuar","Buscar","Pregunta lo que quieras a WebBrain…","Dile a WebBrain qué hacer…","Busca o escribe una URL","Ir","WebBrain se abre con tu tarea lista. Pulsa Intro allí para ejecutarla.","No se pudo abrir el panel de WebBrain. Haz clic en el icono de WebBrain de la barra.","Chats recientes","Aún no hay chats","Todo el historial","Cuadro de tareas","Pregunta o actúa con WebBrain desde la nueva pestaña.","Modo predeterminado","Mostrar chats recientes","Créditos","Fotos incluidas"],fr:["Demander","Agir","Rechercher","Posez n’importe quelle question à WebBrain…","Dites à WebBrain quoi faire…","Rechercher ou saisir une URL","OK","WebBrain s’ouvre avec votre tâche prête. Appuyez sur Entrée pour la lancer.","Impossible d’ouvrir le panneau WebBrain. Cliquez sur l’icône WebBrain de la barre d’outils.","Discussions récentes","Aucune discussion","Tout l’historique","Zone de tâche","Posez une question ou agissez avec WebBrain depuis le nouvel onglet.","Mode par défaut","Afficher les discussions récentes","Crédits","Photos incluses"],de:["Fragen","Handeln","Suchen","Frag WebBrain, was du willst…","Sag WebBrain, was zu tun ist…","Suchen oder URL eingeben","Los","WebBrain öffnet sich mit deiner Aufgabe. Drücke dort Enter, um sie auszuführen.","Das WebBrain-Panel konnte nicht geöffnet werden. Klicke auf das WebBrain-Symbol in der Symbolleiste.","Letzte Chats","Noch keine Chats","Gesamter Verlauf","Aufgabenfeld","Frage oder handle mit WebBrain direkt im neuen Tab.","Standardmodus","Letzte Chats anzeigen","Danksagungen","Mitgelieferte Fotos"],tr:["Sor","Yap","Ara","WebBrain’e her şeyi sor…","WebBrain’e ne yapacağını söyle…","Ara veya URL gir","Git","WebBrain, görevin hazır şekilde açılır. Çalıştırmak için orada Enter’a bas.","WebBrain paneli açılamadı. Araç çubuğundaki WebBrain simgesine tıkla.","Son sohbetler","Henüz sohbet yok","Tüm geçmiş","Görev kutusu","Yeni sekmeden WebBrain ile sor veya işlem yap.","Varsayılan mod","Son sohbetleri göster","Katkılar","Dahili fotoğraflar"],pt:["Perguntar","Agir","Pesquisar","Pergunte qualquer coisa ao WebBrain…","Diga ao WebBrain o que fazer…","Pesquise ou digite um URL","Ir","O WebBrain abre com sua tarefa pronta. Pressione Enter lá para executá-la.","Não foi possível abrir o painel do WebBrain. Clique no ícone do WebBrain na barra de ferramentas.","Conversas recentes","Ainda não há conversas","Todo o histórico","Caixa de tarefas","Pergunte ou aja com o WebBrain na nova guia.","Modo padrão","Mostrar conversas recentes","Créditos","Fotos incluídas"],ru:["Спросить","Действовать","Поиск","Спросите WebBrain о чём угодно…","Скажите WebBrain, что сделать…","Введите запрос или URL","Вперёд","WebBrain откроется с готовой задачей. Нажмите там Enter, чтобы запустить её.","Не удалось открыть панель WebBrain. Нажмите значок WebBrain на панели инструментов.","Недавние чаты","Чатов пока нет","Вся история","Поле задач","Спрашивайте и действуйте с WebBrain прямо на новой вкладке.","Режим по умолчанию","Показывать недавние чаты","Авторы и лицензии","Встроенные фото"],uk:["Запитати","Діяти","Пошук","Запитайте WebBrain про що завгодно…","Скажіть WebBrain, що зробити…","Введіть запит або URL","Вперед","WebBrain відкриється з готовим завданням. Натисніть там Enter, щоб запустити його.","Не вдалося відкрити панель WebBrain. Натисніть значок WebBrain на панелі інструментів.","Нещодавні чати","Чатів поки немає","Уся історія","Поле завдань","Запитуйте та виконуйте завдання з WebBrain просто на новій вкладці.","Режим за замовчуванням","Показувати нещодавні чати","Автори та ліцензії","Вбудовані фото"],zh:["提问","执行","搜索","向 WebBrain 提任何问题…","告诉 WebBrain 要做什么…","搜索或输入网址","前往","WebBrain 将带着你的任务打开。在那里按 Enter 即可运行。","无法打开 WebBrain 面板。请点击工具栏中的 WebBrain 图标。","最近的对话","还没有对话","全部历史","任务框","在新标签页中直接向 WebBrain 提问或下达任务。","默认模式","显示最近的对话","致谢","内置照片"],ja:["質問","実行","検索","WebBrain に何でも聞く…","WebBrain にやってほしいことを伝える…","検索または URL を入力","移動","タスクを入力した状態で WebBrain が開きます。そこで Enter を押すと実行されます。","WebBrain パネルを開けませんでした。ツールバーの WebBrain アイコンをクリックしてください。","最近のチャット","チャットはまだありません","すべての履歴","タスクボックス","新しいタブから WebBrain に質問したり操作を任せたりできます。","デフォルトのモード","最近のチャットを表示","クレジット","同梱の写真"],ko:["질문","실행","검색","WebBrain에게 무엇이든 물어보세요…","WebBrain에게 할 일을 알려주세요…","검색하거나 URL 입력","이동","작업이 입력된 상태로 WebBrain이 열립니다. 거기서 Enter를 누르면 실행됩니다.","WebBrain 패널을 열 수 없습니다. 도구 모음의 WebBrain 아이콘을 클릭하세요.","최근 대화","아직 대화가 없습니다","전체 기록","작업 상자","새 탭에서 바로 WebBrain에게 질문하거나 작업을 맡기세요.","기본 모드","최근 대화 표시","크레딧","기본 제공 사진"],ar:["اسأل","نفّذ","ابحث","اسأل WebBrain أي شيء…","أخبر WebBrain بما يجب فعله…","ابحث أو أدخل عنوان URL","انتقال","يفتح WebBrain ومعه مهمتك جاهزة. اضغط Enter هناك لتشغيلها.","تعذّر فتح لوحة WebBrain. انقر على أيقونة WebBrain في شريط الأدوات.","المحادثات الأخيرة","لا توجد محادثات بعد","السجل الكامل","مربع المهام","اسأل أو نفّذ مع WebBrain مباشرة من علامة التبويب الجديدة.","الوضع الافتراضي","إظهار المحادثات الأخيرة","الشكر والتقدير","الصور المضمّنة"],he:["שאלה","פעולה","חיפוש","שאלו את WebBrain כל דבר…","ספרו ל-WebBrain מה לעשות…","חפשו או הזינו כתובת URL","מעבר","WebBrain ייפתח כשהמשימה שלכם מוכנה. לחצו שם Enter כדי להריץ אותה.","לא ניתן היה לפתוח את לוח WebBrain. לחצו על סמל WebBrain בסרגל הכלים.","שיחות אחרונות","עדיין אין שיחות","כל ההיסטוריה","תיבת משימות","שאלו או פעלו עם WebBrain ישירות מהכרטיסייה החדשה.","מצב ברירת מחדל","הצגת שיחות אחרונות","קרדיטים","תמונות מובנות"],hi:["पूछें","करें","खोजें","WebBrain से कुछ भी पूछें…","WebBrain को बताएँ क्या करना है…","खोजें या URL दर्ज करें","जाएँ","WebBrain आपके कार्य के साथ खुलेगा। चलाने के लिए वहाँ Enter दबाएँ।","WebBrain पैनल नहीं खुल सका। टूलबार में WebBrain आइकन पर क्लिक करें।","हाल की चैट","अभी कोई चैट नहीं","पूरा इतिहास","कार्य बॉक्स","नए टैब से ही WebBrain से पूछें या काम करवाएँ।","डिफ़ॉल्ट मोड","हाल की चैट दिखाएँ","श्रेय","शामिल तस्वीरें"],id:["Tanya","Jalankan","Cari","Tanyakan apa saja ke WebBrain…","Beri tahu WebBrain apa yang harus dilakukan…","Cari atau masukkan URL","Buka","WebBrain terbuka dengan tugas Anda siap. Tekan Enter di sana untuk menjalankannya.","Tidak dapat membuka panel WebBrain. Klik ikon WebBrain di bilah alat.","Obrolan terbaru","Belum ada obrolan","Semua riwayat","Kotak tugas","Tanya atau jalankan tugas dengan WebBrain langsung dari tab baru.","Mode default","Tampilkan obrolan terbaru","Kredit","Foto bawaan"],ms:["Tanya","Laksana","Cari","Tanya apa sahaja kepada WebBrain…","Beritahu WebBrain apa yang perlu dilakukan…","Cari atau masukkan URL","Pergi","WebBrain dibuka dengan tugas anda sedia. Tekan Enter di sana untuk menjalankannya.","Tidak dapat membuka panel WebBrain. Klik ikon WebBrain pada bar alat.","Sembang terkini","Belum ada sembang","Semua sejarah","Kotak tugas","Tanya atau laksanakan tugas dengan WebBrain terus dari tab baharu.","Mod lalai","Tunjukkan sembang terkini","Kredit","Foto terbina dalam"],tl:["Magtanong","Gumawa","Maghanap","Magtanong ng kahit ano sa WebBrain…","Sabihin sa WebBrain kung ano ang gagawin…","Maghanap o maglagay ng URL","Pumunta","Magbubukas ang WebBrain na handa na ang iyong gawain. Pindutin ang Enter doon para patakbuhin ito.","Hindi mabuksan ang panel ng WebBrain. I-click ang icon ng WebBrain sa toolbar.","Mga kamakailang chat","Wala pang chat","Buong kasaysayan","Kahon ng gawain","Magtanong o mag-utos sa WebBrain mula mismo sa bagong tab.","Default na mode","Ipakita ang mga kamakailang chat","Mga kredito","Mga kasamang larawan"],pl:["Zapytaj","Wykonaj","Szukaj","Zapytaj WebBrain o cokolwiek…","Powiedz WebBrain, co ma zrobić…","Wyszukaj lub wpisz adres URL","Idź","WebBrain otworzy się z gotowym zadaniem. Naciśnij tam Enter, aby je uruchomić.","Nie udało się otworzyć panelu WebBrain. Kliknij ikonę WebBrain na pasku narzędzi.","Ostatnie czaty","Brak czatów","Cała historia","Pole zadań","Pytaj i zlecaj zadania WebBrain prosto z nowej karty.","Tryb domyślny","Pokaż ostatnie czaty","Autorzy i licencje","Dołączone zdjęcia"],th:["ถาม","ทำ","ค้นหา","ถามอะไรก็ได้กับ WebBrain…","บอก WebBrain ว่าต้องทำอะไร…","ค้นหาหรือป้อน URL","ไป","WebBrain จะเปิดพร้อมงานของคุณ กด Enter ที่นั่นเพื่อรัน","เปิดแผง WebBrain ไม่ได้ คลิกไอคอน WebBrain บนแถบเครื่องมือ","แชตล่าสุด","ยังไม่มีแชต","ประวัติทั้งหมด","ช่องงาน","ถามหรือสั่งงาน WebBrain ได้จากแท็บใหม่ทันที","โหมดเริ่มต้น","แสดงแชตล่าสุด","เครดิต","รูปภาพที่รวมมา"],vi:["Hỏi","Thực hiện","Tìm kiếm","Hỏi WebBrain bất cứ điều gì…","Nói với WebBrain cần làm gì…","Tìm kiếm hoặc nhập URL","Đi","WebBrain sẽ mở với tác vụ đã sẵn sàng. Nhấn Enter ở đó để chạy.","Không thể mở bảng WebBrain. Hãy nhấp vào biểu tượng WebBrain trên thanh công cụ.","Cuộc trò chuyện gần đây","Chưa có cuộc trò chuyện","Toàn bộ lịch sử","Hộp tác vụ","Hỏi hoặc giao việc cho WebBrain ngay từ tab mới.","Chế độ mặc định","Hiện cuộc trò chuyện gần đây","Ghi công","Ảnh đi kèm"],bn:["জিজ্ঞাসা","করুন","খুঁজুন","WebBrain-কে যেকোনো কিছু জিজ্ঞাসা করুন…","WebBrain-কে বলুন কী করতে হবে…","খুঁজুন বা URL লিখুন","যান","আপনার কাজ প্রস্তুত অবস্থায় WebBrain খুলবে। চালাতে সেখানে Enter চাপুন।","WebBrain প্যানেল খোলা যায়নি। টুলবারে WebBrain আইকনে ক্লিক করুন।","সাম্প্রতিক চ্যাট","এখনো কোনো চ্যাট নেই","সম্পূর্ণ ইতিহাস","টাস্ক বক্স","নতুন ট্যাব থেকেই WebBrain-কে জিজ্ঞাসা করুন বা কাজ দিন।","ডিফল্ট মোড","সাম্প্রতিক চ্যাট দেখান","কৃতজ্ঞতা","অন্তর্ভুক্ত ছবি"],fa:["بپرس","اجرا کن","جستجو","از WebBrain هر چیزی بپرسید…","به WebBrain بگویید چه کار کند…","جستجو کنید یا نشانی URL وارد کنید","برو","WebBrain با وظیفهٔ آمادهٔ شما باز میشود. برای اجرا، آنجا Enter را بزنید.","پنل WebBrain باز نشد. روی نماد WebBrain در نوار ابزار کلیک کنید.","گفتگوهای اخیر","هنوز گفتگویی نیست","کل تاریخچه","جعبهٔ وظیفه","از همین زبانهٔ جدید از WebBrain بپرسید یا کار بسپارید.","حالت پیشفرض","نمایش گفتگوهای اخیر","سپاسها","عکسهای همراه"],nl:["Vragen","Uitvoeren","Zoeken","Vraag WebBrain alles…","Zeg WebBrain wat te doen…","Zoek of voer een URL in","Ga","WebBrain opent met je taak klaar. Druk daar op Enter om te starten.","Het WebBrain-paneel kon niet worden geopend. Klik op het WebBrain-pictogram in de werkbalk.","Recente chats","Nog geen chats","Alle geschiedenis","Taakvak","Vraag of voer uit met WebBrain, direct vanaf het nieuwe tabblad.","Standaardmodus","Recente chats tonen","Met dank aan","Meegeleverde foto’s"]},T_=Object.fromEntries(Object.entries(lA).map(([o,n])=>[o,Object.fromEntries(rA.map((u,l)=>[`wb.${u}`,n[l]]))]));function ya(o,n=Ab()){return T_[n]?.[o]??T_.en[o]??o}const Cb=o=>typeof o=="string"&&o.startsWith("wb."),xb=k.createContext();function uA({children:o,initialLanguage:n}){const[u,l]=k.useState(n),d=k.useRef(Dl());k.useEffect(()=>{u!==n&&(d.current=Dl()),pe.language=d.current,pe.languagecode=u,document.documentElement.lang=u.replace("_","-")},[u,n]);const c=k.useCallback(h=>{d.current=Dl(),pe.language=d.current,pe.languagecode=h,document.documentElement.lang=h.replace("_","-");const y=localStorage.getItem("tabName"),_=d.current?.getMessage(u,"tabname");if(y===_||!y){const g=QM[h.replace("-","_")]?.tabname||d.current?.getMessage(h,"tabname")||"Mue";localStorage.setItem("tabName",g),document.title=g}localStorage.setItem("language",h),localStorage.removeItem("currentWeather"),l(h)},[u]),f=k.useCallback((h,y={})=>Cb(h)?ya(h):d.current?d.current.getMessage(u,h,y):h,[u]);k.useEffect(()=>{const h=y=>{y?.language&&c(y.language)};return ve.on("languageChange",h),()=>{ve.off("languageChange",h)}},[c]),k.useEffect(()=>{pe.getMessage=(h,y={})=>f(h,y)},[f]);const p=k.useMemo(()=>({language:u,languagecode:u,changeLanguage:c,t:f}),[u,c,f]);return w.jsx(xb.Provider,{value:p,children:o})}function zb(){const o=k.useContext(xb);if(!o)throw new Error("useTranslation must be used within a TranslationProvider");return o}function Qo(){const{t:o}=zb();return o}function dA({info:o}){const n=Qo();return o.hidden===!0||!o.credit||localStorage.getItem("photoInformation")==="false"?null:w.jsx("div",{className:"photoInformation",style:{position:"absolute",left:"1rem",bottom:"1rem",padding:"4px 10px",borderRadius:"10px",fontSize:"0.8rem",color:"#fff",background:"rgba(0, 0, 0, 0.45)"},children:w.jsxs("span",{id:"credit",children:[n("widgets.background.credit")," ",o.credit]})})}const cA=k.memo(dA);var Tb={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},N_=_e.createContext&&_e.createContext(Tb),mA=["attr","size","title"];function pA(o,n){if(o==null)return{};var u,l,d=fA(o,n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(o);for(l=0;l<c.length;l++)u=c[l],n.indexOf(u)===-1&&{}.propertyIsEnumerable.call(o,u)&&(d[u]=o[u])}return d}function fA(o,n){if(o==null)return{};var u={};for(var l in o)if({}.hasOwnProperty.call(o,l)){if(n.indexOf(l)!==-1)continue;u[l]=o[l]}return u}function Il(){return Il=Object.assign?Object.assign.bind():function(o){for(var n=1;n<arguments.length;n++){var u=arguments[n];for(var l in u)({}).hasOwnProperty.call(u,l)&&(o[l]=u[l])}return o},Il.apply(null,arguments)}function E_(o,n){var u=Object.keys(o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);n&&(l=l.filter(function(d){return Object.getOwnPropertyDescriptor(o,d).enumerable})),u.push.apply(u,l)}return u}function Ul(o){for(var n=1;n<arguments.length;n++){var u=arguments[n]!=null?arguments[n]:{};n%2?E_(Object(u),!0).forEach(function(l){gA(o,l,u[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(u)):E_(Object(u)).forEach(function(l){Object.defineProperty(o,l,Object.getOwnPropertyDescriptor(u,l))})}return o}function gA(o,n,u){return(n=hA(n))in o?Object.defineProperty(o,n,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[n]=u,o}function hA(o){var n=_A(o,"string");return typeof n=="symbol"?n:n+""}function _A(o,n){if(typeof o!="object"||!o)return o;var u=o[Symbol.toPrimitive];if(u!==void 0){var l=u.call(o,n);if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(o)}function Nb(o){return o&&o.map((n,u)=>_e.createElement(n.tag,Ul({key:u},n.attr),Nb(n.child)))}function le(o){return n=>_e.createElement(vA,Il({attr:Ul({},o.attr)},n),Nb(o.child))}function vA(o){var n=u=>{var l=o.attr,d=o.size,c=o.title,f=pA(o,mA),p=d||u.size||"1em",h;return u.className&&(h=u.className),o.className&&(h=(h?h+" ":"")+o.className),_e.createElement("svg",Il({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},u.attr,l,f,{className:h,style:Ul(Ul({color:o.color||u.color},u.style),o.style),height:p,width:p,xmlns:"http://www.w3.org/2000/svg"}),c&&_e.createElement("title",null,c),o.children)};return N_!==void 0?_e.createElement(N_.Consumer,null,u=>n(u)):n(Tb)}function bA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"circle",attr:{cx:"12",cy:"4",r:"2"},child:[]},{tag:"path",attr:{d:"M15.89 8.11C15.5 7.72 14.83 7 13.53 7h-2.54C8.24 6.99 6 4.75 6 2H4c0 3.16 2.11 5.84 5 6.71V22h2v-6h2v6h2V10.05L18.95 14l1.41-1.41z"},child:[]}]})(o)}function WT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M21 3H3c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5a2 2 0 0 0-2-2m0 14H3V5h18z"},child:[]}]})(o)}function QT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M17 10H7v2h10zm2-7h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V8h14zm-5-5H7v2h7z"},child:[]}]})(o)}function Ls(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M17.65 6.35A7.96 7.96 0 0 0 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"},child:[]}]})(o)}function yA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"},child:[]}]})(o)}function Eb(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"},child:[]}]})(o)}function Is(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(o)}function kA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"},child:[]}]})(o)}function Nm(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},child:[]}]})(o)}function ZT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"},child:[]}]})(o)}function jb(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"},child:[]}]})(o)}function wA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"},child:[]}]})(o)}function SA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 17v2h6v-2zM3 5v2h10V5zm10 16v-2h8v-2h-8v-2h-2v6zM7 9v2H3v2h4v2h2V9zm14 4v-2H11v2zm-6-4h2V7h4V5h-4V3h-2z"},child:[]}]})(o)}function XT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"},child:[]}]})(o)}function MA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 5v4h2V5h4V3H5c-1.1 0-2 .9-2 2m2 10H3v4c0 1.1.9 2 2 2h4v-2H5zm14 4h-4v2h4c1.1 0 2-.9 2-2v-4h-2zm0-16h-4v2h4v4h2V5c0-1.1-.9-2-2-2"},child:[]}]})(o)}function AA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4z"},child:[]},{tag:"path",attr:{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 10-2.5-1.5L15 12V4h5z"},child:[]}]})(o)}function JT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2zm-3 4V8h-3V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8zM5 19l3-4 2 3 3-4 4 5z"},child:[]}]})(o)}function $T(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M5 20h14v-2H5zm0-10h4v6h6v-6h4l-7-7z"},child:[]}]})(o)}function eN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"},child:[]}]})(o)}function CA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"},child:[]}]})(o)}function xA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3"},child:[]}]})(o)}function Db(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 9V7c0-1.1-.9-2-2-2h-3c0-1.66-1.34-3-3-3S9 3.34 9 5H6c-1.1 0-2 .9-2 2v2c-1.66 0-3 1.34-3 3s1.34 3 3 3v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c1.66 0 3-1.34 3-3s-1.34-3-3-3M7.5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S9.83 13 9 13s-1.5-.67-1.5-1.5M16 17H8v-2h8zm-1-4c-.83 0-1.5-.67-1.5-1.5S14.17 10 15 10s1.5.67 1.5 1.5S15.83 13 15 13"},child:[]}]})(o)}function zA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 4V3c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6h1v4H9v11c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-9h8V4z"},child:[]}]})(o)}function tN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 9H4v2h16zM4 15h16v-2H4z"},child:[]}]})(o)}function j_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M22 7h-9v2h9zm0 8h-9v2h9zM5.54 11 2 7.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41zm0 8L2 15.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41z"},child:[]}]})(o)}function Ob(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",d:"M16 9V4h1c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3"},child:[]}]})(o)}function aN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.43-.98 2.63-2.31 2.98l1.46 1.46C20.88 15.61 22 13.95 22 12c0-2.76-2.24-5-5-5m-1 4h-2.19l2 2H16zM2 4.27l3.11 3.11A4.99 4.99 0 0 0 2 12c0 2.76 2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1 0-1.59 1.21-2.9 2.76-3.07L8.73 11H8v2h2.73L13 15.27V17h1.73l4.01 4L20 19.74 3.27 3z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 24V0"},child:[]}]})(o)}function TA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"},child:[]}]})(o)}function oN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M14.4 6 14 4H5v17h2v-7h5.6l.4 2h7V6z"},child:[]}]})(o)}function NA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"},child:[]}]})(o)}function D_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0"},child:[]},{tag:"path",attr:{d:"M8 11h8v2H8zm12.1 1H22c0-2.76-2.24-5-5-5h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M19 12h-2v3h-3v2h3v3h2v-3h3v-2h-3z"},child:[]}]})(o)}function EA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"},child:[]}]})(o)}function iN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"},child:[]}]})(o)}function jA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H6l-2 2V4h16z"},child:[]}]})(o)}function DA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8M6 13c0-1.65.67-3.15 1.76-4.24L6.34 7.34A8.01 8.01 0 0 0 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91"},child:[]}]})(o)}function nN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M13 2.05v3.03c3.39.49 6 3.39 6 6.92 0 .9-.18 1.75-.48 2.54l2.6 1.53c.56-1.24.88-2.62.88-4.07 0-5.18-3.95-9.45-9-9.95M12 19c-3.87 0-7-3.13-7-7 0-3.53 2.61-6.43 6-6.92V2.05c-5.06.5-9 4.76-9 9.95 0 5.52 4.47 10 9.99 10 3.31 0 6.24-1.61 8.06-4.09l-2.6-1.53A6.95 6.95 0 0 1 12 19"},child:[]}]})(o)}function OA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m22 5.72-4.6-3.86-1.29 1.53 4.6 3.86zM7.88 3.39 6.6 1.86 2 5.71l1.29 1.53zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9a9 9 0 0 0 0-18m0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7"},child:[]}]})(o)}function sN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},child:[]}]})(o)}function rN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"},child:[]}]})(o)}function qb(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M14 10H3v2h11zm0-4H3v2h11zM3 16h7v-2H3zm11.41 6L17 19.41 19.59 22 21 20.59 18.41 18 21 15.41 19.59 14 17 16.59 14.41 14 13 15.41 15.59 18 13 20.59z"},child:[]}]})(o)}function qA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M14 10H3v2h11zm0-4H3v2h11zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2zM3 16h7v-2H3z"},child:[]}]})(o)}function RA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 13H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2M19 3H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"},child:[]}]})(o)}function BA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m12.87 15.07-2.54-2.51.03-.03A17.5 17.5 0 0 0 14.07 6H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2zm-2.62 7 1.62-4.33L19.12 17z"},child:[]}]})(o)}function lN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6 10H6v-2h8zm4-4H6v-2h12z"},child:[]}]})(o)}function LA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.49.49 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"},child:[]}]})(o)}function Em(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"},child:[]}]})(o)}function IA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"},child:[]}]})(o)}function UA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1 1.1-.49 1.1-1.1-.49-1.1-1.1-1.1M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m2.19 12.19L6 18l3.81-8.19L18 6z"},child:[]}]})(o)}function PA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"},child:[]}]})(o)}function HA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 11H7v2h2zm4 0h-2v2h2zm4 0h-2v2h2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V9h14z"},child:[]}]})(o)}function FA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 8h-2.81a6 6 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20zm-6 8h-4v-2h4zm0-4h-4v-2h4z"},child:[]}]})(o)}function VA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m19 18 2 1V3c0-1.1-.9-2-2-2H8.99C7.89 1 7 1.9 7 3h10c1.1 0 2 .9 2 2zM15 5H5c-1.1 0-2 .9-2 2v16l7-3 7 3V7c0-1.1-.9-2-2-2"},child:[]}]})(o)}function O_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m2 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"},child:[]}]})(o)}function uN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m9 7h-6v13h-2v-6h-2v6H9V9H3V7h18z"},child:[]}]})(o)}function q_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M4 8h4V4H4zm6 12h4v-4h-4zm-6 0h4v-4H4zm0-6h4v-4H4zm6 0h4v-4h-4zm6-10v4h4V4zm-6 4h4V4h-4zm6 6h4v-4h-4zm0 6h4v-4h-4z"},child:[]}]})(o)}function GA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-4.86 8.86-3 3.87L9 13.14 6 17h12z"},child:[]}]})(o)}function dN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m19 9 1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25zM11.5 9.5 9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12zm-1.51 3.49L9 15.17l-.99-2.18L5.83 12l2.18-.99L9 8.83l.99 2.18 2.18.99z"},child:[]}]})(o)}function cN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5z"},child:[]}]})(o)}function mN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"},child:[]}]})(o)}function KA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18.62 18h-5.24l2-4H13V6h8v7.24zm-2-2h.76L19 12.76V8h-4v4h3.62zm-8 2H3.38l2-4H3V6h8v7.24zm-2-2h.76L9 12.76V8H5v4h3.62z"},child:[]}]})(o)}function YA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H6l-2 2V4h16zM7 9h2v2H7zm4 0h2v2h-2zm4 0h2v2h-2z"},child:[]}]})(o)}function WA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m23 12-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68zm-4.51 2.11.26 2.79-2.74.62-1.43 2.41L12 18.82l-2.58 1.11-1.43-2.41-2.74-.62.26-2.8L3.66 12l1.85-2.12-.26-2.78 2.74-.61 1.43-2.41L12 5.18l2.58-1.11 1.43 2.41 2.74.62-.26 2.79L20.34 12zM11 15h2v2h-2zm0-8h2v6h-2z"},child:[]}]})(o)}function pN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 6a9.77 9.77 0 0 1 8.82 5.5 9.65 9.65 0 0 1-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6m-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14M2.01 3.87l2.68 2.68A11.74 11.74 0 0 0 1 11.5C2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45zm7.5 7.5 2.61 2.61c-.04.01-.08.02-.12.02a2.5 2.5 0 0 1-2.5-2.5c0-.05.01-.08.01-.13m-3.4-3.4 1.75 1.75a4.6 4.6 0 0 0-.36 1.78 4.507 4.507 0 0 0 6.27 4.14l.98.98c-.88.24-1.8.38-2.75.38a9.77 9.77 0 0 1-8.82-5.5c.7-1.43 1.72-2.61 2.93-3.53"},child:[]}]})(o)}function fN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 6a9.77 9.77 0 0 1 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5A9.77 9.77 0 0 1 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4m0 5a2.5 2.5 0 0 1 0 5 2.5 2.5 0 0 1 0-5m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7"},child:[]}]})(o)}function QA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46a.5.5 0 0 0-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65A.49.49 0 0 0 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1a.6.6 0 0 0-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46a.5.5 0 0 0 .61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1q.09.03.18.03c.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64zm-1.98-1.71c.04.31.05.52.05.73s-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"},child:[]}]})(o)}function ZA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10.5 4.5c.28 0 .5.22.5.5v2h6v6h2c.28 0 .5.22.5.5s-.22.5-.5.5h-2v6h-2.12c-.68-1.75-2.39-3-4.38-3s-3.7 1.25-4.38 3H4v-2.12c1.75-.68 3-2.39 3-4.38S5.76 9.8 4.01 9.12L4 7h6V5c0-.28.22-.5.5-.5m0-2A2.5 2.5 0 0 0 8 5H4c-1.1 0-1.99.9-1.99 2v3.8h.29c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-.3c0-1.49 1.21-2.7 2.7-2.7s2.7 1.21 2.7 2.7v.3H17c1.1 0 2-.9 2-2v-4a2.5 2.5 0 0 0 0-5V7c0-1.1-.9-2-2-2h-4a2.5 2.5 0 0 0-2.5-2.5"},child:[]}]})(o)}function XA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"},child:[]}]})(o)}function JA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V5h14zM7 10h2v7H7zm4-3h2v10h-2zm4 6h2v4h-2z"},child:[]}]})(o)}const Yo={SETTINGS:"settings"},Re={SETTINGS:SA,LIBRARY:VA,TASKBOX:Db,DISCOVER:UA,NAVBAR:yA,GREETING:bA,TIME:OA,QUOTE:KA,QUICKLINKS:TA,DATE:HA,MESSAGE:YA,BACKGROUND:GA,SEARCH:Em,WEATHER:xA,APPEARANCE:zA,LANGUAGE:BA,ADVANCED:QA,EXPERIMENTAL:FA,STATS:JA,CHANGELOG:WA,ABOUT:IA,ADDED:ZA,CREATE:EA,OVERVIEW:RA,COLLECTIONS:AA},Fe={OVERVIEW:"modals.main.marketplace.product.overview",SETTINGS:"modals.main.navbar.settings",LIBRARY:"modals.main.navbar.library",DISCOVER:"modals.main.navbar.discover",NAVBAR:"modals.main.settings.sections.appearance.navbar.title",GREETING:"modals.main.settings.sections.greeting.title",TIME:"modals.main.settings.sections.time.title",QUICKLINKS:"modals.main.settings.sections.quicklinks.title",QUOTE:"modals.main.settings.sections.quote.title",DATE:"modals.main.settings.sections.date.title",MESSAGE:"modals.main.settings.sections.message.title",BACKGROUND:"modals.main.settings.sections.background.title",SEARCH:"modals.main.settings.sections.search.title",WEATHER:"modals.main.settings.sections.weather.title",APPEARANCE:"modals.main.settings.sections.appearance.title",LANGUAGE:"modals.main.settings.sections.language.title",ADVANCED:"modals.main.settings.sections.advanced.title",STATS:"modals.main.settings.sections.stats.title",EXPERIMENTAL:"modals.main.settings.sections.experimental.title",CHANGELOG:"modals.main.settings.sections.changelog.title",ABOUT:"modals.main.settings.sections.about.title",ADDED:"modals.main.addons.added",CREATE:"modals.main.addons.create.title",ALL_MARKETPLACE:"modals.main.marketplace.all",PHOTO_PACKS:"modals.main.marketplace.photo_packs",QUOTE_PACKS:"modals.main.marketplace.quote_packs",PRESET_SETTINGS:"modals.main.marketplace.preset_settings",COLLECTIONS:"modals.main.marketplace.collections"},gN=(o,n)=>({[n.getMessage(Fe.OVERVIEW)]:Re.OVERVIEW,[n.getMessage(Fe.SETTINGS)]:Re.SETTINGS,[n.getMessage(Fe.LIBRARY)]:Re.LIBRARY,[n.getMessage(Fe.DISCOVER)]:Re.DISCOVER,[n.getMessage(Fe.NAVBAR)]:Re.NAVBAR,[n.getMessage(Fe.GREETING)]:Re.GREETING,[n.getMessage(Fe.TIME)]:Re.TIME,[n.getMessage(Fe.QUICKLINKS)]:Re.QUICKLINKS,[n.getMessage(Fe.QUOTE)]:Re.QUOTE,[n.getMessage(Fe.DATE)]:Re.DATE,[n.getMessage(Fe.MESSAGE)]:Re.MESSAGE,[n.getMessage(Fe.BACKGROUND)]:Re.BACKGROUND,[n.getMessage(Fe.SEARCH)]:Re.SEARCH,[n.getMessage(Fe.WEATHER)]:Re.WEATHER,[n.getMessage(Fe.APPEARANCE)]:Re.APPEARANCE,[n.getMessage(Fe.LANGUAGE)]:Re.LANGUAGE,[n.getMessage(Fe.ADVANCED)]:Re.ADVANCED,[n.getMessage(Fe.STATS)]:Re.STATS,[n.getMessage(Fe.EXPERIMENTAL)]:Re.EXPERIMENTAL,[n.getMessage(Fe.CHANGELOG)]:Re.CHANGELOG,[n.getMessage(Fe.ABOUT)]:Re.ABOUT,[n.getMessage("wb.settings_credits")]:Re.ABOUT,[n.getMessage("wb.settings_taskbox")]:Re.TASKBOX,[n.getMessage(Fe.ADDED)]:Re.ADDED,[n.getMessage(Fe.CREATE)]:Re.CREATE,[n.getMessage(Fe.ALL_MARKETPLACE)]:Re.LIBRARY,[n.getMessage(Fe.PHOTO_PACKS)]:Re.BACKGROUND,[n.getMessage(Fe.QUOTE_PACKS)]:Re.QUOTE,[n.getMessage(Fe.PRESET_SETTINGS)]:Re.ADVANCED,[n.getMessage(Fe.COLLECTIONS)]:Re.COLLECTIONS})[o],$A=[{tab:Yo.SETTINGS,icon:Re.SETTINGS,messageKey:"modals.main.navbar.settings"}],hN=["modals.main.settings.sections.appearance.title","modals.main.settings.sections.advanced.title"],Pl=(o=window.location.hash)=>{if(!o||o==="#")return null;const[n,u,l]=o.slice(1).split("/");return n!==Yo.SETTINGS?null:{tab:n,section:u||void 0,subSection:l||void 0}},Hl=(o,n=!0)=>{window.history.pushState?n?window.history.pushState(null,null,o):window.history.replaceState(null,null,o):window.location.hash=o},eC=()=>Pl()!==null,tC="MueCustomBackgrounds",aC=1,zt="backgrounds";function Ti(){return new Promise((o,n)=>{const u=indexedDB.open(tC,aC);u.onerror=()=>n(u.error),u.onsuccess=()=>o(u.result),u.onupgradeneeded=l=>{const d=l.target.result;d.objectStoreNames.contains(zt)||d.createObjectStore(zt,{keyPath:"id",autoIncrement:!0}).createIndex("url","url",{unique:!1})}})}async function Rb(){try{const l=(await Ti()).transaction(zt,"readonly").objectStore(zt).getAll();return new Promise((d,c)=>{l.onsuccess=()=>{const f=l.result;d(f.map(p=>typeof p.url=="string"&&!p.name?{id:p.id,url:p.url,name:`Image ${p.id}`,uploadDate:p.createdAt||Date.now(),dimensions:null,fileSize:null,folder:"",blurHash:null}:p))},l.onerror=()=>c(l.error)})}catch(o){return console.error("Error getting backgrounds from IndexedDB:",o),[]}}async function oC(){return(await Rb()).map(n=>n.url||n)}async function iC(o){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt),d=typeof o=="string"?{url:o,name:"Image",uploadDate:Date.now(),folder:""}:{...o,uploadDate:o.uploadDate||Date.now()},c=l.add(d);return new Promise((f,p)=>{c.onsuccess=()=>f(c.result),c.onerror=()=>p(c.error)})}async function _N(o){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt),d=l.getAll();return new Promise((c,f)=>{d.onsuccess=()=>{const p=d.result;if(p[o]){const h=l.delete(p[o].id);h.onsuccess=()=>c(),h.onerror=()=>f(h.error)}else c()},d.onerror=()=>f(d.error)})}async function vN(o){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt),d=l.getAll();return new Promise((c,f)=>{d.onsuccess=()=>{const p=d.result,h=o.filter(g=>p[g]).map(g=>p[g].id);let y=0;const _=h.length;if(_===0){c();return}h.forEach(g=>{const b=l.delete(g);b.onsuccess=()=>{y++,y===_&&c()},b.onerror=()=>f(b.error)})},d.onerror=()=>f(d.error)})}async function nC(){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt).clear();return new Promise((d,c)=>{l.onsuccess=()=>d(),l.onerror=()=>c(l.error)})}async function sC(){const l=(await Ti()).transaction(zt,"readonly").objectStore(zt).count();return new Promise((d,c)=>{l.onsuccess=()=>d(l.result),l.onerror=()=>c(l.error)})}async function bN(o,n){const d=(await Ti()).transaction(zt,"readwrite").objectStore(zt),c=d.get(o);return new Promise((f,p)=>{c.onsuccess=()=>{const h=c.result;if(h){Object.assign(h,n),h.updatedAt=Date.now();const y=d.put(h);y.onsuccess=()=>f(),y.onerror=()=>p(y.error)}else p(new Error("Background not found"))},c.onerror=()=>p(c.error)})}async function yN(){try{const o=localStorage.getItem("customBackground");if(!o||o==="null"||o==="[]")return!1;let n=[];try{n=JSON.parse(o),Array.isArray(n)||(n=[o])}catch{n=[o]}if(n=n.filter(l=>l&&l.trim()!==""),n.length===0||await sC()>0)return!1;for(const l of n)await iC(l);return console.log(`Migrated ${n.length} backgrounds from localStorage to IndexedDB`),localStorage.setItem("customBackgroundMigrated","true"),!0}catch(o){return console.error("Error migrating backgrounds:",o),!1}}function rC({photoInfo:o,currentAPI:n,url:u}){const l=localStorage.getItem("backgroundType")==="custom",[d,c]=k.useState([]),[f,p]=k.useState(!0);k.useEffect(()=>{(async()=>{if(l)try{const g=await oC();c(g||[])}catch(g){console.error("Failed to load custom backgrounds:",g),c([])}p(!1)})()},[l,u]);const h=l&&!f&&(!d||d.length===0),y=()=>{Hl("#settings/background/source"),ve.emit("modal","openMainModal")};return w.jsxs(w.Fragment,{children:[w.jsx("div",{id:"backgroundImage"}),h&&w.jsxs("div",{style:{position:"absolute",bottom:"20px",left:"20px",color:"white",background:"rgba(0, 0, 0, 0.6)",padding:"20px 30px",borderRadius:"10px",zIndex:1},children:[w.jsx("h2",{style:{margin:"0 0 10px 0",fontSize:"20px"},children:pe.getMessage("widgets.background.no_images_title")||"No Custom Images"}),w.jsx("p",{style:{margin:"0 0 15px 0",fontSize:"14px",opacity:.9},children:pe.getMessage("widgets.background.no_images_description")||"Please add custom images in the Background settings"}),w.jsx("button",{onClick:y,style:{background:"rgba(255, 255, 255, 0.2)",border:"1px solid rgba(255, 255, 255, 0.3)",color:"white",padding:"10px 20px",borderRadius:"5px",cursor:"pointer",fontSize:"14px",fontWeight:"500",transition:"all 0.2s"},onMouseOver:_=>{_.target.style.background="rgba(255, 255, 255, 0.3)"},onMouseOut:_=>{_.target.style.background="rgba(255, 255, 255, 0.2)"},children:pe.getMessage("widgets.background.add_images_button")||"Add Images"})]}),o?.credit&&w.jsx(cA,{info:o,api:n,url:u})]})}const lC=k.memo(rC),R_=()=>({muted:localStorage.getItem("backgroundVideoMute")==="true",loop:localStorage.getItem("backgroundVideoLoop")==="true"});function uC({url:o,filterStyle:n}){const[{muted:u,loop:l},d]=k.useState(R_);return k.useEffect(()=>{const c=f=>{f==="backgroundvideo"&&d(R_())};return ve.on("refresh",c),()=>ve.off("refresh",c)},[]),w.jsx("video",{autoPlay:!0,muted:u,loop:l,style:n,id:"backgroundVideo",children:w.jsx("source",{src:o})})}const dC=k.memo(uC);function cC(){const[o,n]=k.useState({url:"",style:"",type:"",currentAPI:"",video:!1,photoInfo:{hidden:!1,offline:!1,photographerURL:"",photoURL:""}}),u=k.useCallback(d=>{n(c=>({...c,...d,photoInfo:{...c.photoInfo,...d.photoInfo||{}}}))},[]),l=k.useCallback(()=>{n({url:"",style:"",type:"",currentAPI:"",video:!1,photoInfo:{hidden:!0}})},[]);return{backgroundData:o,updateBackground:u,resetBackground:l}}const mC={photo:[5]},$c={"Ryan Hutton":{photo:[1]},"Francesco De Tommaso":{photo:[2]},"Andy Vu":{photo:[3]},"Sergi Ferrete":{photo:[4]},Pixabay:mC};function Bb(o){const n=Object.keys($c),u=n[Math.floor(Math.random()*n.length)],d={url:`src/assets/offline-images/${$c[u].photo[Math.floor(Math.random()*$c[u].photo.length)]}.webp`,type:o,photoInfo:{offline:!0,credit:u}};return localStorage.setItem("currentBackground",JSON.stringify(d)),d}function pC(o){const n=()=>"#000000".replace(/0/g,()=>(~~(Math.random()*16)).toString(16));let u=`background:${n()};`;if(o==="random_gradient"){const l=["to right","to left","to bottom","to top","to bottom right","to bottom left","to top right","to top left"];u=`background:linear-gradient(${l[Math.floor(Math.random()*l.length)]}, ${n()}, ${n()});`}return{type:"colour",style:u}}function Lb(o){return o.startsWith("data:video/")||o.startsWith("video/")||o.endsWith(".mp4")||o.endsWith(".webm")||o.endsWith(".ogg")}const Ib=(o,n=null)=>{const u=localStorage.getItem(o);if(u===null||u==="null")return n;try{const l=JSON.parse(u);return l!==null?l:n}catch{return n}};async function fC(){const o=localStorage.getItem("offlineMode")==="true"||localStorage.getItem("showWelcome")==="true",n=Ib("favourite");if(n)return n.type==="random_colour"||n.type==="random_gradient"?{type:"colour",style:`background:${n.url}`}:{url:n.url,photoInfo:{...n,url:n.url}};const u=localStorage.getItem("backgroundType");switch(u){case"api":return hC();case"colour":return gC();case"random_colour":case"random_gradient":return pC(u);case"custom":return await _C(o);default:return null}}function gC(){return{type:"colour",style:`background: ${localStorage.getItem("customBackgroundColour")||"rgb(0,0,0)"}`}}function hC(){return{...Bb("api"),currentAPI:localStorage.getItem("backgroundAPI")||"mue"}}async function _C(o){let n=await Rb();if(!n||n.length===0){const c=Ib("customBackground",[]);c&&c.length>0&&(n=c.map(f=>({url:f,photoInfo:{hidden:!0}})))}if(!n||n.length===0)return null;const u=n[Math.floor(Math.random()*n.length)];if(!u)return null;const l=u.url||u;if(o&&!l.startsWith("data:"))return Bb("custom");const d={url:l,type:"custom",video:Lb(l),photoInfo:{hidden:!0,blur_hash:u.blurHash||null}};try{localStorage.setItem("currentBackground",JSON.stringify({type:"custom",video:d.video,photoInfo:d.photoInfo}))}catch(c){console.warn("Could not save currentBackground to localStorage:",c)}return d}function vC(o,n){const u=k.useRef(0),l=k.useCallback(async()=>{const c=++u.current,f=()=>c!==u.current;try{if(localStorage.getItem("welcomeTab")){const y=localStorage.getItem("welcomeImage");if(y){o(JSON.parse(y));return}}const h=await fC();if(f())return;h&&o(h)}catch(p){console.error("Failed to load background:",p)}},[o]),d=k.useCallback(()=>{n(),l()},[l,n]);return k.useEffect(()=>{const c=localStorage.getItem("backgroundchange");(!localStorage.getItem("backgroundStartTime")||c==="refresh")&&localStorage.setItem("backgroundStartTime",Date.now()),l()},[l]),{loadBackground:l,refreshBackground:d}}async function bC(o){try{const n=await fetch(o,{mode:"cors",credentials:"omit"});if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);const u=await n.blob();return URL.createObjectURL(u)}catch{return null}}const yC="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz#$%*+,-.:;=?@[]^_{|}~",Ol=(o,n,u)=>{let l=0;for(;n<u;)l=l*83+yC.indexOf(o[n++]);return l},Ub=Math.pow,js=Math.PI,Pb=3294.6,Hb=269.025,kC=o=>o>10.31475?Ub(o/Hb+.052132,2.4):o/Pb,wC=o=>~~(o>1227e-8?Hb*Ub(o,.416666)-13.025:o*Pb+1),Fl=4096,Fb=new Uint8ClampedArray(Fl+1);for(let o=0;o<=Fl;o++)Fb[o]=wC(o/Fl);const em=o=>o<=0?0:o>=1?255:Fb[o*Fl+.5|0],Ds=o=>(o<0?-1:1)*o*o,B_=o=>{for(o+=js/2;o>js;)o-=js*2;const n=1.27323954*o-.405284735*Ds(o);return .225*(Ds(n)-n)+n};function SC(o){const n=Ol(o,2,6);return[n>>16,n>>8&255,n&255]}function MC(o,n,u,l){const d=Ol(o,0,1),c=d%9+1,f=~~(d/9)+1,p=c*f;let h,y,_,g,b,S,C,x,A,j,z,L;const G=(Ol(o,1,2)+1)/13446*(l|1),Z=new Float64Array(p*3),H=SC(o);for(h=0;h<3;h++)Z[h]=kC(H[h]);for(h=1;h<p;h++)L=Ol(o,4+h*2,6+h*2),Z[h*3]=Ds(~~(L/361)-9)*G,Z[h*3+1]=Ds(~~(L/19)%19-9)*G,Z[h*3+2]=Ds(L%19-9)*G;const D=new Float64Array(f*u),q=new Float64Array(c*n);for(y=0;y<f;y++)for(g=0;g<u;g++)D[y*u+g]=B_(js*g*y/u);for(h=0;h<c;h++)for(_=0;_<n;_++)q[h*n+_]=B_(js*_*h/n);const V=n*4,$=new Uint8ClampedArray(V*u),W=new Float64Array(c*3);for(g=0;g<u;g++){for(h=0;h<c;h++){for(b=S=C=0,y=0;y<f;y++)A=D[y*u+g],j=(h+y*c)*3,b+=Z[j]*A,S+=Z[j+1]*A,C+=Z[j+2]*A;W[h*3]=b,W[h*3+1]=S,W[h*3+2]=C}for(_=0;_<n;_++){for(b=S=C=0,h=0;h<c;h++)x=q[h*n+_],j=h*3,b+=W[j]*x,S+=W[j+1]*x,C+=W[j+2]*x;z=4*_+g*V,$[z]=em(b),$[z+1]=em(S),$[z+2]=em(C),$[z+3]=255}}return $}function AC(o,n=32,u=32){try{const l=document.createElement("canvas");l.width=n,l.height=u;const d=l.getContext("2d"),c=d.createImageData(n,u);return c.data.set(MC(o,n,u)),d.putImageData(c,0,0),l.toDataURL()}catch(l){return console.error("Failed to generate blur hash:",l),null}}function jm(){const o=localStorage.getItem("blur")||"0",n=localStorage.getItem("brightness")||"100",u=localStorage.getItem("backgroundFilter"),l=localStorage.getItem("backgroundFilterAmount")||"100";let d=`blur(${o}px) brightness(${n}%)`;return u&&u!=="none"&&(d+=` ${u}(${l}%)`),d}function Dm(){const o=localStorage.getItem("blur")||"0",n=localStorage.getItem("brightness")||"100",u=localStorage.getItem("backgroundFilter"),l=localStorage.getItem("backgroundFilterAmount")||"100";let d=`blur(${o}px)`;u&&u!=="none"&&(d+=` ${u}(${l}%)`);const f=(100-parseInt(n,10))/100;return{backdropFilter:d,WebkitBackdropFilter:d,backgroundColor:`rgba(0, 0, 0, ${f})`}}const L_=1200;function CC(o){const n=k.useRef(null);k.useEffect(()=>{if(o.video)return;const u=document.getElementById("backgroundImage");if(!u)return;let l=!1,d=null;return(async()=>{if(o.url){const f=localStorage.getItem("bgtransition")!=="false",p=window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(!f||p){u.style.background=`url(${o.url})`,document.querySelector(".photoInformation")?.style.setProperty("display","flex");return}let h=document.getElementById("backgroundOverlay");if(h||(h=document.createElement("div"),h.id="backgroundOverlay",u.parentNode.insertBefore(h,u.nextSibling)),o.photoInfo?.colour&&(u.style.backgroundColor=o.photoInfo.colour),o.photoInfo?.blur_hash){const b=AC(o.photoInfo.blur_hash,64,64);b&&(u.style.backgroundImage=`url(${b})`)}const y=await bC(o.url);if(l){y&&URL.revokeObjectURL(y);return}const _=y||o.url;y&&(n.current&&URL.revokeObjectURL(n.current),n.current=y);const g=new Image;if(g.src=_,await new Promise(b=>{g.onload=b,g.onerror=b}),l)return;h.style.transition="none",h.style.opacity="0",h.style.backgroundImage="",h.offsetHeight,h.style.backgroundImage=`url(${_})`,h.offsetHeight,h.style.transition=`opacity ${L_/1e3}s ease-in-out`,h.offsetHeight,h.style.opacity="1",d=setTimeout(()=>{u.style.backgroundImage=`url(${_})`,h.style.opacity="0",h.style.backgroundImage=""},L_+100)}else o.style&&u.setAttribute("style",o.style)})(),()=>{l=!0,clearTimeout(d),n.current&&(URL.revokeObjectURL(n.current),n.current=null);const f=document.getElementById("backgroundOverlay");f&&f.remove()}},[o.url,o.style,o.video,o.photoInfo])}function xC(){return k.useMemo(()=>({WebkitFilter:jm()}),[])}function zC(){return k.useMemo(()=>Dm(),[])}function TC(o,n){k.useEffect(()=>{const u=c=>{c==="welcomeLanguage"?localStorage.setItem("welcomeImage",JSON.stringify(o)):c==="background"?l():["backgroundwelcome","backgroundrefresh"].includes(c)?n():c==="backgroundeffect"&&d()},l=()=>{const c=document.getElementById(o.video?"backgroundVideo":"backgroundImage"),f=document.querySelector(".photoInformation");if(!(localStorage.getItem("background")!=="false")){c?.style.setProperty("display","none"),o.photoInfo?.hidden||f?.style.setProperty("display","none");return}c?.style.setProperty("display","block"),o.photoInfo?.hidden||f?.style.setProperty("display","flex");const h=localStorage.getItem("backgroundType");(h!==o.type&&!(o.photoInfo?.offline&&h===o.type)||o.type==="api"&&localStorage.getItem("backgroundAPI")!==o.currentAPI||h==="custom"&&o.type!=="custom"||h==="colour"||o.photoInfo?.pun&&JSON.parse(localStorage.getItem("backgroundExclude")||"[]").includes(o.photoInfo.pun))&&n()},d=()=>{if(o.video){const c=jm(),f=document.getElementById("backgroundVideo");f&&(f.style.webkitFilter=c)}else{const c=document.getElementById("backgroundFilterOverlay");if(c){const f=Dm();c.style.backdropFilter=f.backdropFilter,c.style.webkitBackdropFilter=f.WebkitBackdropFilter,c.style.backgroundColor=f.backgroundColor}}};return ve.on("refresh",u),()=>ve.off("refresh",u)},[o,n])}function NC(){const{backgroundData:o,updateBackground:n,resetBackground:u}=cC(),{refreshBackground:l}=vC(n,u),d=xC(),c=zC();return CC(o),TC(o,l),w.jsxs(w.Fragment,{children:[o.video?w.jsx(dC,{url:o.url,filterStyle:d}):w.jsx(lC,{photoInfo:o.photoInfo,currentAPI:o.currentAPI,url:o.url}),w.jsx("div",{id:"backgroundFilterOverlay",style:c})]})}const EC=(function(){const n=typeof document<"u"&&document.createElement("link").relList;return n&&n.supports&&n.supports("modulepreload")?"modulepreload":"preload"})(),jC=function(o,n){return new URL(o,n).href},I_={},Om=function(n,u,l){let d=Promise.resolve();if(u&&u.length>0){let y=function(_){return Promise.all(_.map(g=>Promise.resolve(g).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const f=document.getElementsByTagName("link"),p=document.querySelector("meta[property=csp-nonce]"),h=p?.nonce||p?.getAttribute("nonce");d=y(u.map(_=>{if(_=jC(_,l),_ in I_)return;I_[_]=!0;const g=_.endsWith(".css"),b=g?'[rel="stylesheet"]':"";if(l)for(let C=f.length-1;C>=0;C--){const x=f[C];if(x.href===_&&(!g||x.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${_}"]${b}`))return;const S=document.createElement("link");if(S.rel=g?"stylesheet":EC,g||(S.as="script"),S.crossOrigin="",S.href=_,h&&S.setAttribute("nonce",h),document.head.appendChild(S),g)return new Promise((C,x)=>{S.addEventListener("load",C),S.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${_}`)))})}))}function c(f){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=f,window.dispatchEvent(p),!p.defaultPrevented)throw f}return d.then(f=>{for(const p of f||[])p.status==="rejected"&&c(p.reason);return n().catch(c)})};function Vb(o){if(o>3&&o<21)return o+"th";switch(o%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd";default:return o+"th"}}function qm(o,n){return new Date((typeof o=="string"?new Date(o):o).toLocaleString("en-US",{timeZone:n}))}function Gb(){const o=localStorage.getItem("language")?.replace(/_/g,"-")||"en-GB",n={ar:"arab",fa:"arabext",bn:"beng",hi:"deva",mr:"deva",ne:"deva",ta:"tamldec"},u=o.split("-")[0];return n[u]?`${o}-u-nu-${n[u]}`:o}function DC(o){if(localStorage.getItem("localeFormatting")==="false")return Math.round(o*100)+"%";try{return new Intl.NumberFormat(Gb(),{style:"percent",maximumFractionDigits:0}).format(o)}catch{return Math.round(o*100)+"%"}}function Es(o){if(localStorage.getItem("localeFormatting")==="false")return String(o);try{const u=typeof o=="string"?parseInt(o,10):o;return isNaN(u)?String(o):new Intl.NumberFormat(Gb(),{useGrouping:!1}).format(u)}catch{return String(o)}}const OC=k.lazy(()=>Om(()=>import("./index-DfKEmD7L.js"),[],import.meta.url));function qC({time:o}){const n=u=>localStorage.getItem(u)==="true";return w.jsx(k.Suspense,{fallback:w.jsx(w.Fragment,{}),children:w.jsx("div",{className:`clockBackground ${n("roundClock")?"round":""}`,children:w.jsx(OC,{className:"analogclock clock-container",value:o,size:1.5*Number(localStorage.getItem("zoomClock")||100),renderMinuteMarks:n("minuteMarks"),renderHourMarks:n("hourMarks"),renderSecondHand:n("secondHand"),renderMinuteHand:n("minuteHand"),renderHourHand:n("hourHand")})})})}function RC({finalHour:o,finalMinute:n,finalSeconds:u}){const l=localStorage.getItem("hourColour")||"#fff",d=localStorage.getItem("minuteColour")||"#fff",c=localStorage.getItem("secondColour")||"#fff";return w.jsxs("span",{className:"vertical-clock clock-container",children:[w.jsx("div",{className:"hour",style:{color:l},children:o}),w.jsx("div",{className:"minute",style:{color:d},children:n}),w.jsx("div",{className:"seconds",style:{color:c},children:u})]})}const Yt=o=>String(o).split("").map(u=>Es(u)).join(""),BC=()=>{const[o]=k.useState(localStorage.getItem("timeType")),[n,u]=k.useState(""),[l,d]=k.useState(""),[c,f]=k.useState(""),[p,h]=k.useState(""),[y,_]=k.useState(""),[g,b]=k.useState("block"),[S,C]=k.useState("4em"),x=k.useRef(void 0),A=(j=localStorage.getItem("seconds")==="true"||localStorage.getItem("timeType")==="analogue"?1e3-Date.now()%1e3:6e4-Date.now()%6e4)=>{x.current=setTimeout(()=>{let z=new Date;const L=localStorage.getItem("timezone");switch(L&&L!=="auto"&&(z=qm(z,L)),localStorage.getItem("timeType")){case"percentageComplete":u(DC(z.getHours()/24)),_("");break;case"analogue":Om(()=>Promise.resolve({}),__vite__mapDeps([0]),import.meta.url),u(z);break;default:{let G,Z="";const H=localStorage.getItem("zero");if(localStorage.getItem("seconds")==="true"){const D=("00"+z.getSeconds()).slice(-2);Z=`:${Yt(D)}`,h(Yt(D))}else h("");if(localStorage.getItem("timeformat")==="twentyfourhour"){const D=("00"+z.getMinutes()).slice(-2);if(H==="true"){const q=("00"+z.getHours()).slice(-2);G=`${Yt(q)}:${Yt(D)}${Z}`,d(Yt(q)),f(Yt(D))}else{const q=z.getHours();G=`${Es(q)}:${Yt(D)}${Z}`,d(Es(q)),f(Yt(D))}u(G),_("")}else{let D=z.getHours();D>12?D-=12:D===0&&(D=12);const q=("00"+z.getMinutes()).slice(-2);if(H==="true"){const V=("00"+D).slice(-2);G=`${Yt(V)}:${Yt(q)}${Z}`,d(Yt(V)),f(Yt(q))}else G=`${Es(D)}:${Yt(q)}${Z}`,d(Es(D)),f(Yt(q));u(G),_(z.getHours()>11?"PM":"AM")}break}}A()},j)};return k.useEffect(()=>{const j=z=>{if(z==="clock"||z==="timezone"){if(localStorage.getItem("time")==="false"){b("none");return}clearTimeout(x.current),x.current=null,A(0),b("block"),C(`${4*Number((localStorage.getItem("zoomClock")||100)/100)}em`)}};return localStorage.getItem("timeType")!=="analogue"&&C(`${4*Number((localStorage.getItem("zoomClock")||100)/100)}em`),A(0),ve.on("refresh",j),()=>{ve.off("refresh",j),x.current&&clearTimeout(x.current)}},[]),localStorage.getItem("timeType")==="analogue"?w.jsx(qC,{time:n}):localStorage.getItem("timeType")==="verticalClock"?w.jsx(RC,{finalHour:l,finalMinute:c,finalSeconds:p}):w.jsxs("span",{className:"clock clock-container",style:{display:g,fontSize:S},children:[n,w.jsx("span",{className:"ampm",children:y})]})},LC=(o,n)=>{if(!(localStorage.getItem("events")!=="false"))return n;const l=o.getMonth(),d=o.getDate(),f=JSON.parse(localStorage.getItem("customEvents")||"[]").find(p=>p.month-1===l&&p.date===d);return f&&(n=f.name),n},U_=o=>{const n=Date.now()-o.getTime(),u=new Date(n);return Math.abs(u.getUTCFullYear()-1970)},IC=()=>{const o=Qo(),[n,u]=k.useState(""),[l,d]=k.useState("block"),[c,f]=k.useState("1.6em"),p=k.useRef(),h=k.useRef(null),y=(_=6e4-Date.now()%6e4)=>{h.current=setTimeout(()=>{let g=new Date;const b=localStorage.getItem("timezone");b&&b!=="auto"&&(g=qm(g,b));const S=g.getHours();let C;switch(!0){case S<12:C=o("widgets.greeting.morning");break;case S<18:C=o("widgets.greeting.afternoon");break;default:C=o("widgets.greeting.evening");break}const x=localStorage.getItem("defaultGreetingMessage");x==="false"?C="":C=LC(g,C);let A="";const j=localStorage.getItem("greetingName");typeof j=="string"&&j.replace(/\s/g,"").length>0&&(A=`, ${j.trim()}`);const z=localStorage.getItem("birthdayenabled");if(x==="false"&&z!=="true"&&(A=A.replace(",","")),z==="true"){const L=new Date(localStorage.getItem("birthday"));if(L.getDate()===g.getDate()&&L.getMonth()===g.getMonth())if(localStorage.getItem("birthdayage")==="true"&&U_(L)!==0){const G=o("widgets.greeting.birthday").split(" ");C=`${G[0]} ${Vb(U_(L))} ${G[1]}`}else C=o("widgets.greeting.birthday")}u(`${C}${A}`),y()},_)};return k.useEffect(()=>{const _=b=>{if(b==="greeting"||b==="timezone"){const S=localStorage.getItem("greeting"),C=localStorage.getItem("zoomGreeting");d(S==="false"?"none":"block"),f(`${1.6*Number((C||100)/100)}em`),S!=="false"&&(h.current&&clearTimeout(h.current),y(0))}},g=localStorage.getItem("zoomGreeting");return f(`${1.6*Number((g||100)/100)}em`),y(0),ve.on("refresh",_),()=>{ve.off("refresh",_),h.current&&clearTimeout(h.current)}},[o]),w.jsx("span",{className:"greeting",ref:p,style:{display:l,fontSize:c},children:n})},UC="wbNewtabHandoff:",au=o=>`${UC}${o}`,PC=4e3,ou=()=>typeof browser<"u"&&typeof browser?.sidebarAction?.open=="function",Us=()=>ou()?browser:typeof chrome<"u"&&chrome?.runtime?.id?chrome:null;let Vl=null;async function HC(){let o=null;try{o=await Us()?.tabs?.getCurrent?.()??null}catch{o=null}return o?.id!=null&&await GC(Us(),o.id),Vl=o,Vl}function FC({text:o,mode:n,tabId:u,now:l=Date.now()}){return{id:`nt-${l}-${Math.random().toString(36).slice(2,8)}`,tabId:u,text:String(o).slice(0,PC),mode:n==="act"?"act":"ask",createdAt:l}}const Kb=16e4,Wo=new Map;function Yb(o){let n;const u=new Promise(d=>{n=d}),l=()=>{Wo.get(o)?.promise===u&&Wo.delete(o),n()};return Wo.set(o,{promise:u,release:l}),l}const VC=o=>Wo.has(o);function P_(o=Vl){return Wo.get(o?.id)?.promise??Promise.resolve()}async function GC(o,n,u=Date.now()){if(!o?.storage?.local?.get||Wo.has(n))return!1;const l=au(n);let d;try{d=(await o.storage.local.get(l))?.[l]}catch{return!1}if(!d||Wo.has(n))return!1;const c=Kb-(u-Number(d.createdAt||0));return c>0?(Wb(o,n,Yb(n),c),!0):!1}function Wb(o,n,u,l=Kb){const d=au(n);let c;const f=(h,y)=>{(!y||y==="local")&&h?.[d]&&!h[d].newValue&&p()};function p(){clearTimeout(c),o.storage.onChanged?.removeListener?.(f),u()}c=setTimeout(p,l),o.storage.onChanged?.addListener?.(f),Promise.resolve(o.storage.local.get?.(d)).then(h=>{h?.[d]||p()}).catch(()=>{})}function KC({text:o,mode:n},u=Us(),l=Vl){if(!u||l?.id==null)return Promise.reject(new Error("Extension API unavailable"));if(Wo.has(l.id))return Promise.reject(new Error("Previous task is still being handed over"));const d=ou();if(!d&&!u.sidePanel?.open)return Promise.reject(new Error("Side panel API unavailable"));const c=Yb(l.id),f=FC({text:o,mode:n,tabId:l.id});let p,h;try{p=Promise.resolve(u.storage.local.set({[au(l.id)]:f})),d?h=u.sidebarAction.open():(Promise.resolve(u.sidePanel.setOptions({tabId:l.id,path:"src/ui/sidepanel.html",enabled:!0})).catch(()=>{}),h=u.sidePanel.open({tabId:l.id}))}catch(y){h=Promise.reject(y),p??=Promise.resolve()}return Promise.all([p,h]).then(()=>(Wb(u,l.id,c),Promise.resolve(u.runtime.sendMessage({type:"WB_NEWTAB_PANEL_OPENED",tabId:l.id})).catch(()=>{}),!0),async y=>{throw await p.catch(()=>{}),await YC(u,l.id,f.id),c(),y})}async function YC(o,n,u){const l=au(n);try{const d=(await o.storage.local.get(l))?.[l];(!d||d.id===u)&&await o.storage.local.remove(l)}catch{}}function WC(o=Us()){return ou()?typeof o?.search?.search=="function":typeof o?.search?.query=="function"}const H_=new Set(["http:","https:"]);function QC(o){const n=String(o||"").trim();if(!n||/\s/.test(n))return null;try{const u=new URL(n);if(/^[a-z][a-z0-9+.-]*:\/\//i.test(n))return H_.has(u.protocol)?u.href:null}catch{}if(/^(localhost|(\d{1,3}\.){3}\d{1,3}|([a-z0-9-]+\.)+[a-z]{2,})(:\d+)?([/?#]\S*)?$/i.test(n))try{const u=new URL(`https://${n}`);return H_.has(u.protocol)?u.href:null}catch{return null}return null}async function ZC(o,n=Us(),u=l=>window.location.assign(l)){const l=QC(o);if(l)return u(l),!0;if(ou()&&n?.search?.search)return await n.search.search({query:o,disposition:"CURRENT_TAB"}),!0;if(n?.search?.query)return await n.search.query({text:o,disposition:"CURRENT_TAB"}),!0;throw new Error("Search API unavailable")}const XC=[{id:"ask",icon:jA},{id:"act",icon:Db},{id:"search",icon:Em}],Qb=()=>XC.filter(o=>o.id!=="search"||WC()),JC=()=>{const o=localStorage.getItem("taskBoxMode");return Qb().some(n=>n.id===o)?o:"ask"};function $C(){const[o,n]=k.useState(JC),[u,l]=k.useState(""),[d,c]=k.useState(""),[f,p]=k.useState(!1),h=k.useRef(null),y=k.useRef(!1);k.useEffect(()=>{let g=!0;return HC().then(b=>{g&&b?.id!=null&&VC(b.id)&&(p(!0),P_(b).then(()=>g&&p(!1)))}),localStorage.getItem("taskBoxFocus")!=="false"&&h.current?.focus(),()=>{g=!1}},[]);const _=g=>{g.preventDefault();const b=u.trim();if(!(!b||f||y.current)){if(c(""),o==="search"){ZC(b).catch(()=>c(ya("wb.panel_failed")));return}y.current=!0,p(!0),KC({text:b,mode:o}).then(()=>(l(""),P_())).catch(()=>c(ya("wb.panel_failed"))).finally(()=>{y.current=!1,p(!1),h.current?.focus()})}};return w.jsxs("div",{className:"taskBox",children:[w.jsxs("form",{className:"taskBoxForm",onSubmit:_,children:[w.jsx("input",{ref:h,className:"taskBoxInput",type:"text",value:u,maxLength:4e3,autoComplete:"off",spellCheck:!1,placeholder:ya(`wb.placeholder_${o}`),"aria-label":ya(`wb.placeholder_${o}`),disabled:f,onChange:g=>l(g.target.value)}),w.jsx("button",{className:"taskBoxGo",type:"submit","aria-label":ya("wb.go"),disabled:f||!u.trim(),children:w.jsx(jb,{})})]}),w.jsx("div",{className:"taskBoxModes",role:"radiogroup",children:Qb().map(({id:g,icon:b})=>w.jsxs("button",{type:"button",role:"radio","aria-checked":o===g,className:o===g?"taskBoxMode active":"taskBoxMode",onClick:()=>{n(g),h.current?.focus()},children:[w.jsx(b,{}),w.jsx("span",{children:ya(`wb.${g}`)})]},g))}),o==="act"&&w.jsx("span",{className:"taskBoxHint",children:ya("wb.act_hint")}),d&&w.jsx("span",{className:"taskBoxHint taskBoxError",role:"alert",children:d})]})}const F_="webbrain_chat_history",tm="records";async function ex(o=4,n=globalThis.indexedDB){if(!n?.databases)return[];if(!(await n.databases()).some(d=>d.name===F_))return[];const l=await new Promise((d,c)=>{const f=n.open(F_);f.onupgradeneeded=()=>f.transaction.abort(),f.onsuccess=()=>d(f.result),f.onerror=()=>c(f.error),f.onblocked=()=>c(new Error("blocked"))});try{return l.objectStoreNames.contains(tm)?await new Promise((d,c)=>{const f=[],p=l.transaction([tm],"readonly").objectStore(tm),y=(p.indexNames.contains("updatedAt")?p.index("updatedAt"):p).openCursor(null,"prev");y.onsuccess=()=>{const _=y.result;if(!_||f.length>=o)return d(f);const{id:g,title:b,url:S,updatedAt:C}=_.value;f.push({id:g,title:String(b||"").slice(0,140),url:String(S||""),updatedAt:C}),_.continue()},y.onerror=()=>c(y.error)}):[]}finally{l.close()}}const V_="../src/ui/history.html";function tx(){const[o,n]=k.useState(null);return k.useEffect(()=>{let u=!1;return ex(4).then(l=>!u&&n(l)).catch(()=>!u&&n([])),()=>{u=!0}},[]),o===null?null:w.jsxs("div",{className:"recentChats",children:[w.jsxs("div",{className:"recentChatsHeader",children:[w.jsx("span",{children:ya("wb.recent_title")}),w.jsx("a",{href:V_,children:ya("wb.recent_all")})]}),o.length===0?w.jsx("span",{className:"recentChatsEmpty",children:ya("wb.recent_empty")}):w.jsx("ul",{children:o.map(u=>w.jsx("li",{children:w.jsx("a",{href:`${V_}?id=${encodeURIComponent(u.id)}`,children:u.title||u.url})},u.id))})]})}const bm=Math.min,An=Math.max,Gl=Math.round,ho=o=>({x:o,y:o}),ax={left:"right",right:"left",bottom:"top",top:"bottom"};function ox(o,n,u){return An(o,bm(n,u))}function iu(o,n){return typeof o=="function"?o(n):o}function zn(o){return o.split("-")[0]}function nu(o){return o.split("-")[1]}function Zb(o){return o==="x"?"y":"x"}function Xb(o){return o==="y"?"height":"width"}function Ko(o){const n=o[0];return n==="t"||n==="b"?"y":"x"}function Jb(o){return Zb(Ko(o))}function ix(o,n,u){u===void 0&&(u=!1);const l=nu(o),d=Jb(o),c=Xb(d);let f=d==="x"?l===(u?"end":"start")?"right":"left":l==="start"?"bottom":"top";return n.reference[c]>n.floating[c]&&(f=Kl(f)),[f,Kl(f)]}function nx(o){const n=Kl(o);return[ym(o),n,ym(n)]}function ym(o){return o.includes("start")?o.replace("start","end"):o.replace("end","start")}const G_=["left","right"],K_=["right","left"],sx=["top","bottom"],rx=["bottom","top"];function lx(o,n,u){switch(o){case"top":case"bottom":return u?n?K_:G_:n?G_:K_;case"left":case"right":return n?sx:rx;default:return[]}}function ux(o,n,u,l){const d=nu(o);let c=lx(zn(o),u==="start",l);return d&&(c=c.map(f=>f+"-"+d),n&&(c=c.concat(c.map(ym)))),c}function Kl(o){const n=zn(o);return ax[n]+o.slice(n.length)}function dx(o){var n,u,l,d;return{top:(n=o.top)!=null?n:0,right:(u=o.right)!=null?u:0,bottom:(l=o.bottom)!=null?l:0,left:(d=o.left)!=null?d:0}}function cx(o){return typeof o!="number"?dx(o):{top:o,right:o,bottom:o,left:o}}function Yl(o){const{x:n,y:u,width:l,height:d}=o;return{width:l,height:d,top:u,left:n,right:n+l,bottom:u+d,x:n,y:u}}function Y_(o,n,u){let{reference:l,floating:d}=o;const c=Ko(n),f=Jb(n),p=Xb(f),h=zn(n),y=c==="y",_=l.x+l.width/2-d.width/2,g=l.y+l.height/2-d.height/2,b=l[p]/2-d[p]/2;let S;switch(h){case"top":S={x:_,y:l.y-d.height};break;case"bottom":S={x:_,y:l.y+l.height};break;case"right":S={x:l.x+l.width,y:g};break;case"left":S={x:l.x-d.width,y:g};break;default:S={x:l.x,y:l.y}}const C=nu(n);return C&&(S[f]+=b*(C==="end"?1:-1)*(u&&y?-1:1)),S}async function mx(o,n){var u;n===void 0&&(n={});const{x:l,y:d,platform:c,rects:f,elements:p,strategy:h}=o,{boundary:y="clippingAncestors",rootBoundary:_="viewport",elementContext:g="floating",altBoundary:b=!1,padding:S=0}=iu(n,o),C=cx(S),A=p[b?g==="floating"?"reference":"floating":g],j=Yl(await c.getClippingRect({element:(u=await(c.isElement==null?void 0:c.isElement(A)))==null||u?A:A.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:y,rootBoundary:_,strategy:h})),z=g==="floating"?{x:l,y:d,width:f.floating.width,height:f.floating.height}:f.reference,L=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),G=await(c.isElement==null?void 0:c.isElement(L))&&await(c.getScale==null?void 0:c.getScale(L))||{x:1,y:1},Z=Yl(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:z,offsetParent:L,strategy:h}):z);return{top:(j.top-Z.top+C.top)/G.y,bottom:(Z.bottom-j.bottom+C.bottom)/G.y,left:(j.left-Z.left+C.left)/G.x,right:(Z.right-j.right+C.right)/G.x}}const px=50,fx=async(o,n,u)=>{const{placement:l="bottom",strategy:d="absolute",middleware:c=[],platform:f}=u,p=f.detectOverflow?f:{...f,detectOverflow:mx},h=await(f.isRTL==null?void 0:f.isRTL(n));let y=await f.getElementRects({reference:o,floating:n,strategy:d}),{x:_,y:g}=Y_(y,l,h),b=l,S=0;const C={};for(let x=0;x<c.length;x++){const A=c[x];if(!A)continue;const{name:j,fn:z}=A,{x:L,y:G,data:Z,reset:H}=await z({x:_,y:g,initialPlacement:l,placement:b,strategy:d,middlewareData:C,rects:y,platform:p,elements:{reference:o,floating:n}});_=L??_,g=G??g,C[j]={...C[j],...Z},H&&S<px&&(S++,typeof H=="object"&&(H.placement&&(b=H.placement),H.rects&&(y=H.rects===!0?await f.getElementRects({reference:o,floating:n,strategy:d}):H.rects),{x:_,y:g}=Y_(y,b,h)),x=-1)}return{x:_,y:g,placement:b,strategy:d,middlewareData:C}},gx=function(o){return o===void 0&&(o={}),{name:"flip",options:o,async fn(n){var u,l;const{placement:d,middlewareData:c,rects:f,initialPlacement:p,platform:h,elements:y}=n,{mainAxis:_=!0,crossAxis:g=!0,fallbackPlacements:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:x=!0,...A}=iu(o,n);if((u=c.arrow)!=null&&u.alignmentOffset)return{};const j=zn(d),z=Ko(p),L=zn(p)===p,G=await(h.isRTL==null?void 0:h.isRTL(y.floating)),Z=b||(L||!x?[Kl(p)]:nx(p)),H=C!=="none";!b&&H&&Z.push(...ux(p,x,C,G));const D=[p,...Z],q=await h.detectOverflow(n,A),V=[];let $=((l=c.flip)==null?void 0:l.overflows)||[];if(_&&V.push(q[j]),g){const X=ix(d,f,G);V.push(q[X[0]],q[X[1]])}if($=[...$,{placement:d,overflows:V}],!V.every(X=>X<=0)){var W,ee;const X=(((W=c.flip)==null?void 0:W.index)||0)+1,Y=D[X];if(Y&&(!(g==="alignment"?z!==Ko(Y):!1)||$.every(K=>Ko(K.placement)===z?K.overflows[0]>0:!0)))return{data:{index:X,overflows:$},reset:{placement:Y}};let I=(ee=$.filter(T=>T.overflows[0]<=0).sort((T,K)=>T.overflows[1]-K.overflows[1])[0])==null?void 0:ee.placement;if(!I)switch(S){case"bestFit":{var ae;const T=(ae=$.filter(K=>{if(H){const ie=Ko(K.placement);return ie===z||ie==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(ie=>ie>0).reduce((ie,ne)=>ie+ne,0)]).sort((K,ie)=>K[1]-ie[1])[0])==null?void 0:ae[0];T&&(I=T);break}case"initialPlacement":I=p;break}if(d!==I)return{reset:{placement:I}}}return{}}}},hx=new Set(["left","top"]);async function _x(o,n){const{placement:u,platform:l,elements:d}=o,c=await(l.isRTL==null?void 0:l.isRTL(d.floating)),f=zn(u),p=nu(u),h=Ko(u)==="y",y=hx.has(f)?-1:1,_=c&&h?-1:1,g=iu(n,o);let{mainAxis:b,crossAxis:S,alignmentAxis:C}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return p&&typeof C=="number"&&(S=p==="end"?C*-1:C),h?{x:S*_,y:b*y}:{x:b*y,y:S*_}}const vx=function(o){return o===void 0&&(o=0),{name:"offset",options:o,async fn(n){var u,l;const{x:d,y:c,placement:f,middlewareData:p}=n,h=await _x(n,o);return f===((u=p.offset)==null?void 0:u.placement)&&(l=p.arrow)!=null&&l.alignmentOffset?{}:{x:d+h.x,y:c+h.y,data:{...h,placement:f}}}}},bx=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(n){const{x:u,y:l,placement:d,platform:c}=n,{mainAxis:f=!0,crossAxis:p=!1,limiter:h={fn:z=>{let{x:L,y:G}=z;return{x:L,y:G}}},...y}=iu(o,n),_={x:u,y:l},g=await c.detectOverflow(n,y),b=Ko(d),S=Zb(b);let C=_[S],x=_[b];const A=(z,L)=>ox(L+g[z==="y"?"top":"left"],L,L-g[z==="y"?"bottom":"right"]);f&&(C=A(S,C)),p&&(x=A(b,x));const j=h.fn({...n,[S]:C,[b]:x});return{...j,data:{x:j.x-u,y:j.y-l,enabled:{[S]:f,[b]:p}}}}}};function su(){return typeof window<"u"}function Tn(o){return $b(o)?(o.nodeName||"").toLowerCase():"#document"}function ra(o){var n;return(o==null||(n=o.ownerDocument)==null?void 0:n.defaultView)||window}function Zo(o){var n;return(n=($b(o)?o.ownerDocument:o.document)||window.document)==null?void 0:n.documentElement}function $b(o){return su()?o instanceof Node||o instanceof ra(o).Node:!1}function Wa(o){return su()?o instanceof Element||o instanceof ra(o).Element:!1}function Xo(o){return su()?o instanceof HTMLElement||o instanceof ra(o).HTMLElement:!1}function W_(o){return!su()||typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof ra(o).ShadowRoot}function ru(o){const{overflow:n,overflowX:u,overflowY:l,display:d}=Qa(o);return/auto|scroll|overlay|hidden|clip/.test(n+l+u)&&d!=="inline"&&d!=="contents"}function yx(o){return/^(table|td|th)$/.test(Tn(o))}function lu(o){try{if(o.matches(":popover-open"))return!0}catch{}try{return o.matches(":modal")}catch{return!1}}const kx=/transform|translate|scale|rotate|perspective|filter/,wx=/paint|layout|strict|content/,Si=o=>!!o&&o!=="none";let am;function Rm(o){const n=Wa(o)?Qa(o):o;return Si(n.transform)||Si(n.translate)||Si(n.scale)||Si(n.rotate)||Si(n.perspective)||!Bm()&&(Si(n.backdropFilter)||Si(n.filter))||kx.test(n.willChange||"")||wx.test(n.contain||"")}function Sx(o){let n=zi(o);for(;Xo(n)&&!Ps(n);){if(Rm(n))return n;if(lu(n))return null;n=zi(n)}return null}function Bm(){return am==null&&(am=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),am}function Ps(o){return/^(html|body|#document)$/.test(Tn(o))}function Qa(o){return ra(o).getComputedStyle(o)}function uu(o){return Wa(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.scrollX,scrollTop:o.scrollY}}function zi(o){if(Tn(o)==="html")return o;const n=o.assignedSlot||o.parentNode||W_(o)&&o.host||Zo(o);return W_(n)?n.host:n}function ey(o){const n=zi(o);return Ps(n)?(o.ownerDocument||o).body:Xo(n)&&ru(n)?n:ey(n)}function ty(o,n,u){var l;n===void 0&&(n=[]);const d=ey(o),c=d===((l=o.ownerDocument)==null?void 0:l.body),f=ra(d);return c?(km(f),n.concat(f,f.visualViewport||[],ru(d)?d:[],[])):n.concat(d,ty(d,[]))}function km(o){return o.parent&&Object.getPrototypeOf(o.parent)?o.frameElement:null}function ay(o){const n=Qa(o);let u=parseFloat(n.width)||0,l=parseFloat(n.height)||0;const d=Xo(o),c=d?o.offsetWidth:u,f=d?o.offsetHeight:l,p=Gl(u)!==c||Gl(l)!==f;return p&&(u=c,l=f),{width:u,height:l,$:p}}function oy(o){return Wa(o)?o:o.contextElement}function Cn(o){const n=oy(o);if(!Xo(n))return ho(1);const u=n.getBoundingClientRect(),{width:l,height:d,$:c}=ay(n);let f=(c?Gl(u.width):u.width)/l,p=(c?Gl(u.height):u.height)/d;return(!f||!Number.isFinite(f))&&(f=1),(!p||!Number.isFinite(p))&&(p=1),{x:f,y:p}}const Mx=ho(0);function iy(o){const n=ra(o);return!Bm()||!n.visualViewport?Mx:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function Ax(o,n,u){return n===void 0&&(n=!1),!!u&&n&&u===ra(o)}function Hs(o,n,u,l){n===void 0&&(n=!1),u===void 0&&(u=!1);const d=o.getBoundingClientRect(),c=oy(o);let f=ho(1);n&&(l?Wa(l)&&(f=Cn(l)):f=Cn(o));const p=Ax(c,u,l)?iy(c):ho(0);let h=(d.left+p.x)/f.x,y=(d.top+p.y)/f.y,_=d.width/f.x,g=d.height/f.y;if(c&&l){const b=ra(c),S=Wa(l)?ra(l):l;let C=b,x=km(C);for(;x&&S!==C;){const A=Cn(x),j=x.getBoundingClientRect(),z=Qa(x),L=j.left+(x.clientLeft+parseFloat(z.paddingLeft))*A.x,G=j.top+(x.clientTop+parseFloat(z.paddingTop))*A.y;h*=A.x,y*=A.y,_*=A.x,g*=A.y,h+=L,y+=G,C=ra(x),x=km(C)}}return Yl({width:_,height:g,x:h,y})}function du(o,n){const u=uu(o).scrollLeft;return n?n.left+u:Hs(Zo(o)).left+u}function ny(o,n){const u=o.getBoundingClientRect(),l=u.left+n.scrollLeft-du(o,u),d=u.top+n.scrollTop;return{x:l,y:d}}function Cx(o){let{elements:n,rect:u,offsetParent:l,strategy:d}=o;const c=d==="fixed",f=Zo(l),p=n?lu(n.floating):!1;if(l===f||p&&c)return u;let h={scrollLeft:0,scrollTop:0},y=ho(1);const _=ho(0),g=Xo(l);if((g||!c)&&((Tn(l)!=="body"||ru(f))&&(h=uu(l)),g)){const S=Hs(l);y=Cn(l),_.x=S.x+l.clientLeft,_.y=S.y+l.clientTop}const b=f&&!g&&!c?ny(f,h):ho(0);return{width:u.width*y.x,height:u.height*y.y,x:u.x*y.x-h.scrollLeft*y.x+_.x+b.x,y:u.y*y.y-h.scrollTop*y.y+_.y+b.y}}function xx(o){return o.getClientRects?Array.from(o.getClientRects()):[]}function zx(o){const n=uu(o),u=o.ownerDocument.body,l=An(o.scrollWidth,o.clientWidth,u.scrollWidth,u.clientWidth),d=An(o.scrollHeight,o.clientHeight,u.scrollHeight,u.clientHeight);let c=-n.scrollLeft+du(o);const f=-n.scrollTop;return Qa(u).direction==="rtl"&&(c+=An(o.clientWidth,u.clientWidth)-l),{width:l,height:d,x:c,y:f}}const Tx=25;function Nx(o,n,u){u===void 0&&(u="viewport");const l=u==="layoutViewport",d=ra(o),c=Zo(o),f=d.visualViewport;let p=c.clientWidth,h=c.clientHeight,y=0,_=0;if(f){const b=!Bm()||n==="fixed";l?b||(y=-f.offsetLeft,_=-f.offsetTop):(p=f.width,h=f.height,b&&(y=f.offsetLeft,_=f.offsetTop))}if(du(c)<=0){const b=c.ownerDocument,S=b.body,C=getComputedStyle(S),x=b.compatMode==="CSS1Compat"&&parseFloat(C.marginLeft)+parseFloat(C.marginRight)||0,A=Math.abs(c.clientWidth-S.clientWidth-x),j=getComputedStyle(c).scrollbarGutter==="stable both-edges"?A/2:A;j<=Tx&&(p-=j)}return{width:p,height:h,x:y,y:_}}function Ex(o,n){const u=Hs(o,!0,n==="fixed"),l=u.top+o.clientTop,d=u.left+o.clientLeft,c=Cn(o),f=o.clientWidth*c.x,p=o.clientHeight*c.y,h=d*c.x,y=l*c.y;return{width:f,height:p,x:h,y}}function Q_(o,n,u){let l;if(n==="viewport"||n==="layoutViewport")l=Nx(o,u,n);else if(n==="document")l=zx(Zo(o));else if(Wa(n))l=Ex(n,u);else{const d=iy(o);l={x:n.x-d.x,y:n.y-d.y,width:n.width,height:n.height}}return Yl(l)}function jx(o,n){const u=n.get(o);if(u)return u;let l=ty(o,[]).filter(p=>Wa(p)&&Tn(p)!=="body"),d=null;const c=Qa(o).position==="fixed";let f=c?zi(o):o;for(;Wa(f)&&!Ps(f);){const p=Qa(f),h=Rm(f),y=d?d.position:c?"fixed":"";!h&&(y==="fixed"||y==="absolute"&&p.position==="static")?l=l.filter(g=>g!==f):d=p,f=zi(f)}return n.set(o,l),l}function Dx(o){let{element:n,boundary:u,rootBoundary:l,strategy:d}=o;const f=[...u==="clippingAncestors"?lu(n)?[]:jx(n,this._c):[].concat(u),l],p=Q_(n,f[0],d);let h=p.top,y=p.right,_=p.bottom,g=p.left;for(let b=1;b<f.length;b++){const S=Q_(n,f[b],d);h=An(S.top,h),y=bm(S.right,y),_=bm(S.bottom,_),g=An(S.left,g)}return{width:y-g,height:_-h,x:g,y:h}}function Ox(o){const{width:n,height:u}=ay(o);return{width:n,height:u}}function qx(o,n,u){const l=Xo(n),d=Zo(n),c=u==="fixed",f=Hs(o,!0,c,n);let p={scrollLeft:0,scrollTop:0};const h=ho(0);if((l||!c)&&((Tn(n)!=="body"||ru(d))&&(p=uu(n)),l)){const b=Hs(n,!0,c,n);h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}!l&&d&&(h.x=du(d));const y=d&&!l&&!c?ny(d,p):ho(0),_=f.left+p.scrollLeft-h.x-y.x,g=f.top+p.scrollTop-h.y-y.y;return{x:_,y:g,width:f.width,height:f.height}}function om(o){return Qa(o).position==="static"}function Z_(o,n){if(!Xo(o)||Qa(o).position==="fixed")return null;if(n)return n(o);let u=o.offsetParent;return Zo(o)===u&&(u=u.ownerDocument.body),u}function sy(o,n){const u=ra(o);if(lu(o))return u;if(!Xo(o)){let d=zi(o);for(;d&&!Ps(d);){if(Wa(d)&&!om(d))return d;d=zi(d)}return u}let l=Z_(o,n);for(;l&&yx(l)&&om(l);)l=Z_(l,n);return l&&Ps(l)&&om(l)&&!Rm(l)?u:l||Sx(o)||u}const Rx=async function(o){const n=this.getOffsetParent||sy,u=this.getDimensions,l=await u(o.floating);return{reference:qx(o.reference,await n(o.floating),o.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}};function Bx(o){return Qa(o).direction==="rtl"}const Lx={convertOffsetParentRelativeRectToViewportRelativeRect:Cx,getDocumentElement:Zo,getClippingRect:Dx,getOffsetParent:sy,getElementRects:Rx,getClientRects:xx,getDimensions:Ox,getScale:Cn,isElement:Wa,isRTL:Bx},Ix=vx,Ux=bx,Px=gx,Hx=(o,n,u)=>{const l=new Map,d=u??{},c={...Lx,...d.platform,_c:l};return fx(o,n,{...d,platform:c})};var Mn=Tm(),Fx=typeof document<"u",Vx=function(){},ql=Fx?k.useLayoutEffect:Vx;function Wl(o,n){if(o===n)return!0;if(typeof o!=typeof n)return!1;if(typeof o=="function"&&o.toString()===n.toString())return!0;let u,l,d;if(o&&n&&typeof o=="object"){if(Array.isArray(o)){if(u=o.length,u!==n.length)return!1;for(l=u;l--!==0;)if(!Wl(o[l],n[l]))return!1;return!0}if(d=Object.keys(o),u=d.length,u!==Object.keys(n).length)return!1;for(l=u;l--!==0;)if(!{}.hasOwnProperty.call(n,d[l]))return!1;for(l=u;l--!==0;){const c=d[l];if(!(c==="_owner"&&o.$$typeof)&&!Wl(o[c],n[c]))return!1}return!0}return o!==o&&n!==n}function ry(o){return typeof window>"u"?1:(o.ownerDocument.defaultView||window).devicePixelRatio||1}function X_(o,n){const u=ry(o);return Math.round(n*u)/u}function im(o){const n=k.useRef(o);return ql(()=>{n.current=o}),n}function cu(o){o===void 0&&(o={});const{placement:n="bottom",strategy:u="absolute",middleware:l=[],platform:d,elements:{reference:c,floating:f}={},transform:p=!0,whileElementsMounted:h,open:y}=o,[_,g]=k.useState({x:0,y:0,strategy:u,placement:n,middlewareData:{},isPositioned:!1}),[b,S]=k.useState(l);Wl(b,l)||S(l);const[C,x]=k.useState(null),[A,j]=k.useState(null),z=k.useCallback(K=>{K!==H.current&&(H.current=K,x(K))},[]),L=k.useCallback(K=>{K!==D.current&&(D.current=K,j(K))},[]),G=c||C,Z=f||A,H=k.useRef(null),D=k.useRef(null),q=k.useRef(_),V=h!=null,$=im(h),W=im(d),ee=im(y),ae=k.useCallback(()=>{if(!H.current||!D.current)return;const K={placement:n,strategy:u,middleware:b};W.current&&(K.platform=W.current),Hx(H.current,D.current,K).then(ie=>{const ne={...ie,isPositioned:ee.current!==!1};X.current&&!Wl(q.current,ne)&&(q.current=ne,Mn.flushSync(()=>{g(ne)}))})},[b,n,u,W,ee]);ql(()=>{y===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,g(K=>({...K,isPositioned:!1})))},[y]);const X=k.useRef(!1);ql(()=>(X.current=!0,()=>{X.current=!1}),[]),ql(()=>{if(G&&(H.current=G),Z&&(D.current=Z),G&&Z){if($.current)return $.current(G,Z,ae);ae()}},[G,Z,ae,$,V]);const Y=k.useMemo(()=>({reference:H,floating:D,setReference:z,setFloating:L}),[z,L]),I=k.useMemo(()=>({reference:G,floating:Z}),[G,Z]),T=k.useMemo(()=>{const K={position:u,left:0,top:0};if(!I.floating)return K;const ie=X_(I.floating,_.x),ne=X_(I.floating,_.y);return p?{...K,transform:"translate("+ie+"px, "+ne+"px)",...ry(I.floating)>=1.5&&{willChange:"transform"}}:{position:u,left:ie,top:ne}},[u,p,I.floating,_.x,_.y]);return k.useMemo(()=>({..._,update:ae,refs:Y,elements:I,floatingStyles:T}),[_,ae,Y,I,T])}const Gx=(o,n)=>{const u=Ix(o);return{name:u.name,fn:u.fn,options:[o,n]}},mu=(o,n)=>{const u=Ux(o);return{name:u.name,fn:u.fn,options:[o,n]}},Kx=(o,n)=>{const u=Px(o);return{name:u.name,fn:u.fn,options:[o,n]}};function Yx({children:o,title:n,style:u,placement:l,subtitle:d}){const[c,f]=k.useState(!1),[p,h]=k.useState(!1),[y,_]=k.useState(null),g=k.useRef(`tooltip-${Math.random()}`),b=k.useRef(null),{x:S,y:C,refs:x,strategy:A,placement:j}=cu({placement:l||"bottom",middleware:[Kx(),Gx(15),mu()],elements:{reference:y}}),z=()=>{b.current&&(clearTimeout(b.current),b.current=null),h(!1),f(!0)},L=()=>{h(!0),b.current=setTimeout(()=>{f(!1),h(!1)},200)},G=()=>{b.current&&(clearTimeout(b.current),b.current=null),h(!1),f(!0)},Z=()=>{h(!0),b.current=setTimeout(()=>{f(!1),h(!1)},200)},H=()=>!c&&!p?"initial":p?"close":"open";return w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"tooltip",style:u,onMouseEnter:z,onMouseLeave:L,onFocus:G,onBlur:Z,ref:_,"aria-describedby":g.current,children:o}),(c||p)&&w.jsxs("span",{ref:x.setFloating,style:{position:A,top:C??"",left:S??"",display:"flex",flexFlow:"column"},className:"tooltipTitle","data-status":H(),"data-placement":j,children:[n,w.jsx("span",{style:{fontSize:"8px"},children:d})]})]})}const ht=k.memo(Yx),Fs=k.forwardRef(({icon:o,label:n,type:u,iconPlacement:l,onClick:d,active:c,disabled:f,tooltipTitle:p,tooltipKey:h,href:y,style:_},g)=>{let b;switch(u){case"settings":b="btn-settings";break;case"secondary":b="btn-secondary";break;case"icon":b="btn-icon";break;case"navigation":b="btn-navigation";break;case"collection":b="btn-collection";break;case"linkIconButton":b="btn-icon";break;case"linkButton":b="btn-settings";break;default:b="btn-default"}l==="right"&&(b+=" flowReverse"),c&&(b+=` ${b}-active`);const S=w.jsxs("button",{className:b,onClick:d,ref:g,disabled:f,style:_,children:[o,n]}),C=w.jsxs("a",{className:b,onClick:d,ref:g,disabled:f,href:y,style:_,target:"_blank",rel:"noopener noreferrer",children:[o,n]}),x=w.jsx(ht,{title:p,children:w.jsxs("a",{className:b,onClick:d,ref:g,disabled:f,href:y,target:"_blank",rel:"noopener noreferrer",style:_,children:[o,n]})},h);switch(u){case"linkIconButton":return x;case"linkButton":return C;case"icon":return w.jsx(ht,{title:p,children:S},h);default:return S}});Fs.displayName="Button";function Wx({urlError:o,iconError:n,addLink:u,closeModal:l,edit:d,editData:c,editLink:f}){const[p,h]=k.useState(d?c.name:""),[y,_]=k.useState(d?c.url:""),[g,b]=k.useState(d?c.icon:"");return w.jsxs("div",{className:"addLinkModal",children:[w.jsxs("div",{className:"shareHeader",children:[w.jsx("span",{className:"title",children:d?pe.getMessage("widgets.quicklinks.edit"):pe.getMessage("widgets.quicklinks.new")}),w.jsx(ht,{title:pe.getMessage("modals.welcome.buttons.close"),children:w.jsx("div",{className:"close",onClick:()=>l(),children:w.jsx(Is,{})})})]}),w.jsxs("div",{className:"quicklinkModalTextbox",children:[w.jsx("input",{type:"text",className:"text-field-input",placeholder:pe.getMessage("widgets.quicklinks.name"),value:p,onChange:S=>h(S.target.value.replace(/(\r\n|\n|\r)/gm,"")),style:{gridColumn:"span 2"}}),w.jsx("input",{type:"text",className:"text-field-input",placeholder:pe.getMessage("widgets.quicklinks.url"),value:y,onChange:S=>_(S.target.value.replace(/(\r\n|\n|\r)/gm,""))}),w.jsx("input",{type:"text",className:"text-field-input",placeholder:pe.getMessage("widgets.quicklinks.icon"),value:g,onChange:S=>b(S.target.value.replace(/(\r\n|\n|\r)/gm,""))})]}),w.jsxs("div",{className:"addFooter",children:[w.jsxs("span",{className:"dropdown-error",children:[n," ",o]}),d?w.jsx(Fs,{type:"settings",onClick:()=>f(c,p,y,g),icon:w.jsx(D_,{}),label:pe.getMessage("modals.main.settings.sections.quicklinks.edit")}):w.jsx(Fs,{type:"settings",onClick:()=>u(p,y,g),icon:w.jsx(D_,{}),label:pe.getMessage("widgets.quicklinks.add")})]})]})}const kN=k.memo(Wx),Qx=[{name:"time",value:!0},{name:"greeting",value:!0},{name:"background",value:!0},{name:"quote",value:!1},{name:"searchBar",value:!1},{name:"blur",value:0},{name:"brightness",value:90},{name:"zero",value:!0},{name:"events",value:!0},{name:"customBackground",value:""},{name:"greetingName",value:""},{name:"defaultGreetingMessage",value:!0},{name:"backgroundAPI",value:"mue"},{name:"copyButton",value:!1},{name:"installed",value:[]},{name:"searchEngine",value:"duckduckgo"},{name:"refresh",value:!1},{name:"view",value:!0},{name:"favouriteEnabled",value:!0},{name:"quoteShareButton",value:!1},{name:"favouriteQuoteEnabled",value:!1},{name:"showWelcome",value:!1},{name:"date",value:"false"},{name:"timeType",value:"digital"},{name:"dateFormat",value:"DMY"},{name:"shortFormat",value:"dots"},{name:"toastDisplayTime",value:2500},{name:"fontstyle",value:"normal"},{name:"fontweight",value:400},{name:"order",value:'["greeting", "time", "quicklinks", "date", "message"]'},{name:"theme",value:"auto"},{name:"backgroundType",value:"api"},{name:"timeformat",value:"twentyfourhour"},{name:"experimental",value:!1},{name:"debugtimeout",value:0},{name:"quicklinks",value:"[]"},{name:"quicklinksenabled",value:!1},{name:"weatherEnabled",value:!1},{name:"weatherType",value:2},{name:"tempformat",value:"celsius"},{name:"authorImg",value:!0},{name:"authorLink",value:!0},{name:"bgtransition",value:!0},{name:"backgroundVideoLoop",value:!0},{name:"backgroundVideoMute",value:!0},{name:"quicklinkstooltip",value:!0},{name:"notesEnabled",value:!0},{name:"showlocation",value:!0},{name:"minuteHand",value:!0},{name:"hourHand",value:!0},{name:"datezero",value:!0},{name:"autocompleteProvider",value:"google"},{name:"quoteType",value:"quote_pack"},{name:"backgroundFilter",value:"none"},{name:"apiQuality",value:"high"},{name:"photoInformation",value:!0},{name:"backgroundFilterAmount",value:0},{name:"stats",value:!1},{name:"statsData",value:"{}"},{name:"localeFormatting",value:!0},{name:"offlineMode",value:!0},{name:"animations",value:!0},{name:"textBorder",value:"new"},{name:"widgetStyle",value:"new"},{name:"backgroundExclude",value:"[]"},{name:"photoMap",value:!0},{name:"appsEnabled",value:!1},{name:"applinks",value:"[]"},{name:"customEvents",value:'[{"id":"widgets.greeting.christmas","name":"Merry Christmas","month":12,"date":25},{"id":"widgets.greeting.newyear","name":"Happy New Year","month":1,"date":1},{"id":"widgets.greeting.halloween","name":"Happy Halloween","month":10,"date":31}]'},{name:"authorDetails",value:!0},{name:"taskBox",value:!0},{name:"taskBoxMode",value:"ask"},{name:"taskBoxFocus",value:!0},{name:"recentChats",value:!1}],Zx=[{name:"العربية",value:"ar"},{name:"مصرى",value:"arz"},{name:"Azərbaycan",value:"az"},{name:"تۆرکجه",value:"azb"},{name:"Bahasa Indonesia",value:"id_ID"},{name:"বাংলা",value:"bn"},{name:"Deutsch",value:"de_DE"},{name:"Ελληνικά",value:"el"},{name:"English (UK)",value:"en_GB"},{name:"English (US)",value:"en_US"},{name:"Español",value:"es"},{name:"Español (Latinoamérica)",value:"es_419"},{name:"Eesti",value:"et"},{name:"فارسی",value:"fa"},{name:"Français",value:"fr"},{name:"Magyar",value:"hu"},{name:"日本語",value:"ja"},{name:"Lietuvių",value:"lt"},{name:"Latviešu",value:"lv"},{name:"Nederlands",value:"nl"},{name:"Norsk",value:"no"},{name:"𐎱𐎠𐎼𐎿",value:"peo"},{name:"Pусский",value:"ru"},{name:"Português",value:"pt"},{name:"Português (Brasil)",value:"pt_BR"},{name:"Português (Portugal)",value:"pt_PT"},{name:"Slovenščina",value:"sl"},{name:"Svenska",value:"sv"},{name:"தமிழ்",value:"ta"},{name:"Türkçe",value:"tr_TR"},{name:"Українська",value:"uk"},{name:"Tiếng Việt",value:"vi"},{name:"中文 (简体)",value:"zh_CN"},{name:"中文 (繁體)",value:"zh_Hant"}];function wm(o){localStorage.clear(),Qx.forEach(l=>localStorage.setItem(l.name,l.value));const n=Zx.map(({value:l})=>l),u=navigator.languages&&navigator.languages.find(l=>l.replace("-","_")&&n.includes(l))||navigator.language.replace("-","_");n.includes(u)?localStorage.setItem("language",u):localStorage.setItem("language","en_GB"),localStorage.setItem("tabName",pe.getMessage("tabname")),o&&localStorage.setItem("showWelcome",!1),localStorage.setItem("firstRun",!0)}function Xx(o,n="file",u="text/json"){typeof o=="object"&&(o=JSON.stringify(o,void 0,4));const l=new Blob([o],{type:u}),d=document.createEvent("MouseEvents"),c=document.createElement("a");c.href=window.URL.createObjectURL(l),c.download=n,c.dataset.downloadurl=[u,c.download,c.href].join(":"),d.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),c.dispatchEvent(d)}function J_(o){switch(localStorage.getItem("theme")){case"dark":document.body.classList.add("dark"),document.body.classList.remove("light");break;case"auto":window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?document.body.classList.add("dark"):(document.body.classList.remove("dark"),document.body.classList.add("light"));break;default:document.body.classList.add("light"),document.body.classList.remove("dark")}document.title=localStorage.getItem("tabName")||pe.getMessage("tabname"),o===!0&&["customcss","customfont"].forEach(c=>{try{document.head.removeChild(document.getElementById(c))}catch{}}),localStorage.getItem("animations")==="false"?document.body.classList.add("no-animations"):document.body.classList.remove("no-animations");const n=localStorage.getItem("textBorder");n==="true"?["greeting","clock","date"].forEach(c=>{try{document.querySelector("."+c).classList.add("textBorder")}catch{}}):["greeting","clock","date"].forEach(c=>{try{document.querySelector("."+c).classList.remove("textBorder")}catch{}}),n==="none"?document.getElementById("center").classList.add("no-textBorder"):document.getElementById("center").classList.remove("no-textBorder");const u=localStorage.getItem("customcss");u&&document.head.insertAdjacentHTML("beforeend",'<style id="customcss">'+u+"</style>");const l=localStorage.getItem("font");l&&document.head.insertAdjacentHTML("beforeend",`+注意:如果你不喜歡「{category}」影像,你可以在背景來源設定中取消選擇該類別。`,confirm:"確認"},search:"搜尋",quicklinks:{new:"新增連結",edit:"編輯連結",name:"名稱",url:"網址",icon:"圖示(選擇性)",add:"增加",name_error:"必須提供名稱",url_error:"必須提供網址"},date:{week:"週"},weather:{not_found:"找不到",meters:"{amount} 公尺",extra_information:"額外資訊",feels_like:"感覺像 {amount}"},quote:{link_tooltip:"在維基百科上開啟",share:"分享",copy:"複製",favourite:"收藏",unfavourite:"取消收藏"},navbar:{tooltips:{refresh:"重新整理"},notes:{title:"筆記",placeholder:"在此輸入"},todo:{title:"待辦事項",pin:"釘選",add:"增加",no_todos:"無待辦事項"},apps:{title:"應用程式",no_apps:"找不到應用程式連結"}}},YM=JSON.parse(`{"main":{"title":"選項","loading":"載入中…","file_upload_error":"檔案超過 2MB","navbar":{"settings":"設定","library":"附加元件","discover":"市場"},"error_boundary":{"title":"錯誤","message":"無法載入 Mue 的此元件","report_error":"傳送錯誤報告","sent":"已傳送!","refresh":"重新整理"},"settings":{"enabled":"已啟用","open_knowledgebase":"開啟知識庫","additional_settings":"附加設定","reminder":{"title":"注意","message":"為了使所有變更生效,必須重新整理頁面。"},"sections":{"header":{"more_info":"更多資訊","report_issue":"報告問題","enabled":"選擇是否顯示此小工具","size":"滑桿控制小部件的大小"},"time":{"title":"時間","format":"格式","type":"類型","type_subtitle":"選擇是否以數位格式、類比格式或當天完成百分比顯示時間","digital":{"title":"數位","subtitle":"變更數位時鐘的外觀","seconds":"秒","twentyfourhour":"24 小時制","twelvehour":"12 小時制","zero":"Zero-padded"},"analogue":{"title":"類比","subtitle":"變更類比時鐘的外觀","second_hand":"秒針","minute_hand":"分針","hour_hand":"時針","hour_marks":"小時刻度","minute_marks":"分鐘刻度","round_clock":"圓形背景"},"percentage_complete":"完成百分比","vertical_clock":{"title":"垂直時鐘","change_hour_colour":"變更小時文字顏色","change_minute_colour":"變更分鐘文字顏色","change_second_colour":"變更秒文字顏色"}},"date":{"title":"日期","week_number":"週數","day_of_week":"星期","datenth":"日期 th","type":{"short":"短","long":"長","subtitle":"Whether to display the date in long form or short form"},"type_settings":"Display settings and format for the selected date type","short_date":"Short date","short_format":"Short format","long_format":"Long format","short_separator":{"title":"Short separator","dots":"Dots","dash":"Dash","gaps":"Gaps","slashes":"Slashes"}},"quote":{"title":"Quote","additional":"Other settings to customise the style of the quote widget","author_link":"Author link","author_details":"作者詳細資訊","custom":"Custom quote","custom_subtitle":"Set your own custom quotes","no_quotes":"No quotes","author":"Author","custom_buttons":"Buttons","custom_author":"Custom author","author_img":"Show author image","add":"Add quote","source_subtitle":"Choose where to get quotes from","buttons":{"title":"Buttons","subtitle":"Choose which buttons to show on the quote","copy":"Copy","tweet":"Tweet","favourite":"Favourite"}},"greeting":{"title":"Greeting","events":{"0":"E","1":"v","2":"e","3":"n","4":"t","5":"s","title":"Events"},"events_description":"Control events on Mue such as birthdays.","enable_events":"Show messages on special days","default":"Default greeting message","name":"Name for greeting","birthday":"Birthday","birthday_subtitle":"Show a Happy Birthday message when it is your birthday","birthday_age":"Birthday age","birthday_date":"Birthday date","additional":"Settings for the greeting display","custom":"Custom events","event_name":"Event Name","day":"Day","month":"Month","no_events":"No Events","no_events_description":"Add Some Events","add_event":"Add Event"},"background":{"title":"Background","transition":"Fade-in transition","photo_information":"Show photo information","show_map":"Show location map on photo information if available","categories":"Categories","buttons":{"title":"Buttons","view":"Maximise","favourite":"Favourite","download":"Download"},"effects":{"title":"Effects","subtitle":"Add effects to the background images","blur":"Adjust blur","brightness":"Adjust brightness","filters":{"title":"Background filter","amount":"Filter amount","grayscale":"Grayscale","sepia":"Sepia","invert":"Invert","saturate":"Saturate","contrast":"Contrast"}},"type":{"title":"Type","api":"API","custom_image":"Custom image","custom_colour":"Custom colour/gradient","random_colour":"Random colour","random_gradient":"Random gradient"},"unsplash":{"title":"Unsplash Collection(s)","subtitle":"Select the collection(s) you want to use for your background","id":"Collection ID(s)","id_subtitle":"Enter a comma separated list of Unsplash IDs"},"source":{"title":"Source","subtitle":"Select where to get background images from","api":"Background API","custom_background":"Custom background","custom_colour":"Custom background colour","upload":"Upload","add_colour":"Add colour","add_background":"Add background","drop_to_upload":"Drop to upload","formats":"Available formats: {list}","select":"Or Select","add_url":"Add URL","disabled":"Disabled","loop_video":"Loop video","mute_video":"Mute video","quality":{"title":"Quality","original":"Original","high":"High Quality","normal":"Normal Quality","datasaver":"Data Saver"},"custom_title":"Custom Images","custom_description":"Select images from your local computer","remove":"Remove Image","delete_selected":"Delete {count} Selected","uploading":"Uploading {current} of {total}...","images":"images","tag_images":"Tag Images","tag_description":"Add {count} images to a folder (optional)","folder_name":"Folder Name","folder_placeholder":"Leave empty for no folder","storage_info":"Storage Information","storage_description":"Mue uses browser storage to save your custom images. The current limit is approximately 4.85MB for all settings and images combined.","storage_current":"Current usage: {used} of {total} ({percent}%)","sort":{"date_newest":"Date Added (Newest)","date_oldest":"Date Added (Oldest)","name_asc":"Name (A-Z)","name_desc":"Name (Z-A)","size_small":"File Size (Smallest)","size_large":"File Size (Largest)"}},"display":"Display","display_subtitle":"Change how background and photo information are loaded","api":"API Settings","api_subtitle":"Options for getting an image from an external service (API)"},"search":{"title":"Search","additional":"Additional options for search widget display and functionality","search_engine":"Search Engine","search_engine_subtitle":"Choose search engine to use in the search bar","custom":"Custom Search URL","autocomplete":"Autocomplete","autocomplete_provider":"Autocomplete Provider","autocomplete_provider_subtitle":"Search engine to use for autocomplete dropdown results","voice_search":"Voice search","dropdown":"Search Dropdown","focus":"Focus on tab open","chrome_policy_warning":"In version 7.2, the ability to choose your search engine within Mue was removed to comply with new Chrome Web Store guidelines. Mue now uses your browser's default search engine. You can change this in Chrome Settings."},"weather":{"title":"Weather","location":"Location","auto":"Auto","widget_type":"Widget Type","temp_format":{"title":"Temperature format","celsius":"Celsius","fahrenheit":"Fahrenheit","kelvin":"Kelvin"},"extra_info":{"title":"Extra information","show_location":"Show location","show_description":"Show description","weather_description":"Weather description","cloudiness":"Cloudiness","humidity":"Humidity","visibility":"Visibility","wind_speed":"Wind speed","wind_direction":"Wind direction","min_temp":"Minimum temperature","max_temp":"Maximum temperature","atmospheric_pressure":"Atmospheric pressure"},"options":{"basic":"Basic","standard":"Standard","expanded":"Expanded","custom":"Custom"},"custom_settings":"Custom Settings"},"quicklinks":{"title":"Quick Links","additional":"Additional settings for quick links display and functions","open_new":"Open in new tab","tooltip":"Tooltip","text_only":"Show text only","add_link":"Add Link","no_quicklinks":"No quick links","edit":"Edit","style":"Style","options":{"icon":"Icon","text_only":"Text Only","metro":"Metro"},"styling":"Styling","styling_description":"Customise Quick Links appearance"},"message":{"title":"Message","add":"Add message","messages":"Messages","text":"Text","no_messages":"No messages","add_some":"Go ahead and add some.","content":"Message Content"},"appearance":{"title":"Appearance","style":{"title":"Widget Style","description":"Choose between the two styles, legacy (enabled for pre 7.0 users) and our slick modern styling.","legacy":"Legacy","new":"New"},"theme":{"title":"Theme","description":"Change the theme of the Mue widgets and modals","auto":"Auto","light":"Light","dark":"Dark"},"navbar":{"title":"Navbar","widgets":"Navbar Widgets","notes":"Notes","refresh":"Refresh","refresh_subtitle":"Choose what is refreshed when you click the refresh button","hover":"Only display on hover","additional":"Modify navbar style and which buttons you want to display","refresh_options":{"none":"None","page":"Page"},"apps_subtitle":"Create a shortcut of your other commonly used websites."},"font":{"title":"Font","description":"Change the font used in Mue","custom":"Custom font","google":"Import from Google Fonts","weight":{"title":"Font weight","thin":"Thin","extra_light":"Extra Light","light":"Light","normal":"Normal","medium":"Medium","semi_bold":"Semi-Bold","bold":"Bold","extra_bold":"Extra-Bold"},"style":{"title":"Font style","normal":"Normal","italic":"Italic","oblique":"Oblique"}},"accessibility":{"title":"Accessibility","description":"Make Mue comfortable and accessible","animations":"Animations","text_shadow":{"title":"Widget text shadow","new":"New","old":"Old","none":"None"},"widget_zoom":"Widget Zoom","toast_duration":"Toast Duration","milliseconds":"milliseconds"}},"order":{"title":"Widget Order"},"advanced":{"title":"Advanced","offline_mode":"Offline mode","offline_subtitle":"When enabled, all requests to online services will be disabled.","data":"Data","data_description":"Choose whether to export your Mue settings to your computer, import an existing settings file, or reset your settings to their default values","data_subtitle":"Manage your data on Mue.","reset_modal":{"title":"WARNING","question":"Do you want to reset Mue?","information":"This will delete all data. If you wish to keep your data and preferences, please export them first.","cancel":"Cancel"},"customisation":"Customisation","custom_css":"Custom CSS","custom_css_subtitle":"Make Mue's styling customised to you with Cascading Style Sheets (CSS).","custom_js":"Custom JS","tab_name":"Tab name","tab_name_subtitle":"Change the name of the tab that appears in your browser","timezone":{"title":"Time Zone","subtitle":"Choose a timezone from the list instead of the automatic default from your computer","automatic":"Automatic"},"experimental_warning":"Please note that the Mue team cannot provide support if you have experimental mode on. Please disable it first and see if the issue continues to occur before contacting support.","preview_data_disabled":{"title":"Data Settings Disabled","description":"Data settings are disabled in preview mode. Please exit preview mode to use this feature."}},"stats":{"title":"Stats","sections":{"tabs_opened":"Tabs opened","backgrounds_favourited":"Backgrounds favourited","backgrounds_downloaded":"Backgrounds downloaded","quotes_favourited":"Quotes favourited","quicklinks_added":"Quicklinks added","settings_changed":"Settings changed","addons_installed":"Add-ons installed"},"usage":"Usage Stats","achievements":"Achievements","achievement_unlocked":"Achievement Unlocked: {name}","unlocked":"{count} Unlocked","locked":"Locked","clear_modal":{"question":"Do you want to clear your stats?","information":"This will clear all achievements and usage statistics."}},"experimental":{"title":"Experimental","warning":"These settings have not been fully tested/implemented and may not work correctly!","developer":"Developer"},"language":{"title":"Language","quote":"Quote language","search":"Search languages...","current":"Current","use_system":"Use system language","locale_formatting":"Format numbers for your language"},"changelog":{"title":"Change Log","by":"By {author}"},"about":{"title":"About","version":{"title":"Version","checking_update":"Checking for update","update_available":"Update available","no_update":"No update available","offline_mode":"Cannot check for update in offline mode","error":{"title":"Failed to get update information","description":"An error occured"}},"contact_us":"Contact Us","support_mue":"Support Mue","support_subtitle":"As Mue is entirely free, we rely on donations to cover the server bills and fund development","support_donate":"Donate","form_button":"Form","resources_used":{"title":"Resources used","bg_images":"Offline background images"},"contributors":"Contributors","supporters":"Supporters","no_supporters":"There are currently no Mue supporters","photographers":"Photographers","curators":"Add-on creators"}},"buttons":{"reset":"Reset","import":"Import","export":"Export","cancel":"Cancel","continue":"Continue","close":"Close"}},"marketplace":{"title":"Marketplace","by":"by {author}","all":"All","learn_more":"Learn More","photo_packs":"Photo Packs","quote_packs":"Quote Packs","preset_settings":"Preset Settings","no_items":"No items in this category","collection":"Collection","explore_collection":"Explore Collection","add_all":"Add All To Mue","collections":"Collections","cant_find":"Can't find what you're looking for?","knowledgebase_one":"Visit the","knowledgebase_two":"knowledgebase","knowledgebase_three":"to create your own.","installing":"Installing","product":{"overview":"Overview","information":"Information","last_updated":"Last Updated","description":"Description","details":"Details","more_from_curator":"More like this from {name}","show_more":"Show More","show_less":"Show Less","show_all":"Show All","showing":"Showing","no_images":"No. Images","no_quotes":"No. Quotes","version":"Version","created_by":"Created by","updated_at":"Updated on","part_of":"Part of","explore":"Explore","buttons":{"addtomue":"Add To Mue","remove":"Remove","update_addon":"Update Add-on","back":"Back","report":"Report","not_available_preview":"Unavailable on Preview"},"not_in_language":"This add-on is not in your language","third_party_api":"This add-on uses a third-party API","sideload_warning":"This add-on has been sideloaded.","setting":"Setting","value":"Value"},"offline":{"title":"Looks like you're offline","description":"Please connect to the internet"}},"addons":{"added":"Added","check_updates":"Check for updates","no_updates":"No updates available","updates_available":"Updates available {amount}","empty":{"title":"Empty","description":"No addons are installed"},"sideload":{"title":"Sideload","description":"Install a Mue addon not on the marketplace from your computer","failed":"Failed to sideload addon","errors":{"no_name":"No name provided","no_author":"No author provided","no_type":"No type provided","invalid_photos":"Invalid photos object","invalid_quotes":"Invalid quotes object"}},"sort":{"title":"Sort","newest":"Installed (Newest)","a_z":"Alphabetical (A-Z)","recently_updated":"Recently Updated"},"create":{"title":"Create","moved_title":"Create add-on has moved!","moved_description":"Following the 7.1 update, the creation of addons has now moved to the web UI","moved_button":"Coming Soon...."}}},"update":{"title":"Update","offline":{"title":"Offline","description":"Cannot get update logs while in offline mode"},"error":{"title":"Error","description":"Could not connect to the server"}},"welcome":{"tip":"Quick Tip","sections":{"intro":{"title":"Welcome to Mue Tab","description":"Thank you for installing Mue, we hope you enjoy your time with our extension.","notices":{"discord_title":"Join our Discord","discord_description":"Talk with the Mue community and developers","discord_join":"Join","github_title":"Contribute on GitHub","github_description":"Report bugs, add features or donate","github_open":"Open"}},"language":{"title":"Choose your language","description":"Mue can be displayed the languages listed below. You can also add new translations on our"},"theme":{"title":"Select a theme","description":"Mue is available in both light and dark theme, or this can be automatically set depending on your system theme.","tip":"Using the Auto settings will use the theme on your computer. This setting will impact the modals and some of the widgets displayed on the screen, such as weather and notes."},"style":{"title":"Choose a style","description":"Mue currently offers the choice between the legacy styling and the newly released modern styling.","legacy":"Legacy","modern":"Modern"},"settings":{"title":"Import Settings","description":"Installing Mue on a new device? Feel free to import your old settings!","tip":"You can export your old settings by navigating to the Advanced tab in your old Mue setup. Then you need to click the export button which will download the JSON file. You can upload this file here to carry across your settings and preferences from your previous Mue installation."},"privacy":{"title":"Privacy Options","description":"Enable settings to further protect your privacy with Mue.","offline_mode_description":"Enabling offline mode will disable all requests to any service. This will result in online backgrounds, online quotes, marketplace, weather, quick links, change log and some about tab information to be disabled.","links":{"title":"Links","privacy_policy":"Privacy Policy","source_code":"Source Code"}},"final":{"title":"Final step","description":"Your Mue Tab experience is about to begin.","changes":"Changes","changes_description":"To change settings later click on the settings icon in the top right corner of your tab.","imported":"Imported {amount} settings"}},"buttons":{"next":"Next","preview":"Preview","previous":"Previous","close":"Close","finish":"Finish"},"preview":{"description":"You are currently in preview mode. Settings will be reset on closing this tab.","continue":"Continue setup"}},"share":{"copy_link":"Copy link","email":"Email"}}`),WM={quote:"Quote copied",notes:"Notes copied",reset:"Reset successfully",installed:"Successfully installed",uninstalled:"Successfully removed",updated:"Successfully updated",error:"Something went wrong",imported:"Successfully imported",no_storage:"Not enough storage",link_copied:"Link copied",stats_reset:"Stats reset"},Mb={tabname:GM,widgets:KM,modals:YM,toasts:WM};function Dl(o){return new M0("en_GB",{ar:Kv,arz:Yv,az:Wv,azb:Qv,bn:Zv,de_DE:Xv,el:Jv,en_GB:$v,en_US:eb,es:tb,es_419:ab,et:ob,fa:ib,fr:nb,hu:sb,id_ID:rb,ja:lb,lt:ub,lv:db,nl:cb,no:mb,peo:pb,pt:fb,pt_BR:gb,ru:hb,sl:_b,sv:vb,ta:bb,tr_TR:yb,uk:kb,vi:wb,zh_CN:Sb,zh_Hant:Mb})}const QM={ar:Kv,arz:Yv,az:Wv,azb:Qv,bn:Zv,de_DE:Xv,el:Jv,en_GB:$v,en_US:eb,es:tb,es_419:ab,et:ob,fa:ib,fr:nb,hu:sb,id_ID:rb,ja:lb,lt:ub,lv:db,nl:cb,no:mb,peo:pb,pt:fb,pt_BR:gb,ru:hb,sl:_b,sv:vb,ta:bb,tr_TR:yb,uk:kb,vi:wb,zh_CN:Sb,zh_Hant:Mb},ZM="https://webbrain.one",XM="https://webbrain.one/privacy",JM="https://github.com/esokullu/webbrain",$M="https://github.com/esokullu/webbrain/issues/new",eA="https://github.com/mue/mue",tA="7.6.0",aA="1.0.0",oA=Object.freeze(Object.defineProperty({__proto__:null,BUG_REPORT:$M,MUE_REPO_URL:eA,MUE_VERSION:tA,PRIVACY_URL:XM,REPO_URL:JM,VERSION:aA,WEBSITE_URL:ZM},Symbol.toStringTag,{value:"Module"}));class iA{static async postEvent(){}static async tabLoad(){}}const pe={language:{},languagecode:"",stats:iA,constants:oA};class ve{static listeners={};static register(n,u){this.listeners[n]||(this.listeners[n]=[]),u.first?this.listeners[n].unshift(u):this.listeners[n].push(u)}static on(n,u){const l=d=>u(d.detail);document.addEventListener(n,l),this.register(n,{callback:u,listener:l,capture:!1})}static emit(n,u){document.dispatchEvent(new CustomEvent(n,{detail:u}))}static off(n,u){if(typeof u!="function")return;const l=this.listeners[n]||[],d=l.filter(c=>c.callback===u||c.listener===u);d.forEach(c=>document.removeEventListener(n,c.listener,{capture:c.capture})),this.listeners[n]=l.filter(c=>!d.includes(c))}static once(n,u){const l=d=>{this.off(n,l),u(d.detail)};document.addEventListener(n,l),this.register(n,{callback:u,listener:l,capture:!1})}static prepend(n,u){const l=d=>u(d.detail);document.addEventListener(n,l,{capture:!0}),this.register(n,{callback:u,listener:l,capture:!0,first:!0})}static prependOnce(n,u){const l=d=>{this.off(n,l),u(d.detail)};document.addEventListener(n,l,{capture:!0}),this.register(n,{callback:u,listener:l,capture:!0,first:!0})}static getListeners(n){return this.listeners[n]||[]}static eventNames(){return Object.keys(this.listeners)}static removeAllListeners(){Object.keys(this.listeners).forEach(n=>{this.listeners[n].forEach(({listener:u,capture:l})=>{document.removeEventListener(n,u,{capture:l})})}),this.listeners={}}}const nA={en:"en_GB",zh:"zh_CN",ar:"ar",bn:"bn",nl:"nl",fr:"fr",de:"de_DE",id:"id_ID",ja:"ja",fa:"fa",pt:"pt_BR",ru:"ru",es:"es",tr:"tr_TR",uk:"uk",vi:"vi"};function Ab(){let o;try{o=String(Ll?.getItem("wbLocale")||"").trim()}catch{o=""}return o||String(globalThis.navigator?.language||"en").slice(0,2).toLowerCase()}function sA(){return nA[Ab()]||"en_GB"}const rA=["ask","act","search","placeholder_ask","placeholder_act","placeholder_search","go","act_hint","panel_failed","recent_title","recent_empty","recent_all","settings_taskbox","settings_taskbox_sub","settings_default_mode","settings_recent","settings_credits","settings_bundled_photos"],lA={en:["Ask","Act","Search","Ask WebBrain anything…","Tell WebBrain what to do…","Search or enter a URL","Go","WebBrain opens with your task ready. Press Enter there to run it.","Couldn't open the WebBrain panel. Click the WebBrain toolbar icon.","Recent chats","No chats yet","All history","Task box","Ask or act with WebBrain from the new tab.","Default mode","Show recent chats","Credits","Bundled photos"],es:["Preguntar","Actuar","Buscar","Pregunta lo que quieras a WebBrain…","Dile a WebBrain qué hacer…","Busca o escribe una URL","Ir","WebBrain se abre con tu tarea lista. Pulsa Intro allí para ejecutarla.","No se pudo abrir el panel de WebBrain. Haz clic en el icono de WebBrain de la barra.","Chats recientes","Aún no hay chats","Todo el historial","Cuadro de tareas","Pregunta o actúa con WebBrain desde la nueva pestaña.","Modo predeterminado","Mostrar chats recientes","Créditos","Fotos incluidas"],fr:["Demander","Agir","Rechercher","Posez n’importe quelle question à WebBrain…","Dites à WebBrain quoi faire…","Rechercher ou saisir une URL","OK","WebBrain s’ouvre avec votre tâche prête. Appuyez sur Entrée pour la lancer.","Impossible d’ouvrir le panneau WebBrain. Cliquez sur l’icône WebBrain de la barre d’outils.","Discussions récentes","Aucune discussion","Tout l’historique","Zone de tâche","Posez une question ou agissez avec WebBrain depuis le nouvel onglet.","Mode par défaut","Afficher les discussions récentes","Crédits","Photos incluses"],de:["Fragen","Handeln","Suchen","Frag WebBrain, was du willst…","Sag WebBrain, was zu tun ist…","Suchen oder URL eingeben","Los","WebBrain öffnet sich mit deiner Aufgabe. Drücke dort Enter, um sie auszuführen.","Das WebBrain-Panel konnte nicht geöffnet werden. Klicke auf das WebBrain-Symbol in der Symbolleiste.","Letzte Chats","Noch keine Chats","Gesamter Verlauf","Aufgabenfeld","Frage oder handle mit WebBrain direkt im neuen Tab.","Standardmodus","Letzte Chats anzeigen","Danksagungen","Mitgelieferte Fotos"],tr:["Sor","Yap","Ara","WebBrain’e her şeyi sor…","WebBrain’e ne yapacağını söyle…","Ara veya URL gir","Git","WebBrain, görevin hazır şekilde açılır. Çalıştırmak için orada Enter’a bas.","WebBrain paneli açılamadı. Araç çubuğundaki WebBrain simgesine tıkla.","Son sohbetler","Henüz sohbet yok","Tüm geçmiş","Görev kutusu","Yeni sekmeden WebBrain ile sor veya işlem yap.","Varsayılan mod","Son sohbetleri göster","Katkılar","Dahili fotoğraflar"],pt:["Perguntar","Agir","Pesquisar","Pergunte qualquer coisa ao WebBrain…","Diga ao WebBrain o que fazer…","Pesquise ou digite um URL","Ir","O WebBrain abre com sua tarefa pronta. Pressione Enter lá para executá-la.","Não foi possível abrir o painel do WebBrain. Clique no ícone do WebBrain na barra de ferramentas.","Conversas recentes","Ainda não há conversas","Todo o histórico","Caixa de tarefas","Pergunte ou aja com o WebBrain na nova guia.","Modo padrão","Mostrar conversas recentes","Créditos","Fotos incluídas"],ru:["Спросить","Действовать","Поиск","Спросите WebBrain о чём угодно…","Скажите WebBrain, что сделать…","Введите запрос или URL","Вперёд","WebBrain откроется с готовой задачей. Нажмите там Enter, чтобы запустить её.","Не удалось открыть панель WebBrain. Нажмите значок WebBrain на панели инструментов.","Недавние чаты","Чатов пока нет","Вся история","Поле задач","Спрашивайте и действуйте с WebBrain прямо на новой вкладке.","Режим по умолчанию","Показывать недавние чаты","Авторы и лицензии","Встроенные фото"],uk:["Запитати","Діяти","Пошук","Запитайте WebBrain про що завгодно…","Скажіть WebBrain, що зробити…","Введіть запит або URL","Вперед","WebBrain відкриється з готовим завданням. Натисніть там Enter, щоб запустити його.","Не вдалося відкрити панель WebBrain. Натисніть значок WebBrain на панелі інструментів.","Нещодавні чати","Чатів поки немає","Уся історія","Поле завдань","Запитуйте та виконуйте завдання з WebBrain просто на новій вкладці.","Режим за замовчуванням","Показувати нещодавні чати","Автори та ліцензії","Вбудовані фото"],zh:["提问","执行","搜索","向 WebBrain 提任何问题…","告诉 WebBrain 要做什么…","搜索或输入网址","前往","WebBrain 将带着你的任务打开。在那里按 Enter 即可运行。","无法打开 WebBrain 面板。请点击工具栏中的 WebBrain 图标。","最近的对话","还没有对话","全部历史","任务框","在新标签页中直接向 WebBrain 提问或下达任务。","默认模式","显示最近的对话","致谢","内置照片"],ja:["質問","実行","検索","WebBrain に何でも聞く…","WebBrain にやってほしいことを伝える…","検索または URL を入力","移動","タスクを入力した状態で WebBrain が開きます。そこで Enter を押すと実行されます。","WebBrain パネルを開けませんでした。ツールバーの WebBrain アイコンをクリックしてください。","最近のチャット","チャットはまだありません","すべての履歴","タスクボックス","新しいタブから WebBrain に質問したり操作を任せたりできます。","デフォルトのモード","最近のチャットを表示","クレジット","同梱の写真"],ko:["질문","실행","검색","WebBrain에게 무엇이든 물어보세요…","WebBrain에게 할 일을 알려주세요…","검색하거나 URL 입력","이동","작업이 입력된 상태로 WebBrain이 열립니다. 거기서 Enter를 누르면 실행됩니다.","WebBrain 패널을 열 수 없습니다. 도구 모음의 WebBrain 아이콘을 클릭하세요.","최근 대화","아직 대화가 없습니다","전체 기록","작업 상자","새 탭에서 바로 WebBrain에게 질문하거나 작업을 맡기세요.","기본 모드","최근 대화 표시","크레딧","기본 제공 사진"],ar:["اسأل","نفّذ","ابحث","اسأل WebBrain أي شيء…","أخبر WebBrain بما يجب فعله…","ابحث أو أدخل عنوان URL","انتقال","يفتح WebBrain ومعه مهمتك جاهزة. اضغط Enter هناك لتشغيلها.","تعذّر فتح لوحة WebBrain. انقر على أيقونة WebBrain في شريط الأدوات.","المحادثات الأخيرة","لا توجد محادثات بعد","السجل الكامل","مربع المهام","اسأل أو نفّذ مع WebBrain مباشرة من علامة التبويب الجديدة.","الوضع الافتراضي","إظهار المحادثات الأخيرة","الشكر والتقدير","الصور المضمّنة"],he:["שאלה","פעולה","חיפוש","שאלו את WebBrain כל דבר…","ספרו ל-WebBrain מה לעשות…","חפשו או הזינו כתובת URL","מעבר","WebBrain ייפתח כשהמשימה שלכם מוכנה. לחצו שם Enter כדי להריץ אותה.","לא ניתן היה לפתוח את לוח WebBrain. לחצו על סמל WebBrain בסרגל הכלים.","שיחות אחרונות","עדיין אין שיחות","כל ההיסטוריה","תיבת משימות","שאלו או פעלו עם WebBrain ישירות מהכרטיסייה החדשה.","מצב ברירת מחדל","הצגת שיחות אחרונות","קרדיטים","תמונות מובנות"],hi:["पूछें","करें","खोजें","WebBrain से कुछ भी पूछें…","WebBrain को बताएँ क्या करना है…","खोजें या URL दर्ज करें","जाएँ","WebBrain आपके कार्य के साथ खुलेगा। चलाने के लिए वहाँ Enter दबाएँ।","WebBrain पैनल नहीं खुल सका। टूलबार में WebBrain आइकन पर क्लिक करें।","हाल की चैट","अभी कोई चैट नहीं","पूरा इतिहास","कार्य बॉक्स","नए टैब से ही WebBrain से पूछें या काम करवाएँ।","डिफ़ॉल्ट मोड","हाल की चैट दिखाएँ","श्रेय","शामिल तस्वीरें"],id:["Tanya","Jalankan","Cari","Tanyakan apa saja ke WebBrain…","Beri tahu WebBrain apa yang harus dilakukan…","Cari atau masukkan URL","Buka","WebBrain terbuka dengan tugas Anda siap. Tekan Enter di sana untuk menjalankannya.","Tidak dapat membuka panel WebBrain. Klik ikon WebBrain di bilah alat.","Obrolan terbaru","Belum ada obrolan","Semua riwayat","Kotak tugas","Tanya atau jalankan tugas dengan WebBrain langsung dari tab baru.","Mode default","Tampilkan obrolan terbaru","Kredit","Foto bawaan"],ms:["Tanya","Laksana","Cari","Tanya apa sahaja kepada WebBrain…","Beritahu WebBrain apa yang perlu dilakukan…","Cari atau masukkan URL","Pergi","WebBrain dibuka dengan tugas anda sedia. Tekan Enter di sana untuk menjalankannya.","Tidak dapat membuka panel WebBrain. Klik ikon WebBrain pada bar alat.","Sembang terkini","Belum ada sembang","Semua sejarah","Kotak tugas","Tanya atau laksanakan tugas dengan WebBrain terus dari tab baharu.","Mod lalai","Tunjukkan sembang terkini","Kredit","Foto terbina dalam"],tl:["Magtanong","Gumawa","Maghanap","Magtanong ng kahit ano sa WebBrain…","Sabihin sa WebBrain kung ano ang gagawin…","Maghanap o maglagay ng URL","Pumunta","Magbubukas ang WebBrain na handa na ang iyong gawain. Pindutin ang Enter doon para patakbuhin ito.","Hindi mabuksan ang panel ng WebBrain. I-click ang icon ng WebBrain sa toolbar.","Mga kamakailang chat","Wala pang chat","Buong kasaysayan","Kahon ng gawain","Magtanong o mag-utos sa WebBrain mula mismo sa bagong tab.","Default na mode","Ipakita ang mga kamakailang chat","Mga kredito","Mga kasamang larawan"],pl:["Zapytaj","Wykonaj","Szukaj","Zapytaj WebBrain o cokolwiek…","Powiedz WebBrain, co ma zrobić…","Wyszukaj lub wpisz adres URL","Idź","WebBrain otworzy się z gotowym zadaniem. Naciśnij tam Enter, aby je uruchomić.","Nie udało się otworzyć panelu WebBrain. Kliknij ikonę WebBrain na pasku narzędzi.","Ostatnie czaty","Brak czatów","Cała historia","Pole zadań","Pytaj i zlecaj zadania WebBrain prosto z nowej karty.","Tryb domyślny","Pokaż ostatnie czaty","Autorzy i licencje","Dołączone zdjęcia"],th:["ถาม","ทำ","ค้นหา","ถามอะไรก็ได้กับ WebBrain…","บอก WebBrain ว่าต้องทำอะไร…","ค้นหาหรือป้อน URL","ไป","WebBrain จะเปิดพร้อมงานของคุณ กด Enter ที่นั่นเพื่อรัน","เปิดแผง WebBrain ไม่ได้ คลิกไอคอน WebBrain บนแถบเครื่องมือ","แชตล่าสุด","ยังไม่มีแชต","ประวัติทั้งหมด","ช่องงาน","ถามหรือสั่งงาน WebBrain ได้จากแท็บใหม่ทันที","โหมดเริ่มต้น","แสดงแชตล่าสุด","เครดิต","รูปภาพที่รวมมา"],vi:["Hỏi","Thực hiện","Tìm kiếm","Hỏi WebBrain bất cứ điều gì…","Nói với WebBrain cần làm gì…","Tìm kiếm hoặc nhập URL","Đi","WebBrain sẽ mở với tác vụ đã sẵn sàng. Nhấn Enter ở đó để chạy.","Không thể mở bảng WebBrain. Hãy nhấp vào biểu tượng WebBrain trên thanh công cụ.","Cuộc trò chuyện gần đây","Chưa có cuộc trò chuyện","Toàn bộ lịch sử","Hộp tác vụ","Hỏi hoặc giao việc cho WebBrain ngay từ tab mới.","Chế độ mặc định","Hiện cuộc trò chuyện gần đây","Ghi công","Ảnh đi kèm"],bn:["জিজ্ঞাসা","করুন","খুঁজুন","WebBrain-কে যেকোনো কিছু জিজ্ঞাসা করুন…","WebBrain-কে বলুন কী করতে হবে…","খুঁজুন বা URL লিখুন","যান","আপনার কাজ প্রস্তুত অবস্থায় WebBrain খুলবে। চালাতে সেখানে Enter চাপুন।","WebBrain প্যানেল খোলা যায়নি। টুলবারে WebBrain আইকনে ক্লিক করুন।","সাম্প্রতিক চ্যাট","এখনো কোনো চ্যাট নেই","সম্পূর্ণ ইতিহাস","টাস্ক বক্স","নতুন ট্যাব থেকেই WebBrain-কে জিজ্ঞাসা করুন বা কাজ দিন।","ডিফল্ট মোড","সাম্প্রতিক চ্যাট দেখান","কৃতজ্ঞতা","অন্তর্ভুক্ত ছবি"],fa:["بپرس","اجرا کن","جستجو","از WebBrain هر چیزی بپرسید…","به WebBrain بگویید چه کار کند…","جستجو کنید یا نشانی URL وارد کنید","برو","WebBrain با وظیفهٔ آمادهٔ شما باز میشود. برای اجرا، آنجا Enter را بزنید.","پنل WebBrain باز نشد. روی نماد WebBrain در نوار ابزار کلیک کنید.","گفتگوهای اخیر","هنوز گفتگویی نیست","کل تاریخچه","جعبهٔ وظیفه","از همین زبانهٔ جدید از WebBrain بپرسید یا کار بسپارید.","حالت پیشفرض","نمایش گفتگوهای اخیر","سپاسها","عکسهای همراه"],nl:["Vragen","Uitvoeren","Zoeken","Vraag WebBrain alles…","Zeg WebBrain wat te doen…","Zoek of voer een URL in","Ga","WebBrain opent met je taak klaar. Druk daar op Enter om te starten.","Het WebBrain-paneel kon niet worden geopend. Klik op het WebBrain-pictogram in de werkbalk.","Recente chats","Nog geen chats","Alle geschiedenis","Taakvak","Vraag of voer uit met WebBrain, direct vanaf het nieuwe tabblad.","Standaardmodus","Recente chats tonen","Met dank aan","Meegeleverde foto’s"]},T_=Object.fromEntries(Object.entries(lA).map(([o,n])=>[o,Object.fromEntries(rA.map((u,l)=>[`wb.${u}`,n[l]]))]));function ya(o,n=Ab()){return T_[n]?.[o]??T_.en[o]??o}const Cb=o=>typeof o=="string"&&o.startsWith("wb."),xb=k.createContext();function uA({children:o,initialLanguage:n}){const[u,l]=k.useState(n),d=k.useRef(Dl());k.useEffect(()=>{u!==n&&(d.current=Dl()),pe.language=d.current,pe.languagecode=u,document.documentElement.lang=u.replace("_","-")},[u,n]);const c=k.useCallback(h=>{d.current=Dl(),pe.language=d.current,pe.languagecode=h,document.documentElement.lang=h.replace("_","-");const y=localStorage.getItem("tabName"),_=d.current?.getMessage(u,"tabname");if(y===_||!y){const g=QM[h.replace("-","_")]?.tabname||d.current?.getMessage(h,"tabname")||"Mue";localStorage.setItem("tabName",g),document.title=g}localStorage.setItem("language",h),localStorage.removeItem("currentWeather"),l(h)},[u]),f=k.useCallback((h,y={})=>Cb(h)?ya(h):d.current?d.current.getMessage(u,h,y):h,[u]);k.useEffect(()=>{const h=y=>{y?.language&&c(y.language)};return ve.on("languageChange",h),()=>{ve.off("languageChange",h)}},[c]),k.useEffect(()=>{pe.getMessage=(h,y={})=>f(h,y)},[f]);const p=k.useMemo(()=>({language:u,languagecode:u,changeLanguage:c,t:f}),[u,c,f]);return w.jsx(xb.Provider,{value:p,children:o})}function zb(){const o=k.useContext(xb);if(!o)throw new Error("useTranslation must be used within a TranslationProvider");return o}function Qo(){const{t:o}=zb();return o}function dA({info:o}){const n=Qo();return o.hidden===!0||!o.credit||localStorage.getItem("photoInformation")==="false"?null:w.jsx("div",{className:"photoInformation",style:{position:"absolute",left:"1rem",bottom:"1rem",padding:"4px 10px",borderRadius:"10px",fontSize:"0.8rem",color:"#fff",background:"rgba(0, 0, 0, 0.45)"},children:w.jsxs("span",{id:"credit",children:[n("widgets.background.credit")," ",o.credit]})})}const cA=k.memo(dA);var Tb={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},N_=_e.createContext&&_e.createContext(Tb),mA=["attr","size","title"];function pA(o,n){if(o==null)return{};var u,l,d=fA(o,n);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(o);for(l=0;l<c.length;l++)u=c[l],n.indexOf(u)===-1&&{}.propertyIsEnumerable.call(o,u)&&(d[u]=o[u])}return d}function fA(o,n){if(o==null)return{};var u={};for(var l in o)if({}.hasOwnProperty.call(o,l)){if(n.indexOf(l)!==-1)continue;u[l]=o[l]}return u}function Il(){return Il=Object.assign?Object.assign.bind():function(o){for(var n=1;n<arguments.length;n++){var u=arguments[n];for(var l in u)({}).hasOwnProperty.call(u,l)&&(o[l]=u[l])}return o},Il.apply(null,arguments)}function E_(o,n){var u=Object.keys(o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);n&&(l=l.filter(function(d){return Object.getOwnPropertyDescriptor(o,d).enumerable})),u.push.apply(u,l)}return u}function Ul(o){for(var n=1;n<arguments.length;n++){var u=arguments[n]!=null?arguments[n]:{};n%2?E_(Object(u),!0).forEach(function(l){gA(o,l,u[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(u)):E_(Object(u)).forEach(function(l){Object.defineProperty(o,l,Object.getOwnPropertyDescriptor(u,l))})}return o}function gA(o,n,u){return(n=hA(n))in o?Object.defineProperty(o,n,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[n]=u,o}function hA(o){var n=_A(o,"string");return typeof n=="symbol"?n:n+""}function _A(o,n){if(typeof o!="object"||!o)return o;var u=o[Symbol.toPrimitive];if(u!==void 0){var l=u.call(o,n);if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(o)}function Nb(o){return o&&o.map((n,u)=>_e.createElement(n.tag,Ul({key:u},n.attr),Nb(n.child)))}function le(o){return n=>_e.createElement(vA,Il({attr:Ul({},o.attr)},n),Nb(o.child))}function vA(o){var n=u=>{var l=o.attr,d=o.size,c=o.title,f=pA(o,mA),p=d||u.size||"1em",h;return u.className&&(h=u.className),o.className&&(h=(h?h+" ":"")+o.className),_e.createElement("svg",Il({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},u.attr,l,f,{className:h,style:Ul(Ul({color:o.color||u.color},u.style),o.style),height:p,width:p,xmlns:"http://www.w3.org/2000/svg"}),c&&_e.createElement("title",null,c),o.children)};return N_!==void 0?_e.createElement(N_.Consumer,null,u=>n(u)):n(Tb)}function bA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"circle",attr:{cx:"12",cy:"4",r:"2"},child:[]},{tag:"path",attr:{d:"M15.89 8.11C15.5 7.72 14.83 7 13.53 7h-2.54C8.24 6.99 6 4.75 6 2H4c0 3.16 2.11 5.84 5 6.71V22h2v-6h2v6h2V10.05L18.95 14l1.41-1.41z"},child:[]}]})(o)}function WT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M21 3H3c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5a2 2 0 0 0-2-2m0 14H3V5h18z"},child:[]}]})(o)}function QT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M17 10H7v2h10zm2-7h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V8h14zm-5-5H7v2h7z"},child:[]}]})(o)}function Ls(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M17.65 6.35A7.96 7.96 0 0 0 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"},child:[]}]})(o)}function yA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"},child:[]}]})(o)}function Eb(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"},child:[]}]})(o)}function Is(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(o)}function kA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"},child:[]}]})(o)}function Nm(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},child:[]}]})(o)}function ZT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"},child:[]}]})(o)}function jb(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"},child:[]}]})(o)}function wA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"},child:[]}]})(o)}function SA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 17v2h6v-2zM3 5v2h10V5zm10 16v-2h8v-2h-8v-2h-2v6zM7 9v2H3v2h4v2h2V9zm14 4v-2H11v2zm-6-4h2V7h4V5h-4V3h-2z"},child:[]}]})(o)}function XT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"},child:[]}]})(o)}function MA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3 5v4h2V5h4V3H5c-1.1 0-2 .9-2 2m2 10H3v4c0 1.1.9 2 2 2h4v-2H5zm14 4h-4v2h4c1.1 0 2-.9 2-2v-4h-2zm0-16h-4v2h4v4h2V5c0-1.1-.9-2-2-2"},child:[]}]})(o)}function AA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4z"},child:[]},{tag:"path",attr:{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 10-2.5-1.5L15 12V4h5z"},child:[]}]})(o)}function JT(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2zm-3 4V8h-3V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8zM5 19l3-4 2 3 3-4 4 5z"},child:[]}]})(o)}function $T(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M5 20h14v-2H5zm0-10h4v6h6v-6h4l-7-7z"},child:[]}]})(o)}function eN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"},child:[]}]})(o)}function CA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"},child:[]}]})(o)}function xA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3"},child:[]}]})(o)}function Db(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 9V7c0-1.1-.9-2-2-2h-3c0-1.66-1.34-3-3-3S9 3.34 9 5H6c-1.1 0-2 .9-2 2v2c-1.66 0-3 1.34-3 3s1.34 3 3 3v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c1.66 0 3-1.34 3-3s-1.34-3-3-3M7.5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S9.83 13 9 13s-1.5-.67-1.5-1.5M16 17H8v-2h8zm-1-4c-.83 0-1.5-.67-1.5-1.5S14.17 10 15 10s1.5.67 1.5 1.5S15.83 13 15 13"},child:[]}]})(o)}function zA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 4V3c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6h1v4H9v11c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-9h8V4z"},child:[]}]})(o)}function tN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 9H4v2h16zM4 15h16v-2H4z"},child:[]}]})(o)}function j_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M22 7h-9v2h9zm0 8h-9v2h9zM5.54 11 2 7.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41zm0 8L2 15.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41z"},child:[]}]})(o)}function Ob(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",d:"M16 9V4h1c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3"},child:[]}]})(o)}function aN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.43-.98 2.63-2.31 2.98l1.46 1.46C20.88 15.61 22 13.95 22 12c0-2.76-2.24-5-5-5m-1 4h-2.19l2 2H16zM2 4.27l3.11 3.11A4.99 4.99 0 0 0 2 12c0 2.76 2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1 0-1.59 1.21-2.9 2.76-3.07L8.73 11H8v2h2.73L13 15.27V17h1.73l4.01 4L20 19.74 3.27 3z"},child:[]},{tag:"path",attr:{fill:"none",d:"M0 24V0"},child:[]}]})(o)}function TA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"},child:[]}]})(o)}function oN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M14.4 6 14 4H5v17h2v-7h5.6l.4 2h7V6z"},child:[]}]})(o)}function NA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"},child:[]}]})(o)}function D_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0"},child:[]},{tag:"path",attr:{d:"M8 11h8v2H8zm12.1 1H22c0-2.76-2.24-5-5-5h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M19 12h-2v3h-3v2h3v3h2v-3h3v-2h-3z"},child:[]}]})(o)}function EA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"},child:[]}]})(o)}function iN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"},child:[]}]})(o)}function jA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H6l-2 2V4h16z"},child:[]}]})(o)}function DA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8M6 13c0-1.65.67-3.15 1.76-4.24L6.34 7.34A8.01 8.01 0 0 0 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91"},child:[]}]})(o)}function nN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M13 2.05v3.03c3.39.49 6 3.39 6 6.92 0 .9-.18 1.75-.48 2.54l2.6 1.53c.56-1.24.88-2.62.88-4.07 0-5.18-3.95-9.45-9-9.95M12 19c-3.87 0-7-3.13-7-7 0-3.53 2.61-6.43 6-6.92V2.05c-5.06.5-9 4.76-9 9.95 0 5.52 4.47 10 9.99 10 3.31 0 6.24-1.61 8.06-4.09l-2.6-1.53A6.95 6.95 0 0 1 12 19"},child:[]}]})(o)}function OA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m22 5.72-4.6-3.86-1.29 1.53 4.6 3.86zM7.88 3.39 6.6 1.86 2 5.71l1.29 1.53zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9a9 9 0 0 0 0-18m0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7"},child:[]}]})(o)}function sN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},child:[]}]})(o)}function rN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"},child:[]}]})(o)}function qb(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M14 10H3v2h11zm0-4H3v2h11zM3 16h7v-2H3zm11.41 6L17 19.41 19.59 22 21 20.59 18.41 18 21 15.41 19.59 14 17 16.59 14.41 14 13 15.41 15.59 18 13 20.59z"},child:[]}]})(o)}function qA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M14 10H3v2h11zm0-4H3v2h11zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2zM3 16h7v-2H3z"},child:[]}]})(o)}function RA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 13H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2M19 3H5c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"},child:[]}]})(o)}function BA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m12.87 15.07-2.54-2.51.03-.03A17.5 17.5 0 0 0 14.07 6H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2zm-2.62 7 1.62-4.33L19.12 17z"},child:[]}]})(o)}function lN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6 10H6v-2h8zm4-4H6v-2h12z"},child:[]}]})(o)}function LA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.49.49 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"},child:[]}]})(o)}function Em(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"},child:[]}]})(o)}function IA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"},child:[]}]})(o)}function UA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1 1.1-.49 1.1-1.1-.49-1.1-1.1-1.1M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m2.19 12.19L6 18l3.81-8.19L18 6z"},child:[]}]})(o)}function PA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"},child:[]}]})(o)}function HA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 11H7v2h2zm4 0h-2v2h2zm4 0h-2v2h2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V9h14z"},child:[]}]})(o)}function FA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 8h-2.81a6 6 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20zm-6 8h-4v-2h4zm0-4h-4v-2h4z"},child:[]}]})(o)}function VA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m19 18 2 1V3c0-1.1-.9-2-2-2H8.99C7.89 1 7 1.9 7 3h10c1.1 0 2 .9 2 2zM15 5H5c-1.1 0-2 .9-2 2v16l7-3 7 3V7c0-1.1-.9-2-2-2"},child:[]}]})(o)}function O_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m2 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"},child:[]}]})(o)}function uN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m9 7h-6v13h-2v-6h-2v6H9V9H3V7h18z"},child:[]}]})(o)}function q_(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M4 8h4V4H4zm6 12h4v-4h-4zm-6 0h4v-4H4zm0-6h4v-4H4zm6 0h4v-4h-4zm6-10v4h4V4zm-6 4h4V4h-4zm6 6h4v-4h-4zm0 6h4v-4h-4z"},child:[]}]})(o)}function GA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-4.86 8.86-3 3.87L9 13.14 6 17h12z"},child:[]}]})(o)}function dN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m19 9 1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25zM11.5 9.5 9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12zm-1.51 3.49L9 15.17l-.99-2.18L5.83 12l2.18-.99L9 8.83l.99 2.18 2.18.99z"},child:[]}]})(o)}function cN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5z"},child:[]}]})(o)}function mN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"},child:[]}]})(o)}function KA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18.62 18h-5.24l2-4H13V6h8v7.24zm-2-2h.76L19 12.76V8h-4v4h3.62zm-8 2H3.38l2-4H3V6h8v7.24zm-2-2h.76L9 12.76V8H5v4h3.62z"},child:[]}]})(o)}function YA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H6l-2 2V4h16zM7 9h2v2H7zm4 0h2v2h-2zm4 0h2v2h-2z"},child:[]}]})(o)}function WA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"m23 12-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68zm-4.51 2.11.26 2.79-2.74.62-1.43 2.41L12 18.82l-2.58 1.11-1.43-2.41-2.74-.62.26-2.8L3.66 12l1.85-2.12-.26-2.78 2.74-.61 1.43-2.41L12 5.18l2.58-1.11 1.43 2.41 2.74.62-.26 2.79L20.34 12zM11 15h2v2h-2zm0-8h2v6h-2z"},child:[]}]})(o)}function pN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 6a9.77 9.77 0 0 1 8.82 5.5 9.65 9.65 0 0 1-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6m-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14M2.01 3.87l2.68 2.68A11.74 11.74 0 0 0 1 11.5C2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45zm7.5 7.5 2.61 2.61c-.04.01-.08.02-.12.02a2.5 2.5 0 0 1-2.5-2.5c0-.05.01-.08.01-.13m-3.4-3.4 1.75 1.75a4.6 4.6 0 0 0-.36 1.78 4.507 4.507 0 0 0 6.27 4.14l.98.98c-.88.24-1.8.38-2.75.38a9.77 9.77 0 0 1-8.82-5.5c.7-1.43 1.72-2.61 2.93-3.53"},child:[]}]})(o)}function fN(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 6a9.77 9.77 0 0 1 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5A9.77 9.77 0 0 1 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4m0 5a2.5 2.5 0 0 1 0 5 2.5 2.5 0 0 1 0-5m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7"},child:[]}]})(o)}function QA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46a.5.5 0 0 0-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65A.49.49 0 0 0 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1a.6.6 0 0 0-.18-.03c-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46a.5.5 0 0 0 .61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1q.09.03.18.03c.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64zm-1.98-1.71c.04.31.05.52.05.73s-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"},child:[]}]})(o)}function ZA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10.5 4.5c.28 0 .5.22.5.5v2h6v6h2c.28 0 .5.22.5.5s-.22.5-.5.5h-2v6h-2.12c-.68-1.75-2.39-3-4.38-3s-3.7 1.25-4.38 3H4v-2.12c1.75-.68 3-2.39 3-4.38S5.76 9.8 4.01 9.12L4 7h6V5c0-.28.22-.5.5-.5m0-2A2.5 2.5 0 0 0 8 5H4c-1.1 0-1.99.9-1.99 2v3.8h.29c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-.3c0-1.49 1.21-2.7 2.7-2.7s2.7 1.21 2.7 2.7v.3H17c1.1 0 2-.9 2-2v-4a2.5 2.5 0 0 0 0-5V7c0-1.1-.9-2-2-2h-4a2.5 2.5 0 0 0-2.5-2.5"},child:[]}]})(o)}function XA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"},child:[]}]})(o)}function JA(o){return le({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V5h14zM7 10h2v7H7zm4-3h2v10h-2zm4 6h2v4h-2z"},child:[]}]})(o)}const Yo={SETTINGS:"settings"},Re={SETTINGS:SA,LIBRARY:VA,TASKBOX:Db,DISCOVER:UA,NAVBAR:yA,GREETING:bA,TIME:OA,QUOTE:KA,QUICKLINKS:TA,DATE:HA,MESSAGE:YA,BACKGROUND:GA,SEARCH:Em,WEATHER:xA,APPEARANCE:zA,LANGUAGE:BA,ADVANCED:QA,EXPERIMENTAL:FA,STATS:JA,CHANGELOG:WA,ABOUT:IA,ADDED:ZA,CREATE:EA,OVERVIEW:RA,COLLECTIONS:AA},Fe={OVERVIEW:"modals.main.marketplace.product.overview",SETTINGS:"modals.main.navbar.settings",LIBRARY:"modals.main.navbar.library",DISCOVER:"modals.main.navbar.discover",NAVBAR:"modals.main.settings.sections.appearance.navbar.title",GREETING:"modals.main.settings.sections.greeting.title",TIME:"modals.main.settings.sections.time.title",QUICKLINKS:"modals.main.settings.sections.quicklinks.title",QUOTE:"modals.main.settings.sections.quote.title",DATE:"modals.main.settings.sections.date.title",MESSAGE:"modals.main.settings.sections.message.title",BACKGROUND:"modals.main.settings.sections.background.title",SEARCH:"modals.main.settings.sections.search.title",WEATHER:"modals.main.settings.sections.weather.title",APPEARANCE:"modals.main.settings.sections.appearance.title",LANGUAGE:"modals.main.settings.sections.language.title",ADVANCED:"modals.main.settings.sections.advanced.title",STATS:"modals.main.settings.sections.stats.title",EXPERIMENTAL:"modals.main.settings.sections.experimental.title",CHANGELOG:"modals.main.settings.sections.changelog.title",ABOUT:"modals.main.settings.sections.about.title",ADDED:"modals.main.addons.added",CREATE:"modals.main.addons.create.title",ALL_MARKETPLACE:"modals.main.marketplace.all",PHOTO_PACKS:"modals.main.marketplace.photo_packs",QUOTE_PACKS:"modals.main.marketplace.quote_packs",PRESET_SETTINGS:"modals.main.marketplace.preset_settings",COLLECTIONS:"modals.main.marketplace.collections"},gN=(o,n)=>({[n.getMessage(Fe.OVERVIEW)]:Re.OVERVIEW,[n.getMessage(Fe.SETTINGS)]:Re.SETTINGS,[n.getMessage(Fe.LIBRARY)]:Re.LIBRARY,[n.getMessage(Fe.DISCOVER)]:Re.DISCOVER,[n.getMessage(Fe.NAVBAR)]:Re.NAVBAR,[n.getMessage(Fe.GREETING)]:Re.GREETING,[n.getMessage(Fe.TIME)]:Re.TIME,[n.getMessage(Fe.QUICKLINKS)]:Re.QUICKLINKS,[n.getMessage(Fe.QUOTE)]:Re.QUOTE,[n.getMessage(Fe.DATE)]:Re.DATE,[n.getMessage(Fe.MESSAGE)]:Re.MESSAGE,[n.getMessage(Fe.BACKGROUND)]:Re.BACKGROUND,[n.getMessage(Fe.SEARCH)]:Re.SEARCH,[n.getMessage(Fe.WEATHER)]:Re.WEATHER,[n.getMessage(Fe.APPEARANCE)]:Re.APPEARANCE,[n.getMessage(Fe.LANGUAGE)]:Re.LANGUAGE,[n.getMessage(Fe.ADVANCED)]:Re.ADVANCED,[n.getMessage(Fe.STATS)]:Re.STATS,[n.getMessage(Fe.EXPERIMENTAL)]:Re.EXPERIMENTAL,[n.getMessage(Fe.CHANGELOG)]:Re.CHANGELOG,[n.getMessage(Fe.ABOUT)]:Re.ABOUT,[n.getMessage("wb.settings_credits")]:Re.ABOUT,[n.getMessage("wb.settings_taskbox")]:Re.TASKBOX,[n.getMessage(Fe.ADDED)]:Re.ADDED,[n.getMessage(Fe.CREATE)]:Re.CREATE,[n.getMessage(Fe.ALL_MARKETPLACE)]:Re.LIBRARY,[n.getMessage(Fe.PHOTO_PACKS)]:Re.BACKGROUND,[n.getMessage(Fe.QUOTE_PACKS)]:Re.QUOTE,[n.getMessage(Fe.PRESET_SETTINGS)]:Re.ADVANCED,[n.getMessage(Fe.COLLECTIONS)]:Re.COLLECTIONS})[o],$A=[{tab:Yo.SETTINGS,icon:Re.SETTINGS,messageKey:"modals.main.navbar.settings"}],hN=["modals.main.settings.sections.appearance.title","modals.main.settings.sections.advanced.title"],Pl=(o=window.location.hash)=>{if(!o||o==="#")return null;const[n,u,l]=o.slice(1).split("/");return n!==Yo.SETTINGS?null:{tab:n,section:u||void 0,subSection:l||void 0}},Hl=(o,n=!0)=>{window.history.pushState?n?window.history.pushState(null,null,o):window.history.replaceState(null,null,o):window.location.hash=o},eC=()=>Pl()!==null,tC="MueCustomBackgrounds",aC=1,zt="backgrounds";function Ti(){return new Promise((o,n)=>{const u=indexedDB.open(tC,aC);u.onerror=()=>n(u.error),u.onsuccess=()=>o(u.result),u.onupgradeneeded=l=>{const d=l.target.result;d.objectStoreNames.contains(zt)||d.createObjectStore(zt,{keyPath:"id",autoIncrement:!0}).createIndex("url","url",{unique:!1})}})}async function Rb(){try{const l=(await Ti()).transaction(zt,"readonly").objectStore(zt).getAll();return new Promise((d,c)=>{l.onsuccess=()=>{const f=l.result;d(f.map(p=>typeof p.url=="string"&&!p.name?{id:p.id,url:p.url,name:`Image ${p.id}`,uploadDate:p.createdAt||Date.now(),dimensions:null,fileSize:null,folder:"",blurHash:null}:p))},l.onerror=()=>c(l.error)})}catch(o){return console.error("Error getting backgrounds from IndexedDB:",o),[]}}async function oC(){return(await Rb()).map(n=>n.url||n)}async function iC(o){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt),d=typeof o=="string"?{url:o,name:"Image",uploadDate:Date.now(),folder:""}:{...o,uploadDate:o.uploadDate||Date.now()},c=l.add(d);return new Promise((f,p)=>{c.onsuccess=()=>f(c.result),c.onerror=()=>p(c.error)})}async function _N(o){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt),d=l.getAll();return new Promise((c,f)=>{d.onsuccess=()=>{const p=d.result;if(p[o]){const h=l.delete(p[o].id);h.onsuccess=()=>c(),h.onerror=()=>f(h.error)}else c()},d.onerror=()=>f(d.error)})}async function vN(o){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt),d=l.getAll();return new Promise((c,f)=>{d.onsuccess=()=>{const p=d.result,h=o.filter(g=>p[g]).map(g=>p[g].id);let y=0;const _=h.length;if(_===0){c();return}h.forEach(g=>{const b=l.delete(g);b.onsuccess=()=>{y++,y===_&&c()},b.onerror=()=>f(b.error)})},d.onerror=()=>f(d.error)})}async function nC(){const l=(await Ti()).transaction(zt,"readwrite").objectStore(zt).clear();return new Promise((d,c)=>{l.onsuccess=()=>d(),l.onerror=()=>c(l.error)})}async function sC(){const l=(await Ti()).transaction(zt,"readonly").objectStore(zt).count();return new Promise((d,c)=>{l.onsuccess=()=>d(l.result),l.onerror=()=>c(l.error)})}async function bN(o,n){const d=(await Ti()).transaction(zt,"readwrite").objectStore(zt),c=d.get(o);return new Promise((f,p)=>{c.onsuccess=()=>{const h=c.result;if(h){Object.assign(h,n),h.updatedAt=Date.now();const y=d.put(h);y.onsuccess=()=>f(),y.onerror=()=>p(y.error)}else p(new Error("Background not found"))},c.onerror=()=>p(c.error)})}async function yN(){try{const o=localStorage.getItem("customBackground");if(!o||o==="null"||o==="[]")return!1;let n=[];try{n=JSON.parse(o),Array.isArray(n)||(n=[o])}catch{n=[o]}if(n=n.filter(l=>l&&l.trim()!==""),n.length===0||await sC()>0)return!1;for(const l of n)await iC(l);return console.log(`Migrated ${n.length} backgrounds from localStorage to IndexedDB`),localStorage.setItem("customBackgroundMigrated","true"),!0}catch(o){return console.error("Error migrating backgrounds:",o),!1}}function rC({photoInfo:o,currentAPI:n,url:u}){const l=localStorage.getItem("backgroundType")==="custom",[d,c]=k.useState([]),[f,p]=k.useState(!0);k.useEffect(()=>{(async()=>{if(l)try{const g=await oC();c(g||[])}catch(g){console.error("Failed to load custom backgrounds:",g),c([])}p(!1)})()},[l,u]);const h=l&&!f&&(!d||d.length===0),y=()=>{Hl("#settings/background/source"),ve.emit("modal","openMainModal")};return w.jsxs(w.Fragment,{children:[w.jsx("div",{id:"backgroundImage"}),h&&w.jsxs("div",{style:{position:"absolute",bottom:"20px",left:"20px",color:"white",background:"rgba(0, 0, 0, 0.6)",padding:"20px 30px",borderRadius:"10px",zIndex:1},children:[w.jsx("h2",{style:{margin:"0 0 10px 0",fontSize:"20px"},children:pe.getMessage("widgets.background.no_images_title")||"No Custom Images"}),w.jsx("p",{style:{margin:"0 0 15px 0",fontSize:"14px",opacity:.9},children:pe.getMessage("widgets.background.no_images_description")||"Please add custom images in the Background settings"}),w.jsx("button",{onClick:y,style:{background:"rgba(255, 255, 255, 0.2)",border:"1px solid rgba(255, 255, 255, 0.3)",color:"white",padding:"10px 20px",borderRadius:"5px",cursor:"pointer",fontSize:"14px",fontWeight:"500",transition:"all 0.2s"},onMouseOver:_=>{_.target.style.background="rgba(255, 255, 255, 0.3)"},onMouseOut:_=>{_.target.style.background="rgba(255, 255, 255, 0.2)"},children:pe.getMessage("widgets.background.add_images_button")||"Add Images"})]}),o?.credit&&w.jsx(cA,{info:o,api:n,url:u})]})}const lC=k.memo(rC),R_=()=>({muted:localStorage.getItem("backgroundVideoMute")==="true",loop:localStorage.getItem("backgroundVideoLoop")==="true"});function uC({url:o,filterStyle:n}){const[{muted:u,loop:l},d]=k.useState(R_);return k.useEffect(()=>{const c=f=>{f==="backgroundvideo"&&d(R_())};return ve.on("refresh",c),()=>ve.off("refresh",c)},[]),w.jsx("video",{autoPlay:!0,muted:u,loop:l,style:n,id:"backgroundVideo",children:w.jsx("source",{src:o})})}const dC=k.memo(uC);function cC(){const[o,n]=k.useState({url:"",style:"",type:"",currentAPI:"",video:!1,photoInfo:{hidden:!1,offline:!1,photographerURL:"",photoURL:""}}),u=k.useCallback(d=>{n(c=>({...c,...d,photoInfo:{...c.photoInfo,...d.photoInfo||{}}}))},[]),l=k.useCallback(()=>{n({url:"",style:"",type:"",currentAPI:"",video:!1,photoInfo:{hidden:!0}})},[]);return{backgroundData:o,updateBackground:u,resetBackground:l}}const mC={photo:[5]},$c={"Ryan Hutton":{photo:[1]},"Francesco De Tommaso":{photo:[2]},"Andy Vu":{photo:[3]},"Sergi Ferrete":{photo:[4]},Pixabay:mC};function Bb(o){const n=Object.keys($c),u=n[Math.floor(Math.random()*n.length)],d={url:`src/assets/offline-images/${$c[u].photo[Math.floor(Math.random()*$c[u].photo.length)]}.webp`,type:o,photoInfo:{offline:!0,credit:u}};return localStorage.setItem("currentBackground",JSON.stringify(d)),d}function pC(o){const n=()=>"#000000".replace(/0/g,()=>(~~(Math.random()*16)).toString(16));let u=`background:${n()};`;if(o==="random_gradient"){const l=["to right","to left","to bottom","to top","to bottom right","to bottom left","to top right","to top left"];u=`background:linear-gradient(${l[Math.floor(Math.random()*l.length)]}, ${n()}, ${n()});`}return{type:"colour",style:u}}function Lb(o){return o.startsWith("data:video/")||o.startsWith("video/")||o.endsWith(".mp4")||o.endsWith(".webm")||o.endsWith(".ogg")}const Ib=(o,n=null)=>{const u=localStorage.getItem(o);if(u===null||u==="null")return n;try{const l=JSON.parse(u);return l!==null?l:n}catch{return n}};async function fC(){const o=localStorage.getItem("offlineMode")==="true"||localStorage.getItem("showWelcome")==="true",n=Ib("favourite");if(n)return n.type==="random_colour"||n.type==="random_gradient"?{type:"colour",style:`background:${n.url}`}:{url:n.url,photoInfo:{...n,url:n.url}};const u=localStorage.getItem("backgroundType");switch(u){case"api":return hC();case"colour":return gC();case"random_colour":case"random_gradient":return pC(u);case"custom":return await _C(o);default:return null}}function gC(){return{type:"colour",style:`background: ${localStorage.getItem("customBackgroundColour")||"rgb(0,0,0)"}`}}function hC(){return{...Bb("api"),currentAPI:localStorage.getItem("backgroundAPI")||"mue"}}async function _C(o){let n=await Rb();if(!n||n.length===0){const c=Ib("customBackground",[]);c&&c.length>0&&(n=c.map(f=>({url:f,photoInfo:{hidden:!0}})))}if(!n||n.length===0)return null;const u=n[Math.floor(Math.random()*n.length)];if(!u)return null;const l=u.url||u;if(o&&!l.startsWith("data:"))return Bb("custom");const d={url:l,type:"custom",video:Lb(l),photoInfo:{hidden:!0,blur_hash:u.blurHash||null}};try{localStorage.setItem("currentBackground",JSON.stringify({type:"custom",video:d.video,photoInfo:d.photoInfo}))}catch(c){console.warn("Could not save currentBackground to localStorage:",c)}return d}function vC(o,n){const u=k.useRef(0),l=k.useCallback(async()=>{const c=++u.current,f=()=>c!==u.current;try{if(localStorage.getItem("welcomeTab")){const y=localStorage.getItem("welcomeImage");if(y){o(JSON.parse(y));return}}const h=await fC();if(f())return;h&&o(h)}catch(p){console.error("Failed to load background:",p)}},[o]),d=k.useCallback(()=>{n(),l()},[l,n]);return k.useEffect(()=>{const c=localStorage.getItem("backgroundchange");(!localStorage.getItem("backgroundStartTime")||c==="refresh")&&localStorage.setItem("backgroundStartTime",Date.now()),l()},[l]),{loadBackground:l,refreshBackground:d}}async function bC(o){try{const n=await fetch(o,{mode:"cors",credentials:"omit"});if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);const u=await n.blob();return URL.createObjectURL(u)}catch{return null}}const yC="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz#$%*+,-.:;=?@[]^_{|}~",Ol=(o,n,u)=>{let l=0;for(;n<u;)l=l*83+yC.indexOf(o[n++]);return l},Ub=Math.pow,js=Math.PI,Pb=3294.6,Hb=269.025,kC=o=>o>10.31475?Ub(o/Hb+.052132,2.4):o/Pb,wC=o=>~~(o>1227e-8?Hb*Ub(o,.416666)-13.025:o*Pb+1),Fl=4096,Fb=new Uint8ClampedArray(Fl+1);for(let o=0;o<=Fl;o++)Fb[o]=wC(o/Fl);const em=o=>o<=0?0:o>=1?255:Fb[o*Fl+.5|0],Ds=o=>(o<0?-1:1)*o*o,B_=o=>{for(o+=js/2;o>js;)o-=js*2;const n=1.27323954*o-.405284735*Ds(o);return .225*(Ds(n)-n)+n};function SC(o){const n=Ol(o,2,6);return[n>>16,n>>8&255,n&255]}function MC(o,n,u,l){const d=Ol(o,0,1),c=d%9+1,f=~~(d/9)+1,p=c*f;let h,y,_,g,b,S,C,x,A,j,z,L;const G=(Ol(o,1,2)+1)/13446*(l|1),Z=new Float64Array(p*3),H=SC(o);for(h=0;h<3;h++)Z[h]=kC(H[h]);for(h=1;h<p;h++)L=Ol(o,4+h*2,6+h*2),Z[h*3]=Ds(~~(L/361)-9)*G,Z[h*3+1]=Ds(~~(L/19)%19-9)*G,Z[h*3+2]=Ds(L%19-9)*G;const D=new Float64Array(f*u),q=new Float64Array(c*n);for(y=0;y<f;y++)for(g=0;g<u;g++)D[y*u+g]=B_(js*g*y/u);for(h=0;h<c;h++)for(_=0;_<n;_++)q[h*n+_]=B_(js*_*h/n);const V=n*4,$=new Uint8ClampedArray(V*u),W=new Float64Array(c*3);for(g=0;g<u;g++){for(h=0;h<c;h++){for(b=S=C=0,y=0;y<f;y++)A=D[y*u+g],j=(h+y*c)*3,b+=Z[j]*A,S+=Z[j+1]*A,C+=Z[j+2]*A;W[h*3]=b,W[h*3+1]=S,W[h*3+2]=C}for(_=0;_<n;_++){for(b=S=C=0,h=0;h<c;h++)x=q[h*n+_],j=h*3,b+=W[j]*x,S+=W[j+1]*x,C+=W[j+2]*x;z=4*_+g*V,$[z]=em(b),$[z+1]=em(S),$[z+2]=em(C),$[z+3]=255}}return $}function AC(o,n=32,u=32){try{const l=document.createElement("canvas");l.width=n,l.height=u;const d=l.getContext("2d"),c=d.createImageData(n,u);return c.data.set(MC(o,n,u)),d.putImageData(c,0,0),l.toDataURL()}catch(l){return console.error("Failed to generate blur hash:",l),null}}function jm(){const o=localStorage.getItem("blur")||"0",n=localStorage.getItem("brightness")||"100",u=localStorage.getItem("backgroundFilter"),l=localStorage.getItem("backgroundFilterAmount")||"100";let d=`blur(${o}px) brightness(${n}%)`;return u&&u!=="none"&&(d+=` ${u}(${l}%)`),d}function Dm(){const o=localStorage.getItem("blur")||"0",n=localStorage.getItem("brightness")||"100",u=localStorage.getItem("backgroundFilter"),l=localStorage.getItem("backgroundFilterAmount")||"100";let d=`blur(${o}px)`;u&&u!=="none"&&(d+=` ${u}(${l}%)`);const f=(100-parseInt(n,10))/100;return{backdropFilter:d,WebkitBackdropFilter:d,backgroundColor:`rgba(0, 0, 0, ${f})`}}const L_=1200;function CC(o){const n=k.useRef(null);k.useEffect(()=>{if(o.video)return;const u=document.getElementById("backgroundImage");if(!u)return;let l=!1,d=null;return(async()=>{if(o.url){const f=localStorage.getItem("bgtransition")!=="false",p=window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(!f||p){u.style.background=`url(${o.url})`,document.querySelector(".photoInformation")?.style.setProperty("display","flex");return}let h=document.getElementById("backgroundOverlay");if(h||(h=document.createElement("div"),h.id="backgroundOverlay",u.parentNode.insertBefore(h,u.nextSibling)),o.photoInfo?.colour&&(u.style.backgroundColor=o.photoInfo.colour),o.photoInfo?.blur_hash){const b=AC(o.photoInfo.blur_hash,64,64);b&&(u.style.backgroundImage=`url(${b})`)}const y=await bC(o.url);if(l){y&&URL.revokeObjectURL(y);return}const _=y||o.url;y&&(n.current&&URL.revokeObjectURL(n.current),n.current=y);const g=new Image;if(g.src=_,await new Promise(b=>{g.onload=b,g.onerror=b}),l)return;h.style.transition="none",h.style.opacity="0",h.style.backgroundImage="",h.offsetHeight,h.style.backgroundImage=`url(${_})`,h.offsetHeight,h.style.transition=`opacity ${L_/1e3}s ease-in-out`,h.offsetHeight,h.style.opacity="1",d=setTimeout(()=>{u.style.backgroundImage=`url(${_})`,h.style.opacity="0",h.style.backgroundImage=""},L_+100)}else o.style&&u.setAttribute("style",o.style)})(),()=>{l=!0,clearTimeout(d),n.current&&(URL.revokeObjectURL(n.current),n.current=null);const f=document.getElementById("backgroundOverlay");f&&f.remove()}},[o.url,o.style,o.video,o.photoInfo])}function xC(){return k.useMemo(()=>({WebkitFilter:jm()}),[])}function zC(){return k.useMemo(()=>Dm(),[])}function TC(o,n){k.useEffect(()=>{const u=c=>{c==="welcomeLanguage"?localStorage.setItem("welcomeImage",JSON.stringify(o)):c==="background"?l():["backgroundwelcome","backgroundrefresh"].includes(c)?n():c==="backgroundeffect"&&d()},l=()=>{const c=document.getElementById(o.video?"backgroundVideo":"backgroundImage"),f=document.querySelector(".photoInformation");if(!(localStorage.getItem("background")!=="false")){c?.style.setProperty("display","none"),o.photoInfo?.hidden||f?.style.setProperty("display","none");return}c?.style.setProperty("display","block"),o.photoInfo?.hidden||f?.style.setProperty("display","flex");const h=localStorage.getItem("backgroundType");(h!==o.type&&!(o.photoInfo?.offline&&h===o.type)||o.type==="api"&&localStorage.getItem("backgroundAPI")!==o.currentAPI||h==="custom"&&o.type!=="custom"||h==="colour"||o.photoInfo?.pun&&JSON.parse(localStorage.getItem("backgroundExclude")||"[]").includes(o.photoInfo.pun))&&n()},d=()=>{if(o.video){const c=jm(),f=document.getElementById("backgroundVideo");f&&(f.style.webkitFilter=c)}else{const c=document.getElementById("backgroundFilterOverlay");if(c){const f=Dm();c.style.backdropFilter=f.backdropFilter,c.style.webkitBackdropFilter=f.WebkitBackdropFilter,c.style.backgroundColor=f.backgroundColor}}};return ve.on("refresh",u),()=>ve.off("refresh",u)},[o,n])}function NC(){const{backgroundData:o,updateBackground:n,resetBackground:u}=cC(),{refreshBackground:l}=vC(n,u),d=xC(),c=zC();return CC(o),TC(o,l),w.jsxs(w.Fragment,{children:[o.video?w.jsx(dC,{url:o.url,filterStyle:d}):w.jsx(lC,{photoInfo:o.photoInfo,currentAPI:o.currentAPI,url:o.url}),w.jsx("div",{id:"backgroundFilterOverlay",style:c})]})}const EC=(function(){const n=typeof document<"u"&&document.createElement("link").relList;return n&&n.supports&&n.supports("modulepreload")?"modulepreload":"preload"})(),jC=function(o,n){return new URL(o,n).href},I_={},Om=function(n,u,l){let d=Promise.resolve();if(u&&u.length>0){let y=function(_){return Promise.all(_.map(g=>Promise.resolve(g).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const f=document.getElementsByTagName("link"),p=document.querySelector("meta[property=csp-nonce]"),h=p?.nonce||p?.getAttribute("nonce");d=y(u.map(_=>{if(_=jC(_,l),_ in I_)return;I_[_]=!0;const g=_.endsWith(".css"),b=g?'[rel="stylesheet"]':"";if(l)for(let C=f.length-1;C>=0;C--){const x=f[C];if(x.href===_&&(!g||x.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${_}"]${b}`))return;const S=document.createElement("link");if(S.rel=g?"stylesheet":EC,g||(S.as="script"),S.crossOrigin="",S.href=_,h&&S.setAttribute("nonce",h),document.head.appendChild(S),g)return new Promise((C,x)=>{S.addEventListener("load",C),S.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${_}`)))})}))}function c(f){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=f,window.dispatchEvent(p),!p.defaultPrevented)throw f}return d.then(f=>{for(const p of f||[])p.status==="rejected"&&c(p.reason);return n().catch(c)})};function Vb(o){if(o>3&&o<21)return o+"th";switch(o%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd";default:return o+"th"}}function qm(o,n){return new Date((typeof o=="string"?new Date(o):o).toLocaleString("en-US",{timeZone:n}))}function Gb(){const o=localStorage.getItem("language")?.replace(/_/g,"-")||"en-GB",n={ar:"arab",fa:"arabext",bn:"beng",hi:"deva",mr:"deva",ne:"deva",ta:"tamldec"},u=o.split("-")[0];return n[u]?`${o}-u-nu-${n[u]}`:o}function DC(o){if(localStorage.getItem("localeFormatting")==="false")return Math.round(o*100)+"%";try{return new Intl.NumberFormat(Gb(),{style:"percent",maximumFractionDigits:0}).format(o)}catch{return Math.round(o*100)+"%"}}function Es(o){if(localStorage.getItem("localeFormatting")==="false")return String(o);try{const u=typeof o=="string"?parseInt(o,10):o;return isNaN(u)?String(o):new Intl.NumberFormat(Gb(),{useGrouping:!1}).format(u)}catch{return String(o)}}const OC=k.lazy(()=>Om(()=>import("./index-WlLvTUiq.js"),[],import.meta.url));function qC({time:o}){const n=u=>localStorage.getItem(u)==="true";return w.jsx(k.Suspense,{fallback:w.jsx(w.Fragment,{}),children:w.jsx("div",{className:`clockBackground ${n("roundClock")?"round":""}`,children:w.jsx(OC,{className:"analogclock clock-container",value:o,size:1.5*Number(localStorage.getItem("zoomClock")||100),renderMinuteMarks:n("minuteMarks"),renderHourMarks:n("hourMarks"),renderSecondHand:n("secondHand"),renderMinuteHand:n("minuteHand"),renderHourHand:n("hourHand")})})})}function RC({finalHour:o,finalMinute:n,finalSeconds:u}){const l=localStorage.getItem("hourColour")||"#fff",d=localStorage.getItem("minuteColour")||"#fff",c=localStorage.getItem("secondColour")||"#fff";return w.jsxs("span",{className:"vertical-clock clock-container",children:[w.jsx("div",{className:"hour",style:{color:l},children:o}),w.jsx("div",{className:"minute",style:{color:d},children:n}),w.jsx("div",{className:"seconds",style:{color:c},children:u})]})}const Yt=o=>String(o).split("").map(u=>Es(u)).join(""),BC=()=>{const[o]=k.useState(localStorage.getItem("timeType")),[n,u]=k.useState(""),[l,d]=k.useState(""),[c,f]=k.useState(""),[p,h]=k.useState(""),[y,_]=k.useState(""),[g,b]=k.useState("block"),[S,C]=k.useState("4em"),x=k.useRef(void 0),A=(j=localStorage.getItem("seconds")==="true"||localStorage.getItem("timeType")==="analogue"?1e3-Date.now()%1e3:6e4-Date.now()%6e4)=>{x.current=setTimeout(()=>{let z=new Date;const L=localStorage.getItem("timezone");switch(L&&L!=="auto"&&(z=qm(z,L)),localStorage.getItem("timeType")){case"percentageComplete":u(DC(z.getHours()/24)),_("");break;case"analogue":Om(()=>Promise.resolve({}),__vite__mapDeps([0]),import.meta.url),u(z);break;default:{let G,Z="";const H=localStorage.getItem("zero");if(localStorage.getItem("seconds")==="true"){const D=("00"+z.getSeconds()).slice(-2);Z=`:${Yt(D)}`,h(Yt(D))}else h("");if(localStorage.getItem("timeformat")==="twentyfourhour"){const D=("00"+z.getMinutes()).slice(-2);if(H==="true"){const q=("00"+z.getHours()).slice(-2);G=`${Yt(q)}:${Yt(D)}${Z}`,d(Yt(q)),f(Yt(D))}else{const q=z.getHours();G=`${Es(q)}:${Yt(D)}${Z}`,d(Es(q)),f(Yt(D))}u(G),_("")}else{let D=z.getHours();D>12?D-=12:D===0&&(D=12);const q=("00"+z.getMinutes()).slice(-2);if(H==="true"){const V=("00"+D).slice(-2);G=`${Yt(V)}:${Yt(q)}${Z}`,d(Yt(V)),f(Yt(q))}else G=`${Es(D)}:${Yt(q)}${Z}`,d(Es(D)),f(Yt(q));u(G),_(z.getHours()>11?"PM":"AM")}break}}A()},j)};return k.useEffect(()=>{const j=z=>{if(z==="clock"||z==="timezone"){if(localStorage.getItem("time")==="false"){b("none");return}clearTimeout(x.current),x.current=null,A(0),b("block"),C(`${4*Number((localStorage.getItem("zoomClock")||100)/100)}em`)}};return localStorage.getItem("timeType")!=="analogue"&&C(`${4*Number((localStorage.getItem("zoomClock")||100)/100)}em`),A(0),ve.on("refresh",j),()=>{ve.off("refresh",j),x.current&&clearTimeout(x.current)}},[]),localStorage.getItem("timeType")==="analogue"?w.jsx(qC,{time:n}):localStorage.getItem("timeType")==="verticalClock"?w.jsx(RC,{finalHour:l,finalMinute:c,finalSeconds:p}):w.jsxs("span",{className:"clock clock-container",style:{display:g,fontSize:S},children:[n,w.jsx("span",{className:"ampm",children:y})]})},LC=(o,n)=>{if(!(localStorage.getItem("events")!=="false"))return n;const l=o.getMonth(),d=o.getDate(),f=JSON.parse(localStorage.getItem("customEvents")||"[]").find(p=>p.month-1===l&&p.date===d);return f&&(n=f.name),n},U_=o=>{const n=Date.now()-o.getTime(),u=new Date(n);return Math.abs(u.getUTCFullYear()-1970)},IC=()=>{const o=Qo(),[n,u]=k.useState(""),[l,d]=k.useState("block"),[c,f]=k.useState("1.6em"),p=k.useRef(),h=k.useRef(null),y=(_=6e4-Date.now()%6e4)=>{h.current=setTimeout(()=>{let g=new Date;const b=localStorage.getItem("timezone");b&&b!=="auto"&&(g=qm(g,b));const S=g.getHours();let C;switch(!0){case S<12:C=o("widgets.greeting.morning");break;case S<18:C=o("widgets.greeting.afternoon");break;default:C=o("widgets.greeting.evening");break}const x=localStorage.getItem("defaultGreetingMessage");x==="false"?C="":C=LC(g,C);let A="";const j=localStorage.getItem("greetingName");typeof j=="string"&&j.replace(/\s/g,"").length>0&&(A=`, ${j.trim()}`);const z=localStorage.getItem("birthdayenabled");if(x==="false"&&z!=="true"&&(A=A.replace(",","")),z==="true"){const L=new Date(localStorage.getItem("birthday"));if(L.getDate()===g.getDate()&&L.getMonth()===g.getMonth())if(localStorage.getItem("birthdayage")==="true"&&U_(L)!==0){const G=o("widgets.greeting.birthday").split(" ");C=`${G[0]} ${Vb(U_(L))} ${G[1]}`}else C=o("widgets.greeting.birthday")}u(`${C}${A}`),y()},_)};return k.useEffect(()=>{const _=b=>{if(b==="greeting"||b==="timezone"){const S=localStorage.getItem("greeting"),C=localStorage.getItem("zoomGreeting");d(S==="false"?"none":"block"),f(`${1.6*Number((C||100)/100)}em`),S!=="false"&&(h.current&&clearTimeout(h.current),y(0))}},g=localStorage.getItem("zoomGreeting");return f(`${1.6*Number((g||100)/100)}em`),y(0),ve.on("refresh",_),()=>{ve.off("refresh",_),h.current&&clearTimeout(h.current)}},[o]),w.jsx("span",{className:"greeting",ref:p,style:{display:l,fontSize:c},children:n})},UC="wbNewtabHandoff:",au=o=>`${UC}${o}`,PC=4e3,ou=()=>typeof browser<"u"&&typeof browser?.sidebarAction?.open=="function",Us=()=>ou()?browser:typeof chrome<"u"&&chrome?.runtime?.id?chrome:null;let Vl=null;async function HC(){let o=null;try{o=await Us()?.tabs?.getCurrent?.()??null}catch{o=null}return o?.id!=null&&await GC(Us(),o.id),Vl=o,Vl}function FC({text:o,mode:n,tabId:u,now:l=Date.now()}){return{id:`nt-${l}-${Math.random().toString(36).slice(2,8)}`,tabId:u,text:String(o).slice(0,PC),mode:n==="act"?"act":"ask",createdAt:l}}const Kb=16e4,Wo=new Map;function Yb(o){let n;const u=new Promise(d=>{n=d}),l=()=>{Wo.get(o)?.promise===u&&Wo.delete(o),n()};return Wo.set(o,{promise:u,release:l}),l}const VC=o=>Wo.has(o);function P_(o=Vl){return Wo.get(o?.id)?.promise??Promise.resolve()}async function GC(o,n,u=Date.now()){if(!o?.storage?.local?.get||Wo.has(n))return!1;const l=au(n);let d;try{d=(await o.storage.local.get(l))?.[l]}catch{return!1}if(!d||Wo.has(n))return!1;const c=Kb-(u-Number(d.createdAt||0));return c>0?(Wb(o,n,Yb(n),c),!0):!1}function Wb(o,n,u,l=Kb){const d=au(n);let c;const f=(h,y)=>{(!y||y==="local")&&h?.[d]&&!h[d].newValue&&p()};function p(){clearTimeout(c),o.storage.onChanged?.removeListener?.(f),u()}c=setTimeout(p,l),o.storage.onChanged?.addListener?.(f),Promise.resolve(o.storage.local.get?.(d)).then(h=>{h?.[d]||p()}).catch(()=>{})}function KC({text:o,mode:n},u=Us(),l=Vl){if(!u||l?.id==null)return Promise.reject(new Error("Extension API unavailable"));if(Wo.has(l.id))return Promise.reject(new Error("Previous task is still being handed over"));const d=ou();if(!d&&!u.sidePanel?.open)return Promise.reject(new Error("Side panel API unavailable"));const c=Yb(l.id),f=FC({text:o,mode:n,tabId:l.id});let p,h;try{p=Promise.resolve(u.storage.local.set({[au(l.id)]:f})),d?h=u.sidebarAction.open():(Promise.resolve(u.sidePanel.setOptions({tabId:l.id,path:"src/ui/sidepanel.html",enabled:!0})).catch(()=>{}),h=u.sidePanel.open({tabId:l.id}))}catch(y){h=Promise.reject(y),p??=Promise.resolve()}return Promise.all([p,h]).then(()=>(Wb(u,l.id,c),Promise.resolve(u.runtime.sendMessage({type:"WB_NEWTAB_PANEL_OPENED",tabId:l.id})).catch(()=>{}),!0),async y=>{throw await p.catch(()=>{}),await YC(u,l.id,f.id),c(),y})}async function YC(o,n,u){const l=au(n);try{const d=(await o.storage.local.get(l))?.[l];(!d||d.id===u)&&await o.storage.local.remove(l)}catch{}}function WC(o=Us()){return ou()?typeof o?.search?.search=="function":typeof o?.search?.query=="function"}const H_=new Set(["http:","https:"]);function QC(o){const n=String(o||"").trim();if(!n||/\s/.test(n))return null;try{const u=new URL(n);if(/^[a-z][a-z0-9+.-]*:\/\//i.test(n))return H_.has(u.protocol)?u.href:null}catch{}if(/^(localhost|(\d{1,3}\.){3}\d{1,3}|([a-z0-9-]+\.)+[a-z]{2,})(:\d+)?([/?#]\S*)?$/i.test(n))try{const u=new URL(`https://${n}`);return H_.has(u.protocol)?u.href:null}catch{return null}return null}async function ZC(o,n=Us(),u=l=>window.location.assign(l)){const l=QC(o);if(l)return u(l),!0;if(ou()&&n?.search?.search)return await n.search.search({query:o,disposition:"CURRENT_TAB"}),!0;if(n?.search?.query)return await n.search.query({text:o,disposition:"CURRENT_TAB"}),!0;throw new Error("Search API unavailable")}const XC=[{id:"ask",icon:jA},{id:"act",icon:Db},{id:"search",icon:Em}],Qb=()=>XC.filter(o=>o.id!=="search"||WC()),JC=()=>{const o=localStorage.getItem("taskBoxMode");return Qb().some(n=>n.id===o)?o:"ask"};function $C(){const[o,n]=k.useState(JC),[u,l]=k.useState(""),[d,c]=k.useState(""),[f,p]=k.useState(!1),h=k.useRef(null),y=k.useRef(!1);k.useEffect(()=>{let g=!0;return HC().then(b=>{g&&b?.id!=null&&VC(b.id)&&(p(!0),P_(b).then(()=>g&&p(!1)))}),localStorage.getItem("taskBoxFocus")!=="false"&&h.current?.focus(),()=>{g=!1}},[]);const _=g=>{g.preventDefault();const b=u.trim();if(!(!b||f||y.current)){if(c(""),o==="search"){ZC(b).catch(()=>c(ya("wb.panel_failed")));return}y.current=!0,p(!0),KC({text:b,mode:o}).then(()=>(l(""),P_())).catch(()=>c(ya("wb.panel_failed"))).finally(()=>{y.current=!1,p(!1),h.current?.focus()})}};return w.jsxs("div",{className:"taskBox",children:[w.jsxs("form",{className:"taskBoxForm",onSubmit:_,children:[w.jsx("input",{ref:h,className:"taskBoxInput",type:"text",value:u,maxLength:4e3,autoComplete:"off",spellCheck:!1,placeholder:ya(`wb.placeholder_${o}`),"aria-label":ya(`wb.placeholder_${o}`),disabled:f,onChange:g=>l(g.target.value)}),w.jsx("button",{className:"taskBoxGo",type:"submit","aria-label":ya("wb.go"),disabled:f||!u.trim(),children:w.jsx(jb,{})})]}),w.jsx("div",{className:"taskBoxModes",role:"radiogroup",children:Qb().map(({id:g,icon:b})=>w.jsxs("button",{type:"button",role:"radio","aria-checked":o===g,className:o===g?"taskBoxMode active":"taskBoxMode",onClick:()=>{n(g),h.current?.focus()},children:[w.jsx(b,{}),w.jsx("span",{children:ya(`wb.${g}`)})]},g))}),o==="act"&&w.jsx("span",{className:"taskBoxHint",children:ya("wb.act_hint")}),d&&w.jsx("span",{className:"taskBoxHint taskBoxError",role:"alert",children:d})]})}const F_="webbrain_chat_history",tm="records";async function ex(o=4,n=globalThis.indexedDB){if(!n?.databases)return[];if(!(await n.databases()).some(d=>d.name===F_))return[];const l=await new Promise((d,c)=>{const f=n.open(F_);f.onupgradeneeded=()=>f.transaction.abort(),f.onsuccess=()=>d(f.result),f.onerror=()=>c(f.error),f.onblocked=()=>c(new Error("blocked"))});try{return l.objectStoreNames.contains(tm)?await new Promise((d,c)=>{const f=[],p=l.transaction([tm],"readonly").objectStore(tm),y=(p.indexNames.contains("updatedAt")?p.index("updatedAt"):p).openCursor(null,"prev");y.onsuccess=()=>{const _=y.result;if(!_||f.length>=o)return d(f);const{id:g,title:b,url:S,updatedAt:C}=_.value;f.push({id:g,title:String(b||"").slice(0,140),url:String(S||""),updatedAt:C}),_.continue()},y.onerror=()=>c(y.error)}):[]}finally{l.close()}}const V_="../src/ui/history.html";function tx(){const[o,n]=k.useState(null);return k.useEffect(()=>{let u=!1;return ex(4).then(l=>!u&&n(l)).catch(()=>!u&&n([])),()=>{u=!0}},[]),o===null?null:w.jsxs("div",{className:"recentChats",children:[w.jsxs("div",{className:"recentChatsHeader",children:[w.jsx("span",{children:ya("wb.recent_title")}),w.jsx("a",{href:V_,children:ya("wb.recent_all")})]}),o.length===0?w.jsx("span",{className:"recentChatsEmpty",children:ya("wb.recent_empty")}):w.jsx("ul",{children:o.map(u=>w.jsx("li",{children:w.jsx("a",{href:`${V_}?id=${encodeURIComponent(u.id)}`,children:u.title||u.url})},u.id))})]})}const bm=Math.min,An=Math.max,Gl=Math.round,ho=o=>({x:o,y:o}),ax={left:"right",right:"left",bottom:"top",top:"bottom"};function ox(o,n,u){return An(o,bm(n,u))}function iu(o,n){return typeof o=="function"?o(n):o}function zn(o){return o.split("-")[0]}function nu(o){return o.split("-")[1]}function Zb(o){return o==="x"?"y":"x"}function Xb(o){return o==="y"?"height":"width"}function Ko(o){const n=o[0];return n==="t"||n==="b"?"y":"x"}function Jb(o){return Zb(Ko(o))}function ix(o,n,u){u===void 0&&(u=!1);const l=nu(o),d=Jb(o),c=Xb(d);let f=d==="x"?l===(u?"end":"start")?"right":"left":l==="start"?"bottom":"top";return n.reference[c]>n.floating[c]&&(f=Kl(f)),[f,Kl(f)]}function nx(o){const n=Kl(o);return[ym(o),n,ym(n)]}function ym(o){return o.includes("start")?o.replace("start","end"):o.replace("end","start")}const G_=["left","right"],K_=["right","left"],sx=["top","bottom"],rx=["bottom","top"];function lx(o,n,u){switch(o){case"top":case"bottom":return u?n?K_:G_:n?G_:K_;case"left":case"right":return n?sx:rx;default:return[]}}function ux(o,n,u,l){const d=nu(o);let c=lx(zn(o),u==="start",l);return d&&(c=c.map(f=>f+"-"+d),n&&(c=c.concat(c.map(ym)))),c}function Kl(o){const n=zn(o);return ax[n]+o.slice(n.length)}function dx(o){var n,u,l,d;return{top:(n=o.top)!=null?n:0,right:(u=o.right)!=null?u:0,bottom:(l=o.bottom)!=null?l:0,left:(d=o.left)!=null?d:0}}function cx(o){return typeof o!="number"?dx(o):{top:o,right:o,bottom:o,left:o}}function Yl(o){const{x:n,y:u,width:l,height:d}=o;return{width:l,height:d,top:u,left:n,right:n+l,bottom:u+d,x:n,y:u}}function Y_(o,n,u){let{reference:l,floating:d}=o;const c=Ko(n),f=Jb(n),p=Xb(f),h=zn(n),y=c==="y",_=l.x+l.width/2-d.width/2,g=l.y+l.height/2-d.height/2,b=l[p]/2-d[p]/2;let S;switch(h){case"top":S={x:_,y:l.y-d.height};break;case"bottom":S={x:_,y:l.y+l.height};break;case"right":S={x:l.x+l.width,y:g};break;case"left":S={x:l.x-d.width,y:g};break;default:S={x:l.x,y:l.y}}const C=nu(n);return C&&(S[f]+=b*(C==="end"?1:-1)*(u&&y?-1:1)),S}async function mx(o,n){var u;n===void 0&&(n={});const{x:l,y:d,platform:c,rects:f,elements:p,strategy:h}=o,{boundary:y="clippingAncestors",rootBoundary:_="viewport",elementContext:g="floating",altBoundary:b=!1,padding:S=0}=iu(n,o),C=cx(S),A=p[b?g==="floating"?"reference":"floating":g],j=Yl(await c.getClippingRect({element:(u=await(c.isElement==null?void 0:c.isElement(A)))==null||u?A:A.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:y,rootBoundary:_,strategy:h})),z=g==="floating"?{x:l,y:d,width:f.floating.width,height:f.floating.height}:f.reference,L=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),G=await(c.isElement==null?void 0:c.isElement(L))&&await(c.getScale==null?void 0:c.getScale(L))||{x:1,y:1},Z=Yl(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:z,offsetParent:L,strategy:h}):z);return{top:(j.top-Z.top+C.top)/G.y,bottom:(Z.bottom-j.bottom+C.bottom)/G.y,left:(j.left-Z.left+C.left)/G.x,right:(Z.right-j.right+C.right)/G.x}}const px=50,fx=async(o,n,u)=>{const{placement:l="bottom",strategy:d="absolute",middleware:c=[],platform:f}=u,p=f.detectOverflow?f:{...f,detectOverflow:mx},h=await(f.isRTL==null?void 0:f.isRTL(n));let y=await f.getElementRects({reference:o,floating:n,strategy:d}),{x:_,y:g}=Y_(y,l,h),b=l,S=0;const C={};for(let x=0;x<c.length;x++){const A=c[x];if(!A)continue;const{name:j,fn:z}=A,{x:L,y:G,data:Z,reset:H}=await z({x:_,y:g,initialPlacement:l,placement:b,strategy:d,middlewareData:C,rects:y,platform:p,elements:{reference:o,floating:n}});_=L??_,g=G??g,C[j]={...C[j],...Z},H&&S<px&&(S++,typeof H=="object"&&(H.placement&&(b=H.placement),H.rects&&(y=H.rects===!0?await f.getElementRects({reference:o,floating:n,strategy:d}):H.rects),{x:_,y:g}=Y_(y,b,h)),x=-1)}return{x:_,y:g,placement:b,strategy:d,middlewareData:C}},gx=function(o){return o===void 0&&(o={}),{name:"flip",options:o,async fn(n){var u,l;const{placement:d,middlewareData:c,rects:f,initialPlacement:p,platform:h,elements:y}=n,{mainAxis:_=!0,crossAxis:g=!0,fallbackPlacements:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:x=!0,...A}=iu(o,n);if((u=c.arrow)!=null&&u.alignmentOffset)return{};const j=zn(d),z=Ko(p),L=zn(p)===p,G=await(h.isRTL==null?void 0:h.isRTL(y.floating)),Z=b||(L||!x?[Kl(p)]:nx(p)),H=C!=="none";!b&&H&&Z.push(...ux(p,x,C,G));const D=[p,...Z],q=await h.detectOverflow(n,A),V=[];let $=((l=c.flip)==null?void 0:l.overflows)||[];if(_&&V.push(q[j]),g){const X=ix(d,f,G);V.push(q[X[0]],q[X[1]])}if($=[...$,{placement:d,overflows:V}],!V.every(X=>X<=0)){var W,ee;const X=(((W=c.flip)==null?void 0:W.index)||0)+1,Y=D[X];if(Y&&(!(g==="alignment"?z!==Ko(Y):!1)||$.every(K=>Ko(K.placement)===z?K.overflows[0]>0:!0)))return{data:{index:X,overflows:$},reset:{placement:Y}};let I=(ee=$.filter(T=>T.overflows[0]<=0).sort((T,K)=>T.overflows[1]-K.overflows[1])[0])==null?void 0:ee.placement;if(!I)switch(S){case"bestFit":{var ae;const T=(ae=$.filter(K=>{if(H){const ie=Ko(K.placement);return ie===z||ie==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(ie=>ie>0).reduce((ie,ne)=>ie+ne,0)]).sort((K,ie)=>K[1]-ie[1])[0])==null?void 0:ae[0];T&&(I=T);break}case"initialPlacement":I=p;break}if(d!==I)return{reset:{placement:I}}}return{}}}},hx=new Set(["left","top"]);async function _x(o,n){const{placement:u,platform:l,elements:d}=o,c=await(l.isRTL==null?void 0:l.isRTL(d.floating)),f=zn(u),p=nu(u),h=Ko(u)==="y",y=hx.has(f)?-1:1,_=c&&h?-1:1,g=iu(n,o);let{mainAxis:b,crossAxis:S,alignmentAxis:C}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return p&&typeof C=="number"&&(S=p==="end"?C*-1:C),h?{x:S*_,y:b*y}:{x:b*y,y:S*_}}const vx=function(o){return o===void 0&&(o=0),{name:"offset",options:o,async fn(n){var u,l;const{x:d,y:c,placement:f,middlewareData:p}=n,h=await _x(n,o);return f===((u=p.offset)==null?void 0:u.placement)&&(l=p.arrow)!=null&&l.alignmentOffset?{}:{x:d+h.x,y:c+h.y,data:{...h,placement:f}}}}},bx=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(n){const{x:u,y:l,placement:d,platform:c}=n,{mainAxis:f=!0,crossAxis:p=!1,limiter:h={fn:z=>{let{x:L,y:G}=z;return{x:L,y:G}}},...y}=iu(o,n),_={x:u,y:l},g=await c.detectOverflow(n,y),b=Ko(d),S=Zb(b);let C=_[S],x=_[b];const A=(z,L)=>ox(L+g[z==="y"?"top":"left"],L,L-g[z==="y"?"bottom":"right"]);f&&(C=A(S,C)),p&&(x=A(b,x));const j=h.fn({...n,[S]:C,[b]:x});return{...j,data:{x:j.x-u,y:j.y-l,enabled:{[S]:f,[b]:p}}}}}};function su(){return typeof window<"u"}function Tn(o){return $b(o)?(o.nodeName||"").toLowerCase():"#document"}function ra(o){var n;return(o==null||(n=o.ownerDocument)==null?void 0:n.defaultView)||window}function Zo(o){var n;return(n=($b(o)?o.ownerDocument:o.document)||window.document)==null?void 0:n.documentElement}function $b(o){return su()?o instanceof Node||o instanceof ra(o).Node:!1}function Wa(o){return su()?o instanceof Element||o instanceof ra(o).Element:!1}function Xo(o){return su()?o instanceof HTMLElement||o instanceof ra(o).HTMLElement:!1}function W_(o){return!su()||typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof ra(o).ShadowRoot}function ru(o){const{overflow:n,overflowX:u,overflowY:l,display:d}=Qa(o);return/auto|scroll|overlay|hidden|clip/.test(n+l+u)&&d!=="inline"&&d!=="contents"}function yx(o){return/^(table|td|th)$/.test(Tn(o))}function lu(o){try{if(o.matches(":popover-open"))return!0}catch{}try{return o.matches(":modal")}catch{return!1}}const kx=/transform|translate|scale|rotate|perspective|filter/,wx=/paint|layout|strict|content/,Si=o=>!!o&&o!=="none";let am;function Rm(o){const n=Wa(o)?Qa(o):o;return Si(n.transform)||Si(n.translate)||Si(n.scale)||Si(n.rotate)||Si(n.perspective)||!Bm()&&(Si(n.backdropFilter)||Si(n.filter))||kx.test(n.willChange||"")||wx.test(n.contain||"")}function Sx(o){let n=zi(o);for(;Xo(n)&&!Ps(n);){if(Rm(n))return n;if(lu(n))return null;n=zi(n)}return null}function Bm(){return am==null&&(am=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),am}function Ps(o){return/^(html|body|#document)$/.test(Tn(o))}function Qa(o){return ra(o).getComputedStyle(o)}function uu(o){return Wa(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.scrollX,scrollTop:o.scrollY}}function zi(o){if(Tn(o)==="html")return o;const n=o.assignedSlot||o.parentNode||W_(o)&&o.host||Zo(o);return W_(n)?n.host:n}function ey(o){const n=zi(o);return Ps(n)?(o.ownerDocument||o).body:Xo(n)&&ru(n)?n:ey(n)}function ty(o,n,u){var l;n===void 0&&(n=[]);const d=ey(o),c=d===((l=o.ownerDocument)==null?void 0:l.body),f=ra(d);return c?(km(f),n.concat(f,f.visualViewport||[],ru(d)?d:[],[])):n.concat(d,ty(d,[]))}function km(o){return o.parent&&Object.getPrototypeOf(o.parent)?o.frameElement:null}function ay(o){const n=Qa(o);let u=parseFloat(n.width)||0,l=parseFloat(n.height)||0;const d=Xo(o),c=d?o.offsetWidth:u,f=d?o.offsetHeight:l,p=Gl(u)!==c||Gl(l)!==f;return p&&(u=c,l=f),{width:u,height:l,$:p}}function oy(o){return Wa(o)?o:o.contextElement}function Cn(o){const n=oy(o);if(!Xo(n))return ho(1);const u=n.getBoundingClientRect(),{width:l,height:d,$:c}=ay(n);let f=(c?Gl(u.width):u.width)/l,p=(c?Gl(u.height):u.height)/d;return(!f||!Number.isFinite(f))&&(f=1),(!p||!Number.isFinite(p))&&(p=1),{x:f,y:p}}const Mx=ho(0);function iy(o){const n=ra(o);return!Bm()||!n.visualViewport?Mx:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function Ax(o,n,u){return n===void 0&&(n=!1),!!u&&n&&u===ra(o)}function Hs(o,n,u,l){n===void 0&&(n=!1),u===void 0&&(u=!1);const d=o.getBoundingClientRect(),c=oy(o);let f=ho(1);n&&(l?Wa(l)&&(f=Cn(l)):f=Cn(o));const p=Ax(c,u,l)?iy(c):ho(0);let h=(d.left+p.x)/f.x,y=(d.top+p.y)/f.y,_=d.width/f.x,g=d.height/f.y;if(c&&l){const b=ra(c),S=Wa(l)?ra(l):l;let C=b,x=km(C);for(;x&&S!==C;){const A=Cn(x),j=x.getBoundingClientRect(),z=Qa(x),L=j.left+(x.clientLeft+parseFloat(z.paddingLeft))*A.x,G=j.top+(x.clientTop+parseFloat(z.paddingTop))*A.y;h*=A.x,y*=A.y,_*=A.x,g*=A.y,h+=L,y+=G,C=ra(x),x=km(C)}}return Yl({width:_,height:g,x:h,y})}function du(o,n){const u=uu(o).scrollLeft;return n?n.left+u:Hs(Zo(o)).left+u}function ny(o,n){const u=o.getBoundingClientRect(),l=u.left+n.scrollLeft-du(o,u),d=u.top+n.scrollTop;return{x:l,y:d}}function Cx(o){let{elements:n,rect:u,offsetParent:l,strategy:d}=o;const c=d==="fixed",f=Zo(l),p=n?lu(n.floating):!1;if(l===f||p&&c)return u;let h={scrollLeft:0,scrollTop:0},y=ho(1);const _=ho(0),g=Xo(l);if((g||!c)&&((Tn(l)!=="body"||ru(f))&&(h=uu(l)),g)){const S=Hs(l);y=Cn(l),_.x=S.x+l.clientLeft,_.y=S.y+l.clientTop}const b=f&&!g&&!c?ny(f,h):ho(0);return{width:u.width*y.x,height:u.height*y.y,x:u.x*y.x-h.scrollLeft*y.x+_.x+b.x,y:u.y*y.y-h.scrollTop*y.y+_.y+b.y}}function xx(o){return o.getClientRects?Array.from(o.getClientRects()):[]}function zx(o){const n=uu(o),u=o.ownerDocument.body,l=An(o.scrollWidth,o.clientWidth,u.scrollWidth,u.clientWidth),d=An(o.scrollHeight,o.clientHeight,u.scrollHeight,u.clientHeight);let c=-n.scrollLeft+du(o);const f=-n.scrollTop;return Qa(u).direction==="rtl"&&(c+=An(o.clientWidth,u.clientWidth)-l),{width:l,height:d,x:c,y:f}}const Tx=25;function Nx(o,n,u){u===void 0&&(u="viewport");const l=u==="layoutViewport",d=ra(o),c=Zo(o),f=d.visualViewport;let p=c.clientWidth,h=c.clientHeight,y=0,_=0;if(f){const b=!Bm()||n==="fixed";l?b||(y=-f.offsetLeft,_=-f.offsetTop):(p=f.width,h=f.height,b&&(y=f.offsetLeft,_=f.offsetTop))}if(du(c)<=0){const b=c.ownerDocument,S=b.body,C=getComputedStyle(S),x=b.compatMode==="CSS1Compat"&&parseFloat(C.marginLeft)+parseFloat(C.marginRight)||0,A=Math.abs(c.clientWidth-S.clientWidth-x),j=getComputedStyle(c).scrollbarGutter==="stable both-edges"?A/2:A;j<=Tx&&(p-=j)}return{width:p,height:h,x:y,y:_}}function Ex(o,n){const u=Hs(o,!0,n==="fixed"),l=u.top+o.clientTop,d=u.left+o.clientLeft,c=Cn(o),f=o.clientWidth*c.x,p=o.clientHeight*c.y,h=d*c.x,y=l*c.y;return{width:f,height:p,x:h,y}}function Q_(o,n,u){let l;if(n==="viewport"||n==="layoutViewport")l=Nx(o,u,n);else if(n==="document")l=zx(Zo(o));else if(Wa(n))l=Ex(n,u);else{const d=iy(o);l={x:n.x-d.x,y:n.y-d.y,width:n.width,height:n.height}}return Yl(l)}function jx(o,n){const u=n.get(o);if(u)return u;let l=ty(o,[]).filter(p=>Wa(p)&&Tn(p)!=="body"),d=null;const c=Qa(o).position==="fixed";let f=c?zi(o):o;for(;Wa(f)&&!Ps(f);){const p=Qa(f),h=Rm(f),y=d?d.position:c?"fixed":"";!h&&(y==="fixed"||y==="absolute"&&p.position==="static")?l=l.filter(g=>g!==f):d=p,f=zi(f)}return n.set(o,l),l}function Dx(o){let{element:n,boundary:u,rootBoundary:l,strategy:d}=o;const f=[...u==="clippingAncestors"?lu(n)?[]:jx(n,this._c):[].concat(u),l],p=Q_(n,f[0],d);let h=p.top,y=p.right,_=p.bottom,g=p.left;for(let b=1;b<f.length;b++){const S=Q_(n,f[b],d);h=An(S.top,h),y=bm(S.right,y),_=bm(S.bottom,_),g=An(S.left,g)}return{width:y-g,height:_-h,x:g,y:h}}function Ox(o){const{width:n,height:u}=ay(o);return{width:n,height:u}}function qx(o,n,u){const l=Xo(n),d=Zo(n),c=u==="fixed",f=Hs(o,!0,c,n);let p={scrollLeft:0,scrollTop:0};const h=ho(0);if((l||!c)&&((Tn(n)!=="body"||ru(d))&&(p=uu(n)),l)){const b=Hs(n,!0,c,n);h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}!l&&d&&(h.x=du(d));const y=d&&!l&&!c?ny(d,p):ho(0),_=f.left+p.scrollLeft-h.x-y.x,g=f.top+p.scrollTop-h.y-y.y;return{x:_,y:g,width:f.width,height:f.height}}function om(o){return Qa(o).position==="static"}function Z_(o,n){if(!Xo(o)||Qa(o).position==="fixed")return null;if(n)return n(o);let u=o.offsetParent;return Zo(o)===u&&(u=u.ownerDocument.body),u}function sy(o,n){const u=ra(o);if(lu(o))return u;if(!Xo(o)){let d=zi(o);for(;d&&!Ps(d);){if(Wa(d)&&!om(d))return d;d=zi(d)}return u}let l=Z_(o,n);for(;l&&yx(l)&&om(l);)l=Z_(l,n);return l&&Ps(l)&&om(l)&&!Rm(l)?u:l||Sx(o)||u}const Rx=async function(o){const n=this.getOffsetParent||sy,u=this.getDimensions,l=await u(o.floating);return{reference:qx(o.reference,await n(o.floating),o.strategy),floating:{x:0,y:0,width:l.width,height:l.height}}};function Bx(o){return Qa(o).direction==="rtl"}const Lx={convertOffsetParentRelativeRectToViewportRelativeRect:Cx,getDocumentElement:Zo,getClippingRect:Dx,getOffsetParent:sy,getElementRects:Rx,getClientRects:xx,getDimensions:Ox,getScale:Cn,isElement:Wa,isRTL:Bx},Ix=vx,Ux=bx,Px=gx,Hx=(o,n,u)=>{const l=new Map,d=u??{},c={...Lx,...d.platform,_c:l};return fx(o,n,{...d,platform:c})};var Mn=Tm(),Fx=typeof document<"u",Vx=function(){},ql=Fx?k.useLayoutEffect:Vx;function Wl(o,n){if(o===n)return!0;if(typeof o!=typeof n)return!1;if(typeof o=="function"&&o.toString()===n.toString())return!0;let u,l,d;if(o&&n&&typeof o=="object"){if(Array.isArray(o)){if(u=o.length,u!==n.length)return!1;for(l=u;l--!==0;)if(!Wl(o[l],n[l]))return!1;return!0}if(d=Object.keys(o),u=d.length,u!==Object.keys(n).length)return!1;for(l=u;l--!==0;)if(!{}.hasOwnProperty.call(n,d[l]))return!1;for(l=u;l--!==0;){const c=d[l];if(!(c==="_owner"&&o.$$typeof)&&!Wl(o[c],n[c]))return!1}return!0}return o!==o&&n!==n}function ry(o){return typeof window>"u"?1:(o.ownerDocument.defaultView||window).devicePixelRatio||1}function X_(o,n){const u=ry(o);return Math.round(n*u)/u}function im(o){const n=k.useRef(o);return ql(()=>{n.current=o}),n}function cu(o){o===void 0&&(o={});const{placement:n="bottom",strategy:u="absolute",middleware:l=[],platform:d,elements:{reference:c,floating:f}={},transform:p=!0,whileElementsMounted:h,open:y}=o,[_,g]=k.useState({x:0,y:0,strategy:u,placement:n,middlewareData:{},isPositioned:!1}),[b,S]=k.useState(l);Wl(b,l)||S(l);const[C,x]=k.useState(null),[A,j]=k.useState(null),z=k.useCallback(K=>{K!==H.current&&(H.current=K,x(K))},[]),L=k.useCallback(K=>{K!==D.current&&(D.current=K,j(K))},[]),G=c||C,Z=f||A,H=k.useRef(null),D=k.useRef(null),q=k.useRef(_),V=h!=null,$=im(h),W=im(d),ee=im(y),ae=k.useCallback(()=>{if(!H.current||!D.current)return;const K={placement:n,strategy:u,middleware:b};W.current&&(K.platform=W.current),Hx(H.current,D.current,K).then(ie=>{const ne={...ie,isPositioned:ee.current!==!1};X.current&&!Wl(q.current,ne)&&(q.current=ne,Mn.flushSync(()=>{g(ne)}))})},[b,n,u,W,ee]);ql(()=>{y===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,g(K=>({...K,isPositioned:!1})))},[y]);const X=k.useRef(!1);ql(()=>(X.current=!0,()=>{X.current=!1}),[]),ql(()=>{if(G&&(H.current=G),Z&&(D.current=Z),G&&Z){if($.current)return $.current(G,Z,ae);ae()}},[G,Z,ae,$,V]);const Y=k.useMemo(()=>({reference:H,floating:D,setReference:z,setFloating:L}),[z,L]),I=k.useMemo(()=>({reference:G,floating:Z}),[G,Z]),T=k.useMemo(()=>{const K={position:u,left:0,top:0};if(!I.floating)return K;const ie=X_(I.floating,_.x),ne=X_(I.floating,_.y);return p?{...K,transform:"translate("+ie+"px, "+ne+"px)",...ry(I.floating)>=1.5&&{willChange:"transform"}}:{position:u,left:ie,top:ne}},[u,p,I.floating,_.x,_.y]);return k.useMemo(()=>({..._,update:ae,refs:Y,elements:I,floatingStyles:T}),[_,ae,Y,I,T])}const Gx=(o,n)=>{const u=Ix(o);return{name:u.name,fn:u.fn,options:[o,n]}},mu=(o,n)=>{const u=Ux(o);return{name:u.name,fn:u.fn,options:[o,n]}},Kx=(o,n)=>{const u=Px(o);return{name:u.name,fn:u.fn,options:[o,n]}};function Yx({children:o,title:n,style:u,placement:l,subtitle:d}){const[c,f]=k.useState(!1),[p,h]=k.useState(!1),[y,_]=k.useState(null),g=k.useRef(`tooltip-${Math.random()}`),b=k.useRef(null),{x:S,y:C,refs:x,strategy:A,placement:j}=cu({placement:l||"bottom",middleware:[Kx(),Gx(15),mu()],elements:{reference:y}}),z=()=>{b.current&&(clearTimeout(b.current),b.current=null),h(!1),f(!0)},L=()=>{h(!0),b.current=setTimeout(()=>{f(!1),h(!1)},200)},G=()=>{b.current&&(clearTimeout(b.current),b.current=null),h(!1),f(!0)},Z=()=>{h(!0),b.current=setTimeout(()=>{f(!1),h(!1)},200)},H=()=>!c&&!p?"initial":p?"close":"open";return w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"tooltip",style:u,onMouseEnter:z,onMouseLeave:L,onFocus:G,onBlur:Z,ref:_,"aria-describedby":g.current,children:o}),(c||p)&&w.jsxs("span",{ref:x.setFloating,style:{position:A,top:C??"",left:S??"",display:"flex",flexFlow:"column"},className:"tooltipTitle","data-status":H(),"data-placement":j,children:[n,w.jsx("span",{style:{fontSize:"8px"},children:d})]})]})}const ht=k.memo(Yx),Fs=k.forwardRef(({icon:o,label:n,type:u,iconPlacement:l,onClick:d,active:c,disabled:f,tooltipTitle:p,tooltipKey:h,href:y,style:_},g)=>{let b;switch(u){case"settings":b="btn-settings";break;case"secondary":b="btn-secondary";break;case"icon":b="btn-icon";break;case"navigation":b="btn-navigation";break;case"collection":b="btn-collection";break;case"linkIconButton":b="btn-icon";break;case"linkButton":b="btn-settings";break;default:b="btn-default"}l==="right"&&(b+=" flowReverse"),c&&(b+=` ${b}-active`);const S=w.jsxs("button",{className:b,onClick:d,ref:g,disabled:f,style:_,children:[o,n]}),C=w.jsxs("a",{className:b,onClick:d,ref:g,disabled:f,href:y,style:_,target:"_blank",rel:"noopener noreferrer",children:[o,n]}),x=w.jsx(ht,{title:p,children:w.jsxs("a",{className:b,onClick:d,ref:g,disabled:f,href:y,target:"_blank",rel:"noopener noreferrer",style:_,children:[o,n]})},h);switch(u){case"linkIconButton":return x;case"linkButton":return C;case"icon":return w.jsx(ht,{title:p,children:S},h);default:return S}});Fs.displayName="Button";function Wx({urlError:o,iconError:n,addLink:u,closeModal:l,edit:d,editData:c,editLink:f}){const[p,h]=k.useState(d?c.name:""),[y,_]=k.useState(d?c.url:""),[g,b]=k.useState(d?c.icon:"");return w.jsxs("div",{className:"addLinkModal",children:[w.jsxs("div",{className:"shareHeader",children:[w.jsx("span",{className:"title",children:d?pe.getMessage("widgets.quicklinks.edit"):pe.getMessage("widgets.quicklinks.new")}),w.jsx(ht,{title:pe.getMessage("modals.welcome.buttons.close"),children:w.jsx("div",{className:"close",onClick:()=>l(),children:w.jsx(Is,{})})})]}),w.jsxs("div",{className:"quicklinkModalTextbox",children:[w.jsx("input",{type:"text",className:"text-field-input",placeholder:pe.getMessage("widgets.quicklinks.name"),value:p,onChange:S=>h(S.target.value.replace(/(\r\n|\n|\r)/gm,"")),style:{gridColumn:"span 2"}}),w.jsx("input",{type:"text",className:"text-field-input",placeholder:pe.getMessage("widgets.quicklinks.url"),value:y,onChange:S=>_(S.target.value.replace(/(\r\n|\n|\r)/gm,""))}),w.jsx("input",{type:"text",className:"text-field-input",placeholder:pe.getMessage("widgets.quicklinks.icon"),value:g,onChange:S=>b(S.target.value.replace(/(\r\n|\n|\r)/gm,""))})]}),w.jsxs("div",{className:"addFooter",children:[w.jsxs("span",{className:"dropdown-error",children:[n," ",o]}),d?w.jsx(Fs,{type:"settings",onClick:()=>f(c,p,y,g),icon:w.jsx(D_,{}),label:pe.getMessage("modals.main.settings.sections.quicklinks.edit")}):w.jsx(Fs,{type:"settings",onClick:()=>u(p,y,g),icon:w.jsx(D_,{}),label:pe.getMessage("widgets.quicklinks.add")})]})]})}const kN=k.memo(Wx),Qx=[{name:"time",value:!0},{name:"greeting",value:!0},{name:"background",value:!0},{name:"quote",value:!1},{name:"searchBar",value:!1},{name:"blur",value:0},{name:"brightness",value:90},{name:"zero",value:!0},{name:"events",value:!0},{name:"customBackground",value:""},{name:"greetingName",value:""},{name:"defaultGreetingMessage",value:!0},{name:"backgroundAPI",value:"mue"},{name:"copyButton",value:!1},{name:"installed",value:[]},{name:"searchEngine",value:"duckduckgo"},{name:"refresh",value:!1},{name:"view",value:!0},{name:"favouriteEnabled",value:!0},{name:"quoteShareButton",value:!1},{name:"favouriteQuoteEnabled",value:!1},{name:"showWelcome",value:!1},{name:"date",value:"false"},{name:"timeType",value:"digital"},{name:"dateFormat",value:"DMY"},{name:"shortFormat",value:"dots"},{name:"toastDisplayTime",value:2500},{name:"fontstyle",value:"normal"},{name:"fontweight",value:400},{name:"order",value:'["greeting", "time", "quicklinks", "date", "message"]'},{name:"theme",value:"auto"},{name:"backgroundType",value:"api"},{name:"timeformat",value:"twentyfourhour"},{name:"experimental",value:!1},{name:"debugtimeout",value:0},{name:"quicklinks",value:"[]"},{name:"quicklinksenabled",value:!1},{name:"weatherEnabled",value:!1},{name:"weatherType",value:2},{name:"tempformat",value:"celsius"},{name:"authorImg",value:!0},{name:"authorLink",value:!0},{name:"bgtransition",value:!0},{name:"backgroundVideoLoop",value:!0},{name:"backgroundVideoMute",value:!0},{name:"quicklinkstooltip",value:!0},{name:"notesEnabled",value:!0},{name:"showlocation",value:!0},{name:"minuteHand",value:!0},{name:"hourHand",value:!0},{name:"datezero",value:!0},{name:"autocompleteProvider",value:"google"},{name:"quoteType",value:"quote_pack"},{name:"backgroundFilter",value:"none"},{name:"apiQuality",value:"high"},{name:"photoInformation",value:!0},{name:"backgroundFilterAmount",value:0},{name:"stats",value:!1},{name:"statsData",value:"{}"},{name:"localeFormatting",value:!0},{name:"offlineMode",value:!0},{name:"animations",value:!0},{name:"textBorder",value:"new"},{name:"widgetStyle",value:"new"},{name:"backgroundExclude",value:"[]"},{name:"photoMap",value:!0},{name:"appsEnabled",value:!1},{name:"applinks",value:"[]"},{name:"customEvents",value:'[{"id":"widgets.greeting.christmas","name":"Merry Christmas","month":12,"date":25},{"id":"widgets.greeting.newyear","name":"Happy New Year","month":1,"date":1},{"id":"widgets.greeting.halloween","name":"Happy Halloween","month":10,"date":31}]'},{name:"authorDetails",value:!0},{name:"taskBox",value:!0},{name:"taskBoxMode",value:"ask"},{name:"taskBoxFocus",value:!0},{name:"recentChats",value:!1}],Zx=[{name:"العربية",value:"ar"},{name:"مصرى",value:"arz"},{name:"Azərbaycan",value:"az"},{name:"تۆرکجه",value:"azb"},{name:"Bahasa Indonesia",value:"id_ID"},{name:"বাংলা",value:"bn"},{name:"Deutsch",value:"de_DE"},{name:"Ελληνικά",value:"el"},{name:"English (UK)",value:"en_GB"},{name:"English (US)",value:"en_US"},{name:"Español",value:"es"},{name:"Español (Latinoamérica)",value:"es_419"},{name:"Eesti",value:"et"},{name:"فارسی",value:"fa"},{name:"Français",value:"fr"},{name:"Magyar",value:"hu"},{name:"日本語",value:"ja"},{name:"Lietuvių",value:"lt"},{name:"Latviešu",value:"lv"},{name:"Nederlands",value:"nl"},{name:"Norsk",value:"no"},{name:"𐎱𐎠𐎼𐎿",value:"peo"},{name:"Pусский",value:"ru"},{name:"Português",value:"pt"},{name:"Português (Brasil)",value:"pt_BR"},{name:"Português (Portugal)",value:"pt_PT"},{name:"Slovenščina",value:"sl"},{name:"Svenska",value:"sv"},{name:"தமிழ்",value:"ta"},{name:"Türkçe",value:"tr_TR"},{name:"Українська",value:"uk"},{name:"Tiếng Việt",value:"vi"},{name:"中文 (简体)",value:"zh_CN"},{name:"中文 (繁體)",value:"zh_Hant"}];function wm(o){localStorage.clear(),Qx.forEach(l=>localStorage.setItem(l.name,l.value));const n=Zx.map(({value:l})=>l),u=navigator.languages&&navigator.languages.find(l=>l.replace("-","_")&&n.includes(l))||navigator.language.replace("-","_");n.includes(u)?localStorage.setItem("language",u):localStorage.setItem("language","en_GB"),localStorage.setItem("tabName",pe.getMessage("tabname")),o&&localStorage.setItem("showWelcome",!1),localStorage.setItem("firstRun",!0)}function Xx(o,n="file",u="text/json"){typeof o=="object"&&(o=JSON.stringify(o,void 0,4));const l=new Blob([o],{type:u}),d=document.createEvent("MouseEvents"),c=document.createElement("a");c.href=window.URL.createObjectURL(l),c.download=n,c.dataset.downloadurl=[u,c.download,c.href].join(":"),d.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),c.dispatchEvent(d)}function J_(o){switch(localStorage.getItem("theme")){case"dark":document.body.classList.add("dark"),document.body.classList.remove("light");break;case"auto":window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?document.body.classList.add("dark"):(document.body.classList.remove("dark"),document.body.classList.add("light"));break;default:document.body.classList.add("light"),document.body.classList.remove("dark")}document.title=localStorage.getItem("tabName")||pe.getMessage("tabname"),o===!0&&["customcss","customfont"].forEach(c=>{try{document.head.removeChild(document.getElementById(c))}catch{}}),localStorage.getItem("animations")==="false"?document.body.classList.add("no-animations"):document.body.classList.remove("no-animations");const n=localStorage.getItem("textBorder");n==="true"?["greeting","clock","date"].forEach(c=>{try{document.querySelector("."+c).classList.add("textBorder")}catch{}}):["greeting","clock","date"].forEach(c=>{try{document.querySelector("."+c).classList.remove("textBorder")}catch{}}),n==="none"?document.getElementById("center").classList.add("no-textBorder"):document.getElementById("center").classList.remove("no-textBorder");const u=localStorage.getItem("customcss");u&&document.head.insertAdjacentHTML("beforeend",'<style id="customcss">'+u+"</style>");const l=localStorage.getItem("font");l&&document.head.insertAdjacentHTML("beforeend",`<style id='customfont'>* {font-family: '${l}', 'Lexend Deca', 'Inter', sans-serif !important;@@ -855,7 +855,7 @@ Note: if you don't like "{category}" images, you can deselect the category in thfont-style: ${localStorage.getItem("fontstyle")};}</style>- `),localStorage.getItem("applinks")===null&&localStorage.setItem("applinks",JSON.stringify([])),localStorage.getItem("appsEnabled")===null&&localStorage.setItem("showWelcome",!1)}function Jx(){const o=Object.keys(localStorage);if(o.length===0)return wm();const n={};o.forEach(u=>{n[u]=localStorage.getItem(u)}),localStorage.clear(),wm(),Object.keys(n).forEach(u=>{localStorage.setItem(u,n[u])})}function $x({modalClose:o}){const n=async()=>{pe.stats.postEvent("setting","Reset");try{await nC()}catch{}wm("reset"),window.location.reload()};return w.jsxs("div",{className:"smallModal",children:[w.jsxs("div",{className:"shareHeader",children:[w.jsx("span",{className:"title",children:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.title")}),w.jsx(ht,{title:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.cancel"),children:w.jsx("div",{className:"close",onClick:o,children:w.jsx(Is,{})})})]}),w.jsx("span",{className:"title",children:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.question")}),w.jsx("span",{className:"subtitle",children:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.information")}),w.jsxs("div",{className:"resetFooter",children:[w.jsx(Fs,{type:"secondary",onClick:o,icon:w.jsx(Is,{}),label:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.cancel")}),w.jsx(Fs,{type:"settings",onClick:()=>n(),icon:w.jsx(DA,{}),label:pe.getMessage("modals.main.settings.buttons.reset")})]})]})}const wN=k.memo($x),$_={[Yo.SETTINGS]:{itemCount:16,dividerPositions:[10,12],textWidths:[80,100,70,90,85,75,80,95,90,75,85,90,85,80,70,95]},[Yo.DISCOVER]:{itemCount:5,dividerPositions:[0],textWidths:[60,95,95,110,90]},[Yo.LIBRARY]:{itemCount:0,dividerPositions:[],textWidths:[]}},e2=({currentTab:o=Yo.SETTINGS})=>{const n=$_[o]||$_[Yo.SETTINGS];return n.itemCount===0?null:w.jsx("div",{className:"sidebarSkeleton",children:Array.from({length:n.itemCount}).map((u,l)=>{const d=n.dividerPositions.includes(l),c=n.textWidths[l]||80;return w.jsxs("div",{children:[w.jsxs("div",{className:"skeletonItem",children:[w.jsx("div",{className:"iconPlaceholder pulse"}),w.jsx("div",{className:"textPlaceholder pulse",style:{width:`${c}px`}})]}),d&&w.jsx("hr",{className:"skeletonDivider"})]},l)})})},t2=({currentTab:o})=>w.jsxs("div",{style:{display:"flex",width:"100%",minHeight:"100%"},children:[w.jsx("div",{className:"modalSidebar",children:w.jsx(e2,{currentTab:o})}),w.jsx("div",{className:"modalTabContent",children:w.jsx("div",{className:"emptyItems",children:w.jsx("div",{className:"emptyMessage",children:w.jsxs("div",{className:"loaderHolder",children:[w.jsx("div",{id:"loader"}),w.jsx("span",{className:"subtitle",children:pe.getMessage("modals.main.loading")})]})})})})]}),a2=""+new URL("webbrain-rEIJfo36.png",import.meta.url).href;function o2({currentTab:o,currentSection:n,currentSectionName:u,currentSubSection:l,onSubSectionChange:d,onClose:c,onBack:f,onForward:p,canGoBack:h,canGoForward:y}){const _=Qo(),g=$A.find(({tab:x})=>x===o),b=g?_(g.messageKey):"",S=(x,A)=>{if(!x||!A)return x;const j=`modals.main.settings.sections.${A}.${x}.title`,z=_(j);return!z||z===j?x.charAt(0).toUpperCase()+x.slice(1):z},C=[];return b&&(C.push({label:b,onClick:null}),n&&(C.push({label:n,onClick:l?()=>d(null):null}),l&&C.push({label:S(l,u),onClick:null}))),w.jsxs("div",{className:"modalTopBar",children:[w.jsxs("div",{className:"topBarLeft",children:[w.jsxs("div",{className:"navigationButtons",children:[w.jsx(ht,{title:"Back",children:w.jsx("button",{className:"navButton",onClick:f,disabled:!h,"aria-label":"Navigate back",children:w.jsx(wA,{})})},"backTooltip"),w.jsx(ht,{title:"Forward",children:w.jsx("button",{className:"navButton",onClick:p,disabled:!y,"aria-label":"Navigate forward",children:w.jsx(jb,{})})},"forwardTooltip")]}),w.jsx("img",{src:a2,alt:"WebBrain",className:"topBarLogo",draggable:!1}),C.length>0&&w.jsx("nav",{className:"breadcrumbs","aria-label":"Breadcrumb navigation",children:C.map((x,A)=>{const j=A===C.length-1,z=x.onClick!==null;return w.jsxs("span",{className:"breadcrumb-segment",children:[z?w.jsx("span",{className:"breadcrumb-item breadcrumb-clickable",onClick:x.onClick,onKeyDown:L=>{(L.key==="Enter"||L.key===" ")&&(L.preventDefault(),x.onClick())},role:"button",tabIndex:0,"aria-label":`Navigate to ${x.label}`,children:x.label}):w.jsx("span",{className:`breadcrumb-item ${j?"breadcrumb-current":""}`,"aria-current":j?"page":void 0,children:x.label}),!j&&w.jsx(kA,{className:"breadcrumb-separator","aria-hidden":"true"})]},A)})})]}),w.jsx("div",{className:"topBarRight",children:w.jsx(ht,{title:_("modals.welcome.buttons.close"),children:w.jsx("span",{className:"closeModal",onClick:c,children:w.jsx(Is,{})})},"closeTooltip")})]})}const i2=k.lazy(()=>Om(()=>import("./Settings-DPM-2yQQ.js"),__vite__mapDeps([1,2]),import.meta.url));function n2({modalClose:o,deepLinkData:n}){const u=Yo.SETTINGS,[l,d]=k.useState(""),[c,f]=k.useState(""),[p,h]=k.useState(n?.subSection||null),[y,_]=k.useState(null);k.useEffect(()=>{n?.section&&(_({type:"settings-section",data:n.section,timestamp:Date.now()}),n.subSection&&h(n.subSection))},[n]),k.useEffect(()=>()=>{window.location.hash&&window.history.replaceState(null,null,window.location.pathname)},[]),k.useEffect(()=>{const S=()=>{const C=window.location.hash?Pl(window.location.hash):null;C?.section&&(_({type:"settings-section",data:C.section,timestamp:Date.now()}),h(C.subSection||null))};return window.addEventListener("popstate",S),()=>window.removeEventListener("popstate",S)},[]);const g=(S,C)=>{d(S),f(C),h(null),C&&Hl(`#${u}/${C}`,!1)},b=(S,C)=>{h(S),C&&Hl(S?`#${u}/${C}/${S}`:`#${u}/${C}`)};return w.jsxs("div",{className:"frame",children:[w.jsx(o2,{currentTab:u,currentSection:l,currentSectionName:c,currentSubSection:p,onSubSectionChange:b,onClose:o,onBack:()=>window.history.back(),onForward:()=>window.history.forward(),canGoBack:!0,canGoForward:!0}),w.jsx("div",{style:{flex:1,display:"flex",overflow:"hidden",minHeight:0},children:w.jsx(k.Suspense,{fallback:w.jsx(t2,{currentTab:u}),children:w.jsx(i2,{currentTab:u,changeTab:()=>{},deepLinkData:n,onSectionChange:g,onSubSectionChange:b,currentSubSection:p,navigationTrigger:y},u)})})]})}const s2=k.memo(n2),ev=["#3b6ea8","#2f8f83","#a85a3b","#7a4fa3","#a38a2f","#b0425b","#4a7f3a","#456b8f"];function ly(o,n=""){let u;try{u=new URL(o).hostname.replace(/^www\./,"")}catch{u=String(o||"")}const l=(n||u||"?").trim(),d=(Array.from(l)[0]||"?").toUpperCase().replace(/[&<>"']/g,"?");let c=0;for(const h of u)c=c*31+h.charCodeAt(0)>>>0;const p=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="${ev[c%ev.length]}"/><text x="32" y="43" font-family="sans-serif" font-size="32" font-weight="600" text-anchor="middle" fill="#fff">${d}</text></svg>`;return`data:image/svg+xml;charset=utf-8,${encodeURIComponent(p)}`}const tv=()=>{try{const o=localStorage.getItem("quicklinks");if(!o)return[];const n=JSON.parse(o);return Array.isArray(n)?n:[]}catch(o){return console.warn("Failed to parse quicklinks from localStorage. Resetting to []",o),[]}},uy=k.memo(()=>{const[o,n]=k.useState(tv()),[u,l]=k.useState(0),d=k.useRef(null),c=k.useCallback(_=>{if(!_)return;const g=localStorage.getItem("zoomQuicklinks")||100;for(const b of _.getElementsByTagName("span"))b.style.fontSize=`${14*Number(g/100)}px`;if(localStorage.getItem("quickLinksStyle")!=="text")for(const b of _.getElementsByTagName("img"))b.style.height=`${30*Number(g/100)}px`},[]);k.useEffect(()=>{const _=g=>{if(g==="quicklinks"){if(localStorage.getItem("quicklinksenabled")==="false"){d.current&&(d.current.style.display="none");return}d.current&&(d.current.style.display="flex"),n(tv()),l(Date.now())}};return ve.on("refresh",_),c(d.current),()=>{ve.off("refresh",_)}},[c]),k.useEffect(()=>{c(d.current)},[o,u,c]);let f,p=null;localStorage.getItem("quicklinksnewtab")==="true"&&(f="_blank",p="noopener noreferrer");const h=localStorage.getItem("quicklinkstooltip"),y=(_,g)=>{if(localStorage.getItem("quickLinksStyle")==="text")return w.jsx("a",{className:"quicklinkstext",href:_.url,target:f,rel:p,draggable:!1,children:_.name},`quicklink-${_.key}-${g}`);const b=_.icon||ly(_.url,_.name);if(localStorage.getItem("quickLinksStyle")==="metro")return w.jsxs("a",{className:"quickLinksMetro",href:_.url,target:f,rel:p,draggable:!1,children:[w.jsx("img",{src:b,alt:_.name,draggable:!1}),w.jsx("span",{className:"subtitle",children:_.name})]},`quicklink-${_.key}-${g}`);const S=w.jsx("a",{href:_.url,target:f,rel:p,draggable:!1,children:w.jsx("img",{src:b,alt:_.name,draggable:!1})},`quicklink-${_.key}-${g}`);return h==="true"?w.jsx(ht,{title:_.name,placement:"bottom",children:S},`quicklink-${_.key}-${g}`):S};return w.jsx("div",{className:"quicklinkscontainer",ref:d,children:o&&o.map((_,g)=>y(_,g))})});uy.displayName="QuickLinks";const r2=()=>{const[o,n]=k.useState(""),[u,l]=k.useState(null),[d,c]=k.useState("block"),[f,p]=k.useState("1em"),h=k.useRef(),y=g=>{const b=new Date(g.valueOf()),S=(b.getDay()+6)%7;b.setDate(b.getDate()-S+3);const C=b.valueOf();b.setMonth(0,1),b.getDay()!==4&&b.setMonth(0,1+(4-b.getDay()+7)%7),l(`${pe.getMessage("widgets.date.week")} ${1+Math.ceil((C-b)/6048e5)}`)},_=()=>{let g=new Date;const b=localStorage.getItem("timezone");if(b&&b!=="auto"&&(g=qm(g,b)),localStorage.getItem("weeknumber")==="true"?y(g):l(null),localStorage.getItem("dateType")==="short"){const S=g.getDate(),C=g.getMonth()+1,x=g.getFullYear(),A=localStorage.getItem("datezero")==="true";let j=A?("00"+S).slice(-2):S,z=A?("00"+C).slice(-2):C,L=x;switch(localStorage.getItem("dateFormat")){case"MDY":{const[Z,H]=[j,z];j=H,z=Z;break}case"YMD":{const Z=j;j=L,L=Z;break}}let G;switch(localStorage.getItem("shortFormat")){case"dots":G=`${j}.${z}.${L}`;break;case"dash":G=`${j}-${z}-${L}`;break;case"gaps":G=`${j} - ${z} - ${L}`;break;case"slashes":G=`${j}/${z}/${L}`;break}n(G)}else{const S=pe.languagecode.split("_")[0],C=localStorage.getItem("datenth")==="true"?Vb(g.getDate()):g.getDate(),x=localStorage.getItem("dayofweek")==="true"?g.toLocaleDateString(S,{weekday:"long"}):"",A=g.toLocaleDateString(S,{month:"long"}),j=g.getFullYear();let z;switch(localStorage.getItem("longFormat")){case"MDY":z=`${A} ${C}, ${j}${x?`, ${x}`:""}`;break;case"YMD":z=`${j} ${A} ${C}${x?`, ${x}`:""}`;break;default:z=`${C} ${A} ${j}${x?`, ${x}`:""}`;break}n(z)}};return k.useEffect(()=>{const g=S=>{if(S==="date"||S==="timezone"){if(localStorage.getItem("date")==="false"){c("none");return}c("block"),p(`${Number((localStorage.getItem("zoomDate")||100)/100)}em`),_()}};p(`${Number((localStorage.getItem("zoomDate")||100)/100)}em`),_();const b=setInterval(_,6e4);return ve.on("refresh",g),()=>{clearInterval(b),ve.off("refresh",g)}},[]),w.jsxs("span",{className:"date",ref:h,style:{display:d,fontSize:f},children:[o,w.jsx("br",{}),u]})},av=()=>{try{const o=JSON.parse(localStorage.getItem("messages"));return Array.isArray(o)?o.filter(n=>typeof n=="string"&&n!==""):[]}catch{return[]}},l2=()=>{const[o,n]=k.useState(""),[u,l]=k.useState("none"),[d,c]=k.useState("1em"),f=k.useRef();return k.useEffect(()=>{const p=y=>{if(y==="message"){const _=av();n(S=>_.includes(S)?S:_.length>0?_[Math.floor(Math.random()*_.length)]:"");const g=localStorage.getItem("message"),b=localStorage.getItem("zoomMessage");l(g==="false"||_.length===0?"none":"block"),c(`${1*Number((b||100)/100)}em`)}},h=av();return h.length>0&&(n(h[Math.floor(Math.random()*h.length)]),l("block")),ve.on("refresh",p),()=>{ve.off("refresh",p)}},[]),w.jsx("h2",{className:"message",ref:f,style:{display:u,fontSize:d},children:o.split(/\r?\n/).map(p=>w.jsxs("span",{children:[p,w.jsx("br",{})]},p))})};function Nn(){const o=document.querySelector(".reminder-info");o&&(o.style.display="flex"),localStorage.setItem("showReminder",!0)}const u2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)||o.default),l=k.useRef(null),d=k.useCallback(p=>{let h=p.target.value;if(h=Number(h),h>o.max&&(h=o.max),h<o.min&&(h=o.min),localStorage.setItem(o.name,h),u(h),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)},[o]),c=k.useCallback(()=>{l.current&&cancelAnimationFrame(l.current);const p=Number(n),h=Number(o.default||0),y=300,_=performance.now(),g=b=>{const S=b-_,C=Math.min(S/y,1),x=1-Math.pow(1-C,3),A=p+(h-p)*x,j=Math.round(A/(Number(o.step)||1))*(Number(o.step)||1);localStorage.setItem(o.name,j),u(j),C<1?l.current=requestAnimationFrame(g):(localStorage.setItem(o.name,h),u(h),ve.emit("refresh",o.category))};l.current=requestAnimationFrame(g),De(pe.getMessage("toasts.reset"))},[n,o]),f=(Number(n)-Number(o.min))/(Number(o.max)-Number(o.min))*100;return w.jsxs("div",{className:"slider-container",children:[w.jsxs("div",{className:"slider-header",children:[w.jsx("span",{className:"slider-value",children:Number(n)}),w.jsxs("span",{className:"slider-reset",onClick:c,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsxs("div",{className:"slider-wrapper",children:[w.jsx("input",{type:"range",className:"slider-input",value:Number(n),onChange:d,min:Number(o.min),max:Number(o.max),step:Number(o.step)||1,style:{"--slider-percentage":`${f}%`},"aria-label":o.title,"aria-valuemin":Number(o.min),"aria-valuemax":Number(o.max),"aria-valuenow":Number(n),disabled:o.disabled||!1}),o.marks&&o.marks.length>0&&w.jsx("div",{className:"slider-marks",children:o.marks.map(p=>w.jsx("span",{className:"slider-mark",style:{left:`${(p.value-Number(o.min))/(Number(o.max)-Number(o.min))*100}%`},children:p.label},p.value))})]})]})});u2.displayName="SliderComponent";const d2=({children:o})=>w.jsx("div",{id:"widgets",children:o}),ov=()=>{try{const o=JSON.parse(localStorage.getItem("order"));return Array.isArray(o)?o:[]}catch{return[]}},Mi=o=>localStorage.getItem(o)==="true",c2=()=>{const[o,n]=k.useState(ov),u=k.useMemo(()=>({time:Mi("time")&&w.jsx(BC,{}),greeting:Mi("greeting")&&w.jsx(IC,{}),date:Mi("date")&&w.jsx(r2,{}),quicklinks:Mi("quicklinksenabled")?w.jsx(uy,{}):null,message:Mi("message")&&w.jsx(l2,{})}),[o]);return k.useEffect(()=>{const l=d=>{d==="widgets"&&n(ov())};return ve.on("refresh",l),()=>{ve.off("refresh",l)}},[]),w.jsxs(d2,{children:[o.map((l,d)=>w.jsx(k.Fragment,{children:u[l]},d)),Mi("taskBox")&&w.jsx($C,{}),Mi("recentChats")&&w.jsx(tx,{})]})};var xl={exports:{}},Vo={},nm={exports:{}},sm,iv;function m2(){if(iv)return sm;iv=1;var o="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return sm=o,sm}var rm,nv;function p2(){if(nv)return rm;nv=1;var o=m2();function n(){}function u(){}return u.resetWarningCache=n,rm=function(){function l(f,p,h,y,_,g){if(g!==o){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}}l.isRequired=l;function d(){return l}var c={array:l,bigint:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:d,element:l,elementType:l,instanceOf:d,node:l,objectOf:d,oneOf:d,oneOfType:d,shape:d,exact:d,checkPropTypes:u,resetWarningCache:n};return c.PropTypes=c,c},rm}var sv;function dy(){return sv||(sv=1,nm.exports=p2()()),nm.exports}var zl={exports:{}},ba={},Tl={exports:{}},rv;function cy(){return rv||(rv=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=_;var u="none",l="contents",d=/^(input|select|textarea|button|object|iframe)$/;function c(g,b){return b.getPropertyValue("overflow")!=="visible"||g.scrollWidth<=0&&g.scrollHeight<=0}function f(g){var b=g.offsetWidth<=0&&g.offsetHeight<=0;if(b&&!g.innerHTML)return!0;try{var S=window.getComputedStyle(g),C=S.getPropertyValue("display");return b?C!==l&&c(g,S):C===u}catch{return console.warn("Failed to inspect element style"),!1}}function p(g){for(var b=g,S=g.getRootNode&&g.getRootNode();b&&b!==document.body;){if(S&&b===S&&(b=S.host.parentNode),f(b))return!1;b=b.parentNode}return!0}function h(g,b){var S=g.nodeName.toLowerCase(),C=d.test(S)&&!g.disabled||S==="a"&&g.href||b;return C&&p(g)}function y(g){var b=g.getAttribute("tabindex");b===null&&(b=void 0);var S=isNaN(b);return(S||b>=0)&&h(g,!S)}function _(g){var b=[].slice.call(g.querySelectorAll("*"),0).reduce(function(S,C){return S.concat(C.shadowRoot?_(C.shadowRoot):[C])},[]);return b.filter(y)}o.exports=n.default})(Tl,Tl.exports)),Tl.exports}var lv;function f2(){if(lv)return ba;lv=1,Object.defineProperty(ba,"__esModule",{value:!0}),ba.resetState=f,ba.log=p,ba.handleBlur=h,ba.handleFocus=y,ba.markForFocusLater=_,ba.returnFocus=g,ba.popWithoutFocus=b,ba.setupScopedFocus=S,ba.teardownScopedFocus=C;var o=cy(),n=u(o);function u(x){return x&&x.__esModule?x:{default:x}}var l=[],d=null,c=!1;function f(){l=[]}function p(){}function h(){c=!0}function y(){if(c){if(c=!1,!d)return;setTimeout(function(){if(!d.contains(document.activeElement)){var x=(0,n.default)(d)[0]||d;x.focus()}},0)}}function _(){l.push(document.activeElement)}function g(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,A=null;try{l.length!==0&&(A=l.pop(),A.focus({preventScroll:x}));return}catch{console.warn(["You tried to return focus to",A,"but it is not in the DOM anymore"].join(" "))}}function b(){l.length>0&&l.pop()}function S(x){d=x,window.addEventListener?(window.addEventListener("blur",h,!1),document.addEventListener("focus",y,!0)):(window.attachEvent("onBlur",h),document.attachEvent("onFocus",y))}function C(){d=null,window.addEventListener?(window.removeEventListener("blur",h),document.removeEventListener("focus",y)):(window.detachEvent("onBlur",h),document.detachEvent("onFocus",y))}return ba}var Nl={exports:{}},uv;function g2(){return uv||(uv=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var u=cy(),l=d(u);function d(p){return p&&p.__esModule?p:{default:p}}function c(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return p.activeElement.shadowRoot?c(p.activeElement.shadowRoot):p.activeElement}function f(p,h){var y=(0,l.default)(p);if(!y.length){h.preventDefault();return}var _=void 0,g=h.shiftKey,b=y[0],S=y[y.length-1],C=c();if(p===C){if(!g)return;_=S}if(S===C&&!g&&(_=b),b===C&&g&&(_=S),_){h.preventDefault(),_.focus();return}var x=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),A=x!=null&&x[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(A){var j=y.indexOf(C);if(j>-1&&(j+=g?-1:1),_=y[j],typeof _>"u"){h.preventDefault(),_=g?S:b,_.focus();return}h.preventDefault(),_.focus()}}o.exports=n.default})(Nl,Nl.exports)),Nl.exports}var Ea={},lm,dv;function h2(){if(dv)return lm;dv=1;var o=function(){};return lm=o,lm}var Ya={},um={exports:{}};var cv;function _2(){return cv||(cv=1,(function(o){(function(){var n=!!(typeof window<"u"&&window.document&&window.document.createElement),u={canUseDOM:n,canUseWorkers:typeof Worker<"u",canUseEventListeners:n&&!!(window.addEventListener||window.attachEvent),canUseViewport:n&&!!window.screen};o.exports?o.exports=u:window.ExecutionEnvironment=u})()})(um)),um.exports}var mv;function Lm(){if(mv)return Ya;mv=1,Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.canUseDOM=Ya.SafeNodeList=Ya.SafeHTMLCollection=void 0;var o=_2(),n=u(o);function u(c){return c&&c.__esModule?c:{default:c}}var l=n.default,d=l.canUseDOM?window.HTMLElement:{};return Ya.SafeHTMLCollection=l.canUseDOM?window.HTMLCollection:{},Ya.SafeNodeList=l.canUseDOM?window.NodeList:{},Ya.canUseDOM=l.canUseDOM,Ya.default=d,Ya}var pv;function my(){if(pv)return Ea;pv=1,Object.defineProperty(Ea,"__esModule",{value:!0}),Ea.resetState=c,Ea.log=f,Ea.assertNodeList=p,Ea.setElement=h,Ea.validateElement=y,Ea.hide=_,Ea.show=g,Ea.documentNotReadyOrSSRTesting=b;var o=h2(),n=l(o),u=Lm();function l(S){return S&&S.__esModule?S:{default:S}}var d=null;function c(){d&&(d.removeAttribute?d.removeAttribute("aria-hidden"):d.length!=null?d.forEach(function(S){return S.removeAttribute("aria-hidden")}):document.querySelectorAll(d).forEach(function(S){return S.removeAttribute("aria-hidden")})),d=null}function f(){}function p(S,C){if(!S||!S.length)throw new Error("react-modal: No elements were found for selector "+C+".")}function h(S){var C=S;if(typeof C=="string"&&u.canUseDOM){var x=document.querySelectorAll(C);p(x,C),C=x}return d=C||d,d}function y(S){var C=S||d;return C?Array.isArray(C)||C instanceof HTMLCollection||C instanceof NodeList?C:[C]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function _(S){var C=!0,x=!1,A=void 0;try{for(var j=y(S)[Symbol.iterator](),z;!(C=(z=j.next()).done);C=!0){var L=z.value;L.setAttribute("aria-hidden","true")}}catch(G){x=!0,A=G}finally{try{!C&&j.return&&j.return()}finally{if(x)throw A}}}function g(S){var C=!0,x=!1,A=void 0;try{for(var j=y(S)[Symbol.iterator](),z;!(C=(z=j.next()).done);C=!0){var L=z.value;L.removeAttribute("aria-hidden")}}catch(G){x=!0,A=G}finally{try{!C&&j.return&&j.return()}finally{if(x)throw A}}}function b(){d=null}return Ea}var Ai={},fv;function v2(){if(fv)return Ai;fv=1,Object.defineProperty(Ai,"__esModule",{value:!0}),Ai.resetState=l,Ai.log=d;var o={},n={};function u(y,_){y.classList.remove(_)}function l(){var y=document.getElementsByTagName("html")[0];for(var _ in o)u(y,o[_]);var g=document.body;for(var b in n)u(g,n[b]);o={},n={}}function d(){}var c=function(_,g){return _[g]||(_[g]=0),_[g]+=1,g},f=function(_,g){return _[g]&&(_[g]-=1),g},p=function(_,g,b){b.forEach(function(S){c(g,S),_.add(S)})},h=function(_,g,b){b.forEach(function(S){f(g,S),g[S]===0&&_.remove(S)})};return Ai.add=function(_,g){return p(_.classList,_.nodeName.toLowerCase()=="html"?o:n,g.split(" "))},Ai.remove=function(_,g){return h(_.classList,_.nodeName.toLowerCase()=="html"?o:n,g.split(" "))},Ai}var Sn={},gv;function py(){if(gv)return Sn;gv=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.log=l,Sn.resetState=d;function o(c,f){if(!(c instanceof f))throw new TypeError("Cannot call a class as a function")}var n=function c(){var f=this;o(this,c),this.register=function(p){f.openInstances.indexOf(p)===-1&&(f.openInstances.push(p),f.emit("register"))},this.deregister=function(p){var h=f.openInstances.indexOf(p);h!==-1&&(f.openInstances.splice(h,1),f.emit("deregister"))},this.subscribe=function(p){f.subscribers.push(p)},this.emit=function(p){f.subscribers.forEach(function(h){return h(p,f.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},u=new n;function l(){console.log("portalOpenInstances ----------"),console.log(u.openInstances.length),u.openInstances.forEach(function(c){return console.log(c)}),console.log("end portalOpenInstances ----------")}function d(){u=new n}return Sn.default=u,Sn}var Ns={},hv;function b2(){if(hv)return Ns;hv=1,Object.defineProperty(Ns,"__esModule",{value:!0}),Ns.resetState=f,Ns.log=p;var o=py(),n=u(o);function u(_){return _&&_.__esModule?_:{default:_}}var l=void 0,d=void 0,c=[];function f(){for(var _=[l,d],g=0;g<_.length;g++){var b=_[g];b&&b.parentNode&&b.parentNode.removeChild(b)}l=d=null,c=[]}function p(){console.log("bodyTrap ----------"),console.log(c.length);for(var _=[l,d],g=0;g<_.length;g++){var b=_[g],S=b||{};console.log(S.nodeName,S.className,S.id)}console.log("edn bodyTrap ----------")}function h(){c.length!==0&&c[c.length-1].focusContent()}function y(_,g){!l&&!d&&(l=document.createElement("div"),l.setAttribute("data-react-modal-body-trap",""),l.style.position="absolute",l.style.opacity="0",l.setAttribute("tabindex","0"),l.addEventListener("focus",h),d=l.cloneNode(),d.addEventListener("focus",h)),c=g,c.length>0?(document.body.firstChild!==l&&document.body.insertBefore(l,document.body.firstChild),document.body.lastChild!==d&&document.body.appendChild(d)):(l.parentElement&&l.parentElement.removeChild(l),d.parentElement&&d.parentElement.removeChild(d))}return n.default.subscribe(y),Ns}var _v;function y2(){return _v||(_v=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0});var u=Object.assign||function(X){for(var Y=1;Y<arguments.length;Y++){var I=arguments[Y];for(var T in I)Object.prototype.hasOwnProperty.call(I,T)&&(X[T]=I[T])}return X},l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},d=(function(){function X(Y,I){for(var T=0;T<I.length;T++){var K=I[T];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(Y,K.key,K)}}return function(Y,I,T){return I&&X(Y.prototype,I),T&&X(Y,T),Y}})(),c=Ws(),f=dy(),p=Z(f),h=f2(),y=G(h),_=g2(),g=Z(_),b=my(),S=G(b),C=v2(),x=G(C),A=Lm(),j=Z(A),z=py(),L=Z(z);b2();function G(X){if(X&&X.__esModule)return X;var Y={};if(X!=null)for(var I in X)Object.prototype.hasOwnProperty.call(X,I)&&(Y[I]=X[I]);return Y.default=X,Y}function Z(X){return X&&X.__esModule?X:{default:X}}function H(X,Y){if(!(X instanceof Y))throw new TypeError("Cannot call a class as a function")}function D(X,Y){if(!X)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y&&(typeof Y=="object"||typeof Y=="function")?Y:X}function q(X,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);X.prototype=Object.create(Y&&Y.prototype,{constructor:{value:X,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(X,Y):X.__proto__=Y)}var V={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},$=function(Y){return Y.code==="Tab"||Y.keyCode===9},W=function(Y){return Y.code==="Escape"||Y.keyCode===27},ee=0,ae=(function(X){q(Y,X);function Y(I){H(this,Y);var T=D(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this,I));return T.setOverlayRef=function(K){T.overlay=K,T.props.overlayRef&&T.props.overlayRef(K)},T.setContentRef=function(K){T.content=K,T.props.contentRef&&T.props.contentRef(K)},T.afterClose=function(){var K=T.props,ie=K.appElement,ne=K.ariaHideApp,ye=K.htmlOpenClassName,Ce=K.bodyOpenClassName,Ve=K.parentSelector,E=Ve&&Ve().ownerDocument||document;Ce&&x.remove(E.body,Ce),ye&&x.remove(E.getElementsByTagName("html")[0],ye),ne&&ee>0&&(ee-=1,ee===0&&S.show(ie)),T.props.shouldFocusAfterRender&&(T.props.shouldReturnFocusAfterClose?(y.returnFocus(T.props.preventScroll),y.teardownScopedFocus()):y.popWithoutFocus()),T.props.onAfterClose&&T.props.onAfterClose(),L.default.deregister(T)},T.open=function(){T.beforeOpen(),T.state.afterOpen&&T.state.beforeClose?(clearTimeout(T.closeTimer),T.setState({beforeClose:!1})):(T.props.shouldFocusAfterRender&&(y.setupScopedFocus(T.node),y.markForFocusLater()),T.setState({isOpen:!0},function(){T.openAnimationFrame=requestAnimationFrame(function(){T.setState({afterOpen:!0}),T.props.isOpen&&T.props.onAfterOpen&&T.props.onAfterOpen({overlayEl:T.overlay,contentEl:T.content})})}))},T.close=function(){T.props.closeTimeoutMS>0?T.closeWithTimeout():T.closeWithoutTimeout()},T.focusContent=function(){return T.content&&!T.contentHasFocus()&&T.content.focus({preventScroll:!0})},T.closeWithTimeout=function(){var K=Date.now()+T.props.closeTimeoutMS;T.setState({beforeClose:!0,closesAt:K},function(){T.closeTimer=setTimeout(T.closeWithoutTimeout,T.state.closesAt-Date.now())})},T.closeWithoutTimeout=function(){T.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},T.afterClose)},T.handleKeyDown=function(K){$(K)&&(0,g.default)(T.content,K),T.props.shouldCloseOnEsc&&W(K)&&(K.stopPropagation(),T.requestClose(K))},T.handleOverlayOnClick=function(K){T.shouldClose===null&&(T.shouldClose=!0),T.shouldClose&&T.props.shouldCloseOnOverlayClick&&(T.ownerHandlesClose()?T.requestClose(K):T.focusContent()),T.shouldClose=null},T.handleContentOnMouseUp=function(){T.shouldClose=!1},T.handleOverlayOnMouseDown=function(K){!T.props.shouldCloseOnOverlayClick&&K.target==T.overlay&&K.preventDefault()},T.handleContentOnClick=function(){T.shouldClose=!1},T.handleContentOnMouseDown=function(){T.shouldClose=!1},T.requestClose=function(K){return T.ownerHandlesClose()&&T.props.onRequestClose(K)},T.ownerHandlesClose=function(){return T.props.onRequestClose},T.shouldBeClosed=function(){return!T.state.isOpen&&!T.state.beforeClose},T.contentHasFocus=function(){return document.activeElement===T.content||T.content.contains(document.activeElement)},T.buildClassName=function(K,ie){var ne=(typeof ie>"u"?"undefined":l(ie))==="object"?ie:{base:V[K],afterOpen:V[K]+"--after-open",beforeClose:V[K]+"--before-close"},ye=ne.base;return T.state.afterOpen&&(ye=ye+" "+ne.afterOpen),T.state.beforeClose&&(ye=ye+" "+ne.beforeClose),typeof ie=="string"&&ie?ye+" "+ie:ye},T.attributesFromObject=function(K,ie){return Object.keys(ie).reduce(function(ne,ye){return ne[K+"-"+ye]=ie[ye],ne},{})},T.state={afterOpen:!1,beforeClose:!1},T.shouldClose=null,T.moveFromContentToOverlay=null,T}return d(Y,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(T,K){this.props.isOpen&&!T.isOpen?this.open():!this.props.isOpen&&T.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!K.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var T=this.props,K=T.appElement,ie=T.ariaHideApp,ne=T.htmlOpenClassName,ye=T.bodyOpenClassName,Ce=T.parentSelector,Ve=Ce&&Ce().ownerDocument||document;ye&&x.add(Ve.body,ye),ne&&x.add(Ve.getElementsByTagName("html")[0],ne),ie&&(ee+=1,S.hide(K)),L.default.register(this)}},{key:"render",value:function(){var T=this.props,K=T.id,ie=T.className,ne=T.overlayClassName,ye=T.defaultStyles,Ce=T.children,Ve=ie?{}:ye.content,E=ne?{}:ye.overlay;if(this.shouldBeClosed())return null;var te={ref:this.setOverlayRef,className:this.buildClassName("overlay",ne),style:u({},E,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},se=u({id:K,ref:this.setContentRef,style:u({},Ve,this.props.style.content),className:this.buildClassName("content",ie),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",u({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),ce=this.props.contentElement(se,Ce);return this.props.overlayElement(te,ce)}}]),Y})(c.Component);ae.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},ae.propTypes={isOpen:p.default.bool.isRequired,defaultStyles:p.default.shape({content:p.default.object,overlay:p.default.object}),style:p.default.shape({content:p.default.object,overlay:p.default.object}),className:p.default.oneOfType([p.default.string,p.default.object]),overlayClassName:p.default.oneOfType([p.default.string,p.default.object]),parentSelector:p.default.func,bodyOpenClassName:p.default.string,htmlOpenClassName:p.default.string,ariaHideApp:p.default.bool,appElement:p.default.oneOfType([p.default.instanceOf(j.default),p.default.instanceOf(A.SafeHTMLCollection),p.default.instanceOf(A.SafeNodeList),p.default.arrayOf(p.default.instanceOf(j.default))]),onAfterOpen:p.default.func,onAfterClose:p.default.func,onRequestClose:p.default.func,closeTimeoutMS:p.default.number,shouldFocusAfterRender:p.default.bool,shouldCloseOnOverlayClick:p.default.bool,shouldReturnFocusAfterClose:p.default.bool,preventScroll:p.default.bool,role:p.default.string,contentLabel:p.default.string,aria:p.default.object,data:p.default.object,children:p.default.node,shouldCloseOnEsc:p.default.bool,overlayRef:p.default.func,contentRef:p.default.func,id:p.default.string,overlayElement:p.default.func,contentElement:p.default.func,testId:p.default.string},n.default=ae,o.exports=n.default})(zl,zl.exports)),zl.exports}function fy(){var o=this.constructor.getDerivedStateFromProps(this.props,this.state);o!=null&&this.setState(o)}function gy(o){function n(u){var l=this.constructor.getDerivedStateFromProps(o,u);return l??null}this.setState(n.bind(this))}function hy(o,n){try{var u=this.props,l=this.state;this.props=o,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(u,l)}finally{this.props=u,this.state=l}}fy.__suppressDeprecationWarning=!0;gy.__suppressDeprecationWarning=!0;hy.__suppressDeprecationWarning=!0;function k2(o){var n=o.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if(typeof o.getDerivedStateFromProps!="function"&&typeof n.getSnapshotBeforeUpdate!="function")return o;var u=null,l=null,d=null;if(typeof n.componentWillMount=="function"?u="componentWillMount":typeof n.UNSAFE_componentWillMount=="function"&&(u="UNSAFE_componentWillMount"),typeof n.componentWillReceiveProps=="function"?l="componentWillReceiveProps":typeof n.UNSAFE_componentWillReceiveProps=="function"&&(l="UNSAFE_componentWillReceiveProps"),typeof n.componentWillUpdate=="function"?d="componentWillUpdate":typeof n.UNSAFE_componentWillUpdate=="function"&&(d="UNSAFE_componentWillUpdate"),u!==null||l!==null||d!==null){var c=o.displayName||o.name,f=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.+ `),localStorage.getItem("applinks")===null&&localStorage.setItem("applinks",JSON.stringify([])),localStorage.getItem("appsEnabled")===null&&localStorage.setItem("showWelcome",!1)}function Jx(){const o=Object.keys(localStorage);if(o.length===0)return wm();const n={};o.forEach(u=>{n[u]=localStorage.getItem(u)}),localStorage.clear(),wm(),Object.keys(n).forEach(u=>{localStorage.setItem(u,n[u])})}function $x({modalClose:o}){const n=async()=>{pe.stats.postEvent("setting","Reset");try{await nC()}catch{}wm("reset"),window.location.reload()};return w.jsxs("div",{className:"smallModal",children:[w.jsxs("div",{className:"shareHeader",children:[w.jsx("span",{className:"title",children:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.title")}),w.jsx(ht,{title:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.cancel"),children:w.jsx("div",{className:"close",onClick:o,children:w.jsx(Is,{})})})]}),w.jsx("span",{className:"title",children:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.question")}),w.jsx("span",{className:"subtitle",children:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.information")}),w.jsxs("div",{className:"resetFooter",children:[w.jsx(Fs,{type:"secondary",onClick:o,icon:w.jsx(Is,{}),label:pe.getMessage("modals.main.settings.sections.advanced.reset_modal.cancel")}),w.jsx(Fs,{type:"settings",onClick:()=>n(),icon:w.jsx(DA,{}),label:pe.getMessage("modals.main.settings.buttons.reset")})]})]})}const wN=k.memo($x),$_={[Yo.SETTINGS]:{itemCount:16,dividerPositions:[10,12],textWidths:[80,100,70,90,85,75,80,95,90,75,85,90,85,80,70,95]},[Yo.DISCOVER]:{itemCount:5,dividerPositions:[0],textWidths:[60,95,95,110,90]},[Yo.LIBRARY]:{itemCount:0,dividerPositions:[],textWidths:[]}},e2=({currentTab:o=Yo.SETTINGS})=>{const n=$_[o]||$_[Yo.SETTINGS];return n.itemCount===0?null:w.jsx("div",{className:"sidebarSkeleton",children:Array.from({length:n.itemCount}).map((u,l)=>{const d=n.dividerPositions.includes(l),c=n.textWidths[l]||80;return w.jsxs("div",{children:[w.jsxs("div",{className:"skeletonItem",children:[w.jsx("div",{className:"iconPlaceholder pulse"}),w.jsx("div",{className:"textPlaceholder pulse",style:{width:`${c}px`}})]}),d&&w.jsx("hr",{className:"skeletonDivider"})]},l)})})},t2=({currentTab:o})=>w.jsxs("div",{style:{display:"flex",width:"100%",minHeight:"100%"},children:[w.jsx("div",{className:"modalSidebar",children:w.jsx(e2,{currentTab:o})}),w.jsx("div",{className:"modalTabContent",children:w.jsx("div",{className:"emptyItems",children:w.jsx("div",{className:"emptyMessage",children:w.jsxs("div",{className:"loaderHolder",children:[w.jsx("div",{id:"loader"}),w.jsx("span",{className:"subtitle",children:pe.getMessage("modals.main.loading")})]})})})})]}),a2=""+new URL("webbrain-rEIJfo36.png",import.meta.url).href;function o2({currentTab:o,currentSection:n,currentSectionName:u,currentSubSection:l,onSubSectionChange:d,onClose:c,onBack:f,onForward:p,canGoBack:h,canGoForward:y}){const _=Qo(),g=$A.find(({tab:x})=>x===o),b=g?_(g.messageKey):"",S=(x,A)=>{if(!x||!A)return x;const j=`modals.main.settings.sections.${A}.${x}.title`,z=_(j);return!z||z===j?x.charAt(0).toUpperCase()+x.slice(1):z},C=[];return b&&(C.push({label:b,onClick:null}),n&&(C.push({label:n,onClick:l?()=>d(null):null}),l&&C.push({label:S(l,u),onClick:null}))),w.jsxs("div",{className:"modalTopBar",children:[w.jsxs("div",{className:"topBarLeft",children:[w.jsxs("div",{className:"navigationButtons",children:[w.jsx(ht,{title:"Back",children:w.jsx("button",{className:"navButton",onClick:f,disabled:!h,"aria-label":"Navigate back",children:w.jsx(wA,{})})},"backTooltip"),w.jsx(ht,{title:"Forward",children:w.jsx("button",{className:"navButton",onClick:p,disabled:!y,"aria-label":"Navigate forward",children:w.jsx(jb,{})})},"forwardTooltip")]}),w.jsx("img",{src:a2,alt:"WebBrain",className:"topBarLogo",draggable:!1}),C.length>0&&w.jsx("nav",{className:"breadcrumbs","aria-label":"Breadcrumb navigation",children:C.map((x,A)=>{const j=A===C.length-1,z=x.onClick!==null;return w.jsxs("span",{className:"breadcrumb-segment",children:[z?w.jsx("span",{className:"breadcrumb-item breadcrumb-clickable",onClick:x.onClick,onKeyDown:L=>{(L.key==="Enter"||L.key===" ")&&(L.preventDefault(),x.onClick())},role:"button",tabIndex:0,"aria-label":`Navigate to ${x.label}`,children:x.label}):w.jsx("span",{className:`breadcrumb-item ${j?"breadcrumb-current":""}`,"aria-current":j?"page":void 0,children:x.label}),!j&&w.jsx(kA,{className:"breadcrumb-separator","aria-hidden":"true"})]},A)})})]}),w.jsx("div",{className:"topBarRight",children:w.jsx(ht,{title:_("modals.welcome.buttons.close"),children:w.jsx("span",{className:"closeModal",onClick:c,children:w.jsx(Is,{})})},"closeTooltip")})]})}const i2=k.lazy(()=>Om(()=>import("./Settings-BHcHjb2v.js"),__vite__mapDeps([1,2]),import.meta.url));function n2({modalClose:o,deepLinkData:n}){const u=Yo.SETTINGS,[l,d]=k.useState(""),[c,f]=k.useState(""),[p,h]=k.useState(n?.subSection||null),[y,_]=k.useState(null);k.useEffect(()=>{n?.section&&(_({type:"settings-section",data:n.section,timestamp:Date.now()}),n.subSection&&h(n.subSection))},[n]),k.useEffect(()=>()=>{window.location.hash&&window.history.replaceState(null,null,window.location.pathname)},[]),k.useEffect(()=>{const S=()=>{const C=window.location.hash?Pl(window.location.hash):null;C?.section&&(_({type:"settings-section",data:C.section,timestamp:Date.now()}),h(C.subSection||null))};return window.addEventListener("popstate",S),()=>window.removeEventListener("popstate",S)},[]);const g=(S,C)=>{d(S),f(C),h(null),C&&Hl(`#${u}/${C}`,!1)},b=(S,C)=>{h(S),C&&Hl(S?`#${u}/${C}/${S}`:`#${u}/${C}`)};return w.jsxs("div",{className:"frame",children:[w.jsx(o2,{currentTab:u,currentSection:l,currentSectionName:c,currentSubSection:p,onSubSectionChange:b,onClose:o,onBack:()=>window.history.back(),onForward:()=>window.history.forward(),canGoBack:!0,canGoForward:!0}),w.jsx("div",{style:{flex:1,display:"flex",overflow:"hidden",minHeight:0},children:w.jsx(k.Suspense,{fallback:w.jsx(t2,{currentTab:u}),children:w.jsx(i2,{currentTab:u,changeTab:()=>{},deepLinkData:n,onSectionChange:g,onSubSectionChange:b,currentSubSection:p,navigationTrigger:y},u)})})]})}const s2=k.memo(n2),ev=["#3b6ea8","#2f8f83","#a85a3b","#7a4fa3","#a38a2f","#b0425b","#4a7f3a","#456b8f"];function ly(o,n=""){let u;try{u=new URL(o).hostname.replace(/^www\./,"")}catch{u=String(o||"")}const l=(n||u||"?").trim(),d=(Array.from(l)[0]||"?").toUpperCase().replace(/[&<>"']/g,"?");let c=0;for(const h of u)c=c*31+h.charCodeAt(0)>>>0;const p=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="${ev[c%ev.length]}"/><text x="32" y="43" font-family="sans-serif" font-size="32" font-weight="600" text-anchor="middle" fill="#fff">${d}</text></svg>`;return`data:image/svg+xml;charset=utf-8,${encodeURIComponent(p)}`}const tv=()=>{try{const o=localStorage.getItem("quicklinks");if(!o)return[];const n=JSON.parse(o);return Array.isArray(n)?n:[]}catch(o){return console.warn("Failed to parse quicklinks from localStorage. Resetting to []",o),[]}},uy=k.memo(()=>{const[o,n]=k.useState(tv()),[u,l]=k.useState(0),d=k.useRef(null),c=k.useCallback(_=>{if(!_)return;const g=localStorage.getItem("zoomQuicklinks")||100;for(const b of _.getElementsByTagName("span"))b.style.fontSize=`${14*Number(g/100)}px`;if(localStorage.getItem("quickLinksStyle")!=="text")for(const b of _.getElementsByTagName("img"))b.style.height=`${30*Number(g/100)}px`},[]);k.useEffect(()=>{const _=g=>{if(g==="quicklinks"){if(localStorage.getItem("quicklinksenabled")==="false"){d.current&&(d.current.style.display="none");return}d.current&&(d.current.style.display="flex"),n(tv()),l(Date.now())}};return ve.on("refresh",_),c(d.current),()=>{ve.off("refresh",_)}},[c]),k.useEffect(()=>{c(d.current)},[o,u,c]);let f,p=null;localStorage.getItem("quicklinksnewtab")==="true"&&(f="_blank",p="noopener noreferrer");const h=localStorage.getItem("quicklinkstooltip"),y=(_,g)=>{if(localStorage.getItem("quickLinksStyle")==="text")return w.jsx("a",{className:"quicklinkstext",href:_.url,target:f,rel:p,draggable:!1,children:_.name},`quicklink-${_.key}-${g}`);const b=_.icon||ly(_.url,_.name);if(localStorage.getItem("quickLinksStyle")==="metro")return w.jsxs("a",{className:"quickLinksMetro",href:_.url,target:f,rel:p,draggable:!1,children:[w.jsx("img",{src:b,alt:_.name,draggable:!1}),w.jsx("span",{className:"subtitle",children:_.name})]},`quicklink-${_.key}-${g}`);const S=w.jsx("a",{href:_.url,target:f,rel:p,draggable:!1,children:w.jsx("img",{src:b,alt:_.name,draggable:!1})},`quicklink-${_.key}-${g}`);return h==="true"?w.jsx(ht,{title:_.name,placement:"bottom",children:S},`quicklink-${_.key}-${g}`):S};return w.jsx("div",{className:"quicklinkscontainer",ref:d,children:o&&o.map((_,g)=>y(_,g))})});uy.displayName="QuickLinks";const r2=()=>{const[o,n]=k.useState(""),[u,l]=k.useState(null),[d,c]=k.useState("block"),[f,p]=k.useState("1em"),h=k.useRef(),y=g=>{const b=new Date(g.valueOf()),S=(b.getDay()+6)%7;b.setDate(b.getDate()-S+3);const C=b.valueOf();b.setMonth(0,1),b.getDay()!==4&&b.setMonth(0,1+(4-b.getDay()+7)%7),l(`${pe.getMessage("widgets.date.week")} ${1+Math.ceil((C-b)/6048e5)}`)},_=()=>{let g=new Date;const b=localStorage.getItem("timezone");if(b&&b!=="auto"&&(g=qm(g,b)),localStorage.getItem("weeknumber")==="true"?y(g):l(null),localStorage.getItem("dateType")==="short"){const S=g.getDate(),C=g.getMonth()+1,x=g.getFullYear(),A=localStorage.getItem("datezero")==="true";let j=A?("00"+S).slice(-2):S,z=A?("00"+C).slice(-2):C,L=x;switch(localStorage.getItem("dateFormat")){case"MDY":{const[Z,H]=[j,z];j=H,z=Z;break}case"YMD":{const Z=j;j=L,L=Z;break}}let G;switch(localStorage.getItem("shortFormat")){case"dots":G=`${j}.${z}.${L}`;break;case"dash":G=`${j}-${z}-${L}`;break;case"gaps":G=`${j} - ${z} - ${L}`;break;case"slashes":G=`${j}/${z}/${L}`;break}n(G)}else{const S=pe.languagecode.split("_")[0],C=localStorage.getItem("datenth")==="true"?Vb(g.getDate()):g.getDate(),x=localStorage.getItem("dayofweek")==="true"?g.toLocaleDateString(S,{weekday:"long"}):"",A=g.toLocaleDateString(S,{month:"long"}),j=g.getFullYear();let z;switch(localStorage.getItem("longFormat")){case"MDY":z=`${A} ${C}, ${j}${x?`, ${x}`:""}`;break;case"YMD":z=`${j} ${A} ${C}${x?`, ${x}`:""}`;break;default:z=`${C} ${A} ${j}${x?`, ${x}`:""}`;break}n(z)}};return k.useEffect(()=>{const g=S=>{if(S==="date"||S==="timezone"){if(localStorage.getItem("date")==="false"){c("none");return}c("block"),p(`${Number((localStorage.getItem("zoomDate")||100)/100)}em`),_()}};p(`${Number((localStorage.getItem("zoomDate")||100)/100)}em`),_();const b=setInterval(_,6e4);return ve.on("refresh",g),()=>{clearInterval(b),ve.off("refresh",g)}},[]),w.jsxs("span",{className:"date",ref:h,style:{display:d,fontSize:f},children:[o,w.jsx("br",{}),u]})},av=()=>{try{const o=JSON.parse(localStorage.getItem("messages"));return Array.isArray(o)?o.filter(n=>typeof n=="string"&&n!==""):[]}catch{return[]}},l2=()=>{const[o,n]=k.useState(""),[u,l]=k.useState("none"),[d,c]=k.useState("1em"),f=k.useRef();return k.useEffect(()=>{const p=y=>{if(y==="message"){const _=av();n(S=>_.includes(S)?S:_.length>0?_[Math.floor(Math.random()*_.length)]:"");const g=localStorage.getItem("message"),b=localStorage.getItem("zoomMessage");l(g==="false"||_.length===0?"none":"block"),c(`${1*Number((b||100)/100)}em`)}},h=av();return h.length>0&&(n(h[Math.floor(Math.random()*h.length)]),l("block")),ve.on("refresh",p),()=>{ve.off("refresh",p)}},[]),w.jsx("h2",{className:"message",ref:f,style:{display:u,fontSize:d},children:o.split(/\r?\n/).map(p=>w.jsxs("span",{children:[p,w.jsx("br",{})]},p))})};function Nn(){const o=document.querySelector(".reminder-info");o&&(o.style.display="flex"),localStorage.setItem("showReminder",!0)}const u2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)||o.default),l=k.useRef(null),d=k.useCallback(p=>{let h=p.target.value;if(h=Number(h),h>o.max&&(h=o.max),h<o.min&&(h=o.min),localStorage.setItem(o.name,h),u(h),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)},[o]),c=k.useCallback(()=>{l.current&&cancelAnimationFrame(l.current);const p=Number(n),h=Number(o.default||0),y=300,_=performance.now(),g=b=>{const S=b-_,C=Math.min(S/y,1),x=1-Math.pow(1-C,3),A=p+(h-p)*x,j=Math.round(A/(Number(o.step)||1))*(Number(o.step)||1);localStorage.setItem(o.name,j),u(j),C<1?l.current=requestAnimationFrame(g):(localStorage.setItem(o.name,h),u(h),ve.emit("refresh",o.category))};l.current=requestAnimationFrame(g),De(pe.getMessage("toasts.reset"))},[n,o]),f=(Number(n)-Number(o.min))/(Number(o.max)-Number(o.min))*100;return w.jsxs("div",{className:"slider-container",children:[w.jsxs("div",{className:"slider-header",children:[w.jsx("span",{className:"slider-value",children:Number(n)}),w.jsxs("span",{className:"slider-reset",onClick:c,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsxs("div",{className:"slider-wrapper",children:[w.jsx("input",{type:"range",className:"slider-input",value:Number(n),onChange:d,min:Number(o.min),max:Number(o.max),step:Number(o.step)||1,style:{"--slider-percentage":`${f}%`},"aria-label":o.title,"aria-valuemin":Number(o.min),"aria-valuemax":Number(o.max),"aria-valuenow":Number(n),disabled:o.disabled||!1}),o.marks&&o.marks.length>0&&w.jsx("div",{className:"slider-marks",children:o.marks.map(p=>w.jsx("span",{className:"slider-mark",style:{left:`${(p.value-Number(o.min))/(Number(o.max)-Number(o.min))*100}%`},children:p.label},p.value))})]})]})});u2.displayName="SliderComponent";const d2=({children:o})=>w.jsx("div",{id:"widgets",children:o}),ov=()=>{try{const o=JSON.parse(localStorage.getItem("order"));return Array.isArray(o)?o:[]}catch{return[]}},Mi=o=>localStorage.getItem(o)==="true",c2=()=>{const[o,n]=k.useState(ov),u=k.useMemo(()=>({time:Mi("time")&&w.jsx(BC,{}),greeting:Mi("greeting")&&w.jsx(IC,{}),date:Mi("date")&&w.jsx(r2,{}),quicklinks:Mi("quicklinksenabled")?w.jsx(uy,{}):null,message:Mi("message")&&w.jsx(l2,{})}),[o]);return k.useEffect(()=>{const l=d=>{d==="widgets"&&n(ov())};return ve.on("refresh",l),()=>{ve.off("refresh",l)}},[]),w.jsxs(d2,{children:[o.map((l,d)=>w.jsx(k.Fragment,{children:u[l]},d)),Mi("taskBox")&&w.jsx($C,{}),Mi("recentChats")&&w.jsx(tx,{})]})};var xl={exports:{}},Vo={},nm={exports:{}},sm,iv;function m2(){if(iv)return sm;iv=1;var o="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return sm=o,sm}var rm,nv;function p2(){if(nv)return rm;nv=1;var o=m2();function n(){}function u(){}return u.resetWarningCache=n,rm=function(){function l(f,p,h,y,_,g){if(g!==o){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}}l.isRequired=l;function d(){return l}var c={array:l,bigint:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:d,element:l,elementType:l,instanceOf:d,node:l,objectOf:d,oneOf:d,oneOfType:d,shape:d,exact:d,checkPropTypes:u,resetWarningCache:n};return c.PropTypes=c,c},rm}var sv;function dy(){return sv||(sv=1,nm.exports=p2()()),nm.exports}var zl={exports:{}},ba={},Tl={exports:{}},rv;function cy(){return rv||(rv=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=_;var u="none",l="contents",d=/^(input|select|textarea|button|object|iframe)$/;function c(g,b){return b.getPropertyValue("overflow")!=="visible"||g.scrollWidth<=0&&g.scrollHeight<=0}function f(g){var b=g.offsetWidth<=0&&g.offsetHeight<=0;if(b&&!g.innerHTML)return!0;try{var S=window.getComputedStyle(g),C=S.getPropertyValue("display");return b?C!==l&&c(g,S):C===u}catch{return console.warn("Failed to inspect element style"),!1}}function p(g){for(var b=g,S=g.getRootNode&&g.getRootNode();b&&b!==document.body;){if(S&&b===S&&(b=S.host.parentNode),f(b))return!1;b=b.parentNode}return!0}function h(g,b){var S=g.nodeName.toLowerCase(),C=d.test(S)&&!g.disabled||S==="a"&&g.href||b;return C&&p(g)}function y(g){var b=g.getAttribute("tabindex");b===null&&(b=void 0);var S=isNaN(b);return(S||b>=0)&&h(g,!S)}function _(g){var b=[].slice.call(g.querySelectorAll("*"),0).reduce(function(S,C){return S.concat(C.shadowRoot?_(C.shadowRoot):[C])},[]);return b.filter(y)}o.exports=n.default})(Tl,Tl.exports)),Tl.exports}var lv;function f2(){if(lv)return ba;lv=1,Object.defineProperty(ba,"__esModule",{value:!0}),ba.resetState=f,ba.log=p,ba.handleBlur=h,ba.handleFocus=y,ba.markForFocusLater=_,ba.returnFocus=g,ba.popWithoutFocus=b,ba.setupScopedFocus=S,ba.teardownScopedFocus=C;var o=cy(),n=u(o);function u(x){return x&&x.__esModule?x:{default:x}}var l=[],d=null,c=!1;function f(){l=[]}function p(){}function h(){c=!0}function y(){if(c){if(c=!1,!d)return;setTimeout(function(){if(!d.contains(document.activeElement)){var x=(0,n.default)(d)[0]||d;x.focus()}},0)}}function _(){l.push(document.activeElement)}function g(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,A=null;try{l.length!==0&&(A=l.pop(),A.focus({preventScroll:x}));return}catch{console.warn(["You tried to return focus to",A,"but it is not in the DOM anymore"].join(" "))}}function b(){l.length>0&&l.pop()}function S(x){d=x,window.addEventListener?(window.addEventListener("blur",h,!1),document.addEventListener("focus",y,!0)):(window.attachEvent("onBlur",h),document.attachEvent("onFocus",y))}function C(){d=null,window.addEventListener?(window.removeEventListener("blur",h),document.removeEventListener("focus",y)):(window.detachEvent("onBlur",h),document.detachEvent("onFocus",y))}return ba}var Nl={exports:{}},uv;function g2(){return uv||(uv=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var u=cy(),l=d(u);function d(p){return p&&p.__esModule?p:{default:p}}function c(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return p.activeElement.shadowRoot?c(p.activeElement.shadowRoot):p.activeElement}function f(p,h){var y=(0,l.default)(p);if(!y.length){h.preventDefault();return}var _=void 0,g=h.shiftKey,b=y[0],S=y[y.length-1],C=c();if(p===C){if(!g)return;_=S}if(S===C&&!g&&(_=b),b===C&&g&&(_=S),_){h.preventDefault(),_.focus();return}var x=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),A=x!=null&&x[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(A){var j=y.indexOf(C);if(j>-1&&(j+=g?-1:1),_=y[j],typeof _>"u"){h.preventDefault(),_=g?S:b,_.focus();return}h.preventDefault(),_.focus()}}o.exports=n.default})(Nl,Nl.exports)),Nl.exports}var Ea={},lm,dv;function h2(){if(dv)return lm;dv=1;var o=function(){};return lm=o,lm}var Ya={},um={exports:{}};var cv;function _2(){return cv||(cv=1,(function(o){(function(){var n=!!(typeof window<"u"&&window.document&&window.document.createElement),u={canUseDOM:n,canUseWorkers:typeof Worker<"u",canUseEventListeners:n&&!!(window.addEventListener||window.attachEvent),canUseViewport:n&&!!window.screen};o.exports?o.exports=u:window.ExecutionEnvironment=u})()})(um)),um.exports}var mv;function Lm(){if(mv)return Ya;mv=1,Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.canUseDOM=Ya.SafeNodeList=Ya.SafeHTMLCollection=void 0;var o=_2(),n=u(o);function u(c){return c&&c.__esModule?c:{default:c}}var l=n.default,d=l.canUseDOM?window.HTMLElement:{};return Ya.SafeHTMLCollection=l.canUseDOM?window.HTMLCollection:{},Ya.SafeNodeList=l.canUseDOM?window.NodeList:{},Ya.canUseDOM=l.canUseDOM,Ya.default=d,Ya}var pv;function my(){if(pv)return Ea;pv=1,Object.defineProperty(Ea,"__esModule",{value:!0}),Ea.resetState=c,Ea.log=f,Ea.assertNodeList=p,Ea.setElement=h,Ea.validateElement=y,Ea.hide=_,Ea.show=g,Ea.documentNotReadyOrSSRTesting=b;var o=h2(),n=l(o),u=Lm();function l(S){return S&&S.__esModule?S:{default:S}}var d=null;function c(){d&&(d.removeAttribute?d.removeAttribute("aria-hidden"):d.length!=null?d.forEach(function(S){return S.removeAttribute("aria-hidden")}):document.querySelectorAll(d).forEach(function(S){return S.removeAttribute("aria-hidden")})),d=null}function f(){}function p(S,C){if(!S||!S.length)throw new Error("react-modal: No elements were found for selector "+C+".")}function h(S){var C=S;if(typeof C=="string"&&u.canUseDOM){var x=document.querySelectorAll(C);p(x,C),C=x}return d=C||d,d}function y(S){var C=S||d;return C?Array.isArray(C)||C instanceof HTMLCollection||C instanceof NodeList?C:[C]:((0,n.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function _(S){var C=!0,x=!1,A=void 0;try{for(var j=y(S)[Symbol.iterator](),z;!(C=(z=j.next()).done);C=!0){var L=z.value;L.setAttribute("aria-hidden","true")}}catch(G){x=!0,A=G}finally{try{!C&&j.return&&j.return()}finally{if(x)throw A}}}function g(S){var C=!0,x=!1,A=void 0;try{for(var j=y(S)[Symbol.iterator](),z;!(C=(z=j.next()).done);C=!0){var L=z.value;L.removeAttribute("aria-hidden")}}catch(G){x=!0,A=G}finally{try{!C&&j.return&&j.return()}finally{if(x)throw A}}}function b(){d=null}return Ea}var Ai={},fv;function v2(){if(fv)return Ai;fv=1,Object.defineProperty(Ai,"__esModule",{value:!0}),Ai.resetState=l,Ai.log=d;var o={},n={};function u(y,_){y.classList.remove(_)}function l(){var y=document.getElementsByTagName("html")[0];for(var _ in o)u(y,o[_]);var g=document.body;for(var b in n)u(g,n[b]);o={},n={}}function d(){}var c=function(_,g){return _[g]||(_[g]=0),_[g]+=1,g},f=function(_,g){return _[g]&&(_[g]-=1),g},p=function(_,g,b){b.forEach(function(S){c(g,S),_.add(S)})},h=function(_,g,b){b.forEach(function(S){f(g,S),g[S]===0&&_.remove(S)})};return Ai.add=function(_,g){return p(_.classList,_.nodeName.toLowerCase()=="html"?o:n,g.split(" "))},Ai.remove=function(_,g){return h(_.classList,_.nodeName.toLowerCase()=="html"?o:n,g.split(" "))},Ai}var Sn={},gv;function py(){if(gv)return Sn;gv=1,Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.log=l,Sn.resetState=d;function o(c,f){if(!(c instanceof f))throw new TypeError("Cannot call a class as a function")}var n=function c(){var f=this;o(this,c),this.register=function(p){f.openInstances.indexOf(p)===-1&&(f.openInstances.push(p),f.emit("register"))},this.deregister=function(p){var h=f.openInstances.indexOf(p);h!==-1&&(f.openInstances.splice(h,1),f.emit("deregister"))},this.subscribe=function(p){f.subscribers.push(p)},this.emit=function(p){f.subscribers.forEach(function(h){return h(p,f.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},u=new n;function l(){console.log("portalOpenInstances ----------"),console.log(u.openInstances.length),u.openInstances.forEach(function(c){return console.log(c)}),console.log("end portalOpenInstances ----------")}function d(){u=new n}return Sn.default=u,Sn}var Ns={},hv;function b2(){if(hv)return Ns;hv=1,Object.defineProperty(Ns,"__esModule",{value:!0}),Ns.resetState=f,Ns.log=p;var o=py(),n=u(o);function u(_){return _&&_.__esModule?_:{default:_}}var l=void 0,d=void 0,c=[];function f(){for(var _=[l,d],g=0;g<_.length;g++){var b=_[g];b&&b.parentNode&&b.parentNode.removeChild(b)}l=d=null,c=[]}function p(){console.log("bodyTrap ----------"),console.log(c.length);for(var _=[l,d],g=0;g<_.length;g++){var b=_[g],S=b||{};console.log(S.nodeName,S.className,S.id)}console.log("edn bodyTrap ----------")}function h(){c.length!==0&&c[c.length-1].focusContent()}function y(_,g){!l&&!d&&(l=document.createElement("div"),l.setAttribute("data-react-modal-body-trap",""),l.style.position="absolute",l.style.opacity="0",l.setAttribute("tabindex","0"),l.addEventListener("focus",h),d=l.cloneNode(),d.addEventListener("focus",h)),c=g,c.length>0?(document.body.firstChild!==l&&document.body.insertBefore(l,document.body.firstChild),document.body.lastChild!==d&&document.body.appendChild(d)):(l.parentElement&&l.parentElement.removeChild(l),d.parentElement&&d.parentElement.removeChild(d))}return n.default.subscribe(y),Ns}var _v;function y2(){return _v||(_v=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0});var u=Object.assign||function(X){for(var Y=1;Y<arguments.length;Y++){var I=arguments[Y];for(var T in I)Object.prototype.hasOwnProperty.call(I,T)&&(X[T]=I[T])}return X},l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},d=(function(){function X(Y,I){for(var T=0;T<I.length;T++){var K=I[T];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(Y,K.key,K)}}return function(Y,I,T){return I&&X(Y.prototype,I),T&&X(Y,T),Y}})(),c=Ws(),f=dy(),p=Z(f),h=f2(),y=G(h),_=g2(),g=Z(_),b=my(),S=G(b),C=v2(),x=G(C),A=Lm(),j=Z(A),z=py(),L=Z(z);b2();function G(X){if(X&&X.__esModule)return X;var Y={};if(X!=null)for(var I in X)Object.prototype.hasOwnProperty.call(X,I)&&(Y[I]=X[I]);return Y.default=X,Y}function Z(X){return X&&X.__esModule?X:{default:X}}function H(X,Y){if(!(X instanceof Y))throw new TypeError("Cannot call a class as a function")}function D(X,Y){if(!X)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y&&(typeof Y=="object"||typeof Y=="function")?Y:X}function q(X,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);X.prototype=Object.create(Y&&Y.prototype,{constructor:{value:X,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(X,Y):X.__proto__=Y)}var V={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},$=function(Y){return Y.code==="Tab"||Y.keyCode===9},W=function(Y){return Y.code==="Escape"||Y.keyCode===27},ee=0,ae=(function(X){q(Y,X);function Y(I){H(this,Y);var T=D(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this,I));return T.setOverlayRef=function(K){T.overlay=K,T.props.overlayRef&&T.props.overlayRef(K)},T.setContentRef=function(K){T.content=K,T.props.contentRef&&T.props.contentRef(K)},T.afterClose=function(){var K=T.props,ie=K.appElement,ne=K.ariaHideApp,ye=K.htmlOpenClassName,Ce=K.bodyOpenClassName,Ve=K.parentSelector,E=Ve&&Ve().ownerDocument||document;Ce&&x.remove(E.body,Ce),ye&&x.remove(E.getElementsByTagName("html")[0],ye),ne&&ee>0&&(ee-=1,ee===0&&S.show(ie)),T.props.shouldFocusAfterRender&&(T.props.shouldReturnFocusAfterClose?(y.returnFocus(T.props.preventScroll),y.teardownScopedFocus()):y.popWithoutFocus()),T.props.onAfterClose&&T.props.onAfterClose(),L.default.deregister(T)},T.open=function(){T.beforeOpen(),T.state.afterOpen&&T.state.beforeClose?(clearTimeout(T.closeTimer),T.setState({beforeClose:!1})):(T.props.shouldFocusAfterRender&&(y.setupScopedFocus(T.node),y.markForFocusLater()),T.setState({isOpen:!0},function(){T.openAnimationFrame=requestAnimationFrame(function(){T.setState({afterOpen:!0}),T.props.isOpen&&T.props.onAfterOpen&&T.props.onAfterOpen({overlayEl:T.overlay,contentEl:T.content})})}))},T.close=function(){T.props.closeTimeoutMS>0?T.closeWithTimeout():T.closeWithoutTimeout()},T.focusContent=function(){return T.content&&!T.contentHasFocus()&&T.content.focus({preventScroll:!0})},T.closeWithTimeout=function(){var K=Date.now()+T.props.closeTimeoutMS;T.setState({beforeClose:!0,closesAt:K},function(){T.closeTimer=setTimeout(T.closeWithoutTimeout,T.state.closesAt-Date.now())})},T.closeWithoutTimeout=function(){T.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},T.afterClose)},T.handleKeyDown=function(K){$(K)&&(0,g.default)(T.content,K),T.props.shouldCloseOnEsc&&W(K)&&(K.stopPropagation(),T.requestClose(K))},T.handleOverlayOnClick=function(K){T.shouldClose===null&&(T.shouldClose=!0),T.shouldClose&&T.props.shouldCloseOnOverlayClick&&(T.ownerHandlesClose()?T.requestClose(K):T.focusContent()),T.shouldClose=null},T.handleContentOnMouseUp=function(){T.shouldClose=!1},T.handleOverlayOnMouseDown=function(K){!T.props.shouldCloseOnOverlayClick&&K.target==T.overlay&&K.preventDefault()},T.handleContentOnClick=function(){T.shouldClose=!1},T.handleContentOnMouseDown=function(){T.shouldClose=!1},T.requestClose=function(K){return T.ownerHandlesClose()&&T.props.onRequestClose(K)},T.ownerHandlesClose=function(){return T.props.onRequestClose},T.shouldBeClosed=function(){return!T.state.isOpen&&!T.state.beforeClose},T.contentHasFocus=function(){return document.activeElement===T.content||T.content.contains(document.activeElement)},T.buildClassName=function(K,ie){var ne=(typeof ie>"u"?"undefined":l(ie))==="object"?ie:{base:V[K],afterOpen:V[K]+"--after-open",beforeClose:V[K]+"--before-close"},ye=ne.base;return T.state.afterOpen&&(ye=ye+" "+ne.afterOpen),T.state.beforeClose&&(ye=ye+" "+ne.beforeClose),typeof ie=="string"&&ie?ye+" "+ie:ye},T.attributesFromObject=function(K,ie){return Object.keys(ie).reduce(function(ne,ye){return ne[K+"-"+ye]=ie[ye],ne},{})},T.state={afterOpen:!1,beforeClose:!1},T.shouldClose=null,T.moveFromContentToOverlay=null,T}return d(Y,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(T,K){this.props.isOpen&&!T.isOpen?this.open():!this.props.isOpen&&T.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!K.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var T=this.props,K=T.appElement,ie=T.ariaHideApp,ne=T.htmlOpenClassName,ye=T.bodyOpenClassName,Ce=T.parentSelector,Ve=Ce&&Ce().ownerDocument||document;ye&&x.add(Ve.body,ye),ne&&x.add(Ve.getElementsByTagName("html")[0],ne),ie&&(ee+=1,S.hide(K)),L.default.register(this)}},{key:"render",value:function(){var T=this.props,K=T.id,ie=T.className,ne=T.overlayClassName,ye=T.defaultStyles,Ce=T.children,Ve=ie?{}:ye.content,E=ne?{}:ye.overlay;if(this.shouldBeClosed())return null;var te={ref:this.setOverlayRef,className:this.buildClassName("overlay",ne),style:u({},E,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},se=u({id:K,ref:this.setContentRef,style:u({},Ve,this.props.style.content),className:this.buildClassName("content",ie),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",u({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),ce=this.props.contentElement(se,Ce);return this.props.overlayElement(te,ce)}}]),Y})(c.Component);ae.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},ae.propTypes={isOpen:p.default.bool.isRequired,defaultStyles:p.default.shape({content:p.default.object,overlay:p.default.object}),style:p.default.shape({content:p.default.object,overlay:p.default.object}),className:p.default.oneOfType([p.default.string,p.default.object]),overlayClassName:p.default.oneOfType([p.default.string,p.default.object]),parentSelector:p.default.func,bodyOpenClassName:p.default.string,htmlOpenClassName:p.default.string,ariaHideApp:p.default.bool,appElement:p.default.oneOfType([p.default.instanceOf(j.default),p.default.instanceOf(A.SafeHTMLCollection),p.default.instanceOf(A.SafeNodeList),p.default.arrayOf(p.default.instanceOf(j.default))]),onAfterOpen:p.default.func,onAfterClose:p.default.func,onRequestClose:p.default.func,closeTimeoutMS:p.default.number,shouldFocusAfterRender:p.default.bool,shouldCloseOnOverlayClick:p.default.bool,shouldReturnFocusAfterClose:p.default.bool,preventScroll:p.default.bool,role:p.default.string,contentLabel:p.default.string,aria:p.default.object,data:p.default.object,children:p.default.node,shouldCloseOnEsc:p.default.bool,overlayRef:p.default.func,contentRef:p.default.func,id:p.default.string,overlayElement:p.default.func,contentElement:p.default.func,testId:p.default.string},n.default=ae,o.exports=n.default})(zl,zl.exports)),zl.exports}function fy(){var o=this.constructor.getDerivedStateFromProps(this.props,this.state);o!=null&&this.setState(o)}function gy(o){function n(u){var l=this.constructor.getDerivedStateFromProps(o,u);return l??null}this.setState(n.bind(this))}function hy(o,n){try{var u=this.props,l=this.state;this.props=o,this.state=n,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(u,l)}finally{this.props=u,this.state=l}}fy.__suppressDeprecationWarning=!0;gy.__suppressDeprecationWarning=!0;hy.__suppressDeprecationWarning=!0;function k2(o){var n=o.prototype;if(!n||!n.isReactComponent)throw new Error("Can only polyfill class components");if(typeof o.getDerivedStateFromProps!="function"&&typeof n.getSnapshotBeforeUpdate!="function")return o;var u=null,l=null,d=null;if(typeof n.componentWillMount=="function"?u="componentWillMount":typeof n.UNSAFE_componentWillMount=="function"&&(u="UNSAFE_componentWillMount"),typeof n.componentWillReceiveProps=="function"?l="componentWillReceiveProps":typeof n.UNSAFE_componentWillReceiveProps=="function"&&(l="UNSAFE_componentWillReceiveProps"),typeof n.componentWillUpdate=="function"?d="componentWillUpdate":typeof n.UNSAFE_componentWillUpdate=="function"&&(d="UNSAFE_componentWillUpdate"),u!==null||l!==null||d!==null){var c=o.displayName||o.name,f=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.`+c+" uses "+f+" but also contains the following legacy lifecycles:"+(u!==null?``+u:"")+(l!==null?`@@ -863,7 +863,7 @@ Note: if you don't like "{category}" images, you can deselect the category in th`+d:"")+`The above lifecycles should be removed. Learn more about this warning here:-https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof o.getDerivedStateFromProps=="function"&&(n.componentWillMount=fy,n.componentWillReceiveProps=gy),typeof n.getSnapshotBeforeUpdate=="function"){if(typeof n.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=hy;var p=n.componentDidUpdate;n.componentDidUpdate=function(y,_,g){var b=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:g;p.call(this,y,_,b)}}return o}const w2=Object.freeze(Object.defineProperty({__proto__:null,polyfill:k2},Symbol.toStringTag,{value:"Module"})),S2=xS(w2);var vv;function M2(){if(vv)return Vo;vv=1,Object.defineProperty(Vo,"__esModule",{value:!0}),Vo.bodyOpenClassName=Vo.portalClassName=void 0;var o=Object.assign||function(W){for(var ee=1;ee<arguments.length;ee++){var ae=arguments[ee];for(var X in ae)Object.prototype.hasOwnProperty.call(ae,X)&&(W[X]=ae[X])}return W},n=(function(){function W(ee,ae){for(var X=0;X<ae.length;X++){var Y=ae[X];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(ee,Y.key,Y)}}return function(ee,ae,X){return ae&&W(ee.prototype,ae),X&&W(ee,X),ee}})(),u=Ws(),l=A(u),d=Tm(),c=A(d),f=dy(),p=A(f),h=y2(),y=A(h),_=my(),g=x(_),b=Lm(),S=A(b),C=S2;function x(W){if(W&&W.__esModule)return W;var ee={};if(W!=null)for(var ae in W)Object.prototype.hasOwnProperty.call(W,ae)&&(ee[ae]=W[ae]);return ee.default=W,ee}function A(W){return W&&W.__esModule?W:{default:W}}function j(W,ee){if(!(W instanceof ee))throw new TypeError("Cannot call a class as a function")}function z(W,ee){if(!W)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee&&(typeof ee=="object"||typeof ee=="function")?ee:W}function L(W,ee){if(typeof ee!="function"&&ee!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ee);W.prototype=Object.create(ee&&ee.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),ee&&(Object.setPrototypeOf?Object.setPrototypeOf(W,ee):W.__proto__=ee)}var G=Vo.portalClassName="ReactModalPortal",Z=Vo.bodyOpenClassName="ReactModal__Body--open",H=b.canUseDOM&&c.default.createPortal!==void 0,D=function(ee){return document.createElement(ee)},q=function(){return H?c.default.createPortal:c.default.unstable_renderSubtreeIntoContainer};function V(W){return W()}var $=(function(W){L(ee,W);function ee(){var ae,X,Y,I;j(this,ee);for(var T=arguments.length,K=Array(T),ie=0;ie<T;ie++)K[ie]=arguments[ie];return I=(X=(Y=z(this,(ae=ee.__proto__||Object.getPrototypeOf(ee)).call.apply(ae,[this].concat(K))),Y),Y.removePortal=function(){!H&&c.default.unmountComponentAtNode(Y.node);var ne=V(Y.props.parentSelector);ne&&ne.contains(Y.node)?ne.removeChild(Y.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},Y.portalRef=function(ne){Y.portal=ne},Y.renderPortal=function(ne){var ye=q(),Ce=ye(Y,l.default.createElement(y.default,o({defaultStyles:ee.defaultStyles},ne)),Y.node);Y.portalRef(Ce)},X),z(Y,I)}return n(ee,[{key:"componentDidMount",value:function(){if(b.canUseDOM){H||(this.node=D("div")),this.node.className=this.props.portalClassName;var X=V(this.props.parentSelector);X.appendChild(this.node),!H&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(X){var Y=V(X.parentSelector),I=V(this.props.parentSelector);return{prevParent:Y,nextParent:I}}},{key:"componentDidUpdate",value:function(X,Y,I){if(b.canUseDOM){var T=this.props,K=T.isOpen,ie=T.portalClassName;X.portalClassName!==ie&&(this.node.className=ie);var ne=I.prevParent,ye=I.nextParent;ye!==ne&&(ne.removeChild(this.node),ye.appendChild(this.node)),!(!X.isOpen&&!K)&&!H&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!b.canUseDOM||!this.node||!this.portal)){var X=this.portal.state,Y=Date.now(),I=X.isOpen&&this.props.closeTimeoutMS&&(X.closesAt||Y+this.props.closeTimeoutMS);I?(X.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,I-Y)):this.removePortal()}}},{key:"render",value:function(){if(!b.canUseDOM||!H)return null;!this.node&&H&&(this.node=D("div"));var X=q();return X(l.default.createElement(y.default,o({ref:this.portalRef,defaultStyles:ee.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(X){g.setElement(X)}}]),ee})(u.Component);return $.propTypes={isOpen:p.default.bool.isRequired,style:p.default.shape({content:p.default.object,overlay:p.default.object}),portalClassName:p.default.string,bodyOpenClassName:p.default.string,htmlOpenClassName:p.default.string,className:p.default.oneOfType([p.default.string,p.default.shape({base:p.default.string.isRequired,afterOpen:p.default.string.isRequired,beforeClose:p.default.string.isRequired})]),overlayClassName:p.default.oneOfType([p.default.string,p.default.shape({base:p.default.string.isRequired,afterOpen:p.default.string.isRequired,beforeClose:p.default.string.isRequired})]),appElement:p.default.oneOfType([p.default.instanceOf(S.default),p.default.instanceOf(b.SafeHTMLCollection),p.default.instanceOf(b.SafeNodeList),p.default.arrayOf(p.default.instanceOf(S.default))]),onAfterOpen:p.default.func,onRequestClose:p.default.func,closeTimeoutMS:p.default.number,ariaHideApp:p.default.bool,shouldFocusAfterRender:p.default.bool,shouldCloseOnOverlayClick:p.default.bool,shouldReturnFocusAfterClose:p.default.bool,preventScroll:p.default.bool,parentSelector:p.default.func,aria:p.default.object,data:p.default.object,role:p.default.string,contentLabel:p.default.string,shouldCloseOnEsc:p.default.bool,overlayRef:p.default.func,contentRef:p.default.func,id:p.default.string,overlayElement:p.default.func,contentElement:p.default.func},$.defaultProps={isOpen:!1,portalClassName:G,bodyOpenClassName:Z,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(ee,ae){return l.default.createElement("div",ee,ae)},contentElement:function(ee,ae){return l.default.createElement("div",ee,ae)}},$.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,C.polyfill)($),Vo.default=$,Vo}var bv;function A2(){return bv||(bv=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0});var u=M2(),l=d(u);function d(c){return c&&c.__esModule?c:{default:c}}n.default=l.default,o.exports=n.default})(xl,xl.exports)),xl.exports}var C2=A2();const x2=zm(C2),z2=({appsRef:o,floatRef:n,position:u,xPosition:l,yPosition:d})=>{const[c,f]=k.useState(JSON.parse(localStorage.getItem("applinks"))),[p,h]=k.useState(localStorage.getItem("appsPinned")==="true"?"visible":"hidden"),[y,_]=k.useState(localStorage.getItem("refresh")==="false"?"-200px":"-130px"),[g,b]=k.useState(localStorage.getItem("appsPinned")==="true"),[S,C]=k.useState("1.2rem"),x=()=>{C(Number((localStorage.getItem("zoomNavbar")||100)/100*1.2)+"rem")};k.useEffect(()=>{const L=G=>{if(G==="navbar"){f(JSON.parse(localStorage.getItem("applinks")));try{x()}catch{}}};return x(),ve.on("refresh",L),()=>{ve.off("refresh",L)}},[]);const A=()=>{b(!0)},j=()=>{b(localStorage.getItem("AppsPinned")==="true")},z=c;return w.jsxs("div",{className:"notes",onMouseLeave:j,onFocus:A,children:[w.jsx("button",{className:"navbarButton",onMouseEnter:A,onFocus:A,onBlur:j,ref:o,style:{fontSize:S},children:w.jsx(q_,{className:"topicons"})}),g&&w.jsxs("span",{className:"notesContainer",ref:n,style:{position:u,top:d??"44px",left:l??""},children:[w.jsx("div",{className:"flexTodo",children:w.jsxs("div",{className:"topBarNotes",style:{display:"flex"},children:[w.jsx(q_,{}),w.jsx("span",{children:pe.getMessage("widgets.navbar.apps.title")})]})}),z.length>0?w.jsx("div",{className:"appsShortcutContainer",children:z.map((L,G)=>w.jsx(ht,{title:L.name.split(" ")[0],subtitle:L.name.split(" ").slice(1).join(" "),children:w.jsxs("a",{href:L.url,className:"appsIcon",children:[w.jsx("img",{src:L.icon===""?ly(L.url,L.name):L.icon,width:"40px",height:"40px",alt:"Google"}),w.jsx("span",{children:L.name})]})},G))}):w.jsx("div",{className:"todosEmpty",children:w.jsxs("div",{className:"emptyNewMessage",children:[w.jsx(qb,{}),w.jsx("span",{className:"title",children:pe.language.getMessage(pe.languagecode,"widgets.navbar.apps.no_apps")})]})})]})]})};function T2(){const[o,n]=k.useState(null),{x:u,y:l,refs:d,strategy:c}=cu({placement:"bottom",middleware:[mu()],elements:{reference:o}});return w.jsx(z2,{appsRef:n,floatRef:d.setFloating,position:c,xPosition:u,yPosition:l})}const N2=k.memo(T2),E2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)==="true"),l=k.useCallback(()=>{const c=!n;if(localStorage.setItem(o.name,c),u(c),o.onChange&&o.onChange(c),pe.stats.postEvent("setting",`${o.name} ${c?"enabled":"disabled"}`),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)},[n,o]),d=k.useCallback(c=>{(c.key===" "||c.key==="Enter")&&!o.disabled&&(c.preventDefault(),l())},[l,o.disabled]);return w.jsxs("div",{className:`checkbox-wrapper ${o.disabled?"disabled":""}`,children:[w.jsx("span",{className:"checkbox-label",children:o.text}),w.jsx("input",{type:"checkbox",name:o.name,checked:n,onChange:l,disabled:o.disabled||!1,className:"checkbox-input","aria-label":o.text,onKeyDown:d}),w.jsx("div",{className:`checkbox-box ${n?"checked":""}`,children:n&&w.jsx(Nm,{})})]})});E2.displayName="Checkbox";function j2({label:o,options:n,onChange:u}){let l=(localStorage.getItem("apiCategories")||"").split(",");l[0]===""&&(l=[]);const[d,c]=k.useState(l),[f,p]=k.useState(!1),h=k.useRef(null);k.useEffect(()=>{const g=b=>{h.current&&!h.current.contains(b.target)&&p(!1)};return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[]);const y=g=>{let b;d.includes(g)?b=d.filter(S=>S!==g):b=[...d,g],c(b),localStorage.setItem("apiCategories",b.join(",")),u&&u(b)},_=(g,b)=>{g.stopPropagation(),y(b)};return w.jsxs("div",{className:"chipSelect",ref:h,children:[o&&w.jsx("label",{className:"chipSelect-label",children:o}),w.jsxs("div",{className:"chipSelect-control",onClick:()=>p(!f),children:[w.jsx("div",{className:"chipSelect-value",children:d.length===0?w.jsx("span",{className:"chipSelect-placeholder",children:"Select options..."}):w.jsx("div",{className:"chipSelect-chips",children:d.map(g=>w.jsxs("span",{className:"chipSelect-chip",children:[g.charAt(0).toUpperCase()+g.slice(1),w.jsx("button",{type:"button",className:"chipSelect-chip-remove",onClick:b=>_(b,g),children:w.jsx(Is,{})})]},g))})}),w.jsx(Eb,{className:`chipSelect-arrow ${f?"open":""}`})]}),f&&w.jsx("div",{className:"chipSelect-dropdown",children:n.map(g=>w.jsxs("div",{className:`chipSelect-option ${d.includes(g.name)?"selected":""}`,onClick:()=>y(g.name),children:[w.jsx("span",{className:"chipSelect-option-checkbox",children:d.includes(g.name)&&"✓"}),w.jsxs("span",{className:"chipSelect-option-label",children:[g.name.charAt(0).toUpperCase()+g.name.slice(1),g.count&&` (${g.count})`]})]},g.name))})]})}k.memo(j2);const D2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)||o.items[0]?.value),[l,d]=k.useState(!1),[c,f]=k.useState(-1),p=k.useRef(null),h=k.useRef([]);k.useEffect(()=>{const A=j=>{p.current&&!p.current.contains(j.target)&&(d(!1),f(-1))};return document.addEventListener("mousedown",A),()=>document.removeEventListener("mousedown",A)},[]);const y=k.useCallback(A=>{if(A!==pe.getMessage("modals.main.loading")){if(pe.stats.postEvent("setting",`${o.name} from ${n} to ${A}`),u(A),d(!1),f(-1),o.noSetting||(localStorage.setItem(o.name,A),localStorage.setItem(o.name2,o.value2)),o.onChange&&o.onChange(A),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)}},[n,o]),_=k.useCallback(A=>{if(!o.disabled)switch(A.key){case"Enter":case" ":A.preventDefault(),d(!l);break;case"Escape":d(!1),f(-1);break;case"ArrowDown":A.preventDefault(),l?f(j=>j<o.items.filter(z=>z!==null).length-1?j+1:j):d(!0);break;case"ArrowUp":A.preventDefault(),l&&f(j=>j>0?j-1:j);break}},[l,o.items,o.disabled]),g=k.useCallback((A,j)=>{(A.key==="Enter"||A.key===" ")&&(A.preventDefault(),y(j.value))},[y]),b=k.useCallback(()=>{const A=o.default||o.items[0]?.value;y(A),De(pe.getMessage("toasts.reset"))},[y,o.default,o.items]),S="dropdown"+o.name,C=o.label||"",x=o.items.find(A=>A?.value===n);return w.jsxs("div",{className:`dropdown ${S} ${o.disabled?"disabled":""}`,ref:p,children:[C&&w.jsxs("div",{className:"dropdown-header",children:[w.jsx("label",{className:"dropdown-label",children:C}),w.jsxs("span",{className:"dropdown-reset",onClick:b,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsxs("div",{className:"dropdown-control",onClick:()=>!o.disabled&&d(!l),onKeyDown:_,role:"button","aria-haspopup":"listbox","aria-expanded":l,"aria-label":C||o.name,tabIndex:o.disabled?-1:0,children:[w.jsx("span",{className:"dropdown-value",children:x?.text||n}),w.jsx(Eb,{className:`dropdown-arrow ${l?"open":""}`})]}),l&&w.jsx("div",{className:"dropdown-menu",role:"listbox",children:o.items.map((A,j)=>A!==null?w.jsxs("div",{ref:z=>h.current[j]=z,className:`dropdown-option ${n===A.value?"selected":""} ${j===c?"focused":""}`,onClick:()=>y(A.value),onKeyDown:z=>g(z,A),role:"option","aria-selected":n===A.value,tabIndex:0,children:[w.jsx("span",{className:"dropdown-option-text",children:A.text}),n===A.value&&w.jsx(Nm,{className:"dropdown-option-check"})]},S+A.value):null)})]})});D2.displayName="Dropdown";var Rl={exports:{}},O2=Rl.exports,yv;function q2(){return yv||(yv=1,(function(o,n){(function(u,l){o.exports=l()})(O2,(function(){return(function(u){var l={};function d(c){if(l[c])return l[c].exports;var f=l[c]={i:c,l:!1,exports:{}};return u[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}return d.m=u,d.c=l,d.d=function(c,f,p){d.o(c,f)||Object.defineProperty(c,f,{enumerable:!0,get:p})},d.r=function(c){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},d.t=function(c,f){if(1&f&&(c=d(c)),8&f||4&f&&typeof c=="object"&&c&&c.__esModule)return c;var p=Object.create(null);if(d.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:c}),2&f&&typeof c!="string")for(var h in c)d.d(p,h,function(y){return c[y]}.bind(null,h));return p},d.n=function(c){var f=c&&c.__esModule?function(){return c.default}:function(){return c};return d.d(f,"a",f),f},d.o=function(c,f){return Object.prototype.hasOwnProperty.call(c,f)},d.p="",d(d.s=0)})([function(u,l,d){var c;function f(H){return["image/png","image/jpeg","image/gif"].some(D=>D===H)}d.r(l),d.d(l,"canvastoDataURL",(function(){return h})),d.d(l,"canvastoFile",(function(){return y})),d.d(l,"dataURLtoFile",(function(){return g})),d.d(l,"dataURLtoImage",(function(){return b})),d.d(l,"downloadFile",(function(){return S})),d.d(l,"filetoDataURL",(function(){return C})),d.d(l,"imagetoCanvas",(function(){return A})),d.d(l,"urltoBlob",(function(){return j})),d.d(l,"urltoImage",(function(){return z})),d.d(l,"compress",(function(){return G})),d.d(l,"compressAccurately",(function(){return Z})),d.d(l,"EImageType",(function(){return c})),(function(H){H.PNG="image/png",H.JPEG="image/jpeg",H.GIF="image/gif"})(c||(c={}));var p=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function h(H,D=.92,q=c.JPEG){return p(this,void 0,void 0,(function*(){return f(q)||(q=c.JPEG),H.toDataURL(q,D)}))}function y(H,D=.92,q=c.JPEG){return new Promise(V=>H.toBlob($=>V($),q,D))}var _=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function g(H,D){return _(this,void 0,void 0,(function*(){const q=H.split(",");let V=q[0].match(/:(.*?);/)[1];const $=atob(q[1]);let W=$.length;const ee=new Uint8Array(W);for(;W--;)ee[W]=$.charCodeAt(W);return f(D)&&(V=D),new Blob([ee],{type:V})}))}function b(H){return new Promise((D,q)=>{const V=new Image;V.onload=()=>D(V),V.onerror=()=>q(new Error("dataURLtoImage(): dataURL is illegal")),V.src=H})}function S(H,D){const q=document.createElement("a");q.href=window.URL.createObjectURL(H),q.download=D||Date.now().toString(36),document.body.appendChild(q);const V=document.createEvent("MouseEvents");V.initEvent("click",!1,!1),q.dispatchEvent(V),document.body.removeChild(q)}function C(H){return new Promise(D=>{const q=new FileReader;q.onloadend=V=>D(V.target.result),q.readAsDataURL(H)})}var x=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function A(H,D={}){return x(this,void 0,void 0,(function*(){const q=Object.assign({},D),V=document.createElement("canvas"),$=V.getContext("2d");let W,ee;for(const ae in q)Object.prototype.hasOwnProperty.call(q,ae)&&(q[ae]=Number(q[ae]));if(q.scale){const ae=q.scale>0&&q.scale<10?q.scale:1;ee=H.width*ae,W=H.height*ae}else ee=q.width||q.height*H.width/H.height||H.width,W=q.height||q.width*H.height/H.width||H.height;switch([5,6,7,8].some(ae=>ae===q.orientation)?(V.height=ee,V.width=W):(V.height=W,V.width=ee),q.orientation){case 3:$.rotate(180*Math.PI/180),$.drawImage(H,-V.width,-V.height,V.width,V.height);break;case 6:$.rotate(90*Math.PI/180),$.drawImage(H,0,-V.width,V.height,V.width);break;case 8:$.rotate(270*Math.PI/180),$.drawImage(H,-V.height,0,V.height,V.width);break;case 2:$.translate(V.width,0),$.scale(-1,1),$.drawImage(H,0,0,V.width,V.height);break;case 4:$.translate(V.width,0),$.scale(-1,1),$.rotate(180*Math.PI/180),$.drawImage(H,-V.width,-V.height,V.width,V.height);break;case 5:$.translate(V.width,0),$.scale(-1,1),$.rotate(90*Math.PI/180),$.drawImage(H,0,-V.width,V.height,V.width);break;case 7:$.translate(V.width,0),$.scale(-1,1),$.rotate(270*Math.PI/180),$.drawImage(H,-V.height,0,V.height,V.width);break;default:$.drawImage(H,0,0,V.width,V.height)}return V}))}function j(H){return fetch(H).then(D=>D.blob())}function z(H){return new Promise((D,q)=>{const V=new Image;V.onload=()=>D(V),V.onerror=()=>q(new Error("urltoImage(): Image failed to load, please check the image URL")),V.src=H})}var L=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function G(H,D={}){return L(this,void 0,void 0,(function*(){if(!(H instanceof Blob))throw new Error("compress(): First arg must be a Blob object or a File object.");if(typeof D!="object"&&(D=Object.assign({quality:D})),D.quality=Number(D.quality),Number.isNaN(D.quality))return H;const q=yield C(H);let V=q.split(",")[0].match(/:(.*?);/)[1],$=c.JPEG;f(D.type)&&($=D.type,V=D.type);const W=yield b(q),ee=yield A(W,Object.assign({},D)),ae=yield h(ee,D.quality,$),X=yield g(ae,V);return X.size>H.size?H:X}))}function Z(H,D={}){return L(this,void 0,void 0,(function*(){if(!(H instanceof Blob))throw new Error("compressAccurately(): First arg must be a Blob object or a File object.");if(typeof D!="object"&&(D=Object.assign({size:D})),D.size=Number(D.size),Number.isNaN(D.size)||1024*D.size>H.size)return H;D.accuracy=Number(D.accuracy),(!D.accuracy||D.accuracy<.8||D.accuracy>.99)&&(D.accuracy=.95);const q=D.size*(2-D.accuracy)*1024,V=1024*D.size,$=D.size*D.accuracy*1024,W=yield C(H);let ee=W.split(",")[0].match(/:(.*?);/)[1],ae=c.JPEG;f(D.type)&&(ae=D.type,ee=D.type);const X=yield b(W),Y=yield A(X,Object.assign({},D));let I,T=.5;const K=[null,null];for(let ne=1;ne<=7;ne++){I=yield h(Y,T,ae);const ye=.75*I.length;if(ne===7){(q<ye||$>ye)&&(I=[I,...K].filter(Ce=>Ce).sort((Ce,Ve)=>Math.abs(.75*Ce.length-V)-Math.abs(.75*Ve.length-V))[0]);break}if(q<ye)K[1]=I,T-=Math.pow(.5,ne+1);else{if(!($>ye))break;K[0]=I,T+=Math.pow(.5,ne+1)}}const ie=yield g(I,ee);return ie.size>H.size?H:ie}))}}])}))})(Rl)),Rl.exports}var dm,kv;function R2(){return kv||(kv=1,dm=q2()),dm}var wv=R2();const B2=k.memo(({id:o,type:n,accept:u,loadFunction:l,multiple:d})=>(k.useEffect(()=>{const c=document.getElementById(o);if(!c)return;const f=p=>{const h=Array.from(p.target.files);if(n==="settings"){const y=new FileReader,_=h[0];y.readAsText(_,"UTF-8"),y.onload=g=>l(g.target.result)}else if(typeof l=="function"&&l.length===1)l(h);else{const y={};Object.keys(localStorage).forEach(g=>{y[g]=localStorage.getItem(g)});const _=new TextEncoder().encode(JSON.stringify(y)).length;h.forEach((g,b)=>{if(Lb(g.type)===!0)return _+g.size>485e4?De(pe.getMessage("toasts.no_storage")):l(g,b);wv.compressAccurately(g,{size:450,accuracy:.9}).then(async S=>{if(_+S.size>485e4)return De(pe.getMessage("toasts.no_storage"));l({target:{result:await wv.filetoDataURL(S)}},b)})})}};return c.onchange=f,()=>{c&&(c.onchange=null)}},[o,n,l,d]),w.jsx("input",{id:o,type:"file",style:{display:"none"},accept:u,multiple:d!==void 0?d:n!=="settings"})));B2.displayName="FileUpload";const L2=k.memo(o=>{const{changeLanguage:n}=zb(),[u,l]=k.useState(localStorage.getItem(o.name)),d=k.useCallback(async c=>{if(c!=="loading"){if(o.name==="language"){n(c),l(c),pe.stats.postEvent("setting",`${o.name} from ${u} to ${c}`),o.onChange&&o.onChange(c),ve.emit("refresh",o.category);return}if(localStorage.setItem(o.name,c),l(c),o.onChange&&o.onChange(c),pe.stats.postEvent("setting",`${o.name} from ${u} to ${c}`),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)}},[u,o,n]);return w.jsxs("div",{className:"radio-group",children:[o.title&&w.jsx("legend",{className:o.smallTitle?"radio-title-small":"radio-title",children:o.title}),w.jsx("div",{className:"radio-options",role:"radiogroup","aria-label":o.name,children:o.options.map(c=>w.jsxs("label",{className:`radio-option ${u===c.value?"selected":""} ${c.disabled||o.disabled?"disabled":""}`,children:[w.jsx("span",{className:"radio-label",children:c.name}),w.jsx("input",{type:"radio",name:o.name,value:c.value,checked:u===c.value,onChange:()=>d(c.value),disabled:c.disabled||o.disabled||!1,className:"radio-input","aria-label":c.name,tabIndex:0}),w.jsx("div",{className:"radio-circle",children:u===c.value&&w.jsx("div",{className:"radio-dot"})})]},c.value))})]})});L2.displayName="Radio";const I2=k.memo(({value:o,onChange:n,placeholder:u,fullWidth:l})=>w.jsxs("div",{className:`search-input-container${l?" full-width":""}`,children:[w.jsx(Em,{className:"search-input-icon"}),w.jsx("input",{type:"text",className:"search-input-field",value:o,onChange:n,placeholder:u})]}));I2.displayName="SearchInput";const U2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)==="true"),l=k.useCallback(()=>{const d=!n;if(localStorage.setItem(o.name,d),u(d),o.onChange&&o.onChange(d),pe.stats.postEvent("setting",`${o.name} ${n?"enabled":"disabled"}`),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)},[n,o]);return w.jsxs("div",{className:"switch-wrapper",children:[!o.header&&w.jsx("span",{className:"switch-label",children:o.text}),w.jsx("div",{className:`switch-track ${n?"checked":""}`,onClick:l,children:w.jsx("div",{className:"switch-thumb"})}),w.jsx("input",{type:"checkbox",name:o.name,checked:n,onChange:l,className:"switch-input","aria-hidden":"true"})]})});U2.displayName="Switch";const P2=k.memo(o=>{const{name:n,upperCaseFirst:u,element:l,category:d,onChange:c,title:f,textarea:p,customcss:h,placeholder:y}=o,_=o.default,[g,b]=k.useState(localStorage.getItem(n)||""),S=k.useCallback(x=>{let A=x.target.value;if(u===!0&&(A=A.charAt(0).toUpperCase()+A.slice(1)),localStorage.setItem(n,A),b(A),c&&c(A),l&&!document.querySelector(l)){Nn();return}ve.emit("refresh",d)},[n,u,l,d,c]),C=k.useCallback(()=>{S({target:{value:_||""}}),De(pe.getMessage("toasts.reset"))},[S,_]);return w.jsx("div",{className:"text-field-container",children:p===!0?w.jsxs("div",{className:`text-field ${h?"customcss":""}`,children:[f&&w.jsxs("div",{className:"text-field-header",children:[w.jsx("label",{className:"text-field-label",children:f}),w.jsxs("span",{className:"text-field-reset",onClick:C,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsx("textarea",{value:g,onChange:S,spellCheck:!1,rows:4,className:"text-field-textarea"})]}):w.jsxs("div",{className:"text-field",children:[f&&w.jsxs("div",{className:"text-field-header",children:[w.jsx("label",{className:"text-field-label",children:f}),w.jsxs("span",{className:"text-field-reset",onClick:C,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsx("input",{type:"text",value:g,onChange:S,placeholder:y||"",className:"text-field-input"})]})})});P2.displayName="Text";const Im=k.memo(({value:o,onChange:n,placeholder:u,minRows:l=1,maxRows:d,className:c,style:f,readOnly:p})=>{const h=k.useRef(null),y=k.useCallback(()=>{const _=h.current;if(!_)return;_.style.height="auto";const g=window.getComputedStyle(_),b=parseInt(g.lineHeight)||24,S=parseInt(g.paddingTop)||0,C=parseInt(g.paddingBottom)||0,x=l*b+S+C,A=d?d*b+S+C:1/0,j=Math.min(Math.max(_.scrollHeight,x),A);_.style.height=`${j}px`},[l,d]);return k.useEffect(()=>{y()},[o,y]),k.useEffect(()=>(y(),window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)),[y]),w.jsx("textarea",{ref:h,className:`textarea-autosize${c?` ${c}`:""}`,value:o,onChange:n,placeholder:u,style:f,readOnly:p,rows:l})});Im.displayName="Textarea";const H2=({notesRef:o,floatRef:n,position:u,xPosition:l,yPosition:d})=>{const c=Qo(),[f,p]=k.useState(localStorage.getItem("notes")||""),[h,y]=k.useState(localStorage.getItem("notesPinned")==="true"),[_,g]=k.useState("1.2rem");k.useEffect(()=>{const z=L=>{L==="navbar"&&g(Number((localStorage.getItem("zoomNavbar")||100)/100*1.2)+"rem")};return g(Number((localStorage.getItem("zoomNavbar")||100)/100*1.2)+"rem"),ve.on("refresh",z),()=>{ve.off("refresh",z)}},[]);const b=z=>{localStorage.setItem("notes",z.target.value),p(z.target.value)},S=()=>{y(!0)},C=()=>{y(localStorage.getItem("notesPinned")==="true")},x=()=>{pe.stats.postEvent("feature","Notes pin");const z=localStorage.getItem("notesPinned")==="true";localStorage.setItem("notesPinned",!z),y(!z)},A=()=>{pe.stats.postEvent("feature","Notes copied"),navigator.clipboard.writeText(f),De(c("toasts.notes"))},j=()=>{!f||f===""||(pe.stats.postEvent("feature","Notes download"),Xx(f,"mue-notes.txt","text/plain"))};return w.jsxs("div",{className:"notes",onMouseLeave:C,onFocus:S,children:[w.jsx("button",{className:"navbarButton",onMouseEnter:S,onFocus:S,onBlur:C,ref:o,style:{fontSize:_},"aria-label":c("widgets.navbar.notes.title"),children:w.jsx(O_,{className:"topicons"})}),h&&w.jsx("span",{className:"notesContainer",ref:n,style:{position:u,top:d??"44",left:l??""},children:w.jsxs("div",{className:"flexNotes",children:[w.jsxs("div",{className:"topBarNotes",style:{display:"flex"},children:[w.jsx(O_,{}),w.jsx("span",{children:c("widgets.navbar.notes.title")})]}),w.jsxs("div",{className:"notes-buttons",children:[w.jsx(ht,{title:c("widgets.navbar.todo.pin"),children:w.jsx("button",{onClick:x,children:w.jsx(Ob,{})})}),w.jsx(ht,{title:c("widgets.quote.copy"),children:w.jsx("button",{onClick:A,disabled:f==="",children:w.jsx(NA,{})})}),w.jsx(ht,{title:c("widgets.background.download"),children:w.jsx("button",{onClick:j,disabled:f==="",children:w.jsx(CA,{})})})]}),w.jsx(Im,{placeholder:c("widgets.navbar.notes.placeholder"),value:f,onChange:b,minRows:5})]})})]})};function F2(){const[o,n]=k.useState(null),{x:u,y:l,refs:d,strategy:c}=cu({placement:"bottom",middleware:[mu()],elements:{reference:o}});return w.jsx(H2,{notesRef:n,floatRef:d.setFloating,position:c,xPosition:u,yPosition:l})}const V2=k.memo(F2);function G2(){for(var o=arguments.length,n=new Array(o),u=0;u<o;u++)n[u]=arguments[u];return k.useMemo(()=>l=>{n.forEach(d=>d(l))},n)}const pu=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function En(o){const n=Object.prototype.toString.call(o);return n==="[object Window]"||n==="[object global]"}function Um(o){return"nodeType"in o}function Wt(o){var n,u;return o?En(o)?o:Um(o)&&(n=(u=o.ownerDocument)==null?void 0:u.defaultView)!=null?n:window:window}function Pm(o){const{Document:n}=Wt(o);return o instanceof n}function Xs(o){return En(o)?!1:o instanceof Wt(o).HTMLElement}function _y(o){return o instanceof Wt(o).SVGElement}function jn(o){return o?En(o)?o.document:Um(o)?Pm(o)?o:Xs(o)||_y(o)?o.ownerDocument:document:document:document}const Za=pu?k.useLayoutEffect:k.useEffect;function Hm(o){const n=k.useRef(o);return Za(()=>{n.current=o}),k.useCallback(function(){for(var u=arguments.length,l=new Array(u),d=0;d<u;d++)l[d]=arguments[d];return n.current==null?void 0:n.current(...l)},[])}function K2(){const o=k.useRef(null),n=k.useCallback((l,d)=>{o.current=setInterval(l,d)},[]),u=k.useCallback(()=>{o.current!==null&&(clearInterval(o.current),o.current=null)},[]);return[n,u]}function Vs(o,n){n===void 0&&(n=[o]);const u=k.useRef(o);return Za(()=>{u.current!==o&&(u.current=o)},n),u}function Js(o,n){const u=k.useRef();return k.useMemo(()=>{const l=o(u.current);return u.current=l,l},[...n])}function Ql(o){const n=Hm(o),u=k.useRef(null),l=k.useCallback(d=>{d!==u.current&&n?.(d,u.current),u.current=d},[]);return[u,l]}function Sm(o){const n=k.useRef();return k.useEffect(()=>{n.current=o},[o]),n.current}let cm={};function $s(o,n){return k.useMemo(()=>{if(n)return n;const u=cm[o]==null?0:cm[o]+1;return cm[o]=u,o+"-"+u},[o,n])}function vy(o){return function(n){for(var u=arguments.length,l=new Array(u>1?u-1:0),d=1;d<u;d++)l[d-1]=arguments[d];return l.reduce((c,f)=>{const p=Object.entries(f);for(const[h,y]of p){const _=c[h];_!=null&&(c[h]=_+o*y)}return c},{...n})}}const xn=vy(1),Gs=vy(-1);function Y2(o){return"clientX"in o&&"clientY"in o}function Fm(o){if(!o)return!1;const{KeyboardEvent:n}=Wt(o.target);return n&&o instanceof n}function W2(o){if(!o)return!1;const{TouchEvent:n}=Wt(o.target);return n&&o instanceof n}function Mm(o){if(W2(o)){if(o.touches&&o.touches.length){const{clientX:n,clientY:u}=o.touches[0];return{x:n,y:u}}else if(o.changedTouches&&o.changedTouches.length){const{clientX:n,clientY:u}=o.changedTouches[0];return{x:n,y:u}}}return Y2(o)?{x:o.clientX,y:o.clientY}:null}const Ks=Object.freeze({Translate:{toString(o){if(!o)return;const{x:n,y:u}=o;return"translate3d("+(n?Math.round(n):0)+"px, "+(u?Math.round(u):0)+"px, 0)"}},Scale:{toString(o){if(!o)return;const{scaleX:n,scaleY:u}=o;return"scaleX("+n+") scaleY("+u+")"}},Transform:{toString(o){if(o)return[Ks.Translate.toString(o),Ks.Scale.toString(o)].join(" ")}},Transition:{toString(o){let{property:n,duration:u,easing:l}=o;return n+" "+u+"ms "+l}}}),Sv="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Q2(o){return o.matches(Sv)?o:o.querySelector(Sv)}const Z2={display:"none"};function X2(o){let{id:n,value:u}=o;return _e.createElement("div",{id:n,style:Z2},u)}function J2(o){let{id:n,announcement:u,ariaLiveType:l="assertive"}=o;const d={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return _e.createElement("div",{id:n,style:d,role:"status","aria-live":l,"aria-atomic":!0},u)}function $2(){const[o,n]=k.useState("");return{announce:k.useCallback(l=>{l!=null&&n(l)},[]),announcement:o}}const by=k.createContext(null);function ez(o){const n=k.useContext(by);k.useEffect(()=>{if(!n)throw new Error("useDndMonitor must be used within a children of <DndContext>");return n(o)},[o,n])}function tz(){const[o]=k.useState(()=>new Set),n=k.useCallback(l=>(o.add(l),()=>o.delete(l)),[o]);return[k.useCallback(l=>{let{type:d,event:c}=l;o.forEach(f=>{var p;return(p=f[d])==null?void 0:p.call(f,c)})},[o]),n]}const az={draggable:`+https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof o.getDerivedStateFromProps=="function"&&(n.componentWillMount=fy,n.componentWillReceiveProps=gy),typeof n.getSnapshotBeforeUpdate=="function"){if(typeof n.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=hy;var p=n.componentDidUpdate;n.componentDidUpdate=function(y,_,g){var b=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:g;p.call(this,y,_,b)}}return o}const w2=Object.freeze(Object.defineProperty({__proto__:null,polyfill:k2},Symbol.toStringTag,{value:"Module"})),S2=xS(w2);var vv;function M2(){if(vv)return Vo;vv=1,Object.defineProperty(Vo,"__esModule",{value:!0}),Vo.bodyOpenClassName=Vo.portalClassName=void 0;var o=Object.assign||function(W){for(var ee=1;ee<arguments.length;ee++){var ae=arguments[ee];for(var X in ae)Object.prototype.hasOwnProperty.call(ae,X)&&(W[X]=ae[X])}return W},n=(function(){function W(ee,ae){for(var X=0;X<ae.length;X++){var Y=ae[X];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(ee,Y.key,Y)}}return function(ee,ae,X){return ae&&W(ee.prototype,ae),X&&W(ee,X),ee}})(),u=Ws(),l=A(u),d=Tm(),c=A(d),f=dy(),p=A(f),h=y2(),y=A(h),_=my(),g=x(_),b=Lm(),S=A(b),C=S2;function x(W){if(W&&W.__esModule)return W;var ee={};if(W!=null)for(var ae in W)Object.prototype.hasOwnProperty.call(W,ae)&&(ee[ae]=W[ae]);return ee.default=W,ee}function A(W){return W&&W.__esModule?W:{default:W}}function j(W,ee){if(!(W instanceof ee))throw new TypeError("Cannot call a class as a function")}function z(W,ee){if(!W)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee&&(typeof ee=="object"||typeof ee=="function")?ee:W}function L(W,ee){if(typeof ee!="function"&&ee!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ee);W.prototype=Object.create(ee&&ee.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),ee&&(Object.setPrototypeOf?Object.setPrototypeOf(W,ee):W.__proto__=ee)}var G=Vo.portalClassName="ReactModalPortal",Z=Vo.bodyOpenClassName="ReactModal__Body--open",H=b.canUseDOM&&c.default.createPortal!==void 0,D=function(ee){return document.createElement(ee)},q=function(){return H?c.default.createPortal:c.default.unstable_renderSubtreeIntoContainer};function V(W){return W()}var $=(function(W){L(ee,W);function ee(){var ae,X,Y,I;j(this,ee);for(var T=arguments.length,K=Array(T),ie=0;ie<T;ie++)K[ie]=arguments[ie];return I=(X=(Y=z(this,(ae=ee.__proto__||Object.getPrototypeOf(ee)).call.apply(ae,[this].concat(K))),Y),Y.removePortal=function(){!H&&c.default.unmountComponentAtNode(Y.node);var ne=V(Y.props.parentSelector);ne&&ne.contains(Y.node)?ne.removeChild(Y.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},Y.portalRef=function(ne){Y.portal=ne},Y.renderPortal=function(ne){var ye=q(),Ce=ye(Y,l.default.createElement(y.default,o({defaultStyles:ee.defaultStyles},ne)),Y.node);Y.portalRef(Ce)},X),z(Y,I)}return n(ee,[{key:"componentDidMount",value:function(){if(b.canUseDOM){H||(this.node=D("div")),this.node.className=this.props.portalClassName;var X=V(this.props.parentSelector);X.appendChild(this.node),!H&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(X){var Y=V(X.parentSelector),I=V(this.props.parentSelector);return{prevParent:Y,nextParent:I}}},{key:"componentDidUpdate",value:function(X,Y,I){if(b.canUseDOM){var T=this.props,K=T.isOpen,ie=T.portalClassName;X.portalClassName!==ie&&(this.node.className=ie);var ne=I.prevParent,ye=I.nextParent;ye!==ne&&(ne.removeChild(this.node),ye.appendChild(this.node)),!(!X.isOpen&&!K)&&!H&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!b.canUseDOM||!this.node||!this.portal)){var X=this.portal.state,Y=Date.now(),I=X.isOpen&&this.props.closeTimeoutMS&&(X.closesAt||Y+this.props.closeTimeoutMS);I?(X.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,I-Y)):this.removePortal()}}},{key:"render",value:function(){if(!b.canUseDOM||!H)return null;!this.node&&H&&(this.node=D("div"));var X=q();return X(l.default.createElement(y.default,o({ref:this.portalRef,defaultStyles:ee.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(X){g.setElement(X)}}]),ee})(u.Component);return $.propTypes={isOpen:p.default.bool.isRequired,style:p.default.shape({content:p.default.object,overlay:p.default.object}),portalClassName:p.default.string,bodyOpenClassName:p.default.string,htmlOpenClassName:p.default.string,className:p.default.oneOfType([p.default.string,p.default.shape({base:p.default.string.isRequired,afterOpen:p.default.string.isRequired,beforeClose:p.default.string.isRequired})]),overlayClassName:p.default.oneOfType([p.default.string,p.default.shape({base:p.default.string.isRequired,afterOpen:p.default.string.isRequired,beforeClose:p.default.string.isRequired})]),appElement:p.default.oneOfType([p.default.instanceOf(S.default),p.default.instanceOf(b.SafeHTMLCollection),p.default.instanceOf(b.SafeNodeList),p.default.arrayOf(p.default.instanceOf(S.default))]),onAfterOpen:p.default.func,onRequestClose:p.default.func,closeTimeoutMS:p.default.number,ariaHideApp:p.default.bool,shouldFocusAfterRender:p.default.bool,shouldCloseOnOverlayClick:p.default.bool,shouldReturnFocusAfterClose:p.default.bool,preventScroll:p.default.bool,parentSelector:p.default.func,aria:p.default.object,data:p.default.object,role:p.default.string,contentLabel:p.default.string,shouldCloseOnEsc:p.default.bool,overlayRef:p.default.func,contentRef:p.default.func,id:p.default.string,overlayElement:p.default.func,contentElement:p.default.func},$.defaultProps={isOpen:!1,portalClassName:G,bodyOpenClassName:Z,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(ee,ae){return l.default.createElement("div",ee,ae)},contentElement:function(ee,ae){return l.default.createElement("div",ee,ae)}},$.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,C.polyfill)($),Vo.default=$,Vo}var bv;function A2(){return bv||(bv=1,(function(o,n){Object.defineProperty(n,"__esModule",{value:!0});var u=M2(),l=d(u);function d(c){return c&&c.__esModule?c:{default:c}}n.default=l.default,o.exports=n.default})(xl,xl.exports)),xl.exports}var C2=A2();const x2=zm(C2),z2=({appsRef:o,floatRef:n,position:u,xPosition:l,yPosition:d})=>{const[c,f]=k.useState(JSON.parse(localStorage.getItem("applinks"))),[p,h]=k.useState(localStorage.getItem("appsPinned")==="true"?"visible":"hidden"),[y,_]=k.useState(localStorage.getItem("refresh")==="false"?"-200px":"-130px"),[g,b]=k.useState(localStorage.getItem("appsPinned")==="true"),[S,C]=k.useState("1.2rem"),x=()=>{C(Number((localStorage.getItem("zoomNavbar")||100)/100*1.2)+"rem")};k.useEffect(()=>{const L=G=>{if(G==="navbar"){f(JSON.parse(localStorage.getItem("applinks")));try{x()}catch{}}};return x(),ve.on("refresh",L),()=>{ve.off("refresh",L)}},[]);const A=()=>{b(!0)},j=()=>{b(localStorage.getItem("AppsPinned")==="true")},z=c;return w.jsxs("div",{className:"notes",onMouseLeave:j,onFocus:A,children:[w.jsx("button",{className:"navbarButton",onMouseEnter:A,onFocus:A,onBlur:j,ref:o,style:{fontSize:S},children:w.jsx(q_,{className:"topicons"})}),g&&w.jsxs("span",{className:"notesContainer",ref:n,style:{position:u,top:d??"44px",left:l??""},children:[w.jsx("div",{className:"flexTodo",children:w.jsxs("div",{className:"topBarNotes",style:{display:"flex"},children:[w.jsx(q_,{}),w.jsx("span",{children:pe.getMessage("widgets.navbar.apps.title")})]})}),z.length>0?w.jsx("div",{className:"appsShortcutContainer",children:z.map((L,G)=>w.jsx(ht,{title:L.name.split(" ")[0],subtitle:L.name.split(" ").slice(1).join(" "),children:w.jsxs("a",{href:L.url,className:"appsIcon",children:[w.jsx("img",{src:L.icon===""?ly(L.url,L.name):L.icon,width:"40px",height:"40px",alt:"Google"}),w.jsx("span",{children:L.name})]})},G))}):w.jsx("div",{className:"todosEmpty",children:w.jsxs("div",{className:"emptyNewMessage",children:[w.jsx(qb,{}),w.jsx("span",{className:"title",children:pe.language.getMessage(pe.languagecode,"widgets.navbar.apps.no_apps")})]})})]})]})};function T2(){const[o,n]=k.useState(null),{x:u,y:l,refs:d,strategy:c}=cu({placement:"bottom",middleware:[mu()],elements:{reference:o}});return w.jsx(z2,{appsRef:n,floatRef:d.setFloating,position:c,xPosition:u,yPosition:l})}const N2=k.memo(T2),E2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)==="true"),l=k.useCallback(()=>{const c=!n;if(localStorage.setItem(o.name,c),u(c),o.onChange&&o.onChange(c),pe.stats.postEvent("setting",`${o.name} ${c?"enabled":"disabled"}`),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)},[n,o]),d=k.useCallback(c=>{(c.key===" "||c.key==="Enter")&&!o.disabled&&(c.preventDefault(),l())},[l,o.disabled]);return w.jsxs("div",{className:`checkbox-wrapper ${o.disabled?"disabled":""}`,children:[w.jsx("span",{className:"checkbox-label",children:o.text}),w.jsx("input",{type:"checkbox",name:o.name,checked:n,onChange:l,disabled:o.disabled||!1,className:"checkbox-input","aria-label":o.text,onKeyDown:d}),w.jsx("div",{className:`checkbox-box ${n?"checked":""}`,children:n&&w.jsx(Nm,{})})]})});E2.displayName="Checkbox";function j2({label:o,options:n,onChange:u}){let l=(localStorage.getItem("apiCategories")||"").split(",");l[0]===""&&(l=[]);const[d,c]=k.useState(l),[f,p]=k.useState(!1),h=k.useRef(null);k.useEffect(()=>{const g=b=>{h.current&&!h.current.contains(b.target)&&p(!1)};return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[]);const y=g=>{let b;d.includes(g)?b=d.filter(S=>S!==g):b=[...d,g],c(b),localStorage.setItem("apiCategories",b.join(",")),u&&u(b)},_=(g,b)=>{g.stopPropagation(),y(b)};return w.jsxs("div",{className:"chipSelect",ref:h,children:[o&&w.jsx("label",{className:"chipSelect-label",children:o}),w.jsxs("div",{className:"chipSelect-control",onClick:()=>p(!f),children:[w.jsx("div",{className:"chipSelect-value",children:d.length===0?w.jsx("span",{className:"chipSelect-placeholder",children:"Select options..."}):w.jsx("div",{className:"chipSelect-chips",children:d.map(g=>w.jsxs("span",{className:"chipSelect-chip",children:[g.charAt(0).toUpperCase()+g.slice(1),w.jsx("button",{type:"button",className:"chipSelect-chip-remove",onClick:b=>_(b,g),children:w.jsx(Is,{})})]},g))})}),w.jsx(Eb,{className:`chipSelect-arrow ${f?"open":""}`})]}),f&&w.jsx("div",{className:"chipSelect-dropdown",children:n.map(g=>w.jsxs("div",{className:`chipSelect-option ${d.includes(g.name)?"selected":""}`,onClick:()=>y(g.name),children:[w.jsx("span",{className:"chipSelect-option-checkbox",children:d.includes(g.name)&&"✓"}),w.jsxs("span",{className:"chipSelect-option-label",children:[g.name.charAt(0).toUpperCase()+g.name.slice(1),g.count&&` (${g.count})`]})]},g.name))})]})}k.memo(j2);const D2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)||o.items[0]?.value),[l,d]=k.useState(!1),[c,f]=k.useState(-1),p=k.useRef(null),h=k.useRef([]);k.useEffect(()=>{const A=j=>{p.current&&!p.current.contains(j.target)&&(d(!1),f(-1))};return document.addEventListener("mousedown",A),()=>document.removeEventListener("mousedown",A)},[]);const y=k.useCallback(A=>{if(A!==pe.getMessage("modals.main.loading")){if(pe.stats.postEvent("setting",`${o.name} from ${n} to ${A}`),u(A),d(!1),f(-1),o.noSetting||(localStorage.setItem(o.name,A),localStorage.setItem(o.name2,o.value2)),o.onChange&&o.onChange(A),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)}},[n,o]),_=k.useCallback(A=>{if(!o.disabled)switch(A.key){case"Enter":case" ":A.preventDefault(),d(!l);break;case"Escape":d(!1),f(-1);break;case"ArrowDown":A.preventDefault(),l?f(j=>j<o.items.filter(z=>z!==null).length-1?j+1:j):d(!0);break;case"ArrowUp":A.preventDefault(),l&&f(j=>j>0?j-1:j);break}},[l,o.items,o.disabled]),g=k.useCallback((A,j)=>{(A.key==="Enter"||A.key===" ")&&(A.preventDefault(),y(j.value))},[y]),b=k.useCallback(()=>{const A=o.default||o.items[0]?.value;y(A),De(pe.getMessage("toasts.reset"))},[y,o.default,o.items]),S="dropdown"+o.name,C=o.label||"",x=o.items.find(A=>A?.value===n);return w.jsxs("div",{className:`dropdown ${S} ${o.disabled?"disabled":""}`,ref:p,children:[C&&w.jsxs("div",{className:"dropdown-header",children:[w.jsx("label",{className:"dropdown-label",children:C}),w.jsxs("span",{className:"dropdown-reset",onClick:b,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsxs("div",{className:"dropdown-control",onClick:()=>!o.disabled&&d(!l),onKeyDown:_,role:"button","aria-haspopup":"listbox","aria-expanded":l,"aria-label":C||o.name,tabIndex:o.disabled?-1:0,children:[w.jsx("span",{className:"dropdown-value",children:x?.text||n}),w.jsx(Eb,{className:`dropdown-arrow ${l?"open":""}`})]}),l&&w.jsx("div",{className:"dropdown-menu",role:"listbox",children:o.items.map((A,j)=>A!==null?w.jsxs("div",{ref:z=>h.current[j]=z,className:`dropdown-option ${n===A.value?"selected":""} ${j===c?"focused":""}`,onClick:()=>y(A.value),onKeyDown:z=>g(z,A),role:"option","aria-selected":n===A.value,tabIndex:0,children:[w.jsx("span",{className:"dropdown-option-text",children:A.text}),n===A.value&&w.jsx(Nm,{className:"dropdown-option-check"})]},S+A.value):null)})]})});D2.displayName="Dropdown";var Rl={exports:{}},O2=Rl.exports,yv;function q2(){return yv||(yv=1,(function(o,n){(function(u,l){o.exports=l()})(O2,(function(){return(function(u){var l={};function d(c){if(l[c])return l[c].exports;var f=l[c]={i:c,l:!1,exports:{}};return u[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}return d.m=u,d.c=l,d.d=function(c,f,p){d.o(c,f)||Object.defineProperty(c,f,{enumerable:!0,get:p})},d.r=function(c){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},d.t=function(c,f){if(1&f&&(c=d(c)),8&f||4&f&&typeof c=="object"&&c&&c.__esModule)return c;var p=Object.create(null);if(d.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:c}),2&f&&typeof c!="string")for(var h in c)d.d(p,h,function(y){return c[y]}.bind(null,h));return p},d.n=function(c){var f=c&&c.__esModule?function(){return c.default}:function(){return c};return d.d(f,"a",f),f},d.o=function(c,f){return Object.prototype.hasOwnProperty.call(c,f)},d.p="",d(d.s=0)})([function(u,l,d){var c;function f(H){return["image/png","image/jpeg","image/gif"].some(D=>D===H)}d.r(l),d.d(l,"canvastoDataURL",(function(){return h})),d.d(l,"canvastoFile",(function(){return y})),d.d(l,"dataURLtoFile",(function(){return g})),d.d(l,"dataURLtoImage",(function(){return b})),d.d(l,"downloadFile",(function(){return S})),d.d(l,"filetoDataURL",(function(){return C})),d.d(l,"imagetoCanvas",(function(){return A})),d.d(l,"urltoBlob",(function(){return j})),d.d(l,"urltoImage",(function(){return z})),d.d(l,"compress",(function(){return G})),d.d(l,"compressAccurately",(function(){return Z})),d.d(l,"EImageType",(function(){return c})),(function(H){H.PNG="image/png",H.JPEG="image/jpeg",H.GIF="image/gif"})(c||(c={}));var p=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function h(H,D=.92,q=c.JPEG){return p(this,void 0,void 0,(function*(){return f(q)||(q=c.JPEG),H.toDataURL(q,D)}))}function y(H,D=.92,q=c.JPEG){return new Promise(V=>H.toBlob($=>V($),q,D))}var _=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function g(H,D){return _(this,void 0,void 0,(function*(){const q=H.split(",");let V=q[0].match(/:(.*?);/)[1];const $=atob(q[1]);let W=$.length;const ee=new Uint8Array(W);for(;W--;)ee[W]=$.charCodeAt(W);return f(D)&&(V=D),new Blob([ee],{type:V})}))}function b(H){return new Promise((D,q)=>{const V=new Image;V.onload=()=>D(V),V.onerror=()=>q(new Error("dataURLtoImage(): dataURL is illegal")),V.src=H})}function S(H,D){const q=document.createElement("a");q.href=window.URL.createObjectURL(H),q.download=D||Date.now().toString(36),document.body.appendChild(q);const V=document.createEvent("MouseEvents");V.initEvent("click",!1,!1),q.dispatchEvent(V),document.body.removeChild(q)}function C(H){return new Promise(D=>{const q=new FileReader;q.onloadend=V=>D(V.target.result),q.readAsDataURL(H)})}var x=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function A(H,D={}){return x(this,void 0,void 0,(function*(){const q=Object.assign({},D),V=document.createElement("canvas"),$=V.getContext("2d");let W,ee;for(const ae in q)Object.prototype.hasOwnProperty.call(q,ae)&&(q[ae]=Number(q[ae]));if(q.scale){const ae=q.scale>0&&q.scale<10?q.scale:1;ee=H.width*ae,W=H.height*ae}else ee=q.width||q.height*H.width/H.height||H.width,W=q.height||q.width*H.height/H.width||H.height;switch([5,6,7,8].some(ae=>ae===q.orientation)?(V.height=ee,V.width=W):(V.height=W,V.width=ee),q.orientation){case 3:$.rotate(180*Math.PI/180),$.drawImage(H,-V.width,-V.height,V.width,V.height);break;case 6:$.rotate(90*Math.PI/180),$.drawImage(H,0,-V.width,V.height,V.width);break;case 8:$.rotate(270*Math.PI/180),$.drawImage(H,-V.height,0,V.height,V.width);break;case 2:$.translate(V.width,0),$.scale(-1,1),$.drawImage(H,0,0,V.width,V.height);break;case 4:$.translate(V.width,0),$.scale(-1,1),$.rotate(180*Math.PI/180),$.drawImage(H,-V.width,-V.height,V.width,V.height);break;case 5:$.translate(V.width,0),$.scale(-1,1),$.rotate(90*Math.PI/180),$.drawImage(H,0,-V.width,V.height,V.width);break;case 7:$.translate(V.width,0),$.scale(-1,1),$.rotate(270*Math.PI/180),$.drawImage(H,-V.height,0,V.height,V.width);break;default:$.drawImage(H,0,0,V.width,V.height)}return V}))}function j(H){return fetch(H).then(D=>D.blob())}function z(H){return new Promise((D,q)=>{const V=new Image;V.onload=()=>D(V),V.onerror=()=>q(new Error("urltoImage(): Image failed to load, please check the image URL")),V.src=H})}var L=function(H,D,q,V){return new(q||(q=Promise))((function($,W){function ee(Y){try{X(V.next(Y))}catch(I){W(I)}}function ae(Y){try{X(V.throw(Y))}catch(I){W(I)}}function X(Y){var I;Y.done?$(Y.value):(I=Y.value,I instanceof q?I:new q((function(T){T(I)}))).then(ee,ae)}X((V=V.apply(H,[])).next())}))};function G(H,D={}){return L(this,void 0,void 0,(function*(){if(!(H instanceof Blob))throw new Error("compress(): First arg must be a Blob object or a File object.");if(typeof D!="object"&&(D=Object.assign({quality:D})),D.quality=Number(D.quality),Number.isNaN(D.quality))return H;const q=yield C(H);let V=q.split(",")[0].match(/:(.*?);/)[1],$=c.JPEG;f(D.type)&&($=D.type,V=D.type);const W=yield b(q),ee=yield A(W,Object.assign({},D)),ae=yield h(ee,D.quality,$),X=yield g(ae,V);return X.size>H.size?H:X}))}function Z(H,D={}){return L(this,void 0,void 0,(function*(){if(!(H instanceof Blob))throw new Error("compressAccurately(): First arg must be a Blob object or a File object.");if(typeof D!="object"&&(D=Object.assign({size:D})),D.size=Number(D.size),Number.isNaN(D.size)||1024*D.size>H.size)return H;D.accuracy=Number(D.accuracy),(!D.accuracy||D.accuracy<.8||D.accuracy>.99)&&(D.accuracy=.95);const q=D.size*(2-D.accuracy)*1024,V=1024*D.size,$=D.size*D.accuracy*1024,W=yield C(H);let ee=W.split(",")[0].match(/:(.*?);/)[1],ae=c.JPEG;f(D.type)&&(ae=D.type,ee=D.type);const X=yield b(W),Y=yield A(X,Object.assign({},D));let I,T=.5;const K=[null,null];for(let ne=1;ne<=7;ne++){I=yield h(Y,T,ae);const ye=.75*I.length;if(ne===7){(q<ye||$>ye)&&(I=[I,...K].filter(Ce=>Ce).sort((Ce,Ve)=>Math.abs(.75*Ce.length-V)-Math.abs(.75*Ve.length-V))[0]);break}if(q<ye)K[1]=I,T-=Math.pow(.5,ne+1);else{if(!($>ye))break;K[0]=I,T+=Math.pow(.5,ne+1)}}const ie=yield g(I,ee);return ie.size>H.size?H:ie}))}}])}))})(Rl)),Rl.exports}var dm,kv;function R2(){return kv||(kv=1,dm=q2()),dm}var wv=R2();const B2=k.memo(({id:o,type:n,accept:u,loadFunction:l,multiple:d})=>(k.useEffect(()=>{const c=document.getElementById(o);if(!c)return;const f=p=>{const h=Array.from(p.target.files);if(n==="settings"){const y=new FileReader,_=h[0];y.readAsText(_,"UTF-8"),y.onload=g=>l(g.target.result)}else if(typeof l=="function"&&l.length===1)l(h);else{const y={};Object.keys(localStorage).forEach(g=>{y[g]=localStorage.getItem(g)});const _=new TextEncoder().encode(JSON.stringify(y)).length;h.forEach((g,b)=>{if(Lb(g.type)===!0)return _+g.size>485e4?De(pe.getMessage("toasts.no_storage")):l(g,b);wv.compressAccurately(g,{size:450,accuracy:.9}).then(async S=>{if(_+S.size>485e4)return De(pe.getMessage("toasts.no_storage"));l({target:{result:await wv.filetoDataURL(S)}},b)})})}};return c.onchange=f,()=>{c&&(c.onchange=null)}},[o,n,l,d]),w.jsx("input",{id:o,type:"file",style:{display:"none"},accept:u,multiple:d!==void 0?d:n!=="settings"})));B2.displayName="FileUpload";const L2=k.memo(o=>{const{changeLanguage:n}=zb(),[u,l]=k.useState(localStorage.getItem(o.name)),d=k.useCallback(async c=>{if(c!=="loading"){if(o.name==="language"){n(c),l(c),pe.stats.postEvent("setting",`${o.name} from ${u} to ${c}`),o.onChange&&o.onChange(c),ve.emit("refresh",o.category);return}if(localStorage.setItem(o.name,c),l(c),o.onChange&&o.onChange(c),pe.stats.postEvent("setting",`${o.name} from ${u} to ${c}`),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)}},[u,o,n]);return w.jsxs("div",{className:"radio-group",children:[o.title&&w.jsx("legend",{className:o.smallTitle?"radio-title-small":"radio-title",children:o.title}),w.jsx("div",{className:"radio-options",role:"radiogroup","aria-label":o.name,children:o.options.map(c=>w.jsxs("label",{className:`radio-option ${u===c.value?"selected":""} ${c.disabled||o.disabled?"disabled":""}`,children:[w.jsx("span",{className:"radio-label",children:c.name}),w.jsx("input",{type:"radio",name:o.name,value:c.value,checked:u===c.value,onChange:()=>d(c.value),disabled:c.disabled||o.disabled||!1,className:"radio-input","aria-label":c.name,tabIndex:0}),w.jsx("div",{className:"radio-circle",children:u===c.value&&w.jsx("div",{className:"radio-dot"})})]},c.value))})]})});L2.displayName="Radio";const I2=k.memo(({value:o,onChange:n,placeholder:u,fullWidth:l})=>w.jsxs("div",{className:`search-input-container${l?" full-width":""}`,children:[w.jsx(Em,{className:"search-input-icon"}),w.jsx("input",{type:"text",className:"search-input-field",value:o,onChange:n,placeholder:u})]}));I2.displayName="SearchInput";const U2=k.memo(o=>{const[n,u]=k.useState(localStorage.getItem(o.name)==="true"),l=k.useCallback(()=>{const c=!n;if(localStorage.setItem(o.name,c),u(c),o.onChange&&o.onChange(c),pe.stats.postEvent("setting",`${o.name} ${n?"enabled":"disabled"}`),o.element&&!document.querySelector(o.element)){Nn();return}ve.emit("refresh",o.category)},[n,o]),d=o.text||o.title||o.name;return w.jsxs("div",{className:"switch-wrapper",children:[!o.header&&w.jsx("span",{className:"switch-label",children:o.text}),w.jsx("div",{className:`switch-track ${n?"checked":""}`,onClick:l,"aria-hidden":"true",children:w.jsx("div",{className:"switch-thumb"})}),w.jsx("input",{type:"checkbox",role:"switch",name:o.name,checked:n,onChange:l,className:"switch-input","aria-label":d})]})});U2.displayName="Switch";const P2=k.memo(o=>{const{name:n,upperCaseFirst:u,element:l,category:d,onChange:c,title:f,textarea:p,customcss:h,placeholder:y}=o,_=o.default,[g,b]=k.useState(localStorage.getItem(n)||""),S=k.useCallback(x=>{let A=x.target.value;if(u===!0&&(A=A.charAt(0).toUpperCase()+A.slice(1)),localStorage.setItem(n,A),b(A),c&&c(A),l&&!document.querySelector(l)){Nn();return}ve.emit("refresh",d)},[n,u,l,d,c]),C=k.useCallback(()=>{S({target:{value:_||""}}),De(pe.getMessage("toasts.reset"))},[S,_]);return w.jsx("div",{className:"text-field-container",children:p===!0?w.jsxs("div",{className:`text-field ${h?"customcss":""}`,children:[f&&w.jsxs("div",{className:"text-field-header",children:[w.jsx("label",{className:"text-field-label",children:f}),w.jsxs("span",{className:"text-field-reset",onClick:C,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsx("textarea",{value:g,onChange:S,spellCheck:!1,rows:4,className:"text-field-textarea"})]}):w.jsxs("div",{className:"text-field",children:[f&&w.jsxs("div",{className:"text-field-header",children:[w.jsx("label",{className:"text-field-label",children:f}),w.jsxs("span",{className:"text-field-reset",onClick:C,children:[w.jsx(Ls,{}),pe.getMessage("modals.main.settings.buttons.reset")]})]}),w.jsx("input",{type:"text",value:g,onChange:S,placeholder:y||"",className:"text-field-input"})]})})});P2.displayName="Text";const Im=k.memo(({value:o,onChange:n,placeholder:u,minRows:l=1,maxRows:d,className:c,style:f,readOnly:p})=>{const h=k.useRef(null),y=k.useCallback(()=>{const _=h.current;if(!_)return;_.style.height="auto";const g=window.getComputedStyle(_),b=parseInt(g.lineHeight)||24,S=parseInt(g.paddingTop)||0,C=parseInt(g.paddingBottom)||0,x=l*b+S+C,A=d?d*b+S+C:1/0,j=Math.min(Math.max(_.scrollHeight,x),A);_.style.height=`${j}px`},[l,d]);return k.useEffect(()=>{y()},[o,y]),k.useEffect(()=>(y(),window.addEventListener("resize",y),()=>window.removeEventListener("resize",y)),[y]),w.jsx("textarea",{ref:h,className:`textarea-autosize${c?` ${c}`:""}`,value:o,onChange:n,placeholder:u,style:f,readOnly:p,rows:l})});Im.displayName="Textarea";const H2=({notesRef:o,floatRef:n,position:u,xPosition:l,yPosition:d})=>{const c=Qo(),[f,p]=k.useState(localStorage.getItem("notes")||""),[h,y]=k.useState(localStorage.getItem("notesPinned")==="true"),[_,g]=k.useState("1.2rem");k.useEffect(()=>{const z=L=>{L==="navbar"&&g(Number((localStorage.getItem("zoomNavbar")||100)/100*1.2)+"rem")};return g(Number((localStorage.getItem("zoomNavbar")||100)/100*1.2)+"rem"),ve.on("refresh",z),()=>{ve.off("refresh",z)}},[]);const b=z=>{localStorage.setItem("notes",z.target.value),p(z.target.value)},S=()=>{y(!0)},C=()=>{y(localStorage.getItem("notesPinned")==="true")},x=()=>{pe.stats.postEvent("feature","Notes pin");const z=localStorage.getItem("notesPinned")==="true";localStorage.setItem("notesPinned",!z),y(!z)},A=()=>{pe.stats.postEvent("feature","Notes copied"),navigator.clipboard.writeText(f),De(c("toasts.notes"))},j=()=>{!f||f===""||(pe.stats.postEvent("feature","Notes download"),Xx(f,"mue-notes.txt","text/plain"))};return w.jsxs("div",{className:"notes",onMouseLeave:C,onFocus:S,children:[w.jsx("button",{className:"navbarButton",onMouseEnter:S,onFocus:S,onBlur:C,ref:o,style:{fontSize:_},"aria-label":c("widgets.navbar.notes.title"),children:w.jsx(O_,{className:"topicons"})}),h&&w.jsx("span",{className:"notesContainer",ref:n,style:{position:u,top:d??"44",left:l??""},children:w.jsxs("div",{className:"flexNotes",children:[w.jsxs("div",{className:"topBarNotes",style:{display:"flex"},children:[w.jsx(O_,{}),w.jsx("span",{children:c("widgets.navbar.notes.title")})]}),w.jsxs("div",{className:"notes-buttons",children:[w.jsx(ht,{title:c("widgets.navbar.todo.pin"),children:w.jsx("button",{onClick:x,children:w.jsx(Ob,{})})}),w.jsx(ht,{title:c("widgets.quote.copy"),children:w.jsx("button",{onClick:A,disabled:f==="",children:w.jsx(NA,{})})}),w.jsx(ht,{title:c("widgets.background.download"),children:w.jsx("button",{onClick:j,disabled:f==="",children:w.jsx(CA,{})})})]}),w.jsx(Im,{placeholder:c("widgets.navbar.notes.placeholder"),value:f,onChange:b,minRows:5})]})})]})};function F2(){const[o,n]=k.useState(null),{x:u,y:l,refs:d,strategy:c}=cu({placement:"bottom",middleware:[mu()],elements:{reference:o}});return w.jsx(H2,{notesRef:n,floatRef:d.setFloating,position:c,xPosition:u,yPosition:l})}const V2=k.memo(F2);function G2(){for(var o=arguments.length,n=new Array(o),u=0;u<o;u++)n[u]=arguments[u];return k.useMemo(()=>l=>{n.forEach(d=>d(l))},n)}const pu=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function En(o){const n=Object.prototype.toString.call(o);return n==="[object Window]"||n==="[object global]"}function Um(o){return"nodeType"in o}function Wt(o){var n,u;return o?En(o)?o:Um(o)&&(n=(u=o.ownerDocument)==null?void 0:u.defaultView)!=null?n:window:window}function Pm(o){const{Document:n}=Wt(o);return o instanceof n}function Xs(o){return En(o)?!1:o instanceof Wt(o).HTMLElement}function _y(o){return o instanceof Wt(o).SVGElement}function jn(o){return o?En(o)?o.document:Um(o)?Pm(o)?o:Xs(o)||_y(o)?o.ownerDocument:document:document:document}const Za=pu?k.useLayoutEffect:k.useEffect;function Hm(o){const n=k.useRef(o);return Za(()=>{n.current=o}),k.useCallback(function(){for(var u=arguments.length,l=new Array(u),d=0;d<u;d++)l[d]=arguments[d];return n.current==null?void 0:n.current(...l)},[])}function K2(){const o=k.useRef(null),n=k.useCallback((l,d)=>{o.current=setInterval(l,d)},[]),u=k.useCallback(()=>{o.current!==null&&(clearInterval(o.current),o.current=null)},[]);return[n,u]}function Vs(o,n){n===void 0&&(n=[o]);const u=k.useRef(o);return Za(()=>{u.current!==o&&(u.current=o)},n),u}function Js(o,n){const u=k.useRef();return k.useMemo(()=>{const l=o(u.current);return u.current=l,l},[...n])}function Ql(o){const n=Hm(o),u=k.useRef(null),l=k.useCallback(d=>{d!==u.current&&n?.(d,u.current),u.current=d},[]);return[u,l]}function Sm(o){const n=k.useRef();return k.useEffect(()=>{n.current=o},[o]),n.current}let cm={};function $s(o,n){return k.useMemo(()=>{if(n)return n;const u=cm[o]==null?0:cm[o]+1;return cm[o]=u,o+"-"+u},[o,n])}function vy(o){return function(n){for(var u=arguments.length,l=new Array(u>1?u-1:0),d=1;d<u;d++)l[d-1]=arguments[d];return l.reduce((c,f)=>{const p=Object.entries(f);for(const[h,y]of p){const _=c[h];_!=null&&(c[h]=_+o*y)}return c},{...n})}}const xn=vy(1),Gs=vy(-1);function Y2(o){return"clientX"in o&&"clientY"in o}function Fm(o){if(!o)return!1;const{KeyboardEvent:n}=Wt(o.target);return n&&o instanceof n}function W2(o){if(!o)return!1;const{TouchEvent:n}=Wt(o.target);return n&&o instanceof n}function Mm(o){if(W2(o)){if(o.touches&&o.touches.length){const{clientX:n,clientY:u}=o.touches[0];return{x:n,y:u}}else if(o.changedTouches&&o.changedTouches.length){const{clientX:n,clientY:u}=o.changedTouches[0];return{x:n,y:u}}}return Y2(o)?{x:o.clientX,y:o.clientY}:null}const Ks=Object.freeze({Translate:{toString(o){if(!o)return;const{x:n,y:u}=o;return"translate3d("+(n?Math.round(n):0)+"px, "+(u?Math.round(u):0)+"px, 0)"}},Scale:{toString(o){if(!o)return;const{scaleX:n,scaleY:u}=o;return"scaleX("+n+") scaleY("+u+")"}},Transform:{toString(o){if(o)return[Ks.Translate.toString(o),Ks.Scale.toString(o)].join(" ")}},Transition:{toString(o){let{property:n,duration:u,easing:l}=o;return n+" "+u+"ms "+l}}}),Sv="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function Q2(o){return o.matches(Sv)?o:o.querySelector(Sv)}const Z2={display:"none"};function X2(o){let{id:n,value:u}=o;return _e.createElement("div",{id:n,style:Z2},u)}function J2(o){let{id:n,announcement:u,ariaLiveType:l="assertive"}=o;const d={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return _e.createElement("div",{id:n,style:d,role:"status","aria-live":l,"aria-atomic":!0},u)}function $2(){const[o,n]=k.useState("");return{announce:k.useCallback(l=>{l!=null&&n(l)},[]),announcement:o}}const by=k.createContext(null);function ez(o){const n=k.useContext(by);k.useEffect(()=>{if(!n)throw new Error("useDndMonitor must be used within a children of <DndContext>");return n(o)},[o,n])}function tz(){const[o]=k.useState(()=>new Set),n=k.useCallback(l=>(o.add(l),()=>o.delete(l)),[o]);return[k.useCallback(l=>{let{type:d,event:c}=l;o.forEach(f=>{var p;return(p=f[d])==null?void 0:p.call(f,c)})},[o]),n]}const az={draggable:`To pick up a draggable item, press the space bar.While dragging, use the arrow keys to move the item.Press space again to drop the item in its new position, or press escape to cancel.diff --git a/src/chrome/newtab/assets/index-DRYJ4NLv.css b/src/firefox/newtab/assets/index-BmeAAROj.csssimilarity index 77%rename from src/chrome/newtab/assets/index-DRYJ4NLv.cssrename to src/firefox/newtab/assets/index-BmeAAROj.cssindex 6b3358437..0a0ed7dbd 100644--- a/src/chrome/newtab/assets/index-DRYJ4NLv.css+++ b/src/firefox/newtab/assets/index-BmeAAROj.css@@ -1 +1 @@-.photoInformation,.photoInformation .map-concept{backdrop-filter:blur(15px)}.light .photoInformation,.light .photoInformation .map-concept,.photoInformation .light .map-concept{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .photoInformation,.dark .photoInformation .map-concept,.photoInformation .dark .map-concept{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.photoInformation .title{font-size:18px}.light .photoInformation .title,.photoInformation .light .map-concept .title{color:#000}.dark .photoInformation .title,.photoInformation .dark .map-concept .title{color:#fff}.photoInformation .subtitle{font-size:14px}.light .photoInformation .subtitle,.photoInformation .light .map-concept .subtitle{color:#333}.dark .photoInformation .subtitle,.photoInformation .dark .map-concept .subtitle{color:#a0a0a0}.photoInformationHolder{position:absolute;bottom:1rem;left:1rem;flex-flow:column-reverse;display:flex}.photoInformationHolder:hover .photoInformation{height:auto;align-items:flex-start;flex-flow:column}.photoInformationHolder:hover .photoInformation .buttons{padding:30px 0 0;display:flex}.photoInformationHolder:hover .photoInformation .extra-content{margin-top:10px;display:grid;grid-template-columns:auto auto;gap:10px;transition:.8s}.photoInformationHolder:hover .photoInformation .stats{display:flex;padding-top:5px;gap:20px}.light .photoInformationHolder:hover .photoInformation .stats{color:#333}.dark .photoInformationHolder:hover .photoInformation .stats{color:#a0a0a0}.photoInformationHolder:hover .photoInformation .stats div{display:flex;align-items:center;align-content:center;flex-direction:row;gap:5px}.photoInformationHolder:hover .photoInformation .stats div svg{font-size:1em}.photoInformationHolder:hover .photoInformation .copyright{display:flex;margin-top:10px;gap:10px}.photoInformationHolder:hover .photoInformation .copyright a{text-decoration:none}.light .photoInformationHolder:hover .photoInformation .copyright a{color:#333}.dark .photoInformationHolder:hover .photoInformation .copyright a{color:#a0a0a0}.photoInformationHolder:hover .photoInformation .photoInformation-content{padding:20px 20px 20px 0}.photoInformationHolder:hover .photoInformation .map-concept{width:100%}.mapOn{width:100%;height:150px;display:flex;justify-content:center;align-items:center;overflow:hidden}.mapOn img{flex-shrink:0;min-width:100%;min-height:100%}.mapOn svg{display:none}.photoInformation-legacy{font-size:1.36em;text-shadow:0 0 10px rgba(0,0,0,.3);color:#fff;z-index:99;user-select:none;cursor:initial;font-weight:bolder}.photoInformation-legacy svg{font-size:1.36em}.photoInformation-legacy:hover .infoCard{display:block!important}.photoInformation-legacy{display:flex;align-items:center;gap:15px}.photoInformation-legacy svg:hover+.infoCard{display:block}.photoInformation-legacy a{color:#fff;text-decoration:none}.photoInformation-legacy a:hover{text-decoration:underline}.photoInformation-legacy+.photoInformation{animation:none!important}.infoCard{display:none;background:var(--background);box-shadow:0 0 10px #0000004d;color:var(--modal-text);position:fixed;bottom:2.9rem;left:.7em;padding:1rem;border-radius:24px 24px 24px 0;width:300px!important;text-align:left;text-shadow:none}.infoCard svg{margin-right:.5rem;vertical-align:middle;display:inline-flex;padding:2px}.infoCard .locationMap{height:100px;object-fit:cover;width:100%;background-position:center center;background-repeat:no-repeat}.infoCard .mapboxLogo{height:20px;width:auto}.infoCard span,.infoCard svg{font-size:2em}.infoCard span{user-select:text}.infoCard h1,.infoCard .MuiSvgIcon-root{user-select:none;cursor:initial}.infoCard h1,.infoCard .infoIcon{font-size:3em}.infoCard .infoIcon{padding:4px}.infoCard hr{height:3px;background:var(--photo-info);outline:none;border:none}.infoCard:hover,.infoCard span{display:block!important}.infoCard .download{text-decoration:underline;cursor:pointer}.infoCard .download:hover{opacity:.8}.infoCard .mapCopyright{font-size:.9em}.photoInformation{animation:fadeIn 2s;min-width:300px;font-size:.8em;font-weight:300;z-index:99;display:flex;flex-flow:row;align-items:center;transition:.8s cubic-bezier(.075,.82,.165,1);padding:10px}.photoInformation .link{text-decoration:none;cursor:pointer}.light .photoInformation .link,.dark .photoInformation .link{color:#ff5c25}.photoInformation .link:hover{opacity:.8}.photoInformation:hover{padding:20px;height:auto;align-items:flex-start;flex-flow:column}.photoInformation:hover .buttons{padding:30px 0 0;display:flex}.photoInformation:hover .extra-content{display:flex;flex-flow:column;gap:10px;transition:.8s}.photoInformation:hover .stats{display:flex;gap:15px}.light .photoInformation:hover .stats{color:#333}.dark .photoInformation:hover .stats{color:#a0a0a0}.photoInformation:hover .stats div{display:flex;align-items:center;align-content:center;flex-direction:row;gap:10px}.photoInformation:hover .stats div svg{font-size:1em}.photoInformation:hover .copyright{display:flex;margin-top:10px;gap:10px}.photoInformation:hover .copyright a{text-decoration:none}.light .photoInformation:hover .copyright a{color:#333}.dark .photoInformation:hover .copyright a{color:#a0a0a0}.photoInformation:hover .photoInformation-content{padding-left:0}.photoInformation:hover .map-concept{width:100%}.photoInformation .map-concept{height:50px;width:50px;flex-grow:0;flex-shrink:0;border-radius:12px;display:flex;align-items:center;justify-content:center;border:none!important}.photoInformation .map-concept svg{font-size:24px}.photoInformation .map-concept img{width:100%;height:100%;background-repeat:no-repeat;background-size:cover;object-fit:cover;border-radius:12px}.photoInformation .location{font-size:1.9em}.photoInformation .credit{font-size:1.4em}.light .photoInformation .credit{color:#333}.dark .photoInformation .credit{color:#a0a0a0}.light .photoInformation .credit a{color:#333}.dark .photoInformation .credit a{color:#a0a0a0}.photoInformation .credit a:nth-child(2){color:var(--modal-link)}.photoInformation-content{line-height:2em;padding-right:10px;display:flex;flex-flow:row;align-items:center;gap:20px;padding-left:20px;width:100%;justify-content:space-between}.light .photoInformation-content a,.dark .photoInformation-content a{color:#ff5c25}.photoInformation-content a{text-decoration:none}.photoInformation-content a:hover{opacity:.9}.extra-content{display:none;flex-flow:column;width:100%;transition:1s}.extra-content .row{display:flex;align-items:center;gap:20px;font-size:13px}.light .extra-content .row svg{color:#333;font-size:18px}.dark .extra-content .row svg{color:#a0a0a0;font-size:18px}.copyright{display:none}.buttons{align-items:center;gap:20px;padding:20px 20px 0 0;display:none}.light .buttons svg{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .buttons svg:hover{background:#f7fafce6}.light .buttons svg:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .buttons svg:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .buttons svg{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .buttons svg:hover{background:#565656}.dark .buttons svg:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .buttons svg:focus{background:#565656;box-shadow:0 0 0 1px #fff}.buttons svg{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.photoMap img{height:50px!important;width:50px!important}.photoMap a{height:50px}.photoInformation:hover .photoMap,.photoInformation-legacy+.photoInformation .photoMap{height:auto!important}.photoInformation:hover .photoMap img,.photoInformation-legacy+.photoInformation .photoMap img{height:auto!important;width:auto!important}.photoInformation:hover .photoMap a,.photoInformation-legacy+.photoInformation .photoMap a{height:auto!important}.unsplashStats{display:flex;flex-flow:column;justify-content:space-between}.unsplashStats div{display:flex;flex-flow:row;gap:10px;align-items:center}.photoInformation-text{display:flex;flex-flow:column}#backgroundImage{height:100vh;background-size:cover!important;background-repeat:no-repeat!important;background-position:center!important;background-attachment:fixed!important;zoom:100%!important;position:relative;z-index:-2}#backgroundOverlay{position:fixed;top:0;left:0;width:100%;height:100vh;background-size:cover!important;background-repeat:no-repeat!important;background-position:center!important;background-attachment:fixed!important;pointer-events:none;z-index:-1;transition:opacity 1.2s ease-in-out}#backgroundFilterOverlay{position:fixed;top:0;left:0;width:100%;height:100vh;pointer-events:none;z-index:0;transition:backdrop-filter .3s ease-in-out,background-color .3s ease-in-out}.backgroundPreload{opacity:0}#backgroundVideo{position:fixed;right:0;bottom:0;min-width:100%;min-height:100%}.fade-in{animation:fadein .8s ease-in-out}@keyframes fadein{0%{opacity:0}to{opacity:1}}.clockBackground{backdrop-filter:blur(15px)}.light .clockBackground{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .clockBackground{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.clockBackground .title{font-size:18px}.light .clockBackground .title{color:#000}.dark .clockBackground .title{color:#fff}.clockBackground .subtitle{font-size:14px}.light .clockBackground .subtitle{color:#333}.dark .clockBackground .subtitle{color:#a0a0a0}.clock{font-size:4em;margin:0;cursor:initial;user-select:none;font-weight:600;animation:fadeIn 1s;--shadow-shift: .4rem}.ampm{font-size:.5em}.analogclock,.react-clock__face{margin:0 auto;border-radius:100%;border:none!important}.light .analogclock,.light .react-clock__face{border:1px solid rgb(0,0,0)!important}.dark .analogclock,.dark .react-clock__face{border:1px solid rgb(255,255,255)!important}.analogclock,.react-clock__face{cursor:initial;user-select:none}.light .react-clock__hand__body,.light .react-clock__mark__body{background:#000!important}.dark .react-clock__hand__body,.dark .react-clock__mark__body{background:#fff!important}.clockBackground{padding:1rem}.clockBackground.round{border-radius:100%!important}.vertical-clock{line-height:100%;user-select:none;font-size:4em}.vertical-clock .seconds{font-size:7rem;margin:50px;line-height:0}.greeting{margin:0;font-size:1.6em;cursor:initial;user-select:none;font-weight:600}.greeting:not(.preview){animation:fadeIn 1s}.greeting{--shadow-shift: .2rem}.taskBoxForm,.recentChats{backdrop-filter:blur(15px)}.light .taskBoxForm,.light .recentChats{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .taskBoxForm,.dark .recentChats{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.taskBoxForm .title,.recentChats .title{font-size:18px}.light .taskBoxForm .title,.light .recentChats .title{color:#000}.dark .taskBoxForm .title,.dark .recentChats .title{color:#fff}.taskBoxForm .subtitle,.recentChats .subtitle{font-size:14px}.light .taskBoxForm .subtitle,.light .recentChats .subtitle{color:#333}.dark .taskBoxForm .subtitle,.dark .recentChats .subtitle{color:#a0a0a0}.taskBox{width:min(640px,90vw);margin-top:1.5rem;display:flex;flex-flow:column;align-items:stretch;gap:.6rem;font-size:1rem;animation:fadeIn 1s}.taskBoxForm{display:flex;align-items:center;gap:.5rem;padding:6px 6px 6px 18px;border-radius:18px}.taskBoxInput:disabled{cursor:progress;opacity:.6}.taskBoxInput{flex:1;min-width:0;border:none;outline:none;background:transparent;color:inherit;font-size:1.15rem;padding:10px 0}.taskBoxInput::placeholder{opacity:.65;color:inherit}.light .taskBoxGo{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .taskBoxGo:hover{background:#f7fafce6}.light .taskBoxGo:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .taskBoxGo:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .taskBoxGo{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .taskBoxGo:hover{background:#565656}.dark .taskBoxGo:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .taskBoxGo:focus{background:#565656;box-shadow:0 0 0 1px #fff}.taskBoxGo{padding:10px;font-size:1.3rem;border:none;outline:none;transition:.5s;display:grid;place-items:center;cursor:pointer}.taskBoxGo:disabled{opacity:.4;cursor:default}.taskBoxModes{display:flex;justify-content:center;gap:6px}.light .taskBoxMode{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .taskBoxMode:hover{background:#f7fafce6}.light .taskBoxMode:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .taskBoxMode:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .taskBoxMode{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .taskBoxMode:hover{background:#565656}.dark .taskBoxMode:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .taskBoxMode:focus{background:#565656;box-shadow:0 0 0 1px #fff}.taskBoxMode{font-size:.95rem;border:none;outline:none;transition:.5s;display:grid;place-items:center;display:inline-flex;align-items:center;gap:6px;padding:6px 14px;cursor:pointer;opacity:.75}.taskBoxMode.active{opacity:1;box-shadow:0 0 0 1px currentcolor}.taskBoxHint{text-align:center;font-size:.85rem;opacity:.8}.taskBoxError{opacity:1}.recentChats{width:min(640px,90vw);margin-top:1rem;padding:12px 18px;border-radius:18px;font-size:.95rem;text-align:left}.recentChats .recentChatsHeader{display:flex;justify-content:space-between;margin-bottom:6px;font-weight:600}.recentChats .recentChatsHeader a{font-weight:400;opacity:.75}.recentChats ul{margin:0;padding:0;list-style:none}.recentChats li a{display:block;padding:4px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recentChats a{color:inherit;text-decoration:none}.recentChats a:hover{text-decoration:underline}.recentChats .recentChatsEmpty{opacity:.7}.tooltipTitle,#root .tooltipTitle{backdrop-filter:blur(15px)}.light .tooltipTitle,.light #root .tooltipTitle,#root .light .tooltipTitle{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .tooltipTitle,.dark #root .tooltipTitle,#root .dark .tooltipTitle{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.tooltipTitle .title,#root .tooltipTitle .title{font-size:18px}.light .tooltipTitle .title,.light #root .tooltipTitle .title,#root .light .tooltipTitle .title{color:#000}.dark .tooltipTitle .title,.dark #root .tooltipTitle .title,#root .dark .tooltipTitle .title{color:#fff}.tooltipTitle .subtitle,#root .tooltipTitle .subtitle{font-size:14px}.light .tooltipTitle .subtitle,.light #root .tooltipTitle .subtitle,#root .light .tooltipTitle .subtitle{color:#333}.dark .tooltipTitle .subtitle,.dark #root .tooltipTitle .subtitle,#root .dark .tooltipTitle .subtitle{color:#a0a0a0}.tooltip{position:relative;display:grid}@keyframes floating{0%{transform:translateY(-5px);opacity:0}to{transform:translateY(-0);opacity:1}}.tooltipTitle{text-align:center;font-size:.6rem;padding:5px 10px;position:absolute;z-index:1;cursor:initial;user-select:none;opacity:1;transition:opacity .2s ease-out,transform .2s ease-out}.tooltipTitle[data-status=initial]{opacity:0}.tooltipTitle[data-status=open]{opacity:1;transform:translate(0);animation-name:floating;animation-duration:.3s;animation-timing-function:ease-in}.tooltipTitle[data-status=close]{opacity:0}.tooltipTitle[data-status=close][data-placement^=top]{transform:translateY(5px)}.tooltipTitle[data-status=close][data-placement^=bottom]{transform:translateY(-5px)}.tooltipTitle[data-status=close][data-placement^=left]{transform:translate(5px)}.tooltipTitle[data-status=close][data-placement^=right]{transform:translate(-5px)}.light #modal .tooltipTitle{background:#feffff;box-shadow:0 0 0 1px #f5f5f5;color:#000}.dark #modal .tooltipTitle{background:#151515;box-shadow:0 0 0 1px #262626;color:#fff}.tooltipTitle:before{transform:scale3d(.2,.2,1);transition:all .2s ease-in-out}.tooltipTitle:after{transform:translate3d(0,6px,0);transition:all .1s ease-in-out}.tooltipTitle:hover:before,.tooltipTitle:hover:after{opacity:1;transform:scaleZ(1)}.tooltipTitle:hover:after{transition:all .2s .1s ease-in-out}#arrow{position:absolute;background:#333;width:8px;height:8px;transform:rotate(45deg)}.infoTooltip{position:relative;display:grid}.infoTooltip svg{cursor:pointer}.light .infoTooltip svg:hover{color:#000}.dark .infoTooltip svg:hover{color:#fff}#floating{transition-property:opacity,transform}#floating[data-status=open],#floating[data-status=close]{transition-duration:.25s}#floating[data-status=initial],#floating[data-status=close]{opacity:0}#floating[data-status=initial][data-placement^=top],#floating[data-status=close][data-placement^=top]{transform:translateY(5px)}#floating[data-status=initial][data-placement^=bottom],#floating[data-status=close][data-placement^=bottom]{transform:translateY(-5px)}#floating[data-status=initial][data-placement^=left],#floating[data-status=close][data-placement^=left]{transform:translate(5px)}#floating[data-status=initial][data-placement^=right],#floating[data-status=close][data-placement^=right]{transform:translate(-5px)}.reminder-info .mainTitle,.light .modalTabContent .mainTitle,.dark .modalTabContent .mainTitle{display:flex;align-items:center;font-size:38px;font-weight:600;margin-bottom:15px;text-transform:capitalize}.light .reminder-info .mainTitle,.light .modalTabContent .mainTitle{color:#000}.dark .reminder-info .mainTitle,.dark .modalTabContent .mainTitle{color:#fff}.reminder-info .mainTitle .backTitle,.light .modalTabContent .mainTitle .backTitle,.dark .modalTabContent .mainTitle .backTitle{cursor:pointer;transition:.5s}.light .reminder-info .mainTitle .backTitle,.light .modalTabContent .mainTitle .backTitle{color:#333}.light .reminder-info .mainTitle .backTitle:hover,.light .modalTabContent .mainTitle .backTitle:hover{color:#000}.dark .reminder-info .mainTitle .backTitle,.dark .modalTabContent .mainTitle .backTitle{color:#a0a0a0}.dark .reminder-info .mainTitle .backTitle:hover,.dark .modalTabContent .mainTitle .backTitle:hover{color:#fff}.reminder-info .title,.light .modalTabContent .title,.dark .modalTabContent .title{font-size:24px;font-weight:600}.light .reminder-info .title,.light .modalTabContent .title{color:#000}.dark .reminder-info .title,.dark .modalTabContent .title{color:#fff}.reminder-info .subtitle,.light .modalTabContent .subtitle,.dark .modalTabContent .subtitle{font-size:16px;font-family:Inter,sans-serif!important}.light .reminder-info .subtitle,.light .modalTabContent .subtitle{color:#333}.dark .reminder-info .subtitle,.dark .modalTabContent .subtitle{color:#a0a0a0}.reminder-info .link,.light .modalTabContent .link,.dark .modalTabContent .link{font-size:16px;text-decoration:none;cursor:pointer}.light .reminder-info .link,.light .modalTabContent .link,.dark .reminder-info .link,.dark .modalTabContent .link{color:#ff5c25}.reminder-info .link:hover,.light .modalTabContent .link:hover,.dark .modalTabContent .link:hover{opacity:.8}.modalTopBar{position:relative;flex-shrink:0;z-index:100;display:flex;align-items:center;justify-content:space-between;padding:1.5rem;-webkit-backdrop-filter:blur(16px) saturate(180%);backdrop-filter:blur(16px) saturate(180%)}.light .modalTopBar{background-color:#fff;border-bottom:1px solid #f5f5f5}.dark .modalTopBar{background-color:#0a0a0a;border-bottom:1px solid #262626}.modalTopBar .topBarLeft{display:flex;align-items:center;flex-shrink:0;gap:1rem}.modalTopBar .topBarLeft .navigationButtons{display:flex;gap:.25rem}.modalTopBar .topBarLeft .navigationButtons .navButton{display:grid;place-items:center;padding:.5rem;border-radius:8px;cursor:pointer;border:none;background:none;transition:.3s}.light .modalTopBar .topBarLeft .navigationButtons .navButton{color:#000}.dark .modalTopBar .topBarLeft .navigationButtons .navButton{color:#fff}.modalTopBar .topBarLeft .navigationButtons .navButton svg{font-size:1.2rem}.light .modalTopBar .topBarLeft .navigationButtons .navButton:hover:not(:disabled){background:#f5f5f5}.dark .modalTopBar .topBarLeft .navigationButtons .navButton:hover:not(:disabled){background:#262626}.modalTopBar .topBarLeft .navigationButtons .navButton:disabled{opacity:.3;cursor:not-allowed}.modalTopBar .topBarLeft .topBarLogo{height:32px;width:auto}.modalTopBar .topBarLeft .breadcrumbs{display:flex;align-items:center;gap:0;font-size:.95rem;font-weight:500}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-segment{display:flex;align-items:center}.light .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-item{color:#333}.dark .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-item{color:#a0a0a0}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-item{white-space:nowrap;transition:opacity .2s}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-clickable{cursor:pointer}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-clickable:hover{opacity:.7;text-decoration:underline}.light .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-separator{color:#333}.dark .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-separator{color:#a0a0a0}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-separator{opacity:.5;font-size:1.2rem;margin:0 .25rem}.light .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-current{color:#000}.dark .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-current{color:#fff}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-current{font-weight:600}.modalTopBar .topBarRight{display:flex;align-items:center;gap:.75rem;flex-shrink:0}.modalTopBar .topBarRight .topBarNavigation{display:flex;flex-flow:row;gap:.5rem}.modalTopBar .topBarRight .closeModal{display:grid;place-items:center;padding:.4em;border-radius:12px;cursor:pointer;transition:.5s;flex-shrink:0}.modalTopBar .topBarRight .closeModal svg{font-size:1.5em}.light .modalTopBar .topBarRight .closeModal:hover{background:#f5f5f5}.dark .modalTopBar .topBarRight .closeModal:hover{background:#262626}.light .modalSidebar{position:relative;margin:0;padding:.5rem 0 0 .5rem;background:#feffff;border-radius:12px 0 0 12px;overflow-y:auto;overflow-x:hidden;height:100%;min-width:250px;flex-shrink:0}.light .modalSidebar svg{margin-left:20px;margin-right:20px;color:#333;font-size:17px}.light .modalSidebar hr{height:1px;background:#ccc;margin:0 1.75rem;border:none}.light .modalSidebar button{color:#000;font-size:18px;list-style:none;cursor:pointer;border-radius:12px;display:flex;align-items:center;margin:.2rem;padding:.5rem;transition:.5s;outline:none;border:none;background:none;min-width:calc(100% - 1.2em);text-align:left}.light .modalSidebar button:last-child{margin-bottom:1rem}.light .modalSidebar button:hover{background:#f5f5f5}.light .modalSidebar button:active{background:#f5f5f5;box-shadow:0 0 0 .5px #000}.light .modalSidebar button:focus{background:#f5f5f5;box-shadow:0 0 0 .5px #000}.light .modalSidebar .tab-list-active{background:#f5f5f5}.dark .modalSidebar{position:relative;margin:0;padding:.5rem 0 0 .5rem;background:#151515;border-radius:12px 0 0 12px;overflow-y:auto;overflow-x:hidden;height:100%;min-width:250px;flex-shrink:0}.dark .modalSidebar svg{margin-left:20px;margin-right:20px;color:#a0a0a0;font-size:17px}.dark .modalSidebar hr{height:1px;background:#ccc;margin:0 1.75rem;border:none}.dark .modalSidebar button{color:#fff;font-size:18px;list-style:none;cursor:pointer;border-radius:12px;display:flex;align-items:center;margin:.2rem;padding:.5rem;transition:.5s;outline:none;border:none;background:none;min-width:calc(100% - 1.2em);text-align:left}.dark .modalSidebar button:last-child{margin-bottom:1rem}.dark .modalSidebar button:hover{background:#262626}.dark .modalSidebar button:active{background:#262626;box-shadow:0 0 0 .5px #fff}.dark .modalSidebar button:focus{background:#262626;box-shadow:0 0 0 .5px #fff}.dark .modalSidebar .tab-list-active{background:#262626}.css-j204z7-MuiFormControlLabel-root{margin-left:0!important;margin-right:0!important}.sidebarSkeleton{padding:.5rem .2rem}.sidebarSkeleton .skeletonItem{display:flex;align-items:center;padding:.5rem;margin:.2rem;pointer-events:none}.sidebarSkeleton .skeletonItem .iconPlaceholder{width:17px;height:17px;border-radius:6px;margin-left:20px;margin-right:20px;flex-shrink:0}.light .sidebarSkeleton .skeletonItem .iconPlaceholder{background:#f5f5f5}.dark .sidebarSkeleton .skeletonItem .iconPlaceholder{background:#262626}.sidebarSkeleton .skeletonItem .textPlaceholder{height:18px;border-radius:6px}.light .sidebarSkeleton .skeletonItem .textPlaceholder{background:#f5f5f5}.dark .sidebarSkeleton .skeletonItem .textPlaceholder{background:#262626}.light .sidebarSkeleton .skeletonDivider{height:1px;background:linear-gradient(90deg,transparent 0%,#f5f5f5 20%,#f5f5f5 80%,transparent 100%);margin:.5rem 1.75rem;border:none;opacity:.6}.dark .sidebarSkeleton .skeletonDivider{height:1px;background:linear-gradient(90deg,transparent 0%,#262626 20%,#262626 80%,transparent 100%);margin:.5rem 1.75rem;border:none;opacity:.6}#modal{display:flex;align-items:flex-start;justify-content:flex-start}.modalNavbar{display:flex;flex-flow:row;gap:25px;margin-bottom:1rem}.updateCheck{flex-flow:row!important}.light .btn-settings{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-settings{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-settings:hover{background:#f5f5f5}.light .btn-settings:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-settings:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-settings:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-settings{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-settings{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-settings:hover{background:#262626}.dark .btn-settings:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-settings:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-settings:disabled{background:#262626;cursor:not-allowed}.btn-settings{display:inline;margin-top:0;float:none!important;padding:0 20px}.light .btn-secondary{background:#f5f5f5;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-secondary:hover{background:#feffff!important}.light .btn-secondary{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-secondary:hover{background:#f5f5f5}.light .btn-secondary:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-secondary:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-secondary:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-secondary{background:#262626;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-secondary:hover{background:#151515!important}.dark .btn-secondary{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-secondary:hover{background:#262626}.dark .btn-secondary:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-secondary:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-secondary:disabled{background:#262626;cursor:not-allowed}.btn-secondary{display:inline;margin-top:0;float:none!important;padding:0 20px}.light .btn-navigation{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-navigation{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-navigation:hover{background:#f5f5f5}.light .btn-navigation:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-navigation:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-navigation:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-navigation{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-navigation{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-navigation:hover{background:#262626}.dark .btn-navigation:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-navigation:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-navigation:disabled{background:#262626;cursor:not-allowed}.btn-navigation{padding:10px 20px;border-radius:12px!important;transition:all .2s ease;position:relative}.light .btn-navigation,.dark .btn-navigation{background:transparent!important;border:none!important;box-shadow:none!important}.light .btn-navigation,.dark .btn-navigation{background:transparent!important;border:none!important}.light .btn-navigation:hover,.dark .btn-navigation:hover{background:#0000000a!important}.dark .btn-navigation:hover{background:#ffffff0f!important}.btn-navigation span,.btn-navigation svg{font-size:1.1em!important}.btn-navigation svg{font-size:1.2em!important}.light .btn-navigation svg{color:#000}.dark .btn-navigation svg{color:#fff}@supports (-webkit-hyphens: none){.btn-navigation{display:inline-block!important}}.light .btn-navigation-active,.dark .btn-navigation-active{background:#0000000f!important;box-shadow:none!important}.light .btn-navigation-active{background:#0000000f!important;border:none!important}.dark .btn-navigation-active{background:#ffffff1a!important;border:none!important}.btn-collection{padding:1px 12px;backdrop-filter:blur(16px) saturate(180%);background-color:#ffffff1a;border:1px solid rgba(209,213,219,.3);color:#fff;border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.btn-collection:hover{backdrop-filter:blur(16px) saturate(180%);background-color:#11192833;border:1px solid rgba(255,255,255,.125)}.light .btn-collection:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .btn-collection:active{background:#262626;box-shadow:0 0 0 1px #fff}.light .btn-collection:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .btn-collection:focus{background:#262626;box-shadow:0 0 0 1px #fff}.light .btn-collection:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-collection:disabled{background:#262626;cursor:not-allowed}a.btn-collection{height:40px;text-decoration:none}.light a.btn-collection,.dark a.btn-collection{border-radius:12px}.flowReverse{flex-flow:row-reverse!important}.btn-icon{width:40px;height:40px;display:grid;place-content:center;border-radius:8px!important}.light .btn-icon{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-icon{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-icon:hover{background:#f5f5f5}.light .btn-icon:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-icon:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-icon:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-icon{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-icon{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-icon:hover{background:#262626}.dark .btn-icon:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-icon:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-icon:disabled{background:#262626;cursor:not-allowed}.modalTabContent{width:100%!important}.light .modalTabContent{padding:1rem 2rem 5rem;display:flex;flex-direction:column;width:100%;height:100%;overflow-y:auto;background:#fff;margin:0;border-radius:12px}.light .modalTabContent hr{width:100%;background:#c4c4c4bd;outline:none}.light .modalTabContent .settingsRow{display:flex;align-items:center;justify-content:space-between;transition:.4s ease-in-out;border-bottom:1px solid #676767;padding-top:1rem;padding-bottom:1rem}.light .modalTabContent .settingsRow.settingsNoBorder{border-bottom:none}.light .modalTabContent .settingsRow:last-child{margin-bottom:2rem}.light .modalTabContent .settingsRow .content{display:flex;flex-flow:column;max-width:50%}.light .modalTabContent .settingsRow .action{display:flex;flex-flow:column;align-items:flex-end;width:300px}.light .modalTabContent .settingsRow .action button{margin-top:10px}.light .modalTabContent .settingsRow .action .link{margin-top:10px;display:flex;flex-flow:row;gap:15px;align-items:center}.dark .modalTabContent{padding:1rem 2rem 5rem;display:flex;flex-direction:column;width:100%;height:100%;overflow-y:auto;background:#0a0a0a;margin:0;border-radius:12px}.dark .modalTabContent hr{width:100%;background:#c4c4c4bd;outline:none}.dark .modalTabContent .settingsRow{display:flex;align-items:center;justify-content:space-between;transition:.4s ease-in-out;border-bottom:1px solid #676767;padding-top:1rem;padding-bottom:1rem}.dark .modalTabContent .settingsRow.settingsNoBorder{border-bottom:none}.dark .modalTabContent .settingsRow:last-child{margin-bottom:2rem}.dark .modalTabContent .settingsRow .content{display:flex;flex-flow:column;max-width:50%}.dark .modalTabContent .settingsRow .action{display:flex;flex-flow:column;align-items:flex-end;width:300px}.dark .modalTabContent .settingsRow .action button{margin-top:10px}.dark .modalTabContent .settingsRow .action .link{margin-top:10px;display:flex;flex-flow:row;gap:15px;align-items:center}.resetDataButtonsLayout{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px}.resetDataButtonsLayout :nth-child(1){grid-column:span 2}.light .resetDataButtonsLayout button{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .resetDataButtonsLayout button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .resetDataButtonsLayout button:hover{background:#f5f5f5}.light .resetDataButtonsLayout button:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .resetDataButtonsLayout button:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .resetDataButtonsLayout button:disabled{background:#f5f5f5;cursor:not-allowed}.dark .resetDataButtonsLayout button{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .resetDataButtonsLayout button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .resetDataButtonsLayout button:hover{background:#262626}.dark .resetDataButtonsLayout button:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .resetDataButtonsLayout button:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .resetDataButtonsLayout button:disabled{background:#262626;cursor:not-allowed}.resetDataButtonsLayout button{padding:5px 10px}table{border-collapse:separate;border-radius:10px;margin-top:20px}.light table{box-shadow:0 0 0 1px #f5f5f5;padding:0;border:0;outline:none}.dark table{box-shadow:0 0 0 1px #262626;padding:0;border:0;outline:none}.light table tr:first-child{border-radius:12px;color:#333}.dark table tr:first-child{border-radius:12px;color:#a0a0a0}table tr:first-child{letter-spacing:2px}table tr:first-child th{padding:20px}table td{padding:15px}table tr th:last-child{display:grid;place-items:center}.light table ::placeholder{color:#333}.dark table ::placeholder{color:#a0a0a0}.light table tr:not(:first-child){background:#fafafa}.dark table tr:not(:first-child){background:#111}table tr:not(:first-child) textarea{width:90%;margin:10px}.light table tr:not(:first-child) textarea{color:#000}.dark table tr:not(:first-child) textarea{color:#fff}.light .donateButton{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .donateButton{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .donateButton:hover{background:#f5f5f5}.light .donateButton:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .donateButton:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .donateButton:disabled{background:#f5f5f5;cursor:not-allowed}.dark .donateButton{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .donateButton{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .donateButton:hover{background:#262626}.dark .donateButton:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .donateButton:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .donateButton:disabled{background:#262626;cursor:not-allowed}.donateButton{flex-flow:row!important;text-decoration:none;height:auto!important}.donateButton svg{font-size:1.5rem!important}.flexGrow{flex-grow:1}.messageMap{display:flex;flex-flow:row;align-items:center;gap:25px;padding:25px;justify-content:space-between;cursor:default!important;user-select:auto}.messageMap:active{cursor:default!important}.light .messageMap{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.dark .messageMap{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.messageMap div:nth-child(1){display:flex;flex-flow:row;gap:25px;align-items:center}.light .messageMap .icon{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .messageMap .icon{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.messageMap .icon{padding:15px;border-radius:100%;font-size:25px}.messageMap .messageText{display:flex;flex-flow:column;flex-grow:3}.light .messageMap .messageText textarea{color:#000}.dark .messageMap .messageText textarea{color:#fff}.messageMap .messageText input[type=text]{height:56px;padding:0 16px;font-size:16px;outline:none;transition:.2s ease}.light .messageMap .messageText input[type=text]{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .messageMap .messageText input[type=text]:hover,.light .messageMap .messageText input[type=text]:focus{border-color:#000}.light .messageMap .messageText input[type=text]::placeholder{color:#333}.dark .messageMap .messageText input[type=text]{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .messageMap .messageText input[type=text]:hover,.dark .messageMap .messageText input[type=text]:focus{border-color:#fff}.dark .messageMap .messageText input[type=text]::placeholder{color:#a0a0a0}.light .messageMap .messageText .subtitle{color:#333;font-size:13px}.dark .messageMap .messageText .subtitle{color:#a0a0a0;font-size:13px}.messageMap .messageAction{float:right}.messagesContainer{display:flex;flex-flow:column;gap:25px}.eventDateSelection{display:flex!important;flex-flow:row!important;gap:5px!important;text-align:center!important}.light .eventDateSelection{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;color:#000!important}.dark .eventDateSelection{background:#151515;box-shadow:0 0 0 1px #484848;color:#fff!important}.eventDateSelection hr{height:100%;margin-right:5px}.light .eventDateSelection hr{border-color:#fafafa}.dark .eventDateSelection hr{border-color:#111}.eventDateSelection{border-radius:12px;height:40px;font-size:1rem;align-items:center;justify-content:center;transition:.5s;cursor:pointer;border:0;padding-left:10px;padding-right:5px}.eventDateSelection input[type=tel],.eventDateSelection input[type=number]{background:none;outline:none;border:none;max-width:20px;text-align:center}.light .eventDateSelection input[type=tel],.light .eventDateSelection input[type=number]{color:#000!important}.dark .eventDateSelection input[type=tel],.dark .eventDateSelection input[type=number]{color:#fff!important}.resetLink{color:var(--modal-link);cursor:pointer}.resetLink:hover{opacity:.8}.resetLink span{font-size:1.2rem;color:var(--modal-link);vertical-align:text-bottom;margin-left:5px}.modalLink{color:var(--modal-link);cursor:pointer;margin-left:5px}.modalLink:hover{opacity:.8}::-webkit-scrollbar{width:6px;height:6px;border-radius:12px}.light ::-webkit-scrollbar{background:#feffff}.dark ::-webkit-scrollbar{background:#151515}::-webkit-scrollbar-thumb{border-radius:25px}.light ::-webkit-scrollbar-thumb{background:#f5f5f5}.dark ::-webkit-scrollbar-thumb{background:#262626}.light ::-webkit-scrollbar-thumb:hover{background:#f7fafce6}.dark ::-webkit-scrollbar-thumb:hover{background:#565656}.light ::-webkit-scrollbar-thumb:active{background:#f7fafce6}.dark ::-webkit-scrollbar-thumb:active{background:#565656}.light .MuiCheckbox-colorPrimary.Mui-checked,.light .MuiSwitch-colorPrimary.Mui-checked,.light .MuIconButton-colorPrimary.Mui-checked,.light .MuiSwitch-thumb,.light .MuiRadio-colorSecondary.Mui-checked,.light .PrivateSwitchBase-input-4,.light .MuiRadio-root,.light .aboutLink,.light .MuiSlider-colorPrimary,.light legend{color:#000!important}.dark .MuiCheckbox-colorPrimary.Mui-checked,.dark .MuiSwitch-colorPrimary.Mui-checked,.dark .MuIconButton-colorPrimary.Mui-checked,.dark .MuiSwitch-thumb,.dark .MuiRadio-colorSecondary.Mui-checked,.dark .PrivateSwitchBase-input-4,.dark .MuiRadio-root,.dark .aboutLink,.dark .MuiSlider-colorPrimary,.dark legend{color:#fff!important}.MuiFormControlLabel-labelPlacementStart{margin-left:0!important}.light .MuiSwitch-colorPrimary.Mui-checked+.MuiSwitch-track{background-color:#333!important}.dark .MuiSwitch-colorPrimary.Mui-checked+.MuiSwitch-track{background-color:#a0a0a0!important}.light .MuiSwitch-track{background-color:#333!important}.dark .MuiSwitch-track{background-color:#a0a0a0!important}.light .MuiIconButton-label>svg.MuiSvgIcon-root{color:#000!important}.dark .MuiIconButton-label>svg.MuiSvgIcon-root{color:#fff!important}.MuiTouchRipple-root{background:transparent}.MuiFormControl-root,.settingsRow .action .MuiFormControlLabel-root{margin-top:10px!important}.light .checkbox svg{fill:#000!important}.dark .checkbox svg{fill:#fff!important}.radio-title{font-weight:700;font-size:1.17rem}.radio-title-small{font-weight:700;font-size:1rem}.MuiSlider-root{margin-bottom:30px!important}.light .MuiOutlinedInput-notchedOutline{border-color:#000!important}.dark .MuiOutlinedInput-notchedOutline{border-color:#fff!important}.light .MuiFormLabel-root-MuiInputLabel-root{color:#000!important}.dark .MuiFormLabel-root-MuiInputLabel-root{color:#fff!important}.light .MuiInputLabel-root,.light .MuiSlider-markLabel,.light .MuiSelect-icon,.light .MuiSelect-select,.light .Mui-focused,.light legend,.light .MuiOutlinedInput-input{color:#000!important}.dark .MuiInputLabel-root,.dark .MuiSlider-markLabel,.dark .MuiSelect-icon,.dark .MuiSelect-select,.dark .Mui-focused,.dark legend,.dark .MuiOutlinedInput-input{color:#fff!important}.light .MuiMenu-list{background-color:#fff;color:#000}.dark .MuiMenu-list{background-color:#0a0a0a;color:#fff}.light .MuiMenu-list li:hover{background-color:#f5f5f5;transition:.5s}.dark .MuiMenu-list li:hover{background-color:#262626;transition:.5s}.light .Mui-selected{background-color:#f5f5f5!important}.dark .Mui-selected{background-color:#262626!important}.MuiTextField-root,.MuiFormControl-root,.MuiSlider-root{width:300px!important}.Mui-disabled{color:#818181!important;cursor:not-allowed}.Mui-disabled .checkbox svg{fill:#818181!important}.light .MuiPaper-root{background-color:#fff!important}.dark .MuiPaper-root{background-color:#0a0a0a!important}.light .MuiSlider-valueLabel{background-color:#f5f5f5!important}.dark .MuiSlider-valueLabel{background-color:#262626!important}.MuiFormControlLabel-labelPlacementStart{justify-content:flex-end}.settingsRow .MuiFormControlLabel-root{flex-direction:row-reverse;margin-right:0;display:flex;justify-content:space-between;width:100%;margin-left:0}.settingsRow .MuiFormControlLabel-root{width:100%}.light .settingsRow p{color:#333!important}.dark .settingsRow p{color:#a0a0a0!important}.light .css-w66kx-MuiChip-root{color:#000!important;border:1px solid #f5f5f5;background:#feffff!important;border-radius:12px}.dark .css-w66kx-MuiChip-root{color:#fff!important;border:1px solid #262626;background:#151515!important;border-radius:12px}.css-w66kx-MuiChip-root,.MuiChip-root{text-transform:capitalize}.light .MuiChip-root{background:#f5f5f5!important;color:#000!important}.dark .MuiChip-root{background:#262626!important;color:#fff!important}.aboutLink:hover{opacity:.8}.aboutLogo{height:100px;width:auto;margin:calc(1rem - 15px) 0 1rem;align-self:center}.aboutContact{flex-flow:row;display:flex;gap:15px}.aboutContact a{text-decoration:none}.contributorImages{display:flex;flex-wrap:wrap;gap:15px}.contributorImages img{width:75px;height:auto;opacity:0;animation:fadeIn .5s ease-in-out forwards}.light .contributorImages img,.dark .contributorImages img{border-radius:12px}@keyframes fadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.subtitle-photographers{font-size:16px}.light .subtitle-photographers{color:#000}.light .subtitle-photographers span{color:#333}.dark .subtitle-photographers{color:#fff}.dark .subtitle-photographers span{color:#a0a0a0}.aboutText{text-align:center;display:flex;flex-flow:column}.updateChangelog{max-width:75%;margin-top:15px;white-space:pre-wrap;font-size:18px}.updateChangelog a{color:var(--modal-link)}.updateChangelog a:hover{opacity:.8}.changelogtab .mainTitle{margin:0!important}.changelogtab img{max-width:95%}.changelogtab .changelogAt{text-decoration:none}.sortableItem{cursor:move;width:200px;z-index:999!important;padding:15px;margin-bottom:10px;font-size:1.325rem}.light .sortableItem{color:#000!important;display:flex;justify-content:space-between;align-items:center;background:#fafafa;border-radius:12px;box-shadow:0 0 0 1px #e7e3e9}.light .sortableItem svg{font-size:1.3rem;color:#333}.light .sortableItem:hover{background:#f5f5f5!important}.dark .sortableItem{color:#fff!important;display:flex;justify-content:space-between;align-items:center;background:#111;border-radius:12px;box-shadow:0 0 0 1px #484848}.dark .sortableItem svg{font-size:1.3rem;color:#a0a0a0}.dark .sortableItem:hover{background:#262626!important}.sortableItem ul{-webkit-padding-start:0;padding:0;list-style-type:none}.sortableItem ul>label{vertical-align:middle}.sortablecontainer{-webkit-padding-start:0;padding:0;list-style-type:none}.images-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));padding:20px;grid-gap:20px}.light .images-row div{border-radius:12px;display:flex;align-items:center;justify-content:center;flex-flow:column;gap:5px;position:relative}.light .images-row div img{width:100%;height:200px;object-fit:cover;border-radius:12px}.light .images-row div button{padding:0 30px;background:#fff;border:none!important}.light .images-row div button:hover{background:#f5f5f5}.light .images-row div .tooltip{position:absolute!important;top:5px!important;right:5px!important}.light .images-row .iconButton{width:calc(100% - 22px);margin-top:10px}.light .light .images-row .iconButton{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px}.light .light .images-row .iconButton:hover{background:#f5f5f5}.light .light .images-row .iconButton:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .light .images-row .iconButton:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .light .images-row .iconButton{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px}.dark .light .images-row .iconButton:hover{background:#262626}.dark .light .images-row .iconButton:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .light .images-row .iconButton:focus{background:#262626;box-shadow:0 0 0 1px #fff}.light .images-row .iconButton{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.dark .images-row div{border-radius:12px;display:flex;align-items:center;justify-content:center;flex-flow:column;gap:5px;position:relative}.dark .images-row div img{width:100%;height:200px;object-fit:cover;border-radius:12px}.dark .images-row div button{padding:0 30px;background:#0a0a0a;border:none!important}.dark .images-row div button:hover{background:#262626}.dark .images-row div .tooltip{position:absolute!important;top:5px!important;right:5px!important}.dark .images-row .iconButton{width:calc(100% - 22px);margin-top:10px}.light .dark .images-row .iconButton{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px}.light .dark .images-row .iconButton:hover{background:#f5f5f5}.light .dark .images-row .iconButton:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .dark .images-row .iconButton:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .dark .images-row .iconButton{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px}.dark .dark .images-row .iconButton:hover{background:#262626}.dark .dark .images-row .iconButton:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .dark .images-row .iconButton:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .images-row .iconButton{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.images-grid{display:grid;padding:1px}.images-grid.selection-mode .image-checkbox{opacity:1}.images-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.light .images-grid .image-card{position:relative;border-radius:12px;background:#fafafa;overflow:hidden;transition:all .3s ease;box-shadow:0 0 0 1px #e7e3e9;cursor:pointer}.light .images-grid .image-card.selected{outline:3px solid #ff5c25;outline-offset:-3px}.light .images-grid .image-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px #00000026}.light .images-grid .image-card:hover .image-nav-buttons,.light .images-grid .image-card:hover .delete-button,.light .images-grid .image-card:hover .image-checkbox{opacity:1}.light .images-grid .image-card .image-checkbox{position:absolute;top:8px;left:8px;z-index:12;opacity:0;transition:opacity .2s}.light .images-grid .image-card .image-checkbox input[type=checkbox]{width:20px;height:20px;cursor:pointer;appearance:none;border:2px solid #fff;border-radius:4px;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .2s;box-shadow:0 2px 8px #0000004d;position:relative}.light .images-grid .image-card .image-checkbox input[type=checkbox]:checked{background:#ff5c25;border-color:#ff5c25;opacity:1}.light .images-grid .image-card .image-checkbox input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:2px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.light .images-grid .image-card .image-checkbox input[type=checkbox]:hover{border-color:#ff5c25;transform:scale(1.1)}.light .images-grid .image-card .image-checkbox:has(input:checked){opacity:1}.light .images-grid .image-card .image-preview{position:relative;width:100%;height:200px;overflow:hidden;background:#feffff}.light .images-grid .image-card .image-preview img{width:100%;height:100%;object-fit:cover}.light .images-grid .image-card .image-preview .video-icon-wrapper{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#feffff}.light .images-grid .image-card .image-preview .video-icon-wrapper .customvideoicon{font-size:60px;color:#333}.light .images-grid .image-card .image-preview .blur-placeholder{background-size:cover;background-position:center}.light .images-grid .image-card .image-preview .image-nav-buttons{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);display:flex;justify-content:space-between;padding:0 8px;opacity:0;transition:opacity .3s ease;pointer-events:none}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button{pointer-events:all;width:36px;height:36px;border-radius:50%;border:none;background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button svg{font-size:24px}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button:hover:not(:disabled){background:#000c;transform:scale(1.1)}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button:disabled{opacity:.3;cursor:not-allowed}.light .images-grid .image-card .image-metadata{padding:12px;display:flex;flex-direction:column;gap:6px}.light .images-grid .image-card .image-metadata .image-name{font-size:14px;font-weight:500;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.light .images-grid .image-card .image-metadata .image-details{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#333}.light .images-grid .image-card .image-metadata .image-details .detail{display:inline-block}.light .images-grid .image-card .image-metadata .image-details .folder-tag{padding:2px 8px;background:#f5f5f5;border-radius:4px;font-size:11px}.light .images-grid .image-card .delete-button{position:absolute;top:8px;right:8px;width:32px;height:32px;border-radius:50%;border:none;background:#ff4757e6;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:all .2s;z-index:11;box-shadow:0 2px 8px #0000004d}.light .images-grid .image-card .delete-button svg{font-size:20px}.light .images-grid .image-card .delete-button:hover{background:#ff4757;transform:scale(1.1)}.light .images-grid .image-card:hover .delete-button,.light .images-grid .image-card .image-checkbox:has(input:checked)~* .delete-button{opacity:1}.dark .images-grid .image-card{position:relative;border-radius:12px;background:#111;overflow:hidden;transition:all .3s ease;box-shadow:0 0 0 1px #484848;cursor:pointer}.dark .images-grid .image-card.selected{outline:3px solid #ff5c25;outline-offset:-3px}.dark .images-grid .image-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px #00000026}.dark .images-grid .image-card:hover .image-nav-buttons,.dark .images-grid .image-card:hover .delete-button,.dark .images-grid .image-card:hover .image-checkbox{opacity:1}.dark .images-grid .image-card .image-checkbox{position:absolute;top:8px;left:8px;z-index:12;opacity:0;transition:opacity .2s}.dark .images-grid .image-card .image-checkbox input[type=checkbox]{width:20px;height:20px;cursor:pointer;appearance:none;border:2px solid #fff;border-radius:4px;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .2s;box-shadow:0 2px 8px #0000004d;position:relative}.dark .images-grid .image-card .image-checkbox input[type=checkbox]:checked{background:#ff5c25;border-color:#ff5c25;opacity:1}.dark .images-grid .image-card .image-checkbox input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:2px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.dark .images-grid .image-card .image-checkbox input[type=checkbox]:hover{border-color:#ff5c25;transform:scale(1.1)}.dark .images-grid .image-card .image-checkbox:has(input:checked){opacity:1}.dark .images-grid .image-card .image-preview{position:relative;width:100%;height:200px;overflow:hidden;background:#151515}.dark .images-grid .image-card .image-preview img{width:100%;height:100%;object-fit:cover}.dark .images-grid .image-card .image-preview .video-icon-wrapper{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#151515}.dark .images-grid .image-card .image-preview .video-icon-wrapper .customvideoicon{font-size:60px;color:#a0a0a0}.dark .images-grid .image-card .image-preview .blur-placeholder{background-size:cover;background-position:center}.dark .images-grid .image-card .image-preview .image-nav-buttons{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);display:flex;justify-content:space-between;padding:0 8px;opacity:0;transition:opacity .3s ease;pointer-events:none}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button{pointer-events:all;width:36px;height:36px;border-radius:50%;border:none;background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button svg{font-size:24px}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button:hover:not(:disabled){background:#000c;transform:scale(1.1)}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button:disabled{opacity:.3;cursor:not-allowed}.dark .images-grid .image-card .image-metadata{padding:12px;display:flex;flex-direction:column;gap:6px}.dark .images-grid .image-card .image-metadata .image-name{font-size:14px;font-weight:500;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dark .images-grid .image-card .image-metadata .image-details{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#a0a0a0}.dark .images-grid .image-card .image-metadata .image-details .detail{display:inline-block}.dark .images-grid .image-card .image-metadata .image-details .folder-tag{padding:2px 8px;background:#262626;border-radius:4px;font-size:11px}.dark .images-grid .image-card .delete-button{position:absolute;top:8px;right:8px;width:32px;height:32px;border-radius:50%;border:none;background:#ff4757e6;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:all .2s;z-index:11;box-shadow:0 2px 8px #0000004d}.dark .images-grid .image-card .delete-button svg{font-size:20px}.dark .images-grid .image-card .delete-button:hover{background:#ff4757;transform:scale(1.1)}.dark .images-grid .image-card:hover .delete-button,.dark .images-grid .image-card .image-checkbox:has(input:checked)~* .delete-button{opacity:1}.storage-quota{padding:15px 20px;margin-top:10px;margin-bottom:50px}.light .storage-quota{background:#fafafa;border-top:1px solid #f5f5f5}.dark .storage-quota{background:#111;border-top:1px solid #262626}.storage-quota .quota-info{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.storage-quota .quota-info .quota-text{font-size:13px}.light .storage-quota .quota-info .quota-text{color:#333}.dark .storage-quota .quota-info .quota-text{color:#a0a0a0}.storage-quota .quota-info .quota-info-button{width:24px;height:24px;border-radius:50%;border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.light .storage-quota .quota-info .quota-info-button{color:#333}.light .storage-quota .quota-info .quota-info-button:hover{background:#f5f5f5}.dark .storage-quota .quota-info .quota-info-button{color:#a0a0a0}.dark .storage-quota .quota-info .quota-info-button:hover{background:#262626}.storage-quota .quota-info .quota-info-button svg{font-size:18px}.storage-quota .quota-bar{width:100%;height:6px;border-radius:3px;overflow:hidden}.light .storage-quota .quota-bar{background:#feffff}.dark .storage-quota .quota-bar{background:#151515}.storage-quota .quota-bar .quota-fill{height:100%;border-radius:3px;transition:all .3s ease}.taggingModalContent{padding:20px}.taggingModalContent p.subtitle{margin-bottom:20px}.taggingModalContent .taggingInput{display:flex;flex-direction:column;gap:8px}.taggingModalContent .taggingInput label{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .taggingModalContent .taggingInput label{color:#333}.dark .taggingModalContent .taggingInput label{color:#a0a0a0}.taggingModalContent .taggingInput input{padding:12px 16px;border-radius:8px;border:1px solid;font-size:14px;transition:all .2s}.light .taggingModalContent .taggingInput input{background:#fff;color:#000;border-color:#f5f5f5}.light .taggingModalContent .taggingInput input:focus{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c251a}.dark .taggingModalContent .taggingInput input{background:#0a0a0a;color:#fff;border-color:#262626}.dark .taggingModalContent .taggingInput input:focus{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c251a}.dropzone{margin-bottom:100px}.light .dropzone{background:#fff}.dark .dropzone{background:#0a0a0a}.dropzone .dropzone-content{min-height:200px}.dropzone .photosEmpty{padding:60px 20px;display:flex;align-items:center;justify-content:center}.dropzone .photosEmpty .emptyNewMessage{display:flex;flex-direction:column;align-items:center;gap:15px;text-align:center}.dropzone .photosEmpty .emptyNewMessage .title{font-size:18px;font-weight:500}.light .dropzone .photosEmpty .emptyNewMessage .title{color:#000}.dark .dropzone .photosEmpty .emptyNewMessage .title{color:#fff}.dropzone .photosEmpty .emptyNewMessage .subtitle{font-size:14px}.light .dropzone .photosEmpty .emptyNewMessage .subtitle{color:#333}.dark .dropzone .photosEmpty .emptyNewMessage .subtitle{color:#a0a0a0}.overviewGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:30px}.tabPreview{width:100%;aspect-ratio:2/1;display:flex;align-items:center;justify-content:center;margin-top:16px}.light .tabPreview{background:#fafafa;border-radius:12px;box-shadow:0 0 0 1px #e7e3e9}.dark .tabPreview{background:#111;border-radius:12px;box-shadow:0 0 0 1px #484848}.tabPreview .previewItem{display:flex;flex-flow:column;align-items:center}.tabPreview .previewItem .quotediv .quote{max-width:100%}.tabPreview .previewItem .quotediv .author-holder .author .author-content .title{font-size:1em!important}.light .tabPreview .previewItem .quotediv .author-holder .author .author-content .title{color:#000!important}.dark .tabPreview .previewItem .quotediv .author-holder .author .author-content .title{color:#fff!important}.overviewNews{display:flex;flex-flow:column;margin-top:16px;padding:25px}.overviewNews .title{font-size:36px!important;text-align:center}.overviewNews .subtitle{font-size:12px!important;text-align:center;text-transform:uppercase;letter-spacing:1px}.overviewNews .content{margin:20px 20px 0}.light .overviewNews{background:#fafafa;border-radius:12px;box-shadow:0 0 0 1px #e7e3e9}.dark .overviewNews{background:#111;border-radius:12px;box-shadow:0 0 0 1px #484848}.stats{display:flex;flex-flow:column;gap:30px;width:100%}.stats .rightPanel .statIcon{display:flex;justify-content:center;margin-bottom:30px}.stats .rightPanel .statGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:10px}.stats .rightPanel .statGrid div{display:flex;flex-flow:column}.stats .rightPanel .subtitle{text-transform:capitalize}.stats .rightPanel span{font-size:20px}.achievements{display:flex;flex-flow:column;gap:15px}.achievementsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:10px}.achievement{padding:20px 10px;display:flex;flex-flow:row!important;align-items:center}.light .achievement{background:#fafafa;border:1px solid #f5f5f5;border-radius:12px;gap:10px}.dark .achievement{background:#111;border:1px solid #262626;border-radius:12px;gap:10px}.achievement .timestamp{display:flex;flex-flow:row;align-items:center;gap:5px;font-size:12px}.light .achievement .timestamp{color:#333}.dark .achievement .timestamp{color:#a0a0a0}.achievement .achievementTitle{font-size:18px;font-weight:700}.achievement svg.trophy{font-size:20px!important}.light .achievement svg.trophy{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .achievement svg.trophy{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.achievement svg.trophy{padding:15px;border-radius:100%}.achievement svg.trophyLocked{font-size:20px!important}.light .achievement svg.trophyLocked{background-image:#f5f5f5;box-shadow:0 0 0 1px #e7e3e9}.dark .achievement svg.trophyLocked{background-image:#262626;box-shadow:0 0 0 1px #484848}.achievement svg.trophyLocked{padding:15px;border-radius:100%}.statSection.rightPanel{padding:25px}.light .statSection.rightPanel{border-radius:12px;background:#fafafa;box-shadow:0 0 0 1px #f5f5f5}.light .statSection.rightPanel svg{font-size:50px;color:#333}.dark .statSection.rightPanel{border-radius:12px;background:#111;box-shadow:0 0 0 1px #262626}.dark .statSection.rightPanel svg{font-size:50px;color:#a0a0a0}.achievementContent{display:flex;flex-flow:column;gap:2px}.achievementContent .subtitle{font-size:13px!important}.statsTopBar{display:flex;justify-content:space-between;align-items:center}.statsTopBar button{margin-bottom:15px;flex-flow:row!important;padding-left:20px;padding-right:20px}input[type=color]{border-radius:100%;height:30px;width:30px;border:none;outline:none;appearance:none;vertical-align:middle;background:none}.light input[type=color]{border:#f5f5f5 1px solid}.dark input[type=color]{border:#262626 1px solid}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:none;border-radius:100%}input[type=color]::-moz-color-swatch{border-radius:100%;height:30px;width:30px;border:none;outline:none;appearance:none;vertical-align:middle;background:none}input[type=color]::-moz-color-swatch::-moz-color-swatch{border:none;border-radius:100%}input[type=date]{width:260px;flex-flow:column}.light input[type=date]{background:#feffff;border:1px solid #f5f5f5;color:#000}.dark input[type=date]{background:#151515;border:1px solid #262626;color:#fff}input[type=date]{padding:15px 20px;border-radius:4px;display:flex!important;cursor:pointer}input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer}.dark ::-webkit-calendar-picker-indicator{filter:invert(1)}h4{cursor:pointer}.photosEmpty{height:400px;display:grid;place-items:center}.photosEmpty button{padding:0 20px}.imagesTopBar{position:sticky;top:-20px;z-index:90;padding:25px 0 15px;display:flex;flex-flow:row;justify-content:space-between;align-items:center}.light .imagesTopBar{background:#fff}.dark .imagesTopBar{background:#0a0a0a}.imagesTopBar .imagesTopBarTitle{display:flex;flex-flow:row;align-items:center;gap:20px}.imagesTopBar .imagesTopBarTitle svg{font-size:30px}.light .imagesTopBar .imagesTopBarTitle svg{color:#333}.dark .imagesTopBar .imagesTopBarTitle svg{color:#a0a0a0}.imagesTopBar .imagesTopBarTitle div{display:flex;flex-flow:column}.imagesTopBar .topbarbuttons{display:flex;flex-flow:row;gap:15px;align-items:center}.imagesTopBar button:not(.MuiButtonBase-root){padding:0 20px}.imagesControlBar{position:sticky;top:68px;z-index:89;padding:12px 0;margin-bottom:15px;display:flex;flex-flow:row;justify-content:space-between;align-items:center}.light .imagesControlBar{background:#fff;border-bottom:1px solid #f5f5f5}.dark .imagesControlBar{background:#0a0a0a;border-bottom:1px solid #262626}.imagesControlBar .controlBarLeft{display:flex;align-items:center;gap:10px;font-size:14px}.light .imagesControlBar .controlBarLeft{color:#333}.dark .imagesControlBar .controlBarLeft{color:#a0a0a0}.imagesControlBar .controlBarLeft .image-count{font-weight:500;display:flex}.light .imagesControlBar .controlBarLeft .image-count{color:#000}.dark .imagesControlBar .controlBarLeft .image-count{color:#fff}.imagesControlBar .controlBarLeft .image-count .storage-info{font-weight:400}.light .imagesControlBar .controlBarLeft .image-count .storage-info{color:#333}.dark .imagesControlBar .controlBarLeft .image-count .storage-info{color:#a0a0a0}.imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link{background:none;border:none;padding:0;margin-left:5px;cursor:pointer;text-decoration:underline;font-size:13px;transition:opacity .2s}.light .imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link,.dark .imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link{color:#ff5c25}.imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link:hover{opacity:.8}.imagesControlBar .controlBarLeft .selection-separator{opacity:.5}.imagesControlBar .controlBarLeft .selected-count{font-weight:500}.imagesControlBar .controlBarLeft .delete-link{background:none;border:none;padding:0;margin-left:5px;cursor:pointer;text-decoration:underline;font-size:14px;transition:opacity .2s}.light .imagesControlBar .controlBarLeft .delete-link,.dark .imagesControlBar .controlBarLeft .delete-link{color:#ff4757}.imagesControlBar .controlBarLeft .delete-link:hover{opacity:.8}.imagesControlBar .controlBarLeft .select-all-link{background:none;border:none;padding:0;margin-left:5px;cursor:pointer;text-decoration:underline;font-size:14px;transition:opacity .2s}.light .imagesControlBar .controlBarLeft .select-all-link{color:#333}.dark .imagesControlBar .controlBarLeft .select-all-link{color:#a0a0a0}.imagesControlBar .controlBarLeft .select-all-link:hover{opacity:.8}.light .imagesControlBar .controlBarLeft .select-all-link:hover{color:#000}.dark .imagesControlBar .controlBarLeft .select-all-link:hover{color:#fff}.imagesControlBar .controlBarRight{display:flex;align-items:center}.customcss textarea{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace!important}.preferences{transition:.4s ease-in-out}.preferencesInactive{opacity:.5;pointer-events:none;transition:.4s ease-in-out}.itemWarning{padding:10px 20px;display:flex;flex-flow:row;gap:15px;align-items:center}.itemWarning .text{display:flex;flex-flow:column}.itemWarning .text .header{font-weight:600;margin-bottom:5px}.light .itemWarning svg{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .itemWarning svg{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.itemWarning svg{padding:7px;border-radius:100%;font-size:24px;min-width:24px}.light .itemWarning{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.dark .itemWarning{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.lightBoxModal{margin:auto;max-width:60%;background:none!important;box-shadow:none!important}.lightBoxModal img{height:auto;width:100%}.lightBoxModal .closeModal{color:#fff;text-shadow:0 0 20px rgba(0,0,0,.3)}.items{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,280px));grid-gap:1.5rem;margin-top:15px;margin-bottom:30px}.items .item{position:relative;border-radius:12px;width:auto;cursor:pointer;transition:transform .3s cubic-bezier(.4,0,.2,1);display:flex;flex-flow:column;align-items:flex-start;gap:15px;background-position:center;background-repeat:no-repeat;background-size:cover;padding:1.5rem;will-change:transform;transform:translateZ(0)}.light .items .item{background-color:#fafafa;box-shadow:0 0 0 1px #f5f5f5}.light .items .item:hover{transform:translate3d(0,-5px,0)}.dark .items .item{background-color:#111;box-shadow:0 0 0 1px #262626}.dark .items .item:hover{transform:translate3d(0,-5px,0)}.items .item .tags{margin-top:7px}.items .item .item-icon{object-fit:cover!important;height:60px!important;width:60px!important;border-radius:12px;transition:.5s}.items .item .item-icon.item-icon-text{display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:600;letter-spacing:1px}.light .items .item .item-icon.item-icon-text{background-color:#f5f5f5;color:#000}.dark .items .item .item-icon.item-icon-text{background-color:#262626;color:#fff}.items .item .card-details{z-index:1;display:flex;flex-flow:column;align-items:flex-start}.items .item .card-details .card-title{font-size:18px}.items .item .card-details .card-subtitle{font-size:14px}.light .items .item .card-details .card-subtitle{color:#333}.dark .items .item .card-details .card-subtitle{color:#a0a0a0}.items .item .card-details .card-chips{margin-top:20px;display:flex;flex-flow:row;gap:8px;flex-wrap:wrap}.items .item .card-details .card-type,.items .item .card-details .card-collection{font-size:12px;font-weight:bolder}.light .items .item .card-details .card-type,.light .items .item .card-details .card-collection{color:#333}.dark .items .item .card-details .card-type,.dark .items .item .card-details .card-collection{color:#a0a0a0}.items .item .card-details .card-type,.items .item .card-details .card-collection{border-radius:150px;padding:2px 15px;background-color:#ffffff1a;border:1px solid rgba(209,213,219,.3)}.light .items .item .card-details .card-collection,.dark .items .item .card-details .card-collection{background-color:#ffffff26;border:1px solid rgba(209,213,219,.4)}.items .item .item-uninstall-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:none;background-color:#00000080;cursor:pointer;transition:background-color .2s ease}.items .item .item-uninstall-btn svg{color:#fff;font-size:18px}.items .item .item-uninstall-btn:hover{background-color:#dc3232e6}.items .item .item-installed-badge{position:absolute;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:2px solid rgba(255,255,255,.4);box-shadow:0 2px 6px #0000004d;z-index:2;pointer-events:none;will-change:transform}.items .item .item-installed-badge svg{color:#fff;font-size:20px}.items .item .item-sideload-badge{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background-color:#646464e6;cursor:help}.items .item .item-sideload-badge svg{color:#fff;font-size:16px}.items .item:hover .item-installed-badge{transform:scale(1.05)}.items .item.item-sideloaded{cursor:default}.items .item.item-sideloaded:hover{transform:none}.itemPage{display:flex;flex-flow:row;justify-content:space-between;align-items:flex-start;gap:30px;flex-wrap:wrap}.itemPage .itemContent{display:flex;flex-flow:column;gap:25px;flex:1}.itemPage .itemContent img{width:100%;height:auto;border-radius:12px}.itemPage .itemContent table{table-layout:fixed;width:100%;word-wrap:break-word!important;font-size:16px;border-collapse:collapse}.itemPage .itemContent .itemTop{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background-color:#646464e6;cursor:help}.itemPage .itemContent .itemTop svg{color:#fff;font-size:16px}.itemPage .itemContent:hover .item-installed-badge{transform:scale(1.05)}.itemPage .itemContent.item-sideloaded{cursor:default}.itemPage .itemContent.item-sideloaded:hover{transform:none}.emptyItems{width:100%;height:100%;display:grid;place-items:center}.emptyMessage{display:grid;place-items:center;grid-gap:5px;padding:50px}.emptyMessage .title,.emptyMessage svg{margin:10px}.emptyMessage svg{font-size:70px}.light .emptyMessage .sideloadIcon{font-size:50px;color:#333}.dark .emptyMessage .sideloadIcon{font-size:50px;color:#a0a0a0}.emptyMessage button{display:flex;flex-flow:row}.emptyNewMessage{display:flex;gap:20px;flex-flow:column;text-align:center;align-items:center;-webkit-user-select:none;user-select:none}.emptyNewMessage img{width:200px;height:auto}.emptyNewMessage svg{font-size:70px}.emptyNewMessage button svg{font-size:1rem}.emptyNewMessage .buttonsRow{display:flex;flex-flow:row;gap:30px;align-items:center}p.author{margin-top:-5px}#item>img,.updateImage,.updateChangelog>p>img{border-radius:12px;height:200px;width:auto;cursor:pointer}.filter{display:flex;flex-flow:row;gap:15px;justify-content:space-between;align-items:center}.filter .MuiFormControl-root{margin-bottom:10px}.filter .buttonSection{display:flex;flex-flow:row;gap:20px}.filter .tags{max-width:50%}.createYourOwn{display:flex;flex-flow:column;gap:20px;align-items:center;margin-top:30px}.createYourOwn svg{font-size:30px}.topAddons{display:flex;align-items:center;justify-content:space-between}.modalHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.modalHeader .tooltip{margin-right:25px}.modalHeader .mainTitle{margin-bottom:0!important}.filter-options-container{display:flex;flex-flow:row;gap:20px;margin:20px 0;align-items:center;justify-content:space-between}.filter-chips{display:flex;flex-flow:row;gap:12px;align-items:center}.filter-chips .filter-chip{all:unset;padding:8px 20px;border-radius:24px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;-webkit-user-select:none;user-select:none}.light .filter-chips .filter-chip{background-color:#f5f5f5;color:#000}.dark .filter-chips .filter-chip{background-color:#262626;color:#fff}.light .filter-chips .filter-chip:hover,.dark .filter-chips .filter-chip:hover{background-color:#ffffff26}.light .filter-chips .filter-chip.active,.dark .filter-chips .filter-chip.active{background-color:#fff;color:#000}.light .filter-chips .filter-chip.active:hover,.dark .filter-chips .filter-chip.active:hover{background-color:#f0f0f0}.filter-chips .filter-chip:focus-visible{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}.Overlay{position:fixed;z-index:100;inset:0;width:100vw;height:100vh;display:grid;place-items:center}.light .Modal{color:#000}.dark .Modal{color:#fff}.Modal{box-shadow:0 0 20px #0000004d;opacity:1;z-index:-2;transition-timing-function:ease-in;border-radius:12px;user-select:none;overflow:hidden;transform:scale(0);transition:all .3s cubic-bezier(.47,1.64,.41,.8)}.Modal:focus{outline:0}.Modal .modalInfoPage{user-select:text}.closePositioning{position:absolute;top:3rem;right:3rem}.closeModal{display:grid;place-items:center;padding:.5em;border-radius:12px;cursor:pointer;transition:.5s;outline:none;border:none;background:transparent}.closeModal svg{font-size:2em}.light .closeModal{color:#000}.dark .closeModal{color:#fff}.light .closeModal:hover{background:#f5f5f5}.dark .closeModal:hover{background:#262626}.ReactModal__Html--open,.ReactModal__Body--open{overflow:hidden}.ReactModal__Content--after-open{opacity:1;transform:scale(1)}.ReactModal__Content--before-close{opacity:0;transform:scale(0)}#modal{height:80vh;width:clamp(60vw,1400px,90vw);-webkit-backdrop-filter:blur(16px) saturate(180%);backdrop-filter:blur(16px) saturate(180%);overflow:hidden;border-radius:12px}.light #modal{background-color:#fff}.dark #modal{background-color:#0a0a0a}label,p,span.modalLink{font-size:1rem}h2{font-size:2rem;margin-bottom:0}h3{font-size:1.17rem}h5{font-size:.8rem}.loaderHolder{display:flex;gap:15px;flex-flow:column;align-items:center}#loader{display:inline-block;width:50px;height:50px}.light #loader{border:3px solid #feffff;border-radius:50%;border-top-color:#f5f5f5}.dark #loader{border:3px solid #151515;border-radius:50%;border-top-color:#262626}#loader{animation:spin 1s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}.headerExtras{display:flex;flex-flow:column;gap:-1px;padding:10px 0}.headerExtras div:nth-child(1){display:flex;flex-flow:column;gap:10px}.headerExtras form{margin-top:10px}.headerExtras .link{display:flex;flex-flow:row;gap:15px;align-items:center}.light .headerExtras .MuiOutlinedInput-notchedOutline{border-color:#f5f5f5!important}.dark .headerExtras .MuiOutlinedInput-notchedOutline{border-color:#262626!important}.headerActions{display:flex;flex-flow:row;gap:20px;justify-content:center;align-items:center}.headerActions .link{display:flex;flex-flow:row;gap:15px;align-items:center}.marketplaceCondition{display:flex;flex-flow:row!important;gap:-1px;justify-content:space-between;align-items:center}.languageSettings{padding-bottom:50px}.languageSettings .MuiFormGroup-root{gap:5px}.languageSettings .MuiFormControl-root{width:100%!important;gap:15px}.languageSettings .MuiFormControl-root .MuiFormControlLabel-root{display:flex;flex-direction:row-reverse;justify-content:space-between;padding:5px 5px 5px 20px;transition:.3s}.light .languageSettings .MuiFormControl-root .MuiFormControlLabel-root{background:#feffff;border-radius:12px}.light .languageSettings .MuiFormControl-root .MuiFormControlLabel-root:hover{background:#f5f5f5}.dark .languageSettings .MuiFormControl-root .MuiFormControlLabel-root{background:#151515;border-radius:12px}.dark .languageSettings .MuiFormControl-root .MuiFormControlLabel-root:hover{background:#262626}.sliderTitle{width:100%;display:flex;justify-content:space-between;padding:15px 0}.sliderTitle .link{display:flex;flex-flow:row;gap:15px;align-items:center}.moreSettings{cursor:pointer;display:flex;flex-flow:row;justify-content:space-between;padding:25px;margin-top:20px;transition:.5s}.light .moreSettings{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.light .moreSettings:hover{background:#f5f5f5}.dark .moreSettings{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.dark .moreSettings:hover{background:#262626}.moreSettings svg{font-size:20px}.moreSettings .left{display:flex;flex-flow:row;align-items:center;gap:25px}.light .moreSettings .left svg{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .moreSettings .left svg{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.moreSettings .left svg{padding:15px;border-radius:100%}.moreSettings .content{display:flex;flex-flow:column}.moreSettings .action{display:flex;flex-flow:row;gap:20px;align-items:center}.reminder-info{display:flex;flex-flow:column;position:absolute;bottom:0;padding:15px;gap:15px}.light .reminder-info{background-color:#fafafa;border-radius:12px;border:1px solid #f5f5f5}.dark .reminder-info{background-color:#111;border-radius:12px;border:1px solid #262626}.light .reminder-info button{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px}.light .reminder-info button:hover{background:#f5f5f5}.light .reminder-info button:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .reminder-info button:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .reminder-info button{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px}.dark .reminder-info button:hover{background:#262626}.dark .reminder-info button:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .reminder-info button:focus{background:#262626;box-shadow:0 0 0 1px #fff}.reminder-info button{padding:5px;font-size:5px;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center;display:flex;justify-content:center;gap:15px}.reminder-info button svg{margin:0!important}.reminder-info svg{margin:0!important}.quoteSkeleton{margin-top:5px;display:flex;flex-flow:column;gap:5px;align-items:center}.quoteSkeleton div{display:flex;flex-flow:row}.quoteSkeleton .text{display:flex;flex-flow:column;padding:5px}.quoteSkeleton .skeletonAuthor{font-size:smaller;display:flex;flex-flow:row;align-items:center;gap:25px;padding:0 20px 0 5px}.light .quoteSkeleton .skeletonAuthor svg{background-color:#feffff;padding:10px;border-radius:12px;place-items:center}.dark .quoteSkeleton .skeletonAuthor svg{background-color:#151515;padding:10px;border-radius:12px;place-items:center}.light .quoteSkeleton .skeletonAuthor{background-color:#f5f5f5;border-radius:12px}.dark .quoteSkeleton .skeletonAuthor{background-color:#262626;border-radius:12px}.quoteSkeleton .skeletonAuthor .title{font-size:medium!important}.quoteSkeleton .skeletonAuthor .subtitle{font-size:smaller!important}.quickLinksSkeleton .circles{display:flex;flex-flow:row;gap:5px}.quickLinksSkeleton .circles div{margin-top:10px;padding:3px;height:20px;width:20px;border-radius:100%;display:grid;place-items:center}.light .quickLinksSkeleton .circles div{background-color:#f5f5f5}.dark .quickLinksSkeleton .circles div{background-color:#262626}.clockSkeleton{font-size:30px!important;font-weight:700}.quicklinkscontainer textarea,.quicklinksdropdown,.quickLinksMetro{backdrop-filter:blur(15px)}.light .quicklinkscontainer textarea,.quicklinkscontainer .light textarea,.light .quicklinksdropdown,.light .quickLinksMetro{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .quicklinkscontainer textarea,.quicklinkscontainer .dark textarea,.dark .quicklinksdropdown,.dark .quickLinksMetro{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.quicklinkscontainer textarea .title,.quicklinksdropdown .title,.quickLinksMetro .title{font-size:18px}.light .quicklinkscontainer textarea .title,.quicklinkscontainer .light textarea .title,.light .quicklinksdropdown .title,.light .quickLinksMetro .title{color:#000}.dark .quicklinkscontainer textarea .title,.quicklinkscontainer .dark textarea .title,.dark .quicklinksdropdown .title,.dark .quickLinksMetro .title{color:#fff}.quicklinkscontainer textarea .subtitle,.quicklinksdropdown .subtitle,.quickLinksMetro .subtitle{font-size:14px}.light .quicklinkscontainer textarea .subtitle,.quicklinkscontainer .light textarea .subtitle,.light .quicklinksdropdown .subtitle,.light .quickLinksMetro .subtitle{color:#333}.dark .quicklinkscontainer textarea .subtitle,.quicklinkscontainer .dark textarea .subtitle,.dark .quicklinksdropdown .subtitle,.dark .quickLinksMetro .subtitle{color:#a0a0a0}.addLinkModal .mainTitle{display:flex;align-items:center;font-size:38px;font-weight:600;margin-bottom:15px;text-transform:capitalize}.light .addLinkModal .mainTitle{color:#000}.dark .addLinkModal .mainTitle{color:#fff}.addLinkModal .mainTitle .backTitle{cursor:pointer;transition:.5s}.light .addLinkModal .mainTitle .backTitle{color:#333}.light .addLinkModal .mainTitle .backTitle:hover{color:#000}.dark .addLinkModal .mainTitle .backTitle{color:#a0a0a0}.dark .addLinkModal .mainTitle .backTitle:hover{color:#fff}.addLinkModal .title{font-size:24px;font-weight:600}.light .addLinkModal .title{color:#000}.dark .addLinkModal .title{color:#fff}.addLinkModal .subtitle{font-size:16px;font-family:Inter,sans-serif!important}.light .addLinkModal .subtitle{color:#333}.dark .addLinkModal .subtitle{color:#a0a0a0}.addLinkModal .link{font-size:16px;text-decoration:none;cursor:pointer}.light .addLinkModal .link,.dark .addLinkModal .link{color:#ff5c25}.addLinkModal .link:hover{opacity:.8}.light .quicklinks{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .quicklinks:hover{background:#f7fafce6}.light .quicklinks:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .quicklinks:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .quicklinks{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .quicklinks:hover{background:#565656}.dark .quicklinks:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .quicklinks:focus{background:#565656;box-shadow:0 0 0 1px #fff}.quicklinks{font-size:14px;cursor:pointer;transition:.5s;display:grid;place-items:center;outline:none;border:none;box-shadow:0 0 0 1px #484848;border-radius:12px;color:#fff;display:flex;align-items:center;justify-content:space-evenly;font-size:.5em;padding:10px 40px;gap:15px}.quicklinkscontainer{border-radius:12px;z-index:1;display:flex;place-content:center center;flex-wrap:wrap;padding:0 25px;gap:12px;max-width:100%;overflow-x:visible;box-sizing:border-box}.quicklinkscontainer.sortable-quicklinks{cursor:default}.quicklinkscontainer textarea{border:none;padding:15px;border-radius:12px}.quicklinkscontainer ::placeholder{color:#636e72;opacity:1}.topbarquicklinks svg{font-size:46px;padding:9px}.topbarquicklinks h4{margin:0;cursor:initial;user-select:none;text-shadow:none}.topbarquicklinks p{font-size:16px;cursor:initial;user-select:none;color:#ff4757}.messagesContainer.disabled{pointer-events:none;user-select:none;opacity:.55}.quicklink-wrapper{position:relative;display:flex;align-items:center;gap:8px;transition:all .2s ease;cursor:grab;user-select:none;border-radius:8px;padding:4px}.quicklink-wrapper:hover{background:#ffffff0d}.quicklink-wrapper:hover .quicklink-drag-handle{opacity:1}.quicklink-wrapper:active{cursor:grabbing}.quicklink-wrapper a{margin:0;flex:1;display:flex;align-items:center;justify-content:center}.quicklink-drag-handle{display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:#fff6;cursor:grab;opacity:0;transition:opacity .2s ease,color .2s ease;border-radius:4px}.quicklink-drag-handle:hover{color:#fffc;background:#ffffff1a}.quicklink-drag-handle svg{width:16px;height:16px}.metro-wrapper{flex-direction:column}.metro-wrapper .quicklink-drag-handle{position:absolute;top:8px;left:8px;z-index:2}.quicklinkstext{text-decoration:none;color:#fff;font-size:.8em}.quicklinkstext:hover{text-decoration:underline}.quicklinksdropdown{position:absolute;z-index:99;display:none;flex-flow:column;padding:15px;box-shadow:0 0 0 1px #484848;gap:5px}.quicklinksdropdown:hover .quicklinksdropdown{display:block}.quicklinksdropdown .dropdown-title{font-size:.9em}.quicklinksdropdown .dropdown-subtitle{font-size:.4em}.light .quicklinksdropdown .dropdown-subtitle{color:#333}.dark .quicklinksdropdown .dropdown-subtitle{color:#a0a0a0}.light .quicklinksdropdown button{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .quicklinksdropdown button:hover{background:#f7fafce6}.light .quicklinksdropdown button:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .quicklinksdropdown button:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .quicklinksdropdown button{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .quicklinksdropdown button:hover{background:#565656}.dark .quicklinksdropdown button:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .quicklinksdropdown button:focus{background:#565656;box-shadow:0 0 0 1px #fff}.quicklinksdropdown button{padding:10px;font-size:.9rem;cursor:pointer;transition:.5s;display:grid;place-items:center;border-radius:12px;border:none;outline:none;color:#fff;display:flex;align-items:center;justify-content:center;gap:20px}.dropdown-error{font-size:.4em}button.quicklinks{cursor:pointer}.outOfScreen{bottom:515px}.addLinkModal{padding:15px}.light .addLinkModal{background:#fafafa}.dark .addLinkModal{background:#111}.light .addLinkModal button{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .addLinkModal button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .addLinkModal button:hover{background:#f5f5f5}.light .addLinkModal button:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .addLinkModal button:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .addLinkModal button:disabled{background:#f5f5f5;cursor:not-allowed}.dark .addLinkModal button{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .addLinkModal button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .addLinkModal button:hover{background:#262626}.dark .addLinkModal button:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .addLinkModal button:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .addLinkModal button:disabled{background:#262626;cursor:not-allowed}.addLinkModal button{padding:10px 30px;float:right}.addLinkModal .addFooter{display:flex;flex-flow:row;justify-content:space-between;align-items:center}.addLinkModal .dropdown-error{font-size:16px;padding-left:5px;color:#e74c3c}.quicklinkModalTextbox{display:grid;grid-template-rows:auto 1fr;grid-template-columns:repeat(2,1fr);grid-gap:10px;padding:15px 0}.quicklinkModalTextbox button{display:flex;flex-flow:row;gap:20px;justify-content:center}.quicklinkModalTextbox .dropdown-error{font-size:30px;padding-left:5px;color:#e74c3c}.light .quicklinkModalTextbox textarea{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px;padding:10px 20px}.light .quicklinkModalTextbox textarea:hover,.light .quicklinkModalTextbox textarea:active{box-shadow:0 0 0 1px #000}.light .quicklinkModalTextbox textarea:focus{box-shadow:0 0 0 1px #000}.dark .quicklinkModalTextbox textarea{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px;padding:10px 20px}.dark .quicklinkModalTextbox textarea:hover,.dark .quicklinkModalTextbox textarea:active{box-shadow:0 0 0 1px #fff}.dark .quicklinkModalTextbox textarea:focus{box-shadow:0 0 0 1px #fff}.quickLinksMetro{text-decoration:none;gap:10px;display:flex;flex-flow:column;align-items:center;min-width:100px;background-image:linear-gradient(to left,rgb(0,0,0),transparent,rgb(0,0,0));transition:.8s;text-align:left;padding:20px 40px}.light .quickLinksMetro:hover{background:#f7fafce6}.dark .quickLinksMetro:hover{background:#565656}.quickLinksMetro img{width:auto;align-self:center}.quicklinknostyle{text-decoration:none;font-size:14px}.light .quicklinknostyle{color:#333}.dark .quicklinknostyle{color:#a0a0a0}.messageMap{display:flex;align-items:center;gap:12px;padding:10px;border-radius:10px;transition:box-shadow .15s ease,transform .12s ease,opacity .12s ease;cursor:grab;user-select:none;background:transparent;border:1px solid rgba(255,255,255,.03)}.messageMap:active{cursor:grabbing}.messageMap.dragging{opacity:.6;transform:scale(.995);box-shadow:0 8px 20px #00000059;z-index:10}.messageMap.drag-over{outline:2px dashed rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px #ffffff08;background:#ffffff03}.messageMap .dragHandle{display:flex;align-items:center;justify-content:center;color:#ffffffa6;font-size:20px;padding:6px;border-radius:8px;margin-right:4px;cursor:grab;user-select:none;transition:background .12s ease,color .12s ease}.messageMap .dragHandle:hover{color:#ffffffe6;background:#ffffff05}.messageMap .messageText{flex:1 1 auto;min-width:0}.messageMap .messageText .title{font-weight:600;font-size:.95rem;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messageMap .messageText .subtitle{font-size:.8rem;color:#fff9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messageMap .messageAction{display:flex;gap:8px;align-items:center}.quicklinks-list{display:flex;flex-direction:column;gap:12px;padding:16px 0;width:100%}.quicklink-item{display:flex;align-items:center;gap:16px;background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:16px 20px;transition:all .01s ease;cursor:grab;user-select:none}.quicklink-item:hover{background:#ffffff0f;border-color:#ffffff1f}.quicklink-item:hover .quicklink-drag-handle{opacity:1;color:#ffffffb3}.quicklink-item:active{cursor:grabbing}.quicklink-item .quicklink-drag-handle{display:flex;align-items:center;justify-content:center;cursor:grab;color:#fff6;font-size:24px;padding:4px;opacity:.3;transition:opacity .2s ease,color .2s ease}.quicklink-item .quicklink-drag-handle:active{cursor:grabbing}.quicklink-item .quicklink-drag-handle:hover{color:#ffffffe6}.quicklink-item .quicklink-icon{width:48px;height:48px;border-radius:50%;background:#ffffff14;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;border:1px solid rgba(255,255,255,.1)}.quicklink-item .quicklink-icon img{width:32px;height:32px;object-fit:contain;user-select:none;pointer-events:none}.quicklink-item .quicklink-icon .quicklink-icon-placeholder{font-size:20px}.quicklink-item .quicklink-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.quicklink-item .quicklink-content .quicklink-name{font-size:16px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.quicklink-item .quicklink-content .quicklink-url{font-size:13px;color:#ffffff80;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.quicklink-item .quicklink-actions{display:flex;gap:8px;flex-shrink:0}.quicklink-item .quicklink-actions .quicklink-action-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:#ffffff0d;color:#fff;font-size:14px;cursor:pointer;transition:all .2s ease;white-space:nowrap}.quicklink-item .quicklink-actions .quicklink-action-btn svg{font-size:16px;flex-shrink:0}.quicklink-item .quicklink-actions .quicklink-action-btn:hover{background:#ffffff1a;border-color:#ffffff40}.quicklink-item .quicklink-actions .quicklink-action-btn:active{transform:translateY(0)}.quicklink-item .quicklink-actions .quicklink-action-btn.quicklink-remove-btn:hover{background:#ef444426;border-color:#ef444466;color:#ef4444}.quicklink-item.disabled{cursor:default}.quicklink-item.disabled .quicklink-action-btn{opacity:.6;cursor:not-allowed}.quicklink-item.disabled .drag-handle{cursor:not-allowed;opacity:.5}.sortable-helper{transform:scale(1.02);z-index:9999!important;opacity:.5!important;box-shadow:0 12px 40px #00000080!important;cursor:grabbing!important}.sortable-helper.quicklink-item{background:#ffffff1a!important;border-color:#fff3!important}.sortable-helper .quicklink-drag-handle{opacity:1!important;color:#ffffffe6!important}.sortable-helper .quicklink-icon,.sortable-helper .quicklink-content,.sortable-helper .quicklink-actions,.sortable-helper img{opacity:1!important;visibility:visible!important}.sortable-helper *{pointer-events:none!important}.sortable-ghost{opacity:0!important;visibility:hidden!important;pointer-events:none!important;background:#ffffff1a!important;transition:none!important}.messagesContainer{display:flex;flex-direction:column;gap:8px;padding-bottom:50px}.quicklink-wrapper .quicklinkstext{text-decoration:none;color:#fff;font-size:.8em;padding:8px 12px;border-radius:6px;transition:all .2s ease}.quicklink-wrapper .quicklinkstext:hover{text-decoration:underline;background:#ffffff1a}.quicklink-wrapper .quickLinksMetro{position:relative;min-width:100px}.quicklink-wrapper .quickLinksMetro .subtitle{margin-top:8px;font-size:.8rem;color:#ffffffe6}.date{cursor:initial;user-select:none;text-transform:capitalize;font-weight:700;--shadow-shift: .125rem}.message{cursor:default;margin:0;user-select:none;font-size:1em}.slider-container{width:300px;margin-bottom:30px}.slider-container .slider-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.slider-container .slider-value{font-size:16px;font-weight:600}.light .slider-container .slider-value{color:#000}.dark .slider-container .slider-value{color:#fff}.slider-container .slider-reset{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .slider-container .slider-reset,.dark .slider-container .slider-reset{color:#ff5c25}.slider-container .slider-reset:hover{opacity:.8}.slider-container .slider-reset svg{font-size:12px}.slider-container .slider-wrapper{position:relative;width:100%}.slider-container .slider-input{-webkit-appearance:none;appearance:none;width:100%;height:6px;border-radius:3px;outline:none;cursor:pointer;transition:background .3s ease}.light .slider-container .slider-input{background:linear-gradient(to right,#ff5c25 0%,#ff5c25 var(--slider-percentage),#f5f5f5 var(--slider-percentage),#f5f5f5 100%)}.dark .slider-container .slider-input{background:linear-gradient(to right,#ff5c25 0%,#ff5c25 var(--slider-percentage),#262626 var(--slider-percentage),#262626 100%)}.slider-container .slider-input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 6px #0003}.light .slider-container .slider-input::-webkit-slider-thumb{background:#000;border:2px solid #ff5c25}.dark .slider-container .slider-input::-webkit-slider-thumb{background:#fff;border:2px solid #ff5c25}.slider-container .slider-input::-webkit-slider-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px #0000004d}.slider-container .slider-input::-moz-range-thumb{width:20px;height:20px;border-radius:50%;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 6px #0003;border:none}.light .slider-container .slider-input::-moz-range-thumb{background:#000;border:2px solid #ff5c25}.dark .slider-container .slider-input::-moz-range-thumb{background:#fff;border:2px solid #ff5c25}.slider-container .slider-input::-moz-range-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px #0000004d}.slider-container .slider-input:focus-visible{outline:none}.light .slider-container .slider-input:focus-visible::-webkit-slider-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.dark .slider-container .slider-input:focus-visible::-webkit-slider-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.slider-container .slider-input:focus-visible::-webkit-slider-thumb{transform:scale(1.15)}.light .slider-container .slider-input:focus-visible::-moz-range-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.dark .slider-container .slider-input:focus-visible::-moz-range-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.slider-container .slider-input:focus-visible::-moz-range-thumb{transform:scale(1.15)}.slider-container .slider-input:active:not(:disabled)::-webkit-slider-thumb{transform:scale(1.2)}.slider-container .slider-input:active:not(:disabled)::-moz-range-thumb{transform:scale(1.2)}.slider-container .slider-input:disabled{opacity:.5;cursor:not-allowed}.slider-container .slider-input:disabled::-webkit-slider-thumb{cursor:not-allowed;transform:scale(1)!important}.slider-container .slider-input:disabled::-moz-range-thumb{cursor:not-allowed;transform:scale(1)!important}.slider-container .slider-marks{position:relative;width:100%;height:20px;margin-top:8px}.slider-container .slider-marks .slider-mark{position:absolute;transform:translate(-50%);font-size:12px}.light .slider-container .slider-marks .slider-mark{color:#333}.dark .slider-container .slider-marks .slider-mark{color:#a0a0a0}@keyframes checkScale{0%{transform:scale(0);opacity:0}50%{transform:scale(1.1)}to{transform:scale(1);opacity:1}}.checkbox-wrapper{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;cursor:pointer;padding:8px 0}.checkbox-wrapper.disabled{opacity:.5;cursor:not-allowed}.light .checkbox-wrapper:hover:not(.disabled) .checkbox-label{color:#ff5c25}.dark .checkbox-wrapper:hover:not(.disabled) .checkbox-label{color:#ff5c25}.checkbox-wrapper .checkbox-label{flex:1;transition:color .2s ease;pointer-events:none}.light .checkbox-wrapper .checkbox-label{color:#000}.dark .checkbox-wrapper .checkbox-label{color:#fff}.checkbox-wrapper .checkbox-box{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;transition:all .2s ease;cursor:pointer;flex-shrink:0;pointer-events:none}.light .checkbox-wrapper .checkbox-box{border:2px solid #f5f5f5;background:#feffff;color:#000}.light .checkbox-wrapper .checkbox-box:hover:not(.disabled){border-color:#000;transform:scale(1.05)}.dark .checkbox-wrapper .checkbox-box{border:2px solid #262626;background:#151515;color:#fff}.dark .checkbox-wrapper .checkbox-box:hover:not(.disabled){border-color:#fff;transform:scale(1.05)}.checkbox-wrapper .checkbox-box:active:not(.disabled){transform:scale(.95)}.light .checkbox-wrapper .checkbox-box:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.dark .checkbox-wrapper .checkbox-box:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.light .checkbox-wrapper .checkbox-box.checked,.dark .checkbox-wrapper .checkbox-box.checked{background:#ff5c25;border-color:#ff5c25}.checkbox-wrapper .checkbox-box.checked svg{animation:checkScale .3s cubic-bezier(.68,-.55,.265,1.55)}.checkbox-wrapper .checkbox-box svg{font-size:18px;color:#fff}.checkbox-wrapper .checkbox-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}.light .checkbox-wrapper .checkbox-input:focus-visible+.checkbox-box{box-shadow:0 0 0 3px #ff5c25}.dark .checkbox-wrapper .checkbox-input:focus-visible+.checkbox-box{box-shadow:0 0 0 3px #ff5c25}.checkbox-wrapper .checkbox-input:disabled{cursor:not-allowed}.chipSelect{position:relative;width:300px;margin-top:10px}.chipSelect .chipSelect-label{display:block;margin-bottom:8px;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .chipSelect .chipSelect-label{color:#333}.dark .chipSelect .chipSelect-label{color:#a0a0a0}.chipSelect .chipSelect-control{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:8px 12px;cursor:pointer;transition:.2s ease}.light .chipSelect .chipSelect-control{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .chipSelect .chipSelect-control:hover{border-color:#000}.dark .chipSelect .chipSelect-control{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .chipSelect .chipSelect-control:hover{border-color:#fff}.chipSelect .chipSelect-value{flex:1;min-width:0}.light .chipSelect .chipSelect-placeholder{color:#333}.dark .chipSelect .chipSelect-placeholder{color:#a0a0a0}.chipSelect .chipSelect-chips{display:flex;flex-wrap:wrap;gap:6px}.chipSelect .chipSelect-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;font-size:13px;text-transform:capitalize}.light .chipSelect .chipSelect-chip{background:#f5f5f5;border-radius:6px;color:#000}.dark .chipSelect .chipSelect-chip{background:#262626;border-radius:6px;color:#fff}.chipSelect .chipSelect-chip .chipSelect-chip-remove{display:flex;align-items:center;justify-content:center;padding:2px;margin-left:2px;border:none;background:transparent;cursor:pointer;border-radius:50%;transition:.2s ease}.light .chipSelect .chipSelect-chip .chipSelect-chip-remove{color:#333}.light .chipSelect .chipSelect-chip .chipSelect-chip-remove:hover{background:#ffffff1a;color:#000}.dark .chipSelect .chipSelect-chip .chipSelect-chip-remove{color:#a0a0a0}.dark .chipSelect .chipSelect-chip .chipSelect-chip-remove:hover{background:#ffffff1a;color:#fff}.chipSelect .chipSelect-chip .chipSelect-chip-remove svg{font-size:14px}.chipSelect .chipSelect-arrow{flex-shrink:0;font-size:24px;transition:transform .2s ease}.light .chipSelect .chipSelect-arrow{color:#333}.dark .chipSelect .chipSelect-arrow{color:#a0a0a0}.chipSelect .chipSelect-arrow.open{transform:rotate(180deg)}.chipSelect .chipSelect-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:250px;overflow-y:auto;z-index:100}.light .chipSelect .chipSelect-dropdown{background:#fff;border:1px solid #f5f5f5;border-radius:12px;box-shadow:0 4px 12px #00000026}.dark .chipSelect .chipSelect-dropdown{background:#0a0a0a;border:1px solid #262626;border-radius:12px;box-shadow:0 4px 12px #00000026}.chipSelect .chipSelect-option{display:flex;align-items:center;gap:10px;padding:12px 16px;cursor:pointer;transition:.2s ease}.light .chipSelect .chipSelect-option{color:#000}.light .chipSelect .chipSelect-option:hover{background:#f5f5f5}.light .chipSelect .chipSelect-option.selected{background:#feffff}.dark .chipSelect .chipSelect-option{color:#fff}.dark .chipSelect .chipSelect-option:hover{background:#262626}.dark .chipSelect .chipSelect-option.selected{background:#151515}.chipSelect .chipSelect-option .chipSelect-option-checkbox{display:flex;align-items:center;justify-content:center;width:20px;height:20px;font-size:12px;font-weight:700}.light .chipSelect .chipSelect-option .chipSelect-option-checkbox{border:2px solid #f5f5f5;border-radius:4px;color:#000}.dark .chipSelect .chipSelect-option .chipSelect-option-checkbox{border:2px solid #262626;border-radius:4px;color:#fff}.light .chipSelect .chipSelect-option.selected .chipSelect-option-checkbox{background:#f5f5f5;border-color:#000}.dark .chipSelect .chipSelect-option.selected .chipSelect-option-checkbox{background:#262626;border-color:#fff}.chipSelect .chipSelect-option .chipSelect-option-label{flex:1}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dropdown{position:relative;width:300px;margin-top:10px;gap:8px;display:flex;flex-flow:column}.dropdown.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.dropdown .dropdown-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.dropdown .dropdown-label{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .dropdown .dropdown-label{color:#333}.dark .dropdown .dropdown-label{color:#a0a0a0}.dropdown .dropdown-reset{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .dropdown .dropdown-reset,.dark .dropdown .dropdown-reset{color:#ff5c25}.dropdown .dropdown-reset:hover{opacity:.8}.dropdown .dropdown-reset svg{font-size:12px}.dropdown .dropdown-control{display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 16px;cursor:pointer;transition:all .2s ease;outline:none}.light .dropdown .dropdown-control{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .dropdown .dropdown-control:hover{border-color:#000}.dark .dropdown .dropdown-control{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .dropdown .dropdown-control:hover{border-color:#fff}.dropdown .dropdown-control:focus-visible{outline:none}.light .dropdown .dropdown-control:focus-visible{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c25}.dark .dropdown .dropdown-control:focus-visible{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c25}.dropdown .dropdown-value{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color .2s ease}.dropdown .dropdown-arrow{flex-shrink:0;font-size:24px;transition:transform .2s ease}.light .dropdown .dropdown-arrow{color:#333}.dark .dropdown .dropdown-arrow{color:#a0a0a0}.dropdown .dropdown-arrow.open{transform:rotate(180deg)}.dropdown .dropdown-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:250px;overflow-y:auto;z-index:9999;animation:dropdownSlideIn .2s ease-out}.light .dropdown .dropdown-menu{background:#fff;border:1px solid #f5f5f5;border-radius:12px;box-shadow:0 4px 12px #00000026}.dark .dropdown .dropdown-menu{background:#0a0a0a;border:1px solid #262626;border-radius:12px;box-shadow:0 4px 12px #00000026}.dropdown .dropdown-menu::-webkit-scrollbar{width:6px}.light .dropdown .dropdown-menu::-webkit-scrollbar-track{background:#feffff}.dark .dropdown .dropdown-menu::-webkit-scrollbar-track{background:#151515}.light .dropdown .dropdown-menu::-webkit-scrollbar-thumb{background:#f5f5f5;border-radius:3px}.dark .dropdown .dropdown-menu::-webkit-scrollbar-thumb{background:#262626;border-radius:3px}.light .dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover{background:#000}.dark .dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover{background:#fff}.dropdown .dropdown-option{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;cursor:pointer;transition:all .15s ease;outline:none}.light .dropdown .dropdown-option{color:#000}.light .dropdown .dropdown-option:hover{background:#f5f5f5;padding-left:20px}.light .dropdown .dropdown-option.selected{background:#feffff;font-weight:500}.light .dropdown .dropdown-option.focused{background:#f5f5f5;border-left:2px solid #ff5c25}.dark .dropdown .dropdown-option{color:#fff}.dark .dropdown .dropdown-option:hover{background:#262626;padding-left:20px}.dark .dropdown .dropdown-option.selected{background:#151515;font-weight:500}.dark .dropdown .dropdown-option.focused{background:#262626;border-left:2px solid #ff5c25}.dropdown .dropdown-option .dropdown-option-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown .dropdown-option .dropdown-option-check{flex-shrink:0;font-size:14px;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center}.light .dropdown .dropdown-option .dropdown-option-check,.dark .dropdown .dropdown-option .dropdown-option-check{background:#ff5c25;color:#fff}@keyframes radioDotScale{0%{transform:scale(0);opacity:0}50%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}.radio-group{width:100%;margin-top:10px}.radio-group .radio-title{font-weight:700;font-size:1.17rem;margin-bottom:12px;display:block}.light .radio-group .radio-title{color:#000}.dark .radio-group .radio-title{color:#fff}.radio-group .radio-title-small{font-weight:700;font-size:1rem;margin-bottom:10px;display:block}.light .radio-group .radio-title-small{color:#000}.dark .radio-group .radio-title-small{color:#fff}.radio-group .radio-options{display:flex;flex-direction:column;gap:10px}.radio-group .radio-option{position:relative;display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:16px 20px;transition:all .2s ease}.light .radio-group .radio-option{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.light .radio-group .radio-option:hover:not(.disabled){background:#fafafa;transform:translateY(-1px)}.dark .radio-group .radio-option{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.dark .radio-group .radio-option:hover:not(.disabled){background:#111;transform:translateY(-1px)}.radio-group .radio-option:active:not(.disabled){transform:translateY(0)}.light .radio-group .radio-option.selected .radio-circle,.dark .radio-group .radio-option.selected .radio-circle{border-color:#ff5c25}.radio-group .radio-option.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.radio-group .radio-label{flex:1;font-size:15px;pointer-events:none}.light .radio-group .radio-label{color:#000}.dark .radio-group .radio-label{color:#fff}.radio-group .radio-circle{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;transition:all .2s ease;cursor:pointer;flex-shrink:0;margin-left:20px;pointer-events:none}.light .radio-group .radio-circle{border:2px solid #f5f5f5;background:#fafafa}.dark .radio-group .radio-circle{border:2px solid #262626;background:#111}.radio-group .radio-circle:hover:not(.disabled){transform:scale(1.1)}.light .radio-group .radio-circle:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.dark .radio-group .radio-circle:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.radio-group .radio-dot{width:12px;height:12px;border-radius:50%;animation:radioDotScale .3s cubic-bezier(.68,-.55,.265,1.55)}.light .radio-group .radio-dot,.dark .radio-group .radio-dot{background:#ff5c25}.radio-group .radio-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}.light .radio-group .radio-input:focus-visible+.radio-circle{box-shadow:0 0 0 3px #ff5c25}.dark .radio-group .radio-input:focus-visible+.radio-circle{box-shadow:0 0 0 3px #ff5c25}.radio-group .radio-input:disabled{cursor:not-allowed}.search-input-container{position:relative;display:flex;align-items:center;width:250px}.search-input-container.full-width{width:100%}.search-input-container .search-input-icon{position:absolute;left:16px;font-size:20px;pointer-events:none}.light .search-input-container .search-input-icon{color:#333}.dark .search-input-container .search-input-icon{color:#a0a0a0}.search-input-container .search-input-field{width:100%;height:48px;padding:0 16px 0 44px;font-size:15px;outline:none;transition:.2s ease}.light .search-input-container .search-input-field{background:#feffff;border:1px solid #f5f5f5;border-radius:24px;color:#000}.light .search-input-container .search-input-field:hover,.light .search-input-container .search-input-field:focus{border-color:#000}.light .search-input-container .search-input-field::placeholder{color:#333}.dark .search-input-container .search-input-field{background:#151515;border:1px solid #262626;border-radius:24px;color:#fff}.dark .search-input-container .search-input-field:hover,.dark .search-input-container .search-input-field:focus{border-color:#fff}.dark .search-input-container .search-input-field::placeholder{color:#a0a0a0}.switch-wrapper{display:flex;align-items:center;justify-content:space-between;width:100%;cursor:pointer;padding:8px 0}.switch-wrapper .switch-label{flex:1}.light .switch-wrapper .switch-label{color:#000}.dark .switch-wrapper .switch-label{color:#fff}.switch-wrapper .switch-track{position:relative;width:52px;height:32px;border-radius:16px;cursor:pointer;transition:.2s ease;flex-shrink:0}.light .switch-wrapper .switch-track{background:#f5f5f5}.dark .switch-wrapper .switch-track{background:#262626}.light .switch-wrapper .switch-track.checked,.dark .switch-wrapper .switch-track.checked{background:#ff5c25}.switch-wrapper .switch-track.checked .switch-thumb{transform:translate(20px)}.switch-wrapper .switch-thumb{position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;transition:.2s ease;box-shadow:0 2px 4px #0003}.light .switch-wrapper .switch-thumb{background:#000}.dark .switch-wrapper .switch-thumb{background:#fff}.switch-wrapper .switch-input{position:absolute;opacity:0;pointer-events:none}.text-field-container{display:flex;flex-direction:column;width:300px;margin-top:10px}.text-field{display:flex;flex-direction:column;gap:8px}.text-field .text-field-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.text-field .text-field-label{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .text-field .text-field-label{color:#333}.dark .text-field .text-field-label{color:#a0a0a0}.text-field .text-field-reset{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .text-field .text-field-reset,.dark .text-field .text-field-reset{color:#ff5c25}.text-field .text-field-reset:hover{opacity:.8}.text-field .text-field-reset svg{font-size:12px}.text-field .text-field-input{height:56px;padding:0 16px;font-size:16px;outline:none;transition:.2s ease}.light .text-field .text-field-input{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .text-field .text-field-input:hover,.light .text-field .text-field-input:focus{border-color:#000}.light .text-field .text-field-input::placeholder{color:#333}.dark .text-field .text-field-input{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .text-field .text-field-input:hover,.dark .text-field .text-field-input:focus{border-color:#fff}.dark .text-field .text-field-input::placeholder{color:#a0a0a0}.text-field .text-field-textarea{padding:16px;font-size:16px;outline:none;resize:vertical;min-height:100px;transition:.2s ease}.light .text-field .text-field-textarea{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .text-field .text-field-textarea:hover,.light .text-field .text-field-textarea:focus{border-color:#000}.light .text-field .text-field-textarea::placeholder{color:#333}.dark .text-field .text-field-textarea{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .text-field .text-field-textarea:hover,.dark .text-field .text-field-textarea:focus{border-color:#fff}.dark .text-field .text-field-textarea::placeholder{color:#a0a0a0}.text-field.customcss .text-field-textarea{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace!important}.textarea-autosize{width:100%;padding:12px 16px;font-size:15px;line-height:24px;outline:none;resize:none;overflow:hidden;transition:.2s ease;font-family:inherit}.light .textarea-autosize{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .textarea-autosize:hover,.light .textarea-autosize:focus{border-color:#000}.light .textarea-autosize::placeholder{color:#333}.dark .textarea-autosize{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .textarea-autosize:hover,.dark .textarea-autosize:focus{border-color:#fff}.dark .textarea-autosize::placeholder{color:#a0a0a0}.textarea-autosize[readonly]{opacity:.6;cursor:not-allowed}.notesContainer,.notesContainer .flexNotes textarea,.topBarNotes{backdrop-filter:blur(15px)}.light .notesContainer,.light .notesContainer .flexNotes textarea,.notesContainer .flexNotes .light textarea,.light .topBarNotes{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .notesContainer,.dark .notesContainer .flexNotes textarea,.notesContainer .flexNotes .dark textarea,.dark .topBarNotes{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.notesContainer .title,.notesContainer .flexNotes textarea .title,.topBarNotes .title{font-size:18px}.light .notesContainer .title,.notesContainer .flexNotes .light textarea .title,.light .topBarNotes .title{color:#000}.dark .notesContainer .title,.notesContainer .flexNotes .dark textarea .title,.dark .topBarNotes .title{color:#fff}.notesContainer .subtitle,.notesContainer .flexNotes textarea .subtitle,.topBarNotes .subtitle{font-size:14px}.light .notesContainer .subtitle,.notesContainer .flexNotes .light textarea .subtitle,.light .topBarNotes .subtitle{color:#333}.dark .notesContainer .subtitle,.notesContainer .flexNotes .dark textarea .subtitle,.dark .topBarNotes .subtitle{color:#a0a0a0}.notes{position:relative}.notes h3{text-shadow:none;margin:0;cursor:initial;user-select:none}.notes:hover .notesContainer,.notes:active .notesContainer{visibility:visible!important}.notes:focus .notesContainer{visibility:visible!important}.notesContainer{padding:15px;text-align:center;border-radius:12px;position:absolute;font-size:1rem!important}.light .notesContainer .notes-buttons button{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .notesContainer .notes-buttons button:hover{background:#f7fafce6}.light .notesContainer .notes-buttons button:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .notesContainer .notes-buttons button:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .notesContainer .notes-buttons button{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .notesContainer .notes-buttons button:hover{background:#565656}.dark .notesContainer .notes-buttons button:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .notesContainer .notes-buttons button:focus{background:#565656;box-shadow:0 0 0 1px #fff}.notesContainer .notes-buttons button{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.light .notesContainer .notes-buttons button{background:#fff!important}.light .notesContainer .notes-buttons button:hover{background:#f7fafce6!important}.dark .notesContainer .notes-buttons button{background:#222!important}.dark .notesContainer .notes-buttons button:hover{background:#565656!important}.notesContainer .notes-buttons button{flex-grow:1;display:grid;place-items:center}.notesContainer .notes-buttons button svg{font-size:1.3rem}.notesContainer .flexNotes{display:flex;flex-flow:column;gap:15px}.notesContainer .flexNotes textarea{max-height:65vh!important;overflow-y:visible!important;border:none;padding:15px;border-radius:12px;width:200px}.notesContainer ::placeholder{color:#636e72;opacity:1}textarea{border:none;resize:none;background:none}.topBarNotes{display:flex;align-items:center;justify-content:center;height:50px;border-radius:12px;flex-flow:row;gap:5px;user-select:none}.topBarNotes svg{font-size:1.5rem}.notes-buttons{display:flex!important;gap:10px}.light .notes-buttons button:disabled{background:#feffff!important}.dark .notes-buttons button:disabled{background:#151515!important}.notes-buttons button:disabled{cursor:not-allowed}.notes-buttons .tooltip{flex:1!important}.notesContainer .flexTodo{display:flex;flex-flow:column;gap:15px;width:223px}.notesContainer .flexTodo .todoRows{max-height:65vh!important;overflow:hidden visible!important;display:flex;flex-flow:column;gap:15px}.notesContainer .todosEmpty{height:200px;display:grid;place-items:center}.light .todoRow{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .todoRow:hover{background:#f7fafce6}.light .todoRow:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .todoRow:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .todoRow{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .todoRow:hover{background:#565656}.dark .todoRow:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .todoRow:focus{background:#565656;box-shadow:0 0 0 1px #fff}.todoRow{padding:1px;font-size:16px;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center;display:flex;flex-flow:row;align-items:center;margin:15px 5px}.light .todoRow{color:#000!important}.dark .todoRow{color:#fff!important}.todoRow textarea{width:120px}.light .todoRow textarea{color:#000!important}.dark .todoRow textarea{color:#fff!important}.todoRow svg{padding:10px;place-items:center;display:grid;cursor:pointer}.light .todoRow svg{color:#000!important}.dark .todoRow svg{color:#fff!important}.light .todoRow svg:hover{background:#feffff;border-radius:12px}.dark .todoRow svg:hover{background:#151515;border-radius:12px}.done{text-decoration:line-through}.done textarea{cursor:not-allowed}.appsShortcutContainer{max-height:35rem;overflow-y:auto;border-radius:.8em;padding:1.2em;display:grid;grid-template-columns:repeat(3,auto);grid-auto-rows:100px;gap:10px;place-items:center}.light .appsShortcutContainer{background:#fafafa}.dark .appsShortcutContainer{background:#111}.appsShortcutContainer .noAppsContainer{grid-column:1/3}.appsShortcutContainer .noAppsContainer h3{margin:0;display:flex;align-items:center}.appsShortcutContainer .noAppsContainer svg{font-size:30px;margin-left:10px}.appsIcon{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;text-decoration:none;padding:10px;border-radius:.8em;cursor:pointer;width:5rem;height:4.7rem;transition:.5s}.appsIcon img{border-radius:.6rem}.appsIcon span{display:inline-block;width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;text-align:center;margin-top:10px}.appsIcon:hover span{white-space:initial}.appsIcon:hover{height:max-content}.light .appsIcon{color:#000}.light .appsIcon:hover{background:#f5f5f5}.dark .appsIcon{color:#fff}.dark .appsIcon:hover{background:#262626}.navbar{display:flex;flex-flow:row;gap:10px;animation:fadeIn 2s}.navbar button{-webkit-font-smoothing:subpixel-antialiased;cursor:pointer;margin-top:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.light .old button.navbarButton{background:none;color:#fff;border-radius:12px;box-shadow:0 0!important}.light .old button.navbarButton:hover{background-color:#4242423b}.light .old button.navbarButton:active{background-color:#4242423b;box-shadow:0 0 0 1px #000}.light .old button.navbarButton:focus{background-color:#4242423b;box-shadow:0 0 0 1px #000}.dark .old button.navbarButton{background:none;color:#fff;border-radius:12px;box-shadow:0 0!important}.dark .old button.navbarButton:hover{background-color:#4242423b}.dark .old button.navbarButton:active{background-color:#4242423b;box-shadow:0 0 0 1px #fff}.dark .old button.navbarButton:focus{background-color:#4242423b;box-shadow:0 0 0 1px #fff}.old button.navbarButton{padding:12px;font-size:1.2rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.light .new button.navbarButton{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .new button.navbarButton:hover{background:#f7fafce6}.light .new button.navbarButton:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .new button.navbarButton:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .new button.navbarButton{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .new button.navbarButton:hover{background:#565656}.dark .new button.navbarButton:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .new button.navbarButton:focus{background:#565656;box-shadow:0 0 0 1px #fff}.new button.navbarButton{padding:12px;font-size:1.2rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.navbar-hover{position:absolute;top:0;right:0;height:50px;width:500px}.navbar-hover .navbar{opacity:0;transition:visibility .2s linear,opacity .2s linear;visibility:hidden}.navbar-hover:hover .navbar{opacity:1;visibility:visible}.navbar-container{position:absolute;top:1rem;right:1rem;display:flex;flex-flow:column}.appsmodal{width:fit-content;padding:5px;border-radius:1em}.light .appsmodal{background:#f5f5f5}.dark .appsmodal{background:#262626}.navbarButtonOptions{display:flex;flex-flow:row;gap:10px}.navbarButtonOptions .navbarButtonOption .subtitle{font-size:12px}.navbarButtonOptions .navbarButtonOption svg{background:linear-gradient(238.7deg,#ff5c25 13.8%,#d21a11 49.49%,#ff456e 87.48%);padding:5px;border-radius:100%}.light .navbarButtonOptions .navbarButtonOption svg{color:#000}.dark .navbarButtonOptions .navbarButtonOption svg{color:#fff}.navbarButtonOptions .navbarButtonOption{cursor:pointer;width:70px!important;border:none;outline:none;margin-top:0!important;height:70px;padding:5px;display:flex;flex-flow:column;align-items:center;justify-content:center;text-align:center;gap:10px}.light .navbarButtonOptions .navbarButtonOption{background:#f5f5f5;border-radius:12px;box-shadow:0 0 0 1px #f7fafce6}.light .navbarButtonOptions .navbarButtonOption:hover{background:#feffff}.dark .navbarButtonOptions .navbarButtonOption{background:#262626;border-radius:12px;box-shadow:0 0 0 1px #565656}.dark .navbarButtonOptions .navbarButtonOption:hover{background:#151515}.light .navbarButtonOptions .disabled{background:#feffff;box-shadow:0 0 0 1px #f5f5f5}.light .navbarButtonOptions .disabled:hover{background:#f5f5f5}.dark .navbarButtonOptions .disabled{background:#151515;box-shadow:0 0 0 1px #262626}.dark .navbarButtonOptions .disabled:hover{background:#262626}.light .navbarButtonOptions .disabled svg{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .navbarButtonOptions .disabled svg{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.Toastify__toast-container{width:auto!important;padding:16px!important}.light .Toastify__toast{background:#ffffffb3!important;color:#000!important;box-shadow:0 0 0 1px #e7e3e9,0 8px 32px #0003!important}.dark .Toastify__toast{background:#000000b3!important;color:#fff!important;box-shadow:0 0 0 1px #484848,0 8px 32px #0003!important}.Toastify__toast{border-radius:"borderRadius"!important;-webkit-backdrop-filter:blur(15px) saturate(180%)!important;backdrop-filter:blur(15px) saturate(180%)!important;padding:16px 20px!important;min-height:64px!important;width:auto!important;min-width:300px!important;max-width:500px!important;font-family:inherit!important;box-sizing:border-box!important;transition:all .3s ease!important}.Toastify__toast:hover{transform:translateY(-2px)!important;box-shadow:0 0 0 1px #484848,0 12px 40px #0000004d!important}.Toastify__toast-body{padding:0!important;font-size:15px!important;line-height:1.5!important;margin:0!important}.light .Toastify__toast-body{color:#000!important}.dark .Toastify__toast-body{color:#fff!important}.light .Toastify__close-button{color:#000!important;opacity:.6!important}.dark .Toastify__close-button{color:#fff!important;opacity:.6!important}.Toastify__close-button{align-self:center!important;transition:all .2s ease!important}.Toastify__close-button:hover{opacity:1!important}.Toastify__progress-bar{height:4px!important;border-radius:0 0 "borderRadius" "borderRadius"!important}.light .Toastify__progress-bar--default,.light .Toastify__progress-bar--info,.dark .Toastify__progress-bar--default,.dark .Toastify__progress-bar--info{background:linear-gradient(90deg,#ff5c25,#dd3b67)!important}.Toastify__progress-bar--success{background:linear-gradient(90deg,#2ed573,#1abc9c)!important}.Toastify__progress-bar--warning{background:linear-gradient(90deg,#ffb032,#ff9500)!important}.Toastify__progress-bar--error{background:linear-gradient(90deg,#ff4757,#dd3b67)!important}.light .Toastify__toast--default,.light .Toastify__toast--info,.light .Toastify__toast--success,.light .Toastify__toast--warning,.light .Toastify__toast--error{background:#ffffffb3!important;color:#000!important}.dark .Toastify__toast--default,.dark .Toastify__toast--info,.dark .Toastify__toast--success,.dark .Toastify__toast--warning,.dark .Toastify__toast--error{background:#000000b3!important;color:#fff!important}body{background:#000;margin:0;overflow:hidden;text-rendering:optimizelegibility!important;-moz-text-rendering:optimizelegibility!important}*{font-family:Lexend Deca,Inter,sans-serif!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;outline:none}#center{font-size:calc(10px + 2vmin);text-align:center;position:absolute;inset:0;text-shadow:0 0 25px rgba(0,0,0,.3);display:grid;place-items:center;margin:0}#center #widgets{color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;animation:fadeIn 1s}#center.no-textBorder,#center.no-textBorder .quote{text-shadow:none!important}.light ::placeholder{color:#000}.dark ::placeholder{color:#fff}::placeholder{opacity:1}.light #root{color:#000}.dark #root{color:#fff}.textBorder{filter:drop-shadow(var(--shadow-shift) var(--shadow-shift) 0 rgba(17,17,17,.8))}.no-animations .ReactModal__Content,.no-animations button,.no-animations svg,.no-animations input[type=text],.no-animations .MuiSwitch-switchBase,.no-animations .tooltipTitle,.no-animations .quicklinks-container img{transition:none!important}.frame{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}@font-face{font-family:Lexend Deca;font-style:normal;font-display:swap;font-weight:400;src:url(./lexend-deca-latin-400-normal-Ck_pn9Ss.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lexend Deca;font-style:normal;font-display:swap;font-weight:400;src:url(./lexend-deca-latin-ext-400-normal-BcOMzUY_.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-400-normal-C38fXH4l.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-greek-400-normal-B4URO6DV.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-greek-ext-400-normal-DGGRlc-M.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-vietnamese-400-normal-DMkecbls.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-cyrillic-400-normal-obahsSVq.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}.criticalError{display:grid;place-items:center;width:100vw;height:100vh}.criticalError .criticalError-actions{display:flex;flex-flow:row;gap:20px}.criticalError button,.criticalError a{border:0;border-radius:12px;padding:10px 30px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer;text-decoration:none}@media(prefers-color-scheme:dark){body{background-color:#000}.criticalError .criticalError-message{color:#fff}.criticalError p{color:#ffffffc0}.criticalError a{background:#0e1013;box-shadow:0 0 0 1px #484848;color:#fff}.criticalError a:hover{background:#1e1e1e}}@media(prefers-color-scheme:light){body{background-color:#fff}.criticalError .criticalError-message{color:#000}.criticalError p{color:#000000c0}.criticalError a{background:#fdfdfd;box-shadow:0 0 0 1px #484848;color:#000}.criticalError a:hover{background:#f5f5f5}}.light .pulse{height:100%;width:100%;background:linear-gradient(-90deg,#efefef,#ccc,#efefef);background-size:400% 400%;animation:pulse .8s ease-in-out infinite}.dark .pulse{height:100%;width:100%;background:linear-gradient(-90deg,#000,#535353,#000);background-size:400% 400%;animation:pulse .8s ease-in-out infinite}@keyframes pulse{0%{background-position:0% 0%}to{background-position:-135% 0%}}:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0px;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width:480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}@media only screen and (max-width:480px){.Toastify__toast-container[data-stacked=true]{width:100vw}}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}+.photoInformation,.photoInformation .map-concept{backdrop-filter:blur(15px)}.light .photoInformation,.light .photoInformation .map-concept,.photoInformation .light .map-concept{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .photoInformation,.dark .photoInformation .map-concept,.photoInformation .dark .map-concept{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.photoInformation .title{font-size:18px}.light .photoInformation .title,.photoInformation .light .map-concept .title{color:#000}.dark .photoInformation .title,.photoInformation .dark .map-concept .title{color:#fff}.photoInformation .subtitle{font-size:14px}.light .photoInformation .subtitle,.photoInformation .light .map-concept .subtitle{color:#333}.dark .photoInformation .subtitle,.photoInformation .dark .map-concept .subtitle{color:#a0a0a0}.photoInformationHolder{position:absolute;bottom:1rem;left:1rem;flex-flow:column-reverse;display:flex}.photoInformationHolder:hover .photoInformation{height:auto;align-items:flex-start;flex-flow:column}.photoInformationHolder:hover .photoInformation .buttons{padding:30px 0 0;display:flex}.photoInformationHolder:hover .photoInformation .extra-content{margin-top:10px;display:grid;grid-template-columns:auto auto;gap:10px;transition:.8s}.photoInformationHolder:hover .photoInformation .stats{display:flex;padding-top:5px;gap:20px}.light .photoInformationHolder:hover .photoInformation .stats{color:#333}.dark .photoInformationHolder:hover .photoInformation .stats{color:#a0a0a0}.photoInformationHolder:hover .photoInformation .stats div{display:flex;align-items:center;align-content:center;flex-direction:row;gap:5px}.photoInformationHolder:hover .photoInformation .stats div svg{font-size:1em}.photoInformationHolder:hover .photoInformation .copyright{display:flex;margin-top:10px;gap:10px}.photoInformationHolder:hover .photoInformation .copyright a{text-decoration:none}.light .photoInformationHolder:hover .photoInformation .copyright a{color:#333}.dark .photoInformationHolder:hover .photoInformation .copyright a{color:#a0a0a0}.photoInformationHolder:hover .photoInformation .photoInformation-content{padding:20px 20px 20px 0}.photoInformationHolder:hover .photoInformation .map-concept{width:100%}.mapOn{width:100%;height:150px;display:flex;justify-content:center;align-items:center;overflow:hidden}.mapOn img{flex-shrink:0;min-width:100%;min-height:100%}.mapOn svg{display:none}.photoInformation-legacy{font-size:1.36em;text-shadow:0 0 10px rgba(0,0,0,.3);color:#fff;z-index:99;user-select:none;cursor:initial;font-weight:bolder}.photoInformation-legacy svg{font-size:1.36em}.photoInformation-legacy:hover .infoCard{display:block!important}.photoInformation-legacy{display:flex;align-items:center;gap:15px}.photoInformation-legacy svg:hover+.infoCard{display:block}.photoInformation-legacy a{color:#fff;text-decoration:none}.photoInformation-legacy a:hover{text-decoration:underline}.photoInformation-legacy+.photoInformation{animation:none!important}.infoCard{display:none;background:var(--background);box-shadow:0 0 10px #0000004d;color:var(--modal-text);position:fixed;bottom:2.9rem;left:.7em;padding:1rem;border-radius:24px 24px 24px 0;width:300px!important;text-align:left;text-shadow:none}.infoCard svg{margin-right:.5rem;vertical-align:middle;display:inline-flex;padding:2px}.infoCard .locationMap{height:100px;object-fit:cover;width:100%;background-position:center center;background-repeat:no-repeat}.infoCard .mapboxLogo{height:20px;width:auto}.infoCard span,.infoCard svg{font-size:2em}.infoCard span{user-select:text}.infoCard h1,.infoCard .MuiSvgIcon-root{user-select:none;cursor:initial}.infoCard h1,.infoCard .infoIcon{font-size:3em}.infoCard .infoIcon{padding:4px}.infoCard hr{height:3px;background:var(--photo-info);outline:none;border:none}.infoCard:hover,.infoCard span{display:block!important}.infoCard .download{text-decoration:underline;cursor:pointer}.infoCard .download:hover{opacity:.8}.infoCard .mapCopyright{font-size:.9em}.photoInformation{animation:fadeIn 2s;min-width:300px;font-size:.8em;font-weight:300;z-index:99;display:flex;flex-flow:row;align-items:center;transition:.8s cubic-bezier(.075,.82,.165,1);padding:10px}.photoInformation .link{text-decoration:none;cursor:pointer}.light .photoInformation .link,.dark .photoInformation .link{color:#ff5c25}.photoInformation .link:hover{opacity:.8}.photoInformation:hover{padding:20px;height:auto;align-items:flex-start;flex-flow:column}.photoInformation:hover .buttons{padding:30px 0 0;display:flex}.photoInformation:hover .extra-content{display:flex;flex-flow:column;gap:10px;transition:.8s}.photoInformation:hover .stats{display:flex;gap:15px}.light .photoInformation:hover .stats{color:#333}.dark .photoInformation:hover .stats{color:#a0a0a0}.photoInformation:hover .stats div{display:flex;align-items:center;align-content:center;flex-direction:row;gap:10px}.photoInformation:hover .stats div svg{font-size:1em}.photoInformation:hover .copyright{display:flex;margin-top:10px;gap:10px}.photoInformation:hover .copyright a{text-decoration:none}.light .photoInformation:hover .copyright a{color:#333}.dark .photoInformation:hover .copyright a{color:#a0a0a0}.photoInformation:hover .photoInformation-content{padding-left:0}.photoInformation:hover .map-concept{width:100%}.photoInformation .map-concept{height:50px;width:50px;flex-grow:0;flex-shrink:0;border-radius:12px;display:flex;align-items:center;justify-content:center;border:none!important}.photoInformation .map-concept svg{font-size:24px}.photoInformation .map-concept img{width:100%;height:100%;background-repeat:no-repeat;background-size:cover;object-fit:cover;border-radius:12px}.photoInformation .location{font-size:1.9em}.photoInformation .credit{font-size:1.4em}.light .photoInformation .credit{color:#333}.dark .photoInformation .credit{color:#a0a0a0}.light .photoInformation .credit a{color:#333}.dark .photoInformation .credit a{color:#a0a0a0}.photoInformation .credit a:nth-child(2){color:var(--modal-link)}.photoInformation-content{line-height:2em;padding-right:10px;display:flex;flex-flow:row;align-items:center;gap:20px;padding-left:20px;width:100%;justify-content:space-between}.light .photoInformation-content a,.dark .photoInformation-content a{color:#ff5c25}.photoInformation-content a{text-decoration:none}.photoInformation-content a:hover{opacity:.9}.extra-content{display:none;flex-flow:column;width:100%;transition:1s}.extra-content .row{display:flex;align-items:center;gap:20px;font-size:13px}.light .extra-content .row svg{color:#333;font-size:18px}.dark .extra-content .row svg{color:#a0a0a0;font-size:18px}.copyright{display:none}.buttons{align-items:center;gap:20px;padding:20px 20px 0 0;display:none}.light .buttons svg{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .buttons svg:hover{background:#f7fafce6}.light .buttons svg:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .buttons svg:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .buttons svg{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .buttons svg:hover{background:#565656}.dark .buttons svg:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .buttons svg:focus{background:#565656;box-shadow:0 0 0 1px #fff}.buttons svg{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.photoMap img{height:50px!important;width:50px!important}.photoMap a{height:50px}.photoInformation:hover .photoMap,.photoInformation-legacy+.photoInformation .photoMap{height:auto!important}.photoInformation:hover .photoMap img,.photoInformation-legacy+.photoInformation .photoMap img{height:auto!important;width:auto!important}.photoInformation:hover .photoMap a,.photoInformation-legacy+.photoInformation .photoMap a{height:auto!important}.unsplashStats{display:flex;flex-flow:column;justify-content:space-between}.unsplashStats div{display:flex;flex-flow:row;gap:10px;align-items:center}.photoInformation-text{display:flex;flex-flow:column}#backgroundImage{height:100vh;background-size:cover!important;background-repeat:no-repeat!important;background-position:center!important;background-attachment:fixed!important;zoom:100%!important;position:relative;z-index:-2}#backgroundOverlay{position:fixed;top:0;left:0;width:100%;height:100vh;background-size:cover!important;background-repeat:no-repeat!important;background-position:center!important;background-attachment:fixed!important;pointer-events:none;z-index:-1;transition:opacity 1.2s ease-in-out}#backgroundFilterOverlay{position:fixed;top:0;left:0;width:100%;height:100vh;pointer-events:none;z-index:0;transition:backdrop-filter .3s ease-in-out,background-color .3s ease-in-out}.backgroundPreload{opacity:0}#backgroundVideo{position:fixed;right:0;bottom:0;min-width:100%;min-height:100%}.fade-in{animation:fadein .8s ease-in-out}@keyframes fadein{0%{opacity:0}to{opacity:1}}.clockBackground{backdrop-filter:blur(15px)}.light .clockBackground{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .clockBackground{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.clockBackground .title{font-size:18px}.light .clockBackground .title{color:#000}.dark .clockBackground .title{color:#fff}.clockBackground .subtitle{font-size:14px}.light .clockBackground .subtitle{color:#333}.dark .clockBackground .subtitle{color:#a0a0a0}.clock{font-size:4em;margin:0;cursor:initial;user-select:none;font-weight:600;animation:fadeIn 1s;--shadow-shift: .4rem}.ampm{font-size:.5em}.analogclock,.react-clock__face{margin:0 auto;border-radius:100%;border:none!important}.light .analogclock,.light .react-clock__face{border:1px solid rgb(0,0,0)!important}.dark .analogclock,.dark .react-clock__face{border:1px solid rgb(255,255,255)!important}.analogclock,.react-clock__face{cursor:initial;user-select:none}.light .react-clock__hand__body,.light .react-clock__mark__body{background:#000!important}.dark .react-clock__hand__body,.dark .react-clock__mark__body{background:#fff!important}.clockBackground{padding:1rem}.clockBackground.round{border-radius:100%!important}.vertical-clock{line-height:100%;user-select:none;font-size:4em}.vertical-clock .seconds{font-size:7rem;margin:50px;line-height:0}.greeting{margin:0;font-size:1.6em;cursor:initial;user-select:none;font-weight:600}.greeting:not(.preview){animation:fadeIn 1s}.greeting{--shadow-shift: .2rem}.taskBoxForm,.recentChats{backdrop-filter:blur(15px)}.light .taskBoxForm,.light .recentChats{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .taskBoxForm,.dark .recentChats{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.taskBoxForm .title,.recentChats .title{font-size:18px}.light .taskBoxForm .title,.light .recentChats .title{color:#000}.dark .taskBoxForm .title,.dark .recentChats .title{color:#fff}.taskBoxForm .subtitle,.recentChats .subtitle{font-size:14px}.light .taskBoxForm .subtitle,.light .recentChats .subtitle{color:#333}.dark .taskBoxForm .subtitle,.dark .recentChats .subtitle{color:#a0a0a0}.taskBox{width:min(640px,90vw);margin-top:1.5rem;display:flex;flex-flow:column;align-items:stretch;gap:.6rem;font-size:1rem;animation:fadeIn 1s}.taskBoxForm{display:flex;align-items:center;gap:.5rem;padding:6px 6px 6px 18px;border-radius:18px}.taskBoxInput:disabled{cursor:progress;opacity:.6}.taskBoxInput{flex:1;min-width:0;border:none;outline:none;background:transparent;color:inherit;font-size:1.15rem;padding:10px 0}.taskBoxInput::placeholder{opacity:.65;color:inherit}.light .taskBoxGo{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .taskBoxGo:hover{background:#f7fafce6}.light .taskBoxGo:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .taskBoxGo:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .taskBoxGo{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .taskBoxGo:hover{background:#565656}.dark .taskBoxGo:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .taskBoxGo:focus{background:#565656;box-shadow:0 0 0 1px #fff}.taskBoxGo{padding:10px;font-size:1.3rem;border:none;outline:none;transition:.5s;display:grid;place-items:center;cursor:pointer}.taskBoxGo:disabled{opacity:.4;cursor:default}.taskBoxModes{display:flex;justify-content:center;gap:6px}.light .taskBoxMode{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .taskBoxMode:hover{background:#f7fafce6}.light .taskBoxMode:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .taskBoxMode:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .taskBoxMode{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .taskBoxMode:hover{background:#565656}.dark .taskBoxMode:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .taskBoxMode:focus{background:#565656;box-shadow:0 0 0 1px #fff}.taskBoxMode{font-size:.95rem;border:none;outline:none;transition:.5s;display:grid;place-items:center;display:inline-flex;align-items:center;gap:6px;padding:6px 14px;cursor:pointer;opacity:.75}.taskBoxMode.active{opacity:1;box-shadow:0 0 0 1px currentcolor}.taskBoxHint{text-align:center;font-size:.85rem;opacity:.8}.taskBoxError{opacity:1}.recentChats{width:min(640px,90vw);margin-top:1rem;padding:12px 18px;border-radius:18px;font-size:.95rem;text-align:left}.recentChats .recentChatsHeader{display:flex;justify-content:space-between;margin-bottom:6px;font-weight:600}.recentChats .recentChatsHeader a{font-weight:400;opacity:.75}.recentChats ul{margin:0;padding:0;list-style:none}.recentChats li a{display:block;padding:4px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recentChats a{color:inherit;text-decoration:none}.recentChats a:hover{text-decoration:underline}.recentChats .recentChatsEmpty{opacity:.7}.tooltipTitle,#root .tooltipTitle{backdrop-filter:blur(15px)}.light .tooltipTitle,.light #root .tooltipTitle,#root .light .tooltipTitle{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .tooltipTitle,.dark #root .tooltipTitle,#root .dark .tooltipTitle{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.tooltipTitle .title,#root .tooltipTitle .title{font-size:18px}.light .tooltipTitle .title,.light #root .tooltipTitle .title,#root .light .tooltipTitle .title{color:#000}.dark .tooltipTitle .title,.dark #root .tooltipTitle .title,#root .dark .tooltipTitle .title{color:#fff}.tooltipTitle .subtitle,#root .tooltipTitle .subtitle{font-size:14px}.light .tooltipTitle .subtitle,.light #root .tooltipTitle .subtitle,#root .light .tooltipTitle .subtitle{color:#333}.dark .tooltipTitle .subtitle,.dark #root .tooltipTitle .subtitle,#root .dark .tooltipTitle .subtitle{color:#a0a0a0}.tooltip{position:relative;display:grid}@keyframes floating{0%{transform:translateY(-5px);opacity:0}to{transform:translateY(-0);opacity:1}}.tooltipTitle{text-align:center;font-size:.6rem;padding:5px 10px;position:absolute;z-index:1;cursor:initial;user-select:none;opacity:1;transition:opacity .2s ease-out,transform .2s ease-out}.tooltipTitle[data-status=initial]{opacity:0}.tooltipTitle[data-status=open]{opacity:1;transform:translate(0);animation-name:floating;animation-duration:.3s;animation-timing-function:ease-in}.tooltipTitle[data-status=close]{opacity:0}.tooltipTitle[data-status=close][data-placement^=top]{transform:translateY(5px)}.tooltipTitle[data-status=close][data-placement^=bottom]{transform:translateY(-5px)}.tooltipTitle[data-status=close][data-placement^=left]{transform:translate(5px)}.tooltipTitle[data-status=close][data-placement^=right]{transform:translate(-5px)}.light #modal .tooltipTitle{background:#feffff;box-shadow:0 0 0 1px #f5f5f5;color:#000}.dark #modal .tooltipTitle{background:#151515;box-shadow:0 0 0 1px #262626;color:#fff}.tooltipTitle:before{transform:scale3d(.2,.2,1);transition:all .2s ease-in-out}.tooltipTitle:after{transform:translate3d(0,6px,0);transition:all .1s ease-in-out}.tooltipTitle:hover:before,.tooltipTitle:hover:after{opacity:1;transform:scaleZ(1)}.tooltipTitle:hover:after{transition:all .2s .1s ease-in-out}#arrow{position:absolute;background:#333;width:8px;height:8px;transform:rotate(45deg)}.infoTooltip{position:relative;display:grid}.infoTooltip svg{cursor:pointer}.light .infoTooltip svg:hover{color:#000}.dark .infoTooltip svg:hover{color:#fff}#floating{transition-property:opacity,transform}#floating[data-status=open],#floating[data-status=close]{transition-duration:.25s}#floating[data-status=initial],#floating[data-status=close]{opacity:0}#floating[data-status=initial][data-placement^=top],#floating[data-status=close][data-placement^=top]{transform:translateY(5px)}#floating[data-status=initial][data-placement^=bottom],#floating[data-status=close][data-placement^=bottom]{transform:translateY(-5px)}#floating[data-status=initial][data-placement^=left],#floating[data-status=close][data-placement^=left]{transform:translate(5px)}#floating[data-status=initial][data-placement^=right],#floating[data-status=close][data-placement^=right]{transform:translate(-5px)}.reminder-info .mainTitle,.light .modalTabContent .mainTitle,.dark .modalTabContent .mainTitle{display:flex;align-items:center;font-size:38px;font-weight:600;margin-bottom:15px;text-transform:capitalize}.light .reminder-info .mainTitle,.light .modalTabContent .mainTitle{color:#000}.dark .reminder-info .mainTitle,.dark .modalTabContent .mainTitle{color:#fff}.reminder-info .mainTitle .backTitle,.light .modalTabContent .mainTitle .backTitle,.dark .modalTabContent .mainTitle .backTitle{cursor:pointer;transition:.5s}.light .reminder-info .mainTitle .backTitle,.light .modalTabContent .mainTitle .backTitle{color:#333}.light .reminder-info .mainTitle .backTitle:hover,.light .modalTabContent .mainTitle .backTitle:hover{color:#000}.dark .reminder-info .mainTitle .backTitle,.dark .modalTabContent .mainTitle .backTitle{color:#a0a0a0}.dark .reminder-info .mainTitle .backTitle:hover,.dark .modalTabContent .mainTitle .backTitle:hover{color:#fff}.reminder-info .title,.light .modalTabContent .title,.dark .modalTabContent .title{font-size:24px;font-weight:600}.light .reminder-info .title,.light .modalTabContent .title{color:#000}.dark .reminder-info .title,.dark .modalTabContent .title{color:#fff}.reminder-info .subtitle,.light .modalTabContent .subtitle,.dark .modalTabContent .subtitle{font-size:16px;font-family:Inter,sans-serif!important}.light .reminder-info .subtitle,.light .modalTabContent .subtitle{color:#333}.dark .reminder-info .subtitle,.dark .modalTabContent .subtitle{color:#a0a0a0}.reminder-info .link,.light .modalTabContent .link,.dark .modalTabContent .link{font-size:16px;text-decoration:none;cursor:pointer}.light .reminder-info .link,.light .modalTabContent .link,.dark .reminder-info .link,.dark .modalTabContent .link{color:#ff5c25}.reminder-info .link:hover,.light .modalTabContent .link:hover,.dark .modalTabContent .link:hover{opacity:.8}.modalTopBar{position:relative;flex-shrink:0;z-index:100;display:flex;align-items:center;justify-content:space-between;padding:1.5rem;-webkit-backdrop-filter:blur(16px) saturate(180%);backdrop-filter:blur(16px) saturate(180%)}.light .modalTopBar{background-color:#fff;border-bottom:1px solid #f5f5f5}.dark .modalTopBar{background-color:#0a0a0a;border-bottom:1px solid #262626}.modalTopBar .topBarLeft{display:flex;align-items:center;flex-shrink:0;gap:1rem}.modalTopBar .topBarLeft .navigationButtons{display:flex;gap:.25rem}.modalTopBar .topBarLeft .navigationButtons .navButton{display:grid;place-items:center;padding:.5rem;border-radius:8px;cursor:pointer;border:none;background:none;transition:.3s}.light .modalTopBar .topBarLeft .navigationButtons .navButton{color:#000}.dark .modalTopBar .topBarLeft .navigationButtons .navButton{color:#fff}.modalTopBar .topBarLeft .navigationButtons .navButton svg{font-size:1.2rem}.light .modalTopBar .topBarLeft .navigationButtons .navButton:hover:not(:disabled){background:#f5f5f5}.dark .modalTopBar .topBarLeft .navigationButtons .navButton:hover:not(:disabled){background:#262626}.modalTopBar .topBarLeft .navigationButtons .navButton:disabled{opacity:.3;cursor:not-allowed}.modalTopBar .topBarLeft .topBarLogo{height:32px;width:auto}.modalTopBar .topBarLeft .breadcrumbs{display:flex;align-items:center;gap:0;font-size:.95rem;font-weight:500}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-segment{display:flex;align-items:center}.light .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-item{color:#333}.dark .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-item{color:#a0a0a0}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-item{white-space:nowrap;transition:opacity .2s}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-clickable{cursor:pointer}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-clickable:hover{opacity:.7;text-decoration:underline}.light .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-separator{color:#333}.dark .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-separator{color:#a0a0a0}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-separator{opacity:.5;font-size:1.2rem;margin:0 .25rem}.light .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-current{color:#000}.dark .modalTopBar .topBarLeft .breadcrumbs .breadcrumb-current{color:#fff}.modalTopBar .topBarLeft .breadcrumbs .breadcrumb-current{font-weight:600}.modalTopBar .topBarRight{display:flex;align-items:center;gap:.75rem;flex-shrink:0}.modalTopBar .topBarRight .topBarNavigation{display:flex;flex-flow:row;gap:.5rem}.modalTopBar .topBarRight .closeModal{display:grid;place-items:center;padding:.4em;border-radius:12px;cursor:pointer;transition:.5s;flex-shrink:0}.modalTopBar .topBarRight .closeModal svg{font-size:1.5em}.light .modalTopBar .topBarRight .closeModal:hover{background:#f5f5f5}.dark .modalTopBar .topBarRight .closeModal:hover{background:#262626}.light .modalSidebar{position:relative;margin:0;padding:.5rem 0 0 .5rem;background:#feffff;border-radius:12px 0 0 12px;overflow-y:auto;overflow-x:hidden;height:100%;min-width:250px;flex-shrink:0}.light .modalSidebar svg{margin-left:20px;margin-right:20px;color:#333;font-size:17px}.light .modalSidebar hr{height:1px;background:#ccc;margin:0 1.75rem;border:none}.light .modalSidebar button{color:#000;font-size:18px;list-style:none;cursor:pointer;border-radius:12px;display:flex;align-items:center;margin:.2rem;padding:.5rem;transition:.5s;outline:none;border:none;background:none;min-width:calc(100% - 1.2em);text-align:left}.light .modalSidebar button:last-child{margin-bottom:1rem}.light .modalSidebar button:hover{background:#f5f5f5}.light .modalSidebar button:active{background:#f5f5f5;box-shadow:0 0 0 .5px #000}.light .modalSidebar button:focus{background:#f5f5f5;box-shadow:0 0 0 .5px #000}.light .modalSidebar .tab-list-active{background:#f5f5f5}.dark .modalSidebar{position:relative;margin:0;padding:.5rem 0 0 .5rem;background:#151515;border-radius:12px 0 0 12px;overflow-y:auto;overflow-x:hidden;height:100%;min-width:250px;flex-shrink:0}.dark .modalSidebar svg{margin-left:20px;margin-right:20px;color:#a0a0a0;font-size:17px}.dark .modalSidebar hr{height:1px;background:#ccc;margin:0 1.75rem;border:none}.dark .modalSidebar button{color:#fff;font-size:18px;list-style:none;cursor:pointer;border-radius:12px;display:flex;align-items:center;margin:.2rem;padding:.5rem;transition:.5s;outline:none;border:none;background:none;min-width:calc(100% - 1.2em);text-align:left}.dark .modalSidebar button:last-child{margin-bottom:1rem}.dark .modalSidebar button:hover{background:#262626}.dark .modalSidebar button:active{background:#262626;box-shadow:0 0 0 .5px #fff}.dark .modalSidebar button:focus{background:#262626;box-shadow:0 0 0 .5px #fff}.dark .modalSidebar .tab-list-active{background:#262626}.css-j204z7-MuiFormControlLabel-root{margin-left:0!important;margin-right:0!important}.sidebarSkeleton{padding:.5rem .2rem}.sidebarSkeleton .skeletonItem{display:flex;align-items:center;padding:.5rem;margin:.2rem;pointer-events:none}.sidebarSkeleton .skeletonItem .iconPlaceholder{width:17px;height:17px;border-radius:6px;margin-left:20px;margin-right:20px;flex-shrink:0}.light .sidebarSkeleton .skeletonItem .iconPlaceholder{background:#f5f5f5}.dark .sidebarSkeleton .skeletonItem .iconPlaceholder{background:#262626}.sidebarSkeleton .skeletonItem .textPlaceholder{height:18px;border-radius:6px}.light .sidebarSkeleton .skeletonItem .textPlaceholder{background:#f5f5f5}.dark .sidebarSkeleton .skeletonItem .textPlaceholder{background:#262626}.light .sidebarSkeleton .skeletonDivider{height:1px;background:linear-gradient(90deg,transparent 0%,#f5f5f5 20%,#f5f5f5 80%,transparent 100%);margin:.5rem 1.75rem;border:none;opacity:.6}.dark .sidebarSkeleton .skeletonDivider{height:1px;background:linear-gradient(90deg,transparent 0%,#262626 20%,#262626 80%,transparent 100%);margin:.5rem 1.75rem;border:none;opacity:.6}#modal{display:flex;align-items:flex-start;justify-content:flex-start}.modalNavbar{display:flex;flex-flow:row;gap:25px;margin-bottom:1rem}.updateCheck{flex-flow:row!important}.light .btn-settings{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-settings{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-settings:hover{background:#f5f5f5}.light .btn-settings:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-settings:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-settings:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-settings{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-settings{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-settings:hover{background:#262626}.dark .btn-settings:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-settings:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-settings:disabled{background:#262626;cursor:not-allowed}.btn-settings{display:inline;margin-top:0;float:none!important;padding:0 20px}.light .btn-secondary{background:#f5f5f5;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-secondary:hover{background:#feffff!important}.light .btn-secondary{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-secondary:hover{background:#f5f5f5}.light .btn-secondary:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-secondary:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-secondary:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-secondary{background:#262626;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-secondary:hover{background:#151515!important}.dark .btn-secondary{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-secondary:hover{background:#262626}.dark .btn-secondary:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-secondary:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-secondary:disabled{background:#262626;cursor:not-allowed}.btn-secondary{display:inline;margin-top:0;float:none!important;padding:0 20px}.light .btn-navigation{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-navigation{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-navigation:hover{background:#f5f5f5}.light .btn-navigation:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-navigation:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-navigation:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-navigation{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-navigation{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-navigation:hover{background:#262626}.dark .btn-navigation:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-navigation:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-navigation:disabled{background:#262626;cursor:not-allowed}.btn-navigation{padding:10px 20px;border-radius:12px!important;transition:all .2s ease;position:relative}.light .btn-navigation,.dark .btn-navigation{background:transparent!important;border:none!important;box-shadow:none!important}.light .btn-navigation,.dark .btn-navigation{background:transparent!important;border:none!important}.light .btn-navigation:hover,.dark .btn-navigation:hover{background:#0000000a!important}.dark .btn-navigation:hover{background:#ffffff0f!important}.btn-navigation span,.btn-navigation svg{font-size:1.1em!important}.btn-navigation svg{font-size:1.2em!important}.light .btn-navigation svg{color:#000}.dark .btn-navigation svg{color:#fff}@supports (-webkit-hyphens: none){.btn-navigation{display:inline-block!important}}.light .btn-navigation-active,.dark .btn-navigation-active{background:#0000000f!important;box-shadow:none!important}.light .btn-navigation-active{background:#0000000f!important;border:none!important}.dark .btn-navigation-active{background:#ffffff1a!important;border:none!important}.btn-collection{padding:1px 12px;backdrop-filter:blur(16px) saturate(180%);background-color:#ffffff1a;border:1px solid rgba(209,213,219,.3);color:#fff;border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.btn-collection:hover{backdrop-filter:blur(16px) saturate(180%);background-color:#11192833;border:1px solid rgba(255,255,255,.125)}.light .btn-collection:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .btn-collection:active{background:#262626;box-shadow:0 0 0 1px #fff}.light .btn-collection:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .btn-collection:focus{background:#262626;box-shadow:0 0 0 1px #fff}.light .btn-collection:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-collection:disabled{background:#262626;cursor:not-allowed}a.btn-collection{height:40px;text-decoration:none}.light a.btn-collection,.dark a.btn-collection{border-radius:12px}.flowReverse{flex-flow:row-reverse!important}.btn-icon{width:40px;height:40px;display:grid;place-content:center;border-radius:8px!important}.light .btn-icon{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .btn-icon{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .btn-icon:hover{background:#f5f5f5}.light .btn-icon:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-icon:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .btn-icon:disabled{background:#f5f5f5;cursor:not-allowed}.dark .btn-icon{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .btn-icon{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .btn-icon:hover{background:#262626}.dark .btn-icon:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-icon:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .btn-icon:disabled{background:#262626;cursor:not-allowed}.modalTabContent{width:100%!important}.light .modalTabContent{padding:1rem 2rem 5rem;display:flex;flex-direction:column;width:100%;height:100%;overflow-y:auto;background:#fff;margin:0;border-radius:12px}.light .modalTabContent hr{width:100%;background:#c4c4c4bd;outline:none}.light .modalTabContent .settingsRow{display:flex;align-items:center;justify-content:space-between;transition:.4s ease-in-out;border-bottom:1px solid #676767;padding-top:1rem;padding-bottom:1rem}.light .modalTabContent .settingsRow.settingsNoBorder{border-bottom:none}.light .modalTabContent .settingsRow:last-child{margin-bottom:2rem}.light .modalTabContent .settingsRow .content{display:flex;flex-flow:column;max-width:50%}.light .modalTabContent .settingsRow .action{display:flex;flex-flow:column;align-items:flex-end;width:300px}.light .modalTabContent .settingsRow .action button{margin-top:10px}.light .modalTabContent .settingsRow .action .link{margin-top:10px;display:flex;flex-flow:row;gap:15px;align-items:center}.dark .modalTabContent{padding:1rem 2rem 5rem;display:flex;flex-direction:column;width:100%;height:100%;overflow-y:auto;background:#0a0a0a;margin:0;border-radius:12px}.dark .modalTabContent hr{width:100%;background:#c4c4c4bd;outline:none}.dark .modalTabContent .settingsRow{display:flex;align-items:center;justify-content:space-between;transition:.4s ease-in-out;border-bottom:1px solid #676767;padding-top:1rem;padding-bottom:1rem}.dark .modalTabContent .settingsRow.settingsNoBorder{border-bottom:none}.dark .modalTabContent .settingsRow:last-child{margin-bottom:2rem}.dark .modalTabContent .settingsRow .content{display:flex;flex-flow:column;max-width:50%}.dark .modalTabContent .settingsRow .action{display:flex;flex-flow:column;align-items:flex-end;width:300px}.dark .modalTabContent .settingsRow .action button{margin-top:10px}.dark .modalTabContent .settingsRow .action .link{margin-top:10px;display:flex;flex-flow:row;gap:15px;align-items:center}.resetDataButtonsLayout{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px}.resetDataButtonsLayout :nth-child(1){grid-column:span 2}.light .resetDataButtonsLayout button{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .resetDataButtonsLayout button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .resetDataButtonsLayout button:hover{background:#f5f5f5}.light .resetDataButtonsLayout button:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .resetDataButtonsLayout button:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .resetDataButtonsLayout button:disabled{background:#f5f5f5;cursor:not-allowed}.dark .resetDataButtonsLayout button{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .resetDataButtonsLayout button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .resetDataButtonsLayout button:hover{background:#262626}.dark .resetDataButtonsLayout button:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .resetDataButtonsLayout button:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .resetDataButtonsLayout button:disabled{background:#262626;cursor:not-allowed}.resetDataButtonsLayout button{padding:5px 10px}table{border-collapse:separate;border-radius:10px;margin-top:20px}.light table{box-shadow:0 0 0 1px #f5f5f5;padding:0;border:0;outline:none}.dark table{box-shadow:0 0 0 1px #262626;padding:0;border:0;outline:none}.light table tr:first-child{border-radius:12px;color:#333}.dark table tr:first-child{border-radius:12px;color:#a0a0a0}table tr:first-child{letter-spacing:2px}table tr:first-child th{padding:20px}table td{padding:15px}table tr th:last-child{display:grid;place-items:center}.light table ::placeholder{color:#333}.dark table ::placeholder{color:#a0a0a0}.light table tr:not(:first-child){background:#fafafa}.dark table tr:not(:first-child){background:#111}table tr:not(:first-child) textarea{width:90%;margin:10px}.light table tr:not(:first-child) textarea{color:#000}.dark table tr:not(:first-child) textarea{color:#fff}.light .donateButton{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .donateButton{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .donateButton:hover{background:#f5f5f5}.light .donateButton:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .donateButton:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .donateButton:disabled{background:#f5f5f5;cursor:not-allowed}.dark .donateButton{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .donateButton{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .donateButton:hover{background:#262626}.dark .donateButton:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .donateButton:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .donateButton:disabled{background:#262626;cursor:not-allowed}.donateButton{flex-flow:row!important;text-decoration:none;height:auto!important}.donateButton svg{font-size:1.5rem!important}.flexGrow{flex-grow:1}.messageMap{display:flex;flex-flow:row;align-items:center;gap:25px;padding:25px;justify-content:space-between;cursor:default!important;user-select:auto}.messageMap:active{cursor:default!important}.light .messageMap{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.dark .messageMap{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.messageMap div:nth-child(1){display:flex;flex-flow:row;gap:25px;align-items:center}.light .messageMap .icon{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .messageMap .icon{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.messageMap .icon{padding:15px;border-radius:100%;font-size:25px}.messageMap .messageText{display:flex;flex-flow:column;flex-grow:3}.light .messageMap .messageText textarea{color:#000}.dark .messageMap .messageText textarea{color:#fff}.messageMap .messageText input[type=text]{height:56px;padding:0 16px;font-size:16px;outline:none;transition:.2s ease}.light .messageMap .messageText input[type=text]{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .messageMap .messageText input[type=text]:hover,.light .messageMap .messageText input[type=text]:focus{border-color:#000}.light .messageMap .messageText input[type=text]::placeholder{color:#333}.dark .messageMap .messageText input[type=text]{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .messageMap .messageText input[type=text]:hover,.dark .messageMap .messageText input[type=text]:focus{border-color:#fff}.dark .messageMap .messageText input[type=text]::placeholder{color:#a0a0a0}.light .messageMap .messageText .subtitle{color:#333;font-size:13px}.dark .messageMap .messageText .subtitle{color:#a0a0a0;font-size:13px}.messageMap .messageAction{float:right}.messagesContainer{display:flex;flex-flow:column;gap:25px}.eventDateSelection{display:flex!important;flex-flow:row!important;gap:5px!important;text-align:center!important}.light .eventDateSelection{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;color:#000!important}.dark .eventDateSelection{background:#151515;box-shadow:0 0 0 1px #484848;color:#fff!important}.eventDateSelection hr{height:100%;margin-right:5px}.light .eventDateSelection hr{border-color:#fafafa}.dark .eventDateSelection hr{border-color:#111}.eventDateSelection{border-radius:12px;height:40px;font-size:1rem;align-items:center;justify-content:center;transition:.5s;cursor:pointer;border:0;padding-left:10px;padding-right:5px}.eventDateSelection input[type=tel],.eventDateSelection input[type=number]{background:none;outline:none;border:none;max-width:20px;text-align:center}.light .eventDateSelection input[type=tel],.light .eventDateSelection input[type=number]{color:#000!important}.dark .eventDateSelection input[type=tel],.dark .eventDateSelection input[type=number]{color:#fff!important}.resetLink{color:var(--modal-link);cursor:pointer}.resetLink:hover{opacity:.8}.resetLink span{font-size:1.2rem;color:var(--modal-link);vertical-align:text-bottom;margin-left:5px}.modalLink{color:var(--modal-link);cursor:pointer;margin-left:5px}.modalLink:hover{opacity:.8}::-webkit-scrollbar{width:6px;height:6px;border-radius:12px}.light ::-webkit-scrollbar{background:#feffff}.dark ::-webkit-scrollbar{background:#151515}::-webkit-scrollbar-thumb{border-radius:25px}.light ::-webkit-scrollbar-thumb{background:#f5f5f5}.dark ::-webkit-scrollbar-thumb{background:#262626}.light ::-webkit-scrollbar-thumb:hover{background:#f7fafce6}.dark ::-webkit-scrollbar-thumb:hover{background:#565656}.light ::-webkit-scrollbar-thumb:active{background:#f7fafce6}.dark ::-webkit-scrollbar-thumb:active{background:#565656}.light .MuiCheckbox-colorPrimary.Mui-checked,.light .MuiSwitch-colorPrimary.Mui-checked,.light .MuIconButton-colorPrimary.Mui-checked,.light .MuiSwitch-thumb,.light .MuiRadio-colorSecondary.Mui-checked,.light .PrivateSwitchBase-input-4,.light .MuiRadio-root,.light .aboutLink,.light .MuiSlider-colorPrimary,.light legend{color:#000!important}.dark .MuiCheckbox-colorPrimary.Mui-checked,.dark .MuiSwitch-colorPrimary.Mui-checked,.dark .MuIconButton-colorPrimary.Mui-checked,.dark .MuiSwitch-thumb,.dark .MuiRadio-colorSecondary.Mui-checked,.dark .PrivateSwitchBase-input-4,.dark .MuiRadio-root,.dark .aboutLink,.dark .MuiSlider-colorPrimary,.dark legend{color:#fff!important}.MuiFormControlLabel-labelPlacementStart{margin-left:0!important}.light .MuiSwitch-colorPrimary.Mui-checked+.MuiSwitch-track{background-color:#333!important}.dark .MuiSwitch-colorPrimary.Mui-checked+.MuiSwitch-track{background-color:#a0a0a0!important}.light .MuiSwitch-track{background-color:#333!important}.dark .MuiSwitch-track{background-color:#a0a0a0!important}.light .MuiIconButton-label>svg.MuiSvgIcon-root{color:#000!important}.dark .MuiIconButton-label>svg.MuiSvgIcon-root{color:#fff!important}.MuiTouchRipple-root{background:transparent}.MuiFormControl-root,.settingsRow .action .MuiFormControlLabel-root{margin-top:10px!important}.light .checkbox svg{fill:#000!important}.dark .checkbox svg{fill:#fff!important}.radio-title{font-weight:700;font-size:1.17rem}.radio-title-small{font-weight:700;font-size:1rem}.MuiSlider-root{margin-bottom:30px!important}.light .MuiOutlinedInput-notchedOutline{border-color:#000!important}.dark .MuiOutlinedInput-notchedOutline{border-color:#fff!important}.light .MuiFormLabel-root-MuiInputLabel-root{color:#000!important}.dark .MuiFormLabel-root-MuiInputLabel-root{color:#fff!important}.light .MuiInputLabel-root,.light .MuiSlider-markLabel,.light .MuiSelect-icon,.light .MuiSelect-select,.light .Mui-focused,.light legend,.light .MuiOutlinedInput-input{color:#000!important}.dark .MuiInputLabel-root,.dark .MuiSlider-markLabel,.dark .MuiSelect-icon,.dark .MuiSelect-select,.dark .Mui-focused,.dark legend,.dark .MuiOutlinedInput-input{color:#fff!important}.light .MuiMenu-list{background-color:#fff;color:#000}.dark .MuiMenu-list{background-color:#0a0a0a;color:#fff}.light .MuiMenu-list li:hover{background-color:#f5f5f5;transition:.5s}.dark .MuiMenu-list li:hover{background-color:#262626;transition:.5s}.light .Mui-selected{background-color:#f5f5f5!important}.dark .Mui-selected{background-color:#262626!important}.MuiTextField-root,.MuiFormControl-root,.MuiSlider-root{width:300px!important}.Mui-disabled{color:#818181!important;cursor:not-allowed}.Mui-disabled .checkbox svg{fill:#818181!important}.light .MuiPaper-root{background-color:#fff!important}.dark .MuiPaper-root{background-color:#0a0a0a!important}.light .MuiSlider-valueLabel{background-color:#f5f5f5!important}.dark .MuiSlider-valueLabel{background-color:#262626!important}.MuiFormControlLabel-labelPlacementStart{justify-content:flex-end}.settingsRow .MuiFormControlLabel-root{flex-direction:row-reverse;margin-right:0;display:flex;justify-content:space-between;width:100%;margin-left:0}.settingsRow .MuiFormControlLabel-root{width:100%}.light .settingsRow p{color:#333!important}.dark .settingsRow p{color:#a0a0a0!important}.light .css-w66kx-MuiChip-root{color:#000!important;border:1px solid #f5f5f5;background:#feffff!important;border-radius:12px}.dark .css-w66kx-MuiChip-root{color:#fff!important;border:1px solid #262626;background:#151515!important;border-radius:12px}.css-w66kx-MuiChip-root,.MuiChip-root{text-transform:capitalize}.light .MuiChip-root{background:#f5f5f5!important;color:#000!important}.dark .MuiChip-root{background:#262626!important;color:#fff!important}.aboutLink:hover{opacity:.8}.aboutLogo{height:100px;width:auto;margin:calc(1rem - 15px) 0 1rem;align-self:center}.aboutContact{flex-flow:row;display:flex;gap:15px}.aboutContact a{text-decoration:none}.contributorImages{display:flex;flex-wrap:wrap;gap:15px}.contributorImages img{width:75px;height:auto;opacity:0;animation:fadeIn .5s ease-in-out forwards}.light .contributorImages img,.dark .contributorImages img{border-radius:12px}@keyframes fadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.subtitle-photographers{font-size:16px}.light .subtitle-photographers{color:#000}.light .subtitle-photographers span{color:#333}.dark .subtitle-photographers{color:#fff}.dark .subtitle-photographers span{color:#a0a0a0}.aboutText{text-align:center;display:flex;flex-flow:column}.updateChangelog{max-width:75%;margin-top:15px;white-space:pre-wrap;font-size:18px}.updateChangelog a{color:var(--modal-link)}.updateChangelog a:hover{opacity:.8}.changelogtab .mainTitle{margin:0!important}.changelogtab img{max-width:95%}.changelogtab .changelogAt{text-decoration:none}.sortableItem{cursor:move;width:200px;z-index:999!important;padding:15px;margin-bottom:10px;font-size:1.325rem}.light .sortableItem{color:#000!important;display:flex;justify-content:space-between;align-items:center;background:#fafafa;border-radius:12px;box-shadow:0 0 0 1px #e7e3e9}.light .sortableItem svg{font-size:1.3rem;color:#333}.light .sortableItem:hover{background:#f5f5f5!important}.dark .sortableItem{color:#fff!important;display:flex;justify-content:space-between;align-items:center;background:#111;border-radius:12px;box-shadow:0 0 0 1px #484848}.dark .sortableItem svg{font-size:1.3rem;color:#a0a0a0}.dark .sortableItem:hover{background:#262626!important}.sortableItem ul{-webkit-padding-start:0;padding:0;list-style-type:none}.sortableItem ul>label{vertical-align:middle}.sortablecontainer{-webkit-padding-start:0;padding:0;list-style-type:none}.images-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));padding:20px;grid-gap:20px}.light .images-row div{border-radius:12px;display:flex;align-items:center;justify-content:center;flex-flow:column;gap:5px;position:relative}.light .images-row div img{width:100%;height:200px;object-fit:cover;border-radius:12px}.light .images-row div button{padding:0 30px;background:#fff;border:none!important}.light .images-row div button:hover{background:#f5f5f5}.light .images-row div .tooltip{position:absolute!important;top:5px!important;right:5px!important}.light .images-row .iconButton{width:calc(100% - 22px);margin-top:10px}.light .light .images-row .iconButton{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px}.light .light .images-row .iconButton:hover{background:#f5f5f5}.light .light .images-row .iconButton:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .light .images-row .iconButton:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .light .images-row .iconButton{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px}.dark .light .images-row .iconButton:hover{background:#262626}.dark .light .images-row .iconButton:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .light .images-row .iconButton:focus{background:#262626;box-shadow:0 0 0 1px #fff}.light .images-row .iconButton{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.dark .images-row div{border-radius:12px;display:flex;align-items:center;justify-content:center;flex-flow:column;gap:5px;position:relative}.dark .images-row div img{width:100%;height:200px;object-fit:cover;border-radius:12px}.dark .images-row div button{padding:0 30px;background:#0a0a0a;border:none!important}.dark .images-row div button:hover{background:#262626}.dark .images-row div .tooltip{position:absolute!important;top:5px!important;right:5px!important}.dark .images-row .iconButton{width:calc(100% - 22px);margin-top:10px}.light .dark .images-row .iconButton{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px}.light .dark .images-row .iconButton:hover{background:#f5f5f5}.light .dark .images-row .iconButton:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .dark .images-row .iconButton:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .dark .images-row .iconButton{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px}.dark .dark .images-row .iconButton:hover{background:#262626}.dark .dark .images-row .iconButton:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .dark .images-row .iconButton:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .images-row .iconButton{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.images-grid{display:grid;padding:1px}.images-grid.selection-mode .image-checkbox{opacity:1}.images-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.light .images-grid .image-card{position:relative;border-radius:12px;background:#fafafa;overflow:hidden;transition:all .3s ease;box-shadow:0 0 0 1px #e7e3e9;cursor:pointer}.light .images-grid .image-card.selected{outline:3px solid #ff5c25;outline-offset:-3px}.light .images-grid .image-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px #00000026}.light .images-grid .image-card:hover .image-nav-buttons,.light .images-grid .image-card:hover .delete-button,.light .images-grid .image-card:hover .image-checkbox{opacity:1}.light .images-grid .image-card .image-checkbox{position:absolute;top:8px;left:8px;z-index:12;opacity:0;transition:opacity .2s}.light .images-grid .image-card .image-checkbox input[type=checkbox]{width:20px;height:20px;cursor:pointer;appearance:none;border:2px solid #fff;border-radius:4px;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .2s;box-shadow:0 2px 8px #0000004d;position:relative}.light .images-grid .image-card .image-checkbox input[type=checkbox]:checked{background:#ff5c25;border-color:#ff5c25;opacity:1}.light .images-grid .image-card .image-checkbox input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:2px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.light .images-grid .image-card .image-checkbox input[type=checkbox]:hover{border-color:#ff5c25;transform:scale(1.1)}.light .images-grid .image-card .image-checkbox:has(input:checked){opacity:1}.light .images-grid .image-card .image-preview{position:relative;width:100%;height:200px;overflow:hidden;background:#feffff}.light .images-grid .image-card .image-preview img{width:100%;height:100%;object-fit:cover}.light .images-grid .image-card .image-preview .video-icon-wrapper{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#feffff}.light .images-grid .image-card .image-preview .video-icon-wrapper .customvideoicon{font-size:60px;color:#333}.light .images-grid .image-card .image-preview .blur-placeholder{background-size:cover;background-position:center}.light .images-grid .image-card .image-preview .image-nav-buttons{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);display:flex;justify-content:space-between;padding:0 8px;opacity:0;transition:opacity .3s ease;pointer-events:none}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button{pointer-events:all;width:36px;height:36px;border-radius:50%;border:none;background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button svg{font-size:24px}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button:hover:not(:disabled){background:#000c;transform:scale(1.1)}.light .images-grid .image-card .image-preview .image-nav-buttons .nav-button:disabled{opacity:.3;cursor:not-allowed}.light .images-grid .image-card .image-metadata{padding:12px;display:flex;flex-direction:column;gap:6px}.light .images-grid .image-card .image-metadata .image-name{font-size:14px;font-weight:500;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.light .images-grid .image-card .image-metadata .image-details{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#333}.light .images-grid .image-card .image-metadata .image-details .detail{display:inline-block}.light .images-grid .image-card .image-metadata .image-details .folder-tag{padding:2px 8px;background:#f5f5f5;border-radius:4px;font-size:11px}.light .images-grid .image-card .delete-button{position:absolute;top:8px;right:8px;width:32px;height:32px;border-radius:50%;border:none;background:#ff4757e6;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:all .2s;z-index:11;box-shadow:0 2px 8px #0000004d}.light .images-grid .image-card .delete-button svg{font-size:20px}.light .images-grid .image-card .delete-button:hover{background:#ff4757;transform:scale(1.1)}.light .images-grid .image-card:hover .delete-button,.light .images-grid .image-card .image-checkbox:has(input:checked)~* .delete-button{opacity:1}.dark .images-grid .image-card{position:relative;border-radius:12px;background:#111;overflow:hidden;transition:all .3s ease;box-shadow:0 0 0 1px #484848;cursor:pointer}.dark .images-grid .image-card.selected{outline:3px solid #ff5c25;outline-offset:-3px}.dark .images-grid .image-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px #00000026}.dark .images-grid .image-card:hover .image-nav-buttons,.dark .images-grid .image-card:hover .delete-button,.dark .images-grid .image-card:hover .image-checkbox{opacity:1}.dark .images-grid .image-card .image-checkbox{position:absolute;top:8px;left:8px;z-index:12;opacity:0;transition:opacity .2s}.dark .images-grid .image-card .image-checkbox input[type=checkbox]{width:20px;height:20px;cursor:pointer;appearance:none;border:2px solid #fff;border-radius:4px;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .2s;box-shadow:0 2px 8px #0000004d;position:relative}.dark .images-grid .image-card .image-checkbox input[type=checkbox]:checked{background:#ff5c25;border-color:#ff5c25;opacity:1}.dark .images-grid .image-card .image-checkbox input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:2px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.dark .images-grid .image-card .image-checkbox input[type=checkbox]:hover{border-color:#ff5c25;transform:scale(1.1)}.dark .images-grid .image-card .image-checkbox:has(input:checked){opacity:1}.dark .images-grid .image-card .image-preview{position:relative;width:100%;height:200px;overflow:hidden;background:#151515}.dark .images-grid .image-card .image-preview img{width:100%;height:100%;object-fit:cover}.dark .images-grid .image-card .image-preview .video-icon-wrapper{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#151515}.dark .images-grid .image-card .image-preview .video-icon-wrapper .customvideoicon{font-size:60px;color:#a0a0a0}.dark .images-grid .image-card .image-preview .blur-placeholder{background-size:cover;background-position:center}.dark .images-grid .image-card .image-preview .image-nav-buttons{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);display:flex;justify-content:space-between;padding:0 8px;opacity:0;transition:opacity .3s ease;pointer-events:none}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button{pointer-events:all;width:36px;height:36px;border-radius:50%;border:none;background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button svg{font-size:24px}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button:hover:not(:disabled){background:#000c;transform:scale(1.1)}.dark .images-grid .image-card .image-preview .image-nav-buttons .nav-button:disabled{opacity:.3;cursor:not-allowed}.dark .images-grid .image-card .image-metadata{padding:12px;display:flex;flex-direction:column;gap:6px}.dark .images-grid .image-card .image-metadata .image-name{font-size:14px;font-weight:500;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dark .images-grid .image-card .image-metadata .image-details{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:#a0a0a0}.dark .images-grid .image-card .image-metadata .image-details .detail{display:inline-block}.dark .images-grid .image-card .image-metadata .image-details .folder-tag{padding:2px 8px;background:#262626;border-radius:4px;font-size:11px}.dark .images-grid .image-card .delete-button{position:absolute;top:8px;right:8px;width:32px;height:32px;border-radius:50%;border:none;background:#ff4757e6;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:all .2s;z-index:11;box-shadow:0 2px 8px #0000004d}.dark .images-grid .image-card .delete-button svg{font-size:20px}.dark .images-grid .image-card .delete-button:hover{background:#ff4757;transform:scale(1.1)}.dark .images-grid .image-card:hover .delete-button,.dark .images-grid .image-card .image-checkbox:has(input:checked)~* .delete-button{opacity:1}.storage-quota{padding:15px 20px;margin-top:10px;margin-bottom:50px}.light .storage-quota{background:#fafafa;border-top:1px solid #f5f5f5}.dark .storage-quota{background:#111;border-top:1px solid #262626}.storage-quota .quota-info{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.storage-quota .quota-info .quota-text{font-size:13px}.light .storage-quota .quota-info .quota-text{color:#333}.dark .storage-quota .quota-info .quota-text{color:#a0a0a0}.storage-quota .quota-info .quota-info-button{width:24px;height:24px;border-radius:50%;border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.light .storage-quota .quota-info .quota-info-button{color:#333}.light .storage-quota .quota-info .quota-info-button:hover{background:#f5f5f5}.dark .storage-quota .quota-info .quota-info-button{color:#a0a0a0}.dark .storage-quota .quota-info .quota-info-button:hover{background:#262626}.storage-quota .quota-info .quota-info-button svg{font-size:18px}.storage-quota .quota-bar{width:100%;height:6px;border-radius:3px;overflow:hidden}.light .storage-quota .quota-bar{background:#feffff}.dark .storage-quota .quota-bar{background:#151515}.storage-quota .quota-bar .quota-fill{height:100%;border-radius:3px;transition:all .3s ease}.taggingModalContent{padding:20px}.taggingModalContent p.subtitle{margin-bottom:20px}.taggingModalContent .taggingInput{display:flex;flex-direction:column;gap:8px}.taggingModalContent .taggingInput label{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .taggingModalContent .taggingInput label{color:#333}.dark .taggingModalContent .taggingInput label{color:#a0a0a0}.taggingModalContent .taggingInput input{padding:12px 16px;border-radius:8px;border:1px solid;font-size:14px;transition:all .2s}.light .taggingModalContent .taggingInput input{background:#fff;color:#000;border-color:#f5f5f5}.light .taggingModalContent .taggingInput input:focus{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c251a}.dark .taggingModalContent .taggingInput input{background:#0a0a0a;color:#fff;border-color:#262626}.dark .taggingModalContent .taggingInput input:focus{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c251a}.dropzone{margin-bottom:100px}.light .dropzone{background:#fff}.dark .dropzone{background:#0a0a0a}.dropzone .dropzone-content{min-height:200px}.dropzone .photosEmpty{padding:60px 20px;display:flex;align-items:center;justify-content:center}.dropzone .photosEmpty .emptyNewMessage{display:flex;flex-direction:column;align-items:center;gap:15px;text-align:center}.dropzone .photosEmpty .emptyNewMessage .title{font-size:18px;font-weight:500}.light .dropzone .photosEmpty .emptyNewMessage .title{color:#000}.dark .dropzone .photosEmpty .emptyNewMessage .title{color:#fff}.dropzone .photosEmpty .emptyNewMessage .subtitle{font-size:14px}.light .dropzone .photosEmpty .emptyNewMessage .subtitle{color:#333}.dark .dropzone .photosEmpty .emptyNewMessage .subtitle{color:#a0a0a0}.overviewGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:30px}.tabPreview{width:100%;aspect-ratio:2/1;display:flex;align-items:center;justify-content:center;margin-top:16px}.light .tabPreview{background:#fafafa;border-radius:12px;box-shadow:0 0 0 1px #e7e3e9}.dark .tabPreview{background:#111;border-radius:12px;box-shadow:0 0 0 1px #484848}.tabPreview .previewItem{display:flex;flex-flow:column;align-items:center}.tabPreview .previewItem .quotediv .quote{max-width:100%}.tabPreview .previewItem .quotediv .author-holder .author .author-content .title{font-size:1em!important}.light .tabPreview .previewItem .quotediv .author-holder .author .author-content .title{color:#000!important}.dark .tabPreview .previewItem .quotediv .author-holder .author .author-content .title{color:#fff!important}.overviewNews{display:flex;flex-flow:column;margin-top:16px;padding:25px}.overviewNews .title{font-size:36px!important;text-align:center}.overviewNews .subtitle{font-size:12px!important;text-align:center;text-transform:uppercase;letter-spacing:1px}.overviewNews .content{margin:20px 20px 0}.light .overviewNews{background:#fafafa;border-radius:12px;box-shadow:0 0 0 1px #e7e3e9}.dark .overviewNews{background:#111;border-radius:12px;box-shadow:0 0 0 1px #484848}.stats{display:flex;flex-flow:column;gap:30px;width:100%}.stats .rightPanel .statIcon{display:flex;justify-content:center;margin-bottom:30px}.stats .rightPanel .statGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:10px}.stats .rightPanel .statGrid div{display:flex;flex-flow:column}.stats .rightPanel .subtitle{text-transform:capitalize}.stats .rightPanel span{font-size:20px}.achievements{display:flex;flex-flow:column;gap:15px}.achievementsGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:10px}.achievement{padding:20px 10px;display:flex;flex-flow:row!important;align-items:center}.light .achievement{background:#fafafa;border:1px solid #f5f5f5;border-radius:12px;gap:10px}.dark .achievement{background:#111;border:1px solid #262626;border-radius:12px;gap:10px}.achievement .timestamp{display:flex;flex-flow:row;align-items:center;gap:5px;font-size:12px}.light .achievement .timestamp{color:#333}.dark .achievement .timestamp{color:#a0a0a0}.achievement .achievementTitle{font-size:18px;font-weight:700}.achievement svg.trophy{font-size:20px!important}.light .achievement svg.trophy{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .achievement svg.trophy{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.achievement svg.trophy{padding:15px;border-radius:100%}.achievement svg.trophyLocked{font-size:20px!important}.light .achievement svg.trophyLocked{background-image:#f5f5f5;box-shadow:0 0 0 1px #e7e3e9}.dark .achievement svg.trophyLocked{background-image:#262626;box-shadow:0 0 0 1px #484848}.achievement svg.trophyLocked{padding:15px;border-radius:100%}.statSection.rightPanel{padding:25px}.light .statSection.rightPanel{border-radius:12px;background:#fafafa;box-shadow:0 0 0 1px #f5f5f5}.light .statSection.rightPanel svg{font-size:50px;color:#333}.dark .statSection.rightPanel{border-radius:12px;background:#111;box-shadow:0 0 0 1px #262626}.dark .statSection.rightPanel svg{font-size:50px;color:#a0a0a0}.achievementContent{display:flex;flex-flow:column;gap:2px}.achievementContent .subtitle{font-size:13px!important}.statsTopBar{display:flex;justify-content:space-between;align-items:center}.statsTopBar button{margin-bottom:15px;flex-flow:row!important;padding-left:20px;padding-right:20px}input[type=color]{border-radius:100%;height:30px;width:30px;border:none;outline:none;appearance:none;vertical-align:middle;background:none}.light input[type=color]{border:#f5f5f5 1px solid}.dark input[type=color]{border:#262626 1px solid}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:none;border-radius:100%}input[type=color]::-moz-color-swatch{border-radius:100%;height:30px;width:30px;border:none;outline:none;appearance:none;vertical-align:middle;background:none}input[type=color]::-moz-color-swatch::-moz-color-swatch{border:none;border-radius:100%}input[type=date]{width:260px;flex-flow:column}.light input[type=date]{background:#feffff;border:1px solid #f5f5f5;color:#000}.dark input[type=date]{background:#151515;border:1px solid #262626;color:#fff}input[type=date]{padding:15px 20px;border-radius:4px;display:flex!important;cursor:pointer}input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer}.dark ::-webkit-calendar-picker-indicator{filter:invert(1)}h4{cursor:pointer}.photosEmpty{height:400px;display:grid;place-items:center}.photosEmpty button{padding:0 20px}.imagesTopBar{position:sticky;top:-20px;z-index:90;padding:25px 0 15px;display:flex;flex-flow:row;justify-content:space-between;align-items:center}.light .imagesTopBar{background:#fff}.dark .imagesTopBar{background:#0a0a0a}.imagesTopBar .imagesTopBarTitle{display:flex;flex-flow:row;align-items:center;gap:20px}.imagesTopBar .imagesTopBarTitle svg{font-size:30px}.light .imagesTopBar .imagesTopBarTitle svg{color:#333}.dark .imagesTopBar .imagesTopBarTitle svg{color:#a0a0a0}.imagesTopBar .imagesTopBarTitle div{display:flex;flex-flow:column}.imagesTopBar .topbarbuttons{display:flex;flex-flow:row;gap:15px;align-items:center}.imagesTopBar button:not(.MuiButtonBase-root){padding:0 20px}.imagesControlBar{position:sticky;top:68px;z-index:89;padding:12px 0;margin-bottom:15px;display:flex;flex-flow:row;justify-content:space-between;align-items:center}.light .imagesControlBar{background:#fff;border-bottom:1px solid #f5f5f5}.dark .imagesControlBar{background:#0a0a0a;border-bottom:1px solid #262626}.imagesControlBar .controlBarLeft{display:flex;align-items:center;gap:10px;font-size:14px}.light .imagesControlBar .controlBarLeft{color:#333}.dark .imagesControlBar .controlBarLeft{color:#a0a0a0}.imagesControlBar .controlBarLeft .image-count{font-weight:500;display:flex}.light .imagesControlBar .controlBarLeft .image-count{color:#000}.dark .imagesControlBar .controlBarLeft .image-count{color:#fff}.imagesControlBar .controlBarLeft .image-count .storage-info{font-weight:400}.light .imagesControlBar .controlBarLeft .image-count .storage-info{color:#333}.dark .imagesControlBar .controlBarLeft .image-count .storage-info{color:#a0a0a0}.imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link{background:none;border:none;padding:0;margin-left:5px;cursor:pointer;text-decoration:underline;font-size:13px;transition:opacity .2s}.light .imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link,.dark .imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link{color:#ff5c25}.imagesControlBar .controlBarLeft .image-count .storage-info .request-storage-link:hover{opacity:.8}.imagesControlBar .controlBarLeft .selection-separator{opacity:.5}.imagesControlBar .controlBarLeft .selected-count{font-weight:500}.imagesControlBar .controlBarLeft .delete-link{background:none;border:none;padding:0;margin-left:5px;cursor:pointer;text-decoration:underline;font-size:14px;transition:opacity .2s}.light .imagesControlBar .controlBarLeft .delete-link,.dark .imagesControlBar .controlBarLeft .delete-link{color:#ff4757}.imagesControlBar .controlBarLeft .delete-link:hover{opacity:.8}.imagesControlBar .controlBarLeft .select-all-link{background:none;border:none;padding:0;margin-left:5px;cursor:pointer;text-decoration:underline;font-size:14px;transition:opacity .2s}.light .imagesControlBar .controlBarLeft .select-all-link{color:#333}.dark .imagesControlBar .controlBarLeft .select-all-link{color:#a0a0a0}.imagesControlBar .controlBarLeft .select-all-link:hover{opacity:.8}.light .imagesControlBar .controlBarLeft .select-all-link:hover{color:#000}.dark .imagesControlBar .controlBarLeft .select-all-link:hover{color:#fff}.imagesControlBar .controlBarRight{display:flex;align-items:center}.customcss textarea{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace!important}.preferences{transition:.4s ease-in-out}.preferencesInactive{opacity:.5;pointer-events:none;transition:.4s ease-in-out}.itemWarning{padding:10px 20px;display:flex;flex-flow:row;gap:15px;align-items:center}.itemWarning .text{display:flex;flex-flow:column}.itemWarning .text .header{font-weight:600;margin-bottom:5px}.light .itemWarning svg{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .itemWarning svg{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.itemWarning svg{padding:7px;border-radius:100%;font-size:24px;min-width:24px}.light .itemWarning{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.dark .itemWarning{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.lightBoxModal{margin:auto;max-width:60%;background:none!important;box-shadow:none!important}.lightBoxModal img{height:auto;width:100%}.lightBoxModal .closeModal{color:#fff;text-shadow:0 0 20px rgba(0,0,0,.3)}.items{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,280px));grid-gap:1.5rem;margin-top:15px;margin-bottom:30px}.items .item{position:relative;border-radius:12px;width:auto;cursor:pointer;transition:transform .3s cubic-bezier(.4,0,.2,1);display:flex;flex-flow:column;align-items:flex-start;gap:15px;background-position:center;background-repeat:no-repeat;background-size:cover;padding:1.5rem;will-change:transform;transform:translateZ(0)}.light .items .item{background-color:#fafafa;box-shadow:0 0 0 1px #f5f5f5}.light .items .item:hover{transform:translate3d(0,-5px,0)}.dark .items .item{background-color:#111;box-shadow:0 0 0 1px #262626}.dark .items .item:hover{transform:translate3d(0,-5px,0)}.items .item .tags{margin-top:7px}.items .item .item-icon{object-fit:cover!important;height:60px!important;width:60px!important;border-radius:12px;transition:.5s}.items .item .item-icon.item-icon-text{display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:600;letter-spacing:1px}.light .items .item .item-icon.item-icon-text{background-color:#f5f5f5;color:#000}.dark .items .item .item-icon.item-icon-text{background-color:#262626;color:#fff}.items .item .card-details{z-index:1;display:flex;flex-flow:column;align-items:flex-start}.items .item .card-details .card-title{font-size:18px}.items .item .card-details .card-subtitle{font-size:14px}.light .items .item .card-details .card-subtitle{color:#333}.dark .items .item .card-details .card-subtitle{color:#a0a0a0}.items .item .card-details .card-chips{margin-top:20px;display:flex;flex-flow:row;gap:8px;flex-wrap:wrap}.items .item .card-details .card-type,.items .item .card-details .card-collection{font-size:12px;font-weight:bolder}.light .items .item .card-details .card-type,.light .items .item .card-details .card-collection{color:#333}.dark .items .item .card-details .card-type,.dark .items .item .card-details .card-collection{color:#a0a0a0}.items .item .card-details .card-type,.items .item .card-details .card-collection{border-radius:150px;padding:2px 15px;background-color:#ffffff1a;border:1px solid rgba(209,213,219,.3)}.light .items .item .card-details .card-collection,.dark .items .item .card-details .card-collection{background-color:#ffffff26;border:1px solid rgba(209,213,219,.4)}.items .item .item-uninstall-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:none;background-color:#00000080;cursor:pointer;transition:background-color .2s ease}.items .item .item-uninstall-btn svg{color:#fff;font-size:18px}.items .item .item-uninstall-btn:hover{background-color:#dc3232e6}.items .item .item-installed-badge{position:absolute;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:2px solid rgba(255,255,255,.4);box-shadow:0 2px 6px #0000004d;z-index:2;pointer-events:none;will-change:transform}.items .item .item-installed-badge svg{color:#fff;font-size:20px}.items .item .item-sideload-badge{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background-color:#646464e6;cursor:help}.items .item .item-sideload-badge svg{color:#fff;font-size:16px}.items .item:hover .item-installed-badge{transform:scale(1.05)}.items .item.item-sideloaded{cursor:default}.items .item.item-sideloaded:hover{transform:none}.itemPage{display:flex;flex-flow:row;justify-content:space-between;align-items:flex-start;gap:30px;flex-wrap:wrap}.itemPage .itemContent{display:flex;flex-flow:column;gap:25px;flex:1}.itemPage .itemContent img{width:100%;height:auto;border-radius:12px}.itemPage .itemContent table{table-layout:fixed;width:100%;word-wrap:break-word!important;font-size:16px;border-collapse:collapse}.itemPage .itemContent .itemTop{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background-color:#646464e6;cursor:help}.itemPage .itemContent .itemTop svg{color:#fff;font-size:16px}.itemPage .itemContent:hover .item-installed-badge{transform:scale(1.05)}.itemPage .itemContent.item-sideloaded{cursor:default}.itemPage .itemContent.item-sideloaded:hover{transform:none}.emptyItems{width:100%;height:100%;display:grid;place-items:center}.emptyMessage{display:grid;place-items:center;grid-gap:5px;padding:50px}.emptyMessage .title,.emptyMessage svg{margin:10px}.emptyMessage svg{font-size:70px}.light .emptyMessage .sideloadIcon{font-size:50px;color:#333}.dark .emptyMessage .sideloadIcon{font-size:50px;color:#a0a0a0}.emptyMessage button{display:flex;flex-flow:row}.emptyNewMessage{display:flex;gap:20px;flex-flow:column;text-align:center;align-items:center;-webkit-user-select:none;user-select:none}.emptyNewMessage img{width:200px;height:auto}.emptyNewMessage svg{font-size:70px}.emptyNewMessage button svg{font-size:1rem}.emptyNewMessage .buttonsRow{display:flex;flex-flow:row;gap:30px;align-items:center}p.author{margin-top:-5px}#item>img,.updateImage,.updateChangelog>p>img{border-radius:12px;height:200px;width:auto;cursor:pointer}.filter{display:flex;flex-flow:row;gap:15px;justify-content:space-between;align-items:center}.filter .MuiFormControl-root{margin-bottom:10px}.filter .buttonSection{display:flex;flex-flow:row;gap:20px}.filter .tags{max-width:50%}.createYourOwn{display:flex;flex-flow:column;gap:20px;align-items:center;margin-top:30px}.createYourOwn svg{font-size:30px}.topAddons{display:flex;align-items:center;justify-content:space-between}.modalHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.modalHeader .tooltip{margin-right:25px}.modalHeader .mainTitle{margin-bottom:0!important}.filter-options-container{display:flex;flex-flow:row;gap:20px;margin:20px 0;align-items:center;justify-content:space-between}.filter-chips{display:flex;flex-flow:row;gap:12px;align-items:center}.filter-chips .filter-chip{all:unset;padding:8px 20px;border-radius:24px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;-webkit-user-select:none;user-select:none}.light .filter-chips .filter-chip{background-color:#f5f5f5;color:#000}.dark .filter-chips .filter-chip{background-color:#262626;color:#fff}.light .filter-chips .filter-chip:hover,.dark .filter-chips .filter-chip:hover{background-color:#ffffff26}.light .filter-chips .filter-chip.active,.dark .filter-chips .filter-chip.active{background-color:#fff;color:#000}.light .filter-chips .filter-chip.active:hover,.dark .filter-chips .filter-chip.active:hover{background-color:#f0f0f0}.filter-chips .filter-chip:focus-visible{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}.Overlay{position:fixed;z-index:100;inset:0;width:100vw;height:100vh;display:grid;place-items:center}.light .Modal{color:#000}.dark .Modal{color:#fff}.Modal{box-shadow:0 0 20px #0000004d;opacity:1;z-index:-2;transition-timing-function:ease-in;border-radius:12px;user-select:none;overflow:hidden;transform:scale(0);transition:all .3s cubic-bezier(.47,1.64,.41,.8)}.Modal:focus{outline:0}.Modal .modalInfoPage{user-select:text}.closePositioning{position:absolute;top:3rem;right:3rem}.closeModal{display:grid;place-items:center;padding:.5em;border-radius:12px;cursor:pointer;transition:.5s;outline:none;border:none;background:transparent}.closeModal svg{font-size:2em}.light .closeModal{color:#000}.dark .closeModal{color:#fff}.light .closeModal:hover{background:#f5f5f5}.dark .closeModal:hover{background:#262626}.ReactModal__Html--open,.ReactModal__Body--open{overflow:hidden}.ReactModal__Content--after-open{opacity:1;transform:scale(1)}.ReactModal__Content--before-close{opacity:0;transform:scale(0)}#modal{height:80vh;width:clamp(60vw,1400px,90vw);-webkit-backdrop-filter:blur(16px) saturate(180%);backdrop-filter:blur(16px) saturate(180%);overflow:hidden;border-radius:12px}.light #modal{background-color:#fff}.dark #modal{background-color:#0a0a0a}label,p,span.modalLink{font-size:1rem}h2{font-size:2rem;margin-bottom:0}h3{font-size:1.17rem}h5{font-size:.8rem}.loaderHolder{display:flex;gap:15px;flex-flow:column;align-items:center}#loader{display:inline-block;width:50px;height:50px}.light #loader{border:3px solid #feffff;border-radius:50%;border-top-color:#f5f5f5}.dark #loader{border:3px solid #151515;border-radius:50%;border-top-color:#262626}#loader{animation:spin 1s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}.headerExtras{display:flex;flex-flow:column;gap:-1px;padding:10px 0}.headerExtras div:nth-child(1){display:flex;flex-flow:column;gap:10px}.headerExtras form{margin-top:10px}.headerExtras .link{display:flex;flex-flow:row;gap:15px;align-items:center}.light .headerExtras .MuiOutlinedInput-notchedOutline{border-color:#f5f5f5!important}.dark .headerExtras .MuiOutlinedInput-notchedOutline{border-color:#262626!important}.headerActions{display:flex;flex-flow:row;gap:20px;justify-content:center;align-items:center}.headerActions .link{display:flex;flex-flow:row;gap:15px;align-items:center}.marketplaceCondition{display:flex;flex-flow:row!important;gap:-1px;justify-content:space-between;align-items:center}.languageSettings{padding-bottom:50px}.languageSettings .MuiFormGroup-root{gap:5px}.languageSettings .MuiFormControl-root{width:100%!important;gap:15px}.languageSettings .MuiFormControl-root .MuiFormControlLabel-root{display:flex;flex-direction:row-reverse;justify-content:space-between;padding:5px 5px 5px 20px;transition:.3s}.light .languageSettings .MuiFormControl-root .MuiFormControlLabel-root{background:#feffff;border-radius:12px}.light .languageSettings .MuiFormControl-root .MuiFormControlLabel-root:hover{background:#f5f5f5}.dark .languageSettings .MuiFormControl-root .MuiFormControlLabel-root{background:#151515;border-radius:12px}.dark .languageSettings .MuiFormControl-root .MuiFormControlLabel-root:hover{background:#262626}.sliderTitle{width:100%;display:flex;justify-content:space-between;padding:15px 0}.sliderTitle .link{display:flex;flex-flow:row;gap:15px;align-items:center}.moreSettings{cursor:pointer;display:flex;flex-flow:row;justify-content:space-between;padding:25px;margin-top:20px;transition:.5s}.light .moreSettings{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.light .moreSettings:hover{background:#f5f5f5}.dark .moreSettings{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.dark .moreSettings:hover{background:#262626}.moreSettings svg{font-size:20px}.moreSettings .left{display:flex;flex-flow:row;align-items:center;gap:25px}.light .moreSettings .left svg{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .moreSettings .left svg{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.moreSettings .left svg{padding:15px;border-radius:100%}.moreSettings .content{display:flex;flex-flow:column}.moreSettings .action{display:flex;flex-flow:row;gap:20px;align-items:center}.reminder-info{display:flex;flex-flow:column;position:absolute;bottom:0;padding:15px;gap:15px}.light .reminder-info{background-color:#fafafa;border-radius:12px;border:1px solid #f5f5f5}.dark .reminder-info{background-color:#111;border-radius:12px;border:1px solid #262626}.light .reminder-info button{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px}.light .reminder-info button:hover{background:#f5f5f5}.light .reminder-info button:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .reminder-info button:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.dark .reminder-info button{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px}.dark .reminder-info button:hover{background:#262626}.dark .reminder-info button:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .reminder-info button:focus{background:#262626;box-shadow:0 0 0 1px #fff}.reminder-info button{padding:5px;font-size:5px;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center;display:flex;justify-content:center;gap:15px}.reminder-info button svg{margin:0!important}.reminder-info svg{margin:0!important}.quoteSkeleton{margin-top:5px;display:flex;flex-flow:column;gap:5px;align-items:center}.quoteSkeleton div{display:flex;flex-flow:row}.quoteSkeleton .text{display:flex;flex-flow:column;padding:5px}.quoteSkeleton .skeletonAuthor{font-size:smaller;display:flex;flex-flow:row;align-items:center;gap:25px;padding:0 20px 0 5px}.light .quoteSkeleton .skeletonAuthor svg{background-color:#feffff;padding:10px;border-radius:12px;place-items:center}.dark .quoteSkeleton .skeletonAuthor svg{background-color:#151515;padding:10px;border-radius:12px;place-items:center}.light .quoteSkeleton .skeletonAuthor{background-color:#f5f5f5;border-radius:12px}.dark .quoteSkeleton .skeletonAuthor{background-color:#262626;border-radius:12px}.quoteSkeleton .skeletonAuthor .title{font-size:medium!important}.quoteSkeleton .skeletonAuthor .subtitle{font-size:smaller!important}.quickLinksSkeleton .circles{display:flex;flex-flow:row;gap:5px}.quickLinksSkeleton .circles div{margin-top:10px;padding:3px;height:20px;width:20px;border-radius:100%;display:grid;place-items:center}.light .quickLinksSkeleton .circles div{background-color:#f5f5f5}.dark .quickLinksSkeleton .circles div{background-color:#262626}.clockSkeleton{font-size:30px!important;font-weight:700}.quicklinkscontainer textarea,.quicklinksdropdown,.quickLinksMetro{backdrop-filter:blur(15px)}.light .quicklinkscontainer textarea,.quicklinkscontainer .light textarea,.light .quicklinksdropdown,.light .quickLinksMetro{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .quicklinkscontainer textarea,.quicklinkscontainer .dark textarea,.dark .quicklinksdropdown,.dark .quickLinksMetro{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.quicklinkscontainer textarea .title,.quicklinksdropdown .title,.quickLinksMetro .title{font-size:18px}.light .quicklinkscontainer textarea .title,.quicklinkscontainer .light textarea .title,.light .quicklinksdropdown .title,.light .quickLinksMetro .title{color:#000}.dark .quicklinkscontainer textarea .title,.quicklinkscontainer .dark textarea .title,.dark .quicklinksdropdown .title,.dark .quickLinksMetro .title{color:#fff}.quicklinkscontainer textarea .subtitle,.quicklinksdropdown .subtitle,.quickLinksMetro .subtitle{font-size:14px}.light .quicklinkscontainer textarea .subtitle,.quicklinkscontainer .light textarea .subtitle,.light .quicklinksdropdown .subtitle,.light .quickLinksMetro .subtitle{color:#333}.dark .quicklinkscontainer textarea .subtitle,.quicklinkscontainer .dark textarea .subtitle,.dark .quicklinksdropdown .subtitle,.dark .quickLinksMetro .subtitle{color:#a0a0a0}.addLinkModal .mainTitle{display:flex;align-items:center;font-size:38px;font-weight:600;margin-bottom:15px;text-transform:capitalize}.light .addLinkModal .mainTitle{color:#000}.dark .addLinkModal .mainTitle{color:#fff}.addLinkModal .mainTitle .backTitle{cursor:pointer;transition:.5s}.light .addLinkModal .mainTitle .backTitle{color:#333}.light .addLinkModal .mainTitle .backTitle:hover{color:#000}.dark .addLinkModal .mainTitle .backTitle{color:#a0a0a0}.dark .addLinkModal .mainTitle .backTitle:hover{color:#fff}.addLinkModal .title{font-size:24px;font-weight:600}.light .addLinkModal .title{color:#000}.dark .addLinkModal .title{color:#fff}.addLinkModal .subtitle{font-size:16px;font-family:Inter,sans-serif!important}.light .addLinkModal .subtitle{color:#333}.dark .addLinkModal .subtitle{color:#a0a0a0}.addLinkModal .link{font-size:16px;text-decoration:none;cursor:pointer}.light .addLinkModal .link,.dark .addLinkModal .link{color:#ff5c25}.addLinkModal .link:hover{opacity:.8}.light .quicklinks{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .quicklinks:hover{background:#f7fafce6}.light .quicklinks:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .quicklinks:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .quicklinks{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .quicklinks:hover{background:#565656}.dark .quicklinks:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .quicklinks:focus{background:#565656;box-shadow:0 0 0 1px #fff}.quicklinks{font-size:14px;cursor:pointer;transition:.5s;display:grid;place-items:center;outline:none;border:none;box-shadow:0 0 0 1px #484848;border-radius:12px;color:#fff;display:flex;align-items:center;justify-content:space-evenly;font-size:.5em;padding:10px 40px;gap:15px}.quicklinkscontainer{border-radius:12px;z-index:1;display:flex;place-content:center center;flex-wrap:wrap;padding:0 25px;gap:12px;max-width:100%;overflow-x:visible;box-sizing:border-box}.quicklinkscontainer.sortable-quicklinks{cursor:default}.quicklinkscontainer textarea{border:none;padding:15px;border-radius:12px}.quicklinkscontainer ::placeholder{color:#636e72;opacity:1}.topbarquicklinks svg{font-size:46px;padding:9px}.topbarquicklinks h4{margin:0;cursor:initial;user-select:none;text-shadow:none}.topbarquicklinks p{font-size:16px;cursor:initial;user-select:none;color:#ff4757}.messagesContainer.disabled{pointer-events:none;user-select:none;opacity:.55}.quicklink-wrapper{position:relative;display:flex;align-items:center;gap:8px;transition:all .2s ease;cursor:grab;user-select:none;border-radius:8px;padding:4px}.quicklink-wrapper:hover{background:#ffffff0d}.quicklink-wrapper:hover .quicklink-drag-handle{opacity:1}.quicklink-wrapper:active{cursor:grabbing}.quicklink-wrapper a{margin:0;flex:1;display:flex;align-items:center;justify-content:center}.quicklink-drag-handle{display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:#fff6;cursor:grab;opacity:0;transition:opacity .2s ease,color .2s ease;border-radius:4px}.quicklink-drag-handle:hover{color:#fffc;background:#ffffff1a}.quicklink-drag-handle svg{width:16px;height:16px}.metro-wrapper{flex-direction:column}.metro-wrapper .quicklink-drag-handle{position:absolute;top:8px;left:8px;z-index:2}.quicklinkstext{text-decoration:none;color:#fff;font-size:.8em}.quicklinkstext:hover{text-decoration:underline}.quicklinksdropdown{position:absolute;z-index:99;display:none;flex-flow:column;padding:15px;box-shadow:0 0 0 1px #484848;gap:5px}.quicklinksdropdown:hover .quicklinksdropdown{display:block}.quicklinksdropdown .dropdown-title{font-size:.9em}.quicklinksdropdown .dropdown-subtitle{font-size:.4em}.light .quicklinksdropdown .dropdown-subtitle{color:#333}.dark .quicklinksdropdown .dropdown-subtitle{color:#a0a0a0}.light .quicklinksdropdown button{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .quicklinksdropdown button:hover{background:#f7fafce6}.light .quicklinksdropdown button:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .quicklinksdropdown button:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .quicklinksdropdown button{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .quicklinksdropdown button:hover{background:#565656}.dark .quicklinksdropdown button:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .quicklinksdropdown button:focus{background:#565656;box-shadow:0 0 0 1px #fff}.quicklinksdropdown button{padding:10px;font-size:.9rem;cursor:pointer;transition:.5s;display:grid;place-items:center;border-radius:12px;border:none;outline:none;color:#fff;display:flex;align-items:center;justify-content:center;gap:20px}.dropdown-error{font-size:.4em}button.quicklinks{cursor:pointer}.outOfScreen{bottom:515px}.addLinkModal{padding:15px}.light .addLinkModal{background:#fafafa}.dark .addLinkModal{background:#111}.light .addLinkModal button{background:#feffff;box-shadow:0 0 0 1px #e7e3e9;border:0;color:#000}.light .addLinkModal button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.light .addLinkModal button:hover{background:#f5f5f5}.light .addLinkModal button:active{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .addLinkModal button:focus{background:#f5f5f5;box-shadow:0 0 0 1px #000}.light .addLinkModal button:disabled{background:#f5f5f5;cursor:not-allowed}.dark .addLinkModal button{background:#151515;box-shadow:0 0 0 1px #484848;border:0;color:#fff}.dark .addLinkModal button{border-radius:12px;height:40px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer}.dark .addLinkModal button:hover{background:#262626}.dark .addLinkModal button:active{background:#262626;box-shadow:0 0 0 1px #fff}.dark .addLinkModal button:focus{background:#262626;box-shadow:0 0 0 1px #fff}.dark .addLinkModal button:disabled{background:#262626;cursor:not-allowed}.addLinkModal button{padding:10px 30px;float:right}.addLinkModal .addFooter{display:flex;flex-flow:row;justify-content:space-between;align-items:center}.addLinkModal .dropdown-error{font-size:16px;padding-left:5px;color:#e74c3c}.quicklinkModalTextbox{display:grid;grid-template-rows:auto 1fr;grid-template-columns:repeat(2,1fr);grid-gap:10px;padding:15px 0}.quicklinkModalTextbox button{display:flex;flex-flow:row;gap:20px;justify-content:center}.quicklinkModalTextbox .dropdown-error{font-size:30px;padding-left:5px;color:#e74c3c}.light .quicklinkModalTextbox textarea{background:#feffff;border:1px solid #f5f5f5;color:#000;border-radius:12px;padding:10px 20px}.light .quicklinkModalTextbox textarea:hover,.light .quicklinkModalTextbox textarea:active{box-shadow:0 0 0 1px #000}.light .quicklinkModalTextbox textarea:focus{box-shadow:0 0 0 1px #000}.dark .quicklinkModalTextbox textarea{background:#151515;border:1px solid #262626;color:#fff;border-radius:12px;padding:10px 20px}.dark .quicklinkModalTextbox textarea:hover,.dark .quicklinkModalTextbox textarea:active{box-shadow:0 0 0 1px #fff}.dark .quicklinkModalTextbox textarea:focus{box-shadow:0 0 0 1px #fff}.quickLinksMetro{text-decoration:none;gap:10px;display:flex;flex-flow:column;align-items:center;min-width:100px;background-image:linear-gradient(to left,rgb(0,0,0),transparent,rgb(0,0,0));transition:.8s;text-align:left;padding:20px 40px}.light .quickLinksMetro:hover{background:#f7fafce6}.dark .quickLinksMetro:hover{background:#565656}.quickLinksMetro img{width:auto;align-self:center}.quicklinknostyle{text-decoration:none;font-size:14px}.light .quicklinknostyle{color:#333}.dark .quicklinknostyle{color:#a0a0a0}.messageMap{display:flex;align-items:center;gap:12px;padding:10px;border-radius:10px;transition:box-shadow .15s ease,transform .12s ease,opacity .12s ease;cursor:grab;user-select:none;background:transparent;border:1px solid rgba(255,255,255,.03)}.messageMap:active{cursor:grabbing}.messageMap.dragging{opacity:.6;transform:scale(.995);box-shadow:0 8px 20px #00000059;z-index:10}.messageMap.drag-over{outline:2px dashed rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px #ffffff08;background:#ffffff03}.messageMap .dragHandle{display:flex;align-items:center;justify-content:center;color:#ffffffa6;font-size:20px;padding:6px;border-radius:8px;margin-right:4px;cursor:grab;user-select:none;transition:background .12s ease,color .12s ease}.messageMap .dragHandle:hover{color:#ffffffe6;background:#ffffff05}.messageMap .messageText{flex:1 1 auto;min-width:0}.messageMap .messageText .title{font-weight:600;font-size:.95rem;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messageMap .messageText .subtitle{font-size:.8rem;color:#fff9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.messageMap .messageAction{display:flex;gap:8px;align-items:center}.quicklinks-list{display:flex;flex-direction:column;gap:12px;padding:16px 0;width:100%}.quicklink-item{display:flex;align-items:center;gap:16px;background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:16px 20px;transition:all .01s ease;cursor:grab;user-select:none}.quicklink-item:hover{background:#ffffff0f;border-color:#ffffff1f}.quicklink-item:hover .quicklink-drag-handle{opacity:1;color:#ffffffb3}.quicklink-item:active{cursor:grabbing}.quicklink-item .quicklink-drag-handle{display:flex;align-items:center;justify-content:center;cursor:grab;color:#fff6;font-size:24px;padding:4px;opacity:.3;transition:opacity .2s ease,color .2s ease}.quicklink-item .quicklink-drag-handle:active{cursor:grabbing}.quicklink-item .quicklink-drag-handle:hover{color:#ffffffe6}.quicklink-item .quicklink-icon{width:48px;height:48px;border-radius:50%;background:#ffffff14;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;border:1px solid rgba(255,255,255,.1)}.quicklink-item .quicklink-icon img{width:32px;height:32px;object-fit:contain;user-select:none;pointer-events:none}.quicklink-item .quicklink-icon .quicklink-icon-placeholder{font-size:20px}.quicklink-item .quicklink-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.quicklink-item .quicklink-content .quicklink-name{font-size:16px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.quicklink-item .quicklink-content .quicklink-url{font-size:13px;color:#ffffff80;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.quicklink-item .quicklink-actions{display:flex;gap:8px;flex-shrink:0}.quicklink-item .quicklink-actions .quicklink-action-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:#ffffff0d;color:#fff;font-size:14px;cursor:pointer;transition:all .2s ease;white-space:nowrap}.quicklink-item .quicklink-actions .quicklink-action-btn svg{font-size:16px;flex-shrink:0}.quicklink-item .quicklink-actions .quicklink-action-btn:hover{background:#ffffff1a;border-color:#ffffff40}.quicklink-item .quicklink-actions .quicklink-action-btn:active{transform:translateY(0)}.quicklink-item .quicklink-actions .quicklink-action-btn.quicklink-remove-btn:hover{background:#ef444426;border-color:#ef444466;color:#ef4444}.quicklink-item.disabled{cursor:default}.quicklink-item.disabled .quicklink-action-btn{opacity:.6;cursor:not-allowed}.quicklink-item.disabled .drag-handle{cursor:not-allowed;opacity:.5}.sortable-helper{transform:scale(1.02);z-index:9999!important;opacity:.5!important;box-shadow:0 12px 40px #00000080!important;cursor:grabbing!important}.sortable-helper.quicklink-item{background:#ffffff1a!important;border-color:#fff3!important}.sortable-helper .quicklink-drag-handle{opacity:1!important;color:#ffffffe6!important}.sortable-helper .quicklink-icon,.sortable-helper .quicklink-content,.sortable-helper .quicklink-actions,.sortable-helper img{opacity:1!important;visibility:visible!important}.sortable-helper *{pointer-events:none!important}.sortable-ghost{opacity:0!important;visibility:hidden!important;pointer-events:none!important;background:#ffffff1a!important;transition:none!important}.messagesContainer{display:flex;flex-direction:column;gap:8px;padding-bottom:50px}.quicklink-wrapper .quicklinkstext{text-decoration:none;color:#fff;font-size:.8em;padding:8px 12px;border-radius:6px;transition:all .2s ease}.quicklink-wrapper .quicklinkstext:hover{text-decoration:underline;background:#ffffff1a}.quicklink-wrapper .quickLinksMetro{position:relative;min-width:100px}.quicklink-wrapper .quickLinksMetro .subtitle{margin-top:8px;font-size:.8rem;color:#ffffffe6}.date{cursor:initial;user-select:none;text-transform:capitalize;font-weight:700;--shadow-shift: .125rem}.message{cursor:default;margin:0;user-select:none;font-size:1em}.slider-container{width:300px;margin-bottom:30px}.slider-container .slider-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.slider-container .slider-value{font-size:16px;font-weight:600}.light .slider-container .slider-value{color:#000}.dark .slider-container .slider-value{color:#fff}.slider-container .slider-reset{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .slider-container .slider-reset,.dark .slider-container .slider-reset{color:#ff5c25}.slider-container .slider-reset:hover{opacity:.8}.slider-container .slider-reset svg{font-size:12px}.slider-container .slider-wrapper{position:relative;width:100%}.slider-container .slider-input{-webkit-appearance:none;appearance:none;width:100%;height:6px;border-radius:3px;outline:none;cursor:pointer;transition:background .3s ease}.light .slider-container .slider-input{background:linear-gradient(to right,#ff5c25 0%,#ff5c25 var(--slider-percentage),#f5f5f5 var(--slider-percentage),#f5f5f5 100%)}.dark .slider-container .slider-input{background:linear-gradient(to right,#ff5c25 0%,#ff5c25 var(--slider-percentage),#262626 var(--slider-percentage),#262626 100%)}.slider-container .slider-input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 6px #0003}.light .slider-container .slider-input::-webkit-slider-thumb{background:#000;border:2px solid #ff5c25}.dark .slider-container .slider-input::-webkit-slider-thumb{background:#fff;border:2px solid #ff5c25}.slider-container .slider-input::-webkit-slider-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px #0000004d}.slider-container .slider-input::-moz-range-thumb{width:20px;height:20px;border-radius:50%;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 6px #0003;border:none}.light .slider-container .slider-input::-moz-range-thumb{background:#000;border:2px solid #ff5c25}.dark .slider-container .slider-input::-moz-range-thumb{background:#fff;border:2px solid #ff5c25}.slider-container .slider-input::-moz-range-thumb:hover{transform:scale(1.1);box-shadow:0 3px 8px #0000004d}.slider-container .slider-input:focus-visible{outline:none}.light .slider-container .slider-input:focus-visible::-webkit-slider-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.dark .slider-container .slider-input:focus-visible::-webkit-slider-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.slider-container .slider-input:focus-visible::-webkit-slider-thumb{transform:scale(1.15)}.light .slider-container .slider-input:focus-visible::-moz-range-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.dark .slider-container .slider-input:focus-visible::-moz-range-thumb{box-shadow:0 2px 6px #0003,0 0 0 3px #ff5c25}.slider-container .slider-input:focus-visible::-moz-range-thumb{transform:scale(1.15)}.slider-container .slider-input:active:not(:disabled)::-webkit-slider-thumb{transform:scale(1.2)}.slider-container .slider-input:active:not(:disabled)::-moz-range-thumb{transform:scale(1.2)}.slider-container .slider-input:disabled{opacity:.5;cursor:not-allowed}.slider-container .slider-input:disabled::-webkit-slider-thumb{cursor:not-allowed;transform:scale(1)!important}.slider-container .slider-input:disabled::-moz-range-thumb{cursor:not-allowed;transform:scale(1)!important}.slider-container .slider-marks{position:relative;width:100%;height:20px;margin-top:8px}.slider-container .slider-marks .slider-mark{position:absolute;transform:translate(-50%);font-size:12px}.light .slider-container .slider-marks .slider-mark{color:#333}.dark .slider-container .slider-marks .slider-mark{color:#a0a0a0}@keyframes checkScale{0%{transform:scale(0);opacity:0}50%{transform:scale(1.1)}to{transform:scale(1);opacity:1}}.checkbox-wrapper{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;cursor:pointer;padding:8px 0}.checkbox-wrapper.disabled{opacity:.5;cursor:not-allowed}.light .checkbox-wrapper:hover:not(.disabled) .checkbox-label{color:#ff5c25}.dark .checkbox-wrapper:hover:not(.disabled) .checkbox-label{color:#ff5c25}.checkbox-wrapper .checkbox-label{flex:1;transition:color .2s ease;pointer-events:none}.light .checkbox-wrapper .checkbox-label{color:#000}.dark .checkbox-wrapper .checkbox-label{color:#fff}.checkbox-wrapper .checkbox-box{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;transition:all .2s ease;cursor:pointer;flex-shrink:0;pointer-events:none}.light .checkbox-wrapper .checkbox-box{border:2px solid #f5f5f5;background:#feffff;color:#000}.light .checkbox-wrapper .checkbox-box:hover:not(.disabled){border-color:#000;transform:scale(1.05)}.dark .checkbox-wrapper .checkbox-box{border:2px solid #262626;background:#151515;color:#fff}.dark .checkbox-wrapper .checkbox-box:hover:not(.disabled){border-color:#fff;transform:scale(1.05)}.checkbox-wrapper .checkbox-box:active:not(.disabled){transform:scale(.95)}.light .checkbox-wrapper .checkbox-box:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.dark .checkbox-wrapper .checkbox-box:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.light .checkbox-wrapper .checkbox-box.checked,.dark .checkbox-wrapper .checkbox-box.checked{background:#ff5c25;border-color:#ff5c25}.checkbox-wrapper .checkbox-box.checked svg{animation:checkScale .3s cubic-bezier(.68,-.55,.265,1.55)}.checkbox-wrapper .checkbox-box svg{font-size:18px;color:#fff}.checkbox-wrapper .checkbox-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}.light .checkbox-wrapper .checkbox-input:focus-visible+.checkbox-box{box-shadow:0 0 0 3px #ff5c25}.dark .checkbox-wrapper .checkbox-input:focus-visible+.checkbox-box{box-shadow:0 0 0 3px #ff5c25}.checkbox-wrapper .checkbox-input:disabled{cursor:not-allowed}.chipSelect{position:relative;width:300px;margin-top:10px}.chipSelect .chipSelect-label{display:block;margin-bottom:8px;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .chipSelect .chipSelect-label{color:#333}.dark .chipSelect .chipSelect-label{color:#a0a0a0}.chipSelect .chipSelect-control{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:8px 12px;cursor:pointer;transition:.2s ease}.light .chipSelect .chipSelect-control{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .chipSelect .chipSelect-control:hover{border-color:#000}.dark .chipSelect .chipSelect-control{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .chipSelect .chipSelect-control:hover{border-color:#fff}.chipSelect .chipSelect-value{flex:1;min-width:0}.light .chipSelect .chipSelect-placeholder{color:#333}.dark .chipSelect .chipSelect-placeholder{color:#a0a0a0}.chipSelect .chipSelect-chips{display:flex;flex-wrap:wrap;gap:6px}.chipSelect .chipSelect-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;font-size:13px;text-transform:capitalize}.light .chipSelect .chipSelect-chip{background:#f5f5f5;border-radius:6px;color:#000}.dark .chipSelect .chipSelect-chip{background:#262626;border-radius:6px;color:#fff}.chipSelect .chipSelect-chip .chipSelect-chip-remove{display:flex;align-items:center;justify-content:center;padding:2px;margin-left:2px;border:none;background:transparent;cursor:pointer;border-radius:50%;transition:.2s ease}.light .chipSelect .chipSelect-chip .chipSelect-chip-remove{color:#333}.light .chipSelect .chipSelect-chip .chipSelect-chip-remove:hover{background:#ffffff1a;color:#000}.dark .chipSelect .chipSelect-chip .chipSelect-chip-remove{color:#a0a0a0}.dark .chipSelect .chipSelect-chip .chipSelect-chip-remove:hover{background:#ffffff1a;color:#fff}.chipSelect .chipSelect-chip .chipSelect-chip-remove svg{font-size:14px}.chipSelect .chipSelect-arrow{flex-shrink:0;font-size:24px;transition:transform .2s ease}.light .chipSelect .chipSelect-arrow{color:#333}.dark .chipSelect .chipSelect-arrow{color:#a0a0a0}.chipSelect .chipSelect-arrow.open{transform:rotate(180deg)}.chipSelect .chipSelect-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:250px;overflow-y:auto;z-index:100}.light .chipSelect .chipSelect-dropdown{background:#fff;border:1px solid #f5f5f5;border-radius:12px;box-shadow:0 4px 12px #00000026}.dark .chipSelect .chipSelect-dropdown{background:#0a0a0a;border:1px solid #262626;border-radius:12px;box-shadow:0 4px 12px #00000026}.chipSelect .chipSelect-option{display:flex;align-items:center;gap:10px;padding:12px 16px;cursor:pointer;transition:.2s ease}.light .chipSelect .chipSelect-option{color:#000}.light .chipSelect .chipSelect-option:hover{background:#f5f5f5}.light .chipSelect .chipSelect-option.selected{background:#feffff}.dark .chipSelect .chipSelect-option{color:#fff}.dark .chipSelect .chipSelect-option:hover{background:#262626}.dark .chipSelect .chipSelect-option.selected{background:#151515}.chipSelect .chipSelect-option .chipSelect-option-checkbox{display:flex;align-items:center;justify-content:center;width:20px;height:20px;font-size:12px;font-weight:700}.light .chipSelect .chipSelect-option .chipSelect-option-checkbox{border:2px solid #f5f5f5;border-radius:4px;color:#000}.dark .chipSelect .chipSelect-option .chipSelect-option-checkbox{border:2px solid #262626;border-radius:4px;color:#fff}.light .chipSelect .chipSelect-option.selected .chipSelect-option-checkbox{background:#f5f5f5;border-color:#000}.dark .chipSelect .chipSelect-option.selected .chipSelect-option-checkbox{background:#262626;border-color:#fff}.chipSelect .chipSelect-option .chipSelect-option-label{flex:1}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dropdown{position:relative;width:300px;margin-top:10px;gap:8px;display:flex;flex-flow:column}.dropdown.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.dropdown .dropdown-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.dropdown .dropdown-label{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .dropdown .dropdown-label{color:#333}.dark .dropdown .dropdown-label{color:#a0a0a0}.dropdown .dropdown-reset{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .dropdown .dropdown-reset,.dark .dropdown .dropdown-reset{color:#ff5c25}.dropdown .dropdown-reset:hover{opacity:.8}.dropdown .dropdown-reset svg{font-size:12px}.dropdown .dropdown-control{display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 16px;cursor:pointer;transition:all .2s ease;outline:none}.light .dropdown .dropdown-control{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .dropdown .dropdown-control:hover{border-color:#000}.dark .dropdown .dropdown-control{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .dropdown .dropdown-control:hover{border-color:#fff}.dropdown .dropdown-control:focus-visible{outline:none}.light .dropdown .dropdown-control:focus-visible{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c25}.dark .dropdown .dropdown-control:focus-visible{border-color:#ff5c25;box-shadow:0 0 0 3px #ff5c25}.dropdown .dropdown-value{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color .2s ease}.dropdown .dropdown-arrow{flex-shrink:0;font-size:24px;transition:transform .2s ease}.light .dropdown .dropdown-arrow{color:#333}.dark .dropdown .dropdown-arrow{color:#a0a0a0}.dropdown .dropdown-arrow.open{transform:rotate(180deg)}.dropdown .dropdown-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:250px;overflow-y:auto;z-index:9999;animation:dropdownSlideIn .2s ease-out}.light .dropdown .dropdown-menu{background:#fff;border:1px solid #f5f5f5;border-radius:12px;box-shadow:0 4px 12px #00000026}.dark .dropdown .dropdown-menu{background:#0a0a0a;border:1px solid #262626;border-radius:12px;box-shadow:0 4px 12px #00000026}.dropdown .dropdown-menu::-webkit-scrollbar{width:6px}.light .dropdown .dropdown-menu::-webkit-scrollbar-track{background:#feffff}.dark .dropdown .dropdown-menu::-webkit-scrollbar-track{background:#151515}.light .dropdown .dropdown-menu::-webkit-scrollbar-thumb{background:#f5f5f5;border-radius:3px}.dark .dropdown .dropdown-menu::-webkit-scrollbar-thumb{background:#262626;border-radius:3px}.light .dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover{background:#000}.dark .dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover{background:#fff}.dropdown .dropdown-option{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;cursor:pointer;transition:all .15s ease;outline:none}.light .dropdown .dropdown-option{color:#000}.light .dropdown .dropdown-option:hover{background:#f5f5f5;padding-left:20px}.light .dropdown .dropdown-option.selected{background:#feffff;font-weight:500}.light .dropdown .dropdown-option.focused{background:#f5f5f5;border-left:2px solid #ff5c25}.dark .dropdown .dropdown-option{color:#fff}.dark .dropdown .dropdown-option:hover{background:#262626;padding-left:20px}.dark .dropdown .dropdown-option.selected{background:#151515;font-weight:500}.dark .dropdown .dropdown-option.focused{background:#262626;border-left:2px solid #ff5c25}.dropdown .dropdown-option .dropdown-option-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown .dropdown-option .dropdown-option-check{flex-shrink:0;font-size:14px;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center}.light .dropdown .dropdown-option .dropdown-option-check,.dark .dropdown .dropdown-option .dropdown-option-check{background:#ff5c25;color:#fff}@keyframes radioDotScale{0%{transform:scale(0);opacity:0}50%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}.radio-group{width:100%;margin-top:10px}.radio-group .radio-title{font-weight:700;font-size:1.17rem;margin-bottom:12px;display:block}.light .radio-group .radio-title{color:#000}.dark .radio-group .radio-title{color:#fff}.radio-group .radio-title-small{font-weight:700;font-size:1rem;margin-bottom:10px;display:block}.light .radio-group .radio-title-small{color:#000}.dark .radio-group .radio-title-small{color:#fff}.radio-group .radio-options{display:flex;flex-direction:column;gap:10px}.radio-group .radio-option{position:relative;display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:16px 20px;transition:all .2s ease}.light .radio-group .radio-option{background:#feffff;border-radius:12px;box-shadow:0 0 0 1px #f5f5f5}.light .radio-group .radio-option:hover:not(.disabled){background:#fafafa;transform:translateY(-1px)}.dark .radio-group .radio-option{background:#151515;border-radius:12px;box-shadow:0 0 0 1px #262626}.dark .radio-group .radio-option:hover:not(.disabled){background:#111;transform:translateY(-1px)}.radio-group .radio-option:active:not(.disabled){transform:translateY(0)}.light .radio-group .radio-option.selected .radio-circle,.dark .radio-group .radio-option.selected .radio-circle{border-color:#ff5c25}.radio-group .radio-option.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.radio-group .radio-label{flex:1;font-size:15px;pointer-events:none}.light .radio-group .radio-label{color:#000}.dark .radio-group .radio-label{color:#fff}.radio-group .radio-circle{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;transition:all .2s ease;cursor:pointer;flex-shrink:0;margin-left:20px;pointer-events:none}.light .radio-group .radio-circle{border:2px solid #f5f5f5;background:#fafafa}.dark .radio-group .radio-circle{border:2px solid #262626;background:#111}.radio-group .radio-circle:hover:not(.disabled){transform:scale(1.1)}.light .radio-group .radio-circle:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.dark .radio-group .radio-circle:active:not(.disabled){box-shadow:0 0 0 4px #ff5c251a}.radio-group .radio-dot{width:12px;height:12px;border-radius:50%;animation:radioDotScale .3s cubic-bezier(.68,-.55,.265,1.55)}.light .radio-group .radio-dot,.dark .radio-group .radio-dot{background:#ff5c25}.radio-group .radio-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}.light .radio-group .radio-input:focus-visible+.radio-circle{box-shadow:0 0 0 3px #ff5c25}.dark .radio-group .radio-input:focus-visible+.radio-circle{box-shadow:0 0 0 3px #ff5c25}.radio-group .radio-input:disabled{cursor:not-allowed}.search-input-container{position:relative;display:flex;align-items:center;width:250px}.search-input-container.full-width{width:100%}.search-input-container .search-input-icon{position:absolute;left:16px;font-size:20px;pointer-events:none}.light .search-input-container .search-input-icon{color:#333}.dark .search-input-container .search-input-icon{color:#a0a0a0}.search-input-container .search-input-field{width:100%;height:48px;padding:0 16px 0 44px;font-size:15px;outline:none;transition:.2s ease}.light .search-input-container .search-input-field{background:#feffff;border:1px solid #f5f5f5;border-radius:24px;color:#000}.light .search-input-container .search-input-field:hover,.light .search-input-container .search-input-field:focus{border-color:#000}.light .search-input-container .search-input-field::placeholder{color:#333}.dark .search-input-container .search-input-field{background:#151515;border:1px solid #262626;border-radius:24px;color:#fff}.dark .search-input-container .search-input-field:hover,.dark .search-input-container .search-input-field:focus{border-color:#fff}.dark .search-input-container .search-input-field::placeholder{color:#a0a0a0}.switch-wrapper{display:flex;align-items:center;justify-content:space-between;width:100%;cursor:pointer;padding:8px 0}.switch-wrapper .switch-label{flex:1}.light .switch-wrapper .switch-label{color:#000}.dark .switch-wrapper .switch-label{color:#fff}.switch-wrapper .switch-track{position:relative;width:52px;height:32px;border-radius:16px;cursor:pointer;transition:.2s ease;flex-shrink:0}.light .switch-wrapper .switch-track{background:#f5f5f5}.dark .switch-wrapper .switch-track{background:#262626}.light .switch-wrapper .switch-track.checked,.dark .switch-wrapper .switch-track.checked{background:#ff5c25}.switch-wrapper .switch-track.checked .switch-thumb{transform:translate(20px)}.switch-wrapper .switch-thumb{position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;transition:.2s ease;box-shadow:0 2px 4px #0003}.light .switch-wrapper .switch-thumb{background:#000}.dark .switch-wrapper .switch-thumb{background:#fff}.switch-wrapper .switch-input{position:absolute;opacity:0;pointer-events:none}.switch-wrapper:has(.switch-input:focus-visible) .switch-track{outline:2px solid currentColor;outline-offset:2px}.text-field-container{display:flex;flex-direction:column;width:300px;margin-top:10px}.text-field{display:flex;flex-direction:column;gap:8px}.text-field .text-field-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.text-field .text-field-label{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .text-field .text-field-label{color:#333}.dark .text-field .text-field-label{color:#a0a0a0}.text-field .text-field-reset{display:flex;align-items:center;gap:5px;cursor:pointer;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.light .text-field .text-field-reset,.dark .text-field .text-field-reset{color:#ff5c25}.text-field .text-field-reset:hover{opacity:.8}.text-field .text-field-reset svg{font-size:12px}.text-field .text-field-input{height:56px;padding:0 16px;font-size:16px;outline:none;transition:.2s ease}.light .text-field .text-field-input{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .text-field .text-field-input:hover,.light .text-field .text-field-input:focus{border-color:#000}.light .text-field .text-field-input::placeholder{color:#333}.dark .text-field .text-field-input{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .text-field .text-field-input:hover,.dark .text-field .text-field-input:focus{border-color:#fff}.dark .text-field .text-field-input::placeholder{color:#a0a0a0}.text-field .text-field-textarea{padding:16px;font-size:16px;outline:none;resize:vertical;min-height:100px;transition:.2s ease}.light .text-field .text-field-textarea{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .text-field .text-field-textarea:hover,.light .text-field .text-field-textarea:focus{border-color:#000}.light .text-field .text-field-textarea::placeholder{color:#333}.dark .text-field .text-field-textarea{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .text-field .text-field-textarea:hover,.dark .text-field .text-field-textarea:focus{border-color:#fff}.dark .text-field .text-field-textarea::placeholder{color:#a0a0a0}.text-field.customcss .text-field-textarea{font-family:Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace!important}.textarea-autosize{width:100%;padding:12px 16px;font-size:15px;line-height:24px;outline:none;resize:none;overflow:hidden;transition:.2s ease;font-family:inherit}.light .textarea-autosize{background:#feffff;border:1px solid #f5f5f5;border-radius:12px;color:#000}.light .textarea-autosize:hover,.light .textarea-autosize:focus{border-color:#000}.light .textarea-autosize::placeholder{color:#333}.dark .textarea-autosize{background:#151515;border:1px solid #262626;border-radius:12px;color:#fff}.dark .textarea-autosize:hover,.dark .textarea-autosize:focus{border-color:#fff}.dark .textarea-autosize::placeholder{color:#a0a0a0}.textarea-autosize[readonly]{opacity:.6;cursor:not-allowed}.notesContainer,.notesContainer .flexNotes textarea,.topBarNotes{backdrop-filter:blur(15px)}.light .notesContainer,.light .notesContainer .flexNotes textarea,.notesContainer .flexNotes .light textarea,.light .topBarNotes{background:#ffffffb3;border-radius:12px;color:#000;box-shadow:0 0 0 1px #e7e3e9}.dark .notesContainer,.dark .notesContainer .flexNotes textarea,.notesContainer .flexNotes .dark textarea,.dark .topBarNotes{background:#000000b3;border-radius:12px;color:#fff;box-shadow:0 0 0 1px #484848}.notesContainer .title,.notesContainer .flexNotes textarea .title,.topBarNotes .title{font-size:18px}.light .notesContainer .title,.notesContainer .flexNotes .light textarea .title,.light .topBarNotes .title{color:#000}.dark .notesContainer .title,.notesContainer .flexNotes .dark textarea .title,.dark .topBarNotes .title{color:#fff}.notesContainer .subtitle,.notesContainer .flexNotes textarea .subtitle,.topBarNotes .subtitle{font-size:14px}.light .notesContainer .subtitle,.notesContainer .flexNotes .light textarea .subtitle,.light .topBarNotes .subtitle{color:#333}.dark .notesContainer .subtitle,.notesContainer .flexNotes .dark textarea .subtitle,.dark .topBarNotes .subtitle{color:#a0a0a0}.notes{position:relative}.notes h3{text-shadow:none;margin:0;cursor:initial;user-select:none}.notes:hover .notesContainer,.notes:active .notesContainer{visibility:visible!important}.notes:focus .notesContainer{visibility:visible!important}.notesContainer{padding:15px;text-align:center;border-radius:12px;position:absolute;font-size:1rem!important}.light .notesContainer .notes-buttons button{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .notesContainer .notes-buttons button:hover{background:#f7fafce6}.light .notesContainer .notes-buttons button:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .notesContainer .notes-buttons button:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .notesContainer .notes-buttons button{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .notesContainer .notes-buttons button:hover{background:#565656}.dark .notesContainer .notes-buttons button:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .notesContainer .notes-buttons button:focus{background:#565656;box-shadow:0 0 0 1px #fff}.notesContainer .notes-buttons button{padding:11px;font-size:1.3rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.light .notesContainer .notes-buttons button{background:#fff!important}.light .notesContainer .notes-buttons button:hover{background:#f7fafce6!important}.dark .notesContainer .notes-buttons button{background:#222!important}.dark .notesContainer .notes-buttons button:hover{background:#565656!important}.notesContainer .notes-buttons button{flex-grow:1;display:grid;place-items:center}.notesContainer .notes-buttons button svg{font-size:1.3rem}.notesContainer .flexNotes{display:flex;flex-flow:column;gap:15px}.notesContainer .flexNotes textarea{max-height:65vh!important;overflow-y:visible!important;border:none;padding:15px;border-radius:12px;width:200px}.notesContainer ::placeholder{color:#636e72;opacity:1}textarea{border:none;resize:none;background:none}.topBarNotes{display:flex;align-items:center;justify-content:center;height:50px;border-radius:12px;flex-flow:row;gap:5px;user-select:none}.topBarNotes svg{font-size:1.5rem}.notes-buttons{display:flex!important;gap:10px}.light .notes-buttons button:disabled{background:#feffff!important}.dark .notes-buttons button:disabled{background:#151515!important}.notes-buttons button:disabled{cursor:not-allowed}.notes-buttons .tooltip{flex:1!important}.notesContainer .flexTodo{display:flex;flex-flow:column;gap:15px;width:223px}.notesContainer .flexTodo .todoRows{max-height:65vh!important;overflow:hidden visible!important;display:flex;flex-flow:column;gap:15px}.notesContainer .todosEmpty{height:200px;display:grid;place-items:center}.light .todoRow{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .todoRow:hover{background:#f7fafce6}.light .todoRow:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .todoRow:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .todoRow{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .todoRow:hover{background:#565656}.dark .todoRow:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .todoRow:focus{background:#565656;box-shadow:0 0 0 1px #fff}.todoRow{padding:1px;font-size:16px;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center;display:flex;flex-flow:row;align-items:center;margin:15px 5px}.light .todoRow{color:#000!important}.dark .todoRow{color:#fff!important}.todoRow textarea{width:120px}.light .todoRow textarea{color:#000!important}.dark .todoRow textarea{color:#fff!important}.todoRow svg{padding:10px;place-items:center;display:grid;cursor:pointer}.light .todoRow svg{color:#000!important}.dark .todoRow svg{color:#fff!important}.light .todoRow svg:hover{background:#feffff;border-radius:12px}.dark .todoRow svg:hover{background:#151515;border-radius:12px}.done{text-decoration:line-through}.done textarea{cursor:not-allowed}.appsShortcutContainer{max-height:35rem;overflow-y:auto;border-radius:.8em;padding:1.2em;display:grid;grid-template-columns:repeat(3,auto);grid-auto-rows:100px;gap:10px;place-items:center}.light .appsShortcutContainer{background:#fafafa}.dark .appsShortcutContainer{background:#111}.appsShortcutContainer .noAppsContainer{grid-column:1/3}.appsShortcutContainer .noAppsContainer h3{margin:0;display:flex;align-items:center}.appsShortcutContainer .noAppsContainer svg{font-size:30px;margin-left:10px}.appsIcon{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;text-decoration:none;padding:10px;border-radius:.8em;cursor:pointer;width:5rem;height:4.7rem;transition:.5s}.appsIcon img{border-radius:.6rem}.appsIcon span{display:inline-block;width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;text-align:center;margin-top:10px}.appsIcon:hover span{white-space:initial}.appsIcon:hover{height:max-content}.light .appsIcon{color:#000}.light .appsIcon:hover{background:#f5f5f5}.dark .appsIcon{color:#fff}.dark .appsIcon:hover{background:#262626}.navbar{display:flex;flex-flow:row;gap:10px;animation:fadeIn 2s}.navbar button{-webkit-font-smoothing:subpixel-antialiased;cursor:pointer;margin-top:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.light .old button.navbarButton{background:none;color:#fff;border-radius:12px;box-shadow:0 0!important}.light .old button.navbarButton:hover{background-color:#4242423b}.light .old button.navbarButton:active{background-color:#4242423b;box-shadow:0 0 0 1px #000}.light .old button.navbarButton:focus{background-color:#4242423b;box-shadow:0 0 0 1px #000}.dark .old button.navbarButton{background:none;color:#fff;border-radius:12px;box-shadow:0 0!important}.dark .old button.navbarButton:hover{background-color:#4242423b}.dark .old button.navbarButton:active{background-color:#4242423b;box-shadow:0 0 0 1px #fff}.dark .old button.navbarButton:focus{background-color:#4242423b;box-shadow:0 0 0 1px #fff}.old button.navbarButton{padding:12px;font-size:1.2rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.light .new button.navbarButton{background:#fff;color:#000;box-shadow:0 0 0 1px #e7e3e9;border-radius:12px}.light .new button.navbarButton:hover{background:#f7fafce6}.light .new button.navbarButton:active{background:#f7fafce6;box-shadow:0 0 0 1px #000}.light .new button.navbarButton:focus{background:#f7fafce6;box-shadow:0 0 0 1px #000}.dark .new button.navbarButton{background:#222;color:#fff;box-shadow:0 0 0 1px #484848;border-radius:12px}.dark .new button.navbarButton:hover{background:#565656}.dark .new button.navbarButton:active{background:#565656;box-shadow:0 0 0 1px #fff}.dark .new button.navbarButton:focus{background:#565656;box-shadow:0 0 0 1px #fff}.new button.navbarButton{padding:12px;font-size:1.2rem;cursor:pointer;border:none;outline:none;transition:.5s;display:grid;place-items:center}.navbar-hover{position:absolute;top:0;right:0;height:50px;width:500px}.navbar-hover .navbar{opacity:0;transition:visibility .2s linear,opacity .2s linear;visibility:hidden}.navbar-hover:hover .navbar{opacity:1;visibility:visible}.navbar-container{position:absolute;top:1rem;right:1rem;display:flex;flex-flow:column}.appsmodal{width:fit-content;padding:5px;border-radius:1em}.light .appsmodal{background:#f5f5f5}.dark .appsmodal{background:#262626}.navbarButtonOptions{display:flex;flex-flow:row;gap:10px}.navbarButtonOptions .navbarButtonOption .subtitle{font-size:12px}.navbarButtonOptions .navbarButtonOption svg{background:linear-gradient(238.7deg,#ff5c25 13.8%,#d21a11 49.49%,#ff456e 87.48%);padding:5px;border-radius:100%}.light .navbarButtonOptions .navbarButtonOption svg{color:#000}.dark .navbarButtonOptions .navbarButtonOption svg{color:#fff}.navbarButtonOptions .navbarButtonOption{cursor:pointer;width:70px!important;border:none;outline:none;margin-top:0!important;height:70px;padding:5px;display:flex;flex-flow:column;align-items:center;justify-content:center;text-align:center;gap:10px}.light .navbarButtonOptions .navbarButtonOption{background:#f5f5f5;border-radius:12px;box-shadow:0 0 0 1px #f7fafce6}.light .navbarButtonOptions .navbarButtonOption:hover{background:#feffff}.dark .navbarButtonOptions .navbarButtonOption{background:#262626;border-radius:12px;box-shadow:0 0 0 1px #565656}.dark .navbarButtonOptions .navbarButtonOption:hover{background:#151515}.light .navbarButtonOptions .disabled{background:#feffff;box-shadow:0 0 0 1px #f5f5f5}.light .navbarButtonOptions .disabled:hover{background:#f5f5f5}.dark .navbarButtonOptions .disabled{background:#151515;box-shadow:0 0 0 1px #262626}.dark .navbarButtonOptions .disabled:hover{background:#262626}.light .navbarButtonOptions .disabled svg{background-image:linear-gradient(#fff,#ddd);box-shadow:0 0 0 1px #e7e3e9}.dark .navbarButtonOptions .disabled svg{background-image:linear-gradient(#0e1013,#322a2a);box-shadow:0 0 0 1px #484848}.Toastify__toast-container{width:auto!important;padding:16px!important}.light .Toastify__toast{background:#ffffffb3!important;color:#000!important;box-shadow:0 0 0 1px #e7e3e9,0 8px 32px #0003!important}.dark .Toastify__toast{background:#000000b3!important;color:#fff!important;box-shadow:0 0 0 1px #484848,0 8px 32px #0003!important}.Toastify__toast{border-radius:"borderRadius"!important;-webkit-backdrop-filter:blur(15px) saturate(180%)!important;backdrop-filter:blur(15px) saturate(180%)!important;padding:16px 20px!important;min-height:64px!important;width:auto!important;min-width:300px!important;max-width:500px!important;font-family:inherit!important;box-sizing:border-box!important;transition:all .3s ease!important}.Toastify__toast:hover{transform:translateY(-2px)!important;box-shadow:0 0 0 1px #484848,0 12px 40px #0000004d!important}.Toastify__toast-body{padding:0!important;font-size:15px!important;line-height:1.5!important;margin:0!important}.light .Toastify__toast-body{color:#000!important}.dark .Toastify__toast-body{color:#fff!important}.light .Toastify__close-button{color:#000!important;opacity:.6!important}.dark .Toastify__close-button{color:#fff!important;opacity:.6!important}.Toastify__close-button{align-self:center!important;transition:all .2s ease!important}.Toastify__close-button:hover{opacity:1!important}.Toastify__progress-bar{height:4px!important;border-radius:0 0 "borderRadius" "borderRadius"!important}.light .Toastify__progress-bar--default,.light .Toastify__progress-bar--info,.dark .Toastify__progress-bar--default,.dark .Toastify__progress-bar--info{background:linear-gradient(90deg,#ff5c25,#dd3b67)!important}.Toastify__progress-bar--success{background:linear-gradient(90deg,#2ed573,#1abc9c)!important}.Toastify__progress-bar--warning{background:linear-gradient(90deg,#ffb032,#ff9500)!important}.Toastify__progress-bar--error{background:linear-gradient(90deg,#ff4757,#dd3b67)!important}.light .Toastify__toast--default,.light .Toastify__toast--info,.light .Toastify__toast--success,.light .Toastify__toast--warning,.light .Toastify__toast--error{background:#ffffffb3!important;color:#000!important}.dark .Toastify__toast--default,.dark .Toastify__toast--info,.dark .Toastify__toast--success,.dark .Toastify__toast--warning,.dark .Toastify__toast--error{background:#000000b3!important;color:#fff!important}body{background:#000;margin:0;overflow:hidden;text-rendering:optimizelegibility!important;-moz-text-rendering:optimizelegibility!important}*{font-family:Lexend Deca,Inter,sans-serif!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;outline:none}#center{font-size:calc(10px + 2vmin);text-align:center;position:absolute;inset:0;text-shadow:0 0 25px rgba(0,0,0,.3);display:grid;place-items:center;margin:0}#center #widgets{color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;animation:fadeIn 1s}#center.no-textBorder,#center.no-textBorder .quote{text-shadow:none!important}.light ::placeholder{color:#000}.dark ::placeholder{color:#fff}::placeholder{opacity:1}.light #root{color:#000}.dark #root{color:#fff}.textBorder{filter:drop-shadow(var(--shadow-shift) var(--shadow-shift) 0 rgba(17,17,17,.8))}.no-animations .ReactModal__Content,.no-animations button,.no-animations svg,.no-animations input[type=text],.no-animations .MuiSwitch-switchBase,.no-animations .tooltipTitle,.no-animations .quicklinks-container img{transition:none!important}.frame{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}@font-face{font-family:Lexend Deca;font-style:normal;font-display:swap;font-weight:400;src:url(./lexend-deca-latin-400-normal-Ck_pn9Ss.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lexend Deca;font-style:normal;font-display:swap;font-weight:400;src:url(./lexend-deca-latin-ext-400-normal-BcOMzUY_.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-400-normal-C38fXH4l.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-greek-400-normal-B4URO6DV.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-greek-ext-400-normal-DGGRlc-M.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-vietnamese-400-normal-DMkecbls.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-cyrillic-400-normal-obahsSVq.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}.criticalError{display:grid;place-items:center;width:100vw;height:100vh}.criticalError .criticalError-actions{display:flex;flex-flow:row;gap:20px}.criticalError button,.criticalError a{border:0;border-radius:12px;padding:10px 30px;font-size:1rem;display:flex;align-items:center;flex-flow:row;justify-content:center;gap:20px;transition:.5s;cursor:pointer;text-decoration:none}@media(prefers-color-scheme:dark){body{background-color:#000}.criticalError .criticalError-message{color:#fff}.criticalError p{color:#ffffffc0}.criticalError a{background:#0e1013;box-shadow:0 0 0 1px #484848;color:#fff}.criticalError a:hover{background:#1e1e1e}}@media(prefers-color-scheme:light){body{background-color:#fff}.criticalError .criticalError-message{color:#000}.criticalError p{color:#000000c0}.criticalError a{background:#fdfdfd;box-shadow:0 0 0 1px #484848;color:#000}.criticalError a:hover{background:#f5f5f5}}.light .pulse{height:100%;width:100%;background:linear-gradient(-90deg,#efefef,#ccc,#efefef);background-size:400% 400%;animation:pulse .8s ease-in-out infinite}.dark .pulse{height:100%;width:100%;background:linear-gradient(-90deg,#000,#535353,#000);background-size:400% 400%;animation:pulse .8s ease-in-out infinite}@keyframes pulse{0%{background-position:0% 0%}to{background-position:-135% 0%}}:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0px;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width:480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}@media only screen and (max-width:480px){.Toastify__toast-container[data-stacked=true]{width:100vw}}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}diff --git a/src/chrome/newtab/assets/index-DfKEmD7L.js b/src/firefox/newtab/assets/index-WlLvTUiq.jssimilarity index 99%rename from src/chrome/newtab/assets/index-DfKEmD7L.jsrename to src/firefox/newtab/assets/index-WlLvTUiq.jsindex 9cb6d1991..a39bd7e77 100644--- a/src/chrome/newtab/assets/index-DfKEmD7L.js+++ b/src/firefox/newtab/assets/index-WlLvTUiq.js@@ -1,2 +1,2 @@-import{j as m,r as K,ax as de}from"./index-DLQt-leu.js";function Y(e){if(e instanceof Date)return e.getHours();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const t=n[0];if(t){const r=Number.parseInt(t,10);if(!Number.isNaN(r))return r}}}throw new Error(`Failed to get hours from date: ${e}.`)}function w(e){if(e instanceof Date)return e.getMinutes();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const t=n[1]||"0",r=Number.parseInt(t,10);if(!Number.isNaN(r))return r}}throw new Error(`Failed to get minutes from date: ${e}.`)}function y(e){if(e instanceof Date)return e.getSeconds();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const t=n[2]||"0",r=Number.parseInt(t,10);if(!Number.isNaN(r))return r}}throw new Error(`Failed to get seconds from date: ${e}.`)}function M(e){if(e instanceof Date)return e.getMilliseconds();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const r=(n[2]||"0").split(".")[1]||"0",o=Number.parseInt(r,10);if(!Number.isNaN(o))return o}}throw new Error(`Failed to get seconds from date: ${e}.`)}function S(e){var n=e.angle,t=n===void 0?0:n,r=e.name,o=e.length,i=o===void 0?100:o,c=e.oppositeLength,a=c===void 0?10:c,l=e.width,s=l===void 0?1:l;return m.jsx("div",{className:"react-clock__hand react-clock__".concat(r,"-hand"),style:{transform:"rotate(".concat(t,"deg)")},children:m.jsx("div",{className:"react-clock__hand__body react-clock__".concat(r,"-hand__body"),style:{width:"".concat(s,"px"),top:"".concat(50-i/2,"%"),bottom:"".concat(50-a/2,"%")}})})}var q=K.memo(function(n){var t=n.angle,r=t===void 0?0:t,o=n.length,i=o===void 0?10:o,c=n.name,a=n.width,l=a===void 0?1:a;return m.jsx("div",{className:"react-clock__mark react-clock__".concat(c,"-mark"),style:{transform:"rotate(".concat(r,"deg)")},children:m.jsx("div",{className:"react-clock__mark__body react-clock__".concat(c,"-mark__body"),style:{width:"".concat(l,"px"),top:0,bottom:"".concat(100-i/2,"%")}})})}),le=K.memo(function(n){var t=n.angle,r=t===void 0?0:t,o=n.length,i=o===void 0?10:o,c=n.name,a=n.number;return m.jsx("div",{className:"react-clock__mark react-clock__".concat(c,"-mark"),style:{transform:"rotate(".concat(r,"deg)")},children:m.jsx("div",{className:"react-clock__mark__number",style:{transform:"rotate(-".concat(r,"deg)"),top:"".concat(i/2,"%")},children:a})})});const fe=(e,n,t,r)=>{if(t==="length"||t==="prototype"||t==="arguments"||t==="caller")return;const o=Object.getOwnPropertyDescriptor(e,t),i=Object.getOwnPropertyDescriptor(n,t);!me(o,i)&&r||Object.defineProperty(e,t,i)},me=function(e,n){return e===void 0||e.configurable||e.writable===n.writable&&e.enumerable===n.enumerable&&e.configurable===n.configurable&&(e.writable||e.value===n.value)},ge=(e,n)=>{const t=Object.getPrototypeOf(n);t!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,t)},he=(e,n)=>`/* Wrapped ${e}*/+import{j as m,r as K,ax as de}from"./index-B1h2CV5t.js";function Y(e){if(e instanceof Date)return e.getHours();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const t=n[0];if(t){const r=Number.parseInt(t,10);if(!Number.isNaN(r))return r}}}throw new Error(`Failed to get hours from date: ${e}.`)}function w(e){if(e instanceof Date)return e.getMinutes();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const t=n[1]||"0",r=Number.parseInt(t,10);if(!Number.isNaN(r))return r}}throw new Error(`Failed to get minutes from date: ${e}.`)}function y(e){if(e instanceof Date)return e.getSeconds();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const t=n[2]||"0",r=Number.parseInt(t,10);if(!Number.isNaN(r))return r}}throw new Error(`Failed to get seconds from date: ${e}.`)}function M(e){if(e instanceof Date)return e.getMilliseconds();if(typeof e=="string"){const n=e.split(":");if(n.length>=2){const r=(n[2]||"0").split(".")[1]||"0",o=Number.parseInt(r,10);if(!Number.isNaN(o))return o}}throw new Error(`Failed to get seconds from date: ${e}.`)}function S(e){var n=e.angle,t=n===void 0?0:n,r=e.name,o=e.length,i=o===void 0?100:o,c=e.oppositeLength,a=c===void 0?10:c,l=e.width,s=l===void 0?1:l;return m.jsx("div",{className:"react-clock__hand react-clock__".concat(r,"-hand"),style:{transform:"rotate(".concat(t,"deg)")},children:m.jsx("div",{className:"react-clock__hand__body react-clock__".concat(r,"-hand__body"),style:{width:"".concat(s,"px"),top:"".concat(50-i/2,"%"),bottom:"".concat(50-a/2,"%")}})})}var q=K.memo(function(n){var t=n.angle,r=t===void 0?0:t,o=n.length,i=o===void 0?10:o,c=n.name,a=n.width,l=a===void 0?1:a;return m.jsx("div",{className:"react-clock__mark react-clock__".concat(c,"-mark"),style:{transform:"rotate(".concat(r,"deg)")},children:m.jsx("div",{className:"react-clock__mark__body react-clock__".concat(c,"-mark__body"),style:{width:"".concat(l,"px"),top:0,bottom:"".concat(100-i/2,"%")}})})}),le=K.memo(function(n){var t=n.angle,r=t===void 0?0:t,o=n.length,i=o===void 0?10:o,c=n.name,a=n.number;return m.jsx("div",{className:"react-clock__mark react-clock__".concat(c,"-mark"),style:{transform:"rotate(".concat(r,"deg)")},children:m.jsx("div",{className:"react-clock__mark__number",style:{transform:"rotate(-".concat(r,"deg)"),top:"".concat(i/2,"%")},children:a})})});const fe=(e,n,t,r)=>{if(t==="length"||t==="prototype"||t==="arguments"||t==="caller")return;const o=Object.getOwnPropertyDescriptor(e,t),i=Object.getOwnPropertyDescriptor(n,t);!me(o,i)&&r||Object.defineProperty(e,t,i)},me=function(e,n){return e===void 0||e.configurable||e.writable===n.writable&&e.enumerable===n.enumerable&&e.configurable===n.configurable&&(e.writable||e.value===n.value)},ge=(e,n)=>{const t=Object.getPrototypeOf(n);t!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,t)},he=(e,n)=>`/* Wrapped ${e}*/${n}`,pe=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),ve=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),be=(e,n,t)=>{const r=t===""?"":`with ${t.trim()}() `,o=he.bind(null,r,n.toString());Object.defineProperty(o,"name",ve);const{writable:i,enumerable:c,configurable:a}=pe;Object.defineProperty(e,"toString",{value:o,writable:i,enumerable:c,configurable:a})};function Ne(e,n,{ignoreNonConfigurable:t=!1}={}){const{name:r}=e;for(const o of Reflect.ownKeys(n))fe(e,n,o,t);return ge(e,n),be(e,n,r),e}const v=2147483647,ke=new WeakMap,H=new WeakMap,we=new WeakMap;function ye(e,n){const t=e.get(n);if(t){if(t.maxAge<=Date.now()){e.delete(n);return}return t}}function R(e,{cacheKey:n,cache:t=new Map,maxAge:r}={}){if(r===0)return e;if(typeof r=="number"&&Number.isFinite(r)){if(r>v)throw new TypeError(`The \`maxAge\` option cannot exceed ${v}.`);if(r<0)throw new TypeError("The `maxAge` option should not be a negative number.")}const o=function(...i){const c=n?n(i):i[0],a=ye(t,c);if(a)return a.data;const l=e.apply(this,i),s=typeof r=="function"?r(...i):r;if(s!==void 0&&s!==Number.POSITIVE_INFINITY){if(!Number.isFinite(s))throw new TypeError("The `maxAge` function must return a finite number, `0`, or `Infinity`.");if(s<=0)return l;if(s>v)throw new TypeError(`The \`maxAge\` function result cannot exceed ${v}.`)}if(t.set(c,{data:l,maxAge:s===void 0||s===Number.POSITIVE_INFINITY?Number.POSITIVE_INFINITY:Date.now()+s}),s!==void 0&&s!==Number.POSITIVE_INFINITY){const g=setTimeout(()=>{t.delete(c),H.get(o)?.delete(g)},s);g.unref?.();const h=H.get(o)??new Set;h.add(g),H.set(o,h)}return l};return Ne(o,e,{ignoreNonConfigurable:!0}),ke.set(o,t),we.set(o,n??(i=>i[0])),o}function Me(e){return typeof e=="string"}function Se(e,n,t){return t.indexOf(e)===n}function He(e){return e.toLowerCase()===e}function J(e){return e.indexOf(",")===-1?e:e.split(",")}function O(e){if(!e)return e;if(e==="C"||e==="posix"||e==="POSIX")return"en-US";if(e.indexOf(".")!==-1){var n=e.split(".")[0],t=n===void 0?"":n;return O(t)}if(e.indexOf("@")!==-1){var r=e.split("@")[0],t=r===void 0?"":r;return O(t)}if(e.indexOf("-")===-1||!He(e))return e;var o=e.split("-"),i=o[0],c=o[1],a=c===void 0?"":c;return"".concat(i,"-").concat(a.toUpperCase())}function Oe(e){var n=e===void 0?{}:e,t=n.useFallbackLocale,r=t===void 0?!0:t,o=n.fallbackLocale,i=o===void 0?"en-US":o,c=[];if(typeof navigator<"u"){for(var a=navigator.languages||[],l=[],s=0,g=a;s<g.length;s++){var h=g[s];l=l.concat(J(h))}var p=navigator.language,b=p&&J(p);c=c.concat(l,b)}return r&&c.push(i),c.filter(Me).map(O).filter(Se)}var xe=R(Oe,{cacheKey:JSON.stringify});function Le(e){return xe(e)[0]||null}var Ie=R(Le,{cacheKey:JSON.stringify});function je(e,n){return n.toLocaleString(e||Ie()||void 0)}function _e(e){return e!==null&&e!==!1&&!Number.isNaN(Number(e))}function Pe(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Math.max.apply(Math,e.filter(_e))}function Fe(e){var n=e.className,t=e.formatHour,r=t===void 0?je:t,o=e.hourHandLength,i=o===void 0?50:o,c=e.hourHandOppositeLength,a=e.hourHandWidth,l=a===void 0?4:a,s=e.hourMarksLength,g=s===void 0?10:s,h=e.hourMarksWidth,p=h===void 0?3:h,b=e.locale,x=e.minuteHandLength,A=x===void 0?70:x,X=e.minuteHandOppositeLength,L=e.minuteHandWidth,B=L===void 0?2:L,I=e.minuteMarksLength,j=I===void 0?6:I,_=e.minuteMarksWidth,G=_===void 0?1:_,P=e.renderHourMarks,N=P===void 0?!0:P,T=e.renderMinuteHand,F=T===void 0?!0:T,W=e.renderMinuteMarks,E=W===void 0?!0:W,Q=e.renderNumbers,C=e.renderSecondHand,$=C===void 0?!0:C,U=e.secondHandLength,Z=U===void 0?90:U,ee=e.secondHandOppositeLength,V=e.secondHandWidth,ne=V===void 0?1:V,z=e.size,D=z===void 0?150:z,k=e.useMillisecondPrecision,u=e.value;function te(){if(!E)return null;for(var f=[],d=1;d<=60;d+=1){var ue=N&&!(d%5);ue||f.push(m.jsx(q,{angle:d*6,length:j,name:"minute",width:G},"minute_".concat(d)))}return f}function re(){if(!N)return null;for(var f=[],d=1;d<=12;d+=1)f.push(m.jsx(q,{angle:d*30,length:g,name:"hour",width:p},"hour_".concat(d)));return f}function oe(){if(!Q)return null;for(var f=[],d=1;d<=12;d+=1)f.push(m.jsx(le,{angle:d*30,length:Pe(N&&g,E&&j,0),name:"number",number:r(b,d)},"number_".concat(d)));return f}function ie(){return m.jsxs("div",{className:"react-clock__face",children:[te(),re(),oe()]})}function ce(){var f=u?Y(u)*30+w(u)/2+y(u)/120+(k?M(u)/12e4:0):0;return m.jsx(S,{angle:f,length:i,name:"hour",oppositeLength:c,width:l})}function se(){if(!F)return null;var f=u?Y(u)*360+w(u)*6+y(u)/10+(k?M(u)/1e4:0):0;return m.jsx(S,{angle:f,length:A,name:"minute",oppositeLength:X,width:B})}function ae(){if(!$)return null;var f=u?w(u)*360+y(u)*6+(k?M(u)*.006:0):0;return m.jsx(S,{angle:f,length:Z,name:"second",oppositeLength:ee,width:ne})}return m.jsxs("time",{className:de("react-clock",n),dateTime:u instanceof Date?u.toLocaleTimeString("en",{hourCycle:"h23",hour:"2-digit",minute:F?"2-digit":void 0,second:$?"2-digit":void 0}):u||void 0,style:{width:D,height:D},children:[ie(),ce(),se(),ae()]})}export{Fe as Clock,Fe as default};diff --git a/src/firefox/newtab/index.html b/src/firefox/newtab/index.htmlindex 3a3ff6377..1e1e3b787 100644--- a/src/firefox/newtab/index.html+++ b/src/firefox/newtab/index.html@@ -5,8 +5,8 @@<meta name="viewport" content="width=device-width, initial-scale=1" /><link rel="icon" type="image/png" sizes="16x16" href="../icons/icon16.png" /><title>New Tab</title>- <script type="module" crossorigin src="./assets/index-DLQt-leu.js"></script>- <link rel="stylesheet" crossorigin href="./assets/index-DRYJ4NLv.css">+ <script type="module" crossorigin src="./assets/index-B1h2CV5t.js"></script>+ <link rel="stylesheet" crossorigin href="./assets/index-BmeAAROj.css"></head><body><noscript>JavaScript is required for the WebBrain new tab.</noscript>diff --git a/test/newtab.mjs b/test/newtab.mjsindex 9c6f52050..f141315db 100644--- a/test/newtab.mjs+++ b/test/newtab.mjs@@ -1080,3 +1080,16 @@ test('round-21: Apps popup closes on blur; Maximise restores the page when it unassert.match(max, /hiddenRef\.current = true/);assert.match(max, /hiddenRef\.current = false/);});++test('round-22: switch is an accessible control; report link uses ?title=; uploads are not mirrored into localStorage', () => {+ const read = (f) => readFileSync(nt(f), 'utf8');+ const sw = read('components/Form/Settings/Switch/Switch.jsx');+ assert.match(sw, /role="switch"/);+ assert.match(sw, /aria-label=\{label\}/);+ assert.doesNotMatch(sw, /className="switch-input"[\s\S]{0,80}aria-hidden="true"/);+ assert.match(read('components/Form/Settings/Switch/Switch.scss'), /switch-input:focus-visible/);+ assert.match(read('components/Layout/Settings/Header/Header.jsx'), /BUG_REPORT\}\?title=\$\{encodeURIComponent\(props\.title\)\}/);+ const custom = read('features/background/options/Custom.jsx');+ assert.doesNotMatch(custom, /localStorage\.setItem\('customBackground', JSON/);+ assert.equal((custom.match(/syncBackgroundCount\(backgrounds\)/g) || []).length, 3);+});