{"version":3,"file":"js/chunk.c02bf1b5f7a72498.js","mappings":"6SA0DA,EAhD8E,SAC5EA,GAEA,OACE,gCACkB,SAAfA,EAAMC,OACL,eACEC,KAAK,mBACLC,UAAU,4FACVC,OAAO,SAAQ,WAEf,iBAAKD,UAAU,iCAAgC,WAC7C,gBAAKA,UAAU,0BAA0BE,IAAKC,KAC9C,iBAAMH,UAAU,eAAc,SAAEH,EAAMO,YAExC,gBAAKJ,UAAU,gBAAgBE,IAAKG,OAGxB,WAAfR,EAAMC,OACL,SAACQ,EAAA,EAAgB,CACfC,QAAS,WAAO,EAChBC,SACE,iBAAKR,UAAU,4FAA2F,WACxG,iBAAKA,UAAU,iCAAgC,WAC7C,gBAAKA,UAAU,0BAA0BE,IAAKO,KAC9C,iBAAMT,UAAU,eAAc,SAAEH,EAAMO,YAExC,gBAAKJ,UAAU,gBAAgBE,IAAKG,SAK5B,aAAfR,EAAMC,OACL,eACEC,KAAK,wBACLC,UAAU,4FAA2F,WAErG,iBAAKA,UAAU,iCAAgC,WAC7C,gBAAKA,UAAU,0BAA0BE,IAAKQ,KAC9C,iBAAMV,UAAU,eAAc,SAAEH,EAAMO,YAExC,gBAAKJ,UAAU,gBAAgBE,IAAKG,SAK9C,C","sources":["webpack:///./src/components/group/GroupHomepageControlButton/index.tsx"],"sourcesContent":["import activitySvg from '@/static/imgs/activity.svg';\nimport arrowSvg from '@/static/imgs/arrow.svg';\nimport createSvg from '@/static/imgs/create.svg';\nimport postSvg from '@/static/imgs/post.svg';\nimport GroupCreateModal from '../GroupCreateModal';\n\ntype GroupHomepageControlButtonProps = {\n  type: 'post' | 'create' | 'activity';\n  title: string;\n};\nconst GroupHomepageControlButton: React.FC<GroupHomepageControlButtonProps> = (\n  props,\n) => {\n  return (\n    <>\n      {props.type === 'post' && (\n        <a\n          href=\"/group/new-post/\"\n          className=\"h-76px cursor-pointer px-20px bg-hex-e5eef4 rounded-6px flex justify-between items-center\"\n          target=\"_blank\"\n        >\n          <div className=\"space-x-16px flex items-center\">\n            <img className=\"h-36px w-36px text-36px\" src={postSvg} />\n            <span className=\"text-hex-000\">{props.title}</span>\n          </div>\n          <img className=\"w-10px h-20px\" src={arrowSvg} />\n        </a>\n      )}\n      {props.type === 'create' && (\n        <GroupCreateModal\n          onFinsh={() => {}}\n          trigger={\n            <div className=\"h-76px cursor-pointer px-20px bg-hex-eaedf9 rounded-6px flex justify-between items-center\">\n              <div className=\"space-x-16px flex items-center\">\n                <img className=\"h-36px w-36px text-36px\" src={createSvg} />\n                <span className=\"text-hex-000\">{props.title}</span>\n              </div>\n              <img className=\"w-10px h-20px\" src={arrowSvg} />\n            </div>\n          }\n        />\n      )}\n      {props.type === 'activity' && (\n        <a\n          href=\"/activity/activities/\"\n          className=\"h-76px cursor-pointer px-20px bg-hex-f9efe8 rounded-6px flex justify-between items-center\"\n        >\n          <div className=\"space-x-16px flex items-center\">\n            <img className=\"h-36px w-36px text-36px\" src={activitySvg} />\n            <span className=\"text-hex-000\">{props.title}</span>\n          </div>\n          <img className=\"w-10px h-20px\" src={arrowSvg} />\n        </a>\n      )}\n    </>\n  );\n};\n\nexport default GroupHomepageControlButton;\n"],"names":["props","type","href","className","target","src","postSvg","title","arrowSvg","GroupCreateModal","onFinsh","trigger","createSvg","activitySvg"],"sourceRoot":""}