PageSourceSearch

https://www.waverlypalacetheatre.com/_next/static/chunks/1973-b92b101feb56ae8d.js

js waverlypalacetheatre.com collected 2026-09-30 13:44:23 UTC 13,188 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1973],{44800:function(t,e,r){r.d(e,{mP:function(){return f},pm:function(){return p},xX:function(){return d}});var n,o=r(2265),i=r(40257),s=function(){return(s=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},a=function(t){var e;t?function(t){if(t)for(;t.lastChild;)t.lastChild.remove()}("string"==typeof t?document.getElementById(t):t):(e=document.querySelector(".grecaptcha-badge"))&&e.parentNode&&document.body.removeChild(e.parentNode)},u=function(t,e){a(e),window.___grecaptcha_cfg=void 0;var r,n=document.querySelector("#"+t);n&&n.remove(),(r=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))&&r.remove()},c=function(t){var e=t.render,r=t.onLoadCallbackName,n=t.language,o=t.onLoad,i=t.useRecaptchaNet,s=t.useEnterprise,a=t.scriptProps,u=void 0===a?{}:a,c=u.nonce,l=void 0===c?"":c,h=u.defer,p=u.async,d=u.id,f=u.appendTo,m=(void 0===d?"":d)||"google-recaptcha-v3";if(document.querySelector("#"+m))o();else{var y,v="https://www."+((y={useEnterprise:s,useRecaptchaNet:i}).useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(y.useEnterprise?"enterprise.js":"api.js"),b=document.createElement("script");b.id=m,b.src=v+"?render="+e+("explicit"===e?"&onload="+r:"")+(n?"&hl="+n:""),l&&(b.nonce=l),b.defer=!!(void 0!==h&&h),b.async=!!(void 0!==p&&p),b.onload=o,("body"===f?document.body:document.getElementsByTagName("head")[0]).appendChild(b)}},l=function(t){void 0===i||i.env,console.warn(t)};(n||(n={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var h=(0,o.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});function p(t){var e=t.reCaptchaKey,r=t.useEnterprise,i=void 0!==r&&r,a=t.useRecaptchaNet,p=void 0!==a&&a,d=t.scriptProps,f=t.language,m=t.container,y=t.children,v=(0,o.useState)(null),b=v[0],g=v[1],C=(0,o.useRef)(e),w=JSON.stringify(d),S=JSON.stringify(null==m?void 0:m.parameters);(0,o.useEffect)(function(){if(e){var t=(null==d?void 0:d.id)||"google-recaptcha-v3",r=(null==d?void 0:d.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[r]=function(){var t=i?window.grecaptcha.enterprise:window.grecaptcha,r=s({badge:"inline",size:"invisible",sitekey:e},(null==m?void 0:m.parameters)||{});C.current=t.render(null==m?void 0:m.element,r)},c({render:(null==m?void 0:m.element)?"explicit":e,onLoadCallbackName:r,useEnterprise:i,useRecaptchaNet:p,scriptProps:d,language:f,onLoad:function(){if(window&&window.grecaptcha){var t=i?window.grecaptcha.enterprise:window.grecaptcha;t.ready(function(){g(t)})}else l("<GoogleRecaptchaProvider /> "+n.SCRIPT_NOT_AVAILABLE)},onError:function(){l("Error loading google recaptcha script")}}),function(){u(t,null==m?void 0:m.element)}}l("<GoogleReCaptchaProvider /> recaptcha key not provided")},[i,p,w,S,f,e,null==m?void 0:m.element]);var x=(0,o.useCallback)(function(t){if(!b||!b.execute)throw Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return b.execute(C.current,{action:t})},[b,C]),R=(0,o.useMemo)(function(){return{executeRecaptcha:b?x:void 0,container:null==m?void 0:m.element}},[x,b,null==m?void 0:m.element]);return o.createElement(h.Provider,{value:R},y)}h.Consumer;var d=function(){return(0,o.useContext)(h)};function f(t){var e=this,r=t.action,n=t.onVerify,i=t.refreshReCaptcha,s=d();(0,o.useEffect)(function(){var t,o,i,a=s.executeRecaptcha;a&&(t=void 0,o=void 0,i=function(){var t;return function(t,e){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],n=0}
1finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}(this,function(e){switch(e.label){case 0:return[4,a(r)];case 1:return t=e.sent(),n?n(t):l("Please define an onVerify function"),[2]}})},new(o||(o=Promise))(function(r,n){function s(t){try{u(i.next(t))}catch(t){n(t)}}function a(t){try{u(i.throw(t))}catch(t){n(t)}}function u(t){var e;t.done?r(t.value):((e=t.value)instanceof o?e:new o(function(t){t(e)})).then(s,a)}u((i=i.apply(e,t||[])).next())}))},[r,n,i,s]);var a=s.container;return"string"==typeof a?o.createElement("div",{id:a}):null}function m(t,e){return t(e={exports:{}},e.exports),e.exports}var y="function"==typeof Symbol&&Symbol.for,v=y?Symbol.for("react.element"):60103,b=y?Symbol.for("react.portal"):60106,g=y?Symbol.for("react.fragment"):60107,C=y?Symbol.for("react.strict_mode"):60108,w=y?Symbol.for("react.profiler"):60114,S=y?Symbol.for("react.provider"):60109,x=y?Symbol.for("react.context"):60110,R=y?Symbol.for("react.async_mode"):60111,M=y?Symbol.for("react.concurrent_mode"):60111,P=y?Symbol.for("react.forward_ref"):60112,E=y?Symbol.for("react.suspense"):60113,O=y?Symbol.for("react.suspense_list"):60120,$=y?Symbol.for("react.memo"):60115,k=y?Symbol.for("react.lazy"):60116,N=y?Symbol.for("react.block"):60121,L=y?Symbol.for("react.fundamental"):60117,_=y?Symbol.for("react.responder"):60118,A=y?Symbol.for("react.scope"):60119;function F(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case v:switch(t=t.type){case R:case M:case g:case w:case C:case E:return t;default:switch(t=t&&t.$$typeof){case x:case P:case k:case $:case S:return t;default:return e}}case b:return e}}}function T(t){return F(t)===M}var G={AsyncMode:R,ConcurrentMode:M,ContextConsumer:x,ContextProvider:S,Element:v,ForwardRef:P,Fragment:g,Lazy:k,Memo:$,Portal:b,Profiler:w,StrictMode:C,Suspense:E,isAsyncMode:function(t){return T(t)||F(t)===R},isConcurrentMode:T,isContextConsumer:function(t){return F(t)===x},isContextProvider:function(t){return F(t)===S},isElement:function(t){return"object"==typeof t&&null!==t&&t.$$typeof===v},isForwardRef:function(t){return F(t)===P},isFragment:function(t){return F(t)===g},isLazy:function(t){return F(t)===k},isMemo:function(t){return F(t)===$},isPortal:function(t){return F(t)===b},isProfiler:function(t){return F(t)===w},isStrictMode:function(t){return F(t)===C},isSuspense:function(t){return F(t)===E},isValidElementType:function(t){return"string"==typeof t||"function"==typeof t||t===g||t===M||t===w||t===C||t===E||t===O||"object"==typeof t&&null!==t&&(t.$$typeof===k||t.$$typeof===$||t.$$typeof===S||t.$$typeof===x||t.$$typeof===P||t.$$typeof===L||t.$$typeof===_||t.$$typeof===A||t.$$typeof===N)},typeOf:F},V=m(function(t,e){}),j=(V.AsyncMode,V.ConcurrentMode,V.ContextConsumer,V.ContextProvider,V.Element,V.ForwardRef,V.Fragment,V.Lazy,V.Memo,V.Portal,V.Profiler,V.StrictMode,V.Suspense,V.isAsyncMode,V.isConcurrentMode,V.isContextConsumer,V.isContextProvider,V.isElement,V.isForwardRef,V.isFragment,V.isLazy,V.isMemo,V.isPortal,V.isProfiler,V.isStrictMode,V.isSuspense,V.isValidElementType,V.typeOf,m(function(t){t.exports=G})),I={};I[j.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},I[j.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0}},2894:function(t,e,r){r.d(e,{R:function(){return a},m:function(){return s}});var n=r(18238),o=r(7989),i=r(11255),s=class extends o.F{#t;#e;#r;constructor(t){super(),this.mutationId=t.mutationId,this.#e=t.mutationCache,this.#t=[],this.state=t.state||a(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#e.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(e=>e!==t),this.scheduleGc(),this.#e.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||("pending"===this.state.status?this.scheduleGc():this.#e.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(t){this.#r=(0,i.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#n({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#n({type:"pause"})},onContinue:()=>{this.#n({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#e.canRun(this)});let e="pending"===this.state.status,r=!this.#r.canStart();try{if(!e){this.#n({type:"pending",variables:t,isPaused:r}),await this.#e.config.onMutate?.(t,this);let e=await this.options.onMutate?.(t);e!==this.state.context&&this.#n({type:"pending",context:e,variables:t,isPaused:r})}let n=await this.#r.start();return await this.#e.config.onSuccess?.(n,t,this.state.context,this),await this.options.onSuccess?.(n,t,this.state.context),await this.#e.config.onSettled?.(n,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(n,null,t,this.state.context),this.#n({type:"success",data:n}),n}catch(e){try{throw await this.#e.config.onError?.(e,t,this.state.context,this),await this.options.onError?.(e,t,this.state.context),await this.#e.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,e,t,this.state.context),e}finally{this.#n({type:"error",error:e})}}finally{this.#e.runNext(this)}}#n(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};
1case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),n.V.batch(()=>{this.#t.forEach(e=>{e.onMutationUpdate(t)}),this.#e.notify({mutation:this,type:"updated",action:t})})}};function a(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},21770:function(t,e,r){r.d(e,{D:function(){return h}});var n=r(2265),o=r(2894),i=r(18238),s=r(4996),a=r(45345),u=class extends s.l{#o;#i=void 0;#s;#a;constructor(t,e){super(),this.#o=t,this.setOptions(e),this.bindMethods(),this.#u()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#o.defaultMutationOptions(t),(0,a.VS)(this.options,e)||this.#o.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#s,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,a.Ym)(e.mutationKey)!==(0,a.Ym)(this.options.mutationKey)?this.reset():this.#s?.state.status==="pending"&&this.#s.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#s?.removeObserver(this)}onMutationUpdate(t){this.#u(),this.#c(t)}getCurrentResult(){return this.#i}reset(){this.#s?.removeObserver(this),this.#s=void 0,this.#u(),this.#c()}mutate(t,e){return this.#a=e,this.#s?.removeObserver(this),this.#s=this.#o.getMutationCache().build(this.#o,this.options),this.#s.addObserver(this),this.#s.execute(t)}#u(){let t=this.#s?.state??(0,o.R)();this.#i={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#c(t){i.V.batch(()=>{if(this.#a&&this.hasListeners()){let e=this.#i.variables,r=this.#i.context;t?.type==="success"?(this.#a.onSuccess?.(t.data,e,r),this.#a.onSettled?.(t.data,null,e,r)):t?.type==="error"&&(this.#a.onError?.(t.error,e,r),this.#a.onSettled?.(void 0,t.error,e,r))}this.listeners.forEach(t=>{t(this.#i)})})}},c=r(29827),l=r(51172);function h(t,e){let r=(0,c.NL)(e),[o]=n.useState(()=>new u(r,t));n.useEffect(()=>{o.setOptions(t)},[o,t]);let s=n.useSyncExternalStore(n.useCallback(t=>o.subscribe(i.V.batchCalls(t)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),a=n.useCallback((t,e)=>{o.mutate(t,e).catch(l.Z)},[o]);if(s.error&&(0,l.L)(o.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:a,mutateAsync:s.mutate}}}}]);

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.