Socket
Socket
Sign inDemoInstall

@icanbwell/activity-detail

Package Overview
Dependencies
Maintainers
5
Versions
978
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@icanbwell/activity-detail - npm Package Compare versions

Comparing version 0.207.0 to 0.208.0

236.index.js

8

513.index.js

@@ -1,6 +0,6 @@

(globalThis.webpackChunk_icanbwell_activity_detail=globalThis.webpackChunk_icanbwell_activity_detail||[]).push([[513],{6843:(B,b,m)=>{"use strict";m.d(b,{B:()=>Gt});var u=function(t,e){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},u(t,e)};function p(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 g=function(){return g=Object.assign||function(e){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},g.apply(this,arguments)};function y(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 a=0,r=Object.getOwnPropertySymbols(t);a<r.length;a++)e.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(t,r[a])&&(n[r[a]]=t[r[a]]);return n}function M(t,e,n,r){var a=arguments.length,c=a<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,_;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,n,r);else for(var R=t.length-1;R>=0;R--)(_=t[R])&&(c=(a<3?_(c):a>3?_(e,n,c):_(e,n))||c);return a>3&&c&&Object.defineProperty(e,n,c),c}function h(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 a(c){return c instanceof n?c:new n(function(_){_(c)})}return new(n||(n=Promise))(function(c,_){function R(H){try{I(r.next(H))}catch(ce){_(ce)}}function Z(H){try{I(r.throw(H))}catch(ce){_(ce)}}function I(H){H.done?c(H.value):a(H.value).then(R,Z)}I((r=r.apply(t,e||[])).next())})}function s(t,e){var n={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},r,a,c,_;return _={next:R(0),throw:R(1),return:R(2)},typeof Symbol=="function"&&(_[Symbol.iterator]=function(){return this}),_;function R(I){return function(H){return Z([I,H])}}function Z(I){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,a&&(c=I[0]&2?a.return:I[0]?a.throw||((c=a.return)&&c.call(a),0):a.next)&&!(c=c.call(a,I[1])).done)return c;switch(a=0,c&&(I=[I[0]&2,c.value]),I[0]){case 0:case 1:c=I;break;case 4:return n.label++,{value:I[1],done:!1};case 5:n.label++,a=I[1],I=[0];continue;case 7:I=n.ops.pop(),n.trys.pop();continue;default:if(c=n.trys,!(c=c.length>0&&c[c.length-1])&&(I[0]===6||I[0]===2)){n=0;continue}if(I[0]===3&&(!c||I[1]>c[0]&&I[1]<c[3])){n.label=I[1];break}if(I[0]===6&&n.label<c[1]){n.label=c[1],c=I;break}if(c&&n.label<c[2]){n.label=c[2],n.ops.push(I);break}c[2]&&n.ops.pop(),n.trys.pop();continue}I=e.call(t,n)}catch(H){I=[6,H],a=0}finally{r=c=0}if(I[0]&5)throw I[1];return{value:I[0]?I[1]:void 0,done:!0}}}var P=Object.create?function(t,e,n,r){r===void 0&&(r=n);var a=Object.getOwnPropertyDescriptor(e,n);(!a||("get"in a?!e.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,a)}:function(t,e,n,r){r===void 0&&(r=n),t[r]=e[n]};function j(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&P(e,t,n)}function l(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 w(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),a,c=[],_;try{for(;(e===void 0||e-- >0)&&!(a=r.next()).done;)c.push(a.value)}catch(R){_={error:R}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(_)throw _.error}}return c}function d(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(w(arguments[e]));return t}function E(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),a=0,e=0;e<n;e++)for(var c=arguments[e],_=0,R=c.length;_<R;_++,a++)r[a]=c[_];return r}function S(t,e,n){if(n||arguments.length===2)for(var r=0,a=e.length,c;r<a;r++)(c||!(r in e))&&(c||(c=Array.prototype.slice.call(e,0,r)),c[r]=e[r]);return t.concat(c||Array.prototype.slice.call(e))}function W(t){return this instanceof W?(this.v=t,this):new W(t)}function D(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),a,c=[];return a={},_("next"),_("throw"),_("return"),a[Symbol.asyncIterator]=function(){return this},a;function _(k){r[k]&&(a[k]=function(ae){return new Promise(function(nt,Vt){c.push([k,ae,nt,Vt])>1||R(k,ae)})})}function R(k,ae){try{Z(r[k](ae))}catch(nt){ce(c[0][3],nt)}}function Z(k){k.value instanceof W?Promise.resolve(k.value.v).then(I,H):ce(c[0][2],k)}function I(k){R("next",k)}function H(k){R("throw",k)}function ce(k,ae){k(ae),c.shift(),c.length&&R(c[0][0],c[0][1])}}function F(t){var e,n;return e={},r("next"),r("throw",function(a){throw a}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(a,c){e[a]=t[a]?function(_){return(n=!n)?{value:W(t[a](_)),done:a==="return"}:c?c(_):_}:c}}function te(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 l=="function"?l(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(c){n[c]=t[c]&&function(_){return new Promise(function(R,Z){_=t[c](_),a(R,Z,_.done,_.value)})}}function a(c,_,R,Z){Promise.resolve(Z).then(function(I){c({value:I,done:R})},_)}}function G(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 rt(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)&&P(e,t,n);return de(e,t),e}function he(t){return t&&t.__esModule?t:{default:t}}function O(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 K(t,e,n,r,a){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!a)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?a.call(t,n):a?a.value=n:e.set(t,n),n}function pe(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 V;class ne{constructor(e){V.set(this,void 0),K(this,V,e,"f")}get isWithin(){return!!window.ReactNativeWebView}open(e){O(this,V,"f").emit("openwebview",e)}close(e){O(this,V,"f").emit("closewebview",e)}reload(){O(this,V,"f").emit("reloadwebview")}}V=new WeakMap;var Ae=m(5501),ye=m.n(Ae);const J=(t,e)=>ye().bind(`${t}.${String(e)}`),$=t=>e=>J(t,e);var i,f;const A=$("biometrics");class N{constructor(e){i.set(this,void 0),f.set(this,A("isAvailable")),this.isAvailable=()=>o(this,void 0,void 0,function*(){return O(this,i,"f").isWithin?yield O(this,f,"f").call(this):!1}),this.biometricKeysExist=A("biometricKeysExist"),this.createKeys=A("createKeys"),this.createSignature=A("createSignature"),this.deleteKeys=A("deleteKeys"),K(this,i,e,"f")}}i=new WeakMap,f=new WeakMap;const C=$("events");class T{constructor(){this.emit=C("emit")}}var x=m(4329);const L=x.bind({concatArrays:!0,ignoreUndefined:!0});function z(t,e){const n=window.localStorage.getItem(t);if(n){const r=JSON.parse(n),a=JSON.parse(e),c=JSON.stringify(L(r,a));window.localStorage.setItem(t,c)}else window.localStorage.setItem(t,e)}function re(t,e){return new Promise((n,r)=>{try{const a=t();e?.(null,a),n(a)}catch(a){e?.(a),r(a)}})}function me(t,e,n){return Promise.all(t).then(r=>{const a=n?.(r)??null;return e?.(null,a),Promise.resolve(a)},r=>(e?.(r),Promise.reject(r)))}const ue={getItem:(t,e)=>re(()=>window.localStorage.getItem(t),e),setItem:(t,e,n)=>re(()=>window.localStorage.setItem(t,e),n),removeItem:(t,e)=>re(()=>window.localStorage.removeItem(t),e),mergeItem:(t,e,n)=>re(()=>z(t,e),n),clear:t=>re(()=>window.localStorage.clear(),t),getAllKeys:t=>re(()=>{const e=window.localStorage.length,n=[];for(let r=0;r<e;r+=1){const a=window.localStorage.key(r)||"";n.push(a)}return n},t),flushGetRequests:()=>{},multiGet:(t,e)=>{const n=t.map(a=>ue.getItem(a));return me(n,e,a=>a.map((c,_)=>[t[_],c]))},multiSet:(t,e)=>{const n=t.map(r=>ue.setItem(r[0],r[1]));return me(n,e)},multiRemove:(t,e)=>{const n=t.map(r=>ue.removeItem(r));return me(n,e)},multiMerge:(t,e)=>{const n=t.map(r=>ue.mergeItem(r[0],r[1]));return me(n,e)}},ct=ue;function Jt(t){return{getItem:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return AsyncStorage.getItem(t,...n)},setItem:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return AsyncStorage.setItem(t,...n)},mergeItem:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return AsyncStorage.mergeItem(t,...n)},removeItem:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return AsyncStorage.removeItem(t,...n)}}}const _e=ct;var ie,Ie,We,Ce;const Ne=$("storage");class at{constructor(e){ie.set(this,void 0),Ie.set(this,Ne("setItem")),We.set(this,Ne("getItem")),Ce.set(this,Ne("removeItem")),K(this,ie,e,"f")}setItem(e,n){return o(this,void 0,void 0,function*(){O(this,ie,"f").isWithin?yield O(this,Ie,"f").call(this,e,n):_e.setItem(e,n)})}getItem(e){return O(this,ie,"f").isWithin?O(this,We,"f").call(this,e):_e.getItem(e)}removeItem(e){return o(this,void 0,void 0,function*(){O(this,ie,"f").isWithin?yield O(this,Ce,"f").call(this,e):_e.removeItem(e)})}}ie=new WeakMap,Ie=new WeakMap,We=new WeakMap,Ce=new WeakMap;var ve,De;const fe=$("camera");class ut{constructor(e){ve.set(this,void 0),De.set(this,fe("isAvailable")),this.isAvailable=()=>o(this,void 0,void 0,function*(){return O(this,ve,"f").isWithin?yield O(this,De,"f").call(this):!1}),this.checkPermission=fe("checkPermission"),this.checkRollPermission=fe("checkRollPermission"),this.requestPermission=fe("requestPermission"),this.requestRollPermission=fe("requestRollPermission"),K(this,ve,e,"f")}}ve=new WeakMap,De=new WeakMap;var oe=m(8109),se=m(3817),Y,Le,Te,Re,xe;const be=$("geolocation");class ft{constructor(e){Y.set(this,void 0),Le.set(this,be("isAvailable")),Te.set(this,be("getCurrentPosition")),Re.set(this,be("checkPermission")),xe.set(this,be("requestPermission")),this.isAvailable=()=>o(this,void 0,void 0,function*(){return O(this,Y,"f").isWithin?O(this,Le,"f").call(this):!!navigator.geolocation}),this.getCurrentPosition=n=>o(this,void 0,void 0,function*(){if(O(this,Y,"f").isWithin)return O(this,Te,"f").call(this,n);try{const{state:r}=yield navigator.permissions.query({name:"geolocation"});if(r==="granted"||r==="prompt")return yield new Promise((a,c)=>navigator.geolocation.getCurrentPosition(a,c,n))}catch(r){throw new oe.M(`Failed to retrieve the permission or the position is unavailable. ${r.message}`,{errorCode:se.j.UNKNOWN})}throw new oe.M("Permission Denied.",{errorCode:se.j.INSUFFICIENT_PERMISSIONS})}),this.checkPermission=()=>o(this,void 0,void 0,function*(){return O(this,Y,"f").isWithin?O(this,Re,"f").call(this):(yield navigator.permissions.query({name:"geolocation"})).state}),this.requestPermission=()=>o(this,void 0,void 0,function*(){if(O(this,Y,"f").isWithin)return yield O(this,xe,"f").call(this);{const{state:n}=yield navigator.permissions.query({name:"geolocation"});return(n==="granted"||n==="prompt")&&(yield new Promise((r,a)=>navigator.geolocation.getCurrentPosition(r,a))),n}}),K(this,Y,e,"f")}}Y=new WeakMap,Le=new WeakMap,Te=new WeakMap,Re=new WeakMap,xe=new WeakMap;var dt=m(4212),ht=m.n(dt),pt=m(5562),yt=m.n(pt),we,Ue;const mt=$("print");class vt{constructor(e){we.set(this,void 0),Ue.set(this,mt("print")),K(this,we,e,"f")}print(e){return o(this,void 0,void 0,function*(){if(e.filePath&&ht()(e.filePath)||e.html){if(O(this,we,"f").isWithin)return yield O(this,Ue,"f").call(this,e);yt()({type:e.html?"html":"pdf",printable:e.html||e.filePath})}else throw new oe.M("Filepath must be an absolute URL.",{errorCode:se.j.UNKNOWN})})}}we=new WeakMap,Ue=new WeakMap;var Q,Be,ke,Ke,Fe;const ge=$("documentDownload"),$e={"image/jpeg":"jpeg","image/png":"png","image/svg+xml":"svg","application/pdf":"pdf"},bt=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(";")),gt=(t,e)=>{if(!bt(e))throw new oe.M("Invalid Data URL Format.",{errorCode:se.j.UNKNOWN});const n=wt(e);return Pe(n),`${t}.${$e[n]}`},Pe=t=>{if(!Object.keys($e).includes(t))throw new oe.M("Invalid or unallowed file type.",{errorCode:se.j.UNKNOWN})};class Pt{constructor(e){Q.set(this,void 0),Be.set(this,ge("isAvailable")),ke.set(this,ge("writeFile")),Ke.set(this,ge("checkPermission")),Fe.set(this,ge("requestPermission")),this.isAvailable=n=>o(this,void 0,void 0,function*(){return Pe(n),O(this,Q,"f").isWithin?O(this,Be,"f").call(this,n):!0}),this.writeFile=(n,r)=>o(this,void 0,void 0,function*(){if(Object.values($e).some(c=>n.includes(c)))throw new oe.M("Filename should not contain extension",{errorCode:se.j.UNKNOWN});const a=gt(n,r);if(O(this,Q,"f").isWithin)return O(this,ke,"f").call(this,a,r);{const c=document.createElement("a");return c.href=r,c.download=a,c.click(),"Files"}}),this.checkPermission=n=>o(this,void 0,void 0,function*(){return Pe(n),O(this,Q,"f").isWithin?O(this,Ke,"f").call(this,n):"granted"}),this.requestPermission=n=>o(this,void 0,void 0,function*(){return Pe(n),O(this,Q,"f").isWithin?yield O(this,Fe,"f").call(this,n):"granted"}),K(this,Q,e,"f")}}Q=new WeakMap,Be=new WeakMap,ke=new WeakMap,Ke=new WeakMap,Fe=new WeakMap;const le=Object.freeze({UNAVAILABLE:"unavailable",BLOCKED:"blocked",DENIED:"denied",GRANTED:"granted",LIMITED:"limited"}),ze="Only supported by iOS 14 and above";async function Et(){throw new Error(ze)}async function Ot(t){throw new Error(ze)}async function St(){throw new Error(ze)}async function it(){return le.UNAVAILABLE}async function ot(){return{status:le.UNAVAILABLE,settings:{}}}async function st(t){return t.reduce((e,n)=>(e[n]=le.UNAVAILABLE,e),{})}const q={check:it,checkLocationAccuracy:Et,checkMultiple:st,checkNotifications:ot,openLimitedPhotoLibraryPicker:St,openSettings:Promise.reject,request:it,requestLocationAccuracy:Ot,requestMultiple:st,requestNotifications:ot},jt=Object.freeze({ANDROID:{},IOS:{},WINDOWS:{}}),Mt=q.check,At=q.checkLocationAccuracy,_t=q.checkMultiple,It=q.checkNotifications,Wt=q.openLimitedPhotoLibraryPicker,Ct=q.openSettings,Nt=q.request,Dt=q.requestLocationAccuracy,Lt=q.requestMultiple,Tt=q.requestNotifications,qt={PERMISSIONS:jt,RESULTS:le,check:Mt,checkLocationAccuracy:At,checkMultiple:_t,checkNotifications:It,openLimitedPhotoLibraryPicker:Wt,openSettings:Ct,request:Nt,requestLocationAccuracy:Dt,requestMultiple:Lt,requestNotifications:Tt};var X,He,Ge,Ve,Je;const Ee=$("documentPicker"),Rt=t=>new Promise((e,n)=>{const r=new FileReader;r.readAsDataURL(t),r.onload=()=>e(r.result.replace("data:","").replace(/^.+,/,"")),r.onerror=n}),lt=t=>new Promise((e,n)=>{const r=document.createElement("input");r.type="file",t===!0&&(r.multiple=t),r.onchange=({target:a})=>o(void 0,void 0,void 0,function*(){try{e(yield Promise.all(Object.values(a.files).map(c=>o(void 0,void 0,void 0,function*(){return{type:c.type,name:c.name,size:c.size,base64:yield Rt(c)}}))))}catch(c){n(c)}}),r.click()});class xt{constructor(e){X.set(this,void 0),He.set(this,Ee("pickMultiple")),Ge.set(this,Ee("pickSingle")),Ve.set(this,Ee("checkPermission")),Je.set(this,Ee("requestPermission")),this.pickMultiple=()=>O(this,X,"f").isWithin?O(this,He,"f").call(this):lt(!0),this.checkPermission=()=>o(this,void 0,void 0,function*(){return O(this,X,"f").isWithin?yield O(this,Ve,"f").call(this):Promise.resolve(le.GRANTED)}),this.requestPermission=()=>o(this,void 0,void 0,function*(){return O(this,X,"f").isWithin?yield O(this,Je,"f").call(this):Promise.resolve(le.GRANTED)}),K(this,X,e,"f")}pickSingle(){return o(this,void 0,void 0,function*(){return O(this,X,"f").isWithin?O(this,Ge,"f").call(this):(yield lt(!1))[0]})}}X=new WeakMap,He=new WeakMap,Ge=new WeakMap,Ve=new WeakMap,Je=new WeakMap;var ee,qe,Ze,Ye,Qe;const Oe=$("pushNotifications");class Ut{constructor(e){ee.set(this,void 0),qe.set(this,Oe("isAvailable")),Ze.set(this,Oe("getDeviceToken")),Ye.set(this,Oe("checkPermission")),Qe.set(this,Oe("requestPermission")),this.isAvailable=()=>o(this,void 0,void 0,function*(){return O(this,ee,"f").isWithin?O(this,qe,"f").call(this):!1}),this.getDeviceToken=()=>o(this,void 0,void 0,function*(){if(O(this,ee,"f").isWithin)return O(this,Ze,"f").call(this);throw new Error("This method is currently not supported on web")}),this.checkPermission=()=>o(this,void 0,void 0,function*(){return O(this,ee,"f").isWithin?O(this,Ye,"f").call(this):"unavailable"}),this.requestPermission=()=>o(this,void 0,void 0,function*(){return O(this,ee,"f").isWithin?yield O(this,Qe,"f").call(this):"unavailable"}),K(this,ee,e,"f")}}ee=new WeakMap,qe=new WeakMap,Ze=new WeakMap,Ye=new WeakMap,Qe=new WeakMap;var Se,Xe;const Bt=$("deepLink");class kt{constructor(e){Se.set(this,void 0),Xe.set(this,Bt("openLink")),this.openLink=n=>o(this,void 0,void 0,function*(){if(O(this,Se,"f").isWithin)return O(this,Xe,"f").call(this,n);window.open(n.webUrl,"_blank")}),K(this,Se,e,"f")}}Se=new WeakMap,Xe=new WeakMap;var je,et;const Kt=$("system");class Ft{constructor(e){je.set(this,void 0),et.set(this,Kt("openSettings")),this.openSettings=()=>o(this,void 0,void 0,function*(){if(O(this,je,"f").isWithin)return yield O(this,et,"f").call(this)}),K(this,je,e,"f")}}je=new WeakMap,et=new WeakMap;var Me,tt;const $t=$("utils");class zt{constructor(e){Me.set(this,void 0),tt.set(this,$t("getPlatform")),K(this,Me,e,"f")}getPlatform(){return o(this,void 0,void 0,function*(){return O(this,Me,"f").isWithin?O(this,tt,"f").call(this):"web"})}}Me=new WeakMap,tt=new WeakMap;class Ht{constructor(){this.events=new T,this.webview=new ne(this.events),this.biometrics=new N(this.webview),this.storage=new at(this.webview),this.camera=new ut(this.webview),this.geolocation=new ft(this.webview),this.print=new vt(this.webview),this.documentDownload=new Pt(this.webview),this.documentPicker=new xt(this.webview),this.pushNotifications=new Ut(this.webview),this.deepLink=new kt(this.webview),this.utils=new zt(this.webview),this.system=new Ft(this.webview)}reloadView(){this.webview.isWithin?this.webview.reload():globalThis.location.reload()}}const Gt=new Ht},4212:B=>{"use strict";B.exports=b=>{if(typeof b!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof b}\``);return/^[a-zA-Z]:\\/.test(b)?!1:/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(b)}},1856:B=>{"use strict";B.exports=b=>{if(Object.prototype.toString.call(b)!=="[object Object]")return!1;const m=Object.getPrototypeOf(b);return m===null||m===Object.prototype}},4329:function(B,b,m){"use strict";const u=m(1856),{hasOwnProperty:p}=Object.prototype,{propertyIsEnumerable:g}=Object,y=(d,E,S)=>Object.defineProperty(d,E,{value:S,writable:!0,enumerable:!0,configurable:!0}),M=this,h={concatArrays:!1,ignoreUndefined:!1},v=d=>{const E=[];for(const S in d)p.call(d,S)&&E.push(S);if(Object.getOwnPropertySymbols){const S=Object.getOwnPropertySymbols(d);for(const W of S)g.call(d,W)&&E.push(W)}return E};function o(d){return Array.isArray(d)?s(d):u(d)?P(d):d}function s(d){const E=d.slice(0,0);return v(d).forEach(S=>{y(E,S,o(d[S]))}),E}function P(d){const E=Object.getPrototypeOf(d)===null?Object.create(null):{};return v(d).forEach(S=>{y(E,S,o(d[S]))}),E}const j=(d,E,S,W)=>(S.forEach(D=>{typeof E[D]>"u"&&W.ignoreUndefined||(D in d&&d[D]!==Object.getPrototypeOf(d)?y(d,D,w(d[D],E[D],W)):y(d,D,o(E[D])))}),d),l=(d,E,S)=>{let W=d.slice(0,0),D=0;return[d,E].forEach(F=>{const te=[];for(let G=0;G<F.length;G++)!p.call(F,G)||(te.push(String(G)),F===d?y(W,D++,F[G]):y(W,D++,o(F[G])));W=j(W,F,v(F).filter(G=>!te.includes(G)),S)}),W};function w(d,E,S){return S.concatArrays&&Array.isArray(d)&&Array.isArray(E)?l(d,E,S):!u(E)||!u(d)?o(E):j(d,E,v(E),S)}B.exports=function(...d){const E=w(o(h),this!==M&&this||{},h);let S={_:{}};for(const W of d)if(W!==void 0){if(!u(W))throw new TypeError("`"+W+"` is not an Option Object");S=w(S,{_:W},E)}return S._}},7320:B=>{"use strict";/*
(globalThis.webpackChunk_icanbwell_activity_detail=globalThis.webpackChunk_icanbwell_activity_detail||[]).push([[513],{6843:(B,b,m)=>{"use strict";m.d(b,{B:()=>Vt});var u=function(t,e){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},u(t,e)};function p(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 g=function(){return g=Object.assign||function(e){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},g.apply(this,arguments)};function y(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 a=0,r=Object.getOwnPropertySymbols(t);a<r.length;a++)e.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(t,r[a])&&(n[r[a]]=t[r[a]]);return n}function M(t,e,n,r){var a=arguments.length,c=a<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,_;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,n,r);else for(var R=t.length-1;R>=0;R--)(_=t[R])&&(c=(a<3?_(c):a>3?_(e,n,c):_(e,n))||c);return a>3&&c&&Object.defineProperty(e,n,c),c}function h(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 a(c){return c instanceof n?c:new n(function(_){_(c)})}return new(n||(n=Promise))(function(c,_){function R(H){try{I(r.next(H))}catch(ce){_(ce)}}function Z(H){try{I(r.throw(H))}catch(ce){_(ce)}}function I(H){H.done?c(H.value):a(H.value).then(R,Z)}I((r=r.apply(t,e||[])).next())})}function s(t,e){var n={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},r,a,c,_;return _={next:R(0),throw:R(1),return:R(2)},typeof Symbol=="function"&&(_[Symbol.iterator]=function(){return this}),_;function R(I){return function(H){return Z([I,H])}}function Z(I){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,a&&(c=I[0]&2?a.return:I[0]?a.throw||((c=a.return)&&c.call(a),0):a.next)&&!(c=c.call(a,I[1])).done)return c;switch(a=0,c&&(I=[I[0]&2,c.value]),I[0]){case 0:case 1:c=I;break;case 4:return n.label++,{value:I[1],done:!1};case 5:n.label++,a=I[1],I=[0];continue;case 7:I=n.ops.pop(),n.trys.pop();continue;default:if(c=n.trys,!(c=c.length>0&&c[c.length-1])&&(I[0]===6||I[0]===2)){n=0;continue}if(I[0]===3&&(!c||I[1]>c[0]&&I[1]<c[3])){n.label=I[1];break}if(I[0]===6&&n.label<c[1]){n.label=c[1],c=I;break}if(c&&n.label<c[2]){n.label=c[2],n.ops.push(I);break}c[2]&&n.ops.pop(),n.trys.pop();continue}I=e.call(t,n)}catch(H){I=[6,H],a=0}finally{r=c=0}if(I[0]&5)throw I[1];return{value:I[0]?I[1]:void 0,done:!0}}}var E=Object.create?function(t,e,n,r){r===void 0&&(r=n);var a=Object.getOwnPropertyDescriptor(e,n);(!a||("get"in a?!e.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,a)}:function(t,e,n,r){r===void 0&&(r=n),t[r]=e[n]};function j(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&E(e,t,n)}function l(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 w(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),a,c=[],_;try{for(;(e===void 0||e-- >0)&&!(a=r.next()).done;)c.push(a.value)}catch(R){_={error:R}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(_)throw _.error}}return c}function d(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(w(arguments[e]));return t}function O(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),a=0,e=0;e<n;e++)for(var c=arguments[e],_=0,R=c.length;_<R;_++,a++)r[a]=c[_];return r}function S(t,e,n){if(n||arguments.length===2)for(var r=0,a=e.length,c;r<a;r++)(c||!(r in e))&&(c||(c=Array.prototype.slice.call(e,0,r)),c[r]=e[r]);return t.concat(c||Array.prototype.slice.call(e))}function W(t){return this instanceof W?(this.v=t,this):new W(t)}function D(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),a,c=[];return a={},_("next"),_("throw"),_("return"),a[Symbol.asyncIterator]=function(){return this},a;function _(k){r[k]&&(a[k]=function(ae){return new Promise(function(rt,Jt){c.push([k,ae,rt,Jt])>1||R(k,ae)})})}function R(k,ae){try{Z(r[k](ae))}catch(rt){ce(c[0][3],rt)}}function Z(k){k.value instanceof W?Promise.resolve(k.value.v).then(I,H):ce(c[0][2],k)}function I(k){R("next",k)}function H(k){R("throw",k)}function ce(k,ae){k(ae),c.shift(),c.length&&R(c[0][0],c[0][1])}}function F(t){var e,n;return e={},r("next"),r("throw",function(a){throw a}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(a,c){e[a]=t[a]?function(_){return(n=!n)?{value:W(t[a](_)),done:a==="return"}:c?c(_):_}:c}}function te(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 l=="function"?l(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(c){n[c]=t[c]&&function(_){return new Promise(function(R,Z){_=t[c](_),a(R,Z,_.done,_.value)})}}function a(c,_,R,Z){Promise.resolve(Z).then(function(I){c({value:I,done:R})},_)}}function G(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var he=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function it(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)&&E(e,t,n);return he(e,t),e}function pe(t){return t&&t.__esModule?t:{default:t}}function P(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 K(t,e,n,r,a){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!a)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!a:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?a.call(t,n):a?a.value=n:e.set(t,n),n}function ye(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 V;class ne{constructor(e){V.set(this,void 0),K(this,V,e,"f")}get isWithin(){return!!window.ReactNativeWebView}open(e){P(this,V,"f").emit("openwebview",e)}close(e){P(this,V,"f").emit("closewebview",e)}reload(){P(this,V,"f").emit("reloadwebview")}}V=new WeakMap;var Ae=m(5501),me=m.n(Ae);const J=(t,e)=>me().bind(`${t}.${String(e)}`),$=t=>e=>J(t,e);var i,f;const A=$("biometrics");class N{constructor(e){i.set(this,void 0),f.set(this,A("isAvailable")),this.isAvailable=()=>o(this,void 0,void 0,function*(){return P(this,i,"f").isWithin?yield P(this,f,"f").call(this):!1}),this.biometricKeysExist=A("biometricKeysExist"),this.createKeys=A("createKeys"),this.createSignature=A("createSignature"),this.deleteKeys=A("deleteKeys"),K(this,i,e,"f")}}i=new WeakMap,f=new WeakMap;const C=$("events");class T{constructor(){this.emit=C("emit")}}var U=m(4329);const L=U.bind({concatArrays:!0,ignoreUndefined:!0});function z(t,e){const n=window.localStorage.getItem(t);if(n){const r=JSON.parse(n),a=JSON.parse(e),c=JSON.stringify(L(r,a));window.localStorage.setItem(t,c)}else window.localStorage.setItem(t,e)}function re(t,e){return new Promise((n,r)=>{try{const a=t();e?.(null,a),n(a)}catch(a){e?.(a),r(a)}})}function ve(t,e,n){return Promise.all(t).then(r=>{const a=n?.(r)??null;return e?.(null,a),Promise.resolve(a)},r=>(e?.(r),Promise.reject(r)))}const ue={getItem:(t,e)=>re(()=>window.localStorage.getItem(t),e),setItem:(t,e,n)=>re(()=>window.localStorage.setItem(t,e),n),removeItem:(t,e)=>re(()=>window.localStorage.removeItem(t),e),mergeItem:(t,e,n)=>re(()=>z(t,e),n),clear:t=>re(()=>window.localStorage.clear(),t),getAllKeys:t=>re(()=>{const e=window.localStorage.length,n=[];for(let r=0;r<e;r+=1){const a=window.localStorage.key(r)||"";n.push(a)}return n},t),flushGetRequests:()=>{},multiGet:(t,e)=>{const n=t.map(a=>ue.getItem(a));return ve(n,e,a=>a.map((c,_)=>[t[_],c]))},multiSet:(t,e)=>{const n=t.map(r=>ue.setItem(r[0],r[1]));return ve(n,e)},multiRemove:(t,e)=>{const n=t.map(r=>ue.removeItem(r));return ve(n,e)},multiMerge:(t,e)=>{const n=t.map(r=>ue.mergeItem(r[0],r[1]));return ve(n,e)}},ut=ue;function qt(t){return{getItem:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return AsyncStorage.getItem(t,...n)},setItem:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return AsyncStorage.setItem(t,...n)},mergeItem:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return AsyncStorage.mergeItem(t,...n)},removeItem:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return AsyncStorage.removeItem(t,...n)}}}const _e=ut;var ie,Ie,We,Ce;const Ne=$("storage");class ft{constructor(e){ie.set(this,void 0),Ie.set(this,Ne("setItem")),We.set(this,Ne("getItem")),Ce.set(this,Ne("removeItem")),K(this,ie,e,"f")}setItem(e,n){return o(this,void 0,void 0,function*(){P(this,ie,"f").isWithin?yield P(this,Ie,"f").call(this,e,n):_e.setItem(e,n)})}getItem(e){return P(this,ie,"f").isWithin?P(this,We,"f").call(this,e):_e.getItem(e)}removeItem(e){return o(this,void 0,void 0,function*(){P(this,ie,"f").isWithin?yield P(this,Ce,"f").call(this,e):_e.removeItem(e)})}}ie=new WeakMap,Ie=new WeakMap,We=new WeakMap,Ce=new WeakMap;var be,De;const fe=$("camera");class dt{constructor(e){be.set(this,void 0),De.set(this,fe("isAvailable")),this.isAvailable=()=>o(this,void 0,void 0,function*(){return P(this,be,"f").isWithin?yield P(this,De,"f").call(this):!1}),this.checkPermission=fe("checkPermission"),this.checkRollPermission=fe("checkRollPermission"),this.requestPermission=fe("requestPermission"),this.requestRollPermission=fe("requestRollPermission"),K(this,be,e,"f")}}be=new WeakMap,De=new WeakMap;var oe=m(8109),se=m(3817),Y,Le,Te,Re,Ue;const we=$("geolocation");class ht{constructor(e){Y.set(this,void 0),Le.set(this,we("isAvailable")),Te.set(this,we("getCurrentPosition")),Re.set(this,we("checkPermission")),Ue.set(this,we("requestPermission")),this.isAvailable=()=>o(this,void 0,void 0,function*(){return P(this,Y,"f").isWithin?P(this,Le,"f").call(this):!!navigator.geolocation}),this.getCurrentPosition=n=>o(this,void 0,void 0,function*(){if(P(this,Y,"f").isWithin)return P(this,Te,"f").call(this,n);try{const{state:r}=yield navigator.permissions.query({name:"geolocation"});if(r==="granted"||r==="prompt")return yield new Promise((a,c)=>navigator.geolocation.getCurrentPosition(a,c,n))}catch(r){throw new oe.M(`Failed to retrieve the permission or the position is unavailable. ${r.message}`,{errorCode:se.j.UNKNOWN})}throw new oe.M("Permission Denied.",{errorCode:se.j.INSUFFICIENT_PERMISSIONS})}),this.checkPermission=()=>o(this,void 0,void 0,function*(){return P(this,Y,"f").isWithin?P(this,Re,"f").call(this):(yield navigator.permissions.query({name:"geolocation"})).state}),this.requestPermission=()=>o(this,void 0,void 0,function*(){if(P(this,Y,"f").isWithin)return yield P(this,Ue,"f").call(this);{const{state:n}=yield navigator.permissions.query({name:"geolocation"});return(n==="granted"||n==="prompt")&&(yield new Promise((r,a)=>navigator.geolocation.getCurrentPosition(r,a))),n}}),K(this,Y,e,"f")}}Y=new WeakMap,Le=new WeakMap,Te=new WeakMap,Re=new WeakMap,Ue=new WeakMap;var pt=m(4212),yt=m.n(pt),mt=m(5562),vt=m.n(mt),ge,xe;const bt=$("print");class wt{constructor(e){ge.set(this,void 0),xe.set(this,bt("print")),K(this,ge,e,"f")}print(e){return o(this,void 0,void 0,function*(){if(e.filePath&&yt()(e.filePath)||e.html){if(P(this,ge,"f").isWithin)return yield P(this,xe,"f").call(this,e);vt()({type:e.html?"html":"pdf",printable:e.html||e.filePath})}else throw new oe.M("Filepath must be an absolute URL.",{errorCode:se.j.UNKNOWN})})}}ge=new WeakMap,xe=new WeakMap;var Q,Be,ke,Ke,Fe;const Pe=$("documentDownload"),$e={"image/jpeg":"jpeg","image/png":"png","image/svg+xml":"svg","application/pdf":"pdf"},gt=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)},Pt=t=>t.substring(t.indexOf(":")+1,t.indexOf(";")),Et=(t,e)=>{if(!gt(e))throw new oe.M("Invalid Data URL Format.",{errorCode:se.j.UNKNOWN});const n=Pt(e);return Ee(n),`${t}.${$e[n]}`},Ee=t=>{if(!Object.keys($e).includes(t))throw new oe.M("Invalid or unallowed file type.",{errorCode:se.j.UNKNOWN})};class Ot{constructor(e){Q.set(this,void 0),Be.set(this,Pe("isAvailable")),ke.set(this,Pe("writeFile")),Ke.set(this,Pe("checkPermission")),Fe.set(this,Pe("requestPermission")),this.isAvailable=n=>o(this,void 0,void 0,function*(){return Ee(n),P(this,Q,"f").isWithin?P(this,Be,"f").call(this,n):!0}),this.writeFile=(n,r)=>o(this,void 0,void 0,function*(){if(Object.values($e).some(c=>n.includes(c)))throw new oe.M("Filename should not contain extension",{errorCode:se.j.UNKNOWN});const a=Et(n,r);if(P(this,Q,"f").isWithin)return P(this,ke,"f").call(this,a,r);{const c=document.createElement("a");return c.href=r,c.download=a,c.click(),"Files"}}),this.checkPermission=n=>o(this,void 0,void 0,function*(){return Ee(n),P(this,Q,"f").isWithin?P(this,Ke,"f").call(this,n):"granted"}),this.requestPermission=n=>o(this,void 0,void 0,function*(){return Ee(n),P(this,Q,"f").isWithin?yield P(this,Fe,"f").call(this,n):"granted"}),K(this,Q,e,"f")}}Q=new WeakMap,Be=new WeakMap,ke=new WeakMap,Ke=new WeakMap,Fe=new WeakMap;const le=Object.freeze({UNAVAILABLE:"unavailable",BLOCKED:"blocked",DENIED:"denied",GRANTED:"granted",LIMITED:"limited"}),ze="Only supported by iOS 14 and above";async function St(){throw new Error(ze)}async function jt(t){throw new Error(ze)}async function Mt(){throw new Error(ze)}async function ot(){return le.UNAVAILABLE}async function st(){return{status:le.UNAVAILABLE,settings:{}}}async function lt(t){return t.reduce((e,n)=>(e[n]=le.UNAVAILABLE,e),{})}const q={check:ot,checkLocationAccuracy:St,checkMultiple:lt,checkNotifications:st,openLimitedPhotoLibraryPicker:Mt,openSettings:Promise.reject,request:ot,requestLocationAccuracy:jt,requestMultiple:lt,requestNotifications:st},At=Object.freeze({ANDROID:{},IOS:{},WINDOWS:{}}),_t=q.check,It=q.checkLocationAccuracy,Wt=q.checkMultiple,Ct=q.checkNotifications,Nt=q.openLimitedPhotoLibraryPicker,Dt=q.openSettings,Lt=q.request,Tt=q.requestLocationAccuracy,Rt=q.requestMultiple,Ut=q.requestNotifications,Zt={PERMISSIONS:At,RESULTS:le,check:_t,checkLocationAccuracy:It,checkMultiple:Wt,checkNotifications:Ct,openLimitedPhotoLibraryPicker:Nt,openSettings:Dt,request:Lt,requestLocationAccuracy:Tt,requestMultiple:Rt,requestNotifications:Ut};var X,He,Ge,Ve,Je;const Oe=$("documentPicker"),xt=t=>new Promise((e,n)=>{const r=new FileReader;r.readAsDataURL(t),r.onload=()=>e(r.result.replace("data:","").replace(/^.+,/,"")),r.onerror=n}),ct=t=>new Promise((e,n)=>{const r=document.createElement("input");r.type="file",t===!0&&(r.multiple=t),r.onchange=({target:a})=>o(void 0,void 0,void 0,function*(){try{e(yield Promise.all(Object.values(a.files).map(c=>o(void 0,void 0,void 0,function*(){return{type:c.type,name:c.name,size:c.size,base64:yield xt(c)}}))))}catch(c){n(c)}}),r.click()});class Bt{constructor(e){X.set(this,void 0),He.set(this,Oe("pickMultiple")),Ge.set(this,Oe("pickSingle")),Ve.set(this,Oe("checkPermission")),Je.set(this,Oe("requestPermission")),this.pickMultiple=()=>P(this,X,"f").isWithin?P(this,He,"f").call(this):ct(!0),this.checkPermission=()=>o(this,void 0,void 0,function*(){return P(this,X,"f").isWithin?yield P(this,Ve,"f").call(this):Promise.resolve(le.GRANTED)}),this.requestPermission=()=>o(this,void 0,void 0,function*(){return P(this,X,"f").isWithin?yield P(this,Je,"f").call(this):Promise.resolve(le.GRANTED)}),K(this,X,e,"f")}pickSingle(){return o(this,void 0,void 0,function*(){return P(this,X,"f").isWithin?P(this,Ge,"f").call(this):(yield ct(!1))[0]})}}X=new WeakMap,He=new WeakMap,Ge=new WeakMap,Ve=new WeakMap,Je=new WeakMap;var ee,qe,Ze,Ye,Qe;const Se=$("pushNotifications");class kt{constructor(e){ee.set(this,void 0),qe.set(this,Se("isAvailable")),Ze.set(this,Se("getDeviceToken")),Ye.set(this,Se("checkPermission")),Qe.set(this,Se("requestPermission")),this.isAvailable=()=>o(this,void 0,void 0,function*(){return P(this,ee,"f").isWithin?P(this,qe,"f").call(this):!1}),this.getDeviceToken=()=>o(this,void 0,void 0,function*(){if(P(this,ee,"f").isWithin)return P(this,Ze,"f").call(this);throw new Error("This method is currently not supported on web")}),this.checkPermission=()=>o(this,void 0,void 0,function*(){return P(this,ee,"f").isWithin?P(this,Ye,"f").call(this):"unavailable"}),this.requestPermission=()=>o(this,void 0,void 0,function*(){return P(this,ee,"f").isWithin?yield P(this,Qe,"f").call(this):"unavailable"}),K(this,ee,e,"f")}}ee=new WeakMap,qe=new WeakMap,Ze=new WeakMap,Ye=new WeakMap,Qe=new WeakMap;var je,Xe;const Kt=$("deepLink");class Ft{constructor(e){je.set(this,void 0),Xe.set(this,Kt("openLink")),this.openLink=n=>o(this,void 0,void 0,function*(){if(P(this,je,"f").isWithin)return P(this,Xe,"f").call(this,n);window.open(n.webUrl,"_blank")}),K(this,je,e,"f")}}je=new WeakMap,Xe=new WeakMap;var Me,et;const $t=$("system");class zt{constructor(e){Me.set(this,void 0),et.set(this,$t("openSettings")),this.openSettings=()=>o(this,void 0,void 0,function*(){if(P(this,Me,"f").isWithin)return yield P(this,et,"f").call(this)}),K(this,Me,e,"f")}}Me=new WeakMap,et=new WeakMap;var de,tt,nt;const at=$("utils");class Ht{constructor(e){de.set(this,void 0),tt.set(this,at("getPlatform")),nt.set(this,at("getBundleId")),K(this,de,e,"f")}getPlatform(){return o(this,void 0,void 0,function*(){return P(this,de,"f").isWithin?P(this,tt,"f").call(this):"web"})}getBundleId(){return o(this,void 0,void 0,function*(){if(P(this,de,"f").isWithin)return P(this,nt,"f").call(this);console.warn("bundleId not available on the web")})}}de=new WeakMap,tt=new WeakMap,nt=new WeakMap;class Gt{constructor(){this.events=new T,this.webview=new ne(this.events),this.biometrics=new N(this.webview),this.storage=new ft(this.webview),this.camera=new dt(this.webview),this.geolocation=new ht(this.webview),this.print=new wt(this.webview),this.documentDownload=new Ot(this.webview),this.documentPicker=new Bt(this.webview),this.pushNotifications=new kt(this.webview),this.deepLink=new Ft(this.webview),this.utils=new Ht(this.webview),this.system=new zt(this.webview)}reloadView(){this.webview.isWithin?this.webview.reload():globalThis.location.reload()}}const Vt=new Gt},4212:B=>{"use strict";B.exports=b=>{if(typeof b!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof b}\``);return/^[a-zA-Z]:\\/.test(b)?!1:/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(b)}},1856:B=>{"use strict";B.exports=b=>{if(Object.prototype.toString.call(b)!=="[object Object]")return!1;const m=Object.getPrototypeOf(b);return m===null||m===Object.prototype}},4329:function(B,b,m){"use strict";const u=m(1856),{hasOwnProperty:p}=Object.prototype,{propertyIsEnumerable:g}=Object,y=(d,O,S)=>Object.defineProperty(d,O,{value:S,writable:!0,enumerable:!0,configurable:!0}),M=this,h={concatArrays:!1,ignoreUndefined:!1},v=d=>{const O=[];for(const S in d)p.call(d,S)&&O.push(S);if(Object.getOwnPropertySymbols){const S=Object.getOwnPropertySymbols(d);for(const W of S)g.call(d,W)&&O.push(W)}return O};function o(d){return Array.isArray(d)?s(d):u(d)?E(d):d}function s(d){const O=d.slice(0,0);return v(d).forEach(S=>{y(O,S,o(d[S]))}),O}function E(d){const O=Object.getPrototypeOf(d)===null?Object.create(null):{};return v(d).forEach(S=>{y(O,S,o(d[S]))}),O}const j=(d,O,S,W)=>(S.forEach(D=>{typeof O[D]>"u"&&W.ignoreUndefined||(D in d&&d[D]!==Object.getPrototypeOf(d)?y(d,D,w(d[D],O[D],W)):y(d,D,o(O[D])))}),d),l=(d,O,S)=>{let W=d.slice(0,0),D=0;return[d,O].forEach(F=>{const te=[];for(let G=0;G<F.length;G++)!p.call(F,G)||(te.push(String(G)),F===d?y(W,D++,F[G]):y(W,D++,o(F[G])));W=j(W,F,v(F).filter(G=>!te.includes(G)),S)}),W};function w(d,O,S){return S.concatArrays&&Array.isArray(d)&&Array.isArray(O)?l(d,O,S):!u(O)||!u(d)?o(O):j(d,O,v(O),S)}B.exports=function(...d){const O=w(o(h),this!==M&&this||{},h);let S={_:{}};for(const W of d)if(W!==void 0){if(!u(W))throw new TypeError("`"+W+"` is not an Option Object");S=w(S,{_:W},O)}return S._}},7320:B=>{"use strict";/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var b=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;function p(y){if(y==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(y)}function g(){try{if(!Object.assign)return!1;var y=new String("abc");if(y[5]="de",Object.getOwnPropertyNames(y)[0]==="5")return!1;for(var M={},h=0;h<10;h++)M["_"+String.fromCharCode(h)]=h;var v=Object.getOwnPropertyNames(M).map(function(s){return M[s]});if(v.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(s){o[s]=s}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}B.exports=g()?Object.assign:function(y,M){for(var h,v=p(y),o,s=1;s<arguments.length;s++){h=Object(arguments[s]);for(var P in h)m.call(h,P)&&(v[P]=h[P]);if(b){o=b(h);for(var j=0;j<o.length;j++)u.call(h,o[j])&&(v[o[j]]=h[o[j]])}}return v}},5562:B=>{(function(m,u){B.exports=u()})(window,function(){return function(b){var m={};function u(p){if(m[p])return m[p].exports;var g=m[p]={i:p,l:!1,exports:{}};return b[p].call(g.exports,g,g.exports,u),g.l=!0,g.exports}return u.m=b,u.c=m,u.d=function(p,g,y){u.o(p,g)||Object.defineProperty(p,g,{enumerable:!0,get:y})},u.r=function(p){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},u.t=function(p,g){if(g&1&&(p=u(p)),g&8||g&4&&typeof p=="object"&&p&&p.__esModule)return p;var y=Object.create(null);if(u.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:p}),g&2&&typeof p!="string")for(var M in p)u.d(y,M,function(h){return p[h]}.bind(null,M));return y},u.n=function(p){var g=p&&p.__esModule?function(){return p.default}:function(){return p};return u.d(g,"a",g),g},u.o=function(p,g){return Object.prototype.hasOwnProperty.call(p,g)},u.p="",u(u.s=0)}({"./src/index.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/sass/index.scss"),g=u.n(p),y=u("./src/js/init.js"),M=y.default.init;typeof window<"u"&&(window.printJS=M),m.default=M},"./src/js/browser.js":function(b,m,u){"use strict";u.r(m);var p={isFirefox:function(){return typeof InstallTrigger<"u"},isIE:function(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode},isEdge:function(){return!p.isIE()&&!!window.StyleMedia},isChrome:function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return!!y.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}};m.default=p},"./src/js/functions.js":function(b,m,u){"use strict";u.r(m),u.d(m,"addWrapper",function(){return M}),u.d(m,"capitalizePrint",function(){return h}),u.d(m,"collectStyles",function(){return v}),u.d(m,"addHeader",function(){return s}),u.d(m,"cleanUp",function(){return P}),u.d(m,"isRawHTML",function(){return j});var p=u("./src/js/modal.js"),g=u("./src/js/browser.js");function y(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(d){return typeof d}:y=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},y(l)}function M(l,w){var d="font-family:"+w.font+" !important; font-size: "+w.font_size+" !important; width:100%;";return'<div style="'+d+'">'+l+"</div>"}function h(l){return l.charAt(0).toUpperCase()+l.slice(1)}function v(l,w){for(var d=document.defaultView||window,E="",S=d.getComputedStyle(l,""),W=0;W<S.length;W++)(w.targetStyles.indexOf("*")!==-1||w.targetStyle.indexOf(S[W])!==-1||o(w.targetStyles,S[W]))&&S.getPropertyValue(S[W])&&(E+=S[W]+":"+S.getPropertyValue(S[W])+";");return E+="max-width: "+w.maxWidth+"px !important; font-size: "+w.font_size+" !important;",E}function o(l,w){for(var d=0;d<l.length;d++)if(y(w)==="object"&&w.indexOf(l[d])!==-1)return!0;return!1}function s(l,w){var d=document.createElement("div");if(j(w.header))d.innerHTML=w.header;else{var E=document.createElement("h1"),S=document.createTextNode(w.header);E.appendChild(S),E.setAttribute("style",w.headerStyle),d.appendChild(E)}l.insertBefore(d,l.childNodes[0])}function P(l){l.showModal&&p.default.close(),l.onLoadingEnd&&l.onLoadingEnd(),(l.showModal||l.onLoadingStart)&&window.URL.revokeObjectURL(l.printable);var w="mouseover";(g.default.isChrome()||g.default.isFirefox())&&(w="focus");var d=function E(){window.removeEventListener(w,E),l.onPrintDialogClose();var S=document.getElementById(l.frameId);S&&S.remove()};window.addEventListener(w,d)}function j(l){var w=new RegExp("<([A-Za-z][A-Za-z0-9]*)\\b[^>]*>(.*?)</\\1>");return w.test(l)}},"./src/js/html.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/js/functions.js"),g=u("./src/js/print.js");function y(v){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(s){return typeof s}:y=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},y(v)}m.default={print:function(o,s){var P=h(o.printable)?o.printable:document.getElementById(o.printable);if(!P){window.console.error("Invalid HTML element id: "+o.printable);return}o.printableElement=M(P,o),o.header&&Object(p.addHeader)(o.printableElement,o),g.default.send(o,s)}};function M(v,o){for(var s=v.cloneNode(),P=Array.prototype.slice.call(v.childNodes),j=0;j<P.length;j++)if(o.ignoreElements.indexOf(P[j].id)===-1){var l=M(P[j],o);s.appendChild(l)}switch(o.scanStyles&&v.nodeType===1&&s.setAttribute("style",Object(p.collectStyles)(v,o)),v.tagName){case"SELECT":s.value=v.value;break;case"CANVAS":s.getContext("2d").drawImage(v,0,0);break}return s}function h(v){return y(v)==="object"&&v&&(v instanceof HTMLElement||v.nodeType===1)}},"./src/js/image.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/js/functions.js"),g=u("./src/js/print.js"),y=u("./src/js/browser.js");m.default={print:function(h,v){h.printable.constructor!==Array&&(h.printable=[h.printable]),h.printableElement=document.createElement("div"),h.printable.forEach(function(o){var s=document.createElement("img");if(s.setAttribute("style",h.imageStyle),s.src=o,y.default.isFirefox()){var P=s.src;s.src=P}var j=document.createElement("div");j.appendChild(s),h.printableElement.appendChild(j)}),h.header&&Object(p.addHeader)(h.printableElement,h),g.default.send(h,v)}}},"./src/js/init.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/js/browser.js"),g=u("./src/js/modal.js"),y=u("./src/js/pdf.js"),M=u("./src/js/html.js"),h=u("./src/js/raw-html.js"),v=u("./src/js/image.js"),o=u("./src/js/json.js");function s(j){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(w){return typeof w}:s=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},s(j)}var P=["pdf","html","image","json","raw-html"];m.default={init:function(){var l={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(F){throw F},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%;"},w=arguments[0];if(w===void 0)throw new Error("printJS expects at least 1 attribute.");switch(s(w)){case"string":l.printable=encodeURI(w),l.fallbackPrintable=l.printable,l.type=arguments[1]||l.type;break;case"object":l.printable=w.printable,l.fallbackPrintable=typeof w.fallbackPrintable<"u"?w.fallbackPrintable:l.printable,l.fallbackPrintable=l.base64?"data:application/pdf;base64,".concat(l.fallbackPrintable):l.fallbackPrintable;for(var d in l)d==="printable"||d==="fallbackPrintable"||(l[d]=typeof w[d]<"u"?w[d]:l[d]);break;default:throw new Error('Unexpected argument type! Expected "string" or "object", got '+s(w))}if(!l.printable)throw new Error("Missing printable information.");if(!l.type||typeof l.type!="string"||P.indexOf(l.type.toLowerCase())===-1)throw new Error("Invalid print type. Available types are: pdf, html, image and json.");l.showModal&&g.default.show(l),l.onLoadingStart&&l.onLoadingStart();var E=document.getElementById(l.frameId);E&&E.parentNode.removeChild(E);var S=document.createElement("iframe");switch(p.default.isFirefox()?S.setAttribute("style","width: 1px; height: 100px; position: fixed; left: 0; top: 0; opacity: 0; border-width: 0; margin: 0; padding: 0"):S.setAttribute("style","visibility: hidden; height: 0; width: 0; position: absolute; border: 0"),S.setAttribute("id",l.frameId),l.type!=="pdf"&&(S.srcdoc="<html><head><title>"+l.documentTitle+"</title>",l.css&&(Array.isArray(l.css)||(l.css=[l.css]),l.css.forEach(function(D){S.srcdoc+='<link rel="stylesheet" href="'+D+'">'})),S.srcdoc+="</head><body></body></html>"),l.type){case"pdf":if(p.default.isIE())try{console.info("Print.js doesn't support PDF printing in Internet Explorer.");var W=window.open(l.fallbackPrintable,"_blank");W.focus(),l.onIncompatibleBrowser()}catch(D){l.onError(D)}finally{l.showModal&&g.default.close(),l.onLoadingEnd&&l.onLoadingEnd()}else y.default.print(l,S);break;case"image":v.default.print(l,S);break;case"html":M.default.print(l,S);break;case"raw-html":h.default.print(l,S);break;case"json":o.default.print(l,S);break}}}},"./src/js/json.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/js/functions.js"),g=u("./src/js/print.js");function y(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(o){return typeof o}:y=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},y(h)}m.default={print:function(v,o){if(y(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(s){return{field:y(s)==="object"?s.field:s,displayName:y(s)==="object"?s.displayName:s,columnSize:y(s)==="object"&&s.columnSize?s.columnSize+";":100/v.properties.length+"%;"}}),v.printableElement=document.createElement("div"),v.header&&Object(p.addHeader)(v.printableElement,v),v.printableElement.innerHTML+=M(v),g.default.send(v,o)}};function M(h){var v=h.printable,o=h.properties,s='<table style="border-collapse: collapse; width: 100%;">';h.repeatTableHeader&&(s+="<thead>"),s+="<tr>";for(var P=0;P<o.length;P++)s+='<th style="width:'+o[P].columnSize+";"+h.gridHeaderStyle+'">'+Object(p.capitalizePrint)(o[P].displayName)+"</th>";s+="</tr>",h.repeatTableHeader&&(s+="</thead>"),s+="<tbody>";for(var j=0;j<v.length;j++){s+="<tr>";for(var l=0;l<o.length;l++){var w=v[j],d=o[l].field.split(".");if(d.length>1)for(var E=0;E<d.length;E++)w=w[d[E]];else w=w[o[l].field];s+='<td style="width:'+o[l].columnSize+h.gridStyle+'">'+w+"</td>"}s+="</tr>"}return s+="</tbody></table>",s}},"./src/js/modal.js":function(b,m,u){"use strict";u.r(m);var p={show:function(y){var M="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;",h=document.createElement("div");h.setAttribute("style",M),h.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 s=document.createElement("span");s.setAttribute("class","printSpinner"),v.appendChild(s);var P=document.createTextNode(y.modalMessage);v.appendChild(P),h.appendChild(v),document.getElementsByTagName("body")[0].appendChild(h),document.getElementById("printClose").addEventListener("click",function(){p.close()})},close:function(){var y=document.getElementById("printJS-Modal");y&&y.parentNode.removeChild(y)}};m.default=p},"./src/js/pdf.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/js/print.js"),g=u("./src/js/functions.js");m.default={print:function(h,v){if(h.base64){var o=Uint8Array.from(atob(h.printable),function(P){return P.charCodeAt(0)});y(h,v,o);return}h.printable=/^(blob|http|\/\/)/i.test(h.printable)?h.printable:window.location.origin+(h.printable.charAt(0)!=="/"?"/"+h.printable:h.printable);var s=new window.XMLHttpRequest;s.responseType="arraybuffer",s.addEventListener("error",function(){Object(g.cleanUp)(h),h.onError(s.statusText,s)}),s.addEventListener("load",function(){if([200,201].indexOf(s.status)===-1){Object(g.cleanUp)(h),h.onError(s.statusText,s);return}y(h,v,s.response)}),s.open("GET",h.printable,!0),s.send()}};function y(M,h,v){var o=new window.Blob([v],{type:"application/pdf"});o=window.URL.createObjectURL(o),h.setAttribute("src",o),p.default.send(M,h)}},"./src/js/print.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/js/browser.js"),g=u("./src/js/functions.js"),y={send:function(s,P){document.getElementsByTagName("body")[0].appendChild(P);var j=document.getElementById(s.frameId);j.onload=function(){if(s.type==="pdf"){p.default.isFirefox()?setTimeout(function(){return M(j,s)},1e3):M(j,s);return}var l=j.contentWindow||j.contentDocument;if(l.document&&(l=l.document),l.body.appendChild(s.printableElement),s.type!=="pdf"&&s.style){var w=document.createElement("style");w.innerHTML=s.style,l.head.appendChild(w)}var d=l.getElementsByTagName("img");d.length>0?h(Array.from(d)).then(function(){return M(j,s)}):M(j,s)}}};function M(o,s){try{if(o.focus(),p.default.isEdge()||p.default.isIE())try{o.contentWindow.document.execCommand("print",!1,null)}catch{o.contentWindow.print()}else o.contentWindow.print()}catch(P){s.onError(P)}finally{p.default.isFirefox()&&(o.style.visibility="hidden",o.style.left="-1px"),Object(g.cleanUp)(s)}}function h(o){var s=o.map(function(P){if(P.src&&P.src!==window.location.href)return v(P)});return Promise.all(s)}function v(o){return new Promise(function(s){var P=function j(){!o||typeof o.naturalWidth>"u"||o.naturalWidth===0||!o.complete?setTimeout(j,500):s()};P()})}m.default=y},"./src/js/raw-html.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/js/print.js");m.default={print:function(y,M){y.printableElement=document.createElement("div"),y.printableElement.setAttribute("style","width:100%"),y.printableElement.innerHTML=y.printable,p.default.send(y,M)}}},"./src/sass/index.scss":function(b,m,u){},0:function(b,m,u){b.exports=u("./src/index.js")}}).default})},1837:(B,b,m)=>{"use strict";var u;/** @license React v17.0.2
*/var b=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;function p(y){if(y==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(y)}function g(){try{if(!Object.assign)return!1;var y=new String("abc");if(y[5]="de",Object.getOwnPropertyNames(y)[0]==="5")return!1;for(var M={},h=0;h<10;h++)M["_"+String.fromCharCode(h)]=h;var v=Object.getOwnPropertyNames(M).map(function(s){return M[s]});if(v.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(s){o[s]=s}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}B.exports=g()?Object.assign:function(y,M){for(var h,v=p(y),o,s=1;s<arguments.length;s++){h=Object(arguments[s]);for(var E in h)m.call(h,E)&&(v[E]=h[E]);if(b){o=b(h);for(var j=0;j<o.length;j++)u.call(h,o[j])&&(v[o[j]]=h[o[j]])}}return v}},5562:B=>{(function(m,u){B.exports=u()})(window,function(){return function(b){var m={};function u(p){if(m[p])return m[p].exports;var g=m[p]={i:p,l:!1,exports:{}};return b[p].call(g.exports,g,g.exports,u),g.l=!0,g.exports}return u.m=b,u.c=m,u.d=function(p,g,y){u.o(p,g)||Object.defineProperty(p,g,{enumerable:!0,get:y})},u.r=function(p){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},u.t=function(p,g){if(g&1&&(p=u(p)),g&8||g&4&&typeof p=="object"&&p&&p.__esModule)return p;var y=Object.create(null);if(u.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:p}),g&2&&typeof p!="string")for(var M in p)u.d(y,M,function(h){return p[h]}.bind(null,M));return y},u.n=function(p){var g=p&&p.__esModule?function(){return p.default}:function(){return p};return u.d(g,"a",g),g},u.o=function(p,g){return Object.prototype.hasOwnProperty.call(p,g)},u.p="",u(u.s=0)}({"./src/index.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/sass/index.scss"),g=u.n(p),y=u("./src/js/init.js"),M=y.default.init;typeof window<"u"&&(window.printJS=M),m.default=M},"./src/js/browser.js":function(b,m,u){"use strict";u.r(m);var p={isFirefox:function(){return typeof InstallTrigger<"u"},isIE:function(){return navigator.userAgent.indexOf("MSIE")!==-1||!!document.documentMode},isEdge:function(){return!p.isIE()&&!!window.StyleMedia},isChrome:function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return!!y.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}};m.default=p},"./src/js/functions.js":function(b,m,u){"use strict";u.r(m),u.d(m,"addWrapper",function(){return M}),u.d(m,"capitalizePrint",function(){return h}),u.d(m,"collectStyles",function(){return v}),u.d(m,"addHeader",function(){return s}),u.d(m,"cleanUp",function(){return E}),u.d(m,"isRawHTML",function(){return j});var p=u("./src/js/modal.js"),g=u("./src/js/browser.js");function y(l){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(d){return typeof d}:y=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},y(l)}function M(l,w){var d="font-family:"+w.font+" !important; font-size: "+w.font_size+" !important; width:100%;";return'<div style="'+d+'">'+l+"</div>"}function h(l){return l.charAt(0).toUpperCase()+l.slice(1)}function v(l,w){for(var d=document.defaultView||window,O="",S=d.getComputedStyle(l,""),W=0;W<S.length;W++)(w.targetStyles.indexOf("*")!==-1||w.targetStyle.indexOf(S[W])!==-1||o(w.targetStyles,S[W]))&&S.getPropertyValue(S[W])&&(O+=S[W]+":"+S.getPropertyValue(S[W])+";");return O+="max-width: "+w.maxWidth+"px !important; font-size: "+w.font_size+" !important;",O}function o(l,w){for(var d=0;d<l.length;d++)if(y(w)==="object"&&w.indexOf(l[d])!==-1)return!0;return!1}function s(l,w){var d=document.createElement("div");if(j(w.header))d.innerHTML=w.header;else{var O=document.createElement("h1"),S=document.createTextNode(w.header);O.appendChild(S),O.setAttribute("style",w.headerStyle),d.appendChild(O)}l.insertBefore(d,l.childNodes[0])}function E(l){l.showModal&&p.default.close(),l.onLoadingEnd&&l.onLoadingEnd(),(l.showModal||l.onLoadingStart)&&window.URL.revokeObjectURL(l.printable);var w="mouseover";(g.default.isChrome()||g.default.isFirefox())&&(w="focus");var d=function O(){window.removeEventListener(w,O),l.onPrintDialogClose();var S=document.getElementById(l.frameId);S&&S.remove()};window.addEventListener(w,d)}function j(l){var w=new RegExp("<([A-Za-z][A-Za-z0-9]*)\\b[^>]*>(.*?)</\\1>");return w.test(l)}},"./src/js/html.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/js/functions.js"),g=u("./src/js/print.js");function y(v){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(s){return typeof s}:y=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},y(v)}m.default={print:function(o,s){var E=h(o.printable)?o.printable:document.getElementById(o.printable);if(!E){window.console.error("Invalid HTML element id: "+o.printable);return}o.printableElement=M(E,o),o.header&&Object(p.addHeader)(o.printableElement,o),g.default.send(o,s)}};function M(v,o){for(var s=v.cloneNode(),E=Array.prototype.slice.call(v.childNodes),j=0;j<E.length;j++)if(o.ignoreElements.indexOf(E[j].id)===-1){var l=M(E[j],o);s.appendChild(l)}switch(o.scanStyles&&v.nodeType===1&&s.setAttribute("style",Object(p.collectStyles)(v,o)),v.tagName){case"SELECT":s.value=v.value;break;case"CANVAS":s.getContext("2d").drawImage(v,0,0);break}return s}function h(v){return y(v)==="object"&&v&&(v instanceof HTMLElement||v.nodeType===1)}},"./src/js/image.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/js/functions.js"),g=u("./src/js/print.js"),y=u("./src/js/browser.js");m.default={print:function(h,v){h.printable.constructor!==Array&&(h.printable=[h.printable]),h.printableElement=document.createElement("div"),h.printable.forEach(function(o){var s=document.createElement("img");if(s.setAttribute("style",h.imageStyle),s.src=o,y.default.isFirefox()){var E=s.src;s.src=E}var j=document.createElement("div");j.appendChild(s),h.printableElement.appendChild(j)}),h.header&&Object(p.addHeader)(h.printableElement,h),g.default.send(h,v)}}},"./src/js/init.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/js/browser.js"),g=u("./src/js/modal.js"),y=u("./src/js/pdf.js"),M=u("./src/js/html.js"),h=u("./src/js/raw-html.js"),v=u("./src/js/image.js"),o=u("./src/js/json.js");function s(j){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(w){return typeof w}:s=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},s(j)}var E=["pdf","html","image","json","raw-html"];m.default={init:function(){var l={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(F){throw F},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%;"},w=arguments[0];if(w===void 0)throw new Error("printJS expects at least 1 attribute.");switch(s(w)){case"string":l.printable=encodeURI(w),l.fallbackPrintable=l.printable,l.type=arguments[1]||l.type;break;case"object":l.printable=w.printable,l.fallbackPrintable=typeof w.fallbackPrintable<"u"?w.fallbackPrintable:l.printable,l.fallbackPrintable=l.base64?"data:application/pdf;base64,".concat(l.fallbackPrintable):l.fallbackPrintable;for(var d in l)d==="printable"||d==="fallbackPrintable"||(l[d]=typeof w[d]<"u"?w[d]:l[d]);break;default:throw new Error('Unexpected argument type! Expected "string" or "object", got '+s(w))}if(!l.printable)throw new Error("Missing printable information.");if(!l.type||typeof l.type!="string"||E.indexOf(l.type.toLowerCase())===-1)throw new Error("Invalid print type. Available types are: pdf, html, image and json.");l.showModal&&g.default.show(l),l.onLoadingStart&&l.onLoadingStart();var O=document.getElementById(l.frameId);O&&O.parentNode.removeChild(O);var S=document.createElement("iframe");switch(p.default.isFirefox()?S.setAttribute("style","width: 1px; height: 100px; position: fixed; left: 0; top: 0; opacity: 0; border-width: 0; margin: 0; padding: 0"):S.setAttribute("style","visibility: hidden; height: 0; width: 0; position: absolute; border: 0"),S.setAttribute("id",l.frameId),l.type!=="pdf"&&(S.srcdoc="<html><head><title>"+l.documentTitle+"</title>",l.css&&(Array.isArray(l.css)||(l.css=[l.css]),l.css.forEach(function(D){S.srcdoc+='<link rel="stylesheet" href="'+D+'">'})),S.srcdoc+="</head><body></body></html>"),l.type){case"pdf":if(p.default.isIE())try{console.info("Print.js doesn't support PDF printing in Internet Explorer.");var W=window.open(l.fallbackPrintable,"_blank");W.focus(),l.onIncompatibleBrowser()}catch(D){l.onError(D)}finally{l.showModal&&g.default.close(),l.onLoadingEnd&&l.onLoadingEnd()}else y.default.print(l,S);break;case"image":v.default.print(l,S);break;case"html":M.default.print(l,S);break;case"raw-html":h.default.print(l,S);break;case"json":o.default.print(l,S);break}}}},"./src/js/json.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/js/functions.js"),g=u("./src/js/print.js");function y(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(o){return typeof o}:y=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},y(h)}m.default={print:function(v,o){if(y(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(s){return{field:y(s)==="object"?s.field:s,displayName:y(s)==="object"?s.displayName:s,columnSize:y(s)==="object"&&s.columnSize?s.columnSize+";":100/v.properties.length+"%;"}}),v.printableElement=document.createElement("div"),v.header&&Object(p.addHeader)(v.printableElement,v),v.printableElement.innerHTML+=M(v),g.default.send(v,o)}};function M(h){var v=h.printable,o=h.properties,s='<table style="border-collapse: collapse; width: 100%;">';h.repeatTableHeader&&(s+="<thead>"),s+="<tr>";for(var E=0;E<o.length;E++)s+='<th style="width:'+o[E].columnSize+";"+h.gridHeaderStyle+'">'+Object(p.capitalizePrint)(o[E].displayName)+"</th>";s+="</tr>",h.repeatTableHeader&&(s+="</thead>"),s+="<tbody>";for(var j=0;j<v.length;j++){s+="<tr>";for(var l=0;l<o.length;l++){var w=v[j],d=o[l].field.split(".");if(d.length>1)for(var O=0;O<d.length;O++)w=w[d[O]];else w=w[o[l].field];s+='<td style="width:'+o[l].columnSize+h.gridStyle+'">'+w+"</td>"}s+="</tr>"}return s+="</tbody></table>",s}},"./src/js/modal.js":function(b,m,u){"use strict";u.r(m);var p={show:function(y){var M="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;",h=document.createElement("div");h.setAttribute("style",M),h.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 s=document.createElement("span");s.setAttribute("class","printSpinner"),v.appendChild(s);var E=document.createTextNode(y.modalMessage);v.appendChild(E),h.appendChild(v),document.getElementsByTagName("body")[0].appendChild(h),document.getElementById("printClose").addEventListener("click",function(){p.close()})},close:function(){var y=document.getElementById("printJS-Modal");y&&y.parentNode.removeChild(y)}};m.default=p},"./src/js/pdf.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/js/print.js"),g=u("./src/js/functions.js");m.default={print:function(h,v){if(h.base64){var o=Uint8Array.from(atob(h.printable),function(E){return E.charCodeAt(0)});y(h,v,o);return}h.printable=/^(blob|http|\/\/)/i.test(h.printable)?h.printable:window.location.origin+(h.printable.charAt(0)!=="/"?"/"+h.printable:h.printable);var s=new window.XMLHttpRequest;s.responseType="arraybuffer",s.addEventListener("error",function(){Object(g.cleanUp)(h),h.onError(s.statusText,s)}),s.addEventListener("load",function(){if([200,201].indexOf(s.status)===-1){Object(g.cleanUp)(h),h.onError(s.statusText,s);return}y(h,v,s.response)}),s.open("GET",h.printable,!0),s.send()}};function y(M,h,v){var o=new window.Blob([v],{type:"application/pdf"});o=window.URL.createObjectURL(o),h.setAttribute("src",o),p.default.send(M,h)}},"./src/js/print.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/js/browser.js"),g=u("./src/js/functions.js"),y={send:function(s,E){document.getElementsByTagName("body")[0].appendChild(E);var j=document.getElementById(s.frameId);j.onload=function(){if(s.type==="pdf"){p.default.isFirefox()?setTimeout(function(){return M(j,s)},1e3):M(j,s);return}var l=j.contentWindow||j.contentDocument;if(l.document&&(l=l.document),l.body.appendChild(s.printableElement),s.type!=="pdf"&&s.style){var w=document.createElement("style");w.innerHTML=s.style,l.head.appendChild(w)}var d=l.getElementsByTagName("img");d.length>0?h(Array.from(d)).then(function(){return M(j,s)}):M(j,s)}}};function M(o,s){try{if(o.focus(),p.default.isEdge()||p.default.isIE())try{o.contentWindow.document.execCommand("print",!1,null)}catch{o.contentWindow.print()}else o.contentWindow.print()}catch(E){s.onError(E)}finally{p.default.isFirefox()&&(o.style.visibility="hidden",o.style.left="-1px"),Object(g.cleanUp)(s)}}function h(o){var s=o.map(function(E){if(E.src&&E.src!==window.location.href)return v(E)});return Promise.all(s)}function v(o){return new Promise(function(s){var E=function j(){!o||typeof o.naturalWidth>"u"||o.naturalWidth===0||!o.complete?setTimeout(j,500):s()};E()})}m.default=y},"./src/js/raw-html.js":function(b,m,u){"use strict";u.r(m);var p=u("./src/js/print.js");m.default={print:function(y,M){y.printableElement=document.createElement("div"),y.printableElement.setAttribute("style","width:100%"),y.printableElement.innerHTML=y.printable,p.default.send(y,M)}}},"./src/sass/index.scss":function(b,m,u){},0:function(b,m,u){b.exports=u("./src/index.js")}}).default})},1837:(B,b,m)=>{"use strict";var u;/** @license React v17.0.2
* react-jsx-runtime.production.min.js

@@ -12,3 +12,3 @@ *

* LICENSE file in the root directory of this source tree.
*/m(7320);var p=m(2784),g=60103;if(u=60107,typeof Symbol=="function"&&Symbol.for){var y=Symbol.for;g=y("react.element"),u=y("react.fragment")}var M=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h=Object.prototype.hasOwnProperty,v={key:!0,ref:!0,__self:!0,__source:!0};function o(s,P,j){var l,w={},d=null,E=null;j!==void 0&&(d=""+j),P.key!==void 0&&(d=""+P.key),P.ref!==void 0&&(E=P.ref);for(l in P)h.call(P,l)&&!v.hasOwnProperty(l)&&(w[l]=P[l]);if(s&&s.defaultProps)for(l in P=s.defaultProps,P)w[l]===void 0&&(w[l]=P[l]);return{$$typeof:g,type:s,key:d,ref:E,props:w,_owner:M.current}}b.jsx=o,u=o},3426:(B,b,m)=>{"use strict";/** @license React v17.0.2
*/m(7320);var p=m(2784),g=60103;if(u=60107,typeof Symbol=="function"&&Symbol.for){var y=Symbol.for;g=y("react.element"),u=y("react.fragment")}var M=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h=Object.prototype.hasOwnProperty,v={key:!0,ref:!0,__self:!0,__source:!0};function o(s,E,j){var l,w={},d=null,O=null;j!==void 0&&(d=""+j),E.key!==void 0&&(d=""+E.key),E.ref!==void 0&&(O=E.ref);for(l in E)h.call(E,l)&&!v.hasOwnProperty(l)&&(w[l]=E[l]);if(s&&s.defaultProps)for(l in E=s.defaultProps,E)w[l]===void 0&&(w[l]=E[l]);return{$$typeof:g,type:s,key:d,ref:O,props:w,_owner:M.current}}b.jsx=o,u=o},3426:(B,b,m)=>{"use strict";/** @license React v17.0.2
* react.production.min.js

@@ -20,2 +20,2 @@ *

* LICENSE file in the root directory of this source tree.
*/var u=m(7320),p=60103,g=60106;b.Fragment=60107,b.StrictMode=60108,b.Profiler=60114;var y=60109,M=60110,h=60112;b.Suspense=60113;var v=60115,o=60116;if(typeof Symbol=="function"&&Symbol.for){var s=Symbol.for;p=s("react.element"),g=s("react.portal"),b.Fragment=s("react.fragment"),b.StrictMode=s("react.strict_mode"),b.Profiler=s("react.profiler"),y=s("react.provider"),M=s("react.context"),h=s("react.forward_ref"),b.Suspense=s("react.suspense"),v=s("react.memo"),o=s("react.lazy")}var P=typeof Symbol=="function"&&Symbol.iterator;function j(i){return i===null||typeof i!="object"?null:(i=P&&i[P]||i["@@iterator"],typeof i=="function"?i:null)}function l(i){for(var f="https://reactjs.org/docs/error-decoder.html?invariant="+i,A=1;A<arguments.length;A++)f+="&args[]="+encodeURIComponent(arguments[A]);return"Minified React error #"+i+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},d={};function E(i,f,A){this.props=i,this.context=f,this.refs=d,this.updater=A||w}E.prototype.isReactComponent={},E.prototype.setState=function(i,f){if(typeof i!="object"&&typeof i!="function"&&i!=null)throw Error(l(85));this.updater.enqueueSetState(this,i,f,"setState")},E.prototype.forceUpdate=function(i){this.updater.enqueueForceUpdate(this,i,"forceUpdate")};function S(){}S.prototype=E.prototype;function W(i,f,A){this.props=i,this.context=f,this.refs=d,this.updater=A||w}var D=W.prototype=new S;D.constructor=W,u(D,E.prototype),D.isPureReactComponent=!0;var F={current:null},te=Object.prototype.hasOwnProperty,G={key:!0,ref:!0,__self:!0,__source:!0};function de(i,f,A){var N,C={},T=null,x=null;if(f!=null)for(N in f.ref!==void 0&&(x=f.ref),f.key!==void 0&&(T=""+f.key),f)te.call(f,N)&&!G.hasOwnProperty(N)&&(C[N]=f[N]);var U=arguments.length-2;if(U===1)C.children=A;else if(1<U){for(var L=Array(U),z=0;z<U;z++)L[z]=arguments[z+2];C.children=L}if(i&&i.defaultProps)for(N in U=i.defaultProps,U)C[N]===void 0&&(C[N]=U[N]);return{$$typeof:p,type:i,key:T,ref:x,props:C,_owner:F.current}}function rt(i,f){return{$$typeof:p,type:i.type,key:f,ref:i.ref,props:i.props,_owner:i._owner}}function he(i){return typeof i=="object"&&i!==null&&i.$$typeof===p}function O(i){var f={"=":"=0",":":"=2"};return"$"+i.replace(/[=:]/g,function(A){return f[A]})}var K=/\/+/g;function pe(i,f){return typeof i=="object"&&i!==null&&i.key!=null?O(""+i.key):f.toString(36)}function V(i,f,A,N,C){var T=typeof i;(T==="undefined"||T==="boolean")&&(i=null);var x=!1;if(i===null)x=!0;else switch(T){case"string":case"number":x=!0;break;case"object":switch(i.$$typeof){case p:case g:x=!0}}if(x)return x=i,C=C(x),i=N===""?"."+pe(x,0):N,Array.isArray(C)?(A="",i!=null&&(A=i.replace(K,"$&/")+"/"),V(C,f,A,"",function(z){return z})):C!=null&&(he(C)&&(C=rt(C,A+(!C.key||x&&x.key===C.key?"":(""+C.key).replace(K,"$&/")+"/")+i)),f.push(C)),1;if(x=0,N=N===""?".":N+":",Array.isArray(i))for(var U=0;U<i.length;U++){T=i[U];var L=N+pe(T,U);x+=V(T,f,A,L,C)}else if(L=j(i),typeof L=="function")for(i=L.call(i),U=0;!(T=i.next()).done;)T=T.value,L=N+pe(T,U++),x+=V(T,f,A,L,C);else if(T==="object")throw f=""+i,Error(l(31,f==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":f));return x}function ne(i,f,A){if(i==null)return i;var N=[],C=0;return V(i,N,"","",function(T){return f.call(A,T,C++)}),N}function Ae(i){if(i._status===-1){var f=i._result;f=f(),i._status=0,i._result=f,f.then(function(A){i._status===0&&(A=A.default,i._status=1,i._result=A)},function(A){i._status===0&&(i._status=2,i._result=A)})}if(i._status===1)return i._result;throw i._result}var ye={current:null};function J(){var i=ye.current;if(i===null)throw Error(l(321));return i}var $={ReactCurrentDispatcher:ye,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:F,IsSomeRendererActing:{current:!1},assign:u};b.Children={map:ne,forEach:function(i,f,A){ne(i,function(){f.apply(this,arguments)},A)},count:function(i){var f=0;return ne(i,function(){f++}),f},toArray:function(i){return ne(i,function(f){return f})||[]},only:function(i){if(!he(i))throw Error(l(143));return i}},b.Component=E,b.PureComponent=W,b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,b.cloneElement=function(i,f,A){if(i==null)throw Error(l(267,i));var N=u({},i.props),C=i.key,T=i.ref,x=i._owner;if(f!=null){if(f.ref!==void 0&&(T=f.ref,x=F.current),f.key!==void 0&&(C=""+f.key),i.type&&i.type.defaultProps)var U=i.type.defaultProps;for(L in f)te.call(f,L)&&!G.hasOwnProperty(L)&&(N[L]=f[L]===void 0&&U!==void 0?U[L]:f[L])}var L=arguments.length-2;if(L===1)N.children=A;else if(1<L){U=Array(L);for(var z=0;z<L;z++)U[z]=arguments[z+2];N.children=U}return{$$typeof:p,type:i.type,key:C,ref:T,props:N,_owner:x}},b.createContext=function(i,f){return f===void 0&&(f=null),i={$$typeof:M,_calculateChangedBits:f,_currentValue:i,_currentValue2:i,_threadCount:0,Provider:null,Consumer:null},i.Provider={$$typeof:y,_context:i},i.Consumer=i},b.createElement=de,b.createFactory=function(i){var f=de.bind(null,i);return f.type=i,f},b.createRef=function(){return{current:null}},b.forwardRef=function(i){return{$$typeof:h,render:i}},b.isValidElement=he,b.lazy=function(i){return{$$typeof:o,_payload:{_status:-1,_result:i},_init:Ae}},b.memo=function(i,f){return{$$typeof:v,type:i,compare:f===void 0?null:f}},b.useCallback=function(i,f){return J().useCallback(i,f)},b.useContext=function(i,f){return J().useContext(i,f)},b.useDebugValue=function(){},b.useEffect=function(i,f){return J().useEffect(i,f)},b.useImperativeHandle=function(i,f,A){return J().useImperativeHandle(i,f,A)},b.useLayoutEffect=function(i,f){return J().useLayoutEffect(i,f)},b.useMemo=function(i,f){return J().useMemo(i,f)},b.useReducer=function(i,f,A){return J().useReducer(i,f,A)},b.useRef=function(i){return J().useRef(i)},b.useState=function(i){return J().useState(i)},b.version="17.0.2"},2784:(B,b,m)=>{"use strict";B.exports=m(3426)},2322:(B,b,m)=>{"use strict";B.exports=m(1837)}}]);
*/var u=m(7320),p=60103,g=60106;b.Fragment=60107,b.StrictMode=60108,b.Profiler=60114;var y=60109,M=60110,h=60112;b.Suspense=60113;var v=60115,o=60116;if(typeof Symbol=="function"&&Symbol.for){var s=Symbol.for;p=s("react.element"),g=s("react.portal"),b.Fragment=s("react.fragment"),b.StrictMode=s("react.strict_mode"),b.Profiler=s("react.profiler"),y=s("react.provider"),M=s("react.context"),h=s("react.forward_ref"),b.Suspense=s("react.suspense"),v=s("react.memo"),o=s("react.lazy")}var E=typeof Symbol=="function"&&Symbol.iterator;function j(i){return i===null||typeof i!="object"?null:(i=E&&i[E]||i["@@iterator"],typeof i=="function"?i:null)}function l(i){for(var f="https://reactjs.org/docs/error-decoder.html?invariant="+i,A=1;A<arguments.length;A++)f+="&args[]="+encodeURIComponent(arguments[A]);return"Minified React error #"+i+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},d={};function O(i,f,A){this.props=i,this.context=f,this.refs=d,this.updater=A||w}O.prototype.isReactComponent={},O.prototype.setState=function(i,f){if(typeof i!="object"&&typeof i!="function"&&i!=null)throw Error(l(85));this.updater.enqueueSetState(this,i,f,"setState")},O.prototype.forceUpdate=function(i){this.updater.enqueueForceUpdate(this,i,"forceUpdate")};function S(){}S.prototype=O.prototype;function W(i,f,A){this.props=i,this.context=f,this.refs=d,this.updater=A||w}var D=W.prototype=new S;D.constructor=W,u(D,O.prototype),D.isPureReactComponent=!0;var F={current:null},te=Object.prototype.hasOwnProperty,G={key:!0,ref:!0,__self:!0,__source:!0};function he(i,f,A){var N,C={},T=null,U=null;if(f!=null)for(N in f.ref!==void 0&&(U=f.ref),f.key!==void 0&&(T=""+f.key),f)te.call(f,N)&&!G.hasOwnProperty(N)&&(C[N]=f[N]);var x=arguments.length-2;if(x===1)C.children=A;else if(1<x){for(var L=Array(x),z=0;z<x;z++)L[z]=arguments[z+2];C.children=L}if(i&&i.defaultProps)for(N in x=i.defaultProps,x)C[N]===void 0&&(C[N]=x[N]);return{$$typeof:p,type:i,key:T,ref:U,props:C,_owner:F.current}}function it(i,f){return{$$typeof:p,type:i.type,key:f,ref:i.ref,props:i.props,_owner:i._owner}}function pe(i){return typeof i=="object"&&i!==null&&i.$$typeof===p}function P(i){var f={"=":"=0",":":"=2"};return"$"+i.replace(/[=:]/g,function(A){return f[A]})}var K=/\/+/g;function ye(i,f){return typeof i=="object"&&i!==null&&i.key!=null?P(""+i.key):f.toString(36)}function V(i,f,A,N,C){var T=typeof i;(T==="undefined"||T==="boolean")&&(i=null);var U=!1;if(i===null)U=!0;else switch(T){case"string":case"number":U=!0;break;case"object":switch(i.$$typeof){case p:case g:U=!0}}if(U)return U=i,C=C(U),i=N===""?"."+ye(U,0):N,Array.isArray(C)?(A="",i!=null&&(A=i.replace(K,"$&/")+"/"),V(C,f,A,"",function(z){return z})):C!=null&&(pe(C)&&(C=it(C,A+(!C.key||U&&U.key===C.key?"":(""+C.key).replace(K,"$&/")+"/")+i)),f.push(C)),1;if(U=0,N=N===""?".":N+":",Array.isArray(i))for(var x=0;x<i.length;x++){T=i[x];var L=N+ye(T,x);U+=V(T,f,A,L,C)}else if(L=j(i),typeof L=="function")for(i=L.call(i),x=0;!(T=i.next()).done;)T=T.value,L=N+ye(T,x++),U+=V(T,f,A,L,C);else if(T==="object")throw f=""+i,Error(l(31,f==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":f));return U}function ne(i,f,A){if(i==null)return i;var N=[],C=0;return V(i,N,"","",function(T){return f.call(A,T,C++)}),N}function Ae(i){if(i._status===-1){var f=i._result;f=f(),i._status=0,i._result=f,f.then(function(A){i._status===0&&(A=A.default,i._status=1,i._result=A)},function(A){i._status===0&&(i._status=2,i._result=A)})}if(i._status===1)return i._result;throw i._result}var me={current:null};function J(){var i=me.current;if(i===null)throw Error(l(321));return i}var $={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:F,IsSomeRendererActing:{current:!1},assign:u};b.Children={map:ne,forEach:function(i,f,A){ne(i,function(){f.apply(this,arguments)},A)},count:function(i){var f=0;return ne(i,function(){f++}),f},toArray:function(i){return ne(i,function(f){return f})||[]},only:function(i){if(!pe(i))throw Error(l(143));return i}},b.Component=O,b.PureComponent=W,b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,b.cloneElement=function(i,f,A){if(i==null)throw Error(l(267,i));var N=u({},i.props),C=i.key,T=i.ref,U=i._owner;if(f!=null){if(f.ref!==void 0&&(T=f.ref,U=F.current),f.key!==void 0&&(C=""+f.key),i.type&&i.type.defaultProps)var x=i.type.defaultProps;for(L in f)te.call(f,L)&&!G.hasOwnProperty(L)&&(N[L]=f[L]===void 0&&x!==void 0?x[L]:f[L])}var L=arguments.length-2;if(L===1)N.children=A;else if(1<L){x=Array(L);for(var z=0;z<L;z++)x[z]=arguments[z+2];N.children=x}return{$$typeof:p,type:i.type,key:C,ref:T,props:N,_owner:U}},b.createContext=function(i,f){return f===void 0&&(f=null),i={$$typeof:M,_calculateChangedBits:f,_currentValue:i,_currentValue2:i,_threadCount:0,Provider:null,Consumer:null},i.Provider={$$typeof:y,_context:i},i.Consumer=i},b.createElement=he,b.createFactory=function(i){var f=he.bind(null,i);return f.type=i,f},b.createRef=function(){return{current:null}},b.forwardRef=function(i){return{$$typeof:h,render:i}},b.isValidElement=pe,b.lazy=function(i){return{$$typeof:o,_payload:{_status:-1,_result:i},_init:Ae}},b.memo=function(i,f){return{$$typeof:v,type:i,compare:f===void 0?null:f}},b.useCallback=function(i,f){return J().useCallback(i,f)},b.useContext=function(i,f){return J().useContext(i,f)},b.useDebugValue=function(){},b.useEffect=function(i,f){return J().useEffect(i,f)},b.useImperativeHandle=function(i,f,A){return J().useImperativeHandle(i,f,A)},b.useLayoutEffect=function(i,f){return J().useLayoutEffect(i,f)},b.useMemo=function(i,f){return J().useMemo(i,f)},b.useReducer=function(i,f,A){return J().useReducer(i,f,A)},b.useRef=function(i){return J().useRef(i)},b.useState=function(i){return J().useState(i)},b.version="17.0.2"},2784:(B,b,m)=>{"use strict";B.exports=m(3426)},2322:(B,b,m)=>{"use strict";B.exports=m(1837)}}]);

@@ -6,3 +6,3 @@ (()=>{var be={4701:(a,v,i)=>{var e=i(2543);a.exports=e,a.exports.default=e},2543:a=>{"use strict";function v(r){return v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},v(r)}function i(r,l){if(!(r instanceof l))throw new TypeError("Cannot call a class as a function")}function e(r,l){for(var C=0;C<l.length;C++){var B=l[C];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(r,O(B.key),B)}}function L(r,l,C){return l&&e(r.prototype,l),C&&e(r,C),Object.defineProperty(r,"prototype",{writable:!1}),r}function p(r){return t(r)||u(r)||b(r)||f()}function t(r){if(Array.isArray(r))return c(r)}function u(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function b(r,l){if(!!r){if(typeof r=="string")return c(r,l);var C=Object.prototype.toString.call(r).slice(8,-1);if(C==="Object"&&r.constructor&&(C=r.constructor.name),C==="Map"||C==="Set")return Array.from(r);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return c(r,l)}}function c(r,l){(l==null||l>r.length)&&(l=r.length);for(var C=0,B=new Array(l);C<l;C++)B[C]=r[C];return B}function f(){throw new TypeError(`Invalid attempt to spread non-iterable instance.

width: ${W?"0":"100%"};
`;class s{constructor(m){M.add(this),j.set(this,void 0),N.set(this,void 0),F.set(this,new T),ee.set(this,!1),G.set(this,void 0),(0,e.YH)(this,j,m.reduce((A,{name:R,defaultElement:S})=>{const I=document.createElement("div");I.style.cssText=ne();const D=document.createElement("slot");return D.setAttribute("name",R),D.appendChild(S),I.appendChild(D),Object.assign(Object.assign({},A),{[R]:{container:I,slot:D}})},{}),"f")}attachToShadowRoot(m){return Object.values((0,e.Q_)(this,j,"f")).forEach(({container:A})=>m.appendChild(A)),(0,e.YH)(this,ee,!0,"f"),this}hideSlot(m,{delay:A}={}){if((0,e.Q_)(this,M,"m",ie).call(this))return;(0,e.Q_)(this,M,"m",te).call(this);const R=()=>{const{container:S}=(0,e.Q_)(this,j,"f")[m];(0,e.Q_)(this,F,"f").emit("visibilitychange",{visibility:"hidden",container:S,name:m}),S.style.cssText=ne()};A?(0,e.YH)(this,N,setTimeout(R,A),"f"):R()}showSlot(m){if((0,e.Q_)(this,M,"m",ie).call(this))return;const{container:A}=(0,e.Q_)(this,j,"f")[m];(0,e.Q_)(this,M,"m",te).call(this),clearTimeout((0,e.Q_)(this,N,"f")),Object.keys((0,e.Q_)(this,j,"f")).filter(R=>R!==m).forEach(R=>this.hideSlot(R)),(0,e.Q_)(this,F,"f").emit("visibilitychange",{visibility:"visible",container:A,name:m}),(0,e.Q_)(this,j,"f")[m].container.style.cssText=ne(!1)}showSlotLocked(m){if(!(0,e.Q_)(this,M,"m",ie).call(this))return this.showSlot(m),(0,e.YH)(this,G,m,"f"),()=>{(0,e.YH)(this,G,void 0,"f"),this.hideSlot(m)}}createElementFromSlot(m){(0,e.Q_)(this,M,"m",te).call(this);const A=document.createElement("div");return A.style.height="100%",A.append(...(0,e.Q_)(this,j,"f")[m].slot.assignedElements({flatten:!0}).map(R=>R.cloneNode(!0))),A}addEventListener(m,A){(0,e.Q_)(this,F,"f").addListener(m,A)}removeEventListener(m,A){(0,e.Q_)(this,F,"f").removeListener(m,A)}}j=new WeakMap,N=new WeakMap,F=new WeakMap,ee=new WeakMap,G=new WeakMap,M=new WeakSet,te=function(){if(!(0,e.Q_)(this,ee,"f"))throw new x.M("SlotManager must first attach to a shadow root before calling its instance methods.",{errorCode:U.ErrorCode.METHOD_CALLED_BEFORE_INITIALIZATION})},ie=function(){return(0,e.Q_)(this,G,"f")&&console.warn(`"${(0,e.Q_)(this,G,"f")}" slot locked. Make sure to call the cleanup function to hide + unlock.`),!!(0,e.Q_)(this,G,"f")};var o,n,h,w,r,l,C;class B{constructor(){o.add(this),n.set(this,void 0),h.set(this,void 0),w.set(this,[]),(0,e.Q_)(this,o,"m",r).call(this)}get isInitialized(){return(0,e.Q_)(this,h,"f")?(0,e.Q_)(this,h,"f").isInitialized:!1}validateLoad(){return(0,e.mG)(this,void 0,void 0,function*(){yield(0,e.Q_)(this,n,"f")})}init(...m){return(0,e.mG)(this,void 0,void 0,function*(){try{return yield(0,e.Q_)(this,n,"f"),(0,e.Q_)(this,o,"a",l).init(...m)}catch{}})}setUserToken(...m){return(0,e.Q_)(this,o,"a",l).setUserToken(...m)}getUser(...m){return(0,e.Q_)(this,o,"a",l).getUser(...m)}getToken(...m){return(0,e.Q_)(this,o,"a",l).getToken(...m)}getUserId(...m){return(0,e.Q_)(this,o,"a",l).getUserId(...m)}on(...m){(0,e.Q_)(this,o,"m",C).call(this,()=>(0,e.Q_)(this,o,"a",l).on(...m))}once(...m){(0,e.Q_)(this,o,"m",C).call(this,()=>(0,e.Q_)(this,o,"a",l).once(...m))}off(...m){(0,e.Q_)(this,o,"m",C).call(this,()=>(0,e.Q_)(this,o,"a",l).off(...m))}_registerEmbeddableContent(...m){return(0,e.Q_)(this,o,"a",l)._registerEmbeddableContent(...m)}focusEmbeddableContent(...m){return(0,e.Q_)(this,o,"a",l).focusEmbeddableContent(...m)}}n=new WeakMap,h=new WeakMap,w=new WeakMap,o=new WeakSet,r=function(){return(0,e.mG)(this,void 0,void 0,function*(){try{(0,e.YH)(this,n,Promise.all([i.e(662),i.e(513),i.e(879),i.e(501),i.e(260)]).then(i.bind(i,2879)),"f"),(0,e.YH)(this,h,new(yield(0,e.Q_)(this,n,"f")).Bwell,"f"),(0,e.Q_)(this,w,"f").forEach(m=>m())}catch(m){const A="There was an error loading core Bwell script. Please contact support.";(yield i.e(662).then(i.bind(i,662))).default().fatal(m,A)}})},l=function(){if(!(0,e.Q_)(this,h,"f"))throw new x.M("Bwell must be initialized.",{errorCode:U.ErrorCode.BWELL_INITIALIZATION});return(0,e.Q_)(this,h,"f")},C=function(m){(0,e.Q_)(this,h,"f")?m():(0,e.Q_)(this,w,"f").push(m)};const k="bwell-em-dot-loader-component";class J extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){this.shadowRoot.innerHTML=`
`;class s{constructor(m){M.add(this),j.set(this,void 0),N.set(this,void 0),F.set(this,new T),ee.set(this,!1),G.set(this,void 0),(0,e.YH)(this,j,m.reduce((A,{name:R,defaultElement:S})=>{const I=document.createElement("div");I.style.cssText=ne();const D=document.createElement("slot");return D.setAttribute("name",R),D.appendChild(S),I.appendChild(D),Object.assign(Object.assign({},A),{[R]:{container:I,slot:D}})},{}),"f")}attachToShadowRoot(m){return Object.values((0,e.Q_)(this,j,"f")).forEach(({container:A})=>m.appendChild(A)),(0,e.YH)(this,ee,!0,"f"),this}hideSlot(m,{delay:A}={}){if((0,e.Q_)(this,M,"m",ie).call(this))return;(0,e.Q_)(this,M,"m",te).call(this);const R=()=>{const{container:S}=(0,e.Q_)(this,j,"f")[m];(0,e.Q_)(this,F,"f").emit("visibilitychange",{visibility:"hidden",container:S,name:m}),S.style.cssText=ne()};A?(0,e.YH)(this,N,setTimeout(R,A),"f"):R()}showSlot(m){if((0,e.Q_)(this,M,"m",ie).call(this))return;const{container:A}=(0,e.Q_)(this,j,"f")[m];(0,e.Q_)(this,M,"m",te).call(this),clearTimeout((0,e.Q_)(this,N,"f")),Object.keys((0,e.Q_)(this,j,"f")).filter(R=>R!==m).forEach(R=>this.hideSlot(R)),(0,e.Q_)(this,F,"f").emit("visibilitychange",{visibility:"visible",container:A,name:m}),(0,e.Q_)(this,j,"f")[m].container.style.cssText=ne(!1)}showSlotLocked(m){if(!(0,e.Q_)(this,M,"m",ie).call(this))return this.showSlot(m),(0,e.YH)(this,G,m,"f"),()=>{(0,e.YH)(this,G,void 0,"f"),this.hideSlot(m)}}createElementFromSlot(m){(0,e.Q_)(this,M,"m",te).call(this);const A=document.createElement("div");return A.style.height="100%",A.append(...(0,e.Q_)(this,j,"f")[m].slot.assignedElements({flatten:!0}).map(R=>R.cloneNode(!0))),A}addEventListener(m,A){(0,e.Q_)(this,F,"f").addListener(m,A)}removeEventListener(m,A){(0,e.Q_)(this,F,"f").removeListener(m,A)}}j=new WeakMap,N=new WeakMap,F=new WeakMap,ee=new WeakMap,G=new WeakMap,M=new WeakSet,te=function(){if(!(0,e.Q_)(this,ee,"f"))throw new x.M("SlotManager must first attach to a shadow root before calling its instance methods.",{errorCode:U.ErrorCode.METHOD_CALLED_BEFORE_INITIALIZATION})},ie=function(){return(0,e.Q_)(this,G,"f")&&console.warn(`"${(0,e.Q_)(this,G,"f")}" slot locked. Make sure to call the cleanup function to hide + unlock.`),!!(0,e.Q_)(this,G,"f")};var o,n,h,w,r,l,C;class B{constructor(){o.add(this),n.set(this,void 0),h.set(this,void 0),w.set(this,[]),(0,e.Q_)(this,o,"m",r).call(this)}get isInitialized(){return(0,e.Q_)(this,h,"f")?(0,e.Q_)(this,h,"f").isInitialized:!1}validateLoad(){return(0,e.mG)(this,void 0,void 0,function*(){yield(0,e.Q_)(this,n,"f")})}init(...m){return(0,e.mG)(this,void 0,void 0,function*(){try{return yield(0,e.Q_)(this,n,"f"),(0,e.Q_)(this,o,"a",l).init(...m)}catch{}})}setUserToken(...m){return(0,e.Q_)(this,o,"a",l).setUserToken(...m)}getUser(...m){return(0,e.Q_)(this,o,"a",l).getUser(...m)}getToken(...m){return(0,e.Q_)(this,o,"a",l).getToken(...m)}getUserId(...m){return(0,e.Q_)(this,o,"a",l).getUserId(...m)}on(...m){(0,e.Q_)(this,o,"m",C).call(this,()=>(0,e.Q_)(this,o,"a",l).on(...m))}once(...m){(0,e.Q_)(this,o,"m",C).call(this,()=>(0,e.Q_)(this,o,"a",l).once(...m))}off(...m){(0,e.Q_)(this,o,"m",C).call(this,()=>(0,e.Q_)(this,o,"a",l).off(...m))}_registerEmbeddableContent(...m){return(0,e.Q_)(this,o,"a",l)._registerEmbeddableContent(...m)}focusEmbeddableContent(...m){return(0,e.Q_)(this,o,"a",l).focusEmbeddableContent(...m)}}n=new WeakMap,h=new WeakMap,w=new WeakMap,o=new WeakSet,r=function(){return(0,e.mG)(this,void 0,void 0,function*(){try{(0,e.YH)(this,n,Promise.all([i.e(662),i.e(513),i.e(236),i.e(501),i.e(260)]).then(i.bind(i,2236)),"f"),(0,e.YH)(this,h,new(yield(0,e.Q_)(this,n,"f")).Bwell,"f"),(0,e.Q_)(this,w,"f").forEach(m=>m())}catch(m){const A="There was an error loading core Bwell script. Please contact support.";(yield i.e(662).then(i.bind(i,662))).default().fatal(m,A)}})},l=function(){if(!(0,e.Q_)(this,h,"f"))throw new x.M("Bwell must be initialized.",{errorCode:U.ErrorCode.BWELL_INITIALIZATION});return(0,e.Q_)(this,h,"f")},C=function(m){(0,e.Q_)(this,h,"f")?m():(0,e.Q_)(this,w,"f").push(m)};const k="bwell-em-dot-loader-component";class J extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){this.shadowRoot.innerHTML=`
<style>

@@ -77,4 +77,4 @@ :host {

</div>
`}}customElements.get(V)===void 0&&customElements.define(V,q);const fe=[{name:"loader",defaultElement:document.createElement(k)},{name:"error",defaultElement:document.createElement(V)}],se=["error","loading"],de={error:"error",loading:"loader"};(({src:W,elementNameSuffix:m})=>(0,e.mG)(void 0,void 0,void 0,function*(){var A,R,S,I,D,$,re,ae,oe,z,we,ge,_e,me;window.bwell||(window.bwell=new B);const he=`bwell-${m}`;if(customElements.get(he)!==void 0)return;class Oe extends L{constructor(){super(),A.add(this),R.set(this,P()),S.set(this,void 0),I.set(this,document.createElement("feature-app-loader")),D.set(this,void 0),$.set(this,void 0),re.set(this,void 0),ae.set(this,void 0),oe.set(this,void 0),z.set(this,void 0),this.attachShadow({mode:"open"});const Z=new s(fe).attachToShadowRoot(this.shadowRoot);Z.addEventListener("visibilitychange",({visibility:le,container:ye,name:Le})=>{Le==="error"&&le==="visible"&&window.bwell._registerEmbeddableContent(ye),(0,e.Q_)(this,I,"f").style.display=le==="hidden"?"unset":"hidden"}),(0,e.YH)(this,z,{slots:Z,attributes:new E().bindTo(this)},"f"),(0,e.YH)(this,D,(0,e.Q_)(this,A,"m",we).bind(this),"f"),(0,e.YH)(this,$,(0,e.Q_)(this,A,"m",ge).bind(this),"f"),(0,e.YH)(this,re,(0,e.Q_)(this,A,"m",me).call(this,"error"),"f"),(0,e.YH)(this,ae,(0,e.Q_)(this,A,"m",me).call(this,"loading"),"f")}connectedCallback(){return(0,e.mG)(this,void 0,void 0,function*(){(0,e.Q_)(this,re,"f").call(this,(0,e.Q_)(this,z,"f").attributes.get("error")),(0,e.Q_)(this,ae,"f").call(this,(0,e.Q_)(this,z,"f").attributes.get("loading")),(0,e.Q_)(this,z,"f").slots.addEventListener("visibilitychange",(0,e.Q_)(this,$,"f")),(0,e.Q_)(this,z,"f").attributes.addChangeListener("error",(0,e.Q_)(this,re,"f")),(0,e.Q_)(this,z,"f").attributes.addChangeListener("loading",(0,e.Q_)(this,ae,"f")),(0,e.Q_)(this,z,"f").slots.showSlot("loader");try{yield window.bwell.validateLoad()}catch{(0,e.Q_)(this,z,"f").slots.showSlot("error")}(0,e.YH)(this,R,this.id||(0,e.Q_)(this,R,"f"),"f"),(0,e.YH)(this,S,new c((0,e.Q_)(this,R,"f")),"f"),(0,e.Q_)(this,S,"f").registerDispatcher(Z=>this.dispatchEvent(Z)),window.bwell.isInitialized?(0,e.Q_)(this,D,"f").call(this):(window.bwell.once("initialized",(0,e.Q_)(this,D,"f")),window.bwell.once("error",()=>{(0,e.Q_)(this,z,"f").slots.showSlot("error")}))})}disconnectedCallback(){var Z;(0,e.Q_)(this,z,"f").slots.removeEventListener("visibilitychange",(0,e.Q_)(this,$,"f")),(0,e.Q_)(this,z,"f").attributes.removeChangeListener("error",(0,e.Q_)(this,re,"f")),(0,e.Q_)(this,z,"f").attributes.removeChangeListener("loading",(0,e.Q_)(this,ae,"f")),(Z=(0,e.Q_)(this,S,"f"))===null||Z===void 0||Z.deregister()}}R=new WeakMap,S=new WeakMap,I=new WeakMap,D=new WeakMap,$=new WeakMap,re=new WeakMap,ae=new WeakMap,oe=new WeakMap,z=new WeakMap,A=new WeakSet,we=function(){(0,e.Q_)(this,I,"f").setAttribute("featureAppId",`bwell-embeddable:${he}`),(0,e.Q_)(this,I,"f").setAttribute("src",W),(0,e.Q_)(this,I,"f").config={id:(0,e.Q_)(this,R,"f"),name:m,elementName:he,utils:(0,e.Q_)(this,z,"f")},this.shadowRoot.appendChild((0,e.Q_)(this,I,"f"))},ge=function({visibility:Z,name:le}){(0,e.Q_)(this,I,"f").style.display=Z==="hidden"?"unset":"hidden"},_e=function(Z){(0,e.Q_)(this,oe,"f")(),(0,e.YH)(this,oe,void 0,"f")},me=function(Z){return le=>{const ye=se.findIndex(ce=>ce===Z);if(!se.slice(0,ye).some(ce=>(0,e.Q_)(this,z,"f").attributes.get(ce)!==null)){if(le!==null)(0,e.Q_)(this,oe,"f")&&(0,e.Q_)(this,A,"m",_e).call(this,Z),(0,e.YH)(this,oe,(0,e.Q_)(this,z,"f").slots.showSlotLocked(de[Z]),"f");else if(le===null&&(0,e.Q_)(this,oe,"f")){(0,e.Q_)(this,A,"m",_e).call(this,Z);const ce=se.find(Te=>(0,e.Q_)(this,z,"f").attributes.get(Te)!==null);ce&&(0,e.YH)(this,oe,(0,e.Q_)(this,z,"f").slots.showSlotLocked(de[ce]),"f")}}}},customElements.define(he,Oe)}))({src:`https://embeddables.prod.icanbwell.com/activity-detail/${{i8:"0.207.0"}.i8}/scripts/embeddable.federated.js`,elementNameSuffix:"activity-detail"})},4719:(a,v,i)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Broadcaster=void 0;var e=i(2699),L=function(){function p(t,u){if(u===void 0&&(u=0),this.emitter=new e.EventEmitter,typeof t>"u"||t.length===0)throw new Error("Broadcaster must have a name");this._name=t,this.emitter.setMaxListeners(u)}return Object.defineProperty(p.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),p.prototype.emit=function(t){this.emitter.emit(this._name,t)},p.prototype.addListener=function(t){return this._addListener("addListener",t)},p.prototype.on=function(t){return this.addListener(t)},p.prototype.prependListener=function(t){return this._addListener("prependListener",t)},p.prototype.once=function(t){return this._addListener("once",t)},p.prototype.prependOnceListener=function(t){return this._addListener("prependOnceListener",t)},p.prototype.removeListener=function(t){this._proxyListener("removeListener",t)},p.prototype.off=function(t){this.removeListener(t)},p.prototype.removeAllListeners=function(){this.emitter.removeAllListeners(this._name)},p.prototype.getMaxListeners=function(){return this.emitter.getMaxListeners()},p.prototype.setMaxListeners=function(t){this.emitter.setMaxListeners(t)},p.prototype.getEventEmitter=function(){return this.emitter},p.prototype.listeners=function(){return this.emitter.listeners(this._name)},p.prototype.rawListeners=function(){return this.emitter.rawListeners(this._name)},p.prototype.listenerCount=function(){return this.emitter.listenerCount(this._name)},p.prototype._proxyListener=function(t,u){this.emitter[t](this._name,u)},p.prototype._createUnsubscribe=function(t){var u=this;return function(){u.emitter.removeListener(u._name,t)}},p.prototype._addListener=function(t,u){return this._proxyListener(t,u),this._createUnsubscribe(u)},p.prototype.destroy=function(){this.emitter.removeAllListeners()},p}();v.Broadcaster=L},7706:function(a,v,i){"use strict";var e=this&&this.__extends||function(){var u=function(b,c){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,y){f.__proto__=y}||function(f,y){for(var O in y)Object.prototype.hasOwnProperty.call(y,O)&&(f[O]=y[O])},u(b,c)};return function(b,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");u(b,c);function f(){this.constructor=b}b.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}}();Object.defineProperty(v,"__esModule",{value:!0}),v.Channel=void 0;var L=i(4719),p=i(4683),t=function(u){e(b,u);function b(c,f){f===void 0&&(f=0);var y=u.call(this,c,f)||this;return y.topics={},y._onTopicDestroyed=y._onTopicDestroyed.bind(y),y._onTopicEmit=y._onTopicEmit.bind(y),y}return b.prototype.emit=function(c){var f={channel:this.name,topic:"*",payload:c};u.prototype.emit.call(this,f)},b.prototype.topic=function(c){var f=this.topics[c];return typeof f>"u"&&(f=this.topics[c]=new p.Topic(c,this.name,this.getMaxListeners()),f.getEventEmitter().on("topic_destroyed",this._onTopicDestroyed),f.on(this._onTopicEmit)),f},b.prototype.hasTopic=function(c){return Boolean(this.topics[c])},b.prototype.removeTopic=function(c){var f=this.topics[c];return typeof f<"u"?(delete this.topics[c],f.destroy(),!0):!1},b.prototype.getAllTopics=function(){return Object.values(this.topics)},b.prototype._onTopicEmit=function(c){u.prototype.emit.call(this,c)},b.prototype._onTopicDestroyed=function(c){delete this.topics[c]},b.prototype.destroy=function(){for(var c in this.topics)this.removeTopic(c);this.emitter.emit("channel_destroyed",this.name),u.prototype.destroy.call(this)},b}(L.Broadcaster);v.Channel=t},6206:(a,v,i)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.EventBus=void 0;var e=i(7706),L=function(){function p(t){this.channels={},t=typeof t>"u"?{}:t,this._maxListeners=t.maxListeners===void 0?0:t.maxListeners,this.onChannelDestroyed=this.onChannelDestroyed.bind(this),this.createMainChannel(),this.onChannelEmit=this.onChannelEmit.bind(this)}return p.prototype.createMainChannel=function(){var t=this;this.defaultChannel=new e.Channel("*",this._maxListeners),this.channels["*"]=this.defaultChannel,this.defaultChannel.getEventEmitter().on("channel_destroyed",function(){t.createMainChannel()})},p.prototype.mainChannel=function(){return this.defaultChannel},p.prototype.allChannels=function(){return this.mainChannel()},p.prototype.channel=function(t){var u=this.channels[t];return typeof u>"u"&&(u=this.channels[t]=new e.Channel(t,this._maxListeners),u.on(this.onChannelEmit),u.getEventEmitter().on("channel_destroyed",this.onChannelDestroyed)),u},p.prototype.hasChannel=function(t){return Boolean(this.channels[t])},p.prototype.removeChannel=function(t){if(t==="*")throw new Error("Can't remove default channel");var u=this.channels[t];return typeof u<"u"?(u.destroy(),!0):!1},p.prototype.onChannelEmit=function(t){var u=t.topic;if(this.defaultChannel.hasTopic(u)){var b={topic:t.topic,channel:t.channel,payload:t.payload};this.defaultChannel.topic(u).getEventEmitter().emit(u,b)}this.defaultChannel.getEventEmitter().emit(this.defaultChannel.name,t)},p.prototype.onChannelDestroyed=function(t){delete this.channels[t]},p.prototype.getAllChannels=function(){return Object.values(this.channels)},p.prototype.destroy=function(){for(var t in this.channels)this.channels[t].destroy()},p}();v.EventBus=L},3534:function(a,v,i){"use strict";var e=this&&this.__createBinding||(Object.create?function(p,t,u,b){b===void 0&&(b=u),Object.defineProperty(p,b,{enumerable:!0,get:function(){return t[u]}})}:function(p,t,u,b){b===void 0&&(b=u),p[b]=t[u]}),L=this&&this.__exportStar||function(p,t){for(var u in p)u!=="default"&&!Object.prototype.hasOwnProperty.call(t,u)&&e(t,p,u)};Object.defineProperty(v,"__esModule",{value:!0}),L(i(4719),v),L(i(6206),v),L(i(7706),v),L(i(4683),v)},4683:function(a,v,i){"use strict";var e=this&&this.__extends||function(){var t=function(u,b){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var y in f)Object.prototype.hasOwnProperty.call(f,y)&&(c[y]=f[y])},t(u,b)};return function(u,b){if(typeof b!="function"&&b!==null)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");t(u,b);function c(){this.constructor=u}u.prototype=b===null?Object.create(b):(c.prototype=b.prototype,new c)}}();Object.defineProperty(v,"__esModule",{value:!0}),v.Topic=void 0;var L=i(4719),p=function(t){e(u,t);function u(b,c,f){f===void 0&&(f=0);var y=t.call(this,b,f)||this;return y.channel=c,y}return u.prototype.emit=function(b){var c={channel:this.channel,topic:this.name,payload:b};t.prototype.emit.call(this,c)},u.prototype.destroy=function(){this.emitter.emit("topic_destroyed",this.name),t.prototype.destroy.call(this)},u}(L.Broadcaster);v.Topic=p},2699:a=>{"use strict";var v=typeof Reflect=="object"?Reflect:null,i=v&&typeof v.apply=="function"?v.apply:function(d,E,T){return Function.prototype.apply.call(d,E,T)},e;v&&typeof v.ownKeys=="function"?e=v.ownKeys:Object.getOwnPropertySymbols?e=function(d){return Object.getOwnPropertyNames(d).concat(Object.getOwnPropertySymbols(d))}:e=function(d){return Object.getOwnPropertyNames(d)};function L(_){console&&console.warn&&console.warn(_)}var p=Number.isNaN||function(d){return d!==d};function t(){t.init.call(this)}a.exports=t,a.exports.once=K,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._eventsCount=0,t.prototype._maxListeners=void 0;var u=10;function b(_){if(typeof _!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof _)}Object.defineProperty(t,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(_){if(typeof _!="number"||_<0||p(_))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+_+".");u=_}}),t.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(d){if(typeof d!="number"||d<0||p(d))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+d+".");return this._maxListeners=d,this};function c(_){return _._maxListeners===void 0?t.defaultMaxListeners:_._maxListeners}t.prototype.getMaxListeners=function(){return c(this)},t.prototype.emit=function(d){for(var E=[],T=1;T<arguments.length;T++)E.push(arguments[T]);var M=d==="error",j=this._events;if(j!==void 0)M=M&&j.error===void 0;else if(!M)return!1;if(M){var N;if(E.length>0&&(N=E[0]),N instanceof Error)throw N;var F=new Error("Unhandled error."+(N?" ("+N.message+")":""));throw F.context=N,F}var ee=j[d];if(ee===void 0)return!1;if(typeof ee=="function")i(ee,this,E);else for(var G=ee.length,te=U(ee,G),T=0;T<G;++T)i(te[T],this,E);return!0};function f(_,d,E,T){var M,j,N;if(b(E),j=_._events,j===void 0?(j=_._events=Object.create(null),_._eventsCount=0):(j.newListener!==void 0&&(_.emit("newListener",d,E.listener?E.listener:E),j=_._events),N=j[d]),N===void 0)N=j[d]=E,++_._eventsCount;else if(typeof N=="function"?N=j[d]=T?[E,N]:[N,E]:T?N.unshift(E):N.push(E),M=c(_),M>0&&N.length>M&&!N.warned){N.warned=!0;var F=new Error("Possible EventEmitter memory leak detected. "+N.length+" "+String(d)+" listeners added. Use emitter.setMaxListeners() to increase limit");F.name="MaxListenersExceededWarning",F.emitter=_,F.type=d,F.count=N.length,L(F)}return _}t.prototype.addListener=function(d,E){return f(this,d,E,!1)},t.prototype.on=t.prototype.addListener,t.prototype.prependListener=function(d,E){return f(this,d,E,!0)};function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function O(_,d,E){var T={fired:!1,wrapFn:void 0,target:_,type:d,listener:E},M=y.bind(T);return M.listener=E,T.wrapFn=M,M}t.prototype.once=function(d,E){return b(E),this.on(d,O(this,d,E)),this},t.prototype.prependOnceListener=function(d,E){return b(E),this.prependListener(d,O(this,d,E)),this},t.prototype.removeListener=function(d,E){var T,M,j,N,F;if(b(E),M=this._events,M===void 0)return this;if(T=M[d],T===void 0)return this;if(T===E||T.listener===E)--this._eventsCount===0?this._events=Object.create(null):(delete M[d],M.removeListener&&this.emit("removeListener",d,T.listener||E));else if(typeof T!="function"){for(j=-1,N=T.length-1;N>=0;N--)if(T[N]===E||T[N].listener===E){F=T[N].listener,j=N;break}if(j<0)return this;j===0?T.shift():Q(T,j),T.length===1&&(M[d]=T[0]),M.removeListener!==void 0&&this.emit("removeListener",d,F||E)}return this},t.prototype.off=t.prototype.removeListener,t.prototype.removeAllListeners=function(d){var E,T,M;if(T=this._events,T===void 0)return this;if(T.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):T[d]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete T[d]),this;if(arguments.length===0){var j=Object.keys(T),N;for(M=0;M<j.length;++M)N=j[M],N!=="removeListener"&&this.removeAllListeners(N);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(E=T[d],typeof E=="function")this.removeListener(d,E);else if(E!==void 0)for(M=E.length-1;M>=0;M--)this.removeListener(d,E[M]);return this};function P(_,d,E){var T=_._events;if(T===void 0)return[];var M=T[d];return M===void 0?[]:typeof M=="function"?E?[M.listener||M]:[M]:E?H(M):U(M,M.length)}t.prototype.listeners=function(d){return P(this,d,!0)},t.prototype.rawListeners=function(d){return P(this,d,!1)},t.listenerCount=function(_,d){return typeof _.listenerCount=="function"?_.listenerCount(d):x.call(_,d)},t.prototype.listenerCount=x;function x(_){var d=this._events;if(d!==void 0){var E=d[_];if(typeof E=="function")return 1;if(E!==void 0)return E.length}return 0}t.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]};function U(_,d){for(var E=new Array(d),T=0;T<d;++T)E[T]=_[T];return E}function Q(_,d){for(;d+1<_.length;d++)_[d]=_[d+1];_.pop()}function H(_){for(var d=new Array(_.length),E=0;E<d.length;++E)d[E]=_[E].listener||_[E];return d}function K(_,d){return new Promise(function(E,T){function M(N){_.removeListener(d,j),T(N)}function j(){typeof _.removeListener=="function"&&_.removeListener("error",M),E([].slice.call(arguments))}X(_,d,j,{once:!0}),d!=="error"&&Y(_,M,{once:!0})})}function Y(_,d,E){typeof _.on=="function"&&X(_,"error",d,E)}function X(_,d,E,T){if(typeof _.on=="function")T.once?_.once(d,E):_.on(d,E);else if(typeof _.addEventListener=="function")_.addEventListener(d,function M(j){T.once&&_.removeEventListener(d,M),E(j)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof _)}},3180:(a,v,i)=>{"use strict";i.d(v,{Q_:()=>u,YH:()=>b,_T:()=>e,mG:()=>t});function e(c,f){var y={};for(var O in c)Object.prototype.hasOwnProperty.call(c,O)&&f.indexOf(O)<0&&(y[O]=c[O]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,O=Object.getOwnPropertySymbols(c);P<O.length;P++)f.indexOf(O[P])<0&&Object.prototype.propertyIsEnumerable.call(c,O[P])&&(y[O[P]]=c[O[P]]);return y}function L(c,f,y,O){var P=arguments.length,x=P<3?f:O===null?O=Object.getOwnPropertyDescriptor(f,y):O,U;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(c,f,y,O);else for(var Q=c.length-1;Q>=0;Q--)(U=c[Q])&&(x=(P<3?U(x):P>3?U(f,y,x):U(f,y))||x);return P>3&&x&&Object.defineProperty(f,y,x),x}function p(c,f){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(c,f)}function t(c,f,y,O){function P(x){return x instanceof y?x:new y(function(U){U(x)})}return new(y||(y=Promise))(function(x,U){function Q(Y){try{K(O.next(Y))}catch(X){U(X)}}function H(Y){try{K(O.throw(Y))}catch(X){U(X)}}function K(Y){Y.done?x(Y.value):P(Y.value).then(Q,H)}K((O=O.apply(c,f||[])).next())})}function u(c,f,y,O){if(y==="a"&&!O)throw new TypeError("Private accessor was defined without a getter");if(typeof f=="function"?c!==f||!O:!f.has(c))throw new TypeError("Cannot read private member from an object whose class did not declare it");return y==="m"?O:y==="a"?O.call(c):O?O.value:f.get(c)}function b(c,f,y,O,P){if(O==="m")throw new TypeError("Private method is not writable");if(O==="a"&&!P)throw new TypeError("Private accessor was defined without a setter");if(typeof f=="function"?c!==f||!P:!f.has(c))throw new TypeError("Cannot write private member to an object whose class did not declare it");return O==="a"?P.call(c,y):P?P.value=y:f.set(c,y),y}},2683:(a,v,i)=>{"use strict";i.d(v,{k8:()=>e,oJ:()=>p});const e="embeddable-event-bus-key",L=1e5,p={rest:{endpoints:{big:"https://api-gateway.prod.icanbwell.com/identity"}}},t="healthCircle",u=""},9642:(a,v,i)=>{"use strict";i.r(v),i.d(v,{EventBus:()=>b});var e=i(3534);function L(c,f,y,O){if(y==="a"&&!O)throw new TypeError("Private accessor was defined without a getter");if(typeof f=="function"?c!==f||!O:!f.has(c))throw new TypeError("Cannot read private member from an object whose class did not declare it");return y==="m"?O:y==="a"?O.call(c):O?O.value:f.get(c)}var p,t;const u="default";class b{static getInstance(f){let y=f?L(this,p,"f",t)[f]:L(this,p,"f",t)[u];return y||(y=L(this,p,"f",t)[f||u]=new e.EventBus),y}}p=b,t={value:{}}},8109:(a,v,i)=>{"use strict";i.d(v,{M:()=>L});var e=i(2802);class L extends Error{constructor(t,u){super(t,u),this.cause=u.cause,this.errorCode=u.errorCode}toJSON(){const{name:t,message:u,errorCode:b}=this;return{name:t,message:u,errorCode:b}}emitToNativeComponent(){return[e.ErrorCode.CLIENT_UNKNOWN,e.ErrorCode.TOKEN_EXCHANGE].includes(this.errorCode)}}},3817:(a,v,i)=>{"use strict";i.d(v,{j:()=>e});var e;(function(L){L.CLIENT_UNKNOWN="CLIENT_UNKNOWN",L.INSUFFICIENT_SERVICES="INSUFFICIENT_SERVICES",L.METHOD_CALLED_BEFORE_INITIALIZATION="METHOD_CALLED_BEFORE_INITIALIZATION",L.BWELL_INITIALIZATION="BWELL_INITIALIZATION",L.TOKEN_EXCHANGE="TOKEN_EXCHANGE",L.ROUTE_ACTION="ROUTE_ACTION",L.ROUTE_NAVIGATION_DELEGATE="ROUTE_NAVIGATION_DELEGATE",L.ROUTE_UNKNOWN="ROUTE_UNKNOWN",L.ROUTE_ELEMENT_UNKNOWN="ROUTE_ELEMENT_UNKNOWN",L.PROVIDER_UNDEFINED="PROVIDER_UNDEFINED",L.INSUFFICIENT_PERMISSIONS="INSUFFICIENT_PERMISSIONS",L.CONFIGURATION_ERROR="CONFIGURATION_ERROR",L.NETWORK="NETWORK",L.UNKNOWN="UNKNOWN"})(e||(e={}))},2802:(a,v,i)=>{"use strict";i.d(v,{ErrorCode:()=>e.j});var e=i(3817);const L="pagetransition"}},ve={};function g(a){var v=ve[a];if(v!==void 0)return v.exports;var i=ve[a]={id:a,loaded:!1,exports:{}};return be[a].call(i.exports,i,i.exports,g),i.loaded=!0,i.exports}g.m=be,g.c=ve,g.n=a=>{var v=a&&a.__esModule?()=>a.default:()=>a;return g.d(v,{a:v}),v},(()=>{var a=Object.getPrototypeOf?i=>Object.getPrototypeOf(i):i=>i.__proto__,v;g.t=function(i,e){if(e&1&&(i=this(i)),e&8||typeof i=="object"&&i&&(e&4&&i.__esModule||e&16&&typeof i.then=="function"))return i;var L=Object.create(null);g.r(L);var p={};v=v||[null,a({}),a([]),a(a)];for(var t=e&2&&i;typeof t=="object"&&!~v.indexOf(t);t=a(t))Object.getOwnPropertyNames(t).forEach(u=>p[u]=()=>i[u]);return p.default=()=>i,g.d(L,p),L}})(),g.d=(a,v)=>{for(var i in v)g.o(v,i)&&!g.o(a,i)&&Object.defineProperty(a,i,{enumerable:!0,get:v[i]})},g.f={},g.e=a=>Promise.all(Object.keys(g.f).reduce((v,i)=>(g.f[i](a,v),v),[])),g.u=a=>""+a+".index.js",g.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),g.hmd=a=>(a=Object.create(a),a.children||(a.children=[]),Object.defineProperty(a,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+a.id)}}),a),g.o=(a,v)=>Object.prototype.hasOwnProperty.call(a,v),(()=>{var a={},v="@icanbwell/activity-detail:";g.l=(i,e,L,p)=>{if(a[i]){a[i].push(e);return}var t,u;if(L!==void 0)for(var b=document.getElementsByTagName("script"),c=0;c<b.length;c++){var f=b[c];if(f.getAttribute("src")==i||f.getAttribute("data-webpack")==v+L){t=f;break}}t||(u=!0,t=document.createElement("script"),t.charset="utf-8",t.timeout=120,g.nc&&t.setAttribute("nonce",g.nc),t.setAttribute("data-webpack",v+L),t.src=i),a[i]=[e];var y=(P,x)=>{t.onerror=t.onload=null,clearTimeout(O);var U=a[i];if(delete a[i],t.parentNode&&t.parentNode.removeChild(t),U&&U.forEach(Q=>Q(x)),P)return P(x)},O=setTimeout(y.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=y.bind(null,t.onerror),t.onload=y.bind(null,t.onload),u&&document.head.appendChild(t)}})(),g.r=a=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},g.nmd=a=>(a.paths=[],a.children||(a.children=[]),a),(()=>{g.S={};var a={},v={};g.I=(i,e)=>{e||(e=[]);var L=v[i];if(L||(L=v[i]={}),!(e.indexOf(L)>=0)){if(e.push(L),a[i])return a[i];g.o(g.S,i)||(g.S[i]={});var p=g.S[i],t=y=>{typeof console<"u"&&console.warn&&console.warn(y)},u="@icanbwell/activity-detail",b=(y,O,P,x)=>{var U=p[y]=p[y]||{},Q=U[O];(!Q||!Q.loaded&&(!x!=!Q.eager?x:u>Q.from))&&(U[O]={get:P,from:u,eager:!!x})},c=y=>{var O=Q=>t("Initialization of sharing external failed: "+Q);try{var P=g(y);if(!P)return;var x=Q=>Q&&Q.init&&Q.init(g.S[i],e);if(P.then)return f.push(P.then(x,O));var U=x(P);if(U&&U.then)return f.push(U.catch(O))}catch(Q){O(Q)}},f=[];switch(i){case"default":b("@icanbwell/events","0.38.2",()=>()=>g(9642),1),b("@icanbwell/react-native-webview-invoke/browser","0.6.4",()=>()=>g(4701),1);break}return f.length?a[i]=Promise.all(f).then(()=>a[i]=1):a[i]=1}}})(),(()=>{var a;g.g.importScripts&&(a=g.g.location+"");var v=g.g.document;if(!a&&v&&(v.currentScript&&(a=v.currentScript.src),!a)){var i=v.getElementsByTagName("script");if(i.length)for(var e=i.length-1;e>-1&&!a;)a=i[e--].src}if(!a)throw new Error("Automatic publicPath is not supported in this browser");a=a.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),g.p=a})(),(()=>{var a=s=>{var o=w=>w.split(".").map(r=>+r==r?+r:r),n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(s),h=n[1]?o(n[1]):[];return n[2]&&(h.length++,h.push.apply(h,o(n[2]))),n[3]&&(h.push([]),h.push.apply(h,o(n[3]))),h},v=(s,o)=>{s=a(s),o=a(o);for(var n=0;;){if(n>=s.length)return n<o.length&&(typeof o[n])[0]!="u";var h=s[n],w=(typeof h)[0];if(n>=o.length)return w=="u";var r=o[n],l=(typeof r)[0];if(w!=l)return w=="o"&&l=="n"||l=="s"||w=="u";if(w!="o"&&w!="u"&&h!=r)return h<r;n++}},i=s=>{var o=s[0],n="";if(s.length===1)return"*";if(o+.5){n+=o==0?">=":o==-1?"<":o==1?"^":o==2?"~":o>0?"=":"!=";for(var h=1,w=1;w<s.length;w++)h--,n+=(typeof(l=s[w]))[0]=="u"?"-":(h>0?".":"")+(h=2,l);return n}var r=[];for(w=1;w<s.length;w++){var l=s[w];r.push(l===0?"not("+C()+")":l===1?"("+C()+" || "+C()+")":l===2?r.pop()+" "+r.pop():i(l))}return C();function C(){return r.pop().replace(/^\((.+)\)$/,"$1")}},e=(s,o)=>{if(0 in s){o=a(o);var n=s[0],h=n<0;h&&(n=-n-1);for(var w=0,r=1,l=!0;;r++,w++){var C,B,k=r<s.length?(typeof s[r])[0]:"";if(w>=o.length||(B=(typeof(C=o[w]))[0])=="o")return!l||(k=="u"?r>n&&!h:k==""!=h);if(B=="u"){if(!l||k!="u")return!1}else if(l)if(k==B)if(r<=n){if(C!=s[r])return!1}else{if(h?C>s[r]:C<s[r])return!1;C!=s[r]&&(l=!1)}else if(k!="s"&&k!="n"){if(h||r<=n)return!1;l=!1,r--}else{if(r<=n||B<k!=h)return!1;l=!1}else k!="s"&&k!="n"&&(l=!1,r--)}}var J=[],V=J.pop.bind(J);for(w=1;w<s.length;w++){var q=s[w];J.push(q==1?V()|V():q==2?V()&V():q?e(q,o):!V())}return!!V()},L=(s,o)=>{var n=g.S[s];if(!n||!g.o(n,o))throw new Error("Shared module "+o+" doesn't exist in shared scope "+s);return n},p=(s,h)=>{var n=s[h],h=Object.keys(n).reduce((w,r)=>!w||v(w,r)?r:w,0);return h&&n[h]},t=(s,o)=>{var n=s[o];return Object.keys(n).reduce((h,w)=>!h||!n[h].loaded&&v(h,w)?w:h,0)},u=(s,o,n,h)=>"Unsatisfied version "+n+" from "+(n&&s[o][n].from)+" of shared singleton module "+o+" (required "+i(h)+")",b=(s,o,n,h)=>{var w=t(s,n);return Q(s[n][w])},c=(s,o,n,h)=>{var w=t(s,n);return e(h,w)||x(u(s,n,w,h)),Q(s[n][w])},f=(s,o,n,h)=>{var w=t(s,n);if(!e(h,w))throw new Error(u(s,n,w,h));return Q(s[n][w])},y=(s,w,n)=>{var h=s[w],w=Object.keys(h).reduce((r,l)=>e(n,l)&&(!r||v(r,l))?l:r,0);return w&&h[w]},O=(s,o,n,h)=>{var w=s[n];return"No satisfying version ("+i(h)+") of shared module "+n+" found in shared scope "+o+`.
`}}customElements.get(V)===void 0&&customElements.define(V,q);const fe=[{name:"loader",defaultElement:document.createElement(k)},{name:"error",defaultElement:document.createElement(V)}],se=["error","loading"],de={error:"error",loading:"loader"};(({src:W,elementNameSuffix:m})=>(0,e.mG)(void 0,void 0,void 0,function*(){var A,R,S,I,D,$,re,ae,oe,z,we,ge,_e,me;window.bwell||(window.bwell=new B);const he=`bwell-${m}`;if(customElements.get(he)!==void 0)return;class Oe extends L{constructor(){super(),A.add(this),R.set(this,P()),S.set(this,void 0),I.set(this,document.createElement("feature-app-loader")),D.set(this,void 0),$.set(this,void 0),re.set(this,void 0),ae.set(this,void 0),oe.set(this,void 0),z.set(this,void 0),this.attachShadow({mode:"open"});const Z=new s(fe).attachToShadowRoot(this.shadowRoot);Z.addEventListener("visibilitychange",({visibility:le,container:ye,name:Le})=>{Le==="error"&&le==="visible"&&window.bwell._registerEmbeddableContent(ye),(0,e.Q_)(this,I,"f").style.display=le==="hidden"?"unset":"hidden"}),(0,e.YH)(this,z,{slots:Z,attributes:new E().bindTo(this)},"f"),(0,e.YH)(this,D,(0,e.Q_)(this,A,"m",we).bind(this),"f"),(0,e.YH)(this,$,(0,e.Q_)(this,A,"m",ge).bind(this),"f"),(0,e.YH)(this,re,(0,e.Q_)(this,A,"m",me).call(this,"error"),"f"),(0,e.YH)(this,ae,(0,e.Q_)(this,A,"m",me).call(this,"loading"),"f")}connectedCallback(){return(0,e.mG)(this,void 0,void 0,function*(){(0,e.Q_)(this,re,"f").call(this,(0,e.Q_)(this,z,"f").attributes.get("error")),(0,e.Q_)(this,ae,"f").call(this,(0,e.Q_)(this,z,"f").attributes.get("loading")),(0,e.Q_)(this,z,"f").slots.addEventListener("visibilitychange",(0,e.Q_)(this,$,"f")),(0,e.Q_)(this,z,"f").attributes.addChangeListener("error",(0,e.Q_)(this,re,"f")),(0,e.Q_)(this,z,"f").attributes.addChangeListener("loading",(0,e.Q_)(this,ae,"f")),(0,e.Q_)(this,z,"f").slots.showSlot("loader");try{yield window.bwell.validateLoad()}catch{(0,e.Q_)(this,z,"f").slots.showSlot("error")}(0,e.YH)(this,R,this.id||(0,e.Q_)(this,R,"f"),"f"),(0,e.YH)(this,S,new c((0,e.Q_)(this,R,"f")),"f"),(0,e.Q_)(this,S,"f").registerDispatcher(Z=>this.dispatchEvent(Z)),window.bwell.isInitialized?(0,e.Q_)(this,D,"f").call(this):(window.bwell.once("initialized",(0,e.Q_)(this,D,"f")),window.bwell.once("error",()=>{(0,e.Q_)(this,z,"f").slots.showSlot("error")}))})}disconnectedCallback(){var Z;(0,e.Q_)(this,z,"f").slots.removeEventListener("visibilitychange",(0,e.Q_)(this,$,"f")),(0,e.Q_)(this,z,"f").attributes.removeChangeListener("error",(0,e.Q_)(this,re,"f")),(0,e.Q_)(this,z,"f").attributes.removeChangeListener("loading",(0,e.Q_)(this,ae,"f")),(Z=(0,e.Q_)(this,S,"f"))===null||Z===void 0||Z.deregister()}}R=new WeakMap,S=new WeakMap,I=new WeakMap,D=new WeakMap,$=new WeakMap,re=new WeakMap,ae=new WeakMap,oe=new WeakMap,z=new WeakMap,A=new WeakSet,we=function(){(0,e.Q_)(this,I,"f").setAttribute("featureAppId",`bwell-embeddable:${he}`),(0,e.Q_)(this,I,"f").setAttribute("src",W),(0,e.Q_)(this,I,"f").config={id:(0,e.Q_)(this,R,"f"),name:m,elementName:he,utils:(0,e.Q_)(this,z,"f")},this.shadowRoot.appendChild((0,e.Q_)(this,I,"f"))},ge=function({visibility:Z,name:le}){(0,e.Q_)(this,I,"f").style.display=Z==="hidden"?"unset":"hidden"},_e=function(Z){(0,e.Q_)(this,oe,"f")(),(0,e.YH)(this,oe,void 0,"f")},me=function(Z){return le=>{const ye=se.findIndex(ce=>ce===Z);if(!se.slice(0,ye).some(ce=>(0,e.Q_)(this,z,"f").attributes.get(ce)!==null)){if(le!==null)(0,e.Q_)(this,oe,"f")&&(0,e.Q_)(this,A,"m",_e).call(this,Z),(0,e.YH)(this,oe,(0,e.Q_)(this,z,"f").slots.showSlotLocked(de[Z]),"f");else if(le===null&&(0,e.Q_)(this,oe,"f")){(0,e.Q_)(this,A,"m",_e).call(this,Z);const ce=se.find(Te=>(0,e.Q_)(this,z,"f").attributes.get(Te)!==null);ce&&(0,e.YH)(this,oe,(0,e.Q_)(this,z,"f").slots.showSlotLocked(de[ce]),"f")}}}},customElements.define(he,Oe)}))({src:`https://embeddables.prod.icanbwell.com/activity-detail/${{i8:"0.208.0"}.i8}/scripts/embeddable.federated.js`,elementNameSuffix:"activity-detail"})},4719:(a,v,i)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Broadcaster=void 0;var e=i(2699),L=function(){function p(t,u){if(u===void 0&&(u=0),this.emitter=new e.EventEmitter,typeof t>"u"||t.length===0)throw new Error("Broadcaster must have a name");this._name=t,this.emitter.setMaxListeners(u)}return Object.defineProperty(p.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),p.prototype.emit=function(t){this.emitter.emit(this._name,t)},p.prototype.addListener=function(t){return this._addListener("addListener",t)},p.prototype.on=function(t){return this.addListener(t)},p.prototype.prependListener=function(t){return this._addListener("prependListener",t)},p.prototype.once=function(t){return this._addListener("once",t)},p.prototype.prependOnceListener=function(t){return this._addListener("prependOnceListener",t)},p.prototype.removeListener=function(t){this._proxyListener("removeListener",t)},p.prototype.off=function(t){this.removeListener(t)},p.prototype.removeAllListeners=function(){this.emitter.removeAllListeners(this._name)},p.prototype.getMaxListeners=function(){return this.emitter.getMaxListeners()},p.prototype.setMaxListeners=function(t){this.emitter.setMaxListeners(t)},p.prototype.getEventEmitter=function(){return this.emitter},p.prototype.listeners=function(){return this.emitter.listeners(this._name)},p.prototype.rawListeners=function(){return this.emitter.rawListeners(this._name)},p.prototype.listenerCount=function(){return this.emitter.listenerCount(this._name)},p.prototype._proxyListener=function(t,u){this.emitter[t](this._name,u)},p.prototype._createUnsubscribe=function(t){var u=this;return function(){u.emitter.removeListener(u._name,t)}},p.prototype._addListener=function(t,u){return this._proxyListener(t,u),this._createUnsubscribe(u)},p.prototype.destroy=function(){this.emitter.removeAllListeners()},p}();v.Broadcaster=L},7706:function(a,v,i){"use strict";var e=this&&this.__extends||function(){var u=function(b,c){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,y){f.__proto__=y}||function(f,y){for(var O in y)Object.prototype.hasOwnProperty.call(y,O)&&(f[O]=y[O])},u(b,c)};return function(b,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");u(b,c);function f(){this.constructor=b}b.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}}();Object.defineProperty(v,"__esModule",{value:!0}),v.Channel=void 0;var L=i(4719),p=i(4683),t=function(u){e(b,u);function b(c,f){f===void 0&&(f=0);var y=u.call(this,c,f)||this;return y.topics={},y._onTopicDestroyed=y._onTopicDestroyed.bind(y),y._onTopicEmit=y._onTopicEmit.bind(y),y}return b.prototype.emit=function(c){var f={channel:this.name,topic:"*",payload:c};u.prototype.emit.call(this,f)},b.prototype.topic=function(c){var f=this.topics[c];return typeof f>"u"&&(f=this.topics[c]=new p.Topic(c,this.name,this.getMaxListeners()),f.getEventEmitter().on("topic_destroyed",this._onTopicDestroyed),f.on(this._onTopicEmit)),f},b.prototype.hasTopic=function(c){return Boolean(this.topics[c])},b.prototype.removeTopic=function(c){var f=this.topics[c];return typeof f<"u"?(delete this.topics[c],f.destroy(),!0):!1},b.prototype.getAllTopics=function(){return Object.values(this.topics)},b.prototype._onTopicEmit=function(c){u.prototype.emit.call(this,c)},b.prototype._onTopicDestroyed=function(c){delete this.topics[c]},b.prototype.destroy=function(){for(var c in this.topics)this.removeTopic(c);this.emitter.emit("channel_destroyed",this.name),u.prototype.destroy.call(this)},b}(L.Broadcaster);v.Channel=t},6206:(a,v,i)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.EventBus=void 0;var e=i(7706),L=function(){function p(t){this.channels={},t=typeof t>"u"?{}:t,this._maxListeners=t.maxListeners===void 0?0:t.maxListeners,this.onChannelDestroyed=this.onChannelDestroyed.bind(this),this.createMainChannel(),this.onChannelEmit=this.onChannelEmit.bind(this)}return p.prototype.createMainChannel=function(){var t=this;this.defaultChannel=new e.Channel("*",this._maxListeners),this.channels["*"]=this.defaultChannel,this.defaultChannel.getEventEmitter().on("channel_destroyed",function(){t.createMainChannel()})},p.prototype.mainChannel=function(){return this.defaultChannel},p.prototype.allChannels=function(){return this.mainChannel()},p.prototype.channel=function(t){var u=this.channels[t];return typeof u>"u"&&(u=this.channels[t]=new e.Channel(t,this._maxListeners),u.on(this.onChannelEmit),u.getEventEmitter().on("channel_destroyed",this.onChannelDestroyed)),u},p.prototype.hasChannel=function(t){return Boolean(this.channels[t])},p.prototype.removeChannel=function(t){if(t==="*")throw new Error("Can't remove default channel");var u=this.channels[t];return typeof u<"u"?(u.destroy(),!0):!1},p.prototype.onChannelEmit=function(t){var u=t.topic;if(this.defaultChannel.hasTopic(u)){var b={topic:t.topic,channel:t.channel,payload:t.payload};this.defaultChannel.topic(u).getEventEmitter().emit(u,b)}this.defaultChannel.getEventEmitter().emit(this.defaultChannel.name,t)},p.prototype.onChannelDestroyed=function(t){delete this.channels[t]},p.prototype.getAllChannels=function(){return Object.values(this.channels)},p.prototype.destroy=function(){for(var t in this.channels)this.channels[t].destroy()},p}();v.EventBus=L},3534:function(a,v,i){"use strict";var e=this&&this.__createBinding||(Object.create?function(p,t,u,b){b===void 0&&(b=u),Object.defineProperty(p,b,{enumerable:!0,get:function(){return t[u]}})}:function(p,t,u,b){b===void 0&&(b=u),p[b]=t[u]}),L=this&&this.__exportStar||function(p,t){for(var u in p)u!=="default"&&!Object.prototype.hasOwnProperty.call(t,u)&&e(t,p,u)};Object.defineProperty(v,"__esModule",{value:!0}),L(i(4719),v),L(i(6206),v),L(i(7706),v),L(i(4683),v)},4683:function(a,v,i){"use strict";var e=this&&this.__extends||function(){var t=function(u,b){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var y in f)Object.prototype.hasOwnProperty.call(f,y)&&(c[y]=f[y])},t(u,b)};return function(u,b){if(typeof b!="function"&&b!==null)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");t(u,b);function c(){this.constructor=u}u.prototype=b===null?Object.create(b):(c.prototype=b.prototype,new c)}}();Object.defineProperty(v,"__esModule",{value:!0}),v.Topic=void 0;var L=i(4719),p=function(t){e(u,t);function u(b,c,f){f===void 0&&(f=0);var y=t.call(this,b,f)||this;return y.channel=c,y}return u.prototype.emit=function(b){var c={channel:this.channel,topic:this.name,payload:b};t.prototype.emit.call(this,c)},u.prototype.destroy=function(){this.emitter.emit("topic_destroyed",this.name),t.prototype.destroy.call(this)},u}(L.Broadcaster);v.Topic=p},2699:a=>{"use strict";var v=typeof Reflect=="object"?Reflect:null,i=v&&typeof v.apply=="function"?v.apply:function(d,E,T){return Function.prototype.apply.call(d,E,T)},e;v&&typeof v.ownKeys=="function"?e=v.ownKeys:Object.getOwnPropertySymbols?e=function(d){return Object.getOwnPropertyNames(d).concat(Object.getOwnPropertySymbols(d))}:e=function(d){return Object.getOwnPropertyNames(d)};function L(_){console&&console.warn&&console.warn(_)}var p=Number.isNaN||function(d){return d!==d};function t(){t.init.call(this)}a.exports=t,a.exports.once=K,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._eventsCount=0,t.prototype._maxListeners=void 0;var u=10;function b(_){if(typeof _!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof _)}Object.defineProperty(t,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(_){if(typeof _!="number"||_<0||p(_))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+_+".");u=_}}),t.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(d){if(typeof d!="number"||d<0||p(d))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+d+".");return this._maxListeners=d,this};function c(_){return _._maxListeners===void 0?t.defaultMaxListeners:_._maxListeners}t.prototype.getMaxListeners=function(){return c(this)},t.prototype.emit=function(d){for(var E=[],T=1;T<arguments.length;T++)E.push(arguments[T]);var M=d==="error",j=this._events;if(j!==void 0)M=M&&j.error===void 0;else if(!M)return!1;if(M){var N;if(E.length>0&&(N=E[0]),N instanceof Error)throw N;var F=new Error("Unhandled error."+(N?" ("+N.message+")":""));throw F.context=N,F}var ee=j[d];if(ee===void 0)return!1;if(typeof ee=="function")i(ee,this,E);else for(var G=ee.length,te=U(ee,G),T=0;T<G;++T)i(te[T],this,E);return!0};function f(_,d,E,T){var M,j,N;if(b(E),j=_._events,j===void 0?(j=_._events=Object.create(null),_._eventsCount=0):(j.newListener!==void 0&&(_.emit("newListener",d,E.listener?E.listener:E),j=_._events),N=j[d]),N===void 0)N=j[d]=E,++_._eventsCount;else if(typeof N=="function"?N=j[d]=T?[E,N]:[N,E]:T?N.unshift(E):N.push(E),M=c(_),M>0&&N.length>M&&!N.warned){N.warned=!0;var F=new Error("Possible EventEmitter memory leak detected. "+N.length+" "+String(d)+" listeners added. Use emitter.setMaxListeners() to increase limit");F.name="MaxListenersExceededWarning",F.emitter=_,F.type=d,F.count=N.length,L(F)}return _}t.prototype.addListener=function(d,E){return f(this,d,E,!1)},t.prototype.on=t.prototype.addListener,t.prototype.prependListener=function(d,E){return f(this,d,E,!0)};function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function O(_,d,E){var T={fired:!1,wrapFn:void 0,target:_,type:d,listener:E},M=y.bind(T);return M.listener=E,T.wrapFn=M,M}t.prototype.once=function(d,E){return b(E),this.on(d,O(this,d,E)),this},t.prototype.prependOnceListener=function(d,E){return b(E),this.prependListener(d,O(this,d,E)),this},t.prototype.removeListener=function(d,E){var T,M,j,N,F;if(b(E),M=this._events,M===void 0)return this;if(T=M[d],T===void 0)return this;if(T===E||T.listener===E)--this._eventsCount===0?this._events=Object.create(null):(delete M[d],M.removeListener&&this.emit("removeListener",d,T.listener||E));else if(typeof T!="function"){for(j=-1,N=T.length-1;N>=0;N--)if(T[N]===E||T[N].listener===E){F=T[N].listener,j=N;break}if(j<0)return this;j===0?T.shift():Q(T,j),T.length===1&&(M[d]=T[0]),M.removeListener!==void 0&&this.emit("removeListener",d,F||E)}return this},t.prototype.off=t.prototype.removeListener,t.prototype.removeAllListeners=function(d){var E,T,M;if(T=this._events,T===void 0)return this;if(T.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):T[d]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete T[d]),this;if(arguments.length===0){var j=Object.keys(T),N;for(M=0;M<j.length;++M)N=j[M],N!=="removeListener"&&this.removeAllListeners(N);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(E=T[d],typeof E=="function")this.removeListener(d,E);else if(E!==void 0)for(M=E.length-1;M>=0;M--)this.removeListener(d,E[M]);return this};function P(_,d,E){var T=_._events;if(T===void 0)return[];var M=T[d];return M===void 0?[]:typeof M=="function"?E?[M.listener||M]:[M]:E?H(M):U(M,M.length)}t.prototype.listeners=function(d){return P(this,d,!0)},t.prototype.rawListeners=function(d){return P(this,d,!1)},t.listenerCount=function(_,d){return typeof _.listenerCount=="function"?_.listenerCount(d):x.call(_,d)},t.prototype.listenerCount=x;function x(_){var d=this._events;if(d!==void 0){var E=d[_];if(typeof E=="function")return 1;if(E!==void 0)return E.length}return 0}t.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]};function U(_,d){for(var E=new Array(d),T=0;T<d;++T)E[T]=_[T];return E}function Q(_,d){for(;d+1<_.length;d++)_[d]=_[d+1];_.pop()}function H(_){for(var d=new Array(_.length),E=0;E<d.length;++E)d[E]=_[E].listener||_[E];return d}function K(_,d){return new Promise(function(E,T){function M(N){_.removeListener(d,j),T(N)}function j(){typeof _.removeListener=="function"&&_.removeListener("error",M),E([].slice.call(arguments))}X(_,d,j,{once:!0}),d!=="error"&&Y(_,M,{once:!0})})}function Y(_,d,E){typeof _.on=="function"&&X(_,"error",d,E)}function X(_,d,E,T){if(typeof _.on=="function")T.once?_.once(d,E):_.on(d,E);else if(typeof _.addEventListener=="function")_.addEventListener(d,function M(j){T.once&&_.removeEventListener(d,M),E(j)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof _)}},3180:(a,v,i)=>{"use strict";i.d(v,{Q_:()=>u,YH:()=>b,_T:()=>e,mG:()=>t});function e(c,f){var y={};for(var O in c)Object.prototype.hasOwnProperty.call(c,O)&&f.indexOf(O)<0&&(y[O]=c[O]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,O=Object.getOwnPropertySymbols(c);P<O.length;P++)f.indexOf(O[P])<0&&Object.prototype.propertyIsEnumerable.call(c,O[P])&&(y[O[P]]=c[O[P]]);return y}function L(c,f,y,O){var P=arguments.length,x=P<3?f:O===null?O=Object.getOwnPropertyDescriptor(f,y):O,U;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(c,f,y,O);else for(var Q=c.length-1;Q>=0;Q--)(U=c[Q])&&(x=(P<3?U(x):P>3?U(f,y,x):U(f,y))||x);return P>3&&x&&Object.defineProperty(f,y,x),x}function p(c,f){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(c,f)}function t(c,f,y,O){function P(x){return x instanceof y?x:new y(function(U){U(x)})}return new(y||(y=Promise))(function(x,U){function Q(Y){try{K(O.next(Y))}catch(X){U(X)}}function H(Y){try{K(O.throw(Y))}catch(X){U(X)}}function K(Y){Y.done?x(Y.value):P(Y.value).then(Q,H)}K((O=O.apply(c,f||[])).next())})}function u(c,f,y,O){if(y==="a"&&!O)throw new TypeError("Private accessor was defined without a getter");if(typeof f=="function"?c!==f||!O:!f.has(c))throw new TypeError("Cannot read private member from an object whose class did not declare it");return y==="m"?O:y==="a"?O.call(c):O?O.value:f.get(c)}function b(c,f,y,O,P){if(O==="m")throw new TypeError("Private method is not writable");if(O==="a"&&!P)throw new TypeError("Private accessor was defined without a setter");if(typeof f=="function"?c!==f||!P:!f.has(c))throw new TypeError("Cannot write private member to an object whose class did not declare it");return O==="a"?P.call(c,y):P?P.value=y:f.set(c,y),y}},2683:(a,v,i)=>{"use strict";i.d(v,{k8:()=>e,oJ:()=>p});const e="embeddable-event-bus-key",L=1e5,p={rest:{endpoints:{big:"https://api-gateway.prod.icanbwell.com/identity"}}},t="healthCircle",u=""},9642:(a,v,i)=>{"use strict";i.r(v),i.d(v,{EventBus:()=>b});var e=i(3534);function L(c,f,y,O){if(y==="a"&&!O)throw new TypeError("Private accessor was defined without a getter");if(typeof f=="function"?c!==f||!O:!f.has(c))throw new TypeError("Cannot read private member from an object whose class did not declare it");return y==="m"?O:y==="a"?O.call(c):O?O.value:f.get(c)}var p,t;const u="default";class b{static getInstance(f){let y=f?L(this,p,"f",t)[f]:L(this,p,"f",t)[u];return y||(y=L(this,p,"f",t)[f||u]=new e.EventBus),y}}p=b,t={value:{}}},8109:(a,v,i)=>{"use strict";i.d(v,{M:()=>L});var e=i(2802);class L extends Error{constructor(t,u){super(t,u),this.cause=u.cause,this.errorCode=u.errorCode}toJSON(){const{name:t,message:u,errorCode:b}=this;return{name:t,message:u,errorCode:b}}emitToNativeComponent(){return[e.ErrorCode.CLIENT_UNKNOWN,e.ErrorCode.TOKEN_EXCHANGE].includes(this.errorCode)}}},3817:(a,v,i)=>{"use strict";i.d(v,{j:()=>e});var e;(function(L){L.CLIENT_UNKNOWN="CLIENT_UNKNOWN",L.INSUFFICIENT_SERVICES="INSUFFICIENT_SERVICES",L.METHOD_CALLED_BEFORE_INITIALIZATION="METHOD_CALLED_BEFORE_INITIALIZATION",L.BWELL_INITIALIZATION="BWELL_INITIALIZATION",L.TOKEN_EXCHANGE="TOKEN_EXCHANGE",L.ROUTE_ACTION="ROUTE_ACTION",L.ROUTE_NAVIGATION_DELEGATE="ROUTE_NAVIGATION_DELEGATE",L.ROUTE_UNKNOWN="ROUTE_UNKNOWN",L.ROUTE_ELEMENT_UNKNOWN="ROUTE_ELEMENT_UNKNOWN",L.PROVIDER_UNDEFINED="PROVIDER_UNDEFINED",L.INSUFFICIENT_PERMISSIONS="INSUFFICIENT_PERMISSIONS",L.CONFIGURATION_ERROR="CONFIGURATION_ERROR",L.NETWORK="NETWORK",L.UNKNOWN="UNKNOWN"})(e||(e={}))},2802:(a,v,i)=>{"use strict";i.d(v,{ErrorCode:()=>e.j});var e=i(3817);const L="pagetransition"}},ve={};function g(a){var v=ve[a];if(v!==void 0)return v.exports;var i=ve[a]={id:a,loaded:!1,exports:{}};return be[a].call(i.exports,i,i.exports,g),i.loaded=!0,i.exports}g.m=be,g.c=ve,g.n=a=>{var v=a&&a.__esModule?()=>a.default:()=>a;return g.d(v,{a:v}),v},(()=>{var a=Object.getPrototypeOf?i=>Object.getPrototypeOf(i):i=>i.__proto__,v;g.t=function(i,e){if(e&1&&(i=this(i)),e&8||typeof i=="object"&&i&&(e&4&&i.__esModule||e&16&&typeof i.then=="function"))return i;var L=Object.create(null);g.r(L);var p={};v=v||[null,a({}),a([]),a(a)];for(var t=e&2&&i;typeof t=="object"&&!~v.indexOf(t);t=a(t))Object.getOwnPropertyNames(t).forEach(u=>p[u]=()=>i[u]);return p.default=()=>i,g.d(L,p),L}})(),g.d=(a,v)=>{for(var i in v)g.o(v,i)&&!g.o(a,i)&&Object.defineProperty(a,i,{enumerable:!0,get:v[i]})},g.f={},g.e=a=>Promise.all(Object.keys(g.f).reduce((v,i)=>(g.f[i](a,v),v),[])),g.u=a=>""+a+".index.js",g.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),g.hmd=a=>(a=Object.create(a),a.children||(a.children=[]),Object.defineProperty(a,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+a.id)}}),a),g.o=(a,v)=>Object.prototype.hasOwnProperty.call(a,v),(()=>{var a={},v="@icanbwell/activity-detail:";g.l=(i,e,L,p)=>{if(a[i]){a[i].push(e);return}var t,u;if(L!==void 0)for(var b=document.getElementsByTagName("script"),c=0;c<b.length;c++){var f=b[c];if(f.getAttribute("src")==i||f.getAttribute("data-webpack")==v+L){t=f;break}}t||(u=!0,t=document.createElement("script"),t.charset="utf-8",t.timeout=120,g.nc&&t.setAttribute("nonce",g.nc),t.setAttribute("data-webpack",v+L),t.src=i),a[i]=[e];var y=(P,x)=>{t.onerror=t.onload=null,clearTimeout(O);var U=a[i];if(delete a[i],t.parentNode&&t.parentNode.removeChild(t),U&&U.forEach(Q=>Q(x)),P)return P(x)},O=setTimeout(y.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=y.bind(null,t.onerror),t.onload=y.bind(null,t.onload),u&&document.head.appendChild(t)}})(),g.r=a=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},g.nmd=a=>(a.paths=[],a.children||(a.children=[]),a),(()=>{g.S={};var a={},v={};g.I=(i,e)=>{e||(e=[]);var L=v[i];if(L||(L=v[i]={}),!(e.indexOf(L)>=0)){if(e.push(L),a[i])return a[i];g.o(g.S,i)||(g.S[i]={});var p=g.S[i],t=y=>{typeof console<"u"&&console.warn&&console.warn(y)},u="@icanbwell/activity-detail",b=(y,O,P,x)=>{var U=p[y]=p[y]||{},Q=U[O];(!Q||!Q.loaded&&(!x!=!Q.eager?x:u>Q.from))&&(U[O]={get:P,from:u,eager:!!x})},c=y=>{var O=Q=>t("Initialization of sharing external failed: "+Q);try{var P=g(y);if(!P)return;var x=Q=>Q&&Q.init&&Q.init(g.S[i],e);if(P.then)return f.push(P.then(x,O));var U=x(P);if(U&&U.then)return f.push(U.catch(O))}catch(Q){O(Q)}},f=[];switch(i){case"default":b("@icanbwell/events","0.38.2",()=>()=>g(9642),1),b("@icanbwell/react-native-webview-invoke/browser","0.6.4",()=>()=>g(4701),1);break}return f.length?a[i]=Promise.all(f).then(()=>a[i]=1):a[i]=1}}})(),(()=>{var a;g.g.importScripts&&(a=g.g.location+"");var v=g.g.document;if(!a&&v&&(v.currentScript&&(a=v.currentScript.src),!a)){var i=v.getElementsByTagName("script");if(i.length)for(var e=i.length-1;e>-1&&!a;)a=i[e--].src}if(!a)throw new Error("Automatic publicPath is not supported in this browser");a=a.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),g.p=a})(),(()=>{var a=s=>{var o=w=>w.split(".").map(r=>+r==r?+r:r),n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(s),h=n[1]?o(n[1]):[];return n[2]&&(h.length++,h.push.apply(h,o(n[2]))),n[3]&&(h.push([]),h.push.apply(h,o(n[3]))),h},v=(s,o)=>{s=a(s),o=a(o);for(var n=0;;){if(n>=s.length)return n<o.length&&(typeof o[n])[0]!="u";var h=s[n],w=(typeof h)[0];if(n>=o.length)return w=="u";var r=o[n],l=(typeof r)[0];if(w!=l)return w=="o"&&l=="n"||l=="s"||w=="u";if(w!="o"&&w!="u"&&h!=r)return h<r;n++}},i=s=>{var o=s[0],n="";if(s.length===1)return"*";if(o+.5){n+=o==0?">=":o==-1?"<":o==1?"^":o==2?"~":o>0?"=":"!=";for(var h=1,w=1;w<s.length;w++)h--,n+=(typeof(l=s[w]))[0]=="u"?"-":(h>0?".":"")+(h=2,l);return n}var r=[];for(w=1;w<s.length;w++){var l=s[w];r.push(l===0?"not("+C()+")":l===1?"("+C()+" || "+C()+")":l===2?r.pop()+" "+r.pop():i(l))}return C();function C(){return r.pop().replace(/^\((.+)\)$/,"$1")}},e=(s,o)=>{if(0 in s){o=a(o);var n=s[0],h=n<0;h&&(n=-n-1);for(var w=0,r=1,l=!0;;r++,w++){var C,B,k=r<s.length?(typeof s[r])[0]:"";if(w>=o.length||(B=(typeof(C=o[w]))[0])=="o")return!l||(k=="u"?r>n&&!h:k==""!=h);if(B=="u"){if(!l||k!="u")return!1}else if(l)if(k==B)if(r<=n){if(C!=s[r])return!1}else{if(h?C>s[r]:C<s[r])return!1;C!=s[r]&&(l=!1)}else if(k!="s"&&k!="n"){if(h||r<=n)return!1;l=!1,r--}else{if(r<=n||B<k!=h)return!1;l=!1}else k!="s"&&k!="n"&&(l=!1,r--)}}var J=[],V=J.pop.bind(J);for(w=1;w<s.length;w++){var q=s[w];J.push(q==1?V()|V():q==2?V()&V():q?e(q,o):!V())}return!!V()},L=(s,o)=>{var n=g.S[s];if(!n||!g.o(n,o))throw new Error("Shared module "+o+" doesn't exist in shared scope "+s);return n},p=(s,h)=>{var n=s[h],h=Object.keys(n).reduce((w,r)=>!w||v(w,r)?r:w,0);return h&&n[h]},t=(s,o)=>{var n=s[o];return Object.keys(n).reduce((h,w)=>!h||!n[h].loaded&&v(h,w)?w:h,0)},u=(s,o,n,h)=>"Unsatisfied version "+n+" from "+(n&&s[o][n].from)+" of shared singleton module "+o+" (required "+i(h)+")",b=(s,o,n,h)=>{var w=t(s,n);return Q(s[n][w])},c=(s,o,n,h)=>{var w=t(s,n);return e(h,w)||x(u(s,n,w,h)),Q(s[n][w])},f=(s,o,n,h)=>{var w=t(s,n);if(!e(h,w))throw new Error(u(s,n,w,h));return Q(s[n][w])},y=(s,w,n)=>{var h=s[w],w=Object.keys(h).reduce((r,l)=>e(n,l)&&(!r||v(r,l))?l:r,0);return w&&h[w]},O=(s,o,n,h)=>{var w=s[n];return"No satisfying version ("+i(h)+") of shared module "+n+" found in shared scope "+o+`.
Available versions: `+Object.keys(w).map(r=>r+" from "+w[r].from).join(", ")},P=(s,o,n,h)=>{var w=y(s,n,h);if(w)return Q(w);throw new Error(O(s,o,n,h))},x=s=>{typeof console<"u"&&console.warn&&console.warn(s)},U=(s,o,n,h)=>{x(O(s,o,n,h))},Q=s=>(s.loaded=1,s.get()),H=s=>function(o,n,h,w){var r=g.I(o);return r&&r.then?r.then(s.bind(s,o,g.S[o],n,h,w)):s(o,g.S[o],n,h,w)},K=H((s,o,n)=>(L(s,n),Q(p(o,n)))),Y=H((s,o,n,h)=>o&&g.o(o,n)?Q(p(o,n)):h()),X=H((s,o,n,h)=>(L(s,n),Q(y(o,n,h)||U(o,s,n,h)||p(o,n)))),_=H((s,o,n)=>(L(s,n),b(o,s,n))),d=H((s,o,n,h)=>(L(s,n),c(o,s,n,h))),E=H((s,o,n,h)=>(L(s,n),P(o,s,n,h))),T=H((s,o,n,h)=>(L(s,n),f(o,s,n,h))),M=H((s,o,n,h,w)=>!o||!g.o(o,n)?w():Q(y(o,n,h)||U(o,s,n,h)||p(o,n))),j=H((s,o,n,h)=>!o||!g.o(o,n)?h():b(o,s,n)),N=H((s,o,n,h,w)=>!o||!g.o(o,n)?w():c(o,s,n,h)),F=H((s,o,n,h,w)=>{var r=o&&g.o(o,n)&&y(o,n,h);return r?Q(r):w()}),ee=H((s,o,n,h,w)=>!o||!g.o(o,n)?w():f(o,s,n,h)),G={},te={5501:()=>N("default","@icanbwell/react-native-webview-invoke/browser",[2,0,6,2],()=>()=>g(4701)),7634:()=>N("default","@icanbwell/events",[3,0,0,1],()=>()=>g(9642))},ie=[7634];ie.forEach(s=>{g.m[s]=o=>{G[s]=0,delete g.c[s];var n=te[s]();if(typeof n!="function")throw new Error("Shared module is not available for eager consumption: "+s);o.exports=n()}});var ne={501:[5501]};g.f.consumes=(s,o)=>{g.o(ne,s)&&ne[s].forEach(n=>{if(g.o(G,n))return o.push(G[n]);var h=l=>{G[n]=0,g.m[n]=C=>{delete g.c[n],C.exports=l()}},w=l=>{delete G[n],g.m[n]=C=>{throw delete g.c[n],l}};try{var r=te[n]();r.then?o.push(G[n]=r.then(h).catch(w)):h(r)}catch(l){w(l)}})}})(),(()=>{var a={179:0};g.f.j=(e,L)=>{var p=g.o(a,e)?a[e]:void 0;if(p!==0)if(p)L.push(p[2]);else if(e!=501){var t=new Promise((f,y)=>p=a[e]=[f,y]);L.push(p[2]=t);var u=g.p+g.u(e),b=new Error,c=f=>{if(g.o(a,e)&&(p=a[e],p!==0&&(a[e]=void 0),p)){var y=f&&(f.type==="load"?"missing":f.type),O=f&&f.target&&f.target.src;b.message="Loading chunk "+e+` failed.
(`+y+": "+O+")",b.name="ChunkLoadError",b.type=y,b.request=O,p[1](b)}};g.l(u,c,"chunk-"+e,e)}else a[e]=0};var v=(e,L)=>{var[p,t,u]=L,b,c,f=0;if(p.some(O=>a[O]!==0)){for(b in t)g.o(t,b)&&(g.m[b]=t[b]);if(u)var y=u(g)}for(e&&e(L);f<p.length;f++)c=p[f],g.o(a,c)&&a[c]&&a[c][0](),a[c]=0},i=globalThis.webpackChunk_icanbwell_activity_detail=globalThis.webpackChunk_icanbwell_activity_detail||[];i.forEach(v.bind(null,0)),i.push=v.bind(null,i.push.bind(i))})();var Ce=g(6519)})();
{
"name": "@icanbwell/activity-detail",
"version": "0.207.0",
"version": "0.208.0",
"author": "icanbwell",

@@ -17,4 +17,4 @@ "type": "commonjs",

},
"repoVersion": "0.287.0",
"description": "@icanbwell/activity-detail. repo version: 0.287.0"
"repoVersion": "0.288.0",
"description": "@icanbwell/activity-detail. repo version: 0.288.0"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc