1"use strict";(self.rspackChunkvagaro_websitebuilder_consumer=self.rspackChunkvagaro_websitebuilder_consumer||[]).push([[1415],{90653(e,t,r){r.d(t,{A:()=>a});let a=class{dbName;version;schema;db;constructor(e,t=1,r=[]){this.dbName=e,this.version=t,this.schema=r,this.db=null}async init(e=null,t=null){try{return await new Promise((r,a)=>{let n=indexedDB.open(this.dbName,this.version);n.onerror=e=>{let r=`Failed to open DB "${this.dbName}": ${e.target.error?.message}`;"function"==typeof t&&t(r,e),a(r)},n.onsuccess=t=>{this.db=t.target.result,"function"==typeof e&&e(this.db),r(this.db)},n.onupgradeneeded=e=>{let t=e.target.result;for(let{storeName:e,keyPath:r,autoIncrement:a=!1,indexes:n=[]}of this.schema)if(e&&r&&!t.objectStoreNames.contains(e)){let l=t.createObjectStore(e,{keyPath:r,autoIncrement:a});n.forEach(({name:e,keyPath:t,options:r})=>{e&&t&&l.createIndex(e,t,r||{})})}}})}catch(e){throw"function"==typeof t&&t(e instanceof Error?e.message:String(e)),e}}async getStore(e,t="readonly"){if(!e)throw Error("Store name must be provided.");if(this.db||await this.init(),!this.db||!this.db.objectStoreNames.contains(e))throw Error(`Object store "${e}" not found in database "${this.dbName}".`);return this.db.transaction(e,t).objectStore(e)}
1async addOrUpdate(e,t){try{let r=await this.getStore(e,"readwrite");return await new Promise((e,a)=>{let n=r.put(t);n.onsuccess=()=>e(!0),n.onerror=()=>{a(n.error)}})}catch(e){throw e}}async delete(e,t){try{let r=await this.getStore(e,"readwrite");return await new Promise((e,a)=>{let n=r.delete(t);n.onsuccess=()=>e(!0),n.onerror=()=>{a(n.error)}})}catch(e){throw e}}async getAll(e){try{let t=await this.getStore(e);return await new Promise((e,r)=>{let a=t.getAll();a.onsuccess=()=>e(a.result),a.onerror=()=>{r(a.error)}})}catch(e){throw e}}async getByKey(e,t){try{let r=await this.getStore(e);return await new Promise((e,a)=>{let n=r.get(t);n.onsuccess=()=>e(n.result),n.onerror=()=>{a(n.error)}})}catch(e){throw e}}async deleteDatabase(){try{return await new Promise((e,t)=>{let r=indexedDB.deleteDatabase(this.dbName);r.onsuccess=()=>e(!0),r.onerror=()=>{t(r.error)}})}catch(e){throw e}}async clearStore(e){try{let t=await this.getStore(e,"readwrite");return await new Promise((e,r)=>{let a=t.clear();a.onsuccess=()=>e(!0),a.onerror=()=>{r(a.error)}})}catch(e){throw e}}close(){this.db&&(this.db.close(),this.db=null)}}},79151(e,t,r){r.r(t),r.d(t,{default:()=>ez});var a=r(74848),n=r(96540),l=r(33403),s=r(98232),i=r(68566),o=r(90653),c=r(60067);let u=()=>new Promise((e,t)=>{let r=indexedDB.open("MerchantSearch",1);r.onupgradeneeded=e=>{let t=e.target.result;e.oldVersion,e.newVersion,t.objectStoreNames.contains("menu")&&t.deleteObjectStore("menu"),t.objectStoreNames.contains("recentMenu")&&t.deleteObjectStore("recentMenu"),t.objectStoreNames.contains("favoriteMenu")&&t.deleteObjectStore("favoriteMenu"),t.createObjectStore("menu",{keyPath:"Url"}).createIndex("keyword","keyword",{unique:!1}),t.createObjectStore("recentMenu",{keyPath:"Url"}),t.createObjectStore("favoriteMenu",{keyPath:"Url"})},r.onsuccess=()=>e(r.result),r.onerror=()=>t(r.error)}),d=async e=>{let t=await u();await Promise.all(["menu","favoriteMenu"].map(e=>new Promise(r=>{let a=t.transaction(e,"readwrite").objectStore(e).clear();a.onsuccess=()=>r(),a.onerror=()=>r()})));let r=t.transaction("menu","readwrite"),a=r.objectStore("menu");return e.forEach(e=>a.put(e)),new Promise((e,t)=>{r.oncomplete=()=>e(r),r.onerror=()=>t(r.error),r.onabort=()=>t(r.error)})},h=async e=>{if(!e)return null;let t=localStorage.getItem("searchDataEtag"),r=await fetch(e,{headers:t?{"If-None-Match":t}:{}});if(304===r.status)return null;if(!r.ok)throw Error("Failed to fetch search data");let a=await r.json(),n=r.headers.get("ETag");return n&&localStorage.setItem("searchDataEtag",n),a},p=async e=>{let t=(await u()).transaction("recentMenu","readwrite"),r=t.objectStore("recentMenu");await new Promise(t=>{let a=r.delete(e.Url);a.onsuccess=()=>t(),a.onerror=()=>t()});let a={...e,visitedAt:Date.now()};r.put(a);let n=await new Promise(e=>{let t=r.getAll();t.onsuccess=()=>e(t.result||[])});return n.length>5&&(n.sort((e,t)=>t.visitedAt-e.visitedAt),n.slice(5).forEach(e=>r.delete(e.Url))),new Promise((e,r)=>{t.oncomplete=()=>e(t),t.onerror=()=>r(t.error),t.onabort=()=>r(t.error)})},g=async()=>{let e=(await u()).transaction("favoriteMenu","readonly").objectStore("favoriteMenu");return new Promise(t=>{let r=e.getAll();r.onsuccess=()=>t(r.result||[])})},m=async()=>{let e=(await u()).transaction("menu","readonly").objectStore("menu");return new Promise(t=>{let r=e.getAll();r.onsuccess=()=>t(r.result||[])})},x=async e=>{let t=await u();if(!e||""===e.trim()||e.trim().length<3){let e=t.transaction("recentMenu","readonly").objectStore("recentMenu"),r=await new Promise(t=>{let r=e.getAll();r.onsuccess=()=>t(r.result||[])});r.sort((e,t)=>t.visitedAt-e.visitedAt);let a=r.slice(0,5);if(a.length>=5)return a;let n=(await g()).filter(e=>!a.some(t=>t.Url===e.Url)),l=Math.min(5-a.length,n.length),s=n.slice(0,l);return a.length+s.length,[...a,...s]}let r=t.transaction("menu","readonly").objectStore("menu"),a=e.toLowerCase().split(/\s+/).filter(Boolean);return new Promise(e=>{let t=[];r.openCursor().onsuccess=r=>{let n=r.target.result;if(n){let e=n.value,r=e.keyword.toLowerCase().split(/[|]/).map(e=>e.trim());a.every(e=>r.some(t=>
1t.includes(e)))&&t.push(e),n.continue()}else e(t)}})};function f(e){return Array.isArray?Array.isArray(e):"[object Array]"===w(e)}function b(e){return null==e?"":function(e){if("string"==typeof e)return e;if("bigint"==typeof e)return e.toString();let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}function v(e){return"string"==typeof e}function C(e){return"number"==typeof e}function y(e){return"object"==typeof e}function _(e){return null!=e}function k(e){return!e.trim().length}function w(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}let j="Invalid doc index: must be a non-negative integer within the bounds of the docs array",N=Object.prototype.hasOwnProperty;var S=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let r=M(e);this._keys.push(r),this._keyMap[r.id]=r,t+=r.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function M(e){let t=null,r=null,a=null,n=1,l=null;if(v(e)||f(e))a=e,t=I(e),r=L(e);else{if(!N.call(e,"name"))throw Error("Missing name property in key");let s=e.name;if(a=s,N.call(e,"weight")&&void 0!==e.weight&&(n=e.weight)<=0){let e;throw Error((e=L(s),`Property 'weight' in key '${e}' must be a positive integer`))}t=I(s),r=L(s),l=e.getFn??null}return{path:t,id:r,weight:n,src:a,getFn:l}}function I(e){return f(e)?e:e.split(".")}function L(e){return f(e)?e.join("."):e}let D=Object.freeze({isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:"any",getFn:function(e,t){let r=[],a=!1,n=(e,t,l,s)=>{if(_(e))if(t[l]){var i,o;let c=e[t[l]];if(!_(c))return;if(l===t.length-1&&(v(c)||C(c)||!0===(i=c)||!1===i||y(o=i)&&null!==o&&"[object Boolean]"==w(i)||"bigint"==typeof c))r.push(void 0!==s?{v:b(c),i:s}:b(c));else if(f(c)){a=!0;for(let e=0,r=c.length;e<r;e+=1)n(c[e],t,l+1,e)}else t.length&&n(c,t,l+1,s)}else r.push(void 0!==s?{v:e,i:s}:e)};return n(e,v(t)?t.split("."):t,0),a?r:r[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1});var P=class{constructor({getFn:e=D.getFn,fieldNormWeight:t=D.fieldNormWeight}={}){this.norm=function(e=1,t=3){let r=new Map,a=Math.pow(10,t);return{get(t){let n=0,l=!1;for(let e=0;e<t.length;e++){var s;(s=t.charCodeAt(e))>=9&&s<=13||32===s||160===s?l=!1:l||(n++,l=!0)}if(0===n&&(n=1),r.has(n))return r.get(n);let i=Math.round(a/Math.pow(n,.5*e))/a;return r.set(n,i),i},clear(){r.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){if(this.isCreated||!this.docs.length)return;this.isCreated=!0;let e=this.docs.length;this.records=Array(e);let t=0;if(v(this.docs[0]))for(let r=0;r<e;r++){let e=this._createStringRecord(this.docs[r],r);e&&(this.records[t++]=e)}else for(let r=0;r<e;r++)this.records[t++]=this._createObjectRecord(this.docs[r],r);this.records.length=t,this.norm.clear()}add(e,t){if(!Number.isInteger(t)||t<0)throw Error(j);if(v(e)){let r=this._createStringRecord(e,t);return r&&this.records.push(r),r}let r=this._createObjectRecord(e,t);return this.records.push(r),r}removeAt(e){if(!Number.isInteger(e)||e<0)throw Error(j);for(let t=0,r=this.records.length;t<r;t+=1)if(this.records[t].i===e){this.records.splice(t,1);break}for(let t=0,r=this.records.length;t<r;t+=1)this.records[t].i>e&&(this.records[t].i-=1)}removeAll(e){let t=new Set;for(let r of e)Number.isInteger(r)&&r>=0&&t.add(r);if(0===t.size)return;this.records=this.records.filter(e=>!t.has(e.i));let r=Array.from(t).sort((e,t)=>e-t);for(let e of this.records){let t=0,a=r.length;for(;t<a;){let n=t+a>>>1;r[n]<e.i?t=n+1:a=n}e.i-=t}}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_createStringRecord(e,t){return!_(e)||k(e)?null:{v:e,i:t,n:this.norm.get(e)}}_createObjectRecord(e,t){let r={i:t,$:{}};for(let t=0,a=this.keys.length;t<a;t++){let a=this.keys[t],n=a.getFn?a.getFn(e):this.getFn(e,a.path);if(_(n)){if(f(n)){let e=[];for(let t=0,r=n.length;t<r;t+=1){let r=n[t];if(_(r)){if(v(r)){if(!k(r)){let a={v:r,i:t,n:this.norm.get(r)};e.push(a)}}else if(_(r.v)){let t=v(r.v)?r.v:b(r.v);if(!k(t)){let a={v:t,i:r.i,n:this.norm.get(t)};e.push(a)}}}}r.$[t]=e}else if(v(n)&&!k(n)){let e={v:n,n:this.norm.get(n)};r.$[t]=e}}}return r}toJSON(){return{keys:this.keys.map(({getFn:e,...t})=>t),records:this.records}}};function T(e,t,{getFn:r=D.getFn,fieldNormWeight:a=D.fieldNormWeight}={}){let n=new P({getFn:r,fieldNormWeight:a});return n.setKeys(e.map(M)),n.setSources(t),n.create(),n}function V(e){if(e.length<=1)return e;e.sort((e,t)=>
1e[0]-t[0]||e[1]-t[1]);let t=[e[0]];for(let r=1,a=e.length;r<a;r+=1){let a=t[t.length-1],n=e[r];n[0]<=a[1]+1?a[1]=Math.max(a[1],n[1]):t.push(n)}return t}let B={Å:"l",Å:"L",Ä:"d",Ä:"D",ø:"o",Ã:"O",ħ:"h",Ħ:"H",ŧ:"t",Ŧ:"T",ı:"i",Ã:"ss"},A=RegExp("["+Object.keys(B).join("")+"]","g"),E="function"==typeof String.prototype.normalize?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"").replace(A,e=>B[e]):e=>e;var $=class{constructor(e,{location:t=D.location,threshold:r=D.threshold,distance:a=D.distance,includeMatches:n=D.includeMatches,findAllMatches:l=D.findAllMatches,minMatchCharLength:s=D.minMatchCharLength,isCaseSensitive:i=D.isCaseSensitive,ignoreDiacritics:o=D.ignoreDiacritics,ignoreLocation:c=D.ignoreLocation}={}){if(this.options={location:t,threshold:r,distance:a,includeMatches:n,findAllMatches:l,minMatchCharLength:s,isCaseSensitive:i,ignoreDiacritics:o,ignoreLocation:c},e=i?e:e.toLowerCase(),e=o?E(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const u=(e,t)=>{this.chunks.push({pattern:e,alphabet:function(e){let t={};for(let r=0,a=e.length;r<a;r+=1){let n=e.charAt(r);t[n]=(t[n]||0)|1<<a-r-1}return t}(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0;const t=d%32,r=d-t;for(;e<r;)u(this.pattern.substr(e,32),e),e+=32;if(t){const e=d-32;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:r,includeMatches:a}=this.options;if(e=t?e:e.toLowerCase(),e=r?E(e):e,this.pattern===e){if(e.length<this.options.minMatchCharLength)return{isMatch:!1,score:1};let t={isMatch:!0,score:0};return a&&(t.indices=[[0,e.length-1]]),t}let{location:n,distance:l,threshold:s,findAllMatches:i,minMatchCharLength:o,ignoreLocation:c}=this.options,u=[],d=0,h=!1;this.chunks.forEach(({pattern:t,alphabet:r,startIndex:p})=>{let{isMatch:g,score:m,indices:x}=function(e,t,r,{location:a=D.location,distance:n=D.distance,threshold:l=D.threshold,findAllMatches:s=D.findAllMatches,minMatchCharLength:i=D.minMatchCharLength,includeMatches:o=D.includeMatches,ignoreLocation:c=D.ignoreLocation}={}){let u;if(t.length>32)throw Error("Pattern length exceeds max of 32.");let d=t.length,h=e.length,p=Math.max(0,Math.min(a,h)),g=l,m=p,x=(e,t)=>{let r=e/d;if(c)return r;let a=Math.abs(p-t);return n?r+a/n:a?1:r},f=i>1||o,b=f?Array(h):[];for(;(u=e.indexOf(t,m))>-1;)if(g=Math.min(x(0,u),g),m=u+d,f){let e=0;for(;e<d;)b[u+e]=1,e+=1}m=-1;let v=[],C=1,y=0,_=d+h,k=1<<d-1;for(let t=0;t<d;t+=1){let a=0,n=_;for(;a<n;)x(t,p+n)<=g?a=n:_=n,n=Math.floor((_-a)/2+a);_=n;let l=Math.max(1,p-n+1),i=s?h:Math.min(p+n,h)+d,o=Array(i+2);o[i+1]=(1<<t)-1;for(let a=i;a>=l;a-=1){let n=a-1,s=r[e[n]];if(o[a]=(o[a+1]<<1|1)&s,t&&(o[a]|=(v[a+1]|v[a])<<1|1|v[a+1]),o[a]&k&&(C=x(t,n))<=g){if(g=C,m=n,y=t,m<=p)break;l=Math.max(1,2*p-m)}}if(x(t+1,p)>g)break;v=o}if(f&&m>=0){let t=Math.min(h-1,m+d-1+y);for(let a=m;a<=t;a+=1)r[e[a]]&&(b[a]=1)}let w={isMatch:m>
1=0,score:Math.max(.001,C)};if(f){let e=function(e=[],t=D.minMatchCharLength){let r=[],a=-1,n=-1,l=0;for(let s=e.length;l<s;l+=1){let s=e[l];s&&-1===a?a=l:s||-1===a||((n=l-1)-a+1>=t&&r.push([a,n]),a=-1)}return e[l-1]&&l-a>=t&&r.push([a,l-1]),r}(b,i);e.length?o&&(w.indices=e):w.isMatch=!1}return w}(e,t,r,{location:n+p,distance:l,threshold:s,findAllMatches:i,minMatchCharLength:o,includeMatches:a,ignoreLocation:c});g&&(h=!0),d+=m,g&&x&&u.push(...x)});let p={isMatch:h,score:h?d/this.chunks.length:1};return h&&a&&(p.indices=V(u)),p}};let z=new Set(["fuzzy","include"]),F=[{type:"exact",multiRegex:/^="(.*)"$/,singleRegex:/^=(.*)$/,create:e=>({type:"exact",search(t){let r=t===e;return{isMatch:r,score:+!r,indices:[0,e.length-1]}}})},{type:"include",multiRegex:/^'"(.*)"$/,singleRegex:/^'(.*)$/,create:e=>({type:"include",search(t){let r,a=0,n=[],l=e.length;for(;(r=t.indexOf(e,a))>-1;)a=r+l,n.push([r,a-1]);let s=!!n.length;return{isMatch:s,score:+!s,indices:n}}})},{type:"prefix-exact",multiRegex:/^\^"(.*)"$/,singleRegex:/^\^(.*)$/,create:e=>({type:"prefix-exact",search(t){let r=t.startsWith(e);return{isMatch:r,score:+!r,indices:[0,e.length-1]}}})},{type:"inverse-prefix-exact",multiRegex:/^!\^"(.*)"$/,singleRegex:/^!\^(.*)$/,create:e=>({type:"inverse-prefix-exact",search(t){let r=!t.startsWith(e);return{isMatch:r,score:+!r,indices:[0,t.length-1]}}})},{type:"inverse-suffix-exact",multiRegex:/^!"(.*)"\$$/,singleRegex:/^!(.*)\$$/,create:e=>({type:"inverse-suffix-exact",search(t){let r=!t.endsWith(e);return{isMatch:r,score:+!r,indices:[0,t.length-1]}}})},{type:"suffix-exact",multiRegex:/^"(.*)"\$$/,singleRegex:/^(.*)\$$/,create:e=>({type:"suffix-exact",search(t){let r=t.endsWith(e);return{isMatch:r,score:+!r,indices:[t.length-e.length,t.length-1]}}})},{type:"inverse-exact",multiRegex:/^!"(.*)"$/,singleRegex:/^!(.*)$/,create:e=>({type:"inverse-exact",search(t){let r=-1===t.indexOf(e);return{isMatch:r,score:+!r,indices:[0,t.length-1]}}})},{type:"fuzzy",multiRegex:/^"(.*)"$/,singleRegex:/^(.*)$/,create:(e,t={})=>{let r=new $(e,{location:t.location??D.location,threshold:t.threshold??D.threshold,distance:t.distance??D.distance,includeMatches:t.includeMatches??D.includeMatches,findAllMatches:t.findAllMatches??D.findAllMatches,minMatchCharLength:t.minMatchCharLength??D.minMatchCharLength,isCaseSensitive:t.isCaseSensitive??D.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics??D.ignoreDiacritics,ignoreLocation:t.ignoreLocation??D.ignoreLocation});return{type:"fuzzy",search:e=>r.searchIn(e)}}}],H=F.length;function R(e,t){let r=e.match(t);return r?r[1]:null}var O=class{constructor(e,{isCaseSensitive:t=D.isCaseSensitive,ignoreDiacritics:r=D.ignoreDiacritics,includeMatches:a=D.includeMatches,minMatchCharLength:n=D.minMatchCharLength,ignoreLocation:l=D.ignoreLocation,findAllMatches:s=D.findAllMatches,location:i=D.location,threshold:o=D.threshold,distance:c=D.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:r,includeMatches:a,minMatchCharLength:n,findAllMatches:s,ignoreLocation:l,location:i,threshold:o,distance:c},e=t?e:e.toLowerCase(),e=r?E(e):e,this.pattern=e,this.query=function(e,t={}){return e.replace(/\\\|/g,"\0").split("|").map(e=>{let r=(function(e){let t=[],r=e.length,a=0;for(;a<r;){for(;a<r&&" "===e[a];)a++;if(a>=r)break;let n=a;for(;n<r&&" "!==e[n]&&'"'!==e[n];)n++;if(n<r&&'"'===e[n]){for(n++;n<r;){if('"'===e[n]){let t=n+1;if(t>=r||" "===e[t]){n++;break}if("$"===e[t]&&(t+1>=r||" "===e[t+1])){n+=2;break}}n++}t.push(e.substring(a,n)),a=n}else{for(;n<r&&" "!==e[n];)n++;t.push(e.substring(a,n)),a=n}}return t})(e.replace(/\u0000/g,"|").trim()).filter(e=>e&&!!e.trim()),a=[];for(let e=0,n=r.length;e<n;e+=1){let n=r[e],l=!1,s=-1;for(;!l&&++s<H;){let e=F[s],r=R(n,e.multiRegex);r&&(a.push(e.create(r,t)),l=!0)}if(!l)for(s=-1;++s<H;){let e=F[s],r=R(n,e.singleRegex);if(r){a.push(e.create(r,t));break}}}return a})}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:r,isCaseSensitive:a,ignoreDiacritics:n}=this.options;e=a?e:e.toLowerCase(),e=n?E(e):e;let l=0,s=[],i=0,o=!1;for(let a=0,n=t.length;a<n;a+=1){let n=t[a];s.length=0,l=0,o=!1;for(let t=0,a=n.length;t<a;t+=1){let a=n[t],{isMatch:c,indices:u,score:d}=a.search(e);if(c)l+=1,i+=d,a.type.startsWith("inverse")&&(o=!0),r&&(z.has(a.type)?s.push(...u):s.push(u));else{i=0,l=0,s.length=0,o=!1;break}}
1if(l){let e={isMatch:!0,score:i/l};return o&&(e.hasInverse=!0),r&&(e.indices=V(s)),e}}return{isMatch:!1,score:1}}};let Z=[];function U(...e){Z.push(...e)}function W(e,t){for(let r=0,a=Z.length;r<a;r+=1){let a=Z[r];if(a.condition(e,t))return new a(e,t)}return new $(e,t)}let q="$and",G="$path",K=e=>!!(e[q]||e.$or),J=e=>({[q]:Object.keys(e).map(t=>({[t]:e[t]}))});function X(e,t,{auto:r=!0}={}){let a=e=>{if(v(e)){let a={keyId:null,pattern:e};return r&&(a.searcher=W(e,t)),a}let n=Object.keys(e),l=!!e[G];if(!l&&n.length>1&&!K(e))return a(J(e));if(!f(e)&&y(e)&&!K(e)){let a=l?e[G]:n[0],s=l?e.$val:e[a];if(!v(s))throw Error(`Invalid value for key ${a}`);let i={keyId:L(a),pattern:s};return r&&(i.searcher=W(s,t)),i}let s={children:[],operator:n[0]};return n.forEach(t=>{let r=e[t];f(r)&&r.forEach(e=>{s.children.push(a(e))})}),s};return K(e)||(e=J(e)),a(e)}function Q(e,{ignoreFieldNorm:t=D.ignoreFieldNorm}){let r=1;return e.forEach(({key:e,norm:a,score:n})=>{let l=e?e.weight:null;r*=Math.pow(0===n&&l?Number.EPSILON:n,(l||1)*(t?1:a))}),r}var Y=class{constructor(e,t){this.limit=e,this.heap=[],this.comparator=t}get size(){return this.heap.length}insert(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):0>this.comparator(e,this.heap[0])&&(this.heap[0]=e,this._sinkDown(0))}extractSorted(){return this.heap.sort(this.comparator)}_bubbleUp(e){let t=this.heap;for(;e>0;){let r=e-1>>1;if(0>=this.comparator(t[e],t[r]))break;let a=t[e];t[e]=t[r],t[r]=a,e=r}}_sinkDown(e){let t=this.heap,r=t.length,a=e;do{let n=2*(e=a)+1,l=2*e+2;if(n<r&&this.comparator(t[n],t[a])>0&&(a=n),l<r&&this.comparator(t[l],t[a])>0&&(a=l),a!==e){let r=t[e];t[e]=t[a],t[a]=r}}while(a!==e)}};let ee=/[\p{L}\p{M}\p{N}_]+/gu,et=new WeakSet;function er({isCaseSensitive:e=!1,ignoreDiacritics:t=!1,tokenize:r}={}){let a=function(e){if("function"==typeof e){let t=!1;return r=>{let a=e(r);if(!t&&(t=!0,!Array.isArray(a)||a.some(e=>"string"!=typeof e)))throw Error(`[Fuse] tokenize function must return string[]; received ${Array.isArray(a)?"array containing non-strings":typeof a}.`);return a}}if(e instanceof RegExp)return!e.global&&(et.has(e)||(et.add(e),console.warn(`[Fuse] tokenize regex ${e} lacks the global flag; only the first match per text will be returned. Add the 'g' flag.`))),t=>t.match(e)||[];return e=>e.match(ee)||[]}(r);return{tokenize:r=>(e||(r=r.toLowerCase()),t&&(r=E(r)),a(r))}}var ea=class{static condition(e,t){return t.useTokenSearch}constructor(e,t){this.options=t,this.analyzer=er({isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,tokenize:t.tokenize});const r=this.analyzer.tokenize(e),{df:a,fieldCount:n}=t._invertedIndex;for(const e of(this.termSearchers=[],this.idfWeights=[],r)){this.termSearchers.push(new $(e,{location:t.location,threshold:t.threshold,distance:t.distance,includeMatches:t.includeMatches,findAllMatches:t.findAllMatches,minMatchCharLength:t.minMatchCharLength,isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,ignoreLocation:!0}));const r=a.get(e)||0,l=Math.log(1+(n-r+.5)/(r+.5));this.idfWeights.push(l)}this.combineAll="all"===t.tokenMatch,this.numTerms=this.termSearchers.length,this.useMask=this.numTerms<=31}searchIn(e){if(!this.termSearchers.length)return{isMatch:!1,score:1};let t=[],r=0,a=0,n=0,l=0,s=this.combineAll&&!this.useMask?new Set:null;for(let i=0;i<this.termSearchers.length;i++){let o=this.termSearchers[i].searchIn(e),c=this.idfWeights[i];a+=c,o.isMatch&&(n++,r+=c*(1-o.score),o.indices&&t.push(...o.indices),this.combineAll&&(this.useMask?l|=1<<i:s.add(i)))}if(0===n)return{isMatch:!1,score:1};let i={isMatch:!0,score:Math.max(.001,a>0?1-r/a:0)};return this.options.includeMatches&&t.length&&(i.indices=V(t)),this.combineAll&&(this.useMask?i.matchedMask=l:i.matchedTerms=s,i.termCount=this.numTerms),i}};function en(e,t,r,a){let n=a.tokenize(t);if(!n.length)return;e.fieldCount++,e.docFieldCount.set(r,(e.docFieldCount.get(r)||0)+1);let l=new Set(n),s=e.docTermFieldHits.get(r);for(let t of(s||(s=new Map,e.docTermFieldHits.set(r,s)),l))s.set(t,(s.get(t)||0)+1),e.df.set(t,(e.df.get(t)||0)+1)}function el(e,t,r,a){let{i:n,v:l,$:s}=t;if(void 0!==l)return void en(e,l,n,a);if(s)for(let t=0;t<r;t++){let r=s[t];if(r)if(Array.isArray(r))for(let t of r)en(e,t.v,n,a);else en(e,r.v,n,a)}}function es(e,t){if(0===t.length)return;let r=Array.from(new Set(t)).sort((e,t)=>
1e-t);for(let t of r)!function(e,t){let r=e.docFieldCount.get(t);if(void 0===r)return;e.fieldCount-=r,e.docFieldCount.delete(t);let a=e.docTermFieldHits.get(t);if(a){for(let[t,r]of a){let a=(e.df.get(t)||0)-r;a<=0?e.df.delete(t):e.df.set(t,a)}e.docTermFieldHits.delete(t)}}(e,t);let a=e=>{let t=0,a=r.length;for(;t<a;){let n=t+a>>>1;r[n]<e?t=n+1:a=n}return e-t},n=r[0],l=new Map;for(let[t,r]of e.docFieldCount)l.set(t>n?a(t):t,r);e.docFieldCount=l;let s=new Map;for(let[t,r]of e.docTermFieldHits)s.set(t>n?a(t):t,r);e.docTermFieldHits=s}var ei=class{constructor(e,t,r){this.options={...D,...t},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new S(this.options.keys),this._docs=e,this._myIndex=null,this._invertedIndex=null,this.setCollection(e,r),this._lastQuery=null,this._lastSearcher=null}_getSearcher(e){if(this._lastQuery===e)return this._lastSearcher;let t=W(e,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=e,this._lastSearcher=t,t}setCollection(e,t){if(this._docs=e,t&&!(t instanceof P))throw Error("Incorrect 'index' type");if(this._myIndex=t||T(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){let e=er({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=function(e,t,r){let a={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(let n of e)el(a,n,t,r);return a}(this._myIndex.records,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}add(e){if(!_(e))return;this._docs.push(e);let t=this._myIndex.add(e,this._docs.length-1);if(this._invertedIndex&&t){var r;let e=er({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});r=this._invertedIndex,el(r,t,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}remove(e=()=>!1){let t=[],r=[];for(let a=0,n=this._docs.length;a<n;a+=1)e(this._docs[a],a)&&(t.push(this._docs[a]),r.push(a));if(r.length){this._invertedIndex&&es(this._invertedIndex,r);let e=new Set(r);this._docs=this._docs.filter((t,r)=>!e.has(r)),this._myIndex.removeAll(r),this._invalidateSearcherCache()}return t}removeAt(e){if(!Number.isInteger(e)||e<0||e>=this._docs.length)throw Error(j);this._invertedIndex&&es(this._invertedIndex,[e]);let t=this._docs.splice(e,1)[0];return this._myIndex.removeAt(e),this._invalidateSearcherCache(),t}_invalidateSearcherCache(){this._lastQuery=null,this._lastSearcher=null}getIndex(){return this._myIndex}_normalizedKeys(){return this._myIndex.keys.map(e=>this._keyStore.get(e.id)||e)}search(e,t){let r,{limit:a=-1}=t||{},{includeMatches:n,includeScore:l,shouldSort:s,sortFn:i,ignoreFieldNorm:o}=this.options;if(v(e)&&!e.trim()){let e=this._docs.map((e,t)=>({item:e,refIndex:t}));return C(a)&&a>-1&&(e=e.slice(0,a)),e}let c=s&&C(a)&&a>0&&v(e),u=(e,t)=>i(e,t)||e.idx-t.idx;if(c){let t=new Y(a,u);v(this._docs[0])?this._searchStringList(e,{heap:t,ignoreFieldNorm:o}):this._searchObjectList(e,{heap:t,ignoreFieldNorm:o}),r=t.extractSorted()}else!function(e,{ignoreFieldNorm:t=D.ignoreFieldNorm}){e.forEach(e=>{e.score=Q(e.matches,{ignoreFieldNorm:t})})}(r=v(e)?v(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),{ignoreFieldNorm:o}),s&&r.sort(v(e)?u:i),C(a)&&a>-1&&(r=r.slice(0,a));return function(e,t,{includeMatches:r=D.includeMatches,includeScore:a=D.includeScore}={}){return e.map(e=>{let n,{idx:l}=e,s={item:t[l],refIndex:l};return r&&(n=[],e.matches.forEach(e=>{if(!_(e.indices)||!e.indices.length)return;let t={indices:e.indices,value:e.value};e.key&&(t.key=e.key.id),e.idx>-1&&(t.refIndex=e.idx),n.push(t)}),s.matches=n),a&&(s.score=e.score),s})}(r,this._docs,{includeMatches:n,includeScore:l})}_searchStringList(e,{heap:t,ignoreFieldNorm:r}={}){let a=this._getSearcher(e),n=this.options.useTokenSearch&&"all"===this.options.tokenMatch,{records:l}=this._myIndex,s=t?null:[];return l.forEach(({v:e,i:l,n:i})=>{if(!_(e))return;let o=a.searchIn(e);if(o.isMatch){let a={score:o.score,value:e,norm:i,indices:o.indices};n&&(a.matchedMask=o.matchedMask,a.matchedTerms=o.matchedTerms,a.termCount=o.termCount);let c=[a];if(!n||this._coversAllTokens(c)){let a={item:e,idx:l,matches:c};t?(a.score=Q(a.matches,{ignoreFieldNorm:r}),t.insert(a)):s.push(a)}}}),s}_searchLogical(e){let t=X(e,this.options),r=this._normalizedKeys(),a=(e,t,n)=>{if(!("children"in e)){let a,{keyId:l,searcher:s}=e;return(null===l?(a=[],r.forEach((e,r)=>{a.push(...this._findMatches({key:e,value:t[r],searcher:s}))}
1)):a=this._findMatches({key:this._keyStore.get(l),value:this._myIndex.getValueForItemAtKeyId(t,l),searcher:s}),a&&a.length)?[{idx:n,item:t,matches:a}]:[]}let{children:l,operator:s}=e,i=[];for(let e=0,r=l.length;e<r;e+=1){let r=a(l[e],t,n);if(r.length)i.push(...r);else if(s===q)return[]}return i},n=this._myIndex.records,l=new Map,s=[];return n.forEach(({$:e,i:r})=>{if(_(e)){let n=a(t,e,r);n.length&&(l.has(r)||(l.set(r,{idx:r,item:e,matches:[]}),s.push(l.get(r))),n.forEach(({matches:e})=>{l.get(r).matches.push(...e)}))}}),s}_searchObjectList(e,{heap:t,ignoreFieldNorm:r}={}){let a=this._getSearcher(e),n=this.options.useTokenSearch&&"all"===this.options.tokenMatch,{records:l}=this._myIndex,s=this._normalizedKeys(),i=t?null:[];return l.forEach(({$:e,i:l})=>{if(!_(e))return;let o=[],c=!1,u=!1;if(s.forEach((t,r)=>{let n=this._findMatches({key:t,value:e[r],searcher:a});n.length?(o.push(...n),n[0].hasInverse&&(u=!0)):c=!0}),(!u||!c)&&o.length&&(!n||this._coversAllTokens(o))){let a={idx:l,item:e,matches:o};t?(a.score=Q(a.matches,{ignoreFieldNorm:r}),t.insert(a)):i.push(a)}}),i}_findMatches({key:e,value:t,searcher:r}){if(!_(t))return[];let a=[];if(f(t))t.forEach(({v:t,i:n,n:l})=>{if(!_(t))return;let s=r.searchIn(t);if(s.isMatch){let r={score:s.score,key:e,value:t,idx:n,norm:l,indices:s.indices,hasInverse:s.hasInverse};void 0!==s.termCount&&(r.matchedMask=s.matchedMask,r.matchedTerms=s.matchedTerms,r.termCount=s.termCount),a.push(r)}});else{let{v:n,n:l}=t,s=r.searchIn(n);if(s.isMatch){let t={score:s.score,key:e,value:n,norm:l,indices:s.indices,hasInverse:s.hasInverse};void 0!==s.termCount&&(t.matchedMask=s.matchedMask,t.matchedTerms=s.matchedTerms,t.termCount=s.termCount),a.push(t)}}return a}_coversAllTokens(e){let t=e.length?e[0].termCount:void 0;if(void 0===t)return!0;if(t<=31){let r=0;for(let t=0;t<e.length;t++)r|=e[t].matchedMask||0;return r===2**t-1}let r=new Set;for(let t=0;t<e.length;t++){let a=e[t].matchedTerms;if(a)for(let e of a)r.add(e)}return r.size===t}};ei.version="7.5.0",ei.createIndex=T,ei.parseIndex=function(e,{getFn:t=D.getFn,fieldNormWeight:r=D.fieldNormWeight}={}){let{keys:a,records:n}=e,l=new P({getFn:t,fieldNormWeight:r});return l.setKeys(a),l.setIndexRecords(n),l},ei.config=D,ei.match=function(e,t,r){if(r&&r.useTokenSearch)throw Error("Fuse.match does not support useTokenSearch: token search requires corpus-level statistics (df, fieldCount) that a one-off string comparison does not have. Use new Fuse(...).search(...) instead.");return W(e,{...D,...r}).searchIn(t)},ei.parseQuery=X,U(O),U(ea),ei.use=function(...e){e.forEach(e=>U(e))};let eo="CustomerDB",ec="CustomersList",eu="SyncInfo",ed=async()=>{let e=await new Promise((e,t)=>{let r=indexedDB.open(eo,1);r.onupgradeneeded=function(e){let t=e.target.result;t.objectStoreNames.contains(ec)||t.createObjectStore(ec,{keyPath:"ID"}),t.objectStoreNames.contains(eu)||t.createObjectStore(eu)},r.onsuccess=function(r){let a=r.target.result;if([ec,eu].some(e=>!a.objectStoreNames.contains(e))){a.close();let r=indexedDB.deleteDatabase(eo);r.onsuccess=()=>{let r=indexedDB.open(eo,1);r.onupgradeneeded=function(e){let t=e.target.result;t.createObjectStore(ec,{keyPath:"ID"}),t.createObjectStore(eu)},r.onsuccess=function(t){e(t.target.result)},r.onerror=e=>{t(e.target.error)}},r.onerror=e=>{t(e.target?.error)}}else e(a)},r.onerror=e=>{t(e.target.error)}}),t=e.transaction(ec,"readonly").objectStore(ec),r=await new Promise((e,r)=>{let a=t.getAll();a.onsuccess=()=>e(a.result),a.onerror=()=>r(a.error)});return e.close(),r},eh=async()=>{try{return await ed()}catch(e){return[]}};var ep=r(82973),eg=r(58530);let em={printDailyPlan:"print_daily_plan",exportToiCal:"export_to_ical",calendarConfiguration:"calendar_configuration",refundCustomer:"refund_customer",checkoutSettings:"checkout_settings",inviteAllCustomers:"invite_all_customers",shareWithVagaroAccount:"share_vagaro_account",enjoyingVagaro:"enjoying_vagaro",clockInOut:"click_in_out",tutorial:"tutorial",openCustomerProfileConnect:"openCustomerProfileConnect",openTextMessagingPlanPopup:"openTextMessagingPlanPopup",upsellPopup:"upsellPopup",logOut:"logout",logOutClockOut:"logout_clockout",paydeskSerialNumber:"pay_desk_serial_number",businessClockInOut:"business_clock_in_out"}
1,ex="/merchants/settings/business/profile",ef=[{title:"Dashboard",url:"/merchants/reports/dashboard"},{title:"Transaction List",url:"/merchants/reports/sales/transactionlist"},{title:"Sales Summary",url:"/merchants/reports/sales/salessummary"},{title:"Deposits",url:"/merchants/reports/sales/deposits"},{title:"Payment Distribution",url:"/merchants/reports/sales/paymentdistribution"},{title:"Product Sales",url:"/merchants/reports/sales/products"},{title:"Product Sales by Customer",url:"/merchants/reports/sales/productsalesbycustomer"},{title:"Services / Classes",url:"/merchants/reports/sales/services"},{title:"Trends",url:"/merchants/reports/sales/trends"},{title:"Combined Report",url:"/merchants/reports/sales/combinedreport"},{title:"Sales",url:"/merchants/reports/employees/sales"},{title:"Customer Retention",url:"/merchants/reports/employees/customerretention"},{title:"Rebooking",url:"/merchants/reports/employees/rebooking"},{title:"Rent Collection",url:"/merchants/reports/employees/employeerentfee"},{title:"Time Card",url:"/merchants/reports/employees/timecard"},{title:"Payroll",url:"/merchants/reports/employees/payroll"},{title:"Payroll Configuration",url:"/merchants/reports/employees/payrollconfiguration"},{title:"Payroll History",url:"/merchants/reports/employees/payrollhistory"},{title:"Print Daily Plan",url:"/"},{title:"Time Off",url:"/merchants/reports/employees/timeoff"},{title:"Customers",url:"/merchants/reports/customers/list"},{title:"Merge & Clean Up Customers",url:"/merchants/reports/customers/mergeduplicatecustomers"},{title:"New vs Returning",url:"/merchants/reports/customers/newvsreturning"},{title:"Packages",url:"/merchants/reports/customers/packages"},{title:"Memberships",url:"/merchants/reports/customers/memberships"},{title:"Gift Cards",url:"/merchants/reports/customers/giftcertificates"},{title:"IOU",url:"/merchants/reports/customers/iou"},{title:"Failed Payments",url:"/merchants/reports/customers/failedpayments"},{title:"Unsigned Forms/SOAPs",url:"/merchants/reports/customers/unsignedforms"},{title:"Check-In Log",url:"/merchants/reports/customers/checkinlog"},{title:"Review Management",url:"/merchants/reports/customers/reviewmanagement"},{title:"Source",url:"/merchants/reports/appointments/source"},{title:"Appointments Summary",url:"/merchants/reports/appointments/appointmentssummary"},{title:"Missed Checkouts / Check-ins",url:"/merchants/reports/appointments/missedcheckouts"},{title:"Booking Percentage",url:"/merchants/reports/appointments/bookingpercentage"},{title:"Cancellation & No-Shows",url:"/merchants/reports/appointments/noshowcancelation"},{title:"Stock Trends",url:"/merchants/reports/inventory/stocktrends"},{title:"Sales Trends",url:"/merchants/reports/inventory/salestrends"},{title:"Inventory Summary",url:"/merchants/reports/inventory/inventorysummary"},{title:"Sales By Brand",url:"/merchants/reports/inventory/salesbybrand"},{title:"Sales By Category",url:"/merchants/reports/inventory/salesbytype"},{title:"Sales By Product",url:"/merchants/reports/inventory/salesbyproduct"},{title:"Current Stock",url:"/merchants/reports/inventory/currentstock"},{title:"Unsold/Unused Products",url:"/merchants/reports/inventory/unsoldproducts"},{title:"Inventory By Status",url:"/merchants/reports/inventory/inventorybystatus"},{title:"Inventory Combined Report",url:"/merchants/reports/inventory/inventorycombinedreport"},{title:"Pending Shipments",url:"/merchants/reports/inventory/pendingshipments"},{title:"Vagaro Capital",url:"/merchants/reports/messaging/vagarocapital"},{title:"Push Notification History",url:"/merchants/reports/messaging/pushnotification"},{title:"SMS Billing History",url:"/merchants/reports/messaging/smsbilling"},{title:"Connect Messages",url:"/merchants/reports/messaging/connectmessages"},{title:"Email Billing History",url:"/merchants/reports/messaging/emailbilling"},{title:"Text Marketing Billing History",url:"/merchants/reports/messaging/textmarketingbilling"},{title:"Billing History",url:"/merchants/reports/messaging/billing"},{title:"Purchased Products",url:"/merchants/reports/messaging/businessproductpurchase"}
1],eb=[{title:"Business Profile",url:"/merchants/settings/business/profile?enc=xNXUabq0FRvnAh1ZLVSDXy78yKicGTjdnC%2FaUJ0iZBg%3D"},{title:"Contactless Features",url:"/merchants/settings/business/covidready"},{title:"Facility Information",url:"/merchants/settings/business/facility?enc=xNXUabq0FRvnAh1ZLVSDXy78yKicGTjdnC%2FaUJ0iZBg%3D"},{title:"Billing Information",url:"/merchants/settings/business/bill"},{title:"Import Management",url:"/merchants/settings/business/import"},{title:"Multi-Location",url:"/merchants/settings/business/multilocation"},{title:"Employee Profiles",url:"/merchants/settings/employee/profile"},{title:"Rent Collection",url:"/merchants/settings/employee/rent"},{title:"Access Levels",url:"/merchants/settings/employee/access"},{title:"Website Employee Lineup",url:"/merchants/settings/employee/lineup"},{title:"Time Off Policy",url:"/merchants/settings/employee/pto"},{title:"Email & Text Notifications",url:"/merchants/settings/book/notification"},{title:"Online Appointment Rules",url:"/merchants/settings/book/onlineappointmentrule"},{title:"Vera Fill My Books",url:"/merchants/settings/book/verafillmybooks",showBadge:!0,badgeText:"New"},{title:"Booking Widget",url:"/merchants/settings/premiumfeature/integration/widget"},{title:"Service / Class Menu",url:"/merchants/settings/thingswesell/service?enc=nnj837s+nyWGKzHp5ilsWxAKpVGW2q1RsGd3MuAadRWntrwtpGVw4de0q1ZhMLj5dPqOoFTJyZnyDF3emzjG2HtpWMcnNz2F"},{title:"Memberships",url:"/merchants/settings/thingswesell/membership?enc=nnj837s+nyWGKzHp5ilsWxAKpVGW2q1RsGd3MuAadRWntrwtpGVw4de0q1ZhMLj5dPqOoFTJyZnyDF3emzjG2HtpWMcnNz2F/zIWBiqTlGg="},{title:"Packages",url:"/merchants/settings/thingswesell/package?enc=nnj837s+nyWGKzHp5ilsWxAKpVGW2q1RsGd3MuAadRWntrwtpGVw4de0q1ZhMLj5dPqOoFTJyZnyDF3emzjG2HtpWMcnNz2F/zIWBiqTlGg="},{title:"Inventory",url:"/merchants/settings/inventory"},{title:"Purchase Orders",url:"/merchants/settings/inventory/po"},{title:"Invoices",url:"/merchants/settings/thingswesell/invoices/v3"},{title:"Online Shopping Cart",url:"/merchants/settings/thingswesell/shoppingcart"},{title:"Vendors",url:"/merchants/settings/inventory/vendor?enc=RYM2ZLaCHRz9dCOUDqZjCmZ2pSUoD67cLg1iEPPfHcAPnTNUok81/bkP5MvP2n2j"},{title:"Discounts",url:"/merchants/settings/thingswesell/discounts"},{title:"Daily Deals",url:"/merchants/settings/thingswesell/deals"},{title:"Taxes & Checkout",url:"/merchants/settings/thingswesell/taxandcheckout"},{title:"Calendar Configuration",url:"/merchants/settings/lookandfeel/calendarconfiguration"},{title:"Photo Gallery",url:"/merchants/settings/lookandfeel/photogallery?FromMenu=1"},{title:"Design Gift Cards",url:"/merchants/settings/lookandfeel/designgiftcard"},{title:"Themes",url:"/merchants/settings/lookandfeel/themes?enc=xNXUabq0FRvnAh1ZLVSDXy78yKicGTjdnC%2FaUJ0iZBg%3D"},{title:"Manage Subscription",url:"/merchants/settings/premiumfeature/managesubscription"},{title:"Integrations",url:"/merchants/settings/premiumfeature/integration"},{title:"Check-In App",url:"/merchants/settings/premiumfeature/checkinapp"},{title:"Live Stream",url:"/merchants/settings/premiumfeature/livestream"},{title:"Branded App",url:"/merchants/settings/premiumfeature/brandedapp"},{title:"Forms",url:"/merchants/settings/premiumfeature/form"},{title:"Credit Card Processing",url:"/merchants/settings/premiumfeature/creditcardprocessing"},{title:"Buy Now, Pay Later",url:"/merchants/settings/premiumfeature/vagaropaylater"},{title:"Vagaro Capital",url:"/merchants/settings/premiumfeature/vagarocapital"},{title:"Vagaro Payroll",url:"/merchants/settings/premiumfeature/payroll"},{title:"Email Marketing Plans",url:"/merchants/settings/premiumfeature/emailmarketingplans"},{title:"Text Marketing Plans",url:"/merchants/settings/premiumfeature/textmarketingplans"},{title:"Vagaro Drive",url:"/merchants/settings/premiumfeature/drive"},{title:"Pay Desk",url:"/merchants/settings/premiumfeature/paydesk"},{title:"PayPro",url:"/merchants/settings/premiumfeature/paypro"},{title:"E-Prescribe",url:"/merchants/settings/premiumfeature/eprescribe"},{title:"Get Featured",url:"/merchants/settings/marketing/featured"}
1,{title:"Social Links",url:"/merchants/settings/marketing/sociallink"},{title:"APIs & Webhooks",url:"/merchants/settings/developers/webhooks"},{title:"Product Details",url:"/merchants/settings/inventory/template?SettingMenu=1&curpage=/merchants/settings/book/notification"},{title:"Import Inventory",url:"/merchants/settings/inventory/import"},{title:"Custom Fields",url:"/merchants/settings/business/customfields",showBadge:!0,badgeText:"New"}],ev=[{storeName:"BasicMenuDetails",keyPath:"id",autoIncrement:!0,indexes:[{name:"countryId",keyPath:"countryId",options:{unique:!1}},{name:"isCCProcessingApplied",keyPath:"isCCProcessingApplied",options:{unique:!1}},{name:"isDormant",keyPath:"isDormant",options:{unique:!1}},{name:"isGustoEnable",keyPath:"isGustoEnable",options:{unique:!1}},{name:"isTimeEntryReq",keyPath:"isTimeEntryReq",options:{unique:!1}},{name:"paydeskSerialNo",keyPath:"paydeskSerialNo",options:{unique:!1}},{name:"isDisplayHomeInVagaroPlus",keyPath:"isDisplayHomeInVagaroPlus",options:{unique:!1}}]},{storeName:"VideoLinkDetail
1s",keyPath:"videoId",autoIncrement:!0,indexes:[{name:"mobileLink",keyPath:"mobileLink",options:{unique:!1}},{name:"pageID",keyPath:"pageID",options:{unique:!1}},{name:"pageLink",keyPath:"pageLink",options:{unique:!1}},{name:"pageModule",keyPath:"pageModule",options:{unique:!1}},{name:"pageName",keyPath:"pageName",options:{unique:!1}},{name:"videoID",keyPath:"videoID",options:{unique:!1}},{name:"videoLink",keyPath:"videoLink",options:{unique:!1}},{name:"videoTitle",keyPath:"videoTitle",options:{unique:!1}}]},{storeName:"StarredMenuDetails",keyPath:"menuTitle",autoIncrement:!1,indexes:[{name:"menuTitle",keyPath:"menuTitle",options:{unique:!0}},{name:"menuOrder",keyPath:"menuOrder",options:{unique:!1}},{name:"menuType",keyPath:"menuType",options:{unique:!1}}]}],eC=e=>{e&&(e.style.display="none")},ey=e=>{e&&(e.style.display="")},e_=(e,t)=>{document.querySelectorAll(e).forEach(e=>{e&&e.insertAdjacentHTML("beforeend",t)})},ek=e=>{document.querySelectorAll(e).forEach(e=>e.remove())},ew=e=>{document.querySelectorAll(e).forEach(e=>e.style.display="")},ej=(e,t,r)=>!!document.querySelector(e)&&Array.from(document.querySelectorAll(t)).some(e=>(e.textContent??"").trim()===r),eN=(e,t)=>{switch(t.type){case"totalBusinessCount":return{...e,totalBusinessCount:t.payload};case"businessList":return{...e,businessList:t.payload};case"pageIndex":return{...e,pageIndex:e.pageIndex+1};case"pageIndexUpdate":return{...e,pageIndex:t.payload};case"isShowBusinessList":return{...e,isShowBusinessList:t.payload};case"searchBusiness":return{...e,searchBusiness:t.payload};case"searching":return{...e,searching:t.payload};case"loadMore":return{...e,loadMore:t.payload};case"hasMore":return{...e,hasMore:t.payload};case"cancelToken":return{...e,cancelToken:t.payload};case"initialBusinessName":return{...e,initialBusinessName:t.payload};case"updateFromProps":return{...e,...t.payload};default:return e}},eS={showClockInClockOut:!0,isPayrollEnabled:!1,isCCProcessingApplied:!1,isAdmin:!0,isConnectActive:!1,showPayDesk:!1,paydeskSerialNo:""},eM=(e,t)=>{switch(t.type){case"SET_MENU_VISIBILITY":return{...e,...t.payload};case"SET_CLOCK_IN_OUT":return{...e,showClockInClockOut:t.payload};case"SET_PAYROLL_ENABLED":return{...e,isPayrollEnabled:t.payload};case"SET_CC_PROCESSING":return{...e,isCCProcessingApplied:t.payload};case"SET_ADMIN":return{...e,isAdmin:t.payload};case"SET_CONNECT_ACTIVE":return{...e,isConnectActive:t.payload};default:return e}},eI={Recent:"Recent searches",Report:"Reports",Setting:"Settings",Calendar:"Navigation",Checkout:"Navigation",Customers:"Navigation",Forms:"Navigation",Customer:"Customers"},eL=["Customers","Customer","Navigation","Calendar","Checkout","Forms","Settings","Reports","Other"];var eD=r(14977),eP=r(22833),eT=r(80401),eV=r(85345);let eB={calendar:"group-hover/calendar:backdrop-blur-md group-hover/calendar:border group-hover/calendar:border-solid group-hover/calendar:border-white group-hover/calendar:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/calendar:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/calendar:bg-[rgba(255,255,255,0.1)] group-active/calendar:bg-[rgba(255,255,255,0.2)]",checkout:"group-hover/checkout:backdrop-blur-md group-hover/checkout:border group-hover/checkout:border-solid group-hover/checkout:border-white group-hover/checkout:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/checkout:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/checkout:bg-[rgba(255,255,255,0.1)] group-active/checkout:bg-[rgba(255,255,255,0.2)]",customers:"group-hover/customers:backdrop-blur-md group-hover/customers:border group-hover/customers:border-solid group-hover/customers:border-white group-hover/customers:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/customers:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/customers:bg-[rgba(255,255,255,0.1)] group-active/customers:bg-[rgba(255,255,255,0.2)]",marketing:"group-hover/marketing:backdrop-blur-md group-hover/marketing:border group-hover/marketing:border-solid group-hover/marketing:border-white group-hover/marketing:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/marketing:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/marketing:bg-[rgba(255,255,255,0.1)] group-active/marketing:bg-[rgba(255,255,255,0.2)]",forms:"group-hover/forms:backdrop-blur-md group-hover/forms:border group-hover/forms:border-solid group-hover/forms:border-white group-hover/forms:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/forms:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/forms:bg-[rgba(255,255,255,0.1)] group-active/forms:bg-[rgba(255,255,255,0.2)]",payroll:"group-hover/payroll:backdrop-blur-md group-hover/payroll:border group-hover/payroll:border-solid group-hover/payroll:border-white group-hover/payroll:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/payroll:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/payroll:bg-[rgba(255,255,255,0.1)] group-active/payroll:bg-[rgba(255,255,255,0.2)]",reports:"group-hover/reports:backdrop-blur-md group-hover/reports:border group-hover/reports:border-solid group-hover/reports:border-white group-hover/reports:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/reports:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/reports:bg-[rgba(255,255,255,0.1)] group-active/reports:bg-[rgba(255,255,255,0.2)]",setting:"group-hover/setting:backdrop-blur-md group-hover/setting:border group-hover/setting:border-solid group-hover/setting:border-white group-hover/setting:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/setting:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/setting:bg-[rgba(255,255,255,0.1)] group-active/setting:bg-[rgba(255,255,255,0.2)]",more:"group-hover/more:backdrop-blur-md group-hover/more:border group-hover/more:border-solid group-hover/more:border-white group-hover/more:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/more:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/more:bg-[rgba(255,255,255,0.1)] group-active/more:bg-[rgba(255,255,255,0.2)]","more-menu":"group-hover/more-menu:backdrop-blur-md group-hover/more-menu:border group-hover/more-menu:border-solid group-hover/more-menu:border-white group-hover/more-menu:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/more-menu:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/more-menu:bg-[rgba(255,255,255,0.1)] group-active/more-menu:bg-[rgba(255,255,255,0.2)]",help:"group-hover/help:backdrop-blur-md group-hover/help:border group-hover/help:border-solid group-hover/help:border-white group-hover/help:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/help:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/help:bg-[rgba(255,255,255,0.1)] group-active/help:bg-[rgba(255,255,255,0.2)]",logo:"group-hover/logo:backdrop-blur-md group-hover/logo:border group-hover/logo:border-solid group-hover/logo:border-white group-hover/logo:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/logo:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/logo:bg-[rgba(255,255,255,0.1)] group-active/logo:bg-[rgba(255,255,255,0.2)]",sidelogo:"group-hover/sidelogo:backdrop-blur-md group-hover/sidelogo:border group-hover/sidelogo:border-solid group-hover/sidelogo:border-white group-hover/sidelogo:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/sidelogo:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/sidelogo:bg-[rgba(255,255,255,0.1)] group-active/sidelogo:bg-[rgba(255,255,255,0.2)]",hamburger:"group-hover/hamburger:backdrop-blur-md group-hover/hamburger:border group-hover/hamburger:border-solid group-hover/hamburger:border-white group-hover/hamburger:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/hamburger:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] group-hover/hamburger:bg-[rgba(255,255,255,0.1)] group-active/h
1amburger:bg-[rgba(255,255,255,0.2)]"},eA={calendar:"group-hover/calendar:bg-[rgba(255,255,255,0.1)] group-active/calendar:bg-[rgba(255,255,255,0.2)]",checkout:"group-hover/checkout:bg-[rgba(255,255,255,0.1)] group-active/checkout:bg-[rgba(255,255,255,0.2)]",customers:"group-hover/customers:bg-[rgba(255,255,255,0.1)] group-active/customers:bg-[rgba(255,255,255,0.2)]",marketing:"group-hover/marketing:bg-[rgba(255,255,255,0.1)] group-active/marketing:bg-[rgba(255,255,255,0.2)]",forms:"group-hover/forms:bg-[rgba(255,255,255,0.1)] group-active/forms:bg-[rgba(255,255,255,0.2)]",payroll:"group-hover/payroll:bg-[rgba(255,255,255,0.1)] group-active/payroll:bg-[rgba(255,255,255,0.2)]",reports:"group-hover/reports:bg-[rgba(255,255,255,0.1)] group-active/reports:bg-[rgba(255,255,255,0.2)]",setting:"group-hover/setting:bg-[rgba(255,255,255,0.1)] group-active/setting:bg-[rgba(255,255,255,0.2)]",more:"group-hover/more:bg-[rgba(255,255,255,0.1)] group-active/more:bg-[rgba(255,255,255,0.2)]","more-menu":"group-hover/more-menu:bg-[rgba(255,255,255,0.1)] group-active/more-menu:bg-[rgba(255,255,255,0.2)]",help:"group-hover/help:bg-[rgba(255,255,255,0.1)] group-active/help:bg-[rgba(255,255,255,0.2)]",logo:"group-hover/logo:bg-[rgba(255,255,255,0.1)] group-active/logo:bg-[rgba(255,255,255,0.2)]",sidelogo:"group-hover/sidelogo:bg-[rgba(255,255,255,0.1)] group-active/sidelogo:bg-[rgba(255,255,255,0.2)]",hamburger:"group-hover/hamburger:bg-[rgba(255,255,255,0.1)] group-active/hamburger:bg-[rgba(255,255,255,0.2)]"},eE={calendar:"group-hover/calendar:bg-MenuHoverColor group-active/calendar:bg-MenuPressedColor",checkout:"group-hover/checkout:bg-MenuHoverColor group-active/checkout:bg-MenuPressedColor",customers:"group-hover/customers:bg-MenuHoverColor group-active/customers:bg-MenuPressedColor",marketing:"group-hover/marketing:bg-MenuHoverColor group-active/marketing:bg-MenuPressedColor",forms:"group-hover/forms:bg-MenuHoverColor group-active/forms:bg-MenuPressedColor",payroll:"group-hover/payroll:bg-MenuHoverColor group-active/payroll:bg-MenuPressedColor",reports:"group-hover/reports:bg-MenuHoverColor group-active/reports:bg-MenuPressedColor",setting:"group-hover/setting:bg-MenuHoverColor group-active/setting:bg-MenuPressedColor",more:"group-hover/more:bg-MenuHoverColor group-active/more:bg-MenuPressedColor","more-menu":"group-hover/more-menu:bg-MenuHoverColor group-active/more-menu:bg-MenuPressedColor",help:"group-hover/help:bg-MenuHoverColor group-active/help:bg-MenuPressedColor",logo:"group-hover/logo:bg-MenuHoverColor group-active/logo:bg-MenuPressedColor",sidelogo:"group-hover/sidelogo:bg-MenuHoverColor group-active/sidelogo:bg-MenuPressedColor",hamburger:"group-hover/hamburger:bg-MenuHoverColor group-active/hamburger:bg-MenuPressedColor"},e$={calendar:"group-hover/calendar:opacity-100 group-hover/calendar:visible",checkout:"group-hover/checkout:opacity-100 group-hover/checkout:visible",customers:"group-hover/customers:opacity-100 group-hover/customers:visible",marketing:"group-hover/marketing:opacity-100 group-hover/marketing:visible",forms:"group-hover/forms:opacity-100 group-hover/forms:visible",payroll:"group-hover/payroll:opacity-100 group-hover/payroll:visible",reports:"group-hover/reports:opacity-100 group-hover/reports:visible",setting:"group-hover/setting:opacity-100 group-hover/setting:visible",more:"group-hover/more:opacity-100 group-hover/more:visible","more-menu":"group-hover/more-menu:opacity-100 group-hover/more-menu:visible",help:"group-hover/help:opacity-100 group-hover/help:visible",logo:"group-hover/logo:opacity-100 group-hover/logo:visible",sidelogo:"group-hover/sidelogo:opacity-100 group-hover/sidelogo:visible"},ez=e=>{let{MenuSettingData:t,ModuleType:r,BadgeCount:u,UserName:g,UserImage:f,IsConnectEnabled:b,MySiteURL:v,settingsNavUrl:C,AzureVideoJsonLinkUrl:y,handleClick:_,openProfile:k,setopenProfile:w,handleCloseProfile:j,openAtLoginSelection:N,openAtLogin:S,isCCProcessingApplied:M,isAdmin:I,LoadNotificationOnClick:L,LoadVagaroConnectOnClick:D,updateHealth:P,profileImage:T,showTutorialPopup:V,setShowTutorialPopup:B,isConnectActive:A,OnTopMenuClick:E,BCountryID:$,IsDormantEnable:z,IsDisplayHome:F,state:H,dropdownRef:R,toggleButtonRef:O,handleScroll:Z,handleBusinessSearch:U,handleBusinessListOnClick:W,handleBusinessOnChanges:q,activeIndex:G,searchPriority:K,typeLabels:J,sortRecords:X,inputRef:Q,mobileInputRef:Y,searchValue:ee,handleSearch:et,setIsDropdownVisible:er,handleFocus:ea,handleBlur:en,handleKeyDown:el,isClearSearchVisible:es,showShortCutKey:eo,isMac:ec,isDropdownVisible:eu,searchResults:ed,clearSearch:ez,closeAndResetSearch:eF,OnSearchSelection:eH,clearSearchRef:eR,GlassDesign:eO,GradientDesign:eZ,showMoreRef:eU,activeMenuItem:eW,overflowedItems:eq,isSearchMenuOpen:eG,setSearchMenuOpen:eK,moreMenuRef:eJ,menuItemsConfig:eX,isItemOverflowed:eQ,rightSideRef:eY,isHorizontal:e1,isMenuExpand:e0,setMenuExpand:e5,isGradientDesign:e2,isGlassDesign:e8,expandedCategories:e4,setExpandedCategories:e3,isSearching:e6,setIsSearching:e7,shouldShowBusinessDropdown:e9,WithoutProIpadTablate:te,showLogoutPopup:tt,cancelLogout:tr,confirmLogout:ta,connectIconRef:tn,getActiveMenuClasses:tl,customerListBlank:ts,settingMenuRef:ti,reportMenuRef:to,settingGlassHeight:tc,reportGlassHeight:tu,settingMenuMaxHeight:td,reportMenuMaxHeight:th,hasSettingStarred:tp,hasReportStarred:tg,handleVeraChatBox:tm,EnableVeraChatBox:tx,openMenu:tf,isTouchDevice:tb,openMenuOnTouch:tv,openMenuOnHover:tC,closeMenuOnHover:ty,stopPropOnTouch:t_,closeMenuOnClick:tk,openSubMenuOnTouch:tw,subMenuParentOnClick:tj,touchSubMenuClasses:tN,closeSubMenuOnClick:tS,showPayDesk:tM}=(e=>{let t,{MenuSettingData:r,OnTopMenuClick:a,BaseUrl:l,BusinessId:u,LogginUserId:g,BCountryID:f,AzureVideoJsonLinkUrl:b,ModuleType:v,MenuOrderId:C,OnNavigate:y,ModernDesign:_=!1,BadgeCount:k,UserName:w,UserImage:j,IsConnectEnabled:N,MySiteURL:S,OnSearchSelection:M,CustomerCDNURL:I="",GlassDesign:L=!1,GradientDesign:D=!1,CustomerRights:P=!1,SearchMenuDataUrl:T,IndexDBEnable:V=!0,CustomerBaseUrl:B,IsDormantEnable:A=!1,IsDisplayHome:E=!1,EnableVeraChatBox:$=!1,veraChatBoxOnChange:z}=e,{LoadCustomers:F}=(({IndexDBEnable:e,BusinessId:t,CustomerBaseUrl:r})=>{let a=(0,n.useRef)(!1),l=(0,n.useRef)(!1),o=(0,n.useRef)(!1),c=(0,n.useRef)(!1),u="cusList",d="cusSynInfo",h=10,p=t?.toString(),g=s.Wp.CheckIsFromIpadAndroidTabWithoutParm(),m=async()=>{"object"==typeof localStorage&&(e?(await (0,eg.YQ)(),await (0,eg.OH)()):localStorage.removeItem(u),localStorage.removeItem(d))},x=()=>{let e=null;if(!(0,ep.z)(localStorage[d])&&!(0,ep.nr)(localStorage[d])){let t=JSON.parse(localStorage.getItem(d)||"null");(0,ep.z)(t)||""===t||(0,ep.z)(t.synDt)||(0,ep.nr)(t.synDt)||(e=t.synDt)}return e},f=async()=>{let t=!1;if("object"==typeof localStorage)try{localStorage.setItem("localStorage","1"),localStorage.removeItem("localStorage")}catch(e){l.current=!0,t=!0}return((()=>{let e=0,t=localStorage.getItem(d);if(!(0,ep.z)(t)&&!(0,ep.nr)(t))try{let t=JSON.parse(localStorage.getItem(d)||"null");e=!(0,ep.z)(t)&&""!==t&&t?.busID?t.busID:0}catch{e=0}return 0==+e?p:e})()!==p&&await m(),e&&(await (0,eg.Lr)()||(l.current=!0,t=!0),await (0,eg.rH)()||void 0!==localStorage[u]&&localStorage[u].length>0||localStorage.removeItem("cusSynInfo")),t)?(l.current=!0,a.current=!0,!1):"inProgress"!==(e?await (0,eg.jN)("fetchingInProgress"):"")&&(!1!==a.current||"object"!=typeof localStorage||null!==x()||!1!==(()=>{let e=!1;if(l.current)e=l.current;else if(!(0,ep.z)(localStorage[d])&&!(0,ep.nr)(localStorage[d])){let t=JSON.parse(localStorage.getItem(d)||"null");if(null!=t){let r=new Date,a=new Date(t.maxDt);e=r.setHours(0,0,0,0)===a.setHours(0,0,0,0)?t.IsMaxQuataReached:e}}return e})())?((0,ep.jR)()||g?l.current=!0:l.current=!1,a.current=!0,!1):(l.current=!0,!1===(0,ep.jR)()||!!g||void 0)},b=async(e="",t=1,a=h,n=null,l=!1,o=!1,c,u)=>{let d=r+"/merchants/customers/retrieve";if(!d)return void s.Wp.displayErrorMessage(s.By.Fail,"GetCustomersRetrieve URL not configured");let p=d+"?searchtext="+e+"&Page="+t+"&PageSize="+a+"&ForStorage="+l+"&LastSyncTime="+(null!==n?(0,ep.C)(n):"")+"&multiLocationBusinessIDs=";await (0,i.fE)(p,function(e){let t={};t.CustomerList=[],t.LastSyncTime=null,t.DeletedIDs="",t.TotalCount=0,t.SyncVersion=1,(0,ep.z)(e.data)||(0,ep.z)(e.data.data)||(!(0,ep.z)(e.data.data.customers)&&e.data.data.customers.length>0&&(t.CustomerList=(0,ep.Xw)(e.data.data.customers)),(0,ep.z)(e.data.data.lastSyncedTime)||""===e.data.data.lastSyncedTime||(t.LastSyncTime=(0,ep.Ey)(e.data.data.lastSyncedTime)),(0,ep.z)(e.data.data.deletedIds)||""===e.data.data.deletedIds||(t.DeletedIDs=e.data.data.deletedIds),(0,ep.z)(e.data.data.totalRecord)||""===e.data.data.totalRecord||(t.TotalCount=e.data.data.totalRecord),(0,ep.z)(e.data.data.syncVersion)||""===e.data.data.syncVersion||(t.SyncVersion=e.data.data.syncVersion)),e.data.Data=t,c(e)},function(e){u(e)})},v=async(t,r,a,n)=>{let s={};s.busID=p,s.lstDt=new Date,s.maxDt=new Date,s.synDt=r;
1try{if(s.IsMaxQuataReached=!1,1===n&&(localStorage.removeItem(d),localStorage.setItem(d,JSON.stringify(s))),null===x())null!==t?e?(await (0,eg.M9)(t),(0,eg.tX)()&&(l.current=!0)):localStorage.setItem(u,JSON.stringify(t)):e?(0,eg.M9)([]):localStorage[u]=[];else{if(null!=a&&""!==a&&a.length>0){let e=a.split(",").filter(Boolean);await (0,eg.LB)(e)}null!==t&&t.length>0&&(0,eg.M9)(t)}if((0,ep.jR)()||g)l.current=!0;else{let e=await (0,eg.jN)("fetchingInProgress");"done"===e&&(l.current=!1)}}catch(e){(0,eg.Rk)("fetchingInProgress","done"),l.current=!0,m(),s.IsMaxQuataReached=!0,localStorage.setItem(d,JSON.stringify(s))}return t},C=()=>{s.Wp.displayErrorMessage(s.By.Fail,"Something went wrong. Please try again.")},y=async(e,t,r)=>{let n=e,s={};s.busID=p,s.lstDt=new Date,s.maxDt=new Date,s.synDt=t;try{if(s.IsMaxQuataReached=!1,localStorage.removeItem(d),localStorage.setItem(d,JSON.stringify(s)),null===x())null!==e?localStorage.setItem(u,JSON.stringify(e)):localStorage[u]=[];else{let t=[];if(void 0!==localStorage[u]&&(t=JSON.parse(localStorage.getItem(u)||"null")),null!==r&&""!==r&&r.length>0&&null!==t&&t.length>0){r=","+r+",";let e=[];for(let a=0;a<t.length;a++){let n=t[a];-1===r.indexOf(","+n.EncCusID+",")&&e.push(n)}t=e}if(null!==t&&t.length>0&&null!==e&&e.length>0){let r=",";for(let a=0;a<e.length;a++){let n=e[a];t.map(e=>e.EncCusID).indexOf(n.EncCusID)>-1&&(r+=n.EncCusID+",")}t=t.filter(e=>-1===r.indexOf(","+e.EncCusID+",")),n=null!=t&&t.length>0?t.concat(e):e}else null!==e&&e.length>0?n=e:null!==t&&t.length>0&&(n=t);localStorage.removeItem(u),null!=n?localStorage.setItem(u,JSON.stringify(n)):localStorage[u]=[],(0,ep.jR)()||g?l.current=!0:a.current=!1}}catch(e){l.current=!0,m(),s.IsMaxQuataReached=!0,localStorage.setItem(d,JSON.stringify(s))}return n},_=async()=>{await b("",1,1e6,null,!0,!0,async function(e){try{if(!(0,ep.z)(e.data)&&!(0,ep.z)(e.data.Data)){let t=e.data.Data;await y(t.CustomerList,t.LastSyncTime,t.DeletedIDs)}}catch(e){s.Wp.displayErrorMessage(s.By.Fail,"Something went wrong. Please try again.")}},C)},k=async e=>{let t=await (0,eg.jN)("fetchingInProgress");l.current=!0,"done"===t||o.current||"done"!==t&&await b("",e,5e3,null,!0,!0,async function(t){let r=t?.data?.Data?.CustomerList||[];t?.data?.Data?.TotalCount>=2e5||(r.length>0?(await v(r,t.data.Data.LastSyncTime,t.data.Data.DeletedIDs,e),await (0,eg.Rk)("pageIndex",e+1),e%h==0&&await new Promise(e=>setTimeout(e,1e4)),(0,eg.tX)()||await k(e+1)):(await (0,eg.Rk)("fetchingInProgress","done"),(0,eg.tX)()||(l.current=!1)),"done"!==await (0,eg.jN)("fetchingInProgress")||(0,eg.tX)()||(l.current=!1))},C)};return{LoadCustomers:async()=>{if(await f())if(e){let e=parseInt(await (0,eg.jN)("pageIndex"))||1;if(await (0,eg.Rk)("fetchingInProgress","inProgress"),c.current)return;c.current=!0,o.current=!1,await k(e)}else await _()}}})({IndexDBEnable:V,BusinessId:u,CustomerBaseUrl:B}),H=(0,s.MI)(s.ud.MerchantId),R=(0,s.MI)(s.ud.UserId),O=(0,s.UM)("s_utkn"),[Z,U]=(0,n.useState)(!1),W=(0,n.useRef)(()=>{}),q=(0,n.useRef)(!1),G=(0,n.useRef)(0),K=(0,n.useRef)("mouse"),[J,X]=(0,n.useState)(r?.DefaultPage),[Q,Y]=(0,n.useState)(!1),[ee,et]=(0,n.useState)({}
1),[er,ea]=(0,n.useState)(null),[en,el]=(0,n.useState)(!1),[es,eo]=(0,n.useReducer)(eM,eS),[ec,eu]=(0,n.useReducer)(eN,(t={initialBusinessName:"",isShowBusinessList:!1,pageIndex:1,pageSize:5,totalBusinessCount:0,businessList:[],searchBusiness:"",searching:!1,loadMore:!1,hasMore:!0,loginUserType:"",cancelToken:null},null!==r&&(t.initialBusinessName=r?.BusinessName||"",t.loginUserType=r?.UserType||"",t.isUnderMaintenance=r?.IsUnderMaintenance),t)),ed=r&&!(0,s.Iu)(r?.MultiLocationBusinessCount)&&(r?.MultiLocationBusinessCount>1||r?.UserType==="6"),eD=(0,n.useRef)(""),eP=(0,n.useRef)(null),eT=(0,n.useRef)(""),eV=(0,n.useRef)(!1),eB=(0,n.useRef)([]),[eA,eE]=(0,n.useState)(ex),e$=(0,n.useRef)([]),ez=(0,n.useRef)(null),[eF,eH]=(0,n.useState)(""),[eR,eO]=(0,n.useState)([]),[eZ,eU]=(0,n.useState)(-1),[eW,eq]=(0,n.useState)(!1),[eG,eK]=(0,n.useState)(!0),[eJ,eX]=(0,n.useState)(!1),[eQ,eY]=(0,n.useState)(_),[e1,e0]=(0,n.useState)(window.innerWidth<=1024),[e5,e2]=(0,n.useState)(()=>{if(e1)return document.body?.classList.remove("leftbar-expand"),!1;let e=localStorage.getItem("menuExpand");return"true"===e?document.body?.classList.add("leftbar-expand"):document.body?.classList.remove("leftbar-expand"),"true"===e}),[e8,e4]=(0,n.useState)(D),[e3,e6]=(0,n.useState)(L),[e7,e9]=(0,n.useState)({}),[te,tt]=(0,n.useState)(!1),tr=(0,n.useRef)(null),ta=(0,n.useRef)(null),[tn,tl]=(0,n.useState)(0),[ts,ti]=(0,n.useState)(0),[to,tc]=(0,n.useState)(0),[tu,td]=(0,n.useState)(0),[th,tp]=(0,n.useState)(!1),[tg,tm]=(0,n.useState)(!1),tx=(0,n.useCallback)(()=>{requestAnimationFrame(()=>{if(tr.current&&th){let e=tr.current,t=e.querySelector(".nav-glass"),r=e.getBoundingClientRect(),a=Math.max(0,Math.floor(window.innerHeight-r.top-48));t&&(t.style.display="none");let n=e.scrollHeight;t&&(t.style.display=""),tc(n>a?a:0),tl(n)}else tc(0);if(ta.current&&tg){let e=ta.current,t=e.querySelector(".nav-glass"),r=e.getBoundingClientRect(),a=Math.max(0,Math.floor(window.innerHeight-r.top-48));t&&(t.style.display="none");let n=e.scrollHeight;t&&(t.style.display=""),td(n>a?a:0),ti(n)}else td(0)})},[th,tg,e5]);(0,n.useEffect)(()=>{if(!eQ)return;tx();let e=()=>tx();window.addEventListener("resize",e);let t=[];return[tr.current,ta.current].forEach(e=>{if(!e)return;let r=new MutationObserver(()=>tx());r.observe(e,{childList:!0,subtree:!0}),t.push(r)}),()=>{t.forEach(e=>e.disconnect()),window.removeEventListener("resize",e)}},[eQ,tx]);let[tf,tb]=(0,n.useState)([]),tv=(0,n.useRef)([]),[tC,ty]=(0,n.useState)(!1),t_=(0,n.useRef)(null),tk=(0,n.useRef)(null),tw=(0,n.useRef)(!1),tj=(0,n.useRef)(null);(0,n.useEffect)(()=>{tv.current=tf},[tf]),(0,n.useEffect)(()=>{let e={current:null},t=navigator.maxTouchPoints>1,r=()=>{e.current&&clearTimeout(e.current),e.current=window.setTimeout(()=>{let e=t?s.Wp.CheckIsTabletOrIpad(!0):window.innerWidth<=1024;e0(t=>t===e?t:e);let r=localStorage.getItem("menuExpand");e2(t=>{let a=!e&&"true"===r;return a?document.body?.classList.add("leftbar-expand"):document.body?.classList.remove("leftbar-expand"),t===a?t:a})},t?300:150)};return window.addEventListener("resize",r),t&&window.addEventListener("orientationchange",r),()=>{e.current&&clearTimeout(e.current),window.removeEventListener("resize",r),t&&window.removeEventListener("orientationchange",r)}},[]),(0,n.useEffect)(()=>{let e=()=>{ty(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,n.useEffect)(()=>{eY(_)},[_]),(0,n.useEffect)(()=>{e6(L)},[L]),(0,n.useEffect)(()=>{e4(D)},[D]);let tN=()=>e3?"rounded-lg bg-[rgba(255,255,255,0.2)] backdrop-blur-md [mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] [-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] [mask-mode:alpha] [mask-repeat:no-repeat] [mask-size:cover] [-webkit-mask-mode:alpha] [-webkit-mask-repeat:no-repeat] [-webkit-mask-size:cover] !border border-solid !border-white hover:bg-[rgba(255,255,255,0.1)] active:bg-[rgba(255,255,255,0.2)]":e8?"rounded-lg bg-[rgba(255,255,255,0.2)] hover:bg-[rgba(255,255,255,0.1)] active:bg-[rgba(255,255,255,0.2)]":"bg-MenuPressedColor";(0,n.useEffect)(()=>{let e=null,t=null,r=()=>{let a=ez.current;if(!a){t=setTimeout(r,100);return}let n=new Set(a.className.split(/\s+/).filter(e=>e)),l=null,s=e=>{if(l===e)return;l=e;let t=tN().split(/\s+/).filter(e=>e).filter(e=>!n.has(e));e?a.classList.add(...t):a.classList.remove(...t)};s(a.classList.contains("activefirst")),(e=new MutationObserver(e=>
1{e.forEach(e=>{"attributes"===e.type&&"class"===e.attributeName&&s(e.target.classList.contains("activefirst"))})})).observe(a,{attributes:!0,attributeFilter:["class"]})};return r(),()=>{t&&clearTimeout(t),e&&e.disconnect()}},[e3,e8]);let tS=(0,n.useMemo)(()=>[{id:"calendar",label:"Calendar",href:"/merchants/calendar/v3",menuId:"calendar",submenus:[{id:"lastViewed",label:"Last Viewed",href:"/merchants/calendar/v3",menuId:"lastViewed"},{id:"today",label:"Today",href:"/merchants/calendar/v3?enc=oh/nnbuuK1jchMBhit/KsA==",menuId:"today"},{id:"thisWeek",label:"This Week",href:"/merchants/calendar/v3?enc=RHW+2dSuTfVz8Sohv3x+tQ==",menuId:"thisWeek"},{id:"thisMonth",label:"This Month",href:"/merchants/calendar/v3?enc=b4SZzvmXR7YXia3M/+C8uQ==",menuId:"thisMonth"},{id:"print_daily_plan",label:"Print Daily Plan",href:"#",menuId:"print_daily_plan"},{id:"calendar_configuration",label:"Configuration",href:"#",menuId:"calendar_configuration"}]},{id:"checkout",label:"Checkout",href:"/merchants/checkout/v3",menuId:"checkout",submenus:[{id:"checkoutMain",label:"Checkout",href:"/merchants/checkout/v3",menuId:"checkoutMain"},{id:"checkout_settings",label:"Checkout Settings",href:"#",menuId:"checkout_settings"},{id:"creditCardProcessing",label:"Credit Card Processing",href:"/merchants/settings/premiumfeature/creditcardprocessing",menuId:"creditCardProcessing",showBadge:!es.isCCProcessingApplied,badgeText:"Apply"},{id:"vagaroPayLater",label:"Buy Now, Pay Later",href:"/merchants/settings/premiumfeature/vagaropaylater",menuId:"vagaroPayLater"},{id:"refund_customer",label:"Refund Customer",href:"#",menuId:"refund_customer"},{id:"invoices",label:"Invoices",href:"#",menuId:"invoices",submenus:[{id:"createInvoice",label:"Create Invoice",href:"/merchants/checkout/v3?enc=mnGt+7qk43eTzLh82N4RYWUXHhSEbEf2kVAsIHujAdM=",menuId:"createInvoice"},{id:"invoiceManagement",label:"Invoice Management",href:"/merchants/settings/thingswesell/invoices/v3",menuId:"invoiceManagement"}]},{id:"dailyCloseout",label:"Daily Closeout",href:"/merchants/reports/sales/dailycloseout",menuId:"dailyCloseout"}]},{id:"customers",label:"Customers",href:"/merchants/customers/v3",menuId:"customers",submenus:[{id:"customerManagement",label:"Customer Management",href:"/merchants/customers/v3",menuId:"customerManagement"},{id:"customersList",label:"Customers List",href:"/merchants/reports/customers/list",menuId:"customersList"},{id:"reviewsManagement",label:"Reviews Management",href:"/merchants/reports/customers/reviewmanagement",menuId:"reviewsManagement"},{id:"importManagement",label:"Import Management",href:"/merchants/settings/business/import",menuId:"importManagement"},{id:"mergeCleanUpCustomers",label:"Merge & Clean Up Customers",href:"/merchants/reports/customers/mergeduplicatecustomers",menuId:"mergeCleanUpCustomers"},{id:"invite_all_customers",label:"Invite All Customers",href:"#",menuId:"invite_all_customers"},{id:"share_vagaro_account",label:"Share With Other Vagaro Account",href:"#",menuId:"share_vagaro_account"}]},{id:"marketing",label:"Marketing",href:"/merchants/marketing",menuId:"marketing",submenus:[{id:"allMarketing",label:"All Marketing",href:"/merchants/marketing",menuId:"allMarketing"},{id:"fillMyBooks",label:"Fill My Books",href:"/merchants/settings/book/verafillmybooks",menuId:"fillMyBooks"},{id:"emailTextMarketing",label:"Email & Text Marketing",href:"/merchants/promotions",menuId:"emailTextMarketing"},{id:"dailyDeals",label:"Daily Deals",href:"/merchants/settings/thingswesell/deals",menuId:"dailyDeals"},{id:"marketingPhotos",label:"Photos",href:"/merchants/settings/lookandfeel/photogallery",menuId:"marketingPhotos"},{id:"marketingIntegrations",label:"Integrations",href:"/merchants/settings/premiumfeature/integration",menuId:"marketingIntegrations"},{id:"bookingWidget",label:"Booking Widget",href:"/merchants/settings/premiumfeature/integration/widget",menuId:"bookingWidget"}]},{id:"mysite",label:"MySite",href:S||"#",target:"_blank",menuId:"vagaro_mysite"},{id:"forms",label:"Forms",href:"/merchants/forms",menuId:"forms",submenus:[{id:"allForms",label:"All Forms/SOAPs",href:"/merchants/forms",menuId:"allForms"},{id:"unsigned_forms_soaps",label:"Unsigned Forms/SOAPs",href:"/merchants/reports/customers/unsignedforms",menuId:"unsigned_forms_soaps"}]}
1,{id:"payroll",label:"Payroll",href:"/merchants/settings/premiumfeature/payroll",menuId:"payroll",submenus:[{id:"companyinformation",label:"Company Information",href:"/merchants/settings/premiumfeature/payroll",menuId:"companyinformation"},{id:"runpayroll",label:"Run Payroll",href:"/merchants/reports/employees/payroll",menuId:"runpayroll"},{id:"payrollconfig",label:"Payroll Configuration",href:"/merchants/reports/employees/payrollconfiguration",menuId:"payrollconfig"},{id:"payrollhistory",label:"Payroll History",href:"/merchants/reports/employees/payrollhistory",menuId:"payrollhistory"},{id:"employeeprofiles",label:"Employee Profiles",href:"/merchants/settings/employee/profile",menuId:"employeeprofiles"},{id:"timeoffpolicy",label:"Time Off Policy",href:"/merchants/settings/employee/pto",menuId:"timeoffpolicy"},{id:"timeoffreport",label:"Time Off Report",href:"/merchants/reports/employees/timeoff",menuId:"timeoffreport"},{id:"timecardreport",label:"Time Card Report",href:"/merchants/reports/employees/timecard",menuId:"timecardreport"}]},{id:"reports",label:"Reports",href:"/merchants/reports/sales/salessummary",menuId:"reports",submenus:[{id:"allReports",label:"All Reports",href:"/merchants/reports/sales/salessummary",menuId:"allReports"},{id:"transactionlist",label:"Transaction List",href:"/merchants/reports/sales/transactionlist",menuId:"transactionlist"},{id:"timeCard",label:"Time Card",href:"/merchants/reports/employees/timecard",menuId:"timeCard"},{id:"giftcertificates",label:"Gift Cards",href:"/merchants/reports/customers/giftcertificates",menuId:"giftcertificates"},{id:"iou",label:"IOU",href:"/merchants/reports/customers/iou",menuId:"iou"},{id:"dashboard",label:"Dashboard",href:"/merchants/reports/dashboard",menuId:"dashboard"}]},{id:"settings",label:"Settings",href:"/merchants/settings/business/profile",menuId:"settings",submenus:[{id:"allSettings",label:"All Settings",href:"/merchants/settings/book/notification",menuId:"allSettings"},{id:"employees",label:"Employees",href:"#",menuId:"employees",submenus:[{id:"employeeProfile",label:"Employee Profiles",href:"/merchants/settings/employee/profile",menuId:"employeeProfile"},{id:"accessLevels",label:"Access Levels",href:"/merchants/settings/employee/access",menuId:"accessLevels"}]},{id:"serviceClassMenu",label:"Service / Class Menu",href:"/merchants/settings/thingswesell/service",menuId:"serviceClassMenu"},{id:"creditCardProcessing",label:"Credit Card Processing",href:"/merchants/settings/premiumfeature/creditcardprocessing",menuId:"creditCardProcessing",showBadge:!es.isCCProcessingApplied,badgeText:"Apply"},{id:"inventory",label:"Inventory",href:"#",menuId:"inventory",submenus:[{id:"inventoryManagement",label:"Management",href:"/merchants/settings/inventory",menuId:"inventoryManagement"},{id:"vendors",label:"Vendors",href:"/merchants/settings/inventory/vendor",menuId:"vendors"},{id:"purchaseOrders",label:"Purchase Orders",href:"/merchants/settings/inventory/po",menuId:"purchaseOrders"}]},{id:"manageSubscription",label:"Manage Subscription",href:"/merchants/settings/premiumfeature/managesubscription",menuId:"manageSubscription"}]}],[es.isCCProcessingApplied,S]),tM=(0,n.useCallback)(e=>tf.includes(e),[tf]),tI=(0,n.useRef)(null),tL=(0,n.useRef)(null),tD=(0,n.useRef)(null),tP=(0,n.useRef)(null),tT=(0,n.useRef)(null),tV=(0,n.useRef)(null),tB=navigator.platform.toUpperCase().indexOf("MAC")>=0,tA="cusList";(0,n.useEffect)(()=>{if(-1!=eZ){let e=document.getElementById(`result-item-${eZ}`);e?.scrollIntoView({block:"nearest",behavior:"smooth"})}},[eZ]),(0,n.useEffect)(()=>{let e=(e=>{let t=document.cookie.split("; ");for(let r=0;r<t.length;r++){let a=t[r].split("="),n=a[0],l=a[1];if(n===e)return l}return null})("ThemePreferance");"1"===e?document.documentElement.setAttribute("data-theme","dark"):"2"===e?document.documentElement.setAttribute("data-theme",""):document.documentElement.setAttribute("data-theme","light")},[]),(0,n.useEffect)(()=>{_?document.body.classList.add("vg-vertical"):document.body.classList.remove("vg-vertical")},[_]),(0,n.useEffect)(()=>{if(!r)return;let e={};r.BusinessName&&r.BusinessName!==ec.initialBusinessName&&(e.initialBusinessName=r.BusinessName),r.UserType&&r.UserType!==ec.loginUserType&&(e.loginUserType=r.UserType),Object.keys(e).length>0&&eu({type:"updateFromProps",payload:e})},[r]),(0,n.useEffect)(()=>
1{if(!y)return;let e=e=>{let t=e.target.closest('a[data-navigate="true"]');if(t){e.preventDefault(),e.stopPropagation();let r=rD.current&&!rL.current,a=[],n=t.parentElement;for(;n&&!n.matches("[data-topmenu]");)"UL"===n.tagName&&"absolute"===getComputedStyle(n).position&&a.push(n),n=n.parentElement;if(rI.current(null),r&&a.length>0){let e=null,r=t.parentElement;for(;r&&!r.matches("[data-topmenu]");)"LI"===r.tagName&&(e=r),r=r.parentElement;a.forEach(e=>e.classList.add("!hidden"));let n=()=>{a.forEach(e=>e.classList.remove("!hidden")),e?.removeEventListener("mouseleave",n)};e?e.addEventListener("mouseleave",n,{once:!0}):requestAnimationFrame(()=>{a.forEach(e=>e.classList.remove("!hidden"))})}let l=t.getAttribute("data-url");l&&(e.metaKey||e.ctrlKey?window.open(l,"_blank"):y?.(l))}};return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0)},[y]);let tE=(e="")=>{switch(e){case em.printDailyPlan:case em.exportToiCal:case em.calendarConfiguration:case em.refundCustomer:case em.checkoutSettings:case em.inviteAllCustomers:case em.shareWithVagaroAccount:case em.enjoyingVagaro:case em.clockInOut:a?.({click:e});break;case em.tutorial:Y(!0),a?.({click:e});break;case em.logOut:t$();break;case em.paydeskSerialNumber:a?.({click:e,data:{paydeskSerialNo:es.paydeskSerialNo}});break;case em.businessClockInOut:a?.({click:e})}},t$=async()=>{try{if(!es.showClockInClockOut)return void el(!0);await t9()?a?.({click:em.logOut,data:{action:"logout",redirectAfterClockOut:!0}}):a?.({click:em.logOutClockOut})}catch(e){}},tz=()=>{try{let e=t1();e&&ea(e)}catch(e){}};(0,n.useEffect)(()=>{tz()},[window.location.pathname]);let tF=async e=>{try{if(!u||0===u||!g||0===g||!eD.current)throw Error("BusinessId or LogginUserId not available");eP.current||(eP.current=new o.A(eD.current,u,ev),await eP.current.init(tU,tW));let t=eP.current,r=await t.getAll("BasicMenuDetails");if(Array.isArray(r)&&r.length>0){let a={...r[0],defaultPage:e};await t.addOrUpdate("BasicMenuDetails",a),et(t=>({...t,DefaultPage:e})),X(e)}}catch(e){throw e}},tH=async()=>{try{if(!u||0===u||!g||0===g||!eD.current)return null;eP.current||(eP.current=new o.A(eD.current,u,ev),await eP.current.init(tU,tW));let e=eP.current,t=await e.getAll("BasicMenuDetails");if(Array.isArray(t)&&t.length>0)return t[0].defaultPage;return null}catch(e){return null}},tR=async(e,t)=>{e.preventDefault(),e.stopPropagation(),U(!1),W.current(null);let r=1;"open_calendar"===t?r=1:"open_checkout"===t?r=2:"open_dashboard"===t&&(r=3);let a={FromPage:r},n=l+(v||"")+"/common/setLandingPage";n?await (0,i.l9)(n,a,async e=>{try{null!==e&&null!==e.data&&e.data.responseCode===s.BL.Success&&e.data.data.success?await tF(r):s.Wp.displayErrorMessage(s.By.Fail,"Something Went Wrong")}catch{s.Wp.displayErrorMessage(s.By.Fail,"Something Went Wrong")}},()=>{s.Wp.displayErrorMessage(s.By.Fail,"Something Went Wrong")}):s.Wp.displayErrorMessage(s.By.Fail,"Default login redirect URL not configured")},tO=async()=>{let e=Date.now(),t=tj.current;if(null===t||!(e-t<3e3)){tj.current=e;try{let e={circleCssColor:"#2fcc66"};e.response=await c.A.get("https://fjfpnmdkhkfn.statuspage.io/api/v2/status.json"),e.data=e.response.data,"minor"===e.data.status.indicator?e.circleCssColor="#f1c40f":"major"===e.data.status.indicator?e.circleCssColor="#e67e22":"critical"===e.data.status.indicator&&(e.circleCssColor="#e74c3c"),document.querySelectorAll('[id="vagaro_health_status"]').forEach(t=>{let r=t.querySelector("span:not(.circle-border)");r&&e.data&&(r.textContent=e.data.status.description);let a=t.querySelector(".circle-border");a||((a=document.createElement("span")).className="circle-border inline-block w-[17px] h-[17px] rounded-full border border-border_neutral_default p-0 ml-2 mt-[1px] border-solid align-middle",t.appendChild(a)),a.style.backgroundColor=e.circleCssColor})}catch(e){}}},tZ=e=>{try{return null==e||""===e}catch(e){return!0}},tU=e=>{},tW=(e,t)=>{},tq=async e=>{try{var t;let r;if(tZ(e)||tZ(e.data)||0===u||0===g||!eD.current)return;let a=eD.current;if(eP.current){try{eP.current.close()}catch(e){}eP.current=null}await new Promise(e=>setTimeout(e,100)),await new Promise((e,t)=>
1{let r=indexedDB.deleteDatabase(a);r.onsuccess=()=>{e()},r.onerror=t=>{e()},r.onblocked=()=>{setTimeout(()=>{e()},2e3)}}),await new Promise(e=>setTimeout(e,200));let n=new o.A(a,u,ev);eP.current=n,await new Promise((e,t)=>{n.init(t=>{tU(t),e()},(e,r)=>{tW(e,r),t(Error(e))})});let l={...e.data.basicConfiguration,id:1};if(await n.addOrUpdate("BasicMenuDetails",l),e.data.videoLinkDetails&&e.data.videoLinkDetails.length>0)for(let t=0;t<e.data.videoLinkDetails.length;t++){let r={...e.data.videoLinkDetails[t],videoId:t+1};await n.addOrUpdate("VideoLinkDetails",r)}if(e.data.starredMenu?.starredList?.length>0)for(let t of e.data.starredMenu.starredList)await n.addOrUpdate("StarredMenuDetails",t);t=(0,s.UM)("s_utkn"),r=new Date(Date.now()+864e5*7).toUTCString(),document.cookie=`VagaroMenuId=${encodeURIComponent(t)}; expires=${r}; path=/`}catch(e){throw e}},tG=async()=>{try{let e=navigator.userAgent.toLowerCase(),t=e.includes("com.vagaro.iospro")||e.includes("com.vagaro.androidpro"),r=window.location.pathname.includes("ShopOwner/ChooseBusiness.aspx");if(t||r)return void eC(document.querySelector("#ulMainElement"));if(t0(),(()=>{try{let e=!1,t=(0,s.UM)("VagaroMenuId"),r=(0,s.UM)("s_utkn");return tZ(t)||t!==r||(e=!0),e}catch{return!1}})()){tY&&await tY();return}let a=l+(v||"")+"/common/menuDetails";if(!a)return void s.Wp.displayErrorMessage(s.By.Fail,"GetMenuDetails URL not configured");await (0,i.nQ)(a,"","","",async function(e){if(null!=e&&void 0!==e.data&&null!==e.data&&e.data.responseCode===s.BL.Success){e.data,await tq(e.data);let{basicConfiguration:t,starredMenu:r}=e.data.data;tQ(t,r?.starredList)}},function(e){})}catch(e){}},tK=async()=>{try{if(!b)throw Error("AzureVideoJsonLinkUrl is not defined");let e=await fetch(b);if(!e.ok)throw Error("Network response was not OK");return await e.json()}catch(e){return e instanceof Error,[]}},tJ=e=>{try{if(eB.current=e||[],ek('#ulSettingMenu li[data-starredmenu="true"]'),ek('#ulReportMenu li[data-starredmenu="true"]'),!Array.isArray(e)||0===e.length){ew("#ulSettingMenu li"),ew("#ulReportMenu li"),tp(!1),tm(!1),eE(ex);return}let t=e.filter(e=>"Setting"===e.menuType).sort((e,t)=>e.menuOrder-t.menuOrder),r=e.filter(e=>"Report"===e.menuType).sort((e,t)=>e.menuOrder-t.menuOrder);if(tp(t.length>0),tm(r.length>0),t.length>0){let e=t[0],r=e?.menuTitle?.includes("&")?e?.menuTitle?.replace("&","&"):e?.menuTitle,a=eb.find(e=>e.title===r);a&&eE(a?.url||ex),document.querySelectorAll("#ulSettingMenu li:not(#liSettingMenuHeader):not(:first-child)").forEach(e=>e.style.display="none");let n=y?'href="/merchants/settings/book/notification" value="Settings" target="_self" data-url="/merchants/settings/book/notification" data-navigate="true"':'href="/merchants/settings/book/notification" value="Settings" target="_self"';e_("#ulSettingMenu",`<li data-starredmenu="true" class="relative rounded-[8px] z-[2]"> 2 <a ${n} class='text-text_neutral_default no-underline'> 3 <span class='block text-[14px] font-normal py-[8px] px-[16px] hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-[8px]'>All Settings</span> 4 </a> 5 </li>`),t.forEach(e=>{try{if(!ej("#ulSettingMenu",'li[data-starredmenu="true"]',e.menuTitle)){let t=e?.menuTitle?.includes("&")?e?.menuTitle?.replace("&","&"):e?.menuTitle,r=eb.find(e=>e.title===t);if(r){let e=y?`href="${r.url}" value="${r.title}" target="_self" data-url="${r.url}" data-navigate="true"`:`href="${r.url}" value="${r.title}" target="_self"`,t=r?.showBadge&&r?.badgeText?`<div class='font-normal rounded-sm inline-block cursor-default bg-bkg_green_default text-text_neutral_ondark ml-1 align-middle h-5 px-1.5 py-0.5 text-[10px] leading-[14px]'>${r.badgeText}</div>`:"";e_("#ulSettingMenu",`<li data-starredmenu="true" class="relative rounded-[8px] z-[2]"> 6 <a ${e} class='text-text_neutral_default no-underline'> 7 <span class='flex items-center text-[14px] font-normal py-[8px] px-[16px] hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-[8px]'>${r.title}${t}</span> 8 </a> 9 </li>`)}}}catch(e){}})}else ew("#ulSettingMenu li"),eE(ex);if(r.length>
90){document.querySelectorAll("#ulReportMenu li:not(#liReportMenuHeader):not(:first-child)").forEach(e=>e.style.display="none");let e=y?'href="/merchants/reports/sales/salessummary" value="All Reports" target="_self" data-url="/merchants/reports/sales/salessummary" data-navigate="true"':'href="/merchants/reports/sales/salessummary" value="All Reports" target="_self"';e_("#ulReportMenu",`<li data-starredmenu="true" class="relative rounded-[8px] z-[2]"> 10 <a ${e} class='text-text_neutral_default no-underline'> 11 <span class='block text-[14px] font-normal py-[8px] px-[16px] hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-[8px]'>All Reports</span> 12 </a> 13 </li>`),r.forEach(e=>{try{if(!ej("#ulReportMenu",'li[data-starredmenu="true"]',e.menuTitle)){let t=ef.find(t=>t.title===e.menuTitle);if(t)if("Print Daily Plan"===t.title)e_("#ulReportMenu",`<li data-starredmenu="true" class="relative rounded-[8px] z-[2]"> 14 <a id="ancPrintDailyPlanCalender" href="#" value="calPrintDaily" target="_self" 15 onclick="javascript:ShowDynamicPopupForShopOwner('/ShopOwner/PrintDailyPlanPopup.aspx' ,324 , 485, 'divPrintDailyPlan' , 'Print Daily Plan'); return false;" tabindex="0" class="text-text_neutral_default no-underline"> 16 <span class='block text-[14px] font-normal py-[8px] px-[16px] hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-[8px]'>${t.title}</span> 17 </a> 18 </li>`);else{let e=y?`href="${t.url}" value="${t.title}" target="_self" data-url="${t.url}" data-navigate="true"`:`href="${t.url}" value="${t.title}" target="_self"`;e_("#ulReportMenu",`<li data-starredmenu="true" class="relative rounded-[8px] z-[2]"> 19 <a ${e} class='text-text_neutral_default no-underline'> 20 <span class='block text-[14px] font-normal py-[8px] px-[16px] hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-[8px]'>${t.title}</span> 21 </a> 22 </li>`)}}}catch(e){}})}else ew("#ulReportMenu li")}catch(e){}},tX=()=>{let e=eB.current;Array.isArray(e)&&e.length>0&&tJ(e)};(0,n.useEffect)(()=>{let e;if(_)return void tb([]);let t=["settings","reports",...es.isPayrollEnabled?["payroll"]:[],"forms","mysite","marketing","customers","checkout","calendar"],r=["calendar","checkout","customers","marketing","mysite","forms",...es.isPayrollEnabled?["payroll"]:[],"reports","settings"],a=()=>{let e;if(tw.current)return;tw.current=!0;let a=window.innerWidth,n=[...tv.current],l=(e=(e=>{let t=(()=>{let e=new Map;for(let[t,r]of Object.entries({calendar:"#liCalendar",checkout:"#liCheckout",customers:"#liCustomers",marketing:"#liMarketing",mysite:"#liMySite",forms:"#liForms",payroll:"#menupayroll",reports:"#liReports",settings:"#liSettings"})){let a=document.querySelector(r);e.set(t,a)}return e})(),r=0;for(let[a,n]of t)if(n&&!e.includes(a)&&!n.classList.contains("!hidden")){let e=n.getBoundingClientRect();e.right>r&&(r=e.right)}if(t_.current){let e=t_.current.getBoundingClientRect();e.width>0&&e.right>r&&(r=e.right)}return r})(n),(tk.current?tk.current.getBoundingClientRect().left:window.innerWidth)-e),s=a<=820?40:85;if(l<=16)for(let e of t.filter(e=>!n.includes(e)))if(l<=26)n.push(e),l+=s;else break;else if(l>96){for(let e of[...t].reverse())if(n.includes(e)){let t=l-s;if(t>46)n=n.filter(t=>t!==e),l=t;else break}}n.sort((e,t)=>r.indexOf(e)-r.indexOf(t)),tb(e=>JSON.stringify(e)!==JSON.stringify(n)?n:e),tw.current=!1},n=()=>{clearTimeout(e),e=setTimeout(a,100)},l=setTimeout(a,tC?250:150);return window.addEventListener("resize",n),()=>{clearTimeout(l),clearTimeout(e),window.removeEventListener("resize",n)}},[_,tC,es.isPayrollEnabled]),(0,n.useEffect)(()=>{if(!_&&tf.length>0&&(tf.includes("reports")||tf.includes("settings"))){let e=setTimeout(()=>{tX()},50);return()=>clearTimeout(e)}},[tf,_]);let tQ=(e,t)=>{(eo({type:"SET_MENU_VISIBILITY",payload:{showClockInClockOut:!(!tZ(e.isTimeEntryReq)&&!e.isTimeEntryReq),isPayrollEnabled:e.isGustoEnable??!1,isCCProcessingApplied:e.isCCProcessingApplied??!1,isAdmin:!1!==e.isAdmin,showPayDesk:!tZ(e.paydeskSerialNo),paydeskSerialNo:e.paydeskSerialNo??""}}),tZ(e.isTimeEntryReq)||e.isTimeEntryReq)?ey(document.querySelector("#liClockInClockOut")):(eC(document.querySelector("#liClockInClockOut")),eC(document.querySelector("#liClockInClockOutIpad"))),tZ(e.countryId)||1===e.countryId||eC(document.querySelector("#menuVagaroPayLater")),void 0!==e.isGustoEnable&&e.isGustoEnable&&ey(document.querySelector("#menupayroll")),tZ(e.userType)||void 0===e.userType||5===parseInt(e.userType)||6===parseInt(e.userType)||eC(document.querySelector("#menuEXPORTCUSTOMER")),(E||void 0!==e.isDormant&&e.isDormant||void 0!==e.isDisplayHomeInVagaroPlus&&e.isDisplayHomeInVagaroPlus)&&ey(document.querySelector("#liDormantDashboard")),(!1!==e.isAdmin||tZ(e.userType)||void 0===e.userType||5===parseInt(e.userType))&&!0!==e.isAdmin||eC(document.querySelector("#menuEXPORTCUSTOMER")),!0===e.isAdmin&&eC(document.querySelector("#menuINVITEALLCUSTOMER")),!1===e.isAdmin&&eC(document.querySelector("#liImportInventroy")),tK().then(e=>{if(Array.isArray(e)&&e.length>0){let t=window.location.pathname+window.location.search,r=window.location.pathname.replace(/\/v[23](\/|$)/i,"$1");("/shopowner/checkout.aspx"===r.toLowerCase()||"/merchants/checkout/v3"===r.toLowerCase())&&(r="/users/customercheckout.aspx");let a=((e,t,r)=>{try{if(!Array.isArray(e)||!t||!r)return[];let a=t.toLowerCase(),n=r.toLowerCase();return e.filter(e=>{let t=e?.PageLink?.toLowerCase();return t===a&&1===e.PageModule||t===n&&2===e.PageModule}).sort((e,t)=>
22e.PageID===t.PageID?e.VideoTitle.localeCompare(t.VideoTitle):e.PageID-t.PageID).map(e=>({videoID:String(e.VideoID),pageID:e.PageID,pageName:e.PageName,videoTitle:e.VideoTitle,videoLink:e.VideoLink,mobileLink:e.MobileLink??""}))}catch{return[]}})(e,r,t.replace("FromMenu=1&",""));(null==a||a.length<=0)&&(eC(document.querySelector("#liVideoImg")),eC(document.querySelector("#liVideoImgIpad")))}}).catch(e=>{}),tZ(t)||tJ(t)},tY=async()=>{try{if(!f||!eD.current||!ev)return;eP.current||(eP.current=new o.A(eD.current,u,ev));let e=eP.current;await new Promise((t,r)=>{e.init(async a=>{tU(a);try{let[r,a]=await Promise.all([e.getAll("BasicMenuDetails"),e.getAll("StarredMenuDetails")]);if(!Array.isArray(r)||0===r.length)return void t();tQ(r[0],a),t()}catch(e){r(e)}},(e,t)=>{tW(e,t),r(Error(e))})})}catch(e){}},t1=()=>{try{let e=window.location.pathname.toLowerCase();for(let[t,r]of Object.entries({"/merchants/settings/business/home":"Home","/merchants/home":"Home","/merchants/marketing":"Marketing","/merchants/promotions":"Marketing","/shopowner/managevagaroproducts.aspx":"Vagaro Store","/merchants/forms":"Forms","/merchants/settings/premiumfeature/form":"Forms","/merchants/refer-friends":"Refer a Friend","/merchants/settings/thingswesell/invoices/v3":"Checkout","/merchants/calendar/v3":"Calendar","/merchants/reports":"Reports","/merchants/settings":"Settings","/merchants/checkout/v3":"Checkout","/merchants/customers/v3":"Customers","/shopowner/":"Help","/merchants/support":"Help","/shopowner/businesscreated.aspx":"Help","/merchants/vagaro-health-status":"Help"}))if(e.includes(t))return r;if(["/shopowner/managevagaroproducts.aspx"].some(t=>e.includes(t.toLowerCase())))return"Help";return null}catch(e){return null}},t0=()=>{let e=t1();e&&ea(e)};(0,n.useEffect)(()=>{(async()=>{try{if(u&&g){let e=`${u}_${g}`;if(eT.current===e)return;eT.current=e,eD.current="VagaroMenu_"+u+"_"+g,await tG();let t=await tH();null!=t&&t>0?(X(t),eV.current=!0):r?.DefaultPage!==void 0&&X(r?.DefaultPage)}}catch(e){r?.DefaultPage!==void 0&&X(r?.DefaultPage)}})()},[u,g]);let t5=async()=>{try{if(!u||!g||!eD.current)return;eP.current||(eP.current=new o.A(eD.current,u,ev),await eP.current.init(tU,tW));let e=eP.current,t=await e.getAll("StarredMenuDetails");if(Array.isArray(t)){let e=t.map(e=>({menuTitle:e.menuTitle,menuType:e.menuType,menuOrder:e.menuOrder}));tJ(e)}else tJ([])}catch(e){}};(0,n.useEffect)(()=>{let e=async()=>{try{u&&g&&eD.current&&C&&setTimeout(async()=>{(u??0)>0&&(g??0)>0&&await t5()},100)}catch(e){}};null!=C&&e()},[C,u,g]),(0,n.useEffect)(()=>{eV.current||r?.DefaultPage===void 0||X(r.DefaultPage)},[r?.DefaultPage]);let t2=(0,n.useRef)(0),t8=(0,n.useRef)(null),t4=(0,n.useRef)(null),t3=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=e=>{t4.current&&!t4.current.contains(e.target)&&t3.current&&!t3.current.contains(e.target)&&(eu({type:"isShowBusinessList",payload:!1}),eu({type:"businessList",payload:[]}),eu({type:"searchBusiness",payload:""}))};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let t6=()=>{let e=navigator.userAgent||navigator.vendor||window.opera;return/android/i.test(e)?"Android":/iPad|iPhone|iPod/.test(e)&&!window.MSStream?"iOS":/PostmanRuntime/.test(e)?"Postman":/Chrome|Safari|Firefox|Edge|Opera/.test(e)?"Browser":"Unknown"},t7=l+(v||"")+"/common/clockoutexist";t7||s.Wp.displayErrorMessage(s.By.Fail,"CheckIsClockOutExists URL not configured");let t9=async()=>new Promise(e=>{(0,i.l9)(t7,"",function(t){t&&t.data&&null!==t.data.data&&void 0!==t.data.data?e(t.data.data):(s.Wp.displayErrorMessage(s.By.Fail,"Something went wrong. Please try again."),e(!1))},function(e){try{"object"==typeof e&&null!==e&&"data"in e&&e&&e.data&&null!==e.data.data&&e.data.data,s.Wp.displayErrorMessage(s.By.Fail,"Something went wrong. Please try again.")}catch{s.Wp.displayErrorMessage(s.By.Fail,"Something went wrong. Please try again.")}})}),re=async e=>{try{let t=(e?.dataBusinessName??"").replace(/&/g,"|amp|").replace(/#/g,"|hash|"),r=e?.isActive===void 0?void 0:e?.isActive?"True":"False",n=e?.dataIsDelayPayment===void 0?void 0:e?.dataIsDelayPayment?"True":"False",l="/ShopOwner/ChooseBusiness.aspx?businessId="+e?.merchantOriginal+"&businessName="+t+"&Count="+ec.totalBusinessCount+"&IsActive="+r+"&IsDelayPayment="+n+"&DelayPaymentDueDate="+e?.dataDelayPaymentDueDate+"&UserType="+e?.dataUserType+"&IsUnderMaintenance="+ec.isUnderMaintenance;await (0,i.l9)(t7,"",function(t){t&&t.data&&null!==t.data.data&&void 0!==t.data.data?t.data.data?a?.({click:em.businessClockInOut,data:{PreparedUrl:l,selectedBusinessData:e,totalBusinessCount:ec.totalBusinessCount}}):rt(e):s.Wp.displayErrorMessage(s.By.Fail,"Something went wrong. Please try again.")},function(e){try{"object"==typeof e&&null!==e&&"data"in e&&e&&e.data&&null!==e.data.data&&e.data.data,s.Wp.displayErrorMessage(s.By.Fail,"Something went wrong. Please try again.")}catch{s.Wp.displayErrorMessage(s.By.Fail,"Something went wrong. Please try again.")}})}catch(e){s.Wp.displayErrorMessage(s.By.Fail,"Something went wrong. Please try again.")}},rt=async e=>{var t;let{id:r,dataBusinessName:a,merchantOriginal:n,isActive:l,dataIsDelayPayment:i,dataUserType:o,dataDelayPaymentDueDate:c,groupId:u}=e;if(H===r)return;eu({type:"initialBusinessName",payload:(t=e?.text)&&""!==t.trim()&&t.replace(/\s*\([^)]*\s-\s[^)]*,\s*[^)]*\)\s*$/,"").trim()||t}),eu({type:"isShowBusinessList",payload:!1}),localStorage.removeItem("CreditCardSubMenuTime");let d=(a??"").replace(/&/g,"|amp|").replace(/#/g,"|hash|"),h=(0,s.Dx)("rpt_data");(0,s.Iu)(h)||(0,s.Iu)(h.MerchantId)||(h.MerchantId=r,h.grouptoken=u??"us02"),(0,s.My)("rpt_data",JSON.stringify(h)),localStorage.removeItem("PayProMiniDevice");let p=window.location.host.split(".")[0],g=u?u?.toLowerCase():"us02",m=window.location.origin,x=["stage","lp"].find(e=>p.includes(e));if(x){let e=e=>e.replace(x,"").toLowerCase();e(p)!==e(g)&&(m=window.location.origin.replace(p,x+e(g)))}else p.match(/dev|local/)||p.toLowerCase()===g.toLowerCase()||(m=window.location.origin.replace(p,g));let f=void 0===l?void 0:l?"True":"False",b=void 0===i?void 0:i?"True":"False";if(!1===s.Wp.isNullEmptyOrWhiteSpace(window.location.pathname)){localStorage.removeItem("IsShowBellNotification"),localStorage.removeItem("lblFeatureCount"),localStorage.removeItem("lblFeatureCountUpdate"),localStorage.removeItem("lblVCNotificationCount"),localStorage.removeItem("FeatureIds"),localStorage.removeItem("vcnoticlose"),localStorage.removeItem("notiFirstOpen"),localStorage.removeItem("NotificationSyncTime"),localStorage.removeItem("notificationCount"),localStorage.removeItem("themeid"),localStorage.removeItem("s_themeid");let e=window.location.pathname;
22("/merchants/settings/business/profile"===(e=e.replace(/\/v3(?=\/?$)/,""))||"/merchants/settings/business/facility"===e||"/merchants/settings/lookandfeel/photogallery"===e)&&(e+="?FromMenu=1");let t=encodeURI(m+"/ShopOwner/ChooseBusiness.aspx?returnurl="+e+"&businessId="+n+"&businessName="+d+"&Count="+ec.totalBusinessCount+"&IsActive="+f+"&IsDelayPayment="+b+"&DelayPaymentDueDate="+c+"&UserType="+o+"&IsUnderMaintenance="+ec.isUnderMaintenance);window.location.href=t}else localStorage.removeItem("IsShowBellNotification"),localStorage.removeItem("lblFeatureCount"),localStorage.removeItem("lblFeatureCountUpdate"),localStorage.removeItem("lblVCNotificationCount"),localStorage.removeItem("FeatureIds"),localStorage.removeItem("vcnoticlose"),localStorage.removeItem("notiFirstOpen"),localStorage.removeItem("NotificationSyncTime"),localStorage.removeItem("notificationCount"),localStorage.removeItem("themeid"),localStorage.removeItem("s_themeid"),window.location.href=m+"/ShopOwner/ChooseBusiness.aspx?businessId="+n+"&businessName="+d+"&Count="+ec.totalBusinessCount+"&IsActive="+f+"&IsDelayPayment="+b+"&DelayPaymentDueDate="+c+"&UserType="+o+"&IsUnderMaintenance="+ec.isUnderMaintenance},rr=async(e,t,r,a,n)=>{t8.current&&t8.current.cancel("Operation canceled due to new request."),t8.current=c.A.CancelToken.source(),eu({type:"isShowBusinessList",payload:!0}),eu({type:"loadMore",payload:!0});let o=l+(v||"")+"/common/getMerchants";o?await (0,i.S7)(o,O,H,R,((e="",t=1,r=5,a,n=0,l)=>({searchText:e,pageNumber:t,pageSize:r,module:"Merchant",userType:a,multiLocationGroupId:n,device:t6()}))(e,t,r,a,n,t6()),e=>{((e,t)=>{try{if((0,s.Iu)(e)||(0,s.Iu)(e.data)||(0,s.Iu)(e.data.data)||e.data.responseCode!==s.BL.Success)eu({type:"hasMore",payload:!1});else{var r,a;let n,l;eu({type:"totalBusinessCount",payload:e?.data?.data?.total_Count});let s=(r=e?.data?.data?.result||[],a=ec.businessList,n=1===t?[]:[...a],l={},1!==t&&a.forEach(e=>{e.isMultilocationGroup&&void 0!==e.multilocationGroupId&&(l[e.multilocationGroupId]={...e,children:e.children||[]})}),r.forEach(e=>{e.isMultilocationGroup&&void 0!==e.multilocationGroupId&&(l[e.multilocationGroupId]={...e,children:[]})}),r.forEach(e=>{if(!e.isMultilocationGroup&&0!==e.multilocationGroupId&&void 0!==e.multilocationGroupId){let t=l[e.multilocationGroupId];if(t)t.children.push(e);else{let t={...e,isMultilocationGroup:!0,children:[]};l[Number(e.id)]=t,n.push(t)}}}),r.forEach(e=>{e.isMultilocationGroup&&void 0!==e.multilocationGroupId?n.push(l[e.multilocationGroupId]):0===e.multilocationGroupId&&n.push(e)}),Object.values(l).forEach(e=>{n.includes(e)||n.push(e)}),n),i=0;if(1===t){i=s.reduce((e,t)=>{let r=t.children?t.children.length:0;return e+1+r},0);let e=(s||[]).map(e=>({...e,text:e?.text&&""!==e.text.trim()?e.text.replace(/[^a-zA-Z0-9-()" ]|\\+/g,""):""})).filter(e=>""!==e.text.trim());eu({type:"businessList",payload:e})}else{let e=ec.businessList;
22s.forEach(t=>{let r=e.find(e=>e.id===t.id);if(r){if(t.children&&Array.isArray(t.children)){let e=t.children.filter(e=>!r.children?.some(t=>t.id===e.id));e.length>0&&(r.children=[...r.children||[],...e])}}else e.push(t)}),i=e.reduce((e,t)=>{let r=t.children?t.children.length:0;return e+1+r},0);let t=e.map(e=>({...e,text:e.text.replace(/[^a-zA-Z0-9-()" ]/g,"").replace(/\\/g,"")}));eu({type:"businessList",payload:t})}(i===e?.data?.data?.total_Count||e?.data?.data?.total_Count<ec.pageSize||e?.data?.data?.more===!1)&&eu({type:"hasMore",payload:!1})}}catch{eu({type:"hasMore",payload:!1}),s.Wp.displayErrorMessage(s.By.Fail,"getBusinessListOnSuccess Something went wrong. Please try again.")}})(e,t),eu({type:"loadMore",payload:!1})},e=>{if(c.A.isCancel(e));else try{void 0!==e&&void 0!==e.data&&null!==e.data&&void 0!==e.data.data&&e.data.data,eu({type:"hasMore",payload:!1}),s.Wp.displayErrorMessage(s.By.Fail,"getBusinessListOnError Something went wrong. Please try again.")}catch{eu({type:"hasMore",payload:!1}),s.Wp.displayErrorMessage(s.By.Fail,"getBusinessListOnError Something went wrong. Please try again.")}},t8.current?.token):s.Wp.displayErrorMessage(s.By.Fail,"GetMerchantsList URL not configured")};function ra(e,t){try{if(e&&e.length>8){let r=e.replace(/\D/g,""),a={0:"(",3:") ",6:"-"};t&&t>0&&(2===t&&10===r.length?r="0"+r:4===t&&9===r.length&&(r="0"+r)),t&&t>0&&(2===t?a={3:" ",7:" "}:3===t?a={3:"-",6:"-"}
22:4===t&&(a={0:"(",2:") ",6:" "}));let n="";for(let e=0;e<r.length;e++)n+=(a[e]||"")+r[e];return n}return e||""}catch(t){return e||""}}let rn=e=>e.filter(e=>void 0!==e.ID&&void 0!==e.FN).map(e=>{let t,r,a,n;return n={Title:e.FN??"",SubTitle:P?(r=(t=e.C||e.D||e.N)?ra(t,f):"",a=e.E||"",r&&a?`${a} ⢠${r}`:r||a):"",Url:e.EncCusID,keyword:"",type:"Customer",icon:"",plainId:e.ID},P&&(n.icon=""===e.p&&""===I?"fa-user":I+"/155x155/"+e.p),n}),rl=(0,n.useRef)(null),rs=(0,n.useRef)(null),ri=()=>{e$.current=[]},ro=async()=>{if(e$.current.length>0)return e$.current;let e=[];return e$.current=e=V?await eh()||[]:"object"==typeof localStorage&&void 0!==localStorage[tA]&&localStorage[tA].length>0?JSON.parse(localStorage[tA]||[]):[],e},rc=async()=>{let e=await m();if(!e||!(e.length>0))return[];{let t=e.filter(e=>"Connected Vagaro Devices"!==e.Title&&"Rate Vagaro"!==e.Title);return 1!==f&&(t=t.filter(e=>"Buy Now, Pay Later"!==e.Title)),t}};(0,n.useEffect)(()=>{let e=async()=>{rs.current=new ei(await ro(),{includeScore:!0,threshold:.35,ignoreLocation:!0,keys:[{name:"FN",weight:.9},...P?[{name:"C",weight:.5},{name:"D",weight:.5},{name:"N",weight:.5},{name:"E",weight:.6}]:[]]})};(async()=>{rl.current=new ei(await rc(),{includeScore:!0,threshold:.35,ignoreLocation:!0,keys:[{name:"title",weight:.9},{name:"keyword",weight:.5},{name:"subTitle",weight:.35}]})})(),e()},[eR]);let ru=(e="")=>e.toLowerCase().split("|").map(e=>e.trim()).filter(Boolean),rd=(e,t)=>{if(!e||!t)return!1;let r=e.toLowerCase().split(/\s+/);return t.toLowerCase().split(/\s+/).every(e=>r.some(t=>t.startsWith(e)))},rh=(e,t)=>t.every(t=>e.startsWith(t)),rp=(0,n.useCallback)(async e=>{let t=e.trim();if(0===t.length?eX(!1):eX(!0),t.length>=3){let e=t.toLowerCase().trim().split(/\s+/).filter(Boolean),r=await rc(),a=((e,t)=>{if(!t||0===t.length)return[];let r=t.join(" ").toLowerCase(),a=[];for(let t of e){if(!t?.FN&&!t?.E&&!t?.ID)continue;let e=!1;if(t.FN&&(e=rd(t.FN,r)),!e&&P&&(t.E||"").toLowerCase().indexOf(r)>-1&&(e=!0),!e&&P){let a=r.replace(/ /g,"").replace(/\(/g,"").replace(/\)/g,"").replace(/-/g,"");if(a){let r=ra(t.C,f).replace(/ /g,"").replace(/\(/g,"").replace(/\)/g,"").replace(/-/g,""),n=ra(t.D,f).replace(/ /g,"").replace(/\(/g,"").replace(/\)/g,"").replace(/-/g,""),l=ra(t.N,f).replace(/ /g,"").replace(/\(/g,"").replace(/\)/g,"").replace(/-/g,"");(r.indexOf(a)>-1||n.indexOf(a)>-1||l.indexOf(a)>-1)&&(e=!0)}}e&&a.push(t)}return a})(await ro(),e),n=((e,t)=>{if(!t||0===t.length)return[];let r=[],a=[],n=[];if(e.length>0)for(let l of e){if(rd(l.Title,t.join(" "))){r.push(l);continue}if(l.keyword&&rh(ru(l.keyword).join(" ").toLowerCase(),t)){a.push(l);continue}if(l.SubTitle&&rh(l.SubTitle.toLowerCase(),t)){n.push(l);continue}}return[...r,...a,...n]})(r,e),l=rn(a);if(0===n.length&&0===a.length){let e=rl.current?.search(t)??[],r=rs.current?.search(t)??[],a=e.map(e=>e.item);l=rn(r.map(e=>e.item)),eO([...a.map(e=>({Title:e.Title??e.title??"",SubTitle:e.SubTitle??e.subTitle??"",Url:e.Url??e.url??"",type:e.type??"",icon:e.icon,index:e.index})),...l])}else eO([...n.map(e=>({Title:e.Title??e.title??"",SubTitle:e.SubTitle??e.subTitle??"",Url:e.Url??e.url??"",type:e.type??"",icon:e.icon,index:e.index})),...l]);eU(-1)}else eO((await x("")).map(e=>({Title:e.Title??e.title??"",SubTitle:e.SubTitle??e.subTitle??"",Url:e.Url??e.url??"",type:e.type??"",icon:e.icon,index:e.index}))),eU(-1);eq(!0)},[P,I,V]);(0,n.useEffect)(()=>()=>{tV.current&&(clearTimeout(tV.current),tV.current=null)},[]);let rg=async e=>{if(0!==eR.length){if("Escape"===e.key){rm(e),tI.current?.blur(),tL.current?.blur();return}if("ArrowDown"===e.key&&(e.preventDefault(),eU(e=>(e+1)%eR.length)),"ArrowUp"===e.key&&(e.preventDefault(),eU(e=>-1===e||0===e?eR.length-1:e-1)),"Enter"===e.key&&eZ>=0){if(eF.length>=3){let e=eR[eZ],{index:t,...r}=e;"Customer"!==e.type?(await p({...r,type:"Recent"}),M&&M({type:"menu",url:String(e?.Url),id:String(e?.Url)})):M&&M({type:"customer",url:String(e.Url),id:String(e?.Url),plainId:String(e?.plainId)})}else{let e=eR[eZ];await p(e),M&&M({type:"menu",url:String(e?.Url),id:String(e?.Url)})}rf()}}},rm=e=>{tT.current&&tT.current.contains(e.target)&&(eK(!0),eX(!1),eq(!1),eU(-1),ri())},rx=async e=>{e.stopPropagation(),e.preventDefault(),eH(""),eX(!1),tI.current&&tI.current.blur(),tL.current&&tL.current.blur(),eO((await x("")).map(e=>({Title:e.Title??e.title??"",SubTitle:e.SubTitle??e.subTitle??"",Url:e.Url??e.url??"",type:e.type??"",icon:e.icon,index:e.index}))),eq(!0)},rf=async()=>{document.body.classList.remove("search-show"),eq(!1);let e=!!tI.current?.value||!!tL.current?.value;eX(e),eK(!e)},rb=(e,t)=>{let r=e.endsWith("s")?e:e+"s";return t.includes(r)?r:e};(0,n.useEffect)(()=>{r?.UserType!=="6"&&u&&u>0&&F()},[u,r]),(0,n.useEffect)(()=>{let e=e=>{let t=navigator.platform.toUpperCase().includes("MAC");(t&&e.metaKey&&"k"===e.key.toLowerCase()||!t&&e.ctrlKey&&"k"===e.key.toLowerCase())&&(e.preventDefault(),ty(!0),setTimeout(()=>{let e=eQ?tI:tL;e.current&&(e.current.focus(),rp(e.current.value))},50))};document.addEventListener("keydown",e),(async()=>{try{let e=await h(T);e&&await d(e);let t=await x("");eO(t.map(e=>({Title:e.Title??e.title??"",SubTitle:e.SubTitle??e.subTitle??"",Url:e.Url??e.url??"",type:e.type??"",icon:e.icon,index:e.index}))),eU(-1)}catch(e){}})();let t=e=>{let t=tI.current&&tI.current.contains(e.target)||tL.current&&tL.current.contains(e.target),r=tP.current&&tP.current.contains(e.target),a=tT.current&&tT.current.contains(e.target),n=tD.current&&tD.current.contains(e.target);if(!t&&!n&&!r&&!a){document.body.classList.remove("search-show"),eq(!1);let e=!!tI.current?.value||!!tL.current?.value;eX(e),eK(!e)}};document.addEventListener("mousedown",t);let r=document.querySelector(".liVagaroSearchMain"),a=document.querySelector(".stickySearch-setting");if(r&&a){let e=r.getBoundingClientRect();e.width>0&&e.height>0?a.style.display="none":a.style.display="block"}return()=>{document.removeEventListener("keydown",e),document.removeEventListener("mousedown",t)}},[eQ,rp]);
22let[rv,rC]=(0,n.useState)(null),[ry,r_]=(0,n.useState)(null),rk=()=>{if("u"<typeof window)return!1;let e=window.matchMedia("(pointer: coarse)").matches,t=window.matchMedia("(any-pointer: coarse)").matches,r=navigator.maxTouchPoints>0;return e||t&&r},rw=()=>"u">typeof window&&window.matchMedia("(any-hover: hover)").matches,[rj,rN]=(0,n.useState)(rk),[rS,rM]=(0,n.useState)(rw);(0,n.useEffect)(()=>{if("u"<typeof window)return;let e=[window.matchMedia("(pointer: coarse)"),window.matchMedia("(any-pointer: coarse)"),window.matchMedia("(any-hover: hover)")],t=()=>{rN(rk()),rM(rw())};e.forEach(e=>e.addEventListener("change",t)),window.addEventListener("focus",t),document.addEventListener("visibilitychange",t);let r=e=>{K.current=e.pointerType,"mouse"===e.pointerType&&(G.current=Date.now(),rM(e=>!e||e))};return document.addEventListener("pointermove",r),document.addEventListener("pointerdown",r),()=>{e.forEach(e=>e.removeEventListener("change",t)),window.removeEventListener("focus",t),document.removeEventListener("visibilitychange",t),document.removeEventListener("pointermove",r),document.removeEventListener("pointerdown",r)}},[]);let rI=(0,n.useRef)(rC);rI.current=rC,W.current=r_;let rL=(0,n.useRef)(rj);rL.current=rj;let rD=(0,n.useRef)(rS);rD.current=rS;let rP=rj?e=>{e.stopPropagation()}:void 0,rT=e=>{if(!e)return;e.classList.add("!hidden");let t=e.closest("li")||e.parentElement,r=()=>{e.classList.remove("!hidden"),t?.removeEventListener("mouseleave",r)};t?.addEventListener("mouseleave",r,{once:!0})},rV=(0,n.useRef)(!1),rB=(0,n.useRef)(rv);rB.current=rv;let rA=(0,n.useRef)(Z);rA.current=Z;let rE=(0,n.useRef)(U);return rE.current=U,(0,n.useEffect)(()=>{let e=e=>{null===rB.current&&!rA.current||e.target?.closest("[data-topmenu]")||(rC(null),r_(null),W.current(null),rE.current(!1))};return document.addEventListener("touchstart",e,!0),document.addEventListener("mousedown",e,!0),()=>{document.removeEventListener("touchstart",e,!0),document.removeEventListener("mousedown",e,!0)}},[]),{MenuSettingData:r,ModuleType:v,BadgeCount:k,UserName:w,UserImage:j,IsConnectEnabled:N,MySiteURL:S,settingsNavUrl:eA,AzureVideoJsonLinkUrl:b,BCountryID:f,openProfile:Z,setopenProfile:U,handleClick:(e,t,r="",a,n=!1)=>{let l=e&&"#"!==e;if(a&&(a.metaKey||a.ctrlKey)&&l){if(("_blank"===t||"vagaro_mysite"===r||"mysite"===r)&&A){a&&(a.preventDefault(),a.stopPropagation());return}window.open(e,"_blank");return}if("_blank"===t||"vagaro_mysite"===r||"mysite"===r){if(A){a&&(a.preventDefault(),a.stopPropagation());return}rL.current&&(rI.current(null),W.current(null)),window.open(e,t||"_blank")}else if(l&&y){if(q.current=!1,n&&"touch"===K.current)return;rL.current&&rI.current(null),y(e),tz()}if(void 0!==r&&""!==r){tE(r);let e=Object.values(em).includes(r);rL.current&&e&&(rI.current(null),W.current(null))}},openAtLoginSelection:e=>{let t=!1;return"open_calendar"===e&&1===J||"open_checkout"===e&&2===J?t=!0:"open_dashboard"===e&&3===J&&(t=!0),t},openAtLogin:tR,isCCProcessingApplied:es.isCCProcessingApplied,isAdmin:es.isAdmin,isPayrollEnabled:es.isPayrollEnabled,showClockInClockOut:es.showClockInClockOut,isConnectActive:es.isConnectActive,showPayDesk:es.showPayDesk,LoadNotificationOnClick:()=>{a&&a({click:"notification"})},LoadVagaroConnectOnClick:()=>{eo({type:"SET_CONNECT_ACTIVE",payload:!0}),ea(null),a&&a({click:"vagaroConnect"})},updateHealth:tO,profileImage:e=>null!=e&&""!==e?e:"",showTutorialPopup:Q,setShowTutorialPopup:Y,OpenControlById:tE,handleCloseProfile:e=>{e&&e.target===e.currentTarget||(U(!1),W.current(null))},OnTopMenuClick:a,IsDormantEnable:A,IsDisplayHome:E,connectIconRef:ez,getActiveMenuClasses:tN,dropdownRef:t4,toggleButtonRef:t3,state:ec,handleBusinessListOnClick:e=>{if(e.preventDefault(),!(0,s.Iu)(r?.MultiLocationBusinessCount)&&r?.MultiLocationBusinessCount===1&&r?.UserType!=="6")if(r?.SiteURL&&r?.VagaroURL){window.location.href=r?.SiteURL+"/"+r?.VagaroURL;return}else{window.location.href=window.location.protocol+"//"+window.location.host+"/detail.aspx?IsCustomWebSite=true&BusinessID="+u;return}ec.isShowBusinessList?eu({type:"isShowBusinessList",payload:!1}):(eu({type:"hasMore",payload:!0}),eu({type:"pageIndexUpdate",payload:1}),eu({type:"searchBusiness",payload:""}),eu({type:"isShowBusinessList",payload:!0}),rr("",1,5,ec.loginUserType,0))},handleScroll:e=>{let t=e.target;if(t.scrollHeight-t.scrollTop<=t.clientHeight+.3&&ec.hasMore&&(eu({type:"pageIndex"}),rr(ec.searchBusiness,ec.pageIndex+1,5,ec.loginUserType,0),ec.businessList.length>0)){let e=ec.businessList[ec.businessList.length-1];e.children&&e.children.length>0?t2.current=e.children[e.children.length-1].multilocationGroupId||0:t2.current=e.multilocationGroupId||0}},handleBusinessSearch:e=>{let t=e.target.value;rr(t,1,5,ec.loginUserType,0),eu({type:"hasMore",payload:!0}),eu({type:"searchBusiness",payload:t}),eu({type:"pageIndexUpdate",payload:1})},handleBusinessOnChanges:e=>{eu({type:"isShowBusinessList",payload:!1}),es.showClockInClockOut?re(e):rt(e)},menuConfig:ee,shouldShowBusinessDropdown:ed,activeIndex:eZ,searchPriority:eL,typeLabels:eI,sortRecords:(e,t)=>e.sort((e,r)=>{let a=rb(e.type,t),n=rb(r.type,t),l=t.indexOf(a),s=t.indexOf(n);return(-1===l?t.length:l)-(-1===s?t.length:s)}).map((e,t)=>({...e,index:t})),inputRef:tI,searchValue:eF,handleSearch:e=>{let t=e.target.value;
22eH(t),tV.current&&(clearTimeout(tV.current),tV.current=null),tV.current=setTimeout(()=>{tV.current=null,rp(t)},300)},setIsDropdownVisible:eq,handleFocus:e=>{eK(!1),eq(!0),0==eF.length?eX(!1):eX(!0)},handleBlur:rm,handleKeyDown:rg,isClearSearchVisible:eJ,showShortCutKey:eG,isMac:tB,isDropdownVisible:eW,mobileInputRef:tL,searchResults:eR,clearSearch:rx,closeAndResetSearch:rf,OnSearchSelection:M,clearSearchRef:tP,GlassDesign:L,GradientDesign:D,showMoreRef:tT,activeMenuItem:er,refreshStarredMenu:tX,overflowedItems:tf,setOverflowedItems:tb,isSearchMenuOpen:tC,setSearchMenuOpen:ty,moreMenuRef:t_,menuItemsConfig:tS,isItemOverflowed:tM,rightSideRef:tk,isHorizontal:eQ,isMenuExpand:e5,setMenuExpand:e2,isGradientDesign:e8,isGlassDesign:e3,expandedCategories:e7,setExpandedCategories:e9,isSearching:te,setIsSearching:tt,WithoutProIpadTablate:e1,showLogoutPopup:en,cancelLogout:()=>{el(!1)},confirmLogout:()=>{el(!1),localStorage.removeItem("CreditCardSubMenuTime"),localStorage.removeItem("IsShowBellNotification"),localStorage.removeItem("lblFeatureCount"),localStorage.removeItem("lblFeatureCountUpdate"),localStorage.removeItem("lblVCNotificationCount"),localStorage.removeItem("PayProMiniDevice"),localStorage.removeItem("FeatureIds"),localStorage.removeItem("vcnoticlose"),localStorage.removeItem("notiFirstOpen"),localStorage.removeItem("NotificationSyncTime"),localStorage.removeItem("notificationCount"),localStorage.removeItem("themeid"),localStorage.removeItem("s_themeid"),window.location.href="/ShopOwner/ScreenLock.aspx"},customerListBlank:ri,settingMenuRef:tr,reportMenuRef:ta,settingGlassHeight:tn,reportGlassHeight:ts,settingMenuMaxHeight:to,reportMenuMaxHeight:tu,hasSettingStarred:th,hasReportStarred:tg,handleVeraChatBox:e=>{z?.(e),rf()},EnableVeraChatBox:$,openMenu:rv,openSubMenu:ry,isTouchDevice:rj,openMenuOnTouch:e=>rj?t=>{t.stopPropagation(),q.current=!0,rC(t=>(t!==e&&r_(null),e))}:void 0,openMenuOnHover:e=>rj?t=>{"touch"!==t.pointerType&&(G.current=Date.now(),rC(t=>(t!==e&&r_(null),e)))}:void 0,closeMenuOnHover:e=>rj?t=>{"touch"!==t.pointerType&&(G.current=Date.now(),rC(t=>t===e?null:t),r_(null))}:void 0,stopPropOnTouch:rP,closeMenuOnClick:e=>{let t=Date.now()-G.current<2e3;(!rj||rS||t)&&e.target!==e.currentTarget&&(rC(null),r_(null),rj||rT(e.currentTarget))},openSubMenuOnTouch:e=>rj?t=>{t.stopPropagation(),t.preventDefault(),rV.current=!0,r_(t=>t===e?null:e)}:void 0,subMenuParentOnClick:e=>t=>{if(t.preventDefault(),rV.current){rV.current=!1,t.stopPropagation();return}e(t)},touchSubMenuClasses:e=>rj&&ry===e?"!opacity-100 !visible":"",closeSubMenuOnClick:e=>{if((!rj||rS)&&e.target!==e.currentTarget&&(r_(null),rC(null),!rj)){let t=e.currentTarget,r=t.closest("li")?.closest("ul");rT(t),rT(r)}}}})(e),tI=e=>{switch(e){case"calendar":return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 448 512",fill:"currentColor",children:(0,a.jsx)("path",{d:"M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L64 64C28.7 64 0 92.7 0 128l0 16 0 48L0 448c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-256 0-48 0-16c0-35.3-28.7-64-64-64l-40 0 0-40c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L152 64l0-40zM48 192l352 0 0 256c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-256z"})});case"checkout":return 2===$?(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{d:"M18.125 10C18.125 5.51172 14.4883 1.875 10 1.875C5.51172 1.875 1.875 5.51172 1.875 10C1.875 14.4883 5.51172 18.125 10 18.125C14.4883 18.125 18.125 14.4883 18.125 10ZM0 10C0 4.47656 4.47656 0 10 0C15.5234 0 20 4.47656 20 10C20 15.5234 15.5234 20 10 20C4.47656 20 0 15.5234 0 10ZM6.875 10.3125C6.53125 10.3125 6.25 10.0312 6.25 9.6875C6.25 9.34375 6.53125 9.0625 6.875 9.0625H6.98828C6.37109 6.90625 7.98438 4.6875 10.2969 4.6875H10.3828C11.1523 4.6875 11.8984 4.9375 12.5117 5.39844L13.0664 5.8125C13.4805 6.125 13.5664 6.71094 13.2539 7.125C12.9414 7.53906 12.3555 7.625 11.9414 7.3125L11.3867 6.89844C11.0938 6.67969 10.7422 6.5625 10.3789 6.5625H10.293C9.17969 6.5625 8.42578 7.69141 8.84766 8.71875L8.94531 8.95312C8.96094 8.98828 8.97266 9.02344 8.98828 9.0625H11.875C12.2188 9.0625 12.5 9.34375 12.5 9.6875C12.5 10.0312 12.2188 10.3125 11.875 10.3125H9.25391C9.30469 11.2266 9.05078 12.1445 8.50781 12.9141L8.36328 13.125H12.8125C13.332 13.125 13.75 13.543 13.75 14.0625C13.75 14.582 13.332 15 12.8125 15H6.5625C6.21484 15 5.89062 14.8047 5.73047 14.4961C5.57031 14.1875 5.59375 13.8125 5.79297 13.5273L6.97266 11.8438C7.28906 11.3945 7.42578 10.8477 7.375 10.3164L6.875 10.3125Z"})}):(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{d:"M11.7341 9.51556L8.83016 8.66917C8.4682 8.54806 8.18608 8.14479 8.18608 7.74155C8.18608 7.21856 8.58931 6.77402 9.03247 6.77402H10.8464C11.1285 6.77402 11.4107 6.85517 11.6529 7.0162C11.8951 7.17722 12.2172 7.13736 12.4195 6.9350
225L12.9026 6.49186C13.226 6.20972 13.1847 5.72666 12.8227 5.48443C12.2585 5.08119 11.613 4.87887 10.9675 4.87887V4.1935C10.9675 3.87146 10.6854 3.54938 10.3221 3.54938H9.67794C9.3146 3.54938 9.03247 3.87146 9.03247 4.1935V4.83897C7.50068 4.87888 6.29093 6.16984 6.29093 7.74155C6.29093 8.99258 7.09742 10.161 8.26588 10.4844L11.1698 11.3707C11.5318 11.4918 11.774 11.8552 11.774 12.2984C11.774 12.8227 11.4107 13.226 10.9276 13.226H9.11232C8.83018 13.226 8.58933 13.1847 8.34711 13.0237C8.06497 12.8627 7.74155 12.9025 7.54061 13.1048L7.05614 13.548C6.73409 13.8302 6.81532 14.3146 7.13737 14.5568C7.70164 14.9188 8.34709 15.161 9.03247 15.161V15.8065C9.03247 16.1685 9.3146 16.4506 9.67794 16.4506H10.3221C10.6455 16.4506 10.9675 16.1685 10.9675 15.8065V15.161C12.4594 15.161 13.7091 13.8714 13.7091 12.2984C13.7091 11.0487 12.9026 9.8789 11.7341 9.51556ZM10 0C4.47563 0 0 4.47563 0 10C0 15.5244 4.47563 20 10 20C15.5244 20 20 15.5244 20 10C20 4.47563 15.5244 0 10 0ZM10 18.0636C5.52435 18.0636 1.93639 14.4756 1.93639 10C1.93639 5.56427 5.52435 1.93639 10 1.93639C14.4357 1.93639 18.0636 5.56427 18.0636 10C18.0636 14.4756 14.4357 18.0636 10 18.0636Z"})});case"customers":return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 17 20",fill:"currentColor",children:(0,a.jsx)("path",{d:"M10.3212 11.875H6.67875C2.95985 11.875 0 14.9609 0 18.75C0 19.4531 0.531102 20 1.21374 20H15.7863C16.4313 20 17 19.4531 17 18.75C17 14.9609 14.0026 11.875 10.3212 11.875ZM1.82125 18.1251C2.12436 15.664 4.17358 13.75 6.67875 13.75H10.3212C12.7889 13.75 14.8381 15.664 15.1412 18.1251H1.82125ZM8.5 10C11.1567 10 13.3575 7.77344 13.3575 5C13.35
2275 2.26563 11.1567 0 8.5 0C5.8057 0 3.6425 2.26563 3.6425 5C3.6425 7.77344 5.8057 10 8.5 10ZM8.5 1.875C10.1697 1.875 11.5363 3.28125 11.5363 5C11.5363 6.75781 10.1697 8.125 8.5 8.125C6.79275 8.125 5.46374 6.75781 5.46374 5C5.46374 3.28125 6.79275 1.875 8.5 1.875Z"})});case"marketing":return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{d:"M7.8125 4.89315C10.5469 4.89315 13.164 3.83095 15.1172 1.86391L16.6015 0.368966C17.3828 -0.417849 18.75 0.132921 18.75 1.2738V6.93887C19.4531 7.29294 20 8.23712 20 9.29932C20 10.4009 19.4531 11.345 18.75 11.699V17.3641C18.75 18.5051 17.3828 19.0558 16.6015 18.269L15.1172 16.7741C13.2422 14.8857 10.7422 13.7842 8.125 13.7448V17.7969C8.125 19.0165 7.10938 20 5.9375 20H4.6875C3.47656 20 2.5 19.0165 2.5 17.7969V13.7055C1.09375 13.7055 0 12.6039 0 11.1877V7.41096C0 6.03403 1.09375 4.89315 2.5 4.89315H7.8125ZM16.875 2.76875L16.4453 3.2015C14.2188 5.44392 11.25 6.70283 8.125 6.78151V11.8564C11.25 11.8958 14.2188 13.1941 16.4453 15.4365L16.875 15.8693V2.76875ZM4.375 17.7969C4.375 17.9936 4.49219 18.1116 4.6875 18.1116H5.9375C6.09375 18.1116 6.25 17.9936 6.25 17.7969V13.7055H4.375V17.7969ZM1.875 7.41096V11.1877C1.875 11.5417 2.14844 11.8171 2.5 11.8171H6.25V6.78151H2.5C2.14844 6.78151 1.875 7.09623 1.875 7.41096Z"})});case"mysite":return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 23 20",fill:"currentColor",children:(0,a.jsx)("path",{d:"M20.8438 0H2.15625C0.943353 0 0 0.982063 0 2.14286V17.8561C0 19.0614 0.943353 20 2.15625 20H20.8438C22.0118 20 23 19.0614 23 17.8561V2.14286C23 0.982063 22.0118 0 20.8438 0ZM2.15625 2.67845C2.15625 2.41057 2.38085 2.14286 2.69531 2.14286H4.49219C4.76172 2.14286 5.03125 2.41057 5.03125 2.67845V3.74919C5.03125 4.06309 4.76172 4.28555 4.49219 4.28555H2.69531C2.38085 4.28555 2.15625 4.06309 2.15625 3.74919V2.67845ZM20.8438 17.5879C20.8438 17.7677 20.709 17.8561 20.5743 17.8561H2.42578C2.24609 17.8561 2.15625 17.7677 2.15625 17.5879V6.07138H20.8438V17.5879ZM20.8438 3.74919C20.8438 4.06309 20.5743 4.28555 20.3047 4.28555H7.72656C7.4121 4.28555 7.1875 4.06309 7.1875 3.74919V2.67845C7.1875 2.41057 7.4121 2.14286 7.72656 2.14286H20.3047C20.5743 2.14286 20.8438 2.41057 20.8438 2.67845V3.74919Z"})});case"forms":return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"20",viewBox:"0 0 15 20",fill:"currentColor",children:(0,a.jsx)("path",{d:"M13.1253 2.5H10C10 1.13333 8.86667 0 7.5 0C6.09333 0 5 1.13333 5 2.5H1.87467C0.820008 2.5 0 3.36001 0 4.37467V18.1253C0 19.18 0.820008 20 1.87467 20H13.1253C14.14 20 15 19.18 15 18.1253V4.37467C15 3.36001 14.14 2.5 13.1253 2.5ZM7.5 1.56266C8.008 1.56266 8.43734 1.992 8.43734 2.5C8.43734 3.04667 8.008 3.43734 7.5 3.43734C6.95333 3.43734 6.56266 3.04667 6.56266 2.5C6.56266 1.992 6.95333 1.56266 7.5 1.56266ZM13.1253 17.8907C13.1253 18.0467 13.008 18.1253 12.8907 18.1253H2.10933C1.95333 18.1253 1.87467 18.0467 1.87467 17.8907V4.60933C1.87467 4.492 1.95333 4.37467 2.10933 4.37467H3.75065V5.78133C3.75065 6.05467 3.94534 6.24935 4.21867 6.24935H10.7813C11.016 6.24935 11.2493 6.05467 11.2493 5.78133V4.37467H12.8907C13.008 4.37467 13.1253 4.492 13.1253 4.60933V17.8907Z"})});case"payroll":return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 23 20",fill:"currentColor",children:(0,a.jsx)("path",{d:"M8.125 9.98932C8.125 7.91901 9.49219 6.23932 11.25 6.23932C12.9688 6.23932 14.375 7.91901 14.375 9.98932C14.375 12.0596 12.9688 13.7393 11.25 13.7393C9.49219 13.7393 8.125 12.0596 8.125 9.98932ZM0 16.4737V4.40339C0 3.46589 0.976562 2.84089 1.875 3.11432C5 3.93464 8.125 3.15339 11.25 2.37214C14.6094 1.51276 18.0077 0.614324 21.4062 1.90339C22.0702 2.13776 22.5 2.80182 22.5 3.54401V15.5753C22.5 16.5518 21.4844 17.1768 20.586 16.9033C17.461 16.0441 14.336 16.8643 11.25 17.6456C7.85156 18.5049 4.45312 19.3643 1.05469 18.1143C0.390625 17.8799 0 17.1768 0 16.4737ZM10.8984 15.8096C13.086 15.2628 15.5469 14.5987 18.125 14.6768C18.2812 13.4658 19.336 12.4893 20.625 12.4893V5.61432C19.2188 5.61432 18.125 4.52057 18.125 3.15339C16.289 3.07526 14.336 3.50495 12.1094 4.09089C11.9141 4.12995 11.7578 4.16901 11.5625 4.20807C9.375 4.75495 6.91406 5.41901 4.33594 5.34089C4.17969 6.55182 3.125 7.48932 1.875 7.48932V14.3643C3.24219 14.3643 4.33594 15.4971 4.375 16.8643C6.17188 16.9424 8.125 16.5128 10.3516 15.9268C10.5469 15.8878 10.7031 15.8487 10.8984 15.8096Z",fill:"currentColor"})});case"reports":return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 22 20",fill:"currentColor",children:(0,a.jsx)("path",{d:"M20.9688 17.8571H2.0625V1.07139C2.0625 0.491121 1.58984 0 1.03124 0C0.429689 0 0 0.491121 0 1.07139V18.5714C0 19.3749 0.601568 20 1.375 20H20.9688C21.5273 20 22 19.5535 22 18.9286C22 18.3482 21.5273 17.8571 20.9688 17.8571ZM7.21876 14.2857C7.77734 14.2857 8.25 13.8392 8.25 13.2143V11.0714C8.25 10.4911 7.77734 10 7.21876 10C6.61719 10 6.1875 10.4911 6.1875 11.0714V13.2143C6.1875 13.8392 6.61719 14.2857 7.21876 14.2857ZM11.3438 14.2857C11.9023 14.2857 12.375 13.8392 12.375 13.2143V5.3571C12.375 4.77684 11.9023 4.28571 11.3438 4.28571C10.7422 4.28571 10.3125 4.77684 10.3125 5.3571V13.2143C10.3125 13.8392 10.7422 14.2857 11.3438 14.2857ZM15.4688 14.2857C16.0273 14.2857 16.5 13.8392 16.5 13.2143V8.21424C16.5 7.63398 16.0273 7.14286 15.4688 7.14286C14.8672 7.14286 14.4376 7.63398 14.4376 8.21424V13.2143C14.4376 13.8392 14.8672 14.2857 15.4688 14.2857ZM19.5938 14.2857C20.1523 14.2857 20.625 13.8392 20.625 13.2143V3.92853C20.625 3.34826 20.1523 2.85714 19.5938 2.85714C18.9922 2.85714 18.5624 3.34826 18.5624 3.92853V13.2143C18.5624 13.8392 18.9922 14.2857 19.5938 14.2857Z"})});case"settings":return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 19 19",fill:"
22currentColor",children:(0,a.jsx)("path",{d:"M18.2013 11.5725C18.2013 11.2425 18.0175 10.95 17.725 10.7663L16.5163 10.0713C16.5525 9.88751 16.5525 9.63125 16.5525 9.375C16.5525 9.155 16.5525 8.89874 16.5163 8.67874L17.725 7.98374C18.0175 7.79999 18.2013 7.50749 18.2013 7.21375C18.2013 6.40875 16.37 2.49001 15.0875 2.49001C14.9413 2.49001 14.795 2.52624 14.6488 2.63624L13.44 3.3325C13.0375 3.04 12.6338 2.78375 12.195 2.6V1.20874C12.195 0.806244 11.9025 0.440009 11.5363 0.330009C10.73 0.110009 9.92502 0 9.11877 0C8.27627 0 7.47125 0.110009 6.665 0.330009C6.29875 0.440009 6.00628 0.806244 6.00628 1.20874V2.6C5.56628 2.78375 5.16378 3.04 4.76128 3.3325L3.55251 2.63624C3.40626 2.52624 3.25878 2.49001 3.11253 2.49001C1.90503 2.49001 0 6.225 0 7.21375C0 7.50749 0.183765 7.79999 0.476265 7.98374L1.68503 8.67874C1.64753 8.89874 1.64753 9.155 1.64753 9.375C1.64753 9.63125 1.64753 9.8875 1.68503 10.1075L0.476265 10.8038C0.183765 10.9863 0 11.2787 0 11.5725C0 12.3412 1.83128 16.26 3.11253 16.26C3.25878 16.26 3.40626 16.2238 3.55251 16.1138L4.76128 15.4175C5.16378 15.71 5.56628 15.9662 6.00628 16.15V17.5413C6.00628 17.9438 6.29875 18.31 6.665 18.42C7.47125 18.6762 8.27628 18.75 9.08253 18.75C9.88753 18.75 10.6938 18.6763 11.4988 18.4575C11.9025 18.3475 12.1588 17.9813 12.1588 17.5788V16.1863C12.5975 16.0038 13 15.7475 13.4038 15.4538L14.6125 16.15C14.7588 16.26 14.905 16.2963 15.0513 16.2963C16.2963 16.2963 18.2013 12.5612 18.2013 11.5725ZM14.9413 14.2825L13.33 13.33C11.7925 14.465 12.1588 14.245 10.4375 15.015V16.8463C9.96126 16.955 9.48503 16.9925 9.08253 16.9925C8.53253 16.9925 8.05625 16.9188 7.76375 16.8463V15.015C6.0425 14.245 6.40875 14.465 4.87125 13.33L3.25878 14.2825C2.71003 13.5862 2.23376 12.8175 1.94126 11.9387L3.51627 11.06C3.44252 10.1438 3.40626 9.7775 3.40626 9.375C3.40626 9.00875 3.44252 8.64251 3.51627 7.72751L1.94126 6.81126C2.23376 5.96876 2.71003 5.16376 3.25878 4.46751L4.87125 5.42C6.40875 4.285 6.0425 4.50501 7.76375 3.73501V1.90374C8.24 1.79499 8.71627 1.75751 9.11877 1.75751C9.66752 1.75751 10.1075 1.83124 10.4375 1.90374V3.73501C12.1588 4.50501 11.7925 4.285 13.33 5.42L14.9413 4.505C15.4913 5.16375 15.9675 5.96876 16.26 6.81126L14.685 7.72751C14.7588 8.64251 14.795 9.00875 14.795 9.375C14.795 9.74125 14.7588 10.1438 14.685 11.06L16.26 11.975C15.9675 12.8175 15.4913 13.6225 14.9413 14.2825ZM9.11877 5.85875C7.17752 5.85875 5.60375 7.43375 5.60375 9.375C5.60375 11.2788 7.17752 12.8913 9.11877 12.8913C11.0225 12.8913 12.6338 11.2788 12.6338 9.375C12.6338 7.43375 11.0225 5.85875 9.11877 5.85875ZM9.11877 11.1325C8.13002 11.1325 7.36126 10.3638 7.36126 9.375C7.36126 8.4225 8.13002 7.61749 9.11877 7.61749C10.0713 7.61749 10.8763 8.4225 10.8763 9.375C10.8763 10.3638 10.0713 11.1325 9.11877 11.1325Z"})});default:return null}},tL=e=>e8?`active:bg-[rgba(255,255,255,0.2)] ${eB[e]||""}`:e2?eA[e]||"":`hover:bg-MenuHoverColor active:bg-MenuPressedColor ${eE[e]||""}`,tD="border border-solid border-transparent flex items-center p-2 max-[820px]:p-[7px] rounded-lg leading-[18px] text-sm font-medium no-underline text-MenuFontColor ",tP=()=>e1?"py-[7px]":"",tT=e=>` 23 ${tb?tf===e?"!opacity-100 !visible !pointer-events-auto":"!opacity-0 !invisible !pointer-events-none":e$[e]||""} 24 opacity-0 invisible transition-[opacity,visibility] duration-100 ease-linear bg-bkg_neutral_default shadow-dropdownShadow flex flex-col min-w-[200px] p-4 absolute list-none whitespace-nowrap z-[9] 25 ${e1?e0?"left-full -top-4 rounded-2xl":"rounded-2xl left-9 -top-3":""} 26 ${e8?"rounded-2xl !bg-bkg_graient_start bg-blend-color-dodge border border-solid border-border_neutral_default":"rounded-lg"} 27 ${e8?e1?"-top-4":"!top-9":""} 28 ${!e1&&eG?"!top-[38px]":""} 29 ${"more"===e&&eq.length>0?"left-auto right-0":""} 30 `,tV=()=>e8?` 31 relative 32 p-2 rounded-lg 33 border border-solid border-transparent 34 cursor-pointer flex items-center justify-center 35 active:bg-[rgba(255,255,255,0.2)] 36 hover:bg-[rgba(255,255,255,0.1)] hover:backdrop-blur-md 37 hover:border hover:border-white 38 hover:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] 39 hover:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] 40 `:e2?` 41 relative 42 border border-solid border-transparent 43 p-2 rounded-lg 44 cursor-pointer flex items-center justify-center 45 active:bg-[rgba(255,255,255,0.2)] hover:bg-[rgba(255,255,255,0.1)] 46 `:` 47 relative 48 p-2 rounded-lg 49 border border-solid border-transparent 50 border border-solid border-transparent 51 flex items-center justify-center cursor-pointer 52 hover:bg-MenuHoverColor 53 active:bg-MenuPressedColor 54 `,tB=()=>` 55 min-w-[18px] 56 57 `,tA=async e=>{e7(!0);try{et(e),await new Promise(e=>setTimeout(e,50))}finally{e7(!1)}},tE=()=>(0,a.jsx)(n.Fragment,{children:(0,a.jsx)("div",{className:"gap-2 p-2 rounded-lg select-none flex-col result-item flex items-start cursor-pointer border-l-[3px] border-l-transparent hover:bg-bkg_neutral_secondary hover:[background-blend-mode:plus-darker] active:bg-bkg_neutral_tiertiary active:[background-blend-mode:plus-darker]",children:(0,a.jsxs)("div",{className:"self-stretch min-w-44 rounded-lg inline-flex justify-start items-center gap-2",children:[(0,a.jsx)("div",{className:"size-6 rounded-[20px] outline outline-1 outline-offset-[-1px] outline-border_neutral_strong inline-flex flex-col justify-center items-center",children:(0,a.jsx)("img",{alt:"Chat Boat",className:"size-6 rounded-[20px] outline outline-1 outline-offset-[-1px] outline-border_neutral_strong flex flex-col justify-center items-center",src:"https://zendeskchatbot.blob.core.windows.net/assets/Size=120px.png?sp=r&st=2025-12-17T17:25:11Z&se=2031-03-09T01:40:11Z&spr=https&sv=2024-11-04&sr=c&sig=2zjrNzCgQrmIz7%2FpKmunoA6SVGJpbYROyrfRllWZknc%3D"})}),(0,a.jsx)("div",{className:"flex-1 flex justify-start items-start gap-4",children:(0,a.jsx)("div",{className:"flex-1 inline-flex flex-col justify-start items-start gap-1",children:(0,a.jsxs)("div",{onClick:()=>tm(ee),className:"self-stretch max-h-10 justify-center",children:[(0,a.jsx)("span",{className:"text-text_neutral_default text-base font-normal leading-5",children:"Ask Vera about "}),(0,a.jsxs)("span",{className:"text-text_neutral_default text-base font-bold leading-5",children:["â",ee,"â"]})]},ee)})})]})})}),t$=(e,t)=>{if(!t||t.trim().length<3)return e;let r=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),n=RegExp(`(${r})`,"ig");return e.split(n).map((e,t)=>n.test(e)?(0,a.jsx)("span",{className:"font-vg-bold font-bold",children:e},t):e)},tz=async e=>{if("Enter"!==e.key||-1!==G||(e.preventDefault(),!ed.length))return;let t=X(ed,K).reduce((e,t)=>
57{let r,a="Customer"===(r=J[t.type]||"Other")?"Customers":r;return e[a]||(e[a]=[]),e[a].push(t),e},{});for(let e of K){let r=t[e];if(!r?.length)continue;let a=r[0];if("Customers"===e){eH?.({type:"user",url:String(a?.Url),id:String(a?.Url),plainId:String(a?.plainId)}),eF();return}await p({...a,type:"Recent"}),eH?.({type:"menu",url:String(a?.Url),id:String(a?.Url)}),eF();return}},tF=(e,t)=>{if((!e||0===e.length)&&""!==t&&t.trim().length>=3)if(tx)return(0,a.jsx)(tE,{});else return(0,a.jsx)("li",{className:"no-result-item text-text_neutral_default",children:"No results found"});if(!e||0===e.length)return(0,a.jsxs)("div",{className:"flex w-[320px] flex-col justify-center items-center gap-4 text-text_neutral_default mx-auto",children:[(0,a.jsx)("div",{className:"text-text_neutral_default",children:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"56",height:"56",viewBox:"0 0 56 56",fill:"currentColor",children:[(0,a.jsx)("g",{"clip-path":"url(#clip0_8628_242908)",children:(0,a.jsx)("path",{d:"M55.1099 51.5158C56.2034 52.6092 56.2034 54.25 55.1099 55.2342C54.6725 55.7812 54.0165 56 53.3604 56C52.5948 56 51.9391 55.7812 51.3922 55.2342L36.7399 40.5783C32.8035 43.75 27.883 45.5 22.6344 45.5C10.1691 45.5 0 35.3283 0 22.75C0 10.2812 10.0597 0 22.6344 0C35.0996 0 45.3784 10.2812 45.3784 22.75C45.3784 28.1094 43.6289 33.0312 40.4577 36.8592L55.1099 51.5158ZM5.24856 22.75C5.24856 32.4844 13.0121 40.25 22.7438 40.25C32.3661 40.25 40.239 32.4844 40.239 22.75C40.239 13.125 32.3661 5.25 22.7438 5.25C13.0121 5.25 5.24856 13.125 5.24856 22.75Z",fill:""})}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_8628_242908",children:(0,a.jsx)("rect",{width:"56",height:"56",fill:"white"})})})]})}),(0,a.jsxs)("div",{className:"flex flex-col justify-center items-center gap-1 self-stretch",children:[(0,a.jsx)("div",{className:"text-text_neutral_default font-medium text-xl text-center",children:"Search Your Business"}),(0,a.jsx)("div",{className:"text-text_neutral_secondary text-[15px] leading-5 font-normal text-center",children:"Find customers, and any navigation, settings, or reports pages."})]})]});let r=X(e,K).reduce((e,t)=>{let r=J[t.type]||"Other";return e[r]||(e[r]=[]),e[r].push(t),e},{});return!t||t.trim().length<3?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"recent-vg-search leading-5 font-semibold text-[15px] text-text_neutral_secondary block clear-both mb-2",children:[(0,a.jsx)("i",{className:"fa-regular fa-clock-rotate-left mr-2"}),"Recent Searches"]}),e.map((e,r)=>(0,a.jsx)("div",{id:`result-item-${r}`,className:`w-full p-2 rounded-lg select-none hover:bg-bkg_neutral_secondary hover:[background-blend-mode:plus-darker] active:bg-bkg_neutral_tiertiary active:[background-blend-mode:plus-darker] ${r===G?"bg-bkg_neutral_secondary border-border_MenuBackColor":""}`,onMouseDown:async t=>{t.preventDefault(),await p({...e,type:"Recent"}),eH&&eH({type:"menu",url:String(e?.Url),id:String(e?.Url)}),eF()},children:(0,a.jsx)("div",{className:"w-full",children:"Customer"===e.type?(0,a.jsxs)("div",{className:"flex gap-2 flex-row items-center p-2 rounded-lg select-none hover:bg-bkg_neutral_secondary hover:[background-blend-mode:plus-darker] active:bg-bkg_neutral_tiertiary active:[background-blend-mode:plus-darker]",children:[(0,a.jsx)("div",{className:"w-10 h-10",children:(0,a.jsx)(l.default,{AvatarSize:"Small",NoProfile:e.Title,ProfileUrl:e.icon})}),(0,a.jsx)("div",{className:"vg-result-ext-item w-full flex flex-col items-start justify-center ",children:(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:"parent-text text-[15px] leading-5 text-text_neutral_default font-medium",children:t$(e.Title,t)}),""!==e.SubTitle&&(0,a.jsx)("div",{className:"sub-text leading-5 font-normal text-[15px] text-text_neutral_default block clear-both pt-1",children:t$(e.SubTitle||"",t)})]})})]}):(0,a.jsx)("div",{className:"vg-result-ext-item w-full flex flex-col items-start justify-center ",children:(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:"text-[15px] leading-5 text-text_neutral_default pb-1 font-bold",children:e.Title}),(0,a.jsx)("div",{className:"sub-text leading-5 font-normal text-[15px] text-text_neutral_default block clear-both ",children:e.SubTitle||""})]})})})},String(e.Url)+r))]}):(0,a.jsxs)(a.Fragment,{children:[K.map(e=>{if(!r[e])return null;let s=r[e],i=e4[e]||!1,o=i?s:s.slice(0,3);return(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)("div",{className:"text-text_neutral_secondary block w-full text-sm font-normal leading-4 pt-2 pr-0 pb-2 ",children:(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsx)("span",{className:"vg-icon-result-list flex items-center justify-center text-text_neutral_default mt-px",children:"Customers"===e?(0,a.jsx)("i",{className:"far fa-users"}):"Recent searches"===e?(0,a.jsx)("i",{className:"fa-regular fa-clock-rotate-left"}):"Reports"===e?(0,a.jsx)("i",{className:"fa-regular fa-chart-column"}):"Settings"===e?(0,a.jsx)("i",{className:"fa-regular fa-cog"}):"Navigation"===e?(0,a.jsx)("i",{className:"fa-regular fa-location-arrow"}):null}),(0,a.jsx)("div",{className:"parent-text p-0 pb-0 leading-4 text-text_neutral_default block clear-both font-bold text-xs ml-2",children:e})]})}),o.map((e,r)=>(0,a.jsx)("div",{id:`result-item-${e.index}`,className:`flex-col result-item flex items-start cursor-pointer border-l-[3px] border-l-transparent ${e.index===G?"bg-bkg_neutral_secondary border-border_MenuBackColor":""}`,onMouseDown:async t=>{t.preventDefault();let{index:r,...a}=e;"Customer"!==e.type?(await p({...a,type:"Recent"}),eH&&eH({type:"menu",url:String(e?.Url),id:String(e?.Url)})):eH&&eH({type:"user",url:String(e?.Url),id:String(e?.Url),plainId:String(e?.plainId)}),eF()},children:(0,a.jsx)("div",{className:"w-full",children:"Customer"===e.type?(0,a.jsxs)("div",{className:"flex gap-2 flex-row items-center p-2 rounded-lg select-none hover:bg-bkg_neutral_secondary hover:[background-blend-mode:plus-darker] active:bg-bkg_neutral_tiertiary active:[background-blend-mode:plus-darker]",children:[(0,a.jsx)("div",{className:"w-10 h-10",children:(0,a.jsx)(l.default,{AvatarSize:"Small",NoProfile:e.Title,ProfileUrl:e.icon})}),(0,a.jsx)("div",{className:"vg-result-ext-item w-full flex flex-col items-start justify-center ",children:(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:"parent-text text-[15px] leading-5 text-text_neutral_default font-medium",children:t$(e.Title,t)}),""!==e.SubTitle&&(0,a.jsx)("div",{className:"sub-text leading-5 font-normal text-[15px] text-text_neutral_default block clear-both pt-1",children:t$(e.SubTitle||"",t)})]})})]}):(0,a.jsx)("div",{className:"vg-result-ext-item w-full flex flex-col items-start justify-center ",children:(0,a.jsxs)("div",{className:"w-full p-2 rounded-lg select-none hover:bg-bkg_neutral_secondary hover:[background-blend-mode:plus-darker] active:bg-bkg_neutral_tiertiary active:[background-blend-mode:plus-darker]",children:[(0,a.jsx)("div",{className:"parent-text text-[15px] leading-5 text-text_neutral_default font-medium pb-1",children:t$(e.Title,t)}),(0,a.jsx)("div",{className:"sub-text leading-5 font-normal text-[15px] text-text_neutral_default block clear-both ",children:t$(e.SubTitle||"",t)})]})})})},String(e.Url)+r)),s.length>3&&(0,a.jsx)("div",{className:"my-2",ref:eU,children:(0,a.jsx)(eT.default,{ButtonVariant:"ghost",IconPlacement:"prefix",ButtononClick:()=>{e3(t=>({...t,[e]:!t[e]}))},className:"mb-3",children:i?"Show Less":`Show More (${s.length-3})`})})]},e)}),tx&&(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)("div",{className:"w-full h-[1px] bg-bkg_neutral_tiertiary my-4"}),(0,a.jsx)(tE,{})]})]})};return(0,a.jsxs)(n.Fragment,{children:[(0,a.jsxs)("div",{"data-topmenu":"true",className:`flex items-center relative z-[9997] h-[52px] w-full text-MenuFontColor ${e2?"":"bg-MenuBackColor"} `,children:[(0,a.jsxs)("div",{className:`w-full justify-between ${e1?"flex":"hidden"}`,children:[(0,a.jsxs)("div",{className:"flex items-center justify-center",children:[(0,a.jsx)("div",{className:`flex ${te?"pl-0":"pl-2"} items-center relative z-[999]`,children:!te&&(0,a.jsx)("div",{className:"flex items-center gap-2 text-[16px] justify-center cursor-pointer text-text_neutral_ondark group/hamburger",onClick:()=>
57{if(te)return;let e=!e0;localStorage.setItem("menuExpand",e?"true":"false"),e?document.body?.classList.add("leftbar-expand"):document.body?.classList.remove("leftbar-expand"),e5(e),E?.({click:"menu_expand",data:e})},children:(0,a.jsx)("i",{className:`flex p-[7px] rounded-lg transition-colors border border-solid border-transparent duration-100 ${tL("hamburger")}`,children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,a.jsx)("path",{d:"M17.7149 8.75065H2.24599C1.56258 8.75065 1 9.336 1 10C1 10.7027 1.56258 11.2493 2.24599 11.2493H17.6752C18.3979 11.2493 19 10.7027 19 10C19 9.336 18.3979 8.75065 17.7149 8.75065ZM17.7149 15H2.24599C1.56258 15 1 15.5853 1 16.2493C1 16.8747 1.56258 17.5 2.24599 17.5H17.6752C18.3979 17.5 19 16.9533 19 16.2493C19 15.5853 18.3979 15 17.7149 15ZM17.7149 2.5H2.24599C1.56258 2.5 1 3.08532 1 3.75065C1 4.37465 1.56258 5 2.24599 5H17.6752C18.3979 5 19 4.45332 19 3.75065C19 3.08532 18.3979 2.5 17.7149 2.5Z",fill:"white"})})})})}),(0,a.jsxs)("div",{onTouchEnd:tv("sidelogo"),onPointerEnter:tC("sidelogo"),onPointerLeave:ty("sidelogo"),className:"flex flex-col justify-center items-start p-2 px-2 gap-2 cursor-pointer group/sidelogo relative mr-[15px]",children:[(0,a.jsx)("div",{className:`p-[7px] [line-height:0px] rounded-lg transition-colors border border-solid border-transparent duration-100 ${tL("sidelogo")}`,children:(0,a.jsxs)("svg",{className:"h-5 w-auto",xmlns:"http://www.w3.org/2000/svg",width:"81",height:"24",viewBox:"0 0 81 24",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M5.54089 18.2268H7.01477C7.62888 18.2268 8.02191 17.9566 8.24299 17.4161L12.4435 6.95058C12.7383 6.23814 12.419 5.7468 11.6575 5.7468H10.4538C9.86425 5.7468 9.47122 6.01704 9.2747 6.60664L6.27783 14.7629L3.28096 6.60664C3.08444 6.01704 2.69141 5.7468 2.07729 5.7468H0.898196C0.112131 5.7468 -0.182643 6.23814 0.112131 6.95058L4.31267 17.4161C4.53375 17.9566 4.95134 18.2268 5.54089 18.2268Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M19.4803 18.4971C21.1261 18.4971 22.6491 17.8829 23.7054 16.3597V17.195C23.7054 17.8583 24.0739 18.2268 24.7371 18.2268H25.818C26.4812 18.2268 26.8742 17.8583 26.8742 17.195V6.80318C26.8742 6.13987 26.4812 5.7468 25.818 5.7468H24.7371C24.0739 5.7468 23.7054 6.13987 23.7054 6.80318V7.61389C22.6491 6.09074 21.1261 5.47656 19.4803 5.47656C15.8693 5.47656 13.3883 8.3509 13.3883 11.9868C13.3883 15.6227 15.8693 18.4971 19.4803 18.4971ZM20.0944 15.8684C17.8591 15.8684 16.5571 14.1241 16.5571 11.9868C16.5571 9.87405 17.8591 8.10523 20.0944 8.10523C22.2807 8.10523 23.73 9.75121 23.7545 11.9868C23.73 14.2224 22.2807 15.8684 20.0944 15.8684Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M35.1457 24.0001C38.7567 24.0001 41.9009 22.1575 41.9009 17.6618V6.80318C41.9009 6.13987 41.5325 5.7468 40.8692 5.7468H39.813C39.1497 5.7468 38.7812 6.09074 38.7812 6.72948V7.61389C37.7495 6.09074 36.202 5.47656 34.5561 5.47656C30.9452 5.47656 28.4887 8.4246 28.4887 11.9868C28.4887 15.5736 30.9452 18.4971 34.5561 18.4971C36.202 18.4971 37.7741 17.8829 38.8058 16.3597V17.6372C38.8058 20.1922 37.2337 21.4451 34.9737 21.4451C33.7947 21.4451 32.6647 21.1503 31.6575 20.5607C31.068 20.2167 30.6013 20.315 30.2574 20.9292L30.0117 21.3714C29.7169 21.961 29.8152 22.4769 30.3802 22.7963C31.6084 23.5087 33.1068 24.0001 35.1457 24.0001ZM35.1703 15.893C32.9349 15.893 31.633 14.1241 31.633 11.9868C31.633 9.87405 32.9349 8.08066 35.1703 8.08066C37.3565 8.08066 38.8058 9.75121 38.8304 11.9868C38.8058 14.2224 37.3565 15.893 35.1703 15.893Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M49.7963 18.4971C51.4422 18.4971 52.9652 17.8829 54.0214 16.3597V17.195C54.0214 17.8583 54.3899 18.2268 55.0531 18.2268H56.134C56.7972 18.2268 57.1903 17.8583 57.1903 17.195V6.80318C57.1903 6.13987 56.7972 5.7468 56.134 5.7468H55.0531C54.3899 5.7468 54.0214 6.13987 54.0214 6.80318V7.61389C52.9652 6.09074 51.4422 5.47656 49.7963 5.47656C46.1853 5.47656 43.7043 8.3509 43.7043 11.9868C43.7043 15.6227 46.1853 18.4971 49.7963 18.4971ZM50.4104 15.8684C48.1751 15.8684 46.8732 14.1241 46.8732 11.9868C46.8732 9.87405 48.1751 8.10523 50.4104 8.10523
57C52.5967 8.10523 54.046 9.75121 54.0706 11.9868C54.046 14.2224 52.5967 15.8684 50.4104 15.8684Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M61.2287 18.2268H62.3095C62.9728 18.2268 63.3658 17.8583 63.3658 17.195V13.2889C63.3658 9.21074 65.1345 8.4983 66.3136 8.4983C66.5101 8.4983 66.7312 8.52287 66.9522 8.572C67.419 8.6457 67.7137 8.37546 67.7137 7.73672V6.50838C67.7137 6.01704 67.6155 5.57483 67.0751 5.5257C66.9522 5.50113 66.682 5.47656 66.5838 5.47656C65.3064 5.47656 63.7097 6.38554 63.2921 8.52287V6.80318C63.2921 6.13987 62.9236 5.7468 62.2604 5.7468H61.2287C60.5654 5.7468 60.197 6.13987 60.197 6.80318V17.195C60.197 17.8583 60.5654 18.2268 61.2287 18.2268Z",fill:"currentColor"}),(0,a.jsx)("path",{d:"M74.2448 18.4971C78.0523 18.4971 81 15.5982 81 11.9868C81 8.4246 78.0523 5.47656 74.2448 5.47656C70.4373 5.47656 67.5141 8.40003 67.5141 11.9868C67.5141 15.5982 70.4373 18.4971 74.2448 18.4971ZM74.2448 15.8438C72.1813 15.8438 70.5601 14.1487 70.5601 12.0114C70.5601 9.84948 72.1813 8.12979 74.2448 8.12979C76.3082 8.12979 77.9294 9.84948 77.9294 12.0114C77.9294 14.1487 76.3082 15.8438 74.2448 15.8438Z",fill:"currentColor"})]})}),(0,a.jsxs)("ul",{onTouchStart:t_,onTouchEnd:t_,onClick:tk,className:`rounded-2xl bg-bkg_neutral_default border-border_neutral_default shadow-dropdownShadow flex flex-col left-2 min-w-[200px] opacity-0 p-4 absolute top-[43px] transition-[opacity,visibility] duration-100 ease-linear invisible border-r list-none m-0 whitespace-nowrap z-[9] ${tb?"sidelogo"===tf?"!opacity-100 !visible !pointer-events-auto":"!opacity-0 !invisible !pointer-events-none":e$.sidelogo} ${e8?" !rounded-2xl !bg-bkg_graient_start border border-solid":""} ${e8?e1?"-top-4":"!top-9":""}`,children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsx)("li",{className:"rounded-lg relative z-[2]",children:(0,a.jsx)("a",{className:"text-[14px] font-normal leading-5 p-0 no-underline",href:"/Default.aspx",id:"vagarocom",onClick:e=>{e.preventDefault(),_("/Default.aspx",void 0,"vagarocom",e)},children:(0,a.jsx)("span",{className:"rounded-lg block p-2 px-4 text-text_neutral_default hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary",children:"Vagaro.com"})})}),(0,a.jsx)("li",{className:"rounded-lg relative z-[2]",children:(0,a.jsx)("a",{href:"https://www.vagaro.com/pro/vagaro-app",id:"vagaromobileapp",target:"_blank",className:"text-[14px] font-normal leading-5 p-0 no-underline",onClick:e=>{e.preventDefault(),_("https://www.vagaro.com/pro/vagaro-app","_blank","vagaromobileapp",e)},children:(0,a.jsx)("span",{className:"rounded-lg block p-[8px] px-4 text-text_neutral_default hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary",children:"Vagaro Mobile Apps"})})}),(0,a.jsx)("li",{className:"rounded-lg relative z-[2]",children:(0,a.jsx)("a",{href:"https://blog.vagaro.com/pro/",id:"problog",target:"_blank",className:"text-[14px] font-normal leading-5 p-0 no-underline",onClick:e=>{e.preventDefault(),_("https://blog.vagaro.com/pro/","_blank","problog",e)},children:(0,a.jsx)("span",{className:"rounded-lg block p-2 px-4 text-text_neutral_default hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary",children:"Pro Blog"})})}),(0,a.jsx)("li",{className:"rounded-lg relative z-[2]",children:(0,a.jsx)("a",{href:v||"#",id:"vagaro_mysite",target:"_blank",className:"text-[14px] font-normal leading-5 p-0 no-underline",onClick:e=>{e.preventDefault(),_(v||"#","_blank","vagaro_mysite",e)},children:(0,a.jsx)("span",{className:"rounded-lg block p-2 px-4 text-text_neutral_default hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary",children:"Vagaro Mysite"})})})]})]}),(0,a.jsx)("div",{className:"text-text_neutral_ondark not-italic !no-underline rounded-lg items-center flex mr-[10px] min-w-[248px] max-w-[248px] max-[1024px]:max-w-[146px] max-[1024px]:min-w-[146px]",children:(0,a.jsx)(n.Fragment,{children:(0,a.jsxs)("div",{ref:O,className:`max-w-full border border-solid border-transparent text-MenuFontColor font-medium text-[14px] leading-[18px] flex items-center cursor-pointer p-2 hover:bg-MenuHoverColor active:bg-MenuPressedColor rounded-lg 58 ${H.isShowBusinessList?"active bg-MenuPressedColor":""} 59 ${e8?"border border-solid border-transparent active:bg-[rgba(255,255,255,0.2)] hover:bg-[rgba(255,255,255,0.1)] hover:backdrop-blur-md hover:border hover:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] hover:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] hover:border-border_width_default group-hover:border-solid hover:border-white ":""} 60 ${H.isShowBusinessList?e8?"bg-[rgba(255,255,255,0.2)] backdrop-blur-md border border-border_width_default border-solid border-white [mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] [-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] ":" ":""} 61 ${e2?"hover:bg-[rgba(255,255,255,0.1)] active:bg-[rgba(255,255,255,0.2)]":""} 62 ${H.isShowBusinessList&&e2?"bg-[rgba(255,255,255,0.2)] backdrop-blur-md border-transparent border border-solid ":""} 63 `,onClick:e=>W(e),children:[(0,a.jsxs)("span",{className:"overflow-hidden truncate flex items-center",children:[t?.IsFlagshipBusiness&&(0,a.jsx)("div",{id:"pnlFlagshipIcon",className:"flagshipIconDiv [line-height:0px] mr-1",children:(0,a.jsx)("svg",{width:"20",height:"16",viewBox:"0 0 20 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"flagshipIcon flagshipIconOffline",children:(0,a.jsx)("path",{d:"M14.4531 0.875C14.834 0.875 15.1562 1.19727 15.1562 1.57812V1.8125H18.9062C19.1406 1.8125 19.375 2.04688 19.375 2.28125V6.03125C19.375 6.29492 19.1406 6.5 18.9062 6.5H15.1562V15.875H13.75V1.57812C13.75 1.19727 14.043 0.875 14.4531 0.875ZM12.8125 6.5293L8.59375 3.39453L3.90625 6.88086V13.5312C3.90625 14.0586 4.31641 14.4688 4.84375 14.4688H6.25V10.9531C6.25 10.3086 6.74805 9.78125 7.42188 9.78125H9.76562C10.4102 9.78125 10.9375 10.3086 10.9375 10.9531V14.4688H12.3438C12.4902 14.4688 12.666 14.4395 12.8125 14.3516V15.8457C12.6367 15.875 12.4902 15.875 12.3438 15.875H4.84375C3.52539 15.875 2.5 14.8496 2.5 13.5312V7.93555L1.73828 8.49219C1.41602 8.72656 0.976562 8.63867 0.742188 8.3457C0.507812 8.02344 0.595703 7.58398 0.888672 7.34961L8.1543 1.95898C8.41797 1.7832 8.74023 1.7832 9.00391 1.95898L12.8125 4.77148V6.5293ZM7.65625 11.1875V14.4688H9.53125V11.1875H7.65625Z",fill:"white"})})}),(0,a.jsx)("span",{className:"overflow-hidden block truncate",children:H.initialBusinessName})]}
63),e9&&(0,a.jsx)("svg",{className:"min-w-[10px] h-[10px] ml-2",xmlns:"http://www.w3.org/2000/svg",width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",children:(0,a.jsx)("path",{d:"M9.09347 1.61099L5.37246 5.36099C5.16746 5.53699 4.93247 5.625 4.69847 5.625C4.43447 5.625 4.20047 5.53699 4.02447 5.36099L0.303463 1.61099C0.0104626 1.34799 -0.0765309 0.937999 0.0694691 0.585999C0.216469 0.233999 0.567467 0 0.948467 0L8.41946 0C8.80046 0 9.12247 0.233999 9.26847 0.585999C9.41547 0.937999 9.35647 1.34799 9.09347 1.61099Z",fill:"white"})})]})})})]}),!z&&(0,a.jsxs)("div",{className:"flex-1 mx-auto max-w-[540px] w-full flex items-center flex-nowrap justify-start list-none m-0 p-0 relative z-[9] max-[769px]:max-w-[300px] max-[1200px]:max-w-[400px]",children:[(0,a.jsxs)("div",{className:"w-full relative",children:[(0,a.jsx)("div",{className:" block absolute h-[17px] w-4 left-2 top-2 text-text_neutral_ondark",children:e6?(0,a.jsx)("i",{className:"fa-regular fa-circle-notch text-white text-[16px] animate-[spin_2s_linear_infinite]"}):(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("i",{className:"fa-regular fa-magnifying-glass text-white text-[16px]"})})}),(0,a.jsx)("input",{type:"text",id:"menuSearchInput",className:`${e8?"pr-9 h-[36px] bg-white/15 border border-border_width_default border-solid border-white text-[15px] text-text_neutral_ondark placeholder-white cursor-pointer overflow-hidden [mask-image:linear-gradient(12deg,transparent,black_5%,black_90%,transparent)] [-webkit-mask-image:linear-gradient(12deg,transparent,black_5%,black_90%,transparent)] [mask-mode:alpha] [mask-repeat:no-repeat] [mask-size:cover] [-webkit-mask-mode:alpha] [-webkit-mask-repeat:no-repeat] [-webkit-mask-size:cover]":"border border-transparent pl-[32px] w-full bg-[#fff6] text-[15px] placeholder-text_neutral_ondark appearance-none rounded-[20px] text-text_neutral_ondark cursor-pointer font-normal h-9 outline-none p-[0] relative transition-[width] duration-200 ease-in-out"} pl-8 w-full rounded-[20px] cursor-pointer outline-none transition-width duration-200 ease-in-out`,placeholder:"Search Vagaro...",ref:Q,value:ee,onClick:e=>{document.body.classList.add("search-show"),e.currentTarget.select()},onChange:e=>tA(e),onKeyUp:e=>{tz(e)},onMouseDown:e=>{e.stopPropagation(),document.body.classList.add("search-show"),er(!0)},onFocus:ea,onBlur:en,onKeyDown:el,autoComplete:"off"}),(0,a.jsx)("input",{type:"text",id:"dummy_liVagaroSearch",className:"topsearch-input-control",placeholder:"Search Vagaro...",maxLength:50,style:{width:"100%",height:"0",opacity:"0",outline:"0",border:"0",display:"none"},autoComplete:"off"})]}),(0,a.jsx)("div",{className:"level0 viSearchIcon",children:(0,a.jsxs)("div",{className:"liVagaroSearchMain flex items-center relative min-h-[50px] min-w-0 box-border ml-0 mr-0",children:[(0,a.jsxs)("div",{className:"liVagaroSearchFilter",children:[(0,a.jsx)("div",{className:"overlayFilter"}),es&&eu?(0,a.jsx)("a",{ref:eR,href:"#",id:"btnClearSearch",className:"liVagaro-iconpicker-new absolute right-[15px] top-[15px] not-italic cursor-pointer z-[3]",onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onClick:ez,children:(0,a.jsx)("i",{className:"fa-solid fa-circle-xmark text-[16px] text-text_neutral_ondark"})}):eo&&(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{id:"divSearch-Shortcut",className:"liVagaroSearch-Shortcut top-[15px] right-3 flex items-center gap-1 absolute",children:[(0,a.jsx)("div",{className:`windows-icon ${ec?"liVagaro-windows-icon-command flex w-5 h-5 px-[4px] py-[3px] flex-col items-center justify-center rounded-[3px] bg-[rgba(248,248,248,0.30)]":"liVagaro-windows-icon-ctrl flex w-7 h-5 px-[4px] py-[3px] flex-col items-center justify-center rounded-[3px] bg-[rgba(248,248,248,0.30)]"}`,children:(0,a.jsx)("span",{className:"text-[14px] font-normal text-center",children:ec?(0,a.jsx)("i",{className:"fa-regular fa-command text-[12px]"}):"Ctrl"})}),(0,a.jsx)("div",{className:"liVagaro-windows-icon-k flex w-5 h-5 px-[4px] py-[3px] flex-col items-center justify-center rounded-[3px] bg-[rgba(248,248,248,0.30)]",children:(0,a.jsx)("span",{className:"text-xs text-[14px] font-normal text-center h-[14px] leading-[14px]",children:(0,a.jsx)("span",{className:"text-[14px] font-normal text-center",children:"K"})})})]})})]}),eu&&(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:`liVagaroSearchResult activeResultDiv 64 border border-solid border-border_neutral_default border-border_width_default 65 rounded-2xl p-0 absolute right-0 top-[45px] w-[540px] 66 z-[99991] opacity-100 visible overflow-hidden shadow-dropdownShadow ${e8?"rounded-2xl !bg-bkg_graient_start bg-blend-color-dodge border border-solid border-border_neutral_default":""}`,children:[e8&&(0,a.jsx)("div",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0",children:" "}),(0,a.jsx)("div",{className:`search-results-div default-scrollbar p-4 pt-4 m-0 overflow-y-auto max-h-[90vh] z-[1] relative ${e8?"":" bg-bkg_neutral_default"}`,ref:R,onMouseDown:e=>e.stopPropagation(),children:tF(ed,ee)})]})})]})})]})]}),(0,a.jsxs)("div",{className:` flex ${e1?" flex-col justify-between h-[calc(100svh-52px)] fixed top-[52px] left-[0px] transition-[width] duration-200 ease-in w-[52px] items-start":""} ${e0?"!w-[160px]":""} ${e2?"":"bg-MenuBackColor"}`,children:[(0,a.jsxs)("ul",{className:`m-0 list-none flex justify-start items-center w-full flex-nowrap relative z-[9] gap-1 transition-[width] duration-200 ease-in ${e1?"py-4 px-2 gap-2 flex-col items-center":""} ${!e1?"ml-2":""}`,id:"ulMainElement",children:[(0,a.jsxs)("li",{onTouchEnd:tv("logo"),onPointerEnter:tC("logo"),onPointerLeave:ty("logo"),className:` relative transition-all duration-600 ease-linear group/logo ${e1?"hidden w-full":""}`,children:[(0,a.jsx)("a",{href:"#",className:`px-[5px] py-[6px] [line-height:0px] block text-MenuFontColor transition-colors duration-100 rounded-lg border border-solid border-transparent ${tL("logo")} ${e1?"w-full":""}`,onClick:e=>{e.preventDefault(),_("#",void 0,"vagaroicon")},children:(0,a.jsx)("span",{className:"[line-height:0px]",children:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24px",height:"21px",viewBox:"0 0 27 24",fill:"none",children:[(0,a.jsx)("path",{d:"M26.1706 3.35222C25.8586 2.18444 25.1098 1.21056 24.0624 0.606611C21.9029 -0.641393 19.1306 0.102953 17.8826 2.26245L13.1624 10.4391L8.44007 2.26022C7.19206 0.100724 4.42194 -0.641392 2.26022 0.604383C0.100724 1.85239 -0.641393 4.62251 0.604383 6.78423L9.2379 21.7358C9.84184 22.7832 10.818 23.5298 11.9835 23.844C12.3735 23.9487 12.768 24 13.1624 24C13.6148 24 14.0628 23.9309 14.4951 23.795C15.5492 23.4718 16.4897 22.7631 17.0847 21.7358L25.7182 6.78423C26.3222 5.73903 26.4826 4.52 26.1706 3.35222ZM3.00011 1.88804C4.45314 1.0501 6.31846 1.5493 7.1564 3.00233L12.3067 11.9211L9.25127 17.214C9.08413 17.5015 8.95264 17.8023 8.85458 18.1121L1.88582 6.04434C1.04787 4.59131 1.54707 2.72599 3.00011 1.88804ZM24.4368 6.04434L15.8033 20.9959C15.5247 21.4795 15.1325 21.8561 14.6801 22.1146L14.6779 22.1102C14.2388 22.3642
6613.7597 22.4957 13.285 22.5135C13.2694 22.5135 13.2538 22.5158 13.236 22.5158C13.2204 22.5158 13.207 22.5158 13.1914 22.5158C12.6655 22.5202 12.1328 22.391 11.647 22.1102C10.194 21.2722 9.69476 19.4069 10.5327 17.9539L19.1662 3.00233C19.5718 2.2981 20.2292 1.79444 21.0137 1.58496C21.2767 1.51364 21.5419 1.48021 21.8071 1.48021C22.3353 1.48021 22.8545 1.61839 23.3225 1.89027C24.0267 2.29587 24.5304 2.9533 24.7399 3.73776C24.9494 4.52 24.8424 5.34011 24.4368 6.04434Z",fill:"white"}),(0,a.jsx)("path",{d:"M13.2894 20.5414C13.9934 20.5414 14.5641 19.9707 14.5641 19.2667C14.5641 18.5627 13.9934 17.9919 13.2894 17.9919C12.5854 17.9919 12.0146 18.5627 12.0146 19.2667C12.0146 19.9707 12.5854 20.5414 13.2894 20.5414Z",fill:"white"})]})})}),(0,a.jsxs)("ul",{onTouchStart:t_,onTouchEnd:t_,onClick:tk,className:`bg-bkg_neutral_default rounded-lg border-border_neutral_default shadow-dropdownShadow flex flex-col left-0 min-w-[200px] p-4 absolute list-none m-0 whitespace-nowrap z-[9] opacity-0 invisible transition-[opacity,visibility] duration-100 ease-linear ${tb?"logo"===tf?"!opacity-100 !visible !pointer-events-auto":"!opacity-0 !invisible !pointer-events-none":e$.logo} ${e8?" !rounded-2xl !bg-bkg_graient_start bg-blend-color-dodge border border-solid border-border_neutral_default":""}`,children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsx)("li",{className:"relative rounded-lg tracking-[0px] z-[2]",children:(0,a.jsx)("a",{href:"/Default.aspx",className:"text-text_neutral_default no-underline",id:"vagarocom",onClick:e=>{e.preventDefault(),_("/Default.aspx",void 0,"vagarocom")},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Vagaro.com"})})}),(0,a.jsx)("li",{className:"relative rounded-lg tracking-[0px] z-[2]",children:(0,a.jsx)("a",{href:"https://www.vagaro.com/pro/vagaro-app",id:"vagaromobileapp",target:"_blank",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("https://www.vagaro.com/pro/vagaro-app","_blank","vagaromobileapp",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Vagaro Mobile Apps"})})}),(0,a.jsx)("li",{className:"relative rounded-lg tracking-[0px] z-[2]",children:(0,a.jsx)("a",{href:"https://blog.vagaro.com/pro/",id:"problog",target:"_blank",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("https://blog.vagaro.com/pro/","_blank","problog",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Pro Blog"})})}),(0,a.jsx)("li",{className:"relative rounded-lg tracking-[0px] z-[2]",children:(0,a.jsx)("a",{href:v||"#",id:"vagaro_mysite",target:"_blank",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_(v||"#","_blank","vagaro_mysite",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Vagaro Mysite"})})})]})]}),(0,a.jsx)("li",{id:"liDormantDashboard",style:{display:"none"},className:`relative transition-all duration-600 ease-linear ${e1?"rounded-lg w-full tracking-[0px]":""}`,children:(0,a.jsxs)("a",{id:"dormantdashboard",href:F?"/merchants/home":"/merchants/settings/business/home",onClick:e=>{e.preventDefault(),_(F?"/merchants/home":"/merchants/settings/business/home",void 0,"home",e)},className:`border border-solid border-transparent leading-[18px] p-2 max-[820px]:p-[7px] rounded-lg text-MenuFontColor no-underline flex items-center hover:bg-MenuHoverColor active:bg-MenuPressedColor text-[14px] font-medium 67 ${e1?"flex text-[14px] py-[7px] rounded-lg":" group-focus-within:items-center group-focus-within:justify-center"} 68 ${!e1&&""} 69 ${"Home"===eW?tl():""} 70 ${e8?"border border-solid border-transparent active:bg-[rgba(255,255,255,0.2)] hover:bg-[rgba(255,255,255,0.1)] hover:backdrop-blur-md hover:border hover:shadow-[0_4px_10px_rgba(0,0,0,0.1)] hover:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] hover:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] hover:border-border_width_default hover:border-solid hover:border-white ":""} 71 ${e2?" active:bg-[rgba(255,255,255,0.2)] hover:bg-[rgba(255,255,255,0.1)]":""}`,children:[(0,a.jsx)("i",{className:` text-[18px] max-[820px]:!block h-5 ${e1?" min-w-5 text-center flex":"hidden "}`,"aria-hidden":"true",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,a.jsx)("path",{d:"M9.37839 0.240258C9.73377 -0.080086 10.2727 -0.080086 10.6281 0.240258L19.6882 8.36605C20.0748 8.70984 20.1061 9.30364 19.7585 9.6904C19.4109 10.0772 18.8213 10.1084 18.4346 9.76072L18.1222 9.47944V17.4998C18.1222 18.8788 17.0014 20 15.6229 20H4.37578C2.99723 20 1.87643 18.8788 1.87643 17.4998V9.47944L1.56401 9.76072C1.17739 10.1045 0.587699 10.0732 0.240133 9.6904C-0.107433 9.30755 -0.0722857 8.71374 0.310428 8.3
716605L9.37839 0.240258ZM10.0032 2.19748L3.75485 7.8035V17.5037C3.75485 17.8474 4.03602 18.1287 4.37969 18.1287H6.2542V14.0658C6.2542 12.511 7.51169 11.2531 9.06597 11.2531H10.9405C12.4948 11.2531 13.7523 12.511 13.7523 14.0658V18.1287H15.6268C15.9704 18.1287 16.2516 17.8474 16.2516 17.5037V7.8035L10.0032 2.20139V2.19748ZM8.12871 18.1287H11.8777V14.0658C11.8777 13.5462 11.4599 13.1282 10.9405 13.1282H9.06597C8.54657 13.1282 8.12871 13.5462 8.12871 14.0658V18.1287Z",fill:"white"})})}),(0,a.jsx)("span",{className:`${e1?"opacity-0 w-0 transition-all duration-200 ease-in-out flex items-center justify-between":"max-[820px]:hidden"} ${e0&&e1?"!w-full opacity-100 pl-2":"pl-0 "}`,children:"Home "})]})}),(0,a.jsxs)("li",{id:"liCalendar",onTouchEnd:tv("calendar"),onPointerEnter:tC("calendar"),onPointerLeave:ty("calendar"),className:`relative transition-all duration-600 ease-linear group/calendar ${e1?"rounded-lg w-full tracking-[0px]":""} ${!e1&&eQ("calendar")?"!hidden":""}`,children:[(0,a.jsxs)("a",{href:"/merchants/calendar/v3",className:` 72 ${tD} 73 ${tP()} 74 ${"Calendar"===eW?tl():""} 75 ${tL("calendar")} 76 `,onClick:e=>{e.preventDefault(),_("/merchants/calendar/v3",void 0,"calendar",e,!0)},children:[(0,a.jsx)("i",{className:` text-[18px] max-[820px]:!block h-5 ${e1?"min-w-5 text-center flex items-center justify-center ":"hidden"}`,"aria-hidden":"true",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 448 512",fill:"none",children:(0,a.jsx)("path",{d:"M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L64 64C28.7 64 0 92.7 0 128l0 16 0 48L0 448c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-256 0-48 0-16c0-35.3-28.7-64-64-64l-40 0 0-40c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L152 64l0-40zM48 192l352 0 0 256c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-256z",fill:"white"})})}),(0,a.jsxs)("span",{className:`${e1?"opacity-0 w-0 transition-all flex items-center justify-between duration-200 ease-in-out overflow-hidden":"max-[820px]:hidden"} ${e0&&e1?"!w-full opacity-100 pl-2":"pl-0"}`,children:["Calendar",(0,a.jsx)("i",{className:`fa-solid mt-[2px] fa-caret-right ${e0&&e1?"flex":"!hidden"}`})]})]}),(0,a.jsxs)("ul",{onTouchStart:t_,onTouchEnd:t_,onClick:tk,className:tT("calendar"),children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsxs)("li",{className:`items-center justify-start gap-2 cursor-auto py-2 z-[2] ${e1?e0?"hidden":"flex":"hidden"}`,children:[(0,a.jsx)("span",{className:"flex items-center justify-center w-[14px] text-text_neutral_default",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",children:(0,a.jsx)("path",{d:"M4.89099 2.375H9.10901V1.203C9.10901 0.822003 9.40201 0.5 9.81201 0.5C10.193 0.5 10.516 0.822003 10.516 1.203V2.375H11.688C12.713 2.375 13.562 3.225 13.562 4.25V13.625C13.562 14.68 12.713 15.5 11.688 15.5H2.31201C1.25801 15.5 0.437988 14.68 0.437988 13.625V4.25C0.437988 3.225 1.25801 2.375 2.31201 2.375H3.48401V1.203C3.48401 0.822003 3.77699 0.5 4.18799 0.5C4.56799 0.5 4.89099 0.822003 4.89099 1.203V2.375ZM1.84399 13.625C1.84399 13.889 2.04901 14.094 2.31201 14.094H11.688C11.922 14.094 12.156 13.889 12.156 13.625V6.125H1.84399V13.625Z",fill:"currentColor"})})}),(0,a.jsx)("span",{className:"text-text_neutral_default text-base font-bold leading-5",children:"Calendar"})]}),(0,a.jsx)("li",{className:"relative rounded-lg tracking-[0px] z-[2]",children:(0,a.jsx)("a",{href:"/merchants/calendar/v3",id:"lastViewed",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/calendar/v3",void 0,"lastViewed",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Last Viewed"})})}),(0,a.jsx)("li",{className:"level1 z-[2]",children:(0,a.jsx)("a",{href:"/merchants/calendar/v3?enc=oh/nnbuuK1jchMBhit/KsA==",id:"today",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/calendar/v3?enc=oh/nnbuuK1jchMBhit/KsA==",void 0,"today",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Today"})})}),(0,a.jsx)("li",{className:"level1 z-[2]",children:(0,a.jsx)("a",{href:"/merchants/calendar/v3?enc=RHW+2dSuTfVz8Sohv3x+tQ==",id:"thisWeek",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/calendar/v3?enc=RHW+2dSuTfVz8Sohv3x+tQ==",void 0,"thisWeek",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:"This Week"})})}),(0,a.jsx)("li",{className:"level1 z-[2]",children:(0,a.jsx)("a",{href:"/merchants/calendar/v3?enc=b4SZzvmXR7YXia3M/+C8uQ==",id:"thisMonth",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/calendar/v3?enc=b4SZzvmXR7YXia3M/+C8uQ==",void 0,"thisMonth",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:"This Month"})})}),(0,a.jsx)("li",{className:"level1 z-[2]",children:(0,a.jsx)("a",{href:"#",id:"print_daily_plan",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("#",void 0,"print_daily_plan",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:"Print Daily Plan"})})}),(0,a.jsx)("li",{className:"level1 z-[2]",children:(0,a.jsx)("a",{href:"#",id:"calendar_configuration",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("#",void 0,"calendar_configuration",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:"Configuration"})})})]})]}),(0,a.jsxs)("li",{id:"liCheckout",onTouchEnd:tv("checkout"),onPointerEnter:tC("checkout"),onPointerLeave:ty("checkout"),className:`relative transition-all duration-600 ease-linear group/checkout ${e1?"w-full":""} ${!e1&&eQ("checkout")?"!hidden":""}`,children:[(0,a.jsxs)("a",{href:"/merchants/checkout/v3",className:` 77 ${tD} 78 ${tP()} 79 ${"Checkout"===eW?tl():""} 80 ${tL("checkout")}`,onClick:e=>{e.preventDefault(),_("/merchants/checkout/v3",void 0,"checkout",e,!0)},children:[(0,a.jsx)("i",{className:` text-[18px] max-[820px]:!block h-5 ${e1?"text-center min-w-5 flex":"hidden "} ${!e1?"hidden":""}`,"aria-hidden":"true",children:2===$?(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{d:"M18.125 10C18.125 5.51172 14.4883 1.875 10 1.875C5.51172 1.875 1.875 5.51172 1.875 10C1.875 14.4883 5.51172 18.125 10 18.125C14.4883 18.125 18.125 14.4883 18.125 10ZM0 10C0 4.47656 4.47656 0 10 0C15.5234 0 20 4.47656 20 10C20 15.5234 15.5234 20 10 20C4.47656 20 0 15.5234 0 10ZM6.875 10.3125C6.53125 10.3125 6.25 10.0312 6.25 9.6875C6.25 9.34375 6.53125 9.0625 6.875 9.0625H6.98828C6.37109 6.90625 7.98438 4.6875 10.2969 4.6875H10.3828C11.1523 4.6875 11.8984 4.9375 12.5117 5.39844L13.0664 5.8125C13.4805 6.125 13.5664 6.71094 13.2539 7.125C12.9414 7.53906 12.3555 7.625 11.9414 7.3125L11.3867 6.89844C11.0938 6.67969 10.7422 6.5625 10.3789 6.5625H10.293C9.17969 6.5625 8.42578 7.69141 8.84766 8.71875L8.94531 8.95312C8.96094 8.98828 8.97266 9.02344 8.98828 9.0625H11.875C12.2188 9.0625 12.5 9.34375 12.5 9.6875C12.5 10.0312 12.2188 10.3125 11.875 10.3125H9.25391C9.30469 11.2266 9.05078 12.1445 8.50781 12.9141L8.36328 13.125H12.8125C13.332 13.125 13.75 13.543 13.75 14.0625C13.75 14.582 13.332 15 12.8125 15H6.5625C6.21484 15 5.89062 14.8047 5.73047 14.4961C5.57031 14.1875 5.59375 13.8125 5.79297 13.5273L6.97266 11.8438C7.28906 11.3945 7.42578 10.8477 7.375 10.3164L6.875 10.3125Z"})}):(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,a.jsx)("path",{d:"M11.7341 9.51556L8.83016 8.66917C8.4682 8.54806 8.18608 8.14479 8.18608 7.74155C8.18608 7.21856 8.58931 6.77402 9.03247 6.77402H10.8464C11.1285 6.77402 11.4107 6.85517 11.6529 7.0162C11.8951 7.17722 12.2172 7.13736 12.4195 6.9350
805L12.9026 6.49186C13.226 6.20972 13.1847 5.72666 12.8227 5.48443C12.2585 5.08119 11.613 4.87887 10.9675 4.87887V4.1935C10.9675 3.87146 10.6854 3.54938 10.3221 3.54938H9.67794C9.3146 3.54938 9.03247 3.87146 9.03247 4.1935V4.83897C7.50068 4.87888 6.29093 6.16984 6.29093 7.74155C6.29093 8.99258 7.09742 10.161 8.26588 10.4844L11.1698 11.3707C11.5318 11.4918 11.774 11.8552 11.774 12.2984C11.774 12.8227 11.4107 13.226 10.9276 13.226H9.11232C8.83018 13.226 8.58933 13.1847 8.34711 13.0237C8.06497 12.8627 7.74155 12.9025 7.54061 13.1048L7.05614 13.548C6.73409 13.8302 6.81532 14.3146 7.13737 14.5568C7.70164 14.9188 8.34709 15.161 9.03247 15.161V15.8065C9.03247 16.1685 9.3146 16.4506 9.67794 16.4506H10.3221C10.6455 16.4506 10.9675 16.1685 10.9675 15.8065V15.161C12.4594 15.161 13.7091 13.8714 13.7091 12.2984C13.7091 11.0487 12.9026 9.8789 11.7341 9.51556ZM10 0C4.47563 0 0 4.47563 0 10C0 15.5244 4.47563 20 10 20C15.5244 20 20 15.5244 20 10C20 4.47563 15.5244 0 10 0ZM10 18.0636C5.52435 18.0636 1.93639 14.4756 1.93639 10C1.93639 5.56427 5.52435 1.93639 10 1.93639C14.4357 1.93639 18.0636 5.56427 18.0636 10C18.0636 14.4756 14.4357 18.0636 10 18.0636Z",fill:"white"})})}),(0,a.jsxs)("span",{className:`${e1?"opacity-0 w-0 transition-all flex items-center justify-between duration-200 ease-in-out overflow-hidden":"max-[820px]:hidden"} ${e0&&e1?"!w-full opacity-100 pl-2":"pl-0"}`,children:["Checkout",(0,a.jsx)("i",{className:`fa-solid mt-[2px] fa-caret-right ${e0&&e1?"flex":"!hidden"}`})]})]}),(0,a.jsxs)("ul",{onTouchStart:t_,onTouchEnd:t_,onClick:tk,className:tT("checkout"),children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsxs)("li",{className:`items-center justify-start gap-2 cursor-auto py-2 z-[2] ${e1?e0?"hidden":"flex":"hidden"}`,children:[(0,a.jsx)("span",{className:"flex items-center justify-center w-[14px] text-text_neutral_default",children:2===$?(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{d:"M18.125 10C18.125 5.51172 14.4883 1.875 10 1.875C5.51172 1.875 1.875 5.51172 1.875 10C1.875 14.4883 5.51172 18.125 10 18.125C14.4883 18.125 18.125 14.4883 18.125 10ZM0 10C0 4.47656 4.47656 0 10 0C15.5234 0 20 4.47656 20 10C20 15.5234 15.5234 20 10 20C4.47656 20 0 15.5234 0 10ZM6.875 10.3125C6.53125 10.3125 6.25 10.0312 6.25 9.6875C6.25 9.34375 6.53125 9.0625 6.875 9.0625H6.98828C6.37109 6.90625 7.98438 4.6875 10.2969 4.6875H10.3828C11.1523 4.6875 11.8984 4.9375 12.5117 5.39844L13.0664 5.8125C13.4805 6.125 13.5664 6.71094 13.2539 7.125C12.9414 7.53906 12.3555 7.625 11.9414 7.3125L11.3867 6.89844C11.0938 6.67969 10.7422 6.5625 10.3789 6.5625H10.293C9.17969 6.5625 8.42578 7.69141 8.84766 8.71875L8.94531 8.95312C8.96094 8.98828 8.97266 9.02344 8.98828 9.0625H11.875C12.2188 9.0625 12.5 9.34375 12.5 9.6875C12.5 10.0312 12.2188 10.3125 11.875 10.3125H9.25391C9.30469 11.2266 9.05078 12.1445 8.50781 12.9141L8.36328 13.125H12.8125C13.332 13.125 13.75 13.543 13.75 14.0625C13.75 14.582 13.332 15 12.8125 15H6.5625C6.21484 15 5.89062 14.8047 5.73047 14.4961C5.57031 14.1875 5.59375 13.8125 5.79297 13.5273L6.97266 11.8438C7.28906 11.3945 7.42578 10.8477 7.375 10.3164L6.875 10.3125Z"})}):(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15",fill:"currentColor",children:(0,a.jsx)("path",{d:"M8.526 6.914L6.41599 6.29901C6.15299 6.21101 5.948 5.918 5.948 5.625C5.948 5.245 6.24099 4.922 6.56299 4.922H7.88098C8.08598 4.922 8.29098 4.98096 8.46698 5.09796C8.64298 5.21496 8.87699 5.186 9.02399 5.039L9.375 4.71698C9.61 4.51198 9.57999 4.16099 9.31699 3.98499C8.90699 3.69199 8.43799 3.54498 7.96899 3.54498V3.047C7.96899 2.813 7.764 2.57898 7.5 2.57898H7.03198C6.76798 2.57898 6.56299 2.813 6.56299 3.047V3.51599C5.44999 3.54499 4.57098 4.483 4.57098 5.625C4.57098 6.534 5.15698 7.38298 6.00598 7.61798L8.116 8.26196C8.379 8.34996 8.55499 8.61397 8.55499 8.93597C8.55499 9.31697 8.291 9.60999 7.94 9.60999H6.621C6.416 9.60999 6.241 9.58001 6.065 9.46301C5.86 9.34601 5.625 9.37497 5.479 9.52197L5.12698 9.84399C4.89298 10.049 4.952 10.401 5.186 10.577C5.596 10.84 6.06499 11.
80016 6.56299 11.016V11.485C6.56299 11.748 6.76798 11.953 7.03198 11.953H7.5C7.735 11.953 7.96899 11.748 7.96899 11.485V11.016C9.05299 11.016 9.961 10.079 9.961 8.93597C9.961 8.02797 9.375 7.178 8.526 6.914ZM7.26599 0C3.25199 0 0 3.25199 0 7.26599C0 11.28 3.25199 14.532 7.26599 14.532C11.28 14.532 14.532 11.28 14.532 7.26599C14.532 3.25199 11.28 0 7.26599 0ZM7.26599 13.125C4.01399 13.125 1.40698 10.518 1.40698 7.26599C1.40698 4.04299 4.01399 1.40698 7.26599 1.40698C10.489 1.40698 13.125 4.04299 13.125 7.26599C13.125 10.518 10.489 13.125 7.26599 13.125Z",fill:""})})}),(0,a.jsx)("span",{className:"text-text_neutral_default text-base font-bold leading-5",children:"Checkout"})]}),(0,a.jsx)("li",{className:"relative rounded-lg tracking-[0px] z-[2]",children:(0,a.jsx)("a",{href:"/merchants/checkout/v3",id:"checkoutMain",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/checkout/v3",void 0,"checkoutMain",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Checkout"})})}),(0,a.jsx)("li",{className:"relative rounded-lg tracking-[0px] z-[2]",children:(0,a.jsx)("a",{href:"#",id:"checkout_settings",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("#",void 0,"checkout_settings",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Checkout Settings"})})}),(0,a.jsx)("li",{className:"relative rounded-lg tracking-[0px] z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/premiumfeature/creditcardprocessing",id:"creditCardProcessing",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/premiumfeature/creditcardprocessing",void 0,"creditCardProcessing",e)},children:(0,a.jsxs)("span",{className:"text-[14px] font-normal flex py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:["Credit Card Processing",!M&&(0,a.jsx)("div",{className:"ml-[8px]",children:(0,a.jsx)(eD.default,{BadgeSize:"inline",BadgeText:"Apply",BadgeVariation:"positive"})})]})})}),(0,a.jsx)("li",{className:"relative rounded-lg tracking-[0px] z-[2]",id:"menuVagaroPayLater",children:(0,a.jsx)("a",{href:"/merchants/settings/premiumfeature/vagaropaylater",id:"vagaroPayLater",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/premiumfeature/vagaropaylater",void 0,"vagaroPayLater",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Buy Now, Pay Later"})})}),(0,a.jsx)("li",{className:"relative rounded-lg tracking-[0px] z-[2]",children:(0,a.jsx)("a",{href:"#",id:"refund_customer",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("#",void 0,"refund_customer",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Refund Customer"})})}),(0,a.jsxs)("li",{className:"relative rounded-lg group/level2 z-[2]",children:[(0,a.jsx)("a",{href:"#",id:"invoices",className:"text-text_neutral_default no-underline ",onClick:tj(e=>_("#",void 0,"invoices",e)),onTouchStart:tw("level2-invoices"),children:(0,a.jsxs)("span",{className:"block text-[14px] font-normal py-2 px-4 group-hover/level2:bg-bkg_neutral_secondary hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:["Invoices ",(0,a.jsx)("i",{className:"fa-solid fa-caret-right absolute right-[10px] top-[10px]"})]})}),(0,a.jsxs)("ul",{onClick:tS,className:`${tN("level2-invoices")} group/level2:hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary group-hover/level2:opacity-100 group-hover/level2:visible bg-bkg_neutral_default border-border_neutral_default shadow-dropdownShadow flex flex-col left-[100%] min-w-[200px] opacity-0 p-4 absolute top-[0px] transition-[opacity,visibility] duration-100 ease-linear invisible list-none m-0 whitespace-nowrap z-[9] ${e1?"rounded-2xl":"rounded-lg"} ${e8?"!rounded-2xl !bg-bkg_graient_start bg-blend-color-dodge border border-solid border-border_neutral_default":""}`,children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/checkout/v3?enc=mnGt+7qk43eTzLh82N4RYWUXHhSEbEf2kVAsIHujAdM=",i
80d:"createInvoice",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/checkout/v3?enc=mnGt+7qk43eTzLh82N4RYWUXHhSEbEf2kVAsIHujAdM=",void 0,"createInvoice",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Create Invoice"})})}),(0,a.jsx)("li",{className:"lrelative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/thingswesell/invoices/v3",id:"invoiceManagement",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/thingswesell/invoices/v3",void 0,"invoiceManagement",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Invoice Management"})})})]})]})]})]}),(0,a.jsxs)("li",{id:"liCustomers",onTouchEnd:tv("customers"),onPointerEnter:tC("customers"),onPointerLeave:ty("customers"),className:`relative transition-all duration-600 ease-linear group/customers ${e1?"w-full":""} ${!e1&&eQ("customers")?"!hidden":""}`,children:[(0,a.jsxs)("a",{href:"/merchants/customers/v3",className:` 81 ${tD} 82 ${tP()} 83 ${"Customers"===eW?tl():""} 84 ${tL("customers")}`,onClick:e=>{e.preventDefault(),_("/merchants/customers/v3",void 0,"customers",e,!0)},children:[(0,a.jsx)("i",{className:` text-[18px] max-[820px]:!block h-5 ${e1?"text-center min-w-5 flex":"hidden "}`,"aria-hidden":"true",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 17 20",fill:"none",children:(0,a.jsx)("path",{d:"M10.3212 11.875H6.67875C2.95985 11.875 0 14.9609 0 18.75C0 19.4531 0.531102 20 1.21374 20H15.7863C16.4313 20 17 19.4531 17 18.75C17 14.9609 14.0026 11.875 10.3212 11.875ZM1.82125 18.1251C2.12436 15.664 4.17358 13.75 6.67875 13.75H10.3212C12.7889 13.75 14.8381 15.664 15.1412 18.1251H1.82125ZM8.5 10C11.1567 10 13.3575 7.77344 13.3575 5C13.35
8475 2.26563 11.1567 0 8.5 0C5.8057 0 3.6425 2.26563 3.6425 5C3.6425 7.77344 5.8057 10 8.5 10ZM8.5 1.875C10.1697 1.875 11.5363 3.28125 11.5363 5C11.5363 6.75781 10.1697 8.125 8.5 8.125C6.79275 8.125 5.46374 6.75781 5.46374 5C5.46374 3.28125 6.79275 1.875 8.5 1.875Z",fill:"white"})})}),(0,a.jsxs)("span",{className:`${e1?"opacity-0 w-0 transition-all flex items-center justify-between duration-200 ease-in-out overflow-hidden":"max-[820px]:hidden"} ${e0&&e1?"!w-full opacity-100 pl-2":"pl-0"}`,children:["Customers",(0,a.jsx)("i",{className:`fa-solid mt-[2px] fa-caret-right ${e0&&e1?"flex":"!hidden"}`})]})]}),(0,a.jsxs)("ul",{onTouchStart:t_,onTouchEnd:t_,onClick:tk,className:tT("customers"),children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsxs)("li",{className:`items-center justify-start gap-2 cursor-auto py-2 z-[2] ${e1?e0?"hidden":"flex":"hidden"}`,children:[(0,a.jsx)("span",{className:"flex items-center justify-center w-[14px] text-text_neutral_default",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",children:(0,a.jsx)("path",{d:"M8.40601 9.40625H5.59399C2.72299 9.40625 0.437988 11.7207 0.437988 14.5625C0.437988 15.0898 0.848 15.5 1.375 15.5H12.625C13.123 15.5 13.562 15.0898 13.562 14.5625C13.562 11.7207 11.248 9.40625 8.40601 9.40625ZM1.84399 14.0938C2.07799 12.248 3.65999 10.8125 5.59399 10.8125H8.40601C10.311 10.8125 11.893 12.248 12.127 14.0938H1.84399ZM7 8C9.051 8 10.75 6.33008 10.75 4.25C10.75 2.19922 9.051 0.5 7 0.5C4.92 0.5 3.25 2.19922 3.25 4.25C3.25 6.33008 4.92 8 7 8ZM7 1.90625C8.289 1.90625 9.34399 2.96094 9.34399 4.25C9.34399 5.56836 8.289 6.59375 7 6.59375C5.682 6.59375 4.65601 5.56836 4.65601 4.25C4.65601 2.96094 5.682 1.90625 7 1.90625Z",fill:"currentColor"})})}),(0,a.jsx)("span",{className:"flex text-text_neutral_default text-base font-bold leading-5",children:"Customers"})]}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/customers/v3",id:"customerManagement",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/customers/v3",void 0,"customerManagement",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Customer Management"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/reports/customers/list",id:"customersList",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/customers/list",void 0,"customersList",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Customers List"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/reports/customers/reviewmanagement",id:"reviewsManagement",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/customers/reviewmanagement",void 0,"reviewsManagement",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Reviews Management"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",id:"liImportInventory",children:(0,a.jsx)("a",{href:"/merchants/settings/business/import",id:"importManagement",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/business/import",void 0,"importManagement",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Import Management"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/reports/customers/mergeduplicatecustomers",id:"mergeCleanUpCustomers",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/customers/mergeduplicatecustomers",void 0,"mergeCleanUpCustomers",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Merge & Clean Up Customers"})})}
84),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",id:"menuINVITEALLCUSTOMER",children:(0,a.jsx)("a",{href:"#",id:"invite_all_customers",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("#",void 0,"invite_all_customers",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:"Invite All Customers"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",id:"menuEXPORTCUSTOMER",children:(0,a.jsx)("a",{href:"#",id:"share_vagaro_account",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("#",void 0,"share_vagaro_account",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:"Share With Other Vagaro Account"})})})]})]}),(0,a.jsxs)("li",{id:"liMarketing",onTouchEnd:tv("marketing"),onPointerEnter:tC("marketing"),onPointerLeave:ty("marketing"),className:`relative transition-all duration-600 ease-linear group/marketing ${e1?"w-full":""} ${!e1&&eQ("marketing")?"!hidden":""}`,children:[(0,a.jsxs)("a",{href:"/merchants/marketing",className:` 85 ${tD} 86 ${tP()} 87 ${"Marketing"===eW?tl():""} 88 ${tL("marketing")}`,onClick:e=>{e.preventDefault(),_("/merchants/marketing",void 0,"marketing",e,!0)},children:[(0,a.jsx)("i",{className:` text-[18px] max-[820px]:!block h-5 ${e1?"text-center min-w-5 flex":"hidden "}`,"aria-hidden":"true",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,a.jsx)("path",{d:"M7.8125 4.89315C10.5469 4.89315 13.164 3.83095 15.1172 1.86391L16.6015 0.368966C17.3828 -0.417849 18.75 0.132921 18.75 1.2738V6.93887C19.4531 7.29294 20 8.23712 20 9.29932C20 10.4009 19.4531 11.345 18.75 11.699V17.3641C18.75 18.5051 17.3828 19.0558 16.6015 18.269L15.1172 16.7741C13.2422 14.8857 10.7422 13.7842 8.125 13.7448V17.7969C8.125 19.0165 7.10938 20 5.9375 20H4.6875C3.47656 20 2.5 19.0165 2.5 17.7969V13.7055C1.09375 13.7055 0 12.6039 0 11.1877V7.41096C0 6.03403 1.09375 4.89315 2.5 4.89315H7.8125ZM16.875 2.76875L16.4453 3.2015C14.2188 5.44392 11.25 6.70283 8.125 6.78151V11.8564C11.25 11.8958 14.2188 13.1941 16.4453 15.4365L16.875 15.8693V2.76875ZM4.375 17.7969C4.375 17.9936 4.49219 18.1116 4.6875 18.1116H5.9375C6.09375 18.1116 6.25 17.9936 6.25 17.7969V13.7055H4.375V17.7969ZM1.875 7.41096V11.1877C1.875 11.5417 2.14844 11.8171 2.5 11.8171H6.25V6.78151H2.5C2.14844 6.78151 1.875 7.09623 1.875 7.41096Z",fill:"white"})})}),(0,a.jsxs)("span",{className:`${e1?"opacity-0 w-0 transition-all flex items-center justify-between duration-200 ease-in-out overflow-hidden":"max-[820px]:hidden"} ${e0&&e1?"!w-full opacity-100 pl-2":"pl-0"}`,children:["Marketing",(0,a.jsx)("i",{className:`fa-solid mt-[2px] fa-caret-right ${e0&&e1?"flex":"!hidden"}`})]})]}),(0,a.jsxs)("ul",{onTouchStart:t_,onTouchEnd:t_,onClick:tk,className:tT("marketing"),children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsxs)("li",{className:`items-center justify-start gap-2 cursor-auto py-2 z-[2] ${e1?e0?"hidden":"flex":"hidden"}`,children:[(0,a.jsx)("span",{className:"flex items-center justify-center w-[14px] text-text_neutral_default",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,a.jsx)("path",{d:"M7.8125 4.89315C10.5469 4.89315 13.164 3.83095 15.1172 1.86391L16.6015 0.368966C17.3828 -0.417849 18.75 0.132921 18.75 1.2738V6.93887C19.4531 7.29294 20 8.23712 20 9.29932C20 10.4009 19.4531 11.345 18.75 11.699V17.3641C18.75 18.5051 17.3828 19.0558 16.6015 18.269L15.1172 16.7741C13.2422 14.8857 10.7422 13.7842 8.125 13.7448V17.7969C8.125 19.0165 7.10938 20 5.9375 20H4.6875C3.47656 20 2.5 19.0165 2.5 17.7969V13.7055C1.09375 13.7055 0 12.6039 0 11.1877V7.41096C0 6.03403 1.09375 4.89315 2.5 4.89315H7.8125ZM16.875 2.76875L16.4453 3.2015C14.2188 5.44392 11.25 6.70283 8.125 6.78151V11.8564C11.25 11.8958 14.2188 13.1941 16.4453 15.4365L16.875 15.8693V2.76875ZM4.375 17.7969C4.375 17.9936 4.49219 18.1116 4.6875 18.1116H5.9375C6.09375 18.1116 6.25 17.9936 6.25 17.7969V13.7055H4.375V17.7969ZM1.875 7.41096V11.1877C1.875 11.5417 2.14844 11.8171 2.5 11.8171H6.25V6.78151H2.5C2.14844 6.78151 1.875 7.09623 1.875 7.41096Z",fill:"currentColor"})})}),(0,a.jsx)("span",{className:"flex text-text_neutral_default text-base font-bold leading-5",children:"Marketing"})]}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/marketing",id:"allMarketing",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/marketing",void 0,"allMarketing",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"All Marketing"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/sett
88ings/book/verafillmybooks",id:"fillMyBooks",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/book/verafillmybooks",void 0,"fillMyBooks",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Fill My Books"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/promotions",id:"emailTextMarketing",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/promotions",void 0,"emailTextMarketing",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Email & Text Marketing"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/thingswesell/deals",id:"dailyDeals",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/thingswesell/deals",void 0,"dailyDeals",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Daily Deals"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/lookandfeel/photogallery",id:"marketingPhotos",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/lookandfeel/photogallery",void 0,"marketingPhotos",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Photos"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/premiumfeature/integration",id:"marketingIntegrations",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/premiumfeature/integration",void 0,"marketingIntegrations",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Integrations"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/premiumfeature/integration/widget",id:"bookingWidget",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/premiumfeature/integration/widget",void 0,"bookingWidget",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Booking Widget"})})})]})]}),(0,a.jsx)("li",{id:"liMySite",className:`relative transition-all duration-600 ease-linear ${e1?"w-full":""} ${!e1&&eQ("mysite")?"!hidden":""}`,children:(0,a.jsxs)("a",{href:v||"#",className:`border border-solid border-transparent leading-[18px] p-2 max-[820px]:p-[7px] rounded-lg text-MenuFontColor flex items-center no-underline hover:bg-MenuHoverColor active:bg-MenuPressedColor text-[14px] font-medium 89 ${e1?"flex text-[14px] py-[7px] rounded-lg":" group-focus-within:items-center group-focus-within:justify-center"} 90 ${!e1&&""} 91 ${e8?"border border-solid border-transparent active:bg-[rgba(255,255,255,0.2)] hover:bg-[rgba(255,255,255,0.1)] hover:backdrop-blur-md hover:border hover:shadow-[0_4px_10px_rgba(0,0,0,0.1)] hover:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] hover:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] hover:border-border_width_default hover:border-solid hover:border-white":""} 92 ${e2?" active:bg-[rgba(255,255,255,0.2)] hover:bg-[rgba(255,255,255,0.1)]":""} 93 `,onClick:e=>{e.preventDefault(),_(v||"#","_blank","vagaro_mysite",e,!0)},children:[(0,a.jsx)("i",{className:` text-[18px] max-[820px]:!block h-5 ${e1?"text-center min-w-5 flex":"hidden "}`,children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 23 20",fill:"none",children:(0,a.jsx)("path",{d:"M20.8438 0H2.15625C0.943353 0 0 0.982063 0 2.14286V17.8561C0 19.0614 0.943353 20 2.15625 20H20.8438C22.0118 20 23 19.0614 23 17.8561V2.14286C23 0.982063 22.0118 0 20.8438 0ZM2.15625 2.67845C2.15625 2.41057 2.38085 2.14286 2.69531 2.14286H4.49219C4.76172 2.14286 5.03125 2.41057 5.03125 2.67845V3.74919C5.03125 4.06309 4.76172 4.28555 4.49219 4.28555H2.69531C2.38085 4.28555 2.15625 4.06309 2.15625 3.74919V2.67845ZM20.8438 17.5879C20.8438 17.7677 20.709 17.8561 20.5743 17.8561H2.42578C2.24609 17.8561 2.15625 17.7677 2.15625 17.5879V6.07138H20.8438V17.5879ZM20.8438 3.74919C20.8438 4.06309 20.5743 4.28555 20.3047 4.28555H7.72656C7.4121 4.28555 7.1875 4.06309 7.1875 3.74919V2.67845C7.1875 2.41057 7.4121 2.14286 7.72656 2.14286H20.3047C20.5743 2.14286 20.8438 2.41057 20.8438 2.67845V3.74919Z",fill:"white"})})}),(0,a.jsx)("span",{className:`${e1?"opacity-0 w-0 transition-all flex items-center justify-between duration-200 ease-in-out overflow-hidden":"max-[820px]:hidden"} ${e0&&e1?"!w-full opacity-100 pl-2":"pl-0"}`,children:"MySite"})]})}),(0,a.jsxs)("li",{id:"liForms",onTouchEnd:tv("forms"),onPointerEnter:tC("forms"),onPointerLeave:ty("forms"),className:`relative transition-all duration-600 ease-linear group/forms ${e1?"w-full":""} ${!e1&&eQ("forms")?"!hidden":""}`,children:[(0,a.jsx)("span",{className:"form-notification-number bg-white rounded-full hidden h-[4px] w-[4px] absolute right-[5px] top-[10px] -translate-x-[14%] z-[1px]",style:{display:localStorage.getItem("lblUnsignedForms")&&parseInt(localStorage.getItem("lblUnsignedForms"))>0?"block":"none"}}),(0,a.jsxs)("a",{href:"/merchants/forms",className:` 94 ${tD} 95 ${tP()} 96 ${"Forms"===eW?tl():""} 97 ${tL("forms")}`,onClick:e=>{e.preventDefault(),_("/merchants/forms",void 0,"forms",e,!0)},children:[(0,a.jsx)("i",{className:` text-[18px] max-[820px]:!block h-5 ${e1?"text-center items-center justify-center min-w-5 flex":"hidden "}`,children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"20",viewBox:"0 0 15 20",fill:"none",children:(0,a.jsx)("path",{d:"M13.1253 2.5H10C10 1.13333 8.86667 0 7.5 0C6.09333 0 5 1.13333 5 2.5H1.87467C0.820008 2.5 0 3.36001 0 4.37467V18.1253C0 19.18 0.820008 20 1.87467 20H13.1253C14.14 20 15 19.18 15 18.1253V4.37467C15 3.36001 14.14 2.5 13.1253 2.5ZM7.5 1.56266C8.008 1.56266 8.43734 1.992 8.43734 2.5C8.43734 3.04667 8.008 3.43734 7.5 3.43734C6.95333 3.43734 6.56266 3.04667 6.56266 2.5C6.56266 1.992 6.95333 1.56266 7.5 1.56266ZM13.1253 17.8907C13.1253 18.0467 13.008 18.1253 12.8907 18.1253H2.10933C1.95333 18.1253 1.87467 18.0467 1.87467 17.8907V4.60933C1.87467 4.492 1.95333 4.37467 2.10933 4.37467H3.75065V5.78133C3.75065 6.05467 3.94534 6.24935 4.21867 6.24935H10.7813C11.016 6.24935 11.2493 6.05467 11.2493 5.78133V4.37467H12.89
9707C13.008 4.37467 13.1253 4.492 13.1253 4.60933V17.8907Z",fill:"white"})})}),(0,a.jsxs)("span",{className:`${e1?"opacity-0 w-0 transition-all flex items-center justify-between duration-200 ease-in-out overflow-hidden":"max-[820px]:hidden"} ${e0&&e1?"!w-full opacity-100 pl-2":"pl-0"}`,children:["Forms",(0,a.jsx)("i",{className:`fa-solid mt-[2px] fa-caret-right ${e0&&e1?"flex":"!hidden"}`})]})]}),(0,a.jsxs)("ul",{onTouchStart:t_,onTouchEnd:t_,onClick:tk,className:tT("forms"),children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsxs)("li",{className:`items-center justify-start gap-2 cursor-auto py-2 z-[2] ${e1?e0?"hidden":"flex":"hidden"}`,children:[(0,a.jsx)("span",{className:"flex items-center justify-center w-[14px] text-text_neutral_default",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"15",viewBox:"0 0 12 15",fill:"currentColor",children:(0,a.jsx)("path",{d:"M9.84399 1.875H7.5C7.5 0.85 6.65 0 5.625 0C4.57 0 3.75 0.85 3.75 1.875H1.40601C0.615006 1.875 0 2.52001 0 3.28101V13.594C0 14.385 0.615006 15 1.40601 15H9.84399C10.605 15 11.25 14.385 11.25 13.594V3.28101C11.25 2.52001 10.605 1.875 9.84399 1.875ZM5.625 1.172C6.006 1.172 6.328 1.494 6.328 1.875C6.328 2.285 6.006 2.578 5.625 2.578C5.215 2.578 4.922 2.285 4.922 1.875C4.922 1.494 5.215 1.172 5.625 1.172ZM9.84399 13.418C9.84399 13.535 9.756 13.594 9.668 13.594H1.582C1.465 13.594 1.40601 13.535 1.40601 13.418V3.457C1.40601 3.369 1.465 3.28101 1.582 3.28101H2.81299V4.336C2.81299 4.541 2.959 4.68701 3.164 4.68701H8.086C8.262 4.68701 8.43701 4.541 8.43701 4.336V3.28101H9.668C9.756 3.28101 9.84399 3.369 9.84399 3.457V13.418Z",fill:""})})}),(0,a.jsx)("span",{className:"flex text-text_neutral_default text-base font-bold leading-5",children:"Forms"})]}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/forms",id:"allForms",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/forms",void 0,"allForms",e)},children:(0,a.jsx)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"All Forms/SOAPs"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/reports/customers/unsignedforms",id:"unsigned_forms_soaps",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/customers/unsignedforms",void 0,"unsigned_forms_soaps",e)},children:(0,a.jsxs)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:["Unsigned Forms/SOAPs",localStorage.getItem("lblUnsignedForms")&&parseInt(localStorage.getItem("lblUnsignedForms"))>0&&(0,a.jsx)("span",{className:"formCount justify-center px-1 py-[2px] rounded-full min-w-[19px] h-[19px] text-center align-text-top ml-2 text-xs leading-[15px] font-normal text-text_neutral_inverse bg-bkg_alert_default inline-block",id:"lblUnsignedForms",children:localStorage.getItem("lblUnsignedForms")})]})})})]})]}),(0,a.jsxs)("li",{id:"menupayroll",onTouchEnd:tv("payroll"),onPointerEnter:tC("payroll"),onPointerLeave:ty("payroll"),style:{display:"none"},className:`relative transition-all duration-600 ease-linear group/payroll ${e1?"w-full":""} ${!e1&&eQ("payroll")?"!hidden":""}`,children:[(0,a.jsxs)("a",{href:"/merchants/settings/premiumfeature/payroll",className:` 98 ${tD} 99 ${tP()} 100 ${"Payroll"===eW?tl():""} 101 ${tL("payroll")}`,onClick:e=>{e.preventDefault(),_("/merchants/settings/premiumfeature/payroll",void 0,"payroll",e,!0)},children:[(0,a.jsx)("i",{className:` text-[18px] max-[820px]:!block h-5 ${e1?"text-center min-w-5 flex":"hidden "}`,children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 23 20",fill:"currentColor",children:(0,a.jsx)("path",{d:"M8.125 9.98932C8.125 7.91901 9.49219 6.23932 11.25 6.23932C12.9688 6.23932 14.375 7.91901 14.375 9.98932C14.375 12.0596 12.9688 13.7393 11.25 13.7393C9.49219 13.7393 8.125 12.0596 8.125 9.98932ZM0 16.4737V4.40339C0 3.46589 0.976562 2.84089 1.875 3.11432C5 3.93464 8.125 3.15339 11.25 2.37214C14.6094 1.51276 18.0077 0.614324 21.4062 1.90339C22.0702 2.13776 22.5 2.80182 22.5 3.54401V15.5753C22.5 16.5518 21.4844 17.1768 20.586 16.9033C17.461 16.0441 14.336 16.8643 11.25 17.6456C7.85156 18.5049 4.45312 19.3643 1.05469 18.1143C0.390625 17.8799 0 17.1768 0 16.4737ZM10.8984 15.8096C13.086 15.2628 15.5469 14.5987 18.125 14.6768C18.2812 13.4658 19.336 12.4893 20.625 12.4893V5.61432C19.2188 5.61432 18.125 4.52057 18.125 3.15339C16.289 3.07526 14.336 3.50495 12.1094 4.09089C11.9141 4.12995 11.7578 4.16901 11.5625 4.20807C9.375 4.75495 6.91406 5.41901 4.33594 5.34089C4.17969 6.55182 3.125 7.48932 1.875 7.48932V14.3643C3.24219 14.3643 4.33594 15.4971 4.375 16.8643C6.17188 16.9424 8.125 16.5128 10.3516 15.9268C10.5469 15.8878 10.7031 15.8487 10.8984 15.8096Z",fill:"currentColor"})})}),(0,a.jsxs)("span",{className:`${e1?"opacity-0 w-0 transition-all flex items-center justify-between duration-200 ease-in-out overflow-hidden":"max-[820px]:hidden"} ${e0&&e1?"!w-full opacity-100 pl-2":"pl-0"}`,children:["Payroll",(0,a.jsx)("i",{className:`fa-solid mt-[2px] fa-caret-right ${e0&&e1?"flex":"!hidden"}`})]})]}),(0,a.jsxs)("ul",{onTouchStart:t_,onTouchEnd:t_,onClick:tk,className:tT("payroll"),children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsxs)("li",{className:`items-center justify-start gap-2 cursor-auto py-2 z-[2] ${e1?e0?"hidden":"flex":"hidden"}`,children:[(0,a.jsx)("span",{className:"flex items-center justify-center w-[14px] text-text_neutral_default",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 23 20",fill:"none",children:(0,a.jsx)("path",{d:"M8.125 9.98932C8.125 7.91901 9.49219 6.23932 11.25 6.23932C12.9688 6.23932 14.375 7.91901 14.375 9.98932C14.375 12.0596 12.9688 13.7393 11.25 13.7393C9.49219 13.7393 8.125 12.0596 8.125 9.98932ZM0 16.4737V4.40339C0 3.46589 0.976562 2.84089 1.875 3.11432C5 3.93464 8.125 3.15339 11.25 2.37214C14.6094 1.51276 18.0077 0.614324 21.4062 1.90339C22.0702 2.13776 22.5 2.80182 22.5 3.54401V15.5753C22.5 16.5518 21.4844 17.1768 20.586 16.9033C17.461 16.0441 14.336 16.8643 11.25 17.6456C7.85156 18.5049 4.45312 19.3643 1.05469 18.1143C0.390625 17.8799 0 17.1768 0 16.4737ZM10.8984 15.8096C13.086 15.2628 15.5469 14.5987 18.125 14.6768C18.2812 13.4658 19.336 12.4893 20.625 12.4893V5.61432C19.2188 5.61432 18.125 4.52057 18.125 3.15339C16.289 3.07526 14.336 3.50495 12.1094 4.09089C11.9141 4.12995 11.7578 4.16901 11.5625 4.20807C9.375 4.75495 6.91406 5.41901 4.33594 5.34089C4.17969 6.55182 3.125 7.48932 1.875 7.48932V14.3643C3.24219 14.3643 4.33594 15.4971 4.375 16.8643C6.17188 16.9424 8.125 16.5128 10.3516 15.9268C10.5469 15.8878 10.7031 15.8487 10.8984 15.8096Z",fill:"currentColor"})})}),(0,a.jsx)("span",{className:"flex text-text_neutral_default text-base font-bold leading-5",children:"Payroll"})]}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/sett
101ings/premiumfeature/payroll",id:"companyinformation",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/premiumfeature/payroll",void 0,"companyinformation",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Company Information"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/reports/employees/payroll",id:"runpayroll",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/employees/payroll",void 0,"runpayroll",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Run Payroll"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/reports/employees/payrollconfiguration",id:"payrollconfig",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/employees/payrollconfiguration",void 0,"payrollconfig",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Payroll Configuration"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/reports/employees/payrollhistory",id:"payrollhistory",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/employees/payrollhistory",void 0,"payrollhistory",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Payroll History"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/employee/profile",id:"employeeprofiles",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/employee/profile",void 0,"employeeprofiles",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Employee Profiles"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/employee/pto",id:"timeoffpolicy",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/employee/pto",void 0,"timeoffpolicy",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Time Off Policy"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/reports/employees/timeoff",id:"timeoffreport",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/employees/timeoff",void 0,"timeoffreport",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Time Off Report"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/reports/employees/timecard",id:"timecardreport",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/employees/timecard",void 0,"timecardreport",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Time Card Report"})})})]})]}),(0,a.jsxs)("li",{id:"liReports",onTouchEnd:tv("reports"),onPointerEnter:tC("reports"),onPointerLeave:ty("reports"),className:`relative transition-all duration-600 ease-linear group/reports ${e1?"w-full":""} ${!e1&&eQ("reports")?"!hidden":""}`,children:[(0,a.jsxs)("a",{href:"/merchants/reports/sales/salessummary",className:` 102 ${tD} 103 ${tP()} 104 ${"Reports"===eW?tl():""} 105 ${tL("reports")}`,onClick:e=>{e.preventDefault(),_("/merchants/reports/sales/salessummary",void 0,"reports",e,!0)},children:[(0,a.jsx)("i",{className:` text-[18px] max-[820px]:!block h-5 ${e1?"text-center min-w-5 flex":"hidden "}`,children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 22 20",fill:"none",children:(0,a.jsx)("path",{d:"M20.9688 17.8571H2.0625V1.07139C2.0625 0.491121 1.58984 0 1.03124 0C0.429689 0 0 0.491121 0 1.07139V18.5714C0 19.3749 0.601568 20 1.375 20H20.9688C21.5273 20 22 19.5535 22 18.9286C22 18.3482 21.5273 17.8571 20.9688 17.8571ZM7.21876 14.2857C7.77734 14.2857 8.25 13.8392 8.25 13.2143V11.0714C8.25 10.4911 7.77734 10 7.21876 10C6.61719 10 6.1875 10.4911 6.1875 11.0714V13.2143C6.1875 13.8392 6.61719 14.2857 7.21876 14.2857ZM11.3438 14.2857C11.9023 14.2857 12.375 13.8392 12.375 13.2143V5.3571C12.375 4.77684 11.9023 4.28571 11.3438 4.28571C10.7422 4.28571 10.3125 4.77684 10.3125 5.3571V13.2143C10.3125 13.8392 10.7422 14.2857 11.3438 14.2857ZM15.4688 14.2857C16.0273 14.2857 16.5 13.8392 16.5 13.2143V8.21424C16.5 7.63398 16.0273 7.14286 15.4688 7.14286C14.8672 7.14286 14.4376 7.63398 14.4376 8.21424V13.2143C14.4376 13.8392 14.8672 14.2857 15.4688 14.2857ZM19.5938 14.2857C20.1523 14.2857 20.625 13.8392 20.625 13.2143V3.92853C20.625 3.34826 20.1523 2.85714 19.5938 2.85714C18.9922 2.85714 18.5624 3.34826 18.5624 3.92853V13.2143C18.5624 13.8392 18.9922 14.2857 19.5938 14.2857Z",fill:"white"})})}),(0,a.jsxs)("span",{className:`${e1?"opacity-0 w-0 transition-all flex items-center justify-between duration-200 ease-in-out overflow-hidden":"max-[820px]:hidden"} ${e0&&e1?"!w-full opacity-100 pl-2":"pl-0"}`,children:["Reports",(0,a.jsx)("i",{className:`fa-solid mt-[2px] fa-caret-right ${e0&&e1?"flex":"!hidden"}`})]})]}),(0,a.jsxs)("ul",{onTouchStart:t_,onTouchEnd:t_,onClick:tk,ref:to,className:`${tT("reports")} ${e1&&tg&&th>0?"overflow-y-auto":!e1&&tg?"max-h-[90svh] overflow-y-auto":""}`,style:e1&&tg&&th>0?{maxHeight:`${th}px`}:void 0,id:"ulReportMenu",children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0",style:e1&&tg&&tu>0?{height:`${tu}px`}:void 0}
105),(0,a.jsxs)("li",{id:"liReportMenuHeader",className:`items-center justify-start gap-2 cursor-auto py-2 z-[2] ${e1?e0?"hidden":"flex":"hidden"}`,children:[(0,a.jsx)("span",{className:"flex items-center justify-center w-[14px] text-text_neutral_default",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",children:(0,a.jsx)("path",{d:"M14.7969 12.1562H1.90625V1.1406C1.90625 0.759798 1.58398 0.4375 1.20312 0.4375C0.79297 0.4375 0.5 0.759798 0.5 1.1406V12.625C0.5 13.1523 0.91016 13.5625 1.4375 13.5625H14.7969C15.1777 13.5625 15.5 13.2695 15.5 12.8594C15.5 12.4785 15.1777 12.1562 14.7969 12.1562ZM5.42188 9.8125C5.80273 9.8125 6.125 9.5195 6.125 9.1094V7.7031C6.125 7.3223 5.80273 7 5.42188 7C5.01172 7 4.71875 7.3223 4.71875 7.7031V9.1094C4.71875 9.5195 5.01172 9.8125 5.42188 9.8125ZM8.23438 9.8125C8.61523 9.8125 8.9375 9.5195 8.9375 9.1094V3.9531C8.9375 3.5723 8.61523 3.25 8.23438 3.25C7.82422 3.25 7.53125 3.5723 7.53125 3.9531V9.1094C7.53125 9.5195 7.82422 9.8125 8.23438 9.8125ZM11.0469 9.8125C11.4277 9.8125 11.75 9.5195 11.75 9.1094V5.8281C11.75 5.4473 11.4277 5.125 11.0469 5.125C10.6367 5.125 10.3438 5.4473 10.3438 5.8281V9.1094C10.3438 9.5195 10.6367 9.8125 11.0469 9.8125ZM13.8594 9.8125C14.2402 9.8125 14.5625 9.5195 14.5625 9.1094V3.0156C14.5625 2.6348 14.2402 2.3125 13.8594 2.3125C13.4492 2.3125 13.1562 2.6348 13.1562 3.0156V9.1094C13.1562 9.5195 13.4492 9.8125 13.8594 9.8125Z",fill:"currentColor"})})}),(0,a.jsx)("span",{className:"flex text-text_neutral_default text-base font-bold leading-5",children:"Reports"})]}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/reports/sales/salessummary",id:"allReports",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/sales/salessummary",void 0,"allReports",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"All Reports"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{id:"transactionlist",href:"/merchants/reports/sales/transactionlist",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/sales/transactionlist",void 0,"transactionlist",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Transaction List"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{id:"timeCard",href:"/merchants/reports/employees/timecard",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/employees/timecard",void 0,"timeCard",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Time Card"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{id:"giftcertificates",href:"/merchants/reports/customers/giftcertificates",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/customers/giftcertificates",void 0,"giftcertificates",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Gift Cards"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{id:"iou",href:"/merchants/reports/customers/iou",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/customers/iou",void 0,"iou",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"IOU"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{id:"dashboard",href:"/merchants/reports/dashboard",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/reports/dashboard",void 0,"dashboard",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Dashboard"})})})]})]}),(0,a.jsxs)("li",{id:"liSettings",onTouchEnd:tv("setting"),onPointerEnter:tC("setting"),onPointerLeave:ty("setting"),className:`relative transition-all duration-600 ease-linear group/setting ${e1?"w-full":""} ${!e1&&eQ("settings")?"!hidden":""}`,children:[(0,a.jsxs)("a",{href:C,className:` 106 ${tD} 107 ${tP()} 108 ${"Settings"===eW?tl():""} 109 ${tL("setting")}`,onClick:e=>{e.preventDefault(),_(C,void 0,"settings",e,!0)},children:[(0,a.jsx)("i",{className:` text-[18px] max-[820px]:!block h-5 ${e1?"text-center min-w-5 flex":"hidden "} ${!e1?"hidden":""}`,children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 19 19",fill:"none",children:(0,a.jsx)("path",{d:"M18.2013 11.5725C18.2013 11.2425 18.0175 10.95 17.725 10.7663L16.5163 10.0713C16.5525 9.88751 16.5525 9.63125 16.5525 9.375C16.5525 9.155 16.5525 8.89874 16.5163 8.67874L17.725 7.98374C18.0175 7.79999 18.2013 7.50749 18.2013 7.21375C18.2013 6.40875 16.37 2.49001 15.0875 2.49001C14.9413 2.49001 14.795 2.52624 14.6488 2.63624L13.44 3.3325C13.0375 3.04 12.6338 2.78375 12.195 2.6V1.20874C12.195 0.806244 11.9025 0.440009 11.5363 0.330009C10.73 0.110009 9.92502 0 9.11877 0C8.27627 0 7.47125 0.110009 6.665 0.330009C6.29875 0.440009 6.00628 0.806244 6.00628 1.20874V2.6C5.56628 2.78375 5.16378 3.04 4.76128 3.3325L3.55251 2.63624C3.40626 2.52624 3.25878 2.49001 3.11253 2.49001C1.90503 2.49001 0 6.225 0 7.21375C0 7.50749 0.183765 7.79999 0.476265 7.98374L1.68503 8.67874C1.64753 8.89874 1.64753 9.155 1.64753 9.375C1.64753 9.63125 1.64753 9.8875 1.68503 10.1075L0.476265 10.8038C0.183765 10.9863 0 11.2787 0 11.5725C0 12.3412 1.83128 16.26 3.11253 16.26C3.25878 16.26 3.40626 16.2238 3.55251 16.1138L4.76128 15.4175C5.16378 15.71 5.56628 15.9662 6.00628 16.15V17.5413C6.00628 17.9438 6.29875 18.31 6.665 18.42C7.47125 18.6762 8.27628 18.75 9.08253 18.75C9.88753 18.75 10.6938 18.6763 11.4988 18.4575C11.9025 18.3475 12.1588 17.9813 12.1588 17.5788V16.1863C12.5975 16.0038 13 15.7475 13.4038 15.4538L14.6125 16.
10915C14.7588 16.26 14.905 16.2963 15.0513 16.2963C16.2963 16.2963 18.2013 12.5612 18.2013 11.5725ZM14.9413 14.2825L13.33 13.33C11.7925 14.465 12.1588 14.245 10.4375 15.015V16.8463C9.96126 16.955 9.48503 16.9925 9.08253 16.9925C8.53253 16.9925 8.05625 16.9188 7.76375 16.8463V15.015C6.0425 14.245 6.40875 14.465 4.87125 13.33L3.25878 14.2825C2.71003 13.5862 2.23376 12.8175 1.94126 11.9387L3.51627 11.06C3.44252 10.1438 3.40626 9.7775 3.40626 9.375C3.40626 9.00875 3.44252 8.64251 3.51627 7.72751L1.94126 6.81126C2.23376 5.96876 2.71003 5.16376 3.25878 4.46751L4.87125 5.42C6.40875 4.285 6.0425 4.50501 7.76375 3.73501V1.90374C8.24 1.79499 8.71627 1.75751 9.11877 1.75751C9.66752 1.75751 10.1075 1.83124 10.4375 1.90374V3.73501C12.1588 4.50501 11.7925 4.285 13.33 5.42L14.9413 4.505C15.4913 5.16375 15.9675 5.96876 16.26 6.81126L14.685 7.72751C14.7588 8.64251 14.795 9.00875 14.795 9.375C14.795 9.74125 14.7588 10.1438 14.685 11.06L16.26 11.975C15.9675 12.8175 15.4913 13.6225 14.9413 14.2825ZM9.11877 5.85875C7.17752 5.85875 5.60375 7.43375 5.60375 9.375C5.60375 11.2788 7.17752 12.8913 9.11877 12.8913C11.0225 12.8913 12.6338 11.2788 12.6338 9.375C12.6338 7.43375 11.0225 5.85875 9.11877 5.85875ZM9.11877 11.1325C8.13002 11.1325 7.36126 10.3638 7.36126 9.375C7.36126 8.4225 8.13002 7.61749 9.11877 7.61749C10.0713 7.61749 10.8763 8.4225 10.8763 9.375C10.8763 10.3638 10.0713 11.1325 9.11877 11.1325Z",fill:"white"})})}),(0,a.jsxs)("span",{className:`${e1?"opacity-0 w-0 transition-all flex items-center justify-between duration-200 ease-in-out overflow-hidden":"max-[820px]:hidden"} ${e0&&e1?"!w-full opacity-100 pl-2":"pl-0"}`,children:["Settings",(0,a.jsx)("i",{className:`fa-solid mt-[2px] fa-caret-right ${e0&&e1?"flex":"!hidden"}`})]})]}),(0,a.jsxs)("ul",{onTouchStart:t_,onTouchEnd:t_,onClick:tk,ref:ti,className:`${tT("setting")} ${e1&&tp&&td>0?"overflow-y-auto":!e1&&tp?"max-h-[90svh] overflow-y-auto":""}`,style:e1&&tp&&td>0?{maxHeight:`${td}px`}:void 0,id:"ulSettingMenu",children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0",style:e1&&tp&&tc>0?{height:`${tc}px`}:void 0}),(0,a.jsxs)("li",{id:"liSettingMenuHeader",className:`items-center justify-start gap-2 cursor-auto py-2 z-[2] ${e1?e0?"hidden":"flex":"hidden"}`,children:[(0,a.jsx)("span",{className:"flex items-center justify-center w-[14px] text-text_neutral_default",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,a.jsx)("path",{d:"M15.2805 9.758C15.2805 9.494 15.1335 9.26001 14.8995 9.11301L13.9325 8.55701C13.9615 8.41001 13.9615 8.205 13.9615 8C13.9615 7.824 13.9615 7.61899 13.9325 7.44299L14.8995 6.88699C15.1335 6.73999 15.2805 6.506 15.2805 6.271C15.2805 5.627 13.8155 2.492 12.7895 2.492C12.6725 2.492 12.5555 2.52099 12.4385 2.60899L11.4715 3.166C11.1495 2.932 10.8265 2.727 10.4755 2.58V1.467C10.4755 1.145 10.2415 0.852008 9.94849 0.764008C9.30349 0.588008 8.6595 0.5 8.0145 0.5C7.3405 0.5 6.69648 0.588008 6.05148 0.764008C5.75848 0.852008 5.52451 1.145 5.52451 1.467V2.58C5.17251 2.727 4.8505 2.932 4.5285 3.166L3.56149 2.60899C3.44449 2.52099 3.3265 2.492 3.2095 2.492C2.2435 2.492 0.719482 5.48 0.719482 6.271C0.719482 6.506 0.866494 6.73999 1.10049 6.88699L2.0675 7.44299C2.0375 7.61899 2.03751 7.824 2.03751 8C2.03751 8.205 2.0375 8.41 2.0675 8.586L1.10049 9.14301C0.866494 9.28901 0.719482 9.523 0.719482 9.758C0.719482 10.373 2.1845 13.508 3.2095 13.508C3.3265 13.508 3.44449 13.479 3.56149 13.391L4.5285 12.834C4.8505 13.068 5.17251 13.273 5.52451 13.42V14.533C5.52451 14.855 5.75848 15.148 6.05148 15.236C6.69648 15.441 7.3405 15.5 7.9855 15.5C8.6295 15.5 9.27449 15.441 9.91849 15.266C10.2415 15.178 10.4465 14.885 10.4465 14.563V13.449C10.7975 13.303 11.1195 13.098 11.4425 12.863L12.4095 13.42C12.5265 13.508 12.6435 13.537 12.7605 13.537C13.7565 13.537 15.2805 10.549 15.2805 9.758ZM12.6725 11.926L11.3835 11.164C10.1535 12.072 10.4465 11.896 9.06949 12.512V13.977C8.68849 14.064 8.3075 14.094 7.9855 14.094C7.5455 14.094 7.16448 14.035 6.93048 13.977V12.512C5.55348 11.896 5.84649 12.072 4.61649 11.164L3.32651 11.926C2.88751 11.369 2.50649 10.754 2.27249 10.051L3.5325 9.34801C3.4735 8.61501 3.44449 8.322 3.44449 8C3.44449 7.707 3.4735 7.41401 3.5325 6.68201L2.27249 5.94901C2.50649 5.27501 2.88751 4.63101 3.32651 4.07401L4.61649 4.836C5.84649 3.928 5.55348 4.10401 6.93048 3.48801V2.02299C7.31148 1.93599 7.6925 1.90601 8.0145 1.90601C8.4535 1.90601 8.80549 1.965 9.06949 2.02299V3.48801C10.4465 4.10401 10.1535 3.928 11.3835 4.836L12.6725 4.104C13.1125 4.631 13.4935 5.27
109501 13.7275 5.94901L12.4675 6.68201C12.5265 7.41401 12.5555 7.707 12.5555 8C12.5555 8.293 12.5265 8.61501 12.4675 9.34801L13.7275 10.08C13.4935 10.754 13.1125 11.398 12.6725 11.926ZM8.0145 5.187C6.4615 5.187 5.20248 6.447 5.20248 8C5.20248 9.523 6.4615 10.813 8.0145 10.813C9.5375 10.813 10.8265 9.523 10.8265 8C10.8265 6.447 9.5375 5.187 8.0145 5.187ZM8.0145 9.40601C7.2235 9.40601 6.60849 8.791 6.60849 8C6.60849 7.238 7.2235 6.59399 8.0145 6.59399C8.7765 6.59399 9.4205 7.238 9.4205 8C9.4205 8.791 8.7765 9.40601 8.0145 9.40601Z",fill:"currentColor"})})}),(0,a.jsx)("span",{className:"flex text-text_neutral_default text-base font-bold leading-5",children:"Settings"})]}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/book/notification",id:"allSettings",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/book/notification",void 0,"allSettings",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"All Settings"})})}),(0,a.jsxs)("li",{className:"relative rounded-lg group/level2 z-[2]",children:[(0,a.jsx)("a",{href:"#",id:"employees",target:"_self",className:"text-text_neutral_default no-underline",onClick:tj(e=>_("#",void 0,"employees",e)),onTouchStart:tw("level2-employees"),children:(0,a.jsxs)("span",{className:"block text-[14px] font-normal py-2 px-4 group-hover/level2:bg-bkg_neutral_secondary hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:["Employees ",(0,a.jsx)("i",{className:"fa-solid fa-caret-right absolute right-[10px] top-[10px]","aria-hidden":"true"})]})}),(0,a.jsxs)("ul",{onClick:tS,className:`${tN("level2-employees")} group/level2:hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary group-hover/level2:opacity-100 group-hover/level2:visible bg-bkg_neutral_default border-border_neutral_default shadow-dropdownShadow flex flex-col left-[100%] min-w-[200px] opacity-0 p-4 absolute top-[0px] transition-[opacity,visibility] duration-100 ease-linear invisible list-none m-0 whitespace-nowrap z-[9] ${e1?"rounded-2xl":"rounded-lg"} ${e8?"!rounded-2xl !bg-bkg_graient_start bg-blend-color-dodge border border-solid border-border_neutral_default":""}`,children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/employee/profile",id:"employeeProfile",target:"_self",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/employee/profile",void 0,"employeeProfile",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Employee Profiles "})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/employee/access",id:"accessLevels",target:"_self",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/employee/access",void 0,"accessLevels",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Access Levels"})})})]})]}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/thingswesell/service",id:"serviceClassMenu",className:"text-text_neutral_default no-underline",target:"_self",onClick:e=>{e.preventDefault(),_("/merchants/settings/thingswesell/service",void 0,"serviceClassMenu",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Service / Class Menu"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/premiumfeature/creditcardprocessing",id:"creditCardProcessing",className:"text-text_neutral_default no-underline",target:"_self",onClick:e=>
109{e.preventDefault(),_("/merchants/settings/premiumfeature/creditcardprocessing",void 0,"creditCardProcessing",e)},children:(0,a.jsxs)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:["Credit Card Processing",!M&&(0,a.jsx)("div",{className:"ml-[5px]",children:(0,a.jsx)(eD.default,{BadgeSize:"inline",BadgeText:"Apply",BadgeVariation:"positive"})})]})})}),(0,a.jsxs)("li",{className:"relative rounded-lg group/level2 z-[2]",children:[(0,a.jsx)("a",{href:"#",id:"inventory",className:"text-text_neutral_default no-underline",target:"_self",onClick:tj(e=>_("#",void 0,"inventory",e)),onTouchStart:tw("level2-inventory"),children:(0,a.jsxs)("span",{className:"block text-[14px] font-normal py-2 px-4 rounded-lg group-hover/level2:bg-bkg_neutral_secondary hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary ",children:["Inventory ",(0,a.jsx)("i",{className:"fa-solid fa-caret-right absolute right-[10px] top-[10px]","aria-hidden":"true"})]})}),(0,a.jsxs)("ul",{onClick:tS,className:`${tN("level2-inventory")} group/level2:hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary group-hover/level2:opacity-100 group-hover/level2:visible bg-bkg_neutral_default border-border_neutral_default shadow-dropdownShadow flex flex-col left-[100%] min-w-[200px] opacity-0 p-4 absolute top-[0px] transition-[opacity,visibility] duration-100 ease-linear invisible list-none m-0 whitespace-nowrap z-[9] ${e1?"rounded-2xl":"rounded-lg"} ${e8?"!rounded-2xl !bg-bkg_graient_start bg-blend-color-dodge border border-solid border-border_neutral_default":""}`,children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/inventory",id:"inventoryManagement",className:"text-text_neutral_default no-underline",target:"_self",onClick:e=>{e.preventDefault(),_("/merchants/settings/inventory",void 0,"inventoryManagement",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Management"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/inventory/vendor",id:"vendors",className:"text-text_neutral_default no-underline",target:"_self",onClick:e=>{e.preventDefault(),_("/merchants/settings/inventory/vendor",void 0,"vendors",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Vendors"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/inventory/po",id:"purchaseOrders",target:"_self",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/settings/inventory/po",void 0,"purchaseOrders",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Purchase Orders"})})}),I&&(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",id:"liImportInventroy",children:(0,a.jsx)("a",{href:"/merchants/settings/inventory/import",id:"importInventory",className:"text-text_neutral_default no-underline",target:"_self",onClick:e=>{e.preventDefault(),_("/merchants/settings/inventory/import",void 0,"importInventory",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Import Inventory"})})})]})]}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/settings/premiumfeature/managesubscription",id:"manageSubscription",className:"text-text_neutral_default no-underline",target:"_self",onClick:e=>{e.preventDefault(),_("/merchants/settings/premiumfeature/managesubscription",void 0,"manageSubscription",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Manage Subscription"})})})]})]}),(0,a.jsxs)("li",{ref:eJ,onTouchEnd:tv("more"),onPointerEnter:tC("more"),onPointerLeave:ty("more"),className:`relative transition-all duration-600 ease-linear group/more ${e1?"w-full hidden":""}`,children:[(0,a.jsxs)("a",{href:"#",className:` 110 ${tD} 111 ${tP()} 112 ${!e1&&("More"===eW||"Help"===eW||"Vagaro Store"===eW||"Refer a Friend"===eW)?tl():""} 113 ${tL("more")}`,id:"more",onClick:e=>{e.preventDefault(),_("#",void 0,"more",e)},onMouseEnter:e=>{e.preventDefault(),P()},children:[(0,a.jsx)("i",{className:`items-center justify-center text-[18px] max-[820px]:!block h-5 ${e1?"flex":"hidden "} ${!e1?"hidden":""}`,children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",width:"20",height:"20",fill:"currentColor",children:(0,a.jsx)("path",{d:"M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"})})}),(0,a.jsxs)("span",{className:`${e1?"opacity-0 w-0 transition-all flex items-center justify-between duration-200 ease-in-out overflow-hidden":"max-[820px]:hidden"} ${e0&&e1?"!w-full opacity-100 pl-2":"pl-0"}`,children:["More",(0,a.jsx)("i",{className:`fa-solid mt-[2px] fa-caret-right ${e0&&e1?"flex":"!hidden"}`})]})]}),(0,a.jsxs)("ul",{onTouchStart:t_,onTouchEnd:t_,onClick:tk,className:tT("more"),children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsxs)("li",{className:`items-center justify-start gap-2 cursor-auto py-2 z-[2] ${e1?e0?"hidden":"flex":"hidden"}`,children:[(0,a.jsx)("span",{className:"flex items-center justify-center w-[14px] text-text_neutral_default",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"4",viewBox:"0 0 16 4",fill:"none",children:(0,a.jsx)("path",{d:"M2 0C0.875 0 0 0.906 0 2C0 3.125 0.875 4 2 4C3.0938 4 4 3.125 4 2C4 0.906 3.0938 0 2 0ZM8 0C6.875 0 6 0.906 6 2C6 3.125 6.875 4 8 4C9.0938 4 10 3.125 10 2C10 0.906 9.0938 0 8 0ZM14 0C12.875 0 12 0.906 12 2C12 3.125 12.875 4 14 4C15.0938 4 16 3.125 16 2C16 0.906 15.0938 0 14 0Z",fill:"currentColor"})})}),(0,a.jsx)("span",{className:"flex text-text_neutral_default text-base font-bold leading-5",children:"More"})]}),eq.length>0&&(0,a.jsxs)(a.Fragment,{children:[eq.map(e=>{let t=eX.find(t=>
113t.id===e);if(!t)return null;let r=(e,t=1)=>e.submenus&&e.submenus.length>0?(0,a.jsxs)("li",{className:"relative rounded-lg group/nested z-[2]",children:[(0,a.jsx)("a",{href:e.href,id:e.id,className:"text-text_neutral_default no-underline",onClick:tj(t=>_(e.href,e.target,e.menuId,t)),onTouchStart:tw(`nested-${e.id}`),children:(0,a.jsxs)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg group-hover/nested:bg-bkg_neutral_tiertiary items-center",children:[e.label,e.showBadge&&(0,a.jsx)("div",{className:"ml-2",children:(0,a.jsx)(eD.default,{BadgeSize:"inline",BadgeText:e.badgeText||"Apply",BadgeVariation:"positive"})}),(0,a.jsx)("i",{className:"fa-solid fa-caret-right ml-auto","aria-hidden":"true"})]})}),(0,a.jsxs)("ul",{onClick:tS,className:`${tN(`nested-${e.id}`)} group-hover/nested:opacity-100 group-hover/nested:visible bg-bkg_neutral_default border-border_neutral_default shadow-dropdownShadow flex flex-col left-[100%] min-w-[200px] opacity-0 p-4 absolute top-[0px] transition-[opacity,visibility] duration-100 ease-linear invisible list-none m-0 whitespace-nowrap z-[9] ${e1?"rounded-2xl":"rounded-lg"} ${e8?"!rounded-2xl !bg-bkg_graient_start bg-blend-color-dodge border border-solid border-border_neutral_default":""}`,children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),e.submenus.map(e=>r(e,t+1))]})]},e.id):(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:e.href,id:e.id,className:"text-text_neutral_default no-underline",onClick:t=>{t.preventDefault(),_(e.href,e.target,e.menuId,t)},children:(0,a.jsxs)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg items-center",children:[e.label,e.showBadge&&(0,a.jsx)("div",{className:"ml-2",children:(0,a.jsx)(eD.default,{BadgeSize:"inline",BadgeText:e.badgeText||"Apply",BadgeVariation:"positive"})}),"unsigned_forms_soaps"===e.id&&localStorage.getItem("lblUnsignedForms")&&parseInt(localStorage.getItem("lblUnsignedForms"))>0&&(0,a.jsx)("span",{className:"formCount justify-center px-1 py-[2px] rounded-full min-w-[19px] h-[19px] text-center align-text-top ml-2 text-xs leading-[15px] font-normal text-text_neutral_inverse bg-bkg_alert_default inline-block",id:"lblUnsignedForms",children:localStorage.getItem("lblUnsignedForms")})]})})},e.id);return t.submenus&&t.submenus.length>0?(0,a.jsxs)("li",{className:"relative rounded-lg group/level2 z-[2]",children:[(0,a.jsx)("a",{href:t.href,className:"text-text_neutral_default no-underline",onClick:tj(e=>_(t.href,t.target,t.menuId,e)),onTouchStart:tw(`level2-${t.id}`),children:(0,a.jsxs)("span",{className:"text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg group-hover/level2:bg-bkg_neutral_secondary flex items-center gap-2",children:[(0,a.jsx)("i",{className:"flex items-center justify-center min-w-5 text-text_neutral_default",children:tI(t.id)}),(0,a.jsx)("span",{className:"flex-1",children:t.label}),t.showBadge&&(0,a.jsx)("div",{className:"ml-2",children:(0,a.jsx)(eD.default,{BadgeSize:"inline",BadgeText:t.badgeText||"Apply",BadgeVariation:"positive"})}),(0,a.jsx)("i",{className:"fa-solid fa-caret-right absolute right-[10px] top-[10px]","aria-hidden":"true"})]})}),(0,a.jsxs)("ul",{id:"reports"===e?"ulReportMenu":"settings"===e?"ulSettingMenu":void 0,className:`${tN(`level2-${t.id}`)} group/level2:hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary group-hover/level2:opacity-100 group-hover/level2:visible bg-bkg_neutral_default border-border_neutral_default shadow-dropdownShadow flex flex-col left-[100%] min-w-[200px] opacity-0 p-4 absolute top-[0px] transition-[opacity,visibility] duration-100 ease-linear invisible list-none m-0 whitespace-nowrap z-[9] ${e1?"rounded-2xl":"rounded-lg"} ${e8?"!rounded-2xl !bg-bkg_graient_start bg-blend-color-dodge border border-solid border-border_neutral_default":""}`,onClick:tS,children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),t.submenus.map(e=>r(e))]})]},t.id):(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:t.href,className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_(t.href,t.target,t.menuId,e)},children:(0,a.jsxs)("span",{className:"text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg flex items-center gap-2",children:[(0,a.jsx)("i",{className:"flex items-center justify-center min-w-5 text-text_neutral_default",children:tI(t.
113id)}),(0,a.jsx)("span",{className:"flex-1",children:t.label}),t.showBadge&&(0,a.jsx)("div",{className:"ml-2",children:(0,a.jsx)(eD.default,{BadgeSize:"inline",BadgeText:t.badgeText||"Apply",BadgeVariation:"positive"})})]})})},t.id)}),(0,a.jsx)("li",{className:"flex flex-col items-start py-2 gap-2 z-[2]",children:(0,a.jsx)("span",{className:"w-full h-[0.5px] bg-[#333]"})})]}),(0,a.jsxs)("li",{className:"relative rounded-lg group/level2 z-[2]",children:[(0,a.jsx)("a",{className:`text-text_neutral_default no-underline ${"Help"===eW?"bg-bkg_neutral_tiertiary":""}`,href:"/merchants/support",id:"help",onClick:tj(e=>_("/merchants/support",void 0,"help",e,!0)),onMouseEnter:()=>{},onTouchStart:tw("level2-help"),children:(0,a.jsxs)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg group-hover/level2:bg-bkg_neutral_secondary",children:["Help ",(0,a.jsx)("i",{className:"fa-solid fa-caret-right absolute right-[10px] top-[10px]","aria-hidden":"true"})]})}),(0,a.jsxs)("ul",{onClick:tS,className:`${tN("level2-help")} group/level2:hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary group-hover/level2:opacity-100 group-hover/level2:visible bg-bkg_neutral_default border-border_neutral_default shadow-dropdownShadow flex flex-col left-[100%] min-w-[200px] opacity-0 p-4 absolute top-[0px] transition-[opacity,visibility] duration-100 ease-linear invisible list-none m-0 whitespace-nowrap z-[9] ${e1?"rounded-2xl":"rounded-lg"} ${e8?"!rounded-2xl !bg-bkg_graient_start bg-blend-color-dodge border border-solid border-border_neutral_default":""}`,children:[(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsxs)("li",{className:`items-center justify-start gap-2 cursor-auto py-2 z-[2] ${e1?e0?"hidden":"flex":"hidden"}`,children:[(0,a.jsx)("span",{className:"flex items-center justify-center w-[14px] text-text_neutral_default",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,a.jsx)("path",{d:"M8 0.5C3.83984 0.5 0.5 3.86914 0.5 8C0.5 12.1602 3.83984 15.5 8 15.5C12.1309 15.5 15.5 12.1602 15.5 8C15.5 3.86914 12.1309 0.5 8 0.5ZM8 14.0938C4.63086 14.0938 1.90625 11.3691 1.90625 8C1.90625 4.66016 4.63086 1.90625 8 1.90625C11.3398 1.90625 14.0938 4.66016 14.0938 8C14.0938 11.3691 11.3398 14.0938 8 14.0938ZM8 10.3438C7.47266 10.3438 7.0625 10.7539 7.0625 11.2812C7.0625 11.8086 7.44336 12.2188 8 12.2188C8.49805 12.2188 8.9375 11.8086 8.9375 11.2812C8.9375 10.7539 8.49805 10.3438 8 10.3438ZM8.9668 4.25H7.47266C6.33008 4.25 5.42188 5.1582 5.42188 6.30078C5.42188 6.68164 5.74414 7.00391 6.125 7.00391C6.50586 7.00391 6.82812 6.68164 6.82812 6.30078C6.82812 5.94922 7.0918 5.65625 7.44336 5.65625H8.9375C9.31836 5.65625 9.64062 5.94922 9.64062 6.30078C9.64062 6.53516 9.52344 6.74023 9.31836 6.85742L7.64844 7.85352C7.41406 8 7.29688 8.23438 7.29688 8.46875V8.9375C7.29688 9.31836 7.61914 9.6406 8 9.6406C8.38086 9.6406 8.70312 9.31836 8.70312 8.9375V8.87891L10.0215 8.05859C10.6367 7.67773 11.0176 7.00391 11.0176 6.30078C11.0469 5.1582 10.1387 4.25 8.9668 4.25Z",fill:"currentColor"})})}),(0,a.jsx)("span",{className:"flex text-text_neutral_default text-base font-bold leading-5",children:"Help"})]}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/support",id:"general_help",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/support",void 0,"general_help",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"General Help"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/ShopOwner/BusinessCreated.aspx?from=cal",id:"get_started",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/ShopOwner/BusinessCreated.aspx?from=cal",void 0,"get_started",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Get Started"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"https://mysite.vagaro.com/vagarouniversity/",id:"vagaro_university",target:"_blank",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("https://mysite.vagaro.com/vagarouniversity/","_blank","vagaro_university",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Vagaro University"})})}),tM&&(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"#",id:"pay_desk_serial_number",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("#",void 0,"pay_desk_serial_number",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Pay Desk Serial Number"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"#",id:"enjoying_vagaro",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("#",void 0,"enjoying_vagaro",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Enjoying Vagaro?"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"https://feedback.vagaro.com/",id:"request_feature",target:"_blank",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("https://feedback.vagaro.com/","_blank","request_feature",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Request a Feature"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"https://helpdesk.me/",id:"remote_support",target:"_blank",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("https://helpdesk.me/","_blank","remote_support",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Remote Support"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/vagaro-health-status",id:"vagaro_health_status",className:"flex items-center text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/vagaro-health-status",void 0,"vagaro_health_status",e)},children:(0,a.jsxs)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:["All Systems Operational",(0,a.jsx)("span",{className:"circle-border block w-[17px] h-[17px] rounded-full border border-border_neutral_default p-0 ml-[8px] mt-[1px] border-solid"})]})})})]})]}
113),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",id:"liVideoImg",children:(0,a.jsx)("a",{href:"#",id:"tutorial",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("#",void 0,"tutorial")},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Tutorial"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",id:"liClockInClockOutIpad",style:{display:"none"},children:(0,a.jsx)("a",{href:"#",id:"click_in_out",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("#",void 0,"click_in_out",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Clock In/Out"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/ShopOwner/ManageVagaroProducts.aspx",id:"vagaro_store",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/ShopOwner/ManageVagaroProducts.aspx",void 0,"vagaro_store",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Vagaro Shop"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/refer-friends",id:"referAFriend",className:`text-text_neutral_default no-underline ${"Refer a Friend"===eW?"bg-bkg_neutral_tiertiary":""}`,onClick:e=>{e.preventDefault(),_("/merchants/refer-friends",void 0,"referAFriend",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Refer a Friend"})})})]})]})]}),(0,a.jsx)("div",{className:` block mb-4 w-full ${e1?"":"hidden"}`,children:(0,a.jsxs)("ul",{className:"m-0 list-none flex flex-col justify-start py-0 px-2 gap-2 w-full transition-[width] duration-200 ease-in items-center",children:[(0,a.jsxs)("li",{onTouchEnd:tv("more-menu"),onPointerEnter:tC("more-menu"),onPointerLeave:ty("more-menu"),className:"relative group/more-menu transition-all duration-600 ease-linear w-full",children:[(0,a.jsxs)("a",{href:"#",className:` 114 ${tD} 115 ${tP()} 116 ${"Vagaro Store"===eW?tl():""} 117 ${tL("more-menu")}`,id:"more",onClick:e=>{e.preventDefault(),_("#",void 0,"more")},onMouseEnter:e=>{e.preventDefault(),P()},children:[(0,a.jsx)("i",{className:"flex items-center justify-center min-w-5",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 21 21",fill:"none",children:(0,a.jsx)("path",{d:"M6.76147 11.5915C8.08873 11.5915 8.75732 12.2603 8.75732 13.6289V18.309L8.75 18.5593C8.67675 19.6868 8.09211 20.2656 7.00317 20.3378L6.76147 20.3464H1.99585L1.75537 20.3378C0.66597 20.2658 0.0805822 19.6871 0.00732422 18.5593L0 18.309V13.6289C0 12.2603 0.668768 11.5916 1.99585 11.5915H6.76147ZM17.2437 11.5915C18.5709 11.5915 19.2395 12.2603 19.2395 13.6289V18.309L19.2322 18.5593C19.1589 19.6868 18.5742 20.2655 17.4854 20.3378L17.2437 20.3464H12.489L12.2461 20.3378C11.1486 20.2658 10.5628 19.6871 10.4895 18.5593L10.4822 18.309V13.6289C10.4822 12.2603 11.1513 11.5915 12.489 11.5915H17.2437ZM12.5879 18.2407H17.135V13.696H12.5879V18.2407ZM2.10571 18.2407H6.65283V13.696H2.10571V18.2407ZM13.4485 0.702833C14.387 -0.235317 15.3258 -0.242942 16.3013 0.73213L19.6045 4.03413C20.5799 5.00916 20.5805 5.95495 19.6423 6.89302L16.2793 10.2548C15.3335 11.2001 14.3872 11.1994 13.4119
11710.2243L10.1086 6.92232C9.1334 5.94726 9.14084 5.00894 10.0867 4.06343L13.4485 0.702833ZM7.00317 1.11909C8.17008 1.19655 8.75732 1.85638 8.75732 3.14912V7.81831C8.75732 9.19735 8.08873 9.86665 6.76147 9.86665H1.99585C0.668768 9.86656 0 9.19726 0 7.81831V3.14912C0 1.85612 0.587994 1.19633 1.75537 1.11909L1.99585 1.11177H6.76147L7.00317 1.11909ZM11.6443 5.48189L14.8596 8.696L18.0737 5.48189L14.8596 2.26777L11.6443 5.48189ZM2.10571 7.76094H6.65283V3.21626H2.10571V7.76094Z",fill:"white"})})}),(0,a.jsxs)("span",{className:`${e1?"opacity-0 w-0 transition-all flex items-center justify-between duration-200 ease-in-out overflow-hidden":""} ${e0&&e1?"!w-full opacity-100 pl-2":"pl-0"}`,children:["More",(0,a.jsx)("i",{className:`fa-solid mt-[2px] fa-caret-right ${e0&&e1?"flex":"!hidden"}`})]})]}),(0,a.jsxs)("ul",{onTouchStart:t_,onTouchEnd:t_,onClick:tk,className:`${tT("more-menu")} -bottom-4 !top-auto`,children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsxs)("li",{className:`items-center justify-start gap-2 cursor-auto py-2 z-[2] ${e1?e0?"hidden":"flex":"hidden"}`,children:[(0,a.jsx)("span",{className:"flex items-center justify-center w-[14px] text-text_neutral_default",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"4",viewBox:"0 0 16 4",fill:"currentColor",children:(0,a.jsx)("path",{d:"M2 0C0.875 0 0 0.906 0 2C0 3.125 0.875 4 2 4C3.0938 4 4 3.125 4 2C4 0.906 3.0938 0 2 0ZM8 0C6.875 0 6 0.906 6 2C6 3.125 6.875 4 8 4C9.0938 4 10 3.125 10 2C10 0.906 9.0938 0 8 0ZM14 0C12.875 0 12 0.906 12 2C12 3.125 12.875 4 14 4C15.0938 4 16 3.125 16 2C16 0.906 15.0938 0 14 0Z",fill:""})})}),(0,a.jsx)("span",{className:"flex text-text_neutral_default text-base font-bold leading-5",children:"More"})]}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",id:"liClockInClockOutIpad",style:{display:"none"},children:(0,a.jsx)("a",{href:"#",id:"click_in_out",className:"text-text_neutral_default no-underline block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",onClick:e=>{e.preventDefault(),_("#",void 0,"click_in_out",e)},children:(0,a.jsx)("span",{children:"Clock In/Out"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/refer-friends",id:"refer_friend",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/refer-friends",void 0,"refer_friend",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:"Refer a Friend"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/ShopOwner/ManageVagaroProducts.aspx",id:"vagaro_store",className:"text-text_neutral_default no-underline block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",onClick:e=>{e.preventDefault(),_("/ShopOwner/ManageVagaroProducts.aspx",void 0,"vagaro_store",e)},children:(0,a.jsx)("span",{children:"Vagaro Store"})})})]})]}),(0,a.jsxs)("li",{onTouchEnd:tv("help"),onPointerEnter:tC("help"),onPointerLeave:ty("help"),className:"relative group/help transition-all duration-600 ease-linear w-full",children:[(0,a.jsxs)("a",{href:"#",className:` 118 ${tD} 119 ${tP()} 120 ${"Help"===eW||"Refer a Friend"===eW?tl():""} 121 ${tL("help")}`,onMouseEnter:e=>{e.preventDefault(),P()},children:[(0,a.jsx)("i",{className:"flex items-center justify-center min-w-5",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,a.jsx)("path",{d:"M10 0C4.45333 0 0 4.49219 0 10C0 15.5469 4.45333 20 10 20C15.508 20 20 15.5469 20 10C20 4.49219 15.508 0 10 0ZM10 15.6251C9.29733 15.6251 8.74933 15.0781 8.74933 14.3749C8.74933 13.6719 9.25733 13.1251 10 13.1251C10.664 13.1251 11.2507 13.6719 11.2507 14.3749C11.2507 15.0781 10.664 15.6251 10 15.6251ZM12.6947 10.0781L10.9373 11.1719V11.25C10.9373 11.7578 10.508 12.1875 10 12.1875C9.492 12.1875 9.06266 11.7578 9.06266 11.25V10.625C9.06266 10.3125 9.21866 10 9.53066 9.80469L11.7573 8.47656C12.0307 8.32031 12.188 8.04688 12.188 7.73437C12.188 7.26563 11.7573 6.875 11.2893 6.875H9.29734C8.78934 6.875 8.43734 7.26563 8.43734 7.73437C8.43734 8.24219 8.008 8.67188 7.5 8.67188C6.992 8.67188 6.56266 8.24219 6.56266 7.73437C6.56266 6.21093 7.77332 5 9.25732 5H11.2507C12.852 5 14.0627 6.21093 14.0627 7.73437C14.0627 8.67188 13.5547 9.57031 12.6947 10.0781Z",fill:"white"})})}),(0,a.jsxs)("span",{className:`${e1?"opacity-0 w-0 transition-all flex items-center justify-between duration-200 ease-in-out overflow-hidden":""} ${e0&&e1?"!w-full opacity-100 pl-2":"pl-0"}`,children:["Help",(0,a.jsx)("i",{className:`fa-solid mt-[2px] fa-caret-right ${e0&&e1?"flex":"!hidden"}`})]})]}),(0,a.jsxs)("ul",{onTouchStart:t_,onTouchEnd:t_,onClick:tk,className:`${tT("help")} -bottom-4 !top-auto`,children:[e8&&(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsxs)("li",{className:`items-center justify-start gap-2 cursor-auto py-2 z-[2] ${e1?e0?"hidden":"flex":"hidden"}`,children:[(0,a.jsx)("span",{className:"flex items-center justify-center w-[14px] text-text_neutral_default",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,a.jsx)("path",{d:"M8 0.5C3.83984 0.5 0.5 3.86914 0.5 8C0.5 12.1602 3.83984 15.5 8 15.5C12.1309 15.5 15.5 12.1602 15.5 8C15.5 3.86914 12.1309 0.5 8 0.5ZM8 14.0938C4.63086 14.0938 1.90625 11.3691 1.90625 8C1.90625 4.66016 4.63086 1.90625 8 1.90625C11.3398 1.90625 14.0938 4.66016 14.0938 8C14.0938 11.3691 11.3398 14.0938 8 14.0938ZM8 10.3438C7.47266 10.3438 7.0625 10.7539 7.0625 11.2812C7.0625 11.8086 7.44336 12.2188 8 12.2188C8.49805 12.2188 8.9375 11.8086 8.9375 11.2812C8.9375 10.7539 8.49805 10.3438 8 10.3438ZM8.9668 4.25H7.47266C6.33008 4.25 5.42188 5.1582 5.42188 6.30078C5.42188 6.68164 5.74414 7.00391 6.125 7.00391C6.50586 7.00391 6.82812 6.68164 6.82812 6.30078C6.82812 5.94922 7.0918 5.65625 7.44336 5.65625H8.9375C9.31836 5.65625 9.64062 5.94922 9.64062 6.30078C9.64062 6.53516 9.52344 6.74023 9.31836 6.85742L7.64844 7.85352C7.41406 8 7.29688 8.23438 7.29688 8.46875V8.9375C7.29688 9.31836 7.61914 9.6406 8 9.6406C8.38086 9.6406 8.70312 9.31836 8.70312 8.9375V8.87891L10.0215 8.05859C10.6367 7.67773 11.0176 7.00391 11.0176 6.30078C11.0469 5.1582 10.1387 4.25 8.9668 4.25Z",fill:"currentColor"})})}),(0,a.jsx)("span",{className:"flex text-text_neutral_default text-base font-bold leading-5",children:"Help"})]}
121),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",id:"liVideoImgIpad",children:(0,a.jsx)("a",{href:"#",id:"tutorial",className:"text-text_neutral_default no-underline block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",onClick:e=>{e.preventDefault(),_("#",void 0,"tutorial")},children:(0,a.jsx)("span",{children:"Tutorial"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/support",id:"general_help",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/merchants/support",void 0,"general_help",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"General Help"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/ShopOwner/BusinessCreated.aspx?from=cal",id:"get_started",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("/ShopOwner/BusinessCreated.aspx?from=cal",void 0,"get_started",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg ",children:"Get Started"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"https://mysite.vagaro.com/vagarouniversity/",id:"vagaro_university",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("https://mysite.vagaro.com/vagarouniversity/","_blank","vagaro_university",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:"Vagaro University"})})}),tM&&(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"#",id:"pay_desk_serial_number",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("#",void 0,"pay_desk_serial_number",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:"Pay Desk Serial Number"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"#",id:"enjoying_vagaro",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("#",void 0,"enjoying_vagaro")},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:"Enjoying Vagaro?"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"https://feedback.vagaro.com/",id:"request_feature",target:"_blank",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("https://feedback.vagaro.com/","_blank","request_feature",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:"Request a Feature"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"https://helpdesk.me/",id:"remote_support",target:"_blank",className:"text-text_neutral_default no-underline",onClick:e=>{e.preventDefault(),_("https://helpdesk.me/","_blank","remote_support",e)},children:(0,a.jsx)("span",{className:"block text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:"Remote Support"})})}),(0,a.jsx)("li",{className:"relative rounded-lg z-[2]",children:(0,a.jsx)("a",{href:"/merchants/vagaro-health-status",id:"vagaro_health_status",className:"text-text_neutral_default no-underline flex items-center justify-center",onClick:e=>{e.preventDefault(),_("/merchants/vagaro-health-status",void 0,"vagaro_health_status",e)},children:(0,a.jsxs)("span",{className:"flex text-[14px] font-normal py-2 px-4 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg",children:["All Systems Operational",(0,a.jsx)("span",{className:"circle-border block w-[17px] h-[17px] rounded-full border border-border_neutral_default p-0 ml-2 mt-[1px] border-solid"})]})})})]})]})]})})]}),(0,a.jsxs)("div",{className:`ml-auto flex items-center ${e1?"min-w-[166px] max-w-[166px] justify-end":""}`,ref:eY,children:[!z&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{onClick:()=>{document.body.classList.add("search-show"),eK(!0)},className:`${e8?"rounded-lg border border-solid border-transparent active:bg-[rgba(255,255,255,0.2)] hover:bg-[rgba(255,255,255,0.1)] hover:backdrop-blur-md hover:border [mask-image:linear-gradient(12deg,transparent,black_5%,black_90%,transparent)] [-webkit-mask-image:linear-gradient(12deg,transparent,black_5%,black_90%,transparent)] [mask-mode:alpha] [mask-repeat:no-repeat] [mask-size:cover] [-webkit-mask-mode:alpha] [-webkit-mask-repeat:no-repeat] [-webkit-mask-size:cover] hover:border-border_width_default hover:border-solid hover:border-white ":e2?"rounded-lg active:bg-[rgba(255,255,255,0.2)] hover:bg-[rgba(255,255,255,0.1)]":""} relative nav-connect max-[992px]:px-1 border border-solid border-transparent ${e8?"pr-3 cursor-pointer ":"pr-3 hover:bg-MenuHoverColor roun
121ded-lg "} ${e1?"hidden":""} ${eG&&(e8||e2)?"!border-transparent !pr-0 mr-2 active:bg-transparent":""} ${eG?"hover:bg-transparent":""} `,children:[(0,a.jsx)("div",{className:"block w-4 h-[17px] text-text_neutral_ondark absolute left-2 top-[9px] cursor-pointer",children:e6?(0,a.jsx)("i",{className:"fa-regular fa-circle-notch text-white text-[16px] animate-[spin_2s_linear_infinite] relative -top-[1px]"}):(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"20",viewBox:"0 0 19 20",fill:"white",children:(0,a.jsx)("path",{d:"M18.7214 18.3987L13.7437 13.164C14.8201 11.7973 15.4148 10.0387 15.4148 8.12533C15.4148 3.67199 11.9231 0 7.68837 0C3.41691 0 0 3.67199 0 8.12533C0 12.6173 3.45494 16.2493 7.68837 16.2493C9.47226 16.2493 11.1433 15.6253 12.4809 14.492L17.4586 19.7267C17.6437 19.9213 17.8668 20 18.1268 20C18.3499 20 18.5718 19.9213 18.7214 19.7267C19.0929 19.3747 19.0929 18.7893 18.7214 18.3987ZM1.78264 8.12533C1.78264 4.68799 4.41979 1.87467 7.7264 1.87467C10.995 1.87467 13.6689 4.68799 13.6689 8.12533C13.6689 11.6013 10.995 14.3747 7.7264 14.3747C4.41979 14.3747 1.78264 11.6013 1.78264 8.12533Z",fill:"white"})})}),(0,a.jsx)("input",{type:"text",id:"menuSearchInput",className:`transition-[width,opacity] ease-in-out opacity-0 w-[23px] placeholder-text_neutral_ondark appearance-none bg-[#fff6] rounded-[20px] text-text_neutral_inverse cursor-pointer text-[15px] not-italic h-[36px] tracking-[0] leading-5 mr-[0px] outline-none relative 122 ${!e1&&(eG?"w-[400px] opacity-100 pl-[30px] pr-5 max-[992px]:w-[210px] max-[1024px]:w-[300px] duration-300":"duration-[50ms]")} 123 ${e8?"cursor-pointer pr-3 h-9 bg-white/15 border border-solid border-white text-[15px] text-white placeholder-white overflow-hidden [mask-image:linear-gradient(12deg,transparent,black_5%,black_90%,transparent)] [-webkit-mask-image:linear-gradient(12deg,transparent,black_5%,black_90%,transparent)] [mask-mode:alpha] [mask-repeat:no-repeat] [mask-size:cover] [-webkit-mask-mode:alpha] [-webkit-mask-repeat:no-repeat] [-webkit-mask-size:cover]":"border-0"} 124 125 `,placeholder:"Search Vagaro...",ref:Y,value:ee,onChange:e=>tA(e),onKeyUp:e=>{tz(e)},onMouseDown:e=>{e.stopPropagation(),eG||(document.body.classList.add("search-show"),eK(!0)),er(!1),ts(),e.currentTarget.select()},onFocus:ea,onBlur:en,onKeyDown:el,autoComplete:"off"}),(0,a.jsx)("input",{type:"text",id:"dummy_liVagaroSearch",className:"topsearch-input-control",placeholder:"Search",maxLength:50,style:{width:"100%",height:"0",opacity:"0",outline:"0",border:"0",display:"none"},autoComplete:"off"})]}),(0,a.jsx)("div",{className:`${e1?"hidden":""}`,children:(0,a.jsxs)("div",{className:"liVagaroSearchMain flex items-center relative min-h-[50px] min-w-0 box-border ml-0 mr-0",children:[(0,a.jsxs)("div",{className:"liVagaroSearchFilter",children:[(0,a.jsx)("div",{className:"overlayFilter"}),es&&eu?(0,a.jsx)("a",{ref:eR,href:"#",id:"btnClearSearch",className:"liVagaro-iconpicker-new absolute right-5 top-[15px] not-italic cursor-pointer z-[3]",onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onClick:ez,children:(0,a.jsx)("i",{className:"fa-solid fa-circle-xmark text-[16px] text-text_neutral_ondark"})}):eG&&(0,a.jsxs)("div",{id:"divSearch-Shortcut",className:"liVagaroSearch-Shortcut top-[15px] right-5 flex items-center gap-1 absolute",onMouseDown:e=>e.stopPropagation(),children:[(0,a.jsx)("div",{className:`windows-icon ${ec?"liVagaro-windows-icon-command flex w-5 h-5 px-[4px] py-[3px] flex-col items-center justify-center rounded-[3px] bg-[rgba(248,248,248,0.30)]":"liVagaro-windows-icon-ctrl flex w-7 h-5 px-[4px] py-[3px] flex-col items-center justify-center rounded-[3px] bg-[rgba(248,248,248,0.30)]"}`,children:(0,a.jsx)("span",{className:"text-[14px] font-normal text-center",children:ec?(0,a.jsx)("i",{className:"fa-regular fa-command text-[12px]"}):"Ctrl"})}),(0,a.jsx)("div",{className:"liVagaro-windows-icon-k flex w-5 h-5 px-[4px] py-[3px] flex-col items-center justify-center rounded-[3px] bg-[rgba(248,248,248,0.30)]",children:(0,a.jsx)("span",{className:"text-xs text-[14px] font-normal text-center h-[14px] leading-[14px]",children:(0,a.jsx)("span",{className:"text-[14px] font-normal text-center",children:"K"})})})]})]}),eu&&(0,a.jsxs)("div",{className:"liVagaroSearchResult activeResultDiv bg-bkg_graient_start \r\n\n border border-solid border-border_neutral_default border-border_width_default\r\n\n rounded-2xl p-0 absolute right-0 top-[45px] w-[400px] \r\n\n z-[99991] opacity-100 visible overflow-hidden shadow-dropdownShadow mr-2",children:[e8&&(0,a.jsx)("div",{className:"absolute inset-0 z-0 nav-glass opacity-100",children:" "}),(0,a.jsx)("div",{className:`search-results-div default-scrollbar p-4 m-0 overflow-y-auto max-h-[90vh] z-[1] relative list-none ${e8?"":" bg-bkg_neutral_default"}`,ref:R,onMouseDown:e=>e.stopPropagation(),children:tF(ed,ee)})]})]})})]}),(0,a.jsx)("div",{className:tB(),id:"liClockInClockOut",style:{display:"none"},children:(0,a.jsx)("a",{href:"#",className:tV(),id:"click_in_out",onClick:e=>{e.preventDefault(),_("#",void 0,"click_in_out")},children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",children:(0,a.jsx)("path",{d:"M5.85938 0.952129L0.512695 5.38325C0.183105 4.834 0 4.21137 0 3.51562C0 1.57475 1.53809 0 3.479 0C4.39453 0 5.23681 0.366254 5.85938 0.952129ZM10.2539 10.2172L11.7188 11.6821C12.085 12.0484 12.085 12.5976 11.7188 12.9272C11.3892 13.2935 10.8399 13.2935 10.5103 12.9272L8.75244 11.1694C8.56934 11.023 8.4961 10.8033 8.4961 10.5469V6.73825C8.4961 6.26225 8.8623 5.85938 9.375 5.85938C9.85108 5.85938 10.2539 6.26225 10.2539 6.73825V10.2172ZM4.21142 16.9556L2.63672 18.4936C2.30713 18.8599 1.75781 18.8599 1.42823 18.4936C1.06201 18.164 1.06201 17.6147 1.42823 17.2485L2.96631 15.7105C1.83105 14.3189 1.17188 12.5244 1.17188 10.5469C1.17188 6.0425 4.83399 2.34375 9.375 2.34375C13.8794 2.34375 17.5781 6.0425 17.5781 10.5469C17.5781 12.5244 16.8824 14.3189 15.7471 15.7105L17.2851 17.2485C17.6514 17.6147 17.6514 18.164 17.2851 18.4936C16.9556 18.8599 16.4062 18.8599 16.0766 18.4936L14.502 16.9556C13.1104 18.0909 11.3159 18.75 9.375 18.75C7.39746 18.75 5.60302 18.0909 4.21142 16.9556ZM9.375 16.9923C12.9272 16.9923 15.8203 14.1357 15.8203 10.5469C15.8203 6.99463 12.9272 4.1015 9.375 4.1015C5.78614 4.1015 2.92969 6.99463 2.92969 10.5469C2.92969 14.1357 5.78614 16.9923 9.375 16.9923ZM18.2006 5.38325L12.8906 0.952129C13.4765 0.366254 14.3189 0 15.2344 0C17.1753 0 18.75 1.57475 18.75 3.51562C18.75 4.17475 18.5303 4.834 18.2006 5.38325Z",fill:"white"})})})}),b&&(0,a.jsx)("div",{className:tB(),onClick:()=>{D()},children:(0,a.jsxs)("a",{ref:tn,id:"lnkForChat",className:` ${tV()}`,children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"19",viewBox:"0 0 19 17",fill:"none",children:(0,a.jsx)("path",{d:"M9.39677 0C4.19657 0 0.0217741 3.44187 0.0217741 7.61687C0.0217741 9.37437 0.717574 10.9869 1.92607 12.2681C1.41337 13.6969 0.278122 14.9419 0.2415 14.9419C-0.0148472 15.1981 -0.0514684 15.5644 0.0583953 15.8931C0.204879 16.2231 0.534469 16.4069 0.900674 16.4069C3.13456 16.4069 4.929 15.4906 5.99101 14.7219C7.05302 15.0519 8.18827 15.2344 9.39677 15.2344C14.5604 15.2344 18.7718 11.8281 18.7718 7.61687C18.7718 3.44187 14.5604 0 9.39677 0ZM9.39677 13.4769C8.408 13.4769 7.41924 13.3306 6.50371 13.0369L5.66142 12.7806L4.96562 13.2931C4.45292 13.6594 3.7205 14.0619 2.8416 14.3556C3.13456 13.9156 3.39091 13.4031 3.57402 12.8906L3.97685 11.8656L3.20781 11.0594C2.54862 10.3644 1.77959 9.19187 1.77959 7.61687C1.77959 4.39437 5.18535 1.75788 9.39677 1.75788C13.5715 1.75788 17.014 4.39437 17.014 7.61687C17.014 10.8769 13.5715 13.4769 9.39677 13.4769Z",fill:"white"})}),(0,a.jsx)("span",{className:"text-text_neutral_default bg-bkg_neutral_default border left-[17px] border-border_neutral_strong rounded-full block text-[11px] font-medium h-[17px] leading-[15px] py-[0px] px-[4px] top-0 absolute text-center min-w-[17px]",id:"lblChatCount",style:{display:u?.VagaroConnect&&u.VagaroConnect>0?"block":"none"},children:u?.VagaroConnect})]})}),(0,a.jsx)("div",{className:tB(),id:"spanFeature",onClick:()=>L(),children:(0,a.jsxs)("a",{id:"lnkForNewFeature",className:` ${tV()}`,children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"19",viewBox:"0 0 17 19",fill:"none",children:(0,a.jsx)("path",{d:"M9.3903 1.17188V1.831C12.0265 2.2705 14.0778 4.57763 14.0778 7.32425V8.56937C14.0778
12510.2172 14.6266 11.8286 15.6516 13.147L16.2016 13.8061C16.4203 14.0991 16.4578 14.4654 16.3116 14.7582C16.1641 15.0512 15.8716 15.2344 15.5416 15.2344H0.894051C0.527801 15.2344 0.234064 15.0512 0.0878144 14.7582C-0.0584356 14.4654 -0.0221697 14.0991 0.19783 13.8061L0.746574 13.147C1.77282 11.8286 2.35783 10.2172 2.35783 8.56937V7.32425C2.35783 4.57763 4.37283 2.2705 7.04533 1.831V1.17188C7.04533 0.549375 7.55906 0 8.21781 0C8.84031 0 9.3903 0.549375 9.3903 1.17188ZM7.9253 3.51562C5.8003 3.51562 4.11655 5.23688 4.11655 7.32425V8.56937C4.11655 10.3271 3.60406 12.0118 2.65156 13.4765H13.7478C12.7953 12.0118 12.3191 10.3271 12.3191 8.56937V7.32425C12.3191 5.23688 10.5978 3.51562 8.51032 3.51562H7.9253ZM10.5616 16.4062C10.5616 17.0287 10.3053 17.6514 9.8653 18.0909C9.42655 18.5302 8.80406 18.75 8.21781 18.75C7.59531 18.75 6.97282 18.5302 6.53282 18.0909C6.09407 17.6514 5.87406 17.0287 5.87406 16.4062H10.5616Z",fill:"white"})}),(0,a.jsx)("span",{className:"text-text_neutral_default bg-bkg_neutral_default border left-[17px] border-border_neutral_strong rounded-full block text-[11px] font-medium h-[17px] leading-[15px] py-[0px] px-[3px] top-0 absolute text-center min-w-[17px] ",id:"lblFeatureCount",children:u?.Notification})]})}),(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)("div",{ref:O,className:` px-[9px] pl-[18px] py-0 cursor-pointer text-MenuFontColor ${e1?"hidden":""}`,onClick:e=>W(e),children:(0,a.jsxs)("span",{className:`flex items-center text-MenuFontColor border border-solid border-transparent text-[14px] overflow-hidden p-0 truncate whitespace-nowrap font-[500] 126 w-full max-w-[248px] max-[1024px]:max-w-[146px] 127 rounded-lg px-2 128 ${e8?"leading-[35px] cursor-pointer px-1 rounded-lg border border-solid border-transparent active:bg-[rgba(255,255,255,0.2)] hover:bg-[rgba(255,255,255,0.1)] hover:backdrop-blur-md hover:border hover:[mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] hover:[-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] hover:border-border_width_default hover:border-solid hover:border-white ":e2?"leading-[35px] cursor-pointer px-1 rounded-lg active:bg-[rgba(255,255,255,0.2)] hover:bg-[rgba(255,255,255,0.1)]":"hover:bg-MenuHoverColor active:bg-MenuPressedColor leading-5 p-2"} 129 ${H.isShowBusinessList?"active bg-MenuPressedColor":""} 130 ${H.isShowBusinessList?e8?"bg-[rgba(255,255,255,0.2)] backdrop-blur-md border border-border_width_default border-solid border-white [mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] [-webkit-mask-image:linear-gradient(52deg,transparent,black_9%,black_88%,transparent)] ":" ":""} 131 ${H.isShowBusinessList&&e2?"bg-[rgba(255,255,255,0.2)]":""} 132 `,children:[t?.IsFlagshipBusiness&&(0,a.jsx)("div",{id:"pnlFlagshipIcon",className:"flagshipIconDiv [line-height:0px] mr-1",children:(0,a.jsx)("svg",{width:"20",height:"16",viewBox:"0 0 20 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"flagshipIcon flagshipIconOffline",children:(0,a.jsx)("path",{d:"M14.4531 0.875C14.834 0.875 15.1562 1.19727 15.1562 1.57812V1.8125H18.9062C19.1406 1.8125 19.375 2.04688 19.375 2.28125V6.03125C19.375 6.29492 19.1406 6.5 18.9062 6.5H15.1562V15.875H13.75V1.57812C13.75 1.19727 14.043 0.875 14.4531 0.875ZM12.8125 6.5293L8.59375 3.39453L3.90625 6.88086V13.5312C3.90625 14.0586 4.31641 14.4688 4.84375 14.4688H6.25V10.9531C6.25 10.3086 6.74805 9.78125 7.42188 9.78125H9.76562C10.4102 9.78125 10.9375 10.3086 10.9375 10.9531V14.4688H12.3438C12.4902 14.4688 12.666 14.4395 12.8125 14.3516V15.8457C12.6367 15.875 12.4902 15.875 12.3438 15.875H4.84375C3.52539 15.875 2.5 14.8496 2.5 13.5312V7.93555L1.73828 8.49219C1.41602 8.72656 0.976562 8.63867 0.742188 8.3457C0.507812 8.02344 0.595703 7.58398 0.888672 7.34961L8.1543 1.95898C8.41797 1.7832 8.74023 1.7832 9.00391 1.95898L12.8125 4.77148V6.5293ZM7.65625 11.1875V14.4688H9.53125V11.1875H7.65625Z",fill:"white"})})}),(0,a.jsx)("span",{className:"overflow-hidden block truncate",children:H.initialBusinessName})]})}),H.isShowBusinessList&&(0,a.jsxs)("div",{ref:R,className:` border-0 overflow-hidden absolute top-[44px] w-[554px] z-[9999] shadow-dropdownShadow ${e1?`rounded-xl ${te?"left-[103px]":"left-[147px]"}`:"rounded-lg right-[50px]"} ${e8?"":" bg-bkg_neutral_default"}`,children:[e8&&(0,a.jsx)("div",{className:"opacityDiv absolute inset-0 z-0 bg-bkg_graient_start bg-blend-hard-light filter backdrop-blur-[20px] [backdrop-filter:blur(20px)] opacity-100",children:" "}),(0,a.jsxs)("div",{className:"",children:[(0,a.jsxs)("div",{className:` relative pt-0 pr-5 pb-0 pl-12 text-text_neutral_default border-0 border-b border-solid border-border_neutral_strong ${e8?"z-[1px]":""}`,children:[(0,a.jsx)("input",{type:"text",placeholder:"Search",className:` border-0 outline-none text-[15px] font-medium leading-5 text-text_neutral_default w-full h-[46px] p-0 ${e8?"bg-transparent":" bg-bkg_neutral_default"}`,autoFocus:!0,value:H.searchBusiness,onChange:e=>U(e)}),(0,a.jsx)("svg",{className:"w-4 h-4 absolute left-[17px] top-4",fill:"
132currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,a.jsx)("path",{d:"M368 208A160 160 0 1 0 48 208a160 160 0 1 0 320 0zM337.1 371.1C301.7 399.2 256.8 416 208 416C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208c0 48.8-16.8 93.7-44.9 129.1L505 471c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L337.1 371.1z"})})]}),(0,a.jsxs)("ul",{className:` m-0 p-0 list-none max-h-[193px] overflow-y-auto ${e8?"relative z-[1px]":""} `,onScroll:Z,children:[H.searching&&(0,a.jsx)("li",{className:`border-b border-border_neutral_strong text-[15px] font-semibold leading-5 text-text_neutral_secondary py-[12px] px-4 cursor-pointer 133 hover:text-text_neutral_default ${e8?"":" bg-bkg_neutral_default hover:bg-bkg_neutral_secondary"} `,children:(0,a.jsx)("span",{className:"businessList-item-content",children:"Searching..."})}),H.businessList.length>0?H.businessList.map(e=>(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)("li",{className:`${e8?"bg-transperent hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary":" bg-bkg_neutral_default hover:bg-bkg_neutral_secondary"} nav-business-option border-0 border-b border-solid border-border_neutral_strong text-text_neutral_secondary cursor-pointer text-[15px] font-semibold leading-5 py-3 px-4 ${e&&(0,s.Iu)(e.groupId)?"parent-item":""}`,onClick:t=>{e&&!(0,s.Iu)(e.groupId)?q(e):t.preventDefault()},children:(0,a.jsx)("div",{className:"businessList-item-content",children:e.text})}),e.children&&e.children.map(e=>(0,a.jsx)("li",{className:` nav-business-option child-item nav-business-option border-0 border-b border-solid border-border_neutral_strong text-text_neutral_secondary cursor-pointer text-[15px] font-semibold leading-5 py-3 px-4 last:border-b-0 ${e8?"bg-transperent hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary":" bg-bkg_neutral_default hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary"}`,onClick:()=>{q(e)},children:(0,a.jsx)("div",{className:"businessList-item-content group-option pl-8",children:e.text})},e.id))]},e.id)):(0,a.jsx)(n.Fragment,{children:!H.searching&&(0,a.jsx)("li",{className:` border-b border-border_neutral_strong text-[15px] font-normal leading-5 text-text_neutral_default pl-4 pr-2 py-2 cursor-pointer ${e8?"bg-transperent hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary":" bg-bkg_neutral_default hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary"}`,children:(0,a.jsxs)("span",{className:"businessList-item-content",children:[" ","No results found."]})})}),H.hasMore&&(0,a.jsx)("li",{className:` border-b border-border_neutral_strong text-[15px] font-normal leading-5 text-text_neutral_default pl-4 pr-2 py-2 cursor-pointer ${e8?"bg-transperent hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary":" bg-bkg_neutral_default hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary"}`,style:{pointerEvents:"none"},children:(0,a.jsx)("span",{className:"businessList-item-content",children:"Loading more results..."})})]})]})]})]}),(0,a.jsx)("div",{className:"",id:"myAccount","data-topmenu":"true",children:(0,a.jsx)("div",{className:"w-[32px] flex items-center justify-between h-[52px] py-[0] mr-[8px] ml-[15px] cursor-pointer",onClick:()=>w(!k),children:(0,a.jsx)(l.default,{AvatarSize:"X-Small",NoProfile:g,ProfileUrl:T(f??"")})})}),k&&(0,a.jsx)("div",{"data-topmenu":"true",className:"absolute right-[10px] top-[52px] min-w-[200px] z-[999] ",onPointerLeave:e=>{"mouse"===e.pointerType&&j(e)},onTouchStart:t_,children:(0,a.jsxs)("ul",{onTouchStart:t_,onClick:j,className:`bg-bkg_neutral_default rounded-[3px] shadow-dropdownShadow flex flex-col list-none m-0 py-2 px-4 ${e8?" !rounded-2xl !bg-bkg_graient_start bg-blend-color-dodge border-border_neutral_default border border-solid":""}`,children:[(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsxs)("li",{className:"flex items-center justify-start gap-2 p-2 z-[2]",children:[(0,a.jsx)("span",{className:"",children:(0,a.jsx)(l.default,{AvatarSize:"X-Small",NoProfile:g,ProfileUrl:T(f??"")})}),(0,a.jsx)("span",{className:"text-text_neutral_default text-[15px] not-italic font-bold leading-5",children:`${g} (You)`})]}),(0,a.jsx)("li",{className:"relative mt-[-1px] whitespace-nowrap z-[2]",children:(0,a.jsx)("a",{className:"/myaccount/profile"===window.location.pathname?"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 active ":"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary hover:rounded-lg",href:"/myaccount/profile",onClick:e=>{e.preventDefault(),_("/myaccount/profile",void 0,"my_profile",e)},children:(0,a.jsx)("span",{children:"My Profile"})})}),(0,a.jsx)("li",{className:"relative mt-[-1px] whitespace-nowrap z-[2]",children:(0,a.jsx)("a",{className:"/merchants/sett
133ings/business/profile"===window.location.pathname?"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 active":"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary hover:rounded-lg",href:"/merchants/settings/business/profile",onClick:e=>{e.preventDefault(),_("/merchants/settings/business/profile",void 0,"business_profile",e)},children:(0,a.jsx)("span",{children:"Business Profile"})})}),(0,a.jsx)("li",{className:"relative mt-[-1px] whitespace-nowrap z-[2]",children:(0,a.jsx)("a",{className:"/merchants/settings/business/bill"===window.location.pathname?"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 active":"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary hover:rounded-lg",href:"/merchants/settings/business/bill",onClick:e=>{e.preventDefault(),_("/merchants/settings/business/bill",void 0,"billing_information",e)},children:(0,a.jsx)("span",{children:"Billing Information"})})}),(0,a.jsx)("li",{className:"relative mt-[-1px] whitespace-nowrap z-[2]",children:(0,a.jsx)("a",{className:"/merchants/reports/messaging/billing"===window.location.pathname?"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 active":"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary hover:rounded-lg",href:"/merchants/reports/messaging/billing",onClick:e=>{e.preventDefault(),_("/merchants/reports/messaging/billing",void 0,"billing_history",e)},children:(0,a.jsx)("span",{children:"Billing History"})})}),(0,a.jsx)("li",{className:"relative mt-[-1px] whitespace-nowrap z-[2]",children:(0,a.jsx)("a",{className:"/ShopOwner/MerchantAccounts.aspx"===window.location.pathname?"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 active":"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary hover:rounded-lg",href:"/ShopOwner/MerchantAccounts.aspx",onClick:e=>{e.preventDefault(),_("/ShopOwner/MerchantAccounts.aspx",void 0,"merchant_accounts",e)},children:(0,a.jsx)("span",{children:"Merchant Accounts"})})}),(0,a.jsx)("li",{className:"relative mt-[-1px] whitespace-nowrap z-[2]",children:(0,a.jsx)("a",{className:"/merchants/reports/messaging/businessproductpurchase"===window.location.pathname?"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 active":"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary hover:rounded-lg",href:"/merchants/reports/messaging/businessproductpurchase",onClick:e=>{e.preventDefault(),_("/merchants/reports/messaging/businessproductpurchase",void 0,"purchased_products",e)},children:(0,a.jsx)("span",{children:"Purchased Products"})})}),(0,a.jsx)("li",{className:"relative mt-[-1px] whitespace-nowrap z-[2]",children:(0,a.jsx)("a",{className:"/merchants/settings/premiumfeature/managesubscription"===window.location.pathname?"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 active":"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary hover:rounded-lg",href:"/merchants/settings/premiumfeature/managesubscription",onClick:e=>{e.preventDefault(),_("/merchants/settings/premiumfeature/managesubscription",void 0,"manage_subscription",e)},children:(0,a.jsx)("span",{children:"Manage Subscription"})})}),(0,a.jsxs)("li",{className:"relative mt-[-1px] whitespace-nowrap group/login z-[2]",children:[(0,a.jsx)("a",{"aria-current":"page",className:"/merchants/reports/sales/salessummary"===window.location.pathname?"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 active":"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary rounded-lg hover:rounded-lg group-hover/login:bg-bkg_neutral_secondary",href:"#",onClick:tj(e=>{}),onTouchStart:tw("login"),children:(0,a.jsxs)("span",{children:["Open at Login",(0,a.jsx)("i",{className:"fa-solid fa-caret-right absolute right-[10px] top-[10px]","aria-hidden":"true"})]})}),(0,a.jsxs)("ul",{onClick:e=>{tS(e),tb||j(e)},className:`${tN("login")} group-hover/login:opacity-100 group-hover/login:visible bg-bkg_neutral_default rounded-lg border-border_neutral_default shadow-dropdownShadow flex flex-col right-[100%] min-w-[200px] opacity-0 p-4 absolute top-[0px] transition-[opacity,visibility] duration-100 ease-linear invisible list-none m-0 whitespace-nowrap z-[9] ${e8?"!rounded-2xl !bg-bkg_graient_start bg-blend-color-dodge border border-solid border-border_neutral_default":""}`,children:[(0,a.jsx)("li",{className:"absolute rounded-2xl nav-glass z-[1] w-full h-full left-0 top-0"}),(0,a.jsx)("li",{className:"relative mt-[-1px] whitespace-nowrap z-[2]",children:(0,a.jsx)("a",{href:"#",className:N("open_calendar")?"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary hover:rounded-lg active [&.active>span>i]:inline":"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary hover:rounded-lg ",onClick:e=>S(e,"open_calendar"),children:(0,a.jsxs)("span",{children:["Calendar ",N("open_calendar")&&(0,a.jsx)("i",{className:"fa-solid fa-check absolute right-[10px] top-[5px] text-base text-text_alert_default"})," "]})})}),(0,a.jsx)("li",{className:"relative mt-[-1px] whitespace-nowrap z-[2]",children:(0,a.jsx)("a",{href:"#",className:N("open_checkout")?"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary hover:rounded-lg active [&.active>span>i]:inline":"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary hover:rounded-lg",onClick:e=>S(e,"open_checkout"),children:(0,a.jsxs)("span",{children:["Checkout ",N("open_checkout")&&(0,a.jsx)("i",{className:"fa-solid fa-check absolute right-[10px] top-[5px] text-base text-text_alert_default"})]})})}),(0,a.jsx)("li",{className:"relative mt-[-1px] whitespace-nowrap z-[2]",children:(0,a.jsx)("a",{href:"#",className:N("open_dashboard")?"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary hover:rounded-lg active [&.active>span>i]:inline":"text-[14px] font-normal text-text_neutral_default block no-underline py-2 pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary hover:rounded-lg",onClick:e=>
133S(e,"open_dashboard"),children:(0,a.jsxs)("span",{children:["Dashboard ",N("open_dashboard")&&(0,a.jsx)("i",{className:"fa-solid fa-check absolute right-[10px] top-[5px] text-base text-text_alert_default"})]})})})]})]}),(0,a.jsx)("li",{className:"relative mt-[-1px] whitespace-nowrap z-[2]",children:(0,a.jsx)("a",{"aria-current":"page",className:"text-text_neutral_default block no-underline py-2 text-[14px] font-normal pr-4 pl-6 hover:bg-bkg_neutral_secondary active:bg-bkg_neutral_tiertiary hover:rounded-lg",href:"#",onClick:e=>{e.preventDefault(),_("#",void 0,"logout",e)},children:(0,a.jsx)("span",{children:"Logout"})})})]})})]})]}),V&&(0,a.jsx)(eP.default,{Popupopen:V,OnClose:()=>B(!1),AzureVideoJsonLinkUrl:y}),tt&&(0,a.jsx)(eV.default,{ButtonPrimary:"Log Out",ButtonSecondary:"Cancel",CloseBackTitle:"From Control",CloseButton:!0,Footer:2,FooterButton:"both",OnClickPrimary:()=>ta(),OnClickSecondary:()=>tr(),PopupId:"LogoutConfirmationPopup",PopupTitle:"Logout",PopupType:"default",Popupopen:tt,ScreenTitle:"Logout",Size:"small",TextDescription:"Would you like to log out of your account?",TimerCount:0,VagaroToolkit:1,onClose:()=>tr()})]})}},22833(e,t,r){r.r(t),r.d(t,{default:()=>c});var a=r(74848),n=r(96540),l=r(85345),s=r(47996),i=r(80401),o=r(98232);let c=(0,n.forwardRef)(({OnClose:e,Popupopen:t=!1,TutorialId:r="",VagaroToolkit:c=0,NativeAction:u=0,Footer:d=0,TimerCount:h=0,IsFullLength:p=!1,CloseBackTitle:g,AzureVideoJsonLinkUrl:m="",CurrentPathUrl:x="",HiddenPopupBodyScroll:f=!0,TutorialButton:b,OpenCloseCallbackAllow:v={OpenCallBackAllow:!0,CloseCallBackAllow:!0}},C)=>{let y=o.Wp.CheckIsFromProAppWithoutState(),[_,k]=(0,n.useState)(t),[w,j]=(0,n.useState)([]),[N,S]=(0,n.useState)(null),[M,I]=(0,n.useState)([]);(0,n.useEffect)(()=>{(async()=>{if(m)try{let e=await fetch(m);if(!e.ok)throw Error(`Failed to fetch video data: ${e.status}`);let t=await e.json();if(Array.isArray(t))I(t);else throw Error("Invalid data format received")}catch(e){}})()},[m]),(0,n.useEffect)(()=>{if(0===M.length)return;let e=null,t=("string"==typeof x&&x.trim()?x.trim():void 0)||window.location.pathname,r=M.find(e=>e.PageLink.split("?")[0].split("#")[0].toLowerCase()===t.replace(/\/v[23](\/|$)/i,"$1").toLowerCase());if(e=r?r.PageName.trim():"Access Levels"){j([e]);let t=M.filter(t=>t.PageName.trim()===e);if(t.length>0){let e=t[0];S({title:e.VideoTitle,VideoLink:e.VideoLink})}}},[M]),(0,n.useEffect)(()=>{k(t)},[t]);let L=Array.from(new Set(M.map(e=>e.PageName))).map(e=>({label:e,value:e})).sort((e,t)=>e.label.localeCompare(t.label)),D=e=>{var t;j(e?.selectedOptions?.map(e=>e.value)||[]),S(null),y&&((t={}).message="",t.messageType=0,t.screenTitle=g,t.screenType=0,t.navType=0,t.action="53|~|"+JSON.stringify({NativeAction:15,Footer:1,IsFullLength:p,callFromLocation:r,VagaroToolkit:c}),o.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(t)))},P=M.filter(e=>w.includes(e.PageName.trim())),T=()=>{if(k(!1),e&&e(),y&&v.CloseCallBackAllow){o.Wp.CallBackGivenToMobileApp(u,g,d,h,p);var t={};t.message="",t.messageType=0,t.screenTitle=g,t.screenType=0,t.navType=0,t.action="53|~|"+JSON.stringify({NativeAction:u,Footer:d,IsFullLength:p,callFromLocation:r,VagaroToolkit:c}),o.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(t))}};return(0,a.jsxs)(a.Fragment,{children:[t?"":b?(0,a.jsx)("span",{onClick:()=>k(!0),onTouchEnd:e=>{e.preventDefault(),k(!0)},children:b}):(0,a.jsx)(i.default,{ButtonVariant:"tutorial",ButtononClick:()=>{k(!0)},ButtononHover:()=>{},DropdownClick:()=>{},children:"Tutorial"}),(0,a.jsx)(l.default,{BodyClass:"",ButtonSecondary:"Close",CloseBackTitle:"From Control",CloseButton:!0,DoNotSetTitle:!0,Footer:2,FooterButton:"secondaryButton",FooterLeftBody:()=>{},MobileView:!0,OnClickSecondary:T,PopupBody:()=>(0,a.jsxs)("div",{className:"VgTutorialPopup_body",children:[(0,a.jsxs)("div",{className:"VgTutorialPopup_dropdown_content",children:[(0,a.jsx)("div",{className:"VgTutorialPopup_dropdown",children:(0,a.jsx)(s.default,{AddOptionButtonText:"",DropdownData:L,AutoFocus:!0,CallBackTimeCount:0,ClassNamePrefix:"vg-select2-dropdown",CloseCallback:()=>{},CustomClassNamePrefix:"custom-class",DefaultValue:(w&&w.length>0?w:["Access Levels"]).map(e=>({label:e,value:e})),DropdownClosed:()=>{},DropdownId:"TutorialVideoDropdown",DropdownName:"",InfoTooltipMessage:"",MenuPlacement:"auto",NativeActionValue:13,OnClickOutside:()=>{},OnScrollPagination:()=>{},OnSearchForApi:()=>{},OnValidation:()=>{},OpenFromBody:!0,PrefixIconClick:()=>{},RecordsPerPage:10,RequiredMessage:"This field is required",RightSwipeEvent:!0,Searchable:!0,ShowCustomMessage:"No results found. Please try another search.",ShowHideFooter:2,TabIndex:0,VagaroToolkit:1,VirtualDropdownHeight:300,onChange:D})}),(0,a.jsx)("ul",{children:P.map((e,t)=>(0,a.jsxs)("li",{className:N?.title===e.VideoTitle?"vg_selected":"",onClick:()=>S({VideoLink:e.VideoLink,title:e.VideoTitle}),children:[(0,a.jsx)("i",{className:"fa-sharp fa-regular fa-circle-play VgTutorialPopup_play_icon"})," ",e.VideoTitle]},t))})]}),(0,a.jsx)("div",{className:"VgTutorialPopup_video",children:N?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("iframe",{width:"100%",height:"100%",src:N.VideoLink,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:N.title})}):P[0]&&(0,a.jsx)("iframe",{width:"100%",height:"100%",src:P[0].VideoLink,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:P[0].VideoTitle})})]}),PopupId:"PopupId",PopupTitle:"Tutorial Video",PopupType:"default",Popupopen:_,SecondaryButtonVariant:"secondary",Size:"full-body-popup",ThirdButtonVariant:"primary",TimerCount:0,VagaroToolkit:1,customClassName:"VgTutorialPopup-wrapper",onClose:T,HiddenBodyScroll:f,OpenCloseCallbackAllow:v})]})})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.