@bdelab/roar-sre 1.0.17 → 1.1.1
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/lib/swr.esm.min.js +1 -1
- package/package.json +2 -2
package/lib/swr.esm.min.js
CHANGED
|
@@ -22,4 +22,4 @@ function(e){for(var t=[],n=0;n<e.elements.length;n++){var i=e.elements[n];if(i.n
|
|
|
22
22
|
* Released under MIT license <https://lodash.com/license>
|
|
23
23
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
24
24
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
25
|
-
*/!function(e,t){(function(){var i,a="Expected a function",s="__lodash_hash_undefined__",r="__lodash_placeholder__",o=16,c=32,l=64,u=128,p=256,d=1/0,m=9007199254740991,h=NaN,f=4294967295,g=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",o],["flip",512],["partial",c],["partialRight",l],["rearg",p]],v="[object Arguments]",y="[object Array]",b="[object Boolean]",x="[object Date]",w="[object Error]",_="[object Function]",E="[object GeneratorFunction]",S="[object Map]",k="[object Number]",T="[object Object]",I="[object Promise]",R="[object RegExp]",A="[object Set]",j="[object String]",O="[object Symbol]",C="[object WeakMap]",L="[object ArrayBuffer]",F="[object DataView]",U="[object Float32Array]",P="[object Float64Array]",z="[object Int8Array]",M="[object Int16Array]",N="[object Int32Array]",q="[object Uint8Array]",$="[object Uint8ClampedArray]",D="[object Uint16Array]",B="[object Uint32Array]",Y=/\b__p \+= '';/g,K=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,V=/&(?:amp|lt|gt|quot|#39);/g,H=/[&<>"']/g,G=RegExp(V.source),J=RegExp(H.source),Q=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,X=/<%=([\s\S]+?)%>/g,ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,te=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,ae=RegExp(ie.source),se=/^\s+/,re=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,me=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,ye=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,we=/($^)/,_e=/['\n\r\u2028\u2029\\]/g,Ee="\\ud800-\\udfff",Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ke="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",Ie="A-Z\\xc0-\\xd6\\xd8-\\xde",Re="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",je="['’]",Oe="["+Ee+"]",Ce="["+Ae+"]",Le="["+Se+"]",Fe="\\d+",Ue="["+ke+"]",Pe="["+Te+"]",ze="[^"+Ee+Ae+Fe+ke+Te+Ie+"]",Me="\\ud83c[\\udffb-\\udfff]",Ne="[^"+Ee+"]",qe="(?:\\ud83c[\\udde6-\\uddff]){2}",$e="[\\ud800-\\udbff][\\udc00-\\udfff]",De="["+Ie+"]",Be="\\u200d",Ye="(?:"+Pe+"|"+ze+")",Ke="(?:"+De+"|"+ze+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",Ve="(?:['’](?:D|LL|M|RE|S|T|VE))?",He="(?:"+Le+"|"+Me+")"+"?",Ge="["+Re+"]?",Je=Ge+He+("(?:"+Be+"(?:"+[Ne,qe,$e].join("|")+")"+Ge+He+")*"),Qe="(?:"+[Ue,qe,$e].join("|")+")"+Je,Ze="(?:"+[Ne+Le+"?",Le,qe,$e,Oe].join("|")+")",Xe=RegExp(je,"g"),et=RegExp(Le,"g"),tt=RegExp(Me+"(?="+Me+")|"+Ze+Je,"g"),nt=RegExp([De+"?"+Pe+"+"+We+"(?="+[Ce,De,"$"].join("|")+")",Ke+"+"+Ve+"(?="+[Ce,De+Ye,"$"].join("|")+")",De+"?"+Ye+"+"+We,De+"+"+Ve,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fe,Qe].join("|"),"g"),it=RegExp("["+Be+Ee+Se+Re+"]"),at=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,st=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,ot={};ot[U]=ot[P]=ot[z]=ot[M]=ot[N]=ot[q]=ot[$]=ot[D]=ot[B]=!0,ot[v]=ot[y]=ot[L]=ot[b]=ot[F]=ot[x]=ot[w]=ot[_]=ot[S]=ot[k]=ot[T]=ot[R]=ot[A]=ot[j]=ot[C]=!1;var ct={};ct[v]=ct[y]=ct[L]=ct[F]=ct[b]=ct[x]=ct[U]=ct[P]=ct[z]=ct[M]=ct[N]=ct[S]=ct[k]=ct[T]=ct[R]=ct[A]=ct[j]=ct[O]=ct[q]=ct[$]=ct[D]=ct[B]=!0,ct[w]=ct[_]=ct[C]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,pt=parseInt,dt="object"==typeof n&&n&&n.Object===Object&&n,mt="object"==typeof self&&self&&self.Object===Object&&self,ht=dt||mt||Function("return this")(),ft=t&&!t.nodeType&&t,gt=ft&&e&&!e.nodeType&&e,vt=gt&>.exports===ft,yt=vt&&dt.process,bt=function(){try{var e=gt&>.require&>.require("util").types;return e||yt&&yt.binding&&yt.binding("util")}catch(e){}}(),xt=bt&&bt.isArrayBuffer,wt=bt&&bt.isDate,_t=bt&&bt.isMap,Et=bt&&bt.isRegExp,St=bt&&bt.isSet,kt=bt&&bt.isTypedArray;function Tt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function It(e,t,n,i){for(var a=-1,s=null==e?0:e.length;++a<s;){var r=e[a];t(i,r,n(r),e)}return i}function Rt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function At(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function jt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(!t(e[n],n,e))return!1;return!0}function Ot(e,t){for(var n=-1,i=null==e?0:e.length,a=0,s=[];++n<i;){var r=e[n];t(r,n,e)&&(s[a++]=r)}return s}function Ct(e,t){return!!(null==e?0:e.length)&&Dt(e,t,0)>-1}function Lt(e,t,n){for(var i=-1,a=null==e?0:e.length;++i<a;)if(n(t,e[i]))return!0;return!1}function Ft(e,t){for(var n=-1,i=null==e?0:e.length,a=Array(i);++n<i;)a[n]=t(e[n],n,e);return a}function Ut(e,t){for(var n=-1,i=t.length,a=e.length;++n<i;)e[a+n]=t[n];return e}function Pt(e,t,n,i){var a=-1,s=null==e?0:e.length;for(i&&s&&(n=e[++a]);++a<s;)n=t(n,e[a],a,e);return n}function zt(e,t,n,i){var a=null==e?0:e.length;for(i&&a&&(n=e[--a]);a--;)n=t(n,e[a],a,e);return n}function Mt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var Nt=Wt("length");function qt(e,t,n){var i;return n(e,(function(e,n,a){if(t(e,n,a))return i=n,!1})),i}function $t(e,t,n,i){for(var a=e.length,s=n+(i?1:-1);i?s--:++s<a;)if(t(e[s],s,e))return s;return-1}function Dt(e,t,n){return t==t?function(e,t,n){var i=n-1,a=e.length;for(;++i<a;)if(e[i]===t)return i;return-1}(e,t,n):$t(e,Yt,n)}function Bt(e,t,n,i){for(var a=n-1,s=e.length;++a<s;)if(i(e[a],t))return a;return-1}function Yt(e){return e!=e}function Kt(e,t){var n=null==e?0:e.length;return n?Gt(e,t)/n:h}function Wt(e){return function(t){return null==t?i:t[e]}}function Vt(e){return function(t){return null==e?i:e[t]}}function Ht(e,t,n,i,a){return a(e,(function(e,a,s){n=i?(i=!1,e):t(n,e,a,s)})),n}function Gt(e,t){for(var n,a=-1,s=e.length;++a<s;){var r=t(e[a]);r!==i&&(n=n===i?r:n+r)}return n}function Jt(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function Qt(e){return e?e.slice(0,fn(e)+1).replace(se,""):e}function Zt(e){return function(t){return e(t)}}function Xt(e,t){return Ft(t,(function(t){return e[t]}))}function en(e,t){return e.has(t)}function tn(e,t){for(var n=-1,i=e.length;++n<i&&Dt(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length;n--&&Dt(t,e[n],0)>-1;);return n}var an=Vt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),sn=Vt({"&":"&","<":"<",">":">",'"':""","'":"'"});function rn(e){return"\\"+lt[e]}function on(e){return it.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function un(e,t){for(var n=-1,i=e.length,a=0,s=[];++n<i;){var o=e[n];o!==t&&o!==r||(e[n]=r,s[a++]=n)}return s}function pn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function mn(e){return on(e)?function(e){var t=tt.lastIndex=0;for(;tt.test(e);)++t;return t}(e):Nt(e)}function hn(e){return on(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.split("")}(e)}function fn(e){for(var t=e.length;t--&&re.test(e.charAt(t)););return t}var gn=Vt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var vn=function e(t){var n=(t=null==t?ht:vn.defaults(ht.Object(),t,vn.pick(ht,st))).Array,re=t.Date,Ee=t.Error,Se=t.Function,ke=t.Math,Te=t.Object,Ie=t.RegExp,Re=t.String,Ae=t.TypeError,je=n.prototype,Oe=Se.prototype,Ce=Te.prototype,Le=t["__core-js_shared__"],Fe=Oe.toString,Ue=Ce.hasOwnProperty,Pe=0,ze=function(){var e=/[^.]+$/.exec(Le&&Le.keys&&Le.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Me=Ce.toString,Ne=Fe.call(Te),qe=ht._,$e=Ie("^"+Fe.call(Ue).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),De=vt?t.Buffer:i,Be=t.Symbol,Ye=t.Uint8Array,Ke=De?De.allocUnsafe:i,We=ln(Te.getPrototypeOf,Te),Ve=Te.create,He=Ce.propertyIsEnumerable,Ge=je.splice,Je=Be?Be.isConcatSpreadable:i,Qe=Be?Be.iterator:i,Ze=Be?Be.toStringTag:i,tt=function(){try{var e=ps(Te,"defineProperty");return e({},"",{}),e}catch(e){}}(),it=t.clearTimeout!==ht.clearTimeout&&t.clearTimeout,lt=re&&re.now!==ht.Date.now&&re.now,dt=t.setTimeout!==ht.setTimeout&&t.setTimeout,mt=ke.ceil,ft=ke.floor,gt=Te.getOwnPropertySymbols,yt=De?De.isBuffer:i,bt=t.isFinite,Nt=je.join,Vt=ln(Te.keys,Te),yn=ke.max,bn=ke.min,xn=re.now,wn=t.parseInt,_n=ke.random,En=je.reverse,Sn=ps(t,"DataView"),kn=ps(t,"Map"),Tn=ps(t,"Promise"),In=ps(t,"Set"),Rn=ps(t,"WeakMap"),An=ps(Te,"create"),jn=Rn&&new Rn,On={},Cn=zs(Sn),Ln=zs(kn),Fn=zs(Tn),Un=zs(In),Pn=zs(Rn),zn=Be?Be.prototype:i,Mn=zn?zn.valueOf:i,Nn=zn?zn.toString:i;function qn(e){if(eo(e)&&!Br(e)&&!(e instanceof Yn)){if(e instanceof Bn)return e;if(Ue.call(e,"__wrapped__"))return Ms(e)}return new Bn(e)}var $n=function(){function e(){}return function(t){if(!Xr(t))return{};if(Ve)return Ve(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Dn(){}function Bn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Yn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Vn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Vn;++t<n;)this.add(e[t])}function Gn(e){var t=this.__data__=new Wn(e);this.size=t.size}function Jn(e,t){var n=Br(e),i=!n&&Dr(e),a=!n&&!i&&Vr(e),s=!n&&!i&&!a&&co(e),r=n||i||a||s,o=r?Jt(e.length,Re):[],c=o.length;for(var l in e)!t&&!Ue.call(e,l)||r&&("length"==l||a&&("offset"==l||"parent"==l)||s&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ys(l,c))||o.push(l);return o}function Qn(e){var t=e.length;return t?e[Hi(0,t-1)]:i}function Zn(e,t){return Fs(Aa(e),oi(t,0,e.length))}function Xn(e){return Fs(Aa(e))}function ei(e,t,n){(n!==i&&!Nr(e[t],n)||n===i&&!(t in e))&&si(e,t,n)}function ti(e,t,n){var a=e[t];Ue.call(e,t)&&Nr(a,n)&&(n!==i||t in e)||si(e,t,n)}function ni(e,t){for(var n=e.length;n--;)if(Nr(e[n][0],t))return n;return-1}function ii(e,t,n,i){return di(e,(function(e,a,s){t(i,e,n(e),s)})),i}function ai(e,t){return e&&ja(t,Oo(t),e)}function si(e,t,n){"__proto__"==t&&tt?tt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ri(e,t){for(var a=-1,s=t.length,r=n(s),o=null==e;++a<s;)r[a]=o?i:To(e,t[a]);return r}function oi(e,t,n){return e==e&&(n!==i&&(e=e<=n?e:n),t!==i&&(e=e>=t?e:t)),e}function ci(e,t,n,a,s,r){var o,c=1&t,l=2&t,u=4&t;if(n&&(o=s?n(e,a,s,r):n(e)),o!==i)return o;if(!Xr(e))return e;var p=Br(e);if(p){if(o=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Ue.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return Aa(e,o)}else{var d=hs(e),m=d==_||d==E;if(Vr(e))return Ea(e,c);if(d==T||d==v||m&&!s){if(o=l||m?{}:gs(e),!c)return l?function(e,t){return ja(e,ms(e),t)}(e,function(e,t){return e&&ja(t,Co(t),e)}(o,e)):function(e,t){return ja(e,ds(e),t)}(e,ai(o,e))}else{if(!ct[d])return s?e:{};o=function(e,t,n){var i=e.constructor;switch(t){case L:return Sa(e);case b:case x:return new i(+e);case F:return function(e,t){var n=t?Sa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case U:case P:case z:case M:case N:case q:case $:case D:case B:return ka(e,n);case S:return new i;case k:case j:return new i(e);case R:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new i;case O:return a=e,Mn?Te(Mn.call(a)):{}}var a}(e,d,c)}}r||(r=new Gn);var h=r.get(e);if(h)return h;r.set(e,o),so(e)?e.forEach((function(i){o.add(ci(i,t,n,i,e,r))})):to(e)&&e.forEach((function(i,a){o.set(a,ci(i,t,n,a,e,r))}));var f=p?i:(u?l?as:is:l?Co:Oo)(e);return Rt(f||e,(function(i,a){f&&(i=e[a=i]),ti(o,a,ci(i,t,n,a,e,r))})),o}function li(e,t,n){var a=n.length;if(null==e)return!a;for(e=Te(e);a--;){var s=n[a],r=t[s],o=e[s];if(o===i&&!(s in e)||!r(o))return!1}return!0}function ui(e,t,n){if("function"!=typeof e)throw new Ae(a);return js((function(){e.apply(i,n)}),t)}function pi(e,t,n,i){var a=-1,s=Ct,r=!0,o=e.length,c=[],l=t.length;if(!o)return c;n&&(t=Ft(t,Zt(n))),i?(s=Lt,r=!1):t.length>=200&&(s=en,r=!1,t=new Hn(t));e:for(;++a<o;){var u=e[a],p=null==n?u:n(u);if(u=i||0!==u?u:0,r&&p==p){for(var d=l;d--;)if(t[d]===p)continue e;c.push(u)}else s(t,p,i)||c.push(u)}return c}qn.templateSettings={escape:Q,evaluate:Z,interpolate:X,variable:"",imports:{_:qn}},qn.prototype=Dn.prototype,qn.prototype.constructor=qn,Bn.prototype=$n(Dn.prototype),Bn.prototype.constructor=Bn,Yn.prototype=$n(Dn.prototype),Yn.prototype.constructor=Yn,Kn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Kn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Kn.prototype.get=function(e){var t=this.__data__;if(An){var n=t[e];return n===s?i:n}return Ue.call(t,e)?t[e]:i},Kn.prototype.has=function(e){var t=this.__data__;return An?t[e]!==i:Ue.call(t,e)},Kn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=An&&t===i?s:t,this},Wn.prototype.clear=function(){this.__data__=[],this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=ni(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ge.call(t,n,1),--this.size,!0)},Wn.prototype.get=function(e){var t=this.__data__,n=ni(t,e);return n<0?i:t[n][1]},Wn.prototype.has=function(e){return ni(this.__data__,e)>-1},Wn.prototype.set=function(e,t){var n=this.__data__,i=ni(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},Vn.prototype.clear=function(){this.size=0,this.__data__={hash:new Kn,map:new(kn||Wn),string:new Kn}},Vn.prototype.delete=function(e){var t=ls(this,e).delete(e);return this.size-=t?1:0,t},Vn.prototype.get=function(e){return ls(this,e).get(e)},Vn.prototype.has=function(e){return ls(this,e).has(e)},Vn.prototype.set=function(e,t){var n=ls(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},Hn.prototype.add=Hn.prototype.push=function(e){return this.__data__.set(e,s),this},Hn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.clear=function(){this.__data__=new Wn,this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Gn.prototype.get=function(e){return this.__data__.get(e)},Gn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Wn){var i=n.__data__;if(!kn||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Vn(i)}return n.set(e,t),this.size=n.size,this};var di=La(xi),mi=La(wi,!0);function hi(e,t){var n=!0;return di(e,(function(e,i,a){return n=!!t(e,i,a)})),n}function fi(e,t,n){for(var a=-1,s=e.length;++a<s;){var r=e[a],o=t(r);if(null!=o&&(c===i?o==o&&!oo(o):n(o,c)))var c=o,l=r}return l}function gi(e,t){var n=[];return di(e,(function(e,i,a){t(e,i,a)&&n.push(e)})),n}function vi(e,t,n,i,a){var s=-1,r=e.length;for(n||(n=vs),a||(a=[]);++s<r;){var o=e[s];t>0&&n(o)?t>1?vi(o,t-1,n,i,a):Ut(a,o):i||(a[a.length]=o)}return a}var yi=Fa(),bi=Fa(!0);function xi(e,t){return e&&yi(e,t,Oo)}function wi(e,t){return e&&bi(e,t,Oo)}function _i(e,t){return Ot(t,(function(t){return Jr(e[t])}))}function Ei(e,t){for(var n=0,a=(t=ba(t,e)).length;null!=e&&n<a;)e=e[Ps(t[n++])];return n&&n==a?e:i}function Si(e,t,n){var i=t(e);return Br(e)?i:Ut(i,n(e))}function ki(e){return null==e?e===i?"[object Undefined]":"[object Null]":Ze&&Ze in Te(e)?function(e){var t=Ue.call(e,Ze),n=e[Ze];try{e[Ze]=i;var a=!0}catch(e){}var s=Me.call(e);a&&(t?e[Ze]=n:delete e[Ze]);return s}(e):function(e){return Me.call(e)}(e)}function Ti(e,t){return e>t}function Ii(e,t){return null!=e&&Ue.call(e,t)}function Ri(e,t){return null!=e&&t in Te(e)}function Ai(e,t,a){for(var s=a?Lt:Ct,r=e[0].length,o=e.length,c=o,l=n(o),u=1/0,p=[];c--;){var d=e[c];c&&t&&(d=Ft(d,Zt(t))),u=bn(d.length,u),l[c]=!a&&(t||r>=120&&d.length>=120)?new Hn(c&&d):i}d=e[0];var m=-1,h=l[0];e:for(;++m<r&&p.length<u;){var f=d[m],g=t?t(f):f;if(f=a||0!==f?f:0,!(h?en(h,g):s(p,g,a))){for(c=o;--c;){var v=l[c];if(!(v?en(v,g):s(e[c],g,a)))continue e}h&&h.push(g),p.push(f)}}return p}function ji(e,t,n){var a=null==(e=Is(e,t=ba(t,e)))?e:e[Ps(Gs(t))];return null==a?i:Tt(a,e,n)}function Oi(e){return eo(e)&&ki(e)==v}function Ci(e,t,n,a,s){return e===t||(null==e||null==t||!eo(e)&&!eo(t)?e!=e&&t!=t:function(e,t,n,a,s,r){var o=Br(e),c=Br(t),l=o?y:hs(e),u=c?y:hs(t),p=(l=l==v?T:l)==T,d=(u=u==v?T:u)==T,m=l==u;if(m&&Vr(e)){if(!Vr(t))return!1;o=!0,p=!1}if(m&&!p)return r||(r=new Gn),o||co(e)?ts(e,t,n,a,s,r):function(e,t,n,i,a,s,r){switch(n){case F:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case L:return!(e.byteLength!=t.byteLength||!s(new Ye(e),new Ye(t)));case b:case x:case k:return Nr(+e,+t);case w:return e.name==t.name&&e.message==t.message;case R:case j:return e==t+"";case S:var o=cn;case A:var c=1&i;if(o||(o=pn),e.size!=t.size&&!c)return!1;var l=r.get(e);if(l)return l==t;i|=2,r.set(e,t);var u=ts(o(e),o(t),i,a,s,r);return r.delete(e),u;case O:if(Mn)return Mn.call(e)==Mn.call(t)}return!1}(e,t,l,n,a,s,r);if(!(1&n)){var h=p&&Ue.call(e,"__wrapped__"),f=d&&Ue.call(t,"__wrapped__");if(h||f){var g=h?e.value():e,_=f?t.value():t;return r||(r=new Gn),s(g,_,n,a,r)}}if(!m)return!1;return r||(r=new Gn),function(e,t,n,a,s,r){var o=1&n,c=is(e),l=c.length,u=is(t),p=u.length;if(l!=p&&!o)return!1;var d=l;for(;d--;){var m=c[d];if(!(o?m in t:Ue.call(t,m)))return!1}var h=r.get(e),f=r.get(t);if(h&&f)return h==t&&f==e;var g=!0;r.set(e,t),r.set(t,e);var v=o;for(;++d<l;){var y=e[m=c[d]],b=t[m];if(a)var x=o?a(b,y,m,t,e,r):a(y,b,m,e,t,r);if(!(x===i?y===b||s(y,b,n,a,r):x)){g=!1;break}v||(v="constructor"==m)}if(g&&!v){var w=e.constructor,_=t.constructor;w==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _||(g=!1)}return r.delete(e),r.delete(t),g}(e,t,n,a,s,r)}(e,t,n,a,Ci,s))}function Li(e,t,n,a){var s=n.length,r=s,o=!a;if(null==e)return!r;for(e=Te(e);s--;){var c=n[s];if(o&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++s<r;){var l=(c=n[s])[0],u=e[l],p=c[1];if(o&&c[2]){if(u===i&&!(l in e))return!1}else{var d=new Gn;if(a)var m=a(u,p,l,e,t,d);if(!(m===i?Ci(p,u,3,a,d):m))return!1}}return!0}function Fi(e){return!(!Xr(e)||(t=e,ze&&ze in t))&&(Jr(e)?$e:ve).test(zs(e));var t}function Ui(e){return"function"==typeof e?e:null==e?ic:"object"==typeof e?Br(e)?$i(e[0],e[1]):qi(e):dc(e)}function Pi(e){if(!Es(e))return Vt(e);var t=[];for(var n in Te(e))Ue.call(e,n)&&"constructor"!=n&&t.push(n);return t}function zi(e){if(!Xr(e))return function(e){var t=[];if(null!=e)for(var n in Te(e))t.push(n);return t}(e);var t=Es(e),n=[];for(var i in e)("constructor"!=i||!t&&Ue.call(e,i))&&n.push(i);return n}function Mi(e,t){return e<t}function Ni(e,t){var i=-1,a=Kr(e)?n(e.length):[];return di(e,(function(e,n,s){a[++i]=t(e,n,s)})),a}function qi(e){var t=us(e);return 1==t.length&&t[0][2]?ks(t[0][0],t[0][1]):function(n){return n===e||Li(n,e,t)}}function $i(e,t){return xs(e)&&Ss(t)?ks(Ps(e),t):function(n){var a=To(n,e);return a===i&&a===t?Io(n,e):Ci(t,a,3)}}function Di(e,t,n,a,s){e!==t&&yi(t,(function(r,o){if(s||(s=new Gn),Xr(r))!function(e,t,n,a,s,r,o){var c=Rs(e,n),l=Rs(t,n),u=o.get(l);if(u)return void ei(e,n,u);var p=r?r(c,l,n+"",e,t,o):i,d=p===i;if(d){var m=Br(l),h=!m&&Vr(l),f=!m&&!h&&co(l);p=l,m||h||f?Br(c)?p=c:Wr(c)?p=Aa(c):h?(d=!1,p=Ea(l,!0)):f?(d=!1,p=ka(l,!0)):p=[]:io(l)||Dr(l)?(p=c,Dr(c)?p=vo(c):Xr(c)&&!Jr(c)||(p=gs(l))):d=!1}d&&(o.set(l,p),s(p,l,a,r,o),o.delete(l));ei(e,n,p)}(e,t,o,n,Di,a,s);else{var c=a?a(Rs(e,o),r,o+"",e,t,s):i;c===i&&(c=r),ei(e,o,c)}}),Co)}function Bi(e,t){var n=e.length;if(n)return ys(t+=t<0?n:0,n)?e[t]:i}function Yi(e,t,n){t=t.length?Ft(t,(function(e){return Br(e)?function(t){return Ei(t,1===e.length?e[0]:e)}:e})):[ic];var i=-1;t=Ft(t,Zt(cs()));var a=Ni(e,(function(e,n,a){var s=Ft(t,(function(t){return t(e)}));return{criteria:s,index:++i,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(a,(function(e,t){return function(e,t,n){var i=-1,a=e.criteria,s=t.criteria,r=a.length,o=n.length;for(;++i<r;){var c=Ta(a[i],s[i]);if(c)return i>=o?c:c*("desc"==n[i]?-1:1)}return e.index-t.index}(e,t,n)}))}function Ki(e,t,n){for(var i=-1,a=t.length,s={};++i<a;){var r=t[i],o=Ei(e,r);n(o,r)&&Xi(s,ba(r,e),o)}return s}function Wi(e,t,n,i){var a=i?Bt:Dt,s=-1,r=t.length,o=e;for(e===t&&(t=Aa(t)),n&&(o=Ft(e,Zt(n)));++s<r;)for(var c=0,l=t[s],u=n?n(l):l;(c=a(o,u,c,i))>-1;)o!==e&&Ge.call(o,c,1),Ge.call(e,c,1);return e}function Vi(e,t){for(var n=e?t.length:0,i=n-1;n--;){var a=t[n];if(n==i||a!==s){var s=a;ys(a)?Ge.call(e,a,1):pa(e,a)}}return e}function Hi(e,t){return e+ft(_n()*(t-e+1))}function Gi(e,t){var n="";if(!e||t<1||t>m)return n;do{t%2&&(n+=e),(t=ft(t/2))&&(e+=e)}while(t);return n}function Ji(e,t){return Os(Ts(e,t,ic),e+"")}function Qi(e){return Qn(qo(e))}function Zi(e,t){var n=qo(e);return Fs(n,oi(t,0,n.length))}function Xi(e,t,n,a){if(!Xr(e))return e;for(var s=-1,r=(t=ba(t,e)).length,o=r-1,c=e;null!=c&&++s<r;){var l=Ps(t[s]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(s!=o){var p=c[l];(u=a?a(p,l,c):i)===i&&(u=Xr(p)?p:ys(t[s+1])?[]:{})}ti(c,l,u),c=c[l]}return e}var ea=jn?function(e,t){return jn.set(e,t),e}:ic,ta=tt?function(e,t){return tt(e,"toString",{configurable:!0,enumerable:!1,value:ec(t),writable:!0})}:ic;function na(e){return Fs(qo(e))}function ia(e,t,i){var a=-1,s=e.length;t<0&&(t=-t>s?0:s+t),(i=i>s?s:i)<0&&(i+=s),s=t>i?0:i-t>>>0,t>>>=0;for(var r=n(s);++a<s;)r[a]=e[a+t];return r}function aa(e,t){var n;return di(e,(function(e,i,a){return!(n=t(e,i,a))})),!!n}function sa(e,t,n){var i=0,a=null==e?i:e.length;if("number"==typeof t&&t==t&&a<=2147483647){for(;i<a;){var s=i+a>>>1,r=e[s];null!==r&&!oo(r)&&(n?r<=t:r<t)?i=s+1:a=s}return a}return ra(e,t,ic,n)}function ra(e,t,n,a){var s=0,r=null==e?0:e.length;if(0===r)return 0;for(var o=(t=n(t))!=t,c=null===t,l=oo(t),u=t===i;s<r;){var p=ft((s+r)/2),d=n(e[p]),m=d!==i,h=null===d,f=d==d,g=oo(d);if(o)var v=a||f;else v=u?f&&(a||m):c?f&&m&&(a||!h):l?f&&m&&!h&&(a||!g):!h&&!g&&(a?d<=t:d<t);v?s=p+1:r=p}return bn(r,4294967294)}function oa(e,t){for(var n=-1,i=e.length,a=0,s=[];++n<i;){var r=e[n],o=t?t(r):r;if(!n||!Nr(o,c)){var c=o;s[a++]=0===r?0:r}}return s}function ca(e){return"number"==typeof e?e:oo(e)?h:+e}function la(e){if("string"==typeof e)return e;if(Br(e))return Ft(e,la)+"";if(oo(e))return Nn?Nn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ua(e,t,n){var i=-1,a=Ct,s=e.length,r=!0,o=[],c=o;if(n)r=!1,a=Lt;else if(s>=200){var l=t?null:Ga(e);if(l)return pn(l);r=!1,a=en,c=new Hn}else c=t?[]:o;e:for(;++i<s;){var u=e[i],p=t?t(u):u;if(u=n||0!==u?u:0,r&&p==p){for(var d=c.length;d--;)if(c[d]===p)continue e;t&&c.push(p),o.push(u)}else a(c,p,n)||(c!==o&&c.push(p),o.push(u))}return o}function pa(e,t){return null==(e=Is(e,t=ba(t,e)))||delete e[Ps(Gs(t))]}function da(e,t,n,i){return Xi(e,t,n(Ei(e,t)),i)}function ma(e,t,n,i){for(var a=e.length,s=i?a:-1;(i?s--:++s<a)&&t(e[s],s,e););return n?ia(e,i?0:s,i?s+1:a):ia(e,i?s+1:0,i?a:s)}function ha(e,t){var n=e;return n instanceof Yn&&(n=n.value()),Pt(t,(function(e,t){return t.func.apply(t.thisArg,Ut([e],t.args))}),n)}function fa(e,t,i){var a=e.length;if(a<2)return a?ua(e[0]):[];for(var s=-1,r=n(a);++s<a;)for(var o=e[s],c=-1;++c<a;)c!=s&&(r[s]=pi(r[s]||o,e[c],t,i));return ua(vi(r,1),t,i)}function ga(e,t,n){for(var a=-1,s=e.length,r=t.length,o={};++a<s;){var c=a<r?t[a]:i;n(o,e[a],c)}return o}function va(e){return Wr(e)?e:[]}function ya(e){return"function"==typeof e?e:ic}function ba(e,t){return Br(e)?e:xs(e,t)?[e]:Us(yo(e))}var xa=Ji;function wa(e,t,n){var a=e.length;return n=n===i?a:n,!t&&n>=a?e:ia(e,t,n)}var _a=it||function(e){return ht.clearTimeout(e)};function Ea(e,t){if(t)return e.slice();var n=e.length,i=Ke?Ke(n):new e.constructor(n);return e.copy(i),i}function Sa(e){var t=new e.constructor(e.byteLength);return new Ye(t).set(new Ye(e)),t}function ka(e,t){var n=t?Sa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ta(e,t){if(e!==t){var n=e!==i,a=null===e,s=e==e,r=oo(e),o=t!==i,c=null===t,l=t==t,u=oo(t);if(!c&&!u&&!r&&e>t||r&&o&&l&&!c&&!u||a&&o&&l||!n&&l||!s)return 1;if(!a&&!r&&!u&&e<t||u&&n&&s&&!a&&!r||c&&n&&s||!o&&s||!l)return-1}return 0}function Ia(e,t,i,a){for(var s=-1,r=e.length,o=i.length,c=-1,l=t.length,u=yn(r-o,0),p=n(l+u),d=!a;++c<l;)p[c]=t[c];for(;++s<o;)(d||s<r)&&(p[i[s]]=e[s]);for(;u--;)p[c++]=e[s++];return p}function Ra(e,t,i,a){for(var s=-1,r=e.length,o=-1,c=i.length,l=-1,u=t.length,p=yn(r-c,0),d=n(p+u),m=!a;++s<p;)d[s]=e[s];for(var h=s;++l<u;)d[h+l]=t[l];for(;++o<c;)(m||s<r)&&(d[h+i[o]]=e[s++]);return d}function Aa(e,t){var i=-1,a=e.length;for(t||(t=n(a));++i<a;)t[i]=e[i];return t}function ja(e,t,n,a){var s=!n;n||(n={});for(var r=-1,o=t.length;++r<o;){var c=t[r],l=a?a(n[c],e[c],c,n,e):i;l===i&&(l=e[c]),s?si(n,c,l):ti(n,c,l)}return n}function Oa(e,t){return function(n,i){var a=Br(n)?It:ii,s=t?t():{};return a(n,e,cs(i,2),s)}}function Ca(e){return Ji((function(t,n){var a=-1,s=n.length,r=s>1?n[s-1]:i,o=s>2?n[2]:i;for(r=e.length>3&&"function"==typeof r?(s--,r):i,o&&bs(n[0],n[1],o)&&(r=s<3?i:r,s=1),t=Te(t);++a<s;){var c=n[a];c&&e(t,c,a,r)}return t}))}function La(e,t){return function(n,i){if(null==n)return n;if(!Kr(n))return e(n,i);for(var a=n.length,s=t?a:-1,r=Te(n);(t?s--:++s<a)&&!1!==i(r[s],s,r););return n}}function Fa(e){return function(t,n,i){for(var a=-1,s=Te(t),r=i(t),o=r.length;o--;){var c=r[e?o:++a];if(!1===n(s[c],c,s))break}return t}}function Ua(e){return function(t){var n=on(t=yo(t))?hn(t):i,a=n?n[0]:t.charAt(0),s=n?wa(n,1).join(""):t.slice(1);return a[e]()+s}}function Pa(e){return function(t){return Pt(Qo(Bo(t).replace(Xe,"")),e,"")}}function za(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=$n(e.prototype),i=e.apply(n,t);return Xr(i)?i:n}}function Ma(e){return function(t,n,a){var s=Te(t);if(!Kr(t)){var r=cs(n,3);t=Oo(t),n=function(e){return r(s[e],e,s)}}var o=e(t,n,a);return o>-1?s[r?t[o]:o]:i}}function Na(e){return ns((function(t){var n=t.length,s=n,r=Bn.prototype.thru;for(e&&t.reverse();s--;){var o=t[s];if("function"!=typeof o)throw new Ae(a);if(r&&!c&&"wrapper"==rs(o))var c=new Bn([],!0)}for(s=c?s:n;++s<n;){var l=rs(o=t[s]),u="wrapper"==l?ss(o):i;c=u&&ws(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?c[rs(u[0])].apply(c,u[3]):1==o.length&&ws(o)?c[l]():c.thru(o)}return function(){var e=arguments,i=e[0];if(c&&1==e.length&&Br(i))return c.plant(i).value();for(var a=0,s=n?t[a].apply(this,e):i;++a<n;)s=t[a].call(this,s);return s}}))}function qa(e,t,a,s,r,o,c,l,p,d){var m=t&u,h=1&t,f=2&t,g=24&t,v=512&t,y=f?i:za(e);return function u(){for(var b=arguments.length,x=n(b),w=b;w--;)x[w]=arguments[w];if(g)var _=os(u),E=function(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}(x,_);if(s&&(x=Ia(x,s,r,g)),o&&(x=Ra(x,o,c,g)),b-=E,g&&b<d){var S=un(x,_);return Va(e,t,qa,u.placeholder,a,x,S,l,p,d-b)}var k=h?a:this,T=f?k[e]:e;return b=x.length,l?x=function(e,t){var n=e.length,a=bn(t.length,n),s=Aa(e);for(;a--;){var r=t[a];e[a]=ys(r,n)?s[r]:i}return e}(x,l):v&&b>1&&x.reverse(),m&&p<b&&(x.length=p),this&&this!==ht&&this instanceof u&&(T=y||za(T)),T.apply(k,x)}}function $a(e,t){return function(n,i){return function(e,t,n,i){return xi(e,(function(e,a,s){t(i,n(e),a,s)})),i}(n,e,t(i),{})}}function Da(e,t){return function(n,a){var s;if(n===i&&a===i)return t;if(n!==i&&(s=n),a!==i){if(s===i)return a;"string"==typeof n||"string"==typeof a?(n=la(n),a=la(a)):(n=ca(n),a=ca(a)),s=e(n,a)}return s}}function Ba(e){return ns((function(t){return t=Ft(t,Zt(cs())),Ji((function(n){var i=this;return e(t,(function(e){return Tt(e,i,n)}))}))}))}function Ya(e,t){var n=(t=t===i?" ":la(t)).length;if(n<2)return n?Gi(t,e):t;var a=Gi(t,mt(e/mn(t)));return on(t)?wa(hn(a),0,e).join(""):a.slice(0,e)}function Ka(e){return function(t,a,s){return s&&"number"!=typeof s&&bs(t,a,s)&&(a=s=i),t=mo(t),a===i?(a=t,t=0):a=mo(a),function(e,t,i,a){for(var s=-1,r=yn(mt((t-e)/(i||1)),0),o=n(r);r--;)o[a?r:++s]=e,e+=i;return o}(t,a,s=s===i?t<a?1:-1:mo(s),e)}}function Wa(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=go(t),n=go(n)),e(t,n)}}function Va(e,t,n,a,s,r,o,u,p,d){var m=8&t;t|=m?c:l,4&(t&=~(m?l:c))||(t&=-4);var h=[e,t,s,m?r:i,m?o:i,m?i:r,m?i:o,u,p,d],f=n.apply(i,h);return ws(e)&&As(f,h),f.placeholder=a,Cs(f,e,t)}function Ha(e){var t=ke[e];return function(e,n){if(e=go(e),(n=null==n?0:bn(ho(n),292))&&bt(e)){var i=(yo(e)+"e").split("e");return+((i=(yo(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return t(e)}}var Ga=In&&1/pn(new In([,-0]))[1]==d?function(e){return new In(e)}:cc;function Ja(e){return function(t){var n=hs(t);return n==S?cn(t):n==A?dn(t):function(e,t){return Ft(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Qa(e,t,s,d,m,h,f,g){var v=2&t;if(!v&&"function"!=typeof e)throw new Ae(a);var y=d?d.length:0;if(y||(t&=-97,d=m=i),f=f===i?f:yn(ho(f),0),g=g===i?g:ho(g),y-=m?m.length:0,t&l){var b=d,x=m;d=m=i}var w=v?i:ss(e),_=[e,t,s,d,m,b,x,h,f,g];if(w&&function(e,t){var n=e[1],i=t[1],a=n|i,s=a<131,o=i==u&&8==n||i==u&&n==p&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==n;if(!s&&!o)return e;1&i&&(e[2]=t[2],a|=1&n?0:4);var c=t[3];if(c){var l=e[3];e[3]=l?Ia(l,c,t[4]):c,e[4]=l?un(e[3],r):t[4]}(c=t[5])&&(l=e[5],e[5]=l?Ra(l,c,t[6]):c,e[6]=l?un(e[5],r):t[6]);(c=t[7])&&(e[7]=c);i&u&&(e[8]=null==e[8]?t[8]:bn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=a}(_,w),e=_[0],t=_[1],s=_[2],d=_[3],m=_[4],!(g=_[9]=_[9]===i?v?0:e.length:yn(_[9]-y,0))&&24&t&&(t&=-25),t&&1!=t)E=8==t||t==o?function(e,t,a){var s=za(e);return function r(){for(var o=arguments.length,c=n(o),l=o,u=os(r);l--;)c[l]=arguments[l];var p=o<3&&c[0]!==u&&c[o-1]!==u?[]:un(c,u);return(o-=p.length)<a?Va(e,t,qa,r.placeholder,i,c,p,i,i,a-o):Tt(this&&this!==ht&&this instanceof r?s:e,this,c)}}(e,t,g):t!=c&&33!=t||m.length?qa.apply(i,_):function(e,t,i,a){var s=1&t,r=za(e);return function t(){for(var o=-1,c=arguments.length,l=-1,u=a.length,p=n(u+c),d=this&&this!==ht&&this instanceof t?r:e;++l<u;)p[l]=a[l];for(;c--;)p[l++]=arguments[++o];return Tt(d,s?i:this,p)}}(e,t,s,d);else var E=function(e,t,n){var i=1&t,a=za(e);return function t(){return(this&&this!==ht&&this instanceof t?a:e).apply(i?n:this,arguments)}}(e,t,s);return Cs((w?ea:As)(E,_),e,t)}function Za(e,t,n,a){return e===i||Nr(e,Ce[n])&&!Ue.call(a,n)?t:e}function Xa(e,t,n,a,s,r){return Xr(e)&&Xr(t)&&(r.set(t,e),Di(e,t,i,Xa,r),r.delete(t)),e}function es(e){return io(e)?i:e}function ts(e,t,n,a,s,r){var o=1&n,c=e.length,l=t.length;if(c!=l&&!(o&&l>c))return!1;var u=r.get(e),p=r.get(t);if(u&&p)return u==t&&p==e;var d=-1,m=!0,h=2&n?new Hn:i;for(r.set(e,t),r.set(t,e);++d<c;){var f=e[d],g=t[d];if(a)var v=o?a(g,f,d,t,e,r):a(f,g,d,e,t,r);if(v!==i){if(v)continue;m=!1;break}if(h){if(!Mt(t,(function(e,t){if(!en(h,t)&&(f===e||s(f,e,n,a,r)))return h.push(t)}))){m=!1;break}}else if(f!==g&&!s(f,g,n,a,r)){m=!1;break}}return r.delete(e),r.delete(t),m}function ns(e){return Os(Ts(e,i,Ys),e+"")}function is(e){return Si(e,Oo,ds)}function as(e){return Si(e,Co,ms)}var ss=jn?function(e){return jn.get(e)}:cc;function rs(e){for(var t=e.name+"",n=On[t],i=Ue.call(On,t)?n.length:0;i--;){var a=n[i],s=a.func;if(null==s||s==e)return a.name}return t}function os(e){return(Ue.call(qn,"placeholder")?qn:e).placeholder}function cs(){var e=qn.iteratee||ac;return e=e===ac?Ui:e,arguments.length?e(arguments[0],arguments[1]):e}function ls(e,t){var n,i,a=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?a["string"==typeof t?"string":"hash"]:a.map}function us(e){for(var t=Oo(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,Ss(a)]}return t}function ps(e,t){var n=function(e,t){return null==e?i:e[t]}(e,t);return Fi(n)?n:i}var ds=gt?function(e){return null==e?[]:(e=Te(e),Ot(gt(e),(function(t){return He.call(e,t)})))}:fc,ms=gt?function(e){for(var t=[];e;)Ut(t,ds(e)),e=We(e);return t}:fc,hs=ki;function fs(e,t,n){for(var i=-1,a=(t=ba(t,e)).length,s=!1;++i<a;){var r=Ps(t[i]);if(!(s=null!=e&&n(e,r)))break;e=e[r]}return s||++i!=a?s:!!(a=null==e?0:e.length)&&Zr(a)&&ys(r,a)&&(Br(e)||Dr(e))}function gs(e){return"function"!=typeof e.constructor||Es(e)?{}:$n(We(e))}function vs(e){return Br(e)||Dr(e)||!!(Je&&e&&e[Je])}function ys(e,t){var n=typeof e;return!!(t=null==t?m:t)&&("number"==n||"symbol"!=n&&be.test(e))&&e>-1&&e%1==0&&e<t}function bs(e,t,n){if(!Xr(n))return!1;var i=typeof t;return!!("number"==i?Kr(n)&&ys(t,n.length):"string"==i&&t in n)&&Nr(n[t],e)}function xs(e,t){if(Br(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!oo(e))||(te.test(e)||!ee.test(e)||null!=t&&e in Te(t))}function ws(e){var t=rs(e),n=qn[t];if("function"!=typeof n||!(t in Yn.prototype))return!1;if(e===n)return!0;var i=ss(n);return!!i&&e===i[0]}(Sn&&hs(new Sn(new ArrayBuffer(1)))!=F||kn&&hs(new kn)!=S||Tn&&hs(Tn.resolve())!=I||In&&hs(new In)!=A||Rn&&hs(new Rn)!=C)&&(hs=function(e){var t=ki(e),n=t==T?e.constructor:i,a=n?zs(n):"";if(a)switch(a){case Cn:return F;case Ln:return S;case Fn:return I;case Un:return A;case Pn:return C}return t});var _s=Le?Jr:gc;function Es(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ce)}function Ss(e){return e==e&&!Xr(e)}function ks(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==i||e in Te(n)))}}function Ts(e,t,a){return t=yn(t===i?e.length-1:t,0),function(){for(var i=arguments,s=-1,r=yn(i.length-t,0),o=n(r);++s<r;)o[s]=i[t+s];s=-1;for(var c=n(t+1);++s<t;)c[s]=i[s];return c[t]=a(o),Tt(e,this,c)}}function Is(e,t){return t.length<2?e:Ei(e,ia(t,0,-1))}function Rs(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var As=Ls(ea),js=dt||function(e,t){return ht.setTimeout(e,t)},Os=Ls(ta);function Cs(e,t,n){var i=t+"";return Os(e,function(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(oe,"{\n/* [wrapped with "+t+"] */\n")}(i,function(e,t){return Rt(g,(function(n){var i="_."+n[0];t&n[1]&&!Ct(e,i)&&e.push(i)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(le):[]}(i),n)))}function Ls(e){var t=0,n=0;return function(){var a=xn(),s=16-(a-n);if(n=a,s>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Fs(e,t){var n=-1,a=e.length,s=a-1;for(t=t===i?a:t;++n<t;){var r=Hi(n,s),o=e[r];e[r]=e[n],e[n]=o}return e.length=t,e}var Us=function(e){var t=Lr(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ne,(function(e,n,i,a){t.push(i?a.replace(de,"$1"):n||e)})),t}));function Ps(e){if("string"==typeof e||oo(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function zs(e){if(null!=e){try{return Fe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ms(e){if(e instanceof Yn)return e.clone();var t=new Bn(e.__wrapped__,e.__chain__);return t.__actions__=Aa(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ns=Ji((function(e,t){return Wr(e)?pi(e,vi(t,1,Wr,!0)):[]})),qs=Ji((function(e,t){var n=Gs(t);return Wr(n)&&(n=i),Wr(e)?pi(e,vi(t,1,Wr,!0),cs(n,2)):[]})),$s=Ji((function(e,t){var n=Gs(t);return Wr(n)&&(n=i),Wr(e)?pi(e,vi(t,1,Wr,!0),i,n):[]}));function Ds(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var a=null==n?0:ho(n);return a<0&&(a=yn(i+a,0)),$t(e,cs(t,3),a)}function Bs(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var s=a-1;return n!==i&&(s=ho(n),s=n<0?yn(a+s,0):bn(s,a-1)),$t(e,cs(t,3),s,!0)}function Ys(e){return(null==e?0:e.length)?vi(e,1):[]}function Ks(e){return e&&e.length?e[0]:i}var Ws=Ji((function(e){var t=Ft(e,va);return t.length&&t[0]===e[0]?Ai(t):[]})),Vs=Ji((function(e){var t=Gs(e),n=Ft(e,va);return t===Gs(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Ai(n,cs(t,2)):[]})),Hs=Ji((function(e){var t=Gs(e),n=Ft(e,va);return(t="function"==typeof t?t:i)&&n.pop(),n.length&&n[0]===e[0]?Ai(n,i,t):[]}));function Gs(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Js=Ji(Qs);function Qs(e,t){return e&&e.length&&t&&t.length?Wi(e,t):e}var Zs=ns((function(e,t){var n=null==e?0:e.length,i=ri(e,t);return Vi(e,Ft(t,(function(e){return ys(e,n)?+e:e})).sort(Ta)),i}));function Xs(e){return null==e?e:En.call(e)}var er=Ji((function(e){return ua(vi(e,1,Wr,!0))})),tr=Ji((function(e){var t=Gs(e);return Wr(t)&&(t=i),ua(vi(e,1,Wr,!0),cs(t,2))})),nr=Ji((function(e){var t=Gs(e);return t="function"==typeof t?t:i,ua(vi(e,1,Wr,!0),i,t)}));function ir(e){if(!e||!e.length)return[];var t=0;return e=Ot(e,(function(e){if(Wr(e))return t=yn(e.length,t),!0})),Jt(t,(function(t){return Ft(e,Wt(t))}))}function ar(e,t){if(!e||!e.length)return[];var n=ir(e);return null==t?n:Ft(n,(function(e){return Tt(t,i,e)}))}var sr=Ji((function(e,t){return Wr(e)?pi(e,t):[]})),rr=Ji((function(e){return fa(Ot(e,Wr))})),or=Ji((function(e){var t=Gs(e);return Wr(t)&&(t=i),fa(Ot(e,Wr),cs(t,2))})),cr=Ji((function(e){var t=Gs(e);return t="function"==typeof t?t:i,fa(Ot(e,Wr),i,t)})),lr=Ji(ir);var ur=Ji((function(e){var t=e.length,n=t>1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,ar(e,n)}));function pr(e){var t=qn(e);return t.__chain__=!0,t}function dr(e,t){return t(e)}var mr=ns((function(e){var t=e.length,n=t?e[0]:0,a=this.__wrapped__,s=function(t){return ri(t,e)};return!(t>1||this.__actions__.length)&&a instanceof Yn&&ys(n)?((a=a.slice(n,+n+(t?1:0))).__actions__.push({func:dr,args:[s],thisArg:i}),new Bn(a,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(s)}));var hr=Oa((function(e,t,n){Ue.call(e,n)?++e[n]:si(e,n,1)}));var fr=Ma(Ds),gr=Ma(Bs);function vr(e,t){return(Br(e)?Rt:di)(e,cs(t,3))}function yr(e,t){return(Br(e)?At:mi)(e,cs(t,3))}var br=Oa((function(e,t,n){Ue.call(e,n)?e[n].push(t):si(e,n,[t])}));var xr=Ji((function(e,t,i){var a=-1,s="function"==typeof t,r=Kr(e)?n(e.length):[];return di(e,(function(e){r[++a]=s?Tt(t,e,i):ji(e,t,i)})),r})),wr=Oa((function(e,t,n){si(e,n,t)}));function _r(e,t){return(Br(e)?Ft:Ni)(e,cs(t,3))}var Er=Oa((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Sr=Ji((function(e,t){if(null==e)return[];var n=t.length;return n>1&&bs(e,t[0],t[1])?t=[]:n>2&&bs(t[0],t[1],t[2])&&(t=[t[0]]),Yi(e,vi(t,1),[])})),kr=lt||function(){return ht.Date.now()};function Tr(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Qa(e,u,i,i,i,i,t)}function Ir(e,t){var n;if("function"!=typeof t)throw new Ae(a);return e=ho(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Rr=Ji((function(e,t,n){var i=1;if(n.length){var a=un(n,os(Rr));i|=c}return Qa(e,i,t,n,a)})),Ar=Ji((function(e,t,n){var i=3;if(n.length){var a=un(n,os(Ar));i|=c}return Qa(t,i,e,n,a)}));function jr(e,t,n){var s,r,o,c,l,u,p=0,d=!1,m=!1,h=!0;if("function"!=typeof e)throw new Ae(a);function f(t){var n=s,a=r;return s=r=i,p=t,c=e.apply(a,n)}function g(e){var n=e-u;return u===i||n>=t||n<0||m&&e-p>=o}function v(){var e=kr();if(g(e))return y(e);l=js(v,function(e){var n=t-(e-u);return m?bn(n,o-(e-p)):n}(e))}function y(e){return l=i,h&&s?f(e):(s=r=i,c)}function b(){var e=kr(),n=g(e);if(s=arguments,r=this,u=e,n){if(l===i)return function(e){return p=e,l=js(v,t),d?f(e):c}(u);if(m)return _a(l),l=js(v,t),f(u)}return l===i&&(l=js(v,t)),c}return t=go(t)||0,Xr(n)&&(d=!!n.leading,o=(m="maxWait"in n)?yn(go(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h),b.cancel=function(){l!==i&&_a(l),p=0,s=u=r=l=i},b.flush=function(){return l===i?c:y(kr())},b}var Or=Ji((function(e,t){return ui(e,1,t)})),Cr=Ji((function(e,t,n){return ui(e,go(t)||0,n)}));function Lr(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(a);var n=function(){var i=arguments,a=t?t.apply(this,i):i[0],s=n.cache;if(s.has(a))return s.get(a);var r=e.apply(this,i);return n.cache=s.set(a,r)||s,r};return n.cache=new(Lr.Cache||Vn),n}function Fr(e){if("function"!=typeof e)throw new Ae(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Lr.Cache=Vn;var Ur=xa((function(e,t){var n=(t=1==t.length&&Br(t[0])?Ft(t[0],Zt(cs())):Ft(vi(t,1),Zt(cs()))).length;return Ji((function(i){for(var a=-1,s=bn(i.length,n);++a<s;)i[a]=t[a].call(this,i[a]);return Tt(e,this,i)}))})),Pr=Ji((function(e,t){var n=un(t,os(Pr));return Qa(e,c,i,t,n)})),zr=Ji((function(e,t){var n=un(t,os(zr));return Qa(e,l,i,t,n)})),Mr=ns((function(e,t){return Qa(e,p,i,i,i,t)}));function Nr(e,t){return e===t||e!=e&&t!=t}var qr=Wa(Ti),$r=Wa((function(e,t){return e>=t})),Dr=Oi(function(){return arguments}())?Oi:function(e){return eo(e)&&Ue.call(e,"callee")&&!He.call(e,"callee")},Br=n.isArray,Yr=xt?Zt(xt):function(e){return eo(e)&&ki(e)==L};function Kr(e){return null!=e&&Zr(e.length)&&!Jr(e)}function Wr(e){return eo(e)&&Kr(e)}var Vr=yt||gc,Hr=wt?Zt(wt):function(e){return eo(e)&&ki(e)==x};function Gr(e){if(!eo(e))return!1;var t=ki(e);return t==w||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!io(e)}function Jr(e){if(!Xr(e))return!1;var t=ki(e);return t==_||t==E||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Qr(e){return"number"==typeof e&&e==ho(e)}function Zr(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=m}function Xr(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eo(e){return null!=e&&"object"==typeof e}var to=_t?Zt(_t):function(e){return eo(e)&&hs(e)==S};function no(e){return"number"==typeof e||eo(e)&&ki(e)==k}function io(e){if(!eo(e)||ki(e)!=T)return!1;var t=We(e);if(null===t)return!0;var n=Ue.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Fe.call(n)==Ne}var ao=Et?Zt(Et):function(e){return eo(e)&&ki(e)==R};var so=St?Zt(St):function(e){return eo(e)&&hs(e)==A};function ro(e){return"string"==typeof e||!Br(e)&&eo(e)&&ki(e)==j}function oo(e){return"symbol"==typeof e||eo(e)&&ki(e)==O}var co=kt?Zt(kt):function(e){return eo(e)&&Zr(e.length)&&!!ot[ki(e)]};var lo=Wa(Mi),uo=Wa((function(e,t){return e<=t}));function po(e){if(!e)return[];if(Kr(e))return ro(e)?hn(e):Aa(e);if(Qe&&e[Qe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Qe]());var t=hs(e);return(t==S?cn:t==A?pn:qo)(e)}function mo(e){return e?(e=go(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ho(e){var t=mo(e),n=t%1;return t==t?n?t-n:t:0}function fo(e){return e?oi(ho(e),0,f):0}function go(e){if("number"==typeof e)return e;if(oo(e))return h;if(Xr(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Xr(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Qt(e);var n=ge.test(e);return n||ye.test(e)?pt(e.slice(2),n?2:8):fe.test(e)?h:+e}function vo(e){return ja(e,Co(e))}function yo(e){return null==e?"":la(e)}var bo=Ca((function(e,t){if(Es(t)||Kr(t))ja(t,Oo(t),e);else for(var n in t)Ue.call(t,n)&&ti(e,n,t[n])})),xo=Ca((function(e,t){ja(t,Co(t),e)})),wo=Ca((function(e,t,n,i){ja(t,Co(t),e,i)})),_o=Ca((function(e,t,n,i){ja(t,Oo(t),e,i)})),Eo=ns(ri);var So=Ji((function(e,t){e=Te(e);var n=-1,a=t.length,s=a>2?t[2]:i;for(s&&bs(t[0],t[1],s)&&(a=1);++n<a;)for(var r=t[n],o=Co(r),c=-1,l=o.length;++c<l;){var u=o[c],p=e[u];(p===i||Nr(p,Ce[u])&&!Ue.call(e,u))&&(e[u]=r[u])}return e})),ko=Ji((function(e){return e.push(i,Xa),Tt(Fo,i,e)}));function To(e,t,n){var a=null==e?i:Ei(e,t);return a===i?n:a}function Io(e,t){return null!=e&&fs(e,t,Ri)}var Ro=$a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Me.call(t)),e[t]=n}),ec(ic)),Ao=$a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Me.call(t)),Ue.call(e,t)?e[t].push(n):e[t]=[n]}),cs),jo=Ji(ji);function Oo(e){return Kr(e)?Jn(e):Pi(e)}function Co(e){return Kr(e)?Jn(e,!0):zi(e)}var Lo=Ca((function(e,t,n){Di(e,t,n)})),Fo=Ca((function(e,t,n,i){Di(e,t,n,i)})),Uo=ns((function(e,t){var n={};if(null==e)return n;var i=!1;t=Ft(t,(function(t){return t=ba(t,e),i||(i=t.length>1),t})),ja(e,as(e),n),i&&(n=ci(n,7,es));for(var a=t.length;a--;)pa(n,t[a]);return n}));var Po=ns((function(e,t){return null==e?{}:function(e,t){return Ki(e,t,(function(t,n){return Io(e,n)}))}(e,t)}));function zo(e,t){if(null==e)return{};var n=Ft(as(e),(function(e){return[e]}));return t=cs(t),Ki(e,n,(function(e,n){return t(e,n[0])}))}var Mo=Ja(Oo),No=Ja(Co);function qo(e){return null==e?[]:Xt(e,Oo(e))}var $o=Pa((function(e,t,n){return t=t.toLowerCase(),e+(n?Do(t):t)}));function Do(e){return Jo(yo(e).toLowerCase())}function Bo(e){return(e=yo(e))&&e.replace(xe,an).replace(et,"")}var Yo=Pa((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ko=Pa((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Wo=Ua("toLowerCase");var Vo=Pa((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ho=Pa((function(e,t,n){return e+(n?" ":"")+Jo(t)}));var Go=Pa((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Jo=Ua("toUpperCase");function Qo(e,t,n){return e=yo(e),(t=n?i:t)===i?function(e){return at.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var Zo=Ji((function(e,t){try{return Tt(e,i,t)}catch(e){return Gr(e)?e:new Ee(e)}})),Xo=ns((function(e,t){return Rt(t,(function(t){t=Ps(t),si(e,t,Rr(e[t],e))})),e}));function ec(e){return function(){return e}}var tc=Na(),nc=Na(!0);function ic(e){return e}function ac(e){return Ui("function"==typeof e?e:ci(e,1))}var sc=Ji((function(e,t){return function(n){return ji(n,e,t)}})),rc=Ji((function(e,t){return function(n){return ji(e,n,t)}}));function oc(e,t,n){var i=Oo(t),a=_i(t,i);null!=n||Xr(t)&&(a.length||!i.length)||(n=t,t=e,e=this,a=_i(t,Oo(t)));var s=!(Xr(n)&&"chain"in n&&!n.chain),r=Jr(e);return Rt(a,(function(n){var i=t[n];e[n]=i,r&&(e.prototype[n]=function(){var t=this.__chain__;if(s||t){var n=e(this.__wrapped__);return(n.__actions__=Aa(this.__actions__)).push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,Ut([this.value()],arguments))})})),e}function cc(){}var lc=Ba(Ft),uc=Ba(jt),pc=Ba(Mt);function dc(e){return xs(e)?Wt(Ps(e)):function(e){return function(t){return Ei(t,e)}}(e)}var mc=Ka(),hc=Ka(!0);function fc(){return[]}function gc(){return!1}var vc=Da((function(e,t){return e+t}),0),yc=Ha("ceil"),bc=Da((function(e,t){return e/t}),1),xc=Ha("floor");var wc,_c=Da((function(e,t){return e*t}),1),Ec=Ha("round"),Sc=Da((function(e,t){return e-t}),0);return qn.after=function(e,t){if("function"!=typeof t)throw new Ae(a);return e=ho(e),function(){if(--e<1)return t.apply(this,arguments)}},qn.ary=Tr,qn.assign=bo,qn.assignIn=xo,qn.assignInWith=wo,qn.assignWith=_o,qn.at=Eo,qn.before=Ir,qn.bind=Rr,qn.bindAll=Xo,qn.bindKey=Ar,qn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Br(e)?e:[e]},qn.chain=pr,qn.chunk=function(e,t,a){t=(a?bs(e,t,a):t===i)?1:yn(ho(t),0);var s=null==e?0:e.length;if(!s||t<1)return[];for(var r=0,o=0,c=n(mt(s/t));r<s;)c[o++]=ia(e,r,r+=t);return c},qn.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,a=[];++t<n;){var s=e[t];s&&(a[i++]=s)}return a},qn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),i=arguments[0],a=e;a--;)t[a-1]=arguments[a];return Ut(Br(i)?Aa(i):[i],vi(t,1))},qn.cond=function(e){var t=null==e?0:e.length,n=cs();return e=t?Ft(e,(function(e){if("function"!=typeof e[1])throw new Ae(a);return[n(e[0]),e[1]]})):[],Ji((function(n){for(var i=-1;++i<t;){var a=e[i];if(Tt(a[0],this,n))return Tt(a[1],this,n)}}))},qn.conforms=function(e){return function(e){var t=Oo(e);return function(n){return li(n,e,t)}}(ci(e,1))},qn.constant=ec,qn.countBy=hr,qn.create=function(e,t){var n=$n(e);return null==t?n:ai(n,t)},qn.curry=function e(t,n,a){var s=Qa(t,8,i,i,i,i,i,n=a?i:n);return s.placeholder=e.placeholder,s},qn.curryRight=function e(t,n,a){var s=Qa(t,o,i,i,i,i,i,n=a?i:n);return s.placeholder=e.placeholder,s},qn.debounce=jr,qn.defaults=So,qn.defaultsDeep=ko,qn.defer=Or,qn.delay=Cr,qn.difference=Ns,qn.differenceBy=qs,qn.differenceWith=$s,qn.drop=function(e,t,n){var a=null==e?0:e.length;return a?ia(e,(t=n||t===i?1:ho(t))<0?0:t,a):[]},qn.dropRight=function(e,t,n){var a=null==e?0:e.length;return a?ia(e,0,(t=a-(t=n||t===i?1:ho(t)))<0?0:t):[]},qn.dropRightWhile=function(e,t){return e&&e.length?ma(e,cs(t,3),!0,!0):[]},qn.dropWhile=function(e,t){return e&&e.length?ma(e,cs(t,3),!0):[]},qn.fill=function(e,t,n,a){var s=null==e?0:e.length;return s?(n&&"number"!=typeof n&&bs(e,t,n)&&(n=0,a=s),function(e,t,n,a){var s=e.length;for((n=ho(n))<0&&(n=-n>s?0:s+n),(a=a===i||a>s?s:ho(a))<0&&(a+=s),a=n>a?0:fo(a);n<a;)e[n++]=t;return e}(e,t,n,a)):[]},qn.filter=function(e,t){return(Br(e)?Ot:gi)(e,cs(t,3))},qn.flatMap=function(e,t){return vi(_r(e,t),1)},qn.flatMapDeep=function(e,t){return vi(_r(e,t),d)},qn.flatMapDepth=function(e,t,n){return n=n===i?1:ho(n),vi(_r(e,t),n)},qn.flatten=Ys,qn.flattenDeep=function(e){return(null==e?0:e.length)?vi(e,d):[]},qn.flattenDepth=function(e,t){return(null==e?0:e.length)?vi(e,t=t===i?1:ho(t)):[]},qn.flip=function(e){return Qa(e,512)},qn.flow=tc,qn.flowRight=nc,qn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var a=e[t];i[a[0]]=a[1]}return i},qn.functions=function(e){return null==e?[]:_i(e,Oo(e))},qn.functionsIn=function(e){return null==e?[]:_i(e,Co(e))},qn.groupBy=br,qn.initial=function(e){return(null==e?0:e.length)?ia(e,0,-1):[]},qn.intersection=Ws,qn.intersectionBy=Vs,qn.intersectionWith=Hs,qn.invert=Ro,qn.invertBy=Ao,qn.invokeMap=xr,qn.iteratee=ac,qn.keyBy=wr,qn.keys=Oo,qn.keysIn=Co,qn.map=_r,qn.mapKeys=function(e,t){var n={};return t=cs(t,3),xi(e,(function(e,i,a){si(n,t(e,i,a),e)})),n},qn.mapValues=function(e,t){var n={};return t=cs(t,3),xi(e,(function(e,i,a){si(n,i,t(e,i,a))})),n},qn.matches=function(e){return qi(ci(e,1))},qn.matchesProperty=function(e,t){return $i(e,ci(t,1))},qn.memoize=Lr,qn.merge=Lo,qn.mergeWith=Fo,qn.method=sc,qn.methodOf=rc,qn.mixin=oc,qn.negate=Fr,qn.nthArg=function(e){return e=ho(e),Ji((function(t){return Bi(t,e)}))},qn.omit=Uo,qn.omitBy=function(e,t){return zo(e,Fr(cs(t)))},qn.once=function(e){return Ir(2,e)},qn.orderBy=function(e,t,n,a){return null==e?[]:(Br(t)||(t=null==t?[]:[t]),Br(n=a?i:n)||(n=null==n?[]:[n]),Yi(e,t,n))},qn.over=lc,qn.overArgs=Ur,qn.overEvery=uc,qn.overSome=pc,qn.partial=Pr,qn.partialRight=zr,qn.partition=Er,qn.pick=Po,qn.pickBy=zo,qn.property=dc,qn.propertyOf=function(e){return function(t){return null==e?i:Ei(e,t)}},qn.pull=Js,qn.pullAll=Qs,qn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Wi(e,t,cs(n,2)):e},qn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Wi(e,t,i,n):e},qn.pullAt=Zs,qn.range=mc,qn.rangeRight=hc,qn.rearg=Mr,qn.reject=function(e,t){return(Br(e)?Ot:gi)(e,Fr(cs(t,3)))},qn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,a=[],s=e.length;for(t=cs(t,3);++i<s;){var r=e[i];t(r,i,e)&&(n.push(r),a.push(i))}return Vi(e,a),n},qn.rest=function(e,t){if("function"!=typeof e)throw new Ae(a);return Ji(e,t=t===i?t:ho(t))},qn.reverse=Xs,qn.sampleSize=function(e,t,n){return t=(n?bs(e,t,n):t===i)?1:ho(t),(Br(e)?Zn:Zi)(e,t)},qn.set=function(e,t,n){return null==e?e:Xi(e,t,n)},qn.setWith=function(e,t,n,a){return a="function"==typeof a?a:i,null==e?e:Xi(e,t,n,a)},qn.shuffle=function(e){return(Br(e)?Xn:na)(e)},qn.slice=function(e,t,n){var a=null==e?0:e.length;return a?(n&&"number"!=typeof n&&bs(e,t,n)?(t=0,n=a):(t=null==t?0:ho(t),n=n===i?a:ho(n)),ia(e,t,n)):[]},qn.sortBy=Sr,qn.sortedUniq=function(e){return e&&e.length?oa(e):[]},qn.sortedUniqBy=function(e,t){return e&&e.length?oa(e,cs(t,2)):[]},qn.split=function(e,t,n){return n&&"number"!=typeof n&&bs(e,t,n)&&(t=n=i),(n=n===i?f:n>>>0)?(e=yo(e))&&("string"==typeof t||null!=t&&!ao(t))&&!(t=la(t))&&on(e)?wa(hn(e),0,n):e.split(t,n):[]},qn.spread=function(e,t){if("function"!=typeof e)throw new Ae(a);return t=null==t?0:yn(ho(t),0),Ji((function(n){var i=n[t],a=wa(n,0,t);return i&&Ut(a,i),Tt(e,this,a)}))},qn.tail=function(e){var t=null==e?0:e.length;return t?ia(e,1,t):[]},qn.take=function(e,t,n){return e&&e.length?ia(e,0,(t=n||t===i?1:ho(t))<0?0:t):[]},qn.takeRight=function(e,t,n){var a=null==e?0:e.length;return a?ia(e,(t=a-(t=n||t===i?1:ho(t)))<0?0:t,a):[]},qn.takeRightWhile=function(e,t){return e&&e.length?ma(e,cs(t,3),!1,!0):[]},qn.takeWhile=function(e,t){return e&&e.length?ma(e,cs(t,3)):[]},qn.tap=function(e,t){return t(e),e},qn.throttle=function(e,t,n){var i=!0,s=!0;if("function"!=typeof e)throw new Ae(a);return Xr(n)&&(i="leading"in n?!!n.leading:i,s="trailing"in n?!!n.trailing:s),jr(e,t,{leading:i,maxWait:t,trailing:s})},qn.thru=dr,qn.toArray=po,qn.toPairs=Mo,qn.toPairsIn=No,qn.toPath=function(e){return Br(e)?Ft(e,Ps):oo(e)?[e]:Aa(Us(yo(e)))},qn.toPlainObject=vo,qn.transform=function(e,t,n){var i=Br(e),a=i||Vr(e)||co(e);if(t=cs(t,4),null==n){var s=e&&e.constructor;n=a?i?new s:[]:Xr(e)&&Jr(s)?$n(We(e)):{}}return(a?Rt:xi)(e,(function(e,i,a){return t(n,e,i,a)})),n},qn.unary=function(e){return Tr(e,1)},qn.union=er,qn.unionBy=tr,qn.unionWith=nr,qn.uniq=function(e){return e&&e.length?ua(e):[]},qn.uniqBy=function(e,t){return e&&e.length?ua(e,cs(t,2)):[]},qn.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?ua(e,i,t):[]},qn.unset=function(e,t){return null==e||pa(e,t)},qn.unzip=ir,qn.unzipWith=ar,qn.update=function(e,t,n){return null==e?e:da(e,t,ya(n))},qn.updateWith=function(e,t,n,a){return a="function"==typeof a?a:i,null==e?e:da(e,t,ya(n),a)},qn.values=qo,qn.valuesIn=function(e){return null==e?[]:Xt(e,Co(e))},qn.without=sr,qn.words=Qo,qn.wrap=function(e,t){return Pr(ya(t),e)},qn.xor=rr,qn.xorBy=or,qn.xorWith=cr,qn.zip=lr,qn.zipObject=function(e,t){return ga(e||[],t||[],ti)},qn.zipObjectDeep=function(e,t){return ga(e||[],t||[],Xi)},qn.zipWith=ur,qn.entries=Mo,qn.entriesIn=No,qn.extend=xo,qn.extendWith=wo,oc(qn,qn),qn.add=vc,qn.attempt=Zo,qn.camelCase=$o,qn.capitalize=Do,qn.ceil=yc,qn.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=go(n))==n?n:0),t!==i&&(t=(t=go(t))==t?t:0),oi(go(e),t,n)},qn.clone=function(e){return ci(e,4)},qn.cloneDeep=function(e){return ci(e,5)},qn.cloneDeepWith=function(e,t){return ci(e,5,t="function"==typeof t?t:i)},qn.cloneWith=function(e,t){return ci(e,4,t="function"==typeof t?t:i)},qn.conformsTo=function(e,t){return null==t||li(e,t,Oo(t))},qn.deburr=Bo,qn.defaultTo=function(e,t){return null==e||e!=e?t:e},qn.divide=bc,qn.endsWith=function(e,t,n){e=yo(e),t=la(t);var a=e.length,s=n=n===i?a:oi(ho(n),0,a);return(n-=t.length)>=0&&e.slice(n,s)==t},qn.eq=Nr,qn.escape=function(e){return(e=yo(e))&&J.test(e)?e.replace(H,sn):e},qn.escapeRegExp=function(e){return(e=yo(e))&&ae.test(e)?e.replace(ie,"\\$&"):e},qn.every=function(e,t,n){var a=Br(e)?jt:hi;return n&&bs(e,t,n)&&(t=i),a(e,cs(t,3))},qn.find=fr,qn.findIndex=Ds,qn.findKey=function(e,t){return qt(e,cs(t,3),xi)},qn.findLast=gr,qn.findLastIndex=Bs,qn.findLastKey=function(e,t){return qt(e,cs(t,3),wi)},qn.floor=xc,qn.forEach=vr,qn.forEachRight=yr,qn.forIn=function(e,t){return null==e?e:yi(e,cs(t,3),Co)},qn.forInRight=function(e,t){return null==e?e:bi(e,cs(t,3),Co)},qn.forOwn=function(e,t){return e&&xi(e,cs(t,3))},qn.forOwnRight=function(e,t){return e&&wi(e,cs(t,3))},qn.get=To,qn.gt=qr,qn.gte=$r,qn.has=function(e,t){return null!=e&&fs(e,t,Ii)},qn.hasIn=Io,qn.head=Ks,qn.identity=ic,qn.includes=function(e,t,n,i){e=Kr(e)?e:qo(e),n=n&&!i?ho(n):0;var a=e.length;return n<0&&(n=yn(a+n,0)),ro(e)?n<=a&&e.indexOf(t,n)>-1:!!a&&Dt(e,t,n)>-1},qn.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var a=null==n?0:ho(n);return a<0&&(a=yn(i+a,0)),Dt(e,t,a)},qn.inRange=function(e,t,n){return t=mo(t),n===i?(n=t,t=0):n=mo(n),function(e,t,n){return e>=bn(t,n)&&e<yn(t,n)}(e=go(e),t,n)},qn.invoke=jo,qn.isArguments=Dr,qn.isArray=Br,qn.isArrayBuffer=Yr,qn.isArrayLike=Kr,qn.isArrayLikeObject=Wr,qn.isBoolean=function(e){return!0===e||!1===e||eo(e)&&ki(e)==b},qn.isBuffer=Vr,qn.isDate=Hr,qn.isElement=function(e){return eo(e)&&1===e.nodeType&&!io(e)},qn.isEmpty=function(e){if(null==e)return!0;if(Kr(e)&&(Br(e)||"string"==typeof e||"function"==typeof e.splice||Vr(e)||co(e)||Dr(e)))return!e.length;var t=hs(e);if(t==S||t==A)return!e.size;if(Es(e))return!Pi(e).length;for(var n in e)if(Ue.call(e,n))return!1;return!0},qn.isEqual=function(e,t){return Ci(e,t)},qn.isEqualWith=function(e,t,n){var a=(n="function"==typeof n?n:i)?n(e,t):i;return a===i?Ci(e,t,i,n):!!a},qn.isError=Gr,qn.isFinite=function(e){return"number"==typeof e&&bt(e)},qn.isFunction=Jr,qn.isInteger=Qr,qn.isLength=Zr,qn.isMap=to,qn.isMatch=function(e,t){return e===t||Li(e,t,us(t))},qn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,Li(e,t,us(t),n)},qn.isNaN=function(e){return no(e)&&e!=+e},qn.isNative=function(e){if(_s(e))throw new Ee("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Fi(e)},qn.isNil=function(e){return null==e},qn.isNull=function(e){return null===e},qn.isNumber=no,qn.isObject=Xr,qn.isObjectLike=eo,qn.isPlainObject=io,qn.isRegExp=ao,qn.isSafeInteger=function(e){return Qr(e)&&e>=-9007199254740991&&e<=m},qn.isSet=so,qn.isString=ro,qn.isSymbol=oo,qn.isTypedArray=co,qn.isUndefined=function(e){return e===i},qn.isWeakMap=function(e){return eo(e)&&hs(e)==C},qn.isWeakSet=function(e){return eo(e)&&"[object WeakSet]"==ki(e)},qn.join=function(e,t){return null==e?"":Nt.call(e,t)},qn.kebabCase=Yo,qn.last=Gs,qn.lastIndexOf=function(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var s=a;return n!==i&&(s=(s=ho(n))<0?yn(a+s,0):bn(s,a-1)),t==t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,s):$t(e,Yt,s,!0)},qn.lowerCase=Ko,qn.lowerFirst=Wo,qn.lt=lo,qn.lte=uo,qn.max=function(e){return e&&e.length?fi(e,ic,Ti):i},qn.maxBy=function(e,t){return e&&e.length?fi(e,cs(t,2),Ti):i},qn.mean=function(e){return Kt(e,ic)},qn.meanBy=function(e,t){return Kt(e,cs(t,2))},qn.min=function(e){return e&&e.length?fi(e,ic,Mi):i},qn.minBy=function(e,t){return e&&e.length?fi(e,cs(t,2),Mi):i},qn.stubArray=fc,qn.stubFalse=gc,qn.stubObject=function(){return{}},qn.stubString=function(){return""},qn.stubTrue=function(){return!0},qn.multiply=_c,qn.nth=function(e,t){return e&&e.length?Bi(e,ho(t)):i},qn.noConflict=function(){return ht._===this&&(ht._=qe),this},qn.noop=cc,qn.now=kr,qn.pad=function(e,t,n){e=yo(e);var i=(t=ho(t))?mn(e):0;if(!t||i>=t)return e;var a=(t-i)/2;return Ya(ft(a),n)+e+Ya(mt(a),n)},qn.padEnd=function(e,t,n){e=yo(e);var i=(t=ho(t))?mn(e):0;return t&&i<t?e+Ya(t-i,n):e},qn.padStart=function(e,t,n){e=yo(e);var i=(t=ho(t))?mn(e):0;return t&&i<t?Ya(t-i,n)+e:e},qn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),wn(yo(e).replace(se,""),t||0)},qn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&bs(e,t,n)&&(t=n=i),n===i&&("boolean"==typeof t?(n=t,t=i):"boolean"==typeof e&&(n=e,e=i)),e===i&&t===i?(e=0,t=1):(e=mo(e),t===i?(t=e,e=0):t=mo(t)),e>t){var a=e;e=t,t=a}if(n||e%1||t%1){var s=_n();return bn(e+s*(t-e+ut("1e-"+((s+"").length-1))),t)}return Hi(e,t)},qn.reduce=function(e,t,n){var i=Br(e)?Pt:Ht,a=arguments.length<3;return i(e,cs(t,4),n,a,di)},qn.reduceRight=function(e,t,n){var i=Br(e)?zt:Ht,a=arguments.length<3;return i(e,cs(t,4),n,a,mi)},qn.repeat=function(e,t,n){return t=(n?bs(e,t,n):t===i)?1:ho(t),Gi(yo(e),t)},qn.replace=function(){var e=arguments,t=yo(e[0]);return e.length<3?t:t.replace(e[1],e[2])},qn.result=function(e,t,n){var a=-1,s=(t=ba(t,e)).length;for(s||(s=1,e=i);++a<s;){var r=null==e?i:e[Ps(t[a])];r===i&&(a=s,r=n),e=Jr(r)?r.call(e):r}return e},qn.round=Ec,qn.runInContext=e,qn.sample=function(e){return(Br(e)?Qn:Qi)(e)},qn.size=function(e){if(null==e)return 0;if(Kr(e))return ro(e)?mn(e):e.length;var t=hs(e);return t==S||t==A?e.size:Pi(e).length},qn.snakeCase=Vo,qn.some=function(e,t,n){var a=Br(e)?Mt:aa;return n&&bs(e,t,n)&&(t=i),a(e,cs(t,3))},qn.sortedIndex=function(e,t){return sa(e,t)},qn.sortedIndexBy=function(e,t,n){return ra(e,t,cs(n,2))},qn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=sa(e,t);if(i<n&&Nr(e[i],t))return i}return-1},qn.sortedLastIndex=function(e,t){return sa(e,t,!0)},qn.sortedLastIndexBy=function(e,t,n){return ra(e,t,cs(n,2),!0)},qn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=sa(e,t,!0)-1;if(Nr(e[n],t))return n}return-1},qn.startCase=Ho,qn.startsWith=function(e,t,n){return e=yo(e),n=null==n?0:oi(ho(n),0,e.length),t=la(t),e.slice(n,n+t.length)==t},qn.subtract=Sc,qn.sum=function(e){return e&&e.length?Gt(e,ic):0},qn.sumBy=function(e,t){return e&&e.length?Gt(e,cs(t,2)):0},qn.template=function(e,t,n){var a=qn.templateSettings;n&&bs(e,t,n)&&(t=i),e=yo(e),t=wo({},t,a,Za);var s,r,o=wo({},t.imports,a.imports,Za),c=Oo(o),l=Xt(o,c),u=0,p=t.interpolate||we,d="__p += '",m=Ie((t.escape||we).source+"|"+p.source+"|"+(p===X?me:we).source+"|"+(t.evaluate||we).source+"|$","g"),h="//# sourceURL="+(Ue.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";e.replace(m,(function(t,n,i,a,o,c){return i||(i=a),d+=e.slice(u,c).replace(_e,rn),n&&(s=!0,d+="' +\n__e("+n+") +\n'"),o&&(r=!0,d+="';\n"+o+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=c+t.length,t})),d+="';\n";var f=Ue.call(t,"variable")&&t.variable;if(f){if(pe.test(f))throw new Ee("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(r?d.replace(Y,""):d).replace(K,"$1").replace(W,"$1;"),d="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(r?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=Zo((function(){return Se(c,h+"return "+d).apply(i,l)}));if(g.source=d,Gr(g))throw g;return g},qn.times=function(e,t){if((e=ho(e))<1||e>m)return[];var n=f,i=bn(e,f);t=cs(t),e-=f;for(var a=Jt(i,t);++n<e;)t(n);return a},qn.toFinite=mo,qn.toInteger=ho,qn.toLength=fo,qn.toLower=function(e){return yo(e).toLowerCase()},qn.toNumber=go,qn.toSafeInteger=function(e){return e?oi(ho(e),-9007199254740991,m):0===e?e:0},qn.toString=yo,qn.toUpper=function(e){return yo(e).toUpperCase()},qn.trim=function(e,t,n){if((e=yo(e))&&(n||t===i))return Qt(e);if(!e||!(t=la(t)))return e;var a=hn(e),s=hn(t);return wa(a,tn(a,s),nn(a,s)+1).join("")},qn.trimEnd=function(e,t,n){if((e=yo(e))&&(n||t===i))return e.slice(0,fn(e)+1);if(!e||!(t=la(t)))return e;var a=hn(e);return wa(a,0,nn(a,hn(t))+1).join("")},qn.trimStart=function(e,t,n){if((e=yo(e))&&(n||t===i))return e.replace(se,"");if(!e||!(t=la(t)))return e;var a=hn(e);return wa(a,tn(a,hn(t))).join("")},qn.truncate=function(e,t){var n=30,a="...";if(Xr(t)){var s="separator"in t?t.separator:s;n="length"in t?ho(t.length):n,a="omission"in t?la(t.omission):a}var r=(e=yo(e)).length;if(on(e)){var o=hn(e);r=o.length}if(n>=r)return e;var c=n-mn(a);if(c<1)return a;var l=o?wa(o,0,c).join(""):e.slice(0,c);if(s===i)return l+a;if(o&&(c+=l.length-c),ao(s)){if(e.slice(c).search(s)){var u,p=l;for(s.global||(s=Ie(s.source,yo(he.exec(s))+"g")),s.lastIndex=0;u=s.exec(p);)var d=u.index;l=l.slice(0,d===i?c:d)}}else if(e.indexOf(la(s),c)!=c){var m=l.lastIndexOf(s);m>-1&&(l=l.slice(0,m))}return l+a},qn.unescape=function(e){return(e=yo(e))&&G.test(e)?e.replace(V,gn):e},qn.uniqueId=function(e){var t=++Pe;return yo(e)+t},qn.upperCase=Go,qn.upperFirst=Jo,qn.each=vr,qn.eachRight=yr,qn.first=Ks,oc(qn,(wc={},xi(qn,(function(e,t){Ue.call(qn.prototype,t)||(wc[t]=e)})),wc),{chain:!1}),qn.VERSION="4.17.21",Rt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){qn[e].placeholder=qn})),Rt(["drop","take"],(function(e,t){Yn.prototype[e]=function(n){n=n===i?1:yn(ho(n),0);var a=this.__filtered__&&!t?new Yn(this):this.clone();return a.__filtered__?a.__takeCount__=bn(n,a.__takeCount__):a.__views__.push({size:bn(n,f),type:e+(a.__dir__<0?"Right":"")}),a},Yn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Rt(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=1==n||3==n;Yn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:cs(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),Rt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Yn.prototype[e]=function(){return this[n](1).value()[0]}})),Rt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Yn.prototype[e]=function(){return this.__filtered__?new Yn(this):this[n](1)}})),Yn.prototype.compact=function(){return this.filter(ic)},Yn.prototype.find=function(e){return this.filter(e).head()},Yn.prototype.findLast=function(e){return this.reverse().find(e)},Yn.prototype.invokeMap=Ji((function(e,t){return"function"==typeof e?new Yn(this):this.map((function(n){return ji(n,e,t)}))})),Yn.prototype.reject=function(e){return this.filter(Fr(cs(e)))},Yn.prototype.slice=function(e,t){e=ho(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Yn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=ho(t))<0?n.dropRight(-t):n.take(t-e)),n)},Yn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Yn.prototype.toArray=function(){return this.take(f)},xi(Yn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),s=qn[a?"take"+("last"==t?"Right":""):t],r=a||/^find/.test(t);s&&(qn.prototype[t]=function(){var t=this.__wrapped__,o=a?[1]:arguments,c=t instanceof Yn,l=o[0],u=c||Br(t),p=function(e){var t=s.apply(qn,Ut([e],o));return a&&d?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var d=this.__chain__,m=!!this.__actions__.length,h=r&&!d,f=c&&!m;if(!r&&u){t=f?t:new Yn(this);var g=e.apply(t,o);return g.__actions__.push({func:dr,args:[p],thisArg:i}),new Bn(g,d)}return h&&f?e.apply(this,o):(g=this.thru(p),h?a?g.value()[0]:g.value():g)})})),Rt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=je[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);qn.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var a=this.value();return t.apply(Br(a)?a:[],e)}return this[n]((function(n){return t.apply(Br(n)?n:[],e)}))}})),xi(Yn.prototype,(function(e,t){var n=qn[t];if(n){var i=n.name+"";Ue.call(On,i)||(On[i]=[]),On[i].push({name:t,func:n})}})),On[qa(i,2).name]=[{name:"wrapper",func:i}],Yn.prototype.clone=function(){var e=new Yn(this.__wrapped__);return e.__actions__=Aa(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Aa(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Aa(this.__views__),e},Yn.prototype.reverse=function(){if(this.__filtered__){var e=new Yn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Yn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Br(e),i=t<0,a=n?e.length:0,s=function(e,t,n){var i=-1,a=n.length;for(;++i<a;){var s=n[i],r=s.size;switch(s.type){case"drop":e+=r;break;case"dropRight":t-=r;break;case"take":t=bn(t,e+r);break;case"takeRight":e=yn(e,t-r)}}return{start:e,end:t}}(0,a,this.__views__),r=s.start,o=s.end,c=o-r,l=i?o:r-1,u=this.__iteratees__,p=u.length,d=0,m=bn(c,this.__takeCount__);if(!n||!i&&a==c&&m==c)return ha(e,this.__actions__);var h=[];e:for(;c--&&d<m;){for(var f=-1,g=e[l+=t];++f<p;){var v=u[f],y=v.iteratee,b=v.type,x=y(g);if(2==b)g=x;else if(!x){if(1==b)continue e;break e}}h[d++]=g}return h},qn.prototype.at=mr,qn.prototype.chain=function(){return pr(this)},qn.prototype.commit=function(){return new Bn(this.value(),this.__chain__)},qn.prototype.next=function(){this.__values__===i&&(this.__values__=po(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},qn.prototype.plant=function(e){for(var t,n=this;n instanceof Dn;){var a=Ms(n);a.__index__=0,a.__values__=i,t?s.__wrapped__=a:t=a;var s=a;n=n.__wrapped__}return s.__wrapped__=e,t},qn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Yn){var t=e;return this.__actions__.length&&(t=new Yn(this)),(t=t.reverse()).__actions__.push({func:dr,args:[Xs],thisArg:i}),new Bn(t,this.__chain__)}return this.thru(Xs)},qn.prototype.toJSON=qn.prototype.valueOf=qn.prototype.value=function(){return ha(this.__wrapped__,this.__actions__)},qn.prototype.first=qn.prototype.head,Qe&&(qn.prototype[Qe]=function(){return this}),qn}();gt?((gt.exports=vn)._=vn,ft._=vn):ht._=vn}).call(n)}(pp,pp.exports);var dp=pp.exports;const mp={type:G,stimulus:()=>!r.session.get("config").story||"default"===r.session.get("config").userMode&&r.session.get("config").userMetadata.grade>=6?qt.audio[dp.camelCase("introductionNs")]:qt.audio[dp.camelCase("introduction")],prompt:()=>!r.session.get("config").story||"default"===r.session.get("config").userMode&&r.session.get("config").userMetadata.grade>=6?`\n <div class = "jspsych-content-modified">\n <div class="container">\n <img src="${qt.images.academyBackground}" alt= "background" style="width:100%;"> \n </div>\n <div class="text-block">\n <h3> ${Ue.t("introduction.intro.text1")} </h3>\n <p> ${Ue.t("introduction.intro.text2")} </p> \n <p> ${Ue.t("introduction.intro.text3")} </p>\n </div>\n ${Mt?"":`<div class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.continue")}`})} </div>`}\n </div>\n `:`\n <div class = "jspsych-content-modified">\n <div class="container">\n <img src="${qt.images.academyBackground}" alt= "background" style="width:100%;"> \n </div>\n <div class="text-block">\n <h3> ${Ue.t("introduction.intro.text4")} </h3>\n <p> ${Ue.t("introduction.intro.text5")} </p> \n <p> ${Ue.t("introduction.intro.text6")} </p> \n <p> ${Ue.t("introduction.intro.text3")} </p>\n </div>\n ${Mt?"":`<div class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.continue")}`})} </div>`}\n </div>`,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>Mt?`<button class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.here")}`,action:`${Ue.t("terms.continue")}`})} </button>`:"",on_start:()=>document.body.style.cursor="none"},hp={timeline:[{type:G,stimulus:()=>qt.audio.postPracticeInstruction,prompt:()=>`\n <div class="jspsych-content-modified" id="sre-background">\n <h3>${Ue.t("practice.postPracticeIntro.text1")}</h3>\n <p>${Ue.t("practice.postPracticeIntro.text2")}</p>\n <p>${Ue.t("practice.postPracticeIntro.text3")}</p>\n <p>${Ue.t("practice.postPracticeIntro.text4")}</p>\n <p>${Ue.t("practice.postPracticeIntro.text5")}</p>\n ${Mt?"":`<div class="button">${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.continue")}`})}</div>`}\n </div>`,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>Mt?`<button class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.here")}`,action:`${Ue.t("terms.continue")}`})} </button>`:""},{type:G,stimulus:()=>qt.audio.postPracticeReminder,prompt:()=>`\n <div class="jspsych-content-modified" id="sre-background">\n <h2>Remember!</h2>\n <div class="row">\n <div class="column_2_lower" style="background-color:#FFFFFF;">\n <p style = "text-align:center;"> ${Ue.t(Mt?"practice.postPracticeReminder.text1Mobile":"practice.postPracticeReminder.text1")} </p>\n <img width="70%" src="${qt.images.falseKey}" alt="arrow keys">\n </div>\n <div class="column_2_lower" style="background-color:#FFFFFF;">\n <p style = "text-align:center;"> ${Ue.t(Mt?"practice.postPracticeReminder.text2Mobile":"practice.postPracticeReminder.text2")} </p>\n <img width="70%" src="${qt.images.trueKey}" alt="arrow keys">\n </div>\n </div>\n <p><b> ${Ue.t("practice.postPracticeReminder.text3")} </b></p>\n <p><b> ${Ue.t("practice.postPracticeReminder.text4")} </b></p>\n ${Mt?"":`<div class="button">${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.begin")}`})} </div>`}\n </div>`,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>Mt?`<button class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.here")}`,action:`${Ue.t("terms.begin")}`})} </button>`:"",on_finish:e=>{r.session.set("indexTracking",0)}}]},fp={name:"html-multi-response",parameters:{stimulus:{type:d.HTML_STRING,pretty_name:"Stimulus",default:void 0},button_choices:{type:d.STRING,pretty_name:"Button Choices",default:[],array:!0},keyboard_choices:{type:d.KEYS,pretty_name:"Keyboard Choices",default:"NO_KEYS"},button_html:{type:d.HTML_STRING,pretty_name:"Button HTML",default:'<button class="jspsych-btn">%choice%</button>',array:!0},prompt:{type:d.HTML_STRING,pretty_name:"Prompt",default:null},stimulus_duration:{type:d.INT,pretty_name:"Stimulus duration",default:null},trial_duration:{type:d.INT,pretty_name:"Trial duration",default:null},margin_vertical:{type:d.STRING,pretty_name:"Margin vertical",default:"0px"},margin_horizontal:{type:d.STRING,pretty_name:"Margin horizontal",default:"8px"},response_ends_trial:{type:d.BOOL,pretty_name:"Response ends trial",default:!0}}};class gp{constructor(e){this.jsPsych=e}trial(e,t){var n='<div id="jspsych-html-multi-response-stimulus">'+t.stimulus+"</div>",i=[];if(Array.isArray(t.button_html))t.button_html.length==t.button_choices.length?i=t.button_html:console.error("Error in html-multi-response plugin. The length of the button_html array does not equal the length of the button_choices array");else for(var a=0;a<t.button_choices.length;a++)i.push(t.button_html);n+='<div id="jspsych-html-multi-response-btngroup">';for(a=0;a<t.button_choices.length;a++){var s=i[a].replace(/%choice%/g,t.button_choices[a]);n+='<div class="jspsych-html-multi-response-button" style="display: inline-block; margin:'+t.margin_vertical+" "+t.margin_horizontal+'" id="jspsych-html-multi-response-button-'+a+'" data-choice="'+a+'">'+s+"</div>"}n+="</div>",null!==t.prompt&&(n+=t.prompt),e.innerHTML=n;if("NO_KEYS"!=t.keyboard_choices)var r=this.jsPsych.pluginAPI.getKeyboardResponse({callback_function:function(n){e.querySelector("#jspsych-html-multi-response-stimulus").className+=" responded",null==c.key&&(c=Object.assign({source:"keyboard",button:null},n)),t.response_ends_trial&&l()},valid_responses:t.keyboard_choices,rt_method:"performance",persist:!1,allow_held_key:!1});var o=performance.now();for(a=0;a<t.button_choices.length;a++)e.querySelector("#jspsych-html-multi-response-button-"+a).addEventListener("click",(e=>{u(e.currentTarget.getAttribute("data-choice"))}));var c={rt:null,button:null,key:null,source:null};const l=()=>{this.jsPsych.pluginAPI.clearAllTimeouts(),void 0!==r&&this.jsPsych.pluginAPI.cancelKeyboardResponse(r);var n={rt:c.rt,stimulus:t.stimulus,button_response:c.button,keyboard_response:c.key,response_source:c.source};e.innerHTML="",this.jsPsych.finishTrial(n)};function u(n){var i=performance.now(),a=Math.round(i-o);c.button=parseInt(n),c.rt=a,c.source="button",e.querySelector("#jspsych-html-multi-response-stimulus").className+=" responded";for(var s=document.querySelectorAll(".jspsych-html-multi-response-button button"),r=0;r<s.length;r++)s[r].setAttribute("disabled","disabled");t.response_ends_trial&&l()}null!==t.stimulus_duration&&this.jsPsych.pluginAPI.setTimeout((()=>{e.querySelector("#jspsych-html-multi-response-stimulus").style.visibility="hidden"}),t.stimulus_duration),null!==t.trial_duration&&this.jsPsych.pluginAPI.setTimeout(l,t.trial_duration)}simulate(e,t,n,i){"data-only"==t&&(i(),this.simulate_data_only(e,n)),"visual"==t&&this.simulate_visual(e,n,i)}create_simulation_data(e,t){const n={stimulus:e.stimulus,rt:this.jsPsych.randomization.sampleExGaussian(500,50,1/150,!0),keyboard_response:this.jsPsych.pluginAPI.getValidKey(e.keyboard_choices),button_response:null,response_source:"keyboard"},i={stimulus:e.stimulus,rt:this.jsPsych.randomization.sampleExGaussian(500,50,1/150,!0),button_response:this.jsPsych.randomization.randomInt(0,e.button_choices.length-1),keyboard_response:null,response_source:"button"},a=Math.random()<.5?n:i,s=this.jsPsych.pluginAPI.mergeSimulationData(a,t);return this.jsPsych.pluginAPI.ensureSimulationDataConsistency(e,s),s}simulate_data_only(e,t){const n=this.create_simulation_data(e,t);this.jsPsych.finishTrial(n)}simulate_visual(e,t,n){const i=this.create_simulation_data(e,t),a=this.jsPsych.getDisplayElement();this.trial(a,e),n(),null!==i.rt&&(null!==i.button_response?this.jsPsych.pluginAPI.clickTarget(a.querySelector(`div[data-choice="${i.button_response}"] button`),i.rt):this.jsPsych.pluginAPI.pressKey(i.keyboard_response,i.rt))}}gp.info=fp,d.HTML_STRING,d.KEYS,d.HTML_STRING,d.INT,d.INT,d.BOOL;const vp={type:G,stimulus:()=>!r.session.get("config").story||"default"===r.session.get("config").userMode&&r.session.get("config").userMetadata.grade>=6?qt.audio[dp.camelCase("halfwayNs")]:r.session.get("config").story?qt.audio[dp.camelCase(`${r.session("character")}Halfway`)]:void 0,prompt:()=>!r.session.get("config").story||"default"===r.session.get("config").userMode&&r.session.get("config").userMetadata.grade>=6?`\n <div class = "jspsych-content-modified">\n <div class="container">\n <img src="${qt.images.classroomBackground}" alt= "background" style="width:100%;"> \n </div>\n <div class="text-block">\n <h3> ${Ue.t("gameBreak.halfwayScreen.text1")} </h3>\n <p> ${Ue.t("gameBreak.halfwayScreen.text2")} </p>\n </div>\n ${Mt?"":`<div class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.continue")}`})} </div>`}\n </div>\n `:`\n <div class="jspsych-content-modified" id="sre-background">\n <div class="row">\n <div class="column_1">\n <img class="characterleft" src="${qt.images[dp.camelCase(`${r.session("character")}Talking`)]}" alt="animation of student talking">\n </div>\n <div class= "column_3 halfway-text-block">\n <div class="middle" id="halfway-position">\n <p> ${Ue.t("gameBreak.halfwayScreen.text3")}</p>\n <p> ${Ue.t("gameBreak.halfwayScreen.text4")}</p>\n </div>\n </div>\n </div>\n ${Mt?"":`<div class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.continue")}`})} </div>`}\n </div>`,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>`<button class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.here")}`,action:`${Ue.t("terms.continue")}`})} </button>`,on_finish:e=>{r.session.set("indexTracking",0)}},yp={timeline:[{type:G,stimulus:()=>!r.session.get("config").story||"default"===r.session.get("config").userMode&&r.session.get("config").userMetadata.grade>=6?qt.audio[dp.camelCase("endNs")]:r.session.get("config").story?qt.audio[dp.camelCase(`${r.session("character")}End`)]:void 0,prompt:()=>!r.session.get("config").story||"default"===r.session.get("config").userMode&&r.session.get("config").userMetadata.grade>=6?`\n <div class="jspsych-content-modified">\n <div class="container">\n <img src="${qt.images.academyBackground}" alt= "background" style="width:100%;"> \n </div>\n <div class="text-block">\n <h3> ${Ue.t("gameBreak.endScreen.text1")} </h3>\n <p> ${Ue.t("gameBreak.endScreen.text2")} </p> \n </div>\n ${Mt?"":`<div class="button">${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.save")}`})}</div>`}\n </div>\n `:`\n <div class="jspsych-content-modified">\n <div class="class-container">\n <img src="${qt.images.classroomBackground}" alt= "classroom" style="width:100%;"> \n </div>\n <div class="upper">\n <div class="select-text-block"> <span style="font-weight:bold; white-space:nowrap">\n <h3> ${Ue.t("gameBreak.endScreen.text3")} </h3>\n <p> ${r.session("character_name")} ${Ue.t("gameBreak.endScreen.text4")} </p> \n </div>\n </div>\n <div class="student" id="end-student">\n <img src="${qt.images[dp.camelCase(`${r.session("character")}Happy`)]}" alt= "character is happy"> \n </div>\n ${Mt?"":`<div class="button">${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.save")}`})}</div>`}\n </div>\n `,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>`<button class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.here")}`,action:`${Ue.t("terms.save")}`})} </button>`,data:{save_trial:!1}},{timeline:[{type:gp,stimulus:()=>`<div class="jspsych-content-modified">\n <div class="container">\n <img src="${qt.images.academyBackground}" alt= "background" style="width:100%;"> </div>\n <div class="demo-text-block">\n <h3>${Ue.t("gameBreak.debrief.text1")}</h3>\n <p>${Ue.t("gameBreak.debrief.text2")}</p>\n </div>\n ${Mt?"":`<div class="button">${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.close")}`})}</div>`}\n </div>`,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>`<button class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.here")}`,action:`${Ue.t("terms.close")}`})} </button>`}],conditional_function:()=>"demo"===r.session.get("config").userMode},{type:Q,fullscreen_mode:!1,delay_after:0}]},bp={1:{character:"dog",characterName:"Amy",characterActivity:"go to track practice"},2:{character:"cat",characterName:"Carson",characterActivity:"go to debate club"},3:{character:"bird",characterName:"Jaiden",characterActivity:"hang out with my friends"},4:{character:"deer",characterName:"Dylan",characterActivity:"volunteer at the soup kitchen"}},xp=[1,2,3,4],wp=["dog","cat","bird","deer"],_p={timeline:[{type:G,stimulus:()=>qt.audio.studentSelect,prompt:()=>Mt?`\n <div>\n <img id="mobile-classroom-bg" src=${qt.images.classroomBackground} alt="background"/>\n <h3>${Ue.t("characterSelect.studentSelect.paragraph1")}</h3>\n <p> ${Ue.t(Mt?"characterSelect.studentSelect.paragraph2Mobile":"characterSelect.studentSelect.paragraph2")} </p>\n </div>`:` \n <div class="jspsych-content-modified">\n <div class="class-container">\n <img id="classroom-bg" src=${qt.images.classroomBackground} alt="background"> \n </div> \n <div class="upper">\n <div class="select-text-block"> <span style="font-weight:bold; white-space:nowrap">\n <h3>${Ue.t("characterSelect.studentSelect.paragraph1")}</h3>\n <p> ${Ue.t(Mt?"characterSelect.studentSelect.paragraph2Mobile":"characterSelect.studentSelect.paragraph2")} </p> \n </div>\n </div>\n ${Mt?"":`<div class="number">${xp.map((e=>`<div class="number-block"><n>${e}</n></div>`)).join("")}</div>`}\n <div class="student ${Mt?"mobile-student-select-characters":""}">\n ${wp.map((e=>`<img src=${qt.images[e]} alt=${e}>`)).join("")}\n </div>\n <div class="button">\n ${Ue.t("navigation.studentSelect")} \n </div>\n </div>\n `,keyboard_choices:()=>Mt?"NO_KEYS":["1","2","3","4"],button_choices:()=>Mt?["1","2","3","4"]:[],button_html:()=>'<button class="grade-btn">%choice%</button>',prompt_above_buttons:()=>Mt,data:{save_trial:!1},on_load:()=>{if(Mt){document.getElementById("jspsych-audio-multi-response-btngroup").classList.add("mobile-audio-btn-container");const e=document.getElementById("jspsych-content");if(e){const t=document.createElement("div"),n=document.createTextNode(Ue.t("characterSelect.studentSelect.paragraph3MobileBefore")),i=document.createTextNode(Ue.t("characterSelect.studentSelect.paragraph3MobileAfter")),a=document.createElement("span");a.classList.add("yellow"),a.textContent=Ue.t("characterSelect.studentSelect.paragraph3MobileSpan"),t.appendChild(n),t.appendChild(a),t.appendChild(i),t.classList.add("button");const s=document.createElement("div"),r=wp.map((e=>{const t=document.createElement("img");return t.setAttribute("src",qt.images[e]),t.setAttribute("alt",e),t.classList.add("mobile-character-select"),t}));for(const e of r)s.appendChild(e);e.appendChild(s),e.appendChild(t)}}},on_finish:e=>{r.session.set("character",bp[Mt?e.button_response+1:e.keyboard_response].character),r.session.set("character_name",bp[Mt?e.button_response+1:e.keyboard_response].characterName),r.session.set("character_activity",bp[Mt?e.button_response+1:e.keyboard_response].characterActivity)}},{type:G,stimulus:()=>qt.audio[dp.camelCase(`${r.session("character")}Intro`)],prompt:()=>`\n <div class="jspsych-content-modified" id="sre-background">\n <div class="row">\n <div class="column_1">\n <img class="characterleft" src="${qt.images[dp.camelCase(`${r.session("character")}Talking`)]}" alt="animation of student talking">\n </div>\n <div class= "column_3 student-text-block">\n <div class="middle">\n <p> ${Ue.t("characterSelect.studentIntro.paragraph1")} ${r.session("character_name")}. </p>\n <p> ${Ue.t("characterSelect.studentIntro.paragraph2")} ${r.session("character_activity")}. </p>\n <p> ${Ue.t("characterSelect.studentIntro.paragraph3")} </p>\n </div>\n </div>\n </div>\n ${Mt?"":`<div class="button">${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.continue")}`})}</div>`}\n </div>`,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>`<button class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.here")}`,action:`${Ue.t("terms.continue")}`})} </button>`}],conditional_function:()=>!(!r.session.get("config").story||"default"===r.session.get("config").userMode&&r.session.get("config").userMetadata.grade>=6)},Ep=e=>({timeline:[{type:gp,stimulus:()=>{if(0===r.session("indexTracking")){const t=setTimeout((()=>r.session.set("timeOut",!0)),18e4);r.session.set("timerId",t),"lab"===e||"ai"===e?r.session.set("currentCorpus",rp[e]):r.session.set("currentCorpus",rp[r.session("tosrecCorpusId")])}return Mt?`\n <p id="mobile-stimulus">${r.session("currentCorpus")[r.session("indexTracking")].sentence}</p>\n `:`\n <div class=stimulus_div>\n <p class='stimulus'>${r.session("currentCorpus")[r.session("indexTracking")].sentence}</p>\n </div>`},prompt:()=>{if(!Mt)return`\n <div> \n <img class="lower" src="${qt.images.roarSreKeyboard}" alt="arrow keys"> \n </div>`},keyboard_choices:()=>Mt?"NO_KEYS":["ArrowLeft","ArrowRight"],button_choices:()=>Mt?[Ue.t("terms.false")[0].toUpperCase(),Ue.t("terms.true")[0].toUpperCase()]:[],button_html:()=>Mt?[`<button id="mobile-stimulus-btn-left" class="mobile-stimulus-btn"><img src=${qt.images.leftArrowBlankShort} alt=${Ue.t("terms.false")}/><span>${Ue.t("terms.false")[0].toLocaleUpperCase()}</span></button>`,`<button id="mobile-stimulus-btn-right" class="mobile-stimulus-btn"><img src=${qt.images.rightArrowBlankShort} alt=${Ue.t("terms.true")}/><span>${Ue.t("terms.true")[0].toLocaleUpperCase()}</span></button>`]:[],on_load:()=>{if(Mt){document.body.style.display="flex",document.body.style.justifyContent="center",document.body.style.alignContent="center";document.querySelector(".jspsych-content-wrapper").classList.add("mobile-stimulus-wrap");document.getElementById("jspsych-content").classList.add("mobile-stimulus-jspsych-content")}},data:{assessment_stage:"test_response"},on_finish:t=>{t.keyboard_response?"arrowleft"===t.keyboard_response?r.session.set("keyResponse","left"):r.session.set("keyResponse","right"):0===t.button_response?r.session.set("buttonResponse","left"):r.session.set("buttonResponse","right"),t.keyboard_response?t.correct=Ic.pluginAPI.compareKeys(r.session("keyResponse"),r.session("currentCorpus")[r.session("indexTracking")].direction):t.correct=0===t.button_response&&"left"===r.session("currentCorpus")[r.session("indexTracking")].direction||1===t.button_response&&"right"===r.session("currentCorpus")[r.session("indexTracking")].direction,t.correct?r.session.set("dataCorrect",1):r.session.set("dataCorrect",0),Ic.data.addDataToLastTrial({save_trial:!r.session("timeOut"),pid:r.session.get("config").pid,subtask:e,corpusId:"lab"===e||"ai"==e?e:r.session("tosrecCorpusId"),trialNumBlock:r.session("indexTracking")+1,itemId:r.session("currentCorpus")[r.session("indexTracking")].itemId,item:r.session("currentCorpus")[r.session("indexTracking")].sentence,truefalse:r.session("currentCorpus")[r.session("indexTracking")].answer,correct:r.session("dataCorrect"),story:r.session.get("config").story})}},{type:G,stimulus:()=>qt.audio.neutralSoundSub,prompt:()=>Mt?'<p id="mobile-placeholder-stimulus">Invisible Place holder text</p>':`\n <div>\n <img class="lower" src="${qt.images.roarSreKeyboard}" alt="arrow keys">\n </div>`,keyboard_choices:"NO_KEYS",button_choices:()=>Mt?[Ue.t("terms.false")[0].toUpperCase(),Ue.t("terms.true")[0].toUpperCase()]:[],button_html:()=>Mt?[`<button id="mobile-stimulus-btn-left" class="mobile-stimulus-btn"><img src=${qt.images.leftArrowBlankShort} alt=${Ue.t("terms.false")}/><span>${Ue.t("terms.false")[0].toLocaleUpperCase()}</span></button>`,`<button id="mobile-stimulus-btn-right" class="mobile-stimulus-btn"><img src=${qt.images.rightArrowBlankShort} alt=${Ue.t("terms.true")}/><span>${Ue.t("terms.true")[0].toLocaleUpperCase()}</span></button>`]:[],prompt_above_buttons:!0,on_load:()=>{if(Mt){document.body.style.display="flex",document.body.style.justifyContent="center",document.body.style.alignContent="center";document.querySelector(".jspsych-content-wrapper").classList.add("mobile-stimulus-wrap");document.getElementById("jspsych-content").classList.add("mobile-stimulus-jspsych-content")}},trial_duration:200,response_allowed_while_playing:!1,trial_ends_after_audio:!0}],loop_function:function(e){return r.session("indexTracking")===r.session("currentCorpus").length-1||r.session("timeOut")?(r.session.set("indexTracking",0),r.session.set("timeOut",!1),clearTimeout(r.session.get("timerId")),!1):(r.session.transact("indexTracking",(e=>e+1)),!0)}}),Sp={type:G,stimulus:()=>qt.audio.practiceInstruction,prompt:()=>`\n <div class="jspsych-content-modified" id="sre-background">\n <h2>${Ue.t("practice.intro.text1")}</h2>\n <p>${Ue.t("practice.intro.text2")}</p>\n <div class="row">\n <div class="column_2_upper" style="background-color:#FFFFFF;">\n <p style = "text-align:center;"> \n ${Ue.t(Mt?"practice.intro.text3Mobile":"practice.intro.text3")} \n </p>\n <img width="60%" src="${qt.images.practiceLeft}" alt="arrow keys">\n </div>\n <div class="column_2_upper" style="background-color:#FFFFFF;">\n <p style = "text-align:center;"> \n ${Ue.t(Mt?"practice.intro.text4Mobile":"practice.intro.text4")} \n </p>\n <img width="60%" src="${qt.images.practiceRight}" alt="arrow keys">\n </div>\n </div>\n <p> <b>${Ue.t("practice.intro.text5")}</b> </p> \n <div class="button">${Ue.t("practice.intro.text6")}</div>\n </div>\n `,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>`<button class="button">${Ue.t("practice.intro.text6Mobile")}</button>`,on_finish:e=>{r.session.set("indexTracking",-1)}},kp={type:gp,stimulus:()=>(r.session.transact("indexTracking",(e=>e+1)),Mt?`\n <p id="mobile-stimulus">${r.session("practiceCorpus")[r.session("indexTracking")].sentence}</p>\n `:`\n <div class = stimulus_div>\n <p class = 'stimulus'>${r.session("practiceCorpus")[r.session("indexTracking")].sentence}</p>\n </div>`),prompt:()=>{if(!Mt)return`\n <div> \n <img class="lower" src="${qt.images.roarSreKeyboard}" alt="arrow keys"> \n </div>`},keyboard_choices:()=>Mt?"NO_KEYS":["ArrowLeft","ArrowRight"],button_choices:()=>Mt?[Ue.t("terms.false")[0].toUpperCase(),Ue.t("terms.true")[0].toUpperCase()]:[],button_html:()=>Mt?[`<button id="mobile-stimulus-btn-left" class="mobile-stimulus-btn"><img src=${qt.images.leftArrowBlankShort} alt=${Ue.t("terms.false")}/><span>${Ue.t("terms.false")[0].toLocaleUpperCase()}</span></button>`,`<button id="mobile-stimulus-btn-right" class="mobile-stimulus-btn"><img src=${qt.images.rightArrowBlankShort} alt=${Ue.t("terms.true")}/><span>${Ue.t("terms.true")[0].toLocaleUpperCase()}</span></button>`]:[],on_load:()=>{if(Mt){document.body.style.display="flex",document.body.style.justifyContent="center",document.body.style.alignContent="center";document.querySelector(".jspsych-content-wrapper").classList.add("mobile-stimulus-wrap");document.getElementById("jspsych-content").classList.add("mobile-stimulus-jspsych-content")}},data:{assessment_stage:"practice_response",corpusId:"practice",save_trial:!0},on_finish:e=>{e.keyboard_response?(e.correct=Ic.pluginAPI.compareKeys(e.keyboard_response,r.session("practiceCorpus")[r.session("indexTracking")].correct_response),r.session.set("arrowResponse",e.keyboard_response)):e.correct="arrowleft"===r.session("practiceCorpus")[r.session("indexTracking")].correct_response&&0===e.button_response||"arrowright"===r.session("practiceCorpus")[r.session("indexTracking")].correct_response&&1===e.button_response,e.correct?(r.session.set("dataCorrect",1),r.session.set("feedbackResponse","Correct!")):(r.session.set("dataCorrect",0),r.session.set("feedbackResponse","That's not quite right."));const t="arrowleft"===e.keyboard_response||0===e.button_response;r.session.set("responseLR",t?"left":"right"),r.session.set("answerRP",t?"false":"true"),r.session.set("responseColor",t?"orange":"blue");const n="arrowleft"===r.session("practiceCorpus")[r.session("indexTracking")].correct_response;r.session.set("correctLR",n?"left":"right"),r.session.set("correctRP",n?"false":"true"),r.session.set("answerColor",n?"orange":"blue"),Ic.data.addDataToLastTrial({pid:r.session.get("config").pid,subtask:"practice",corpusId:"practice",correct:r.session("dataCorrect"),trialNumBlock:r.session("indexTracking"),item:r.session("practiceCorpus")[r.session("indexTracking")].sentence,truefalse:r.session("practiceCorpus")[r.session("indexTracking")].answer,story:r.session.get("config").story})}};"false"===r.session("correctRP")?qt.images.falseFlashKeySplit:qt.images.falseStaticKeySplit,"false"===r.session("correctRP")?qt.images.trueStaticKeySplit:qt.images.trueFlashKeySplit;const Tp={type:G,response_allowed_while_playing:()=>r.session.get("config").skipInstructions,stimulus:()=>1===r.session("dataCorrect")?qt.audio[`feedback${r.session("indexTracking")}Correct`]:qt.audio[`feedback${r.session("indexTracking")}Incorrect`],prompt:()=>`\n <div class=${Mt?"":"stimulus_div"}>\n <p id=${Mt?"mobile-stimulus-text":""} class="feedback">\n <span class=${r.session("responseColor")}>${r.session("feedbackResponse")} ${Ue.t(Mt?"practice.feedback.text1Mobile":"practice.feedback.text1",{arrow:"left"===r.session("responseLR")?Ue.t("terms.left"):Ue.t("terms.right"),type:"true"==r.session("answerRP")?Ue.t("terms.true"):Ue.t("terms.false")})}</span>\n <br></br> \n "${r.session("practiceCorpus")[r.session("indexTracking")].sentence}"\n <span class=${r.session("answerColor")}> ${Ue.t(Mt?"practice.feedback.text2Mobile":"practice.feedback.text2",{arrow:"left"===r.session("correctLR")?Ue.t("terms.left"):Ue.t("terms.right"),type:"true"==r.session("correctRP")?Ue.t("terms.true"):Ue.t("terms.false")})}</span>\n </p>\n </div>\n ${Mt?"":`<img class="lower" src= "${"false"===r.session("correctRP")?qt.images.falseFlashKey:qt.images.trueFlashKey}" alt="arrow keys">`}`,keyboard_choices:()=>Mt?"NO_KEYS":"false"===r.session("correctRP")?["ArrowLeft"]:["ArrowRight"],button_choices:()=>Mt?["ArrowLeft","ArrowRight"]:[],button_html:()=>Mt?[`<button class="mobile-practice-feedback ${"false"===r.session("correctRP")?"":"mobile-disable-button"}">\n <img src=${"false"===r.session("correctRP")?qt.images.falseFlashKeySplit:qt.images.falseStaticKeySplit} alt="feedback arrow"/>\n </button>`,`<button class="mobile-practice-feedback ${"false"===r.session("correctRP")?"mobile-disable-button":""}" >\n <img src=${"false"===r.session("correctRP")?qt.images.trueStaticKeySplit:qt.images.trueFlashKeySplit} alt="feedback arrow"/>\n </button>`]:"",prompt_above_buttons:()=>Mt,on_load:()=>{document.querySelectorAll(".jspsych-audio-multi-response-button").forEach(((e,t)=>{const n="false"===r.session("correctRP");0!==t||n?1===t&&n&&e.classList.add("mobile-disable-button"):e.classList.add("mobile-disable-button")}))}};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===n&&i.firstChild?i.insertBefore(a,i.firstChild):i.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}('/* CSS Document */\n.jspsych-display-element {\n font-family: "Source Sans Pro", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";\n width: 60%;\n margin: auto;\n text-align: center;\n /*.jspsych-content {\n \tdisplay: flex;\n \tflex-direction: column;\n \tjustify-content: center;\n \talign-items: center;\n \tposition: fixed;\n \tleft: 0;\n \ttop: 0;\n \twidth: 100%;\n \theight: 100%;\n }\n */\n /* jsPsych progress bar */\n /* Control appearance of jsPsych.data.displayData() */\n /* borrowing Bootstrap style for btn elements, but combining styles a bit */\n}\n.jspsych-display-element .grade-btn {\n padding: 1vh 2vh;\n margin: 1vh;\n margin-top: 4vh;\n font-size: 4vh;\n font-weight: bold;\n cursor: pointer;\n text-align: center;\n vertical-align: middle;\n border: 1vh solid transparent;\n border-radius: 1vh;\n color: rgb(255, 202, 97);\n background-color: rgb(76, 101, 139);\n border-color: rgb(65, 91, 127);\n}\n.jspsych-display-element .mobile-grade-select {\n margin-top: 8rem;\n}\n.jspsych-display-element .mobile-student-select-characters {\n margin-top: 40vh;\n}\n.jspsych-display-element #mobile-classroom-bg {\n position: fixed; /* or absolute, depending on your needs */\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: -1; /* This ensures the image stays behind other content */\n object-fit: cover;\n}\n.jspsych-display-element .mobile-character-select {\n width: 20%;\n}\n.jspsych-display-element .mobile-audio-btn-container {\n display: flex;\n justify-content: center;\n gap: 10%;\n}\n.jspsych-display-element .mobile-stimulus-wrap {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content {\n height: 40%;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content #mobile-stimulus {\n font-size: 4rem;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content #mobile-placeholder-stimulus {\n color: white;\n font-size: 4rem;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content .mobile-stimulus-btn {\n position: relative;\n border: none;\n background: none;\n cursor: pointer;\n padding: 0;\n display: inline-block;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content .mobile-stimulus-btn img {\n display: block;\n width: 100%;\n height: auto;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content .mobile-stimulus-btn span {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: white;\n font-size: 7rem;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content #mobile-stimulus-btn-left {\n margin-right: 4rem;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content #mobile-stimulus-btn-right {\n margin-left: 4rem;\n}\n.jspsych-display-element .mobile-practice-feedback {\n background: none;\n margin-top: 4rem;\n}\n.jspsych-display-element .mobile-disable-button {\n pointer-events: none;\n}\n.jspsych-display-element #mobile-stimulus-text {\n font-size: 1.75rem;\n}\n.jspsych-display-element #sre-background {\n background-color: rgb(250, 246, 236);\n -webkit-background-size: cover;\n -moz-background-size: cover;\n -o-background-size: cover;\n background-size: cover;\n max-height: 100%;\n max-width: 100%;\n padding: 0px;\n margin: 0px;\n}\n.jspsych-display-element #halfway-position {\n top: 15%;\n}\n.jspsych-display-element #end-classroom {\n position: absolute;\n height: 80%;\n left: 0vh;\n bottom: 45vh;\n}\n.jspsych-display-element #end-student {\n position: relative;\n left: 0vh;\n top: 10vh;\n height: 65%;\n}\n.jspsych-display-element .instruction-background {\n display: block;\n background-color: rgb(250, 246, 236);\n padding-top: 0vh;\n min-height: 100%;\n min-width: 100%;\n}\n.jspsych-display-element h1 {\n margin-top: 10%;\n margin-right: 10%;\n margin-left: 10%;\n text-align: center;\n padding-inline: 10px;\n font-weight: semi-bold;\n font-size: 6vh;\n color: rgb(76, 101, 139);\n}\n.jspsych-display-element h2 {\n text-align: center;\n font-style: normal;\n font-weight: regular;\n font-size: 5vh;\n color: rgb(76, 101, 139);\n}\n.jspsych-display-element h3 {\n text-align: center;\n font-style: normal;\n font-weight: regular;\n font-size: 4vh;\n color: rgb(76, 101, 139);\n z-index: 1;\n}\n.jspsych-display-element p:not(.feedback, .stimulus) {\n text-align: center;\n vertical-align: middle;\n font-style: normal;\n font-weight: normal;\n font-size: 3vh;\n color: rgb(0, 0, 0);\n z-index: 1;\n}\n.jspsych-display-element n {\n text-align: center;\n vertical-align: middle;\n font-style: normal;\n font-weight: bold;\n font-size: 3vh;\n color: rgb(255, 202, 97);\n z-index: 1;\n}\n.jspsych-display-element .consent_form_title {\n margin-right: 10%;\n margin-left: 10%;\n font-size: 3vh;\n}\n.jspsych-display-element .consent_form_text {\n margin: 10%;\n text-align: left;\n font-size: 2vh;\n}\n.jspsych-display-element .survey_form_text {\n text-align: center;\n font-size: 3vh;\n}\n.jspsych-display-element .consent_form_agree {\n margin: 5%;\n text-align: left;\n font-size: 2vh;\n}\n.jspsych-display-element .debrief_text {\n margin: 20%;\n text-align: left;\n font-size: 2vh;\n}\n.jspsych-display-element .jspsych-survey-multi-select-option {\n font-size: 2vh;\n text-align: center;\n}\n.jspsych-display-element .stimulus {\n text-align: center;\n vertical-align: middle;\n font-style: normal;\n font-weight: normal;\n font-size: 4vh;\n line-height: 4vh;\n color: rgb(0, 0, 0);\n}\n.jspsych-display-element .full_screen {\n text-align: center;\n font-style: normal;\n font-weight: normal;\n font-size: 32px;\n line-height: 32px;\n padding-top: 300px;\n color: rgb(0, 0, 0);\n}\n.jspsych-display-element .feedback {\n text-align: center;\n font-style: normal;\n font-weight: bold;\n font-size: 3vh;\n line-height: 3vh;\n color: rgb(0, 0, 0);\n}\n.jspsych-display-element .jspsych-content-modified {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n position: fixed;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n}\n.jspsych-display-element .jspsych-content-modified .class-container {\n width: 100%;\n position: absolute;\n margin: auto;\n display: block;\n}\n.jspsych-display-element .jspsych-content-modified .class-container #classroom-bg {\n position: fixed; /* or absolute, depending on your needs */\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: -1; /* This ensures the image stays behind other content */\n object-fit: cover;\n}\n.jspsych-display-element .text-block {\n position: relative;\n bottom: 15px;\n top: 15px;\n background-color: rgb(246, 241, 230);\n padding-left: 25px;\n padding-right: 25px;\n padding-top: 15px;\n padding-bottom: 15px;\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n}\n.jspsych-display-element .demo-text-block {\n position: relative;\n bottom: 25px;\n top: 15px;\n background-color: rgb(246, 241, 230);\n padding-left: 85px;\n padding-right: 85px;\n padding-top: 60px;\n padding-bottom: 60px;\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n}\n.jspsych-display-element .grade-text-block {\n position: relative;\n bottom: 0px;\n top: 0px;\n left: 0px;\n right: 0px;\n background-color: rgb(246, 241, 230);\n padding-left: 0px;\n padding-right: 0px;\n padding-top: 50px;\n padding-bottom: 90px;\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n}\n.jspsych-display-element .select-text-block {\n position: relative;\n bottom: 15px;\n top: 30px;\n background-color: rgb(246, 241, 230);\n padding-left: 20px;\n padding-right: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n}\n.jspsych-display-element .student-text-block {\n position: relative;\n margin-top: 10vh;\n margin-left: 5vh;\n margin-right: 5vh;\n height: 50vh;\n background-color: rgb(255, 255, 255);\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n}\n.jspsych-display-element .halfway-text-block {\n position: relative;\n margin-top: 20vh;\n margin-left: 5vh;\n margin-right: 5vh;\n margin-bottom: 10vh;\n height: 30vh;\n background-color: rgb(255, 255, 255);\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n}\n.jspsych-display-element .number-block {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n height: 5vh;\n width: 6vh;\n padding-left: 3vh;\n padding-right: 3vh;\n text-align: center;\n vertical-align: middle;\n background-color: rgb(76, 101, 139);\n border: 6px solid rgb(65, 91, 127);\n border-radius: 10px;\n align-self: center;\n}\n.jspsych-display-element .container {\n width: 100%;\n position: fixed;\n display: block;\n}\n.jspsych-display-element .transparent {\n background: rgba(255, 255, 255, 0);\n border-color: rgba(255, 255, 255, 0);\n}\n.jspsych-display-element .center {\n margin: 0;\n position: absolute;\n top: 50%;\n left: 50%;\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}\n.jspsych-display-element .star-center {\n margin: 0;\n position: absolute;\n top: 45%;\n left: 51%;\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}\n.jspsych-display-element .vertical-center {\n margin: 0;\n position: absolute;\n top: 50%;\n -ms-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n.jspsych-display-element .jspsych-video-button-response-stimulus {\n margin: 0;\n position: absolute;\n top: 45%;\n height: 90%;\n -ms-transform: translateY(-45%);\n transform: translateY(-45%);\n}\n.jspsych-display-element .stimulus_div {\n display: flex;\n justify-content: center;\n align-items: center;\n position: fixed;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n}\n.jspsych-display-element .text_div {\n display: flex;\n justify-content: center;\n align-items: center;\n position: fixed;\n left: 0;\n top: 0;\n width: 100%;\n height: 60%;\n}\n.jspsych-display-element .center {\n vertical-align: middle;\n text-align: center;\n}\n.jspsych-display-element .upper {\n position: fixed;\n top: 0%;\n left: 50%;\n transform: translate(-50%, -50%);\n height: 2vh;\n}\n.jspsych-display-element .middle {\n position: relative;\n text-align: left;\n padding-right: 2vh;\n padding-left: 2vh;\n top: 23%;\n}\n.jspsych-display-element .lower {\n position: fixed;\n bottom: 20%;\n left: 50%;\n transform: translate(-50%, -50%);\n height: 7vh;\n}\n.jspsych-display-element .orange {\n color: rgb(219, 97, 69);\n}\n.jspsych-display-element .blue {\n color: rgb(66, 152, 181);\n}\n.jspsych-display-element .yellow {\n color: rgb(255, 202, 97);\n}\n.jspsych-display-element .row {\n display: flex;\n}\n.jspsych-display-element .column_1 {\n padding: 0 0 10vh 0;\n flex: 30%;\n}\n.jspsych-display-element .column_2_upper {\n margin-top: 2%;\n margin-bottom: 2%;\n padding: 3vh 2vh 3vh 2vh;\n flex: 50%;\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n margin-right: 5%;\n margin-left: 5%;\n}\n.jspsych-display-element .column_2_lower {\n padding: 0 2vh 3vh 2vh;\n flex: 50%;\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n margin-right: 5%;\n margin-left: 5%;\n}\n.jspsych-display-element .column_3 {\n padding: 0 0 0 0;\n flex: 70%;\n margin-right: 10%;\n vertical-align: middle;\n}\n.jspsych-display-element .button {\n left: 0;\n right: 0;\n background-color: rgb(76, 101, 139);\n text-align: center;\n vertical-align: middle;\n padding: 2vh;\n font-style: normal;\n font-weight: bold;\n font-size: 3vh;\n color: white;\n position: fixed;\n display: block;\n bottom: 0;\n border: none;\n z-index: 1;\n}\n.jspsych-display-element .story-scene {\n width: 100%;\n position: fixed;\n display: block;\n bottom: 5vh;\n}\n.jspsych-display-element .scene {\n position: fixed;\n bottom: 5vh;\n width: 100%;\n display: block;\n}\n.jspsych-display-element .characterleft {\n text-align: center;\n vertical-align: middle;\n position: relative;\n top: 10%;\n height: 70vh;\n}\n.jspsych-display-element .student {\n position: relative;\n display: inline-flex;\n flex-direction: row;\n height: 50%;\n width: 50%;\n bottom: 10vh;\n right: 0vh;\n justify-content: center;\n gap: 50px;\n}\n.jspsych-display-element .number {\n position: relative;\n display: inline-flex;\n flex-direction: row;\n height: 50%;\n width: 50%;\n bottom: -10vh;\n left: 1vh;\n justify-content: center;\n gap: 200px;\n}\n.jspsych-display-element .imageleft {\n text-align: center;\n position: relative;\n top: 50%;\n height: 30vh;\n}\n.jspsych-display-element #jspsych-progressbar-container {\n color: #555;\n border-bottom: 1px solid #dedede;\n background-color: #f9f9f9;\n margin-bottom: 1em;\n text-align: center;\n padding: 8px 0px;\n width: 100%;\n line-height: 1em;\n}\n.jspsych-display-element #jspsych-progressbar-container span {\n font-size: 14px;\n padding-right: 14px;\n}\n.jspsych-display-element #jspsych-progressbar-outer {\n background-color: #eee;\n width: 50%;\n margin: auto;\n height: 14px;\n display: inline-block;\n vertical-align: middle;\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n}\n.jspsych-display-element #jspsych-progressbar-inner {\n background-color: #aaa;\n width: 0%;\n height: 100%;\n}\n.jspsych-display-element #jspsych-data-display {\n text-align: left;\n}\n.jspsych-display-element .jspsych-btn {\n display: inline-block;\n padding: 1vh 2vh;\n margin: 1vh;\n font-size: 4vh;\n font-weight: bold;\n cursor: pointer;\n line-height: 1.4;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n background-image: none;\n border: 1vh solid transparent;\n border-radius: 1vh;\n color: rgb(255, 202, 97);\n background-color: rgb(76, 101, 139);\n border-color: rgb(65, 91, 127);\n}\n.jspsych-display-element .mep-stimulus {\n display: inline-block;\n width: 1.65vw;\n height: 1.65vw;\n margin: 0.13vw;\n padding: 0px 0px 0.825vw 0px;\n background: white;\n border-style: solid;\n border-width: 0px 0px 8px 0px;\n border-color: rgba(255, 255, 255, 0);\n}\n.jspsych-display-element .bottom-border-blue {\n border-bottom-color: blue !important;\n}\n.jspsych-display-element #jspsych-html-button-response-stimulus {\n margin-bottom: 25vw;\n}\n.jspsych-display-element #fixation-prompt {\n margin-bottom: 0.825%;\n}\n.jspsych-display-element .jspsych-html-button-response-button {\n display: inline-block;\n width: 4vw;\n height: 4vw;\n margin: 0.75vw;\n}\n.jspsych-display-element #jspsych-fullscreen-btn {\n position: sticky;\n bottom: 20%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: rgb(255, 255, 255);\n background-color: rgb(76, 101, 139);\n border-color: darkgrey;\n display: inline-block;\n padding: 1vh 2vh;\n margin: 16vh 1vh 1vh 1vh;\n font-size: 4vh;\n font-weight: bold;\n cursor: pointer;\n line-height: 1.4;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n background-image: none;\n border: 1vh solid transparent;\n border-radius: 1vh;\n}\n.jspsych-display-element .jspsych-survey-html-form {\n position: fixed;\n bottom: 20%;\n left: 50%;\n transform: translate(-50%, -50%);\n}');class Ip{constructor(e,t,n,i){this.gameParams=t,this.userParams=n,this.firekit=e,this.displayElement=i}async init(){await this.firekit.startRun();const e=await(async(e,t,n,i)=>{const a=mc(mc({...t,...n},hc),Tc),{userMode:s,assessmentPid:r,labId:o,recruitment:c,userMetadata:l,urlParams:u,consent:p,storyOption:d,language:m,skipInstructions:h,grade:f,birthMonth:g,birthYear:v,age:y,ageMonths:b}=a,x=Ct(g,v,y,b),w={pid:r,labId:o,userMode:s||"default",recruitment:c||"pilot",storyOption:d,story:cp(d,f),userMetadata:{...l,grade:f,...x},startTime:new Date,urlParams:u,firekit:e,language:m,skipInstructions:h??!0,consent:p??!0,displayElement:i||null},_=Object.fromEntries(Object.entries(t).map((([e,t])=>[e,w[e]??t])));return await w.firekit.updateTaskParams(_),null!==w.pid&&await w.firekit.updateUser({assessmentPid:w.pid,...l}),w})(this.firekit,this.gameParams,this.userParams,this.displayElement);return r.session.set("config",e),function(e){lp(e);const t=up(e),n=[$t,...t.timeline];return(()=>{const e={timeline:[kp,Tp],repetitions:4};n.push(mp),n.push(_p),n.push(Sp),n.push(e),n.push(hp),n.push(Ep("lab")),n.push(vp),n.push(Ep("ai")),n.push(yp)})(),{jsPsych:Ic,timeline:n}}(e)}async run(){const{jsPsych:e,timeline:t}=await this.init();e.run(t),await(e=>{const t=n=>{e()?n():setTimeout((e=>t(n)),400)};return new Promise(t)})((()=>!0===this.firekit.run.completed))}}export{Ip as default};
|
|
25
|
+
*/!function(e,t){(function(){var i,a="Expected a function",s="__lodash_hash_undefined__",r="__lodash_placeholder__",o=16,c=32,l=64,u=128,p=256,d=1/0,m=9007199254740991,h=NaN,f=4294967295,g=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",o],["flip",512],["partial",c],["partialRight",l],["rearg",p]],v="[object Arguments]",y="[object Array]",b="[object Boolean]",x="[object Date]",w="[object Error]",_="[object Function]",E="[object GeneratorFunction]",S="[object Map]",k="[object Number]",T="[object Object]",I="[object Promise]",R="[object RegExp]",A="[object Set]",j="[object String]",O="[object Symbol]",C="[object WeakMap]",L="[object ArrayBuffer]",F="[object DataView]",U="[object Float32Array]",P="[object Float64Array]",z="[object Int8Array]",M="[object Int16Array]",N="[object Int32Array]",q="[object Uint8Array]",$="[object Uint8ClampedArray]",D="[object Uint16Array]",B="[object Uint32Array]",Y=/\b__p \+= '';/g,K=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,V=/&(?:amp|lt|gt|quot|#39);/g,H=/[&<>"']/g,G=RegExp(V.source),J=RegExp(H.source),Q=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,X=/<%=([\s\S]+?)%>/g,ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,te=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,ae=RegExp(ie.source),se=/^\s+/,re=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,me=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,ye=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,we=/($^)/,_e=/['\n\r\u2028\u2029\\]/g,Ee="\\ud800-\\udfff",Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ke="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",Ie="A-Z\\xc0-\\xd6\\xd8-\\xde",Re="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",je="['’]",Oe="["+Ee+"]",Ce="["+Ae+"]",Le="["+Se+"]",Fe="\\d+",Ue="["+ke+"]",Pe="["+Te+"]",ze="[^"+Ee+Ae+Fe+ke+Te+Ie+"]",Me="\\ud83c[\\udffb-\\udfff]",Ne="[^"+Ee+"]",qe="(?:\\ud83c[\\udde6-\\uddff]){2}",$e="[\\ud800-\\udbff][\\udc00-\\udfff]",De="["+Ie+"]",Be="\\u200d",Ye="(?:"+Pe+"|"+ze+")",Ke="(?:"+De+"|"+ze+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",Ve="(?:['’](?:D|LL|M|RE|S|T|VE))?",He="(?:"+Le+"|"+Me+")"+"?",Ge="["+Re+"]?",Je=Ge+He+("(?:"+Be+"(?:"+[Ne,qe,$e].join("|")+")"+Ge+He+")*"),Qe="(?:"+[Ue,qe,$e].join("|")+")"+Je,Ze="(?:"+[Ne+Le+"?",Le,qe,$e,Oe].join("|")+")",Xe=RegExp(je,"g"),et=RegExp(Le,"g"),tt=RegExp(Me+"(?="+Me+")|"+Ze+Je,"g"),nt=RegExp([De+"?"+Pe+"+"+We+"(?="+[Ce,De,"$"].join("|")+")",Ke+"+"+Ve+"(?="+[Ce,De+Ye,"$"].join("|")+")",De+"?"+Ye+"+"+We,De+"+"+Ve,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fe,Qe].join("|"),"g"),it=RegExp("["+Be+Ee+Se+Re+"]"),at=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,st=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,ot={};ot[U]=ot[P]=ot[z]=ot[M]=ot[N]=ot[q]=ot[$]=ot[D]=ot[B]=!0,ot[v]=ot[y]=ot[L]=ot[b]=ot[F]=ot[x]=ot[w]=ot[_]=ot[S]=ot[k]=ot[T]=ot[R]=ot[A]=ot[j]=ot[C]=!1;var ct={};ct[v]=ct[y]=ct[L]=ct[F]=ct[b]=ct[x]=ct[U]=ct[P]=ct[z]=ct[M]=ct[N]=ct[S]=ct[k]=ct[T]=ct[R]=ct[A]=ct[j]=ct[O]=ct[q]=ct[$]=ct[D]=ct[B]=!0,ct[w]=ct[_]=ct[C]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,pt=parseInt,dt="object"==typeof n&&n&&n.Object===Object&&n,mt="object"==typeof self&&self&&self.Object===Object&&self,ht=dt||mt||Function("return this")(),ft=t&&!t.nodeType&&t,gt=ft&&e&&!e.nodeType&&e,vt=gt&>.exports===ft,yt=vt&&dt.process,bt=function(){try{var e=gt&>.require&>.require("util").types;return e||yt&&yt.binding&&yt.binding("util")}catch(e){}}(),xt=bt&&bt.isArrayBuffer,wt=bt&&bt.isDate,_t=bt&&bt.isMap,Et=bt&&bt.isRegExp,St=bt&&bt.isSet,kt=bt&&bt.isTypedArray;function Tt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function It(e,t,n,i){for(var a=-1,s=null==e?0:e.length;++a<s;){var r=e[a];t(i,r,n(r),e)}return i}function Rt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function At(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function jt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(!t(e[n],n,e))return!1;return!0}function Ot(e,t){for(var n=-1,i=null==e?0:e.length,a=0,s=[];++n<i;){var r=e[n];t(r,n,e)&&(s[a++]=r)}return s}function Ct(e,t){return!!(null==e?0:e.length)&&Dt(e,t,0)>-1}function Lt(e,t,n){for(var i=-1,a=null==e?0:e.length;++i<a;)if(n(t,e[i]))return!0;return!1}function Ft(e,t){for(var n=-1,i=null==e?0:e.length,a=Array(i);++n<i;)a[n]=t(e[n],n,e);return a}function Ut(e,t){for(var n=-1,i=t.length,a=e.length;++n<i;)e[a+n]=t[n];return e}function Pt(e,t,n,i){var a=-1,s=null==e?0:e.length;for(i&&s&&(n=e[++a]);++a<s;)n=t(n,e[a],a,e);return n}function zt(e,t,n,i){var a=null==e?0:e.length;for(i&&a&&(n=e[--a]);a--;)n=t(n,e[a],a,e);return n}function Mt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var Nt=Wt("length");function qt(e,t,n){var i;return n(e,(function(e,n,a){if(t(e,n,a))return i=n,!1})),i}function $t(e,t,n,i){for(var a=e.length,s=n+(i?1:-1);i?s--:++s<a;)if(t(e[s],s,e))return s;return-1}function Dt(e,t,n){return t==t?function(e,t,n){var i=n-1,a=e.length;for(;++i<a;)if(e[i]===t)return i;return-1}(e,t,n):$t(e,Yt,n)}function Bt(e,t,n,i){for(var a=n-1,s=e.length;++a<s;)if(i(e[a],t))return a;return-1}function Yt(e){return e!=e}function Kt(e,t){var n=null==e?0:e.length;return n?Gt(e,t)/n:h}function Wt(e){return function(t){return null==t?i:t[e]}}function Vt(e){return function(t){return null==e?i:e[t]}}function Ht(e,t,n,i,a){return a(e,(function(e,a,s){n=i?(i=!1,e):t(n,e,a,s)})),n}function Gt(e,t){for(var n,a=-1,s=e.length;++a<s;){var r=t(e[a]);r!==i&&(n=n===i?r:n+r)}return n}function Jt(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function Qt(e){return e?e.slice(0,fn(e)+1).replace(se,""):e}function Zt(e){return function(t){return e(t)}}function Xt(e,t){return Ft(t,(function(t){return e[t]}))}function en(e,t){return e.has(t)}function tn(e,t){for(var n=-1,i=e.length;++n<i&&Dt(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length;n--&&Dt(t,e[n],0)>-1;);return n}var an=Vt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),sn=Vt({"&":"&","<":"<",">":">",'"':""","'":"'"});function rn(e){return"\\"+lt[e]}function on(e){return it.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function un(e,t){for(var n=-1,i=e.length,a=0,s=[];++n<i;){var o=e[n];o!==t&&o!==r||(e[n]=r,s[a++]=n)}return s}function pn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function mn(e){return on(e)?function(e){var t=tt.lastIndex=0;for(;tt.test(e);)++t;return t}(e):Nt(e)}function hn(e){return on(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.split("")}(e)}function fn(e){for(var t=e.length;t--&&re.test(e.charAt(t)););return t}var gn=Vt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var vn=function e(t){var n=(t=null==t?ht:vn.defaults(ht.Object(),t,vn.pick(ht,st))).Array,re=t.Date,Ee=t.Error,Se=t.Function,ke=t.Math,Te=t.Object,Ie=t.RegExp,Re=t.String,Ae=t.TypeError,je=n.prototype,Oe=Se.prototype,Ce=Te.prototype,Le=t["__core-js_shared__"],Fe=Oe.toString,Ue=Ce.hasOwnProperty,Pe=0,ze=function(){var e=/[^.]+$/.exec(Le&&Le.keys&&Le.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Me=Ce.toString,Ne=Fe.call(Te),qe=ht._,$e=Ie("^"+Fe.call(Ue).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),De=vt?t.Buffer:i,Be=t.Symbol,Ye=t.Uint8Array,Ke=De?De.allocUnsafe:i,We=ln(Te.getPrototypeOf,Te),Ve=Te.create,He=Ce.propertyIsEnumerable,Ge=je.splice,Je=Be?Be.isConcatSpreadable:i,Qe=Be?Be.iterator:i,Ze=Be?Be.toStringTag:i,tt=function(){try{var e=ps(Te,"defineProperty");return e({},"",{}),e}catch(e){}}(),it=t.clearTimeout!==ht.clearTimeout&&t.clearTimeout,lt=re&&re.now!==ht.Date.now&&re.now,dt=t.setTimeout!==ht.setTimeout&&t.setTimeout,mt=ke.ceil,ft=ke.floor,gt=Te.getOwnPropertySymbols,yt=De?De.isBuffer:i,bt=t.isFinite,Nt=je.join,Vt=ln(Te.keys,Te),yn=ke.max,bn=ke.min,xn=re.now,wn=t.parseInt,_n=ke.random,En=je.reverse,Sn=ps(t,"DataView"),kn=ps(t,"Map"),Tn=ps(t,"Promise"),In=ps(t,"Set"),Rn=ps(t,"WeakMap"),An=ps(Te,"create"),jn=Rn&&new Rn,On={},Cn=zs(Sn),Ln=zs(kn),Fn=zs(Tn),Un=zs(In),Pn=zs(Rn),zn=Be?Be.prototype:i,Mn=zn?zn.valueOf:i,Nn=zn?zn.toString:i;function qn(e){if(eo(e)&&!Br(e)&&!(e instanceof Yn)){if(e instanceof Bn)return e;if(Ue.call(e,"__wrapped__"))return Ms(e)}return new Bn(e)}var $n=function(){function e(){}return function(t){if(!Xr(t))return{};if(Ve)return Ve(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Dn(){}function Bn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Yn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Vn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Vn;++t<n;)this.add(e[t])}function Gn(e){var t=this.__data__=new Wn(e);this.size=t.size}function Jn(e,t){var n=Br(e),i=!n&&Dr(e),a=!n&&!i&&Vr(e),s=!n&&!i&&!a&&co(e),r=n||i||a||s,o=r?Jt(e.length,Re):[],c=o.length;for(var l in e)!t&&!Ue.call(e,l)||r&&("length"==l||a&&("offset"==l||"parent"==l)||s&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ys(l,c))||o.push(l);return o}function Qn(e){var t=e.length;return t?e[Hi(0,t-1)]:i}function Zn(e,t){return Fs(Aa(e),oi(t,0,e.length))}function Xn(e){return Fs(Aa(e))}function ei(e,t,n){(n!==i&&!Nr(e[t],n)||n===i&&!(t in e))&&si(e,t,n)}function ti(e,t,n){var a=e[t];Ue.call(e,t)&&Nr(a,n)&&(n!==i||t in e)||si(e,t,n)}function ni(e,t){for(var n=e.length;n--;)if(Nr(e[n][0],t))return n;return-1}function ii(e,t,n,i){return di(e,(function(e,a,s){t(i,e,n(e),s)})),i}function ai(e,t){return e&&ja(t,Oo(t),e)}function si(e,t,n){"__proto__"==t&&tt?tt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ri(e,t){for(var a=-1,s=t.length,r=n(s),o=null==e;++a<s;)r[a]=o?i:To(e,t[a]);return r}function oi(e,t,n){return e==e&&(n!==i&&(e=e<=n?e:n),t!==i&&(e=e>=t?e:t)),e}function ci(e,t,n,a,s,r){var o,c=1&t,l=2&t,u=4&t;if(n&&(o=s?n(e,a,s,r):n(e)),o!==i)return o;if(!Xr(e))return e;var p=Br(e);if(p){if(o=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Ue.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return Aa(e,o)}else{var d=hs(e),m=d==_||d==E;if(Vr(e))return Ea(e,c);if(d==T||d==v||m&&!s){if(o=l||m?{}:gs(e),!c)return l?function(e,t){return ja(e,ms(e),t)}(e,function(e,t){return e&&ja(t,Co(t),e)}(o,e)):function(e,t){return ja(e,ds(e),t)}(e,ai(o,e))}else{if(!ct[d])return s?e:{};o=function(e,t,n){var i=e.constructor;switch(t){case L:return Sa(e);case b:case x:return new i(+e);case F:return function(e,t){var n=t?Sa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case U:case P:case z:case M:case N:case q:case $:case D:case B:return ka(e,n);case S:return new i;case k:case j:return new i(e);case R:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new i;case O:return a=e,Mn?Te(Mn.call(a)):{}}var a}(e,d,c)}}r||(r=new Gn);var h=r.get(e);if(h)return h;r.set(e,o),so(e)?e.forEach((function(i){o.add(ci(i,t,n,i,e,r))})):to(e)&&e.forEach((function(i,a){o.set(a,ci(i,t,n,a,e,r))}));var f=p?i:(u?l?as:is:l?Co:Oo)(e);return Rt(f||e,(function(i,a){f&&(i=e[a=i]),ti(o,a,ci(i,t,n,a,e,r))})),o}function li(e,t,n){var a=n.length;if(null==e)return!a;for(e=Te(e);a--;){var s=n[a],r=t[s],o=e[s];if(o===i&&!(s in e)||!r(o))return!1}return!0}function ui(e,t,n){if("function"!=typeof e)throw new Ae(a);return js((function(){e.apply(i,n)}),t)}function pi(e,t,n,i){var a=-1,s=Ct,r=!0,o=e.length,c=[],l=t.length;if(!o)return c;n&&(t=Ft(t,Zt(n))),i?(s=Lt,r=!1):t.length>=200&&(s=en,r=!1,t=new Hn(t));e:for(;++a<o;){var u=e[a],p=null==n?u:n(u);if(u=i||0!==u?u:0,r&&p==p){for(var d=l;d--;)if(t[d]===p)continue e;c.push(u)}else s(t,p,i)||c.push(u)}return c}qn.templateSettings={escape:Q,evaluate:Z,interpolate:X,variable:"",imports:{_:qn}},qn.prototype=Dn.prototype,qn.prototype.constructor=qn,Bn.prototype=$n(Dn.prototype),Bn.prototype.constructor=Bn,Yn.prototype=$n(Dn.prototype),Yn.prototype.constructor=Yn,Kn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Kn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Kn.prototype.get=function(e){var t=this.__data__;if(An){var n=t[e];return n===s?i:n}return Ue.call(t,e)?t[e]:i},Kn.prototype.has=function(e){var t=this.__data__;return An?t[e]!==i:Ue.call(t,e)},Kn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=An&&t===i?s:t,this},Wn.prototype.clear=function(){this.__data__=[],this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=ni(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ge.call(t,n,1),--this.size,!0)},Wn.prototype.get=function(e){var t=this.__data__,n=ni(t,e);return n<0?i:t[n][1]},Wn.prototype.has=function(e){return ni(this.__data__,e)>-1},Wn.prototype.set=function(e,t){var n=this.__data__,i=ni(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},Vn.prototype.clear=function(){this.size=0,this.__data__={hash:new Kn,map:new(kn||Wn),string:new Kn}},Vn.prototype.delete=function(e){var t=ls(this,e).delete(e);return this.size-=t?1:0,t},Vn.prototype.get=function(e){return ls(this,e).get(e)},Vn.prototype.has=function(e){return ls(this,e).has(e)},Vn.prototype.set=function(e,t){var n=ls(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},Hn.prototype.add=Hn.prototype.push=function(e){return this.__data__.set(e,s),this},Hn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.clear=function(){this.__data__=new Wn,this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Gn.prototype.get=function(e){return this.__data__.get(e)},Gn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Wn){var i=n.__data__;if(!kn||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Vn(i)}return n.set(e,t),this.size=n.size,this};var di=La(xi),mi=La(wi,!0);function hi(e,t){var n=!0;return di(e,(function(e,i,a){return n=!!t(e,i,a)})),n}function fi(e,t,n){for(var a=-1,s=e.length;++a<s;){var r=e[a],o=t(r);if(null!=o&&(c===i?o==o&&!oo(o):n(o,c)))var c=o,l=r}return l}function gi(e,t){var n=[];return di(e,(function(e,i,a){t(e,i,a)&&n.push(e)})),n}function vi(e,t,n,i,a){var s=-1,r=e.length;for(n||(n=vs),a||(a=[]);++s<r;){var o=e[s];t>0&&n(o)?t>1?vi(o,t-1,n,i,a):Ut(a,o):i||(a[a.length]=o)}return a}var yi=Fa(),bi=Fa(!0);function xi(e,t){return e&&yi(e,t,Oo)}function wi(e,t){return e&&bi(e,t,Oo)}function _i(e,t){return Ot(t,(function(t){return Jr(e[t])}))}function Ei(e,t){for(var n=0,a=(t=ba(t,e)).length;null!=e&&n<a;)e=e[Ps(t[n++])];return n&&n==a?e:i}function Si(e,t,n){var i=t(e);return Br(e)?i:Ut(i,n(e))}function ki(e){return null==e?e===i?"[object Undefined]":"[object Null]":Ze&&Ze in Te(e)?function(e){var t=Ue.call(e,Ze),n=e[Ze];try{e[Ze]=i;var a=!0}catch(e){}var s=Me.call(e);a&&(t?e[Ze]=n:delete e[Ze]);return s}(e):function(e){return Me.call(e)}(e)}function Ti(e,t){return e>t}function Ii(e,t){return null!=e&&Ue.call(e,t)}function Ri(e,t){return null!=e&&t in Te(e)}function Ai(e,t,a){for(var s=a?Lt:Ct,r=e[0].length,o=e.length,c=o,l=n(o),u=1/0,p=[];c--;){var d=e[c];c&&t&&(d=Ft(d,Zt(t))),u=bn(d.length,u),l[c]=!a&&(t||r>=120&&d.length>=120)?new Hn(c&&d):i}d=e[0];var m=-1,h=l[0];e:for(;++m<r&&p.length<u;){var f=d[m],g=t?t(f):f;if(f=a||0!==f?f:0,!(h?en(h,g):s(p,g,a))){for(c=o;--c;){var v=l[c];if(!(v?en(v,g):s(e[c],g,a)))continue e}h&&h.push(g),p.push(f)}}return p}function ji(e,t,n){var a=null==(e=Is(e,t=ba(t,e)))?e:e[Ps(Gs(t))];return null==a?i:Tt(a,e,n)}function Oi(e){return eo(e)&&ki(e)==v}function Ci(e,t,n,a,s){return e===t||(null==e||null==t||!eo(e)&&!eo(t)?e!=e&&t!=t:function(e,t,n,a,s,r){var o=Br(e),c=Br(t),l=o?y:hs(e),u=c?y:hs(t),p=(l=l==v?T:l)==T,d=(u=u==v?T:u)==T,m=l==u;if(m&&Vr(e)){if(!Vr(t))return!1;o=!0,p=!1}if(m&&!p)return r||(r=new Gn),o||co(e)?ts(e,t,n,a,s,r):function(e,t,n,i,a,s,r){switch(n){case F:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case L:return!(e.byteLength!=t.byteLength||!s(new Ye(e),new Ye(t)));case b:case x:case k:return Nr(+e,+t);case w:return e.name==t.name&&e.message==t.message;case R:case j:return e==t+"";case S:var o=cn;case A:var c=1&i;if(o||(o=pn),e.size!=t.size&&!c)return!1;var l=r.get(e);if(l)return l==t;i|=2,r.set(e,t);var u=ts(o(e),o(t),i,a,s,r);return r.delete(e),u;case O:if(Mn)return Mn.call(e)==Mn.call(t)}return!1}(e,t,l,n,a,s,r);if(!(1&n)){var h=p&&Ue.call(e,"__wrapped__"),f=d&&Ue.call(t,"__wrapped__");if(h||f){var g=h?e.value():e,_=f?t.value():t;return r||(r=new Gn),s(g,_,n,a,r)}}if(!m)return!1;return r||(r=new Gn),function(e,t,n,a,s,r){var o=1&n,c=is(e),l=c.length,u=is(t),p=u.length;if(l!=p&&!o)return!1;var d=l;for(;d--;){var m=c[d];if(!(o?m in t:Ue.call(t,m)))return!1}var h=r.get(e),f=r.get(t);if(h&&f)return h==t&&f==e;var g=!0;r.set(e,t),r.set(t,e);var v=o;for(;++d<l;){var y=e[m=c[d]],b=t[m];if(a)var x=o?a(b,y,m,t,e,r):a(y,b,m,e,t,r);if(!(x===i?y===b||s(y,b,n,a,r):x)){g=!1;break}v||(v="constructor"==m)}if(g&&!v){var w=e.constructor,_=t.constructor;w==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _||(g=!1)}return r.delete(e),r.delete(t),g}(e,t,n,a,s,r)}(e,t,n,a,Ci,s))}function Li(e,t,n,a){var s=n.length,r=s,o=!a;if(null==e)return!r;for(e=Te(e);s--;){var c=n[s];if(o&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++s<r;){var l=(c=n[s])[0],u=e[l],p=c[1];if(o&&c[2]){if(u===i&&!(l in e))return!1}else{var d=new Gn;if(a)var m=a(u,p,l,e,t,d);if(!(m===i?Ci(p,u,3,a,d):m))return!1}}return!0}function Fi(e){return!(!Xr(e)||(t=e,ze&&ze in t))&&(Jr(e)?$e:ve).test(zs(e));var t}function Ui(e){return"function"==typeof e?e:null==e?ic:"object"==typeof e?Br(e)?$i(e[0],e[1]):qi(e):dc(e)}function Pi(e){if(!Es(e))return Vt(e);var t=[];for(var n in Te(e))Ue.call(e,n)&&"constructor"!=n&&t.push(n);return t}function zi(e){if(!Xr(e))return function(e){var t=[];if(null!=e)for(var n in Te(e))t.push(n);return t}(e);var t=Es(e),n=[];for(var i in e)("constructor"!=i||!t&&Ue.call(e,i))&&n.push(i);return n}function Mi(e,t){return e<t}function Ni(e,t){var i=-1,a=Kr(e)?n(e.length):[];return di(e,(function(e,n,s){a[++i]=t(e,n,s)})),a}function qi(e){var t=us(e);return 1==t.length&&t[0][2]?ks(t[0][0],t[0][1]):function(n){return n===e||Li(n,e,t)}}function $i(e,t){return xs(e)&&Ss(t)?ks(Ps(e),t):function(n){var a=To(n,e);return a===i&&a===t?Io(n,e):Ci(t,a,3)}}function Di(e,t,n,a,s){e!==t&&yi(t,(function(r,o){if(s||(s=new Gn),Xr(r))!function(e,t,n,a,s,r,o){var c=Rs(e,n),l=Rs(t,n),u=o.get(l);if(u)return void ei(e,n,u);var p=r?r(c,l,n+"",e,t,o):i,d=p===i;if(d){var m=Br(l),h=!m&&Vr(l),f=!m&&!h&&co(l);p=l,m||h||f?Br(c)?p=c:Wr(c)?p=Aa(c):h?(d=!1,p=Ea(l,!0)):f?(d=!1,p=ka(l,!0)):p=[]:io(l)||Dr(l)?(p=c,Dr(c)?p=vo(c):Xr(c)&&!Jr(c)||(p=gs(l))):d=!1}d&&(o.set(l,p),s(p,l,a,r,o),o.delete(l));ei(e,n,p)}(e,t,o,n,Di,a,s);else{var c=a?a(Rs(e,o),r,o+"",e,t,s):i;c===i&&(c=r),ei(e,o,c)}}),Co)}function Bi(e,t){var n=e.length;if(n)return ys(t+=t<0?n:0,n)?e[t]:i}function Yi(e,t,n){t=t.length?Ft(t,(function(e){return Br(e)?function(t){return Ei(t,1===e.length?e[0]:e)}:e})):[ic];var i=-1;t=Ft(t,Zt(cs()));var a=Ni(e,(function(e,n,a){var s=Ft(t,(function(t){return t(e)}));return{criteria:s,index:++i,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(a,(function(e,t){return function(e,t,n){var i=-1,a=e.criteria,s=t.criteria,r=a.length,o=n.length;for(;++i<r;){var c=Ta(a[i],s[i]);if(c)return i>=o?c:c*("desc"==n[i]?-1:1)}return e.index-t.index}(e,t,n)}))}function Ki(e,t,n){for(var i=-1,a=t.length,s={};++i<a;){var r=t[i],o=Ei(e,r);n(o,r)&&Xi(s,ba(r,e),o)}return s}function Wi(e,t,n,i){var a=i?Bt:Dt,s=-1,r=t.length,o=e;for(e===t&&(t=Aa(t)),n&&(o=Ft(e,Zt(n)));++s<r;)for(var c=0,l=t[s],u=n?n(l):l;(c=a(o,u,c,i))>-1;)o!==e&&Ge.call(o,c,1),Ge.call(e,c,1);return e}function Vi(e,t){for(var n=e?t.length:0,i=n-1;n--;){var a=t[n];if(n==i||a!==s){var s=a;ys(a)?Ge.call(e,a,1):pa(e,a)}}return e}function Hi(e,t){return e+ft(_n()*(t-e+1))}function Gi(e,t){var n="";if(!e||t<1||t>m)return n;do{t%2&&(n+=e),(t=ft(t/2))&&(e+=e)}while(t);return n}function Ji(e,t){return Os(Ts(e,t,ic),e+"")}function Qi(e){return Qn(qo(e))}function Zi(e,t){var n=qo(e);return Fs(n,oi(t,0,n.length))}function Xi(e,t,n,a){if(!Xr(e))return e;for(var s=-1,r=(t=ba(t,e)).length,o=r-1,c=e;null!=c&&++s<r;){var l=Ps(t[s]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(s!=o){var p=c[l];(u=a?a(p,l,c):i)===i&&(u=Xr(p)?p:ys(t[s+1])?[]:{})}ti(c,l,u),c=c[l]}return e}var ea=jn?function(e,t){return jn.set(e,t),e}:ic,ta=tt?function(e,t){return tt(e,"toString",{configurable:!0,enumerable:!1,value:ec(t),writable:!0})}:ic;function na(e){return Fs(qo(e))}function ia(e,t,i){var a=-1,s=e.length;t<0&&(t=-t>s?0:s+t),(i=i>s?s:i)<0&&(i+=s),s=t>i?0:i-t>>>0,t>>>=0;for(var r=n(s);++a<s;)r[a]=e[a+t];return r}function aa(e,t){var n;return di(e,(function(e,i,a){return!(n=t(e,i,a))})),!!n}function sa(e,t,n){var i=0,a=null==e?i:e.length;if("number"==typeof t&&t==t&&a<=2147483647){for(;i<a;){var s=i+a>>>1,r=e[s];null!==r&&!oo(r)&&(n?r<=t:r<t)?i=s+1:a=s}return a}return ra(e,t,ic,n)}function ra(e,t,n,a){var s=0,r=null==e?0:e.length;if(0===r)return 0;for(var o=(t=n(t))!=t,c=null===t,l=oo(t),u=t===i;s<r;){var p=ft((s+r)/2),d=n(e[p]),m=d!==i,h=null===d,f=d==d,g=oo(d);if(o)var v=a||f;else v=u?f&&(a||m):c?f&&m&&(a||!h):l?f&&m&&!h&&(a||!g):!h&&!g&&(a?d<=t:d<t);v?s=p+1:r=p}return bn(r,4294967294)}function oa(e,t){for(var n=-1,i=e.length,a=0,s=[];++n<i;){var r=e[n],o=t?t(r):r;if(!n||!Nr(o,c)){var c=o;s[a++]=0===r?0:r}}return s}function ca(e){return"number"==typeof e?e:oo(e)?h:+e}function la(e){if("string"==typeof e)return e;if(Br(e))return Ft(e,la)+"";if(oo(e))return Nn?Nn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ua(e,t,n){var i=-1,a=Ct,s=e.length,r=!0,o=[],c=o;if(n)r=!1,a=Lt;else if(s>=200){var l=t?null:Ga(e);if(l)return pn(l);r=!1,a=en,c=new Hn}else c=t?[]:o;e:for(;++i<s;){var u=e[i],p=t?t(u):u;if(u=n||0!==u?u:0,r&&p==p){for(var d=c.length;d--;)if(c[d]===p)continue e;t&&c.push(p),o.push(u)}else a(c,p,n)||(c!==o&&c.push(p),o.push(u))}return o}function pa(e,t){return null==(e=Is(e,t=ba(t,e)))||delete e[Ps(Gs(t))]}function da(e,t,n,i){return Xi(e,t,n(Ei(e,t)),i)}function ma(e,t,n,i){for(var a=e.length,s=i?a:-1;(i?s--:++s<a)&&t(e[s],s,e););return n?ia(e,i?0:s,i?s+1:a):ia(e,i?s+1:0,i?a:s)}function ha(e,t){var n=e;return n instanceof Yn&&(n=n.value()),Pt(t,(function(e,t){return t.func.apply(t.thisArg,Ut([e],t.args))}),n)}function fa(e,t,i){var a=e.length;if(a<2)return a?ua(e[0]):[];for(var s=-1,r=n(a);++s<a;)for(var o=e[s],c=-1;++c<a;)c!=s&&(r[s]=pi(r[s]||o,e[c],t,i));return ua(vi(r,1),t,i)}function ga(e,t,n){for(var a=-1,s=e.length,r=t.length,o={};++a<s;){var c=a<r?t[a]:i;n(o,e[a],c)}return o}function va(e){return Wr(e)?e:[]}function ya(e){return"function"==typeof e?e:ic}function ba(e,t){return Br(e)?e:xs(e,t)?[e]:Us(yo(e))}var xa=Ji;function wa(e,t,n){var a=e.length;return n=n===i?a:n,!t&&n>=a?e:ia(e,t,n)}var _a=it||function(e){return ht.clearTimeout(e)};function Ea(e,t){if(t)return e.slice();var n=e.length,i=Ke?Ke(n):new e.constructor(n);return e.copy(i),i}function Sa(e){var t=new e.constructor(e.byteLength);return new Ye(t).set(new Ye(e)),t}function ka(e,t){var n=t?Sa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ta(e,t){if(e!==t){var n=e!==i,a=null===e,s=e==e,r=oo(e),o=t!==i,c=null===t,l=t==t,u=oo(t);if(!c&&!u&&!r&&e>t||r&&o&&l&&!c&&!u||a&&o&&l||!n&&l||!s)return 1;if(!a&&!r&&!u&&e<t||u&&n&&s&&!a&&!r||c&&n&&s||!o&&s||!l)return-1}return 0}function Ia(e,t,i,a){for(var s=-1,r=e.length,o=i.length,c=-1,l=t.length,u=yn(r-o,0),p=n(l+u),d=!a;++c<l;)p[c]=t[c];for(;++s<o;)(d||s<r)&&(p[i[s]]=e[s]);for(;u--;)p[c++]=e[s++];return p}function Ra(e,t,i,a){for(var s=-1,r=e.length,o=-1,c=i.length,l=-1,u=t.length,p=yn(r-c,0),d=n(p+u),m=!a;++s<p;)d[s]=e[s];for(var h=s;++l<u;)d[h+l]=t[l];for(;++o<c;)(m||s<r)&&(d[h+i[o]]=e[s++]);return d}function Aa(e,t){var i=-1,a=e.length;for(t||(t=n(a));++i<a;)t[i]=e[i];return t}function ja(e,t,n,a){var s=!n;n||(n={});for(var r=-1,o=t.length;++r<o;){var c=t[r],l=a?a(n[c],e[c],c,n,e):i;l===i&&(l=e[c]),s?si(n,c,l):ti(n,c,l)}return n}function Oa(e,t){return function(n,i){var a=Br(n)?It:ii,s=t?t():{};return a(n,e,cs(i,2),s)}}function Ca(e){return Ji((function(t,n){var a=-1,s=n.length,r=s>1?n[s-1]:i,o=s>2?n[2]:i;for(r=e.length>3&&"function"==typeof r?(s--,r):i,o&&bs(n[0],n[1],o)&&(r=s<3?i:r,s=1),t=Te(t);++a<s;){var c=n[a];c&&e(t,c,a,r)}return t}))}function La(e,t){return function(n,i){if(null==n)return n;if(!Kr(n))return e(n,i);for(var a=n.length,s=t?a:-1,r=Te(n);(t?s--:++s<a)&&!1!==i(r[s],s,r););return n}}function Fa(e){return function(t,n,i){for(var a=-1,s=Te(t),r=i(t),o=r.length;o--;){var c=r[e?o:++a];if(!1===n(s[c],c,s))break}return t}}function Ua(e){return function(t){var n=on(t=yo(t))?hn(t):i,a=n?n[0]:t.charAt(0),s=n?wa(n,1).join(""):t.slice(1);return a[e]()+s}}function Pa(e){return function(t){return Pt(Qo(Bo(t).replace(Xe,"")),e,"")}}function za(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=$n(e.prototype),i=e.apply(n,t);return Xr(i)?i:n}}function Ma(e){return function(t,n,a){var s=Te(t);if(!Kr(t)){var r=cs(n,3);t=Oo(t),n=function(e){return r(s[e],e,s)}}var o=e(t,n,a);return o>-1?s[r?t[o]:o]:i}}function Na(e){return ns((function(t){var n=t.length,s=n,r=Bn.prototype.thru;for(e&&t.reverse();s--;){var o=t[s];if("function"!=typeof o)throw new Ae(a);if(r&&!c&&"wrapper"==rs(o))var c=new Bn([],!0)}for(s=c?s:n;++s<n;){var l=rs(o=t[s]),u="wrapper"==l?ss(o):i;c=u&&ws(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?c[rs(u[0])].apply(c,u[3]):1==o.length&&ws(o)?c[l]():c.thru(o)}return function(){var e=arguments,i=e[0];if(c&&1==e.length&&Br(i))return c.plant(i).value();for(var a=0,s=n?t[a].apply(this,e):i;++a<n;)s=t[a].call(this,s);return s}}))}function qa(e,t,a,s,r,o,c,l,p,d){var m=t&u,h=1&t,f=2&t,g=24&t,v=512&t,y=f?i:za(e);return function u(){for(var b=arguments.length,x=n(b),w=b;w--;)x[w]=arguments[w];if(g)var _=os(u),E=function(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}(x,_);if(s&&(x=Ia(x,s,r,g)),o&&(x=Ra(x,o,c,g)),b-=E,g&&b<d){var S=un(x,_);return Va(e,t,qa,u.placeholder,a,x,S,l,p,d-b)}var k=h?a:this,T=f?k[e]:e;return b=x.length,l?x=function(e,t){var n=e.length,a=bn(t.length,n),s=Aa(e);for(;a--;){var r=t[a];e[a]=ys(r,n)?s[r]:i}return e}(x,l):v&&b>1&&x.reverse(),m&&p<b&&(x.length=p),this&&this!==ht&&this instanceof u&&(T=y||za(T)),T.apply(k,x)}}function $a(e,t){return function(n,i){return function(e,t,n,i){return xi(e,(function(e,a,s){t(i,n(e),a,s)})),i}(n,e,t(i),{})}}function Da(e,t){return function(n,a){var s;if(n===i&&a===i)return t;if(n!==i&&(s=n),a!==i){if(s===i)return a;"string"==typeof n||"string"==typeof a?(n=la(n),a=la(a)):(n=ca(n),a=ca(a)),s=e(n,a)}return s}}function Ba(e){return ns((function(t){return t=Ft(t,Zt(cs())),Ji((function(n){var i=this;return e(t,(function(e){return Tt(e,i,n)}))}))}))}function Ya(e,t){var n=(t=t===i?" ":la(t)).length;if(n<2)return n?Gi(t,e):t;var a=Gi(t,mt(e/mn(t)));return on(t)?wa(hn(a),0,e).join(""):a.slice(0,e)}function Ka(e){return function(t,a,s){return s&&"number"!=typeof s&&bs(t,a,s)&&(a=s=i),t=mo(t),a===i?(a=t,t=0):a=mo(a),function(e,t,i,a){for(var s=-1,r=yn(mt((t-e)/(i||1)),0),o=n(r);r--;)o[a?r:++s]=e,e+=i;return o}(t,a,s=s===i?t<a?1:-1:mo(s),e)}}function Wa(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=go(t),n=go(n)),e(t,n)}}function Va(e,t,n,a,s,r,o,u,p,d){var m=8&t;t|=m?c:l,4&(t&=~(m?l:c))||(t&=-4);var h=[e,t,s,m?r:i,m?o:i,m?i:r,m?i:o,u,p,d],f=n.apply(i,h);return ws(e)&&As(f,h),f.placeholder=a,Cs(f,e,t)}function Ha(e){var t=ke[e];return function(e,n){if(e=go(e),(n=null==n?0:bn(ho(n),292))&&bt(e)){var i=(yo(e)+"e").split("e");return+((i=(yo(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return t(e)}}var Ga=In&&1/pn(new In([,-0]))[1]==d?function(e){return new In(e)}:cc;function Ja(e){return function(t){var n=hs(t);return n==S?cn(t):n==A?dn(t):function(e,t){return Ft(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Qa(e,t,s,d,m,h,f,g){var v=2&t;if(!v&&"function"!=typeof e)throw new Ae(a);var y=d?d.length:0;if(y||(t&=-97,d=m=i),f=f===i?f:yn(ho(f),0),g=g===i?g:ho(g),y-=m?m.length:0,t&l){var b=d,x=m;d=m=i}var w=v?i:ss(e),_=[e,t,s,d,m,b,x,h,f,g];if(w&&function(e,t){var n=e[1],i=t[1],a=n|i,s=a<131,o=i==u&&8==n||i==u&&n==p&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==n;if(!s&&!o)return e;1&i&&(e[2]=t[2],a|=1&n?0:4);var c=t[3];if(c){var l=e[3];e[3]=l?Ia(l,c,t[4]):c,e[4]=l?un(e[3],r):t[4]}(c=t[5])&&(l=e[5],e[5]=l?Ra(l,c,t[6]):c,e[6]=l?un(e[5],r):t[6]);(c=t[7])&&(e[7]=c);i&u&&(e[8]=null==e[8]?t[8]:bn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=a}(_,w),e=_[0],t=_[1],s=_[2],d=_[3],m=_[4],!(g=_[9]=_[9]===i?v?0:e.length:yn(_[9]-y,0))&&24&t&&(t&=-25),t&&1!=t)E=8==t||t==o?function(e,t,a){var s=za(e);return function r(){for(var o=arguments.length,c=n(o),l=o,u=os(r);l--;)c[l]=arguments[l];var p=o<3&&c[0]!==u&&c[o-1]!==u?[]:un(c,u);return(o-=p.length)<a?Va(e,t,qa,r.placeholder,i,c,p,i,i,a-o):Tt(this&&this!==ht&&this instanceof r?s:e,this,c)}}(e,t,g):t!=c&&33!=t||m.length?qa.apply(i,_):function(e,t,i,a){var s=1&t,r=za(e);return function t(){for(var o=-1,c=arguments.length,l=-1,u=a.length,p=n(u+c),d=this&&this!==ht&&this instanceof t?r:e;++l<u;)p[l]=a[l];for(;c--;)p[l++]=arguments[++o];return Tt(d,s?i:this,p)}}(e,t,s,d);else var E=function(e,t,n){var i=1&t,a=za(e);return function t(){return(this&&this!==ht&&this instanceof t?a:e).apply(i?n:this,arguments)}}(e,t,s);return Cs((w?ea:As)(E,_),e,t)}function Za(e,t,n,a){return e===i||Nr(e,Ce[n])&&!Ue.call(a,n)?t:e}function Xa(e,t,n,a,s,r){return Xr(e)&&Xr(t)&&(r.set(t,e),Di(e,t,i,Xa,r),r.delete(t)),e}function es(e){return io(e)?i:e}function ts(e,t,n,a,s,r){var o=1&n,c=e.length,l=t.length;if(c!=l&&!(o&&l>c))return!1;var u=r.get(e),p=r.get(t);if(u&&p)return u==t&&p==e;var d=-1,m=!0,h=2&n?new Hn:i;for(r.set(e,t),r.set(t,e);++d<c;){var f=e[d],g=t[d];if(a)var v=o?a(g,f,d,t,e,r):a(f,g,d,e,t,r);if(v!==i){if(v)continue;m=!1;break}if(h){if(!Mt(t,(function(e,t){if(!en(h,t)&&(f===e||s(f,e,n,a,r)))return h.push(t)}))){m=!1;break}}else if(f!==g&&!s(f,g,n,a,r)){m=!1;break}}return r.delete(e),r.delete(t),m}function ns(e){return Os(Ts(e,i,Ys),e+"")}function is(e){return Si(e,Oo,ds)}function as(e){return Si(e,Co,ms)}var ss=jn?function(e){return jn.get(e)}:cc;function rs(e){for(var t=e.name+"",n=On[t],i=Ue.call(On,t)?n.length:0;i--;){var a=n[i],s=a.func;if(null==s||s==e)return a.name}return t}function os(e){return(Ue.call(qn,"placeholder")?qn:e).placeholder}function cs(){var e=qn.iteratee||ac;return e=e===ac?Ui:e,arguments.length?e(arguments[0],arguments[1]):e}function ls(e,t){var n,i,a=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?a["string"==typeof t?"string":"hash"]:a.map}function us(e){for(var t=Oo(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,Ss(a)]}return t}function ps(e,t){var n=function(e,t){return null==e?i:e[t]}(e,t);return Fi(n)?n:i}var ds=gt?function(e){return null==e?[]:(e=Te(e),Ot(gt(e),(function(t){return He.call(e,t)})))}:fc,ms=gt?function(e){for(var t=[];e;)Ut(t,ds(e)),e=We(e);return t}:fc,hs=ki;function fs(e,t,n){for(var i=-1,a=(t=ba(t,e)).length,s=!1;++i<a;){var r=Ps(t[i]);if(!(s=null!=e&&n(e,r)))break;e=e[r]}return s||++i!=a?s:!!(a=null==e?0:e.length)&&Zr(a)&&ys(r,a)&&(Br(e)||Dr(e))}function gs(e){return"function"!=typeof e.constructor||Es(e)?{}:$n(We(e))}function vs(e){return Br(e)||Dr(e)||!!(Je&&e&&e[Je])}function ys(e,t){var n=typeof e;return!!(t=null==t?m:t)&&("number"==n||"symbol"!=n&&be.test(e))&&e>-1&&e%1==0&&e<t}function bs(e,t,n){if(!Xr(n))return!1;var i=typeof t;return!!("number"==i?Kr(n)&&ys(t,n.length):"string"==i&&t in n)&&Nr(n[t],e)}function xs(e,t){if(Br(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!oo(e))||(te.test(e)||!ee.test(e)||null!=t&&e in Te(t))}function ws(e){var t=rs(e),n=qn[t];if("function"!=typeof n||!(t in Yn.prototype))return!1;if(e===n)return!0;var i=ss(n);return!!i&&e===i[0]}(Sn&&hs(new Sn(new ArrayBuffer(1)))!=F||kn&&hs(new kn)!=S||Tn&&hs(Tn.resolve())!=I||In&&hs(new In)!=A||Rn&&hs(new Rn)!=C)&&(hs=function(e){var t=ki(e),n=t==T?e.constructor:i,a=n?zs(n):"";if(a)switch(a){case Cn:return F;case Ln:return S;case Fn:return I;case Un:return A;case Pn:return C}return t});var _s=Le?Jr:gc;function Es(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ce)}function Ss(e){return e==e&&!Xr(e)}function ks(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==i||e in Te(n)))}}function Ts(e,t,a){return t=yn(t===i?e.length-1:t,0),function(){for(var i=arguments,s=-1,r=yn(i.length-t,0),o=n(r);++s<r;)o[s]=i[t+s];s=-1;for(var c=n(t+1);++s<t;)c[s]=i[s];return c[t]=a(o),Tt(e,this,c)}}function Is(e,t){return t.length<2?e:Ei(e,ia(t,0,-1))}function Rs(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var As=Ls(ea),js=dt||function(e,t){return ht.setTimeout(e,t)},Os=Ls(ta);function Cs(e,t,n){var i=t+"";return Os(e,function(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(oe,"{\n/* [wrapped with "+t+"] */\n")}(i,function(e,t){return Rt(g,(function(n){var i="_."+n[0];t&n[1]&&!Ct(e,i)&&e.push(i)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(le):[]}(i),n)))}function Ls(e){var t=0,n=0;return function(){var a=xn(),s=16-(a-n);if(n=a,s>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Fs(e,t){var n=-1,a=e.length,s=a-1;for(t=t===i?a:t;++n<t;){var r=Hi(n,s),o=e[r];e[r]=e[n],e[n]=o}return e.length=t,e}var Us=function(e){var t=Lr(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ne,(function(e,n,i,a){t.push(i?a.replace(de,"$1"):n||e)})),t}));function Ps(e){if("string"==typeof e||oo(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function zs(e){if(null!=e){try{return Fe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ms(e){if(e instanceof Yn)return e.clone();var t=new Bn(e.__wrapped__,e.__chain__);return t.__actions__=Aa(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ns=Ji((function(e,t){return Wr(e)?pi(e,vi(t,1,Wr,!0)):[]})),qs=Ji((function(e,t){var n=Gs(t);return Wr(n)&&(n=i),Wr(e)?pi(e,vi(t,1,Wr,!0),cs(n,2)):[]})),$s=Ji((function(e,t){var n=Gs(t);return Wr(n)&&(n=i),Wr(e)?pi(e,vi(t,1,Wr,!0),i,n):[]}));function Ds(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var a=null==n?0:ho(n);return a<0&&(a=yn(i+a,0)),$t(e,cs(t,3),a)}function Bs(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var s=a-1;return n!==i&&(s=ho(n),s=n<0?yn(a+s,0):bn(s,a-1)),$t(e,cs(t,3),s,!0)}function Ys(e){return(null==e?0:e.length)?vi(e,1):[]}function Ks(e){return e&&e.length?e[0]:i}var Ws=Ji((function(e){var t=Ft(e,va);return t.length&&t[0]===e[0]?Ai(t):[]})),Vs=Ji((function(e){var t=Gs(e),n=Ft(e,va);return t===Gs(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Ai(n,cs(t,2)):[]})),Hs=Ji((function(e){var t=Gs(e),n=Ft(e,va);return(t="function"==typeof t?t:i)&&n.pop(),n.length&&n[0]===e[0]?Ai(n,i,t):[]}));function Gs(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Js=Ji(Qs);function Qs(e,t){return e&&e.length&&t&&t.length?Wi(e,t):e}var Zs=ns((function(e,t){var n=null==e?0:e.length,i=ri(e,t);return Vi(e,Ft(t,(function(e){return ys(e,n)?+e:e})).sort(Ta)),i}));function Xs(e){return null==e?e:En.call(e)}var er=Ji((function(e){return ua(vi(e,1,Wr,!0))})),tr=Ji((function(e){var t=Gs(e);return Wr(t)&&(t=i),ua(vi(e,1,Wr,!0),cs(t,2))})),nr=Ji((function(e){var t=Gs(e);return t="function"==typeof t?t:i,ua(vi(e,1,Wr,!0),i,t)}));function ir(e){if(!e||!e.length)return[];var t=0;return e=Ot(e,(function(e){if(Wr(e))return t=yn(e.length,t),!0})),Jt(t,(function(t){return Ft(e,Wt(t))}))}function ar(e,t){if(!e||!e.length)return[];var n=ir(e);return null==t?n:Ft(n,(function(e){return Tt(t,i,e)}))}var sr=Ji((function(e,t){return Wr(e)?pi(e,t):[]})),rr=Ji((function(e){return fa(Ot(e,Wr))})),or=Ji((function(e){var t=Gs(e);return Wr(t)&&(t=i),fa(Ot(e,Wr),cs(t,2))})),cr=Ji((function(e){var t=Gs(e);return t="function"==typeof t?t:i,fa(Ot(e,Wr),i,t)})),lr=Ji(ir);var ur=Ji((function(e){var t=e.length,n=t>1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,ar(e,n)}));function pr(e){var t=qn(e);return t.__chain__=!0,t}function dr(e,t){return t(e)}var mr=ns((function(e){var t=e.length,n=t?e[0]:0,a=this.__wrapped__,s=function(t){return ri(t,e)};return!(t>1||this.__actions__.length)&&a instanceof Yn&&ys(n)?((a=a.slice(n,+n+(t?1:0))).__actions__.push({func:dr,args:[s],thisArg:i}),new Bn(a,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(s)}));var hr=Oa((function(e,t,n){Ue.call(e,n)?++e[n]:si(e,n,1)}));var fr=Ma(Ds),gr=Ma(Bs);function vr(e,t){return(Br(e)?Rt:di)(e,cs(t,3))}function yr(e,t){return(Br(e)?At:mi)(e,cs(t,3))}var br=Oa((function(e,t,n){Ue.call(e,n)?e[n].push(t):si(e,n,[t])}));var xr=Ji((function(e,t,i){var a=-1,s="function"==typeof t,r=Kr(e)?n(e.length):[];return di(e,(function(e){r[++a]=s?Tt(t,e,i):ji(e,t,i)})),r})),wr=Oa((function(e,t,n){si(e,n,t)}));function _r(e,t){return(Br(e)?Ft:Ni)(e,cs(t,3))}var Er=Oa((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Sr=Ji((function(e,t){if(null==e)return[];var n=t.length;return n>1&&bs(e,t[0],t[1])?t=[]:n>2&&bs(t[0],t[1],t[2])&&(t=[t[0]]),Yi(e,vi(t,1),[])})),kr=lt||function(){return ht.Date.now()};function Tr(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Qa(e,u,i,i,i,i,t)}function Ir(e,t){var n;if("function"!=typeof t)throw new Ae(a);return e=ho(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Rr=Ji((function(e,t,n){var i=1;if(n.length){var a=un(n,os(Rr));i|=c}return Qa(e,i,t,n,a)})),Ar=Ji((function(e,t,n){var i=3;if(n.length){var a=un(n,os(Ar));i|=c}return Qa(t,i,e,n,a)}));function jr(e,t,n){var s,r,o,c,l,u,p=0,d=!1,m=!1,h=!0;if("function"!=typeof e)throw new Ae(a);function f(t){var n=s,a=r;return s=r=i,p=t,c=e.apply(a,n)}function g(e){var n=e-u;return u===i||n>=t||n<0||m&&e-p>=o}function v(){var e=kr();if(g(e))return y(e);l=js(v,function(e){var n=t-(e-u);return m?bn(n,o-(e-p)):n}(e))}function y(e){return l=i,h&&s?f(e):(s=r=i,c)}function b(){var e=kr(),n=g(e);if(s=arguments,r=this,u=e,n){if(l===i)return function(e){return p=e,l=js(v,t),d?f(e):c}(u);if(m)return _a(l),l=js(v,t),f(u)}return l===i&&(l=js(v,t)),c}return t=go(t)||0,Xr(n)&&(d=!!n.leading,o=(m="maxWait"in n)?yn(go(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h),b.cancel=function(){l!==i&&_a(l),p=0,s=u=r=l=i},b.flush=function(){return l===i?c:y(kr())},b}var Or=Ji((function(e,t){return ui(e,1,t)})),Cr=Ji((function(e,t,n){return ui(e,go(t)||0,n)}));function Lr(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(a);var n=function(){var i=arguments,a=t?t.apply(this,i):i[0],s=n.cache;if(s.has(a))return s.get(a);var r=e.apply(this,i);return n.cache=s.set(a,r)||s,r};return n.cache=new(Lr.Cache||Vn),n}function Fr(e){if("function"!=typeof e)throw new Ae(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Lr.Cache=Vn;var Ur=xa((function(e,t){var n=(t=1==t.length&&Br(t[0])?Ft(t[0],Zt(cs())):Ft(vi(t,1),Zt(cs()))).length;return Ji((function(i){for(var a=-1,s=bn(i.length,n);++a<s;)i[a]=t[a].call(this,i[a]);return Tt(e,this,i)}))})),Pr=Ji((function(e,t){var n=un(t,os(Pr));return Qa(e,c,i,t,n)})),zr=Ji((function(e,t){var n=un(t,os(zr));return Qa(e,l,i,t,n)})),Mr=ns((function(e,t){return Qa(e,p,i,i,i,t)}));function Nr(e,t){return e===t||e!=e&&t!=t}var qr=Wa(Ti),$r=Wa((function(e,t){return e>=t})),Dr=Oi(function(){return arguments}())?Oi:function(e){return eo(e)&&Ue.call(e,"callee")&&!He.call(e,"callee")},Br=n.isArray,Yr=xt?Zt(xt):function(e){return eo(e)&&ki(e)==L};function Kr(e){return null!=e&&Zr(e.length)&&!Jr(e)}function Wr(e){return eo(e)&&Kr(e)}var Vr=yt||gc,Hr=wt?Zt(wt):function(e){return eo(e)&&ki(e)==x};function Gr(e){if(!eo(e))return!1;var t=ki(e);return t==w||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!io(e)}function Jr(e){if(!Xr(e))return!1;var t=ki(e);return t==_||t==E||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Qr(e){return"number"==typeof e&&e==ho(e)}function Zr(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=m}function Xr(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eo(e){return null!=e&&"object"==typeof e}var to=_t?Zt(_t):function(e){return eo(e)&&hs(e)==S};function no(e){return"number"==typeof e||eo(e)&&ki(e)==k}function io(e){if(!eo(e)||ki(e)!=T)return!1;var t=We(e);if(null===t)return!0;var n=Ue.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Fe.call(n)==Ne}var ao=Et?Zt(Et):function(e){return eo(e)&&ki(e)==R};var so=St?Zt(St):function(e){return eo(e)&&hs(e)==A};function ro(e){return"string"==typeof e||!Br(e)&&eo(e)&&ki(e)==j}function oo(e){return"symbol"==typeof e||eo(e)&&ki(e)==O}var co=kt?Zt(kt):function(e){return eo(e)&&Zr(e.length)&&!!ot[ki(e)]};var lo=Wa(Mi),uo=Wa((function(e,t){return e<=t}));function po(e){if(!e)return[];if(Kr(e))return ro(e)?hn(e):Aa(e);if(Qe&&e[Qe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Qe]());var t=hs(e);return(t==S?cn:t==A?pn:qo)(e)}function mo(e){return e?(e=go(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ho(e){var t=mo(e),n=t%1;return t==t?n?t-n:t:0}function fo(e){return e?oi(ho(e),0,f):0}function go(e){if("number"==typeof e)return e;if(oo(e))return h;if(Xr(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Xr(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Qt(e);var n=ge.test(e);return n||ye.test(e)?pt(e.slice(2),n?2:8):fe.test(e)?h:+e}function vo(e){return ja(e,Co(e))}function yo(e){return null==e?"":la(e)}var bo=Ca((function(e,t){if(Es(t)||Kr(t))ja(t,Oo(t),e);else for(var n in t)Ue.call(t,n)&&ti(e,n,t[n])})),xo=Ca((function(e,t){ja(t,Co(t),e)})),wo=Ca((function(e,t,n,i){ja(t,Co(t),e,i)})),_o=Ca((function(e,t,n,i){ja(t,Oo(t),e,i)})),Eo=ns(ri);var So=Ji((function(e,t){e=Te(e);var n=-1,a=t.length,s=a>2?t[2]:i;for(s&&bs(t[0],t[1],s)&&(a=1);++n<a;)for(var r=t[n],o=Co(r),c=-1,l=o.length;++c<l;){var u=o[c],p=e[u];(p===i||Nr(p,Ce[u])&&!Ue.call(e,u))&&(e[u]=r[u])}return e})),ko=Ji((function(e){return e.push(i,Xa),Tt(Fo,i,e)}));function To(e,t,n){var a=null==e?i:Ei(e,t);return a===i?n:a}function Io(e,t){return null!=e&&fs(e,t,Ri)}var Ro=$a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Me.call(t)),e[t]=n}),ec(ic)),Ao=$a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Me.call(t)),Ue.call(e,t)?e[t].push(n):e[t]=[n]}),cs),jo=Ji(ji);function Oo(e){return Kr(e)?Jn(e):Pi(e)}function Co(e){return Kr(e)?Jn(e,!0):zi(e)}var Lo=Ca((function(e,t,n){Di(e,t,n)})),Fo=Ca((function(e,t,n,i){Di(e,t,n,i)})),Uo=ns((function(e,t){var n={};if(null==e)return n;var i=!1;t=Ft(t,(function(t){return t=ba(t,e),i||(i=t.length>1),t})),ja(e,as(e),n),i&&(n=ci(n,7,es));for(var a=t.length;a--;)pa(n,t[a]);return n}));var Po=ns((function(e,t){return null==e?{}:function(e,t){return Ki(e,t,(function(t,n){return Io(e,n)}))}(e,t)}));function zo(e,t){if(null==e)return{};var n=Ft(as(e),(function(e){return[e]}));return t=cs(t),Ki(e,n,(function(e,n){return t(e,n[0])}))}var Mo=Ja(Oo),No=Ja(Co);function qo(e){return null==e?[]:Xt(e,Oo(e))}var $o=Pa((function(e,t,n){return t=t.toLowerCase(),e+(n?Do(t):t)}));function Do(e){return Jo(yo(e).toLowerCase())}function Bo(e){return(e=yo(e))&&e.replace(xe,an).replace(et,"")}var Yo=Pa((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ko=Pa((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Wo=Ua("toLowerCase");var Vo=Pa((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ho=Pa((function(e,t,n){return e+(n?" ":"")+Jo(t)}));var Go=Pa((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Jo=Ua("toUpperCase");function Qo(e,t,n){return e=yo(e),(t=n?i:t)===i?function(e){return at.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var Zo=Ji((function(e,t){try{return Tt(e,i,t)}catch(e){return Gr(e)?e:new Ee(e)}})),Xo=ns((function(e,t){return Rt(t,(function(t){t=Ps(t),si(e,t,Rr(e[t],e))})),e}));function ec(e){return function(){return e}}var tc=Na(),nc=Na(!0);function ic(e){return e}function ac(e){return Ui("function"==typeof e?e:ci(e,1))}var sc=Ji((function(e,t){return function(n){return ji(n,e,t)}})),rc=Ji((function(e,t){return function(n){return ji(e,n,t)}}));function oc(e,t,n){var i=Oo(t),a=_i(t,i);null!=n||Xr(t)&&(a.length||!i.length)||(n=t,t=e,e=this,a=_i(t,Oo(t)));var s=!(Xr(n)&&"chain"in n&&!n.chain),r=Jr(e);return Rt(a,(function(n){var i=t[n];e[n]=i,r&&(e.prototype[n]=function(){var t=this.__chain__;if(s||t){var n=e(this.__wrapped__);return(n.__actions__=Aa(this.__actions__)).push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,Ut([this.value()],arguments))})})),e}function cc(){}var lc=Ba(Ft),uc=Ba(jt),pc=Ba(Mt);function dc(e){return xs(e)?Wt(Ps(e)):function(e){return function(t){return Ei(t,e)}}(e)}var mc=Ka(),hc=Ka(!0);function fc(){return[]}function gc(){return!1}var vc=Da((function(e,t){return e+t}),0),yc=Ha("ceil"),bc=Da((function(e,t){return e/t}),1),xc=Ha("floor");var wc,_c=Da((function(e,t){return e*t}),1),Ec=Ha("round"),Sc=Da((function(e,t){return e-t}),0);return qn.after=function(e,t){if("function"!=typeof t)throw new Ae(a);return e=ho(e),function(){if(--e<1)return t.apply(this,arguments)}},qn.ary=Tr,qn.assign=bo,qn.assignIn=xo,qn.assignInWith=wo,qn.assignWith=_o,qn.at=Eo,qn.before=Ir,qn.bind=Rr,qn.bindAll=Xo,qn.bindKey=Ar,qn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Br(e)?e:[e]},qn.chain=pr,qn.chunk=function(e,t,a){t=(a?bs(e,t,a):t===i)?1:yn(ho(t),0);var s=null==e?0:e.length;if(!s||t<1)return[];for(var r=0,o=0,c=n(mt(s/t));r<s;)c[o++]=ia(e,r,r+=t);return c},qn.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,a=[];++t<n;){var s=e[t];s&&(a[i++]=s)}return a},qn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),i=arguments[0],a=e;a--;)t[a-1]=arguments[a];return Ut(Br(i)?Aa(i):[i],vi(t,1))},qn.cond=function(e){var t=null==e?0:e.length,n=cs();return e=t?Ft(e,(function(e){if("function"!=typeof e[1])throw new Ae(a);return[n(e[0]),e[1]]})):[],Ji((function(n){for(var i=-1;++i<t;){var a=e[i];if(Tt(a[0],this,n))return Tt(a[1],this,n)}}))},qn.conforms=function(e){return function(e){var t=Oo(e);return function(n){return li(n,e,t)}}(ci(e,1))},qn.constant=ec,qn.countBy=hr,qn.create=function(e,t){var n=$n(e);return null==t?n:ai(n,t)},qn.curry=function e(t,n,a){var s=Qa(t,8,i,i,i,i,i,n=a?i:n);return s.placeholder=e.placeholder,s},qn.curryRight=function e(t,n,a){var s=Qa(t,o,i,i,i,i,i,n=a?i:n);return s.placeholder=e.placeholder,s},qn.debounce=jr,qn.defaults=So,qn.defaultsDeep=ko,qn.defer=Or,qn.delay=Cr,qn.difference=Ns,qn.differenceBy=qs,qn.differenceWith=$s,qn.drop=function(e,t,n){var a=null==e?0:e.length;return a?ia(e,(t=n||t===i?1:ho(t))<0?0:t,a):[]},qn.dropRight=function(e,t,n){var a=null==e?0:e.length;return a?ia(e,0,(t=a-(t=n||t===i?1:ho(t)))<0?0:t):[]},qn.dropRightWhile=function(e,t){return e&&e.length?ma(e,cs(t,3),!0,!0):[]},qn.dropWhile=function(e,t){return e&&e.length?ma(e,cs(t,3),!0):[]},qn.fill=function(e,t,n,a){var s=null==e?0:e.length;return s?(n&&"number"!=typeof n&&bs(e,t,n)&&(n=0,a=s),function(e,t,n,a){var s=e.length;for((n=ho(n))<0&&(n=-n>s?0:s+n),(a=a===i||a>s?s:ho(a))<0&&(a+=s),a=n>a?0:fo(a);n<a;)e[n++]=t;return e}(e,t,n,a)):[]},qn.filter=function(e,t){return(Br(e)?Ot:gi)(e,cs(t,3))},qn.flatMap=function(e,t){return vi(_r(e,t),1)},qn.flatMapDeep=function(e,t){return vi(_r(e,t),d)},qn.flatMapDepth=function(e,t,n){return n=n===i?1:ho(n),vi(_r(e,t),n)},qn.flatten=Ys,qn.flattenDeep=function(e){return(null==e?0:e.length)?vi(e,d):[]},qn.flattenDepth=function(e,t){return(null==e?0:e.length)?vi(e,t=t===i?1:ho(t)):[]},qn.flip=function(e){return Qa(e,512)},qn.flow=tc,qn.flowRight=nc,qn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var a=e[t];i[a[0]]=a[1]}return i},qn.functions=function(e){return null==e?[]:_i(e,Oo(e))},qn.functionsIn=function(e){return null==e?[]:_i(e,Co(e))},qn.groupBy=br,qn.initial=function(e){return(null==e?0:e.length)?ia(e,0,-1):[]},qn.intersection=Ws,qn.intersectionBy=Vs,qn.intersectionWith=Hs,qn.invert=Ro,qn.invertBy=Ao,qn.invokeMap=xr,qn.iteratee=ac,qn.keyBy=wr,qn.keys=Oo,qn.keysIn=Co,qn.map=_r,qn.mapKeys=function(e,t){var n={};return t=cs(t,3),xi(e,(function(e,i,a){si(n,t(e,i,a),e)})),n},qn.mapValues=function(e,t){var n={};return t=cs(t,3),xi(e,(function(e,i,a){si(n,i,t(e,i,a))})),n},qn.matches=function(e){return qi(ci(e,1))},qn.matchesProperty=function(e,t){return $i(e,ci(t,1))},qn.memoize=Lr,qn.merge=Lo,qn.mergeWith=Fo,qn.method=sc,qn.methodOf=rc,qn.mixin=oc,qn.negate=Fr,qn.nthArg=function(e){return e=ho(e),Ji((function(t){return Bi(t,e)}))},qn.omit=Uo,qn.omitBy=function(e,t){return zo(e,Fr(cs(t)))},qn.once=function(e){return Ir(2,e)},qn.orderBy=function(e,t,n,a){return null==e?[]:(Br(t)||(t=null==t?[]:[t]),Br(n=a?i:n)||(n=null==n?[]:[n]),Yi(e,t,n))},qn.over=lc,qn.overArgs=Ur,qn.overEvery=uc,qn.overSome=pc,qn.partial=Pr,qn.partialRight=zr,qn.partition=Er,qn.pick=Po,qn.pickBy=zo,qn.property=dc,qn.propertyOf=function(e){return function(t){return null==e?i:Ei(e,t)}},qn.pull=Js,qn.pullAll=Qs,qn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Wi(e,t,cs(n,2)):e},qn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Wi(e,t,i,n):e},qn.pullAt=Zs,qn.range=mc,qn.rangeRight=hc,qn.rearg=Mr,qn.reject=function(e,t){return(Br(e)?Ot:gi)(e,Fr(cs(t,3)))},qn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,a=[],s=e.length;for(t=cs(t,3);++i<s;){var r=e[i];t(r,i,e)&&(n.push(r),a.push(i))}return Vi(e,a),n},qn.rest=function(e,t){if("function"!=typeof e)throw new Ae(a);return Ji(e,t=t===i?t:ho(t))},qn.reverse=Xs,qn.sampleSize=function(e,t,n){return t=(n?bs(e,t,n):t===i)?1:ho(t),(Br(e)?Zn:Zi)(e,t)},qn.set=function(e,t,n){return null==e?e:Xi(e,t,n)},qn.setWith=function(e,t,n,a){return a="function"==typeof a?a:i,null==e?e:Xi(e,t,n,a)},qn.shuffle=function(e){return(Br(e)?Xn:na)(e)},qn.slice=function(e,t,n){var a=null==e?0:e.length;return a?(n&&"number"!=typeof n&&bs(e,t,n)?(t=0,n=a):(t=null==t?0:ho(t),n=n===i?a:ho(n)),ia(e,t,n)):[]},qn.sortBy=Sr,qn.sortedUniq=function(e){return e&&e.length?oa(e):[]},qn.sortedUniqBy=function(e,t){return e&&e.length?oa(e,cs(t,2)):[]},qn.split=function(e,t,n){return n&&"number"!=typeof n&&bs(e,t,n)&&(t=n=i),(n=n===i?f:n>>>0)?(e=yo(e))&&("string"==typeof t||null!=t&&!ao(t))&&!(t=la(t))&&on(e)?wa(hn(e),0,n):e.split(t,n):[]},qn.spread=function(e,t){if("function"!=typeof e)throw new Ae(a);return t=null==t?0:yn(ho(t),0),Ji((function(n){var i=n[t],a=wa(n,0,t);return i&&Ut(a,i),Tt(e,this,a)}))},qn.tail=function(e){var t=null==e?0:e.length;return t?ia(e,1,t):[]},qn.take=function(e,t,n){return e&&e.length?ia(e,0,(t=n||t===i?1:ho(t))<0?0:t):[]},qn.takeRight=function(e,t,n){var a=null==e?0:e.length;return a?ia(e,(t=a-(t=n||t===i?1:ho(t)))<0?0:t,a):[]},qn.takeRightWhile=function(e,t){return e&&e.length?ma(e,cs(t,3),!1,!0):[]},qn.takeWhile=function(e,t){return e&&e.length?ma(e,cs(t,3)):[]},qn.tap=function(e,t){return t(e),e},qn.throttle=function(e,t,n){var i=!0,s=!0;if("function"!=typeof e)throw new Ae(a);return Xr(n)&&(i="leading"in n?!!n.leading:i,s="trailing"in n?!!n.trailing:s),jr(e,t,{leading:i,maxWait:t,trailing:s})},qn.thru=dr,qn.toArray=po,qn.toPairs=Mo,qn.toPairsIn=No,qn.toPath=function(e){return Br(e)?Ft(e,Ps):oo(e)?[e]:Aa(Us(yo(e)))},qn.toPlainObject=vo,qn.transform=function(e,t,n){var i=Br(e),a=i||Vr(e)||co(e);if(t=cs(t,4),null==n){var s=e&&e.constructor;n=a?i?new s:[]:Xr(e)&&Jr(s)?$n(We(e)):{}}return(a?Rt:xi)(e,(function(e,i,a){return t(n,e,i,a)})),n},qn.unary=function(e){return Tr(e,1)},qn.union=er,qn.unionBy=tr,qn.unionWith=nr,qn.uniq=function(e){return e&&e.length?ua(e):[]},qn.uniqBy=function(e,t){return e&&e.length?ua(e,cs(t,2)):[]},qn.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?ua(e,i,t):[]},qn.unset=function(e,t){return null==e||pa(e,t)},qn.unzip=ir,qn.unzipWith=ar,qn.update=function(e,t,n){return null==e?e:da(e,t,ya(n))},qn.updateWith=function(e,t,n,a){return a="function"==typeof a?a:i,null==e?e:da(e,t,ya(n),a)},qn.values=qo,qn.valuesIn=function(e){return null==e?[]:Xt(e,Co(e))},qn.without=sr,qn.words=Qo,qn.wrap=function(e,t){return Pr(ya(t),e)},qn.xor=rr,qn.xorBy=or,qn.xorWith=cr,qn.zip=lr,qn.zipObject=function(e,t){return ga(e||[],t||[],ti)},qn.zipObjectDeep=function(e,t){return ga(e||[],t||[],Xi)},qn.zipWith=ur,qn.entries=Mo,qn.entriesIn=No,qn.extend=xo,qn.extendWith=wo,oc(qn,qn),qn.add=vc,qn.attempt=Zo,qn.camelCase=$o,qn.capitalize=Do,qn.ceil=yc,qn.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=go(n))==n?n:0),t!==i&&(t=(t=go(t))==t?t:0),oi(go(e),t,n)},qn.clone=function(e){return ci(e,4)},qn.cloneDeep=function(e){return ci(e,5)},qn.cloneDeepWith=function(e,t){return ci(e,5,t="function"==typeof t?t:i)},qn.cloneWith=function(e,t){return ci(e,4,t="function"==typeof t?t:i)},qn.conformsTo=function(e,t){return null==t||li(e,t,Oo(t))},qn.deburr=Bo,qn.defaultTo=function(e,t){return null==e||e!=e?t:e},qn.divide=bc,qn.endsWith=function(e,t,n){e=yo(e),t=la(t);var a=e.length,s=n=n===i?a:oi(ho(n),0,a);return(n-=t.length)>=0&&e.slice(n,s)==t},qn.eq=Nr,qn.escape=function(e){return(e=yo(e))&&J.test(e)?e.replace(H,sn):e},qn.escapeRegExp=function(e){return(e=yo(e))&&ae.test(e)?e.replace(ie,"\\$&"):e},qn.every=function(e,t,n){var a=Br(e)?jt:hi;return n&&bs(e,t,n)&&(t=i),a(e,cs(t,3))},qn.find=fr,qn.findIndex=Ds,qn.findKey=function(e,t){return qt(e,cs(t,3),xi)},qn.findLast=gr,qn.findLastIndex=Bs,qn.findLastKey=function(e,t){return qt(e,cs(t,3),wi)},qn.floor=xc,qn.forEach=vr,qn.forEachRight=yr,qn.forIn=function(e,t){return null==e?e:yi(e,cs(t,3),Co)},qn.forInRight=function(e,t){return null==e?e:bi(e,cs(t,3),Co)},qn.forOwn=function(e,t){return e&&xi(e,cs(t,3))},qn.forOwnRight=function(e,t){return e&&wi(e,cs(t,3))},qn.get=To,qn.gt=qr,qn.gte=$r,qn.has=function(e,t){return null!=e&&fs(e,t,Ii)},qn.hasIn=Io,qn.head=Ks,qn.identity=ic,qn.includes=function(e,t,n,i){e=Kr(e)?e:qo(e),n=n&&!i?ho(n):0;var a=e.length;return n<0&&(n=yn(a+n,0)),ro(e)?n<=a&&e.indexOf(t,n)>-1:!!a&&Dt(e,t,n)>-1},qn.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var a=null==n?0:ho(n);return a<0&&(a=yn(i+a,0)),Dt(e,t,a)},qn.inRange=function(e,t,n){return t=mo(t),n===i?(n=t,t=0):n=mo(n),function(e,t,n){return e>=bn(t,n)&&e<yn(t,n)}(e=go(e),t,n)},qn.invoke=jo,qn.isArguments=Dr,qn.isArray=Br,qn.isArrayBuffer=Yr,qn.isArrayLike=Kr,qn.isArrayLikeObject=Wr,qn.isBoolean=function(e){return!0===e||!1===e||eo(e)&&ki(e)==b},qn.isBuffer=Vr,qn.isDate=Hr,qn.isElement=function(e){return eo(e)&&1===e.nodeType&&!io(e)},qn.isEmpty=function(e){if(null==e)return!0;if(Kr(e)&&(Br(e)||"string"==typeof e||"function"==typeof e.splice||Vr(e)||co(e)||Dr(e)))return!e.length;var t=hs(e);if(t==S||t==A)return!e.size;if(Es(e))return!Pi(e).length;for(var n in e)if(Ue.call(e,n))return!1;return!0},qn.isEqual=function(e,t){return Ci(e,t)},qn.isEqualWith=function(e,t,n){var a=(n="function"==typeof n?n:i)?n(e,t):i;return a===i?Ci(e,t,i,n):!!a},qn.isError=Gr,qn.isFinite=function(e){return"number"==typeof e&&bt(e)},qn.isFunction=Jr,qn.isInteger=Qr,qn.isLength=Zr,qn.isMap=to,qn.isMatch=function(e,t){return e===t||Li(e,t,us(t))},qn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,Li(e,t,us(t),n)},qn.isNaN=function(e){return no(e)&&e!=+e},qn.isNative=function(e){if(_s(e))throw new Ee("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Fi(e)},qn.isNil=function(e){return null==e},qn.isNull=function(e){return null===e},qn.isNumber=no,qn.isObject=Xr,qn.isObjectLike=eo,qn.isPlainObject=io,qn.isRegExp=ao,qn.isSafeInteger=function(e){return Qr(e)&&e>=-9007199254740991&&e<=m},qn.isSet=so,qn.isString=ro,qn.isSymbol=oo,qn.isTypedArray=co,qn.isUndefined=function(e){return e===i},qn.isWeakMap=function(e){return eo(e)&&hs(e)==C},qn.isWeakSet=function(e){return eo(e)&&"[object WeakSet]"==ki(e)},qn.join=function(e,t){return null==e?"":Nt.call(e,t)},qn.kebabCase=Yo,qn.last=Gs,qn.lastIndexOf=function(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var s=a;return n!==i&&(s=(s=ho(n))<0?yn(a+s,0):bn(s,a-1)),t==t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,s):$t(e,Yt,s,!0)},qn.lowerCase=Ko,qn.lowerFirst=Wo,qn.lt=lo,qn.lte=uo,qn.max=function(e){return e&&e.length?fi(e,ic,Ti):i},qn.maxBy=function(e,t){return e&&e.length?fi(e,cs(t,2),Ti):i},qn.mean=function(e){return Kt(e,ic)},qn.meanBy=function(e,t){return Kt(e,cs(t,2))},qn.min=function(e){return e&&e.length?fi(e,ic,Mi):i},qn.minBy=function(e,t){return e&&e.length?fi(e,cs(t,2),Mi):i},qn.stubArray=fc,qn.stubFalse=gc,qn.stubObject=function(){return{}},qn.stubString=function(){return""},qn.stubTrue=function(){return!0},qn.multiply=_c,qn.nth=function(e,t){return e&&e.length?Bi(e,ho(t)):i},qn.noConflict=function(){return ht._===this&&(ht._=qe),this},qn.noop=cc,qn.now=kr,qn.pad=function(e,t,n){e=yo(e);var i=(t=ho(t))?mn(e):0;if(!t||i>=t)return e;var a=(t-i)/2;return Ya(ft(a),n)+e+Ya(mt(a),n)},qn.padEnd=function(e,t,n){e=yo(e);var i=(t=ho(t))?mn(e):0;return t&&i<t?e+Ya(t-i,n):e},qn.padStart=function(e,t,n){e=yo(e);var i=(t=ho(t))?mn(e):0;return t&&i<t?Ya(t-i,n)+e:e},qn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),wn(yo(e).replace(se,""),t||0)},qn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&bs(e,t,n)&&(t=n=i),n===i&&("boolean"==typeof t?(n=t,t=i):"boolean"==typeof e&&(n=e,e=i)),e===i&&t===i?(e=0,t=1):(e=mo(e),t===i?(t=e,e=0):t=mo(t)),e>t){var a=e;e=t,t=a}if(n||e%1||t%1){var s=_n();return bn(e+s*(t-e+ut("1e-"+((s+"").length-1))),t)}return Hi(e,t)},qn.reduce=function(e,t,n){var i=Br(e)?Pt:Ht,a=arguments.length<3;return i(e,cs(t,4),n,a,di)},qn.reduceRight=function(e,t,n){var i=Br(e)?zt:Ht,a=arguments.length<3;return i(e,cs(t,4),n,a,mi)},qn.repeat=function(e,t,n){return t=(n?bs(e,t,n):t===i)?1:ho(t),Gi(yo(e),t)},qn.replace=function(){var e=arguments,t=yo(e[0]);return e.length<3?t:t.replace(e[1],e[2])},qn.result=function(e,t,n){var a=-1,s=(t=ba(t,e)).length;for(s||(s=1,e=i);++a<s;){var r=null==e?i:e[Ps(t[a])];r===i&&(a=s,r=n),e=Jr(r)?r.call(e):r}return e},qn.round=Ec,qn.runInContext=e,qn.sample=function(e){return(Br(e)?Qn:Qi)(e)},qn.size=function(e){if(null==e)return 0;if(Kr(e))return ro(e)?mn(e):e.length;var t=hs(e);return t==S||t==A?e.size:Pi(e).length},qn.snakeCase=Vo,qn.some=function(e,t,n){var a=Br(e)?Mt:aa;return n&&bs(e,t,n)&&(t=i),a(e,cs(t,3))},qn.sortedIndex=function(e,t){return sa(e,t)},qn.sortedIndexBy=function(e,t,n){return ra(e,t,cs(n,2))},qn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=sa(e,t);if(i<n&&Nr(e[i],t))return i}return-1},qn.sortedLastIndex=function(e,t){return sa(e,t,!0)},qn.sortedLastIndexBy=function(e,t,n){return ra(e,t,cs(n,2),!0)},qn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=sa(e,t,!0)-1;if(Nr(e[n],t))return n}return-1},qn.startCase=Ho,qn.startsWith=function(e,t,n){return e=yo(e),n=null==n?0:oi(ho(n),0,e.length),t=la(t),e.slice(n,n+t.length)==t},qn.subtract=Sc,qn.sum=function(e){return e&&e.length?Gt(e,ic):0},qn.sumBy=function(e,t){return e&&e.length?Gt(e,cs(t,2)):0},qn.template=function(e,t,n){var a=qn.templateSettings;n&&bs(e,t,n)&&(t=i),e=yo(e),t=wo({},t,a,Za);var s,r,o=wo({},t.imports,a.imports,Za),c=Oo(o),l=Xt(o,c),u=0,p=t.interpolate||we,d="__p += '",m=Ie((t.escape||we).source+"|"+p.source+"|"+(p===X?me:we).source+"|"+(t.evaluate||we).source+"|$","g"),h="//# sourceURL="+(Ue.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";e.replace(m,(function(t,n,i,a,o,c){return i||(i=a),d+=e.slice(u,c).replace(_e,rn),n&&(s=!0,d+="' +\n__e("+n+") +\n'"),o&&(r=!0,d+="';\n"+o+";\n__p += '"),i&&(d+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=c+t.length,t})),d+="';\n";var f=Ue.call(t,"variable")&&t.variable;if(f){if(pe.test(f))throw new Ee("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(r?d.replace(Y,""):d).replace(K,"$1").replace(W,"$1;"),d="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(r?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=Zo((function(){return Se(c,h+"return "+d).apply(i,l)}));if(g.source=d,Gr(g))throw g;return g},qn.times=function(e,t){if((e=ho(e))<1||e>m)return[];var n=f,i=bn(e,f);t=cs(t),e-=f;for(var a=Jt(i,t);++n<e;)t(n);return a},qn.toFinite=mo,qn.toInteger=ho,qn.toLength=fo,qn.toLower=function(e){return yo(e).toLowerCase()},qn.toNumber=go,qn.toSafeInteger=function(e){return e?oi(ho(e),-9007199254740991,m):0===e?e:0},qn.toString=yo,qn.toUpper=function(e){return yo(e).toUpperCase()},qn.trim=function(e,t,n){if((e=yo(e))&&(n||t===i))return Qt(e);if(!e||!(t=la(t)))return e;var a=hn(e),s=hn(t);return wa(a,tn(a,s),nn(a,s)+1).join("")},qn.trimEnd=function(e,t,n){if((e=yo(e))&&(n||t===i))return e.slice(0,fn(e)+1);if(!e||!(t=la(t)))return e;var a=hn(e);return wa(a,0,nn(a,hn(t))+1).join("")},qn.trimStart=function(e,t,n){if((e=yo(e))&&(n||t===i))return e.replace(se,"");if(!e||!(t=la(t)))return e;var a=hn(e);return wa(a,tn(a,hn(t))).join("")},qn.truncate=function(e,t){var n=30,a="...";if(Xr(t)){var s="separator"in t?t.separator:s;n="length"in t?ho(t.length):n,a="omission"in t?la(t.omission):a}var r=(e=yo(e)).length;if(on(e)){var o=hn(e);r=o.length}if(n>=r)return e;var c=n-mn(a);if(c<1)return a;var l=o?wa(o,0,c).join(""):e.slice(0,c);if(s===i)return l+a;if(o&&(c+=l.length-c),ao(s)){if(e.slice(c).search(s)){var u,p=l;for(s.global||(s=Ie(s.source,yo(he.exec(s))+"g")),s.lastIndex=0;u=s.exec(p);)var d=u.index;l=l.slice(0,d===i?c:d)}}else if(e.indexOf(la(s),c)!=c){var m=l.lastIndexOf(s);m>-1&&(l=l.slice(0,m))}return l+a},qn.unescape=function(e){return(e=yo(e))&&G.test(e)?e.replace(V,gn):e},qn.uniqueId=function(e){var t=++Pe;return yo(e)+t},qn.upperCase=Go,qn.upperFirst=Jo,qn.each=vr,qn.eachRight=yr,qn.first=Ks,oc(qn,(wc={},xi(qn,(function(e,t){Ue.call(qn.prototype,t)||(wc[t]=e)})),wc),{chain:!1}),qn.VERSION="4.17.21",Rt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){qn[e].placeholder=qn})),Rt(["drop","take"],(function(e,t){Yn.prototype[e]=function(n){n=n===i?1:yn(ho(n),0);var a=this.__filtered__&&!t?new Yn(this):this.clone();return a.__filtered__?a.__takeCount__=bn(n,a.__takeCount__):a.__views__.push({size:bn(n,f),type:e+(a.__dir__<0?"Right":"")}),a},Yn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Rt(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=1==n||3==n;Yn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:cs(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),Rt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Yn.prototype[e]=function(){return this[n](1).value()[0]}})),Rt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Yn.prototype[e]=function(){return this.__filtered__?new Yn(this):this[n](1)}})),Yn.prototype.compact=function(){return this.filter(ic)},Yn.prototype.find=function(e){return this.filter(e).head()},Yn.prototype.findLast=function(e){return this.reverse().find(e)},Yn.prototype.invokeMap=Ji((function(e,t){return"function"==typeof e?new Yn(this):this.map((function(n){return ji(n,e,t)}))})),Yn.prototype.reject=function(e){return this.filter(Fr(cs(e)))},Yn.prototype.slice=function(e,t){e=ho(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Yn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=ho(t))<0?n.dropRight(-t):n.take(t-e)),n)},Yn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Yn.prototype.toArray=function(){return this.take(f)},xi(Yn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),s=qn[a?"take"+("last"==t?"Right":""):t],r=a||/^find/.test(t);s&&(qn.prototype[t]=function(){var t=this.__wrapped__,o=a?[1]:arguments,c=t instanceof Yn,l=o[0],u=c||Br(t),p=function(e){var t=s.apply(qn,Ut([e],o));return a&&d?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var d=this.__chain__,m=!!this.__actions__.length,h=r&&!d,f=c&&!m;if(!r&&u){t=f?t:new Yn(this);var g=e.apply(t,o);return g.__actions__.push({func:dr,args:[p],thisArg:i}),new Bn(g,d)}return h&&f?e.apply(this,o):(g=this.thru(p),h?a?g.value()[0]:g.value():g)})})),Rt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=je[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);qn.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var a=this.value();return t.apply(Br(a)?a:[],e)}return this[n]((function(n){return t.apply(Br(n)?n:[],e)}))}})),xi(Yn.prototype,(function(e,t){var n=qn[t];if(n){var i=n.name+"";Ue.call(On,i)||(On[i]=[]),On[i].push({name:t,func:n})}})),On[qa(i,2).name]=[{name:"wrapper",func:i}],Yn.prototype.clone=function(){var e=new Yn(this.__wrapped__);return e.__actions__=Aa(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Aa(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Aa(this.__views__),e},Yn.prototype.reverse=function(){if(this.__filtered__){var e=new Yn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Yn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Br(e),i=t<0,a=n?e.length:0,s=function(e,t,n){var i=-1,a=n.length;for(;++i<a;){var s=n[i],r=s.size;switch(s.type){case"drop":e+=r;break;case"dropRight":t-=r;break;case"take":t=bn(t,e+r);break;case"takeRight":e=yn(e,t-r)}}return{start:e,end:t}}(0,a,this.__views__),r=s.start,o=s.end,c=o-r,l=i?o:r-1,u=this.__iteratees__,p=u.length,d=0,m=bn(c,this.__takeCount__);if(!n||!i&&a==c&&m==c)return ha(e,this.__actions__);var h=[];e:for(;c--&&d<m;){for(var f=-1,g=e[l+=t];++f<p;){var v=u[f],y=v.iteratee,b=v.type,x=y(g);if(2==b)g=x;else if(!x){if(1==b)continue e;break e}}h[d++]=g}return h},qn.prototype.at=mr,qn.prototype.chain=function(){return pr(this)},qn.prototype.commit=function(){return new Bn(this.value(),this.__chain__)},qn.prototype.next=function(){this.__values__===i&&(this.__values__=po(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},qn.prototype.plant=function(e){for(var t,n=this;n instanceof Dn;){var a=Ms(n);a.__index__=0,a.__values__=i,t?s.__wrapped__=a:t=a;var s=a;n=n.__wrapped__}return s.__wrapped__=e,t},qn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Yn){var t=e;return this.__actions__.length&&(t=new Yn(this)),(t=t.reverse()).__actions__.push({func:dr,args:[Xs],thisArg:i}),new Bn(t,this.__chain__)}return this.thru(Xs)},qn.prototype.toJSON=qn.prototype.valueOf=qn.prototype.value=function(){return ha(this.__wrapped__,this.__actions__)},qn.prototype.first=qn.prototype.head,Qe&&(qn.prototype[Qe]=function(){return this}),qn}();gt?((gt.exports=vn)._=vn,ft._=vn):ht._=vn}).call(n)}(pp,pp.exports);var dp=pp.exports;const mp={type:G,stimulus:()=>!r.session.get("config").story||"default"===r.session.get("config").userMode&&r.session.get("config").userMetadata.grade>=6?qt.audio[dp.camelCase("introductionNs")]:qt.audio[dp.camelCase("introduction")],prompt:()=>!r.session.get("config").story||"default"===r.session.get("config").userMode&&r.session.get("config").userMetadata.grade>=6?`\n <div class = "jspsych-content-modified">\n <div class="container">\n <img src="${qt.images.academyBackground}" alt= "background" style="width:100%;"> \n </div>\n <div class="text-block">\n <h3> ${Ue.t("introduction.intro.text1")} </h3>\n <p> ${Ue.t("introduction.intro.text2")} </p> \n <p> ${Ue.t("introduction.intro.text3")} </p>\n </div>\n ${Mt?"":`<div class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.continue")}`})} </div>`}\n </div>\n `:`\n <div class = "jspsych-content-modified">\n <div class="container">\n <img src="${qt.images.academyBackground}" alt= "background" style="width:100%;"> \n </div>\n <div class="text-block">\n <h3> ${Ue.t("introduction.intro.text4")} </h3>\n <p> ${Ue.t("introduction.intro.text5")} </p> \n <p> ${Ue.t("introduction.intro.text6")} </p> \n <p> ${Ue.t("introduction.intro.text3")} </p>\n </div>\n ${Mt?"":`<div class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.continue")}`})} </div>`}\n </div>`,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>Mt?`<button class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.here")}`,action:`${Ue.t("terms.continue")}`})} </button>`:"",on_start:()=>document.body.style.cursor="none"},hp={timeline:[{type:G,stimulus:()=>qt.audio.postPracticeInstruction,prompt:()=>`\n <div class="jspsych-content-modified" id="sre-background">\n <h3>${Ue.t("practice.postPracticeIntro.text1")}</h3>\n <p>${Ue.t("practice.postPracticeIntro.text2")}</p>\n <p>${Ue.t("practice.postPracticeIntro.text3")}</p>\n <p>${Ue.t("practice.postPracticeIntro.text4")}</p>\n <p>${Ue.t("practice.postPracticeIntro.text5")}</p>\n ${Mt?"":`<div class="button">${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.continue")}`})}</div>`}\n </div>`,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>Mt?`<button class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.here")}`,action:`${Ue.t("terms.continue")}`})} </button>`:""},{type:G,stimulus:()=>qt.audio.postPracticeReminder,prompt:()=>`\n <div class="jspsych-content-modified" id="sre-background">\n <h2>Remember!</h2>\n <div class="row">\n <div class="column_2_lower" style="background-color:#FFFFFF;">\n <p style = "text-align:center;"> ${Ue.t(Mt?"practice.postPracticeReminder.text1Mobile":"practice.postPracticeReminder.text1")} </p>\n <img width="70%" src="${qt.images.falseKey}" alt="arrow keys">\n </div>\n <div class="column_2_lower" style="background-color:#FFFFFF;">\n <p style = "text-align:center;"> ${Ue.t(Mt?"practice.postPracticeReminder.text2Mobile":"practice.postPracticeReminder.text2")} </p>\n <img width="70%" src="${qt.images.trueKey}" alt="arrow keys">\n </div>\n </div>\n <p><b> ${Ue.t("practice.postPracticeReminder.text3")} </b></p>\n <p><b> ${Ue.t("practice.postPracticeReminder.text4")} </b></p>\n ${Mt?"":`<div class="button">${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.begin")}`})} </div>`}\n </div>`,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>Mt?`<button class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.here")}`,action:`${Ue.t("terms.begin")}`})} </button>`:"",on_finish:e=>{r.session.set("indexTracking",0)}}]},fp={name:"html-multi-response",parameters:{stimulus:{type:d.HTML_STRING,pretty_name:"Stimulus",default:void 0},button_choices:{type:d.STRING,pretty_name:"Button Choices",default:[],array:!0},keyboard_choices:{type:d.KEYS,pretty_name:"Keyboard Choices",default:"NO_KEYS"},button_html:{type:d.HTML_STRING,pretty_name:"Button HTML",default:'<button class="jspsych-btn">%choice%</button>',array:!0},prompt:{type:d.HTML_STRING,pretty_name:"Prompt",default:null},stimulus_duration:{type:d.INT,pretty_name:"Stimulus duration",default:null},trial_duration:{type:d.INT,pretty_name:"Trial duration",default:null},margin_vertical:{type:d.STRING,pretty_name:"Margin vertical",default:"0px"},margin_horizontal:{type:d.STRING,pretty_name:"Margin horizontal",default:"8px"},response_ends_trial:{type:d.BOOL,pretty_name:"Response ends trial",default:!0}}};class gp{constructor(e){this.jsPsych=e}trial(e,t){var n='<div id="jspsych-html-multi-response-stimulus">'+t.stimulus+"</div>",i=[];if(Array.isArray(t.button_html))t.button_html.length==t.button_choices.length?i=t.button_html:console.error("Error in html-multi-response plugin. The length of the button_html array does not equal the length of the button_choices array");else for(var a=0;a<t.button_choices.length;a++)i.push(t.button_html);n+='<div id="jspsych-html-multi-response-btngroup">';for(a=0;a<t.button_choices.length;a++){var s=i[a].replace(/%choice%/g,t.button_choices[a]);n+='<div class="jspsych-html-multi-response-button" style="display: inline-block; margin:'+t.margin_vertical+" "+t.margin_horizontal+'" id="jspsych-html-multi-response-button-'+a+'" data-choice="'+a+'">'+s+"</div>"}n+="</div>",null!==t.prompt&&(n+=t.prompt),e.innerHTML=n;if("NO_KEYS"!=t.keyboard_choices)var r=this.jsPsych.pluginAPI.getKeyboardResponse({callback_function:function(n){e.querySelector("#jspsych-html-multi-response-stimulus").className+=" responded",null==c.key&&(c=Object.assign({source:"keyboard",button:null},n)),t.response_ends_trial&&l()},valid_responses:t.keyboard_choices,rt_method:"performance",persist:!1,allow_held_key:!1});var o=performance.now();for(a=0;a<t.button_choices.length;a++)e.querySelector("#jspsych-html-multi-response-button-"+a).addEventListener("click",(e=>{u(e.currentTarget.getAttribute("data-choice"))}));var c={rt:null,button:null,key:null,source:null};const l=()=>{this.jsPsych.pluginAPI.clearAllTimeouts(),void 0!==r&&this.jsPsych.pluginAPI.cancelKeyboardResponse(r);var n={rt:c.rt,stimulus:t.stimulus,button_response:c.button,keyboard_response:c.key,response_source:c.source};e.innerHTML="",this.jsPsych.finishTrial(n)};function u(n){var i=performance.now(),a=Math.round(i-o);c.button=parseInt(n),c.rt=a,c.source="button",e.querySelector("#jspsych-html-multi-response-stimulus").className+=" responded";for(var s=document.querySelectorAll(".jspsych-html-multi-response-button button"),r=0;r<s.length;r++)s[r].setAttribute("disabled","disabled");t.response_ends_trial&&l()}null!==t.stimulus_duration&&this.jsPsych.pluginAPI.setTimeout((()=>{e.querySelector("#jspsych-html-multi-response-stimulus").style.visibility="hidden"}),t.stimulus_duration),null!==t.trial_duration&&this.jsPsych.pluginAPI.setTimeout(l,t.trial_duration)}simulate(e,t,n,i){"data-only"==t&&(i(),this.simulate_data_only(e,n)),"visual"==t&&this.simulate_visual(e,n,i)}create_simulation_data(e,t){const n={stimulus:e.stimulus,rt:this.jsPsych.randomization.sampleExGaussian(500,50,1/150,!0),keyboard_response:this.jsPsych.pluginAPI.getValidKey(e.keyboard_choices),button_response:null,response_source:"keyboard"},i={stimulus:e.stimulus,rt:this.jsPsych.randomization.sampleExGaussian(500,50,1/150,!0),button_response:this.jsPsych.randomization.randomInt(0,e.button_choices.length-1),keyboard_response:null,response_source:"button"},a=Math.random()<.5?n:i,s=this.jsPsych.pluginAPI.mergeSimulationData(a,t);return this.jsPsych.pluginAPI.ensureSimulationDataConsistency(e,s),s}simulate_data_only(e,t){const n=this.create_simulation_data(e,t);this.jsPsych.finishTrial(n)}simulate_visual(e,t,n){const i=this.create_simulation_data(e,t),a=this.jsPsych.getDisplayElement();this.trial(a,e),n(),null!==i.rt&&(null!==i.button_response?this.jsPsych.pluginAPI.clickTarget(a.querySelector(`div[data-choice="${i.button_response}"] button`),i.rt):this.jsPsych.pluginAPI.pressKey(i.keyboard_response,i.rt))}}gp.info=fp,d.HTML_STRING,d.KEYS,d.HTML_STRING,d.INT,d.INT,d.BOOL;const vp={type:G,stimulus:()=>!r.session.get("config").story||"default"===r.session.get("config").userMode&&r.session.get("config").userMetadata.grade>=6?qt.audio[dp.camelCase("halfwayNs")]:r.session.get("config").story?qt.audio[dp.camelCase(`${r.session("character")}Halfway`)]:void 0,prompt:()=>!r.session.get("config").story||"default"===r.session.get("config").userMode&&r.session.get("config").userMetadata.grade>=6?`\n <div class = "jspsych-content-modified">\n <div class="container">\n <img src="${qt.images.classroomBackground}" alt= "background" style="width:100%;"> \n </div>\n <div class="text-block">\n <h3> ${Ue.t("gameBreak.halfwayScreen.text1")} </h3>\n <p> ${Ue.t("gameBreak.halfwayScreen.text2")} </p>\n </div>\n ${Mt?"":`<div class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.continue")}`})} </div>`}\n </div>\n `:`\n <div class="jspsych-content-modified" id="sre-background">\n <div class="row">\n <div class="column_1">\n <img class="characterleft" src="${qt.images[dp.camelCase(`${r.session("character")}Talking`)]}" alt="animation of student talking">\n </div>\n <div class= "column_3 halfway-text-block">\n <div class="middle" id="halfway-position">\n <p> ${Ue.t("gameBreak.halfwayScreen.text3")}</p>\n <p> ${Ue.t("gameBreak.halfwayScreen.text4")}</p>\n </div>\n </div>\n </div>\n ${Mt?"":`<div class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.continue")}`})} </div>`}\n </div>`,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>`<button class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.here")}`,action:`${Ue.t("terms.continue")}`})} </button>`,on_finish:e=>{r.session.set("indexTracking",0)}},yp={timeline:[{type:G,stimulus:()=>!r.session.get("config").story||"default"===r.session.get("config").userMode&&r.session.get("config").userMetadata.grade>=6?qt.audio[dp.camelCase("endNs")]:r.session.get("config").story?qt.audio[dp.camelCase(`${r.session("character")}End`)]:void 0,prompt:()=>!r.session.get("config").story||"default"===r.session.get("config").userMode&&r.session.get("config").userMetadata.grade>=6?`\n <div class="jspsych-content-modified">\n <div class="container">\n <img src="${qt.images.academyBackground}" alt= "background" style="width:100%;"> \n </div>\n <div class="text-block">\n <h3> ${Ue.t("gameBreak.endScreen.text1")} </h3>\n <p> ${Ue.t("gameBreak.endScreen.text2")} </p> \n </div>\n ${Mt?"":`<div class="button">${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.save")}`})}</div>`}\n </div>\n `:`\n <div class="jspsych-content-modified">\n <div class="class-container">\n <img src="${qt.images.classroomBackground}" alt= "classroom" style="width:100%;"> \n </div>\n <div class="upper">\n <div class="select-text-block"> <span style="font-weight:bold; white-space:nowrap">\n <h3> ${Ue.t("gameBreak.endScreen.text3")} </h3>\n <p> ${r.session("character_name")} ${Ue.t("gameBreak.endScreen.text4")} </p> \n </div>\n </div>\n <div class="student" id="end-student">\n <img src="${qt.images[dp.camelCase(`${r.session("character")}Happy`)]}" alt= "character is happy"> \n </div>\n ${Mt?"":`<div class="button">${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.save")}`})}</div>`}\n </div>\n `,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>`<button class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.here")}`,action:`${Ue.t("terms.save")}`})} </button>`,data:{save_trial:!1}},{timeline:[{type:gp,stimulus:()=>`<div class="jspsych-content-modified">\n <div class="container">\n <img src="${qt.images.academyBackground}" alt= "background" style="width:100%;"> </div>\n <div class="demo-text-block">\n <h3>${Ue.t("gameBreak.debrief.text1")}</h3>\n <p>${Ue.t("gameBreak.debrief.text2")}</p>\n </div>\n ${Mt?"":`<div class="button">${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.close")}`})}</div>`}\n </div>`,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>`<button class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.here")}`,action:`${Ue.t("terms.close")}`})} </button>`}],conditional_function:()=>"demo"===r.session.get("config").userMode},{type:Q,fullscreen_mode:!1,delay_after:0}]},bp={1:{character:"dog",characterName:"Amy",characterActivity:"go to track practice"},2:{character:"cat",characterName:"Carson",characterActivity:"go to debate club"},3:{character:"bird",characterName:"Jaiden",characterActivity:"hang out with my friends"},4:{character:"deer",characterName:"Dylan",characterActivity:"volunteer at the soup kitchen"}},xp=[1,2,3,4],wp=["dog","cat","bird","deer"],_p={timeline:[{type:G,stimulus:()=>qt.audio.studentSelect,prompt:()=>Mt?`\n <div>\n <img id="mobile-classroom-bg" src=${qt.images.classroomBackground} alt="background"/>\n <h3>${Ue.t("characterSelect.studentSelect.paragraph1")}</h3>\n <p> ${Ue.t(Mt?"characterSelect.studentSelect.paragraph2Mobile":"characterSelect.studentSelect.paragraph2")} </p>\n </div>`:` \n <div class="jspsych-content-modified">\n <div class="class-container">\n <img id="classroom-bg" src=${qt.images.classroomBackground} alt="background"> \n </div> \n <div class="upper">\n <div class="select-text-block"> <span style="font-weight:bold; white-space:nowrap">\n <h3>${Ue.t("characterSelect.studentSelect.paragraph1")}</h3>\n <p> ${Ue.t(Mt?"characterSelect.studentSelect.paragraph2Mobile":"characterSelect.studentSelect.paragraph2")} </p> \n </div>\n </div>\n ${Mt?"":`<div class="number">${xp.map((e=>`<div class="number-block"><n>${e}</n></div>`)).join("")}</div>`}\n <div class="student ${Mt?"mobile-student-select-characters":""}">\n ${wp.map((e=>`<img src=${qt.images[e]} alt=${e}>`)).join("")}\n </div>\n <div class="button">\n ${Ue.t("navigation.studentSelect")} \n </div>\n </div>\n `,keyboard_choices:()=>Mt?"NO_KEYS":["1","2","3","4"],button_choices:()=>Mt?["1","2","3","4"]:[],button_html:()=>'<button class="grade-btn">%choice%</button>',prompt_above_buttons:()=>Mt,data:{save_trial:!1},on_load:()=>{if(Mt){document.getElementById("jspsych-audio-multi-response-btngroup").classList.add("mobile-audio-btn-container");const e=document.getElementById("jspsych-content");if(e){const t=document.createElement("div"),n=document.createTextNode(Ue.t("characterSelect.studentSelect.paragraph3MobileBefore")),i=document.createTextNode(Ue.t("characterSelect.studentSelect.paragraph3MobileAfter")),a=document.createElement("span");a.classList.add("yellow"),a.textContent=Ue.t("characterSelect.studentSelect.paragraph3MobileSpan"),t.appendChild(n),t.appendChild(a),t.appendChild(i),t.classList.add("button");const s=document.createElement("div"),r=wp.map((e=>{const t=document.createElement("img");return t.setAttribute("src",qt.images[e]),t.setAttribute("alt",e),t.classList.add("mobile-character-select"),t}));for(const e of r)s.appendChild(e);e.appendChild(s),e.appendChild(t)}}},on_finish:e=>{r.session.set("character",bp[Mt?e.button_response+1:e.keyboard_response].character),r.session.set("character_name",bp[Mt?e.button_response+1:e.keyboard_response].characterName),r.session.set("character_activity",bp[Mt?e.button_response+1:e.keyboard_response].characterActivity)}},{type:G,stimulus:()=>qt.audio[dp.camelCase(`${r.session("character")}Intro`)],prompt:()=>`\n <div class="jspsych-content-modified" id="sre-background">\n <div class="row">\n <div class="column_1">\n <img class="characterleft" src="${qt.images[dp.camelCase(`${r.session("character")}Talking`)]}" alt="animation of student talking">\n </div>\n <div class= "column_3 student-text-block">\n <div class="middle">\n <p> ${Ue.t("characterSelect.studentIntro.paragraph1")} ${r.session("character_name")}. </p>\n <p> ${Ue.t("characterSelect.studentIntro.paragraph2")} ${r.session("character_activity")}. </p>\n <p> ${Ue.t("characterSelect.studentIntro.paragraph3")} </p>\n </div>\n </div>\n </div>\n ${Mt?"":`<div class="button">${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.anyKey")}`,action:`${Ue.t("terms.continue")}`})}</div>`}\n </div>`,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>`<button class="button"> ${Ue.t("navigation.continueButtonText",{input:`${Ue.t("terms.here")}`,action:`${Ue.t("terms.continue")}`})} </button>`}],conditional_function:()=>!(!r.session.get("config").story||"default"===r.session.get("config").userMode&&r.session.get("config").userMetadata.grade>=6)},Ep=e=>({timeline:[{type:gp,stimulus:()=>{if(0===r.session("indexTracking")){const t=setTimeout((()=>r.session.set("timeOut",!0)),18e4);r.session.set("timerId",t),"lab"===e||"ai"===e?r.session.set("currentCorpus",rp[e]):r.session.set("currentCorpus",rp[r.session("tosrecCorpusId")])}return Mt?`\n <p id="mobile-stimulus">${r.session("currentCorpus")[r.session("indexTracking")].sentence}</p>\n `:`\n <div class=stimulus_div>\n <p class='stimulus'>${r.session("currentCorpus")[r.session("indexTracking")].sentence}</p>\n </div>`},prompt:()=>{if(!Mt)return`\n <div> \n <img class="lower" src="${qt.images.roarSreKeyboard}" alt="arrow keys"> \n </div>`},keyboard_choices:()=>Mt?"NO_KEYS":["ArrowLeft","ArrowRight"],button_choices:()=>Mt?[Ue.t("terms.false")[0].toUpperCase(),Ue.t("terms.true")[0].toUpperCase()]:[],button_html:()=>Mt?[`<button id="mobile-stimulus-btn-left" class="mobile-stimulus-btn"><img src=${qt.images.leftArrowBlankShort} alt=${Ue.t("terms.false")}/><span>${Ue.t("terms.false")[0].toLocaleUpperCase()}</span></button>`,`<button id="mobile-stimulus-btn-right" class="mobile-stimulus-btn"><img src=${qt.images.rightArrowBlankShort} alt=${Ue.t("terms.true")}/><span>${Ue.t("terms.true")[0].toLocaleUpperCase()}</span></button>`]:[],on_load:()=>{if(Mt){document.body.style.display="flex",document.body.style.justifyContent="center",document.body.style.alignContent="center";document.querySelector(".jspsych-content-wrapper").classList.add("mobile-stimulus-wrap");document.getElementById("jspsych-content").classList.add("mobile-stimulus-jspsych-content")}},data:{assessment_stage:"test_response"},on_finish:t=>{t.keyboard_response?"arrowleft"===t.keyboard_response?r.session.set("keyResponse","left"):r.session.set("keyResponse","right"):0===t.button_response?r.session.set("buttonResponse","left"):r.session.set("buttonResponse","right"),t.keyboard_response?t.correct=Ic.pluginAPI.compareKeys(r.session("keyResponse"),r.session("currentCorpus")[r.session("indexTracking")].direction):t.correct=0===t.button_response&&"left"===r.session("currentCorpus")[r.session("indexTracking")].direction||1===t.button_response&&"right"===r.session("currentCorpus")[r.session("indexTracking")].direction,t.correct?r.session.set("dataCorrect",1):r.session.set("dataCorrect",0),Ic.data.addDataToLastTrial({save_trial:!r.session("timeOut"),pid:r.session.get("config").pid,subtask:e,corpusId:"lab"===e||"ai"==e?e:r.session("tosrecCorpusId"),trialNumBlock:r.session("indexTracking")+1,itemId:r.session("currentCorpus")[r.session("indexTracking")].itemId,item:r.session("currentCorpus")[r.session("indexTracking")].sentence,truefalse:r.session("currentCorpus")[r.session("indexTracking")].answer,correct:r.session("dataCorrect"),story:r.session.get("config").story})}},{type:G,stimulus:()=>qt.audio.neutralSoundSub,prompt:()=>Mt?'<p id="mobile-placeholder-stimulus">Invisible Place holder text</p>':`\n <div>\n <img class="lower" src="${qt.images.roarSreKeyboard}" alt="arrow keys">\n </div>`,keyboard_choices:"NO_KEYS",button_choices:()=>Mt?[Ue.t("terms.false")[0].toUpperCase(),Ue.t("terms.true")[0].toUpperCase()]:[],button_html:()=>Mt?[`<button id="mobile-stimulus-btn-left" class="mobile-stimulus-btn"><img src=${qt.images.leftArrowBlankShort} alt=${Ue.t("terms.false")}/><span>${Ue.t("terms.false")[0].toLocaleUpperCase()}</span></button>`,`<button id="mobile-stimulus-btn-right" class="mobile-stimulus-btn"><img src=${qt.images.rightArrowBlankShort} alt=${Ue.t("terms.true")}/><span>${Ue.t("terms.true")[0].toLocaleUpperCase()}</span></button>`]:[],prompt_above_buttons:!0,on_load:()=>{if(Mt){document.body.style.display="flex",document.body.style.justifyContent="center",document.body.style.alignContent="center";document.querySelector(".jspsych-content-wrapper").classList.add("mobile-stimulus-wrap");document.getElementById("jspsych-content").classList.add("mobile-stimulus-jspsych-content")}},trial_duration:200,response_allowed_while_playing:!1,trial_ends_after_audio:!0}],loop_function:function(e){return r.session("indexTracking")===r.session("currentCorpus").length-1||r.session("timeOut")?(r.session.set("indexTracking",0),r.session.set("timeOut",!1),clearTimeout(r.session.get("timerId")),!1):(r.session.transact("indexTracking",(e=>e+1)),!0)}}),Sp={type:G,stimulus:()=>qt.audio.practiceInstruction,prompt:()=>`\n <div class="jspsych-content-modified" id="sre-background">\n <h2>${Ue.t("practice.intro.text1")}</h2>\n <p>${Ue.t("practice.intro.text2")}</p>\n <div class="row">\n <div class="column_2_upper" style="background-color:#FFFFFF;">\n <p style = "text-align:center;"> \n ${Ue.t(Mt?"practice.intro.text3Mobile":"practice.intro.text3")} \n </p>\n <img width="60%" src="${qt.images.practiceLeft}" alt="arrow keys">\n </div>\n <div class="column_2_upper" style="background-color:#FFFFFF;">\n <p style = "text-align:center;"> \n ${Ue.t(Mt?"practice.intro.text4Mobile":"practice.intro.text4")} \n </p>\n <img width="60%" src="${qt.images.practiceRight}" alt="arrow keys">\n </div>\n </div>\n <p> <b>${Ue.t("practice.intro.text5")}</b> </p> \n <div class="button">${Ue.t("practice.intro.text6")}</div>\n </div>\n `,keyboard_choices:()=>Mt?"NO_KEYS":"ALL_KEYS",button_choices:()=>Mt?["HERE"]:[],button_html:()=>`<button class="button">${Ue.t("practice.intro.text6Mobile")}</button>`,on_finish:e=>{r.session.set("indexTracking",-1)}},kp={type:gp,stimulus:()=>(r.session.transact("indexTracking",(e=>e+1)),Mt?`\n <p id="mobile-stimulus">${r.session("practiceCorpus")[r.session("indexTracking")].sentence}</p>\n `:`\n <div class = stimulus_div>\n <p class = 'stimulus'>${r.session("practiceCorpus")[r.session("indexTracking")].sentence}</p>\n </div>`),prompt:()=>{if(!Mt)return`\n <div> \n <img class="lower" src="${qt.images.roarSreKeyboard}" alt="arrow keys"> \n </div>`},keyboard_choices:()=>Mt?"NO_KEYS":["ArrowLeft","ArrowRight"],button_choices:()=>Mt?[Ue.t("terms.false")[0].toUpperCase(),Ue.t("terms.true")[0].toUpperCase()]:[],button_html:()=>Mt?[`<button id="mobile-stimulus-btn-left" class="mobile-stimulus-btn"><img src=${qt.images.leftArrowBlankShort} alt=${Ue.t("terms.false")}/><span>${Ue.t("terms.false")[0].toLocaleUpperCase()}</span></button>`,`<button id="mobile-stimulus-btn-right" class="mobile-stimulus-btn"><img src=${qt.images.rightArrowBlankShort} alt=${Ue.t("terms.true")}/><span>${Ue.t("terms.true")[0].toLocaleUpperCase()}</span></button>`]:[],on_load:()=>{if(Mt){document.body.style.display="flex",document.body.style.justifyContent="center",document.body.style.alignContent="center";document.querySelector(".jspsych-content-wrapper").classList.add("mobile-stimulus-wrap");document.getElementById("jspsych-content").classList.add("mobile-stimulus-jspsych-content")}},data:{assessment_stage:"practice_response",corpusId:"practice",save_trial:!0},on_finish:e=>{e.keyboard_response?(e.correct=Ic.pluginAPI.compareKeys(e.keyboard_response,r.session("practiceCorpus")[r.session("indexTracking")].correct_response),r.session.set("arrowResponse",e.keyboard_response)):e.correct="arrowleft"===r.session("practiceCorpus")[r.session("indexTracking")].correct_response&&0===e.button_response||"arrowright"===r.session("practiceCorpus")[r.session("indexTracking")].correct_response&&1===e.button_response,e.correct?(r.session.set("dataCorrect",1),r.session.set("feedbackResponse","Correct!")):(r.session.set("dataCorrect",0),r.session.set("feedbackResponse","That's not quite right."));const t="arrowleft"===e.keyboard_response||0===e.button_response;r.session.set("responseLR",t?"left":"right"),r.session.set("answerRP",t?"false":"true"),r.session.set("responseColor",t?"orange":"blue");const n="arrowleft"===r.session("practiceCorpus")[r.session("indexTracking")].correct_response;r.session.set("correctLR",n?"left":"right"),r.session.set("correctRP",n?"false":"true"),r.session.set("answerColor",n?"orange":"blue"),Ic.data.addDataToLastTrial({pid:r.session.get("config").pid,subtask:"practice",corpusId:"practice",correct:r.session("dataCorrect"),trialNumBlock:r.session("indexTracking"),item:r.session("practiceCorpus")[r.session("indexTracking")].sentence,truefalse:r.session("practiceCorpus")[r.session("indexTracking")].answer,story:r.session.get("config").story})}};"false"===r.session("correctRP")?qt.images.falseFlashKeySplit:qt.images.falseStaticKeySplit,"false"===r.session("correctRP")?qt.images.trueStaticKeySplit:qt.images.trueFlashKeySplit;const Tp={type:G,response_allowed_while_playing:()=>r.session.get("config").skipInstructions,stimulus:()=>1===r.session("dataCorrect")?qt.audio[`feedback${r.session("indexTracking")}Correct`]:qt.audio[`feedback${r.session("indexTracking")}Incorrect`],prompt:()=>`\n <div class=${Mt?"":"stimulus_div"}>\n <p id=${Mt?"mobile-stimulus-text":""} class="feedback">\n <span class=${r.session("responseColor")}>${r.session("feedbackResponse")} ${Ue.t(Mt?"practice.feedback.text1Mobile":"practice.feedback.text1",{arrow:"left"===r.session("responseLR")?Ue.t("terms.left"):Ue.t("terms.right"),type:"true"==r.session("answerRP")?Ue.t("terms.true"):Ue.t("terms.false")})}</span>\n <br></br> \n "${r.session("practiceCorpus")[r.session("indexTracking")].sentence}"\n <span class=${r.session("answerColor")}> ${Ue.t(Mt?"practice.feedback.text2Mobile":"practice.feedback.text2",{arrow:"left"===r.session("correctLR")?Ue.t("terms.left"):Ue.t("terms.right"),type:"true"==r.session("correctRP")?Ue.t("terms.true"):Ue.t("terms.false")})}</span>\n </p>\n </div>\n ${Mt?"":`<img class="lower" src= "${"false"===r.session("correctRP")?qt.images.falseFlashKey:qt.images.trueFlashKey}" alt="arrow keys">`}`,keyboard_choices:()=>Mt?"NO_KEYS":"false"===r.session("correctRP")?["ArrowLeft"]:["ArrowRight"],button_choices:()=>Mt?["ArrowLeft","ArrowRight"]:[],button_html:()=>Mt?[`<button class="mobile-practice-feedback ${"false"===r.session("correctRP")?"":"mobile-disable-button"}">\n <img src=${"false"===r.session("correctRP")?qt.images.falseFlashKeySplit:qt.images.falseStaticKeySplit} alt="feedback arrow"/>\n </button>`,`<button class="mobile-practice-feedback ${"false"===r.session("correctRP")?"mobile-disable-button":""}" >\n <img src=${"false"===r.session("correctRP")?qt.images.trueStaticKeySplit:qt.images.trueFlashKeySplit} alt="feedback arrow"/>\n </button>`]:"",prompt_above_buttons:()=>Mt,on_load:()=>{document.querySelectorAll(".jspsych-audio-multi-response-button").forEach(((e,t)=>{const n="false"===r.session("correctRP");0!==t||n?1===t&&n&&e.classList.add("mobile-disable-button"):e.classList.add("mobile-disable-button")}))}};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===n&&i.firstChild?i.insertBefore(a,i.firstChild):i.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}('/* CSS Document */\n.jspsych-display-element {\n font-family: "Source Sans Pro", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";\n width: 60%;\n margin: auto;\n text-align: center;\n /*.jspsych-content {\n \tdisplay: flex;\n \tflex-direction: column;\n \tjustify-content: center;\n \talign-items: center;\n \tposition: fixed;\n \tleft: 0;\n \ttop: 0;\n \twidth: 100%;\n \theight: 100%;\n }\n */\n /* jsPsych progress bar */\n /* Control appearance of jsPsych.data.displayData() */\n /* borrowing Bootstrap style for btn elements, but combining styles a bit */\n}\n.jspsych-display-element .grade-btn {\n padding: 1vh 2vh;\n margin: 1vh;\n margin-top: 4vh;\n font-size: 4vh;\n font-weight: bold;\n cursor: pointer;\n text-align: center;\n vertical-align: middle;\n border: 1vh solid transparent;\n border-radius: 1vh;\n color: rgb(255, 202, 97);\n background-color: rgb(76, 101, 139);\n border-color: rgb(65, 91, 127);\n}\n.jspsych-display-element .mobile-grade-select {\n margin-top: 8rem;\n}\n.jspsych-display-element .mobile-student-select-characters {\n margin-top: 40vh;\n}\n.jspsych-display-element #mobile-classroom-bg {\n position: fixed; /* or absolute, depending on your needs */\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: -1; /* This ensures the image stays behind other content */\n object-fit: cover;\n}\n.jspsych-display-element .mobile-character-select {\n width: 20%;\n}\n.jspsych-display-element .mobile-audio-btn-container {\n display: flex;\n justify-content: center;\n gap: 10%;\n}\n.jspsych-display-element .mobile-stimulus-wrap {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content {\n height: 40%;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content #mobile-stimulus {\n font-size: 4rem;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content #mobile-placeholder-stimulus {\n color: white;\n font-size: 4rem;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content .mobile-stimulus-btn {\n position: relative;\n border: none;\n background: none;\n cursor: pointer;\n padding: 0;\n display: inline-block;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content .mobile-stimulus-btn img {\n display: block;\n width: 100%;\n height: auto;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content .mobile-stimulus-btn span {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: white;\n font-size: 7rem;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content #mobile-stimulus-btn-left {\n margin-right: 4rem;\n}\n.jspsych-display-element .mobile-stimulus-wrap .mobile-stimulus-jspsych-content #mobile-stimulus-btn-right {\n margin-left: 4rem;\n}\n.jspsych-display-element .mobile-practice-feedback {\n background: none;\n margin-top: 4rem;\n}\n.jspsych-display-element .mobile-disable-button {\n pointer-events: none;\n}\n.jspsych-display-element #mobile-stimulus-text {\n font-size: 1.75rem;\n}\n.jspsych-display-element #sre-background {\n background-color: rgb(250, 246, 236);\n -webkit-background-size: cover;\n -moz-background-size: cover;\n -o-background-size: cover;\n background-size: cover;\n max-height: 100%;\n max-width: 100%;\n padding: 0px;\n margin: 0px;\n}\n.jspsych-display-element #halfway-position {\n top: 15%;\n}\n.jspsych-display-element #end-classroom {\n position: absolute;\n height: 80%;\n left: 0vh;\n bottom: 45vh;\n}\n.jspsych-display-element #end-student {\n position: relative;\n left: 0vh;\n top: 10vh;\n height: 65%;\n}\n.jspsych-display-element .instruction-background {\n display: block;\n background-color: rgb(250, 246, 236);\n padding-top: 0vh;\n min-height: 100%;\n min-width: 100%;\n}\n.jspsych-display-element h1 {\n margin-top: 10%;\n margin-right: 10%;\n margin-left: 10%;\n text-align: center;\n padding-inline: 10px;\n font-weight: semi-bold;\n font-size: 6vh;\n color: rgb(76, 101, 139);\n}\n.jspsych-display-element h2 {\n text-align: center;\n font-style: normal;\n font-weight: regular;\n font-size: 5vh;\n color: rgb(76, 101, 139);\n}\n.jspsych-display-element h3 {\n text-align: center;\n font-style: normal;\n font-weight: regular;\n font-size: 4vh;\n color: rgb(76, 101, 139);\n z-index: 1;\n}\n.jspsych-display-element p:not(.feedback, .stimulus) {\n text-align: center;\n vertical-align: middle;\n font-style: normal;\n font-weight: normal;\n font-size: 3vh;\n color: rgb(0, 0, 0);\n z-index: 1;\n}\n.jspsych-display-element n {\n text-align: center;\n vertical-align: middle;\n font-style: normal;\n font-weight: bold;\n font-size: 3vh;\n color: rgb(255, 202, 97);\n z-index: 1;\n}\n.jspsych-display-element .consent_form_title {\n margin-right: 10%;\n margin-left: 10%;\n font-size: 3vh;\n}\n.jspsych-display-element .consent_form_text {\n margin: 10%;\n text-align: left;\n font-size: 2vh;\n}\n.jspsych-display-element .survey_form_text {\n text-align: center;\n font-size: 3vh;\n}\n.jspsych-display-element .consent_form_agree {\n margin: 5%;\n text-align: left;\n font-size: 2vh;\n}\n.jspsych-display-element .debrief_text {\n margin: 20%;\n text-align: left;\n font-size: 2vh;\n}\n.jspsych-display-element .jspsych-survey-multi-select-option {\n font-size: 2vh;\n text-align: center;\n}\n.jspsych-display-element .stimulus {\n text-align: center;\n vertical-align: middle;\n font-style: normal;\n font-weight: normal;\n font-size: 4vh;\n line-height: 4vh;\n color: rgb(0, 0, 0);\n}\n.jspsych-display-element .full_screen {\n text-align: center;\n font-style: normal;\n font-weight: normal;\n font-size: 32px;\n line-height: 32px;\n padding-top: 300px;\n color: rgb(0, 0, 0);\n}\n.jspsych-display-element .feedback {\n text-align: center;\n font-style: normal;\n font-weight: bold;\n font-size: 3vh;\n line-height: 3vh;\n color: rgb(0, 0, 0);\n}\n.jspsych-display-element .jspsych-content-modified {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n position: fixed;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n}\n.jspsych-display-element .jspsych-content-modified .class-container {\n width: 100%;\n position: absolute;\n margin: auto;\n display: block;\n}\n.jspsych-display-element .jspsych-content-modified .class-container #classroom-bg {\n position: fixed; /* or absolute, depending on your needs */\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: -1; /* This ensures the image stays behind other content */\n object-fit: cover;\n}\n.jspsych-display-element .text-block {\n position: relative;\n bottom: 15px;\n top: 15px;\n background-color: rgb(246, 241, 230);\n padding-left: 25px;\n padding-right: 25px;\n padding-top: 15px;\n padding-bottom: 15px;\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n}\n.jspsych-display-element .demo-text-block {\n position: relative;\n bottom: 25px;\n top: 15px;\n background-color: rgb(246, 241, 230);\n padding-left: 85px;\n padding-right: 85px;\n padding-top: 60px;\n padding-bottom: 60px;\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n}\n.jspsych-display-element .grade-text-block {\n position: relative;\n bottom: 0px;\n top: 0px;\n left: 0px;\n right: 0px;\n background-color: rgb(246, 241, 230);\n padding-left: 0px;\n padding-right: 0px;\n padding-top: 50px;\n padding-bottom: 90px;\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n}\n.jspsych-display-element .select-text-block {\n position: relative;\n bottom: 15px;\n top: 30px;\n background-color: rgb(246, 241, 230);\n padding-left: 20px;\n padding-right: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n}\n.jspsych-display-element .student-text-block {\n position: relative;\n margin-top: 10vh;\n margin-left: 5vh;\n margin-right: 5vh;\n height: 50vh;\n background-color: rgb(255, 255, 255);\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n}\n.jspsych-display-element .halfway-text-block {\n position: relative;\n margin-top: 20vh;\n margin-left: 5vh;\n margin-right: 5vh;\n margin-bottom: 10vh;\n height: 30vh;\n background-color: rgb(255, 255, 255);\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n}\n.jspsych-display-element .number-block {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n height: 5vh;\n width: 6vh;\n padding-left: 3vh;\n padding-right: 3vh;\n text-align: center;\n vertical-align: middle;\n background-color: rgb(76, 101, 139);\n border: 6px solid rgb(65, 91, 127);\n border-radius: 10px;\n align-self: center;\n}\n.jspsych-display-element .container {\n width: 100%;\n position: fixed;\n display: block;\n}\n.jspsych-display-element .transparent {\n background: rgba(255, 255, 255, 0);\n border-color: rgba(255, 255, 255, 0);\n}\n.jspsych-display-element .center {\n margin: 0;\n position: absolute;\n top: 50%;\n left: 50%;\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}\n.jspsych-display-element .star-center {\n margin: 0;\n position: absolute;\n top: 45%;\n left: 51%;\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}\n.jspsych-display-element .vertical-center {\n margin: 0;\n position: absolute;\n top: 50%;\n -ms-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n.jspsych-display-element .jspsych-video-button-response-stimulus {\n margin: 0;\n position: absolute;\n top: 45%;\n height: 90%;\n -ms-transform: translateY(-45%);\n transform: translateY(-45%);\n}\n.jspsych-display-element .stimulus_div {\n display: flex;\n justify-content: center;\n align-items: center;\n position: fixed;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n}\n.jspsych-display-element .text_div {\n display: flex;\n justify-content: center;\n align-items: center;\n position: fixed;\n left: 0;\n top: 0;\n width: 100%;\n height: 60%;\n}\n.jspsych-display-element .center {\n vertical-align: middle;\n text-align: center;\n}\n.jspsych-display-element .upper {\n position: fixed;\n top: 0%;\n left: 50%;\n transform: translate(-50%, -50%);\n height: 2vh;\n}\n.jspsych-display-element .middle {\n position: relative;\n text-align: left;\n padding-right: 2vh;\n padding-left: 2vh;\n top: 23%;\n}\n.jspsych-display-element .lower {\n position: fixed;\n bottom: 20%;\n left: 50%;\n transform: translate(-50%, -50%);\n height: 7vh;\n}\n.jspsych-display-element .orange {\n color: rgb(219, 97, 69);\n}\n.jspsych-display-element .blue {\n color: rgb(66, 152, 181);\n}\n.jspsych-display-element .yellow {\n color: rgb(255, 202, 97);\n}\n.jspsych-display-element .row {\n display: flex;\n}\n.jspsych-display-element .column_1 {\n padding: 0 0 10vh 0;\n flex: 30%;\n}\n.jspsych-display-element .column_2_upper {\n margin-top: 2%;\n margin-bottom: 2%;\n padding: 3vh 2vh 3vh 2vh;\n flex: 50%;\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n margin-right: 5%;\n margin-left: 5%;\n}\n.jspsych-display-element .column_2_lower {\n padding: 0 2vh 3vh 2vh;\n flex: 50%;\n border: 6px solid rgb(229, 218, 191);\n border-radius: 10px;\n margin-right: 5%;\n margin-left: 5%;\n}\n.jspsych-display-element .column_3 {\n padding: 0 0 0 0;\n flex: 70%;\n margin-right: 10%;\n vertical-align: middle;\n}\n.jspsych-display-element .button {\n left: 0;\n right: 0;\n background-color: rgb(76, 101, 139);\n text-align: center;\n vertical-align: middle;\n padding: 2vh;\n font-style: normal;\n font-weight: bold;\n font-size: 3vh;\n color: white;\n position: fixed;\n display: block;\n bottom: 0;\n border: none;\n z-index: 1;\n}\n.jspsych-display-element .story-scene {\n width: 100%;\n position: fixed;\n display: block;\n bottom: 5vh;\n}\n.jspsych-display-element .scene {\n position: fixed;\n bottom: 5vh;\n width: 100%;\n display: block;\n}\n.jspsych-display-element .characterleft {\n text-align: center;\n vertical-align: middle;\n position: relative;\n top: 10%;\n height: 70vh;\n}\n.jspsych-display-element .student {\n position: relative;\n display: inline-flex;\n flex-direction: row;\n height: 50%;\n width: 50%;\n bottom: 10vh;\n right: 0vh;\n justify-content: center;\n gap: 50px;\n}\n.jspsych-display-element .number {\n position: relative;\n display: inline-flex;\n flex-direction: row;\n height: 50%;\n width: 50%;\n bottom: -10vh;\n left: 1vh;\n justify-content: center;\n gap: 200px;\n}\n.jspsych-display-element .imageleft {\n text-align: center;\n position: relative;\n top: 50%;\n height: 30vh;\n}\n.jspsych-display-element #jspsych-progressbar-container {\n color: #555;\n border-bottom: 1px solid #dedede;\n background-color: #f9f9f9;\n margin-bottom: 1em;\n text-align: center;\n padding: 8px 0px;\n width: 100%;\n line-height: 1em;\n}\n.jspsych-display-element #jspsych-progressbar-container span {\n font-size: 14px;\n padding-right: 14px;\n}\n.jspsych-display-element #jspsych-progressbar-outer {\n background-color: #eee;\n width: 50%;\n margin: auto;\n height: 14px;\n display: inline-block;\n vertical-align: middle;\n box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n}\n.jspsych-display-element #jspsych-progressbar-inner {\n background-color: #aaa;\n width: 0%;\n height: 100%;\n}\n.jspsych-display-element #jspsych-data-display {\n text-align: left;\n}\n.jspsych-display-element .jspsych-btn {\n display: inline-block;\n padding: 1vh 2vh;\n margin: 1vh;\n font-size: 4vh;\n font-weight: bold;\n cursor: pointer;\n line-height: 1.4;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n background-image: none;\n border: 1vh solid transparent;\n border-radius: 1vh;\n color: rgb(255, 202, 97);\n background-color: rgb(76, 101, 139);\n border-color: rgb(65, 91, 127);\n}\n.jspsych-display-element .mep-stimulus {\n display: inline-block;\n width: 1.65vw;\n height: 1.65vw;\n margin: 0.13vw;\n padding: 0px 0px 0.825vw 0px;\n background: white;\n border-style: solid;\n border-width: 0px 0px 8px 0px;\n border-color: rgba(255, 255, 255, 0);\n}\n.jspsych-display-element .bottom-border-blue {\n border-bottom-color: blue !important;\n}\n.jspsych-display-element #jspsych-html-button-response-stimulus {\n margin-bottom: 25vw;\n}\n.jspsych-display-element #fixation-prompt {\n margin-bottom: 0.825%;\n}\n.jspsych-display-element .jspsych-html-button-response-button {\n display: inline-block;\n width: 4vw;\n height: 4vw;\n margin: 0.75vw;\n}\n.jspsych-display-element #jspsych-fullscreen-btn {\n position: sticky;\n bottom: 20%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: rgb(255, 255, 255);\n background-color: rgb(76, 101, 139);\n border-color: darkgrey;\n display: inline-block;\n padding: 1vh 2vh;\n margin: 16vh 1vh 1vh 1vh;\n font-size: 4vh;\n font-weight: bold;\n cursor: pointer;\n line-height: 1.4;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n background-image: none;\n border: 1vh solid transparent;\n border-radius: 1vh;\n}\n.jspsych-display-element .jspsych-survey-html-form {\n position: fixed;\n bottom: 20%;\n left: 50%;\n transform: translate(-50%, -50%);\n}');class Ip{constructor(e,t,n,i){this.gameParams=t,this.userParams=n,this.firekit=e,this.displayElement=i,this.jsPsych=null}async init(){await this.firekit.startRun();const e=await(async(e,t,n,i)=>{const a=mc(mc({...t,...n},hc),Tc),{userMode:s,assessmentPid:r,labId:o,recruitment:c,userMetadata:l,urlParams:u,consent:p,storyOption:d,language:m,skipInstructions:h,grade:f,birthMonth:g,birthYear:v,age:y,ageMonths:b}=a,x=Ct(g,v,y,b),w={pid:r,labId:o,userMode:s||"default",recruitment:c||"pilot",storyOption:d,story:cp(d,f),userMetadata:{...l,grade:f,...x},startTime:new Date,urlParams:u,firekit:e,language:m,skipInstructions:h??!0,consent:p??!0,displayElement:i||null},_=Object.fromEntries(Object.entries(t).map((([e,t])=>[e,w[e]??t])));return await w.firekit.updateTaskParams(_),null!==w.pid&&await w.firekit.updateUser({assessmentPid:w.pid,...l}),w})(this.firekit,this.gameParams,this.userParams,this.displayElement);return r.session.set("config",e),function(e){lp(e);const t=up(e),n=[$t,...t.timeline];return(()=>{const e={timeline:[kp,Tp],repetitions:4};n.push(mp),n.push(_p),n.push(Sp),n.push(e),n.push(hp),n.push(Ep("lab")),n.push(vp),n.push(Ep("ai")),n.push(yp)})(),{jsPsych:Ic,timeline:n}}(e)}async run(){const{jsPsych:e,timeline:t}=await this.init();this.jsPsych=e,this.jsPsych.run(t),await(e=>{const t=n=>{e()?n():setTimeout((e=>t(n)),400)};return new Promise(t)})((()=>!0===this.firekit.run.completed))}async abort(){this.firekit.abortRun(),document.querySelectorAll("audio").forEach((e=>e.pause())),this.jsPsych&&this.jsPsych.endExperiment()}}export{Ip as default};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bdelab/roar-sre",
|
|
3
3
|
"description": "The ROAR hackathon version of the timed sentence reading efficiency",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"author": "Jasmine Tran <jasetran@stanford.edu>",
|
|
6
6
|
"module": "lib/swr.esm.min.js",
|
|
7
7
|
"type": "module",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@babel/core": "^7.19.3",
|
|
38
38
|
"@babel/preset-env": "^7.19.4",
|
|
39
|
-
"@bdelab/roar-firekit": "^3.12.
|
|
39
|
+
"@bdelab/roar-firekit": "^3.12.5",
|
|
40
40
|
"@bdelab/roar-utils": "^1.0.11",
|
|
41
41
|
"@jspsych-contrib/plugin-audio-multi-response": "^1.0.0",
|
|
42
42
|
"@jspsych-contrib/plugin-html-multi-response": "^1.0.2",
|