PageSourceSearch

https://bewellandthrive.org/static/js/async/4811.c7adc066b4.js

js bewellandthrive.org collected 2026-10-05 08:01:14 UTC 36,292 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunkvagaro_websitebuilder_consumer=self.rspackChunkvagaro_websitebuilder_consumer||[]).push([[4811],{2775(){},37341(){},16055(){},12790(e,t,a){a.r(t),a.d(t,{default:()=>g});var n=a(74848),i=a(96540),l=a(83967),s=a(57106);function r(e){let{swiper:t,extendParams:a,on:n}=e;a({fadeEffect:{crossFade:!1}}),!function(e){let t,{effect:a,swiper:n,on:i,setTranslate:l,setTransition:s,overwriteParams:r,perspective:o,recreateShadows:c,getEffectParams:d}=e;i("beforeInit",()=>{if(n.params.effect!==a)return;n.classNames.push(`${n.params.containerModifierClass}${a}`),o&&o()&&n.classNames.push(`${n.params.containerModifierClass}3d`);let e=r?r():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)}),i("setTranslate _virtualUpdated",()=>{n.params.effect===a&&l()}),i("setTransition",(e,t)=>{n.params.effect===a&&s(t)}),i("transitionEnd",()=>{n.params.effect===a&&c&&d&&d().slideShadows&&(n.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),c())}),i("virtualUpdate",()=>{n.params.effect===a&&(n.slides.length||(t=!0),requestAnimationFrame(()=>{t&&n.slides&&n.slides.length&&(l(),t=!1)}))})}({effect:"fade",swiper:t,on:n,setTranslate:()=>{let{slides:e}=t;t.params.fadeEffect;for(let a=0;a<e.length;a+=1){let e=t.slides[a],n=-e.swiperSlideOffset;t.params.virtualTranslate||(n-=t.translate);let i=0;t.isHorizontal()||(i=n,n=0);let l=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),r=function(e){let t=(0,s.g)(e);return t!==e&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}(e);r.style.opacity=l,r.style.transform=`translate3d(${n}px, ${i}px, 0px)`}},setTransition:e=>{let a=t.slides.map(e=>(0,s.g)(e));a.forEach(t=>{t.style.transitionDuration=`${e}ms`}),function(e){let{swiper:t,duration:a,transformElements:n,allSlides:i}=e,{activeIndex:l}=t;if(t.params.virtualTranslate&&0!==a){let e=!1;(i?n:n.filter(e=>{let a=e.classList.contains("swiper-slide-transform")?e.parentElement?e.parentElement:t.slides.find(t=>t.shadowRoot&&t.shadowRoot===e.parentNode):e;return t.getSlideIndex(a)===l})).forEach(a=>{(0,s.l)(a,()=>{if(e||!t||t.destroyed)return;e=!0,t.animating=!1;let a=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(a)})})}}({swiper:t,duration:e,transformElements:a,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}var o=a(67871),c=a(64367),d=a(87144);a(16055),a(2775),a(37341);var u=a(67247);let p=["webm","mpg","mp2","mpeg","mpe","mpv","ogg","mp4","m4p","m4v","avi","wmv","mov","qt","flv","swf","avchd","3gp","3g2","mkv","hevc"],g=({Rowadata:e,OnIndexChange:t,AutoSwapping:a=0,SwapType:s="slide",Variant:g="regular",Type:m="default",CarouselCustomHeight:v=!1,Fullheight:h=!1,ShowArrow:f=!1,HidePagination:w=!1,Loop:b=!1,CustomHtmlGap:C=0})=>{let[x,y]=(0,i.useState)(0),[A,k]=(0,i.useState)(1),I=e?.images||[],L=e?.text||[],S=e?.size?`${e.size}px`:"256px",[E,j]=(0,i.useState)(!1),[O,T]=(0,i.useState)(null),[M,N]=(0,i.useState)(null),[$,D]=(0,i.useState)(!1),[F,P]=(0,i.useState)(null),[B,R]=(0,i.useState)(!0),[z,J]=(0,i.useState)(!1),V=(0,i.useRef)(null),[W,U]=(0,i.useState)(!1),[q,H]=(0,i.useState)(!1),[_,G]=(0,i.useState)(!1);u.Wp.CheckIsFromProAppWithoutState(),(0,i.useEffect)(()=>{E&&M&&M.slideTo(x,0)},[E,M,x]);let Y=(0,i.useCallback)(()=>{let e=V.current;if(!e)return;let{scrollLeft:t,scrollWidth:a,clientWidth:n}=e;a-n<=1?H(!1):(H(!0),U(t>10))},[]);(0,i.useEffect)(()=>{"customhtml"===m&&Y()},[m,L.length,C,Y]),(0,i.useEffect)(()=>{if("customhtml"!==m)return;let e=V.current;if(!e||"u"<typeof ResizeObserver)return;let t=new ResizeObserver(Y);return t.observe(e),()=>t.disconnect()},[m,Y]),(0,i.useEffect)(()=>{let e="custom"===m?L.length:I.length;if(!(a&&e>1)||!O&&!M)return;let t=window.setInterval(()=>{if("custom"===m&&b)return void O?.slideNext(500);let t=(x+1)%e;O&&O.slideTo(t,500),M&&M.slideTo(t,500)},a);return()=>window.clearInterval(t)},[a,x,I.length,L.length,O,M,m,b]);let Z=e=>{let a=e.realIndex??e.activeIndex;y(a),t&&t(a)};if("default"===m&&0===I.length)return(0,n.jsx)("div",{style:{height:S},children:"No images or videos to display"});if(("custom"===m||"customhtml"===m)&&0===L.length)return(0,n.jsx)("div",{style:{height:S},children:"No content to display"});if("customhtml"===m)return(0,n.jsx)("div",{className:"vg-carousel",children:(0,n.jsx)("div",{className:"vg-carousel-wrapper vg-customhtml-wrapper",children:(0,n.jsxs)("div",{className:`vg-customhtml-carousel ${g}`,children:[f&&q&&(0,n.jsx)("button",{type:"button","aria-label":W?"Scroll left":"Scroll right",onClick:()=>{let e=V.current;e&&(W?e.scrollTo({left:0,behavior:"smooth"}):e.scrollTo({left:e.scrollWidth,behavior:"smooth"}))},className:`vg-customhtml-arrow ${W?"vg-customhtml-arrow-back":""}
1`,children:(0,n.jsx)("svg",{width:"8",height:"14",viewBox:"0 0 8 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M0.959476 13.118C0.695776 13.118 0.461475 13.03 0.285675 12.854C-0.095225 12.502 -0.095225 11.887 0.285675 11.535L5.23678 6.55499L0.285675 1.604C-0.095225 1.252 -0.095225 0.637 0.285675 0.285C0.637175 -0.095 1.25248 -0.095 1.60398 0.285L7.22898 5.91C7.60988 6.262 7.60988 6.877 7.22898 7.229L1.60398 12.854C1.42828 13.03 1.19388 13.118 0.959476 13.118Z"})})}),(0,n.jsx)("div",{ref:V,className:`vg-customhtml-scroll ${_?"vg-customhtml-scroll-dragging":""}`,style:{gap:`${C}px`},onScroll:Y,onMouseDown:e=>{let t=V.current;if(!t)return;let a=e.pageX,n=t.scrollLeft;G(!0);let i=e=>{e.preventDefault(),t.scrollLeft=n-(e.pageX-a)},l=()=>{G(!1),window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",l)};window.addEventListener("mousemove",i),window.addEventListener("mouseup",l)},onDragStart:e=>e.preventDefault(),children:L.map((e,t)=>(0,n.jsx)(i.Fragment,{children:"string"==typeof e?(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e}}):e},t))})]})})});if("custom"===m)return(0,n.jsx)("div",{className:"vg-carousel",children:(0,n.jsx)("div",{className:"vg-carousel-wrapper",children:(0,n.jsxs)("div",{className:`product-carousel custom-carousel ${g}`,children:[(0,n.jsxs)("div",{className:`vg-custom-carousel-nav-wrapper ${f?"carousel-with-arrow":"no-arrow"}`,children:[f&&(b||!B)&&(0,n.jsx)("button",{type:"button","aria-label":"Previous",onClick:()=>F?.slidePrev(),className:"vg-custom-carousel-arrow vg-custom-carousel-arrow-prev",children:(0,n.jsx)("svg",{width:"8",height:"14",viewBox:"0 0 8 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M6.55517 13.118C6.81887 13.118 7.05317 13.03 7.22897 12.854C7.60987 12.502 7.60987 11.887 7.22897 11.535L2.27787 6.55499L7.22897 1.604C7.60987 1.252 7.60987 0.637 7.22897 0.285C6.87747 -0.095 6.26217 -0.095 5.91067 0.285L0.285671 5.91C-0.0952287 6.262 -0.0952287 6.877 0.285671 7.229L5.91067 12.854C6.08637 13.03 6.32077 13.118 6.55517 13.118Z"})})}),f&&(b||!z)&&(0,n.jsx)("button",{type:"button","aria-label":"Next",onClick:()=>F?.slideNext(),className:"vg-custom-carousel-arrow vg-custom-carousel-arrow-next",children:(0,n.jsx)("svg",{width:"8",height:"14",viewBox:"0 0 8 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M0.959476 13.118C0.695776 13.118 0.461475 13.03 0.285675 12.854C-0.095225 12.502 -0.095225 11.887 0.285675 11.535L5.23678 6.55499L0.285675 1.604C-0.095225 1.252 -0.095225 0.637 0.285675 0.285C0.637175 -0.095 1.25248 -0.095 1.60398 0.285L7.22898 5.91C7.60988 6.262 7.60988 6.877 7.22898 7.229L1.60398 12.854C1.42828 13.03 1.19388 13.118 0.959476 13.118Z"})})}),(0,n.jsx)(l.RC,{modules:[r,o.A,c.A],spaceBetween:2,loop:b&&L.length>1,effect:"fade"===s?"fade":void 0,pagination:{clickable:!0,el:".swiper-paginationForCustomSlide"},onSlideChange:e=>{Z(e),R(e.isBeginning),J(e.isEnd)},onSwiper:e=>{T(e),P(e),R(e.isBeginning),J(e.isEnd)},className:"product-carouselMain",children:L.map((e,t)=>(0,n.jsx)(l.qr,{className:"product-carousel-slide",children:"string"==typeof e?(0,n.jsx)("div",{className:"custom-slide-content",dangerouslySetInnerHTML:{__html:e}}):(0,n.jsx)("div",{className:"custom-slide-content",children:e})},t))})]}),!w&&(0,n.jsx)("div",{className:"swiper-paginationForCustomSlide swiper-pagination-clickable swiper-pagination-bullets swiper-pagination-horizontal"})]})})});let X=e=>p.includes(e.toLowerCase()),K=(e,t)=>{if(!e.objectFit)return t;let a="cover"===e.objectFit?"vg-carousel-fit-cover":"vg-carousel-fit-contain";return t?`${t} ${a}`:a},Q=()=>{"fade"!==s&&(j(!E),k(1))};return(0,n.jsx)("div",{className:`vg-carousel ${v?"vg-carousel-custom-height":""} ${h?"vg-carousel-fullheight":""}`,children:(0,n.jsx)("div",{className:"vg-carousel-wrapper",children:(0,n.jsxs)("div",{className:`product-carousel ${"fade"===s?"fade-effect":""} ${g}`,children:[(0,n.jsxs)("div",{onClick:Q,children:[(0,n.jsx)(l.RC,{modules:[r,d.A,c.A],spaceBetween:2,zoom:"fade"!==s,effect:"fade"===s?"fade":void 0,pagination:{clickable:!0,el:".swiper-paginationForMainSlide",renderBullet:function(e,t){return X(I[e]?.fileType)?`<span class="${t} video-bullet"></span>`:`<span class="${t}"></span>`}}
1,onSlideChange:Z,onSwiper:T,className:"product-carouselMain",children:I.map((e,t)=>(0,n.jsx)(l.qr,{className:"product-carousel-slide",children:(0,n.jsx)("div",{className:"swiper-zoom-container",children:X(e.fileType)?(0,n.jsx)("video",{controls:!0,className:K(e),children:(0,n.jsx)("source",{src:e.slide,type:`video/${e.fileType.toLowerCase()}`})}):(0,n.jsx)("img",{src:e.slide,alt:e.fileName,className:K(e),onError:()=>void 0})})},t))}),(0,n.jsx)("div",{className:"swiper-paginationForMainSlide swiper-pagination-clickable swiper-pagination-bullets swiper-pagination-horizontal"})]}),E&&(0,n.jsx)("div",{className:"modal-fullscreen",children:(0,n.jsxs)("div",{className:"vg-full-screen-wrap",children:[(0,n.jsx)(l.RC,{modules:[o.A,c.A,d.A],pagination:!$&&{clickable:!0,el:".swiper-pagination",renderBullet:function(e,t){return X(I[e]?.fileType)?`<span class="${t} video-bullet"></span>`:`<span class="${t}"></span>`}},navigation:!$&&{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},zoom:!0,onSlideChange:Z,onSwiper:N,onZoomChange:(e,t)=>
1{D(t>1)},initialSlide:x,children:I.map((e,t)=>(0,n.jsx)(l.qr,{children:(0,n.jsx)("div",{className:"swiper-zoom-container",children:X(e.fileType)?(0,n.jsx)("video",{controls:!0,className:K(e),children:(0,n.jsx)("source",{src:e.slide,type:`video/${e.fileType.toLowerCase()}`})}):(0,n.jsx)("img",{src:e.slide,alt:e.fileName,className:K(e),onError:()=>void 0})})},t))}),!$&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"swiper-pagination swiper-pagination-clickable swiper-pagination-bullets swiper-pagination-horizontal"}),(0,n.jsx)("div",{className:"swiper-button-prev custom-nav-button",children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",children:(0,n.jsx)("path",{d:"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"})})}),(0,n.jsx)("div",{className:"swiper-button-next custom-nav-button",children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",children:(0,n.jsx)("path",{d:"M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"})})})]}),(0,n.jsx)("button",{className:"close-fullscreen",onClick:Q,children:(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"var(--text_neutral_default)",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M15.0312 12.9688C15.6406 13.5312 15.6406 14.5156 15.0312 15.0781C14.75 15.3594 14.375 15.5 14 15.5C13.5781 15.5 13.2031 15.3594 12.9219 15.0781L8 10.1562L3.03125 15.0781C2.75 15.3594 2.375 15.5 2 15.5C1.57812 15.5 1.20312 15.3594 0.921875 15.0781C0.3125 14.5156 0.3125 13.5312 0.921875 12.9688L5.84375 8L0.921875 3.07812C0.3125 2.51562 0.3125 1.53125 0.921875 0.96875C1.48438 0.359375 2.46875 0.359375 3.03125 0.96875L8 5.89062L12.9219 0.96875C13.4844 0.359375 14.4688 0.359375 15.0312 0.96875C15.6406 1.53125 15.6406 2.51562 15.0312 3.07812L10.1094 8.04688L15.0312 12.9688Z"})})})]})}),!E&&(0,n.jsx)("div",{className:"thumbnails-container",children:I.map((e,a)=>(0,n.jsx)("button",{className:`thumbnail-item ${x===a?"active":""}`,onClick:()=>{O&&O.slideTo(a),y(a),t&&t(a)},children:X(e.fileType)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"video-overlay",children:(0,n.jsx)("div",{className:"play-button"})}),(0,n.jsx)("video",{className:K(e,"thumbnail-media"),children:(0,n.jsx)("source",{src:e.slide,type:`video/${e.fileType}`})})]}):(0,n.jsx)("img",{src:e.slide,alt:`Thumbnail ${a+1}`,className:K(e,"thumbnail-media")})},a))})]})})})}},67247(e,t,a){a.d(t,{C2:()=>T,ud:()=>j,By:()=>f,MI:()=>O,IU:()=>C,Dx:()=>S,BL:()=>w,UM:()=>L,_A:()=>A,pz:()=>y,kz:()=>I,Iu:()=>k,My:()=>E,Wp:()=>b});var n=a(77215),i=a(74848),l=a(96540),s=a(5338);let r="Custom",o="OpenDialog",c="OpenDialog1",d="OpenDialog2",u="exportdiv",p="printdiv",g="successAlert",m={Custom:null,OpenDialog:null,OpenDialog1:null,OpenDialog2:null,successAlert:null,exportdiv:null,printdiv:null},v=e=>{let t=document.getElementById(e);return t?(0,s.createRoot)(t):null};m.Custom=v(r),m.OpenDialog=v(o),m.OpenDialog1=v(c),m.OpenDialog2=v(d),m.successAlert=v(g),m.exportdiv=v(u),m.printdiv=v(p);let h=e=>{let{alertType:t,strMessage:a,displaytime:n}=e,s=(0,l.useCallback)(()=>{let e=null,i=null;"success"===t?(e=document.querySelector(".banner-success-master"),i=document.querySelector(".banner-success-master .text-block-28")):"warning"===t?(e=document.querySelector(".banner-warning-master"),i=document.querySelector(".banner-warning-master .text-block-28")):"fail"===t&&(e=document.querySelector(".banner-fail-master"),i=document.querySelector(".banner-fail-master .text-block-28")),e&&i&&(i.innerHTML=a,e.classList.add("showmsgTop"),setTimeout(()=>{e?.classList.remove("showmsgTop")},n),setTimeout(()=>{((e=o)=>{m[e]&&(m[e]?.unmount(),m[e]=null)})(g)},n))},[t,a,n]);return(0,l.useEffect)(()=>{s()},[s]),(0,i.jsx)(l.Fragment,{children:(0,i.jsxs)("div",{className:"removePadTop",children:["success"===t&&(0,i.jsx)(l.Fragment,{children:(0,i.jsxs)("div",{className:"banner-success-master",children:[(0,i.jsx)("div",{className:"font-awesome-normal icon-banner",children:""}),(0,i.jsx)("div",{className:"text-block-28",children:a})]})}),"warning"===t&&(0,i.jsx)(l.Fragment,{children:(0,i.jsxs)("div",{className:"banner-warning-master",children:[(0,i.jsx)("div",{className:"font-awesome-solid icon-banner",children:""}),(0,i.jsx)("div",{className:"text-block-28",children:a})]})}),"fail"===t&&(0,i.jsx)(l.Fragment,{children:(0,i.jsxs)("div",{className:"banner-fail-master",children:[(0,i.jsx)("div",{className:"font-awesome-normal icon-banner",children:""}),(0,i.jsx)("div",{className:"text-block-28",children:a})]})})]})})},f={Success:1,Fail:2,Warning:3},w={Success:1e3,ResponseFail:1001,RecordExists:1002,PartialAuthorize:5008,Fail:6e4,NoCentent:204,AccessDenied:1034,InvalidHeader:1044},b={CallBackGivenToMobileApp:(e,t,a,n,i)=>{if(null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent){var l='5006||~||{"message": "","messageType": 0,"screenTitle":"'+t+'","screenType": 0,"navType": 0,"action": "53|~|'+JSON.stringify({NativeAction:e,Footer:a,IsFullLength:i}).replace(/\\\"/g,'"').replace(/"/g,'\\"')+'" }';navigator.userAgent.indexOf("VagaroAndroidPhone")>-1?void 0!==window.JSInterface&&window.JSInterface.CallWSMethod(l):navigator.userAgent.indexOf("com.vagaro.iospro")>-1&&navigator.userAgent.indexOf("iPhone")>-1&&setTimeout(()=>{window.location="js-call:myObjectiveCFunction:"+l},n)}},CheckIsFromProAppWithoutState:()=>null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent&&(navigator.userAgent.indexOf("VagaroAndroidPhone")>-1||navigator.userAgent.indexOf("com.vagaro")>-1&&navigator.userAgent.indexOf("iPhone")>-1?(document.body.classList.add("vg_ismobile"),!0):(document.body.classList.remove("vg_ismobile"),!1)),MobileDatePicker:e=>{if(null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent){var t="5006||~||"+e;navigator.userAgent.indexOf("VagaroAndroidPhone")>-1||navigator.userAgent.toLowerCase().indexOf("android")>-1?void 0!==window.JSInterface&&window.JSInterface.CallWSMethod(t):(navigator.userAgent.indexOf("com.vagaro.iospro")>-1&&navigator.userAgent.indexOf("iPhone")>-1||navigator.userAgent.toLowerCase().indexOf("ipad")>-1)&&(window.location="js-call:myObjectiveCFunction:"+t)}},CheckIsFromIpadAndroidTabWithoutParm:()=>{if(null==navigator||null==navigator.userAgent||""==navigator.userAgent)return!1;var e=navigator.userAgent.match(/ipad/i)||navigator.userAgent.match(/iphone/i)||navigator.userAgent.match(/itouch/i)||navigator.userAgent.match(/android/i)||!1;return!!(navigator.userAgent.toLowerCase().indexOf("com.vagaro.iospro")>-1||navigator.userAgent.toLowerCase().indexOf("com.vagaro.androidpro")>-1)&&!1!==e},CheckIsFromIpadAndroidPayproWithoutParm:()=>{if(null==navigator||null==navigator.userAgent||""==navigator.userAgent)return!1;var e=navigator.userAgent.match(/ipad/i)||navigator.userAgent.match(/iphone/i)||navigator.userAgent.match(/itouch/i)||navigator.userAgent.match(/android/i)||!1;return navigator.userAgent.toLowerCase().indexOf("com.vagaro.androidpro paypro")>-1&&!1!==e},CheckIsPayProDevice:()=>null!==navigator&&null!==navigator.userAgent&&""!==navigator.userAgent&&(null!=navigator.userAgent.match(/D052/i)||null!=navigator.userAgent.match(/T2/i)),CheckIsFromPaydeskWithoutParm:()=>null!==navigator&&null!==navigator.userAgent&&""!==navigator.userAgent&&(null!==navigator.userAgent.match(/T2s_LITE/i)||null!==navigator.userAgent.match(/T2lite/i)),CheckIsIphoneIosproWithoutState:()=>null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent&&!!(navigator.userAgent.indexOf("com.vagaro.iospro")>-1&&navigator.userAgent.indexOf("iPhone")>-1),ToolkitSendCallbacktoMobile:(e,t)=>
1{if(null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent){var a=e+"||~||"+t;navigator.userAgent.indexOf("VagaroAndroidPhone")>-1||navigator.userAgent.toLowerCase().indexOf("android")>-1?void 0!==window.JSInterface&&window.JSInterface.CallWSMethod(a):(navigator.userAgent.indexOf("com.vagaro.iospro")>-1&&navigator.userAgent.indexOf("iPhone")>-1||navigator.userAgent.toLowerCase().indexOf("ipad")>-1)&&(window.location="js-call:myObjectiveCFunction:"+a)}},safeClone:e=>{if(null==e||"object"!=typeof e)return e;if(Array.isArray(e)){let t=new WeakSet;try{return JSON.parse(JSON.stringify(e,(e,a)=>{if("function"!=typeof a&&(!a||"object"!=typeof a||!a.$$typeof)){if("object"==typeof a&&null!==a){if(t.has(a))return"[Circular]";t.add(a)}return a}}))}catch(e){return[]}}let t=new WeakSet;try{return JSON.parse(JSON.stringify(e,(e,a)=>{if("function"!=typeof a&&(!a||"object"!=typeof a||!a.$$typeof)){if("object"==typeof a&&null!==a){if(t.has(a))return"[Circular]";t.add(a)}return a}}))}catch(e){return{}}},CallBackGivenToMobileAppForStarredList:(e,t)=>{if(null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent){var a="5006||~||"+e;navigator.userAgent.indexOf("VagaroAndroid")>-1?void 0!==window.JSInterface&&window.JSInterface.CallWSMethod(a):navigator.userAgent.indexOf("com.vagaro.iospro")>-1&&setTimeout(()=>{window.location="js-call:myObjectiveCFunction:"+a},t)}},displayErrorMessage:(e,t,a)=>{((e=o,t,a=o)=>{let n=(e,t)=>(m[e]&&m[e]?._internalRoot!==null||(m[e]=v(t)),m[e]);switch(e){case o:{let e=n(o,o);e?.render(t);break}case c:{let e=n(c,c);e?.render(t);break}case d:{let e=n(d,d);e?.render(t);break}case g:{let e=n(g,g);e?.render(t);break}case r:m.Custom=v(a),m.Custom?.render(t);break;case u:m.exportdiv=v(a),m.exportdiv?.render(t);break;case p:m.printdiv=v(a),m.printdiv?.render(t)}})(g,l.createElement(l.Fragment,null,l.createElement(h,{alertType:e===f.Success?"success":e===f.Fail?"fail":"warning",strMessage:t||"Some error Occurred. Please try again.",displaytime:a||4e3})))},CheckIsTabletOrIpad:e=>{if(!("u">typeof window)||null===navigator||!navigator.userAgent)return!1;{let t=navigator.userAgent.toLowerCase(),a=t.includes("ipad")||t.includes("macintosh")&&navigator.maxTouchPoints>1,n=t.includes("android")&&!t.includes("mobile"),i=/windows|macintosh|cros/.test(t),l=!1;return l=e?navigator.maxTouchPoints>1&&!i&&window.innerWidth<=1024&&window.matchMedia("(orientation: portrait)").matches:navigator.maxTouchPoints>1&&!i&&window.innerWidth>=768&&window.innerWidth<=1366,!(navigator.userAgent.toLowerCase().indexOf("com.vagaro.iospro")>-1||navigator.userAgent.toLowerCase().indexOf("com.vagaro.androidpro")>-1)&&(a||n||l)}},isNullEmptyOrWhiteSpace:function(e){return"number"==typeof e&&(e=e.toString()),null==e||""===e||""===e.trim()},CheckIsProApp:()=>null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent&&!!navigator?.userAgent?.includes("com.vagaro")},C={action:1,timePickerRight:2,timePickerLeft:3,smileyPicker:4,addressSuggestions:5,dateRangePickerAutoPosition:6,dateRangePickerRight:7,threeDotmenu:8,nestedDropdownPortal:9,phonecountry:10,tableGrid:11,emojiPicker:12,gifPicker:13};void 0===window.ToolkitReceiveCallbackFromMobile&&(window.ToolkitReceiveCallbackFromMobile=function(e){var t=JSON.parse(e).callbackIndex;69===t&&(null!=document.getElementById("DropDown11")&&document.getElementById("DropDown11").click(),null!=document.getElementById("phoneControlId")&&document.getElementById("phoneControlId").click(),null!=document.getElementById("colorPickerId")&&document.getElementById("colorPickerId").click(),null!=document.getElementById("addressControl")&&document.getElementById("addressControl").click(),null!=document.getElementById("BottomSheetId")&&document.getElementById("BottomSheetId").click(),null!=document.getElementById("AiControlId")&&document.getElementById("AiControlId").click()),54===t&&null!=document.getElementById("TimePickerId1")&&document.getElementById("TimePickerId1").click()});let x=(e,t,a,i)=>{let l=n(e).format("MMM DD, YYYY"),s=n(t).format("MMM DD, YYYY");if(localStorage.setItem("dateRangeData",JSON.stringify({formattedStartDate:l,formattedEndDate:s,ActionTagForDate:a})),localStorage.setItem("ActionTagForDate",a),null!==document.getElementById(i)){document.getElementById(i).value=`${l} - ${s}`;let n=new CustomEvent("nativeDateRangepickerSelected",{detail:{startDate:e,endDate:t,ActionTagForDate:a,formattedStartDate:l,formattedEndDate:s,elementId:i}});window.dispatchEvent(n)}};function y(e){void 0===window.setMobileDataVagaroAI&&(window.setMobileDataVagaroAI=function(t){let a=JSON.parse(t);if(108===a.callbackIndex){let t=JSON.parse(a.actionVagaroAIDesc),n=t?.message?.message;e(a.callFromLocation,n)}})}void 0===window.setToolkitMobileData&&(window.setToolkitMobileData=function(e){if(e){var t={};try{t=JSON.parse(e)}catch(e){return}var a=t.callbackIndex;if(52===a){let{MerchantSignupBack:e}=t;if(e&&"1"===e){let e=document.getElementById("close-renter-popup");if(e instanceof HTMLElement&&document.body.contains(e))return void e.click();
1let t=document.getElementById("close-change-log-popup");if(t instanceof HTMLElement&&document.body.contains(t))return void t.click()}}if(79===a){let e;var i=t.actionResponse.timeCardDate;let{actionResponse:a,callFromLocation:n}=t;e=null!=a&&void 0!==a.callFromLocation&&null!=a.callFromLocation?a.callFromLocation.split("|#|")[0]:n.split("|#|")[0];let l=document.getElementById(e);if(null!=l){let e=new CustomEvent("nativeDateRangeSelected",{detail:{date:i,elementId:l.id}});window.dispatchEvent(e),l.value=i}}if(52===a||32===a){let e,{actionResponse:a,callFromLocation:i}=t;var l,s,r=t?.actionResponse?.actionTag|t?.actionTag;if(e=null!=a&&void 0!==a.callFromLocation&&null!=a.callFromLocation?a.callFromLocation?.split("|#|")[0]:i?.split("|#|")[0],"1"==r)l=n().startOf("day"),s=n().endOf("day");else if("2"==r)l=n().subtract(1,"days"),s=n().subtract(1,"days");else if("3"==r)l=n().subtract(6,"days"),s=n();else if("4"==r)l=n().subtract(29,"days"),s=n();else if("5"==r)l=n().startOf("month"),s=n().endOf("month");else if("6"==r)l=n().subtract(1,"month").startOf("month"),s=n().subtract(1,"month").endOf("month");else if("7"==r)l=n().startOf("year"),s=n();else if("8"==r)l=n().subtract(1,"year").startOf("year"),s=n().subtract(1,"year").endOf("year");else if("9"==r)l=t.actionResponse.startDate,s=t.actionResponse.endDate;else if("10"==r){let t=new CustomEvent("nativeDateRangepickerSelected",{detail:{startDate:null,endDate:null,ActionTagForDate:10,formattedStartDate:null,formattedEndDate:null,elementId:e}});window.dispatchEvent(t);return}x(l,s,r,e)}if(69===a){let{actionResponse:e,callFromLocation:a}=t,n=document.getElementById(a)||document.getElementById(e.callFromLocation);null!=n&&n.click()}if(54===a){let{actionResponse:e,name:a}=t,n=e.time,i=document.getElementById(a)||document.getElementById(e.name);if(null!=i){let e=new CustomEvent("nativeTimeSelected",{detail:{time:n,elementId:i.id}});window.dispatchEvent(e),i.value=n}}}}),void 0==window||window.LoadMobileData||(window.LoadMobileData=function(e,t,a){x(e,t,"9",a)});let A=(e,t)=>{if(e){t?.current?.focus();let e=t?.current?.getBoundingClientRect();window.scrollTo({top:e?.top+window.scrollY-100,behavior:"smooth"})}},k=e=>null==e||""===e,I=e=>null==e||"object"==typeof e&&0===Object.keys(e).length,L=e=>{let t=document.cookie.split("; ");for(let a=0;a<t.length;a++){let[n,i]=t[a].split("=");if(n===e)return decodeURIComponent(i)}return""},S=e=>{try{let t=new URLSearchParams(window.location.search);if("u">typeof window&&!("u"<typeof window)&&(!0===window.isFromOnlineForms||window.location.pathname.includes("/profile/forms"))){let a=t.get("merchantId"),n=t.get("userId"),i=t.get("grouptoken"),l=t.get("theme")??"";if(a&&n&&i)return{MerchantId:a,UserId:n,grouptoken:i,Theme:l};{let t=decodeURIComponent(document.cookie),a="",n=t.split(";");for(let t=0;t<n.length;t++)n[t].split(/=(.*)/s)[0].trim()===e&&(a=JSON.parse(n[t].split(/=(.*)/s)[1]));return a}}let a=decodeURIComponent(document.cookie),n="",i=a.split(";");for(let t=0;t<i.length;t++)i[t].split(/=(.*)/s)[0].trim()===e&&(n=JSON.parse(i[t].split(/=(.*)/s)[1]));return n}catch(e){return{}}},E=(e,t)=>{var a="",n=window.location.host.split(".");a=n.length>=2?"."+n[n.length-2]+"."+n[n.length-1]:window.location.hostname.replace("www.",".");var i=new Date;i.setTime(i.getTime()+31536e6);var l="expires="+i.toUTCString();document.cookie=e+"="+t+";"+l+";domain="+a+"; path=/"},j={MerchantId:"MerchantId",UserId:"UserId",APIV1:"VagaroCoreAPIURLV1",APIV2:"VagaroCoreAPIURLV2",grouptoken:"grouptoken",AC_TOKEN:"ac_tkn",Theme:"Theme"},O=e=>{let t=S("rpt_data");if(!(!window.location.origin.includes("http://localhost:3000")&&(k(t)||k(t.MerchantId)||k(t.UserId)||k(t.grouptoken)))){if(e===j.MerchantId)if(!k(t)&&!k(t.MerchantId))return t.MerchantId;else return"lopk5rlkYwOPc~2nVnF0Mg==";if(e===j.UserId)if(!k(t)&&!k(t.UserId))return t.UserId;else return"E4l7Jc7rF-BfHJSsIrTOmg==";if(e===j.APIV1)if(!k(t)&&!k(t.VagaroCoreApiUrl))return t.VagaroCoreApiUrl;else return"https://api.localdev.com/us02/api/v1/";if(e===j.APIV2)return null;if(e===j.grouptoken)if(!k(t)&&!k(t.grouptoken))return t.grouptoken.toLowerCase();else return"us02";if(e===j.Theme)if(!k(t)&&!k(t.Theme))return t.Theme;else return""}},T="https://vagaro.azureedge.net/static-content"},64367(e,t,a){function n(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}a.d(t,{A:()=>s});var i=a(4468),l=a(57106);function s(e){let t,{swiper:a,extendParams:s,on:r,emit:o}=e,c="swiper-pagination";s({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${c}-bullet`,bulletActiveClass:`${c}-bullet-active`,modifierClass:`${c}-`,currentClass:`${c}-current`,totalClass:`${c}-total`,hiddenClass:`${c}-hidden`,progressbarFillClass:`${c}-progressbar-fill`,progressbarOppositeClass:`${c}-progressbar-opposite`,clickableClass:`${c}-clickable`,lockClass:`${c}-lock`,horizontalClass:`${c}-horizontal`,verticalClass:`${c}
1-vertical`,paginationDisabledClass:`${c}-disabled`}}),a.pagination={el:null,bullets:[]};let d=0;function u(){return!a.params.pagination.el||!a.pagination.el||Array.isArray(a.pagination.el)&&0===a.pagination.el.length}function p(e,t){let{bulletActiveClass:n}=a.params.pagination;e&&(e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&(e.classList.add(`${n}-${t}`),(e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&e.classList.add(`${n}-${t}-${t}`))}function g(e){let t=e.target.closest(n(a.params.pagination.bulletClass));if(!t)return;e.preventDefault();let i=(0,l.i)(t)*a.params.slidesPerGroup;if(a.params.loop){var s,r,o;if(a.realIndex===i)return;let e=(s=a.realIndex,r=i,(s%=o=a.slides.length,(r%=o)===s+1)?"next":r===s-1?"previous":void 0);"next"===e?a.slideNext():"previous"===e?a.slidePrev():a.slideToLoop(i)}else a.slideTo(i)}function m(){let e,i,s=a.rtl,r=a.params.pagination;if(u())return;let c=a.pagination.el;c=(0,l.m)(c);let g=a.virtual&&a.params.virtual.enabled?a.virtual.slides.length:a.slides.length,m=a.params.loop?Math.ceil(g/a.params.slidesPerGroup):a.snapGrid.length;if(a.params.loop?(i=a.previousRealIndex||0,e=a.params.slidesPerGroup>1?Math.floor(a.realIndex/a.params.slidesPerGroup):a.realIndex):void 0!==a.snapIndex?(e=a.snapIndex,i=a.previousSnapIndex):(i=a.previousIndex||0,e=a.activeIndex||0),"bullets"===r.type&&a.pagination.bullets&&a.pagination.bullets.length>0){let n,o,u,g=a.pagination.bullets;if(r.dynamicBullets&&(t=(0,l.h)(g[0],a.isHorizontal()?"width":"height",!0),c.forEach(e=>{e.style[a.isHorizontal()?"width":"height"]=`${t*(r.dynamicMainBullets+4)}px`}),r.dynamicMainBullets>1&&void 0!==i&&((d+=e-(i||0))>r.dynamicMainBullets-1?d=r.dynamicMainBullets-1:d<0&&(d=0)),u=((o=(n=Math.max(e-d,0))+(Math.min(g.length,r.dynamicMainBullets)-1))+n)/2),g.forEach(e=>{let t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${r.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),c.length>1)g.forEach(t=>{let i=(0,l.i)(t);i===e?t.classList.add(...r.bulletActiveClass.split(" ")):a.isElement&&t.setAttribute("part","bullet"),r.dynamicBullets&&(i>=n&&i<=o&&t.classList.add(...`${r.bulletActiveClass}-main`.split(" ")),i===n&&p(t,"prev"),i===o&&p(t,"next"))});else{let t=g[e];if(t&&t.classList.add(...r.bulletActiveClass.split(" ")),a.isElement&&g.forEach((t,a)=>{t.setAttribute("part",a===e?"bullet-active":"bullet")}),r.dynamicBullets){let e=g[n],t=g[o];for(let e=n;e<=o;e+=1)g[e]&&g[e].classList.add(...`${r.bulletActiveClass}-main`.split(" "));p(e,"prev"),p(t,"next")}}if(r.dynamicBullets){let e=Math.min(g.length,r.dynamicMainBullets+4),n=(t*e-t)/2-u*t,i=s?"right":"left";g.forEach(e=>{e.style[a.isHorizontal()?i:"top"]=`${n}px`})}}c.forEach((t,i)=>{if("fraction"===r.type&&(t.querySelectorAll(n(r.currentClass)).forEach(t=>{t.textContent=r.formatFractionCurrent(e+1)}),t.querySelectorAll(n(r.totalClass)).forEach(e=>{e.textContent=r.formatFractionTotal(m)})),"progressbar"===r.type){let i;i=r.progressbarOpposite?a.isHorizontal()?"vertical":"horizontal":a.isHorizontal()?"horizontal":"vertical";let l=(e+1)/m,s=1,o=1;"horizontal"===i?s=l:o=l,t.querySelectorAll(n(r.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${s}) scaleY(${o})`,e.style.transitionDuration=`${a.params.speed}ms`})}"custom"===r.type&&r.renderCustom?((0,l.s)(t,r.renderCustom(a,e+1,m)),0===i&&o("paginationRender",t)):(0===i&&o("paginationRender",t),o("paginationUpdate",t)),a.params.watchOverflow&&a.enabled&&t.classList[a.isLocked?"add":"remove"](r.lockClass)})}function v(){let e=a.params.pagination;if(u())return;let t=a.virtual&&a.params.virtual.enabled?a.virtual.slides.length:a.grid&&a.params.grid.rows>1?a.slides.length/Math.ceil(a.params.grid.rows):a.slides.length,i=a.pagination.el;i=(0,l.m)(i);let s="";if("bullets"===e.type){let n=a.params.loop?Math.ceil(t/a.params.slidesPerGroup):a.snapGrid.length;a.params.freeMode&&a.params.freeMode.enabled&&n>t&&(n=t);for(let t=0;t<n;t+=1)e.renderBullet?s+=e.renderBullet.call(a,t,e.bulletClass):s+=`<${e.bulletElement} ${a.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(s=e.renderFraction?e.renderFraction.call(a,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(s=e.renderProgressbar?e.renderProgressbar.call(a,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>
1`),a.pagination.bullets=[],i.forEach(t=>{"custom"!==e.type&&(0,l.s)(t,s||""),"bullets"===e.type&&a.pagination.bullets.push(...t.querySelectorAll(n(e.bulletClass)))}),"custom"!==e.type&&o("paginationRender",i[0])}function h(){let e;a.params.pagination=(0,i.c)(a,a.originalParams.pagination,a.params.pagination,{el:"swiper-pagination"});let t=a.params.pagination;!t.el||("string"==typeof t.el&&a.isElement&&(e=a.el.querySelector(t.el)),e||"string"!=typeof t.el||(e=[...document.querySelectorAll(t.el)]),e||(e=t.el),e&&0!==e.length&&(a.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&e.length>1&&(e=[...a.el.querySelectorAll(t.el)]).length>1&&(e=e.find(e=>(0,l.b)(e,".swiper")[0]===a.el)),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(a.pagination,{el:e}),(e=(0,l.m)(e)).forEach(e=>{"bullets"===t.type&&t.clickable&&e.classList.add(...(t.clickableClass||"").split(" ")),e.classList.add(t.modifierClass+t.type),e.classList.add(a.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add(`${t.modifierClass}${t.type}-dynamic`),d=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",g),a.enabled||e.classList.add(t.lockClass)})))}function f(){let e=a.params.pagination;if(u())return;let t=a.pagination.el;t&&(t=(0,l.m)(t)).forEach(t=>{t.classList.remove(e.hiddenClass),t.classList.remove(e.modifierClass+e.type),t.classList.remove(a.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(t.classList.remove(...(e.clickableClass||"").split(" ")),t.removeEventListener("click",g))}),a.pagination.bullets&&a.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!a.pagination||!a.pagination.el)return;let e=a.params.pagination,{el:t}=a.pagination;(t=(0,l.m)(t)).forEach(t=>{t.classList.remove(e.horizontalClass,e.verticalClass),t.classList.add(a.isHorizontal()?e.horizontalClass:e.verticalClass)})}),r("init",()=>{!1===a.params.pagination.enabled?w():(h(),v(),m())}),r("activeIndexChange",()=>{void 0===a.snapIndex&&m()}),r("snapIndexChange",()=>{m()}),r("snapGridLengthChange",()=>{v(),m()}),r("destroy",()=>{f()}),r("enable disable",()=>{let{el:e}=a.pagination;e&&(e=(0,l.m)(e)).forEach(e=>e.classList[a.enabled?"remove":"add"](a.params.pagination.lockClass))}),r("lock unlock",()=>{m()}),r("click",(e,t)=>{let n=t.target,i=(0,l.m)(a.pagination.el);if(a.params.pagination.el&&a.params.pagination.hideOnClick&&i&&i.length>0&&!n.classList.contains(a.params.pagination.bulletClass)){if(a.navigation&&(a.navigation.nextEl&&n===a.navigation.nextEl||a.navigation.prevEl&&n===a.navigation.prevEl))return;!0===i[0].classList.contains(a.params.pagination.hiddenClass)?o("paginationShow"):o("paginationHide"),i.forEach(e=>e.classList.toggle(a.params.pagination.hiddenClass))}});let w=()=>{a.el.classList.add(a.params.pagination.paginationDisabledClass);let{el:e}=a.pagination;e&&(e=(0,l.m)(e)).forEach(e=>e.classList.add(a.params.pagination.paginationDisabledClass)),f()};Object.assign(a.pagination,{enable:()=>{a.el.classList.remove(a.params.pagination.paginationDisabledClass);let{el:e}=a.pagination;e&&(e=(0,l.m)(e)).forEach(e=>e.classList.remove(a.params.pagination.paginationDisabledClass)),h(),v(),m()},disable:w,render:v,update:m,init:h,destroy:f})}}}]);

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.