PageSourceSearch

https://community.thehyvehamptons.com/packs/js/13675-1a600c229b8c5075.js

js thehyvehamptons.com collected 2026-10-08 01:45:01 UTC 15,064 bytes, 2 lines download raw bytes

1"use strict";(self.rspackChunkcircle=self.rspackChunkcircle||[]).push([[13675],{334082(e,r,t){var n=t(417980),o=t(528151),i=t(489840);function a(e,r,t){return(a=y()?Reflect.construct:function(e,r,t){var n=[null];n.push.apply(n,r);var o=new(Function.bind.apply(e,n));return t&&p(o,t.prototype),o}).apply(null,arguments)}function c(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,r){return null!=r&&"u">typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](e):e instanceof r}function p(e,r){return(p=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e})(e,r)}function f(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function d(e){var r="function"==typeof Map?new Map:void 0;return(d=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return a(e,arguments,u(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),p(t,e)})(e)}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(y=function(){return!!e})()}var m=function(e){return!!(e&&(void 0===e?"undefined":f(e))==="object"&&"type"in e&&"string"==typeof e.type)},_=function(e){return!!(e&&(void 0===e?"undefined":f(e))==="object"&&"error_details"in e&&e.error_details)},b=function(e){return!!(e&&(void 0===e?"undefined":f(e))==="object"&&"failure"in e&&"object"===f(e.failure)&&(0,i.vx)(e))},v="paywallError",h="unknownError",w=function(e){var r,t;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function i(e,r){var t,n,o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{type:h},c=a.type,s=a.cause,p=a.context,d=a.shouldAllowToResubmit;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return t=i,n=[r,{cause:s}],t=u(t),l(o=function(e,r){if(r&&("object"===f(r)||"function"==typeof r))return r;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,y()?Reflect.construct(t,n||[],u(this).constructor):t.apply(this,n)),"caller",void 0),l(o,"type",void 0),l(o,"context",void 0),l(o,"shouldAllowToResubmit",void 0),o.caller=e,o.context=p,o.shouldAllowToResubmit=null==d||d,o.type=c,o}return i.prototype=Object.create(e&&e.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),e&&p(i,e),r=[{key:"getExtra",value:function(){if(this.isStripeError())return{checkout_error_type:this.t
1ype,stripe_error_type:this.context.type,stripe_error_code:this.context.code,stripe_error_decline_code:this.context.decline_code};if(this.isNewPaywallError()){var e;return{checkout_error_type:this.type,paywall_failure_category:this.context.failure.category,paywall_failure_code:this.context.failure.code,paywall_failure_level:this.context.failure.level,paywall_failure_provider_code:null==(e=this.context.failure.metadata)?void 0:e.code}}return this.isLegacyPaywallError()?{checkout_error_type:this.type,legacy_paywall_error_details:this.context.error_details}:{checkout_error_type:this.type}}},{key:"isStripeError",value:function(){return m(this.context)}},{key:"isLegacyPaywallError",value:function(){return _(this.context)}},{key:"isNewPaywallError",value:function(){return b(this.context)}}],t=[{key:"generic",value:function(e){return new i(e,(0,n.t)("services.paywalls.failures.internal.generic"))}},{key:"stripeNotInitialized",value:function(e){return new i(e,(0,n.t)("services.paywalls.failures.stripe.not_initialized"))}},{key:"fromStripeError",value:function(e,r){var t=r.message;return t||(t=(0,n.t)("services.paywalls.failures.internal.generic")),new i(e,t,{context:r,type:"stripeError"})}},{key:"fromPaywallError",value:function(e,r){return b(r)?new i(e,r.failure.message,{context:r,type:v}):new i(e,r.message,{context:r,type:v})}},{key:"fromApiError",value:function(e,r){return _(r.body)||b(r.body)?i.fromPaywallError(e,r.body):new i(e,r.message,{cause:r,type:"apiError"})}},{key:"fromUnknownError",value:function(e,r){return s(r,i)?r:s(r,o.h)?i.fromApiError(e,r):m(r)?i.fromStripeError(e,r):b(r)||_(r)?i.fromPaywallError(e,r):s(r,Error)?new i(e,r.message,{cause:r,type:h}):i.generic(e)}}],r&&c(i.prototype,r),t&&c(i,t),i}(d(Error));t.d(r,{v:()=>w})},850986(e,r,t){var n=t(391426),o=t(568316),i=function(e){var r=e.description;return(0,n.jsx)(o.o.BodySm,{color:"text-default",children:(0,n.jsx)("span",{className:"whitespace-pre-wrap","data-testid":"paywall-description",children:r})})};t.d(r,{h:()=>i})},682711(e,r,t){var n=t(391426),o=t(568316),i=t(570310),a=t(933578),c=t(417980);function l(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var u=function(e){var r,t=e.description,u=e.className,s=e.shouldShowMoreInitialState,p=e.maximumLength,f=function(e){if(Array.isArray(e))return e}(r=(0,a.useState)(void 0!==s&&s))||function(e){var r,t,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,a=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),2!==o.length);i=!0);}catch(e){a=!0,t=e}finally{try{i||null==n.return||n.return()}finally{if(a)throw t}}return o}}(r)||function(e){if(e){if("string"==typeof e)return l(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,2)}}(r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),d=f[0],y=f[1],m=function(){y(!d)};return(0,n.jsx)("div",{className:(0,i.x)(u),children:(0,n.jsx)(o.o.BodySm,{color:"text-default",children:d?(0,n.jsxs)("span",{className:"flex flex-col gap-y-1 whitespace-pre-wrap","data-testid":"paywall-description",children:[t,(0,n.jsx)("button",{type:"button",className:"text-left underline",onClick:m,children:(0,c.t)("show_less")})]}):(0,n.jsxs)("span",{className:"whitespace-pre-wrap","data-testid":"paywall-description",children:["".concat(t.substring(0,void 0===p?160:p),"... "),(0,n.jsx)("button",{type:"button",className:"underline",onClick:m,children:(0,c.t)("show_more")})]})})})};t.d(r,{W:()=>u})},795877(e,r,t){var n=t(358954),o=t(697890),i=function(e){return"string"==typeof e?e:"unknown"},a=function(e){var r=e.extra,t=r.checkout_error_type;if("paywallError"===t&&void 0!==r.paywall_failure_category&&void 0!==r.paywall_failure_code){var n=i(r.paywall_failure_category),o=i(r.paywall_failure_code);return"paywallError:".concat(n,":").concat(o)}if("stripeError"===t){var a=i(r.stripe_error_type),c=i(r.stripe_error_code);return"stripeError:".concat(a,":").concat(c)}},c=function(e){var r=e.extra;if("stripeError"!==r.checkout_error_type)return!1;var t=r.stripe_error_type;if("card_error"===t)return!0;
1if("validation_error"===t){var n=r.stripe_error_code;return"incomplete"===n||"invalid_payment_view.update"===n||"invalid_address_view.update"===n}if("api_connection_error"===t)return!0;if("invalid_request_error"===t){var o=r.stripe_error_code;return"payment_intent_authentication_failure"===o||"setup_intent_authentication_failure"===o||"lock_timeout"===o}return!1},l=new Set(["authentication_required","payment_authorization_failed","payment_intent_payment_attempt_expired","payment_intent_payment_attempt_failed","declined_insufficient_funds","declined_invalid_card_info","declined_generic","declined_provider","declined_unactivated","amount_too_small","tax_id_invalid"]),u=new Set(["unsupported_payment_method","checkout_session_processing","already_purchased","coupon_not_active","subscription_change_billing_cycle_imminent","subscription_change_pending_invoice"]),s=function(e){var r=e.extra;if("paywallError"!==r.checkout_error_type)return!1;var t=r.paywall_failure_category,n=r.paywall_failure_code,o=r.paywall_failure_provider_code;return"processor"===t&&"payment_method_confirmation_not_completed"===n&&"setup_intent_authentication_failure"===o||"processor"===t&&"string"==typeof n&&l.has(n)||"string"==typeof n&&u.has(n)},p=function(e,r){if((0,o.VS)()&&console.error(e,r),!(c(r)||s(r))){var t,i,l={checkout:(t=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){var n;n=t[r],r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n})}return e}({},r.extra),i=i={caller:r.caller,checkout_session_id:r.sessionId,community_id:r.communityId,community_member_id:r.communityMemberId,community_member_user_id:r.communityMemberUserId,paywall_id:r.paywallId,paywall_price_id:r.paywallPriceId,session_step_id:r.sessionStepId,stripe_elements_mode:r.stripeElementsMode,stripe_payment_method_type:r.stripePaymentMethodType,url:window.location.href},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r})(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}),t)},u={groupingHash:a(r)};(0,n.Vt)(e,l,u)}};t.d(r,{X:()=>p})},137997(e,r,t){var n=t(62534),o=t(933578),i=t(917763);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var c={fontSize:"14px",fontWeight:"400",lineHeight:"20px",letterSpacing:"0",padding:"7.1666667px 12px",borderRadius:"6px",boxShadow:"none",margin:"0"},l=function(){var e=(0,i.x)().stripeTheme;return(0,o.useMemo)(function(){var r,t,o,l=e===i.d.night?"dark":"light",u=(0,n.oI)("--color-border-hover",l)||"#d2d7db",s=(0,n.oI)("--color-border-focus",l)||"#717680",p=(0,n.oI)("--color-border-primary",l)||"#e4e7eb",f=(0,n.oI)("--color-text-primary",l)||(e===i.d.night?"#F0F3F5":"#19283a");return{variables:{colorPrimary:s,colorText:f,colorTextSecondary:(0,n.oI)("--color-text-secondary",l)||(e===i.d.night?"#C7D0D8":"#697586"),spacingGridRow:"21px"},rules:(a(o={},".Input",c),a(o,".Input:hover",{border:"1px solid ".concat(u)}),a(o,".Input:focus",{border:"1px solid ".concat(s),boxShadow:"0 0 0 3px ".concat(s,"4D")}),a(o,".Select",(r=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.forEach(function(r){a(e,r,t[r])})}return e}({},c),t=t={border:"1px solid ".concat(p)},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):(function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r}
1)(Object(t)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}),r)),a(o,".Select:hover",{border:"1px solid ".concat(u)}),a(o,".Select:focus",{border:"1px solid ".concat(s),boxShadow:"0 0 0 3px ".concat(s,"4D")}),a(o,".Tab",{color:f}),a(o,".TabLabel",{color:f}),a(o,".PickerItem",{color:f}),a(o,".Label",{fontSize:"14px",fontWeight:"500",lineHeight:"20px",color:f,margin:"0 0 8px 0"}),o)}},[e])};t.d(r,{w:()=>l})},62534(e,r,t){var n=function(e,r){if("u"<typeof window)return"";var t=document.createElement("div");t.className=r,t.style.display="none",document.body.appendChild(t);var n=getComputedStyle(t).getPropertyValue(e).trim();return t.remove(),n},o=function(e,r){if("u"<typeof window)return Object.fromEntries(e.map(function(e){return[e,""]}));var t=document.createElement("div");t.className=r,t.style.display="none",document.body.appendChild(t);var n=getComputedStyle(t),o=Object.fromEntries(e.map(function(e){return[e,n.getPropertyValue(e).trim()]}));return t.remove(),o},i=/^var\((--[\w-]+)\)$/,a=function(e,r){if(!e)return e;var t=i.exec(e);return t&&n(t[1],r)||e};t.d(r,{L4:()=>o,SB:()=>a,oI:()=>n})},508464(e,r,t){var n={br:"BR",us:"US"},o=function(e,r){var t,n,o,i,a=null!=(t=null==e||null==(o=e.toUpperCase())?void 0:o.trim())?t:"",c=null!=(n=null==r||null==(i=r.toUpperCase())?void 0:i.trim())?n:"";return!!(a&&c&&a===c)};t.d(r,{N:()=>n,g:()=>o})},835106(e,r,t){var n=t(933578),o=t(361971),i=t(417980),a=t(508464),c=t(91472),l=t(888828);function u(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var s=function(e){var r=e.fieldNames,t=e.isBrazilianCommunity,s=e.isTaxCollectionEnabled,p=e.isTaxIdMandatory,f=e.selectedCountry,d=r.taxIdType,y=r.taxIdTypeLabel,m=r.taxIdValue,_=(0,o.xW)(),b=_.setValue,v=_.watch,h=_.clearErrors,w=v(y),g=(0,c.S3)(w),x=(0,n.useRef)(null),O=!!p||(0,a.g)(f,a.N.br),j=p?a.N.br:f,S=(0,n.useMemo)(function(){return j?(0,l.a)().filter(function(e){return(0,a.g)(e.countryCode,j)}):(0,l.a)()},[j]),E=(0,n.useMemo)(function(){return S.map(c.sD)},[S]),P=(0,n.useMemo)(function(){return(t||s||!!p)&&S.length>0},[t,s,p,S]),k=(0,n.useMemo)(function(){var e=function(e){if(Array.isArray(e))return u(e)}(E)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(E)||function(e){if(e){if("string"==typeof e)return u(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,void 0)}}(E)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();return O||e.unshift({value:"",text:(0,i.t)("not_applicable")}),e},[E,O]);(0,n.useEffect)(function(){g?b(d,g.enum):(b(d,""),b(m,""))},[g,b,d,m]),(0,n.useEffect)(function(){var e=j||null,r=x.current!==e;e&&g&&!(0,a.g)(g.countryCode,e)&&b(y,""),r&&e&&1===S.length&&b(y,S[0].label,{shouldDirty:!0}),x.current=e},[j,g,S,b,y]),(0,n.useEffect)(function(){if(t&&O&&!w){var e=(0,c.wt)();e&&b(y,e.label,{shouldDirty:!0})}},[t,b,O,y,w]);var I=(0,n.useCallback)(function(e){b(y,e.value,{shouldDirty:!0}),h(m)},[b,y,h,m]),T=O||!!g;return{handleTaxIdTypeChange:I,isRequired:O,isTaxIdValueRequired:T,isVisible:P,selectedTaxIdType:g,selectOptions:k,taxIdTypeLabel:w}};t.d(r,{q:()=>s})}}]);
2//# sourceMappingURL=/packs/js/13675-1a600c229b8c5075.js.map

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.