{"version":3,"file":"UserDataLabel.D2_afTr8.mjs","names":["useState","useMemo"],"sources":["https:/cdn.thenty.io/beta/thenty-sdk.min.js","https:/framerusercontent.com/modules/diyk5889JEo4mM5y5sJr/k488EAt1FhWtVFD0n6vD/ThentyShared.js","https:/framerusercontent.com/modules/mPGYIZ8yu9ABZPVltftl/eIsfCGXRAh3mrjzv9uRj/UserDataLabel.js"],"sourcesContent":["const logStyle=\"color:white;background-color:#FF4A29;font-family:system-ui;font-size:1.2rem;font-weight:bold\";class ThentySDK{constructor(){console.log(\"%cthenty SDK Module\",logStyle),this.apiURL=\"https://api.thenty.io\"}fetchAuthorizationKey(){return\"undefined\"==typeof window?\"\":(window?.location?new URL(window.location.origin):\"\").host+\".authorization\"}fetchAuthorization(){var e;return\"undefined\"!=typeof localStorage&&(e=localStorage.getItem(this.fetchAuthorizationKey()))?JSON.parse(e):null}setAuthorization(e){var t;\"undefined\"!=typeof window&&\"undefined\"!=typeof localStorage&&(t=this.fetchAuthorizationKey(),localStorage.setItem(t,JSON.stringify(e)),window.dispatchEvent(new CustomEvent(\"storage\",{detail:{key:t,newValue:e}})))}fetchMetadataKey(){return\"undefined\"==typeof window?\"\":(window?.location?new URL(window.location.origin):\"\").host+\".metadata\"}fetchMetadata(){var e;return\"undefined\"!=typeof localStorage&&(e=localStorage.getItem(this.fetchMetadataKey()))?JSON.parse(e):null}logout(e=\"/\"){\"undefined\"!=typeof localStorage&&localStorage.removeItem(this.fetchAuthorizationKey()),\"undefined\"!=typeof window&&(window.location.pathname=e)}checkForProduct(e=[],t=null){let o=t,r=(o=o||this.fetchAuthorization(),!1);if(o?.hasOwnProperty(\"member\"))for(const a of(o.member.products??[]).map(e=>e.id))if(e.includes(a)){r=!0;break}return r}getDataForCanvas(){if(\"undefined\"==typeof localStorage)return{siteMeta:null,authorization:null,isLoggedIn:!1,redirect_path:\"#\",memberProducts:[]};var e=this.fetchMetadataKey(),t=this.fetchAuthorizationKey();let o=localStorage.getItem(e),r=localStorage.getItem(t)??null;r=r&&JSON.parse(r),o=o&&JSON.parse(o);var e=r?.hasOwnProperty(\"authorization\")&&r?.hasOwnProperty(\"member\"),t=r?.key?o?.logged_in_access_denied_redirect_path??\"#\":o?.login_redirect_path??\"#\",a=r?.member?.products??[];return{siteMeta:o,authorization:r,isLoggedIn:e,redirect_path:t,memberProducts:a}}isAccessDenied({regex_pattern:e,product_ids:t},o=[],r){e=new RegExp(e),t=!t.length||t.findIndex(e=>o.includes(e));return e.test(r)&&-1===t}assessPathForAccess(e,t=\"\"){var{siteMeta:o,redirect_path:r,memberProducts:a}=this.getDataForCanvas(),n=a.map(e=>e.id),i=e.startsWith(\"/\")?(\"\"+e).slice(1):e;for(const s of o?.protected_pages||[])if(this.isAccessDenied(s,n,i))return r?\"/\"+r:\"/access-denied\";return e+t}getRequestHeaders(e=!1){let t=!1;e&&(t=this.fetchAuthorization());var e=\"undefined\"!=typeof window&&window.variables?window.variables.secretKey:\"\",o=\"undefined\"!=typeof window&&window.variables?window.variables.siteKey:\"\";return{\"Content-Type\":\"application/json\",Accept:\"application/json\",\"x-secret-key\":e,\"x-site-key\":o,\"x-refresh-token\":o,...t&&{authorization:t?.authorization?.key,\"x-refresh-token\":t?.authorization.refresh}}}isGoogleRedirect(e=null){return!(\"undefined\"==typeof window&&!e)&&(e=e??new URLSearchParams(window.location.search))?.has(\"code\")&&e?.has(\"state\")&&\"GOOGLE_LOGIN\"===e?.get(\"state\")}fetchGoogleCallback(e=null,t=null){if(\"undefined\"!=typeof window){const r=t??new URLSearchParams(window.location.search);var t=window?.Rewardful?.referral,o=window?.promotekit_referral;fetch(this.apiURL+\"/oauth/members/callback/google\",{method:\"POST\",headers:this.getRequestHeaders(),body:JSON.stringify({code:r.get(\"code\"),...e&&{planIdOverride:e},...t&&{rewardfulReferral:t},...o&&{promotekitReferral:o}})}).then(async e=>{var t=await e.json();if(200<e.status)throw new Error(t.errorMessage);return t}).then(e=>{r.delete(\"code\"),r.delete(\"state\");var t=new URL(window.location.href);t.search=r.toString(),history.replaceState(null,\"\",t.toString()),this.setAuthorization(e),setTimeout(()=>{window.open(e.redirect_url??\"#\",\"_self\")},500)})}}refetchSiteMetadataTrigger=()=>{var e;\"undefined\"!=typeof window&&(e=new URL(window.location.origin),window.dispatchEvent(new CustomEvent(\"storage\",{detail:{key:e.host+\".reauth\",newValue:!0}})))};toggleBookmark(e,t,o=void 0){var r=this.fetchAuthorization();return this.fetchGeneric(\"/bookmarks\",\"POST\",{slug:t,collection:e,...void 0!==o&&{value:o}},r?.authorization?.key).then(this.refetchSiteMetadataTrigger)}fetchGeneric(e,t=\"GET\",o=null,r=null){return fetch(\"\"+this.apiURL+e,{method:t,headers:this.getRequestHeaders(r),...o&&{body:JSON.stringify(o)}}).then(async e=>{var t=await e.json();if(200<e.status)throw new Error(t.errorMessage);return t})}}const thentyAuth=new ThentySDK;\"undefined\"!=typeof window&&(window.thentyAuth=thentyAuth);export{thentyAuth};","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{ControlType,RenderTarget,withCSS,Link}from\"framer\";import{forwardRef,useEffect,useState,useRef,useId,useMemo,cloneElement}from\"react\";import{motion}from\"framer-motion\";import{thentyAuth}from\"https://cdn.thenty.io/beta/thenty-sdk.min.js\";export var FormState;(function(FormState){FormState[\"Default\"]=\"default\";FormState[\"Loading\"]=\"loading\";FormState[\"Success\"]=\"success\";FormState[\"Error\"]=\"error\";})(FormState||(FormState={}));export var Events;(function(Events){Events[\"FormStateChange\"]=\"thenty-form-state-change\";Events[\"SubmitButtonClick\"]=\"thenty-submit-button-click\";Events[\"GoogleSignIn\"]=\"thenty-google-sign-in\";Events[\"Error\"]=\"thenty-form-error\";Events[\"FormInitialized\"]=\"thenty-form-initialized\";})(Events||(Events={}));export const GoogleProductStateKey=\"thenty-google-planid-override\";export const HIDDEN_CLASS_NAME=\"thenty-hidden\";const CANVAS_HIDDEN_CLASS_NAME=\"thenty-canvas-hidden\";export const useInstanceId=()=>{const id=useId();const cleanId=id.replace(/:/g,\"\");const instanceId=`thenty-${cleanId}`;return instanceId;};export const ALIGNMENT_MAP={left:\"flex-start\",center:\"center\",right:\"flex-end\",justify:\"flex-start\"};export const useThenty=()=>{const metaKey=thentyAuth.fetchMetadataKey();const authKey=thentyAuth.fetchAuthorizationKey();const[authorization,updateAuthorization]=useState(thentyAuth.fetchAuthorization());const[siteMeta,updateSiteMeta]=useState(thentyAuth.fetchMetadata());useEffect(()=>{// Event listener callback\nconst handleStorageChange=event=>{const eventKey=event.detail?.key??event.key;const eventNewValue=event.detail?.newValue??event.newValue;try{if(eventKey===authKey){updateAuthorization(typeof eventNewValue===\"string\"?JSON.parse(eventNewValue):eventNewValue);}else if(eventKey===metaKey){updateSiteMeta(typeof eventNewValue===\"string\"?JSON.parse(eventNewValue):eventNewValue);}}catch(error){console.error(\"Failed to handle Thenty storage change\");}};window.addEventListener(\"storage\",handleStorageChange);return()=>{window.removeEventListener(\"storage\",handleStorageChange);};},[]);return{authorization,siteMeta};};export const hasProducts=(productIds=[])=>{const{authorization}=useThenty();const canAccess=useMemo(()=>{return thentyAuth.checkForProduct(productIds);},[authorization,productIds]);return canAccess;};export const fetchUserData=()=>{const{authorization}=useThenty();const userData=authorization?.member??null;return{loggedIn:!!userData,userData};};// const clearQueryParams = () => {\n//     if (window?.history?.replaceState) {\n//         const newUrl = window.location.pathname\n//         window.history.replaceState(null, \"\", newUrl)\n//     }\n// }\nconst clearQueryParams=()=>{if(window?.history?.replaceState){const url=new URL(window.location.href);url.searchParams.delete(\"code\");url.searchParams.delete(\"token\");window.history.replaceState(null,\"\",url.toString());}};export const useSSO=planIdOverride=>{const[firstRender,setFirstRender]=useState(true);const[isLoadingGoogle,setIsLoadingGoogle]=useState(false);useEffect(()=>{if(firstRender){const searchParams=window?.location?new URLSearchParams(window?.location?.search):{};clearQueryParams();setFirstRender(false);if(thentyAuth.isGoogleRedirect(searchParams)){setIsLoadingGoogle(true);thentyAuth.fetchGoogleCallback(planIdOverride,searchParams);}}},[firstRender]);return{isLoadingGoogle};};const HideElementComponent=/*#__PURE__*/forwardRef(({},ref)=>{return /*#__PURE__*/_jsx(\"div\",{ref:ref,className:HIDDEN_CLASS_NAME});});export const HideElement=withCSS(HideElementComponent,[`div:has(> .${HIDDEN_CLASS_NAME}) { display: none; }`,`.${HIDDEN_CLASS_NAME} { display: none; }`],HIDDEN_CLASS_NAME);HideElement.displayName=\"Hide Element\";export const HiddenComponentLabel=/*#__PURE__*/forwardRef(({text,subtext=\"\",children=null,...otherProps},ref)=>{const isCanvas=RenderTarget.current()===RenderTarget.canvas;return isCanvas?/*#__PURE__*/_jsxs(\"div\",{...otherProps,ref:ref,className:CANVAS_HIDDEN_CLASS_NAME,style:{backgroundColor:\"rgba(187, 187, 187, 0.15)\",borderRadius:10,padding:\"12px 16px\",fontFamily:\"Inter\",fontWeight:500,fontSize:12,color:\"#999\",display:\"flex\",flexDirection:\"column\",gap:6,alignItems:\"center\",textAlign:\"center\",width:\"100%\",height:\"100%\",textWrap:\"nowrap\"},children:[text,subtext&&/*#__PURE__*/_jsx(\"span\",{style:{opacity:.7,whiteSpace:\"pre\",lineHeight:1.4},children:subtext}),children,/*#__PURE__*/_jsx(Border,{width:\"1px\",style:\"solid\",borderColor:\"rgba(136, 136, 136, 0.1)\"}),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`[data-framer-component-container=\"true\"] div:has(> .${CANVAS_HIDDEN_CLASS_NAME}) { display: none !important; }`}})]}):/*#__PURE__*/_jsx(\"div\",{...otherProps,ref:ref,className:HIDDEN_CLASS_NAME,children:/*#__PURE__*/_jsx(HideElement,{})});});HiddenComponentLabel.displayName=\"Hidden Component Label\";export function Border({border,hoverState=null,hover=false,transition=null}){const hoverBorder=hoverState?.border??border;return hoverBorder?/*#__PURE__*/_jsx(motion.div,{animate:{borderColor:hover?hoverBorder.borderColor:border?.borderColor,borderWidth:hover?hoverBorder.borderWidth:border?.borderWidth,opacity:hover?1:border?1:0},style:{position:\"absolute\",inset:0,borderStyle:hover?hoverBorder.borderStyle:border?.borderStyle,borderRadius:\"inherit\",pointerEvents:\"none\"},initial:false,transition:transition||hoverState?.transition}):null;}export function fillProp({optional=false,defaultValue=true,hidden=null,color=\"#F3F3F3\",colorA=\"#FFFFFF\",colorB=\"#000000\"}={}){return{type:ControlType.Object,optional,hidden,icon:\"color\",defaultValue:defaultValue?{type:\"color\",color,colorA,colorB}:null,controls:{type:{type:ControlType.Enum,defaultValue:\"color\",options:[\"color\",\"linearGradient\"],optionTitles:[\"Color\",\"Gradient\"],displaySegmentedControl:true},color:{type:ControlType.Color,defaultValue:color,hidden:props=>props.type!==\"color\"},colorA:{type:ControlType.Color,defaultValue:colorA,title:\"Colors\",hidden:props=>props.type!==\"linearGradient\"},colorB:{type:ControlType.Color,defaultValue:colorB,title:\" \",hidden:props=>props.type!==\"linearGradient\"},gradientAngle:{type:ControlType.Number,defaultValue:0,title:\"Angle\",step:1,min:0,max:360,unit:\"\\xb0\",hidden:props=>props.type!=\"linearGradient\"}}};}export function createBackground(fill){return fill.type===\"linearGradient\"?`linear-gradient(${fill.gradientAngle}deg, ${fill.colorB}, ${fill.colorA})`:fill.color;}export function stateStyleProp({defaultFill=\"#EDEDED\"}={defaultFill:\"#EDEDED\"}){const fill=fillProp({optional:true,color:defaultFill});return{type:ControlType.Object,optional:true,icon:\"effect\",buttonTitle:\"Styles\",defaultValue:{fill:fill.defaultValue,radiusEnabled:false,radius:\"10px\"},controls:{fill,color:{type:ControlType.Color,optional:true},border:{type:ControlType.Border,optional:true},shadows:{type:ControlType.BoxShadow},radiusEnabled:{type:ControlType.Boolean,defaultValue:false,title:\"Radius\"},radius:{type:ControlType.BorderRadius,defaultValue:\"10px\",title:\" \",hidden:props=>!props.radiusEnabled}}};}export const transitionProp=()=>({type:ControlType.Transition,defaultValue:{type:\"spring\",duration:.2,bounce:0}});export function Icon({image,color,size,style={},defaultImage}){return /*#__PURE__*/_jsx(\"div\",{style:{width:size,height:size,minWidth:size,minHeight:size,pointerEvents:\"none\",backgroundColor:color,backgroundImage:color?\"none\":image?`url('${image}')`:defaultImage,maskImage:image?`url('${image}')`:defaultImage,backgroundSize:\"contain\",backgroundPosition:\"center\",maskSize:\"contain\",maskPosition:\"center\",...style}});}export function compileHoverStyle(hover){const whileHover={};if(hover){if(hover.fill){whileHover.background=createBackground(hover.fill);}if(hover.color){whileHover.color=hover.color;}if(hover.shadows){whileHover.boxShadow=hover.shadows;}if(hover.radiusEnabled){whileHover.borderRadius=hover.radius;}}return whileHover;}export function styleLayer(layer,style){layer=Array.isArray(layer)?layer[0]:layer;let newLayer=layer;const width=style?.width;const height=style?.height;if(layer&&layer.props&&style&&(width||height)){if(typeof layer.type===\"function\"&&typeof layer.props.children===\"object\"){newLayer=/*#__PURE__*/cloneElement(layer,{children:{...layer.props.children,props:{...layer.props.children.props,style:{...layer.props.children.props.style,...width&&{width},...height&&{height}}}}});}else{newLayer=/*#__PURE__*/cloneElement(layer,{style:{...layer.props.style,...width&&{width},...height&&{height}}});}}return newLayer;}export function EmptyState({title,subtitle}){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",width:\"100%\",height:\"100%\",flexDirection:\"column\",alignContent:\"center\",justifyContent:\"center\",gap:12,backgroundColor:\"rgba(255, 74, 41, 0.1)\",borderRadius:6,border:\"1px dashed rgb(255, 74, 41)\",color:\"rgb(255, 74, 41)\",fontSize:16,padding:20,minHeight:200,textWrap:\"balance\",maxWidth:\"100%\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:\"row\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(ThentyLogo,{})}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:8,width:\"100%\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontWeight:600,textAlign:\"center\",maxWidth:500},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,opacity:.7,lineHeight:1.5,textAlign:\"center\",maxWidth:500},children:subtitle})]})]});}EmptyState.displayName=\"Empty State\";export function ThentyLogo(){return /*#__PURE__*/_jsxs(\"svg\",{width:\"74\",height:\"19\",viewBox:\"0 0 111 29\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:[/*#__PURE__*/_jsxs(\"g\",{\"clip-path\":\"url(#clip0_115_8)\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M34.807 5.70097H30.823V9.82197H27.876V13.137H30.823V19.345C30.823 22.447 32.643 24.225 35.816 24.225C36.965 24.225 37.852 24.035 38.785 23.584L38.847 23.555V20.157L38.684 20.241C38.112 20.532 37.473 20.68 36.827 20.672C35.449 20.672 34.808 19.984 34.808 18.508V13.137H38.981V9.82197H34.808L34.807 5.70097ZM48.317 9.56197C46.657 9.56197 45.356 10.164 44.252 11.452V5.02197H40.239V23.964H44.252V16.272C44.252 14.274 45.305 12.985 46.927 12.985C48.545 12.985 49.381 14.028 49.381 16.089V23.964H53.367V14.858C53.367 11.592 51.432 9.56197 48.317 9.56197ZM69.057 17.796C69.403 15.498 68.819 13.377 67.412 11.826C66.089 10.366 64.156 9.56197 61.964 9.56197C57.709 9.56197 54.623 12.624 54.623 16.841C54.623 21.244 57.591 24.198 62.019 24.198C65.643 24.198 68.199 22.368 69.028 19.161L69.061 19.032H65.073L65.052 19.106C64.625 20.454 63.52 21.198 61.936 21.198C60.104 21.198 58.997 20.053 58.729 17.884H69.044L69.057 17.796ZM58.787 15.38C59.128 13.45 60.195 12.432 61.879 12.432C63.561 12.432 64.679 13.56 64.821 15.38H58.787ZM78.489 9.56197C76.757 9.56197 75.255 10.266 74.123 11.604V9.82397H70.411V23.965H74.424V16.27C74.424 14.273 75.477 12.984 77.097 12.984C78.717 12.984 79.553 14.028 79.553 16.088V23.964H83.539V14.858C83.539 11.592 81.604 9.56197 78.489 9.56197ZM91.173 5.70097H87.189V9.82197H84.243V13.137H87.189V19.345C87.189 22.447 89.009 24.225 92.184 24.225C93.333 24.225 94.219 24.035 95.153 23.584L95.213 23.555V20.157L95.052 20.241C94.48 20.532 93.841 20.68 93.195 20.672C91.817 20.672 91.176 19.984 91.176 18.508V13.137H95.351V9.82197H91.175L91.173 5.70097ZM107.028 9.82397L103.773 19.16L100.197 9.82397H95.867L101.641 23.704L99.525 29H103.883L111.056 9.82397H107.028Z\",fill:\"#FF4A29\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M19.933 14.528V5C14.429 5 9.967 9.267 9.967 14.528V5.056C4.463 5.056 0 9.321 0 14.584H4.955V24.052C4.955 24.055 4.956 24.056 4.959 24.056C10.46 24.056 14.921 19.788 14.921 14.528H19.933Z\",fill:\"#FF4A29\"})]}),/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsx(\"clipPath\",{id:\"clip0_115_8\",children:/*#__PURE__*/_jsx(\"rect\",{width:\"111\",height:\"29\",fill:\"white\"})})})]});}ThentyLogo.displayName=\"Thenty Logo\";export function textOptionsToStyles({transform,decoration,balance,userSelect}){return{userSelect:userSelect?\"auto\":\"none\",textDecoration:decoration,textWrap:balance?\"balance\":undefined,textTransform:transform};}export function textOptions({title=\"Options\"}={title:\"Options\"}){return{type:ControlType.Object,title,controls:{transform:{type:ControlType.Enum,defaultValue:\"none\",options:[\"none\",\"inherit\",\"capitalize\",\"uppercase\",\"lowercase\"],optionTitles:[\"None\",\"Inherit\",\"Capitalize\",\"Uppercase\",\"Lowercase\"]},decoration:{type:ControlType.Enum,defaultValue:\"none\",options:[\"none\",\"underline\",\"line-through\"],optionTitles:[\"None\",\"Underline\",\"Strikethrough\"]},balance:{type:ControlType.Boolean,defaultValue:false},userSelect:{type:ControlType.Boolean,defaultValue:true},tag:{type:ControlType.Enum,defaultValue:\"p\",options:[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"p\",\"span\"]}}};}export const StandardButton=/*#__PURE__*/forwardRef(({children,href,newTab,fill,color,radius,padding,shadows,decoration,hover,border,bgBlur,transition,font,gap,clickEvent,hoverEvent,style,onClick,loadingSpinner,loading=false,...props},ref)=>{const MotionTag=href?motion.a:motion.button;const[buttonHover,setButtonHover]=useState(false);const handleClick=()=>{clickEvent?.();onClick?.();};const onHoverStart=()=>{setButtonHover(true);hoverEvent?.();};const onHoverEnd=()=>{setButtonHover(false);};const element=/*#__PURE__*/_jsxs(MotionTag,{ref:ref,href:href,target:newTab?\"_blank\":undefined,type:\"button\",onClick:handleClick,onHoverStart:onHoverStart,onHoverEnd:onHoverEnd,style:{appearance:\"none\",border:\"none\",outline:\"none\",userSelect:\"none\",cursor:\"pointer\",...style,...font},animate:{background:createBackground(fill),color,borderRadius:radius,padding,boxShadow:shadows,backdropFilter:bgBlur?`blur(${bgBlur}px)`:undefined},whileHover:compileHoverStyle(hover),initial:false,transition:transition,...props,children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"row\",alignItems:\"center\",justifyContent:ALIGNMENT_MAP[font?.textAlign]||\"center\",textAlign:\"center\",gap,opacity:loading&&loadingSpinner&&loadingSpinner.location===\"center\"?0:1},children:children}),loading&&loadingSpinner&&/*#__PURE__*/_jsx(LoadingSpinner,{...loadingSpinner,color:loadingSpinner.color||color,padding:padding}),/*#__PURE__*/_jsx(Border,{border:border,hoverState:hover,hover:buttonHover,transition:transition})]});return href?/*#__PURE__*/_jsx(Link,{href:href,openInNewTab:newTab,children:element}):element;});export function standardButtonPropertyControls({defaultColor=\"#000000\",defaultFill=\"#F3F3F3\",defaultHoverFill=\"EDEDED\",hasDefaultBorder=true,loadingSpinner=false,defaultLoadingSpinnerLocation=\"center\",iconProps={}}){return{font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.4}},color:{type:ControlType.Color,defaultValue:defaultColor},fill:fillProp({optional:true,color:defaultFill}),radius:{type:ControlType.BorderRadius,defaultValue:\"10px\"},padding:{type:ControlType.Padding,defaultValue:\"10px 15px 10px 15px\"},...iconProps,...loadingSpinner?{loadingSpinner:{type:ControlType.Object,title:\"Loading\",buttonTitle:\"Spinner\",controls:{size:{type:ControlType.Number,defaultValue:16,min:1,max:100,step:1},strokeWidth:{type:ControlType.Number,defaultValue:2,min:1,max:50,step:1,displayStepper:true,title:\"Stroke\"},color:{type:ControlType.Color,optional:true},rounded:{type:ControlType.Boolean,defaultValue:true},location:{type:ControlType.Enum,defaultValue:defaultLoadingSpinnerLocation,options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],displaySegmentedControl:true}}}}:{},border:{type:ControlType.Border,optional:true,defaultValue:hasDefaultBorder?{borderColor:\"rgba(0, 0, 0, 0.08)\",borderWidth:1,borderStyle:\"solid\"}:undefined},shadows:{type:ControlType.BoxShadow},bgBlur:{type:ControlType.Number,min:0,max:100,step:1,displayStepper:true,title:\"BG Blur\"},hover:stateStyleProp({defaultFill:defaultHoverFill}),transition:transitionProp(),hoverEvent:{type:ControlType.EventHandler,title:\"Hover\"},clickEvent:{type:ControlType.EventHandler,title:\"Click\"}};}export function useThentyForm(ref){const formRef=useRef(null);const[formState,setFormState]=useState(\"default\");const[formError,setFormError]=useState(null);useEffect(()=>{const onFormStateChange=event=>{if(Object.values(FormState).includes(event.detail)){setFormState(event.detail);}};const onError=event=>{setFormError(event.detail??null);};const updateFormRef=()=>{if(ref.current){const form=ref.current.closest(\"[data-thenty-form]\");formRef.current=form;if(form){const state=form.getAttribute(\"data-thenty-form-state\");if(Object.values(FormState).includes(state)){setFormState(state);}form.addEventListener(\"thenty-form-error\",onError);form.addEventListener(\"thenty-form-state-change\",onFormStateChange);}}};const onEvent=()=>{updateFormRef();};window.addEventListener(\"thenty-form-initialized\",onEvent);updateFormRef();return()=>{window.removeEventListener(\"thenty-form-initialized\",onEvent);if(formRef.current){formRef.current.removeEventListener(\"thenty-form-error\",onError);formRef.current.removeEventListener(\"thenty-form-state-change\",onFormStateChange);}};},[ref]);const fireFormEvent=(event,detail=null)=>{if(formRef.current){formRef.current.dispatchEvent(new CustomEvent(event,{detail}));}};const changeFormState=state=>{if(formRef.current){formRef.current.setAttribute(\"data-thenty-form-state\",state);fireFormEvent(\"thenty-form-state-change\",state);}};return{formRef,formState,formError,setFormState:changeFormState,fireFormEvent};}function LoadingSpinner({size=16,strokeWidth=2,color=\"#000000\",rounded=true,location=\"center\",padding=\"0px\"}){const[pt,pr,pb,pl]=parsePadding(padding);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"50%\",left:location===\"center\"?\"50%\":location===\"left\"?pl:undefined,right:location===\"right\"?pr:undefined,transform:location===\"center\"?\"translate(-50%, -50%)\":\"translateY(-50%)\",width:size,height:size,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(motion.div,{animate:{rotate:360},transition:{duration:1,repeat:Infinity,ease:\"linear\"},style:{position:\"absolute\",inset:0,borderRadius:\"50%\",background:`conic-gradient(transparent, ${color} 340deg)`,maskImage:`radial-gradient(transparent ${size/2-strokeWidth}px, white ${size/2-strokeWidth}px, white ${size/2}px, transparent ${size/2}px)`},children:strokeWidth<size/2&&rounded&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:(size-strokeWidth)/2,width:strokeWidth,height:strokeWidth,backgroundColor:color,borderRadius:\"50%\"}})})});}export function parsePadding(padding){if(typeof padding!==\"string\"){return[0,0,0,0];}const values=padding.split(\" \");const parsedValues=values.map(value=>parseInt(value.replace(\"px\",\"\"),10));switch(parsedValues.length){case 1:const p=parsedValues[0];return[p,p,p,p];case 4:return parsedValues;}return[0,0,0,0];}\nexport const __FramerMetadata__ = {\"exports\":{\"useInstanceId\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HiddenComponentLabel\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ALIGNMENT_MAP\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"styleLayer\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useThenty\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"stateStyleProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"StandardButton\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parsePadding\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ThentyLogo\":{\"type\":\"reactComponent\",\"name\":\"ThentyLogo\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"fetchUserData\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GoogleProductStateKey\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HideElement\":{\"type\":\"reactComponent\",\"name\":\"HideElement\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"fillProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasProducts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"transitionProp\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Events\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HIDDEN_CLASS_NAME\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Border\":{\"type\":\"reactComponent\",\"name\":\"Border\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useThentyForm\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"EmptyState\":{\"type\":\"reactComponent\",\"name\":\"EmptyState\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSSO\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FormState\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"textOptions\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"textOptionsToStyles\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createBackground\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Icon\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"compileHoverStyle\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"standardButtonPropertyControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ThentyShared.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,withCSS}from\"framer\";import{textOptions,textOptionsToStyles,fetchUserData}from\"https://framerusercontent.com/modules/diyk5889JEo4mM5y5sJr/k488EAt1FhWtVFD0n6vD/ThentyShared.js\";function UserDataLabelComponent({type,customFieldName,font,color,prefix,suffix,whenEmpty,emptyText,textOptions,style}){const Tag=textOptions.tag||\"p\";const{loggedIn,userData}=fetchUserData();let text=\"\";if(loggedIn&&userData){switch(type){case\"firstName\":text=userData.name?.split(\" \")[0]??\"\";break;case\"lastName\":text=userData.name?.split(\" \").slice(1).join(\" \")??\"\";break;case\"fullName\":text=userData.name;break;case\"email\":text=userData.email;break;case\"customField\":text=userData[customFieldName.startsWith(\"custom:\")?customFieldName:`custom:${customFieldName}`];break;}}if(!text){if(whenEmpty===\"hide\"){return /*#__PURE__*/_jsx(\"div\",{className:\"thenty-hide-element\"});}else{text=emptyText;}}return /*#__PURE__*/_jsxs(Tag,{style:{color,margin:0,whiteSpace:style?.width?undefined:\"nowrap\",fontWeight:400,textAlign:\"center\",...textOptionsToStyles(textOptions),...font,...style},children:[prefix,text,suffix]});}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */const UserDataLabel=withCSS(UserDataLabelComponent,[\".thenty-hide-element { display: none; }\",\"div:has(> .thenty-hide-element) { display: none; }\"],\"thenty\");export default UserDataLabel;UserDataLabel.displayName=\"User Data Label\";addPropertyControls(UserDataLabel,{type:{type:ControlType.Enum,options:[\"firstName\",\"lastName\",\"fullName\",\"email\",\"customField\"],optionTitles:[\"First Name\",\"Last Name\",\"Full Name\",\"Email\",\"Custom Field\"],defaultValue:\"firstName\"},customFieldName:{type:ControlType.String,defaultValue:\"custom:\",title:\"Field Name\",placeholder:\"Custom Field Name\",hidden:props=>props.type!==\"customField\"},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.4,textAlign:\"center\"}},color:{type:ControlType.Color,defaultValue:\"#000000\"},prefix:{type:ControlType.String,defaultValue:\"\"},suffix:{type:ControlType.String,defaultValue:\"\"},whenEmpty:{type:ControlType.Enum,defaultValue:\"text\",options:[\"hide\",\"text\"],optionTitles:[\"Hide\",\"Text\"],displaySegmentedControl:true,title:\"Empty\"},emptyText:{type:ControlType.String,defaultValue:\"Empty\",title:\"Text\",placeholder:\"Empty State Text\",hidden:props=>props.whenEmpty!==\"text\"},textOptions:textOptions()});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"UserDataLabel\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"oTAAM,EAAS,+FAAqG,EAAN,KAAe,CAAC,aAAa,CAAC,QAAQ,IAAI,sBAAsB,CAAQ,EAAE,KAAK,OAAO,uBAAuB,CAAC,uBAAuB,CAAC,OAA0B,IAApB,OAA2B,IAAI,GAAQ,SAAS,IAAI,IAAI,EAAO,SAAS,MAAM,EAAE,GAAA,CAAI,KAAK,gBAAgB,CAAC,oBAAoB,CAAC,IAAI,EAAE,OAAmB,OAAO,aAApB,MAAmC,EAAE,aAAa,QAAQ,KA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