{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/POpw7gp3Bv7gSyt5ppFO/MfT2pzyQfNgotd21sQUb/Sale_destination.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const departures=[\"\u6771\u4EAC\u767A\",\"\u95A2\u897F\u767A\",\"\u4E2D\u90E8\u767A\",\"\u798F\u5CA1\u767A\"];const accentColor=\"#00CD68\";const activeBg=\"rgba(48, 180, 108, 0.125)\";export function DepartureSelector(props){const{current,tokyoLink,kansaiLink,chubuLink,fukuokaLink}=props;const links={\u6771\u4EAC\u767A:tokyoLink,\u95A2\u897F\u767A:kansaiLink,\u4E2D\u90E8\u767A:chubuLink,\u798F\u5CA1\u767A:fukuokaLink};return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",display:\"flex\",justifyContent:\"center\",marginTop:8},children:/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",border:`1px solid ${accentColor}`,borderRadius:999,overflow:\"hidden\",fontSize:14,fontWeight:700,maxWidth:\"100%\",width:400},children:departures.map((label,index)=>{const isActive=label===current;const href=links[label]||\"#\";const isFirst=index===0;const isLast=index===departures.length-1;const paddingLeft=16+(isFirst?2:0);const paddingRight=16+(isLast?2:0);return /*#__PURE__*/_jsx(\"a\",{href:href,style:{flex:1,padding:`10px ${paddingRight}px 10px ${paddingLeft}px`,textDecoration:\"none\",color:\"#1f1f1f\",backgroundColor:isActive?activeBg:\"transparent\",fontWeight:700,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",whiteSpace:\"nowrap\",transition:\"opacity 0.2s, background-color 0.2s\",borderRight:!isLast?`1px solid ${accentColor}`:\"none\",cursor:\"pointer\"},onMouseEnter:e=>e.currentTarget.style.opacity=\"0.7\",onMouseLeave:e=>e.currentTarget.style.opacity=\"1\",children:label},label);})})});}addPropertyControls(DepartureSelector,{current:{type:ControlType.Enum,title:\"\u73FE\u5728\u306E\u51FA\u767A\u5730\",options:departures,defaultValue:\"\u6771\u4EAC\u767A\"},tokyoLink:{type:ControlType.Link,title:\"\u6771\u4EAC\u767A\u306E\u30EA\u30F3\u30AF\",defaultValue:\"/tokyo\"},kansaiLink:{type:ControlType.Link,title:\"\u95A2\u897F\u767A\u306E\u30EA\u30F3\u30AF\",defaultValue:\"/kansai\"},chubuLink:{type:ControlType.Link,title:\"\u4E2D\u90E8\u767A\u306E\u30EA\u30F3\u30AF\",defaultValue:\"/chubu\"},fukuokaLink:{type:ControlType.Link,title:\"\u798F\u5CA1\u767A\u306E\u30EA\u30F3\u30AF\",defaultValue:\"/fukuoka\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"DepartureSelector\":{\"type\":\"reactComponent\",\"name\":\"DepartureSelector\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Sale_destination.map"],
  "mappings": "yFAA+F,IAAMA,EAAW,CAAC,qBAAM,qBAAM,qBAAM,oBAAK,EAAQC,EAAY,UAAgBC,EAAS,4BAAmC,SAASC,EAAkBC,EAAM,CAAC,GAAK,CAAC,QAAAC,EAAQ,UAAAC,EAAU,WAAAC,EAAW,UAAAC,EAAU,YAAAC,CAAW,EAAEL,EAAYM,EAAM,CAAC,mBAAIJ,EAAU,mBAAIC,EAAW,mBAAIC,EAAU,mBAAIC,CAAW,EAAE,OAAoBE,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,QAAQ,OAAO,eAAe,SAAS,UAAU,CAAC,EAAE,SAAsBA,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,OAAO,aAAaV,CAAW,GAAG,aAAa,IAAI,SAAS,SAAS,SAAS,GAAG,WAAW,IAAI,SAAS,OAAO,MAAM,GAAG,EAAE,SAASD,EAAW,IAAI,CAACY,EAAMC,IAAQ,CAAC,IAAMC,EAASF,IAAQP,EAAcU,EAAKL,EAAME,CAAK,GAAG,IAAUI,EAAQH,IAAQ,EAAQI,EAAOJ,IAAQb,EAAW,OAAO,EAAQkB,EAAY,IAAIF,EAAQ,EAAE,GAASG,EAAa,IAAIF,EAAO,EAAE,GAAG,OAAoBN,EAAK,IAAI,CAAC,KAAKI,EAAK,MAAM,CAAC,KAAK,EAAE,QAAQ,QAAQI,CAAY,WAAWD,CAAW,KAAK,eAAe,OAAO,MAAM,UAAU,gBAAgBJ,EAASZ,EAAS,cAAc,WAAW,IAAI,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,WAAW,SAAS,WAAW,sCAAsC,YAAae,EAAkC,OAA3B,aAAahB,CAAW,GAAU,OAAO,SAAS,EAAE,aAAamB,GAAGA,EAAE,cAAc,MAAM,QAAQ,MAAM,aAAaA,GAAGA,EAAE,cAAc,MAAM,QAAQ,IAAI,SAASR,CAAK,EAAEA,CAAK,CAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAACS,EAAoBlB,EAAkB,CAAC,QAAQ,CAAC,KAAKmB,EAAY,KAAK,MAAM,uCAAS,QAAQtB,EAAW,aAAa,oBAAK,EAAE,UAAU,CAAC,KAAKsB,EAAY,KAAK,MAAM,6CAAU,aAAa,QAAQ,EAAE,WAAW,CAAC,KAAKA,EAAY,KAAK,MAAM,6CAAU,aAAa,SAAS,EAAE,UAAU,CAAC,KAAKA,EAAY,KAAK,MAAM,6CAAU,aAAa,QAAQ,EAAE,YAAY,CAAC,KAAKA,EAAY,KAAK,MAAM,6CAAU,aAAa,UAAU,CAAC,CAAC",
  "names": ["departures", "accentColor", "activeBg", "DepartureSelector", "props", "current", "tokyoLink", "kansaiLink", "chubuLink", "fukuokaLink", "links", "p", "label", "index", "isActive", "href", "isFirst", "isLast", "paddingLeft", "paddingRight", "e", "addPropertyControls", "ControlType"]
}
