PageSourceSearch

https://www.baileigh.com/56.d2d6c3b9101fd86ae1e5.js

js baileigh.com collected 2026-09-25 14:15:11 UTC 15,203 bytes, 87 lines download raw bytes

1/*! @version pwa-studio: 0.0.1, @magento/venia-ui: ^11.5.0, @magento/venia-sample-payments-checkmo: ^0.0.15, @magento/upward-security-headers: ~1.0.14, @magento/pwa-theme-venia: ~2.4.0, @magento/pwa-buildpack: ^11.5.3, @magento/peregrine: 14.5.1, @magento/pagebuilder: ~9.3.2, @magento/eslint-config: ~1.5.0, @magento/babel-preset-peregrine: ~1.3.3, @apollo/client: ~3.5.0 */
2(window.webpackJsonp=window.webpackJsonp||[]).push([[56],{MsnC:function(e,r,t){"use strict"
3t.d(r,"a",function(){return w})
4var n,a=t("lSNA"),s=t.n(a),c=t("yXPU"),u=t.n(c),l=t("J4zp"),d=t.n(l),p=t("q1tI"),g=t("+TN3"),b=t("y1Xp"),y=t("VkAN"),v=t.n(y),m=t("UYTu"),h={getReCaptchaV3ConfigQuery:Object(m.a)(n||(n=v()(["\n    query GetReCaptchaV3Config {\n        recaptchaV3Config {\n            website_key\n            badge_position\n            language_code\n            forms\n        }\n    }\n"])))}
5function _regenerator(){var e,r,t="function"==typeof Symbol?Symbol:{},n=t.iterator||"@@iterator",o=t.toStringTag||"@@toStringTag"
6function i(t,n,o,i){var s=n&&n.prototype instanceof Generator?n:Generator,c=Object.create(s.prototype)
7return _regeneratorDefine2(c,"_invoke",function(t,n,o){var i,s,c,u=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(r,t){return i=r,s=0,c=e,p.n=t,a}}
8function d(t,n){for(s=t,c=n,r=0;!f&&u&&!o&&r<l.length;r++){var o,i=l[r],d=p.p,g=i[2]
9t>3?(o=g===n)&&(s=i[4]||3,c=i[5]===e?i[3]:i[5],i[4]=3,i[5]=e):i[0]<=d&&((o=t<2&&d<i[1])?(s=0,p.v=n,p.n=i[1]):d<g&&(o=t<3||i[0]>n||n>g)&&(i[4]=t,i[5]=n,p.n=g,s=0))}if(o||t>1)return a
10throw f=!0,n}return function(o,l,g){if(u>1)throw TypeError("Generator is already running")
11for(f&&1===l&&d(l,g),s=l,c=g;(r=s<2?e:c)||!f;){i||(s?s<3?(s>1&&(p.n=-1),d(s,c)):p.n=c:p.v=c)
12try{if(u=2,i){if(s||(o="next"),r=i[o]){if(!(r=r.call(i,c)))throw TypeError("iterator result is not an object")
13if(!r.done)return r
14c=r.value,s<2&&(s=0)}else 1===s&&(r=i.return)&&r.call(i),s<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),s=1)
15i=e}else if((r=(f=p.n<0)?c:t.call(n,p))!==a)break}catch(r){i=e,s=1,c=r}finally{u=1}}return{value:r,done:f}}}(t,o,i),!0),c}var a={}
16function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}r=Object.getPrototypeOf
17var s=[][n]?r(r([][n]())):(_regeneratorDefine2(r={},n,function(){return this}),r),c=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(s)
18function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(c),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(c,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(c),_regeneratorDefine2(c,o,"Generator"),_regeneratorDefine2(c,n,function(){return this}),_regeneratorDefine2(c,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(e,r,t,n){var o=Object.defineProperty
19try{o({},"",{})}catch(e){o=0}(_regeneratorDefine2=function _regeneratorDefine(e,r,t,n){if(r)o?o(e,r,{value:t,enumerable:!n,configurable:!n,writable:!n}):e[r]=t
20else{var a=function o(r,t){_regeneratorDefine2(e,r,function(e){return this._invoke(r,t,e)})}
21a("next",0),a("throw",1),a("return",2)}})(e,r,t,n)}var w=function useGoogleReCaptcha(e){var r,t,n,o,a=Object(b.a)(h,e.operations),i=e.currentForm,c=e.formAction,l=Object(g.a)(a.getReCaptchaV3ConfigQuery,{fetchPolicy:"cache-and-network"}),f=l.data,y=l.error,v=l.loading
22globalThis.recaptchaCallbacks||(globalThis.recaptchaCallbacks={})
23var m=Object(p.useState)(globalThis.hasOwnProperty("grecaptcha")),w=d()(m,2),P=w[0],k=w[1],O=Object(p.useState)(!1),_=d()(O,2),j=_[0],G=_[1],S=Object(p.useState)(null),T=d()(S,2),C=T[0],D=T[1],F=Object(p.useState)(null),N=d()(F,2),E=N[0],R=N[1],x=Object(p.useCallback)(function(e){null!==e&&R(e)},[]),V=null!=f&&null!==(r=f.recaptchaV3Config)&&void 0!==r&&r.badge_position&&f.recaptchaV3Config.badge_position.length>0?f.recaptchaV3Config.badge_position:"bottomright",A=null==f?void 0:null===(t=f.re
23captchaV3Config)||void 0===t?void 0:t.website_key,L=null==f?void 0:null===(n=f.recaptchaV3Config)||void 0===n?void 0:n.language_code,M=(null==f?void 0:null===(o=f.recaptchaV3Config)||void 0===o?void 0:o.forms)||[],q=!(y instanceof Error)&&A&&A.length>0&&M.includes(i),J="inline"===V,U=new URL("https://www.google.com/recaptcha/api.js")
24U.searchParams.append("badge",V),U.searchParams.append("render",J?"explicit":A),U.searchParams.append("onload","onloadRecaptchaCallback"),L&&L.length>0&&U.searchParams.append("hl",L)
25var I=function useScript(e){var r=Object(p.useState)(e?"loading":"idle"),t=d()(r,2),n=t[0],o=t[1]
26return Object(p.useEffect)(function(){if(e){var r=document.querySelector('script[src="'.concat(e,'"]'))
27if(r)o(r.getAttribute("data-status"))
28else{(r=document.createElement("script")).src=e,r.async=!0,r.setAttribute("data-status","loading"),document.body.appendChild(r)
29var t=function setAttributeFromEvent(e){r.setAttribute("data-status","load"===e.type?"ready":"error")}
30r.addEventListener("load",t),r.addEventListener("error",t)}var n=function setStateFromEvent(e){o("load"===e.type?"ready":"error")}
31return r.addEventListener("load",n),r.addEventListener("error",n),function(){r&&(r.removeEventListener("load",n),r.removeEventListener("error",n))}}o("idle")},[e]),n}(!P&&q?U:null),X=v||q&&!P&&"ready"!==I
32return Object(p.useEffect)(function(){if(null!==E&&J&&P&&null===C)if("widgetId"in E.dataset)D(E.dataset.widgetId)
33else{var e=globalThis.grecaptcha.render(E,{sitekey:A,size:"invisible"})
34D(e),E.dataset.widgetId=e}},[P,J,A,C,E]),!globalThis.recaptchaCallbacks[c]&&q&&(globalThis.recaptchaCallbacks[c]=function(){if(!J){var e=document.getElementsByClassName("grecaptcha-badge")
35e&&e.length>0&&(e[0].style.zIndex=999)}k(!0)}),globalThis.onloadRecaptchaCallback=Object(p.useCallback)(function(){for(var e in globalThis.recaptchaCallbacks)globalThis.recaptchaCallbacks[e]()
36globalThis.recaptchaCallbacks={}},[]),{recaptchaLoading:j||X,generateReCaptchaData:Object(p.useCallback)(u()(_regenerator().m(function _callee(){var e,r
37return _regenerator().w(function(t){for(;;)switch(t.n){case 0:if(!P){t.n=4
38break}return t.p=1,G(!0),t.n=2,globalThis.grecaptcha.execute(J?C:A,{action:c})
39case 2:return e=t.v,r={context:{headers:s()({},"X-ReCaptcha",e)}},G(!1),t.a(2,r)
40case 3:t.p=3,t.v,G(!1)
41case 4:return t.a(2,{})}},_callee,null,[[1,3]])})),[P,c,J,A,C]),recaptchaWidgetProps:{containerElement:x,shouldRender:!!(q&&J&&P)}}}},NFUw:function(e,r,t){"use strict"
42var n=t("JPst"),o=t.n(n),a=t("sARL"),i=o()(function(e){return e[1]})
43i.i(a.a,"",!0),i.push([e.i,".resetPassword-root-Rdg {\n    grid-template-columns: minmax(auto, 512px);\n}\n\n.resetPassword-header-nXn {\n}\n\n.resetPassword-form-S8J {\n}\n\n.resetPassword-description-fS4 {\n}\n\n.resetPassword-buttonContainer-bAN {\n}\n\n.resetPassword-submitButton-env {\n}\n\n.resetPassword-invalidToken-nR0,\n.resetPassword-successMessage-tQH {\n}\n\n.resetPassword-invalidToken-nR0 {\n}\n\n.resetPassword-contentContainer-st0 {\n}\n",""]),i.locals={root:"resetPassword-root-Rdg gap-y-md grid justify-center px-0 py-[2.5rem] text-center",header:"resetPassword-header-nXn font-serif",form:"resetPassword-form-S8J gap-xs grid justify-items-stretch px-sm py-xs lg_mb-md",description:"resetPassword-description-fS4 font-light leading-5",buttonContainer:"resetPassword-buttonContainer-bAN mt-xs",submitButton:"resetPassword-submitButton-env "+a.a.locals.root_highPriority+" justify-self-center",invalidToken:"resetPassword-invalidToken-nR0 p-sm text-center text-error",successMessage:"resetPassword-successMessage-tQH p-sm text-center",contentContainer:"resetPassword-contentContainer-st0 lg_border-2 lg_border-solid lg_border-subtle lg_rounded-box"},r.a=i},aWSu:function(e,r,t){"use strict"
44var n=t("JPst"),o=t.n(n)()(function(e){return e[1]})
45o.push([e.i,"",""]),o.locals={},r.a=o},ccoK:function(e,r,t){"use strict"
46r.a={queries:{},mutations:{resetPasswordMutation:{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"resetPassword"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"email"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}
46,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"token"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"newPassword"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resetPassword"},arguments:[{kind:"Argument",name:{kind:"Name",value:"email"},value:{kind:"Variable",name:{kind:"Name",value:"email"}}},{kind:"Argument",name:{kind:"Name",value:"resetPasswordToken"},value:{kind:"Variable",name:{kind:"Name",value:"token"}}},{kind:"Argument",name:{kind:"Name",value:"newPassword"},value:{kind:"Variable",name:{kind:"Name",value:"newPassword"}}}],directives:[]}]}}],loc:{start:0,end:257,source:{body:"\n    mutation resetPassword(\n        $email: String!\n        $token: String!\n        $newPassword: String!\n    ) {\n        resetPassword(\n            email: $email\n            resetPasswordToken: $token\n            newPassword: $newPassword\n        )\n    }\n",name:"GraphQL request",locationOffset:{line:1,column:1}}}}}}},dTQg:function(e,r,t){"use strict"
47var n=t("q1tI"),o=t.n(n),a=t("17x9"),i=t("GO8B"),s=t("nGES"),c=t("y1Xp"),u=t("4KNS"),l=t("LboF"),d=t.n(l),f=t("aWSu"),p={injectType:"singletonStyleTag",insert:"head",singleton:!0},g=(d()(f.a,p),f.a.locals||{}),b=function FormError(e){var r=e.classes,t=e.errors,a=e.scrollOnError,l=e.allowErrorMessages,d=Object(i.a)({errors:t,allowErrorMessages:l}).errorMessage,f=Object(n.useRef)(null)
48Object(s.a)(f,a&&d)
49var p=Object(c.a)(g,r)
50return d?o.a.createElement(u.a,{classes:p,ref:f},d):null}
51r.a=b
52b.propTypes={classes:Object(a.shape)({root:a.string,errorMessage:a.string}),errors:Object(a.arrayOf)(Object(a.instanceOf)(Error)),scrollOnError:a.bool,allowErrorMessages:a.bool},b.defaultProps={scrollOnError:!0}},pGSu:function(e,r,t){"use strict"
53t.d(r,"a",function(){return y})
54var n=t("lSNA"),a=t.n(n),s=t("yXPU"),c=t.n(s),u=t("J4zp"),l=t.n(u),d=t("q1tI"),p=t("Ty5D"),g=t("pZLH"),b=t("MsnC")
55function _regenerator(){var e,r,t="function"==typeof Symbol?Symbol:{},n=t.iterator||"@@iterator",o=t.toStringTag||"@@toStringTag"
56function i(t,n,o,i){var s=n&&n.prototype instanceof Generator?n:Generator,c=Object.create(s.prototype)
57return _regeneratorDefine2(c,"_invoke",function(t,n,o){var i,s,c,u=0,l=o||[],f=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(r,t){return i=r,s=0,c=e,p.n=t,a}}
58function d(t,n){for(s=t,c=n,r=0;!f&&u&&!o&&r<l.length;r++){var o,i=l[r],d=p.p,g=i[2]
59t>3?(o=g===n)&&(s=i[4]||3,c=i[5]===e?i[3]:i[5],i[4]=3,i[5]=e):i[0]<=d&&((o=t<2&&d<i[1])?(s=0,p.v=n,p.n=i[1]):d<g&&(o=t<3||i[0]>n||n>g)&&(i[4]=t,i[5]=n,p.n=g,s=0))}if(o||t>1)return a
60throw f=!0,n}return function(o,l,g){if(u>1)throw TypeError("Generator is already running")
61for(f&&1===l&&d(l,g),s=l,c=g;(r=s<2?e:c)||!f;){i||(s?s<3?(s>1&&(p.n=-1),d(s,c)):p.n=c:p.v=c)
62try{if(u=2,i){if(s||(o="next"),r=i[o]){if(!(r=r.call(i,c)))throw TypeError("iterator result is not an object")
63if(!r.done)return r
64c=r.value,s<2&&(s=0)}else 1===s&&(r=i.return)&&r.call(i),s<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),s=1)
65i=e}else if((r=(f=p.n<0)?c:t.call(n,p))!==a)break}catch(r){i=e,s=1,c=r}finally{u=1}}return{value:r,done:f}}}(t,o,i),!0),c}var a={}
66function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}r=Object.getPrototypeOf
67var s=[][n]?r(r([][n]())):(_regeneratorDefine2(r={},n,function(){return this}),r),c=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(s)
68function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(c),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(c,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(c),_regeneratorDefine2(c,o,"Generator"),_regeneratorDefine2(c,n,function(){return this}),_regeneratorDefine2(c,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(e,r,t,n){var o=Object.defineProperty
69try{o({},"",{})}catch(e){o=0}(_regeneratorDefine2=function _regeneratorDefine(e,r,t,n){if(r)o?o(e,r,{value:t,enumerable:!n,configurable:!n,writable:!n}):e[r]=t
70else{var a=function o(r,t){_regeneratorDefine2(e,r,function(e){return this._invoke(r,t,e)})}
71a("next",0),a("throw",1),a("return",2)}})(e,r,t,n)}function ownKeys(e,r){var t=Object.keys(e)
72if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e)
73r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{}
74r%2?ownKeys(Object(t),!0).forEach(function(r){a()(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}var y=function useResetPassword(e){var r=e.mutations,t=Object(d.useState)(!1),n=l()(t,2),o=n[0],a=n[1],i=Object(p.useLocation)(),s=Object(g.a)(r.resetPasswordMutation),u=l()(s,2),f=u[0],y=u[1],v=y.error,m=y.loading,h=Object(b.a)({currentForm:"CUSTOMER_FORGOT_PASSWORD",formAction:"resetPassword"}),w=h.recaptchaLoading,P=h.generateReCaptchaData,k=h.recaptchaWidgetProps,O=Object(d.useMemo)(function(){return new URLSearchParams(i.search)},[i]).get("token")
75return{formErrors:[v],handleSubmit:Object(d.useCallback)(function(){var e=c()(_regenerator().m(function _callee(e){var r,t,n
76return _regenerator().w(function(o){for(;;)switch(o.n){case 0:if(r=e.email,t=e.newPassword,o.p=1,!(r&&O&&t)){o.n=4
77break}return o.n=2,P()
78case 2:return n=o.v,o.n=3,f(_objectSpread({variables:{email:r,token:O,newPassword:t}},n))
79case 3:a(!0)
80case 4:o.n=6
81break
82case 5:o.p=5,o.v,a(!1)
83case 6:return o.a(2)}},_callee,null,[[1,5]])}))
84return function(r){return e.apply(this,arguments)}}(),[P,f,O]),hasCompleted:o,loading:m||w,token:O,recaptchaWidgetProps:k}}},qr4C:function(e,r,t){"use strict"
85var n=t("LboF"),o=t.n(n),a=t("NFUw"),i={injectType:"singletonStyleTag",insert:"head",singleton:!0}
86o()(a.a,i)
87r.a=a.a.locals||{}}}])

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.