@pie-element/multi-trait-rubric 9.0.2 → 9.0.3-next.20261007075859
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Typography-7pyD6Kbe.js → Typography-DS4b6lEn.js} +1148 -1109
- package/dist/browser/Typography-DS4b6lEn.js.map +1 -0
- package/dist/browser/author/index.js +1 -1
- package/dist/browser/delivery/index.js +1 -1
- package/dist/browser/editor-runtime/{Typography-9Zm_a8OS.js → Typography-D2NV345W.js} +1667 -1628
- package/dist/browser/editor-runtime/Typography-D2NV345W.js.map +1 -0
- package/dist/browser/editor-runtime/author/index.js +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +1 -1
- package/dist/browser/editor-runtime/{mathjax-BKrHE4xs-DJZ7oXS7.js → mathjax-BKrHE4xs-_YANLrM-.js} +2 -2
- package/dist/browser/editor-runtime/{mathjax-BKrHE4xs-DJZ7oXS7.js.map → mathjax-BKrHE4xs-_YANLrM-.js.map} +1 -1
- package/dist/browser/{mathjax-BKrHE4xs-Bu6C_Knc.js → mathjax-BKrHE4xs-1154M3kI.js} +2 -2
- package/dist/browser/{mathjax-BKrHE4xs-Bu6C_Knc.js.map → mathjax-BKrHE4xs-1154M3kI.js.map} +1 -1
- package/dist/index.iife.js +36 -36
- package/package.json +12 -12
- package/dist/browser/Typography-7pyD6Kbe.js.map +0 -1
- package/dist/browser/editor-runtime/Typography-9Zm_a8OS.js.map +0 -1
package/dist/index.iife.js
CHANGED
|
@@ -44,42 +44,42 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
44
44
|
c3.4,0,6.6-1.6,8.7-4.2L24.7,22.1z`,fill:e}),(0,B.jsx)(`rect`,{x:`21.1`,y:`13.1`,width:`3.7`,height:`4.7`,fill:e}),(0,B.jsx)(`rect`,{x:`12.7`,y:`13.1`,width:`3.7`,height:`4.7`,fill:e})]});Po.propTypes={fill:b.string.isRequired};var Fo=({fill:e,x:t=0,y:n=0})=>(0,B.jsx)(`polygon`,{transform:`translate(${t}, ${n})`,points:`19.1,28.6 11.8,22.3 14.4,19.2 17.9,22.1 23.9,11.4 27.5,13.4`,fill:e});Fo.propTypes={fill:b.string.isRequired,x:b.number,y:b.number};var Io=No(Fo,Po);Io.propTypes={iconSet:b.oneOf([`emoji`,`check`]),shape:b.oneOf([`round`,`square`]),category:b.oneOf([`feedback`,void 0]),open:b.bool,fg:b.string,bg:b.string,size:b.oneOfType([b.string,b.number])},Io.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#4aaf46`,bg:`#f8ffe2`,size:30};var Lo=({fill:e})=>(0,B.jsxs)(`g`,{transform:`translate(0.5, 0.5)`,children:[(0,B.jsx)(`rect`,{x:`11`,y:`17.3`,transform:`matrix(0.7071 -0.7071 0.7071 0.7071 -7.852 19.2507)`,width:`16.6`,height:`3.7`,fill:e}),(0,B.jsx)(`rect`,{x:`17.4`,y:`10.7`,transform:`matrix(0.7071 -0.7071 0.7071 0.7071 -7.8175 19.209)`,width:`3.7`,height:`16.6`,fill:e})]});Lo.propTypes={fill:b.string.isRequired};var Ro=({fill:e})=>(0,B.jsxs)(`g`,{transform:`translate(1,0)`,children:[(0,B.jsx)(`rect`,{x:`21`,y:`12.9`,width:`3.7`,height:`4.7`,fill:e}),(0,B.jsx)(`rect`,{x:`12.7`,y:`12.9`,width:`3.7`,height:`4.7`,fill:e}),(0,B.jsx)(`rect`,{x:`12.2`,y:`22.5`,width:`13`,height:`3.3`,fill:e})]});Ro.propTypes={fill:b.string.isRequired};var zo=No(Lo,Ro);zo.propTypes={iconSet:b.oneOf([`emoji`,`check`]),shape:b.oneOf([`round`,`square`]),category:b.oneOf([`feedback`,void 0]),open:b.bool,fg:b.string,bg:b.string,size:b.oneOfType([b.string,b.number])},zo.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#fcb733`,bg:`#fbf2e3`,size:30};var Bo=({fill:e})=>(0,B.jsxs)(`g`,{children:[(0,B.jsx)(`rect`,{x:`19.3`,y:`10.3`,width:`4.5`,height:`12.7`,fill:e}),(0,B.jsx)(`rect`,{x:`19.3`,y:`26.2`,width:`4.5`,height:`4.5`,fill:e})]});Bo.propTypes={fill:b.string.isRequired};var Vo=({fill:e})=>(0,B.jsx)(`polygon`,{points:`14.8,4.5 5.6,13.8 5.6,27 14.8,36.5 28.1,36.5 37.6,27 37.6,13.8 28.1,4.5`,fill:e});Vo.propTypes={fill:b.string.isRequired};var Ho=({fill:e})=>(0,B.jsxs)(`g`,{children:[(0,B.jsx)(`rect`,{x:`23.8`,y:`15`,width:`3.5`,height:`4.4`,fill:e}),(0,B.jsx)(`rect`,{x:`16`,y:`15`,width:`3.5`,height:`4.4`,fill:e}),(0,B.jsx)(`path`,{d:`M24.2,27.1h-5.1c-0.8,0-1.5-0.7-1.5-1.5v0c0-0.8,0.7-1.5,1.5-1.5h5.1c0.8,0,1.5,0.7,1.5,1.5v0
|
|
45
45
|
C25.7,26.4,25,27.1,24.2,27.1z`,fill:e})]});Ho.propTypes={fill:b.string.isRequired};var Uo=class extends R.Component{constructor(e){super(e);let{fg:t=`#464146`,bg:n=`white`}=this.props;this.icons={check:(0,B.jsxs)(K,{children:[(0,B.jsx)(Vo,{fill:n}),(0,B.jsx)(Bo,{fill:t})]}),emoji:(0,B.jsxs)(K,{children:[(0,B.jsx)(Vo,{fill:n}),(0,B.jsx)(Ho,{fill:t})]}),feedback:{check:(0,B.jsxs)(K,{children:[(0,B.jsx)(Vo,{fill:n}),(0,B.jsx)(Ho,{fill:t})]}),emoji:(0,B.jsxs)(K,{children:[(0,B.jsx)(Vo,{fill:n}),(0,B.jsx)(Ho,{fill:t})]}),square:{check:(0,B.jsxs)(K,{children:[(0,B.jsx)(Vo,{fill:n}),(0,B.jsx)(Bo,{fill:t})]}),emoji:(0,B.jsxs)(K,{children:[(0,B.jsx)(Vo,{fill:n}),(0,B.jsx)(Ho,{fill:t})]}),open:{check:(0,B.jsx)(K,{children:(0,B.jsx)(Bo,{fill:n})}),emoji:(0,B.jsx)(K,{children:(0,B.jsx)(Ho,{fill:n})})}}}}}render(){let{iconSet:e,category:t,shape:n,open:r}=this.props;return t===void 0?this.icons[e]:n===void 0?this.icons.feedback[e]:r===!0?this.icons.feedback.square.open[e]:this.icons.feedback.square[e]}};Uo.propTypes={iconSet:b.oneOf([`emoji`,`check`,void 0]),shape:b.oneOf([`square`,void 0]),category:b.oneOf([`feedback`,void 0]),open:b.bool,fg:b.string,bg:b.string},Uo.defaultProps={iconSet:`check`,shape:void 0,category:void 0,open:!1,fg:`#464146`,bg:`white`};var Wo=({fill:e})=>(0,B.jsxs)(`g`,{transform:`translate(0, 0)`,children:[(0,B.jsx)(`polygon`,{points:`27.5,13.4 23.9,11.4 15.9,25.8 19.1,28.6`,fill:e}),(0,B.jsx)(`polygon`,{points:`16.2,20.6 14.4,19.2 11.8,22.3 14.1,24.3`,fill:e})]});Wo.propTypes={fill:b.string.isRequired};var Go=({fill:e})=>(0,B.jsxs)(`g`,{transform:`translate(2, 0)`,children:[(0,B.jsx)(`rect`,{x:`20.6`,y:`11.8`,width:`4`,height:`5`,fill:e}),(0,B.jsx)(`rect`,{x:`11.5`,y:`11.8`,width:`4`,height:`5`,fill:e}),(0,B.jsx)(`rect`,{x:`10.9`,y:`22.9`,transform:`matrix(0.9794 -0.2019 0.2019 0.9794 -4.6237 4.1559)`,width:`14.3`,height:`3.7`,fill:e})]});Go.propTypes={fill:b.string.isRequired};var Ko=No(Wo,Go);Ko.propTypes={iconSet:b.oneOf([`emoji`,`check`]),shape:b.oneOf([`round`,`square`]),category:b.oneOf([`feedback`,void 0]),open:b.bool,fg:b.string,bg:b.string,size:b.oneOfType([b.string,b.number])},Ko.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#4aaf46`,bg:`#c1e1ac`,size:30};function qo(e){return typeof e==`string`}function Jo(){return Mr}function Yo(e){return Ei(e)}function Xo(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}var Zo=Xo;function Qo(e){return e&&e.ownerDocument||document}var $o=Qo;function es(e){return Qo(e).defaultView||window}var ts=es,ns={};function rs(e,t){let n=R.useRef(ns);return n.current===ns&&(n.current=e(t)),n}var is=[];function as(e){R.useEffect(e,is)}var os=class e{static create(){return new e}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function ss(){let e=rs(os.create).current;return as(e.disposeEffect),e}function cs(e){return e?.ref||null}function ls(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function us(e,t){return us=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},us(e,t)}function ds(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,us(e,t)}function fs(e,t){return e.classList?!!t&&e.classList.contains(t):(` `+(e.className.baseVal||e.className)+` `).indexOf(` `+t+` `)!==-1}function ps(e,t){e.classList?e.classList.add(t):fs(e,t)||(typeof e.className==`string`?e.className=e.className+` `+t:e.setAttribute(`class`,(e.className&&e.className.baseVal||``)+` `+t))}function ms(e,t){return e.replace(RegExp(`(^|\\s)`+t+`(?:\\s|$)`,`g`),`$1`).replace(/\s+/g,` `).replace(/^\s*|\s*$/g,``)}function hs(e,t){e.classList?e.classList.remove(t):typeof e.className==`string`?e.className=ms(e.className,t):e.setAttribute(`class`,ms(e.className&&e.className.baseVal||``,t))}var gs={disabled:!1},_s=R.createContext(null),vs=function(e){return e.scrollTop},ys=l(h()),bs=`unmounted`,xs=`exited`,Ss=`entering`,Cs=`entered`,ws=`exiting`,Ts=function(e){ds(t,e);function t(t,n){var r=e.call(this,t,n)||this,i=n,a=i&&!i.isMounting?t.enter:t.appear,o;return r.appearStatus=null,t.in?a?(o=xs,r.appearStatus=Ss):o=Cs:o=t.unmountOnExit||t.mountOnEnter?bs:xs,r.state={status:o},r.nextCallback=null,r}t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===`unmounted`?{status:xs}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==`entering`&&n!==`entered`&&(t=Ss):(n===`entering`||n===`entered`)&&(t=ws)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t=n=r=e,n,r;return e!=null&&typeof e!=`number`&&(t=e.exit,n=e.enter,r=e.appear===void 0?n:e.appear),{exit:t,enter:n,appear:r}},n.updateStatus=function(e,t){if(e===void 0&&(e=!1),t!==null)if(this.cancelNextCallback(),t===`entering`){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:ys.findDOMNode(this);n&&vs(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===`exited`&&this.setState({status:bs})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[ys.findDOMNode(this),r],a=i[0],o=i[1],s=this.getTimeouts(),c=r?s.appear:s.enter;if(!e&&!n||gs.disabled){this.safeSetState({status:Cs},function(){t.props.onEntered(a)});return}this.props.onEnter(a,o),this.safeSetState({status:Ss},function(){t.props.onEntering(a,o),t.onTransitionEnd(c,function(){t.safeSetState({status:Cs},function(){t.props.onEntered(a,o)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:ys.findDOMNode(this);if(!t||gs.disabled){this.safeSetState({status:xs},function(){e.props.onExited(r)});return}this.props.onExit(r),this.safeSetState({status:ws},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:xs},function(){e.props.onExited(r)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:ys.findDOMNode(this),r=e==null&&!this.props.addEndListener;if(!n||r){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],o=i[1];this.props.addEndListener(a,o)}e!=null&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===`unmounted`)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=ls(t,[`children`,`in`,`mountOnEnter`,`unmountOnExit`,`appear`,`enter`,`exit`,`timeout`,`addEndListener`,`onEnter`,`onEntering`,`onEntered`,`onExit`,`onExiting`,`onExited`,`nodeRef`]);return R.createElement(_s.Provider,{value:null},typeof n==`function`?n(e,r):R.cloneElement(R.Children.only(n),r))},t}(R.Component);Ts.contextType=_s,Ts.propTypes={};function Es(){}Ts.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Es,onEntering:Es,onEntered:Es,onExit:Es,onExiting:Es,onExited:Es},Ts.UNMOUNTED=bs,Ts.EXITED=xs,Ts.ENTERING=Ss,Ts.ENTERED=Cs,Ts.EXITING=ws;var Ds=function(e,t){return e&&t&&t.split(` `).forEach(function(t){return ps(e,t)})},Os=function(e,t){return e&&t&&t.split(` `).forEach(function(t){return hs(e,t)})},ks=function(e){ds(t,e);function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return t=e.call.apply(e,[this].concat(r))||this,t.appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1];t.removeClasses(i,`exit`),t.addClass(i,a?`appear`:`enter`,`base`),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?`appear`:`enter`;t.addClass(i,a,`active`),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?`appear`:`enter`;t.removeClasses(i,a),t.addClass(i,a,`done`),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,`appear`),t.removeClasses(n,`enter`),t.addClass(n,`exit`,`base`),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,`exit`,`active`),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,`exit`),t.addClass(n,`exit`,`done`),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r=typeof n==`string`,i=r&&n?n+`-`:``,a=r?``+i+e:n[e];return{baseClassName:a,activeClassName:r?a+`-active`:n[e+`Active`],doneClassName:r?a+`-done`:n[e+`Done`]}},t}var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+`ClassName`],i=this.getClassNames(`enter`).doneClassName;t===`appear`&&n===`done`&&i&&(r+=` `+i),n===`active`&&e&&vs(e),r&&(this.appliedClasses[t][n]=r,Ds(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,a=n.done;this.appliedClasses[t]={},r&&Os(e,r),i&&Os(e,i),a&&Os(e,a)},n.render=function(){var e=this.props;e.classNames;var t=ls(e,[`classNames`]);return R.createElement(Ts,C({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(R.Component);ks.defaultProps={classNames:``},ks.propTypes={};function As(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function js(e,t){var n=function(e){return t&&(0,R.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&R.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function Ms(e,t){e||={},t||={};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var o,s={};for(var c in t){if(r[c])for(o=0;o<r[c].length;o++){var l=r[c][o];s[r[c][o]]=n(l)}s[c]=n(c)}for(o=0;o<i.length;o++)s[i[o]]=n(i[o]);return s}function Ns(e,t,n){return n[t]==null?e.props[t]:n[t]}function Ps(e,t){return js(e.children,function(n){return(0,R.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:Ns(n,`appear`,e),enter:Ns(n,`enter`,e),exit:Ns(n,`exit`,e)})})}function Fs(e,t,n){var r=js(e.children),i=Ms(t,r);return Object.keys(i).forEach(function(a){var o=i[a];if((0,R.isValidElement)(o)){var s=a in t,c=a in r,l=t[a],u=(0,R.isValidElement)(l)&&!l.props.in;c&&(!s||u)?i[a]=(0,R.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:Ns(o,`exit`,e),enter:Ns(o,`enter`,e)}):!c&&s&&!u?i[a]=(0,R.cloneElement)(o,{in:!1}):c&&s&&(0,R.isValidElement)(l)&&(i[a]=(0,R.cloneElement)(o,{onExited:n.bind(null,o),in:l.props.in,exit:Ns(o,`exit`,e),enter:Ns(o,`enter`,e)}))}}),i}var Is=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Ls={component:`div`,childFactory:function(e){return e}},Rs=function(e){ds(t,e);function t(t,n){var r=e.call(this,t,n)||this;return r.state={contextValue:{isMounting:!0},handleExited:r.handleExited.bind(As(r)),firstRender:!0},r}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?Ps(e,r):Fs(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=js(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=C({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=ls(e,[`component`,`childFactory`]),i=this.state.contextValue,a=Is(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,t===null?R.createElement(_s.Provider,{value:i},a):R.createElement(_s.Provider,{value:i},R.createElement(t,r,a))},t}(R.Component);Rs.propTypes={},Rs.defaultProps=Ls;var zs=e=>e.scrollTop;function Bs(e,t){return n=>{if(t){let r=e.current;n===void 0?t(r):t(r,n)}}}function Vs(e,t,n,r,i,a){let o=e===`exited`&&!t?r:n[e]||n.exited;return i||a?{...o,...i,...a}:o}function Hs(e,t){let{timeout:n,easing:r,style:i={}}=e;return{duration:i.transitionDuration??(typeof n==`number`?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r==`object`?r[t.mode]:r),delay:i.transitionDelay}}function Us(...e){let t=R.useRef(void 0),n=R.useCallback(t=>{let n=e.map(e=>{if(e==null)return null;if(typeof e==`function`){let n=e,r=n(t);return typeof r==`function`?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return R.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}var Ws=Us;function Gs(e){return`scale(${e}, ${e**2})`}var Ks={entering:{opacity:1,transform:Gs(1)},entered:{opacity:1,transform:`none`},exiting:{opacity:0,transform:Gs(.75)},exited:{opacity:0,transform:Gs(.75)}},qs={opacity:0,transform:Gs(.75),visibility:`hidden`},Js=R.forwardRef(function(e,t){let{addEndListener:n,appear:r=!0,children:i,easing:a,in:o,onEnter:s,onEntered:c,onEntering:l,onExit:u,onExited:d,onExiting:f,style:p,timeout:m=`auto`,...h}=e,g=ss(),_=R.useRef(),v=go(),y=R.useRef(null),b=Ws(y,cs(i),t),x=Bs(y,l),S=Bs(y,(e,t)=>{zs(e);let{duration:n,delay:r,easing:i}=Hs({style:p,timeout:m,easing:a},{mode:`enter`}),o;m===`auto`?(o=v.transitions.getAutoHeightDuration(e.clientHeight),_.current=o):o=n,e.style.transition=[v.transitions.create(`opacity`,{duration:o,delay:r}),v.transitions.create(`transform`,{duration:o*.666,delay:r,easing:i})].join(`,`),s&&s(e,t)}),C=Bs(y,c),w=Bs(y,f),T=Bs(y,e=>{let{duration:t,delay:n,easing:r}=Hs({style:p,timeout:m,easing:a},{mode:`exit`}),i;m===`auto`?(i=v.transitions.getAutoHeightDuration(e.clientHeight),_.current=i):i=t,e.style.transition=[v.transitions.create(`opacity`,{duration:i,delay:n}),v.transitions.create(`transform`,{duration:i*.666,delay:n||i*.333,easing:r})].join(`,`),e.style.opacity=0,e.style.transform=Gs(.75),u&&u(e)}),E=Bs(y,e=>{e.style.transition=``,d&&d(e)});return(0,B.jsx)(Ts,{appear:r,in:o,nodeRef:y,onEnter:S,onEntered:C,onEntering:x,onExit:T,onExited:E,onExiting:w,addEndListener:e=>{m===`auto`&&g.start(_.current||0,e),n&&n(y.current,e)},timeout:m===`auto`?null:m,...h,children:(e,{ownerState:t,...n})=>{let r=Vs(e,o,Ks,qs,p,i.props.style);return R.cloneElement(i,{style:r,ref:b,...n})}})});Js&&(Js.muiSupportAuto=!0);function Ys(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function Xs(e){let t=Qo(e);return t.body===e?es(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Zs(e,t){t?e.setAttribute(`aria-hidden`,`true`):e.removeAttribute(`aria-hidden`)}function Qs(e){return parseFloat(es(e).getComputedStyle(e).paddingRight)||0}function $s(e){let t=[`TEMPLATE`,`SCRIPT`,`STYLE`,`LINK`,`MAP`,`META`,`NOSCRIPT`,`PICTURE`,`COL`,`COLGROUP`,`PARAM`,`SLOT`,`SOURCE`,`TRACK`].includes(e.tagName),n=e.tagName===`INPUT`&&e.getAttribute(`type`)===`hidden`;return t||n}function ec(e,t,n,r,i){let a=[t,n,...r];[].forEach.call(e.children,e=>{let t=!a.includes(e),n=!$s(e);t&&n&&Zs(e,i)})}function tc(e,t){let n=-1;return e.some((e,r)=>t(e)?(n=r,!0):!1),n}function nc(e,t){let n=[],r=e.container;if(!t.disableScrollLock){if(Xs(r)){let e=Ys(es(r));n.push({value:r.style.paddingRight,property:`padding-right`,el:r}),r.style.paddingRight=`${Qs(r)+e}px`;let t=Qo(r).querySelectorAll(`.mui-fixed`);[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:`padding-right`,el:t}),t.style.paddingRight=`${Qs(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=Qo(r).body;else{let t=r.parentElement,n=es(r);e=t?.nodeName===`HTML`&&n.getComputedStyle(t).overflowY===`scroll`?t:r}n.push({value:e.style.overflow,property:`overflow`,el:e},{value:e.style.overflowX,property:`overflow-x`,el:e},{value:e.style.overflowY,property:`overflow-y`,el:e}),e.style.overflow=`hidden`}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}function rc(e){let t=[];return[].forEach.call(e.children,e=>{e.getAttribute(`aria-hidden`)===`true`&&t.push(e)}),t}var ic=class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(n!==-1)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Zs(e.modalRef,!1);let r=rc(t);ec(t,e.mount,e.modalRef,r,!0);let i=tc(this.containers,e=>e.container===t);return i===-1?(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n):(this.containers[i].modals.push(e),n)}mount(e,t){let n=tc(this.containers,t=>t.modals.includes(e)),r=this.containers[n];r.restore||=nc(r,t)}remove(e,t=!0){let n=this.modals.indexOf(e);if(n===-1)return n;let r=tc(this.containers,t=>t.modals.includes(e)),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),e.modalRef&&Zs(e.modalRef,t),ec(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{let e=i.modals[i.modals.length-1];e.modalRef&&Zs(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function ac(e,t){if(!e||!t)return!1;if(e.contains(t))return!0;let n=t.getRootNode?.();if(n&&n instanceof ShadowRoot){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode??n.host??null}}return!1}var oc=ac;function sc(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var cc=sc,lc=`data-mui-focusable`;function uc(e){return e?e.hasAttribute(`data-mui-focusable`)?e:e.querySelector(`[${lc}]`):null}var dc=[`input`,`select`,`textarea`,`a[href]`,`button`,`[tabindex]`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable="false"])`].join(`,`);function fc(e){let t=parseInt(e.getAttribute(`tabindex`)||``,10);return Number.isNaN(t)?e.contentEditable===`true`||(e.nodeName===`AUDIO`||e.nodeName===`VIDEO`||e.nodeName===`DETAILS`)&&e.getAttribute(`tabindex`)===null?0:e.tabIndex:t}function pc(e){if(e.tagName!==`INPUT`||e.type!==`radio`||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),n=t(`[name="${e.name}"]:checked`);return n||=t(`[name="${e.name}"]`),n!==e}function mc(e){return!(e.disabled||e.tagName===`INPUT`&&e.type===`hidden`||pc(e))}function hc(e){let t=[],n=[];return Array.from(e.querySelectorAll(dc)).forEach((e,r)=>{let i=fc(e);i===-1||!mc(e)||(i===0?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function gc(){return!0}function q(e){let{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=hc,isEnabled:o=gc,open:s}=e,c=R.useRef(!1),l=R.useRef(null),u=R.useRef(null),d=R.useRef(null),f=R.useRef(null),p=R.useRef(!1),m=R.useRef(null),h=Us(cs(t),m),g=R.useRef(null);R.useEffect(()=>{!s||!m.current||(p.current=!n)},[n,s]),R.useEffect(()=>{if(c.current=!1,!s||!m.current)return;let e=cc(Qo(m.current)),t=uc(m.current)??m.current;return oc(m.current,e)||(t.hasAttribute(`tabIndex`)||t.setAttribute(`tabIndex`,`-1`),p.current&&t.focus()),()=>{i||(d.current&&d.current.focus&&(c.current=!0,d.current.focus()),d.current=null)}},[s]),R.useEffect(()=>{if(!s||!m.current)return;let e=Qo(m.current),t=t=>{g.current=t,!(r||!o()||t.key!==`Tab`)&&cc(e)===m.current&&t.shiftKey&&(c.current=!0,u.current&&u.current.focus())},n=()=>{let t=m.current;if(t===null)return;let n=cc(e);if(!e.hasFocus()||!o()||c.current){c.current=!1;return}if(oc(t,n)||r&&n!==l.current&&n!==u.current)return;if(n!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let i=[];if((n===l.current||n===u.current)&&(i=a(m.current)),i.length>0){let e=!!(g.current?.shiftKey&&g.current?.key===`Tab`),t=i[0],n=i[i.length-1];typeof t!=`string`&&typeof n!=`string`&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener(`focusin`,n),e.addEventListener(`keydown`,t,!0);let i=setInterval(()=>{let t=cc(e);t&&t.tagName===`BODY`&&n()},50);return()=>{clearInterval(i),e.removeEventListener(`focusin`,n),e.removeEventListener(`keydown`,t,!0)}},[n,r,i,o,s,a]);let _=e=>{d.current===null&&(d.current=e.relatedTarget),p.current=!0,f.current=e.target;let n=t.props.onFocus;n&&n(e)},v=e=>{d.current===null&&(d.current=e.relatedTarget),p.current=!0};return(0,B.jsxs)(R.Fragment,{children:[(0,B.jsx)(`div`,{tabIndex:s?0:-1,onFocus:v,ref:l,"data-testid":`sentinelStart`}),R.cloneElement(t,{ref:h,onFocus:_}),(0,B.jsx)(`div`,{tabIndex:s?0:-1,onFocus:v,ref:u,"data-testid":`sentinelEnd`})]})}function _c(e,t){typeof e==`function`?e(t):e&&(e.current=t)}function vc(e){return typeof e==`function`?e():e}var yc=R.forwardRef(function(e,t){let{children:n,container:r,disablePortal:i=!1}=e,[a,o]=R.useState(null),s=Us(R.isValidElement(n)?cs(n):null,t);if(Qr(()=>{i||o(vc(r)||document.body)},[r,i]),Qr(()=>{if(a&&!i)return _c(t,a),()=>{_c(t,null)}},[t,a,i]),i){if(R.isValidElement(n)){let e={ref:s};return R.cloneElement(n,e)}return n}return a&&ys.createPortal(n,a)}),bc=Ii;function xc(e,t,n){return e===void 0||qo(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Sc(e,t,n){return typeof e==`function`?e(t,n):e}function Cc(e,t=[]){if(e===void 0)return{};let n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]==`function`&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}function wc(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]==`function`)).forEach(n=>{t[n]=e[n]}),t}function Tc(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=V(n?.className,a,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},o={...n,...i,...r};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=Cc({...i,...r}),s=wc(r),c=wc(i),l=t(o),u=V(l?.className,n?.className,a,i?.className,r?.className),d={...l?.style,...n?.style,...i?.style,...r?.style},f={...l,...n,...c,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:l.ref}}function Ec(e,t){let{className:n,elementType:r,ownerState:i,externalForwardedProps:a,internalForwardedProps:o,shouldForwardComponentProp:s=!1,...c}=t,{component:l,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=a,p=u[e]||r,m=Sc(d[e],i),{props:{component:h,...g},internalRef:_}=Tc({className:n,...c,externalForwardedProps:e===`root`?f:void 0,externalSlotProps:m}),v=Us(_,m?.ref,t.ref),y=e===`root`?h||l:h;return[p,xc(p,{...e===`root`&&!l&&!u[e]&&o,...e!==`root`&&!u[e]&&o,...g,...y&&!s&&{as:y},...y&&s&&{component:y},ref:v},i)]}var Dc={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},Oc={opacity:0,visibility:`hidden`},kc=R.forwardRef(function(e,t){let n=go(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:o,easing:s,in:c,onEnter:l,onEntered:u,onEntering:d,onExit:f,onExited:p,onExiting:m,style:h,timeout:g=r,..._}=e,v=R.useRef(null),y=Ws(v,cs(o),t),b=Bs(v,d),x=Bs(v,(e,t)=>{zs(e);let r=Hs({style:h,timeout:g,easing:s},{mode:`enter`});e.style.transition=n.transitions.create(`opacity`,r),l&&l(e,t)}),S=Bs(v,u),C=Bs(v,m),w=Bs(v,e=>{let t=Hs({style:h,timeout:g,easing:s},{mode:`exit`});e.style.transition=n.transitions.create(`opacity`,t),f&&f(e)}),T=Bs(v,e=>{e.style.transition=``,p&&p(e)});return(0,B.jsx)(Ts,{appear:a,in:c,nodeRef:v,onEnter:x,onEntered:S,onEntering:b,onExit:w,onExited:T,onExiting:C,addEndListener:e=>{i&&i(v.current,e)},timeout:g,..._,children:(e,{ownerState:t,...n})=>{let r=Vs(e,c,Dc,Oc,h,o.props.style);return R.cloneElement(o,{style:r,ref:y,...n})}})});function Ac(e){return Lr(`MuiBackdrop`,e)}Rr(`MuiBackdrop`,[`root`,`invisible`]);var jc=e=>{let{classes:t,invisible:n}=e;return ra({root:[`root`,n&&`invisible`]},Ac,t)},Mc=G(`div`,{name:`MuiBackdrop`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:`fixed`,display:`flex`,alignItems:`center`,justifyContent:`center`,right:0,bottom:0,top:0,left:0,backgroundColor:`rgba(0, 0, 0, 0.5)`,WebkitTapHighlightColor:`transparent`,variants:[{props:{invisible:!0},style:{backgroundColor:`transparent`}}]}),Nc=R.forwardRef(function(e,t){let n=Yo({props:e,name:`MuiBackdrop`}),{children:r,className:i,component:a=`div`,invisible:o=!1,open:s,components:c={},componentsProps:l={},slotProps:u={},slots:d={},TransitionComponent:f,transitionDuration:p,...m}=n,h={...n,component:a,invisible:o},g=jc(h),_={component:a,slots:{transition:f,root:c.Root,...d},slotProps:{...l,...u}},[v,y]=Ec(`root`,{elementType:Mc,externalForwardedProps:_,className:V(g.root,i),ownerState:h}),[b,x]=Ec(`transition`,{elementType:kc,externalForwardedProps:_,ownerState:h});return(0,B.jsx)(b,{in:s,timeout:p,...m,...x,children:(0,B.jsx)(v,{"aria-hidden":!0,...y,ref:t,children:r})})});function Pc(e){let t=R.useRef(e);return Qr(()=>{t.current=e}),R.useRef((...e)=>(0,t.current)(...e)).current}function Fc(...e){return e.reduce((e,t)=>t==null?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function Ic(e){return typeof e==`function`?e():e}function Lc(e){return e?e.props.hasOwnProperty(`in`):!1}var Rc=()=>{},zc=new ic;function Bc(e){let{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:o,children:s,onClose:c,open:l,rootRef:u}=e,d=R.useRef({}),f=R.useRef(null),p=R.useRef(null),m=Us(p,u),[h,g]=R.useState(!l),_=Lc(s),v=!0;(e[`aria-hidden`]===`false`||e[`aria-hidden`]===!1)&&(v=!1);let y=()=>Qo(f.current),b=()=>(d.current.modalRef=p.current,d.current.mount=f.current,d.current),x=()=>{zc.mount(b(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},S=Pc(()=>{let e=Ic(t)||y().body;zc.add(b(),e),p.current&&x()}),C=()=>zc.isTopModal(b()),w=Pc(e=>{f.current=e,e&&(l&&C()?x():p.current&&Zs(p.current,v))}),T=R.useCallback(()=>{zc.remove(b(),v)},[v]);R.useEffect(()=>()=>{T()},[T]),R.useEffect(()=>{l?S():(!_||!i)&&T()},[l,T,_,i,S]);let E=e=>t=>{e.onKeyDown?.(t),!(t.key!==`Escape`||t.which===229||!C())&&(n||(t.stopPropagation(),c&&c(t,`escapeKeyDown`)))},D=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&c&&c(t,`backdropClick`)};return{getRootProps:(t={})=>{let n=Cc(e);delete n.onTransitionEnter,delete n.onTransitionExited;let r={...n,...t};return{role:`presentation`,...r,onKeyDown:E(r),ref:m}},getBackdropProps:(e={})=>{let t=e;return{"aria-hidden":!0,...t,onClick:D(t),open:l}},getTransitionProps:()=>({onEnter:Fc(()=>{g(!1),a&&a()},s?.props.onEnter??Rc),onExited:Fc(()=>{g(!0),o&&o(),i&&T()},s?.props.onExited??Rc)}),rootRef:m,portalRef:w,isTopModal:C,exited:h,hasTransition:_}}function Vc(e){return Lr(`MuiModal`,e)}Rr(`MuiModal`,[`root`,`hidden`,`backdrop`]);var Hc=e=>{let{open:t,exited:n,classes:r}=e;return ra({root:[`root`,!t&&n&&`hidden`],backdrop:[`backdrop`]},Vc,r)},Uc=G(`div`,{name:`MuiModal`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(bc(({theme:e})=>({position:`fixed`,zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:`hidden`}}]}))),Wc=G(Nc,{name:`MuiModal`,slot:`Backdrop`})({zIndex:-1}),Gc=R.forwardRef(function(e,t){let n=Yo({name:`MuiModal`,props:e}),{BackdropComponent:r=Wc,BackdropProps:i,classes:a,className:o,closeAfterTransition:s=!1,children:c,container:l,component:u,components:d={},componentsProps:f={},disableAutoFocus:p=!1,disableEnforceFocus:m=!1,disableEscapeKeyDown:h=!1,disablePortal:g=!1,disableRestoreFocus:_=!1,disableScrollLock:v=!1,hideBackdrop:y=!1,keepMounted:b=!1,onClose:x,onTransitionEnter:S,onTransitionExited:C,open:w,slotProps:T={},slots:E={},theme:D,...ee}=n,O={...n,closeAfterTransition:s,disableAutoFocus:p,disableEnforceFocus:m,disableEscapeKeyDown:h,disablePortal:g,disableRestoreFocus:_,disableScrollLock:v,hideBackdrop:y,keepMounted:b},{getRootProps:te,getBackdropProps:k,getTransitionProps:A,portalRef:ne,isTopModal:j,exited:re,hasTransition:ie}=Bc({...O,rootRef:t}),ae={...O,exited:re},oe=Hc(ae),M={};if(c.props.tabIndex===void 0&&(M.tabIndex=`-1`),ie){let{onEnter:e,onExited:t}=A();M.onEnter=e,M.onExited=t}let N={slots:{root:d.Root,backdrop:d.Backdrop,...E},slotProps:{...f,...T}},[se,P]=Ec(`root`,{ref:t,elementType:Uc,externalForwardedProps:{...N,...ee,component:u},getSlotProps:te,ownerState:ae,className:V(o,oe?.root,!ae.open&&ae.exited&&oe?.hidden)}),[ce,le]=Ec(`backdrop`,{ref:i?.ref,elementType:r,externalForwardedProps:N,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:e=>k({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:V(i?.className,oe?.backdrop),ownerState:ae});return!b&&!w&&(!ie||re)?null:(0,B.jsx)(yc,{ref:ne,container:l,disablePortal:g,children:(0,B.jsxs)(se,{...P,children:[!y&&r?(0,B.jsx)(ce,{...le}):null,(0,B.jsx)(q,{disableEnforceFocus:m,disableAutoFocus:p,disableRestoreFocus:_,isEnabled:j,open:w,children:R.cloneElement(c,M)})]})})});function J(e){return Lr(`MuiPaper`,e)}Rr(`MuiPaper`,`root.rounded.outlined.elevation.elevation0.elevation1.elevation2.elevation3.elevation4.elevation5.elevation6.elevation7.elevation8.elevation9.elevation10.elevation11.elevation12.elevation13.elevation14.elevation15.elevation16.elevation17.elevation18.elevation19.elevation20.elevation21.elevation22.elevation23.elevation24`.split(`.`));var Kc=e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return ra({root:[`root`,r,!t&&`rounded`,r===`elevation`&&`elevation${n}`]},J,i)},qc=G(`div`,{name:`MuiPaper`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant===`elevation`&&t[`elevation${n.elevation}`]]}})(bc(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create(`box-shadow`),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:`outlined`},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:`elevation`},style:{boxShadow:`var(--Paper-shadow)`,backgroundImage:`var(--Paper-overlay)`}}]}))),Jc=R.forwardRef(function(e,t){let n=Yo({props:e,name:`MuiPaper`}),r=go(),{className:i,component:a=`div`,elevation:o=1,square:s=!1,variant:c=`elevation`,...l}=n,u={...n,component:a,elevation:o,square:s,variant:c},d=Kc(u);return(0,B.jsx)(qc,{as:a,ownerState:u,className:V(d.root,i),ref:t,...l,style:{...c===`elevation`&&{"--Paper-shadow":(r.vars||r).shadows[o],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[o]},...!r.vars&&r.palette.mode===`dark`&&{"--Paper-overlay":`linear-gradient(${li(`#fff`,Xa(o))}, ${li(`#fff`,Xa(o))})`}},...l.style}})});function Yc(e){return Lr(`MuiPopover`,e)}Rr(`MuiPopover`,[`root`,`paper`]);var Y=Cn;function Xc(e){return Lr(`MuiSvgIcon`,e)}Rr(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var Zc=e=>{let{color:t,fontSize:n,classes:r}=e;return ra({root:[`root`,t!==`inherit`&&`color${Y(t)}`,`fontSize${Y(n)}`]},Xc,r)},Qc=G(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${Y(n.color)}`],t[`fontSize${Y(n.fontSize)}`]]}})(bc(({theme:e})=>({userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,flexShrink:0,transition:e.transitions?.create?.(`fill`,{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:`currentColor`}},{props:{fontSize:`inherit`},style:{fontSize:`inherit`}},{props:{fontSize:`small`},style:{fontSize:e.typography?.pxToRem?.(20)||`1.25rem`}},{props:{fontSize:`medium`},style:{fontSize:e.typography?.pxToRem?.(24)||`1.5rem`}},{props:{fontSize:`large`},style:{fontSize:e.typography?.pxToRem?.(35)||`2.1875rem`}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:`action`},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:`disabled`},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:`inherit`},style:{color:void 0}}]}))),$c=R.forwardRef(function(e,t){let n=Yo({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:l=!1,titleAccess:u,viewBox:d=`0 0 24 24`,...f}=n,p=R.isValidElement(r)&&r.type===`svg`,m={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:l,viewBox:d,hasSvgAsChild:p},h={};l||(h.viewBox=d);let g=Zc(m);return(0,B.jsxs)(Qc,{as:o,className:V(g.root,i),focusable:`false`,color:c,"aria-hidden":!u||void 0,role:u?`img`:void 0,ref:t,...h,...f,...p&&r.props,ownerState:m,children:[p?r.props.children:r,u?(0,B.jsx)(`title`,{children:u}):null]})});$c.muiName=`SvgIcon`;function el(e,t){function n(t,n){return(0,B.jsx)($c,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=$c.muiName,R.memo(R.forwardRef(n))}var tl=ia,nl=Qr,rl=Ai,il=Pc;function al(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}function ol(e,t){if(!e)return t;function n(e,t){let n={};return Object.keys(t).forEach(r=>{al(r,t[r])&&typeof e[r]==`function`&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if(typeof e==`function`||typeof t==`function`)return r=>{let i=typeof t==`function`?t(r):t,a=typeof e==`function`?e({...r,...i}):e,o=V(r?.className,i?.className,a?.className),s=n(a,i);return{...i,...a,...s,...!!o&&{className:o},...i?.style&&a?.style&&{style:{...i.style,...a.style}},...i?.sx&&a?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]}}};let r=t,i=n(e,r),a=V(r?.className,e?.className);return{...t,...e,...i,...!!a&&{className:a},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function sl(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.height/2:t===`bottom`&&(n=e.height),n}function cl(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.width/2:t===`right`&&(n=e.width),n}function ll(e){return[e.horizontal,e.vertical].map(e=>typeof e==`number`?`${e}px`:e).join(` `)}function ul(e){return typeof e==`function`?e():e}var dl=e=>{let{classes:t}=e;return ra({root:[`root`],paper:[`paper`]},Yc,t)},fl=G(Gc,{name:`MuiPopover`,slot:`Root`})({}),pl=G(Jc,{name:`MuiPopover`,slot:`Paper`})({position:`absolute`,overflowY:`auto`,overflowX:`hidden`,minWidth:16,minHeight:16,maxWidth:`calc(100% - 32px)`,maxHeight:`calc(100% - 32px)`,outline:0}),ml=R.forwardRef(function(e,t){let n=Yo({props:e,name:`MuiPopover`}),{action:r,anchorEl:i,anchorOrigin:a={vertical:`top`,horizontal:`left`},anchorPosition:o,anchorReference:s=`anchorEl`,children:c,className:l,container:u,elevation:d=8,marginThreshold:f=16,open:p,PaperProps:m={},slots:h={},slotProps:g={},transformOrigin:_={vertical:`top`,horizontal:`left`},TransitionComponent:v,transitionDuration:y=`auto`,TransitionProps:b={},disableScrollLock:x=!1,...S}=n,C=R.useRef(),w={...n,anchorOrigin:a,anchorReference:s,elevation:d,marginThreshold:f,transformOrigin:_,TransitionComponent:v,transitionDuration:y,TransitionProps:b},T=dl(w),E=R.useCallback(()=>{if(s===`anchorPosition`)return o;let e=ul(i),t=(e&&e.nodeType===1?e:$o(C.current).body).getBoundingClientRect();return{top:t.top+sl(t,a.vertical),left:t.left+cl(t,a.horizontal)}},[i,a.horizontal,a.vertical,o,s]),D=R.useCallback(e=>({vertical:sl(e,_.vertical),horizontal:cl(e,_.horizontal)}),[_.horizontal,_.vertical]),ee=R.useCallback(e=>{let t={width:e.offsetWidth,height:e.offsetHeight},n=D(t);if(s===`none`)return{top:null,left:null,transformOrigin:ll(n)};let r=E(),a=r.top-n.vertical,o=r.left-n.horizontal,c=a+t.height,l=o+t.width,u=ts(ul(i)),d=u.innerHeight-f,p=u.innerWidth-f;if(f!==null&&a<f){let e=a-f;a-=e,n.vertical+=e}else if(f!==null&&c>d){let e=c-d;a-=e,n.vertical+=e}if(f!==null&&o<f){let e=o-f;o-=e,n.horizontal+=e}else if(l>p){let e=l-p;o-=e,n.horizontal+=e}return{top:`${Math.round(a)}px`,left:`${Math.round(o)}px`,transformOrigin:ll(n)}},[i,s,E,D,f]),[O,te]=R.useState(p),k=R.useCallback(()=>{let e=C.current;if(!e)return;let t=ee(e);t.top!==null&&e.style.setProperty(`top`,t.top),t.left!==null&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,te(!0)},[ee]);R.useEffect(()=>(x&&window.addEventListener(`scroll`,k),()=>window.removeEventListener(`scroll`,k)),[i,x,k]);let A=()=>{k()},ne=()=>{te(!1)};R.useEffect(()=>{p&&k()}),R.useImperativeHandle(r,()=>p?{updatePosition:()=>{k()}}:null,[p,k]),R.useEffect(()=>{if(!p)return;let e=Zo(()=>{k()}),t=ts(ul(i));return t.addEventListener(`resize`,e),()=>{e.clear(),t.removeEventListener(`resize`,e)}},[i,p,k]);let j=y,re={slots:{transition:v,...h},slotProps:{transition:b,paper:m,...g}},[ie,ae]=Ec(`transition`,{elementType:Js,externalForwardedProps:re,ownerState:w,getSlotProps:e=>({...e,onEntering:(t,n)=>{e.onEntering?.(t,n),A()},onExited:t=>{e.onExited?.(t),ne()}}),additionalProps:{appear:!0,in:p}});y===`auto`&&!ie.muiSupportAuto&&(j=void 0);let oe=u||(i?$o(ul(i)).body:void 0),[M,{slots:N,slotProps:se,...P}]=Ec(`root`,{ref:t,elementType:fl,externalForwardedProps:{...re,...S},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:h.backdrop},slotProps:{backdrop:ol(typeof g.backdrop==`function`?g.backdrop(w):g.backdrop,{invisible:!0})},container:oe,open:p},ownerState:w,className:V(T.root,l)}),[ce,le]=Ec(`paper`,{ref:C,className:T.paper,elementType:pl,externalForwardedProps:re,shouldForwardComponentProp:!0,additionalProps:{elevation:d,style:O?void 0:{opacity:0}},ownerState:w});return(0,B.jsx)(M,{...P,...!qo(M)&&{slots:N,slotProps:se,disableScrollLock:x},children:(0,B.jsx)(ie,{...ae,timeout:j,children:(0,B.jsx)(ce,{...le,children:c})})})});function hl(e,t){this.v=e,this.k=t}function gl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function _l(e){if(Array.isArray(e))return e}function vl(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function yl(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
46
46
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bl(e,t){return _l(e)||vl(e,t)||xl(e,t)||yl()}function xl(e,t){if(e){if(typeof e==`string`)return gl(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gl(e,t):void 0}}function Sl(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,s=o instanceof hl;Promise.resolve(s?o.v:o).then(function(n){if(s){var c=t===`return`&&o.k?t:`next`;if(!o.k||n.done)return r(c,n);n=e[c](n).value}i(!!a.done,n)},function(e){r(`throw`,e)})}catch(e){i(2,e)}}function i(e,i){e===2?t.reject(i):t.resolve({value:i,done:e}),(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(a,o){var s={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=s:(t=n=s,r(e,i))})},typeof e.return!=`function`&&(this.return=void 0)}Sl.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},Sl.prototype.next=function(e){return this._invoke(`next`,e)},Sl.prototype.throw=function(e){return this._invoke(`throw`,e)},Sl.prototype.return=function(e){return this._invoke(`return`,e)};var Cl=Object.entries,wl=Object.setPrototypeOf,Tl=Object.isFrozen,El=Object.getPrototypeOf,Dl=Object.getOwnPropertyDescriptor,Ol=Object.freeze,kl=Object.seal,Al=Object.create,jl=typeof Reflect<`u`&&Reflect,Ml=jl.apply,Nl=jl.construct;Ol||=function(e){return e},kl||=function(e){return e},Ml||=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)},Nl||=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)};var Pl=eu(Array.prototype.forEach);Array.prototype.indexOf;var Fl=eu(Array.prototype.lastIndexOf),Il=eu(Array.prototype.pop),Ll=eu(Array.prototype.push);Array.prototype.slice;var Rl=eu(Array.prototype.splice),zl=Array.isArray,Bl=eu(String.prototype.toLowerCase),Vl=eu(String.prototype.toString),Hl=eu(String.prototype.match),Ul=eu(String.prototype.replace),Wl=eu(String.prototype.indexOf),Gl=eu(String.prototype.trim),Kl=eu(Number.prototype.toString),ql=eu(Boolean.prototype.toString),Jl=typeof BigInt>`u`?null:eu(BigInt.prototype.toString),Yl=typeof Symbol>`u`?null:eu(Symbol.prototype.toString),Xl=eu(Object.prototype.hasOwnProperty),Zl=eu(Object.prototype.toString),Ql=eu(RegExp.prototype.test),$l=tu(TypeError);function eu(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Ml(e,t,r)}}function tu(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return Nl(e,n)}}function X(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Bl;if(wl&&wl(e,null),!zl(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(Tl(t)||(t[r]=e),i=e)}e[i]=!0}return e}function nu(e){for(let t=0;t<e.length;t++)Xl(e,t)||(e[t]=null);return e}function ru(e){let t=Al(null);for(let r of Cl(e)){var n=bl(r,2);let i=n[0],a=n[1];Xl(e,i)&&(zl(a)?t[i]=nu(a):a&&typeof a==`object`&&a.constructor===Object?t[i]=ru(a):t[i]=a)}return t}function iu(e){switch(typeof e){case`string`:return e;case`number`:return Kl(e);case`boolean`:return ql(e);case`bigint`:return Jl?Jl(e):`0`;case`symbol`:return Yl?Yl(e):`Symbol()`;case`undefined`:return Zl(e);case`function`:case`object`:{if(e===null)return Zl(e);let t=e,n=au(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:Zl(e)}return Zl(e)}default:return Zl(e)}}function au(e,t){for(;e!==null;){let n=Dl(e,t);if(n){if(n.get)return eu(n.get);if(typeof n.value==`function`)return eu(n.value)}e=El(e)}function n(){return null}return n}function ou(e){try{return Ql(e,``),!0}catch{return!1}}var su=Ol(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),cu=Ol(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),lu=Ol([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),uu=Ol([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),du=Ol(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),fu=Ol([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),pu=Ol([`#text`]),mu=Ol(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),hu=Ol(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),gu=Ol(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),_u=Ol([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),vu=kl(/{{[\w\W]*|^[\w\W]*}}/g),yu=kl(/<%[\w\W]*|^[\w\W]*%>/g),bu=kl(/\${[\w\W]*/g),xu=kl(/^data-[\-\w.\u00B7-\uFFFF]+$/),Su=kl(/^aria-[\-\w]+$/),Cu=kl(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),wu=kl(/^(?:\w+script|data):/i),Tu=kl(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Eu=kl(/^html$/i),Du=kl(/^[a-z][.\w]*(-[.\w]+)+$/i),Ou=kl(/<[/\w!]/g),ku=kl(/<[/\w]/g),Au=kl(/<\/no(script|embed|frames)/i),ju=kl(/\/>/i),Mu={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Nu=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`],Pu=Ol(X({},Nu)),Fu=function(){let e={};return Pl(Nu,t=>{e[t]=kl(RegExp(`</`+t+`(?=[\\t\\n\\f\\r />])`,`i`))}),Ol(e)}(),Iu=function(){return typeof window>`u`?null:window},Lu=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},Ru=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},zu=function(e,t,n,r){return Xl(e,t)&&zl(e[t])?X(r.base?ru(r.base):{},e[t],r.transform):n},Bu=function(e,t,n){let r=Xl(e,t)?e[t]:void 0;return r&&typeof r==`object`?ru(r):n()};function Vu(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Iu(),t=e=>Vu(e);if(t.version=`3.4.16`,t.removed=[],!e||!e.document||e.document.nodeType!==Mu.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=au(d,`cloneNode`),p=au(d,`remove`),m=au(d,`removeAttributeNode`),h=au(d,`nextSibling`),g=au(d,`childNodes`),_=au(d,`parentNode`),v=au(d,`shadowRoot`),y=au(d,`attributes`),b=o&&o.prototype?au(o.prototype,`nodeType`):null,x=o&&o.prototype?au(o.prototype,`nodeName`):null,S=o&&o.prototype?au(o.prototype,`ownerDocument`):null,C=function(e){return b?b(e):e.nodeType},w=function(e){return x?x(e):e.nodeName};if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let T,E=``,D,ee=!1,O=0,te=function(){if(O>0)throw $l(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},k=function(e){te(),O++;try{return T.createHTML(e)}finally{O--}},A=function(e){te(),O++;try{return T.createScriptURL(e)}finally{O--}},ne=function(){return ee||=(D=Lu(u,i),!0),D},j=n,re=j.implementation,ie=j.createNodeIterator,ae=j.createDocumentFragment,oe=j.getElementsByTagName,M=r.importNode,N=Ru();t.isSupported=typeof Cl==`function`&&typeof _==`function`&&re&&re.createHTMLDocument!==void 0;let se=vu,P=yu,ce=bu,le=xu,ue=Su,de=wu,fe=Tu,pe=Du,me=Cu,F=null,he=X({},[...su,...cu,...lu,...du,...pu]),I=null,ge=X({},[...mu,...hu,...gu,..._u]),L=Object.seal(Al(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),_e=null,ve=null,ye=Object.seal(Al(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),be=!0,xe=!0,Se=!1,Ce=!0,we=!1,Te=!0,Ee=!1,De=!1,Oe=null,ke=null,Ae=!1,je=!1,Me=!1,Ne=!1,Pe=!0,Fe=!1,Ie=`user-content-`,Le=!0,Re=!1,ze={},Be=null,Ve=X({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),He=null,Ue=X({},[`audio`,`video`,`img`,`source`,`image`,`track`]),We=null,Ge=X({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Ke=`http://www.w3.org/1998/Math/MathML`,qe=`http://www.w3.org/2000/svg`,Je=`http://www.w3.org/1999/xhtml`,Ye=Je,Xe=!1,Ze=null,Qe=X({},[Ke,qe,Je],Vl),$e=Ol([`mi`,`mo`,`mn`,`ms`,`mtext`]),et=X({},$e),tt=Ol([`annotation-xml`]),nt=X({},tt),rt=X({},[`title`,`style`,`font`,`a`,`script`]),it=null,at=[`application/xhtml+xml`,`text/html`],ot=null,st=null,ct=n.createElement(`form`),lt=function(e){return e instanceof RegExp||e instanceof Function},ut=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(st&&st===e)return;(!e||typeof e!=`object`)&&(e={}),e=ru(e),it=at.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,ot=it===`application/xhtml+xml`?Vl:Bl,F=zu(e,`ALLOWED_TAGS`,he,{transform:ot}),I=zu(e,`ALLOWED_ATTR`,ge,{transform:ot}),Ze=zu(e,`ALLOWED_NAMESPACES`,Qe,{transform:Vl}),We=zu(e,`ADD_URI_SAFE_ATTR`,Ge,{transform:ot,base:Ge}),He=zu(e,`ADD_DATA_URI_TAGS`,Ue,{transform:ot,base:Ue}),Be=zu(e,`FORBID_CONTENTS`,Ve,{transform:ot}),_e=zu(e,`FORBID_TAGS`,ru({}),{transform:ot}),ve=zu(e,`FORBID_ATTR`,ru({}),{transform:ot}),ze=Xl(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?ru(e.USE_PROFILES):e.USE_PROFILES:!1,be=e.ALLOW_ARIA_ATTR!==!1,xe=e.ALLOW_DATA_ATTR!==!1,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,we=e.SAFE_FOR_TEMPLATES||!1,Te=e.SAFE_FOR_XML!==!1,Ee=e.WHOLE_DOCUMENT||!1,je=e.RETURN_DOM||!1,Me=e.RETURN_DOM_FRAGMENT||!1,Ne=e.RETURN_TRUSTED_TYPE||!1,Ae=e.FORCE_BODY||!1,Pe=e.SANITIZE_DOM!==!1,Fe=e.SANITIZE_NAMED_PROPS||!1,Le=e.KEEP_CONTENT!==!1,Re=e.IN_PLACE||!1,me=ou(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Cu,Ye=typeof e.NAMESPACE==`string`?e.NAMESPACE:Je,et=Bu(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>X({},$e)),nt=Bu(e,`HTML_INTEGRATION_POINTS`,()=>X({},tt));let t=Bu(e,`CUSTOM_ELEMENT_HANDLING`,()=>Al(null));if(L=Al(null),Xl(t,`tagNameCheck`)&<(t.tagNameCheck)&&(L.tagNameCheck=t.tagNameCheck),Xl(t,`attributeNameCheck`)&<(t.attributeNameCheck)&&(L.attributeNameCheck=t.attributeNameCheck),Xl(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(L.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),kl(L),we&&(xe=!1),Me&&(je=!0),ze&&(F=X({},pu),I=Al(null),ze.html===!0&&(X(F,su),X(I,mu)),ze.svg===!0&&(X(F,cu),X(I,hu),X(I,_u)),ze.svgFilters===!0&&(X(F,lu),X(I,hu),X(I,_u)),ze.mathMl===!0&&(X(F,du),X(I,gu),X(I,_u))),ye.tagCheck=null,ye.attributeCheck=null,Xl(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?ye.tagCheck=e.ADD_TAGS:zl(e.ADD_TAGS)&&(F===he&&(F=ru(F)),X(F,e.ADD_TAGS,ot))),Xl(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?ye.attributeCheck=e.ADD_ATTR:zl(e.ADD_ATTR)&&(I===ge&&(I=ru(I)),X(I,e.ADD_ATTR,ot))),Xl(e,`ADD_FORBID_CONTENTS`)&&zl(e.ADD_FORBID_CONTENTS)&&(Be===Ve&&(Be=ru(Be)),X(Be,e.ADD_FORBID_CONTENTS,ot)),Le&&(F[`#text`]=!0),Ee&&X(F,[`html`,`head`,`body`]),F.table&&(X(F,[`tbody`]),delete _e.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw $l(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw $l(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=T;T=e.TRUSTED_TYPES_POLICY;try{E=k(``)}catch(e){throw T=t,e}}else e.TRUSTED_TYPES_POLICY===null?(T=void 0,E=``):(T===void 0&&(T=ne()),T&&typeof E==`string`&&(E=k(``)));Ol&&Ol(e),st=e},dt=X({},[...cu,...lu,...uu]),ft=X({},[...du,...fu]),pt=function(e,t,n){return t.namespaceURI===Je?e===`svg`:t.namespaceURI===Ke?e===`svg`&&(n===`annotation-xml`||et[n]):!!dt[e]},mt=function(e,t,n){return t.namespaceURI===Je?e===`math`:t.namespaceURI===qe?e===`math`&&nt[n]:!!ft[e]},ht=function(e,t,n){return t.namespaceURI===qe&&!nt[n]||t.namespaceURI===Ke&&!et[n]?!1:!ft[e]&&(rt[e]||!dt[e])},gt=function(e){let t=_(e);(!t||!t.tagName)&&(t={namespaceURI:Ye,tagName:`template`});let n=Bl(e.tagName),r=Bl(t.tagName);return Ze[e.namespaceURI]?e.namespaceURI===qe?pt(n,t,r):e.namespaceURI===Ke?mt(n,t,r):e.namespaceURI===Je?ht(n,t,r):!!(it===`application/xhtml+xml`&&Ze[e.namespaceURI]):!1},_t=function(e){Ll(t.removed,{element:e});try{_(e).removeChild(e)}catch{if(p(e),!_(e))throw $l(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},vt=function(e,t,n){try{m(e,t)}catch{try{e.removeAttribute(n)}catch{}}},R=function(e){xt(e);let t=g(e);if(t){let e=[];Pl(t,t=>{Ll(e,t)}),Pl(e,e=>{try{p(e)}catch{}})}let n=y(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;typeof i==`string`&&vt(e,r,i)}},yt=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}Ll(t.removed,{attribute:r||null,from:n});try{r?m(n,r):n.removeAttribute(e)}catch{try{n.removeAttribute(e)}catch{}}if(e===`is`)if(je||Me)try{_t(n)}catch{}else try{n.setAttribute(e,``)}catch{}},bt=function(e){let t=y(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;typeof i!=`string`||I[ot(i)]||vt(e,r,i)}},xt=function(e){let t=[e];for(;t.length>0;){let e=t.pop();C(e)===Mu.element&&bt(e);let n=g(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},St=function(e,t){return Te?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},Ct=function(e){if(!Te)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=C(e);if(n===Mu.processingInstruction||n===Mu.comment&&Ql(ku,e.data)){try{p(e)}catch{}continue}if(n===Mu.element){let t=e,n=ot(w(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&St(`for`,n)&&t.removeAttribute(`for`)}catch{}}let r=g(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},wt=function(e){let t=null,r=null;if(Ae)e=`<remove></remove>`+e;else{let t=Hl(e,/^[\r\n\t ]+/);r=t&&t[0]}it===`application/xhtml+xml`&&Ye===Je&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=T?k(e):e;if(Ye===Je)try{t=new l().parseFromString(i,it)}catch{}if(!t||!t.documentElement){t=re.createDocument(Ye,`template`,null);try{t.documentElement.innerHTML=Xe?E:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Ye===Je?oe.call(t,Ee?`html`:`body`)[0]:Ee?t.documentElement:a},Tt=function(e){let t=S?S(e):e.ownerDocument;return ie.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Et=function(e){return e=Ul(e,se,` `),e=Ul(e,P,` `),e=Ul(e,ce,` `),e},Dt=function(e){e.normalize();let t=S?S(e):e.ownerDocument,n=ie.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=Et(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&Pl(i,e=>{kt(e.content)&&Dt(e.content)})},Ot=function(e){let t=x?x(e):null;return typeof t!=`string`||ot(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==y(e)||typeof e.removeAttribute!=`function`||typeof e.removeAttributeNode!=`function`||typeof e.getAttributeNode!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==b(e)||e.childNodes!==g(e)},kt=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return b(e)===Mu.documentFragment}catch{return!1}},At=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return typeof b(e)==`number`}catch{return!1}};function jt(e,n,r){e.length!==0&&Pl(e,e=>{e.call(t,n,r,st)})}let Mt=function(e,t){return!!(Te&&e.hasChildNodes()&&!At(e.firstElementChild)&&Ql(Ou,e.textContent)&&Ql(Ou,e.innerHTML)||Te&&e.namespaceURI===Je&&Pu[t]&&(At(e.firstElementChild)||typeof e.textContent==`string`&&Ql(Fu[t],e.textContent))||e.nodeType===Mu.processingInstruction||Te&&e.nodeType===Mu.comment&&Ql(ku,e.data))},Nt=function(e,t){if(e instanceof RegExp)return Ql(e,t);if(e instanceof Function){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return!!e(t,...r)}return!1},Pt=function(e,t,n){if(!_e[t]&&Bt(t)&&Nt(L.tagNameCheck,t))return!1;if(Le&&!Be[t]){let t=_(e),r=g(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,h(e))}}}return _t(e),!0},Ft=function(e,t,n,r){return e.length===0?t:t===n||t===r?ru(t):t},It=function(e,t){return e===t||_(e)!==null?!1:(Re&&xt(e),!0)},Lt=function(e,n){if(jt(N.beforeSanitizeElements,e,null),It(e,n))return!0;if(Ot(e))return _t(e),!0;let r=ot(w(e));if(F=Ft(N.uponSanitizeElement,F,he,Oe),jt(N.uponSanitizeElement,e,{tagName:r,allowedTags:F}),It(e,n))return!0;if(Mt(e,r))return _t(e),!0;if(_e[r]||!(ye.tagCheck instanceof Function&&ye.tagCheck(r))&&!F[r]){let t=Pt(e,r,n);return t===!1&&(jt(N.afterSanitizeElements,e,null),It(e,n))?!0:t}if(C(e)===Mu.element&&!gt(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&Ql(Au,e.innerHTML))return _t(e),!0;if(we&&e.nodeType===Mu.text){let n=Et(e.textContent);e.textContent!==n&&(Ll(t.removed,{element:e.cloneNode()}),e.textContent=n)}return jt(N.afterSanitizeElements,e,null),It(e,n)},Rt=function(e,t,r){if(ve[t]||St(t,e)||Pe&&(t===`id`||t===`name`)&&(r in n||r in ct))return!1;let i=I[t]||ye.attributeCheck instanceof Function&&ye.attributeCheck(t,e);return xe&&Ql(le,t)||be&&Ql(ue,t)?!0:i?We[t]||Ql(me,Ul(r,fe,``))||(t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&Wl(r,`data:`)===0&&He[e]||Se&&!Ql(de,Ul(r,fe,``))?!0:!r:Bt(e)&&Nt(L.tagNameCheck,e)&&Nt(L.attributeNameCheck,t,e)||t===`is`&&L.allowCustomizedBuiltInElements&&Nt(L.tagNameCheck,r)},zt=X({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Bt=function(e){return!zt[Bl(e)]&&Ql(pe,e)},Vt=function(e,t,n,r){if(T&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return k(r);case`TrustedScriptURL`:return A(r)}return r},Ht=function(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),Ot(e)?(_t(e),!1):!0}catch{return yt(t,e),!1}},z=function(e,n){if(jt(N.beforeSanitizeAttributes,e,null),It(e,n))return;let r=e.attributes;if(!r||Ot(e))return;I=Ft(N.uponSanitizeAttribute,I,ge,ke);let i={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:I,forceKeepAttr:void 0},a=r.length,o=ot(e.nodeName);for(;a--;){let n=r[a],s=n.name,c=n.namespaceURI,l=n.value,u=ot(s),d=l,f=s===`value`?d:Gl(d),p=!1;if(i.attrName=u,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,jt(N.uponSanitizeAttribute,e,i),f=i.attrValue,Fe&&(u===`id`||u===`name`)&&Wl(f,Ie)!==0&&(yt(s,e,n),f=Ie+f,p=!0),Te&&Ql(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){yt(s,e,n);continue}if(u===`attributename`&&Hl(f,`href`)){yt(s,e,n);continue}if(!i.forceKeepAttr){if(!i.keepAttr){yt(s,e,n);continue}if(!Ce&&Ql(ju,f)){yt(s,e,n);continue}if(we&&(f=Et(f)),!Rt(o,u,f)){yt(s,e,n);continue}f=Vt(o,u,c,f),f!==d&&Ht(e,s,c,f)&&p&&Il(t.removed)}}jt(N.afterSanitizeAttributes,e,null),It(e,n)},Ut=function(e){let t=null,n=Tt(e);for(jt(N.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(jt(N.uponSanitizeShadowNode,t,null),Lt(t,e),z(t,e),kt(t.content)&&Ut(t.content),C(t)===Mu.element){let e=v(t);kt(e)&&(Wt(e),Ut(e))}jt(N.afterSanitizeShadowDOM,e,null)},Wt=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Ut(e.shadow);continue}let n=e.node,r=C(n)===Mu.element,i=g(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=x?x(n):null;if(typeof e==`string`&&ot(e)===`template`){let e=n.content;kt(e)&&t.push({node:e,shadow:null})}}if(r){let e=v(n);kt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(Xe=!e,Xe&&(e=`<!-->`),typeof e!=`string`&&!At(e)&&(e=iu(e),typeof e!=`string`))throw $l(`dirty is not a string, aborting`);if(!t.isSupported)return e;De?(F=Oe,I=ke):ut(n),(N.uponSanitizeElement.length>0||N.uponSanitizeAttribute.length>0)&&(F=ru(F)),N.uponSanitizeAttribute.length>0&&(I=ru(I)),t.removed=[];let c=Re&&typeof e!=`string`&&At(e);if(c){Ct(e);let t=w(e);if(typeof t==`string`){let n=ot(t);if(!F[n]||_e[n])throw R(e),$l(`root node is forbidden and cannot be sanitized in-place`)}if(Ot(e))throw R(e),$l(`root node is clobbered and cannot be sanitized in-place`);try{Wt(e)}catch(t){throw R(e),t}}else if(At(e))i=wt(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===Mu.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Wt(i);else{if(!je&&!we&&!Ee&&e.indexOf(`<`)===-1)return T&&Ne?k(e):e;if(i=wt(e),!i)return je?null:Ne?E:``}i&&Ae&&_t(i.firstChild);let l=c?e:i;try{let e=Tt(l);for(;o=e.nextNode();)Lt(o,l),z(o,l),kt(o.content)&&Ut(o.content)}catch(n){throw c&&(R(e),Pl(t.removed,e=>{e.element&&xt(e.element)})),n}if(c){let n=!1;if(Pl(t.removed,t=>{t.element&&(t.element===e&&(n=!0),xt(t.element))}),n)throw $l(`a node selected for removal could not be safely returned; refusing to sanitize in place`);return we&&Dt(e),e}if(je){if(we&&Dt(i),Me)for(s=ae.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(I.shadowroot||I.shadowrootmode)&&(s=M.call(r,s,!0)),s}let u=Ee?i.outerHTML:i.innerHTML;return Ee&&F[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&Ql(Eu,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
|
|
47
|
-
`+u),we&&(u=Et(u)),T&&Ne?k(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ut(e),De=!0,Oe=F,ke=I},t.clearConfig=function(){st=null,De=!1,Oe=null,ke=null,T=D,E=``},t.isValidAttribute=function(e,t,n){st||ut({});let r=ot(e),i=ot(t);return Rt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&Xl(N,e)&&Ll(N[e],t)},t.removeHook=function(e,t){if(Xl(N,e)){if(t!==void 0){let n=Fl(N[e],t);return n===-1?void 0:Rl(N[e],n,1)[0]}return Il(N[e])}},t.removeHooks=function(e){Xl(N,e)&&(N[e]=[])},t.removeAllHooks=function(){N=Ru()},t}var Hu=Vu(),Uu=[`script`,`embed`,`base`,`form`,`meta`,`link`,`style`,`foreignobject`],Wu=[`onerror`,`onload`,`onclick`,`onmouseover`,`onmouseout`,`onmouseenter`,`onmouseleave`,`onfocus`,`onblur`,`onkeydown`,`onkeyup`,`onkeypress`,`onsubmit`,`onchange`,`onbeforeunload`,`formaction`,`xlink:href`],Gu=new Set([`iframe`,`object`,`semantics`,`annotation`,`none`]),Ku=/^[a-z_][\w.-]*:[a-z][\w.-]*$/,qu={ADD_TAGS:e=>Gu.has(e)||Ku.test(e),ADD_ATTR:[`alignment`,`target`,`allow`,`allowfullscreen`,`frameborder`,`scrolling`,`data`],FORBID_TAGS:Uu,FORBID_ATTR:Wu,ALLOW_UNKNOWN_PROTOCOLS:!1,RETURN_TRUSTED_TYPE:!1},Ju=1e6,Yu=new Map,Xu=0;function Zu(e){if(e==null||e===``||!Hu.isSupported)return``;let t=typeof e==`string`?e:String(e),n=Yu.get(t);if(n!==void 0)return n;let r=String(Hu.sanitize(t,qu)),i=t.length+r.length;if(i>Ju)return r;for(let[e,t]of Yu){if(Xu+i<=Ju)break;Yu.delete(e),Xu-=e.length+t.length}return Yu.set(t,r),Xu+=i,r}var Qu={50:`#fce4ec`,100:`#f8bbd0`,200:`#f48fb1`,300:`#f06292`,400:`#ec407a`,500:`#e91e63`,600:`#d81b60`,700:`#c2185b`,800:`#ad1457`,900:`#880e4f`,A100:`#ff80ab`,A200:`#ff4081`,A400:`#f50057`,A700:`#c51162`},$u={50:`#e8eaf6`,100:`#c5cae9`,200:`#9fa8da`,300:`#7986cb`,400:`#5c6bc0`,500:`#3f51b5`,600:`#3949ab`,700:`#303f9f`,800:`#283593`,900:`#1a237e`,A100:`#8c9eff`,A200:`#536dfe`,A400:`#3d5afe`,A700:`#304ffe`},ed=s({background:()=>wd,backgroundDark:()=>Td,black:()=>Rd,blueGrey100:()=>Jd,blueGrey300:()=>Yd,blueGrey600:()=>Xd,blueGrey900:()=>Zd,border:()=>jd,borderDark:()=>Nd,borderGray:()=>Pd,borderLight:()=>Md,buttonBorder:()=>lf,buttonFocusOutline:()=>Gd,buttonHoverBg:()=>uf,correct:()=>od,correctSecondary:()=>sd,correctTertiary:()=>cd,correctWithIcon:()=>ld,defaults:()=>Z,disabled:()=>rd,disabledSecondary:()=>id,disabledText:()=>ad,dropdownBackground:()=>Dd,editorToolbar:()=>cf,fadedPrimary:()=>yd,focusChecked:()=>Vd,focusCheckedBorder:()=>Hd,focusOutline:()=>Kd,focusUnchecked:()=>Ud,focusUncheckedBorder:()=>Wd,incorrect:()=>ud,incorrectSecondary:()=>fd,incorrectWithIcon:()=>dd,keyBoardFocusIndicator:()=>qd,keypadButton:()=>ef,keypadButtonHover:()=>rf,keypadButtonOperator:()=>tf,keypadButtonOperatorHover:()=>af,keypadEmptyPlaceholder:()=>nf,keypadInk:()=>sf,missing:()=>pd,missingWithIcon:()=>md,primary:()=>hd,primaryDark:()=>_d,primaryLight:()=>gd,primaryText:()=>vd,secondary:()=>bd,secondaryBackground:()=>Ed,secondaryDark:()=>Sd,secondaryLight:()=>xd,secondaryText:()=>Cd,surface:()=>Od,tableGrid:()=>Fd,tableGridLight:()=>Id,tableStripe:()=>Ld,tertiary:()=>kd,tertiaryLight:()=>Ad,text:()=>nd,transparent:()=>Bd,v:()=>td,visualElementsColors:()=>df,white:()=>zd}),Z={TEXT:`black`,DISABLED:`grey`,DISABLED_SECONDARY:`#ABABAB`,DISABLED_TEXT:`#545454`,CORRECT:`#208537`,CORRECT_SECONDARY:fa[50],CORRECT_TERTIARY:`#0EA449`,CORRECT_WITH_ICON:`#087D38`,INCORRECT:`#a65f00`,INCORRECT_SECONDARY:ca[50],INCORRECT_WITH_ICON:`#BF0D00`,MISSING:ca[700],MISSING_WITH_ICON:`#6A78A1`,PRIMARY:$u[500],PRIMARY_LIGHT:$u[200],PRIMARY_DARK:$u[800],SECONDARY:Qu.A400,SECONDARY_LIGHT:Qu[200],SECONDARY_DARK:Qu[900],TERTIARY:`#146EB3`,TERTIARY_LIGHT:`#D0E2F0`,BACKGROUND:`rgba(255,255,255,0)`,BACKGROUND_DARK:`#ECEDF1`,DROPDOWN_BACKGROUND:`#E0E1E6`,SECONDARY_BACKGROUND:`rgba(241,241,241,1)`,SURFACE:`#EBECF1`,BORDER:`#9A9A9A`,BORDER_LIGHT:`#D1D1D1`,BORDER_DARK:`#66686A`,BORDER_GRAY:`#7E8494`,TABLE_GRID:`black`,TABLE_GRID_LIGHT:`#dfe2e5`,TABLE_STRIPE:`#f6f8fa`,BLACK:`#000000`,WHITE:`#ffffff`,TRANSPARENT:`transparent`,FOCUS_CHECKED:`#BBDEFB`,FOCUS_CHECKED_BORDER:`#1565C0`,FOCUS_UNCHECKED:`#E0E0E0`,FOCUS_UNCHECKED_BORDER:`#757575`,BUTTON_FOCUS_OUTLINE:`#3B82F6`,BLUE_GREY100:`#F3F5F7`,BLUE_GREY300:`#81848F`,BLUE_GREY600:`#7E8494`,BLUE_GREY900:`#152452`,FADED_PRIMARY:`#DCDAFB`,KEYPAD_BUTTON:`rgb(188, 194, 229)`,KEYPAD_BUTTON_OPERATOR:`rgb(255, 159, 192)`,KEYPAD_EMPTY_PLACEHOLDER:`rgba(245, 0, 87, 0.4)`,KEYPAD_BUTTON_HOVER:`rgb(214, 218, 239)`,KEYPAD_BUTTON_OPERATOR_HOVER:`rgb(255, 197, 217)`,EDITOR_TOOLBAR:`#efefef`,BUTTON_BORDER:`rgba(0, 0, 0, 0.23)`,BUTTON_HOVER_BG:`rgba(0, 0, 0, 0.08)`};Object.freeze(Z);var td=e=>(...t)=>{let n=t.pop();return t.reduceRight((t,n)=>`var(--${e}-${n}, ${t})`,n)},Q=td(`pie`),nd=()=>Q(`text`,Z.TEXT),rd=()=>Q(`disabled`,Z.DISABLED),id=()=>Q(`disabled-secondary`,Z.DISABLED_SECONDARY),ad=()=>Q(`disabled-text`,`text`,Z.DISABLED_TEXT),od=()=>Q(`correct`,Z.CORRECT),sd=()=>Q(`correct-secondary`,Z.CORRECT_SECONDARY),cd=()=>Q(`correct-tertiary`,Z.CORRECT_TERTIARY),ld=()=>Q(`correct-icon`,Z.CORRECT_WITH_ICON),ud=()=>Q(`incorrect`,Z.INCORRECT),dd=()=>Q(`incorrect-icon`,Z.INCORRECT_WITH_ICON),fd=()=>Q(`incorrect-secondary`,Z.INCORRECT_SECONDARY),pd=()=>Q(`missing`,Z.MISSING),md=()=>Q(`missing-icon`,Z.MISSING_WITH_ICON),hd=()=>Q(`primary`,Z.PRIMARY),gd=()=>Q(`primary-light`,Z.PRIMARY_LIGHT),_d=()=>Q(`primary-dark`,Z.PRIMARY_DARK),vd=()=>Q(`primary-text`,`text`,Z.TEXT),yd=()=>Q(`faded-primary`,Z.FADED_PRIMARY),bd=()=>Q(`secondary`,Z.SECONDARY),xd=()=>Q(`secondary-light`,Z.SECONDARY_LIGHT),Sd=()=>Q(`secondary-dark`,Z.SECONDARY_DARK),Cd=()=>Q(`secondary-text`,`text`,Z.TEXT),wd=()=>Q(`background`,Z.BACKGROUND),Td=()=>Q(`background-dark`,Z.BACKGROUND_DARK),Ed=()=>Q(`secondary-background`,Z.SECONDARY_BACKGROUND),Dd=()=>Q(`dropdown-background`,Z.DROPDOWN_BACKGROUND),Od=()=>Q(`surface`,Z.SURFACE),kd=()=>Q(`tertiary`,Z.TERTIARY),Ad=()=>Q(`tertiary-light`,Z.TERTIARY_LIGHT),jd=()=>Q(`border`,Z.BORDER),Md=()=>Q(`border-light`,Z.BORDER_LIGHT),Nd=()=>Q(`border-dark`,Z.BORDER_DARK),Pd=()=>Q(`border-gray`,Z.BORDER_GRAY),Fd=()=>Q(`table-grid`,`text`,Z.TABLE_GRID),Id=()=>Q(`table-grid-light`,`border-light`,Z.TABLE_GRID_LIGHT),Ld=()=>Q(`table-stripe`,`background-dark`,Z.TABLE_STRIPE),Rd=()=>Q(`black`,Z.BLACK),zd=()=>Q(`white`,Z.WHITE),Bd=()=>Z.TRANSPARENT,Vd=()=>Q(`focus-checked`,Z.FOCUS_CHECKED),Hd=()=>Q(`focus-checked-border`,Z.FOCUS_CHECKED_BORDER),Ud=()=>Q(`focus-unchecked`,Z.FOCUS_UNCHECKED),Wd=()=>Q(`focus-unchecked-border`,Z.FOCUS_UNCHECKED_BORDER),Gd=()=>Q(`button-focus-outline`,Z.BUTTON_FOCUS_OUTLINE),Kd=()=>Q(`focus-outline`,`button-focus-outline`,`focus-checked-border`,Z.FOCUS_CHECKED_BORDER),qd=Kd,Jd=()=>Q(`blue-grey-100`,Z.BLUE_GREY100),Yd=()=>Q(`blue-grey-300`,Z.BLUE_GREY300),Xd=()=>Q(`blue-grey-600`,Z.BLUE_GREY600),Zd=()=>Q(`blue-grey-900`,Z.BLUE_GREY900),Qd=e=>{let t=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e);return t?t.slice(1).map(e=>parseInt(e,16)):e.match(/\d+/g).slice(0,3).map(Number)},$d=(e,t)=>`color-mix(in srgb, rgb(${Qd(e).map(e=>(e-255*(1-t))/t).join(` `)}) ${t*100}%, ${Q(`background`,Z.WHITE)})`,ef=()=>Q(`keypad-button`,$d(Z.KEYPAD_BUTTON,.5)),tf=()=>Q(`keypad-button-operator`,$d(Z.KEYPAD_BUTTON_OPERATOR,.5)),nf=()=>Q(`keypad-empty-placeholder`,Z.KEYPAD_EMPTY_PLACEHOLDER),rf=()=>Q(`keypad-button-hover`,$d(Z.KEYPAD_BUTTON_HOVER,.25)),af=()=>Q(`keypad-button-operator-hover`,$d(Z.KEYPAD_BUTTON_OPERATOR_HOVER,.25)),of=`clamp(0.6, (r + g + b) / 450, 1)`,sf=()=>`rgb(from ${nd()} calc(r * ${of}) calc(g * ${of}) calc(b * ${of}))`,cf=()=>$d(Z.EDITOR_TOOLBAR,.125),lf=()=>Q(`button-border`,Z.BUTTON_BORDER),uf=()=>Q(`button-hover-bg`,Z.BUTTON_HOVER_BG),df={AXIS_LINE_COLOR:`#5A53C9`,ROLLOVER_FILL_BAR_COLOR:`#050F2D`,GRIDLINES_COLOR:`#8E88EA`,PLOT_FILL_COLOR:`#1463B3`,SHAPES_FILL_COLOR:`#7986cb`},ff=G(`div`)({transformOrigin:`0% 0px 0px`,width:`100%`,display:`block`,overflow:`hidden`,"&.incorrect":{color:`#946202`}}),pf=G(`div`)({WebkitFontSmoothing:`antialiased`,backgroundColor:`var(--feedback-bg-color, ${Td()})`,borderRadius:`4px`,lineHeight:`25px`,margin:`0px`,padding:`10px`,verticalAlign:`middle`,color:`var(--feedback-color, ${nd()})`,"&.correct":{backgroundColor:`var(--feedback-correct-bg-color, ${sd()})`},"&.incorrect":{backgroundColor:`var(--feedback-incorrect-bg-color, ${fd()})`}}),mf=G(`div`)({"&.feedback-enter":{height:`1px`},"&.feedback-enter-active":{height:`45px`,transition:`height 500ms`},"&.feedback-exit":{height:`45px`},"&.feedback-exit-active":{height:`1px`,transition:`height 200ms`}}),hf=class extends R.Component{static propTypes={correctness:b.string,feedback:b.string};nodeRef=R.createRef();renderFeedback(){let{correctness:e,feedback:t}=this.props;return!e||!t?null:(0,B.jsx)(ks,{nodeRef:this.nodeRef,timeout:{enter:500,exit:200},classNames:`feedback`,children:(0,B.jsx)(mf,{ref:this.nodeRef,children:(0,B.jsx)(ff,{children:(0,B.jsx)(pf,{className:e,dangerouslySetInnerHTML:{__html:Zu(t)}})})})},`hasFeedback`)}render(){return(0,B.jsx)(`div`,{children:(0,B.jsx)(Rs,{children:this.renderFeedback()})})}},gf=()=>{};function _f(){let e=function(){};return e.enabled=!1,e.log=gf,e.extend=()=>e,e.destroy=gf,e}_f.log=gf,_f.enable=gf,_f.disable=()=>``,_f.enabled=()=>!1;var vf=s({Correct:()=>wf,Incorrect:()=>Tf,NothingSubmitted:()=>Df,PartiallyCorrect:()=>Ef}),yf=_f(`pie-libs:render-ui:response-indicators`),bf=G(`div`)(({hasFeedback:e})=>({cursor:e?`pointer`:`default`})),xf=G(ml)({cursor:`pointer`}),Sf=G(`div`)({padding:`0`,borderRadius:`4px`}),Cf=(e,t)=>{class n extends R.Component{constructor(e){super(e),this.state={}}handlePopoverOpen=e=>{yf(`[handlePopoverOpen]`,e.target),this.setState({anchorEl:e.target})};handlePopoverClose=()=>{this.setState({anchorEl:null})};render(){let{feedback:n}=this.props,{anchorEl:r}=this.state;return(0,B.jsxs)(bf,{hasFeedback:!!n,children:[(0,B.jsx)(`span`,{ref:e=>this.icon=e,onClick:this.handlePopoverOpen,children:(0,B.jsx)(e,{})}),n&&(0,B.jsx)(xf,{PaperComponent:Sf,open:!!r,anchorEl:r,anchorOrigin:{vertical:`bottom`,horizontal:`left`},transformOrigin:{vertical:`top`,horizontal:`left`},onClose:this.handlePopoverClose,children:(0,B.jsx)(hf,{feedback:n,correctness:t})})]})}}return n.propTypes={feedback:b.string},n},wf=Cf(Io,`correct`),Tf=Cf(zo,`incorrect`),Ef=Cf(Ko,`partially-correct`),Df=Cf(Uo,`nothing-submitted`);function Of(e){return Lr(`MuiCollapse`,e)}Rr(`MuiCollapse`,[`root`,`horizontal`,`vertical`,`entered`,`hidden`,`wrapper`,`wrapperInner`]);var kf=e=>{let{orientation:t,classes:n}=e;return ra({root:[`root`,t],entered:[`entered`],hidden:[`hidden`],wrapper:[`wrapper`,t],wrapperInner:[`wrapperInner`,t]},Of,n)},Af=G(`div`,{name:`MuiCollapse`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.orientation],n.state===`entered`&&t.entered,n.state===`exited`&&!n.in&&n.collapsedSize===`0px`&&t.hidden]}})(bc(({theme:e})=>({height:0,overflow:`hidden`,transition:e.transitions.create(`height`),variants:[{props:{orientation:`horizontal`},style:{height:`auto`,width:0,transition:e.transitions.create(`width`)}},{props:{state:`entered`},style:{height:`auto`,overflow:`visible`}},{props:{state:`entered`,orientation:`horizontal`},style:{width:`auto`}},{props:({ownerState:e})=>e.state===`exited`&&!e.in&&e.collapsedSize===`0px`,style:{visibility:`hidden`}}]}))),jf=G(`div`,{name:`MuiCollapse`,slot:`Wrapper`})({display:`flex`,width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),Mf=G(`div`,{name:`MuiCollapse`,slot:`WrapperInner`})({width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),Nf=R.forwardRef(function(e,t){let n=Yo({props:e,name:`MuiCollapse`}),{addEndListener:r,children:i,className:a,collapsedSize:o=`0px`,component:s,easing:c,in:l,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:m,onExiting:h,orientation:g=`vertical`,slots:_={},slotProps:v={},style:y,timeout:b=za.standard,TransitionComponent:x=Ts,...S}=n,C={...n,orientation:g,collapsedSize:o},w=kf(C),T=go(),E=ss(),D=R.useRef(null),ee=R.useRef(),O=typeof o==`number`?`${o}px`:o,te=g===`horizontal`,k=te?`width`:`height`,A=R.useRef(null),ne=Ws(t,A),j=()=>D.current?D.current[te?`clientWidth`:`clientHeight`]:0,re=Bs(A,(e,t)=>{D.current&&te&&(D.current.style.position=`absolute`),e.style[k]=O,u&&u(e,t)}),ie=Bs(A,(e,t)=>{let n=j();D.current&&te&&(D.current.style.position=``);let{duration:r,easing:i}=Hs({style:y,timeout:b,easing:c},{mode:`enter`});if(b===`auto`){let t=T.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,ee.current=t}else e.style.transitionDuration=typeof r==`string`?r:`${r}ms`;e.style[k]=`${n}px`,e.style.transitionTimingFunction=i,f&&f(e,t)}),ae=Bs(A,(e,t)=>{e.style[k]=`auto`,d&&d(e,t)}),oe=Bs(A,e=>{e.style[k]=`${j()}px`,p&&p(e)}),M=Bs(A,m),N=Bs(A,e=>{let t=j(),{duration:n,easing:r}=Hs({style:y,timeout:b,easing:c},{mode:`exit`});if(b===`auto`){let n=T.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,ee.current=n}else e.style.transitionDuration=typeof n==`string`?n:`${n}ms`;e.style[k]=O,e.style.transitionTimingFunction=r,h&&h(e)}),se=e=>{b===`auto`&&E.start(ee.current||0,e),r&&r(A.current,e)},P={slots:_,slotProps:v,component:s},[ce,le]=Ec(`root`,{ref:ne,className:V(w.root,a),elementType:Af,externalForwardedProps:P,ownerState:C,additionalProps:{style:{[te?`minWidth`:`minHeight`]:O,...y}}}),[ue,de]=Ec(`wrapper`,{ref:D,className:w.wrapper,elementType:jf,externalForwardedProps:P,ownerState:C}),[fe,pe]=Ec(`wrapperInner`,{className:w.wrapperInner,elementType:Mf,externalForwardedProps:P,ownerState:C});return(0,B.jsx)(x,{in:l,onEnter:re,onEntered:ae,onEntering:ie,onExit:oe,onExited:M,onExiting:N,addEndListener:se,nodeRef:A,timeout:b===`auto`?null:b,...S,children:(e,{ownerState:t,...n})=>{let r={...C,state:e};return(0,B.jsx)(ce,{...le,className:V(le.className,{entered:w.entered,exited:!l&&O===`0px`&&w.hidden}[e]),ownerState:r,...n,children:(0,B.jsx)(ue,{...de,ownerState:r,children:(0,B.jsx)(fe,{...pe,ownerState:r,children:i})})})}})});Nf&&(Nf.muiSupportAuto=!0);var Pf=`4.1.3`,Ff=`https://github.com/pie-framework/pie-elements-ng/blob/develop/docs/MATH-RENDERING.md#assets`,If=`@pie-lib/math-rendering@2`,Lf=[`nemeth`,`euro`],Rf=`mathjax@${Pf}/sre`,zf=/^[^@]+@[^@]+$/;function Bf(e){if(!e)return;let t;try{t=new URL(e)}catch{return}if(t.origin===`null`)return;let n=t.pathname.split(`/`);for(let e=n.length-1;e>0;e--){let r=n[e];if(r===`node_modules`)return;if(!zf.test(r))continue;let i=n[e-1]?.startsWith(`@`)?e-1:e;return t.origin+n.slice(0,i).join(`/`)}}function Vf(){let e=globalThis[If]?.opts;return e&&typeof e==`object`?e:{}}function Hf(e){if(typeof e!=`string`||!e)return;let t=typeof document>`u`?void 0:document.baseURI;try{return new URL(e,t).href.replace(/\/+$/,``)}catch{return}}function Uf(e){if(!e||typeof e!=`object`)return;let t=new Map;for(let[n,r]of Object.entries(e)){let e=Hf(r);e&&t.set(n,e)}return t.size?t:void 0}function Wf(e){if(Array.isArray(e))return new Map(e.filter(e=>typeof e==`string`).map(e=>[e,void 0]));if(e&&typeof e==`object`)return new Map(Object.entries(e).map(([e,t])=>[e,typeof t==`string`?t:void 0]))}function Gf(e,t){let n=Vf(),r=Hf(e.assetRoot??n.assetRoot)??Bf(t);return{root:r,speechPath:Hf(e.speechPath??n.speechPath)??(r?`${r}/${Rf}`:void 0),speechLocales:Wf(e.speechLocales??n.speechLocales),urls:Uf(e.assetUrls??n.assetUrls)}}function Kf(e,t){if(!(!e||!t)){for(let n of[...e.keys()])!t.has(n)&&!Lf.includes(n)&&e.delete(n);for(let[n,r]of t)(r||!e.has(n))&&e.set(n,r??n)}}function qf(e){if(!(!e||e.has(`en`)))return[...e.keys()].find(e=>!Lf.includes(e))}var Jf=`pie-mathjax-no-asset-root`,Yf={untypeset:`no MathJax loads, so math stays untypeset`,"no-web-fonts":`math renders without web fonts`,"no-web-fonts-or-speech":`math renders without web fonts and speech`},Xf=Symbol.for(`@pie-element/shared-math-rendering-mathjax/no-assets`);function Zf(e){let t=globalThis;t[Xf]??=[];let n=t[Xf];if(n.includes(e))return;n.push(e);let r=`[math-rendering] No asset root for MathJax: ${Yf[e]}. Set window['${If}'].opts.assetRoot to an npm root. See ${Ff}`;e===`untypeset`?console.error(r):console.warn(r),!(typeof window>`u`)&&window.dispatchEvent(new CustomEvent(Jf,{detail:{effect:e,message:r,docsUrl:Ff}}))}var Qf=`https://github.com/pie-framework/pie-players/blob/develop/docs/item-player/loading-strategies.md#one-mathjax-version-per-page`,$f=`pie-mathjax-version-conflict`,ep=Symbol.for(`@pie-element/shared-math-rendering-mathjax/unsupported-page`);function tp(e,t){if(typeof window>`u`)return;let n=globalThis;n[ep]??={logged:!1,conditions:[]};let r=n[ep];if(r.conditions.includes(e))return;r.conditions.push(e);let i=`[math-rendering] Unsupported page (${e}): ${t}. PIE supports one MathJax major version per page; with MathJax 3 and 4 on one page, math rendering is best effort and may break. See ${Qf}`;r.logged||(r.logged=!0,console.error(i)),window.dispatchEvent(new CustomEvent($f,{detail:{condition:e,message:i,docsUrl:Qf}}))}function np(){let e=window.MathJax?.version;return typeof e==`string`&&e.startsWith(`3.`)?e:void 0}function rp(){return window.MathJax}function ip(e,{root:t,speechPath:n}){t&&(e.loader={...e.loader,paths:{fonts:`${t}/@mathjax`,"mathjax-newcm":`${t}/@mathjax/mathjax-newcm-font@${Pf}`,"mathjax-mhchem-extension":`${t}/@mathjax/mathjax-mhchem-font-extension@${Pf}`}}),n&&(e.options={...e.options,worker:{path:n,maps:`${n}/mathmaps`}})}function ap(e,t){let n=t.srcUrl||(t.root?`${t.root}/mathjax@4.1.3/tex-mml-chtml.js`:void 0);return n?(ip(e,t),new Promise((t,r)=>{window.MathJax=e;let i=document.createElement(`script`);i.src=n,i.async=!0,i.onload=()=>t(!0),i.onerror=()=>r(Error(`Failed to load MathJax`)),document.head.appendChild(i)})):(Zf(`untypeset`),Promise.resolve(!1))}var op=globalThis,sp=`PIE-MJX-CHTML-styles`,cp=[`MJX-CHTML-styles`,`MJX-SVG-styles`],lp=np,up=`http://www.w3.org/1998/Math/MathML`,dp=/^([a-z_][\w.-]*):math$/,fp=/^[a-z][a-z0-9-]*$/;function pp(e){for(let t of e.querySelectorAll(`*`)){let n=dp.exec(t.tagName.toLowerCase())?.[1];!n||!e.contains(t)||t.closest(`mjx-container`)||t.replaceWith(mp(t,`${n}:`))}}function mp(e,t){let n=e.tagName.toLowerCase().slice(t.length);if(!fp.test(n))return e;let r=e.ownerDocument.createElementNS(up,n);for(let t of e.attributes)r.setAttribute(t.name,t.value);for(let n of[...e.childNodes]){let e=n instanceof Element&&n.tagName.toLowerCase().startsWith(t);r.appendChild(e?mp(n,t):n)}return r}var hp=new Set([`updiagonalstrike`,`downdiagonalstrike`,`verticalstrike`,`horizontalstrike`]),gp={thin:`0.035em`,medium:`0.07em`,thick:`0.14em`},_p={tight:`0em`,medium:`0.1em`,loose:`0.2em`},vp=/^(\d+(\.\d*)?|\.\d+)(em|ex|px|pt|pc|in|cm|mm)$/,yp=/^(#[0-9a-f]{3,8}|[a-z]+)$/i,bp=/^(\d+(\.\d*)?|\.\d+)$/,xp=new Set([`mn`,`mo`,`mi`,`mtext`]),Sp=new Set([`stackalign`,`charalign`,`charspacing`,`longdivstyle`]);function Cp(e,t,n=[],r={}){let i=e.createElementNS(up,t);for(let[e,t]of Object.entries(r))i.setAttribute(e,t);for(let e of n)e&&i.appendChild(e);return i}function wp(e,t){let n=Cp(e.document,`mo`);return n.textContent=t,n}function Tp(e){let t=Cp(e.document,`mn`);return t.textContent=`0`,Cp(e.document,`mphantom`,[t])}function Ep(e,t){return e.getAttribute(t)?.trim().toLowerCase()||void 0}function Dp(e,t){let n=Number.parseInt(e.getAttribute(t)??``,10);return Number.isFinite(n)?n:0}function Op(e){return e.localName===`none`||e.localName===`mrow`&&e.children.length===0&&!e.textContent?.trim()}function kp(e,t,n=e){switch(t){case`left`:return 0;case`center`:return Math.floor(e/2);case`right`:return e;default:return n}}function Ap(e,t,n){let r=[],i,a,o=(e,t)=>{let s=e=>t.reduceRight((e,t)=>{let n=t.cloneNode(!1);return n.appendChild(e),n},e);if(e.localName===`mstyle`)for(let n of[...e.children])o(n,[...t,e]);else if(Op(e))r.push(null);else if(e.localName===`mn`&&e.children.length===0){let t=[...(e.textContent??``).trim()];for(let a of t){a===n.decimalPoint&&(i??=r.length);let t=e.cloneNode(!1);t.textContent=a,r.push(s(t))}t.length&&(a??=r.length)}else xp.has(e.localName)&&e.textContent?.trim()===n.decimalPoint&&(i??=r.length),r.push(s(e))};for(let t of e)o(t,[]);return{kind:`digits`,cells:r,anchor:kp(r.length,n.stackAlign,i??a),position:t}}function jp(e){return(e??``).toLowerCase().split(/\s+/).filter(e=>hp.has(e))}function Mp(e,t){let n=[...e.children].filter(e=>!Op(e));return n.length<=1?n[0]??null:Cp(t.document,`mrow`,n)}function Np(e,t,n){let r=Ep(e,`location`)??`n`,i=jp(e.getAttribute(`crossout`)),a=[...e.children].map(e=>Op(e)?null:e.localName===`mscarry`?{content:Mp(e,n),location:Ep(e,`location`)??r,crossout:e.hasAttribute(`crossout`)?jp(e.getAttribute(`crossout`)):i}:{content:e,location:r,crossout:i}),o=e.getAttribute(`scriptsizemultiplier`)?.trim()??``;return{kind:`carries`,carries:a,anchor:kp(a.length,n.stackAlign),position:t,scale:bp.test(o)?o:`0.6`}}function Pp(e){let t=Ep(e,`mslinethickness`)??`medium`,n=gp[t]??(vp.test(t)?t:`0.07em`),r=e.getAttribute(`mathcolor`)?.trim()??``;return`${n} solid ${yp.test(r)?r:`currentColor`}`}function Fp(e,t,n){let r=Math.max(0,Dp(e,`length`));return{kind:`line`,length:r,anchor:kp(r,n.stackAlign),position:t,border:Pp(e)}}function Ip(e,t,n,r,i){e.forEach((e,a)=>{let o=t+a*n+Dp(e,`position`);switch(e.localName){case`msgroup`:Ip([...e.children],o,Dp(e,`shift`),r,i);break;case`msline`:i.push(Fp(e,o,r));break;case`mscarries`:i.push(Np(e,o,r));break;case`msrow`:case`mrow`:i.push(Ap([...e.children],o,r));break;default:i.push(Ap([e],o,r))}})}function Lp(e){return-e.anchor-e.position}function Rp(e){return e.kind===`digits`?e.cells.length:e.kind===`carries`?e.carries.length:e.length}function zp(e){return Lp(e)+Rp(e)-1}function Bp(e,t,n,r){let i=e=>Cp(r.document,`mpadded`,[t],{width:`0`,...e?{lspace:e}:{}}),a=(e,t)=>Cp(r.document,e,t);switch(n){case`s`:return a(`munder`,[e,i(`-0.5width`)]);case`ne`:return a(`msup`,[e,i()]);case`se`:return a(`msub`,[e,i()]);case`nw`:return a(`mmultiscripts`,[e,a(`mprescripts`,[]),a(`none`,[]),i(`-1width`)]);case`sw`:return a(`mmultiscripts`,[e,a(`mprescripts`,[]),i(`-1width`),a(`none`,[])]);case`w`:return t.setAttribute(`scriptlevel`,`+1`),a(`mrow`,[i(`-1width`),e]);case`e`:return t.setAttribute(`scriptlevel`,`+1`),a(`mrow`,[e,i()]);default:return a(`mover`,[e,i(`-0.5width`)])}}function Vp(e,t,n){let r=Cp(n.document,`menclose`,[e],{notation:t.join(` `),"data-padding":`0.1em`,"data-thickness":`0.067em`}),i=t.some(e=>e.endsWith(`diagonalstrike`))?.167:t.includes(`horizontalstrike`)?.1:0;return i?Cp(n.document,`mpadded`,[r],{lspace:`-${i}em`,width:`-${2*i}em`}):r}function Hp(e,t,n,r,i){let a=e&&t.crossout.length?Vp(e,t.crossout,i):e;if(!t.content)return a;let o=Cp(i.document,`mstyle`,[t.content],{scriptsizemultiplier:r});return Bp(a??Tp(i),o,n,i)}function Up(e,t){return e.carries[t-Lp(e)]??null}function Wp(e,t,n,r){let i=e.content;n.forEach((e,a)=>{let o=n.length-1-a,s=n[o],c=Up(s,t),l=n.slice(0,o).some(e=>Up(e,t));if(!c&&!l)return;let u=c??{content:Tp(r),location:`n`,crossout:[]},d=a===0?u.location:`n`;i=Hp(i,u,d,s.scale,r)}),e.content=i}function Gp(e,t){let n=e.filter(e=>Rp(e)>0),r=Math.min(0,...n.map(Lp)),i=Math.max(r,...n.map(zp))-r+1,a=-r,o=[],s=new Map,c=()=>Array.from({length:i},()=>({content:null,borders:{}})),l=e=>e.length===0?Array.from({length:i},(e,t)=>t):Array.from({length:e.length},(t,n)=>a+Lp(e)+n),u=[],d=[],f=e=>{let n=c();e.cells.forEach((t,r)=>{n[a+Lp(e)+r].content=t}),u.length&&n.forEach((e,n)=>{Wp(e,n-a,u,t)});for(let e of d)for(let t of l(e))n[t].borders.top=e.border;u=[],d=[],s.set(e,o.length),o.push(n)};for(let t of e)t.kind===`digits`?f(t):t.kind===`carries`?u.push(t):d.push(t);(u.length||!o.length)&&f({kind:`digits`,cells:[],anchor:0,position:0});let p=o[o.length-1];for(let e of d)for(let t of l(e))p[t].borders.bottom=e.border;return{rows:o,rowOf:s,origin:a}}function Kp(e,{rows:t},n){let r=Cp(n.document,`mtable`,t.map(e=>Cp(n.document,`mtr`,e.map(e=>{let t=Object.entries(e.borders).map(([e,t])=>`border-${e}:${t}`).join(`;`);return Cp(n.document,`mtd`,[e.content],{...t?{style:t}:{},...e.align?{columnalign:e.align}:{}})}))));for(let{name:t,value:n}of[...e.attributes])Sp.has(t)||r.setAttribute(t,n);let i=Ep(e,`charspacing`)??`medium`,a=Ep(e,`charalign`);return r.setAttribute(`columnspacing`,_p[i]??(vp.test(i)?i:_p.medium)),r.setAttribute(`columnalign`,a===`left`||a===`center`?a:`right`),r.setAttribute(`rowspacing`,`0`),r.setAttribute(`align`,e.getAttribute(`align`)??`baseline`),r}function qp(e){return{document:e.ownerDocument,stackAlign:Ep(e,`stackalign`)??`decimalpoint`,decimalPoint:e.closest(`[decimalpoint]`)?.getAttribute(`decimalpoint`)?.trim().charAt(0)||`.`}}function Jp(e){let t=qp(e),n=[];return Ip([...e.children],0,0,t,n),Kp(e,Gp(n,t),t)}function Yp(e,t,n,r,i,a){for(let o=n;o<=r;o++)e[t][o].borders[i]=a}function Xp(e,t){let n=wp(t,`)`);return n.setAttribute(`minsize`,`1.2em`),[Cp(t.document,`mrow`,[e,Cp(t.document,`mspace`,[],{width:`0.2em`})]),Cp(t.document,`mpadded`,[n],{voffset:`0.1em`,lspace:`-0.15em`,depth:`-0.2em`,height:`-0.2em`})]}function Zp(e){let t=qp(e),[n,r,...i]=[...e.children],a=n&&!Op(n)?n:null,o=r&&!Op(r)?r:null,s=Ep(e,`longdivstyle`)??`lefttop`,c=Pp(e),l=[];Ip(i,0,0,t,l);let u=l.find(e=>e.kind===`digits`);u||(u={kind:`digits`,cells:[],anchor:0,position:0},l.unshift(u));let d=[],f=(...e)=>{u.cells.unshift(...e),u.anchor+=e.length},p=(...e)=>{let n=e.flatMap(e=>e?e.localName===`mrow`?[...e.children]:[e]:[]);u.cells.push(...Ap(n,0,t).cells)};switch(s){case`left/\\right`:f(a,wp(t,`/`)),p(wp(t,`\\`),o);break;case`left)(right`:f(a,wp(t,`)`)),p(wp(t,`(`),o);break;case`:right=right`:p(wp(t,`:`),a,wp(t,`=`),o);break;case`righttop`:case`stackedleftlinetop`:case`lefttop`:o&&Ip([o],0,0,t,d),l.splice(l.indexOf(u),0,...d),s===`righttop`?p(a):s===`stackedleftlinetop`?f(a):f(...Xp(a,t));break}let m=Gp(l,t),h=m.rows,g=m.rowOf.get(u)??0,_=e=>m.origin+Lp(u)+e,v=Math.max(_(u.cells.length-1),...d.map(e=>m.origin+zp(e)));switch(s){case`left/\\right`:case`left)(right`:case`:right=right`:break;case`righttop`:{let e=h[g][_(u.cells.length-1)];e.borders.left=c,e.borders.bottom=c,Yp(h,g,_(0),_(u.cells.length-1),`top`,c);break}case`stackedleftlinetop`:{let e=h[g][_(0)];e.borders.right=c,e.borders.bottom=c,Yp(h,g,_(1),v,`top`,c);break}case`stackedrightright`:case`mediumstackedrightright`:case`shortstackedrightright`:case`stackedleftleft`:Qp(h,g,s,a,o,c,t);break;default:Yp(h,g,_(1),v,`top`,c)}return Kp(e,m,t)}function Qp(e,t,n,r,i,a,o){let s=n===`stackedleftleft`,c=s?`right`:`left`,l=e=>e&&Cp(o.document,`mpadded`,[e],{lspace:`0.2em`,width:`+0.4em`});e.length<t+2&&e.push(e[0].map(()=>({content:null,borders:{}}))),e.forEach((e,o)=>{let u={content:null,borders:{},align:s?`right`:`left`};o===t?(u.content=l(r),u.borders={[c]:a,bottom:a}):o===t+1?(u.content=l(i),n!==`shortstackedrightright`&&(u.borders[c]=a)):o>t+1&&(n===`stackedrightright`||s)&&(u.borders[c]=a),s?e.unshift(u):e.push(u)})}function $p(e){for(let t of[...e.querySelectorAll(`mstack, mlongdiv`)])!t.closest(`math`)||t.closest(`mjx-container`)||t.replaceWith(t.localName===`mstack`?Jp(t):Zp(t))}var em=`PIE-MJX-explorer-styles`,tm=`var(--pie-text, black)`,nm=`var(--pie-background, #ffffff)`,rm=`var(--pie-border-dark, #66686A)`,im=`var(--pie-focus-outline, var(--pie-button-focus-outline, var(--pie-focus-checked-border, #1565C0)))`,am=`color-mix(in srgb, ${im} 15%, transparent)`,om=`
|
|
47
|
+
`+u),we&&(u=Et(u)),T&&Ne?k(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ut(e),De=!0,Oe=F,ke=I},t.clearConfig=function(){st=null,De=!1,Oe=null,ke=null,T=D,E=``},t.isValidAttribute=function(e,t,n){st||ut({});let r=ot(e),i=ot(t);return Rt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&Xl(N,e)&&Ll(N[e],t)},t.removeHook=function(e,t){if(Xl(N,e)){if(t!==void 0){let n=Fl(N[e],t);return n===-1?void 0:Rl(N[e],n,1)[0]}return Il(N[e])}},t.removeHooks=function(e){Xl(N,e)&&(N[e]=[])},t.removeAllHooks=function(){N=Ru()},t}var Hu=Vu(),Uu=[`script`,`embed`,`base`,`form`,`meta`,`link`,`style`,`foreignobject`],Wu=[`onerror`,`onload`,`onclick`,`onmouseover`,`onmouseout`,`onmouseenter`,`onmouseleave`,`onfocus`,`onblur`,`onkeydown`,`onkeyup`,`onkeypress`,`onsubmit`,`onchange`,`onbeforeunload`,`formaction`,`xlink:href`],Gu=new Set([`iframe`,`object`,`mstack`,`mlongdiv`,`msgroup`,`msrow`,`msline`,`mscarries`,`mscarry`,`semantics`,`annotation`,`none`]),Ku=/^[a-z_][\w.-]*:[a-z][\w.-]*$/,qu=[`alignment`,`target`,`allow`,`allowfullscreen`,`frameborder`,`scrolling`,`data`,`stackalign`,`charalign`,`charspacing`,`longdivstyle`,`position`,`shift`,`location`,`crossout`,`leftoverhang`,`rightoverhang`,`mslinethickness`,`linebreak`],Ju=/^\s*document\.getElementById\((['"])([^'"]+)\1\)\.play\(\)\s*;?\s*(?:return\s+false\s*;?\s*)?$/,Yu=`data-pie-play-audio`,Xu={ADD_TAGS:e=>Gu.has(e)||Ku.test(e),ADD_ATTR:qu,FORBID_TAGS:Uu,FORBID_ATTR:Wu,ALLOW_UNKNOWN_PROTOCOLS:!1,RETURN_TRUSTED_TYPE:!1},Zu=!1;function Qu(e){for(let t of e.composedPath()){if(!(t instanceof Element))continue;let n=t.getAttribute(Yu);if(n===null)continue;e.preventDefault();let r=t.getRootNode().getElementById?.(n)??document.getElementById(n);r instanceof HTMLMediaElement&&r.play()?.catch(()=>void 0);return}}var $u=null;function ed(){return $u||($u=Hu(window),$u.addHook(`beforeSanitizeAttributes`,e=>{if(e.nodeName!==`A`)return;let t=Ju.exec(e.getAttribute(`onclick`)??``)?.[2];t!==void 0&&(e.removeAttribute(`onclick`),e.setAttribute(Yu,t),Zu||=(document.addEventListener(`click`,Qu),!0))}),$u)}var td=1e6,nd=new Map,rd=0;function id(e){if(e==null||e===``||!Hu.isSupported)return``;let t=typeof e==`string`?e:String(e),n=nd.get(t);if(n!==void 0)return n;let r=String(ed().sanitize(t,Xu)),i=t.length+r.length;if(i>td)return r;for(let[e,t]of nd){if(rd+i<=td)break;nd.delete(e),rd-=e.length+t.length}return nd.set(t,r),rd+=i,r}var ad={50:`#fce4ec`,100:`#f8bbd0`,200:`#f48fb1`,300:`#f06292`,400:`#ec407a`,500:`#e91e63`,600:`#d81b60`,700:`#c2185b`,800:`#ad1457`,900:`#880e4f`,A100:`#ff80ab`,A200:`#ff4081`,A400:`#f50057`,A700:`#c51162`},od={50:`#e8eaf6`,100:`#c5cae9`,200:`#9fa8da`,300:`#7986cb`,400:`#5c6bc0`,500:`#3f51b5`,600:`#3949ab`,700:`#303f9f`,800:`#283593`,900:`#1a237e`,A100:`#8c9eff`,A200:`#536dfe`,A400:`#3d5afe`,A700:`#304ffe`},sd=s({background:()=>jd,backgroundDark:()=>Md,black:()=>Gd,blueGrey100:()=>tf,blueGrey300:()=>nf,blueGrey600:()=>rf,blueGrey900:()=>af,border:()=>Rd,borderDark:()=>Bd,borderGray:()=>Vd,borderLight:()=>zd,buttonBorder:()=>gf,buttonFocusOutline:()=>Qd,buttonHoverBg:()=>_f,correct:()=>pd,correctSecondary:()=>md,correctTertiary:()=>hd,correctWithIcon:()=>gd,defaults:()=>Z,disabled:()=>ud,disabledSecondary:()=>dd,disabledText:()=>fd,dropdownBackground:()=>Pd,editorToolbar:()=>hf,fadedPrimary:()=>Ed,focusChecked:()=>Jd,focusCheckedBorder:()=>Yd,focusOutline:()=>$d,focusUnchecked:()=>Xd,focusUncheckedBorder:()=>Zd,incorrect:()=>_d,incorrectSecondary:()=>yd,incorrectWithIcon:()=>vd,keyBoardFocusIndicator:()=>ef,keypadButton:()=>cf,keypadButtonHover:()=>df,keypadButtonOperator:()=>lf,keypadButtonOperatorHover:()=>ff,keypadEmptyPlaceholder:()=>uf,keypadInk:()=>mf,missing:()=>bd,missingWithIcon:()=>xd,primary:()=>Sd,primaryDark:()=>wd,primaryLight:()=>Cd,primaryText:()=>Td,secondary:()=>Dd,secondaryBackground:()=>Nd,secondaryDark:()=>kd,secondaryLight:()=>Od,secondaryText:()=>Ad,surface:()=>Fd,tableGrid:()=>Hd,tableGridLight:()=>Ud,tableStripe:()=>Wd,tertiary:()=>Id,tertiaryLight:()=>Ld,text:()=>ld,transparent:()=>qd,v:()=>cd,visualElementsColors:()=>vf,white:()=>Kd}),Z={TEXT:`black`,DISABLED:`grey`,DISABLED_SECONDARY:`#ABABAB`,DISABLED_TEXT:`#545454`,CORRECT:`#208537`,CORRECT_SECONDARY:fa[50],CORRECT_TERTIARY:`#0EA449`,CORRECT_WITH_ICON:`#087D38`,INCORRECT:`#a65f00`,INCORRECT_SECONDARY:ca[50],INCORRECT_WITH_ICON:`#BF0D00`,MISSING:ca[700],MISSING_WITH_ICON:`#6A78A1`,PRIMARY:od[500],PRIMARY_LIGHT:od[200],PRIMARY_DARK:od[800],SECONDARY:ad.A400,SECONDARY_LIGHT:ad[200],SECONDARY_DARK:ad[900],TERTIARY:`#146EB3`,TERTIARY_LIGHT:`#D0E2F0`,BACKGROUND:`rgba(255,255,255,0)`,BACKGROUND_DARK:`#ECEDF1`,DROPDOWN_BACKGROUND:`#E0E1E6`,SECONDARY_BACKGROUND:`rgba(241,241,241,1)`,SURFACE:`#EBECF1`,BORDER:`#9A9A9A`,BORDER_LIGHT:`#D1D1D1`,BORDER_DARK:`#66686A`,BORDER_GRAY:`#7E8494`,TABLE_GRID:`black`,TABLE_GRID_LIGHT:`#dfe2e5`,TABLE_STRIPE:`#f6f8fa`,BLACK:`#000000`,WHITE:`#ffffff`,TRANSPARENT:`transparent`,FOCUS_CHECKED:`#BBDEFB`,FOCUS_CHECKED_BORDER:`#1565C0`,FOCUS_UNCHECKED:`#E0E0E0`,FOCUS_UNCHECKED_BORDER:`#757575`,BUTTON_FOCUS_OUTLINE:`#3B82F6`,BLUE_GREY100:`#F3F5F7`,BLUE_GREY300:`#81848F`,BLUE_GREY600:`#7E8494`,BLUE_GREY900:`#152452`,FADED_PRIMARY:`#DCDAFB`,KEYPAD_BUTTON:`rgb(188, 194, 229)`,KEYPAD_BUTTON_OPERATOR:`rgb(255, 159, 192)`,KEYPAD_EMPTY_PLACEHOLDER:`rgba(245, 0, 87, 0.4)`,KEYPAD_BUTTON_HOVER:`rgb(214, 218, 239)`,KEYPAD_BUTTON_OPERATOR_HOVER:`rgb(255, 197, 217)`,EDITOR_TOOLBAR:`#efefef`,BUTTON_BORDER:`rgba(0, 0, 0, 0.23)`,BUTTON_HOVER_BG:`rgba(0, 0, 0, 0.08)`};Object.freeze(Z);var cd=e=>(...t)=>{let n=t.pop();return t.reduceRight((t,n)=>`var(--${e}-${n}, ${t})`,n)},Q=cd(`pie`),ld=()=>Q(`text`,Z.TEXT),ud=()=>Q(`disabled`,Z.DISABLED),dd=()=>Q(`disabled-secondary`,Z.DISABLED_SECONDARY),fd=()=>Q(`disabled-text`,`text`,Z.DISABLED_TEXT),pd=()=>Q(`correct`,Z.CORRECT),md=()=>Q(`correct-secondary`,Z.CORRECT_SECONDARY),hd=()=>Q(`correct-tertiary`,Z.CORRECT_TERTIARY),gd=()=>Q(`correct-icon`,Z.CORRECT_WITH_ICON),_d=()=>Q(`incorrect`,Z.INCORRECT),vd=()=>Q(`incorrect-icon`,Z.INCORRECT_WITH_ICON),yd=()=>Q(`incorrect-secondary`,Z.INCORRECT_SECONDARY),bd=()=>Q(`missing`,Z.MISSING),xd=()=>Q(`missing-icon`,Z.MISSING_WITH_ICON),Sd=()=>Q(`primary`,Z.PRIMARY),Cd=()=>Q(`primary-light`,Z.PRIMARY_LIGHT),wd=()=>Q(`primary-dark`,Z.PRIMARY_DARK),Td=()=>Q(`primary-text`,`text`,Z.TEXT),Ed=()=>Q(`faded-primary`,Z.FADED_PRIMARY),Dd=()=>Q(`secondary`,Z.SECONDARY),Od=()=>Q(`secondary-light`,Z.SECONDARY_LIGHT),kd=()=>Q(`secondary-dark`,Z.SECONDARY_DARK),Ad=()=>Q(`secondary-text`,`text`,Z.TEXT),jd=()=>Q(`background`,Z.BACKGROUND),Md=()=>Q(`background-dark`,Z.BACKGROUND_DARK),Nd=()=>Q(`secondary-background`,Z.SECONDARY_BACKGROUND),Pd=()=>Q(`dropdown-background`,Z.DROPDOWN_BACKGROUND),Fd=()=>Q(`surface`,Z.SURFACE),Id=()=>Q(`tertiary`,Z.TERTIARY),Ld=()=>Q(`tertiary-light`,Z.TERTIARY_LIGHT),Rd=()=>Q(`border`,Z.BORDER),zd=()=>Q(`border-light`,Z.BORDER_LIGHT),Bd=()=>Q(`border-dark`,Z.BORDER_DARK),Vd=()=>Q(`border-gray`,Z.BORDER_GRAY),Hd=()=>Q(`table-grid`,`text`,Z.TABLE_GRID),Ud=()=>Q(`table-grid-light`,`border-light`,Z.TABLE_GRID_LIGHT),Wd=()=>Q(`table-stripe`,`background-dark`,Z.TABLE_STRIPE),Gd=()=>Q(`black`,Z.BLACK),Kd=()=>Q(`white`,Z.WHITE),qd=()=>Z.TRANSPARENT,Jd=()=>Q(`focus-checked`,Z.FOCUS_CHECKED),Yd=()=>Q(`focus-checked-border`,Z.FOCUS_CHECKED_BORDER),Xd=()=>Q(`focus-unchecked`,Z.FOCUS_UNCHECKED),Zd=()=>Q(`focus-unchecked-border`,Z.FOCUS_UNCHECKED_BORDER),Qd=()=>Q(`button-focus-outline`,Z.BUTTON_FOCUS_OUTLINE),$d=()=>Q(`focus-outline`,`button-focus-outline`,`focus-checked-border`,Z.FOCUS_CHECKED_BORDER),ef=$d,tf=()=>Q(`blue-grey-100`,Z.BLUE_GREY100),nf=()=>Q(`blue-grey-300`,Z.BLUE_GREY300),rf=()=>Q(`blue-grey-600`,Z.BLUE_GREY600),af=()=>Q(`blue-grey-900`,Z.BLUE_GREY900),of=e=>{let t=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e);return t?t.slice(1).map(e=>parseInt(e,16)):e.match(/\d+/g).slice(0,3).map(Number)},sf=(e,t)=>`color-mix(in srgb, rgb(${of(e).map(e=>(e-255*(1-t))/t).join(` `)}) ${t*100}%, ${Q(`background`,Z.WHITE)})`,cf=()=>Q(`keypad-button`,sf(Z.KEYPAD_BUTTON,.5)),lf=()=>Q(`keypad-button-operator`,sf(Z.KEYPAD_BUTTON_OPERATOR,.5)),uf=()=>Q(`keypad-empty-placeholder`,Z.KEYPAD_EMPTY_PLACEHOLDER),df=()=>Q(`keypad-button-hover`,sf(Z.KEYPAD_BUTTON_HOVER,.25)),ff=()=>Q(`keypad-button-operator-hover`,sf(Z.KEYPAD_BUTTON_OPERATOR_HOVER,.25)),pf=`clamp(0.6, (r + g + b) / 450, 1)`,mf=()=>`rgb(from ${ld()} calc(r * ${pf}) calc(g * ${pf}) calc(b * ${pf}))`,hf=()=>sf(Z.EDITOR_TOOLBAR,.125),gf=()=>Q(`button-border`,Z.BUTTON_BORDER),_f=()=>Q(`button-hover-bg`,Z.BUTTON_HOVER_BG),vf={AXIS_LINE_COLOR:`#5A53C9`,ROLLOVER_FILL_BAR_COLOR:`#050F2D`,GRIDLINES_COLOR:`#8E88EA`,PLOT_FILL_COLOR:`#1463B3`,SHAPES_FILL_COLOR:`#7986cb`},yf=G(`div`)({transformOrigin:`0% 0px 0px`,width:`100%`,display:`block`,overflow:`hidden`,"&.incorrect":{color:`#946202`}}),bf=G(`div`)({WebkitFontSmoothing:`antialiased`,backgroundColor:`var(--feedback-bg-color, ${Md()})`,borderRadius:`4px`,lineHeight:`25px`,margin:`0px`,padding:`10px`,verticalAlign:`middle`,color:`var(--feedback-color, ${ld()})`,"&.correct":{backgroundColor:`var(--feedback-correct-bg-color, ${md()})`},"&.incorrect":{backgroundColor:`var(--feedback-incorrect-bg-color, ${yd()})`}}),xf=G(`div`)({"&.feedback-enter":{height:`1px`},"&.feedback-enter-active":{height:`45px`,transition:`height 500ms`},"&.feedback-exit":{height:`45px`},"&.feedback-exit-active":{height:`1px`,transition:`height 200ms`}}),Sf=class extends R.Component{static propTypes={correctness:b.string,feedback:b.string};nodeRef=R.createRef();renderFeedback(){let{correctness:e,feedback:t}=this.props;return!e||!t?null:(0,B.jsx)(ks,{nodeRef:this.nodeRef,timeout:{enter:500,exit:200},classNames:`feedback`,children:(0,B.jsx)(xf,{ref:this.nodeRef,children:(0,B.jsx)(yf,{children:(0,B.jsx)(bf,{className:e,dangerouslySetInnerHTML:{__html:id(t)}})})})},`hasFeedback`)}render(){return(0,B.jsx)(`div`,{children:(0,B.jsx)(Rs,{children:this.renderFeedback()})})}},Cf=()=>{};function wf(){let e=function(){};return e.enabled=!1,e.log=Cf,e.extend=()=>e,e.destroy=Cf,e}wf.log=Cf,wf.enable=Cf,wf.disable=()=>``,wf.enabled=()=>!1;var Tf=s({Correct:()=>jf,Incorrect:()=>Mf,NothingSubmitted:()=>Pf,PartiallyCorrect:()=>Nf}),Ef=wf(`pie-libs:render-ui:response-indicators`),Df=G(`div`)(({hasFeedback:e})=>({cursor:e?`pointer`:`default`})),Of=G(ml)({cursor:`pointer`}),kf=G(`div`)({padding:`0`,borderRadius:`4px`}),Af=(e,t)=>{class n extends R.Component{constructor(e){super(e),this.state={}}handlePopoverOpen=e=>{Ef(`[handlePopoverOpen]`,e.target),this.setState({anchorEl:e.target})};handlePopoverClose=()=>{this.setState({anchorEl:null})};render(){let{feedback:n}=this.props,{anchorEl:r}=this.state;return(0,B.jsxs)(Df,{hasFeedback:!!n,children:[(0,B.jsx)(`span`,{ref:e=>this.icon=e,onClick:this.handlePopoverOpen,children:(0,B.jsx)(e,{})}),n&&(0,B.jsx)(Of,{PaperComponent:kf,open:!!r,anchorEl:r,anchorOrigin:{vertical:`bottom`,horizontal:`left`},transformOrigin:{vertical:`top`,horizontal:`left`},onClose:this.handlePopoverClose,children:(0,B.jsx)(Sf,{feedback:n,correctness:t})})]})}}return n.propTypes={feedback:b.string},n},jf=Af(Io,`correct`),Mf=Af(zo,`incorrect`),Nf=Af(Ko,`partially-correct`),Pf=Af(Uo,`nothing-submitted`);function Ff(e){return Lr(`MuiCollapse`,e)}Rr(`MuiCollapse`,[`root`,`horizontal`,`vertical`,`entered`,`hidden`,`wrapper`,`wrapperInner`]);var If=e=>{let{orientation:t,classes:n}=e;return ra({root:[`root`,t],entered:[`entered`],hidden:[`hidden`],wrapper:[`wrapper`,t],wrapperInner:[`wrapperInner`,t]},Ff,n)},Lf=G(`div`,{name:`MuiCollapse`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.orientation],n.state===`entered`&&t.entered,n.state===`exited`&&!n.in&&n.collapsedSize===`0px`&&t.hidden]}})(bc(({theme:e})=>({height:0,overflow:`hidden`,transition:e.transitions.create(`height`),variants:[{props:{orientation:`horizontal`},style:{height:`auto`,width:0,transition:e.transitions.create(`width`)}},{props:{state:`entered`},style:{height:`auto`,overflow:`visible`}},{props:{state:`entered`,orientation:`horizontal`},style:{width:`auto`}},{props:({ownerState:e})=>e.state===`exited`&&!e.in&&e.collapsedSize===`0px`,style:{visibility:`hidden`}}]}))),Rf=G(`div`,{name:`MuiCollapse`,slot:`Wrapper`})({display:`flex`,width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),zf=G(`div`,{name:`MuiCollapse`,slot:`WrapperInner`})({width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),Bf=R.forwardRef(function(e,t){let n=Yo({props:e,name:`MuiCollapse`}),{addEndListener:r,children:i,className:a,collapsedSize:o=`0px`,component:s,easing:c,in:l,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:m,onExiting:h,orientation:g=`vertical`,slots:_={},slotProps:v={},style:y,timeout:b=za.standard,TransitionComponent:x=Ts,...S}=n,C={...n,orientation:g,collapsedSize:o},w=If(C),T=go(),E=ss(),D=R.useRef(null),ee=R.useRef(),O=typeof o==`number`?`${o}px`:o,te=g===`horizontal`,k=te?`width`:`height`,A=R.useRef(null),ne=Ws(t,A),j=()=>D.current?D.current[te?`clientWidth`:`clientHeight`]:0,re=Bs(A,(e,t)=>{D.current&&te&&(D.current.style.position=`absolute`),e.style[k]=O,u&&u(e,t)}),ie=Bs(A,(e,t)=>{let n=j();D.current&&te&&(D.current.style.position=``);let{duration:r,easing:i}=Hs({style:y,timeout:b,easing:c},{mode:`enter`});if(b===`auto`){let t=T.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,ee.current=t}else e.style.transitionDuration=typeof r==`string`?r:`${r}ms`;e.style[k]=`${n}px`,e.style.transitionTimingFunction=i,f&&f(e,t)}),ae=Bs(A,(e,t)=>{e.style[k]=`auto`,d&&d(e,t)}),oe=Bs(A,e=>{e.style[k]=`${j()}px`,p&&p(e)}),M=Bs(A,m),N=Bs(A,e=>{let t=j(),{duration:n,easing:r}=Hs({style:y,timeout:b,easing:c},{mode:`exit`});if(b===`auto`){let n=T.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,ee.current=n}else e.style.transitionDuration=typeof n==`string`?n:`${n}ms`;e.style[k]=O,e.style.transitionTimingFunction=r,h&&h(e)}),se=e=>{b===`auto`&&E.start(ee.current||0,e),r&&r(A.current,e)},P={slots:_,slotProps:v,component:s},[ce,le]=Ec(`root`,{ref:ne,className:V(w.root,a),elementType:Lf,externalForwardedProps:P,ownerState:C,additionalProps:{style:{[te?`minWidth`:`minHeight`]:O,...y}}}),[ue,de]=Ec(`wrapper`,{ref:D,className:w.wrapper,elementType:Rf,externalForwardedProps:P,ownerState:C}),[fe,pe]=Ec(`wrapperInner`,{className:w.wrapperInner,elementType:zf,externalForwardedProps:P,ownerState:C});return(0,B.jsx)(x,{in:l,onEnter:re,onEntered:ae,onEntering:ie,onExit:oe,onExited:M,onExiting:N,addEndListener:se,nodeRef:A,timeout:b===`auto`?null:b,...S,children:(e,{ownerState:t,...n})=>{let r={...C,state:e};return(0,B.jsx)(ce,{...le,className:V(le.className,{entered:w.entered,exited:!l&&O===`0px`&&w.hidden}[e]),ownerState:r,...n,children:(0,B.jsx)(ue,{...de,ownerState:r,children:(0,B.jsx)(fe,{...pe,ownerState:r,children:i})})})}})});Bf&&(Bf.muiSupportAuto=!0);var Vf=`4.1.3`,Hf=`https://github.com/pie-framework/pie-elements-ng/blob/develop/docs/MATH-RENDERING.md#assets`,Uf=`@pie-lib/math-rendering@2`,Wf=[`nemeth`,`euro`],Gf=`mathjax@${Vf}/sre`,Kf=/^[^@]+@[^@]+$/;function qf(e){if(!e)return;let t;try{t=new URL(e)}catch{return}if(t.origin===`null`)return;let n=t.pathname.split(`/`);for(let e=n.length-1;e>0;e--){let r=n[e];if(r===`node_modules`)return;if(!Kf.test(r))continue;let i=n[e-1]?.startsWith(`@`)?e-1:e;return t.origin+n.slice(0,i).join(`/`)}}function Jf(){let e=globalThis[Uf]?.opts;return e&&typeof e==`object`?e:{}}function Yf(e){if(typeof e!=`string`||!e)return;let t=typeof document>`u`?void 0:document.baseURI;try{return new URL(e,t).href.replace(/\/+$/,``)}catch{return}}function Xf(e){if(!e||typeof e!=`object`)return;let t=new Map;for(let[n,r]of Object.entries(e)){let e=Yf(r);e&&t.set(n,e)}return t.size?t:void 0}function Zf(e){if(Array.isArray(e))return new Map(e.filter(e=>typeof e==`string`).map(e=>[e,void 0]));if(e&&typeof e==`object`)return new Map(Object.entries(e).map(([e,t])=>[e,typeof t==`string`?t:void 0]))}function Qf(e,t){let n=Jf(),r=Yf(e.assetRoot??n.assetRoot)??qf(t);return{root:r,speechPath:Yf(e.speechPath??n.speechPath)??(r?`${r}/${Gf}`:void 0),speechLocales:Zf(e.speechLocales??n.speechLocales),urls:Xf(e.assetUrls??n.assetUrls)}}function $f(e,t){if(!(!e||!t)){for(let n of[...e.keys()])!t.has(n)&&!Wf.includes(n)&&e.delete(n);for(let[n,r]of t)(r||!e.has(n))&&e.set(n,r??n)}}function ep(e){if(!(!e||e.has(`en`)))return[...e.keys()].find(e=>!Wf.includes(e))}var tp=`pie-mathjax-no-asset-root`,np={untypeset:`no MathJax loads, so math stays untypeset`,"no-web-fonts":`math renders without web fonts`,"no-web-fonts-or-speech":`math renders without web fonts and speech`},rp=Symbol.for(`@pie-element/shared-math-rendering-mathjax/no-assets`);function ip(e){let t=globalThis;t[rp]??=[];let n=t[rp];if(n.includes(e))return;n.push(e);let r=`[math-rendering] No asset root for MathJax: ${np[e]}. Set window['${Uf}'].opts.assetRoot to an npm root. See ${Hf}`;e===`untypeset`?console.error(r):console.warn(r),!(typeof window>`u`)&&window.dispatchEvent(new CustomEvent(tp,{detail:{effect:e,message:r,docsUrl:Hf}}))}var ap=`https://github.com/pie-framework/pie-players/blob/develop/docs/item-player/loading-strategies.md#one-mathjax-version-per-page`,op=`pie-mathjax-version-conflict`,sp=Symbol.for(`@pie-element/shared-math-rendering-mathjax/unsupported-page`);function cp(e,t){if(typeof window>`u`)return;let n=globalThis;n[sp]??={logged:!1,conditions:[]};let r=n[sp];if(r.conditions.includes(e))return;r.conditions.push(e);let i=`[math-rendering] Unsupported page (${e}): ${t}. PIE supports one MathJax major version per page; with MathJax 3 and 4 on one page, math rendering is best effort and may break. See ${ap}`;r.logged||(r.logged=!0,console.error(i)),window.dispatchEvent(new CustomEvent(op,{detail:{condition:e,message:i,docsUrl:ap}}))}function lp(){let e=window.MathJax?.version;return typeof e==`string`&&e.startsWith(`3.`)?e:void 0}function up(){return window.MathJax}function dp(e,{root:t,speechPath:n}){t&&(e.loader={...e.loader,paths:{fonts:`${t}/@mathjax`,"mathjax-newcm":`${t}/@mathjax/mathjax-newcm-font@${Vf}`,"mathjax-mhchem-extension":`${t}/@mathjax/mathjax-mhchem-font-extension@${Vf}`}}),n&&(e.options={...e.options,worker:{path:n,maps:`${n}/mathmaps`}})}function fp(e,t){let n=t.srcUrl||(t.root?`${t.root}/mathjax@4.1.3/tex-mml-chtml.js`:void 0);return n?(dp(e,t),new Promise((t,r)=>{window.MathJax=e;let i=document.createElement(`script`);i.src=n,i.async=!0,i.onload=()=>t(!0),i.onerror=()=>r(Error(`Failed to load MathJax`)),document.head.appendChild(i)})):(ip(`untypeset`),Promise.resolve(!1))}var pp=globalThis,mp=`PIE-MJX-CHTML-styles`,hp=[`MJX-CHTML-styles`,`MJX-SVG-styles`],gp=lp,_p=`http://www.w3.org/1998/Math/MathML`,vp=/^([a-z_][\w.-]*):math$/,yp=/^[a-z][a-z0-9-]*$/;function bp(e){for(let t of e.querySelectorAll(`*`)){let n=vp.exec(t.tagName.toLowerCase())?.[1];!n||!e.contains(t)||t.closest(`mjx-container`)||t.replaceWith(xp(t,`${n}:`))}}function xp(e,t){let n=e.tagName.toLowerCase().slice(t.length);if(!yp.test(n))return e;let r=e.ownerDocument.createElementNS(_p,n);for(let t of e.attributes)r.setAttribute(t.name,t.value);for(let n of[...e.childNodes]){let e=n instanceof Element&&n.tagName.toLowerCase().startsWith(t);r.appendChild(e?xp(n,t):n)}return r}var Sp=new Set([`updiagonalstrike`,`downdiagonalstrike`,`verticalstrike`,`horizontalstrike`]),Cp={thin:`0.035em`,medium:`0.07em`,thick:`0.14em`},wp={tight:`0em`,medium:`0.1em`,loose:`0.2em`},Tp=/^(\d+(\.\d*)?|\.\d+)(em|ex|px|pt|pc|in|cm|mm)$/,Ep=/^(#[0-9a-f]{3,8}|[a-z]+)$/i,Dp=/^(\d+(\.\d*)?|\.\d+)$/,Op=new Set([`mn`,`mo`,`mi`,`mtext`]),kp=new Set([`stackalign`,`charalign`,`charspacing`,`longdivstyle`]);function Ap(e,t,n=[],r={}){let i=e.createElementNS(_p,t);for(let[e,t]of Object.entries(r))i.setAttribute(e,t);for(let e of n)e&&i.appendChild(e);return i}function jp(e,t){let n=Ap(e.document,`mo`);return n.textContent=t,n}function Mp(e){let t=Ap(e.document,`mn`);return t.textContent=`0`,Ap(e.document,`mphantom`,[t])}function Np(e,t){return e.getAttribute(t)?.trim().toLowerCase()||void 0}function Pp(e,t){let n=Number.parseInt(e.getAttribute(t)??``,10);return Number.isFinite(n)?n:0}function Fp(e){return e.localName===`none`||e.localName===`mrow`&&e.children.length===0&&!e.textContent?.trim()}function Ip(e,t,n=e){switch(t){case`left`:return 0;case`center`:return Math.floor(e/2);case`right`:return e;default:return n}}function Lp(e,t,n){let r=[],i,a,o=(e,t)=>{let s=e=>t.reduceRight((e,t)=>{let n=t.cloneNode(!1);return n.appendChild(e),n},e);if(e.localName===`mstyle`)for(let n of[...e.children])o(n,[...t,e]);else if(Fp(e))r.push(null);else if(e.localName===`mn`&&e.children.length===0){let t=[...(e.textContent??``).trim()];for(let a of t){a===n.decimalPoint&&(i??=r.length);let t=e.cloneNode(!1);t.textContent=a,r.push(s(t))}t.length&&(a??=r.length)}else Op.has(e.localName)&&e.textContent?.trim()===n.decimalPoint&&(i??=r.length),r.push(s(e))};for(let t of e)o(t,[]);return{kind:`digits`,cells:r,anchor:Ip(r.length,n.stackAlign,i??a),position:t}}function Rp(e){return(e??``).toLowerCase().split(/\s+/).filter(e=>Sp.has(e))}function zp(e,t){let n=[...e.children].filter(e=>!Fp(e));return n.length<=1?n[0]??null:Ap(t.document,`mrow`,n)}function Bp(e,t,n){let r=Np(e,`location`)??`n`,i=Rp(e.getAttribute(`crossout`)),a=[...e.children].map(e=>Fp(e)?null:e.localName===`mscarry`?{content:zp(e,n),location:Np(e,`location`)??r,crossout:e.hasAttribute(`crossout`)?Rp(e.getAttribute(`crossout`)):i}:{content:e,location:r,crossout:i}),o=e.getAttribute(`scriptsizemultiplier`)?.trim()??``;return{kind:`carries`,carries:a,anchor:Ip(a.length,n.stackAlign),position:t,scale:Dp.test(o)?o:`0.6`}}function Vp(e){let t=Np(e,`mslinethickness`)??`medium`,n=Cp[t]??(Tp.test(t)?t:`0.07em`),r=e.getAttribute(`mathcolor`)?.trim()??``;return`${n} solid ${Ep.test(r)?r:`currentColor`}`}function Hp(e,t,n){let r=Math.max(0,Pp(e,`length`));return{kind:`line`,length:r,anchor:Ip(r,n.stackAlign),position:t,border:Vp(e)}}function Up(e,t,n,r,i){e.forEach((e,a)=>{let o=t+a*n+Pp(e,`position`);switch(e.localName){case`msgroup`:Up([...e.children],o,Pp(e,`shift`),r,i);break;case`msline`:i.push(Hp(e,o,r));break;case`mscarries`:i.push(Bp(e,o,r));break;case`msrow`:case`mrow`:i.push(Lp([...e.children],o,r));break;default:i.push(Lp([e],o,r))}})}function Wp(e){return-e.anchor-e.position}function Gp(e){return e.kind===`digits`?e.cells.length:e.kind===`carries`?e.carries.length:e.length}function Kp(e){return Wp(e)+Gp(e)-1}function qp(e,t,n,r){let i=e=>Ap(r.document,`mpadded`,[t],{width:`0`,...e?{lspace:e}:{}}),a=(e,t)=>Ap(r.document,e,t);switch(n){case`s`:return a(`munder`,[e,i(`-0.5width`)]);case`ne`:return a(`msup`,[e,i()]);case`se`:return a(`msub`,[e,i()]);case`nw`:return a(`mmultiscripts`,[e,a(`mprescripts`,[]),a(`none`,[]),i(`-1width`)]);case`sw`:return a(`mmultiscripts`,[e,a(`mprescripts`,[]),i(`-1width`),a(`none`,[])]);case`w`:return t.setAttribute(`scriptlevel`,`+1`),a(`mrow`,[i(`-1width`),e]);case`e`:return t.setAttribute(`scriptlevel`,`+1`),a(`mrow`,[e,i()]);default:return a(`mover`,[e,i(`-0.5width`)])}}function Jp(e,t,n){let r=Ap(n.document,`menclose`,[e],{notation:t.join(` `),"data-padding":`0.1em`,"data-thickness":`0.067em`}),i=t.some(e=>e.endsWith(`diagonalstrike`))?.167:t.includes(`horizontalstrike`)?.1:0;return i?Ap(n.document,`mpadded`,[r],{lspace:`-${i}em`,width:`-${2*i}em`}):r}function Yp(e,t,n,r,i){let a=e&&t.crossout.length?Jp(e,t.crossout,i):e;if(!t.content)return a;let o=Ap(i.document,`mstyle`,[t.content],{scriptsizemultiplier:r});return qp(a??Mp(i),o,n,i)}function Xp(e,t){return e.carries[t-Wp(e)]??null}function Zp(e,t,n,r){let i=e.content;n.forEach((e,a)=>{let o=n.length-1-a,s=n[o],c=Xp(s,t),l=n.slice(0,o).some(e=>Xp(e,t));if(!c&&!l)return;let u=c??{content:Mp(r),location:`n`,crossout:[]},d=a===0?u.location:`n`;i=Yp(i,u,d,s.scale,r)}),e.content=i}function Qp(e,t){let n=e.filter(e=>Gp(e)>0),r=Math.min(0,...n.map(Wp)),i=Math.max(r,...n.map(Kp))-r+1,a=-r,o=[],s=new Map,c=()=>Array.from({length:i},()=>({content:null,borders:{}})),l=e=>e.length===0?Array.from({length:i},(e,t)=>t):Array.from({length:e.length},(t,n)=>a+Wp(e)+n),u=[],d=[],f=e=>{let n=c();e.cells.forEach((t,r)=>{n[a+Wp(e)+r].content=t}),u.length&&n.forEach((e,n)=>{Zp(e,n-a,u,t)});for(let e of d)for(let t of l(e))n[t].borders.top=e.border;u=[],d=[],s.set(e,o.length),o.push(n)};for(let t of e)t.kind===`digits`?f(t):t.kind===`carries`?u.push(t):d.push(t);(u.length||!o.length)&&f({kind:`digits`,cells:[],anchor:0,position:0});let p=o[o.length-1];for(let e of d)for(let t of l(e))p[t].borders.bottom=e.border;return{rows:o,rowOf:s,origin:a}}function $p(e,{rows:t},n){let r=Ap(n.document,`mtable`,t.map(e=>Ap(n.document,`mtr`,e.map(e=>{let t=Object.entries(e.borders).map(([e,t])=>`border-${e}:${t}`).join(`;`);return Ap(n.document,`mtd`,[e.content],{...t?{style:t}:{},...e.align?{columnalign:e.align}:{}})}))));for(let{name:t,value:n}of[...e.attributes])kp.has(t)||r.setAttribute(t,n);let i=Np(e,`charspacing`)??`medium`,a=Np(e,`charalign`);return r.setAttribute(`columnspacing`,wp[i]??(Tp.test(i)?i:wp.medium)),r.setAttribute(`columnalign`,a===`left`||a===`center`?a:`right`),r.setAttribute(`rowspacing`,`0`),r.setAttribute(`align`,e.getAttribute(`align`)??`baseline`),r}function em(e){return{document:e.ownerDocument,stackAlign:Np(e,`stackalign`)??`decimalpoint`,decimalPoint:e.closest(`[decimalpoint]`)?.getAttribute(`decimalpoint`)?.trim().charAt(0)||`.`}}function tm(e){let t=em(e),n=[];return Up([...e.children],0,0,t,n),$p(e,Qp(n,t),t)}function nm(e,t,n,r,i,a){for(let o=n;o<=r;o++)e[t][o].borders[i]=a}function rm(e,t){let n=jp(t,`)`);return n.setAttribute(`minsize`,`1.2em`),[Ap(t.document,`mrow`,[e,Ap(t.document,`mspace`,[],{width:`0.2em`})]),Ap(t.document,`mpadded`,[n],{voffset:`0.1em`,lspace:`-0.15em`,depth:`-0.2em`,height:`-0.2em`})]}function im(e){let t=em(e),[n,r,...i]=[...e.children],a=n&&!Fp(n)?n:null,o=r&&!Fp(r)?r:null,s=Np(e,`longdivstyle`)??`lefttop`,c=Vp(e),l=[];Up(i,0,0,t,l);let u=l.find(e=>e.kind===`digits`);u||(u={kind:`digits`,cells:[],anchor:0,position:0},l.unshift(u));let d=[],f=(...e)=>{u.cells.unshift(...e),u.anchor+=e.length},p=(...e)=>{let n=e.flatMap(e=>e?e.localName===`mrow`?[...e.children]:[e]:[]);u.cells.push(...Lp(n,0,t).cells)};switch(s){case`left/\\right`:f(a,jp(t,`/`)),p(jp(t,`\\`),o);break;case`left)(right`:f(a,jp(t,`)`)),p(jp(t,`(`),o);break;case`:right=right`:p(jp(t,`:`),a,jp(t,`=`),o);break;case`righttop`:case`stackedleftlinetop`:case`lefttop`:o&&Up([o],0,0,t,d),l.splice(l.indexOf(u),0,...d),s===`righttop`?p(a):s===`stackedleftlinetop`?f(a):f(...rm(a,t));break}let m=Qp(l,t),h=m.rows,g=m.rowOf.get(u)??0,_=e=>m.origin+Wp(u)+e,v=Math.max(_(u.cells.length-1),...d.map(e=>m.origin+Kp(e)));switch(s){case`left/\\right`:case`left)(right`:case`:right=right`:break;case`righttop`:{let e=h[g][_(u.cells.length-1)];e.borders.left=c,e.borders.bottom=c,nm(h,g,_(0),_(u.cells.length-1),`top`,c);break}case`stackedleftlinetop`:{let e=h[g][_(0)];e.borders.right=c,e.borders.bottom=c,nm(h,g,_(1),v,`top`,c);break}case`stackedrightright`:case`mediumstackedrightright`:case`shortstackedrightright`:case`stackedleftleft`:am(h,g,s,a,o,c,t);break;default:nm(h,g,_(1),v,`top`,c)}return $p(e,m,t)}function am(e,t,n,r,i,a,o){let s=n===`stackedleftleft`,c=s?`right`:`left`,l=e=>e&&Ap(o.document,`mpadded`,[e],{lspace:`0.2em`,width:`+0.4em`});e.length<t+2&&e.push(e[0].map(()=>({content:null,borders:{}}))),e.forEach((e,o)=>{let u={content:null,borders:{},align:s?`right`:`left`};o===t?(u.content=l(r),u.borders={[c]:a,bottom:a}):o===t+1?(u.content=l(i),n!==`shortstackedrightright`&&(u.borders[c]=a)):o>t+1&&(n===`stackedrightright`||s)&&(u.borders[c]=a),s?e.unshift(u):e.push(u)})}function om(e){for(let t of[...e.querySelectorAll(`mstack, mlongdiv`)])!t.closest(`math`)||t.closest(`mjx-container`)||t.replaceWith(t.localName===`mstack`?tm(t):im(t))}var sm=`PIE-MJX-explorer-styles`,cm=`var(--pie-text, black)`,lm=`var(--pie-background, #ffffff)`,um=`var(--pie-border-dark, #66686A)`,dm=`var(--pie-focus-outline, var(--pie-button-focus-outline, var(--pie-focus-checked-border, #1565C0)))`,fm=`color-mix(in srgb, ${dm} 15%, transparent)`,pm=`
|
|
48
48
|
:root mjx-container [data-sre-highlight-1]:not([data-mjx-collapsed], rect) {
|
|
49
|
-
color: ${
|
|
50
|
-
fill: ${
|
|
49
|
+
color: ${cm} !important;
|
|
50
|
+
fill: ${cm} !important;
|
|
51
51
|
}
|
|
52
52
|
:root mjx-container:not([data-mjx-clone-container]) [data-sre-highlight-1]:not([data-sre-enclosed], rect) {
|
|
53
|
-
background-color: ${
|
|
53
|
+
background-color: ${fm} !important;
|
|
54
54
|
}
|
|
55
55
|
:root mjx-container rect[data-sre-highlight-1]:not([data-sre-enclosed]) {
|
|
56
|
-
fill: ${
|
|
56
|
+
fill: ${fm} !important;
|
|
57
57
|
}
|
|
58
58
|
:root mjx-container .mjx-selected {
|
|
59
|
-
outline: 2px solid ${
|
|
59
|
+
outline: 2px solid ${dm} !important;
|
|
60
60
|
}
|
|
61
61
|
:root mjx-container [data-sre-highlight-2] {
|
|
62
|
-
color: ${
|
|
62
|
+
color: ${cm} !important;
|
|
63
63
|
background-color: transparent !important;
|
|
64
|
-
fill: ${
|
|
65
|
-
outline: 2px dashed ${
|
|
64
|
+
fill: ${cm} !important;
|
|
65
|
+
outline: 2px dashed ${dm} !important;
|
|
66
66
|
}
|
|
67
67
|
:root mjx-container rect[data-sre-highlight-2] {
|
|
68
68
|
fill: transparent !important;
|
|
69
|
-
stroke: ${
|
|
69
|
+
stroke: ${dm} !important;
|
|
70
70
|
stroke-width: 2px !important;
|
|
71
71
|
vector-effect: non-scaling-stroke;
|
|
72
72
|
}
|
|
73
73
|
:root .MJX_LiveRegion, :root .MJX_HoverRegion, :root .MJX_ToolTip {
|
|
74
|
-
color: ${
|
|
75
|
-
background-color: ${
|
|
76
|
-
border-color: ${
|
|
74
|
+
color: ${cm} !important;
|
|
75
|
+
background-color: ${lm} !important;
|
|
76
|
+
border-color: ${um} !important;
|
|
77
77
|
}
|
|
78
78
|
:root .MJX_LiveRegion > div, :root .MJX_HoverRegion > div {
|
|
79
|
-
color: ${
|
|
80
|
-
background-color: ${
|
|
79
|
+
color: ${cm} !important;
|
|
80
|
+
background-color: ${fm} !important;
|
|
81
81
|
}
|
|
82
|
-
`;function sm(e=document){if(e.getElementById(`PIE-MJX-explorer-styles`))return;let t=e.createElement(`style`);t.id=em,t.textContent=om,e.head.appendChild(t)}var cm=Symbol.for(`@pie-element/shared-math-rendering-mathjax/speech-worker-failed`);function lm(){let e=globalThis;e[cm]||(e[cm]=!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 ${Ff}`))}function um(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(),lm()}function dm(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`,()=>um(e),{once:!0}),a})}`${Rf}`;var fm={parallelogram:`\\lower.2em{\\Huge\\unicode{x25B1}}`,overarc:`\\overparen`,napprox:`\\not\\approx`,longdiv:`\\enclose{longdiv}`,abs:[`\\left|#1\\right|`,1]},pm=`[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)`,mm=/\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/,hm=/\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/,gm=/\\embed\{newLine\}\[\]/g,_m=[[`$$`,`$$`],[`$`,`$`],[`\\[`,`\\]`],[`\\(`,`\\)`]],vm=Symbol.for(`@pie-element/shared-math-rendering-mathjax/loading`),ym=`MJX-CHTML-styles`,bm=`PIE-MJX-SVG-styles`,xm=`PIE-MathJax-Menu-Settings`,Sm={'mjx-container[overflow="linebreak"][display]':{overflow:`auto clip`,"min-width":`initial !important`}},Cm=200,wm=201;function Tm(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 Em(e){for(let[t,n]of _m)if(e.startsWith(t)&&e.endsWith(n))return e.substring(t.length,e.length-n.length);return e}function Dm(e){return Em(e.includes(`\\displaystyle`)?e.replace(`\\displaystyle`,``).trim():e)}var Om=`mathjax_ignore`,km=`mathjax_process`;function Am(e,t){let n=e.closest(`.${Om}, .${km}`);return n!==null&&t.contains(n)&&!n.classList.contains(km)}function jm(e){for(let t of e.querySelectorAll(`[data-latex]`)){if(t.dataset.mathHandled||t.closest(`mjx-container`)||Am(t,e))continue;let n=t.textContent;n&&(t.textContent=`\\(${Dm(n)}\\)`.replace(gm,`\\newline `),t.dataset.mathHandled=`true`)}}function Mm(e){for(let t of e.querySelectorAll(`math`))t.closest(`mjx-container`)||t.setAttribute(`displaystyle`,`true`)}function Nm(e,t){for(let t of e.querySelectorAll(`math`))if(!t.closest(`mjx-assistive-mml`))return!0;return(t?hm:mm).test(e.textContent??``)}function Pm(e){return new Promise((t,n)=>{let{useSingleDollar:r=!1,accessibility:i=!0,loadFonts:a=!0,srcUrl:o}=e,s=Gf(e,{}.url),c={loader:{load:i?[`a11y/assistive-mml`]:[],failed:e=>n(e),"output/svg":{ready:e=>{let t=rp();return Fm(t)&&Im(t),e}}},startup:{typeset:!1,ready:()=>{let e=rp(),r=e?.startup,i=Fm(e);i&&(Im(e),Lm(e,s.speechLocales),Kf(e?._?.a11y?.sre_ts?.locales,s.speechLocales)),r?.defaultReady?.(),i&&(Rm(r?.document),r?.document?.addStyles?.(Sm),dm(r?.document)),Promise.resolve(r?.promise).then(()=>t(),n)}},tex:{macros:{...fm}},output:{displayOverflow:`linebreak`},options:{enableMenu:i,menuOptions:{settings:{assistiveMml:i,enrich:!1,inTabOrder:!1}},a11y:{inTabOrder:!1}}};r&&c.tex&&(console.warn(pm),c.tex.inlineMath=[[`$`,`$`],[`\\(`,`\\)`]],c.tex.processEscapes=!0),a||(c.chtml={fontURL:``});let l=qf(s.speechLocales);l&&c.options&&(c.options.sre={locale:l}),ap(c,{...s,srcUrl:o}).then(e=>{e||t()},n)})}function Fm(e){return!!e?.version?.startsWith(`4.`)}function Im(e){let t=e?._?.output,n=t?.chtml_ts?.CHTML;n&&(n.STYLESHEETID=sp);let r=t?.svg_ts?.SVG;r&&(r.STYLESHEETID=bm)}function Lm(e,t){let n=e?._?.ui?.menu?.Menu?.Menu;if(n){n.MENU_STORAGE=xm;try{let e=localStorage.getItem(xm);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(xm,JSON.stringify(i)):localStorage.removeItem(xm)}catch{}}}function Rm(e){if(!e)return;let t=new WeakSet,n=e=>{let n=e.typesetRoot;!n||t.has(n)||(Tm(n),t.add(n))};e.addRenderAction?.(`pie-strip-latex`,wm,e=>{for(let t of e.math??[])n(t);return!1},e=>{let t=e.typesetRoot;return t&&Tm(t),!1});let r=e.outputJax?.chtmlStyles;r?.id===ym&&(r.id=sp),Vm()}function zm(e){return e instanceof HTMLStyleElement&&cp.includes(e.id)}function Bm(e){tp(`foreign-output-stylesheet`,`another MathJax added <style id="${e.id}"> to <head>`)}function Vm(){let e=document.head,t=[...e.children].find(zm);if(t){Bm(t);return}let n=new MutationObserver(e=>{for(let t of e){let e=[...t.addedNodes].find(zm);if(e){Bm(e),n.disconnect();return}}});n.observe(e,{childList:!0})}function Hm(e){let t=e?.math;if(!t?.remove)return;let n=[...t].filter(e=>(e.state?.()??0)>=Cm&&e.typesetRoot?.isConnected===!1);if(n.length!==0){for(let e of[...n].reverse())e.clear?.();t.remove(...n)}}function Um(e){return new Promise((t,n)=>{let r=e.startup??{};e.startup=r;let i=r.ready;r.ready=()=>{let e=rp()?.startup;i?i.call(r):e?.defaultReady?.(),Promise.resolve(e?.promise).then(()=>t(),n)}})}function Wm(e){let t=rp();return t?t.version?t.startup?.promise?Promise.resolve(t.startup.promise).then(()=>void 0):Promise.resolve():Um(t):Pm(e)}function Gm(e){return Wm(e).then(()=>{let e=rp();e&&typeof e.typesetPromise!=`function`&&console.warn(`[mathjax-renderer] MathJax on this page has no typesetPromise; math stays untypeset.`)})}function Km(e){let t=op,n=t[vm];return n||(n=Gm(e),t[vm]=n),n}function qm(e={}){let t=e.useSingleDollar??!1;return async n=>{if(typeof window>`u`)return;let r=lp();r&&tp(`mathjax-3-global`,`window.MathJax is MathJax ${r}`),jm(n),pp(n),Mm(n),$p(n);let i=Km(e);if(!Nm(n,t)){i.catch(()=>{});return}await i;let a=rp();if(await a?.startup?.promise,typeof a?.typesetPromise==`function`){sm(),Hm(a.startup?.document);try{await a.typesetPromise([n])}catch(e){throw a.typesetClear?.([n]),e}Tm(n)}}}var Jm=`@pie-lib/math-rendering`,Ym=`@pie-lib/math-rendering@2`,Xm=`pie-print`,Zm=50,Qm=1e4,$m=null;function eh(){return!!window[Ym]?.opts?.useSingleDollar}function th(){return $m||=qm({useSingleDollar:eh()}),$m}function nh(){if(typeof window>`u`)return null;let e=window[Jm];return typeof e?.renderMath==`function`&&e.renderMath!==oh?e:null}function rh(e){let t=e;for(;t;){if(t instanceof Element&&t.localName===Xm)return t;t=t instanceof ShadowRoot?t.host:t.parentNode}return null}function ih(){let e=window.renderMath;return typeof e==`function`?e:null}async function ah(e){let t=rh(e);if(!t)return null;let n=ih();if(n||t.mathRenderingModuleUrlImported!==!0)return n;let r=Date.now()+Qm;for(;Date.now()<r;){await new Promise(e=>setTimeout(e,Zm));let e=ih();if(e)return e}return null}var oh=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=nh(),i=r||t?null:await ah(n);return r?await r.renderMath?.(n):i&&i!==oh?await i(n):await th()(n),t?n.innerHTML:void 0},sh={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`}},ch={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`}},$=e=>typeof e==`string`,lh=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},uh=e=>e==null?``:``+e,dh=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},fh=/###/g,ph=e=>e&&e.indexOf(`###`)>-1?e.replace(fh,`.`):e,mh=e=>!e||$(e),hh=(e,t,n)=>{let r=$(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(mh(e))return{};let t=ph(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return mh(e)?{}:{obj:e,k:ph(r[i])}},gh=(e,t,n)=>{let{obj:r,k:i}=hh(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=hh(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=hh(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},_h=(e,t,n,r)=>{let{obj:i,k:a}=hh(e,t,Object);i[a]=i[a]||[],i[a].push(n)},vh=(e,t)=>{let{obj:n,k:r}=hh(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},yh=(e,t,n)=>{let r=vh(e,n);return r===void 0?vh(t,n):r},bh=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(r in e?$(e[r])||e[r]instanceof String||$(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):bh(e[r],t[r],n):e[r]=t[r]);return e},xh=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),Sh={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},Ch=e=>$(e)?e.replace(/[&<>"'\/]/g,e=>Sh[e]):e,wh=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}},Th=[` `,`,`,`?`,`!`,`;`],Eh=new wh(20),Dh=(e,t,n)=>{t||=``,n||=``;let r=Th.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(r.length===0)return!0;let i=Eh.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},Oh=(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},kh=e=>e?.replace(/_/g,`-`),Ah={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)}},jh=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||Ah,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:($(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)}},Mh=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])})}},Nh=class extends Mh{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):$(n)&&i?o.push(...n.split(i)):o.push(n)));let s=vh(this.data,o);return!s&&!t&&!n&&e.indexOf(`.`)>-1&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!$(n)?s:Oh(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),gh(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)($(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=vh(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?bh(s,n,i):s={...s,...n},gh(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}},Ph={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}},Fh=Symbol(`i18next/PATH_KEY`);function Ih(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===Fh?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function Lh(e,t){let{[Fh]:n}=e(Ih()),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 Rh={},zh=e=>!$(e)&&typeof e!=`boolean`&&typeof e!=`number`,Bh=class e extends Mh{constructor(e,t={}){super(),dh([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=jh.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=zh(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&&!Dh(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:$(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:$(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=Lh(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?Lh(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&&!$(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=zh(E),ee=Object.prototype.toString.apply(E);if(y&&E&&D&&_.indexOf(ee)<0&&!($(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:zh(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&&$(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=$(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&&!$(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=$(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=Ph.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 $(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?Lh(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&&!$(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&($(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,!Rh[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(Rh[`${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&&!$(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}},Vh=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=jh.create(`languageUtils`)}getScriptPartFromCode(e){if(e=kh(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=kh(e),!e||e.indexOf(`-`)<0)return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if($(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)),$(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 $(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))):$(e)&&i(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}},Hh={zero:0,one:1,two:2,few:3,many:4,other:5},Uh={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},Wh=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=jh.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=kh(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!`),Uh;if(!e.match(/-|_/))return Uh;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)=>Hh[e]-Hh[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))}},Gh=(e,t,n,r=`.`,i=!0)=>{let a=yh(e,t,n);return!a&&i&&$(n)&&(a=Oh(e,n,r),a===void 0&&(a=Oh(t,n,r))),a},Kh=e=>e.replace(/\$/g,`$$$$`),qh=class{constructor(e={}){this.logger=jh.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?Ch:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?xh(i):a||`{{`,this.suffix=o?xh(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u||`-`,this.unescapeSuffix=this.unescapePrefix?``:l||``,this.nestingPrefix=d?xh(d):f||xh(`$t(`),this.nestingSuffix=p?xh(p):m||xh(`)`),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=Gh(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(Gh(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=>Kh(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?Kh(this.escape(e)):Kh(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=$(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!$(a)&&!this.useRawValueToEscape&&(a=uh(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(`${xh(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&&!$(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&&!$(i))return i;$(i)||(i=uh(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}},Jh=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}},Yh=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(kh(r),i),t[o]=s),s(n)}},Xh=e=>(t,n,r)=>e(kh(n),r)(t),Zh=class{constructor(e={}){this.logger=jh.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?Yh:Xh;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()]=Yh(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}=Jh(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)}},Qh=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},$h=class extends Mh{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=jh.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=>{_h(n.loaded,[i],a),Qh(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();$(e)&&(e=this.languageUtils.toResolveHierarchy(e)),$(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)}}},eg=()=>({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]),$(e[1])&&(t.defaultValue=e[1]),$(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}),tg=e=>($(e.ns)&&(e.ns=[e.ns]),$(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),$(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),ng=()=>{},rg=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},ig=`__i18next_supportNoticeShown`,ag=()=>!!(typeof globalThis<`u`&&globalThis[ig]||typeof process<`u`&&process.env&&process.env.I18NEXT_NO_SUPPORT_NOTICE||typeof process<`u`&&process.env),og=()=>{typeof globalThis<`u`&&(globalThis[ig]=!0)},sg=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)),cg=class e extends Mh{constructor(e={},t){if(super(),this.options=tg(e),this.services={},this.logger=jh,this.modules={external:[]},rg(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&&($(e.ns)?e.defaultNS=e.ns:e.ns.indexOf(`translation`)<0&&(e.defaultNS=e.ns[0]));let n=eg();this.options={...n,...this.options,...tg(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&&!sg(this)&&!ag()&&(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 💙`),og());let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?jh.init(r(this.modules.logger),this.options):jh.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:Zh;let t=new Vh(this.options);this.store=new Nh(this.options.resources,this.options);let i=this.services;i.logger=jh,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new Wh(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 qh(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new $h(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 Bh(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||=ng,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=lh(),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=ng){let n=t,r=$(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=lh();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||=ng,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`&&Ph.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=lh();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=$(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes($(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=Lh(a.keyPrefix,o));let s=this.options.keySeparator||`.`,c;return a.keyPrefix&&Array.isArray(e)?c=e.map(e=>(typeof e==`function`&&(e=Lh(e,o)),`${a.keyPrefix}${s}${e}`)):(typeof e==`function`&&(e=Lh(e,o)),c=a.keyPrefix?`${a.keyPrefix}${s}${e}`:e),this.t(c,a)};return $(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=lh();return this.options.ns?($(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=lh();$(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 Vh(eg());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=ng){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 Nh(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={...eg().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new qh(n)}return a.translator=new Bh(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();cg.createInstance,cg.dir,cg.init,cg.loadResources,cg.reloadResources,cg.use,cg.changeLanguage,cg.getFixedT,cg.t,cg.exists,cg.setDefaultNamespace,cg.hasLoadedNamespace,cg.loadNamespaces,cg.loadLanguages,cg.init({fallbackLng:`en`,lng:`en`,showSupportNotice:!1,resources:{en:sh,es:ch}});var lg={translator:{...cg,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 cg.t(e,{lng:n,...t})}},languageOptions:[{value:`en_US`,label:`English (US)`},{value:`es_ES`,label:`Spanish`}]},ug=e=>`${e}-${Math.random().toString(36).slice(2,10)}`,dg=e=>R.useState(()=>ug(e))[0],{translator:fg}=lg,pg=G(`button`)({display:`inline-block`,minHeight:`24px`,padding:0,border:0,background:`transparent`,font:`inherit`,textAlign:`inherit`,color:kd(),cursor:`pointer`}),mg=G(`span`)({borderBottom:`1px dotted currentColor`}),hg=G(Nf)(({theme:e})=>({paddingTop:e.spacing(2)})),gg=class extends R.Component{static propTypes={className:b.string,children:b.object,labels:b.shape({visible:b.string,hidden:b.string}),language:b.string};static defaultProps={labels:{}};state={expanded:!1};panelId=ug(`pie-collapsible`);toggleExpanded=()=>{this.setState(e=>({expanded:!e.expanded}))};componentDidMount(){oh(this.root)}componentDidUpdate(){oh(this.root)}render(){let{labels:e,children:t,className:n,language:r}=this.props,{expanded:i}=this.state,a=i?e.visible||fg.t(`common:hide`,{lng:r}):e.hidden||fg.t(`common:show`,{lng:r});return(0,B.jsxs)(`div`,{className:n,ref:e=>this.root=e,children:[(0,B.jsx)(`div`,{children:(0,B.jsx)(pg,{type:`button`,"aria-expanded":i,"aria-controls":this.panelId,onClick:this.toggleExpanded,children:(0,B.jsx)(mg,{children:a})})}),(0,B.jsx)(`div`,{id:this.panelId,children:(0,B.jsx)(hg,{in:i,timeout:{enter:225,exit:195},unmountOnExit:!0,children:t})})]})}};function _g(e){try{return e.matches(`:focus-visible`)}catch{}return!1}var vg=class e{static create(){return new e}static use(){let t=rs(e.create).current,[n,r]=R.useState(!1);return t.shouldMount=n,t.setShouldMount=r,R.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=bg(),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 yg(){return vg.use()}function bg(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function xg(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,d]=R.useState(!1),f=V(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},m=V(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),R.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,B.jsx)(`span`,{className:f,style:p,children:(0,B.jsx)(`span`,{className:m})})}var Sg=Rr(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Cg=550,wg=Ft`
|
|
82
|
+
`;function mm(e=document){if(e.getElementById(`PIE-MJX-explorer-styles`))return;let t=e.createElement(`style`);t.id=sm,t.textContent=pm,e.head.appendChild(t)}var hm=Symbol.for(`@pie-element/shared-math-rendering-mathjax/speech-worker-failed`);function gm(){let e=globalThis;e[hm]||(e[hm]=!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 ${Hf}`))}function _m(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(),gm()}function vm(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`,()=>_m(e),{once:!0}),a})}`${Gf}`;var ym={parallelogram:`\\lower.2em{\\Huge\\unicode{x25B1}}`,overarc:`\\overparen`,napprox:`\\not\\approx`,longdiv:`\\enclose{longdiv}`,abs:[`\\left|#1\\right|`,1]},bm=`[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)`,xm=/\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/,Sm=/\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/,Cm=/\\embed\{newLine\}\[\]/g,wm=[[`$$`,`$$`],[`$`,`$`],[`\\[`,`\\]`],[`\\(`,`\\)`]],Tm=Symbol.for(`@pie-element/shared-math-rendering-mathjax/loading`),Em=`MJX-CHTML-styles`,Dm=`PIE-MJX-SVG-styles`,Om=`PIE-MathJax-Menu-Settings`,km={'mjx-container[overflow="linebreak"][display]':{overflow:`auto clip`,"min-width":`initial !important`}},Am=200,jm=201;function Mm(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 Nm(e){for(let[t,n]of wm)if(e.startsWith(t)&&e.endsWith(n))return e.substring(t.length,e.length-n.length);return e}function Pm(e){return Nm(e.includes(`\\displaystyle`)?e.replace(`\\displaystyle`,``).trim():e)}var Fm=`mathjax_ignore`,Im=`mathjax_process`;function Lm(e,t){let n=e.closest(`.${Fm}, .${Im}`);return n!==null&&t.contains(n)&&!n.classList.contains(Im)}function Rm(e){for(let t of e.querySelectorAll(`[data-latex]`)){if(t.dataset.mathHandled||t.closest(`mjx-container`)||Lm(t,e))continue;let n=t.textContent;n&&(t.textContent=`\\(${Pm(n)}\\)`.replace(Cm,`\\newline `),t.dataset.mathHandled=`true`)}}function zm(e){for(let t of e.querySelectorAll(`math`))t.closest(`mjx-container`)||t.setAttribute(`displaystyle`,`true`)}function Bm(e,t){for(let t of e.querySelectorAll(`math`))if(!t.closest(`mjx-assistive-mml`))return!0;return(t?Sm:xm).test(e.textContent??``)}function Vm(e){return new Promise((t,n)=>{let{useSingleDollar:r=!1,accessibility:i=!0,loadFonts:a=!0,srcUrl:o}=e,s=Qf(e,{}.url),c={loader:{load:i?[`a11y/assistive-mml`]:[],failed:e=>n(e),"output/svg":{ready:e=>{let t=up();return Hm(t)&&Um(t),e}}},startup:{typeset:!1,ready:()=>{let e=up(),r=e?.startup,i=Hm(e);i&&(Um(e),Wm(e,s.speechLocales),$f(e?._?.a11y?.sre_ts?.locales,s.speechLocales)),r?.defaultReady?.(),i&&(Gm(r?.document),r?.document?.addStyles?.(km),vm(r?.document)),Promise.resolve(r?.promise).then(()=>t(),n)}},tex:{macros:{...ym}},output:{displayOverflow:`linebreak`},options:{enableMenu:i,menuOptions:{settings:{assistiveMml:i,enrich:!1,inTabOrder:!1}},a11y:{inTabOrder:!1}}};r&&c.tex&&(console.warn(bm),c.tex.inlineMath=[[`$`,`$`],[`\\(`,`\\)`]],c.tex.processEscapes=!0),a||(c.chtml={fontURL:``});let l=ep(s.speechLocales);l&&c.options&&(c.options.sre={locale:l}),fp(c,{...s,srcUrl:o}).then(e=>{e||t()},n)})}function Hm(e){return!!e?.version?.startsWith(`4.`)}function Um(e){let t=e?._?.output,n=t?.chtml_ts?.CHTML;n&&(n.STYLESHEETID=mp);let r=t?.svg_ts?.SVG;r&&(r.STYLESHEETID=Dm)}function Wm(e,t){let n=e?._?.ui?.menu?.Menu?.Menu;if(n){n.MENU_STORAGE=Om;try{let e=localStorage.getItem(Om);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(Om,JSON.stringify(i)):localStorage.removeItem(Om)}catch{}}}function Gm(e){if(!e)return;let t=new WeakSet,n=e=>{let n=e.typesetRoot;!n||t.has(n)||(Mm(n),t.add(n))};e.addRenderAction?.(`pie-strip-latex`,jm,e=>{for(let t of e.math??[])n(t);return!1},e=>{let t=e.typesetRoot;return t&&Mm(t),!1});let r=e.outputJax?.chtmlStyles;r?.id===Em&&(r.id=mp),Jm()}function Km(e){return e instanceof HTMLStyleElement&&hp.includes(e.id)}function qm(e){cp(`foreign-output-stylesheet`,`another MathJax added <style id="${e.id}"> to <head>`)}function Jm(){let e=document.head,t=[...e.children].find(Km);if(t){qm(t);return}let n=new MutationObserver(e=>{for(let t of e){let e=[...t.addedNodes].find(Km);if(e){qm(e),n.disconnect();return}}});n.observe(e,{childList:!0})}function Ym(e){let t=e?.math;if(!t?.remove)return;let n=[...t].filter(e=>(e.state?.()??0)>=Am&&e.typesetRoot?.isConnected===!1);if(n.length!==0){for(let e of[...n].reverse())e.clear?.();t.remove(...n)}}function Xm(e){return new Promise((t,n)=>{let r=e.startup??{};e.startup=r;let i=r.ready;r.ready=()=>{let e=up()?.startup;i?i.call(r):e?.defaultReady?.(),Promise.resolve(e?.promise).then(()=>t(),n)}})}function Zm(e){let t=up();return t?t.version?t.startup?.promise?Promise.resolve(t.startup.promise).then(()=>void 0):Promise.resolve():Xm(t):Vm(e)}function Qm(e){return Zm(e).then(()=>{let e=up();e&&typeof e.typesetPromise!=`function`&&console.warn(`[mathjax-renderer] MathJax on this page has no typesetPromise; math stays untypeset.`)})}function $m(e){let t=pp,n=t[Tm];return n||(n=Qm(e),t[Tm]=n),n}function eh(e={}){let t=e.useSingleDollar??!1;return async n=>{if(typeof window>`u`)return;let r=gp();r&&cp(`mathjax-3-global`,`window.MathJax is MathJax ${r}`),Rm(n),bp(n),zm(n),om(n);let i=$m(e);if(!Bm(n,t)){i.catch(()=>{});return}await i;let a=up();if(await a?.startup?.promise,typeof a?.typesetPromise==`function`){mm(),Ym(a.startup?.document);try{await a.typesetPromise([n])}catch(e){throw a.typesetClear?.([n]),e}Mm(n)}}}var th=`@pie-lib/math-rendering`,nh=`@pie-lib/math-rendering@2`,rh=`pie-print`,ih=50,ah=1e4,oh=null;function sh(){return!!window[nh]?.opts?.useSingleDollar}function ch(){return oh||=eh({useSingleDollar:sh()}),oh}function lh(){if(typeof window>`u`)return null;let e=window[th];return typeof e?.renderMath==`function`&&e.renderMath!==ph?e:null}function uh(e){let t=e;for(;t;){if(t instanceof Element&&t.localName===rh)return t;t=t instanceof ShadowRoot?t.host:t.parentNode}return null}function dh(){let e=window.renderMath;return typeof e==`function`?e:null}async function fh(e){let t=uh(e);if(!t)return null;let n=dh();if(n||t.mathRenderingModuleUrlImported!==!0)return n;let r=Date.now()+ah;for(;Date.now()<r;){await new Promise(e=>setTimeout(e,ih));let e=dh();if(e)return e}return null}var ph=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=lh(),i=r||t?null:await fh(n);return r?await r.renderMath?.(n):i&&i!==ph?await i(n):await ch()(n),t?n.innerHTML:void 0},mh={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`}},hh={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`}},$=e=>typeof e==`string`,gh=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},_h=e=>e==null?``:``+e,vh=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},yh=/###/g,bh=e=>e&&e.indexOf(`###`)>-1?e.replace(yh,`.`):e,xh=e=>!e||$(e),Sh=(e,t,n)=>{let r=$(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(xh(e))return{};let t=bh(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return xh(e)?{}:{obj:e,k:bh(r[i])}},Ch=(e,t,n)=>{let{obj:r,k:i}=Sh(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=Sh(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=Sh(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},wh=(e,t,n,r)=>{let{obj:i,k:a}=Sh(e,t,Object);i[a]=i[a]||[],i[a].push(n)},Th=(e,t)=>{let{obj:n,k:r}=Sh(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Eh=(e,t,n)=>{let r=Th(e,n);return r===void 0?Th(t,n):r},Dh=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(r in e?$(e[r])||e[r]instanceof String||$(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Dh(e[r],t[r],n):e[r]=t[r]);return e},Oh=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),kh={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},Ah=e=>$(e)?e.replace(/[&<>"'\/]/g,e=>kh[e]):e,jh=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}},Mh=[` `,`,`,`?`,`!`,`;`],Nh=new jh(20),Ph=(e,t,n)=>{t||=``,n||=``;let r=Mh.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(r.length===0)return!0;let i=Nh.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},Fh=(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},Ih=e=>e?.replace(/_/g,`-`),Lh={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)}},Rh=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||Lh,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:($(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)}},zh=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])})}},Bh=class extends zh{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):$(n)&&i?o.push(...n.split(i)):o.push(n)));let s=Th(this.data,o);return!s&&!t&&!n&&e.indexOf(`.`)>-1&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!$(n)?s:Fh(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),Ch(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)($(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=Th(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Dh(s,n,i):s={...s,...n},Ch(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}},Vh={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}},Hh=Symbol(`i18next/PATH_KEY`);function Uh(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===Hh?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function Wh(e,t){let{[Hh]:n}=e(Uh()),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 Gh={},Kh=e=>!$(e)&&typeof e!=`boolean`&&typeof e!=`number`,qh=class e extends zh{constructor(e,t={}){super(),vh([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=Rh.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=Kh(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&&!Ph(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:$(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:$(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=Wh(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?Wh(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&&!$(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=Kh(E),ee=Object.prototype.toString.apply(E);if(y&&E&&D&&_.indexOf(ee)<0&&!($(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:Kh(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&&$(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=$(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&&!$(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=$(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=Vh.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 $(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?Wh(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&&!$(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&($(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,!Gh[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(Gh[`${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&&!$(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}},Jh=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Rh.create(`languageUtils`)}getScriptPartFromCode(e){if(e=Ih(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=Ih(e),!e||e.indexOf(`-`)<0)return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if($(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)),$(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 $(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))):$(e)&&i(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&i(this.formatLanguageCode(e))}),r}},Yh={zero:0,one:1,two:2,few:3,many:4,other:5},Xh={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},Zh=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=Rh.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=Ih(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!`),Xh;if(!e.match(/-|_/))return Xh;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)=>Yh[e]-Yh[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))}},Qh=(e,t,n,r=`.`,i=!0)=>{let a=Eh(e,t,n);return!a&&i&&$(n)&&(a=Fh(e,n,r),a===void 0&&(a=Fh(t,n,r))),a},$h=e=>e.replace(/\$/g,`$$$$`),eg=class{constructor(e={}){this.logger=Rh.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?Ah:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?Oh(i):a||`{{`,this.suffix=o?Oh(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u||`-`,this.unescapeSuffix=this.unescapePrefix?``:l||``,this.nestingPrefix=d?Oh(d):f||Oh(`$t(`),this.nestingSuffix=p?Oh(p):m||Oh(`)`),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=Qh(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(Qh(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=>$h(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?$h(this.escape(e)):$h(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=$(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!$(a)&&!this.useRawValueToEscape&&(a=_h(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(`${Oh(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&&!$(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&&!$(i))return i;$(i)||(i=_h(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}},tg=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}},ng=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(Ih(r),i),t[o]=s),s(n)}},rg=e=>(t,n,r)=>e(Ih(n),r)(t),ig=class{constructor(e={}){this.logger=Rh.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?ng:rg;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()]=ng(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}=tg(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)}},ag=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},og=class extends zh{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=Rh.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=>{wh(n.loaded,[i],a),ag(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();$(e)&&(e=this.languageUtils.toResolveHierarchy(e)),$(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)}}},sg=()=>({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]),$(e[1])&&(t.defaultValue=e[1]),$(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}),cg=e=>($(e.ns)&&(e.ns=[e.ns]),$(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),$(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),lg=()=>{},ug=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},dg=`__i18next_supportNoticeShown`,fg=()=>!!(typeof globalThis<`u`&&globalThis[dg]||typeof process<`u`&&process.env&&process.env.I18NEXT_NO_SUPPORT_NOTICE||typeof process<`u`&&process.env),pg=()=>{typeof globalThis<`u`&&(globalThis[dg]=!0)},mg=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)),hg=class e extends zh{constructor(e={},t){if(super(),this.options=cg(e),this.services={},this.logger=Rh,this.modules={external:[]},ug(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&&($(e.ns)?e.defaultNS=e.ns:e.ns.indexOf(`translation`)<0&&(e.defaultNS=e.ns[0]));let n=sg();this.options={...n,...this.options,...cg(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&&!mg(this)&&!fg()&&(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 💙`),pg());let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?Rh.init(r(this.modules.logger),this.options):Rh.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:ig;let t=new Jh(this.options);this.store=new Bh(this.options.resources,this.options);let i=this.services;i.logger=Rh,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new Zh(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 eg(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new og(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 qh(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||=lg,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=gh(),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=lg){let n=t,r=$(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=gh();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||=lg,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`&&Vh.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=gh();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=$(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes($(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=Wh(a.keyPrefix,o));let s=this.options.keySeparator||`.`,c;return a.keyPrefix&&Array.isArray(e)?c=e.map(e=>(typeof e==`function`&&(e=Wh(e,o)),`${a.keyPrefix}${s}${e}`)):(typeof e==`function`&&(e=Wh(e,o)),c=a.keyPrefix?`${a.keyPrefix}${s}${e}`:e),this.t(c,a)};return $(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=gh();return this.options.ns?($(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=gh();$(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 Jh(sg());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=lg){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 Bh(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={...sg().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new eg(n)}return a.translator=new qh(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();hg.createInstance,hg.dir,hg.init,hg.loadResources,hg.reloadResources,hg.use,hg.changeLanguage,hg.getFixedT,hg.t,hg.exists,hg.setDefaultNamespace,hg.hasLoadedNamespace,hg.loadNamespaces,hg.loadLanguages,hg.init({fallbackLng:`en`,lng:`en`,showSupportNotice:!1,resources:{en:mh,es:hh}});var gg={translator:{...hg,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 hg.t(e,{lng:n,...t})}},languageOptions:[{value:`en_US`,label:`English (US)`},{value:`es_ES`,label:`Spanish`}]},_g=e=>`${e}-${Math.random().toString(36).slice(2,10)}`,vg=e=>R.useState(()=>_g(e))[0],{translator:yg}=gg,bg=G(`button`)({display:`inline-block`,minHeight:`24px`,padding:0,border:0,background:`transparent`,font:`inherit`,textAlign:`inherit`,color:Id(),cursor:`pointer`}),xg=G(`span`)({borderBottom:`1px dotted currentColor`}),Sg=G(Bf)(({theme:e})=>({paddingTop:e.spacing(2)})),Cg=class extends R.Component{static propTypes={className:b.string,children:b.object,labels:b.shape({visible:b.string,hidden:b.string}),language:b.string};static defaultProps={labels:{}};state={expanded:!1};panelId=_g(`pie-collapsible`);toggleExpanded=()=>{this.setState(e=>({expanded:!e.expanded}))};componentDidMount(){ph(this.root)}componentDidUpdate(){ph(this.root)}render(){let{labels:e,children:t,className:n,language:r}=this.props,{expanded:i}=this.state,a=i?e.visible||yg.t(`common:hide`,{lng:r}):e.hidden||yg.t(`common:show`,{lng:r});return(0,B.jsxs)(`div`,{className:n,ref:e=>this.root=e,children:[(0,B.jsx)(`div`,{children:(0,B.jsx)(bg,{type:`button`,"aria-expanded":i,"aria-controls":this.panelId,onClick:this.toggleExpanded,children:(0,B.jsx)(xg,{children:a})})}),(0,B.jsx)(`div`,{id:this.panelId,children:(0,B.jsx)(Sg,{in:i,timeout:{enter:225,exit:195},unmountOnExit:!0,children:t})})]})}};function wg(e){try{return e.matches(`:focus-visible`)}catch{}return!1}var Tg=class e{static create(){return new e}static use(){let t=rs(e.create).current,[n,r]=R.useState(!1);return t.shouldMount=n,t.setShouldMount=r,R.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=Dg(),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 Eg(){return Tg.use()}function Dg(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function Og(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,d]=R.useState(!1),f=V(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},m=V(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),R.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,B.jsx)(`span`,{className:f,style:p,children:(0,B.jsx)(`span`,{className:m})})}var kg=Rr(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Ag=550,jg=Ft`
|
|
83
83
|
0% {
|
|
84
84
|
transform: scale(0);
|
|
85
85
|
opacity: 0.1;
|
|
@@ -89,7 +89,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
89
89
|
transform: scale(1);
|
|
90
90
|
opacity: 0.3;
|
|
91
91
|
}
|
|
92
|
-
`,
|
|
92
|
+
`,Mg=Ft`
|
|
93
93
|
0% {
|
|
94
94
|
opacity: 1;
|
|
95
95
|
}
|
|
@@ -97,7 +97,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
97
97
|
100% {
|
|
98
98
|
opacity: 0;
|
|
99
99
|
}
|
|
100
|
-
`,
|
|
100
|
+
`,Ng=Ft`
|
|
101
101
|
0% {
|
|
102
102
|
transform: scale(1);
|
|
103
103
|
}
|
|
@@ -109,23 +109,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
109
109
|
100% {
|
|
110
110
|
transform: scale(1);
|
|
111
111
|
}
|
|
112
|
-
`,
|
|
112
|
+
`,Pg=G(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),Fg=G(Og,{name:`MuiTouchRipple`,slot:`Ripple`})`
|
|
113
113
|
opacity: 0;
|
|
114
114
|
position: absolute;
|
|
115
115
|
|
|
116
|
-
&.${
|
|
116
|
+
&.${kg.rippleVisible} {
|
|
117
117
|
opacity: 0.3;
|
|
118
118
|
transform: scale(1);
|
|
119
|
-
animation-name: ${
|
|
120
|
-
animation-duration: ${
|
|
119
|
+
animation-name: ${jg};
|
|
120
|
+
animation-duration: ${Ag}ms;
|
|
121
121
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
&.${
|
|
124
|
+
&.${kg.ripplePulsate} {
|
|
125
125
|
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
& .${
|
|
128
|
+
& .${kg.child} {
|
|
129
129
|
opacity: 1;
|
|
130
130
|
display: block;
|
|
131
131
|
width: 100%;
|
|
@@ -134,25 +134,25 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
134
134
|
background-color: currentColor;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
& .${
|
|
137
|
+
& .${kg.childLeaving} {
|
|
138
138
|
opacity: 0;
|
|
139
|
-
animation-name: ${
|
|
140
|
-
animation-duration: ${
|
|
139
|
+
animation-name: ${Mg};
|
|
140
|
+
animation-duration: ${Ag}ms;
|
|
141
141
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
& .${
|
|
144
|
+
& .${kg.childPulsate} {
|
|
145
145
|
position: absolute;
|
|
146
146
|
/* @noflip */
|
|
147
147
|
left: 0px;
|
|
148
148
|
top: 0;
|
|
149
|
-
animation-name: ${
|
|
149
|
+
animation-name: ${Ng};
|
|
150
150
|
animation-duration: 2500ms;
|
|
151
151
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
152
152
|
animation-iteration-count: infinite;
|
|
153
153
|
animation-delay: 200ms;
|
|
154
154
|
}
|
|
155
|
-
`,
|
|
155
|
+
`,Ig=R.forwardRef(function(e,t){let{center:n=!1,classes:r={},className:i,...a}=Yo({props:e,name:`MuiTouchRipple`}),[o,s]=R.useState([]),c=R.useRef(0),l=R.useRef(null);R.useEffect(()=>{l.current&&=(l.current(),null)},[o]);let u=R.useRef(!1),d=ss(),f=R.useRef(null),p=R.useRef(null),m=R.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:i,rippleSize:a,cb:o}=e;s(e=>[...e,(0,B.jsx)(Fg,{classes:{ripple:V(r.ripple,kg.ripple),rippleVisible:V(r.rippleVisible,kg.rippleVisible),ripplePulsate:V(r.ripplePulsate,kg.ripplePulsate),child:V(r.child,kg.child),childLeaving:V(r.childLeaving,kg.childLeaving),childPulsate:V(r.childPulsate,kg.childPulsate)},timeout:Ag,pulsate:t,rippleX:n,rippleY:i,rippleSize:a},c.current)]),c.current+=1,l.current=o},[r]),h=R.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=R.useCallback(()=>{h({},{pulsate:!0})},[h]),_=R.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 R.useImperativeHandle(t,()=>({pulsate:g,start:h,stop:_}),[g,h,_]),(0,B.jsx)(Pg,{className:V(kg.root,r.root,i),ref:p,...a,children:(0,B.jsx)(Rs,{component:null,exit:!0,children:o})})});function Lg(e){return Lr(`MuiButtonBase`,e)}var Rg=Rr(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),zg=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=ra({root:[`root`,t&&`disabled`,n&&`focusVisible`]},Lg,i);return n&&r&&(a.root+=` ${r}`),a},Bg=G(`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`},[`&.${Rg.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),Vg=R.forwardRef(function(e,t){let n=Yo({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:ee=0,TouchRippleProps:O,touchRippleRef:te,type:k,...A}=n,ne=R.useRef(null),j=Eg(),re=Ws(j.ref,te),[ie,ae]=R.useState(!1);c&&ie&&ae(!1),R.useImperativeHandle(r,()=>({focusVisible:()=>{ae(!0),ne.current.focus()}}),[]);let oe=j.shouldMount&&!l&&!c;R.useEffect(()=>{ie&&d&&!l&&j.pulsate()},[l,d,ie,j]);let M=Hg(j,`start`,S,u),N=Hg(j,`stop`,g,u),se=Hg(j,`stop`,_,u),P=Hg(j,`stop`,w,u),ce=Hg(j,`stop`,e=>{ie&&e.preventDefault(),C&&C(e)},u),le=Hg(j,`start`,D,u),ue=Hg(j,`stop`,T,u),de=Hg(j,`stop`,E,u),fe=Hg(j,`stop`,e=>{wg(e.target)||ae(!1),m&&m(e)},!1),pe=il(e=>{ne.current||=e.currentTarget,wg(e.target)&&(ae(!0),y&&y(e)),v&&v(e)}),me=()=>{let e=ne.current;return e?e.tagName!==`BUTTON`&&!(e.tagName===`A`&&e.href):s&&s!==`button`},F=il(e=>{d&&!e.repeat&&ie&&e.key===` `&&j.stop(e,()=>{j.start(e)}),e.target===e.currentTarget&&me()&&e.key===` `&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&me()&&e.key===`Enter`&&!c&&(e.preventDefault(),h&&h(e))}),he=il(e=>{d&&e.key===` `&&ie&&!e.defaultPrevented&&j.stop(e,()=>{j.pulsate(e)}),x&&x(e),h&&e.target===e.currentTarget&&me()&&e.key===` `&&!e.defaultPrevented&&!c&&h(e)}),I=s;I===`button`&&(A.href||A.to)&&(I=p);let ge={};if(I===`button`){let e=!!A.formAction;ge.type=k===void 0&&!e?`button`:k,ge.disabled=c}else!A.href&&!A.to&&(ge.role=`button`),c&&(ge[`aria-disabled`]=c);let L=Ws(t,ne),_e={...n,centerRipple:i,component:s,disabled:c,disableRipple:l,disableTouchRipple:u,focusRipple:d,tabIndex:ee,focusVisible:ie},ve=zg(_e);return(0,B.jsxs)(Bg,{as:I,className:V(ve.root,o),ownerState:_e,onBlur:fe,onClick:h,onContextMenu:N,onFocus:pe,onKeyDown:F,onKeyUp:he,onMouseDown:M,onMouseLeave:ce,onMouseUp:P,onDragLeave:se,onTouchEnd:ue,onTouchMove:de,onTouchStart:le,ref:L,tabIndex:c?-1:ee,type:k,...ge,...A,children:[a,oe?(0,B.jsx)(Ig,{ref:re,center:i,...O}):null]})});function Hg(e,t,n,r=!1){return il(i=>(n&&n(i),r||e[t](i),!0))}function Ug(e){return typeof e.main==`string`}function Wg(e,t=[]){if(!Ug(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function Gg(e=[]){return([,t])=>t&&Wg(t,e)}function Kg(e){return Lr(`MuiCircularProgress`,e)}Rr(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`track`,`circle`,`circleDeterminate`,`circleIndeterminate`,`circleDisableShrink`]);var qg=44,Jg=Ft`
|
|
156
156
|
0% {
|
|
157
157
|
transform: rotate(0deg);
|
|
158
158
|
}
|
|
@@ -160,7 +160,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
160
160
|
100% {
|
|
161
161
|
transform: rotate(360deg);
|
|
162
162
|
}
|
|
163
|
-
`,
|
|
163
|
+
`,Yg=Ft`
|
|
164
164
|
0% {
|
|
165
165
|
stroke-dasharray: 1px, 200px;
|
|
166
166
|
stroke-dashoffset: 0;
|
|
@@ -175,8 +175,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
175
175
|
stroke-dasharray: 1px, 200px;
|
|
176
176
|
stroke-dashoffset: -126px;
|
|
177
177
|
}
|
|
178
|
-
`,
|
|
179
|
-
animation: ${
|
|
180
|
-
`,
|
|
181
|
-
animation: ${
|
|
182
|
-
`,Gg=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return ra({root:[`root`,n,`color${Y(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,`circle${Y(n)}`,i&&`circleDisableShrink`]},zg,t)},Kg=G(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Y(n.color)}`]]}})(bc(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:Ug||{animation:`${Vg} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Rg()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),qg=G(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),Jg=G(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${Y(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(bc(({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:Wg||{animation:`${Hg} 1.4s ease-in-out infinite`}}]}))),Yg=G(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(bc(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),Xg=R.forwardRef(function(e,t){let n=Yo({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=Gg(p),h={},g={},_={};if(d===`determinate`){let e=2*Math.PI*((Bg-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,B.jsx)(Kg,{className:V(m.root,r),style:{width:s,height:s,...g,...c},ownerState:p,ref:t,role:`progressbar`,..._,...f,children:(0,B.jsxs)(qg,{className:m.svg,ownerState:p,viewBox:`${Bg/2} ${Bg/2} ${Bg} ${Bg}`,children:[o?(0,B.jsx)(Yg,{className:m.track,ownerState:p,cx:Bg,cy:Bg,r:(Bg-l)/2,fill:`none`,strokeWidth:l,"aria-hidden":`true`}):null,(0,B.jsx)(Jg,{className:m.circle,style:h,ownerState:p,cx:Bg,cy:Bg,r:(Bg-l)/2,fill:`none`,strokeWidth:l})]})})});function Zg(e){return Lr(`MuiButton`,e)}var Qg=Rr(`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(`.`)),$g=R.createContext({}),e_=R.createContext(void 0),t_=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=ra({root:[`root`,o&&`loading`,a,`${a}${Y(t)}`,`size${Y(i)}`,`${a}Size${Y(i)}`,`color${Y(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${Y(s)}`],startIcon:[`icon`,`startIcon`,`iconSize${Y(i)}`],endIcon:[`icon`,`endIcon`,`iconSize${Y(i)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},Zg,c);return{...c,...l}},n_=[{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}}}],r_=G(Pg,{shouldForwardProp:e=>vo(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Y(n.color)}`],t[`size${Y(n.size)}`],t[`${n.variant}Size${Y(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(bc(({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`},[`&.${Qg.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]},[`&.${Qg.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Qg.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)`,[`&.${Qg.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(Rg()).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`},[`&.${Qg.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${Qg.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}),[`&.${Qg.loading}`]:{color:`transparent`}}}]}})),i_=G(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${Y(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}},...n_]})),a_=G(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${Y(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}},...n_]})),o_=G(`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}}]})),s_=G(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),c_=R.forwardRef(function(e,t){let n=R.useContext($g),r=R.useContext(e_),i=Yo({props:Zr(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=rl(h),T=_??(0,B.jsx)(Xg,{"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=t_(E),ee=(b||g&&v===`start`)&&(0,B.jsx)(i_,{className:D.startIcon,ownerState:E,children:b||(0,B.jsx)(s_,{className:D.loadingIconPlaceholder,ownerState:E})}),O=(f||g&&v===`end`)&&(0,B.jsx)(a_,{className:D.endIcon,ownerState:E,children:f||(0,B.jsx)(s_,{className:D.loadingIconPlaceholder,ownerState:E})}),te=r||``,k=typeof g==`boolean`?(0,B.jsx)(`span`,{className:D.loadingWrapper,style:{display:`contents`},children:g&&(0,B.jsx)(o_,{className:D.loadingIndicator,ownerState:E,children:T})}):null,{root:A,...ne}=D;return(0,B.jsxs)(r_,{ownerState:E,className:V(n.className,D.root,c,te),component:s,disabled:l||g,focusRipple:!d,focusVisibleClassName:V(D.focusVisible,p),ref:t,type:x,id:g?w:h,...C,classes:ne,children:[ee,v!==`end`&&k,a,v===`end`&&k,O]})}),l_=el((0,B.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`),u_=el((0,B.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`),d_=G(`div`)({display:`flex`,flexDirection:`column`}),f_=G(`div`)({display:`flex`,alignItems:`center`,justifyContent:`center`}),p_=G(`div`)(({theme:e})=>({width:`24px`,height:`24px`,color:`gray`,marginRight:e.spacing(1),display:`flex`,alignItems:`center`})),m_=G(c_)(({theme:e})=>({display:`flex`,alignItems:`center`,marginLeft:e.spacing(3),marginRight:e.spacing(3)})),h_=e=>{class t extends R.Component{static propTypes={session:b.object,onSessionChange:b.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,B.jsxs)(d_,{children:[(0,B.jsxs)(f_,{children:[(0,B.jsxs)(m_,{color:`primary`,disabled:n.length===0,onClick:this.onUndo,children:[(0,B.jsx)(p_,{children:(0,B.jsx)(u_,{})}),`Undo`]}),(0,B.jsxs)(m_,{color:`primary`,disabled:n.length===0,onClick:this.onReset,children:[(0,B.jsx)(p_,{children:(0,B.jsx)(l_,{})}),`Start Over`]})]}),(0,B.jsx)(e,{...t,session:r,onSessionChange:this.onSessionChange})]})}}return t},g_=mo({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`}}}}}}),__=G(`div`)({"& table, th, td":{fontSize:`inherit`}}),v_=class extends R.Component{static propTypes={className:b.string,children:b.array,extraCSSRules:b.shape({names:b.arrayOf(b.string),rules:b.string}),fontSizeFactor:b.number};static defaultProps={extraCSSRules:{},fontSizeFactor:1};constructor(e){super(e),this.classesSheet=document.createElement(`style`)}scopeClass=ug(`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,B.jsx)(Xt,{injectFirst:!0,children:(0,B.jsxs)(To,{theme:g_,children:[i?.rules?(0,B.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`.${this.scopeClass} { ${i.rules} }`}}):null,(0,B.jsx)(__,{className:`${t} extraCSSRules ${this.scopeClass}`,...a,...o&&{style:o},children:e})]})})}},y_=G(v_)({display:`flex`,flexDirection:`column`,position:`relative`}),b_=class extends R.Component{static propTypes={ariaLabel:b.string,children:b.oneOfType([b.arrayOf(b.node),b.node]).isRequired,role:b.string,extraCSSRules:b.shape({names:b.arrayOf(b.string),rules:b.string}),fontSizeFactor:b.number};render(){let{children:e,ariaLabel:t,role:n,extraCSSRules:r,fontSizeFactor:i,classes:a}=this.props;return(0,B.jsx)(y_,{...t?{"aria-label":t,role:n}:{},extraCSSRules:r,fontSizeFactor:i,classes:a,children:e})}},x_=class extends R.Component{static propTypes={tag:b.string,className:b.string,html:b.string};static defaultProps={tag:`div`,html:``};render(){let{tag:e,className:t,html:n}=this.props;return(0,B.jsx)(e||`div`,{ref:e=>this.node=e,className:t,dangerouslySetInnerHTML:{__html:Zu(n)}})}};function S_({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 C_=R.createContext(void 0);function w_(){return R.useContext(C_)}function T_(e){return Lr(`MuiFormLabel`,e)}var E_=Rr(`MuiFormLabel`,[`root`,`colorSecondary`,`focused`,`disabled`,`error`,`filled`,`required`,`asterisk`]),D_=e=>{let{classes:t,color:n,focused:r,disabled:i,error:a,filled:o,required:s}=e;return ra({root:[`root`,`color${Y(n)}`,i&&`disabled`,a&&`error`,o&&`filled`,r&&`focused`,s&&`required`],asterisk:[`asterisk`,a&&`error`]},T_,t)},O_=G(`label`,{name:`MuiFormLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color===`secondary`&&t.colorSecondary,n.filled&&t.filled]}})(bc(({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(Rg()).map(([t])=>({props:{color:t},style:{[`&.${E_.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${E_.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${E_.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),k_=G(`span`,{name:`MuiFormLabel`,slot:`Asterisk`})(bc(({theme:e})=>({[`&.${E_.error}`]:{color:(e.vars||e).palette.error.main}}))),A_=R.forwardRef(function(e,t){let n=Yo({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=S_({props:n,muiFormControl:w_(),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=D_(m);return(0,B.jsxs)(O_,{as:o,ownerState:m,className:V(h.root,i),ref:t,...f,children:[r,p.required&&(0,B.jsxs)(k_,{ownerState:m,"aria-hidden":!0,className:h.asterisk,children:[` `,`*`]})]})});function j_(e){return Lr(`MuiInputLabel`,e)}Rr(`MuiInputLabel`,[`root`,`focused`,`disabled`,`error`,`required`,`asterisk`,`formControl`,`sizeSmall`,`shrink`,`animated`,`standard`,`filled`,`outlined`]);var M_=e=>{let{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:o,required:s}=e,c=ra({root:[`root`,n&&`formControl`,!a&&`animated`,i&&`shrink`,r&&r!==`medium`&&`size${Y(r)}`,o],asterisk:[s&&`asterisk`]},j_,t);return{...t,...c}},N_=G(A_,{shouldForwardProp:e=>vo(e)||e===`classes`,name:`MuiInputLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${E_.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]]}})(bc(({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)`}}]}))),P_=R.forwardRef(function(e,t){let n=Yo({name:`MuiInputLabel`,props:e}),{disableAnimation:r=!1,margin:i,shrink:a,variant:o,className:s,...c}=n,l=w_(),u=a;u===void 0&&l&&(u=l.filled||l.focused||l.adornedStart);let d=S_({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=M_(f);return(0,B.jsx)(N_,{"data-shrink":u,ref:t,className:V(p.root,s),...c,ownerState:f,classes:p})});function F_(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function I_(e,t=!1){return e&&(F_(e.value)&&e.value!==``||t&&F_(e.defaultValue)&&e.defaultValue!==``)}function L_(e){return e.startAdornment}function R_(e){return Lr(`MuiFormControl`,e)}Rr(`MuiFormControl`,[`root`,`marginNone`,`marginNormal`,`marginDense`,`fullWidth`,`disabled`]);var z_=e=>{let{classes:t,margin:n,fullWidth:r}=e;return ra({root:[`root`,n!==`none`&&`margin${Y(n)}`,r&&`fullWidth`]},R_,t)},B_=G(`div`,{name:`MuiFormControl`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`margin${Y(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%`}}]}),V_=G(R.forwardRef(function(e,t){let n=Yo({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=z_(_),[y,b]=R.useState(()=>{let e=!1;return r&&R.Children.forEach(r,t=>{if(!tl(t,[`Input`,`Select`]))return;let n=tl(t,[`Select`])?t.props.input:t;n&&L_(n.props)&&(e=!0)}),e}),[x,S]=R.useState(()=>{let e=!1;return r&&R.Children.forEach(r,t=>{tl(t,[`Input`,`Select`])&&(I_(t.props,!0)||I_(t.props.inputProps,!0))&&(e=!0)}),e}),[C,w]=R.useState(!1);s&&C&&w(!1);let T=l!==void 0&&!s?l:C;R.useRef(!1);let E=R.useCallback(()=>{S(!0)},[]),D=R.useCallback(()=>{S(!1)},[]),ee=R.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,B.jsx)(C_.Provider,{value:ee,children:(0,B.jsx)(B_,{as:o,ownerState:_,className:V(v.root,i),ref:t,...g,children:r})})}))(({theme:e})=>({margin:0,padding:0,flex:`1 0 auto`,minWidth:e.spacing(4)})),H_=G(P_)(()=>({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)`}})),U_=({label:e,className:t,children:n})=>(0,B.jsxs)(V_,{className:t,children:[(0,B.jsx)(H_,{shrink:!0,children:e}),n]});U_.propTypes={label:b.oneOfType([b.string,b.object]).isRequired,className:b.string,children:b.oneOfType([b.arrayOf(b.node),b.node]).isRequired};var{translator:W_}=lg,G_=`pie-prompt-audio-player`,K_=`play-audio-button`,q_=e=>`&:not(.MathJax) > table${e}, &:not(.MathJax) > .pie-table-scroll > table${e}`,J_=G(`div`)(({theme:e,tagName:t})=>({[`& .${K_}:focus-visible`]:{outline:`2px solid ${Kd()}`,outlineOffset:`2px`},[q_(`: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:Fd()},[q_(`:not([role="presentation"]):has(tbody tr > th:first-child):not(:has(tbody tr > td:first-child)) tbody td:nth-child(even)`)]:{backgroundColor:Ld()},[q_(`:not([role="presentation"]):has(tbody tr > td:first-child) tbody tr:nth-child(even) td`)]:{backgroundColor:Ld()},'&:not(.MathJax) table:not([role="presentation"]) td, &:not(.MathJax) table:not([role="presentation"]) th':{padding:`.6em 1em`,textAlign:`left`},[q_(` td > p.kds-indent`)]:{textAlign:`initial`},"&.prompt":{verticalAlign:`middle`,color:nd()},"&.legend":{width:`100%`,fontSize:`inherit !important`},"&.rationale":{paddingLeft:e.spacing(4),paddingBottom:e.spacing(1)},"&.prompt-label":{color:`${nd()} !important`,display:`flex`,flexDirection:`column`,verticalAlign:`middle`,cursor:`pointer`,"& > p":{margin:`0 0 0 0 !important`}}})),Y_=/\\embed\{newLine\}\[\]/g,X_=`\\newline `,Z_=`preview-prompt`,Q_=class extends R.Component{static propTypes={prompt:b.string,tagName:b.string,className:b.string,onClick:b.func,defaultClassName:b.string,autoplayAudioEnabled:b.bool,customAudioButton:b.shape({playImage:b.string,pauseImage:b.string}),language:b.string};static defaultProps={onClick:()=>{}};promptRef=R.createRef();audioId=ug(G_);playButtonId=ug(K_);parsedText=e=>{let{autoplayAudioEnabled:t,customAudioButton:n,language:r}=this.props,i=document.createElement(`div`);i.innerHTML=Zu(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(G_),a.appendChild(e),n){a.style.display=`none`;let e=document.createElement(`button`);e.setAttribute(`type`,`button`),e.setAttribute(`aria-label`,W_.t(`common:playAudio`,{lng:r})),e.id=this.playButtonId,e.className=K_,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(`.${K_}`),i=n?.querySelector(`.${G_}`);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 oh==`function`&&oh(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`:``} ${Z_}`.trim();return(0,B.jsx)(J_,{as:t||`div`,ref:this.promptRef,onClick:r,className:a,tagName:t,dangerouslySetInnerHTML:{__html:this.parsedText(e||``).replace(Y_,X_)}})}},$_=e=>(0,B.jsx)(B.Fragment,{children:R.Children.map(e.children,t=>R.cloneElement(t,{"data-pie-readable":e.false===void 0}))});$_.propTypes={children:b.node,false:b.bool};var ev=e=>(0,B.jsx)(B.Fragment,{children:R.Children.map(e.children,t=>R.cloneElement(t,{"data-pie-purpose":e.purpose}))});ev.propTypes={children:b.node,purpose:b.string};var tv;typeof window<`u`&&(tv=new DOMParser);var nv=e=>tv.parseFromString(e,`text/html`).body.textContent,rv=e=>{if(!e)return!1;let t=nv(e);return!!(t&&t.trim())},iv;typeof window<`u`&&(iv=new DOMParser);var av=e=>{if(!e)return!1;let t=iv.parseFromString(e,`text/html`);return!!t.body.querySelector(`img`)||!!t.body.querySelector(`video`)||!!t.body.querySelector(`audio`)},ov=`data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAJYAyADAREAAhEBAxEB/8QAHgABAQABBQEBAQAAAAAAAAAAAAEIAgMGBwkEBQr/xABiEAACAQIDBAMKCAYMCgYLAQAAAQIDEQQFIQYSMUEHCFETFRYiUmFxkdHhCRRjgaGisfAXMjRTcsEjJDY4QmJ1dpKztMQYMzdEVIKyw9PxQ1hmc3SWJzVFRlZXhJOUldJk/8QAGwEBAQADAQEBAAAAAAAAAAAAAAcEBQYCAQP/xABBEQEAAQIDAgkJBgUFAQEBAAAAAQIDBAYRBSESMUFEYXGCscITNDVRcoGRocEUIjJS0eEVI2KSsjNCU6LwFtLx/9oADAMBAAIRAxEAPwD1TAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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iXHW9/oAoAAAAAAI72dnZ8gKAAAAAAAAAivZXVnzAoAAAAAAAEb4aXv8AQBQAAAAAARXsrqz5gUAAAAAAAAAAARuybSv5gFle9tXzAoAAAAAAAAABLa3AoETvfzAUAAAAAAAABErc7gUAAAiaeqdwKAAAAAACK+t36AKAAAAAAAAAAAI72dld8gKAAAAAAAAAAAAEsr3tq+YBO6Tat5gKAAAAAAAAAjVwKAAjdrecCgAAAAAAARrhra30gUAAAARtLVuwFAAAAAAAAAAAAAAAltbgUCJ3SbVvMBQAAAAAAAAAAAAltb3+YCgAI3ZNvkBQAAAAAAAAAAAAivzYFAAAAETTuk+HECgAAAAAAAAJZXvbVcwCvrdegCgAAAAAAAAAAAAAltbgUCN2TaV/MBQAAAAAAAAAAAAjV+dgKAAAAIndJrmBQAAAAAAAAACO+ln6QKAAAAAEaTs2uHACgAAAAAAAAAEbSTbdkuLAoEd+SAoAAAAjVwKAAAAAAAAAAAAAABG+Gl7/AEAUAAAltb3+YCgAAAAAAAAAAAAAAAAETuk1zAoE1vx0AoAAAAARJLRKwFAAAAAAAAAAAEbSTbdkuLAoEV+aAoAABLa3AoAAAAAAAAAAAAAAACJ8dLW+kCgAJbW9/mAoAAAAARtKyb48AKAAAAAAAAAAAAEStzuBQAACX1tb5wKAAAAAAAAAAAAAAAAiSSSSslwQFAmt+OgFAAAAACJ3AoAAAAAAAAAAAARq9vMBQAACa34aAUAAAAAAETTuk+HECgAAAAAAAAAEavzsBQAAABG7crgUAAAAAAAAAAAAAACJJXaXHiBQAE1vx0AoAAAAAf/Z`;function sv(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 cv(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:Sc(n,r),{props:s,internalRef:c}=Tc({...a,externalSlotProps:o}),l=Us(c,o?.ref,e.additionalProps?.ref);return xc(t,{...s,ref:l},r)}var lv=R.createContext({});function uv(e){return Lr(`MuiList`,e)}Rr(`MuiList`,[`root`,`padding`,`dense`,`subheader`]);var dv=e=>{let{classes:t,disablePadding:n,dense:r,subheader:i}=e;return ra({root:[`root`,!n&&`padding`,r&&`dense`,i&&`subheader`]},uv,t)},fv=G(`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}}]}),pv=R.forwardRef(function(e,t){let n=Yo({props:e,name:`MuiList`}),{children:r,className:i,component:a=`ul`,dense:o=!1,disablePadding:s=!1,subheader:c,...l}=n,u=R.useMemo(()=>({dense:o}),[o]),d={...n,component:a,dense:o,disablePadding:s},f=dv(d);return(0,B.jsx)(lv.Provider,{value:u,children:(0,B.jsxs)(fv,{as:a,className:V(f.root,i),ref:t,ownerState:d,...l,children:[c,r]})})}),mv=Ys;function hv(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function gv(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function _v(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 vv(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`)||!_v(s,a)||t)s=i(e,s,n);else return s.focus(),!0}return!1}var yv=R.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=R.useRef(null),p=R.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});nl(()=>{r&&f.current.focus()},[r]),R.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){let n=`${mv(ts(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=cc($o(t));if(n===`ArrowDown`)e.preventDefault(),vv(t,r,c,s,hv);else if(n===`ArrowUp`)e.preventDefault(),vv(t,r,c,s,gv);else if(n===`Home`)e.preventDefault(),vv(t,null,c,s,hv);else if(n===`End`)e.preventDefault(),vv(t,null,c,s,gv);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&&_v(r,i);i.previousKeyMatched&&(c||vv(t,r,!1,s,hv,i))?e.preventDefault():i.previousKeyMatched=!1}l&&l(e)},h=Ws(f,t),g=-1;R.Children.forEach(a,(e,t)=>{if(!R.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 _=R.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),R.cloneElement(e,t)}return e});return(0,B.jsx)(pv,{role:`menu`,ref:h,className:o,onKeyDown:m,tabIndex:r?0:-1,...d,children:_})});function bv(e){return Lr(`MuiMenu`,e)}Rr(`MuiMenu`,[`root`,`paper`,`list`]);var xv={vertical:`top`,horizontal:`right`},Sv={vertical:`top`,horizontal:`left`},Cv=e=>{let{classes:t}=e;return ra({root:[`root`],paper:[`paper`],list:[`list`]},bv,t)},wv=G(ml,{shouldForwardProp:e=>vo(e)||e===`classes`,name:`MuiMenu`,slot:`Root`})({}),Tv=G(pl,{name:`MuiMenu`,slot:`Paper`})({maxHeight:`calc(100% - 96px)`,WebkitOverflowScrolling:`touch`}),Ev=G(yv,{name:`MuiMenu`,slot:`List`})({outline:0}),Dv=R.forwardRef(function(e,t){let n=Yo({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=Si(),b={...n,autoFocus:r,disableAutoFocusItem:o,MenuListProps:s,onEntering:p,PaperProps:u,transitionDuration:f,TransitionProps:m,variant:h},x=Cv(b),S=r&&!o&&l,C=R.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;R.Children.map(i,(e,t)=>{R.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,..._}},ee=cv({elementType:g.root,externalSlotProps:_.root,ownerState:b,className:[x.root,a]}),[O,te]=Ec(`paper`,{className:x.paper,elementType:Tv,externalForwardedProps:D,shouldForwardComponentProp:!0,ownerState:b}),[k,A]=Ec(`list`,{className:V(x.list,s.className),elementType:Ev,shouldForwardComponentProp:!0,externalForwardedProps:D,getSlotProps:e=>({...e,onKeyDown:t=>{T(t),e.onKeyDown?.(t)}}),ownerState:b}),ne=typeof D.slotProps.transition==`function`?D.slotProps.transition(b):D.slotProps.transition;return(0,B.jsx)(wv,{onClose:c,anchorOrigin:{vertical:`bottom`,horizontal:y?`right`:`left`},transformOrigin:y?xv:Sv,slots:{root:g.root,paper:O,backdrop:g.backdrop,...g.transition&&{transition:g.transition}},slotProps:{root:ee,paper:te,backdrop:typeof _.backdrop==`function`?_.backdrop(b):_.backdrop,transition:{...ne,onEntering:(...e)=>{w(...e),ne?.onEntering?.(...e)}}},open:l,ref:t,transitionDuration:f,ownerState:b,...v,classes:d,children:(0,B.jsx)(k,{actions:C,autoFocus:r&&(E===-1||o),autoFocusItem:S,variant:h,...A,children:i})})}),Ov=({slotProps:e,...t})=>(0,B.jsx)(Dv,{...t,disableScrollLock:!0,slotProps:{...e,root:{...e?.root,style:{backgroundColor:`transparent`,...e?.root?.style}},backdrop:{invisible:!0,...e?.backdrop}}}),kv=s({Collapsible:()=>gg,EnableAudioAutoplayImage:()=>ov,Feedback:()=>hf,HtmlAndMath:()=>x_,InlineMenu:()=>Ov,InputContainer:()=>U_,PreviewLayout:()=>b_,PreviewPrompt:()=>Q_,Purpose:()=>ev,Readable:()=>$_,UiLayout:()=>v_,color:()=>ed,createUniqueId:()=>ug,hasMedia:()=>av,hasText:()=>rv,indicators:()=>vf,transformDataHeadings:()=>sv,useUniqueId:()=>dg,withUndoReset:()=>h_}),Av=G(`td`)({color:_d(),verticalAlign:`middle`}),jv=G(`div`)({color:Ed(),textAlign:`center`}),Mv=e=>{let{trait:t,traitIndex:n,scaleIndex:r,showStandards:i,showDescription:a,scorePointsValues:o}=e,{name:s,standards:c,scorePointsDescriptors:l,description:u}=t||{};return(0,B.jsxs)(`tr`,{children:[(0,B.jsx)(Av,{children:(0,B.jsx)(`div`,{dangerouslySetInnerHTML:{__html:Zu(s)}})}),i?(0,B.jsx)(`td`,{children:(0,B.jsx)(`div`,{dangerouslySetInnerHTML:{__html:Zu(c.join(`,`))}})}):null,a?(0,B.jsx)(`td`,{children:(0,B.jsx)(`div`,{dangerouslySetInnerHTML:{__html:Zu(u)}})}):null,o&&o.map((e,t)=>{let n;try{n=l[o.length-t-1]||``}catch{n=``}return(0,B.jsx)(`td`,{children:n?(0,B.jsx)(`div`,{dangerouslySetInnerHTML:{__html:Zu(n)}}):(0,B.jsx)(jv,{dangerouslySetInnerHTML:{__html:`No Description`}})},`table-cell-${t}`)})]},`scale-${r}-trait-${n}`)};Mv.propTypes={showStandards:b.bool,showDescription:b.bool,scorePointsValues:b.arrayOf(b.number),scaleIndex:b.number,traitIndex:b.number,trait:b.shape({name:b.string,standards:b.arrayOf(b.string),scorePointsDescriptors:b.arrayOf(b.string),description:b.string})};var Nv=el((0,B.jsx)(`path`,{d:`M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z`}),`ArrowBackIos`),Pv=el((0,B.jsx)(`path`,{d:`M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z`}),`ArrowForwardIos`),Fv=G(`div`)({display:`flex`,position:`relative`}),Iv=G(`div`)({width:`100%`,overflow:`auto`}),Lv=G(`table`)(({theme:e})=>({borderSpacing:0,marginBottom:e.spacing(2),borderRadius:`4px`,color:nd(),fontSize:e.typography.fontSize,lineHeight:`16px`,overflow:`unset`,"& ul, ol":{marginBlockStart:0,paddingInlineStart:e.spacing(2)},"& th":{padding:e.spacing(2),textAlign:`left`,backgroundColor:Ed(),verticalAlign:`bottom`},"& th div":{width:`200px`},"& td":{width:`200px`,padding:`${e.spacing(2)} ${e.spacing(1)}`,verticalAlign:`top`}})),Rv=G(`table`)({"& td":{border:0,padding:0,textAlign:`center`,minWidth:`200px`}}),zv=G(`div`)({marginBottom:`4px`}),Bv=G(`td`)({fontWeight:`normal`}),Vv=({show:e,onClick:t,extraStyles:n,children:r})=>(0,B.jsx)(`div`,{style:{height:`calc(100% - 1px)`,top:`1px`,display:e?`flex`:`none`,width:`50px`,margin:`auto`,position:`absolute`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,...n},onClick:t,children:r});Vv.propTypes={show:b.bool,onClick:b.func,extraStyles:b.object,children:b.object};var Hv=class extends R.Component{state={};componentDidMount(){this.tableWrapper&&this.tableWrapper.offsetWidth<this.tableWrapper.scrollWidth&&this.setState({showRight:!0})}scrollLeft=()=>{this.tableWrapper.scrollLeft-=this.tableWrapper.offsetWidth/2,this.setState({showRight:this.tableWrapper.scrollLeft<this.tableWrapper.scrollWidth,showLeft:this.tableWrapper.scrollLeft<this.tableWrapper.scrollWidth&&this.tableWrapper.scrollLeft>0})};scrollRight=()=>{let e=this.tableWrapper.scrollLeft;this.tableWrapper.scrollLeft+=this.tableWrapper.offsetWidth/2,this.setState({showRight:e!==this.tableWrapper.scrollLeft&&this.tableWrapper.scrollLeft<this.tableWrapper.scrollWidth,showLeft:this.tableWrapper.scrollLeft<this.tableWrapper.scrollWidth&&this.tableWrapper.scrollLeft>0})};render(){let{showRight:e,showLeft:t}=this.state,{scale:n,scaleIndex:r,showDescription:i,showPointsLabels:a,showStandards:o,arrowsDisabled:s}=this.props,{excludeZero:c,maxPoints:l,traitLabel:u,traits:d,scorePointsLabels:f}=n||{},p=[],m,h,g;try{for(let e=l;+(e>=c);--e)p.push(e);let{traitStandards:e,traitDescriptions:t}=d.reduce((e,t)=>({traitStandards:[...e.traitStandards,...t.standards||[]],traitDescriptions:[...e.traitDescriptions,...t.description||[]]}),{traitStandards:[],traitDescriptions:[]});m=i&&t.length,h=a&&f.length,g=o&&e.length}catch{m=!1,h=!1,g=!1}return(0,B.jsxs)(Fv,{children:[(0,B.jsx)(Vv,{show:t&&!s,onClick:this.scrollLeft,extraStyles:{left:0,background:`linear-gradient(to right, white, ${wd()})`},children:(0,B.jsx)(Nv,{})}),(0,B.jsxs)(Iv,{ref:e=>{this.tableWrapper=e},onScroll:()=>{this.setState({showRight:this.tableWrapper.scrollLeft+this.tableWrapper.offsetWidth<this.tableWrapper.scrollWidth-5&&this.tableWrapper.scrollLeft<this.tableWrapper.scrollWidth,showLeft:this.tableWrapper.scrollLeft<this.tableWrapper.scrollWidth&&this.tableWrapper.scrollLeft>0})},children:[s&&(e||t)?(0,B.jsx)(`div`,{children:`The item is too large to fit in print mode.`}):null,(0,B.jsxs)(Lv,{children:[(0,B.jsx)(`thead`,{children:(0,B.jsxs)(`tr`,{children:[(0,B.jsx)(`th`,{children:(0,B.jsx)(`div`,{dangerouslySetInnerHTML:{__html:Zu(u)}})}),g?(0,B.jsx)(`th`,{children:(0,B.jsx)(`div`,{children:`Standard(s)`})}):null,m?(0,B.jsx)(`th`,{children:(0,B.jsx)(`div`,{children:`Description`})}):null,p&&p.map((e,t)=>{let n=``;try{n=f[p.length-t-1]||``}catch{n=``}return(0,B.jsx)(`th`,{children:(0,B.jsx)(Rv,{children:(0,B.jsxs)(`thead`,{children:[h?(0,B.jsx)(`tr`,{children:(0,B.jsx)(`td`,{children:(0,B.jsx)(zv,{dangerouslySetInnerHTML:{__html:Zu(n)}})})}):null,(0,B.jsx)(`tr`,{children:(0,B.jsx)(Bv,{children:e===1?`${e} point`:`${e} points`})})]})})},`table-header-${t}`)})]})}),(0,B.jsx)(`tbody`,{children:d&&d.map((e,t)=>(0,B.jsx)(Mv,{trait:e,traitIndex:t,showDescription:!!m,showStandards:!!g,scaleIndex:r,scorePointsValues:p,excludeZero:c},`trait_${r}_${t}`))})]},`scale-${r}`)]}),(0,B.jsx)(Vv,{show:e&&!s,onClick:this.scrollRight,extraStyles:{right:0,background:`linear-gradient(to left, white, ${wd()})`},children:(0,B.jsx)(Pv,{})})]})}};Hv.propTypes={scaleIndex:b.number,scale:b.shape({excludeZero:b.bool,maxPoints:b.number,scorePointsLabels:b.arrayOf(b.string),traitLabel:b.string,traits:b.arrayOf(b.shape({name:b.string,standards:b.arrayOf(b.string),scorePointsDescriptors:b.arrayOf(b.string),description:b.string}))}),showPointsLabels:b.bool,showDescription:b.bool,showStandards:b.bool,arrowsDisabled:b.bool};function Uv(e){return Lr(`MuiTypography`,e)}Rr(`MuiTypography`,[`root`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`subtitle1`,`subtitle2`,`body1`,`body2`,`inherit`,`button`,`caption`,`overline`,`alignLeft`,`alignRight`,`alignCenter`,`alignJustify`,`noWrap`,`gutterBottom`,`paragraph`]);var Wv={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Gv=Jo(),Kv=e=>{let{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:o}=e;return ra({root:[`root`,a,e.align!==`inherit`&&`align${Y(t)}`,n&&`gutterBottom`,r&&`noWrap`,i&&`paragraph`]},Uv,o)},qv=G(`span`,{name:`MuiTypography`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!==`inherit`&&t[`align${Y(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(bc(({theme:e})=>({margin:0,variants:[{props:{variant:`inherit`},style:{font:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},...Object.entries(e.typography).filter(([e,t])=>e!==`inherit`&&t&&typeof t==`object`).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(Rg()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>typeof e==`string`).map(([t])=>({props:{color:`text${Y(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>e.align!==`inherit`,style:{textAlign:`var(--Typography-textAlign)`}},{props:({ownerState:e})=>e.noWrap,style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:`0.35em`}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),Jv={h1:`h1`,h2:`h2`,h3:`h3`,h4:`h4`,h5:`h5`,h6:`h6`,subtitle1:`h6`,subtitle2:`h6`,body1:`p`,body2:`p`,inherit:`p`},Yv=R.forwardRef(function(e,t){let{color:n,...r}=Yo({props:e,name:`MuiTypography`}),i=!Wv[n],a=Gv({...r,...i&&{color:n}}),{align:o=`inherit`,className:s,component:c,gutterBottom:l=!1,noWrap:u=!1,paragraph:d=!1,variant:f=`body1`,variantMapping:p=Jv,...m}=a,h={...a,align:o,color:n,className:s,component:c,gutterBottom:l,noWrap:u,paragraph:d,variant:f,variantMapping:p},g=c||(d?`p`:p[f]||Jv[f])||`span`,_=Kv(h);return(0,B.jsx)(qv,{as:g,ref:t,className:V(_.root,s),...m,ownerState:h,style:{...o!==`inherit`&&{"--Typography-textAlign":o},...m.style}})});function Xv(e){return Lr(`MuiLink`,e)}var Zv=Rr(`MuiLink`,[`root`,`underlineNone`,`underlineHover`,`underlineAlways`,`button`,`focusVisible`]),Qv=({theme:e,ownerState:t})=>{let n=t.color;if(`colorSpace`in e&&e.colorSpace){let r=wn(e,`palette.${n}.main`)||wn(e,`palette.${n}`)||t.color;return e.alpha(r,.4)}let r=wn(e,`palette.${n}.main`,!1)||wn(e,`palette.${n}`,!1)||t.color,i=wn(e,`palette.${n}.mainChannel`)||wn(e,`palette.${n}Channel`);return`vars`in e&&i?`rgba(${i} / 0.4)`:li(r,.4)},$v={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},ey=e=>{let{classes:t,component:n,focusVisible:r,underline:i}=e;return ra({root:[`root`,`underline${Y(i)}`,n===`button`&&`button`,r&&`focusVisible`]},Xv,t)},ty=G(Yv,{name:`MuiLink`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`underline${Y(n.underline)}`],n.component===`button`&&t.button]}})(bc(({theme:e})=>({variants:[{props:{underline:`none`},style:{textDecoration:`none`}},{props:{underline:`hover`},style:{textDecoration:`none`,"&:hover":{textDecoration:`underline`}}},{props:{underline:`always`},style:{textDecoration:`underline`,"&:hover":{textDecorationColor:`inherit`}}},{props:({underline:e,ownerState:t})=>e===`always`&&t.color!==`inherit`,style:{textDecorationColor:`var(--Link-underlineColor)`}},{props:({underline:e,ownerState:t})=>e===`always`&&t.color===`inherit`,style:e.colorSpace?{textDecorationColor:e.alpha(`currentColor`,.4)}:null},...Object.entries(e.palette).filter(Rg()).map(([t])=>({props:{underline:`always`,color:t},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette[t].main,.4)}})),{props:{underline:`always`,color:`textPrimary`},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.primary,.4)}},{props:{underline:`always`,color:`textSecondary`},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.secondary,.4)}},{props:{underline:`always`,color:`textDisabled`},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:`button`},style:{position:`relative`,WebkitTapHighlightColor:`transparent`,backgroundColor:`transparent`,outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:`pointer`,userSelect:`none`,verticalAlign:`middle`,MozAppearance:`none`,WebkitAppearance:`none`,"&::-moz-focus-inner":{borderStyle:`none`},[`&.${Zv.focusVisible}`]:{outline:`auto`}}}]}))),ny=R.forwardRef(function(e,t){let n=Yo({props:e,name:`MuiLink`}),r=go(),{className:i,color:a=`primary`,component:o=`a`,onBlur:s,onFocus:c,TypographyClasses:l,underline:u=`always`,variant:d=`inherit`,sx:f,...p}=n,[m,h]=R.useState(!1),g=e=>{_g(e.target)||h(!1),s&&s(e)},_=e=>{_g(e.target)&&h(!0),c&&c(e)},v={...n,color:a,component:o,focusVisible:m,underline:u,variant:d},y=ey(v);return(0,B.jsx)(ty,{color:a,className:V(y.root,i),classes:l,component:o,onBlur:g,onFocus:_,ref:t,ownerState:v,variant:d,...p,sx:[...$v[a]===void 0?[{color:a}]:[],...Array.isArray(f)?f:[f]],style:{...p.style,...u===`always`&&a!==`inherit`&&!$v[a]&&{"--Link-underlineColor":Qv({theme:r,ownerState:v})}}})}),{translator:ry}=lg;function iy(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function ay(e,t){return!e||iy(e)?e:iy(e.default)?e.default:t&&iy(e[t])?e[t]:t&&iy(e[t]?.default)?e[t].default:e}var oy=ay(v_,`UiLayout`)||ay(ly.UiLayout,`UiLayout`),sy=kv,cy=sy.default,ly=cy&&typeof cy==`object`?cy:sy,uy=class extends R.Component{constructor(e){super(e),this.state={rubricOpen:!1},this.toggleRubric=this.toggleRubric.bind(this)}toggleRubric(){this.setState({rubricOpen:!this.state.rubricOpen})}render(){let{model:e}=this.props,{animationsDisabled:t}=this.props,{extraCSSRules:n,halfScoring:r,scales:i,visible:a,pointLabels:o,description:s,standards:c,arrowsDisabled:l}=e||{};if(t||=e.animationsDisabled,!i||!a)return null;let u=(0,B.jsxs)(oy,{extraCSSRules:n,style:{fontFamily:`Cerebri Sans`,color:nd(),backgroundColor:wd()},children:[r?(0,B.jsx)(`div`,{style:{marginBottom:`16px`},children:`* Half-point or in-between scores are permitted under this rubric.`}):null,i.map((e,t)=>(0,B.jsx)(Hv,{scale:e,scaleIndex:t,showPointsLabels:o,showDescription:s,showStandards:c,arrowsDisabled:l},`scale_${t}`))]});return t?u:(0,B.jsxs)(oy,{extraCSSRules:n,style:{color:nd(),backgroundColor:wd()},children:[(0,B.jsx)(ny,{component:`button`,type:`button`,"aria-expanded":this.state.rubricOpen,style:{backgroundColor:wd(),minHeight:`24px`},onClick:this.toggleRubric,children:ry.t(this.state.rubricOpen?`rubric.hideRubric`:`rubric.showRubric`,{lng:e.language})}),(0,B.jsx)(Nf,{style:{marginTop:`16px`},in:this.state.rubricOpen,timeout:{enter:225,exit:195},children:u})]})}};uy.propTypes={model:b.shape({halfScoring:b.bool,scales:b.arrayOf(b.shape({excludeZero:b.bool,maxPoints:b.number,scorePointsLabels:b.arrayOf(b.string),traitLabel:b.string,traits:b.arrayOf(b.shape({name:b.string,description:b.string,scorePointsDescriptors:b.arrayOf(b.string),standards:b.arrayOf(b.string)}))})),visible:b.bool,pointLabels:b.bool,description:b.bool,standards:b.bool,animationsDisabled:b.bool}),animationsDisabled:b.bool};var dy=g(),fy=class extends HTMLElement{constructor(){super(),this._model={},this._session=null,this._root=null,this._mathObserver=null,this._mathRenderPending=!1}_scheduleMathRender=()=>{this._mathRenderPending||(this._mathRenderPending=!0,requestAnimationFrame(()=>{this._mathObserver&&this._mathObserver.disconnect(),oh(this),this._mathRenderPending=!1,setTimeout(()=>{this._mathObserver&&this._mathObserver.observe(this,{childList:!0,subtree:!0})},50)}))};_initMathObserver(){this._mathObserver||(this._mathObserver=new MutationObserver(this._scheduleMathRender),this._mathObserver.observe(this,{childList:!0,subtree:!0}))}_disconnectMathObserver(){this._mathObserver&&=(this._mathObserver.disconnect(),null)}set model(e){this._model=e,this.dispatchEvent(new _(this.tagName.toLowerCase(),this._session,!!this._model)),this._render()}set session(e){this._session=e}get session(){return this._session}connectedCallback(){this._initMathObserver(),this._render()}_render(){this._initMathObserver();let e=R.createElement(uy,{model:this._model,session:this._session});this._root||=(0,dy.createRoot)(this),this._root.render(e)}disconnectedCallback(){this._disconnectMathObserver(),this._root&&=(this._root.unmount(),null)}};return typeof window<`u`&&!customElements.get(`multi-trait-rubric-element`)&&customElements.define(`multi-trait-rubric-element`,fy),fy})();
|
|
178
|
+
`,Xg=typeof Jg==`string`?null:Pt`
|
|
179
|
+
animation: ${Jg} 1.4s linear infinite;
|
|
180
|
+
`,Zg=typeof Yg==`string`?null:Pt`
|
|
181
|
+
animation: ${Yg} 1.4s ease-in-out infinite;
|
|
182
|
+
`,Qg=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return ra({root:[`root`,n,`color${Y(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,`circle${Y(n)}`,i&&`circleDisableShrink`]},Kg,t)},$g=G(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Y(n.color)}`]]}})(bc(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:Xg||{animation:`${Jg} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Gg()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),e_=G(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),t_=G(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${Y(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(bc(({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:Zg||{animation:`${Yg} 1.4s ease-in-out infinite`}}]}))),n_=G(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(bc(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),r_=R.forwardRef(function(e,t){let n=Yo({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=Qg(p),h={},g={},_={};if(d===`determinate`){let e=2*Math.PI*((qg-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,B.jsx)($g,{className:V(m.root,r),style:{width:s,height:s,...g,...c},ownerState:p,ref:t,role:`progressbar`,..._,...f,children:(0,B.jsxs)(e_,{className:m.svg,ownerState:p,viewBox:`${qg/2} ${qg/2} ${qg} ${qg}`,children:[o?(0,B.jsx)(n_,{className:m.track,ownerState:p,cx:qg,cy:qg,r:(qg-l)/2,fill:`none`,strokeWidth:l,"aria-hidden":`true`}):null,(0,B.jsx)(t_,{className:m.circle,style:h,ownerState:p,cx:qg,cy:qg,r:(qg-l)/2,fill:`none`,strokeWidth:l})]})})});function i_(e){return Lr(`MuiButton`,e)}var a_=Rr(`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(`.`)),o_=R.createContext({}),s_=R.createContext(void 0),c_=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=ra({root:[`root`,o&&`loading`,a,`${a}${Y(t)}`,`size${Y(i)}`,`${a}Size${Y(i)}`,`color${Y(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${Y(s)}`],startIcon:[`icon`,`startIcon`,`iconSize${Y(i)}`],endIcon:[`icon`,`endIcon`,`iconSize${Y(i)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},i_,c);return{...c,...l}},l_=[{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}}}],u_=G(Vg,{shouldForwardProp:e=>vo(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Y(n.color)}`],t[`size${Y(n.size)}`],t[`${n.variant}Size${Y(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(bc(({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`},[`&.${a_.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]},[`&.${a_.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${a_.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)`,[`&.${a_.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(Gg()).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`},[`&.${a_.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${a_.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}),[`&.${a_.loading}`]:{color:`transparent`}}}]}})),d_=G(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${Y(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}},...l_]})),f_=G(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${Y(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}},...l_]})),p_=G(`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}}]})),m_=G(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),h_=R.forwardRef(function(e,t){let n=R.useContext(o_),r=R.useContext(s_),i=Yo({props:Zr(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=rl(h),T=_??(0,B.jsx)(r_,{"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=c_(E),ee=(b||g&&v===`start`)&&(0,B.jsx)(d_,{className:D.startIcon,ownerState:E,children:b||(0,B.jsx)(m_,{className:D.loadingIconPlaceholder,ownerState:E})}),O=(f||g&&v===`end`)&&(0,B.jsx)(f_,{className:D.endIcon,ownerState:E,children:f||(0,B.jsx)(m_,{className:D.loadingIconPlaceholder,ownerState:E})}),te=r||``,k=typeof g==`boolean`?(0,B.jsx)(`span`,{className:D.loadingWrapper,style:{display:`contents`},children:g&&(0,B.jsx)(p_,{className:D.loadingIndicator,ownerState:E,children:T})}):null,{root:A,...ne}=D;return(0,B.jsxs)(u_,{ownerState:E,className:V(n.className,D.root,c,te),component:s,disabled:l||g,focusRipple:!d,focusVisibleClassName:V(D.focusVisible,p),ref:t,type:x,id:g?w:h,...C,classes:ne,children:[ee,v!==`end`&&k,a,v===`end`&&k,O]})}),g_=el((0,B.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`),__=el((0,B.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`),v_=G(`div`)({display:`flex`,flexDirection:`column`}),y_=G(`div`)({display:`flex`,alignItems:`center`,justifyContent:`center`}),b_=G(`div`)(({theme:e})=>({width:`24px`,height:`24px`,color:`gray`,marginRight:e.spacing(1),display:`flex`,alignItems:`center`})),x_=G(h_)(({theme:e})=>({display:`flex`,alignItems:`center`,marginLeft:e.spacing(3),marginRight:e.spacing(3)})),S_=e=>{class t extends R.Component{static propTypes={session:b.object,onSessionChange:b.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,B.jsxs)(v_,{children:[(0,B.jsxs)(y_,{children:[(0,B.jsxs)(x_,{color:`primary`,disabled:n.length===0,onClick:this.onUndo,children:[(0,B.jsx)(b_,{children:(0,B.jsx)(__,{})}),`Undo`]}),(0,B.jsxs)(x_,{color:`primary`,disabled:n.length===0,onClick:this.onReset,children:[(0,B.jsx)(b_,{children:(0,B.jsx)(g_,{})}),`Start Over`]})]}),(0,B.jsx)(e,{...t,session:r,onSessionChange:this.onSessionChange})]})}}return t},C_=mo({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`}}}}}}),w_=G(`div`)({"& table, th, td":{fontSize:`inherit`}}),T_=class extends R.Component{static propTypes={className:b.string,children:b.array,extraCSSRules:b.shape({names:b.arrayOf(b.string),rules:b.string}),fontSizeFactor:b.number};static defaultProps={extraCSSRules:{},fontSizeFactor:1};constructor(e){super(e),this.classesSheet=document.createElement(`style`)}scopeClass=_g(`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,B.jsx)(Xt,{injectFirst:!0,children:(0,B.jsxs)(To,{theme:C_,children:[i?.rules?(0,B.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`.${this.scopeClass} { ${i.rules} }`}}):null,(0,B.jsx)(w_,{className:`${t} extraCSSRules ${this.scopeClass}`,...a,...o&&{style:o},children:e})]})})}},E_=G(T_)({display:`flex`,flexDirection:`column`,position:`relative`}),D_=class extends R.Component{static propTypes={ariaLabel:b.string,children:b.oneOfType([b.arrayOf(b.node),b.node]).isRequired,role:b.string,extraCSSRules:b.shape({names:b.arrayOf(b.string),rules:b.string}),fontSizeFactor:b.number};render(){let{children:e,ariaLabel:t,role:n,extraCSSRules:r,fontSizeFactor:i,classes:a}=this.props;return(0,B.jsx)(E_,{...t?{"aria-label":t,role:n}:{},extraCSSRules:r,fontSizeFactor:i,classes:a,children:e})}},O_=class extends R.Component{static propTypes={tag:b.string,className:b.string,html:b.string};static defaultProps={tag:`div`,html:``};render(){let{tag:e,className:t,html:n}=this.props;return(0,B.jsx)(e||`div`,{ref:e=>this.node=e,className:t,dangerouslySetInnerHTML:{__html:id(n)}})}};function k_({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 A_=R.createContext(void 0);function j_(){return R.useContext(A_)}function M_(e){return Lr(`MuiFormLabel`,e)}var N_=Rr(`MuiFormLabel`,[`root`,`colorSecondary`,`focused`,`disabled`,`error`,`filled`,`required`,`asterisk`]),P_=e=>{let{classes:t,color:n,focused:r,disabled:i,error:a,filled:o,required:s}=e;return ra({root:[`root`,`color${Y(n)}`,i&&`disabled`,a&&`error`,o&&`filled`,r&&`focused`,s&&`required`],asterisk:[`asterisk`,a&&`error`]},M_,t)},F_=G(`label`,{name:`MuiFormLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color===`secondary`&&t.colorSecondary,n.filled&&t.filled]}})(bc(({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(Gg()).map(([t])=>({props:{color:t},style:{[`&.${N_.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${N_.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${N_.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),I_=G(`span`,{name:`MuiFormLabel`,slot:`Asterisk`})(bc(({theme:e})=>({[`&.${N_.error}`]:{color:(e.vars||e).palette.error.main}}))),L_=R.forwardRef(function(e,t){let n=Yo({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=k_({props:n,muiFormControl:j_(),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=P_(m);return(0,B.jsxs)(F_,{as:o,ownerState:m,className:V(h.root,i),ref:t,...f,children:[r,p.required&&(0,B.jsxs)(I_,{ownerState:m,"aria-hidden":!0,className:h.asterisk,children:[` `,`*`]})]})});function R_(e){return Lr(`MuiInputLabel`,e)}Rr(`MuiInputLabel`,[`root`,`focused`,`disabled`,`error`,`required`,`asterisk`,`formControl`,`sizeSmall`,`shrink`,`animated`,`standard`,`filled`,`outlined`]);var z_=e=>{let{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:o,required:s}=e,c=ra({root:[`root`,n&&`formControl`,!a&&`animated`,i&&`shrink`,r&&r!==`medium`&&`size${Y(r)}`,o],asterisk:[s&&`asterisk`]},R_,t);return{...t,...c}},B_=G(L_,{shouldForwardProp:e=>vo(e)||e===`classes`,name:`MuiInputLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${N_.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]]}})(bc(({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_=R.forwardRef(function(e,t){let n=Yo({name:`MuiInputLabel`,props:e}),{disableAnimation:r=!1,margin:i,shrink:a,variant:o,className:s,...c}=n,l=j_(),u=a;u===void 0&&l&&(u=l.filled||l.focused||l.adornedStart);let d=k_({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=z_(f);return(0,B.jsx)(B_,{"data-shrink":u,ref:t,className:V(p.root,s),...c,ownerState:f,classes:p})});function H_(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function U_(e,t=!1){return e&&(H_(e.value)&&e.value!==``||t&&H_(e.defaultValue)&&e.defaultValue!==``)}function W_(e){return e.startAdornment}function G_(e){return Lr(`MuiFormControl`,e)}Rr(`MuiFormControl`,[`root`,`marginNone`,`marginNormal`,`marginDense`,`fullWidth`,`disabled`]);var K_=e=>{let{classes:t,margin:n,fullWidth:r}=e;return ra({root:[`root`,n!==`none`&&`margin${Y(n)}`,r&&`fullWidth`]},G_,t)},q_=G(`div`,{name:`MuiFormControl`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`margin${Y(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%`}}]}),J_=G(R.forwardRef(function(e,t){let n=Yo({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=K_(_),[y,b]=R.useState(()=>{let e=!1;return r&&R.Children.forEach(r,t=>{if(!tl(t,[`Input`,`Select`]))return;let n=tl(t,[`Select`])?t.props.input:t;n&&W_(n.props)&&(e=!0)}),e}),[x,S]=R.useState(()=>{let e=!1;return r&&R.Children.forEach(r,t=>{tl(t,[`Input`,`Select`])&&(U_(t.props,!0)||U_(t.props.inputProps,!0))&&(e=!0)}),e}),[C,w]=R.useState(!1);s&&C&&w(!1);let T=l!==void 0&&!s?l:C;R.useRef(!1);let E=R.useCallback(()=>{S(!0)},[]),D=R.useCallback(()=>{S(!1)},[]),ee=R.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,B.jsx)(A_.Provider,{value:ee,children:(0,B.jsx)(q_,{as:o,ownerState:_,className:V(v.root,i),ref:t,...g,children:r})})}))(({theme:e})=>({margin:0,padding:0,flex:`1 0 auto`,minWidth:e.spacing(4)})),Y_=G(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)`}})),X_=({label:e,className:t,children:n})=>(0,B.jsxs)(J_,{className:t,children:[(0,B.jsx)(Y_,{shrink:!0,children:e}),n]});X_.propTypes={label:b.oneOfType([b.string,b.object]).isRequired,className:b.string,children:b.oneOfType([b.arrayOf(b.node),b.node]).isRequired};var{translator:Z_}=gg,Q_=`pie-prompt-audio-player`,$_=`play-audio-button`,ev=e=>`&:not(.MathJax) > table${e}, &:not(.MathJax) > .pie-table-scroll > table${e}`,tv=G(`div`)(({theme:e,tagName:t})=>({[`& .${$_}:focus-visible`]:{outline:`2px solid ${$d()}`,outlineOffset:`2px`},[ev(`: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:Hd()},[ev(`:not([role="presentation"]):has(tbody tr > th:first-child):not(:has(tbody tr > td:first-child)) tbody td:nth-child(even)`)]:{backgroundColor:Wd()},[ev(`:not([role="presentation"]):has(tbody tr > td:first-child) tbody tr:nth-child(even) td`)]:{backgroundColor:Wd()},'&:not(.MathJax) table:not([role="presentation"]) td, &:not(.MathJax) table:not([role="presentation"]) th':{padding:`.6em 1em`,textAlign:`left`},[ev(` td > p.kds-indent`)]:{textAlign:`initial`},"&.prompt":{verticalAlign:`middle`,color:ld()},"&.legend":{width:`100%`,fontSize:`inherit !important`},"&.rationale":{paddingLeft:e.spacing(4),paddingBottom:e.spacing(1)},"&.prompt-label":{color:`${ld()} !important`,display:`flex`,flexDirection:`column`,verticalAlign:`middle`,cursor:`pointer`,"& > p":{margin:`0 0 0 0 !important`}}})),nv=/\\embed\{newLine\}\[\]/g,rv=`\\newline `,iv=`preview-prompt`,av=class extends R.Component{static propTypes={prompt:b.string,tagName:b.string,className:b.string,onClick:b.func,defaultClassName:b.string,autoplayAudioEnabled:b.bool,customAudioButton:b.shape({playImage:b.string,pauseImage:b.string}),language:b.string};static defaultProps={onClick:()=>{}};promptRef=R.createRef();audioId=_g(Q_);playButtonId=_g($_);parsedText=e=>{let{autoplayAudioEnabled:t,customAudioButton:n,language:r}=this.props,i=document.createElement(`div`);i.innerHTML=id(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(Q_),a.appendChild(e),n){a.style.display=`none`;let e=document.createElement(`button`);e.setAttribute(`type`,`button`),e.setAttribute(`aria-label`,Z_.t(`common:playAudio`,{lng:r})),e.id=this.playButtonId,e.className=$_,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(`.${$_}`),i=n?.querySelector(`.${Q_}`);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 ph==`function`&&ph(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`:``} ${iv}`.trim();return(0,B.jsx)(tv,{as:t||`div`,ref:this.promptRef,onClick:r,className:a,tagName:t,dangerouslySetInnerHTML:{__html:this.parsedText(e||``).replace(nv,rv)}})}},ov=e=>(0,B.jsx)(B.Fragment,{children:R.Children.map(e.children,t=>R.cloneElement(t,{"data-pie-readable":e.false===void 0}))});ov.propTypes={children:b.node,false:b.bool};var sv=e=>(0,B.jsx)(B.Fragment,{children:R.Children.map(e.children,t=>R.cloneElement(t,{"data-pie-purpose":e.purpose}))});sv.propTypes={children:b.node,purpose:b.string};var cv;typeof window<`u`&&(cv=new DOMParser);var lv=e=>cv.parseFromString(e,`text/html`).body.textContent,uv=e=>{if(!e)return!1;let t=lv(e);return!!(t&&t.trim())},dv;typeof window<`u`&&(dv=new DOMParser);var fv=e=>{if(!e)return!1;let t=dv.parseFromString(e,`text/html`);return!!t.body.querySelector(`img`)||!!t.body.querySelector(`video`)||!!t.body.querySelector(`audio`)},pv=`data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAJYAyADAREAAhEBAxEB/8QAHgABAQABBQEBAQAAAAAAAAAAAAEIAgMGBwkEBQr/xABiEAACAQIDBAMKCAYMCgYLAQAAAQIDEQQFIQYSMUEHCFETFRYiUmFxkdHhCRRjgaGisfAXMjRTcsEjJDY4QmJ1dpKztMQYMzdEVIKyw9PxQ1hmc3SWJzVFRlZXhJOUldJk/8QAGwEBAQADAQEBAAAAAAAAAAAAAAcEBQYCAQP/xABBEQEAAQIDAgkJBgUFAQEBAAAAAQIDBAYRBSESMUFEYXGCscITNDVRcoGRocEUIjJS0eEVI2KSsjNCU6LwFtLx/9oADAMB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t+OgFAAAAACJ3AoAAAAAAAAAAAARq9vMBQAACa34aAUAAAAAAETTuk+HECgAAAAAAAAAEavzsBQAAABG7crgUAAAAAAAAAAAAAACJJXaXHiBQAE1vx0AoAAAAAf/Z`;function mv(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 hv(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:Sc(n,r),{props:s,internalRef:c}=Tc({...a,externalSlotProps:o}),l=Us(c,o?.ref,e.additionalProps?.ref);return xc(t,{...s,ref:l},r)}var gv=R.createContext({});function _v(e){return Lr(`MuiList`,e)}Rr(`MuiList`,[`root`,`padding`,`dense`,`subheader`]);var vv=e=>{let{classes:t,disablePadding:n,dense:r,subheader:i}=e;return ra({root:[`root`,!n&&`padding`,r&&`dense`,i&&`subheader`]},_v,t)},yv=G(`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}}]}),bv=R.forwardRef(function(e,t){let n=Yo({props:e,name:`MuiList`}),{children:r,className:i,component:a=`ul`,dense:o=!1,disablePadding:s=!1,subheader:c,...l}=n,u=R.useMemo(()=>({dense:o}),[o]),d={...n,component:a,dense:o,disablePadding:s},f=vv(d);return(0,B.jsx)(gv.Provider,{value:u,children:(0,B.jsxs)(yv,{as:a,className:V(f.root,i),ref:t,ownerState:d,...l,children:[c,r]})})}),xv=Ys;function Sv(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Cv(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function wv(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 Tv(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`)||!wv(s,a)||t)s=i(e,s,n);else return s.focus(),!0}return!1}var Ev=R.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=R.useRef(null),p=R.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});nl(()=>{r&&f.current.focus()},[r]),R.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){let n=`${xv(ts(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=cc($o(t));if(n===`ArrowDown`)e.preventDefault(),Tv(t,r,c,s,Sv);else if(n===`ArrowUp`)e.preventDefault(),Tv(t,r,c,s,Cv);else if(n===`Home`)e.preventDefault(),Tv(t,null,c,s,Sv);else if(n===`End`)e.preventDefault(),Tv(t,null,c,s,Cv);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&&wv(r,i);i.previousKeyMatched&&(c||Tv(t,r,!1,s,Sv,i))?e.preventDefault():i.previousKeyMatched=!1}l&&l(e)},h=Ws(f,t),g=-1;R.Children.forEach(a,(e,t)=>{if(!R.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 _=R.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),R.cloneElement(e,t)}return e});return(0,B.jsx)(bv,{role:`menu`,ref:h,className:o,onKeyDown:m,tabIndex:r?0:-1,...d,children:_})});function Dv(e){return Lr(`MuiMenu`,e)}Rr(`MuiMenu`,[`root`,`paper`,`list`]);var Ov={vertical:`top`,horizontal:`right`},kv={vertical:`top`,horizontal:`left`},Av=e=>{let{classes:t}=e;return ra({root:[`root`],paper:[`paper`],list:[`list`]},Dv,t)},jv=G(ml,{shouldForwardProp:e=>vo(e)||e===`classes`,name:`MuiMenu`,slot:`Root`})({}),Mv=G(pl,{name:`MuiMenu`,slot:`Paper`})({maxHeight:`calc(100% - 96px)`,WebkitOverflowScrolling:`touch`}),Nv=G(Ev,{name:`MuiMenu`,slot:`List`})({outline:0}),Pv=R.forwardRef(function(e,t){let n=Yo({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=Si(),b={...n,autoFocus:r,disableAutoFocusItem:o,MenuListProps:s,onEntering:p,PaperProps:u,transitionDuration:f,TransitionProps:m,variant:h},x=Av(b),S=r&&!o&&l,C=R.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;R.Children.map(i,(e,t)=>{R.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,..._}},ee=hv({elementType:g.root,externalSlotProps:_.root,ownerState:b,className:[x.root,a]}),[O,te]=Ec(`paper`,{className:x.paper,elementType:Mv,externalForwardedProps:D,shouldForwardComponentProp:!0,ownerState:b}),[k,A]=Ec(`list`,{className:V(x.list,s.className),elementType:Nv,shouldForwardComponentProp:!0,externalForwardedProps:D,getSlotProps:e=>({...e,onKeyDown:t=>{T(t),e.onKeyDown?.(t)}}),ownerState:b}),ne=typeof D.slotProps.transition==`function`?D.slotProps.transition(b):D.slotProps.transition;return(0,B.jsx)(jv,{onClose:c,anchorOrigin:{vertical:`bottom`,horizontal:y?`right`:`left`},transformOrigin:y?Ov:kv,slots:{root:g.root,paper:O,backdrop:g.backdrop,...g.transition&&{transition:g.transition}},slotProps:{root:ee,paper:te,backdrop:typeof _.backdrop==`function`?_.backdrop(b):_.backdrop,transition:{...ne,onEntering:(...e)=>{w(...e),ne?.onEntering?.(...e)}}},open:l,ref:t,transitionDuration:f,ownerState:b,...v,classes:d,children:(0,B.jsx)(k,{actions:C,autoFocus:r&&(E===-1||o),autoFocusItem:S,variant:h,...A,children:i})})}),Fv=({slotProps:e,...t})=>(0,B.jsx)(Pv,{...t,disableScrollLock:!0,slotProps:{...e,root:{...e?.root,style:{backgroundColor:`transparent`,...e?.root?.style}},backdrop:{invisible:!0,...e?.backdrop}}}),Iv=s({Collapsible:()=>Cg,EnableAudioAutoplayImage:()=>pv,Feedback:()=>Sf,HtmlAndMath:()=>O_,InlineMenu:()=>Fv,InputContainer:()=>X_,PreviewLayout:()=>D_,PreviewPrompt:()=>av,Purpose:()=>sv,Readable:()=>ov,UiLayout:()=>T_,color:()=>sd,createUniqueId:()=>_g,hasMedia:()=>fv,hasText:()=>uv,indicators:()=>Tf,transformDataHeadings:()=>mv,useUniqueId:()=>vg,withUndoReset:()=>S_}),Lv=G(`td`)({color:wd(),verticalAlign:`middle`}),Rv=G(`div`)({color:Nd(),textAlign:`center`}),zv=e=>{let{trait:t,traitIndex:n,scaleIndex:r,showStandards:i,showDescription:a,scorePointsValues:o}=e,{name:s,standards:c,scorePointsDescriptors:l,description:u}=t||{};return(0,B.jsxs)(`tr`,{children:[(0,B.jsx)(Lv,{children:(0,B.jsx)(`div`,{dangerouslySetInnerHTML:{__html:id(s)}})}),i?(0,B.jsx)(`td`,{children:(0,B.jsx)(`div`,{dangerouslySetInnerHTML:{__html:id(c.join(`,`))}})}):null,a?(0,B.jsx)(`td`,{children:(0,B.jsx)(`div`,{dangerouslySetInnerHTML:{__html:id(u)}})}):null,o&&o.map((e,t)=>{let n;try{n=l[o.length-t-1]||``}catch{n=``}return(0,B.jsx)(`td`,{children:n?(0,B.jsx)(`div`,{dangerouslySetInnerHTML:{__html:id(n)}}):(0,B.jsx)(Rv,{dangerouslySetInnerHTML:{__html:`No Description`}})},`table-cell-${t}`)})]},`scale-${r}-trait-${n}`)};zv.propTypes={showStandards:b.bool,showDescription:b.bool,scorePointsValues:b.arrayOf(b.number),scaleIndex:b.number,traitIndex:b.number,trait:b.shape({name:b.string,standards:b.arrayOf(b.string),scorePointsDescriptors:b.arrayOf(b.string),description:b.string})};var Bv=el((0,B.jsx)(`path`,{d:`M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z`}),`ArrowBackIos`),Vv=el((0,B.jsx)(`path`,{d:`M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z`}),`ArrowForwardIos`),Hv=G(`div`)({display:`flex`,position:`relative`}),Uv=G(`div`)({width:`100%`,overflow:`auto`}),Wv=G(`table`)(({theme:e})=>({borderSpacing:0,marginBottom:e.spacing(2),borderRadius:`4px`,color:ld(),fontSize:e.typography.fontSize,lineHeight:`16px`,overflow:`unset`,"& ul, ol":{marginBlockStart:0,paddingInlineStart:e.spacing(2)},"& th":{padding:e.spacing(2),textAlign:`left`,backgroundColor:Nd(),verticalAlign:`bottom`},"& th div":{width:`200px`},"& td":{width:`200px`,padding:`${e.spacing(2)} ${e.spacing(1)}`,verticalAlign:`top`}})),Gv=G(`table`)({"& td":{border:0,padding:0,textAlign:`center`,minWidth:`200px`}}),Kv=G(`div`)({marginBottom:`4px`}),qv=G(`td`)({fontWeight:`normal`}),Jv=({show:e,onClick:t,extraStyles:n,children:r})=>(0,B.jsx)(`div`,{style:{height:`calc(100% - 1px)`,top:`1px`,display:e?`flex`:`none`,width:`50px`,margin:`auto`,position:`absolute`,alignItems:`center`,justifyContent:`center`,cursor:`pointer`,...n},onClick:t,children:r});Jv.propTypes={show:b.bool,onClick:b.func,extraStyles:b.object,children:b.object};var Yv=class extends R.Component{state={};componentDidMount(){this.tableWrapper&&this.tableWrapper.offsetWidth<this.tableWrapper.scrollWidth&&this.setState({showRight:!0})}scrollLeft=()=>{this.tableWrapper.scrollLeft-=this.tableWrapper.offsetWidth/2,this.setState({showRight:this.tableWrapper.scrollLeft<this.tableWrapper.scrollWidth,showLeft:this.tableWrapper.scrollLeft<this.tableWrapper.scrollWidth&&this.tableWrapper.scrollLeft>0})};scrollRight=()=>{let e=this.tableWrapper.scrollLeft;this.tableWrapper.scrollLeft+=this.tableWrapper.offsetWidth/2,this.setState({showRight:e!==this.tableWrapper.scrollLeft&&this.tableWrapper.scrollLeft<this.tableWrapper.scrollWidth,showLeft:this.tableWrapper.scrollLeft<this.tableWrapper.scrollWidth&&this.tableWrapper.scrollLeft>0})};render(){let{showRight:e,showLeft:t}=this.state,{scale:n,scaleIndex:r,showDescription:i,showPointsLabels:a,showStandards:o,arrowsDisabled:s}=this.props,{excludeZero:c,maxPoints:l,traitLabel:u,traits:d,scorePointsLabels:f}=n||{},p=[],m,h,g;try{for(let e=l;+(e>=c);--e)p.push(e);let{traitStandards:e,traitDescriptions:t}=d.reduce((e,t)=>({traitStandards:[...e.traitStandards,...t.standards||[]],traitDescriptions:[...e.traitDescriptions,...t.description||[]]}),{traitStandards:[],traitDescriptions:[]});m=i&&t.length,h=a&&f.length,g=o&&e.length}catch{m=!1,h=!1,g=!1}return(0,B.jsxs)(Hv,{children:[(0,B.jsx)(Jv,{show:t&&!s,onClick:this.scrollLeft,extraStyles:{left:0,background:`linear-gradient(to right, white, ${jd()})`},children:(0,B.jsx)(Bv,{})}),(0,B.jsxs)(Uv,{ref:e=>{this.tableWrapper=e},onScroll:()=>{this.setState({showRight:this.tableWrapper.scrollLeft+this.tableWrapper.offsetWidth<this.tableWrapper.scrollWidth-5&&this.tableWrapper.scrollLeft<this.tableWrapper.scrollWidth,showLeft:this.tableWrapper.scrollLeft<this.tableWrapper.scrollWidth&&this.tableWrapper.scrollLeft>0})},children:[s&&(e||t)?(0,B.jsx)(`div`,{children:`The item is too large to fit in print mode.`}):null,(0,B.jsxs)(Wv,{children:[(0,B.jsx)(`thead`,{children:(0,B.jsxs)(`tr`,{children:[(0,B.jsx)(`th`,{children:(0,B.jsx)(`div`,{dangerouslySetInnerHTML:{__html:id(u)}})}),g?(0,B.jsx)(`th`,{children:(0,B.jsx)(`div`,{children:`Standard(s)`})}):null,m?(0,B.jsx)(`th`,{children:(0,B.jsx)(`div`,{children:`Description`})}):null,p&&p.map((e,t)=>{let n=``;try{n=f[p.length-t-1]||``}catch{n=``}return(0,B.jsx)(`th`,{children:(0,B.jsx)(Gv,{children:(0,B.jsxs)(`thead`,{children:[h?(0,B.jsx)(`tr`,{children:(0,B.jsx)(`td`,{children:(0,B.jsx)(Kv,{dangerouslySetInnerHTML:{__html:id(n)}})})}):null,(0,B.jsx)(`tr`,{children:(0,B.jsx)(qv,{children:e===1?`${e} point`:`${e} points`})})]})})},`table-header-${t}`)})]})}),(0,B.jsx)(`tbody`,{children:d&&d.map((e,t)=>(0,B.jsx)(zv,{trait:e,traitIndex:t,showDescription:!!m,showStandards:!!g,scaleIndex:r,scorePointsValues:p,excludeZero:c},`trait_${r}_${t}`))})]},`scale-${r}`)]}),(0,B.jsx)(Jv,{show:e&&!s,onClick:this.scrollRight,extraStyles:{right:0,background:`linear-gradient(to left, white, ${jd()})`},children:(0,B.jsx)(Vv,{})})]})}};Yv.propTypes={scaleIndex:b.number,scale:b.shape({excludeZero:b.bool,maxPoints:b.number,scorePointsLabels:b.arrayOf(b.string),traitLabel:b.string,traits:b.arrayOf(b.shape({name:b.string,standards:b.arrayOf(b.string),scorePointsDescriptors:b.arrayOf(b.string),description:b.string}))}),showPointsLabels:b.bool,showDescription:b.bool,showStandards:b.bool,arrowsDisabled:b.bool};function Xv(e){return Lr(`MuiTypography`,e)}Rr(`MuiTypography`,[`root`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`subtitle1`,`subtitle2`,`body1`,`body2`,`inherit`,`button`,`caption`,`overline`,`alignLeft`,`alignRight`,`alignCenter`,`alignJustify`,`noWrap`,`gutterBottom`,`paragraph`]);var Zv={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Qv=Jo(),$v=e=>{let{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:o}=e;return ra({root:[`root`,a,e.align!==`inherit`&&`align${Y(t)}`,n&&`gutterBottom`,r&&`noWrap`,i&&`paragraph`]},Xv,o)},ey=G(`span`,{name:`MuiTypography`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!==`inherit`&&t[`align${Y(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(bc(({theme:e})=>({margin:0,variants:[{props:{variant:`inherit`},style:{font:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},...Object.entries(e.typography).filter(([e,t])=>e!==`inherit`&&t&&typeof t==`object`).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(Gg()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>typeof e==`string`).map(([t])=>({props:{color:`text${Y(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>e.align!==`inherit`,style:{textAlign:`var(--Typography-textAlign)`}},{props:({ownerState:e})=>e.noWrap,style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:`0.35em`}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),ty={h1:`h1`,h2:`h2`,h3:`h3`,h4:`h4`,h5:`h5`,h6:`h6`,subtitle1:`h6`,subtitle2:`h6`,body1:`p`,body2:`p`,inherit:`p`},ny=R.forwardRef(function(e,t){let{color:n,...r}=Yo({props:e,name:`MuiTypography`}),i=!Zv[n],a=Qv({...r,...i&&{color:n}}),{align:o=`inherit`,className:s,component:c,gutterBottom:l=!1,noWrap:u=!1,paragraph:d=!1,variant:f=`body1`,variantMapping:p=ty,...m}=a,h={...a,align:o,color:n,className:s,component:c,gutterBottom:l,noWrap:u,paragraph:d,variant:f,variantMapping:p},g=c||(d?`p`:p[f]||ty[f])||`span`,_=$v(h);return(0,B.jsx)(ey,{as:g,ref:t,className:V(_.root,s),...m,ownerState:h,style:{...o!==`inherit`&&{"--Typography-textAlign":o},...m.style}})});function ry(e){return Lr(`MuiLink`,e)}var iy=Rr(`MuiLink`,[`root`,`underlineNone`,`underlineHover`,`underlineAlways`,`button`,`focusVisible`]),ay=({theme:e,ownerState:t})=>{let n=t.color;if(`colorSpace`in e&&e.colorSpace){let r=wn(e,`palette.${n}.main`)||wn(e,`palette.${n}`)||t.color;return e.alpha(r,.4)}let r=wn(e,`palette.${n}.main`,!1)||wn(e,`palette.${n}`,!1)||t.color,i=wn(e,`palette.${n}.mainChannel`)||wn(e,`palette.${n}Channel`);return`vars`in e&&i?`rgba(${i} / 0.4)`:li(r,.4)},oy={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},sy=e=>{let{classes:t,component:n,focusVisible:r,underline:i}=e;return ra({root:[`root`,`underline${Y(i)}`,n===`button`&&`button`,r&&`focusVisible`]},ry,t)},cy=G(ny,{name:`MuiLink`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`underline${Y(n.underline)}`],n.component===`button`&&t.button]}})(bc(({theme:e})=>({variants:[{props:{underline:`none`},style:{textDecoration:`none`}},{props:{underline:`hover`},style:{textDecoration:`none`,"&:hover":{textDecoration:`underline`}}},{props:{underline:`always`},style:{textDecoration:`underline`,"&:hover":{textDecorationColor:`inherit`}}},{props:({underline:e,ownerState:t})=>e===`always`&&t.color!==`inherit`,style:{textDecorationColor:`var(--Link-underlineColor)`}},{props:({underline:e,ownerState:t})=>e===`always`&&t.color===`inherit`,style:e.colorSpace?{textDecorationColor:e.alpha(`currentColor`,.4)}:null},...Object.entries(e.palette).filter(Gg()).map(([t])=>({props:{underline:`always`,color:t},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette[t].main,.4)}})),{props:{underline:`always`,color:`textPrimary`},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.primary,.4)}},{props:{underline:`always`,color:`textSecondary`},style:{"--Link-underlineColor":e.alpha((e.vars||e).palette.text.secondary,.4)}},{props:{underline:`always`,color:`textDisabled`},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:`button`},style:{position:`relative`,WebkitTapHighlightColor:`transparent`,backgroundColor:`transparent`,outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:`pointer`,userSelect:`none`,verticalAlign:`middle`,MozAppearance:`none`,WebkitAppearance:`none`,"&::-moz-focus-inner":{borderStyle:`none`},[`&.${iy.focusVisible}`]:{outline:`auto`}}}]}))),ly=R.forwardRef(function(e,t){let n=Yo({props:e,name:`MuiLink`}),r=go(),{className:i,color:a=`primary`,component:o=`a`,onBlur:s,onFocus:c,TypographyClasses:l,underline:u=`always`,variant:d=`inherit`,sx:f,...p}=n,[m,h]=R.useState(!1),g=e=>{wg(e.target)||h(!1),s&&s(e)},_=e=>{wg(e.target)&&h(!0),c&&c(e)},v={...n,color:a,component:o,focusVisible:m,underline:u,variant:d},y=sy(v);return(0,B.jsx)(cy,{color:a,className:V(y.root,i),classes:l,component:o,onBlur:g,onFocus:_,ref:t,ownerState:v,variant:d,...p,sx:[...oy[a]===void 0?[{color:a}]:[],...Array.isArray(f)?f:[f]],style:{...p.style,...u===`always`&&a!==`inherit`&&!oy[a]&&{"--Link-underlineColor":ay({theme:r,ownerState:v})}}})}),{translator:uy}=gg;function dy(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function fy(e,t){return!e||dy(e)?e:dy(e.default)?e.default:t&&dy(e[t])?e[t]:t&&dy(e[t]?.default)?e[t].default:e}var py=fy(T_,`UiLayout`)||fy(gy.UiLayout,`UiLayout`),my=Iv,hy=my.default,gy=hy&&typeof hy==`object`?hy:my,_y=class extends R.Component{constructor(e){super(e),this.state={rubricOpen:!1},this.toggleRubric=this.toggleRubric.bind(this)}toggleRubric(){this.setState({rubricOpen:!this.state.rubricOpen})}render(){let{model:e}=this.props,{animationsDisabled:t}=this.props,{extraCSSRules:n,halfScoring:r,scales:i,visible:a,pointLabels:o,description:s,standards:c,arrowsDisabled:l}=e||{};if(t||=e.animationsDisabled,!i||!a)return null;let u=(0,B.jsxs)(py,{extraCSSRules:n,style:{fontFamily:`Cerebri Sans`,color:ld(),backgroundColor:jd()},children:[r?(0,B.jsx)(`div`,{style:{marginBottom:`16px`},children:`* Half-point or in-between scores are permitted under this rubric.`}):null,i.map((e,t)=>(0,B.jsx)(Yv,{scale:e,scaleIndex:t,showPointsLabels:o,showDescription:s,showStandards:c,arrowsDisabled:l},`scale_${t}`))]});return t?u:(0,B.jsxs)(py,{extraCSSRules:n,style:{color:ld(),backgroundColor:jd()},children:[(0,B.jsx)(ly,{component:`button`,type:`button`,"aria-expanded":this.state.rubricOpen,style:{backgroundColor:jd(),minHeight:`24px`},onClick:this.toggleRubric,children:uy.t(this.state.rubricOpen?`rubric.hideRubric`:`rubric.showRubric`,{lng:e.language})}),(0,B.jsx)(Bf,{style:{marginTop:`16px`},in:this.state.rubricOpen,timeout:{enter:225,exit:195},children:u})]})}};_y.propTypes={model:b.shape({halfScoring:b.bool,scales:b.arrayOf(b.shape({excludeZero:b.bool,maxPoints:b.number,scorePointsLabels:b.arrayOf(b.string),traitLabel:b.string,traits:b.arrayOf(b.shape({name:b.string,description:b.string,scorePointsDescriptors:b.arrayOf(b.string),standards:b.arrayOf(b.string)}))})),visible:b.bool,pointLabels:b.bool,description:b.bool,standards:b.bool,animationsDisabled:b.bool}),animationsDisabled:b.bool};var vy=g(),yy=class extends HTMLElement{constructor(){super(),this._model={},this._session=null,this._root=null,this._mathObserver=null,this._mathRenderPending=!1}_scheduleMathRender=()=>{this._mathRenderPending||(this._mathRenderPending=!0,requestAnimationFrame(()=>{this._mathObserver&&this._mathObserver.disconnect(),ph(this),this._mathRenderPending=!1,setTimeout(()=>{this._mathObserver&&this._mathObserver.observe(this,{childList:!0,subtree:!0})},50)}))};_initMathObserver(){this._mathObserver||(this._mathObserver=new MutationObserver(this._scheduleMathRender),this._mathObserver.observe(this,{childList:!0,subtree:!0}))}_disconnectMathObserver(){this._mathObserver&&=(this._mathObserver.disconnect(),null)}set model(e){this._model=e,this.dispatchEvent(new _(this.tagName.toLowerCase(),this._session,!!this._model)),this._render()}set session(e){this._session=e}get session(){return this._session}connectedCallback(){this._initMathObserver(),this._render()}_render(){this._initMathObserver();let e=R.createElement(_y,{model:this._model,session:this._session});this._root||=(0,vy.createRoot)(this),this._root.render(e)}disconnectedCallback(){this._disconnectMathObserver(),this._root&&=(this._root.unmount(),null)}};return typeof window<`u`&&!customElements.get(`multi-trait-rubric-element`)&&customElements.define(`multi-trait-rubric-element`,yy),yy})();
|