PageSourceSearch

https://oasishealingmassage.com/static/js/async/3973.70947249c8.js

js oasishealingmassage.com collected 2026-10-04 10:55:20 UTC 21,180 bytes, 3 lines download raw bytes

1"use strict";(self.rspackChunkvagaro_websitebuilder_consumer=self.rspackChunkvagaro_websitebuilder_consumer||[]).push([[3973],{55260(){},84955(e,t,o){o.r(t),o.d(t,{default:()=>f});var l=o(74848),a=o(96540);o(55260);var n=o(65195),i=o(67247),r=o(7247),s=o(94089),d=o(27142);let c=null,u=null,p=()=>c?Promise.resolve(c):(u||(u=Promise.all([o.e(3799),o.e(2058)]).then(o.bind(o,44762)).then(e=>(c=e.default,e.default),e=>{throw u=null,e})),u),m=[],h=0,g=0,f=({PopupTitle:e,ScreenTitle:t,PopupSubTitle:o,EnableBody:u,Popupopen:f=!1,TextDescription:v,PopupBody:y,CloseButton:C=!0,NativeAction:B=0,Footer:T=0,OpenFooter:x=1,TimerCount:k=0,IsFullLength:b=!1,Size:w="medium",CloseOnOutsideClick:j=!1,PopupId:N="",FooterButton:F="none",ButtonPrimary:P,ButtonSecondary:V,ButtonThird:I,FormValid:L,FormValidation:S={},CloseBackTitle:A,OnClickPrimary:O=(e,t)=>{},OnClickSecondary:$=()=>{},OnClickThird:D=()=>{},ButtonFourth:E,FourthButtonVariant:M="primary",OnClickFourth:W=()=>{},onClose:J=()=>{},VagaroToolkit:_=0,customClassName:R="",SecondaryButtonVariant:H="secondary",PrimaryButtonVariant:z="primary",ThirdButtonVariant:G="primary",MobileView:U=!1,TitleIsShow:Z=!0,PopupImage:q,DescriptionType:K="plain",FullWidthButtons:Y=!0,BottomSheet:Q=!1,PopupType:X="default",BodyClass:ee="",BodyCustomClass:et="",DoNotSetTitle:eo=!0,FooterButtonDisabled:el,headerImage:ea,FooterButtonOptions:en,ButtonCallbackAllow:ei={PrimaryBtnCallBackAllow:!0,SecondaryBtnCallBackAllow:!0,ThirdBtnCallBackAllow:!0,FourthBtnCallBackAllow:!0},VimeoVideoID:er="",FooterLeftTemplate:es,PreventInternalClose:ed=!1,FooterleftAlignment:ec=!1,ButtonIcons:eu={primary:"",secondary:"",third:"",fourth:""},ZIndex:ep,EnterKeyTriggerPrimary:em=!1,AllowCallback:eh=!0,TabIndexObj:eg={},GlassDesign:ef=!1,HiddenBodyScroll:ev=!1,OpenInPortal:ey=!0,BottomSheetDefault:eC=!1,HideHeader:eB=!1,OpenCloseCallbackAllow:eT={OpenCallBackAllow:!0,CloseCallBackAllow:!0},InfoTooltipMessage:ex=""})=>{let[ek,eb]=(0,a.useState)(f),[ew,ej]=(0,a.useState)(!1),[eN,eF]=(0,a.useState)(()=>c),eP=(0,a.useRef)(null),eV="premium"===X&&!(q&&""===er);(0,a.useEffect)(()=>{if(!eV||eN)return;let e=!0;return p().catch(()=>p()).then(t=>{e&&eF(()=>t)}).catch(()=>{}),()=>{e=!1}},[eV,eN]);let eI=i.Wp.CheckIsFromProAppWithoutState(),eL=i.Wp.CheckIsFromIpadAndroidTabWithoutParm(),eS=i.Wp.CheckIsFromPaydeskWithoutParm(),eA=i.Wp.CheckIsPayProDevice(),eO=i.Wp.CheckIsFromIpadAndroidPayproWithoutParm(),[e$,eD]=(0,a.useState)(null),eE=(0,a.useRef)(null),eM=(0,a.useRef)(null),eW=(0,a.useRef)(null),eJ=(0,a.useRef)(null),e_=(0,a.useRef)(null),eR=()=>{if(eI&&eT?.CloseCallBackAllow){i.Wp.CallBackGivenToMobileApp(B,A,T,k,b);var e={};e.message="",e.messageType=0,e.screenTitle=A,e.screenType=0,e.navType=0,e.action="53|~|"+JSON.stringify({NativeAction:B,Footer:T,TimerCount:k,callFromLocation:N,VagaroToolkit:_,IsFullLength:b}),i.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(e))}},eH="u">typeof window&&window.innerWidth<768;(eC||Q&&eH)&&(j=!0,C=!1);let ez=()=>{let e=eC||Q&&eH;ed?e?setTimeout(()=>{eR(),J()},800):(eR(),J()):e?(ej(!0),setTimeout(()=>{eb(!1),eR(),J()},800)):(ej(!0),eb(!1),eR(),J())},eG=(e,t)=>{if(eD("primary"===e$?null:"primary"),ei.PrimaryBtnCallBackAllow&&eI&&eh){i.Wp.CallBackGivenToMobileApp(B,A,T,k,b);var o={};o.message="",o.messageType=0,o.screenTitle=A,o.screenType=0,o.navType=0,o.action="53|~|"+JSON.stringify({NativeAction:B,Footer:T,TimerCount:k,callFromLocation:N,VagaroToolkit:_,IsFullLength:b}),i.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(o))}O&&O(e,t)},eU=()=>{if(eD("secondary"===e$?null:"secondary"),ei.SecondaryBtnCallBackAllow&&eI&&eh){i.Wp.CallBackGivenToMobileApp(B,A,T,k,b);var e={};e.message="",e.messageType=0,e.screenTitle=A,e.screenType=0,e.navType=0,e.action="53|~|"+JSON.stringify({NativeAction:B,Footer:T,TimerCount:k,callFromLocation:N,VagaroToolkit:_,IsFullLength:b}),i.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(e))}$&&$()},eZ=()=>{if(eD("third"===e$?null:"third"),ei.ThirdBtnCallBackAllow&&eI&&eh){i.Wp.CallBackGivenToMobileApp(B,A,T,k,b);var e={};e.message="",e.messageType=0,e.screenTitle=A,e.screenType=0,e.navType=0,e.action="53|~|"+JSON.stringify({NativeAction:B,Footer:T,TimerCount:k,callFromLocation:N,VagaroToolkit:_,IsFullLength:b}),i.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(e))}D&&D()},eq=()=>{if(eD("fourth"===e$?null:"fourth"),ei.FourthBtnCallBackAllow&&eI&&eh){i.Wp.CallBackGivenToMobileApp(B,A,T,k,b);var e={};e.message="",e.messageType=0,e.screenTitle=A,e.screenType=0,e.navType=0,e.action="53|~|"+JSON.stringify({NativeAction:B,Footer:T,TimerCount:k,callFromLocation:N,VagaroToolkit:_,IsFullLength:b}),i.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(e))}W&&W()},eK=a.useCallback(e=>{let t=m.length>0&&m[m.length-1].current===eP.current;if(!j||!t||!eP.current)return;let o=e.composedPath?.()||[];if(o.length?o.includes(eP.current):eP.current.contains(e.target))return;let l=o.find(e=>e instanceof HTMLElement&&e.hasAttribute("data-parent-popup-id"));l?.getAttribute("data-parent-popup-id")!==String(N)&&ez()},[j,ez]);(0,a.useEffect)(()=>{ek&&ej(!1)},[ek]),(0,a.useEffect)(()=>{eb(f)},[f]),(0,a.useEffect)(()=>
1{if(ek){if(m.includes(eP)||m.push(eP),document.addEventListener("mousedown",eK),eI&&U&&!Q&&eT?.OpenCallBackAllow){var o={};o.message="",o.messageType=0,o.screenTitle=eo?t||e:"",o.screenType=0,o.navType=0,o.action="53|~|"+JSON.stringify({NativeAction:B,Footer:x,IsFullLength:b,callFromLocation:N,VagaroToolkit:_}),i.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(o))}}else{let e=m.indexOf(eP);-1!==e&&m.splice(e,1),document.removeEventListener("mousedown",eK)}return()=>{let e=m.indexOf(eP);-1!==e&&m.splice(e,1),document.removeEventListener("mousedown",eK)}},[ek,j]),(0,a.useEffect)(()=>{let e=ee?.split(" ").filter(Boolean);return ek&&e?.length?document.body.classList.add(...e):e?.length&&document.body.classList.remove(...e),()=>{e?.length&&document.body.classList.remove(...e)}},[ek,ee]),(0,a.useEffect)(()=>{let e=()=>{e$&&(eD(null),setTimeout(()=>{eD(e$)},100))};return window.addEventListener("resize",e),window.addEventListener("orientationchange",e),()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)}},[e$]),(0,a.useEffect)(()=>{let e=e=>{em&&ek&&"Enter"===e.key&&el?.primary!==!0&&(e.preventDefault(),eG())};return ek&&em&&el?.primary!==!0&&document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[ek,em,el?.primary]),(0,a.useLayoutEffect)(()=>{if(!ek||!ev)return;let e=document.documentElement,t=document.body,o=/iPad|iPhone|iPod/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;return 1==++h&&(e.classList.add("popup-open"),o&&(g=window.scrollY,t.style.position="fixed",t.style.top=`-${g}px`,t.style.width="100%",t.style.overflow="hidden")),()=>{0==--h&&(e.classList.remove("popup-open"),o&&(t.style.position="",t.style.top="",t.style.width="",t.style.overflow="",window.scrollTo(0,g)))}},[ek,ev]);let eY=()=>(0,l.jsxs)(l.Fragment,{children:["default"===X&&(0,l.jsx)("div",{className:`modal-overlay ${ey?"vg-popup-withportal":"vg-popup-withoutportal"} ${ep?"vg-modal-overlay-zindex":""} ${"fullscreen"===w?"fullscreenoverlay":""}  ${ew?"closing":""}`,"data-popup-id":N,"data-identity":U?"full-popup":"",style:{"--popup-z-index":ep},children:(0,l.jsx)("div",{className:`vg-modal-dialog ${eL||eA||eS||eI||eO?"vg-pro-ipad":""} ${ef?"Popup-glassdesign":""} ${eC?"vg-popup-bottomsheet-default":""} ${eH&&Q?"vg-popup-bottomsheet":""} ${U?"mobilefullScreen":""} vg-modalsummary modal-dialog-scrollable modal-dialog-centered ${w} 
2                  ${R}`,children:(0,l.jsxs)("div",{className:"vg-modal-content",ref:eP,children:[!eB&&(0,l.jsxs)("div",{className:`vg-modal-header ${ea?.url?"vg-popup-header-img":""} ${ea?.customImageClass&&""}`,style:ea?.url&&!e?{backgroundImage:`url(${ea?.url})`,backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",height:ea?.height||"250px"}:void 0,children:[(e||ex)&&(0,l.jsxs)("div",{className:"vg-modal-title",children:[e,ex&&""!==ex&&(0,l.jsx)("span",{className:"vg-input-lbl-infochip",children:(0,l.jsx)(s.default,{BeakPoint:"Up",BeakPosition:"Middle",Children:(0,l.jsx)("div",{className:"vg-tooltiptext",children:(0,l.jsx)(d.default,{name:"info_circle"})}),TextAlign:"center",TooltipText:ex,Html:!0,TooltipRender:"portal"})})]}),o&&(0,l.jsx)("div",{className:"vg-modal-subtitle",children:o}),C&&(0,l.jsx)("div",{className:"vg-btn-close",onClick:ez,id:"close",children:(0,l.jsx)("svg",{viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M12.3945 11.4805C12.7754 11.832 12.7754 12.4473 12.3945 12.7988C12.2188 12.9746 11.9844 13.0625 11.75 13.0625C11.4863 13.0625 11.252 12.9746 11.0762 12.7988L8 9.72266L4.89453 12.7988C4.71875 12.9746 4.48438 13.0625 4.25 13.0625C3.98633 13.0625 3.75195 12.9746 3.57617 12.7988C3.19531 12.4473 3.19531 11.832 3.57617 11.4805L6.65234 8.375L3.57617 5.29883C3.19531 4.94727 3.19531 4.33203 3.57617 3.98047C3.92773 3.59961 4.54297 3.59961 4.89453 3.98047L8 7.05664L11.0762 3.98047C11.4277 3.59961 12.043 3.59961 12.3945 3.98047C12.7754 4.33203 12.7754 4.94727 12.3945 5.29883L9.31836 8.4043L12.3945 11.4805Z"})})})]}),(0,l.jsxs)("div",{className:`vg-modal-body ${et||""}`,children:[y?y():null,v]}),"none"!==F&&(0,l.jsxs)("div",{className:`vg-modal-footer ${ec?"left-alignment":""} ${es?"vg-modal-footer-with-left-template":""}`,children:[es&&es?.(),es?(0,l.jsxs)("div",{className:"vg-modal-footer-buttons",children:["fourthButton"===F&&(0,l.jsx)(n.default,{ref:eJ,ButtonVariant:M,ButtononClick:eq,IconPlacement:"prefix",ValidForm:L,FormV
2alidations:S,ButtonDisabled:el?.fourth??!1,ButtonIcon:eu.fourth,TabIndex:eg?.fourth,children:E}),("thirdButton"===F||"fourthButton"===F)&&(0,l.jsx)(n.default,{ref:eW,ButtonVariant:G,ButtononClick:eZ,IconPlacement:"prefix",ValidForm:L,FormValidations:S,ButtonDisabled:el?.third??!1,ButtonIcon:eu.third,TabIndex:eg?.third,children:I}),("secondaryButton"===F||"both"===F||"thirdButton"===F)&&(0,l.jsx)(n.default,{ref:eM,ButtonVariant:H,ButtononClick:eU,IconPlacement:"prefix",ButtonDisabled:el?.secondary??!1,ButtonIcon:eu.secondary,TabIndex:eg?.secondary,children:V}),("primaryButton"===F||"both"===F||"thirdButton"===F)&&(0,l.jsx)(n.default,{ref:eE,ButtonVariant:z,ButtononClick:eG,IconPlacement:"prefix",ButtonIcon:eu.primary,ValidForm:L,FormValidations:S,ButtonDisabled:el?.primary??!1,TabIndex:eg?.primary,children:P})]}):(0,l.jsxs)(l.Fragment,{children:["fourthButton"===F&&(0,l.jsx)(n.default,{ref:eJ,ButtonVariant:M,ButtononClick:eq,IconPlacement:"prefix",ValidForm:L,FormValidations:S,ButtonDisabled:el?.fourth??!1,ButtonIcon:eu.fourth,TabIndex:eg?.fourth,children:E}),("thirdButton"===F||"fourthButton"===F)&&(0,l.jsx)(n.default,{ref:eW,ButtonVariant:G,ButtononClick:eZ,IconPlacement:"prefix",ValidForm:L,FormValidations:S,ButtonDisabled:el?.third??!1,ButtonIcon:eu.third,TabIndex:eg?.third,children:I}),("secondaryButton"===F||"both"===F||"thirdButton"===F||"fourthButton"===F)&&(0,l.jsx)(n.default,{ref:eM,ButtonVariant:H,ButtononClick:eU,IconPlacement:"prefix",ButtonIcon:eu.secondary,ButtonDisabled:el?.secondary??!1,TabIndex:eg?.secondary,children:V}),("primaryButton"===F||"both"===F||"thirdButton"===F||"fourthButton"===F)&&(0,l.jsx)(n.default,{ref:eE,ButtonVariant:z,ButtononClick:eG,IconPlacement:"prefix",ButtonIcon:eu.primary,ValidForm:L,FormValidations:S,ButtonDisabled:el?.primary??!1,TabIndex:eg?.primary,children:P})]}),e$&&en?.[e$]?.visible&&en?.[e$]?.options&&en[e$].options.length>0&&(0,l.jsx)(r.A,{inputRef:"primary"===e$?eE:"secondary"===e$?eM:"third"===e$?eW:eJ,type:i.IU.timePickerRight,wrapperElementId:"threedotmenu",children:(0,l.jsx)("div",{ref:e_,className:"vg-dropdown-menu-action",children:en[e$].options.map((e,t)=>(0,l.jsx)("div",{className:"vg-dropdown-menu-link",onClick:t=>{eD(null),e.onClick?.(t)},onMouseDown:e=>e.preventDefault(),children:e.label},e.label+t))})})]}),(0,l.jsx)("input",{type:"hidden",onClick:()=>ez(),id:"close-full-popup"})]})})}),"custom"===X&&(0,l.jsx)("div",{className:`modal-overlay ${ep?"vg-modal-overlay-zindex":""}`,"data-popup-id":N,style:{"--popup-z-index":ep},children:(0,l.jsxs)("div",{className:`vg-modal-dialog  vg-custom-dialog ${ef?"Popup-glassdesign":""} ${U?"mobilefullScreen":""} vg-modalsummary modal-dialog-scrollable modal-dialog-centered ${w} 
3                  ${R}`,children:[(0,l.jsxs)("div",{className:"vg-modal-content",ref:eP,children:[C&&(0,l.jsx)("div",{className:"custom-close",onClick:ez,children:(0,l.jsx)("svg",{viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M12.3945 11.4805C12.7754 11.832 12.7754 12.4473 12.3945 12.7988C12.2188 12.9746 11.9844 13.0625 11.75 13.0625C11.4863 13.0625 11.252 12.9746 11.0762 12.7988L8 9.72266L4.89453 12.7988C4.71875 12.9746 4.48438 13.0625 4.25 13.0625C3.98633 13.0625 3.75195 12.9746 3.57617 12.7988C3.19531 12.4473 3.19531 11.832 3.57617 11.4805L6.65234 8.375L3.57617 5.29883C3.19531 4.94727 3.19531 4.33203 3.57617 3.98047C3.92773 3.59961 4.54297 3.59961 4.89453 3.98047L8 7.05664L11.0762 3.98047C11.4277 3.59961 12.043 3.59961 12.3945 3.98047C12.7754 4.33203 12.7754 4.94727 12.3945 5.29883L9.31836 8.4043L12.3945 11.4805Z"})})}),(0,l.jsx)("div",{className:`vg-modal-body ${et||""}`,children:y?y():null})]}),(0,l.jsx)("input",{type:"hidden",onClick:()=>ez(),id:"close-full-popup"})]})}),"premium"===X&&(0,l.jsxs)("div",{className:`modal-overlay ${ep?"vg-modal-overlay-zindex":""}`,"data-popup-id":N,style:{"--popup-z-index":ep},children:[(0,l.jsx)("div",{className:`vg-modal-dialog vg-modalsummary vg-premium-dialog vg-modalsummary modal-dialog-scrollable modal-dialog-centered ${ef?"Popup-glassdesign":""} ${R} ${"large"===w?"vg-premium-large-popup":""}`,children:(0,l.jsxs)("div",{className:"vg-modal-content",ref:eP,children:[q&&""===er?(0,l.jsx)("div",{className:"popup-image",children:(0,l.jsx)("img",{src:q,alt:"Gift card",className:"popup-image"})}):(0,l.jsx)("div",{className:"popup-vimeovideo",children:eN&&(0,l.jsx)(eN,{Html:"",HtmlBackgroun
3d:"",VideoID:er})}),C&&(0,l.jsx)("div",{className:"vg-btn-close",onClick:ez,children:(0,l.jsx)("svg",{viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M12.3945 11.4805C12.7754 11.832 12.7754 12.4473 12.3945 12.7988C12.2188 12.9746 11.9844 13.0625 11.75 13.0625C11.4863 13.0625 11.252 12.9746 11.0762 12.7988L8 9.72266L4.89453 12.7988C4.71875 12.9746 4.48438 13.0625 4.25 13.0625C3.98633 13.0625 3.75195 12.9746 3.57617 12.7988C3.19531 12.4473 3.19531 11.832 3.57617 11.4805L6.65234 8.375L3.57617 5.29883C3.19531 4.94727 3.19531 4.33203 3.57617 3.98047C3.92773 3.59961 4.54297 3.59961 4.89453 3.98047L8 7.05664L11.0762 3.98047C11.4277 3.59961 12.043 3.59961 12.3945 3.98047C12.7754 4.33203 12.7754 4.94727 12.3945 5.29883L9.31836 8.4043L12.3945 11.4805Z"})})}),(0,l.jsxs)("div",{className:`vg-modal-body ${et||""}`,children:[Z&&(0,l.jsx)("div",{className:"vg-modal-header",children:e&&(0,l.jsx)("div",{className:"vg-modal-title",children:e})}),v&&(0,l.jsx)("div",{className:`popup-description ${K}`,children:"bullet"===K&&"string"==typeof v?(0,l.jsx)("ul",{children:v.split("\n").map((e,t)=>(0,l.jsx)("li",{children:e.trim()},t))}):"number"===K&&"string"==typeof v?(0,l.jsx)("ol",{children:v.split("\n").map((e,t)=>(0,l.jsx)("li",{children:e.trim()},t))}):"string"==typeof v?(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:v}}):(0,l.jsx)("div",{children:v})})]}),"none"!==F&&(0,l.jsxs)("div",{className:`vg-modal-footer ${Y?"full-width-buttons":"auto-width-buttons"}`,children:["primaryButton"===F||"both"===F?(0,l.jsx)(n.default,{ButtonVariant:z,ButtononClick:O,ButtonDisabled:el?.primary??!1,ButtonIcon:eu.primary,children:P}):null,"secondaryButton"===F||"both"===F?(0,l.jsx)(n.default,{ButtonVariant:H,ButtononClick:$,ButtonDisabled:el?.secondary??!1,ButtonIcon:eu.secondary,children:V}):null,"thirdButton"===F||"fourthButton"===F?(0,l.jsx)(n.default,{ButtonVariant:G,ButtononClick:D,ButtonDisabled:el?.third??!1,ButtonIcon:eu.third,children:I}):null,"fourthButton"===F?(0,l.jsx)(n.default,{ButtonVariant:M,ButtononClick:W,ButtonDisabled:el?.fourth??!1,ButtonIcon:eu.fourth,children:E}):null]})]})}),(0,l.jsx)("input",{type:"hidden",onClick:()=>ez(),id:"close-full-popup"})]})]});return(0,l.jsxs)(a.Fragment,{children:[ek&&(ey?(0,l.jsx)(r.A,{wrapperElementId:`Popup-${N}`,children:eY()}):eY()),(0,l.jsx)("input",{type:"hidden",onClick:()=>ez(),id:`close-${N}`})," "]})}},70900(e,t,o){o.r(t),o.d(t,{default:()=>d});var l=o(74848),a=o(96540),n=o(84955),i=o(53682),r=o(65195),s=o(67247);let d=(0,a.forwardRef)(({OnClose:e,Popupopen:t=!1,TutorialId:o="",VagaroToolkit:d=0,NativeAction:c=0,Footer:u=0,TimerCount:p=0,IsFullLength:m=!1,CloseBackTitle:h,AzureVideoJsonLinkUrl:g="",CurrentPathUrl:f="",HiddenPopupBodyScroll:v=!0,TutorialButton:y,OpenCloseCallbackAllow:C={OpenCallBackAllow:!0,CloseCallBackAllow:!0}},B)=>{let T=s.Wp.CheckIsFromProAppWithoutState(),[x,k]=(0,a.useState)(t),[b,w]=(0,a.useState)([]),[j,N]=(0,a.useState)(null),[F,P]=(0,a.useState)([]);(0,a.useEffect)(()=>{(async()=>{if(g)try{let e=await fetch(g);if(!e.ok)throw Error(`Failed to fetch video data: ${e.status}`);let t=await e.json();if(Array.isArray(t))P(t);else throw Error("Invalid data format received")}catch(e){}})()},[g]),(0,a.useEffect)(()=>{if(0===F.length)return;let e=null,t=("string"==typeof f&&f.trim()?f.trim():void 0)||window.location.pathname,o=F.find(e=>e.PageLink.split("?")[0].split("#")[0].toLowerCase()===t.replace(/\/v[23](\/|$)/i,"$1").toLowerCase());if(e=o?o.PageName.trim():"Access Levels"){w([e]);let t=F.filter(t=>t.PageName.trim()===e);if(t.length>0){let e=t[0];N({title:e.VideoTitle,VideoLink:e.VideoLink})}}},[F]),(0,a.useEffect)(()=>{k(t)},[t]);let V=Array.from(new Set(F.map(e=>e.PageName))).map(e=>({label:e,value:e})).sort((e,t)=>e.label.localeCompare(t.label)),I=e=>{var t;w(e?.selectedOptions?.map(e=>e.value)||[]),N(null),T&&((t={}).message="",t.messageType=0,t.screenTitle=h,t.screenType=0,t.navType=0,t.action="53|~|"+JSON.stringify({NativeAction:15,Footer:1,IsFullLength:m,callFromLocation:o,VagaroToolkit:d}),s.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(t)))},L=F.filter(e=>b.includes(e.PageName.trim())),S=()=>
3{if(k(!1),e&&e(),T&&C.CloseCallBackAllow){s.Wp.CallBackGivenToMobileApp(c,h,u,p,m);var t={};t.message="",t.messageType=0,t.screenTitle=h,t.screenType=0,t.navType=0,t.action="53|~|"+JSON.stringify({NativeAction:c,Footer:u,IsFullLength:m,callFromLocation:o,VagaroToolkit:d}),s.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(t))}};return(0,l.jsxs)(l.Fragment,{children:[t?"":y?(0,l.jsx)("span",{onClick:()=>k(!0),onTouchEnd:e=>{e.preventDefault(),k(!0)},children:y}):(0,l.jsx)(r.default,{ButtonVariant:"tutorial",ButtononClick:()=>{k(!0)},ButtononHover:()=>{},DropdownClick:()=>{},children:"Tutorial"}),(0,l.jsx)(n.default,{BodyClass:"",ButtonSecondary:"Close",CloseBackTitle:"From Control",CloseButton:!0,DoNotSetTitle:!0,Footer:2,FooterButton:"secondaryButton",FooterLeftBody:()=>{},MobileView:!0,OnClickSecondary:S,PopupBody:()=>(0,l.jsxs)("div",{className:"VgTutorialPopup_body",children:[(0,l.jsxs)("div",{className:"VgTutorialPopup_dropdown_content",children:[(0,l.jsx)("div",{className:"VgTutorialPopup_dropdown",children:(0,l.jsx)(i.default,{AddOptionButtonText:"",DropdownData:V,AutoFocus:!0,CallBackTimeCount:0,ClassNamePrefix:"vg-select2-dropdown",CloseCallback:()=>{},CustomClassNamePrefix:"custom-class",DefaultValue:(b&&b.length>0?b:["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:I})}),(0,l.jsx)("ul",{children:L.map((e,t)=>(0,l.jsxs)("li",{className:j?.title===e.VideoTitle?"vg_selected":"",onClick:()=>N({VideoLink:e.VideoLink,title:e.VideoTitle}),children:[(0,l.jsx)("i",{className:"fa-sharp fa-regular fa-circle-play VgTutorialPopup_play_icon"})," ",e.VideoTitle]},t))})]}),(0,l.jsx)("div",{className:"VgTutorialPopup_video",children:j?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("iframe",{width:"100%",height:"100%",src:j.VideoLink,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:j.title})}):L[0]&&(0,l.jsx)("iframe",{width:"100%",height:"100%",src:L[0].VideoLink,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:L[0].VideoTitle})})]}),PopupId:"PopupId",PopupTitle:"Tutorial Video",PopupType:"default",Popupopen:x,SecondaryButtonVariant:"secondary",Size:"full-body-popup",ThirdButtonVariant:"primary",TimerCount:0,VagaroToolkit:1,customClassName:"VgTutorialPopup-wrapper",onClose:S,HiddenBodyScroll:v,OpenCloseCallbackAllow:C})]})})}}]);

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.