@aitmed/aitmed-document-template 1.67.0 → 1.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14382,7 +14382,7 @@ function va() {
14382
14382
  var e = navigator.userAgent || navigator.vendor || window.opera;
14383
14383
  return !!(/android/i.test(e) || /iPad|iPhone|iPod/.test(e) && !window.MSStream);
14384
14384
  }
14385
- const mO = (e) => e ? Co(e * 1e3).format("MM/DD/YYYY, hh:mm A") : "--/--/---- --:-- --", ma = (e) => (Vs("data-v-03827b59"), e = e(), Hs(), e), yO = { class: "RecursiveComponent" }, bO = { key: 0 }, wO = { key: 1 }, EO = { key: 0 }, _O = { class: "label textsharp-title" }, SO = {
14385
+ const mO = (e) => e ? Co(e * 1e3).format("MM/DD/YYYY, hh:mm A") : "--/--/---- --:-- --", ma = (e) => (Vs("data-v-72a3de84"), e = e(), Hs(), e), yO = { class: "RecursiveComponent" }, bO = { key: 0 }, wO = { key: 1 }, EO = { key: 0 }, _O = { class: "label textsharp-title" }, SO = {
14386
14386
  key: 0,
14387
14387
  style: { color: "red" }
14388
14388
  }, IO = { key: 1 }, xO = { class: "label choice-title" }, AO = {
@@ -14476,31 +14476,31 @@ const mO = (e) => e ? Co(e * 1e3).format("MM/DD/YYYY, hh:mm A") : "--/--/---- --
14476
14476
  },
14477
14477
  setup(e) {
14478
14478
  aa((Ee) => ({
14479
- "7ae22e55": _(n).fullWidth,
14480
- "1048b9aa": _(n).defaultStyle.marginTop,
14481
- "6a2534c6": _(n).alignItems,
14482
- f86d7ee2: _(n).text,
14483
- "28e25fc6": _(n).lineHeight,
14484
- "5cd371a4": _(n).atBlockWidth,
14485
- "6efde54e": _(n).doubleLineHeight,
14486
- d90ba4c0: _(n).defaultStyle.paddingTop,
14487
- "487085c8": _(n).defaultStyle.paddingLeft,
14488
- "6ca1934c": _(n).DateAndTime.width,
14489
- af128724: _(n).signature.width,
14490
- "4c91d77f": _(n).signature.height,
14491
- "8892ebfa": _(n).signature.label.top,
14492
- "4a3de1b9": _(n).signature.label.height,
14493
- af38fa18: _(n).signature.label.width,
14494
- "89d225ce": _(n).signature.label.left,
14495
- "0394f8f1": _(n).defaultStyle.marginLeft,
14496
- "0398c267": _(n).defaultStyle.marginTop2,
14497
- "23c45f60": _(n).tableMinWidth,
14498
- "021ef089": _(n).diagnosis.titleFontSize,
14499
- "74605d41": _(n).diagnosis.buttonFontSize,
14500
- "165c20fe": _(n).vitalSign.titleFontSize,
14501
- dd8d7080: _(n).vitalSign.blockWidth,
14502
- cd19d21e: _(n).vitalSign.title2FontSize,
14503
- "0392d94a": _(n).vitalSign.unitFontSize
14479
+ "6595e9f3": _(n).fullWidth,
14480
+ "9d9b8f66": _(n).defaultStyle.marginTop,
14481
+ "36b11dbf": _(n).alignItems,
14482
+ "1a3a3a31": _(n).text,
14483
+ "5752883f": _(n).lineHeight,
14484
+ "5b4c7ed0": _(n).atBlockWidth,
14485
+ "3dab7bf0": _(n).doubleLineHeight,
14486
+ "04f63cbe": _(n).defaultStyle.paddingTop,
14487
+ cc64dc84: _(n).defaultStyle.paddingLeft,
14488
+ "73a6d0ea": _(n).DateAndTime.width,
14489
+ "544ac98c": _(n).signature.width,
14490
+ "1b3f6e21": _(n).signature.height,
14491
+ "1662d821": _(n).signature.label.top,
14492
+ "039476db": _(n).signature.label.height,
14493
+ "0934c192": _(n).signature.label.width,
14494
+ "94173a8a": _(n).signature.label.left,
14495
+ "7511080f": _(n).defaultStyle.marginLeft,
14496
+ "7514d185": _(n).defaultStyle.marginTop2,
14497
+ "5e55c804": _(n).tableMinWidth,
14498
+ "739affa7": _(n).diagnosis.titleFontSize,
14499
+ "326631e3": _(n).diagnosis.buttonFontSize,
14500
+ "664dfe9f": _(n).vitalSign.titleFontSize,
14501
+ e7d2853c: _(n).vitalSign.blockWidth,
14502
+ "5778eb93": _(n).vitalSign.title2FontSize,
14503
+ "90e5af06": _(n).vitalSign.unitFontSize
14504
14504
  }));
14505
14505
  let n;
14506
14506
  const r = pe(va());
@@ -15447,7 +15447,7 @@ const mO = (e) => e ? Co(e * 1e3).format("MM/DD/YYYY, hh:mm A") : "--/--/---- --
15447
15447
  for (const [i, s] of n)
15448
15448
  r[i] = s;
15449
15449
  return r;
15450
- }, wc = /* @__PURE__ */ ya(q8, [["__scopeId", "data-v-03827b59"]]), Tv = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='21'%20height='21'%20viewBox='0%200%2021%2021'%3e%3cpath%20id='calendarCancel'%20d='M28.5,9.615,26.385,7.5,18,15.885,9.615,7.5,7.5,9.615,15.885,18,7.5,26.385,9.615,28.5,18,20.115,26.385,28.5,28.5,26.385,20.115,18Z'%20transform='translate(-7.5%20-7.5)'/%3e%3c/svg%3e", Q8 = { class: "calendar_box" }, Z8 = { class: "date" }, X8 = { class: "calendar_chioce" }, J8 = /* @__PURE__ */ xe({
15450
+ }, wc = /* @__PURE__ */ ya(q8, [["__scopeId", "data-v-72a3de84"]]), Tv = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='21'%20height='21'%20viewBox='0%200%2021%2021'%3e%3cpath%20id='calendarCancel'%20d='M28.5,9.615,26.385,7.5,18,15.885,9.615,7.5,7.5,9.615,15.885,18,7.5,26.385,9.615,28.5,18,20.115,26.385,28.5,28.5,26.385,20.115,18Z'%20transform='translate(-7.5%20-7.5)'/%3e%3c/svg%3e", Q8 = { class: "calendar_box" }, Z8 = { class: "date" }, X8 = { class: "calendar_chioce" }, J8 = /* @__PURE__ */ xe({
15451
15451
  __name: "CalendarPicker",
15452
15452
  setup(e) {
15453
15453
  aa((D) => ({
@@ -48,7 +48,7 @@ function print() { __p += __j.call(arguments, '') }
48
48
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...o){const a=new this(r);return o.forEach(l=>a.set(l)),a}static accessor(r){const a=(this[jp]=this[jp]={accessors:{}}).accessors,l=this.prototype;function c(u){const f=pi(u);a[f]||(hI(l,u),a[f]=!0)}return Z.isArray(r)?r.forEach(c):c(r),this}}Ut.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Z.reduceDescriptors(Ut.prototype,({value:e},r)=>{let o=r[0].toUpperCase()+r.slice(1);return{get:()=>e,set(a){this[o]=a}}}),Z.freezeMethods(Ut);function Vl(e,r){const o=this||di,a=r||o,l=Ut.from(a.headers);let c=a.data;return Z.forEach(e,function(f){c=f.call(o,c,l.normalize(),r?r.status:void 0)}),l.normalize(),c}function Up(e){return!!(e&&e.__CANCEL__)}function ko(e,r,o){De.call(this,e??"canceled",De.ERR_CANCELED,r,o),this.name="CanceledError"}Z.inherits(ko,De,{__CANCEL__:!0});function Hp(e,r,o){const a=o.config.validateStatus;!o.status||!a||a(o.status)?e(o):r(new De("Request failed with status code "+o.status,[De.ERR_BAD_REQUEST,De.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}function mI(e){const r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return r&&r[1]||""}function gI(e,r){e=e||10;const o=new Array(e),a=new Array(e);let l=0,c=0,u;return r=r!==void 0?r:1e3,function(m){const g=Date.now(),y=a[c];u||(u=g),o[l]=m,a[l]=g;let w=c,b=0;for(;w!==l;)b+=o[w++],w=w%e;if(l=(l+1)%e,l===c&&(c=(c+1)%e),g-u<r)return;const M=y&&g-y;return M?Math.round(b*1e3/M):void 0}}function yI(e,r){let o=0;const a=1e3/r;let l=null;return function(){const u=this===!0,f=Date.now();if(u||f-o>a)return l&&(clearTimeout(l),l=null),o=f,e.apply(null,arguments);l||(l=setTimeout(()=>(l=null,o=Date.now(),e.apply(null,arguments)),a-(f-o)))}}const Sa=(e,r,o=3)=>{let a=0;const l=gI(50,250);return yI(c=>{const u=c.loaded,f=c.lengthComputable?c.total:void 0,m=u-a,g=l(m),y=u<=f;a=u;const w={loaded:u,total:f,progress:f?u/f:void 0,bytes:m,rate:g||void 0,estimated:g&&f&&y?(f-u)/g:void 0,event:c,lengthComputable:f!=null};w[r?"download":"upload"]=!0,e(w)},o)},bI=In.hasStandardBrowserEnv?function(){const r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");let a;function l(c){let u=c;return r&&(o.setAttribute("href",u),u=o.href),o.setAttribute("href",u),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:o.pathname.charAt(0)==="/"?o.pathname:"/"+o.pathname}}return a=l(window.location.href),function(u){const f=Z.isString(u)?l(u):u;return f.protocol===a.protocol&&f.host===a.host}}():function(){return function(){return!0}}(),wI=In.hasStandardBrowserEnv?{write(e,r,o,a,l,c){const u=[e+"="+encodeURIComponent(r)];Z.isNumber(o)&&u.push("expires="+new Date(o).toGMTString()),Z.isString(a)&&u.push("path="+a),Z.isString(l)&&u.push("domain="+l),c===!0&&u.push("secure"),document.cookie=u.join("; ")},read(e){const r=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function EI(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function CI(e,r){return r?e.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):e}function Wp(e,r){return e&&!EI(r)?CI(e,r):r}const Yp=e=>e instanceof Ut?{...e}:e;function Kr(e,r){r=r||{};const o={};function a(g,y,w){return Z.isPlainObject(g)&&Z.isPlainObject(y)?Z.merge.call({caseless:w},g,y):Z.isPlainObject(y)?Z.merge({},y):Z.isArray(y)?y.slice():y}function l(g,y,w){if(Z.isUndefined(y)){if(!Z.isUndefined(g))return a(void 0,g,w)}else return a(g,y,w)}function c(g,y){if(!Z.isUndefined(y))return a(void 0,y)}function u(g,y){if(Z.isUndefined(y)){if(!Z.isUndefined(g))return a(void 0,g)}else return a(void 0,y)}function f(g,y,w){if(w in r)return a(g,y);if(w in e)return a(void 0,g)}const m={url:c,method:c,data:c,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:f,headers:(g,y)=>l(Yp(g),Yp(y),!0)};return Z.forEach(Object.keys(Object.assign({},e,r)),function(y){const w=m[y]||l,b=w(e[y],r[y],y);Z.isUndefined(b)&&w!==f||(o[y]=b)}),o}const Gp=e=>{const r=Kr({},e);let{data:o,withXSRFToken:a,xsrfHeaderName:l,xsrfCookieName:c,headers:u,auth:f}=r;r.headers=u=Ut.from(u),r.url=zp(Wp(r.baseURL,r.url),e.params,e.paramsSerializer),f&&u.set("Authorization","Basic "+btoa((f.username||"")+":"+(f.password?unescape(encodeURIComponent(f.password)):"")));let m;if(Z.isFormData(o)){if(In.hasStandardBrowserEnv||In.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if((m=u.getContentType())!==!1){const[g,...y]=m?m.split(";").map(w=>w.trim()).filter(Boolean):[];u.setContentType([g||"multipart/form-data",...y].join("; "))}}if(In.hasStandardBrowserEnv&&(a&&Z.isFunction(a)&&(a=a(r)),a||a!==!1&&bI(r.url))){const g=l&&c&&wI.read(c);g&&u.set(l,g)}return r},SI=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(o,a){const l=Gp(e);let c=l.data;const u=Ut.from(l.headers).normalize();let{responseType:f}=l,m;function g(){l.cancelToken&&l.cancelToken.unsubscribe(m),l.signal&&l.signal.removeEventListener("abort",m)}let y=new XMLHttpRequest;y.open(l.method.toUpperCase(),l.url,!0),y.timeout=l.timeout;function w(){if(!y)return;const M=Ut.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),S={data:!f||f==="text"||f==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:M,config:e,request:y};Hp(function(k){o(k),g()},function(k){a(k),g()},S),y=null}"onloadend"in y?y.onloadend=w:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(w)},y.onabort=function(){y&&(a(new De("Request aborted",De.ECONNABORTED,l,y)),y=null)},y.onerror=function(){a(new De("Network Error",De.ERR_NETWORK,l,y)),y=null},y.ontimeout=function(){let E=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded";const S=l.transitional||$p;l.timeoutErrorMessage&&(E=l.timeoutErrorMessage),a(new De(E,S.clarifyTimeoutError?De.ETIMEDOUT:De.ECONNABORTED,l,y)),y=null},c===void 0&&u.setContentType(null),"setRequestHeader"in y&&Z.forEach(u.toJSON(),function(E,S){y.setRequestHeader(S,E)}),Z.isUndefined(l.withCredentials)||(y.withCredentials=!!l.withCredentials),f&&f!=="json"&&(y.responseType=l.responseType),typeof l.onDownloadProgress=="function"&&y.addEventListener("progress",Sa(l.onDownloadProgress,!0)),typeof l.onUploadProgress=="function"&&y.upload&&y.upload.addEventListener("progress",Sa(l.onUploadProgress)),(l.cancelToken||l.signal)&&(m=M=>{y&&(a(!M||M.type?new ko(null,e,y):M),y.abort(),y=null)},l.cancelToken&&l.cancelToken.subscribe(m),l.signal&&(l.signal.aborted?m():l.signal.addEventListener("abort",m)));const b=mI(l.url);if(b&&In.protocols.indexOf(b)===-1){a(new De("Unsupported protocol "+b+":",De.ERR_BAD_REQUEST,e));return}y.send(c||null)})},xI=(e,r)=>{let o=new AbortController,a;const l=function(m){if(!a){a=!0,u();const g=m instanceof Error?m:this.reason;o.abort(g instanceof De?g:new ko(g instanceof Error?g.message:g))}};let c=r&&setTimeout(()=>{l(new De(`timeout ${r} of ms exceeded`,De.ETIMEDOUT))},r);const u=()=>{e&&(c&&clearTimeout(c),c=null,e.forEach(m=>{m&&(m.removeEventListener?m.removeEventListener("abort",l):m.unsubscribe(l))}),e=null)};e.forEach(m=>m&&m.addEventListener&&m.addEventListener("abort",l));const{signal:f}=o;return f.unsubscribe=u,[f,()=>{c&&clearTimeout(c),c=null}]},_I=function*(e,r){let o=e.byteLength;if(!r||o<r){yield e;return}let a=0,l;for(;a<o;)l=a+r,yield e.slice(a,l),a=l},II=async function*(e,r,o){for await(const a of e)yield*_I(ArrayBuffer.isView(a)?a:await o(String(a)),r)},Kp=(e,r,o,a,l)=>{const c=II(e,r,l);let u=0;return new ReadableStream({type:"bytes",async pull(f){const{done:m,value:g}=await c.next();if(m){f.close(),a();return}let y=g.byteLength;o&&o(u+=y),f.enqueue(new Uint8Array(g))},cancel(f){return a(f),c.return()}},{highWaterMark:2})},qp=(e,r)=>{const o=e!=null;return a=>setTimeout(()=>r({lengthComputable:o,total:e,loaded:a}))},xa=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Qp=xa&&typeof ReadableStream=="function",zl=xa&&(typeof TextEncoder=="function"?(e=>r=>e.encode(r))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),kI=Qp&&(()=>{let e=!1;const r=new Request(In.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!r})(),Zp=64*1024,Pl=Qp&&!!(()=>{try{return Z.isReadableStream(new Response("").body)}catch{}})(),_a={stream:Pl&&(e=>e.body)};xa&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(r=>{!_a[r]&&(_a[r]=Z.isFunction(e[r])?o=>o[r]():(o,a)=>{throw new De(`Response type '${r}' is not supported`,De.ERR_NOT_SUPPORT,a)})})})(new Response);const MI=async e=>{if(e==null)return 0;if(Z.isBlob(e))return e.size;if(Z.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(Z.isArrayBufferView(e))return e.byteLength;if(Z.isURLSearchParams(e)&&(e=e+""),Z.isString(e))return(await zl(e)).byteLength},AI=async(e,r)=>{const o=Z.toFiniteNumber(e.getContentLength());return o??MI(r)},$l={http:Z_,xhr:SI,fetch:xa&&(async e=>{let{url:r,method:o,data:a,signal:l,cancelToken:c,timeout:u,onDownloadProgress:f,onUploadProgress:m,responseType:g,headers:y,withCredentials:w="same-origin",fetchOptions:b}=Gp(e);g=g?(g+"").toLowerCase():"text";let[M,E]=l||c||u?xI([l,c],u):[],S,N;const k=()=>{!S&&setTimeout(()=>{M&&M.unsubscribe()}),S=!0};let A;try{if(m&&kI&&o!=="get"&&o!=="head"&&(A=await AI(y,a))!==0){let W=new Request(r,{method:"POST",body:a,duplex:"half"}),Y;Z.isFormData(a)&&(Y=W.headers.get("content-type"))&&y.setContentType(Y),W.body&&(a=Kp(W.body,Zp,qp(A,Sa(m)),null,zl))}Z.isString(w)||(w=w?"cors":"omit"),N=new Request(r,{...b,signal:M,method:o.toUpperCase(),headers:y.normalize().toJSON(),body:a,duplex:"half",withCredentials:w});let B=await fetch(N);const H=Pl&&(g==="stream"||g==="response");if(Pl&&(f||H)){const W={};["status","statusText","headers"].forEach(te=>{W[te]=B[te]});const Y=Z.toFiniteNumber(B.headers.get("content-length"));B=new Response(Kp(B.body,Zp,f&&qp(Y,Sa(f,!0)),H&&k,zl),W)}g=g||"text";let D=await _a[Z.findKey(_a,g)||"text"](B,e);return!H&&k(),E&&E(),await new Promise((W,Y)=>{Hp(W,Y,{data:D,headers:Ut.from(B.headers),status:B.status,statusText:B.statusText,config:e,request:N})})}catch(B){throw k(),B&&B.name==="TypeError"&&/fetch/i.test(B.message)?Object.assign(new De("Network Error",De.ERR_NETWORK,e,N),{cause:B.cause||B}):De.from(B,B&&B.code,e,N)}})};Z.forEach($l,(e,r)=>{if(e){try{Object.defineProperty(e,"name",{value:r})}catch{}Object.defineProperty(e,"adapterName",{value:r})}});const Xp=e=>`- ${e}`,TI=e=>Z.isFunction(e)||e===null||e===!1,Jp={getAdapter:e=>{e=Z.isArray(e)?e:[e];const{length:r}=e;let o,a;const l={};for(let c=0;c<r;c++){o=e[c];let u;if(a=o,!TI(o)&&(a=$l[(u=String(o)).toLowerCase()],a===void 0))throw new De(`Unknown adapter '${u}'`);if(a)break;l[u||"#"+c]=a}if(!a){const c=Object.entries(l).map(([f,m])=>`adapter ${f} `+(m===!1?"is not supported by the environment":"is not available in the build"));let u=r?c.length>1?`since :
49
49
  `+c.map(Xp).join(`
50
50
  `):" "+Xp(c[0]):"as no adapter specified";throw new De("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return a},adapters:$l};function Fl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ko(null,e)}function eh(e){return Fl(e),e.headers=Ut.from(e.headers),e.data=Vl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Jp.getAdapter(e.adapter||di.adapter)(e).then(function(a){return Fl(e),a.data=Vl.call(e,e.transformResponse,a),a.headers=Ut.from(a.headers),a},function(a){return Up(a)||(Fl(e),a&&a.response&&(a.response.data=Vl.call(e,e.transformResponse,a.response),a.response.headers=Ut.from(a.response.headers))),Promise.reject(a)})}const th="1.7.2",jl={};["object","boolean","number","function","string","symbol"].forEach((e,r)=>{jl[e]=function(a){return typeof a===e||"a"+(r<1?"n ":" ")+e}});const nh={};jl.transitional=function(r,o,a){function l(c,u){return"[Axios v"+th+"] Transitional option '"+c+"'"+u+(a?". "+a:"")}return(c,u,f)=>{if(r===!1)throw new De(l(u," has been removed"+(o?" in "+o:"")),De.ERR_DEPRECATED);return o&&!nh[u]&&(nh[u]=!0,console.warn(l(u," has been deprecated since v"+o+" and will be removed in the near future"))),r?r(c,u,f):!0}};function NI(e,r,o){if(typeof e!="object")throw new De("options must be an object",De.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let l=a.length;for(;l-- >0;){const c=a[l],u=r[c];if(u){const f=e[c],m=f===void 0||u(f,c,e);if(m!==!0)throw new De("option "+c+" must be "+m,De.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new De("Unknown option "+c,De.ERR_BAD_OPTION)}}const Ul={assertOptions:NI,validators:jl},Cr=Ul.validators;class qr{constructor(r){this.defaults=r,this.interceptors={request:new Pp,response:new Pp}}async request(r,o){try{return await this._request(r,o)}catch(a){if(a instanceof Error){let l;Error.captureStackTrace?Error.captureStackTrace(l={}):l=new Error;const c=l.stack?l.stack.replace(/^.+\n/,""):"";try{a.stack?c&&!String(a.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(a.stack+=`
51
- `+c):a.stack=c}catch{}}throw a}}_request(r,o){typeof r=="string"?(o=o||{},o.url=r):o=r||{},o=Kr(this.defaults,o);const{transitional:a,paramsSerializer:l,headers:c}=o;a!==void 0&&Ul.assertOptions(a,{silentJSONParsing:Cr.transitional(Cr.boolean),forcedJSONParsing:Cr.transitional(Cr.boolean),clarifyTimeoutError:Cr.transitional(Cr.boolean)},!1),l!=null&&(Z.isFunction(l)?o.paramsSerializer={serialize:l}:Ul.assertOptions(l,{encode:Cr.function,serialize:Cr.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let u=c&&Z.merge(c.common,c[o.method]);c&&Z.forEach(["delete","get","head","post","put","patch","common"],E=>{delete c[E]}),o.headers=Ut.concat(u,c);const f=[];let m=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(o)===!1||(m=m&&S.synchronous,f.unshift(S.fulfilled,S.rejected))});const g=[];this.interceptors.response.forEach(function(S){g.push(S.fulfilled,S.rejected)});let y,w=0,b;if(!m){const E=[eh.bind(this),void 0];for(E.unshift.apply(E,f),E.push.apply(E,g),b=E.length,y=Promise.resolve(o);w<b;)y=y.then(E[w++],E[w++]);return y}b=f.length;let M=o;for(w=0;w<b;){const E=f[w++],S=f[w++];try{M=E(M)}catch(N){S.call(this,N);break}}try{y=eh.call(this,M)}catch(E){return Promise.reject(E)}for(w=0,b=g.length;w<b;)y=y.then(g[w++],g[w++]);return y}getUri(r){r=Kr(this.defaults,r);const o=Wp(r.baseURL,r.url);return zp(o,r.params,r.paramsSerializer)}}Z.forEach(["delete","get","head","options"],function(r){qr.prototype[r]=function(o,a){return this.request(Kr(a||{},{method:r,url:o,data:(a||{}).data}))}}),Z.forEach(["post","put","patch"],function(r){function o(a){return function(c,u,f){return this.request(Kr(f||{},{method:r,headers:a?{"Content-Type":"multipart/form-data"}:{},url:c,data:u}))}}qr.prototype[r]=o(),qr.prototype[r+"Form"]=o(!0)});class Hl{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(function(c){o=c});const a=this;this.promise.then(l=>{if(!a._listeners)return;let c=a._listeners.length;for(;c-- >0;)a._listeners[c](l);a._listeners=null}),this.promise.then=l=>{let c;const u=new Promise(f=>{a.subscribe(f),c=f}).then(l);return u.cancel=function(){a.unsubscribe(c)},u},r(function(c,u,f){a.reason||(a.reason=new ko(c,u,f),o(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const o=this._listeners.indexOf(r);o!==-1&&this._listeners.splice(o,1)}static source(){let r;return{token:new Hl(function(l){r=l}),cancel:r}}}function vI(e){return function(o){return e.apply(null,o)}}function BI(e){return Z.isObject(e)&&e.isAxiosError===!0}const Wl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Wl).forEach(([e,r])=>{Wl[r]=e});function rh(e){const r=new qr(e),o=Sp(qr.prototype.request,r);return Z.extend(o,qr.prototype,r,{allOwnKeys:!0}),Z.extend(o,r,null,{allOwnKeys:!0}),o.create=function(l){return rh(Kr(e,l))},o}const Ct=rh(di);Ct.Axios=qr,Ct.CanceledError=ko,Ct.CancelToken=Hl,Ct.isCancel=Up,Ct.VERSION=th,Ct.toFormData=Ea,Ct.AxiosError=De,Ct.Cancel=Ct.CanceledError,Ct.all=function(r){return Promise.all(r)},Ct.spread=vI,Ct.isAxiosError=BI,Ct.mergeConfig=Kr,Ct.AxiosHeaders=Ut,Ct.formToJSON=e=>Fp(Z.isHTMLForm(e)?new FormData(e):e),Ct.getAdapter=Jp.getAdapter,Ct.HttpStatusCode=Wl,Ct.default=Ct;const DI=/#[\w*]+\|-\|((?!\|-\|).)+\|-\|((?!\|-\|).)+\|-\|/,LI=/#[\w *\&]+\|-\|((?!\|-\|).)+\|-\|/,OI=/\|-\|/g,RI=/\|-\|/;function hi(){var e=navigator.userAgent||navigator.vendor||window.opera;return!!(/android/i.test(e)||/iPad|iPhone|iPod/.test(e)&&!window.MSStream)}const VI=e=>e?Yr(e*1e3).format("MM/DD/YYYY, hh:mm A"):"--/--/---- --:-- --",mi=e=>(t.pushScopeId("data-v-03827b59"),e=e(),t.popScopeId(),e),zI={class:"RecursiveComponent"},PI={key:0},$I={key:1},FI={key:0},jI={class:"label textsharp-title"},UI={key:0,style:{color:"red"}},HI={key:1},WI={class:"label choice-title"},YI={key:0,style:{color:"red"}},GI={key:2,class:"vertical-checkbox-group"},KI={key:3,class:"vertical-checkbox-group"},qI={key:5,class:"dropdownbox-block"},QI={class:"label dropdownbox-label"},ZI=["onClick"],XI={key:7,class:"date-block"},JI={class:"label date-label"},e4={key:8,class:"time-box"},t4={key:9,class:"time-block"},n4={class:"label time-label"},r4=["onClick"],o4={class:"time-box"},i4={key:11,class:"date-time-block"},a4={class:"label date-bolck-label"},s4=mi(()=>t.createElementVNode("div",{class:"label date-time-blank-label"},"      ",-1)),l4={class:"label time-bolck-label"},c4={key:2},u4=["src"],f4={class:"signature-time"},d4={key:3},p4=["src"],h4={class:"signature-guardian"},m4=mi(()=>t.createElementVNode("div",{class:"label signature-check-label"}," Click here if you are a parent or legal guardian or caregiver on behalf of the patient(you need to give your own signature). ",-1)),g4={key:4},y4=["src"],b4={key:5},w4={class:"diagnosis-title"},E4=mi(()=>t.createElementVNode("div",{class:"label diagnosis-title-label"},"Diagnoses",-1)),C4={key:0,class:"diagnosis-editable"},S4={class:"diagnosis-searchbox"},x4={key:0,class:"diagnosis-suggestion"},_4=["onClick"],I4=mi(()=>t.createElementVNode("br",null,null,-1)),k4={key:1,class:"diagnosis-list"},M4={class:"diagnosis-item"},A4={class:"diagnosis-item-code"},T4={class:"diagnosis-item-comment"},N4={key:0},v4={key:6},B4=mi(()=>t.createElementVNode("div",{class:"vital-sign-title"},[t.createElementVNode("div",{class:"label vital-sign-title-label"},"Vital Signs")],-1)),D4={class:"vital-sign-box"},L4={class:"vital-sign-block"},O4={class:"vital-sign-item"},R4={class:"vital-sign-item-title"},V4={key:0},z4={class:"vital-sign-item"},P4={class:"vital-sign-item-title"},$4={key:0},F4={class:"vital-sign-block"},j4={class:"vital-sign-item"},U4={class:"vital-sign-item-title"},H4={key:0},W4={class:"vital-sign-item"},Y4={class:"vital-sign-item-title"},G4={key:0},K4={class:"vital-sign-box"},q4={class:"vital-sign-block"},Q4={class:"vital-sign-item"},Z4={class:"vital-sign-item-title"},X4={key:0},J4={class:"vital-sign-item"},ek={class:"vital-sign-item-title"},tk={key:0},nk={class:"vital-sign-block"},rk={class:"vital-sign-item"},ok={class:"vital-sign-item-title"},ik={key:0},ak={class:"vital-sign-item"},sk={class:"vital-sign-item-title"},lk={key:0},ck={key:7},uk={class:"label default-label"},fk={key:1,class:"default-textarea-block"},dk=["src","onClick"],pk={key:1},hk={key:0,class:"text"},Yl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsSAAALEgHS3X78AAAAV0lEQVRYR+3SsQ0AMAgEMdh/aYZwQ3HpT0LO7zx/+/y+6UD9oQQTVAHt22CCKqB9G0xQBbRvgwmqgPZtMEEV0L4NJqgC2rfBBFVA+zaYoApo3wYTVAHtDxz6ACmSkz/0AAAAAElFTkSuQmCC",mk=t.defineComponent({__name:"RecursiveComponent",props:{formData:{type:Object,require:!0},node:{type:Array,required:!0},otherData:{type:Object,required:!0},otherTableInfo:{type:Object,required:!0},isEditable:{type:Boolean,default:!0},editability:{type:Object,default:{provider:!0,patient:!0,attorney:!0}}},setup(e){t.useCssVars(pe=>({"7ae22e55":t.unref(r).fullWidth,"1048b9aa":t.unref(r).defaultStyle.marginTop,"6a2534c6":t.unref(r).alignItems,f86d7ee2:t.unref(r).text,"28e25fc6":t.unref(r).lineHeight,"5cd371a4":t.unref(r).atBlockWidth,"6efde54e":t.unref(r).doubleLineHeight,d90ba4c0:t.unref(r).defaultStyle.paddingTop,"487085c8":t.unref(r).defaultStyle.paddingLeft,"6ca1934c":t.unref(r).DateAndTime.width,af128724:t.unref(r).signature.width,"4c91d77f":t.unref(r).signature.height,"8892ebfa":t.unref(r).signature.label.top,"4a3de1b9":t.unref(r).signature.label.height,af38fa18:t.unref(r).signature.label.width,"89d225ce":t.unref(r).signature.label.left,"0394f8f1":t.unref(r).defaultStyle.marginLeft,"0398c267":t.unref(r).defaultStyle.marginTop2,"23c45f60":t.unref(r).tableMinWidth,"021ef089":t.unref(r).diagnosis.titleFontSize,"74605d41":t.unref(r).diagnosis.buttonFontSize,"165c20fe":t.unref(r).vitalSign.titleFontSize,dd8d7080:t.unref(r).vitalSign.blockWidth,cd19d21e:t.unref(r).vitalSign.title2FontSize,"0392d94a":t.unref(r).vitalSign.unitFontSize}));let r;const o=t.ref(hi());o.value?r=t.reactive(p_):r=t.reactive(Cp);const l=_s().getCalendarPciker(),u=Is().getSignaturePad(),m=ks().getImageEditor(),y=Ms().getRecommendDiagnosis(),w=t.reactive({code:"",description:"",comment:"",searchResult:Array()}),b=new Set(["header1","header2","header3","header4","header5"]),M=new Set([...Array.from(b)]),E=new Set([...Array.from(b),"paragraph","divider"]),S=new Set(["table","table-row","table-cell"]),N=new Set(["atblock","sharpblock","image",...Array.from(S)]);[...Array.from(E),...Array.from(N)];const k=new Set(["DateOrDateOfService","SignersName","SignersSpecialty","SignersLicNumber","SignersNpiNumber","SignersDeaNumber","SignersEmail","FaxNumber","FacilityMainNumber","FacilityAddressInfo"]),A=pe=>{pe=pe.replace(/#/,"");const ae=pe.split(OI);return{required:ae[0].endsWith("*"),type:ae[0].replace("*","").replace("$",""),title:ae[1],placeholder:ae[2]}},B=pe=>{const ae=pe.split(RI);ae.shift(),ae.pop();const he={};let Ce=ae.length;for(let xe=0;xe<Ce/2;xe++)he[ae[2*xe]]=ae[2*xe+1]==="checked";return he},H=e,D=t.reactive(H.formData),W=pe=>DI.test(pe)?"textSharp":LI.test(pe)?"choiceSharp":pe==="#Signature"||pe==="#Provider Signature"?"providerSignature":pe==="#Patient/Guardian Signature"?"patientSignature":pe==="#Attorney Signature"?"attorneySignature":"default",Y=/[^\w ]/g,te=pe=>{const ae=pe.replace(Y," ").split(/ /);let he="";return ae.forEach(Ce=>{Ce!==""&&(Ce=Ce.toLowerCase(),Ce=Ce.replace(Ce[0],Ce[0].toUpperCase()),he+=Ce)}),he},K=pe=>{switch(pe){case"Diagnosis":return"Diagnosis";case"Vital Sign":return"Vital Sign";default:return"default"}},q=(pe,ae)=>{const he=D[pe].valueList.filter(Ce=>Ce.key===ae);return(he==null?void 0:he[0])||null},X=(pe,ae)=>{var Ce;((Ce=q(pe,ae))==null?void 0:Ce.value)===D[pe].dataList[ae].value?D[pe].valueList=D[pe].valueList.filter(xe=>xe.key!==ae):D[pe].valueList.push({key:ae,value:D[pe].dataList[ae].value})},se=pe=>{l.open({formData:D,dataKey:pe})},ye=(pe,ae,he,Ce=!1)=>{u.open({dataKey:pe,formData:D,value:ae,type:he,isGuardian:Ce})},le=pe=>{f_.prompt("Title Text","Signature",{confirmButtonText:"Confirm",cancelButtonText:"Cancel",cancelButtonClass:"cancel-btn"}).then(({value:ae})=>{ae&&Rn.set(D,pe,ae)})},L=({isHeader:pe,textAlign:ae})=>{let he=pe?"#f5f2f0":"#ffffff",Ce=pe?"600":"normal",xe=pe?"center":"start",Le=pe?"center":"start";return xe=ae||xe,Le=ae||Le,`
51
+ `+c):a.stack=c}catch{}}throw a}}_request(r,o){typeof r=="string"?(o=o||{},o.url=r):o=r||{},o=Kr(this.defaults,o);const{transitional:a,paramsSerializer:l,headers:c}=o;a!==void 0&&Ul.assertOptions(a,{silentJSONParsing:Cr.transitional(Cr.boolean),forcedJSONParsing:Cr.transitional(Cr.boolean),clarifyTimeoutError:Cr.transitional(Cr.boolean)},!1),l!=null&&(Z.isFunction(l)?o.paramsSerializer={serialize:l}:Ul.assertOptions(l,{encode:Cr.function,serialize:Cr.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let u=c&&Z.merge(c.common,c[o.method]);c&&Z.forEach(["delete","get","head","post","put","patch","common"],E=>{delete c[E]}),o.headers=Ut.concat(u,c);const f=[];let m=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(o)===!1||(m=m&&S.synchronous,f.unshift(S.fulfilled,S.rejected))});const g=[];this.interceptors.response.forEach(function(S){g.push(S.fulfilled,S.rejected)});let y,w=0,b;if(!m){const E=[eh.bind(this),void 0];for(E.unshift.apply(E,f),E.push.apply(E,g),b=E.length,y=Promise.resolve(o);w<b;)y=y.then(E[w++],E[w++]);return y}b=f.length;let M=o;for(w=0;w<b;){const E=f[w++],S=f[w++];try{M=E(M)}catch(N){S.call(this,N);break}}try{y=eh.call(this,M)}catch(E){return Promise.reject(E)}for(w=0,b=g.length;w<b;)y=y.then(g[w++],g[w++]);return y}getUri(r){r=Kr(this.defaults,r);const o=Wp(r.baseURL,r.url);return zp(o,r.params,r.paramsSerializer)}}Z.forEach(["delete","get","head","options"],function(r){qr.prototype[r]=function(o,a){return this.request(Kr(a||{},{method:r,url:o,data:(a||{}).data}))}}),Z.forEach(["post","put","patch"],function(r){function o(a){return function(c,u,f){return this.request(Kr(f||{},{method:r,headers:a?{"Content-Type":"multipart/form-data"}:{},url:c,data:u}))}}qr.prototype[r]=o(),qr.prototype[r+"Form"]=o(!0)});class Hl{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(function(c){o=c});const a=this;this.promise.then(l=>{if(!a._listeners)return;let c=a._listeners.length;for(;c-- >0;)a._listeners[c](l);a._listeners=null}),this.promise.then=l=>{let c;const u=new Promise(f=>{a.subscribe(f),c=f}).then(l);return u.cancel=function(){a.unsubscribe(c)},u},r(function(c,u,f){a.reason||(a.reason=new ko(c,u,f),o(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const o=this._listeners.indexOf(r);o!==-1&&this._listeners.splice(o,1)}static source(){let r;return{token:new Hl(function(l){r=l}),cancel:r}}}function vI(e){return function(o){return e.apply(null,o)}}function BI(e){return Z.isObject(e)&&e.isAxiosError===!0}const Wl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Wl).forEach(([e,r])=>{Wl[r]=e});function rh(e){const r=new qr(e),o=Sp(qr.prototype.request,r);return Z.extend(o,qr.prototype,r,{allOwnKeys:!0}),Z.extend(o,r,null,{allOwnKeys:!0}),o.create=function(l){return rh(Kr(e,l))},o}const Ct=rh(di);Ct.Axios=qr,Ct.CanceledError=ko,Ct.CancelToken=Hl,Ct.isCancel=Up,Ct.VERSION=th,Ct.toFormData=Ea,Ct.AxiosError=De,Ct.Cancel=Ct.CanceledError,Ct.all=function(r){return Promise.all(r)},Ct.spread=vI,Ct.isAxiosError=BI,Ct.mergeConfig=Kr,Ct.AxiosHeaders=Ut,Ct.formToJSON=e=>Fp(Z.isHTMLForm(e)?new FormData(e):e),Ct.getAdapter=Jp.getAdapter,Ct.HttpStatusCode=Wl,Ct.default=Ct;const DI=/#[\w*]+\|-\|((?!\|-\|).)+\|-\|((?!\|-\|).)+\|-\|/,LI=/#[\w *\&]+\|-\|((?!\|-\|).)+\|-\|/,OI=/\|-\|/g,RI=/\|-\|/;function hi(){var e=navigator.userAgent||navigator.vendor||window.opera;return!!(/android/i.test(e)||/iPad|iPhone|iPod/.test(e)&&!window.MSStream)}const VI=e=>e?Yr(e*1e3).format("MM/DD/YYYY, hh:mm A"):"--/--/---- --:-- --",mi=e=>(t.pushScopeId("data-v-72a3de84"),e=e(),t.popScopeId(),e),zI={class:"RecursiveComponent"},PI={key:0},$I={key:1},FI={key:0},jI={class:"label textsharp-title"},UI={key:0,style:{color:"red"}},HI={key:1},WI={class:"label choice-title"},YI={key:0,style:{color:"red"}},GI={key:2,class:"vertical-checkbox-group"},KI={key:3,class:"vertical-checkbox-group"},qI={key:5,class:"dropdownbox-block"},QI={class:"label dropdownbox-label"},ZI=["onClick"],XI={key:7,class:"date-block"},JI={class:"label date-label"},e4={key:8,class:"time-box"},t4={key:9,class:"time-block"},n4={class:"label time-label"},r4=["onClick"],o4={class:"time-box"},i4={key:11,class:"date-time-block"},a4={class:"label date-bolck-label"},s4=mi(()=>t.createElementVNode("div",{class:"label date-time-blank-label"},"      ",-1)),l4={class:"label time-bolck-label"},c4={key:2},u4=["src"],f4={class:"signature-time"},d4={key:3},p4=["src"],h4={class:"signature-guardian"},m4=mi(()=>t.createElementVNode("div",{class:"label signature-check-label"}," Click here if you are a parent or legal guardian or caregiver on behalf of the patient(you need to give your own signature). ",-1)),g4={key:4},y4=["src"],b4={key:5},w4={class:"diagnosis-title"},E4=mi(()=>t.createElementVNode("div",{class:"label diagnosis-title-label"},"Diagnoses",-1)),C4={key:0,class:"diagnosis-editable"},S4={class:"diagnosis-searchbox"},x4={key:0,class:"diagnosis-suggestion"},_4=["onClick"],I4=mi(()=>t.createElementVNode("br",null,null,-1)),k4={key:1,class:"diagnosis-list"},M4={class:"diagnosis-item"},A4={class:"diagnosis-item-code"},T4={class:"diagnosis-item-comment"},N4={key:0},v4={key:6},B4=mi(()=>t.createElementVNode("div",{class:"vital-sign-title"},[t.createElementVNode("div",{class:"label vital-sign-title-label"},"Vital Signs")],-1)),D4={class:"vital-sign-box"},L4={class:"vital-sign-block"},O4={class:"vital-sign-item"},R4={class:"vital-sign-item-title"},V4={key:0},z4={class:"vital-sign-item"},P4={class:"vital-sign-item-title"},$4={key:0},F4={class:"vital-sign-block"},j4={class:"vital-sign-item"},U4={class:"vital-sign-item-title"},H4={key:0},W4={class:"vital-sign-item"},Y4={class:"vital-sign-item-title"},G4={key:0},K4={class:"vital-sign-box"},q4={class:"vital-sign-block"},Q4={class:"vital-sign-item"},Z4={class:"vital-sign-item-title"},X4={key:0},J4={class:"vital-sign-item"},ek={class:"vital-sign-item-title"},tk={key:0},nk={class:"vital-sign-block"},rk={class:"vital-sign-item"},ok={class:"vital-sign-item-title"},ik={key:0},ak={class:"vital-sign-item"},sk={class:"vital-sign-item-title"},lk={key:0},ck={key:7},uk={class:"label default-label"},fk={key:1,class:"default-textarea-block"},dk=["src","onClick"],pk={key:1},hk={key:0,class:"text"},Yl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsSAAALEgHS3X78AAAAV0lEQVRYR+3SsQ0AMAgEMdh/aYZwQ3HpT0LO7zx/+/y+6UD9oQQTVAHt22CCKqB9G0xQBbRvgwmqgPZtMEEV0L4NJqgC2rfBBFVA+zaYoApo3wYTVAHtDxz6ACmSkz/0AAAAAElFTkSuQmCC",mk=t.defineComponent({__name:"RecursiveComponent",props:{formData:{type:Object,require:!0},node:{type:Array,required:!0},otherData:{type:Object,required:!0},otherTableInfo:{type:Object,required:!0},isEditable:{type:Boolean,default:!0},editability:{type:Object,default:{provider:!0,patient:!0,attorney:!0}}},setup(e){t.useCssVars(pe=>({"6595e9f3":t.unref(r).fullWidth,"9d9b8f66":t.unref(r).defaultStyle.marginTop,"36b11dbf":t.unref(r).alignItems,"1a3a3a31":t.unref(r).text,"5752883f":t.unref(r).lineHeight,"5b4c7ed0":t.unref(r).atBlockWidth,"3dab7bf0":t.unref(r).doubleLineHeight,"04f63cbe":t.unref(r).defaultStyle.paddingTop,cc64dc84:t.unref(r).defaultStyle.paddingLeft,"73a6d0ea":t.unref(r).DateAndTime.width,"544ac98c":t.unref(r).signature.width,"1b3f6e21":t.unref(r).signature.height,"1662d821":t.unref(r).signature.label.top,"039476db":t.unref(r).signature.label.height,"0934c192":t.unref(r).signature.label.width,"94173a8a":t.unref(r).signature.label.left,"7511080f":t.unref(r).defaultStyle.marginLeft,"7514d185":t.unref(r).defaultStyle.marginTop2,"5e55c804":t.unref(r).tableMinWidth,"739affa7":t.unref(r).diagnosis.titleFontSize,"326631e3":t.unref(r).diagnosis.buttonFontSize,"664dfe9f":t.unref(r).vitalSign.titleFontSize,e7d2853c:t.unref(r).vitalSign.blockWidth,"5778eb93":t.unref(r).vitalSign.title2FontSize,"90e5af06":t.unref(r).vitalSign.unitFontSize}));let r;const o=t.ref(hi());o.value?r=t.reactive(p_):r=t.reactive(Cp);const l=_s().getCalendarPciker(),u=Is().getSignaturePad(),m=ks().getImageEditor(),y=Ms().getRecommendDiagnosis(),w=t.reactive({code:"",description:"",comment:"",searchResult:Array()}),b=new Set(["header1","header2","header3","header4","header5"]),M=new Set([...Array.from(b)]),E=new Set([...Array.from(b),"paragraph","divider"]),S=new Set(["table","table-row","table-cell"]),N=new Set(["atblock","sharpblock","image",...Array.from(S)]);[...Array.from(E),...Array.from(N)];const k=new Set(["DateOrDateOfService","SignersName","SignersSpecialty","SignersLicNumber","SignersNpiNumber","SignersDeaNumber","SignersEmail","FaxNumber","FacilityMainNumber","FacilityAddressInfo"]),A=pe=>{pe=pe.replace(/#/,"");const ae=pe.split(OI);return{required:ae[0].endsWith("*"),type:ae[0].replace("*","").replace("$",""),title:ae[1],placeholder:ae[2]}},B=pe=>{const ae=pe.split(RI);ae.shift(),ae.pop();const he={};let Ce=ae.length;for(let xe=0;xe<Ce/2;xe++)he[ae[2*xe]]=ae[2*xe+1]==="checked";return he},H=e,D=t.reactive(H.formData),W=pe=>DI.test(pe)?"textSharp":LI.test(pe)?"choiceSharp":pe==="#Signature"||pe==="#Provider Signature"?"providerSignature":pe==="#Patient/Guardian Signature"?"patientSignature":pe==="#Attorney Signature"?"attorneySignature":"default",Y=/[^\w ]/g,te=pe=>{const ae=pe.replace(Y," ").split(/ /);let he="";return ae.forEach(Ce=>{Ce!==""&&(Ce=Ce.toLowerCase(),Ce=Ce.replace(Ce[0],Ce[0].toUpperCase()),he+=Ce)}),he},K=pe=>{switch(pe){case"Diagnosis":return"Diagnosis";case"Vital Sign":return"Vital Sign";default:return"default"}},q=(pe,ae)=>{const he=D[pe].valueList.filter(Ce=>Ce.key===ae);return(he==null?void 0:he[0])||null},X=(pe,ae)=>{var Ce;((Ce=q(pe,ae))==null?void 0:Ce.value)===D[pe].dataList[ae].value?D[pe].valueList=D[pe].valueList.filter(xe=>xe.key!==ae):D[pe].valueList.push({key:ae,value:D[pe].dataList[ae].value})},se=pe=>{l.open({formData:D,dataKey:pe})},ye=(pe,ae,he,Ce=!1)=>{u.open({dataKey:pe,formData:D,value:ae,type:he,isGuardian:Ce})},le=pe=>{f_.prompt("Title Text","Signature",{confirmButtonText:"Confirm",cancelButtonText:"Cancel",cancelButtonClass:"cancel-btn"}).then(({value:ae})=>{ae&&Rn.set(D,pe,ae)})},L=({isHeader:pe,textAlign:ae})=>{let he=pe?"#f5f2f0":"#ffffff",Ce=pe?"600":"normal",xe=pe?"center":"start",Le=pe?"center":"start";return xe=ae||xe,Le=ae||Le,`
52
52
  justify-content: ${Le};
53
53
  background-color: ${he};
54
54
  text-align: ${xe};
@@ -71,7 +71,7 @@ function print() { __p += __j.call(arguments, '') }
71
71
  `)},t.toDisplayString(D[j.key][Ge][Ue]),5))],6))),256))],6))),256))],6)):t.createCommentVNode("",!0),j.type==="image"?(t.openBlock(),t.createElementBlock("img",{key:5,class:t.normalizeClass(j.type),style:t.normalizeStyle(j.style?`
72
72
  width: ${j.style.width};
73
73
  height: ${j.style.height};
74
- `:""),src:e.otherData[j.alt]?e.otherData[j.alt]:j.src,onClick:fe=>R(j.alt,e.otherData[j.alt]?e.otherData[j.alt]:j.src,j.href==="markable"||j.href==="markeable")},null,14,dk)):t.createCommentVNode("",!0),j.type==="divider"?(t.openBlock(),t.createElementBlock("hr",{key:6,class:t.normalizeClass(j.type)},null,2)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),"text"in j?(t.openBlock(),t.createElementBlock("div",pk,[j.text?(t.openBlock(),t.createElementBlock("div",hk,t.toDisplayString(j.text),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]))),256))])}}}),gi=(e,r)=>{const o=e.__vccOpts||e;for(const[a,l]of r)o[a]=l;return o},Gl=gi(mk,[["__scopeId","data-v-03827b59"]]),oh="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='21'%20height='21'%20viewBox='0%200%2021%2021'%3e%3cpath%20id='calendarCancel'%20d='M28.5,9.615,26.385,7.5,18,15.885,9.615,7.5,7.5,9.615,15.885,18,7.5,26.385,9.615,28.5,18,20.115,26.385,28.5,28.5,26.385,20.115,18Z'%20transform='translate(-7.5%20-7.5)'/%3e%3c/svg%3e",gk={class:"calendar_box"},yk={class:"date"},bk={class:"calendar_chioce"},wk=gi(t.defineComponent({__name:"CalendarPicker",setup(e){t.useCssVars(N=>({"97c49548":S.width,"946c075e":S.height,"75aa366b":S.top,"3f98cdb1":S.left}));const r=t.ref(hi()),o=t.ref(null),a=t.ref(),c=_s().getCalendarPciker(),u=N=>{a.value&&a.value.selectDate(N)},f=t.reactive({status:!1,value:new Date}),m=N=>N.startsWith("0")?parseInt(N).toString():N,g=()=>{c.close()},y=N=>{N.target===o.value&&c.close()},w=N=>{const k=N.getMonth()+1,A=N.getDate(),B=N.getFullYear(),H=k>=10?`${k}`:`0${k}`,D=A>=10?`${A}`:`0${A}`;return`${H}/${D}/${B}`},b=N=>{if(/(0[1-9]|1[0-2])\/(0[1-9]|[1-2][0-9]|3[0-1])\/[0-9]{4}/.test(N)){const k=N.split("/"),A=parseInt(k[0])-1,B=parseInt(k[1]),H=parseInt(k[2]);return new Date(H,A,B)}else throw Error("The string format error!")},M=()=>{Rn.set(c.options.formData,c.options.dataKey,w(f.value)),g()},E=()=>{g()},S=t.reactive({top:"",left:"",width:"",height:""});return t.onMounted(()=>{if(a.value){const A=Rn.get(c.options.formData,c.options.dataKey);if(A){const B=b(A);f.value=B}}const k=vr().getDocumentTemplate();r.value?(S.top="0",S.left="0",S.width="100vw",S.height="100vh"):k.relatedDom?(S.top=`${k.relatedDom.offsetTop}px`,S.left=`${k.relatedDom.offsetLeft}px`,S.width=`${k.relatedDom.clientWidth}px`,S.height=`${k.relatedDom.clientHeight}px`):(S.top="0",S.left="0",S.width="100vw",S.height="100vh")}),(N,k)=>{const A=br,B=Kd,H=vS;return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("div",{ref_key:"pickerView",ref:o,class:t.normalizeClass(r.value?"calendar_view calendar_view-mobile":"calendar_view calendar_view-ps"),onClick:y},[t.createElementVNode("div",gk,[t.createElementVNode("div",{class:"calendar_close"},[t.createElementVNode("img",{class:"image-editor-close_icon",src:oh,onClick:g})]),t.createVNode(H,{ref_key:"calendar",ref:a,modelValue:f.value,"onUpdate:modelValue":k[5]||(k[5]=D=>f.value=D),class:"calendar"},{header:t.withCtx(({date:D})=>[t.createVNode(B,null,{default:t.withCtx(()=>[t.createVNode(A,{size:"small",onClick:k[0]||(k[0]=W=>u("prev-year"))},{default:t.withCtx(()=>[t.createTextVNode(" << ")]),_:1}),t.createVNode(A,{size:"small",onClick:k[1]||(k[1]=W=>u("prev-month"))},{default:t.withCtx(()=>[t.createTextVNode(" < ")]),_:1})]),_:1}),t.createElementVNode("span",null,t.toDisplayString(D),1),t.createVNode(B,null,{default:t.withCtx(()=>[t.createVNode(A,{size:"small",onClick:k[2]||(k[2]=W=>u("today"))},{default:t.withCtx(()=>[t.createTextVNode("Today")]),_:1}),t.createVNode(A,{size:"small",onClick:k[3]||(k[3]=W=>u("next-month"))},{default:t.withCtx(()=>[t.createTextVNode(" > ")]),_:1}),t.createVNode(A,{size:"small",onClick:k[4]||(k[4]=W=>u("next-year"))},{default:t.withCtx(()=>[t.createTextVNode(" >> ")]),_:1})]),_:1})]),"date-cell":t.withCtx(({data:D})=>[t.createElementVNode("div",yk,[t.createElementVNode("p",{class:t.normalizeClass(D.isSelected?"is-selected":"")},t.toDisplayString(m(D.day.split("-")[2])),3)])]),_:1},8,["modelValue"]),t.createElementVNode("div",bk,[t.createVNode(A,{class:"calendar_chioce_button calendar_cancel",onClick:E},{default:t.withCtx(()=>[t.createTextVNode("Cancel")]),_:1}),t.createVNode(A,{class:"calendar_chioce_button calendar_confirm",onClick:M},{default:t.withCtx(()=>[t.createTextVNode("Confirm")]),_:1})])])],2)])}}}),[["__scopeId","data-v-31c0f145"]]);var Ia={exports:{}};/*! https://mths.be/base64 v1.0.0 by @mathias | MIT license */Ia.exports,function(e,r){(function(o){var a=r,l=e&&e.exports==a&&e,c=typeof On=="object"&&On;(c.global===c||c.window===c)&&(o=c);var u=function(E){this.message=E};u.prototype=new Error,u.prototype.name="InvalidCharacterError";var f=function(E){throw new u(E)},m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=/[\t\n\f\r ]/g,y=function(E){E=String(E).replace(g,"");var S=E.length;S%4==0&&(E=E.replace(/==?$/,""),S=E.length),(S%4==1||/[^+a-zA-Z0-9/]/.test(E))&&f("Invalid character: the string to be decoded is not correctly encoded.");for(var N=0,k,A,B="",H=-1;++H<S;)A=m.indexOf(E.charAt(H)),k=N%4?k*64+A:A,N++%4&&(B+=String.fromCharCode(255&k>>(-2*N&6)));return B},w=function(E){E=String(E),/[^\0-\xFF]/.test(E)&&f("The string to be encoded contains characters outside of the Latin1 range.");for(var S=E.length%3,N="",k=-1,A,B,H,D,W=E.length-S;++k<W;)A=E.charCodeAt(k)<<16,B=E.charCodeAt(++k)<<8,H=E.charCodeAt(++k),D=A+B+H,N+=m.charAt(D>>18&63)+m.charAt(D>>12&63)+m.charAt(D>>6&63)+m.charAt(D&63);return S==2?(A=E.charCodeAt(k)<<8,B=E.charCodeAt(++k),D=A+B,N+=m.charAt(D>>10)+m.charAt(D>>4&63)+m.charAt(D<<2&63)+"="):S==1&&(D=E.charCodeAt(k),N+=m.charAt(D>>2)+m.charAt(D<<4&63)+"=="),N},b={encode:w,decode:y,version:"1.0.0"};if(a&&!a.nodeType)if(l)l.exports=b;else for(var M in b)b.hasOwnProperty(M)&&(a[M]=b[M]);else o.base64=b})(On)}(Ia,Ia.exports),Ia.exports;var ih={},ka={};ka.byteLength=Sk,ka.toByteArray=_k,ka.fromByteArray=Mk;for(var Vn=[],un=[],Ek=typeof Uint8Array<"u"?Uint8Array:Array,Kl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Mo=0,Ck=Kl.length;Mo<Ck;++Mo)Vn[Mo]=Kl[Mo],un[Kl.charCodeAt(Mo)]=Mo;un[45]=62,un[95]=63;function ah(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var o=e.indexOf("=");o===-1&&(o=r);var a=o===r?0:4-o%4;return[o,a]}function Sk(e){var r=ah(e),o=r[0],a=r[1];return(o+a)*3/4-a}function xk(e,r,o){return(r+o)*3/4-o}function _k(e){var r,o=ah(e),a=o[0],l=o[1],c=new Ek(xk(e,a,l)),u=0,f=l>0?a-4:a,m;for(m=0;m<f;m+=4)r=un[e.charCodeAt(m)]<<18|un[e.charCodeAt(m+1)]<<12|un[e.charCodeAt(m+2)]<<6|un[e.charCodeAt(m+3)],c[u++]=r>>16&255,c[u++]=r>>8&255,c[u++]=r&255;return l===2&&(r=un[e.charCodeAt(m)]<<2|un[e.charCodeAt(m+1)]>>4,c[u++]=r&255),l===1&&(r=un[e.charCodeAt(m)]<<10|un[e.charCodeAt(m+1)]<<4|un[e.charCodeAt(m+2)]>>2,c[u++]=r>>8&255,c[u++]=r&255),c}function Ik(e){return Vn[e>>18&63]+Vn[e>>12&63]+Vn[e>>6&63]+Vn[e&63]}function kk(e,r,o){for(var a,l=[],c=r;c<o;c+=3)a=(e[c]<<16&16711680)+(e[c+1]<<8&65280)+(e[c+2]&255),l.push(Ik(a));return l.join("")}function Mk(e){for(var r,o=e.length,a=o%3,l=[],c=16383,u=0,f=o-a;u<f;u+=c)l.push(kk(e,u,u+c>f?f:u+c));return a===1?(r=e[o-1],l.push(Vn[r>>2]+Vn[r<<4&63]+"==")):a===2&&(r=(e[o-2]<<8)+e[o-1],l.push(Vn[r>>10]+Vn[r>>4&63]+Vn[r<<2&63]+"=")),l.join("")}var ql={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ql.read=function(e,r,o,a,l){var c,u,f=l*8-a-1,m=(1<<f)-1,g=m>>1,y=-7,w=o?l-1:0,b=o?-1:1,M=e[r+w];for(w+=b,c=M&(1<<-y)-1,M>>=-y,y+=f;y>0;c=c*256+e[r+w],w+=b,y-=8);for(u=c&(1<<-y)-1,c>>=-y,y+=a;y>0;u=u*256+e[r+w],w+=b,y-=8);if(c===0)c=1-g;else{if(c===m)return u?NaN:(M?-1:1)*(1/0);u=u+Math.pow(2,a),c=c-g}return(M?-1:1)*u*Math.pow(2,c-a)},ql.write=function(e,r,o,a,l,c){var u,f,m,g=c*8-l-1,y=(1<<g)-1,w=y>>1,b=l===23?Math.pow(2,-24)-Math.pow(2,-77):0,M=a?0:c-1,E=a?1:-1,S=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=y):(u=Math.floor(Math.log(r)/Math.LN2),r*(m=Math.pow(2,-u))<1&&(u--,m*=2),u+w>=1?r+=b/m:r+=b*Math.pow(2,1-w),r*m>=2&&(u++,m/=2),u+w>=y?(f=0,u=y):u+w>=1?(f=(r*m-1)*Math.pow(2,l),u=u+w):(f=r*Math.pow(2,w-1)*Math.pow(2,l),u=0));l>=8;e[o+M]=f&255,M+=E,f/=256,l-=8);for(u=u<<l|f,g+=l;g>0;e[o+M]=u&255,M+=E,u/=256,g-=8);e[o+M-E]|=S*128};/*!
74
+ `:""),src:e.otherData[j.alt]?e.otherData[j.alt]:j.src,onClick:fe=>R(j.alt,e.otherData[j.alt]?e.otherData[j.alt]:j.src,j.href==="markable"||j.href==="markeable")},null,14,dk)):t.createCommentVNode("",!0),j.type==="divider"?(t.openBlock(),t.createElementBlock("hr",{key:6,class:t.normalizeClass(j.type)},null,2)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),"text"in j?(t.openBlock(),t.createElementBlock("div",pk,[j.text?(t.openBlock(),t.createElementBlock("div",hk,t.toDisplayString(j.text),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]))),256))])}}}),gi=(e,r)=>{const o=e.__vccOpts||e;for(const[a,l]of r)o[a]=l;return o},Gl=gi(mk,[["__scopeId","data-v-72a3de84"]]),oh="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='21'%20height='21'%20viewBox='0%200%2021%2021'%3e%3cpath%20id='calendarCancel'%20d='M28.5,9.615,26.385,7.5,18,15.885,9.615,7.5,7.5,9.615,15.885,18,7.5,26.385,9.615,28.5,18,20.115,26.385,28.5,28.5,26.385,20.115,18Z'%20transform='translate(-7.5%20-7.5)'/%3e%3c/svg%3e",gk={class:"calendar_box"},yk={class:"date"},bk={class:"calendar_chioce"},wk=gi(t.defineComponent({__name:"CalendarPicker",setup(e){t.useCssVars(N=>({"97c49548":S.width,"946c075e":S.height,"75aa366b":S.top,"3f98cdb1":S.left}));const r=t.ref(hi()),o=t.ref(null),a=t.ref(),c=_s().getCalendarPciker(),u=N=>{a.value&&a.value.selectDate(N)},f=t.reactive({status:!1,value:new Date}),m=N=>N.startsWith("0")?parseInt(N).toString():N,g=()=>{c.close()},y=N=>{N.target===o.value&&c.close()},w=N=>{const k=N.getMonth()+1,A=N.getDate(),B=N.getFullYear(),H=k>=10?`${k}`:`0${k}`,D=A>=10?`${A}`:`0${A}`;return`${H}/${D}/${B}`},b=N=>{if(/(0[1-9]|1[0-2])\/(0[1-9]|[1-2][0-9]|3[0-1])\/[0-9]{4}/.test(N)){const k=N.split("/"),A=parseInt(k[0])-1,B=parseInt(k[1]),H=parseInt(k[2]);return new Date(H,A,B)}else throw Error("The string format error!")},M=()=>{Rn.set(c.options.formData,c.options.dataKey,w(f.value)),g()},E=()=>{g()},S=t.reactive({top:"",left:"",width:"",height:""});return t.onMounted(()=>{if(a.value){const A=Rn.get(c.options.formData,c.options.dataKey);if(A){const B=b(A);f.value=B}}const k=vr().getDocumentTemplate();r.value?(S.top="0",S.left="0",S.width="100vw",S.height="100vh"):k.relatedDom?(S.top=`${k.relatedDom.offsetTop}px`,S.left=`${k.relatedDom.offsetLeft}px`,S.width=`${k.relatedDom.clientWidth}px`,S.height=`${k.relatedDom.clientHeight}px`):(S.top="0",S.left="0",S.width="100vw",S.height="100vh")}),(N,k)=>{const A=br,B=Kd,H=vS;return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("div",{ref_key:"pickerView",ref:o,class:t.normalizeClass(r.value?"calendar_view calendar_view-mobile":"calendar_view calendar_view-ps"),onClick:y},[t.createElementVNode("div",gk,[t.createElementVNode("div",{class:"calendar_close"},[t.createElementVNode("img",{class:"image-editor-close_icon",src:oh,onClick:g})]),t.createVNode(H,{ref_key:"calendar",ref:a,modelValue:f.value,"onUpdate:modelValue":k[5]||(k[5]=D=>f.value=D),class:"calendar"},{header:t.withCtx(({date:D})=>[t.createVNode(B,null,{default:t.withCtx(()=>[t.createVNode(A,{size:"small",onClick:k[0]||(k[0]=W=>u("prev-year"))},{default:t.withCtx(()=>[t.createTextVNode(" << ")]),_:1}),t.createVNode(A,{size:"small",onClick:k[1]||(k[1]=W=>u("prev-month"))},{default:t.withCtx(()=>[t.createTextVNode(" < ")]),_:1})]),_:1}),t.createElementVNode("span",null,t.toDisplayString(D),1),t.createVNode(B,null,{default:t.withCtx(()=>[t.createVNode(A,{size:"small",onClick:k[2]||(k[2]=W=>u("today"))},{default:t.withCtx(()=>[t.createTextVNode("Today")]),_:1}),t.createVNode(A,{size:"small",onClick:k[3]||(k[3]=W=>u("next-month"))},{default:t.withCtx(()=>[t.createTextVNode(" > ")]),_:1}),t.createVNode(A,{size:"small",onClick:k[4]||(k[4]=W=>u("next-year"))},{default:t.withCtx(()=>[t.createTextVNode(" >> ")]),_:1})]),_:1})]),"date-cell":t.withCtx(({data:D})=>[t.createElementVNode("div",yk,[t.createElementVNode("p",{class:t.normalizeClass(D.isSelected?"is-selected":"")},t.toDisplayString(m(D.day.split("-")[2])),3)])]),_:1},8,["modelValue"]),t.createElementVNode("div",bk,[t.createVNode(A,{class:"calendar_chioce_button calendar_cancel",onClick:E},{default:t.withCtx(()=>[t.createTextVNode("Cancel")]),_:1}),t.createVNode(A,{class:"calendar_chioce_button calendar_confirm",onClick:M},{default:t.withCtx(()=>[t.createTextVNode("Confirm")]),_:1})])])],2)])}}}),[["__scopeId","data-v-31c0f145"]]);var Ia={exports:{}};/*! https://mths.be/base64 v1.0.0 by @mathias | MIT license */Ia.exports,function(e,r){(function(o){var a=r,l=e&&e.exports==a&&e,c=typeof On=="object"&&On;(c.global===c||c.window===c)&&(o=c);var u=function(E){this.message=E};u.prototype=new Error,u.prototype.name="InvalidCharacterError";var f=function(E){throw new u(E)},m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=/[\t\n\f\r ]/g,y=function(E){E=String(E).replace(g,"");var S=E.length;S%4==0&&(E=E.replace(/==?$/,""),S=E.length),(S%4==1||/[^+a-zA-Z0-9/]/.test(E))&&f("Invalid character: the string to be decoded is not correctly encoded.");for(var N=0,k,A,B="",H=-1;++H<S;)A=m.indexOf(E.charAt(H)),k=N%4?k*64+A:A,N++%4&&(B+=String.fromCharCode(255&k>>(-2*N&6)));return B},w=function(E){E=String(E),/[^\0-\xFF]/.test(E)&&f("The string to be encoded contains characters outside of the Latin1 range.");for(var S=E.length%3,N="",k=-1,A,B,H,D,W=E.length-S;++k<W;)A=E.charCodeAt(k)<<16,B=E.charCodeAt(++k)<<8,H=E.charCodeAt(++k),D=A+B+H,N+=m.charAt(D>>18&63)+m.charAt(D>>12&63)+m.charAt(D>>6&63)+m.charAt(D&63);return S==2?(A=E.charCodeAt(k)<<8,B=E.charCodeAt(++k),D=A+B,N+=m.charAt(D>>10)+m.charAt(D>>4&63)+m.charAt(D<<2&63)+"="):S==1&&(D=E.charCodeAt(k),N+=m.charAt(D>>2)+m.charAt(D<<4&63)+"=="),N},b={encode:w,decode:y,version:"1.0.0"};if(a&&!a.nodeType)if(l)l.exports=b;else for(var M in b)b.hasOwnProperty(M)&&(a[M]=b[M]);else o.base64=b})(On)}(Ia,Ia.exports),Ia.exports;var ih={},ka={};ka.byteLength=Sk,ka.toByteArray=_k,ka.fromByteArray=Mk;for(var Vn=[],un=[],Ek=typeof Uint8Array<"u"?Uint8Array:Array,Kl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Mo=0,Ck=Kl.length;Mo<Ck;++Mo)Vn[Mo]=Kl[Mo],un[Kl.charCodeAt(Mo)]=Mo;un[45]=62,un[95]=63;function ah(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var o=e.indexOf("=");o===-1&&(o=r);var a=o===r?0:4-o%4;return[o,a]}function Sk(e){var r=ah(e),o=r[0],a=r[1];return(o+a)*3/4-a}function xk(e,r,o){return(r+o)*3/4-o}function _k(e){var r,o=ah(e),a=o[0],l=o[1],c=new Ek(xk(e,a,l)),u=0,f=l>0?a-4:a,m;for(m=0;m<f;m+=4)r=un[e.charCodeAt(m)]<<18|un[e.charCodeAt(m+1)]<<12|un[e.charCodeAt(m+2)]<<6|un[e.charCodeAt(m+3)],c[u++]=r>>16&255,c[u++]=r>>8&255,c[u++]=r&255;return l===2&&(r=un[e.charCodeAt(m)]<<2|un[e.charCodeAt(m+1)]>>4,c[u++]=r&255),l===1&&(r=un[e.charCodeAt(m)]<<10|un[e.charCodeAt(m+1)]<<4|un[e.charCodeAt(m+2)]>>2,c[u++]=r>>8&255,c[u++]=r&255),c}function Ik(e){return Vn[e>>18&63]+Vn[e>>12&63]+Vn[e>>6&63]+Vn[e&63]}function kk(e,r,o){for(var a,l=[],c=r;c<o;c+=3)a=(e[c]<<16&16711680)+(e[c+1]<<8&65280)+(e[c+2]&255),l.push(Ik(a));return l.join("")}function Mk(e){for(var r,o=e.length,a=o%3,l=[],c=16383,u=0,f=o-a;u<f;u+=c)l.push(kk(e,u,u+c>f?f:u+c));return a===1?(r=e[o-1],l.push(Vn[r>>2]+Vn[r<<4&63]+"==")):a===2&&(r=(e[o-2]<<8)+e[o-1],l.push(Vn[r>>10]+Vn[r>>4&63]+Vn[r<<2&63]+"=")),l.join("")}var ql={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ql.read=function(e,r,o,a,l){var c,u,f=l*8-a-1,m=(1<<f)-1,g=m>>1,y=-7,w=o?l-1:0,b=o?-1:1,M=e[r+w];for(w+=b,c=M&(1<<-y)-1,M>>=-y,y+=f;y>0;c=c*256+e[r+w],w+=b,y-=8);for(u=c&(1<<-y)-1,c>>=-y,y+=a;y>0;u=u*256+e[r+w],w+=b,y-=8);if(c===0)c=1-g;else{if(c===m)return u?NaN:(M?-1:1)*(1/0);u=u+Math.pow(2,a),c=c-g}return(M?-1:1)*u*Math.pow(2,c-a)},ql.write=function(e,r,o,a,l,c){var u,f,m,g=c*8-l-1,y=(1<<g)-1,w=y>>1,b=l===23?Math.pow(2,-24)-Math.pow(2,-77):0,M=a?0:c-1,E=a?1:-1,S=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=y):(u=Math.floor(Math.log(r)/Math.LN2),r*(m=Math.pow(2,-u))<1&&(u--,m*=2),u+w>=1?r+=b/m:r+=b*Math.pow(2,1-w),r*m>=2&&(u++,m/=2),u+w>=y?(f=0,u=y):u+w>=1?(f=(r*m-1)*Math.pow(2,l),u=u+w):(f=r*Math.pow(2,w-1)*Math.pow(2,l),u=0));l>=8;e[o+M]=f&255,M+=E,f/=256,l-=8);for(u=u<<l|f,g+=l;g>0;e[o+M]=u&255,M+=E,u/=256,g-=8);e[o+M-E]|=S*128};/*!
75
75
  * The buffer module from node.js, for the browser.
76
76
  *
77
77
  * @author Feross Aboukhadijeh <https://feross.org>