@pie-element/match-list 8.0.3-next.20261007184841 → 8.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -82,7 +82,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
82
82
  color: ${Bm} !important;
83
83
  background-color: ${Wm} !important;
84
84
  }
85
- `;function Km(e=document){if(e.getElementById(`PIE-MJX-explorer-styles`))return;let t=e.createElement(`style`);t.id=zm,t.textContent=Gm,e.head.appendChild(t)}var qm=Symbol.for(`@pie-element/shared-math-rendering-mathjax/speech-worker-failed`);function Jm(){let e=globalThis;e[qm]||(e[qm]=!0,console.warn(`[math-rendering] MathJax's speech worker did not start, so speech, braille and the explorer are off. A content security policy must allow blob: workers, and scripts and fetches from the asset root. See ${bp}`))}function Ym(e){let t=e.webworker;if(!t||t.ready)return;e.options??={};let n=e.options;n.enableSpeech=!1,n.enableBraille=!1,n.speechError=()=>{},t.Post=()=>Promise.reject(Error(`The speech worker did not start`)),t.Terminate(),Jm()}function Xm(e){let t=e?.adaptor,n=t?.createWorker;!e||!t||!n||(t.createWorker=async(r,i)=>{let a=await n.call(t,r,i);return a.addEventListener(`error`,()=>Ym(e),{once:!0}),a})}`${Cp}`;var Zm={parallelogram:`\\lower.2em{\\Huge\\unicode{x25B1}}`,overarc:`\\overparen`,napprox:`\\not\\approx`,longdiv:`\\enclose{longdiv}`,abs:[`\\left|#1\\right|`,1]},Qm=`[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)`,$m=/\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/,eh=/\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/,th=/\\embed\{newLine\}\[\]/g,nh=[[`$$`,`$$`],[`$`,`$`],[`\\[`,`\\]`],[`\\(`,`\\)`]],rh=Symbol.for(`@pie-element/shared-math-rendering-mathjax/loading`),ih=`MJX-CHTML-styles`,ah=`PIE-MJX-SVG-styles`,oh=`PIE-MathJax-Menu-Settings`,sh={'mjx-container[overflow="linebreak"][display]':{overflow:`auto clip`,"min-width":`initial !important`}},ch=200,lh=201;function uh(e){let t=[...e.matches(`mjx-container`)?[e]:[],...e.querySelectorAll(`mjx-container`)];for(let e of t)for(let t of[e,...e.querySelectorAll(`[data-latex],[data-latex-item]`)])t.removeAttribute(`data-latex`),t.removeAttribute(`data-latex-item`)}function dh(e){for(let[t,n]of nh)if(e.startsWith(t)&&e.endsWith(n))return e.substring(t.length,e.length-n.length);return e}function fh(e){return dh(e.includes(`\\displaystyle`)?e.replace(`\\displaystyle`,``).trim():e)}var ph=`mathjax_ignore`,mh=`mathjax_process`;function hh(e,t){let n=e.closest(`.${ph}, .${mh}`);return n!==null&&t.contains(n)&&!n.classList.contains(mh)}function gh(e){for(let t of e.querySelectorAll(`[data-latex]`)){if(t.dataset.mathHandled||t.closest(`mjx-container`)||hh(t,e))continue;let n=t.textContent;n&&(t.textContent=`\\(${fh(n)}\\)`.replace(th,`\\newline `),t.dataset.mathHandled=`true`)}}function _h(e){for(let t of e.querySelectorAll(`math`))t.closest(`mjx-container`)||t.setAttribute(`displaystyle`,`true`)}function vh(e,t){for(let t of e.querySelectorAll(`math`))if(!t.closest(`mjx-assistive-mml`))return!0;return(t?eh:$m).test(e.textContent??``)}function yh(e){return new Promise((t,n)=>{let{useSingleDollar:r=!1,accessibility:i=!0,loadFonts:a=!0,srcUrl:o}=e,s=Ap(e,{}.url),c={loader:{load:i?[`a11y/assistive-mml`]:[],failed:e=>n(e),"output/svg":{ready:e=>{let t=Hp();return bh(t)&&xh(t),e}}},startup:{typeset:!1,ready:()=>{let e=Hp(),r=e?.startup,i=bh(e);i&&(xh(e),Sh(e,s.speechLocales),jp(e?._?.a11y?.sre_ts?.locales,s.speechLocales)),r?.defaultReady?.(),i&&(Ch(r?.document),r?.document?.addStyles?.(sh),Xm(r?.document)),Promise.resolve(r?.promise).then(()=>t(),n)}},tex:{macros:{...Zm}},output:{displayOverflow:`linebreak`},options:{enableMenu:i,menuOptions:{settings:{assistiveMml:i,enrich:!1,inTabOrder:!1}},a11y:{inTabOrder:!1}}};r&&c.tex&&(console.warn(Qm),c.tex.inlineMath=[[`$`,`$`],[`\\(`,`\\)`]],c.tex.processEscapes=!0),a||(c.chtml={fontURL:``});let l=Mp(s.speechLocales);l&&c.options&&(c.options.sre={locale:l}),Wp(c,{...s,srcUrl:o}).then(e=>{e||t()},n)})}function bh(e){return!!e?.version?.startsWith(`4.`)}function xh(e){let t=e?._?.output,n=t?.chtml_ts?.CHTML;n&&(n.STYLESHEETID=Kp);let r=t?.svg_ts?.SVG;r&&(r.STYLESHEETID=ah)}function Sh(e,t){let n=e?._?.ui?.menu?.Menu?.Menu;if(n){n.MENU_STORAGE=oh;try{let e=localStorage.getItem(oh);if(!e)return;let{assistiveMml:n,locale:r,...i}=JSON.parse(e),a=r===void 0||!t||t.has(r);if(n===void 0&&a)return;a&&r!==void 0&&(i.locale=r),Object.keys(i).length?localStorage.setItem(oh,JSON.stringify(i)):localStorage.removeItem(oh)}catch{}}}function Ch(e){if(!e)return;let t=new WeakSet,n=e=>{let n=e.typesetRoot;!n||t.has(n)||(uh(n),t.add(n))};e.addRenderAction?.(`pie-strip-latex`,lh,e=>{for(let t of e.math??[])n(t);return!1},e=>{let t=e.typesetRoot;return t&&uh(t),!1});let r=e.outputJax?.chtmlStyles;r?.id===ih&&(r.id=Kp),Eh()}function wh(e){return e instanceof HTMLStyleElement&&qp.includes(e.id)}function Th(e){Bp(`foreign-output-stylesheet`,`another MathJax added <style id="${e.id}"> to <head>`)}function Eh(){let e=document.head,t=[...e.children].find(wh);if(t){Th(t);return}let n=new MutationObserver(e=>{for(let t of e){let e=[...t.addedNodes].find(wh);if(e){Th(e),n.disconnect();return}}});n.observe(e,{childList:!0})}function Dh(e){let t=e?.math;if(!t?.remove)return;let n=[...t].filter(e=>(e.state?.()??0)>=ch&&e.typesetRoot?.isConnected===!1);if(n.length!==0){for(let e of[...n].reverse())e.clear?.();t.remove(...n)}}function Oh(e){return new Promise((t,n)=>{let r=e.startup??{};e.startup=r;let i=r.ready;r.ready=()=>{let e=Hp()?.startup;i?i.call(r):e?.defaultReady?.(),Promise.resolve(e?.promise).then(()=>t(),n)}})}function kh(e){let t=Hp();return t?t.version?t.startup?.promise?Promise.resolve(t.startup.promise).then(()=>void 0):Promise.resolve():Oh(t):yh(e)}function Ah(e){return kh(e).then(()=>{let e=Hp();e&&typeof e.typesetPromise!=`function`&&console.warn(`[mathjax-renderer] MathJax on this page has no typesetPromise; math stays untypeset.`)})}function jh(e){let t=Gp,n=t[rh];return n||(n=Ah(e),t[rh]=n),n}function Mh(e={}){let t=e.useSingleDollar??!1;return async n=>{if(typeof window>`u`)return;let r=Jp();r&&Bp(`mathjax-3-global`,`window.MathJax is MathJax ${r}`),gh(n),Qp(n),_h(n),Rm(n);let i=jh(e);if(!vh(n,t)){i.catch(()=>{});return}await i;let a=Hp();if(await a?.startup?.promise,typeof a?.typesetPromise==`function`){Km(),Dh(a.startup?.document);try{await a.typesetPromise([n])}catch(e){throw a.typesetClear?.([n]),e}uh(n)}}}var Nh=/[⁡-⁤]/g,Ph={"+":`positive`,"-":`negative`,"−":`negative`,"±":`plus or minus`,"∓":`minus or plus`},Fh={"(":`open parenthesis`,"[":`open bracket`,"{":`open brace`,"⟨":`open angle bracket`,"⌊":`open floor`,"⌈":`open ceiling`},Ih={")":`close parenthesis`,"]":`close bracket`,"}":`close brace`,"⟩":`close angle bracket`,"⌋":`close floor`,"⌉":`close ceiling`},Lh={"!":`factorial`,"%":`percent`,"°":`degrees`,"′":`prime`,"″":`double prime`},Rh={"+":`plus`,"-":`minus`,"−":`minus`,"±":`plus or minus`,"∓":`minus or plus`,"×":`times`,"⋅":`times`,"·":`times`,"*":`times`,"÷":`divided by`,"/":`divided by`,"=":`equals`,"≠":`does not equal`,"<":`is less than`,">":`is greater than`,"≤":`is less than or equal to`,"≥":`is greater than or equal to`,"≈":`is approximately equal to`,"≡":`is equivalent to`,"∝":`is proportional to`,"∈":`is an element of`,"∉":`is not an element of`,"⊂":`is a subset of`,"⊆":`is a subset of or equal to`,"∪":`union`,"∩":`intersection`,"→":`right arrow`,"←":`left arrow`,"⇒":`implies`,"⇔":`if and only if`,"∑":`sum`,"∏":`product`,"∫":`integral`,"∞":`infinity`,"∠":`angle`,"⊥":`is perpendicular to`,"∥":`is parallel to`,"∴":`therefore`,",":`comma`,";":`semicolon`,":":`colon`,"|":`vertical bar`,"‖":`double vertical bar`,...Fh,...Ih,...Lh},zh=new Set([`|`,`‖`]),Bh=new Set([`∑`,`∏`,`∫`,`∪`,`∩`]),Vh={α:`alpha`,β:`beta`,γ:`gamma`,δ:`delta`,ε:`epsilon`,θ:`theta`,λ:`lambda`,μ:`mu`,π:`pi`,ρ:`rho`,σ:`sigma`,τ:`tau`,φ:`phi`,ω:`omega`,Δ:`capital delta`,Σ:`capital sigma`,Ω:`capital omega`,"∞":`infinity`,sin:`sine`,cos:`cosine`,tan:`tangent`,sec:`secant`,csc:`cosecant`,cot:`cotangent`,ln:`natural log`,lim:`limit`},Hh={"¯":`bar`,"‾":`bar`,"―":`bar`,"^":`hat`,ˆ:`hat`,"~":`tilde`,"˜":`tilde`,"→":`vector`,"⃗":`vector`,"˙":`dot`},Uh={2:[`half`,`halves`],3:[`third`,`thirds`],4:[`quarter`,`quarters`],5:[`fifth`,`fifths`],6:[`sixth`,`sixths`],7:[`seventh`,`sevenths`],8:[`eighth`,`eighths`],9:[`ninth`,`ninths`],10:[`tenth`,`tenths`]},Wh=e=>(e.textContent??``).replace(Nh,``).replace(/\s+/g,` `).trim(),Gh=e=>e.replace(/\s+/g,` `).trim(),Kh=e=>[...e.children];function qh(e){return!e||[`mn`,`mi`,`mtext`,`mo`].includes(e.localName)?!0:[`mrow`,`mstyle`].includes(e.localName)&&e.children.length===1?qh(e.children[0]):!1}function Jh(e){let t=e?Wh(e):``;return/^\d{1,3}$/.test(t)?Number(t):void 0}function Yh(e){return`${e}${e%100>=11&&e%100<=13?`th`:{1:`st`,2:`nd`,3:`rd`}[e%10]??`th`}`}function Xh(e){return Vh[e]??e}function Zh(e){return Rh[e]??e}function Qh(e){let t=[],n=!1;for(let r of e){if(r.localName!==`mo`){t.push(sg(r)),n=!0;continue}let e=Wh(r);e&&(!n&&Ph[e]?t.push(Ph[e]):e in Lh?t.push(Lh[e]):(t.push(Zh(e)),n=e in Ih||zh.has(e)&&n))}return t.filter(Boolean).join(` `)}function $h(e){let[t,...n]=e,r=n[n.length-1],i=e=>e?.localName===`mo`&&[`|`,`‖`].includes(Wh(e)),a=n.slice(0,-1);if(a.length&&i(t)&&i(r)&&Wh(t)===Wh(r)&&!a.some(i)){let e=Gh(Qh(a));return Wh(t)===`|`?`absolute value of ${e} end absolute value`:`norm of ${e} end norm`}return Qh(e)}function eg(e,t){let n=Jh(e),r=Jh(t),i=r===void 0?void 0:Uh[r];if(n!==void 0&&i)return`${n} ${n===1?i[0]:i[1]}`;let a=e?sg(e):``,o=t?sg(t):``;return qh(e)&&qh(t)?`${a} over ${o}`:`the fraction with numerator ${a} and denominator ${o}`}function tg(e,t,n){return n?`${t} of ${e}`:`${t} of ${e} end root`}function ng(e,t){let n=t?Wh(t):``;if(t&&qh(t)){if(n===`2`)return`${e} squared`;if(n===`3`)return`${e} cubed`;if(n in Lh)return`${e} ${Lh[n]}`}let r=t?sg(t):``;return qh(t)?`${e} to the power of ${r}`:`${e} to the power of ${r} end power`}function rg(e,t){let n=t?sg(t):``;return qh(t)?`${e} sub ${n}`:`${e} sub ${n} end sub`}function ig(e,t,n){let r=Wh(e);if(r===`lim`)return`limit as ${t?sg(t):``} of`;if(!Bh.has(r))return;let i=t?`from ${sg(t)}`:``,a=n?`to ${sg(n)}`:``;return`${Zh(r)} ${i} ${a} of`}function ag(e){let t=Kh(e).filter(e=>[`mtr`,`mlabeledtr`].includes(e.localName)),n=t.map(e=>Kh(e).filter(e=>e.localName===`mtd`)),r=Math.max(0,...n.map(e=>e.length)),i=n.map((e,t)=>`row ${t+1}: ${e.map(e=>Gh(Qh(Kh(e)))).join(`, `)}`);return`table with ${t.length} ${t.length===1?`row`:`rows`} and ${r} ${r===1?`column`:`columns`}. ${i.join(`. `)}`}function og(e){let t=e.getAttribute(`open`)??`(`,n=e.getAttribute(`close`)??`)`,r=(e.getAttribute(`separators`)??`,`).replace(/\s+/g,``).split(``),i=Kh(e).map((e,t,n)=>t<n.length-1?`${sg(e)} ${Zh(r[Math.min(t,r.length-1)]??`,`)}`:sg(e));return[Zh(t),...i,Zh(n)].filter(Boolean).join(` `)}function sg(e){let t=Kh(e);switch(e.localName){case`mi`:return Xh(Wh(e));case`mn`:case`mtext`:case`ms`:return Wh(e);case`mo`:return Zh(Wh(e));case`mspace`:case`mphantom`:case`annotation`:case`annotation-xml`:return``;case`semantics`:return t[0]?sg(t[0]):``;case`mfrac`:return eg(t[0],t[1]);case`msqrt`:return tg(Gh(Qh(t)),`square root`,t.length===1&&qh(t[0]));case`mroot`:{let e=Jh(t[1]),n=e===2?`square root`:e===3?`cube root`:e?`${Yh(e)} root`:`root with index ${t[1]?sg(t[1]):``}`;return tg(t[0]?sg(t[0]):``,n,qh(t[0]))}case`msup`:return ng(t[0]?sg(t[0]):``,t[1]);case`msub`:return rg(t[0]?sg(t[0]):``,t[1]);case`msubsup`:return(t[0]?ig(t[0],t[1],t[2]):void 0)||ng(rg(t[0]?sg(t[0]):``,t[1]),t[2]);case`munder`:case`mover`:case`munderover`:{let[n,r,i]=t,a=e.localName===`mover`?void 0:r,o=e.localName===`munder`?void 0:e.localName===`mover`?r:i,s=n?ig(n,a,o):void 0;if(s)return s;let c=n?sg(n):``,l=e.localName===`mover`&&r?Hh[Wh(r)]:void 0;return l?l===`vector`?`vector ${c}`:`${c} ${l}`:[c,a?`with ${sg(a)} below`:``,o?`with ${sg(o)} above`:``].filter(Boolean).join(` `)}case`mfenced`:return og(e);case`mtable`:return ag(e);case`mrow`:case`math`:return $h(t);default:return t.length?Qh(t):Wh(e)}}function cg(e){return Gh(sg(e))}var lg=new Set(`address.article.aside.blockquote.br.dd.div.dl.dt.fieldset.figure.footer.h1.h2.h3.h4.h5.h6.header.hr.li.ol.p.pre.section.table.td.th.tr.ul`.split(`.`)),ug=e=>e.replace(/\s+/g,` `).trim();function dg(e){return e.getAttribute(`aria-hidden`)===`true`||e.hidden===!0||e.style?.display===`none`}function fg(e){return e.localName===`math`?e:e.querySelector(`math`)}function pg(e,t,n){if(e.nodeType===3)return e.textContent??``;if(!(e instanceof Element)||dg(e))return``;let r=e.localName===`mjx-container`||e.localName===`math`?fg(e):null;if(r){let e=ug(t(r)??r.textContent??``);return e&&(n.math=!0),` ${e} `}if(e.localName===`mjx-container`)return` `;let i=e.getAttribute(`aria-label`)?.trim();if(i)return` ${i} `;if(e.localName===`img`)return` ${e.getAttribute(`alt`)??``} `;let a=[...e.childNodes].map(e=>pg(e,t,n)).join(``);return lg.has(e.localName)?` ${a} `:a}function mg(e,t={}){let n=t.speak??cg,r={math:!1},i=ug([...e.childNodes].map(e=>pg(e,n,r)).join(``));return r.math&&i?i:void 0}var hg=`@pie-lib/math-rendering`,gg=`@pie-lib/math-rendering@2`,_g=`pie-print`,vg=50,yg=1e4,bg=null;function xg(){return!!window[gg]?.opts?.useSingleDollar}function Sg(){return bg||=Mh({useSingleDollar:xg()}),bg}function Cg(){if(typeof window>`u`)return null;let e=window[hg];return typeof e?.renderMath==`function`&&e.renderMath!==Dg?e:null}function wg(e){let t=e;for(;t;){if(t instanceof Element&&t.localName===_g)return t;t=t instanceof ShadowRoot?t.host:t.parentNode}return null}function Tg(){let e=window.renderMath;return typeof e==`function`?e:null}async function Eg(e){let t=wg(e);if(!t)return null;let n=Tg();if(n||t.mathRenderingModuleUrlImported!==!0)return n;let r=Date.now()+yg;for(;Date.now()<r;){await new Promise(e=>setTimeout(e,vg));let e=Tg();if(e)return e}return null}var Dg=async e=>{if(typeof window>`u`)return;let t=typeof e==`string`,n;t?(n=document.createElement(`div`),n.innerHTML=e):n=e||document.body;let r=Cg(),i=r||t?null:await Eg(n);return r?await r.renderMath?.(n):i&&i!==Dg?await i(n):await Sg()(n),t?n.innerHTML:void 0},Og={translation:{categorize:{limitMaxChoicesPerCategory:`You've reached the limit of {{maxChoicesPerCategory}} responses per area. To add another response, one must first be removed.`,maxChoicesPerCategoryRestriction:`To change this value to {{maxChoicesPerCategory}}, each category must have {{maxChoicesPerCategory}} or fewer answer choice[s].`},dragInTheBlank:{blank:`Blank {{index}}`},ebsr:{part:`Part {{index}}`,twoPartQuestion:`Two-Part Question`},editableHtml:{responseAreaToolbar:`Response area`,toolbar:`Editing tools`,buttons:{insertTable:`Insert table`,addTableRow:`Add table row`,removeTableRow:`Remove table row`,addTableColumn:`Add table column`,removeTableColumn:`Remove table column`,removeTable:`Remove table`,tableBorders:`Table borders`,bold:`Bold`,italic:`Italic`,strikethrough:`Strikethrough`,code:`Code`,underline:`Underline`,subscript:`Subscript`,superscript:`Superscript`,insertImage:`Insert image`,insertVideo:`Insert video`,insertAudio:`Insert audio`,cssClasses:`CSS classes`,blockquote:`Blockquote`,heading:`Heading`,insertMath:`Insert math`,spanishCharacters:`Spanish characters (ñ)`,specialCharacters:`Special characters (€)`,textAlignment:`Text alignment`,bulletedList:`Bulleted list`,numberedList:`Numbered list`,done:`Done`}},explicitConstructedResponse:{fillInTheBlankQuestion:`Fill in the Blank Question`,response:`Response {{index}} of {{total}}`},extendedTextEntry:{comment:`Comment`,constructedResponseQuestion:`Constructed Response Question`,response:`Your response`,writtenResponseQuestion:`Written Response Question`},fractionModel:{modelLabel_one:`Model {{index}} of {{total}}: {{selected}} of {{count}} part selected`,modelLabel_other:`Model {{index}} of {{total}}: {{selected}} of {{count}} parts selected`},numberLine:{addElementLimit_one:`You can only add {{count}} element`,addElementLimit_other:`You can only add {{count}} elements`,clearAll:`Clear all`,closedEnd:`closed`,elementCorrect:`Correct.`,elementIncorrect:`Incorrect.`,graphLabel:`Number line from {{min}} to {{max}}, with a tick every {{interval}}`,line:`Line from {{left}} ({{leftEnd}}) to {{right}} ({{rightEnd}}).`,openEnd:`open`,plottedNone:`Nothing is plotted.`,pointClosed:`Closed point at {{position}}.`,pointOpen:`Open point at {{position}}.`,rayLeft:`Ray from {{position}} ({{end}}) to the left.`,rayRight:`Ray from {{position}} ({{end}}) to the right.`},hotspot:{correctlySelected:`Correctly selected`,image_one:`Image with {{count}} hotspot`,image_other:`Image with {{count}} hotspots`,shape:`Hotspot {{index}} of {{total}}`,shouldHaveBeenSelected:`Should have been selected`,shouldNotHaveBeenSelected:`Should not have been selected`},imageClozeAssociation:{answerChoice:`Answer choice {{index}} of {{total}}`,image_one:`Image with {{count}} response area`,image_other:`Image with {{count}} response areas`,reachedLimit_one:`You’ve reached the limit of {{count}} response per area. To add another response, one must first be removed.`,reachedLimit_other:`Full`,responseArea:`Response area {{index}} of {{total}}`},inlineDropdown:{inlineDropdownQuestion:`Inline Dropdown Question`,query:`Query`,queryNumber:`Query {{index}}`,showRationaleForChoices:`Show Rationale for choices`,hideRationaleForChoices:`Hide Rationale for choices`},drawingResponse:{fillColor:`Fill color`,outlineColor:`Outline color`,noFill:`No fill`,lightblue:`Light blue`,lightyellow:`Light yellow`,red:`Red`,orange:`Orange`,yellow:`Yellow`,violet:`Violet`,blue:`Blue`,green:`Green`,white:`White`,black:`Black`,onDoubleClick:`Double click to edit this text. Press Enter to submit.`,drawingArea:`Drawing area`,drawingAreaOverImage:`Drawing area over a background image`,tools:{select:`Select`,freeDraw:`Free Draw`,line:`Line`,rectangle:`Rectangle`,circle:`Circle`,textEntry:`Text Entry`,eraser:`Eraser`}},charting:{addCategory:`Add category`,actions:`Actions`,add:`Add`,delete:`Delete`,newLabel:`New label`,categoryLabel:`Category {{index}} label`,categoryLabelValue:`Category {{index}} label: {{label}}`,category:`Category {{index}}`,reachedLimit_other:`There can't be more than {{count}} categories.`,keyLegend:{incorrectAnswer:`Student incorrect answer`,correctAnswer:`Student correct answer`,correctKeyAnswer:`Answer key correct`},chartTypes:{bar:`Bar chart`,histogram:`Histogram`,lineDot:`Line chart with dots`,lineCross:`Line chart with crosses`,dotPlot:`Dot plot`,linePlot:`Line plot`},categories_zero:`No categories.`,categories_one:`{{count}} category: {{categories}}.`,categories_other:`{{count}} categories: {{categories}}.`,valueRange:`Values from {{min}} to {{max}}.`,labelledValueRange:`{{label}} from {{min}} to {{max}}.`},graphing:{graph:`Coordinate graph`,axisRange:`{{axis}} axis from {{min}} to {{max}}.`,plotted_zero:`Nothing plotted.`,plotted_one:`{{count}} object plotted: {{marks}}.`,plotted_other:`{{count}} objects plotted: {{marks}}.`,shadedRegion:`Shaded region`,point:`Point`,circle:`Circle`,line:`Line`,parabola:`Parabola`,absolute:`Absolute Value`,exponential:`Exponential`,polygon:`Polygon`,ray:`Ray`,segment:`Segment`,sine:`Sine`,vector:`Vector`,label:`Label`,markLabel:`Label at ({{x}}, {{y}})`,correctMarkLabel:`Correct label at ({{x}}, {{y}})`,redo:`Redo`,reset:`Reset`,keyLegend:{missingRequiredLabel:`Missing Required Label`,answerKeyCorrect:`Answer Key Correct`,answerKeyCorrectLabel:`Answer Key Correct Label`,studentIncorrect:`Student Incorrect`,incorrectStudentLabel:`Incorrect Student Label`,studentCorrect:`Student Correct`,studentCorrectLabel:`Student Correct Label`}},mathInline:{keypadInstructions:`This field supports both keypad and keyboard input. Use the keyboard to access and interact with the on-screen math keypad, which accepts LaTeX markup. Use the down arrow key to open the keypad and navigate its buttons. Use the escape key to close the keypad and return to the input field.`,mathEquationResponseQuestion:`Math Equation Response Question`,mathResponseQuestion:`Math Response Question`,primaryCorrectWithAlternates:`Note: The answer shown above is the primary correct answer specified by the author for this item, but other answers may also be recognized as correct.`},mathInput:{enterAnswer:`Enter answer`},mcPopulatedBlank:{answerChoices:`Answer choices`,blankLabel:`blank`,emptyBlank:`(blank)`,blankPreSelectionHint:`The answer you choose will appear on the blank line above.`,correctAnswerSelected:`Correct answer selected`,incorrectAnswerSelected:`Incorrect answer selected`,selectedAnswerImage:`Selected answer image`,choiceImage:`Choice {{id}}`,clickToEnableAutoplay:`Click to enable audio autoplay`,audioResourceUnavailable:`Audio is enabled but no playable audio URL is configured.`,listen:`Listen`,listenSilentAlt:`Repeat instructions`,listenPlayingAlt:`Instructions are playing`,printAudio:`Audio:`,printTranscript:`Transcript:`},multipleChoice:{minSelections:`Select at least {{minSelections}}.`,maxSelections_one:`Only {{maxSelections}} answer is allowed.`,maxSelections_other:`Only {{maxSelections}} answers are allowed.`,minmaxSelections_equal:`Select {{minSelections}}.`,minmaxSelections_range:`Select between {{minSelections}} and {{maxSelections}}.`,multipleChoiceQuestion:`Multiple Choice Question`,multipleCorrectAnswerQuestion:`Multiple Correct Answer Question`,multipleSelectQuestion:`Multiple Select Question`},rubric:{rubric:`Rubric`,showRubric:`Show Rubric`,hideRubric:`Hide Rubric`},selectText:{correctAnswerSelected:`Correct`,correctAnswerNotSelected:`Correct Answer Not Selected`,incorrectSelection:`Incorrect Selection`,key:`Key`,textGroup:`Selectable text`,textGroupWithLimit:`Selectable text, select up to {{max}}`,tokenPosition:`{{index}} of {{total}}`},simpleCloze:{correctAnswerShown:`Correct answer`,correct:`Correct`,incorrect:`Incorrect`,unanswered:`No answer`,placeholder:`Enter your answer...`,answerInput:`Your answer`,printCorrectAnswer:`Correct answer:`,printAnswerBlank:`Answer blank`},vennClassification:{tray:`Tiles to classify`,unknownTarget:`unknown`,cancelled:`Cancelled`,returnedToTray:`{{name}} returned to tray`,placedIn:`{{name}} placed in {{target}}`,pickedUp:`Picked up {{name}}`,pickedUpWithKeyboard:`Picked up {{name}}, drop target: {{target}}. Use arrow keys to choose a drop target, Enter to drop, Escape to cancel.`,dropTarget:`Drop target: {{target}}`,unsupportedCircles_one:`This diagram cannot be shown: it has {{count}} circle, and only {{supported}} are supported.`,unsupportedCircles_other:`This diagram cannot be shown: it has {{count}} circles, and only {{supported}} are supported.`,setNumber:`Set {{number}}`,regionOnly:`{{set}} only`,regionNeither:`Neither {{first}} nor {{second}}`,regionNoneOf:`None of {{sets}}`,regionAndSeparator:` and `,tileFallbackName:`Tile`,tileNotPlaced:`not placed`,tileInRegion:`in {{region}}`,tileCorrect:`correct`,tileIncorrect:`incorrect`}},common:{undo:`Undo`,clearAll:`Clear all`,correct:`Correct`,incorrect:`Incorrect`,showCorrectAnswer:`Show correct answer`,hideCorrectAnswer:`Hide correct answer`,showTeacherInstructions:`Show Teacher Instructions`,hideTeacherInstructions:`Hide Teacher Instructions`,show:`Show`,hide:`Hide`,showRationale:`Show Rationale`,hideRationale:`Hide Rationale`,commonCorrectAnswerWithAlternates:`Note: The answer shown above is the most common correct answer for this item. One or more additional correct answers are also defined, and will also be recognized as correct.`,warning:`Warning`,showNote:`Show Note`,hideNote:`Hide Note`,cancel:`Cancel`,playAudio:`Play audio`}},kg={translation:{categorize:{limitMaxChoicesPerCategory:`Has alcanzado el límite de {{maxChoicesPerCategory}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,maxChoicesPerCategoryRestriction:`Para cambiar este valor a {{maxChoicesPerCategory}}, cada categoría debe tener {{maxChoicesPerCategory}} o menos opciones de respuesta`},dragInTheBlank:{blank:`Espacio en blanco {{index}}`},ebsr:{part:`Parte {{index}}`,twoPartQuestion:`Pregunta de dos partes`},editableHtml:{responseAreaToolbar:`Área de respuesta`,toolbar:`Herramientas de edición`,buttons:{insertTable:`Insertar tabla`,addTableRow:`Agregar fila a la tabla`,removeTableRow:`Eliminar fila de la tabla`,addTableColumn:`Agregar columna a la tabla`,removeTableColumn:`Eliminar columna de la tabla`,removeTable:`Eliminar tabla`,tableBorders:`Bordes de la tabla`,bold:`Negrita`,italic:`Cursiva`,strikethrough:`Tachado`,code:`Código`,underline:`Subrayado`,subscript:`Subíndice`,superscript:`Superíndice`,insertImage:`Insertar imagen`,insertVideo:`Insertar video`,insertAudio:`Insertar audio`,cssClasses:`Clases CSS`,blockquote:`Cita en bloque`,heading:`Encabezado`,insertMath:`Insertar expresión matemática`,spanishCharacters:`Caracteres del español (ñ)`,specialCharacters:`Caracteres especiales (€)`,textAlignment:`Alineación del texto`,bulletedList:`Lista con viñetas`,numberedList:`Lista numerada`,done:`Listo`}},explicitConstructedResponse:{fillInTheBlankQuestion:`Pregunta para completar espacios en blanco`,response:`Respuesta {{index}} de {{total}}`},extendedTextEntry:{comment:`Comentario`,constructedResponseQuestion:`Pregunta de respuesta construida`,response:`Tu respuesta`,writtenResponseQuestion:`Pregunta de respuesta escrita`},fractionModel:{modelLabel_one:`Modelo {{index}} de {{total}}: {{selected}} de {{count}} parte seleccionada`,modelLabel_other:`Modelo {{index}} de {{total}}: {{selected}} de {{count}} partes seleccionadas`},numberLine:{addElementLimit_one:`Solo puedes agregar {{count}} elemento`,addElementLimit_other:`Solo puedes agregar {{count}} elementos`,clearAll:`Borrar todo`,closedEnd:`cerrado`,elementCorrect:`Correcto.`,elementIncorrect:`Incorrecto.`,graphLabel:`Recta numérica de {{min}} a {{max}}, con una marca cada {{interval}}`,line:`Línea de {{left}} ({{leftEnd}}) a {{right}} ({{rightEnd}}).`,openEnd:`abierto`,plottedNone:`No hay nada marcado en la recta.`,pointClosed:`Punto cerrado en {{position}}.`,pointOpen:`Punto abierto en {{position}}.`,rayLeft:`Rayo desde {{position}} ({{end}}) hacia la izquierda.`,rayRight:`Rayo desde {{position}} ({{end}}) hacia la derecha.`},hotspot:{correctlySelected:`Seleccionada correctamente`,image_one:`Imagen con {{count}} zona activa`,image_other:`Imagen con {{count}} zonas activas`,shape:`Zona activa {{index}} de {{total}}`,shouldHaveBeenSelected:`Debía seleccionarse`,shouldNotHaveBeenSelected:`No debía seleccionarse`},imageClozeAssociation:{answerChoice:`Opción de respuesta {{index}} de {{total}}`,image_one:`Imagen con {{count}} área de respuesta`,image_other:`Imagen con {{count}} áreas de respuesta`,reachedLimit_one:`Has alcanzado el límite de {{count}} respuesta por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,reachedLimit_other:`Lleno`,responseArea:`Área de respuesta {{index}} de {{total}}`},inlineDropdown:{inlineDropdownQuestion:`Pregunta con menú desplegable`,query:`Consulta`,queryNumber:`Consulta {{index}}`,showRationaleForChoices:`Mostrar justificación de las opciones`,hideRationaleForChoices:`Ocultar justificación de las opciones`},drawingResponse:{fillColor:`Color de relleno`,outlineColor:`Color del contorno`,noFill:`Sin relleno`,lightblue:`Azul claro`,lightyellow:`Amarillo claro`,red:`Rojo`,orange:`Naranja`,yellow:`Amarillo`,violet:`Violeta`,blue:`Azul`,green:`Verde`,white:`Blanco`,black:`Negro`,onDoubleClick:`Haz doble clic para revisar este texto. Presiona el botón de ingreso para enviar`,drawingArea:`Área de dibujo`,drawingAreaOverImage:`Área de dibujo sobre una imagen de fondo`,tools:{select:`Seleccionar`,freeDraw:`Dibujo libre`,line:`Línea`,rectangle:`Rectángulo`,circle:`Círculo`,textEntry:`Entrada de texto`,eraser:`Borrador`}},charting:{addCategory:`Añadir categoría`,actions:`Acciones`,add:`Añadir`,delete:`Eliminar`,newLabel:`Nueva etiqueta`,categoryLabel:`Etiqueta de la categoría {{index}}`,categoryLabelValue:`Etiqueta de la categoría {{index}}: {{label}}`,category:`Categoría {{index}}`,reachedLimit_other:`No puede haber más de {{count}} categorías.`,keyLegend:{incorrectAnswer:`Respuesta incorrecta del estudiante`,correctAnswer:`Respuesta correcta del estudiante`,correctKeyAnswer:`Clave de respuesta correcta`},chartTypes:{bar:`Gráfico de barras`,histogram:`Histograma`,lineDot:`Gráfico de líneas con puntos`,lineCross:`Gráfico de líneas con cruces`,dotPlot:`Diagrama de puntos`,linePlot:`Diagrama de líneas`},categories_zero:`Sin categorías.`,categories_one:`{{count}} categoría: {{categories}}.`,categories_other:`{{count}} categorías: {{categories}}.`,valueRange:`Valores de {{min}} a {{max}}.`,labelledValueRange:`{{label}} de {{min}} a {{max}}.`},graphing:{graph:`Gráfica de coordenadas`,axisRange:`Eje {{axis}} de {{min}} a {{max}}.`,plotted_zero:`Nada trazado.`,plotted_one:`{{count}} objeto trazado: {{marks}}.`,plotted_other:`{{count}} objetos trazados: {{marks}}.`,shadedRegion:`Región sombreada`,point:`Punto`,circle:`Circulo`,line:`Línea`,parabola:`Parábola`,absolute:`Valor absoluto`,exponential:`Exponencial`,polygon:`Polígono`,ray:`Semirrecta`,segment:`Segmento `,sine:`Seno`,vector:`Vector`,label:`Etiqueta`,markLabel:`Etiqueta en ({{x}}, {{y}})`,correctMarkLabel:`Etiqueta correcta en ({{x}}, {{y}})`,redo:`Rehacer`,reset:`Reiniciar`,keyLegend:{missingRequiredLabel:`Falta una etiqueta obligatoria`,answerKeyCorrect:`Clave de respuesta correcta`,answerKeyCorrectLabel:`Etiqueta correcta de la clave de respuesta`,studentIncorrect:`Respuesta incorrecta del estudiante`,incorrectStudentLabel:`Etiqueta incorrecta del estudiante`,studentCorrect:`Respuesta correcta del estudiante`,studentCorrectLabel:`Etiqueta correcta del estudiante`}},mathInline:{keypadInstructions:`Este campo admite la entrada con el teclado en pantalla y con el teclado físico. Usa el teclado físico para acceder al teclado matemático en pantalla e interactuar con él; este acepta notación LaTeX. Usa la tecla de flecha hacia abajo para abrir el teclado en pantalla y recorrer sus botones. Usa la tecla Escape para cerrar el teclado en pantalla y volver al campo de entrada.`,mathEquationResponseQuestion:`Pregunta de respuesta con ecuación matemática`,mathResponseQuestion:`Pregunta de respuesta matemática`,primaryCorrectWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta principal especificada por el autor para esta pregunta, pero también se pueden reconocer otras respuestas como correctas.`},mathInput:{enterAnswer:`Escribe la respuesta`},mcPopulatedBlank:{answerChoices:`Opciones de respuesta`,blankLabel:`espacio en blanco`,emptyBlank:`(en blanco)`,blankPreSelectionHint:`La respuesta que elijas aparecerá en la línea en blanco de arriba.`,correctAnswerSelected:`Respuesta correcta seleccionada`,incorrectAnswerSelected:`Respuesta incorrecta seleccionada`,selectedAnswerImage:`Imagen de la respuesta seleccionada`,choiceImage:`Opción {{id}}`,clickToEnableAutoplay:`Haz clic para activar la reproducción automática del audio`,audioResourceUnavailable:`El audio está activado, pero no hay una URL de audio reproducible configurada.`,listen:`Escuchar`,listenSilentAlt:`Escuchar. Repetir las instrucciones.`,listenPlayingAlt:`Escuchar. Estas son las instrucciones.`,printAudio:`Audio:`,printTranscript:`Transcripción:`},multipleChoice:{minSelections:`Seleccione al menos {{minSelections}}.`,maxSelections_one:`Sólo se permite {{maxSelections}} respuesta.`,maxSelections_other:`Sólo se permiten {{maxSelections}} respuestas.`,minmaxSelections_equal:`Seleccione {{minSelections}}.`,minmaxSelections_range:`Seleccione entre {{minSelections}} y {{maxSelections}}.`,multipleChoiceQuestion:`Pregunta de opción múltiple`,multipleCorrectAnswerQuestion:`Pregunta con varias respuestas correctas`,multipleSelectQuestion:`Pregunta de selección múltiple`},rubric:{rubric:`Rúbrica`,showRubric:`Mostrar rúbrica`,hideRubric:`Ocultar rúbrica`},selectText:{correctAnswerSelected:`Respuesta Correcta`,correctAnswerNotSelected:`Respuesta Correcta No Seleccionada`,incorrectSelection:`Selección Incorrecta`,key:`Clave`,textGroup:`Texto seleccionable`,textGroupWithLimit:`Texto seleccionable, selecciona hasta {{max}}`,tokenPosition:`{{index}} de {{total}}`},simpleCloze:{correctAnswerShown:`Respuesta correcta`,correct:`Correcto`,incorrect:`Incorrecto`,unanswered:`Sin respuesta`,placeholder:`Escribe tu respuesta...`,answerInput:`Tu respuesta`,printCorrectAnswer:`Respuesta correcta:`,printAnswerBlank:`Espacio para la respuesta`},vennClassification:{tray:`Fichas para clasificar`,unknownTarget:`desconocido`,cancelled:`Cancelado`,returnedToTray:`Se devolvió {{name}} a la bandeja`,placedIn:`Se colocó {{name}} en {{target}}`,pickedUp:`Se tomó {{name}}`,pickedUpWithKeyboard:`Se tomó {{name}}, destino: {{target}}. Usa las flechas para elegir un destino, Enter para soltar y Escape para cancelar.`,dropTarget:`Destino: {{target}}`,unsupportedCircles_one:`No se puede mostrar este diagrama: tiene {{count}} círculo, y solo se admiten {{supported}}.`,unsupportedCircles_other:`No se puede mostrar este diagrama: tiene {{count}} círculos, y solo se admiten {{supported}}.`,setNumber:`Conjunto {{number}}`,regionOnly:`Solo {{set}}`,regionNeither:`Ni {{first}} ni {{second}}`,regionNoneOf:`Ninguno de {{sets}}`,regionAndSeparator:` y `,tileFallbackName:`Ficha`,tileNotPlaced:`sin colocar`,tileInRegion:`en {{region}}`,tileCorrect:`correcta`,tileIncorrect:`incorrecta`}},common:{undo:`Deshacer`,clearAll:`Borrar todo`,correct:`Correcto`,incorrect:`Incorrecto`,showCorrectAnswer:`Mostrar respuesta correcta`,hideCorrectAnswer:`Ocultar respuesta correcta`,showTeacherInstructions:`Mostrar instrucciones para el maestro`,hideTeacherInstructions:`Ocultar instrucciones para el maestro`,show:`Mostrar`,hide:`Ocultar`,showRationale:`Mostrar justificación`,hideRationale:`Ocultar justificación`,commonCorrectAnswerWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta más común para esta pregunta. También se definen una o más respuestas correctas adicionales, y también se reconocerán como correctas.`,warning:`Advertencia`,showNote:`Mostrar Nota`,hideNote:`Ocultar Nota`,cancel:`Cancelar`,playAudio:`Reproducir audio`}},Q=e=>typeof e==`string`,Ag=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},jg=e=>e==null?``:``+e,Mg=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},Ng=/###/g,Pg=e=>e&&e.indexOf(`###`)>-1?e.replace(Ng,`.`):e,Fg=e=>!e||Q(e),Ig=(e,t,n)=>{let r=Q(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(Fg(e))return{};let t=Pg(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return Fg(e)?{}:{obj:e,k:Pg(r[i])}},Lg=(e,t,n)=>{let{obj:r,k:i}=Ig(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=Ig(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=Ig(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},Rg=(e,t,n,r)=>{let{obj:i,k:a}=Ig(e,t,Object);i[a]=i[a]||[],i[a].push(n)},zg=(e,t)=>{let{obj:n,k:r}=Ig(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Bg=(e,t,n)=>{let r=zg(e,n);return r===void 0?zg(t,n):r},Vg=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(r in e?Q(e[r])||e[r]instanceof String||Q(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Vg(e[r],t[r],n):e[r]=t[r]);return e},Hg=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),Ug={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`,"/":`&#x2F;`},Wg=e=>Q(e)?e.replace(/[&<>"'\/]/g,e=>Ug[e]):e,Gg=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},Kg=[` `,`,`,`?`,`!`,`;`],qg=new Gg(20),Jg=(e,t,n)=>{t||=``,n||=``;let r=Kg.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(r.length===0)return!0;let i=qg.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},Yg=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].indexOf(typeof t)>-1&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},Xg=e=>e?.replace(/_/g,`-`),Zg={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},Qg=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||Zg,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:(Q(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},$g=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n.apply(n,[e,...t])})}},e_=class extends $g{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.indexOf(`.`)>-1?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):Q(n)&&i?o.push(...n.split(i)):o.push(n)));let s=zg(this.data,o);return!s&&!t&&!n&&e.indexOf(`.`)>-1&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!Q(n)?s:Yg(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.indexOf(`.`)>-1&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),Lg(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)(Q(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(`.`)>-1&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=zg(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Vg(s,n,i):s={...s,...n},Lg(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}},t_={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},n_=Symbol(`i18next/PATH_KEY`);function r_(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===n_?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function i_(e,t){let{[n_]:n}=e(r_()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`;if(n.length>1&&i){let e=t?.ns,a=Array.isArray(e)?e:null;if(a&&a.length>1&&a.slice(1).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var a_={},o_=e=>!Q(e)&&typeof e!=`boolean`&&typeof e!=`number`,s_=class e extends $g{constructor(e,t={}){super(),Mg([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=Qg.create(`translator`)}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=o_(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Jg(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:Q(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:Q(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=i_(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?i_(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!Q(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,w=b&&!i.ordinal&&i.count===0,T=w&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,E=m;y&&!m&&x&&(E=T);let D=o_(E),O=Object.prototype.toString.apply(E);if(y&&E&&D&&_.indexOf(O)<0&&!(Q(v)&&Array.isArray(E))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,E,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(E),t=e?[]:{},n=e?g:h;for(let e in E)if(Object.prototype.hasOwnProperty.call(E,e)){let r=`${n}${o}${e}`;x&&!m?t[e]=this.translate(r,{...i,defaultValue:o_(T)?T[e]:void 0,joinArrays:!1,ns:c}):t[e]=this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=E[e])}m=t}}else if(y&&Q(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=T),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&T!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,s,c?T:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);w&&i[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||T)})}):n(e,s,T))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=Q(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!Q(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=Q(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=t_.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return Q(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?i_(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!Q(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(Q(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!a_[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(a_[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.indexOf(i)===0&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.indexOf(i)===0&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!Q(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.substring(0,12)===`defaultValue`&&e[t]!==void 0)return!0;return!1}},c_=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Qg.create(`languageUtils`)}getScriptPartFromCode(e){if(e=Xg(e),!e||e.indexOf(`-`)<0)return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=Xg(e),!e||e.indexOf(`-`)<0)return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(Q(e)&&e.indexOf(`-`)>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(e.indexOf(`-`)<0&&r.indexOf(`-`)<0)&&(e.indexOf(`-`)>0&&r.indexOf(`-`)<0&&e.substring(0,e.indexOf(`-`))===r||e.indexOf(r)===0&&r.length>1))return e})}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),Q(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return Q(e)&&(e.indexOf(`-`)>-1||e.indexOf(`_`)>-1)?(this.options.load!==`languageOnly`&&i(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&i(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&i(this.getLanguagePartFromCode(e))):Q(e)&&i(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}},l_={zero:0,one:1,two:2,few:3,many:4,other:5},u_={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},d_=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=Qg.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=Xg(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),u_;if(!e.match(/-|_/))return u_;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>l_[e]-l_[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},f_=(e,t,n,r=`.`,i=!0)=>{let a=Bg(e,t,n);return!a&&i&&Q(n)&&(a=Yg(e,n,r),a===void 0&&(a=Yg(t,n,r))),a},p_=e=>e.replace(/\$/g,`$$$$`),m_=class{constructor(e={}){this.logger=Qg.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?Wg:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?Hg(i):a||`{{`,this.suffix=o?Hg(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u||`-`,this.unescapeSuffix=this.unescapePrefix?``:l||``,this.nestingPrefix=d?Hg(d):f||Hg(`$t(`),this.nestingSuffix=p?Hg(p):m||Hg(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){let i=f_(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(f_(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp();let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>p_(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?p_(this.escape(e)):p_(e)}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0)if(typeof l==`function`){let t=l(e,i,r);a=Q(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``;else!Q(a)&&!this.useRawValueToEscape&&(a=jg(a));let s=t.safeValue(a);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;let r=e.split(RegExp(`${Hg(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];a={...n},a=a.replace&&!Q(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=/{.*}/.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(c!==-1&&(s=r[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,c)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!Q(i))return i;Q(i)||(i=jg(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),s.length&&(i=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}},h_=e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf(`(`)>-1){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);t===`currency`&&i.indexOf(`:`)<0?n.currency||=i.trim():t===`relativetime`&&i.indexOf(`:`)<0?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},g_=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(Xg(r),i),t[o]=s),s(n)}},__=e=>(t,n,r)=>e(Xg(n),r)(t),v_=class{constructor(e={}){this.logger=Qg.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?g_:__;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=g_(t)}format(e,t,n,r={}){let i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf(`(`)>1&&i[0].indexOf(`)`)<0&&i.find(e=>e.indexOf(`)`)>-1)){let e=i.findIndex(e=>e.indexOf(`)`)>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:a}=h_(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}else this.logger.warn(`there was no format function for ${i}`);return e},e)}},y_=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},b_=class extends $g{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=Qg.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{Rg(n.loaded,[i],a),y_(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(o&&s&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,n,r+1,i*2,a)},i);return}a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2){try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();Q(e)&&(e=this.languageUtils.toResolveHierarchy(e)),Q(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);return}if(!(n==null||n===``)){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}!e||!e[0]||this.store.addResource(e[0],t,n,r)}}},x_=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,simplifyPluralSuffix:!0,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),Q(e[1])&&(t.defaultValue=e[1]),Q(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),S_=e=>(Q(e.ns)&&(e.ns=[e.ns]),Q(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Q(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.(`cimode`)<0&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),typeof e.initImmediate==`boolean`&&(e.initAsync=e.initImmediate),e),C_=()=>{},w_=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},T_=`__i18next_supportNoticeShown`,E_=()=>!!(typeof globalThis<`u`&&globalThis[T_]||typeof process<`u`&&process.env&&process.env.I18NEXT_NO_SUPPORT_NOTICE||typeof process<`u`&&process.env),D_=()=>{typeof globalThis<`u`&&(globalThis[T_]=!0)},O_=e=>!!(e?.modules?.backend?.name?.indexOf(`Locize`)>0||e?.modules?.backend?.constructor?.name?.indexOf(`Locize`)>0||e?.options?.backend?.backends&&e.options.backend.backends.some(e=>e?.name?.indexOf(`Locize`)>0||e?.constructor?.name?.indexOf(`Locize`)>0)||e?.options?.backend?.projectId||e?.options?.backend?.backendOptions&&e.options.backend.backendOptions.some(e=>e?.projectId)),k_=class e extends $g{constructor(e={},t){if(super(),this.options=S_(e),this.services={},this.logger=Qg,this.modules={external:[]},w_(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&(Q(e.ns)?e.defaultNS=e.ns:e.ns.indexOf(`translation`)<0&&(e.defaultNS=e.ns[0]));let n=x_();this.options={...n,...this.options,...S_(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!O_(this)&&!E_()&&(typeof console<`u`&&console.info!==void 0&&console.info(`🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙`),D_());let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?Qg.init(r(this.modules.logger),this.options):Qg.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:v_;let t=new c_(this.options);this.store=new e_(this.options.resources,this.options);let i=this.services;i.logger=Qg,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new d_(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate(`init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting`),e&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(i.formatter=r(e),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new m_(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new b_(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new s_(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=C_,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=Ag(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=C_){let n=t,r=Q(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&e.indexOf(t)<0&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=Ag();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=C_,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&t_.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!([`cimode`,`dev`].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!([`cimode`,`dev`].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=Ag();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=Q(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(Q(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n){let r=(e,t,...i)=>{let a;a=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(i)),a.lng=a.lng||r.lng,a.lngs=a.lngs||r.lngs,a.ns=a.ns||r.ns,a.keyPrefix!==``&&(a.keyPrefix=a.keyPrefix||n||r.keyPrefix);let o={...this.options,...a};typeof a.keyPrefix==`function`&&(a.keyPrefix=i_(a.keyPrefix,o));let s=this.options.keySeparator||`.`,c;return a.keyPrefix&&Array.isArray(e)?c=e.map(e=>(typeof e==`function`&&(e=i_(e,o)),`${a.keyPrefix}${s}${e}`)):(typeof e==`function`&&(e=i_(e,o)),c=a.keyPrefix?`${a.keyPrefix}${s}${e}`:e),this.t(c,a)};return Q(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=Ag();return this.options.ns?(Q(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=Ag();Q(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new c_(x_());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.indexOf(n.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=C_){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new e_(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),i),a.services.resourceStore=a.store),t.interpolation){let e={...x_().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new m_(n)}return a.translator=new s_(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();k_.createInstance,k_.dir,k_.init,k_.loadResources,k_.reloadResources,k_.use,k_.changeLanguage,k_.getFixedT,k_.t,k_.exists,k_.setDefaultNamespace,k_.hasLoadedNamespace,k_.loadNamespaces,k_.loadLanguages,k_.init({fallbackLng:`en`,lng:`en`,showSupportNotice:!1,resources:{en:Og,es:kg}});var A_={translator:{...k_,t:(e,t)=>{let{lng:n}=t;switch(n){case`en_US`:case`en-US`:t.lng=`en`;break;case`es_ES`:case`es-ES`:case`es_MX`:case`es-MX`:t.lng=`es`;break;default:break}return k_.t(e,{lng:n,...t})}},languageOptions:[{value:`en_US`,label:`English (US)`},{value:`es_ES`,label:`Spanish`}]},j_=e=>`${e}-${Math.random().toString(36).slice(2,10)}`,M_=e=>V.useState(()=>j_(e))[0],{translator:N_}=A_,P_=K(`button`)({display:`inline-block`,minHeight:`24px`,padding:0,border:0,background:`transparent`,font:`inherit`,textAlign:`inherit`,color:_f(),cursor:`pointer`}),F_=K(`span`)({borderBottom:`1px dotted currentColor`}),I_=K(vp)(({theme:e})=>({paddingTop:e.spacing(2)})),L_=class extends V.Component{static propTypes={className:x.string,children:x.object,labels:x.shape({visible:x.string,hidden:x.string}),language:x.string};static defaultProps={labels:{}};state={expanded:!1};panelId=j_(`pie-collapsible`);toggleExpanded=()=>{this.setState(e=>({expanded:!e.expanded}))};componentDidMount(){Dg(this.root)}componentDidUpdate(){Dg(this.root)}render(){let{labels:e,children:t,className:n,language:r}=this.props,{expanded:i}=this.state,a=i?e.visible||N_.t(`common:hide`,{lng:r}):e.hidden||N_.t(`common:show`,{lng:r});return(0,H.jsxs)(`div`,{className:n,ref:e=>this.root=e,children:[(0,H.jsx)(`div`,{children:(0,H.jsx)(P_,{type:`button`,"aria-expanded":i,"aria-controls":this.panelId,onClick:this.toggleExpanded,children:(0,H.jsx)(F_,{children:a})})}),(0,H.jsx)(`div`,{id:this.panelId,children:(0,H.jsx)(I_,{in:i,timeout:{enter:225,exit:195},unmountOnExit:!0,children:t})})]})}};function R_(e){try{return e.matches(`:focus-visible`)}catch{}return!1}var z_=class e{static create(){return new e}static use(){let t=as(e.create).current,[n,r]=V.useState(!1);return t.shouldMount=n,t.setShouldMount=r,V.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=V_(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function B_(){return z_.use()}function V_(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function H_(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,d]=V.useState(!1),f=U(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},m=U(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),V.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,H.jsx)(`span`,{className:f,style:p,children:(0,H.jsx)(`span`,{className:m})})}var U_=Fr(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),W_=550,G_=Nt`
85
+ `;function Km(e=document){if(e.getElementById(`PIE-MJX-explorer-styles`))return;let t=e.createElement(`style`);t.id=zm,t.textContent=Gm,e.head.appendChild(t)}var qm=/[⁡-⁤]/g,Jm={"+":`positive`,"-":`negative`,"−":`negative`,"±":`plus or minus`,"∓":`minus or plus`},Ym={"(":`open parenthesis`,"[":`open bracket`,"{":`open brace`,"⟨":`open angle bracket`,"⌊":`open floor`,"⌈":`open ceiling`},Xm={")":`close parenthesis`,"]":`close bracket`,"}":`close brace`,"⟩":`close angle bracket`,"⌋":`close floor`,"⌉":`close ceiling`},Zm={"!":`factorial`,"%":`percent`,"°":`degrees`,"′":`prime`,"″":`double prime`},Qm={"+":`plus`,"-":`minus`,"−":`minus`,"±":`plus or minus`,"∓":`minus or plus`,"×":`times`,"⋅":`times`,"·":`times`,"*":`times`,"÷":`divided by`,"/":`divided by`,"=":`equals`,"≠":`does not equal`,"<":`is less than`,">":`is greater than`,"≤":`is less than or equal to`,"≥":`is greater than or equal to`,"≈":`is approximately equal to`,"≡":`is equivalent to`,"∝":`is proportional to`,"∈":`is an element of`,"∉":`is not an element of`,"⊂":`is a subset of`,"⊆":`is a subset of or equal to`,"∪":`union`,"∩":`intersection`,"→":`right arrow`,"←":`left arrow`,"⇒":`implies`,"⇔":`if and only if`,"∑":`sum`,"∏":`product`,"∫":`integral`,"∞":`infinity`,"∠":`angle`,"⊥":`is perpendicular to`,"∥":`is parallel to`,"∴":`therefore`,",":`comma`,";":`semicolon`,":":`colon`,"|":`vertical bar`,"‖":`double vertical bar`,...Ym,...Xm,...Zm},$m=new Set([`|`,`‖`]),eh=new Set([`∑`,`∏`,`∫`,`∪`,`∩`]),th={α:`alpha`,β:`beta`,γ:`gamma`,δ:`delta`,ε:`epsilon`,θ:`theta`,λ:`lambda`,μ:`mu`,π:`pi`,ρ:`rho`,σ:`sigma`,τ:`tau`,φ:`phi`,ω:`omega`,Δ:`capital delta`,Σ:`capital sigma`,Ω:`capital omega`,"∞":`infinity`,sin:`sine`,cos:`cosine`,tan:`tangent`,sec:`secant`,csc:`cosecant`,cot:`cotangent`,ln:`natural log`,lim:`limit`},nh={"¯":`bar`,"‾":`bar`,"―":`bar`,"^":`hat`,ˆ:`hat`,"~":`tilde`,"˜":`tilde`,"→":`vector`,"⃗":`vector`,"˙":`dot`},rh=e=>(e.textContent??``).replace(qm,``).replace(/\s+/g,` `).trim(),ih=e=>e.replace(/\s+/g,` `).trim(),ah=e=>[...e.children];function oh(e){return!e||[`mn`,`mi`,`mtext`,`mo`].includes(e.localName)?!0:[`mrow`,`mstyle`].includes(e.localName)&&e.children.length===1?oh(e.children[0]):!1}function sh(e){let t=e?rh(e):``;return/^\d{1,3}$/.test(t)?Number(t):void 0}function ch(e){return`${e}${e%100>=11&&e%100<=13?`th`:{1:`st`,2:`nd`,3:`rd`}[e%10]??`th`}`}function lh(e){return th[e]??e}function uh(e){return Qm[e]??e}function dh(e){let t=[],n=!1;for(let r of e){if(r.localName!==`mo`){t.push(bh(r)),n=!0;continue}let e=rh(r);e&&(!n&&Jm[e]?t.push(Jm[e]):e in Zm?t.push(Zm[e]):(t.push(uh(e)),n=e in Xm||$m.has(e)&&n))}return t.filter(Boolean).join(` `)}function fh(e){let[t,...n]=e,r=n[n.length-1],i=e=>e?.localName===`mo`&&[`|`,`‖`].includes(rh(e)),a=n.slice(0,-1);if(a.length&&i(t)&&i(r)&&rh(t)===rh(r)&&!a.some(i)){let e=ih(dh(a));return rh(t)===`|`?`absolute value of ${e} end absolute value`:`norm of ${e} end norm`}return dh(e)}function ph(e,t){let n=e?bh(e):``,r=t?bh(t):``;return oh(e)&&oh(t)?`${n} over ${r}`:`the fraction with numerator ${n} and denominator ${r}`}function mh(e,t,n){return n?`${t} of ${e}`:`${t} of ${e} end root`}function hh(e,t){let n=t?rh(t):``;if(t&&oh(t)){if(n===`2`)return`${e} squared`;if(n===`3`)return`${e} cubed`;if(n in Zm)return`${e} ${Zm[n]}`}let r=t?bh(t):``;return oh(t)?`${e} to the power of ${r}`:`${e} to the power of ${r} end power`}function gh(e,t){let n=t?bh(t):``;return oh(t)?`${e} sub ${n}`:`${e} sub ${n} end sub`}function _h(e,t,n){let r=rh(e);if(r===`lim`)return`limit as ${t?bh(t):``} of`;if(!eh.has(r))return;let i=t?`from ${bh(t)}`:``,a=n?`to ${bh(n)}`:``;return`${uh(r)} ${i} ${a} of`}function vh(e){let t=ah(e).filter(e=>[`mtr`,`mlabeledtr`].includes(e.localName)),n=t.map(e=>ah(e).filter(e=>e.localName===`mtd`)),r=Math.max(0,...n.map(e=>e.length)),i=n.map((e,t)=>`row ${t+1}: ${e.map(e=>ih(dh(ah(e)))).join(`, `)}`);return`table with ${t.length} ${t.length===1?`row`:`rows`} and ${r} ${r===1?`column`:`columns`}. ${i.join(`. `)}`}function yh(e){let t=e.getAttribute(`open`)??`(`,n=e.getAttribute(`close`)??`)`,r=(e.getAttribute(`separators`)??`,`).replace(/\s+/g,``).split(``),i=ah(e).map((e,t,n)=>t<n.length-1?`${bh(e)} ${uh(r[Math.min(t,r.length-1)]??`,`)}`:bh(e));return[uh(t),...i,uh(n)].filter(Boolean).join(` `)}function bh(e){let t=ah(e);switch(e.localName){case`mi`:return lh(rh(e));case`mn`:case`mtext`:case`ms`:return rh(e);case`mo`:return uh(rh(e));case`mspace`:case`mphantom`:case`annotation`:case`annotation-xml`:return``;case`semantics`:return t[0]?bh(t[0]):``;case`mfrac`:return ph(t[0],t[1]);case`msqrt`:return mh(ih(dh(t)),`square root`,t.length===1&&oh(t[0]));case`mroot`:{let e=sh(t[1]),n=e===2?`square root`:e===3?`cube root`:e?`${ch(e)} root`:`root with index ${t[1]?bh(t[1]):``}`;return mh(t[0]?bh(t[0]):``,n,oh(t[0]))}case`msup`:return hh(t[0]?bh(t[0]):``,t[1]);case`msub`:return gh(t[0]?bh(t[0]):``,t[1]);case`msubsup`:return(t[0]?_h(t[0],t[1],t[2]):void 0)||hh(gh(t[0]?bh(t[0]):``,t[1]),t[2]);case`munder`:case`mover`:case`munderover`:{let[n,r,i]=t,a=e.localName===`mover`?void 0:r,o=e.localName===`munder`?void 0:e.localName===`mover`?r:i,s=n?_h(n,a,o):void 0;if(s)return s;let c=n?bh(n):``,l=e.localName===`mover`&&r?nh[rh(r)]:void 0;return l?l===`vector`?`vector ${c}`:`${c} ${l}`:[c,a?`with ${bh(a)} below`:``,o?`with ${bh(o)} above`:``].filter(Boolean).join(` `)}case`mfenced`:return yh(e);case`mtable`:return vh(e);case`mrow`:case`math`:return fh(t);default:return t.length?dh(t):rh(e)}}function xh(e){return ih(bh(e))}var Sh=[`a[href]`,`button`,`label`,`summary`,...[`button`,`checkbox`,`combobox`,`link`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`option`,`radio`,`switch`,`tab`,`treeitem`].map(e=>`[role="${e}"]`)].join(`, `);function Ch(e){if(e.hasAttribute(`aria-label`)||!e.closest(Sh))return;let t=e.querySelector(`math`),n=t?xh(t):``;n&&e.setAttribute(`aria-label`,n)}function wh(e){for(let t of e.querySelectorAll(`mjx-container`))Ch(t)}var Th=Symbol.for(`@pie-element/shared-math-rendering-mathjax/speech-worker-failed`);function Eh(){let e=globalThis;e[Th]||(e[Th]=!0,console.warn(`[math-rendering] MathJax's speech worker did not start, so speech, braille and the explorer are off. A content security policy must allow blob: workers, and scripts and fetches from the asset root. See ${bp}`))}function Dh(e){let t=e.webworker;if(!t||t.ready)return;e.options??={};let n=e.options;n.enableSpeech=!1,n.enableBraille=!1,n.speechError=()=>{},t.Post=()=>Promise.reject(Error(`The speech worker did not start`)),t.Terminate(),Eh()}function Oh(e){let t=e?.adaptor,n=t?.createWorker;!e||!t||!n||(t.createWorker=async(r,i)=>{let a=await n.call(t,r,i);return a.addEventListener(`error`,()=>Dh(e),{once:!0}),a})}`${Cp}`;var kh={parallelogram:`\\lower.2em{\\Huge\\unicode{x25B1}}`,overarc:`\\overparen`,napprox:`\\not\\approx`,longdiv:`\\enclose{longdiv}`,abs:[`\\left|#1\\right|`,1]},Ah=`[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)`,jh=/\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/,Mh=/\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/,Nh=/\\embed\{newLine\}\[\]/g,Ph=[[`$$`,`$$`],[`$`,`$`],[`\\[`,`\\]`],[`\\(`,`\\)`]],Fh=Symbol.for(`@pie-element/shared-math-rendering-mathjax/loading`),Ih=`MJX-CHTML-styles`,Lh=`PIE-MJX-SVG-styles`,Rh=`PIE-MathJax-Menu-Settings`,zh={'mjx-container[overflow="linebreak"][display]':{overflow:`auto clip`,"min-width":`initial !important`}},Bh=200,Vh=201,Hh=202;function Uh(e){let t=[...e.matches(`mjx-container`)?[e]:[],...e.querySelectorAll(`mjx-container`)];for(let e of t)for(let t of[e,...e.querySelectorAll(`[data-latex],[data-latex-item]`)])t.removeAttribute(`data-latex`),t.removeAttribute(`data-latex-item`)}function Wh(e){for(let[t,n]of Ph)if(e.startsWith(t)&&e.endsWith(n))return e.substring(t.length,e.length-n.length);return e}function Gh(e){return Wh(e.includes(`\\displaystyle`)?e.replace(`\\displaystyle`,``).trim():e)}var Kh=`mathjax_ignore`,qh=`mathjax_process`;function Jh(e,t){let n=e.closest(`.${Kh}, .${qh}`);return n!==null&&t.contains(n)&&!n.classList.contains(qh)}function Yh(e){for(let t of e.querySelectorAll(`[data-latex]`)){if(t.dataset.mathHandled||t.closest(`mjx-container`)||Jh(t,e))continue;let n=t.textContent;n&&(t.textContent=`\\(${Gh(n)}\\)`.replace(Nh,`\\newline `),t.dataset.mathHandled=`true`)}}function Xh(e){for(let t of e.querySelectorAll(`math`))t.closest(`mjx-container`)||t.setAttribute(`displaystyle`,`true`)}function Zh(e,t){for(let t of e.querySelectorAll(`math`))if(!t.closest(`mjx-assistive-mml`))return!0;return(t?Mh:jh).test(e.textContent??``)}function Qh(e){return new Promise((t,n)=>{let{useSingleDollar:r=!1,accessibility:i=!0,loadFonts:a=!0,srcUrl:o}=e,s=Ap(e,{}.url),c={loader:{load:i?[`a11y/assistive-mml`]:[],failed:e=>n(e),"output/svg":{ready:e=>{let t=Hp();return $h(t)&&eg(t),e}}},startup:{typeset:!1,ready:()=>{let e=Hp(),r=e?.startup,i=$h(e);i&&(eg(e),tg(e,s.speechLocales),jp(e?._?.a11y?.sre_ts?.locales,s.speechLocales)),r?.defaultReady?.(),i&&(ng(r?.document),rg(r?.document),r?.document?.addStyles?.(zh),Oh(r?.document)),Promise.resolve(r?.promise).then(()=>t(),n)}},tex:{macros:{...kh}},output:{displayOverflow:`linebreak`},options:{enableMenu:i,menuOptions:{settings:{assistiveMml:i,enrich:!1,inTabOrder:!1}},a11y:{inTabOrder:!1}}};r&&c.tex&&(console.warn(Ah),c.tex.inlineMath=[[`$`,`$`],[`\\(`,`\\)`]],c.tex.processEscapes=!0),a||(c.chtml={fontURL:``});let l=Mp(s.speechLocales);l&&c.options&&(c.options.sre={locale:l}),Wp(c,{...s,srcUrl:o}).then(e=>{e||t()},n)})}function $h(e){return!!e?.version?.startsWith(`4.`)}function eg(e){let t=e?._?.output,n=t?.chtml_ts?.CHTML;n&&(n.STYLESHEETID=Kp);let r=t?.svg_ts?.SVG;r&&(r.STYLESHEETID=Lh)}function tg(e,t){let n=e?._?.ui?.menu?.Menu?.Menu;if(n){n.MENU_STORAGE=Rh;try{let e=localStorage.getItem(Rh);if(!e)return;let{assistiveMml:n,locale:r,...i}=JSON.parse(e),a=r===void 0||!t||t.has(r);if(n===void 0&&a)return;a&&r!==void 0&&(i.locale=r),Object.keys(i).length?localStorage.setItem(Rh,JSON.stringify(i)):localStorage.removeItem(Rh)}catch{}}}function ng(e){if(!e)return;let t=new WeakSet,n=e=>{let n=e.typesetRoot;!n||t.has(n)||(Uh(n),t.add(n))};e.addRenderAction?.(`pie-strip-latex`,Vh,e=>{for(let t of e.math??[])n(t);return!1},e=>{let t=e.typesetRoot;return t&&Uh(t),!1});let r=e.outputJax?.chtmlStyles;r?.id===Ih&&(r.id=Kp),og()}function rg(e){let t=e=>{e.typesetRoot&&Ch(e.typesetRoot)};e?.addRenderAction?.(`pie-name-math`,Hh,e=>{for(let n of e.math??[])t(n);return!1},e=>(t(e),!1))}function ig(e){return e instanceof HTMLStyleElement&&qp.includes(e.id)}function ag(e){Bp(`foreign-output-stylesheet`,`another MathJax added <style id="${e.id}"> to <head>`)}function og(){let e=document.head,t=[...e.children].find(ig);if(t){ag(t);return}let n=new MutationObserver(e=>{for(let t of e){let e=[...t.addedNodes].find(ig);if(e){ag(e),n.disconnect();return}}});n.observe(e,{childList:!0})}function sg(e){let t=e?.math;if(!t?.remove)return;let n=[...t].filter(e=>(e.state?.()??0)>=Bh&&e.typesetRoot?.isConnected===!1);if(n.length!==0){for(let e of[...n].reverse())e.clear?.();t.remove(...n)}}function cg(e){return new Promise((t,n)=>{let r=e.startup??{};e.startup=r;let i=r.ready;r.ready=()=>{let e=Hp()?.startup;i?i.call(r):e?.defaultReady?.(),Promise.resolve(e?.promise).then(()=>t(),n)}})}function lg(e){let t=Hp();return t?t.version?t.startup?.promise?Promise.resolve(t.startup.promise).then(()=>void 0):Promise.resolve():cg(t):Qh(e)}function ug(e){return lg(e).then(()=>{let e=Hp();e&&typeof e.typesetPromise!=`function`&&console.warn(`[mathjax-renderer] MathJax on this page has no typesetPromise; math stays untypeset.`)})}function dg(e){let t=Gp,n=t[Fh];return n||(n=ug(e),t[Fh]=n),n}function fg(e={}){let t=e.useSingleDollar??!1;return async n=>{if(typeof window>`u`)return;let r=Jp();r&&Bp(`mathjax-3-global`,`window.MathJax is MathJax ${r}`),Yh(n),Qp(n),Xh(n),Rm(n);let i=dg(e);if(!Zh(n,t)){i.catch(()=>{});return}await i;let a=Hp();if(await a?.startup?.promise,typeof a?.typesetPromise==`function`){Km(),sg(a.startup?.document);try{await a.typesetPromise([n])}catch(e){throw a.typesetClear?.([n]),e}Uh(n),wh(n)}}}var pg=`@pie-lib/math-rendering`,mg=`@pie-lib/math-rendering@2`,hg=`pie-print`,gg=50,_g=1e4,vg=null;function yg(){return!!window[mg]?.opts?.useSingleDollar}function bg(){return vg||=fg({useSingleDollar:yg()}),vg}function xg(){if(typeof window>`u`)return null;let e=window[pg];return typeof e?.renderMath==`function`&&e.renderMath!==Tg?e:null}function Sg(e){let t=e;for(;t;){if(t instanceof Element&&t.localName===hg)return t;t=t instanceof ShadowRoot?t.host:t.parentNode}return null}function Cg(){let e=window.renderMath;return typeof e==`function`?e:null}async function wg(e){let t=Sg(e);if(!t)return null;let n=Cg();if(n||t.mathRenderingModuleUrlImported!==!0)return n;let r=Date.now()+_g;for(;Date.now()<r;){await new Promise(e=>setTimeout(e,gg));let e=Cg();if(e)return e}return null}var Tg=async e=>{if(typeof window>`u`)return;let t=typeof e==`string`,n;t?(n=document.createElement(`div`),n.innerHTML=e):n=e||document.body;let r=xg(),i=r||t?null:await wg(n);return r?(await r.renderMath?.(n),wh(n)):i&&i!==Tg?(await i(n),wh(n)):await bg()(n),t?n.innerHTML:void 0},Eg={translation:{categorize:{limitMaxChoicesPerCategory:`You've reached the limit of {{maxChoicesPerCategory}} responses per area. To add another response, one must first be removed.`,maxChoicesPerCategoryRestriction:`To change this value to {{maxChoicesPerCategory}}, each category must have {{maxChoicesPerCategory}} or fewer answer choice[s].`},dragInTheBlank:{blank:`Blank {{index}}`},ebsr:{part:`Part {{index}}`,twoPartQuestion:`Two-Part Question`},editableHtml:{responseAreaToolbar:`Response area`,toolbar:`Editing tools`,buttons:{insertTable:`Insert table`,addTableRow:`Add table row`,removeTableRow:`Remove table row`,addTableColumn:`Add table column`,removeTableColumn:`Remove table column`,removeTable:`Remove table`,tableBorders:`Table borders`,bold:`Bold`,italic:`Italic`,strikethrough:`Strikethrough`,code:`Code`,underline:`Underline`,subscript:`Subscript`,superscript:`Superscript`,insertImage:`Insert image`,insertVideo:`Insert video`,insertAudio:`Insert audio`,cssClasses:`CSS classes`,blockquote:`Blockquote`,heading:`Heading`,insertMath:`Insert math`,spanishCharacters:`Spanish characters (ñ)`,specialCharacters:`Special characters (€)`,textAlignment:`Text alignment`,bulletedList:`Bulleted list`,numberedList:`Numbered list`,done:`Done`}},explicitConstructedResponse:{fillInTheBlankQuestion:`Fill in the Blank Question`,response:`Response {{index}} of {{total}}`},extendedTextEntry:{comment:`Comment`,constructedResponseQuestion:`Constructed Response Question`,response:`Your response`,writtenResponseQuestion:`Written Response Question`},fractionModel:{modelLabel_one:`Model {{index}} of {{total}}: {{selected}} of {{count}} part selected`,modelLabel_other:`Model {{index}} of {{total}}: {{selected}} of {{count}} parts selected`},numberLine:{addElementLimit_one:`You can only add {{count}} element`,addElementLimit_other:`You can only add {{count}} elements`,clearAll:`Clear all`,closedEnd:`closed`,elementCorrect:`Correct.`,elementIncorrect:`Incorrect.`,graphLabel:`Number line from {{min}} to {{max}}, with a tick every {{interval}}`,line:`Line from {{left}} ({{leftEnd}}) to {{right}} ({{rightEnd}}).`,openEnd:`open`,plottedNone:`Nothing is plotted.`,pointClosed:`Closed point at {{position}}.`,pointOpen:`Open point at {{position}}.`,rayLeft:`Ray from {{position}} ({{end}}) to the left.`,rayRight:`Ray from {{position}} ({{end}}) to the right.`},hotspot:{correctlySelected:`Correctly selected`,image_one:`Image with {{count}} hotspot`,image_other:`Image with {{count}} hotspots`,shape:`Hotspot {{index}} of {{total}}`,shouldHaveBeenSelected:`Should have been selected`,shouldNotHaveBeenSelected:`Should not have been selected`},imageClozeAssociation:{answerChoice:`Answer choice {{index}} of {{total}}`,image_one:`Image with {{count}} response area`,image_other:`Image with {{count}} response areas`,reachedLimit_one:`You’ve reached the limit of {{count}} response per area. To add another response, one must first be removed.`,reachedLimit_other:`Full`,responseArea:`Response area {{index}} of {{total}}`},inlineDropdown:{inlineDropdownQuestion:`Inline Dropdown Question`,query:`Query`,queryNumber:`Query {{index}}`,showRationaleForChoices:`Show Rationale for choices`,hideRationaleForChoices:`Hide Rationale for choices`},drawingResponse:{fillColor:`Fill color`,outlineColor:`Outline color`,noFill:`No fill`,lightblue:`Light blue`,lightyellow:`Light yellow`,red:`Red`,orange:`Orange`,yellow:`Yellow`,violet:`Violet`,blue:`Blue`,green:`Green`,white:`White`,black:`Black`,onDoubleClick:`Double click to edit this text. Press Enter to submit.`,drawingArea:`Drawing area`,drawingAreaOverImage:`Drawing area over a background image`,tools:{select:`Select`,freeDraw:`Free Draw`,line:`Line`,rectangle:`Rectangle`,circle:`Circle`,textEntry:`Text Entry`,eraser:`Eraser`}},charting:{addCategory:`Add category`,actions:`Actions`,add:`Add`,delete:`Delete`,newLabel:`New label`,categoryLabel:`Category {{index}} label`,categoryLabelValue:`Category {{index}} label: {{label}}`,category:`Category {{index}}`,reachedLimit_other:`There can't be more than {{count}} categories.`,keyLegend:{incorrectAnswer:`Student incorrect answer`,correctAnswer:`Student correct answer`,correctKeyAnswer:`Answer key correct`},chartTypes:{bar:`Bar chart`,histogram:`Histogram`,lineDot:`Line chart with dots`,lineCross:`Line chart with crosses`,dotPlot:`Dot plot`,linePlot:`Line plot`},categories_zero:`No categories.`,categories_one:`{{count}} category: {{categories}}.`,categories_other:`{{count}} categories: {{categories}}.`,valueRange:`Values from {{min}} to {{max}}.`,labelledValueRange:`{{label}} from {{min}} to {{max}}.`},graphing:{graph:`Coordinate graph`,axisRange:`{{axis}} axis from {{min}} to {{max}}.`,plotted_zero:`Nothing plotted.`,plotted_one:`{{count}} object plotted: {{marks}}.`,plotted_other:`{{count}} objects plotted: {{marks}}.`,shadedRegion:`Shaded region`,point:`Point`,circle:`Circle`,line:`Line`,parabola:`Parabola`,absolute:`Absolute Value`,exponential:`Exponential`,polygon:`Polygon`,ray:`Ray`,segment:`Segment`,sine:`Sine`,vector:`Vector`,label:`Label`,markLabel:`Label at ({{x}}, {{y}})`,correctMarkLabel:`Correct label at ({{x}}, {{y}})`,redo:`Redo`,reset:`Reset`,keyLegend:{missingRequiredLabel:`Missing Required Label`,answerKeyCorrect:`Answer Key Correct`,answerKeyCorrectLabel:`Answer Key Correct Label`,studentIncorrect:`Student Incorrect`,incorrectStudentLabel:`Incorrect Student Label`,studentCorrect:`Student Correct`,studentCorrectLabel:`Student Correct Label`}},mathInline:{keypadInstructions:`This field supports both keypad and keyboard input. Use the keyboard to access and interact with the on-screen math keypad, which accepts LaTeX markup. Use the down arrow key to open the keypad and navigate its buttons. Use the escape key to close the keypad and return to the input field.`,mathEquationResponseQuestion:`Math Equation Response Question`,mathResponseQuestion:`Math Response Question`,primaryCorrectWithAlternates:`Note: The answer shown above is the primary correct answer specified by the author for this item, but other answers may also be recognized as correct.`},mathInput:{enterAnswer:`Enter answer`},mcPopulatedBlank:{answerChoices:`Answer choices`,blankLabel:`blank`,emptyBlank:`(blank)`,blankPreSelectionHint:`The answer you choose will appear on the blank line above.`,correctAnswerSelected:`Correct answer selected`,incorrectAnswerSelected:`Incorrect answer selected`,selectedAnswerImage:`Selected answer image`,choiceImage:`Choice {{id}}`,clickToEnableAutoplay:`Click to enable audio autoplay`,audioResourceUnavailable:`Audio is enabled but no playable audio URL is configured.`,listen:`Listen`,listenSilentAlt:`Repeat instructions`,listenPlayingAlt:`Instructions are playing`,printAudio:`Audio:`,printTranscript:`Transcript:`},multipleChoice:{minSelections:`Select at least {{minSelections}}.`,maxSelections_one:`Only {{maxSelections}} answer is allowed.`,maxSelections_other:`Only {{maxSelections}} answers are allowed.`,minmaxSelections_equal:`Select {{minSelections}}.`,minmaxSelections_range:`Select between {{minSelections}} and {{maxSelections}}.`,multipleChoiceQuestion:`Multiple Choice Question`,multipleCorrectAnswerQuestion:`Multiple Correct Answer Question`,multipleSelectQuestion:`Multiple Select Question`},rubric:{rubric:`Rubric`,showRubric:`Show Rubric`,hideRubric:`Hide Rubric`},selectText:{correctAnswerSelected:`Correct`,correctAnswerNotSelected:`Correct Answer Not Selected`,incorrectSelection:`Incorrect Selection`,key:`Key`,textGroup:`Selectable text`,textGroupWithLimit:`Selectable text, select up to {{max}}`,tokenPosition:`{{index}} of {{total}}`},simpleCloze:{correctAnswerShown:`Correct answer`,correct:`Correct`,incorrect:`Incorrect`,unanswered:`No answer`,placeholder:`Enter your answer...`,answerInput:`Your answer`,printCorrectAnswer:`Correct answer:`,printAnswerBlank:`Answer blank`},vennClassification:{tray:`Tiles to classify`,unknownTarget:`unknown`,cancelled:`Cancelled`,returnedToTray:`{{name}} returned to tray`,placedIn:`{{name}} placed in {{target}}`,pickedUp:`Picked up {{name}}`,pickedUpWithKeyboard:`Picked up {{name}}, drop target: {{target}}. Use arrow keys to choose a drop target, Enter to drop, Escape to cancel.`,dropTarget:`Drop target: {{target}}`,unsupportedCircles_one:`This diagram cannot be shown: it has {{count}} circle, and only {{supported}} are supported.`,unsupportedCircles_other:`This diagram cannot be shown: it has {{count}} circles, and only {{supported}} are supported.`,setNumber:`Set {{number}}`,regionOnly:`{{set}} only`,regionNeither:`Neither {{first}} nor {{second}}`,regionNoneOf:`None of {{sets}}`,regionAndSeparator:` and `,tileFallbackName:`Tile`,tileNotPlaced:`not placed`,tileInRegion:`in {{region}}`,tileCorrect:`correct`,tileIncorrect:`incorrect`}},common:{undo:`Undo`,clearAll:`Clear all`,correct:`Correct`,incorrect:`Incorrect`,showCorrectAnswer:`Show correct answer`,hideCorrectAnswer:`Hide correct answer`,showTeacherInstructions:`Show Teacher Instructions`,hideTeacherInstructions:`Hide Teacher Instructions`,show:`Show`,hide:`Hide`,showRationale:`Show Rationale`,hideRationale:`Hide Rationale`,commonCorrectAnswerWithAlternates:`Note: The answer shown above is the most common correct answer for this item. One or more additional correct answers are also defined, and will also be recognized as correct.`,warning:`Warning`,showNote:`Show Note`,hideNote:`Hide Note`,cancel:`Cancel`,playAudio:`Play audio`}},Dg={translation:{categorize:{limitMaxChoicesPerCategory:`Has alcanzado el límite de {{maxChoicesPerCategory}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,maxChoicesPerCategoryRestriction:`Para cambiar este valor a {{maxChoicesPerCategory}}, cada categoría debe tener {{maxChoicesPerCategory}} o menos opciones de respuesta`},dragInTheBlank:{blank:`Espacio en blanco {{index}}`},ebsr:{part:`Parte {{index}}`,twoPartQuestion:`Pregunta de dos partes`},editableHtml:{responseAreaToolbar:`Área de respuesta`,toolbar:`Herramientas de edición`,buttons:{insertTable:`Insertar tabla`,addTableRow:`Agregar fila a la tabla`,removeTableRow:`Eliminar fila de la tabla`,addTableColumn:`Agregar columna a la tabla`,removeTableColumn:`Eliminar columna de la tabla`,removeTable:`Eliminar tabla`,tableBorders:`Bordes de la tabla`,bold:`Negrita`,italic:`Cursiva`,strikethrough:`Tachado`,code:`Código`,underline:`Subrayado`,subscript:`Subíndice`,superscript:`Superíndice`,insertImage:`Insertar imagen`,insertVideo:`Insertar video`,insertAudio:`Insertar audio`,cssClasses:`Clases CSS`,blockquote:`Cita en bloque`,heading:`Encabezado`,insertMath:`Insertar expresión matemática`,spanishCharacters:`Caracteres del español (ñ)`,specialCharacters:`Caracteres especiales (€)`,textAlignment:`Alineación del texto`,bulletedList:`Lista con viñetas`,numberedList:`Lista numerada`,done:`Listo`}},explicitConstructedResponse:{fillInTheBlankQuestion:`Pregunta para completar espacios en blanco`,response:`Respuesta {{index}} de {{total}}`},extendedTextEntry:{comment:`Comentario`,constructedResponseQuestion:`Pregunta de respuesta construida`,response:`Tu respuesta`,writtenResponseQuestion:`Pregunta de respuesta escrita`},fractionModel:{modelLabel_one:`Modelo {{index}} de {{total}}: {{selected}} de {{count}} parte seleccionada`,modelLabel_other:`Modelo {{index}} de {{total}}: {{selected}} de {{count}} partes seleccionadas`},numberLine:{addElementLimit_one:`Solo puedes agregar {{count}} elemento`,addElementLimit_other:`Solo puedes agregar {{count}} elementos`,clearAll:`Borrar todo`,closedEnd:`cerrado`,elementCorrect:`Correcto.`,elementIncorrect:`Incorrecto.`,graphLabel:`Recta numérica de {{min}} a {{max}}, con una marca cada {{interval}}`,line:`Línea de {{left}} ({{leftEnd}}) a {{right}} ({{rightEnd}}).`,openEnd:`abierto`,plottedNone:`No hay nada marcado en la recta.`,pointClosed:`Punto cerrado en {{position}}.`,pointOpen:`Punto abierto en {{position}}.`,rayLeft:`Rayo desde {{position}} ({{end}}) hacia la izquierda.`,rayRight:`Rayo desde {{position}} ({{end}}) hacia la derecha.`},hotspot:{correctlySelected:`Seleccionada correctamente`,image_one:`Imagen con {{count}} zona activa`,image_other:`Imagen con {{count}} zonas activas`,shape:`Zona activa {{index}} de {{total}}`,shouldHaveBeenSelected:`Debía seleccionarse`,shouldNotHaveBeenSelected:`No debía seleccionarse`},imageClozeAssociation:{answerChoice:`Opción de respuesta {{index}} de {{total}}`,image_one:`Imagen con {{count}} área de respuesta`,image_other:`Imagen con {{count}} áreas de respuesta`,reachedLimit_one:`Has alcanzado el límite de {{count}} respuesta por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,reachedLimit_other:`Lleno`,responseArea:`Área de respuesta {{index}} de {{total}}`},inlineDropdown:{inlineDropdownQuestion:`Pregunta con menú desplegable`,query:`Consulta`,queryNumber:`Consulta {{index}}`,showRationaleForChoices:`Mostrar justificación de las opciones`,hideRationaleForChoices:`Ocultar justificación de las opciones`},drawingResponse:{fillColor:`Color de relleno`,outlineColor:`Color del contorno`,noFill:`Sin relleno`,lightblue:`Azul claro`,lightyellow:`Amarillo claro`,red:`Rojo`,orange:`Naranja`,yellow:`Amarillo`,violet:`Violeta`,blue:`Azul`,green:`Verde`,white:`Blanco`,black:`Negro`,onDoubleClick:`Haz doble clic para revisar este texto. Presiona el botón de ingreso para enviar`,drawingArea:`Área de dibujo`,drawingAreaOverImage:`Área de dibujo sobre una imagen de fondo`,tools:{select:`Seleccionar`,freeDraw:`Dibujo libre`,line:`Línea`,rectangle:`Rectángulo`,circle:`Círculo`,textEntry:`Entrada de texto`,eraser:`Borrador`}},charting:{addCategory:`Añadir categoría`,actions:`Acciones`,add:`Añadir`,delete:`Eliminar`,newLabel:`Nueva etiqueta`,categoryLabel:`Etiqueta de la categoría {{index}}`,categoryLabelValue:`Etiqueta de la categoría {{index}}: {{label}}`,category:`Categoría {{index}}`,reachedLimit_other:`No puede haber más de {{count}} categorías.`,keyLegend:{incorrectAnswer:`Respuesta incorrecta del estudiante`,correctAnswer:`Respuesta correcta del estudiante`,correctKeyAnswer:`Clave de respuesta correcta`},chartTypes:{bar:`Gráfico de barras`,histogram:`Histograma`,lineDot:`Gráfico de líneas con puntos`,lineCross:`Gráfico de líneas con cruces`,dotPlot:`Diagrama de puntos`,linePlot:`Diagrama de líneas`},categories_zero:`Sin categorías.`,categories_one:`{{count}} categoría: {{categories}}.`,categories_other:`{{count}} categorías: {{categories}}.`,valueRange:`Valores de {{min}} a {{max}}.`,labelledValueRange:`{{label}} de {{min}} a {{max}}.`},graphing:{graph:`Gráfica de coordenadas`,axisRange:`Eje {{axis}} de {{min}} a {{max}}.`,plotted_zero:`Nada trazado.`,plotted_one:`{{count}} objeto trazado: {{marks}}.`,plotted_other:`{{count}} objetos trazados: {{marks}}.`,shadedRegion:`Región sombreada`,point:`Punto`,circle:`Circulo`,line:`Línea`,parabola:`Parábola`,absolute:`Valor absoluto`,exponential:`Exponencial`,polygon:`Polígono`,ray:`Semirrecta`,segment:`Segmento `,sine:`Seno`,vector:`Vector`,label:`Etiqueta`,markLabel:`Etiqueta en ({{x}}, {{y}})`,correctMarkLabel:`Etiqueta correcta en ({{x}}, {{y}})`,redo:`Rehacer`,reset:`Reiniciar`,keyLegend:{missingRequiredLabel:`Falta una etiqueta obligatoria`,answerKeyCorrect:`Clave de respuesta correcta`,answerKeyCorrectLabel:`Etiqueta correcta de la clave de respuesta`,studentIncorrect:`Respuesta incorrecta del estudiante`,incorrectStudentLabel:`Etiqueta incorrecta del estudiante`,studentCorrect:`Respuesta correcta del estudiante`,studentCorrectLabel:`Etiqueta correcta del estudiante`}},mathInline:{keypadInstructions:`Este campo admite la entrada con el teclado en pantalla y con el teclado físico. Usa el teclado físico para acceder al teclado matemático en pantalla e interactuar con él; este acepta notación LaTeX. Usa la tecla de flecha hacia abajo para abrir el teclado en pantalla y recorrer sus botones. Usa la tecla Escape para cerrar el teclado en pantalla y volver al campo de entrada.`,mathEquationResponseQuestion:`Pregunta de respuesta con ecuación matemática`,mathResponseQuestion:`Pregunta de respuesta matemática`,primaryCorrectWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta principal especificada por el autor para esta pregunta, pero también se pueden reconocer otras respuestas como correctas.`},mathInput:{enterAnswer:`Escribe la respuesta`},mcPopulatedBlank:{answerChoices:`Opciones de respuesta`,blankLabel:`espacio en blanco`,emptyBlank:`(en blanco)`,blankPreSelectionHint:`La respuesta que elijas aparecerá en la línea en blanco de arriba.`,correctAnswerSelected:`Respuesta correcta seleccionada`,incorrectAnswerSelected:`Respuesta incorrecta seleccionada`,selectedAnswerImage:`Imagen de la respuesta seleccionada`,choiceImage:`Opción {{id}}`,clickToEnableAutoplay:`Haz clic para activar la reproducción automática del audio`,audioResourceUnavailable:`El audio está activado, pero no hay una URL de audio reproducible configurada.`,listen:`Escuchar`,listenSilentAlt:`Escuchar. Repetir las instrucciones.`,listenPlayingAlt:`Escuchar. Estas son las instrucciones.`,printAudio:`Audio:`,printTranscript:`Transcripción:`},multipleChoice:{minSelections:`Seleccione al menos {{minSelections}}.`,maxSelections_one:`Sólo se permite {{maxSelections}} respuesta.`,maxSelections_other:`Sólo se permiten {{maxSelections}} respuestas.`,minmaxSelections_equal:`Seleccione {{minSelections}}.`,minmaxSelections_range:`Seleccione entre {{minSelections}} y {{maxSelections}}.`,multipleChoiceQuestion:`Pregunta de opción múltiple`,multipleCorrectAnswerQuestion:`Pregunta con varias respuestas correctas`,multipleSelectQuestion:`Pregunta de selección múltiple`},rubric:{rubric:`Rúbrica`,showRubric:`Mostrar rúbrica`,hideRubric:`Ocultar rúbrica`},selectText:{correctAnswerSelected:`Respuesta Correcta`,correctAnswerNotSelected:`Respuesta Correcta No Seleccionada`,incorrectSelection:`Selección Incorrecta`,key:`Clave`,textGroup:`Texto seleccionable`,textGroupWithLimit:`Texto seleccionable, selecciona hasta {{max}}`,tokenPosition:`{{index}} de {{total}}`},simpleCloze:{correctAnswerShown:`Respuesta correcta`,correct:`Correcto`,incorrect:`Incorrecto`,unanswered:`Sin respuesta`,placeholder:`Escribe tu respuesta...`,answerInput:`Tu respuesta`,printCorrectAnswer:`Respuesta correcta:`,printAnswerBlank:`Espacio para la respuesta`},vennClassification:{tray:`Fichas para clasificar`,unknownTarget:`desconocido`,cancelled:`Cancelado`,returnedToTray:`Se devolvió {{name}} a la bandeja`,placedIn:`Se colocó {{name}} en {{target}}`,pickedUp:`Se tomó {{name}}`,pickedUpWithKeyboard:`Se tomó {{name}}, destino: {{target}}. Usa las flechas para elegir un destino, Enter para soltar y Escape para cancelar.`,dropTarget:`Destino: {{target}}`,unsupportedCircles_one:`No se puede mostrar este diagrama: tiene {{count}} círculo, y solo se admiten {{supported}}.`,unsupportedCircles_other:`No se puede mostrar este diagrama: tiene {{count}} círculos, y solo se admiten {{supported}}.`,setNumber:`Conjunto {{number}}`,regionOnly:`Solo {{set}}`,regionNeither:`Ni {{first}} ni {{second}}`,regionNoneOf:`Ninguno de {{sets}}`,regionAndSeparator:` y `,tileFallbackName:`Ficha`,tileNotPlaced:`sin colocar`,tileInRegion:`en {{region}}`,tileCorrect:`correcta`,tileIncorrect:`incorrecta`}},common:{undo:`Deshacer`,clearAll:`Borrar todo`,correct:`Correcto`,incorrect:`Incorrecto`,showCorrectAnswer:`Mostrar respuesta correcta`,hideCorrectAnswer:`Ocultar respuesta correcta`,showTeacherInstructions:`Mostrar instrucciones para el maestro`,hideTeacherInstructions:`Ocultar instrucciones para el maestro`,show:`Mostrar`,hide:`Ocultar`,showRationale:`Mostrar justificación`,hideRationale:`Ocultar justificación`,commonCorrectAnswerWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta más común para esta pregunta. También se definen una o más respuestas correctas adicionales, y también se reconocerán como correctas.`,warning:`Advertencia`,showNote:`Mostrar Nota`,hideNote:`Ocultar Nota`,cancel:`Cancelar`,playAudio:`Reproducir audio`}},Q=e=>typeof e==`string`,Og=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},kg=e=>e==null?``:``+e,Ag=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},jg=/###/g,Mg=e=>e&&e.indexOf(`###`)>-1?e.replace(jg,`.`):e,Ng=e=>!e||Q(e),Pg=(e,t,n)=>{let r=Q(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(Ng(e))return{};let t=Mg(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return Ng(e)?{}:{obj:e,k:Mg(r[i])}},Fg=(e,t,n)=>{let{obj:r,k:i}=Pg(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=Pg(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=Pg(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},Ig=(e,t,n,r)=>{let{obj:i,k:a}=Pg(e,t,Object);i[a]=i[a]||[],i[a].push(n)},Lg=(e,t)=>{let{obj:n,k:r}=Pg(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Rg=(e,t,n)=>{let r=Lg(e,n);return r===void 0?Lg(t,n):r},zg=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(r in e?Q(e[r])||e[r]instanceof String||Q(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):zg(e[r],t[r],n):e[r]=t[r]);return e},Bg=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),Vg={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`,"/":`&#x2F;`},Hg=e=>Q(e)?e.replace(/[&<>"'\/]/g,e=>Vg[e]):e,Ug=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},Wg=[` `,`,`,`?`,`!`,`;`],Gg=new Ug(20),Kg=(e,t,n)=>{t||=``,n||=``;let r=Wg.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(r.length===0)return!0;let i=Gg.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},qg=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].indexOf(typeof t)>-1&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},Jg=e=>e?.replace(/_/g,`-`),Yg={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},Xg=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||Yg,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:(Q(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},Zg=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n.apply(n,[e,...t])})}},Qg=class extends Zg{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.indexOf(`.`)>-1?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):Q(n)&&i?o.push(...n.split(i)):o.push(n)));let s=Lg(this.data,o);return!s&&!t&&!n&&e.indexOf(`.`)>-1&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!Q(n)?s:qg(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.indexOf(`.`)>-1&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),Fg(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)(Q(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(`.`)>-1&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=Lg(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?zg(s,n,i):s={...s,...n},Fg(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}},$g={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},e_=Symbol(`i18next/PATH_KEY`);function t_(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===e_?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function n_(e,t){let{[e_]:n}=e(t_()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`;if(n.length>1&&i){let e=t?.ns,a=Array.isArray(e)?e:null;if(a&&a.length>1&&a.slice(1).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var r_={},i_=e=>!Q(e)&&typeof e!=`boolean`&&typeof e!=`number`,a_=class e extends Zg{constructor(e,t={}){super(),Ag([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=Xg.create(`translator`)}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=i_(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Kg(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:Q(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:Q(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=n_(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?n_(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!Q(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,w=b&&!i.ordinal&&i.count===0,T=w&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,E=m;y&&!m&&x&&(E=T);let D=i_(E),O=Object.prototype.toString.apply(E);if(y&&E&&D&&_.indexOf(O)<0&&!(Q(v)&&Array.isArray(E))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,E,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(E),t=e?[]:{},n=e?g:h;for(let e in E)if(Object.prototype.hasOwnProperty.call(E,e)){let r=`${n}${o}${e}`;x&&!m?t[e]=this.translate(r,{...i,defaultValue:i_(T)?T[e]:void 0,joinArrays:!1,ns:c}):t[e]=this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=E[e])}m=t}}else if(y&&Q(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=T),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&T!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,s,c?T:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);w&&i[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||T)})}):n(e,s,T))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=Q(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!Q(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=Q(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=$g.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return Q(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?n_(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!Q(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(Q(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!r_[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(r_[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.indexOf(i)===0&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.indexOf(i)===0&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!Q(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.substring(0,12)===`defaultValue`&&e[t]!==void 0)return!0;return!1}},o_=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Xg.create(`languageUtils`)}getScriptPartFromCode(e){if(e=Jg(e),!e||e.indexOf(`-`)<0)return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=Jg(e),!e||e.indexOf(`-`)<0)return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(Q(e)&&e.indexOf(`-`)>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(e.indexOf(`-`)<0&&r.indexOf(`-`)<0)&&(e.indexOf(`-`)>0&&r.indexOf(`-`)<0&&e.substring(0,e.indexOf(`-`))===r||e.indexOf(r)===0&&r.length>1))return e})}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),Q(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),r=[],i=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return Q(e)&&(e.indexOf(`-`)>-1||e.indexOf(`_`)>-1)?(this.options.load!==`languageOnly`&&i(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&i(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&i(this.getLanguagePartFromCode(e))):Q(e)&&i(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}},s_={zero:0,one:1,two:2,few:3,many:4,other:5},c_={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},l_=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=Xg.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=Jg(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),c_;if(!e.match(/-|_/))return c_;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>s_[e]-s_[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},u_=(e,t,n,r=`.`,i=!0)=>{let a=Rg(e,t,n);return!a&&i&&Q(n)&&(a=qg(e,n,r),a===void 0&&(a=qg(t,n,r))),a},d_=e=>e.replace(/\$/g,`$$$$`),f_=class{constructor(e={}){this.logger=Xg.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?Hg:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?Bg(i):a||`{{`,this.suffix=o?Bg(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u||`-`,this.unescapeSuffix=this.unescapePrefix?``:l||``,this.nestingPrefix=d?Bg(d):f||Bg(`$t(`),this.nestingSuffix=p?Bg(p):m||Bg(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){let i=u_(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(u_(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp();let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>d_(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?d_(this.escape(e)):d_(e)}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0)if(typeof l==`function`){let t=l(e,i,r);a=Q(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``;else!Q(a)&&!this.useRawValueToEscape&&(a=kg(a));let s=t.safeValue(a);if(e=e.replace(i[0],s),u?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;let r=e.split(RegExp(`${Bg(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];a={...n},a=a.replace&&!Q(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=/{.*}/.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(c!==-1&&(s=r[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,c)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!Q(i))return i;Q(i)||(i=kg(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),s.length&&(i=s.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}},p_=e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf(`(`)>-1){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);t===`currency`&&i.indexOf(`:`)<0?n.currency||=i.trim():t===`relativetime`&&i.indexOf(`:`)<0?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},m_=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(Jg(r),i),t[o]=s),s(n)}},h_=e=>(t,n,r)=>e(Jg(n),r)(t),g_=class{constructor(e={}){this.logger=Xg.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?m_:h_;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=m_(t)}format(e,t,n,r={}){let i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf(`(`)>1&&i[0].indexOf(`)`)<0&&i.find(e=>e.indexOf(`)`)>-1)){let e=i.findIndex(e=>e.indexOf(`)`)>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:a}=p_(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}else this.logger.warn(`there was no format function for ${i}`);return e},e)}},__=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},v_=class extends Zg{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=Xg.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{Ig(n.loaded,[i],a),__(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(o&&s&&r<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,n,r+1,i*2,a)},i);return}a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2){try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();Q(e)&&(e=this.languageUtils.toResolveHierarchy(e)),Q(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);return}if(!(n==null||n===``)){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}!e||!e[0]||this.store.addResource(e[0],t,n,r)}}},y_=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,simplifyPluralSuffix:!0,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),Q(e[1])&&(t.defaultValue=e[1]),Q(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),b_=e=>(Q(e.ns)&&(e.ns=[e.ns]),Q(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Q(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.(`cimode`)<0&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),typeof e.initImmediate==`boolean`&&(e.initAsync=e.initImmediate),e),x_=()=>{},S_=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},C_=`__i18next_supportNoticeShown`,w_=()=>!!(typeof globalThis<`u`&&globalThis[C_]||typeof process<`u`&&process.env&&process.env.I18NEXT_NO_SUPPORT_NOTICE||typeof process<`u`&&process.env),T_=()=>{typeof globalThis<`u`&&(globalThis[C_]=!0)},E_=e=>!!(e?.modules?.backend?.name?.indexOf(`Locize`)>0||e?.modules?.backend?.constructor?.name?.indexOf(`Locize`)>0||e?.options?.backend?.backends&&e.options.backend.backends.some(e=>e?.name?.indexOf(`Locize`)>0||e?.constructor?.name?.indexOf(`Locize`)>0)||e?.options?.backend?.projectId||e?.options?.backend?.backendOptions&&e.options.backend.backendOptions.some(e=>e?.projectId)),D_=class e extends Zg{constructor(e={},t){if(super(),this.options=b_(e),this.services={},this.logger=Xg,this.modules={external:[]},S_(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&(Q(e.ns)?e.defaultNS=e.ns:e.ns.indexOf(`translation`)<0&&(e.defaultNS=e.ns[0]));let n=y_();this.options={...n,...this.options,...b_(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!E_(this)&&!w_()&&(typeof console<`u`&&console.info!==void 0&&console.info(`🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙`),T_());let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?Xg.init(r(this.modules.logger),this.options):Xg.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:g_;let t=new o_(this.options);this.store=new Qg(this.options.resources,this.options);let i=this.services;i.logger=Xg,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new l_(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate(`init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting`),e&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(i.formatter=r(e),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new f_(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new v_(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new a_(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=x_,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=Og(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=x_){let n=t,r=Q(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&e.indexOf(t)<0&&e.push(t)})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=Og();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=x_,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&$g.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!([`cimode`,`dev`].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!([`cimode`,`dev`].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=Og();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=Q(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(Q(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n){let r=(e,t,...i)=>{let a;a=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(i)),a.lng=a.lng||r.lng,a.lngs=a.lngs||r.lngs,a.ns=a.ns||r.ns,a.keyPrefix!==``&&(a.keyPrefix=a.keyPrefix||n||r.keyPrefix);let o={...this.options,...a};typeof a.keyPrefix==`function`&&(a.keyPrefix=n_(a.keyPrefix,o));let s=this.options.keySeparator||`.`,c;return a.keyPrefix&&Array.isArray(e)?c=e.map(e=>(typeof e==`function`&&(e=n_(e,o)),`${a.keyPrefix}${s}${e}`)):(typeof e==`function`&&(e=n_(e,o)),c=a.keyPrefix?`${a.keyPrefix}${s}${e}`:e),this.t(c,a)};return Q(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,e)&&(!r||a(i,e)))}loadNamespaces(e,t){let n=Og();return this.options.ns?(Q(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=Og();Q(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new o_(y_());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.indexOf(n.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=x_){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new Qg(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),i),a.services.resourceStore=a.store),t.interpolation){let e={...y_().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new f_(n)}return a.translator=new a_(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();D_.createInstance,D_.dir,D_.init,D_.loadResources,D_.reloadResources,D_.use,D_.changeLanguage,D_.getFixedT,D_.t,D_.exists,D_.setDefaultNamespace,D_.hasLoadedNamespace,D_.loadNamespaces,D_.loadLanguages,D_.init({fallbackLng:`en`,lng:`en`,showSupportNotice:!1,resources:{en:Eg,es:Dg}});var O_={translator:{...D_,t:(e,t)=>{let{lng:n}=t;switch(n){case`en_US`:case`en-US`:t.lng=`en`;break;case`es_ES`:case`es-ES`:case`es_MX`:case`es-MX`:t.lng=`es`;break;default:break}return D_.t(e,{lng:n,...t})}},languageOptions:[{value:`en_US`,label:`English (US)`},{value:`es_ES`,label:`Spanish`}]},k_=e=>`${e}-${Math.random().toString(36).slice(2,10)}`,A_=e=>V.useState(()=>k_(e))[0],{translator:j_}=O_,M_=K(`button`)({display:`inline-block`,minHeight:`24px`,padding:0,border:0,background:`transparent`,font:`inherit`,textAlign:`inherit`,color:_f(),cursor:`pointer`}),N_=K(`span`)({borderBottom:`1px dotted currentColor`}),P_=K(vp)(({theme:e})=>({paddingTop:e.spacing(2)})),F_=class extends V.Component{static propTypes={className:x.string,children:x.object,labels:x.shape({visible:x.string,hidden:x.string}),language:x.string};static defaultProps={labels:{}};state={expanded:!1};panelId=k_(`pie-collapsible`);toggleExpanded=()=>{this.setState(e=>({expanded:!e.expanded}))};componentDidMount(){Tg(this.root)}componentDidUpdate(){Tg(this.root)}render(){let{labels:e,children:t,className:n,language:r}=this.props,{expanded:i}=this.state,a=i?e.visible||j_.t(`common:hide`,{lng:r}):e.hidden||j_.t(`common:show`,{lng:r});return(0,H.jsxs)(`div`,{className:n,ref:e=>this.root=e,children:[(0,H.jsx)(`div`,{children:(0,H.jsx)(M_,{type:`button`,"aria-expanded":i,"aria-controls":this.panelId,onClick:this.toggleExpanded,children:(0,H.jsx)(N_,{children:a})})}),(0,H.jsx)(`div`,{id:this.panelId,children:(0,H.jsx)(P_,{in:i,timeout:{enter:225,exit:195},unmountOnExit:!0,children:t})})]})}};function I_(e){try{return e.matches(`:focus-visible`)}catch{}return!1}var L_=class e{static create(){return new e}static use(){let t=as(e.create).current,[n,r]=V.useState(!1);return t.shouldMount=n,t.setShouldMount=r,V.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=z_(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function R_(){return L_.use()}function z_(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function B_(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,d]=V.useState(!1),f=U(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},m=U(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),V.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,H.jsx)(`span`,{className:f,style:p,children:(0,H.jsx)(`span`,{className:m})})}var V_=Fr(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),H_=550,U_=Nt`
86
86
  0% {
87
87
  transform: scale(0);
88
88
  opacity: 0.1;
@@ -92,7 +92,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
92
92
  transform: scale(1);
93
93
  opacity: 0.3;
94
94
  }
95
- `,K_=Nt`
95
+ `,W_=Nt`
96
96
  0% {
97
97
  opacity: 1;
98
98
  }
@@ -100,7 +100,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
100
100
  100% {
101
101
  opacity: 0;
102
102
  }
103
- `,q_=Nt`
103
+ `,G_=Nt`
104
104
  0% {
105
105
  transform: scale(1);
106
106
  }
@@ -112,23 +112,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
112
112
  100% {
113
113
  transform: scale(1);
114
114
  }
115
- `,J_=K(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),Y_=K(H_,{name:`MuiTouchRipple`,slot:`Ripple`})`
115
+ `,K_=K(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),q_=K(B_,{name:`MuiTouchRipple`,slot:`Ripple`})`
116
116
  opacity: 0;
117
117
  position: absolute;
118
118
 
119
- &.${U_.rippleVisible} {
119
+ &.${V_.rippleVisible} {
120
120
  opacity: 0.3;
121
121
  transform: scale(1);
122
- animation-name: ${G_};
123
- animation-duration: ${W_}ms;
122
+ animation-name: ${U_};
123
+ animation-duration: ${H_}ms;
124
124
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
125
125
  }
126
126
 
127
- &.${U_.ripplePulsate} {
127
+ &.${V_.ripplePulsate} {
128
128
  animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
129
129
  }
130
130
 
131
- & .${U_.child} {
131
+ & .${V_.child} {
132
132
  opacity: 1;
133
133
  display: block;
134
134
  width: 100%;
@@ -137,25 +137,25 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
137
137
  background-color: currentColor;
138
138
  }
139
139
 
140
- & .${U_.childLeaving} {
140
+ & .${V_.childLeaving} {
141
141
  opacity: 0;
142
- animation-name: ${K_};
143
- animation-duration: ${W_}ms;
142
+ animation-name: ${W_};
143
+ animation-duration: ${H_}ms;
144
144
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
145
145
  }
146
146
 
147
- & .${U_.childPulsate} {
147
+ & .${V_.childPulsate} {
148
148
  position: absolute;
149
149
  /* @noflip */
150
150
  left: 0px;
151
151
  top: 0;
152
- animation-name: ${q_};
152
+ animation-name: ${G_};
153
153
  animation-duration: 2500ms;
154
154
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
155
155
  animation-iteration-count: infinite;
156
156
  animation-delay: 200ms;
157
157
  }
158
- `,X_=V.forwardRef(function(e,t){let{center:n=!1,classes:r={},className:i,...a}=Zo({props:e,name:`MuiTouchRipple`}),[o,s]=V.useState([]),c=V.useRef(0),l=V.useRef(null);V.useEffect(()=>{l.current&&=(l.current(),null)},[o]);let u=V.useRef(!1),d=ls(),f=V.useRef(null),p=V.useRef(null),m=V.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:i,rippleSize:a,cb:o}=e;s(e=>[...e,(0,H.jsx)(Y_,{classes:{ripple:U(r.ripple,U_.ripple),rippleVisible:U(r.rippleVisible,U_.rippleVisible),ripplePulsate:U(r.ripplePulsate,U_.ripplePulsate),child:U(r.child,U_.child),childLeaving:U(r.childLeaving,U_.childLeaving),childPulsate:U(r.childPulsate,U_.childPulsate)},timeout:W_,pulsate:t,rippleX:n,rippleY:i,rippleSize:a},c.current)]),c.current+=1,l.current=o},[r]),h=V.useCallback((e={},t={},r=()=>{})=>{let{pulsate:i=!1,center:a=n||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&u.current){u.current=!1;return}e?.type===`touchstart`&&(u.current=!0);let s=o?null:p.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},l,h,g;if(a||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)l=Math.round(c.width/2),h=Math.round(c.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),h=Math.round(n-c.top)}if(a)g=Math.sqrt((2*c.width**2+c.height**2)/3),g%2==0&&(g+=1);else{let e=Math.max(Math.abs((s?s.clientWidth:0)-l),l)*2+2,t=Math.max(Math.abs((s?s.clientHeight:0)-h),h)*2+2;g=Math.sqrt(e**2+t**2)}e?.touches?f.current===null&&(f.current=()=>{m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},d.start(80,()=>{f.current&&=(f.current(),null)})):m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},[n,m,d]),g=V.useCallback(()=>{h({},{pulsate:!0})},[h]),_=V.useCallback((e,t)=>{if(d.clear(),e?.type===`touchend`&&f.current){f.current(),f.current=null,d.start(0,()=>{_(e,t)});return}f.current=null,s(e=>e.length>0?e.slice(1):e),l.current=t},[d]);return V.useImperativeHandle(t,()=>({pulsate:g,start:h,stop:_}),[g,h,_]),(0,H.jsx)(J_,{className:U(U_.root,r.root,i),ref:p,...a,children:(0,H.jsx)(Bs,{component:null,exit:!0,children:o})})});function Z_(e){return Pr(`MuiButtonBase`,e)}var Q_=Fr(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),$_=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=ta({root:[`root`,t&&`disabled`,n&&`focusVisible`]},Z_,i);return n&&r&&(a.root+=` ${r}`),a},ev=K(`button`,{name:`MuiButtonBase`,slot:`Root`})({display:`inline-flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,boxSizing:`border-box`,WebkitTapHighlightColor:`transparent`,backgroundColor:`transparent`,outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:`pointer`,userSelect:`none`,verticalAlign:`middle`,MozAppearance:`none`,WebkitAppearance:`none`,textDecoration:`none`,color:`inherit`,"&::-moz-focus-inner":{borderStyle:`none`},[`&.${Q_.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),tv=V.forwardRef(function(e,t){let n=Zo({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:o,component:s=`button`,disabled:c=!1,disableRipple:l=!1,disableTouchRipple:u=!1,focusRipple:d=!1,focusVisibleClassName:f,LinkComponent:p=`a`,onBlur:m,onClick:h,onContextMenu:g,onDragLeave:_,onFocus:v,onFocusVisible:y,onKeyDown:b,onKeyUp:x,onMouseDown:S,onMouseLeave:C,onMouseUp:w,onTouchEnd:T,onTouchMove:E,onTouchStart:D,tabIndex:O=0,TouchRippleProps:k,touchRippleRef:A,type:j,...M}=n,ee=V.useRef(null),N=B_(),te=Ks(N.ref,A),[P,ne]=V.useState(!1);c&&P&&ne(!1),V.useImperativeHandle(r,()=>({focusVisible:()=>{ne(!0),ee.current.focus()}}),[]);let re=N.shouldMount&&!l&&!c;V.useEffect(()=>{P&&d&&!l&&N.pulsate()},[l,d,P,N]);let F=nv(N,`start`,S,u),I=nv(N,`stop`,g,u),ie=nv(N,`stop`,_,u),ae=nv(N,`stop`,w,u),L=nv(N,`stop`,e=>{P&&e.preventDefault(),C&&C(e)},u),oe=nv(N,`start`,D,u),se=nv(N,`stop`,T,u),ce=nv(N,`stop`,E,u),R=nv(N,`stop`,e=>{R_(e.target)||ne(!1),m&&m(e)},!1),le=sl(e=>{ee.current||=e.currentTarget,R_(e.target)&&(ne(!0),y&&y(e)),v&&v(e)}),ue=()=>{let e=ee.current;return e?e.tagName!==`BUTTON`&&!(e.tagName===`A`&&e.href):s&&s!==`button`},z=sl(e=>{d&&!e.repeat&&P&&e.key===` `&&N.stop(e,()=>{N.start(e)}),e.target===e.currentTarget&&ue()&&e.key===` `&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&ue()&&e.key===`Enter`&&!c&&(e.preventDefault(),h&&h(e))}),de=sl(e=>{d&&e.key===` `&&P&&!e.defaultPrevented&&N.stop(e,()=>{N.pulsate(e)}),x&&x(e),h&&e.target===e.currentTarget&&ue()&&e.key===` `&&!e.defaultPrevented&&!c&&h(e)}),B=s;B===`button`&&(M.href||M.to)&&(B=p);let fe={};if(B===`button`){let e=!!M.formAction;fe.type=j===void 0&&!e?`button`:j,fe.disabled=c}else!M.href&&!M.to&&(fe.role=`button`),c&&(fe[`aria-disabled`]=c);let pe=Ks(t,ee),me={...n,centerRipple:i,component:s,disabled:c,disableRipple:l,disableTouchRipple:u,focusRipple:d,tabIndex:O,focusVisible:P},he=$_(me);return(0,H.jsxs)(ev,{as:B,className:U(he.root,o),ownerState:me,onBlur:R,onClick:h,onContextMenu:I,onFocus:le,onKeyDown:z,onKeyUp:de,onMouseDown:F,onMouseLeave:L,onMouseUp:ae,onDragLeave:ie,onTouchEnd:se,onTouchMove:ce,onTouchStart:oe,ref:pe,tabIndex:c?-1:O,type:j,...fe,...M,children:[a,re?(0,H.jsx)(X_,{ref:te,center:i,...k}):null]})});function nv(e,t,n,r=!1){return sl(i=>(n&&n(i),r||e[t](i),!0))}function rv(e){return typeof e.main==`string`}function iv(e,t=[]){if(!rv(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function av(e=[]){return([,t])=>t&&iv(t,e)}function ov(e){return Pr(`MuiCircularProgress`,e)}Fr(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`track`,`circle`,`circleDeterminate`,`circleIndeterminate`,`circleDisableShrink`]);var sv=44,cv=Nt`
158
+ `,J_=V.forwardRef(function(e,t){let{center:n=!1,classes:r={},className:i,...a}=Zo({props:e,name:`MuiTouchRipple`}),[o,s]=V.useState([]),c=V.useRef(0),l=V.useRef(null);V.useEffect(()=>{l.current&&=(l.current(),null)},[o]);let u=V.useRef(!1),d=ls(),f=V.useRef(null),p=V.useRef(null),m=V.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:i,rippleSize:a,cb:o}=e;s(e=>[...e,(0,H.jsx)(q_,{classes:{ripple:U(r.ripple,V_.ripple),rippleVisible:U(r.rippleVisible,V_.rippleVisible),ripplePulsate:U(r.ripplePulsate,V_.ripplePulsate),child:U(r.child,V_.child),childLeaving:U(r.childLeaving,V_.childLeaving),childPulsate:U(r.childPulsate,V_.childPulsate)},timeout:H_,pulsate:t,rippleX:n,rippleY:i,rippleSize:a},c.current)]),c.current+=1,l.current=o},[r]),h=V.useCallback((e={},t={},r=()=>{})=>{let{pulsate:i=!1,center:a=n||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&u.current){u.current=!1;return}e?.type===`touchstart`&&(u.current=!0);let s=o?null:p.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},l,h,g;if(a||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)l=Math.round(c.width/2),h=Math.round(c.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),h=Math.round(n-c.top)}if(a)g=Math.sqrt((2*c.width**2+c.height**2)/3),g%2==0&&(g+=1);else{let e=Math.max(Math.abs((s?s.clientWidth:0)-l),l)*2+2,t=Math.max(Math.abs((s?s.clientHeight:0)-h),h)*2+2;g=Math.sqrt(e**2+t**2)}e?.touches?f.current===null&&(f.current=()=>{m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},d.start(80,()=>{f.current&&=(f.current(),null)})):m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},[n,m,d]),g=V.useCallback(()=>{h({},{pulsate:!0})},[h]),_=V.useCallback((e,t)=>{if(d.clear(),e?.type===`touchend`&&f.current){f.current(),f.current=null,d.start(0,()=>{_(e,t)});return}f.current=null,s(e=>e.length>0?e.slice(1):e),l.current=t},[d]);return V.useImperativeHandle(t,()=>({pulsate:g,start:h,stop:_}),[g,h,_]),(0,H.jsx)(K_,{className:U(V_.root,r.root,i),ref:p,...a,children:(0,H.jsx)(Bs,{component:null,exit:!0,children:o})})});function Y_(e){return Pr(`MuiButtonBase`,e)}var X_=Fr(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),Z_=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=ta({root:[`root`,t&&`disabled`,n&&`focusVisible`]},Y_,i);return n&&r&&(a.root+=` ${r}`),a},Q_=K(`button`,{name:`MuiButtonBase`,slot:`Root`})({display:`inline-flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,boxSizing:`border-box`,WebkitTapHighlightColor:`transparent`,backgroundColor:`transparent`,outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:`pointer`,userSelect:`none`,verticalAlign:`middle`,MozAppearance:`none`,WebkitAppearance:`none`,textDecoration:`none`,color:`inherit`,"&::-moz-focus-inner":{borderStyle:`none`},[`&.${X_.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),$_=V.forwardRef(function(e,t){let n=Zo({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:o,component:s=`button`,disabled:c=!1,disableRipple:l=!1,disableTouchRipple:u=!1,focusRipple:d=!1,focusVisibleClassName:f,LinkComponent:p=`a`,onBlur:m,onClick:h,onContextMenu:g,onDragLeave:_,onFocus:v,onFocusVisible:y,onKeyDown:b,onKeyUp:x,onMouseDown:S,onMouseLeave:C,onMouseUp:w,onTouchEnd:T,onTouchMove:E,onTouchStart:D,tabIndex:O=0,TouchRippleProps:k,touchRippleRef:A,type:j,...M}=n,ee=V.useRef(null),N=R_(),te=Ks(N.ref,A),[P,ne]=V.useState(!1);c&&P&&ne(!1),V.useImperativeHandle(r,()=>({focusVisible:()=>{ne(!0),ee.current.focus()}}),[]);let re=N.shouldMount&&!l&&!c;V.useEffect(()=>{P&&d&&!l&&N.pulsate()},[l,d,P,N]);let F=ev(N,`start`,S,u),I=ev(N,`stop`,g,u),ie=ev(N,`stop`,_,u),ae=ev(N,`stop`,w,u),L=ev(N,`stop`,e=>{P&&e.preventDefault(),C&&C(e)},u),oe=ev(N,`start`,D,u),se=ev(N,`stop`,T,u),ce=ev(N,`stop`,E,u),R=ev(N,`stop`,e=>{I_(e.target)||ne(!1),m&&m(e)},!1),le=sl(e=>{ee.current||=e.currentTarget,I_(e.target)&&(ne(!0),y&&y(e)),v&&v(e)}),ue=()=>{let e=ee.current;return e?e.tagName!==`BUTTON`&&!(e.tagName===`A`&&e.href):s&&s!==`button`},z=sl(e=>{d&&!e.repeat&&P&&e.key===` `&&N.stop(e,()=>{N.start(e)}),e.target===e.currentTarget&&ue()&&e.key===` `&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&ue()&&e.key===`Enter`&&!c&&(e.preventDefault(),h&&h(e))}),de=sl(e=>{d&&e.key===` `&&P&&!e.defaultPrevented&&N.stop(e,()=>{N.pulsate(e)}),x&&x(e),h&&e.target===e.currentTarget&&ue()&&e.key===` `&&!e.defaultPrevented&&!c&&h(e)}),B=s;B===`button`&&(M.href||M.to)&&(B=p);let fe={};if(B===`button`){let e=!!M.formAction;fe.type=j===void 0&&!e?`button`:j,fe.disabled=c}else!M.href&&!M.to&&(fe.role=`button`),c&&(fe[`aria-disabled`]=c);let pe=Ks(t,ee),me={...n,centerRipple:i,component:s,disabled:c,disableRipple:l,disableTouchRipple:u,focusRipple:d,tabIndex:O,focusVisible:P},he=Z_(me);return(0,H.jsxs)(Q_,{as:B,className:U(he.root,o),ownerState:me,onBlur:R,onClick:h,onContextMenu:I,onFocus:le,onKeyDown:z,onKeyUp:de,onMouseDown:F,onMouseLeave:L,onMouseUp:ae,onDragLeave:ie,onTouchEnd:se,onTouchMove:ce,onTouchStart:oe,ref:pe,tabIndex:c?-1:O,type:j,...fe,...M,children:[a,re?(0,H.jsx)(J_,{ref:te,center:i,...k}):null]})});function ev(e,t,n,r=!1){return sl(i=>(n&&n(i),r||e[t](i),!0))}function tv(e){return typeof e.main==`string`}function nv(e,t=[]){if(!tv(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function rv(e=[]){return([,t])=>t&&nv(t,e)}function iv(e){return Pr(`MuiCircularProgress`,e)}Fr(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`track`,`circle`,`circleDeterminate`,`circleIndeterminate`,`circleDisableShrink`]);var av=44,ov=Nt`
159
159
  0% {
160
160
  transform: rotate(0deg);
161
161
  }
@@ -163,7 +163,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
163
163
  100% {
164
164
  transform: rotate(360deg);
165
165
  }
166
- `,lv=Nt`
166
+ `,sv=Nt`
167
167
  0% {
168
168
  stroke-dasharray: 1px, 200px;
169
169
  stroke-dashoffset: 0;
@@ -178,12 +178,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
178
178
  stroke-dasharray: 1px, 200px;
179
179
  stroke-dashoffset: -126px;
180
180
  }
181
- `,uv=typeof cv==`string`?null:Mt`
182
- animation: ${cv} 1.4s linear infinite;
183
- `,dv=typeof lv==`string`?null:Mt`
184
- animation: ${lv} 1.4s ease-in-out infinite;
185
- `,fv=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return ta({root:[`root`,n,`color${Qc(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,`circle${Qc(n)}`,i&&`circleDisableShrink`]},ov,t)},pv=K(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Qc(n.color)}`]]}})(Sc(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:uv||{animation:`${cv} 1.4s linear infinite`}},...Object.entries(e.palette).filter(av()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),mv=K(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),hv=K(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${Qc(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Sc(({theme:e})=>({stroke:`currentColor`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`stroke-dashoffset`)}},{props:{variant:`indeterminate`},style:{strokeDasharray:`80px, 200px`,strokeDashoffset:0}},{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:dv||{animation:`${lv} 1.4s ease-in-out infinite`}}]}))),gv=K(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(Sc(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),_v=V.forwardRef(function(e,t){let n=Zo({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,enableTrackSlot:o=!1,size:s=40,style:c,thickness:l=3.6,value:u=0,variant:d=`indeterminate`,...f}=n,p={...n,color:i,disableShrink:a,size:s,thickness:l,value:u,variant:d,enableTrackSlot:o},m=fv(p),h={},g={},_={};if(d===`determinate`){let e=2*Math.PI*((sv-l)/2);h.strokeDasharray=e.toFixed(3),_[`aria-valuenow`]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,g.transform=`rotate(-90deg)`}return(0,H.jsx)(pv,{className:U(m.root,r),style:{width:s,height:s,...g,...c},ownerState:p,ref:t,role:`progressbar`,..._,...f,children:(0,H.jsxs)(mv,{className:m.svg,ownerState:p,viewBox:`${sv/2} ${sv/2} ${sv} ${sv}`,children:[o?(0,H.jsx)(gv,{className:m.track,ownerState:p,cx:sv,cy:sv,r:(sv-l)/2,fill:`none`,strokeWidth:l,"aria-hidden":`true`}):null,(0,H.jsx)(hv,{className:m.circle,style:h,ownerState:p,cx:sv,cy:sv,r:(sv-l)/2,fill:`none`,strokeWidth:l})]})})});function vv(e){return Pr(`MuiButton`,e)}var yv=Fr(`MuiButton`,`root.text.textInherit.textPrimary.textSecondary.textSuccess.textError.textInfo.textWarning.outlined.outlinedInherit.outlinedPrimary.outlinedSecondary.outlinedSuccess.outlinedError.outlinedInfo.outlinedWarning.contained.containedInherit.containedPrimary.containedSecondary.containedSuccess.containedError.containedInfo.containedWarning.disableElevation.focusVisible.disabled.colorInherit.colorPrimary.colorSecondary.colorSuccess.colorError.colorInfo.colorWarning.textSizeSmall.textSizeMedium.textSizeLarge.outlinedSizeSmall.outlinedSizeMedium.outlinedSizeLarge.containedSizeSmall.containedSizeMedium.containedSizeLarge.sizeMedium.sizeSmall.sizeLarge.fullWidth.startIcon.endIcon.icon.iconSizeSmall.iconSizeMedium.iconSizeLarge.loading.loadingWrapper.loadingIconPlaceholder.loadingIndicator.loadingPositionCenter.loadingPositionStart.loadingPositionEnd`.split(`.`)),bv=V.createContext({}),xv=V.createContext(void 0),Sv=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=ta({root:[`root`,o&&`loading`,a,`${a}${Qc(t)}`,`size${Qc(i)}`,`${a}Size${Qc(i)}`,`color${Qc(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${Qc(s)}`],startIcon:[`icon`,`startIcon`,`iconSize${Qc(i)}`],endIcon:[`icon`,`endIcon`,`iconSize${Qc(i)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},vv,c);return{...c,...l}},Cv=[{props:{size:`small`},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:`medium`},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:`large`},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],wv=K(tv,{shouldForwardProp:e=>go(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Qc(n.color)}`],t[`size${Qc(n.size)}`],t[`${n.variant}Size${Qc(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Sc(({theme:e})=>{let t=e.palette.mode===`light`?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode===`light`?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:`6px 16px`,border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`,`color`],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:`none`},[`&.${yv.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.startIcon||e.loading&&e.loadingPosition===`start`,style:{"&::before":{content:`"\\200b"`,width:0,overflow:`hidden`}}},{props:{variant:`contained`},style:{color:`var(--variant-containedColor)`,backgroundColor:`var(--variant-containedBg)`,boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${yv.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${yv.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:`outlined`},style:{padding:`5px 15px`,border:`1px solid currentColor`,borderColor:`var(--variant-outlinedBorder, currentColor)`,backgroundColor:`var(--variant-outlinedBg)`,color:`var(--variant-outlinedColor)`,[`&.${yv.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:`text`},style:{padding:`6px 8px`,color:`var(--variant-textColor)`,backgroundColor:`var(--variant-textBg)`}},...Object.entries(e.palette).filter(av()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:`inherit`},style:{color:`inherit`,borderColor:`currentColor`,"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:`small`,variant:`text`},style:{padding:`4px 5px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`text`},style:{padding:`8px 11px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`outlined`},style:{padding:`3px 9px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`outlined`},style:{padding:`7px 21px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`contained`},style:{padding:`4px 10px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`contained`},style:{padding:`8px 22px`,fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:`none`,"&:hover":{boxShadow:`none`},[`&.${yv.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${yv.disabled}`]:{boxShadow:`none`}}},{props:{fullWidth:!0},style:{width:`100%`}},{props:{loadingPosition:`center`},style:{transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`],{duration:e.transitions.duration.short}),[`&.${yv.loading}`]:{color:`transparent`}}}]}})),Tv=K(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${Qc(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:8,marginLeft:-4,variants:[{props:{size:`small`},style:{marginLeft:-2}},{props:{loadingPosition:`start`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`start`,loading:!0,fullWidth:!0},style:{marginRight:-8}},...Cv]})),Ev=K(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${Qc(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:-4,marginLeft:8,variants:[{props:{size:`small`},style:{marginRight:-2}},{props:{loadingPosition:`end`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`end`,loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Cv]})),Dv=K(`span`,{name:`MuiButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,variants:[{props:{loading:!0},style:{display:`flex`}},{props:{loadingPosition:`start`},style:{left:14}},{props:{loadingPosition:`start`,size:`small`},style:{left:10}},{props:{variant:`text`,loadingPosition:`start`},style:{left:6}},{props:{loadingPosition:`center`},style:{left:`50%`,transform:`translate(-50%)`,color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:`end`},style:{right:14}},{props:{loadingPosition:`end`,size:`small`},style:{right:10}},{props:{variant:`text`,loadingPosition:`end`},style:{right:6}},{props:{loadingPosition:`start`,fullWidth:!0},style:{position:`relative`,left:-10}},{props:{loadingPosition:`end`,fullWidth:!0},style:{position:`relative`,right:-10}}]})),Ov=K(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),kv=V.forwardRef(function(e,t){let n=V.useContext(bv),r=V.useContext(xv),i=Zo({props:Jr(n,e),name:`MuiButton`}),{children:a,color:o=`primary`,component:s=`button`,className:c,disabled:l=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,id:h,loading:g=null,loadingIndicator:_,loadingPosition:v=`center`,size:y=`medium`,startIcon:b,type:x,variant:S=`text`,...C}=i,w=ol(h),T=_??(0,H.jsx)(_v,{"aria-labelledby":w,color:`inherit`,size:16}),E={...i,color:o,component:s,disabled:l,disableElevation:u,disableFocusRipple:d,fullWidth:m,loading:g,loadingIndicator:T,loadingPosition:v,size:y,type:x,variant:S},D=Sv(E),O=(b||g&&v===`start`)&&(0,H.jsx)(Tv,{className:D.startIcon,ownerState:E,children:b||(0,H.jsx)(Ov,{className:D.loadingIconPlaceholder,ownerState:E})}),k=(f||g&&v===`end`)&&(0,H.jsx)(Ev,{className:D.endIcon,ownerState:E,children:f||(0,H.jsx)(Ov,{className:D.loadingIconPlaceholder,ownerState:E})}),A=r||``,j=typeof g==`boolean`?(0,H.jsx)(`span`,{className:D.loadingWrapper,style:{display:`contents`},children:g&&(0,H.jsx)(Dv,{className:D.loadingIndicator,ownerState:E,children:T})}):null,{root:M,...ee}=D;return(0,H.jsxs)(wv,{ownerState:E,className:U(n.className,D.root,c,A),component:s,disabled:l||g,focusRipple:!d,focusVisibleClassName:U(D.focusVisible,p),ref:t,type:x,id:g?w:h,...C,classes:ee,children:[O,v!==`end`&&j,a,v===`end`&&j,k]})}),Av=rl((0,H.jsx)(`path`,{d:`M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z`}),`Restore`),jv=rl((0,H.jsx)(`path`,{d:`M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8`}),`Undo`),Mv=K(`div`)({display:`flex`,flexDirection:`column`}),Nv=K(`div`)({display:`flex`,alignItems:`center`,justifyContent:`center`}),Pv=K(`div`)(({theme:e})=>({width:`24px`,height:`24px`,color:`gray`,marginRight:e.spacing(1),display:`flex`,alignItems:`center`})),Fv=K(kv)(({theme:e})=>({display:`flex`,alignItems:`center`,marginLeft:e.spacing(3),marginRight:e.spacing(3)})),Iv=e=>{class t extends V.Component{static propTypes={session:x.object,onSessionChange:x.func};constructor(e){super(e),this.state={sessionInitialValues:JSON.parse(JSON.stringify(e.session)),session:e.session,changes:[]}}onSessionChange=e=>{this.setState(t=>({session:e,changes:[...t.changes,e]}),()=>this.props.onSessionChange(e))};onUndo=()=>{this.setState(e=>{let t=[...e.changes];return t.pop(),{changes:t,session:t.length?t[t.length-1]:e.sessionInitialValues}},()=>this.props.onSessionChange(this.state.session))};onReset=()=>{this.setState(e=>({session:e.sessionInitialValues,changes:[]}),()=>this.props.onSessionChange(this.state.sessionInitialValues))};render(){let{...t}=this.props,{changes:n,session:r}=this.state;return(0,H.jsxs)(Mv,{children:[(0,H.jsxs)(Nv,{children:[(0,H.jsxs)(Fv,{color:`primary`,disabled:n.length===0,onClick:this.onUndo,children:[(0,H.jsx)(Pv,{children:(0,H.jsx)(jv,{})}),`Undo`]}),(0,H.jsxs)(Fv,{color:`primary`,disabled:n.length===0,onClick:this.onReset,children:[(0,H.jsx)(Pv,{children:(0,H.jsx)(Av,{})}),`Start Over`]})]}),(0,H.jsx)(e,{...t,session:r,onSessionChange:this.onSessionChange})]})}}return t},Lv=fo({typography:{fontFamily:`inherit`},palette:{action:{disabled:`rgba(0, 0, 0, 0.54);`}},components:{MuiTypography:{styleOverrides:{root:{fontFamily:`inherit`}}},MuiButton:{styleOverrides:{contained:{backgroundColor:`#e0e0e0`,color:`#000000`,"&:hover":{backgroundColor:`#bdbdbd`}}}}}}),Rv=K(`div`)({"& table, th, td":{fontSize:`inherit`}}),zv=class extends V.Component{static propTypes={className:x.string,children:x.array,extraCSSRules:x.shape({names:x.arrayOf(x.string),rules:x.string}),fontSizeFactor:x.number};static defaultProps={extraCSSRules:{},fontSizeFactor:1};constructor(e){super(e),this.classesSheet=document.createElement(`style`)}scopeClass=j_(`extra-css-rules`);computeStyle(e){let t=e=>parseFloat(getComputedStyle(e).fontSize),n=t(document.documentElement),r=t(document.body),i=Math.max(n,r),a=e!=null&&typeof e==`number`?e:1;return a===1?null:{fontSize:`${i*a}px`}}render(){let{children:e,className:t,fontSizeFactor:n,...r}=this.props,{extraCSSRules:i,...a}=r,o=this.computeStyle(n);return(0,H.jsx)(Yt,{injectFirst:!0,children:(0,H.jsxs)(Co,{theme:Lv,children:[i?.rules?(0,H.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`.${this.scopeClass} { ${i.rules} }`}}):null,(0,H.jsx)(Rv,{className:`${t} extraCSSRules ${this.scopeClass}`,...a,...o&&{style:o},children:e})]})})}},Bv=K(zv)({display:`flex`,flexDirection:`column`,position:`relative`}),Vv=class extends V.Component{static propTypes={ariaLabel:x.string,children:x.oneOfType([x.arrayOf(x.node),x.node]).isRequired,role:x.string,extraCSSRules:x.shape({names:x.arrayOf(x.string),rules:x.string}),fontSizeFactor:x.number};render(){let{children:e,ariaLabel:t,role:n,extraCSSRules:r,fontSizeFactor:i,classes:a}=this.props;return(0,H.jsx)(Bv,{...t?{"aria-label":t,role:n}:{},extraCSSRules:r,fontSizeFactor:i,classes:a,children:e})}},Hv=class extends V.Component{static propTypes={tag:x.string,className:x.string,html:x.string};static defaultProps={tag:`div`,html:``};render(){let{tag:e,className:t,html:n}=this.props;return(0,H.jsx)(e||`div`,{ref:e=>this.node=e,className:t,dangerouslySetInnerHTML:{__html:Rd(n)}})}};function Uv({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&e[r]===void 0&&(t[r]=n[r]),t),{})}var Wv=V.createContext(void 0);function Gv(){return V.useContext(Wv)}function Kv(e){return Pr(`MuiFormLabel`,e)}var qv=Fr(`MuiFormLabel`,[`root`,`colorSecondary`,`focused`,`disabled`,`error`,`filled`,`required`,`asterisk`]),Jv=e=>{let{classes:t,color:n,focused:r,disabled:i,error:a,filled:o,required:s}=e;return ta({root:[`root`,`color${Qc(n)}`,i&&`disabled`,a&&`error`,o&&`filled`,r&&`focused`,s&&`required`],asterisk:[`asterisk`,a&&`error`]},Kv,t)},Yv=K(`label`,{name:`MuiFormLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color===`secondary`&&t.colorSecondary,n.filled&&t.filled]}})(Sc(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:`1.4375em`,padding:0,position:`relative`,variants:[...Object.entries(e.palette).filter(av()).map(([t])=>({props:{color:t},style:{[`&.${qv.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${qv.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${qv.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),Xv=K(`span`,{name:`MuiFormLabel`,slot:`Asterisk`})(Sc(({theme:e})=>({[`&.${qv.error}`]:{color:(e.vars||e).palette.error.main}}))),Zv=V.forwardRef(function(e,t){let n=Zo({props:e,name:`MuiFormLabel`}),{children:r,className:i,color:a,component:o=`label`,disabled:s,error:c,filled:l,focused:u,required:d,...f}=n,p=Uv({props:n,muiFormControl:Gv(),states:[`color`,`required`,`focused`,`disabled`,`error`,`filled`]}),m={...n,color:p.color||`primary`,component:o,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},h=Jv(m);return(0,H.jsxs)(Yv,{as:o,ownerState:m,className:U(h.root,i),ref:t,...f,children:[r,p.required&&(0,H.jsxs)(Xv,{ownerState:m,"aria-hidden":!0,className:h.asterisk,children:[` `,`*`]})]})});function Qv(e){return Pr(`MuiInputLabel`,e)}Fr(`MuiInputLabel`,[`root`,`focused`,`disabled`,`error`,`required`,`asterisk`,`formControl`,`sizeSmall`,`shrink`,`animated`,`standard`,`filled`,`outlined`]);var $v=e=>{let{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:o,required:s}=e,c=ta({root:[`root`,n&&`formControl`,!a&&`animated`,i&&`shrink`,r&&r!==`medium`&&`size${Qc(r)}`,o],asterisk:[s&&`asterisk`]},Qv,t);return{...t,...c}},ey=K(Zv,{shouldForwardProp:e=>go(e)||e===`classes`,name:`MuiInputLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${qv.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size===`small`&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Sc(({theme:e})=>({display:`block`,transformOrigin:`top left`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`100%`,variants:[{props:({ownerState:e})=>e.formControl,style:{position:`absolute`,left:0,top:0,transform:`translate(0, 20px) scale(1)`}},{props:{size:`small`},style:{transform:`translate(0, 17px) scale(1)`}},{props:({ownerState:e})=>e.shrink,style:{transform:`translate(0, -1.5px) scale(0.75)`,transformOrigin:`top left`,maxWidth:`133%`}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create([`color`,`transform`,`max-width`],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:`filled`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(12px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`filled`,size:`small`},style:{transform:`translate(12px, 13px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`filled`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,transform:`translate(12px, 7px) scale(0.75)`,maxWidth:`calc(133% - 24px)`}},{props:({variant:e,ownerState:t,size:n})=>e===`filled`&&t.shrink&&n===`small`,style:{transform:`translate(12px, 4px) scale(0.75)`}},{props:{variant:`outlined`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(14px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`outlined`,size:`small`},style:{transform:`translate(14px, 9px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`outlined`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,maxWidth:`calc(133% - 32px)`,transform:`translate(14px, -9px) scale(0.75)`}}]}))),ty=V.forwardRef(function(e,t){let n=Zo({name:`MuiInputLabel`,props:e}),{disableAnimation:r=!1,margin:i,shrink:a,variant:o,className:s,...c}=n,l=Gv(),u=a;u===void 0&&l&&(u=l.filled||l.focused||l.adornedStart);let d=Uv({props:n,muiFormControl:l,states:[`size`,`variant`,`required`,`focused`]}),f={...n,disableAnimation:r,formControl:l,shrink:u,size:d.size,variant:d.variant,required:d.required,focused:d.focused},p=$v(f);return(0,H.jsx)(ey,{"data-shrink":u,ref:t,className:U(p.root,s),...c,ownerState:f,classes:p})});function ny(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function ry(e,t=!1){return e&&(ny(e.value)&&e.value!==``||t&&ny(e.defaultValue)&&e.defaultValue!==``)}function iy(e){return e.startAdornment}function ay(e){return Pr(`MuiFormControl`,e)}Fr(`MuiFormControl`,[`root`,`marginNone`,`marginNormal`,`marginDense`,`fullWidth`,`disabled`]);var oy=e=>{let{classes:t,margin:n,fullWidth:r}=e;return ta({root:[`root`,n!==`none`&&`margin${Qc(n)}`,r&&`fullWidth`]},ay,t)},sy=K(`div`,{name:`MuiFormControl`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`margin${Qc(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:`inline-flex`,flexDirection:`column`,position:`relative`,minWidth:0,padding:0,margin:0,border:0,verticalAlign:`top`,variants:[{props:{margin:`normal`},style:{marginTop:16,marginBottom:8}},{props:{margin:`dense`},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:`100%`}}]}),cy=K(V.forwardRef(function(e,t){let n=Zo({props:e,name:`MuiFormControl`}),{children:r,className:i,color:a=`primary`,component:o=`div`,disabled:s=!1,error:c=!1,focused:l,fullWidth:u=!1,hiddenLabel:d=!1,margin:f=`none`,required:p=!1,size:m=`medium`,variant:h=`outlined`,...g}=n,_={...n,color:a,component:o,disabled:s,error:c,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:m,variant:h},v=oy(_),[y,b]=V.useState(()=>{let e=!1;return r&&V.Children.forEach(r,t=>{if(!il(t,[`Input`,`Select`]))return;let n=il(t,[`Select`])?t.props.input:t;n&&iy(n.props)&&(e=!0)}),e}),[x,S]=V.useState(()=>{let e=!1;return r&&V.Children.forEach(r,t=>{il(t,[`Input`,`Select`])&&(ry(t.props,!0)||ry(t.props.inputProps,!0))&&(e=!0)}),e}),[C,w]=V.useState(!1);s&&C&&w(!1);let T=l!==void 0&&!s?l:C;V.useRef(!1);let E=V.useCallback(()=>{S(!0)},[]),D=V.useCallback(()=>{S(!1)},[]),O=V.useMemo(()=>({adornedStart:y,setAdornedStart:b,color:a,disabled:s,error:c,filled:x,focused:T,fullWidth:u,hiddenLabel:d,size:m,onBlur:()=>{w(!1)},onFocus:()=>{w(!0)},onEmpty:D,onFilled:E,registerEffect:void 0,required:p,variant:h}),[y,a,s,c,x,T,u,d,void 0,D,E,p,m,h]);return(0,H.jsx)(Wv.Provider,{value:O,children:(0,H.jsx)(sy,{as:o,ownerState:_,className:U(v.root,i),ref:t,...g,children:r})})}))(({theme:e})=>({margin:0,padding:0,flex:`1 0 auto`,minWidth:e.spacing(4)})),ly=K(ty)(()=>({fontSize:`inherit`,whiteSpace:`nowrap`,margin:0,padding:0,alignSelf:`flex-start`,position:`absolute`,top:0,left:0,transformOrigin:`top left`,pointerEvents:`none`,"&.MuiInputLabel-shrink":{transform:`scale(0.75) translate(0, -0.75em)`},"&:not(.MuiInputLabel-shrink)":{transform:`translate(0, 0)`}})),uy=({label:e,className:t,children:n})=>(0,H.jsxs)(cy,{className:t,children:[(0,H.jsx)(ly,{shrink:!0,children:e}),n]});uy.propTypes={label:x.oneOfType([x.string,x.object]).isRequired,className:x.string,children:x.oneOfType([x.arrayOf(x.node),x.node]).isRequired};var{translator:dy}=A_,fy=`pie-prompt-audio-player`,py=`play-audio-button`,my=e=>`&:not(.MathJax) > table${e}, &:not(.MathJax) > .pie-table-scroll > table${e}`,hy=K(`div`)(({theme:e,tagName:t})=>({[`& .${py}:focus-visible`]:{outline:`2px solid ${Pf()}`,outlineOffset:`2px`},[my(`:not([role="presentation"])`)]:{borderCollapse:`collapse`},'&:not(.MathJax) table[border]:not([role="presentation"]), &:not(.MathJax) table[border]:not([role="presentation"]) td, &:not(.MathJax) table[border]:not([role="presentation"]) th':{borderStyle:`solid`,borderColor:Cf()},[my(`:not([role="presentation"]):has(tbody tr > th:first-child):not(:has(tbody tr > td:first-child)) tbody td:nth-child(even)`)]:{backgroundColor:Tf()},[my(`:not([role="presentation"]):has(tbody tr > td:first-child) tbody tr:nth-child(even) td`)]:{backgroundColor:Tf()},'&:not(.MathJax) table:not([role="presentation"]) td, &:not(.MathJax) table:not([role="presentation"]) th':{padding:`.6em 1em`,textAlign:`left`},[my(` td > p.kds-indent`)]:{textAlign:`initial`},"&.prompt":{verticalAlign:`middle`,color:Ud()},"&.legend":{width:`100%`,fontSize:`inherit !important`},"&.rationale":{paddingLeft:e.spacing(4),paddingBottom:e.spacing(1)},"&.prompt-label":{color:`${Ud()} !important`,display:`flex`,flexDirection:`column`,verticalAlign:`middle`,cursor:`pointer`,"& > p":{margin:`0 0 0 0 !important`}}})),gy=/\\embed\{newLine\}\[\]/g,_y=`\\newline `,vy=`preview-prompt`,yy=class extends V.Component{static propTypes={prompt:x.string,tagName:x.string,className:x.string,onClick:x.func,defaultClassName:x.string,autoplayAudioEnabled:x.bool,customAudioButton:x.shape({playImage:x.string,pauseImage:x.string}),language:x.string};static defaultProps={onClick:()=>{}};promptRef=V.createRef();audioId=j_(fy);playButtonId=j_(py);parsedText=e=>{let{autoplayAudioEnabled:t,customAudioButton:n,language:r}=this.props,i=document.createElement(`div`);i.innerHTML=Rd(e);let a=i.querySelector(`audio`);if(a){let e=document.createElement(`source`);if(e.setAttribute(`type`,`audio/mp3`),e.setAttribute(`src`,a.getAttribute(`src`)),a.removeAttribute(`src`),a.id=this.audioId,a.classList.add(fy),a.appendChild(e),n){a.style.display=`none`;let e=document.createElement(`button`);e.setAttribute(`type`,`button`),e.setAttribute(`aria-label`,dy.t(`common:playAudio`,{lng:r})),e.id=this.playButtonId,e.className=py,Object.assign(e.style,{cursor:`pointer`,display:`block`,width:`128px`,height:`128px`,margin:`0`,padding:`0`,font:`inherit`,backgroundColor:`transparent`,backgroundImage:`url(${t?n.pauseImage:n.playImage})`,backgroundSize:`cover`,borderRadius:`50%`,border:`1px solid #326295`}),a.parentNode.insertBefore(e,a)}}return i.innerHTML};addCustomAudioButtonControls(){let{autoplayAudioEnabled:e,customAudioButton:t}=this.props,n=this.promptRef.current,r=n?.querySelector(`.${py}`),i=n?.querySelector(`.${fy}`);if(e&&i&&i.play().then(()=>{r&&t&&i.addEventListener(`ended`,o)}).catch(e=>{r&&t&&(r.style.backgroundImage=`url(${t.playImage})`),console.error(`Error playing audio`,e)}),!r||!i||!t)return;let a=()=>{i.paused&&i.play()},o=()=>{r.style.backgroundImage=`url(${t.playImage})`},s=()=>{Object.assign(r.style,{backgroundImage:`url(${t.pauseImage})`,border:`1px solid #ccc`})},c=()=>{Object.assign(r.style,{backgroundImage:`url(${t.playImage})`,border:`1px solid #326295`})};r.addEventListener(`click`,a),i.addEventListener(`play`,s),i.addEventListener(`pause`,c),i.addEventListener(`ended`,o),this._playButton=r,this._audio=i,this._handlePlayClick=a,this._handleAudioPlay=s,this._handleAudioPause=c,this._handleAudioEnded=o}removeCustomAudioButtonListeners(){let e=this._playButton,t=this._audio;!e||!t||(e.removeEventListener(`click`,this._handlePlayClick),t.removeEventListener(`play`,this._handleAudioPlay),t.removeEventListener(`pause`,this._handleAudioPause),t.removeEventListener(`ended`,this._handleAudioEnded))}componentDidMount(){this.alignImages(),this.addCustomAudioButtonControls(),this.setupMathRendering()}componentDidUpdate(e){this.alignImages(),e.prompt!==this.props.prompt&&this.renderMathContent()}componentWillUnmount(){this.removeCustomAudioButtonListeners()}setupMathRendering(){this.renderMathContent()}renderMathContent(){let e=this.promptRef.current;e&&typeof Dg==`function`&&Dg(e)}alignImages(){let e=this.promptRef.current;if(!e)return;let t=e.getElementsByTagName(`img`);if(t&&t.length){for(let e of t)if(e.attributes&&e.attributes.alignment&&e.attributes.alignment.value){let t=e.attributes.alignment.value,n=t===`center`?`center`:t===`right`?`flex-end`:`flex-start`,r=e.parentElement;if(r.tagName===`DIV`&&r.style.display===`flex`&&r.style.width===`100%`)r.style.justifyContent=n;else{let t=document.createElement(`div`);t.style.display=`flex`,t.style.width=`100%`,t.style.justifyContent=n;let i=e.cloneNode(!0);t.appendChild(i),r.replaceChild(t,e)}}}}render(){let{prompt:e,tagName:t,className:n,onClick:r,defaultClassName:i}=this.props,a=`${n||``} ${i||``} ${t===`legend`?`legend`:``} ${vy}`.trim();return(0,H.jsx)(hy,{as:t||`div`,ref:this.promptRef,onClick:r,className:a,tagName:t,dangerouslySetInnerHTML:{__html:this.parsedText(e||``).replace(gy,_y)}})}},by=e=>(0,H.jsx)(H.Fragment,{children:V.Children.map(e.children,t=>V.cloneElement(t,{"data-pie-readable":e.false===void 0}))});by.propTypes={children:x.node,false:x.bool};var xy=e=>(0,H.jsx)(H.Fragment,{children:V.Children.map(e.children,t=>V.cloneElement(t,{"data-pie-purpose":e.purpose}))});xy.propTypes={children:x.node,purpose:x.string};var Sy;typeof window<`u`&&(Sy=new DOMParser);var Cy=e=>Sy.parseFromString(e,`text/html`).body.textContent,wy=e=>{if(!e)return!1;let t=Cy(e);return!!(t&&t.trim())},Ty;typeof window<`u`&&(Ty=new DOMParser);var Ey=e=>{if(!e)return!1;let t=Ty.parseFromString(e,`text/html`);return!!t.body.querySelector(`img`)||!!t.body.querySelector(`video`)||!!t.body.querySelector(`audio`)},Dy=`data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAJYAyADAREAAhEBAxEB/8QAHgABAQABBQEBAQAAAAAAAAAAAAEIAgMGBwkEBQr/xABiEAACAQIDBAMKCAYMCgYLAQAAAQIDEQQFIQYSMUEHCFETFRYiUmFxkdHhCRRjgaGisfAXMjRTcsEjJDY4QmJ1dpKztMQYM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AAAAETuk1zAoE1vx0AoAAAAARJLRKwFAAAAAAAAAAAEbSTbdkuLAoEV+aAoAABLa3AoAAAAAAAAAAAAAAACJ8dLW+kCgAJbW9/mAoAAAAARtKyb48AKAAAAAAAAAAAAEStzuBQAACX1tb5wKAAAAAAAAAAAAAAAAiSSSSslwQFAmt+OgFAAAAACJ3AoAAAAAAAAAAAARq9vMBQAACa34aAUAAAAAAETTuk+HECgAAAAAAAAAEavzsBQAAABG7crgUAAAAAAAAAAAAAACJJXaXHiBQAE1vx0AoAAAAAf/Z`;function Oy(e=``,t=2){if(!e)return e;let n=new DOMParser().parseFromString(e,`text/html`);return n.body.querySelectorAll(`[data-heading]`).forEach(e=>{let r=e.getAttribute(`data-heading`)||``,i=parseInt(r.replace(`heading`,``),10);if(!Number.isFinite(i))return;let a=Math.min(6,Math.max(1,t+i-1)),o=n.createElement(`h${a}`);o.setAttribute(`data-heading`,r),Array.from(e.attributes).forEach(e=>{e.name!==`data-heading`&&o.setAttribute(e.name,e.value)}),o.innerHTML=e.innerHTML,e.replaceWith(o)}),n.body.innerHTML}function ky(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:wc(n,r),{props:s,internalRef:c}=Dc({...a,externalSlotProps:o}),l=Gs(c,o?.ref,e.additionalProps?.ref);return Cc(t,{...s,ref:l},r)}var Ay=V.createContext({});function jy(e){return Pr(`MuiList`,e)}Fr(`MuiList`,[`root`,`padding`,`dense`,`subheader`]);var My=e=>{let{classes:t,disablePadding:n,dense:r,subheader:i}=e;return ta({root:[`root`,!n&&`padding`,r&&`dense`,i&&`subheader`]},jy,t)},Ny=K(`ul`,{name:`MuiList`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:`none`,margin:0,padding:0,position:`relative`,variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Py=V.forwardRef(function(e,t){let n=Zo({props:e,name:`MuiList`}),{children:r,className:i,component:a=`ul`,dense:o=!1,disablePadding:s=!1,subheader:c,...l}=n,u=V.useMemo(()=>({dense:o}),[o]),d={...n,component:a,dense:o,disablePadding:s},f=My(d);return(0,H.jsx)(Ay.Provider,{value:u,children:(0,H.jsxs)(Ny,{as:a,className:U(f.root,i),ref:t,ownerState:d,...l,children:[c,r]})})}),Fy=Zs;function Iy(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Ly(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Ry(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(``))}function zy(e,t,n,r,i,a){let o=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(o)return!1;o=!0}let t=r?!1:s.disabled||s.getAttribute(`aria-disabled`)===`true`;if(!s.hasAttribute(`tabindex`)||!Ry(s,a)||t)s=i(e,s,n);else return s.focus(),!0}return!1}var By=V.forwardRef(function(e,t){let{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:a,className:o,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:l,variant:u=`selectedMenu`,...d}=e,f=V.useRef(null),p=V.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});al(()=>{r&&f.current.focus()},[r]),V.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){let n=`${Fy(rs(e))}px`;f.current.style[t===`rtl`?`paddingLeft`:`paddingRight`]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}}),[]);let m=e=>{let t=f.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey){l&&l(e);return}let r=uc(ts(t));if(n===`ArrowDown`)e.preventDefault(),zy(t,r,c,s,Iy);else if(n===`ArrowUp`)e.preventDefault(),zy(t,r,c,s,Ly);else if(n===`Home`)e.preventDefault(),zy(t,null,c,s,Iy);else if(n===`End`)e.preventDefault(),zy(t,null,c,s,Ly);else if(n.length===1){let i=p.current,a=n.toLowerCase(),o=performance.now();i.keys.length>0&&(o-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&a!==i.keys[0]&&(i.repeating=!1)),i.lastTime=o,i.keys.push(a);let c=r&&!i.repeating&&Ry(r,i);i.previousKeyMatched&&(c||zy(t,r,!1,s,Iy,i))?e.preventDefault():i.previousKeyMatched=!1}l&&l(e)},h=Ks(f,t),g=-1;V.Children.forEach(a,(e,t)=>{if(!V.isValidElement(e)){g===t&&(g+=1,g>=a.length&&(g=-1));return}e.props.disabled||(u===`selectedMenu`&&e.props.selected||g===-1)&&(g=t),g===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(g+=1,g>=a.length&&(g=-1))});let _=V.Children.map(a,(e,t)=>{if(t===g){let t={};return i&&(t.autoFocus=!0),e.props.tabIndex===void 0&&u===`selectedMenu`&&(t.tabIndex=0),V.cloneElement(e,t)}return e});return(0,H.jsx)(Py,{role:`menu`,ref:h,className:o,onKeyDown:m,tabIndex:r?0:-1,...d,children:_})});function Vy(e){return Pr(`MuiMenu`,e)}Fr(`MuiMenu`,[`root`,`paper`,`list`]);var Hy={vertical:`top`,horizontal:`right`},Uy={vertical:`top`,horizontal:`left`},Wy=e=>{let{classes:t}=e;return ta({root:[`root`],paper:[`paper`],list:[`list`]},Vy,t)},Gy=K(_l,{shouldForwardProp:e=>go(e)||e===`classes`,name:`MuiMenu`,slot:`Root`})({}),Ky=K(gl,{name:`MuiMenu`,slot:`Paper`})({maxHeight:`calc(100% - 96px)`,WebkitOverflowScrolling:`touch`}),qy=K(By,{name:`MuiMenu`,slot:`List`})({outline:0}),Jy=V.forwardRef(function(e,t){let n=Zo({props:e,name:`MuiMenu`}),{autoFocus:r=!0,children:i,className:a,disableAutoFocusItem:o=!1,MenuListProps:s={},onClose:c,open:l,PaperProps:u={},PopoverClasses:d,transitionDuration:f=`auto`,TransitionProps:{onEntering:p,...m}={},variant:h=`selectedMenu`,slots:g={},slotProps:_={},...v}=n,y=bi(),b={...n,autoFocus:r,disableAutoFocusItem:o,MenuListProps:s,onEntering:p,PaperProps:u,transitionDuration:f,TransitionProps:m,variant:h},x=Wy(b),S=r&&!o&&l,C=V.useRef(null),w=(e,t)=>{C.current&&C.current.adjustStyleForScrollbar(e,{direction:y?`rtl`:`ltr`}),p&&p(e,t)},T=e=>{e.key===`Tab`&&(e.preventDefault(),c&&c(e,`tabKeyDown`))},E=-1;V.Children.map(i,(e,t)=>{V.isValidElement(e)&&(e.props.disabled||(h===`selectedMenu`&&e.props.selected||E===-1)&&(E=t))});let D={slots:g,slotProps:{list:s,transition:m,paper:u,..._}},O=ky({elementType:g.root,externalSlotProps:_.root,ownerState:b,className:[x.root,a]}),[k,A]=Oc(`paper`,{className:x.paper,elementType:Ky,externalForwardedProps:D,shouldForwardComponentProp:!0,ownerState:b}),[j,M]=Oc(`list`,{className:U(x.list,s.className),elementType:qy,shouldForwardComponentProp:!0,externalForwardedProps:D,getSlotProps:e=>({...e,onKeyDown:t=>{T(t),e.onKeyDown?.(t)}}),ownerState:b}),ee=typeof D.slotProps.transition==`function`?D.slotProps.transition(b):D.slotProps.transition;return(0,H.jsx)(Gy,{onClose:c,anchorOrigin:{vertical:`bottom`,horizontal:y?`right`:`left`},transformOrigin:y?Hy:Uy,slots:{root:g.root,paper:k,backdrop:g.backdrop,...g.transition&&{transition:g.transition}},slotProps:{root:O,paper:A,backdrop:typeof _.backdrop==`function`?_.backdrop(b):_.backdrop,transition:{...ee,onEntering:(...e)=>{w(...e),ee?.onEntering?.(...e)}}},open:l,ref:t,transitionDuration:f,ownerState:b,...v,classes:d,children:(0,H.jsx)(j,{actions:C,autoFocus:r&&(E===-1||o),autoFocusItem:S,variant:h,...M,children:i})})}),Yy=({slotProps:e,...t})=>(0,H.jsx)(Jy,{...t,disableScrollLock:!0,slotProps:{...e,root:{...e?.root,style:{backgroundColor:`transparent`,...e?.root?.style}},backdrop:{invisible:!0,...e?.backdrop}}});function Xy(e,t){let[n,r]=(0,V.useState)(),i=(0,V.useRef)({node:null,observer:null}),a=(0,V.useRef)(t);return a.current=t,(0,V.useLayoutEffect)(()=>{let t=i.current,n=e.current;if(n===t.node)return;if(t.observer?.disconnect(),t.observer=null,t.node=n,!n){r(void 0);return}let o=()=>r(n.querySelector(`math`)?mg(n,{speak:a.current}):void 0);o(),!(typeof MutationObserver>`u`)&&(t.observer=new MutationObserver(o),t.observer.observe(n,{childList:!0,subtree:!0,characterData:!0}))}),(0,V.useLayoutEffect)(()=>()=>{i.current.observer?.disconnect(),i.current={node:null,observer:null}},[]),n}function Zy({speak:e,children:t}){let n=(0,V.useRef)(null);return(0,H.jsx)(H.Fragment,{children:t(Xy(n,e),n)})}var Qy=s({Collapsible:()=>L_,EnableAudioAutoplayImage:()=>Dy,Feedback:()=>np,HtmlAndMath:()=>Hv,InlineMenu:()=>Yy,InputContainer:()=>uy,MathName:()=>Zy,PreviewLayout:()=>Vv,PreviewPrompt:()=>yy,Purpose:()=>xy,Readable:()=>by,UiLayout:()=>zv,color:()=>Vd,createUniqueId:()=>j_,hasMedia:()=>Ey,hasText:()=>wy,indicators:()=>rp,transformDataHeadings:()=>Oy,useMathName:()=>Xy,useUniqueId:()=>M_,withUndoReset:()=>Iv}),$y=Hd(`pie`)(`background`,X.WHITE),eb=K(`div`)(({theme:e})=>({"&.placeholder":{WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,MsUserSelect:`none`,userSelect:`none`,width:`100%`,height:`100%`,background:$y,transition:`background-color 200ms linear, border-color 200ms linear`,boxSizing:`border-box`,display:`grid`,gridRowGap:e.spacing(1),gridColumnGap:e.spacing(1),padding:e.spacing(1),border:`2px dashed ${xf()}`},"&.placeholderDisabled":{boxShadow:`none`,background:$y},"&.over":{border:`1px solid ${yf()}`,backgroundColor:pf()},"&.board":{padding:e.spacing(1),display:`flex`,flexWrap:`wrap`,alignItems:`center`,minHeight:`100px`,justifyContent:`center`,overflow:`hidden`,touchAction:`none`,backgroundColor:gf()},"&.categorizeBoard":{padding:e.spacing(.5),display:`flex`,flexWrap:`wrap`,alignItems:`center`,minHeight:`100px`,justifyContent:`center`,overflow:`hidden`,touchAction:`none`,backgroundColor:gf()},"&.verticalPool":{display:`flex`,flexFlow:`column wrap`}})),tb=e=>{let{children:t,className:n,isOver:r,type:i,grid:a,disabled:o,choiceBoard:s,isCategorize:c,isVerticalPool:l,minHeight:u,extraStyles:d}=e,f=U(`placeholder`,o&&`placeholderDisabled`,r&&`over`,i,n),p={};if(a&&a.columns&&(p.gridTemplateColumns=`repeat(${a.columns}, 1fr)`),a&&a.rows){let e=a.rowsRepeatValue||`1fr`;p.gridTemplateRows=`repeat(${a.rows}, ${e})`}i===`choice`&&(p.border=`1px solid ${xf()}`,p.background=gf());let m=c?`categorizeBoard`:`board`;return(0,H.jsx)(eb,{style:{...p,minHeight:u,...d},className:U(s?m:f,l&&`verticalPool`),children:t})};tb.propTypes={choiceBoard:x.bool,grid:x.shape({columns:x.number,rows:x.number,rowsRepeatValue:x.string}),children:x.oneOfType([x.arrayOf(x.node),x.node]).isRequired,className:x.string,isOver:x.bool,index:x.number,type:x.string,disabled:x.bool,isCategorize:x.bool,isVerticalPool:x.bool,minHeight:x.number};var nb=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function rb(e){let t=Object.prototype.toString.call(e);return t===`[object Window]`||t===`[object global]`}function ib(e){return`nodeType`in e}function ab(e){return e?rb(e)?e:ib(e)?e.ownerDocument?.defaultView??window:window:window}function ob(e){let{Document:t}=ab(e);return e instanceof t}function sb(e){return!rb(e)&&e instanceof ab(e).HTMLElement}function cb(e){return e instanceof ab(e).SVGElement}function lb(e){return e?rb(e)?e.document:ib(e)?ob(e)?e:sb(e)||cb(e)?e.ownerDocument:document:document:document}var ub=nb?V.useLayoutEffect:V.useEffect;function db(e){let t=(0,V.useRef)(e);return ub(()=>{t.current=e}),(0,V.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current==null?void 0:t.current(...n)},[])}function fb(){let e=(0,V.useRef)(null);return[(0,V.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,V.useCallback)(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[])]}function pb(e,t){t===void 0&&(t=[e]);let n=(0,V.useRef)(e);return ub(()=>{n.current!==e&&(n.current=e)},t),n}function mb(e,t){let n=(0,V.useRef)();return(0,V.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function hb(e){let t=db(e),n=(0,V.useRef)(null);return[n,(0,V.useCallback)(e=>{e!==n.current&&t?.(e,n.current),n.current=e},[])]}function gb(e){let t=(0,V.useRef)();return(0,V.useEffect)(()=>{t.current=e},[e]),t.current}var _b={};function vb(e,t){return(0,V.useMemo)(()=>{if(t)return t;let n=_b[e]==null?0:_b[e]+1;return _b[e]=n,e+`-`+n},[e,t])}function yb(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>{let r=Object.entries(n);for(let[n,i]of r){let r=t[n];r!=null&&(t[n]=r+e*i)}return t},{...t})}}var bb=yb(1),xb=yb(-1);function Sb(e){return`clientX`in e&&`clientY`in e}function Cb(e){if(!e)return!1;let{KeyboardEvent:t}=ab(e.target);return t&&e instanceof t}function wb(e){if(!e)return!1;let{TouchEvent:t}=ab(e.target);return t&&e instanceof t}function Tb(e){if(wb(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return Sb(e)?{x:e.clientX,y:e.clientY}:null}var Eb=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return`translate3d(`+(t?Math.round(t):0)+`px, `+(n?Math.round(n):0)+`px, 0)`}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return`scaleX(`+t+`) scaleY(`+n+`)`}},Transform:{toString(e){if(e)return[Eb.Translate.toString(e),Eb.Scale.toString(e)].join(` `)}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+` `+n+`ms `+r}}}),Db=`a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]`;function Ob(e){return e.matches(Db)?e:e.querySelector(Db)}var kb={display:`none`};function Ab(e){let{id:t,value:n}=e;return V.createElement(`div`,{id:t,style:kb},n)}function jb(e){let{id:t,announcement:n,ariaLiveType:r=`assertive`}=e;return V.createElement(`div`,{id:t,style:{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`},role:`status`,"aria-live":r,"aria-atomic":!0},n)}function Mb(){let[e,t]=(0,V.useState)(``);return{announce:(0,V.useCallback)(e=>{e!=null&&t(e)},[]),announcement:e}}var Nb=(0,V.createContext)(null);function Pb(e){let t=(0,V.useContext)(Nb);(0,V.useEffect)(()=>{if(!t)throw Error(`useDndMonitor must be used within a children of <DndContext>`);return t(e)},[e,t])}function Fb(){let[e]=(0,V.useState)(()=>new Set),t=(0,V.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,V.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>e[n]?.call(e,r))},[e]),t]}var Ib={draggable:`
181
+ `,cv=typeof ov==`string`?null:Mt`
182
+ animation: ${ov} 1.4s linear infinite;
183
+ `,lv=typeof sv==`string`?null:Mt`
184
+ animation: ${sv} 1.4s ease-in-out infinite;
185
+ `,uv=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return ta({root:[`root`,n,`color${Qc(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,`circle${Qc(n)}`,i&&`circleDisableShrink`]},iv,t)},dv=K(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Qc(n.color)}`]]}})(Sc(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:cv||{animation:`${ov} 1.4s linear infinite`}},...Object.entries(e.palette).filter(rv()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),fv=K(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),pv=K(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${Qc(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Sc(({theme:e})=>({stroke:`currentColor`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`stroke-dashoffset`)}},{props:{variant:`indeterminate`},style:{strokeDasharray:`80px, 200px`,strokeDashoffset:0}},{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:lv||{animation:`${sv} 1.4s ease-in-out infinite`}}]}))),mv=K(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(Sc(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),hv=V.forwardRef(function(e,t){let n=Zo({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,enableTrackSlot:o=!1,size:s=40,style:c,thickness:l=3.6,value:u=0,variant:d=`indeterminate`,...f}=n,p={...n,color:i,disableShrink:a,size:s,thickness:l,value:u,variant:d,enableTrackSlot:o},m=uv(p),h={},g={},_={};if(d===`determinate`){let e=2*Math.PI*((av-l)/2);h.strokeDasharray=e.toFixed(3),_[`aria-valuenow`]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,g.transform=`rotate(-90deg)`}return(0,H.jsx)(dv,{className:U(m.root,r),style:{width:s,height:s,...g,...c},ownerState:p,ref:t,role:`progressbar`,..._,...f,children:(0,H.jsxs)(fv,{className:m.svg,ownerState:p,viewBox:`${av/2} ${av/2} ${av} ${av}`,children:[o?(0,H.jsx)(mv,{className:m.track,ownerState:p,cx:av,cy:av,r:(av-l)/2,fill:`none`,strokeWidth:l,"aria-hidden":`true`}):null,(0,H.jsx)(pv,{className:m.circle,style:h,ownerState:p,cx:av,cy:av,r:(av-l)/2,fill:`none`,strokeWidth:l})]})})});function gv(e){return Pr(`MuiButton`,e)}var _v=Fr(`MuiButton`,`root.text.textInherit.textPrimary.textSecondary.textSuccess.textError.textInfo.textWarning.outlined.outlinedInherit.outlinedPrimary.outlinedSecondary.outlinedSuccess.outlinedError.outlinedInfo.outlinedWarning.contained.containedInherit.containedPrimary.containedSecondary.containedSuccess.containedError.containedInfo.containedWarning.disableElevation.focusVisible.disabled.colorInherit.colorPrimary.colorSecondary.colorSuccess.colorError.colorInfo.colorWarning.textSizeSmall.textSizeMedium.textSizeLarge.outlinedSizeSmall.outlinedSizeMedium.outlinedSizeLarge.containedSizeSmall.containedSizeMedium.containedSizeLarge.sizeMedium.sizeSmall.sizeLarge.fullWidth.startIcon.endIcon.icon.iconSizeSmall.iconSizeMedium.iconSizeLarge.loading.loadingWrapper.loadingIconPlaceholder.loadingIndicator.loadingPositionCenter.loadingPositionStart.loadingPositionEnd`.split(`.`)),vv=V.createContext({}),yv=V.createContext(void 0),bv=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=ta({root:[`root`,o&&`loading`,a,`${a}${Qc(t)}`,`size${Qc(i)}`,`${a}Size${Qc(i)}`,`color${Qc(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${Qc(s)}`],startIcon:[`icon`,`startIcon`,`iconSize${Qc(i)}`],endIcon:[`icon`,`endIcon`,`iconSize${Qc(i)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},gv,c);return{...c,...l}},xv=[{props:{size:`small`},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:`medium`},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:`large`},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Sv=K($_,{shouldForwardProp:e=>go(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Qc(n.color)}`],t[`size${Qc(n.size)}`],t[`${n.variant}Size${Qc(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Sc(({theme:e})=>{let t=e.palette.mode===`light`?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode===`light`?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:`6px 16px`,border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`,`color`],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:`none`},[`&.${_v.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.startIcon||e.loading&&e.loadingPosition===`start`,style:{"&::before":{content:`"\\200b"`,width:0,overflow:`hidden`}}},{props:{variant:`contained`},style:{color:`var(--variant-containedColor)`,backgroundColor:`var(--variant-containedBg)`,boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${_v.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${_v.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:`outlined`},style:{padding:`5px 15px`,border:`1px solid currentColor`,borderColor:`var(--variant-outlinedBorder, currentColor)`,backgroundColor:`var(--variant-outlinedBg)`,color:`var(--variant-outlinedColor)`,[`&.${_v.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:`text`},style:{padding:`6px 8px`,color:`var(--variant-textColor)`,backgroundColor:`var(--variant-textBg)`}},...Object.entries(e.palette).filter(rv()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:`inherit`},style:{color:`inherit`,borderColor:`currentColor`,"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:`small`,variant:`text`},style:{padding:`4px 5px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`text`},style:{padding:`8px 11px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`outlined`},style:{padding:`3px 9px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`outlined`},style:{padding:`7px 21px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`contained`},style:{padding:`4px 10px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`contained`},style:{padding:`8px 22px`,fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:`none`,"&:hover":{boxShadow:`none`},[`&.${_v.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${_v.disabled}`]:{boxShadow:`none`}}},{props:{fullWidth:!0},style:{width:`100%`}},{props:{loadingPosition:`center`},style:{transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`],{duration:e.transitions.duration.short}),[`&.${_v.loading}`]:{color:`transparent`}}}]}})),Cv=K(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${Qc(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:8,marginLeft:-4,variants:[{props:{size:`small`},style:{marginLeft:-2}},{props:{loadingPosition:`start`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`start`,loading:!0,fullWidth:!0},style:{marginRight:-8}},...xv]})),wv=K(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${Qc(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:-4,marginLeft:8,variants:[{props:{size:`small`},style:{marginRight:-2}},{props:{loadingPosition:`end`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`end`,loading:!0,fullWidth:!0},style:{marginLeft:-8}},...xv]})),Tv=K(`span`,{name:`MuiButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,variants:[{props:{loading:!0},style:{display:`flex`}},{props:{loadingPosition:`start`},style:{left:14}},{props:{loadingPosition:`start`,size:`small`},style:{left:10}},{props:{variant:`text`,loadingPosition:`start`},style:{left:6}},{props:{loadingPosition:`center`},style:{left:`50%`,transform:`translate(-50%)`,color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:`end`},style:{right:14}},{props:{loadingPosition:`end`,size:`small`},style:{right:10}},{props:{variant:`text`,loadingPosition:`end`},style:{right:6}},{props:{loadingPosition:`start`,fullWidth:!0},style:{position:`relative`,left:-10}},{props:{loadingPosition:`end`,fullWidth:!0},style:{position:`relative`,right:-10}}]})),Ev=K(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),Dv=V.forwardRef(function(e,t){let n=V.useContext(vv),r=V.useContext(yv),i=Zo({props:Jr(n,e),name:`MuiButton`}),{children:a,color:o=`primary`,component:s=`button`,className:c,disabled:l=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,id:h,loading:g=null,loadingIndicator:_,loadingPosition:v=`center`,size:y=`medium`,startIcon:b,type:x,variant:S=`text`,...C}=i,w=ol(h),T=_??(0,H.jsx)(hv,{"aria-labelledby":w,color:`inherit`,size:16}),E={...i,color:o,component:s,disabled:l,disableElevation:u,disableFocusRipple:d,fullWidth:m,loading:g,loadingIndicator:T,loadingPosition:v,size:y,type:x,variant:S},D=bv(E),O=(b||g&&v===`start`)&&(0,H.jsx)(Cv,{className:D.startIcon,ownerState:E,children:b||(0,H.jsx)(Ev,{className:D.loadingIconPlaceholder,ownerState:E})}),k=(f||g&&v===`end`)&&(0,H.jsx)(wv,{className:D.endIcon,ownerState:E,children:f||(0,H.jsx)(Ev,{className:D.loadingIconPlaceholder,ownerState:E})}),A=r||``,j=typeof g==`boolean`?(0,H.jsx)(`span`,{className:D.loadingWrapper,style:{display:`contents`},children:g&&(0,H.jsx)(Tv,{className:D.loadingIndicator,ownerState:E,children:T})}):null,{root:M,...ee}=D;return(0,H.jsxs)(Sv,{ownerState:E,className:U(n.className,D.root,c,A),component:s,disabled:l||g,focusRipple:!d,focusVisibleClassName:U(D.focusVisible,p),ref:t,type:x,id:g?w:h,...C,classes:ee,children:[O,v!==`end`&&j,a,v===`end`&&j,k]})}),Ov=rl((0,H.jsx)(`path`,{d:`M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z`}),`Restore`),kv=rl((0,H.jsx)(`path`,{d:`M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8`}),`Undo`),Av=K(`div`)({display:`flex`,flexDirection:`column`}),jv=K(`div`)({display:`flex`,alignItems:`center`,justifyContent:`center`}),Mv=K(`div`)(({theme:e})=>({width:`24px`,height:`24px`,color:`gray`,marginRight:e.spacing(1),display:`flex`,alignItems:`center`})),Nv=K(Dv)(({theme:e})=>({display:`flex`,alignItems:`center`,marginLeft:e.spacing(3),marginRight:e.spacing(3)})),Pv=e=>{class t extends V.Component{static propTypes={session:x.object,onSessionChange:x.func};constructor(e){super(e),this.state={sessionInitialValues:JSON.parse(JSON.stringify(e.session)),session:e.session,changes:[]}}onSessionChange=e=>{this.setState(t=>({session:e,changes:[...t.changes,e]}),()=>this.props.onSessionChange(e))};onUndo=()=>{this.setState(e=>{let t=[...e.changes];return t.pop(),{changes:t,session:t.length?t[t.length-1]:e.sessionInitialValues}},()=>this.props.onSessionChange(this.state.session))};onReset=()=>{this.setState(e=>({session:e.sessionInitialValues,changes:[]}),()=>this.props.onSessionChange(this.state.sessionInitialValues))};render(){let{...t}=this.props,{changes:n,session:r}=this.state;return(0,H.jsxs)(Av,{children:[(0,H.jsxs)(jv,{children:[(0,H.jsxs)(Nv,{color:`primary`,disabled:n.length===0,onClick:this.onUndo,children:[(0,H.jsx)(Mv,{children:(0,H.jsx)(kv,{})}),`Undo`]}),(0,H.jsxs)(Nv,{color:`primary`,disabled:n.length===0,onClick:this.onReset,children:[(0,H.jsx)(Mv,{children:(0,H.jsx)(Ov,{})}),`Start Over`]})]}),(0,H.jsx)(e,{...t,session:r,onSessionChange:this.onSessionChange})]})}}return t},Fv=fo({typography:{fontFamily:`inherit`},palette:{action:{disabled:`rgba(0, 0, 0, 0.54);`}},components:{MuiTypography:{styleOverrides:{root:{fontFamily:`inherit`}}},MuiButton:{styleOverrides:{contained:{backgroundColor:`#e0e0e0`,color:`#000000`,"&:hover":{backgroundColor:`#bdbdbd`}}}}}}),Iv=K(`div`)({"& table, th, td":{fontSize:`inherit`}}),Lv=class extends V.Component{static propTypes={className:x.string,children:x.array,extraCSSRules:x.shape({names:x.arrayOf(x.string),rules:x.string}),fontSizeFactor:x.number};static defaultProps={extraCSSRules:{},fontSizeFactor:1};constructor(e){super(e),this.classesSheet=document.createElement(`style`)}scopeClass=k_(`extra-css-rules`);computeStyle(e){let t=e=>parseFloat(getComputedStyle(e).fontSize),n=t(document.documentElement),r=t(document.body),i=Math.max(n,r),a=e!=null&&typeof e==`number`?e:1;return a===1?null:{fontSize:`${i*a}px`}}render(){let{children:e,className:t,fontSizeFactor:n,...r}=this.props,{extraCSSRules:i,...a}=r,o=this.computeStyle(n);return(0,H.jsx)(Yt,{injectFirst:!0,children:(0,H.jsxs)(Co,{theme:Fv,children:[i?.rules?(0,H.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`.${this.scopeClass} { ${i.rules} }`}}):null,(0,H.jsx)(Iv,{className:`${t} extraCSSRules ${this.scopeClass}`,...a,...o&&{style:o},children:e})]})})}},Rv=K(Lv)({display:`flex`,flexDirection:`column`,position:`relative`}),zv=class extends V.Component{static propTypes={ariaLabel:x.string,children:x.oneOfType([x.arrayOf(x.node),x.node]).isRequired,role:x.string,extraCSSRules:x.shape({names:x.arrayOf(x.string),rules:x.string}),fontSizeFactor:x.number};render(){let{children:e,ariaLabel:t,role:n,extraCSSRules:r,fontSizeFactor:i,classes:a}=this.props;return(0,H.jsx)(Rv,{...t?{"aria-label":t,role:n}:{},extraCSSRules:r,fontSizeFactor:i,classes:a,children:e})}},Bv=class extends V.Component{static propTypes={tag:x.string,className:x.string,html:x.string};static defaultProps={tag:`div`,html:``};render(){let{tag:e,className:t,html:n}=this.props;return(0,H.jsx)(e||`div`,{ref:e=>this.node=e,className:t,dangerouslySetInnerHTML:{__html:Rd(n)}})}};function Vv({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&e[r]===void 0&&(t[r]=n[r]),t),{})}var Hv=V.createContext(void 0);function Uv(){return V.useContext(Hv)}function Wv(e){return Pr(`MuiFormLabel`,e)}var Gv=Fr(`MuiFormLabel`,[`root`,`colorSecondary`,`focused`,`disabled`,`error`,`filled`,`required`,`asterisk`]),Kv=e=>{let{classes:t,color:n,focused:r,disabled:i,error:a,filled:o,required:s}=e;return ta({root:[`root`,`color${Qc(n)}`,i&&`disabled`,a&&`error`,o&&`filled`,r&&`focused`,s&&`required`],asterisk:[`asterisk`,a&&`error`]},Wv,t)},qv=K(`label`,{name:`MuiFormLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color===`secondary`&&t.colorSecondary,n.filled&&t.filled]}})(Sc(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:`1.4375em`,padding:0,position:`relative`,variants:[...Object.entries(e.palette).filter(rv()).map(([t])=>({props:{color:t},style:{[`&.${Gv.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Gv.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Gv.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),Jv=K(`span`,{name:`MuiFormLabel`,slot:`Asterisk`})(Sc(({theme:e})=>({[`&.${Gv.error}`]:{color:(e.vars||e).palette.error.main}}))),Yv=V.forwardRef(function(e,t){let n=Zo({props:e,name:`MuiFormLabel`}),{children:r,className:i,color:a,component:o=`label`,disabled:s,error:c,filled:l,focused:u,required:d,...f}=n,p=Vv({props:n,muiFormControl:Uv(),states:[`color`,`required`,`focused`,`disabled`,`error`,`filled`]}),m={...n,color:p.color||`primary`,component:o,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},h=Kv(m);return(0,H.jsxs)(qv,{as:o,ownerState:m,className:U(h.root,i),ref:t,...f,children:[r,p.required&&(0,H.jsxs)(Jv,{ownerState:m,"aria-hidden":!0,className:h.asterisk,children:[` `,`*`]})]})});function Xv(e){return Pr(`MuiInputLabel`,e)}Fr(`MuiInputLabel`,[`root`,`focused`,`disabled`,`error`,`required`,`asterisk`,`formControl`,`sizeSmall`,`shrink`,`animated`,`standard`,`filled`,`outlined`]);var Zv=e=>{let{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:o,required:s}=e,c=ta({root:[`root`,n&&`formControl`,!a&&`animated`,i&&`shrink`,r&&r!==`medium`&&`size${Qc(r)}`,o],asterisk:[s&&`asterisk`]},Xv,t);return{...t,...c}},Qv=K(Yv,{shouldForwardProp:e=>go(e)||e===`classes`,name:`MuiInputLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${Gv.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size===`small`&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Sc(({theme:e})=>({display:`block`,transformOrigin:`top left`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`100%`,variants:[{props:({ownerState:e})=>e.formControl,style:{position:`absolute`,left:0,top:0,transform:`translate(0, 20px) scale(1)`}},{props:{size:`small`},style:{transform:`translate(0, 17px) scale(1)`}},{props:({ownerState:e})=>e.shrink,style:{transform:`translate(0, -1.5px) scale(0.75)`,transformOrigin:`top left`,maxWidth:`133%`}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create([`color`,`transform`,`max-width`],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:`filled`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(12px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`filled`,size:`small`},style:{transform:`translate(12px, 13px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`filled`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,transform:`translate(12px, 7px) scale(0.75)`,maxWidth:`calc(133% - 24px)`}},{props:({variant:e,ownerState:t,size:n})=>e===`filled`&&t.shrink&&n===`small`,style:{transform:`translate(12px, 4px) scale(0.75)`}},{props:{variant:`outlined`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(14px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`outlined`,size:`small`},style:{transform:`translate(14px, 9px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`outlined`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,maxWidth:`calc(133% - 32px)`,transform:`translate(14px, -9px) scale(0.75)`}}]}))),$v=V.forwardRef(function(e,t){let n=Zo({name:`MuiInputLabel`,props:e}),{disableAnimation:r=!1,margin:i,shrink:a,variant:o,className:s,...c}=n,l=Uv(),u=a;u===void 0&&l&&(u=l.filled||l.focused||l.adornedStart);let d=Vv({props:n,muiFormControl:l,states:[`size`,`variant`,`required`,`focused`]}),f={...n,disableAnimation:r,formControl:l,shrink:u,size:d.size,variant:d.variant,required:d.required,focused:d.focused},p=Zv(f);return(0,H.jsx)(Qv,{"data-shrink":u,ref:t,className:U(p.root,s),...c,ownerState:f,classes:p})});function ey(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function ty(e,t=!1){return e&&(ey(e.value)&&e.value!==``||t&&ey(e.defaultValue)&&e.defaultValue!==``)}function ny(e){return e.startAdornment}function ry(e){return Pr(`MuiFormControl`,e)}Fr(`MuiFormControl`,[`root`,`marginNone`,`marginNormal`,`marginDense`,`fullWidth`,`disabled`]);var iy=e=>{let{classes:t,margin:n,fullWidth:r}=e;return ta({root:[`root`,n!==`none`&&`margin${Qc(n)}`,r&&`fullWidth`]},ry,t)},ay=K(`div`,{name:`MuiFormControl`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`margin${Qc(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:`inline-flex`,flexDirection:`column`,position:`relative`,minWidth:0,padding:0,margin:0,border:0,verticalAlign:`top`,variants:[{props:{margin:`normal`},style:{marginTop:16,marginBottom:8}},{props:{margin:`dense`},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:`100%`}}]}),oy=K(V.forwardRef(function(e,t){let n=Zo({props:e,name:`MuiFormControl`}),{children:r,className:i,color:a=`primary`,component:o=`div`,disabled:s=!1,error:c=!1,focused:l,fullWidth:u=!1,hiddenLabel:d=!1,margin:f=`none`,required:p=!1,size:m=`medium`,variant:h=`outlined`,...g}=n,_={...n,color:a,component:o,disabled:s,error:c,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:m,variant:h},v=iy(_),[y,b]=V.useState(()=>{let e=!1;return r&&V.Children.forEach(r,t=>{if(!il(t,[`Input`,`Select`]))return;let n=il(t,[`Select`])?t.props.input:t;n&&ny(n.props)&&(e=!0)}),e}),[x,S]=V.useState(()=>{let e=!1;return r&&V.Children.forEach(r,t=>{il(t,[`Input`,`Select`])&&(ty(t.props,!0)||ty(t.props.inputProps,!0))&&(e=!0)}),e}),[C,w]=V.useState(!1);s&&C&&w(!1);let T=l!==void 0&&!s?l:C;V.useRef(!1);let E=V.useCallback(()=>{S(!0)},[]),D=V.useCallback(()=>{S(!1)},[]),O=V.useMemo(()=>({adornedStart:y,setAdornedStart:b,color:a,disabled:s,error:c,filled:x,focused:T,fullWidth:u,hiddenLabel:d,size:m,onBlur:()=>{w(!1)},onFocus:()=>{w(!0)},onEmpty:D,onFilled:E,registerEffect:void 0,required:p,variant:h}),[y,a,s,c,x,T,u,d,void 0,D,E,p,m,h]);return(0,H.jsx)(Hv.Provider,{value:O,children:(0,H.jsx)(ay,{as:o,ownerState:_,className:U(v.root,i),ref:t,...g,children:r})})}))(({theme:e})=>({margin:0,padding:0,flex:`1 0 auto`,minWidth:e.spacing(4)})),sy=K($v)(()=>({fontSize:`inherit`,whiteSpace:`nowrap`,margin:0,padding:0,alignSelf:`flex-start`,position:`absolute`,top:0,left:0,transformOrigin:`top left`,pointerEvents:`none`,"&.MuiInputLabel-shrink":{transform:`scale(0.75) translate(0, -0.75em)`},"&:not(.MuiInputLabel-shrink)":{transform:`translate(0, 0)`}})),cy=({label:e,className:t,children:n})=>(0,H.jsxs)(oy,{className:t,children:[(0,H.jsx)(sy,{shrink:!0,children:e}),n]});cy.propTypes={label:x.oneOfType([x.string,x.object]).isRequired,className:x.string,children:x.oneOfType([x.arrayOf(x.node),x.node]).isRequired};var{translator:ly}=O_,uy=`pie-prompt-audio-player`,dy=`play-audio-button`,fy=e=>`&:not(.MathJax) > table${e}, &:not(.MathJax) > .pie-table-scroll > table${e}`,py=K(`div`)(({theme:e,tagName:t})=>({[`& .${dy}:focus-visible`]:{outline:`2px solid ${Pf()}`,outlineOffset:`2px`},[fy(`:not([role="presentation"])`)]:{borderCollapse:`collapse`},'&:not(.MathJax) table[border]:not([role="presentation"]), &:not(.MathJax) table[border]:not([role="presentation"]) td, &:not(.MathJax) table[border]:not([role="presentation"]) th':{borderStyle:`solid`,borderColor:Cf()},[fy(`:not([role="presentation"]):has(tbody tr > th:first-child):not(:has(tbody tr > td:first-child)) tbody td:nth-child(even)`)]:{backgroundColor:Tf()},[fy(`:not([role="presentation"]):has(tbody tr > td:first-child) tbody tr:nth-child(even) td`)]:{backgroundColor:Tf()},'&:not(.MathJax) table:not([role="presentation"]) td, &:not(.MathJax) table:not([role="presentation"]) th':{padding:`.6em 1em`,textAlign:`left`},[fy(` td > p.kds-indent`)]:{textAlign:`initial`},"&.prompt":{verticalAlign:`middle`,color:Ud()},"&.legend":{width:`100%`,fontSize:`inherit !important`},"&.rationale":{paddingLeft:e.spacing(4),paddingBottom:e.spacing(1)},"&.prompt-label":{color:`${Ud()} !important`,display:`flex`,flexDirection:`column`,verticalAlign:`middle`,cursor:`pointer`,"& > p":{margin:`0 0 0 0 !important`}}})),my=/\\embed\{newLine\}\[\]/g,hy=`\\newline `,gy=`preview-prompt`,_y=class extends V.Component{static propTypes={prompt:x.string,tagName:x.string,className:x.string,onClick:x.func,defaultClassName:x.string,autoplayAudioEnabled:x.bool,customAudioButton:x.shape({playImage:x.string,pauseImage:x.string}),language:x.string};static defaultProps={onClick:()=>{}};promptRef=V.createRef();audioId=k_(uy);playButtonId=k_(dy);parsedText=e=>{let{autoplayAudioEnabled:t,customAudioButton:n,language:r}=this.props,i=document.createElement(`div`);i.innerHTML=Rd(e);let a=i.querySelector(`audio`);if(a){let e=document.createElement(`source`);if(e.setAttribute(`type`,`audio/mp3`),e.setAttribute(`src`,a.getAttribute(`src`)),a.removeAttribute(`src`),a.id=this.audioId,a.classList.add(uy),a.appendChild(e),n){a.style.display=`none`;let e=document.createElement(`button`);e.setAttribute(`type`,`button`),e.setAttribute(`aria-label`,ly.t(`common:playAudio`,{lng:r})),e.id=this.playButtonId,e.className=dy,Object.assign(e.style,{cursor:`pointer`,display:`block`,width:`128px`,height:`128px`,margin:`0`,padding:`0`,font:`inherit`,backgroundColor:`transparent`,backgroundImage:`url(${t?n.pauseImage:n.playImage})`,backgroundSize:`cover`,borderRadius:`50%`,border:`1px solid #326295`}),a.parentNode.insertBefore(e,a)}}return i.innerHTML};addCustomAudioButtonControls(){let{autoplayAudioEnabled:e,customAudioButton:t}=this.props,n=this.promptRef.current,r=n?.querySelector(`.${dy}`),i=n?.querySelector(`.${uy}`);if(e&&i&&i.play().then(()=>{r&&t&&i.addEventListener(`ended`,o)}).catch(e=>{r&&t&&(r.style.backgroundImage=`url(${t.playImage})`),console.error(`Error playing audio`,e)}),!r||!i||!t)return;let a=()=>{i.paused&&i.play()},o=()=>{r.style.backgroundImage=`url(${t.playImage})`},s=()=>{Object.assign(r.style,{backgroundImage:`url(${t.pauseImage})`,border:`1px solid #ccc`})},c=()=>{Object.assign(r.style,{backgroundImage:`url(${t.playImage})`,border:`1px solid #326295`})};r.addEventListener(`click`,a),i.addEventListener(`play`,s),i.addEventListener(`pause`,c),i.addEventListener(`ended`,o),this._playButton=r,this._audio=i,this._handlePlayClick=a,this._handleAudioPlay=s,this._handleAudioPause=c,this._handleAudioEnded=o}removeCustomAudioButtonListeners(){let e=this._playButton,t=this._audio;!e||!t||(e.removeEventListener(`click`,this._handlePlayClick),t.removeEventListener(`play`,this._handleAudioPlay),t.removeEventListener(`pause`,this._handleAudioPause),t.removeEventListener(`ended`,this._handleAudioEnded))}componentDidMount(){this.alignImages(),this.addCustomAudioButtonControls(),this.setupMathRendering()}componentDidUpdate(e){this.alignImages(),e.prompt!==this.props.prompt&&this.renderMathContent()}componentWillUnmount(){this.removeCustomAudioButtonListeners()}setupMathRendering(){this.renderMathContent()}renderMathContent(){let e=this.promptRef.current;e&&typeof Tg==`function`&&Tg(e)}alignImages(){let e=this.promptRef.current;if(!e)return;let t=e.getElementsByTagName(`img`);if(t&&t.length){for(let e of t)if(e.attributes&&e.attributes.alignment&&e.attributes.alignment.value){let t=e.attributes.alignment.value,n=t===`center`?`center`:t===`right`?`flex-end`:`flex-start`,r=e.parentElement;if(r.tagName===`DIV`&&r.style.display===`flex`&&r.style.width===`100%`)r.style.justifyContent=n;else{let t=document.createElement(`div`);t.style.display=`flex`,t.style.width=`100%`,t.style.justifyContent=n;let i=e.cloneNode(!0);t.appendChild(i),r.replaceChild(t,e)}}}}render(){let{prompt:e,tagName:t,className:n,onClick:r,defaultClassName:i}=this.props,a=`${n||``} ${i||``} ${t===`legend`?`legend`:``} ${gy}`.trim();return(0,H.jsx)(py,{as:t||`div`,ref:this.promptRef,onClick:r,className:a,tagName:t,dangerouslySetInnerHTML:{__html:this.parsedText(e||``).replace(my,hy)}})}},vy=e=>(0,H.jsx)(H.Fragment,{children:V.Children.map(e.children,t=>V.cloneElement(t,{"data-pie-readable":e.false===void 0}))});vy.propTypes={children:x.node,false:x.bool};var yy=e=>(0,H.jsx)(H.Fragment,{children:V.Children.map(e.children,t=>V.cloneElement(t,{"data-pie-purpose":e.purpose}))});yy.propTypes={children:x.node,purpose:x.string};var by;typeof window<`u`&&(by=new DOMParser);var xy=e=>by.parseFromString(e,`text/html`).body.textContent,Sy=e=>{if(!e)return!1;let t=xy(e);return!!(t&&t.trim())},Cy;typeof window<`u`&&(Cy=new DOMParser);var wy=e=>{if(!e)return!1;let t=Cy.parseFromString(e,`text/html`);return!!t.body.querySelector(`img`)||!!t.body.querySelector(`video`)||!!t.body.querySelector(`audio`)},Ty=`data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAJYAyADAREAAhEBAxEB/8QAHgABAQABBQEBAQAAAAAAAAAAAAEIAgMGBwkEBQr/xABiEAACAQIDBAMKCAYMCgYLAQAAAQIDEQQFIQYSMUEHCFETFRYiUmFxkdHhCRRjgaGisfAXMjRTcsEjJDY4QmJ1dpKztMQYMzdEVIKyw9PxQ1hmc3SWJzVFRlZXhJOUldJk/8QAGwEBAQADAQEBAAAAAAAAAAAAAAcEBQYCAQP/xABBEQEA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8dLW+kCgAJbW9/mAoAAAAARtKyb48AKAAAAAAAAAAAAEStzuBQAACX1tb5wKAAAAAAAAAAAAAAAAiSSSSslwQFAmt+OgFAAAAACJ3AoAAAAAAAAAAAARq9vMBQAACa34aAUAAAAAAETTuk+HECgAAAAAAAAAEavzsBQAAABG7crgUAAAAAAAAAAAAAACJJXaXHiBQAE1vx0AoAAAAAf/Z`;function Ey(e=``,t=2){if(!e)return e;let n=new DOMParser().parseFromString(e,`text/html`);return n.body.querySelectorAll(`[data-heading]`).forEach(e=>{let r=e.getAttribute(`data-heading`)||``,i=parseInt(r.replace(`heading`,``),10);if(!Number.isFinite(i))return;let a=Math.min(6,Math.max(1,t+i-1)),o=n.createElement(`h${a}`);o.setAttribute(`data-heading`,r),Array.from(e.attributes).forEach(e=>{e.name!==`data-heading`&&o.setAttribute(e.name,e.value)}),o.innerHTML=e.innerHTML,e.replaceWith(o)}),n.body.innerHTML}function Dy(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:wc(n,r),{props:s,internalRef:c}=Dc({...a,externalSlotProps:o}),l=Gs(c,o?.ref,e.additionalProps?.ref);return Cc(t,{...s,ref:l},r)}var Oy=V.createContext({});function ky(e){return Pr(`MuiList`,e)}Fr(`MuiList`,[`root`,`padding`,`dense`,`subheader`]);var Ay=e=>{let{classes:t,disablePadding:n,dense:r,subheader:i}=e;return ta({root:[`root`,!n&&`padding`,r&&`dense`,i&&`subheader`]},ky,t)},jy=K(`ul`,{name:`MuiList`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:`none`,margin:0,padding:0,position:`relative`,variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),My=V.forwardRef(function(e,t){let n=Zo({props:e,name:`MuiList`}),{children:r,className:i,component:a=`ul`,dense:o=!1,disablePadding:s=!1,subheader:c,...l}=n,u=V.useMemo(()=>({dense:o}),[o]),d={...n,component:a,dense:o,disablePadding:s},f=Ay(d);return(0,H.jsx)(Oy.Provider,{value:u,children:(0,H.jsxs)(jy,{as:a,className:U(f.root,i),ref:t,ownerState:d,...l,children:[c,r]})})}),Ny=Zs;function Py(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Fy(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Iy(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(``))}function Ly(e,t,n,r,i,a){let o=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(o)return!1;o=!0}let t=r?!1:s.disabled||s.getAttribute(`aria-disabled`)===`true`;if(!s.hasAttribute(`tabindex`)||!Iy(s,a)||t)s=i(e,s,n);else return s.focus(),!0}return!1}var Ry=V.forwardRef(function(e,t){let{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:a,className:o,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:l,variant:u=`selectedMenu`,...d}=e,f=V.useRef(null),p=V.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});al(()=>{r&&f.current.focus()},[r]),V.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){let n=`${Ny(rs(e))}px`;f.current.style[t===`rtl`?`paddingLeft`:`paddingRight`]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}}),[]);let m=e=>{let t=f.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey){l&&l(e);return}let r=uc(ts(t));if(n===`ArrowDown`)e.preventDefault(),Ly(t,r,c,s,Py);else if(n===`ArrowUp`)e.preventDefault(),Ly(t,r,c,s,Fy);else if(n===`Home`)e.preventDefault(),Ly(t,null,c,s,Py);else if(n===`End`)e.preventDefault(),Ly(t,null,c,s,Fy);else if(n.length===1){let i=p.current,a=n.toLowerCase(),o=performance.now();i.keys.length>0&&(o-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&a!==i.keys[0]&&(i.repeating=!1)),i.lastTime=o,i.keys.push(a);let c=r&&!i.repeating&&Iy(r,i);i.previousKeyMatched&&(c||Ly(t,r,!1,s,Py,i))?e.preventDefault():i.previousKeyMatched=!1}l&&l(e)},h=Ks(f,t),g=-1;V.Children.forEach(a,(e,t)=>{if(!V.isValidElement(e)){g===t&&(g+=1,g>=a.length&&(g=-1));return}e.props.disabled||(u===`selectedMenu`&&e.props.selected||g===-1)&&(g=t),g===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(g+=1,g>=a.length&&(g=-1))});let _=V.Children.map(a,(e,t)=>{if(t===g){let t={};return i&&(t.autoFocus=!0),e.props.tabIndex===void 0&&u===`selectedMenu`&&(t.tabIndex=0),V.cloneElement(e,t)}return e});return(0,H.jsx)(My,{role:`menu`,ref:h,className:o,onKeyDown:m,tabIndex:r?0:-1,...d,children:_})});function zy(e){return Pr(`MuiMenu`,e)}Fr(`MuiMenu`,[`root`,`paper`,`list`]);var By={vertical:`top`,horizontal:`right`},Vy={vertical:`top`,horizontal:`left`},Hy=e=>{let{classes:t}=e;return ta({root:[`root`],paper:[`paper`],list:[`list`]},zy,t)},Uy=K(_l,{shouldForwardProp:e=>go(e)||e===`classes`,name:`MuiMenu`,slot:`Root`})({}),Wy=K(gl,{name:`MuiMenu`,slot:`Paper`})({maxHeight:`calc(100% - 96px)`,WebkitOverflowScrolling:`touch`}),Gy=K(Ry,{name:`MuiMenu`,slot:`List`})({outline:0}),Ky=V.forwardRef(function(e,t){let n=Zo({props:e,name:`MuiMenu`}),{autoFocus:r=!0,children:i,className:a,disableAutoFocusItem:o=!1,MenuListProps:s={},onClose:c,open:l,PaperProps:u={},PopoverClasses:d,transitionDuration:f=`auto`,TransitionProps:{onEntering:p,...m}={},variant:h=`selectedMenu`,slots:g={},slotProps:_={},...v}=n,y=bi(),b={...n,autoFocus:r,disableAutoFocusItem:o,MenuListProps:s,onEntering:p,PaperProps:u,transitionDuration:f,TransitionProps:m,variant:h},x=Hy(b),S=r&&!o&&l,C=V.useRef(null),w=(e,t)=>{C.current&&C.current.adjustStyleForScrollbar(e,{direction:y?`rtl`:`ltr`}),p&&p(e,t)},T=e=>{e.key===`Tab`&&(e.preventDefault(),c&&c(e,`tabKeyDown`))},E=-1;V.Children.map(i,(e,t)=>{V.isValidElement(e)&&(e.props.disabled||(h===`selectedMenu`&&e.props.selected||E===-1)&&(E=t))});let D={slots:g,slotProps:{list:s,transition:m,paper:u,..._}},O=Dy({elementType:g.root,externalSlotProps:_.root,ownerState:b,className:[x.root,a]}),[k,A]=Oc(`paper`,{className:x.paper,elementType:Wy,externalForwardedProps:D,shouldForwardComponentProp:!0,ownerState:b}),[j,M]=Oc(`list`,{className:U(x.list,s.className),elementType:Gy,shouldForwardComponentProp:!0,externalForwardedProps:D,getSlotProps:e=>({...e,onKeyDown:t=>{T(t),e.onKeyDown?.(t)}}),ownerState:b}),ee=typeof D.slotProps.transition==`function`?D.slotProps.transition(b):D.slotProps.transition;return(0,H.jsx)(Uy,{onClose:c,anchorOrigin:{vertical:`bottom`,horizontal:y?`right`:`left`},transformOrigin:y?By:Vy,slots:{root:g.root,paper:k,backdrop:g.backdrop,...g.transition&&{transition:g.transition}},slotProps:{root:O,paper:A,backdrop:typeof _.backdrop==`function`?_.backdrop(b):_.backdrop,transition:{...ee,onEntering:(...e)=>{w(...e),ee?.onEntering?.(...e)}}},open:l,ref:t,transitionDuration:f,ownerState:b,...v,classes:d,children:(0,H.jsx)(j,{actions:C,autoFocus:r&&(E===-1||o),autoFocusItem:S,variant:h,...M,children:i})})}),qy=({slotProps:e,...t})=>(0,H.jsx)(Ky,{...t,disableScrollLock:!0,slotProps:{...e,root:{...e?.root,style:{backgroundColor:`transparent`,...e?.root?.style}},backdrop:{invisible:!0,...e?.backdrop}}}),Jy=s({Collapsible:()=>F_,EnableAudioAutoplayImage:()=>Ty,Feedback:()=>np,HtmlAndMath:()=>Bv,InlineMenu:()=>qy,InputContainer:()=>cy,PreviewLayout:()=>zv,PreviewPrompt:()=>_y,Purpose:()=>yy,Readable:()=>vy,UiLayout:()=>Lv,color:()=>Vd,createUniqueId:()=>k_,hasMedia:()=>wy,hasText:()=>Sy,indicators:()=>rp,transformDataHeadings:()=>Ey,useUniqueId:()=>A_,withUndoReset:()=>Pv}),Yy=Hd(`pie`)(`background`,X.WHITE),Xy=K(`div`)(({theme:e})=>({"&.placeholder":{WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,MsUserSelect:`none`,userSelect:`none`,width:`100%`,height:`100%`,background:Yy,transition:`background-color 200ms linear, border-color 200ms linear`,boxSizing:`border-box`,display:`grid`,gridRowGap:e.spacing(1),gridColumnGap:e.spacing(1),padding:e.spacing(1),border:`2px dashed ${xf()}`},"&.placeholderDisabled":{boxShadow:`none`,background:Yy},"&.over":{border:`1px solid ${yf()}`,backgroundColor:pf()},"&.board":{padding:e.spacing(1),display:`flex`,flexWrap:`wrap`,alignItems:`center`,minHeight:`100px`,justifyContent:`center`,overflow:`hidden`,touchAction:`none`,backgroundColor:gf()},"&.categorizeBoard":{padding:e.spacing(.5),display:`flex`,flexWrap:`wrap`,alignItems:`center`,minHeight:`100px`,justifyContent:`center`,overflow:`hidden`,touchAction:`none`,backgroundColor:gf()},"&.verticalPool":{display:`flex`,flexFlow:`column wrap`}})),Zy=e=>{let{children:t,className:n,isOver:r,type:i,grid:a,disabled:o,choiceBoard:s,isCategorize:c,isVerticalPool:l,minHeight:u,extraStyles:d}=e,f=U(`placeholder`,o&&`placeholderDisabled`,r&&`over`,i,n),p={};if(a&&a.columns&&(p.gridTemplateColumns=`repeat(${a.columns}, 1fr)`),a&&a.rows){let e=a.rowsRepeatValue||`1fr`;p.gridTemplateRows=`repeat(${a.rows}, ${e})`}i===`choice`&&(p.border=`1px solid ${xf()}`,p.background=gf());let m=c?`categorizeBoard`:`board`;return(0,H.jsx)(Xy,{style:{...p,minHeight:u,...d},className:U(s?m:f,l&&`verticalPool`),children:t})};Zy.propTypes={choiceBoard:x.bool,grid:x.shape({columns:x.number,rows:x.number,rowsRepeatValue:x.string}),children:x.oneOfType([x.arrayOf(x.node),x.node]).isRequired,className:x.string,isOver:x.bool,index:x.number,type:x.string,disabled:x.bool,isCategorize:x.bool,isVerticalPool:x.bool,minHeight:x.number};var Qy=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function $y(e){let t=Object.prototype.toString.call(e);return t===`[object Window]`||t===`[object global]`}function eb(e){return`nodeType`in e}function tb(e){return e?$y(e)?e:eb(e)?e.ownerDocument?.defaultView??window:window:window}function nb(e){let{Document:t}=tb(e);return e instanceof t}function rb(e){return!$y(e)&&e instanceof tb(e).HTMLElement}function ib(e){return e instanceof tb(e).SVGElement}function ab(e){return e?$y(e)?e.document:eb(e)?nb(e)?e:rb(e)||ib(e)?e.ownerDocument:document:document:document}var ob=Qy?V.useLayoutEffect:V.useEffect;function sb(e){let t=(0,V.useRef)(e);return ob(()=>{t.current=e}),(0,V.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current==null?void 0:t.current(...n)},[])}function cb(){let e=(0,V.useRef)(null);return[(0,V.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,V.useCallback)(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[])]}function lb(e,t){t===void 0&&(t=[e]);let n=(0,V.useRef)(e);return ob(()=>{n.current!==e&&(n.current=e)},t),n}function ub(e,t){let n=(0,V.useRef)();return(0,V.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function db(e){let t=sb(e),n=(0,V.useRef)(null);return[n,(0,V.useCallback)(e=>{e!==n.current&&t?.(e,n.current),n.current=e},[])]}function fb(e){let t=(0,V.useRef)();return(0,V.useEffect)(()=>{t.current=e},[e]),t.current}var pb={};function mb(e,t){return(0,V.useMemo)(()=>{if(t)return t;let n=pb[e]==null?0:pb[e]+1;return pb[e]=n,e+`-`+n},[e,t])}function hb(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>{let r=Object.entries(n);for(let[n,i]of r){let r=t[n];r!=null&&(t[n]=r+e*i)}return t},{...t})}}var gb=hb(1),_b=hb(-1);function vb(e){return`clientX`in e&&`clientY`in e}function yb(e){if(!e)return!1;let{KeyboardEvent:t}=tb(e.target);return t&&e instanceof t}function bb(e){if(!e)return!1;let{TouchEvent:t}=tb(e.target);return t&&e instanceof t}function xb(e){if(bb(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return vb(e)?{x:e.clientX,y:e.clientY}:null}var Sb=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return`translate3d(`+(t?Math.round(t):0)+`px, `+(n?Math.round(n):0)+`px, 0)`}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return`scaleX(`+t+`) scaleY(`+n+`)`}},Transform:{toString(e){if(e)return[Sb.Translate.toString(e),Sb.Scale.toString(e)].join(` `)}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+` `+n+`ms `+r}}}),Cb=`a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]`;function wb(e){return e.matches(Cb)?e:e.querySelector(Cb)}var Tb={display:`none`};function Eb(e){let{id:t,value:n}=e;return V.createElement(`div`,{id:t,style:Tb},n)}function Db(e){let{id:t,announcement:n,ariaLiveType:r=`assertive`}=e;return V.createElement(`div`,{id:t,style:{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`},role:`status`,"aria-live":r,"aria-atomic":!0},n)}function Ob(){let[e,t]=(0,V.useState)(``);return{announce:(0,V.useCallback)(e=>{e!=null&&t(e)},[]),announcement:e}}var kb=(0,V.createContext)(null);function Ab(e){let t=(0,V.useContext)(kb);(0,V.useEffect)(()=>{if(!t)throw Error(`useDndMonitor must be used within a children of <DndContext>`);return t(e)},[e,t])}function jb(){let[e]=(0,V.useState)(()=>new Set),t=(0,V.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,V.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>e[n]?.call(e,r))},[e]),t]}var Mb={draggable:`
186
186
  To pick up a draggable item, press the space bar.
187
187
  While dragging, use the arrow keys to move the item.
188
188
  Press space again to drop the item in its new position, or press escape to cancel.
189
- `},Lb={onDragStart(e){let{active:t}=e;return`Picked up draggable item `+t.id+`.`},onDragOver(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was moved over droppable area `+n.id+`.`:`Draggable item `+t.id+` is no longer over a droppable area.`},onDragEnd(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was dropped over droppable area `+n.id:`Draggable item `+t.id+` was dropped.`},onDragCancel(e){let{active:t}=e;return`Dragging was cancelled. Draggable item `+t.id+` was dropped.`}};function Rb(e){let{announcements:t=Lb,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=Ib}=e,{announce:a,announcement:o}=Mb(),s=vb(`DndLiveRegion`),[c,l]=(0,V.useState)(!1);if((0,V.useEffect)(()=>{l(!0)},[]),Pb((0,V.useMemo)(()=>({onDragStart(e){let{active:n}=e;a(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&a(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;a(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;a(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;a(t.onDragCancel({active:n,over:r}))}}),[a,t])),!c)return null;let u=V.createElement(V.Fragment,null,V.createElement(Ab,{id:r,value:i.draggable}),V.createElement(jb,{id:s,announcement:o}));return n?(0,xs.createPortal)(u,n):u}var zb;(function(e){e.DragStart=`dragStart`,e.DragMove=`dragMove`,e.DragEnd=`dragEnd`,e.DragCancel=`dragCancel`,e.DragOver=`dragOver`,e.RegisterDroppable=`registerDroppable`,e.SetDroppableDisabled=`setDroppableDisabled`,e.UnregisterDroppable=`unregisterDroppable`})(zb||={});function Bb(){}var Vb=Object.freeze({x:0,y:0});function Hb(e,t){let n=Tb(e);if(!n)return`0 0`;let r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+`% `+r.y+`%`}function Ub(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function Wb(e,t){if(!e||e.length===0)return null;let[n]=e;return t?n[t]:n}function Gb(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=i-r,s=a-n;if(r<i&&n<a){let n=t.width*t.height,r=e.width*e.height,i=o*s,a=i/(n+r-i);return Number(a.toFixed(4))}return 0}var Kb=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,a=n.get(r);if(a){let n=Gb(a,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(Ub)};function qb(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function Jb(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:Vb}function Yb(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}var Xb=Yb(1);function Zb(e){if(e.startsWith(`matrix3d(`)){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith(`matrix(`)){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function Qb(e,t,n){let r=Zb(t);if(!r)return e;let{scaleX:i,scaleY:a,x:o,y:s}=r,c=e.left-o-(1-i)*parseFloat(n),l=e.top-s-(1-a)*parseFloat(n.slice(n.indexOf(` `)+1)),u=i?e.width/i:e.width,d=a?e.height/a:e.height;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c}}var $b={ignoreTransform:!1};function ex(e,t){t===void 0&&(t=$b);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=ab(e).getComputedStyle(e);t&&(n=Qb(n,t,r))}let{top:r,left:i,width:a,height:o,bottom:s,right:c}=n;return{top:r,left:i,width:a,height:o,bottom:s,right:c}}function tx(e){return ex(e,{ignoreTransform:!0})}function nx(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function rx(e,t){return t===void 0&&(t=ab(e).getComputedStyle(e)),t.position===`fixed`}function ix(e,t){t===void 0&&(t=ab(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return[`overflow`,`overflowX`,`overflowY`].some(e=>{let r=t[e];return typeof r==`string`&&n.test(r)})}function ax(e,t){let n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if(ob(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!sb(i)||cb(i)||n.includes(i))return n;let a=ab(e).getComputedStyle(i);return i!==e&&ix(i,a)&&n.push(i),rx(i,a)?n:r(i.parentNode)}return e?r(e):n}function ox(e){let[t]=ax(e,1);return t??null}function sx(e){return!nb||!e?null:rb(e)?e:ib(e)?ob(e)||e===lb(e).scrollingElement?window:sb(e)?e:null:null}function cx(e){return rb(e)?e.scrollX:e.scrollLeft}function lx(e){return rb(e)?e.scrollY:e.scrollTop}function ux(e){return{x:cx(e),y:lx(e)}}var dx;(function(e){e[e.Forward=1]=`Forward`,e[e.Backward=-1]=`Backward`})(dx||={});function fx(e){return!nb||!e?!1:e===document.scrollingElement}function px(e){let t={x:0,y:0},n=fx(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}var mx={x:.2,y:.2};function hx(e,t,n,r,i){let{top:a,left:o,right:s,bottom:c}=n;r===void 0&&(r=10),i===void 0&&(i=mx);let{isTop:l,isBottom:u,isLeft:d,isRight:f}=px(e),p={x:0,y:0},m={x:0,y:0},h={height:t.height*i.y,width:t.width*i.x};return!l&&a<=t.top+h.height?(p.y=dx.Backward,m.y=r*Math.abs((t.top+h.height-a)/h.height)):!u&&c>=t.bottom-h.height&&(p.y=dx.Forward,m.y=r*Math.abs((t.bottom-h.height-c)/h.height)),!f&&s>=t.right-h.width?(p.x=dx.Forward,m.x=r*Math.abs((t.right-h.width-s)/h.width)):!d&&o<=t.left+h.width&&(p.x=dx.Backward,m.x=r*Math.abs((t.left+h.width-o)/h.width)),{direction:p,speed:m}}function gx(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function _x(e){return e.reduce((e,t)=>bb(e,ux(t)),Vb)}function vx(e){return e.reduce((e,t)=>e+cx(t),0)}function yx(e){return e.reduce((e,t)=>e+lx(t),0)}function bx(e,t){if(t===void 0&&(t=ex),!e)return;let{top:n,left:r,bottom:i,right:a}=t(e);ox(e)&&(i<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:`center`,inline:`center`})}var xx=[[`x`,[`left`,`right`],vx],[`y`,[`top`,`bottom`],yx]],Sx=class{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=ax(t),r=_x(n);this.rect={...e},this.width=e.width,this.height=e.height;for(let[e,t,i]of xx)for(let a of t)Object.defineProperty(this,a,{get:()=>{let t=i(n),o=r[e]-t;return this.rect[a]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}},Cx=class{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>this.target?.removeEventListener(...e))},this.target=e}add(e,t,n){var r;(r=this.target)==null||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}};function wx(e){let{EventTarget:t}=ab(e);return e instanceof t?e:lb(e)}function Tx(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return typeof t==`number`?Math.sqrt(n**2+r**2)>t:`x`in t&&`y`in t?n>t.x&&r>t.y:`x`in t?n>t.x:`y`in t&&r>t.y}var Ex;(function(e){e.Click=`click`,e.DragStart=`dragstart`,e.Keydown=`keydown`,e.ContextMenu=`contextmenu`,e.Resize=`resize`,e.SelectionChange=`selectionchange`,e.VisibilityChange=`visibilitychange`})(Ex||={});function Dx(e){e.preventDefault()}function Ox(e){e.stopPropagation()}var $;(function(e){e.Space=`Space`,e.Down=`ArrowDown`,e.Right=`ArrowRight`,e.Left=`ArrowLeft`,e.Up=`ArrowUp`,e.Esc=`Escape`,e.Enter=`Enter`,e.Tab=`Tab`})($||={});var kx={start:[$.Space,$.Enter],cancel:[$.Esc],end:[$.Space,$.Enter,$.Tab]},Ax=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case $.Right:return{...n,x:n.x+25};case $.Left:return{...n,x:n.x-25};case $.Down:return{...n,y:n.y+25};case $.Up:return{...n,y:n.y-25}}},jx=class{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new Cx(lb(t)),this.windowListeners=new Cx(ab(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Ex.Resize,this.handleCancel),this.windowListeners.add(Ex.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Ex.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&bx(n),t(Vb)}handleKeyDown(e){if(Cb(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=kx,coordinateGetter:a=Ax,scrollBehavior:o=`smooth`}=r,{code:s}=e;if(i.end.includes(s)){this.handleEnd(e);return}if(i.cancel.includes(s)){this.handleCancel(e);return}let{collisionRect:c}=n.current,l=c?{x:c.left,y:c.top}:Vb;this.referenceCoordinates||=l;let u=a(e,{active:t,context:n.current,currentCoordinates:l});if(u){let t=xb(u,l),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:a,isRight:s,isLeft:c,isBottom:l,maxScroll:d,minScroll:f}=px(n),p=gx(n),m={x:Math.min(i===$.Right?p.right-p.width/2:p.right,Math.max(i===$.Right?p.left:p.left+p.width/2,u.x)),y:Math.min(i===$.Down?p.bottom-p.height/2:p.bottom,Math.max(i===$.Down?p.top:p.top+p.height/2,u.y))},h=i===$.Right&&!s||i===$.Left&&!c,g=i===$.Down&&!l||i===$.Up&&!a;if(h&&m.x!==u.x){let e=n.scrollLeft+t.x,a=i===$.Right&&e<=d.x||i===$.Left&&e>=f.x;if(a&&!t.y){n.scrollTo({left:e,behavior:o});return}a?r.x=n.scrollLeft-e:r.x=i===$.Right?n.scrollLeft-d.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:o});break}else if(g&&m.y!==u.y){let e=n.scrollTop+t.y,a=i===$.Down&&e<=d.y||i===$.Up&&e>=f.y;if(a&&!t.x){n.scrollTo({top:e,behavior:o});return}a?r.y=n.scrollTop-e:r.y=i===$.Down?n.scrollTop-d.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:o});break}}this.handleMove(e,bb(xb(u,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}};jx.activators=[{eventName:`onKeyDown`,handler:(e,t,n)=>{let{keyboardCodes:r=kx,onActivation:i}=t,{active:a}=n,{code:o}=e.nativeEvent;if(r.start.includes(o)){let t=a.activatorNode.current;return t&&e.target!==t?!1:(e.preventDefault(),i?.({event:e.nativeEvent}),!0)}return!1}}];function Mx(e){return!!(e&&`distance`in e)}function Nx(e){return!!(e&&`delay`in e)}var Px=class{constructor(e,t,n){n===void 0&&(n=wx(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:r}=e,{target:i}=r;this.props=e,this.events=t,this.document=lb(i),this.documentListeners=new Cx(this.document),this.listeners=new Cx(n),this.windowListeners=new Cx(ab(i)),this.initialCoordinates=Tb(r)??Vb,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(Ex.Resize,this.handleCancel),this.windowListeners.add(Ex.DragStart,Dx),this.windowListeners.add(Ex.VisibilityChange,this.handleCancel),this.windowListeners.add(Ex.ContextMenu,Dx),this.documentListeners.add(Ex.Keydown,this.handleKeydown),t){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(Nx(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(Mx(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(Ex.Click,Ox,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Ex.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){let{activated:t,initialCoordinates:n,props:r}=this,{onMove:i,options:{activationConstraint:a}}=r;if(!n)return;let o=Tb(e)??Vb,s=xb(n,o);if(!t&&a){if(Mx(a)){if(a.tolerance!=null&&Tx(s,a.tolerance))return this.handleCancel();if(Tx(s,a.distance))return this.handleStart()}if(Nx(a)&&Tx(s,a.tolerance))return this.handleCancel();this.handlePending(a,s);return}e.cancelable&&e.preventDefault(),i(o)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===$.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}},Fx={cancel:{name:`pointercancel`},move:{name:`pointermove`},end:{name:`pointerup`}},Ix=class extends Px{constructor(e){let{event:t}=e,n=lb(t.target);super(e,Fx,n)}};Ix.activators=[{eventName:`onPointerDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];var Lx={move:{name:`mousemove`},end:{name:`mouseup`}},Rx;(function(e){e[e.RightClick=2]=`RightClick`})(Rx||={});var zx=class extends Px{constructor(e){super(e,Lx,lb(e.event.target))}};zx.activators=[{eventName:`onMouseDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===Rx.RightClick?!1:(r?.({event:n}),!0)}}];var Bx={cancel:{name:`touchcancel`},move:{name:`touchmove`},end:{name:`touchend`}},Vx=class extends Px{constructor(e){super(e,Bx)}static setup(){return window.addEventListener(Bx.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(Bx.move.name,e)};function e(){}}};Vx.activators=[{eventName:`onTouchStart`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return i.length>1?!1:(r?.({event:n}),!0)}}];var Hx;(function(e){e[e.Pointer=0]=`Pointer`,e[e.DraggableRect=1]=`DraggableRect`})(Hx||={});var Ux;(function(e){e[e.TreeOrder=0]=`TreeOrder`,e[e.ReversedTreeOrder=1]=`ReversedTreeOrder`})(Ux||={});function Wx(e){let{acceleration:t,activator:n=Hx.Pointer,canScroll:r,draggingRect:i,enabled:a,interval:o=5,order:s=Ux.TreeOrder,pointerCoordinates:c,scrollableAncestors:l,scrollableAncestorRects:u,delta:d,threshold:f}=e,p=Kx({delta:d,disabled:!a}),[m,h]=fb(),g=(0,V.useRef)({x:0,y:0}),_=(0,V.useRef)({x:0,y:0}),v=(0,V.useMemo)(()=>{switch(n){case Hx.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Hx.DraggableRect:return i}},[n,i,c]),y=(0,V.useRef)(null),b=(0,V.useCallback)(()=>{let e=y.current;if(!e)return;let t=g.current.x*_.current.x,n=g.current.y*_.current.y;e.scrollBy(t,n)},[]),x=(0,V.useMemo)(()=>s===Ux.TreeOrder?[...l].reverse():l,[s,l]);(0,V.useEffect)(()=>{if(!a||!l.length||!v){h();return}for(let e of x){if(r?.(e)===!1)continue;let n=l.indexOf(e),i=u[n];if(!i)continue;let{direction:a,speed:s}=hx(e,i,v,t,f);for(let e of[`x`,`y`])p[e][a[e]]||(s[e]=0,a[e]=0);if(s.x>0||s.y>0){h(),y.current=e,m(b,o),g.current=s,_.current=a;return}}g.current={x:0,y:0},_.current={x:0,y:0},h()},[t,b,r,h,a,o,JSON.stringify(v),JSON.stringify(p),m,l,x,u,JSON.stringify(f)])}var Gx={x:{[dx.Backward]:!1,[dx.Forward]:!1},y:{[dx.Backward]:!1,[dx.Forward]:!1}};function Kx(e){let{delta:t,disabled:n}=e,r=gb(t);return mb(e=>{if(n||!r||!e)return Gx;let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[dx.Backward]:e.x[dx.Backward]||i.x===-1,[dx.Forward]:e.x[dx.Forward]||i.x===1},y:{[dx.Backward]:e.y[dx.Backward]||i.y===-1,[dx.Forward]:e.y[dx.Forward]||i.y===1}}},[n,t,r])}function qx(e,t){let n=t==null?void 0:e.get(t),r=n?n.node.current:null;return mb(e=>t==null?null:r??e??null,[r,t])}function Jx(e,t){return(0,V.useMemo)(()=>e.reduce((e,n)=>{let{sensor:r}=n,i=r.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}));return[...e,...i]},[]),[e,t])}var Yx;(function(e){e[e.Always=0]=`Always`,e[e.BeforeDragging=1]=`BeforeDragging`,e[e.WhileDragging=2]=`WhileDragging`})(Yx||={});var Xx;(function(e){e.Optimized=`optimized`})(Xx||={});var Zx=new Map;function Qx(e,t){let{dragging:n,dependencies:r,config:i}=t,[a,o]=(0,V.useState)(null),{frequency:s,measure:c,strategy:l}=i,u=(0,V.useRef)(e),d=g(),f=pb(d),p=(0,V.useCallback)(function(e){e===void 0&&(e=[]),!f.current&&o(t=>t===null?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),m=(0,V.useRef)(null),h=mb(t=>{if(d&&!n)return Zx;if(!t||t===Zx||u.current!==e||a!=null){let t=new Map;for(let n of e){if(!n)continue;if(a&&a.length>0&&!a.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new Sx(c(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,a,n,d,c]);return(0,V.useEffect)(()=>{u.current=e},[e]),(0,V.useEffect)(()=>{d||p()},[n,d]),(0,V.useEffect)(()=>{a&&a.length>0&&o(null)},[JSON.stringify(a)]),(0,V.useEffect)(()=>{d||typeof s!=`number`||m.current!==null||(m.current=setTimeout(()=>{p(),m.current=null},s))},[s,d,p,...r]),{droppableRects:h,measureDroppableContainers:p,measuringScheduled:a!=null};function g(){switch(l){case Yx.Always:return!1;case Yx.BeforeDragging:return n;default:return!n}}}function $x(e,t){return mb(n=>e?n||(typeof t==`function`?t(e):e):null,[t,e])}function eS(e,t){return $x(e,t)}function tS(e){let{callback:t,disabled:n}=e,r=db(t),i=(0,V.useMemo)(()=>{if(n||typeof window>`u`||window.MutationObserver===void 0)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,V.useEffect)(()=>()=>i?.disconnect(),[i]),i}function nS(e){let{callback:t,disabled:n}=e,r=db(t),i=(0,V.useMemo)(()=>{if(n||typeof window>`u`||window.ResizeObserver===void 0)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,V.useEffect)(()=>()=>i?.disconnect(),[i]),i}function rS(e){return new Sx(ex(e),e)}function iS(e,t,n){t===void 0&&(t=rS);let[r,i]=(0,V.useState)(null);function a(){i(r=>{if(!e)return null;if(e.isConnected===!1)return r??n??null;let i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i})}let o=tS({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if(t===`childList`&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),s=nS({callback:a});return ub(()=>{a(),e?(s?.observe(e),o?.observe(document.body,{childList:!0,subtree:!0})):(s?.disconnect(),o?.disconnect())},[e]),r}function aS(e){return Jb(e,$x(e))}var oS=[];function sS(e){let t=(0,V.useRef)(e),n=mb(n=>e?n&&n!==oS&&e&&t.current&&e.parentNode===t.current.parentNode?n:ax(e):oS,[e]);return(0,V.useEffect)(()=>{t.current=e},[e]),n}function cS(e){let[t,n]=(0,V.useState)(null),r=(0,V.useRef)(e),i=(0,V.useCallback)(e=>{let t=sx(e.target);t&&n(e=>e?(e.set(t,ux(t)),new Map(e)):null)},[]);return(0,V.useEffect)(()=>{let t=r.current;if(e!==t){a(t);let o=e.map(e=>{let t=sx(e);return t?(t.addEventListener(`scroll`,i,{passive:!0}),[t,ux(t)]):null}).filter(e=>e!=null);n(o.length?new Map(o):null),r.current=e}return()=>{a(e),a(t)};function a(e){e.forEach(e=>{sx(e)?.removeEventListener(`scroll`,i)})}},[i,e]),(0,V.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>bb(e,t),Vb):_x(e):Vb,[e,t])}function lS(e,t){t===void 0&&(t=[]);let n=(0,V.useRef)(null);return(0,V.useEffect)(()=>{n.current=null},t),(0,V.useEffect)(()=>{let t=e!==Vb;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?xb(e,n.current):Vb}function uS(e){(0,V.useEffect)(()=>{if(!nb)return;let t=e.map(e=>{let{sensor:t}=e;return t.setup==null?void 0:t.setup()});return()=>{for(let e of t)e?.()}},e.map(e=>{let{sensor:t}=e;return t}))}function dS(e,t){return(0,V.useMemo)(()=>e.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[e,t])}function fS(e){return(0,V.useMemo)(()=>e?nx(e):null,[e])}var pS=[];function mS(e,t){t===void 0&&(t=ex);let[n]=e,r=fS(n?ab(n):null),[i,a]=(0,V.useState)(pS);function o(){a(()=>e.length?e.map(e=>fx(e)?r:new Sx(t(e),e)):pS)}let s=nS({callback:o});return ub(()=>{s?.disconnect(),o(),e.forEach(e=>s?.observe(e))},[e]),i}function hS(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return sb(t)?t:e}function gS(e){let{measure:t}=e,[n,r]=(0,V.useState)(null),i=nS({callback:(0,V.useCallback)(e=>{for(let{target:n}of e)if(sb(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),[a,o]=hb((0,V.useCallback)(e=>{let n=hS(e);i?.disconnect(),n&&i?.observe(n),r(n?t(n):null)},[t,i]));return(0,V.useMemo)(()=>({nodeRef:a,rect:n,setRef:o}),[n,a,o])}var _S=[{sensor:Ix,options:{}},{sensor:jx,options:{}}],vS={current:{}},yS={draggable:{measure:tx},droppable:{measure:tx,strategy:Yx.WhileDragging,frequency:Xx.Optimized},dragOverlay:{measure:ex}},bS=class extends Map{get(e){return e==null?void 0:super.get(e)??void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){return this.get(e)?.node.current??void 0}},xS={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new bS,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Bb},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:yS,measureDroppableContainers:Bb,windowRect:null,measuringScheduled:!1},SS={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:``},dispatch:Bb,draggableNodes:new Map,over:null,measureDroppableContainers:Bb},CS=(0,V.createContext)(SS),wS=(0,V.createContext)(xS);function TS(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new bS}}}function ES(e,t){switch(t.type){case zb.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case zb.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case zb.DragEnd:case zb.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case zb.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new bS(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case zb.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;let o=new bS(e.droppable.containers);return o.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case zb.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let a=new bS(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function DS(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,V.useContext)(CS),a=gb(r),o=gb(n?.id);return(0,V.useEffect)(()=>{if(!t&&!r&&a&&o!=null){if(!Cb(a)||document.activeElement===a.target)return;let e=i.get(o);if(!e)return;let{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=Ob(e);if(t){t.focus();break}}})}},[r,t,i,o,a]),null}function OS(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}function kS(e){return(0,V.useMemo)(()=>({draggable:{...yS.draggable,...e?.draggable},droppable:{...yS.droppable,...e?.droppable},dragOverlay:{...yS.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function AS(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,a=(0,V.useRef)(!1),{x:o,y:s}=typeof i==`boolean`?{x:i,y:i}:i;ub(()=>{if(!o&&!s||!t){a.current=!1;return}if(a.current||!r)return;let e=t?.node.current;if(!e||e.isConnected===!1)return;let i=Jb(n(e),r);if(o||(i.x=0),s||(i.y=0),a.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=ox(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,o,s,r,n])}var jS=(0,V.createContext)({...Vb,scaleX:1,scaleY:1}),MS;(function(e){e[e.Uninitialized=0]=`Uninitialized`,e[e.Initializing=1]=`Initializing`,e[e.Initialized=2]=`Initialized`})(MS||={});var NS=(0,V.memo)(function(e){let{id:t,accessibility:n,autoScroll:r=!0,children:i,sensors:a=_S,collisionDetection:o=Kb,measuring:s,modifiers:c,...l}=e,[u,d]=(0,V.useReducer)(ES,void 0,TS),[f,p]=Fb(),[m,h]=(0,V.useState)(MS.Uninitialized),g=m===MS.Initialized,{draggable:{active:_,nodes:v,translate:y},droppable:{containers:b}}=u,x=_==null?null:v.get(_),S=(0,V.useRef)({initial:null,translated:null}),C=(0,V.useMemo)(()=>_==null?null:{id:_,data:x?.data??vS,rect:S},[_,x]),w=(0,V.useRef)(null),[T,E]=(0,V.useState)(null),[D,O]=(0,V.useState)(null),k=pb(l,Object.values(l)),A=vb(`DndDescribedBy`,t),j=(0,V.useMemo)(()=>b.getEnabled(),[b]),M=kS(s),{droppableRects:ee,measureDroppableContainers:N,measuringScheduled:te}=Qx(j,{dragging:g,dependencies:[y.x,y.y],config:M.droppable}),P=qx(v,_),ne=(0,V.useMemo)(()=>D?Tb(D):null,[D]),re=Oe(),F=eS(P,M.draggable.measure);AS({activeNode:_==null?null:v.get(_),config:re.layoutShiftCompensation,initialRect:F,measure:M.draggable.measure});let I=iS(P,M.draggable.measure,F),ie=iS(P?P.parentElement:null),ae=(0,V.useRef)({activatorEvent:null,active:null,activeNode:P,collisionRect:null,collisions:null,droppableRects:ee,draggableNodes:v,draggingNode:null,draggingNodeRect:null,droppableContainers:b,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),L=b.getNodeFor(ae.current.over?.id),oe=gS({measure:M.dragOverlay.measure}),se=oe.nodeRef.current??P,ce=g?oe.rect??I:null,R=!!(oe.nodeRef.current&&oe.rect),le=aS(R?null:I),ue=fS(se?ab(se):null),z=sS(g?L??P:null),de=mS(z),B=OS(c,{transform:{x:y.x-le.x,y:y.y-le.y,scaleX:1,scaleY:1},activatorEvent:D,active:C,activeNodeRect:I,containerNodeRect:ie,draggingNodeRect:ce,over:ae.current.over,overlayNodeRect:oe.rect,scrollableAncestors:z,scrollableAncestorRects:de,windowRect:ue}),fe=ne?bb(ne,y):null,pe=cS(z),me=lS(pe),he=lS(pe,[I]),ge=bb(B,me),_e=ce?Xb(ce,B):null,ve=C&&_e?o({active:C,collisionRect:_e,droppableRects:ee,droppableContainers:j,pointerCoordinates:fe}):null,ye=Wb(ve,`id`),[be,xe]=(0,V.useState)(null),Se=qb(R?B:bb(B,he),be?.rect??null,I),Ce=(0,V.useRef)(null),we=(0,V.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(w.current==null)return;let i=v.get(w.current);if(!i)return;let a=e.nativeEvent,o=new n({active:w.current,activeNode:i,event:a,options:r,context:ae,onAbort(e){if(!v.get(e))return;let{onDragAbort:t}=k.current,n={id:e};t?.(n),f({type:`onDragAbort`,event:n})},onPending(e,t,n,r){if(!v.get(e))return;let{onDragPending:i}=k.current,a={id:e,constraint:t,initialCoordinates:n,offset:r};i?.(a),f({type:`onDragPending`,event:a})},onStart(e){let t=w.current;if(t==null)return;let n=v.get(t);if(!n)return;let{onDragStart:r}=k.current,i={activatorEvent:a,active:{id:t,data:n.data,rect:S}};(0,xs.unstable_batchedUpdates)(()=>{r?.(i),h(MS.Initializing),d({type:zb.DragStart,initialCoordinates:e,active:t}),f({type:`onDragStart`,event:i}),E(Ce.current),O(a)})},onMove(e){d({type:zb.DragMove,coordinates:e})},onEnd:s(zb.DragEnd),onCancel:s(zb.DragCancel)});Ce.current=o;function s(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=ae.current,o=null;if(t&&i){let{cancelDrop:s}=k.current;o={activatorEvent:a,active:t,collisions:n,delta:i,over:r},e===zb.DragEnd&&typeof s==`function`&&await Promise.resolve(s(o))&&(e=zb.DragCancel)}w.current=null,(0,xs.unstable_batchedUpdates)(()=>{d({type:e}),h(MS.Uninitialized),xe(null),E(null),O(null),Ce.current=null;let t=e===zb.DragEnd?`onDragEnd`:`onDragCancel`;if(o){let e=k.current[t];e?.(o),f({type:t,event:o})}})}}},[v]),Te=Jx(a,(0,V.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,a=v.get(r);if(w.current!==null||!a||i.dndKit||i.defaultPrevented)return;let o={active:a};e(n,t.options,o)===!0&&(i.dndKit={capturedBy:t.sensor},w.current=r,we(n,t))},[v,we]));uS(a),ub(()=>{I&&m===MS.Initializing&&h(MS.Initialized)},[I,m]),(0,V.useEffect)(()=>{let{onDragMove:e}=k.current,{active:t,activatorEvent:n,collisions:r,over:i}=ae.current;if(!t||!n)return;let a={active:t,activatorEvent:n,collisions:r,delta:{x:ge.x,y:ge.y},over:i};(0,xs.unstable_batchedUpdates)(()=>{e?.(a),f({type:`onDragMove`,event:a})})},[ge.x,ge.y]),(0,V.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=ae.current;if(!e||w.current==null||!t||!i)return;let{onDragOver:a}=k.current,o=r.get(ye),s=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,xs.unstable_batchedUpdates)(()=>{xe(s),a?.(c),f({type:`onDragOver`,event:c})})},[ye]),ub(()=>{ae.current={activatorEvent:D,active:C,activeNode:P,collisionRect:_e,collisions:ve,droppableRects:ee,draggableNodes:v,draggingNode:se,draggingNodeRect:ce,droppableContainers:b,over:be,scrollableAncestors:z,scrollAdjustedTranslate:ge},S.current={initial:ce,translated:_e}},[C,P,ve,_e,v,se,ce,ee,b,be,z,ge]),Wx({...re,delta:y,draggingRect:_e,pointerCoordinates:fe,scrollableAncestors:z,scrollableAncestorRects:de});let Ee=(0,V.useMemo)(()=>({active:C,activeNode:P,activeNodeRect:I,activatorEvent:D,collisions:ve,containerNodeRect:ie,dragOverlay:oe,draggableNodes:v,droppableContainers:b,droppableRects:ee,over:be,measureDroppableContainers:N,scrollableAncestors:z,scrollableAncestorRects:de,measuringConfiguration:M,measuringScheduled:te,windowRect:ue}),[C,P,I,D,ve,ie,oe,v,b,ee,be,N,z,de,M,te,ue]),De=(0,V.useMemo)(()=>({activatorEvent:D,activators:Te,active:C,activeNodeRect:I,ariaDescribedById:{draggable:A},dispatch:d,draggableNodes:v,over:be,measureDroppableContainers:N}),[D,Te,C,I,d,A,v,be,N]);return V.createElement(Nb.Provider,{value:p},V.createElement(CS.Provider,{value:De},V.createElement(wS.Provider,{value:Ee},V.createElement(jS.Provider,{value:Se},i)),V.createElement(DS,{disabled:n?.restoreFocus===!1})),V.createElement(Rb,{...n,hiddenTextDescribedById:A}));function Oe(){let e=T?.autoScrollEnabled===!1,t=typeof r==`object`?r.enabled===!1:r===!1,n=g&&!e&&!t;return typeof r==`object`?{...r,enabled:n}:{enabled:n}}}),PS=(0,V.createContext)(null),FS=`button`,IS=`Draggable`;function LS(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,a=vb(IS),{activators:o,activatorEvent:s,active:c,activeNodeRect:l,ariaDescribedById:u,draggableNodes:d,over:f}=(0,V.useContext)(CS),{role:p=FS,roleDescription:m=`draggable`,tabIndex:h=0}=i??{},g=c?.id===t,_=(0,V.useContext)(g?jS:PS),[v,y]=hb(),[b,x]=hb(),S=dS(o,t),C=pb(n);return ub(()=>(d.set(t,{id:t,key:a,node:v,activatorNode:b,data:C}),()=>{let e=d.get(t);e&&e.key===a&&d.delete(t)}),[d,t]),{active:c,activatorEvent:s,activeNodeRect:l,attributes:(0,V.useMemo)(()=>({role:p,tabIndex:h,"aria-disabled":r,"aria-pressed":g&&p===FS?!0:void 0,"aria-roledescription":m,"aria-describedby":u.draggable}),[r,p,h,g,m,u.draggable]),isDragging:g,listeners:r?void 0:S,node:v,over:f,setNodeRef:y,setActivatorNodeRef:x,transform:_}}function RS(){return(0,V.useContext)(wS)}var zS=`Droppable`,BS={timeout:25};function VS(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,a=vb(zS),{active:o,dispatch:s,over:c,measureDroppableContainers:l}=(0,V.useContext)(CS),u=(0,V.useRef)({disabled:n}),d=(0,V.useRef)(!1),f=(0,V.useRef)(null),p=(0,V.useRef)(null),{disabled:m,updateMeasurementsFor:h,timeout:g}={...BS,...i},_=pb(h??r),v=nS({callback:(0,V.useCallback)(()=>{if(!d.current){d.current=!0;return}p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{l(Array.isArray(_.current)?_.current:[_.current]),p.current=null},g)},[g]),disabled:m||!o}),[y,b]=hb((0,V.useCallback)((e,t)=>{v&&(t&&(v.unobserve(t),d.current=!1),e&&v.observe(e))},[v])),x=pb(t);return(0,V.useEffect)(()=>{!v||!y.current||(v.disconnect(),d.current=!1,v.observe(y.current))},[y,v]),(0,V.useEffect)(()=>(s({type:zb.RegisterDroppable,element:{id:r,key:a,disabled:n,node:y,rect:f,data:x}}),()=>s({type:zb.UnregisterDroppable,key:a,id:r})),[r]),(0,V.useEffect)(()=>{n!==u.current.disabled&&(s({type:zb.SetDroppableDisabled,id:r,key:a,disabled:n}),u.current.disabled=n)},[r,a,n,s]),{active:o,rect:f,isOver:c?.id===r,node:y,over:c,setNodeRef:b}}function HS(e){let{animation:t,children:n}=e,[r,i]=(0,V.useState)(null),[a,o]=(0,V.useState)(null),s=gb(n);return!n&&!r&&s&&i(s),ub(()=>{if(!a)return;let e=r?.key,n=r?.props.id;if(e==null||n==null){i(null);return}Promise.resolve(t(n,a)).then(()=>{i(null)})},[t,r,a]),V.createElement(V.Fragment,null,n,r?(0,V.cloneElement)(r,{ref:o}):null)}var US={x:0,y:0,scaleX:1,scaleY:1};function WS(e){let{children:t}=e;return V.createElement(CS.Provider,{value:SS},V.createElement(jS.Provider,{value:US},t))}var GS={position:`fixed`,touchAction:`none`},KS=e=>Cb(e)?`transform 250ms ease`:void 0,qS=(0,V.forwardRef)((e,t)=>{let{as:n,activatorEvent:r,adjustScale:i,children:a,className:o,rect:s,style:c,transform:l,transition:u=KS}=e;if(!s)return null;let d=i?l:{...l,scaleX:1,scaleY:1},f={...GS,width:s.width,height:s.height,top:s.top,left:s.left,transform:Eb.Transform.toString(d),transformOrigin:i&&r?Hb(r,s):void 0,transition:typeof u==`function`?u(r):u,...c};return V.createElement(n,{className:o,style:f,ref:t},a)}),JS={duration:250,easing:`ease`,keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:Eb.Transform.toString(t)},{transform:Eb.Transform.toString(n)}]},sideEffects:(e=>t=>{let{active:n,dragOverlay:r}=t,i={},{styles:a,className:o}=e;if(a!=null&&a.active)for(let[e,t]of Object.entries(a.active))t!==void 0&&(i[e]=n.node.style.getPropertyValue(e),n.node.style.setProperty(e,t));if(a!=null&&a.dragOverlay)for(let[e,t]of Object.entries(a.dragOverlay))t!==void 0&&r.node.style.setProperty(e,t);return o!=null&&o.active&&n.node.classList.add(o.active),o!=null&&o.dragOverlay&&r.node.classList.add(o.dragOverlay),function(){for(let[e,t]of Object.entries(i))n.node.style.setProperty(e,t);o!=null&&o.active&&n.node.classList.remove(o.active)}})({styles:{active:{opacity:`0`}}})};function YS(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:i}=e;return db((e,a)=>{if(t===null)return;let o=n.get(e);if(!o)return;let s=o.node.current;if(!s)return;let c=hS(a);if(!c)return;let{transform:l}=ab(a).getComputedStyle(a),u=Zb(l);if(!u)return;let d=typeof t==`function`?t:XS(t);return bx(s,i.draggable.measure),d({active:{id:e,data:o.data,node:s,rect:i.draggable.measure(s)},draggableNodes:n,dragOverlay:{node:a,rect:i.dragOverlay.measure(c)},droppableContainers:r,measuringConfiguration:i,transform:u})})}function XS(e){let{duration:t,easing:n,sideEffects:r,keyframes:i}={...JS,...e};return e=>{let{active:a,dragOverlay:o,transform:s,...c}=e;if(!t)return;let l={x:o.rect.left-a.rect.left,y:o.rect.top-a.rect.top},u={scaleX:s.scaleX===1?1:a.rect.width*s.scaleX/o.rect.width,scaleY:s.scaleY===1?1:a.rect.height*s.scaleY/o.rect.height},d={x:s.x-l.x,y:s.y-l.y,...u},f=i({...c,active:a,dragOverlay:o,transform:{initial:s,final:d}}),[p]=f,m=f[f.length-1];if(JSON.stringify(p)===JSON.stringify(m))return;let h=r?.({active:a,dragOverlay:o,...c}),g=o.node.animate(f,{duration:t,easing:n,fill:`forwards`});return new Promise(e=>{g.onfinish=()=>{h?.(),e()}})}}var ZS=0;function QS(e){return(0,V.useMemo)(()=>{if(e!=null)return ZS++,ZS},[e])}var $S=V.memo(e=>{let{adjustScale:t=!1,children:n,dropAnimation:r,style:i,transition:a,modifiers:o,wrapperElement:s=`div`,className:c,zIndex:l=999}=e,{activatorEvent:u,active:d,activeNodeRect:f,containerNodeRect:p,draggableNodes:m,droppableContainers:h,dragOverlay:g,over:_,measuringConfiguration:v,scrollableAncestors:y,scrollableAncestorRects:b,windowRect:x}=RS(),S=(0,V.useContext)(jS),C=QS(d?.id),w=OS(o,{activatorEvent:u,active:d,activeNodeRect:f,containerNodeRect:p,draggingNodeRect:g.rect,over:_,overlayNodeRect:g.rect,scrollableAncestors:y,scrollableAncestorRects:b,transform:S,windowRect:x}),T=$x(f),E=YS({config:r,draggableNodes:m,droppableContainers:h,measuringConfiguration:v}),D=T?g.setRef:void 0;return V.createElement(WS,null,V.createElement(HS,{animation:E},d&&C?V.createElement(qS,{key:C,id:d.id,ref:D,as:s,activatorEvent:u,adjustScale:t,className:c,transition:a,rect:T,style:{zIndex:l,...i},transform:w},n):null))}),eC=1,tC=2,nC=4,rC=1,iC=2,aC=500,oC=9007199254740991,sC=`[object Arguments]`,cC=`[object Array]`,lC=`[object ArrayBuffer]`,uC=`[object AsyncFunction]`,dC=`[object Boolean]`,fC=`[object DataView]`,pC=`[object Date]`,mC=`[object Error]`,hC=`[object Function]`,gC=`[object GeneratorFunction]`,_C=`[object Map]`,vC=`[object Number]`,yC=`[object Object]`,bC=`[object Proxy]`,xC=`[object RegExp]`,SC=`[object Set]`,CC=`[object String]`,wC=`[object Symbol]`,TC=new Set([`Float32`,`Float64`,`Int8`,`Int16`,`Int32`,`Uint8`,`Uint8Clamped`,`Uint16`,`Uint32`].map(e=>`[object ${e}Array]`)),EC=new Set([sC,cC,lC,dC,fC,pC,_C,vC,yC,xC,SC,CC,wC,...TC]),DC=/\\(\\)?/g,OC=/\w*$/,kC=/^[-+]0x[0-9a-f]+$/i,AC=/^0b[01]+$/i,jC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,MC=/^0o[0-7]+$/i,NC=/^\w*$/,PC=/^(?:0|[1-9]\d*)$/,FC=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,IC=/^\s+/,LC=/\s/,RC=Object.prototype,zC=RC.hasOwnProperty,BC=RC.toString,VC=RC.propertyIsEnumerable;Function.prototype.toString.call(Object);var HC=Symbol.prototype.toString,UC=Symbol.prototype.valueOf;function WC(e){return typeof e==`object`&&!!e}function GC(e,t){return e===t||e!==e&&t!==t}function KC(e){let t=zC.call(e,Symbol.toStringTag),n=e[Symbol.toStringTag],r=!1;try{e[Symbol.toStringTag]=void 0,r=!0}catch{}let i=BC.call(e);return r&&(t?e[Symbol.toStringTag]=n:delete e[Symbol.toStringTag]),i}function qC(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Symbol.toStringTag in Object(e)?KC(e):BC.call(e)}function JC(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=oC}function YC(e,t){let n=typeof e,r=t??oC;return!!r&&(n==`number`||n!=`symbol`&&PC.test(e))&&e>-1&&e%1==0&&e<r}function XC(e){return e!=null&&JC(e.length)&&!TT(e)}function ZC(e){return WC(e)&&qC(e)==sC}function QC(e){return WC(e)&&JC(e.length)&&TC.has(qC(e))}function $C(e){return typeof e==`symbol`||WC(e)&&qC(e)==wC}function ew(e){return WC(e)&&qC(e)==_C}function tw(e){return WC(e)&&qC(e)==SC}function nw(e){let t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||RC)}function rw(e){return e===e&&!ET(e)}function iw(e){let t=e.length;for(;t--&&LC.test(e.charAt(t)););return t}function aw(e){return e&&e.slice(0,iw(e)+1).replace(IC,``)}function ow(e){if(typeof e==`number`)return e;if($C(e))return NaN;if(ET(e)){let t=typeof e.valueOf==`function`?e.valueOf():e;e=ET(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;let t=aw(e),n=AC.test(t);return n||MC.test(t)?parseInt(t.slice(2),n?2:8):kC.test(t)?NaN:+t}function sw(e){if(!e)return e===0?e:0;let t=ow(e);return t===1/0||t===-1/0?t<0?-Number.MAX_VALUE:Number.MAX_VALUE:t===t?t:0}function cw(e){let t=sw(e),n=t%1;return n?t-n:t}function lw(e){if(typeof e==`string`)return e;if(Array.isArray(e))return mw(e,lw)+``;if($C(e))return HC.call(e);let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function uw(e){return e==null?``:lw(e)}function dw(e){if(typeof e==`string`||$C(e))return e;let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function fw(e){return e}function pw(e,t){let n=-1,r=e==null?0:e.length;for(;++n<r&&t(e[n],n,e)!==!1;);return e}function mw(e,t){let n=-1,r=e==null?0:e.length,i=Array(r);for(;++n<r;)i[n]=t(e[n],n,e);return i}function hw(e,t){let n=-1,{length:r}=t,i=e.length;for(;++n<r;)e[i+n]=t[n];return e}function gw(e,t){let n=-1,r=e==null?0:e.length;for(;++n<r;)if(t(e[n],n))return!0;return!1}function _w(e,t,n){let{length:r}=e,i=n-1;for(;++i<r;)if(t(e[i],i,e))return i;return-1}function vw(e,t){let n=-1,r=Array(e);for(;++n<e;)r[n]=t(n);return r}function yw(e,t){let n=-1,{length:r}=e,i=t||Array(r);for(;++n<r;)i[n]=e[n];return i}function bw(e){let t=-1,n=Array(e.size);return e.forEach(e=>{n[++t]=e}),n}function xw(e){let t=-1,n=Array(e.size);return e.forEach((e,r)=>{n[++t]=[r,e]}),n}function Sw(e,t){let n=Array.isArray(e),r=!n&&ZC(e),i=!n&&!r&&QC(e),a=n||r||i,o=a?vw(e.length,String):[],{length:s}=o;for(let n in e)(t||zC.call(e,n))&&!(a&&(n==`length`||i&&(n==`buffer`||n==`byteLength`||n==`byteOffset`)||YC(n,s)))&&o.push(n);return o}function Cw(e){if(!nw(e))return Object.keys(Object(e));let t=[];for(let n in Object(e))zC.call(e,n)&&n!=`constructor`&&t.push(n);return t}function ww(e){let t=[];if(e!=null)for(let n in Object(e))t.push(n);return t}function Tw(e){if(!ET(e))return ww(e);let t=nw(e),n=[];for(let r in e)r==`constructor`&&(t||!zC.call(e,r))||n.push(r);return n}function Ew(e){return XC(e)?Sw(e,!1):Cw(e)}function Dw(e){return XC(e)?Sw(e,!0):Tw(e)}function Ow(e){if(e==null)return[];let t=Object(e);return Object.getOwnPropertySymbols(t).filter(e=>VC.call(t,e))}function kw(e){let t=[],n=e;for(;n;)hw(t,Ow(n)),n=Object.getPrototypeOf(Object(n));return t}function Aw(e){let t=Ew(e);return Array.isArray(e)?t:hw(t,Ow(e))}function jw(e){let t=Dw(e);return Array.isArray(e)?t:hw(t,kw(e))}function Mw(e,t,n){t==`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Nw(e,t,n){let r=e[t];(!(zC.call(e,t)&&GC(r,n))||n===void 0&&!(t in e))&&Mw(e,t,n)}function Pw(e,t,n){let r=!n,i=n||{},a=-1,{length:o}=t;for(;++a<o;){let n=t[a];r?Mw(i,n,e[n]):Nw(i,n,e[n])}return i}function Fw(e,t){return e&&Pw(t,Ew(t),e)}function Iw(e,t){return e&&Pw(t,Dw(t),e)}function Lw(e,t){return Pw(e,Ow(e),t)}function Rw(e,t){return Pw(e,kw(e),t)}function zw(e,t,n){let r=-1,i=Object(e),a=n(e),{length:o}=a;for(;o--;){let e=a[++r];if(t(i[e],e,i)===!1)break}return e}function Bw(e,t){return e&&zw(e,t,Ew)}function Vw(e,t){if(e==null)return e;if(!XC(e))return Bw(e,t);let{length:n}=e,r=-1,i=Object(e);for(;++r<n&&t(i[r],r,i)!==!1;);return e}function Hw(e){let t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(FC,(e,n,r,i)=>(t.push(r?i.replace(DC,`$1`):n||e),e)),t}var Uw=new Map;function Ww(e){Uw.size===aC&&Uw.clear();let t=Uw.get(e);return t===void 0&&(t=Hw(e),Uw.set(e,t)),t}function Gw(e,t){if(Array.isArray(e))return!1;let n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||$C(e)?!0:NC.test(e)||!jC.test(e)||t!=null&&e in Object(t)}function Kw(e,t){return Array.isArray(e)?e:Gw(e,t)?[e]:Ww(uw(e))}function qw(e,t){let n=Kw(t,e),r=0,{length:i}=n,a=e;for(;a!=null&&r<i;)a=a[dw(n[r++])];return r&&r==i?a:void 0}function Jw(e,t){return e!=null&&t in Object(e)}function Yw(e,t,n){let r=Kw(t,e),i=-1,{length:a}=r,o=!1,s,c=e;for(;++i<a&&(s=dw(r[i]),o=c!=null&&n(c,s),o);)c=c[s];return o||++i!=a?o:(a=c==null?0:c.length,!!a&&JC(a)&&YC(s,a)&&(Array.isArray(c)||ZC(c)))}function Xw(e,t){return e!=null&&Yw(e,t,Jw)}function Zw(e){return t=>t?.[e]}function Qw(e){return t=>qw(t,e)}function $w(e){return Gw(e)?Zw(dw(e)):Qw(e)}function eT(e,t){return e.byteLength==t.byteLength&&aT(new Uint8Array(e),new Uint8Array(t))}function tT(e,t,n,r,i){let a=n&rC,o=e.length,s=t.length;if(o!=s&&!(a&&s>o))return!1;let c=i.get(e),l=i.get(t);if(c&&l)return c==t&&l==e;let u=-1,d=!0,f=n&iC?new Set:void 0;for(i.set(e,t),i.set(t,e);++u<o;){let o=e[u],s=t[u],c;if(r&&(c=a?r(s,o,u,t,e,i):r(o,s,u,e,t,i)),c!==void 0){if(c)continue;d=!1;break}if(f){if(!gw(t,(e,t)=>!f.has(t)&&(o===e||aT(o,e,n,r,i))?f.add(t):!1)){d=!1;break}}else if(!(o===s||aT(o,s,n,r,i))){d=!1;break}}return i.delete(e),i.delete(t),d}function nT(e,t,n,r,i,a){switch(n){case fC:return e.byteLength==t.byteLength&&e.byteOffset==t.byteOffset&&eT(e.buffer,t.buffer);case lC:return eT(e,t);case dC:case pC:case vC:return GC(+e,+t);case mC:return e.name==t.name&&e.message==t.message;case xC:case CC:return e==t+``;case _C:case SC:{let o=r&rC;if(e.size!=t.size&&!o)return!1;let s=a.get(e);if(s)return s==t;let c=n==_C?xw:bw;a.set(e,t);let l=tT(c(e),c(t),r|iC,i,a);return a.delete(e),l}case wC:return UC.call(e)==UC.call(t)}return!1}function rT(e,t,n,r,i){let a=n&rC,o=Aw(e),s=o.length;if(s!=Aw(t).length&&!a)return!1;let c=s;for(;c--;){let e=o[c];if(!(a?e in t:zC.call(t,e)))return!1}let l=i.get(e),u=i.get(t);if(l&&u)return l==t&&u==e;let d=!0;i.set(e,t),i.set(t,e);let f=!!a;for(;++c<s;){let s=o[c],l=e[s],u=t[s],p;if(r&&(p=a?r(u,l,s,t,e,i):r(l,u,s,e,t,i)),!(p===void 0?l===u||aT(l,u,n,r,i):p)){d=!1;break}f||=s==`constructor`}if(d&&!f){let n=e.constructor,r=t.constructor;n!=r&&`constructor`in e&&`constructor`in t&&!(typeof n==`function`&&n instanceof n&&typeof r==`function`&&r instanceof r)&&(d=!1)}return i.delete(e),i.delete(t),d}function iT(e,t,n,r,i){let a=Array.isArray(e),o=Array.isArray(t),s=a?cC:qC(e),c=o?cC:qC(t);s=s==sC?yC:s,c=c==sC?yC:c;let l=s==yC,u=s==c;return u&&!l?a||QC(e)?tT(e,t,n,r,i||new Map):nT(e,t,s,n,r,i||new Map):u?rT(e,t,n,r,i||new Map):!1}function aT(e,t,n=0,r,i){return e===t?!0:e==null||t==null||!WC(e)&&!WC(t)?e!==e&&t!==t:iT(e,t,n,r,i)}function oT(e){return Ew(e).map(t=>[t,e[t],rw(e[t])])}function sT(e,t){return n=>n!=null&&n[e]===t&&(t!==void 0||e in Object(n))}function cT(e,t){let n=t.length,r=n;if(e==null)return!r;let i=Object(e);for(;n--;){let[e,r,a]=t[n];if(a?r!==i[e]:!(e in i))return!1}for(;++n<r;){let[e,r,a]=t[n],o=i[e];if(a){if(o===void 0&&!(e in i))return!1}else if(!aT(r,o,3))return!1}return!0}function lT(e){let t=oT(e);return t.length==1&&t[0][2]?sT(t[0][0],t[0][1]):n=>n===e||cT(n,t)}function uT(e,t){return Gw(e)&&rw(t)?sT(dw(e),t):n=>{let r=CT(n,e);return r===void 0&&r===t?Xw(n,e):aT(t,r,3)}}function dT(e){return typeof e==`function`?e:e==null?fw:typeof e==`object`?Array.isArray(e)?uT(e[0],e[1]):lT(e):$w(e)}function fT(e){return ET(e)?Object.create(e):{}}function pT(e){let{length:t}=e,n=new e.constructor(t);return t&&typeof e[0]==`string`&&zC.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function mT(e){return typeof e.constructor==`function`&&!nw(e)?fT(Object.getPrototypeOf(Object(e))):{}}function hT(e){let t=new e.constructor(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}function gT(e,t){let n=t?hT(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function _T(e,t,n){let r=e.constructor;switch(t){case lC:return hT(e);case dC:case pC:return new r(+e);case fC:return new r(n?hT(e.buffer):e.buffer,e.byteOffset,e.byteLength);case _C:case SC:return new r;case vC:case CC:return new r(e);case xC:{let t=new r(e.source,OC.exec(e));return t.lastIndex=e.lastIndex,t}case wC:return Object(UC.call(e))}return TC.has(t)?gT(e,n):void 0}function vT(e,t,n,r,i,a){let o,s=!!(t&eC),c=!!(t&tC),l=!!(t&nC);if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!ET(e))return e;let u=Array.isArray(e);if(u){if(o=pT(e),!s)return yw(e,o)}else{let t=qC(e),n=t==hC||t==gC;if(t==yC||t==sC||n&&!i){if(o=c||n?{}:mT(e),!s)return c?Rw(e,Iw(o,e)):Lw(e,Fw(o,e))}else{if(!EC.has(t))return i?e:{};o=_T(e,t,s)}}let d=a||new Map,f=d.get(e);if(f)return f;d.set(e,o),tw(e)?e.forEach(r=>{o.add(vT(r,t,n,r,e,d))}):ew(e)&&e.forEach((r,i)=>{o.set(i,vT(r,t,n,i,e,d))});let p=u?void 0:(l?c?jw:Aw:c?Dw:Ew)(e);return pw(p||e,(r,i)=>{let a=i,s=r;p&&(a=r,s=e[a]),Nw(o,a,vT(s,t,n,a,e,d))}),o}function yT(e,t,n){let r=e==null?0:e.length;if(!r)return-1;let i=n==null?0:cw(n);return i<0&&(i=Math.max(r+i,0)),_w(e,t,i)}function bT(e){return vT(e,5)}function xT(e,t,n=0){let r=Object(e);if(XC(e)){let i=yT(e,dT(t),n);return i>-1?r[i]:void 0}let i=dT(t),a=Ew(e),o=yT(a,e=>i(r[e],e,r),n);return o>-1?r[a[o]]:void 0}function ST(e,t){let n=dT(t),r;return Bw(e,(e,t,i)=>{if(n(e,t,i))return r=t,!1}),r}function CT(e,t,n){let r=e==null?void 0:qw(e,t);return r===void 0?n:r}function wT(e){if(e==null)return!0;if(XC(e)&&(Array.isArray(e)||typeof e==`string`||typeof e.splice==`function`||QC(e)||ZC(e)))return!e.length;let t=qC(e);if(t==_C||t==SC)return!e.size;if(nw(e))return!Cw(e).length;for(let t in e)if(zC.call(e,t))return!1;return!0}function TT(e){if(!ET(e))return!1;let t=qC(e);return t==hC||t==gC||t==uC||t==bC}function ET(e){let t=typeof e;return e!=null&&(t==`object`||t==`function`)}function DT(e){return e===void 0}function OT(e,t,n){let r=arguments.length<3,i=dT(t),a=n;if(Array.isArray(e)){let t=-1,{length:n}=e;for(r&&n&&(a=e[++t]);++t<n;)a=i(a,e[t],t,e);return a}return Vw(e,(e,t,n)=>{r?(r=!1,a=e):a=i(a,e,t,n)}),a}var kT=(e,t,n)=>{if(!e||e.length<=1||t===void 0||n===void 0)throw Error(`swap requires a non-empty array, fromIndex, toIndex: ${e}, ${t} ${n}`);let r=bT(e),i=e[n];return r[n]=r[t],r[t]=i,r},AT={flex:1};function jT({id:e,children:t,disabled:n,classes:r,isVerticalPool:i,minHeight:a}){let{setNodeRef:o,isOver:s}=VS({id:e,disabled:n});return(0,H.jsx)(`div`,{ref:o,style:AT,children:(0,H.jsx)(tb,{disabled:n,isOver:s,choiceBoard:!0,className:r,isVerticalPool:i,minHeight:a,children:t})})}jT.propTypes={id:x.oneOfType([x.string,x.number]).isRequired,children:x.oneOfType([x.arrayOf(x.node),x.node]).isRequired,disabled:x.bool,classes:x.object,isVerticalPool:x.bool,minHeight:x.number};function MT({id:e,children:t,disabled:n,onRemoveAnswer:r,...i}){return(0,H.jsx)(jT,{id:e,disabled:n,...i,children:t})}MT.propTypes={id:x.oneOfType([x.string,x.number]).isRequired,children:x.node,disabled:x.bool,onRemoveAnswer:x.func};function NT(e,t,n){let r={...e};return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),r}var PT=e=>{let{transform:t,draggingNodeRect:n,windowRect:r}=e;return!n||!r?t:NT(t,n,r)},FT=e=>e.data?.droppableContainer?.data?.current,IT=e=>FT(e)?.type===`drop-zone`,LT=e=>FT(e)?.type===`choices-pool`,RT=e=>{let{collisionRect:t,droppableRects:n}=e,r=Kb(e),i=r.filter(IT);if(i.length>0){let e=t.top+t.height/2,r=t=>{let r=n.get(t.id);return r?Math.abs(e-(r.top+r.height/2)):1/0};return[...i].sort((e,t)=>r(e)-r(t))}let a=r.filter(LT);return a.length>0?a:r},zT=25,BT=(e,{active:t,context:n,currentCoordinates:r})=>{let{code:i}=e,a=i===`Tab`,o=i===$.Down||i===$.Up||i===$.Left||i===$.Right;if(!a&&!o)return;if(e.preventDefault(),o)switch(i){case $.Down:return{...r,y:r.y+zT};case $.Up:return{...r,y:r.y-zT};case $.Right:return{...r,x:r.x+zT};case $.Left:return{...r,x:r.x-zT};default:return r}let{droppableRects:s,droppableContainers:c,collisionRect:l}=n;if(!s||s.size===0)return r;let u=t?.data?.current,d=u?.promptId==null?void 0:`drop-${u.promptId}`,f=l?.height??0,p=e=>({x:e.left,y:e.top+e.height/2-f/2}),m=[];for(let[e,t]of c){if(t?.disabled||e===d)continue;let n=t?.node?.current,r=n?.getBoundingClientRect()??s.get(e);if(!r)continue;let i={x:r.left+r.width/2,y:r.top+r.height/2};m.push({id:e,node:n,rect:r,dropPosition:p(r),center:i})}if(m.length===0)return r;let h=e.shiftKey;m.sort((e,t)=>Math.abs(e.center.y-t.center.y)>10?e.center.y-t.center.y:e.center.x-t.center.x);let g=l?{x:l.left+l.width/2,y:l.top+l.height/2}:r,_=m.findIndex(e=>g.x>=e.rect.left&&g.x<=e.rect.right&&g.y>=e.rect.top&&g.y<=e.rect.bottom);if(_===-1){let e=1/0;for(let t=0;t<m.length;t++){let n=VT(r,m[t].dropPosition);n<e&&(e=n,_=t)}}let v=m[h?(_-1+m.length)%m.length:(_+1)%m.length];return v.node?.scrollIntoView?(v.node.scrollIntoView({block:`nearest`,inline:`nearest`,behavior:`instant`}),p(v.node.getBoundingClientRect())):v.dropPosition},VT=(e,t)=>Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2),HT=`height ease-in 300ms, opacity ease-in 300ms`,UT=K(`div`)(()=>({position:`relative`,height:0,overflow:`hidden`,display:`flex`,visibility:`hidden`,width:0,"&.enter":{transition:HT,opacity:1,height:`auto`,width:`auto`,visibility:`visible`,minHeight:`25px`},"&.enter-done":{height:`auto`,visibility:`visible`,width:`auto`,minHeight:`25px`},"&.exit":{transition:HT,opacity:0,height:0,visibility:`visible`,width:0},"&.exit-done":{opacity:0,visibility:`hidden`,height:0,width:0}})),WT=e=>{let{show:t,children:n,className:r}=e,i=(0,V.useRef)(null);return(0,H.jsx)(js,{nodeRef:i,in:t,appear:!0,mountOnEnter:!1,timeout:300,classNames:{enter:`enter`,enterDone:`enter-done`,exit:`exit`,exitDone:`exit-done`},children:(0,H.jsx)(UT,{ref:i,className:r,children:n})})};WT.propTypes={show:x.bool.isRequired,className:x.string,children:x.oneOfType([x.arrayOf(x.node),x.node]).isRequired};function GT(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function KT(e,t){return!e||GT(e)?e:GT(e.default)?e.default:t&&GT(e[t])?e[t]:t&&GT(e[t]?.default)?e[t].default:e}var qT=KT(by,`Readable`)||KT(XT.Readable,`Readable`),JT=Qy,YT=JT.default,XT=YT&&typeof YT==`object`?YT:JT,{translator:ZT}=A_,QT={WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,msUserSelect:`none`,userSelect:`none`},$T=K(`div`)(()=>({width:`100%`,cursor:`pointer`})),eE=K(`button`)(()=>({margin:`0 auto`,textAlign:`center`,display:`flex`,minWidth:`24px`,minHeight:`24px`,padding:0,border:0,background:`none`,color:`inherit`,font:`inherit`,cursor:`pointer`,"&:focus-visible":{outline:`2px solid ${Nf()}`,outlineOffset:`-2px`}})),tE=K(`div`)(()=>({width:`fit-content`,minWidth:`140px`,alignSelf:`center`,verticalAlign:`middle`,color:`var(--correct-answer-toggle-label-color, ${Ud()})`,fontWeight:`normal`,...QT})),nE=K(`div`)(()=>({position:`absolute`,width:`25px`,"&.enter":{opacity:`0`},"&.enter-active":{opacity:`1`,transition:`opacity 0.3s ease-in`},"&.exit":{opacity:`1`},"&.exit-active":{opacity:`0`,transition:`opacity 0.3s ease-in`}})),rE=K(`div`)(()=>({width:`25px`,marginRight:`5px`,display:`flex`,alignItems:`center`})),iE=class e extends V.Component{static propTypes={onToggle:x.func,toggled:x.bool,show:x.bool,hideMessage:x.string,showMessage:x.string,className:x.string,language:x.string};static defaultProps={showMessage:`Show correct answer`,hideMessage:`Hide correct answer`,show:!1,toggled:!1};constructor(t){super(t),this.state={show:t.show},this.openIconRef=V.createRef(),this.closedIconRef=V.createRef(),e.defaultProps={...e.defaultProps,showMessage:ZT.t(`common:showCorrectAnswer`,{lng:t.language}),hideMessage:ZT.t(`common:hideCorrectAnswer`,{lng:t.language})}}onClick(){this.props.onToggle(!this.props.toggled)}onTouch(e){e.preventDefault(),this.props.onToggle(!this.props.toggled)}UNSAFE_componentWillReceiveProps(t){this.setState({show:t.show}),t.language!==this.props?.language&&(e.defaultProps={...e.defaultProps,showMessage:ZT.t(`common:showCorrectAnswer`,{lng:t.language}),hideMessage:ZT.t(`common:hideCorrectAnswer`,{lng:t.language})})}render(){let{className:e,toggled:t,hideMessage:n,showMessage:r}=this.props;return(0,H.jsx)($T,{className:e,children:(0,H.jsx)(WT,{show:this.state.show,children:(0,H.jsxs)(eE,{type:`button`,"aria-pressed":!!t,onClick:this.onClick.bind(this),onTouchEnd:this.onTouch.bind(this),children:[(0,H.jsxs)(rE,{children:[(0,H.jsx)(js,{nodeRef:this.openIconRef,timeout:400,in:t,exit:!t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,H.jsx)(nE,{ref:this.openIconRef,children:(0,H.jsx)(zo,{open:t},`correct-open`)})}),(0,H.jsx)(js,{nodeRef:this.closedIconRef,timeout:5e3,in:!t,exit:t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,H.jsx)(nE,{ref:this.closedIconRef,children:(0,H.jsx)(zo,{open:t},`correct-closed`)})})]}),(0,H.jsx)(qT,{false:!0,children:(0,H.jsx)(tE,{"aria-hidden":!this.state.show,children:t?n:r})})]})})})}},aE=rl((0,H.jsx)(`path`,{d:`m7 10 5 5 5-5z`}),`ArrowDropDown`),oE=K(`div`)({display:`inline-block`,position:`relative`,width:`100%`}),sE=K(`span`)(({isRight:e})=>({backgroundColor:yf(),bottom:e?20:19,content:`""`,display:`block`,height:1,left:20,position:`absolute`,width:`100%`})),cE=class extends V.Component{static propTypes={direction:x.string};render(){let{direction:e}=this.props;return(0,H.jsxs)(oE,{style:e===`left`?{}:{transform:`rotate(180deg)`},children:[(0,H.jsx)(aE,{style:{transform:`rotate(90deg)`,color:yf(),fontSize:40}}),(0,H.jsx)(sE,{isRight:e!==`left`})]})}},lE=v(`pie-elements:match-title:answer`),uE=Hd(`pie`),dE=K(`div`)(()=>({width:`100%`,fontSize:`18px`,textAlign:`center`,color:`inherit`})),fE=({index:e,isOver:t,disabled:n,type:r})=>(0,H.jsx)(tb,{extraStyles:{display:`flex`,padding:`0`,alignItems:`center`,justifyContent:`center`,height:`40px`},disabled:n,isOver:t,type:r,children:e!==void 0&&(0,H.jsx)(dE,{children:e})});fE.propTypes={index:x.number,isOver:x.bool,disabled:x.bool,type:x.string};var pE=K(`div`)(({isDragging:e,isSelected:t,isOver:n,disabled:r,outcome:i})=>({color:Ud(),backgroundColor:uE(`background`,X.WHITE),border:`1px solid ${i===`correct`?qd():i===`incorrect`?Zd():yf()}`,cursor:r?`not-allowed`:`pointer`,width:`100%`,padding:`10px`,boxSizing:`border-box`,overflow:`hidden`,transition:`opacity 200ms linear`,wordBreak:`break-word`,opacity:(e||t)&&!r?.5:n&&!r?.2:1,touchAction:`none`})),mE=e=>{let{isDragging:t,isSelected:n,isOver:r,title:i,disabled:a,empty:o,outcome:s,guideIndex:c,type:l}=e;return o?(0,H.jsx)(fE,{index:c,isOver:r,disabled:a,type:l}):(0,H.jsx)(pE,{isDragging:t,isSelected:n,isOver:r,disabled:a,outcome:s,dangerouslySetInnerHTML:{__html:Rd(i)}})},hE=K(`div`)(({correct:e,isSelected:t,isDragging:n,theme:r})=>({boxSizing:`border-box`,minHeight:40,minWidth:`200px`,overflow:`hidden`,margin:r.spacing(.5),padding:`0px`,textAlign:`center`,height:`initial`,border:e===!0?`1px solid ${qd()}`:e===!1?`1px solid ${Zd()}`:t&&!n?`2px solid ${Nf()}`:`none`})),gE=class extends V.Component{static propTypes={className:x.string,isDragging:x.bool,isSelected:x.bool,id:x.any,title:x.string,isOver:x.bool,empty:x.bool,type:x.string,disabled:x.bool,correct:x.bool};componentDidMount(){this.ref&&this.ref.addEventListener(`touchstart`,this.handleTouchStart,{passive:!0})}componentWillUnmount(){this.ref&&this.ref.removeEventListener(`touchstart`,this.handleTouchStart)}handleTouchStart=e=>{};render(){let{id:e,title:t,isDragging:n=!1,isSelected:r=!1,className:i,disabled:a,isOver:o=!1,type:s,correct:c}=this.props;return lE(`[render], props: `,this.props),(0,H.jsx)(hE,{correct:c,isSelected:r,isDragging:n,className:i,ref:e=>this.ref=e,children:(0,H.jsx)(mE,{title:t,id:e,isOver:o,empty:wT(t),isDragging:n,isSelected:r,disabled:a,type:s})})}},_E=({type:e,id:t,promptId:n})=>n==null?`${e||`answer`}-${t}`:`${e||`answer`}-prompt-${n}`;function vE(e){let{id:t,instanceId:n,promptId:r,labelId:i,draggable:a=!0,disabled:o=!1,type:s,selectedAnswer:c,onSelectClick:l,onPlacementClick:u}=e,d=_E({type:s,id:t,promptId:r}),f=r==null?void 0:`drop-${r}`,p={type:s||`answer`,id:t,instanceId:n,value:e.title,promptId:r},m=f?{type:`drop-zone`,promptId:r,instanceId:n}:void 0,{attributes:h,listeners:g,setNodeRef:_,transform:v,transition:y,isDragging:b}=LS({id:d,data:p,disabled:!a||o,attributes:{tabIndex:a&&!o?0:-1}}),x=(0,V.useRef)(null),S=Xy(x),C=e=>{x.current=e,_(e)},w=VS({id:f,data:m,disabled:o||!f}),T=w.setNodeRef,E=w.isOver,[D,O]=(0,V.useState)(!1),k=!!c,A=E||k&&D&&!o,j=!!c&&c.type===p.type&&c.id===p.id&&c.promptId===p.promptId,M=v?`translate3d(${v.x}px, ${v.y}px, 0)`:void 0;if(f){let t=()=>{o||(j?l?.(p):c?u?.(m):a&&l?.(p))},r=!a&&!o&&k;return(0,H.jsx)(`div`,{ref:T,role:r?`button`:`group`,"aria-labelledby":i,tabIndex:r?0:-1,onClick:t,onKeyDown:r?e=>{(e.code===`Space`||e.code===`Enter`)&&(e.preventDefault(),t())}:void 0,onMouseEnter:()=>O(!0),onMouseLeave:()=>O(!1),style:{flex:1,opacity:b?.5:1,backgroundColor:b||j||A?`rgba(0,0,0,0.05)`:`transparent`,cursor:k&&!o?`pointer`:void 0},children:(0,H.jsx)(`div`,{ref:C,...g,...a&&!o?{...h,"aria-label":S}:{},"data-tile-id":`${n}:${d}`,style:{transform:M,transition:y},children:(0,H.jsx)(gE,{...e,isDragging:b,isSelected:j,isOver:A})})})}let ee=e=>{o||(e.stopPropagation(),l?.(p))};return(0,H.jsx)(`div`,{ref:C,...g,...h,"aria-label":S,"data-tile-id":`${n}:${d}`,onClick:ee,style:{transform:M,transition:y,cursor:o?`not-allowed`:`grab`,opacity:b?.5:1,touchAction:a&&!o?`none`:`auto`},children:(0,H.jsx)(gE,{...e,isDragging:b,isSelected:j,isOver:!1})})}vE.propTypes={id:x.any,instanceId:x.string,promptId:x.any,labelId:x.string,title:x.string,draggable:x.bool,disabled:x.bool,type:x.string,selectedAnswer:x.object,onSelectClick:x.func,onPlacementClick:x.func};var yE=200,bE=K(`div`)({alignItems:`normal`,display:`flex`,flexShrink:0,height:40,margin:`10px 20px`}),xE=K(`div`)(({theme:e})=>({alignItems:`flex-start`,display:`flex`,flex:1,flexDirection:`column`,justifyContent:`space-between`,marginTop:e.spacing(2),marginBottom:e.spacing(2)})),SE=K(`div`)(()=>({border:`1px solid ${yf()}`,boxSizing:`border-box`,flex:1,margin:`10px 0`,minHeight:40,minWidth:yE,overflow:`hidden`,padding:10,textAlign:`center`,width:`100%`,wordBreak:`break-word`})),CE=K(`div`)({alignItems:`center`,display:`flex`,justifyContent:`space-between`,width:`100%`}),wE=class extends V.Component{static propTypes={session:x.object.isRequired,showCorrect:x.bool.isRequired,disabled:x.bool.isRequired,onSessionChange:x.func,onRemoveAnswer:x.func,instanceId:x.string.isRequired,model:x.object.isRequired,prompt:x.string,selectedAnswer:x.object,onChoiceClick:x.func,onPlacementClick:x.func};getAnswerFromSession=e=>{let{model:t,session:n,showCorrect:r}=this.props,{config:i}=t,a=r?i.prompts.find(t=>t.id===e).relatedAnswer:n.value&&n.value[e];return i.answers.find(e=>e.id===a)||{}};getCorrectOrIncorrectMap=()=>{let{model:e,session:t,showCorrect:n}=this.props,{config:r}=e,i=t.value||r.prompts.reduce((e,t)=>(e[t.id]=void 0,e),{});if(e.mode!==`evaluate`)return{};if(n)return r.prompts.reduce((e,t)=>(e[t.id]=!0,e),{});let a=r.prompts.reduce((e,t)=>(DT(t.relatedAnswer)||(e[t.id]=t.relatedAnswer),e),{});return OT(i,(e,t,n)=>(e[n]=a[n]===i[n],e),{})};buildRows=()=>{let{model:e}=this.props,{config:t}=e;return(t.prompts||[]).map(e=>{let t=this.getAnswerFromSession(e.id);return{...e,sessionAnswer:t}})};render(){let{disabled:e,instanceId:t,onRemoveAnswer:n,selectedAnswer:r,onChoiceClick:i,onPlacementClick:a}=this.props,o=this.buildRows(),s=this.getCorrectOrIncorrectMap();return(0,H.jsx)(xE,{children:o.map(({sessionAnswer:o,title:c,id:l},u)=>{let d=`${t}-prompt-label-${l}`;return(0,H.jsxs)(CE,{children:[(0,H.jsx)(SE,{id:d,dangerouslySetInnerHTML:{__html:Rd(c)}}),(0,H.jsxs)(bE,{children:[(0,H.jsx)(cE,{direction:`left`}),(0,H.jsx)(cE,{})]}),(0,H.jsx)(vE,{className:`answer`,index:u,promptId:l,labelId:d,correct:s[l],draggable:!wT(o),disabled:e,instanceId:t,id:o.id,title:o.title,type:`target`,onRemoveChoice:()=>n(l),selectedAnswer:r,onSelectClick:i,onPlacementClick:a})]},l)})})}},TE=K(`div`)(({theme:e})=>({alignItems:`center`,display:`flex`,flexDirection:`row`,flexWrap:`wrap`,justifyContent:`space-between`,marginTop:e.spacing(1),marginBottom:e.spacing(1),minHeight:50,transition:`background-color 200ms ease`}));function EE({id:e,disabled:t,children:n,onPlacementClick:r,...i}){let{setNodeRef:a,isOver:o}=VS({id:e||`choices-pool`,data:{type:`choices-pool`},disabled:t});return(0,H.jsx)(TE,{ref:a,onClick:()=>{t||r?.({type:`choices-pool`})},style:{backgroundColor:o?`rgba(0,0,0,0.05)`:`transparent`},...i,children:(0,H.jsx)(MT,{id:e,disabled:t,children:n})})}EE.propTypes={id:x.oneOfType([x.string,x.number]),disabled:x.bool,children:x.node,onPlacementClick:x.func};var DE=K(`div`)(({theme:e})=>({marginBottom:e.spacing(2)})),OE=class extends V.Component{static propTypes={session:x.object.isRequired,instanceId:x.string.isRequired,model:x.object.isRequired,disabled:x.bool.isRequired,onRemoveAnswer:x.func,selectedAnswer:x.object,onChoiceClick:x.func,onPlacementClick:x.func};render(){let{model:e,disabled:t,session:n,instanceId:r,onRemoveAnswer:i,selectedAnswer:a,onChoiceClick:o,onPlacementClick:s}=this.props,{config:c}=e,{duplicates:l}=c,u=c.answers.filter(e=>l||wT(n)||!n.value||DT(xT(n.value,t=>t===e.id))).map(e=>(0,H.jsx)(vE,{instanceId:r,draggable:!0,disabled:t,session:n,type:`choice`,selectedAnswer:a,onSelectClick:o,...e},e.id));return(0,H.jsx)(DE,{children:(0,H.jsx)(EE,{id:`choices-pool`,disabled:t,onRemoveAnswer:i,onPlacementClick:s,children:u})})}};function kE(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function AE(e,t){return!e||kE(e)?e:kE(e.default)?e.default:t&&kE(e[t])?e[t]:t&&kE(e[t]?.default)?e[t].default:e}var jE=AE(yy,`PreviewPrompt`)||AE(FE.PreviewPrompt,`PreviewPrompt`),ME=AE(np,`Feedback`)||AE(FE.Feedback,`Feedback`),NE=Qy,PE=NE.default,FE=PE&&typeof PE==`object`?PE:NE,IE=250,LE=[{sensor:Ix,options:{activationConstraint:{distance:8}}},{sensor:jx,options:{coordinateGetter:BT,keyboardCodes:{start:[$.Space,$.Enter],cancel:[$.Esc],end:[$.Space,$.Enter]}}}],RE=K(`div`)({display:`flex`,flexDirection:`column`,justifyContent:`center`,color:Ud(),backgroundColor:ff()}),zE=K(`div`)({width:`100%`,overflowX:`auto`,overflowY:`hidden`}),BE=K(`div`)({display:`flex`,flexDirection:`column`,minWidth:`min-content`}),VE=class extends V.Component{static propTypes={session:x.object.isRequired,onSessionChange:x.func,model:x.object.isRequired,prompt:x.string};constructor(e){super(e),this.instanceId=j_(`match-list`),this.state={showCorrectAnswer:!1,draggingElement:null,selectedAnswer:null},this.lastDragEndAt=0}onRemoveAnswer(e){let{session:t,onSessionChange:n}=this.props;t.value[e]=void 0,n(t)}onDragStart=e=>{let{active:t}=e;if(t?.data?.current){let e=null,n=t.node?.current;if(n){let{width:t,height:r}=n.getBoundingClientRect();e={width:t,height:r}}this.setState({draggingElement:{...t.data.current,rect:e}}),this.selectAnswer(t.data.current)}};onDragCancel=()=>{this.setState({draggingElement:null}),this.cancelSelection(),this.lastDragEndAt=Date.now()};placeAnswer=(e,t)=>{if(!e||!t)return;let{session:n,onSessionChange:r,model:i}=this.props,{config:{duplicates:a}}=i;if(DT(n.value)&&(n.value={}),t.type===`choices-pool`&&e.promptId!==void 0){n.value[e.promptId]=void 0,r(n);return}let o=e.id,s=e.promptId;if(t.type===`drop-zone`&&t.promptId!=null){let i=t.promptId;if(e.type===`choice`&&i!==void 0){let e=ST(n.value,e=>e===o);e&&!a?n.value=kT(n.value,e,i):n.value[i]=o}else if(e.type===`target`&&s!=null&&s!==i)if(n.value[i]!=null&&!a){let e=n.value[i];n.value[i]=o,n.value[s]=e}else n.value[i]=o,delete n.value[s];r(n)}};onPlaceAnswer=e=>{this.setState({draggingElement:null});let{active:t,over:n}=e;if(!t)return;let r=t.data.current,i=n?.data.current;if(!r)return;let a=this.getDestinationDragId(r,i);this.placeAnswer(r,i),this.cancelSelection(),this.lastDragEndAt=Date.now(),this.focusTile(a)};getDestinationDragId=(e,t)=>!e||!t?null:t.type===`choices-pool`&&e.promptId!==void 0?_E({type:`choice`,id:e.id}):t.type===`drop-zone`&&t.promptId!=null?_E({type:`target`,promptId:t.promptId}):null;focusTile=e=>{if(!e)return;let t=`[data-tile-id="${this.instanceId}:${e}"]`;requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.querySelector(t)?.focus()})})};isSameAnswer=(e,t)=>!!e&&!!t&&e.type===t.type&&e.id===t.id&&e.promptId===t.promptId;selectAnswer=e=>{this.setState({selectedAnswer:e})};toggleAnswerSelection=e=>{this.setState(t=>({selectedAnswer:this.isSameAnswer(t.selectedAnswer,e)?null:e}))};cancelSelection=()=>{this.setState({selectedAnswer:null})};endAnyLiveKeyboardDrag=()=>{document.dispatchEvent(new KeyboardEvent(`keydown`,{code:`Escape`,bubbles:!0,cancelable:!0}))};placeSelectedAnswer=e=>{let{selectedAnswer:t}=this.state;if(!t)return;let n=this.getDestinationDragId(t,e);this.placeAnswer(t,e),this.cancelSelection(),this.endAnyLiveKeyboardDrag(),this.lastDragEndAt=Date.now(),this.focusTile(n)};isClickSoonAfterDragEnd=()=>Date.now()-this.lastDragEndAt<IE;onChoiceClick=e=>{this.isClickSoonAfterDragEnd()||this.toggleAnswerSelection(e)};onPlacementClick=e=>{this.isClickSoonAfterDragEnd()||this.placeSelectedAnswer(e)};toggleShowCorrect=()=>{this.setState({showCorrectAnswer:!this.state.showCorrectAnswer})};renderDragOverlay=()=>{let{draggingElement:e}=this.state;return e?(0,H.jsx)(gE,{id:e.id,title:e.value,disabled:!1,isDragging:!1,style:e.rect?{width:e.rect.width,height:e.rect.height,boxSizing:`border-box`}:{}}):null};render(){let{showCorrectAnswer:e}=this.state,{model:t,session:n}=this.props,{config:r,mode:i}=t,{prompt:a,language:o}=r;return(0,H.jsxs)(NS,{id:this.instanceId,sensors:LE,collisionDetection:RT,onDragStart:this.onDragStart,onDragEnd:this.onPlaceAnswer,onDragCancel:this.onDragCancel,modifiers:[PT],accessibility:{screenReaderInstructions:{draggable:`Press Space or Enter to pick up this answer choice. Once picked up, use Tab or Shift+Tab to cycle through response areas, or use arrow keys to move it freely. Press Space or Enter to drop, or Escape to cancel. You can also click an answer choice to select it, then click a response area to place it there.`}},children:[(0,H.jsxs)(RE,{children:[(0,H.jsx)(jE,{className:`prompt`,prompt:a}),(0,H.jsx)(iE,{show:i===`evaluate`,toggled:e,onToggle:this.toggleShowCorrect,language:o}),(0,H.jsx)(zE,{children:(0,H.jsxs)(BE,{children:[(0,H.jsx)(wE,{instanceId:this.instanceId,model:t,session:n,onRemoveAnswer:e=>this.onRemoveAnswer(e),disabled:i!==`gather`,showCorrect:e,selectedAnswer:this.state.selectedAnswer,onChoiceClick:this.onChoiceClick,onPlacementClick:this.onPlacementClick}),(0,H.jsx)(OE,{instanceId:this.instanceId,model:t,session:n,disabled:i!==`gather`,onRemoveAnswer:e=>this.onRemoveAnswer(e),selectedAnswer:this.state.selectedAnswer,onChoiceClick:this.onChoiceClick,onPlacementClick:this.onPlacementClick})]})}),t.correctness&&t.feedback&&!e&&(0,H.jsx)(ME,{correctness:t.correctness.correctness,feedback:t.feedback})]}),(0,H.jsx)($S,{children:this.renderDragOverlay()})]})}};(class e extends CustomEvent{static{this.TYPE=`model-set`}constructor(t,n,r){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t,hasModel:r}}),this.component=t,this.complete=n}});var HE=class e extends CustomEvent{static{this.TYPE=`session-changed`}constructor(t,n){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t}}),this.component=t,this.complete=n}},UE=g(),WE=v(`pie-ui:graph-lines`),GE=(e,t)=>{if(!e)return!1;let n=e.value,r=!0;return n&&(t.config.prompts||[]).forEach(e=>{Number.isFinite(n[e.id])||(r=!1)}),r},KE=class extends HTMLElement{constructor(){super(),this._root=null}set model(e){this._model=e,this._render()}set session(e){this._session=e,this._render()}get session(){return this._session}sessionChanged(e){this._session.value=e.value,this.dispatchEvent(new HE(this.tagName.toLowerCase(),GE(this._session,this._model))),WE(`session: `,this._session),this._render()}connectedCallback(){this._render()}_render(){if(!this._model||!this._session)return;let e=V.createElement(VE,{model:this._model,session:this._session,onSessionChange:this.sessionChanged.bind(this)});this._root||=(0,UE.createRoot)(this),this._root.render(e),queueMicrotask(()=>{Dg(this)})}disconnectedCallback(){this._root&&=(this._root.unmount(),null)}};return typeof window<`u`&&!customElements.get(`match-list-element`)&&customElements.define(`match-list-element`,KE),KE})();
189
+ `},Nb={onDragStart(e){let{active:t}=e;return`Picked up draggable item `+t.id+`.`},onDragOver(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was moved over droppable area `+n.id+`.`:`Draggable item `+t.id+` is no longer over a droppable area.`},onDragEnd(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was dropped over droppable area `+n.id:`Draggable item `+t.id+` was dropped.`},onDragCancel(e){let{active:t}=e;return`Dragging was cancelled. Draggable item `+t.id+` was dropped.`}};function Pb(e){let{announcements:t=Nb,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=Mb}=e,{announce:a,announcement:o}=Ob(),s=mb(`DndLiveRegion`),[c,l]=(0,V.useState)(!1);if((0,V.useEffect)(()=>{l(!0)},[]),Ab((0,V.useMemo)(()=>({onDragStart(e){let{active:n}=e;a(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&a(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;a(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;a(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;a(t.onDragCancel({active:n,over:r}))}}),[a,t])),!c)return null;let u=V.createElement(V.Fragment,null,V.createElement(Eb,{id:r,value:i.draggable}),V.createElement(Db,{id:s,announcement:o}));return n?(0,xs.createPortal)(u,n):u}var Fb;(function(e){e.DragStart=`dragStart`,e.DragMove=`dragMove`,e.DragEnd=`dragEnd`,e.DragCancel=`dragCancel`,e.DragOver=`dragOver`,e.RegisterDroppable=`registerDroppable`,e.SetDroppableDisabled=`setDroppableDisabled`,e.UnregisterDroppable=`unregisterDroppable`})(Fb||={});function Ib(){}var Lb=Object.freeze({x:0,y:0});function Rb(e,t){let n=xb(e);if(!n)return`0 0`;let r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+`% `+r.y+`%`}function zb(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function Bb(e,t){if(!e||e.length===0)return null;let[n]=e;return t?n[t]:n}function Vb(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=i-r,s=a-n;if(r<i&&n<a){let n=t.width*t.height,r=e.width*e.height,i=o*s,a=i/(n+r-i);return Number(a.toFixed(4))}return 0}var Hb=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,a=n.get(r);if(a){let n=Vb(a,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(zb)};function Ub(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function Wb(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:Lb}function Gb(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}var Kb=Gb(1);function qb(e){if(e.startsWith(`matrix3d(`)){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith(`matrix(`)){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function Jb(e,t,n){let r=qb(t);if(!r)return e;let{scaleX:i,scaleY:a,x:o,y:s}=r,c=e.left-o-(1-i)*parseFloat(n),l=e.top-s-(1-a)*parseFloat(n.slice(n.indexOf(` `)+1)),u=i?e.width/i:e.width,d=a?e.height/a:e.height;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c}}var Yb={ignoreTransform:!1};function Xb(e,t){t===void 0&&(t=Yb);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=tb(e).getComputedStyle(e);t&&(n=Jb(n,t,r))}let{top:r,left:i,width:a,height:o,bottom:s,right:c}=n;return{top:r,left:i,width:a,height:o,bottom:s,right:c}}function Zb(e){return Xb(e,{ignoreTransform:!0})}function Qb(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function $b(e,t){return t===void 0&&(t=tb(e).getComputedStyle(e)),t.position===`fixed`}function ex(e,t){t===void 0&&(t=tb(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return[`overflow`,`overflowX`,`overflowY`].some(e=>{let r=t[e];return typeof r==`string`&&n.test(r)})}function tx(e,t){let n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if(nb(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!rb(i)||ib(i)||n.includes(i))return n;let a=tb(e).getComputedStyle(i);return i!==e&&ex(i,a)&&n.push(i),$b(i,a)?n:r(i.parentNode)}return e?r(e):n}function nx(e){let[t]=tx(e,1);return t??null}function rx(e){return!Qy||!e?null:$y(e)?e:eb(e)?nb(e)||e===ab(e).scrollingElement?window:rb(e)?e:null:null}function ix(e){return $y(e)?e.scrollX:e.scrollLeft}function ax(e){return $y(e)?e.scrollY:e.scrollTop}function ox(e){return{x:ix(e),y:ax(e)}}var sx;(function(e){e[e.Forward=1]=`Forward`,e[e.Backward=-1]=`Backward`})(sx||={});function cx(e){return!Qy||!e?!1:e===document.scrollingElement}function lx(e){let t={x:0,y:0},n=cx(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}var ux={x:.2,y:.2};function dx(e,t,n,r,i){let{top:a,left:o,right:s,bottom:c}=n;r===void 0&&(r=10),i===void 0&&(i=ux);let{isTop:l,isBottom:u,isLeft:d,isRight:f}=lx(e),p={x:0,y:0},m={x:0,y:0},h={height:t.height*i.y,width:t.width*i.x};return!l&&a<=t.top+h.height?(p.y=sx.Backward,m.y=r*Math.abs((t.top+h.height-a)/h.height)):!u&&c>=t.bottom-h.height&&(p.y=sx.Forward,m.y=r*Math.abs((t.bottom-h.height-c)/h.height)),!f&&s>=t.right-h.width?(p.x=sx.Forward,m.x=r*Math.abs((t.right-h.width-s)/h.width)):!d&&o<=t.left+h.width&&(p.x=sx.Backward,m.x=r*Math.abs((t.left+h.width-o)/h.width)),{direction:p,speed:m}}function fx(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function px(e){return e.reduce((e,t)=>gb(e,ox(t)),Lb)}function mx(e){return e.reduce((e,t)=>e+ix(t),0)}function hx(e){return e.reduce((e,t)=>e+ax(t),0)}function gx(e,t){if(t===void 0&&(t=Xb),!e)return;let{top:n,left:r,bottom:i,right:a}=t(e);nx(e)&&(i<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:`center`,inline:`center`})}var _x=[[`x`,[`left`,`right`],mx],[`y`,[`top`,`bottom`],hx]],vx=class{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=tx(t),r=px(n);this.rect={...e},this.width=e.width,this.height=e.height;for(let[e,t,i]of _x)for(let a of t)Object.defineProperty(this,a,{get:()=>{let t=i(n),o=r[e]-t;return this.rect[a]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}},yx=class{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>this.target?.removeEventListener(...e))},this.target=e}add(e,t,n){var r;(r=this.target)==null||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}};function bx(e){let{EventTarget:t}=tb(e);return e instanceof t?e:ab(e)}function xx(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return typeof t==`number`?Math.sqrt(n**2+r**2)>t:`x`in t&&`y`in t?n>t.x&&r>t.y:`x`in t?n>t.x:`y`in t&&r>t.y}var Sx;(function(e){e.Click=`click`,e.DragStart=`dragstart`,e.Keydown=`keydown`,e.ContextMenu=`contextmenu`,e.Resize=`resize`,e.SelectionChange=`selectionchange`,e.VisibilityChange=`visibilitychange`})(Sx||={});function Cx(e){e.preventDefault()}function wx(e){e.stopPropagation()}var $;(function(e){e.Space=`Space`,e.Down=`ArrowDown`,e.Right=`ArrowRight`,e.Left=`ArrowLeft`,e.Up=`ArrowUp`,e.Esc=`Escape`,e.Enter=`Enter`,e.Tab=`Tab`})($||={});var Tx={start:[$.Space,$.Enter],cancel:[$.Esc],end:[$.Space,$.Enter,$.Tab]},Ex=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case $.Right:return{...n,x:n.x+25};case $.Left:return{...n,x:n.x-25};case $.Down:return{...n,y:n.y+25};case $.Up:return{...n,y:n.y-25}}},Dx=class{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new yx(ab(t)),this.windowListeners=new yx(tb(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Sx.Resize,this.handleCancel),this.windowListeners.add(Sx.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Sx.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&gx(n),t(Lb)}handleKeyDown(e){if(yb(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=Tx,coordinateGetter:a=Ex,scrollBehavior:o=`smooth`}=r,{code:s}=e;if(i.end.includes(s)){this.handleEnd(e);return}if(i.cancel.includes(s)){this.handleCancel(e);return}let{collisionRect:c}=n.current,l=c?{x:c.left,y:c.top}:Lb;this.referenceCoordinates||=l;let u=a(e,{active:t,context:n.current,currentCoordinates:l});if(u){let t=_b(u,l),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:a,isRight:s,isLeft:c,isBottom:l,maxScroll:d,minScroll:f}=lx(n),p=fx(n),m={x:Math.min(i===$.Right?p.right-p.width/2:p.right,Math.max(i===$.Right?p.left:p.left+p.width/2,u.x)),y:Math.min(i===$.Down?p.bottom-p.height/2:p.bottom,Math.max(i===$.Down?p.top:p.top+p.height/2,u.y))},h=i===$.Right&&!s||i===$.Left&&!c,g=i===$.Down&&!l||i===$.Up&&!a;if(h&&m.x!==u.x){let e=n.scrollLeft+t.x,a=i===$.Right&&e<=d.x||i===$.Left&&e>=f.x;if(a&&!t.y){n.scrollTo({left:e,behavior:o});return}a?r.x=n.scrollLeft-e:r.x=i===$.Right?n.scrollLeft-d.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:o});break}else if(g&&m.y!==u.y){let e=n.scrollTop+t.y,a=i===$.Down&&e<=d.y||i===$.Up&&e>=f.y;if(a&&!t.x){n.scrollTo({top:e,behavior:o});return}a?r.y=n.scrollTop-e:r.y=i===$.Down?n.scrollTop-d.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:o});break}}this.handleMove(e,gb(_b(u,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}};Dx.activators=[{eventName:`onKeyDown`,handler:(e,t,n)=>{let{keyboardCodes:r=Tx,onActivation:i}=t,{active:a}=n,{code:o}=e.nativeEvent;if(r.start.includes(o)){let t=a.activatorNode.current;return t&&e.target!==t?!1:(e.preventDefault(),i?.({event:e.nativeEvent}),!0)}return!1}}];function Ox(e){return!!(e&&`distance`in e)}function kx(e){return!!(e&&`delay`in e)}var Ax=class{constructor(e,t,n){n===void 0&&(n=bx(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:r}=e,{target:i}=r;this.props=e,this.events=t,this.document=ab(i),this.documentListeners=new yx(this.document),this.listeners=new yx(n),this.windowListeners=new yx(tb(i)),this.initialCoordinates=xb(r)??Lb,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(Sx.Resize,this.handleCancel),this.windowListeners.add(Sx.DragStart,Cx),this.windowListeners.add(Sx.VisibilityChange,this.handleCancel),this.windowListeners.add(Sx.ContextMenu,Cx),this.documentListeners.add(Sx.Keydown,this.handleKeydown),t){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(kx(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(Ox(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(Sx.Click,wx,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Sx.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){let{activated:t,initialCoordinates:n,props:r}=this,{onMove:i,options:{activationConstraint:a}}=r;if(!n)return;let o=xb(e)??Lb,s=_b(n,o);if(!t&&a){if(Ox(a)){if(a.tolerance!=null&&xx(s,a.tolerance))return this.handleCancel();if(xx(s,a.distance))return this.handleStart()}if(kx(a)&&xx(s,a.tolerance))return this.handleCancel();this.handlePending(a,s);return}e.cancelable&&e.preventDefault(),i(o)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===$.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}},jx={cancel:{name:`pointercancel`},move:{name:`pointermove`},end:{name:`pointerup`}},Mx=class extends Ax{constructor(e){let{event:t}=e,n=ab(t.target);super(e,jx,n)}};Mx.activators=[{eventName:`onPointerDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];var Nx={move:{name:`mousemove`},end:{name:`mouseup`}},Px;(function(e){e[e.RightClick=2]=`RightClick`})(Px||={});var Fx=class extends Ax{constructor(e){super(e,Nx,ab(e.event.target))}};Fx.activators=[{eventName:`onMouseDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===Px.RightClick?!1:(r?.({event:n}),!0)}}];var Ix={cancel:{name:`touchcancel`},move:{name:`touchmove`},end:{name:`touchend`}},Lx=class extends Ax{constructor(e){super(e,Ix)}static setup(){return window.addEventListener(Ix.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(Ix.move.name,e)};function e(){}}};Lx.activators=[{eventName:`onTouchStart`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return i.length>1?!1:(r?.({event:n}),!0)}}];var Rx;(function(e){e[e.Pointer=0]=`Pointer`,e[e.DraggableRect=1]=`DraggableRect`})(Rx||={});var zx;(function(e){e[e.TreeOrder=0]=`TreeOrder`,e[e.ReversedTreeOrder=1]=`ReversedTreeOrder`})(zx||={});function Bx(e){let{acceleration:t,activator:n=Rx.Pointer,canScroll:r,draggingRect:i,enabled:a,interval:o=5,order:s=zx.TreeOrder,pointerCoordinates:c,scrollableAncestors:l,scrollableAncestorRects:u,delta:d,threshold:f}=e,p=Hx({delta:d,disabled:!a}),[m,h]=cb(),g=(0,V.useRef)({x:0,y:0}),_=(0,V.useRef)({x:0,y:0}),v=(0,V.useMemo)(()=>{switch(n){case Rx.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Rx.DraggableRect:return i}},[n,i,c]),y=(0,V.useRef)(null),b=(0,V.useCallback)(()=>{let e=y.current;if(!e)return;let t=g.current.x*_.current.x,n=g.current.y*_.current.y;e.scrollBy(t,n)},[]),x=(0,V.useMemo)(()=>s===zx.TreeOrder?[...l].reverse():l,[s,l]);(0,V.useEffect)(()=>{if(!a||!l.length||!v){h();return}for(let e of x){if(r?.(e)===!1)continue;let n=l.indexOf(e),i=u[n];if(!i)continue;let{direction:a,speed:s}=dx(e,i,v,t,f);for(let e of[`x`,`y`])p[e][a[e]]||(s[e]=0,a[e]=0);if(s.x>0||s.y>0){h(),y.current=e,m(b,o),g.current=s,_.current=a;return}}g.current={x:0,y:0},_.current={x:0,y:0},h()},[t,b,r,h,a,o,JSON.stringify(v),JSON.stringify(p),m,l,x,u,JSON.stringify(f)])}var Vx={x:{[sx.Backward]:!1,[sx.Forward]:!1},y:{[sx.Backward]:!1,[sx.Forward]:!1}};function Hx(e){let{delta:t,disabled:n}=e,r=fb(t);return ub(e=>{if(n||!r||!e)return Vx;let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[sx.Backward]:e.x[sx.Backward]||i.x===-1,[sx.Forward]:e.x[sx.Forward]||i.x===1},y:{[sx.Backward]:e.y[sx.Backward]||i.y===-1,[sx.Forward]:e.y[sx.Forward]||i.y===1}}},[n,t,r])}function Ux(e,t){let n=t==null?void 0:e.get(t),r=n?n.node.current:null;return ub(e=>t==null?null:r??e??null,[r,t])}function Wx(e,t){return(0,V.useMemo)(()=>e.reduce((e,n)=>{let{sensor:r}=n,i=r.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}));return[...e,...i]},[]),[e,t])}var Gx;(function(e){e[e.Always=0]=`Always`,e[e.BeforeDragging=1]=`BeforeDragging`,e[e.WhileDragging=2]=`WhileDragging`})(Gx||={});var Kx;(function(e){e.Optimized=`optimized`})(Kx||={});var qx=new Map;function Jx(e,t){let{dragging:n,dependencies:r,config:i}=t,[a,o]=(0,V.useState)(null),{frequency:s,measure:c,strategy:l}=i,u=(0,V.useRef)(e),d=g(),f=lb(d),p=(0,V.useCallback)(function(e){e===void 0&&(e=[]),!f.current&&o(t=>t===null?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),m=(0,V.useRef)(null),h=ub(t=>{if(d&&!n)return qx;if(!t||t===qx||u.current!==e||a!=null){let t=new Map;for(let n of e){if(!n)continue;if(a&&a.length>0&&!a.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new vx(c(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,a,n,d,c]);return(0,V.useEffect)(()=>{u.current=e},[e]),(0,V.useEffect)(()=>{d||p()},[n,d]),(0,V.useEffect)(()=>{a&&a.length>0&&o(null)},[JSON.stringify(a)]),(0,V.useEffect)(()=>{d||typeof s!=`number`||m.current!==null||(m.current=setTimeout(()=>{p(),m.current=null},s))},[s,d,p,...r]),{droppableRects:h,measureDroppableContainers:p,measuringScheduled:a!=null};function g(){switch(l){case Gx.Always:return!1;case Gx.BeforeDragging:return n;default:return!n}}}function Yx(e,t){return ub(n=>e?n||(typeof t==`function`?t(e):e):null,[t,e])}function Xx(e,t){return Yx(e,t)}function Zx(e){let{callback:t,disabled:n}=e,r=sb(t),i=(0,V.useMemo)(()=>{if(n||typeof window>`u`||window.MutationObserver===void 0)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,V.useEffect)(()=>()=>i?.disconnect(),[i]),i}function Qx(e){let{callback:t,disabled:n}=e,r=sb(t),i=(0,V.useMemo)(()=>{if(n||typeof window>`u`||window.ResizeObserver===void 0)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,V.useEffect)(()=>()=>i?.disconnect(),[i]),i}function $x(e){return new vx(Xb(e),e)}function eS(e,t,n){t===void 0&&(t=$x);let[r,i]=(0,V.useState)(null);function a(){i(r=>{if(!e)return null;if(e.isConnected===!1)return r??n??null;let i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i})}let o=Zx({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if(t===`childList`&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),s=Qx({callback:a});return ob(()=>{a(),e?(s?.observe(e),o?.observe(document.body,{childList:!0,subtree:!0})):(s?.disconnect(),o?.disconnect())},[e]),r}function tS(e){return Wb(e,Yx(e))}var nS=[];function rS(e){let t=(0,V.useRef)(e),n=ub(n=>e?n&&n!==nS&&e&&t.current&&e.parentNode===t.current.parentNode?n:tx(e):nS,[e]);return(0,V.useEffect)(()=>{t.current=e},[e]),n}function iS(e){let[t,n]=(0,V.useState)(null),r=(0,V.useRef)(e),i=(0,V.useCallback)(e=>{let t=rx(e.target);t&&n(e=>e?(e.set(t,ox(t)),new Map(e)):null)},[]);return(0,V.useEffect)(()=>{let t=r.current;if(e!==t){a(t);let o=e.map(e=>{let t=rx(e);return t?(t.addEventListener(`scroll`,i,{passive:!0}),[t,ox(t)]):null}).filter(e=>e!=null);n(o.length?new Map(o):null),r.current=e}return()=>{a(e),a(t)};function a(e){e.forEach(e=>{rx(e)?.removeEventListener(`scroll`,i)})}},[i,e]),(0,V.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>gb(e,t),Lb):px(e):Lb,[e,t])}function aS(e,t){t===void 0&&(t=[]);let n=(0,V.useRef)(null);return(0,V.useEffect)(()=>{n.current=null},t),(0,V.useEffect)(()=>{let t=e!==Lb;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?_b(e,n.current):Lb}function oS(e){(0,V.useEffect)(()=>{if(!Qy)return;let t=e.map(e=>{let{sensor:t}=e;return t.setup==null?void 0:t.setup()});return()=>{for(let e of t)e?.()}},e.map(e=>{let{sensor:t}=e;return t}))}function sS(e,t){return(0,V.useMemo)(()=>e.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[e,t])}function cS(e){return(0,V.useMemo)(()=>e?Qb(e):null,[e])}var lS=[];function uS(e,t){t===void 0&&(t=Xb);let[n]=e,r=cS(n?tb(n):null),[i,a]=(0,V.useState)(lS);function o(){a(()=>e.length?e.map(e=>cx(e)?r:new vx(t(e),e)):lS)}let s=Qx({callback:o});return ob(()=>{s?.disconnect(),o(),e.forEach(e=>s?.observe(e))},[e]),i}function dS(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return rb(t)?t:e}function fS(e){let{measure:t}=e,[n,r]=(0,V.useState)(null),i=Qx({callback:(0,V.useCallback)(e=>{for(let{target:n}of e)if(rb(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),[a,o]=db((0,V.useCallback)(e=>{let n=dS(e);i?.disconnect(),n&&i?.observe(n),r(n?t(n):null)},[t,i]));return(0,V.useMemo)(()=>({nodeRef:a,rect:n,setRef:o}),[n,a,o])}var pS=[{sensor:Mx,options:{}},{sensor:Dx,options:{}}],mS={current:{}},hS={draggable:{measure:Zb},droppable:{measure:Zb,strategy:Gx.WhileDragging,frequency:Kx.Optimized},dragOverlay:{measure:Xb}},gS=class extends Map{get(e){return e==null?void 0:super.get(e)??void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){return this.get(e)?.node.current??void 0}},_S={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new gS,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Ib},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:hS,measureDroppableContainers:Ib,windowRect:null,measuringScheduled:!1},vS={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:``},dispatch:Ib,draggableNodes:new Map,over:null,measureDroppableContainers:Ib},yS=(0,V.createContext)(vS),bS=(0,V.createContext)(_S);function xS(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new gS}}}function SS(e,t){switch(t.type){case Fb.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Fb.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case Fb.DragEnd:case Fb.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Fb.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new gS(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case Fb.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;let o=new gS(e.droppable.containers);return o.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case Fb.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let a=new gS(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function CS(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,V.useContext)(yS),a=fb(r),o=fb(n?.id);return(0,V.useEffect)(()=>{if(!t&&!r&&a&&o!=null){if(!yb(a)||document.activeElement===a.target)return;let e=i.get(o);if(!e)return;let{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=wb(e);if(t){t.focus();break}}})}},[r,t,i,o,a]),null}function wS(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}function TS(e){return(0,V.useMemo)(()=>({draggable:{...hS.draggable,...e?.draggable},droppable:{...hS.droppable,...e?.droppable},dragOverlay:{...hS.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function ES(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,a=(0,V.useRef)(!1),{x:o,y:s}=typeof i==`boolean`?{x:i,y:i}:i;ob(()=>{if(!o&&!s||!t){a.current=!1;return}if(a.current||!r)return;let e=t?.node.current;if(!e||e.isConnected===!1)return;let i=Wb(n(e),r);if(o||(i.x=0),s||(i.y=0),a.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=nx(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,o,s,r,n])}var DS=(0,V.createContext)({...Lb,scaleX:1,scaleY:1}),OS;(function(e){e[e.Uninitialized=0]=`Uninitialized`,e[e.Initializing=1]=`Initializing`,e[e.Initialized=2]=`Initialized`})(OS||={});var kS=(0,V.memo)(function(e){let{id:t,accessibility:n,autoScroll:r=!0,children:i,sensors:a=pS,collisionDetection:o=Hb,measuring:s,modifiers:c,...l}=e,[u,d]=(0,V.useReducer)(SS,void 0,xS),[f,p]=jb(),[m,h]=(0,V.useState)(OS.Uninitialized),g=m===OS.Initialized,{draggable:{active:_,nodes:v,translate:y},droppable:{containers:b}}=u,x=_==null?null:v.get(_),S=(0,V.useRef)({initial:null,translated:null}),C=(0,V.useMemo)(()=>_==null?null:{id:_,data:x?.data??mS,rect:S},[_,x]),w=(0,V.useRef)(null),[T,E]=(0,V.useState)(null),[D,O]=(0,V.useState)(null),k=lb(l,Object.values(l)),A=mb(`DndDescribedBy`,t),j=(0,V.useMemo)(()=>b.getEnabled(),[b]),M=TS(s),{droppableRects:ee,measureDroppableContainers:N,measuringScheduled:te}=Jx(j,{dragging:g,dependencies:[y.x,y.y],config:M.droppable}),P=Ux(v,_),ne=(0,V.useMemo)(()=>D?xb(D):null,[D]),re=Oe(),F=Xx(P,M.draggable.measure);ES({activeNode:_==null?null:v.get(_),config:re.layoutShiftCompensation,initialRect:F,measure:M.draggable.measure});let I=eS(P,M.draggable.measure,F),ie=eS(P?P.parentElement:null),ae=(0,V.useRef)({activatorEvent:null,active:null,activeNode:P,collisionRect:null,collisions:null,droppableRects:ee,draggableNodes:v,draggingNode:null,draggingNodeRect:null,droppableContainers:b,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),L=b.getNodeFor(ae.current.over?.id),oe=fS({measure:M.dragOverlay.measure}),se=oe.nodeRef.current??P,ce=g?oe.rect??I:null,R=!!(oe.nodeRef.current&&oe.rect),le=tS(R?null:I),ue=cS(se?tb(se):null),z=rS(g?L??P:null),de=uS(z),B=wS(c,{transform:{x:y.x-le.x,y:y.y-le.y,scaleX:1,scaleY:1},activatorEvent:D,active:C,activeNodeRect:I,containerNodeRect:ie,draggingNodeRect:ce,over:ae.current.over,overlayNodeRect:oe.rect,scrollableAncestors:z,scrollableAncestorRects:de,windowRect:ue}),fe=ne?gb(ne,y):null,pe=iS(z),me=aS(pe),he=aS(pe,[I]),ge=gb(B,me),_e=ce?Kb(ce,B):null,ve=C&&_e?o({active:C,collisionRect:_e,droppableRects:ee,droppableContainers:j,pointerCoordinates:fe}):null,ye=Bb(ve,`id`),[be,xe]=(0,V.useState)(null),Se=Ub(R?B:gb(B,he),be?.rect??null,I),Ce=(0,V.useRef)(null),we=(0,V.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(w.current==null)return;let i=v.get(w.current);if(!i)return;let a=e.nativeEvent,o=new n({active:w.current,activeNode:i,event:a,options:r,context:ae,onAbort(e){if(!v.get(e))return;let{onDragAbort:t}=k.current,n={id:e};t?.(n),f({type:`onDragAbort`,event:n})},onPending(e,t,n,r){if(!v.get(e))return;let{onDragPending:i}=k.current,a={id:e,constraint:t,initialCoordinates:n,offset:r};i?.(a),f({type:`onDragPending`,event:a})},onStart(e){let t=w.current;if(t==null)return;let n=v.get(t);if(!n)return;let{onDragStart:r}=k.current,i={activatorEvent:a,active:{id:t,data:n.data,rect:S}};(0,xs.unstable_batchedUpdates)(()=>{r?.(i),h(OS.Initializing),d({type:Fb.DragStart,initialCoordinates:e,active:t}),f({type:`onDragStart`,event:i}),E(Ce.current),O(a)})},onMove(e){d({type:Fb.DragMove,coordinates:e})},onEnd:s(Fb.DragEnd),onCancel:s(Fb.DragCancel)});Ce.current=o;function s(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=ae.current,o=null;if(t&&i){let{cancelDrop:s}=k.current;o={activatorEvent:a,active:t,collisions:n,delta:i,over:r},e===Fb.DragEnd&&typeof s==`function`&&await Promise.resolve(s(o))&&(e=Fb.DragCancel)}w.current=null,(0,xs.unstable_batchedUpdates)(()=>{d({type:e}),h(OS.Uninitialized),xe(null),E(null),O(null),Ce.current=null;let t=e===Fb.DragEnd?`onDragEnd`:`onDragCancel`;if(o){let e=k.current[t];e?.(o),f({type:t,event:o})}})}}},[v]),Te=Wx(a,(0,V.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,a=v.get(r);if(w.current!==null||!a||i.dndKit||i.defaultPrevented)return;let o={active:a};e(n,t.options,o)===!0&&(i.dndKit={capturedBy:t.sensor},w.current=r,we(n,t))},[v,we]));oS(a),ob(()=>{I&&m===OS.Initializing&&h(OS.Initialized)},[I,m]),(0,V.useEffect)(()=>{let{onDragMove:e}=k.current,{active:t,activatorEvent:n,collisions:r,over:i}=ae.current;if(!t||!n)return;let a={active:t,activatorEvent:n,collisions:r,delta:{x:ge.x,y:ge.y},over:i};(0,xs.unstable_batchedUpdates)(()=>{e?.(a),f({type:`onDragMove`,event:a})})},[ge.x,ge.y]),(0,V.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=ae.current;if(!e||w.current==null||!t||!i)return;let{onDragOver:a}=k.current,o=r.get(ye),s=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,xs.unstable_batchedUpdates)(()=>{xe(s),a?.(c),f({type:`onDragOver`,event:c})})},[ye]),ob(()=>{ae.current={activatorEvent:D,active:C,activeNode:P,collisionRect:_e,collisions:ve,droppableRects:ee,draggableNodes:v,draggingNode:se,draggingNodeRect:ce,droppableContainers:b,over:be,scrollableAncestors:z,scrollAdjustedTranslate:ge},S.current={initial:ce,translated:_e}},[C,P,ve,_e,v,se,ce,ee,b,be,z,ge]),Bx({...re,delta:y,draggingRect:_e,pointerCoordinates:fe,scrollableAncestors:z,scrollableAncestorRects:de});let Ee=(0,V.useMemo)(()=>({active:C,activeNode:P,activeNodeRect:I,activatorEvent:D,collisions:ve,containerNodeRect:ie,dragOverlay:oe,draggableNodes:v,droppableContainers:b,droppableRects:ee,over:be,measureDroppableContainers:N,scrollableAncestors:z,scrollableAncestorRects:de,measuringConfiguration:M,measuringScheduled:te,windowRect:ue}),[C,P,I,D,ve,ie,oe,v,b,ee,be,N,z,de,M,te,ue]),De=(0,V.useMemo)(()=>({activatorEvent:D,activators:Te,active:C,activeNodeRect:I,ariaDescribedById:{draggable:A},dispatch:d,draggableNodes:v,over:be,measureDroppableContainers:N}),[D,Te,C,I,d,A,v,be,N]);return V.createElement(kb.Provider,{value:p},V.createElement(yS.Provider,{value:De},V.createElement(bS.Provider,{value:Ee},V.createElement(DS.Provider,{value:Se},i)),V.createElement(CS,{disabled:n?.restoreFocus===!1})),V.createElement(Pb,{...n,hiddenTextDescribedById:A}));function Oe(){let e=T?.autoScrollEnabled===!1,t=typeof r==`object`?r.enabled===!1:r===!1,n=g&&!e&&!t;return typeof r==`object`?{...r,enabled:n}:{enabled:n}}}),AS=(0,V.createContext)(null),jS=`button`,MS=`Draggable`;function NS(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,a=mb(MS),{activators:o,activatorEvent:s,active:c,activeNodeRect:l,ariaDescribedById:u,draggableNodes:d,over:f}=(0,V.useContext)(yS),{role:p=jS,roleDescription:m=`draggable`,tabIndex:h=0}=i??{},g=c?.id===t,_=(0,V.useContext)(g?DS:AS),[v,y]=db(),[b,x]=db(),S=sS(o,t),C=lb(n);return ob(()=>(d.set(t,{id:t,key:a,node:v,activatorNode:b,data:C}),()=>{let e=d.get(t);e&&e.key===a&&d.delete(t)}),[d,t]),{active:c,activatorEvent:s,activeNodeRect:l,attributes:(0,V.useMemo)(()=>({role:p,tabIndex:h,"aria-disabled":r,"aria-pressed":g&&p===jS?!0:void 0,"aria-roledescription":m,"aria-describedby":u.draggable}),[r,p,h,g,m,u.draggable]),isDragging:g,listeners:r?void 0:S,node:v,over:f,setNodeRef:y,setActivatorNodeRef:x,transform:_}}function PS(){return(0,V.useContext)(bS)}var FS=`Droppable`,IS={timeout:25};function LS(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,a=mb(FS),{active:o,dispatch:s,over:c,measureDroppableContainers:l}=(0,V.useContext)(yS),u=(0,V.useRef)({disabled:n}),d=(0,V.useRef)(!1),f=(0,V.useRef)(null),p=(0,V.useRef)(null),{disabled:m,updateMeasurementsFor:h,timeout:g}={...IS,...i},_=lb(h??r),v=Qx({callback:(0,V.useCallback)(()=>{if(!d.current){d.current=!0;return}p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{l(Array.isArray(_.current)?_.current:[_.current]),p.current=null},g)},[g]),disabled:m||!o}),[y,b]=db((0,V.useCallback)((e,t)=>{v&&(t&&(v.unobserve(t),d.current=!1),e&&v.observe(e))},[v])),x=lb(t);return(0,V.useEffect)(()=>{!v||!y.current||(v.disconnect(),d.current=!1,v.observe(y.current))},[y,v]),(0,V.useEffect)(()=>(s({type:Fb.RegisterDroppable,element:{id:r,key:a,disabled:n,node:y,rect:f,data:x}}),()=>s({type:Fb.UnregisterDroppable,key:a,id:r})),[r]),(0,V.useEffect)(()=>{n!==u.current.disabled&&(s({type:Fb.SetDroppableDisabled,id:r,key:a,disabled:n}),u.current.disabled=n)},[r,a,n,s]),{active:o,rect:f,isOver:c?.id===r,node:y,over:c,setNodeRef:b}}function RS(e){let{animation:t,children:n}=e,[r,i]=(0,V.useState)(null),[a,o]=(0,V.useState)(null),s=fb(n);return!n&&!r&&s&&i(s),ob(()=>{if(!a)return;let e=r?.key,n=r?.props.id;if(e==null||n==null){i(null);return}Promise.resolve(t(n,a)).then(()=>{i(null)})},[t,r,a]),V.createElement(V.Fragment,null,n,r?(0,V.cloneElement)(r,{ref:o}):null)}var zS={x:0,y:0,scaleX:1,scaleY:1};function BS(e){let{children:t}=e;return V.createElement(yS.Provider,{value:vS},V.createElement(DS.Provider,{value:zS},t))}var VS={position:`fixed`,touchAction:`none`},HS=e=>yb(e)?`transform 250ms ease`:void 0,US=(0,V.forwardRef)((e,t)=>{let{as:n,activatorEvent:r,adjustScale:i,children:a,className:o,rect:s,style:c,transform:l,transition:u=HS}=e;if(!s)return null;let d=i?l:{...l,scaleX:1,scaleY:1},f={...VS,width:s.width,height:s.height,top:s.top,left:s.left,transform:Sb.Transform.toString(d),transformOrigin:i&&r?Rb(r,s):void 0,transition:typeof u==`function`?u(r):u,...c};return V.createElement(n,{className:o,style:f,ref:t},a)}),WS={duration:250,easing:`ease`,keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:Sb.Transform.toString(t)},{transform:Sb.Transform.toString(n)}]},sideEffects:(e=>t=>{let{active:n,dragOverlay:r}=t,i={},{styles:a,className:o}=e;if(a!=null&&a.active)for(let[e,t]of Object.entries(a.active))t!==void 0&&(i[e]=n.node.style.getPropertyValue(e),n.node.style.setProperty(e,t));if(a!=null&&a.dragOverlay)for(let[e,t]of Object.entries(a.dragOverlay))t!==void 0&&r.node.style.setProperty(e,t);return o!=null&&o.active&&n.node.classList.add(o.active),o!=null&&o.dragOverlay&&r.node.classList.add(o.dragOverlay),function(){for(let[e,t]of Object.entries(i))n.node.style.setProperty(e,t);o!=null&&o.active&&n.node.classList.remove(o.active)}})({styles:{active:{opacity:`0`}}})};function GS(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:i}=e;return sb((e,a)=>{if(t===null)return;let o=n.get(e);if(!o)return;let s=o.node.current;if(!s)return;let c=dS(a);if(!c)return;let{transform:l}=tb(a).getComputedStyle(a),u=qb(l);if(!u)return;let d=typeof t==`function`?t:KS(t);return gx(s,i.draggable.measure),d({active:{id:e,data:o.data,node:s,rect:i.draggable.measure(s)},draggableNodes:n,dragOverlay:{node:a,rect:i.dragOverlay.measure(c)},droppableContainers:r,measuringConfiguration:i,transform:u})})}function KS(e){let{duration:t,easing:n,sideEffects:r,keyframes:i}={...WS,...e};return e=>{let{active:a,dragOverlay:o,transform:s,...c}=e;if(!t)return;let l={x:o.rect.left-a.rect.left,y:o.rect.top-a.rect.top},u={scaleX:s.scaleX===1?1:a.rect.width*s.scaleX/o.rect.width,scaleY:s.scaleY===1?1:a.rect.height*s.scaleY/o.rect.height},d={x:s.x-l.x,y:s.y-l.y,...u},f=i({...c,active:a,dragOverlay:o,transform:{initial:s,final:d}}),[p]=f,m=f[f.length-1];if(JSON.stringify(p)===JSON.stringify(m))return;let h=r?.({active:a,dragOverlay:o,...c}),g=o.node.animate(f,{duration:t,easing:n,fill:`forwards`});return new Promise(e=>{g.onfinish=()=>{h?.(),e()}})}}var qS=0;function JS(e){return(0,V.useMemo)(()=>{if(e!=null)return qS++,qS},[e])}var YS=V.memo(e=>{let{adjustScale:t=!1,children:n,dropAnimation:r,style:i,transition:a,modifiers:o,wrapperElement:s=`div`,className:c,zIndex:l=999}=e,{activatorEvent:u,active:d,activeNodeRect:f,containerNodeRect:p,draggableNodes:m,droppableContainers:h,dragOverlay:g,over:_,measuringConfiguration:v,scrollableAncestors:y,scrollableAncestorRects:b,windowRect:x}=PS(),S=(0,V.useContext)(DS),C=JS(d?.id),w=wS(o,{activatorEvent:u,active:d,activeNodeRect:f,containerNodeRect:p,draggingNodeRect:g.rect,over:_,overlayNodeRect:g.rect,scrollableAncestors:y,scrollableAncestorRects:b,transform:S,windowRect:x}),T=Yx(f),E=GS({config:r,draggableNodes:m,droppableContainers:h,measuringConfiguration:v}),D=T?g.setRef:void 0;return V.createElement(BS,null,V.createElement(RS,{animation:E},d&&C?V.createElement(US,{key:C,id:d.id,ref:D,as:s,activatorEvent:u,adjustScale:t,className:c,transition:a,rect:T,style:{zIndex:l,...i},transform:w},n):null))}),XS=1,ZS=2,QS=4,$S=1,eC=2,tC=500,nC=9007199254740991,rC=`[object Arguments]`,iC=`[object Array]`,aC=`[object ArrayBuffer]`,oC=`[object AsyncFunction]`,sC=`[object Boolean]`,cC=`[object DataView]`,lC=`[object Date]`,uC=`[object Error]`,dC=`[object Function]`,fC=`[object GeneratorFunction]`,pC=`[object Map]`,mC=`[object Number]`,hC=`[object Object]`,gC=`[object Proxy]`,_C=`[object RegExp]`,vC=`[object Set]`,yC=`[object String]`,bC=`[object Symbol]`,xC=new Set([`Float32`,`Float64`,`Int8`,`Int16`,`Int32`,`Uint8`,`Uint8Clamped`,`Uint16`,`Uint32`].map(e=>`[object ${e}Array]`)),SC=new Set([rC,iC,aC,sC,cC,lC,pC,mC,hC,_C,vC,yC,bC,...xC]),CC=/\\(\\)?/g,wC=/\w*$/,TC=/^[-+]0x[0-9a-f]+$/i,EC=/^0b[01]+$/i,DC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,OC=/^0o[0-7]+$/i,kC=/^\w*$/,AC=/^(?:0|[1-9]\d*)$/,jC=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,MC=/^\s+/,NC=/\s/,PC=Object.prototype,FC=PC.hasOwnProperty,IC=PC.toString,LC=PC.propertyIsEnumerable;Function.prototype.toString.call(Object);var RC=Symbol.prototype.toString,zC=Symbol.prototype.valueOf;function BC(e){return typeof e==`object`&&!!e}function VC(e,t){return e===t||e!==e&&t!==t}function HC(e){let t=FC.call(e,Symbol.toStringTag),n=e[Symbol.toStringTag],r=!1;try{e[Symbol.toStringTag]=void 0,r=!0}catch{}let i=IC.call(e);return r&&(t?e[Symbol.toStringTag]=n:delete e[Symbol.toStringTag]),i}function UC(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Symbol.toStringTag in Object(e)?HC(e):IC.call(e)}function WC(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=nC}function GC(e,t){let n=typeof e,r=t??nC;return!!r&&(n==`number`||n!=`symbol`&&AC.test(e))&&e>-1&&e%1==0&&e<r}function KC(e){return e!=null&&WC(e.length)&&!xT(e)}function qC(e){return BC(e)&&UC(e)==rC}function JC(e){return BC(e)&&WC(e.length)&&xC.has(UC(e))}function YC(e){return typeof e==`symbol`||BC(e)&&UC(e)==bC}function XC(e){return BC(e)&&UC(e)==pC}function ZC(e){return BC(e)&&UC(e)==vC}function QC(e){let t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||PC)}function $C(e){return e===e&&!ST(e)}function ew(e){let t=e.length;for(;t--&&NC.test(e.charAt(t)););return t}function tw(e){return e&&e.slice(0,ew(e)+1).replace(MC,``)}function nw(e){if(typeof e==`number`)return e;if(YC(e))return NaN;if(ST(e)){let t=typeof e.valueOf==`function`?e.valueOf():e;e=ST(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;let t=tw(e),n=EC.test(t);return n||OC.test(t)?parseInt(t.slice(2),n?2:8):TC.test(t)?NaN:+t}function rw(e){if(!e)return e===0?e:0;let t=nw(e);return t===1/0||t===-1/0?t<0?-Number.MAX_VALUE:Number.MAX_VALUE:t===t?t:0}function iw(e){let t=rw(e),n=t%1;return n?t-n:t}function aw(e){if(typeof e==`string`)return e;if(Array.isArray(e))return uw(e,aw)+``;if(YC(e))return RC.call(e);let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function ow(e){return e==null?``:aw(e)}function sw(e){if(typeof e==`string`||YC(e))return e;let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function cw(e){return e}function lw(e,t){let n=-1,r=e==null?0:e.length;for(;++n<r&&t(e[n],n,e)!==!1;);return e}function uw(e,t){let n=-1,r=e==null?0:e.length,i=Array(r);for(;++n<r;)i[n]=t(e[n],n,e);return i}function dw(e,t){let n=-1,{length:r}=t,i=e.length;for(;++n<r;)e[i+n]=t[n];return e}function fw(e,t){let n=-1,r=e==null?0:e.length;for(;++n<r;)if(t(e[n],n))return!0;return!1}function pw(e,t,n){let{length:r}=e,i=n-1;for(;++i<r;)if(t(e[i],i,e))return i;return-1}function mw(e,t){let n=-1,r=Array(e);for(;++n<e;)r[n]=t(n);return r}function hw(e,t){let n=-1,{length:r}=e,i=t||Array(r);for(;++n<r;)i[n]=e[n];return i}function gw(e){let t=-1,n=Array(e.size);return e.forEach(e=>{n[++t]=e}),n}function _w(e){let t=-1,n=Array(e.size);return e.forEach((e,r)=>{n[++t]=[r,e]}),n}function vw(e,t){let n=Array.isArray(e),r=!n&&qC(e),i=!n&&!r&&JC(e),a=n||r||i,o=a?mw(e.length,String):[],{length:s}=o;for(let n in e)(t||FC.call(e,n))&&!(a&&(n==`length`||i&&(n==`buffer`||n==`byteLength`||n==`byteOffset`)||GC(n,s)))&&o.push(n);return o}function yw(e){if(!QC(e))return Object.keys(Object(e));let t=[];for(let n in Object(e))FC.call(e,n)&&n!=`constructor`&&t.push(n);return t}function bw(e){let t=[];if(e!=null)for(let n in Object(e))t.push(n);return t}function xw(e){if(!ST(e))return bw(e);let t=QC(e),n=[];for(let r in e)r==`constructor`&&(t||!FC.call(e,r))||n.push(r);return n}function Sw(e){return KC(e)?vw(e,!1):yw(e)}function Cw(e){return KC(e)?vw(e,!0):xw(e)}function ww(e){if(e==null)return[];let t=Object(e);return Object.getOwnPropertySymbols(t).filter(e=>LC.call(t,e))}function Tw(e){let t=[],n=e;for(;n;)dw(t,ww(n)),n=Object.getPrototypeOf(Object(n));return t}function Ew(e){let t=Sw(e);return Array.isArray(e)?t:dw(t,ww(e))}function Dw(e){let t=Cw(e);return Array.isArray(e)?t:dw(t,Tw(e))}function Ow(e,t,n){t==`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function kw(e,t,n){let r=e[t];(!(FC.call(e,t)&&VC(r,n))||n===void 0&&!(t in e))&&Ow(e,t,n)}function Aw(e,t,n){let r=!n,i=n||{},a=-1,{length:o}=t;for(;++a<o;){let n=t[a];r?Ow(i,n,e[n]):kw(i,n,e[n])}return i}function jw(e,t){return e&&Aw(t,Sw(t),e)}function Mw(e,t){return e&&Aw(t,Cw(t),e)}function Nw(e,t){return Aw(e,ww(e),t)}function Pw(e,t){return Aw(e,Tw(e),t)}function Fw(e,t,n){let r=-1,i=Object(e),a=n(e),{length:o}=a;for(;o--;){let e=a[++r];if(t(i[e],e,i)===!1)break}return e}function Iw(e,t){return e&&Fw(e,t,Sw)}function Lw(e,t){if(e==null)return e;if(!KC(e))return Iw(e,t);let{length:n}=e,r=-1,i=Object(e);for(;++r<n&&t(i[r],r,i)!==!1;);return e}function Rw(e){let t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(jC,(e,n,r,i)=>(t.push(r?i.replace(CC,`$1`):n||e),e)),t}var zw=new Map;function Bw(e){zw.size===tC&&zw.clear();let t=zw.get(e);return t===void 0&&(t=Rw(e),zw.set(e,t)),t}function Vw(e,t){if(Array.isArray(e))return!1;let n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||YC(e)?!0:kC.test(e)||!DC.test(e)||t!=null&&e in Object(t)}function Hw(e,t){return Array.isArray(e)?e:Vw(e,t)?[e]:Bw(ow(e))}function Uw(e,t){let n=Hw(t,e),r=0,{length:i}=n,a=e;for(;a!=null&&r<i;)a=a[sw(n[r++])];return r&&r==i?a:void 0}function Ww(e,t){return e!=null&&t in Object(e)}function Gw(e,t,n){let r=Hw(t,e),i=-1,{length:a}=r,o=!1,s,c=e;for(;++i<a&&(s=sw(r[i]),o=c!=null&&n(c,s),o);)c=c[s];return o||++i!=a?o:(a=c==null?0:c.length,!!a&&WC(a)&&GC(s,a)&&(Array.isArray(c)||qC(c)))}function Kw(e,t){return e!=null&&Gw(e,t,Ww)}function qw(e){return t=>t?.[e]}function Jw(e){return t=>Uw(t,e)}function Yw(e){return Vw(e)?qw(sw(e)):Jw(e)}function Xw(e,t){return e.byteLength==t.byteLength&&tT(new Uint8Array(e),new Uint8Array(t))}function Zw(e,t,n,r,i){let a=n&$S,o=e.length,s=t.length;if(o!=s&&!(a&&s>o))return!1;let c=i.get(e),l=i.get(t);if(c&&l)return c==t&&l==e;let u=-1,d=!0,f=n&eC?new Set:void 0;for(i.set(e,t),i.set(t,e);++u<o;){let o=e[u],s=t[u],c;if(r&&(c=a?r(s,o,u,t,e,i):r(o,s,u,e,t,i)),c!==void 0){if(c)continue;d=!1;break}if(f){if(!fw(t,(e,t)=>!f.has(t)&&(o===e||tT(o,e,n,r,i))?f.add(t):!1)){d=!1;break}}else if(!(o===s||tT(o,s,n,r,i))){d=!1;break}}return i.delete(e),i.delete(t),d}function Qw(e,t,n,r,i,a){switch(n){case cC:return e.byteLength==t.byteLength&&e.byteOffset==t.byteOffset&&Xw(e.buffer,t.buffer);case aC:return Xw(e,t);case sC:case lC:case mC:return VC(+e,+t);case uC:return e.name==t.name&&e.message==t.message;case _C:case yC:return e==t+``;case pC:case vC:{let o=r&$S;if(e.size!=t.size&&!o)return!1;let s=a.get(e);if(s)return s==t;let c=n==pC?_w:gw;a.set(e,t);let l=Zw(c(e),c(t),r|eC,i,a);return a.delete(e),l}case bC:return zC.call(e)==zC.call(t)}return!1}function $w(e,t,n,r,i){let a=n&$S,o=Ew(e),s=o.length;if(s!=Ew(t).length&&!a)return!1;let c=s;for(;c--;){let e=o[c];if(!(a?e in t:FC.call(t,e)))return!1}let l=i.get(e),u=i.get(t);if(l&&u)return l==t&&u==e;let d=!0;i.set(e,t),i.set(t,e);let f=!!a;for(;++c<s;){let s=o[c],l=e[s],u=t[s],p;if(r&&(p=a?r(u,l,s,t,e,i):r(l,u,s,e,t,i)),!(p===void 0?l===u||tT(l,u,n,r,i):p)){d=!1;break}f||=s==`constructor`}if(d&&!f){let n=e.constructor,r=t.constructor;n!=r&&`constructor`in e&&`constructor`in t&&!(typeof n==`function`&&n instanceof n&&typeof r==`function`&&r instanceof r)&&(d=!1)}return i.delete(e),i.delete(t),d}function eT(e,t,n,r,i){let a=Array.isArray(e),o=Array.isArray(t),s=a?iC:UC(e),c=o?iC:UC(t);s=s==rC?hC:s,c=c==rC?hC:c;let l=s==hC,u=s==c;return u&&!l?a||JC(e)?Zw(e,t,n,r,i||new Map):Qw(e,t,s,n,r,i||new Map):u?$w(e,t,n,r,i||new Map):!1}function tT(e,t,n=0,r,i){return e===t?!0:e==null||t==null||!BC(e)&&!BC(t)?e!==e&&t!==t:eT(e,t,n,r,i)}function nT(e){return Sw(e).map(t=>[t,e[t],$C(e[t])])}function rT(e,t){return n=>n!=null&&n[e]===t&&(t!==void 0||e in Object(n))}function iT(e,t){let n=t.length,r=n;if(e==null)return!r;let i=Object(e);for(;n--;){let[e,r,a]=t[n];if(a?r!==i[e]:!(e in i))return!1}for(;++n<r;){let[e,r,a]=t[n],o=i[e];if(a){if(o===void 0&&!(e in i))return!1}else if(!tT(r,o,3))return!1}return!0}function aT(e){let t=nT(e);return t.length==1&&t[0][2]?rT(t[0][0],t[0][1]):n=>n===e||iT(n,t)}function oT(e,t){return Vw(e)&&$C(t)?rT(sw(e),t):n=>{let r=yT(n,e);return r===void 0&&r===t?Kw(n,e):tT(t,r,3)}}function sT(e){return typeof e==`function`?e:e==null?cw:typeof e==`object`?Array.isArray(e)?oT(e[0],e[1]):aT(e):Yw(e)}function cT(e){return ST(e)?Object.create(e):{}}function lT(e){let{length:t}=e,n=new e.constructor(t);return t&&typeof e[0]==`string`&&FC.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function uT(e){return typeof e.constructor==`function`&&!QC(e)?cT(Object.getPrototypeOf(Object(e))):{}}function dT(e){let t=new e.constructor(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}function fT(e,t){let n=t?dT(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function pT(e,t,n){let r=e.constructor;switch(t){case aC:return dT(e);case sC:case lC:return new r(+e);case cC:return new r(n?dT(e.buffer):e.buffer,e.byteOffset,e.byteLength);case pC:case vC:return new r;case mC:case yC:return new r(e);case _C:{let t=new r(e.source,wC.exec(e));return t.lastIndex=e.lastIndex,t}case bC:return Object(zC.call(e))}return xC.has(t)?fT(e,n):void 0}function mT(e,t,n,r,i,a){let o,s=!!(t&XS),c=!!(t&ZS),l=!!(t&QS);if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!ST(e))return e;let u=Array.isArray(e);if(u){if(o=lT(e),!s)return hw(e,o)}else{let t=UC(e),n=t==dC||t==fC;if(t==hC||t==rC||n&&!i){if(o=c||n?{}:uT(e),!s)return c?Pw(e,Mw(o,e)):Nw(e,jw(o,e))}else{if(!SC.has(t))return i?e:{};o=pT(e,t,s)}}let d=a||new Map,f=d.get(e);if(f)return f;d.set(e,o),ZC(e)?e.forEach(r=>{o.add(mT(r,t,n,r,e,d))}):XC(e)&&e.forEach((r,i)=>{o.set(i,mT(r,t,n,i,e,d))});let p=u?void 0:(l?c?Dw:Ew:c?Cw:Sw)(e);return lw(p||e,(r,i)=>{let a=i,s=r;p&&(a=r,s=e[a]),kw(o,a,mT(s,t,n,a,e,d))}),o}function hT(e,t,n){let r=e==null?0:e.length;if(!r)return-1;let i=n==null?0:iw(n);return i<0&&(i=Math.max(r+i,0)),pw(e,t,i)}function gT(e){return mT(e,5)}function _T(e,t,n=0){let r=Object(e);if(KC(e)){let i=hT(e,sT(t),n);return i>-1?r[i]:void 0}let i=sT(t),a=Sw(e),o=hT(a,e=>i(r[e],e,r),n);return o>-1?r[a[o]]:void 0}function vT(e,t){let n=sT(t),r;return Iw(e,(e,t,i)=>{if(n(e,t,i))return r=t,!1}),r}function yT(e,t,n){let r=e==null?void 0:Uw(e,t);return r===void 0?n:r}function bT(e){if(e==null)return!0;if(KC(e)&&(Array.isArray(e)||typeof e==`string`||typeof e.splice==`function`||JC(e)||qC(e)))return!e.length;let t=UC(e);if(t==pC||t==vC)return!e.size;if(QC(e))return!yw(e).length;for(let t in e)if(FC.call(e,t))return!1;return!0}function xT(e){if(!ST(e))return!1;let t=UC(e);return t==dC||t==fC||t==oC||t==gC}function ST(e){let t=typeof e;return e!=null&&(t==`object`||t==`function`)}function CT(e){return e===void 0}function wT(e,t,n){let r=arguments.length<3,i=sT(t),a=n;if(Array.isArray(e)){let t=-1,{length:n}=e;for(r&&n&&(a=e[++t]);++t<n;)a=i(a,e[t],t,e);return a}return Lw(e,(e,t,n)=>{r?(r=!1,a=e):a=i(a,e,t,n)}),a}var TT=(e,t,n)=>{if(!e||e.length<=1||t===void 0||n===void 0)throw Error(`swap requires a non-empty array, fromIndex, toIndex: ${e}, ${t} ${n}`);let r=gT(e),i=e[n];return r[n]=r[t],r[t]=i,r},ET={flex:1};function DT({id:e,children:t,disabled:n,classes:r,isVerticalPool:i,minHeight:a}){let{setNodeRef:o,isOver:s}=LS({id:e,disabled:n});return(0,H.jsx)(`div`,{ref:o,style:ET,children:(0,H.jsx)(Zy,{disabled:n,isOver:s,choiceBoard:!0,className:r,isVerticalPool:i,minHeight:a,children:t})})}DT.propTypes={id:x.oneOfType([x.string,x.number]).isRequired,children:x.oneOfType([x.arrayOf(x.node),x.node]).isRequired,disabled:x.bool,classes:x.object,isVerticalPool:x.bool,minHeight:x.number};function OT({id:e,children:t,disabled:n,onRemoveAnswer:r,...i}){return(0,H.jsx)(DT,{id:e,disabled:n,...i,children:t})}OT.propTypes={id:x.oneOfType([x.string,x.number]).isRequired,children:x.node,disabled:x.bool,onRemoveAnswer:x.func};function kT(e,t,n){let r={...e};return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),r}var AT=e=>{let{transform:t,draggingNodeRect:n,windowRect:r}=e;return!n||!r?t:kT(t,n,r)},jT=e=>e.data?.droppableContainer?.data?.current,MT=e=>jT(e)?.type===`drop-zone`,NT=e=>jT(e)?.type===`choices-pool`,PT=e=>{let{collisionRect:t,droppableRects:n}=e,r=Hb(e),i=r.filter(MT);if(i.length>0){let e=t.top+t.height/2,r=t=>{let r=n.get(t.id);return r?Math.abs(e-(r.top+r.height/2)):1/0};return[...i].sort((e,t)=>r(e)-r(t))}let a=r.filter(NT);return a.length>0?a:r},FT=25,IT=(e,{active:t,context:n,currentCoordinates:r})=>{let{code:i}=e,a=i===`Tab`,o=i===$.Down||i===$.Up||i===$.Left||i===$.Right;if(!a&&!o)return;if(e.preventDefault(),o)switch(i){case $.Down:return{...r,y:r.y+FT};case $.Up:return{...r,y:r.y-FT};case $.Right:return{...r,x:r.x+FT};case $.Left:return{...r,x:r.x-FT};default:return r}let{droppableRects:s,droppableContainers:c,collisionRect:l}=n;if(!s||s.size===0)return r;let u=t?.data?.current,d=u?.promptId==null?void 0:`drop-${u.promptId}`,f=l?.height??0,p=e=>({x:e.left,y:e.top+e.height/2-f/2}),m=[];for(let[e,t]of c){if(t?.disabled||e===d)continue;let n=t?.node?.current,r=n?.getBoundingClientRect()??s.get(e);if(!r)continue;let i={x:r.left+r.width/2,y:r.top+r.height/2};m.push({id:e,node:n,rect:r,dropPosition:p(r),center:i})}if(m.length===0)return r;let h=e.shiftKey;m.sort((e,t)=>Math.abs(e.center.y-t.center.y)>10?e.center.y-t.center.y:e.center.x-t.center.x);let g=l?{x:l.left+l.width/2,y:l.top+l.height/2}:r,_=m.findIndex(e=>g.x>=e.rect.left&&g.x<=e.rect.right&&g.y>=e.rect.top&&g.y<=e.rect.bottom);if(_===-1){let e=1/0;for(let t=0;t<m.length;t++){let n=LT(r,m[t].dropPosition);n<e&&(e=n,_=t)}}let v=m[h?(_-1+m.length)%m.length:(_+1)%m.length];return v.node?.scrollIntoView?(v.node.scrollIntoView({block:`nearest`,inline:`nearest`,behavior:`instant`}),p(v.node.getBoundingClientRect())):v.dropPosition},LT=(e,t)=>Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2),RT=`height ease-in 300ms, opacity ease-in 300ms`,zT=K(`div`)(()=>({position:`relative`,height:0,overflow:`hidden`,display:`flex`,visibility:`hidden`,width:0,"&.enter":{transition:RT,opacity:1,height:`auto`,width:`auto`,visibility:`visible`,minHeight:`25px`},"&.enter-done":{height:`auto`,visibility:`visible`,width:`auto`,minHeight:`25px`},"&.exit":{transition:RT,opacity:0,height:0,visibility:`visible`,width:0},"&.exit-done":{opacity:0,visibility:`hidden`,height:0,width:0}})),BT=e=>{let{show:t,children:n,className:r}=e,i=(0,V.useRef)(null);return(0,H.jsx)(js,{nodeRef:i,in:t,appear:!0,mountOnEnter:!1,timeout:300,classNames:{enter:`enter`,enterDone:`enter-done`,exit:`exit`,exitDone:`exit-done`},children:(0,H.jsx)(zT,{ref:i,className:r,children:n})})};BT.propTypes={show:x.bool.isRequired,className:x.string,children:x.oneOfType([x.arrayOf(x.node),x.node]).isRequired};function VT(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function HT(e,t){return!e||VT(e)?e:VT(e.default)?e.default:t&&VT(e[t])?e[t]:t&&VT(e[t]?.default)?e[t].default:e}var UT=HT(vy,`Readable`)||HT(KT.Readable,`Readable`),WT=Jy,GT=WT.default,KT=GT&&typeof GT==`object`?GT:WT,{translator:qT}=O_,JT={WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,msUserSelect:`none`,userSelect:`none`},YT=K(`div`)(()=>({width:`100%`,cursor:`pointer`})),XT=K(`button`)(()=>({margin:`0 auto`,textAlign:`center`,display:`flex`,minWidth:`24px`,minHeight:`24px`,padding:0,border:0,background:`none`,color:`inherit`,font:`inherit`,cursor:`pointer`,"&:focus-visible":{outline:`2px solid ${Nf()}`,outlineOffset:`-2px`}})),ZT=K(`div`)(()=>({width:`fit-content`,minWidth:`140px`,alignSelf:`center`,verticalAlign:`middle`,color:`var(--correct-answer-toggle-label-color, ${Ud()})`,fontWeight:`normal`,...JT})),QT=K(`div`)(()=>({position:`absolute`,width:`25px`,"&.enter":{opacity:`0`},"&.enter-active":{opacity:`1`,transition:`opacity 0.3s ease-in`},"&.exit":{opacity:`1`},"&.exit-active":{opacity:`0`,transition:`opacity 0.3s ease-in`}})),$T=K(`div`)(()=>({width:`25px`,marginRight:`5px`,display:`flex`,alignItems:`center`})),eE=class e extends V.Component{static propTypes={onToggle:x.func,toggled:x.bool,show:x.bool,hideMessage:x.string,showMessage:x.string,className:x.string,language:x.string};static defaultProps={showMessage:`Show correct answer`,hideMessage:`Hide correct answer`,show:!1,toggled:!1};constructor(t){super(t),this.state={show:t.show},this.openIconRef=V.createRef(),this.closedIconRef=V.createRef(),e.defaultProps={...e.defaultProps,showMessage:qT.t(`common:showCorrectAnswer`,{lng:t.language}),hideMessage:qT.t(`common:hideCorrectAnswer`,{lng:t.language})}}onClick(){this.props.onToggle(!this.props.toggled)}onTouch(e){e.preventDefault(),this.props.onToggle(!this.props.toggled)}UNSAFE_componentWillReceiveProps(t){this.setState({show:t.show}),t.language!==this.props?.language&&(e.defaultProps={...e.defaultProps,showMessage:qT.t(`common:showCorrectAnswer`,{lng:t.language}),hideMessage:qT.t(`common:hideCorrectAnswer`,{lng:t.language})})}render(){let{className:e,toggled:t,hideMessage:n,showMessage:r}=this.props;return(0,H.jsx)(YT,{className:e,children:(0,H.jsx)(BT,{show:this.state.show,children:(0,H.jsxs)(XT,{type:`button`,"aria-pressed":!!t,onClick:this.onClick.bind(this),onTouchEnd:this.onTouch.bind(this),children:[(0,H.jsxs)($T,{children:[(0,H.jsx)(js,{nodeRef:this.openIconRef,timeout:400,in:t,exit:!t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,H.jsx)(QT,{ref:this.openIconRef,children:(0,H.jsx)(zo,{open:t},`correct-open`)})}),(0,H.jsx)(js,{nodeRef:this.closedIconRef,timeout:5e3,in:!t,exit:t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,H.jsx)(QT,{ref:this.closedIconRef,children:(0,H.jsx)(zo,{open:t},`correct-closed`)})})]}),(0,H.jsx)(UT,{false:!0,children:(0,H.jsx)(ZT,{"aria-hidden":!this.state.show,children:t?n:r})})]})})})}},tE=rl((0,H.jsx)(`path`,{d:`m7 10 5 5 5-5z`}),`ArrowDropDown`),nE=K(`div`)({display:`inline-block`,position:`relative`,width:`100%`}),rE=K(`span`)(({isRight:e})=>({backgroundColor:yf(),bottom:e?20:19,content:`""`,display:`block`,height:1,left:20,position:`absolute`,width:`100%`})),iE=class extends V.Component{static propTypes={direction:x.string};render(){let{direction:e}=this.props;return(0,H.jsxs)(nE,{style:e===`left`?{}:{transform:`rotate(180deg)`},children:[(0,H.jsx)(tE,{style:{transform:`rotate(90deg)`,color:yf(),fontSize:40}}),(0,H.jsx)(rE,{isRight:e!==`left`})]})}},aE=v(`pie-elements:match-title:answer`),oE=Hd(`pie`),sE=K(`div`)(()=>({width:`100%`,fontSize:`18px`,textAlign:`center`,color:`inherit`})),cE=({index:e,isOver:t,disabled:n,type:r})=>(0,H.jsx)(Zy,{extraStyles:{display:`flex`,padding:`0`,alignItems:`center`,justifyContent:`center`,height:`40px`},disabled:n,isOver:t,type:r,children:e!==void 0&&(0,H.jsx)(sE,{children:e})});cE.propTypes={index:x.number,isOver:x.bool,disabled:x.bool,type:x.string};var lE=K(`div`)(({isDragging:e,isSelected:t,isOver:n,disabled:r,outcome:i})=>({color:Ud(),backgroundColor:oE(`background`,X.WHITE),border:`1px solid ${i===`correct`?qd():i===`incorrect`?Zd():yf()}`,cursor:r?`not-allowed`:`pointer`,width:`100%`,padding:`10px`,boxSizing:`border-box`,overflow:`hidden`,transition:`opacity 200ms linear`,wordBreak:`break-word`,opacity:(e||t)&&!r?.5:n&&!r?.2:1,touchAction:`none`})),uE=e=>{let{isDragging:t,isSelected:n,isOver:r,title:i,disabled:a,empty:o,outcome:s,guideIndex:c,type:l}=e;return o?(0,H.jsx)(cE,{index:c,isOver:r,disabled:a,type:l}):(0,H.jsx)(lE,{isDragging:t,isSelected:n,isOver:r,disabled:a,outcome:s,dangerouslySetInnerHTML:{__html:Rd(i)}})},dE=K(`div`)(({correct:e,isSelected:t,isDragging:n,theme:r})=>({boxSizing:`border-box`,minHeight:40,minWidth:`200px`,overflow:`hidden`,margin:r.spacing(.5),padding:`0px`,textAlign:`center`,height:`initial`,border:e===!0?`1px solid ${qd()}`:e===!1?`1px solid ${Zd()}`:t&&!n?`2px solid ${Nf()}`:`none`})),fE=class extends V.Component{static propTypes={className:x.string,isDragging:x.bool,isSelected:x.bool,id:x.any,title:x.string,isOver:x.bool,empty:x.bool,type:x.string,disabled:x.bool,correct:x.bool};componentDidMount(){this.ref&&this.ref.addEventListener(`touchstart`,this.handleTouchStart,{passive:!0})}componentWillUnmount(){this.ref&&this.ref.removeEventListener(`touchstart`,this.handleTouchStart)}handleTouchStart=e=>{};render(){let{id:e,title:t,isDragging:n=!1,isSelected:r=!1,className:i,disabled:a,isOver:o=!1,type:s,correct:c}=this.props;return aE(`[render], props: `,this.props),(0,H.jsx)(dE,{correct:c,isSelected:r,isDragging:n,className:i,ref:e=>this.ref=e,children:(0,H.jsx)(uE,{title:t,id:e,isOver:o,empty:bT(t),isDragging:n,isSelected:r,disabled:a,type:s})})}},pE=({type:e,id:t,promptId:n})=>n==null?`${e||`answer`}-${t}`:`${e||`answer`}-prompt-${n}`;function mE(e){let{id:t,instanceId:n,promptId:r,labelId:i,draggable:a=!0,disabled:o=!1,type:s,selectedAnswer:c,onSelectClick:l,onPlacementClick:u}=e,d=pE({type:s,id:t,promptId:r}),f=r==null?void 0:`drop-${r}`,p={type:s||`answer`,id:t,instanceId:n,value:e.title,promptId:r},m=f?{type:`drop-zone`,promptId:r,instanceId:n}:void 0,{attributes:h,listeners:g,setNodeRef:_,transform:v,transition:y,isDragging:b}=NS({id:d,data:p,disabled:!a||o,attributes:{tabIndex:a&&!o?0:-1}}),x=LS({id:f,data:m,disabled:o||!f}),S=x.setNodeRef,C=x.isOver,[w,T]=(0,V.useState)(!1),E=!!c,D=C||E&&w&&!o,O=!!c&&c.type===p.type&&c.id===p.id&&c.promptId===p.promptId,k=v?`translate3d(${v.x}px, ${v.y}px, 0)`:void 0;if(f){let t=()=>{o||(O?l?.(p):c?u?.(m):a&&l?.(p))},r=!a&&!o&&E;return(0,H.jsx)(`div`,{ref:S,role:r?`button`:`group`,"aria-labelledby":i,tabIndex:r?0:-1,onClick:t,onKeyDown:r?e=>{(e.code===`Space`||e.code===`Enter`)&&(e.preventDefault(),t())}:void 0,onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),style:{flex:1,opacity:b?.5:1,backgroundColor:b||O||D?`rgba(0,0,0,0.05)`:`transparent`,cursor:E&&!o?`pointer`:void 0},children:(0,H.jsx)(`div`,{ref:_,...g,...a&&!o?h:{},"data-tile-id":`${n}:${d}`,style:{transform:k,transition:y},children:(0,H.jsx)(fE,{...e,isDragging:b,isSelected:O,isOver:D})})})}let A=e=>{o||(e.stopPropagation(),l?.(p))};return(0,H.jsx)(`div`,{ref:_,...g,...h,"data-tile-id":`${n}:${d}`,onClick:A,style:{transform:k,transition:y,cursor:o?`not-allowed`:`grab`,opacity:b?.5:1,touchAction:a&&!o?`none`:`auto`},children:(0,H.jsx)(fE,{...e,isDragging:b,isSelected:O,isOver:!1})})}mE.propTypes={id:x.any,instanceId:x.string,promptId:x.any,labelId:x.string,title:x.string,draggable:x.bool,disabled:x.bool,type:x.string,selectedAnswer:x.object,onSelectClick:x.func,onPlacementClick:x.func};var hE=200,gE=K(`div`)({alignItems:`normal`,display:`flex`,flexShrink:0,height:40,margin:`10px 20px`}),_E=K(`div`)(({theme:e})=>({alignItems:`flex-start`,display:`flex`,flex:1,flexDirection:`column`,justifyContent:`space-between`,marginTop:e.spacing(2),marginBottom:e.spacing(2)})),vE=K(`div`)(()=>({border:`1px solid ${yf()}`,boxSizing:`border-box`,flex:1,margin:`10px 0`,minHeight:40,minWidth:hE,overflow:`hidden`,padding:10,textAlign:`center`,width:`100%`,wordBreak:`break-word`})),yE=K(`div`)({alignItems:`center`,display:`flex`,justifyContent:`space-between`,width:`100%`}),bE=class extends V.Component{static propTypes={session:x.object.isRequired,showCorrect:x.bool.isRequired,disabled:x.bool.isRequired,onSessionChange:x.func,onRemoveAnswer:x.func,instanceId:x.string.isRequired,model:x.object.isRequired,prompt:x.string,selectedAnswer:x.object,onChoiceClick:x.func,onPlacementClick:x.func};getAnswerFromSession=e=>{let{model:t,session:n,showCorrect:r}=this.props,{config:i}=t,a=r?i.prompts.find(t=>t.id===e).relatedAnswer:n.value&&n.value[e];return i.answers.find(e=>e.id===a)||{}};getCorrectOrIncorrectMap=()=>{let{model:e,session:t,showCorrect:n}=this.props,{config:r}=e,i=t.value||r.prompts.reduce((e,t)=>(e[t.id]=void 0,e),{});if(e.mode!==`evaluate`)return{};if(n)return r.prompts.reduce((e,t)=>(e[t.id]=!0,e),{});let a=r.prompts.reduce((e,t)=>(CT(t.relatedAnswer)||(e[t.id]=t.relatedAnswer),e),{});return wT(i,(e,t,n)=>(e[n]=a[n]===i[n],e),{})};buildRows=()=>{let{model:e}=this.props,{config:t}=e;return(t.prompts||[]).map(e=>{let t=this.getAnswerFromSession(e.id);return{...e,sessionAnswer:t}})};render(){let{disabled:e,instanceId:t,onRemoveAnswer:n,selectedAnswer:r,onChoiceClick:i,onPlacementClick:a}=this.props,o=this.buildRows(),s=this.getCorrectOrIncorrectMap();return(0,H.jsx)(_E,{children:o.map(({sessionAnswer:o,title:c,id:l},u)=>{let d=`${t}-prompt-label-${l}`;return(0,H.jsxs)(yE,{children:[(0,H.jsx)(vE,{id:d,dangerouslySetInnerHTML:{__html:Rd(c)}}),(0,H.jsxs)(gE,{children:[(0,H.jsx)(iE,{direction:`left`}),(0,H.jsx)(iE,{})]}),(0,H.jsx)(mE,{className:`answer`,index:u,promptId:l,labelId:d,correct:s[l],draggable:!bT(o),disabled:e,instanceId:t,id:o.id,title:o.title,type:`target`,onRemoveChoice:()=>n(l),selectedAnswer:r,onSelectClick:i,onPlacementClick:a})]},l)})})}},xE=K(`div`)(({theme:e})=>({alignItems:`center`,display:`flex`,flexDirection:`row`,flexWrap:`wrap`,justifyContent:`space-between`,marginTop:e.spacing(1),marginBottom:e.spacing(1),minHeight:50,transition:`background-color 200ms ease`}));function SE({id:e,disabled:t,children:n,onPlacementClick:r,...i}){let{setNodeRef:a,isOver:o}=LS({id:e||`choices-pool`,data:{type:`choices-pool`},disabled:t});return(0,H.jsx)(xE,{ref:a,onClick:()=>{t||r?.({type:`choices-pool`})},style:{backgroundColor:o?`rgba(0,0,0,0.05)`:`transparent`},...i,children:(0,H.jsx)(OT,{id:e,disabled:t,children:n})})}SE.propTypes={id:x.oneOfType([x.string,x.number]),disabled:x.bool,children:x.node,onPlacementClick:x.func};var CE=K(`div`)(({theme:e})=>({marginBottom:e.spacing(2)})),wE=class extends V.Component{static propTypes={session:x.object.isRequired,instanceId:x.string.isRequired,model:x.object.isRequired,disabled:x.bool.isRequired,onRemoveAnswer:x.func,selectedAnswer:x.object,onChoiceClick:x.func,onPlacementClick:x.func};render(){let{model:e,disabled:t,session:n,instanceId:r,onRemoveAnswer:i,selectedAnswer:a,onChoiceClick:o,onPlacementClick:s}=this.props,{config:c}=e,{duplicates:l}=c,u=c.answers.filter(e=>l||bT(n)||!n.value||CT(_T(n.value,t=>t===e.id))).map(e=>(0,H.jsx)(mE,{instanceId:r,draggable:!0,disabled:t,session:n,type:`choice`,selectedAnswer:a,onSelectClick:o,...e},e.id));return(0,H.jsx)(CE,{children:(0,H.jsx)(SE,{id:`choices-pool`,disabled:t,onRemoveAnswer:i,onPlacementClick:s,children:u})})}};function TE(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function EE(e,t){return!e||TE(e)?e:TE(e.default)?e.default:t&&TE(e[t])?e[t]:t&&TE(e[t]?.default)?e[t].default:e}var DE=EE(_y,`PreviewPrompt`)||EE(jE.PreviewPrompt,`PreviewPrompt`),OE=EE(np,`Feedback`)||EE(jE.Feedback,`Feedback`),kE=Jy,AE=kE.default,jE=AE&&typeof AE==`object`?AE:kE,ME=250,NE=[{sensor:Mx,options:{activationConstraint:{distance:8}}},{sensor:Dx,options:{coordinateGetter:IT,keyboardCodes:{start:[$.Space,$.Enter],cancel:[$.Esc],end:[$.Space,$.Enter]}}}],PE=K(`div`)({display:`flex`,flexDirection:`column`,justifyContent:`center`,color:Ud(),backgroundColor:ff()}),FE=K(`div`)({width:`100%`,overflowX:`auto`,overflowY:`hidden`}),IE=K(`div`)({display:`flex`,flexDirection:`column`,minWidth:`min-content`}),LE=class extends V.Component{static propTypes={session:x.object.isRequired,onSessionChange:x.func,model:x.object.isRequired,prompt:x.string};constructor(e){super(e),this.instanceId=k_(`match-list`),this.state={showCorrectAnswer:!1,draggingElement:null,selectedAnswer:null},this.lastDragEndAt=0}onRemoveAnswer(e){let{session:t,onSessionChange:n}=this.props;t.value[e]=void 0,n(t)}onDragStart=e=>{let{active:t}=e;if(t?.data?.current){let e=null,n=t.node?.current;if(n){let{width:t,height:r}=n.getBoundingClientRect();e={width:t,height:r}}this.setState({draggingElement:{...t.data.current,rect:e}}),this.selectAnswer(t.data.current)}};onDragCancel=()=>{this.setState({draggingElement:null}),this.cancelSelection(),this.lastDragEndAt=Date.now()};placeAnswer=(e,t)=>{if(!e||!t)return;let{session:n,onSessionChange:r,model:i}=this.props,{config:{duplicates:a}}=i;if(CT(n.value)&&(n.value={}),t.type===`choices-pool`&&e.promptId!==void 0){n.value[e.promptId]=void 0,r(n);return}let o=e.id,s=e.promptId;if(t.type===`drop-zone`&&t.promptId!=null){let i=t.promptId;if(e.type===`choice`&&i!==void 0){let e=vT(n.value,e=>e===o);e&&!a?n.value=TT(n.value,e,i):n.value[i]=o}else if(e.type===`target`&&s!=null&&s!==i)if(n.value[i]!=null&&!a){let e=n.value[i];n.value[i]=o,n.value[s]=e}else n.value[i]=o,delete n.value[s];r(n)}};onPlaceAnswer=e=>{this.setState({draggingElement:null});let{active:t,over:n}=e;if(!t)return;let r=t.data.current,i=n?.data.current;if(!r)return;let a=this.getDestinationDragId(r,i);this.placeAnswer(r,i),this.cancelSelection(),this.lastDragEndAt=Date.now(),this.focusTile(a)};getDestinationDragId=(e,t)=>!e||!t?null:t.type===`choices-pool`&&e.promptId!==void 0?pE({type:`choice`,id:e.id}):t.type===`drop-zone`&&t.promptId!=null?pE({type:`target`,promptId:t.promptId}):null;focusTile=e=>{if(!e)return;let t=`[data-tile-id="${this.instanceId}:${e}"]`;requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.querySelector(t)?.focus()})})};isSameAnswer=(e,t)=>!!e&&!!t&&e.type===t.type&&e.id===t.id&&e.promptId===t.promptId;selectAnswer=e=>{this.setState({selectedAnswer:e})};toggleAnswerSelection=e=>{this.setState(t=>({selectedAnswer:this.isSameAnswer(t.selectedAnswer,e)?null:e}))};cancelSelection=()=>{this.setState({selectedAnswer:null})};endAnyLiveKeyboardDrag=()=>{document.dispatchEvent(new KeyboardEvent(`keydown`,{code:`Escape`,bubbles:!0,cancelable:!0}))};placeSelectedAnswer=e=>{let{selectedAnswer:t}=this.state;if(!t)return;let n=this.getDestinationDragId(t,e);this.placeAnswer(t,e),this.cancelSelection(),this.endAnyLiveKeyboardDrag(),this.lastDragEndAt=Date.now(),this.focusTile(n)};isClickSoonAfterDragEnd=()=>Date.now()-this.lastDragEndAt<ME;onChoiceClick=e=>{this.isClickSoonAfterDragEnd()||this.toggleAnswerSelection(e)};onPlacementClick=e=>{this.isClickSoonAfterDragEnd()||this.placeSelectedAnswer(e)};toggleShowCorrect=()=>{this.setState({showCorrectAnswer:!this.state.showCorrectAnswer})};renderDragOverlay=()=>{let{draggingElement:e}=this.state;return e?(0,H.jsx)(fE,{id:e.id,title:e.value,disabled:!1,isDragging:!1,style:e.rect?{width:e.rect.width,height:e.rect.height,boxSizing:`border-box`}:{}}):null};render(){let{showCorrectAnswer:e}=this.state,{model:t,session:n}=this.props,{config:r,mode:i}=t,{prompt:a,language:o}=r;return(0,H.jsxs)(kS,{id:this.instanceId,sensors:NE,collisionDetection:PT,onDragStart:this.onDragStart,onDragEnd:this.onPlaceAnswer,onDragCancel:this.onDragCancel,modifiers:[AT],accessibility:{screenReaderInstructions:{draggable:`Press Space or Enter to pick up this answer choice. Once picked up, use Tab or Shift+Tab to cycle through response areas, or use arrow keys to move it freely. Press Space or Enter to drop, or Escape to cancel. You can also click an answer choice to select it, then click a response area to place it there.`}},children:[(0,H.jsxs)(PE,{children:[(0,H.jsx)(DE,{className:`prompt`,prompt:a}),(0,H.jsx)(eE,{show:i===`evaluate`,toggled:e,onToggle:this.toggleShowCorrect,language:o}),(0,H.jsx)(FE,{children:(0,H.jsxs)(IE,{children:[(0,H.jsx)(bE,{instanceId:this.instanceId,model:t,session:n,onRemoveAnswer:e=>this.onRemoveAnswer(e),disabled:i!==`gather`,showCorrect:e,selectedAnswer:this.state.selectedAnswer,onChoiceClick:this.onChoiceClick,onPlacementClick:this.onPlacementClick}),(0,H.jsx)(wE,{instanceId:this.instanceId,model:t,session:n,disabled:i!==`gather`,onRemoveAnswer:e=>this.onRemoveAnswer(e),selectedAnswer:this.state.selectedAnswer,onChoiceClick:this.onChoiceClick,onPlacementClick:this.onPlacementClick})]})}),t.correctness&&t.feedback&&!e&&(0,H.jsx)(OE,{correctness:t.correctness.correctness,feedback:t.feedback})]}),(0,H.jsx)(YS,{children:this.renderDragOverlay()})]})}};(class e extends CustomEvent{static{this.TYPE=`model-set`}constructor(t,n,r){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t,hasModel:r}}),this.component=t,this.complete=n}});var RE=class e extends CustomEvent{static{this.TYPE=`session-changed`}constructor(t,n){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t}}),this.component=t,this.complete=n}},zE=g(),BE=v(`pie-ui:graph-lines`),VE=(e,t)=>{if(!e)return!1;let n=e.value,r=!0;return n&&(t.config.prompts||[]).forEach(e=>{Number.isFinite(n[e.id])||(r=!1)}),r},HE=class extends HTMLElement{constructor(){super(),this._root=null}set model(e){this._model=e,this._render()}set session(e){this._session=e,this._render()}get session(){return this._session}sessionChanged(e){this._session.value=e.value,this.dispatchEvent(new RE(this.tagName.toLowerCase(),VE(this._session,this._model))),BE(`session: `,this._session),this._render()}connectedCallback(){this._render()}_render(){if(!this._model||!this._session)return;let e=V.createElement(LE,{model:this._model,session:this._session,onSessionChange:this.sessionChanged.bind(this)});this._root||=(0,zE.createRoot)(this),this._root.render(e),queueMicrotask(()=>{Tg(this)})}disconnectedCallback(){this._root&&=(this._root.unmount(),null)}};return typeof window<`u`&&!customElements.get(`match-list-element`)&&customElements.define(`match-list-element`,HE),HE})();