@bdelab/roar-sre 1.10.1 → 1.11.0
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/index.95edec73.js +26 -0
- package/lib/index.95edec73.js.map +1 -0
- package/package.json +15 -7
- package/lib/index.97c590d8.js +0 -26
- package/lib/index.97c590d8.js.map +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
;!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="17a62d9f-5368-4b3f-a50c-9267437ba30e",e._sentryDebugIdIdentifier="sentry-dbid-17a62d9f-5368-4b3f-a50c-9267437ba30e")}catch(e){}}();import e from"path";import t from"stream";("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"3fb6718e9cb2a001f58a7e01e6a20b833f860ad0"};var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var s,r={exports:{}};
|
|
2
|
+
/*! store2 - v2.14.2 - 2022-07-18
|
|
3
|
+
* Copyright (c) 2022 Nathan Bubna; Licensed (MIT OR GPL-3.0) */s=r,function(e,t){var n={version:"2.14.2",areas:{},apis:{},nsdelim:".",inherit:function(e,t){for(var n in e)t.hasOwnProperty(n)||Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n));return t},stringify:function(e,t){return void 0===e||"function"==typeof e?e+"":JSON.stringify(e,t||n.replace)},parse:function(e,t){try{return JSON.parse(e,t||n.revive)}catch(t){return e}},fn:function(e,t){for(var i in n.storeAPI[e]=t,n.apis)n.apis[i][e]=t},get:function(e,t){return e.getItem(t)},set:function(e,t,n){e.setItem(t,n)},remove:function(e,t){e.removeItem(t)},key:function(e,t){return e.key(t)},length:function(e){return e.length},clear:function(e){e.clear()},Store:function(e,t,i){var s=n.inherit(n.storeAPI,(function(e,t,n){return 0===arguments.length?s.getAll():"function"==typeof t?s.transact(e,t,n):void 0!==t?s.set(e,t,n):"string"==typeof e||"number"==typeof e?s.get(e):"function"==typeof e?s.each(e):e?s.setAll(e,t):s.clear()}));s._id=e;try{var r="__store2_test";t.setItem(r,"ok"),s._area=t,t.removeItem(r)}catch(e){s._area=n.storage("fake")}return s._ns=i||"",n.areas[e]||(n.areas[e]=s._area),n.apis[s._ns+s._id]||(n.apis[s._ns+s._id]=s),s},storeAPI:{area:function(e,t){var i=this[e];return i&&i.area||(i=n.Store(e,t,this._ns),this[e]||(this[e]=i)),i},namespace:function(e,t,i){if(i=i||this._delim||n.nsdelim,!e)return this._ns?this._ns.substring(0,this._ns.length-i.length):"";var s=e,r=this[s];if(!(r&&r.namespace||((r=n.Store(this._id,this._area,this._ns+s+i))._delim=i,this[s]||(this[s]=r),t)))for(var a in n.areas)r.area(a,n.areas[a]);return r},isFake:function(e){return e?(this._real=this._area,this._area=n.storage("fake")):!1===e&&(this._area=this._real||this._area),"fake"===this._area.name},toString:function(){return"store"+(this._ns?"."+this.namespace():"")+"["+this._id+"]"},has:function(e){return this._area.has?this._area.has(this._in(e)):!!(this._in(e)in this._area)},size:function(){return this.keys().length},each:function(e,t){for(var i=0,s=n.length(this._area);i<s;i++){var r=this._out(n.key(this._area,i));if(void 0!==r&&!1===e.call(this,r,this.get(r),t))break;s>n.length(this._area)&&(s--,i--)}return t||this},keys:function(e){return this.each((function(e,t,n){n.push(e)}),e||[])},get:function(e,t){var i,s=n.get(this._area,this._in(e));return"function"==typeof t&&(i=t,t=null),null!==s?n.parse(s,i):null!=t?t:s},getAll:function(e){return this.each((function(e,t,n){n[e]=t}),e||{})},transact:function(e,t,n){var i=this.get(e,n),s=t(i);return this.set(e,void 0===s?i:s),this},set:function(e,t,i){var s,r=this.get(e);return null!=r&&!1===i?t:("function"==typeof i&&(s=i,i=void 0),n.set(this._area,this._in(e),n.stringify(t,s),i)||r)},setAll:function(e,t){var n,i;for(var s in e)i=e[s],this.set(s,i,t)!==i&&(n=!0);return n},add:function(e,t,i){var s=this.get(e);if(s instanceof Array)t=s.concat(t);else if(null!==s){var r=typeof s;if(r===typeof t&&"object"===r){for(var a in t)s[a]=t[a];t=s}else t=s+t}return n.set(this._area,this._in(e),n.stringify(t,i)),t},remove:function(e,t){var i=this.get(e,t);return n.remove(this._area,this._in(e)),i},clear:function(){return this._ns?this.each((function(e){n.remove(this._area,this._in(e))}),1):n.clear(this._area),this},clearAll:function(){var e=this._area;for(var t in n.areas)n.areas.hasOwnProperty(t)&&(this._area=n.areas[t],this.clear());return this._area=e,this},_in:function(e){return"string"!=typeof e&&(e=n.stringify(e)),this._ns?this._ns+e:e},_out:function(e){return this._ns?e&&0===e.indexOf(this._ns)?e.substring(this._ns.length):void 0:e}},storage:function(e){return n.inherit(n.storageAPI,{items:{},name:e})},storageAPI:{length:0,has:function(e){return this.items.hasOwnProperty(e)},key:function(e){var t=0;for(var n in this.items)if(this.has(n)&&e===t++)return n},setItem:function(e,t){this.has(e)||this.length++,this.items[e]=t},removeItem:function(e){this.has(e)&&(delete this.items[e],this.length--)},getItem:function(e){return this.has(e)?this.items[e]:null},clear:function(){for(var e in this.items)this.removeItem(e)}}},i=n.Store("local",function(){try{return localStorage}catch(e){}}());i.local=i,i._=n,i.area("session",function(){try{return sessionStorage}catch(e){}}()),i.area("page",n.storage("page")),"function"==typeof t&&void 0!==t.amd?t("store2",[],(function(){return i})):s.exports?s.exports=i:(e.store&&(n.conflict=e.store),e.store=i)}(n,n&&n.define);var a=i(r.exports);var o=function(){this.__data__=[],this.size=0};var c=function(e,t){return e===t||e!=e&&t!=t},l=c;var d=function(e,t){for(var n=e.length;n--;)if(l(e[n][0],t))return n;return-1},u=d,p=Array.prototype.splice;var f=d;var h=d;var m=d;var g=o,y=function(e){var t=this.__data__,n=u(t,e);return!(n<0)&&(n==t.length-1?t.pop():p.call(t,n,1),--this.size,!0)},v=function(e){var t=this.__data__,n=f(t,e);return n<0?void 0:t[n][1]},b=function(e){return h(this.__data__,e)>-1},_=function(e,t){var n=this.__data__,i=m(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this};function w(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])}}w.prototype.clear=g,w.prototype.delete=y,w.prototype.get=v,w.prototype.has=b,w.prototype.set=_;var I=w,x=I;var E=function(){this.__data__=new x,this.size=0};var S=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var A=function(e){return this.__data__.get(e)};var k=function(e){return this.__data__.has(e)},T="object"==typeof n&&n&&n.Object===Object&&n,R=T,C="object"==typeof self&&self&&self.Object===Object&&self,L=R||C||Function("return this")(),O=L.Symbol,N=O,F=Object.prototype,j=F.hasOwnProperty,P=F.toString,U=N?N.toStringTag:void 0;var M=function(e){var t=j.call(e,U),n=e[U];try{e[U]=void 0;var i=!0}catch(e){}var s=P.call(e);return i&&(t?e[U]=n:delete e[U]),s},D=Object.prototype.toString;var $=M,z=function(e){return D.call(e)},B=O?O.toStringTag:void 0;var q=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":B&&B in Object(e)?$(e):z(e)};var V=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},H=q,W=V;var Y,K=function(e){if(!W(e))return!1;var t=H(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},G=L["__core-js_shared__"],J=(Y=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"";var X=function(e){return!!J&&J in e},Q=Function.prototype.toString;var Z=function(e){if(null!=e){try{return Q.call(e)}catch(e){}try{return e+""}catch(e){}}return""},ee=K,te=X,ne=V,ie=Z,se=/^\[object .+?Constructor\]$/,re=Function.prototype,ae=Object.prototype,oe=re.toString,ce=ae.hasOwnProperty,le=RegExp("^"+oe.call(ce).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var de=function(e){return!(!ne(e)||te(e))&&(ee(e)?le:se).test(ie(e))},ue=function(e,t){return null==e?void 0:e[t]};var pe=function(e,t){var n=ue(e,t);return de(n)?n:void 0},fe=pe(L,"Map"),he=pe(Object,"create"),me=he;var ge=function(){this.__data__=me?me(null):{},this.size=0};var ye=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ve=he,be=Object.prototype.hasOwnProperty;var _e=function(e){var t=this.__data__;if(ve){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return be.call(t,e)?t[e]:void 0},we=he,Ie=Object.prototype.hasOwnProperty;var xe=he;var Ee=ge,Se=ye,Ae=_e,ke=function(e){var t=this.__data__;return we?void 0!==t[e]:Ie.call(t,e)},Te=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=xe&&void 0===t?"__lodash_hash_undefined__":t,this};function Re(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])}}Re.prototype.clear=Ee,Re.prototype.delete=Se,Re.prototype.get=Ae,Re.prototype.has=ke,Re.prototype.set=Te;var Ce=Re,Le=I,Oe=fe;var Ne=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Fe=function(e,t){var n=e.__data__;return Ne(t)?n["string"==typeof t?"string":"hash"]:n.map},je=Fe;var Pe=Fe;var Ue=Fe;var Me=Fe;var De=function(){this.size=0,this.__data__={hash:new Ce,map:new(Oe||Le),string:new Ce}},$e=function(e){var t=je(this,e).delete(e);return this.size-=t?1:0,t},ze=function(e){return Pe(this,e).get(e)},Be=function(e){return Ue(this,e).has(e)},qe=function(e,t){var n=Me(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this};function Ve(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])}}Ve.prototype.clear=De,Ve.prototype.delete=$e,Ve.prototype.get=ze,Ve.prototype.has=Be,Ve.prototype.set=qe;var He=Ve,We=I,Ye=fe,Ke=He;var Ge=I,Je=E,Xe=S,Qe=A,Ze=k,et=function(e,t){var n=this.__data__;if(n instanceof We){var i=n.__data__;if(!Ye||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ke(i)}return n.set(e,t),this.size=n.size,this};function tt(e){var t=this.__data__=new Ge(e);this.size=t.size}tt.prototype.clear=Je,tt.prototype.delete=Xe,tt.prototype.get=Qe,tt.prototype.has=Ze,tt.prototype.set=et;var nt=tt;var it=He,st=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},rt=function(e){return this.__data__.has(e)};function at(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new it;++t<n;)this.add(e[t])}at.prototype.add=at.prototype.push=st,at.prototype.has=rt;var ot=at,ct=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1},lt=function(e,t){return e.has(t)};var dt=function(e,t,n,i,s,r){var a=1&n,o=e.length,c=t.length;if(o!=c&&!(a&&c>o))return!1;var l=r.get(e),d=r.get(t);if(l&&d)return l==t&&d==e;var u=-1,p=!0,f=2&n?new ot:void 0;for(r.set(e,t),r.set(t,e);++u<o;){var h=e[u],m=t[u];if(i)var g=a?i(m,h,u,t,e,r):i(h,m,u,e,t,r);if(void 0!==g){if(g)continue;p=!1;break}if(f){if(!ct(t,(function(e,t){if(!lt(f,t)&&(h===e||s(h,e,n,i,r)))return f.push(t)}))){p=!1;break}}else if(h!==m&&!s(h,m,n,i,r)){p=!1;break}}return r.delete(e),r.delete(t),p},ut=L.Uint8Array;var pt=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n};var ft=ut,ht=c,mt=dt,gt=pt,yt=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},vt=O?O.prototype:void 0,bt=vt?vt.valueOf:void 0;var _t=function(e,t,n,i,s,r,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new ft(e),new ft(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return ht(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var o=gt;case"[object Set]":var c=1&i;if(o||(o=yt),e.size!=t.size&&!c)return!1;var l=a.get(e);if(l)return l==t;i|=2,a.set(e,t);var d=mt(o(e),o(t),i,s,r,a);return a.delete(e),d;case"[object Symbol]":if(bt)return bt.call(e)==bt.call(t)}return!1};var wt=function(e,t){for(var n=-1,i=t.length,s=e.length;++n<i;)e[s+n]=t[n];return e},It=Array.isArray,xt=wt,Et=It;var St=function(e,t,n){var i=t(e);return Et(e)?i:xt(i,n(e))};var At=function(){return[]},kt=function(e,t){for(var n=-1,i=null==e?0:e.length,s=0,r=[];++n<i;){var a=e[n];t(a,n,e)&&(r[s++]=a)}return r},Tt=At,Rt=Object.prototype.propertyIsEnumerable,Ct=Object.getOwnPropertySymbols,Lt=Ct?function(e){return null==e?[]:(e=Object(e),kt(Ct(e),(function(t){return Rt.call(e,t)})))}:Tt;var Ot=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i};var Nt=function(e){return null!=e&&"object"==typeof e},Ft=q,jt=Nt;var Pt=function(e){return jt(e)&&"[object Arguments]"==Ft(e)},Ut=Nt,Mt=Object.prototype,Dt=Mt.hasOwnProperty,$t=Mt.propertyIsEnumerable,zt=Pt(function(){return arguments}())?Pt:function(e){return Ut(e)&&Dt.call(e,"callee")&&!$t.call(e,"callee")},Bt={exports:{}};var qt=function(){return!1};!function(e,t){var n=L,i=qt,s=t&&!t.nodeType&&t,r=s&&e&&!e.nodeType&&e,a=r&&r.exports===s?n.Buffer:void 0,o=(a?a.isBuffer:void 0)||i;e.exports=o}(Bt,Bt.exports);var Vt=Bt.exports,Ht=/^(?:0|[1-9]\d*)$/;var Wt=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Ht.test(e))&&e>-1&&e%1==0&&e<t};var Yt=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Kt=q,Gt=Yt,Jt=Nt,Xt={};Xt["[object Float32Array]"]=Xt["[object Float64Array]"]=Xt["[object Int8Array]"]=Xt["[object Int16Array]"]=Xt["[object Int32Array]"]=Xt["[object Uint8Array]"]=Xt["[object Uint8ClampedArray]"]=Xt["[object Uint16Array]"]=Xt["[object Uint32Array]"]=!0,Xt["[object Arguments]"]=Xt["[object Array]"]=Xt["[object ArrayBuffer]"]=Xt["[object Boolean]"]=Xt["[object DataView]"]=Xt["[object Date]"]=Xt["[object Error]"]=Xt["[object Function]"]=Xt["[object Map]"]=Xt["[object Number]"]=Xt["[object Object]"]=Xt["[object RegExp]"]=Xt["[object Set]"]=Xt["[object String]"]=Xt["[object WeakMap]"]=!1;var Qt=function(e){return Jt(e)&&Gt(e.length)&&!!Xt[Kt(e)]};var Zt=function(e){return function(t){return e(t)}},en={exports:{}};!function(e,t){var n=T,i=t&&!t.nodeType&&t,s=i&&e&&!e.nodeType&&e,r=s&&s.exports===i&&n.process,a=function(){try{var e=s&&s.require&&s.require("util").types;return e||r&&r.binding&&r.binding("util")}catch(e){}}();e.exports=a}(en,en.exports);var tn=en.exports,nn=Qt,sn=Zt,rn=tn&&tn.isTypedArray,an=rn?sn(rn):nn,on=Ot,cn=zt,ln=It,dn=Vt,un=Wt,pn=an,fn=Object.prototype.hasOwnProperty;var hn=function(e,t){var n=ln(e),i=!n&&cn(e),s=!n&&!i&&dn(e),r=!n&&!i&&!s&&pn(e),a=n||i||s||r,o=a?on(e.length,String):[],c=o.length;for(var l in e)!t&&!fn.call(e,l)||a&&("length"==l||s&&("offset"==l||"parent"==l)||r&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||un(l,c))||o.push(l);return o},mn=Object.prototype;var gn=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||mn)};var yn=function(e,t){return function(n){return e(t(n))}},vn=yn(Object.keys,Object),bn=gn,_n=vn,wn=Object.prototype.hasOwnProperty;var In=K,xn=Yt;var En=function(e){return null!=e&&xn(e.length)&&!In(e)},Sn=hn,An=function(e){if(!bn(e))return _n(e);var t=[];for(var n in Object(e))wn.call(e,n)&&"constructor"!=n&&t.push(n);return t},kn=En;var Tn=function(e){return kn(e)?Sn(e):An(e)},Rn=St,Cn=Lt,Ln=Tn;var On=function(e){return Rn(e,Ln,Cn)},Nn=On,Fn=Object.prototype.hasOwnProperty;var jn=function(e,t,n,i,s,r){var a=1&n,o=Nn(e),c=o.length;if(c!=Nn(t).length&&!a)return!1;for(var l=c;l--;){var d=o[l];if(!(a?d in t:Fn.call(t,d)))return!1}var u=r.get(e),p=r.get(t);if(u&&p)return u==t&&p==e;var f=!0;r.set(e,t),r.set(t,e);for(var h=a;++l<c;){var m=e[d=o[l]],g=t[d];if(i)var y=a?i(g,m,d,t,e,r):i(m,g,d,e,t,r);if(!(void 0===y?m===g||s(m,g,n,i,r):y)){f=!1;break}h||(h="constructor"==d)}if(f&&!h){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(f=!1)}return r.delete(e),r.delete(t),f},Pn=pe(L,"DataView"),Un=fe,Mn=pe(L,"Promise"),Dn=pe(L,"Set"),$n=pe(L,"WeakMap"),zn=q,Bn=Z,qn="[object Map]",Vn="[object Promise]",Hn="[object Set]",Wn="[object WeakMap]",Yn="[object DataView]",Kn=Bn(Pn),Gn=Bn(Un),Jn=Bn(Mn),Xn=Bn(Dn),Qn=Bn($n),Zn=zn;(Pn&&Zn(new Pn(new ArrayBuffer(1)))!=Yn||Un&&Zn(new Un)!=qn||Mn&&Zn(Mn.resolve())!=Vn||Dn&&Zn(new Dn)!=Hn||$n&&Zn(new $n)!=Wn)&&(Zn=function(e){var t=zn(e),n="[object Object]"==t?e.constructor:void 0,i=n?Bn(n):"";if(i)switch(i){case Kn:return Yn;case Gn:return qn;case Jn:return Vn;case Xn:return Hn;case Qn:return Wn}return t});var ei=Zn,ti=nt,ni=dt,ii=_t,si=jn,ri=ei,ai=It,oi=Vt,ci=an,li="[object Arguments]",di="[object Array]",ui="[object Object]",pi=Object.prototype.hasOwnProperty;var fi=function(e,t,n,i,s,r){var a=ai(e),o=ai(t),c=a?di:ri(e),l=o?di:ri(t),d=(c=c==li?ui:c)==ui,u=(l=l==li?ui:l)==ui,p=c==l;if(p&&oi(e)){if(!oi(t))return!1;a=!0,d=!1}if(p&&!d)return r||(r=new ti),a||ci(e)?ni(e,t,n,i,s,r):ii(e,t,c,n,i,s,r);if(!(1&n)){var f=d&&pi.call(e,"__wrapped__"),h=u&&pi.call(t,"__wrapped__");if(f||h){var m=f?e.value():e,g=h?t.value():t;return r||(r=new ti),s(m,g,n,i,r)}}return!!p&&(r||(r=new ti),si(e,t,n,i,s,r))},hi=Nt;var mi=function e(t,n,i,s,r){return t===n||(null==t||null==n||!hi(t)&&!hi(n)?t!=t&&n!=n:fi(t,n,i,s,e,r))},gi=nt,yi=mi;var vi=V;var bi=function(e){return e==e&&!vi(e)},_i=bi,wi=Tn;var Ii=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}},xi=function(e,t,n,i){var s=n.length,r=s,a=!i;if(null==e)return!r;for(e=Object(e);s--;){var o=n[s];if(a&&o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++s<r;){var c=(o=n[s])[0],l=e[c],d=o[1];if(a&&o[2]){if(void 0===l&&!(c in e))return!1}else{var u=new gi;if(i)var p=i(l,d,c,e,t,u);if(!(void 0===p?yi(d,l,3,i,u):p))return!1}}return!0},Ei=function(e){for(var t=wi(e),n=t.length;n--;){var i=t[n],s=e[i];t[n]=[i,s,_i(s)]}return t},Si=Ii;var Ai=function(e){var t=Ei(e);return 1==t.length&&t[0][2]?Si(t[0][0],t[0][1]):function(n){return n===e||xi(n,e,t)}},ki=q,Ti=Nt;var Ri=function(e){return"symbol"==typeof e||Ti(e)&&"[object Symbol]"==ki(e)},Ci=It,Li=Ri,Oi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ni=/^\w*$/;var Fi=function(e,t){if(Ci(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Li(e))||(Ni.test(e)||!Oi.test(e)||null!=t&&e in Object(t))},ji=He;function Pi(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var i=arguments,s=t?t.apply(this,i):i[0],r=n.cache;if(r.has(s))return r.get(s);var a=e.apply(this,i);return n.cache=r.set(s,a)||r,a};return n.cache=new(Pi.Cache||ji),n}Pi.Cache=ji;var Ui=Pi;var Mi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Di=/\\(\\)?/g,$i=function(e){var t=Ui(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(Mi,(function(e,n,i,s){t.push(i?s.replace(Di,"$1"):n||e)})),t}));var zi=function(e,t){for(var n=-1,i=null==e?0:e.length,s=Array(i);++n<i;)s[n]=t(e[n],n,e);return s},Bi=zi,qi=It,Vi=Ri,Hi=O?O.prototype:void 0,Wi=Hi?Hi.toString:void 0;var Yi=function e(t){if("string"==typeof t)return t;if(qi(t))return Bi(t,e)+"";if(Vi(t))return Wi?Wi.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n},Ki=Yi;var Gi=It,Ji=Fi,Xi=$i,Qi=function(e){return null==e?"":Ki(e)};var Zi=function(e,t){return Gi(e)?e:Ji(e,t)?[e]:Xi(Qi(e))},es=Ri;var ts=function(e){if("string"==typeof e||es(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t},ns=Zi,is=ts;var ss=function(e,t){for(var n=0,i=(t=ns(t,e)).length;null!=e&&n<i;)e=e[is(t[n++])];return n&&n==i?e:void 0},rs=ss;var as=function(e,t,n){var i=null==e?void 0:rs(e,t);return void 0===i?n:i};var os=Zi,cs=zt,ls=It,ds=Wt,us=Yt,ps=ts;var fs=function(e,t,n){for(var i=-1,s=(t=os(t,e)).length,r=!1;++i<s;){var a=ps(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}return r||++i!=s?r:!!(s=null==e?0:e.length)&&us(s)&&ds(a,s)&&(ls(e)||cs(e))},hs=function(e,t){return null!=e&&t in Object(e)},ms=fs;var gs=function(e,t){return null!=e&&ms(e,t,hs)},ys=mi,vs=as,bs=gs,_s=Fi,ws=bi,Is=Ii,xs=ts;var Es=function(e,t){return _s(e)&&ws(t)?Is(xs(e),t):function(n){var i=vs(n,e);return void 0===i&&i===t?bs(n,e):ys(t,i,3)}};var Ss=function(e){return e};var As=ss;var ks=function(e){return function(t){return As(t,e)}},Ts=function(e){return function(t){return null==t?void 0:t[e]}},Rs=ks,Cs=Fi,Ls=ts;var Os=function(e){return Cs(e)?Ts(Ls(e)):Rs(e)},Ns=Ai,Fs=Es,js=Ss,Ps=It,Us=Os;var Ms=function(e){return"function"==typeof e?e:null==e?js:"object"==typeof e?Ps(e)?Fs(e[0],e[1]):Ns(e):Us(e)};var Ds=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");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)}},$s=pe,zs=function(){try{var e=$s(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Bs=zs;var qs=function(e,t,n){"__proto__"==t&&Bs?Bs(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Vs=qs,Hs=c,Ws=Object.prototype.hasOwnProperty;var Ys=function(e,t,n){var i=e[t];Ws.call(e,t)&&Hs(i,n)&&(void 0!==n||t in e)||Vs(e,t,n)},Ks=Ys,Gs=Zi,Js=Wt,Xs=V,Qs=ts;var Zs=function(e,t,n,i){if(!Xs(e))return e;for(var s=-1,r=(t=Gs(t,e)).length,a=r-1,o=e;null!=o&&++s<r;){var c=Qs(t[s]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(s!=a){var d=o[c];void 0===(l=i?i(d,c,o):void 0)&&(l=Xs(d)?d:Js(t[s+1])?[]:{})}Ks(o,c,l),o=o[c]}return e},er=ss,tr=Zs,nr=Zi;var ir=function(e,t,n){for(var i=-1,s=t.length,r={};++i<s;){var a=t[i],o=er(e,a);n(o,a)&&tr(r,nr(a,e),o)}return r},sr=yn(Object.getPrototypeOf,Object),rr=wt,ar=sr,or=Lt,cr=At,lr=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)rr(t,or(e)),e=ar(e);return t}:cr;var dr=V,ur=gn,pr=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},fr=Object.prototype.hasOwnProperty;var hr=hn,mr=function(e){if(!dr(e))return pr(e);var t=ur(e),n=[];for(var i in e)("constructor"!=i||!t&&fr.call(e,i))&&n.push(i);return n},gr=En;var yr=function(e){return gr(e)?hr(e,!0):mr(e)},vr=St,br=lr,_r=yr;var wr=function(e){return vr(e,_r,br)},Ir=zi,xr=Ms,Er=ir,Sr=wr;var Ar=function(e,t){if(null==e)return{};var n=Ir(Sr(e),(function(e){return[e]}));return t=xr(t),Er(e,n,(function(e,n){return t(e,n[0])}))},kr=Ms,Tr=Ds,Rr=Ar;var Cr=i((function(e,t){return Rr(e,Tr(kr(t)))}));var Lr=i((function(e){return null===e}));var Or=i((function(e){return void 0===e}));function Nr(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function Fr(e,t){for(var n,i="",s=0,r=-1,a=0,o=0;o<=e.length;++o){if(o<e.length)n=e.charCodeAt(o);else{if(47===n)break;n=47}if(47===n){if(r===o-1||1===a);else if(r!==o-1&&2===a){if(i.length<2||2!==s||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var c=i.lastIndexOf("/");if(c!==i.length-1){-1===c?(i="",s=0):s=(i=i.slice(0,c)).length-1-i.lastIndexOf("/"),r=o,a=0;continue}}else if(2===i.length||1===i.length){i="",s=0,r=o,a=0;continue}t&&(i.length>0?i+="/..":i="..",s=2)}else i.length>0?i+="/"+e.slice(r+1,o):i=e.slice(r+1,o),s=o-r-1;r=o,a=0}else 46===n&&-1!==a?++a:a=-1}return i}var jr={resolve:function(){for(var e,t="",n=!1,i=arguments.length-1;i>=-1&&!n;i--){var s;i>=0?s=arguments[i]:(void 0===e&&(e=process.cwd()),s=e),Nr(s),0!==s.length&&(t=s+"/"+t,n=47===s.charCodeAt(0))}return t=Fr(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(Nr(e),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=Fr(e,!t)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return Nr(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var n=arguments[t];Nr(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":jr.normalize(e)},relative:function(e,t){if(Nr(e),Nr(t),e===t)return"";if((e=jr.resolve(e))===(t=jr.resolve(t)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var i=e.length,s=i-n,r=1;r<t.length&&47===t.charCodeAt(r);++r);for(var a=t.length-r,o=s<a?s:a,c=-1,l=0;l<=o;++l){if(l===o){if(a>o){if(47===t.charCodeAt(r+l))return t.slice(r+l+1);if(0===l)return t.slice(r+l)}else s>o&&(47===e.charCodeAt(n+l)?c=l:0===l&&(c=0));break}var d=e.charCodeAt(n+l);if(d!==t.charCodeAt(r+l))break;47===d&&(c=l)}var u="";for(l=n+c+1;l<=i;++l)l!==i&&47!==e.charCodeAt(l)||(0===u.length?u+="..":u+="/..");return u.length>0?u+t.slice(r+c):(r+=c,47===t.charCodeAt(r)&&++r,t.slice(r))},_makeLong:function(e){return e},dirname:function(e){if(Nr(e),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,i=-1,s=!0,r=e.length-1;r>=1;--r)if(47===(t=e.charCodeAt(r))){if(!s){i=r;break}}else s=!1;return-1===i?n?"/":".":n&&1===i?"//":e.slice(0,i)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');Nr(e);var n,i=0,s=-1,r=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var a=t.length-1,o=-1;for(n=e.length-1;n>=0;--n){var c=e.charCodeAt(n);if(47===c){if(!r){i=n+1;break}}else-1===o&&(r=!1,o=n+1),a>=0&&(c===t.charCodeAt(a)?-1==--a&&(s=n):(a=-1,s=o))}return i===s?s=o:-1===s&&(s=e.length),e.slice(i,s)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!r){i=n+1;break}}else-1===s&&(r=!1,s=n+1);return-1===s?"":e.slice(i,s)},extname:function(e){Nr(e);for(var t=-1,n=0,i=-1,s=!0,r=0,a=e.length-1;a>=0;--a){var o=e.charCodeAt(a);if(47!==o)-1===i&&(s=!1,i=a+1),46===o?-1===t?t=a:1!==r&&(r=1):-1!==t&&(r=-1);else if(!s){n=a+1;break}}return-1===t||-1===i||0===r||1===r&&t===i-1&&t===n+1?"":e.slice(t,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+i:n+e+i:i}("/",e)},parse:function(e){Nr(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,i=e.charCodeAt(0),s=47===i;s?(t.root="/",n=1):n=0;for(var r=-1,a=0,o=-1,c=!0,l=e.length-1,d=0;l>=n;--l)if(47!==(i=e.charCodeAt(l)))-1===o&&(c=!1,o=l+1),46===i?-1===r?r=l:1!==d&&(d=1):-1!==r&&(d=-1);else if(!c){a=l+1;break}return-1===r||-1===o||0===d||1===d&&r===o-1&&r===a+1?-1!==o&&(t.base=t.name=0===a&&s?e.slice(1,o):e.slice(a,o)):(0===a&&s?(t.name=e.slice(1,r),t.base=e.slice(1,o)):(t.name=e.slice(a,r),t.base=e.slice(a,o)),t.ext=e.slice(r,o)),a>0?t.dir=e.slice(0,a-1):s&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};jr.posix=jr;var Pr=i(jr),Ur={},Mr={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};
|
|
4
|
+
/*!
|
|
5
|
+
* mime-types
|
|
6
|
+
* Copyright(c) 2014 Jonathan Ong
|
|
7
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
8
|
+
* MIT Licensed
|
|
9
|
+
*/
|
|
10
|
+
!function(t){var n,i,s,r=Mr,a=e.extname,o=/^\s*([^;\s]*)(?:;|\s|$)/,c=/^text\//i;function l(e){if(!e||"string"!=typeof e)return!1;var t=o.exec(e),n=t&&r[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!c.test(t[1]))&&"UTF-8"}t.charset=l,t.charsets={lookup:l},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var i=t.charset(n);i&&(n+="; charset="+i.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=o.exec(e),i=n&&t.extensions[n[1].toLowerCase()];if(!i||!i.length)return!1;return i[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=a("x."+e).toLowerCase().substr(1);if(!n)return!1;return t.types[n]||!1},t.types=Object.create(null),n=t.extensions,i=t.types,s=["nginx","apache",void 0,"iana"],Object.keys(r).forEach((function(e){var t=r[e],a=t.extensions;if(a&&a.length){n[e]=a;for(var o=0;o<a.length;o++){var c=a[o];if(i[c]){var l=s.indexOf(r[i[c]].source),d=s.indexOf(t.source);if("application/octet-stream"!==i[c]&&(l>d||l===d&&"application/"===i[c].substr(0,12)))continue}i[c]=e}}}))}(Ur);var Dr=i(Ur),$r="undefined"!=typeof window?window:{screen:{},navigator:{}},zr=($r.matchMedia||function(){return{matches:!1}}).bind($r),Br={get passive(){return!0}},qr=function(){};$r.addEventListener&&$r.addEventListener("p",qr,Br),$r.removeEventListener&&$r.removeEventListener("p",qr,!1);var Vr="ontouchstart"in $r,Hr=Vr||"TouchEvent"in $r&&zr("(any-pointer: coarse)").matches,Wr=($r.navigator.maxTouchPoints||0)>0||Hr,Yr=$r.navigator.userAgent||"",Kr=zr("(pointer: coarse)").matches&&/iPad|Macintosh/.test(Yr)&&Math.min($r.screen.width||0,$r.screen.height||0)>=768,Gr=(zr("(pointer: coarse)").matches||!zr("(pointer: fine)").matches&&Vr)&&!/Windows.*Firefox/.test(Yr),Jr=zr("(any-pointer: fine)").matches||zr("(any-hover: hover)").matches||Kr||!Vr,Xr=!Wr||!Jr&&Gr?Wr?"touchOnly":"mouseOnly":"hybrid",Qr="mouseOnly"===Xr?"mouse":"touchOnly"===Xr||Gr?"touch":"mouse";function Zr(e){return Zr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zr(e)}function ea(e){return function(e){if(Array.isArray(e))return na(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return na(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return na(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ta(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(s=i.key,r=void 0,r=function(e,t){if("object"!==Zr(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==Zr(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(s,"string"),"symbol"===Zr(r)?r:String(r)),i)}var s,r}function na(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function ia(e){return e||(new URLSearchParams(window.location.search).get("lng")||"en")}function sa(){return"touchOnly"===Xr||"hybrid"===Xr&&"touch"===Qr?"mobile":"desktop"}function ra(e,t,n,i,s,r,a){return a&&r&&"device"===s||r&&"device"===s?"".concat(e,"/").concat(n,"/").concat(i,"/").concat(t):a&&r&&"shared"===s||r&&"shared"===s?"".concat(e,"/").concat(n,"/shared/").concat(t):"device"===s?"".concat(e,"/").concat(i,"/").concat(t):"shared/device"===s?"".concat(e,"/shared/").concat(i,"/").concat(t):"languageSpecific"===s?"".concat(e,"/").concat(n,"/").concat(t):"default"===s?"".concat(e,"/").concat(t):"".concat(e,"/shared/").concat(t)}function aa(e){var t=Dr.lookup(e);if(!t)throw new Error("Unrecognized file extension in path: ".concat(e));if(t.startsWith("image/"))return"images";if(t.startsWith("audio/"))return"audio";if(t.startsWith("video/"))return"video";throw new Error("Unsupported MIME type for file: ".concat(e,". Only image, audio, and video files are supported."))}var oa=function(e,t,n,i){var s=315576e5,r=new Date,a=function(e){var t=Number(e);return Object.is(t,NaN)||0===t?null:t},o=a(e),c=a(t),l=a(n),d=a(i),u={age:l,ageMonths:d};if(o&&c){u.birthMonth=o,u.birthYear=c;var p=new Date(c,o-1,r.getDate()),f=(r-p)/s;u.age=Math.floor(f),u.ageMonths=d||Math.floor(12*f)}else if(c){u.birthYear=c,u.birthMonth=r.getMonth()+1;var h=new Date(c,u.birthMonth-1,r.getDate()),m=(r-h)/s;u.age=Math.floor(m),u.ageMonths=d||Math.floor(12*m)}else if(d){var g=new Date;g.setMonth(g.getMonth()-d),u.birthYear=g.getFullYear(),u.birthMonth=g.getMonth()+1,u.age=Math.floor((r-g)/s)}else l?(u.birthYear=r.getFullYear()-l,u.birthMonth=r.getMonth()+1,u.ageMonths=12*l):(u.birthMonth=null,u.birthYear=null);return u},ca=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,i=Number(e);return Number.isNaN(i)||i<t?t:i>n?n:i},la=function(e){e.sort((function(e,t){return t-e}));var t=e.length;return t%2==0?(e[t/2]+e[t/2-1])/2:e[Math.floor(t/2)]};function da(e){var t=e.responseTimeLowThreshold,n=void 0===t?400:t,i=e.responseTimeHighThreshold,s=void 0===i?1e4:i,r=e.accuracyThreshold,a=void 0===r?.2:r,o=e.minResponsesRequired,c=void 0===o?0:o,l=e.includedReliabilityFlags,d=void 0===l?["responseTimeTooFast"]:l;return function(e){var t=e.responseTimes;e.responses;var i,r=e.correct,o=[],l=!1;t.length<c?o.push("notEnoughResponses"):(la(t)<=n&&o.push("responseTimeTooFast"),la(t)>=s&&o.push("responseTimeTooSlow"),(null!==(i=null==r?void 0:r.filter((function(e){return 1===e})).length)&&void 0!==i?i:0)/r.length<=a&&o.push("accuracyTooLow"),l=0===o.filter((function(e){return d.includes(e)})).length);return{flags:o,isReliable:l}}}var ua=function(){function e(t){var n=t.evaluateValidity,i=void 0===n?da():n,s=t.handleEngagementFlags,r=void 0===s?function(){}:s;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.evaluateValidity=i,this.handleEngagementFlags=r,this._responseTimes=[],this._responses=[],this._correct=[],this._preserveFlags=[],this.currentBlock=void 0,this.reliabilityByBlock={}}var t,n,i;return t=e,n=[{key:"appendCurrentBlockToFlags",value:function(e){var t=this;return void 0!==this.currentBlock?e.map((function(e){return"".concat(e,"_").concat(t.currentBlock)})):e}},{key:"calculateReliabilityWithBlocks",value:function(){return Object.values(this.reliabilityByBlock).every((function(e){return!0===e}))}},{key:"startNewBlockValidation",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.evaluateValidity;if(this._responseTimes.length>0&&void 0!==e){var n=this.evaluateValidity({responseTimes:this._responseTimes,responses:this._responses,correct:this._correct}).flags;this._preserveFlags=[].concat(ea(this._preserveFlags),ea(this.appendCurrentBlockToFlags(n))),this.handleEngagementFlags(ea(this._preserveFlags),this.calculateReliabilityWithBlocks(),this.reliabilityByBlock)}this.currentBlock=e,this.evaluateValidity=t,this._responseTimes=[],this._responses=[],this._correct=[]}},{key:"addResponseData",value:function(e,t,n){this._responseTimes.push(e),this._responses.push(t),this._correct.push(n);var i=this.evaluateValidity({responseTimes:this._responseTimes,responses:this._responses,correct:this._correct}),s=i.flags,r=i.isReliable;void 0!==this.currentBlock?(this.reliabilityByBlock[this.currentBlock]=r,this.handleEngagementFlags([].concat(ea(this._preserveFlags),ea(this.appendCurrentBlockToFlags(s))),this.calculateReliabilityWithBlocks(),this.reliabilityByBlock)):this.handleEngagementFlags(s,r)}}],n&&ta(t.prototype,n),i&&ta(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();function pa(e,t,n,i){return new(n||(n=Promise))((function(s,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function o(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,o)}c((i=i.apply(e,t||[])).next())}))}"function"==typeof SuppressedError&&SuppressedError;var fa="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ha(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ma=ha(((e,{include:t,exclude:n}={})=>{const i=e=>{const i=t=>"string"==typeof t?e===t:t.test(e);return t?t.some(i):!n||!n.some(i)};for(const[t,n]of(e=>{const t=new Set;do{for(const n of Reflect.ownKeys(e))t.add([e,n])}while((e=Reflect.getPrototypeOf(e))&&e!==Object.prototype);return t})(e.constructor.prototype)){if("constructor"===n||!i(n))continue;const s=Reflect.getOwnPropertyDescriptor(t,n);s&&"function"==typeof s.value&&(e[n]=e[n].bind(e))}return e}));class ga extends Error{constructor(e="The global `jsPsych` variable is no longer available in jsPsych v7."){super(`${e} Please follow the migration guide at https://www.jspsych.org/7.0/support/migration-v7/ to update your experiment.`),this.name="MigrationError"}}function ya(e){return[...new Set(e)]}function va(e){if(!e)return e;let t;if(Array.isArray(e)){t=[];for(const n of e)t.push(va(n));return t}if("object"==typeof e&&null!==e){t={};for(const n in e)e.hasOwnProperty(n)&&(t[n]=va(e[n]));return t}return e}window.jsPsych={get init(){throw new ga("`jsPsych.init()` was replaced by `initJsPsych()` in jsPsych v7.")},get data(){throw new ga},get randomization(){throw new ga},get turk(){throw new ga},get pluginAPI(){throw new ga},get ALL_KEYS(){throw new ga('jsPsych.ALL_KEYS was replaced by the "ALL_KEYS" string in jsPsych v7.')},get NO_KEYS(){throw new ga('jsPsych.NO_KEYS was replaced by the "NO_KEYS" string in jsPsych v7.')}};var ba,_a=Object.freeze({__proto__:null,deepCopy:va,deepMerge:function e(t,n){let i={};for(const s in t)t.hasOwnProperty(s)&&("object"==typeof t[s]&&n.hasOwnProperty(s)?i[s]=e(t[s],n[s]):i[s]=t[s]);for(const t in n)n.hasOwnProperty(t)&&(i.hasOwnProperty(t)&&"object"==typeof n[t]?i[t]=e(i[t],n[t]):i[t]=n[t]);return i},unique:ya});class wa{constructor(e=[]){this.values=e}sum(){let e=0;for(const t of this.values)e+=t;return e}mean(){return this.sum()/this.count()}median(){if(0===this.values.length)return;const e=this.values.slice(0).sort((function(e,t){return e-t})),t=Math.floor(e.length/2);return e.length%2==0?(e[t]+e[t-1])/2:e[t]}min(){return Math.min.apply(null,this.values)}max(){return Math.max.apply(null,this.values)}count(){return this.values.length}variance(){const e=this.mean();let t=0;for(const n of this.values)t+=Math.pow(n-e,2);return t/(this.values.length-1)}sd(){const e=this.variance();return Math.sqrt(e)}frequencies(){const e={};for(const t of this.values)void 0===e[t]?e[t]=1:e[t]++;return e}all(e){for(const t of this.values)if(!e(t))return!1;return!0}subset(e){const t=[];for(const n of this.values)e(n)&&t.push(n);return new wa(t)}}class Ia{constructor(e=[]){this.trials=e}push(e){return this.trials.push(e),this}join(e){return this.trials=this.trials.concat(e.values()),this}top(){return this.trials.length<=1?this:new Ia([this.trials[this.trials.length-1]])}first(e=1){if(e<1)throw"You must query with a positive nonzero integer. Please use a\n different value for n.";return 0===this.trials.length?new Ia:(e>this.trials.length&&(e=this.trials.length),new Ia(this.trials.slice(0,e)))}last(e=1){if(e<1)throw"You must query with a positive nonzero integer. Please use a\n different value for n.";return 0===this.trials.length?new Ia:(e>this.trials.length&&(e=this.trials.length),new Ia(this.trials.slice(this.trials.length-e,this.trials.length)))}values(){return this.trials}count(){return this.trials.length}readOnly(){return new Ia(va(this.trials))}addToAll(e){for(const t of this.trials)Object.assign(t,e);return this}addToLast(e){return 0!=this.trials.length&&Object.assign(this.trials[this.trials.length-1],e),this}filter(e){let t;t=Array.isArray(e)?va(e):va([e]);const n=[];for(const e of this.trials){let i=!1;for(const n of t){let t=!0;for(const i of Object.keys(n))void 0!==e[i]&&e[i]===n[i]||(t=!1);if(t){i=!0;break}}i&&n.push(e)}return new Ia(n)}filterCustom(e){return new Ia(this.trials.filter(e))}filterColumns(e){return new Ia(this.trials.map((t=>Object.fromEntries(e.filter((e=>e in t)).map((e=>[e,t[e]]))))))}select(e){const t=[];for(const n of this.trials)void 0!==n[e]&&t.push(n[e]);return new wa(t)}ignore(e){Array.isArray(e)||(e=[e]);const t=va(this.trials);for(const n of t)for(const t of e)delete n[t];return new Ia(t)}uniqueNames(){const e=[];for(const t of this.trials)for(const n of Object.keys(t))e.includes(n)||e.push(n);return e}csv(){return function(e){const t="object"!=typeof e?JSON.parse(e):e;let n="",i="";const s=[];for(const e of t)for(const t in e){let e=t+"";e='"'+e.replace(/"/g,'""')+'",',s.includes(t)||(s.push(t),n+=e)}n=n.slice(0,-1),i+=n+"\r\n";for(const e of t){n="";for(const t of s){let i=void 0===e[t]?"":e[t];"object"==typeof i&&(i=JSON.stringify(i)),n+='"'+(i+"").replace(/"/g,'""')+'",'}n=n.slice(0,-1),i+=n+"\r\n"}return i}(this.trials)}json(e=!1){return e?JSON.stringify(this.trials,null,"\t"):JSON.stringify(this.trials)}localSave(e,t){let n;if("json"===(e=e.toLowerCase()))n=this.json();else{if("csv"!==e)throw new Error('Invalid format specified for localSave. Must be "json" or "csv".');n=this.csv()}!function(e,t){const n=new Blob([e],{type:"text/plain"});let i="";i=void 0!==window.webkitURL?window.webkitURL.createObjectURL(n):window.URL.createObjectURL(n);const s=document.createElement("a");s.id="jspsych-download-as-text-link",s.style.display="none",s.download=t,s.href=i,s.click()}(n,t)}}class xa{constructor(e){this.jsPsych=e,this.dataProperties={},this.reset()}reset(){this.allData=new Ia,this.interactionData=new Ia}get(){return this.allData}getInteractionData(){return this.interactionData}write(e){const t=this.jsPsych.getProgress(),n=this.jsPsych.getCurrentTrial(),i={trial_type:n.type.info.name,trial_index:t.current_trial_global,time_elapsed:this.jsPsych.getTotalTime(),internal_node_id:this.jsPsych.getCurrentTimelineNodeID()};this.allData.push(Object.assign(Object.assign(Object.assign(Object.assign({},e),n.data),i),this.dataProperties))}addProperties(e){this.allData.addToAll(e),this.dataProperties=Object.assign({},this.dataProperties,e)}addDataToLastTrial(e){this.allData.addToLast(e)}getDataByTimelineNode(e){return this.allData.filterCustom((t=>t.internal_node_id.slice(0,e.length)===e))}getLastTrialData(){return this.allData.top()}getLastTimelineData(){const e=this.getLastTrialData().select("internal_node_id").values[0];if(void 0===e)return new Ia;{const t=e.substr(0,e.lastIndexOf("-"));return this.getDataByTimelineNode(t)}}displayData(e="json"){"json"!=(e=e.toLowerCase())&&"csv"!=e&&(console.log("Invalid format declared for displayData function. Using json as default."),e="json");const t="json"===e?this.allData.json(!0):this.allData.csv();this.jsPsych.getDisplayElement().innerHTML='<pre id="jspsych-data-display"></pre>',document.getElementById("jspsych-data-display").textContent=t}urlVariables(){return void 0===this.query_string&&(this.query_string=function(){const e=window.location.search.substr(1).split("&"),t={};for(let n=0;n<e.length;++n){const i=e[n].split("=",2);1==i.length?t[i[0]]="":t[i[0]]=decodeURIComponent(i[1].replace(/\+/g," "))}return t}()),this.query_string}getURLVariable(e){return this.urlVariables()[e]}createInteractionListeners(){window.addEventListener("blur",(()=>{const e={event:"blur",trial:this.jsPsych.getProgress().current_trial_global,time:this.jsPsych.getTotalTime()};this.interactionData.push(e),this.jsPsych.getInitSettings().on_interaction_data_update(e)})),window.addEventListener("focus",(()=>{const e={event:"focus",trial:this.jsPsych.getProgress().current_trial_global,time:this.jsPsych.getTotalTime()};this.interactionData.push(e),this.jsPsych.getInitSettings().on_interaction_data_update(e)}));const e=()=>{const e={event:document.isFullScreen||document.webkitIsFullScreen||document.mozIsFullScreen||document.fullscreenElement?"fullscreenenter":"fullscreenexit",trial:this.jsPsych.getProgress().current_trial_global,time:this.jsPsych.getTotalTime()};this.interactionData.push(e),this.jsPsych.getInitSettings().on_interaction_data_update(e)};document.addEventListener("fullscreenchange",e),document.addEventListener("mozfullscreenchange",e),document.addEventListener("webkitfullscreenchange",e)}_customInsert(e){this.allData=new Ia(e)}_fullreset(){this.reset(),this.dataProperties={}}}class Ea{constructor(){this.hardwareConnected=!1,document.addEventListener("jspsych-activate",(e=>{this.hardwareConnected=!0}))}hardware(e){const t=new CustomEvent("jspsych",{detail:e});document.dispatchEvent(t)}}class Sa{constructor(e,t=!1,n=0){this.getRootElement=e,this.areResponsesCaseSensitive=t,this.minimumValidRt=n,this.listeners=new Set,this.heldKeys=new Set,this.areRootListenersRegistered=!1,ma(this),this.registerRootListeners()}registerRootListeners(){if(!this.areRootListenersRegistered){const e=this.getRootElement();e&&(e.addEventListener("keydown",this.rootKeydownListener),e.addEventListener("keyup",this.rootKeyupListener),this.areRootListenersRegistered=!0)}}rootKeydownListener(e){for(const t of Array.from(this.listeners))t(e);this.heldKeys.add(this.toLowerCaseIfInsensitive(e.key))}toLowerCaseIfInsensitive(e){return this.areResponsesCaseSensitive?e:e.toLowerCase()}rootKeyupListener(e){this.heldKeys.delete(this.toLowerCaseIfInsensitive(e.key))}isResponseValid(e,t,n){return!(!t&&this.heldKeys.has(n))&&("ALL_KEYS"===e||"NO_KEYS"!==e&&e.includes(n))}getKeyboardResponse({callback_function:e,valid_responses:t="ALL_KEYS",rt_method:n="performance",persist:i,audio_context:s,audio_context_start_time:r,allow_held_key:a=!1,minimum_valid_rt:o=this.minimumValidRt}){"performance"!==n&&"audio"!==n&&(console.log('Invalid RT method specified in getKeyboardResponse. Defaulting to "performance" method.'),n="performance");const c="performance"===n?performance.now():1e3*r;this.registerRootListeners(),this.areResponsesCaseSensitive||"string"==typeof t||(t=t.map((e=>e.toLowerCase())));const l=r=>{const d=Math.round(("performance"==n?performance.now():1e3*s.currentTime)-c);if(d<o)return;const u=this.toLowerCaseIfInsensitive(r.key);this.isResponseValid(t,a,u)&&(r.preventDefault(),i||this.cancelKeyboardResponse(l),e({key:u,rt:d}))};return this.listeners.add(l),l}cancelKeyboardResponse(e){this.listeners.delete(e)}cancelAllKeyboardResponses(){this.listeners.clear()}compareKeys(e,t){if(!("string"!=typeof e&&null!==e||"string"!=typeof t&&null!==t))return"string"==typeof e&&"string"==typeof t?this.areResponsesCaseSensitive?e===t:e.toLowerCase()===t.toLowerCase():null===e&&null===t;console.error("Error in jsPsych.pluginAPI.compareKeys: arguments must be key strings or null.")}}!function(e){e[e.BOOL=0]="BOOL",e[e.STRING=1]="STRING",e[e.INT=2]="INT",e[e.FLOAT=3]="FLOAT",e[e.FUNCTION=4]="FUNCTION",e[e.KEY=5]="KEY",e[e.KEYS=6]="KEYS",e[e.SELECT=7]="SELECT",e[e.HTML_STRING=8]="HTML_STRING",e[e.IMAGE=9]="IMAGE",e[e.AUDIO=10]="AUDIO",e[e.VIDEO=11]="VIDEO",e[e.OBJECT=12]="OBJECT",e[e.COMPLEX=13]="COMPLEX",e[e.TIMELINE=14]="TIMELINE"}(ba||(ba={}));const Aa={data:{type:ba.OBJECT,pretty_name:"Data",default:{}},on_start:{type:ba.FUNCTION,pretty_name:"On start",default:function(){}},on_finish:{type:ba.FUNCTION,pretty_name:"On finish",default:function(){}},on_load:{type:ba.FUNCTION,pretty_name:"On load",default:function(){}},post_trial_gap:{type:ba.INT,pretty_name:"Post trial gap",default:null},css_classes:{type:ba.STRING,pretty_name:"Custom CSS classes",default:null},simulation_options:{type:ba.COMPLEX,default:null}},ka=[ba.AUDIO,ba.IMAGE,ba.VIDEO];class Ta{constructor(e,t){this.useWebaudio=e,this.webaudioContext=t,this.video_buffers={},this.context=null,this.audio_buffers=[],this.preload_requests=[],this.img_cache={},this.preloadMap=new Map,this.microphone_recorder=null,this.camera_stream=null,this.camera_recorder=null}getVideoBuffer(e){return e.startsWith("blob:")&&(this.video_buffers[e]=e),this.video_buffers[e]}initAudio(){this.context=this.useWebaudio?this.webaudioContext:null}audioContext(){return null!==this.context&&"running"!==this.context.state&&this.context.resume(),this.context}getAudioBuffer(e){return new Promise(((t,n)=>{void 0===this.audio_buffers[e]||"tmp"==this.audio_buffers[e]?this.preloadAudio([e],(()=>{t(this.audio_buffers[e])}),(()=>{}),(e=>{n(e.error)})):t(this.audio_buffers[e])}))}preloadAudio(e,t=(()=>{}),n=(e=>{}),i=(e=>{})){e=ya(e.flat());let s=0;if(0==e.length)return void t();const r=(r,a=1)=>{const o=new XMLHttpRequest;o.open("GET",r,!0),o.responseType="arraybuffer",o.onload=()=>{this.context.decodeAudioData(o.response,(i=>{this.audio_buffers[r]=i,s++,n(r),s==e.length&&t()}),(e=>{i({source:r,error:e})}))},o.onerror=e=>{let t=e;404==o.status&&(t="404"),i({source:r,error:t})},o.onloadend=e=>{404==o.status&&i({source:r,error:"404"})},o.send(),this.preload_requests.push(o)},a=(r,a=1)=>{const o=new Audio,c=()=>{this.audio_buffers[r]=o,s++,n(r),s==e.length&&t(),o.removeEventListener("canplaythrough",c)};o.addEventListener("canplaythrough",c),o.addEventListener("error",(function e(t){i({source:o.src,error:t}),o.removeEventListener("error",e)})),o.addEventListener("abort",(function e(t){i({source:o.src,error:t}),o.removeEventListener("abort",e)})),o.src=r,this.preload_requests.push(o)};for(const i of e)void 0!==this.audio_buffers[i]?(s++,n(i),s==e.length&&t()):(this.audio_buffers[i]="tmp",null!==this.audioContext()?r(i):a(i))}preloadImages(e,t=(()=>{}),n=(e=>{}),i=(e=>{})){e=ya(e.flat());var s=0;if(0!==e.length)for(let r=0;r<e.length;r++){const a=new Image,o=e[r];a.onload=()=>{s++,n(o),s===e.length&&t()},a.onerror=e=>{i({source:o,error:e})},a.src=o,this.img_cache[o]=a,this.preload_requests.push(a)}else t()}preloadVideo(e,t=(()=>{}),n=(e=>{}),i=(e=>{})){e=ya(e.flat());let s=0;if(0!==e.length)for(const r of e){const a=this.video_buffers,o=new XMLHttpRequest;o.open("GET",r,!0),o.responseType="blob",o.onload=()=>{if(200===o.status||0===o.status){const i=o.response;a[r]=URL.createObjectURL(i),s++,n(r),s===e.length&&t()}},o.onerror=e=>{let t=e;404==o.status&&(t="404"),i({source:r,error:t})},o.onloadend=e=>{404==o.status&&i({source:r,error:"404"})},o.send(),this.preload_requests.push(o)}else t()}getAutoPreloadList(e){const t=Object.fromEntries(ka.map((e=>[e,new Set]))),n=(e,i)=>{var s,r,a,o;if(void 0!==e.timeline)for(const t of e.timeline)n(t,null!==(s=e.type)&&void 0!==s?s:i);else if(null===(a=null!==(r=e.type)&&void 0!==r?r:i)||void 0===a?void 0:a.info){const{name:n,parameters:s}=(null!==(o=e.type)&&void 0!==o?o:i).info;this.preloadMap.has(n)||this.preloadMap.set(n,Object.fromEntries(Object.entries(s).filter((([e,{type:t,preload:n}])=>ka.includes(t)&&(null==n||n))).map((([e,{type:t}])=>[e,t]))));for(const[i,s]of Object.entries(this.preloadMap.get(n))){const n=e[i],r=t[s];if("string"==typeof n)r.add(n);else if(Array.isArray(n))for(const e of n.flat())"string"==typeof e&&r.add(e)}}};return n({timeline:e}),{images:[...t[ba.IMAGE]],audio:[...t[ba.AUDIO]],video:[...t[ba.VIDEO]]}}cancelPreloads(){for(const e of this.preload_requests)e.onload=()=>{},e.onerror=()=>{},e.oncanplaythrough=()=>{},e.onabort=()=>{};this.preload_requests=[]}initializeMicrophoneRecorder(e){const t=new MediaRecorder(e);this.microphone_recorder=t}getMicrophoneRecorder(){return this.microphone_recorder}initializeCameraRecorder(e,t){this.camera_stream=e;const n=new MediaRecorder(e,t);this.camera_recorder=n}getCameraStream(){return this.camera_stream}getCameraRecorder(){return this.camera_recorder}}class Ra{constructor(e,t){this.getDisplayContainerElement=e,this.setJsPsychTimeout=t}dispatchEvent(e){this.getDisplayContainerElement().dispatchEvent(e)}keyDown(e){this.dispatchEvent(new KeyboardEvent("keydown",{key:e}))}keyUp(e){this.dispatchEvent(new KeyboardEvent("keyup",{key:e}))}pressKey(e,t=0){t>0?this.setJsPsychTimeout((()=>{this.keyDown(e),this.keyUp(e)}),t):(this.keyDown(e),this.keyUp(e))}clickTarget(e,t=0){t>0?this.setJsPsychTimeout((()=>{e.dispatchEvent(new MouseEvent("mousedown",{bubbles:!0})),e.dispatchEvent(new MouseEvent("mouseup",{bubbles:!0})),e.dispatchEvent(new MouseEvent("click",{bubbles:!0}))}),t):(e.dispatchEvent(new MouseEvent("mousedown",{bubbles:!0})),e.dispatchEvent(new MouseEvent("mouseup",{bubbles:!0})),e.dispatchEvent(new MouseEvent("click",{bubbles:!0})))}fillTextInput(e,t,n=0){n>0?this.setJsPsychTimeout((()=>{e.value=t}),n):e.value=t}getValidKey(e){const t=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9"," "];let n;if("NO_KEYS"==e)n=null;else if("ALL_KEYS"==e)n=t[Math.floor(Math.random()*t.length)];else{const t=e.flat();n=t[Math.floor(Math.random()*t.length)]}return n}mergeSimulationData(e,t){return Object.assign(Object.assign({},e),null==t?void 0:t.data)}ensureSimulationDataConsistency(e,t){if(t.rt&&(t.rt=Math.round(t.rt)),e.trial_duration&&t.rt&&t.rt>e.trial_duration&&(t.rt=null,t.response&&(t.response=null),t.correct&&(t.correct=!1)),e.choices&&"NO_KEYS"==e.choices&&(t.rt&&(t.rt=null),t.response&&(t.response=null)),e.allow_response_before_complete&&e.sequence_reps&&e.frame_time){const n=e.sequence_reps*e.frame_time*e.stimuli.length;t.rt<n&&(t.rt=null,t.response=null)}}}class Ca{constructor(){this.timeout_handlers=[]}setTimeout(e,t){const n=window.setTimeout(e,t);return this.timeout_handlers.push(n),n}clearAllTimeouts(){for(const e of this.timeout_handlers)clearTimeout(e);this.timeout_handlers=[]}}var La={exports:{}};!function(e,t,n){function i(e){var t=this,n=function(){var e=4022871197,t=function(t){t=String(t);for(var n=0;n<t.length;n++){var i=.02519603282416938*(e+=t.charCodeAt(n));i-=e=i>>>0,e=(i*=e)>>>0,e+=4294967296*(i-=e)}return 2.3283064365386963e-10*(e>>>0)};return t}();t.next=function(){var e=2091639*t.s0+2.3283064365386963e-10*t.c;return t.s0=t.s1,t.s1=t.s2,t.s2=e-(t.c=0|e)},t.c=1,t.s0=n(" "),t.s1=n(" "),t.s2=n(" "),t.s0-=n(e),t.s0<0&&(t.s0+=1),t.s1-=n(e),t.s1<0&&(t.s1+=1),t.s2-=n(e),t.s2<0&&(t.s2+=1),n=null}function s(e,t){return t.c=e.c,t.s0=e.s0,t.s1=e.s1,t.s2=e.s2,t}function r(e,t){var n=new i(e),r=t&&t.state,a=n.next;return a.int32=function(){return 4294967296*n.next()|0},a.double=function(){return a()+11102230246251565e-32*(2097152*a()|0)},a.quick=a,r&&("object"==typeof r&&s(r,n),a.state=function(){return s(n,{})}),a}t&&t.exports?t.exports=r:n&&n.amd?n((function(){return r})):this.alea=r}(0,La,!1);var Oa=La.exports,Na=ha(Oa),Fa={exports:{}};!function(e,t,n){function i(e){var t=this,n="";t.x=0,t.y=0,t.z=0,t.w=0,t.next=function(){var e=t.x^t.x<<11;return t.x=t.y,t.y=t.z,t.z=t.w,t.w^=t.w>>>19^e^e>>>8},e===(0|e)?t.x=e:n+=e;for(var i=0;i<n.length+64;i++)t.x^=0|n.charCodeAt(i),t.next()}function s(e,t){return t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t}function r(e,t){var n=new i(e),r=t&&t.state,a=function(){return(n.next()>>>0)/4294967296};return a.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},a.int32=n.next,a.quick=a,r&&("object"==typeof r&&s(r,n),a.state=function(){return s(n,{})}),a}t&&t.exports?t.exports=r:n&&n.amd?n((function(){return r})):this.xor128=r}(0,Fa,!1);var ja=Fa.exports,Pa={exports:{}};!function(e,t,n){function i(e){var t=this,n="";t.next=function(){var e=t.x^t.x>>>2;return t.x=t.y,t.y=t.z,t.z=t.w,t.w=t.v,(t.d=t.d+362437|0)+(t.v=t.v^t.v<<4^e^e<<1)|0},t.x=0,t.y=0,t.z=0,t.w=0,t.v=0,e===(0|e)?t.x=e:n+=e;for(var i=0;i<n.length+64;i++)t.x^=0|n.charCodeAt(i),i==n.length&&(t.d=t.x<<10^t.x>>>4),t.next()}function s(e,t){return t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t.v=e.v,t.d=e.d,t}function r(e,t){var n=new i(e),r=t&&t.state,a=function(){return(n.next()>>>0)/4294967296};return a.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},a.int32=n.next,a.quick=a,r&&("object"==typeof r&&s(r,n),a.state=function(){return s(n,{})}),a}t&&t.exports?t.exports=r:n&&n.amd?n((function(){return r})):this.xorwow=r}(0,Pa,!1);var Ua=Pa.exports,Ma={exports:{}};!function(e,t,n){function i(e){var t=this;t.next=function(){var e,n,i=t.x,s=t.i;return e=i[s],n=(e^=e>>>7)^e<<24,n^=(e=i[s+1&7])^e>>>10,n^=(e=i[s+3&7])^e>>>3,n^=(e=i[s+4&7])^e<<7,e=i[s+7&7],n^=(e^=e<<13)^e<<9,i[s]=n,t.i=s+1&7,n},function(e,t){var n,i=[];if(t===(0|t))i[0]=t;else for(t=""+t,n=0;n<t.length;++n)i[7&n]=i[7&n]<<15^t.charCodeAt(n)+i[n+1&7]<<13;for(;i.length<8;)i.push(0);for(n=0;n<8&&0===i[n];++n);for(8==n?i[7]=-1:i[n],e.x=i,e.i=0,n=256;n>0;--n)e.next()}(t,e)}function s(e,t){return t.x=e.x.slice(),t.i=e.i,t}function r(e,t){null==e&&(e=+new Date);var n=new i(e),r=t&&t.state,a=function(){return(n.next()>>>0)/4294967296};return a.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},a.int32=n.next,a.quick=a,r&&(r.x&&s(r,n),a.state=function(){return s(n,{})}),a}t&&t.exports?t.exports=r:n&&n.amd?n((function(){return r})):this.xorshift7=r}(0,Ma,!1);var Da=Ma.exports,$a={exports:{}};!function(e,t,n){function i(e){var t=this;t.next=function(){var e,n,i=t.w,s=t.X,r=t.i;return t.w=i=i+1640531527|0,n=s[r+34&127],e=s[r=r+1&127],n^=n<<13,e^=e<<17,n^=n>>>15,e^=e>>>12,n=s[r]=n^e,t.i=r,n+(i^i>>>16)|0},function(e,t){var n,i,s,r,a,o=[],c=128;for(t===(0|t)?(i=t,t=null):(t+="\0",i=0,c=Math.max(c,t.length)),s=0,r=-32;r<c;++r)t&&(i^=t.charCodeAt((r+32)%t.length)),0===r&&(a=i),i^=i<<10,i^=i>>>15,i^=i<<4,i^=i>>>13,r>=0&&(a=a+1640531527|0,s=0==(n=o[127&r]^=i+a)?s+1:0);for(s>=128&&(o[127&(t&&t.length||0)]=-1),s=127,r=512;r>0;--r)i=o[s+34&127],n=o[s=s+1&127],i^=i<<13,n^=n<<17,i^=i>>>15,n^=n>>>12,o[s]=i^n;e.w=a,e.X=o,e.i=s}(t,e)}function s(e,t){return t.i=e.i,t.w=e.w,t.X=e.X.slice(),t}function r(e,t){null==e&&(e=+new Date);var n=new i(e),r=t&&t.state,a=function(){return(n.next()>>>0)/4294967296};return a.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},a.int32=n.next,a.quick=a,r&&(r.X&&s(r,n),a.state=function(){return s(n,{})}),a}t&&t.exports?t.exports=r:n&&n.amd?n((function(){return r})):this.xor4096=r}(0,$a,!1);var za=$a.exports,Ba={exports:{}};!function(e,t,n){function i(e){var t=this,n="";t.next=function(){var e=t.b,n=t.c,i=t.d,s=t.a;return e=e<<25^e>>>7^n,n=n-i|0,i=i<<24^i>>>8^s,s=s-e|0,t.b=e=e<<20^e>>>12^n,t.c=n=n-i|0,t.d=i<<16^n>>>16^s,t.a=s-e|0},t.a=0,t.b=0,t.c=-1640531527,t.d=1367130551,e===Math.floor(e)?(t.a=e/4294967296|0,t.b=0|e):n+=e;for(var i=0;i<n.length+20;i++)t.b^=0|n.charCodeAt(i),t.next()}function s(e,t){return t.a=e.a,t.b=e.b,t.c=e.c,t.d=e.d,t}function r(e,t){var n=new i(e),r=t&&t.state,a=function(){return(n.next()>>>0)/4294967296};return a.double=function(){do{var e=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},a.int32=n.next,a.quick=a,r&&("object"==typeof r&&s(r,n),a.state=function(){return s(n,{})}),a}t&&t.exports?t.exports=r:n&&n.amd?n((function(){return r})):this.tychei=r}(0,Ba,!1);var qa=Ba.exports,Va={exports:{}};!function(e){!function(t,n,i){var s,r=256,a="random",o=i.pow(r,6),c=i.pow(2,52),l=2*c,d=r-1;function u(e,d,u){var y=[],v=m(h((d=1==d?{entropy:!0}:d||{}).entropy?[e,g(n)]:null==e?function(){try{var e;return s&&(e=s.randomBytes)?e=e(r):(e=new Uint8Array(r),(t.crypto||t.msCrypto).getRandomValues(e)),g(e)}catch(e){var i=t.navigator,a=i&&i.plugins;return[+new Date,t,a,t.screen,g(n)]}}():e,3),y),b=new p(y),_=function(){for(var e=b.g(6),t=o,n=0;e<c;)e=(e+n)*r,t*=r,n=b.g(1);for(;e>=l;)e/=2,t/=2,n>>>=1;return(e+n)/t};return _.int32=function(){return 0|b.g(4)},_.quick=function(){return b.g(4)/4294967296},_.double=_,m(g(b.S),n),(d.pass||u||function(e,t,n,s){return s&&(s.S&&f(s,b),e.state=function(){return f(b,{})}),n?(i[a]=e,t):e})(_,v,"global"in d?d.global:this==i,d.state)}function p(e){var t,n=e.length,i=this,s=0,a=i.i=i.j=0,o=i.S=[];for(n||(e=[n++]);s<r;)o[s]=s++;for(s=0;s<r;s++)o[s]=o[a=d&a+e[s%n]+(t=o[s])],o[a]=t;(i.g=function(e){for(var t,n=0,s=i.i,a=i.j,o=i.S;e--;)t=o[s=d&s+1],n=n*r+o[d&(o[s]=o[a=d&a+t])+(o[a]=t)];return i.i=s,i.j=a,n})(r)}function f(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function h(e,t){var n,i=[],s=typeof e;if(t&&"object"==s)for(n in e)try{i.push(h(e[n],t-1))}catch(e){}return i.length?i:"string"==s?e:e+"\0"}function m(e,t){for(var n,i=e+"",s=0;s<i.length;)t[d&s]=d&(n^=19*t[d&s])+i.charCodeAt(s++);return g(t)}function g(e){return String.fromCharCode.apply(0,e)}if(m(i.random(),n),e.exports){e.exports=u;try{s=require("crypto")}catch(e){}}else i["seed"+a]=u}("undefined"!=typeof self?self:fa,[],Math)}(Va);var Ha=Oa,Wa=ja,Ya=Ua,Ka=Da,Ga=za,Ja=qa,Xa=Va.exports;Xa.alea=Ha,Xa.xor128=Wa,Xa.xorwow=Ya,Xa.xorshift7=Ka,Xa.xor4096=Ga,Xa.tychei=Ja;var Qa=Xa,Za=["ability","able","aboard","about","above","accept","accident","according","account","accurate","acres","across","act","action","active","activity","actual","actually","add","addition","additional","adjective","adult","adventure","advice","affect","afraid","after","afternoon","again","against","age","ago","agree","ahead","aid","air","airplane","alike","alive","all","allow","almost","alone","along","aloud","alphabet","already","also","although","am","among","amount","ancient","angle","angry","animal","announced","another","answer","ants","any","anybody","anyone","anything","anyway","anywhere","apart","apartment","appearance","apple","applied","appropriate","are","area","arm","army","around","arrange","arrangement","arrive","arrow","art","article","as","aside","ask","asleep","at","ate","atmosphere","atom","atomic","attached","attack","attempt","attention","audience","author","automobile","available","average","avoid","aware","away","baby","back","bad","badly","bag","balance","ball","balloon","band","bank","bar","bare","bark","barn","base","baseball","basic","basis","basket","bat","battle","be","bean","bear","beat","beautiful","beauty","became","because","become","becoming","bee","been","before","began","beginning","begun","behavior","behind","being","believed","bell","belong","below","belt","bend","beneath","bent","beside","best","bet","better","between","beyond","bicycle","bigger","biggest","bill","birds","birth","birthday","bit","bite","black","blank","blanket","blew","blind","block","blood","blow","blue","board","boat","body","bone","book","border","born","both","bottle","bottom","bound","bow","bowl","box","boy","brain","branch","brass","brave","bread","break","breakfast","breath","breathe","breathing","breeze","brick","bridge","brief","bright","bring","broad","broke","broken","brother","brought","brown","brush","buffalo","build","building","built","buried","burn","burst","bus","bush","business","busy","but","butter","buy","by","cabin","cage","cake","call","calm","came","camera","camp","can","canal","cannot","cap","capital","captain","captured","car","carbon","card","care","careful","carefully","carried","carry","case","cast","castle","cat","catch","cattle","caught","cause","cave","cell","cent","center","central","century","certain","certainly","chain","chair","chamber","chance","change","changing","chapter","character","characteristic","charge","chart","check","cheese","chemical","chest","chicken","chief","child","children","choice","choose","chose","chosen","church","circle","circus","citizen","city","class","classroom","claws","clay","clean","clear","clearly","climate","climb","clock","close","closely","closer","cloth","clothes","clothing","cloud","club","coach","coal","coast","coat","coffee","cold","collect","college","colony","color","column","combination","combine","come","comfortable","coming","command","common","community","company","compare","compass","complete","completely","complex","composed","composition","compound","concerned","condition","congress","connected","consider","consist","consonant","constantly","construction","contain","continent","continued","contrast","control","conversation","cook","cookies","cool","copper","copy","corn","corner","correct","correctly","cost","cotton","could","count","country","couple","courage","course","court","cover","cow","cowboy","crack","cream","create","creature","crew","crop","cross","crowd","cry","cup","curious","current","curve","customs","cut","cutting","daily","damage","dance","danger","dangerous","dark","darkness","date","daughter","dawn","day","dead","deal","dear","death","decide","declared","deep","deeply","deer","definition","degree","depend","depth","describe","desert","design","desk","detail","determine","develop","development","diagram","diameter","did","die","differ","difference","different","difficult","difficulty","dig","dinner","direct","direction","directly","dirt","dirty","disappear","discover","discovery","discuss","discussion","disease","dish","distance","distant","divide","division","do","doctor","does","dog","doing","doll","dollar","done","donkey","door","dot","double","doubt","down","dozen","draw","drawn","dream","dress","drew","dried","drink","drive","driven","driver","driving","drop","dropped","drove","dry","duck","due","dug","dull","during","dust","duty","each","eager","ear","earlier","early","earn","earth","easier","easily","east","easy","eat","eaten","edge","education","effect","effort","egg","eight","either","electric","electricity","element","elephant","eleven","else","empty","end","enemy","energy","engine","engineer","enjoy","enough","enter","entire","entirely","environment","equal","equally","equator","equipment","escape","especially","essential","establish","even","evening","event","eventually","ever","every","everybody","everyone","everything","everywhere","evidence","exact","exactly","examine","example","excellent","except","exchange","excited","excitement","exciting","exclaimed","exercise","exist","expect","experience","experiment","explain","explanation","explore","express","expression","extra","eye","face","facing","fact","factor","factory","failed","fair","fairly","fall","fallen","familiar","family","famous","far","farm","farmer","farther","fast","fastened","faster","fat","father","favorite","fear","feathers","feature","fed","feed","feel","feet","fell","fellow","felt","fence","few","fewer","field","fierce","fifteen","fifth","fifty","fight","fighting","figure","fill","film","final","finally","find","fine","finest","finger","finish","fire","fireplace","firm","first","fish","five","fix","flag","flame","flat","flew","flies","flight","floating","floor","flow","flower","fly","fog","folks","follow","food","foot","football","for","force","foreign","forest","forget","forgot","forgotten","form","former","fort","forth","forty","forward","fought","found","four","fourth","fox","frame","free","freedom","frequently","fresh","friend","friendly","frighten","frog","from","front","frozen","fruit","fuel","full","fully","fun","function","funny","fur","furniture","further","future","gain","game","garage","garden","gas","gasoline","gate","gather","gave","general","generally","gentle","gently","get","getting","giant","gift","girl","give","given","giving","glad","glass","globe","go","goes","gold","golden","gone","good","goose","got","government","grabbed","grade","gradually","grain","grandfather","grandmother","graph","grass","gravity","gray","great","greater","greatest","greatly","green","grew","ground","group","grow","grown","growth","guard","guess","guide","gulf","gun","habit","had","hair","half","halfway","hall","hand","handle","handsome","hang","happen","happened","happily","happy","harbor","hard","harder","hardly","has","hat","have","having","hay","he","headed","heading","health","heard","hearing","heart","heat","heavy","height","held","hello","help","helpful","her","herd","here","herself","hidden","hide","high","higher","highest","highway","hill","him","himself","his","history","hit","hold","hole","hollow","home","honor","hope","horn","horse","hospital","hot","hour","house","how","however","huge","human","hundred","hung","hungry","hunt","hunter","hurried","hurry","hurt","husband","ice","idea","identity","if","ill","image","imagine","immediately","importance","important","impossible","improve","in","inch","include","including","income","increase","indeed","independent","indicate","individual","industrial","industry","influence","information","inside","instance","instant","instead","instrument","interest","interior","into","introduced","invented","involved","iron","is","island","it","its","itself","jack","jar","jet","job","join","joined","journey","joy","judge","jump","jungle","just","keep","kept","key","kids","kill","kind","kitchen","knew","knife","know","knowledge","known","label","labor","lack","lady","laid","lake","lamp","land","language","large","larger","largest","last","late","later","laugh","law","lay","layers","lead","leader","leaf","learn","least","leather","leave","leaving","led","left","leg","length","lesson","let","letter","level","library","lie","life","lift","light","like","likely","limited","line","lion","lips","liquid","list","listen","little","live","living","load","local","locate","location","log","lonely","long","longer","look","loose","lose","loss","lost","lot","loud","love","lovely","low","lower","luck","lucky","lunch","lungs","lying","machine","machinery","mad","made","magic","magnet","mail","main","mainly","major","make","making","man","managed","manner","manufacturing","many","map","mark","market","married","mass","massage","master","material","mathematics","matter","may","maybe","me","meal","mean","means","meant","measure","meat","medicine","meet","melted","member","memory","men","mental","merely","met","metal","method","mice","middle","might","mighty","mile","military","milk","mill","mind","mine","minerals","minute","mirror","missing","mission","mistake","mix","mixture","model","modern","molecular","moment","money","monkey","month","mood","moon","more","morning","most","mostly","mother","motion","motor","mountain","mouse","mouth","move","movement","movie","moving","mud","muscle","music","musical","must","my","myself","mysterious","nails","name","nation","national","native","natural","naturally","nature","near","nearby","nearer","nearest","nearly","necessary","neck","needed","needle","needs","negative","neighbor","neighborhood","nervous","nest","never","new","news","newspaper","next","nice","night","nine","no","nobody","nodded","noise","none","noon","nor","north","nose","not","note","noted","nothing","notice","noun","now","number","numeral","nuts","object","observe","obtain","occasionally","occur","ocean","of","off","offer","office","officer","official","oil","old","older","oldest","on","once","one","only","onto","open","operation","opinion","opportunity","opposite","or","orange","orbit","order","ordinary","organization","organized","origin","original","other","ought","our","ourselves","out","outer","outline","outside","over","own","owner","oxygen","pack","package","page","paid","pain","paint","pair","palace","pale","pan","paper","paragraph","parallel","parent","park","part","particles","particular","particularly","partly","parts","party","pass","passage","past","path","pattern","pay","peace","pen","pencil","people","per","percent","perfect","perfectly","perhaps","period","person","personal","pet","phrase","physical","piano","pick","picture","pictured","pie","piece","pig","pile","pilot","pine","pink","pipe","pitch","place","plain","plan","plane","planet","planned","planning","plant","plastic","plate","plates","play","pleasant","please","pleasure","plenty","plural","plus","pocket","poem","poet","poetry","point","pole","police","policeman","political","pond","pony","pool","poor","popular","population","porch","port","position","positive","possible","possibly","post","pot","potatoes","pound","pour","powder","power","powerful","practical","practice","prepare","present","president","press","pressure","pretty","prevent","previous","price","pride","primitive","principal","principle","printed","private","prize","probably","problem","process","produce","product","production","program","progress","promised","proper","properly","property","protection","proud","prove","provide","public","pull","pupil","pure","purple","purpose","push","put","putting","quarter","queen","question","quick","quickly","quiet","quietly","quite","rabbit","race","radio","railroad","rain","raise","ran","ranch","range","rapidly","rate","rather","raw","rays","reach","read","reader","ready","real","realize","rear","reason","recall","receive","recent","recently","recognize","record","red","refer","refused","region","regular","related","relationship","religious","remain","remarkable","remember","remove","repeat","replace","replied","report","represent","require","research","respect","rest","result","return","review","rhyme","rhythm","rice","rich","ride","riding","right","ring","rise","rising","river","road","roar","rock","rocket","rocky","rod","roll","roof","room","root","rope","rose","rough","round","route","row","rubbed","rubber","rule","ruler","run","running","rush","sad","saddle","safe","safety","said","sail","sale","salmon","salt","same","sand","sang","sat","satellites","satisfied","save","saved","saw","say","scale","scared","scene","school","science","scientific","scientist","score","screen","sea","search","season","seat","second","secret","section","see","seed","seeing","seems","seen","seldom","select","selection","sell","send","sense","sent","sentence","separate","series","serious","serve","service","sets","setting","settle","settlers","seven","several","shade","shadow","shake","shaking","shall","shallow","shape","share","sharp","she","sheep","sheet","shelf","shells","shelter","shine","shinning","ship","shirt","shoe","shoot","shop","shore","short","shorter","shot","should","shoulder","shout","show","shown","shut","sick","sides","sight","sign","signal","silence","silent","silk","silly","silver","similar","simple","simplest","simply","since","sing","single","sink","sister","sit","sitting","situation","six","size","skill","skin","sky","slabs","slave","sleep","slept","slide","slight","slightly","slip","slipped","slope","slow","slowly","small","smaller","smallest","smell","smile","smoke","smooth","snake","snow","so","soap","social","society","soft","softly","soil","solar","sold","soldier","solid","solution","solve","some","somebody","somehow","someone","something","sometime","somewhere","son","song","soon","sort","sound","source","south","southern","space","speak","special","species","specific","speech","speed","spell","spend","spent","spider","spin","spirit","spite","split","spoken","sport","spread","spring","square","stage","stairs","stand","standard","star","stared","start","state","statement","station","stay","steady","steam","steel","steep","stems","step","stepped","stick","stiff","still","stock","stomach","stone","stood","stop","stopped","store","storm","story","stove","straight","strange","stranger","straw","stream","street","strength","stretch","strike","string","strip","strong","stronger","struck","structure","struggle","stuck","student","studied","studying","subject","substance","success","successful","such","sudden","suddenly","sugar","suggest","suit","sum","summer","sun","sunlight","supper","supply","support","suppose","sure","surface","surprise","surrounded","swam","sweet","swept","swim","swimming","swing","swung","syllable","symbol","system","table","tail","take","taken","tales","talk","tall","tank","tape","task","taste","taught","tax","tea","teach","teacher","team","tears","teeth","telephone","television","tell","temperature","ten","tent","term","terrible","test","than","thank","that","thee","them","themselves","then","theory","there","therefore","these","they","thick","thin","thing","think","third","thirty","this","those","thou","though","thought","thousand","thread","three","threw","throat","through","throughout","throw","thrown","thumb","thus","thy","tide","tie","tight","tightly","till","time","tin","tiny","tip","tired","title","to","tobacco","today","together","told","tomorrow","tone","tongue","tonight","too","took","tool","top","topic","torn","total","touch","toward","tower","town","toy","trace","track","trade","traffic","trail","train","transportation","trap","travel","treated","tree","triangle","tribe","trick","tried","trip","troops","tropical","trouble","truck","trunk","truth","try","tube","tune","turn","twelve","twenty","twice","two","type","typical","uncle","under","underline","understanding","unhappy","union","unit","universe","unknown","unless","until","unusual","up","upon","upper","upward","us","use","useful","using","usual","usually","valley","valuable","value","vapor","variety","various","vast","vegetable","verb","vertical","very","vessels","victory","view","village","visit","visitor","voice","volume","vote","vowel","voyage","wagon","wait","walk","wall","want","war","warm","warn","was","wash","waste","watch","water","wave","way","we","weak","wealth","wear","weather","week","weigh","weight","welcome","well","went","were","west","western","wet","whale","what","whatever","wheat","wheel","when","whenever","where","wherever","whether","which","while","whispered","whistle","white","who","whole","whom","whose","why","wide","widely","wife","wild","will","willing","win","wind","window","wing","winter","wire","wise","wish","with","within","without","wolf","women","won","wonder","wonderful","wood","wooden","wool","word","wore","work","worker","world","worried","worry","worse","worth","would","wrapped","write","writer","writing","written","wrong","wrote","yard","year","yellow","yes","yesterday","yet","you","young","younger","your","yourself","youth","zero","zebra","zipper","zoo","zulu"];function eo(e){const t=e?.seed?new Qa(e.seed):null;function n(){return e&&e.maxLength>1?function(){var t,n=!1;for(;!n;)(t=i()).length<=e.maxLength&&(n=!0);return t}():i()}function i(){return Za[s(Za.length)]}function s(e){const n=t?t():Math.random();return Math.floor(n*e)}if(void 0===e)return n();"number"==typeof e&&(e={exactly:e}),e.exactly&&(e.min=e.exactly,e.max=e.exactly),"number"!=typeof e.wordsPerString&&(e.wordsPerString=1),"function"!=typeof e.formatter&&(e.formatter=e=>e),"string"!=typeof e.separator&&(e.separator=" ");for(var r=e.min+s(e.max+1-e.min),a=[],o="",c=0,l=0;l<r*e.wordsPerString;l++)c===e.wordsPerString-1?o+=e.formatter(n(),c):o+=e.formatter(n(),c)+e.separator,c++,(l+1)%e.wordsPerString==0&&(a.push(o),o="",c=0);return"string"==typeof e.join&&(a=a.join(e.join)),a}var to=eo;eo.wordList=Za;var no=ha(to);function io(e,t,n=!1){const i=Array.isArray(e),s=Array.isArray(t);if(i)if(s){if(e.length!=t.length)if(console.warn("Unclear parameters given to randomization.repeat. Items and repetitions are unequal lengths. Behavior may not be as expected."),t.length<e.length){let n=[];for(let i=0;i<e.length;i++)n.push(t);t=n}else t=t.slice(0,e.length)}else{let n=[];for(let i=0;i<e.length;i++)n.push(t);t=n}else s?(t=[t[0]],console.log("Unclear parameters given to randomization.repeat. Multiple set sizes specified, but only one item exists to sample. Proceeding using the first set size.")):(e=[e],t=[t]);let r=[];for(let n=0;n<e.length;n++)for(let i=0;i<t[n];i++)null==e[n]||"object"!=typeof e[n]?r.push(e[n]):r.push(Object.assign({},e[n]));let a=so(r);return n&&(a=function(e){const t={};for(const n of e)for(const e of Object.keys(n))void 0===t[e]&&(t[e]=[]),t[e].push(n[e]);return t}(a)),a}function so(e){Array.isArray(e)||console.error("Argument to shuffle() must be an array.");const t=e.slice(0);let n,i,s=t.length;for(;s;)i=Math.floor(Math.random()*s--),n=t[s],t[s]=t[i],t[i]=n;return t}function ro(e,t=!1){const n=e.length;if(1==n)return console.warn("shuffleAlternateGroups() was called with only one group. Defaulting to simple shuffle."),so(e[0]);let i=[];for(let e=0;e<n;e++)i.push(e);t&&(i=so(i));const s=[];let r=null;for(let t=0;t<n;t++)r=null===r?e[t].length:Math.min(r,e[t].length),s.push(so(e[t]));const a=[];for(let e=0;e<r;e++)for(let t=0;t<i.length;t++)a.push(s[i[t]][e]);return a}function ao(e,t){return Array.isArray(e)||console.error("First argument to sampleWithoutReplacement() must be an array"),t>e.length&&console.error("Cannot take a sample larger than the size of the set of items to sample."),so(e).slice(0,t)}function oo(e,t,n){Array.isArray(e)||console.error("First argument to sampleWithReplacement() must be an array");const i=[];if(void 0!==n){n.length!==e.length&&console.error("The length of the weights array must equal the length of the array to be sampled from.");let t=0;for(const e of n)t+=e;for(const e of n)i.push(e/t)}else for(let t=0;t<e.length;t++)i.push(1/e.length);const s=[i[0]];for(let e=1;e<i.length;e++)s.push(i[e]+s[e-1]);const r=[];for(let n=0;n<t;n++){const t=Math.random();let n=0;for(;t>s[n];)n++;r.push(e[n])}return r}function co(e,t){return function(){var e=0,t=0;for(;0===e;)e=Math.random();for(;0===t;)t=Math.random();return Math.sqrt(-2*Math.log(e))*Math.cos(2*Math.PI*t)}()*t+e}function lo(e){return-Math.log(Math.random())/e}var uo=Object.freeze({__proto__:null,factorial:function(e,t=1,n=!1){let i=[{}];for(const[t,n]of Object.entries(e)){const e=[];for(const s of n)for(const n of i)e.push(Object.assign(Object.assign({},n),{[t]:s}));i=e}return io(i,t,n)},randomID:function(e=32){let t="";const n="0123456789abcdefghjklmnopqrstuvwxyz";for(let i=0;i<e;i++)t+=n[Math.floor(35*Math.random())];return t},randomInt:function(e,t){if(t<e)throw new Error("Upper boundary must be less than or equal to lower boundary");return e+Math.floor(Math.random()*(t-e+1))},randomWords:function(e){return no(e)},repeat:io,sampleBernoulli:function(e){return Math.random()<=e?1:0},sampleExGaussian:function(e,t,n,i=!1){let s=co(e,t)+lo(n);if(i)for(;s<=0;)s=co(e,t)+lo(n);return s},sampleExponential:lo,sampleNormal:co,sampleWithReplacement:oo,sampleWithoutReplacement:ao,setSeed:function(e=Math.random().toString()){return Math.random=Na(e),e},shuffle:so,shuffleAlternateGroups:ro,shuffleNoRepeats:function(e,t){Array.isArray(e)||console.error("First argument to shuffleNoRepeats() must be an array."),void 0!==t&&"function"!=typeof t&&console.error("Second argument to shuffleNoRepeats() must be a function."),void 0===t&&(t=function(e,t){return e===t});const n=so(e);for(let e=0;e<n.length-1;e++)if(t(n[e],n[e+1])){let i=Math.floor(Math.random()*(n.length-2))+1;for(;t(n[e+1],n[i])||t(n[e+1],n[i+1])||t(n[e+1],n[i-1])||t(n[e],n[i]);)i=Math.floor(Math.random()*(n.length-2))+1;const s=n[i];n[i]=n[e+1],n[e+1]=s}return n}});function po(){const e={previewMode:!1,outsideTurk:!1,hitId:"INVALID_URL_PARAMETER",assignmentId:"INVALID_URL_PARAMETER",workerId:"INVALID_URL_PARAMETER",turkSubmitTo:"INVALID_URL_PARAMETER"},t=function(e,t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return null==n?"":n[1]},n=t(window.location.href,"assignmentId")?window.location.href:document.referrer;return["assignmentId","hitId","workerId","turkSubmitTo"].map((function(i){e[i]=unescape(t(n,i))})),e.previewMode="ASSIGNMENT_ID_NOT_AVAILABLE"==e.assignmentId,e.outsideTurk=!e.previewMode&&""===e.hitId&&""==e.assignmentId&&""==e.workerId,e}var fo=Object.freeze({__proto__:null,submitToTurk:function(e){const t=po(),n=t.assignmentId,i=t.turkSubmitTo;if(!n||!i)return;const s=document.createElement("form");s.method="POST",s.action=i+"/mturk/externalSubmit?assignmentId="+n;for(const t in e)if(e.hasOwnProperty(t)){const n=document.createElement("input");n.type="hidden",n.name=t,n.id=t,n.value=e[t],s.appendChild(n)}document.body.appendChild(s),s.submit()},turkInfo:po});class ho{constructor(e,t,n,i){if(this.jsPsych=e,this.progress={current_location:-1,current_variable_set:0,current_repetition:0,current_iteration:0,done:!1},this.parent_node=n,this.relative_id=void 0===n?0:i,void 0!==t.timeline){this.timeline_parameters={timeline:[],loop_function:t.loop_function,conditional_function:t.conditional_function,sample:t.sample,randomize_order:void 0!==t.randomize_order&&t.randomize_order,repetitions:void 0===t.repetitions?1:t.repetitions,timeline_variables:void 0===t.timeline_variables?[{}]:t.timeline_variables,on_timeline_finish:t.on_timeline_finish,on_timeline_start:t.on_timeline_start},this.setTimelineVariablesOrder();var s=Object.assign({},t);delete s.timeline,delete s.conditional_function,delete s.loop_function,delete s.randomize_order,delete s.repetitions,delete s.timeline_variables,delete s.sample,delete s.on_timeline_start,delete s.on_timeline_finish,this.node_trial_data=s;for(var r=0;r<t.timeline.length;r++){var a=Object.assign({},s,t.timeline[r]);if("object"==typeof s.data&&"object"==typeof t.timeline[r].data){var o=Object.assign({},s.data,t.timeline[r].data);a.data=o}this.timeline_parameters.timeline.push(new ho(this.jsPsych,a,this,r))}}else void 0===t.type&&console.error('Trial level node is missing the "type" parameter. The parameters for the node are: '+JSON.stringify(t)),this.trial_parameters=Object.assign({},t)}trial(){return void 0===this.timeline_parameters?va(this.trial_parameters):this.progress.current_location>=this.timeline_parameters.timeline.length?null:this.timeline_parameters.timeline[this.progress.current_location].trial()}markCurrentTrialComplete(){void 0===this.timeline_parameters?this.progress.done=!0:this.timeline_parameters.timeline[this.progress.current_location].markCurrentTrialComplete()}nextRepetiton(){this.setTimelineVariablesOrder(),this.progress.current_location=-1,this.progress.current_variable_set=0,this.progress.current_repetition++;for(var e=0;e<this.timeline_parameters.timeline.length;e++)this.timeline_parameters.timeline[e].reset()}setTimelineVariablesOrder(){const e=this.timeline_parameters;if(void 0!==e&&void 0!==e.timeline_variables){for(var t=[],n=0;n<e.timeline_variables.length;n++)t.push(n);void 0!==e.sample&&("custom"==e.sample.type?t=e.sample.fn(t):"with-replacement"==e.sample.type?t=oo(t,e.sample.size,e.sample.weights):"without-replacement"==e.sample.type?t=ao(t,e.sample.size):"fixed-repetitions"==e.sample.type?t=io(t,e.sample.size,!1):"alternate-groups"==e.sample.type?t=ro(e.sample.groups,e.sample.randomize_group_order):console.error('Invalid type in timeline sample parameters. Valid options for type are "custom", "with-replacement", "without-replacement", "fixed-repetitions", and "alternate-groups"')),e.randomize_order&&(t=so(t)),this.progress.order=t}}nextSet(){this.progress.current_location=-1,this.progress.current_variable_set++;for(var e=0;e<this.timeline_parameters.timeline.length;e++)this.timeline_parameters.timeline[e].reset()}advance(){const e=this.progress,t=this.timeline_parameters,n=this.jsPsych.internal;if(e.done)return!0;if(-1==e.current_location){if(void 0!==t){if(void 0!==t.conditional_function&&0==e.current_repetition&&0==e.current_variable_set){n.call_immediate=!0;var i=t.conditional_function();if(n.call_immediate=!1,0==i)return e.done=!0,!0}void 0!==t.on_timeline_start&&0==e.current_variable_set&&t.on_timeline_start()}return e.current_location=0,this.advance()}if(void 0!==t){for(var s=!1;e.current_location<t.timeline.length&&0==s;){if(!t.timeline[e.current_location].advance())return s=!0,!1;e.current_location++}return e.current_variable_set<e.order.length-1?(this.nextSet(),this.advance()):e.current_repetition<t.repetitions-1?(this.nextRepetiton(),void 0!==t.on_timeline_finish&&t.on_timeline_finish(),this.advance()):(void 0!==t.on_timeline_finish&&t.on_timeline_finish(),void 0!==t.loop_function?(n.call_immediate=!0,t.loop_function(this.generatedData())?(this.reset(),n.call_immediate=!1,this.parent_node.advance()):(e.done=!0,n.call_immediate=!1,!0)):(e.done=!0,!0))}}isComplete(){return this.progress.done}getTimelineVariableValue(e){if(void 0!==this.timeline_parameters)return this.timeline_parameters.timeline_variables[this.progress.order[this.progress.current_variable_set]][e]}findTimelineVariable(e){var t=this.getTimelineVariableValue(e);return void 0===t?void 0!==this.parent_node?this.parent_node.findTimelineVariable(e):void 0:t}timelineVariable(e){if(void 0===this.timeline_parameters){const t=this.findTimelineVariable(e);return void 0===t&&console.warn("Timeline variable "+e+" not found."),t}{var t=Math.max(0,this.progress.current_location);t==this.timeline_parameters.timeline.length&&(t-=1);const n=this.timeline_parameters.timeline[t].timelineVariable(e);return void 0===n&&console.warn("Timeline variable "+e+" not found."),n}}allTimelineVariables(){for(var e=this.allTimelineVariablesNames(),t={},n=0;n<e.length;n++)t[e[n]]=this.timelineVariable(e[n]);return t}allTimelineVariablesNames(e=[]){if(void 0!==this.timeline_parameters){e=e.concat(Object.keys(this.timeline_parameters.timeline_variables[this.progress.order[this.progress.current_variable_set]]));var t=Math.max(0,this.progress.current_location);return t==this.timeline_parameters.timeline.length&&(t-=1),this.timeline_parameters.timeline[t].allTimelineVariablesNames(e)}if(void 0===this.timeline_parameters)return e}length(){var e=0;if(void 0===this.timeline_parameters)return 1;for(var t=0;t<this.timeline_parameters.timeline.length;t++)e+=this.timeline_parameters.timeline[t].length();return e}percentComplete(){for(var e=this.length(),t=0,n=0;n<this.timeline_parameters.timeline.length;n++)this.timeline_parameters.timeline[n].isComplete()&&(t+=this.timeline_parameters.timeline[n].length());return t/e*100}reset(){if(this.progress.current_location=-1,this.progress.current_repetition=0,this.progress.current_variable_set=0,this.progress.current_iteration++,this.progress.done=!1,this.setTimelineVariablesOrder(),void 0!==this.timeline_parameters)for(var e=0;e<this.timeline_parameters.timeline.length;e++)this.timeline_parameters.timeline[e].reset()}end(){this.progress.done=!0}endActiveNode(){void 0===this.timeline_parameters?(this.end(),this.parent_node.end()):this.timeline_parameters.timeline[this.progress.current_location].endActiveNode()}ID(){var e="";return void 0===this.parent_node?"0."+this.progress.current_iteration:(e+=this.parent_node.ID()+"-",e+=this.relative_id+"."+this.progress.current_iteration)}activeID(){return void 0===this.timeline_parameters?this.ID():this.timeline_parameters.timeline[this.progress.current_location].activeID()}generatedData(){return this.jsPsych.data.getDataByTimelineNode(this.ID())}trialsOfType(e){if(void 0===this.timeline_parameters)return this.trial_parameters.type==e?this.trial_parameters:[];for(var t=[],n=0;n<this.timeline_parameters.timeline.length;n++){var i=this.timeline_parameters.timeline[n].trialsOfType(e);t=t.concat(i)}return t}insert(e){void 0===this.timeline_parameters?console.error("Cannot add new trials to a trial-level node."):this.timeline_parameters.timeline.push(new ho(this.jsPsych,Object.assign(Object.assign({},this.node_trial_data),e),this,this.timeline_parameters.timeline.length))}}function mo(e){return new Promise((t=>setTimeout(t,e)))}class go{version(){return"7.3.4"}constructor(e){this.extensions={},this.turk=fo,this.randomization=uo,this.utils=_a,this.opts={},this.global_trial_index=0,this.current_trial={},this.current_trial_finished=!1,this.paused=!1,this.waiting=!1,this.file_protocol=!1,this.simulation_mode=null,this.webaudio_context=null,this.internal={call_immediate:!1},this.progress_bar_amount=0,e=Object.assign({display_element:void 0,on_finish:()=>{},on_trial_start:()=>{},on_trial_finish:()=>{},on_data_update:()=>{},on_interaction_data_update:()=>{},on_close:()=>{},use_webaudio:!0,exclusions:{},show_progress_bar:!1,message_progress_bar:"Completion Progress",auto_update_progress_bar:!0,default_iti:0,minimum_valid_rt:0,experiment_width:null,override_safe_mode:!1,case_sensitive_responses:!1,extensions:[]},e),this.opts=e,ma(this),this.webaudio_context="undefined"!=typeof window&&void 0!==window.AudioContext?new AudioContext:null,"file:"!=window.location.protocol||!1!==e.override_safe_mode&&void 0!==e.override_safe_mode||(e.use_webaudio=!1,this.file_protocol=!0,console.warn("jsPsych detected that it is running via the file:// protocol and not on a web server. To prevent issues with cross-origin requests, Web Audio and video preloading have been disabled. If you would like to override this setting, you can set 'override_safe_mode' to 'true' in initJsPsych. For more information, see: https://www.jspsych.org/overview/running-experiments")),this.data=new xa(this),this.pluginAPI=function(e){const t=e.getInitSettings(),n=ma(new Sa(e.getDisplayContainerElement,t.case_sensitive_responses,t.minimum_valid_rt)),i=ma(new Ca),s=ma(new Ta(t.use_webaudio,e.webaudio_context)),r=ma(new Ea),a=ma(new Ra(e.getDisplayContainerElement,i.setTimeout));return Object.assign({},n,i,s,r,a)}(this);for(const t of e.extensions)this.extensions[t.type.info.name]=new t.type(this);this.pluginAPI.initAudio()}run(e){return pa(this,void 0,void 0,(function*(){void 0===e&&console.error("No timeline declared in jsPsych.run. Cannot start experiment."),0===e.length&&console.error("No trials have been added to the timeline (the timeline is an empty array). Cannot start experiment."),this.timelineDescription=e,this.timeline=new ho(this,{timeline:e}),yield this.prepareDom(),yield this.checkExclusions(this.opts.exclusions),yield this.loadExtensions(this.opts.extensions),document.documentElement.setAttribute("jspsych","present"),this.startExperiment(),yield this.finished}))}simulate(e,t="data-only",n={}){return pa(this,void 0,void 0,(function*(){this.simulation_mode=t,this.simulation_options=n,yield this.run(e)}))}getProgress(){return{total_trials:void 0===this.timeline?void 0:this.timeline.length(),current_trial_global:this.global_trial_index,percent_complete:void 0===this.timeline?0:this.timeline.percentComplete()}}getStartTime(){return this.exp_start_time}getTotalTime(){return void 0===this.exp_start_time?0:(new Date).getTime()-this.exp_start_time.getTime()}getDisplayElement(){return this.DOM_target}getDisplayContainerElement(){return this.DOM_container}finishTrial(e={}){var t;if(this.current_trial_finished)return;this.current_trial_finished=!0,void 0!==this.current_trial.css_classes&&Array.isArray(this.current_trial.css_classes)&&this.DOM_target.classList.remove(...this.current_trial.css_classes),this.data.write(e);const n=this.data.getLastTrialData().values()[0],i=this.current_trial;if("object"==typeof i.save_trial_parameters)for(const e of Object.keys(i.save_trial_parameters)){const t=i.save_trial_parameters[e];!0===t&&(void 0===i[e]?console.warn(`Invalid parameter specified in save_trial_parameters. Trial has no property called "${e}".`):"function"==typeof i[e]?n[e]=i[e].toString():n[e]=i[e]),!1===t&&"internal_node_id"!==e&&"trial_index"!==e&&delete n[e]}const s=(null!==(t=i.extensions)&&void 0!==t?t:[]).map((e=>this.extensions[e.type.info.name].on_finish(e.params))),r=()=>{this.internal.call_immediate=!0,"function"==typeof i.on_finish&&i.on_finish(n),this.opts.on_trial_finish(n),this.opts.on_data_update(n),this.internal.call_immediate=!1,"data-only"===this.simulation_mode?this.nextTrial():null===typeof i.post_trial_gap||void 0===i.post_trial_gap?this.opts.default_iti>0?setTimeout(this.nextTrial,this.opts.default_iti):this.nextTrial():i.post_trial_gap>0?setTimeout(this.nextTrial,i.post_trial_gap):this.nextTrial()};if(s.some((e=>"function"==typeof e.then)))Promise.all(s.map((e=>Promise.resolve(e).then((e=>{Object.assign(n,e)}))))).then(r);else{for(const e of s)Object.assign(n,e);r()}}endExperiment(e="",t={}){this.timeline.end_message=e,this.timeline.end(),this.pluginAPI.cancelAllKeyboardResponses(),this.pluginAPI.clearAllTimeouts(),this.finishTrial(t)}endCurrentTimeline(){this.timeline.endActiveNode()}getCurrentTrial(){return this.current_trial}getInitSettings(){return this.opts}getCurrentTimelineNodeID(){return this.timeline.activeID()}timelineVariable(e,t=!1){return this.internal.call_immediate||!0===t?this.timeline.timelineVariable(e):{timelineVariablePlaceholder:!0,timelineVariableFunction:()=>this.timeline.timelineVariable(e)}}getAllTimelineVariables(){return this.timeline.allTimelineVariables()}addNodeToEndOfTimeline(e,t){this.timeline.insert(e)}pauseExperiment(){this.paused=!0}resumeExperiment(){this.paused=!1,this.waiting&&(this.waiting=!1,this.nextTrial())}loadFail(e){e=e||"<p>The experiment failed to load.</p>",this.DOM_target.innerHTML=e}getSafeModeStatus(){return this.file_protocol}getTimeline(){return this.timelineDescription}prepareDom(){return pa(this,void 0,void 0,(function*(){"complete"!==document.readyState&&(yield new Promise((e=>{window.addEventListener("load",e)})));const e=this.opts;if(void 0===e.display_element){null===document.querySelector("body")&&document.documentElement.appendChild(document.createElement("body")),document.querySelector("html").style.height="100%",document.querySelector("body").style.margin="0px",document.querySelector("body").style.height="100%",document.querySelector("body").style.width="100%",e.display_element=document.querySelector("body")}else{const t=e.display_element instanceof Element?e.display_element:document.querySelector("#"+e.display_element);null===t?console.error("The display_element specified in initJsPsych() does not exist in the DOM."):e.display_element=t}e.display_element.innerHTML='<div class="jspsych-content-wrapper"><div id="jspsych-content"></div></div>',this.DOM_container=e.display_element,this.DOM_target=document.querySelector("#jspsych-content"),null!==e.experiment_width&&(this.DOM_target.style.width=e.experiment_width+"px"),e.display_element.tabIndex=0,-1===e.display_element.className.indexOf("jspsych-display-element")&&(e.display_element.className+=" jspsych-display-element"),this.DOM_target.className+="jspsych-content",this.data.createInteractionListeners(),window.addEventListener("beforeunload",e.on_close)}))}loadExtensions(e){return pa(this,void 0,void 0,(function*(){try{yield Promise.all(e.map((e=>this.extensions[e.type.info.name].initialize(e.params||{}))))}catch(e){throw console.error(e),new Error(e)}}))}startExperiment(){this.finished=new Promise((e=>{this.resolveFinishedPromise=e})),!0===this.opts.show_progress_bar&&this.drawProgressBar(this.opts.message_progress_bar),this.exp_start_time=new Date,this.timeline.advance(),this.doTrial(this.timeline.trial())}finishExperiment(){const e=this.opts.on_finish(this.data.get()),t=()=>{void 0!==this.timeline.end_message&&(this.DOM_target.innerHTML=this.timeline.end_message),this.resolveFinishedPromise()};e?Promise.resolve(e).then(t):t()}nextTrial(){if(this.paused)return void(this.waiting=!0);this.global_trial_index++,this.timeline.markCurrentTrialComplete();const e=this.timeline.advance();!0===this.opts.show_progress_bar&&!0===this.opts.auto_update_progress_bar&&this.updateProgressBar(),e?this.finishExperiment():this.doTrial(this.timeline.trial())}doTrial(e){if(this.current_trial=e,this.current_trial_finished=!1,this.evaluateTimelineVariables(e),"string"==typeof e.type)throw new ga("A string was provided as the trial's `type` parameter. Since jsPsych v7, the `type` parameter needs to be a plugin object.");if(e.type=Object.assign(Object.assign({},ma(new e.type(this))),{info:e.type.info}),this.evaluateFunctionParameters(e),this.setDefaultValues(e),this.internal.call_immediate=!0,this.opts.on_trial_start(e),"function"==typeof e.on_start&&e.on_start(e),Array.isArray(e.extensions))for(const t of e.extensions)this.extensions[t.type.info.name].on_start(t.params);this.DOM_container.focus(),this.DOM_target.scrollTop=0,void 0!==e.css_classes&&(Array.isArray(e.css_classes)||"string"!=typeof e.css_classes||(e.css_classes=[e.css_classes]),Array.isArray(e.css_classes)&&this.DOM_target.classList.add(...e.css_classes));const t=()=>{if("function"==typeof e.on_load&&e.on_load(),Array.isArray(e.extensions))for(const t of e.extensions)this.extensions[t.type.info.name].on_load(t.params)};let n,i,s;this.simulation_mode||(n=e.type.trial(this.DOM_target,e,t)),this.simulation_mode&&(e.type.simulate?(e.simulation_options||(i=this.simulation_options.default),e.simulation_options&&("string"==typeof e.simulation_options?this.simulation_options[e.simulation_options]?i=this.simulation_options[e.simulation_options]:this.simulation_options.default?(console.log(`No matching simulation options found for "${e.simulation_options}". Using "default" options.`),i=this.simulation_options.default):(console.log(`No matching simulation options found for "${e.simulation_options}" and no "default" options provided. Using the default values provided by the plugin.`),i={}):i=e.simulation_options),s=this.utils.deepMerge(this.simulation_options.default,i),s=this.utils.deepCopy(s),s=this.replaceFunctionsWithValues(s,null),n=!1===(null==s?void 0:s.simulate)?e.type.trial(this.DOM_target,e,t):e.type.simulate(e,(null==s?void 0:s.mode)||this.simulation_mode,s,t)):n=e.type.trial(this.DOM_target,e,t));n&&"function"==typeof n.then||this.simulation_mode&&(!this.simulation_mode||!1!==(null==s?void 0:s.simulate))||t(),this.internal.call_immediate=!1}evaluateTimelineVariables(e){for(const t of Object.keys(e))"object"==typeof e[t]&&null!==e[t]&&void 0!==e[t].timelineVariablePlaceholder&&(e[t]=e[t].timelineVariableFunction()),"object"==typeof e[t]&&null!==e[t]&&"timeline"!==t&&"timeline_variables"!==t&&this.evaluateTimelineVariables(e[t])}evaluateFunctionParameters(e){this.internal.call_immediate=!0;for(const t of Object.keys(e))"type"!==t&&(void 0!==Aa[t]&&Aa[t].type!==ba.FUNCTION&&(e[t]=this.replaceFunctionsWithValues(e[t],null)),void 0!==e.type.info.parameters[t]&&e.type.info.parameters[t].type!==ba.FUNCTION&&(e[t]=this.replaceFunctionsWithValues(e[t],e.type.info.parameters[t])));this.internal.call_immediate=!1}replaceFunctionsWithValues(e,t){if(null===e)return e;if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=this.replaceFunctionsWithValues(e[n],t);else if("object"==typeof e)if(null!==t&&t.nested)for(const n of Object.keys(e))"object"==typeof t.nested[n]&&t.nested[n].type!==ba.FUNCTION&&(e[n]=this.replaceFunctionsWithValues(e[n],t.nested[n]));else for(const t of Object.keys(e))"type"!==t&&"timeline"!==t&&"timeline_variables"!==t&&(e[t]=this.replaceFunctionsWithValues(e[t],null));else if("function"==typeof e)return e();return e}setDefaultValues(e){for(const t in e.type.info.parameters)e.type.info.parameters[t].type===ba.COMPLEX?(void 0===e[t]&&e.type.info.parameters[t].default&&(e[t]=e.type.info.parameters[t].default),!0===e.type.info.parameters[t].array&&Array.isArray(e[t])&&e[t].forEach((function(n,i){for(const n in e.type.info.parameters[t].nested)void 0!==e[t][i][n]&&null!==e[t][i][n]||(void 0===e.type.info.parameters[t].nested[n].default?console.error(`You must specify a value for the ${n} parameter (nested in the ${t} parameter) in the ${e.type.info.name} plugin.`):e[t][i][n]=e.type.info.parameters[t].nested[n].default)}))):void 0!==e[t]&&null!==e[t]||(void 0===e.type.info.parameters[t].default?console.error(`You must specify a value for the ${t} parameter in the ${e.type.info.name} plugin.`):e[t]=e.type.info.parameters[t].default)}checkExclusions(e){return pa(this,void 0,void 0,(function*(){if((e.min_width||e.min_height||e.audio)&&console.warn("The exclusions option in `initJsPsych()` is deprecated and will be removed in a future version. We recommend using the browser-check plugin instead. See https://www.jspsych.org/latest/plugins/browser-check/."),e.min_width||e.min_height){const t=e.min_width||0,n=e.min_height||0;if(window.innerWidth<t||window.innerHeight<n){for(this.getDisplayElement().innerHTML="<p>Your browser window is too small to complete this experiment. Please maximize the size of your browser window. If your browser window is already maximized, you will not be able to complete this experiment.</p><p>The minimum width is "+t+"px. Your current width is "+window.innerWidth+"px.</p><p>The minimum height is "+n+"px. Your current height is "+window.innerHeight+"px.</p>";window.innerWidth<t||window.innerHeight<n;)yield mo(100);this.getDisplayElement().innerHTML=""}}if(void 0!==e.audio&&e.audio&&!window.hasOwnProperty("AudioContext")&&!window.hasOwnProperty("webkitAudioContext"))throw this.getDisplayElement().innerHTML="<p>Your browser does not support the WebAudio API, which means that you will not be able to complete the experiment.</p><p>Browsers that support the WebAudio API include Chrome, Firefox, Safari, and Edge.</p>",new Error}))}drawProgressBar(e){document.querySelector(".jspsych-display-element").insertAdjacentHTML("afterbegin",'<div id="jspsych-progressbar-container"><span>'+e+'</span><div id="jspsych-progressbar-outer"><div id="jspsych-progressbar-inner"></div></div></div>')}updateProgressBar(){this.setProgressBar(this.getProgress().percent_complete/100)}setProgressBar(e){e=Math.max(Math.min(1,e),0),document.querySelector("#jspsych-progressbar-inner").style.width=100*e+"%",this.progress_bar_amount=e}getProgressBarCompleted(){return this.progress_bar_amount}}"undefined"!=typeof window&&window.hasOwnProperty("webkitAudioContext")&&!window.hasOwnProperty("AudioContext")&&(window.AudioContext=webkitAudioContext);const yo={name:"preload",parameters:{auto_preload:{type:ba.BOOL,pretty_name:"Auto-preload",default:!1},trials:{type:ba.TIMELINE,pretty_name:"Trials",default:[]},images:{type:ba.STRING,pretty_name:"Images",default:[],array:!0},audio:{type:ba.STRING,pretty_name:"Audio",default:[],array:!0},video:{type:ba.STRING,pretty_name:"Video",default:[],array:!0},message:{type:ba.HTML_STRING,pretty_name:"Message",default:null},show_progress_bar:{type:ba.BOOL,pretty_name:"Show progress bar",default:!0},continue_after_error:{type:ba.BOOL,pretty_name:"Continue after error",default:!1},error_message:{type:ba.HTML_STRING,pretty_name:"Error message",default:"The experiment failed to load."},show_detailed_errors:{type:ba.BOOL,pretty_name:"Show detailed errors",default:!1},max_load_time:{type:ba.INT,pretty_name:"Max load time",default:null},on_error:{type:ba.FUNCTION,pretty_name:"On error",default:null},on_success:{type:ba.FUNCTION,pretty_name:"On success",default:null}}};class vo{constructor(e){this.jsPsych=e}trial(e,t){var n=null,i=!1,s=[],r=[],a=[],o=[],c=this.jsPsych.getSafeModeStatus(),l=[],d=[],u=[];if(t.auto_preload){var p=this.jsPsych.getTimeline(),f=this.jsPsych.pluginAPI.getAutoPreloadList(p);l=l.concat(f.images),d=d.concat(f.audio),u=u.concat(f.video)}if(t.trials.length>0){var h=this.jsPsych.pluginAPI.getAutoPreloadList(t.trials);l=l.concat(h.images),d=d.concat(h.audio),u=u.concat(h.video)}l=l.concat(t.images),d=d.concat(t.audio),u=u.concat(t.video),l=this.jsPsych.utils.unique(l.flat()),d=this.jsPsych.utils.unique(d.flat()),u=this.jsPsych.utils.unique(u.flat()),c&&(u=[]);var m="";null!==t.message&&(m+=t.message),t.show_progress_bar&&(m+="\n <div id='jspsych-loading-progress-bar-container' style='height: 10px; width: 300px; background-color: #ddd; margin: auto;'>\n <div id='jspsych-loading-progress-bar' style='height: 10px; width: 0%; background-color: #777;'></div>\n </div>"),e.innerHTML=m;const g=()=>{if(I++,t.show_progress_bar){var n=I/w*100,i=e.querySelector("#jspsych-loading-progress-bar");null!==i&&(i.style.width=n+"%")}},y=()=>{void 0!==i&&!1===i&&(this.jsPsych.pluginAPI.clearAllTimeouts(),this.jsPsych.pluginAPI.cancelPreloads(),n=!0,_())},v=()=>{this.jsPsych.pluginAPI.cancelPreloads(),void 0===n||!1!==n&&null!==n||(i=!0,x<w&&(n=!1),A("timeout"),o.push("<p><strong>Loading timed out.</strong><br>Consider compressing your stimuli files, loading your files in smaller batches,<br>and/or increasing the <i>max_load_time</i> parameter.</p>"),t.continue_after_error?_():b())},b=()=>{this.jsPsych.pluginAPI.clearAllTimeouts(),this.jsPsych.pluginAPI.cancelPreloads(),e.innerHTML=t.error_message,t.show_detailed_errors&&(e.innerHTML+="<p><strong>Error details:</strong></p>",o.forEach((t=>{e.innerHTML+=t})))},_=()=>{this.jsPsych.pluginAPI.clearAllTimeouts();var t={success:n,timeout:i,failed_images:s,failed_audio:r,failed_video:a};e.innerHTML="",this.jsPsych.finishTrial(t)};null!==t.max_load_time&&this.jsPsych.pluginAPI.setTimeout(v,t.max_load_time);var w=l.length+d.length+u.length,I=0,x=0;if(0==w)y();else{const e=e=>{this.jsPsych.pluginAPI.preloadVideo(u,e,S,E)},t=e=>{this.jsPsych.pluginAPI.preloadAudio(d,e,S,E)},n=e=>{this.jsPsych.pluginAPI.preloadImages(l,e,S,E)};u.length>0&&e((()=>{})),d.length>0&&t((()=>{})),l.length>0&&n((()=>{}))}function E(e){g(),null==n&&(n=!1);var i="unknown file";e.source&&(i=e.source),e.error&&e.error.path&&e.error.path.length>0&&("img"==e.error.path[0].localName?s.push(i):"audio"==e.error.path[0].localName?r.push(i):"video"==e.error.path[0].localName&&a.push(i));var c="<p><strong>Error loading file: "+i+"</strong><br>";e.error.statusText&&(c+="File request response status: "+e.error.statusText+"<br>"),"404"==e.error&&(c+="404 - file not found.<br>"),void 0!==e.error.loaded&&null!==e.error.loaded&&0!==e.error.loaded?c+=e.error.loaded+" bytes transferred.":c+="File did not begin loading. Check that file path is correct and reachable by the browser,<br>and that loading is not blocked by cross-origin resource sharing (CORS) errors.",c+="</p>",o.push(c),A(i),I==w&&(t.continue_after_error?_():b())}function S(e){g(),function(e){null!==t.on_success&&t.on_success(e)}(e),++x==w?y():I==w&&(t.continue_after_error?_():b())}function A(e){null!==t.on_error&&t.on_error(e)}}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){return this.jsPsych.pluginAPI.mergeSimulationData({success:!0,timeout:!1,failed_images:[],failed_audio:[],failed_video:[]},t)}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.jsPsych.getDisplayElement();this.trial(i,e),n()}}function bo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,s,r,a,o=[],c=!0,l=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(i=r.call(n)).done)&&(o.push(i.value),o.length!==t);c=!0);}catch(e){l=!0,s=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw s}}return o}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}vo.info=yo;const wo={name:"call-function",parameters:{func:{type:ba.FUNCTION,pretty_name:"Function",default:void 0},async:{type:ba.BOOL,pretty_name:"Asynchronous",default:!1}}};class Io{constructor(e){this.jsPsych=e}trial(e,t){let n;const i=()=>{const e={value:n};this.jsPsych.finishTrial(e)};if(t.async){const e=e=>{n=e,i()};t.func(e)}else n=t.func(),i()}}Io.info=wo;const xo={name:"survey-text",parameters:{questions:{type:ba.COMPLEX,array:!0,pretty_name:"Questions",default:void 0,nested:{prompt:{type:ba.HTML_STRING,pretty_name:"Prompt",default:void 0},placeholder:{type:ba.STRING,pretty_name:"Placeholder",default:""},rows:{type:ba.INT,pretty_name:"Rows",default:1},columns:{type:ba.INT,pretty_name:"Columns",default:40},required:{type:ba.BOOL,pretty_name:"Required",default:!1},name:{type:ba.STRING,pretty_name:"Question Name",default:""}}},randomize_question_order:{type:ba.BOOL,pretty_name:"Randomize Question Order",default:!1},preamble:{type:ba.HTML_STRING,pretty_name:"Preamble",default:null},button_label:{type:ba.STRING,pretty_name:"Button label",default:"Continue"},autocomplete:{type:ba.BOOL,pretty_name:"Allow autocomplete",default:!1}}};class Eo{constructor(e){this.jsPsych=e}trial(e,t){for(var n=0;n<t.questions.length;n++)void 0===t.questions[n].rows&&(t.questions[n].rows=1);for(n=0;n<t.questions.length;n++)void 0===t.questions[n].columns&&(t.questions[n].columns=40);for(n=0;n<t.questions.length;n++)void 0===t.questions[n].value&&(t.questions[n].value="");var i="";null!==t.preamble&&(i+='<div id="jspsych-survey-text-preamble" class="jspsych-survey-text-preamble">'+t.preamble+"</div>"),t.autocomplete?i+='<form id="jspsych-survey-text-form">':i+='<form id="jspsych-survey-text-form" autocomplete="off">';var s=[];for(n=0;n<t.questions.length;n++)s.push(n);t.randomize_question_order&&(s=this.jsPsych.randomization.shuffle(s));for(n=0;n<t.questions.length;n++){var r=t.questions[s[n]],a=s[n];i+='<div id="jspsych-survey-text-'+a+'" class="jspsych-survey-text-question" style="margin: 2em 0em;">',i+='<p class="jspsych-survey-text">'+r.prompt+"</p>";var o=0==n?"autofocus":"",c=r.required?"required":"";1==r.rows?i+='<input type="text" id="input-'+a+'" name="#jspsych-survey-text-response-'+a+'" data-name="'+r.name+'" size="'+r.columns+'" '+o+" "+c+' placeholder="'+r.placeholder+'"></input>':i+='<textarea id="input-'+a+'" name="#jspsych-survey-text-response-'+a+'" data-name="'+r.name+'" cols="'+r.columns+'" rows="'+r.rows+'" '+o+" "+c+' placeholder="'+r.placeholder+'"></textarea>',i+="</div>"}i+='<input type="submit" id="jspsych-survey-text-next" class="jspsych-btn jspsych-survey-text" value="'+t.button_label+'"></input>',i+="</form>",e.innerHTML=i,e.querySelector("#input-"+s[0]).focus(),e.querySelector("#jspsych-survey-text-form").addEventListener("submit",(n=>{n.preventDefault();for(var i=performance.now(),s=Math.round(i-l),r={},a=0;a<t.questions.length;a++){var o="Q"+a,c=document.querySelector("#jspsych-survey-text-"+a).querySelector("textarea, input"),d=c.value,u=c.attributes["data-name"].value;""==u&&(u=o);var p={};p[u]=d,Object.assign(r,p)}var f={rt:s,response:r};e.innerHTML="",this.jsPsych.finishTrial(f)}));var l=performance.now()}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={};let i=1e3;for(const t of e.questions){const s=t.name?t.name:`Q${e.questions.indexOf(t)}`,r=1==t.rows?this.jsPsych.randomization.sampleExponential(.25):this.jsPsych.randomization.randomInt(1,10)*t.rows;n[s]=this.jsPsych.randomization.randomWords({exactly:r,join:" "}),i+=this.jsPsych.randomization.sampleExGaussian(2e3,400,.004,!0)}const s={response:n,rt:i},r=this.jsPsych.pluginAPI.mergeSimulationData(s,t);return this.jsPsych.pluginAPI.ensureSimulationDataConsistency(e,r),r}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),s=this.jsPsych.getDisplayElement();this.trial(s,e),n();const r=Object.entries(i.response).map((e=>e[1]));for(let e=0;e<r.length;e++)this.jsPsych.pluginAPI.fillTextInput(s.querySelector(`#input-${e}`),r[e],(i.rt-1e3)/r.length*(e+1));this.jsPsych.pluginAPI.clickTarget(s.querySelector("#jspsych-survey-text-next"),i.rt)}}Eo.info=xo;const So={name:"survey-multi-select",parameters:{questions:{type:ba.COMPLEX,array:!0,pretty_name:"Questions",nested:{prompt:{type:ba.HTML_STRING,pretty_name:"Prompt",default:void 0},options:{type:ba.STRING,pretty_name:"Options",array:!0,default:void 0},horizontal:{type:ba.BOOL,pretty_name:"Horizontal",default:!1},required:{type:ba.BOOL,pretty_name:"Required",default:!1},name:{type:ba.STRING,pretty_name:"Question Name",default:""}}},randomize_question_order:{type:ba.BOOL,pretty_name:"Randomize Question Order",default:!1},preamble:{type:ba.HTML_STRING,pretty_name:"Preamble",default:null},button_label:{type:ba.STRING,pretty_name:"Button label",default:"Continue"},required_message:{type:ba.STRING,pretty_name:"Required message",default:"You must choose at least one response for this question"},autocomplete:{type:ba.BOOL,pretty_name:"Allow autocomplete",default:!1}}};class Ao{constructor(e){this.jsPsych=e}trial(e,t){var n="jspsych-survey-multi-select",i="#"+n;const s=(...e)=>e.join("-");e.innerHTML="<style id=\"jspsych-survey-multi-select-css\">.jspsych-survey-multi-select-question { margin-top: 2em; margin-bottom: 2em; text-align: left; }.jspsych-survey-multi-select-text span.required {color: darkred;}.jspsych-survey-multi-select-horizontal .jspsych-survey-multi-select-text { text-align: center;}.jspsych-survey-multi-select-option { line-height: 2; }.jspsych-survey-multi-select-horizontal .jspsych-survey-multi-select-option { display: inline-block; margin-left: 1em; margin-right: 1em; vertical-align: top;}label.jspsych-survey-multi-select-text input[type='checkbox'] {margin-right: 1em;}</style>";var r=s(n,"form");e.innerHTML+='<form id="'+r+'"></form>';var a=e.querySelector("#"+r);t.autocomplete||a.setAttribute("autocomplete","off");var o=s(n,"preamble");null!==t.preamble&&(a.innerHTML+='<div id="'+o+'" class="'+o+'">'+t.preamble+"</div>");for(var c=[],l=0;l<t.questions.length;l++)c.push(l);t.randomize_question_order&&(c=this.jsPsych.randomization.shuffle(c));for(l=0;l<t.questions.length;l++){var d=t.questions[c[l]],u=c[l],p=[s(n,"question")];d.horizontal&&p.push(s(n,"horizontal")),a.innerHTML+='<div id="'+s(n,u)+'" data-name="'+d.name+'" class="'+p.join(" ")+'"></div>';var f=s(i,u);e.querySelector(f).innerHTML+='<p id="survey-question" class="'+n+'-text survey-multi-select">'+d.prompt+"</p>";for(var h=0;h<d.options.length;h++){var m=s(n,"option",u,h);e.querySelector(f).innerHTML+='<div id="'+m+'" class="'+s(n,"option")+'"></div>';var g=document.getElementById(m),y=s(n,"response",u),v=s(n,"response",u,h),b=document.createElement("label");b.setAttribute("class",n+"-text"),b.innerHTML=d.options[h],b.setAttribute("for",v);var _=document.createElement("input");_.setAttribute("type","checkbox"),_.setAttribute("name",y),_.setAttribute("id",v),_.setAttribute("value",d.options[h]),g.appendChild(b),b.insertBefore(_,b.firstChild)}}a.innerHTML+='<div class="fail-message"></div>',a.innerHTML+='<button id="'+n+'-next" class="'+n+' jspsych-btn">'+t.button_label+"</button>",e.querySelector("#jspsych-survey-multi-select-next").addEventListener("click",(()=>{for(var n=0;n<t.questions.length;n++)t.questions[n].required&&(null==e.querySelector("#jspsych-survey-multi-select-"+n+" input:checked")?e.querySelector("#jspsych-survey-multi-select-"+n+" input").setCustomValidity(t.required_message):e.querySelector("#jspsych-survey-multi-select-"+n+" input").setCustomValidity(""));a.reportValidity()})),a.addEventListener("submit",(n=>{n.preventDefault();for(var i=performance.now(),s=Math.round(i-w),r={},a=0;a<t.questions.length;a++){for(var o=e.querySelector("#jspsych-survey-multi-select-"+a),l=[],d=o.querySelectorAll("input[type=checkbox]:checked"),u=0;u<d.length;u++){var p=d[u];l.push(p.value)}var f={},h="Q"+a;""!==o.attributes["data-name"].value&&(h=o.attributes["data-name"].value),f[h]=l,Object.assign(r,f),l.length}var m={rt:s,response:r,question_order:c};e.innerHTML="",this.jsPsych.finishTrial(m)}));var w=performance.now()}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={};let i=1e3;for(const t of e.questions){let s;s=t.required?this.jsPsych.randomization.randomInt(1,t.options.length):this.jsPsych.randomization.randomInt(0,t.options.length);const r=t.name?t.name:`Q${e.questions.indexOf(t)}`,a=this.jsPsych.randomization.sampleWithoutReplacement(t.options,s);n[r]=a,i+=this.jsPsych.randomization.sampleExGaussian(1500,400,.005,!0)}const s={response:n,rt:i,question_order:e.randomize_question_order?this.jsPsych.randomization.shuffle([...Array(e.questions.length).keys()]):[...Array(e.questions.length).keys()]},r=this.jsPsych.pluginAPI.mergeSimulationData(s,t);return this.jsPsych.pluginAPI.ensureSimulationDataConsistency(e,r),r}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),s=this.jsPsych.getDisplayElement();this.trial(s,e),n();const r=Object.entries(i.response);for(let t=0;t<r.length;t++)for(const n of r[t][1])this.jsPsych.pluginAPI.clickTarget(s.querySelector(`#jspsych-survey-multi-select-response-${t}-${e.questions[t].options.indexOf(n)}`),(i.rt-1e3)/r.length*(t+1));this.jsPsych.pluginAPI.clickTarget(s.querySelector("#jspsych-survey-multi-select-next"),i.rt)}}Ao.info=So;const ko={name:"survey-html-form",parameters:{html:{type:ba.HTML_STRING,pretty_name:"HTML",default:null},preamble:{type:ba.HTML_STRING,pretty_name:"Preamble",default:null},button_label:{type:ba.STRING,pretty_name:"Button label",default:"Continue"},autofocus:{type:ba.STRING,pretty_name:"Element ID to focus",default:""},dataAsArray:{type:ba.BOOL,pretty_name:"Data As Array",default:!1},autocomplete:{type:ba.BOOL,pretty_name:"Allow autocomplete",default:!1}}};class To{constructor(e){this.jsPsych=e}trial(e,t){var n="";if(null!==t.preamble&&(n+='<div id="jspsych-survey-html-form-preamble" class="jspsych-survey-html-form-preamble">'+t.preamble+"</div>"),t.autocomplete?n+='<form id="jspsych-survey-html-form">':n+='<form id="jspsych-survey-html-form" autocomplete="off">',n+=t.html,n+='<input type="submit" id="jspsych-survey-html-form-next" class="jspsych-btn jspsych-survey-html-form" value="'+t.button_label+'"></input>',n+="</form>",e.innerHTML=n,""!==t.autofocus){var i=e.querySelectorAll("#"+t.autofocus);0===i.length?console.warn("No element found with id: "+t.autofocus):i.length>1?console.warn('The id "'+t.autofocus+'" is not unique so autofocus will not work.'):i[0].focus()}e.querySelector("#jspsych-survey-html-form").addEventListener("submit",(n=>{n.preventDefault();var i=performance.now(),r=Math.round(i-s),a=
|
|
11
|
+
/**
|
|
12
|
+
* Serialize all form data into an array
|
|
13
|
+
* @copyright (c) 2018 Chris Ferdinandi, MIT License, https://gomakethings.com
|
|
14
|
+
* @param {Node} form The form to serialize
|
|
15
|
+
* @return {String} The serialized form data
|
|
16
|
+
*/
|
|
17
|
+
function(e){for(var t=[],n=0;n<e.elements.length;n++){var i=e.elements[n];if(i.name&&!i.disabled&&"file"!==i.type&&"reset"!==i.type&&"submit"!==i.type&&"button"!==i.type)if("select-multiple"===i.type)for(var s=0;s<i.options.length;s++)i.options[s].selected&&t.push({name:i.name,value:i.options[s].value});else("checkbox"!==i.type&&"radio"!==i.type||i.checked)&&t.push({name:i.name,value:i.value})}return t}(e.querySelector("#jspsych-survey-html-form"));t.dataAsArray||(a=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].name]=e[n].value;return t}(a));var o={rt:r,response:a};e.innerHTML="",this.jsPsych.finishTrial(o)}));var s=performance.now()}}To.info=ko;const Ro={name:"audio-multi-response",parameters:{stimulus:{type:ba.HTML_STRING,pretty_name:"Stimulus",default:void 0},button_choices:{type:ba.STRING,pretty_name:"Button Choices",default:[],array:!0},keyboard_choices:{type:ba.KEYS,pretty_name:"Keyboard Choices",default:"NO_KEYS"},button_html:{type:ba.HTML_STRING,pretty_name:"Button HTML",default:'<button class="jspsych-btn">%choice%</button>',array:!0},prompt:{type:ba.HTML_STRING,pretty_name:"Prompt",default:null},prompt_above_buttons:{type:ba.BOOL,pretty_name:"Prompt above buttons",default:!1},trial_duration:{type:ba.INT,pretty_name:"Trial duration",default:null},margin_vertical:{type:ba.STRING,pretty_name:"Margin vertical",default:"0px"},margin_horizontal:{type:ba.STRING,pretty_name:"Margin horizontal",default:"8px"},response_ends_trial:{type:ba.BOOL,pretty_name:"Response ends trial",default:!0},trial_ends_after_audio:{type:ba.BOOL,pretty_name:"Trial ends after audio",default:!1},response_allowed_while_playing:{type:ba.BOOL,pretty_name:"Response allowed while playing",default:!0}}};class Co{constructor(e){this.jsPsych=e}trial(e,t,n){let i;var s=this.jsPsych.pluginAPI.audioContext();let r={rt:null,key:null,button:null,source:null};var a;this.jsPsych.pluginAPI.getAudioBuffer(t.stimulus).then((e=>{null!==s?(this.audio=s.createBufferSource(),this.audio.buffer=e,this.audio.connect(s.destination)):(this.audio=e,this.audio.currentTime=0),o()})).catch((e=>{console.error(`Failed to load audio file "${t.stimulus}". Try checking the file path. We recommend using the preload plugin to load audio files.`),console.error(e)}));const o=()=>{t.trial_ends_after_audio&&this.audio.addEventListener("ended",c),t.response_allowed_while_playing||t.trial_ends_after_audio||(this.audio.addEventListener("ended",f),this.audio.addEventListener("ended",u));var i=[];if(Array.isArray(t.button_html))t.button_html.length==t.button_choices.length?i=t.button_html:console.error("Error in audio-multi-response plugin. The length of the button_html array does not equal the length of the choices array");else for(var r=0;r<t.button_choices.length;r++)i.push(t.button_html);let o='<div id="jspsych-audio-multi-response-btngroup">';for(r=0;r<t.button_choices.length;r++){var l=i[r].replace(/%choice%/g,t.button_choices[r]);o+='<div class="jspsych-audio-multi-response-button" style="cursor: pointer; display: inline-block; margin:'+t.margin_vertical+" "+t.margin_horizontal+'" id="jspsych-audio-multi-response-button-'+r+'" data-choice="'+r+'">'+l+"</div>"}o+="</div>",null!==t.prompt&&(t.prompt_above_buttons?o='<div id="jspsych-audio-multi-response-prompt">'+t.prompt+"</div>"+o:o+='<div id="jspsych-audio-multi-response-prompt">'+t.prompt+"</div>"),e.innerHTML=o,t.response_allowed_while_playing?(u(),f()):d(),a=performance.now(),null!==s?(a=s.currentTime,this.audio.start(a)):this.audio.play(),null!==t.trial_duration&&this.jsPsych.pluginAPI.setTimeout((()=>{c()}),t.trial_duration),n()},c=()=>{this.jsPsych.pluginAPI.clearAllTimeouts(),null!==s?this.audio.stop():this.audio.pause(),this.audio.removeEventListener("ended",c),this.audio.removeEventListener("ended",f),this.audio.removeEventListener("ended",u),this.jsPsych.pluginAPI.cancelAllKeyboardResponses();const n={rt:r.rt,stimulus:t.stimulus,keyboard_response:r.key,button_response:r.button,response_source:r.source};e.innerHTML="",this.jsPsych.finishTrial(n),i()};function l(e){!function(e){var n=performance.now(),i=Math.round(n-a);null!==s&&(n=s.currentTime,i=Math.round(1e3*(n-a)));r.button=parseInt(e),r.rt=i,r.source="button",d(),t.response_ends_trial&&c()}(e.currentTarget.getAttribute("data-choice"))}function d(){for(var e=document.querySelectorAll(".jspsych-audio-multi-response-button"),t=0;t<e.length;t++){var n=e[t].querySelector("button");n&&(n.disabled=!0),e[t].removeEventListener("click",l)}}function u(){for(var e=document.querySelectorAll(".jspsych-audio-multi-response-button"),t=0;t<e.length;t++){var n=e[t].querySelector("button");n&&(n.disabled=!1),e[t].addEventListener("click",l)}}const p=e=>{null==r.key&&(r=Object.assign({source:"keyboard",button:null},e)),t.response_ends_trial&&c()},f=()=>{if("NO_KEYS"!=t.keyboard_choices){let e;e=null!==s?{rt_method:"audio",audio_context:s,audio_context_start_time:a}:{rt_method:"performance"},this.jsPsych.pluginAPI.getKeyboardResponse(Object.assign({callback_function:p,valid_responses:t.keyboard_choices,persist:!1,allow_held_key:!1},e))}};return new Promise((e=>{i=e}))}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"},s=Math.random()<.5?n:i,r=this.jsPsych.pluginAPI.mergeSimulationData(s,t);return this.jsPsych.pluginAPI.ensureSimulationDataConsistency(e,r),r}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),s=this.jsPsych.getDisplayElement(),r=()=>{null!==i.rt&&(null!==i.button_response?this.jsPsych.pluginAPI.clickTarget(s.querySelector(`div[data-choice="${i.response}"] button`),i.rt):this.jsPsych.pluginAPI.pressKey(i.keyboard_response,i.rt))};this.trial(s,e,(()=>{n(),e.response_allowed_while_playing?r():this.audio.addEventListener("ended",r)}))}}Co.info=Ro;const Lo={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class Oo{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Lo,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,i){return i&&!this.debug?null:("string"==typeof e[0]&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new Oo(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new Oo(this.logger,e)}}var No=new Oo;class Fo{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]=this.observers[e]||[],this.observers[e].push(t)})),this}off(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((e=>e!==t)):delete this.observers[e])}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];if(this.observers[e]){[].concat(this.observers[e]).forEach((e=>{e(...n)}))}if(this.observers["*"]){[].concat(this.observers["*"]).forEach((t=>{t.apply(t,[e,...n])}))}}}function jo(){let e,t;const n=new Promise(((n,i)=>{e=n,t=i}));return n.resolve=e,n.reject=t,n}function Po(e){return null==e?"":""+e}function Uo(e,t,n){function i(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function s(){return!e||"string"==typeof e}const r="string"!=typeof t?[].concat(t):t.split(".");for(;r.length>1;){if(s())return{};const t=i(r.shift());!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{}}return s()?{}:{obj:e,k:i(r.shift())}}function Mo(e,t,n){const{obj:i,k:s}=Uo(e,t,Object);i[s]=n}function Do(e,t){const{obj:n,k:i}=Uo(e,t);if(n)return n[i]}function $o(e,t,n){for(const i in t)"__proto__"!==i&&"constructor"!==i&&(i in e?"string"==typeof e[i]||e[i]instanceof String||"string"==typeof t[i]||t[i]instanceof String?n&&(e[i]=t[i]):$o(e[i],t[i],n):e[i]=t[i]);return e}function zo(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Bo={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function qo(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>Bo[e])):e}const Vo=[" ",",","?","!",";"];function Ho(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const i=t.split(n);let s=e;for(let e=0;e<i.length;++e){if(!s)return;if("string"==typeof s[i[e]]&&e+1<i.length)return;if(void 0===s[i[e]]){let r=2,a=i.slice(e,e+r).join(n),o=s[a];for(;void 0===o&&i.length>e+r;)r++,a=i.slice(e,e+r).join(n),o=s[a];if(void 0===o)return;if(null===o)return null;if(t.endsWith(a)){if("string"==typeof o)return o;if(a&&"string"==typeof o[a])return o[a]}const c=i.slice(e+r).join(n);return c?Ho(o,c,n):void 0}s=s[i[e]]}return s}function Wo(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class Yo extends Fo{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const s=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,r=void 0!==i.ignoreJSONStructure?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(s?n.split(s):n)),e.indexOf(".")>-1&&(a=e.split("."));const o=Do(this.data,a);return o||!r||"string"!=typeof n?o:Ho(this.data&&this.data[e]&&this.data[e][t],n,s)}addResource(e,t,n,i){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const r=void 0!==s.keySeparator?s.keySeparator:this.options.keySeparator;let a=[e,t];n&&(a=a.concat(r?n.split(r):n)),e.indexOf(".")>-1&&(a=e.split("."),i=t,t=a[1]),this.addNamespaces(t),Mo(this.data,a,i),s.silent||this.emit("added",e,t,n,i)}addResources(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const i in n)"string"!=typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(e,t,i,n[i],{silent:!0});i.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,i,s){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),i=n,n=t,t=a[1]),this.addNamespaces(t);let o=Do(this.data,a)||{};i?$o(o,n,s):o={...o,...n},Mo(this.data,a,o),r.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var Ko={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,i,s){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,n,i,s))})),t}};const Go={};class Jo extends Fo{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n,i;super(),n=e,i=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((e=>{n[e]&&(i[e]=n[e])})),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=No.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let s=t.ns||this.options.defaultNS||[];const r=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";const i=Vo.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===i.length)return!0;const s=new RegExp(`(${i.map((e=>"?"===e?"\\?":e)).join("|")})`);let r=!s.test(e);if(!r){const t=e.indexOf(n);t>0&&!s.test(e.substring(0,t))&&(r=!0)}return r}(e,n,i));if(r&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:s};const r=e.split(n);(n!==i||n===i&&this.options.ns.indexOf(r[0])>-1)&&(s=r.shift()),e=r.join(i)}return"string"==typeof s&&(s=[s]),{key:e,namespaces:s}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const i=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:r,namespaces:a}=this.extractFromKey(e[e.length-1],t),o=a[a.length-1],c=t.lng||this.language,l=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(l){const e=t.nsSeparator||this.options.nsSeparator;return i?{res:`${o}${e}${r}`,usedKey:r,exactUsedKey:r,usedLng:c,usedNS:o}:`${o}${e}${r}`}return i?{res:r,usedKey:r,exactUsedKey:r,usedLng:c,usedNS:o}:r}const d=this.resolve(e,t);let u=d&&d.res;const p=d&&d.usedKey||r,f=d&&d.exactUsedKey||r,h=Object.prototype.toString.apply(u),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject;if(g&&u&&("string"!=typeof u&&"boolean"!=typeof u&&"number"!=typeof u)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(h)<0&&("string"!=typeof m||"[object Array]"!==h)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,u,{...t,ns:a}):`key '${r} (${this.language})' returned an object instead of string.`;return i?(d.res=e,d):e}if(s){const e="[object Array]"===h,n=e?[]:{},i=e?f:p;for(const e in u)if(Object.prototype.hasOwnProperty.call(u,e)){const r=`${i}${s}${e}`;n[e]=this.translate(r,{...t,joinArrays:!1,ns:a}),n[e]===r&&(n[e]=u[e])}u=n}}else if(g&&"string"==typeof m&&"[object Array]"===h)u=u.join(m),u&&(u=this.extendTranslation(u,e,t,n));else{let i=!1,a=!1;const l=void 0!==t.count&&"string"!=typeof t.count,p=Jo.hasDefaultValue(t),f=l?this.pluralResolver.getSuffix(c,t.count,t):"",h=t.ordinal&&l?this.pluralResolver.getSuffix(c,t.count,{ordinal:!1}):"",m=t[`defaultValue${f}`]||t[`defaultValue${h}`]||t.defaultValue;!this.isValidLookup(u)&&p&&(i=!0,u=m),this.isValidLookup(u)||(a=!0,u=r);const g=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:u,y=p&&m!==u&&this.options.updateMissing;if(a||i||y){if(this.logger.log(y?"updateKey":"missingKey",c,o,r,y?m:u),s){const e=this.resolve(r,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const i=(e,n,i)=>{const s=p&&i!==u?i:g;this.options.missingKeyHandler?this.options.missingKeyHandler(e,o,n,s,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,o,n,s,y,t),this.emit("missingKey",e,o,n,u)};this.options.saveMissing&&(this.options.saveMissingPlurals&&l?e.forEach((e=>{this.pluralResolver.getSuffixes(e,t).forEach((n=>{i([e],r+n,t[`defaultValue${n}`]||m)}))})):i(e,r,m))}u=this.extendTranslation(u,e,t,d,n),a&&u===r&&this.options.appendNamespaceToMissingKey&&(u=`${o}:${r}`),(a||i)&&this.options.parseMissingKeyHandler&&(u="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${o}:${r}`:r,i?u:void 0):this.options.parseMissingKeyHandler(u))}return i?(d.res=u,d):u}extendTranslation(e,t,n,i,s){var r=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const a="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let o;if(a){const t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let c=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c={...this.options.interpolation.defaultVariables,...c}),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),a){const t=e.match(this.interpolator.nestingRegexp);o<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&i&&i.res&&(n.lng=i.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,i=new Array(e),a=0;a<e;a++)i[a]=arguments[a];return s&&s[0]===i[0]&&!n.context?(r.logger.warn(`It seems you are nesting recursively key: ${i[0]} in key: ${t[0]}`),null):r.translate(...i,t)}),n)),n.interpolation&&this.interpolator.reset()}const a=n.postProcess||this.options.postProcess,o="string"==typeof a?[a]:a;return null!=e&&o&&o.length&&!1!==n.applyPostProcessor&&(e=Ko.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:i,...n}:n,this)),e}resolve(e){let t,n,i,s,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const o=this.extractFromKey(e,a),c=o.key;n=c;let l=o.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));const d=void 0!==a.count&&"string"!=typeof a.count,u=d&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),p=void 0!==a.context&&("string"==typeof a.context||"number"==typeof a.context)&&""!==a.context,f=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);l.forEach((e=>{this.isValidLookup(t)||(r=e,!Go[`${f[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(r)&&(Go[`${f[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${f.join(", ")}" won't get resolved as namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach((n=>{if(this.isValidLookup(t))return;s=n;const r=[c];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(r,c,n,e,a);else{let e;d&&(e=this.pluralResolver.getSuffix(n,a.count,a));const t=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(r.push(c+e),a.ordinal&&0===e.indexOf(i)&&r.push(c+e.replace(i,this.options.pluralSeparator)),u&&r.push(c+t)),p){const n=`${c}${this.options.contextSeparator}${a.context}`;r.push(n),d&&(r.push(n+e),a.ordinal&&0===e.indexOf(i)&&r.push(n+e.replace(i,this.options.pluralSeparator)),u&&r.push(n+t))}}let o;for(;o=r.pop();)this.isValidLookup(t)||(i=o,t=this.getResource(n,e,o,a))})))}))})),{res:t,usedKey:n,exactUsedKey:i,usedLng:s,usedNS:r}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,i):this.resourceStore.getResource(e,t,n,i)}static hasDefaultValue(e){const t="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}function Xo(e){return e.charAt(0).toUpperCase()+e.slice(1)}class Qo{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=No.create("languageUtils")}getScriptPartFromCode(e){if(!(e=Wo(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=Wo(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let n=e.split("-");return this.options.lowerCaseLng?n=n.map((e=>e.toLowerCase())):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Xo(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Xo(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=Xo(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find((e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:0===e.indexOf(n)?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],s=e=>{e&&(this.isSupportedCode(e)?i.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&s(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&s(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&s(this.getLanguagePartFromCode(e))):"string"==typeof e&&s(this.formatLanguageCode(e)),n.forEach((e=>{i.indexOf(e)<0&&s(this.formatLanguageCode(e))})),i}}let Zo=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],ec={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};const tc=["v1","v2","v3"],nc=["v4"],ic={zero:0,one:1,two:2,few:3,many:4,other:5};class sc{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=No.create("pluralResolver"),this.options.compatibilityJSON&&!nc.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){const e={};return Zo.forEach((t=>{t.lngs.forEach((n=>{e[n]={numbers:t.nr,plurals:ec[t.fc]}}))})),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(Wo(e),{type:t.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort(((e,t)=>ic[e]-ic[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):n.numbers.map((n=>this.getSuffix(e,n,t))):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=this.getRule(e,n);return i?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i.select(t)}`:this.getSuffixRetroCompatible(i,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let i=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===i?i="plural":1===i&&(i=""));const s=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?`_plural_${i.toString()}`:s():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?s():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!tc.includes(this.options.compatibilityJSON)}}function rc(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=function(e,t,n){const i=Do(e,n);return void 0!==i?i:Do(t,n)}(e,t,n);return!r&&s&&"string"==typeof n&&(r=Ho(e,n,i),void 0===r&&(r=Ho(t,n,i))),r}class ac{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=No.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const t=e.interpolation;this.escape=void 0!==t.escape?t.escape:qo,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?zo(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?zo(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?zo(t.nestingPrefix):t.nestingPrefixEscaped||zo("$t("),this.nestingSuffix=t.nestingSuffix?zo(t.nestingSuffix):t.nestingSuffixEscaped||zo(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=`${this.prefix}(.+?)${this.suffix}`;this.regexp=new RegExp(e,"g");const t=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=new RegExp(t,"g");const n=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=new RegExp(n,"g")}interpolate(e,t,n,i){let s,r,a;const o=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}const l=e=>{if(e.indexOf(this.formatSeparator)<0){const s=rc(t,o,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(s,void 0,n,{...i,...t,interpolationkey:e}):s}const s=e.split(this.formatSeparator),r=s.shift().trim(),a=s.join(this.formatSeparator).trim();return this.format(rc(t,o,r,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...i,...t,interpolationkey:r})};this.resetRegExp();const d=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,u=i&&i.interpolation&&void 0!==i.interpolation.skipOnVariables?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>c(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?c(this.escape(e)):c(e)}].forEach((t=>{for(a=0;s=t.regex.exec(e);){const n=s[1].trim();if(r=l(n),void 0===r)if("function"==typeof d){const t=d(e,s,i);r="string"==typeof t?t:""}else if(i&&Object.prototype.hasOwnProperty.call(i,n))r="";else{if(u){r=s[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),r=""}else"string"==typeof r||this.useRawValueToEscape||(r=Po(r));const o=t.safeValue(r);if(e=e.replace(s[0],o),u?(t.regex.lastIndex+=r.length,t.regex.lastIndex-=s[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}})),e}nest(e,t){let n,i,s,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function a(e,t){const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const i=e.split(new RegExp(`${n}[ ]*{`));let r=`{${i[1]}`;e=i[0],r=this.interpolate(r,s);const a=r.match(/'/g),o=r.match(/"/g);(a&&a.length%2==0&&!o||o.length%2!=0)&&(r=r.replace(/'/g,'"'));try{s=JSON.parse(r),t&&(s={...t,...s})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${r}`}return delete s.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){let o=[];s={...r},s=s.replace&&"string"!=typeof s.replace?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;let c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map((e=>e.trim()));n[1]=e.shift(),o=e,c=!0}if(i=t(a.call(this,n[1].trim(),s),s),i&&n[0]===e&&"string"!=typeof i)return i;"string"!=typeof i&&(i=Po(i)),i||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),i=""),c&&(i=o.reduce(((e,t)=>this.format(e,t,r.lng,{...r,interpolationkey:n[1].trim()})),i.trim())),e=e.replace(n[0],i),this.regexp.lastIndex=0}return e}}function oc(e){const t={};return function(n,i,s){const r=i+JSON.stringify(s);let a=t[r];return a||(a=e(Wo(i),s),t[r]=a),a(n)}}class cc{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=No.create("formatter"),this.options=e,this.formats={number:oc(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:oc(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:oc(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:oc(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:oc(((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)}))},this.init(e)}init(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=oc(t)}format(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce(((e,t)=>{const{formatName:s,formatOptions:r}=function(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const s=i[1].substring(0,i[1].length-1);"currency"===t&&s.indexOf(":")<0?n.currency||(n.currency=s.trim()):"relativetime"===t&&s.indexOf(":")<0?n.range||(n.range=s.trim()):s.split(";").forEach((e=>{if(!e)return;const[t,...i]=e.split(":"),s=i.join(":").trim().replace(/^'+|'+$/g,"");n[t.trim()]||(n[t.trim()]=s),"false"===s&&(n[t.trim()]=!1),"true"===s&&(n[t.trim()]=!0),isNaN(s)||(n[t.trim()]=parseInt(s,10))}))}return{formatName:t,formatOptions:n}}(t);if(this.formats[s]){let t=e;try{const a=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},o=a.locale||a.lng||i.locale||i.lng||n;t=this.formats[s](e,o,{...r,...i,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${s}`),e}),e)}}class lc extends Fo{constructor(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=No.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,i.backend,i)}queueLoad(e,t,n,i){const s={},r={},a={},o={};return e.forEach((e=>{let i=!0;t.forEach((t=>{const a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===r[a]&&(r[a]=!0):(this.state[a]=1,i=!1,void 0===r[a]&&(r[a]=!0),void 0===s[a]&&(s[a]=!0),void 0===o[t]&&(o[t]=!0)))})),i||(a[e]=!0)})),(Object.keys(s).length||Object.keys(r).length)&&this.queue.push({pending:r,pendingCount:Object.keys(r).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(s),pending:Object.keys(r),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(o)}}loaded(e,t,n){const i=e.split("|"),s=i[0],r=i[1];t&&this.emit("failedLoading",s,r,t),n&&this.store.addResourceBundle(s,r,n),this.state[e]=t?-1:2;const a={};this.queue.forEach((n=>{!function(e,t,n,i){const{obj:s,k:r}=Uo(e,t,Object);s[r]=s[r]||[],i&&(s[r]=s[r].concat(n)),i||s[r].push(n)}(n.loaded,[s],r),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((e=>{a[e]||(a[e]={});const t=n.loaded[e];t.length&&t.forEach((t=>{void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((e=>!e.done))}read(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,r=arguments.length>5?arguments[5]:void 0;if(!e.length)return r(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:i,wait:s,callback:r});this.readingCalls++;const a=(a,o)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&o&&i<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,n,i+1,2*s,r)}),s):r(a,o)},o=this.backend[n].bind(this.backend);if(2!==o.length)return o(e,t,a);try{const n=o(e,t);n&&"function"==typeof n.then?n.then((e=>a(null,e))).catch(a):a(null,n)}catch(e){a(e)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);const s=this.queueLoad(e,t,n,i);if(!s.toLoad.length)return s.pending.length||i(),null;s.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),i=n[0],s=n[1];this.read(i,s,"read",void 0,void 0,((n,r)=>{n&&this.logger.warn(`${t}loading namespace ${s} for language ${i} failed`,n),!n&&r&&this.logger.log(`${t}loaded namespace ${s} for language ${i}`,r),this.loaded(e,n,r)}))}saveMissing(e,t,n,i,s){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){const o={...r,isUpdate:s},c=this.backend.create.bind(this.backend);if(c.length<6)try{let s;s=5===c.length?c(e,t,n,i,o):c(e,t,n,i),s&&"function"==typeof s.then?s.then((e=>a(null,e))).catch(a):a(null,s)}catch(e){a(e)}else c(e,t,n,i,a,o)}e&&e[0]&&this.store.addResource(e[0],t,n,i)}}}function dc(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:(e,t,n,i)=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function uc(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function pc(){}class fc extends Fo{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=uc(e),this.services={},this.logger=No,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const i=dc();function s(e){return e?"function"==typeof e?new e:e:null}if(this.options={...i,...this.options,...uc(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?No.init(s(this.modules.logger),this.options):No.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=cc);const n=new Qo(this.options);this.store=new Yo(this.options.resources,this.options);const r=this.services;r.logger=No,r.resourceStore=this.store,r.languageUtils=n,r.pluralResolver=new sc(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==i.interpolation.format||(r.formatter=s(t),r.formatter.init(r,this.options),this.options.interpolation.format=r.formatter.format.bind(r.formatter)),r.interpolator=new ac(this.options),r.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},r.backendConnector=new lc(s(this.modules.backend),r.resourceStore,r,this.options),r.backendConnector.on("*",(function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];e.emit(t,...i)})),this.modules.languageDetector&&(r.languageDetector=s(this.modules.languageDetector),r.languageDetector.init&&r.languageDetector.init(r,this.options.detection,this.options)),this.modules.i18nFormat&&(r.i18nFormat=s(this.modules.i18nFormat),r.i18nFormat.init&&r.i18nFormat.init(this)),this.translator=new Jo(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];e.emit(t,...i)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,n||(n=pc),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const r=jo(),a=()=>{const e=(e,t)=>{this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),r.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?a():setTimeout(a,0),r}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pc;const n="string"==typeof e?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase())return t();const e=[],i=t=>{if(!t)return;this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{e.indexOf(t)<0&&e.push(t)}))};if(n)i(n);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>i(e)))}this.options.preload&&this.options.preload.forEach((e=>i(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,n){const i=jo();return e||(e=this.languages),t||(t=this.options.ns),n||(n=pc),this.services.backendConnector.reload(e,t,(e=>{i.resolve(),n(e)})),i}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Ko.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const i=jo();this.emit("languageChanging",e);const s=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},r=(e,r)=>{r?(s(r),this.translator.changeLanguage(r),this.isLanguageChangingTo=void 0,this.emit("languageChanged",r),this.logger.log("languageChanged",r)):this.isLanguageChangingTo=void 0,i.resolve((function(){return n.t(...arguments)})),t&&t(e,(function(){return n.t(...arguments)}))},a=t=>{e||t||!this.services.languageDetector||(t=[]);const n="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||s(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,(e=>{r(e,n)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),i}getFixedT(e,t,n){var i=this;const s=function(e,t){let r;if("object"!=typeof t){for(var a=arguments.length,o=new Array(a>2?a-2:0),c=2;c<a;c++)o[c-2]=arguments[c];r=i.options.overloadTranslationOptionHandler([e,t].concat(o))}else r={...t};r.lng=r.lng||s.lng,r.lngs=r.lngs||s.lngs,r.ns=r.ns||s.ns,r.keyPrefix=r.keyPrefix||n||s.keyPrefix;const l=i.options.keySeparator||".";let d;return d=r.keyPrefix&&Array.isArray(e)?e.map((e=>`${r.keyPrefix}${l}${e}`)):r.keyPrefix?`${r.keyPrefix}${l}${e}`:e,i.t(d,r)};return"string"==typeof e?s.lng=e:s.lngs=e,s.ns=t,s.keyPrefix=n,s}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,s=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const r=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||2===n};if(t.precheck){const e=t.precheck(this,r);if(void 0!==e)return e}return!!this.hasResourceBundle(n,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!r(n,e)||i&&!r(s,e)))}loadNamespaces(e,t){const n=jo();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=jo();"string"==typeof e&&(e=[e]);const i=this.options.preload||[],s=e.filter((e=>i.indexOf(e)<0));return s.length?(this.options.preload=i.concat(s),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new Qo(dc());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new fc(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pc;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const i={...this.options,...e,isClone:!0},s=new fc(i);void 0===e.debug&&void 0===e.prefix||(s.logger=s.logger.clone(e));return["store","services","language"].forEach((e=>{s[e]=this[e]})),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},n&&(s.store=new Yo(this.store.data,i),s.services.resourceStore=s.store),s.translator=new Jo(s.services,i),s.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];s.emit(e,...n)})),s.init(i,t),s.translator.options=i,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const hc=fc.createInstance();function mc(e){return mc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mc(e)}function gc(e){var t=function(e,t){if("object"!==mc(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==mc(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===mc(t)?t:String(t)}function yc(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,gc(i.key),i)}}hc.createInstance=fc.createInstance,hc.createInstance,hc.dir,hc.init,hc.loadResources,hc.reloadResources,hc.use,hc.changeLanguage,hc.getFixedT,hc.t,hc.exists,hc.setDefaultNamespace,hc.hasLoadedNamespace,hc.loadNamespaces,hc.loadLanguages;var vc=[],bc=vc.forEach,_c=vc.slice;var wc=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Ic=function(e,t,n,i){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(s.expires=new Date,s.expires.setTime(s.expires.getTime()+60*n*1e3)),i&&(s.domain=i),document.cookie=function(e,t,n){var i=n||{};i.path=i.path||"/";var s=encodeURIComponent(t),r="".concat(e,"=").concat(s);if(i.maxAge>0){var a=i.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");r+="; Max-Age=".concat(Math.floor(a))}if(i.domain){if(!wc.test(i.domain))throw new TypeError("option domain is invalid");r+="; Domain=".concat(i.domain)}if(i.path){if(!wc.test(i.path))throw new TypeError("option path is invalid");r+="; Path=".concat(i.path)}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw new TypeError("option expires is invalid");r+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(r+="; HttpOnly"),i.secure&&(r+="; Secure"),i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r}(e,encodeURIComponent(t),s)},xc=function(e){for(var t="".concat(e,"="),n=document.cookie.split(";"),i=0;i<n.length;i++){for(var s=n[i];" "===s.charAt(0);)s=s.substring(1,s.length);if(0===s.indexOf(t))return s.substring(t.length,s.length)}return null},Ec={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var n=xc(e.lookupCookie);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&Ic(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},Sc={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=n.substring(1).split("&"),s=0;s<i.length;s++){var r=i[s].indexOf("=");if(r>0)i[s].substring(0,r)===e.lookupQuerystring&&(t=i[s].substring(r+1))}}return t}},Ac=null,kc=function(){if(null!==Ac)return Ac;try{Ac="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){Ac=!1}return Ac},Tc={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&kc()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&kc()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},Rc=null,Cc=function(){if(null!==Rc)return Rc;try{Rc="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){Rc=!1}return Rc},Lc={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&Cc()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&Cc()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},Oc={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)t.push(navigator.languages[n]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},Nc={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},Fc={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},jc={name:"subdomain",lookup:function(e){var t="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,n="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[t]}};var Pc=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}var t,n,i;return t=e,n=[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e||{languageUtils:{}},this.options=function(e){return bc.call(_c.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(e){return e}}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(e){return e.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(Ec),this.addDetector(Sc),this.addDetector(Tc),this.addDetector(Lc),this.addDetector(Oc),this.addDetector(Nc),this.addDetector(Fc),this.addDetector(jc)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return e.forEach((function(e){if(t.detectors[e]){var i=t.detectors[e].lookup(t.options);i&&"string"==typeof i&&(i=[i]),i&&(n=n.concat(i))}})),n=n.map((function(e){return t.options.convertDetectedLanguage(e)})),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)})))}}],n&&yc(t.prototype,n),i&&yc(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();Pc.type="languageDetector";var Uc={progressBar:"Progress Complete",preloadTrial:{messageText:"Please wait while the experiment loads. This may take a few minutes."},fullScreenTrial:{prompt:"The experiment will switch to full screen mode. <br/> Click the button to continue.",buttonText:"Continue"},navigation:{continueButtonText:"Press <span class='yellow'>{{input}}</span> to {{action}}",studentSelect:"Press <span class='yellow'>a number key</span> to pick a student "},introduction:{gradeSelect:{text1:"What grade are you in?",text2:"To get started, press the number key on your keyboard of the grade you are in.",text2Mobile:"To get started, press the number of the grade you are in.",text3:"For example, you would press “4” if you are in 4th grade.",text4:"Press <span class='yellow'>the number key </span> of the grade you are in to continue ",text4Mobile:"Press <span class='yellow'>the number</span> of the grade you are in to continue "},intro:{text1:"Welcome to the Sentence Reading Efficiency activity!",text2:"In this activity, you are going to decide if a sentence is true or not.",text3:"Some of the sentences may be confusing, but do your best to label as many as you can.",text4:"Welcome! You are the new professor at Sentencia Academy.",text5:"We have some bright students that need your help with their sentence reading homework.",text6:"You will help these students decide if a sentence is true or not."}},practice:{intro:{text1:"Instructions",text2:"In this activity, you are going to read some sentences and decide whether each sentence is true or false.",text3:"Press the <span class='orange'><b> LEFT ARROW KEY </b></span> if a sentence is false. For example, 'A fish lives on land', is a false sentence so you would press the <span class='orange'> <b> left arrow key. </b> </span>",text3Mobile:"Press the <span class='orange'><b> LEFT ARROW </b></span> if a sentence is false. For example, 'A fish lives on land', is a false sentence so you would press the <span class='orange'> <b> left arrow. </b> </span>",text4:"Press the <span class='blue'><b> RIGHT ARROW KEY </b></span> if a sentence is true. For example, 'A cow is an animal', is a true sentence so you would press the <span class='blue'> <b> right arrow key. </b> </span>",text4Mobile:"Press the <span class='blue'><b> RIGHT ARROW </b></span> if a sentence is true. For example, 'A cow is an animal', is a true sentence so you would press the <span class='blue'> <b> right arrow. </b> </span>",text5:"Let's do some for practice!",text6:"Press <span class='yellow'>any key</span> to begin the practice sentences",text6Mobile:"Press <span class='yellow'>HERE</span> to begin the practice sentences"},postPracticeIntro:{text1:"Great job on those practice sentences!",text2:"You are ready to start the game.",text3:"You will have a <b> few minutes </b> to label as many sentences as you can.",text4:"Read each sentence silently and work as fast as you can without making mistakes.",text5:"It's okay if you don't know the answer. Give it your best guess and move to the next one."},feedback:{text1:"You pressed the {{arrow}} arrow key for {{type}} sentences.",text1Mobile:"You pressed the {{arrow}} arrow for {{type}} sentences.",text2:"is a {{type}} sentence. Press the {{arrow}} arrow key to continue.",text2Mobile:"is a {{type}} sentence. Press the {{arrow}} arrow to continue."},postPracticeReminder:{text1:"Press the <span class='orange'> <b> left arrow key </b> </span> for <span class='orange'> <b> false sentences.</b> </span>",text1Mobile:"Press the <span class='orange'> <b> left arrow </b> </span> for <span class='orange'> <b> false sentences.</b> </span>",text2:"Press the <span class='blue'> <b> right arrow key </b> </span> for <span class='blue'> <b> true sentences. </b> </span>",text2Mobile:"Press the <span class='blue'> <b> right arrow </b> </span> for <span class='blue'> <b> true sentences. </b> </span>",text3:"Do your best!",text4:"Ready?"}},characterSelect:{studentSelect:{paragraph1:"Now, let's meet your students!",paragraph2:"Press the number key on your keyboard to pick the student you would like to work with.",paragraph2Mobile:"Press the number of the student you would like to work with.",paragraph3:"Press <span class='yellow'>a number key</span> to pick a student",paragraph3MobileBefore:"Press ",paragraph3MobileSpan:"a number ",paragraph3MobileAfter:"to pick a student"},studentIntro:{paragraph1:"Hi Professor! It's nice to meet you. My name is",paragraph2:"I'm having trouble with my sentence reading homework. I need to finish it so I can",paragraph3:"Can you help me?"}},gameBreak:{halfwayScreen:{text1:"Great job!",text2:"You are halfway through - let's keep going.",text3:"Wow! I'm getting the hang of this!",text4:"We're halfway through - let's keep going."},endScreen:{text1:"Amazing job!",text2:"You are all done. Thank you so much for completing our activity.",text3:"Amazing job, Professor!",text4:"finished in record time. Thank you for your help!"},debrief:{text1:"Thank you for your participation!",text2:"Your responses have been saved."}},terms:{here:"HERE",anyKey:"ANY KEY",continue:"continue",practice:"practice",begin:"begin",left:"left",right:"right",save:"save your work",close:"close the game",true:"true",false:"false"}};(new Pc).addDetector({name:"defaultToEnglish",lookup:()=>"en"}),hc.use(Pc).init({debug:!1,load:"languageOnly",fallbackLng:"en",detection:{order:["defaultToEnglish","querystring"]},resources:{en:{translation:Uc},es:{translation:"esTranslations"},it:{translation:"itTranslations"}}});const Mc={en:{corpusPractice:[{'\ufeff""':"0",sentence:"An apple is blue.",answer:"F",direction:"left",correctresponse:"arrowleft"},{'\ufeff""':"1",sentence:"You can read stories at school.",answer:"T",direction:"right",correctresponse:"arrowright"},{'\ufeff""':"2",sentence:"People drive cars.",answer:"T",direction:"right",correctresponse:"arrowright"},{'\ufeff""':"3",sentence:"You wear a hat on your foot.",answer:"F",direction:"left",correctresponse:"arrowleft"}],corpusLab:[{"":"1",sentence:"A blanket can be very soft.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_1"},{"":"2",sentence:"Fish have thumbs.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_2"},{"":"3",sentence:"Sandwiches are food.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_3"},{"":"4",sentence:"Some worms ride pumpkins to school.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_4"},{"":"5",sentence:"Sweaters can be made of coal.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_5"},{"":"6",sentence:"Some children are afraid of the dark.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_6"},{"":"7",sentence:"A teacher is a person that works at a school.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_7"},{"":"8",sentence:"The ocean is home to many aquatic animals.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_8"},{"":"9",sentence:"Triangles have five sides.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_9"},{"":"10",sentence:"Chefs cook meals in their beds.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_10"},{"":"11",sentence:"People like to eat mud.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_11"},{"":"12",sentence:"Children can be sad.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_12"},{"":"13",sentence:"Cars have wheels.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_13"},{"":"14",sentence:"All cars are yellow.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_14"},{"":"15",sentence:"Trees have branches.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_15"},{"":"16",sentence:"Soda is always brown.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_16"},{"":"17",sentence:"Trash is thrown away in bathtubs.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_17"},{"":"18",sentence:"Wolves are a type of monkey.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_18"},{"":"19",sentence:"Children enjoy playing with toys.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_19"},{"":"20",sentence:"All children are afraid of the sun.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_20"},{"":"21",sentence:"It is usually dark at night.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_21"},{"":"22",sentence:"Towels are often made of glass.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_22"},{"":"23",sentence:"A pillow can be very soft.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_23"},{"":"24",sentence:"A monkey has a face.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_24"},{"":"25",sentence:"Eyeglasses can help you see better.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_25"},{"":"26",sentence:"Some houses have back yards.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_26"},{"":"27",sentence:"Soccer is a game you play with only your hands.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_27"},{"":"28",sentence:"When you break a bone you normally have to wear a cast.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_28"},{"":"29",sentence:"Computers need electricity to work.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_29"},{"":"30",sentence:"Dogs always walk on two legs.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_30"},{"":"31",sentence:"Basketball is a game that you play with a fork.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_31"},{"":"32",sentence:"Spaceships are flown by cowboys.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_32"},{"":"33",sentence:"Some kids take music lessons.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_33"},{"":"34",sentence:"Grandparents can bring presents when they come to visit their family.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_34"},{"":"35",sentence:"Trash cans are where you store extra notebook paper.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_35"},{"":"36",sentence:"Most humans listen with their feet.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_36"},{"":"37",sentence:"Chairs are alive.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_37"},{"":"38",sentence:"People can buy tomatoes at the market.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_38"},{"":"39",sentence:"Orange juice is always made of grapes.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"lab_39"},{"":"40",sentence:"Some people like to run for exercise in the morning.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"lab_40"},{"":"41",sentence:"Snails are usually very fast.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_41"},{"":"42",sentence:"Apples grow on trees.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_42"},{"":"43",sentence:"Some slugs ride elephants to school.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_43"},{"":"44",sentence:"People drive cars on the road.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_44"},{"":"45",sentence:"Students never get in trouble when they cheat on tests.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_45"},{"":"46",sentence:"Whales have two legs.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_46"},{"":"47",sentence:"Girls can listen to music with earphones.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_47"},{"":"48",sentence:"A curtain is something you wear.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_48"},{"":"49",sentence:"Many nurses work in hospitals.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_49"},{"":"50",sentence:"Medicine is supposed to make you stay sick longer.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_50"},{"":"51",sentence:"Many people paint pictures with screwdrivers.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_51"},{"":"52",sentence:"The sun is bright.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_52"},{"":"53",sentence:"It is faster to run than it is to walk.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_53"},{"":"54",sentence:"Stores are where you go to buy things.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_54"},{"":"55",sentence:"Elephants are large animals.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_55"},{"":"56",sentence:"Kittens are young cats.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_56"},{"":"57",sentence:"Blankets are made of metal.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_57"},{"":"58",sentence:"People like to eat dust.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_58"},{"":"59",sentence:"Most dogs wear leashes when they go for a walk.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_59"},{"":"60",sentence:"Spiders like to drink orange juice out of coffee mugs.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_60"},{"":"61",sentence:"Some kids love red crayons.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_61"},{"":"62",sentence:"A doctor can work in a hospital that serves many people.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_62"},{"":"63",sentence:"People can use cash to pay in stores.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_63"},{"":"64",sentence:"Moms like eating hats.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_64"},{"":"65",sentence:"Lizards like to cook pasta.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_65"},{"":"66",sentence:"Many babies drink milk.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_66"},{"":"67",sentence:"Air conditioners can lower the temperature of a room.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_67"},{"":"68",sentence:"Every magician is a fairy.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_68"},{"":"69",sentence:"People can wear socks to keep their feet warm.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_69"},{"":"70",sentence:"People sometimes drink milk.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_70"},{"":"71",sentence:"Most girls keep their books in a pond.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_71"},{"":"72",sentence:"Every basketball player is on a school team.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_72"},{"":"73",sentence:"Pockets can be used to keep change.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_73"},{"":"74",sentence:"Baseball is a game that you play with a knife.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_74"},{"":"75",sentence:"Lollipops are always made from vegetables.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_75"},{"":"76",sentence:"Towels are used to make things dry.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_76"},{"":"77",sentence:"Climbing up a mountain can be exhausting.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_77"},{"":"78",sentence:"Some shoes have laces.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_78"},{"":"79",sentence:"People drive cars in the sink.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_79"},{"":"80",sentence:"A cactus may grow in the desert.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_80"},{"":"81",sentence:"Most houses have grass on the ceiling.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_81"},{"":"82",sentence:"Most houses are made of foam.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_82"},{"":"83",sentence:"Dentists always give children candy and lemonade.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_83"},{"":"84",sentence:"People brush their teeth with mayonnaise.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_84"},{"":"85",sentence:"Eating only ice cream is healthy.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_85"},{"":"86",sentence:"Cows sing at night.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_86"},{"":"87",sentence:"The United States of America is in Africa.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_87"},{"":"88",sentence:"Some girls play the piano.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_88"},{"":"89",sentence:"Pets can keep people company.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_89"},{"":"90",sentence:"Adults can be sad.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_90"},{"":"91",sentence:"Blankets help keep you cold.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_91"},{"":"92",sentence:"Puppies carry backpacks on their back.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_92"},{"":"93",sentence:"When a traffic light is red you need to stop.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_93"},{"":"94",sentence:"All flowers are yellow.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_94"},{"":"95",sentence:"Friends can cheer you up when you are having a bad day.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_95"},{"":"96",sentence:"Tigers sometimes swing at playgrounds.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_96"},{"":"97",sentence:"Mice have ears.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_97"},{"":"98",sentence:"Cloudy days are always warm.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_98"},{"":"99",sentence:"Boys usually wash their hair with yogurt.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_99"},{"":"100",sentence:"Umbrellas are useful for keeping people dry when it rains.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_100"},{"":"101",sentence:"Bears can talk.",answer:"FALSE",direction:"left",difficulty:"medium",itemId:"lab_101"},{"":"102",sentence:"A picture can hang on the wall.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_102"},{"":"103",sentence:"Some people like to read books before they go to sleep.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_103"},{"":"104",sentence:"Adults are usually taller than their children.",answer:"TRUE",direction:"right",difficulty:"medium",itemId:"lab_104"},{"":"105",sentence:"Halloween is a holiday in February.",answer:"FALSE",direction:"left",difficulty:"hard",itemId:"lab_105"},{"":"106",sentence:"Most babies know how to drive a car.",answer:"FALSE",direction:"left",difficulty:"hard",itemId:"lab_106"},{"":"107",sentence:"Stones can be found near a river.",answer:"TRUE",direction:"right",difficulty:"hard",itemId:"lab_107"},{"":"108",sentence:"A raven is a bird.",answer:"TRUE",direction:"right",difficulty:"hard",itemId:"lab_108"},{"":"109",sentence:"Police officers drive school busses while on duty.",answer:"FALSE",direction:"left",difficulty:"hard",itemId:"lab_109"},{"":"110",sentence:"Wheels are round.",answer:"TRUE",direction:"right",difficulty:"hard",itemId:"lab_110"},{"":"111",sentence:"Television shows are longer than movies.",answer:"FALSE",direction:"left",difficulty:"hard",itemId:"lab_111"},{"":"112",sentence:"Hats should be worn on your elbow.",answer:"FALSE",direction:"left",difficulty:"hard",itemId:"lab_112"},{"":"113",sentence:"Every child holds pencils with their left hand.",answer:"FALSE",direction:"left",difficulty:"hard",itemId:"lab_113"},{"":"114",sentence:"Snow always falls in the summer.",answer:"FALSE",direction:"left",difficulty:"hard",itemId:"lab_114"},{"":"115",sentence:"A gardener works at a bakery.",answer:"FALSE",direction:"left",difficulty:"hard",itemId:"lab_115"},{"":"116",sentence:"A cactus grows under the sea.",answer:"FALSE",direction:"left",difficulty:"hard",itemId:"lab_116"},{"":"117",sentence:"Some people get to work using a spaceship.",answer:"FALSE",direction:"left",difficulty:"hard",itemId:"lab_117"},{"":"118",sentence:"Friends can do many things together after school.",answer:"TRUE",direction:"right",difficulty:"hard",itemId:"lab_118"},{"":"119",sentence:"A tricycle has two wheels.",answer:"FALSE",direction:"left",difficulty:"hard",itemId:"lab_119"},{"":"120",sentence:"Ice helps to keep things cold.",answer:"TRUE",direction:"right",difficulty:"hard",itemId:"lab_120"},{"":"121",sentence:"People can use credit cards to pay in stores.",answer:"TRUE",direction:"right",difficulty:"hard",itemId:"lab_121"},{"":"122",sentence:"Another name for a present is a gift.",answer:"TRUE",direction:"right",difficulty:"hard",itemId:"lab_122"},{"":"123",sentence:"Dish washers make plates dirty.",answer:"FALSE",direction:"left",difficulty:"hard",itemId:"lab_123"},{"":"124",sentence:"Doors are always open.",answer:"FALSE",direction:"left",difficulty:"hard",itemId:"lab_124"},{"":"125",sentence:"Trampolines help you bounce higher.",answer:"TRUE",direction:"right",difficulty:"hard",itemId:"lab_125"},{"":"126",sentence:"Trashcans can become smelly if trash is left inside too long.",answer:"TRUE",direction:"right",difficulty:"hard",itemId:"lab_126"},{"":"127",sentence:"A mouse is a rodent that squeaks.",answer:"TRUE",direction:"right",difficulty:"hard",itemId:"lab_127"},{"":"128",sentence:"The weather in the winter can be unpredictable.",answer:"TRUE",direction:"right",difficulty:"hard",itemId:"lab_128"},{"":"129",sentence:"There are many types of lizards.",answer:"TRUE",direction:"right",difficulty:"hard",itemId:"lab_129"},{"":"130",sentence:"Most people play board games with at least one other person.",answer:"TRUE",direction:"right",difficulty:"hard",itemId:"lab_130"}],corpusTOSREC:[{"":"1",sentence:"A fish can swim.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_1"},{"":"2",sentence:"Pigs can fly.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_2"},{"":"3",sentence:"Bears have fur.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_3"},{"":"4",sentence:"A fox can run.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_4"},{"":"5",sentence:"Mom can ride a kite.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_5"},{"":"6",sentence:"Cats drive a bus.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_6"},{"":"7",sentence:"The grass is green.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_7"},{"":"8",sentence:"Cows go to church.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_8"},{"":"9",sentence:"You can help a baby.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_9"},{"":"10",sentence:"You sleep on a log.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_10"},{"":"11",sentence:"Ducks like to dress up.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_11"},{"":"12",sentence:"You can eat an egg.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_12"},{"":"13",sentence:"A mouse can quack.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_13"},{"":"14",sentence:"Birds fly in the sky.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_14"},{"":"15",sentence:"Some girls like juice.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_15"},{"":"16",sentence:"A princess lives in the sun.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_16"},{"":"17",sentence:"You can keep money in the bank.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_17"},{"":"18",sentence:"An eagle is a small bird.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_18"},{"":"19",sentence:"You can feed a hamster.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_19"},{"":"20",sentence:"Popcorn can be cooked on a stove.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_20"},{"":"21",sentence:"You eat cereal with a fork.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_21"},{"":"22",sentence:"A lion can fly at night.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_22"},{"":"23",sentence:"You can fill a balloon with air.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_23"},{"":"24",sentence:"A fishing boat can be at a dock.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_24"},{"":"25",sentence:"You might find a cabin in the woods.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_25"},{"":"26",sentence:"Football is played by frogs.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_26"},{"":"27",sentence:"You can find starfish in space.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_27"},{"":"28",sentence:"A joke might not be funny.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_28"},{"":"29",sentence:"You can ride a rooster.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_29"},{"":"30",sentence:"A doctor can help if you are sick.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_30"},{"":"31",sentence:"Clowns live in caves with crickets.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_31"},{"":"32",sentence:"You can practice how to sail a boat.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_32"},{"":"33",sentence:"Bullfrogs wear green boots on their feet.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_33"},{"":"34",sentence:"You say good-bye when you leave.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_34"},{"":"35",sentence:"You might earn money if you clean your room.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_35"},{"":"36",sentence:"A wagon is used for catching fish.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_36"},{"":"37",sentence:"An artist can paint a picture.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_37"},{"":"38",sentence:"You can grow onions in a tree.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_38"},{"":"39",sentence:"A boy might read an article in a book.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_39"},{"":"40",sentence:"You can use a rattle to write a letter.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_40"},{"":"41",sentence:"A horse can slide up a mountain covered in snow.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_41"},{"":"42",sentence:"Raindrops can fall down a chimney.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_42"},{"":"43",sentence:"You might find a parade of ants at a picnic.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_43"},{"":"44",sentence:"A boy can use a ladder to climb into a tree house.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_44"},{"":"45",sentence:"Doughnuts like to read comic books.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_45"},{"":"46",sentence:"You might learn counting and addition at school.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_46"},{"":"47",sentence:"The weather is hot and sunny in the Arctic.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_47"},{"":"48",sentence:"Lobsters might be found eating grain in a snowstorm.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_48"},{"":"49",sentence:"Sharks like to ride on moving skateboards.",grade:"1",answer:"FALSE",direction:"left",itemId:"TOSREC_49"},{"":"50",sentence:"A couch and tables are for sale in a furniture store.",grade:"1",answer:"TRUE",direction:"right",itemId:"TOSREC_50"},{"":"51",sentence:"A boy can eat cake.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_51"},{"":"52",sentence:"It is hot in the snow.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_52"},{"":"53",sentence:"A horse lives in a barn.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_53"},{"":"54",sentence:"The sun is dark.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_54"},{"":"55",sentence:"A car can walk.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_55"},{"":"56",sentence:"You can look at a house.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_56"},{"":"57",sentence:"A girl can wear a shoe.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_57"},{"":"58",sentence:"You write with gum.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_58"},{"":"59",sentence:"You can drive a hen.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_59"},{"":"60",sentence:"Fish swim in a lake.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_60"},{"":"61",sentence:"A tiger will roar.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_61"},{"":"62",sentence:"A princess lives on the sun.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_62"},{"":"63",sentence:"You eat cereal with a fork.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_21"},{"":"64",sentence:"There is sand at the beach.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_63"},{"":"65",sentence:"You can buy some food in a market.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_64"},{"":"66",sentence:"Moths listen to moons.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_65"},{"":"67",sentence:"You can cook an airport.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_66"},{"":"68",sentence:"A doctor can help if you are sick.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_30"},{"":"69",sentence:"A lion can fly at night.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_22"},{"":"70",sentence:"Birds make nests for their babies.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_67"},{"":"71",sentence:"A boy might read an article.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_68"},{"":"72",sentence:"A lighthouse shines brightly at night.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_69"},{"":"73",sentence:"You might find an island in your cereal.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_70"},{"":"74",sentence:"Ladders are always made of steak.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_71"},{"":"75",sentence:"You might find a parade of ants at a picnic.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_43"},{"":"76",sentence:"A chipmunk can work on the railroad.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_72"},{"":"77",sentence:"An artist can paint a picture.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_37"},{"":"78",sentence:"You can write with an onion.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_73"},{"":"79",sentence:"You might find a starfish jogging by the sea.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_74"},{"":"80",sentence:"A boy can use a ladder to climb into a tree house.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_44"},{"":"81",sentence:"The alphabet is made of coal and sticks.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_75"},{"":"82",sentence:"Raindrops can fall down a chimney.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_42"},{"":"83",sentence:"A carrot has three eyes, one nose, and a mouth.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_76"},{"":"84",sentence:"You may borrow a pencil from a cat.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_77"},{"":"85",sentence:"A mother will be proud if her children fail in school.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_78"},{"":"86",sentence:"Baby chickens are called chicks.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_79"},{"":"87",sentence:"A storm can produce flooding.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_80"},{"":"88",sentence:"Doughnuts grow in the ground with spinach.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_81"},{"":"89",sentence:"A mule might pull a heavy wagon up a steep hill.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_82"},{"":"90",sentence:"A lighthouse is used to shine light for ships sailing to shore.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_83"},{"":"91",sentence:"Cattle swim in catnip.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_84"},{"":"92",sentence:"Some greyhounds are raised for racing around a track.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_85"},{"":"93",sentence:"Students are supposed to obey the rule of the class.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_86"},{"":"94",sentence:"You can iron wrinkles out of puppies.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_87"},{"":"95",sentence:"If you have a lot of school spirit you might cheer loudly at games.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_88"},{"":"96",sentence:"Mice play checkers with cats on Tuesday mornings.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_89"},{"":"97",sentence:"You can find icebergs in the desert.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_90"},{"":"98",sentence:"Some people who want to lose weight count calories.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_91"},{"":"99",sentence:"It is a crime if a boy shoplifts candy from a store.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_92"},{"":"100",sentence:"A shark can play the bagpipes at a baseball game.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_93"},{"":"101",sentence:"You might find an old arrowhead buried in the dirt.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_94"},{"":"102",sentence:"The planets can be found in a pineapple under the sea.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_95"},{"":"103",sentence:"Puppies gallop faster than horses.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_96"},{"":"104",sentence:"A doctor uses a telescope to check your heart.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_97"},{"":"105",sentence:"A relative can be your cousin.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_98"},{"":"106",sentence:"A teacher might have an assistant in the classroom.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_99"},{"":"107",sentence:"A cowboy is a person who enjoys riding seals.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_100"},{"":"108",sentence:"You might use goggles to see while swimming under water.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_101"},{"":"109",sentence:"Eyeglasses are meant to be worn inside your socks.",grade:"2",answer:"FALSE",direction:"left",itemId:"TOSREC_102"},{"":"110",sentence:"A girl can be a bridesmaid in her sister�s wedding.",grade:"2",answer:"TRUE",direction:"right",itemId:"TOSREC_103"},{"":"111",sentence:"The sun is round.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_104"},{"":"112",sentence:"A ball can see.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_105"},{"":"113",sentence:"Fish swim in a lake.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_60"},{"":"114",sentence:"A baby can row a boat.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_106"},{"":"115",sentence:"You can clean a room.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_107"},{"":"116",sentence:"Schoolwork can be hard to do.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_108"},{"":"117",sentence:"A hamster can have ten feet.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_109"},{"":"118",sentence:"Friday is a month of the year.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_110"},{"":"119",sentence:"A prince likes to eat sand for dinner.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_111"},{"":"120",sentence:"A car requires gas.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_112"},{"":"121",sentence:"A girl can talk on a telephone.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_113"},{"":"122",sentence:"A banana is good to drink.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_114"},{"":"123",sentence:"A state has a capital.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_115"},{"":"124",sentence:"You play checkers on a journal.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_116"},{"":"125",sentence:"You can move a mountain in a wagon.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_117"},{"":"126",sentence:"A storm might be powerful.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_118"},{"":"127",sentence:"A lighthouse can be in a harbor.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_119"},{"":"128",sentence:"A porcupine is fun to pet.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_120"},{"":"129",sentence:"Chrome is always very dull.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_121"},{"":"130",sentence:"A dog can be hard to control if a rabbit runs by.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_122"},{"":"131",sentence:"A teenager is a boy or girl who is less than ten years old.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_123"},{"":"132",sentence:"A student might need help doing homework.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_124"},{"":"133",sentence:"Most people wear jackets on their feet rather than shoes.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_125"},{"":"134",sentence:"A hawk might fly down from a tree to chase after a rabbit.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_126"},{"":"135",sentence:"If you have a lot of school spirit you might cheer loudly at games.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_88"},{"":"136",sentence:"You can buy popcorn in a movie theter.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_127"},{"":"137",sentence:"A melon is a fish that is bigger than a salmon.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_128"},{"":"138",sentence:"A bucket filled with a hundred gold coins is worthless.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_129"},{"":"139",sentence:"A majority of votes means more than half of them.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_130"},{"":"140",sentence:"It is unusual for the sun to rise in the morning.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_131"},{"":"141",sentence:"A family might go to a store to purchase a new bed.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_132"},{"":"142",sentence:"A watermelon can be too big for a small boy to lift.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_133"},{"":"143",sentence:"A castle made in the sand at the beach is very sturdy.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_134"},{"":"144",sentence:"Most people eat their breakfast at midnight.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_135"},{"":"145",sentence:"A tortoise is faster than a greyhound.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_136"},{"":"146",sentence:"A test tube might break if you drop it during an experiment.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_137"},{"":"147",sentence:"You should invite vultures to a wedding.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_138"},{"":"148",sentence:"A tongue makes a good hammer for pounding nails into a wall.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_139"},{"":"149",sentence:"A captain might request cheese for his chili.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_140"},{"":"150",sentence:"A principal might talk with a girl about what she wore to school.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_141"},{"":"151",sentence:"An astronaut is a person who sells used cars for a living.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_142"},{"":"152",sentence:"Some people prefer to have their own pillow with them on a trip.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_143"},{"":"153",sentence:"Your arm is connected to your elbow by your ankle.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_144"},{"":"154",sentence:"A person who cooks a meal may go to the store to buy an ingredient.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_145"},{"":"155",sentence:"A cowboy who rides bareback does not use a saddle.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_146"},{"":"156",sentence:"A doctor might tell a patient to exercise more.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_147"},{"":"157",sentence:"A passenger is a man who plays a violin.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_148"},{"":"158",sentence:"A boy who is not a good swimmer will wear luggage to keep from sinking.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_149"},{"":"159",sentence:"A candidate for Congress might ask you to decide to vote for her.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_150"},{"":"160",sentence:"Bison like to dress up in costumes and go to dinner parties.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_151"},{"":"161",sentence:"A teacher might recommend that you stop talking to a friend and do your work.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_152"},{"":"162",sentence:"People walked on the moon in prehistoric times.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_153"},{"":"163",sentence:"You can get some information that you need from a radio.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_154"},{"":"164",sentence:"Playing ball can be a good way to get recreation and exercise.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_155"},{"":"165",sentence:"Mathematics is the study of plant life.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_156"},{"":"166",sentence:"Bubbles you blow from bubble gum are very durable.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_157"},{"":"167",sentence:"People who build tunnels through mountains might use dynamite.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_158"},{"":"168",sentence:"A penny is a significant sum of money.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_159"},{"":"169",sentence:"A viscious dog is very friendly and safe around children.",grade:"3",answer:"FALSE",direction:"left",itemId:"TOSREC_160"},{"":"170",sentence:"You might be told a tale about ghosts who inhabit cemeteries.",grade:"3",answer:"TRUE",direction:"right",itemId:"TOSREC_161"},{"":"171",sentence:"You can look at a book.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_162"},{"":"172",sentence:"Snow is green.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_163"},{"":"173",sentence:"You can fly a kite.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_164"},{"":"174",sentence:"A father can go to work.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_165"},{"":"175",sentence:"Ants have hats.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_166"},{"":"176",sentence:"A tiger will roar.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_61"},{"":"177",sentence:"You can ride a rooster.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_29"},{"":"178",sentence:"Football is played by frogs.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_26"},{"":"179",sentence:"You wear a ring on your elbow.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_167"},{"":"180",sentence:"You might find a cabin in the woods.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_25"},{"":"181",sentence:"A lighthouse shines brightly at night.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_69"},{"":"182",sentence:"You can grow onions in a tree.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_38"},{"":"183",sentence:"A storm can produce flooding.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_80"},{"":"184",sentence:"Ladders are always made of steak.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_71"},{"":"185",sentence:"A horse can slide up a mountain covered in snow.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_41"},{"":"186",sentence:"A student may have to go see the principal.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_168"},{"":"187",sentence:"A family might go to a store to purchase a bed.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_169"},{"":"188",sentence:"Lobsters might be found eating grain in a snowstorm.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_48"},{"":"189",sentence:"You might invite your friends to your birthday party.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_170"},{"":"190",sentence:"A salmon will run after bears to eat them for dinner.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_171"},{"":"191",sentence:"Bacon is grown in dry climates.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_172"},{"":"192",sentence:"A boy might make a girl blush by giving her candy and flowers.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_173"},{"":"193",sentence:"The planets can be found in a pineapple under the sea.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_95"},{"":"194",sentence:"You might find an old arrowhead buried in the dirt.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_94"},{"":"195",sentence:"A relative can be your cousin.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_98"},{"":"196",sentence:"You can find several bodyguards at the White House.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_174"},{"":"197",sentence:"Velvet is an expensive product made of hamsters.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_175"},{"":"198",sentence:"Potato farmers love droughts in the spring.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_176"},{"":"199",sentence:"A man might smoke a cigar while playing a game of poker with friends.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_177"},{"":"200",sentence:"Puppies gallop faster than horses.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_96"},{"":"201",sentence:"A teacher might have an assistant in the classroom.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_99"},{"":"202",sentence:"You might go to a conference to learn more about playing chess.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_178"},{"":"203",sentence:"A doctor uses a telescope to check your heart.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_97"},{"":"204",sentence:"A cannon is a small owl that is easily thrown into the air.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_179"},{"":"205",sentence:"Dwarf hamsters eat entire trees.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_180"},{"":"206",sentence:"A girl can be a bridesmaid in her sister's wedding.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_181"},{"":"207",sentence:"A cowboy is a person who enjoys riding seals.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_100"},{"":"208",sentence:"Eyeglasses are meant to be worn inside your socks.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_102"},{"":"209",sentence:"A blacksmith hammers shoes for horses out of hot metal.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_182"},{"":"210",sentence:"You might use goggles to see while swimming under water.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_101"},{"":"211",sentence:"Sneezing when you go out is an emergency.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_183"},{"":"212",sentence:"Some airplanes fly at a very high altitude.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_184"},{"":"213",sentence:"If you win a million dollars you will be dejected.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_185"},{"":"214",sentence:"An amateur athlete might train after school.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_186"},{"":"215",sentence:"Too many absences can make it difficult to keep up with your work and get good grades.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_187"},{"":"216",sentence:"If you are careless when doing work you can make mistakes.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_188"},{"":"217",sentence:"A doctor spends most of her time examining rocks and comets.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_189"},{"":"218",sentence:"Firecrackers are good to eat for dinner.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_190"},{"":"219",sentence:"If you win an award, you should acknowledge people who helped you along the way.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_191"},{"":"220",sentence:"Fertilizer is used to keep plants from growing.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_192"},{"":"221",sentence:"A planet that is habitable will support life.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_193"},{"":"222",sentence:"Dynamite is often used in cooking.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_194"},{"":"223",sentence:"Frost can appear on a vehicle if the climate is extremely cold.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_195"},{"":"224",sentence:"An assertive girl is likely to say what she really thinks rather than keep quiet.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_196"},{"":"225",sentence:"The weather always is very cold at the equator.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_197"},{"":"226",sentence:"Someone with a large appetite will eat very little food.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_198"},{"":"227",sentence:"Not being able to swim is a barrier to having a career as a swimming instructor.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_199"},{"":"228",sentence:"Wearing a blindfold is better than wearing glasses if you cannot see the board clearly.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_200"},{"":"229",sentence:"A solitary bird flying overhead will block out the sun and make it dark during the day.",grade:"4",answer:"FALSE",direction:"left",itemId:"TOSREC_201"},{"":"230",sentence:"A boomerang that has been thrown correctly is supposed to come back to the person who threw it.",grade:"4",answer:"TRUE",direction:"right",itemId:"TOSREC_202"},{"":"231",sentence:"An airplane can fly high.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_203"},{"":"232",sentence:"A cat will eat a mailbox.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_204"},{"":"233",sentence:"A bank has money.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_205"},{"":"234",sentence:"You can cook an airport.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_66"},{"":"235",sentence:"Sugar is good to put on your feet.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_206"},{"":"236",sentence:"A banana is a fruit you can eat.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_207"},{"":"237",sentence:"A storm might be powerful.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_118"},{"":"238",sentence:"A sentence ends with a comma.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_208"},{"":"239",sentence:"Rabbits like to eat carrots.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_209"},{"":"240",sentence:"A neighbor lives far away.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_210"},{"":"241",sentence:"A boy standing outside may have a shadow.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_211"},{"":"242",sentence:"Having lots of wrinkles means that you are very young.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_212"},{"":"243",sentence:"A teacher might write a story on a blackboard.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_213"},{"":"244",sentence:"A spark might terrify a new leather chair.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_214"},{"":"245",sentence:"Many schools are used to educate ants.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_215"},{"":"246",sentence:"A passenger is a man who plays violin.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_216"},{"":"247",sentence:"You can eat a hamburger with mustard for dinner.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_217"},{"":"248",sentence:"A microscope is for seeing things that are far away.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_218"},{"":"249",sentence:"A doctor might tell a patient to exercise more.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_147"},{"":"250",sentence:"Parents can ask for a conference to talk about a child's grades.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_219"},{"":"251",sentence:"Some airplanes fly at a very high altitude.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_184"},{"":"252",sentence:"When food is abundant, there will be limited amounts of food to eat.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_220"},{"":"253",sentence:"If you go to the circus, you might get to see the acrobats perform.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_221"},{"":"254",sentence:"An amateur athlete might train after school.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_186"},{"":"255",sentence:"If you want to keep a secret, you should broadcast it on the radio.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_222"},{"":"256",sentence:"You will want to spend a lot of time with a person who is very annoying.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_223"},{"":"257",sentence:"Some children with an allergy might be allergic to pets such as dogs or cats.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_224"},{"":"258",sentence:"Too many absences can make it difficult to keep up with your work and get good grades.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_187"},{"":"259",sentence:"A friend you admire is someone you have little respect for.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_225"},{"":"260",sentence:"Some children who help around the house get an allowance from their parents.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_226"},{"":"261",sentence:"If an unexpected guest arrives, you might have to adjust your plans.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_227"},{"":"262",sentence:"An alert watchdog will sleep through a burglary attempt.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_228"},{"":"263",sentence:"If an automobile stops abruptly, a box on the the seat might fall on the floor.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_229"},{"":"264",sentence:"A billion dollars is a small amount of money for most of us.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_230"},{"":"265",sentence:"A student who studies abroad will leave her country to go to college.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_231"},{"":"266",sentence:"An illegal alien is a person who was born in this country.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_232"},{"":"267",sentence:"Barbecue is a sport that requires a big field, a baseball, and a bat.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_233"},{"":"268",sentence:"If you win an award, you should acknowledge people who helped you along the way.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_191"},{"":"269",sentence:"A barometer is good for telling how hot or cold it is outside.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_234"},{"":"270",sentence:"Archeology is a field of science that is used to predict if it will rain.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_235"},{"":"271",sentence:"A mechanic might recommend that you rotate your tires.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_236"},{"":"272",sentence:"Anything made of steel is flexible.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_237"},{"":"273",sentence:"An asteroid is best eaten for breakfast or dinner.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_238"},{"":"274",sentence:"Climbing a mountain can be treacherous.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_239"},{"":"275",sentence:"You might be told a tale about ghosts who inhabit cemeteries.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_161"},{"":"276",sentence:"A confidential story should be shared with others.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_240"},{"":"277",sentence:"A candidate who loses a close election might ask for a recount.�",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_241"},{"":"278",sentence:"A teacher might be emphatic about the need to follow classroom rules.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_242"},{"":"279",sentence:"Flies should be kept safe because they are endangered animals.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_243"},{"":"280",sentence:"Radioactive waste is good for the environment if it leaks out on the ground.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_244"},{"":"281",sentence:"Doing the same thing over and over again can be very monotonous.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_245"},{"":"282",sentence:"A victorious runner might have a reason to be happy.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_246"},{"":"283",sentence:"A gangster is a person who gives millions to charities.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_247"},{"":"284",sentence:"A fisherman might exaggerate the size of a trophy fish that got away.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_248"},{"":"285",sentence:"Many school children carry a fire hydrant in their backpacks in case a fire alarm occurs.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_249"},{"":"286",sentence:"Doing two hundred sit-ups requires stamina.",grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_250"},{"":"287",sentence:"A dissatisfied customer is likely to leave a very large tip after a meal.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_251"},{"":"288",sentence:'A good label for a box that contains all kinds of different things would be "Miscellaneous".',grade:"5",answer:"TRUE",direction:"right",itemId:"TOSREC_252"},{"":"289",sentence:"When a shortage of gasoline occurs, too much is available for purchase.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_253"},{"":"290",sentence:"A provisional decision is one that is permanent and not subject to change.",grade:"5",answer:"FALSE",direction:"left",itemId:"TOSREC_254"},{"":"291",sentence:"A bank has money.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_205"},{"":"292",sentence:"A car requires gas.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_112"},{"":"293",sentence:"Adults are small.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_255"},{"":"294",sentence:"Clowns live in caves with crickets.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_31"},{"":"295",sentence:"You might find a cabin in the woods.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_25"},{"":"296",sentence:"Some greyhounds are raised for racing around a track.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_85"},{"":"297",sentence:"A teenager is a boy or girl who is less than ten years old.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_123"},{"":"298",sentence:"A person might wear an apron while cooking.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_256"},{"":"299",sentence:"Some people who want to lose weight count calories.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_91"},{"":"300",sentence:"It is unusual for the sun to rise in the morning.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_131"},{"":"301",sentence:"Puppies gallop faster than horses.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_96"},{"":"302",sentence:"A person who gets lost might try to use a compass to get home safely.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_257"},{"":"303",sentence:"A doctor uses a telescope to check your heart.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_97"},{"":"304",sentence:"You might be anxious if you are about to take a spelling test.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_258"},{"":"305",sentence:"A cowboy is a person who enjoys riding seals.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_100"},{"":"306",sentence:"Drinking water is a good precaution to take if it is hot and you are going to run.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_259"},{"":"307",sentence:"Sneezing when you go out is an emergency.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_183"},{"":"308",sentence:"People ride to a shopping mall in envelopes.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_260"},{"":"309",sentence:"If you win an award, you should acknowledge people who helped you along the way.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_191"},{"":"310",sentence:"Firecrackers are good to eat for dinner.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_190"},{"":"311",sentence:"People who build tunnels through mountains might use dynamite.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_158"},{"":"312",sentence:"Blinking your eyes is a very dangerous thing to do.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_261"},{"":"313",sentence:"A light rain is an example of a major disaster.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_262"},{"":"314",sentence:"Frost can appear on a vehicle if the climate is extremely cold.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_195"},{"":"315",sentence:"A planet that is habitable will support life.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_193"},{"":"316",sentence:"A celebrity might be asked for her autograph.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_263"},{"":"317",sentence:"Men wear cosmetics to make them feel more intelligent.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_264"},{"":"318",sentence:"Dynamite is often used in cooking.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_194"},{"":"319",sentence:"Asthma is a problem that sometimes can make it difficult to breathe.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_265"},{"":"320",sentence:"A formidable challenge is one that is very easy to deal with.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_266"},{"":"321",sentence:"If you are right-handed, it probably will feel awkward if you attempt to write with your left hand.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_267"},{"":"322",sentence:"Identical twins are very easy to tell apart when you first meet them.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_268"},{"":"323",sentence:"It is easy to ignite a fire using matches under water.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_269"},{"":"324",sentence:"A boycott might be organized as a way to protest a decision made by a store.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_270"},{"":"325",sentence:"If you go to a restaurant with a buffet you get to pick whatever you want to eat.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_271"},{"":"326",sentence:"Birds, turtles, and trees are invisible.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_272"},{"":"327",sentence:"A microphone is used to take pictures on vacation.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_273"},{"":"328",sentence:"Charcoal is sometimes used to cook hamburgers or hot dogs.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_274"},{"":"329",sentence:"A penny is a significant sum of money.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_159"},{"":"330",sentence:"A contagious disease can be passed from one person to another.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_275"},{"":"331",sentence:"You can misunderstand people if they talk so quietly that you cannot hear them clearly.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_276"},{"":"332",sentence:"A generator can be useful if a storm causes the power to go out.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_277"},{"":"333",sentence:"The safest time to go swimming, boating, or fishing is during a severe typhoon.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_278"},{"":"334",sentence:"Good students might be honored for their accomplishments at a school assembly.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_279"},{"":"335",sentence:"A reluctant skydiver is eager to jump from an airplane.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_280"},{"":"336",sentence:"Most people wear ancient pyramids on their wrists for predicting weather.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_281"},{"":"337",sentence:"Not being able to swim is a barrier to having a career as a swimming instructor.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_199"},{"":"338",sentence:"A microscopic germ is bigger than a building but smaller than a city.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_282"},{"":"339",sentence:"A criminal who tries to blackmail someone may hope to get money from his victim.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_283"},{"":"340",sentence:"Most people would be disappointed to learn that they were millionaires.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_284"},{"":"341",sentence:"A confidential remark is not meant to be repeated to others.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_285"},{"":"342",sentence:"Winning the lottery would be complete agony for most people.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_286"},{"":"343",sentence:"A convict who attempts to escape from prison is likely to receive a longer sentence.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_287"},{"":"344",sentence:"An airplane accelerates down the runway before lifting off into the air.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_288"},{"":"345",sentence:"An abbreviated program is one that is longer than a complete program.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_289"},{"":"346",sentence:"Most parents will disapprove if their children earn perfect scores on a difficult and important test.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_290"},{"":"347",sentence:"Some criminals have an accomplice who accompanies them.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_291"},{"":"348",sentence:"Libraries prefer that all people be delinquent in returning books.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_292"},{"":"349",sentence:"A football game that ends with a tie score of fourteen to fourteen is an example of a decisive victory.",grade:"6",answer:"FALSE",direction:"left",itemId:"TOSREC_293"},{"":"350",sentence:"Bleach is sometimes used in washing machines to remove difficult stains from very dirty clothes.",grade:"6",answer:"TRUE",direction:"right",itemId:"TOSREC_294"},{"":"351",sentence:"You can play with a toy in the bathtub.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_295"},{"":"352",sentence:"Blue jays are smaller than ants.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_296"},{"":"353",sentence:"Farmers grow wheat in large fields.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_297"},{"":"354",sentence:"Birds make nests for their babies.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_67"},{"":"355",sentence:"Snakes are good at farming.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_298"},{"":"356",sentence:"You can buy popcorn in a movie theater.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_299"},{"":"357",sentence:"A test tube might break if you drop it during an experiment.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_137"},{"":"358",sentence:"You can find icebergs in the desert.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_90"},{"":"359",sentence:"Teenagers like to drive sponges to school.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_300"},{"":"360",sentence:"A man in prison can roam freely throughout the world.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_301"},{"":"361",sentence:"You might calculate to solve a problem in a math class.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_302"},{"":"362",sentence:"Some of our ancestors were born and lived in prehistoric times.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_303"},{"":"363",sentence:"An alert watchdog will sleep through a burglary attempt.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_228"},{"":"364",sentence:"If you spend more than your budget allows, you may run short of money.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_304"},{"":"365",sentence:"A friend you admire is someone you have little respect for.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_225"},{"":"366",sentence:"A teacher might put a bonus question on a test to give students extra credit.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_305"},{"":"367",sentence:"A boycott might be organized as a way to protect a decision made by a store.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_306"},{"":"368",sentence:"A hunter wears camouflage to be seen more easily.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_307"},{"":"369",sentence:"Men wear cosmetics to make them feel more intelligent.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_264"},{"":"370",sentence:"An automatic decision is one that requires a lot of thought.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_308"},{"":"371",sentence:"Doing the same thing over and over again can be monotonous.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_309"},{"":"372",sentence:"If you commit a serious crime you might be sent to a penitentiary.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_310"},{"":"373",sentence:"You may be asked to calculate answers to difficult problems in a college math class.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_311"},{"":"374",sentence:"Wearing a blindfold is better than wearing glasses if you cannot see the board.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_312"},{"":"375",sentence:"It would be dishonest to return a lost wallet with all of the money inside it to its owner.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_313"},{"":"376",sentence:"One way to find a solution to a disagreement is to look for a compromise.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_314"},{"":"377",sentence:"A disinfectant is useful for killing some germs that can cause illness.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_315"},{"":"378",sentence:"The main problem with having a famine is overly abundant food to eat.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_316"},{"":"379",sentence:"A math teacher who asks you to estimate an answer is asking for an answer that is exact.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_317"},{"":"380",sentence:"A speedometer is used to tell what the temperature is outside.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_318"},{"":"381",sentence:"Eating spoiled food can cause an upset stomach or other problems with digestion.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_319"},{"":"382",sentence:"A punctual student always is late for his classes or any appointments.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_320"},{"":"383",sentence:"Most adolescents go to school and like movies and listening to music.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_321"},{"":"384",sentence:"People have seven hundred thousand knuckles on their ankles and noses.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_322"},{"":"385",sentence:"Someone with a large appetite will eat very little food.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_198"},{"":"386",sentence:"If a tiger escaped from a zoo and was walking in a city, it would cause commotion.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_323"},{"":"387",sentence:"Most people would be disappointed to learn that they were millionaires.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_284"},{"":"388",sentence:"An automobile is useful for going out to eat or to the grocery store.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_324"},{"":"389",sentence:"A microscopic germ is bigger than a building but smaller than a city.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_282"},{"":"390",sentence:"A teacher might give you criticism about a paper you wrote to make you a better writer.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_325"},{"":"391",sentence:"Toxic oil spills in oceans, streams, and lakes are beneficial for the environment.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_326"},{"":"392",sentence:"The purpose of the population census is to count the number of rainy days every month.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_327"},{"":"393",sentence:"Very large farms with many kinds of livestock and many fileds for planting can cover a lot of acreage.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_328"},{"":"394",sentence:"Clam chowder is made from various spiders, peanuts, and several kinds of insects.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_329"},{"":"395",sentence:"A computer works best if it is thrown from the top floor of a tall building during a major thunderstorm.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_330"},{"":"396",sentence:"An adequate number of players on a team is required to be able to play an opponent.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_331"},{"":"397",sentence:"Giving to needy individuals who have less than you is an admirable thing to do",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_332"},{"":"398",sentence:"A leaf falling from a tree will endanger most every resident in a city.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_333"},{"":"399",sentence:"People who are adrift in a boat with a broken-down motor may be lucky and be rescued by a passing boater.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_334"},{"":"400",sentence:"Studying hard and listening in class are advisable if you want to achieve better grades.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_335"},{"":"401",sentence:"Ice cream is a very distasteful thing to be given to eat for almost all children regardless of their age.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_336"},{"":"402",sentence:"A tornado can result in a catastrophe if it strikes where people will live and a safe place to go is not available.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_337"},{"":"403",sentence:"Most bankers are given bonuses if they are able to embezzle money from the bank to buy a sailboat.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_338"},{"":"404",sentence:"Compulsory rules are not optional but rather must always be followed.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_339"},{"":"405",sentence:"Hamburgers and hot dogs sometimes are sold at concession stands at various sporting events.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_340"},{"":"406",sentence:"Two people who dislike being together are inseparable.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_341"},{"":"407",sentence:"Fingerprints can incriminate a suspect.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_342"},{"":"408",sentence:"Spanish is the predominant language spoken in Mexico.",grade:"7",answer:"TRUE",direction:"right",itemId:"TOSREC_343"},{"":"409",sentence:"Not helping a family whose automobile has broken down is an example of compassion.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_344"},{"":"410",sentence:"A dilapidated building is well maintained.",grade:"7",answer:"FALSE",direction:"left",itemId:"TOSREC_345"},{"":"411",sentence:"There is sand in the desert.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_346"},{"":"412",sentence:"You can play with a toy in the bathtub.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_295"},{"":"413",sentence:"People like to eat dirt for lunch as a snack.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_347"},{"":"414",sentence:"A girl can have a lot of freckles on her face.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_348"},{"":"415",sentence:"You can find starfish in space.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_27"},{"":"416",sentence:"A tortoise is faster than a greyhound.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_136"},{"":"417",sentence:"Most people wear jackets on their feet rather than shoes.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_125"},{"":"418",sentence:"A beagle might bark to warn its owner if it sees a hawk.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_349"},{"":"419",sentence:"A watermelon can be too big for a small boy to lift.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_133"},{"":"420",sentence:"You should invite vultures to a wedding.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_138"},{"":"421",sentence:"Some airplanes fly at a very high altitude.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_184"},{"":"422",sentence:"An envelope can be used as a radio.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_350"},{"":"423",sentence:"If you appreciate a gift very much you should tell the person who gave it to you.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_351"},{"":"424",sentence:"Some of our ancestors were born and lived in prehistoric times.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_303"},{"":"425",sentence:"A plumber should be called right away if your automobile breaks down.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_352"},{"":"426",sentence:"A celebrity might be asked for her autograph.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_263"},{"":"427",sentence:'Getting an "A" on an important test would devastate most students.',grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_353"},{"":"428",sentence:"A bachelor is someone who has been married all of his adult life.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_354"},{"":"429",sentence:"A parent might ask a daughter to buckle her seat belt to protect her in an accident.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_355"},{"":"430",sentence:"An automatic decision is one that requires a lot of thought.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_308"},{"":"431",sentence:"People who go fishing sometimes exaggerate the size of the fish they catch.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_356"},{"":"432",sentence:"The main problem with having a famine is overly abundant food to eat.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_316"},{"":"433",sentence:"A disinfectant is useful for killing some germs that can cause illness.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_315"},{"":"434",sentence:"Most people wear ancient pyramids on their wrists for predicting weather.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_281"},{"":"435",sentence:"One way to find a solution to a disagreement is to look for a compromise.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_314"},{"":"436",sentence:"Hotels are one form of accommodation for people taking trips.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_357"},{"":"437",sentence:"If too much rain accumulates, severe flooding can damage houses.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_358"},{"":"438",sentence:"Clam chowder is made from various spiders, peanuts, and several kinds of insects.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_329"},{"":"439",sentence:"A criminal standing trial will be very happy if the jury acquits him.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_359"},{"":"440",sentence:"It can be difficult to move large appliances such as stoves or refrigerators.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_360"},{"":"441",sentence:"A computer works best if it is thrown from the top floor of a tall building during a major thunderstorm.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_330"},{"":"442",sentence:"A leaf falling from a tree will endanger most every resident in a city.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_333"},{"":"443",sentence:"With high gasoline prices, a small automobile can be more economical to drive than a large truck.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_361"},{"":"444",sentence:"A substantial dinner consists of one potato chip.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_362"},{"":"445",sentence:"If you are taking a multiple-choice test, it can be helpful to eliminate answers that you know are wrong.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_363"},{"":"446",sentence:"Very little stamina is required for running a distance of twenty miles.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_364"},{"":"447",sentence:"Milk is pasteurized to change its color from purple to orange and to make it fit into a milk carton.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_365"},{"":"448",sentence:"If you hear thunder, keeping away from tall trees can reduce the chance of being electrocuted.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_366"},{"":"449",sentence:"The purpose of the population census is to count the number of rainy days every month.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_327"},{"":"450",sentence:"If a painting by a famous artist turns out to be a forgery, its value is likely to be much less.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_367"},{"":"451",sentence:"If a traffic light quits working, two cars could get into an accident at an intersection.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_368"},{"":"452",sentence:"An old cat sleeping on a pillow in front of a sunny window is highly energetic.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_369"},{"":"453",sentence:"It helps to be logical if you are trying to convince someone with an effective argument.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_370"},{"":"454",sentence:"A firefighter pours gasoline on a fire to extinguish it.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_371"},{"":"455",sentence:"Mythology refers to true stories of events that happened.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_372"},{"":"456",sentence:"A spendthrift can usually be counted on to spend money for lavish entertainment.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_373"},{"":"457",sentence:"The abolition of slavery resulted in changes for the South.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_374"},{"":"458",sentence:"An adversary is someone who takes your side in any argument.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_375"},{"":"459",sentence:"Some citizens who cannot vote because they are away are able to vote by absentee ballot.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_376"},{"":"460",sentence:"If you want to be friends with someone, the best way is to antagonize the person continuously.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_377"},{"":"461",sentence:"A football game that ends with a tie score of fourteen to fourteen is an example of a decisive victory.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_293"},{"":"462",sentence:"Some criminals have an accomplice who accompanies them.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_291"},{"":"463",sentence:"Libraries prefer that all people be delinquent in returning books.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_292"},{"":"464",sentence:"Supporters denounce the candidate they are working for rather than the opponent.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_378"},{"":"465",sentence:"Police officers try to apprehend criminals and to prevent crime.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_379"},{"":"466",sentence:"Drinking a glass of water leads to immediate, extreme discomfort for most people.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_380"},{"":"467",sentence:"Bleach is sometimes used in washing machines to remove difficult stains from very dirty clothes.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_294"},{"":"468",sentence:"An arrogant person may not be liked by others because he conveys the impression that he is better than they are.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_381"},{"":"469",sentence:"Most parents will disapprove if their children earn perfect scores on a difficult and important test.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_290"},{"":"470",sentence:"Turning on a light switch almost always results in disastrous consequences.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_382"},{"":"471",sentence:"Seeds germinate when conditions are suitable.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_383"},{"":"472",sentence:"Being open to different opinions and ideas is the key characteristic of an intolerant individual.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_384"},{"":"473",sentence:"Guerillas are tiny invertebrates that live under water.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_385"},{"":"474",sentence:"Spanish is the predominant language spoken in Mexico.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_343"},{"":"475",sentence:"A blood transfusion might be necessary in an operation.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_386"},{"":"476",sentence:"An inaccessible mountain is easily reached.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_387"},{"":"477",sentence:"A cumulative grade-point average never changes.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_388"},{"":"478",sentence:"An inevitable event is unlikely to occur.",grade:"8",answer:"FALSE",direction:"left",itemId:"TOSREC_389"},{"":"479",sentence:"Your passport might be scrutinized if you seem suspicious when returning from visiting a foreign country.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_390"},{"":"480",sentence:"After an operation, it may take months to recuperate completely.",grade:"8",answer:"TRUE",direction:"right",itemId:"TOSREC_391"}],corpusAI:[{sentence:"Children grow as they get older.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_1"},{sentence:"A freezer keeps food frozen.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_2"},{sentence:"Children play in the playground.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_3"},{sentence:"A farmer grows food.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_4"},{sentence:"A nap helps us rest.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_5"},{sentence:"Babies cry when they are upset.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_6"},{sentence:"A seashell comes from the sea.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_7"},{sentence:"A house is a place to live.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_8"},{sentence:"A mountain is tall and rocky.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_9"},{sentence:"A pond has water and fish.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_10"},{sentence:"A kitten is a baby cat.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_11"},{sentence:"Animals live in the zoo.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_12"},{sentence:"A beach has sand and water.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_13"},{sentence:"Flowers need water to grow.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_14"},{sentence:"A spoon helps us eat soup.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_15"},{sentence:"A swing goes back and forth.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_16"},{sentence:"Mail is eaten by mail carriers.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_17"},{sentence:"We use our stomach to digest food.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_18"},{sentence:"A telephone helps us talk.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_19"},{sentence:"Most birds lay potatoes.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_20"},{sentence:"A turtle has a shell.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_21"},{sentence:"Ice cream is cold and sweet.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_22"},{sentence:"The moon comes out at night.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_23"},{sentence:"We cut paper with scissors.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_24"},{sentence:"Apples grow on trees.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_25"},{sentence:"A stapler keeps papers together.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_26"},{sentence:"People use umbrellas in the rain.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_27"},{sentence:"Snowflakes are black and rough.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_28"},{sentence:"People use their eyes to see.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_29"},{sentence:"Babies drink milk.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_30"},{sentence:"A boat floats on water.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_31"},{sentence:"A baby learns to crawl.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_32"},{sentence:"A pancake is round and flat.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_33"},{sentence:"Fish have wings.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_34"},{sentence:"Birds swim in the sky.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_35"},{sentence:"Snow is warm and white.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_36"},{sentence:"A horse can run fast.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_37"},{sentence:"A stove cooks our food.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_38"},{sentence:"Doctors help us when we are sick.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_39"},{sentence:"People wear hats on their feet.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_40"},{sentence:"A pillow is soft and fluffy.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_41"},{sentence:"An adult is a grown-up.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_42"},{sentence:"A squirrel has a bushy tail.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_43"},{sentence:"Dogs meow and retract their tails.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_44"},{sentence:"Birds crawl high in the sky.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_45"},{sentence:"Rain is made of syrup.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_46"},{sentence:"Sheep have thick wool.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_47"},{sentence:"Whales live in the ocean.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_48"},{sentence:"Puppies are baby dogs.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_49"},{sentence:"The ocean is large and deep.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_50"},{sentence:"We sleep at night to rest.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_51"},{sentence:"People wear gloves on their feet.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_52"},{sentence:"Roads have cotton candy and unicorns.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_53"},{sentence:"Hamsters swim on wheels.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_54"},{sentence:"Dogs like to bark and play.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_55"},{sentence:"Sunscreen protects us from the sun.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_56"},{sentence:"People use money to buy things.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_57"},{sentence:"Octopuses have two arms.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_58"},{sentence:"Puzzles have one piece.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_59"},{sentence:"Pumpkins are blue and square.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_60"},{sentence:"A bed is for sleeping.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_61"},{sentence:"People laugh when something is funny.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_62"},{sentence:"A candle gives us light.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_63"},{sentence:"A bike has pedals.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_64"},{sentence:"Animals need food to live.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_65"},{sentence:"A wallet holds money.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_66"},{sentence:"We eat breakfast in the morning.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_67"},{sentence:"Squirrels live underwater.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_68"},{sentence:"Many animals live in the forest.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_69"},{sentence:"A teacher helps us learn.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_70"},{sentence:"Glasses help people see better.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_71"},{sentence:"Gardens are where people grow skyscrapers, vehicles, and statues.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_72"},{sentence:"A suitcase carries our clothes.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_73"},{sentence:"Light bulbs make darkness.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_74"},{sentence:"A car has four wheels.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_75"},{sentence:"Toothpaste helps to clean teeth.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_76"},{sentence:"A square has nine sides.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_77"},{sentence:"Trains run on clouds.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_78"},{sentence:"People write with hammers.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_79"},{sentence:"The sun shines during the day.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_80"},{sentence:"A peach is fuzzy and sweet.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_81"},{sentence:"We sweep floors with a broom.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_82"},{sentence:"Colors make things smell funny.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_83"},{sentence:"Rabbits have long ears.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_84"},{sentence:"We eat dinner in the evening.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_85"},{sentence:"Everyone has a purple unicorn.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_86"},{sentence:"A baby bottle has a tail.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_87"},{sentence:"Birds make nests for their eggs.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_88"},{sentence:"People wear swimsuits for swimming.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_89"},{sentence:"Mushrooms grow in damp areas.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_90"},{sentence:"Wheels are square and roll.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_91"},{sentence:"Ants are huge and weak.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_92"},{sentence:"A triangle has ten sides.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_93"},{sentence:"Oranges are blue and square.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_94"},{sentence:"It is dark at night.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_95"},{sentence:"We drink water when we're thirsty.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_96"},{sentence:"A shirt covers our body.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_97"},{sentence:"Baking bread makes the house smell good.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_98"},{sentence:"The sun rises in the morning.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_99"},{sentence:"Shoes go on your hands.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_100"},{sentence:"Socks keep your feet cold.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_101"},{sentence:"Cars float on water.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_102"},{sentence:"People smile when they're happy.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_103"},{sentence:"Plants need sunlight to grow.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_104"},{sentence:"Squirrels eat clouds.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_105"},{sentence:"Sharks have sharp teeth.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_106"},{sentence:"A lion whispers softly.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_107"},{sentence:"Numbers prevent us from counting things.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_108"},{sentence:"Books have pages with salsa.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_109"},{sentence:"A brick is made from butter.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_110"},{sentence:"People wear clothes every day.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_111"},{sentence:"Letters make soup for reading.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_112"},{sentence:"Hot air balloons dig down.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_113"},{sentence:"A pig is pink and plump.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_114"},{sentence:"We take baths to get clean.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_115"},{sentence:"Butter is made from water.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_116"},{sentence:"Zebras have polka-dotted stripes.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_117"},{sentence:"A tree has a trunk.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_118"},{sentence:"A year has four seasons.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_119"},{sentence:"Feet have no toes.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_120"},{sentence:"People have spaghetti on their heads.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_121"},{sentence:"Bread is made from flour.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_122"},{sentence:"Buttons help clean clothes.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_123"},{sentence:"People use their hands to clap.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_124"},{sentence:"Chocolate comes from pickle jars.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_125"},{sentence:"People sleep on ceilings.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_126"},{sentence:"Everyone has an alien spaceship.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_127"},{sentence:"Bees make honey in hives.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_128"},{sentence:"Strawberry is a red fruit.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_129"},{sentence:"Toys are for staring at.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_130"},{sentence:"A sandwich is for skiing.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_131"},{sentence:"The desert is hot and dry.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_132"},{sentence:"We walk on the sidewalk.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_133"},{sentence:"Sidewalks are for driving.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_134"},{sentence:"Turtles can fly in their shells.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_135"},{sentence:"A nose smells music.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_136"},{sentence:"Birds can swim underground.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_137"},{sentence:"A picture can grow carrots.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_138"},{sentence:"A beach has ice and lava.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_139"},{sentence:"A lock keeps things safe.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_140"},{sentence:"A dog is a good friend to people.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_141"},{sentence:"Mirrors show cartoons.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_142"},{sentence:"A comb is used on hair.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_143"},{sentence:"People wear sunglasses in sunlight.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_144"},{sentence:"Skies can be solid or liquid.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_145"},{sentence:"Pets are living things we care for.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_146"},{sentence:"We all live on Earth.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_147"},{sentence:"Chairs have no legs.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_148"},{sentence:"A frog flies and sinks.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_149"},{sentence:"Pencils are for drawing and writing.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_150"},{sentence:"Blankets make us shiver.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_151"},{sentence:"Music makes people sleep.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_152"},{sentence:"Squirrels are giant creatures that gather rocks to eat.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_153"},{sentence:"Cows give us soda to drink.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_154"},{sentence:"Corn grows in a field.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_155"},{sentence:"Telephone conversations prevent people from talking at all.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_156"},{sentence:"Drums make loud sounds.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_157"},{sentence:"Most people have twelve legs.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_158"},{sentence:"A fish has fins.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_159"},{sentence:"Books have no pages or words.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_160"},{sentence:"A cake is sweet and yummy.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_161"},{sentence:"Lollipops are vegetables on a stick.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_162"},{sentence:"People use ears to hear.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_163"},{sentence:"A plate holds our food.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_164"},{sentence:"A button waters plants.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_165"},{sentence:"Birds have scales and wheels.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_166"},{sentence:"Bananas are yellow when ripe.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_167"},{sentence:"Stars are invisible at night.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_168"},{sentence:"We wear belts to loosen pants.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_169"},{sentence:"We say hello to greet people.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_170"},{sentence:"Rain wets the ground.",answer:"TRUE",direction:"right",difficulty:"easy",itemId:"ai_171"},{sentence:"Shoes always have wheels.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_172"},{sentence:"Paper comes from clouds.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_173"},{sentence:"A deer has wings.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_174"},{sentence:"Sunsets are white and gray.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_175"},{sentence:"Paintbrushes help you dance.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_176"},{sentence:"Skies are yellow on sunny days.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_177"},{sentence:"Bears can sing all winter.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_178"},{sentence:"Jet planes crawl slowly.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_179"},{sentence:"Snakes fly in the sky.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_180"},{sentence:"Insects have no legs.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_181"},{sentence:"Bears are tiny and weak.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_182"},{sentence:"A stove is for swimming.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_183"},{sentence:"Fire is cold and safe.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_184"},{sentence:"Grass is purple and hides inside.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_185"},{sentence:"Frogs paint in the pond.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_186"},{sentence:"Monkeys are serious animals that swim underwater using their tails.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_187"},{sentence:"Picnics are underground with televisions.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_188"},{sentence:"Lambs are baby camels.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_189"},{sentence:"Oceans are full of sugar water.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_190"},{sentence:"Teachers work in submarines.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_191"},{sentence:"Our hearts beat outside our chest.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_192"},{sentence:"Water boils when it's cold.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_193"},{sentence:"A shirt has wheels.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_194"},{sentence:"Most animals have propellers.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_195"},{sentence:"Tadpoles grow into trees.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_196"},{sentence:"Crayons are used for building houses.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_197"},{sentence:"Kangaroos can't jump at all.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_198"},{sentence:"Lizards live in the sky.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_199"},{sentence:"Dolphins reside in the desert.",answer:"FALSE",direction:"left",difficulty:"easy",itemId:"ai_200"}],corpusAIV1P1:[{sentence:"A flag hangs from a pole.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_1"},{sentence:"Snowflakes fall in the summer.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_2"},{sentence:"Airplanes fly in the air.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_3"},{sentence:"Walruses have tiny teeth and live in tropical environments.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_4"},{sentence:"Owls cannot turn their heads.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_5"},{sentence:"Roads have signs and lights.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_6"},{sentence:"We breathe in air all the time.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_7"},{sentence:"A gift is wrapped with love.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_8"},{sentence:"Rainbows show only one color.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_9"},{sentence:"A car has ten wheels.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_10"},{sentence:"Cameras drink pictures.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_11"},{sentence:"Oceans are full of salt water.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_12"},{sentence:"People sleep in beds.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_13"},{sentence:"Everyone dislikes all colors.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_14"},{sentence:"Sharks have sharp teeth.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_15"},{sentence:"Flags have no colors.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_16"},{sentence:"Cars float on water.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_17"},{sentence:"Cakes are salty.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_18"},{sentence:"Horses can run fast.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_19"},{sentence:"A telephone helps us walk.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_20"},{sentence:"Everyone has a voice.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_21"},{sentence:"A seashell comes from the forest.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_22"},{sentence:"A house is a place to live.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_23"},{sentence:"We wear jackets in the cold.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_24"},{sentence:"People need sleep every day.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_25"},{sentence:"Ants work together.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_26"},{sentence:"A lock eats things safe.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_27"},{sentence:"Toys are for playing with.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_28"},{sentence:"A pillow is soft and fluffy.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_29"},{sentence:"Dolphins can jump out of a volcano.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_30"},{sentence:"A whale is a small land creature.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_31"},{sentence:"People use sand to buy things.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_32"},{sentence:"Monkeys climb trees.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_33"},{sentence:"People walk, run, and jump to move and get exercise.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_34"},{sentence:"Bees ignore honey and don't help flowers by carrying pollen.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_35"},{sentence:"Children go to school to levitate.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_36"},{sentence:"Hamsters swim on wheels.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_37"},{sentence:"Teachers work in schools.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_38"},{sentence:"A watch dances the time.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_39"},{sentence:"A baby learns to crawl.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_40"},{sentence:"No one has feelings.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_41"},{sentence:"Hands can hold things.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_42"},{sentence:"Pumpkins grow in the spring.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_43"},{sentence:"Families live together.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_44"},{sentence:"Yawns show we are hungry.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_45"},{sentence:"A triangle has ten sides.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_46"},{sentence:"Pets are living things we care for.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_47"},{sentence:"Hammers are for playing piano.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_48"},{sentence:"The moon can be seen at night and changes in shape.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_49"},{sentence:"Wind can make things invisible.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_50"},{sentence:"Mountains are very short.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_51"},{sentence:"People speak different languages.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_52"},{sentence:"A fan keeps us cool.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_53"},{sentence:"Streets are for walking and driving.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_54"},{sentence:"Lions are big cats.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_55"},{sentence:"Puppies and kittens grow into adult dogs and cats.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_56"},{sentence:"People walk on their hands.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_57"},{sentence:"A ruler cooks things.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_58"},{sentence:"Kangaroos can jump far.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_59"},{sentence:"The ocean is microscopic.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_60"},{sentence:"The park is for playing.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_61"},{sentence:"We say goodbye when we leave.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_62"},{sentence:"Skies can be blue or gray.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_63"},{sentence:"Sunscreen attracts the sun.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_64"},{sentence:"Bananas are blue when ripe.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_65"},{sentence:"Zebras have black and white stripes.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_66"},{sentence:"Babies need milk, love, and care as they grow into children.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_67"},{sentence:"Animals like turtles, snakes, and lizards are called mammals.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_68"},{sentence:"A peach is fuzzy and sweet.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_69"},{sentence:"Leaves fall from trees.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_70"},{sentence:"Doors dissolve and reappear.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_71"},{sentence:"Pencils can help you swim.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_72"},{sentence:"People use maps to find places.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_73"},{sentence:'A train goes "meow meow."',answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_74"},{sentence:"People talk with their elbows.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_75"},{sentence:"People learn from their mistakes.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_76"},{sentence:"You can hear a song.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_77"},{sentence:"Dogs like to bark and play.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_78"},{sentence:"The sun sets in the morning.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_79"},{sentence:"Raincoats keep us dry.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_80"},{sentence:"We eat our teeth every day.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_81"},{sentence:"Milk comes from rocks.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_82"},{sentence:"Planets repel the sun.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_83"},{sentence:"People write with hammers.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_84"},{sentence:"A shoe doesn't have a sole.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_85"},{sentence:"We drink out of hats.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_86"},{sentence:"Lambs are baby camels.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_87"},{sentence:"Children learn from adults.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_88"},{sentence:"A boat has a sail.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_89"},{sentence:"Everyone has a favorite color.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_90"},{sentence:"All people eat rainbows.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_91"},{sentence:"A deer has wings.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_92"},{sentence:"A bus takes people places.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_93"},{sentence:"Eggs come from fish.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_94"},{sentence:"Rabbits have soft fur.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_95"},{sentence:"We wear shoes to know time.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_96"},{sentence:"Paper can be folded.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_97"},{sentence:"Jellyfish are land creatures with short arms that can high-five.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_98"},{sentence:"Ice is boiling water.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_99"},{sentence:"An adult is a grown-up.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_100"},{sentence:"Squirrels live underwater.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_101"},{sentence:"Friends help each other.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_102"},{sentence:"Elephants are large animals with big ears and a long trunk.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_103"},{sentence:"Orange juice comes from oranges.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_104"},{sentence:"Children shrink as they get older.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_105"},{sentence:"A kitten is a baby elephant.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_106"},{sentence:"Sheep have thick wool.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_107"},{sentence:"People have different height.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_108"},{sentence:"Straws help us listen to music.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_109"},{sentence:"A giraffe has a long neck.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_110"},{sentence:"We wake up in the evening.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_111"},{sentence:"Turtles can fly in their shells.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_112"},{sentence:"Music cannot be played on instruments like drums, guitars, and pianos.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_113"},{sentence:"A bee can knit.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_114"},{sentence:"A pig is blue and thin.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_115"},{sentence:"A computer hinders our work.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_116"},{sentence:"People wear glasses to help them hear more clearly.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_117"},{sentence:"People of all ages can enjoy spending time with animals.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_118"},{sentence:"Shoes always have wheels.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_119"},{sentence:"Fire is hot and burns.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_120"},{sentence:"Kids put on backpacks for school.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_121"},{sentence:"We use keys to open doors.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_122"},{sentence:"The sky is yellow.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_123"},{sentence:"Chickens lay marbles for us to eat.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P1_124"},{sentence:"All people need love and care.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_125"},{sentence:"Books are for reading and learning.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_126"},{sentence:"A mountain is tall and rocky.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_127"},{sentence:"Buttons help close clothes.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_128"},{sentence:"Water is wet and we need it to stay healthy.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_129"},{sentence:"Apples can be red, green, or yellow.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P1_130"}],corpusAIV1P2:[{sentence:"Ants are small.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_1"},{sentence:"All kids shrink.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_2"},{sentence:"The sun rises every day.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_3"},{sentence:"People use phones to swim.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_4"},{sentence:"Balloons can be filled with rocks.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_5"},{sentence:"People turn pages to read books.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_6"},{sentence:"We say thank you to be polite.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_7"},{sentence:"Everyone feels sad sometimes.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_8"},{sentence:"Ducks dislike swimming.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_9"},{sentence:"Bicycles have thirty wheels and make people invisible.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_10"},{sentence:"A pillow is for swimming.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_11"},{sentence:"Water is wet and clear.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_12"},{sentence:"The sky is blue.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_13"},{sentence:"A wallet holds vegetables.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_14"},{sentence:"Mountains are very tall.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_15"},{sentence:"Rubber bands cannot stretch.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_16"},{sentence:"Most flowers emit invisible smoke.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_17"},{sentence:"A refrigerator warms food.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_18"},{sentence:"All people have a name.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_19"},{sentence:"Corn grows in a volcano.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_20"},{sentence:"Cakes are sweet.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_21"},{sentence:"Mice have giant tails.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_22"},{sentence:"A kitten is a baby cat.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_23"},{sentence:"A doorbell rings when pressed.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_24"},{sentence:"Everyone likes to feel loved.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_25"},{sentence:"Families can have pets.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_26"},{sentence:"A chair is for people to hover.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_27"},{sentence:"Kangaroos are animals with strong legs and can hop very far.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_28"},{sentence:"Showers are for getting clean.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_29"},{sentence:"People use maps to eat food.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_30"},{sentence:"Books have no pages.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_31"},{sentence:"Deserts are icy and snowy places with constant rainfall.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_32"},{sentence:"Fish breathe through gills.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_33"},{sentence:"People walk, run, and jump to move and get exercise.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_34"},{sentence:"Streets are for swimming and flying.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_35"},{sentence:"A ball is flat and sticks.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_36"},{sentence:"A fence generates electricity.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_37"},{sentence:"We wear belts to hold pants up.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_38"},{sentence:"Jellyfish cannot sting.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_39"},{sentence:"We ride bikes for fun or exercise.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_40"},{sentence:"Lollipops are vegetables on a stick.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_41"},{sentence:"People live in houses.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_42"},{sentence:"A year has eleven months.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_43"},{sentence:"Children go to school.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_44"},{sentence:"Monkeys run underground.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_45"},{sentence:"People wear sandals when it's cold.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_46"},{sentence:"Children like singing songs.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_47"},{sentence:"Insects have no legs.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_48"},{sentence:"Shoes can have laces or straps.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_49"},{sentence:"You have to swallow a door.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_50"},{sentence:"Water boils when it's cold.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_51"},{sentence:"People brush their teeth.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_52"},{sentence:"Children often take turns during games or sharing toys.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_53"},{sentence:"Rivers, lakes, and oceans are large bodies of water.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_54"},{sentence:"Puppies are baby dogs.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_55"},{sentence:"People use money to buy things.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_56"},{sentence:"Fish drive cars and have wheels and headlights.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_57"},{sentence:"Snakes fly in the sky.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_58"},{sentence:"Seashells come in many shapes and colors and can be found at the beach.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_59"},{sentence:"MAIL gets buried under houses.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_60"},{sentence:"Windows let light in.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_61"},{sentence:"Gifts are given on special occasions like birthdays and holidays.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_62"},{sentence:"Horses can run and carry people or things on their backs.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_63"},{sentence:"People clap their feet.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_64"},{sentence:"Crayons are used for building houses.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_65"},{sentence:"Hands can hold objects.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_66"},{sentence:"Farm animals like cows, pigs, and chickens provide us with food.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_67"},{sentence:"The ocean is small and shallow.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_68"},{sentence:"Children play in the playground.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_69"},{sentence:"Most people have two legs.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_70"},{sentence:"We use napkins to paint our faces.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_71"},{sentence:"Telephone conversations prevent people from talking at all.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_72"},{sentence:"We eat dinner in the evening.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_73"},{sentence:"A turtle has a cape.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_74"},{sentence:"Ropes are used for eating.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_75"},{sentence:"Vaccines help to protect us.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_76"},{sentence:"Children take naps during the day to rest and recharge.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_77"},{sentence:"A teacher helps us learn.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_78"},{sentence:"Zebras have polka dots and live underground.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_79"},{sentence:"Plants need water and sunlight.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_80"},{sentence:"Dogs plant flowers.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_81"},{sentence:"Apples can be blue and grow underground.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_82"},{sentence:"Beds are for dancing.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_83"},{sentence:"We drink from hats.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_84"},{sentence:"Ants are gigantic.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_85"},{sentence:"Rainbows have one color.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_86"},{sentence:"Penguins can fly.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_87"},{sentence:"Dogs can bark.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_88"},{sentence:"We cook food in ovens.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_89"},{sentence:"The sun sets every evening.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_90"},{sentence:"Birds have scales.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_91"},{sentence:"Whales are reptiles.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_92"},{sentence:"We put on pajamas before bed.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_93"},{sentence:"Bears are tiny and weak.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_94"},{sentence:"Music can be played on instruments like drums, guitars, and pianos.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_95"},{sentence:"Children play in the stratosphere.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_96"},{sentence:"Airplanes fly in the sky.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_97"},{sentence:"We eat with telekinesis.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_98"},{sentence:"Ice cream is hot and sour.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_99"},{sentence:"Pizzas have different toppings.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_100"},{sentence:"Butterflies start as rocks.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_101"},{sentence:"You go to sleep at night.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_102"},{sentence:"A car horn honks loudly.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_103"},{sentence:"Frogs are green and can jump and swim in water.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_104"},{sentence:"Cats have wheels.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_105"},{sentence:"A caterpillar becomes a rhino.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_106"},{sentence:"People laugh when things are funny.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_107"},{sentence:"People have different hair colors.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_108"},{sentence:"The moon can't be seen at night and stays in one shape.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_109"},{sentence:"People talk with their mouths.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_110"},{sentence:"People need to levitate.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_111"},{sentence:"People eat rocks to live.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_112"},{sentence:"Bread is a rare food.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_113"},{sentence:"We walk with our hands.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_114"},{sentence:"Snowflakes are black and rough.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_115"},{sentence:"Trains swim on train tracks.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_116"},{sentence:"A train goes on roads.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_117"},{sentence:"The seasons are spring, summer, autumn, and winter, each with unique features.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_118"},{sentence:"Elephants are blue and small.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_119"},{sentence:"People feel hot in the sun.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_120"},{sentence:"Strawberry is a red fruit.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_121"},{sentence:"Doctors help us when we are sick.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_122"},{sentence:"We all live on Mars.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_123"},{sentence:"Drums produce images when hit.",answer:"FALSE",direction:"left",difficulty:"",itemId:"aiV1P2_124"},{sentence:"Blankets are for snuggling.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_125"},{sentence:"Fruits and vegetables help our bodies to grow and stay strong.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_126"},{sentence:"A doll can be fun to play with.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_127"},{sentence:"Parents take care of children.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_128"},{sentence:"People drink water when thirsty.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_129"},{sentence:"Cats meow and purr when happy.",answer:"TRUE",direction:"right",difficulty:"",itemId:"aiV1P2_130"}],corpusAIV2Testset:[{"":"1",sentence:"A chef works at a restaurant.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-1-1",testsetId:"1"},{"":"2",sentence:"Birds like to build nests.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-1-2",testsetId:"1"},{"":"3",sentence:"Oceans are always dry.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-1-3",testsetId:"1"},{"":"4",sentence:"Apples are a type of vegetable.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-1-4",testsetId:"1"},{"":"5",sentence:"Ducks enjoy swimming in the pond.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-1-5",testsetId:"1"},{"":"6",sentence:"Schools are built on clouds.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-1-6",testsetId:"1"},{"":"7",sentence:"Artists paint beautiful paintings.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-1-7",testsetId:"1"},{"":"8",sentence:"Dogs bark at strangers.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-1-8",testsetId:"1"},{"":"9",sentence:"The color of a banana is yellow.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-1-9",testsetId:"1"},{"":"10",sentence:"Sunglasses are useful for keeping people dry when it snows.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-1-10",testsetId:"1"},{"":"11",sentence:"Horses enjoy galloping freely.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-1-11",testsetId:"1"},{"":"12",sentence:"A tiger is a bird.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-1-12",testsetId:"1"},{"":"13",sentence:"Tigers enjoy knitting sweaters.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-1-13",testsetId:"1"},{"":"14",sentence:"Lamp-posts love to eat spaghetti.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-1-14",testsetId:"1"},{"":"15",sentence:"Schools are floating in the air.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-2-1",testsetId:"2"},{"":"16",sentence:"Sandwiches sprout on bushes.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-2-2",testsetId:"2"},{"":"17",sentence:"Bikes have two wheels.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-2-3",testsetId:"2"},{"":"18",sentence:"Butterflies have beautiful, colorful wings.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-2-4",testsetId:"2"},{"":"19",sentence:"A watch goes on your foot.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-2-5",testsetId:"2"},{"":"20",sentence:"A chair has four legs.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-2-6",testsetId:"2"},{"":"21",sentence:"Cats can speak French.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-2-7",testsetId:"2"},{"":"22",sentence:"Trees love drawing with green crayons.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-2-8",testsetId:"2"},{"":"23",sentence:"A librarian works in a library.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-2-9",testsetId:"2"},{"":"24",sentence:"Cakes are yummy desserts.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-2-10",testsetId:"2"},{"":"25",sentence:"Cities can be very busy places with many people.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-2-11",testsetId:"2"},{"":"26",sentence:"Rain is sand that falls from clouds in the sky.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-2-12",testsetId:"2"},{"":"27",sentence:"Books are made of many pages.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-2-13",testsetId:"2"},{"":"28",sentence:"A bell can jump higher than mountains.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-2-14",testsetId:"2"},{"":"29",sentence:"Robots are machines that can do tasks automatically.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-3-1",testsetId:"3"},{"":"30",sentence:"Corn grows tall in the field.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-3-2",testsetId:"3"},{"":"31",sentence:"Heat comes from icebergs.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-3-3",testsetId:"3"},{"":"32",sentence:"Flowers have petals.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-3-4",testsetId:"3"},{"":"33",sentence:"Roads love to color with black crayons.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-3-5",testsetId:"3"},{"":"34",sentence:"My shoes love to bake bread.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-3-6",testsetId:"3"},{"":"35",sentence:"Lots of pilots work in bakeries.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-3-7",testsetId:"3"},{"":"36",sentence:"A lamp can be very bright.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-3-8",testsetId:"3"},{"":"37",sentence:"Gloves can keep your hands warm.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-3-9",testsetId:"3"},{"":"38",sentence:"Humans have two fingers.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-3-10",testsetId:"3"},{"":"39",sentence:"Beds love to swim.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-3-11",testsetId:"3"},{"":"40",sentence:"Giraffes are tall animals.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-3-12",testsetId:"3"},{"":"41",sentence:"Books are round.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-3-13",testsetId:"3"},{"":"42",sentence:"If a sign says 'no entry', you shouldn't go that way.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-3-14",testsetId:"3"},{"":"43",sentence:"Summer is a part of the annual cycle.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-4-1",testsetId:"4"},{"":"44",sentence:"Butterflies are larger than buildings.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-4-2",testsetId:"4"},{"":"45",sentence:"A compass points north.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-4-3",testsetId:"4"},{"":"46",sentence:"Trees often grow in a forest.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-4-4",testsetId:"4"},{"":"47",sentence:"Fish enjoy climbing trees.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-4-5",testsetId:"4"},{"":"48",sentence:"Monkeys like to eat bananas.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-4-6",testsetId:"4"},{"":"49",sentence:"Mountains walk during winter.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-4-7",testsetId:"4"},{"":"50",sentence:"Cars enjoy drinking orange juice.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-4-8",testsetId:"4"},{"":"51",sentence:"We can buy groceries at the supermarket.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-4-9",testsetId:"4"},{"":"52",sentence:"Pizza has beans and jelly on it.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-4-10",testsetId:"4"},{"":"53",sentence:"Fish can sing.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-4-11",testsetId:"4"},{"":"54",sentence:"Clouds swim in the ocean.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-4-12",testsetId:"4"},{"":"55",sentence:"Pet shops are where one can buy pets.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-4-13",testsetId:"4"},{"":"56",sentence:"Letters are used to make words and sentences.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-4-14",testsetId:"4"},{"":"57",sentence:"Dancing for hours can be tiring.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-5-1",testsetId:"5"},{"":"58",sentence:"Paper can be made from trees.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-5-2",testsetId:"5"},{"":"59",sentence:"Some rabbits eat carrots.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-5-3",testsetId:"5"},{"":"60",sentence:"People can wear hats to protect their heads from the sun.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-5-4",testsetId:"5"},{"":"61",sentence:"Raincoats make you freeze.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-5-5",testsetId:"5"},{"":"62",sentence:"Certain penguins drive race cars to school.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-5-6",testsetId:"5"},{"":"63",sentence:"A baby kangaroo is called a puppy.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-5-7",testsetId:"5"},{"":"64",sentence:"A butterfly is a bird.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-5-8",testsetId:"5"},{"":"65",sentence:"Many children play games with toys.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-5-9",testsetId:"5"},{"":"66",sentence:"People trade vegetables for books in most libraries.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-5-10",testsetId:"5"},{"":"67",sentence:"All doors are made of chocolate.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-5-11",testsetId:"5"},{"":"68",sentence:"People usually brush their teeth with toothpaste.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-5-12",testsetId:"5"},{"":"69",sentence:"Some flowers like to sing.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-5-13",testsetId:"5"},{"":"70",sentence:"Elders can be wise.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-5-14",testsetId:"5"},{"":"71",sentence:"Tigers are tiny domestic dogs that are known for their checks.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-6-1",testsetId:"6"},{"":"72",sentence:"Lions regularly jump on trampolines.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-6-2",testsetId:"6"},{"":"73",sentence:"Cookies usually sprout in a desert.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-6-3",testsetId:"6"},{"":"74",sentence:"Summer is a kind of ice cream flavor.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-6-4",testsetId:"6"},{"":"75",sentence:"Some bags have handles.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-6-5",testsetId:"6"},{"":"76",sentence:"Cakes are often eaten at celebrations like birthdays.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-6-6",testsetId:"6"},{"":"77",sentence:"Candy is often sweet to taste.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-6-7",testsetId:"6"},{"":"78",sentence:"Babies can feel sleepy.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-6-8",testsetId:"6"},{"":"79",sentence:"Every book is a butterfly.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-6-9",testsetId:"6"},{"":"80",sentence:"Many people use brushes to style their hair.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-6-10",testsetId:"6"},{"":"81",sentence:"Helicopters enjoy drinking tea.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-6-11",testsetId:"6"},{"":"82",sentence:"Flowers can be found in a garden.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-6-12",testsetId:"6"},{"":"83",sentence:"A lion is a big cat that roars.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-6-13",testsetId:"6"},{"":"84",sentence:"Fish can play golf.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-6-14",testsetId:"6"},{"":"85",sentence:"Apples are tasty fruits that come in many varieties.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-7-1",testsetId:"7"},{"":"86",sentence:"Many individuals brush their teeth before sleeping.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-7-2",testsetId:"7"},{"":"87",sentence:"Students get recognition when they excel in their studies.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-7-3",testsetId:"7"},{"":"88",sentence:"Most people dig holes with spoons.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-7-4",testsetId:"7"},{"":"89",sentence:"Stones love to move around.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-7-5",testsetId:"7"},{"":"90",sentence:"People can fly by flapping their arms.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-7-6",testsetId:"7"},{"":"91",sentence:"Houses have doors.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-7-7",testsetId:"7"},{"":"92",sentence:"Houses can walk.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-7-8",testsetId:"7"},{"":"93",sentence:"Hats grow on trees.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-7-9",testsetId:"7"},{"":"94",sentence:"Some children go to art classes.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-7-10",testsetId:"7"},{"":"95",sentence:"Babies can cry often.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-7-11",testsetId:"7"},{"":"96",sentence:"Snow is warm.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-7-12",testsetId:"7"},{"":"97",sentence:"Firefighters put out fires while on duty.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-7-13",testsetId:"7"},{"":"98",sentence:"Dogs are fond of chewing bones.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-7-14",testsetId:"7"},{"":"99",sentence:"Birds often nest in trees.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-8-1",testsetId:"8"},{"":"100",sentence:"An earthquake can be very calming.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-8-2",testsetId:"8"},{"":"101",sentence:"Some birds can fly.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-8-3",testsetId:"8"},{"":"102",sentence:"A triangle is round.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-8-4",testsetId:"8"},{"":"103",sentence:"Bicycles are often made of steel.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-8-5",testsetId:"8"},{"":"104",sentence:"Fish typically use hammers to build things.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-8-6",testsetId:"8"},{"":"105",sentence:"Cycling is an activity that you do with a pen.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-8-7",testsetId:"8"},{"":"106",sentence:"Some trees have branches.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-8-8",testsetId:"8"},{"":"107",sentence:"Wallets can be used to store money.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-8-9",testsetId:"8"},{"":"108",sentence:"Running shoes help you run faster.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-8-10",testsetId:"8"},{"":"109",sentence:"Windows can be made of cheese.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-8-11",testsetId:"8"},{"":"110",sentence:"Bears listen with their paws.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-8-12",testsetId:"8"},{"":"111",sentence:"Friends can bake cookies together after school.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-8-13",testsetId:"8"},{"":"112",sentence:"Cats often have feathers.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-8-14",testsetId:"8"},{"":"113",sentence:"Most kittens know how to knit.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-9-1",testsetId:"9"},{"":"114",sentence:"Helicopters are flown by rabbits.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-9-2",testsetId:"9"},{"":"115",sentence:"Some books have pictures.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-9-3",testsetId:"9"},{"":"116",sentence:"Belts help to hold pants up.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-9-4",testsetId:"9"},{"":"117",sentence:"Pilots fly planes while on duty.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-9-5",testsetId:"9"},{"":"118",sentence:"Birds usually store books in nests.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-9-6",testsetId:"9"},{"":"119",sentence:"Ice normally feels warm.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-9-7",testsetId:"9"},{"":"120",sentence:"People wear sunglasses to protect their eyes from the sun.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-9-8",testsetId:"9"},{"":"121",sentence:"A motorcycle has two wheels.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-9-9",testsetId:"9"},{"":"122",sentence:"Summer is a type of soda.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-9-10",testsetId:"9"},{"":"123",sentence:"Socks grow in gardens.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-9-11",testsetId:"9"},{"":"124",sentence:"The moon is round.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-9-12",testsetId:"9"},{"":"125",sentence:"Candy is always spicy to taste.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-9-13",testsetId:"9"},{"":"126",sentence:"Turtles have hard shells to protect themselves.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-9-14",testsetId:"9"},{"":"127",sentence:"Most chocolates are white and salty.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-10-1",testsetId:"10"},{"":"128",sentence:"People occasionally eat cookies.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-10-2",testsetId:"10"},{"":"129",sentence:"Shoes can talk.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-10-3",testsetId:"10"},{"":"130",sentence:"Cows lay eggs.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-10-4",testsetId:"10"},{"":"131",sentence:"A dog may wag its tail when happy.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-10-5",testsetId:"10"},{"":"132",sentence:"Ovens are used to make things hot.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-10-6",testsetId:"10"},{"":"133",sentence:"People can talk to rainbows.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-10-7",testsetId:"10"},{"":"134",sentence:"Walnut trees give us oranges.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-10-8",testsetId:"10"},{"":"135",sentence:"Many buildings have chimneys on the roof.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-10-9",testsetId:"10"},{"":"136",sentence:"Dogs have tails.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-10-10",testsetId:"10"},{"":"137",sentence:"Cats enjoy chasing mice.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-10-11",testsetId:"10"},{"":"138",sentence:"Toys can be made of plastic.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-10-12",testsetId:"10"},{"":"139",sentence:"Notebooks wear scarves to keep their papers warm.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-10-13",testsetId:"10"},{"":"140",sentence:"Most people commute to work by broomstick.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-10-14",testsetId:"10"},{"":"141",sentence:"Washing machines clean clothes.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-11-1",testsetId:"11"},{"":"142",sentence:"Lions can be scary.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-11-2",testsetId:"11"},{"":"143",sentence:"Snowflakes enjoy sunbathing.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-11-3",testsetId:"11"},{"":"144",sentence:"Winter is colder than summer.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-11-4",testsetId:"11"},{"":"145",sentence:"Monkeys grow from seeds.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-11-5",testsetId:"11"},{"":"146",sentence:"Stars are commonly made of oranges.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-11-6",testsetId:"11"},{"":"147",sentence:"Dogs are considered man's best friend.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-11-7",testsetId:"11"},{"":"148",sentence:"Sofas love to fly.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-11-8",testsetId:"11"},{"":"149",sentence:"Rivers are typically made of coffee.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-11-9",testsetId:"11"},{"":"150",sentence:"Most folks play board games alone in the dark.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-11-10",testsetId:"11"},{"":"151",sentence:"Many artists use brushes to create art.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-11-11",testsetId:"11"},{"":"152",sentence:"Music can be played with instruments.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-11-12",testsetId:"11"},{"":"153",sentence:"Gorillas can live on rainbows.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-11-13",testsetId:"11"},{"":"154",sentence:"A dessert can be very sweet.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-11-14",testsetId:"11"},{"":"155",sentence:"Mechanics fix cars in garages.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-12-1",testsetId:"12"},{"":"156",sentence:"People always play chess while swimming in the pool.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-12-2",testsetId:"12"},{"":"157",sentence:"Cacti are common residents of the ocean.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-12-3",testsetId:"12"},{"":"158",sentence:"Cats can play piano.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-12-4",testsetId:"12"},{"":"159",sentence:"Windows are used to make things cold.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-12-5",testsetId:"12"},{"":"160",sentence:"People hear with their fingers.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-12-6",testsetId:"12"},{"":"161",sentence:"All fish are scared of swimming.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-12-7",testsetId:"12"},{"":"162",sentence:"Glasses help people to see.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-12-8",testsetId:"12"},{"":"163",sentence:"A kitten can be very playful.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-12-9",testsetId:"12"},{"":"164",sentence:"Babies can drive cars.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-12-10",testsetId:"12"},{"":"165",sentence:"Cats have whiskers.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-12-11",testsetId:"12"},{"":"166",sentence:"Teenagers can play video games on a computer.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-12-12",testsetId:"12"},{"":"167",sentence:"A dog is a mammal that barks.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-12-13",testsetId:"12"},{"":"168",sentence:"Chicks are young chickens.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-12-14",testsetId:"12"},{"":"169",sentence:"Carrots are a kind of vegetable.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-13-1",testsetId:"13"},{"":"170",sentence:"A whale is a bird.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-13-2",testsetId:"13"},{"":"171",sentence:"Snow helps to make things hot.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-13-3",testsetId:"13"},{"":"172",sentence:"People generally wash clothes with detergent.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-13-4",testsetId:"13"},{"":"173",sentence:"A train has a conductor.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-13-5",testsetId:"13"},{"":"174",sentence:"Houses shelter us from the weather.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-13-6",testsetId:"13"},{"":"175",sentence:"Spoons help you to see better.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-13-7",testsetId:"13"},{"":"176",sentence:"Children like to eat ice cream.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-13-8",testsetId:"13"},{"":"177",sentence:"Squares are round.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-13-9",testsetId:"13"},{"":"178",sentence:"Some children like to read books.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-13-10",testsetId:"13"},{"":"179",sentence:"Bells ring to make sound.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-13-11",testsetId:"13"},{"":"180",sentence:"Fishing is an activity that you perform with a car.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-13-12",testsetId:"13"},{"":"181",sentence:"Coffee is always cold.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-13-13",testsetId:"13"},{"":"182",sentence:"Snakes are legged reptiles.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-13-14",testsetId:"13"},{"":"183",sentence:"Books are made of paper.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-14-1",testsetId:"14"},{"":"184",sentence:"Computers love to eat cookies.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-14-2",testsetId:"14"},{"":"185",sentence:"Many people keep their money in a bank.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-14-3",testsetId:"14"},{"":"186",sentence:"Pans are made of metal.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-14-4",testsetId:"14"},{"":"187",sentence:"People wear jackets to keep their bodies warm.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-14-5",testsetId:"14"},{"":"188",sentence:"Swans can swim well and have white feathers.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-14-6",testsetId:"14"},{"":"189",sentence:"Doors love using pink chalk.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-14-7",testsetId:"14"},{"":"190",sentence:"Milk is solid.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-14-8",testsetId:"14"},{"":"191",sentence:"Snakes have four legs.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-14-9",testsetId:"14"},{"":"192",sentence:"Watches should be worn on your elbow.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-14-10",testsetId:"14"},{"":"193",sentence:"Spices make food flavorful.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-14-11",testsetId:"14"},{"":"194",sentence:"Submarines are operated by fish.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-14-12",testsetId:"14"},{"":"195",sentence:"Canes help people to walk.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-14-13",testsetId:"14"},{"":"196",sentence:"A dishwasher is something you can wear like a bracelet.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-14-14",testsetId:"14"},{"":"197",sentence:"Airplanes fly under the ground.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-15-1",testsetId:"15"},{"":"198",sentence:"Cups must have strings.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-15-2",testsetId:"15"},{"":"199",sentence:"Spiders make webs out of silk.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-15-3",testsetId:"15"},{"":"200",sentence:"A pair of glasses is something you can wear.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-15-4",testsetId:"15"},{"":"201",sentence:"A bicycle needs wings to fly.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-15-5",testsetId:"15"},{"":"202",sentence:"People wear scarves to keep their necks warm.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-15-6",testsetId:"15"},{"":"203",sentence:"Plants have feathers.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-15-7",testsetId:"15"},{"":"204",sentence:"Dolphins wear shoes when they swim.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-15-8",testsetId:"15"},{"":"205",sentence:"Butterflies were once pandas.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-15-9",testsetId:"15"},{"":"206",sentence:"Rain makes the ground wet.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-15-10",testsetId:"15"},{"":"207",sentence:"Dogs can be playful.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-15-11",testsetId:"15"},{"":"208",sentence:"Clouds carry umbrellas when it's sunny.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-15-12",testsetId:"15"},{"":"209",sentence:"A mug can be used to drink coffee.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-15-13",testsetId:"15"},{"":"210",sentence:"Babies cry when they are hungry.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-15-14",testsetId:"15"},{"":"211",sentence:"Birds can knit sweaters.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-16-1",testsetId:"16"},{"":"212",sentence:"Bananas grow on plants.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-16-2",testsetId:"16"},{"":"213",sentence:"Mountains are home to sea creatures.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-16-3",testsetId:"16"},{"":"214",sentence:"Elders can feel nostalgic.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-16-4",testsetId:"16"},{"":"215",sentence:"Monkeys can drive cars on the road.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-16-5",testsetId:"16"},{"":"216",sentence:"Frogs can sing opera.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-16-6",testsetId:"16"},{"":"217",sentence:"All panda bears swim in large oceans.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-16-7",testsetId:"16"},{"":"218",sentence:"A book may have a bookmark.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-16-8",testsetId:"16"},{"":"219",sentence:"Spring mornings can be fresh and crisp.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-16-9",testsetId:"16"},{"":"220",sentence:"Lamps enjoy eating shoes.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-16-10",testsetId:"16"},{"":"221",sentence:"Ants are small but strong insects.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-16-11",testsetId:"16"},{"":"222",sentence:"Trees are always purple.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-16-12",testsetId:"16"},{"":"223",sentence:"Posters can hang on the wall.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-16-13",testsetId:"16"},{"":"224",sentence:"The color of grass is green.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-16-14",testsetId:"16"},{"":"225",sentence:"Some people get to work by unicorn.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-17-1",testsetId:"17"},{"":"226",sentence:"A pillow can be extremely fluffy.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-17-2",testsetId:"17"},{"":"227",sentence:"Eggs are laid by cows.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-17-3",testsetId:"17"},{"":"228",sentence:"Trees have ears.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-17-4",testsetId:"17"},{"":"229",sentence:"Cats are living things.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-17-5",testsetId:"17"},{"":"230",sentence:"Jellyfish have feathers and can sing.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-17-6",testsetId:"17"},{"":"231",sentence:"Most children know how to play a game.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-17-7",testsetId:"17"},{"":"232",sentence:"Some pants have pockets.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-17-8",testsetId:"17"},{"":"233",sentence:"Cupboards can sing.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-17-9",testsetId:"17"},{"":"234",sentence:"Trains are a efficient forms of transportation for goods and people.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-17-10",testsetId:"17"},{"":"235",sentence:"Rainbows make the dishes sparkle.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-17-11",testsetId:"17"},{"":"236",sentence:"Friends can play games together after school.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-17-12",testsetId:"17"},{"":"237",sentence:"Cooks always serve diners pizza and ice cream.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-17-13",testsetId:"17"},{"":"238",sentence:"Trees can provide shade on a sunny day.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-17-14",testsetId:"17"},{"":"239",sentence:"Astronauts work at the bottom of the ocean.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-18-1",testsetId:"18"},{"":"240",sentence:"All dogs are brown.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-18-2",testsetId:"18"},{"":"241",sentence:"Birds enjoy flying in the sky.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-18-3",testsetId:"18"},{"":"242",sentence:"Houses can run races.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-18-4",testsetId:"18"},{"":"243",sentence:"Most books are made of paper.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-18-5",testsetId:"18"},{"":"244",sentence:"Several kids are fond of swimming.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-18-6",testsetId:"18"},{"":"245",sentence:"Cats are sleepy animals.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-18-7",testsetId:"18"},{"":"246",sentence:"A pair of socks is something you might wear.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-18-8",testsetId:"18"},{"":"247",sentence:"Books are made of one page.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-18-9",testsetId:"18"},{"":"248",sentence:"Tennis is a game you play with small mint candies.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-18-10",testsetId:"18"},{"":"249",sentence:"A bicycle has two wheels.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-18-11",testsetId:"18"},{"":"250",sentence:"Juices come from rocks.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-18-12",testsetId:"18"},{"":"251",sentence:"Every night is sunny.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-18-13",testsetId:"18"},{"":"252",sentence:"Kids often eat cereal using a spoon.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-18-14",testsetId:"18"},{"":"253",sentence:"Chefs bake cakes in the classroom.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-19-1",testsetId:"19"},{"":"254",sentence:"We feel hot when fire is near.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-19-2",testsetId:"19"},{"":"255",sentence:"Cheese comes from milk and can be enjoyed in many ways.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-19-3",testsetId:"19"},{"":"256",sentence:"Stars shine in the night sky.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-19-4",testsetId:"19"},{"":"257",sentence:"There are red roses.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-19-5",testsetId:"19"},{"":"258",sentence:"Cakes usually grow in the desert.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-19-6",testsetId:"19"},{"":"259",sentence:"Before crossing the street, it's wise to look both ways.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-19-7",testsetId:"19"},{"":"260",sentence:"Money is used to buy goods and services.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-19-8",testsetId:"19"},{"":"261",sentence:"Nurses provide care in hospitals.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-19-9",testsetId:"19"},{"":"262",sentence:"Pizzas grow in soil.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-19-10",testsetId:"19"},{"":"263",sentence:"Stars can be eaten.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-19-11",testsetId:"19"},{"":"264",sentence:"Lions have feathers.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-19-12",testsetId:"19"},{"":"265",sentence:"Books are stored in microwaves.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-19-13",testsetId:"19"},{"":"266",sentence:"Mice are enormous elephants known for their faint roar.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-19-14",testsetId:"19"},{"":"267",sentence:"Pencils love to go swimming.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-20-1",testsetId:"20"},{"":"268",sentence:"Clothes are dried in dishwashers.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-20-2",testsetId:"20"},{"":"269",sentence:"All dogs have wings.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-20-3",testsetId:"20"},{"":"270",sentence:"Most adults know how to use a washing machine.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-20-4",testsetId:"20"},{"":"271",sentence:"Socks should be worn on your ears.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-20-5",testsetId:"20"},{"":"272",sentence:"A zoo has more than one animal.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-20-6",testsetId:"20"},{"":"273",sentence:"Dogs have ears.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-20-7",testsetId:"20"},{"":"274",sentence:"An octopus has two legs.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-20-8",testsetId:"20"},{"":"275",sentence:"Elephants live underwater in the ocean.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-20-9",testsetId:"20"},{"":"276",sentence:"Vegetables come in one color and are grown in desert.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-20-10",testsetId:"20"},{"":"277",sentence:"Cats can climb trees.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-20-11",testsetId:"20"},{"":"278",sentence:"A triangle has three sides.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-20-12",testsetId:"20"},{"":"279",sentence:"You can buy flowers at the florist.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-20-13",testsetId:"20"},{"":"280",sentence:"A jacket can usually be warm.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-20-14",testsetId:"20"},{"":"281",sentence:"Chefs usually work in restaurants where they cook food.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-21-1",testsetId:"21"},{"":"282",sentence:"Many people like to cook food.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-21-2",testsetId:"21"},{"":"283",sentence:"Kittens are aged elephants and can be very moody.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-21-3",testsetId:"21"},{"":"284",sentence:"Books enjoy sipping water.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-21-4",testsetId:"21"},{"":"285",sentence:"Stars are plucked from trees.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-21-5",testsetId:"21"},{"":"286",sentence:"Most food is cooked in a kitchen before eating.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-21-6",testsetId:"21"},{"":"287",sentence:"All pencils are red.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-21-7",testsetId:"21"},{"":"288",sentence:"Buses are driven by drivers.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-21-8",testsetId:"21"},{"":"289",sentence:"Cats like to chase mice.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-21-9",testsetId:"21"},{"":"290",sentence:"Dolphins have three tails.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-21-10",testsetId:"21"},{"":"291",sentence:"A dog is a deer that barks.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-21-11",testsetId:"21"},{"":"292",sentence:"Trees love to sip cola.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-21-12",testsetId:"21"},{"":"293",sentence:"Some turtles have shells.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-21-13",testsetId:"21"},{"":"294",sentence:"Curtains can hang in a window.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-21-14",testsetId:"21"},{"":"295",sentence:"Lions are large predators.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-22-1",testsetId:"22"},{"":"296",sentence:"Bowling balls are sold underwater.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-22-2",testsetId:"22"},{"":"297",sentence:"Walls sometimes drink lemonade.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-22-3",testsetId:"22"},{"":"298",sentence:"Refrigerators help to keep food items cold.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-22-4",testsetId:"22"},{"":"299",sentence:"Apples can be read.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-22-5",testsetId:"22"},{"":"300",sentence:"Many different species of fish live in the ocean.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-22-6",testsetId:"22"},{"":"301",sentence:"A refrigerator is something you might wear as a necklace.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-22-7",testsetId:"22"},{"":"302",sentence:"Some lakes have laces.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-22-8",testsetId:"22"},{"":"303",sentence:"Birds can fly in the sky.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-22-9",testsetId:"22"},{"":"304",sentence:"Salt is often salty to taste.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-22-10",testsetId:"22"},{"":"305",sentence:"Ice cubes can sprint really fast.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-22-11",testsetId:"22"},{"":"306",sentence:"Chairs can climb mountains.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-22-12",testsetId:"22"},{"":"307",sentence:"Some children like to draw pictures before they go to bed.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-22-13",testsetId:"22"},{"":"308",sentence:"Rainbows appear after rain.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-22-14",testsetId:"22"},{"":"309",sentence:"Balloons can be filled with air.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-23-1",testsetId:"23"},{"":"310",sentence:"Lamps have buds.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-23-2",testsetId:"23"},{"":"311",sentence:"Dogs can wag their tail.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-23-3",testsetId:"23"},{"":"312",sentence:"Sunflowers are typically yellow.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-23-4",testsetId:"23"},{"":"313",sentence:"Many librarians work inside a power plant.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-23-5",testsetId:"23"},{"":"314",sentence:"Monkeys bloom from flowers.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-23-6",testsetId:"23"},{"":"315",sentence:"People often cut vegetables with knives.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-23-7",testsetId:"23"},{"":"316",sentence:"Clouds have ears.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-23-8",testsetId:"23"},{"":"317",sentence:"Sleep is important for the body and mind to rest and restore.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-23-9",testsetId:"23"},{"":"318",sentence:"Mountains can dance.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-23-10",testsetId:"23"},{"":"319",sentence:"A mechanic works at a bakery.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-23-11",testsetId:"23"},{"":"320",sentence:"Apple pie is always made from bananas.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-23-12",testsetId:"23"},{"":"321",sentence:"Babies learn a lot in their first year of life.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-23-13",testsetId:"23"},{"":"322",sentence:"Chess is a game that you play with pieces.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-23-14",testsetId:"23"},{"":"323",sentence:"Many children like eating apples.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-24-1",testsetId:"24"},{"":"324",sentence:"Doctors are trained professionals who help us when we are sick.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-24-2",testsetId:"24"},{"":"325",sentence:"Daisies grow under the sea.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-24-3",testsetId:"24"},{"":"326",sentence:"Leaves often fall in the autumn.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-24-4",testsetId:"24"},{"":"327",sentence:"Sunflowers grow from apple seeds.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-24-5",testsetId:"24"},{"":"328",sentence:"Mirrors enjoy eating toasts.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-24-6",testsetId:"24"},{"":"329",sentence:"Birds can breathe underwater.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-24-7",testsetId:"24"},{"":"330",sentence:"Spiders take math tests.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-24-8",testsetId:"24"},{"":"331",sentence:"Rivers flow into seas.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-24-9",testsetId:"24"},{"":"332",sentence:"The wind likes to fry eggs.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-24-10",testsetId:"24"},{"":"333",sentence:"Lots of kids play on the playground with their friends.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-24-11",testsetId:"24"},{"":"334",sentence:"A car has four wheels.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-24-12",testsetId:"24"},{"":"335",sentence:"Lions compete in spelling bees.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-24-13",testsetId:"24"},{"":"336",sentence:"An eagle is a bird.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-24-14",testsetId:"24"},{"":"337",sentence:"Ice turns into water when it melts.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-25-1",testsetId:"25"},{"":"338",sentence:"Clouds float in the sky.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-25-2",testsetId:"25"},{"":"339",sentence:"Clocks are passionate about purple pencils.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-25-3",testsetId:"25"},{"":"340",sentence:"Balloons have fruit.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-25-4",testsetId:"25"},{"":"341",sentence:"Cups keep their books in the cupboard.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-25-5",testsetId:"25"},{"":"342",sentence:"People commonly cook food with oil.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-25-6",testsetId:"25"},{"":"343",sentence:"Students often get praise when they are helpful to others.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-25-7",testsetId:"25"},{"":"344",sentence:"All giraffes have long necks.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-25-8",testsetId:"25"},{"":"345",sentence:"Sharks live in the desert.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-25-9",testsetId:"25"},{"":"346",sentence:"Sandwiches can perform ballet.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-25-10",testsetId:"25"},{"":"347",sentence:"Cotton candy comes from sheep.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-25-11",testsetId:"25"},{"":"348",sentence:"A rectangle is round.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-25-12",testsetId:"25"},{"":"349",sentence:"Cats are often kept as pets and are known for their independence.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-25-13",testsetId:"25"},{"":"350",sentence:"Children can be playful.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-25-14",testsetId:"25"},{"":"351",sentence:"Lions live in grocery stores.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-26-1",testsetId:"26"},{"":"352",sentence:"Doctors often give patients medicine and advice.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-26-2",testsetId:"26"},{"":"353",sentence:"Flowers can be different colors.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-26-3",testsetId:"26"},{"":"354",sentence:"Trees can move faster than cars.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-26-4",testsetId:"26"},{"":"355",sentence:"A clock can hang on the wall.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-26-5",testsetId:"26"},{"":"356",sentence:"Holidays usually bloom in the desert.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-26-6",testsetId:"26"},{"":"357",sentence:"Bottles wear mittens to keep their water warm.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-26-7",testsetId:"26"},{"":"358",sentence:"Lions can roar.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-26-8",testsetId:"26"},{"":"359",sentence:"Lions drive trains to work.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-26-9",testsetId:"26"},{"":"360",sentence:"Ice cream tastes good on a hot day.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-26-10",testsetId:"26"},{"":"361",sentence:"A cat is a pet that meows.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-26-11",testsetId:"26"},{"":"362",sentence:"Tea is brewed in toasters.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-26-12",testsetId:"26"},{"":"363",sentence:"Summer days can be really hot.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-26-13",testsetId:"26"},{"":"364",sentence:"Whales can fit in a fishbowl.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-26-14",testsetId:"26"},{"":"365",sentence:"Apples can be red, green, or yellow.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-27-1",testsetId:"27"},{"":"366",sentence:"A car has four tires.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-27-2",testsetId:"27"},{"":"367",sentence:"People watch TV in the living room.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-27-3",testsetId:"27"},{"":"368",sentence:"Elephants use their trunks to drink and grab things.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-27-4",testsetId:"27"},{"":"369",sentence:"Rivers are always salty.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-27-5",testsetId:"27"},{"":"370",sentence:"Hats enjoy brewing coffee.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-27-6",testsetId:"27"},{"":"371",sentence:"Many people like to watch movies.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-27-7",testsetId:"27"},{"":"372",sentence:"Mountains are bathed in the sink.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-27-8",testsetId:"27"},{"":"373",sentence:"Every car is a bird.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-27-9",testsetId:"27"},{"":"374",sentence:"Gorillas can live in volcanoes.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-27-10",testsetId:"27"},{"":"375",sentence:"People serve dinners on clouds.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-27-11",testsetId:"27"},{"":"376",sentence:"Beavers build dams in rivers.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-27-12",testsetId:"27"},{"":"377",sentence:"Humans need food for survival.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-27-13",testsetId:"27"},{"":"378",sentence:"Children can laugh a lot.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-27-14",testsetId:"27"},{"":"379",sentence:"A dog's fur can be very soft.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-28-1",testsetId:"28"},{"":"380",sentence:"Stars come out during the daytime.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-28-2",testsetId:"28"},{"":"381",sentence:"Chairs like to munch on cushions.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-28-3",testsetId:"28"},{"":"382",sentence:"Flowers often grow in a meadow.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-28-4",testsetId:"28"},{"":"383",sentence:"Pigs adore skydiving.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-28-5",testsetId:"28"},{"":"384",sentence:"A truck can be used to transport goods.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-28-6",testsetId:"28"},{"":"385",sentence:"The sand on most beaches is made of cotton candy.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-28-7",testsetId:"28"},{"":"386",sentence:"Bracelets can be made of water.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-28-8",testsetId:"28"},{"":"387",sentence:"There is only one kind of tree.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-28-9",testsetId:"28"},{"":"388",sentence:"People generally paint their houses with paint.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-28-10",testsetId:"28"},{"":"389",sentence:"A dolphin has fins.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-28-11",testsetId:"28"},{"":"390",sentence:"Humans often prepare meals with vegetables.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-28-12",testsetId:"28"},{"":"391",sentence:"Dogs smell with their noses.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-28-13",testsetId:"28"},{"":"392",sentence:"Elephants play basketball regularly.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-28-14",testsetId:"28"},{"":"393",sentence:"People use pencils to write, draw, and doodle.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-29-1",testsetId:"29"},{"":"394",sentence:"Bakeries are where you buy bread.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-29-2",testsetId:"29"},{"":"395",sentence:"Pencils have leaves.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-29-3",testsetId:"29"},{"":"396",sentence:"A chair eats dinner.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-29-4",testsetId:"29"},{"":"397",sentence:"Horses have manes.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-29-5",testsetId:"29"},{"":"398",sentence:"People fit bicycles on the river.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-29-6",testsetId:"29"},{"":"399",sentence:"Many people like to plant flowers.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-29-7",testsetId:"29"},{"":"400",sentence:"Rabbits have long ears.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-29-8",testsetId:"29"},{"":"401",sentence:"Sports can be played with a ball.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-29-9",testsetId:"29"},{"":"402",sentence:"Fish can breathe underwater.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-29-10",testsetId:"29"},{"":"403",sentence:"The sky is always purple and covered in stars during the day.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-29-11",testsetId:"29"},{"":"404",sentence:"Ice can always be very hot.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-29-12",testsetId:"29"},{"":"405",sentence:"Cups must have feathers.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-29-13",testsetId:"29"},{"":"406",sentence:"Most fish wear hats when they go swimming.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-29-14",testsetId:"29"},{"":"407",sentence:"My bed enjoys making soup.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-30-1",testsetId:"30"},{"":"408",sentence:"Whales are very large animals that live in the ocean.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-30-2",testsetId:"30"},{"":"409",sentence:"A number of people walk to work.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-30-3",testsetId:"30"},{"":"410",sentence:"Lions pilot planes.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-30-4",testsetId:"30"},{"":"411",sentence:"Paintbrushes help you to fly.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-30-5",testsetId:"30"},{"":"412",sentence:"Some drinks can be very cold.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-30-6",testsetId:"30"},{"":"413",sentence:"All books are blue.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-30-7",testsetId:"30"},{"":"414",sentence:"Some pizzas are round.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-30-8",testsetId:"30"},{"":"415",sentence:"Quilts are padded blankets that can provide warmth in cold weather.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-30-9",testsetId:"30"},{"":"416",sentence:"Every straw is an elephant.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-30-10",testsetId:"30"},{"":"417",sentence:"A lion is a mammal.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-30-11",testsetId:"30"},{"":"418",sentence:"Lemons have a sweet taste and can only be purple.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-30-12",testsetId:"30"},{"":"419",sentence:"Windy days are always still.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-30-13",testsetId:"30"},{"":"420",sentence:"Birds can be noisy.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-30-14",testsetId:"30"},{"":"421",sentence:"Stormy nights are always sunny.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-31-1",testsetId:"31"},{"":"422",sentence:"Airplanes are flown by pilots.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-31-2",testsetId:"31"},{"":"423",sentence:"Fishing is an activity that requires patience and skill.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-31-3",testsetId:"31"},{"":"424",sentence:"Fish can be found in a river.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-31-4",testsetId:"31"},{"":"425",sentence:"Caves can be found in clouds.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-31-5",testsetId:"31"},{"":"426",sentence:"Everyone has a unique fingerprint.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-31-6",testsetId:"31"},{"":"427",sentence:"An oven cooks food.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-31-7",testsetId:"31"},{"":"428",sentence:"Many dentists work in supermarkets.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-31-8",testsetId:"31"},{"":"429",sentence:"The snow is cold.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-31-9",testsetId:"31"},{"":"430",sentence:"Fish like to swim in water.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-31-10",testsetId:"31"},{"":"431",sentence:"Lemonade is always made of apples.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-31-11",testsetId:"31"},{"":"432",sentence:"Rivers are known to save books in caves.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-31-12",testsetId:"31"},{"":"433",sentence:"Lollipops grow on trees.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-31-13",testsetId:"31"},{"":"434",sentence:"Blueberry pie is always made of oranges.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-31-14",testsetId:"31"},{"":"435",sentence:"People occasionally eat ice cream.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-32-1",testsetId:"32"},{"":"436",sentence:"Every shoe is a fish.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-32-2",testsetId:"32"},{"":"437",sentence:"Music comes out of instruments.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-32-3",testsetId:"32"},{"":"438",sentence:"Planes are commonly made of fruits.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-32-4",testsetId:"32"},{"":"439",sentence:"Frogs are known for their painting skills.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-32-5",testsetId:"32"},{"":"440",sentence:"Dogs have four legs.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-32-6",testsetId:"32"},{"":"441",sentence:"Coffee comes from fish.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-32-7",testsetId:"32"},{"":"442",sentence:"Fish like to walk on land.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-32-8",testsetId:"32"},{"":"443",sentence:"A baker works at a bakery.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-32-9",testsetId:"32"},{"":"444",sentence:"Some trees love to run.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-32-10",testsetId:"32"},{"":"445",sentence:"Lamps love to jump.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-32-11",testsetId:"32"},{"":"446",sentence:"Nearly all bakeries have ovens.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-32-12",testsetId:"32"},{"":"447",sentence:"Many kids like to listen to stories before they sleep.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-32-13",testsetId:"32"},{"":"448",sentence:"Most houses have multiple rooms.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-32-14",testsetId:"32"},{"":"449",sentence:"Trains are delicious meals.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-33-1",testsetId:"33"},{"":"450",sentence:"A hat goes on your head.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-33-2",testsetId:"33"},{"":"451",sentence:"People can become invisible when they close their eyes.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-33-3",testsetId:"33"},{"":"452",sentence:"There are seven days in a week.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-33-4",testsetId:"33"},{"":"453",sentence:"All rivers are orange.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-33-5",testsetId:"33"},{"":"454",sentence:"Some students prefer writing with pens.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-33-6",testsetId:"33"},{"":"455",sentence:"Fire helps to keep things warm.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-33-7",testsetId:"33"},{"":"456",sentence:"Humans steer boats in the desert.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-33-8",testsetId:"33"},{"":"457",sentence:"Cars are always moving.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-33-9",testsetId:"33"},{"":"458",sentence:"Cars run on lemonade.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-33-10",testsetId:"33"},{"":"459",sentence:"Apples grow on ocean floors.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-33-11",testsetId:"33"},{"":"460",sentence:"A kitten has a tail.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-33-12",testsetId:"33"},{"":"461",sentence:"You can buy shirts at a clothing store.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-33-13",testsetId:"33"},{"":"462",sentence:"Friends can read books together after school.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-33-14",testsetId:"33"},{"":"463",sentence:"Rain helps plants to grow and is part of the water cycle.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-34-1",testsetId:"34"},{"":"464",sentence:"Folks ride horses on the train tracks.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-34-2",testsetId:"34"},{"":"465",sentence:"Gorillas are a type of flower.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-34-3",testsetId:"34"},{"":"466",sentence:"Turtles can swim in water.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-34-4",testsetId:"34"},{"":"467",sentence:"Honey is sweet and sticky and comes from bees.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-34-5",testsetId:"34"},{"":"468",sentence:"Some clouds have buckles.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-34-6",testsetId:"34"},{"":"469",sentence:"People generally wash their hair with shampoo.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-34-7",testsetId:"34"},{"":"470",sentence:"The sun typically rises in the morning.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-34-8",testsetId:"34"},{"":"471",sentence:"A pigeon is a bird.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-34-9",testsetId:"34"},{"":"472",sentence:"Light bulbs are made of candy.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-34-10",testsetId:"34"},{"":"473",sentence:"Laundry is washed in machines.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-34-11",testsetId:"34"},{"":"474",sentence:"Snowy days are always hot.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-34-12",testsetId:"34"},{"":"475",sentence:"Carrots are a kind of fruit.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-34-13",testsetId:"34"},{"":"476",sentence:"An apple has six legs.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-34-14",testsetId:"34"},{"":"477",sentence:"Apples fall from trees.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-35-1",testsetId:"35"},{"":"478",sentence:"Money usually grows in candy bars.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-35-2",testsetId:"35"},{"":"479",sentence:"Doctors treat patients while on duty.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-35-3",testsetId:"35"},{"":"480",sentence:"Trees have boxes.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-35-4",testsetId:"35"},{"":"481",sentence:"Oceans are full with bamboos.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-35-5",testsetId:"35"},{"":"482",sentence:"A farmer is someone who works in the field.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-35-6",testsetId:"35"},{"":"483",sentence:"Pianos are usually made of paper.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-35-7",testsetId:"35"},{"":"484",sentence:"A teddy bear can be very soft.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-35-8",testsetId:"35"},{"":"485",sentence:"Blankets actually help keep you warm.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-35-9",testsetId:"35"},{"":"486",sentence:"Jewelry is often worn for decoration.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-35-10",testsetId:"35"},{"":"487",sentence:"Kangaroos carry their young in pouches.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-35-11",testsetId:"35"},{"":"488",sentence:"Chairs are used to make things wet.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-35-12",testsetId:"35"},{"":"489",sentence:"Some puppies ride a train to school.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-35-13",testsetId:"35"},{"":"490",sentence:"Candies are usually made from sugar.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-35-14",testsetId:"35"},{"":"491",sentence:"Sharks often play basketball.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-36-1",testsetId:"36"},{"":"492",sentence:"Bicycles have pedals.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-36-2",testsetId:"36"},{"":"493",sentence:"Grass is always pink.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-36-3",testsetId:"36"},{"":"494",sentence:"People use rocks to buy things.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-36-4",testsetId:"36"},{"":"495",sentence:"Trees grow from small seeds.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-36-5",testsetId:"36"},{"":"496",sentence:"Children grow into adults over time.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-36-6",testsetId:"36"},{"":"497",sentence:"Stars ride on the river.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-36-7",testsetId:"36"},{"":"498",sentence:"A kitten can drive a car.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-36-8",testsetId:"36"},{"":"499",sentence:"A shirt is something you can wear.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-36-9",testsetId:"36"},{"":"500",sentence:"Drawers can be used to keep clothes.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-36-10",testsetId:"36"},{"":"501",sentence:"Desks sometimes drink orange juice.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-36-11",testsetId:"36"},{"":"502",sentence:"People sometimes eat fruits.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-36-12",testsetId:"36"},{"":"503",sentence:"Shoes are made from clouds.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-36-13",testsetId:"36"},{"":"504",sentence:"Firefighters often work in fire stations where they respond to emergencies.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-36-14",testsetId:"36"},{"":"505",sentence:"Chairs can heat up a room.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-37-1",testsetId:"37"},{"":"506",sentence:"Couches help you dance better.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-37-2",testsetId:"37"},{"":"507",sentence:"Friends dig to the center of the Earth after school.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-37-3",testsetId:"37"},{"":"508",sentence:"Chairs are made of water.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-37-4",testsetId:"37"},{"":"509",sentence:"Honey comes from bees.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-37-5",testsetId:"37"},{"":"510",sentence:"Whales are a type of bird.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-37-6",testsetId:"37"},{"":"511",sentence:"Monkeys are very good at climbing trees.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-37-7",testsetId:"37"},{"":"512",sentence:"Raincoats are used for protection against rain.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-37-8",testsetId:"37"},{"":"513",sentence:"Bubbles have roots.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-37-9",testsetId:"37"},{"":"514",sentence:"All butterflies have wings.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-37-10",testsetId:"37"},{"":"515",sentence:"Baseball is a sport you play with a bat.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-37-11",testsetId:"37"},{"":"516",sentence:"Gifts are wrapped in paper.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-37-12",testsetId:"37"},{"":"517",sentence:"Many astronauts work in orchards.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-37-13",testsetId:"37"},{"":"518",sentence:"Kangaroos can leap long distances with their strong hind legs.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-37-14",testsetId:"37"},{"":"519",sentence:"Yellow is the color of violets and cherries.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-38-1",testsetId:"38"},{"":"520",sentence:"Many children eat candy.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-38-2",testsetId:"38"},{"":"521",sentence:"Many people like to read books.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-38-3",testsetId:"38"},{"":"522",sentence:"Apples have ears.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-38-4",testsetId:"38"},{"":"523",sentence:"An author is someone who writes books.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-38-5",testsetId:"38"},{"":"524",sentence:"Students can study in the classroom.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-38-6",testsetId:"38"},{"":"525",sentence:"The letter A is a color.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-38-7",testsetId:"38"},{"":"526",sentence:"Astronauts teach music while on duty.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-38-8",testsetId:"38"},{"":"527",sentence:"Every door is locked forever.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-38-9",testsetId:"38"},{"":"528",sentence:"Some fish like to climb trees.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-38-10",testsetId:"38"},{"":"529",sentence:"Clouds in the sky can bring rain, snow, or shade.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-38-11",testsetId:"38"},{"":"530",sentence:"Spiders teach at universities.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-38-12",testsetId:"38"},{"":"531",sentence:"Some coats have hoods.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-38-13",testsetId:"38"},{"":"532",sentence:"Heaters can increase the temperature of a room.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-38-14",testsetId:"38"},{"":"533",sentence:"People can purchase shoes at the shopping mall.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-39-1",testsetId:"39"},{"":"534",sentence:"Pumpkin pie is made from peaches.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-39-2",testsetId:"39"},{"":"535",sentence:"Balls are made of music.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-39-3",testsetId:"39"},{"":"536",sentence:"Giraffes have eight legs.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-39-4",testsetId:"39"},{"":"537",sentence:"Chefs prepare meals in kitchens.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-39-5",testsetId:"39"},{"":"538",sentence:"Water is greasy.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-39-6",testsetId:"39"},{"":"539",sentence:"Many kids love pizza.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-39-7",testsetId:"39"},{"":"540",sentence:"Ladders help you to reach higher shelves.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-39-8",testsetId:"39"},{"":"541",sentence:"Grapes grow on vines.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-39-9",testsetId:"39"},{"":"542",sentence:"Salads are healthy food.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-39-10",testsetId:"39"},{"":"543",sentence:"A bicycle needs brakes to stop.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-39-11",testsetId:"39"},{"":"544",sentence:"Pillows can cool down a room.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-39-12",testsetId:"39"},{"":"545",sentence:"Apples are always sour.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-39-13",testsetId:"39"},{"":"546",sentence:"A lamp reads books.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-39-14",testsetId:"39"},{"":"547",sentence:"Ice cream typically melts in heat.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-40-1",testsetId:"40"},{"":"548",sentence:"Curtains sometimes drink tea.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-40-2",testsetId:"40"},{"":"549",sentence:"All tulips are orange.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-40-3",testsetId:"40"},{"":"550",sentence:"Tables like to sing.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-40-4",testsetId:"40"},{"":"551",sentence:"Not all flowers are yellow, some are red, blue or pink.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-40-5",testsetId:"40"},{"":"552",sentence:"Squares have four sides.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-40-6",testsetId:"40"},{"":"553",sentence:"We can buy books at a bookstore.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-40-7",testsetId:"40"},{"":"554",sentence:"A boat sails on the water.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-40-8",testsetId:"40"},{"":"555",sentence:"Teachers mainly work in zoos.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-40-9",testsetId:"40"},{"":"556",sentence:"A horse has hooves.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-40-10",testsetId:"40"},{"":"557",sentence:"Libraries are where you borrow books.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-40-11",testsetId:"40"},{"":"558",sentence:"Kids usually clean their faces with jam.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-40-12",testsetId:"40"},{"":"559",sentence:"Turtles can speak English.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-40-13",testsetId:"40"},{"":"560",sentence:"Kids often learn through playing and exploring.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-40-14",testsetId:"40"},{"":"561",sentence:"Horses can read.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-41-1",testsetId:"41"},{"":"562",sentence:"Every tree is a ballerina.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-41-2",testsetId:"41"},{"":"563",sentence:"Nests are built by birds to lay their eggs.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-41-3",testsetId:"41"},{"":"564",sentence:"Birds have feathers.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-41-4",testsetId:"41"},{"":"565",sentence:"Snow usually falls in summer.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-41-5",testsetId:"41"},{"":"566",sentence:"Schools are places where children learn.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-41-6",testsetId:"41"},{"":"567",sentence:"Mirrors are typically made of potatoes.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-41-7",testsetId:"41"},{"":"568",sentence:"Basketball is a game that you play with a ball.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-41-8",testsetId:"41"},{"":"569",sentence:"Plants need sunlight to grow.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-41-9",testsetId:"41"},{"":"570",sentence:"Lamps can cool down a room.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-41-10",testsetId:"41"},{"":"571",sentence:"Lockers can be used to keep personal belongings.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-41-11",testsetId:"41"},{"":"572",sentence:"When a traffic light is blue, you should begin to dance.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-41-12",testsetId:"41"},{"":"573",sentence:"A good book can be a great escape.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-41-13",testsetId:"41"},{"":"574",sentence:"Every zoo has penguins on the roof.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-41-14",testsetId:"41"},{"":"575",sentence:"Roads devour ice-cream cones.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-42-1",testsetId:"42"},{"":"576",sentence:"People enjoy eating fruits.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-42-2",testsetId:"42"},{"":"577",sentence:"Pencils are crispy snacks.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-42-3",testsetId:"42"},{"":"578",sentence:"Eggs are laid by chickens.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-42-4",testsetId:"42"},{"":"579",sentence:"A plane has wings.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-42-5",testsetId:"42"},{"":"580",sentence:"Pens can sing.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-42-6",testsetId:"42"},{"":"581",sentence:"Elephants have six legs.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-42-7",testsetId:"42"},{"":"582",sentence:"Cacti grow in deserts.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-42-8",testsetId:"42"},{"":"583",sentence:"Eggs are boiled in wardrobes.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-42-9",testsetId:"42"},{"":"584",sentence:"Lemons are often sour to taste.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-42-10",testsetId:"42"},{"":"585",sentence:"Kittens are young cats and can be very playful.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-42-11",testsetId:"42"},{"":"586",sentence:"Dogs have seven tails.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-42-12",testsetId:"42"},{"":"587",sentence:"People can buy computers at the bakery.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-42-13",testsetId:"42"},{"":"588",sentence:"Park rangers work outdoors in national parks.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-42-14",testsetId:"42"},{"":"589",sentence:"Foggy mornings are always clear.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-43-1",testsetId:"43"},{"":"590",sentence:"Feathers are made of steel.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-43-2",testsetId:"43"},{"":"591",sentence:"Bears frequently play football.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-43-3",testsetId:"43"},{"":"592",sentence:"Comedy movies often make people laugh.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-43-4",testsetId:"43"},{"":"593",sentence:"People often cook food on the stove.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-43-5",testsetId:"43"},{"":"594",sentence:"Plants often grow in a garden.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-43-6",testsetId:"43"},{"":"595",sentence:"Cows give us milk.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-43-7",testsetId:"43"},{"":"596",sentence:"Trains move along tracks.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-43-8",testsetId:"43"},{"":"597",sentence:"Fish have fur on their bodies.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-43-9",testsetId:"43"},{"":"598",sentence:"Many dogs drive trucks on the highway.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-43-10",testsetId:"43"},{"":"599",sentence:"Leaves can be different colors.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-43-11",testsetId:"43"},{"":"600",sentence:"A motorcycle can be used to transport whales.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-43-12",testsetId:"43"},{"":"601",sentence:"All fish live in the sky.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-43-13",testsetId:"43"},{"":"602",sentence:"Cabinets can be used to store dishes.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-43-14",testsetId:"43"},{"":"603",sentence:"When a traffic light is pink, you should start flying.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-44-1",testsetId:"44"},{"":"604",sentence:"Ice turns into fire when it melts.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-44-2",testsetId:"44"},{"":"605",sentence:"Bread is baked in ovens.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-44-3",testsetId:"44"},{"":"606",sentence:"Tigers like to live in space.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-44-4",testsetId:"44"},{"":"607",sentence:"Birds chirp in the morning.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-44-5",testsetId:"44"},{"":"608",sentence:"Tour guides often offer tourists maps and information.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-44-6",testsetId:"44"},{"":"609",sentence:"Elephants listen with their tails.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-44-7",testsetId:"44"},{"":"610",sentence:"Doors like to grill cheese.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-44-8",testsetId:"44"},{"":"611",sentence:"Shoes should be worn on your feet.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-44-9",testsetId:"44"},{"":"612",sentence:"Doors can open and close.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-44-10",testsetId:"44"},{"":"613",sentence:"Umbrellas are used to keep dry in the rain.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-44-11",testsetId:"44"},{"":"614",sentence:"Kittens often wear shoes.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-44-12",testsetId:"44"},{"":"615",sentence:"Birds can be different colors.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-44-13",testsetId:"44"},{"":"616",sentence:"All roses are purple.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-44-14",testsetId:"44"},{"":"617",sentence:"Some children like to ride bikes.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-45-1",testsetId:"45"},{"":"618",sentence:"Some bees collect pollen.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-45-2",testsetId:"45"},{"":"619",sentence:"The letter Z is an animal.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-45-3",testsetId:"45"},{"":"620",sentence:"Winter often brings with it cold temperatures and sometimes snow.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-45-4",testsetId:"45"},{"":"621",sentence:"Tables devour dinner plates for breakfast.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-45-5",testsetId:"45"},{"":"622",sentence:"Clouds are birds.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-45-6",testsetId:"45"},{"":"623",sentence:"A pharmacist works at a pharmacy.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-45-7",testsetId:"45"},{"":"624",sentence:"Kids like to play games.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-45-8",testsetId:"45"},{"":"625",sentence:"Kites fly best in the wind.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-45-9",testsetId:"45"},{"":"626",sentence:"Honey is made by cows.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-45-10",testsetId:"45"},{"":"627",sentence:"Animals are all the size of an elephant.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-45-11",testsetId:"45"},{"":"628",sentence:"Eating a balanced diet is healthy.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-45-12",testsetId:"45"},{"":"629",sentence:"All elephants climb trees.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-45-13",testsetId:"45"},{"":"630",sentence:"Windows are made of ice cream.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-45-14",testsetId:"45"},{"":"631",sentence:"People serve dinner on tree branches.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-46-1",testsetId:"46"},{"":"632",sentence:"A snowflake can be very delicate.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-46-2",testsetId:"46"},{"":"633",sentence:"Uncles can bring gifts when they visit relatives.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-46-3",testsetId:"46"},{"":"634",sentence:"Jelly is a type of furniture that is made from fruit juice.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-46-4",testsetId:"46"},{"":"635",sentence:"A bunny has scales.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-46-5",testsetId:"46"},{"":"636",sentence:"Books can fly around a room.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-46-6",testsetId:"46"},{"":"637",sentence:"Zoos are places where we can see many different animals.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-46-7",testsetId:"46"},{"":"638",sentence:"Some toddlers enjoy playing with toy cars.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-46-8",testsetId:"46"},{"":"639",sentence:"Adults can feel happy.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-46-9",testsetId:"46"},{"":"640",sentence:"Snakes can slither on the ground.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-46-10",testsetId:"46"},{"":"641",sentence:"Some shirts have buttons.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-46-11",testsetId:"46"},{"":"642",sentence:"Rainbows are black and white.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-46-12",testsetId:"46"},{"":"643",sentence:"Milk is always green.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-46-13",testsetId:"46"},{"":"644",sentence:"Most people play football by themselves.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-46-14",testsetId:"46"},{"":"645",sentence:"Boats are sailed by sailors.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-47-1",testsetId:"47"},{"":"646",sentence:"Roads keep their books in a puddle.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-47-2",testsetId:"47"},{"":"647",sentence:"Many people prefer to play board games while skydiving.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-47-3",testsetId:"47"},{"":"648",sentence:"Dolphins can be found in the desert.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-47-4",testsetId:"47"},{"":"649",sentence:"Some cows enjoy watching television.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-47-5",testsetId:"47"},{"":"650",sentence:"Pillows are made from ice.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-47-6",testsetId:"47"},{"":"651",sentence:"Ice cream is a food.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-47-7",testsetId:"47"},{"":"652",sentence:"Water is essential for every living thing on Earth.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-47-8",testsetId:"47"},{"":"653",sentence:"Buildings love to eat hot-dogs.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-47-9",testsetId:"47"},{"":"654",sentence:"Many people watch movies with at least one other person.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-47-10",testsetId:"47"},{"":"655",sentence:"Artists create works of art in studios.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-47-11",testsetId:"47"},{"":"656",sentence:"Cows like to bark.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-47-12",testsetId:"47"},{"":"657",sentence:"Bakers bake things in ovens.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-47-13",testsetId:"47"},{"":"658",sentence:"A watermelon is round.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-47-14",testsetId:"47"},{"":"659",sentence:"Cats are larger than cars.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-48-1",testsetId:"48"},{"":"660",sentence:"Bicycles love to eat pasta.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-48-2",testsetId:"48"},{"":"661",sentence:"Fire helps to freeze things.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-48-3",testsetId:"48"},{"":"662",sentence:"People ride bikes on the trail.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-48-4",testsetId:"48"},{"":"663",sentence:"People sometimes eat chocolate.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-48-5",testsetId:"48"},{"":"664",sentence:"Swimming is a sport that you play with a bicycle.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-48-6",testsetId:"48"},{"":"665",sentence:"A funny movie can make you feel better when you're upset.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-48-7",testsetId:"48"},{"":"666",sentence:"Peaches grow on vines.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-48-8",testsetId:"48"},{"":"667",sentence:"Vegetables are nutritious food.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-48-9",testsetId:"48"},{"":"668",sentence:"Cars are made of cheese.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-48-10",testsetId:"48"},{"":"669",sentence:"People usually breathe with their lungs.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-48-11",testsetId:"48"},{"":"670",sentence:"Most apartments have a kitchen.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-48-12",testsetId:"48"},{"":"671",sentence:"Pine trees grow in forests.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-48-13",testsetId:"48"},{"":"672",sentence:"Cats enjoy painting with yellow paint.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-48-14",testsetId:"48"},{"":"673",sentence:"Ovens can be used to bake food.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-49-1",testsetId:"49"},{"":"674",sentence:"Reading books is one way to learn new things at any age.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-49-2",testsetId:"49"},{"":"675",sentence:"Glasses help people taste colors.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-49-3",testsetId:"49"},{"":"676",sentence:"Oranges grow on trees.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-49-4",testsetId:"49"},{"":"677",sentence:"Ink is used to erase.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-49-5",testsetId:"49"},{"":"678",sentence:"Pencil cases wear gloves to keep their contents warm.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-49-6",testsetId:"49"},{"":"679",sentence:"Bread is often made from wheat.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-49-7",testsetId:"49"},{"":"680",sentence:"Ovens are where you store extra shoes.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-49-8",testsetId:"49"},{"":"681",sentence:"Deserts are full of roses.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-49-9",testsetId:"49"},{"":"682",sentence:"April is the first month of the year.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-49-10",testsetId:"49"},{"":"683",sentence:"Teenagers can be stubborn.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-49-11",testsetId:"49"},{"":"684",sentence:"Sugar tastes sour.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-49-12",testsetId:"49"},{"":"685",sentence:"Cakes are usually made with flour and eggs.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-49-13",testsetId:"49"},{"":"686",sentence:"People enjoy watching movies.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-49-14",testsetId:"49"},{"":"687",sentence:"Sunflowers are tiny flowers that turn their roots to follow the moon.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-50-1",testsetId:"50"},{"":"688",sentence:"Penguins enjoy making sculptures out of ice.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-50-2",testsetId:"50"},{"":"689",sentence:"Vitamins can help you feel healthier.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-50-3",testsetId:"50"},{"":"690",sentence:"A kitten can read a book.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-50-4",testsetId:"50"},{"":"691",sentence:"Bowling balls are sold at the forest.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-50-5",testsetId:"50"},{"":"692",sentence:"Shells can be found on the beach.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-50-6",testsetId:"50"},{"":"693",sentence:"Airplanes are crafted from leaves.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-50-7",testsetId:"50"},{"":"694",sentence:"People often color with crayons.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-50-8",testsetId:"50"},{"":"695",sentence:"People can ride on clouds.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-50-9",testsetId:"50"},{"":"696",sentence:"Birds have beaks.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-50-10",testsetId:"50"},{"":"697",sentence:"In fall, many leaves change colors and fall from the trees.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-50-11",testsetId:"50"},{"":"698",sentence:"Windows can let in fresh air into a room.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-50-12",testsetId:"50"},{"":"699",sentence:"Boxes can be used to store items.",answer:"TRUE",direction:"right",difficulty:"NA",itemId:"AI-pset-50-13",testsetId:"50"},{"":"700",sentence:"Doors are always made from feathers.",answer:"FALSE",direction:"left",difficulty:"NA",itemId:"AI-pset-50-14",testsetId:"50"}]},es:{corpusPractice:"",corpusLab:"",corpusTOSREC:"",corpusAI:""},it:{corpusPractice:"",corpusLab:"",corpusTOSREC:"",corpusAI:""}};var Dc={default:{languageSpecific:{device:["bird-end.mp3","bird-halfway.mp3","bird-intro.mp3","cat-end.mp3","cat-halfway.mp3","cat-intro.mp3","deer-end.mp3","deer-halfway.mp3","deer-intro.mp3","dog-end.mp3","dog-halfway.mp3","dog-intro.mp3","end-ns.mp3","feedback-0-correct.mp3","feedback-0-incorrect.mp3","feedback-1-correct.mp3","feedback-1-incorrect.mp3","feedback-2-correct.mp3","feedback-2-incorrect.mp3","feedback-3-correct.mp3","feedback-3-incorrect.mp3","grade-select.mp3","halfway-ns.mp3","introduction-ns.mp3","introduction.mp3","post-practice-instruction.mp3","post-practice-reminder.mp3","practice-instruction.mp3","student-select.mp3"],shared:[]},shared:["neutral-sound-2.wav","neutral-sound-sub.mp3","neutral-sound.mp3","academy-background.webp","bird-happy.webp","bird-talking.webp","bird.webp","cat-happy.webp","cat-talking.webp","cat.webp","classroom-background.webp","deer-happy.webp","deer-talking.webp","deer.webp","dog-happy.webp","dog-talking.webp","dog.webp","false-flash-key.webp","false-key.webp","grade-keyboard.webp","grade-keys.webp","practice-left.webp","practice-right.webp","roar-sre-keyboard.webp","roar-sre-practice-keyboard.webp","true-flash-key.webp","true-key.webp","rightArrowBlankShort.webp","leftArrowBlankShort.webp","false-flash-key-split.webp","false-static-key-split.webp","true-flash-key-split.webp","true-static-key-split.webp"]}};const $c="mobile"===sa(),zc="https://storage.googleapis.com/roar-sre",Bc=function(e,t,n){var i={images:{},video:{},audio:{}},s=ia(n),r=sa(),a=function(e,n){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.forEach((function(e){var c=aa(e),l=Pr.parse(e).name,d=l.replace(/^([A-Z])|[\s-_](\w)/g,(function(e,t,n,i){return n?n.toUpperCase():t.toLowerCase()})),u=ra(t,e,s,r,n,a,o);i[c][d]=u}))},o=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Array.isArray(e)?a(e,"default"):(e.languageSpecific&&(Array.isArray(e.languageSpecific)?a(e.languageSpecific,"languageSpecific"):function(e,t){Object.entries(e).forEach((function(e){var n=bo(e,2),i=n[0],s=n[1];a(s,i,!0,t)}))}(e.languageSpecific,n)),e.device&&a(e.device,"device"),e.shared&&(t=e.shared,Array.isArray(t)?a(t,"shared"):Object.entries(t).forEach((function(e){var t=bo(e,2),n=t[0],i=t[1];a(i,"device"===n?"shared/device":"shared")}))))};return e.preload&&Object.entries(e.preload).forEach((function(e){var t=bo(e,2)[1];o(t)})),e.default&&o(e.default,!0),i}(Dc,zc),qc=function(e,t,n){var i={},s=ia(n),r=sa();function a(e,n,a){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=arguments.length>4&&void 0!==arguments[4]&&arguments[4];e.forEach((function(e){var l=aa(e),d=ra(t,e,s,r,a,o,c);i[n]||(i[n]={type:vo,message:"The experiment is loading",show_progress_bar:!0,continue_after_error:!1,error_message:"",show_detailed_errors:!0,max_load_time:null,on_error:null,on_success:null,images:[],audio:[],video:[]}),i[n][l].push(d)}))}function o(e,t,n){Array.isArray(t)?a(t,e,"languageSpecific"):function(e,t,n){Object.entries(t).forEach((function(t){var i=bo(t,2),s=i[0];a(i[1],e,s,!0,n)}))}(e,t,n)}function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Array.isArray(t)?a(t,e,"default"):(t.languageSpecific&&o(e,t.languageSpecific,n),t.device&&a(t.device,e,"device"),t.shared&&function(e,t){Array.isArray(t)?a(t,e,"shared"):Object.entries(t).forEach((function(t){var n=bo(t,2),i=n[0];a(n[1],e,"device"===i?"shared/device":"shared")}))}(e,t.shared))}return e.preload&&Object.entries(e.preload).forEach((function(e){var t=bo(e,2);c(t[0],t[1])})),e.default&&c("default",e.default,!0),i}(Dc,zc).default,Vc=e=>{const t=[...e];for(let e=t.length-1;e>0;e-=1){const n=Math.floor(Math.random()*(e+1));[t[e],t[n]]=[t[n],t[e]]}return t},Hc=[{timeline:[{type:Eo,questions:[{prompt:"Lab ID:",name:"labId",required:!0}],css_classes:["jspsych-content-modified"],on_finish:e=>{const t=a.session.get("config");t.labId=e.response.labId,a.session.set("config",t)}}],conditional_function:()=>!a.session.get("config").labId&&"otherLabs"===a.session.get("config").recruitment},{timeline:[{type:Eo,questions:[{prompt:"Participant ID:",name:"pid",required:!0}],css_classes:["jspsych-content-modified"],on_finish:e=>{const t=a.session.get("config");t.pid=e.response.pid,a.session.set("config",t)}}],conditional_function:()=>!a.session.get("config").pid&&"otherLabs"===a.session.get("config").recruitment},{timeline:[{type:Ao,questions:[{prompt:' <div>\n <p class=" consent_form_title">STANFORD UNIVERSITY CONSENT FORM</p>\n <p class=" consent_form_text">\n <b>PURPOSE OF THE STUDY</b> \n <br>\n Data collected through games in the web-browser will help researchers understand relationships between academic skills, reading proficiency, cognition, perception, and/or attitudes towards reading and school in individuals with a broad range of reading skills.\n <br><br>\n <b>STUDY PROCEDURES</b> \n <br>\n In this study, you will be asked to complete computer tasks via a computer screen. Audio will be presented via headphones or speakers.\n <br><br>\n <b>PRIVACY AND DATA COLLECTION</b> <br>\n We will do our best to ensure your privacy. Data that is collected through this online experiment is stored separately from identifying information such as your name. For the sake of payment, sometimes we store an email address you provide, but this is stored separately from the responses that are recorded in the online experiment. Each participant is assigned a code and that is used rather than names. This is called “coded data” and we try to ensure that the identity of our research participants is kept confidential. Data collected as part of this study may be used for many years to help discover trends in the population and explore changes due to development and education. In addition, coded data may be shared online or with collaborators to allow for new and unforeseen discoveries. Researchers may choose to include coded data in publications to support findings, or they may choose to release coded data alongside findings for replicability.\n <br>\n <br>\n We will collect mouse and click, scores earned, button presses and their timestamps, or other data that may be derived from your behavior on our page. This data will be stored on servers. Incomplete data may be logged if you quit out of the experiment early. If you would like to void your data, you may request it through our contact email. \n <br>\n <br>\n <b>COMPENSATION</b>\n <br> \n Participation in this study is voluntary and you will not receive financial compensation.\n <br>\n <br>\n <b>RISKS, STRESS, OR DISCOMFORT</b>\n <br>\n If there is any reason to believe you are not safe to participate in any of the tasks, please contact us at <a href="url">readingresearch@stanford.edu</a>. Some people may experience some physical discomfort or boredom due to being asked to sit for long periods. For computer tasks, some people may also experience dry eyes or eye fatigue. For some tasks that are untimed, breaks can be taken as needed during the session.\n <br>\n <br>\n <b>CONTACT INFORMATION </b>\n <br>\n If you have any additional questions or concerns about our research, feel free to email us at <a href="url">readingresearch@stanford.edu</a>. We will be more than happy to help!\n <br>\n <br>\n For general information regarding questions or concerns about your rights as a research participant, please call 1-866-680-2906 to reach the Administrative Panel on Human Subjects in Medical Research, Stanford University.\n </p>\n </div>\n ',options:["<b>I agree to participate in this research. Participation in this research is voluntary, and I can stop at any time without penalty. <br> I feel that I understand what I am getting into, and I know I am free to leave the experiment at any time by simply closing the web browser.\n </b>"],required:!0,required_message:"You must check the box to continue",name:"Agree"}]}],conditional_function:()=>"demo"===a.session.get("config").recruitment||a.session.get("config").consent},{timeline:[{type:To,preamble:"<div><h1>Please share a bit more to help us understand your data!</h1><p>This information is optional.</p></div>",html:'\n <div className="item">\n <span htmlFor="instructions" class = "survey_form_text">How old are you? (Please type a number)</span>\n <input type = "text" id = "age" name="age" style = "font-size: 2vh" value=""/>\n </div>\n <br>\n <div className="item">\n <span class = "survey_form_text">What is your current grade or highest level of education?</span>\n <select id = "edu" name = "edu" style = "font-size: 2vh">\n <option value=""></option>\n <option value="prek">preK</option>\n <option value="k1">K1</option>\n <option value="k2">K2</option>\n <option value="1">Grade 1</option>\n <option value="2">Grade 2</option>\n <option value="3">Grade 3</option>\n <option value="4">Grade 4</option>\n <option value="5">Grade 5</option>\n <option value="6">Grade 6</option>\n <option value="7">Grade 7</option>\n <option value="8">Grade 8</option>\n <option value="9">Grade 9</option>\n <option value="10">Grade 10</option>\n <option value="11">Grade 11</option>\n <option value="12">Grade 12</option>\n <option value="college">College</option>\n <option value="proSchool">Professional School</option>\n <option value="gradSchool">Graduate School</option>\n </select>\n </div>\n <br>\n <div className="item">\n <span class = "survey_form_text">Is English your first language?</span>\n <select id = "ell" name = "ell" style = "font-size: 2vh">\n <option value=""></option>\n <option value="1">No</option>\n <option value="0">Yes</option>\n </select>\n </div>\n <br>\n <div className="item">\n <span class = "survey_form_text">Have you taken this game before?</span>\n <select id = "retake" name = "retake" style = "font-size: 2vh">\n <option value=""></option>\n <option value="0">No</option>\n <option value="1">Yes</option>\n </select>\n </div>\n <br>',autocomplete:!0,on_finish:e=>{const t={};for(const n in e.response)""===e.response[n]?t[n]=null:t[n]="retake"===n||"ell"===n?parseInt(e.response[n],10):e.response[n];t.grade=a.session.get("config").userMetadata.grade;const n=a.session.get("config"),i=oa(null,null,t.age);n.userMetadata={...n.userMetadata,...t,...i},a.session.set("config",n)}}],conditional_function:()=>"demo"===a.session.get("config").recruitment||a.session.get("config").consent},{timeline:[{type:Co,stimulus:()=>Bc.audio.gradeSelect,prompt:()=>$c?`\n <div class="mobile-grade-select">\n <h3>${hc.t("introduction.gradeSelect.text1")}</h3>\n <p>${hc.t("introduction.gradeSelect.text2Mobile")}</p>\n <p>${hc.t("introduction.gradeSelect.text3")}</p>\n <div class="button">${hc.t("introduction.gradeSelect.text4Mobile")}</div>\n </div>`:`\n <div class="jspsych-content-modified" id="sre-background">\n <h3>${hc.t("introduction.gradeSelect.text1")}</h3>\n <p>${hc.t("introduction.gradeSelect.text2")}</p>\n <p>${hc.t("introduction.gradeSelect.text3")}</p>\n <img width="50%" src="${Bc.images.gradeKeyboard}" alt="grade keys">\n <div class="button">${hc.t("introduction.gradeSelect.text4")}</div>\n </div>`,keyboard_choices:$c?"NO_KEYS":["1","2","3","4","5","6","7","8"],button_choices:$c?["1st Grade","2nd Grade","3rd Grade","4th Grade","5th Grade","6th Grade","7th Grade","8th Grade or higher"]:[],button_html:'<button class="grade-btn">%choice%</button>',prompt_above_buttons:!0,on_load:()=>{document.body.style.background="rgb(250, 246, 236)"},on_finish:async e=>{document.body.style.background="white";const t=e.button_response??e.keyboard_response;$c?a.session.set("tosrecCorpusId",`tosrec${t+1}`):a.session.set("tosrecCorpusId",`tosrec${t}`);const n=a.session.get("config");n.userMetadata={...n.userMetadata,grade:Number($c?t+1:t)},n.story=Ou(n.storyOption,n.userMetadata.grade),a.session.set("config",n)}}],conditional_function:()=>{const{grade:e}=a.session.get("config").userMetadata;return!ca(e)||(a.session.set("tosrecCorpusId",`tosrec${e}`),!1)}}],Wc="https://roar.stanford.edu/",Yc=function(e){const t=new go(e);return Object.defineProperties(t,Object.fromEntries(Object.entries({init:"`jsPsych.init()` was replaced by `initJsPsych()` in jsPsych v7.",ALL_KEYS:'jsPsych.ALL_KEYS was replaced by the "ALL_KEYS" string in jsPsych v7.',NO_KEYS:'jsPsych.NO_KEYS was replaced by the "NO_KEYS" string in jsPsych v7.',currentTimelineNodeID:"`currentTimelineNodeID()` was renamed to `getCurrentTimelineNodeID()` in jsPsych v7.",progress:"`progress()` was renamed to `getProgress()` in jsPsych v7.",startTime:"`startTime()` was renamed to `getStartTime()` in jsPsych v7.",totalTime:"`totalTime()` was renamed to `getTotalTime()` in jsPsych v7.",currentTrial:"`currentTrial()` was renamed to `getCurrentTrial()` in jsPsych v7.",initSettings:"`initSettings()` was renamed to `getInitSettings()` in jsPsych v7.",allTimelineVariables:"`allTimelineVariables()` was renamed to `getAllTimelineVariables()` in jsPsych v7."}).map((([e,t])=>[e,{get(){throw new ga(t)}}])))),t}({show_progress_bar:!1,auto_update_progress_bar:!1,message_progress_bar:`${hc.t("progressBar")}`,on_finish:()=>{document.body.style.cursor="auto";"demo"===a.session.get("config").recruitment&&(window.location.href=Wc)}});var Kc=i((function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var s=e[t];i[s[0]]=s[1]}return i}));var Gc=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e},Jc=Ys,Xc=qs;var Qc=function(e,t,n,i){var s=!n;n||(n={});for(var r=-1,a=t.length;++r<a;){var o=t[r],c=i?i(n[o],e[o],o,n,e):void 0;void 0===c&&(c=e[o]),s?Xc(n,o,c):Jc(n,o,c)}return n},Zc=Qc,el=Tn;var tl=function(e,t){return e&&Zc(t,el(t),e)},nl=Qc,il=yr;var sl=function(e,t){return e&&nl(t,il(t),e)},rl={exports:{}};!function(e,t){var n=L,i=t&&!t.nodeType&&t,s=i&&e&&!e.nodeType&&e,r=s&&s.exports===i?n.Buffer:void 0,a=r?r.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,i=a?a(n):new e.constructor(n);return e.copy(i),i}}(rl,rl.exports);var al=rl.exports;var ol=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t},cl=Qc,ll=Lt;var dl=function(e,t){return cl(e,ll(e),t)},ul=Qc,pl=lr;var fl=function(e,t){return ul(e,pl(e),t)},hl=Object.prototype.hasOwnProperty;var ml=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&hl.call(e,"index")&&(n.index=e.index,n.input=e.input),n},gl=ut;var yl=function(e){var t=new e.constructor(e.byteLength);return new gl(t).set(new gl(e)),t},vl=yl;var bl=function(e,t){var n=t?vl(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},_l=/\w*$/;var wl=function(e){var t=new e.constructor(e.source,_l.exec(e));return t.lastIndex=e.lastIndex,t},Il=O?O.prototype:void 0,xl=Il?Il.valueOf:void 0;var El=yl;var Sl=yl,Al=bl,kl=wl,Tl=function(e){return xl?Object(xl.call(e)):{}},Rl=function(e,t){var n=t?El(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var Cl=function(e,t,n){var i=e.constructor;switch(t){case"[object ArrayBuffer]":return Sl(e);case"[object Boolean]":case"[object Date]":return new i(+e);case"[object DataView]":return Al(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Rl(e,n);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(e);case"[object RegExp]":return kl(e);case"[object Symbol]":return Tl(e)}},Ll=V,Ol=Object.create,Nl=function(){function e(){}return function(t){if(!Ll(t))return{};if(Ol)return Ol(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Fl=sr,jl=gn;var Pl=function(e){return"function"!=typeof e.constructor||jl(e)?{}:Nl(Fl(e))},Ul=ei,Ml=Nt;var Dl=function(e){return Ml(e)&&"[object Map]"==Ul(e)},$l=Zt,zl=tn&&tn.isMap,Bl=zl?$l(zl):Dl,ql=ei,Vl=Nt;var Hl=function(e){return Vl(e)&&"[object Set]"==ql(e)},Wl=Zt,Yl=tn&&tn.isSet,Kl=Yl?Wl(Yl):Hl,Gl=nt,Jl=Gc,Xl=Ys,Ql=tl,Zl=sl,ed=al,td=ol,nd=dl,id=fl,sd=On,rd=wr,ad=ei,od=ml,cd=Cl,ld=Pl,dd=It,ud=Vt,pd=Bl,fd=V,hd=Kl,md=Tn,gd=yr,yd="[object Arguments]",vd="[object Function]",bd="[object Object]",_d={};_d[yd]=_d["[object Array]"]=_d["[object ArrayBuffer]"]=_d["[object DataView]"]=_d["[object Boolean]"]=_d["[object Date]"]=_d["[object Float32Array]"]=_d["[object Float64Array]"]=_d["[object Int8Array]"]=_d["[object Int16Array]"]=_d["[object Int32Array]"]=_d["[object Map]"]=_d["[object Number]"]=_d[bd]=_d["[object RegExp]"]=_d["[object Set]"]=_d["[object String]"]=_d["[object Symbol]"]=_d["[object Uint8Array]"]=_d["[object Uint8ClampedArray]"]=_d["[object Uint16Array]"]=_d["[object Uint32Array]"]=!0,_d["[object Error]"]=_d[vd]=_d["[object WeakMap]"]=!1;var wd=function e(t,n,i,s,r,a){var o,c=1&n,l=2&n,d=4&n;if(i&&(o=r?i(t,s,r,a):i(t)),void 0!==o)return o;if(!fd(t))return t;var u=dd(t);if(u){if(o=od(t),!c)return td(t,o)}else{var p=ad(t),f=p==vd||"[object GeneratorFunction]"==p;if(ud(t))return ed(t,c);if(p==bd||p==yd||f&&!r){if(o=l||f?{}:ld(t),!c)return l?id(t,Zl(o,t)):nd(t,Ql(o,t))}else{if(!_d[p])return r?t:{};o=cd(t,p,c)}}a||(a=new Gl);var h=a.get(t);if(h)return h;a.set(t,o),hd(t)?t.forEach((function(s){o.add(e(s,n,i,s,t,a))})):pd(t)&&t.forEach((function(s,r){o.set(r,e(s,n,i,r,t,a))}));var m=u?void 0:(d?l?rd:sd:l?gd:md)(t);return Jl(m||t,(function(s,r){m&&(s=t[r=s]),Xl(o,r,e(s,n,i,r,t,a))})),o};var Id=ss,xd=function(e,t,n){var i=-1,s=e.length;t<0&&(t=-t>s?0:s+t),(n=n>s?s:n)<0&&(n+=s),s=t>n?0:n-t>>>0,t>>>=0;for(var r=Array(s);++i<s;)r[i]=e[i+t];return r};var Ed=function(e,t){return t.length<2?e:Id(e,xd(t,0,-1))},Sd=Zi,Ad=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},kd=Ed,Td=ts;var Rd=function(e,t){return t=Sd(t,e),null==(e=kd(e,t))||delete e[Td(Ad(t))]},Cd=q,Ld=sr,Od=Nt,Nd=Function.prototype,Fd=Object.prototype,jd=Nd.toString,Pd=Fd.hasOwnProperty,Ud=jd.call(Object);var Md=function(e){if(!Od(e)||"[object Object]"!=Cd(e))return!1;var t=Ld(e);if(null===t)return!0;var n=Pd.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&jd.call(n)==Ud};var Dd=function(e){return Md(e)?void 0:e},$d=zt,zd=It,Bd=O?O.isConcatSpreadable:void 0;var qd=wt,Vd=function(e){return zd(e)||$d(e)||!!(Bd&&e&&e[Bd])};var Hd=function e(t,n,i,s,r){var a=-1,o=t.length;for(i||(i=Vd),r||(r=[]);++a<o;){var c=t[a];n>0&&i(c)?n>1?e(c,n-1,i,s,r):qd(r,c):s||(r[r.length]=c)}return r},Wd=Hd;var Yd=function(e){return(null==e?0:e.length)?Wd(e,1):[]};var Kd=function(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)},Gd=Math.max;var Jd=function(e,t,n){return t=Gd(void 0===t?e.length-1:t,0),function(){for(var i=arguments,s=-1,r=Gd(i.length-t,0),a=Array(r);++s<r;)a[s]=i[t+s];s=-1;for(var o=Array(t+1);++s<t;)o[s]=i[s];return o[t]=n(a),Kd(e,this,o)}};var Xd=function(e){return function(){return e}},Qd=zs,Zd=Qd?function(e,t){return Qd(e,"toString",{configurable:!0,enumerable:!1,value:Xd(t),writable:!0})}:Ss,eu=Date.now;var tu=function(e){var t=0,n=0;return function(){var i=eu(),s=16-(i-n);if(n=i,s>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Zd),nu=Yd,iu=Jd,su=tu;var ru=zi,au=wd,ou=Rd,cu=Zi,lu=Qc,du=Dd,uu=wr,pu=function(e){return su(iu(e,void 0,nu),e+"")}((function(e,t){var n={};if(null==e)return n;var i=!1;t=ru(t,(function(t){return t=cu(t,e),i||(i=t.length>1),t})),lu(e,uu(e),n),i&&(n=au(n,7,du));for(var s=t.length;s--;)ou(n,t[s]);return n})),fu=i(pu),hu=zi;var mu=function(e,t){return hu(t,(function(t){return[t,e[t]]}))},gu=ei,yu=pt,vu=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n};var bu=i(function(e){return function(t){var n=gu(t);return"[object Map]"==n?yu(t):"[object Set]"==n?vu(t):mu(t,e(t))}}(Tn)),_u={exports:{}};_u.exports=function e(){var n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:{};function i(){var t=n.URL||n.webkitURL||null,i=e.toString();return c.BLOB_URL||(c.BLOB_URL=t.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",i,")();"],{type:"text/javascript"})))}var s=!n.document&&!!n.postMessage,r=n.IS_PAPA_WORKER||!1,a={},o=0,c={};if(c.parse=d,c.unparse=u,c.RECORD_SEP=String.fromCharCode(30),c.UNIT_SEP=String.fromCharCode(31),c.BYTE_ORDER_MARK="\ufeff",c.BAD_DELIMITERS=["\r","\n",'"',c.BYTE_ORDER_MARK],c.WORKERS_SUPPORTED=!s&&!!n.Worker,c.NODE_STREAM_INPUT=1,c.LocalChunkSize=10485760,c.RemoteChunkSize=5242880,c.DefaultDelimiter=",",c.Parser=_,c.ParserHandle=v,c.NetworkStreamer=f,c.FileStreamer=h,c.StringStreamer=m,c.ReadableStreamStreamer=g,"undefined"==typeof PAPA_BROWSER_CONTEXT&&(c.DuplexStreamStreamer=y),n.jQuery){var l=n.jQuery;l.fn.parse=function(e){var t=e.config||{},i=[];return this.each((function(e){if("INPUT"!==l(this).prop("tagName").toUpperCase()||"file"!==l(this).attr("type").toLowerCase()||!n.FileReader||!this.files||0===this.files.length)return!0;for(var s=0;s<this.files.length;s++)i.push({file:this.files[s],inputElem:this,instanceConfig:l.extend({},t)})})),s(),this;function s(){if(0!==i.length){var t=i[0];if(T(e.before)){var n=e.before(t.file,t.inputElem);if("object"==typeof n){if("abort"===n.action)return void r("AbortError",t.file,t.inputElem,n.reason);if("skip"===n.action)return void a();"object"==typeof n.config&&(t.instanceConfig=l.extend(t.instanceConfig,n.config))}else if("skip"===n)return void a()}var s=t.instanceConfig.complete;t.instanceConfig.complete=function(e){T(s)&&s(e,t.file,t.inputElem),a()},c.parse(t.file,t.instanceConfig)}else T(e.complete)&&e.complete()}function r(t,n,i,s){T(e.error)&&e.error({name:t},n,i,s)}function a(){i.splice(0,1),s()}}}function d(e,t){var i=(t=t||{}).dynamicTyping||!1;if(T(i)&&(t.dynamicTypingFunction=i,i={}),t.dynamicTyping=i,t.transform=!!T(t.transform)&&t.transform,t.worker&&c.WORKERS_SUPPORTED){var s=w();return s.userStep=t.step,s.userChunk=t.chunk,s.userComplete=t.complete,s.userError=t.error,t.step=T(t.step),t.chunk=T(t.chunk),t.complete=T(t.complete),t.error=T(t.error),delete t.worker,void s.postMessage({input:e,config:t,workerId:s.id})}var r=null;return e===c.NODE_STREAM_INPUT&&"undefined"==typeof PAPA_BROWSER_CONTEXT?(r=new y(t)).getStream():("string"==typeof e?(e=a(e),r=t.download?new f(t):new m(t)):!0===e.readable&&T(e.read)&&T(e.on)?r=new g(t):(n.File&&e instanceof File||e instanceof Object)&&(r=new h(t)),r.stream(e));function a(e){return 65279===e.charCodeAt(0)?e.slice(1):e}}function u(e,t){var n=!1,i=!0,s=",",r="\r\n",a='"',o=a+a,l=!1,d=null,u=!1;f();var p=new RegExp(b(a),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return h(null,e,l);if("object"==typeof e[0])return h(d||Object.keys(e[0]),e,l)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||d),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),h(e.fields||[],e.data||[],l);throw new Error("Unable to serialize unrecognized input");function f(){if("object"==typeof t){if("string"!=typeof t.delimiter||c.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(s=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(l=t.skipEmptyLines),"string"==typeof t.newline&&(r=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(i=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");d=t.columns}void 0!==t.escapeChar&&(o=t.escapeChar+a),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(u=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}function h(e,t,n){var a="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var o=Array.isArray(e)&&e.length>0,c=!Array.isArray(t[0]);if(o&&i){for(var l=0;l<e.length;l++)l>0&&(a+=s),a+=m(e[l],l);t.length>0&&(a+=r)}for(var d=0;d<t.length;d++){var u=o?e.length:t[d].length,p=!1,f=o?0===Object.keys(t[d]).length:0===t[d].length;if(n&&!o&&(p="greedy"===n?""===t[d].join("").trim():1===t[d].length&&0===t[d][0].length),"greedy"===n&&o){for(var h=[],g=0;g<u;g++){var y=c?e[g]:g;h.push(t[d][y])}p=""===h.join("").trim()}if(!p){for(var v=0;v<u;v++){v>0&&!f&&(a+=s);var b=o&&c?e[v]:v;a+=m(t[d][b],v)}d<t.length-1&&(!n||u>0&&!f)&&(a+=r)}}return a}function m(e,t){if(null==e)return"";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);var i=!1;u&&"string"==typeof e&&u.test(e)&&(e="'"+e,i=!0);var r=e.toString().replace(p,o);return(i=i||!0===n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||g(r,c.BAD_DELIMITERS)||r.indexOf(s)>-1||" "===r.charAt(0)||" "===r.charAt(r.length-1))?a+r+a:r}function g(e,t){for(var n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return!0;return!1}}function p(e){function t(e){var t=A(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new v(t),this._handle.streamer=this,this._config=t}this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},t.call(this,e),this.parseChunk=function(e,t){if(this.isFirstChunk&&T(this._config.beforeFirstChunk)){var i=this._config.beforeFirstChunk(e);void 0!==i&&(e=i)}this.isFirstChunk=!1,this._halted=!1;var s=this._partialLine+e;this._partialLine="";var a=this._handle.parse(s,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var o=a.meta.cursor;this._finished||(this._partialLine=s.substring(o-this._baseIndex),this._baseIndex=o),a&&a.data&&(this._rowCount+=a.data.length);var l=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)n.postMessage({results:a,workerId:c.WORKER_ID,finished:l});else if(T(this._config.chunk)&&!t){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);a=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!l||!T(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),l||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){T(this._config.error)?this._config.error(e):r&&this._config.error&&n.postMessage({workerId:c.WORKER_ID,error:e,finished:!1})}}function f(e){var t;function n(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(e=e||{}).chunkSize||(e.chunkSize=c.RemoteChunkSize),p.call(this,e),this._nextChunk=s?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),s||(t.onload=k(this._chunkLoaded,this),t.onerror=k(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!s),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var n in e)t.setRequestHeader(n,e[n])}if(this._config.chunkSize){var i=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+i)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}s&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||t.status>=400?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=n(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function h(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=c.LocalChunkSize),p.call(this,e);var i="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,i?((t=new FileReader).onload=k(this._chunkLoaded,this),t.onerror=k(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var s=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,s)}var r=t.readAsText(e,this._config.encoding);i||this._chunkLoaded({target:{result:r}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function m(e){var t;e=e||{},p.call(this,e),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function g(e){e=e||{},p.call(this,e);var t=[],n=!0,i=!1;this.pause=function(){p.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){p.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){i&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=k((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=k((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=k((function(){this._streamCleanUp(),i=!0,this._streamData("")}),this),this._streamCleanUp=k((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function y(e){var n=t.Duplex,i=A(e),s=!0,r=!1,a=[],o=null;this._onCsvData=function(e){var t=e.data;o.push(t)||this._handle.paused()||this._handle.pause()},this._onCsvComplete=function(){o.push(null)},i.step=k(this._onCsvData,this),i.complete=k(this._onCsvComplete,this),p.call(this,i),this._nextChunk=function(){r&&1===a.length&&(this._finished=!0),a.length?a.shift()():s=!0},this._addToParseQueue=function(e,t){a.push(k((function(){if(this.parseChunk("string"==typeof e?e:e.toString(i.encoding)),T(t))return t()}),this)),s&&(s=!1,this._nextChunk())},this._onRead=function(){this._handle.paused()&&this._handle.resume()},this._onWrite=function(e,t,n){this._addToParseQueue(e,n)},this._onWriteComplete=function(){r=!0,this._addToParseQueue("")},this.getStream=function(){return o},(o=new n({readableObjectMode:!0,decodeStrings:!1,read:k(this._onRead,this),write:k(this._onWrite,this)})).once("finish",k(this._onWriteComplete,this))}function v(e){var t,n,i,s=Math.pow(2,53),r=-s,a=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,o=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,l=this,d=0,u=0,p=!1,f=!1,h=[],m={data:[],errors:[],meta:{}};if(T(e.step)){var g=e.step;e.step=function(t){if(m=t,I())w();else{if(w(),0===m.data.length)return;d+=t.data.length,e.preview&&d>e.preview?n.abort():(m.data=m.data[0],g(m,l))}}}function y(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function v(e){if(a.test(e)){var t=parseFloat(e);if(t>r&&t<s)return!0}return!1}function w(){return m&&i&&(L("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+c.DefaultDelimiter+"'"),i=!1),e.skipEmptyLines&&(m.data=m.data.filter((function(e){return!y(e)}))),I()&&x(),k()}function I(){return e.header&&0===h.length}function x(){if(m)if(Array.isArray(m.data[0])){for(var t=0;I()&&t<m.data.length;t++)m.data[t].forEach(n);m.data.splice(0,1)}else m.data.forEach(n);function n(t,n){T(e.transformHeader)&&(t=e.transformHeader(t,n)),h.push(t)}}function E(t){return e.dynamicTypingFunction&&void 0===e.dynamicTyping[t]&&(e.dynamicTyping[t]=e.dynamicTypingFunction(t)),!0===(e.dynamicTyping[t]||e.dynamicTyping)}function S(e,t){return E(e)?"true"===t||"TRUE"===t||"false"!==t&&"FALSE"!==t&&(v(t)?parseFloat(t):o.test(t)?new Date(t):""===t?null:t):t}function k(){if(!m||!e.header&&!e.dynamicTyping&&!e.transform)return m;function t(t,n){var i,s=e.header?{}:[];for(i=0;i<t.length;i++){var r=i,a=t[i];e.header&&(r=i>=h.length?"__parsed_extra":h[i]),e.transform&&(a=e.transform(a,r)),a=S(r,a),"__parsed_extra"===r?(s[r]=s[r]||[],s[r].push(a)):s[r]=a}return e.header&&(i>h.length?L("FieldMismatch","TooManyFields","Too many fields: expected "+h.length+" fields but parsed "+i,u+n):i<h.length&&L("FieldMismatch","TooFewFields","Too few fields: expected "+h.length+" fields but parsed "+i,u+n)),s}var n=1;return!m.data.length||Array.isArray(m.data[0])?(m.data=m.data.map(t),n=m.data.length):m.data=t(m.data,0),e.header&&m.meta&&(m.meta.fields=h),u+=n,m}function R(t,n,i,s,r){var a,o,l,d;r=r||[",","\t","|",";",c.RECORD_SEP,c.UNIT_SEP];for(var u=0;u<r.length;u++){var p=r[u],f=0,h=0,m=0;l=void 0;for(var g=new _({comments:s,delimiter:p,newline:n,preview:10}).parse(t),v=0;v<g.data.length;v++)if(i&&y(g.data[v]))m++;else{var b=g.data[v].length;h+=b,void 0!==l?b>0&&(f+=Math.abs(b-l),l=b):l=b}g.data.length>0&&(h/=g.data.length-m),(void 0===o||f<=o)&&(void 0===d||h>d)&&h>1.99&&(o=f,a=p,d=h)}return e.delimiter=a,{successful:!!a,bestDelimiter:a}}function C(e,t){e=e.substring(0,1048576);var n=new RegExp(b(t)+"([^]*?)"+b(t),"gm"),i=(e=e.replace(n,"")).split("\r"),s=e.split("\n"),r=s.length>1&&s[0].length<i[0].length;if(1===i.length||r)return"\n";for(var a=0,o=0;o<i.length;o++)"\n"===i[o][0]&&a++;return a>=i.length/2?"\r\n":"\r"}function L(e,t,n,i){var s={type:e,code:t,message:n};void 0!==i&&(s.row=i),m.errors.push(s)}this.parse=function(s,r,a){var o=e.quoteChar||'"';if(e.newline||(e.newline=C(s,o)),i=!1,e.delimiter)T(e.delimiter)&&(e.delimiter=e.delimiter(s),m.meta.delimiter=e.delimiter);else{var l=R(s,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess);l.successful?e.delimiter=l.bestDelimiter:(i=!0,e.delimiter=c.DefaultDelimiter),m.meta.delimiter=e.delimiter}var d=A(e);return e.preview&&e.header&&d.preview++,t=s,n=new _(d),m=n.parse(t,r,a),w(),p?{meta:{paused:!0}}:m||{meta:{paused:!1}}},this.paused=function(){return p},this.pause=function(){p=!0,n.abort(),t=T(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){l.streamer._halted?(p=!1,l.streamer.parseChunk(t,!0)):setTimeout(l.resume,3)},this.aborted=function(){return f},this.abort=function(){f=!0,n.abort(),m.meta.aborted=!0,T(e.complete)&&e.complete(m),t=""}}function b(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function _(e){var t,n=(e=e||{}).delimiter,i=e.newline,s=e.comments,r=e.step,a=e.preview,o=e.fastMode,l=t=void 0===e.quoteChar||null===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(l=e.escapeChar),("string"!=typeof n||c.BAD_DELIMITERS.indexOf(n)>-1)&&(n=","),s===n)throw new Error("Comment character same as delimiter");!0===s?s="#":("string"!=typeof s||c.BAD_DELIMITERS.indexOf(s)>-1)&&(s=!1),"\n"!==i&&"\r"!==i&&"\r\n"!==i&&(i="\n");var d=0,u=!1;this.parse=function(c,p,f){if("string"!=typeof c)throw new Error("Input must be a string");var h=c.length,m=n.length,g=i.length,y=s.length,v=T(r);d=0;var _=[],w=[],I=[],x=0;if(!c)return Y();if(e.header&&!p){var E=c.split(i)[0].split(n),S="_",A=[],k={},R=!1;for(var C in E){var L=E[C];T(e.transformHeader)&&(L=e.transformHeader(L,C));var O=L,N=k[L]||0;for(N>0&&(R=!0,O=L+S+N),k[L]=N+1;A.includes(O);)O=O+S+N;A.push(O)}if(R){var F=c.split(i);F[0]=A.join(n),c=F.join(i)}}if(o||!1!==o&&-1===c.indexOf(t)){for(var j=c.split(i),P=0;P<j.length;P++){if(I=j[P],d+=I.length,P!==j.length-1)d+=i.length;else if(f)return Y();if(!s||I.substring(0,y)!==s){if(v){if(_=[],q(I.split(n)),K(),u)return Y()}else q(I.split(n));if(a&&P>=a)return _=_.slice(0,a),Y(!0)}}return Y()}for(var U=c.indexOf(n,d),M=c.indexOf(i,d),D=new RegExp(b(l)+b(t),"g"),$=c.indexOf(t,d);;)if(c[d]!==t)if(s&&0===I.length&&c.substring(d,d+y)===s){if(-1===M)return Y();d=M+g,M=c.indexOf(i,d),U=c.indexOf(n,d)}else if(-1!==U&&(U<M||-1===M))I.push(c.substring(d,U)),d=U+m,U=c.indexOf(n,d);else{if(-1===M)break;if(I.push(c.substring(d,M)),W(M+g),v&&(K(),u))return Y();if(a&&_.length>=a)return Y(!0)}else for($=d,d++;;){if(-1===($=c.indexOf(t,$+1)))return f||w.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:_.length,index:d}),H();if($===h-1)return H(c.substring(d,$).replace(D,t));if(t!==l||c[$+1]!==l){if(t===l||0===$||c[$-1]!==l){-1!==U&&U<$+1&&(U=c.indexOf(n,$+1)),-1!==M&&M<$+1&&(M=c.indexOf(i,$+1));var z=V(-1===M?U:Math.min(U,M));if(c.substr($+1+z,m)===n){I.push(c.substring(d,$).replace(D,t)),d=$+1+z+m,c[$+1+z+m]!==t&&($=c.indexOf(t,d)),U=c.indexOf(n,d),M=c.indexOf(i,d);break}var B=V(M);if(c.substring($+1+B,$+1+B+g)===i){if(I.push(c.substring(d,$).replace(D,t)),W($+1+B+g),U=c.indexOf(n,d),$=c.indexOf(t,d),v&&(K(),u))return Y();if(a&&_.length>=a)return Y(!0);break}w.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:_.length,index:d}),$++}}else $++}return H();function q(e){_.push(e),x=d}function V(e){var t=0;if(-1!==e){var n=c.substring($+1,e);n&&""===n.trim()&&(t=n.length)}return t}function H(e){return f||(void 0===e&&(e=c.substring(d)),I.push(e),d=h,q(I),v&&K()),Y()}function W(e){d=e,q(I),I=[],M=c.indexOf(i,d)}function Y(e){return{data:_,errors:w,meta:{delimiter:n,linebreak:i,aborted:u,truncated:!!e,cursor:x+(p||0)}}}function K(){r(Y()),_=[],w=[]}},this.abort=function(){u=!0},this.getCharIndex=function(){return d}}function w(){if(!c.WORKERS_SUPPORTED)return!1;var e=i(),t=new n.Worker(e);return t.onmessage=I,t.id=o++,a[t.id]=t,t}function I(e){var t=e.data,n=a[t.workerId],i=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var s={abort:function(){i=!0,x(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:E,resume:E};if(T(n.userStep)){for(var r=0;r<t.results.data.length&&(n.userStep({data:t.results.data[r],errors:t.results.errors,meta:t.results.meta},s),!i);r++);delete t.results}else T(n.userChunk)&&(n.userChunk(t.results,s,t.file),delete t.results)}t.finished&&!i&&x(t.workerId,t.results)}function x(e,t){var n=a[e];T(n.userComplete)&&n.userComplete(t),n.terminate(),delete a[e]}function E(){throw new Error("Not implemented.")}function S(e){var t=e.data;if(void 0===c.WORKER_ID&&t&&(c.WORKER_ID=t.workerId),"string"==typeof t.input)n.postMessage({workerId:c.WORKER_ID,results:c.parse(t.input,t.config),finished:!0});else if(n.File&&t.input instanceof File||t.input instanceof Object){var i=c.parse(t.input,t.config);i&&n.postMessage({workerId:c.WORKER_ID,results:i,finished:!0})}}function A(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var n in e)t[n]=A(e[n]);return t}function k(e,t){return function(){e.apply(t,arguments)}}function T(e){return"function"==typeof e}return r&&(n.onmessage=S),f.prototype=Object.create(p.prototype),f.prototype.constructor=f,h.prototype=Object.create(p.prototype),h.prototype.constructor=h,m.prototype=Object.create(m.prototype),m.prototype.constructor=m,g.prototype=Object.create(p.prototype),g.prototype.constructor=g,"undefined"==typeof PAPA_BROWSER_CONTEXT&&(y.prototype=Object.create(p.prototype),y.prototype.constructor=y),c}();var wu=_u.exports;class Iu{constructor(){this.tableURL="https://storage.googleapis.com/roar-sre/scores/sre_lookup_v3.csv",this.lookupTable=[],this.tableLoaded=!1}async initTable(){return new Promise(((e,t)=>{const n=a.session.get("config").userMetadata?.grade;n||t(),this.gradeForScore=ca(n,1,12),wu.parse(this.tableURL,{download:!0,header:!0,dynamicTyping:!0,skipEmptyLines:!0,step:e=>{this.gradeForScore===Number(e.data.grade)&&this.lookupTable.push(fu(e.data,["","X"]))},complete:()=>{this.tableLoaded=!0,e()}})}))}computedScoreCallback=async e=>{const t=Kc(bu(e).map((([e,t])=>{const n="practice"===e?"practice":"test";return[e,{sreScore:(t[n]?.numCorrect||0)-(t[n]?.numIncorrect||0)}]}))),n=(i=t,i.lab?.sreScore?Math.max(t.lab.sreScore,0):i.aiV1P1?.sreScore?Math.max(i.aiV1P1.sreScore+5,0):i.aiV1P2?.sreScore?Math.max(i.aiV1P2.sreScore+3,0):0);var i;t.composite={sreScore:n};const s=a.session.get("config").userMetadata?.grade;if(s){this.tableLoaded||await this.initTable();const e=this.lookupTable.find((e=>e.sreScore===n));if(void 0!==e){const{grade:i,sreScore:s,...r}=e;t.composite={sreScore:n,...r}}}return t}}const xu={practice:Mc[hc.language].corpusPractice,lab:Mc[hc.language].corpusLab,ai:Mc[hc.language].corpusAI,tosrec:Mc[hc.language].corpusTOSREC,aiV1P1:Mc[hc.language].corpusAIV1P1,aiV1P2:Mc[hc.language].corpusAIV1P2,aiV2Testset:Mc[hc.language].corpusAIV2Testset},Eu=e=>e.reduce(((e,t)=>{const n={sentence:t.sentence,direction:t.direction,answer:t.answer,difficulty:t.difficulty,itemId:t.itemId};return e.push(n),e}),[]),Su=e=>e.reduce(((e,t)=>{const n={sentence:t.sentence,grade:t.grade,direction:t.direction,answer:t.answer,itemId:t.itemId};return e.push(n),e}),[]),Au={practice:(ku=xu.practice,ku.reduce(((e,t)=>{const n={sentence:t.sentence,answer:t.answer,correct_response:t.correctresponse};return e.push(n),e}),[])),lab:Eu(xu.lab),ai:Vc(Eu(xu.ai)).slice(0,130),aiV1P1:Eu(xu.aiV1P1),aiV1P2:Eu(xu.aiV1P2),aiV2:((e,t,n)=>{const i=((e,t)=>{const n=new Set;for(;n.size<t;){const t=Math.floor(Math.random()*e)+1;n.add(t)}return[...n]})(t,n),s=[];return i.forEach((t=>{s.push(...e.filter((e=>e.testsetId===t)))})),s})((e=>e.reduce(((e,t)=>{const n={sentence:t.sentence,grade:t.grade,direction:t.direction,answer:t.answer,itemId:t.itemId,testsetId:parseInt(t.testsetId,10)};return e.push(n),e}),[]))(xu.aiV2Testset),50,5),tosrec1:Su(xu.tosrec).filter((e=>1===e.grade)),tosrec2:Su(xu.tosrec).filter((e=>2===e.grade)),tosrec3:Su(xu.tosrec).filter((e=>3===e.grade)),tosrec4:Su(xu.tosrec).filter((e=>4===e.grade)),tosrec5:Su(xu.tosrec).filter((e=>5===e.grade)),tosrec6:Su(xu.tosrec).filter((e=>6===e.grade)),tosrec7:Su(xu.tosrec).filter((e=>7===e.grade)),tosrec8:Su(xu.tosrec).filter((e=>8===e.grade))};var ku;const Tu={name:"fullscreen",parameters:{fullscreen_mode:{type:ba.BOOL,pretty_name:"Fullscreen mode",default:!0,array:!1},message:{type:ba.HTML_STRING,pretty_name:"Message",default:"<p>The experiment will switch to full screen mode when you press the button below</p>",array:!1},button_label:{type:ba.STRING,pretty_name:"Button label",default:"Continue",array:!1},delay_after:{type:ba.INT,pretty_name:"Delay after",default:1e3,array:!1}}};class Ru{constructor(e){this.jsPsych=e}trial(e,t){"undefined"!=typeof Element&&"ALLOW_KEYBOARD_INPUT"in Element?this.endTrial(e,!1,t):t.fullscreen_mode?this.showDisplay(e,t):(this.exitFullScreen(),this.endTrial(e,!0,t))}showDisplay(e,t){e.innerHTML=`\n ${t.message}\n <button id="jspsych-fullscreen-btn" class="jspsych-btn">${t.button_label}</button>\n `,e.querySelector("#jspsych-fullscreen-btn").addEventListener("click",(()=>{this.enterFullScreen(),this.endTrial(e,!0,t)}))}endTrial(e,t,n){e.innerHTML="",this.jsPsych.pluginAPI.setTimeout((()=>{var e={success:t};this.jsPsych.finishTrial(e)}),n.delay_after)}enterFullScreen(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()}exitFullScreen(){(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)&&(document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen())}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){return this.jsPsych.pluginAPI.mergeSimulationData({success:!0},t)}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),s=this.jsPsych.getDisplayElement();!1===i.success?this.endTrial(s,!1,e):(this.trial(s,e),n(),this.jsPsych.pluginAPI.clickTarget(s.querySelector("#jspsych-fullscreen-btn"),this.jsPsych.randomization.sampleExGaussian(1e3,100,.005,!0)))}}Ru.info=Tu;let Cu=!0;const Lu={type:Ru,fullscreen_mode:!0,message:()=>`<div class='text_div'><h1>${hc.t("fullScreenTrial.prompt")}</h1></div>`,css_classes:["jspsych-content-modified"],delay_after:0,button_label:()=>`${hc.t("fullScreenTrial.buttonText")}`,on_start:()=>{document.body.style.cursor="default"},on_finish:()=>{Cu?Cu=!1:document.body.style.cursor="none"}},Ou=(e,t)=>{let n;return n=["true","false"].includes(e?.toLocaleLowerCase())?e?.toLocaleLowerCase():!(ca(t)>=6),n};function Nu(e){return"3minParallelAIFormV1"===e?Math.random()<.5?Vc(["lab","aiV1P1"]):Vc(["lab","aiV1P2"]):"3min1Block"===e?[Vc(["lab","aiV1P1","aiV1P2"])[0]]:"2BlocksV2"===e?[Vc(["lab","aiV1P1","aiV1P2"])[0],"aiV2"]:["lab","ai"]}function Fu(e){return"3min1Block"===e?[18e4]:"2BlocksV2"===e?[18e4,9e4]:[18e4,18e4]}const ju=e=>{e.displayElement&&(Yc.opts.display_element=e.displayElement);const t=(e,t)=>function(){e.apply(e,arguments),t.apply(e,arguments)};Yc.opts.on_finish=t(Yc.opts.on_finish,(()=>{e.firekit.finishRun(),e.experimentFinished&&e.experimentFinished()}));const n=new Iu;Yc.opts.on_data_update=t(Yc.opts.on_data_update,(t=>{t.save_trial&&e.firekit.writeTrial(t,n.computedScoreCallback.bind(n))})),window.addEventListener("error",(t=>{const{msg:n,url:i,lineNo:s,columnNo:r,error:a}=t;e.firekit?.writeTrial({assessment_stage:"error",lastTrial:Yc.data.getLastTrialData().trials[0],message:String(n),source:i||null,lineNo:String(s||null),colNo:String(r||null),error:JSON.stringify(a||null),timeStamp:(new Date).toISOString()})})),a.session.has("initialized")&&a.local("initialized")||(a.session.set("practiceIndex",0),a.session.set("currentBlockIndex",0),a.session.set("trialNumBlock",0),a.session.set("trialNumTotal",0),a.session.set("demoCounter",0),a.session.set("nextStimulus",null),a.session.set("response",""),a.session.set("dataCorrect",""),a.session.set("keyResponse",""),a.session.set("gradeKeyResponse",[]),a.session.set("currentCorpus",[]),a.session.set("timeOut",!1),a.session.set("practiceCorpus",Au.practice),a.session.set("currentTrialCorrect",!0),a.session.set("coinTrackingIndex",0),a.session.set("initialized",!0)),a.session},Pu=e=>[Lu,...Hc,{type:Io,func:()=>{const t=a.session.get("config");t.pid=t.pid||(()=>{let e="";const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let n=0;n<16;n+=1)e+=t.charAt(Math.floor(62*Math.random()));return e})(),e.updateUser({assessmentPid:t.pid,labId:t.labId,...t.userMetadata})}}];!function(e){var t=function(e){var t,n=Object.prototype,i=n.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function d(e,t,n,i){var r=t&&t.prototype instanceof y?t:y,a=Object.create(r.prototype),o=new C(i||[]);return s(a,"_invoke",{value:A(e,n,o)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=d;var p="suspendedStart",f="suspendedYield",h="executing",m="completed",g={};function y(){}function v(){}function b(){}var _={};l(_,a,(function(){return this}));var w=Object.getPrototypeOf,I=w&&w(w(L([])));I&&I!==n&&i.call(I,a)&&(_=I);var x=b.prototype=y.prototype=Object.create(_);function E(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(s,r,a,o){var c=u(e[s],e,r);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==typeof d&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,o)}),(function(e){n("throw",e,a,o)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,o)}))}o(c.arg)}var r;s(this,"_invoke",{value:function(e,i){function s(){return new t((function(t,s){n(e,i,t,s)}))}return r=r?r.then(s,s):s()}})}function A(e,t,n){var i=p;return function(s,r){if(i===h)throw new Error("Generator is already running");if(i===m){if("throw"===s)throw r;return O()}for(n.method=s,n.arg=r;;){var a=n.delegate;if(a){var o=k(a,n);if(o){if(o===g)continue;return o}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===p)throw i=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var c=u(e,t,n);if("normal"===c.type){if(i=n.done?m:f,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=m,n.method="throw",n.arg=c.arg)}}}function k(e,n){var i=n.method,s=e.iterator[i];if(s===t)return n.delegate=null,"throw"===i&&e.iterator.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),g;var r=u(s,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,g;var a=r.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function L(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var s=-1,r=function n(){for(;++s<e.length;)if(i.call(e,s))return n.value=e[s],n.done=!1,n;return n.value=t,n.done=!0,n};return r.next=r}}return{next:O}}function O(){return{value:t,done:!0}}return v.prototype=b,s(x,"constructor",{value:b,configurable:!0}),s(b,"constructor",{value:v,configurable:!0}),v.displayName=l(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},E(S.prototype),l(S.prototype,o,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,i,s,r){void 0===r&&(r=Promise);var a=new S(d(t,n,i,s),r);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(x),l(x,c,"Generator"),l(x,a,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},e.values=L,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function s(i,s){return o.type="throw",o.arg=e,n.next=i,s&&(n.method="next",n.arg=t),!!s}for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r],o=a.completion;if("root"===a.tryLoc)return s("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return s(a.catchLoc,!0);if(this.prev<a.finallyLoc)return s(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return s(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return s(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var s=this.tryEntries[n];if(s.tryLoc<=this.prev&&i.call(s,"finallyLoc")&&this.prev<s.finallyLoc){var r=s;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=e,a.arg=t,r?(this.method="next",this.next=r.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),R(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var s=i.arg;R(n)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:L(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var Uu={exports:{}};
|
|
18
|
+
/**
|
|
19
|
+
* @license
|
|
20
|
+
* Lodash <https://lodash.com/>
|
|
21
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
22
|
+
* Released under MIT license <https://lodash.com/license>
|
|
23
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
24
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
25
|
+
*/!function(e,t){(function(){var i,s="Expected a function",r="__lodash_hash_undefined__",a="__lodash_placeholder__",o=16,c=32,l=64,d=128,u=256,p=1/0,f=9007199254740991,h=NaN,m=4294967295,g=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",o],["flip",512],["partial",c],["partialRight",l],["rearg",u]],y="[object Arguments]",v="[object Array]",b="[object Boolean]",_="[object Date]",w="[object Error]",I="[object Function]",x="[object GeneratorFunction]",E="[object Map]",S="[object Number]",A="[object Object]",k="[object Promise]",T="[object RegExp]",R="[object Set]",C="[object String]",L="[object Symbol]",O="[object WeakMap]",N="[object ArrayBuffer]",F="[object DataView]",j="[object Float32Array]",P="[object Float64Array]",U="[object Int8Array]",M="[object Int16Array]",D="[object Int32Array]",$="[object Uint8Array]",z="[object Uint8ClampedArray]",B="[object Uint16Array]",q="[object Uint32Array]",V=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Y=/&(?:amp|lt|gt|quot|#39);/g,K=/[&<>"']/g,G=RegExp(Y.source),J=RegExp(K.source),X=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,te=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,se=RegExp(ie.source),re=/^\s+/,ae=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ue=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,we=/($^)/,Ie=/['\n\r\u2028\u2029\\]/g,xe="\\ud800-\\udfff",Ee="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",Ae="a-z\\xdf-\\xf6\\xf8-\\xff",ke="A-Z\\xc0-\\xd6\\xd8-\\xde",Te="\\ufe0e\\ufe0f",Re="\\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",Ce="['’]",Le="["+xe+"]",Oe="["+Re+"]",Ne="["+Ee+"]",Fe="\\d+",je="["+Se+"]",Pe="["+Ae+"]",Ue="[^"+xe+Re+Fe+Se+Ae+ke+"]",Me="\\ud83c[\\udffb-\\udfff]",De="[^"+xe+"]",$e="(?:\\ud83c[\\udde6-\\uddff]){2}",ze="[\\ud800-\\udbff][\\udc00-\\udfff]",Be="["+ke+"]",qe="\\u200d",Ve="(?:"+Pe+"|"+Ue+")",He="(?:"+Be+"|"+Ue+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",Ye="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ke="(?:"+Ne+"|"+Me+")"+"?",Ge="["+Te+"]?",Je=Ge+Ke+("(?:"+qe+"(?:"+[De,$e,ze].join("|")+")"+Ge+Ke+")*"),Xe="(?:"+[je,$e,ze].join("|")+")"+Je,Qe="(?:"+[De+Ne+"?",Ne,$e,ze,Le].join("|")+")",Ze=RegExp(Ce,"g"),et=RegExp(Ne,"g"),tt=RegExp(Me+"(?="+Me+")|"+Qe+Je,"g"),nt=RegExp([Be+"?"+Pe+"+"+We+"(?="+[Oe,Be,"$"].join("|")+")",He+"+"+Ye+"(?="+[Oe,Be+Ve,"$"].join("|")+")",Be+"?"+Ve+"+"+We,Be+"+"+Ye,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fe,Xe].join("|"),"g"),it=RegExp("["+qe+xe+Ee+Te+"]"),st=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,rt=["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"],at=-1,ot={};ot[j]=ot[P]=ot[U]=ot[M]=ot[D]=ot[$]=ot[z]=ot[B]=ot[q]=!0,ot[y]=ot[v]=ot[N]=ot[b]=ot[F]=ot[_]=ot[w]=ot[I]=ot[E]=ot[S]=ot[A]=ot[T]=ot[R]=ot[C]=ot[O]=!1;var ct={};ct[y]=ct[v]=ct[N]=ct[F]=ct[b]=ct[_]=ct[j]=ct[P]=ct[U]=ct[M]=ct[D]=ct[E]=ct[S]=ct[A]=ct[T]=ct[R]=ct[C]=ct[L]=ct[$]=ct[z]=ct[B]=ct[q]=!0,ct[w]=ct[I]=ct[O]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,ut=parseInt,pt="object"==typeof n&&n&&n.Object===Object&&n,ft="object"==typeof self&&self&&self.Object===Object&&self,ht=pt||ft||Function("return this")(),mt=t&&!t.nodeType&&t,gt=mt&&e&&!e.nodeType&&e,yt=gt&>.exports===mt,vt=yt&&pt.process,bt=function(){try{var e=gt&>.require&>.require("util").types;return e||vt&&vt.binding&&vt.binding("util")}catch(e){}}(),_t=bt&&bt.isArrayBuffer,wt=bt&&bt.isDate,It=bt&&bt.isMap,xt=bt&&bt.isRegExp,Et=bt&&bt.isSet,St=bt&&bt.isTypedArray;function At(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 kt(e,t,n,i){for(var s=-1,r=null==e?0:e.length;++s<r;){var a=e[s];t(i,a,n(a),e)}return i}function Tt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function Rt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ct(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 Lt(e,t){for(var n=-1,i=null==e?0:e.length,s=0,r=[];++n<i;){var a=e[n];t(a,n,e)&&(r[s++]=a)}return r}function Ot(e,t){return!!(null==e?0:e.length)&&Bt(e,t,0)>-1}function Nt(e,t,n){for(var i=-1,s=null==e?0:e.length;++i<s;)if(n(t,e[i]))return!0;return!1}function Ft(e,t){for(var n=-1,i=null==e?0:e.length,s=Array(i);++n<i;)s[n]=t(e[n],n,e);return s}function jt(e,t){for(var n=-1,i=t.length,s=e.length;++n<i;)e[s+n]=t[n];return e}function Pt(e,t,n,i){var s=-1,r=null==e?0:e.length;for(i&&r&&(n=e[++s]);++s<r;)n=t(n,e[s],s,e);return n}function Ut(e,t,n,i){var s=null==e?0:e.length;for(i&&s&&(n=e[--s]);s--;)n=t(n,e[s],s,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 Dt=Wt("length");function $t(e,t,n){var i;return n(e,(function(e,n,s){if(t(e,n,s))return i=n,!1})),i}function zt(e,t,n,i){for(var s=e.length,r=n+(i?1:-1);i?r--:++r<s;)if(t(e[r],r,e))return r;return-1}function Bt(e,t,n){return t==t?function(e,t,n){var i=n-1,s=e.length;for(;++i<s;)if(e[i]===t)return i;return-1}(e,t,n):zt(e,Vt,n)}function qt(e,t,n,i){for(var s=n-1,r=e.length;++s<r;)if(i(e[s],t))return s;return-1}function Vt(e){return e!=e}function Ht(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 Yt(e){return function(t){return null==e?i:e[t]}}function Kt(e,t,n,i,s){return s(e,(function(e,s,r){n=i?(i=!1,e):t(n,e,s,r)})),n}function Gt(e,t){for(var n,s=-1,r=e.length;++s<r;){var a=t(e[s]);a!==i&&(n=n===i?a:n+a)}return n}function Jt(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function Xt(e){return e?e.slice(0,mn(e)+1).replace(re,""):e}function Qt(e){return function(t){return e(t)}}function Zt(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&&Bt(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length;n--&&Bt(t,e[n],0)>-1;);return n}var sn=Yt({"À":"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"}),rn=Yt({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(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 dn(e,t){for(var n=-1,i=e.length,s=0,r=[];++n<i;){var o=e[n];o!==t&&o!==a||(e[n]=a,r[s++]=n)}return r}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function pn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function fn(e){return on(e)?function(e){var t=tt.lastIndex=0;for(;tt.test(e);)++t;return t}(e):Dt(e)}function hn(e){return on(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.split("")}(e)}function mn(e){for(var t=e.length;t--&&ae.test(e.charAt(t)););return t}var gn=Yt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var yn=function e(t){var n=(t=null==t?ht:yn.defaults(ht.Object(),t,yn.pick(ht,rt))).Array,ae=t.Date,xe=t.Error,Ee=t.Function,Se=t.Math,Ae=t.Object,ke=t.RegExp,Te=t.String,Re=t.TypeError,Ce=n.prototype,Le=Ee.prototype,Oe=Ae.prototype,Ne=t["__core-js_shared__"],Fe=Le.toString,je=Oe.hasOwnProperty,Pe=0,Ue=function(){var e=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Me=Oe.toString,De=Fe.call(Ae),$e=ht._,ze=ke("^"+Fe.call(je).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Be=yt?t.Buffer:i,qe=t.Symbol,Ve=t.Uint8Array,He=Be?Be.allocUnsafe:i,We=ln(Ae.getPrototypeOf,Ae),Ye=Ae.create,Ke=Oe.propertyIsEnumerable,Ge=Ce.splice,Je=qe?qe.isConcatSpreadable:i,Xe=qe?qe.iterator:i,Qe=qe?qe.toStringTag:i,tt=function(){try{var e=ur(Ae,"defineProperty");return e({},"",{}),e}catch(e){}}(),it=t.clearTimeout!==ht.clearTimeout&&t.clearTimeout,lt=ae&&ae.now!==ht.Date.now&&ae.now,pt=t.setTimeout!==ht.setTimeout&&t.setTimeout,ft=Se.ceil,mt=Se.floor,gt=Ae.getOwnPropertySymbols,vt=Be?Be.isBuffer:i,bt=t.isFinite,Dt=Ce.join,Yt=ln(Ae.keys,Ae),vn=Se.max,bn=Se.min,_n=ae.now,wn=t.parseInt,In=Se.random,xn=Ce.reverse,En=ur(t,"DataView"),Sn=ur(t,"Map"),An=ur(t,"Promise"),kn=ur(t,"Set"),Tn=ur(t,"WeakMap"),Rn=ur(Ae,"create"),Cn=Tn&&new Tn,Ln={},On=Ur(En),Nn=Ur(Sn),Fn=Ur(An),jn=Ur(kn),Pn=Ur(Tn),Un=qe?qe.prototype:i,Mn=Un?Un.valueOf:i,Dn=Un?Un.toString:i;function $n(e){if(eo(e)&&!qa(e)&&!(e instanceof Vn)){if(e instanceof qn)return e;if(je.call(e,"__wrapped__"))return Mr(e)}return new qn(e)}var zn=function(){function e(){}return function(t){if(!Za(t))return{};if(Ye)return Ye(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Bn(){}function qn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Vn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Hn(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 Yn(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 Kn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Yn;++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=qa(e),i=!n&&Ba(e),s=!n&&!i&&Ya(e),r=!n&&!i&&!s&&co(e),a=n||i||s||r,o=a?Jt(e.length,Te):[],c=o.length;for(var l in e)!t&&!je.call(e,l)||a&&("length"==l||s&&("offset"==l||"parent"==l)||r&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||vr(l,c))||o.push(l);return o}function Xn(e){var t=e.length;return t?e[Ki(0,t-1)]:i}function Qn(e,t){return Fr(Rs(e),oi(t,0,e.length))}function Zn(e){return Fr(Rs(e))}function ei(e,t,n){(n!==i&&!Da(e[t],n)||n===i&&!(t in e))&&ri(e,t,n)}function ti(e,t,n){var s=e[t];je.call(e,t)&&Da(s,n)&&(n!==i||t in e)||ri(e,t,n)}function ni(e,t){for(var n=e.length;n--;)if(Da(e[n][0],t))return n;return-1}function ii(e,t,n,i){return pi(e,(function(e,s,r){t(i,e,n(e),r)})),i}function si(e,t){return e&&Cs(t,Lo(t),e)}function ri(e,t,n){"__proto__"==t&&tt?tt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ai(e,t){for(var s=-1,r=t.length,a=n(r),o=null==e;++s<r;)a[s]=o?i:Ao(e,t[s]);return a}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,s,r,a){var o,c=1&t,l=2&t,d=4&t;if(n&&(o=r?n(e,s,r,a):n(e)),o!==i)return o;if(!Za(e))return e;var u=qa(e);if(u){if(o=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&je.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return Rs(e,o)}else{var p=hr(e),f=p==I||p==x;if(Ya(e))return xs(e,c);if(p==A||p==y||f&&!r){if(o=l||f?{}:gr(e),!c)return l?function(e,t){return Cs(e,fr(e),t)}(e,function(e,t){return e&&Cs(t,Oo(t),e)}(o,e)):function(e,t){return Cs(e,pr(e),t)}(e,si(o,e))}else{if(!ct[p])return r?e:{};o=function(e,t,n){var i=e.constructor;switch(t){case N:return Es(e);case b:case _:return new i(+e);case F:return function(e,t){var n=t?Es(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case j:case P:case U:case M:case D:case $:case z:case B:case q:return Ss(e,n);case E:return new i;case S:case C:return new i(e);case T:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case R:return new i;case L:return s=e,Mn?Ae(Mn.call(s)):{}}var s}(e,p,c)}}a||(a=new Gn);var h=a.get(e);if(h)return h;a.set(e,o),ro(e)?e.forEach((function(i){o.add(ci(i,t,n,i,e,a))})):to(e)&&e.forEach((function(i,s){o.set(s,ci(i,t,n,s,e,a))}));var m=u?i:(d?l?sr:ir:l?Oo:Lo)(e);return Tt(m||e,(function(i,s){m&&(i=e[s=i]),ti(o,s,ci(i,t,n,s,e,a))})),o}function li(e,t,n){var s=n.length;if(null==e)return!s;for(e=Ae(e);s--;){var r=n[s],a=t[r],o=e[r];if(o===i&&!(r in e)||!a(o))return!1}return!0}function di(e,t,n){if("function"!=typeof e)throw new Re(s);return Cr((function(){e.apply(i,n)}),t)}function ui(e,t,n,i){var s=-1,r=Ot,a=!0,o=e.length,c=[],l=t.length;if(!o)return c;n&&(t=Ft(t,Qt(n))),i?(r=Nt,a=!1):t.length>=200&&(r=en,a=!1,t=new Kn(t));e:for(;++s<o;){var d=e[s],u=null==n?d:n(d);if(d=i||0!==d?d:0,a&&u==u){for(var p=l;p--;)if(t[p]===u)continue e;c.push(d)}else r(t,u,i)||c.push(d)}return c}$n.templateSettings={escape:X,evaluate:Q,interpolate:Z,variable:"",imports:{_:$n}},$n.prototype=Bn.prototype,$n.prototype.constructor=$n,qn.prototype=zn(Bn.prototype),qn.prototype.constructor=qn,Vn.prototype=zn(Bn.prototype),Vn.prototype.constructor=Vn,Hn.prototype.clear=function(){this.__data__=Rn?Rn(null):{},this.size=0},Hn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Hn.prototype.get=function(e){var t=this.__data__;if(Rn){var n=t[e];return n===r?i:n}return je.call(t,e)?t[e]:i},Hn.prototype.has=function(e){var t=this.__data__;return Rn?t[e]!==i:je.call(t,e)},Hn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Rn&&t===i?r: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},Yn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(Sn||Wn),string:new Hn}},Yn.prototype.delete=function(e){var t=lr(this,e).delete(e);return this.size-=t?1:0,t},Yn.prototype.get=function(e){return lr(this,e).get(e)},Yn.prototype.has=function(e){return lr(this,e).has(e)},Yn.prototype.set=function(e,t){var n=lr(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},Kn.prototype.add=Kn.prototype.push=function(e){return this.__data__.set(e,r),this},Kn.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(!Sn||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Yn(i)}return n.set(e,t),this.size=n.size,this};var pi=Ns(_i),fi=Ns(wi,!0);function hi(e,t){var n=!0;return pi(e,(function(e,i,s){return n=!!t(e,i,s)})),n}function mi(e,t,n){for(var s=-1,r=e.length;++s<r;){var a=e[s],o=t(a);if(null!=o&&(c===i?o==o&&!oo(o):n(o,c)))var c=o,l=a}return l}function gi(e,t){var n=[];return pi(e,(function(e,i,s){t(e,i,s)&&n.push(e)})),n}function yi(e,t,n,i,s){var r=-1,a=e.length;for(n||(n=yr),s||(s=[]);++r<a;){var o=e[r];t>0&&n(o)?t>1?yi(o,t-1,n,i,s):jt(s,o):i||(s[s.length]=o)}return s}var vi=Fs(),bi=Fs(!0);function _i(e,t){return e&&vi(e,t,Lo)}function wi(e,t){return e&&bi(e,t,Lo)}function Ii(e,t){return Lt(t,(function(t){return Ja(e[t])}))}function xi(e,t){for(var n=0,s=(t=bs(t,e)).length;null!=e&&n<s;)e=e[Pr(t[n++])];return n&&n==s?e:i}function Ei(e,t,n){var i=t(e);return qa(e)?i:jt(i,n(e))}function Si(e){return null==e?e===i?"[object Undefined]":"[object Null]":Qe&&Qe in Ae(e)?function(e){var t=je.call(e,Qe),n=e[Qe];try{e[Qe]=i;var s=!0}catch(e){}var r=Me.call(e);s&&(t?e[Qe]=n:delete e[Qe]);return r}(e):function(e){return Me.call(e)}(e)}function Ai(e,t){return e>t}function ki(e,t){return null!=e&&je.call(e,t)}function Ti(e,t){return null!=e&&t in Ae(e)}function Ri(e,t,s){for(var r=s?Nt:Ot,a=e[0].length,o=e.length,c=o,l=n(o),d=1/0,u=[];c--;){var p=e[c];c&&t&&(p=Ft(p,Qt(t))),d=bn(p.length,d),l[c]=!s&&(t||a>=120&&p.length>=120)?new Kn(c&&p):i}p=e[0];var f=-1,h=l[0];e:for(;++f<a&&u.length<d;){var m=p[f],g=t?t(m):m;if(m=s||0!==m?m:0,!(h?en(h,g):r(u,g,s))){for(c=o;--c;){var y=l[c];if(!(y?en(y,g):r(e[c],g,s)))continue e}h&&h.push(g),u.push(m)}}return u}function Ci(e,t,n){var s=null==(e=kr(e,t=bs(t,e)))?e:e[Pr(Gr(t))];return null==s?i:At(s,e,n)}function Li(e){return eo(e)&&Si(e)==y}function Oi(e,t,n,s,r){return e===t||(null==e||null==t||!eo(e)&&!eo(t)?e!=e&&t!=t:function(e,t,n,s,r,a){var o=qa(e),c=qa(t),l=o?v:hr(e),d=c?v:hr(t),u=(l=l==y?A:l)==A,p=(d=d==y?A:d)==A,f=l==d;if(f&&Ya(e)){if(!Ya(t))return!1;o=!0,u=!1}if(f&&!u)return a||(a=new Gn),o||co(e)?tr(e,t,n,s,r,a):function(e,t,n,i,s,r,a){switch(n){case F:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case N:return!(e.byteLength!=t.byteLength||!r(new Ve(e),new Ve(t)));case b:case _:case S:return Da(+e,+t);case w:return e.name==t.name&&e.message==t.message;case T:case C:return e==t+"";case E:var o=cn;case R:var c=1&i;if(o||(o=un),e.size!=t.size&&!c)return!1;var l=a.get(e);if(l)return l==t;i|=2,a.set(e,t);var d=tr(o(e),o(t),i,s,r,a);return a.delete(e),d;case L:if(Mn)return Mn.call(e)==Mn.call(t)}return!1}(e,t,l,n,s,r,a);if(!(1&n)){var h=u&&je.call(e,"__wrapped__"),m=p&&je.call(t,"__wrapped__");if(h||m){var g=h?e.value():e,I=m?t.value():t;return a||(a=new Gn),r(g,I,n,s,a)}}if(!f)return!1;return a||(a=new Gn),function(e,t,n,s,r,a){var o=1&n,c=ir(e),l=c.length,d=ir(t),u=d.length;if(l!=u&&!o)return!1;var p=l;for(;p--;){var f=c[p];if(!(o?f in t:je.call(t,f)))return!1}var h=a.get(e),m=a.get(t);if(h&&m)return h==t&&m==e;var g=!0;a.set(e,t),a.set(t,e);var y=o;for(;++p<l;){var v=e[f=c[p]],b=t[f];if(s)var _=o?s(b,v,f,t,e,a):s(v,b,f,e,t,a);if(!(_===i?v===b||r(v,b,n,s,a):_)){g=!1;break}y||(y="constructor"==f)}if(g&&!y){var w=e.constructor,I=t.constructor;w==I||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof I&&I instanceof I||(g=!1)}return a.delete(e),a.delete(t),g}(e,t,n,s,r,a)}(e,t,n,s,Oi,r))}function Ni(e,t,n,s){var r=n.length,a=r,o=!s;if(null==e)return!a;for(e=Ae(e);r--;){var c=n[r];if(o&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++r<a;){var l=(c=n[r])[0],d=e[l],u=c[1];if(o&&c[2]){if(d===i&&!(l in e))return!1}else{var p=new Gn;if(s)var f=s(d,u,l,e,t,p);if(!(f===i?Oi(u,d,3,s,p):f))return!1}}return!0}function Fi(e){return!(!Za(e)||(t=e,Ue&&Ue in t))&&(Ja(e)?ze:ye).test(Ur(e));var t}function ji(e){return"function"==typeof e?e:null==e?ic:"object"==typeof e?qa(e)?zi(e[0],e[1]):$i(e):pc(e)}function Pi(e){if(!xr(e))return Yt(e);var t=[];for(var n in Ae(e))je.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Ui(e){if(!Za(e))return function(e){var t=[];if(null!=e)for(var n in Ae(e))t.push(n);return t}(e);var t=xr(e),n=[];for(var i in e)("constructor"!=i||!t&&je.call(e,i))&&n.push(i);return n}function Mi(e,t){return e<t}function Di(e,t){var i=-1,s=Ha(e)?n(e.length):[];return pi(e,(function(e,n,r){s[++i]=t(e,n,r)})),s}function $i(e){var t=dr(e);return 1==t.length&&t[0][2]?Sr(t[0][0],t[0][1]):function(n){return n===e||Ni(n,e,t)}}function zi(e,t){return _r(e)&&Er(t)?Sr(Pr(e),t):function(n){var s=Ao(n,e);return s===i&&s===t?ko(n,e):Oi(t,s,3)}}function Bi(e,t,n,s,r){e!==t&&vi(t,(function(a,o){if(r||(r=new Gn),Za(a))!function(e,t,n,s,r,a,o){var c=Tr(e,n),l=Tr(t,n),d=o.get(l);if(d)return void ei(e,n,d);var u=a?a(c,l,n+"",e,t,o):i,p=u===i;if(p){var f=qa(l),h=!f&&Ya(l),m=!f&&!h&&co(l);u=l,f||h||m?qa(c)?u=c:Wa(c)?u=Rs(c):h?(p=!1,u=xs(l,!0)):m?(p=!1,u=Ss(l,!0)):u=[]:io(l)||Ba(l)?(u=c,Ba(c)?u=yo(c):Za(c)&&!Ja(c)||(u=gr(l))):p=!1}p&&(o.set(l,u),r(u,l,s,a,o),o.delete(l));ei(e,n,u)}(e,t,o,n,Bi,s,r);else{var c=s?s(Tr(e,o),a,o+"",e,t,r):i;c===i&&(c=a),ei(e,o,c)}}),Oo)}function qi(e,t){var n=e.length;if(n)return vr(t+=t<0?n:0,n)?e[t]:i}function Vi(e,t,n){t=t.length?Ft(t,(function(e){return qa(e)?function(t){return xi(t,1===e.length?e[0]:e)}:e})):[ic];var i=-1;t=Ft(t,Qt(cr()));var s=Di(e,(function(e,n,s){var r=Ft(t,(function(t){return t(e)}));return{criteria:r,index:++i,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(s,(function(e,t){return function(e,t,n){var i=-1,s=e.criteria,r=t.criteria,a=s.length,o=n.length;for(;++i<a;){var c=As(s[i],r[i]);if(c)return i>=o?c:c*("desc"==n[i]?-1:1)}return e.index-t.index}(e,t,n)}))}function Hi(e,t,n){for(var i=-1,s=t.length,r={};++i<s;){var a=t[i],o=xi(e,a);n(o,a)&&Zi(r,bs(a,e),o)}return r}function Wi(e,t,n,i){var s=i?qt:Bt,r=-1,a=t.length,o=e;for(e===t&&(t=Rs(t)),n&&(o=Ft(e,Qt(n)));++r<a;)for(var c=0,l=t[r],d=n?n(l):l;(c=s(o,d,c,i))>-1;)o!==e&&Ge.call(o,c,1),Ge.call(e,c,1);return e}function Yi(e,t){for(var n=e?t.length:0,i=n-1;n--;){var s=t[n];if(n==i||s!==r){var r=s;vr(s)?Ge.call(e,s,1):us(e,s)}}return e}function Ki(e,t){return e+mt(In()*(t-e+1))}function Gi(e,t){var n="";if(!e||t<1||t>f)return n;do{t%2&&(n+=e),(t=mt(t/2))&&(e+=e)}while(t);return n}function Ji(e,t){return Lr(Ar(e,t,ic),e+"")}function Xi(e){return Xn($o(e))}function Qi(e,t){var n=$o(e);return Fr(n,oi(t,0,n.length))}function Zi(e,t,n,s){if(!Za(e))return e;for(var r=-1,a=(t=bs(t,e)).length,o=a-1,c=e;null!=c&&++r<a;){var l=Pr(t[r]),d=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(r!=o){var u=c[l];(d=s?s(u,l,c):i)===i&&(d=Za(u)?u:vr(t[r+1])?[]:{})}ti(c,l,d),c=c[l]}return e}var es=Cn?function(e,t){return Cn.set(e,t),e}:ic,ts=tt?function(e,t){return tt(e,"toString",{configurable:!0,enumerable:!1,value:ec(t),writable:!0})}:ic;function ns(e){return Fr($o(e))}function is(e,t,i){var s=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(i=i>r?r:i)<0&&(i+=r),r=t>i?0:i-t>>>0,t>>>=0;for(var a=n(r);++s<r;)a[s]=e[s+t];return a}function ss(e,t){var n;return pi(e,(function(e,i,s){return!(n=t(e,i,s))})),!!n}function rs(e,t,n){var i=0,s=null==e?i:e.length;if("number"==typeof t&&t==t&&s<=2147483647){for(;i<s;){var r=i+s>>>1,a=e[r];null!==a&&!oo(a)&&(n?a<=t:a<t)?i=r+1:s=r}return s}return as(e,t,ic,n)}function as(e,t,n,s){var r=0,a=null==e?0:e.length;if(0===a)return 0;for(var o=(t=n(t))!=t,c=null===t,l=oo(t),d=t===i;r<a;){var u=mt((r+a)/2),p=n(e[u]),f=p!==i,h=null===p,m=p==p,g=oo(p);if(o)var y=s||m;else y=d?m&&(s||f):c?m&&f&&(s||!h):l?m&&f&&!h&&(s||!g):!h&&!g&&(s?p<=t:p<t);y?r=u+1:a=u}return bn(a,4294967294)}function os(e,t){for(var n=-1,i=e.length,s=0,r=[];++n<i;){var a=e[n],o=t?t(a):a;if(!n||!Da(o,c)){var c=o;r[s++]=0===a?0:a}}return r}function cs(e){return"number"==typeof e?e:oo(e)?h:+e}function ls(e){if("string"==typeof e)return e;if(qa(e))return Ft(e,ls)+"";if(oo(e))return Dn?Dn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ds(e,t,n){var i=-1,s=Ot,r=e.length,a=!0,o=[],c=o;if(n)a=!1,s=Nt;else if(r>=200){var l=t?null:Gs(e);if(l)return un(l);a=!1,s=en,c=new Kn}else c=t?[]:o;e:for(;++i<r;){var d=e[i],u=t?t(d):d;if(d=n||0!==d?d:0,a&&u==u){for(var p=c.length;p--;)if(c[p]===u)continue e;t&&c.push(u),o.push(d)}else s(c,u,n)||(c!==o&&c.push(u),o.push(d))}return o}function us(e,t){return null==(e=kr(e,t=bs(t,e)))||delete e[Pr(Gr(t))]}function ps(e,t,n,i){return Zi(e,t,n(xi(e,t)),i)}function fs(e,t,n,i){for(var s=e.length,r=i?s:-1;(i?r--:++r<s)&&t(e[r],r,e););return n?is(e,i?0:r,i?r+1:s):is(e,i?r+1:0,i?s:r)}function hs(e,t){var n=e;return n instanceof Vn&&(n=n.value()),Pt(t,(function(e,t){return t.func.apply(t.thisArg,jt([e],t.args))}),n)}function ms(e,t,i){var s=e.length;if(s<2)return s?ds(e[0]):[];for(var r=-1,a=n(s);++r<s;)for(var o=e[r],c=-1;++c<s;)c!=r&&(a[r]=ui(a[r]||o,e[c],t,i));return ds(yi(a,1),t,i)}function gs(e,t,n){for(var s=-1,r=e.length,a=t.length,o={};++s<r;){var c=s<a?t[s]:i;n(o,e[s],c)}return o}function ys(e){return Wa(e)?e:[]}function vs(e){return"function"==typeof e?e:ic}function bs(e,t){return qa(e)?e:_r(e,t)?[e]:jr(vo(e))}var _s=Ji;function ws(e,t,n){var s=e.length;return n=n===i?s:n,!t&&n>=s?e:is(e,t,n)}var Is=it||function(e){return ht.clearTimeout(e)};function xs(e,t){if(t)return e.slice();var n=e.length,i=He?He(n):new e.constructor(n);return e.copy(i),i}function Es(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function Ss(e,t){var n=t?Es(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function As(e,t){if(e!==t){var n=e!==i,s=null===e,r=e==e,a=oo(e),o=t!==i,c=null===t,l=t==t,d=oo(t);if(!c&&!d&&!a&&e>t||a&&o&&l&&!c&&!d||s&&o&&l||!n&&l||!r)return 1;if(!s&&!a&&!d&&e<t||d&&n&&r&&!s&&!a||c&&n&&r||!o&&r||!l)return-1}return 0}function ks(e,t,i,s){for(var r=-1,a=e.length,o=i.length,c=-1,l=t.length,d=vn(a-o,0),u=n(l+d),p=!s;++c<l;)u[c]=t[c];for(;++r<o;)(p||r<a)&&(u[i[r]]=e[r]);for(;d--;)u[c++]=e[r++];return u}function Ts(e,t,i,s){for(var r=-1,a=e.length,o=-1,c=i.length,l=-1,d=t.length,u=vn(a-c,0),p=n(u+d),f=!s;++r<u;)p[r]=e[r];for(var h=r;++l<d;)p[h+l]=t[l];for(;++o<c;)(f||r<a)&&(p[h+i[o]]=e[r++]);return p}function Rs(e,t){var i=-1,s=e.length;for(t||(t=n(s));++i<s;)t[i]=e[i];return t}function Cs(e,t,n,s){var r=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var c=t[a],l=s?s(n[c],e[c],c,n,e):i;l===i&&(l=e[c]),r?ri(n,c,l):ti(n,c,l)}return n}function Ls(e,t){return function(n,i){var s=qa(n)?kt:ii,r=t?t():{};return s(n,e,cr(i,2),r)}}function Os(e){return Ji((function(t,n){var s=-1,r=n.length,a=r>1?n[r-1]:i,o=r>2?n[2]:i;for(a=e.length>3&&"function"==typeof a?(r--,a):i,o&&br(n[0],n[1],o)&&(a=r<3?i:a,r=1),t=Ae(t);++s<r;){var c=n[s];c&&e(t,c,s,a)}return t}))}function Ns(e,t){return function(n,i){if(null==n)return n;if(!Ha(n))return e(n,i);for(var s=n.length,r=t?s:-1,a=Ae(n);(t?r--:++r<s)&&!1!==i(a[r],r,a););return n}}function Fs(e){return function(t,n,i){for(var s=-1,r=Ae(t),a=i(t),o=a.length;o--;){var c=a[e?o:++s];if(!1===n(r[c],c,r))break}return t}}function js(e){return function(t){var n=on(t=vo(t))?hn(t):i,s=n?n[0]:t.charAt(0),r=n?ws(n,1).join(""):t.slice(1);return s[e]()+r}}function Ps(e){return function(t){return Pt(Xo(qo(t).replace(Ze,"")),e,"")}}function Us(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=zn(e.prototype),i=e.apply(n,t);return Za(i)?i:n}}function Ms(e){return function(t,n,s){var r=Ae(t);if(!Ha(t)){var a=cr(n,3);t=Lo(t),n=function(e){return a(r[e],e,r)}}var o=e(t,n,s);return o>-1?r[a?t[o]:o]:i}}function Ds(e){return nr((function(t){var n=t.length,r=n,a=qn.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if("function"!=typeof o)throw new Re(s);if(a&&!c&&"wrapper"==ar(o))var c=new qn([],!0)}for(r=c?r:n;++r<n;){var l=ar(o=t[r]),d="wrapper"==l?rr(o):i;c=d&&wr(d[0])&&424==d[1]&&!d[4].length&&1==d[9]?c[ar(d[0])].apply(c,d[3]):1==o.length&&wr(o)?c[l]():c.thru(o)}return function(){var e=arguments,i=e[0];if(c&&1==e.length&&qa(i))return c.plant(i).value();for(var s=0,r=n?t[s].apply(this,e):i;++s<n;)r=t[s].call(this,r);return r}}))}function $s(e,t,s,r,a,o,c,l,u,p){var f=t&d,h=1&t,m=2&t,g=24&t,y=512&t,v=m?i:Us(e);return function d(){for(var b=arguments.length,_=n(b),w=b;w--;)_[w]=arguments[w];if(g)var I=or(d),x=function(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}(_,I);if(r&&(_=ks(_,r,a,g)),o&&(_=Ts(_,o,c,g)),b-=x,g&&b<p){var E=dn(_,I);return Ys(e,t,$s,d.placeholder,s,_,E,l,u,p-b)}var S=h?s:this,A=m?S[e]:e;return b=_.length,l?_=function(e,t){var n=e.length,s=bn(t.length,n),r=Rs(e);for(;s--;){var a=t[s];e[s]=vr(a,n)?r[a]:i}return e}(_,l):y&&b>1&&_.reverse(),f&&u<b&&(_.length=u),this&&this!==ht&&this instanceof d&&(A=v||Us(A)),A.apply(S,_)}}function zs(e,t){return function(n,i){return function(e,t,n,i){return _i(e,(function(e,s,r){t(i,n(e),s,r)})),i}(n,e,t(i),{})}}function Bs(e,t){return function(n,s){var r;if(n===i&&s===i)return t;if(n!==i&&(r=n),s!==i){if(r===i)return s;"string"==typeof n||"string"==typeof s?(n=ls(n),s=ls(s)):(n=cs(n),s=cs(s)),r=e(n,s)}return r}}function qs(e){return nr((function(t){return t=Ft(t,Qt(cr())),Ji((function(n){var i=this;return e(t,(function(e){return At(e,i,n)}))}))}))}function Vs(e,t){var n=(t=t===i?" ":ls(t)).length;if(n<2)return n?Gi(t,e):t;var s=Gi(t,ft(e/fn(t)));return on(t)?ws(hn(s),0,e).join(""):s.slice(0,e)}function Hs(e){return function(t,s,r){return r&&"number"!=typeof r&&br(t,s,r)&&(s=r=i),t=fo(t),s===i?(s=t,t=0):s=fo(s),function(e,t,i,s){for(var r=-1,a=vn(ft((t-e)/(i||1)),0),o=n(a);a--;)o[s?a:++r]=e,e+=i;return o}(t,s,r=r===i?t<s?1:-1:fo(r),e)}}function Ws(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=go(t),n=go(n)),e(t,n)}}function Ys(e,t,n,s,r,a,o,d,u,p){var f=8&t;t|=f?c:l,4&(t&=~(f?l:c))||(t&=-4);var h=[e,t,r,f?a:i,f?o:i,f?i:a,f?i:o,d,u,p],m=n.apply(i,h);return wr(e)&&Rr(m,h),m.placeholder=s,Or(m,e,t)}function Ks(e){var t=Se[e];return function(e,n){if(e=go(e),(n=null==n?0:bn(ho(n),292))&&bt(e)){var i=(vo(e)+"e").split("e");return+((i=(vo(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return t(e)}}var Gs=kn&&1/un(new kn([,-0]))[1]==p?function(e){return new kn(e)}:cc;function Js(e){return function(t){var n=hr(t);return n==E?cn(t):n==R?pn(t):function(e,t){return Ft(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Xs(e,t,r,p,f,h,m,g){var y=2&t;if(!y&&"function"!=typeof e)throw new Re(s);var v=p?p.length:0;if(v||(t&=-97,p=f=i),m=m===i?m:vn(ho(m),0),g=g===i?g:ho(g),v-=f?f.length:0,t&l){var b=p,_=f;p=f=i}var w=y?i:rr(e),I=[e,t,r,p,f,b,_,h,m,g];if(w&&function(e,t){var n=e[1],i=t[1],s=n|i,r=s<131,o=i==d&&8==n||i==d&&n==u&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==n;if(!r&&!o)return e;1&i&&(e[2]=t[2],s|=1&n?0:4);var c=t[3];if(c){var l=e[3];e[3]=l?ks(l,c,t[4]):c,e[4]=l?dn(e[3],a):t[4]}(c=t[5])&&(l=e[5],e[5]=l?Ts(l,c,t[6]):c,e[6]=l?dn(e[5],a):t[6]);(c=t[7])&&(e[7]=c);i&d&&(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]=s}(I,w),e=I[0],t=I[1],r=I[2],p=I[3],f=I[4],!(g=I[9]=I[9]===i?y?0:e.length:vn(I[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)x=8==t||t==o?function(e,t,s){var r=Us(e);return function a(){for(var o=arguments.length,c=n(o),l=o,d=or(a);l--;)c[l]=arguments[l];var u=o<3&&c[0]!==d&&c[o-1]!==d?[]:dn(c,d);return(o-=u.length)<s?Ys(e,t,$s,a.placeholder,i,c,u,i,i,s-o):At(this&&this!==ht&&this instanceof a?r:e,this,c)}}(e,t,g):t!=c&&33!=t||f.length?$s.apply(i,I):function(e,t,i,s){var r=1&t,a=Us(e);return function t(){for(var o=-1,c=arguments.length,l=-1,d=s.length,u=n(d+c),p=this&&this!==ht&&this instanceof t?a:e;++l<d;)u[l]=s[l];for(;c--;)u[l++]=arguments[++o];return At(p,r?i:this,u)}}(e,t,r,p);else var x=function(e,t,n){var i=1&t,s=Us(e);return function t(){return(this&&this!==ht&&this instanceof t?s:e).apply(i?n:this,arguments)}}(e,t,r);return Or((w?es:Rr)(x,I),e,t)}function Qs(e,t,n,s){return e===i||Da(e,Oe[n])&&!je.call(s,n)?t:e}function Zs(e,t,n,s,r,a){return Za(e)&&Za(t)&&(a.set(t,e),Bi(e,t,i,Zs,a),a.delete(t)),e}function er(e){return io(e)?i:e}function tr(e,t,n,s,r,a){var o=1&n,c=e.length,l=t.length;if(c!=l&&!(o&&l>c))return!1;var d=a.get(e),u=a.get(t);if(d&&u)return d==t&&u==e;var p=-1,f=!0,h=2&n?new Kn:i;for(a.set(e,t),a.set(t,e);++p<c;){var m=e[p],g=t[p];if(s)var y=o?s(g,m,p,t,e,a):s(m,g,p,e,t,a);if(y!==i){if(y)continue;f=!1;break}if(h){if(!Mt(t,(function(e,t){if(!en(h,t)&&(m===e||r(m,e,n,s,a)))return h.push(t)}))){f=!1;break}}else if(m!==g&&!r(m,g,n,s,a)){f=!1;break}}return a.delete(e),a.delete(t),f}function nr(e){return Lr(Ar(e,i,Vr),e+"")}function ir(e){return Ei(e,Lo,pr)}function sr(e){return Ei(e,Oo,fr)}var rr=Cn?function(e){return Cn.get(e)}:cc;function ar(e){for(var t=e.name+"",n=Ln[t],i=je.call(Ln,t)?n.length:0;i--;){var s=n[i],r=s.func;if(null==r||r==e)return s.name}return t}function or(e){return(je.call($n,"placeholder")?$n:e).placeholder}function cr(){var e=$n.iteratee||sc;return e=e===sc?ji:e,arguments.length?e(arguments[0],arguments[1]):e}function lr(e,t){var n,i,s=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?s["string"==typeof t?"string":"hash"]:s.map}function dr(e){for(var t=Lo(e),n=t.length;n--;){var i=t[n],s=e[i];t[n]=[i,s,Er(s)]}return t}function ur(e,t){var n=function(e,t){return null==e?i:e[t]}(e,t);return Fi(n)?n:i}var pr=gt?function(e){return null==e?[]:(e=Ae(e),Lt(gt(e),(function(t){return Ke.call(e,t)})))}:mc,fr=gt?function(e){for(var t=[];e;)jt(t,pr(e)),e=We(e);return t}:mc,hr=Si;function mr(e,t,n){for(var i=-1,s=(t=bs(t,e)).length,r=!1;++i<s;){var a=Pr(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}return r||++i!=s?r:!!(s=null==e?0:e.length)&&Qa(s)&&vr(a,s)&&(qa(e)||Ba(e))}function gr(e){return"function"!=typeof e.constructor||xr(e)?{}:zn(We(e))}function yr(e){return qa(e)||Ba(e)||!!(Je&&e&&e[Je])}function vr(e,t){var n=typeof e;return!!(t=null==t?f:t)&&("number"==n||"symbol"!=n&&be.test(e))&&e>-1&&e%1==0&&e<t}function br(e,t,n){if(!Za(n))return!1;var i=typeof t;return!!("number"==i?Ha(n)&&vr(t,n.length):"string"==i&&t in n)&&Da(n[t],e)}function _r(e,t){if(qa(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 Ae(t))}function wr(e){var t=ar(e),n=$n[t];if("function"!=typeof n||!(t in Vn.prototype))return!1;if(e===n)return!0;var i=rr(n);return!!i&&e===i[0]}(En&&hr(new En(new ArrayBuffer(1)))!=F||Sn&&hr(new Sn)!=E||An&&hr(An.resolve())!=k||kn&&hr(new kn)!=R||Tn&&hr(new Tn)!=O)&&(hr=function(e){var t=Si(e),n=t==A?e.constructor:i,s=n?Ur(n):"";if(s)switch(s){case On:return F;case Nn:return E;case Fn:return k;case jn:return R;case Pn:return O}return t});var Ir=Ne?Ja:gc;function xr(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Oe)}function Er(e){return e==e&&!Za(e)}function Sr(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==i||e in Ae(n)))}}function Ar(e,t,s){return t=vn(t===i?e.length-1:t,0),function(){for(var i=arguments,r=-1,a=vn(i.length-t,0),o=n(a);++r<a;)o[r]=i[t+r];r=-1;for(var c=n(t+1);++r<t;)c[r]=i[r];return c[t]=s(o),At(e,this,c)}}function kr(e,t){return t.length<2?e:xi(e,is(t,0,-1))}function Tr(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Rr=Nr(es),Cr=pt||function(e,t){return ht.setTimeout(e,t)},Lr=Nr(ts);function Or(e,t,n){var i=t+"";return Lr(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 Tt(g,(function(n){var i="_."+n[0];t&n[1]&&!Ot(e,i)&&e.push(i)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(le):[]}(i),n)))}function Nr(e){var t=0,n=0;return function(){var s=_n(),r=16-(s-n);if(n=s,r>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Fr(e,t){var n=-1,s=e.length,r=s-1;for(t=t===i?s:t;++n<t;){var a=Ki(n,r),o=e[a];e[a]=e[n],e[n]=o}return e.length=t,e}var jr=function(e){var t=Na(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,s){t.push(i?s.replace(pe,"$1"):n||e)})),t}));function Pr(e){if("string"==typeof e||oo(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ur(e){if(null!=e){try{return Fe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Mr(e){if(e instanceof Vn)return e.clone();var t=new qn(e.__wrapped__,e.__chain__);return t.__actions__=Rs(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Dr=Ji((function(e,t){return Wa(e)?ui(e,yi(t,1,Wa,!0)):[]})),$r=Ji((function(e,t){var n=Gr(t);return Wa(n)&&(n=i),Wa(e)?ui(e,yi(t,1,Wa,!0),cr(n,2)):[]})),zr=Ji((function(e,t){var n=Gr(t);return Wa(n)&&(n=i),Wa(e)?ui(e,yi(t,1,Wa,!0),i,n):[]}));function Br(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var s=null==n?0:ho(n);return s<0&&(s=vn(i+s,0)),zt(e,cr(t,3),s)}function qr(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var r=s-1;return n!==i&&(r=ho(n),r=n<0?vn(s+r,0):bn(r,s-1)),zt(e,cr(t,3),r,!0)}function Vr(e){return(null==e?0:e.length)?yi(e,1):[]}function Hr(e){return e&&e.length?e[0]:i}var Wr=Ji((function(e){var t=Ft(e,ys);return t.length&&t[0]===e[0]?Ri(t):[]})),Yr=Ji((function(e){var t=Gr(e),n=Ft(e,ys);return t===Gr(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Ri(n,cr(t,2)):[]})),Kr=Ji((function(e){var t=Gr(e),n=Ft(e,ys);return(t="function"==typeof t?t:i)&&n.pop(),n.length&&n[0]===e[0]?Ri(n,i,t):[]}));function Gr(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Jr=Ji(Xr);function Xr(e,t){return e&&e.length&&t&&t.length?Wi(e,t):e}var Qr=nr((function(e,t){var n=null==e?0:e.length,i=ai(e,t);return Yi(e,Ft(t,(function(e){return vr(e,n)?+e:e})).sort(As)),i}));function Zr(e){return null==e?e:xn.call(e)}var ea=Ji((function(e){return ds(yi(e,1,Wa,!0))})),ta=Ji((function(e){var t=Gr(e);return Wa(t)&&(t=i),ds(yi(e,1,Wa,!0),cr(t,2))})),na=Ji((function(e){var t=Gr(e);return t="function"==typeof t?t:i,ds(yi(e,1,Wa,!0),i,t)}));function ia(e){if(!e||!e.length)return[];var t=0;return e=Lt(e,(function(e){if(Wa(e))return t=vn(e.length,t),!0})),Jt(t,(function(t){return Ft(e,Wt(t))}))}function sa(e,t){if(!e||!e.length)return[];var n=ia(e);return null==t?n:Ft(n,(function(e){return At(t,i,e)}))}var ra=Ji((function(e,t){return Wa(e)?ui(e,t):[]})),aa=Ji((function(e){return ms(Lt(e,Wa))})),oa=Ji((function(e){var t=Gr(e);return Wa(t)&&(t=i),ms(Lt(e,Wa),cr(t,2))})),ca=Ji((function(e){var t=Gr(e);return t="function"==typeof t?t:i,ms(Lt(e,Wa),i,t)})),la=Ji(ia);var da=Ji((function(e){var t=e.length,n=t>1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,sa(e,n)}));function ua(e){var t=$n(e);return t.__chain__=!0,t}function pa(e,t){return t(e)}var fa=nr((function(e){var t=e.length,n=t?e[0]:0,s=this.__wrapped__,r=function(t){return ai(t,e)};return!(t>1||this.__actions__.length)&&s instanceof Vn&&vr(n)?((s=s.slice(n,+n+(t?1:0))).__actions__.push({func:pa,args:[r],thisArg:i}),new qn(s,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(r)}));var ha=Ls((function(e,t,n){je.call(e,n)?++e[n]:ri(e,n,1)}));var ma=Ms(Br),ga=Ms(qr);function ya(e,t){return(qa(e)?Tt:pi)(e,cr(t,3))}function va(e,t){return(qa(e)?Rt:fi)(e,cr(t,3))}var ba=Ls((function(e,t,n){je.call(e,n)?e[n].push(t):ri(e,n,[t])}));var _a=Ji((function(e,t,i){var s=-1,r="function"==typeof t,a=Ha(e)?n(e.length):[];return pi(e,(function(e){a[++s]=r?At(t,e,i):Ci(e,t,i)})),a})),wa=Ls((function(e,t,n){ri(e,n,t)}));function Ia(e,t){return(qa(e)?Ft:Di)(e,cr(t,3))}var xa=Ls((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ea=Ji((function(e,t){if(null==e)return[];var n=t.length;return n>1&&br(e,t[0],t[1])?t=[]:n>2&&br(t[0],t[1],t[2])&&(t=[t[0]]),Vi(e,yi(t,1),[])})),Sa=lt||function(){return ht.Date.now()};function Aa(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Xs(e,d,i,i,i,i,t)}function ka(e,t){var n;if("function"!=typeof t)throw new Re(s);return e=ho(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Ta=Ji((function(e,t,n){var i=1;if(n.length){var s=dn(n,or(Ta));i|=c}return Xs(e,i,t,n,s)})),Ra=Ji((function(e,t,n){var i=3;if(n.length){var s=dn(n,or(Ra));i|=c}return Xs(t,i,e,n,s)}));function Ca(e,t,n){var r,a,o,c,l,d,u=0,p=!1,f=!1,h=!0;if("function"!=typeof e)throw new Re(s);function m(t){var n=r,s=a;return r=a=i,u=t,c=e.apply(s,n)}function g(e){var n=e-d;return d===i||n>=t||n<0||f&&e-u>=o}function y(){var e=Sa();if(g(e))return v(e);l=Cr(y,function(e){var n=t-(e-d);return f?bn(n,o-(e-u)):n}(e))}function v(e){return l=i,h&&r?m(e):(r=a=i,c)}function b(){var e=Sa(),n=g(e);if(r=arguments,a=this,d=e,n){if(l===i)return function(e){return u=e,l=Cr(y,t),p?m(e):c}(d);if(f)return Is(l),l=Cr(y,t),m(d)}return l===i&&(l=Cr(y,t)),c}return t=go(t)||0,Za(n)&&(p=!!n.leading,o=(f="maxWait"in n)?vn(go(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h),b.cancel=function(){l!==i&&Is(l),u=0,r=d=a=l=i},b.flush=function(){return l===i?c:v(Sa())},b}var La=Ji((function(e,t){return di(e,1,t)})),Oa=Ji((function(e,t,n){return di(e,go(t)||0,n)}));function Na(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Re(s);var n=function(){var i=arguments,s=t?t.apply(this,i):i[0],r=n.cache;if(r.has(s))return r.get(s);var a=e.apply(this,i);return n.cache=r.set(s,a)||r,a};return n.cache=new(Na.Cache||Yn),n}function Fa(e){if("function"!=typeof e)throw new Re(s);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)}}Na.Cache=Yn;var ja=_s((function(e,t){var n=(t=1==t.length&&qa(t[0])?Ft(t[0],Qt(cr())):Ft(yi(t,1),Qt(cr()))).length;return Ji((function(i){for(var s=-1,r=bn(i.length,n);++s<r;)i[s]=t[s].call(this,i[s]);return At(e,this,i)}))})),Pa=Ji((function(e,t){var n=dn(t,or(Pa));return Xs(e,c,i,t,n)})),Ua=Ji((function(e,t){var n=dn(t,or(Ua));return Xs(e,l,i,t,n)})),Ma=nr((function(e,t){return Xs(e,u,i,i,i,t)}));function Da(e,t){return e===t||e!=e&&t!=t}var $a=Ws(Ai),za=Ws((function(e,t){return e>=t})),Ba=Li(function(){return arguments}())?Li:function(e){return eo(e)&&je.call(e,"callee")&&!Ke.call(e,"callee")},qa=n.isArray,Va=_t?Qt(_t):function(e){return eo(e)&&Si(e)==N};function Ha(e){return null!=e&&Qa(e.length)&&!Ja(e)}function Wa(e){return eo(e)&&Ha(e)}var Ya=vt||gc,Ka=wt?Qt(wt):function(e){return eo(e)&&Si(e)==_};function Ga(e){if(!eo(e))return!1;var t=Si(e);return t==w||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!io(e)}function Ja(e){if(!Za(e))return!1;var t=Si(e);return t==I||t==x||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xa(e){return"number"==typeof e&&e==ho(e)}function Qa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function Za(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eo(e){return null!=e&&"object"==typeof e}var to=It?Qt(It):function(e){return eo(e)&&hr(e)==E};function no(e){return"number"==typeof e||eo(e)&&Si(e)==S}function io(e){if(!eo(e)||Si(e)!=A)return!1;var t=We(e);if(null===t)return!0;var n=je.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Fe.call(n)==De}var so=xt?Qt(xt):function(e){return eo(e)&&Si(e)==T};var ro=Et?Qt(Et):function(e){return eo(e)&&hr(e)==R};function ao(e){return"string"==typeof e||!qa(e)&&eo(e)&&Si(e)==C}function oo(e){return"symbol"==typeof e||eo(e)&&Si(e)==L}var co=St?Qt(St):function(e){return eo(e)&&Qa(e.length)&&!!ot[Si(e)]};var lo=Ws(Mi),uo=Ws((function(e,t){return e<=t}));function po(e){if(!e)return[];if(Ha(e))return ao(e)?hn(e):Rs(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=hr(e);return(t==E?cn:t==R?un:$o)(e)}function fo(e){return e?(e=go(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ho(e){var t=fo(e),n=t%1;return t==t?n?t-n:t:0}function mo(e){return e?oi(ho(e),0,m):0}function go(e){if("number"==typeof e)return e;if(oo(e))return h;if(Za(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Za(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xt(e);var n=ge.test(e);return n||ve.test(e)?ut(e.slice(2),n?2:8):me.test(e)?h:+e}function yo(e){return Cs(e,Oo(e))}function vo(e){return null==e?"":ls(e)}var bo=Os((function(e,t){if(xr(t)||Ha(t))Cs(t,Lo(t),e);else for(var n in t)je.call(t,n)&&ti(e,n,t[n])})),_o=Os((function(e,t){Cs(t,Oo(t),e)})),wo=Os((function(e,t,n,i){Cs(t,Oo(t),e,i)})),Io=Os((function(e,t,n,i){Cs(t,Lo(t),e,i)})),xo=nr(ai);var Eo=Ji((function(e,t){e=Ae(e);var n=-1,s=t.length,r=s>2?t[2]:i;for(r&&br(t[0],t[1],r)&&(s=1);++n<s;)for(var a=t[n],o=Oo(a),c=-1,l=o.length;++c<l;){var d=o[c],u=e[d];(u===i||Da(u,Oe[d])&&!je.call(e,d))&&(e[d]=a[d])}return e})),So=Ji((function(e){return e.push(i,Zs),At(Fo,i,e)}));function Ao(e,t,n){var s=null==e?i:xi(e,t);return s===i?n:s}function ko(e,t){return null!=e&&mr(e,t,Ti)}var To=zs((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Me.call(t)),e[t]=n}),ec(ic)),Ro=zs((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Me.call(t)),je.call(e,t)?e[t].push(n):e[t]=[n]}),cr),Co=Ji(Ci);function Lo(e){return Ha(e)?Jn(e):Pi(e)}function Oo(e){return Ha(e)?Jn(e,!0):Ui(e)}var No=Os((function(e,t,n){Bi(e,t,n)})),Fo=Os((function(e,t,n,i){Bi(e,t,n,i)})),jo=nr((function(e,t){var n={};if(null==e)return n;var i=!1;t=Ft(t,(function(t){return t=bs(t,e),i||(i=t.length>1),t})),Cs(e,sr(e),n),i&&(n=ci(n,7,er));for(var s=t.length;s--;)us(n,t[s]);return n}));var Po=nr((function(e,t){return null==e?{}:function(e,t){return Hi(e,t,(function(t,n){return ko(e,n)}))}(e,t)}));function Uo(e,t){if(null==e)return{};var n=Ft(sr(e),(function(e){return[e]}));return t=cr(t),Hi(e,n,(function(e,n){return t(e,n[0])}))}var Mo=Js(Lo),Do=Js(Oo);function $o(e){return null==e?[]:Zt(e,Lo(e))}var zo=Ps((function(e,t,n){return t=t.toLowerCase(),e+(n?Bo(t):t)}));function Bo(e){return Jo(vo(e).toLowerCase())}function qo(e){return(e=vo(e))&&e.replace(_e,sn).replace(et,"")}var Vo=Ps((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ho=Ps((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Wo=js("toLowerCase");var Yo=Ps((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ko=Ps((function(e,t,n){return e+(n?" ":"")+Jo(t)}));var Go=Ps((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Jo=js("toUpperCase");function Xo(e,t,n){return e=vo(e),(t=n?i:t)===i?function(e){return st.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var Qo=Ji((function(e,t){try{return At(e,i,t)}catch(e){return Ga(e)?e:new xe(e)}})),Zo=nr((function(e,t){return Tt(t,(function(t){t=Pr(t),ri(e,t,Ta(e[t],e))})),e}));function ec(e){return function(){return e}}var tc=Ds(),nc=Ds(!0);function ic(e){return e}function sc(e){return ji("function"==typeof e?e:ci(e,1))}var rc=Ji((function(e,t){return function(n){return Ci(n,e,t)}})),ac=Ji((function(e,t){return function(n){return Ci(e,n,t)}}));function oc(e,t,n){var i=Lo(t),s=Ii(t,i);null!=n||Za(t)&&(s.length||!i.length)||(n=t,t=e,e=this,s=Ii(t,Lo(t)));var r=!(Za(n)&&"chain"in n&&!n.chain),a=Ja(e);return Tt(s,(function(n){var i=t[n];e[n]=i,a&&(e.prototype[n]=function(){var t=this.__chain__;if(r||t){var n=e(this.__wrapped__);return(n.__actions__=Rs(this.__actions__)).push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,jt([this.value()],arguments))})})),e}function cc(){}var lc=qs(Ft),dc=qs(Ct),uc=qs(Mt);function pc(e){return _r(e)?Wt(Pr(e)):function(e){return function(t){return xi(t,e)}}(e)}var fc=Hs(),hc=Hs(!0);function mc(){return[]}function gc(){return!1}var yc=Bs((function(e,t){return e+t}),0),vc=Ks("ceil"),bc=Bs((function(e,t){return e/t}),1),_c=Ks("floor");var wc,Ic=Bs((function(e,t){return e*t}),1),xc=Ks("round"),Ec=Bs((function(e,t){return e-t}),0);return $n.after=function(e,t){if("function"!=typeof t)throw new Re(s);return e=ho(e),function(){if(--e<1)return t.apply(this,arguments)}},$n.ary=Aa,$n.assign=bo,$n.assignIn=_o,$n.assignInWith=wo,$n.assignWith=Io,$n.at=xo,$n.before=ka,$n.bind=Ta,$n.bindAll=Zo,$n.bindKey=Ra,$n.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return qa(e)?e:[e]},$n.chain=ua,$n.chunk=function(e,t,s){t=(s?br(e,t,s):t===i)?1:vn(ho(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var a=0,o=0,c=n(ft(r/t));a<r;)c[o++]=is(e,a,a+=t);return c},$n.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,s=[];++t<n;){var r=e[t];r&&(s[i++]=r)}return s},$n.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),i=arguments[0],s=e;s--;)t[s-1]=arguments[s];return jt(qa(i)?Rs(i):[i],yi(t,1))},$n.cond=function(e){var t=null==e?0:e.length,n=cr();return e=t?Ft(e,(function(e){if("function"!=typeof e[1])throw new Re(s);return[n(e[0]),e[1]]})):[],Ji((function(n){for(var i=-1;++i<t;){var s=e[i];if(At(s[0],this,n))return At(s[1],this,n)}}))},$n.conforms=function(e){return function(e){var t=Lo(e);return function(n){return li(n,e,t)}}(ci(e,1))},$n.constant=ec,$n.countBy=ha,$n.create=function(e,t){var n=zn(e);return null==t?n:si(n,t)},$n.curry=function e(t,n,s){var r=Xs(t,8,i,i,i,i,i,n=s?i:n);return r.placeholder=e.placeholder,r},$n.curryRight=function e(t,n,s){var r=Xs(t,o,i,i,i,i,i,n=s?i:n);return r.placeholder=e.placeholder,r},$n.debounce=Ca,$n.defaults=Eo,$n.defaultsDeep=So,$n.defer=La,$n.delay=Oa,$n.difference=Dr,$n.differenceBy=$r,$n.differenceWith=zr,$n.drop=function(e,t,n){var s=null==e?0:e.length;return s?is(e,(t=n||t===i?1:ho(t))<0?0:t,s):[]},$n.dropRight=function(e,t,n){var s=null==e?0:e.length;return s?is(e,0,(t=s-(t=n||t===i?1:ho(t)))<0?0:t):[]},$n.dropRightWhile=function(e,t){return e&&e.length?fs(e,cr(t,3),!0,!0):[]},$n.dropWhile=function(e,t){return e&&e.length?fs(e,cr(t,3),!0):[]},$n.fill=function(e,t,n,s){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&br(e,t,n)&&(n=0,s=r),function(e,t,n,s){var r=e.length;for((n=ho(n))<0&&(n=-n>r?0:r+n),(s=s===i||s>r?r:ho(s))<0&&(s+=r),s=n>s?0:mo(s);n<s;)e[n++]=t;return e}(e,t,n,s)):[]},$n.filter=function(e,t){return(qa(e)?Lt:gi)(e,cr(t,3))},$n.flatMap=function(e,t){return yi(Ia(e,t),1)},$n.flatMapDeep=function(e,t){return yi(Ia(e,t),p)},$n.flatMapDepth=function(e,t,n){return n=n===i?1:ho(n),yi(Ia(e,t),n)},$n.flatten=Vr,$n.flattenDeep=function(e){return(null==e?0:e.length)?yi(e,p):[]},$n.flattenDepth=function(e,t){return(null==e?0:e.length)?yi(e,t=t===i?1:ho(t)):[]},$n.flip=function(e){return Xs(e,512)},$n.flow=tc,$n.flowRight=nc,$n.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var s=e[t];i[s[0]]=s[1]}return i},$n.functions=function(e){return null==e?[]:Ii(e,Lo(e))},$n.functionsIn=function(e){return null==e?[]:Ii(e,Oo(e))},$n.groupBy=ba,$n.initial=function(e){return(null==e?0:e.length)?is(e,0,-1):[]},$n.intersection=Wr,$n.intersectionBy=Yr,$n.intersectionWith=Kr,$n.invert=To,$n.invertBy=Ro,$n.invokeMap=_a,$n.iteratee=sc,$n.keyBy=wa,$n.keys=Lo,$n.keysIn=Oo,$n.map=Ia,$n.mapKeys=function(e,t){var n={};return t=cr(t,3),_i(e,(function(e,i,s){ri(n,t(e,i,s),e)})),n},$n.mapValues=function(e,t){var n={};return t=cr(t,3),_i(e,(function(e,i,s){ri(n,i,t(e,i,s))})),n},$n.matches=function(e){return $i(ci(e,1))},$n.matchesProperty=function(e,t){return zi(e,ci(t,1))},$n.memoize=Na,$n.merge=No,$n.mergeWith=Fo,$n.method=rc,$n.methodOf=ac,$n.mixin=oc,$n.negate=Fa,$n.nthArg=function(e){return e=ho(e),Ji((function(t){return qi(t,e)}))},$n.omit=jo,$n.omitBy=function(e,t){return Uo(e,Fa(cr(t)))},$n.once=function(e){return ka(2,e)},$n.orderBy=function(e,t,n,s){return null==e?[]:(qa(t)||(t=null==t?[]:[t]),qa(n=s?i:n)||(n=null==n?[]:[n]),Vi(e,t,n))},$n.over=lc,$n.overArgs=ja,$n.overEvery=dc,$n.overSome=uc,$n.partial=Pa,$n.partialRight=Ua,$n.partition=xa,$n.pick=Po,$n.pickBy=Uo,$n.property=pc,$n.propertyOf=function(e){return function(t){return null==e?i:xi(e,t)}},$n.pull=Jr,$n.pullAll=Xr,$n.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Wi(e,t,cr(n,2)):e},$n.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Wi(e,t,i,n):e},$n.pullAt=Qr,$n.range=fc,$n.rangeRight=hc,$n.rearg=Ma,$n.reject=function(e,t){return(qa(e)?Lt:gi)(e,Fa(cr(t,3)))},$n.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,s=[],r=e.length;for(t=cr(t,3);++i<r;){var a=e[i];t(a,i,e)&&(n.push(a),s.push(i))}return Yi(e,s),n},$n.rest=function(e,t){if("function"!=typeof e)throw new Re(s);return Ji(e,t=t===i?t:ho(t))},$n.reverse=Zr,$n.sampleSize=function(e,t,n){return t=(n?br(e,t,n):t===i)?1:ho(t),(qa(e)?Qn:Qi)(e,t)},$n.set=function(e,t,n){return null==e?e:Zi(e,t,n)},$n.setWith=function(e,t,n,s){return s="function"==typeof s?s:i,null==e?e:Zi(e,t,n,s)},$n.shuffle=function(e){return(qa(e)?Zn:ns)(e)},$n.slice=function(e,t,n){var s=null==e?0:e.length;return s?(n&&"number"!=typeof n&&br(e,t,n)?(t=0,n=s):(t=null==t?0:ho(t),n=n===i?s:ho(n)),is(e,t,n)):[]},$n.sortBy=Ea,$n.sortedUniq=function(e){return e&&e.length?os(e):[]},$n.sortedUniqBy=function(e,t){return e&&e.length?os(e,cr(t,2)):[]},$n.split=function(e,t,n){return n&&"number"!=typeof n&&br(e,t,n)&&(t=n=i),(n=n===i?m:n>>>0)?(e=vo(e))&&("string"==typeof t||null!=t&&!so(t))&&!(t=ls(t))&&on(e)?ws(hn(e),0,n):e.split(t,n):[]},$n.spread=function(e,t){if("function"!=typeof e)throw new Re(s);return t=null==t?0:vn(ho(t),0),Ji((function(n){var i=n[t],s=ws(n,0,t);return i&&jt(s,i),At(e,this,s)}))},$n.tail=function(e){var t=null==e?0:e.length;return t?is(e,1,t):[]},$n.take=function(e,t,n){return e&&e.length?is(e,0,(t=n||t===i?1:ho(t))<0?0:t):[]},$n.takeRight=function(e,t,n){var s=null==e?0:e.length;return s?is(e,(t=s-(t=n||t===i?1:ho(t)))<0?0:t,s):[]},$n.takeRightWhile=function(e,t){return e&&e.length?fs(e,cr(t,3),!1,!0):[]},$n.takeWhile=function(e,t){return e&&e.length?fs(e,cr(t,3)):[]},$n.tap=function(e,t){return t(e),e},$n.throttle=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new Re(s);return Za(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Ca(e,t,{leading:i,maxWait:t,trailing:r})},$n.thru=pa,$n.toArray=po,$n.toPairs=Mo,$n.toPairsIn=Do,$n.toPath=function(e){return qa(e)?Ft(e,Pr):oo(e)?[e]:Rs(jr(vo(e)))},$n.toPlainObject=yo,$n.transform=function(e,t,n){var i=qa(e),s=i||Ya(e)||co(e);if(t=cr(t,4),null==n){var r=e&&e.constructor;n=s?i?new r:[]:Za(e)&&Ja(r)?zn(We(e)):{}}return(s?Tt:_i)(e,(function(e,i,s){return t(n,e,i,s)})),n},$n.unary=function(e){return Aa(e,1)},$n.union=ea,$n.unionBy=ta,$n.unionWith=na,$n.uniq=function(e){return e&&e.length?ds(e):[]},$n.uniqBy=function(e,t){return e&&e.length?ds(e,cr(t,2)):[]},$n.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?ds(e,i,t):[]},$n.unset=function(e,t){return null==e||us(e,t)},$n.unzip=ia,$n.unzipWith=sa,$n.update=function(e,t,n){return null==e?e:ps(e,t,vs(n))},$n.updateWith=function(e,t,n,s){return s="function"==typeof s?s:i,null==e?e:ps(e,t,vs(n),s)},$n.values=$o,$n.valuesIn=function(e){return null==e?[]:Zt(e,Oo(e))},$n.without=ra,$n.words=Xo,$n.wrap=function(e,t){return Pa(vs(t),e)},$n.xor=aa,$n.xorBy=oa,$n.xorWith=ca,$n.zip=la,$n.zipObject=function(e,t){return gs(e||[],t||[],ti)},$n.zipObjectDeep=function(e,t){return gs(e||[],t||[],Zi)},$n.zipWith=da,$n.entries=Mo,$n.entriesIn=Do,$n.extend=_o,$n.extendWith=wo,oc($n,$n),$n.add=yc,$n.attempt=Qo,$n.camelCase=zo,$n.capitalize=Bo,$n.ceil=vc,$n.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)},$n.clone=function(e){return ci(e,4)},$n.cloneDeep=function(e){return ci(e,5)},$n.cloneDeepWith=function(e,t){return ci(e,5,t="function"==typeof t?t:i)},$n.cloneWith=function(e,t){return ci(e,4,t="function"==typeof t?t:i)},$n.conformsTo=function(e,t){return null==t||li(e,t,Lo(t))},$n.deburr=qo,$n.defaultTo=function(e,t){return null==e||e!=e?t:e},$n.divide=bc,$n.endsWith=function(e,t,n){e=vo(e),t=ls(t);var s=e.length,r=n=n===i?s:oi(ho(n),0,s);return(n-=t.length)>=0&&e.slice(n,r)==t},$n.eq=Da,$n.escape=function(e){return(e=vo(e))&&J.test(e)?e.replace(K,rn):e},$n.escapeRegExp=function(e){return(e=vo(e))&&se.test(e)?e.replace(ie,"\\$&"):e},$n.every=function(e,t,n){var s=qa(e)?Ct:hi;return n&&br(e,t,n)&&(t=i),s(e,cr(t,3))},$n.find=ma,$n.findIndex=Br,$n.findKey=function(e,t){return $t(e,cr(t,3),_i)},$n.findLast=ga,$n.findLastIndex=qr,$n.findLastKey=function(e,t){return $t(e,cr(t,3),wi)},$n.floor=_c,$n.forEach=ya,$n.forEachRight=va,$n.forIn=function(e,t){return null==e?e:vi(e,cr(t,3),Oo)},$n.forInRight=function(e,t){return null==e?e:bi(e,cr(t,3),Oo)},$n.forOwn=function(e,t){return e&&_i(e,cr(t,3))},$n.forOwnRight=function(e,t){return e&&wi(e,cr(t,3))},$n.get=Ao,$n.gt=$a,$n.gte=za,$n.has=function(e,t){return null!=e&&mr(e,t,ki)},$n.hasIn=ko,$n.head=Hr,$n.identity=ic,$n.includes=function(e,t,n,i){e=Ha(e)?e:$o(e),n=n&&!i?ho(n):0;var s=e.length;return n<0&&(n=vn(s+n,0)),ao(e)?n<=s&&e.indexOf(t,n)>-1:!!s&&Bt(e,t,n)>-1},$n.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var s=null==n?0:ho(n);return s<0&&(s=vn(i+s,0)),Bt(e,t,s)},$n.inRange=function(e,t,n){return t=fo(t),n===i?(n=t,t=0):n=fo(n),function(e,t,n){return e>=bn(t,n)&&e<vn(t,n)}(e=go(e),t,n)},$n.invoke=Co,$n.isArguments=Ba,$n.isArray=qa,$n.isArrayBuffer=Va,$n.isArrayLike=Ha,$n.isArrayLikeObject=Wa,$n.isBoolean=function(e){return!0===e||!1===e||eo(e)&&Si(e)==b},$n.isBuffer=Ya,$n.isDate=Ka,$n.isElement=function(e){return eo(e)&&1===e.nodeType&&!io(e)},$n.isEmpty=function(e){if(null==e)return!0;if(Ha(e)&&(qa(e)||"string"==typeof e||"function"==typeof e.splice||Ya(e)||co(e)||Ba(e)))return!e.length;var t=hr(e);if(t==E||t==R)return!e.size;if(xr(e))return!Pi(e).length;for(var n in e)if(je.call(e,n))return!1;return!0},$n.isEqual=function(e,t){return Oi(e,t)},$n.isEqualWith=function(e,t,n){var s=(n="function"==typeof n?n:i)?n(e,t):i;return s===i?Oi(e,t,i,n):!!s},$n.isError=Ga,$n.isFinite=function(e){return"number"==typeof e&&bt(e)},$n.isFunction=Ja,$n.isInteger=Xa,$n.isLength=Qa,$n.isMap=to,$n.isMatch=function(e,t){return e===t||Ni(e,t,dr(t))},$n.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,Ni(e,t,dr(t),n)},$n.isNaN=function(e){return no(e)&&e!=+e},$n.isNative=function(e){if(Ir(e))throw new xe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Fi(e)},$n.isNil=function(e){return null==e},$n.isNull=function(e){return null===e},$n.isNumber=no,$n.isObject=Za,$n.isObjectLike=eo,$n.isPlainObject=io,$n.isRegExp=so,$n.isSafeInteger=function(e){return Xa(e)&&e>=-9007199254740991&&e<=f},$n.isSet=ro,$n.isString=ao,$n.isSymbol=oo,$n.isTypedArray=co,$n.isUndefined=function(e){return e===i},$n.isWeakMap=function(e){return eo(e)&&hr(e)==O},$n.isWeakSet=function(e){return eo(e)&&"[object WeakSet]"==Si(e)},$n.join=function(e,t){return null==e?"":Dt.call(e,t)},$n.kebabCase=Vo,$n.last=Gr,$n.lastIndexOf=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var r=s;return n!==i&&(r=(r=ho(n))<0?vn(s+r,0):bn(r,s-1)),t==t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,r):zt(e,Vt,r,!0)},$n.lowerCase=Ho,$n.lowerFirst=Wo,$n.lt=lo,$n.lte=uo,$n.max=function(e){return e&&e.length?mi(e,ic,Ai):i},$n.maxBy=function(e,t){return e&&e.length?mi(e,cr(t,2),Ai):i},$n.mean=function(e){return Ht(e,ic)},$n.meanBy=function(e,t){return Ht(e,cr(t,2))},$n.min=function(e){return e&&e.length?mi(e,ic,Mi):i},$n.minBy=function(e,t){return e&&e.length?mi(e,cr(t,2),Mi):i},$n.stubArray=mc,$n.stubFalse=gc,$n.stubObject=function(){return{}},$n.stubString=function(){return""},$n.stubTrue=function(){return!0},$n.multiply=Ic,$n.nth=function(e,t){return e&&e.length?qi(e,ho(t)):i},$n.noConflict=function(){return ht._===this&&(ht._=$e),this},$n.noop=cc,$n.now=Sa,$n.pad=function(e,t,n){e=vo(e);var i=(t=ho(t))?fn(e):0;if(!t||i>=t)return e;var s=(t-i)/2;return Vs(mt(s),n)+e+Vs(ft(s),n)},$n.padEnd=function(e,t,n){e=vo(e);var i=(t=ho(t))?fn(e):0;return t&&i<t?e+Vs(t-i,n):e},$n.padStart=function(e,t,n){e=vo(e);var i=(t=ho(t))?fn(e):0;return t&&i<t?Vs(t-i,n)+e:e},$n.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),wn(vo(e).replace(re,""),t||0)},$n.random=function(e,t,n){if(n&&"boolean"!=typeof n&&br(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=fo(e),t===i?(t=e,e=0):t=fo(t)),e>t){var s=e;e=t,t=s}if(n||e%1||t%1){var r=In();return bn(e+r*(t-e+dt("1e-"+((r+"").length-1))),t)}return Ki(e,t)},$n.reduce=function(e,t,n){var i=qa(e)?Pt:Kt,s=arguments.length<3;return i(e,cr(t,4),n,s,pi)},$n.reduceRight=function(e,t,n){var i=qa(e)?Ut:Kt,s=arguments.length<3;return i(e,cr(t,4),n,s,fi)},$n.repeat=function(e,t,n){return t=(n?br(e,t,n):t===i)?1:ho(t),Gi(vo(e),t)},$n.replace=function(){var e=arguments,t=vo(e[0]);return e.length<3?t:t.replace(e[1],e[2])},$n.result=function(e,t,n){var s=-1,r=(t=bs(t,e)).length;for(r||(r=1,e=i);++s<r;){var a=null==e?i:e[Pr(t[s])];a===i&&(s=r,a=n),e=Ja(a)?a.call(e):a}return e},$n.round=xc,$n.runInContext=e,$n.sample=function(e){return(qa(e)?Xn:Xi)(e)},$n.size=function(e){if(null==e)return 0;if(Ha(e))return ao(e)?fn(e):e.length;var t=hr(e);return t==E||t==R?e.size:Pi(e).length},$n.snakeCase=Yo,$n.some=function(e,t,n){var s=qa(e)?Mt:ss;return n&&br(e,t,n)&&(t=i),s(e,cr(t,3))},$n.sortedIndex=function(e,t){return rs(e,t)},$n.sortedIndexBy=function(e,t,n){return as(e,t,cr(n,2))},$n.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=rs(e,t);if(i<n&&Da(e[i],t))return i}return-1},$n.sortedLastIndex=function(e,t){return rs(e,t,!0)},$n.sortedLastIndexBy=function(e,t,n){return as(e,t,cr(n,2),!0)},$n.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=rs(e,t,!0)-1;if(Da(e[n],t))return n}return-1},$n.startCase=Ko,$n.startsWith=function(e,t,n){return e=vo(e),n=null==n?0:oi(ho(n),0,e.length),t=ls(t),e.slice(n,n+t.length)==t},$n.subtract=Ec,$n.sum=function(e){return e&&e.length?Gt(e,ic):0},$n.sumBy=function(e,t){return e&&e.length?Gt(e,cr(t,2)):0},$n.template=function(e,t,n){var s=$n.templateSettings;n&&br(e,t,n)&&(t=i),e=vo(e),t=wo({},t,s,Qs);var r,a,o=wo({},t.imports,s.imports,Qs),c=Lo(o),l=Zt(o,c),d=0,u=t.interpolate||we,p="__p += '",f=ke((t.escape||we).source+"|"+u.source+"|"+(u===Z?fe:we).source+"|"+(t.evaluate||we).source+"|$","g"),h="//# sourceURL="+(je.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++at+"]")+"\n";e.replace(f,(function(t,n,i,s,o,c){return i||(i=s),p+=e.slice(d,c).replace(Ie,an),n&&(r=!0,p+="' +\n__e("+n+") +\n'"),o&&(a=!0,p+="';\n"+o+";\n__p += '"),i&&(p+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),d=c+t.length,t})),p+="';\n";var m=je.call(t,"variable")&&t.variable;if(m){if(ue.test(m))throw new xe("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(V,""):p).replace(H,"$1").replace(W,"$1;"),p="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=Qo((function(){return Ee(c,h+"return "+p).apply(i,l)}));if(g.source=p,Ga(g))throw g;return g},$n.times=function(e,t){if((e=ho(e))<1||e>f)return[];var n=m,i=bn(e,m);t=cr(t),e-=m;for(var s=Jt(i,t);++n<e;)t(n);return s},$n.toFinite=fo,$n.toInteger=ho,$n.toLength=mo,$n.toLower=function(e){return vo(e).toLowerCase()},$n.toNumber=go,$n.toSafeInteger=function(e){return e?oi(ho(e),-9007199254740991,f):0===e?e:0},$n.toString=vo,$n.toUpper=function(e){return vo(e).toUpperCase()},$n.trim=function(e,t,n){if((e=vo(e))&&(n||t===i))return Xt(e);if(!e||!(t=ls(t)))return e;var s=hn(e),r=hn(t);return ws(s,tn(s,r),nn(s,r)+1).join("")},$n.trimEnd=function(e,t,n){if((e=vo(e))&&(n||t===i))return e.slice(0,mn(e)+1);if(!e||!(t=ls(t)))return e;var s=hn(e);return ws(s,0,nn(s,hn(t))+1).join("")},$n.trimStart=function(e,t,n){if((e=vo(e))&&(n||t===i))return e.replace(re,"");if(!e||!(t=ls(t)))return e;var s=hn(e);return ws(s,tn(s,hn(t))).join("")},$n.truncate=function(e,t){var n=30,s="...";if(Za(t)){var r="separator"in t?t.separator:r;n="length"in t?ho(t.length):n,s="omission"in t?ls(t.omission):s}var a=(e=vo(e)).length;if(on(e)){var o=hn(e);a=o.length}if(n>=a)return e;var c=n-fn(s);if(c<1)return s;var l=o?ws(o,0,c).join(""):e.slice(0,c);if(r===i)return l+s;if(o&&(c+=l.length-c),so(r)){if(e.slice(c).search(r)){var d,u=l;for(r.global||(r=ke(r.source,vo(he.exec(r))+"g")),r.lastIndex=0;d=r.exec(u);)var p=d.index;l=l.slice(0,p===i?c:p)}}else if(e.indexOf(ls(r),c)!=c){var f=l.lastIndexOf(r);f>-1&&(l=l.slice(0,f))}return l+s},$n.unescape=function(e){return(e=vo(e))&&G.test(e)?e.replace(Y,gn):e},$n.uniqueId=function(e){var t=++Pe;return vo(e)+t},$n.upperCase=Go,$n.upperFirst=Jo,$n.each=ya,$n.eachRight=va,$n.first=Hr,oc($n,(wc={},_i($n,(function(e,t){je.call($n.prototype,t)||(wc[t]=e)})),wc),{chain:!1}),$n.VERSION="4.17.21",Tt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){$n[e].placeholder=$n})),Tt(["drop","take"],(function(e,t){Vn.prototype[e]=function(n){n=n===i?1:vn(ho(n),0);var s=this.__filtered__&&!t?new Vn(this):this.clone();return s.__filtered__?s.__takeCount__=bn(n,s.__takeCount__):s.__views__.push({size:bn(n,m),type:e+(s.__dir__<0?"Right":"")}),s},Vn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Tt(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=1==n||3==n;Vn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:cr(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),Tt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Vn.prototype[e]=function(){return this[n](1).value()[0]}})),Tt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Vn.prototype[e]=function(){return this.__filtered__?new Vn(this):this[n](1)}})),Vn.prototype.compact=function(){return this.filter(ic)},Vn.prototype.find=function(e){return this.filter(e).head()},Vn.prototype.findLast=function(e){return this.reverse().find(e)},Vn.prototype.invokeMap=Ji((function(e,t){return"function"==typeof e?new Vn(this):this.map((function(n){return Ci(n,e,t)}))})),Vn.prototype.reject=function(e){return this.filter(Fa(cr(e)))},Vn.prototype.slice=function(e,t){e=ho(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Vn(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)},Vn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Vn.prototype.toArray=function(){return this.take(m)},_i(Vn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),s=/^(?:head|last)$/.test(t),r=$n[s?"take"+("last"==t?"Right":""):t],a=s||/^find/.test(t);r&&($n.prototype[t]=function(){var t=this.__wrapped__,o=s?[1]:arguments,c=t instanceof Vn,l=o[0],d=c||qa(t),u=function(e){var t=r.apply($n,jt([e],o));return s&&p?t[0]:t};d&&n&&"function"==typeof l&&1!=l.length&&(c=d=!1);var p=this.__chain__,f=!!this.__actions__.length,h=a&&!p,m=c&&!f;if(!a&&d){t=m?t:new Vn(this);var g=e.apply(t,o);return g.__actions__.push({func:pa,args:[u],thisArg:i}),new qn(g,p)}return h&&m?e.apply(this,o):(g=this.thru(u),h?s?g.value()[0]:g.value():g)})})),Tt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ce[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);$n.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var s=this.value();return t.apply(qa(s)?s:[],e)}return this[n]((function(n){return t.apply(qa(n)?n:[],e)}))}})),_i(Vn.prototype,(function(e,t){var n=$n[t];if(n){var i=n.name+"";je.call(Ln,i)||(Ln[i]=[]),Ln[i].push({name:t,func:n})}})),Ln[$s(i,2).name]=[{name:"wrapper",func:i}],Vn.prototype.clone=function(){var e=new Vn(this.__wrapped__);return e.__actions__=Rs(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Rs(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Rs(this.__views__),e},Vn.prototype.reverse=function(){if(this.__filtered__){var e=new Vn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Vn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=qa(e),i=t<0,s=n?e.length:0,r=function(e,t,n){var i=-1,s=n.length;for(;++i<s;){var r=n[i],a=r.size;switch(r.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=bn(t,e+a);break;case"takeRight":e=vn(e,t-a)}}return{start:e,end:t}}(0,s,this.__views__),a=r.start,o=r.end,c=o-a,l=i?o:a-1,d=this.__iteratees__,u=d.length,p=0,f=bn(c,this.__takeCount__);if(!n||!i&&s==c&&f==c)return hs(e,this.__actions__);var h=[];e:for(;c--&&p<f;){for(var m=-1,g=e[l+=t];++m<u;){var y=d[m],v=y.iteratee,b=y.type,_=v(g);if(2==b)g=_;else if(!_){if(1==b)continue e;break e}}h[p++]=g}return h},$n.prototype.at=fa,$n.prototype.chain=function(){return ua(this)},$n.prototype.commit=function(){return new qn(this.value(),this.__chain__)},$n.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__++]}},$n.prototype.plant=function(e){for(var t,n=this;n instanceof Bn;){var s=Mr(n);s.__index__=0,s.__values__=i,t?r.__wrapped__=s:t=s;var r=s;n=n.__wrapped__}return r.__wrapped__=e,t},$n.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Vn){var t=e;return this.__actions__.length&&(t=new Vn(this)),(t=t.reverse()).__actions__.push({func:pa,args:[Zr],thisArg:i}),new qn(t,this.__chain__)}return this.thru(Zr)},$n.prototype.toJSON=$n.prototype.valueOf=$n.prototype.value=function(){return hs(this.__wrapped__,this.__actions__)},$n.prototype.first=$n.prototype.head,Xe&&($n.prototype[Xe]=function(){return this}),$n}();gt?((gt.exports=yn)._=yn,mt._=yn):ht._=yn}).call(n)}(Uu,Uu.exports);var Mu=Uu.exports;const Du={type:Co,stimulus:()=>!a.session.get("config").story||"default"===a.session.get("config").userMode&&a.session.get("config").userMetadata.grade>=6?Bc.audio[Mu.camelCase("introductionNs")]:Bc.audio[Mu.camelCase("introduction")],prompt:()=>!a.session.get("config").story||"default"===a.session.get("config").userMode&&a.session.get("config").userMetadata.grade>=6?`\n <div class = "jspsych-content-modified">\n <div class="container">\n <img src="${Bc.images.academyBackground}" alt= "background" style="width:100%;"> \n </div>\n <div class="text-block">\n <h3> ${hc.t("introduction.intro.text1")} </h3>\n <p> ${hc.t("introduction.intro.text2")} </p> \n <p> ${hc.t("introduction.intro.text3")} </p>\n </div>\n ${$c?"":`<div class="button"> ${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.anyKey")}`,action:`${hc.t("terms.continue")}`})} </div>`}\n </div>\n `:`\n <div class = "jspsych-content-modified">\n <div class="container">\n <img src="${Bc.images.academyBackground}" alt= "background" style="width:100%;"> \n </div>\n <div class="text-block">\n <h3> ${hc.t("introduction.intro.text4")} </h3>\n <p> ${hc.t("introduction.intro.text5")} </p> \n <p> ${hc.t("introduction.intro.text6")} </p> \n <p> ${hc.t("introduction.intro.text3")} </p>\n </div>\n ${$c?"":`<div class="button"> ${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.anyKey")}`,action:`${hc.t("terms.continue")}`})} </div>`}\n </div>`,keyboard_choices:()=>$c?"NO_KEYS":"ALL_KEYS",button_choices:()=>$c?["HERE"]:[],button_html:()=>$c?`<button class="button"> ${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.here")}`,action:`${hc.t("terms.continue")}`})} </button>`:"",on_start:()=>{document.body.style.cursor="none"}},$u={timeline:[{type:Co,stimulus:()=>Bc.audio.postPracticeInstruction,prompt:()=>`\n <div class="jspsych-content-modified" id="sre-background">\n <h3>${hc.t("practice.postPracticeIntro.text1")}</h3>\n <p>${hc.t("practice.postPracticeIntro.text2")}</p>\n <p>${hc.t("practice.postPracticeIntro.text3")}</p>\n <p>${hc.t("practice.postPracticeIntro.text4")}</p>\n <p>${hc.t("practice.postPracticeIntro.text5")}</p>\n ${$c?"":`<div class="button">${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.anyKey")}`,action:`${hc.t("terms.continue")}`})}</div>`}\n </div>`,keyboard_choices:()=>$c?"NO_KEYS":"ALL_KEYS",button_choices:()=>$c?["HERE"]:[],button_html:()=>$c?`<button class="button"> ${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.here")}`,action:`${hc.t("terms.continue")}`})} </button>`:""},{type:Co,stimulus:()=>Bc.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;"> ${hc.t($c?"practice.postPracticeReminder.text1Mobile":"practice.postPracticeReminder.text1")} </p>\n <img width="70%" src="${Bc.images.falseKey}" alt="arrow keys">\n </div>\n <div class="column_2_lower" style="background-color:#FFFFFF;">\n <p style = "text-align:center;"> ${hc.t($c?"practice.postPracticeReminder.text2Mobile":"practice.postPracticeReminder.text2")} </p>\n <img width="70%" src="${Bc.images.trueKey}" alt="arrow keys">\n </div>\n </div>\n <p><b> ${hc.t("practice.postPracticeReminder.text3")} </b></p>\n <p><b> ${hc.t("practice.postPracticeReminder.text4")} </b></p>\n ${$c?"":`<div class="button">${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.anyKey")}`,action:`${hc.t("terms.begin")}`})} </div>`}\n </div>`,keyboard_choices:()=>$c?"NO_KEYS":"ALL_KEYS",button_choices:()=>$c?["HERE"]:[],button_html:()=>$c?`<button class="button"> ${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.here")}`,action:`${hc.t("terms.begin")}`})} </button>`:"",on_finish:()=>{a.session.set("indexTracking",0)}}]},zu={name:"html-multi-response",parameters:{stimulus:{type:ba.HTML_STRING,pretty_name:"Stimulus",default:void 0},button_choices:{type:ba.STRING,pretty_name:"Button Choices",default:[],array:!0},keyboard_choices:{type:ba.KEYS,pretty_name:"Keyboard Choices",default:"NO_KEYS"},button_html:{type:ba.HTML_STRING,pretty_name:"Button HTML",default:'<button class="jspsych-btn">%choice%</button>',array:!0},prompt:{type:ba.HTML_STRING,pretty_name:"Prompt",default:null},stimulus_duration:{type:ba.INT,pretty_name:"Stimulus duration",default:null},trial_duration:{type:ba.INT,pretty_name:"Trial duration",default:null},margin_vertical:{type:ba.STRING,pretty_name:"Margin vertical",default:"0px"},margin_horizontal:{type:ba.STRING,pretty_name:"Margin horizontal",default:"8px"},response_ends_trial:{type:ba.BOOL,pretty_name:"Response ends trial",default:!0}}};class Bu{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 s=0;s<t.button_choices.length;s++)i.push(t.button_html);n+='<div id="jspsych-html-multi-response-btngroup">';for(s=0;s<t.button_choices.length;s++){var r=i[s].replace(/%choice%/g,t.button_choices[s]);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-'+s+'" data-choice="'+s+'">'+r+"</div>"}n+="</div>",null!==t.prompt&&(n+=t.prompt),e.innerHTML=n;if("NO_KEYS"!=t.keyboard_choices)var a=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(s=0;s<t.button_choices.length;s++)e.querySelector("#jspsych-html-multi-response-button-"+s).addEventListener("click",(e=>{d(e.currentTarget.getAttribute("data-choice"))}));var c={rt:null,button:null,key:null,source:null};const l=()=>{this.jsPsych.pluginAPI.clearAllTimeouts(),void 0!==a&&this.jsPsych.pluginAPI.cancelKeyboardResponse(a);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 d(n){var i=performance.now(),s=Math.round(i-o);c.button=parseInt(n),c.rt=s,c.source="button",e.querySelector("#jspsych-html-multi-response-stimulus").className+=" responded";for(var r=document.querySelectorAll(".jspsych-html-multi-response-button button"),a=0;a<r.length;a++)r[a].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"},s=Math.random()<.5?n:i,r=this.jsPsych.pluginAPI.mergeSimulationData(s,t);return this.jsPsych.pluginAPI.ensureSimulationDataConsistency(e,r),r}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),s=this.jsPsych.getDisplayElement();this.trial(s,e),n(),null!==i.rt&&(null!==i.button_response?this.jsPsych.pluginAPI.clickTarget(s.querySelector(`div[data-choice="${i.button_response}"] button`),i.rt):this.jsPsych.pluginAPI.pressKey(i.keyboard_response,i.rt))}}Bu.info=zu;const qu={type:Co,stimulus:()=>!a.session.get("config").story||"default"===a.session.get("config").userMode&&a.session.get("config").userMetadata.grade>=6?Bc.audio[Mu.camelCase("halfwayNs")]:a.session.get("config").story?Bc.audio[Mu.camelCase(`${a.session("character")}Halfway`)]:"",prompt:()=>!a.session.get("config").story||"default"===a.session.get("config").userMode&&a.session.get("config").userMetadata.grade>=6?`\n <div class="jspsych-content-modified">\n <div class="container">\n <img src="${Bc.images.classroomBackground}" alt= "background" style="width:100%;"> \n </div>\n <div class="text-block">\n <h3> ${hc.t("gameBreak.halfwayScreen.text1")} </h3>\n <p> ${hc.t("gameBreak.halfwayScreen.text2")} </p>\n </div>\n ${$c?"":`<div class="button"> ${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.anyKey")}`,action:`${hc.t("terms.continue")}`})} </div>`}\n </div>`:`\n <div class="jspsych-content-modified" id="sre-background">\n <div class="row">\n <div class="column_1">\n <img class="characterleft" src="${Bc.images[Mu.camelCase(`${a.session("character")}Talking`)]}" alt="animation of student talking">\n </div>\n <div class= "column_3 halfway-text-block">\n <div class="middle">\n <p> ${hc.t("gameBreak.halfwayScreen.text3")}</p>\n <p> ${hc.t("gameBreak.halfwayScreen.text4")}</p>\n </div>\n </div>\n </div>\n ${$c?"":`<div class="button"> ${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.anyKey")}`,action:`${hc.t("terms.continue")}`})} </div>`}\n </div>`,keyboard_choices:()=>$c?"NO_KEYS":"ALL_KEYS",button_choices:()=>$c?["HERE"]:[],button_html:()=>`<button class="button"> ${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.here")}`,action:`${hc.t("terms.continue")}`})} </button>`,on_finish:()=>{a.session.set("indexTracking",0)}},Vu={timeline:[{type:Co,stimulus:()=>!a.session.get("config").story||"default"===a.session.get("config").userMode&&a.session.get("config").userMetadata.grade>=6?Bc.audio[Mu.camelCase("endNs")]:a.session.get("config").story?Bc.audio[Mu.camelCase(`${a.session("character")}End`)]:"",prompt:()=>!a.session.get("config").story||"default"===a.session.get("config").userMode&&a.session.get("config").userMetadata.grade>=6?`\n <div class="jspsych-content-modified">\n <div class="container">\n <img src="${Bc.images.academyBackground}" alt= "background" style="width:100%;"> \n </div>\n <div class="text-block">\n <h3> ${hc.t("gameBreak.endScreen.text1")} </h3>\n <p> ${hc.t("gameBreak.endScreen.text2")} </p> \n </div>\n ${$c?"":`<div class="button">${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.anyKey")}`,action:`${hc.t("terms.save")}`})}</div>`}\n </div>`:`\n <div class="jspsych-content-modified">\n <div class="class-container">\n <img src="${Bc.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> ${hc.t("gameBreak.endScreen.text3")} </h3>\n <p> ${a.session("character_name")} ${hc.t("gameBreak.endScreen.text4")} </p> \n </div>\n </div>\n <div class="student" id="end-student">\n <img src="${Bc.images[Mu.camelCase(`${a.session("character")}Happy`)]}" alt= "character is happy"> \n </div>\n ${$c?"":`<div class="button">${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.anyKey")}`,action:`${hc.t("terms.save")}`})}</div>`}\n </div>`,keyboard_choices:()=>$c?"NO_KEYS":"ALL_KEYS",button_choices:()=>$c?["HERE"]:[],button_html:()=>`<button class="button"> ${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.here")}`,action:`${hc.t("terms.save")}`})} </button>`,data:{save_trial:!1}},{timeline:[{type:Bu,stimulus:()=>`\n <div class="jspsych-content-modified">\n <div class="container">\n <img src="${Bc.images.academyBackground}" alt= "background" style="width:100%;"> </div>\n <div class="demo-text-block">\n <h3>${hc.t("gameBreak.debrief.text1")}</h3>\n <p>${hc.t("gameBreak.debrief.text2")}</p>\n </div>\n ${$c?"":`<div class="button">${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.anyKey")}`,action:`${hc.t("terms.close")}`})}</div>`}\n </div>`,keyboard_choices:()=>$c?"NO_KEYS":"ALL_KEYS",button_choices:()=>$c?["HERE"]:[],button_html:()=>`<button class="button"> ${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.here")}`,action:`${hc.t("terms.close")}`})} </button>`}],conditional_function:()=>"demo"===a.session.get("config").userMode},{type:Ru,fullscreen_mode:!1,delay_after:0}]},Hu={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"}},Wu=[1,2,3,4],Yu=["dog","cat","bird","deer"],Ku={timeline:[{type:Co,stimulus:()=>Bc.audio.studentSelect,prompt:()=>$c?`\n <div>\n <img id="mobile-classroom-bg" src=${Bc.images.classroomBackground} alt="background"/>\n <h3>${hc.t("characterSelect.studentSelect.paragraph1")}</h3>\n <p> ${hc.t($c?"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=${Bc.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>${hc.t("characterSelect.studentSelect.paragraph1")}</h3>\n <p> ${hc.t($c?"characterSelect.studentSelect.paragraph2Mobile":"characterSelect.studentSelect.paragraph2")} </p> \n </div>\n </div>\n ${$c?"":`<div class="number">${Wu.map((e=>`<div class="number-block"><n>${e}</n></div>`)).join("")}</div>`}\n <div class="student ${$c?"mobile-student-select-characters":""}">\n ${Yu.map((e=>`<img src=${Bc.images[e]} alt=${e}>`)).join("")}\n </div>\n <div class="button">\n ${hc.t("navigation.studentSelect")} \n </div>\n </div>\n `,keyboard_choices:()=>$c?"NO_KEYS":["1","2","3","4"],button_choices:()=>$c?["1","2","3","4"]:[],button_html:()=>'<button class="grade-btn">%choice%</button>',prompt_above_buttons:()=>$c,data:{save_trial:!1},on_load:()=>{if($c){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(hc.t("characterSelect.studentSelect.paragraph3MobileBefore")),i=document.createTextNode(hc.t("characterSelect.studentSelect.paragraph3MobileAfter")),s=document.createElement("span");s.classList.add("yellow"),s.textContent=hc.t("characterSelect.studentSelect.paragraph3MobileSpan"),t.appendChild(n),t.appendChild(s),t.appendChild(i),t.classList.add("button");const r=document.createElement("div"),a=Yu.map((e=>{const t=document.createElement("img");return t.setAttribute("src",Bc.images[e]),t.setAttribute("alt",e),t.classList.add("mobile-character-select"),t}));for(const e of a)r.appendChild(e);e.appendChild(r),e.appendChild(t)}}},on_finish:e=>{a.session.set("character",Hu[$c?e.button_response+1:e.keyboard_response].character),a.session.set("character_name",Hu[$c?e.button_response+1:e.keyboard_response].characterName),a.session.set("character_activity",Hu[$c?e.button_response+1:e.keyboard_response].characterActivity)}},{type:Co,stimulus:()=>Bc.audio[Mu.camelCase(`${a.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="${Bc.images[Mu.camelCase(`${a.session("character")}Talking`)]}" alt="animation of student talking">\n </div>\n <div class= "column_3 student-text-block">\n <div class="middle">\n <p> ${hc.t("characterSelect.studentIntro.paragraph1")} ${a.session("character_name")}. </p>\n <p> ${hc.t("characterSelect.studentIntro.paragraph2")} ${a.session("character_activity")}. </p>\n <p> ${hc.t("characterSelect.studentIntro.paragraph3")} </p>\n </div>\n </div>\n </div>\n ${$c?"":`<div class="button">${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.anyKey")}`,action:`${hc.t("terms.continue")}`})}</div>`}\n </div>`,keyboard_choices:()=>$c?"NO_KEYS":"ALL_KEYS",button_choices:()=>$c?["HERE"]:[],button_html:()=>`<button class="button"> ${hc.t("navigation.continueButtonText",{input:`${hc.t("terms.here")}`,action:`${hc.t("terms.continue")}`})} </button>`}],conditional_function:()=>!(!a.session.get("config").story||"default"===a.session.get("config").userMode&&a.session.get("config").userMetadata.grade>=6)},Gu=(e,t,n)=>({timeline:[{type:Bu,stimulus:()=>{if(0===a.session("indexTracking")){const t=setTimeout((()=>a.session.set("timeOut",!0)),n);a.session.set("timerId",t),"tosrec"!==e?a.session.set("currentCorpus",Au[e]):a.session.set("currentCorpus",Au[a.session("tosrecCorpusId")])}return`\n <div class=stimulus_div>\n <p class='stimulus' translate='no'>${a.session("currentCorpus")[a.session("indexTracking")].sentence}</p>\n </div>`},prompt:()=>$c?"":`\n <div> \n <img class="lower" src="${Bc.images.roarSreKeyboard}" alt="arrow keys"> \n </div>`,keyboard_choices:()=>$c?"NO_KEYS":["ArrowLeft","ArrowRight"],button_choices:()=>$c?[hc.t("terms.false")[0].toUpperCase(),hc.t("terms.true")[0].toUpperCase()]:[],button_html:()=>$c?[`<button class="mobile-stimulus-btn"><img src=${Bc.images.leftArrowBlankShort} alt=${hc.t("terms.false")}/><span>${hc.t("terms.false")[0].toLocaleUpperCase()}</span></button>`,`<button class="mobile-stimulus-btn"><img src=${Bc.images.rightArrowBlankShort} alt=${hc.t("terms.true")}/><span>${hc.t("terms.true")[0].toLocaleUpperCase()}</span></button>`]:[],on_load:()=>{if($c){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:n=>{n.keyboard_response?"arrowleft"===n.keyboard_response?a.session.set("keyResponse","left"):a.session.set("keyResponse","right"):0===n.button_response?a.session.set("buttonResponse","left"):a.session.set("buttonResponse","right"),n.keyboard_response?n.correct=Yc.pluginAPI.compareKeys(a.session("keyResponse"),a.session("currentCorpus")[a.session("indexTracking")].direction):n.correct=0===n.button_response&&"left"===a.session("currentCorpus")[a.session("indexTracking")].direction||1===n.button_response&&"right"===a.session("currentCorpus")[a.session("indexTracking")].direction,n.correct?a.session.set("dataCorrect",1):a.session.set("dataCorrect",0),Zu.addResponseData(n.rt,n.keyboard_response?n.keyboard_response:n.button_response,a.session("dataCorrect")),Yc.data.addDataToLastTrial({save_trial:!a.session("timeOut"),pid:a.session.get("config").pid,subtask:e,blockId:t,corpusId:"tosrec"!==e?e:a.session("tosrecCorpusId"),trialNumBlock:a.session("indexTracking")+1,itemId:a.session("currentCorpus")[a.session("indexTracking")].itemId,testsetId:a.session("currentCorpus")[a.session("indexTracking")].testsetId,item:a.session("currentCorpus")[a.session("indexTracking")].sentence,truefalse:a.session("currentCorpus")[a.session("indexTracking")].answer,correct:a.session("dataCorrect"),story:a.session.get("config").story})}},{type:Co,stimulus:()=>Bc.audio.neutralSoundSub,prompt:()=>$c?'<div class=stimulus_div>\n <p id="mobile-placeholder-stimulus">Invisible Place holder text</p>\n </div>':`\n <div>\n <img class="lower" src="${Bc.images.roarSreKeyboard}" alt="arrow keys">\n </div>`,keyboard_choices:"NO_KEYS",button_choices:()=>$c?[hc.t("terms.false")[0].toUpperCase(),hc.t("terms.true")[0].toUpperCase()]:[],button_html:()=>$c?[`<button class="mobile-stimulus-btn"><img src=${Bc.images.leftArrowBlankShort} alt=${hc.t("terms.false")}/><span>${hc.t("terms.false")[0].toLocaleUpperCase()}</span></button>`,`<button class="mobile-stimulus-btn"><img src=${Bc.images.rightArrowBlankShort} alt=${hc.t("terms.true")}/><span>${hc.t("terms.true")[0].toLocaleUpperCase()}</span></button>`]:[],prompt_above_buttons:!0,on_load:()=>{if($c){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");const e=document.getElementById("jspsych-audio-multi-response-btngroup");e.style.display="flex",e.style.gap="9rem"}},trial_duration:200,response_allowed_while_playing:!1,trial_ends_after_audio:!0}],loop_function:function(){return a.session("indexTracking")===a.session("currentCorpus").length-1||a.session("timeOut")?(a.session.set("indexTracking",0),a.session.set("timeOut",!1),clearTimeout(a.session.get("timerId")),!1):(a.session.transact("indexTracking",(e=>e+1)),!0)}}),Ju={type:Co,stimulus:()=>Bc.audio.practiceInstruction,prompt:()=>`\n <div class="jspsych-content-modified" id="sre-background">\n <h2>${hc.t("practice.intro.text1")}</h2>\n <p>${hc.t("practice.intro.text2")}</p>\n <div class="row">\n <div class="instruction-boxes">\n <p> \n ${hc.t($c?"practice.intro.text3Mobile":"practice.intro.text3")} \n </p>\n <img src="${Bc.images.practiceLeft}" alt="arrow keys">\n </div>\n <div class="instruction-boxes">\n <p> \n ${hc.t($c?"practice.intro.text4Mobile":"practice.intro.text4")} \n </p>\n <img src="${Bc.images.practiceRight}" alt="arrow keys">\n </div>\n </div>\n <p> <b>${hc.t("practice.intro.text5")}</b> </p> \n <div class="button">${hc.t("practice.intro.text6")}</div>\n </div>`,keyboard_choices:()=>$c?"NO_KEYS":"ALL_KEYS",button_choices:()=>$c?["HERE"]:[],button_html:()=>`<button class="button">${hc.t("practice.intro.text6Mobile")}</button>`,on_finish:()=>{a.session.set("indexTracking",-1)}},Xu={type:Bu,stimulus:()=>(a.session.transact("indexTracking",(e=>e+1)),`\n <div class=stimulus_div>\n <p class='stimulus' translate='no'>${a.session("practiceCorpus")[a.session("indexTracking")].sentence}</p>\n </div>`),prompt:()=>$c?"":`\n <div> \n <img class="lower" src="${Bc.images.roarSreKeyboard}" alt="arrow keys"> \n </div>`,keyboard_choices:()=>$c?"NO_KEYS":["ArrowLeft","ArrowRight"],button_choices:()=>$c?[hc.t("terms.false")[0].toUpperCase(),hc.t("terms.true")[0].toUpperCase()]:[],button_html:()=>$c?[`<button class="mobile-stimulus-btn"><img src=${Bc.images.leftArrowBlankShort} alt=${hc.t("terms.false")}/><span>${hc.t("terms.false")[0].toLocaleUpperCase()}</span></button>`,`<button class="mobile-stimulus-btn"><img src=${Bc.images.rightArrowBlankShort} alt=${hc.t("terms.true")}/><span>${hc.t("terms.true")[0].toLocaleUpperCase()}</span></button>`]:[],on_load:()=>{if($c){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=Yc.pluginAPI.compareKeys(e.keyboard_response,a.session("practiceCorpus")[a.session("indexTracking")].correct_response),a.session.set("arrowResponse",e.keyboard_response)):e.correct="arrowleft"===a.session("practiceCorpus")[a.session("indexTracking")].correct_response&&0===e.button_response||"arrowright"===a.session("practiceCorpus")[a.session("indexTracking")].correct_response&&1===e.button_response,e.correct?(a.session.set("dataCorrect",1),a.session.set("feedbackResponse","Correct!")):(a.session.set("dataCorrect",0),a.session.set("feedbackResponse","That's not quite right."));const t="arrowleft"===e.keyboard_response||0===e.button_response;a.session.set("responseLR",t?"left":"right"),a.session.set("answerRP",t?"false":"true"),a.session.set("responseColor",t?"orange":"blue");const n="arrowleft"===a.session("practiceCorpus")[a.session("indexTracking")].correct_response;a.session.set("correctLR",n?"left":"right"),a.session.set("correctRP",n?"false":"true"),a.session.set("answerColor",n?"orange":"blue"),Yc.data.addDataToLastTrial({pid:a.session.get("config").pid,subtask:"practice",corpusId:"practice",correct:a.session("dataCorrect"),trialNumBlock:a.session("indexTracking"),item:a.session("practiceCorpus")[a.session("indexTracking")].sentence,truefalse:a.session("practiceCorpus")[a.session("indexTracking")].answer,story:a.session.get("config").story})}};"false"===a.session("correctRP")?Bc.images.falseFlashKeySplit:Bc.images.falseStaticKeySplit,"false"===a.session("correctRP")?Bc.images.trueStaticKeySplit:Bc.images.trueFlashKeySplit;const Qu={type:Co,response_allowed_while_playing:()=>a.session.get("config").skipInstructions,stimulus:()=>1===a.session("dataCorrect")?Bc.audio[`feedback${a.session("indexTracking")}Correct`]:Bc.audio[`feedback${a.session("indexTracking")}Incorrect`],prompt:()=>`\n <div class="stimulus_div">\n <p id=${$c?"mobile-stimulus-text":""} class="feedback" translate='no'>\n <span class=${a.session("responseColor")}>${a.session("feedbackResponse")} ${hc.t($c?"practice.feedback.text1Mobile":"practice.feedback.text1",{arrow:"left"===a.session("responseLR")?hc.t("terms.left"):hc.t("terms.right"),type:"true"===a.session("answerRP")?hc.t("terms.true"):hc.t("terms.false")})}</span>\n <br></br> \n "${a.session("practiceCorpus")[a.session("indexTracking")].sentence}"\n <span class=${a.session("answerColor")}> ${hc.t($c?"practice.feedback.text2Mobile":"practice.feedback.text2",{arrow:"left"===a.session("correctLR")?hc.t("terms.left"):hc.t("terms.right"),type:"true"===a.session("correctRP")?hc.t("terms.true"):hc.t("terms.false")})}</span>\n </p>\n </div>\n ${$c?"":`<img class="lower" src= "${"false"===a.session("correctRP")?Bc.images.falseFlashKey:Bc.images.trueFlashKey}" alt="arrow keys">`}`,keyboard_choices:()=>$c?"NO_KEYS":"false"===a.session("correctRP")?["ArrowLeft"]:["ArrowRight"],button_choices:()=>$c?["ArrowLeft","ArrowRight"]:[],button_html:()=>$c?[`<button class="mobile-practice-feedback ${"false"===a.session("correctRP")?"":"mobile-disable-button"}">\n <img src=${"false"===a.session("correctRP")?Bc.images.falseFlashKeySplit:Bc.images.falseStaticKeySplit} alt="feedback arrow"/>\n </button>`,`<button class="mobile-practice-feedback ${"true"===a.session("correctRP")?"":"mobile-disable-button"}">\n <img src=${"true"===a.session("correctRP")?Bc.images.trueFlashKeySplit:Bc.images.trueStaticKeySplit} alt="feedback arrow"/>\n </button>`]:"",prompt_above_buttons:()=>$c,on_load:()=>{document.querySelectorAll(".jspsych-audio-multi-response-button").forEach(((e,t)=>{const n="false"===a.session("correctRP");0!==t||n?1===t&&n&&e.classList.add("mobile-disable-button"):e.classList.add("mobile-disable-button")}))}};let Zu;const ep=Object.prototype.toString;function tp(e){switch(ep.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return pp(e,Error)}}function np(e,t){return ep.call(e)===`[object ${t}]`}function ip(e){return np(e,"ErrorEvent")}function sp(e){return np(e,"DOMError")}function rp(e){return np(e,"String")}function ap(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function op(e){return null===e||ap(e)||"object"!=typeof e&&"function"!=typeof e}function cp(e){return np(e,"Object")}function lp(e){return"undefined"!=typeof Event&&pp(e,Event)}function dp(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function up(e){return"number"==typeof e&&e!=e}function pp(e,t){try{return e instanceof t}catch(e){return!1}}function fp(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}function hp(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function mp(e,t){if(!Array.isArray(e))return"";const n=[];for(let t=0;t<e.length;t++){const i=e[t];try{fp(i)?n.push("[VueViewModel]"):n.push(String(i))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function gp(e,t,n=!1){return!!rp(e)&&(np(t,"RegExp")?t.test(e):!!rp(t)&&(n?e===t:e.includes(t)))}function yp(e,t=[],n=!1){return t.some((t=>gp(e,t,n)))}function vp(e,t,n=250,i,s,r,a){if(!(r.exception&&r.exception.values&&a&&pp(a.originalException,Error)))return;const o=r.exception.values.length>0?r.exception.values[r.exception.values.length-1]:void 0;var c,l;o&&(r.exception.values=(c=bp(e,t,s,a.originalException,i,r.exception.values,o,0),l=n,c.map((e=>(e.value&&(e.value=hp(e.value,l)),e)))))}function bp(e,t,n,i,s,r,a,o){if(r.length>=n+1)return r;let c=[...r];if(pp(i[s],Error)){_p(a,o);const r=e(t,i[s]),l=c.length;wp(r,s,l,o),c=bp(e,t,n,i[s],s,[r,...c],r,l)}return Array.isArray(i.errors)&&i.errors.forEach(((i,r)=>{if(pp(i,Error)){_p(a,o);const l=e(t,i),d=c.length;wp(l,`errors[${r}]`,d,o),c=bp(e,t,n,i,s,[l,...c],l,d)}})),c}function _p(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,is_exception_group:!0,exception_id:t}}function wp(e,t,n,i){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:i}}function Ip(e){return e&&e.Math==Math?e:void 0}const xp="object"==typeof globalThis&&Ip(globalThis)||"object"==typeof window&&Ip(window)||"object"==typeof self&&Ip(self)||"object"==typeof global&&Ip(global)||function(){return this}()||{};function Ep(){return xp}function Sp(e,t,n){const i=n||xp,s=i.__SENTRY__=i.__SENTRY__||{};return s[e]||(s[e]=t())}const Ap=Ep(),kp=80;function Tp(e,t={}){if(!e)return"<unknown>";try{let n=e;const i=5,s=[];let r=0,a=0;const o=" > ",c=o.length;let l;const d=Array.isArray(t)?t:t.keyAttrs,u=!Array.isArray(t)&&t.maxStringLength||kp;for(;n&&r++<i&&(l=Rp(n,d),!("html"===l||r>1&&a+s.length*c+l.length>=u));)s.push(l),a+=l.length,n=n.parentNode;return s.reverse().join(o)}catch(e){return"<unknown>"}}function Rp(e,t){const n=e,i=[];let s,r,a,o,c;if(!n||!n.tagName)return"";if(Ap.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;i.push(n.tagName.toLowerCase());const l=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(l&&l.length)l.forEach((e=>{i.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&i.push(`#${n.id}`),s=n.className,s&&rp(s))for(r=s.split(/\s+/),c=0;c<r.length;c++)i.push(`.${r[c]}`);const d=["aria-label","type","name","title","alt"];for(c=0;c<d.length;c++)a=d[c],o=n.getAttribute(a),o&&i.push(`[${a}="${o}"]`);return i.join("")}function Cp(e){if(!Ap.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}const Lp="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Op=["debug","info","warn","error","log","assert","trace"],Np={};function Fp(e){if(!("console"in xp))return e();const t=xp.console,n={},i=Object.keys(Np);i.forEach((e=>{const i=Np[e];n[e]=t[e],t[e]=i}));try{return e()}finally{i.forEach((e=>{t[e]=n[e]}))}}const jp=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Lp?Op.forEach((n=>{t[n]=(...t)=>{e&&Fp((()=>{xp.console[n](`Sentry Logger [${n}]:`,...t)}))}})):Op.forEach((e=>{t[e]=()=>{}})),t}(),Pp=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Up(e,t=!1){const{host:n,path:i,pass:s,port:r,projectId:a,protocol:o,publicKey:c}=e;return`${o}://${c}${t&&s?`:${s}`:""}@${n}${r?`:${r}`:""}/${i?`${i}/`:i}${a}`}function Mp(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Dp(e){const t="string"==typeof e?function(e){const t=Pp.exec(e);if(!t)return void Fp((()=>{console.error(`Invalid Sentry Dsn: ${e}`)}));const[n,i,s="",r,a="",o]=t.slice(1);let c="",l=o;const d=l.split("/");if(d.length>1&&(c=d.slice(0,-1).join("/"),l=d.pop()),l){const e=l.match(/^\d+/);e&&(l=e[0])}return Mp({host:r,pass:s,path:c,projectId:l,port:a,protocol:n,publicKey:i})}(e):Mp(e);if(t&&function(e){if(!Lp)return!0;const{port:t,projectId:n,protocol:i}=e;return!(["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(jp.error(`Invalid Sentry Dsn: ${t} missing`),!0)))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(i)?t&&isNaN(parseInt(t,10))&&(jp.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(jp.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),1):(jp.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}class $p extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}function zp(e,t,n){if(!(t in e))return;const i=e[t],s=n(i);"function"==typeof s&&qp(s,i),e[t]=s}function Bp(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){Lp&&jp.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function qp(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Bp(e,"__sentry_original__",t)}catch(e){}}function Vp(e){return e.__sentry_original__}function Hp(e){if(tp(e))return{message:e.message,name:e.name,stack:e.stack,...Yp(e)};if(lp(e)){const t={type:e.type,target:Wp(e.target),currentTarget:Wp(e.currentTarget),...Yp(e)};return"undefined"!=typeof CustomEvent&&pp(e,CustomEvent)&&(t.detail=e.detail),t}return e}function Wp(e){try{return t=e,"undefined"!=typeof Element&&pp(t,Element)?Tp(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}var t}function Yp(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function Kp(e){return Gp(e,new Map)}function Gp(e,t){if(function(e){if(!cp(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const i={};t.set(e,i);for(const n of Object.keys(e))void 0!==e[n]&&(i[n]=Gp(e[n],t));return i}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const i=[];return t.set(e,i),e.forEach((e=>{i.push(Gp(e,t))})),i}return e}const Jp=50,Xp=/\(error: (.*)\)/,Qp=/captureMessage|captureException/;function Zp(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0)=>{const i=[],s=e.split("\n");for(let e=n;e<s.length;e++){const n=s[e];if(n.length>1024)continue;const r=Xp.test(n)?n.replace(Xp,"$1"):n;if(!r.match(/\S*Error: /)){for(const e of t){const t=e(r);if(t){i.push(t);break}}if(i.length>=Jp)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop();t.reverse(),Qp.test(t[t.length-1].function||"")&&(t.pop(),Qp.test(t[t.length-1].function||"")&&t.pop());return t.slice(0,Jp).map((e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||"?"})))}(i)}}const ef="<anonymous>";function tf(e){try{return e&&"function"==typeof e&&e.name||ef}catch(e){return ef}}const nf={},sf={};function rf(e,t){nf[e]=nf[e]||[],nf[e].push(t)}function af(e,t){sf[e]||(t(),sf[e]=!0)}function of(e,t){const n=e&&nf[e];if(n)for(const i of n)try{i(t)}catch(t){Lp&&jp.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${tf(i)}\nError:`,t)}}function cf(){"console"in xp&&Op.forEach((function(e){e in xp.console&&zp(xp.console,e,(function(t){return Np[e]=t,function(...t){of("console",{args:t,level:e});const n=Np[e];n&&n.apply(xp.console,t)}}))}))}function lf(){const e=xp,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function df(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function uf(e){const{message:t,event_id:n}=e;if(t)return t;const i=df(e);return i?i.type&&i.value?`${i.type}: ${i.value}`:i.type||i.value||n||"<unknown>":n||"<unknown>"}function pf(e,t,n){const i=e.exception=e.exception||{},s=i.values=i.values||[],r=s[0]=s[0]||{};r.value||(r.value=t||""),r.type||(r.type=n||"Error")}function ff(e,t){const n=df(e);if(!n)return;const i=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...i,...t},t&&"data"in t){const e={...i&&i.data,...t.data};n.mechanism.data=e}}function hf(e){if(e&&e.__sentry_captured__)return!0;try{Bp(e,"__sentry_captured__",!0)}catch(e){}return!1}function mf(e){return Array.isArray(e)?e:[e]}const gf=xp,yf=1e3;let vf,bf,_f;function wf(){if(!gf.document)return;const e=of.bind(null,"dom"),t=If(e,!0);gf.document.addEventListener("click",t,!1),gf.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=gf[t]&&gf[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(zp(n,"addEventListener",(function(t){return function(n,i,s){if("click"===n||"keypress"==n)try{const i=this,r=i.__sentry_instrumentation_handlers__=i.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){const i=If(e);a.handler=i,t.call(this,n,i,s)}a.refCount++}catch(e){}return t.call(this,n,i,s)}})),zp(n,"removeEventListener",(function(e){return function(t,n,i){if("click"===t||"keypress"==t)try{const n=this,s=n.__sentry_instrumentation_handlers__||{},r=s[t];r&&(r.refCount--,r.refCount<=0&&(e.call(this,t,r.handler,i),r.handler=void 0,delete s[t]),0===Object.keys(s).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,i)}})))}))}function If(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const i=function(e){try{return e.target}catch(e){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,i))return;Bp(n,"_sentryCaptured",!0),i&&!i._sentryId&&Bp(i,"_sentryId",lf());const s="keypress"===n.type?"input":n.type;if(!function(e){if(e.type!==bf)return!1;try{if(!e.target||e.target._sentryId!==_f)return!1}catch(e){}return!0}(n)){e({event:n,name:s,global:t}),bf=n.type,_f=i?i._sentryId:void 0}clearTimeout(vf),vf=gf.setTimeout((()=>{_f=void 0,bf=void 0}),yf)}}const xf=Ep();function Ef(){if(!("fetch"in xf))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function Sf(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Af(e){const t="fetch";rf(t,e),af(t,kf)}function kf(){(function(){if("string"==typeof EdgeRuntime)return!0;if(!Ef())return!1;if(Sf(xf.fetch))return!0;let e=!1;const t=xf.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=Sf(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){Lp&&jp.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e})()&&zp(xp,"fetch",(function(e){return function(...t){const{method:n,url:i}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:Rf(t),method:Tf(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:Rf(t),method:Tf(t,"method")?String(t.method).toUpperCase():"GET"}}(t),s={args:t,fetchData:{method:n,url:i},startTimestamp:Date.now()};return of("fetch",{...s}),e.apply(xp,t).then((e=>(of("fetch",{...s,endTimestamp:Date.now(),response:e}),e)),(e=>{throw of("fetch",{...s,endTimestamp:Date.now(),error:e}),e}))}}))}function Tf(e,t){return!!e&&"object"==typeof e&&!!e[t]}function Rf(e){return"string"==typeof e?e:e?Tf(e,"url")?e.url:e.toString?e.toString():"":""}let Cf=null;function Lf(e){const t="error";rf(t,e),af(t,Of)}function Of(){Cf=xp.onerror,xp.onerror=function(e,t,n,i,s){return of("error",{column:i,error:s,line:n,msg:e,url:t}),!(!Cf||Cf.__SENTRY_LOADER__)&&Cf.apply(this,arguments)},xp.onerror.__SENTRY_INSTRUMENTED__=!0}let Nf=null;function Ff(e){const t="unhandledrejection";rf(t,e),af(t,jf)}function jf(){Nf=xp.onunhandledrejection,xp.onunhandledrejection=function(e){return of("unhandledrejection",e),!(Nf&&!Nf.__SENTRY_LOADER__)||Nf.apply(this,arguments)},xp.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Pf=Ep();const Uf=xp;let Mf;function Df(e){const t="history";rf(t,e),af(t,$f)}function $f(){if(!function(){const e=Pf.chrome,t=e&&e.app&&e.app.runtime,n="history"in Pf&&!!Pf.history.pushState&&!!Pf.history.replaceState;return!t&&n}())return;const e=Uf.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=Mf,t=String(n);Mf=t;of("history",{from:e,to:t})}return e.apply(this,t)}}Uf.onpopstate=function(...t){const n=Uf.location.href,i=Mf;Mf=n;if(of("history",{from:i,to:n}),e)try{return e.apply(this,t)}catch(e){}},zp(Uf.history,"pushState",t),zp(Uf.history,"replaceState",t)}const zf=xp,Bf="__sentry_xhr_v3__";function qf(e){rf("xhr",e),af("xhr",Vf)}function Vf(){if(!zf.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;zp(e,"open",(function(e){return function(...t){const n=Date.now(),i=rp(t[0])?t[0].toUpperCase():void 0,s=function(e){if(rp(e))return e;try{return e.toString()}catch(e){}return}(t[1]);if(!i||!s)return e.apply(this,t);this[Bf]={method:i,url:s,request_headers:{}},"POST"===i&&s.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const r=()=>{const e=this[Bf];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}of("xhr",{args:[i,s],endTimestamp:Date.now(),startTimestamp:n,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?zp(this,"onreadystatechange",(function(e){return function(...t){return r(),e.apply(this,t)}})):this.addEventListener("readystatechange",r),zp(this,"setRequestHeader",(function(e){return function(...t){const[n,i]=t,s=this[Bf];return s&&rp(n)&&rp(i)&&(s.request_headers[n.toLowerCase()]=i),e.apply(this,t)}})),e.apply(this,t)}})),zp(e,"send",(function(e){return function(...t){const n=this[Bf];if(!n)return e.apply(this,t);void 0!==t[0]&&(n.body=t[0]);return of("xhr",{args:[n.method,n.url],startTimestamp:Date.now(),xhr:this}),e.apply(this,t)}}))}function Hf(e,t=100,n=1/0){try{return Yf("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Wf(e,t=3,n=102400){const i=Hf(e,t);return s=i,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(s))>n?Wf(e,t-1,n):i;var s}function Yf(e,t,n=1/0,i=1/0,s=function(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){const[r,a]=s;if(null==t||["number","boolean","string"].includes(typeof t)&&!up(t))return t;const o=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if(fp(t))return"[VueViewModel]";if(cp(n=t)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n)return"[SyntheticEvent]";if("number"==typeof t&&t!=t)return"[NaN]";if("function"==typeof t)return`[Function: ${tf(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const i=function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(i)?`[HTMLElement: ${i}]`:`[object ${i}]`}catch(e){return`**non-serializable** (${e})`}var n}(e,t);if(!o.startsWith("[object "))return o;if(t.__sentry_skip_normalization__)return t;const c="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===c)return o.replace("object ","");if(r(t))return"[Circular ~]";const l=t;if(l&&"function"==typeof l.toJSON)try{return Yf("",l.toJSON(),c-1,i,s)}catch(e){}const d=Array.isArray(t)?[]:{};let u=0;const p=Hp(t);for(const e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(u>=i){d[e]="[MaxProperties ~]";break}const t=p[e];d[e]=Yf(e,t,c-1,i,s),u++}return a(t),d}var Kf;function Gf(e){return new Xf((t=>{t(e)}))}function Jf(e){return new Xf(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(Kf||(Kf={}));let Xf=class e{constructor(t){e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),this._state=Kf.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(e){this._reject(e)}}then(t,n){return new e(((e,i)=>{this._handlers.push([!1,n=>{if(t)try{e(t(n))}catch(e){i(e)}else e(n)},t=>{if(n)try{e(n(t))}catch(e){i(e)}else i(t)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(t){return new e(((e,n)=>{let i,s;return this.then((e=>{s=!1,i=e,t&&t()}),(e=>{s=!0,i=e,t&&t()})).then((()=>{s?n(i):e(i)}))}))}__init(){this._resolve=e=>{this._setResult(Kf.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(Kf.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===Kf.PENDING&&(dp(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===Kf.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===Kf.RESOLVED&&e[1](this._value),this._state===Kf.REJECTED&&e[2](this._value),e[0]=!0)}))}}};function Qf(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(i){if(!(void 0===e||t.length<e))return Jf(new $p("Not adding Promise because buffer limit was reached."));const s=i();return-1===t.indexOf(s)&&t.push(s),s.then((()=>n(s))).then(null,(()=>n(s).then(null,(()=>{})))),s},drain:function(e){return new Xf(((n,i)=>{let s=t.length;if(!s)return n(!0);const r=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{Gf(e).then((()=>{--s||(clearTimeout(r),n(!0))}),i)}))}))}}}function Zf(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",i=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:i,relative:t[5]+n+i}}const eh=["fatal","error","warning","log","info","debug"];function th(e){return"warn"===e?"warning":eh.includes(e)?e:"log"}const nh=1e3;function ih(){return Date.now()/nh}const sh=function(){const{performance:e}=xp;if(!e||!e.now)return ih;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/nh}(),rh=(()=>{const{performance:e}=xp;if(!e||!e.now)return;const t=36e5,n=e.now(),i=Date.now(),s=e.timeOrigin?Math.abs(e.timeOrigin+n-i):t,r=s<t,a=e.timing&&e.timing.navigationStart,o="number"==typeof a?Math.abs(a+n-i):t;return r||o<t?s<=o?e.timeOrigin:a:i})(),ah="baggage",oh="sentry-",ch=/^sentry-/,lh=8192;function dh(e){if(!e)return;return function(e){if(0===Object.keys(e).length)return;return Object.entries(e).reduce(((e,[t,n],i)=>{const s=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,r=0===i?s:`${e},${s}`;return r.length>lh?(Lp&&jp.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):r}),"")}(Object.entries(e).reduce(((e,[t,n])=>(n&&(e[`${oh}${t}`]=n),e)),{}))}function uh(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(e[t]=n,e)),{})}const ph=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function fh(e,t){const n=function(e){if(!e)return;const t=e.match(ph);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}(e),i=function(e){if(!rp(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce(((e,t)=>{const n=uh(t);for(const t of Object.keys(n))e[t]=n[t];return e}),{});else{if(!e)return;t=uh(e)}const n=Object.entries(t).reduce(((e,[t,n])=>(t.match(ch)&&(e[t.slice(oh.length)]=n),e)),{});return Object.keys(n).length>0?n:void 0}(t),{traceId:s,parentSpanId:r,parentSampled:a}=n||{};return n?{traceId:s||lf(),parentSpanId:r||lf().substring(16),spanId:lf().substring(16),sampled:a,dsc:i||{}}:{traceId:s||lf(),spanId:lf().substring(16)}}function hh(e=lf(),t=lf().substring(16),n){let i="";return void 0!==n&&(i=n?"-1":"-0"),`${e}-${t}${i}`}function mh(e,t=[]){return[e,t]}function gh(e,t){const[n,i]=e;return[n,[...i,t]]}function yh(e,t){const n=e[1];for(const e of n){if(t(e,e[0].type))return!0}return!1}function vh(e,t){return(t||new TextEncoder).encode(e)}function bh(e,t){const[n,i]=e;let s=JSON.stringify(n);function r(e){"string"==typeof s?s="string"==typeof e?s+e:[vh(s,t),e]:s.push("string"==typeof e?vh(e,t):e)}for(const e of i){const[t,n]=e;if(r(`\n${JSON.stringify(t)}\n`),"string"==typeof n||n instanceof Uint8Array)r(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify(Hf(n))}r(e)}}return"string"==typeof s?s:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let i=0;for(const t of e)n.set(t,i),i+=t.length;return n}(s)}function _h(e,t){const n="string"==typeof e.data?vh(e.data,t):e.data;return[Kp({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const wh={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",statsd:"unknown"};function Ih(e){return wh[e]}function xh(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}const Eh=6e4;function Sh(e,{statusCode:t,headers:n},i=Date.now()){const s={...e},r=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(r)for(const e of r.trim().split(",")){const[t,n]=e.split(":",2),r=parseInt(t,10),a=1e3*(isNaN(r)?60:r);if(n)for(const e of n.split(";"))s[e]=i+a;else s.all=i+a}else a?s.all=i+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const i=Date.parse(`${e}`);return isNaN(i)?Eh:i-t}(a,i):429===t&&(s.all=i+6e4);return s}const Ah="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,kh="production";function Th(){return Sp("globalEventProcessors",(()=>[]))}function Rh(e){Th().push(e)}function Ch(e,t,n,i=0){return new Xf(((s,r)=>{const a=e[i];if(null===t||"function"!=typeof a)s(t);else{const o=a({...t},n);Ah&&a.id&&null===o&&jp.log(`Event processor "${a.id}" dropped event`),dp(o)?o.then((t=>Ch(e,t,n,i+1).then(s))).then(null,r):Ch(e,o,n,i+1).then(s).then(null,r)}}))}function Lh(e){const t=sh(),n={sid:lf(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return Kp({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&Oh(n,e),n}function Oh(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||sh(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:lf()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Nh(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),Oh(e,n)}const Fh=1;function jh(e){const{spanId:t,traceId:n}=e.spanContext(),{data:i,op:s,parent_span_id:r,status:a,tags:o,origin:c}=Dh(e);return Kp({data:i,op:s,parent_span_id:r,span_id:t,status:a,tags:o,trace_id:n,origin:c})}function Ph(e){const{traceId:t,spanId:n}=e.spanContext();return hh(t,n,$h(e))}function Uh(e){return"number"==typeof e?Mh(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Mh(e.getTime()):sh()}function Mh(e){return e>9999999999?e/1e3:e}function Dh(e){return function(e){return"function"==typeof e.getSpanJSON}(e)?e.getSpanJSON():"function"==typeof e.toJSON?e.toJSON():{}}function $h(e){const{traceFlags:t}=e.spanContext();return Boolean(t&Fh)}function zh(e,t,n,i,s,r){const{normalizeDepth:a=3,normalizeMaxBreadth:o=1e3}=e,c={...t,event_id:t.event_id||n.event_id||lf(),timestamp:t.timestamp||ih()},l=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:i,dist:s,maxValueLength:r=250}=t;"environment"in e||(e.environment="environment"in t?n:kh);void 0===e.release&&void 0!==i&&(e.release=i);void 0===e.dist&&void 0!==s&&(e.dist=s);e.message&&(e.message=hp(e.message,r));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=hp(a.value,r));const o=e.request;o&&o.url&&(o.url=hp(o.url,r))}(c,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(c,l),void 0===t.type&&function(e,t){const n=xp._sentryDebugIds;if(!n)return;let i;const s=Bh.get(t);s?i=s:(i=new Map,Bh.set(t,i));const r=Object.keys(n).reduce(((e,s)=>{let r;const a=i.get(s);a?r=a:(r=t(s),i.set(s,r));for(let t=r.length-1;t>=0;t--){const i=r[t];if(i.filename){e[i.filename]=n[s];break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=r[e.filename])}))}))}catch(e){}}(c,e.stackParser);const d=function(e,t){if(!t)return e;const n=e?e.clone():new am;return n.update(t),n}(i,n.captureContext);n.mechanism&&ff(c,n.mechanism);const u=s&&s.getEventProcessors?s.getEventProcessors():[],p=function(){rm||(rm=new am);return rm}().getScopeData();if(r){im(p,r.getScopeData())}if(d){im(p,d.getScopeData())}const f=[...n.attachments||[],...p.attachments];f.length&&(n.attachments=f),nm(c,p);return Ch([...u,...Th(),...p.eventProcessors],c,n).then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach((e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}(e),"number"==typeof a&&a>0?function(e,t,n){if(!e)return null;const i={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:Hf(e.data,t,n)}})))},...e.user&&{user:Hf(e.user,t,n)},...e.contexts&&{contexts:Hf(e.contexts,t,n)},...e.extra&&{extra:Hf(e.extra,t,n)}};e.contexts&&e.contexts.trace&&i.contexts&&(i.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(i.contexts.trace.data=Hf(e.contexts.trace.data,t,n)));e.spans&&(i.spans=e.spans.map((e=>{const i=Dh(e).data;return i&&(e.data=Hf(i,t,n)),e})));return i}(e,a,o):e)))}const Bh=new WeakMap;function qh(e){if(e)return function(e){return e instanceof am||"function"==typeof e}(e)||function(e){return Object.keys(e).some((e=>Vh.includes(e)))}(e)?{captureContext:e}:e}const Vh=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Hh(e,t){return hm().captureEvent(e,t)}function Wh(e,t){hm().addBreadcrumb(e,t)}function Yh(){return hm().getClient()}function Kh(){return hm().getScope()}function Gh(e){const t=Yh(),n=mm(),i=Kh(),{release:s,environment:r=kh}=t&&t.getOptions()||{},{userAgent:a}=xp.navigator||{},o=Lh({release:s,environment:r,user:i.getUser()||n.getUser(),...a&&{userAgent:a},...e}),c=n.getSession();return c&&"ok"===c.status&&Oh(c,{status:"exited"}),Jh(),n.setSession(o),i.setSession(o),o}function Jh(){const e=mm(),t=Kh(),n=t.getSession()||e.getSession();n&&Nh(n),Xh(),e.setSession(),t.setSession()}function Xh(){const e=mm(),t=Kh(),n=Yh(),i=t.getSession()||e.getSession();i&&n&&n.captureSession&&n.captureSession(i)}function Qh(e=!1){e?Jh():Xh()}function Zh(e){return e.transaction}function em(e,t,n){const i=t.getOptions(),{publicKey:s}=t.getDsn()||{},{segment:r}=n&&n.getUser()||{},a=Kp({environment:i.environment||kh,release:i.release,user_segment:r,public_key:s,trace_id:e});return t.emit&&t.emit("createDsc",a),a}function tm(e){const t=Yh();if(!t)return{};const n=em(Dh(e).trace_id||"",t,Kh()),i=Zh(e);if(!i)return n;const s=i&&i._frozenDynamicSamplingContext;if(s)return s;const{sampleRate:r,source:a}=i.metadata;null!=r&&(n.sample_rate=`${r}`);const o=Dh(i);return a&&"url"!==a&&(n.transaction=o.description),n.sampled=String($h(i)),t.emit&&t.emit("createDsc",n),n}function nm(e,t){const{fingerprint:n,span:i,breadcrumbs:s,sdkProcessingMetadata:r}=t;!function(e,t){const{extra:n,tags:i,user:s,contexts:r,level:a,transactionName:o}=t,c=Kp(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});const l=Kp(i);l&&Object.keys(l).length&&(e.tags={...l,...e.tags});const d=Kp(s);d&&Object.keys(d).length&&(e.user={...d,...e.user});const u=Kp(r);u&&Object.keys(u).length&&(e.contexts={...u,...e.contexts});a&&(e.level=a);o&&(e.transaction=o)}(e,t),i&&function(e,t){e.contexts={trace:jh(t),...e.contexts};const n=Zh(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:tm(t),...e.sdkProcessingMetadata};const i=Dh(n).description;i&&(e.tags={transaction:i,...e.tags})}}(e,i),function(e,t){e.fingerprint=e.fingerprint?mf(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,s),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,r)}function im(e,t){const{extra:n,tags:i,user:s,contexts:r,level:a,sdkProcessingMetadata:o,breadcrumbs:c,fingerprint:l,eventProcessors:d,attachments:u,propagationContext:p,transactionName:f,span:h}=t;sm(e,"extra",n),sm(e,"tags",i),sm(e,"user",s),sm(e,"contexts",r),sm(e,"sdkProcessingMetadata",o),a&&(e.level=a),f&&(e.transactionName=f),h&&(e.span=h),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),u.length&&(e.attachments=[...e.attachments,...u]),e.propagationContext={...e.propagationContext,...p}}function sm(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[t][i]=n[i])}}let rm,am=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=om()}static clone(t){return t?t.clone():new e}clone(){const t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&Oh(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){const n=t(this);return n instanceof e?n:this}return t instanceof e?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):cp(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=om(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const i={timestamp:ih(),...e},s=this._breadcrumbs;return s.push(i),this._breadcrumbs=s.length>n?s.slice(-n):s,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:i,_extra:s,_user:r,_level:a,_fingerprint:o,_eventProcessors:c,_propagationContext:l,_sdkProcessingMetadata:d,_transactionName:u,_span:p}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:i,extra:s,user:r,level:a,fingerprint:o||[],eventProcessors:c,propagationContext:l,sdkProcessingMetadata:d,transactionName:u,span:p}}applyToEvent(e,t={},n=[]){nm(e,this.getScopeData());return Ch([...n,...Th(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:lf();if(!this._client)return jp.warn("No client configured on scope - will not capture exception!"),n;const i=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:i,...t,event_id:n},this),n}captureMessage(e,t,n){const i=n&&n.event_id?n.event_id:lf();if(!this._client)return jp.warn("No client configured on scope - will not capture message!"),i;const s=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:s,...n,event_id:i},this),i}captureEvent(e,t){const n=t&&t.event_id?t.event_id:lf();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(jp.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}};function om(){return{traceId:lf(),spanId:lf().substring(16)}}const cm="7.101.0",lm=parseFloat(cm),dm=100;let um=class{constructor(e,t,n,i=lm){let s,r;this._version=i,t?s=t:(s=new am,s.setClient(e)),n?r=n:(r=new am,r.setClient(e)),this._stack=[{scope:s}],e&&this.bindClient(e),this._isolationScope=r}isOlderThan(e){return this._version<e}bindClient(e){const t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){const t=this.pushScope();let n;try{n=e(t)}catch(e){throw this.popScope(),e}return dp(n)?n.then((e=>(this.popScope(),e)),(e=>{throw this.popScope(),e})):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:lf(),i=new Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:i,...t,event_id:n}),n}captureMessage(e,t,n){const i=this._lastEventId=n&&n.event_id?n.event_id:lf(),s=new Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:s,...n,event_id:i}),i}captureEvent(e,t){const n=t&&t.event_id?t.event_id:lf();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...t,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:r=dm}=i.getOptions&&i.getOptions()||{};if(r<=0)return;const a={timestamp:ih(),...e},o=s?Fp((()=>s(a,t))):a;null!==o&&(i.emit&&i.emit("beforeAddBreadcrumb",o,t),n.addBreadcrumb(o,r))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=fm(this);try{e(this)}finally{fm(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return Ah&&jp.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);if(Ah&&!n){this.getClient()?jp.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):jp.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&Nh(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:i,environment:s=kh}=n&&n.getOptions()||{},{userAgent:r}=xp.navigator||{},a=Lh({release:i,environment:s,user:t.getUser(),...r&&{userAgent:r},...e}),o=t.getSession&&t.getSession();return o&&"ok"===o.status&&Oh(o,{status:"exited"}),this.endSession(),t.setSession(a),a}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e,...t){const n=pm().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e])return n.extensions[e].apply(this,t);Ah&&jp.warn(`Extension method ${e} couldn't be found, doing nothing.`)}};function pm(){return xp.__SENTRY__=xp.__SENTRY__||{extensions:{},hub:void 0},xp}function fm(e){const t=pm(),n=gm(t);return ym(t,e),n}function hm(){const e=pm();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return function(e=pm()){t=e,t&&t.__SENTRY__&&t.__SENTRY__.hub&&!gm(e).isOlderThan(lm)||ym(e,new um);var t;return gm(e)}(e)}function mm(){return hm().getIsolationScope()}function gm(e){return Sp("hub",(()=>new um),e)}function ym(e,t){if(!e)return!1;return(e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0}function vm(e){return(e||hm()).getScope().getTransaction()}let bm=!1;function _m(){const e=vm();if(e){const t="internal_error";Ah&&jp.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}var wm;function Im(e,t){e.setTag("http.status_code",String(t)),e.setData("http.response.status_code",t);const n=function(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(t);"unknown_error"!==n&&e.setStatus(n)}function xm(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=Yh(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function Em(e){if(!xm())return;const t=function(e){if(e.startTime){const t={...e};return t.startTimestamp=Uh(e.startTime),delete t.startTime,t}return e}(e),n=hm(),i=e.scope?e.scope.getSpan():Sm();if(e.onlyIfParent&&!i)return;const s=mm(),r=Kh();let a;if(i)a=i.startChild(t);else{const{traceId:e,dsc:i,parentSpanId:o,sampled:c}={...s.getPropagationContext(),...r.getPropagationContext()};a=n.startTransaction({traceId:e,parentSpanId:o,parentSampled:c,...t,metadata:{dynamicSamplingContext:i,...t.metadata}})}return function(e,t,n){e&&(Bp(e,km,n),Bp(e,Am,t))}(a,r,s),a}function Sm(){return Kh().getSpan()}_m.tag="sentry_tracingErrorCallback",function(e){e.Ok="ok";e.DeadlineExceeded="deadline_exceeded";e.Unauthenticated="unauthenticated";e.PermissionDenied="permission_denied";e.NotFound="not_found";e.ResourceExhausted="resource_exhausted";e.InvalidArgument="invalid_argument";e.Unimplemented="unimplemented";e.Unavailable="unavailable";e.InternalError="internal_error";e.UnknownError="unknown_error";e.Cancelled="cancelled";e.AlreadyExists="already_exists";e.FailedPrecondition="failed_precondition";e.Aborted="aborted";e.OutOfRange="out_of_range";e.DataLoss="data_loss"}(wm||(wm={}));const Am="_sentryScope",km="_sentryIsolationScope";const Tm="sentry.source",Rm="sentry.sample_rate",Cm="sentry.op",Lm="sentry.origin";class Om{constructor(e=1e3){this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class Nm{constructor(e={}){this._traceId=e.traceId||lf(),this._spanId=e.spanId||lf().substring(16),this._startTime=e.startTimestamp||sh(),this.tags=e.tags?{...e.tags}:{},this.data=e.data?{...e.data}:{},this.instrumenter=e.instrumenter||"sentry",this._attributes={},this.setAttributes({[Lm]:e.origin||"manual",[Cm]:e.op,...e.attributes}),this._name=e.name||e.description,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.status&&(this._status=e.status),e.endTimestamp&&(this._endTime=e.endTimestamp)}get name(){return this._name||""}set name(e){this.updateName(e)}get description(){return this._name}set description(e){this._name=e}get traceId(){return this._traceId}set traceId(e){this._traceId=e}get spanId(){return this._spanId}set spanId(e){this._spanId=e}set parentSpanId(e){this._parentSpanId=e}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(e){this._sampled=e}get attributes(){return this._attributes}set attributes(e){this._attributes=e}get startTimestamp(){return this._startTime}set startTimestamp(e){this._startTime=e}get endTimestamp(){return this._endTime}set endTimestamp(e){this._endTime=e}get status(){return this._status}set status(e){this._status=e}get op(){return this._attributes[Cm]}set op(e){this.setAttribute(Cm,e)}get origin(){return this._attributes[Lm]}set origin(e){this.setAttribute(Lm,e)}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?Fh:0}}startChild(e){const t=new Nm({...e,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});t.spanRecorder=this.spanRecorder,t.spanRecorder&&t.spanRecorder.add(t);const n=Zh(this);if(t.transaction=n,Ah&&n){const i=`[Tracing] Starting '${e&&e.op||"< unknown op >"}' span on transaction '${Dh(t).description||"< unknown name >"}' (${n.spanContext().spanId}).`;jp.log(i),this._logMessage=i}return t}setTag(e,t){return this.tags={...this.tags,[e]:t},this}setData(e,t){return this.data={...this.data,[e]:t},this}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach((t=>this.setAttribute(t,e[t])))}setStatus(e){return this._status=e,this}setHttpStatus(e){return Im(this,e),this}setName(e){this.updateName(e)}updateName(e){return this._name=e,this}isSuccess(){return"ok"===this._status}finish(e){return this.end(e)}end(e){if(this._endTime)return;const t=Zh(this);if(Ah&&t&&t.spanContext().spanId!==this._spanId){const e=this._logMessage;e&&jp.log(e.replace("Starting","Finishing"))}this._endTime=Uh(e)}toTraceparent(){return Ph(this)}toContext(){return Kp({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(e){return this.data=e.data||{},this._name=e.name||e.description,this._endTime=e.endTimestamp,this.op=e.op,this._parentSpanId=e.parentSpanId,this._sampled=e.sampled,this._spanId=e.spanId||this._spanId,this._startTime=e.startTimestamp||this._startTime,this._status=e.status,this.tags=e.tags||{},this._traceId=e.traceId||this._traceId,this}getTraceContext(){return jh(this)}getSpanJSON(){return Kp({data:this._getData(),description:this._name,op:this._attributes[Cm],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Lm],_metrics_summary:void 0})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){const{data:e,_attributes:t}=this,n=Object.keys(e).length>0,i=Object.keys(t).length>0;if(n||i)return n&&i?{...e,...t}:n?e:t}}class Fm extends Nm{constructor(e,t){super(e),this._measurements={},this._contexts={},this._hub=t||hm(),this._name=e.name||"",this._metadata={...e.metadata},this._trimEnd=e.trimEnd,this.transaction=this;const n=this._metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(e){this.setName(e)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[Tm]&&{source:this._attributes[Tm]},...this._attributes[Rm]&&{sampleRate:this._attributes[Rm]}}}set metadata(e){this._metadata=e}setName(e,t="custom"){this._name=e,this.setAttribute(Tm,t)}updateName(e){return this._name=e,this}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new Om(e)),this.spanRecorder.add(this)}setContext(e,t){null===t?delete this._contexts[e]:this._contexts[e]=t}setMeasurement(e,t,n=""){this._measurements[e]={value:t,unit:n}}setMetadata(e){this._metadata={...this._metadata,...e}}end(e){const t=Uh(e),n=this._finishTransaction(t);if(n)return this._hub.captureEvent(n)}toContext(){return Kp({...super.toContext(),name:this._name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this._name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){return tm(this)}setHub(e){this._hub=e}_finishTransaction(e){if(void 0!==this._endTime)return;this._name||(Ah&&jp.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>"),super.end(e);const t=this._hub.getClient();if(t&&t.emit&&t.emit("finishTransaction",this),!0!==this._sampled)return Ah&&jp.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(t&&t.recordDroppedEvent("sample_rate","transaction"));const n=this.spanRecorder?this.spanRecorder.spans.filter((e=>e!==this&&Dh(e).timestamp)):[];if(this._trimEnd&&n.length>0){const e=n.map((e=>Dh(e).timestamp)).filter(Boolean);this._endTime=e.reduce(((e,t)=>e>t?e:t))}const{scope:i,isolationScope:s}={scope:(r=this)[Am],isolationScope:r[km]};var r;const{metadata:a}=this,{source:o}=a,c={contexts:{...this._contexts,trace:jh(this)},spans:n,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...a,capturedSpanScope:i,capturedSpanIsolationScope:s,dynamicSamplingContext:tm(this)},_metrics_summary:void 0,...o&&{transaction_info:{source:o}}};return Object.keys(this._measurements).length>0&&(Ah&&jp.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),c.measurements=this._measurements),Ah&&jp.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),c}}const jm={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},Pm=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class Um extends Om{constructor(e,t,n,i){super(i),this._pushActivity=e,this._popActivity=t,this.transactionSpanId=n}add(e){if(e.spanContext().spanId!==this.transactionSpanId){const t=e.end;e.end=(...n)=>(this._popActivity(e.spanContext().spanId),t.apply(e,n)),void 0===Dh(e).timestamp&&this._pushActivity(e.spanContext().spanId)}super.add(e)}}class Mm extends Fm{constructor(e,t,n=jm.idleTimeout,i=jm.finalTimeout,s=jm.heartbeatInterval,r=!1,a=!1){super(e,t),this._idleHub=t,this._idleTimeout=n,this._finalTimeout=i,this._heartbeatInterval=s,this._onScope=r,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=Pm[4],this._autoFinishAllowed=!a,r&&(Ah&&jp.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),t.getScope().setSpan(this)),a||this._restartIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=Pm[3],this.end())}),this._finalTimeout)}end(e){const t=Uh(e);if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setAttribute("finishReason",this._finishReason),this.spanRecorder){Ah&&jp.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op);for(const e of this._beforeFinishCallbacks)e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter((e=>{if(e.spanContext().spanId===this.spanContext().spanId)return!0;Dh(e).timestamp||(e.setStatus("cancelled"),e.end(t),Ah&&jp.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));const{start_timestamp:n,timestamp:i}=Dh(e),s=n&&n<t,r=(this._finalTimeout+this._idleTimeout)/1e3,a=i&&n&&i-n<r;if(Ah){const t=JSON.stringify(e,void 0,2);s?a||jp.log("[Tracing] discarding Span since it finished after Transaction final timeout",t):jp.log("[Tracing] discarding Span since it happened after Transaction was finished",t)}return s&&a})),Ah&&jp.log("[Tracing] flushing IdleTransaction")}else Ah&&jp.log("[Tracing] No active IdleTransaction");if(this._onScope){const e=this._idleHub.getScope();e.getTransaction()===this&&e.setSpan(void 0)}return super.end(e)}registerBeforeFinishCallback(e){this._beforeFinishCallbacks.push(e)}initSpanRecorder(e){if(!this.spanRecorder){const t=e=>{this._finished||this._pushActivity(e)},n=e=>{this._finished||this._popActivity(e)};this.spanRecorder=new Um(t,n,this.spanContext().spanId,e),Ah&&jp.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:t}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===t,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=Pm[5],this.end(e)))}setFinishReason(e){this._finishReason=e}sendAutoFinishSignal(){this._autoFinishAllowed||(Ah&&jp.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason=Pm[1],this.end(e))}),this._idleTimeout)}_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),Ah&&jp.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,Ah&&jp.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(Ah&&jp.log(`[Tracing] popActivity ${e}`),delete this.activities[e],Ah&&jp.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){const e=sh();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason=Pm[5],this.end(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?this._autoFinishAllowed&&(Ah&&jp.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=Pm[0],this.end()):this._pingHeartbeat()}_pingHeartbeat(){Ah&&jp.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}function Dm(e,t,n){if(!xm(t))return e.sampled=!1,e;if(void 0!==e.sampled)return e.setAttribute(Rm,Number(e.sampled)),e;let i;return"function"==typeof t.tracesSampler?(i=t.tracesSampler(n),e.setAttribute(Rm,Number(i))):void 0!==n.parentSampled?i=n.parentSampled:void 0!==t.tracesSampleRate?(i=t.tracesSampleRate,e.setAttribute(Rm,Number(i))):(i=1,e.setAttribute(Rm,i)),function(e){if(up(e)||"number"!=typeof e&&"boolean"!=typeof e)return Ah&&jp.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1;if(e<0||e>1)return Ah&&jp.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1;return!0}(i)?i?(e.sampled=Math.random()<i,e.sampled?(Ah&&jp.log(`[Tracing] starting ${e.op} transaction - ${Dh(e).description}`),e):(Ah&&jp.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`),e)):(Ah&&jp.log("[Tracing] Discarding transaction because "+("function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),e.sampled=!1,e):(Ah&&jp.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function $m(){const e=this.getScope().getSpan();return e?{"sentry-trace":Ph(e)}:{}}function zm(e,t){const n=this.getClient(),i=n&&n.getOptions()||{},s=i.instrumenter||"sentry",r=e.instrumenter||"sentry";s!==r&&(Ah&&jp.error(`A transaction was started with instrumenter=\`${r}\`, but the SDK is configured with the \`${s}\` instrumenter.\nThe transaction will not be sampled. Please use the ${s} instrumentation to start transactions.`),e.sampled=!1);let a=new Fm(e,this);return a=Dm(a,i,{name:e.name,parentSampled:e.parentSampled,transactionContext:e,attributes:{...e.data,...e.attributes},...t}),a.isRecording()&&a.initSpanRecorder(i._experiments&&i._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",a),a}function Bm(e,t,n,i,s,r,a,o=!1){const c=e.getClient(),l=c&&c.getOptions()||{};let d=new Mm(t,e,n,i,a,s,o);return d=Dm(d,l,{name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:{...t.data,...t.attributes},...r}),d.isRecording()&&d.initSpanRecorder(l._experiments&&l._experiments.maxSpans),c&&c.emit&&c.emit("startTransaction",d),d}function qm(){const e=pm();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=zm),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=$m),bm||(bm=!0,Lf(_m),Ff(_m)))}function Vm(e,t,n,i){const s=xh(n),r=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const a=function(e,t,n,i){const s=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&i&&{dsn:Up(i)},...s&&{trace:Kp({...s})}}}(e,s,i,t);delete e.sdkProcessingMetadata;return mh(a,[[{type:r},e]])}const Hm="7";function Wm(e,t){return n={sentry_key:e.publicKey,sentry_version:Hm,...t&&{sentry_client:`${t.name}/${t.version}`}},Object.keys(n).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`)).join("&");var n}const Ym=[];function Km(e){const t=e.defaultIntegrations||[],n=e.integrations;let i;t.forEach((e=>{e.isDefaultInstance=!0})),i=Array.isArray(n)?[...t,...n]:"function"==typeof n?mf(n(t)):t;const s=function(e){const t={};return e.forEach((e=>{const{name:n}=e,i=t[n];i&&!i.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.keys(t).map((e=>t[e]))}(i),r=function(e,t){for(let n=0;n<e.length;n++)if(!0===t(e[n]))return n;return-1}(s,(e=>"Debug"===e.name));if(-1!==r){const[e]=s.splice(r,1);s.push(e)}return s}function Gm(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function Jm(e,t,n){if(n[t.name])Ah&&jp.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===Ym.indexOf(t.name)&&(t.setupOnce(Rh,hm),Ym.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),e.on&&"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,i)=>n(t,i,e)))}if(e.addEventProcessor&&"function"==typeof t.processEvent){const n=t.processEvent.bind(t),i=Object.assign(((t,i)=>n(t,i,e)),{id:t.name});e.addEventProcessor(i)}Ah&&jp.log(`Integration installed: ${t.name}`)}}function Xm(e,t){return Object.assign((function(...e){return t(...e)}),{id:e})}function Qm(e,t,n,i){const s={sent_at:(new Date).toISOString()};n&&n.sdk&&(s.sdk={name:n.sdk.name,version:n.sdk.version}),i&&t&&(s.dsn=Up(t));const r=function(e){const t=function(e){let t="";for(const n of e){const e=Object.entries(n.tags),i=e.length>0?`|#${e.map((([e,t])=>`${e}:${t}`)).join(",")}`:"";t+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${i}|T${n.timestamp}\n`}return t}(e);return[{type:"statsd",length:t.length},t]}(e);return mh(s,[r])}const Zm="Not capturing exception because it's already been captured.";class eg{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=Dp(e.dsn):Ah&&jp.warn("No DSN provided, client will not send events."),this._dsn){const t=function(e,t={}){const n="string"==typeof t?t:t.tunnel,i="string"!=typeof t&&t._metadata?t._metadata.sdk:void 0;return n||`${function(e){return`${function(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/`}(e)}?${Wm(e,i)}`}(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){if(hf(e))return void(Ah&&jp.log(Zm));let i=t&&t.event_id;return this._process(this.eventFromException(e,t).then((e=>this._captureEvent(e,t,n))).then((e=>{i=e}))),i}captureMessage(e,t,n,i){let s=n&&n.event_id;const r=ap(e)?e:String(e),a=op(e)?this.eventFromMessage(r,t,n):this.eventFromException(e,n);return this._process(a.then((e=>this._captureEvent(e,n,i))).then((e=>{s=e}))),s}captureEvent(e,t,n){if(t&&t.originalException&&hf(t.originalException))return void(Ah&&jp.log(Zm));let i=t&&t.event_id;const s=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,t,s||n).then((e=>{i=e}))),i}captureSession(e){"string"!=typeof e.release?Ah&&jp.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),Oh(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e))))):Gf(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return Ah&&jp.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){const t=this._integrations[e.name];Jm(this,e,this._integrations),t||Gm(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=Vm(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])n=gh(n,_h(e,this._options.transportOptions&&this._options.transportOptions.textEncoder));const i=this._sendEnvelope(n);i&&i.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=function(e,t,n,i){const s=xh(n);return mh({sent_at:(new Date).toISOString(),...s&&{sdk:s},...!!i&&t&&{dsn:Up(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const n=`${e}:${t}`;Ah&&jp.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}captureAggregateMetrics(e){Ah&&jp.log(`Flushing aggregated metrics, number of metrics: ${e.length}`);const t=Qm(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach((e=>e(...t)))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach((t=>{t&&Jm(e,t,n)})),n}(this,e),Gm(this,e),this._integrationsInitialized=!0}_updateSessionFromEvent(e,t){let n=!1,i=!1;const s=t.exception&&t.exception.values;if(s){i=!0;for(const e of s){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const r="ok"===e.status;(r&&0===e.errors||r&&n)&&(Oh(e,{...n&&{status:"crashed"},errors:e.errors||Number(i||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Xf((t=>{let n=0;const i=setInterval((()=>{0==this._numProcessing?(clearInterval(i),t(!0)):(n+=1,e&&n>=e&&(clearInterval(i),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,i=mm()){const s=this.getOptions(),r=Object.keys(this._integrations);return!t.integrations&&r.length>0&&(t.integrations=r),this.emit("preprocessEvent",e,t),zh(s,e,t,n,this,i).then((e=>{if(null===e)return e;const t={...i.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(e.contexts&&e.contexts.trace)&&t){const{traceId:i,spanId:s,parentSpanId:r,dsc:a}=t;e.contexts={trace:{trace_id:i,span_id:s,parent_span_id:r},...e.contexts};const o=a||em(i,this,n);e.sdkProcessingMetadata={dynamicSamplingContext:o,...e.sdkProcessingMetadata}}return e}))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if(Ah){const t=e;"log"===t.logLevel?jp.log(t.message):jp.warn(t)}}))}_processEvent(e,t,n){const i=this.getOptions(),{sampleRate:s}=i,r=ng(e),a=tg(e),o=e.type||"error",c=`before send for type \`${o}\``;if(a&&"number"==typeof s&&Math.random()>s)return this.recordDroppedEvent("sample_rate","error",e),Jf(new $p(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const l="replay_event"===o?"replay":o,d=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,d).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",l,e),new $p("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const s=function(e,t,n){const{beforeSend:i,beforeSendTransaction:s}=e;if(tg(t)&&i)return i(t,n);if(ng(t)&&s)return s(t,n);return t}(i,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(dp(e))return e.then((e=>{if(!cp(e)&&null!==e)throw new $p(n);return e}),(e=>{throw new $p(`${t} rejected with ${e}`)}));if(!cp(e)&&null!==e)throw new $p(n);return e}(s,c)})).then((i=>{if(null===i)throw this.recordDroppedEvent("before_send",l,e),new $p(`${c} returned \`null\`, will not send event.`,"log");const s=n&&n.getSession();!r&&s&&this._updateSessionFromEvent(s,i);const a=i.transaction_info;if(r&&a&&i.transaction!==e.transaction){const e="custom";i.transaction_info={...a,source:e}}return this.sendEvent(i,t),i})).then(null,(e=>{if(e instanceof $p)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new $p(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,(e=>{Ah&&jp.error("Error while sending event:",e)}));Ah&&jp.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,i]=t.split(":");return{reason:n,category:i,quantity:e[t]}}))}}function tg(e){return void 0===e.type}function ng(e){return"transaction"===e.type}function ig(e,t){!0===t.debug&&(Ah?jp.enable():Fp((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})));Kh().update(t.initialScope);const n=new e(t);!function(e){const t=hm().getStackTop();t.client=e,t.scope.setClient(e)}(n),function(e){e.init?e.init():e.setupIntegrations&&e.setupIntegrations()}(n)}const sg=30;function rg(e,t,n=Qf(e.bufferSize||sg)){let i={};function s(s){const r=[];if(yh(s,((t,n)=>{const s=Ih(n);if(function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(i,s)){const i=ag(t,n);e.recordDroppedEvent("ratelimit_backoff",s,i)}else r.push(t)})),0===r.length)return Gf();const a=mh(s[0],r),o=t=>{yh(a,((n,i)=>{const s=ag(n,i);e.recordDroppedEvent(t,Ih(i),s)}))};return n.add((()=>t({body:bh(a,e.textEncoder)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&Ah&&jp.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),i=Sh(i,e),e)),(e=>{throw o("network_error"),e})))).then((e=>e),(e=>{if(e instanceof $p)return Ah&&jp.error("Skipped sending event because buffer is full."),o("queue_overflow"),Gf();throw e}))}return s.__sentry__baseTransport__=!0,{send:s,flush:e=>n.drain(e)}}function ag(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}const og=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],cg=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],lg="InboundFilters",dg=(e={})=>({name:lg,setupOnce(){},processEvent(t,n,i){const s=i.getOptions(),r=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:og],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:cg],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,s);return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e))return Ah&&jp.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${uf(e)}`),!0;if(function(e,t){if(e.type||!t||!t.length)return!1;return function(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch(e){}n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`));Ah&&0===t.length&&jp.error(`Could not extract message for event ${uf(e)}`);return t}(e).some((e=>yp(e,t)))}(e,t.ignoreErrors))return Ah&&jp.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${uf(e)}`),!0;if(function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&yp(n,t)}(e,t.ignoreTransactions))return Ah&&jp.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${uf(e)}`),!0;if(function(e,t){if(!t||!t.length)return!1;const n=ug(e);return!!n&&yp(n,t)}(e,t.denyUrls))return Ah&&jp.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${uf(e)}.\nUrl: ${ug(e)}`),!0;if(!function(e,t){if(!t||!t.length)return!0;const n=ug(e);return!n||yp(n,t)}(e,t.allowUrls))return Ah&&jp.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${uf(e)}.\nUrl: ${ug(e)}`),!0;return!1}(t,r)?null:t}});function ug(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return Ah&&jp.error(`Cannot extract url for event ${uf(e)}`),null}}let pg;Xm(lg,dg);const fg="FunctionToString",hg=new WeakMap,mg=()=>({name:fg,setupOnce(){pg=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=Vp(this),n=hg.has(Yh())&&void 0!==t?t:this;return pg.apply(n,e)}}catch(e){}},setup(e){hg.set(e,!0)}});Xm(fg,mg);const gg="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,yg=xp;const vg=(e,t,n)=>{let i,s;return r=>{t.value>=0&&(r||n)&&(s=t.value-(i||0),(s||void 0===i)&&(i=t.value,t.delta=s,e(t)))}},bg=()=>yg.__WEB_VITALS_POLYFILL__?yg.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const e=yg.performance.timing,t=yg.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(const t in e)"navigationStart"!==t&&"toJSON"!==t&&(n[t]=Math.max(e[t]-e.navigationStart,0));return n})()):yg.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],_g=()=>{const e=bg();return e&&e.activationStart||0},wg=(e,t)=>{const n=bg();let i="navigate";return n&&(i=yg.document.prerendering||_g()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:i}},Ig=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const i=new PerformanceObserver((e=>{t(e.getEntries())}));return i.observe(Object.assign({type:e,buffered:!0},n||{})),i}}catch(e){}},xg=(e,t)=>{const n=i=>{"pagehide"!==i.type&&"hidden"!==yg.document.visibilityState||(e(i),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},Eg=e=>{const t=wg("CLS",0);let n,i=0,s=[];const r=e=>{e.forEach((e=>{if(!e.hadRecentInput){const r=s[0],a=s[s.length-1];i&&0!==s.length&&e.startTime-a.startTime<1e3&&e.startTime-r.startTime<5e3?(i+=e.value,s.push(e)):(i=e.value,s=[e]),i>t.value&&(t.value=i,t.entries=s,n&&n())}}))},a=Ig("layout-shift",r);if(a){n=vg(e,t);const i=()=>{r(a.takeRecords()),n(!0)};return xg(i),i}};let Sg=-1;const Ag=()=>(Sg<0&&(Sg="hidden"!==yg.document.visibilityState||yg.document.prerendering?1/0:0,xg((({timeStamp:e})=>{Sg=e}),!0)),{get firstHiddenTime(){return Sg}}),kg=e=>{const t=Ag(),n=wg("FID");let i;const s=e=>{e.startTime<t.firstHiddenTime&&(n.value=e.processingStart-e.startTime,n.entries.push(e),i(!0))},r=e=>{e.forEach(s)},a=Ig("first-input",r);i=vg(e,n),a&&xg((()=>{r(a.takeRecords()),a.disconnect()}),!0)},Tg={},Rg=e=>{const t=Ag(),n=wg("LCP");let i;const s=e=>{const s=e[e.length-1];if(s){const e=Math.max(s.startTime-_g(),0);e<t.firstHiddenTime&&(n.value=e,n.entries=[s],i())}},r=Ig("largest-contentful-paint",s);if(r){i=vg(e,n);const t=()=>{Tg[n.id]||(s(r.takeRecords()),r.disconnect(),Tg[n.id]=!0,i(!0))};return["keydown","click"].forEach((e=>{addEventListener(e,t,{once:!0,capture:!0})})),xg(t,!0),t}},Cg={},Lg={};let Og,Ng,Fg;function jg(e,t){return zg(e,t),Lg[e]||(!function(e){const t={};"event"===e&&(t.durationThreshold=0);Ig(e,(t=>{Pg(e,{entries:t})}),t)}(e),Lg[e]=!0),Bg(e,t)}function Pg(e,t){const n=Cg[e];if(n&&n.length)for(const i of n)try{i(t)}catch(t){gg&&jp.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${tf(i)}\nError:`,t)}}function Ug(){return Eg((e=>{Pg("cls",{metric:e}),Og=e}))}function Mg(){return kg((e=>{Pg("fid",{metric:e}),Ng=e}))}function Dg(){return Rg((e=>{Pg("lcp",{metric:e}),Fg=e}))}function $g(e,t,n,i,s=!1){let r;return zg(e,t),Lg[e]||(r=n(),Lg[e]=!0),i&&t({metric:i}),Bg(e,t,s?r:void 0)}function zg(e,t){Cg[e]=Cg[e]||[],Cg[e].push(t)}function Bg(e,t,n){return()=>{n&&n();const i=Cg[e];if(!i)return;const s=i.indexOf(t);-1!==s&&i.splice(s,1)}}function qg(e){return"number"==typeof e&&isFinite(e)}function Vg(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}const Hg=2147483647;function Wg(e){return e/1e3}function Yg(){return yg&&yg.addEventListener&&yg.performance}let Kg,Gg,Jg=0,Xg={};function Qg(){const e=Yg();if(e&&rh){e.mark&&yg.performance.mark("sentry-tracing-init");const t=$g("fid",(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=Wg(rh),i=Wg(t.startTime);gg&&jp.log("[Measurements] Adding FID"),Xg.fid={value:e.value,unit:"millisecond"},Xg["mark.fid"]={value:n+i,unit:"second"}}),Mg,Ng),n=function(e,t=!1){return $g("cls",e,Ug,Og,t)}((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(gg&&jp.log("[Measurements] Adding CLS"),Xg.cls={value:e.value,unit:""},Gg=t)}),!0),i=function(e,t=!1){return $g("lcp",e,Dg,Fg,t)}((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(gg&&jp.log("[Measurements] Adding LCP"),Xg.lcp={value:e.value,unit:"millisecond"},Kg=t)}),!0);return()=>{t(),n(),i()}}return()=>{}}function Zg(e){const t=Yg();if(!t||!yg.performance.getEntries||!rh)return;gg&&jp.log("[Tracing] Adding & adjusting spans using Performance API");const n=Wg(rh),i=t.getEntries();let s,r;const{op:a,start_timestamp:o}=Dh(e);if(i.slice(Jg).forEach((t=>{const i=Wg(t.startTime),a=Wg(t.duration);if(!("navigation"===e.op&&o&&n+i<o))switch(t.entryType){case"navigation":!function(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((i=>{ey(e,t,i,n)})),ey(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),ey(e,t,"fetch",n,"cache","domainLookupStart"),ey(e,t,"domainLookup",n,"DNS"),function(e,t,n){t.responseEnd&&(Vg(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:n+Wg(t.requestStart),endTimestamp:n+Wg(t.responseEnd)}),Vg(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:n+Wg(t.responseStart),endTimestamp:n+Wg(t.responseEnd)}))}(e,t,n)}(e,t,n),s=n+Wg(t.responseStart),r=n+Wg(t.requestStart);break;case"mark":case"paint":case"measure":{!function(e,t,n,i,s){const r=s+n,a=r+i;Vg(e,{description:t.name,endTimestamp:a,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:r})}(e,t,i,a,n);const s=Ag(),r=t.startTime<s.firstHiddenTime;"first-paint"===t.name&&r&&(gg&&jp.log("[Measurements] Adding FP"),Xg.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&r&&(gg&&jp.log("[Measurements] Adding FCP"),Xg.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":!function(e,t,n,i,s,r){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;const a=Zf(n),o={};ty(o,t,"transferSize","http.response_transfer_size"),ty(o,t,"encodedBodySize","http.response_content_length"),ty(o,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(o["resource.render_blocking_status"]=t.renderBlockingStatus);a.protocol&&(o["url.scheme"]=a.protocol.split(":").pop());a.host&&(o["server.address"]=a.host);o["url.same_origin"]=n.includes(yg.location.origin);const c=r+i,l=c+s;Vg(e,{description:n.replace(yg.location.origin,""),endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:c,data:o})}(e,t,t.name,i,a,n)}})),Jg=Math.max(i.length-1,0),function(e){const t=yg.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),qg(n.rtt)&&(Xg["connection.rtt"]={value:n.rtt,unit:"millisecond"}));qg(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`);qg(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===a){!function(e,t,n,i){"number"==typeof t&&i&&(gg&&jp.log("[Measurements] Adding TTFB"),e.ttfb={value:1e3*Math.max(t-i,0),unit:"millisecond"},"number"==typeof n&&n<=t&&(e["ttfb.requestTime"]={value:1e3*(t-n),unit:"millisecond"}))}(Xg,s,r,o),["fcp","fp","lcp"].forEach((e=>{if(!Xg[e]||!o||n>=o)return;const t=Xg[e].value,i=n+Wg(t),s=Math.abs(1e3*(i-o)),r=s-t;gg&&jp.log(`[Measurements] Normalized ${e} from ${t} to ${s} (${r})`),Xg[e].value=s}));const t=Xg["mark.fid"];t&&Xg.fid&&(Vg(e,{description:"first input delay",endTimestamp:t.value+Wg(Xg.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:t.value}),delete Xg["mark.fid"]),"fcp"in Xg||delete Xg.cls,Object.keys(Xg).forEach((e=>{!function(e,t,n){const i=vm();i&&i.setMeasurement(e,t,n)}(e,Xg[e].value,Xg[e].unit)})),function(e){Kg&&(gg&&jp.log("[Measurements] Adding LCP Data"),Kg.element&&e.setTag("lcp.element",Tp(Kg.element)),Kg.id&&e.setTag("lcp.id",Kg.id),Kg.url&&e.setTag("lcp.url",Kg.url.trim().slice(0,200)),e.setTag("lcp.size",Kg.size));Gg&&Gg.sources&&(gg&&jp.log("[Measurements] Adding CLS Data"),Gg.sources.forEach(((t,n)=>e.setTag(`cls.source.${n+1}`,Tp(t.node)))))}(e)}Kg=void 0,Gg=void 0,Xg={}}function ey(e,t,n,i,s,r){const a=r?t[r]:t[`${n}End`],o=t[`${n}Start`];o&&a&&Vg(e,{op:"browser",origin:"auto.browser.browser.metrics",description:s||n,startTimestamp:i+Wg(o),endTimestamp:i+Wg(a)})}function ty(e,t,n,i){const s=t[n];null!=s&&s<Hg&&(e[i]=s)}function ny(e,t,n,i,s="auto.http.browser"){if(!xm()||!e.fetchData)return;const r=t(e.fetchData.url);if(e.endTimestamp&&r){const t=e.fetchData.__span;if(!t)return;const n=i[t];if(n){if(e.response){Im(n,e.response.status);const t=e.response&&e.response.headers&&e.response.headers.get("content-length");if(t){const e=parseInt(t);e>0&&n.setAttribute("http.response_content_length",e)}}else e.error&&n.setStatus("internal_error");n.end(),delete i[t]}return}const a=Kh(),o=Yh(),{method:c,url:l}=e.fetchData,d=r?Em({name:`${c} ${l}`,onlyIfParent:!0,attributes:{url:l,type:"fetch","http.method":c,[Lm]:s},op:"http.client"}):void 0;if(d&&(e.fetchData.__span=d.spanContext().spanId,i[d.spanContext().spanId]=d),n(e.fetchData.url)&&o){const t=e.args[0];e.args[1]=e.args[1]||{};const n=e.args[1];n.headers=function(e,t,n,i,s){const r=s||n.getSpan(),a=mm(),{traceId:o,spanId:c,sampled:l,dsc:d}={...a.getPropagationContext(),...n.getPropagationContext()},u=r?Ph(r):hh(o,c,l),p=dh(d||(r?tm(r):em(o,t,n))),f=i.headers||("undefined"!=typeof Request&&pp(e,Request)?e.headers:void 0);if(f){if("undefined"!=typeof Headers&&pp(f,Headers)){const e=new Headers(f);return e.append("sentry-trace",u),p&&e.append(ah,p),e}if(Array.isArray(f)){const e=[...f,["sentry-trace",u]];return p&&e.push([ah,p]),e}{const e="baggage"in f?f.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),p&&t.push(p),{...f,"sentry-trace":u,baggage:t.length>0?t.join(","):void 0}}}return{"sentry-trace":u,baggage:p}}(t,o,a,n,d)}return d}const iy=["localhost",/^\/(?!\/)/],sy={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:iy,tracePropagationTargets:iy};function ry(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:i,tracingOrigins:s,shouldCreateSpanForRequest:r,enableHTTPTimings:a}={traceFetch:sy.traceFetch,traceXHR:sy.traceXHR,...e},o="function"==typeof r?r:e=>!0,c=e=>function(e,t){return yp(e,t||iy)}(e,i||s),l={};t&&Af((e=>{const t=ny(e,o,c,l);a&&t&&ay(t)})),n&&qf((e=>{const t=function(e,t,n,i){const s=e.xhr,r=s&&s[Bf];if(!xm()||!s||s.__sentry_own_request__||!r)return;const a=t(r.url);if(e.endTimestamp&&a){const e=s.__sentry_xhr_span_id__;if(!e)return;const t=i[e];return void(t&&void 0!==r.status_code&&(Im(t,r.status_code),t.end(),delete i[e]))}const o=Kh(),c=mm(),l=a?Em({name:`${r.method} ${r.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":r.method,url:r.url,[Lm]:"auto.http.browser"},op:"http.client"}):void 0;l&&(s.__sentry_xhr_span_id__=l.spanContext().spanId,i[s.__sentry_xhr_span_id__]=l);const d=Yh();if(s.setRequestHeader&&n(r.url)&&d){const{traceId:e,spanId:t,sampled:n,dsc:i}={...c.getPropagationContext(),...o.getPropagationContext()};!function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(ah,n)}catch(e){}}(s,l?Ph(l):hh(e,t,n),dh(i||(l?tm(l):em(e,d,o))))}return l}(e,o,c,l);a&&t&&ay(t)}))}function ay(e){const{url:t}=Dh(e).data||{};if(!t||"string"!=typeof t)return;const n=jg("resource",(({entries:i})=>{i.forEach((i=>{if(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}(i)&&i.name.endsWith(t)){const t=function(e){const{name:t,version:n}=function(e){let t="unknown",n="unknown",i="";for(const s of e){if("/"===s){[t,n]=e.split("/");break}if(!isNaN(Number(s))){t="h"===i?"http":i,n=e.split(i)[1];break}i+=s}i===e&&(t=i);return{name:t,version:n}}(e.nextHopProtocol),i=[];if(i.push(["network.protocol.version",n],["network.protocol.name",t]),!rh)return i;return[...i,["http.request.redirect_start",oy(e.redirectStart)],["http.request.fetch_start",oy(e.fetchStart)],["http.request.domain_lookup_start",oy(e.domainLookupStart)],["http.request.domain_lookup_end",oy(e.domainLookupEnd)],["http.request.connect_start",oy(e.connectStart)],["http.request.secure_connection_start",oy(e.secureConnectionStart)],["http.request.connection_end",oy(e.connectEnd)],["http.request.request_start",oy(e.requestStart)],["http.request.response_start",oy(e.responseStart)],["http.request.response_end",oy(e.responseEnd)]]}(i);t.forEach((t=>e.setAttribute(...t))),setTimeout(n)}}))}))}function oy(e=0){return((rh||performance.timeOrigin)+e)/1e3}const cy={...jm,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,_experiments:{},...sy},ly=(e={})=>{const t=!!gg&&!(!e.tracePropagationTargets&&!e.tracingOrigins);qm(),!e.tracePropagationTargets&&e.tracingOrigins&&(e.tracePropagationTargets=e.tracingOrigins);const n={...cy,...e},i=Qg();let s,r;function a(e){const t=hm(),{beforeStartSpan:a,idleTimeout:o,finalTimeout:c,heartbeatInterval:l}=n,d="pageload"===e.op;let u;if(d){const t=d?dy("sentry-trace"):"",n=d?dy("baggage"):void 0,{traceId:i,dsc:s,parentSpanId:r,sampled:a}=fh(t,n);u={traceId:i,parentSpanId:r,parentSampled:a,...e,metadata:{...e.metadata,dynamicSamplingContext:s},trimEnd:!0}}else u={trimEnd:!0,...e};const p=a?a(u):u;p.metadata=p.name!==u.name?{...p.metadata,source:"custom"}:p.metadata,s=p.name,r=function(e){const t=e.attributes&&e.attributes[Tm],n=e.data&&e.data[Tm],i=e.metadata&&e.metadata.source;return t||n||i}(p),!1===p.sampled&&gg&&jp.log(`[Tracing] Will not send ${p.op} transaction because of beforeNavigate.`),gg&&jp.log(`[Tracing] Starting ${p.op} transaction on scope`);const{location:f}=yg,h=Bm(t,p,o,c,!0,{location:f},l,d);return d&&(yg.document.addEventListener("readystatechange",(()=>{["interactive","complete"].includes(yg.document.readyState)&&h.sendAutoFinishSignal()})),["interactive","complete"].includes(yg.document.readyState)&&h.sendAutoFinishSignal()),h.registerBeforeFinishCallback((e=>{i(),Zg(e)})),h}return n.enableLongTask&&jg("longtask",(({entries:e})=>{for(const t of e){const e=vm();if(!e)return;const n=Wg(rh+t.startTime),i=Wg(t.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+i})}})),n._experiments.enableInteractions&&jg("event",(({entries:e})=>{for(const t of e){const e=vm();if(!e)return;if("click"===t.name){const n=Wg(rh+t.startTime),i=Wg(t.duration),s={description:Tp(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+i},r=Cp(t.target);r&&(s.attributes={"ui.component_name":r}),e.startChild(s)}}})),{name:"BrowserTracing",setupOnce:()=>{},afterAllSetup(e){const i=e.getOptions(),{markBackgroundSpan:o,traceFetch:c,traceXHR:l,shouldCreateSpanForRequest:d,enableHTTPTimings:u,_experiments:p}=n,f=i&&i.tracePropagationTargets,h=f||n.tracePropagationTargets;let m;gg&&t&&f&&jp.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let g=yg.location.href;if(e.on&&(e.on("startNavigationSpan",(e=>{m&&(gg&&jp.log(`[Tracing] Finishing current transaction with op: ${Dh(m).op}`),m.end()),m=a({op:"navigation",...e})})),e.on("startPageLoadSpan",(e=>{m&&(gg&&jp.log(`[Tracing] Finishing current transaction with op: ${Dh(m).op}`),m.end()),m=a({op:"pageload",...e})}))),n.instrumentPageLoad&&e.emit){const t={name:yg.location.pathname,startTimestamp:rh?rh/1e3:void 0,origin:"auto.pageload.browser",attributes:{[Tm]:"url"}};!function(e,t){if(!e.emit)return;e.emit("startPageLoadSpan",t);const n=Sm();n&&Dh(n).op}(e,t)}n.instrumentNavigation&&e.emit&&Df((({to:t,from:n})=>{if(void 0===n&&g&&-1!==g.indexOf(t))g=void 0;else if(n!==t){g=void 0;const t={name:yg.location.pathname,origin:"auto.navigation.browser",attributes:{[Tm]:"url"}};!function(e,t){if(!e.emit)return;e.emit("startNavigationSpan",t);const n=Sm();n&&Dh(n).op}(e,t)}})),o&&(yg&&yg.document?yg.document.addEventListener("visibilitychange",(()=>{const e=vm();if(yg.document.hidden&&e){const t="cancelled",{op:n,status:i}=Dh(e);gg&&jp.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),i||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.end()}})):gg&&jp.warn("[Tracing] Could not set up background tab detection due to lack of global document")),p.enableInteractions&&function(e,t,n){let i;const s=()=>{const{idleTimeout:s,finalTimeout:r,heartbeatInterval:a}=e,o="ui.action.click",c=vm();if(c&&c.op&&["navigation","pageload"].includes(c.op))return void(gg&&jp.warn(`[Tracing] Did not create ${o} transaction because a pageload or navigation transaction is in progress.`));if(i&&(i.setFinishReason("interactionInterrupted"),i.end(),i=void 0),!t)return void(gg&&jp.warn(`[Tracing] Did not create ${o} transaction because _latestRouteName is missing.`));const{location:l}=yg,d={name:t,op:o,trimEnd:!0,data:{[Tm]:n||"url"}};i=Bm(hm(),d,s,r,!0,{location:l},a)};["click"].forEach((e=>{addEventListener(e,s,{once:!1,capture:!0})}))}(n,s,r),ry({traceFetch:c,traceXHR:l,tracePropagationTargets:h,shouldCreateSpanForRequest:d,enableHTTPTimings:u})},options:n}};function dy(e){const t=(n=`meta[name=${e}]`,Ap.document&&Ap.document.querySelector?Ap.document.querySelector(n):null);var n;return t?t.getAttribute("content"):void 0}const uy=xp;let py=0;function fy(){return py>0}function hy(e,t={},n){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return t;if(Vp(e))return e}catch(t){return e}const i=function(){const i=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const s=i.map((e=>hy(e,t)));return e.apply(this,s)}catch(e){throw py++,setTimeout((()=>{py--})),function(...e){const t=hm();if(2===e.length){const[n,i]=e;return n?t.withScope((()=>(t.getStackTop().scope=n,i(n)))):t.withScope(i)}t.withScope(e[0])}((n=>{var s,r;n.addEventProcessor((e=>(t.mechanism&&(pf(e,void 0,void 0),ff(e,t.mechanism)),e.extra={...e.extra,arguments:i},e))),s=e,hm().captureException(s,qh(r))})),e}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=e[t])}catch(e){}qp(i,e),Bp(e,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:()=>e.name})}catch(e){}return i}const my="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function gy(e,t){const n=vy(e,t),i={type:t&&t.name,value:_y(t)};return n.length&&(i.stacktrace={frames:n}),void 0===i.type&&""===i.value&&(i.value="Unrecoverable error caught"),i}function yy(e,t){return{exception:{values:[gy(e,t)]}}}function vy(e,t){const n=t.stacktrace||t.stack||"",i=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(by.test(e.message))return 1}return 0}(t);try{return e(n,i)}catch(e){}return[]}const by=/Minified React error #\d+;/i;function _y(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function wy(e,t,n,i,s){let r;if(ip(t)&&t.error){return yy(e,t.error)}if(sp(t)||np(t,"DOMException")){const s=t;if("stack"in t)r=yy(e,t);else{const t=s.name||(sp(s)?"DOMError":"DOMException"),a=s.message?`${t}: ${s.message}`:t;r=Iy(e,a,n,i),pf(r,a)}return"code"in s&&(r.tags={...r.tags,"DOMException.code":`${s.code}`}),r}if(tp(t))return yy(e,t);if(cp(t)||lp(t)){return r=function(e,t,n,i){const s=Yh(),r=s&&s.getOptions().normalizeDepth,a={exception:{values:[{type:lp(t)?t.constructor.name:i?"UnhandledRejection":"Error",value:xy(t,{isUnhandledRejection:i})}]},extra:{__serialized__:Wf(t,r)}};if(n){const t=vy(e,n);t.length&&(a.exception.values[0].stacktrace={frames:t})}return a}(e,t,n,s),ff(r,{synthetic:!0}),r}return r=Iy(e,t,n,i),pf(r,`${t}`,void 0),ff(r,{synthetic:!0}),r}function Iy(e,t,n,i){const s={};if(i&&n){const i=vy(e,n);i.length&&(s.exception={values:[{value:t,stacktrace:{frames:i}}]})}if(ap(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return s.logentry={message:e,params:n},s}return s.message=t,s}function xy(e,{isUnhandledRejection:t}){const n=function(e,t=40){const n=Object.keys(Hp(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return hp(n[0],t);for(let e=n.length;e>0;e--){const i=n.slice(0,e).join(", ");if(!(i.length>t))return e===n.length?i:hp(i,t)}return""}(e),i=t?"promise rejection":"exception";if(ip(e))return`Event \`ErrorEvent\` captured as ${i} with message \`${e.message}\``;if(lp(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e)}\` (type=${e.type}) captured as ${i}`}return`Object captured as ${i} with keys: ${n}`}class Ey extends eg{constructor(e){!function(e,t,n=[t],i="npm"){const s=e._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${i}:@sentry/${e}`,version:cm}))),version:cm}),e._metadata=s}(e,"browser",["browser"],uy.SENTRY_SDK_SOURCE||"npm"),super(e),e.sendClientReports&&uy.document&&uy.document.addEventListener("visibilitychange",(()=>{"hidden"===uy.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return function(e,t,n,i){const s=wy(e,t,n&&n.syntheticException||void 0,i);return ff(s),s.level="error",n&&n.event_id&&(s.event_id=n.event_id),Gf(s)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",i,s){const r=Iy(e,t,i&&i.syntheticException||void 0,s);return r.level=n,i&&i.event_id&&(r.event_id=i.event_id),Gf(r)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(my&&jp.warn("SDK not enabled, will not capture user feedback."));const t=function(e,{metadata:t,tunnel:n,dsn:i}){const s={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!i&&{dsn:Up(i)}},r=function(e){return[{type:"user_report"},e]}(e);return mh(s,[r])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(my&&jp.log("No outcomes to send"));if(!this._dsn)return void(my&&jp.log("No dsn provided, will not send outcomes"));my&&jp.log("Sending outcomes:",e);const t=(n=e,mh((i=this._options.tunnel&&Up(this._dsn))?{dsn:i}:{},[[{type:"client_report"},{timestamp:s||ih(),discarded_events:n}]]));var n,i,s;this._sendEnvelope(t)}}let Sy;function Ay(e,t=function(){if(Sy)return Sy;if(Sf(uy.fetch))return Sy=uy.fetch.bind(uy);const e=uy.document;let t=uy.fetch;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const i=n.contentWindow;i&&i.fetch&&(t=i.fetch),e.head.removeChild(n)}catch(e){my&&jp.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return Sy=t.bind(uy)}()){let n=0,i=0;return rg(e,(function(s){const r=s.body.length;n+=r,i++;const a={body:s.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&i<15,...e.fetchOptions};try{return t(e.url,a).then((e=>(n-=r,i--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(e){return Sy=void 0,n-=r,i--,Jf(e)}}))}const ky=4;function Ty(e){return rg(e,(function(t){return new Xf(((n,i)=>{const s=new XMLHttpRequest;s.onerror=i,s.onreadystatechange=()=>{s.readyState===ky&&n({statusCode:s.status,headers:{"x-sentry-rate-limits":s.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":s.getResponseHeader("Retry-After")}})},s.open("POST",e.url);for(const t in e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&s.setRequestHeader(t,e.headers[t]);s.send(t.body)}))}))}const Ry="?";function Cy(e,t,n,i){const s={filename:e,function:t,in_app:!0};return void 0!==n&&(s.lineno=n),void 0!==i&&(s.colno=i),s}const Ly=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Oy=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ny=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Fy=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,jy=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Py=Zp(...[[30,e=>{const t=Ly.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){const e=Oy.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}const[e,n]=Uy(t[1]||Ry,t[2]);return Cy(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,e=>{const t=Ny.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Fy.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||Ry;return[n,e]=Uy(n,e),Cy(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],[40,e=>{const t=jy.exec(e);return t?Cy(t[2],t[1]||Ry,+t[3],t[4]?+t[4]:void 0):void 0}]]),Uy=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),i=-1!==e.indexOf("safari-web-extension");return n||i?[-1!==e.indexOf("@")?e.split("@")[0]:Ry,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},My=1024,Dy="Breadcrumbs",$y=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Dy,setupOnce(){},setup(e){var n;t.console&&function(e){const t="console";rf(t,e),af(t,cf)}(function(e){return function(t){if(Yh()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:th(t.level),message:mp(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${mp(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}Wh(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if(Yh()!==e)return;let i,s,r="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>My&&(my&&jp.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=My),"string"==typeof r&&(r=[r]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;i=Tp(t,{keyAttrs:r,maxStringLength:a}),s=Cp(t)}catch(e){i="<unknown>"}if(0===i.length)return;const o={category:`ui.${n.name}`,message:i};s&&(o.data={"ui.component_name":s}),Wh(o,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),rf("dom",n),af("dom",wf)),t.xhr&&qf(function(e){return function(t){if(Yh()!==e)return;const{startTimestamp:n,endTimestamp:i}=t,s=t.xhr[Bf];if(!n||!i||!s)return;const{method:r,url:a,status_code:o,body:c}=s;Wh({category:"xhr",data:{method:r,url:a,status_code:o},type:"http"},{xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:i})}}(e)),t.fetch&&Af(function(e){return function(t){if(Yh()!==e)return;const{startTimestamp:n,endTimestamp:i}=t;if(i&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){Wh({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:n,endTimestamp:i})}else{const e=t.response;Wh({category:"fetch",data:{...t.fetchData,status_code:e&&e.status},type:"http"},{input:t.args,response:e,startTimestamp:n,endTimestamp:i})}}}(e)),t.history&&Df(function(e){return function(t){if(Yh()!==e)return;let n=t.from,i=t.to;const s=Zf(uy.location.href);let r=n?Zf(n):void 0;const a=Zf(i);r&&r.path||(r=s),s.protocol===a.protocol&&s.host===a.host&&(i=a.relative),s.protocol===r.protocol&&s.host===r.host&&(n=r.relative),Wh({category:"navigation",data:{from:n,to:i}})}}(e)),t.sentry&&e.on&&e.on("beforeSendEvent",function(e){return function(t){Yh()===e&&Wh({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:uf(t)},{event:t})}}(e))}}};Xm(Dy,$y);const zy="Dedupe",By=()=>{let e;return{name:zy,setupOnce(){},processEvent(t){if(t.type)return t;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,i=t.message;if(!n&&!i)return!1;if(n&&!i||!n&&i)return!1;if(n!==i)return!1;if(!Vy(e,t))return!1;if(!qy(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=Hy(t),i=Hy(e);if(!n||!i)return!1;if(n.type!==i.type||n.value!==i.value)return!1;if(!Vy(e,t))return!1;if(!qy(e,t))return!1;return!0}(e,t))return!0;return!1}(t,e))return my&&jp.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};function qy(e,t){let n=Wy(e),i=Wy(t);if(!n&&!i)return!0;if(n&&!i||!n&&i)return!1;if(i.length!==n.length)return!1;for(let e=0;e<i.length;e++){const t=i[e],s=n[e];if(t.filename!==s.filename||t.lineno!==s.lineno||t.colno!==s.colno||t.function!==s.function)return!1}return!0}function Vy(e,t){let n=e.fingerprint,i=t.fingerprint;if(!n&&!i)return!0;if(n&&!i||!n&&i)return!1;try{return!(n.join("")!==i.join(""))}catch(e){return!1}}function Hy(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Wy(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}}Xm(zy,By);const Yy="GlobalHandlers",Ky=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:Yy,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(!function(e){Lf((t=>{const{stackParser:n,attachStacktrace:i}=Xy();if(Yh()!==e||fy())return;const{msg:s,url:r,line:a,column:o,error:c}=t,l=void 0===c&&rp(s)?function(e,t,n,i){const s=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let r=ip(e)?e.message:e,a="Error";const o=r.match(s);o&&(a=o[1],r=o[2]);const c={exception:{values:[{type:a,value:r}]}};return Gy(c,t,n,i)}(s,r,a,o):Gy(wy(n,c||s,void 0,i,!1),r,a,o);l.level="error",Hh(l,{originalException:c,mechanism:{handled:!1,type:"onerror"}})}))}(e),Jy("onerror")),t.onunhandledrejection&&(!function(e){Ff((t=>{const{stackParser:n,attachStacktrace:i}=Xy();if(Yh()!==e||fy())return;const s=function(e){if(op(e))return e;const t=e;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch(e){}return e}(t),r=op(s)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(s)}`}]}}:wy(n,s,void 0,i,!0);r.level="error",Hh(r,{originalException:s,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(e),Jy("onunhandledrejection"))}}};function Gy(e,t,n,i){const s=e.exception=e.exception||{},r=s.values=s.values||[],a=r[0]=r[0]||{},o=a.stacktrace=a.stacktrace||{},c=o.frames=o.frames||[],l=isNaN(parseInt(i,10))?void 0:i,d=isNaN(parseInt(n,10))?void 0:n,u=rp(t)&&t.length>0?t:function(){try{return Ap.document.location.href}catch(e){return""}}();return 0===c.length&&c.push({colno:l,filename:u,function:"?",in_app:!0,lineno:d}),e}function Jy(e){my&&jp.log(`Global Handler attached: ${e}`)}function Xy(){const e=Yh();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}Xm(Yy,Ky);const Qy="HttpContext",Zy=()=>({name:Qy,setupOnce(){},preprocessEvent(e){if(!uy.navigator&&!uy.location&&!uy.document)return;const t=e.request&&e.request.url||uy.location&&uy.location.href,{referrer:n}=uy.document||{},{userAgent:i}=uy.navigator||{},s={...e.request&&e.request.headers,...n&&{Referer:n},...i&&{"User-Agent":i}},r={...e.request,...t&&{url:t},headers:s};e.request=r}});Xm(Qy,Zy);const ev="LinkedErrors",tv=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:ev,setupOnce(){},preprocessEvent(e,i,s){const r=s.getOptions();vp(gy,r.stackParser,r.maxValueLength,n,t,e,i)}}};Xm(ev,tv);const nv=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],iv="TryCatch",sv=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:iv,setupOnce(){t.setTimeout&&zp(uy,"setTimeout",rv),t.setInterval&&zp(uy,"setInterval",rv),t.requestAnimationFrame&&zp(uy,"requestAnimationFrame",av),t.XMLHttpRequest&&"XMLHttpRequest"in uy&&zp(XMLHttpRequest.prototype,"send",ov);const e=t.eventTarget;if(e){(Array.isArray(e)?e:nv).forEach(cv)}}}};function rv(e){return function(...t){const n=t[0];return t[0]=hy(n,{mechanism:{data:{function:tf(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function av(e){return function(t){return e.apply(this,[hy(t,{mechanism:{data:{function:"requestAnimationFrame",handler:tf(e)},handled:!1,type:"instrument"}})])}}function ov(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&zp(n,e,(function(t){const n={mechanism:{data:{function:e,handler:tf(t)},handled:!1,type:"instrument"}},i=Vp(t);return i&&(n.mechanism.data.handler=tf(i)),hy(t,n)}))})),e.apply(this,t)}}function cv(e){const t=uy,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(zp(n,"addEventListener",(function(t){return function(n,i,s){try{"function"==typeof i.handleEvent&&(i.handleEvent=hy(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:tf(i),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,hy(i,{mechanism:{data:{function:"addEventListener",handler:tf(i),target:e},handled:!1,type:"instrument"}}),s])}})),zp(n,"removeEventListener",(function(e){return function(t,n,i){const s=n;try{const n=s&&s.__sentry_wrapped__;n&&e.call(this,t,n,i)}catch(e){}return e.call(this,t,s,i)}})))}Xm(iv,sv);const lv=[dg(),mg(),sv(),$y(),Ky(),tv(),By(),Zy()];function dv(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=[...lv]),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),uy.SENTRY_RELEASE&&uy.SENTRY_RELEASE.id&&(e.release=uy.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);const t={...e,stackParser:(n=e.stackParser||Py,Array.isArray(n)?Zp(...n):n),integrations:Km(e),transport:e.transport||(Ef()?Ay:Ty)};var n;ig(Ey,t),e.autoSessionTracking&&function(){if(void 0===uy.document)return void(my&&jp.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));Gh({ignoreDuration:!0}),Qh(),Df((({from:e,to:t})=>{void 0!==e&&e!==t&&(Gh({ignoreDuration:!0}),Qh())}))}()}const uv=Object.prototype.toString;function pv(e,t){return uv.call(e)===`[object ${t}]`}function fv(e){return pv(e,"String")}function hv(e){return pv(e,"Object")}function mv(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function gv(e,t){try{return e instanceof t}catch(e){return!1}}function yv(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function vv(e,t,n=!1){return!!fv(e)&&(pv(t,"RegExp")?t.test(e):!!fv(t)&&(n?e===t:e.includes(t)))}function bv(e){return e&&e.Math==Math?e:void 0}const _v="object"==typeof globalThis&&bv(globalThis)||"object"==typeof window&&bv(window)||"object"==typeof self&&bv(self)||"object"==typeof global&&bv(global)||function(){return this}()||{};function wv(){return _v}function Iv(e,t,n){const i=n||_v,s=i.__SENTRY__=i.__SENTRY__||{};return s[e]||(s[e]=t())}const xv=wv(),Ev=80;function Sv(e,t={}){if(!e)return"<unknown>";try{let n=e;const i=5,s=[];let r=0,a=0;const o=" > ",c=o.length;let l;const d=Array.isArray(t)?t:t.keyAttrs,u=!Array.isArray(t)&&t.maxStringLength||Ev;for(;n&&r++<i&&(l=Av(n,d),!("html"===l||r>1&&a+s.length*c+l.length>=u));)s.push(l),a+=l.length,n=n.parentNode;return s.reverse().join(o)}catch(e){return"<unknown>"}}function Av(e,t){const n=e,i=[];let s,r,a,o,c;if(!n||!n.tagName)return"";if(xv.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;i.push(n.tagName.toLowerCase());const l=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(l&&l.length)l.forEach((e=>{i.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&i.push(`#${n.id}`),s=n.className,s&&fv(s))for(r=s.split(/\s+/),c=0;c<r.length;c++)i.push(`.${r[c]}`);const d=["aria-label","type","name","title","alt"];for(c=0;c<d.length;c++)a=d[c],o=n.getAttribute(a),o&&i.push(`[${a}="${o}"]`);return i.join("")}const kv="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Tv=["debug","info","warn","error","log","assert","trace"],Rv={};function Cv(e){if(!("console"in _v))return e();const t=_v.console,n={},i=Object.keys(Rv);i.forEach((e=>{const i=Rv[e];n[e]=t[e],t[e]=i}));try{return e()}finally{i.forEach((e=>{t[e]=n[e]}))}}const Lv=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return kv?Tv.forEach((n=>{t[n]=(...t)=>{e&&Cv((()=>{_v.console[n](`Sentry Logger [${n}]:`,...t)}))}})):Tv.forEach((e=>{t[e]=()=>{}})),t}();function Ov(e,t=!1){const{host:n,path:i,pass:s,port:r,projectId:a,protocol:o,publicKey:c}=e;return`${o}://${c}${t&&s?`:${s}`:""}@${n}${r?`:${r}`:""}/${i?`${i}/`:i}${a}`}function Nv(e,t,n){if(!(t in e))return;const i=e[t],s=n(i);"function"==typeof s&&function(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Fv(e,"__sentry_original__",t)}catch(e){}}(s,i),e[t]=s}function Fv(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){kv&&Lv.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function jv(e){if(function(e){switch(uv.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return gv(e,Error)}}(e))return{message:e.message,name:e.name,stack:e.stack,...Uv(e)};if(t=e,"undefined"!=typeof Event&&gv(t,Event)){const t={type:e.type,target:Pv(e.target),currentTarget:Pv(e.currentTarget),...Uv(e)};return"undefined"!=typeof CustomEvent&&gv(e,CustomEvent)&&(t.detail=e.detail),t}return e;var t}function Pv(e){try{return t=e,"undefined"!=typeof Element&&gv(t,Element)?Sv(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}var t}function Uv(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function Mv(e){return Dv(e,new Map)}function Dv(e,t){if(function(e){if(!hv(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const i={};t.set(e,i);for(const n of Object.keys(e))void 0!==e[n]&&(i[n]=Dv(e[n],t));return i}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const i=[];return t.set(e,i),e.forEach((e=>{i.push(Dv(e,t))})),i}return e}const $v="<anonymous>";function zv(e){try{return e&&"function"==typeof e&&e.name||$v}catch(e){return $v}}const Bv={},qv={};function Vv(e,t){Bv[e]=Bv[e]||[],Bv[e].push(t)}function Hv(e,t){qv[e]||(t(),qv[e]=!0)}function Wv(e,t){const n=e&&Bv[e];if(n)for(const i of n)try{i(t)}catch(t){kv&&Lv.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${zv(i)}\nError:`,t)}}function Yv(){const e=_v,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}const Kv=_v,Gv=1e3;let Jv,Xv,Qv;function Zv(){if(!Kv.document)return;const e=Wv.bind(null,"dom"),t=eb(e,!0);Kv.document.addEventListener("click",t,!1),Kv.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=Kv[t]&&Kv[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Nv(n,"addEventListener",(function(t){return function(n,i,s){if("click"===n||"keypress"==n)try{const i=this,r=i.__sentry_instrumentation_handlers__=i.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){const i=eb(e);a.handler=i,t.call(this,n,i,s)}a.refCount++}catch(e){}return t.call(this,n,i,s)}})),Nv(n,"removeEventListener",(function(e){return function(t,n,i){if("click"===t||"keypress"==t)try{const n=this,s=n.__sentry_instrumentation_handlers__||{},r=s[t];r&&(r.refCount--,r.refCount<=0&&(e.call(this,t,r.handler,i),r.handler=void 0,delete s[t]),0===Object.keys(s).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,i)}})))}))}function eb(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const i=function(e){try{return e.target}catch(e){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,i))return;Fv(n,"_sentryCaptured",!0),i&&!i._sentryId&&Fv(i,"_sentryId",Yv());const s="keypress"===n.type?"input":n.type;if(!function(e){if(e.type!==Xv)return!1;try{if(!e.target||e.target._sentryId!==Qv)return!1}catch(e){}return!0}(n)){e({event:n,name:s,global:t}),Xv=n.type,Qv=i?i._sentryId:void 0}clearTimeout(Jv),Jv=Kv.setTimeout((()=>{Qv=void 0,Xv=void 0}),Gv)}}const tb=wv();function nb(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function ib(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in tb))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}())return!1;if(nb(tb.fetch))return!0;let e=!1;const t=tb.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=nb(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){kv&&Lv.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function sb(){ib()&&Nv(_v,"fetch",(function(e){return function(...t){const{method:n,url:i}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:ab(t),method:rb(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:ab(t),method:rb(t,"method")?String(t.method).toUpperCase():"GET"}}(t),s={args:t,fetchData:{method:n,url:i},startTimestamp:Date.now()};return Wv("fetch",{...s}),e.apply(_v,t).then((e=>(Wv("fetch",{...s,endTimestamp:Date.now(),response:e}),e)),(e=>{throw Wv("fetch",{...s,endTimestamp:Date.now(),error:e}),e}))}}))}function rb(e,t){return!!e&&"object"==typeof e&&!!e[t]}function ab(e){return"string"==typeof e?e:e?rb(e,"url")?e.url:e.toString?e.toString():"":""}const ob=wv();const cb=_v;let lb;function db(){if(!function(){const e=ob.chrome,t=e&&e.app&&e.app.runtime,n="history"in ob&&!!ob.history.pushState&&!!ob.history.replaceState;return!t&&n}())return;const e=cb.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=lb,t=String(n);lb=t;Wv("history",{from:e,to:t})}return e.apply(this,t)}}cb.onpopstate=function(...t){const n=cb.location.href,i=lb;lb=n;if(Wv("history",{from:i,to:n}),e)try{return e.apply(this,t)}catch(e){}},Nv(cb.history,"pushState",t),Nv(cb.history,"replaceState",t)}const ub=_v,pb="__sentry_xhr_v3__";function fb(){if(!ub.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;Nv(e,"open",(function(e){return function(...t){const n=Date.now(),i=fv(t[0])?t[0].toUpperCase():void 0,s=function(e){if(fv(e))return e;try{return e.toString()}catch(e){}return}(t[1]);if(!i||!s)return e.apply(this,t);this[pb]={method:i,url:s,request_headers:{}},"POST"===i&&s.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const r=()=>{const e=this[pb];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}Wv("xhr",{args:[i,s],endTimestamp:Date.now(),startTimestamp:n,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?Nv(this,"onreadystatechange",(function(e){return function(...t){return r(),e.apply(this,t)}})):this.addEventListener("readystatechange",r),Nv(this,"setRequestHeader",(function(e){return function(...t){const[n,i]=t,s=this[pb];return s&&fv(n)&&fv(i)&&(s.request_headers[n.toLowerCase()]=i),e.apply(this,t)}})),e.apply(this,t)}})),Nv(e,"send",(function(e){return function(...t){const n=this[pb];if(!n)return e.apply(this,t);void 0!==t[0]&&(n.body=t[0]);return Wv("xhr",{args:[n.method,n.url],startTimestamp:Date.now(),xhr:this}),e.apply(this,t)}}))}function hb(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function mb(){return"undefined"!=typeof window&&(!hb()||void 0!==_v.process&&"renderer"===_v.process.type)}function gb(e,t=100,n=1/0){try{return yb("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function yb(e,t,n=1/0,i=1/0,s=function(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){const[r,a]=s;if(null==t||["number","boolean","string"].includes(typeof t)&&("number"!=typeof(o=t)||o==o))return t;var o;const c=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if(function(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}(t))return"[VueViewModel]";if(function(e){return hv(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}(t))return"[SyntheticEvent]";if("number"==typeof t&&t!=t)return"[NaN]";if("function"==typeof t)return`[Function: ${zv(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const n=function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(e){return`**non-serializable** (${e})`}}(e,t);if(!c.startsWith("[object "))return c;if(t.__sentry_skip_normalization__)return t;const l="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===l)return c.replace("object ","");if(r(t))return"[Circular ~]";const d=t;if(d&&"function"==typeof d.toJSON)try{return yb("",d.toJSON(),l-1,i,s)}catch(e){}const u=Array.isArray(t)?[]:{};let p=0;const f=jv(t);for(const e in f){if(!Object.prototype.hasOwnProperty.call(f,e))continue;if(p>=i){u[e]="[MaxProperties ~]";break}const t=f[e];u[e]=yb(e,t,l-1,i,s),p++}return a(t),u}var vb;!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(vb||(vb={}));let bb=class e{constructor(t){e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),this._state=vb.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(e){this._reject(e)}}then(t,n){return new e(((e,i)=>{this._handlers.push([!1,n=>{if(t)try{e(t(n))}catch(e){i(e)}else e(n)},t=>{if(n)try{e(n(t))}catch(e){i(e)}else i(t)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(t){return new e(((e,n)=>{let i,s;return this.then((e=>{s=!1,i=e,t&&t()}),(e=>{s=!0,i=e,t&&t()})).then((()=>{s?n(i):e(i)}))}))}__init(){this._resolve=e=>{this._setResult(vb.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(vb.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===vb.PENDING&&(mv(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===vb.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===vb.RESOLVED&&e[1](this._value),this._state===vb.REJECTED&&e[2](this._value),e[0]=!0)}))}}};const _b=1e3;function wb(){return Date.now()/_b}const Ib=function(){const{performance:e}=_v;if(!e||!e.now)return wb;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/_b}(),xb=(()=>{const{performance:e}=_v;if(!e||!e.now)return;const t=36e5,n=e.now(),i=Date.now(),s=e.timeOrigin?Math.abs(e.timeOrigin+n-i):t,r=s<t,a=e.timing&&e.timing.navigationStart,o="number"==typeof a?Math.abs(a+n-i):t;return r||o<t?s<=o?e.timeOrigin:a:i})();const Eb=6e4;function Sb(e,{statusCode:t,headers:n},i=Date.now()){const s={...e},r=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(r)for(const e of r.trim().split(",")){const[t,n]=e.split(":",2),r=parseInt(t,10),a=1e3*(isNaN(r)?60:r);if(n)for(const e of n.split(";"))s[e]=i+a;else s.all=i+a}else a?s.all=i+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const i=Date.parse(`${e}`);return isNaN(i)?Eb:i-t}(a,i):429===t&&(s.all=i+6e4);return s}function Ab(e){let t,n=e[0],i=1;for(;i<e.length;){const s=e[i],r=e[i+1];if(i+=2,("optionalAccess"===s||"optionalCall"===s)&&null==n)return;"access"===s||"optionalAccess"===s?(t=n,n=r(n)):"call"!==s&&"optionalCall"!==s||(n=r(((...e)=>n.call(t,...e))),t=void 0)}return n}const kb="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Tb="production";function Rb(){return Iv("globalEventProcessors",(()=>[]))}function Cb(e,t,n,i=0){return new bb(((s,r)=>{const a=e[i];if(null===t||"function"!=typeof a)s(t);else{const o=a({...t},n);kb&&a.id&&null===o&&Lv.log(`Event processor "${a.id}" dropped event`),mv(o)?o.then((t=>Cb(e,t,n,i+1).then(s))).then(null,r):Cb(e,o,n,i+1).then(s).then(null,r)}}))}function Lb(e){const t=Ib(),n={sid:Yv(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return Mv({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&Ob(n,e),n}function Ob(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Ib(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:Yv()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}const Nb=1;function Fb(e){const{spanId:t,traceId:n}=e.spanContext(),{data:i,op:s,parent_span_id:r,status:a,tags:o,origin:c}=jb(e);return Mv({data:i,op:s,parent_span_id:r,span_id:t,status:a,tags:o,trace_id:n,origin:c})}function jb(e){return function(e){return"function"==typeof e.getSpanJSON}(e)?e.getSpanJSON():"function"==typeof e.toJSON?e.toJSON():{}}function Pb(e,t,n,i,s,r){const{normalizeDepth:a=3,normalizeMaxBreadth:o=1e3}=e,c={...t,event_id:t.event_id||n.event_id||Yv(),timestamp:t.timestamp||wb()},l=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:i,dist:s,maxValueLength:r=250}=t;"environment"in e||(e.environment="environment"in t?n:Tb);void 0===e.release&&void 0!==i&&(e.release=i);void 0===e.dist&&void 0!==s&&(e.dist=s);e.message&&(e.message=yv(e.message,r));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=yv(a.value,r));const o=e.request;o&&o.url&&(o.url=yv(o.url,r))}(c,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(c,l),void 0===t.type&&function(e,t){const n=_v._sentryDebugIds;if(!n)return;let i;const s=Ub.get(t);s?i=s:(i=new Map,Ub.set(t,i));const r=Object.keys(n).reduce(((e,s)=>{let r;const a=i.get(s);a?r=a:(r=t(s),i.set(s,r));for(let t=r.length-1;t>=0;t--){const i=r[t];if(i.filename){e[i.filename]=n[s];break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=r[e.filename])}))}))}catch(e){}}(c,e.stackParser);const d=function(e,t){if(!t)return e;const n=e?e.clone():new Gb;return n.update(t),n}(i,n.captureContext);n.mechanism&&function(e,t){const n=function(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}(e);if(!n)return;const i=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...i,...t},t&&"data"in t){const e={...i&&i.data,...t.data};n.mechanism.data=e}}(c,n.mechanism);const u=s&&s.getEventProcessors?s.getEventProcessors():[],p=function(){Kb||(Kb=new Gb);return Kb}().getScopeData();if(r){Wb(p,r.getScopeData())}if(d){Wb(p,d.getScopeData())}const f=[...n.attachments||[],...p.attachments];f.length&&(n.attachments=f),Hb(c,p);return Cb([...u,...Rb(),...p.eventProcessors],c,n).then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach((e=>{n.push({type:"sourcemap",code_file:e,debug_id:t[e]})}))}(e),"number"==typeof a&&a>0?function(e,t,n){if(!e)return null;const i={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:gb(e.data,t,n)}})))},...e.user&&{user:gb(e.user,t,n)},...e.contexts&&{contexts:gb(e.contexts,t,n)},...e.extra&&{extra:gb(e.extra,t,n)}};e.contexts&&e.contexts.trace&&i.contexts&&(i.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(i.contexts.trace.data=gb(e.contexts.trace.data,t,n)));e.spans&&(i.spans=e.spans.map((e=>{const i=jb(e).data;return i&&(e.data=gb(i,t,n)),e})));return i}(e,a,o):e)))}const Ub=new WeakMap;function Mb(e){if(e)return function(e){return e instanceof Gb||"function"==typeof e}(e)||function(e){return Object.keys(e).some((e=>Db.includes(e)))}(e)?{captureContext:e}:e}const Db=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function $b(e,t){return n_().captureException(e,Mb(t))}function zb(){return n_().getClient()}function Bb(){return n_().getScope()}function qb(e){return e.transaction}function Vb(e){const t=zb();if(!t)return{};const n=function(e,t,n){const i=t.getOptions(),{publicKey:s}=t.getDsn()||{},{segment:r}=n&&n.getUser()||{},a=Mv({environment:i.environment||Tb,release:i.release,user_segment:r,public_key:s,trace_id:e});return t.emit&&t.emit("createDsc",a),a}(jb(e).trace_id||"",t,Bb()),i=qb(e);if(!i)return n;const s=i&&i._frozenDynamicSamplingContext;if(s)return s;const{sampleRate:r,source:a}=i.metadata;null!=r&&(n.sample_rate=`${r}`);const o=jb(i);return a&&"url"!==a&&(n.transaction=o.description),n.sampled=String(function(e){const{traceFlags:t}=e.spanContext();return Boolean(t&Nb)}(i)),t.emit&&t.emit("createDsc",n),n}function Hb(e,t){const{fingerprint:n,span:i,breadcrumbs:s,sdkProcessingMetadata:r}=t;!function(e,t){const{extra:n,tags:i,user:s,contexts:r,level:a,transactionName:o}=t,c=Mv(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});const l=Mv(i);l&&Object.keys(l).length&&(e.tags={...l,...e.tags});const d=Mv(s);d&&Object.keys(d).length&&(e.user={...d,...e.user});const u=Mv(r);u&&Object.keys(u).length&&(e.contexts={...u,...e.contexts});a&&(e.level=a);o&&(e.transaction=o)}(e,t),i&&function(e,t){e.contexts={trace:Fb(t),...e.contexts};const n=qb(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:Vb(t),...e.sdkProcessingMetadata};const i=jb(n).description;i&&(e.tags={transaction:i,...e.tags})}}(e,i),function(e,t){e.fingerprint=e.fingerprint?function(e){return Array.isArray(e)?e:[e]}(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,s),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,r)}function Wb(e,t){const{extra:n,tags:i,user:s,contexts:r,level:a,sdkProcessingMetadata:o,breadcrumbs:c,fingerprint:l,eventProcessors:d,attachments:u,propagationContext:p,transactionName:f,span:h}=t;Yb(e,"extra",n),Yb(e,"tags",i),Yb(e,"user",s),Yb(e,"contexts",r),Yb(e,"sdkProcessingMetadata",o),a&&(e.level=a),f&&(e.transactionName=f),h&&(e.span=h),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),u.length&&(e.attachments=[...e.attachments,...u]),e.propagationContext={...e.propagationContext,...p}}function Yb(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[t][i]=n[i])}}let Kb,Gb=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=Jb()}static clone(t){return t?t.clone():new e}clone(){const t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&Ob(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){const n=t(this);return n instanceof e?n:this}return t instanceof e?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):hv(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=Jb(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const i={timestamp:wb(),...e},s=this._breadcrumbs;return s.push(i),this._breadcrumbs=s.length>n?s.slice(-n):s,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:i,_extra:s,_user:r,_level:a,_fingerprint:o,_eventProcessors:c,_propagationContext:l,_sdkProcessingMetadata:d,_transactionName:u,_span:p}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:i,extra:s,user:r,level:a,fingerprint:o||[],eventProcessors:c,propagationContext:l,sdkProcessingMetadata:d,transactionName:u,span:p}}applyToEvent(e,t={},n=[]){Hb(e,this.getScopeData());return Cb([...n,...Rb(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:Yv();if(!this._client)return Lv.warn("No client configured on scope - will not capture exception!"),n;const i=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:i,...t,event_id:n},this),n}captureMessage(e,t,n){const i=n&&n.event_id?n.event_id:Yv();if(!this._client)return Lv.warn("No client configured on scope - will not capture message!"),i;const s=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:s,...n,event_id:i},this),i}captureEvent(e,t){const n=t&&t.event_id?t.event_id:Yv();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(Lv.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}};function Jb(){return{traceId:Yv(),spanId:Yv().substring(16)}}const Xb=parseFloat("7.101.0"),Qb=100;let Zb=class{constructor(e,t,n,i=Xb){let s,r;this._version=i,t?s=t:(s=new Gb,s.setClient(e)),n?r=n:(r=new Gb,r.setClient(e)),this._stack=[{scope:s}],e&&this.bindClient(e),this._isolationScope=r}isOlderThan(e){return this._version<e}bindClient(e){const t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){const t=this.pushScope();let n;try{n=e(t)}catch(e){throw this.popScope(),e}return mv(n)?n.then((e=>(this.popScope(),e)),(e=>{throw this.popScope(),e})):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:Yv(),i=new Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:i,...t,event_id:n}),n}captureMessage(e,t,n){const i=this._lastEventId=n&&n.event_id?n.event_id:Yv(),s=new Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:s,...n,event_id:i}),i}captureEvent(e,t){const n=t&&t.event_id?t.event_id:Yv();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...t,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:r=Qb}=i.getOptions&&i.getOptions()||{};if(r<=0)return;const a={timestamp:wb(),...e},o=s?Cv((()=>s(a,t))):a;null!==o&&(i.emit&&i.emit("beforeAddBreadcrumb",o,t),n.addBreadcrumb(o,r))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=t_(this);try{e(this)}finally{t_(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return kb&&Lv.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);if(kb&&!n){this.getClient()?Lv.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):Lv.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&function(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),Ob(e,n)}(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:i,environment:s=Tb}=n&&n.getOptions()||{},{userAgent:r}=_v.navigator||{},a=Lb({release:i,environment:s,user:t.getUser(),...r&&{userAgent:r},...e}),o=t.getSession&&t.getSession();return o&&"ok"===o.status&&Ob(o,{status:"exited"}),this.endSession(),t.setSession(a),a}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e,...t){const n=e_().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e])return n.extensions[e].apply(this,t);kb&&Lv.warn(`Extension method ${e} couldn't be found, doing nothing.`)}};function e_(){return _v.__SENTRY__=_v.__SENTRY__||{extensions:{},hub:void 0},_v}function t_(e){const t=e_(),n=i_(t);return s_(t,e),n}function n_(){const e=e_();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return function(e=e_()){t=e,t&&t.__SENTRY__&&t.__SENTRY__.hub&&!i_(e).isOlderThan(Xb)||s_(e,new Zb);var t;return i_(e)}(e)}function i_(e){return Iv("hub",(()=>new Zb),e)}function s_(e,t){if(!e)return!1;return(e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0}function r_(e,t){const n=t&&function(e){return void 0!==e.getClient}(t)?t.getClient():t,i=n&&n.getDsn(),s=n&&n.getOptions().tunnel;return function(e,t){return!!t&&e.includes(t.host)}(e,i)||function(e,t){if(!t)return!1;return a_(e)===a_(t)}(e,s)}function a_(e){return"/"===e[e.length-1]?e.slice(0,-1):e}const o_="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,c_=_v,l_=()=>c_.__WEB_VITALS_POLYFILL__?c_.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const e=c_.performance.timing,t=c_.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==t?"back_forward":1===t?"reload":"navigate"};for(const t in e)"navigationStart"!==t&&"toJSON"!==t&&(n[t]=Math.max(e[t]-e.navigationStart,0));return n})()):c_.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],d_=()=>{const e=l_();return e&&e.activationStart||0},u_=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const i=new PerformanceObserver((e=>{t(e.getEntries())}));return i.observe(Object.assign({type:e,buffered:!0},n||{})),i}}catch(e){}},p_=(e,t)=>{const n=i=>{"pagehide"!==i.type&&"hidden"!==c_.document.visibilityState||(e(i),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)};let f_=-1;const h_=()=>(f_<0&&(f_="hidden"!==c_.document.visibilityState||c_.document.prerendering?1/0:0,p_((({timeStamp:e})=>{f_=e}),!0)),{get firstHiddenTime(){return f_}}),m_={},g_=e=>{const t=h_(),n=((e,t)=>{const n=l_();let i="navigate";return n&&(i=c_.document.prerendering||d_()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:i}})("LCP");let i;const s=e=>{const s=e[e.length-1];if(s){const e=Math.max(s.startTime-d_(),0);e<t.firstHiddenTime&&(n.value=e,n.entries=[s],i())}},r=u_("largest-contentful-paint",s);if(r){i=((e,t,n)=>{let i,s;return r=>{t.value>=0&&(r||n)&&(s=t.value-(i||0),(s||void 0===i)&&(i=t.value,t.delta=s,e(t)))}})(e,n);const t=()=>{m_[n.id]||(s(r.takeRecords()),r.disconnect(),m_[n.id]=!0,i(!0))};return["keydown","click"].forEach((e=>{addEventListener(e,t,{once:!0,capture:!0})})),p_(t,!0),t}},y_={},v_={};let b_;function __(e,t=!1){return function(e,t,n,i,s=!1){let r;E_(e,t),v_[e]||(r=n(),v_[e]=!0);i&&t({metric:i});return S_(e,t,s?r:void 0)}("lcp",e,x_,b_,t)}function w_(e,t){return E_(e,t),v_[e]||(!function(e){const t={};"event"===e&&(t.durationThreshold=0);u_(e,(t=>{I_(e,{entries:t})}),t)}(e),v_[e]=!0),S_(e,t)}function I_(e,t){const n=y_[e];if(n&&n.length)for(const i of n)try{i(t)}catch(t){o_&&Lv.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${zv(i)}\nError:`,t)}}function x_(){return g_((e=>{I_("lcp",{metric:e}),b_=e}))}function E_(e,t){y_[e]=y_[e]||[],y_[e].push(t)}function S_(e,t,n){return()=>{n&&n();const i=y_[e];if(!i)return;const s=i.indexOf(t);-1!==s&&i.splice(s,1)}}const A_=_v,k_="sentryReplaySession",T_="replay_event",R_="Unable to send Replay",C_=15e4,L_=5e3,O_=2e7,N_=36e5;function F_(e){let t,n=e[0],i=1;for(;i<e.length;){const s=e[i],r=e[i+1];if(i+=2,("optionalAccess"===s||"optionalCall"===s)&&null==n)return;"access"===s||"optionalAccess"===s?(t=n,n=r(n)):"call"!==s&&"optionalCall"!==s||(n=r(((...e)=>n.call(t,...e))),t=void 0)}return n}var j_;function P_(e){const t=F_([e,"optionalAccess",e=>e.host]);return Boolean(F_([t,"optionalAccess",e=>e.shadowRoot])===e)}function U_(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function M_(e){try{const n=e.rules||e.cssRules;return n?((t=Array.from(n,D_).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}var t}function D_(e){let t;if(function(e){return"styleSheet"in e}(e))try{t=M_(e.styleSheet)||function(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(e){}else if(function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":"))return function(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}(e.cssText);return t||e.cssText}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(j_||(j_={}));class $_{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){if(!e)return-1;const t=F_([this,"access",e=>e.getMeta,"call",t=>t(e),"optionalAccess",e=>e.id]);return i=()=>-1,null!=(n=t)?n:i();var n,i}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){const n=this.getNode(e);if(n){const e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function z_({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),Boolean(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function B_({isMasked:e,element:t,value:n,maskInputFn:i}){let s=n||"";return e?(i&&(s=i(s,t)),"*".repeat(s.length)):s}function q_(e){return e.toLowerCase()}function V_(e){return e.toUpperCase()}const H_="__rrweb_original__";function W_(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?q_(t):null}function Y_(e,t,n){return"INPUT"!==t||"radio"!==n&&"checkbox"!==n?e.value:e.getAttribute("value")||""}let K_=1;const G_=new RegExp("[^a-z0-9-_:]"),J_=-2;function X_(){return K_++}let Q_,Z_;const ew=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,tw=/^(?:[a-z+]+:)?\/\//i,nw=/^www\..*/i,iw=/^(data:)([^,]*),(.*)/i;function sw(e,t){return(e||"").replace(ew,((e,n,i,s,r,a)=>{const o=i||r||a,c=n||s||"";if(!o)return e;if(tw.test(o)||nw.test(o))return`url(${c}${o}${c})`;if(iw.test(o))return`url(${c}${o}${c})`;if("/"===o[0])return`url(${c}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+o}${c})`;const l=t.split("/"),d=o.split("/");l.pop();for(const e of d)"."!==e&&(".."===e?l.pop():l.push(e));return`url(${c}${l.join("/")}${c})`}))}const rw=/^[^ \t\n\r\u000c]+/,aw=/^[, \t\n\r\u000c]+/;function ow(e,t){if(!t||""===t.trim())return t;const n=e.createElement("a");return n.href=t,n.href}function cw(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function lw(){const e=document.createElement("a");return e.href="",e.href}function dw(e,t,n,i,s,r){return i?"src"===n||"href"===n&&("use"!==t||"#"!==i[0])||"xlink:href"===n&&"#"!==i[0]?ow(e,i):"background"!==n||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===n?function(e,t){if(""===t.trim())return t;let n=0;function i(e){let i;const s=e.exec(t.substring(n));return s?(i=s[0],n+=i.length,i):""}const s=[];for(;i(aw),!(n>=t.length);){let r=i(rw);if(","===r.slice(-1))r=ow(e,r.substring(0,r.length-1)),s.push(r);else{let i="";r=ow(e,r);let a=!1;for(;;){const e=t.charAt(n);if(""===e){s.push((r+i).trim());break}if(a)")"===e&&(a=!1);else{if(","===e){n+=1,s.push((r+i).trim());break}"("===e&&(a=!0)}i+=e,n+=1}}}return s.join(", ")}(e,i):"style"===n?sw(i,lw()):"object"===t&&"data"===n?ow(e,i):"function"==typeof r?r(n,i,s):i:ow(e,i):i}function uw(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function pw(e,t,n=1/0,i=0){return e?e.nodeType!==e.ELEMENT_NODE||i>n?-1:t(e)?i:pw(e.parentNode,t,n,i+1):-1}function fw(e,t){return n=>{const i=n;if(null===i)return!1;try{if(e)if("string"==typeof e){if(i.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){const i=e.classList[n];if(t.test(i))return!0}return!1}(i,e))return!0;return!(!t||!i.matches(t))}catch(e){return!1}}}function hw(e,t,n,i,s,r){try{const a=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===a)return!1;if("INPUT"===a.tagName){const e=a.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let o=-1,c=-1;if(r){if(c=pw(a,fw(i,s)),c<0)return!0;o=pw(a,fw(t,n),c>=0?c:1/0)}else{if(o=pw(a,fw(t,n)),o<0)return!1;c=pw(a,fw(i,s),o>=0?o:1/0)}return o>=0?!(c>=0)||o<=c:!(c>=0)&&!!r}catch(e){}return!!r}function mw(e,t){const{doc:n,mirror:i,blockClass:s,blockSelector:r,unblockSelector:a,maskAllText:o,maskAttributeFn:c,maskTextClass:l,unmaskTextClass:d,maskTextSelector:u,unmaskTextSelector:p,inlineStylesheet:f,maskInputOptions:h={},maskTextFn:m,maskInputFn:g,dataURLOptions:y={},inlineImages:v,recordCanvas:b,keepIframeSrcFn:_,newlyAddedElement:w=!1}=t,I=function(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return 1===n?void 0:n}(n,i);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:j_.Document,childNodes:[],compatMode:e.compatMode}:{type:j_.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:j_.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:I};case e.ELEMENT_NODE:return function(e,t){const{doc:n,blockClass:i,blockSelector:s,unblockSelector:r,inlineStylesheet:a,maskInputOptions:o={},maskAttributeFn:c,maskInputFn:l,dataURLOptions:d={},inlineImages:u,recordCanvas:p,keepIframeSrcFn:f,newlyAddedElement:h=!1,rootId:m,maskAllText:g,maskTextClass:y,unmaskTextClass:v,maskTextSelector:b,unmaskTextSelector:_}=t,w=function(e,t,n,i){try{if(i&&e.matches(i))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){const i=e.classList[n];if(t.test(i))return!0}if(n)return e.matches(n)}catch(e){}return!1}(e,i,s,r),I=function(e){if(e instanceof HTMLFormElement)return"form";const t=q_(e.tagName);return G_.test(t)?"div":t}(e);let x={};const E=e.attributes.length;for(let t=0;t<E;t++){const i=e.attributes[t];i.name&&!uw(I,i.name,i.value)&&(x[i.name]=dw(n,I,q_(i.name),i.value,e,c))}if("link"===I&&a){const t=Array.from(n.styleSheets).find((t=>t.href===e.href));let i=null;t&&(i=M_(t)),i&&(delete x.rel,delete x.href,x._cssText=sw(i,t.href))}if("style"===I&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=M_(e.sheet);t&&(x._cssText=sw(t,lw()))}if("input"===I||"textarea"===I||"select"===I||"option"===I){const t=e,n=W_(t),i=Y_(t,V_(I),n),s=t.checked;if("submit"!==n&&"button"!==n&&i){const e=hw(t,y,b,v,_,z_({type:n,tagName:V_(I),maskInputOptions:o}));x.value=B_({isMasked:e,element:t,value:i,maskInputFn:l})}s&&(x.checked=s)}"option"===I&&(e.selected&&!o.select?x.selected=!0:delete x.selected);if("canvas"===I&&p)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let i=0;i<e.height;i+=50){const s=t.getImageData,r=H_ in s?s[H_]:s;if(new Uint32Array(r.call(t,n,i,Math.min(50,e.width-n),Math.min(50,e.height-i)).data.buffer).some((e=>0!==e)))return!1}return!0})(e)||(x.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){const t=e.toDataURL(d.type,d.quality),n=document.createElement("canvas");n.width=e.width,n.height=e.height;t!==n.toDataURL(d.type,d.quality)&&(x.rr_dataURL=t)}if("img"===I&&u){Q_||(Q_=n.createElement("canvas"),Z_=Q_.getContext("2d"));const t=e,i=t.crossOrigin;t.crossOrigin="anonymous";const s=()=>{t.removeEventListener("load",s);try{Q_.width=t.naturalWidth,Q_.height=t.naturalHeight,Z_.drawImage(t,0,0),x.rr_dataURL=Q_.toDataURL(d.type,d.quality)}catch(e){console.warn(`Cannot inline img src=${t.currentSrc}! Error: ${e}`)}i?x.crossOrigin=i:t.removeAttribute("crossorigin")};t.complete&&0!==t.naturalWidth?s():t.addEventListener("load",s)}"audio"!==I&&"video"!==I||(x.rr_mediaState=e.paused?"paused":"played",x.rr_mediaCurrentTime=e.currentTime);h||(e.scrollLeft&&(x.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(x.rr_scrollTop=e.scrollTop));if(w){const{width:t,height:n}=e.getBoundingClientRect();x={class:x.class,rr_width:`${t}px`,rr_height:`${n}px`}}"iframe"!==I||f(x.src)||(e.contentDocument||(x.rr_src=x.src),delete x.src);let S;try{customElements.get(I)&&(S=!0)}catch(e){}return{type:j_.Element,tagName:I,attributes:x,childNodes:[],isSVG:cw(e)||void 0,needBlock:w,rootId:m,isCustom:S}}(e,{doc:n,blockClass:s,blockSelector:r,unblockSelector:a,inlineStylesheet:f,maskAttributeFn:c,maskInputOptions:h,maskInputFn:g,dataURLOptions:y,inlineImages:v,recordCanvas:b,keepIframeSrcFn:_,newlyAddedElement:w,rootId:I,maskAllText:o,maskTextClass:l,unmaskTextClass:d,maskTextSelector:u,unmaskTextSelector:p});case e.TEXT_NODE:return function(e,t){const{maskAllText:n,maskTextClass:i,unmaskTextClass:s,maskTextSelector:r,unmaskTextSelector:a,maskTextFn:o,maskInputOptions:c,maskInputFn:l,rootId:d}=t,u=e.parentNode&&e.parentNode.tagName;let p=e.textContent;const f="STYLE"===u||void 0,h="SCRIPT"===u||void 0,m="TEXTAREA"===u||void 0;if(f&&p){try{e.nextSibling||e.previousSibling||F_([e,"access",e=>e.parentNode,"access",e=>e.sheet,"optionalAccess",e=>e.cssRules])&&(p=M_(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}p=sw(p,lw())}h&&(p="SCRIPT_PLACEHOLDER");const g=hw(e,i,r,s,a,n);f||h||m||!p||!g||(p=o?o(p):p.replace(/[\S]/g,"*"));m&&p&&(c.textarea||g)&&(p=l?l(p,e.parentNode):p.replace(/[\S]/g,"*"));if("OPTION"===u&&p){p=B_({isMasked:hw(e,i,r,s,a,z_({type:null,tagName:u,maskInputOptions:c})),element:e,value:p,maskInputFn:l})}return{type:j_.Text,textContent:p||"",isStyle:f,rootId:d}}(e,{maskAllText:o,maskTextClass:l,unmaskTextClass:d,maskTextSelector:u,unmaskTextSelector:p,maskTextFn:m,maskInputOptions:h,maskInputFn:g,rootId:I});case e.CDATA_SECTION_NODE:return{type:j_.CDATA,textContent:"",rootId:I};case e.COMMENT_NODE:return{type:j_.Comment,textContent:e.textContent||"",rootId:I};default:return!1}}function gw(e){return null==e?"":e.toLowerCase()}function yw(e,t){const{doc:n,mirror:i,blockClass:s,blockSelector:r,unblockSelector:a,maskAllText:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:p=!1,inlineStylesheet:f=!0,maskInputOptions:h={},maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b={},inlineImages:_=!1,recordCanvas:w=!1,onSerialize:I,onIframeLoad:x,iframeLoadTimeout:E=5e3,onStylesheetLoad:S,stylesheetLoadTimeout:A=5e3,keepIframeSrcFn:k=(()=>!1),newlyAddedElement:T=!1}=t;let{preserveWhiteSpace:R=!0}=t;const C=mw(e,{doc:n,mirror:i,blockClass:s,blockSelector:r,maskAllText:o,unblockSelector:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,dataURLOptions:b,inlineImages:_,recordCanvas:w,keepIframeSrcFn:k,newlyAddedElement:T});if(!C)return console.warn(e,"not serialized"),null;let L;L=i.hasNode(e)?i.getId(e):!function(e,t){if(t.comment&&e.type===j_.Comment)return!0;if(e.type===j_.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(gw(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===gw(e.attributes.name)||"icon"===gw(e.attributes.rel)||"apple-touch-icon"===gw(e.attributes.rel)||"shortcut icon"===gw(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&gw(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(gw(e.attributes.property).match(/^(og|twitter|fb):/)||gw(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===gw(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===gw(e.attributes.name)||"googlebot"===gw(e.attributes.name)||"bingbot"===gw(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===gw(e.attributes.name)||"generator"===gw(e.attributes.name)||"framework"===gw(e.attributes.name)||"publisher"===gw(e.attributes.name)||"progid"===gw(e.attributes.name)||gw(e.attributes.property).match(/^article:/)||gw(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===gw(e.attributes.name)||"yandex-verification"===gw(e.attributes.name)||"csrf-token"===gw(e.attributes.name)||"p:domain_verify"===gw(e.attributes.name)||"verify-v1"===gw(e.attributes.name)||"verification"===gw(e.attributes.name)||"shopify-checkout-api-token"===gw(e.attributes.name)))return!0}}return!1}(C,v)&&(R||C.type!==j_.Text||C.isStyle||C.textContent.replace(/^\s+|\s+$/gm,"").length)?X_():J_;const O=Object.assign(C,{id:L});if(i.add(e,O),L===J_)return null;I&&I(e);let N=!p;if(O.type===j_.Element){N=N&&!O.needBlock,delete O.needBlock;const t=e.shadowRoot;t&&U_(t)&&(O.isShadowHost=!0)}if((O.type===j_.Document||O.type===j_.Element)&&N){v.headWhitespace&&O.type===j_.Element&&"head"===O.tagName&&(R=!1);const t={doc:n,mirror:i,blockClass:s,blockSelector:r,maskAllText:o,unblockSelector:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:p,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:R,onSerialize:I,onIframeLoad:x,iframeLoadTimeout:E,onStylesheetLoad:S,stylesheetLoadTimeout:A,keepIframeSrcFn:k};for(const n of Array.from(e.childNodes)){const e=yw(n,t);e&&O.childNodes.push(e)}if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const i=yw(n,t);i&&(U_(e.shadowRoot)&&(i.isShadow=!0),O.childNodes.push(i))}}return e.parentNode&&P_(e.parentNode)&&U_(e.parentNode)&&(O.isShadow=!0),O.type===j_.Element&&"iframe"===O.tagName&&function(e,t,n){const i=e.contentWindow;if(!i)return;let s,r=!1;try{s=i.document.readyState}catch(e){return}if("complete"!==s){const i=setTimeout((()=>{r||(t(),r=!0)}),n);return void e.addEventListener("load",(()=>{clearTimeout(i),r=!0,t()}))}const a="about:blank";if(i.location.href!==a||e.src===a||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,(()=>{const t=e.contentDocument;if(t&&x){const n=yw(t,{doc:t,mirror:i,blockClass:s,blockSelector:r,unblockSelector:a,maskAllText:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:R,onSerialize:I,onIframeLoad:x,iframeLoadTimeout:E,onStylesheetLoad:S,stylesheetLoadTimeout:A,keepIframeSrcFn:k});n&&x(e,n)}}),E),O.type===j_.Element&&"link"===O.tagName&&"stylesheet"===O.attributes.rel&&function(e,t,n){let i,s=!1;try{i=e.sheet}catch(e){return}if(i)return;const r=setTimeout((()=>{s||(t(),s=!0)}),n);e.addEventListener("load",(()=>{clearTimeout(r),s=!0,t()}))}(e,(()=>{if(S){const t=yw(e,{doc:n,mirror:i,blockClass:s,blockSelector:r,unblockSelector:a,maskAllText:o,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:f,maskInputOptions:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:v,dataURLOptions:b,inlineImages:_,recordCanvas:w,preserveWhiteSpace:R,onSerialize:I,onIframeLoad:x,iframeLoadTimeout:E,onStylesheetLoad:S,stylesheetLoadTimeout:A,keepIframeSrcFn:k});t&&S(e,t)}}),A),O}function vw(e){let t,n=e[0],i=1;for(;i<e.length;){const s=e[i],r=e[i+1];if(i+=2,("optionalAccess"===s||"optionalCall"===s)&&null==n)return;"access"===s||"optionalAccess"===s?(t=n,n=r(n)):"call"!==s&&"optionalCall"!==s||(n=r(((...e)=>n.call(t,...e))),t=void 0)}return n}function bw(e,t,n=document){const i={capture:!0,passive:!0};return n.addEventListener(e,t,i),()=>n.removeEventListener(e,t,i)}const _w="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let ww={map:{},getId:()=>(console.error(_w),-1),getNode:()=>(console.error(_w),null),removeNodeFromMap(){console.error(_w)},has:()=>(console.error(_w),!1),reset(){console.error(_w)}};function Iw(e,t,n={}){let i=null,s=0;return function(...r){const a=Date.now();s||!1!==n.leading||(s=a);const o=t-(a-s),c=this;o<=0||o>t?(i&&(clearTimeout(i),i=null),s=a,e.apply(c,r)):i||!1===n.trailing||(i=setTimeout((()=>{s=!1===n.leading?0:Date.now(),i=null,e.apply(c,r)}),o))}}function xw(e,t,n,i,s=window){const r=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,i?n:{set(e){setTimeout((()=>{n.set.call(this,e)}),0),r&&r.set&&r.set.call(this,e)}}),()=>xw(e,t,r||{},!0)}function Ew(e,t,n){try{if(!(t in e))return()=>{};const i=e[t],s=n(i);return"function"==typeof s&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:i}})),e[t]=s,()=>{e[t]=i}}catch(e){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(ww=new Proxy(ww,{get:(e,t,n)=>("map"===t&&console.error(_w),Reflect.get(e,t,n))}));let Sw,Aw=Date.now;function kw(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:vw([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollLeft])||vw([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollLeft])||vw([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollLeft])||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:vw([t,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollTop])||vw([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollTop])||vw([t,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollTop])||0}}function Tw(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Rw(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Cw(e,t,n,i,s){if(!e)return!1;const r=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(!r)return!1;const a=fw(t,n);if(!s){const e=i&&r.matches(i);return a(r)&&!e}const o=pw(r,a);let c=-1;return!(o<0)&&(i&&(c=pw(r,fw(null,i))),o>-1&&c<0||o<c)}function Lw(e,t){return t.getId(e)===J_}function Ow(e,t){if(P_(e))return!1;const n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||Ow(e.parentNode,t))}function Nw(e){return Boolean(e.changedTouches)}function Fw(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function jw(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function Pw(e){return Boolean(vw([e,"optionalAccess",e=>e.shadowRoot]))}/[1-9][0-9]{12}/.test(Date.now().toString())||(Aw=()=>(new Date).getTime());class Uw{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return t=this.styleIDMap.get(e),n=()=>-1,null!=t?t:n();var t,n}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function Mw(e){let t=null;return vw([e,"access",e=>e.getRootNode,"optionalCall",e=>e(),"optionalAccess",e=>e.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function Dw(e){const t=e.ownerDocument;if(!t)return!1;const n=function(e){let t,n=e;for(;t=Mw(n);)n=t;return n}(e);return t.contains(n)}function $w(e){const t=e.ownerDocument;return!!t&&(t.contains(e)||Dw(e))}function zw(...e){return function(){if(Sw)return Sw;const e=window.document;let t=window.requestAnimationFrame;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const i=n.contentWindow;i&&i.requestAnimationFrame&&(t=i.requestAnimationFrame),e.head.removeChild(n)}catch(e){}return Sw=t.bind(window)}()(...e)}var Bw=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(Bw||{}),qw=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(qw||{}),Vw=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Vw||{}),Hw=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(Hw||{});function Ww(e){let t,n=e[0],i=1;for(;i<e.length;){const s=e[i],r=e[i+1];if(i+=2,("optionalAccess"===s||"optionalCall"===s)&&null==n)return;"access"===s||"optionalAccess"===s?(t=n,n=r(n)):"call"!==s&&"optionalCall"!==s||(n=r(((...e)=>n.call(t,...e))),t=void 0)}return n}function Yw(e){return"__ln"in e}class Kw{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=Ww([t,"optionalAccess",e=>e.next])||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&Yw(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&Yw(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){const t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const Gw=(e,t)=>`${e}@${t}`;class Jw{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,n=new Kw,i=e=>{let t=e,n=J_;for(;n===J_;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},s=s=>{if(!s.parentNode||!$w(s))return;const r=P_(s.parentNode)?this.mirror.getId(Mw(s)):this.mirror.getId(s.parentNode),a=i(s);if(-1===r||-1===a)return n.addNode(s);const o=yw(s,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{Fw(e,this.mirror)&&this.iframeManager.addIframe(e),jw(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),Pw(s)&&this.shadowDomManager.addShadowRoot(s.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)}});o&&(e.push({parentId:r,nextId:a,node:o}),t.add(o.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const e of this.movedSet)Qw(this.removes,e,this.mirror)&&!this.movedSet.has(e.parentNode)||s(e);for(const e of this.addedSet)eI(this.droppedSet,e)||Qw(this.removes,e,this.mirror)?eI(this.movedSet,e)?s(e):this.droppedSet.add(e):s(e);let r=null;for(;n.length;){let e=null;if(r){const t=this.mirror.getId(r.value.parentNode),n=i(r.value);-1!==t&&-1!==n&&(e=r)}if(!e){let t=n.tail;for(;t;){const n=t;if(t=t.previous,n){const t=this.mirror.getId(n.value.parentNode);if(-1===i(n.value))continue;if(-1!==t){e=n;break}{const t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const i=t.parentNode.host;if(-1!==this.mirror.getId(i)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}r=e.previous,n.removeNode(e.value),s(e.value)}const a={texts:this.texts.map((e=>({id:this.mirror.getId(e.node),value:e.value}))).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>{const{attributes:t}=e;if("string"==typeof t.style){const n=JSON.stringify(e.styleDiff),i=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+i).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(a.texts.length||a.attributes.length||a.removes.length||a.adds.length)&&(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=e=>{if(Lw(e.target,this.mirror))return;let t;try{t=document.implementation.createHTMLDocument()}catch(e){t=this.doc}switch(e.type){case"characterData":{const t=e.target.textContent;Cw(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:hw(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const n=e.target;let i=e.attributeName,s=e.target.getAttribute(i);if("value"===i){const t=W_(n),i=n.tagName;s=Y_(n,i,t);const r=z_({maskInputOptions:this.maskInputOptions,tagName:i,type:t});s=B_({isMasked:hw(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,r),element:n,value:s,maskInputFn:this.maskInputFn})}if(Cw(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||s===e.oldValue)return;let r=this.attributes.find((t=>t.node===e.target));if("IFRAME"===n.tagName&&"src"===i&&!this.keepIframeSrcFn(s)){if(n.contentDocument)return;i="rr_src"}if(r||(r={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(r)),"type"===i&&"INPUT"===n.tagName&&"password"===(e.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!uw(n.tagName,i)&&(r.attributes[i]=dw(this.doc,q_(n.tagName),q_(i),s,n,this.maskAttributeFn),"style"===i)){const i=t.createElement("span");e.oldValue&&i.setAttribute("style",e.oldValue);for(const e of Array.from(n.style)){const t=n.style.getPropertyValue(e),s=n.style.getPropertyPriority(e);t!==i.style.getPropertyValue(e)||s!==i.style.getPropertyPriority(e)?r.styleDiff[e]=""===s?t:[t,s]:r._unchangedStyles[e]=[t,s]}for(const e of Array.from(i.style))""===n.style.getPropertyValue(e)&&(r.styleDiff[e]=!1)}break}case"childList":if(Cw(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{const n=this.mirror.getId(t),i=P_(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);Cw(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||Lw(t,this.mirror)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(Xw(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||Ow(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Gw(n,i)]?Xw(this.movedSet,t):this.removes.push({parentId:i,id:n,isShadow:!(!P_(e.target)||!U_(e.target))||void 0})),this.mapRemoves.push(t))}))}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(Lw(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[Gw(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);Cw(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes.forEach((e=>this.genAdds(e))),Pw(e)&&e.shadowRoot.childNodes.forEach((t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)})))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((t=>{this[t]=e[t]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function Xw(e,t){e.delete(t),t.childNodes.forEach((t=>Xw(e,t)))}function Qw(e,t,n){return 0!==e.length&&Zw(e,t,n)}function Zw(e,t,n){const{parentNode:i}=t;if(!i)return!1;const s=n.getId(i);return!!e.some((e=>e.id===s))||Zw(e,i,n)}function eI(e,t){return 0!==e.size&&tI(e,t)}function tI(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||tI(e,n))}let nI;function iI(e){nI=e}function sI(){nI=void 0}const rI=e=>{if(!nI)return e;return(...t)=>{try{return e(...t)}catch(e){if(nI&&!0===nI(e))return()=>{};throw e}}};function aI(e){let t,n=e[0],i=1;for(;i<e.length;){const s=e[i],r=e[i+1];if(i+=2,("optionalAccess"===s||"optionalCall"===s)&&null==n)return;"access"===s||"optionalAccess"===s?(t=n,n=r(n)):"call"!==s&&"optionalCall"!==s||(n=r(((...e)=>n.call(t,...e))),t=void 0)}return n}const oI=[];function cI(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function lI(e,t){const n=new Jw;oI.push(n),n.init(e);let i=window.MutationObserver||window.__rrMutationObserver;const s=aI([window,"optionalAccess",e=>e.Zone,"optionalAccess",e=>e.__symbol__,"optionalCall",e=>e("MutationObserver")]);s&&window[s]&&(i=window[s]);const r=new i(rI((t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)})));return r.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),r}function dI({mouseInteractionCb:e,doc:t,mirror:n,blockClass:i,blockSelector:s,unblockSelector:r,sampling:a}){if(!1===a.mouseInteraction)return()=>{};const o=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,c=[];let l=null;return Object.keys(Vw).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==o[e])).forEach((a=>{let o=q_(a);const d=(t=>a=>{const o=cI(a);if(Cw(o,i,s,r,!0))return;let c=null,d=t;if("pointerType"in a){switch(a.pointerType){case"mouse":c=Hw.Mouse;break;case"touch":c=Hw.Touch;break;case"pen":c=Hw.Pen}c===Hw.Touch?Vw[t]===Vw.MouseDown?d="TouchStart":Vw[t]===Vw.MouseUp&&(d="TouchEnd"):Hw.Pen}else Nw(a)&&(c=Hw.Touch);null!==c?(l=c,(d.startsWith("Touch")&&c===Hw.Touch||d.startsWith("Mouse")&&c===Hw.Mouse)&&(c=null)):Vw[t]===Vw.Click&&(c=l,l=null);const u=Nw(a)?a.changedTouches[0]:a;if(!u)return;const p=n.getId(o),{clientX:f,clientY:h}=u;rI(e)({type:Vw[d],id:p,x:f,y:h,...null!==c&&{pointerType:c}})})(a);if(window.PointerEvent)switch(Vw[a]){case Vw.MouseDown:case Vw.MouseUp:o=o.replace("mouse","pointer");break;case Vw.TouchStart:case Vw.TouchEnd:return}c.push(bw(o,d,t))})),rI((()=>{c.forEach((e=>e()))}))}function uI({scrollCb:e,doc:t,mirror:n,blockClass:i,blockSelector:s,unblockSelector:r,sampling:a}){return bw("scroll",rI(Iw(rI((a=>{const o=cI(a);if(!o||Cw(o,i,s,r,!0))return;const c=n.getId(o);if(o===t&&t.defaultView){const n=kw(t.defaultView);e({id:c,x:n.left,y:n.top})}else e({id:c,x:o.scrollLeft,y:o.scrollTop})})),a.scroll||100)),t)}const pI=["INPUT","TEXTAREA","SELECT"],fI=new WeakMap;function hI({inputCb:e,doc:t,mirror:n,blockClass:i,blockSelector:s,unblockSelector:r,ignoreClass:a,ignoreSelector:o,maskInputOptions:c,maskInputFn:l,sampling:d,userTriggeredOnInput:u,maskTextClass:p,unmaskTextClass:f,maskTextSelector:h,unmaskTextSelector:m}){function g(e){let n=cI(e);const d=e.isTrusted,g=n&&V_(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||pI.indexOf(g)<0||Cw(n,i,s,r,!0))return;const v=n;if(v.classList.contains(a)||o&&v.matches(o))return;const b=W_(n);let _=Y_(v,g,b),w=!1;const I=z_({maskInputOptions:c,tagName:g,type:b}),x=hw(n,p,h,f,m,I);"radio"!==b&&"checkbox"!==b||(w=n.checked),_=B_({isMasked:x,element:n,value:_,maskInputFn:l}),y(n,u?{text:_,isChecked:w,userTriggered:d}:{text:_,isChecked:w});const E=n.name;"radio"===b&&E&&w&&t.querySelectorAll(`input[type="radio"][name="${E}"]`).forEach((e=>{if(e!==n){const t=B_({isMasked:x,element:e,value:Y_(e,g,b),maskInputFn:l});y(e,u?{text:t,isChecked:!w,userTriggered:!1}:{text:t,isChecked:!w})}}))}function y(t,i){const s=fI.get(t);if(!s||s.text!==i.text||s.isChecked!==i.isChecked){fI.set(t,i);const s=n.getId(t);rI(e)({...i,id:s})}}const v=("last"===d.input?["change"]:["input","change"]).map((e=>bw(e,rI(g),t))),b=t.defaultView;if(!b)return()=>{v.forEach((e=>e()))};const _=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),w=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return _&&_.set&&v.push(...w.map((e=>xw(e[0],e[1],{set(){rI(g)({target:this,isTrusted:!1})}},!1,b)))),rI((()=>{v.forEach((e=>e()))}))}function mI(e){return function(e,t){if(bI("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||bI("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||bI("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||bI("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function gI(e,t,n){let i,s;return e?(e.ownerNode?i=t.getId(e.ownerNode):s=n.getId(e),{styleId:s,id:i}):{}}function yI({mirror:e,stylesheetManager:t},n){let i=null;i="#document"===n.nodeName?e.getId(n):e.getId(n.host);const s="#document"===n.nodeName?aI([n,"access",e=>e.defaultView,"optionalAccess",e=>e.Document]):aI([n,"access",e=>e.ownerDocument,"optionalAccess",e=>e.defaultView,"optionalAccess",e=>e.ShadowRoot]),r=aI([s,"optionalAccess",e=>e.prototype])?Object.getOwnPropertyDescriptor(aI([s,"optionalAccess",e=>e.prototype]),"adoptedStyleSheets"):void 0;return null!==i&&-1!==i&&s&&r?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:r.configurable,enumerable:r.enumerable,get(){return aI([r,"access",e=>e.get,"optionalAccess",e=>e.call,"call",e=>e(this)])},set(e){const n=aI([r,"access",e=>e.set,"optionalAccess",e=>e.call,"call",t=>t(this,e)]);if(null!==i&&-1!==i)try{t.adoptStyleSheets(e,i)}catch(e){}return n}}),rI((()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:r.configurable,enumerable:r.enumerable,get:r.get,set:r.set})}))):()=>{}}function vI(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};const i=lI(e,e.doc),s=function({mousemoveCb:e,sampling:t,doc:n,mirror:i}){if(!1===t.mousemove)return()=>{};const s="number"==typeof t.mousemove?t.mousemove:50,r="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let a,o=[];const c=Iw(rI((t=>{const n=Date.now()-a;e(o.map((e=>(e.timeOffset-=n,e))),t),o=[],a=null})),r),l=rI(Iw(rI((e=>{const t=cI(e),{clientX:n,clientY:s}=Nw(e)?e.changedTouches[0]:e;a||(a=Aw()),o.push({x:n,y:s,id:i.getId(t),timeOffset:Aw()-a}),c("undefined"!=typeof DragEvent&&e instanceof DragEvent?qw.Drag:e instanceof MouseEvent?qw.MouseMove:qw.TouchMove)})),s,{trailing:!1})),d=[bw("mousemove",l,n),bw("touchmove",l,n),bw("drag",l,n)];return rI((()=>{d.forEach((e=>e()))}))}(e),r=dI(e),a=uI(e),o=function({viewportResizeCb:e},{win:t}){let n=-1,i=-1;return bw("resize",rI(Iw(rI((()=>{const t=Tw(),s=Rw();n===t&&i===s||(e({width:Number(s),height:Number(t)}),n=t,i=s)})),200)),t)}(e,{win:n}),c=hI(e),l=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:i,mirror:s,sampling:r,doc:a}){const o=rI((a=>Iw(rI((r=>{const o=cI(r);if(!o||Cw(o,t,n,i,!0))return;const{currentTime:c,volume:l,muted:d,playbackRate:u}=o;e({type:a,id:s.getId(o),currentTime:c,volume:l,muted:d,playbackRate:u})})),r.media||500))),c=[bw("play",o(0),a),bw("pause",o(1),a),bw("seeked",o(2),a),bw("volumechange",o(3),a),bw("ratechange",o(4),a)];return rI((()=>{c.forEach((e=>e()))}))}(e),d=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:i}){if(!i.CSSStyleSheet||!i.CSSStyleSheet.prototype)return()=>{};const s=i.CSSStyleSheet.prototype.insertRule;i.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:rI(((i,s,r)=>{const[a,o]=r,{id:c,styleId:l}=gI(s,t,n.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,adds:[{rule:a,index:o}]}),i.apply(s,r)}))});const r=i.CSSStyleSheet.prototype.deleteRule;let a,o;i.CSSStyleSheet.prototype.deleteRule=new Proxy(r,{apply:rI(((i,s,r)=>{const[a]=r,{id:o,styleId:c}=gI(s,t,n.styleMirror);return(o&&-1!==o||c&&-1!==c)&&e({id:o,styleId:c,removes:[{index:a}]}),i.apply(s,r)}))}),i.CSSStyleSheet.prototype.replace&&(a=i.CSSStyleSheet.prototype.replace,i.CSSStyleSheet.prototype.replace=new Proxy(a,{apply:rI(((i,s,r)=>{const[a]=r,{id:o,styleId:c}=gI(s,t,n.styleMirror);return(o&&-1!==o||c&&-1!==c)&&e({id:o,styleId:c,replace:a}),i.apply(s,r)}))})),i.CSSStyleSheet.prototype.replaceSync&&(o=i.CSSStyleSheet.prototype.replaceSync,i.CSSStyleSheet.prototype.replaceSync=new Proxy(o,{apply:rI(((i,s,r)=>{const[a]=r,{id:o,styleId:c}=gI(s,t,n.styleMirror);return(o&&-1!==o||c&&-1!==c)&&e({id:o,styleId:c,replaceSync:a}),i.apply(s,r)}))}));const c={};_I("CSSGroupingRule")?c.CSSGroupingRule=i.CSSGroupingRule:(_I("CSSMediaRule")&&(c.CSSMediaRule=i.CSSMediaRule),_I("CSSConditionRule")&&(c.CSSConditionRule=i.CSSConditionRule),_I("CSSSupportsRule")&&(c.CSSSupportsRule=i.CSSSupportsRule));const l={};return Object.entries(c).forEach((([i,s])=>{l[i]={insertRule:s.prototype.insertRule,deleteRule:s.prototype.deleteRule},s.prototype.insertRule=new Proxy(l[i].insertRule,{apply:rI(((i,s,r)=>{const[a,o]=r,{id:c,styleId:l}=gI(s.parentStyleSheet,t,n.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,adds:[{rule:a,index:[...mI(s),o||0]}]}),i.apply(s,r)}))}),s.prototype.deleteRule=new Proxy(l[i].deleteRule,{apply:rI(((i,s,r)=>{const[a]=r,{id:o,styleId:c}=gI(s.parentStyleSheet,t,n.styleMirror);return(o&&-1!==o||c&&-1!==c)&&e({id:o,styleId:c,removes:[{index:[...mI(s),a]}]}),i.apply(s,r)}))})})),rI((()=>{i.CSSStyleSheet.prototype.insertRule=s,i.CSSStyleSheet.prototype.deleteRule=r,a&&(i.CSSStyleSheet.prototype.replace=a),o&&(i.CSSStyleSheet.prototype.replaceSync=o),Object.entries(c).forEach((([e,t])=>{t.prototype.insertRule=l[e].insertRule,t.prototype.deleteRule=l[e].deleteRule}))}))}(e,{win:n}),u=yI(e,e.doc),p=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:i},{win:s}){const r=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(r,{apply:rI(((s,a,o)=>{const[c,l,d]=o;if(n.has(c))return r.apply(a,[c,l,d]);const{id:u,styleId:p}=gI(aI([a,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,i.styleMirror);return(u&&-1!==u||p&&-1!==p)&&e({id:u,styleId:p,set:{property:c,value:l,priority:d},index:mI(a.parentRule)}),s.apply(a,o)}))});const a=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(a,{apply:rI(((s,r,o)=>{const[c]=o;if(n.has(c))return a.apply(r,[c]);const{id:l,styleId:d}=gI(aI([r,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),t,i.styleMirror);return(l&&-1!==l||d&&-1!==d)&&e({id:l,styleId:d,remove:{property:c},index:mI(r.parentRule)}),s.apply(r,o)}))}),rI((()=>{s.CSSStyleDeclaration.prototype.setProperty=r,s.CSSStyleDeclaration.prototype.removeProperty=a}))}(e,{win:n}),f=e.collectFonts?function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const i=[],s=new WeakMap,r=n.FontFace;n.FontFace=function(e,t,n){const i=new r(e,t,n);return s.set(i,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),i};const a=Ew(t.fonts,"add",(function(t){return function(n){return setTimeout(rI((()=>{const t=s.get(n);t&&(e(t),s.delete(n))})),0),t.apply(this,[n])}}));return i.push((()=>{n.FontFace=r})),i.push(a),rI((()=>{i.forEach((e=>e()))}))}(e):()=>{},h=function(e){const{doc:t,mirror:n,blockClass:i,blockSelector:s,unblockSelector:r,selectionCb:a}=e;let o=!0;const c=rI((()=>{const e=t.getSelection();if(!e||o&&aI([e,"optionalAccess",e=>e.isCollapsed]))return;o=e.isCollapsed||!1;const c=[],l=e.rangeCount||0;for(let t=0;t<l;t++){const a=e.getRangeAt(t),{startContainer:o,startOffset:l,endContainer:d,endOffset:u}=a;Cw(o,i,s,r,!0)||Cw(d,i,s,r,!0)||c.push({start:n.getId(o),startOffset:l,end:n.getId(d),endOffset:u})}a({ranges:c})}));return c(),bw("selectionchange",c)}(e),m=function({doc:e,customElementCb:t}){const n=e.defaultView;if(!n||!n.customElements)return()=>{};const i=Ew(n.customElements,"define",(function(e){return function(n,i,s){try{t({define:{name:n}})}catch(e){}return e.apply(this,[n,i,s])}}));return i}(e),g=[];for(const t of e.plugins)g.push(t.observer(t.callback,n,t.options));return rI((()=>{oI.forEach((e=>e.reset())),i.disconnect(),s(),r(),a(),o(),c(),l(),d(),u(),p(),f(),h(),m(),g.forEach((e=>e()))}))}function bI(e){return void 0!==window[e]}function _I(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class wI{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,i){const s=n||this.getIdToRemoteIdMap(e),r=i||this.getRemoteIdToIdMap(e);let a=s.get(t);return a||(a=this.generateIdFn(),s.set(t,a),r.set(a,t)),a}getIds(e,t){const n=this.getIdToRemoteIdMap(e),i=this.getRemoteIdToIdMap(e);return t.map((t=>this.getId(e,t,n,i)))}getRemoteId(e,t,n){const i=n||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;const s=i.get(t);return s||-1}getRemoteIds(e,t){const n=this.getRemoteIdToIdMap(e);return t.map((t=>this.getRemoteId(e,t,n)))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}function II(e){let t,n=e[0],i=1;for(;i<e.length;){const s=e[i],r=e[i+1];if(i+=2,("optionalAccess"===s||"optionalCall"===s)&&null==n)return;"access"===s||"optionalAccess"===s?(t=n,n=r(n)):"call"!==s&&"optionalCall"!==s||(n=r(((...e)=>n.call(t,...e))),t=void 0)}return n}class xI{constructor(){this.crossOriginIframeMirror=new wI(X_),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class EI{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new wI(X_),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new wI(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),II([this,"access",e=>e.loadListener,"optionalCall",t=>t(e)]),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){const t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin)return;if(!e.source)return;const n=this.crossOriginIframeMap.get(e.source);if(!n)return;const i=this.transformCrossOriginEvent(n,t.data.event);i&&this.wrappedEmit(i,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case Bw.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);const n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:Bw.IncrementalSnapshot,data:{source:qw.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case Bw.Meta:case Bw.Load:case Bw.DomContentLoaded:return!1;case Bw.Plugin:return t;case Bw.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case Bw.IncrementalSnapshot:switch(t.data.source){case qw.Mutation:return t.data.adds.forEach((t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);const n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)})),t.data.removes.forEach((t=>{this.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((t=>{this.replaceIds(t,e,["id"])})),t.data.texts.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case qw.Drag:case qw.TouchMove:case qw.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case qw.ViewportResize:return!1;case qw.MediaInteraction:case qw.MouseInteraction:case qw.Scroll:case qw.CanvasMutation:case qw.Input:return this.replaceIds(t.data,e,["id"]),t;case qw.StyleSheetRule:case qw.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case qw.Font:return t;case qw.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case qw.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),II([t,"access",e=>e.data,"access",e=>e.styles,"optionalAccess",e=>e.forEach,"call",t=>t((t=>{this.replaceStyleIds(t,e,["styleId"])}))]),t}}return!1}replace(e,t,n,i){for(const s of i)(Array.isArray(t[s])||"number"==typeof t[s])&&(Array.isArray(t[s])?t[s]=e.getIds(n,t[s]):t[s]=e.getId(n,t[s]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach((e=>{this.replaceIdOnNode(e,t)}))}patchRootIdOnNode(e,t){e.type===j_.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((e=>{this.patchRootIdOnNode(e,t)}))}}class SI{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class AI{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!U_(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e);const n=lI({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push((()=>n.disconnect())),this.restoreHandlers.push(uI({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),setTimeout((()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(yI({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))}),0)}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){const n=this;this.restoreHandlers.push(Ew(e.prototype,"attachShadow",(function(e){return function(i){const s=e.call(this,i);return this.shadowRoot&&$w(this)&&n.addShadowRoot(this.shadowRoot,t),s}})))}reset(){this.restoreHandlers.forEach((e=>{try{e()}catch(e){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}class kI{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}}class TI{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new Uw,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;const n={id:t,styleIds:[]},i=[];for(const t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),i.push({styleId:e,rules:Array.from(t.rules||CSSRule,((e,t)=>({rule:D_(e),index:t})))})),n.styleIds.push(e)}i.length>0&&(n.styles=i),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class RI{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){zw((()=>{this.clear(),this.loop&&this.periodicallyClear()}))}inOtherBuffer(e,t){const n=this.nodeMap.get(e);return n&&Array.from(n).some((e=>e!==t))}add(e,t){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}function CI(e){const t=e;return t.timestamp=Aw(),t}let LI;const OI=new $_;function NI(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:i,blockClass:s="rr-block",blockSelector:r=null,unblockSelector:a=null,ignoreClass:o="rr-ignore",ignoreSelector:c=null,maskAllText:l=!1,maskTextClass:d="rr-mask",unmaskTextClass:u=null,maskTextSelector:p=null,unmaskTextSelector:f=null,inlineStylesheet:h=!0,maskAllInputs:m,maskInputOptions:g,slimDOMOptions:y,maskAttributeFn:v,maskInputFn:b,maskTextFn:_,packFn:w,sampling:I={},dataURLOptions:x={},mousemoveWait:E,recordCanvas:S=!1,recordCrossOriginIframes:A=!1,recordAfter:k=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:T=!1,collectFonts:R=!1,inlineImages:C=!1,plugins:L,keepIframeSrcFn:O=(()=>!1),ignoreCSSAttributes:N=new Set([]),errorHandler:F,onMutation:j,getCanvasManager:P}=e;iI(F);const U=!A||window.parent===window;let M=!1;if(!U)try{window.parent.document&&(M=!1)}catch(e){M=!0}if(U&&!t)throw new Error("emit function is required");void 0!==E&&void 0===I.mousemove&&(I.mousemove=E),OI.reset();const D=!0===m?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==g?g:{},$=!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===y,headMetaDescKeywords:"all"===y}:y||{};let z;!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}();let B=0;const q=e=>{for(const t of L||[])t.eventProcessor&&(e=t.eventProcessor(e));return w&&!M&&(e=w(e)),e},V=(e,s)=>{if(!Ab([oI,"access",e=>e[0],"optionalAccess",e=>e.isFrozen,"call",e=>e()])||e.type===Bw.FullSnapshot||e.type===Bw.IncrementalSnapshot&&e.data.source===qw.Mutation||oI.forEach((e=>e.unfreeze())),U)Ab([t,"optionalCall",t=>t(q(e),s)]);else if(M){const t={type:"rrweb",event:q(e),origin:window.location.origin,isCheckout:s};window.parent.postMessage(t,"*")}if(e.type===Bw.FullSnapshot)z=e,B=0;else if(e.type===Bw.IncrementalSnapshot){if(e.data.source===qw.Mutation&&e.data.isAttachIframe)return;B++;const t=i&&B>=i,s=n&&e.timestamp-z.timestamp>n;(t||s)&&Z(!0)}},H=e=>{V(CI({type:Bw.IncrementalSnapshot,data:{source:qw.Mutation,...e}}))},W=e=>V(CI({type:Bw.IncrementalSnapshot,data:{source:qw.Scroll,...e}})),Y=e=>V(CI({type:Bw.IncrementalSnapshot,data:{source:qw.CanvasMutation,...e}})),K=new TI({mutationCb:H,adoptedStyleSheetCb:e=>V(CI({type:Bw.IncrementalSnapshot,data:{source:qw.AdoptedStyleSheet,...e}}))}),G="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new xI:new EI({mirror:OI,mutationCb:H,stylesheetManager:K,recordCrossOriginIframes:A,wrappedEmit:V});for(const e of L||[])e.getMirror&&e.getMirror({nodeMirror:OI,crossOriginIframeMirror:G.crossOriginIframeMirror,crossOriginIframeStyleMirror:G.crossOriginIframeStyleMirror});const J=new RI,X=function(e,t){try{return e?e(t):new kI}catch(e){return console.warn("Unable to initialize CanvasManager"),new kI}}(P,{mirror:OI,win:window,mutationCb:e=>V(CI({type:Bw.IncrementalSnapshot,data:{source:qw.CanvasMutation,...e}})),recordCanvas:S,blockClass:s,blockSelector:r,unblockSelector:a,sampling:I.canvas,dataURLOptions:x,errorHandler:F}),Q="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new SI:new AI({mutationCb:H,scrollCb:W,bypassOptions:{onMutation:j,blockClass:s,blockSelector:r,unblockSelector:a,maskAllText:l,maskTextClass:d,unmaskTextClass:u,maskTextSelector:p,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:D,dataURLOptions:x,maskAttributeFn:v,maskTextFn:_,maskInputFn:b,recordCanvas:S,inlineImages:C,sampling:I,slimDOMOptions:$,iframeManager:G,stylesheetManager:K,canvasManager:X,keepIframeSrcFn:O,processedNodeManager:J},mirror:OI}),Z=(e=!1)=>{V(CI({type:Bw.Meta,data:{href:window.location.href,width:Rw(),height:Tw()}}),e),K.reset(),Q.init(),oI.forEach((e=>e.lock()));const t=function(e,t){const{mirror:n=new $_,blockClass:i="rr-block",blockSelector:s=null,unblockSelector:r=null,maskAllText:a=!1,maskTextClass:o="rr-mask",unmaskTextClass:c=null,maskTextSelector:l=null,unmaskTextSelector:d=null,inlineStylesheet:u=!0,inlineImages:p=!1,recordCanvas:f=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOM:v=!1,dataURLOptions:b,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:I,iframeLoadTimeout:x,onStylesheetLoad:E,stylesheetLoadTimeout:S,keepIframeSrcFn:A=(()=>!1)}=t||{};return yw(e,{doc:e,mirror:n,blockClass:i,blockSelector:s,unblockSelector:r,maskAllText:a,maskTextClass:o,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:u,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===h?{}:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:!0===v||"all"===v?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===v,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===v?{}:v,dataURLOptions:b,inlineImages:p,recordCanvas:f,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:I,iframeLoadTimeout:x,onStylesheetLoad:E,stylesheetLoadTimeout:S,keepIframeSrcFn:A,newlyAddedElement:!1})}(document,{mirror:OI,blockClass:s,blockSelector:r,unblockSelector:a,maskAllText:l,maskTextClass:d,unmaskTextClass:u,maskTextSelector:p,unmaskTextSelector:f,inlineStylesheet:h,maskAllInputs:D,maskAttributeFn:v,maskInputFn:b,maskTextFn:_,slimDOM:$,dataURLOptions:x,recordCanvas:S,inlineImages:C,onSerialize:e=>{Fw(e,OI)&&G.addIframe(e),jw(e,OI)&&K.trackLinkElement(e),Pw(e)&&Q.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{G.attachIframe(e,t),Q.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{K.attachLinkElement(e,t)},keepIframeSrcFn:O});if(!t)return console.warn("Failed to snapshot the document");V(CI({type:Bw.FullSnapshot,data:{node:t,initialOffset:kw(window)}})),oI.forEach((e=>e.unlock())),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&K.adoptStyleSheets(document.adoptedStyleSheets,OI.getId(document))};LI=Z;try{const e=[],t=e=>rI(vI)({onMutation:j,mutationCb:H,mousemoveCb:(e,t)=>V(CI({type:Bw.IncrementalSnapshot,data:{source:t,positions:e}})),mouseInteractionCb:e=>V(CI({type:Bw.IncrementalSnapshot,data:{source:qw.MouseInteraction,...e}})),scrollCb:W,viewportResizeCb:e=>V(CI({type:Bw.IncrementalSnapshot,data:{source:qw.ViewportResize,...e}})),inputCb:e=>V(CI({type:Bw.IncrementalSnapshot,data:{source:qw.Input,...e}})),mediaInteractionCb:e=>V(CI({type:Bw.IncrementalSnapshot,data:{source:qw.MediaInteraction,...e}})),styleSheetRuleCb:e=>V(CI({type:Bw.IncrementalSnapshot,data:{source:qw.StyleSheetRule,...e}})),styleDeclarationCb:e=>V(CI({type:Bw.IncrementalSnapshot,data:{source:qw.StyleDeclaration,...e}})),canvasMutationCb:Y,fontCb:e=>V(CI({type:Bw.IncrementalSnapshot,data:{source:qw.Font,...e}})),selectionCb:e=>{V(CI({type:Bw.IncrementalSnapshot,data:{source:qw.Selection,...e}}))},customElementCb:e=>{V(CI({type:Bw.IncrementalSnapshot,data:{source:qw.CustomElement,...e}}))},blockClass:s,ignoreClass:o,ignoreSelector:c,maskAllText:l,maskTextClass:d,unmaskTextClass:u,maskTextSelector:p,unmaskTextSelector:f,maskInputOptions:D,inlineStylesheet:h,sampling:I,recordCanvas:S,inlineImages:C,userTriggeredOnInput:T,collectFonts:R,doc:e,maskAttributeFn:v,maskInputFn:b,maskTextFn:_,keepIframeSrcFn:O,blockSelector:r,unblockSelector:a,slimDOMOptions:$,dataURLOptions:x,mirror:OI,iframeManager:G,stylesheetManager:K,shadowDomManager:Q,processedNodeManager:J,canvasManager:X,ignoreCSSAttributes:N,plugins:Ab([L,"optionalAccess",e=>e.filter,"call",e=>e((e=>e.observer)),"optionalAccess",e=>e.map,"call",e=>e((e=>({observer:e.observer,options:e.options,callback:t=>V(CI({type:Bw.Plugin,data:{plugin:e.name,payload:t}}))})))])||[]},{});G.addLoadListener((n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}}));const n=()=>{Z(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(bw("DOMContentLoaded",(()=>{V(CI({type:Bw.DomContentLoaded,data:{}})),"DOMContentLoaded"===k&&n()}))),e.push(bw("load",(()=>{V(CI({type:Bw.Load,data:{}})),"load"===k&&n()}),window))),()=>{e.forEach((e=>e())),J.destroy(),LI=void 0,sI()}}catch(e){console.warn(e)}}NI.mirror=OI,NI.takeFullSnapshot=function(e){if(!LI)throw new Error("please take full snapshot after start recording");LI(e)};const FI=3;function jI(e){return e>9999999999?e:1e3*e}function PI(e){return e>9999999999?e/1e3:e}function UI(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate((()=>(e.throttledAddEvent({type:Bw.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:gb(t,10,1e3)}}),"console"===t.category))))}const MI="button,a";function DI(e){return e.closest(MI)||e}function $I(e){const t=zI(e);return t&&t instanceof Element?DI(t):t}function zI(e){return function(e){return"object"==typeof e&&!!e&&"target"in e}(e)?e.target:e}let BI;function qI(e){return BI||(BI=[],Nv(A_,"open",(function(e){return function(...t){if(BI)try{BI.forEach((e=>e()))}catch(e){}return e.apply(A_,t)}}))),BI.push(e),()=>{const t=BI?BI.indexOf(e):-1;t>-1&&BI.splice(t,1)}}class VI{constructor(e,t,n=UI){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const e=qI((()=>{this._lastMutation=WI()}));this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(function(e,t){if(!HI.includes(e.tagName))return!0;if("INPUT"===e.tagName&&!["submit","button"].includes(e.getAttribute("type")||""))return!0;if("A"===e.tagName&&(e.hasAttribute("download")||e.hasAttribute("target")&&"_self"!==e.getAttribute("target")))return!0;if(t&&e.matches(t))return!0;return!1}(t,this._ignoreSelector)||!function(e){return!(!e.data||"number"!=typeof e.data.nodeId||!e.timestamp)}(e))return;const n={timestamp:PI(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some((e=>e.node===n.node&&Math.abs(e.timestamp-n.timestamp)<1))||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=PI(e)}registerScroll(e=Date.now()){this._lastScroll=PI(e)}registerClick(e){const t=DI(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach((e=>{e.clickCount++}))}_getClicks(e){return this._clicks.filter((t=>t.node===e))}_checkClicks(){const e=[],t=WI();this._clicks.forEach((n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}));for(const t of e){const e=this._clicks.indexOf(t);e>-1&&(this._generateBreadcrumbs(t),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){const t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,i=e.mutationAfter&&e.mutationAfter<=this._threshold,s=!n&&!i,{clickCount:r,clickBreadcrumb:a}=e;if(s){const n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),i=n<1e3*this._timeout?"mutation":"timeout",s={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.slowClickDetected",data:{...a.data,url:A_.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:i,clickCount:r||1}};this._addBreadcrumbEvent(t,s)}else if(r>1){const e={type:"default",message:a.message,timestamp:a.timestamp,category:"ui.multiClick",data:{...a.data,url:A_.location.href,route:t.getCurrentRoute(),clickCount:r,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout((()=>this._checkClicks()),1e3)}}const HI=["A","BUTTON","INPUT"];function WI(){return Date.now()/1e3}function YI(e,t){try{if(!function(e){return e.type===FI}(t))return;const{source:n}=t.data;if(n===qw.Mutation&&e.registerMutation(t.timestamp),n===qw.Scroll&&e.registerScroll(t.timestamp),function(e){return e.data.source===qw.MouseInteraction}(t)){const{type:n,id:i}=t.data,s=NI.mirror.getNode(i);s instanceof HTMLElement&&n===Vw.Click&&e.registerClick(s)}}catch(e){}}function KI(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var GI;!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(GI||(GI={}));const JI=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function XI(e){const t={};for(const n in e)if(JI.has(n)){let i=n;"data-testid"!==n&&"data-test-id"!==n||(i="testId"),t[i]=e[n]}return t}const QI=e=>t=>{if(!e.isEnabled())return;const n=function(e){const{target:t,message:n}=function(e){const t="click"===e.name;let n,i=null;try{i=t?$I(e.event):zI(e.event),n=Sv(i,{maxStringLength:200})||"<unknown>"}catch(e){n="<unknown>"}return{target:i,message:n}}(e);return KI({category:`ui.${e.name}`,...ZI(t,n)})}(t);if(!n)return;const i="click"===t.name,s=i?t.event:void 0;var r,a,o;!(i&&e.clickDetector&&s&&s.target)||s.altKey||s.metaKey||s.ctrlKey||s.shiftKey||(r=e.clickDetector,a=n,o=$I(t.event),r.handleClick(a,o)),UI(e,n)};function ZI(e,t){const n=NI.mirror.getId(e),i=n&&NI.mirror.getNode(n),s=i&&NI.mirror.getMeta(i),r=s&&function(e){return e.type===GI.Element}(s)?s:null;return{message:t,data:r?{nodeId:n,node:{id:n,tagName:r.tagName,textContent:Array.from(r.childNodes).map((e=>e.type===GI.Text&&e.textContent)).filter(Boolean).map((e=>e.trim())).join(""),attributes:XI(r.attributes)}}:{}}}function ex(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=function(e){const{metaKey:t,shiftKey:n,ctrlKey:i,altKey:s,key:r,target:a}=e;if(!a||function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable}(a)||!r)return null;const o=t||i||s,c=1===r.length;if(!o&&c)return null;const l=Sv(a,{maxStringLength:200})||"<unknown>",d=ZI(a,l);return KI({category:"ui.keyDown",message:l,data:{...d.data,metaKey:t,shiftKey:n,ctrlKey:i,altKey:s,key:r}})}(t);n&&UI(e,n)}const tx={resource:function(e){const{entryType:t,initiatorType:n,name:i,responseEnd:s,startTime:r,decodedBodySize:a,encodedBodySize:o,responseStatus:c,transferSize:l}=e;if(["fetch","xmlhttprequest"].includes(n))return null;return{type:`${t}.${n}`,start:ix(r),end:ix(s),name:i,data:{size:l,statusCode:c,decodedBodySize:a,encodedBodySize:o}}},paint:function(e){const{duration:t,entryType:n,name:i,startTime:s}=e,r=ix(s);return{type:n,name:i,start:r,end:r+t,data:void 0}},navigation:function(e){const{entryType:t,name:n,decodedBodySize:i,duration:s,domComplete:r,encodedBodySize:a,domContentLoadedEventStart:o,domContentLoadedEventEnd:c,domInteractive:l,loadEventStart:d,loadEventEnd:u,redirectCount:p,startTime:f,transferSize:h,type:m}=e;if(0===s)return null;return{type:`${t}.${m}`,start:ix(f),end:ix(r),name:n,data:{size:h,decodedBodySize:i,encodedBodySize:a,duration:s,domInteractive:l,domContentLoadedEventStart:o,domContentLoadedEventEnd:c,loadEventStart:d,loadEventEnd:u,domComplete:r,redirectCount:p}}}};function nx(e){return tx[e.entryType]?tx[e.entryType](e):null}function ix(e){return((xb||A_.performance.timeOrigin)+e)/1e3}function sx(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}const i=[];return["navigation","paint","resource"].forEach((e=>{i.push(w_(e,n))})),i.push(__((({metric:t})=>{e.replayPerformanceEntries.push(function(e){const t=e.entries,n=t[t.length-1],i=n?n.element:void 0,s=e.value,r=ix(s);return{type:"largest-contentful-paint",name:"largest-contentful-paint",start:r,end:r,data:{value:s,size:s,nodeId:i?NI.mirror.getId(i):void 0}}}(t))}))),()=>{i.forEach((e=>e()))}}const rx="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,ax='var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},C=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=_(f,15),M=b.t,E=b.l,x=_(h,15),C=x.t,U=x.l,F=D(M),I=F.c,S=F.n,L=D(C),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=_(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(C,U,0),R=C;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,A=c.p||new n(32768),_=c.h||new n(z+1),x=Math.ceil(o/3),D=2*x,T=function(t){return(a[t]^a[t+1]<<x^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=_[H];if(A[J]=K,_[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-A[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=C(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=_,c.p=A,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,a=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),s=a.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(a,n),O(a,s-8,r.d()),O(a,s-4,e),a}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(r){for(var e=new t(n.length),i=0;i<n.length;++i)e[i]=n.charCodeAt(i);return e}if(G)return G.encode(n);var a=n.length,s=new t(n.length+(n.length>>1)),o=0,f=function(t){s[o++]=t};for(i=0;i<a;++i){if(o+5>s.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(let r=0,e=t.length;r<e;r++)n+=t[r].length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J(((t,n)=>{this.deflate.push(t,n)})),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function ox(e,t){rx&&(Lv.info(e),t&&lx(e))}function cx(e,t){rx&&(Lv.info(e),t&&setTimeout((()=>{lx(e)}),0))}function lx(e){var t,n;t={category:"console",data:{logger:"replay"},level:"info",message:e},n={level:"info"},n_().addBreadcrumb(t,n)}class dx extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class ux{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){const t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>O_)throw new dx;this.events.push(e)}finish(){return new Promise((e=>{const t=this.events;this.clear(),e(JSON.stringify(t))}))}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const e=this.events.map((e=>e.timestamp)).sort()[0];return e?jI(e):null}}class px{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise(((e,t)=>{this._worker.addEventListener("message",(({data:n})=>{n.success?e():t()}),{once:!0}),this._worker.addEventListener("error",(e=>{t(e)}),{once:!0})}))),this._ensureReadyPromise}destroy(){ox("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(e,t){const n=this._getAndIncrementId();return new Promise(((i,s)=>{const r=({data:t})=>{const a=t;if(a.method===e&&a.id===n){if(this._worker.removeEventListener("message",r),!a.success)return rx&&Lv.error("[Replay]",a.response),void s(new Error("Error in compression worker"));i(a.response)}};this._worker.addEventListener("message",r),this._worker.postMessage({id:n,method:e,arg:t})}))}_getAndIncrementId(){return this._id++}}class fx{constructor(e){this._worker=new px(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){const t=jI(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);const n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>O_?Promise.reject(new dx):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,(e=>{rx&&Lv.warn('[Replay] Sending "clear" message to worker failed',e)}))}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){const e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class hx{constructor(e){this._fallback=new ux,this._compression=new fx(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return void ox("[Replay] Failed to load the compression worker, falling back to simple buffer")}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e,hasCheckout:t}=this._fallback,n=[];for(const t of e)n.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._used=this._compression;try{await Promise.all(n)}catch(e){rx&&Lv.warn("[Replay] Failed to add events when switching buffers.",e)}}}function mx({useCompression:e,workerUrl:t}){if(e&&window.Worker){const e=function(e){try{const t=e||function(){if("undefined"==typeof __SENTRY_EXCLUDE_REPLAY_WORKER__||!__SENTRY_EXCLUDE_REPLAY_WORKER__)return function(){const e=new Blob([ax]);return URL.createObjectURL(e)}();return""}();if(!t)return;ox("[Replay] Using compression worker"+(e?` from ${e}`:""));const n=new Worker(t);return new hx(n)}catch(e){ox("[Replay] Failed to create compression worker")}}(t);if(e)return e}return ox("[Replay] Using simple buffer"),new ux}function gx(){try{return"sessionStorage"in A_&&!!A_.sessionStorage}catch(e){return!1}}function yx(e){!function(){if(!gx())return;try{A_.sessionStorage.removeItem(k_)}catch(e){}}(),e.session=void 0}function vx(e){return void 0!==e&&Math.random()<e}function bx(e){const t=Date.now();return{id:e.id||Yv(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId}}function _x(e){if(gx())try{A_.sessionStorage.setItem(k_,JSON.stringify(e))}catch(e){}}function wx({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:i}={}){const s=function(e,t){return vx(e)?"session":!!t&&"buffer"}(e,t),r=bx({sampled:s,previousSessionId:i});return n&&_x(r),r}function Ix(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function xx(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:i=Date.now()}){return Ix(e.started,t,i)||Ix(e.lastActivity,n,i)}function Ex(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!xx(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function Sx({traceInternals:e,sessionIdleExpire:t,maxReplayDuration:n,previousSessionId:i},s){const r=s.stickySession&&function(e){if(!gx())return null;try{const t=A_.sessionStorage.getItem(k_);if(!t)return null;const n=JSON.parse(t);return cx("[Replay] Loading existing session",e),bx(n)}catch(e){return null}}(e);return r?Ex(r,{sessionIdleExpire:t,maxReplayDuration:n})?(cx("[Replay] Session in sessionStorage is expired, creating new one..."),wx(s,{previousSessionId:r.id})):r:(cx("[Replay] Creating new session",e),wx(s,{previousSessionId:i}))}function Ax(e,t,n){return!!Tx(e,t)&&(kx(e,t,n),!0)}async function kx(e,t,n){if(!e.eventBuffer)return null;try{n&&"buffer"===e.recordingMode&&e.eventBuffer.clear(),n&&(e.eventBuffer.hasCheckout=!0);const i=function(e,t){try{if("function"==typeof t&&function(e){return e.type===Bw.Custom}(e))return t(e)}catch(e){return rx&&Lv.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",e),null}return e}(t,e.getOptions().beforeAddRecordingEvent);if(!i)return;return await e.eventBuffer.addEvent(i)}catch(t){const n=t&&t instanceof dx?"addEventSizeExceeded":"addEvent";rx&&Lv.error(t),await e.stop({reason:n});const i=zb();i&&i.recordDroppedEvent("internal_sdk_error","replay")}}function Tx(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=jI(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(ox(`[Replay] Skipping event with timestamp ${n} because it is after maxReplayDuration`,e.getOptions()._experiments.traceInternals),!1))}function Rx(e){return!e.type}function Cx(e){return"transaction"===e.type}function Lx(e){return"feedback"===e.type}function Ox(e){const t=function(){const e=zb();if(!e)return!1;const t=e.getTransport();if(!t)return!1;return t.send.__sentry__baseTransport__||!1}();return(n,i)=>{if(!e.isEnabled()||!Rx(n)&&!Cx(n))return;const s=i&&i.statusCode;t&&(!s||s<200||s>=300)||(Cx(n)?function(e,t){const n=e.getContext();t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}(e,n):function(e,t){const n=e.getContext();t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id);if("buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;const{beforeErrorSampling:i}=e.getOptions();if("function"==typeof i&&!i(t))return;setTimeout((()=>{e.sendBufferedReplayOrFlush()}))}(e,n))}}function Nx(e){return t=>{e.isEnabled()&&Rx(t)&&function(e,t){const n=t.exception&&t.exception.values&&t.exception.values[0].value;if("string"!=typeof n)return;if(n.match(/reactjs\.org\/docs\/error-decoder\.html\?invariant=(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i)){UI(e,KI({category:"replay.hydrate-error"}))}}(e,t)}}function Fx(e,t=!1){const n=t?Ox(e):void 0;return Object.assign(((t,i)=>{if(!e.isEnabled())return t;if(function(e){return"replay_event"===e.type}(t))return delete t.breadcrumbs,t;if(!Rx(t)&&!Cx(t)&&!Lx(t))return t;if(!e.checkAndHandleExpiredSession())return t;if(Lx(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),function(e,t){e.triggerUserActivity(),e.addUpdate((()=>!t.timestamp||(e.throttledAddEvent({type:Bw.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)))}(e,t),t;if(function(e,t){return!(e.type||!e.exception||!e.exception.values||!e.exception.values.length||!t.originalException||!t.originalException.__rrweb__)}(t,i)&&!e.getOptions()._experiments.captureExceptions)return rx&&Lv.log("[Replay] Ignoring error from rrweb internals",t),null;const s=function(e,t){return"buffer"===e.recordingMode&&t.message!==R_&&!(!t.exception||t.type)&&vx(e.getOptions().errorSampleRate)}(e,t);return(s||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),n&&n(t,{statusCode:200}),t}),{id:"Replay"})}function jx(e,t){return t.map((({type:t,start:n,end:i,name:s,data:r})=>{const a=e.throttledAddEvent({type:Bw.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:s,startTimestamp:n,endTimestamp:i,data:r}}});return"string"==typeof a?Promise.resolve(null):a}))}function Px(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{from:t,to:n}=e,i=Date.now()/1e3;return{type:"navigation.push",start:i,end:i,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate((()=>(jx(e,[n]),!1))))}}function Ux(e,t){e.isEnabled()&&null!==t&&(function(e,t){return(!rx||!e.getOptions()._experiments.traceInternals)&&r_(t,zb())}(e,t.name)||e.addUpdate((()=>(jx(e,[t]),!0))))}function Mx(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{startTimestamp:t,endTimestamp:n,xhr:i}=e,s=i[pb];if(!t||!n||!s)return null;const{method:r,url:a,status_code:o}=s;return void 0===a?null:{type:"resource.xhr",name:a,start:t/1e3,end:n/1e3,data:{method:r,statusCode:o}}}(t);Ux(e,n)}}function Dx(e,t){if(e)try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=Yx(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(e){}}function $x(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function zx(e){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[Yx(e)];if(!e)return[void 0]}catch(t){return rx&&Lv.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return rx&&Lv.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function Bx(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},i=n.warnings||[];return n.warnings=[...i,t],e._meta=n,e}function qx(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:i,url:s,method:r,statusCode:a,request:o,response:c}=t;return{type:e,start:n/1e3,end:i/1e3,name:s,data:Mv({method:r,statusCode:a,request:o,response:c})}}function Vx(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function Hx(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const i={headers:e,size:t},{body:s,warnings:r}=function(e){if(!e||"string"!=typeof e)return{body:e};const t=e.length>C_,n=function(e){const t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e);if(t){const t=e.slice(0,C_);return n?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}…`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch(e){}return{body:e}}(n);return i.body=s,r&&r.length>0&&(i._meta={warnings:r}),i}function Wx(e,t){return Object.keys(e).reduce(((n,i)=>{const s=i.toLowerCase();return t.includes(s)&&e[i]&&(n[s]=e[i]),n}),{})}function Yx(e){return new URLSearchParams(e).toString()}function Kx(e,t){const n=function(e,t=A_.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(A_.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const i=n.href;if(!e.endsWith("/")&&i.endsWith("/"))return i.slice(0,-1);return i}(e);return function(e,t=[],n=!1){return t.some((t=>vv(e,t,n)))}(n,t)}async function Gx(e,t,n){try{const i=await async function(e,t,n){const i=Date.now(),{startTimestamp:s=i,endTimestamp:r=i}=t,{url:a,method:o,status_code:c=0,request_body_size:l,response_body_size:d}=e.data,u=Kx(a,n.networkDetailAllowUrls)&&!Kx(a,n.networkDetailDenyUrls),p=u?function({networkCaptureBodies:e,networkRequestHeaders:t},n,i){const s=n?function(e,t){if(1===e.length&&"string"!=typeof e[0])return Qx(e[0],t);if(2===e.length)return Qx(e[1],t);return{}}(n,t):{};if(!e)return Hx(s,i,void 0);const r=Jx(n),[a,o]=zx(r),c=Hx(s,i,a);if(o)return Bx(c,o);return c}(n,t.input,l):Vx(l),f=await async function(e,{networkCaptureBodies:t,textEncoder:n,networkResponseHeaders:i},s,r){if(!e&&void 0!==r)return Vx(r);const a=s?Xx(s.headers,i):{};if(!s||!t&&void 0!==r)return Hx(a,r,void 0);const[o,c]=await async function(e){const t=function(e){try{return e.clone()}catch(e){rx&&Lv.warn("[Replay] Failed to clone response body",e)}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{const e=await function(e){return new Promise(((t,n)=>{const i=setTimeout((()=>n(new Error("Timeout while trying to read response body"))),500);(async function(e){return await e.text()})(e).then((e=>t(e)),(e=>n(e))).finally((()=>clearTimeout(i)))}))}(t);return[e]}catch(e){return rx&&Lv.warn("[Replay] Failed to get text body from response",e),[void 0,"BODY_PARSE_ERROR"]}}(s),l=function(e,{networkCaptureBodies:t,textEncoder:n,responseBodySize:i,captureDetails:s,headers:r}){try{const a=e&&e.length&&void 0===i?Dx(e,n):i;return s?Hx(r,a,t?e:void 0):Vx(a)}catch(e){return rx&&Lv.warn("[Replay] Failed to serialize response body",e),Hx(r,i,void 0)}}(o,{networkCaptureBodies:t,textEncoder:n,responseBodySize:r,captureDetails:e,headers:a});if(c)return Bx(l,c);return l}(u,n,t.response,d);return{startTimestamp:s,endTimestamp:r,url:a,method:o,statusCode:c,request:p,response:f}}(e,t,n),s=qx("resource.fetch",i);Ux(n.replay,s)}catch(e){rx&&Lv.error("[Replay] Failed to capture fetch breadcrumb",e)}}function Jx(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}function Xx(e,t){const n={};return t.forEach((t=>{e.get(t)&&(n[t]=e.get(t))})),n}function Qx(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?Xx(n,t):Array.isArray(n)?{}:Wx(n,t):{}}async function Zx(e,t,n){try{const i=function(e,t,n){const i=Date.now(),{startTimestamp:s=i,endTimestamp:r=i,input:a,xhr:o}=t,{url:c,method:l,status_code:d=0,request_body_size:u,response_body_size:p}=e.data;if(!c)return null;if(!o||!Kx(c,n.networkDetailAllowUrls)||Kx(c,n.networkDetailDenyUrls)){return{startTimestamp:s,endTimestamp:r,url:c,method:l,statusCode:d,request:Vx(u),response:Vx(p)}}const f=o[pb],h=f?Wx(f.request_headers,n.networkRequestHeaders):{},m=Wx(function(e){const t=e.getAllResponseHeaders();if(!t)return{};return t.split("\r\n").reduce(((e,t)=>{const[n,i]=t.split(": ");return e[n.toLowerCase()]=i,e}),{})}(o),n.networkResponseHeaders),[g,y]=n.networkCaptureBodies?zx(a):[void 0],[v,b]=n.networkCaptureBodies?function(e){const t=[];try{return[e.responseText]}catch(e){t.push(e)}try{return function(e,t){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&e&&"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(t){return rx&&Lv.warn("[Replay] Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return rx&&Lv.info("[Replay] Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(e){t.push(e)}return rx&&Lv.warn("[Replay] Failed to get xhr response body",...t),[void 0]}(o):[void 0],_=Hx(h,u,g),w=Hx(m,p,v);return{startTimestamp:s,endTimestamp:r,url:c,method:l,statusCode:d,request:y?Bx(_,y):_,response:b?Bx(w,b):w}}(e,t,n),s=qx("resource.xhr",i);Ux(n.replay,s)}catch(e){rx&&Lv.error("[Replay] Failed to capture xhr breadcrumb",e)}}function eE(e,t,n){const{xhr:i,input:s}=t;if(!i)return;const r=Dx(s,n.textEncoder),a=i.getResponseHeader("content-length")?$x(i.getResponseHeader("content-length")):function(e,t,n){try{return Dx("json"===t&&e&&"object"==typeof e?JSON.stringify(e):e,n)}catch(e){return}}(i.response,i.responseType,n.textEncoder);void 0!==r&&(e.data.request_body_size=r),void 0!==a&&(e.data.response_body_size=a)}function tE(e){const t=zb();try{const n=new TextEncoder,{networkDetailAllowUrls:i,networkDetailDenyUrls:s,networkCaptureBodies:r,networkRequestHeaders:a,networkResponseHeaders:o}=e.getOptions(),c={replay:e,textEncoder:n,networkDetailAllowUrls:i,networkDetailDenyUrls:s,networkCaptureBodies:r,networkRequestHeaders:a,networkResponseHeaders:o};t&&t.on?t.on("beforeAddBreadcrumb",((e,t)=>function(e,t,n){if(!t.data)return;try{(function(e){return"xhr"===e.category})(t)&&function(e){return e&&e.xhr}(n)&&(eE(t,n,e),Zx(t,n,e)),function(e){return"fetch"===e.category}(t)&&function(e){return e&&e.response}(n)&&(!function(e,t,n){const{input:i,response:s}=t,r=Dx(i?Jx(i):void 0,n.textEncoder),a=s?$x(s.headers.get("content-length")):void 0;void 0!==r&&(e.data.request_body_size=r),void 0!==a&&(e.data.response_body_size=a)}(t,n,e),Gx(t,n,e))}catch(e){rx&&Lv.warn("Error when enriching network breadcrumb")}}(c,e,t))):(!function(e){const t="fetch";Vv(t,e),Hv(t,sb)}(function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{startTimestamp:t,endTimestamp:n,fetchData:i,response:s}=e;if(!n)return null;const{method:r,url:a}=i;return{type:"resource.fetch",start:t/1e3,end:n/1e3,name:a,data:{method:r,statusCode:s?s.status:void 0}}}(t);Ux(e,n)}}(e)),Vv("xhr",Mx(e)),Hv("xhr",fb))}catch(e){}}let nE=null;const iE=e=>t=>{if(!e.isEnabled())return;const n=function(e){const t=e.getLastBreadcrumb&&e.getLastBreadcrumb();if(nE===t||!t)return null;if(nE=t,!function(e){return!!e.category}(t)||["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui."))return null;if("console"===t.category)return function(e){const t=e.data&&e.data.arguments;if(!Array.isArray(t)||0===t.length)return KI(e);let n=!1;const i=t.map((e=>{if(!e)return e;if("string"==typeof e)return e.length>L_?(n=!0,`${e.slice(0,L_)}…`):e;if("object"==typeof e)try{const t=gb(e,7);return JSON.stringify(t).length>L_?(n=!0,`${JSON.stringify(t,null,2).slice(0,L_)}…`):t}catch(e){}return e}));return KI({...e,data:{...e.data,arguments:i,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(t);return KI(t)}(t);n&&UI(e,n)};function sE(e){const t=Bb(),n=zb();t.addScopeListener(iE(e)),Vv("dom",QI(e)),Hv("dom",Zv),function(e){const t="history";Vv(t,e),Hv(t,db)}(Px(e)),tE(e);const i=Fx(e,!rE(n));n&&n.addEventProcessor?n.addEventProcessor(i):function(e){const t=zb();t&&t.addEventProcessor&&t.addEventProcessor(e)}(i),rE(n)&&(n.on("beforeSendEvent",Nx(e)),n.on("afterSendEvent",Ox(e)),n.on("createDsc",(t=>{const n=e.getSessionId();if(n&&e.isEnabled()&&"session"===e.recordingMode){e.checkAndHandleExpiredSession()&&(t.replay_id=n)}})),n.on("startTransaction",(t=>{e.lastTransaction=t})),n.on("finishTransaction",(t=>{e.lastTransaction=t})),n.on("beforeSendFeedback",((t,n)=>{const i=e.getSessionId();n&&n.includeReplay&&e.isEnabled()&&i&&(e.flush(),t.contexts&&t.contexts.feedback&&(t.contexts.feedback.replay_id=i))})))}function rE(e){return!(!e||!e.on)}function aE(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:i}=e,s=Date.now()/1e3;return{type:"memory",name:"memory",start:s,end:s,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:i}}}}function oE(e){let t=!1;return(n,i)=>{if(!e.checkAndHandleExpiredSession())return void(rx&&Lv.warn("[Replay] Received replay event after session expired."));const s=i||!t;t=!0,e.clickDetector&&YI(e.clickDetector,n),e.addUpdate((()=>{if("buffer"===e.recordingMode&&s&&e.setInitialState(),!Ax(e,n,s))return!0;if(!s)return!1;if(function(e,t){if(!t||!e.session||0!==e.session.segmentId)return;Ax(e,function(e){const t=e.getOptions();return{type:Bw.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1)}(e,s),e.session&&e.session.previousSessionId)return!0;if("buffer"===e.recordingMode&&e.session&&e.eventBuffer){const t=e.eventBuffer.getEarliestTimestamp();t&&(ox(`[Replay] Updating session start time to earliest event in buffer to ${new Date(t)}`,e.getOptions()._experiments.traceInternals),e.session.started=t,e.getOptions().stickySession&&_x(e.session))}return"session"===e.recordingMode&&e.flush(),!0}))}}function cE(e,t,n,i){return function(e,t=[]){return[e,t]}(function(e,t,n,i){const s=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&i&&{dsn:Ov(i)},...s&&{trace:Mv({...s})}}}(e,function(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}(e),i,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"==typeof t?(new TextEncoder).encode(t).length:t.length},t]])}async function lE({client:e,scope:t,replayId:n,event:i}){const s={event_id:n,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit&&e.emit("preprocessEvent",i,s);const r=await Pb(e.getOptions(),i,s,t,e,n_().getIsolationScope());if(!r)return null;r.platform=r.platform||"javascript";const a=e.getSdkMetadata&&e.getSdkMetadata(),{name:o,version:c}=a&&a.sdk||{};return r.sdk={...r.sdk,name:o||"sentry.javascript.unknown",version:c||"0.0.0"},r}async function dE({recordingData:e,replayId:t,segmentId:n,eventContext:i,timestamp:s,session:r}){const a=function({recordingData:e,headers:t}){let n;const i=`${JSON.stringify(t)}\n`;if("string"==typeof e)n=`${i}${e}`;else{const t=(new TextEncoder).encode(i);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:o,errorIds:c,traceIds:l,initialTimestamp:d}=i,u=zb(),p=Bb(),f=u&&u.getTransport(),h=u&&u.getDsn();if(!(u&&f&&h&&r.sampled))return;const m={type:T_,replay_start_timestamp:d/1e3,timestamp:s/1e3,error_ids:c,trace_ids:l,urls:o,replay_id:t,segment_id:n,replay_type:r.sampled},g=await lE({scope:p,client:u,replayId:t,event:m});if(!g)return u.recordDroppedEvent("event_processor","replay",m),void ox("An event processor returned `null`, will not send event.");delete g.sdkProcessingMetadata;const y=cE(g,a,h,u.getOptions().tunnel);let v;try{v=await f.send(y)}catch(e){const t=new Error(R_);try{t.cause=e}catch(e){}throw t}if(!v)return v;if("number"==typeof v.statusCode&&(v.statusCode<200||v.statusCode>=300))throw new uE(v.statusCode);const b=Sb({},v);if(function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(b,"replay"))throw new pE(b);return v}class uE extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class pE extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function fE(e,t={count:0,interval:5e3}){const{recordingData:n,options:i}=e;var s,r;if(n.length)try{return await dE(e),!0}catch(n){if(n instanceof uE||n instanceof pE)throw n;if(s="Replays",r={_retryCount:t.count},n_().setContext(s,r),rx&&i._experiments&&i._experiments.captureExceptions&&$b(n),t.count>=3){const e=new Error(`${R_} - max retries exceeded`);try{e.cause=n}catch(e){}throw e}return t.interval*=++t.count,new Promise(((n,i)=>{setTimeout((async()=>{try{await fE(e,t),n(!0)}catch(e){i(e)}}),t.interval)}))}}const hE="__THROTTLED";function mE(e,t,n){const i=new Map;let s=!1;return(...r)=>{const a=Math.floor(Date.now()/1e3);if((e=>{const t=e-n;i.forEach(((e,n)=>{n<t&&i.delete(n)}))})(a),[...i.values()].reduce(((e,t)=>e+t),0)>=t){const e=s;return s=!0,e?"__SKIPPED":hE}s=!1;const o=i.get(a)||0;return i.set(a,o+1),e(...r)}}class gE{constructor({options:e,recordingOptions:t}){gE.prototype.__init.call(this),gE.prototype.__init2.call(this),gE.prototype.__init3.call(this),gE.prototype.__init4.call(this),gE.prototype.__init5.call(this),gE.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){let i,s,r;const a=n&&n.maxWait?Math.max(n.maxWait,t):0;function o(){return c(),i=e(),i}function c(){void 0!==s&&clearTimeout(s),void 0!==r&&clearTimeout(r),s=r=void 0}function l(){return s&&clearTimeout(s),s=setTimeout(o,t),a&&void 0===r&&(r=setTimeout(o,a)),i}return l.cancel=c,l.flush=function(){return void 0!==s||void 0!==r?o():i},l}((()=>this._flush()),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=mE(((e,t)=>function(e,t,n){return Tx(e,t)?kx(e,t,n):Promise.resolve(null)}(this,e,t)),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:i}=this.getOptions(),s=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:i?i.join(","):""}:void 0;s&&(this.clickDetector=new VI(this,s))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return Boolean(this._canvas)}getOptions(){return this._options}initializeSampling(e){const{errorSampleRate:t,sessionSampleRate:n}=this._options;t<=0&&n<=0||(this._initializeSessionForSampling(e),this.session?!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",cx(`[Replay] Starting replay in ${this.recordingMode} mode`,this._options._experiments.traceInternals),this._initializeRecording()):this._handleException(new Error("Unable to initialize and create session")))}start(){if(this._isEnabled&&"session"===this.recordingMode)throw new Error("Replay recording is already in progress");if(this._isEnabled&&"buffer"===this.recordingMode)throw new Error("Replay buffering is in progress, call `flush()` to save the replay");cx("[Replay] Starting replay in session mode",this._options._experiments.traceInternals);const e=Sx({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");cx("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);const e=Sx({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const e=this._canvas;this._stopRecording=NI({...this._recordingOptions,..."buffer"===this.recordingMode&&{checkoutEveryNms:6e4},emit:oE(this),onMutation:this._onMutationHandler,...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this._handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1;try{ox("[Replay] Stopping Replay"+(t?` triggered by ${t}`:""),this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,yx(this)}catch(e){this._handleException(e)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),ox("[Replay] Pausing replay",this._options._experiments.traceInternals))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),ox("[Replay] Resuming replay",this._options._experiments.traceInternals))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();const t=Date.now();ox("[Replay] Converting buffer to session",this._options._experiments.traceInternals),await this.flushImmediate();const n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){const t=e();"buffer"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._checkSession())return;this.resume()}}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(!(this._lastActivity&&Ix(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled))return!!this._checkSession();this.pause()}setInitialState(){const e=`${A_.location.pathname}${A_.location.hash}${A_.location.search}`,t=`${A_.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){const n=this._throttledAddEvent(e,t);if(n===hE){const e=KI({category:"replay.throttled"});this.addUpdate((()=>!Ax(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}})))}return n}getCurrentRoute(){const e=this.lastTransaction||Bb().getTransaction(),t=(e&&jb(e).data||{})["sentry.source"];if(e&&t&&["route","custom"].includes(t))return jb(e).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=mx({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(e){rx&&Lv.error("[Replay]",e),rx&&this._options._experiments&&this._options._experiments.captureExceptions&&$b(e)}_initializeSessionForSampling(e){const t=this._options.errorSampleRate>0,n=Sx({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;const e=this.session;return!Ex(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{A_.document.addEventListener("visibilitychange",this._handleVisibilityChange),A_.addEventListener("blur",this._handleWindowBlur),A_.addEventListener("focus",this._handleWindowFocus),A_.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(sE(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}this._performanceCleanupCallback=sx(this)}_removeListeners(){try{A_.document.removeEventListener("visibilitychange",this._handleVisibilityChange),A_.removeEventListener("blur",this._handleWindowBlur),A_.removeEventListener("focus",this._handleWindowFocus),A_.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this._handleException(e)}}__init(){this._handleVisibilityChange=()=>{"visible"===A_.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{const e=KI({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{const e=KI({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{ex(this,e)}}_doChangeToBackgroundTasks(e){if(!this.session)return;xx(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(!this.session)return;this.checkAndHandleExpiredSession()?e&&this._createCustomBreadcrumb(e):ox("[Replay] Document has become active, but session has expired")}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate((()=>{this.throttledAddEvent({type:Bw.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})}))}_addPerformanceEntries(){const e=(t=this.performanceEntries,t.map(nx).filter(Boolean)).concat(this.replayPerformanceEntries);var t;return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(jx(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:e,eventBuffer:t}=this;if(!e||!t)return;if(e.segmentId)return;const n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){const e=this.getSessionId();if(this.session&&this.eventBuffer&&e){if(await this._addPerformanceEntries(),this.eventBuffer&&this.eventBuffer.hasEvents&&(await async function(e){try{return Promise.all(jx(e,[aE(A_.performance.memory)]))}catch(e){return[]}}(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const n=this._popEventContext(),i=this.session.segmentId++;this._maybeSaveSession();const s=await this.eventBuffer.finish();await fE({replayId:e,recordingData:s,segmentId:i,eventContext:n,session:this.session,options:this.getOptions(),timestamp:t})}catch(e){this._handleException(e),this.stop({reason:"sendReplay"});const t=zb();t&&t.recordDroppedEvent("send_error","replay")}}else rx&&Lv.error("[Replay] No session or eventBuffer found to flush.")}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession())return void(rx&&Lv.error("[Replay] Attempting to finish replay event after session expired."));if(!this.session)return;const t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();const i=n<this._options.minReplayDuration,s=n>this._options.maxReplayDuration+5e3;if(i||s)return ox(`[Replay] Session duration (${Math.floor(n/1e3)}s) is too ${i?"short":"long"}, not sending replay.`,this._options._experiments.traceInternals),void(i&&this._debouncedFlush());const r=this.eventBuffer;if(r&&0===this.session.segmentId&&!r.hasCheckout&&ox("[Replay] Flushing initial segment without checkout.",this._options._experiments.traceInternals),!this._flushLock)return this._flushLock=this._runFlush(),await this._flushLock,void(this._flushLock=void 0);try{await this._flushLock}catch(e){rx&&Lv.error(e)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&_x(this.session)}__init6(){this._onMutationHandler=e=>{const t=e.length,n=this._options.mutationLimit,i=n&&t>n;if(t>this._options.mutationBreadcrumbLimit||i){const e=KI({category:"replay.mutations",data:{count:t,limit:i}});this._createCustomBreadcrumb(e)}return!i||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}}function yE(e,t,n,i){const s=[...e,..."string"==typeof i?i.split(","):[],...t];return void 0!==n&&("string"==typeof n&&s.push(`.${n}`),Cv((()=>{console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")}))),s.join(",")}const vE='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',bE=["content-length","content-type","accept"];let _E=!1;const wE=e=>new IE(e);class IE{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:i=36e5,stickySession:s=!0,useCompression:r=!0,workerUrl:a,_experiments:o={},sessionSampleRate:c,errorSampleRate:l,maskAllText:d=!0,maskAllInputs:u=!0,blockAllMedia:p=!0,mutationBreadcrumbLimit:f=750,mutationLimit:h=1e4,slowClickTimeout:m=7e3,slowClickIgnoreSelectors:g=[],networkDetailAllowUrls:y=[],networkDetailDenyUrls:v=[],networkCaptureBodies:b=!0,networkRequestHeaders:_=[],networkResponseHeaders:w=[],mask:I=[],maskAttributes:x=["title","placeholder"],unmask:E=[],block:S=[],unblock:A=[],ignore:k=[],maskFn:T,beforeAddRecordingEvent:R,beforeErrorSampling:C,blockClass:L,blockSelector:O,maskInputOptions:N,maskTextClass:F,maskTextSelector:j,ignoreClass:P}={}){this.name=IE.id;const U=function({mask:e,unmask:t,block:n,unblock:i,ignore:s,blockClass:r,blockSelector:a,maskTextClass:o,maskTextSelector:c,ignoreClass:l}){const d={maskTextSelector:yE(e,[".sentry-mask","[data-sentry-mask]"],o,c),unmaskTextSelector:yE(t,[".sentry-unmask","[data-sentry-unmask]"]),blockSelector:yE(n,[".sentry-block","[data-sentry-block]",'base[href="/"]'],r,a),unblockSelector:yE(i,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:yE(s,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],l)};return r instanceof RegExp&&(d.blockClass=r),o instanceof RegExp&&(d.maskTextClass=o),d}({mask:I,unmask:E,block:S,unblock:A,ignore:k,blockClass:L,blockSelector:O,maskTextClass:F,maskTextSelector:j,ignoreClass:P});if(this._recordingOptions={maskAllInputs:u,maskAllText:d,maskInputOptions:{...N||{},password:!0},maskTextFn:T,maskInputFn:T,maskAttributeFn:(e,t,n)=>function({el:e,key:t,maskAttributes:n,maskAllText:i,privacyOptions:s,value:r}){return i?s.unmaskTextSelector&&e.matches(s.unmaskTextSelector)?r:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?r.replace(/[\S]/g,"*"):r:r}({maskAttributes:x,maskAllText:d,privacyOptions:U,key:e,value:t,el:n}),...U,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(e){}}},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,15e3),maxReplayDuration:Math.min(i,N_),stickySession:s,sessionSampleRate:c,errorSampleRate:l,useCompression:r,workerUrl:a,blockAllMedia:p,maskAllInputs:u,maskAllText:d,mutationBreadcrumbLimit:f,mutationLimit:h,slowClickTimeout:m,slowClickIgnoreSelectors:g,networkDetailAllowUrls:y,networkDetailDenyUrls:v,networkCaptureBodies:b,networkRequestHeaders:xE(_),networkResponseHeaders:xE(w),beforeAddRecordingEvent:R,beforeErrorSampling:C,_experiments:o},"number"==typeof c&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysSessionSampleRate: ${c} })`),this._initialOptions.sessionSampleRate=c),"number"==typeof l&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysOnErrorSampleRate: ${l} })`),this._initialOptions.errorSampleRate=l),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${vE}`:vE),this._isInitialized&&mb())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return _E}set _isInitialized(e){_E=e}setupOnce(){mb()&&(this._setup(),setTimeout((()=>this._initialize())))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay&&this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){const e=function(e){const t=zb(),n=t&&t.getOptions(),i={sessionSampleRate:0,errorSampleRate:0,...Mv(e)};if(!n)return Cv((()=>{console.warn("SDK client is not available.")})),i;null==e.sessionSampleRate&&null==e.errorSampleRate&&null==n.replaysSessionSampleRate&&null==n.replaysOnErrorSampleRate&&Cv((()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}));"number"==typeof n.replaysSessionSampleRate&&(i.sessionSampleRate=n.replaysSessionSampleRate);"number"==typeof n.replaysOnErrorSampleRate&&(i.errorSampleRate=n.replaysOnErrorSampleRate);return i}(this._initialOptions);this._replay=new gE({options:e,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{const e=zb().getIntegrationByName("ReplayCanvas");if(!e)return;this._replay._canvas=e.getOptions()}catch(e){}}}function xE(e){return[...bE,...e.map((e=>e.toLowerCase()))]}IE.__initStatic();const EE=Object.prototype.toString;function SE(e){return function(e,t){return EE.call(e)===`[object ${t}]`}(e,"Object")}function AE(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function kE(e,t){if(!Array.isArray(e))return"";const n=[];for(let t=0;t<e.length;t++){const s=e[t];try{"object"==typeof(i=s)&&null!==i&&(i.__isVue||i._isVue)?n.push("[VueViewModel]"):n.push(String(s))}catch(e){n.push("[value cannot be serialized]")}}var i;return n.join(t)}function TE(e){return e&&e.Math==Math?e:void 0}const RE="object"==typeof globalThis&&TE(globalThis)||"object"==typeof window&&TE(window)||"object"==typeof self&&TE(self)||"object"==typeof global&&TE(global)||function(){return this}()||{};function CE(e,t,n){const i=n||RE,s=i.__SENTRY__=i.__SENTRY__||{};return s[e]||(s[e]=t())}const LE="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,OE=["debug","info","warn","error","log","assert","trace"],NE={};function FE(e){if(!("console"in RE))return e();const t=RE.console,n={},i=Object.keys(NE);i.forEach((e=>{const i=NE[e];n[e]=t[e],t[e]=i}));try{return e()}finally{i.forEach((e=>{t[e]=n[e]}))}}const jE=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return LE?OE.forEach((n=>{t[n]=(...t)=>{e&&FE((()=>{RE.console[n](`Sentry Logger [${n}]:`,...t)}))}})):OE.forEach((e=>{t[e]=()=>{}})),t}();function PE(e,t,n){if(!(t in e))return;const i=e[t],s=n(i);"function"==typeof s&&function(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,function(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){LE&&jE.log(`Failed to add non-enumerable property "${t}" to object`,e)}}(e,"__sentry_original__",t)}catch(e){}}(s,i),e[t]=s}function UE(e){return ME(e,new Map)}function ME(e,t){if(function(e){if(!SE(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const i={};t.set(e,i);for(const n of Object.keys(e))void 0!==e[n]&&(i[n]=ME(e[n],t));return i}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const i=[];return t.set(e,i),e.forEach((e=>{i.push(ME(e,t))})),i}return e}const DE="<anonymous>";function $E(e){try{return e&&"function"==typeof e&&e.name||DE}catch(e){return DE}}const zE={},BE={};function qE(e){const t="console";!function(e,t){zE[e]=zE[e]||[],zE[e].push(t)}(t,e),function(e,t){BE[e]||(t(),BE[e]=!0)}(t,VE)}function VE(){"console"in RE&&OE.forEach((function(e){e in RE.console&&PE(RE.console,e,(function(t){return NE[e]=t,function(...t){!function(e,t){const n=e&&zE[e];if(n)for(const i of n)try{i(t)}catch(t){LE&&jE.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${$E(i)}\nError:`,t)}}("console",{args:t,level:e});const n=NE[e];n&&n.apply(RE.console,t)}}))}))}function HE(){const e=RE,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}var WE;!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(WE||(WE={}));class YE{constructor(e){YE.prototype.__init.call(this),YE.prototype.__init2.call(this),YE.prototype.__init3.call(this),YE.prototype.__init4.call(this),this._state=WE.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new YE(((n,i)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){i(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){i(e)}else i(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new YE(((t,n)=>{let i,s;return this.then((t=>{s=!1,i=t,e&&e()}),(t=>{s=!0,i=t,e&&e()})).then((()=>{s?n(i):t(i)}))}))}__init(){this._resolve=e=>{this._setResult(WE.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(WE.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===WE.PENDING&&(AE(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===WE.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===WE.RESOLVED&&e[1](this._value),this._state===WE.REJECTED&&e[2](this._value),e[0]=!0)}))}}}const KE=["fatal","error","warning","log","info","debug"];function GE(e){return"warn"===e?"warning":KE.includes(e)?e:"log"}const JE=1e3;function XE(){return Date.now()/JE}const QE=function(){const{performance:e}=RE;if(!e||!e.now)return XE;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/JE}();(()=>{const{performance:e}=RE;if(!e||!e.now)return;const t=36e5,n=e.now(),i=Date.now(),s=e.timeOrigin?Math.abs(e.timeOrigin+n-i):t,r=s<t,a=e.timing&&e.timing.navigationStart,o="number"==typeof a?Math.abs(a+n-i):t;(r||o<t)&&(s<=o&&e.timeOrigin)})();const ZE="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,eS="production";function tS(e,t,n,i=0){return new YE(((s,r)=>{const a=e[i];if(null===t||"function"!=typeof a)s(t);else{const o=a({...t},n);ZE&&a.id&&null===o&&jE.log(`Event processor "${a.id}" dropped event`),AE(o)?o.then((t=>tS(e,t,n,i+1).then(s))).then(null,r):tS(e,o,n,i+1).then(s).then(null,r)}}))}function nS(e){const t=QE(),n={sid:HE(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return UE({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&iS(n,e),n}function iS(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||QE(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:HE()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}const sS=1;function rS(e){const{spanId:t,traceId:n}=e.spanContext(),{data:i,op:s,parent_span_id:r,status:a,tags:o,origin:c}=aS(e);return UE({data:i,op:s,parent_span_id:r,span_id:t,status:a,tags:o,trace_id:n,origin:c})}function aS(e){return function(e){return"function"==typeof e.getSpanJSON}(e)?e.getSpanJSON():"function"==typeof e.toJSON?e.toJSON():{}}function oS(e){if(e)return function(e){return e instanceof hS||"function"==typeof e}(e)||function(e){return Object.keys(e).some((e=>cS.includes(e)))}(e)?{captureContext:e}:e}const cS=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function lS(e,t){const n="string"==typeof t?t:void 0,i="string"!=typeof t?{captureContext:t}:void 0;return wS().captureMessage(e,n,i)}function dS(){return wS().getClient()}function uS(e){return e.transaction}function pS(e){const t=dS();if(!t)return{};const n=function(e,t,n){const i=t.getOptions(),{publicKey:s}=t.getDsn()||{},{segment:r}=n&&n.getUser()||{},a=UE({environment:i.environment||eS,release:i.release,user_segment:r,public_key:s,trace_id:e});return t.emit&&t.emit("createDsc",a),a}(aS(e).trace_id||"",t,wS().getScope()),i=uS(e);if(!i)return n;const s=i&&i._frozenDynamicSamplingContext;if(s)return s;const{sampleRate:r,source:a}=i.metadata;null!=r&&(n.sample_rate=`${r}`);const o=aS(i);return a&&"url"!==a&&(n.transaction=o.description),n.sampled=String(function(e){const{traceFlags:t}=e.spanContext();return Boolean(t&sS)}(i)),t.emit&&t.emit("createDsc",n),n}function fS(e,t){const{fingerprint:n,span:i,breadcrumbs:s,sdkProcessingMetadata:r}=t;!function(e,t){const{extra:n,tags:i,user:s,contexts:r,level:a,transactionName:o}=t,c=UE(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});const l=UE(i);l&&Object.keys(l).length&&(e.tags={...l,...e.tags});const d=UE(s);d&&Object.keys(d).length&&(e.user={...d,...e.user});const u=UE(r);u&&Object.keys(u).length&&(e.contexts={...u,...e.contexts});a&&(e.level=a);o&&(e.transaction=o)}(e,t),i&&function(e,t){e.contexts={trace:rS(t),...e.contexts};const n=uS(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:pS(t),...e.sdkProcessingMetadata};const i=aS(n).description;i&&(e.tags={transaction:i,...e.tags})}}(e,i),function(e,t){e.fingerprint=e.fingerprint?function(e){return Array.isArray(e)?e:[e]}(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,s),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,r)}class hS{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=mS()}static clone(e){return e?e.clone():new hS}clone(){const e=new hS;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&iS(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;if("function"==typeof e){const t=e(this);return t instanceof hS?t:this}return e instanceof hS?(this._tags={...this._tags,...e._tags},this._extra={...this._extra,...e._extra},this._contexts={...this._contexts,...e._contexts},e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession),e._propagationContext&&(this._propagationContext=e._propagationContext)):SE(e)&&(this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession),e.propagationContext&&(this._propagationContext=e.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=mS(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const i={timestamp:XE(),...e},s=this._breadcrumbs;return s.push(i),this._breadcrumbs=s.length>n?s.slice(-n):s,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:t,_contexts:n,_tags:i,_extra:s,_user:r,_level:a,_fingerprint:o,_eventProcessors:c,_propagationContext:l,_sdkProcessingMetadata:d,_transactionName:u,_span:p}=this;return{breadcrumbs:e,attachments:t,contexts:n,tags:i,extra:s,user:r,level:a,fingerprint:o||[],eventProcessors:c,propagationContext:l,sdkProcessingMetadata:d,transactionName:u,span:p}}applyToEvent(e,t={},n=[]){fS(e,this.getScopeData());return tS([...n,...CE("globalEventProcessors",(()=>[])),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:HE();if(!this._client)return jE.warn("No client configured on scope - will not capture exception!"),n;const i=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:i,...t,event_id:n},this),n}captureMessage(e,t,n){const i=n&&n.event_id?n.event_id:HE();if(!this._client)return jE.warn("No client configured on scope - will not capture message!"),i;const s=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:s,...n,event_id:i},this),i}captureEvent(e,t){const n=t&&t.event_id?t.event_id:HE();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(jE.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}function mS(){return{traceId:HE(),spanId:HE().substring(16)}}const gS=parseFloat("7.101.1"),yS=100;class vS{constructor(e,t,n,i=gS){let s,r;this._version=i,t?s=t:(s=new hS,s.setClient(e)),n?r=n:(r=new hS,r.setClient(e)),this._stack=[{scope:s}],e&&this.bindClient(e),this._isolationScope=r}isOlderThan(e){return this._version<e}bindClient(e){const t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(e){const t=this.pushScope();let n;try{n=e(t)}catch(e){throw this.popScope(),e}return AE(n)?n.then((e=>(this.popScope(),e)),(e=>{throw this.popScope(),e})):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:HE(),i=new Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:i,...t,event_id:n}),n}captureMessage(e,t,n){const i=this._lastEventId=n&&n.event_id?n.event_id:HE(),s=new Error(e);return this.getScope().captureMessage(e,t,{originalException:e,syntheticException:s,...n,event_id:i}),i}captureEvent(e,t){const n=t&&t.event_id?t.event_id:HE();return e.type||(this._lastEventId=n),this.getScope().captureEvent(e,{...t,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:r=yS}=i.getOptions&&i.getOptions()||{};if(r<=0)return;const a={timestamp:XE(),...e},o=s?FE((()=>s(a,t))):a;null!==o&&(i.emit&&i.emit("beforeAddBreadcrumb",o,t),n.addBreadcrumb(o,r))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();n&&e(t)}run(e){const t=_S(this);try{e(this)}finally{_S(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return ZE&&jE.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){const n=this._callExtensionMethod("startTransaction",e,t);if(ZE&&!n){this.getClient()?jE.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):jE.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop().scope,t=e.getSession();t&&function(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),iS(e,n)}(t),this._sendSessionUpdate(),e.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:i,environment:s=eS}=n&&n.getOptions()||{},{userAgent:r}=RE.navigator||{},a=nS({release:i,environment:s,user:t.getUser(),...r&&{userAgent:r},...e}),o=t.getSession&&t.getSession();return o&&"ok"===o.status&&iS(o,{status:"exited"}),this.endSession(),t.setSession(a),a}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_callExtensionMethod(e,...t){const n=bS().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e])return n.extensions[e].apply(this,t);ZE&&jE.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function bS(){return RE.__SENTRY__=RE.__SENTRY__||{extensions:{},hub:void 0},RE}function _S(e){const t=bS(),n=IS(t);return xS(t,e),n}function wS(){const e=bS();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return function(e=bS()){t=e,t&&t.__SENTRY__&&t.__SENTRY__.hub&&!IS(e).isOlderThan(gS)||xS(e,new vS);var t;return IS(e)}(e)}function IS(e){return CE("hub",(()=>new vS),e)}function xS(e,t){if(!e)return!1;return(e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0}const ES="CaptureConsole",SS=(e={})=>{const t=e.levels||OE;return{name:ES,setupOnce(){},setup(e){"console"in RE&&qE((({args:n,level:i})=>{dS()===e&&t.includes(i)&&function(e,t){const n={level:GE(t),extra:{arguments:e}};!function(...e){const t=wS();if(2===e.length){const[n,i]=e;return n?t.withScope((()=>(t.getStackTop().scope=n,i(n)))):t.withScope(i)}t.withScope(e[0])}((i=>{if(i.addEventProcessor((e=>(e.logger="console",function(e,t){const n=function(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}(e);if(!n)return;const i=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...i,...t},t&&"data"in t){const e={...i&&i.data,...t.data};n.mechanism.data=e}}(e,{handled:!1,type:"console"}),e))),"assert"===t&&!1===e[0]){const t=`Assertion failed: ${kE(e.slice(1)," ")||"console.assert"}`;return i.setExtra("arguments",e.slice(1)),void lS(t,n)}const s=e.find((e=>e instanceof Error));if("error"===t&&s)return r=s,a=n,void wS().captureException(r,oS(a));var r,a;lS(kE(e," "),n)}))}(n,i)}))}}};var AS,kS;AS=ES,kS=SS,Object.assign((function(...e){return kS(...e)}),{id:AS});const TS=new RegExp("^https:\\/\\/roar-sre--pr\\d+-\\w+\\.web\\.app\\/"),RS=new RegExp("^https:\\/\\/roar-staging\\.web\\.app\\/game\\/sre|https:\\/\\/roar-staging--pr\\d+-\\w+\\.web\\.app\\/");class CS{constructor(e,t,n,i){this.gameParams=t,this.userParams=n,this.firekit=e,this.displayElement=i,this.jsPsych=null}async init(){dv({dsn:"https://b618958936a197de9f9f9a86ae6cceff@o4505913837420544.ingest.sentry.io/4505915445870592",release:`${process.env.npm_package_name}@${process.env.npm_package_version}`,integrations:[wE({maskAllText:!0,maskAllInputs:!0}),ly(),SS()],attachStacktrace:!0,tracesSampleRate:.2,tracePropagationTargets:[TS,RS,"https://roar.education/game/sre","localhost"],replaysSessionSampleRate:.1,replaysOnErrorSampleRate:1,beforeSend:e=>e}),await this.firekit.startRun();const e=await(async(e,t,n,i)=>{const s=Cr(Cr({...t,...n},Lr),Or),{userMode:r,assessmentPid:a,labId:o,recruitment:c,userMetadata:l,urlParams:d,consent:u,storyOption:p,language:f,skipInstructions:h,grade:m,birthMonth:g,birthYear:y,age:v,ageMonths:b,timerLength:_}=s,w=oa(g,y,v,b),I={pid:a,labId:o,userMode:r||"default",recruitment:c||"pilot",storyOption:p,story:Ou(p,m),userMetadata:{...l,grade:m,...w},startTime:new Date,urlParams:d,firekit:e,language:f,skipInstructions:h??!0,consent:u??!0,displayElement:i||null,blockOrder:Nu(r),timerLength:_??18e4,timerLengthList:Fu(r)},x=Object.fromEntries(Object.entries(t).map((([e,t])=>[e,I[e]??t])));return await I.firekit.updateTaskParams(x),null!==I.pid&&await I.firekit.updateUser({assessmentPid:I.pid,...l}),I})(this.firekit,this.gameParams,this.userParams,this.displayElement);return a.session.set("config",e),function(e,t){ju(t);const n=Pu(e),i=da({responseTimeLowThreshold:1e3,responseTimeHighThreshold:2e4,accuracyThreshold:.6,minResponsesRequired:10,includedReliabilityFlags:["responseTimeTooFast"]});Zu=new ua({evaluateValidity:i,handleEngagementFlags:(e,n)=>t.firekit.run.started?t.firekit.updateEngagementFlags(e,n):null});const s=[qc,...n];return(e=>{const n={timeline:[Xu,Qu],repetitions:4};s.push(Du),s.push(Ku),s.push(Ju),s.push(n),s.push($u);for(let n=0;n<e.length;n+=1)s.push(Gu(e[n],n+1,t.timerLengthList[n])),n<e.length-1&&s.push(qu);s.push(Vu)})(t.blockOrder),{jsPsych:Yc,timeline:s}}(this.firekit,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{CS as default};
|
|
26
|
+
//# sourceMappingURL=index.95edec73.js.map
|