var e,n;"function"==typeof(e=globalThis.define)&&(n=e,e=null),function(n,t,r,i,o){var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},l="function"==typeof u[i]&&u[i],d=l.cache||{},f="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function s(e,t){if(!d[e]){if(!n[e]){var r="function"==typeof u[i]&&u[i];if(!t&&r)return r(e,!0);if(l)return l(e,!0);if(f&&"string"==typeof e)return f(e);var o=Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}c.resolve=function(t){var r=n[e][1][t];return null!=r?r:t},c.cache={};var a=d[e]=new s.Module(e);n[e][0].call(a.exports,c,a,a.exports,this)}return d[e].exports;function c(e){var n=c.resolve(e);return!1===n?{}:s(n)}}s.isParcelRequire=!0,s.Module=function(e){this.id=e,this.bundle=s,this.exports={}},s.modules=n,s.cache=d,s.parent=l,s.register=function(e,t){n[e]=[function(e,n){n.exports=t},{}]},Object.defineProperty(s,"root",{get:function(){return u[i]}}),u[i]=s;for(var a=0;a<t.length;a++)s(t[a]);if(r){var c=s(r);"object"==typeof exports&&"undefined"!=typeof module?module.exports=c:"function"==typeof e&&e.amd?e(function(){return c}):o&&(this[o]=c)}}({QdKYL:[function(e,n,t){var r=e("@parcel/transformer-js/src/esmodule-helpers.js");r.defineInteropFlag(t),r.export(t,"COMPANION_HISTORY_DEVICE_STATE_STORAGE_KEY",()=>i),r.export(t,"createCompanionHistoryRequestAuthority",()=>o),r.export(t,"selectCompanionHistoryDetail",()=>u),r.export(t,"companionHistoryIdentityChanged",()=>s);let i="ez4ielts:deviceState";function o(){let e=0,n=0,t=()=>{n+=1};return{beginView:()=>(e+=1,t(),{viewGeneration:e}),captureView:()=>({viewGeneration:e}),isViewCurrent:n=>n.viewGeneration===e,beginDetail:r=>(t(),{viewGeneration:e,detailGeneration:n,sessionId:r}),invalidateDetail:t,isDetailCurrent:(t,r)=>t.viewGeneration===e&&t.detailGeneration===n&&t.sessionId===r}}function u(e,n){return e?.session.id===n?e:null}function l(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function d(e){return"string"==typeof e?e:null}function f(e){if(!l(e))return JSON.stringify({stored:void 0!==e,valid:!1});let n=l(e.credential)?e.credential:null,t=n&&l(n.device)?n.device:null,r=l(e.issue)?e.issue:null;return JSON.stringify({stored:!0,valid:!0,token:d(n?.token),credentialLearnerBinding:d(n?.learnerBinding),lastLearnerBinding:d(e.lastLearnerBinding),deviceId:d(t?.id),deviceLearnerBinding:d(t?.learnerBinding),deviceExpiresAt:d(t?.expiresAt),deviceRevokedAt:d(t?.revokedAt),issueReason:d(r?.reason)})}function s(e){return f(e.oldValue)!==f(e.newValue)}},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],cHUbl:[function(e,n,t){t.interopDefault=function(e){return e&&e.__esModule?e:{default:e}},t.defineInteropFlag=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.exportAll=function(e,n){return Object.keys(e).forEach(function(t){"default"===t||"__esModule"===t||n.hasOwnProperty(t)||Object.defineProperty(n,t,{enumerable:!0,get:function(){return e[t]}})}),n},t.export=function(e,n,t){Object.defineProperty(e,n,{enumerable:!0,get:t})}},{}]},["QdKYL"],"QdKYL","parcelRequiree485"),globalThis.define=n;