{"version":3,"file":"AxrMGRvAH.DPO2Hvq2.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/UR80PjWFq4OzMu0vtI3n/Qe0Qf6sXWtBxZgBiYDRi/AxrMGRvAH.js"],"sourcesContent":["// Generated by Framer (508aa67)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const enabledGestures={uxOcZQPaZ:{hover:true,pressed:true},yaf8SYkk6:{hover:true,pressed:true}};const cycleOrder=[\"yaf8SYkk6\",\"uxOcZQPaZ\"];const serializationHash=\"framer-dYikw\";const variantClassNames={uxOcZQPaZ:\"framer-v-ay9bvt\",yaf8SYkk6:\"framer-v-1h6gkm3\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={delay:0,duration:.15,ease:[.44,0,.56,1],type:\"tween\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion(React.Fragment);const humanReadableVariantMap={Bordered:\"uxOcZQPaZ\",Standard:\"yaf8SYkk6\"};const getProps=({height,id,label,link,tap,width,...props})=>{var _ref,_humanReadableVariantMap_props_variant,_ref1;return{...props,e4qhL8j9w:(_ref=label!==null&&label!==void 0?label:props.e4qhL8j9w)!==null&&_ref!==void 0?_ref:\"登録する\",EvctLLAHy:link!==null&&link!==void 0?link:props.EvctLLAHy,HJx_mlDCD:tap!==null&&tap!==void 0?tap:props.HJx_mlDCD,variant:(_ref1=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref1!==void 0?_ref1:\"yaf8SYkk6\"};};const createLayoutDependency=(props,variants)=>variants.join(\"-\")+props.layoutDependency;const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,HJx_mlDCD,e4qhL8j9w,EvctLLAHy,...restProps}=getProps(props);const{baseVariant,classNames,gestureVariant,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"yaf8SYkk6\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1o0j6rm=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(HJx_mlDCD){const res=await HJx_mlDCD(...args);if(res===false)return false;}});const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:EvctLLAHy,openInNewTab:false,...addPropertyOverrides({uxOcZQPaZ:{smoothScroll:true}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.a,{...restProps,className:`${cx(serializationHash,...sharedStyleClassNames,\"framer-1h6gkm3\",className,classNames)} framer-1tiy1ej`,\"data-framer-name\":\"Standard\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"yaf8SYkk6\",onHoverEnd:()=>setGestureState({isHovered:false}),onHoverStart:()=>setGestureState({isHovered:true}),onTap:onTap1o0j6rm,onTapCancel:()=>setGestureState({isPressed:false}),onTapStart:()=>setGestureState({isPressed:true}),ref:ref!==null&&ref!==void 0?ref:ref1,style:{\"--border-bottom-width\":\"0px\",\"--border-color\":\"rgba(0, 0, 0, 0)\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0px\",background:'linear-gradient(133deg, var(--token-835ca85d-eb6e-4dd1-8fa3-da82333966d4, rgb(255, 182, 46)) /* {\"name\":\"Gradation-1\"} */ 0%, var(--token-027a2760-074e-43a8-963f-52ed80271e1d, rgb(255, 56, 139)) /* {\"name\":\"Gradation-11\"} */ 100%)',borderBottomLeftRadius:16,borderBottomRightRadius:16,borderTopLeftRadius:16,borderTopRightRadius:16,boxShadow:\"none\",...style},variants:{\"uxOcZQPaZ-hover\":{background:\"linear-gradient(163deg, #FF9900 0%, #FD127B 100%)\"},\"uxOcZQPaZ-pressed\":{\"--border-color\":\"rgb(255, 255, 255)\",background:\"linear-gradient(163deg, #FF9900 0%, #FD127B 100%)\"},\"yaf8SYkk6-hover\":{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgba(34, 34, 34, 0.3)\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0px\",background:\"linear-gradient(154deg, hsl(36, 100%, 50%) 0%, hsl(333, 98%, 53%) 100%)\",boxShadow:\"0px 0.3613123810646357px 0.3613123810646357px -1px rgba(249, 255, 194, 0.29986), 0px 1.3731199819460742px 1.3731199819460742px -2px rgba(249, 255, 194, 0.28266), 0px 6px 6px -3px rgba(249, 255, 194, 0.204)\"},\"yaf8SYkk6-pressed\":{\"--border-bottom-width\":\"0px\",\"--border-color\":\"rgba(34, 34, 34, 0.4)\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",background:\"linear-gradient(154deg, hsl(30, 100%, 50%) 0%, hsl(339, 98%, 53%) 100%)\"},uxOcZQPaZ:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgba(255, 255, 255, 0.7)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\"}},...addPropertyOverrides({\"uxOcZQPaZ-hover\":{\"data-framer-name\":undefined},\"uxOcZQPaZ-pressed\":{\"data-framer-name\":undefined},\"yaf8SYkk6-hover\":{\"data-border\":true,\"data-framer-name\":undefined},\"yaf8SYkk6-pressed\":{\"data-border\":true,\"data-framer-name\":undefined},uxOcZQPaZ:{\"data-border\":true,\"data-framer-name\":\"Bordered\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7UG9wcGlucy03MDA=\",\"--framer-font-family\":'\"Poppins\", \"Poppins Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"700\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"登録する\"})}),className:\"framer-19td4ff\",fonts:[\"GF;Poppins-700\"],layoutDependency:layoutDependency,layoutId:\"d_bEZuw6r\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",textShadow:\"0px 1px 3px rgba(0, 0, 0, 0.2)\"},text:e4qhL8j9w,variants:{\"uxOcZQPaZ-hover\":{textShadow:\"0px 1px 1px rgba(0, 0, 0, 0.6)\"},\"uxOcZQPaZ-pressed\":{textShadow:\"none\"},\"yaf8SYkk6-hover\":{textShadow:\"0px 1px 1px rgba(0, 0, 0, 0.6)\"},\"yaf8SYkk6-pressed\":{textShadow:\"0px 0px 0px rgba(0, 0, 0, 0.6)\"}},verticalAlignment:\"top\",withExternalLayout:true})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-dYikw.framer-1tiy1ej, .framer-dYikw .framer-1tiy1ej { display: block; }\",\".framer-dYikw.framer-1h6gkm3 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 32px; justify-content: center; padding: 0px 16px 0px 16px; position: relative; text-decoration: none; width: min-content; }\",\".framer-dYikw .framer-19td4ff { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-dYikw.framer-1h6gkm3 { gap: 0px; } .framer-dYikw.framer-1h6gkm3 > * { margin: 0px; margin-bottom: calc(10px / 2); margin-top: calc(10px / 2); } .framer-dYikw.framer-1h6gkm3 > :first-child { margin-top: 0px; } .framer-dYikw.framer-1h6gkm3 > :last-child { margin-bottom: 0px; } }\",'.framer-dYikw[data-border=\"true\"]::after, .framer-dYikw [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 32\n * @framerIntrinsicWidth 88\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"uxOcZQPaZ\":{\"layout\":[\"auto\",\"fixed\"]},\"qqxR_Y7kY\":{\"layout\":[\"auto\",\"fixed\"]},\"gILzj79aw\":{\"layout\":[\"auto\",\"fixed\"]},\"C1_VeeNjY\":{\"layout\":[\"auto\",\"fixed\"]},\"pgIVwNIsO\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"HJx_mlDCD\":\"tap\",\"e4qhL8j9w\":\"label\",\"EvctLLAHy\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerAxrMGRvAH=withCSS(Component,css,\"framer-dYikw\");export default FramerAxrMGRvAH;FramerAxrMGRvAH.displayName=\"AI button JP\";FramerAxrMGRvAH.defaultProps={height:32,width:88};addPropertyControls(FramerAxrMGRvAH,{variant:{options:[\"yaf8SYkk6\",\"uxOcZQPaZ\"],optionTitles:[\"Standard\",\"Bordered\"],title:\"Variant\",type:ControlType.Enum},HJx_mlDCD:{title:\"Tap\",type:ControlType.EventHandler},e4qhL8j9w:{defaultValue:\"登録する\",displayTextArea:false,title:\"Label\",type:ControlType.String},EvctLLAHy:{title:\"Link\",type:ControlType.Link}});addFonts(FramerAxrMGRvAH,[{explicitInter:true,fonts:[{family:\"Poppins\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/poppins/v21/pxiByp8kv8JHgFVrLCz7V15vFP-KUEg.woff2\",weight:\"700\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerAxrMGRvAH\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"HJx_mlDCD\\\":\\\"tap\\\",\\\"e4qhL8j9w\\\":\\\"label\\\",\\\"EvctLLAHy\\\":\\\"link\\\"}\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"32\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"uxOcZQPaZ\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"qqxR_Y7kY\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"gILzj79aw\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"C1_VeeNjY\\\":{\\\"layout\\\":[\\\"auto\\\",\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