-
-
Notifications
You must be signed in to change notification settings - Fork 190
/
Copy pathindexeddbshim-UnicodeIdentifiers.min.js
3 lines (3 loc) · 171 KB
/
indexeddbshim-UnicodeIdentifiers.min.js
1
2
3
/*! indexeddbshim - v15.2.0 - 9/11/2024 */
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function t(e,t,n,r,u,o,i){try{var a=e[o](i),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,u)}function n(e){return function(){var n=this,r=arguments;return new Promise((function(u,o){var i=e.apply(n,r);function a(e){t(i,u,o,a,c,"next",e)}function c(e){t(i,u,o,a,c,"throw",e)}a(void 0)}))}}function r(e,t,n){if(c())return Reflect.construct.apply(null,arguments);var r=[null];return r.push.apply(r,t),new(e.bind.apply(e,r))}function u(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,p(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=y(e))||t){n&&(e=n);var r=0,u=function(){};return{s:u,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw o}}}}function i(e,t,n,r){var u={configurable:!0,enumerable:!0};return u[e]=r,Object.defineProperty(t,n,u)}function a(e,t,n){return(t=p(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(){l=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,u=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new T(r||[]);return u(i,"_invoke",{value:B(e,n,a)}),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var D="suspendedStart",_="suspendedYield",p="executing",h="completed",y={};function v(){}function E(){}function b(){}var g={};s(g,i,(function(){return this}));var m=Object.getPrototypeOf,F=m&&m(m(x([])));F&&F!==n&&r.call(F,i)&&(g=F);var A=b.prototype=v.prototype=Object.create(g);function C(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function n(u,o,i,a){var c=f(e[u],e,o);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,a)}),(function(e){n("throw",e,i,a)})):t.resolve(d).then((function(e){s.value=e,i(s)}),(function(e){return n("throw",e,i,a)}))}a(c.arg)}var o;u(this,"_invoke",{value:function(e,r){function u(){return new t((function(t,u){n(e,r,t,u)}))}return o=o?o.then(u,u):u()}})}function B(t,n,r){var u=D;return function(o,i){if(u===p)throw Error("Generator is already running");if(u===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=I(a,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(u===D)throw u=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);u=p;var s=f(t,n,r);if("normal"===s.type){if(u=r.done?h:_,s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(u=h,r.method="throw",r.arg=s.arg)}}}function I(t,n){var r=n.method,u=t.iterator[r];if(u===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,I(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var o=f(u,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function O(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 S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function x(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var u=-1,o=function n(){for(;++u<t.length;)if(r.call(t,u))return n.value=t[u],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return E.prototype=b,u(A,"constructor",{value:b,configurable:!0}),u(b,"constructor",{value:E,configurable:!0}),E.displayName=s(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,c,"GeneratorFunction")),e.prototype=Object.create(A),e},t.awrap=function(e){return{__await:e}},C(w.prototype),s(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,u,o){void 0===o&&(o=Promise);var i=new w(d(e,n,r,u),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},C(A),s(A,c,"Generator"),s(A,i,(function(){return this})),s(A,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=x,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function u(r,u){return a.type="throw",a.arg=t,n.next=r,u&&(n.method="next",n.arg=e),!!u}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return u("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return u(i.catchLoc,!0);if(this.prev<i.finallyLoc)return u(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return u(i.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return u(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var u=this.tryEntries[n];if(u.tryLoc<=this.prev&&r.call(u,"finallyLoc")&&this.prev<u.finallyLoc){var o=u;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(i)},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),y},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),S(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var u=r.arg;S(n)}return u}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:x(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function f(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 r,u,o,i,a=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(c=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){s=!0,u=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw u}}return a}}(e,t)||y(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 D(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||y(t)||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 p(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function h(e){return h="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},h(e)}function y(t,n){if(t){if("string"==typeof t)return e(t,n);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}var v,E,b=String.raw(v||(v=D(["(?:[$A-Z_a-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\ude80-\ude9c\udea0-\uded0\udf00-\udf1f\udf30-\udf4a\udf50-\udf75\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe\uddbf\ude00\ude10-\ude13\ude15-\ude17\ude19-\ude33\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee4\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2]|\ud804[\udc03-\udc37\udc83-\udcaf\udcd0-\udce8\udd03-\udd26\udd50-\udd72\udd76\udd83-\uddb2\uddc1-\uddc4\uddda\udddc\ude00-\ude11\ude13-\ude2b\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udede\udf05-\udf0c\udf0f\udf10\udf13-\udf28\udf2a-\udf30\udf32\udf33\udf35-\udf39\udf3d\udf50\udf5d-\udf61]|\ud805[\udc00-\udc34\udc47-\udc4a\udc80-\udcaf\udcc4\udcc5\udcc7\udd80-\uddae\uddd8-\udddb\ude00-\ude2f\ude44\ude80-\udeaa\udf00-\udf19]|\ud806[\udca0-\udcdf\udcff\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc2e\udc40\udc72-\udc8f]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|[\ud80c\ud81c-\ud820\ud840-\ud868\ud86a-\ud86c\ud86f-\ud872][\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udf00-\udf2f\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\udf00-\udf44\udf50\udf93-\udf9f\udfe0]|\ud821[\udc00-\udfec]|\ud822[\udc00-\udef2]|\ud82c[\udc00\udc01]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e\udc9f\udca2\udca5\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud83a[\udc00-\udcc4\udd00-\udd43]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud873[\udc00-\udea1]|\ud87e[\udc00-\ude1d])"],["(?:[$A-Z_a-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B4\\u08B6-\\u08BD\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C60\\u0C61\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2118-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309B-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]|\\uD800[\\uDC00-\\uDC0B\\uDC0D-\\uDC26\\uDC28-\\uDC3A\\uDC3C\\uDC3D\\uDC3F-\\uDC4D\\uDC50-\\uDC5D\\uDC80-\\uDCFA\\uDD40-\\uDD74\\uDE80-\\uDE9C\\uDEA0-\\uDED0\\uDF00-\\uDF1F\\uDF30-\\uDF4A\\uDF50-\\uDF75\\uDF80-\\uDF9D\\uDFA0-\\uDFC3\\uDFC8-\\uDFCF\\uDFD1-\\uDFD5]|\\uD801[\\uDC00-\\uDC9D\\uDCB0-\\uDCD3\\uDCD8-\\uDCFB\\uDD00-\\uDD27\\uDD30-\\uDD63\\uDE00-\\uDF36\\uDF40-\\uDF55\\uDF60-\\uDF67]|\\uD802[\\uDC00-\\uDC05\\uDC08\\uDC0A-\\uDC35\\uDC37\\uDC38\\uDC3C\\uDC3F-\\uDC55\\uDC60-\\uDC76\\uDC80-\\uDC9E\\uDCE0-\\uDCF2\\uDCF4\\uDCF5\\uDD00-\\uDD15\\uDD20-\\uDD39\\uDD80-\\uDDB7\\uDDBE\\uDDBF\\uDE00\\uDE10-\\uDE13\\uDE15-\\uDE17\\uDE19-\\uDE33\\uDE60-\\uDE7C\\uDE80-\\uDE9C\\uDEC0-\\uDEC7\\uDEC9-\\uDEE4\\uDF00-\\uDF35\\uDF40-\\uDF55\\uDF60-\\uDF72\\uDF80-\\uDF91]|\\uD803[\\uDC00-\\uDC48\\uDC80-\\uDCB2\\uDCC0-\\uDCF2]|\\uD804[\\uDC03-\\uDC37\\uDC83-\\uDCAF\\uDCD0-\\uDCE8\\uDD03-\\uDD26\\uDD50-\\uDD72\\uDD76\\uDD83-\\uDDB2\\uDDC1-\\uDDC4\\uDDDA\\uDDDC\\uDE00-\\uDE11\\uDE13-\\uDE2B\\uDE80-\\uDE86\\uDE88\\uDE8A-\\uDE8D\\uDE8F-\\uDE9D\\uDE9F-\\uDEA8\\uDEB0-\\uDEDE\\uDF05-\\uDF0C\\uDF0F\\uDF10\\uDF13-\\uDF28\\uDF2A-\\uDF30\\uDF32\\uDF33\\uDF35-\\uDF39\\uDF3D\\uDF50\\uDF5D-\\uDF61]|\\uD805[\\uDC00-\\uDC34\\uDC47-\\uDC4A\\uDC80-\\uDCAF\\uDCC4\\uDCC5\\uDCC7\\uDD80-\\uDDAE\\uDDD8-\\uDDDB\\uDE00-\\uDE2F\\uDE44\\uDE80-\\uDEAA\\uDF00-\\uDF19]|\\uD806[\\uDCA0-\\uDCDF\\uDCFF\\uDEC0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC2E\\uDC40\\uDC72-\\uDC8F]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC00-\\uDC6E\\uDC80-\\uDD43]|[\\uD80C\\uD81C-\\uD820\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50\\uDF93-\\uDF9F\\uDFE0]|\\uD821[\\uDC00-\\uDFEC]|\\uD822[\\uDC00-\\uDEF2]|\\uD82C[\\uDC00\\uDC01]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-\\uDD0A\\uDD0D-\\uDD14\\uDD16-\\uDD1C\\uDD1E-\\uDD39\\uDD3B-\\uDD3E\\uDD40-\\uDD44\\uDD46\\uDD4A-\\uDD50\\uDD52-\\uDEA5\\uDEA8-\\uDEC0\\uDEC2-\\uDEDA\\uDEDC-\\uDEFA\\uDEFC-\\uDF14\\uDF16-\\uDF34\\uDF36-\\uDF4E\\uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB]|\\uD83A[\\uDC00-\\uDCC4\\uDD00-\\uDD43]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1]|\\uD87E[\\uDC00-\\uDE1D])"]))),g=String.raw(E||(E=D(["(?:[$0-9A-Z_a-zªµ·ºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽͿΆ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԯԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠ-ࢴࢶ-ࢽࣔ-ࣣ࣡-ॣ०-९ॱ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ૹଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఀ-ఃఅ-ఌఎ-ఐఒ-నప-హఽ-ౄె-ైొ-్ౕౖౘ-ౚౠ-ౣ౦-౯ಀ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲഁ-ഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൔ-ൗൟ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟ෦-෯ෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟፩-፱ᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤞᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧚ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧ᪰-᪽ᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽᲀ-ᲈ᳐-᳔᳒-ᳶ᳸᳹ᴀ-᷵᷻-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠧꡀ-ꡳꢀ-ꣅ꣐-꣙꣠-ꣷꣻꣽ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꧠ-ꧾꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︯︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]|\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\uddfd\ude80-\ude9c\udea0-\uded0\udee0\udf00-\udf1f\udf30-\udf4a\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udca0-\udca9\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe\uddbf\ude00-\ude03\ude05\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude33\ude38-\ude3a\ude3f\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee6\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2]|\ud804[\udc00-\udc46\udc66-\udc6f\udc7f-\udcba\udcd0-\udce8\udcf0-\udcf9\udd00-\udd34\udd36-\udd3f\udd50-\udd73\udd76\udd80-\uddc4\uddca-\uddcc\uddd0-\uddda\udddc\ude00-\ude11\ude13-\ude37\ude3e\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udeea\udef0-\udef9\udf00-\udf03\udf05-\udf0c\udf0f\udf10\udf13-\udf28\udf2a-\udf30\udf32\udf33\udf35-\udf39\udf3c-\udf44\udf47\udf48\udf4b-\udf4d\udf50\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]|\ud805[\udc00-\udc4a\udc50-\udc59\udc80-\udcc5\udcc7\udcd0-\udcd9\udd80-\uddb5\uddb8-\uddc0\uddd8-\udddd\ude00-\ude40\ude44\ude50-\ude59\ude80-\udeb7\udec0-\udec9\udf00-\udf19\udf1d-\udf2b\udf30-\udf39]|\ud806[\udca0-\udce9\udcff\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc36\udc38-\udc40\udc50-\udc59\udc72-\udc8f\udc92-\udca7\udca9-\udcb6]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|[\ud80c\ud81c-\ud820\ud840-\ud868\ud86a-\ud86c\ud86f-\ud872][\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\ude60-\ude69\uded0-\udeed\udef0-\udef4\udf00-\udf36\udf40-\udf43\udf50-\udf59\udf63-\udf77\udf7d-\udf8f]|\ud81b[\udf00-\udf44\udf50-\udf7e\udf8f-\udf9f\udfe0]|\ud821[\udc00-\udfec]|\ud822[\udc00-\udef2]|\ud82c[\udc00\udc01]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9d\udc9e]|\ud834[\udd65-\udd69\udd6d-\udd72\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad\ude42-\ude44]|\ud835[\udc00-\udc54\udc56-\udc9c\udc9e\udc9f\udca2\udca5\udca6\udca9-\udcac\udcae-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd1e-\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd52-\udea5\udea8-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb\udfce-\udfff]|\ud836[\ude00-\ude36\ude3b-\ude6c\ude75\ude84\ude9b-\ude9f\udea1-\udeaf]|\ud838[\udc00-\udc06\udc08-\udc18\udc1b-\udc21\udc23\udc24\udc26-\udc2a]|\ud83a[\udc00-\udcc4\udcd0-\udcd6\udd00-\udd4a\udd50-\udd59]|\ud83b[\ude00-\ude03\ude05-\ude1f\ude21\ude22\ude24\ude27\ude29-\ude32\ude34-\ude37\ude39\ude3b\ude42\ude47\ude49\ude4b\ude4d-\ude4f\ude51\ude52\ude54\ude57\ude59\ude5b\ude5d\ude5f\ude61\ude62\ude64\ude67-\ude6a\ude6c-\ude72\ude74-\ude77\ude79-\ude7c\ude7e\ude80-\ude89\ude8b-\ude9b\udea1-\udea3\udea5-\udea9\udeab-\udebb]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud873[\udc00-\udea1]|\ud87e[\udc00-\ude1d]|\udb40[\udd00-\uddef])"],["(?:[$0-9A-Z_a-z\\xAA\\xB5\\xB7\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B4\\u08B6-\\u08BD\\u08D4-\\u08E1\\u08E3-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0AF9\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58-\\u0C5A\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C80-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D54-\\u0D57\\u0D5F-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1369-\\u1371\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19DA\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1C80-\\u1C88\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFB-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2118-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C5\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA8FD\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2F\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]|\\uD800[\\uDC00-\\uDC0B\\uDC0D-\\uDC26\\uDC28-\\uDC3A\\uDC3C\\uDC3D\\uDC3F-\\uDC4D\\uDC50-\\uDC5D\\uDC80-\\uDCFA\\uDD40-\\uDD74\\uDDFD\\uDE80-\\uDE9C\\uDEA0-\\uDED0\\uDEE0\\uDF00-\\uDF1F\\uDF30-\\uDF4A\\uDF50-\\uDF7A\\uDF80-\\uDF9D\\uDFA0-\\uDFC3\\uDFC8-\\uDFCF\\uDFD1-\\uDFD5]|\\uD801[\\uDC00-\\uDC9D\\uDCA0-\\uDCA9\\uDCB0-\\uDCD3\\uDCD8-\\uDCFB\\uDD00-\\uDD27\\uDD30-\\uDD63\\uDE00-\\uDF36\\uDF40-\\uDF55\\uDF60-\\uDF67]|\\uD802[\\uDC00-\\uDC05\\uDC08\\uDC0A-\\uDC35\\uDC37\\uDC38\\uDC3C\\uDC3F-\\uDC55\\uDC60-\\uDC76\\uDC80-\\uDC9E\\uDCE0-\\uDCF2\\uDCF4\\uDCF5\\uDD00-\\uDD15\\uDD20-\\uDD39\\uDD80-\\uDDB7\\uDDBE\\uDDBF\\uDE00-\\uDE03\\uDE05\\uDE06\\uDE0C-\\uDE13\\uDE15-\\uDE17\\uDE19-\\uDE33\\uDE38-\\uDE3A\\uDE3F\\uDE60-\\uDE7C\\uDE80-\\uDE9C\\uDEC0-\\uDEC7\\uDEC9-\\uDEE6\\uDF00-\\uDF35\\uDF40-\\uDF55\\uDF60-\\uDF72\\uDF80-\\uDF91]|\\uD803[\\uDC00-\\uDC48\\uDC80-\\uDCB2\\uDCC0-\\uDCF2]|\\uD804[\\uDC00-\\uDC46\\uDC66-\\uDC6F\\uDC7F-\\uDCBA\\uDCD0-\\uDCE8\\uDCF0-\\uDCF9\\uDD00-\\uDD34\\uDD36-\\uDD3F\\uDD50-\\uDD73\\uDD76\\uDD80-\\uDDC4\\uDDCA-\\uDDCC\\uDDD0-\\uDDDA\\uDDDC\\uDE00-\\uDE11\\uDE13-\\uDE37\\uDE3E\\uDE80-\\uDE86\\uDE88\\uDE8A-\\uDE8D\\uDE8F-\\uDE9D\\uDE9F-\\uDEA8\\uDEB0-\\uDEEA\\uDEF0-\\uDEF9\\uDF00-\\uDF03\\uDF05-\\uDF0C\\uDF0F\\uDF10\\uDF13-\\uDF28\\uDF2A-\\uDF30\\uDF32\\uDF33\\uDF35-\\uDF39\\uDF3C-\\uDF44\\uDF47\\uDF48\\uDF4B-\\uDF4D\\uDF50\\uDF57\\uDF5D-\\uDF63\\uDF66-\\uDF6C\\uDF70-\\uDF74]|\\uD805[\\uDC00-\\uDC4A\\uDC50-\\uDC59\\uDC80-\\uDCC5\\uDCC7\\uDCD0-\\uDCD9\\uDD80-\\uDDB5\\uDDB8-\\uDDC0\\uDDD8-\\uDDDD\\uDE00-\\uDE40\\uDE44\\uDE50-\\uDE59\\uDE80-\\uDEB7\\uDEC0-\\uDEC9\\uDF00-\\uDF19\\uDF1D-\\uDF2B\\uDF30-\\uDF39]|\\uD806[\\uDCA0-\\uDCE9\\uDCFF\\uDEC0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC36\\uDC38-\\uDC40\\uDC50-\\uDC59\\uDC72-\\uDC8F\\uDC92-\\uDCA7\\uDCA9-\\uDCB6]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC00-\\uDC6E\\uDC80-\\uDD43]|[\\uD80C\\uD81C-\\uD820\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDE60-\\uDE69\\uDED0-\\uDEED\\uDEF0-\\uDEF4\\uDF00-\\uDF36\\uDF40-\\uDF43\\uDF50-\\uDF59\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50-\\uDF7E\\uDF8F-\\uDF9F\\uDFE0]|\\uD821[\\uDC00-\\uDFEC]|\\uD822[\\uDC00-\\uDEF2]|\\uD82C[\\uDC00\\uDC01]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99\\uDC9D\\uDC9E]|\\uD834[\\uDD65-\\uDD69\\uDD6D-\\uDD72\\uDD7B-\\uDD82\\uDD85-\\uDD8B\\uDDAA-\\uDDAD\\uDE42-\\uDE44]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-\\uDD0A\\uDD0D-\\uDD14\\uDD16-\\uDD1C\\uDD1E-\\uDD39\\uDD3B-\\uDD3E\\uDD40-\\uDD44\\uDD46\\uDD4A-\\uDD50\\uDD52-\\uDEA5\\uDEA8-\\uDEC0\\uDEC2-\\uDEDA\\uDEDC-\\uDEFA\\uDEFC-\\uDF14\\uDF16-\\uDF34\\uDF36-\\uDF4E\\uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB\\uDFCE-\\uDFFF]|\\uD836[\\uDE00-\\uDE36\\uDE3B-\\uDE6C\\uDE75\\uDE84\\uDE9B-\\uDE9F\\uDEA1-\\uDEAF]|\\uD838[\\uDC00-\\uDC06\\uDC08-\\uDC18\\uDC1B-\\uDC21\\uDC23\\uDC24\\uDC26-\\uDC2A]|\\uD83A[\\uDC00-\\uDCC4\\uDCD0-\\uDCD6\\uDD00-\\uDD4A\\uDD50-\\uDD59]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1]|\\uD87E[\\uDC00-\\uDE1D]|\\uDB40[\\uDD00-\\uDDEF])"]))),m=Object.freeze({__proto__:null,UnicodeIDContinue:g,UnicodeIDStart:b});function F(e){return F="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},F(e)}var A=0,C=1,w=2,B=3,I="undefined"==typeof DOMException?function(e,t){var n=new Error(e);return n.name=t,n}:DOMException,O=new WeakMap,S=new WeakMap,T=function(e){var t=this;this[Symbol.toStringTag]="Event",this.toString=function(){return"[object Event]"};var n=Array.prototype.slice.call(arguments),r=n[1],u=n[2];if(!arguments.length)throw new TypeError("Failed to construct 'Event': 1 argument required, but only 0 present.");u=u||{};var o={};"composed"in(r=r||{})&&(o.composed=r.composed),O.set(this,u),S.set(this,o);this.initEvent(e,r.bubbles,r.cancelable),["target","currentTarget","eventPhase","defaultPrevented"].forEach((function(e){var n=e;Object.defineProperty(t,n,{get:function(){return void 0!==o[n]?o[n]:n in u?u[n]:"eventPhase"===n?0:"defaultPrevented"!==n&&null}})}));var i=["type","bubbles","cancelable","isTrusted","timeStamp","initEvent","composedPath","composed"];"[object CustomEvent]"===this.toString()&&i.push("detail","initCustomEvent"),Object.defineProperties(this,i.reduce((function(e,t){var n=t;return e[n]={get:function(){return n in o?o[n]:n in u?u[n]:!["bubbles","cancelable","composed"].includes(n)&&void 0}},e}),{}))};T.prototype.preventDefault=function(){if(!(this instanceof T))throw new TypeError("Illegal invocation");var e=O.get(this),t=S.get(this);this.cancelable&&!t._passive&&(t.defaultPrevented=!0,"function"==typeof e.preventDefault&&e.preventDefault())},T.prototype.stopImmediatePropagation=function(){S.get(this)._stopImmediatePropagation=!0},T.prototype.stopPropagation=function(){S.get(this)._stopPropagation=!0},T.prototype.initEvent=function(e,t,n){var r=S.get(this);r._dispatched||(Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,get:function(){return e}}),Object.defineProperty(this,"bubbles",{enumerable:!0,configurable:!0,get:function(){return t}}),Object.defineProperty(this,"cancelable",{enumerable:!0,configurable:!0,get:function(){return n}}),r.type=e,void 0!==t&&(r.bubbles=t),void 0!==n&&(r.cancelable=n))},["type","target","currentTarget"].forEach((function(e){Object.defineProperty(T.prototype,e,{enumerable:!0,configurable:!0,get:function(){throw new TypeError("Illegal invocation")}})})),["eventPhase","defaultPrevented","bubbles","cancelable","timeStamp"].forEach((function(e){Object.defineProperty(T.prototype,e,{enumerable:!0,configurable:!0,get:function(){throw new TypeError("Illegal invocation")}})})),["NONE","CAPTURING_PHASE","AT_TARGET","BUBBLING_PHASE"].forEach((function(e,t){Object.defineProperty(T,e,{enumerable:!0,writable:!1,value:t}),Object.defineProperty(T.prototype,e,{writable:!1,value:t})})),T[Symbol.toStringTag]="Function",T.prototype[Symbol.toStringTag]="EventPrototype",Object.defineProperty(T,"prototype",{writable:!1});var x=function(e){var t=Array.prototype.slice.call(arguments),n=t[1],r=t[2];T.call(this,e,n,r),this[Symbol.toStringTag]="CustomEvent",this.toString=function(){return"[object CustomEvent]"},n=n||{},this.initCustomEvent(e,n.bubbles,n.cancelable,"detail"in n?n.detail:null)};function N(e,t,n){var r=e[t];void 0===r&&(e[t]=r=[]);var u="boolean"==typeof n?{capture:n}:n||{},o=JSON.stringify(u);return{listenersByTypeOptions:r.filter((function(e){return o===JSON.stringify(e.options)})),options:u,listenersByType:r}}Object.defineProperty(x.prototype,"constructor",{enumerable:!1,writable:!0,configurable:!0,value:x}),x.prototype.initCustomEvent=function(e,t,n,r){if(!(this instanceof x))throw new TypeError("Illegal invocation");var u=S.get(this);x.call(this,e,{bubbles:t,cancelable:n,detail:r},arguments[4]),u._dispatched||(void 0!==r&&(u.detail=r),Object.defineProperty(this,"detail",{get:function(){return u.detail}}))},x[Symbol.toStringTag]="Function",x.prototype[Symbol.toStringTag]="CustomEventPrototype",Object.defineProperty(x.prototype,"detail",{enumerable:!0,configurable:!0,get:function(){throw new TypeError("Illegal invocation")}}),Object.defineProperty(x,"prototype",{writable:!1});var j={addListener:function(e,t,n,r){var u=N(e,n,r),o=u.listenersByTypeOptions;r=u.options;var i=u.listenersByType;o.some((function(e){return e.listener===t}))||i.push({listener:t,options:r})},removeListener:function(e,t,n,r){var u=N(e,n,r),o=u.listenersByType,i=JSON.stringify(u.options);o.some((function(r,u){return r.listener===t&&i===JSON.stringify(r.options)&&(o.splice(u,1),o.length||delete e[n],!0)}))},hasListener:function(e,t,n,r){return N(e,n,r).listenersByTypeOptions.some((function(e){return e.listener===t}))}};function P(){throw new TypeError("Illegal constructor")}Object.assign(P.prototype,["Early","","Late","Default"].reduce((function(e,t){return["add","remove","has"].forEach((function(n){e[n+t+"EventListener"]=function(e,r){var u=arguments[2];if(arguments.length<2)throw new TypeError("2 or more arguments required");if("string"!=typeof e)throw new I("UNSPECIFIED_EVENT_TYPE_ERR","UNSPECIFIED_EVENT_TYPE_ERR");try{"handleEvent"in r&&r.handleEvent.bind&&(r=r.handleEvent.bind(r))}catch(e){console.log("Uncaught `handleEvent` error",e)}var o="_"+t.toLowerCase()+(""===t?"l":"L")+"isteners";return this[o]||Object.defineProperty(this,o,{value:{}}),j[n+"Listener"](this[o],r,e,u)}})),e}),{})),Object.assign(P.prototype,{_legacyOutputDidListenersThrowCheck:void 0,__setOptions:function(e){e=e||{},this._defaultSync=e.defaultSync,this._extraProperties=e.extraProperties||[],e.legacyOutputDidListenersThrowFlag&&(this._legacyOutputDidListenersThrowCheck=!0,this._extraProperties.push("__legacyOutputDidListenersThrowError"))},dispatchEvent:function(e){return this._dispatchEvent(e,!0)},_dispatchEvent:function(e,t){var n=this;["early","","late","default"].forEach((function(e){var t="_"+e+(""===e?"l":"L")+"isteners";n[t]||Object.defineProperty(n,t,{value:{}})}));var r,u=S.get(e);if(u&&t&&u._dispatched)throw new I("The object is in an invalid state.","InvalidStateError");u?r=e:(r=function(e){var t=e.bubbles,n=e.cancelable,r=e.detail,u=e.type;return"detail"in e?new x(u,{bubbles:t,cancelable:n,detail:r},e):new T(u,{bubbles:t,cancelable:n},e)}(e),(u=S.get(r))._dispatched=!0,this._extraProperties.forEach((function(t){t in e&&(r[t]=e[t])})));var o=r.type;function i(){u.eventPhase=A,u.currentTarget=null,delete u._children}function a(){u._stopImmediatePropagation=void 0,u._stopPropagation=void 0,r.defaultPrevented&&u.cancelable||(u.eventPhase=w,r.target.invokeCurrentListeners(r.target._defaultListeners,r,o)),i()}var c=function(){return u._stopImmediatePropagation=void 0,u._stopPropagation=void 0,n._defaultSync?a():setTimeout(a,0),u.eventPhase=w,u._stopPropagation||(u._stopImmediatePropagation=void 0,u._stopPropagation=void 0,r.target.invokeCurrentListeners(r.target._lateListeners,r,o)),i(),!r.defaultPrevented};switch(t&&(u.target=this),"eventPhase"in r&&r.eventPhase){case C:if(u._stopPropagation)return c();this.invokeCurrentListeners(this._listeners,r,o);var s=u._children&&u._children.length&&u._children.pop();return s&&s!==r.target||(u.eventPhase=w),s&&(s._defaultSync=this._defaultSync),(s||this)._dispatchEvent(r,!1);case w:return u._stopPropagation?c():(this.invokeCurrentListeners(this._listeners,r,o,!0),u.bubbles?(u.eventPhase=B,this._dispatchEvent(r,!1)):c());case B:if(u._stopPropagation)return c();var d=this.__getParent&&this.__getParent();return d?(d.invokeCurrentListeners(d._listeners,r,o,!0),d._defaultSync=this._defaultSync,d._dispatchEvent(r,!1)):c();default:if(u.eventPhase=w,this.invokeCurrentListeners(this._earlyListeners,r,o),!("__getParent"in this))return u.eventPhase=w,this._dispatchEvent(r,!1);for(var l=this,f=this;l.__getParent&&null!==(l=l.__getParent());)u._children||(u._children=[]),u._children.push(f),f=l;return f._defaultSync=this._defaultSync,u.eventPhase=C,f._dispatchEvent(r,!1)}},invokeCurrentListeners:function(e,t,n,r){var u=this,o=S.get(t);o.currentTarget=this;var i=N(e,n,{}).listenersByType.concat(),a=i.length?1:0;return i.some((function(e,i){var c=r?u["on"+n]:null;if(o._stopImmediatePropagation)return!0;i===a&&"function"==typeof c&&u.tryCatch(t,(function(){!1===c.call(t.currentTarget,t)&&t.preventDefault()}));var s=e.options,d=s.once,l=s.passive,f=s.capture;if(o._passive=l,f&&t.target!==t.currentTarget&&t.eventPhase===C||t.eventPhase===w||!f&&t.target!==t.currentTarget&&t.eventPhase===B){var D=e.listener;u.tryCatch(t,(function(){D.call(t.currentTarget,t)})),d&&u.removeEventListener(n,D,s)}return!1})),this.tryCatch(t,(function(){var e=r?u["on"+n]:null;"function"==typeof e&&i.length<2&&(!1===e.call(t.currentTarget,t)&&t.preventDefault())})),!t.defaultPrevented},tryCatch:function(e,t){try{t()}catch(t){this.triggerErrorEvent(t,e)}},triggerErrorEvent:function(e,t){var n,r=e;"string"==typeof e&&(r=new Error("Uncaught exception: "+e));var u=!1;"undefined"==typeof window||"undefined"==typeof ErrorEvent||window&&"object"===("undefined"==typeof window?"undefined":F(window))&&!window.dispatchEvent?(u=!0,n=function(){setTimeout((function(){throw r}))}):n=function(){var t=new ErrorEvent("error",{error:e,message:r.message||"",filename:r.fileName||"",lineno:r.lineNumber||0,colno:r.columnNumber||0});window.dispatchEvent(t)},u&&this._legacyOutputDidListenersThrowCheck||n(),this._legacyOutputDidListenersThrowCheck&&(t.__legacyOutputDidListenersThrowError=r)}}),P.prototype[Symbol.toStringTag]="EventTargetPrototype",Object.defineProperty(P,"prototype",{writable:!1});var k=P,L={createInstance:function(e){var t=function(){this.__setOptions(e)};return t.prototype=k.prototype,new t}};P.ShimEvent=T,P.ShimCustomEvent=x,P.ShimDOMException=I,P.ShimEventTarget=P,P.EventTargetFactory=L;var R={},q={};function U(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}["DEBUG","cacheDatabaseInstances","autoName","fullIDLSupport","checkOrigin","cursorPreloadPackSize","UnicodeIDStart","UnicodeIDContinue","registerSCA","avoidAutoShim","win","DEFAULT_DB_SIZE","useSQLiteIndexes","fs","addNonIDBGlobals","replaceNonIDBGlobals","escapeDatabaseName","unescapeDatabaseName","databaseCharacterEscapeList","databaseNameLengthLimit","escapeNFDForDatabaseNames","addSQLiteExtension",["memoryDatabase",function(e){if(!/^(?::memory:|file::memory:(\?(?:[\0-"\$-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?(#(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?)?$/.test(e))throw new TypeError('`memoryDatabase` must be the empty string, ":memory:", or a "file::memory:[?queryString][#hash] URL".')}],"deleteDatabaseFiles","databaseBasePath","sysDatabaseBasePath","sqlBusyTimeout","sqlTrace","sqlProfile","createIndexes"].forEach((function(e){var t;if(Array.isArray(e)){var n=f(e,2);e=n[0],t=n[1]}Object.defineProperty(q,e,{get:function(){return R[e]},set:function(n){t&&t(n),R[e]=n}})}));var M=U(/[\xC0-\xC5\xC7-\xCF\xD1-\xD6\xD9-\xDD\xE0-\xE5\xE7-\xEF\xF1-\xF6\xF9-\xFD\xFF-\u010F\u0112-\u0125\u0128-\u0130\u0134-\u0137\u0139-\u013E\u0143-\u0148\u014C-\u0151\u0154-\u0165\u0168-\u017E\u01A0\u01A1\u01AF\u01B0\u01CD-\u01DC\u01DE-\u01E3\u01E6-\u01F0\u01F4\u01F5\u01F8-\u021B\u021E\u021F\u0226-\u0233\u0344\u0385\u0386\u0388-\u038A\u038C\u038E-\u0390\u03AA-\u03B0\u03CA-\u03CE\u03D3\u03D4\u0400\u0401\u0403\u0407\u040C-\u040E\u0419\u0439\u0450\u0451\u0453\u0457\u045C-\u045E\u0476\u0477\u04C1\u04C2\u04D0-\u04D3\u04D6\u04D7\u04DA-\u04DF\u04E2-\u04E7\u04EA-\u04F5\u04F8\u04F9\u0622-\u0626\u06C0\u06C2\u06D3\u0929\u0931\u0934\u0958-\u095F\u09CB\u09CC\u09DC\u09DD\u09DF\u0A33\u0A36\u0A59-\u0A5B\u0A5E\u0B48\u0B4B\u0B4C\u0B5C\u0B5D\u0B94\u0BCA-\u0BCC\u0C48\u0CC0\u0CC7\u0CC8\u0CCA\u0CCB\u0D4A-\u0D4C\u0DDA\u0DDC-\u0DDE\u0F43\u0F4D\u0F52\u0F57\u0F5C\u0F69\u0F73\u0F75\u0F76\u0F78\u0F81\u0F93\u0F9D\u0FA2\u0FA7\u0FAC\u0FB9\u1026\u1B06\u1B08\u1B0A\u1B0C\u1B0E\u1B12\u1B3B\u1B3D\u1B40\u1B41\u1B43\u1E00-\u1E99\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FC1-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEE\u1FF2-\u1FF4\u1FF6-\u1FFC\u212B\u219A\u219B\u21AE\u21CD-\u21CF\u2204\u2209\u220C\u2224\u2226\u2241\u2244\u2247\u2249\u2260\u2262\u226D-\u2271\u2274\u2275\u2278\u2279\u2280\u2281\u2284\u2285\u2288\u2289\u22AC-\u22AF\u22E0-\u22E3\u22EA-\u22ED\u2ADC\u304C\u304E\u3050\u3052\u3054\u3056\u3058\u305A\u305C\u305E\u3060\u3062\u3065\u3067\u3069\u3070\u3071\u3073\u3074\u3076\u3077\u3079\u307A\u307C\u307D\u3094\u309E\u30AC\u30AE\u30B0\u30B2\u30B4\u30B6\u30B8\u30BA\u30BC\u30BE\u30C0\u30C2\u30C5\u30C7\u30C9\u30D0\u30D1\u30D3\u30D4\u30D6\u30D7\u30D9\u30DA\u30DC\u30DD\u30F4\u30F7-\u30FA\u30FE\uAC00-\uD7A3\uFB1D\uFB1F\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFB4E]|\uD804[\uDC9A\uDC9C\uDCAB\uDD2E\uDD2F\uDF4B\uDF4C]|\uD805[\uDCBB\uDCBC\uDCBE\uDDBA\uDDBB]|\uD806\uDD38|\uD834[\uDD5E-\uDD64\uDDBB-\uDDC0]/);function V(e){return e.replaceAll(/((?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])))(?!(?:(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))|(^|(?:[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))((?:(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))/g,(function(e,t,n,r){return t?"^2"+t.codePointAt().toString(16).padStart(4,"0"):(n||"")+"^3"+r.codePointAt().toString(16).padStart(4,"0")}))}function K(e){return"_"+V(e.replaceAll("^","^^").replaceAll("\0","^0").replaceAll(/([A-Z])/g,"^$1"))}function G(e){return V(e.replaceAll("^","^^").replaceAll("\0","^0"))}function H(e){return function(e){return e.replaceAll(/(\^+)3(d[0-9a-f]{3})/g,(function(e,t,n){return t.length%2?t.slice(1)+String.fromCodePoint(Number.parseInt(n,16)):e})).replaceAll(/(\^+)2(d[0-9a-f]{3})/g,(function(e,t,n){return t.length%2?t.slice(1)+String.fromCodePoint(Number.parseInt(n,16)):e}))}(e).replaceAll(/(\^+)0/g,(function(e,t){return t.length%2?t.slice(1)+"\0":e})).replaceAll("^^","^")}function Q(e){return'"'+function(e){return e.replaceAll('"','""')}(e)+'"'}function W(e){if(q.escapeDatabaseName)return q.escapeDatabaseName(G(e));if(e="D"+K(e),!1!==q.escapeNFDForDatabaseNames&&(e=e.replaceAll(new RegExp(M,"gu"),(function(e){return"^4"+e.codePointAt(0).toString(16).padStart(6,"0")}))),!1!==q.databaseCharacterEscapeList&&(e=e.replace(q.databaseCharacterEscapeList?new RegExp(q.databaseCharacterEscapeList,"gu"):/[\0-\x1F"\*\/:<>\?\\\|\x7F]/g,(function(e){return"^1"+e.charCodeAt(0).toString(16).padStart(2,"0")}))),!1!==q.databaseNameLengthLimit&&e.length>=(q.databaseNameLengthLimit||254)-(!1!==q.addSQLiteExtension?7:0))throw new Error("Unexpectedly long database name supplied; length limit required for Node compatibility; passed length: "+e.length+"; length limit setting: "+(q.databaseNameLengthLimit||254)+".");return e+(!1!==q.addSQLiteExtension?".sqlite":"")}function $(e){return Q("S"+K(e))}function Y(e){return Q("I"+K(e))}function z(e){return"I"+K(e)}function J(e){return e.replaceAll("^","^^")}function X(e,t){return t[Symbol.hasInstance](e)}function Z(e){return null!==e&&"object"===h(e)}function ee(e){return Z(e)&&Symbol.iterator in e&&"function"==typeof e[Symbol.iterator]}function te(e,t){t.forEach((function(t){var n=i("set",i("get",{},t,(function(){throw new TypeError("Illegal invocation")})),t,(function(e){throw new TypeError("Illegal invocation")})),r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r)}))}function ne(e,t){t.forEach((function(t){var n=i("get",{},t,(function(){throw new TypeError("Illegal invocation")})),r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r)}))}function re(e,t){(t="string"==typeof t?[t]:t).forEach((function(t){var n=i("set",i("get",{},t,(function(){return e["__"+t]})),t,(function(n){e["__"+t]=n})),r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r)})),t.forEach((function(t){e[t]=null}))}function ue(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(t="string"==typeof t?[t]:t).forEach((function(t){var r;n&&t in n?r=n[t]:(Object.defineProperty(e,"__"+t,{enumerable:!1,configurable:!1,writable:!0}),r=i("get",{},t,(function(){return this["__"+t]})));var u=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,u)}))}function oe(e){var t=q.UnicodeIDStart||"[$A-Z_a-z]",n=q.UnicodeIDContinue||"[$0-9A-Z_a-z]";return new RegExp("^"+("(?:"+t+"|[$_])")+("(?:"+n+"|[$_])")+"*$","u").test(e)}function ie(e){return"string"==typeof e&&(""===e||oe(e)||e.split(".").every((function(e){return oe(e)})))}function ae(e){return ie(e)||Array.isArray(e)&&Boolean(e.length)&&_(e).every((function(e){return ie(e)}))}function ce(e,t){var n,r;switch(e=Math.floor(Number(e)),t){case"unsigned long long":n=9007199254740991,r=0;break;case"unsigned long":n=4294967295,r=0;break;default:throw new Error("Unrecognized type supplied to enforceRange")}if(!Number.isFinite(e)||e>n||e<r)throw new TypeError("Invalid range: "+e);return e}function se(e,t){return null===e&&t?"":de(e)}function de(e){return""+e}function le(e){return ee(e)?_(e).map((function(e){return de(e)})):de(e)}function fe(e){return null==e}function De(e,t,n){var r=new T(e,n);return r.debug=t,r}Object.defineProperty(T,Symbol.hasInstance,{value:function(e){return Z(e)&&"target"in e&&"bubbles"in e&&"boolean"==typeof e.bubbles}});function _e(e){T.call(this,e),this[Symbol.toStringTag]="IDBVersionChangeEvent",this.toString=function(){return"[object IDBVersionChangeEvent]"},this.__eventInitDict=arguments[1]||{}}function pe(e,t){return new DOMException.prototype.constructor(t,e||"DOMException")}_e.prototype=Object.create(T.prototype),_e.prototype[Symbol.toStringTag]="IDBVersionChangeEventPrototype",["oldVersion","newVersion"].forEach((function(e){var t=i("get",{},e,(function(){if(!(this instanceof _e))throw new TypeError("Illegal invocation");return this.__eventInitDict&&this.__eventInitDict[e]||("oldVersion"===e?0:null)})),n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(_e.prototype,e,n)})),Object.defineProperty(_e,Symbol.hasInstance,{value:function(e){return Z(e)&&"oldVersion"in e&&"defaultPrevented"in e&&"boolean"==typeof e.defaultPrevented}}),Object.defineProperty(_e.prototype,"constructor",{enumerable:!1,writable:!0,configurable:!0,value:_e}),Object.defineProperty(_e,"prototype",{writable:!1});var he={IndexSizeError:1,HierarchyRequestError:3,WrongDocumentError:4,InvalidCharacterError:5,NoModificationAllowedError:7,NotFoundError:8,NotSupportedError:9,InUseAttributeError:10,InvalidStateError:11,SyntaxError:12,InvalidModificationError:13,NamespaceError:14,InvalidAccessError:15,TypeMismatchError:17,SecurityError:18,NetworkError:19,AbortError:20,URLMismatchError:21,QuotaExceededError:22,TimeoutError:23,InvalidNodeTypeError:24,DataCloneError:25,EncodingError:0,NotReadableError:0,UnknownError:0,ConstraintError:0,DataError:0,TransactionInactiveError:0,ReadOnlyError:0,VersionError:0,OperationError:0,NotAllowedError:0},ye={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25};var ve=function(){function e(e,t){this[Symbol.toStringTag]="DOMException",this._code=t in he?he[t]:ye[t]||0,this._name=t||"Error",this._message=void 0===e?"":""+e,Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,writable:!0,value:this._code}),void 0!==t&&Object.defineProperty(this,"name",{configurable:!0,enumerable:!0,writable:!0,value:this._name}),void 0!==e&&Object.defineProperty(this,"message",{configurable:!0,enumerable:!1,writable:!0,value:this._message})}var t=function(){};return t.prototype=Object.create(Error.prototype),["name","message"].forEach((function(n){Object.defineProperty(t.prototype,n,{enumerable:!0,get:function(){if(!(this instanceof e||this instanceof t||this instanceof Error))throw new TypeError("Illegal invocation");return this["name"===n?"_name":"_message"]}})})),Object.defineProperty(t.prototype,"code",{configurable:!0,enumerable:!0,get:function(){throw new TypeError("Illegal invocation")}}),e.prototype=new t,e.prototype[Symbol.toStringTag]="DOMExceptionPrototype",Object.defineProperty(e,"prototype",{writable:!1}),Object.keys(he).forEach((function(t){Object.defineProperty(e.prototype,t,{enumerable:!0,configurable:!1,value:he[t]}),Object.defineProperty(e,t,{enumerable:!0,configurable:!1,value:he[t]})})),Object.keys(ye).forEach((function(t){Object.defineProperty(e.prototype,t,{enumerable:!0,configurable:!1,value:ye[t]}),Object.defineProperty(e,t,{enumerable:!0,configurable:!1,value:ye[t]})})),Object.defineProperty(e.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:e}),e}();function Ee(e,t,n){if(q.DEBUG){var r=n&&"object"===h(n)&&n.message?n.message:n,u="function"==typeof console.error?"error":"log";console[u](e+": "+t+". "+(r||"")),console.trace&&console.trace()}}function be(e){return e&&"object"===h(e)&&"string"==typeof e.name}function ge(e){var t,n;if(4===e.code)t="QuotaExceededError",n="The operation failed because there was not enough remaining storage space, or the storage quota was reached and the user declined to give more space to the database.";else t="UnknownError",n="The operation failed for reasons unrelated to the database itself and not covered by any other errors.";n+=" ("+e.message+")--("+e.code+")";var r=Ae(t,n);return r.sqlError=e,r}var me,Fe=!1;try{be(me=pe("test name","test message"))&&"test name"===me.name&&"test message"===me.message&&(Fe=!0)}catch(e){}var Ae=Fe?function(e,t,n){return Ee(e,t,n),pe(e,t)}:function(e,t,n){return Ee(e,t,n),function(e,t){return new ve(t,e)}(e,t)},Ce=Fe?DOMException:ve,we=["onsuccess","onerror"],Be=["source","transaction","readyState"],Ie=["result","error"];function Oe(){throw new TypeError("Illegal constructor")}Oe.__super=function(){var e=this;this[Symbol.toStringTag]="IDBRequest",this.__setOptions({legacyOutputDidListenersThrowFlag:!0}),Ie.forEach((function(t){Object.defineProperty(e,"__"+t,{enumerable:!1,configurable:!1,writable:!0}),Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){if(!this.__done)throw Ae("InvalidStateError","Can't get "+t+"; the request is still pending.");return this["__"+t]}})})),ue(this,Be,{readyState:{get readyState(){return this.__done?"done":"pending"}}}),re(this,we),this.__result=void 0,this.__error=this.__source=this.__transaction=null,this.__done=!1},Oe.__createInstance=function(){return new Oe.__super},Oe.prototype=L.createInstance({extraProperties:["debug"]}),Oe.prototype[Symbol.toStringTag]="IDBRequestPrototype",Oe.prototype.__getParent=function(){return"[object IDBOpenDBRequest]"===this.toString()?null:this.__transaction},ne(Oe.prototype,Be),ne(Oe.prototype,Ie),te(Oe.prototype,we),Object.defineProperty(Oe.prototype,"constructor",{enumerable:!1,writable:!0,configurable:!0,value:Oe}),Oe.__super.prototype=Oe.prototype,Object.defineProperty(Oe,"prototype",{writable:!1});var Se=["onblocked","onupgradeneeded"];function Te(){throw new TypeError("Illegal constructor")}Te.prototype=Object.create(Oe.prototype),Object.defineProperty(Te.prototype,"constructor",{enumerable:!1,writable:!0,configurable:!0,value:Te});var xe=Te;function Ne(e){return e&&"function"==typeof e.then}function je(e,t){e.then(null,t)}Te.__createInstance=function(){function e(){Oe.__super.call(this),this[Symbol.toStringTag]="IDBOpenDBRequest",this.__setOptions({legacyOutputDidListenersThrowFlag:!0,extraProperties:["oldVersion","newVersion","debug"]}),re(this,Se)}return e.prototype=xe.prototype,new e},te(Te.prototype,Se),Te.prototype[Symbol.toStringTag]="IDBOpenDBRequestPrototype",Object.defineProperty(Te,"prototype",{writable:!1});var Pe=2,ke=0,Le=1;function Re(e){var t=this;function n(e,n){t.v=e,t.s=n,t.c[n].forEach((function(t){t(e)})),t.c[n].length&&(t.c=null)}function r(e){t.c&&(Ne(e)?je(e.then(r),r):n(e,Le))}t.v=0,t.s=Pe,t.c=[[],[]];try{e((function e(u){t.c&&(Ne(u)?je(u.then(e),r):n(u,ke))}),r)}catch(e){r(e)}}function qe(e,t){var n=lt(e),r=lt(t),u=n>r?1:n===r?0:-1;if(q.DEBUG){var o=ft(n),i=ft(r);"object"===h(e)&&(e=JSON.stringify(e),o=JSON.stringify(o)),"object"===h(t)&&(t=JSON.stringify(t),i=JSON.stringify(i)),o!==e&&console.warn(e+" was incorrectly encoded as "+o),i!==t&&console.warn(t+" was incorrectly encoded as "+i)}return u}Re.prototype.then=function(e,t){var n=this;return new Re((function(r,u){var o="function"==typeof t?t:u;function i(){try{r(e?e(n.v):n.v)}catch(e){o(e)}}n.s===ke?i():n.s===Le?o(n.v):(n.c[ke].push(i),n.c[Le].push(o))}))},Re.prototype.catch=function(e){var t=this;return new Re((function(n,r){function u(){try{n(e(t.v))}catch(e){r(e)}}t.s===Le?u():t.s===ke?n(t.v):(t.c[Le].push(u),t.c[ke].push(n))}))},Re.all=function(e){return new Re((function(t,n){var r=e.length,u=[];r?e.forEach((function(o,i){Ne(o)?je(o.then((function(e){u[i]=e,--r||t(u)})),n):(u[i]=o,--r||t(e))})):t(u)}))},Re.race=function(e){var t=!1;return new Re((function(n,r){e.some((function(e,u){return Ne(e)?(je(e.then((function(e){t||(n(e),t=!0)})),r),!1):(n(e),t=!0,!0)}))}))},Re.resolve=function(e){return new Re((function(t,n){t(e)}))},Re.reject=function(e){return new Re((function(t,n){n(e)}))};var Ue={invalid:100,number:200,date:300,string:400,binary:500,array:600},Me=Object.keys(Ue);Me.forEach((function(e){Ue[e]=String.fromCodePoint(Ue[e])}));var Ve=Me.reduce((function(e,t){return e[Ue[t]]=t,e}),{}),Ke=["negativeInfinity","bigNegative","smallNegative","smallPositive","bigPositive","positiveInfinity"],Ge={invalid:{encode:function(){return Ue.invalid+"-"},decode:function(){}},number:{encode:function(e){var t,n,r,u=e===Number.MIN_VALUE?"0."+"0".repeat(214)+"2":Math.abs(e).toString(32),o=u.indexOf("."),i=(u=-1!==o?u.replace(".",""):u).search(/(?:[\0-\/1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/);return u=u.slice(i),Number.isFinite(Number(e))?e<0?e>-1?(t=Ke.indexOf("smallNegative"),n=He(i),r=We(Qe(u))):(t=Ke.indexOf("bigNegative"),n=We(He(-1!==o?o:u.length)),r=We(Qe(u))):e<1?(t=Ke.indexOf("smallPositive"),n=We(He(i)),r=Qe(u)):(t=Ke.indexOf("bigPositive"),n=He(-1!==o?o:u.length),r=Qe(u)):(n=ze(2),r=ze(11),t=Ke.indexOf(e>0?"positiveInfinity":"negativeInfinity")),Ue.number+"-"+t+n+r},decode:function(e){var t=Number(e.slice(2,3)),n=e.slice(3,5),r=e.slice(5,16);switch(Ke[t]){case"negativeInfinity":return Number.NEGATIVE_INFINITY;case"positiveInfinity":return Number.POSITIVE_INFINITY;case"bigPositive":return $e(r,n);case"smallPositive":return $e(r,n=Je(We(n)));case"smallNegative":return n=Je(n),-$e(r=We(r),n);case"bigNegative":return n=We(n),-$e(r=We(r),n);default:throw new Error("Invalid number.")}}},string:{encode:function(e,t){return t&&(e=e.replaceAll(/((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))/g,"-$1")+" "),Ue.string+"-"+e},decode:function(e,t){return e=e.slice(2),t&&(e=e.slice(0,-1).replaceAll(/\x2D((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))/g,"$1")),e}},array:{encode:function(e){var t,n=[],r=o(e.entries());try{for(r.s();!(t=r.n()).done;){var u=f(t.value,2),i=u[0],a=lt(u[1],!0);n[i]=a}}catch(e){r.e(e)}finally{r.f()}return n.push(Ue.invalid+"-"),Ue.array+"-"+JSON.stringify(n)},decode:function(e){var t=JSON.parse(e.slice(2));t.pop();for(var n=0;n<t.length;n++){var r=ft(t[n],!0);t[n]=r}return t}},date:{encode:function(e){return Ue.date+"-"+e.toJSON()},decode:function(e){return new Date(e.slice(2))}},binary:{encode:function(e){return Ue.binary+"-"+(e.byteLength?_(et(e)).map((function(e){return String(e).padStart(3,"0")})):"")},decode:function(e){var t=e.slice(2),n=t.length?t.split(",").map((function(e){return Number.parseInt(e)})):[],r=new ArrayBuffer(n.length);return new Uint8Array(r).set(n),r}}};function He(e){var t=e.toString(32);return 1===t.length?"0"+t:t}function Qe(e){return(e+ze(11)).slice(0,11)}function We(e){var t,n="",r=o(e);try{for(r.s();!(t=r.n()).done;){var u=t.value;n+=(31-Number.parseInt(u,32)).toString(32)}}catch(e){r.e(e)}finally{r.f()}return n}function $e(e,t){var n=Number.parseInt(t,32);if(n<0)return Ye(Number.parseInt(e,32)*Math.pow(32,n-10));if(n<11){var r=e.slice(0,n),u=Number.parseInt(r,32),o=e.slice(n);return Ye(u+Number.parseInt(o,32)*Math.pow(32,n-11))}var i=e+ze(n-11);return Number.parseInt(i,32)}function Ye(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16;return Number.parseFloat(e.toPrecision(t))}function ze(e){return"0".repeat(e)}function Je(e){return"-"+e}function Xe(e){if(Array.isArray(e))return"array";if(Z(t=e)&&"getDate"in t&&"function"==typeof t.getDate)return"date";var t;if(function(e){return Z(e)&&"byteLength"in e&&"number"==typeof e.byteLength&&("slice"in e&&"function"==typeof e.slice||"getFloat64"in e&&"function"==typeof e.getFloat64)}(e))return"binary";var n=h(e);return["string","number"].includes(n)?n:"invalid"}function Ze(e,t){return tt(e,t,!1,!0)}function et(e){var t=0,n=0;if(ArrayBuffer.isView(e)){if(void 0===e.buffer)throw new TypeError("Could not copy the bytes held by a buffer source as the buffer was undefined.");t=e.byteOffset,n=e.byteLength}else n=e.byteLength;return new Uint8Array("buffer"in e&&e.buffer||e,t,n)}function tt(e,t,n,r){if((t=t||[]).includes(e))return{type:"array",invalid:!0,message:"An array key cannot be circular"};var u=Xe(e),o={type:u,value:e};switch(u){case"number":return Number.isNaN(e)?{type:"NaN",invalid:!0}:Object.is(e,-0)?{type:u,value:0}:o;case"string":return o;case"binary":return{type:"binary",value:et(e)};case"array":var i=e,a=i.length;t.push(e);for(var c,s=[],d=function(){if(!n&&!Object.hasOwn(i,l))return{v:{type:u,invalid:!0,message:"Does not have own index property"}};try{var e=tt(i[l],t,!1,r);if(e.invalid)return n?0:{v:{type:u,invalid:!0,message:"Bad array entry value-to-key conversion"}};(!n||!r&&s.every((function(t){return 0!==qe(t,e.value)}))||r&&s.every((function(t){return 0!==qe(t,e)})))&&s.push(r?e:e.value)}catch(e){if(!n)throw e}},l=0;l<a;l++)if(0!==(c=d())&&c)return c.v;return{type:u,value:s};case"date":var f=e;return Number.isNaN(f.getTime())?{type:u,invalid:!0,message:"Not a valid date"}:r?{type:u,value:f.getTime()}:{type:u,value:new Date(f.getTime())};default:var D=null===e?"null":h(e);return{type:D,invalid:!0,message:"Not a valid key; type "+D}}}function nt(e,t){return tt(e,null,!0,t)}function rt(e,t){var n=Ze(e,t);if(n.invalid)throw Ae("DataError",n.message||"Not a valid key; type: "+n.type);return n}function ut(e,t,n,r){var u=ot(e,t);return u.failure?u:n?nt(u.value,r):tt(u.value,null,!1,r)}function ot(e,t,n,r){if(Array.isArray(t)){var u=[];return t.some((function(t){var n=ot(e,t);return!!n.failure||(u.push(n.value),!1)}))?{failure:!0}:{value:u}}return""===t?{value:e}:t.split(".").some((function(t){if("length"!==t||"string"!=typeof e&&!Array.isArray(e))if(Z(n=e)&&"size"in n&&"number"==typeof n.size&&"slice"in n&&"function"==typeof n.slice&&!("lastModified"in n))switch(t){case"size":case"type":e=e[t]}else{if(!function(e){return Z(e)&&"name"in e&&"string"==typeof e.name&&"slice"in e&&"function"==typeof e.slice&&"lastModified"in e}(e))return!Z(e)||!Object.hasOwn(e,t)||void 0===(e=e[t]);switch(t){case"name":case"lastModified":e=e[t];break;case"lastModifiedDate":e=new Date(e.lastModified)}}else e=e.length;var n;return!1}))?{failure:!0}:{value:e}}function it(e,t,n){var r=n.split("."),u=r.pop();r.forEach((function(t){Object.hasOwn(e,t)||(e[t]={}),e=e[t]})),e[u]=t}function at(e,t){var n=t.split(".");n.pop();var r,u=o(n);try{for(u.s();!(r=u.n()).done;){var i=r.value;if(!Z(e))return!1;if(!Object.hasOwn(e,i))return!0;e=e[i]}}catch(e){u.e(e)}finally{u.f()}return Z(e)}function ct(e,t,n){var r=void 0===t.lower,u=void 0===t.upper,o=lt(e,!0),i=n?t.__lowerCached:lt(t.lower,!0),a=n?t.__upperCached:lt(t.upper,!0);return!r&&(t.lowerOpen&&null!==o&&null!==i&&o>i||!t.lowerOpen&&(!o&&!i||null!==o&&null!==i&&o>=i))&&(r=!0),!u&&(t.upperOpen&&null!==o&&null!==a&&o<a||!t.upperOpen&&(!o&&!a||null!==o&&null!==a&&o<=a))&&(u=!0),r&&u}function st(e,t){return"array"===Ve[t.slice(0,1)]?t.indexOf(e)>1:t===e}function dt(e,t){var n=[];if(Array.isArray(e)){var r,u=o(e);try{for(u.s();!(r=u.n()).done;){var i=r.value;if(Array.isArray(i)){if(t&&t.lower===t.upper)continue;if(1!==i.length){dt(i,t).length>0&&n.push(i);continue}i=i[0]}(fe(t)||ct(i,t,!0))&&n.push(i)}}catch(e){u.e(e)}finally{u.f()}}else(fe(t)||ct(e,t,!0))&&n.push(e);return n}function lt(e,t){return void 0===e?null:Ge[Xe(e)].encode(e,t)}function ft(e,t){if("string"==typeof e)return Ge[Ve[e.slice(0,1)]].decode(e,t)}function Dt(e,t){return ft(lt(e,t),t)}var _t=9007199254740992;function pt(e,t,n,r){e.executeSql('SELECT "currNum" FROM __sys__ WHERE "name" = ?',[G(t.__currentName)],(function(e,t){1!==t.rows.length?n(1):n(t.rows.item(0).currNum)}),(function(e,t){return r(Ae("DataError","Could not get the auto increment value for key",t)),!1}))}function ht(e,t,n,r,u){var o='UPDATE __sys__ SET "currNum" = ? WHERE "name" = ?',i=[n,G(t.__currentName)];q.DEBUG&&console.log(o,i),e.executeSql(o,i,(function(){r(n)}),(function(e,t){return u(Ae("UnknownError","Could not set the auto increment value for key",t)),!1}))}function yt(e,t,n,r,u){return ht(e,t,n=n===_t?n+2:n+1,r,u)}function vt(e,t,n,r){pt(e,t,(function(u){u>_t?n("failure"):yt(e,t,u,(function(){n(null,u,u)}),r)}),r)}function Et(e,t,n,r,u){"number"!=typeof n||n<1?r():pt(e,t,(function(o){var i=Math.floor(Math.min(n,_t));i>=o?yt(e,t,i,(function(){r(o)}),u):r()}),u)}var bt=Object.freeze({__proto__:null,assignCurrentNumber:ht,checkKeyCouldBeInjectedIntoValue:at,convertKeyToValue:function e(t){var n=t.type,r=t.value;switch(n){case"number":case"string":return r;case"array":for(var u=[],o=r.length,i=0;i<o;){var a=e(r[i]);u[i]=a,i++}return u;case"date":return new Date(r);case"binary":var c=r.length,s=new ArrayBuffer(c);return new Uint8Array(s,r.byteOffset||0,r.byteLength).set(r),s;default:throw new Error("Bad key")}},convertValueToKey:Ze,convertValueToKeyRethrowingAndIfInvalid:rt,convertValueToKeyValueDecoded:tt,convertValueToMultiEntryKey:function(e){return tt(e,null,!0,!0)},convertValueToMultiEntryKeyDecoded:nt,decode:ft,encode:lt,evaluateKeyPathOnValue:function(e,t,n){return ot(e,t)},extractKeyFromValueUsingKeyPath:function(e,t,n){return ut(e,t,n,!0)},extractKeyValueDecodedFromValueUsingKeyPath:ut,findMultiEntryMatches:dt,generateKeyForStore:vt,injectKeyIntoValueUsingKeyPath:it,isKeyInRange:ct,isMultiEntryMatch:st,possiblyUpdateKeyGenerator:Et,roundTrip:Dt});function gt(){throw this.__lowerOpen=!1,this.__upperOpen=!1,new TypeError("Illegal constructor")}var mt=gt;function Ft(e,t,n,r,u,o){if(e&&(void 0!==e.lower||void 0!==e.upper)){var i,a;u&&n.push("AND");var c=void 0!==e.lower,s=void 0!==e.upper;if(c&&(i=o?e.__lowerCached:lt(e.lower)),s&&(a=o?e.__upperCached:lt(e.upper)),c){if(r.push(G(i)),s&&i===a&&!e.lowerOpen&&!e.upperOpen)return void n.push(t,"=","?");n.push(t,e.lowerOpen?">":">=","?")}c&&s&&n.push("AND"),s&&(n.push(t,e.upperOpen?"<":"<=","?"),r.push(G(a)))}}function At(e,t){if(X(e,gt))return"[object IDBKeyRange]"!==e.toString()?gt.__createInstance(e.lower,e.upper,e.lowerOpen,e.upperOpen):e;if(!fe(e))return rt(e),gt.only(e);if(t)throw Ae("DataError","No key or range was specified")}gt.__createInstance=function(e,t,n,r){function u(){if(this[Symbol.toStringTag]="IDBKeyRange",void 0===e&&void 0===t)throw Ae("DataError","Both arguments to the key range method cannot be undefined");var u,o;if(void 0!==e&&(u=Dt(e),rt(e)),void 0!==t&&(o=Dt(t),rt(t)),void 0!==e&&void 0!==t&&e!==t&<(e)>lt(t))throw Ae("DataError","`lower` must not be greater than `upper` argument in `bound()` call.");this.__lower=u,this.__upper=o,this.__lowerOpen=Boolean(n),this.__upperOpen=Boolean(r)}return u.prototype=mt.prototype,new u},gt.prototype.includes=function(e){if(!Z(this)||"boolean"!=typeof this.__lowerOpen)throw new TypeError("Illegal invocation");if(!arguments.length)throw new TypeError("IDBKeyRange.includes requires a key argument");return rt(e),ct(e,this)},gt.only=function(e){if(!arguments.length)throw new TypeError("IDBKeyRange.only requires a value argument");return gt.__createInstance(e,e,!1,!1)},gt.lowerBound=function(e){if(!arguments.length)throw new TypeError("IDBKeyRange.lowerBound requires a value argument");return gt.__createInstance(e,void 0,arguments[1],!0)},gt.upperBound=function(e){if(!arguments.length)throw new TypeError("IDBKeyRange.upperBound requires a value argument");return gt.__createInstance(void 0,e,!0,arguments[1])},gt.bound=function(e,t){if(arguments.length<=1)throw new TypeError("IDBKeyRange.bound requires lower and upper arguments");return gt.__createInstance(e,t,arguments[2],arguments[3])},gt.prototype[Symbol.toStringTag]="IDBKeyRangePrototype",["lower","upper","lowerOpen","upperOpen"].forEach((function(e){Object.defineProperty(gt.prototype,"__"+e,{enumerable:!1,configurable:!1,writable:!0});var t=i("get",{},e,(function(){if(!Z(this)||"boolean"!=typeof this.__lowerOpen)throw new TypeError("Illegal invocation");return this["__"+e]})),n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(gt.prototype,e,n)})),Object.defineProperty(gt,Symbol.hasInstance,{value:function(e){return Z(e)&&"upper"in e&&"lowerOpen"in e&&"boolean"==typeof e.lowerOpen}}),Object.defineProperty(gt,"prototype",{writable:!1});var Ct=!1,wt={test:!0};if(Object.defineProperty)try{Object.defineProperty(wt,"test",{enumerable:!1}),wt.test&&(Ct=!0)}catch(e){}var Bt=function(){throw this._items=[],this._length=0,new TypeError("Illegal constructor")};Bt.prototype=a(a({constructor:Bt,contains:function(e){if(!arguments.length)throw new TypeError("DOMStringList.contains must be supplied a value");return this._items.includes(e)},item:function(e){if(!arguments.length)throw new TypeError("DOMStringList.item must be supplied a value");return e<0||e>=this.length||!Number.isInteger(e)?null:this._items[e]},clone:function(){var e=Bt.__createInstance();return e._items=this._items.slice(),e._length=this.length,e.addIndexes(),e},addIndexes:function(){for(var e=0;e<this._items.length;e++)this[e]=this._items[e]},sortList:function(){return this._items.sort(),this.addIndexes(),this._items},forEach:function(e,t){this._items.forEach(e,t)},map:function(e,t){return this._items.map(e,t)},indexOf:function(e){return this._items.indexOf(e)},push:function(e){this._items.push(e),this._length++,this.sortList()},splice:function(){var e;for(var t in(e=this._items).splice.apply(e,arguments),this._length=this._items.length,this)t===String(Number.parseInt(t))&&delete this[t];this.sortList()}},Symbol.toStringTag,"DOMStringListPrototype"),Symbol.iterator,l().mark((function e(){var t;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=0;case 1:if(!(t<this._items.length)){e.next=6;break}return e.next=4,this._items[t++];case 4:e.next=1;break;case 6:case"end":return e.stop()}}),e,this)}))),Object.defineProperty(Bt,Symbol.hasInstance,{value:function(e){return"DOMStringListPrototype"===Object.prototype.toString.call(e)}});var It=Bt;if(Object.defineProperty(Bt,"__createInstance",{value:function(){var e=function(){this.toString=function(){return"[object DOMStringList]"},Object.defineProperty(this,"length",{enumerable:!0,get:function(){return this._length}}),this._items=[],this._length=0};return e.prototype=It.prototype,new e}}),Ct){Object.defineProperty(Bt,"prototype",{writable:!1});["addIndexes","sortList","forEach","map","indexOf","push","splice","constructor","__createInstance"].forEach((function(e){Object.defineProperty(Bt.prototype,e,{enumerable:!1})})),Object.defineProperty(Bt.prototype,"length",{configurable:!0,enumerable:!0,get:function(){throw new TypeError("Illegal invocation")}});["_items","_length"].forEach((function(e){Object.defineProperty(Bt.prototype,e,{enumerable:!1,writable:!0})}))}var Ot=0,St=["onabort","oncomplete","onerror"],Tt=["objectStoreNames","mode","db","error"];function xt(){throw new TypeError("Illegal constructor")}var Nt=xt;function jt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(n),!0).forEach((function(t){qt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kt(e){return kt="function"==typeof Symbol&&"symbol"==h(Symbol.iterator)?function(e){return h(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":h(e)},kt(e)}function Lt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Kt(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function qt(e,t,n){return(t=Kt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ut(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 r,u,o,i,a=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){s=!0,u=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw u}}return a}}(e,t)||Mt(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 Mt(e,t){if(e){if("string"==typeof e)return Vt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vt(e,t):void 0}}function Vt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Kt(e){var t=function(e,t){if("object"!=h(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==h(t)?t:String(t)}xt.__createInstance=function(e,t,n){function r(){var r=this,u=this;u[Symbol.toStringTag]="IDBTransaction",ue(u,Tt),u.__id=++Ot,u.__active=!0,u.__running=!1,u.__errored=!1,u.__requests=[],u.__objectStoreNames=t,u.__mode=n,u.__db=e,u.__error=null,u.__setOptions({legacyOutputDidListenersThrowFlag:!0}),Tt.forEach((function(e){Object.defineProperty(r,e,{configurable:!0})})),re(this,St),u.__storeHandles={},setTimeout((function(){u.__executeRequests()}),0)}return r.prototype=Nt.prototype,new r},xt.prototype=L.createInstance({defaultSync:!0,extraProperties:["complete"]}),xt.prototype.__transFinishedCb=function(e,t){t(Boolean(e))},xt.prototype.__executeRequests=function(){var e=this;e.__running?q.DEBUG&&console.log("Looks like the request set is already running",e.mode):(e.__running=!0,e.db.__db["readonly"===e.mode?"readTransaction":"transaction"]((function(t){e.__tx=t;var n,r=-1;function u(t,r){if(!e.__errored&&!e.__requestsFinished&&(r&&(n.req=r),n.req&&!n.req.__done)){n.req.__done=!0,n.req.__result=t,n.req.__error=null,e.__active=!0;var u=De("success");if(n.req.dispatchEvent(u),u.__legacyOutputDidListenersThrowError)return Ee("Error","An error occurred in a success handler attached to request chain",u.__legacyOutputDidListenersThrowError),void e.__abortTransaction(Ae("AbortError","A request was aborted (in user handler after success)."));a()}}function i(){if(!(e.__errored||e.__requestsFinished||n.req&&n.req.__done)){for(var t=arguments.length,r=new Array(t),u=0;u<t;u++)r[u]=arguments[u];var i=function(e){var t;if(e){if(1===e.length)return e[0];var n,r=o(e);try{for(r.s();!(n=r.n()).done;){var u=n.value;if(be(u))return u;u&&"string"==typeof u.message&&(t=u)}}catch(t){r.e(t)}finally{r.f()}}return t}(r);if(n.req){n.req.__done=!0,n.req.__error=i,n.req.__result=void 0,n.req.addLateEventListener("error",(function(e){e.cancelable&&e.defaultPrevented&&!e.__legacyOutputDidListenersThrowError&&a()})),n.req.addDefaultEventListener("error",(function(){n.req&&e.__abortTransaction(n.req.__error)})),e.__active=!0;var c=De("error",i,{bubbles:!0,cancelable:!0});n.req.dispatchEvent(c),c.__legacyOutputDidListenersThrowError&&(Ee("Error","An error occurred in an error handler attached to request chain",c.__legacyOutputDidListenersThrowError),c.preventDefault(),e.__abortTransaction(Ae("AbortError","A request was aborted (in user handler after error).")))}else e.__abortTransaction(i)}}function a(){if(!e.__errored&&!e.__requestsFinished)if(++r>=e.__requests.length)e.__requests=[],e.__active&&function(){function t(){e.__completed=!0,q.DEBUG&&console.log("Transaction completed");var t=De("complete");try{e.__internal=!0,e.dispatchEvent(t),e.__internal=!1,e.dispatchEvent(De("__complete"))}catch(t){throw e.__internal=!1,e.__errored=!0,t}finally{e.__storeHandles={}}}if(e.__active=!1,e.__requestsFinished=!0,"readwrite"===e.mode)return e.__transactionFinished?void t():void(e.__transactionEndCallback=t);if("readonly"===e.mode)return void t();var n=De("__beforecomplete");n.complete=t,e.dispatchEvent(n)}();else try{if(!(n=e.__requests[r]).req)return void n.op(t,n.args,a,i);if(n.req.__done)return;n.op(t,n.args,u,i,a)}catch(e){i(e)}}a()}),(function(t){if(!0!==t){var n=ge(t);e.__abortTransaction(n)}}),(function(){e.__transFinishedCb===xt.prototype.__transFinishedCb&&(e.__transactionEndCallback||e.__requestsFinished?e.__transactionEndCallback&&!e.__completed&&e.__transFinishedCb(e.__errored,e.__transactionEndCallback):e.__transactionFinished=!0)}),(function(t,n,r,u,o){return!(!t.readOnly&&!n)||(e.__transFinishedCb=function(e,t){e?u(e,t):o(t)},e.__transactionEndCallback&&!e.__completed&&e.__transFinishedCb(e.__errored,e.__transactionEndCallback),!1)})))},xt.prototype.__createRequest=function(e){var t=Oe.__createInstance();return t.__source=void 0!==e?e:this.db,t.__transaction=this,t},xt.prototype.__addToTransactionQueue=function(e,t,n){var r=this.__createRequest(n);return this.__pushToQueue(r,e,t),r},xt.prototype.__addNonRequestToTransactionQueue=function(e,t){this.__pushToQueue(null,e,t)},xt.prototype.__pushToQueue=function(e,t,n){this.__assertActive(),this.__requests.push({op:t,args:n,req:e})},xt.prototype.__assertActive=function(){if(!this.__active)throw Ae("TransactionInactiveError","A request was placed against a transaction which is currently not active, or which is finished")},xt.prototype.__assertWritable=function(){if("readonly"===this.mode)throw Ae("ReadOnlyError","The transaction is read only")},xt.prototype.__assertVersionChange=function(){xt.__assertVersionChange(this)},xt.prototype.objectStore=function(e){var t=this;if(!(t instanceof xt))throw new TypeError("Illegal invocation");if(0===arguments.length)throw new TypeError("No object store name was specified");if(xt.__assertNotFinished(t),-1===t.__objectStoreNames.indexOf(e))throw Ae("NotFoundError",e+" is not participating in this transaction");var n=t.db.__objectStores[e];if(!n)throw Ae("NotFoundError",e+" does not exist in "+t.db.name);return(!t.__storeHandles[e]||t.__storeHandles[e].__pendingDelete||t.__storeHandles[e].__deleted)&&(t.__storeHandles[e]=hr.__clone(n,t)),t.__storeHandles[e]},xt.prototype.__abortTransaction=function(e){var t=this;function n(n,r){n?r&&"code"in r&&"number"==typeof r.code?q.DEBUG&&console.log("Rollback erred; feature is probably not supported as per WebSQL",t):q.DEBUG&&console.log("Rollback succeeded",t):q.DEBUG&&console.log("Rollback not possible due to missing transaction",t),t.dispatchEvent(De("__preabort")),t.__requests.filter((function(e,t,n){return e.req&&!e.req.__done&&[t,-1].includes(n.map((function(e){return e.req})).lastIndexOf(e.req))})).reduce((function(e,t){return e.then((function(){if(!t.req)throw new Error("Missing request");t.req.__done=!0,t.req.__result=void 0,t.req.__error=Ae("AbortError","A request was aborted (an unfinished request).");var e=De("error",t.req.__error,{bubbles:!0,cancelable:!0});return new Re((function(n){setTimeout((function(){if(!t.req)throw new Error("Missing request");t.req.dispatchEvent(e),n()}))}))}))}),Re.resolve(void 0)).then((function(){var n=De("abort",e,{bubbles:!0,cancelable:!1});setTimeout((function(){t.__abortFinished=!0,t.dispatchEvent(n),t.__storeHandles={},t.dispatchEvent(De("__abort"))}))})).catch((function(e){throw console.log("Abort error"),e}))}Ee("Error","An error occurred in a transaction",e),t.__errored||(t.__errored=!0,"versionchange"===t.mode&&(t.db.__version=t.db.__oldVersion,t.db.__objectStoreNames=t.db.__oldObjectStoreNames,t.__objectStoreNames=t.db.__oldObjectStoreNames,Object.values(t.db.__objectStores).concat(Object.values(t.__storeHandles)).forEach((function(e){"__pendingName"in e&&t.db.__oldObjectStoreNames.indexOf(e.__pendingName)>-1&&(e.__name=e.__originalName),e.__indexNames=e.__oldIndexNames,delete e.__pendingDelete,Object.values(e.__indexes).concat(Object.values(e.__indexHandles)).forEach((function(t){"__pendingName"in t&&e.__oldIndexNames.indexOf(t.__pendingName)>-1&&(t.__name=t.__originalName),delete t.__pendingDelete}))}))),t.__active=!1,null!==e&&(t.__error=e),t.__requestsFinished&&setTimeout((function(){throw e}),0),t.__transFinishedCb(!0,(function(e){if(e&&t.__tx){if("readwrite"===t.mode)return t.__transactionFinished?void n():void(t.__transactionEndCallback=n);try{t.__tx.executeSql("ROLLBACK",[],n,n)}catch(e){n()}}else n(null,{code:0})})))},xt.prototype.abort=function(){var e=this;if(!(e instanceof xt))throw new TypeError("Illegal invocation");q.DEBUG&&console.log("The transaction was aborted",e),xt.__assertNotFinished(e),e.__abortTransaction(null)},xt.prototype[Symbol.toStringTag]="IDBTransactionPrototype",xt.__assertVersionChange=function(e){if(!e||"versionchange"!==e.mode)throw Ae("InvalidStateError","Not a version transaction")},xt.__assertNotVersionChange=function(e){if(e&&"versionchange"===e.mode)throw Ae("InvalidStateError","Cannot be called during a version transaction")},xt.__assertNotFinished=function(e){if(!e||e.__completed||e.__abortFinished||e.__errored)throw Ae("InvalidStateError","Transaction finished by commit or abort")},xt.__assertNotFinishedObjectStoreMethod=function(e){try{xt.__assertNotFinished(e)}catch(t){if(e&&!e.__completed&&!e.__abortFinished)throw Ae("TransactionInactiveError","A request was placed against a transaction which is currently not active, or which is finished");throw t}},xt.__assertActive=function(e){if(!e||!e.__active)throw Ae("TransactionInactiveError","A request was placed against a transaction which is currently not active, or which is finished")},xt.prototype.__getParent=function(){return this.db},te(xt.prototype,St),ne(xt.prototype,Tt),Object.defineProperty(xt.prototype,"constructor",{enumerable:!1,writable:!0,configurable:!0,value:xt}),Object.defineProperty(xt,"prototype",{writable:!1});var Gt=Rt((function e(t){Lt(this,e),this.p=new Promise(t)}));Gt.__typeson__type__="TypesonPromise","undefined"!=typeof Symbol&&Object.defineProperty(Gt.prototype,Symbol.toStringTag,{get:function(){return"TypesonPromise"}}),Gt.prototype.then=function(e,t){var n=this;return new Gt((function(r,u){n.p.then((function(t){r(e?e(t):t)})).catch((function(e){return t?t(e):Promise.reject(e)})).then(r,u)}))},Gt.prototype.catch=function(e){return this.then((function(){}),e)},Gt.resolve=function(e){return new Gt((function(t){t(e)}))},Gt.reject=function(e){return new Gt((function(t,n){n(e)}))},Gt.all=function(e){return new Gt((function(t,n){Promise.all(e.map((function(e){return null!=e&&e.constructor&&"__typeson__type__"in e.constructor&&"TypesonPromise"===e.constructor.__typeson__type__?e.p:e}))).then(t,n)}))},Gt.race=function(e){return new Gt((function(t,n){Promise.race(e.map((function(e){return null!=e&&e.constructor&&"__typeson__type__"in e.constructor&&"TypesonPromise"===e.constructor.__typeson__type__?e.p:e}))).then(t,n)}))},Gt.allSettled=function(e){return new Gt((function(t,n){Promise.allSettled(e.map((function(e){return null!=e&&e.constructor&&"__typeson__type__"in e.constructor&&"TypesonPromise"===e.constructor.__typeson__type__?e.p:e}))).then(t,n)}))};var Ht=Object.hasOwn,Qt=Object.getPrototypeOf;function Wt(e,t){return Xt(e)&&"function"==typeof e.then&&!t}function $t(e){return Object.prototype.toString.call(e).slice(8,-1)}function Yt(e,t){if(!e||"object"!==kt(e))return!1;var n=Qt(e);if(!n)return null===t;var r=Ht(n,"constructor")&&n.constructor;return"function"!=typeof r?null===t:t===r||null!==t&&Function.prototype.toString.call(r)===Function.prototype.toString.call(t)||"function"==typeof t&&"string"==typeof r.__typeson__type__&&r.__typeson__type__===t.__typeson__type__}function zt(e){return!(!e||"Object"!==$t(e))&&(!Qt(e)||Yt(e,Object))}function Jt(e){if(!e||"Object"!==$t(e))return!1;var t=Qt(e);return!t||Yt(e,Object)||Jt(t)}function Xt(e){return null!==e&&"object"===kt(e)}function Zt(e){return e.replaceAll("''","''''").replace(/^$/,"''").replaceAll("~","~0").replaceAll(".","~1")}function en(e){return e.replaceAll("~1",".").replaceAll("~0","~").replace(/^''$/,"").replaceAll("''''","''")}function tn(e,t){if(""===t)return e;if(null===e||"object"!==kt(e))throw new TypeError("Unexpected non-object type");var n=t.indexOf(".");if(n>-1){var r=e[en(t.slice(0,n))];return void 0===r?void 0:tn(r,t.slice(n+1))}return e[en(t)]}function nn(e,t,n){if(""===t)return n;if(!e||"object"!==kt(e))throw new TypeError("Unexpected non-object type");var r=t.indexOf(".");return r>-1?nn(e[en(t.slice(0,r))],t.slice(r+1),n):(e[en(t)]=n,e)}function rn(e){return null===e?"null":Array.isArray(e)?"array":kt(e)}function un(e,t,n){return e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e}var on=Object.keys,an=Object.hasOwn,cn=Array.isArray,sn=["type","replaced","iterateIn","iterateUnsetNumeric","addLength"];function dn(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{return Promise.resolve(e.apply(this,t))}catch(e){return Promise.reject(e)}}}function ln(e,t){var n,r;if(""===e.keypath)return-1;var u=null!==(n=e.keypath.match(/\./g))&&void 0!==n?n:0,o=null!==(r=t.keypath.match(/\./g))&&void 0!==r?r:0;return u&&(u=u.length),o&&(o=o.length),u>o?-1:u<o?1:e.keypath<t.keypath?-1:e.keypath>t.keypath?1:0}var fn=function(){function e(t){Lt(this,e),this.options=t,this.plainObjectReplacers=[],this.nonplainObjectReplacers=[],this.revivers={},this.types={}}return Rt(e,[{key:"stringify",value:function(e,t,n,r){r=Pt(Pt(Pt({},this.options),r),{},{stringification:!0});var u=this.encapsulate(e,null,r);return cn(u)?JSON.stringify(u[0],t,n):u.then((function(e){return JSON.stringify(e,t,n)}))}},{key:"stringifySync",value:function(e,t,n,r){return this.stringify(e,t,n,Pt(Pt({throwOnBadSyncType:!0},r),{},{sync:!0}))}},{key:"stringifyAsync",value:function(e,t,n,r){return this.stringify(e,t,n,Pt(Pt({throwOnBadSyncType:!0},r),{},{sync:!1}))}},{key:"parse",value:function(e,t,n){return n=Pt(Pt(Pt({},this.options),n),{},{parse:!0}),this.revive(JSON.parse(e,t),n)}},{key:"parseSync",value:function(e,t,n){return this.parse(e,t,Pt(Pt({throwOnBadSyncType:!0},n),{},{sync:!0}))}},{key:"parseAsync",value:function(e,t,n){return this.parse(e,t,Pt(Pt({throwOnBadSyncType:!0},n),{},{sync:!1}))}},{key:"specialTypeNames",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.returnTypeNames=!0,this.encapsulate(e,t,n)}},{key:"rootTypeName",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.iterateNone=!0,this.encapsulate(e,t,n)}},{key:"encapsulate",value:function(e,t,n){var r=this,u=Pt(Pt({sync:!0},this.options),n),o=u.sync,i={},a=[],c=[],s=[],d=!("cyclic"in u)||u.cyclic,l=u.encapsulateObserver,f=function(e){var t=Object.values(i);if(u.iterateNone)return t.length?t[0]:rn(e);if(t.length){if(u.returnTypeNames)return function(e){return function(e){if(Array.isArray(e))return Vt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Mt(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.")}()}(new Set(t));e&&zt(e)&&!an(e,"$types")?e.$types=i:e={$:e,$types:{$:i}}}else Xt(e)&&an(e,"$types")&&(e={$:e,$types:!0});return!u.returnTypeNames&&e},D=dn((function(e,t){return un(Promise.all(t.map((function(e){return e[1].p}))),(function(n){return un(Promise.all(n.map(dn((function(n){var r=!1,u=[],o=Ut(t.splice(0,1),1),i=Ut(o[0],7),a=i[0],c=i[2],s=i[3],d=i[4],l=i[5],f=i[6],_=p(a,n,c,s,u,!0,f),h=Yt(_,Gt);return function(e,t){var n=e();return n&&n.then?n.then(t):t(n)}((function(){if(a&&h)return un(_.p,(function(t){d[l]=t;var n=D(e,u);return r=!0,n}))}),(function(t){return r?t:(a?d[l]=_:e=h?_.p:_,D(e,u))}))})))),(function(){return e}))}))})),_=function(e,t,n){Object.assign(e,t);var r=sn.map((function(t){var n=e[t];return delete e[t],n}));n(),sn.forEach((function(t,n){e[t]=r[n]}))},p=function e(t,n,o,s,d,f,D){var p,y={},v=kt(n),E=l?function(e){var r,u=null!==(r=null!=D?D:s.type)&&void 0!==r?r:rn(n);l(Object.assign(null!=e?e:y,{keypath:t,value:n,cyclic:o,stateObj:s,promisesData:d,resolvingTypesonPromise:f,awaitingTypesonPromise:Yt(n,Gt)},{type:u}))}:null;if(["string","boolean","number","undefined"].includes(v))return void 0===n||Number.isNaN(n)||n===Number.NEGATIVE_INFINITY||n===Number.POSITIVE_INFINITY||0===n?(p=s.replaced?n:h(t,n,s,d,!1,f,E))!==n&&(y={replaced:p}):p=n,E&&E(),p;if(null===n)return E&&E(),n;if(o&&!s.iterateIn&&!s.iterateUnsetNumeric&&n&&"object"===kt(n)){var b=a.indexOf(n);if(!(b<0))return i[t]="#",E&&E({cyclicKeypath:c[b]}),"#"+c[b];!0===o&&(a.push(n),c.push(t))}var g,m,F=zt(n),A=cn(n),C=(F||A)&&(!r.plainObjectReplacers.length||s.replaced)||s.iterateIn?n:h(t,n,s,d,F||A,null,E);if(C!==n?(p=C,y={replaced:C}):""===t&&Yt(n,Gt)?(d.push([t,n,o,s,void 0,void 0,s.type]),p=n):A&&"object"!==s.iterateIn||"array"===s.iterateIn?(g=new Array(n.length),y={clone:g}):(["function","symbol"].includes(kt(n))||"toJSON"in n||Yt(n,Gt)||Yt(n,Promise)||Yt(n,ArrayBuffer))&&!F&&"object"!==s.iterateIn?p=n:(g={},s.addLength&&(g.length=n.length),y={clone:g}),E&&E(),u.iterateNone)return null!==(m=g)&&void 0!==m?m:p;if(!g)return p;if(s.iterateIn){var w=function(r){var u={ownKeys:an(n,r)};_(s,u,(function(){var u=t+(t?".":"")+Zt(r),i=e(u,n[r],Boolean(o),s,d,f);Yt(i,Gt)?d.push([u,i,Boolean(o),s,g,r,s.type]):void 0!==i&&(g[r]=i)}))};for(var B in n)w(B);E&&E({endIterateIn:!0,end:!0})}else on(n).forEach((function(r){var u=t+(t?".":"")+Zt(r);_(s,{ownKeys:!0},(function(){var t=e(u,n[r],Boolean(o),s,d,f);Yt(t,Gt)?d.push([u,t,Boolean(o),s,g,r,s.type]):void 0!==t&&(g[r]=t)}))})),E&&E({endIterateOwn:!0,end:!0});if(s.iterateUnsetNumeric){for(var I=n.length,O=function(r){if(!(r in n)){var u="".concat(t).concat(t?".":"").concat(r);_(s,{ownKeys:!1},(function(){var t=e(u,void 0,Boolean(o),s,d,f);Yt(t,Gt)?d.push([u,t,Boolean(o),s,g,r,s.type]):void 0!==t&&(g[r]=t)}))}},S=0;S<I;S++)O(S);E&&E({endIterateUnsetNumeric:!0,end:!0})}return g},h=function(e,t,n,u,a,c,s){for(var l=a?r.plainObjectReplacers:r.nonplainObjectReplacers,f=l.length;f--;){var D=l[f];if(D.test(t,n)){var _=D.type;if(r.revivers[_]){var h=i[e];i[e]=h?[_].concat(h):_}if(Object.assign(n,{type:_,replaced:!0}),(o||!D.replaceAsync)&&!D.replace)return s&&s({typeDetected:!0}),p(e,t,d&&"readonly",n,u,c,_);s&&s({replacing:!0});var y=void 0;if(o||!D.replaceAsync){if(void 0===D.replace)throw new TypeError("Missing replacer");y=D.replace(t,n)}else y=D.replaceAsync(t,n);return p(e,y,d&&"readonly",n,u,c,_)}}return t},y=p("",e,d,null!=t?t:{},s);if(s.length)return o&&u.throwOnBadSyncType?function(){throw new TypeError("Sync method requested but async result obtained")}():Promise.resolve(D(y,s)).then(f);if(!o&&u.throwOnBadSyncType)throw new TypeError("Async method requested but sync result obtained");return u.stringification&&o?[f(y)]:o?f(y):Promise.resolve(f(y))}},{key:"encapsulateSync",value:function(e,t,n){return this.encapsulate(e,t,Pt(Pt({throwOnBadSyncType:!0},n),{},{sync:!0}))}},{key:"encapsulateAsync",value:function(e,t,n){return this.encapsulate(e,t,Pt(Pt({throwOnBadSyncType:!0},n),{},{sync:!1}))}},{key:"revive",value:function(e,t){var n=this,r=Pt(Pt({sync:!0},this.options),t),u=r.sync;function o(e){if(u)return e;if(r.throwOnBadSyncType)throw new TypeError("Async method requested but sync result obtained");return Promise.resolve(e)}if(!e||"object"!==kt(e)||Array.isArray(e))return o(e);var i=e.$types;if(!0===i)return o(e.$);if(!i||"object"!==kt(i)||Array.isArray(i))return o(e);var a=[],c={},s=!0;i.$&&zt(i.$)&&(e=e.$,i=i.$,s=!1);var d=function(e,t){var r,o=Ut(null!==(r=n.revivers[e])&&void 0!==r?r:[],1)[0];if(!o)throw new Error("Unregistered type: "+e);if(u&&!("revive"in o))return t;if(!u&&o.reviveAsync)return o.reviveAsync(t,c);if(o.revive)return o.revive(t,c);throw new Error("Missing reviver")},l=[];function f(e){return Yt(e,Dn)?void 0:e}var D,_=function(){var t=[];if(!i)throw new Error("Found bad `types`");if(Object.entries(i).forEach((function(e){var r=Ut(e,2),u=r[0],o=r[1];"#"!==o&&[].concat(o).forEach((function(e){var r;Ut(null!==(r=n.revivers[e])&&void 0!==r?r:[null,{}],2)[1].plain&&(t.push({keypath:u,type:e}),delete i[u])}))})),t.length)return t.sort(ln).reduce((function t(n,r){var u=r.keypath,o=r.type;if(Wt(n))return n.then((function(e){return t(e,{keypath:u,type:o})}));var i=tn(e,u);if(Yt(i=d(o,i),Gt))return i.then((function(t){var n=nn(e,u,t);n===t&&(e=n)}));var a=nn(e,u,i);a===i&&(e=a)}),void 0)}();return Yt(_,Gt)?D=_.then((function(){return e})):(D=function e(t,n,r,u,o){if(!s||"$types"!==t){var c=i[t],f=cn(n);if(f||zt(n)){var D=f?new Array(n.length):{};for(on(n).forEach((function(u){var o=e(t+(t?".":"")+Zt(u),n[u],null!=r?r:D,D,u),i=function(e){return Yt(e,Dn)?D[u]=void 0:void 0!==e&&(D[u]=e),e};Yt(o,Gt)?l.push(o.then((function(e){return i(e)}))):i(o)})),n=D;a.length;){var _=Ut(a[0],4),p=_[0],h=_[1],y=_[2],v=_[3],E=tn(p,h);if(void 0===E)break;y[v]=E,a.splice(0,1)}}if(!c)return n;if("#"===c){var b=tn(r,n.slice(1));return void 0===b&&a.push([r,n.slice(1),u,o]),b}return[].concat(c).reduce((function e(t,n){if(Yt(t,Gt))return t.then((function(t){return e(t,n)}));if("string"!=typeof n)throw new TypeError("Bad type JSON");return d(n,t)}),n)}}("",e,null),l.length&&(D=Gt.resolve(D).then((function(e){return Gt.all([e].concat(l))})).then((function(e){return Ut(e,1)[0]})))),Wt(D)?u&&r.throwOnBadSyncType?function(){throw new TypeError("Sync method requested but async result obtained")}():Yt(D,Gt)?D.p.then(f):D:!u&&r.throwOnBadSyncType?function(){throw new TypeError("Async method requested but sync result obtained")}():u?f(D):Promise.resolve(f(D))}},{key:"reviveSync",value:function(e,t){return this.revive(e,Pt(Pt({throwOnBadSyncType:!0},t),{},{sync:!0}))}},{key:"reviveAsync",value:function(e,t){return this.revive(e,Pt(Pt({throwOnBadSyncType:!0},t),{},{sync:!1}))}},{key:"register",value:function(e,t){var n=this,r=null!=t?t:{},u=function e(t){cn(t)?t.forEach((function(t){return e(t)})):on(t).forEach((function(e){var u;if("#"===e)throw new TypeError("# cannot be used as a type name as it is reserved for cyclic objects");if(_n.includes(e))throw new TypeError("Plain JSON object types are reserved as type names");var o=t[e],i=o&&"function"!=typeof o&&!Array.isArray(o)&&o.testPlainObjects?n.plainObjectReplacers:n.nonplainObjectReplacers,a=i.filter((function(t){return t.type===e}));if(a.length&&(i.splice(i.indexOf(a[0]),1),delete n.revivers[e],delete n.types[e]),"function"==typeof o){var c=o;o={test:function(e){return e&&e.constructor===c},replace:function(e){return Pt({},e)},revive:function(e){return Object.assign(Object.create(c.prototype),e)}}}else if(cn(o)){var s=Ut(o,3);o={test:s[0],replace:s[1],revive:s[2]}}if(null!==(u=o)&&void 0!==u&&u.test){var d={type:e,test:o.test.bind(o)};o.replace&&(d.replace=o.replace.bind(o)),o.replaceAsync&&(d.replaceAsync=o.replaceAsync.bind(o));var l="number"==typeof r.fallback?r.fallback:r.fallback?0:Number.POSITIVE_INFINITY;if(o.testPlainObjects?n.plainObjectReplacers.splice(l,0,d):n.nonplainObjectReplacers.splice(l,0,d),o.revive||o.reviveAsync){var f={};o.revive&&(f.revive=o.revive.bind(o)),o.reviveAsync&&(f.reviveAsync=o.reviveAsync.bind(o)),n.revivers[e]=[f,{plain:o.testPlainObjects}]}n.types[e]=o}}))};return[].concat(e).forEach((function(e){return u(e)})),this}}]),e}(),Dn=Rt((function e(){Lt(this,e)}));Dn.__typeson__type__="TypesonUndefined";for(var _n=["null","boolean","number","string","array","object"],pn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",hn=new Uint8Array(256),yn=0;yn<64;yn++)hn[pn.codePointAt(yn)]=yn;var vn=function(e,t,n){null==n&&(n=e.byteLength);for(var r=new Uint8Array(e,0,n),u=r.length,o="",i=0;i<u;i+=3)o+=pn[r[i]>>2],o+=pn[(3&r[i])<<4|r[i+1]>>4],o+=pn[(15&r[i+1])<<2|r[i+2]>>6],o+=pn[63&r[i+2]];return u%3==2?o=o.slice(0,-1)+"=":u%3==1&&(o=o.slice(0,-2)+"=="),o},En=function(e,t){var n=e.length;if(n%4)throw new Error("Bad base64 length: not divisible by four");var r,u,o,i,a=.75*e.length,c=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);for(var s=new ArrayBuffer(a,t),d=new Uint8Array(s),l=0;l<n;l+=4)r=hn[e.codePointAt(l)],u=hn[e.codePointAt(l+1)],o=hn[e.codePointAt(l+2)],i=hn[e.codePointAt(l+3)],d[c++]=r<<2|u>>4,d[c++]=(15&u)<<4|o>>2,d[c++]=(3&o)<<6|63&i;return s},bn={arraybuffer:{test:function(e){return"ArrayBuffer"===$t(e)},replace:function(e,t){t.buffers||(t.buffers=[]);var n=t.buffers.indexOf(e);return n>-1?{index:n}:(t.buffers.push(e),{s:vn(e),maxByteLength:e.maxByteLength})},revive:function(e,t){if(t.buffers||(t.buffers=[]),Object.hasOwn(e,"index"))return t.buffers[e.index];var n=En(e.s,{maxByteLength:e.maxByteLength});return t.buffers.push(n),n}}},gn={bigintObject:{test:function(e){return"object"==h(e)&&Yt(e,BigInt)},replace:String,revive:function(e){return new Object(BigInt(e))}}},mn={bigint:{test:function(e){return"bigint"==typeof e},replace:String,revive:function(e){return BigInt(e)}}};function Fn(e){return new Uint8Array(e).reduce((function(e,t){return e+String.fromCodePoint(t)}),"")}function An(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t.buffer}var Cn={blob:{test:function(e){return"Blob"===$t(e)},replace:function(e){var t=new XMLHttpRequest;if(t.overrideMimeType("text/plain; charset=x-user-defined"),t.open("GET",URL.createObjectURL(e),!1),t.send(),200!==t.status&&0!==t.status)throw new Error("Bad Blob access: "+t.status);return{type:e.type,stringContents:t.responseText}},revive:function(e){var t=e.type,n=e.stringContents;return new Blob([An(n)],{type:t})},replaceAsync:function(e){return new Gt((function(t,n){var r=new FileReader;r.addEventListener("load",(function(){t({type:e.type,stringContents:Fn(r.result)})})),r.addEventListener("error",(function(){n(r.error)})),r.readAsArrayBuffer(e)}))}}},wn={cryptokey:{test:function(e){return"CryptoKey"===$t(e)&&e.extractable},replaceAsync:function(e){return new Gt(function(){var t=n(l().mark((function t(n,r){var u;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,crypto.subtle.exportKey("jwk",e);case 3:u=t.sent,t.next=9;break;case 6:return t.prev=6,t.t0=t.catch(0),t.abrupt("return",void r(t.t0));case 9:n({jwk:u,algorithm:e.algorithm,usages:e.usages});case 10:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e,n){return t.apply(this,arguments)}}())},revive:function(e){var t=e.jwk,n=e.algorithm,r=e.usages;return crypto.subtle.importKey("jwk",t,n,!0,r)}}},Bn={dataview:{test:function(e){return"DataView"===$t(e)},replace:function(e,t){var n=e.buffer,r=e.byteOffset,u=e.byteLength;t.buffers||(t.buffers=[]);var o=t.buffers.indexOf(n);return o>-1?{index:o,byteOffset:r,byteLength:u}:(t.buffers.push(n),{encoded:vn(n),maxByteLength:n.maxByteLength,byteOffset:r,byteLength:u})},revive:function(e,t){t.buffers||(t.buffers=[]);var n,r=e.byteOffset,u=e.byteLength,o=e.encoded,i=e.index,a=e.maxByteLength;return"index"in e?n=t.buffers[i]:(n=En(o,void 0===a?a:{maxByteLength:a}),t.buffers.push(n)),new DataView(n,r,u)}}},In={date:{test:function(e){return"Date"===$t(e)},replace:function(e){var t=e.getTime();return Number.isNaN(t)?"NaN":t},revive:function(e){return"NaN"===e?new Date(Number.NaN):new Date(e)}}},On={domexception:{test:function(e){return"DOMException"===$t(e)},replace:function(e){return{name:e.name,message:e.message}},revive:function(e){var t=e.message,n=e.name;return new DOMException(t,n)}}},Sn={};function Tn(e){Sn[e.name.toLowerCase()]={test:function(t){return $t(t)===e.name},replace:function(e){return e.is2D?{a:e.a,b:e.b,c:e.c,d:e.d,e:e.e,f:e.f}:{m11:e.m11,m12:e.m12,m13:e.m13,m14:e.m14,m21:e.m21,m22:e.m22,m23:e.m23,m24:e.m24,m31:e.m31,m32:e.m32,m33:e.m33,m34:e.m34,m41:e.m41,m42:e.m42,m43:e.m43,m44:e.m44}},revive:function(t){return Object.hasOwn(t,"a")?new e([t.a,t.b,t.c,t.d,t.e,t.f]):new e([t.m11,t.m12,t.m13,t.m14,t.m21,t.m22,t.m23,t.m24,t.m31,t.m32,t.m33,t.m34,t.m41,t.m42,t.m43,t.m44])}}}"undefined"!=typeof DOMMatrix&&Tn(DOMMatrix),"undefined"!=typeof DOMMatrixReadOnly&&Tn(DOMMatrixReadOnly);var xn={};function Nn(e){xn[e.name.toLowerCase()]={test:function(t){return $t(t)===e.name},replace:function(e){return{x:e.x,y:e.y,z:e.z,w:e.w}},revive:function(t){var n=t.x,r=t.y,u=t.z,o=t.w;return new e(n,r,u,o)}}}"undefined"!=typeof DOMPoint&&Nn(DOMPoint),"undefined"!=typeof DOMPointReadOnly&&Nn(DOMPointReadOnly);var jn={domquad:{test:function(e){return"DOMQuad"===$t(e)},replace:function(e){return{p1:e.p1,p2:e.p2,p3:e.p3,p4:e.p4}},revive:function(e){var t=e.p1,n=e.p2,r=e.p3,u=e.p4;return new DOMQuad(t,n,r,u)}}},Pn={};function kn(e){Pn[e.name.toLowerCase()]={test:function(t){return $t(t)===e.name},replace:function(e){return{x:e.x,y:e.y,width:e.width,height:e.height}},revive:function(t){var n=t.x,r=t.y,u=t.width,o=t.height;return new e(n,r,u,o)}}}"undefined"!=typeof DOMRect&&kn(DOMRect),"undefined"!=typeof DOMRectReadOnly&&kn(DOMRectReadOnly);var Ln={error:{test:function(e){return"Error"===$t(e)},replace:function(e){return{name:e.name,message:e.message,cause:e.cause,stack:e.stack,fileName:e.fileName,lineNumber:e.lineNumber,columnNumber:e.columnNumber}},revive:function(e){var t=new Error(e.message);return t.name=e.name,t.cause=e.cause,t.stack=e.stack,t.fileName=e.fileName,t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}}},Rn={};function qn(e){Rn[e.name.toLowerCase()]={test:function(t){return Yt(t,e)},replace:function(e){return{name:e.name,message:e.message,cause:e.cause,stack:e.stack,fileName:e.fileName,lineNumber:e.lineNumber,columnNumber:e.columnNumber,errors:e.errors}},revive:function(t){var n="undefined"!=typeof AggregateError&&e===AggregateError?new e(t.errors,t.message):new e(t.message);return n.name=t.name,n.cause=t.cause,n.stack=t.stack,n.fileName=t.fileName,n.lineNumber=t.lineNumber,n.columnNumber=t.columnNumber,n}}}[TypeError,RangeError,SyntaxError,ReferenceError,EvalError,URIError].forEach((function(e){return qn(e)})),"undefined"!=typeof AggregateError&&qn(AggregateError),"function"==typeof InternalError&&qn(InternalError);var Un={file:{test:function(e){return"File"===$t(e)},replace:function(e){var t=new XMLHttpRequest;if(t.overrideMimeType("text/plain; charset=x-user-defined"),t.open("GET",URL.createObjectURL(e),!1),t.send(),200!==t.status&&0!==t.status)throw new Error("Bad File access: "+t.status);return{type:e.type,stringContents:t.responseText,name:e.name,lastModified:e.lastModified}},revive:function(e){var t=e.name,n=e.type,r=e.stringContents,u=e.lastModified;return new File([An(r)],t,{type:n,lastModified:u})},replaceAsync:function(e){return new Gt((function(t,n){var r=new FileReader;r.addEventListener("load",(function(){t({type:e.type,stringContents:Fn(r.result),name:e.name,lastModified:e.lastModified})})),r.addEventListener("error",(function(){n(r.error)})),r.readAsArrayBuffer(e)}))}}},Mn={file:Un.file,filelist:{test:function(e){return"FileList"===$t(e)},replace:function(e){for(var t=[],n=0;n<e.length;n++)t[n]=e.item(n);return t},revive:function(e){var t=function(){return u((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._files=arguments[0],this.length=this._files.length}),[{key:"item",value:function(e){return this._files[e]}},{key:Symbol.toStringTag,get:function(){return"FileList"}}])}();return new t(e)}}},Vn={imagebitmap:{test:function(e){return"ImageBitmap"===$t(e)||e&&e.dataset&&"ImageBitmap"===e.dataset.toStringTag},replace:function(e){var t=document.createElement("canvas");return t.getContext("2d").drawImage(e,0,0),{width:e.width,height:e.height,dataURL:t.toDataURL()}},revive:function(e){var t="undefined"==typeof OffscreenCanvas?document.createElement("canvas"):new OffscreenCanvas(e.width,e.height),n=t.getContext("2d"),r=document.createElement("img");return r.addEventListener("load",(function(){n.drawImage(r,0,0)})),r.src=e.dataURL,"undefined"==typeof OffscreenCanvas?t:t.transferToImageBitmap()},reviveAsync:function(e){var t=document.createElement("canvas"),r=t.getContext("2d"),u=document.createElement("img");return u.addEventListener("load",(function(){r.drawImage(u,0,0)})),u.src=e.dataURL,new Gt(function(){var e=n(l().mark((function e(n,r){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=n,e.next=4,createImageBitmap(t);case 4:e.t1=e.sent,(0,e.t0)(e.t1),e.next=11;break;case 8:e.prev=8,e.t2=e.catch(0),r(e.t2);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t,n){return e.apply(this,arguments)}}())}}},Kn={imagedata:{test:function(e){return"ImageData"===$t(e)},replace:function(e){return{array:_(e.data),width:e.width,height:e.height}},revive:function(e){return new ImageData(new Uint8ClampedArray(e.array),e.width,e.height)}}},Gn={infinity:{test:function(e){return e===Number.POSITIVE_INFINITY},replace:function(){return"Infinity"},revive:function(){return Number.POSITIVE_INFINITY}}},Hn={map:{test:function(e){return"Map"===$t(e)},replace:function(e){return _(e.entries())},revive:function(e){return new Map(e)}}},Qn={nan:{test:function(e){return Number.isNaN(e)},replace:function(){return"NaN"},revive:function(){return Number.NaN}}},Wn={negativeInfinity:{test:function(e){return e===Number.NEGATIVE_INFINITY},replace:function(){return"-Infinity"},revive:function(){return Number.NEGATIVE_INFINITY}}},$n={negativeZero:{test:function(e){return Object.is(e,-0)},replace:function(){return 0},revive:function(){return-0}}},Yn={StringObject:{test:function(e){return"String"===$t(e)&&"object"==h(e)},replace:String,revive:function(e){return new String(e)}},BooleanObject:{test:function(e){return"Boolean"===$t(e)&&"object"==h(e)},replace:function(e){return e.valueOf()},revive:function(e){return new Boolean(e)}},NumberObject:{test:function(e){return"Number"===$t(e)&&"object"==h(e)},replace:Number,revive:function(e){return new Number(e)}}},zn={regexp:{test:function(e){return"RegExp"===$t(e)},replace:function(e){return{source:e.source,flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")}},revive:function(e){var t=e.source,n=e.flags;return new RegExp(t,n)}}},Jn={set:{test:function(e){return"Set"===$t(e)},replace:function(e){return _(e.values())},revive:function(e){return new Set(e)}}},Xn={};"function"==typeof Int8Array&&[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array].concat(_("function"==typeof BigInt64Array?[BigInt64Array,BigUint64Array]:[])).forEach((function(e){return function(e){var t=e.name;Xn[t.toLowerCase()]={test:function(e){return $t(e)===t},replace:function(e){return(0===e.byteOffset&&e.byteLength===e.buffer.byteLength?e:e.slice(0)).buffer},revive:function(t){return"ArrayBuffer"===$t(t)?new e(t):t}}}(e)}));var Zn={};"function"==typeof Int8Array&&[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array].concat(_("function"==typeof BigInt64Array?[BigInt64Array,BigUint64Array]:[])).forEach((function(e){return function(e){var t=e.name;Zn[t.toLowerCase()]={test:function(e){return $t(e)===t},replace:function(e,t){var n=e.buffer,r=e.byteOffset,u=e.length;t.buffers||(t.buffers=[]);var o=t.buffers.indexOf(n);return o>-1?{index:o,byteOffset:r,length:u}:(t.buffers.push(n),{maxByteLength:n.maxByteLength,encoded:vn(n),byteOffset:r,length:u})},revive:function(t,n){n.buffers||(n.buffers=[]);var r,u=t.byteOffset,o=t.length,i=t.encoded,a=t.index,c=t.maxByteLength;return"index"in t?r=n.buffers[a]:(r=En(i,void 0===c?void 0:{maxByteLength:c}),n.buffers.push(r)),new e(r,u,o)}}}(e)}));var er={undef:{test:function(e,t){return void 0===e&&(t.ownKeys||!("ownKeys"in t))},replace:function(){return 0},revive:function(){return new Dn}}},tr={userObject:{test:function(e){return Jt(e)},replace:function(e){return d({},e)},revive:function(e){return e}}},nr=[{arrayNonindexKeys:{testPlainObjects:!0,test:function(e,t){return!!Array.isArray(e)&&(Object.keys(e).some((function(e){return String(Number.parseInt(e))!==e}))&&(t.iterateIn="object",t.addLength=!0),!0)},replace:function(e,t){return t.iterateUnsetNumeric=!0,e},revive:function(e){if(Array.isArray(e))return e;var t=[];return Object.entries(e).forEach((function(e){var n=f(e,2),r=n[0],u=n[1];t[r]=u})),t}}},{sparseUndefined:{test:function(e,t){return void 0===e&&!1===t.ownKeys},replace:function(){return 0},revive:function(){}}}],rr=[tr,er,nr,Yn,[Qn,Gn,Wn,$n],In,zn,Kn,Vn,Un,Mn,Cn,Ln,Rn].concat("function"==typeof Map?Hn:[],"function"==typeof Set?Jn:[],"function"==typeof ArrayBuffer?bn:[],"function"==typeof Uint8Array?Zn:[],"function"==typeof DataView?Bn:[],"undefined"!=typeof crypto?wn:[],"undefined"!=typeof BigInt?[mn,gn]:[],"undefined"!=typeof DOMException?On:[],"undefined"!=typeof DOMRect?Pn:[],"undefined"!=typeof DOMPoint?xn:[],"undefined"!=typeof DOMQuad?jn:[],"undefined"!=typeof DOMMatrix?Sn:[]).concat({checkDataCloneException:{test:function(e){var t={}.toString.call(e).slice(8,-1);if(["symbol","function"].includes(h(e))||["Arguments","Module","Promise","WeakMap","WeakSet","Event","MessageChannel"].includes(t)||e&&"object"==h(e)&&"number"==typeof e.nodeType&&"function"==typeof e.insertBefore)throw new DOMException("The object cannot be cloned.","DataCloneError");return!1}}}),ur=(new fn).register(rr);function or(e){ur=(new fn).register(e(rr))}function ir(e,t){var n;try{n=ur.stringifySync(e)}catch(e){if(Yt(e,ReferenceError)||Yt(e,Ce))throw Ae("DataCloneError","The object cannot be cloned.");throw e}return t&&t(n),n}function ar(e){return ur.parse(e)}function cr(e){return ar(ir(e))}var sr=Object.freeze({__proto__:null,clone:cr,decode:ar,encode:ir,register:or}),dr=["objectStore","keyPath","multiEntry","unique"];function lr(){throw new TypeError("Illegal constructor")}var fr=lr;function Dr(e,t,n,r,u,o,i,a,c,s,d,l,f){t&&(e=1),e&&a.push("LIMIT",String(e));var D="count"===o;q.DEBUG&&console.log("Trying to fetch data for Index",a.join(" "),c),s.executeSql(a.join(" "),c,(function(e,a){var c=[],s=0,d=D?function(){}:"key"===o?function(e){return ft(H(e.key))}:function(e){return ar(H(e.value))};if(n.multiEntry)for(var f=z(n.name),_=lt(u,n.multiEntry),p=function(){var e,n=a.rows.item(h),o=ft(n[f]);if(r&&(i&&u.some((function(e){return o.includes(e)}))||st(JSON.stringify(_).slice(1,-1),n[f]))?(s++,e=n):r||i||void 0!==o&&(s+=Array.isArray(o)?o.length:1,e=n),e&&(c.push(d(e)),t))return 1},h=0;h<a.rows.length&&!p();h++);else{for(var y=0;y<a.rows.length;y++){var v=a.rows.item(y);v&&c.push(d(v))}s=c.length}l(D?s:0===s?t?void 0:[]:t?c[0]:c)}),f)}function _r(e,t,n,r,u){var o=e||!fe(n),i=["SELECT",Q("count"===r?"key":r)+(t.multiEntry?", "+Y(t.name):""),"FROM",$(t.objectStore.__currentName),"WHERE",Y(t.name),"NOT NULL"],a=[];if(o)if(u)i.push("AND ("),n.forEach((function(e,n){n>0&&i.push("OR"),i.push(Y(t.name),"LIKE ? ESCAPE '^' "),a.push("%"+J(lt(e,t.multiEntry))+"%")})),i.push(")");else if(t.multiEntry)i.push("AND",Y(t.name),"LIKE ? ESCAPE '^'"),Array.isArray(n)?a.push("%"+J(JSON.stringify(lt(n,t.multiEntry)).slice(1,-1))+"%"):a.push("%"+J(lt(n,t.multiEntry))+"%");else{Ft(At(n,e),Y(t.name),i,a,!0,!1)}return[e,t,o,n,r,u,i,a]}lr.__createInstance=function(e,t){function n(){var n=this;n[Symbol.toStringTag]="IDBIndex",ue(n,dr),n.__objectStore=e,n.__name=n.__originalName=t.columnName,n.__keyPath=Array.isArray(t.keyPath)?t.keyPath.slice():t.keyPath;var r=t.optionalParams;n.__multiEntry=Boolean(r&&r.multiEntry),n.__unique=Boolean(r&&r.unique),n.__deleted=Boolean(t.__deleted),n.__objectStore.__cursors=t.cursors||[],Object.defineProperty(n,"__currentName",{get:function(){return"__pendingName"in n?n.__pendingName:n.name}}),Object.defineProperty(n,"name",{enumerable:!1,configurable:!1,get:function(){return this.__name},set:function(t){var n=this;t=se(t);var r=n.name;if(xt.__assertVersionChange(n.objectStore.transaction),xt.__assertActive(n.objectStore.transaction),fr.__invalidStateIfDeleted(n),hr.__invalidStateIfDeleted(n),t!==r){if(n.objectStore.__indexes[t]&&!n.objectStore.__indexes[t].__deleted&&!n.objectStore.__indexes[t].__pendingDelete)throw Ae("ConstraintError",'Index "'+t+'" already exists on '+n.objectStore.__currentName);n.__name=t;var u=n.objectStore;delete u.__indexes[r],u.__indexes[t]=n,u.indexNames.splice(u.indexNames.indexOf(r),1,t);var o=u.transaction.__storeHandles[u.name],i=o.__indexHandles[r];i.__name=t,o.__indexHandles[t]=i,n.__pendingName=r;var a=[["key","BLOB "+(u.autoIncrement?"UNIQUE, inc INTEGER PRIMARY KEY AUTOINCREMENT":"PRIMARY KEY")],["value","BLOB"]].concat(_(u.indexNames).filter((function(e){return e!==t})).map((function(e){return[Y(e),"BLOB"]})));n.__renameIndex(u,r,t,a,(function(t,n){fr.__updateIndexList(e,t,(function(e){delete o.__pendingName,n(e)}))}))}}})}return n.prototype=fr.prototype,new n},lr.__invalidStateIfDeleted=function(e,t){if(e.__deleted||e.__pendingDelete||e.__pendingCreate&&e.objectStore.transaction&&e.objectStore.transaction.__errored)throw Ae("InvalidStateError",t||"This index has been deleted")},lr.__clone=function(e,t){var n=lr.__createInstance(t,{columnName:e.name,keyPath:e.keyPath,optionalParams:{multiEntry:e.multiEntry,unique:e.unique}});return["__pendingCreate","__pendingDelete","__deleted","__originalName","__recreated"].forEach((function(t){n[t]=e[t]})),n},lr.__createIndex=function(e,t){var n=t.name,r=e.__currentName,u=e.__indexes[n];t.__pendingCreate=!0,e.indexNames.push(n),e.__indexes[n]=t;var o=e.__indexHandles[n];(!o||t.__pendingDelete||t.__deleted||o.__pendingDelete||o.__deleted)&&(o=e.__indexHandles[n]=lr.__clone(t,e)),e.transaction.__addNonRequestToTransactionQueue((function(i,a,c,s){var d=u&&(u.__deleted||u.__recreated),l={};function f(e,t){s(Ae("UnknownError",'Could not create index "'+n+'"'+t.code+"::"+t.message,t))}function D(u){lr.__updateIndexList(e,u,(function(){u.executeSql('SELECT "key", "value" FROM '+$(r),[],(function(u,i){q.DEBUG&&console.log("Adding existing "+r+" records to the "+n+" index"),function a(d){if(d<i.rows.length)try{var D=ut(ar(H(i.rows.item(d).value)),t.keyPath,t.multiEntry);if("invalid"in D&&D.invalid||"failure"in D&&D.failure)throw new Error("Go to catch; ignore bad indexKey");var _=lt(D.value,t.multiEntry);if(t.unique){if(l[_])return l={},void s(Ae("ConstraintError","Duplicate values already exist within the store"));l[_]=!0}u.executeSql("UPDATE "+$(r)+" SET "+Y(n)+' = ? WHERE "key" = ?',[G(_),i.rows.item(d).key],(function(){a(d+1)}),f)}catch(e){a(d+1)}else delete t.__pendingCreate,delete o.__pendingCreate,t.__deleted&&(delete t.__deleted,delete o.__deleted,t.__recreated=!0,o.__recreated=!0),l={},c(e)}(0)}),f)}),f)}var _=$(r),p=Y(t.name);if(d)D(i);else{var h=["ALTER TABLE",_,"ADD",p,"BLOB"].join(" ");q.DEBUG&&console.log(h),i.executeSql(h,[],(function(e){q.useSQLiteIndexes?e.executeSql('CREATE INDEX IF NOT EXISTS "'+_.slice(1,-1)+"^5"+p.slice(1,-1)+'" ON '+_+"("+p+")",[],D,f):D(e)}),f)}}))},lr.__deleteIndex=function(e,t){t.__pendingDelete=!0;var n=e.__indexHandles[t.name];n&&(n.__pendingDelete=!0),e.indexNames.splice(e.indexNames.indexOf(t.name),1),e.transaction.__addNonRequestToTransactionQueue((function(r,u,o,i){function a(e,n){i(Ae("UnknownError",'Could not delete index "'+t.name+'"',n))}function c(){lr.__updateIndexList(e,r,(function(e){delete t.__pendingDelete,delete t.__recreated,t.__deleted=!0,n&&(n.__deleted=!0,delete n.__pendingDelete),o(e)}),a)}q.useSQLiteIndexes?r.executeSql("DROP INDEX IF EXISTS "+Q($(e.name).slice(1,-1)+"^5"+Y(t.name).slice(1,-1)),[],c,a):c()}))},lr.__updateIndexList=function(e,t,n,r){for(var u={},o=0;o<e.indexNames.length;o++){var i=e.__indexes[e.indexNames[o]];u[i.name]={columnName:i.name,keyPath:i.keyPath,optionalParams:{unique:i.unique,multiEntry:i.multiEntry},deleted:Boolean(i.__deleted)}}q.DEBUG&&console.log("Updating the index list for "+e.__currentName,u),t.executeSql('UPDATE __sys__ SET "indexList" = ? WHERE "name" = ?',[JSON.stringify(u),G(e.__currentName)],(function(){n(e)}),r)},lr.prototype.__fetchIndexData=function(e,t,n,r){var u=this;if(void 0!==r&&(r=ce(r,"unsigned long")),lr.__invalidStateIfDeleted(u),hr.__invalidStateIfDeleted(u.objectStore),u.objectStore.__deleted)throw Ae("InvalidStateError","This index's object store has been deleted");if(xt.__assertActive(u.objectStore.transaction),n&&fe(e))throw Ae("DataError","No key or range was specified");var o=_r(n,u,e,t,!1);return u.objectStore.transaction.__addToTransactionQueue((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Dr.apply(void 0,[r].concat(_(o),t))}),void 0,u)},lr.prototype.openCursor=function(){var e=this,t=Array.prototype.slice.call(arguments),n=t[0],r=t[1],u=zr.__createInstance(n,r,e.objectStore,e,z(e.name),"value");return e.__objectStore.__cursors.push(u),u.__request},lr.prototype.openKeyCursor=function(){var e=this,t=Array.prototype.slice.call(arguments),n=t[0],r=t[1],u=Wr.__createInstance(n,r,e.objectStore,e,z(e.name),"key");return e.__objectStore.__cursors.push(u),u.__request},lr.prototype.get=function(e){if(!arguments.length)throw new TypeError("A parameter was missing for `IDBIndex.get`.");return this.__fetchIndexData(e,"value",!0)},lr.prototype.getKey=function(e){if(!arguments.length)throw new TypeError("A parameter was missing for `IDBIndex.getKey`.");return this.__fetchIndexData(e,"key",!0)},lr.prototype.getAll=function(){var e=Array.prototype.slice.call(arguments),t=e[0],n=e[1];return this.__fetchIndexData(t,"value",!1,n)},lr.prototype.getAllKeys=function(){var e=Array.prototype.slice.call(arguments),t=e[0],n=e[1];return this.__fetchIndexData(t,"key",!1,n)},lr.prototype.count=function(){var e=this,t=arguments[0];return X(t,gt)?zr.__createInstance(t,"next",e.objectStore,e,z(e.name),"value",!0).__request:e.__fetchIndexData(t,"count",!1)},lr.prototype.__renameIndex=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=e.__currentName,i=$(o),a=Y(n),c=Q("tmp_"+$(o).slice(1,-1)),s=r.map((function(e){return e[0]})),d=r.map((function(e){return e.join(" ")})),l=d.length?d.join(", ")+", ":"",f=s.length?s.join(", ")+", ":"";e.transaction.__addNonRequestToTransactionQueue((function(e,n,r,o){function d(e,t){o(t)}function D(){u?u(e,r):r()}var _="CREATE TABLE "+c+"("+l+a+" BLOB)";q.DEBUG&&console.log(_),e.executeSql(_,[],(function(){var n="INSERT INTO "+c+"("+f+a+") SELECT "+f+Y(t)+" FROM "+i;q.DEBUG&&console.log(n),e.executeSql(n,[],(function(){var t="DROP TABLE "+i;q.DEBUG&&console.log(t),e.executeSql(t,[],(function(){var t="ALTER TABLE "+c+" RENAME TO "+i;q.DEBUG&&console.log(t),e.executeSql(t,[],(function(e){if(q.useSQLiteIndexes){var t=s.slice(2).map((function(t){return new Re((function(n,r){var u="CREATE INDEX "+Q(i.slice(1,-1)+"^5"+t.slice(1,-1))+" ON "+i+"("+t+")";q.DEBUG&&console.log(u),e.executeSql(u,[],n,(function(e,t){r(t)}))}))}));t.push(new Re((function(t,n){var r=Q("sk_"+i.slice(1,-1)),u="DROP INDEX IF EXISTS "+r;q.DEBUG&&console.log(u),e.executeSql(u,[],(function(){var u="CREATE INDEX "+r+" ON "+i+'("key")';q.DEBUG&&console.log(u),e.executeSql(u,[],t,(function(e,t){n(t)}))}),(function(e,t){n(t)}))}))),Re.all(t).then(D,o).catch((function(e){throw console.log("Index rename error"),e}))}else D()}),d)}),d)}),d)}),d)}))},Object.defineProperty(lr,Symbol.hasInstance,{value:function(e){return Z(e)&&"openCursor"in e&&"function"==typeof e.openCursor&&"multiEntry"in e&&"boolean"==typeof e.multiEntry}}),ne(lr.prototype,dr),te(lr.prototype,["name"]),lr.prototype[Symbol.toStringTag]="IDBIndexPrototype",Object.defineProperty(lr,"prototype",{writable:!1});var pr=["keyPath","indexNames","transaction","autoIncrement"];function hr(){throw new TypeError("Illegal constructor")}var yr=hr;function vr(e,t){for(var n=0,r=e.length-1;r>=0;r--){var u=e[r];"."===u?e.splice(r,1):".."===u?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}hr.__createInstance=function(e,t){function n(){var n=this;n[Symbol.toStringTag]="IDBObjectStore",ue(this,pr),n.__name=n.__originalName=e.name,n.__keyPath=Array.isArray(e.keyPath)?e.keyPath.slice():e.keyPath,n.__transaction=t,n.__idbdb=e.idbdb,n.__cursors=e.cursors||[],n.__autoIncrement=Boolean(e.autoInc),n.__indexes={},n.__indexHandles={},n.__indexNames=Bt.__createInstance();var r=e.indexList;for(var u in r)if(Object.hasOwn(r,u)){var o=lr.__createInstance(n,r[u]);n.__indexes[o.name]=o,o.__deleted||n.indexNames.push(o.name)}n.__oldIndexNames=n.indexNames.clone(),Object.defineProperty(this,"__currentName",{get:function(){return"__pendingName"in this?this.__pendingName:this.name}}),Object.defineProperty(this,"name",{enumerable:!1,configurable:!1,get:function(){return this.__name},set:function(e){var t=this;e=se(e);var n=t.name;if(yr.__invalidStateIfDeleted(t),xt.__assertVersionChange(t.transaction),xt.__assertActive(t.transaction),n!==e){if(t.__idbdb.__objectStores[e]&&!t.__idbdb.__objectStores[e].__pendingDelete)throw Ae("ConstraintError",'Object store "'+e+'" already exists in '+t.__idbdb.name);t.__name=e;var r=t.__idbdb.__objectStores[n];r.__name=e,t.__idbdb.__objectStores[e]=r,delete t.__idbdb.__objectStores[n],t.__idbdb.objectStoreNames.splice(t.__idbdb.objectStoreNames.indexOf(n),1,e);var u=t.transaction.__storeHandles[n];u.__name=e,t.transaction.__storeHandles[e]=u,t.__pendingName=n;var o='UPDATE __sys__ SET "name" = ? WHERE "name" = ?',i=[G(e),G(n)];q.DEBUG&&console.log(o,i),t.transaction.__addNonRequestToTransactionQueue((function(r,u,a,c){r.executeSql(o,i,(function(r){var u="ALTER TABLE "+$(n)+" RENAME TO "+$(e);q.DEBUG&&console.log(u),r.executeSql(u,[],(function(){delete t.__pendingName,a()}))}),(function(e,t){return c(t),!1}))}))}}})}return n.prototype=yr.prototype,new n},hr.__clone=function(e,t){var n=hr.__createInstance({name:e.__currentName,keyPath:Array.isArray(e.keyPath)?e.keyPath.slice():e.keyPath,autoInc:e.autoIncrement,indexList:{},idbdb:e.__idbdb,cursors:e.__cursors},t);return["__indexes","__indexNames","__oldIndexNames","__deleted","__pendingDelete","__pendingCreate","__originalName"].forEach((function(t){n[t]=e[t]})),n},hr.__invalidStateIfDeleted=function(e,t){if(e.__deleted||e.__pendingDelete||e.__pendingCreate&&"transaction"in e&&e.transaction&&e.transaction.__errored)throw Ae("InvalidStateError",t||"This store has been deleted")},hr.__createObjectStore=function(e,t){var n=t.__currentName;t.__pendingCreate=!0,e.__objectStores[n]=t,e.objectStoreNames.push(n);var r=e.__versionTransaction,u=r.__storeHandles;return(!u[n]||u[n].__pendingDelete||u[n].__deleted)&&(u[n]=hr.__clone(t,r)),r.__addNonRequestToTransactionQueue((function(e,r,u,o){function i(e,t){return q.DEBUG&&console.log(t),o(Ae("UnknownError",'Could not create object store "'+n+'"',t)),!1}var a=$(n),c=["CREATE TABLE",a,"(key BLOB",t.autoIncrement?"UNIQUE, inc INTEGER PRIMARY KEY AUTOINCREMENT":"PRIMARY KEY",", value BLOB)"].join(" ");q.DEBUG&&console.log(c),e.executeSql(c,[],(function(e){function r(){var r=JSON.stringify(t.keyPath);e.executeSql("INSERT INTO __sys__ VALUES (?,?,?,?,?)",[G(n),r,Number(t.autoIncrement),"{}",1],(function(){delete t.__pendingCreate,delete t.__deleted,u(t)}),i)}q.useSQLiteIndexes?e.executeSql("CREATE INDEX IF NOT EXISTS "+Q("sk_"+a.slice(1,-1))+" ON "+a+'("key")',[],r,i):r()}),i)})),u[n]},hr.__deleteObjectStore=function(e,t){t.__pendingDelete=!0,t.__indexNames=Bt.__createInstance(),e.objectStoreNames.splice(e.objectStoreNames.indexOf(t.__currentName),1);var n=e.__versionTransaction.__storeHandles[t.__currentName];n&&(n.__indexNames=Bt.__createInstance(),n.__pendingDelete=!0),e.__versionTransaction.__addNonRequestToTransactionQueue((function(e,r,u,o){function i(e,t){return q.DEBUG&&console.log(t),o(Ae("UnknownError","Could not delete ObjectStore",t)),!1}e.executeSql('SELECT "name" FROM __sys__ WHERE "name" = ?',[G(t.__currentName)],(function(e,r){r.rows.length>0&&e.executeSql("DROP TABLE "+$(t.__currentName),[],(function(){e.executeSql('DELETE FROM __sys__ WHERE "name" = ?',[G(t.__currentName)],(function(){delete t.__pendingDelete,t.__deleted=!0,n&&(delete n.__pendingDelete,n.__deleted=!0),u()}),i)}),i)}))}))},hr.prototype.__validateKeyAndValueAndCloneValue=function(e,t,n){var r=this;if(null!==r.keyPath){if(void 0!==t)throw Ae("DataError","The object store uses in-line keys and the key parameter was provided");var u=cr(e);if((t=ut(u,r.keyPath)).invalid)throw Ae("DataError","KeyPath was specified, but key was invalid.");if(t.failure){if(!n){if(!r.autoIncrement)throw Ae("DataError","Could not evaluate a key from keyPath and there is no key generator");if(!at(u,r.keyPath))throw Ae("DataError","A key could not be injected into a value");return[void 0,u]}throw Ae("DataError","Could not evaluate a key from keyPath")}return[t.value,u]}if(void 0===t){if(!r.autoIncrement)throw Ae("DataError","The object store uses out-of-line keys and has no key generator and the key parameter was not provided.");t=void 0}else rt(t);return[t,cr(e)]},hr.prototype.__deriveKey=function(e,t,n,r,u){var o=this;function i(e){ir(n,(function(t){t=ar(t),r(t,e)}))}o.autoIncrement?void 0===n?vt(e,o,(function(e,n,i){e?u(Ae("ConstraintError","The key generator's current number has reached the maximum safe integer limit")):(null!==o.keyPath&&it(t,n,o.keyPath),r(n,i))}),u):Et(e,o,n,i,u):i()},hr.prototype.__insertData=function(e,t,n,r,u,o,i){var a=this,c={},s=Object.keys(a.__indexes).map((function(t){return new Re((function(r,u){var o=a.__indexes[t];if(o.__pendingCreate||o.__deleted)r(void 0);else{var i;try{if("invalid"in(i=ut(n,o.keyPath,o.multiEntry))&&i.invalid||"failure"in i&&i.failure)throw new Error("Go to catch")}catch(e){return void r(void 0)}if(i=i.value,o.unique){var s=o.multiEntry&&Array.isArray(i),d=_r(!0,o,i,"key",s);Dr.apply(void 0,[null].concat(_(d),[e,null,function(e){if(void 0===e)return l(o),void r(void 0);u(Ae("ConstraintError","Index already contains a record equal to "+(s?"one of the subkeys of":"")+"`indexKey`"))},u]))}else l(o),r(void 0)}function l(e){void 0!==i&&(c[e.__currentName]=lt(i,e.multiEntry))}}))}));return Re.all(s).then((function(){var n=["INSERT INTO",$(a.__currentName),"("],u=[" VALUES ("],s=[];void 0!==r&&(n.push(Q("key"),","),u.push("?,"),s.push(G(lt(r)))),Object.entries(c).forEach((function(e){var t=f(e,2),r=t[0],o=t[1];n.push(Y(r)+","),u.push("?,"),s.push(G(o))})),n.push(Q("value")+" )"),u.push("?)"),s.push(G(t));var d=n.join(" ")+u.join(" ");q.DEBUG&&console.log("SQL for adding",d,s),e.executeSql(d,s,(function(){o(r)}),(function(e,t){return i(Ae("ConstraintError",t.message,t)),!1}))})).catch((function(t){function n(){i(t)}return"number"==typeof u?(ht(e,a,u,n,n),null):(n(),null)}))},hr.prototype.add=function(e){var t=this,n=arguments[1];if(!(t instanceof hr))throw new TypeError("Illegal invocation");if(0===arguments.length)throw new TypeError("No value was specified");hr.__invalidStateIfDeleted(t),xt.__assertActive(t.transaction),t.transaction.__assertWritable();var r=t.transaction.__createRequest(t),u=f(t.__validateKeyAndValueAndCloneValue(e,n,!1),2),o=u[0],i=u[1];return hr.__storingRecordObjectStore(r,t,!0,i,!0,o),r},hr.prototype.put=function(e){var t=this,n=arguments[1];if(!(t instanceof hr))throw new TypeError("Illegal invocation");if(0===arguments.length)throw new TypeError("No value was specified");hr.__invalidStateIfDeleted(t),xt.__assertActive(t.transaction),t.transaction.__assertWritable();var r=t.transaction.__createRequest(t),u=f(t.__validateKeyAndValueAndCloneValue(e,n,!1),2),o=u[0],i=u[1];return hr.__storingRecordObjectStore(r,t,!0,i,!1,o),r},hr.prototype.__overwrite=function(e,t,n,r){var u="DELETE FROM "+$(this.__currentName)+' WHERE "key" = ?',o=lt(t);e.executeSql(u,[G(o)],(function(e,r){q.DEBUG&&console.log("Did the row with the",t,"exist?",r.rowsAffected),n(e)}),(function(e,t){return r(t),!1}))},hr.__storingRecordObjectStore=function(e,t,n,r,u){var o=arguments[5];t.transaction.__pushToQueue(e,(function(e,i,a,c){t.__deriveKey(e,r,o,(function(o,i){ir(r,(function(s){function d(e){t.__insertData(e,s,r,o,i,(function(){n&&t.__cursors.forEach((function(e){e.__invalidateCache()})),a.apply(void 0,arguments)}),c)}u?d(e):t.__overwrite(e,o,d,c)}))}),c)}))},hr.prototype.__get=function(e,t,n,r){var u=this;void 0!==r&&(r=ce(r,"unsigned long")),hr.__invalidStateIfDeleted(u),xt.__assertActive(u.transaction);var o=At(e,!n),i=["SELECT",Q(t?"key":"value"),"FROM",$(u.__currentName)],a=[];if(void 0!==o&&(i.push("WHERE"),Ft(o,Q("key"),i,a)),n||(r=1),r){if(!Number.isFinite(r))throw new TypeError("The count parameter must be a finite number");i.push("LIMIT",String(r))}var c=i.join(" ");return u.transaction.__addToTransactionQueue((function(e,r,o,i){q.DEBUG&&console.log("Fetching",u.__currentName,a),e.executeSql(c,a,(function(e,r){var u;q.DEBUG&&console.log("Fetched data",r);try{if(0===r.rows.length)return void(n?o([]):o());if(u=[],t)for(var i=0;i<r.rows.length;i++)u.push(ft(H(r.rows.item(i).key),!1));else for(var a=0;a<r.rows.length;a++)u.push(ar(H(r.rows.item(a).value)));n||(u=u[0])}catch(e){q.DEBUG&&console.log(e)}o(u)}),(function(e,t){return i(t),!1}))}),void 0,u)},hr.prototype.get=function(e){if(!arguments.length)throw new TypeError("A parameter was missing for `IDBObjectStore.get`.");return this.__get(e)},hr.prototype.getKey=function(e){if(!arguments.length)throw new TypeError("A parameter was missing for `IDBObjectStore.getKey`.");return this.__get(e,!0)},hr.prototype.getAll=function(){var e=Array.prototype.slice.call(arguments),t=e[0],n=e[1];return this.__get(t,!1,!0,n)},hr.prototype.getAllKeys=function(){var e=Array.prototype.slice.call(arguments),t=e[0],n=e[1];return this.__get(t,!0,!0,n)},hr.prototype.delete=function(e){var t=this;if(!(this instanceof hr))throw new TypeError("Illegal invocation");if(!arguments.length)throw new TypeError("A parameter was missing for `IDBObjectStore.delete`.");hr.__invalidStateIfDeleted(t),xt.__assertActive(t.transaction),t.transaction.__assertWritable();var n=At(e,!0),r=["DELETE FROM",$(t.__currentName),"WHERE"],u=[];Ft(n,Q("key"),r,u);var o=r.join(" ");return t.transaction.__addToTransactionQueue((function(e,n,r,i){q.DEBUG&&console.log("Deleting",t.__currentName,u),e.executeSql(o,u,(function(e,n){q.DEBUG&&console.log("Deleted from database",n.rowsAffected),t.__cursors.forEach((function(e){e.__invalidateCache()})),r()}),(function(e,t){return i(t),!1}))}),void 0,t)},hr.prototype.clear=function(){var e=this;if(!(this instanceof hr))throw new TypeError("Illegal invocation");return hr.__invalidStateIfDeleted(e),xt.__assertActive(e.transaction),e.transaction.__assertWritable(),e.transaction.__addToTransactionQueue((function(t,n,r,u){t.executeSql("DELETE FROM "+$(e.__currentName),[],(function(t,n){q.DEBUG&&console.log("Cleared all records from database",n.rowsAffected),e.__cursors.forEach((function(e){e.__invalidateCache()})),r()}),(function(e,t){return u(t),!1}))}),void 0,e)},hr.prototype.count=function(){var e=this,t=arguments[0];if(!(e instanceof hr))throw new TypeError("Illegal invocation");return hr.__invalidStateIfDeleted(e),xt.__assertActive(e.transaction),zr.__createInstance(t,"next",e,e,"key","value",!0).__request},hr.prototype.openCursor=function(){var e=this,t=Array.prototype.slice.call(arguments),n=t[0],r=t[1];if(!(e instanceof hr))throw new TypeError("Illegal invocation");hr.__invalidStateIfDeleted(e);var u=zr.__createInstance(n,r,e,e,"key","value");return e.__cursors.push(u),u.__request},hr.prototype.openKeyCursor=function(){var e=this;if(!(e instanceof hr))throw new TypeError("Illegal invocation");hr.__invalidStateIfDeleted(e);var t=Array.prototype.slice.call(arguments),n=t[0],r=t[1],u=Wr.__createInstance(n,r,e,e,"key","key");return e.__cursors.push(u),u.__request},hr.prototype.index=function(e){var t=this;if(!(t instanceof hr))throw new TypeError("Illegal invocation");if(0===arguments.length)throw new TypeError("No index name was specified");hr.__invalidStateIfDeleted(t),xt.__assertNotFinished(t.transaction);var n=t.__indexes[e];if(!n||n.__deleted)throw Ae("NotFoundError",'Index "'+e+'" does not exist on '+t.__currentName);return(!t.__indexHandles[e]||t.__indexes[e].__pendingDelete||t.__indexes[e].__deleted)&&(t.__indexHandles[e]=lr.__clone(n,t)),t.__indexHandles[e]},hr.prototype.createIndex=function(e,t){var n=this,r=arguments[2];if(!(n instanceof hr))throw new TypeError("Illegal invocation");if(e=String(e),0===arguments.length)throw new TypeError("No index name was specified");if(1===arguments.length)throw new TypeError("No key path was specified");if(xt.__assertVersionChange(n.transaction),hr.__invalidStateIfDeleted(n),xt.__assertActive(n.transaction),n.__indexes[e]&&!n.__indexes[e].__deleted&&!n.__indexes[e].__pendingDelete)throw Ae("ConstraintError",'Index "'+e+'" already exists on '+n.__currentName);if(!ae(t=le(t)))throw Ae("SyntaxError","A valid keyPath must be supplied");if(Array.isArray(t)&&r&&r.multiEntry)throw Ae("InvalidAccessError","The keyPath argument was an array and the multiEntry option is true.");r=r||{};var u={columnName:e,keyPath:t,optionalParams:{unique:Boolean(r.unique),multiEntry:Boolean(r.multiEntry)}},o=lr.__createInstance(n,u);return lr.__createIndex(n,o),o},hr.prototype.deleteIndex=function(e){var t=this;if(!(t instanceof hr))throw new TypeError("Illegal invocation");if(0===arguments.length)throw new TypeError("No index name was specified");xt.__assertVersionChange(t.transaction),hr.__invalidStateIfDeleted(t),xt.__assertActive(t.transaction);var n=t.__indexes[e];if(!n)throw Ae("NotFoundError",'Index "'+e+'" does not exist on '+t.__currentName);lr.__deleteIndex(t,n)},ne(hr.prototype,pr),te(hr.prototype,["name"]),hr.prototype[Symbol.toStringTag]="IDBObjectStorePrototype",Object.defineProperty(hr,"prototype",{writable:!1});var Er=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,br=function(e){return Er.exec(e).slice(1)};function gr(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return e=vr(Cr(e.split("/"),(function(e){return!!e})),!t).join("/"),(t?"/":"")+e||"."}function mr(e){var t=Fr(e),n="/"===wr(e,-1);return e=vr(Cr(e.split("/"),(function(e){return!!e})),!t).join("/"),e||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function Fr(e){return"/"===e.charAt(0)}var Ar={extname:function(e){return br(e)[3]},basename:function(e,t){var n=br(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},dirname:function(e){var t=br(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},sep:"/",delimiter:":",relative:function(e,t){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=gr(e).substr(1),t=gr(t).substr(1);for(var r=n(e.split("/")),u=n(t.split("/")),o=Math.min(r.length,u.length),i=o,a=0;a<o;a++)if(r[a]!==u[a]){i=a;break}var c=[];for(a=i;a<r.length;a++)c.push("..");return(c=c.concat(u.slice(i))).join("/")},join:function(){return mr(Cr(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},isAbsolute:Fr,normalize:mr,resolve:gr};function Cr(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var wr="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)},Br=["onabort","onclose","onerror","onversionchange"],Ir=["name","version","objectStoreNames"];function Or(){throw this.__versionTransaction=null,this.__objectStores=null,this.__transactions=[],new TypeError("Illegal constructor")}var Sr,Tr=Or;Or.__createInstance=function(e,t,n,r,u){function o(){var o=this;this[Symbol.toStringTag]="IDBDatabase",ue(this,Ir),this.__db=e,this.__closePending=!1,this.__oldVersion=n,this.__version=r,this.__name=t,this.__upgradeTransaction=null,re(this,Br),this.__setOptions({legacyOutputDidListenersThrowFlag:!0}),this.__transactions=[],this.__objectStores={},this.__objectStoreNames=Bt.__createInstance();for(var i={},a=function(){var e=u.rows.item(c);i.name=e.name,i.keyPath=JSON.parse(e.keyPath),["autoInc","indexList"].forEach((function(t){i[t]=JSON.parse(e[t])})),i.idbdb=o;var t=hr.__createInstance(i);o.__objectStores[t.name]=t,o.objectStoreNames.push(t.name)},c=0;c<u.rows.length;c++)a();this.__oldObjectStoreNames=this.objectStoreNames.clone()}return o.prototype=Tr.prototype,new o},Or.prototype=L.createInstance(),Or.prototype[Symbol.toStringTag]="IDBDatabasePrototype",Or.prototype.createObjectStore=function(e){var t=arguments[1];if(e=String(e),!(this instanceof Or))throw new TypeError("Illegal invocation");if(0===arguments.length)throw new TypeError("No object store name was specified");xt.__assertVersionChange(this.__versionTransaction),this.throwIfUpgradeTransactionNull(),xt.__assertActive(this.__versionTransaction);var n=(t=d({},t)).keyPath;if(null!==(n=void 0===n?null:le(n))&&!ae(n))throw Ae("SyntaxError","The keyPath argument contains an invalid key path.");if(this.__objectStores[e]&&!this.__objectStores[e].__pendingDelete)throw Ae("ConstraintError",'Object store "'+e+'" already exists in '+this.name);var r=t.autoIncrement;if(r&&(""===n||Array.isArray(n)))throw Ae("InvalidAccessError","With autoIncrement set, the keyPath argument must not be an array or empty string.");var u={name:e,keyPath:n,autoInc:r,indexList:{},idbdb:this},o=hr.__createInstance(u,this.__versionTransaction);return hr.__createObjectStore(this,o)},Or.prototype.deleteObjectStore=function(e){if(!(this instanceof Or))throw new TypeError("Illegal invocation");if(0===arguments.length)throw new TypeError("No object store name was specified");xt.__assertVersionChange(this.__versionTransaction),this.throwIfUpgradeTransactionNull(),xt.__assertActive(this.__versionTransaction);var t=this.__objectStores[e];if(!t)throw Ae("NotFoundError",'Object store "'+e+'" does not exist in '+this.name);hr.__deleteObjectStore(this,t)},Or.prototype.close=function(){if(!(this instanceof Or))throw new TypeError("Illegal invocation");this.__closePending=!0,this.__unblocking&&this.__unblocking.check(),this.__transactions=[]},Or.prototype.transaction=function(e){var t=this;if(0===arguments.length)throw new TypeError("You must supply a valid `storeNames` to `IDBDatabase.transaction`");var n=arguments[1];if(e=ee(e)?_(new Set(le(e))).sort():[se(e)],n=n||"readonly",xt.__assertNotVersionChange(this.__versionTransaction),this.__closePending)throw Ae("InvalidStateError","An attempt was made to start a new transaction on a database connection that is not open");var r=Bt.__createInstance();if(e.forEach((function(e){if(!t.objectStoreNames.contains(e))throw Ae("NotFoundError",'The "'+e+'" object store does not exist');r.push(e)})),0===e.length)throw Ae("InvalidAccessError","No valid object store names were specified");if("readonly"!==n&&"readwrite"!==n)throw new TypeError("Invalid transaction mode: "+n);var u=xt.__createInstance(this,r,n);return this.__transactions.push(u),u},Or.prototype.throwIfUpgradeTransactionNull=function(){if(null===this.__upgradeTransaction)throw Ae("InvalidStateError","No upgrade transaction associated with database.")},Or.prototype.__forceClose=function(e){var t=this;t.close();var n=0;t.__transactions.forEach((function(r){r.on__abort=function(){if(++n===t.__transactions.length){var e=De("close");setTimeout((function(){t.dispatchEvent(e)}))}},r.__abortTransaction(Ae("AbortError","The connection was force-closed: "+(e||"")))})),t.__transactions=[]},te(Or.prototype,Br),ne(Or.prototype,Ir),Object.defineProperty(Or.prototype,"constructor",{enumerable:!1,writable:!0,configurable:!0,value:Or}),Object.defineProperty(Or,"prototype",{writable:!1});var xr=function(){return"object"===("undefined"==typeof location?"undefined":h(location))&&location?location.origin:"null"},Nr=function(){return!1!==q.checkOrigin&&"null"===xr()},jr={};function Pr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xr(),n=jr[t][e];if(n[0]){var r=n[0],u=r.req,o=r.cb;u.addEventListener("success",i),u.addEventListener("error",i),u.addEventListener("blocked",i),o(u)}function i(){n.shift(),Pr(e,t)}}function kr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xr(),r=arguments.length>3?arguments[3]:void 0;jr[n][t]||(jr[n][t]=[]),jr[n][t].push({req:e,cb:r}),1===jr[n][t].length&&Pr(t,n)}function Lr(e,t,n,r){var u=function(e){return e.__closePending},o=function(){return e.every((function(e){return u(e)}))};return e.reduce((function(e,t){return u(t)?e:e.then((function(){if(!u(t)){var e=new _e("versionchange",{oldVersion:n,newVersion:r});return new Re((function(n){setTimeout((function(){t.dispatchEvent(e),n(void 0)}))}))}}))}),Re.resolve(void 0)).then((function(){if(!o())return new Re((function(i){var a={check:function(){o()&&i(void 0)}},c=new _e("blocked",{oldVersion:n,newVersion:r});setTimeout((function(){t.dispatchEvent(c),o()?i(void 0):e.forEach((function(e){u(e)||(e.__unblocking=a)}))}))}))}))}var Rr,qr={},Ur=0;function Mr(e){return Object.keys(qr[e]).map(Number).reduce((function(e,t){return t>e?t:e}),0)}function Vr(e,t,n,r,u){if("string"==typeof q.memoryDatabase){var o=qr[t]?function(e){return qr[e]&&qr[e][Mr(e)]}(t):null;if(!o)return console.warn("Could not find a memory database instance to delete."),void r();var i=o._db&&o._db._db;return i&&i.close?void i.close((function(e){e?console.warn("Error closing (destroying) memory database"):r()})):void console.error("The `openDatabase` implementation does not have the expected `._db._db.close` method for closing the database")}Sr&&!1!==q.deleteDatabaseFiles?Sr.unlink(Ar.join(q.databaseBasePath||"",n),(function(e){e&&"ENOENT"!==e.code?u({code:0,message:"Error removing database file: "+n+" "+e}):r()})):e(Ar.join(q.databaseBasePath||"",n),"1",t,q.DEFAULT_DB_SIZE).transaction((function(e){e.executeSql('SELECT "name" FROM __sys__',[],(function(e,t){var n=t.rows;!function t(o){o>=n.length?e.executeSql("DROP TABLE IF EXISTS __sys__",[],(function(){r()}),u):e.executeSql("DROP TABLE "+$(H(n.item(o).name)),[],(function(){t(o+1)}),(function(){return t(o+1),!1}))}(0)}),(function(){return r(),!1}))}))}function Kr(e,t,n){function r(e,t){var r=ge(t||e);q.DEBUG&&console.log("Error in sysdb transaction - when creating dbVersions",t),n(r)}Rr?t():(Rr=e("string"==typeof q.memoryDatabase?q.memoryDatabase:Ar.join("string"==typeof q.sysDatabaseBasePath?q.sysDatabaseBasePath:q.databaseBasePath||"","__sysdb__"+(!1!==q.addSQLiteExtension?".sqlite":"")),"1","System Database",q.DEFAULT_DB_SIZE)).transaction((function(e){e.executeSql("CREATE TABLE IF NOT EXISTS dbVersions (name BLOB, version INT);",[],(function(e){q.useSQLiteIndexes?e.executeSql("CREATE INDEX IF NOT EXISTS dbvname ON dbVersions(name)",[],t,r):t()}),r)}),r)}function Gr(){throw new TypeError("Illegal constructor")}var Hr=Gr;Gr.__createInstance=function(){function e(){this[Symbol.toStringTag]="IDBFactory",this.__connections={}}return e.prototype=Hr.prototype,new e},Gr.prototype.open=function(e){var t=this;if(!(t instanceof Gr))throw new TypeError("Illegal invocation");var n=arguments[1];if(0===arguments.length)throw new TypeError("Database name is required");if(void 0!==n&&0===(n=ce(n,"unsigned long long")))throw new TypeError("Version cannot be 0");if(Nr())throw Ae("SecurityError","Cannot open an IndexedDB database from an opaque origin.");var r=Te.__createInstance(),u=!1;q.autoName&&""===e&&(e="autoNamedDatabase_"+Ur++);var o,i=G(e=String(e)),a="string"==typeof q.memoryDatabase,c=!1!==q.cacheDatabaseInstances||a;try{o=W(e)}catch(e){throw e}function s(e,t){if(u)return!1;var n=t?ge(t):e;u=!0;var o=De("error",n,{bubbles:!0,cancelable:!0});return r.__done=!0,r.__error=n,r.__result=void 0,r.dispatchEvent(o),!1}function d(u){var d;if((a||c)&&e in qr&&qr[e][n]?d=qr[e][n]:(d=t.__openDatabase(a?q.memoryDatabase:Ar.join(q.databaseBasePath||"",o),"1",e,q.DEFAULT_DB_SIZE),c&&(e in qr||(qr[e]={}),qr[e][n]=d)),void 0===n&&(n=u||1),u>n){var l=Ae("VersionError","An attempt was made to open a database using a lower version than the existing version.",n);c?setTimeout((function(){s(l)})):s(l)}else d.transaction((function(a){a.executeSql("CREATE TABLE IF NOT EXISTS __sys__ (name BLOB, keyPath BLOB, autoInc BOOLEAN, indexList BLOB, currNum INTEGER)",[],(function(){function l(){!function(u,a,d){u.executeSql('SELECT "name", "keyPath", "autoInc", "indexList" FROM __sys__',[],(function(u,l){function f(){r.__result=D,r.__done=!0}var D=Or.__createInstance(a,e,d,n,l);if(t.__connections[e]||(t.__connections[e]=[]),t.__connections[e].push(D),d<n)Lr(t.__connections[e].slice(0,-1),r,d,n).then((function(){var u=function(e,t,n){if(t)try{e.executeSql("ROLLBACK",[],n,n)}catch(t){Rr.transaction((function(e){function t(e){throw new Error("Unable to roll back upgrade transaction!"+(e||""))}0===d?e.executeSql('DELETE FROM dbVersions WHERE "name" = ?',[i],(function(){n(t)}),t):e.executeSql('UPDATE dbVersions SET "version" = ? WHERE "name" = ?',[d,i],n,t)}))}else n()};Rr.transaction((function(a){function l(){var i=new _e("upgradeneeded",{oldVersion:d,newVersion:n});r.__result=D,D.__upgradeTransaction=r.__transaction=r.__result.__versionTransaction=xt.__createInstance(r.__result,r.__result.objectStoreNames,"versionchange"),r.__done=!0,r.transaction.__addNonRequestToTransactionQueue((function(e,t,n){if(r.dispatchEvent(i),i.__legacyOutputDidListenersThrowError)return Ee("Error","An error occurred in an upgradeneeded handler attached to request chain",i.__legacyOutputDidListenersThrowError),void r.transaction.__abortTransaction(Ae("AbortError","A request was aborted."));n()})),r.transaction.on__beforecomplete=function(e){D.__upgradeTransaction=null,r.__result.__versionTransaction=null,u(a,!1,(function(){return r.transaction.__transFinishedCb(!1,(function(){e.complete(),r.__transaction=null})),!1}))},r.transaction.on__preabort=function(){D.__upgradeTransaction=null,c&&e in qr&&delete qr[e][n]},r.transaction.on__abort=function(){r.__transaction=null,r.__result=void 0,r.__done=!1,D.close(),setTimeout((function(){var n=Ae("AbortError","The upgrade transaction was aborted.");u(a,n,(function(r){return 0===d?(Vr(t.__openDatabase,e,o,s.bind(null,n),r||s),!1):(s(n),!1)}))}))},r.transaction.on__complete=function(){var e=D.__transactions.indexOf(r.transaction);if(e>-1&&D.__transactions.splice(e,1),r.__result.__closePending)return r.__transaction=null,void s(Ae("AbortError","The connection has been closed."));f(),r.__transaction=null;var t=De("success");r.dispatchEvent(t)}}0===d?a.executeSql("INSERT INTO dbVersions VALUES (?,?)",[i,n],l,s):a.executeSql('UPDATE dbVersions SET "version" = ? WHERE "name" = ?',[n,i],l,s)}),s,void 0,(function(e,t,n,r,o){return!(!e.readOnly&&!t&&(u=function(e,t,n){t?r(t,n):o(n)},1))}))})).catch((function(e){throw console.log("Error within `triggerAnyVersionChangeAndBlockedEvents`"),e}));else{f();var _=De("success");r.dispatchEvent(_)}}),s)}(a,d,u)}q.createIndexes?a.executeSql("CREATE INDEX IF NOT EXISTS sysname ON __sys__(name)",[],l,s):l()}),s)}),s)}return kr(r,e,void 0,(function(){var n;c&&(e in qr||(qr[e]={}),n=Mr(e)),n?d(n):Kr(t.__openDatabase,(function(){Rr.readTransaction((function(e){e.executeSql('SELECT "version" FROM dbVersions WHERE "name" = ?',[i],(function(e,t){0===t.rows.length?d(0):d(t.rows.item(0).version)}),s)}),s)}),s)})),r},Gr.prototype.deleteDatabase=function(e){var t=this;if(!(t instanceof Gr))throw new TypeError("Illegal invocation");if(0===arguments.length)throw new TypeError("Database name is required");if(Nr())throw Ae("SecurityError","Cannot delete an IndexedDB database from an opaque origin.");var n,r=G(e=String(e));try{n=W(e)}catch(e){throw e}var u="string"==typeof q.memoryDatabase,o=!1!==q.cacheDatabaseInstances||u,i=Te.__createInstance(),a=!1,c=0,s=function(e,t){t(e)};function d(e,t){if(a||!0===t)return!1;var n=ge(t||e);return s(!0,(function(){i.__done=!0,i.__error=n,i.__result=void 0;var e=De("error",n,{bubbles:!0,cancelable:!0});i.dispatchEvent(e),a=!0})),!1}return kr(i,e,void 0,(function(u){Kr(t.__openDatabase,(function(){function i(){u.__result=void 0,u.__done=!0;var e=new _e("success",{oldVersion:c,newVersion:null});u.dispatchEvent(e)}function a(){s(!1,(function(){o&&e in qr&&delete qr[e],delete t.__connections[e],i()}))}Rr.readTransaction((function(o){o.executeSql('SELECT "version" FROM dbVersions WHERE "name" = ?',[r],(function(o,l){if(0!==l.rows.length){var f=l.rows.item(0);c=f.version,Lr(t.__connections[e]||[],u,c,null).then((function(){Rr.transaction((function(u){u.executeSql('DELETE FROM dbVersions WHERE "name" = ? ',[r],(function(){Vr(t.__openDatabase,e,n,a,d)}),d)}),d,void 0,(function(e,t,n,r,u){return!(!e.readOnly&&!t)||(s=function(e,t){e?r(e,t):u(t)},!1)}))}),d)}else i()}),d)}))}),d)})),i},Gr.prototype.cmp=function(e,t){if(!(this instanceof Gr))throw new TypeError("Illegal invocation");if(arguments.length<2)throw new TypeError("You must provide two keys to be compared");return rt(e),rt(t),qe(e,t)},Gr.prototype.databases=function(){var e=this,t=!1;return new Promise((function(n,r){if(!(e instanceof Gr))throw new TypeError("Illegal invocation");if(Nr())throw Ae("SecurityError","Cannot get IndexedDB database names from an opaque origin.");function u(e,n){if(t)return!1;var u=n?ge(n):e;return t=!0,r(u),!1}Kr(e.__openDatabase,(function(){Rr.readTransaction((function(e){e.executeSql('SELECT "name", "version" FROM dbVersions',[],(function(e,t){for(var r=[],u=0;u<t.rows.length;u++){var o=t.rows.item(u),i=o.name,a=o.version;r.push({name:H(i),version:a})}n(r)}),u)}),u)}),u)}))},Gr.prototype.__forceClose=function(e,t,n){var r=this;function u(e){e.__forceClose(n)}if(fe(e))Object.values(r.__connections).forEach((function(e){e.forEach((function(e){u(e)}))}));else if(r.__connections[e])if(fe(t))r.__connections[e].forEach((function(e){u(e)}));else{if(!Number.isInteger(t)||t<0||t>r.__connections[e].length-1)throw new TypeError("If providing an argument, __forceClose must be called with a numeric index to indicate a specific connection to close");u(r.__connections[e][t])}else console.log("No database connections with that name to force close")},Gr.prototype.__setConnectionQueueOrigin=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xr();jr[e]={}},Gr.prototype[Symbol.toStringTag]="IDBFactoryPrototype",Object.defineProperty(Gr,"prototype",{writable:!1});var Qr=Gr.__createInstance();function Wr(){throw new TypeError("Illegal constructor")}var $r=Wr;Wr.__super=function(e,t,n,r,u,o,i){this[Symbol.toStringTag]="IDBCursor",ue(this,["key","primaryKey","request"]),hr.__invalidStateIfDeleted(n),this.__indexSource=X(r,lr),this.__indexSource&&lr.__invalidStateIfDeleted(r),xt.__assertActive(n.transaction);var a=At(e);if(void 0!==t&&!["next","prev","nextunique","prevunique"].includes(t))throw new TypeError(t+"is not a valid cursor direction");Object.defineProperties(this,{source:{writable:!1,value:r},direction:{writable:!1,value:t||"next"}}),this.__key=void 0,this.__primaryKey=void 0,this.__store=n,this.__range=a,this.__request=Oe.__createInstance(),this.__request.__source=r,this.__request.__transaction=this.__store.transaction,this.__keyColumnName=u,this.__valueColumnName=o,this.__keyOnly="key"===o,this.__valueDecoder=this.__keyOnly?bt:sr,this.__count=i,this.__prefetchedIndex=-1,this.__multiEntryIndex=!!this.__indexSource&&("multiEntry"in r&&r.multiEntry),this.__unique=this.direction.includes("unique"),this.__sqlDirection=["prev","prevunique"].includes(this.direction)?"DESC":"ASC",void 0!==a&&(a.__lowerCached=void 0!==a.lower&<(a.lower,this.__multiEntryIndex),a.__upperCached=void 0!==a.upper&<(a.upper,this.__multiEntryIndex)),this.__gotValue=!0,this.continue()},Wr.__createInstance=function(){var e=$r.__super;e.prototype=$r.prototype;for(var t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u];return r(e,n)},Wr.prototype.__find=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this.__multiEntryIndex){var r=t[0],u=t[1],o=t[2],i=t[3],a=t[4];this.__findMultiEntry(r,u,o,i,a)}else{var c=t[0],s=t[1],d=t[2],l=t[3],f=t[4],D=t[5];this.__findBasic(c,s,d,l,f,D)}},Wr.prototype.__findBasic=function(e,t,n,r,u,o){var i=void 0!==o;o=o||1;var a=this,c=Q(a.__keyColumnName),s=Q("key"),d=["SELECT * FROM",$(a.__store.__currentName)],l=[];d.push("WHERE",c,"NOT NULL"),Ft(a.__range,c,d,l,!0,!0);var f=a.__sqlDirection,D="ASC"===f?">":"<";void 0!==t&&(d.push("AND",s,D+"= ?"),l.push(lt(t))),void 0!==e?(d.push("AND",c,D+"= ?"),l.push(lt(e))):i&&void 0!==a.__key&&(d.push("AND",c,D+" ?"),l.push(lt(a.__key))),a.__count||(d.push("ORDER BY",c,f),"key"!==a.__keyColumnName&&(a.__unique?"prevunique"===a.direction&&d.push(",",s,"ASC"):d.push(",",s,f)),!a.__unique&&a.__indexSource&&d.push(",",Q(a.__valueColumnName),f),d.push("LIMIT",String(o)));var _=d.join(" ");q.DEBUG&&console.log(_,l),n.executeSql(_,l,(function(e,t){a.__count?r(void 0,t.rows.length,void 0):t.rows.length>1?(a.__prefetchedIndex=0,a.__prefetchedData=t.rows,q.DEBUG&&console.log("Preloaded "+a.__prefetchedData.length+" records for cursor"),a.__decode(t.rows.item(0),r)):1===t.rows.length?a.__decode(t.rows.item(0),r):(q.DEBUG&&console.log("Reached end of cursors"),r(void 0,void 0,void 0))}),(function(e,t){return q.DEBUG&&console.log("Could not execute Cursor.continue",_,l),u(t),!1}))};var Yr=/\[/g;function zr(){throw new TypeError("Illegal constructor")}Wr.prototype.__findMultiEntry=function(e,t,n,r,u){var i=this;if(i.__prefetchedData&&i.__prefetchedData.length===i.__prefetchedIndex)return q.DEBUG&&console.log("Reached end of multiEntry cursor"),void r(void 0,void 0,void 0);var a=Q(i.__keyColumnName),c=["SELECT * FROM",$(i.__store.__currentName)],s=[];c.push("WHERE",a,"NOT NULL"),i.__range&&void 0!==i.__range.lower&&Array.isArray(i.__range.upper)&&0===i.__range.upper.indexOf(i.__range.lower)&&(c.push("AND",a,"LIKE ? ESCAPE '^'"),s.push("%"+J(i.__range.__lowerCached.slice(0,-1))+"%"));var d=i.__sqlDirection,l="ASC"===d?">":"<",f=Q("key");void 0!==t&&(c.push("AND",f,l+"= ?"),s.push(lt(t))),void 0!==e?(c.push("AND",a,l+"= ?"),s.push(lt(e))):void 0!==i.__key&&(c.push("AND",a,l+" ?"),s.push(lt(i.__key))),i.__count||(c.push("ORDER BY",a,d),i.__unique||"key"===i.__keyColumnName||c.push(",",Q("key"),d),!i.__unique&&i.__indexSource&&c.push(",",Q(i.__valueColumnName),d));var D=c.join(" ");q.DEBUG&&console.log(D,s),n.executeSql(D,s,(function(e,t){if(t.rows.length>0){if(i.__count){for(var n=0,u=0;u<t.rows.length;u++){n+=dt(ft(t.rows.item(u)[i.__keyColumnName],!0),i.__range).length}return void r(void 0,n,void 0)}for(var a=[],c=0;c<t.rows.length;c++){var s,d=t.rows.item(c),l=o(dt(ft(d[i.__keyColumnName],!0),i.__range));try{for(l.s();!(s=l.n()).done;){var f={matchingKey:lt(s.value,!0),key:d.key};f[i.__keyColumnName]=d[i.__keyColumnName],f[i.__valueColumnName]=d[i.__valueColumnName],a.push(f)}}catch(e){l.e(e)}finally{l.f()}}var D=0===i.direction.indexOf("prev");a.sort((function(e,t){return e.matchingKey.replaceAll(Yr,"z")<t.matchingKey.replaceAll(Yr,"z")?D?1:-1:e.matchingKey.replaceAll(Yr,"z")>t.matchingKey.replaceAll(Yr,"z")?D?-1:1:e.key<t.key?"prev"===i.direction?1:-1:e.key>t.key?"prev"===i.direction?-1:1:0})),a.length>1?(i.__prefetchedIndex=0,i.__prefetchedData={data:a,length:a.length,item:function(e){return this.data[e]}},q.DEBUG&&console.log("Preloaded "+i.__prefetchedData.length+" records for multiEntry cursor"),i.__decode(a[0],r)):1===a.length?(q.DEBUG&&console.log("Reached end of multiEntry cursor"),i.__decode(a[0],r)):(q.DEBUG&&console.log("Reached end of multiEntry cursor"),r(void 0,void 0,void 0))}else q.DEBUG&&console.log("Reached end of multiEntry cursor"),r(void 0,void 0,void 0)}),(function(e,t){return q.DEBUG&&console.log("Could not execute Cursor.continue",D,s),u(t),!1}))},Wr.prototype.__onsuccess=function(e){var t=this;return function(n,r,u){t.__count?e(r,t.__request):(void 0!==n&&(t.__gotValue=!0),t.__key=void 0===n?null:n,t.__primaryKey=void 0===u?null:u,t.__value=void 0===r?null:r,e(void 0===n?null:t,t.__request))}},Wr.prototype.__decode=function(e,t){var n=this;if(n.__multiEntryIndex&&n.__unique){if(n.__matchedKeys||(n.__matchedKeys={}),n.__matchedKeys[e.matchingKey])return void t(void 0,void 0,void 0);n.__matchedKeys[e.matchingKey]=!0}var r=H(n.__multiEntryIndex?e.matchingKey:e[n.__keyColumnName]),u=H(e[n.__valueColumnName]),o=H(e.key);t(ft(r,n.__multiEntryIndex),n.__valueDecoder.decode(u),ft(o),r)},Wr.prototype.__sourceOrEffectiveObjStoreDeleted=function(){hr.__invalidStateIfDeleted(this.__store,"The cursor's effective object store has been deleted"),this.__indexSource&&lr.__invalidStateIfDeleted(this.source,"The cursor's index source has been deleted")},Wr.prototype.__invalidateCache=function(){this.__prefetchedData=null},Wr.prototype.__continue=function(e,t){var n=this,r=void 0!==n.__advanceCount;if(xt.__assertActive(n.__store.transaction),n.__sourceOrEffectiveObjStoreDeleted(),!n.__gotValue&&!t)throw Ae("InvalidStateError","The cursor is being iterated or has iterated past its end.");if(void 0!==e){rt(e);var u=qe(e,n.key);if(0===u||n.direction.includes("next")&&-1===u||n.direction.includes("prev")&&1===u)throw Ae("DataError","Cannot "+(r?"advance":"continue")+" the cursor in an unexpected direction")}this.__continueFinish(e,void 0,r)},Wr.prototype.__continueFinish=function(e,t,n){var r=this,u=r.__advanceCount||q.cursorPreloadPackSize||100;r.__gotValue=!1,r.__request.__done=!1,r.__store.transaction.__pushToQueue(r.__request,(function o(i,a,c,s,d){function l(e,t,u){if(n){if(r.__advanceCount&&r.__advanceCount>=2&&void 0!==e)return r.__advanceCount--,r.__key=e,r.__continue(void 0,!0),void d();r.__advanceCount=void 0}r.__onsuccess(c)(e,t,u)}r.__prefetchedData&&(r.__prefetchedIndex++,r.__prefetchedIndex<r.__prefetchedData.length)?r.__decode(r.__prefetchedData.item(r.__prefetchedIndex),(function(n,u,d,f){var D;!r.__unique||r.__multiEntryIndex||f!==lt(r.key,r.__multiEntryIndex)?(D=Number(void 0===e)||qe(n,e))>0||0===D&&(r.__unique||void 0===t||qe(d,t)>=0)?l(n,u,d):o(i,a,c,s):o(i,a,c,s)})):r.__find(e,t,i,l,(function(){r.__advanceCount=void 0;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var u=t[0],o=t[1];s(u,o)}),u)}))},Wr.prototype.continue=function(){this.__continue(arguments[0])},Wr.prototype.continuePrimaryKey=function(e,t){var n=this;if(xt.__assertActive(n.__store.transaction),n.__sourceOrEffectiveObjStoreDeleted(),!n.__indexSource)throw Ae("InvalidAccessError","`continuePrimaryKey` may only be called on an index source.");if(!["next","prev"].includes(n.direction))throw Ae("InvalidAccessError","`continuePrimaryKey` may not be called with unique cursors.");if(!n.__gotValue)throw Ae("InvalidStateError","The cursor is being iterated or has iterated past its end.");rt(e),rt(t);var r=qe(e,n.key);if("next"===n.direction&&-1===r||"prev"===n.direction&&1===r)throw Ae("DataError","Cannot continue the cursor in an unexpected direction");function u(){n.__continueFinish(e,t,!1)}0===r?ir(t,(function(e){ir(n.primaryKey,(function(t){if(e===t||"next"===n.direction&&e<t||"prev"===n.direction&&e>t)throw Ae("DataError","Cannot continue the cursor in an unexpected direction");u()}))})):u()},Wr.prototype.advance=function(e){var t=this;if(0===(e=ce(e,"unsigned long")))throw new TypeError("Calling advance() with count argument 0");t.__gotValue&&(t.__advanceCount=e),t.__continue()},Wr.prototype.update=function(e){var t=this;if(!arguments.length)throw new TypeError("A value must be passed to update()");if(xt.__assertActive(t.__store.transaction),t.__store.transaction.__assertWritable(),t.__sourceOrEffectiveObjStoreDeleted(),!t.__gotValue)throw Ae("InvalidStateError","The cursor is being iterated or has iterated past its end.");if(t.__keyOnly)throw Ae("InvalidStateError","This cursor method cannot be called when the key only flag has been set.");var n=t.__store.transaction.__createRequest(t),r=t.primaryKey;function u(e){hr.__storingRecordObjectStore(n,t.__store,!1,e,!1,r)}if(null!==t.__store.keyPath){var o=f(t.__store.__validateKeyAndValueAndCloneValue(e,void 0,!0),2),i=o[0],a=o[1];if(0!==qe(t.primaryKey,i))throw Ae("DataError","The key of the supplied value to `update` is not equal to the cursor's effective key");u(a)}else{u(cr(e))}return n},Wr.prototype.delete=function(){var e=this;if(xt.__assertActive(e.__store.transaction),e.__store.transaction.__assertWritable(),e.__sourceOrEffectiveObjStoreDeleted(),!e.__gotValue)throw Ae("InvalidStateError","The cursor is being iterated or has iterated past its end.");if(e.__keyOnly)throw Ae("InvalidStateError","This cursor method cannot be called when the key only flag has been set.");return this.__store.transaction.__addToTransactionQueue((function(t,n,r,u){e.__find(void 0,void 0,t,(function(n,o,i){var a="DELETE FROM "+$(e.__store.__currentName)+' WHERE "key" = ?';q.DEBUG&&console.log(a,n,i),t.executeSql(a,[G(lt(i))],(function(e,t){1===t.rowsAffected?r(void 0):u("No rows with key found"+n)}),(function(e,t){return u(t),!1}))}),u)}),void 0,e)},Wr.prototype[Symbol.toStringTag]="IDBCursorPrototype",ne(Wr.prototype,["source","direction","key","primaryKey","request"]),Object.defineProperty(Wr,"prototype",{writable:!1}),zr.prototype=Object.create(Wr.prototype),Object.defineProperty(zr.prototype,"constructor",{enumerable:!1,writable:!0,configurable:!0,value:zr});var Jr=zr;function Xr(e,t){if(e&&"object"===h(e))Object.entries(e).forEach((function(e){var t=f(e,2);Xr(t[0],t[1])}));else{if(!(e in q))throw new Error(e+" is not a valid configuration property");q[e]=t,"registerSCA"===e&&"function"==typeof t&&or(t)}}zr.__createInstance=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];function r(){var e=t[0],n=t[1],r=t[2],u=t[3],o=t[4],i=t[5],a=t[6];Wr.__super.call(this,e,n,r,u,o,i,a),this[Symbol.toStringTag]="IDBCursorWithValue",ue(this,"value")}return r.prototype=Jr.prototype,new r},ne(zr.prototype,["value"]),zr.prototype[Symbol.toStringTag]="IDBCursorWithValuePrototype",Object.defineProperty(zr,"prototype",{writable:!1}),q.win="undefined"!=typeof window?window:self,function(){var e=globalThis||{};function t(t,n,r){if(!r||!Object.defineProperty)try{e[t]=n}catch(e){console.log(e)}if(e[t]!==n&&Object.defineProperty)try{var u=r||{};if("get"in u){var o=i("get",{},t,(function(){return r.get.call(this)}));u=Object.getOwnPropertyDescriptor(o,t)}else"value"in u||(u.value=n),"writable"in u||(u.writable=!0);Object.defineProperty(e,t,u)}catch(e){}e[t]!==n&&"undefined"!=typeof console&&console.warn&&console.warn("Unable to shim "+t)}void 0!==q.win.openDatabase&&t("shimIndexedDB",Qr,{enumerable:!1,configurable:!0}),"shimIndexedDB"in e&&e.shimIndexedDB?(e.shimIndexedDB.__useShim=function(){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";t(e+"DOMException",Ce),t(e+"DOMStringList",Bt,{enumerable:!1,configurable:!0,writable:!0,value:Bt}),t(e+"Event",T,{configurable:!0,writable:!0,value:T,enumerable:!1}),t(e+"CustomEvent",x,{configurable:!0,writable:!0,value:x,enumerable:!1}),t(e+"EventTarget",P,{configurable:!0,writable:!0,value:P,enumerable:!1})}var r,u=Gr;if(void 0!==q.win.openDatabase){if(Qr.__openDatabase=q.win.openDatabase.bind(q.win),t("indexedDB",Qr,{enumerable:!0,configurable:!0,get:function(){if(this!==e&&!fe(this)&&!this.shimNS)throw new TypeError("Illegal invocation");return Qr}}),[["IDBFactory",u],["IDBDatabase",Or],["IDBObjectStore",hr],["IDBIndex",lr],["IDBTransaction",xt],["IDBCursor",Wr],["IDBCursorWithValue",zr],["IDBKeyRange",gt],["IDBRequest",Oe],["IDBOpenDBRequest",Te],["IDBVersionChangeEvent",_e]].forEach((function(e){var n=f(e,2);t(n[0],n[1],{enumerable:!1,configurable:!0})})),q.fs&&(r=q.fs,Sr=r),q.fullIDLSupport&&(Object.setPrototypeOf(e.IDBOpenDBRequest,e.IDBRequest),Object.setPrototypeOf(e.IDBCursorWithValue,e.IDBCursor),Object.setPrototypeOf(Or,P),Object.setPrototypeOf(Oe,P),Object.setPrototypeOf(xt,P),Object.setPrototypeOf(_e,T),Object.setPrototypeOf(Ce,Error),Object.setPrototypeOf(Ce.prototype,Error.prototype),Object.setPrototypeOf(x,T),Object.setPrototypeOf(x.prototype,T.prototype)),e.indexedDB&&!e.indexedDB.toString().includes("[native code]")&&(q.addNonIDBGlobals&&n("Shim"),q.replaceNonIDBGlobals&&n()),!e.shimIndexedDB)return;e.shimIndexedDB.__setConnectionQueueOrigin()}},e.shimIndexedDB.__debug=function(e){q.DEBUG=e},e.shimIndexedDB.__setConfig=Xr,e.shimIndexedDB.__getConfig=function(e){if(!(e in q))throw new Error(e+" is not a valid configuration property");return q[e]},e.shimIndexedDB.__setUnicodeIdentifiers=function(e){Xr({UnicodeIDStart:e.UnicodeIDStart,UnicodeIDContinue:e.UnicodeIDContinue})}):(e.shimIndexedDB={},["__useShim","__debug","__setConfig","__getConfig","__setUnicodeIdentifiers"].forEach((function(t){e.shimIndexedDB[t]=function(){console.warn("This browser does not have WebSQL to shim.")}}))),"indexedDB"in e||"undefined"==typeof window||(e.indexedDB=e.indexedDB||"webkitIndexedDB"in e&&e.webkitIndexedDB||"mozIndexedDB"in e&&e.mozIndexedDB||"oIndexedDB"in e&&e.oIndexedDB||"msIndexedDB"in e&&e.msIndexedDB);var n=!1;"undefined"!=typeof navigator&&navigator.userAgent&&(/Android (?:2|3|4\.[0-3])/.test(navigator.userAgent)&&!navigator.userAgent.includes("Chrome")||(!navigator.userAgent.includes("Safari")||navigator.userAgent.includes("Chrome"))&&/(iPad|iPhone|iPod)(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])* o[s\u017F] 9_/i.test(navigator.userAgent)&&"undefined"!=typeof window&&!("MSStream"in window))&&(n=!0),q.DEFAULT_DB_SIZE||(q.DEFAULT_DB_SIZE=1024*("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")?25:4)*1024),q.avoidAutoShim||e.indexedDB&&!n||void 0===q.win.openDatabase?(e.IDBDatabase=e.IDBDatabase||"webkitIDBDatabase"in e&&e.webkitIDBDatabase,e.IDBTransaction=e.IDBTransaction||"webkitIDBTransaction"in e&&e.webkitIDBTransaction||{},e.IDBCursor=e.IDBCursor||"webkitIDBCursor"in e&&e.webkitIDBCursor,e.IDBKeyRange=e.IDBKeyRange||"webkitIDBKeyRange"in e&&e.webkitIDBKeyRange):e.shimIndexedDB.__useShim()}();var Zr=shimIndexedDB.__setUnicodeIdentifiers.bind(shimIndexedDB);shimIndexedDB.__setUnicodeIdentifiers=function(){Zr(m)},shimIndexedDB.__setUnicodeIdentifiers()}));
//# sourceMappingURL=indexeddbshim-UnicodeIdentifiers.min.js.map