@icanbwell/composite 1.1058.0 → 1.1058.1-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/237.index.js ADDED
@@ -0,0 +1,19 @@
1
+ (globalThis.webpackChunk_icanbwell_composite=globalThis.webpackChunk_icanbwell_composite||[]).push([[237],{49:(z,p,h)=>{"use strict";h.d(p,{b:()=>rn});var u=function(t,e){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var c in r)Object.prototype.hasOwnProperty.call(r,c)&&(n[c]=r[c])},u(t,e)};function y(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");u(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var E=function(){return E=Object.assign||function(e){for(var n,r=1,c=arguments.length;r<c;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},E.apply(this,arguments)};function w(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,r=Object.getOwnPropertySymbols(t);c<r.length;c++)e.indexOf(r[c])<0&&Object.prototype.propertyIsEnumerable.call(t,r[c])&&(n[r[c]]=t[r[c]]);return n}function I(t,e,n,r){var c=arguments.length,a=c<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,_;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,n,r);else for(var U=t.length-1;U>=0;U--)(_=t[U])&&(a=(c<3?_(a):c>3?_(e,n,a):_(e,n))||a);return c>3&&a&&Object.defineProperty(e,n,a),a}function g(t,e){return function(n,r){e(n,r,t)}}function v(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function o(t,e,n,r){function c(a){return a instanceof n?a:new n(function(_){_(a)})}return new(n||(n=Promise))(function(a,_){function U(H){try{j(r.next(H))}catch(ue){_(ue)}}function X(H){try{j(r.throw(H))}catch(ue){_(ue)}}function j(H){H.done?a(H.value):c(H.value).then(U,X)}j((r=r.apply(t,e||[])).next())})}function l(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,c,a,_;return _={next:U(0),throw:U(1),return:U(2)},typeof Symbol=="function"&&(_[Symbol.iterator]=function(){return this}),_;function U(j){return function(H){return X([j,H])}}function X(j){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,c&&(a=j[0]&2?c.return:j[0]?c.throw||((a=c.return)&&a.call(c),0):c.next)&&!(a=a.call(c,j[1])).done)return a;switch(c=0,a&&(j=[j[0]&2,a.value]),j[0]){case 0:case 1:a=j;break;case 4:return n.label++,{value:j[1],done:!1};case 5:n.label++,c=j[1],j=[0];continue;case 7:j=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(j[0]===6||j[0]===2)){n=0;continue}if(j[0]===3&&(!a||j[1]>a[0]&&j[1]<a[3])){n.label=j[1];break}if(j[0]===6&&n.label<a[1]){n.label=a[1],a=j;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(j);break}a[2]&&n.ops.pop(),n.trys.pop();continue}j=e.call(t,n)}catch(H){j=[6,H],c=0}finally{r=a=0}if(j[0]&5)throw j[1];return{value:j[0]?j[1]:void 0,done:!0}}}var O=Object.create?function(t,e,n,r){r===void 0&&(r=n);var c=Object.getOwnPropertyDescriptor(e,n);(!c||("get"in c?!e.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,c)}:function(t,e,n,r){r===void 0&&(r=n),t[r]=e[n]};function M(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&O(e,t,n)}function s(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),c,a=[],_;try{for(;(e===void 0||e-- >0)&&!(c=r.next()).done;)a.push(c.value)}catch(U){_={error:U}}finally{try{c&&!c.done&&(n=r.return)&&n.call(r)}finally{if(_)throw _.error}}return a}function f(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(b(arguments[e]));return t}function S(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),c=0,e=0;e<n;e++)for(var a=arguments[e],_=0,U=a.length;_<U;_++,c++)r[c]=a[_];return r}function P(t,e,n){if(n||arguments.length===2)for(var r=0,c=e.length,a;r<c;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}function A(t){return this instanceof A?(this.v=t,this):new A(t)}function R(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),c,a=[];return c={},_("next"),_("throw"),_("return"),c[Symbol.asyncIterator]=function(){return this},c;function _(F){r[F]&&(c[F]=function(fe){return new Promise(function(ut,on){a.push([F,fe,ut,on])>1||U(F,fe)})})}function U(F,fe){try{X(r[F](fe))}catch(ut){ue(a[0][3],ut)}}function X(F){F.value instanceof A?Promise.resolve(F.value.v).then(j,H):ue(a[0][2],F)}function j(F){U("next",F)}function H(F){U("throw",F)}function ue(F,fe){F(fe),a.shift(),a.length&&U(a[0][0],a[0][1])}}function $(t){var e,n;return e={},r("next"),r("throw",function(c){throw c}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(c,a){e[c]=t[c]?function(_){return(n=!n)?{value:A(t[c](_)),done:c==="return"}:a?a(_):_}:a}}function re(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof s=="function"?s(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(a){n[a]=t[a]&&function(_){return new Promise(function(U,X){_=t[a](_),c(U,X,_.done,_.value)})}}function c(a,_,U,X){Promise.resolve(X).then(function(j){a({value:j,done:U})},_)}}function V(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var de=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function Ae(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)n!=="default"&&Object.prototype.hasOwnProperty.call(t,n)&&O(e,t,n);return de(e,t),e}function We(t){return t&&t.__esModule?t:{default:t}}function m(t,e,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(t):r?r.value:e.get(t)}function B(t,e,n,r,c){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!c)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!c:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?c.call(t,n):c?c.value=n:e.set(t,n),n}function ft(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}var q;class he{constructor(e){q.set(this,void 0),B(this,q,e,"f")}get isWithin(){return!!window.ReactNativeWebView}open(e){m(this,q,"f").emit("openwebview",e)}close(e){m(this,q,"f").emit("closewebview",e)}reload(e=!1){m(this,q,"f").emit("reloadwebview",e)}}q=new WeakMap;var oe=h(692),se=h.n(oe);const De=(t,e)=>se().bind(`${t}.${String(e)}`),D=t=>e=>De(t,e);var Z,pe;const G=D("biometrics");class i{constructor(e){Z.set(this,void 0),pe.set(this,G("isAvailable")),this.isAvailable=()=>o(this,void 0,void 0,function*(){return m(this,Z,"f").isWithin?yield m(this,pe,"f").call(this):!1}),this.getBiometryInformation=G("getBiometryInformation"),this.biometricKeysExist=G("biometricKeysExist"),this.createKeys=G("createKeys"),this.createSignature=G("createSignature"),this.deleteKeys=G("deleteKeys"),this.checkPermission=G("checkPermission"),this.requestPermission=G("requestPermission"),B(this,Z,e,"f")}}Z=new WeakMap,pe=new WeakMap;const d=D("events");class W{constructor(){this.emit=d("emit")}}var C=h(5057);const k=C.bind({concatArrays:!0,ignoreUndefined:!0});function x(t,e){const n=window.localStorage.getItem(t);if(n){const r=JSON.parse(n),c=JSON.parse(e),a=JSON.stringify(k(r,c));window.localStorage.setItem(t,a)}else window.localStorage.setItem(t,e)}function L(t,e){return new Promise((n,r)=>{try{const c=t();e?.(null,c),n(c)}catch(c){e?.(c),r(c)}})}function T(t,e,n){return Promise.all(t).then(r=>{const c=n?.(r)??null;return e?.(null,c),Promise.resolve(c)},r=>(e?.(r),Promise.reject(r)))}const K={getItem:(t,e)=>L(()=>window.localStorage.getItem(t),e),setItem:(t,e,n)=>L(()=>window.localStorage.setItem(t,e),n),removeItem:(t,e)=>L(()=>window.localStorage.removeItem(t),e),mergeItem:(t,e,n)=>L(()=>x(t,e),n),clear:t=>L(()=>window.localStorage.clear(),t),getAllKeys:t=>L(()=>{const e=window.localStorage.length,n=[];for(let r=0;r<e;r+=1){const c=window.localStorage.key(r)||"";n.push(c)}return n},t),flushGetRequests:()=>{},multiGet:(t,e)=>{const n=t.map(c=>K.getItem(c));return T(n,e,c=>c.map((a,_)=>[t[_],a]))},multiSet:(t,e)=>{const n=t.map(r=>K.setItem(r[0],r[1]));return T(n,e)},multiRemove:(t,e)=>{const n=t.map(r=>K.removeItem(r));return T(n,e)},multiMerge:(t,e)=>{const n=t.map(r=>K.mergeItem(r[0],r[1]));return T(n,e)}},bt=K;function sn(t){return{getItem:(...e)=>AsyncStorage.getItem(t,...e),setItem:(...e)=>AsyncStorage.setItem(t,...e),mergeItem:(...e)=>AsyncStorage.mergeItem(t,...e),removeItem:(...e)=>AsyncStorage.removeItem(t,...e)}}const Ce=bt;var le,Ne,Le,Te;const Re=D("storage");class wt{constructor(e){le.set(this,void 0),Ne.set(this,Re("setItem")),Le.set(this,Re("getItem")),Te.set(this,Re("removeItem")),B(this,le,e,"f")}setItem(e,n){return o(this,void 0,void 0,function*(){m(this,le,"f").isWithin?yield m(this,Ne,"f").call(this,e,n):Ce.setItem(e,n)})}getItem(e){return m(this,le,"f").isWithin?m(this,Le,"f").call(this,e):Ce.getItem(e)}removeItem(e){return o(this,void 0,void 0,function*(){m(this,le,"f").isWithin?yield m(this,Te,"f").call(this,e):Ce.removeItem(e)})}}le=new WeakMap,Ne=new WeakMap,Le=new WeakMap,Te=new WeakMap;var be,ke;const ye=D("camera");class gt{constructor(e){be.set(this,void 0),ke.set(this,ye("isAvailable")),this.isAvailable=()=>o(this,void 0,void 0,function*(){return m(this,be,"f").isWithin?yield m(this,ke,"f").call(this):!1}),this.checkPermission=ye("checkPermission"),this.checkRollPermission=ye("checkRollPermission"),this.requestPermission=ye("requestPermission"),this.requestRollPermission=ye("requestRollPermission"),B(this,be,e,"f")}}be=new WeakMap,ke=new WeakMap;var Y=h(934),Q=h(3758),ee,Ue,xe,Be,Ke;const we=D("geolocation");class Pt{constructor(e){ee.set(this,void 0),Ue.set(this,we("isAvailable")),xe.set(this,we("getCurrentPosition")),Be.set(this,we("checkPermission")),Ke.set(this,we("requestPermission")),this.isAvailable=()=>o(this,void 0,void 0,function*(){return m(this,ee,"f").isWithin?m(this,Ue,"f").call(this):!!navigator.geolocation}),this.getCurrentPosition=n=>o(this,void 0,void 0,function*(){if(m(this,ee,"f").isWithin)return m(this,xe,"f").call(this,n);try{const{state:r}=yield navigator.permissions.query({name:"geolocation"});if(r==="granted"||r==="prompt")return yield new Promise((c,a)=>navigator.geolocation.getCurrentPosition(c,a,n))}catch(r){throw new Y.b(`Failed to retrieve the permission or the position is unavailable. ${r.message}`,{errorCode:Q.O.UNKNOWN})}throw new Y.b("Permission Denied.",{errorCode:Q.O.INSUFFICIENT_PERMISSIONS})}),this.checkPermission=()=>o(this,void 0,void 0,function*(){return m(this,ee,"f").isWithin?m(this,Be,"f").call(this):(yield navigator.permissions.query({name:"geolocation"})).state}),this.requestPermission=()=>o(this,void 0,void 0,function*(){if(m(this,ee,"f").isWithin)return yield m(this,Ke,"f").call(this);{const{state:n}=yield navigator.permissions.query({name:"geolocation"});return(n==="granted"||n==="prompt")&&(yield new Promise((r,c)=>navigator.geolocation.getCurrentPosition(r,c))),n}}),B(this,ee,e,"f")}}ee=new WeakMap,Ue=new WeakMap,xe=new WeakMap,Be=new WeakMap,Ke=new WeakMap;var Et=h(1204),St=h.n(Et),Ot=h(7931),dt=h.n(Ot),me,ge;const _t=t=>{if(!St()(t))return!1;try{return new URL(t).protocol==="https:"}catch{return!1}},Mt=D("print");class jt{constructor(e){me.set(this,void 0),ge.set(this,Mt("print")),B(this,me,e,"f")}print(e){return o(this,void 0,void 0,function*(){if(e.html){if(m(this,me,"f").isWithin)return yield m(this,ge,"f").call(this,{html:e.html});dt()({type:"raw-html",printable:e.html})}else if(e.filePath&&_t(e.filePath)){const n={filePath:e.filePath};if(m(this,me,"f").isWithin)return yield m(this,ge,"f").call(this,n);dt()({type:"pdf",printable:n.filePath})}else throw new Y.b("Filepath must be an https URL.",{errorCode:Q.O.UNKNOWN})})}}me=new WeakMap,ge=new WeakMap;var te,Fe,ze,$e,He;const Pe=D("documentDownload"),Ve={"image/jpeg":"jpeg","image/png":"png","image/svg+xml":"svg","application/pdf":"pdf","text/calendar":"ics"},It=t=>{const e=t.trim();if(!e||e==="."||e==="..")throw new Y.b("Invalid filename.",{errorCode:Q.O.UNKNOWN});if(/[\\/]/.test(e)||e.includes("\0"))throw new Y.b("Invalid filename.",{errorCode:Q.O.UNKNOWN});return e},At=t=>{const e=/^\s*data:([a-z]+\/[a-z0-9\-+]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,[a-z0-9!$&',()*+,;=\-._~:@/?%\s]*\s*$/i;return!!t.match(e)},Wt=t=>t.substring(t.indexOf(":")+1,t.indexOf(";")),Dt=(t,e)=>{if(!At(e))throw new Y.b("Invalid Data URL Format.",{errorCode:Q.O.UNKNOWN});const n=Wt(e);return Ee(n),`${t}.${Ve[n]}`},Ee=t=>{if(!Object.keys(Ve).includes(t))throw new Y.b("Invalid or unallowed file type.",{errorCode:Q.O.UNKNOWN})};class Ct{constructor(e){te.set(this,void 0),Fe.set(this,Pe("isAvailable")),ze.set(this,Pe("writeFile")),$e.set(this,Pe("checkPermission")),He.set(this,Pe("requestPermission")),this.isAvailable=n=>o(this,void 0,void 0,function*(){return Ee(n),m(this,te,"f").isWithin?m(this,Fe,"f").call(this,n):!0}),this.writeFile=(n,r)=>o(this,void 0,void 0,function*(){const c=It(n);if(Object.values(Ve).some(_=>c.includes(_)))throw new Y.b("Filename should not contain extension",{errorCode:Q.O.UNKNOWN});const a=Dt(c,r);if(m(this,te,"f").isWithin)return m(this,ze,"f").call(this,a,r);{const _=document.createElement("a");return _.href=r,_.download=a,_.click(),"Files"}}),this.checkPermission=n=>o(this,void 0,void 0,function*(){return Ee(n),m(this,te,"f").isWithin?m(this,$e,"f").call(this,n):"granted"}),this.requestPermission=n=>o(this,void 0,void 0,function*(){return Ee(n),m(this,te,"f").isWithin?yield m(this,He,"f").call(this,n):"granted"}),B(this,te,e,"f")}}te=new WeakMap,Fe=new WeakMap,ze=new WeakMap,$e=new WeakMap,He=new WeakMap;const ce=Object.freeze({UNAVAILABLE:"unavailable",BLOCKED:"blocked",DENIED:"denied",GRANTED:"granted",LIMITED:"limited"}),Ge="Only supported by iOS 14 and above";async function Nt(){throw new Error(Ge)}async function Lt(t){throw new Error(Ge)}async function Tt(){throw new Error(Ge)}async function ht(){return ce.UNAVAILABLE}async function pt(){return{status:ce.UNAVAILABLE,settings:{}}}async function yt(t){return t.reduce((e,n)=>(e[n]=ce.UNAVAILABLE,e),{})}const J={check:ht,checkLocationAccuracy:Nt,checkMultiple:yt,checkNotifications:pt,openLimitedPhotoLibraryPicker:Tt,openSettings:Promise.reject,request:ht,requestLocationAccuracy:Lt,requestMultiple:yt,requestNotifications:pt},Rt=Object.freeze({ANDROID:{},IOS:{},WINDOWS:{}}),kt=J.check,Ut=J.checkLocationAccuracy,xt=J.checkMultiple,Bt=J.checkNotifications,Kt=J.openLimitedPhotoLibraryPicker,Ft=J.openSettings,zt=J.request,$t=J.requestLocationAccuracy,Ht=J.requestMultiple,Vt=J.requestNotifications,ln={PERMISSIONS:Rt,RESULTS:ce,check:kt,checkLocationAccuracy:Ut,checkMultiple:xt,checkNotifications:Bt,openLimitedPhotoLibraryPicker:Kt,openSettings:Ft,request:zt,requestLocationAccuracy:$t,requestMultiple:Ht,requestNotifications:Vt};var ne,Je,qe,Ze,Xe;const Se=D("documentPicker"),Gt=t=>new Promise((e,n)=>{const r=new FileReader;r.readAsDataURL(t),r.onload=()=>e(r.result.replace("data:","").replace(/^.+,/,"")),r.onerror=n}),mt=t=>new Promise((e,n)=>{const r=document.createElement("input");r.type="file",t===!0&&(r.multiple=t),r.onchange=({target:c})=>o(void 0,void 0,void 0,function*(){try{e(yield Promise.all(Object.values(c.files).map(a=>o(void 0,void 0,void 0,function*(){return{type:a.type,name:a.name,size:a.size,base64:yield Gt(a)}}))))}catch(a){n(a)}}),r.click()});class Jt{constructor(e){ne.set(this,void 0),Je.set(this,Se("pickMultiple")),qe.set(this,Se("pickSingle")),Ze.set(this,Se("checkPermission")),Xe.set(this,Se("requestPermission")),this.pickMultiple=()=>m(this,ne,"f").isWithin?m(this,Je,"f").call(this):mt(!0),this.checkPermission=()=>o(this,void 0,void 0,function*(){return m(this,ne,"f").isWithin?yield m(this,Ze,"f").call(this):Promise.resolve(ce.GRANTED)}),this.requestPermission=()=>o(this,void 0,void 0,function*(){return m(this,ne,"f").isWithin?yield m(this,Xe,"f").call(this):Promise.resolve(ce.GRANTED)}),B(this,ne,e,"f")}pickSingle(){return o(this,void 0,void 0,function*(){return m(this,ne,"f").isWithin?m(this,qe,"f").call(this):(yield mt(!1))[0]})}}ne=new WeakMap,Je=new WeakMap,qe=new WeakMap,Ze=new WeakMap,Xe=new WeakMap;var ie,Ye,Qe,et,tt;const Oe=D("pushNotifications");class qt{constructor(e){ie.set(this,void 0),Ye.set(this,Oe("isAvailable")),Qe.set(this,Oe("getDeviceToken")),et.set(this,Oe("checkPermission")),tt.set(this,Oe("requestPermission")),this.isAvailable=()=>o(this,void 0,void 0,function*(){return m(this,ie,"f").isWithin?m(this,Ye,"f").call(this):!1}),this.getDeviceToken=()=>o(this,void 0,void 0,function*(){if(m(this,ie,"f").isWithin)return m(this,Qe,"f").call(this);throw new Error("This method is currently not supported on web")}),this.checkPermission=()=>o(this,void 0,void 0,function*(){return m(this,ie,"f").isWithin?m(this,et,"f").call(this):"unavailable"}),this.requestPermission=()=>o(this,void 0,void 0,function*(){return m(this,ie,"f").isWithin?yield m(this,tt,"f").call(this):"unavailable"}),B(this,ie,e,"f")}}ie=new WeakMap,Ye=new WeakMap,Qe=new WeakMap,et=new WeakMap,tt=new WeakMap;var _e,nt;const Zt=D("deepLink");class Xt{constructor(e){_e.set(this,void 0),nt.set(this,Zt("openLink")),this.openLink=(n,r="_blank")=>o(this,void 0,void 0,function*(){if(m(this,_e,"f").isWithin)return m(this,nt,"f").call(this,n,r);window.open(n.webUrl,r)}),B(this,_e,e,"f")}}_e=new WeakMap,nt=new WeakMap;var Me,it;const Yt=D("system");class Qt{constructor(e){Me.set(this,void 0),it.set(this,Yt("openSettings")),this.openSettings=()=>o(this,void 0,void 0,function*(){if(m(this,Me,"f").isWithin)return yield m(this,it,"f").call(this)}),B(this,Me,e,"f")}}Me=new WeakMap,it=new WeakMap;var ve,rt,ot;const vt=D("utils");class en{constructor(e){ve.set(this,void 0),rt.set(this,vt("getPlatform")),ot.set(this,vt("getBundleId")),B(this,ve,e,"f")}getPlatform(){return o(this,void 0,void 0,function*(){return m(this,ve,"f").isWithin?m(this,rt,"f").call(this):"web"})}getBundleId(){return o(this,void 0,void 0,function*(){if(m(this,ve,"f").isWithin)return m(this,ot,"f").call(this);console.warn("bundleId not available on the web")})}}ve=new WeakMap,rt=new WeakMap,ot=new WeakMap;var je,st,lt,ct,at,ae;const Ie=D("connectDevices");class tn{constructor(e){je.set(this,void 0),st.set(this,Ie("startSession")),lt.set(this,Ie("syncData")),ct.set(this,Ie("endSession")),at.set(this,Ie("getCurrentUser")),ae.set(this,()=>m(this,je,"f").isWithin),this.startSession=n=>o(this,void 0,void 0,function*(){if(m(this,ae,"f").call(this))return m(this,st,"f").call(this,n)}),this.syncData=(n=1)=>o(this,void 0,void 0,function*(){return m(this,ae,"f").call(this)?m(this,lt,"f").call(this,n):[]}),this.endSession=()=>o(this,void 0,void 0,function*(){if(m(this,ae,"f").call(this))return m(this,ct,"f").call(this)}),this.getCurrentUser=()=>o(this,void 0,void 0,function*(){return m(this,ae,"f").call(this)?m(this,at,"f").call(this):null}),B(this,je,e,"f")}}je=new WeakMap,st=new WeakMap,lt=new WeakMap,ct=new WeakMap,at=new WeakMap,ae=new WeakMap;class nn{constructor(){this.events=new W,this.webview=new he(this.events),this.biometrics=new i(this.webview),this.storage=new wt(this.webview),this.camera=new gt(this.webview),this.geolocation=new Pt(this.webview),this.print=new jt(this.webview),this.documentDownload=new Ct(this.webview),this.documentPicker=new Jt(this.webview),this.pushNotifications=new qt(this.webview),this.deepLink=new Xt(this.webview),this.utils=new en(this.webview),this.system=new Qt(this.webview),this.connectDevices=new tn(this.webview)}reloadView(e=!1){this.webview.isWithin?this.webview.reload(e):globalThis.location.reload()}}const rn=new nn},1204:z=>{"use strict";z.exports=p=>{if(typeof p!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof p}\``);return/^[a-zA-Z]:\\/.test(p)?!1:/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(p)}},5057:function(z,p,h){"use strict";const u=h(4428),{hasOwnProperty:y}=Object.prototype,{propertyIsEnumerable:E}=Object,w=(f,S,P)=>Object.defineProperty(f,S,{value:P,writable:!0,enumerable:!0,configurable:!0}),I=this,g={concatArrays:!1,ignoreUndefined:!1},v=f=>{const S=[];for(const P in f)y.call(f,P)&&S.push(P);if(Object.getOwnPropertySymbols){const P=Object.getOwnPropertySymbols(f);for(const A of P)E.call(f,A)&&S.push(A)}return S};function o(f){return Array.isArray(f)?l(f):u(f)?O(f):f}function l(f){const S=f.slice(0,0);return v(f).forEach(P=>{w(S,P,o(f[P]))}),S}function O(f){const S=Object.getPrototypeOf(f)===null?Object.create(null):{};return v(f).forEach(P=>{w(S,P,o(f[P]))}),S}const M=(f,S,P,A)=>(P.forEach(R=>{typeof S[R]>"u"&&A.ignoreUndefined||(R in f&&f[R]!==Object.getPrototypeOf(f)?w(f,R,b(f[R],S[R],A)):w(f,R,o(S[R])))}),f),s=(f,S,P)=>{let A=f.slice(0,0),R=0;return[f,S].forEach($=>{const re=[];for(let V=0;V<$.length;V++)!y.call($,V)||(re.push(String(V)),$===f?w(A,R++,$[V]):w(A,R++,o($[V])));A=M(A,$,v($).filter(V=>!re.includes(V)),P)}),A};function b(f,S,P){return P.concatArrays&&Array.isArray(f)&&Array.isArray(S)?s(f,S,P):!u(S)||!u(f)?o(S):M(f,S,v(S),P)}z.exports=function(...f){const S=b(o(g),this!==I&&this||{},g);let P={_:{}};for(const A of f)if(A!==void 0){if(!u(A))throw new TypeError("`"+A+"` is not an Option Object");P=b(P,{_:A},S)}return P._}},4428:z=>{"use strict";z.exports=p=>{if(Object.prototype.toString.call(p)!=="[object Object]")return!1;const h=Object.getPrototypeOf(p);return h===null||h===Object.prototype}},7931:z=>{(function(h,u){z.exports=u()})(window,function(){return function(p){var h={};function u(y){if(h[y])return h[y].exports;var E=h[y]={i:y,l:!1,exports:{}};return p[y].call(E.exports,E,E.exports,u),E.l=!0,E.exports}return u.m=p,u.c=h,u.d=function(y,E,w){u.o(y,E)||Object.defineProperty(y,E,{enumerable:!0,get:w})},u.r=function(y){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})},u.t=function(y,E){if(E&1&&(y=u(y)),E&8||E&4&&typeof y=="object"&&y&&y.__esModule)return y;var w=Object.create(null);if(u.r(w),Object.defineProperty(w,"default",{enumerable:!0,value:y}),E&2&&typeof y!="string")for(var I in y)u.d(w,I,function(g){return y[g]}.bind(null,I));return w},u.n=function(y){var E=y&&y.__esModule?function(){return y.default}:function(){return y};return u.d(E,"a",E),E},u.o=function(y,E){return Object.prototype.hasOwnProperty.call(y,E)},u.p="",u(u.s=0)}({"./src/index.js":function(p,h,u){"use strict";u.r(h);var y=u("./src/sass/index.scss"),E=u.n(y),w=u("./src/js/init.js"),I=w.default.init;typeof window<"u"&&(window.printJS=I),h.default=I},"./src/js/browser.js":function(p,h,u){"use strict";u.r(h);var y={isFirefox:function(){return typeof InstallTrigger<"u"},isIE:function(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode},isEdge:function(){return!y.isIE()&&!!window.StyleMedia},isChrome:function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return!!w.chrome},isSafari:function(){return Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||navigator.userAgent.toLowerCase().indexOf("safari")!==-1},isIOSChrome:function(){return navigator.userAgent.toLowerCase().indexOf("crios")!==-1}};h.default=y},"./src/js/functions.js":function(p,h,u){"use strict";u.r(h),u.d(h,"addWrapper",function(){return I}),u.d(h,"capitalizePrint",function(){return g}),u.d(h,"collectStyles",function(){return v}),u.d(h,"addHeader",function(){return l}),u.d(h,"cleanUp",function(){return O}),u.d(h,"isRawHTML",function(){return M});var y=u("./src/js/modal.js"),E=u("./src/js/browser.js");function w(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(f){return typeof f}:w=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},w(s)}function I(s,b){var f="font-family:"+b.font+" !important; font-size: "+b.font_size+" !important; width:100%;";return'<div style="'+f+'">'+s+"</div>"}function g(s){return s.charAt(0).toUpperCase()+s.slice(1)}function v(s,b){for(var f=document.defaultView||window,S="",P=f.getComputedStyle(s,""),A=0;A<P.length;A++)(b.targetStyles.indexOf("*")!==-1||b.targetStyle.indexOf(P[A])!==-1||o(b.targetStyles,P[A]))&&P.getPropertyValue(P[A])&&(S+=P[A]+":"+P.getPropertyValue(P[A])+";");return S+="max-width: "+b.maxWidth+"px !important; font-size: "+b.font_size+" !important;",S}function o(s,b){for(var f=0;f<s.length;f++)if(w(b)==="object"&&b.indexOf(s[f])!==-1)return!0;return!1}function l(s,b){var f=document.createElement("div");if(M(b.header))f.innerHTML=b.header;else{var S=document.createElement("h1"),P=document.createTextNode(b.header);S.appendChild(P),S.setAttribute("style",b.headerStyle),f.appendChild(S)}s.insertBefore(f,s.childNodes[0])}function O(s){s.showModal&&y.default.close(),s.onLoadingEnd&&s.onLoadingEnd(),(s.showModal||s.onLoadingStart)&&window.URL.revokeObjectURL(s.printable);var b="mouseover";(E.default.isChrome()||E.default.isFirefox())&&(b="focus");var f=function S(){window.removeEventListener(b,S),s.onPrintDialogClose();var P=document.getElementById(s.frameId);P&&P.remove()};window.addEventListener(b,f)}function M(s){var b=new RegExp("<([A-Za-z][A-Za-z0-9]*)\\b[^>]*>(.*?)</\\1>");return b.test(s)}},"./src/js/html.js":function(p,h,u){"use strict";u.r(h);var y=u("./src/js/functions.js"),E=u("./src/js/print.js");function w(v){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(l){return typeof l}:w=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},w(v)}h.default={print:function(o,l){var O=g(o.printable)?o.printable:document.getElementById(o.printable);if(!O){window.console.error("Invalid HTML element id: "+o.printable);return}o.printableElement=I(O,o),o.header&&Object(y.addHeader)(o.printableElement,o),E.default.send(o,l)}};function I(v,o){for(var l=v.cloneNode(),O=Array.prototype.slice.call(v.childNodes),M=0;M<O.length;M++)if(o.ignoreElements.indexOf(O[M].id)===-1){var s=I(O[M],o);l.appendChild(s)}switch(o.scanStyles&&v.nodeType===1&&l.setAttribute("style",Object(y.collectStyles)(v,o)),v.tagName){case"SELECT":l.value=v.value;break;case"CANVAS":l.getContext("2d").drawImage(v,0,0);break}return l}function g(v){return w(v)==="object"&&v&&(v instanceof HTMLElement||v.nodeType===1)}},"./src/js/image.js":function(p,h,u){"use strict";u.r(h);var y=u("./src/js/functions.js"),E=u("./src/js/print.js"),w=u("./src/js/browser.js");h.default={print:function(g,v){g.printable.constructor!==Array&&(g.printable=[g.printable]),g.printableElement=document.createElement("div"),g.printable.forEach(function(o){var l=document.createElement("img");if(l.setAttribute("style",g.imageStyle),l.src=o,w.default.isFirefox()){var O=l.src;l.src=O}var M=document.createElement("div");M.appendChild(l),g.printableElement.appendChild(M)}),g.header&&Object(y.addHeader)(g.printableElement,g),E.default.send(g,v)}}},"./src/js/init.js":function(p,h,u){"use strict";u.r(h);var y=u("./src/js/browser.js"),E=u("./src/js/modal.js"),w=u("./src/js/pdf.js"),I=u("./src/js/html.js"),g=u("./src/js/raw-html.js"),v=u("./src/js/image.js"),o=u("./src/js/json.js");function l(M){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?l=function(b){return typeof b}:l=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},l(M)}var O=["pdf","html","image","json","raw-html"];h.default={init:function(){var s={printable:null,fallbackPrintable:null,type:"pdf",header:null,headerStyle:"font-weight: 300;",maxWidth:800,properties:null,gridHeaderStyle:"font-weight: bold; padding: 5px; border: 1px solid #dddddd;",gridStyle:"border: 1px solid lightgray; margin-bottom: -1px;",showModal:!1,onError:function($){throw $},onLoadingStart:null,onLoadingEnd:null,onPrintDialogClose:function(){},onIncompatibleBrowser:function(){},modalMessage:"Retrieving Document...",frameId:"printJS",printableElement:null,documentTitle:"Document",targetStyle:["clear","display","width","min-width","height","min-height","max-height"],targetStyles:["border","box","break","text-decoration"],ignoreElements:[],repeatTableHeader:!0,css:null,style:null,scanStyles:!0,base64:!1,onPdfOpen:null,font:"TimesNewRoman",font_size:"12pt",honorMarginPadding:!0,honorColor:!1,imageStyle:"max-width: 100%;"},b=arguments[0];if(b===void 0)throw new Error("printJS expects at least 1 attribute.");switch(l(b)){case"string":s.printable=encodeURI(b),s.fallbackPrintable=s.printable,s.type=arguments[1]||s.type;break;case"object":s.printable=b.printable,s.fallbackPrintable=typeof b.fallbackPrintable<"u"?b.fallbackPrintable:s.printable,s.fallbackPrintable=s.base64?"data:application/pdf;base64,".concat(s.fallbackPrintable):s.fallbackPrintable;for(var f in s)f==="printable"||f==="fallbackPrintable"||(s[f]=typeof b[f]<"u"?b[f]:s[f]);break;default:throw new Error('Unexpected argument type! Expected "string" or "object", got '+l(b))}if(!s.printable)throw new Error("Missing printable information.");if(!s.type||typeof s.type!="string"||O.indexOf(s.type.toLowerCase())===-1)throw new Error("Invalid print type. Available types are: pdf, html, image and json.");s.showModal&&E.default.show(s),s.onLoadingStart&&s.onLoadingStart();var S=document.getElementById(s.frameId);S&&S.parentNode.removeChild(S);var P=document.createElement("iframe");switch(y.default.isFirefox()?P.setAttribute("style","width: 1px; height: 100px; position: fixed; left: 0; top: 0; opacity: 0; border-width: 0; margin: 0; padding: 0"):P.setAttribute("style","visibility: hidden; height: 0; width: 0; position: absolute; border: 0"),P.setAttribute("id",s.frameId),s.type!=="pdf"&&(P.srcdoc="<html><head><title>"+s.documentTitle+"</title>",s.css&&(Array.isArray(s.css)||(s.css=[s.css]),s.css.forEach(function(R){P.srcdoc+='<link rel="stylesheet" href="'+R+'">'})),P.srcdoc+="</head><body></body></html>"),s.type){case"pdf":if(y.default.isIE())try{console.info("Print.js doesn't support PDF printing in Internet Explorer.");var A=window.open(s.fallbackPrintable,"_blank");A.focus(),s.onIncompatibleBrowser()}catch(R){s.onError(R)}finally{s.showModal&&E.default.close(),s.onLoadingEnd&&s.onLoadingEnd()}else w.default.print(s,P);break;case"image":v.default.print(s,P);break;case"html":I.default.print(s,P);break;case"raw-html":g.default.print(s,P);break;case"json":o.default.print(s,P);break}}}},"./src/js/json.js":function(p,h,u){"use strict";u.r(h);var y=u("./src/js/functions.js"),E=u("./src/js/print.js");function w(g){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(o){return typeof o}:w=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},w(g)}h.default={print:function(v,o){if(w(v.printable)!=="object")throw new Error("Invalid javascript data object (JSON).");if(typeof v.repeatTableHeader!="boolean")throw new Error("Invalid value for repeatTableHeader attribute (JSON).");if(!v.properties||!Array.isArray(v.properties))throw new Error("Invalid properties array for your JSON data.");v.properties=v.properties.map(function(l){return{field:w(l)==="object"?l.field:l,displayName:w(l)==="object"?l.displayName:l,columnSize:w(l)==="object"&&l.columnSize?l.columnSize+";":100/v.properties.length+"%;"}}),v.printableElement=document.createElement("div"),v.header&&Object(y.addHeader)(v.printableElement,v),v.printableElement.innerHTML+=I(v),E.default.send(v,o)}};function I(g){var v=g.printable,o=g.properties,l='<table style="border-collapse: collapse; width: 100%;">';g.repeatTableHeader&&(l+="<thead>"),l+="<tr>";for(var O=0;O<o.length;O++)l+='<th style="width:'+o[O].columnSize+";"+g.gridHeaderStyle+'">'+Object(y.capitalizePrint)(o[O].displayName)+"</th>";l+="</tr>",g.repeatTableHeader&&(l+="</thead>"),l+="<tbody>";for(var M=0;M<v.length;M++){l+="<tr>";for(var s=0;s<o.length;s++){var b=v[M],f=o[s].field.split(".");if(f.length>1)for(var S=0;S<f.length;S++)b=b[f[S]];else b=b[o[s].field];l+='<td style="width:'+o[s].columnSize+g.gridStyle+'">'+b+"</td>"}l+="</tr>"}return l+="</tbody></table>",l}},"./src/js/modal.js":function(p,h,u){"use strict";u.r(h);var y={show:function(w){var I="font-family:sans-serif; display:table; text-align:center; font-weight:300; font-size:30px; left:0; top:0;position:fixed; z-index: 9990;color: #0460B5; width: 100%; height: 100%; background-color:rgba(255,255,255,.9);transition: opacity .3s ease;",g=document.createElement("div");g.setAttribute("style",I),g.setAttribute("id","printJS-Modal");var v=document.createElement("div");v.setAttribute("style","display:table-cell; vertical-align:middle; padding-bottom:100px;");var o=document.createElement("div");o.setAttribute("class","printClose"),o.setAttribute("id","printClose"),v.appendChild(o);var l=document.createElement("span");l.setAttribute("class","printSpinner"),v.appendChild(l);var O=document.createTextNode(w.modalMessage);v.appendChild(O),g.appendChild(v),document.getElementsByTagName("body")[0].appendChild(g),document.getElementById("printClose").addEventListener("click",function(){y.close()})},close:function(){var w=document.getElementById("printJS-Modal");w&&w.parentNode.removeChild(w)}};h.default=y},"./src/js/pdf.js":function(p,h,u){"use strict";u.r(h);var y=u("./src/js/print.js"),E=u("./src/js/functions.js");h.default={print:function(g,v){if(g.base64){var o=Uint8Array.from(atob(g.printable),function(O){return O.charCodeAt(0)});w(g,v,o);return}g.printable=/^(blob|http|\/\/)/i.test(g.printable)?g.printable:window.location.origin+(g.printable.charAt(0)!=="/"?"/"+g.printable:g.printable);var l=new window.XMLHttpRequest;l.responseType="arraybuffer",l.addEventListener("error",function(){Object(E.cleanUp)(g),g.onError(l.statusText,l)}),l.addEventListener("load",function(){if([200,201].indexOf(l.status)===-1){Object(E.cleanUp)(g),g.onError(l.statusText,l);return}w(g,v,l.response)}),l.open("GET",g.printable,!0),l.send()}};function w(I,g,v){var o=new window.Blob([v],{type:"application/pdf"});o=window.URL.createObjectURL(o),g.setAttribute("src",o),y.default.send(I,g)}},"./src/js/print.js":function(p,h,u){"use strict";u.r(h);var y=u("./src/js/browser.js"),E=u("./src/js/functions.js"),w={send:function(l,O){document.getElementsByTagName("body")[0].appendChild(O);var M=document.getElementById(l.frameId);M.onload=function(){if(l.type==="pdf"){y.default.isFirefox()?setTimeout(function(){return I(M,l)},1e3):I(M,l);return}var s=M.contentWindow||M.contentDocument;if(s.document&&(s=s.document),s.body.appendChild(l.printableElement),l.type!=="pdf"&&l.style){var b=document.createElement("style");b.innerHTML=l.style,s.head.appendChild(b)}var f=s.getElementsByTagName("img");f.length>0?g(Array.from(f)).then(function(){return I(M,l)}):I(M,l)}}};function I(o,l){try{if(o.focus(),y.default.isEdge()||y.default.isIE())try{o.contentWindow.document.execCommand("print",!1,null)}catch{o.contentWindow.print()}else o.contentWindow.print()}catch(O){l.onError(O)}finally{y.default.isFirefox()&&(o.style.visibility="hidden",o.style.left="-1px"),Object(E.cleanUp)(l)}}function g(o){var l=o.map(function(O){if(O.src&&O.src!==window.location.href)return v(O)});return Promise.all(l)}function v(o){return new Promise(function(l){var O=function M(){!o||typeof o.naturalWidth>"u"||o.naturalWidth===0||!o.complete?setTimeout(M,500):l()};O()})}h.default=w},"./src/js/raw-html.js":function(p,h,u){"use strict";u.r(h);var y=u("./src/js/print.js");h.default={print:function(w,I){w.printableElement=document.createElement("div"),w.printableElement.setAttribute("style","width:100%"),w.printableElement.innerHTML=w.printable,y.default.send(w,I)}}},"./src/sass/index.scss":function(p,h,u){},0:function(p,h,u){p.exports=u("./src/index.js")}}).default})},3335:(z,p,h)=>{"use strict";var u;/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var y=h(4041),E=Symbol.for("react.element"),w=Symbol.for("react.fragment"),I=Object.prototype.hasOwnProperty,g=y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v={key:!0,ref:!0,__self:!0,__source:!0};function o(l,O,M){var s,b={},f=null,S=null;M!==void 0&&(f=""+M),O.key!==void 0&&(f=""+O.key),O.ref!==void 0&&(S=O.ref);for(s in O)I.call(O,s)&&!v.hasOwnProperty(s)&&(b[s]=O[s]);if(l&&l.defaultProps)for(s in O=l.defaultProps,O)b[s]===void 0&&(b[s]=O[s]);return{$$typeof:E,type:l,key:f,ref:S,props:b,_owner:g.current}}u=w,p.jsx=o,u=o},4304:(z,p)=>{"use strict";/**
10
+ * @license React
11
+ * react.production.min.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var h=Symbol.for("react.element"),u=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),I=Symbol.for("react.provider"),g=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),o=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),M=Symbol.iterator;function s(i){return i===null||typeof i!="object"?null:(i=M&&i[M]||i["@@iterator"],typeof i=="function"?i:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},f=Object.assign,S={};function P(i,d,W){this.props=i,this.context=d,this.refs=S,this.updater=W||b}P.prototype.isReactComponent={},P.prototype.setState=function(i,d){if(typeof i!="object"&&typeof i!="function"&&i!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,i,d,"setState")},P.prototype.forceUpdate=function(i){this.updater.enqueueForceUpdate(this,i,"forceUpdate")};function A(){}A.prototype=P.prototype;function R(i,d,W){this.props=i,this.context=d,this.refs=S,this.updater=W||b}var $=R.prototype=new A;$.constructor=R,f($,P.prototype),$.isPureReactComponent=!0;var re=Array.isArray,V=Object.prototype.hasOwnProperty,de={current:null},Ae={key:!0,ref:!0,__self:!0,__source:!0};function We(i,d,W){var C,N={},k=null,x=null;if(d!=null)for(C in d.ref!==void 0&&(x=d.ref),d.key!==void 0&&(k=""+d.key),d)V.call(d,C)&&!Ae.hasOwnProperty(C)&&(N[C]=d[C]);var L=arguments.length-2;if(L===1)N.children=W;else if(1<L){for(var T=Array(L),K=0;K<L;K++)T[K]=arguments[K+2];N.children=T}if(i&&i.defaultProps)for(C in L=i.defaultProps,L)N[C]===void 0&&(N[C]=L[C]);return{$$typeof:h,type:i,key:k,ref:x,props:N,_owner:de.current}}function m(i,d){return{$$typeof:h,type:i.type,key:d,ref:i.ref,props:i.props,_owner:i._owner}}function B(i){return typeof i=="object"&&i!==null&&i.$$typeof===h}function ft(i){var d={"=":"=0",":":"=2"};return"$"+i.replace(/[=:]/g,function(W){return d[W]})}var q=/\/+/g;function he(i,d){return typeof i=="object"&&i!==null&&i.key!=null?ft(""+i.key):d.toString(36)}function oe(i,d,W,C,N){var k=typeof i;(k==="undefined"||k==="boolean")&&(i=null);var x=!1;if(i===null)x=!0;else switch(k){case"string":case"number":x=!0;break;case"object":switch(i.$$typeof){case h:case u:x=!0}}if(x)return x=i,N=N(x),i=C===""?"."+he(x,0):C,re(N)?(W="",i!=null&&(W=i.replace(q,"$&/")+"/"),oe(N,d,W,"",function(K){return K})):N!=null&&(B(N)&&(N=m(N,W+(!N.key||x&&x.key===N.key?"":(""+N.key).replace(q,"$&/")+"/")+i)),d.push(N)),1;if(x=0,C=C===""?".":C+":",re(i))for(var L=0;L<i.length;L++){k=i[L];var T=C+he(k,L);x+=oe(k,d,W,T,N)}else if(T=s(i),typeof T=="function")for(i=T.call(i),L=0;!(k=i.next()).done;)k=k.value,T=C+he(k,L++),x+=oe(k,d,W,T,N);else if(k==="object")throw d=String(i),Error("Objects are not valid as a React child (found: "+(d==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":d)+"). If you meant to render a collection of children, use an array instead.");return x}function se(i,d,W){if(i==null)return i;var C=[],N=0;return oe(i,C,"","",function(k){return d.call(W,k,N++)}),C}function De(i){if(i._status===-1){var d=i._result;d=d(),d.then(function(W){(i._status===0||i._status===-1)&&(i._status=1,i._result=W)},function(W){(i._status===0||i._status===-1)&&(i._status=2,i._result=W)}),i._status===-1&&(i._status=0,i._result=d)}if(i._status===1)return i._result.default;throw i._result}var D={current:null},Z={transition:null},pe={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:Z,ReactCurrentOwner:de};function G(){throw Error("act(...) is not supported in production builds of React.")}p.Children={map:se,forEach:function(i,d,W){se(i,function(){d.apply(this,arguments)},W)},count:function(i){var d=0;return se(i,function(){d++}),d},toArray:function(i){return se(i,function(d){return d})||[]},only:function(i){if(!B(i))throw Error("React.Children.only expected to receive a single React element child.");return i}},p.Component=P,p.Fragment=y,p.Profiler=w,p.PureComponent=R,p.StrictMode=E,p.Suspense=o,p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=pe,p.act=G,p.cloneElement=function(i,d,W){if(i==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+i+".");var C=f({},i.props),N=i.key,k=i.ref,x=i._owner;if(d!=null){if(d.ref!==void 0&&(k=d.ref,x=de.current),d.key!==void 0&&(N=""+d.key),i.type&&i.type.defaultProps)var L=i.type.defaultProps;for(T in d)V.call(d,T)&&!Ae.hasOwnProperty(T)&&(C[T]=d[T]===void 0&&L!==void 0?L[T]:d[T])}var T=arguments.length-2;if(T===1)C.children=W;else if(1<T){L=Array(T);for(var K=0;K<T;K++)L[K]=arguments[K+2];C.children=L}return{$$typeof:h,type:i.type,key:N,ref:k,props:C,_owner:x}},p.createContext=function(i){return i={$$typeof:g,_currentValue:i,_currentValue2:i,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},i.Provider={$$typeof:I,_context:i},i.Consumer=i},p.createElement=We,p.createFactory=function(i){var d=We.bind(null,i);return d.type=i,d},p.createRef=function(){return{current:null}},p.forwardRef=function(i){return{$$typeof:v,render:i}},p.isValidElement=B,p.lazy=function(i){return{$$typeof:O,_payload:{_status:-1,_result:i},_init:De}},p.memo=function(i,d){return{$$typeof:l,type:i,compare:d===void 0?null:d}},p.startTransition=function(i){var d=Z.transition;Z.transition={};try{i()}finally{Z.transition=d}},p.unstable_act=G,p.useCallback=function(i,d){return D.current.useCallback(i,d)},p.useContext=function(i){return D.current.useContext(i)},p.useDebugValue=function(){},p.useDeferredValue=function(i){return D.current.useDeferredValue(i)},p.useEffect=function(i,d){return D.current.useEffect(i,d)},p.useId=function(){return D.current.useId()},p.useImperativeHandle=function(i,d,W){return D.current.useImperativeHandle(i,d,W)},p.useInsertionEffect=function(i,d){return D.current.useInsertionEffect(i,d)},p.useLayoutEffect=function(i,d){return D.current.useLayoutEffect(i,d)},p.useMemo=function(i,d){return D.current.useMemo(i,d)},p.useReducer=function(i,d,W){return D.current.useReducer(i,d,W)},p.useRef=function(i){return D.current.useRef(i)},p.useState=function(i){return D.current.useState(i)},p.useSyncExternalStore=function(i,d,W){return D.current.useSyncExternalStore(i,d,W)},p.useTransition=function(){return D.current.useTransition()},p.version="18.3.1"},4041:(z,p,h)=>{"use strict";z.exports=h(4304)},1085:(z,p,h)=>{"use strict";z.exports=h(3335)}}]);
18
+
19
+ //# sourceMappingURL=237.index.js.map