1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="0b8c64bf-9b6f-289d-bb98-93cd4d0b4656")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,323481,e=>{e.v({base:"GlobalButton-module-scss-module__KneJgq__base",endIcon:"GlobalButton-module-scss-module__KneJgq__endIcon",iconOnly:"GlobalButton-module-scss-module__KneJgq__iconOnly",pill:"GlobalButton-module-scss-module__KneJgq__pill",pillOutline:"GlobalButton-module-scss-module__KneJgq__pillOutline",sizeLg:"GlobalButton-module-scss-module__KneJgq__sizeLg",sizeSm:"GlobalButton-module-scss-module__KneJgq__sizeSm",sizeTiny:"GlobalButton-module-scss-module__KneJgq__sizeTiny",startIcon:"GlobalButton-module-scss-module__KneJgq__startIcon"})},703841,e=>{"use strict";var t=e.i(843476),a=e.i(271645),n=e.i(286835),r=e.i(76368),i=e.i(142696),s=e.i(134292),o=e.i(323481);let l={lg:o.default.sizeLg,sm:o.default.sizeSm,tiny:o.default.sizeTiny},d=a.default.forwardRef(function({loading:e,children:a,startIcon:d,endIcon:u,iconSize:c=16,size:p,pill:_,...E},m){let R="link"===E.variant,T=!!a,f=(0,r.classNames)("globalBtn",R&&"btnLinkInline",!R&&o.default.base,!R&&p&&l[p],!R&&_&&o.default.pill,!R&&_&&E.variant?.startsWith("outline-")&&o.default.pillOutline,!!(d||u)&&!T&&o.default.iconOnly,E.className);return(0,t.jsxs)(n.Button,{ref:m,...E,size:"tiny"===p?void 0:p,className:f,disabled:e||E.disabled,children:[d&&(0,t.jsx)(i.default,{iconName:d,size:c,altText:"",className:T?o.default.startIcon:void 0}),a,u&&(0,t.jsx)(i.default,{iconName:u,size:c,altText:"",className:T?o.default.endIcon:void 0}),e&&(0,t.jsx)(s.default,{decorative:!0,size:"xs",variant:"inherit",className:"ms-2"})]})});e.s(["GlobalButton",0,d,"default",0,d])},327470,e=>{"use strict";var t=e.i(843476);e.s(["default",0,function({src:e,alt:a,width:n,height:r,priority:i,fill:s,style:o,loading:l,fetchPriority:d,cdnBase:u,mobileSrc:c,tabletSrc:p,..._}){let E=e=>u&&!/^(https?:)?\/\//.test(e)?`${u}/${e}`:e,m=s?{position:"absolute",inset:0,width:"100%",height:"100%",...o}:o,R=(0,t.jsx)("img",{..._,src:E(e),alt:a,width:s?void 0:n,height:s?void 0:r,style:m,loading:l??(i?"eager":"lazy"),decoding:"async",fetchPriority:d??(i?"high":void 0)});return c||p?(0,t.jsxs)("picture",{"data-sentry-element":"picture","data-sentry-component":"GlobalImage","data-sentry-source-file":"index.tsx",children:[c&&(0,t.jsx)("source",{media:"(max-width: 767px)",srcSet:E(c)}),p&&(0,t.jsx)("source",{media:"(max-width: 1199px)",srcSet:E(p)}),R]}):R}])},223513,e=>{e.v({block:"GlobalLoading-module-scss-module___elsWW__block",caption:"GlobalLoading-module-scss-module___elsWW__caption",center:"GlobalLoading-module-scss-module___elsWW__center",globalLoading:"GlobalLoading-module-scss-module___elsWW__globalLoading",row:"GlobalLoading-module-scss-module___elsWW__row",spinner:"GlobalLoading-module-scss-module___elsWW__spinner",spinnerLg:"GlobalLoading-module-scss-module___elsWW__spinnerLg",spinnerSm:"GlobalLoading-module-scss-module___elsWW__spinnerSm",spinnerXl:"GlobalLoading-module-scss-module___elsWW__spinnerXl",subCaption:"GlobalLoading-module-scss-module___elsWW__subCaption"})},134292,e=>{"use strict";var t=e.i(843476),a=e.i(441368),a=a,n=e.i(215302),r=e.i(76368),i=e.i(223513);let s={xs:void 0,sm:i.default.spinnerSm,md:void 0,lg:i.default.spinnerLg,xl:i.default.spinnerXl};e.s(["default",0,function({className:e,label:o=n.GLOBAL.LOADING,caption:l,subCaption:d,align:u="start",size:c="md",direction:p="column",variant:_="primary",block:E=!1,decorative:m=!1}){let R=E||!!l,T=(0,t.jsx)(a.default,{as:R?"div":"span",animation:"border",role:m?void 0:"status","aria-hidden":m||void 0,variant:"inherit"===_?void 0:_,size:"xs"===c?"sm":void 0,className:(0,r.classNames)(i.default.spinner,s[c],!R&&e),children:!m&&(0,t.jsx)("span",{className:"visually-hidden",children:o})});return R?(0,t.jsxs)("div",{className:(0,r.classNames)(i.default.globalLoading,{[i.default.block]:E},{[i.default.center]:"center"===u},{[i.default.row]:"row"===p},e),"data-sentry-component":"GlobalLoading","data-sentry-source-file":"index.tsx",children:[T,l&&(0,t.jsx)("p",{className:i.default.caption,children:l}),l&&d&&(0,t.jsx)("p",{className:i.default.subCaption,children:d})]}):T}],134292)},142713,833727,e=>{"use strict";let t=["jpg","jpeg","png","pdf","docx","mp3","m4a","m4b","mp4","epub","mobi","azw3","txt","zip"],a=["jpg","jpeg","png","pdf","docx","doc","mp3","mp4","epub","mobi","html","txt"],n=e=>e.map(e=>e.toUpperCase()).join(", "),r=e=>e.map(e=>`.${e}`).join(","),i=n(t),s=r(t),o=n(a),l=r(a);e.s(["DIGITAL_MERCH_SUPPORTED_FORMATS",0,t,"DIGITAL_MERCH_SUPPORTED_FORMATS_ACCEPT",0,s,"DIGITAL_MERCH_SUPPORTED_FORMATS_LABEL",0,i,"MAX_REMOTE_IMAGE_MB",0,15,"MAX_UPLOAD_IMAGE_BYTES",0,0xf00000,"MAX_UPLOAD_IMAGE_MB",0,15,"READER_MAGNET_SUPPORTED_FORMATS",0,a,"READER_MAGNET_SUPPORTED_FORMATS_ACCEPT",0,l,"READER_MAGNET_SUPPORTED_FORMATS_LABEL",0,o],833727);let d=e=>{let t=e.trim();return/[.!?]$/.test(t)?t:`${t}.`};e.s(["ANTIBOT_ERROR",0,{HONEYPOT_FILLED:"Invalid submission. Please try again.",RATE_LIMIT:"Too many requests. Please wait a moment and try again.",INVA
2LID_USER_AGENT:"Unable to verify your request. Please try again.",SCORE_TOO_LOW:"Unable to verify submission. Please try again later.",GENERIC:"Verification failed. Please try again later.",FORM_SUBMISSION_ERROR:"An error occurred while submitting the form. Please try again."},"AUTH_ERRORS",0,{INVALID_SSO_RESPONSE:"Invalid response from customDomainSsoExchange",SSO_EXCHANGE_ERROR:"Error in customDomainSsoExchange:",SSO_ACCESS_CODE_ERROR:"Failed to generate custom-domain SSO access code during password login",SSO_MISSING_SLUG:"customDomainSsoExchange succeeded without returning a site slug"},"ERRORS",0,{UNEXPECTED_ERROR:"Unexpected error occurred. Please try again.",GENERIC_UPDATE_ERROR:"An error occurred. Please try again later.",UNKNOWN_ERROR:"Unknown error",LOAD:"We're having a problem loading new content. Please check back later.",CONNECTION:"The Internet Connection appears to be offline.\n Please try again.",REQUEST:"We're having a problem with your request. Please check back later.",INVALID_SITE_SLUG:"Invalid site slug",INVALID_QUERY_TYPE:"Invalid query type",INVALID_MUTATION_TYPE:"Invalid mutation type",AUTHORIZATION_REQUIRED:"Authorization header is required",FAILED_TO_FETCH_THEMES_DATA:"Failed to fetch themes data",API_REQUEST_FAILED:e=>`API request failed for ${e} : No backend error message`,UNKNOWN_ENDPOINT:"unknown endpoint",TRANSPORT_TIMEOUT:"The request took too long and was cancelled. Check the connection and try again.",TRANSPORT_UNREACHABLE:"Could not reach the server. Check the connection and try again.",ERROR_FETCHING:e=>`Error fetching ${e}`,ERROR_SAVING:e=>`Error saving ${e}`,EMAIL_REQUIRED:"Please enter an email address",FIELD_IS_REQUIRED:"This field is required",EMAIL_REQUIRED_PASSWORD_STEP:"Please enter your email address.",EMAIL_INVALID:"Please enter a valid email address",PASSWORD_REQUIRED:"Please enter your password.",PASSWORD_MIN_LENGTH:"Password must be at least 8 characters.",PASSWORD_CONFIRM_MISMATCH:"Passwords do not match.",CONFIRM_PASSWORD_REQUIRED:"Please confirm your password.",CURRENT_PASSWORD_REQUIRED:"Current password is required",PASSWORD_TOO_WEAK_ZXCVBN:"This password is too weak. Please choose a stronger password. Try another password.",PASSWORD_TOO_COMMON_ZXCVBN:"This password is used very often. Choose something more personal that only you would know. Try another password.",RESET_PASSWORD_TOKEN_INVALID:"This reset link is invalid or has expired. Please request a new one.",PASSWORD_LOGIN_GENERIC:"Incorrect email or password. Please check them or sign in with an email link",FAILED_TO_LOGIN:"Failed to login",FAILED_TO_UPDATE_PAYMENT:"Failed to update payment",FAILED_TO_SETUP_STRIPE_EXPRESS:"Failed to setup Stripe Express",MISSING_CODE:"Missing code",FAILED_TO_SIGNIN:"Failed to signin site. Please try again.",UNAUTHORIZED_ACCESS:"Unauthorized Access",UNSUBSCRIBE_STATUS_UPDATE_FAILED:"Failed to update audience notification status",UNSUBSCRIBE_MISSING_CONTACT_ID:"Missing mailer_contact_id in unsubscribe URL",DOWNLOAD_IMAGE_MISSING_URL:"Missing url",DOWNLOAD_IMAGE_INVALID_URL:"Invalid url",DOWNLOAD_IMAGE_BLOCKED_HOST:"Blocked host",DOWNLOAD_IMAGE_UPSTREAM_ERROR:"Upstream error"},"ERROR_DOMAIN",0,{NAME_SERVER_TITLE:e=>`There was an issue when connecting ${e} to your Tertulia Author Website`,NAME_SERVER_DETAILS:"It looks like the name servers for your domain aren't set up correctly. To connect your domain successfully, please double-check and update your name server settings with your domain provider. If you are still experiencing problem please",CONTACT_SUPPORT:"contact support.",BUTTON_CANCEL:"Cancel setup",BUTTON_CONFIRM:"I've corrected the name servers",BUTTON_BACK_TO_HOME:"Home",INTERNAL_ERROR_INFO:"Please try again. You can also ",INTERNAL_ERROR_ASSISTANCE:"support for assistance."},"GALLERY_IMAGE_LABEL",0,{DEFAULT:{singular:"image",plural:"images"},BOOK_ADDITIONAL:{singular:"additional image",plural:"additional images"}},"GLOBAL_ERROR",0,{TITLE:"Something went wrong",DESCRIPTION:"We're having trouble loading this page right now. Please try again in a few minutes.",ERROR_ID_LABEL:"Report this Error ID to Tertulia:",BUTTON_BACK_HOME:"Back to Home",BUTTON_REFRESH:"Refresh Page",BUTTON_COPY:"Copy",BUTTON_COPIED:"Copied!"},"PAGE_ERROR",0,{403:"Forbidden: You do not have permission to view this page.",404:"Page Not Found: The requested page does not exist.",500:"Internal Server Error: Something went wrong on our side."},"SITE_ERROR",0,{TITLE_403:"A Great Author Website",COMING_SOON:"Coming Soon",CREATED_WITH:"A book web page created with",LINK_BUILDER:"Author Websites by Tertulia",TITLE_404:"Oops! We couldn't find that page.",DESCRIPTION_404:"It looks like the page you're looking for doesn't exist anymore or never existed in the first place.",HOMEPAGE:"Homepage",BACK_TO_HOMEPAGE:"Back to Homepage"},"UPLOAD_ERROR",0,{UPLOAD_FAILED:"File upload failed. Please try again.",FAILED_TO_FETCH_SOURCE_IMAGE:"Failed to fetch source image. Please check the URL and try again.",URL_AND_SITE_SLUG_REQUIRED:"url and siteSlug are required",INVALID_TARGET:"Invalid upload target",SOURCE_URL_NOT_ALLOWED:"That image address is not allowed. Use a public http or https link.",SOURCE_IMAGE_TOO_LARGE:"That image is too large to import. Please use a file under 15
2MB.",LOGO_UNSUPPORTED_FORMAT:"Please upload a PNG, JPG, or GIF file.",LOGO_EMPTY_OR_CORRUPT:"The file appears to be corrupted, invalid, or empty. Please try uploading a different file.",LOGO_UPLOAD_FAILED:"Upload failed. Please check your connection and try again.",LOGO_TECHNICAL_ISSUE:"We're experiencing a technical issue on our end. Please try again later or contact support if the problem persists.",IMAGE_READ_FAILED:"The file appears to be corrupted, invalid, or empty. Please try uploading a different file.",IMAGE_TOO_LARGE:"That image is larger than 15 MB. Please choose a smaller one.",IMAGE_UNSUPPORTED_FORMAT:"Please upload a JPG, PNG, WebP, or GIF image.",FAVICON_TOO_LARGE:"Favicon must be 2 MB or smaller.",FAVICON_UNSUPPORTED_FORMAT:"Please upload a PNG or SVG file.",FAVICON_EMPTY_OR_CORRUPT:"The file appears to be corrupted, invalid, or empty. Please try uploading a different file.",FAVICON_UPLOAD_FAILED:"Upload failed. Please check your connection and try again.",FAVICON_TECHNICAL_ISSUE:"We're experiencing a technical issue on our end. Please try again later or contact support if the problem persists.",FAVICON_FEATURE_OFF:"Custom favicons are not currently enabled. Please try again later.",FAILED_TO_UPLOAD_PART:(e,t)=>`Failed to upload part: ${e} ${t}`,ETAG_NOT_FOUND:"ETag not found in response headers",ERROR_UPLOADING_DIGITAL_FILE_PART:"Error uploading digital file part",FAILED_TO_DELETE_DIGITAL_FILE:"Failed to delete digital file",FAILED_TO_CREATE_DIGITAL_FILE_SESSION:"Failed to create digital file session",FAILED_TO_COMPLETE_DIGITAL_FILE_SESSION:"Failed to complete digital file session",FAILED_TO_COMPLETE_MULTIPART_DIGITAL_FILE_SESSION:"Failed to complete multipart digital file session",UPLOAD_FAILED_WITH_STATUS:(e,t)=>`Upload failed with status: ${e} ${t}`,UPLOAD_NETWORK_ERROR:"Upload failed due to network error",UPLOAD_ABORTED:"Upload was aborted",NO_PRESIGNED_URL:"No presigned URL received",UPLOAD_AT_LEAST_ONE_FILE:e=>`Please upload at least one ${e} file before saving.`,IMAGE_UPLOAD_MALFORMED:e=>`Image upload for "${e}" failed: server returned an incomplete response`,IMAGE_UPLOAD_FROM_URL_FAILED:(e,t)=>`Image upload-from-url for "${e}" failed: ${t}
2`,IMAGE_UPLOAD_FROM_URL_MALFORMED:e=>`Image upload-from-url for "${e}" returned malformed response`,SAVED_EXCEPT_IMAGES:e=>`Your other changes were saved. ${[...new Set(e.map(d))].join(" ")} Check your images and save again.`,GALLERY_IMAGE_TOO_LARGE_TO_ADD:e=>`"${e}" is larger than 15 MB, so it wasn't added. Please choose a smaller image.`,GALLERY_IMAGES_TOO_LARGE:(e,t)=>1===e.length?`Your ${t.singular} ${e[0]} is larger than 15 MB. Remove or replace it, then save again.`:`Your ${t.plural} ${e.length<2?String(e[0]):`${e.slice(0,-1).join(", ")} and ${e[e.length-1]}`} are larger than 15 MB. Remove or replace them, then save again.`,AUDIOBOOK_ZIP_NO_MP3_FILES:"This ZIP must include at least one MP3 file (for example, one file per chapter). Add your chapter MP3s to the ZIP, then try uploading again.",AUDIOBOOK_ZIP_INVALID_ARCHIVE:"We could not open this ZIP. Make sure it is a valid .zip file (not RAR or another format), then try again."}],142713)},674951,e=>{"use strict";var t=e.i(271645),a=e.i(843476);let n=["as","disabled"];function r({tagName:e,disabled:t,href:a,target:n,rel:i,role:s,onClick:o,tabIndex:l=0,type:d}){e||(e=null!=a||null!=n||null!=i?"a":"button");let u={tagName:e};if("button"===e)return[{type:d||"button",disabled:t},u];let c=n=>{var r;(!t&&("a"!==e||(r=a)&&"#"!==r.trim())||n.preventDefault(),t)?n.stopPropagation():null==o||o(n)};return"a"===e&&(a||(a="#"),t&&(a=void 0)),[{role:null!=s?s:"button",disabled:void 0,tabIndex:t?void 0:l,href:a,target:"a"===e?n:void 0,"aria-disabled":t||void 0,rel:"a"===e?i:void 0,onClick:c,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),c(e))}},u]}let i=t.forwardRef((e,t)=>{let{as:i,disabled:s}=e,o=function(e,t){if(null==e)return{};var a={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;a[n]=e[n]}return a}(e,n),[l,{tagName:d}]=r(Object.assign({tagName:i,disabled:s},o));return(0,a.jsx)(d,Object.assign({},o,l,{ref:t}))});i.displayName="Button",e.s(["default",0,i,"useButtonProps",0,r])},232189,(e,t,a)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},865156,(e,t,a)=>{"use strict";var n=e.r(232189);function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,a,r,i,s){if(s!==n){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}},745009,(e,t,a)=>{t.exports=e.r(865156)()},487266,e=>{"use strict";var t=e.i(343794),a=e.i(271645),n=e.i(674951),r=e.i(650582),i=e.i(843476);let s=a.forwardRef(({as:e,bsPrefix:a,variant:s="primary",size:o,active:l=!1,disabled:d=!1,className:u,...c},p)=>{let _=(0,r.useBootstrapPrefix)(a,"btn"),[E,{tagName:m}]=(0,n.useButtonProps)({tagName:e,disabled:d,...c});return(0,i.jsx)(m,{...E,...c,ref:p,disabled:d,className:(0,t.default)(u,_,l&&"active",s&&`${_}-${s}`,o&&`${_}-${o}`,c.href&&d&&"disabled")})});s.displayName="Button",e.s(["default",0,s])},286835,e=>{"use strict";var t=e.i(487266);e.s(["Button",()=>t.default])},568874,e=>{"use strict";var t=e.i(343794),a=e.i(271645),n=e.i(650582),r=e.i(843476);function i({as:e,bsPrefix:a,className:r,...s}){a=(0,n.useBootstrapPrefix)(a,"col");let o=(0,n.useBootstrapBreakpoints)(),l=(0,n.useBootstrapMinBreakpoint)(),d=[],u=[];return o.forEach(e=>{let t,n,r,i=s[e];delete s[e],"object"==typeof i&&null!=i?{span:t,offset:n,order:r}=i:t=i;let o=e!==l?`-${e}`:"";t&&d.push(!0===t?`${a}${o}`:`${a}${o}-${t}`),null!=r&&u.push(`order${o}-${r}`),null!=n&&u.push(`offset${o}-${n}`)}),[{...s,className:(0,t.default)(r,...d,...u)},{as:e,bsPrefix:a,spans:d}]}let s=a.forwardRef((e,a)=>{let[{className:n,...s},{as:o="div",bsPrefix:l,spans:d}]=i(e);return(0,r.jsx)(o,{...s,ref:a,className:(0,t.default)(n,!d.length&&l)})});s.displayName="Col",e.s(["default",0,s,"useCol",0,i])},359565,e=>{"use strict";var t=e.i(271645);e.s(["hasChildOfType",0,function(e,a){return t.Children.toArray(e).some(e=>t.isValidElement(e)&&e.type===a)},"map",0,function(e,a){let n=0;return t.Children.map(e,e=>t.isValidElement(e)?a(e,n++):e)}])},617881,840470,e=>{"use strict";var t=e.i(343794),a=e.i(745009),n=e.i(271645),r=e.i(843476);let i={type:a.default.string,tooltip:a.default.bool,as:a.default.elementType},s=n.forwardRef(({as:e="div",className:a,type:n="valid",tooltip:i=!1,...s},o)=>(0,r.jsx)(e,{...s,ref:o,className:(0,t.default)(a,`${n}-${i?"tooltip":"feedback"}`)}));s.displayName="Feedback",s.propTypes=i;let o=n.createContext({});var l=e.i(650582);let d=n.forwardRef(({id:e,bsPrefix:a,className:i,type:s="checkbox",isValid:d=!1,isInvalid:u=!1,as:c="input",...p},_)=>{let{controlId:E}=(0,n.useContext)(o);return a=(0,l.useBootstrapPrefix)(a,"form-check-input"),(0,r.jsx)(c,{...p,ref:_,type:s,id:e||E,className:(0,t.default)(i,a,d&&"is-valid",u&&"is-invalid")})});d.displayName="FormCheckInput",e.s(["default",0,d],840470);let u=n.forwardRef(({bsPrefix:e,className:a,htmlFor:i,...s},d)=>{let{controlId:u}=(0,n.useContext)(o);return e=(0,l.useBootstrapPrefix)(e,"form-check-label"),(0,r.jsx)("label",{...s,ref:d,htmlFor:i||u,className:(0,t.default)(a,e)})});u.displayName="FormCheckLabel";var c=e.i(359565);let p=n.forwardRef(({id:e,bsPrefix:a,bsSwitchPrefix:i,inline:p=!1,reverse:_=!1,disabled:E=!1,isValid:m=!1,isInvalid:R=!1,feedbackTooltip:T=!1,feedback:f,feedbackType:S,className:g,style:O,title:h="",type:A="checkbox",label:I,children:y,as:P="input",...N},L)=>{a=(0,l.useBootstrapPrefix)(a,"form-check"),i=(0,l.useBootstrapPrefix)(i,"form-switch");let{controlId:b}=(0,n.useContext)(o),D=(0,n.useMemo)(()=>({controlId:e||b}),[b,e]),U=!y&&null!=I&&!1!==I||(0,c.hasChildOfType)(y,u),v=(0,r.jsx)(d,{...
2N,type:"switch"===A?"checkbox":A,ref:L,isValid:m,isInvalid:R,disabled:E,as:P});return(0,r.jsx)(o.Provider,{value:D,children:(0,r.jsx)("div",{style:O,className:(0,t.default)(g,U&&a,p&&`${a}-inline`,_&&`${a}-reverse`,"switch"===A&&i),children:y||(0,r.jsxs)(r.Fragment,{children:[v,U&&(0,r.jsx)(u,{title:h,children:I}),f&&(0,r.jsx)(s,{type:S,tooltip:T,children:f})]})})})});p.displayName="FormCheck";let _=Object.assign(p,{Input:d,Label:u});e.i(442656);let E=n.forwardRef(({bsPrefix:e,type:a,size:i,htmlSize:s,id:d,className:u,isValid:c=!1,isInvalid:p=!1,plaintext:_,readOnly:E,as:m="input",...R},T)=>{let{controlId:f}=(0,n.useContext)(o);return e=(0,l.useBootstrapPrefix)(e,"form-control"),(0,r.jsx)(m,{...R,type:a,size:s,ref:T,readOnly:E,id:d||f,className:(0,t.default)(u,_?`${e}-plaintext`:e,i&&`${e}-${i}`,"color"===a&&`${e}-color`,c&&"is-valid",p&&"is-invalid")})});E.displayName="FormControl";let m=Object.assign(E,{Feedback:s}),R=n.forwardRef(({className:e,bsPrefix:a,as:n="div",...i},s)=>(a=(0,l.useBootstrapPrefix)(a,"form-floating"),(0,r.jsx)(n,{ref:s,className:(0,t.default)(e,a),...i})));R.displayName="FormFloating";let T=n.forwardRef(({controlId:e,as:t="div",...a},i)=>{let s=(0,n.useMemo)(()=>({controlId:e}),[e]);return(0,r.jsx)(o.Provider,{value:s,children:(0,r.jsx)(t,{...a,ref:i})})});T.displayName="FormGroup";var f=e.i(568874);let S=n.forwardRef(({as:e="label",bsPrefix:a,column:i=!1,visuallyHidden:s=!1,className:d,htmlFor:u,...c},p)=>{let{controlId:_}=(0,n.useContext)(o);a=(0,l.useBootstrapPrefix)(a,"form-label");let E="col-form-label";"string"==typeof i&&(E=`${E} ${E}-${i}`);let m=(0,t.default)(d,a,s&&"visually-hidden",i&&E);return(u=u||_,i)?(0,r.jsx)(f.default,{ref:p,as:"label",className:m,htmlFor:u,...c}):(0,r.jsx)(e,{ref:p,className:m,htmlFor:u,...c})});S.displayName="FormLabel";let g=n.forwardRef(({bsPrefix:e,className:a,id:i,...s},d)=>{let{controlId:u}=(0,n.useContext)(o);return e=(0,l.useBootstrapPrefix)(e,"form-range"),(0,r.jsx)("input",{...s,type:"range",ref:d,className:(0,t.default)(a,e),id:i||u})});g.displayName="FormRange";let O=n.forwardRef(({bsPrefix:e,size:a,htmlSize:i,className:s,isValid:d=!1,isInvalid:u=!1,id:c,...p},_)=>{let{controlId:E}=(0,n.useContext)(o);return e=(0,l.useBootstrapPrefix)(e,"form-select"),(0,r.jsx)("select",{...p,size:i,ref:_,className:(0,t.default)(s,e,a&&`${e}-${a}`,d&&"is-valid",u&&"is-invalid"),id:c||E})});O.displayName="FormSelect";let h=n.forwardRef(({bsPrefix:e,className:a,as:n="small",muted:i,...s},o)=>(e=(0,l.useBootstrapPrefix)(e,"form-text"),(0,r.jsx)(n,{...s,ref:o,className:(0,t.default)(a,e,i&&"text-muted")})));h.displayName="FormText";let A=n.forwardRef((e,t)=>(0,r.jsx)(_,{...e,ref:t,type:"switch"}));A.displayName="Switch";let I=Object.assign(A,{Input:_.Input,Label:_.Label}),y=n.forwardRef(({bsPrefix:e,className:a,children:n,controlId:i,label:s,...o},d)=>(e=(0,l.useBootstrapPrefix)(e,"form-floating"),(0,r.jsxs)(T,{ref:d,className:(0,t.default)(a,e),controlId:i,...o,children:[n,(0,r.jsx)("label",{htmlFor:i,children:s})]})));y.displayName="FloatingLabel";let P={_ref:a.default.any,validated:a.default.bool,as:a.default.elementType},N=n.forwardRef(({className:e,validated:a,as:n="form",...i},s)=>(0,r.jsx)(n,{...i,ref:s,className:(0,t.default)(e,a&&"was-validated")}));N.displayName="Form",N.propTypes=P;let L=Object.assign(N,{Group:T,Control:m,Floating:R,Check:_,Switch:I,Label:S,Text:h,Range:g,Select:O,FloatingLabel:y});e.s(["default",0,L],617881)},998699,e=>{"use strict";var t=e.i(617881);e.s(["Form",()=>t.default])},441368,e=>{"use strict";var t=e.i(343794),a=e.i(271645),n=e.i(650582),r=e.i(843476);let i=a.forwardRef(({bsPrefix:e,variant:a,animation:i="border",size:s,as:o="div",className:l,...d},u)=>{e=(0,n.useBootstrapPrefix)(e,"spinner");let c=`${e}-${i}`;return(0,r.jsx)(o,{ref:u,...d,className:(0,t.default)(l,c,s&&`${c}-${s}`,a&&`text-${a}`)})});i.displayName="Spinner",e.s(["default",0,i])},442656,(e,t,a)=>{"use strict";t.exports=function(){}},76368,e=>{"use strict";e.s(["classNames",0,function(...e){let t=[];for(let a of e)if(a){if("string"==typeof a)t.push(a);else if("object"==typeof a)for(let[e,n]of Object.entries(a))n&&t.push(e)}return t.join(" ")}])},801163,e=>{"use strict";var t=e.i(404427),a=e.i(892182),n=e.i(61487),r=e.i(80767);async function i({email:e,siteId:t,ipLocation:n,firstName:r,lastName:s,popupId:o,landingPageId:l,honeypot:d=""}){let u=r?.trim(),c=s?.trim(),p=await (0,a.apiRequestHandler)({endpoint:"/newsletter",method:"POST",body:{email:e,site_id:t,honeypot:d,...null!=n&&{ip_location:n},...u&&{first_name:u},...c&&{last_name:c},...null!=o&&{popup_id:o},...null!=l&&{landing_page_id:l}},statusSendSentry:a.SENTRY_REPORTED_STATUSES});return{pendingConfirmation:!!p?.pending_confirmation}}async function s(e){let t=await (0,a.apiRequestHandler)({endpoint:`/newsletter/confirm?token=${encodeURIComponent(e)}`,method:"POST",statusSendSentry:[500]});return{confirmed:!!t?.confirmed}}async function o(e){let t=await (0,a.apiRequestHandler)({endpoint:`/newsletter/settings/${e}`,method:"GET",statusSendSentry:[500]});return{doubleOptInEnabled:!!t?.double_opt_in_enabled}}async function l(e,t){let n=await (0,a.apiRequestHandler)({endpoint:`/newsletter/settings/${e}`,method:"PUT",body:{double_opt_in_enabled:t.doubleOptInEnabled},statusSendSentry:[500]});return{doubleOptInEnabled:n?.double_opt_in_enabled??t.doubleOptInEnabled}}async function d(){return(0,a.apiRequestHandler)({endpoint:"/product/v2/website/subscriptions",method:"GET",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function u(){return(0,a.apiRequestHandler)({endpoint:"/product/website/subscriptions",method:"GET",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function c({siteId:e}){return(0,a.apiRequestHandler)({endpoint:`/sites/${e}/subscriptions`,method:"GET",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function p(){return(0,a.apiRequestHandler)({endpoint:"/subscriptions/website/change-product-type/preview",method:"GET",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function _(){return(0,a.apiRequestHandler)({endpoint:"/subscriptions/website/change-product-type",method:"POST",statusSendSentry:[500]})}async function E(){try{let{status:e,data:a}=await (0,t.apiRequest)({endpoint:"/mailerlite/integration",method:"GET"});if(200!==e)return(0,n.handleApiError)({status:e,message:a.description??"Failed to get Integration MailerLite"});return a}catch(e){return(0,n.handleApiError)({message:e})}}async function m(){try{let{status:e,data:a}=await (0,t.apiRequest)({endpoint:"/mailerlite/configuration",method:"GET"});if(200!==e)return(0,n.handleApiError)({status:e,message:a.description??"Failed to get Configuration MailerLite"});return a}catch(e){return(0,n.handleApiError)({message:e})}}async function R(e){try{let{status:a,data:r}=await (0,t.apiRequest)({endpoint:"/mailerlite/configuration",method:"POST",data:e});if(200!==a)return(0,n.handleApiError)({status:a,message:r.description??"Failed to save Configuration MailerLite"});return r}catch(e){return(0,n.handleApiError)({message:e})}}async function T(){try{let{status:e,data:a}=await (0,t.apiRequest)({endpoint:"/mailerlite/integration",method:"DELETE"});if(200!==e)return(0,n.handleApiError)({status:e,message:a.description??"Failed to delete Integration MailerLite"});return a}catch(e){return(0,n.handleApiError)({message:e})}}async function f(){try{let{status:e,data:a}=await (0,t.apiRequest)({endpoint:"/email-dns-configuration",method:"GET"});if(200!==e)return(0,n.handleApiError)({status:e,message:a.description??"Failed to get post"});return a}catch(e){return(0,n.handleApiError)({message:e})}}async function S(e){try{let{status:a,data:r}=await (0,t.apiRequest)({endpoint:"/email-dns-configuration",method:"POST",data:e});if(200!==a)return(0,n.handleApiError)({status:a,message:r.description??"Failed to get post"});return r}catch(e){return(0,n.handleApiError)({message:e})}}async function g(e){return(0,a.apiRequestHandler)({endpoint:"/reader-magnets/presigned-url-generate",method:"POST",statusSendSentry:a.SENTRY_REPORTED_STATUSES,body:e})}async function O({period:e,siteSlug:t}){return(0,a.apiRequestHandler)({endpoint:`/newsletter/period/${t}?period=${e}`,method:"GET",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function h(e,t){let n=new URLSearchParams((0,r.getUtmParams)()).toString(),i=`/platform-newsletter-subscriber${n?`?${n}`:""}`;return(0,a.apiRequestHandler)({endpoint:i,method:"POST",body:{email:e,referer_code:t},statusSendSentry:[500]})}async function A(){return(0,a.apiRequestHandler)({endpoint:"/mailchimp/newsletter/audiences",method:"GET",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function I(){return(0,a.apiRequestHandler)({endpoint:"/mailchimp/configuration",method:"GET",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function y(){return(0,a.apiRequestHandler)({endpoint:"/mailchimp/synchronize-contacts",method:"POST",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function P(){return(0,a.apiRequestHandler)({endpoint:"/mailerlite/synchronize-contacts",method:"POST",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function N(){return(0,a.apiRequestHandler)({endpoint:"/mailchimp/permissions",method:"DELETE",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function L({selectedAudience:e,doubleOptin:t}){return(0,a.apiRequestHandler)({endpoint:`/mailchimp/newsletter/${e}/synchronize-contacts?doubleOptin=${t}`,method:"POST",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function b(){return(0,a.apiRequestHandler)({endpoint:"/reader-magnets/status",method:"GET",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function D(){return(0,a.apiRequestHandler)({endpoint:"/reader-magnets",method:"DELETE",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function U(e){return(0,a.apiRequestHandler)({endpoint:"/reader-magnets/remote-file",method:"POST",statusSendSentry:a.SENTRY_REPORTED_STATUSES,body:e})}async function v(e){return(0,a.apiRequestHandler)({endpoint:`/reader-magnets/${e}`,method:"PUT",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function C(){return(0,a.apiRequestHandler)({endpoint:"/reader-magnets/validate-upload",method:"POST",statusSendSentry:a.SENTRY_REPORTED_STATUSES})}async function G(e,t){var n;return{landing_header_banner:(n=await (0,a.apiRequestHandler)({endpoint:`/product/v2/website/subscriptions/landing?code${e?`=${e}`:""}${t?`&referral_code=${t}`:""}`,method:"GET",statusSendSentry:a.SENTRY_REPORTED_STATUSES})).landing_header_banner,landing_products_title:n.landing_products_title,products:(n.products??[]).map(e=>({title:"MONTHLY_SUBSCRIPTION"===e.title?"Monthly":"ANNUAL_SUBSCRIPTION"===e.title?"Yearly":e.title,product_id:e.product_id,stripe_price_id:e.stripe_price_id,plan_tier:e.plan_tier,price_per_month:e.price_per_month,price_billed:e.price_billed,price_per_month_with_discount:e.price_per_month,price_billed_with_discount:e.price_billed,save_percentage:e.s
2ave_percentage,discount_percentage:e.save_percentage,billed_description:e.billed_description,payment_type_description:"",perk:null,discount_description:null}))}}e.s(["confirmNewsletterSignup",0,s,"createWithRemoteFile",0,U,"deleteIntegrationMailerLite",0,T,"deleteReaderMagnet",0,D,"enableReaderMagnet",0,v,"generatePresignedUrl",0,g,"getAudiences",0,A,"getConfigurationMailerLite",0,m,"getEmailDnsConfiguration",0,f,"getIntegrationMailerLite",0,E,"getMailchimpPermissions",0,I,"getNewsletterSettings",0,o,"getReaderMagnetStatus",0,b,"getSubscription",0,d,"getSubscriptionChangeProductTypePreview",0,p,"getSubscriptionLegacy",0,u,"getSubscriptionsLanding",0,G,"getTotalSignupPerSite",0,O,"getUserSubscription",0,c,"integrationWithMailchimp",0,L,"isDuplicateSignupError",0,function(e){let t=e?.status,a=String(e?.message??"").toLowerCase();return 409===t||422===t||/already|exists|duplicate|subscribed/.test(a)},"postSubscriptionChangeProductType",0,_,"removeIntegrationWithMailchimp",0,N,"saveConfigurationMailerLite",0,R,"saveEmailDnsConfiguration",0,S,"submitEmailSignup",0,h,"submitNewsletterSignup",0,i,"synchronizeMailchimpContacts",0,y,"synchronizeMailerLiteContacts",0,P,"updateNewsletterSettings",0,l,"validateUpload",0,C])}]); 3 4//# debugId=0b8c64bf-9b6f-289d-bb98-93cd4d0b4656
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.