PageSourceSearch

https://lingoteach.ai/static/js/5343.383eb11a.chunk.js

js lingoteach.ai collected 2026-09-24 13:38:21 UTC 17,537 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkall_language_frontend=self.webpackChunkall_language_frontend||[]).push([[5343],{30168:function(e,n,t){function o(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}t.d(n,{Z:function(){return o}})},67302:function(e,n,t){t.d(n,{Z:function(){return oe}});var o=t(1413),i=t(29439),r=t(45987),l=t(4942),u=t(47313),a=t(2197),s=t(88879),c=t(29359),p=t(6422),d=t(2379),f=t(98574),h=t(27981),v=t(15671),m=t(43144),b=t(73522),Z=function(){function e(){var n=this;(0,v.Z)(this,e),(0,l.Z)(this,"mountEffect",(function(){n.shouldMount&&!n.didMount&&null!==n.ref.current&&(n.didMount=!0,n.mounted.resolve())})),this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}return(0,m.Z)(e,[{key:"mount",value:function(){return this.mounted||(this.mounted=function(){var e,n,t=new Promise((function(t,o){e=t,n=o}));return t.resolve=e,t.reject=n,t}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}},{key:"start",value:function(){for(var e=this,n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];this.mount().then((function(){var n;return null===(n=e.ref.current)||void 0===n?void 0:n.start.apply(n,t)}))}},{key:"stop",value:function(){for(var e=this,n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];this.mount().then((function(){var n;return null===(n=e.ref.current)||void 0===n?void 0:n.stop.apply(n,t)}))}},{key:"pulsate",value:function(){for(var e=this,n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];this.mount().then((function(){var n;return null===(n=e.ref.current)||void 0===n?void 0:n.pulsate.apply(n,t)}))}}],[{key:"create",value:function(){return new e}},{key:"use",value:function(){var n=(0,b.Z)(e.create).current,t=u.useState(!1),o=(0,i.Z)(t,2),r=o[0],l=o[1];return n.shouldMount=r,n.setShouldMount=l,u.useEffect(n.mountEffect,[r]),n}}]),e}();var g=t(93433),y=t(30168),x=t(63366),M=t(87462),S=t(97326),R=t(94578),w=t(20010);function E(e,n){var t=Object.create(null);return e&&u.Children.map(e,(function(e){return e})).forEach((function(e){t[e.key]=function(e){return n&&(0,u.isValidElement)(e)?n(e):e}(e)})),t}function k(e,n,t){return null!=t[n]?t[n]:e.props[n]}function z(e,n,t){var o=E(e.children),i=function(e,n){function t(t){return t in n?n[t]:e[t]}e=e||{},n=n||{};var o,i=Object.create(null),r=[];for(var l in e)l in n?r.length&&(i[l]=r,r=[]):r.push(l);var u={};for(var a in n){if(i[a])for(o=0;o<i[a].length;o++){var s=i[a][o];u[i[a][o]]=t(s)}u[a]=t(a)}for(o=0;o<r.length;o++)u[r[o]]=t(r[o]);return u}(n,o);
1return Object.keys(i).forEach((function(r){var l=i[r];if((0,u.isValidElement)(l)){var a=r in n,s=r in o,c=n[r],p=(0,u.isValidElement)(c)&&!c.props.in;!s||a&&!p?s||!a||p?s&&a&&(0,u.isValidElement)(c)&&(i[r]=(0,u.cloneElement)(l,{onExited:t.bind(null,l),in:c.props.in,exit:k(l,"exit",e),enter:k(l,"enter",e)})):i[r]=(0,u.cloneElement)(l,{in:!1}):i[r]=(0,u.cloneElement)(l,{onExited:t.bind(null,l),in:!0,exit:k(l,"exit",e),enter:k(l,"enter",e)})}})),i}var C=Object.values||function(e){return Object.keys(e).map((function(n){return e[n]}))},P=function(e){function n(n,t){var o,i=(o=e.call(this,n,t)||this).handleExited.bind((0,S.Z)(o));return o.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},o}(0,R.Z)(n,e);var t=n.prototype;return t.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},t.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,n){var t,o,i=n.children,r=n.handleExited;return{children:n.firstRender?(t=e,o=r,E(t.children,(function(e){return(0,u.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:k(e,"appear",t),enter:k(e,"enter",t),exit:k(e,"exit",t)})}))):z(e,i,r),firstRender:!1}},t.handleExited=function(e,n){var t=E(this.props.children);e.key in t||(e.props.onExited&&e.props.onExited(n),this.mounted&&this.setState((function(n){var t=(0,M.Z)({},n.children);return delete t[e.key],{children:t}})))},t.render=function(){var e=this.props,n=e.component,t=e.childFactory,o=(0,x.Z)(e,["component","childFactory"]),i=this.state.contextValue,r=C(this.state.children).map(t);return delete o.appear,delete o.enter,delete o.exit,null===n?u.createElement(w.Z.Provider,{value:i},r):u.createElement(w.Z.Provider,{value:i},u.createElement(n,o,r))},n}(u.Component);P.propTypes={},P.defaultProps={component:"div",childFactory:function(e){return e}};var T=P,V=t(88478),j=t(30686),B=t(46417);var N=function(e){var n=e.className,t=e.classes,o=e.pulsate,r=void 0!==o&&o,l=e.rippleX,s=e.rippleY,c=e.rippleSize,p=e.in,d=e.onExited,f=e.timeout,h=u.useState(!1),v=(0,i.Z)(h,2),m=v[0],b=v[1],Z=(0,a.Z)(n,t.ripple,t.rippleVisible,r&&t.ripplePulsate),g={width:c,height:c,top:-c/2+s,left:-c/2+l},y=(0,a.Z)(t.child,m&&t.childLeaving,r&&t.childPulsate);return p||m||b(!0),u.useEffect((function(){if(!p&&null!=d){var e=setTimeout(d,f);return function(){clearTimeout(e)}}}),[d,p,f]),(0,B.jsx)("span",{className:Z,style:g,children:(0,B.jsx)("span",{className:y})})},I=t(28342);var D,L,A,F,O=(0,I.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),X=["center","classes","className"],U=(0,j.F4)(D||(D=(0,y.Z)(["\n  0% {\n    transform: scale(0);\n    opacity: 0.1;\n  }\n\n  100% {\n    transform: scale(1);\n    opacity: 0.3;\n  }\n"]))),Y=(0,j.F4)(L||(L=(0,y.Z)(["\n  0% {\n    opacity: 1;\n  }\n\n  100% {\n    opacity: 0;\n  }\n"]))),K=(0,j.F4)(A||(A=(0,y.Z)(["\n  0% {\n    transform: scale(1);\n  }\n\n  50% {\n    transform: scale(0.92);\n  }\n\n  100% {\n    transform: scale(1);\n  }\n"]))),H=(0,p.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),W=(0,p.ZP)(N,{name:"MuiTouchRipple",slot:"Ripple"})(F||(F=(0,y.Z)(["\n  opacity: 0;\n  position: absolute;\n\n  &."," {\n    opacity: 0.3;\n    transform: scale(1);\n    animation-name: ",";\n    animation-duration: ","ms;\n    animation-timing-function: ",";\n  }\n\n  &."," {\n    animation-duration: ","ms;\n  }\n\n  & ."," {\n    opacity: 1;\n    display: block;\n    width: 100%;\n    height: 100%;\n    border-radius: 50%;\n    background-color: currentColor;\n  }\n\n  & ."," {\n    opacity: 0;\n    animation-name: ",";\n    animation-duration: ","ms;\n    animation-timing-function: ",";\n  }\n\n  & ."," {\n    position: absolute;\n    /* @noflip */\n    left: 0px;\n    top: 0;\n    animation-name: ",";\n    animation-duration: 2500ms;\n    animation-timing-function: ",";\n    animation-iteration-count: infinite;\n    animation-delay: 200ms;\n  }\n"])),O.rippleVisible,U,550,(function(e){return e.theme.transitions.easing.easeInOut}),O.ripplePulsate,(function(e){return e.theme.transitions.duration.shorter}),O.child,O.childLeaving,Y,550,(function(e){return e.theme.transitions.easing.easeInOut}),O.childPulsate,K,(function(e){return e.theme.transitions.easing.easeInOut})),_=u.forwardRef((function(e,n){var t=(0,d.i)({props:e,name:"MuiTouchRipple"}),l=t.center,s=void 0!==l&&l,c=t.classes,p=void 0===c?{}:c,f=t.className,h=(0,r.Z)(t,X),v=u.useState([]),m=(0,i.Z)(v,2),b=m[0],Z=m[1],y=u.useRef(0),x=u.useRef(null);u.useEffect((function(){x.current&&(x.current(),x.current=null)}),[b]);var M=u.useRef(!1),S=(0,V.Z)(),R=u.useRef(null),w=u.useRef(null),E=u.useCallback((function(e){var n=e.pulsate,t=e.rippleX,o=e.rippleY,i=e.rippleSize,r=e.cb;Z((function(e){return[].concat((0,g.Z)(e),[(0,B.jsx)(W,{classes:{ripple:(0,a.Z)(p.ripple,O.ripple),rippleVisible:(0,a.Z)(p.rippleVisible,O.rippleVisible),ripplePulsate:(0,a.Z)(p.ripplePulsate,O.ripplePulsate),
1child:(0,a.Z)(p.child,O.child),childLeaving:(0,a.Z)(p.childLeaving,O.childLeaving),childPulsate:(0,a.Z)(p.childPulsate,O.childPulsate)},timeout:550,pulsate:n,rippleX:t,rippleY:o,rippleSize:i},y.current)])})),y.current+=1,x.current=r}),[p]),k=u.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=n.pulsate,i=void 0!==o&&o,r=n.center,l=void 0===r?s||n.pulsate:r,u=n.fakeElement,a=void 0!==u&&u;if("mousedown"===(null===e||void 0===e?void 0:e.type)&&M.current)M.current=!1;else{"touchstart"===(null===e||void 0===e?void 0:e.type)&&(M.current=!0);var c,p,d,f=a?null:w.current,h=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(l||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(h.width/2),p=Math.round(h.height/2);else{var v=e.touches&&e.touches.length>0?e.touches[0]:e,m=v.clientX,b=v.clientY;c=Math.round(m-h.left),p=Math.round(b-h.top)}if(l)(d=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2===0&&(d+=1);
1else{var Z=2*Math.max(Math.abs((f?f.clientWidth:0)-c),c)+2,g=2*Math.max(Math.abs((f?f.clientHeight:0)-p),p)+2;d=Math.sqrt(Math.pow(Z,2)+Math.pow(g,2))}null!==e&&void 0!==e&&e.touches?null===R.current&&(R.current=function(){E({pulsate:i,rippleX:c,rippleY:p,rippleSize:d,cb:t})},S.start(80,(function(){R.current&&(R.current(),R.current=null)}))):E({pulsate:i,rippleX:c,rippleY:p,rippleSize:d,cb:t})}}),[s,E,S]),z=u.useCallback((function(){k({},{pulsate:!0})}),[k]),C=u.useCallback((function(e,n){if(S.clear(),"touchend"===(null===e||void 0===e?void 0:e.type)&&R.current)return R.current(),R.current=null,void S.start(0,(function(){C(e,n)}));R.current=null,Z((function(e){return e.length>0?e.slice(1):e})),x.current=n}),[S]);return u.useImperativeHandle(n,(function(){return{pulsate:z,start:k,stop:C}}),[z,k,C]),(0,B.jsx)(H,(0,o.Z)((0,o.Z)({className:(0,a.Z)(O.root,p.root,f),ref:w},h),{},{children:(0,B.jsx)(T,{component:null,exit:!0,children:b})}))})),q=_,G=t(43645);function J(e){return(0,G.ZP)("MuiButtonBase",e)}var Q,$=(0,I.Z)("MuiButtonBase",["root","disabled","focusVisible"]),ee=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],ne=(0,p.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,n){return n.root}})((Q={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"}},(0,l.Z)(Q,"&.".concat($.disabled),{pointerEvents:"none",cursor:"default"}),(0,l.Z)(Q,"@media print",{colorAdjust:"exact"}),Q));function te(e,n,t){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return(0,h.Z)((function(i){return t&&t(i),o||e[n](i),!0}))}var oe=u.forwardRef((function(e,n){var t=(0,d.i)({props:e,name:"MuiButtonBase"}),l=t.action,p=t.centerRipple,v=void 0!==p&&p,m=t.children,b=t.className,g=t.component,y=void 0===g?"button":g,x=t.disabled,M=void 0!==x&&x,S=t.disableRipple,R=void 0!==S&&S,w=t.disableTouchRipple,E=void 0!==w&&w,k=t.focusRipple,z=void 0!==k&&k,C=(t.focusVisibleClassName,t.LinkComponent),P=void 0===C?"a":C,T=t.onBlur,V=t.onClick,j=t.onContextMenu,N=t.onDragLeave,I=t.onFocus,D=t.onFocusVisible,L=t.onKeyDown,A=t.onKeyUp,F=t.onMouseDown,O=t.onMouseLeave,X=t.onMouseUp,U=t.onTouchEnd,Y=t.onTouchMove,K=t.onTouchStart,H=t.tabIndex,W=void 0===H?0:H,_=t.TouchRippleProps,G=t.touchRippleRef,Q=t.type,$=(0,r.Z)(t,ee),oe=u.useRef(null),ie=Z.use(),re=(0,f.Z)(ie.ref,G),le=u.useState(!1),ue=(0,i.Z)(le,2),ae=ue[0],se=ue[1];M&&ae&&se(!1),u.useImperativeHandle(l,(function(){return{focusVisible:function(){se(!0),oe.current.focus()}}}),[]);var ce=ie.shouldMount&&!R&&!M;u.useEffect((function(){ae&&z&&!R&&ie.pulsate()}),[R,z,ae,ie]);var pe=te(ie,"start",F,E),de=te(ie,"stop",j,E),fe=te(ie,"stop",N,E),he=te(ie,"stop",X,E),ve=te(ie,"stop",(function(e){ae&&e.preventDefault(),O&&O(e)}),E),me=te(ie,"start",K,E),be=te(ie,"stop",U,E),Ze=te(ie,"stop",Y,E),ge=te(ie,"stop",(function(e){(0,c.Z)(e.target)||se(!1),T&&T(e)}),!1),ye=(0,h.Z)((function(e){oe.current||(oe.current=e.currentTarget),(0,c.Z)(e.target)&&(se(!0),D&&D(e)),I&&I(e)})),xe=function(){var e=oe.current;return y&&"button"!==y&&!("A"===e.tagName&&e.href)},Me=(0,h.Z)((function(e){z&&!e.repeat&&ae&&" "===e.key&&ie.stop(e,(function(){ie.start(e)})),e.target===e.currentTarget&&xe()&&" "===e.key&&e.preventDefault(),L&&L(e),e.target===e.currentTarget&&xe()&&"Enter"===e.key&&!M&&(e.preventDefault(),V&&V(e))})),Se=(0,h.Z)((function(e){z&&" "===e.key&&ae&&!e.defaultPrevented&&ie.stop(e,(function(){ie.pulsate(e)})),A&&A(e),V&&e.target===e.currentTarget&&xe()&&" "===e.key&&!e.defaultPrevented&&V(e)})),Re=y;"button"===Re&&($.href||$.to)&&(Re=P);var we={};"button"===Re?(we.type=void 0===Q?"button":Q,we.disabled=M):($.href||$.to||(we.role="button"),M&&(we["aria-disabled"]=M));var Ee=(0,f.Z)(n,oe),ke=(0,o.Z)((0,o.Z)({},t),{},{centerRipple:v,component:y,disabled:M,disableRipple:R,disableTouchRipple:E,focusRipple:z,tabIndex:W,focusVisible:ae}),ze=function(e){var n=e.disabled,t=e.focusVisible,o=e.focusVisibleClassName,i=e.classes,r={root:["root",n&&"disabled",t&&"focusVisible"]},l=(0,s.Z)(r,J,i);return t&&o&&(l.root+=" ".concat(o)),l}(ke);return(0,B.jsxs)(ne,(0,o.Z)((0,o.Z)((0,o.Z)({as:Re,className:(0,a.Z)(ze.root,b),ownerState:ke,onBlur:ge,onClick:V,onContextMenu:de,onFocus:ye,onKeyDown:Me,onKeyUp:Se,onMouseDown:pe,onMouseLeave:ve,onMouseUp:he,onDragLeave:fe,onTouchEnd:be,onTouchMove:Ze,onTouchStart:me,ref:Ee,tabIndex:M?-1:W,type:Q},we),$),{},{children:[m,ce?(0,B.jsx)(q,(0,o.Z)({ref:re,center:v},_)):null]}))}))},50844:function(e,n,t){t.d(n,{Z:function(){return M}});var o=t(1413),i=t(47313),r=t(45987),l=t(29439),u=t(93433),a=t(2197),s=t(88879),c=t(76532),p=t(6422),d=t(81659),f=t(2379),h=t(28342),v=t(43645);function m(e){return(0,v.ZP)("MuiSvgIcon",e)}(0,h.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var b=t(46417),Z=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],g=(0,p.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(e,n){var t=e.ownerState;return[n.root,"inherit"!==t.color&&n["color".concat((0,c.Z)(t.color))],n["fontSize".concat((0,c.Z)(t.fontSize))]]}})((0,d.Z)((function(e){var n,t,o,i,r,a,s,c,p,d,f,h,v,m,b,Z,g,y,x=e.theme;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:null===(n=x.transitions)||void 0===n||null===(t=n.create)||void 0===t?void 0:t.call(n,"fill",{duration:null===(o=(null!==(r=x.vars)&&void 0!==r?r:x).transitions)||void 0===o||null===(i=o.duration)||void 0===i?void 0:i.shorter}),variants:[{props:function(e){return!e.hasSvgAsChild},style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:(null===(a=x.typography)||void 0===a||null===(s=a.pxToRem)||void 0===s?void 0:s.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:(null===(c=x.typography)||void 0===c||null===(p=c.pxToRem)||void 0===p?void 0:p.call(c,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:(null===(d=x.typography)||void 0===d||null===(f=d.pxToRem)||void 0===f?void 0:f.call(d,35))||"2.1875rem"}}
1].concat((0,u.Z)(Object.entries((null!==(h=x.vars)&&void 0!==h?h:x).palette).filter((function(e){var n=(0,l.Z)(e,2)[1];return n&&n.main})).map((function(e){var n,t,o,i=(0,l.Z)(e,1)[0];return{props:{color:i},style:{color:null===(n=(null!==(o=x.vars)&&void 0!==o?o:x).palette)||void 0===n||null===(t=n[i])||void 0===t?void 0:t.main}}}))),[{props:{color:"action"},style:{color:null===(v=(null!==(b=x.vars)&&void 0!==b?b:x).palette)||void 0===v||null===(m=v.action)||void 0===m?void 0:m.active}},{props:{color:"disabled"},style:{color:null===(Z=(null!==(y=x.vars)&&void 0!==y?y:x).palette)||void 0===Z||null===(g=Z.action)||void 0===g?void 0:g.disabled}},{props:{color:"inherit"},style:{color:void 0}}])}}))),y=i.forwardRef((function(e,n){var t=(0,f.i)({props:e,name:"MuiSvgIcon"}),l=t.children,u=t.className,p=t.color,d=void 0===p?"inherit":p,h=t.component,v=void 0===h?"svg":h,y=t.fontSize,x=void 0===y?"medium":y,M=t.htmlColor,S=t.inheritViewBox,R=void 0!==S&&S,w=t.titleAccess,E=t.viewBox,k=void 0===E?"0 0 24 24":E,z=(0,r.Z)(t,Z),C=i.isValidElement(l)&&"svg"===l.type,P=(0,o.Z)((0,o.Z)({},t),{},{color:d,component:v,fontSize:x,instanceFontSize:e.fontSize,inheritViewBox:R,viewBox:k,hasSvgAsChild:C}),T={};R||(T.viewBox=k);var V=function(e){var n=e.color,t=e.fontSize,o=e.classes,i={root:["root","inherit"!==n&&"color".concat((0,c.Z)(n)),"fontSize".concat((0,c.Z)(t))]};return(0,s.Z)(i,m,o)}(P);return(0,b.jsxs)(g,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({as:v,className:(0,a.Z)(V.root,u),focusable:"false",color:M,"aria-hidden":!w||void 0,role:w?"img":void 0,ref:n},T),z),C&&l.props),{},{ownerState:P,children:[C?l.props.children:l,w?(0,b.jsx)("title",{children:w}):null]}))}));y.muiName="SvgIcon";var x=y;function M(e,n){function t(n,t){return(0,b.jsx)(x,(0,o.Z)((0,o.Z)({"data-testid":void 0,ref:t},n),{},{children:e}))}return t.muiName=x.muiName,i.memo(i.forwardRef(t))}}}]);

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