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CACPC,OAAQ,CAAC,CAACP,EACVQ,MAAO,MACT,IAGF,IAAMhK,EAAS,CAAC2J,EAAQpjB,EAAMwjB,MAAA,CAAQxjB,EAAMyjB,KAAK,EAOjD,OAJAhK,EAAOzf,GAAA,CAAMyf,CAAA,CAAO,EAAC,CACrBA,EAAO+J,MAAA,CAAS/J,CAAA,CAAO,EAAC,CACxBA,EAAOgK,KAAA,CAAQhK,CAAA,CAAO,EAAC,CAEhBA,CACT,CF5EkCjiB,EAAAA,SAAA","sources":["webpack://_N_E/?5414","webpack://_N_E/../../node_modules/countup.js/dist/countUp.min.js","webpack://_N_E/../../node_modules/react-countup/build/index.js","webpack://_N_E/../common/__generated__/icon/figma/textfieldclose.svg","webpack://_N_E/../common/__generated__/icon/components/SvgTextfieldclose.tsx","webpack://_N_E/../common/components/atom/Indicator/Indicator.tsx","webpack://_N_E/./src/app/(allowed)/community/hometownNews/_components/HometownNewsBookmarkButton.tsx","webpack://_N_E/./src/app/(allowed)/community/hometownNews/_components/HometownNewsDaysAgo.tsx","webpack://_N_E/./src/app/(allowed)/community/hometownNews/[id]/_hooks/useGetHometownNewsRelatedList.tsx","webpack://_N_E/./src/app/(allowed)/community/hometownNews/_components/HometownNewsDetailBottomDrawer.tsx","webpack://_N_E/./src/app/(allowed)/community/hometownNews/_components/ImageFloatingBanner.tsx","webpack://_N_E/./src/app/(allowed)/community/hometownNews/_components/MoreFloatingButton.tsx","webpack://_N_E/./src/app/(allowed)/community/hometownNews/_components/RecommendHometownNewsCard.tsx","webpack://_N_E/./src/app/(allowed)/community/hometownNews/_components/RecommendHometownNewsVerticalCard.tsx","webpack://_N_E/./src/app/(allowed)/community/hometownNews/_components/RecommendHometownNews.tsx","webpack://_N_E/./src/app/(allowed)/community/hometownNews/_components/MoreHometownNewsList.tsx","webpack://_N_E/./src/app/(allowed)/community/hometownNews/_components/TopBanner.tsx","webpack://_N_E/./src/query-factory/auth.ts","webpack://_N_E/./src/query-factory/dpg.ts","webpack://_N_E/./src/query-factory/family.ts","webpack://_N_E/./src/query-factory/hometown-news.ts","webpack://_N_E/./src/query-factory/meta-code.ts","webpack://_N_E/./src/utils/redirectDetailPage.ts","webpack://_N_E/./src/api/getPolicyDetail.ts","webpack://_N_E/./src/query-factory/policy.ts","webpack://_N_E/./src/query-factory/policy-info.ts","webpack://_N_E/./src/query-factory/situation.ts","webpack://_N_E/./src/query-factory/index.ts","webpack://_N_E/./src/app/(allowed)/community/hometownNews/[id]/page.module.scss","webpack://_N_E/./src/app/(allowed)/community/hometownNews/_components/HometownNewsDetailBottomDrawer.module.scss","webpack://_N_E/../../node_modules/es-toolkit/dist/error/AbortError.mjs","webpack://_N_E/../../node_modules/es-toolkit/dist/promise/delay.mjs","webpack://_N_E/../../node_modules/es-toolkit/dist/error/TimeoutError.mjs","webpack://_N_E/../../node_modules/es-toolkit/dist/promise/timeout.mjs","webpack://_N_E/../../node_modules/es-toolkit/dist/promise/withTimeout.mjs","webpack://_N_E/../../node_modules/framer-motion/dist/es/animation/hooks/animation-controls.mjs","webpack://_N_E/../../node_modules/framer-motion/dist/es/animation/hooks/use-animation.mjs","webpack://_N_E/../src/InView.tsx","webpack://_N_E/../src/observe.ts","webpack://_N_E/../src/useInView.tsx"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-accordion/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-avatar/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-checkbox/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-collapsible/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-context-menu/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-dialog/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-form/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-hover-card/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-label/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-menubar/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-popover/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-portal/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-progress/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-radio-group/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-scroll-area/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-select/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-slider/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-switch/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-tabs/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-toast/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-toggle-group/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-toggle/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-toolbar/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/react-tooltip/dist/index.mjs\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"Avatar\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/themes/dist/esm/components/avatar.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/themes/dist/esm/components/callout.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/themes/dist/esm/components/checkbox-cards.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"Checkbox\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/themes/dist/esm/components/checkbox.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/themes/dist/esm/components/context-menu.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/themes/dist/esm/components/dropdown-menu.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/themes/dist/esm/components/radio-group.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"Radio\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/themes/dist/esm/components/radio.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/themes/dist/esm/components/select.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/themes/dist/esm/components/text-field.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"ThemePanel\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/themes/dist/esm/components/theme-panel.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@radix-ui/themes/dist/esm/components/theme.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"HydrationBoundary\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@tanstack/react-query/build/modern/HydrationBoundary.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"IsRestoringProvider\",\"useIsRestoring\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@tanstack/react-query/build/modern/isRestoring.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"QueryErrorResetBoundary\",\"useQueryErrorResetBoundary\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"useInfiniteQuery\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"useIsFetching\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@tanstack/react-query/build/modern/useIsFetching.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"useMutation\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@tanstack/react-query/build/modern/useMutation.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"useIsMutating\",\"useMutationState\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@tanstack/react-query/build/modern/useMutationState.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"useQueries\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@tanstack/react-query/build/modern/useQueries.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"useQuery\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@tanstack/react-query/build/modern/useQuery.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"useSuspenseInfiniteQuery\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"useSuspenseQueries\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@tanstack/react-query/build/modern/useSuspenseQueries.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"useSuspenseQuery\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/@tanstack/react-query/build/modern/useSuspenseQuery.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/next/dist/client/image-component.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"ToastContainer\",\"Slide\"] */ \"/codebuild/output/src3951433904/src/wello-client/node_modules/react-toastify/dist/react-toastify.esm.mjs\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/__generated__/icon/figma/add.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/__generated__/icon/figma/bookmark-fill.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/__generated__/icon/figma/bookmark.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/__generated__/icon/figma/chatbubble-typing.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/__generated__/icon/figma/like-fill.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/__generated__/icon/figma/like.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/__generated__/icon/figma/share-link.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/Badge/svg/apply-badge.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/Badge/svg/building-badge.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/Badge/svg/star-badge.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/Checkbox/Checkbox.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/Chip/Chip.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/DatePicker/DatePicker.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/DateRangePicker/DateRangePicker.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/Indicator/Indicator.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/Input/Input.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/InputDecorator/InputDecorator.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/Logo/svg/biz.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/Logo/svg/wello.svg\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/Modal/Modal.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/Radio/Radio.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/Slider/Slider.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/Tab/Tab.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/atom/TextArea/TextArea.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"FullHandledBottomDrawer\"] */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/organism/BottomDrawer/FullHandledBottomDrawer.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"BottomDrawer\"] */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/organism/BottomDrawer/index.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"CustomEditor\"] */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/organism/CustomEditor/index.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/organism/Popover/Popover.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/organism/Popover/UnControlledPopover.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/organism/Portal/Portal.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/organism/TestMark/TestMark.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/common/components/organism/Tooltip/Tooltip.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/public/assets/svgs/comment_off.svg\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"NonMemberContentsBlock\"] */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/app/_components/NonMemberContentsBlock.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"DownloadAppBanner\"] */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/app/(allowed)/community/_components/DownloadAppBanner.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"HometownNewsBookmarkButton\"] */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/app/(allowed)/community/hometownNews/_components/HometownNewsBookmarkButton.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"HometownNewsDaysAgo\"] */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/app/(allowed)/community/hometownNews/_components/HometownNewsDaysAgo.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"MoreHometownNewsList\"] */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/app/(allowed)/community/hometownNews/_components/MoreHometownNewsList.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"TopBanner\"] */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/app/(allowed)/community/hometownNews/_components/TopBanner.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/atom/CustomLink.tsx\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/client/index.ts\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/server/Badge/Badge.module.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/server/Button/Button.module.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/server/Card/HometownNewsDetailCard.module.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/server/Card/NewsCard.module.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/server/Card/PolicyInfoLargeCard.module.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/server/Card/PolicyInfoMiniCard.module.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/server/Card/RecommendNewsCard.module.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/server/Footer/ContentsListFooter.module.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/server/Footer/NewsCardFooter.module.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/server/Header/JoinPageHeader.module.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/server/Header/ListPageHeader.module.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/server/Link/LinkableBox.module.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/server/Loading/Skeleton.module.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/components/server/Loading/Spinner.module.scss\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/app/(allowed)/community/hometownNews/[id]/page.module.scss\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"useCustomRouter\"] */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/hooks/useCustomRouter.ts\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"useGeolocation\"] */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/hooks/useGeolocation.ts\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3951433904/src/wello-client/packages/wello/src/stores/GlobalStore/index.ts\");\n","var t=function(){return t=Object.assign||function(t){for(var i,n=1,s=arguments.length;na.endVal;a.frameVal=n?a.endVal:a.frameVal,a.frameVal=Number(a.frameVal.toFixed(a.options.decimalPlaces)),a.printValue(a.frameVal),i1?a.options.decimal+r[1]:\"\",a.options.useGrouping){e=\"\";for(var l=3,h=0,u=0,p=n.length;uwindow.scrollY&&t.paused?(t.paused=!1,setTimeout((function(){return t.start()}),t.options.scrollSpyDelay),t.options.scrollSpyOnce&&(t.once=!0)):(window.scrollY>a||s>i)&&!t.paused&&t.reset()}},i.prototype.determineDirectionAndSmartEasing=function(){var t=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>t;var i=t-this.startVal;if(Math.abs(i)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=t;var n=this.countDown?1:-1;this.endVal=t+n*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=t,this.finalEndVal=null;null!==this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing},i.prototype.start=function(t){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),t&&(this.options.onCompleteCallback=t),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},i.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},i.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},i.prototype.update=function(t){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(t),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,null==this.finalEndVal&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},i.prototype.printValue=function(t){var i;if(this.el){var n=this.formattingFn(t);if(null===(i=this.options.plugin)||void 0===i?void 0:i.render)this.options.plugin.render(this.el,n);else if(\"INPUT\"===this.el.tagName)this.el.value=n;else\"text\"===this.el.tagName||\"tspan\"===this.el.tagName?this.el.textContent=n:this.el.innerHTML=n}},i.prototype.ensureNumber=function(t){return\"number\"==typeof t&&!isNaN(t)},i.prototype.validateValue=function(t){var i=Number(t);return this.ensureNumber(i)?i:(this.error=\"[CountUp] invalid start or end value: \".concat(t),null)},i.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},i}();export{i as CountUp};\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar React = require('react');\nvar countup_js = require('countup.js');\n\nfunction _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nfunction _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n _defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}\nfunction _toPrimitive(t, r) {\n if (\"object\" != typeof t || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != typeof i) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction _toPropertyKey(t) {\n var i = _toPrimitive(t, \"string\");\n return \"symbol\" == typeof i ? i : String(i);\n}\nfunction _defineProperty(obj, key, value) {\n key = _toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n}\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\n/**\n * Silence SSR Warnings.\n * Borrowed from Formik v2.1.1, Licensed MIT.\n *\n * https://github.com/formium/formik/blob/9316a864478f8fcd4fa99a0735b1d37afdf507dc/LICENSE\n */\nvar useIsomorphicLayoutEffect = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined' ? React.useLayoutEffect : React.useEffect;\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\n/**\n * Create a stable reference to a callback which is updated after each render is committed.\n * Typed version borrowed from Formik v2.2.1. Licensed MIT.\n *\n * https://github.com/formium/formik/blob/9316a864478f8fcd4fa99a0735b1d37afdf507dc/LICENSE\n */\nfunction useEventCallback(fn) {\n var ref = React.useRef(fn);\n\n // we copy a ref to the callback scoped to the current state/props on each render\n useIsomorphicLayoutEffect(function () {\n ref.current = fn;\n });\n return React.useCallback(function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return ref.current.apply(void 0, args);\n }, []);\n}\n\nvar createCountUpInstance = function createCountUpInstance(el, props) {\n var decimal = props.decimal,\n decimals = props.decimals,\n duration = props.duration,\n easingFn = props.easingFn,\n end = props.end,\n formattingFn = props.formattingFn,\n numerals = props.numerals,\n prefix = props.prefix,\n separator = props.separator,\n start = props.start,\n suffix = props.suffix,\n useEasing = props.useEasing,\n useGrouping = props.useGrouping,\n useIndianSeparators = props.useIndianSeparators,\n enableScrollSpy = props.enableScrollSpy,\n scrollSpyDelay = props.scrollSpyDelay,\n scrollSpyOnce = props.scrollSpyOnce,\n plugin = props.plugin;\n return new countup_js.CountUp(el, end, {\n startVal: start,\n duration: duration,\n decimal: decimal,\n decimalPlaces: decimals,\n easingFn: easingFn,\n formattingFn: formattingFn,\n numerals: numerals,\n separator: separator,\n prefix: prefix,\n suffix: suffix,\n plugin: plugin,\n useEasing: useEasing,\n useIndianSeparators: useIndianSeparators,\n useGrouping: useGrouping,\n enableScrollSpy: enableScrollSpy,\n scrollSpyDelay: scrollSpyDelay,\n scrollSpyOnce: scrollSpyOnce\n });\n};\n\nvar _excluded$1 = [\"ref\", \"startOnMount\", \"enableReinitialize\", \"delay\", \"onEnd\", \"onStart\", \"onPauseResume\", \"onReset\", \"onUpdate\"];\nvar DEFAULTS = {\n decimal: '.',\n separator: ',',\n delay: null,\n prefix: '',\n suffix: '',\n duration: 2,\n start: 0,\n decimals: 0,\n startOnMount: true,\n enableReinitialize: true,\n useEasing: true,\n useGrouping: true,\n useIndianSeparators: false\n};\nvar useCountUp = function useCountUp(props) {\n var filteredProps = Object.fromEntries(Object.entries(props).filter(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n value = _ref2[1];\n return value !== undefined;\n }));\n var _useMemo = React.useMemo(function () {\n return _objectSpread2(_objectSpread2({}, DEFAULTS), filteredProps);\n }, [props]),\n ref = _useMemo.ref,\n startOnMount = _useMemo.startOnMount,\n enableReinitialize = _useMemo.enableReinitialize,\n delay = _useMemo.delay,\n onEnd = _useMemo.onEnd,\n onStart = _useMemo.onStart,\n onPauseResume = _useMemo.onPauseResume,\n onReset = _useMemo.onReset,\n onUpdate = _useMemo.onUpdate,\n instanceProps = _objectWithoutProperties(_useMemo, _excluded$1);\n var countUpRef = React.useRef();\n var timerRef = React.useRef();\n var isInitializedRef = React.useRef(false);\n var createInstance = useEventCallback(function () {\n return createCountUpInstance(typeof ref === 'string' ? ref : ref.current, instanceProps);\n });\n var getCountUp = useEventCallback(function (recreate) {\n var countUp = countUpRef.current;\n if (countUp && !recreate) {\n return countUp;\n }\n var newCountUp = createInstance();\n countUpRef.current = newCountUp;\n return newCountUp;\n });\n var start = useEventCallback(function () {\n var run = function run() {\n return getCountUp(true).start(function () {\n onEnd === null || onEnd === void 0 || onEnd({\n pauseResume: pauseResume,\n reset: reset,\n start: restart,\n update: update\n });\n });\n };\n if (delay && delay > 0) {\n timerRef.current = setTimeout(run, delay * 1000);\n } else {\n run();\n }\n onStart === null || onStart === void 0 || onStart({\n pauseResume: pauseResume,\n reset: reset,\n update: update\n });\n });\n var pauseResume = useEventCallback(function () {\n getCountUp().pauseResume();\n onPauseResume === null || onPauseResume === void 0 || onPauseResume({\n reset: reset,\n start: restart,\n update: update\n });\n });\n var reset = useEventCallback(function () {\n // Quick fix for https://github.com/glennreyes/react-countup/issues/736 - should be investigated\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n if (getCountUp().el) {\n timerRef.current && clearTimeout(timerRef.current);\n getCountUp().reset();\n onReset === null || onReset === void 0 || onReset({\n pauseResume: pauseResume,\n start: restart,\n update: update\n });\n }\n });\n var update = useEventCallback(function (newEnd) {\n getCountUp().update(newEnd);\n onUpdate === null || onUpdate === void 0 || onUpdate({\n pauseResume: pauseResume,\n reset: reset,\n start: restart\n });\n });\n var restart = useEventCallback(function () {\n reset();\n start();\n });\n var maybeInitialize = useEventCallback(function (shouldReset) {\n if (startOnMount) {\n if (shouldReset) {\n reset();\n }\n start();\n }\n });\n React.useEffect(function () {\n if (!isInitializedRef.current) {\n isInitializedRef.current = true;\n maybeInitialize();\n } else if (enableReinitialize) {\n maybeInitialize(true);\n }\n }, [enableReinitialize, isInitializedRef, maybeInitialize, delay, props.start, props.suffix, props.prefix, props.duration, props.separator, props.decimals, props.decimal, props.formattingFn]);\n React.useEffect(function () {\n return function () {\n reset();\n };\n }, [reset]);\n return {\n start: restart,\n pauseResume: pauseResume,\n reset: reset,\n update: update,\n getCountUp: getCountUp\n };\n};\n\nvar _excluded = [\"className\", \"redraw\", \"containerProps\", \"children\", \"style\"];\nvar CountUp = function CountUp(props) {\n var className = props.className,\n redraw = props.redraw,\n containerProps = props.containerProps,\n children = props.children,\n style = props.style,\n useCountUpProps = _objectWithoutProperties(props, _excluded);\n var containerRef = React.useRef(null);\n var isInitializedRef = React.useRef(false);\n var _useCountUp = useCountUp(_objectSpread2(_objectSpread2({}, useCountUpProps), {}, {\n ref: containerRef,\n startOnMount: typeof children !== 'function' || props.delay === 0,\n // component manually restarts\n enableReinitialize: false\n })),\n start = _useCountUp.start,\n reset = _useCountUp.reset,\n updateCountUp = _useCountUp.update,\n pauseResume = _useCountUp.pauseResume,\n getCountUp = _useCountUp.getCountUp;\n var restart = useEventCallback(function () {\n start();\n });\n var update = useEventCallback(function (end) {\n if (!props.preserveValue) {\n reset();\n }\n updateCountUp(end);\n });\n var initializeOnMount = useEventCallback(function () {\n if (typeof props.children === 'function') {\n // Warn when user didn't use containerRef at all\n if (!(containerRef.current instanceof Element)) {\n console.error(\"Couldn't find attached element to hook the CountUp instance into! Try to attach \\\"containerRef\\\" from the render prop to a an Element, eg. .\");\n return;\n }\n }\n\n // unlike the hook, the CountUp component initializes on mount\n getCountUp();\n });\n React.useEffect(function () {\n initializeOnMount();\n }, [initializeOnMount]);\n React.useEffect(function () {\n if (isInitializedRef.current) {\n update(props.end);\n }\n }, [props.end, update]);\n var redrawDependencies = redraw && props;\n\n // if props.redraw, call this effect on every props change\n React.useEffect(function () {\n if (redraw && isInitializedRef.current) {\n restart();\n }\n }, [restart, redraw, redrawDependencies]);\n\n // if not props.redraw, call this effect only when certain props are changed\n React.useEffect(function () {\n if (!redraw && isInitializedRef.current) {\n restart();\n }\n }, [restart, redraw, props.start, props.suffix, props.prefix, props.duration, props.separator, props.decimals, props.decimal, props.className, props.formattingFn]);\n React.useEffect(function () {\n isInitializedRef.current = true;\n }, []);\n if (typeof children === 'function') {\n // TypeScript forces functional components to return JSX.Element | null.\n return children({\n countUpRef: containerRef,\n start: start,\n reset: reset,\n update: updateCountUp,\n pauseResume: pauseResume,\n getCountUp: getCountUp\n });\n }\n return /*#__PURE__*/React.createElement(\"span\", _extends({\n className: className,\n ref: containerRef,\n style: style\n }, containerProps), typeof props.start !== 'undefined' ? getCountUp().formattingFn(props.start) : '');\n};\n\nexports.default = CountUp;\nexports.useCountUp = useCountUp;\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nvar SvgTextfieldclose = function SvgTextfieldclose(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n fill: \"none\",\n viewBox: \"0 0 24 24\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#000\",\n fillRule: \"evenodd\",\n d: \"M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11m4.705-14.295a.998.998 0 0 0-1.41-1.41L12 10.589 8.705 7.295a.997.997 0 1 0-1.41 1.41L10.589 12l-3.294 3.295a.998.998 0 0 0 1.41 1.41L12 13.411l3.295 3.294a.998.998 0 0 0 1.41-1.41L13.411 12z\",\n clipRule: \"evenodd\"\n })));\n};\nexport default SvgTextfieldclose;","import { createSvgComponent } from \"../../../icon/createSvgComponent\";\nimport Textfieldclose from \"../figma/textfieldclose.svg\";\nexport default createSvgComponent(Textfieldclose);","'use client';\n\nimport type { ProgressProps } from '@radix-ui/themes';\n\nimport { Progress } from '@radix-ui/themes';\n\nexport { Progress, type ProgressProps };\n","'use client';\n\nimport { assert } from '@common/utils';\nimport { useQuery } from '@tanstack/react-query';\n\nimport { BOOKMARK_TYPE } from '@/api';\nimport { UnauthQueryOptions } from '@/api/v2';\nimport { BookmarkButton } from '@/components/molecule/BookmarkButton';\nimport { useBookmark } from '@/hooks/useBookmark';\nimport { hometownNewsQueryOptions } from '@/query-factory';\nimport { useAuthStore } from '@/stores/AuthStore';\n\ninterface HometownNewsBookmarkButtonProps {\n idIdx: string;\n}\n\nexport const HometownNewsBookmarkButton = ({\n idIdx,\n}: HometownNewsBookmarkButtonProps) => {\n const isLogin = useAuthStore((state) => !!state.isLogin);\n\n const { data: id } = useQuery({\n ...UnauthQueryOptions[\n 'get:/wello/v2/allows/hometown-news/{hometown_news_id_idx}'\n ]({\n path: {\n hometown_news_id_idx: idIdx,\n },\n }),\n select: ({ context }) => context?.detail_hometown_news?.hometown_news_id,\n });\n\n const feedbackQuery = useQuery({\n ...hometownNewsQueryOptions.feedback({\n id,\n isLogin,\n }),\n select: ({ context }) => ({\n isBookmarked: context?.wishlist_yn,\n bookmarkCount: context?.wishlist_count,\n }),\n });\n\n const { bookmark } = useBookmark();\n\n return (\n {\n assert(id);\n\n bookmark({\n bookmarkType: BOOKMARK_TYPE.HOMETOWN_NEWS,\n contentId: id,\n isBookmarked,\n idx: idIdx,\n });\n }}\n />\n );\n};\n","'use client';\n\nimport { useQuery } from '@tanstack/react-query';\n\nimport { hometownNewsQueryOptions } from '@/query-factory';\nimport { useAuthStore } from '@/stores/AuthStore';\n\ninterface HometownNewsDaysAgoProps {\n fallbackDate: string;\n id: number;\n}\n\nexport const HometownNewsDaysAgo = ({\n fallbackDate,\n id,\n}: HometownNewsDaysAgoProps) => {\n const isLogin = useAuthStore((state) => state.isLogin);\n const feedback = useQuery({\n ...hometownNewsQueryOptions.feedback({\n id,\n isLogin,\n }),\n select: ({ context }) => ({\n daysAgo: context?.days_ago,\n }),\n });\n\n const { daysAgo: clientDaysAgo } = feedback.data ?? {};\n const daysAgo = clientDaysAgo ?? fallbackDate;\n\n return

{daysAgo}

;\n};\n","import { ERROR_CODE, isNormalizedResponse } from '@common/utils';\nimport { redirect } from 'next/navigation';\n\nimport { UNAUTH_API } from '@/api';\nimport { ROUTES } from '@/constants';\n\ninterface UseGetHometownNewsRelatedListProps {\n idIdx: string;\n}\n\nexport const useGetHometownNewsRelatedList = async ({\n idIdx,\n}: UseGetHometownNewsRelatedListProps) => {\n try {\n const { context } = await UNAUTH_API.getRelatedHometownNewsList({\n hometownNewsIdIdx: idIdx,\n });\n if (!context) throw Error('hometown news list context not valid');\n\n return {\n list: context.contents ?? [],\n keyword: context.search_keyword ?? '관련 소식',\n };\n } catch (e) {\n if (isNormalizedResponse(e)) {\n const { return_code } = e;\n\n if (return_code === ERROR_CODE.HIDDEN) {\n return redirect(ROUTES.ERROR.pathname({ code: return_code }));\n }\n }\n\n throw e;\n }\n};\n","'use client';\n\nimport { BottomDrawer, Button } from '@common/components';\nimport { useQuery } from '@tanstack/react-query';\nimport { useEffect, useState } from 'react';\n\nimport { BANNER_CONTENTS_TYPE } from '@/api';\nimport { UnauthQueryOptions } from '@/api/v2';\nimport { LazyImage } from '@/components/client';\nimport { SELECTOR, STORAGE_KEY } from '@/constants';\nimport { useCheckWelloApp } from '@/hooks/useCheckWelloApp';\nimport { useAuthStore } from '@/stores/AuthStore';\n\nimport styles from './HometownNewsDetailBottomDrawer.module.scss';\n\nexport const HometownNewsDetailBottomDrawer = () => {\n const [isShow, setIsShow] = useState(false);\n const { isWelloApp } = useCheckWelloApp();\n const isLogin = useAuthStore((state) => state.isLogin);\n\n const { data, isLoading } = useQuery({\n ...UnauthQueryOptions['get:/wello/v2/allows/banner']({\n query: {\n contents_type_cd: BANNER_CONTENTS_TYPE.HOMETOWN_BOTTOM_SHEET,\n },\n }),\n });\n\n const banner = (data?.context?.contents ?? [])[0];\n\n const applyFileUrl = isWelloApp ? banner?.app_file_url : banner?.file_url;\n const applyLinkUrl = isWelloApp ? banner?.app_link_url : banner?.link_url;\n\n useEffect(() => {\n if (!window || !sessionStorage) return;\n\n const bottomDrawerShowPathname = sessionStorage.getItem(\n STORAGE_KEY.HOMETOWN_NEWS_DETAIL_BOTTOM_DRAWER_PATH,\n );\n\n setTimeout(() => {\n setIsShow(bottomDrawerShowPathname === window.location.pathname);\n sessionStorage.removeItem(\n STORAGE_KEY.HOMETOWN_NEWS_DETAIL_BOTTOM_DRAWER_PATH,\n );\n }, 2000);\n }, []);\n\n const handleClick = () => {\n if (!applyLinkUrl) return;\n window.location.href = applyLinkUrl;\n };\n const handleClose = () => {\n setIsShow(false);\n };\n\n const isNoRender =\n !!isLogin || (!isLoading && !banner) || !(applyFileUrl && applyLinkUrl);\n\n if (isNoRender) return null;\n\n return (\n document.getElementById(SELECTOR.MAIN_WRAPPER)}\n onClose={handleClose}\n >\n \n \n \n \n
\n
\n

\n {banner.title}\n

\n

\n {banner.subtitle}\n

\n
\n \n
\n
\n \n {banner.button_text}\n \n
\n
\n \n );\n};\n","'use client';\n\nimport { Button } from '@common/components';\nimport { SvgTextfieldclose } from '@common/icon';\nimport { useQuery } from '@tanstack/react-query';\nimport { useEffect, useState } from 'react';\nimport { createPortal } from 'react-dom';\n\nimport { BANNER_CONTENTS_TYPE } from '@/api';\nimport { UnauthQueryOptions } from '@/api/v2';\nimport { CustomLink } from '@/components/atom/CustomLink';\nimport { LazyImage } from '@/components/client';\nimport { SELECTOR } from '@/constants';\nimport { useCheckWelloApp } from '@/hooks/useCheckWelloApp';\n\nexport const ImageFloatingBanner = () => {\n const [isClose, setIsClose] = useState(false);\n const [isMounted, setIsMounted] = useState(false);\n\n const { isWelloApp } = useCheckWelloApp();\n\n const { data } = useQuery({\n ...UnauthQueryOptions['get:/wello/v2/allows/banner']({\n query: {\n contents_type_cd: BANNER_CONTENTS_TYPE.HOMETOWN_FLOATING,\n },\n }),\n });\n\n const banner = (data?.context?.contents ?? [])[0];\n\n useEffect(() => {\n setIsMounted(true);\n }, []);\n\n const [mainElement, setMainElement] = useState();\n\n useEffect(() => {\n const mainElement = document.getElementById(SELECTOR.MAIN);\n if (mainElement && isMounted) {\n setMainElement(mainElement);\n }\n }, [isMounted]);\n\n const applyFileUrl = isWelloApp ? banner?.app_file_url : banner?.file_url;\n const applyLinkUrl = isWelloApp ? banner?.app_link_url : banner?.link_url;\n\n const isNoRender = isClose || !banner || !(applyFileUrl && applyLinkUrl);\n\n if (isNoRender) return null;\n\n return mainElement ? (\n createPortal(\n \n
\n \n {\n e.preventDefault();\n setIsClose(true);\n }}\n >\n
\n \n
\n
\n \n
\n ,\n mainElement,\n )\n ) : (\n <>\n );\n};\n","'use client';\n\nimport { Portal } from '@common/components';\nimport { SvgChevrondown } from '@common/icon';\nimport { throttle } from 'es-toolkit';\nimport { motion, useAnimation } from 'framer-motion';\nimport { useCallback, useEffect, useState } from 'react';\n\nimport { SELECTOR } from '@/constants';\n\ninterface MoreFloatingButtonProps {\n contentAreaSelector: string;\n recommendHometownNewsSelector: string;\n keyword: string;\n}\n\nexport const MoreFloatingButton = ({\n contentAreaSelector,\n recommendHometownNewsSelector,\n keyword,\n}: MoreFloatingButtonProps) => {\n const [isMounted, setIsMounted] = useState(false);\n const [mainElement, setMainElement] = useState();\n const [contentsElement, setContentsElement] = useState();\n const [recommendHometownNewsElement, setRecommendHometownNewsElement] =\n useState();\n const [isShow, setIsShow] = useState(false);\n const controls = useAnimation();\n\n useEffect(() => {\n setIsMounted(true);\n }, []);\n\n const updateIsShow = useCallback(() => {\n if (\n mainElement === undefined ||\n contentsElement === undefined ||\n recommendHometownNewsElement === undefined\n )\n return;\n\n const isContentsScrollOveredHalf =\n contentsElement.offsetTop + contentsElement.offsetHeight / 2 <\n mainElement.scrollTop + mainElement.offsetHeight / 2;\n\n const isRecommendHometownNewsListScrollOvered =\n recommendHometownNewsElement.offsetTop <\n mainElement.scrollTop + mainElement.offsetHeight;\n\n setIsShow(\n isContentsScrollOveredHalf && !isRecommendHometownNewsListScrollOvered,\n );\n }, [contentsElement, mainElement, recommendHometownNewsElement]);\n\n useEffect(() => {\n if (!isMounted) return;\n\n const mainElement = document.getElementById(SELECTOR.MAIN);\n if (mainElement) {\n setMainElement(mainElement);\n }\n\n const contentsElement = document.getElementById(contentAreaSelector);\n if (contentsElement) {\n setContentsElement(contentsElement);\n }\n\n const recommendHometownNewsElement = document.getElementById(\n recommendHometownNewsSelector,\n );\n if (recommendHometownNewsElement) {\n setRecommendHometownNewsElement(recommendHometownNewsElement);\n }\n }, [isMounted, contentAreaSelector, recommendHometownNewsSelector]);\n\n useEffect(() => {\n if (mainElement && contentsElement && recommendHometownNewsElement) {\n updateIsShow();\n }\n }, [\n mainElement,\n contentsElement,\n recommendHometownNewsElement,\n updateIsShow,\n ]);\n\n useEffect(() => {\n if (mainElement === undefined) return;\n\n const handleScroll = throttle(() => updateIsShow(), 200);\n\n mainElement.addEventListener('scroll', handleScroll);\n\n return () => mainElement.removeEventListener('scroll', handleScroll);\n }, [mainElement, updateIsShow]);\n\n useEffect(() => {\n controls.start({\n opacity: isShow ? SHOW_BUTTON_OPACITY : INITIALIZE_BUTTON_OPACITY,\n bottom: isShow ? SHOW_BUTTON_BOTTOM : INITIALIZE_BUTTON_BOTTOM,\n transition: { duration: 0.2 },\n });\n }, [isShow, controls]);\n\n const handleClick = () => {\n if (recommendHometownNewsElement === undefined) return;\n\n recommendHometownNewsElement.scrollIntoView({\n behavior: 'smooth',\n block: 'start',\n });\n };\n\n return (\n document.getElementById(SELECTOR.MAIN)}>\n \n
\n

\n {keyword} 소식 더보기\n

\n \n
\n \n
\n );\n};\n\nconst INITIALIZE_BUTTON_OPACITY = 0;\nconst INITIALIZE_BUTTON_BOTTOM = -40;\nconst SHOW_BUTTON_OPACITY = 1;\nconst SHOW_BUTTON_BOTTOM = 10;\n","'use client';\n\nimport { CustomLink } from '@/components/atom/CustomLink';\nimport { LazyImage } from '@/components/client';\nimport { ROUTES, STORAGE_KEY } from '@/constants';\n\ninterface RecommendHometownNewsCardProps {\n idIdx: string;\n name: string;\n publishedAt: string;\n thumbnail: string;\n}\n\nexport const RecommendHometownNewsCard = ({\n idIdx,\n name,\n publishedAt,\n thumbnail,\n}: RecommendHometownNewsCardProps) => {\n const routePathname = ROUTES.HOMETOWN_NEWS_DETAIL.pathname({ idIdx: idIdx });\n\n const handleClick = () => {\n sessionStorage.setItem(\n STORAGE_KEY.HOMETOWN_NEWS_DETAIL_BOTTOM_DRAWER_PATH,\n routePathname,\n );\n };\n\n return (\n \n \n
\n

\n {name}\n

\n

\n {publishedAt} 작성\n

\n
\n \n );\n};\n","import { cn } from '@common/utils';\n\nimport { CustomLink } from '@/components/atom/CustomLink';\nimport { LazyImage } from '@/components/client';\nimport { ROUTES, STORAGE_KEY } from '@/constants';\n\ninterface RecommendHometownNewsVerticalCardProps {\n className?: string;\n idIdx: string;\n name: string;\n publishedAt: string;\n thumbnail: string;\n}\n\nexport const RecommendHometownNewsVerticalCard = ({\n className,\n idIdx,\n name,\n publishedAt,\n thumbnail,\n}: RecommendHometownNewsVerticalCardProps) => {\n const routePathname = ROUTES.HOMETOWN_NEWS_DETAIL.pathname({ idIdx: idIdx });\n\n const handleClick = () => {\n sessionStorage.setItem(\n STORAGE_KEY.HOMETOWN_NEWS_DETAIL_BOTTOM_DRAWER_PATH,\n routePathname,\n );\n };\n\n return (\n \n \n
\n

\n {name}\n

\n

\n {publishedAt} 작성\n

\n
\n \n );\n};\n","'use client';\n\nimport type { ListHometownNewsDto } from '@generatedapi/unauth';\nimport { Mousewheel } from 'swiper/modules';\nimport type { SwiperProps } from 'swiper/react';\nimport { Swiper, SwiperSlide } from 'swiper/react';\n\nimport { RecommendHometownNewsCard } from './RecommendHometownNewsCard';\nimport { RecommendHometownNewsVerticalCard } from './RecommendHometownNewsVerticalCard';\n\ninterface RecommendHometownNewsProps {\n id?: string;\n list: ListHometownNewsDto[];\n}\n\nexport const RecommendHometownNews = ({\n id,\n list,\n}: RecommendHometownNewsProps) => {\n const listSection = {\n list: list.length < 7 ? list : list.slice(0, 3),\n swipeList: list.length < 7 ? [] : list.slice(3),\n };\n\n if (list.length < 1) return null;\n\n return (\n
\n \n 이런 이야기는 어때요?\n \n
    \n {listSection.list.map((news) => (\n
  • \n \n
  • \n ))}\n
\n {listSection.swipeList.length > 0 ? (\n \n {listSection.swipeList.map((news) => (\n \n \n \n ))}\n \n ) : null}\n
\n );\n};\n\nconst SWIPER_PROPS = {\n slidesPerView: 'auto',\n spaceBetween: 13,\n mousewheel: true,\n modules: [Mousewheel],\n} satisfies SwiperProps;\n","'use client';\n\nimport { createUuid } from '@common/utils';\nimport { useSuspenseQuery } from '@tanstack/react-query';\n\nimport { COMMENT_TYPE } from '@/api';\nimport { getCommentList } from '@/api/getCommentList';\nimport { CommentListWithField } from '@/components/template/CommentListWithField';\n\nimport { useGetHometownNewsRelatedList as getHometownNewsRelatedList } from '../[id]/_hooks/useGetHometownNewsRelatedList';\nimport { HometownNewsDetailBottomDrawer } from './HometownNewsDetailBottomDrawer';\nimport { ImageFloatingBanner } from './ImageFloatingBanner';\nimport { MoreFloatingButton } from './MoreFloatingButton';\nimport { RecommendHometownNews } from './RecommendHometownNews';\n\ninterface MoreHometownNewsListProps {\n id: number;\n idx: string;\n contentAreaId: string;\n}\n\nexport const MoreHometownNewsList = ({\n id,\n idx,\n contentAreaId,\n}: MoreHometownNewsListProps) => {\n const hometownNewsRelated = useSuspenseQuery({\n queryKey: ['getHometownNewsRelatedList', idx],\n queryFn: async () => {\n const {\n list: hometownNewsRelatedList,\n keyword: hometownNewsRelatedListKeyword,\n } = await getHometownNewsRelatedList({ idIdx: idx });\n\n return { hometownNewsRelatedList, hometownNewsRelatedListKeyword };\n },\n });\n const { hometownNewsRelatedList, hometownNewsRelatedListKeyword } =\n hometownNewsRelated.data;\n\n const isNotRenderRelatedList = hometownNewsRelatedList.length > 0;\n\n const initialComment = useSuspenseQuery({\n queryKey: ['getCommentList', id],\n queryFn: async () =>\n await getCommentList({\n commentType: COMMENT_TYPE.HOMETOWN_NEWS,\n id,\n }),\n });\n\n const initialCommentData = initialComment.data;\n\n const recommendHometownNewsAreaId = createUuid();\n\n return (\n <>\n {isNotRenderRelatedList ? (\n \n ) : null}\n \n {isNotRenderRelatedList ? (\n \n ) : null}\n \n \n \n );\n};\n","'use client';\n\nimport { Button } from '@common/components';\nimport { SvgDelete } from '@common/icon';\nimport { useState } from 'react';\n\nimport { CustomLink } from '@/components/atom/CustomLink';\nimport { useCheckWelloApp } from '@/hooks/useCheckWelloApp';\nimport { useAuthStore } from '@/stores/AuthStore';\n\ninterface TopBannerProps {\n appFileUrl?: string;\n appLinkUrl?: string;\n fileUrl?: string;\n linkUrl?: string;\n title?: string;\n targetNewYn?: boolean;\n}\n\nexport const TopBanner = ({\n appFileUrl,\n appLinkUrl,\n fileUrl,\n linkUrl,\n title,\n targetNewYn,\n}: TopBannerProps) => {\n const [isClose, setIsClose] = useState(false);\n const { isWelloApp } = useCheckWelloApp();\n const isLogin = useAuthStore((state) => state.isLogin);\n\n const applyFileUrl = isWelloApp ? appFileUrl : fileUrl;\n const applyLinkUrl = isWelloApp ? appLinkUrl : linkUrl;\n\n const isNoRender =\n !!isLogin ||\n isLogin === undefined ||\n isClose ||\n !(applyFileUrl && applyLinkUrl);\n\n if (isNoRender) return null;\n\n return (\n \n \n {\n e.preventDefault();\n setIsClose(true);\n }}\n >\n \n \n \n );\n};\n","import { createUuid,CustomError } from '@common/utils';\nimport { queryOptions } from '@tanstack/react-query';\nimport ky from 'ky';\n\nimport { LOGIN_TYPE } from '@/api';\nimport { API_ROUTES, ENV } from '@/constants';\n\nexport const authQueryOptionsKeys = {\n socialLogin: createUuid(),\n};\n\ninterface SocialLoginProps {\n state?: string | null;\n code?: string | null;\n}\n\nexport interface SocialLoginResult {\n socialLoginToken: string;\n loginType: LOGIN_TYPE;\n}\n\ninterface LoginResponse {\n access_token: string;\n}\n\nexport const authQueryOptions = {\n socialLogin: ({ code, state }: SocialLoginProps) => {\n const enabled = !!(code && state);\n\n return queryOptions({\n queryKey: [authQueryOptionsKeys.socialLogin, enabled, state],\n staleTime: 0,\n enabled,\n queryFn: async (): Promise => {\n if (!enabled)\n throw new CustomError({\n return_message: 'socialLoginProps 가 없습니다.',\n });\n\n const decodedState = window.atob(state);\n\n const { type, redirectPath } = JSON.parse(decodedState);\n\n switch (type) {\n //! ⚠️ Kakao는 client secret이 없어서 front에서 직접 요청 가능\n case 'kakao': {\n const { access_token } = await ky\n .post('https://kauth.kakao.com/oauth/token', {\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n },\n body: new URLSearchParams({\n code,\n state,\n redirect_uri: `${ENV.NEXT_PUBLIC_DOMAIN}${redirectPath}`,\n grant_type: 'authorization_code',\n client_id: ENV.NEXT_PUBLIC_KAKAO_CLIENT_ID,\n }),\n })\n .json();\n\n return {\n loginType: LOGIN_TYPE.KAKAO,\n socialLoginToken: access_token,\n };\n }\n\n case 'naver': {\n const { access_token } = await ky\n .post(API_ROUTES.NAVER_AUTH.pathname, {\n json: {\n code,\n state,\n },\n })\n .json();\n\n return {\n loginType: LOGIN_TYPE.NAVER,\n socialLoginToken: access_token,\n };\n }\n\n case 'google': {\n const { access_token } = await ky\n .post(API_ROUTES.GOOGLE_AUTH.pathname, {\n json: {\n code,\n state,\n },\n })\n .json();\n\n return {\n loginType: LOGIN_TYPE.GOOGLE,\n socialLoginToken: access_token,\n };\n }\n\n case 'apple': {\n const { id_token } = await ky\n .post(API_ROUTES.APPLE_TOKEN.pathname, {\n json: {\n code,\n state,\n },\n })\n .json<{ id_token: string }>();\n\n return {\n loginType: LOGIN_TYPE.APPLE,\n socialLoginToken: id_token,\n };\n }\n\n default:\n throw new Error('잘못된 로그인 타입입니다.');\n }\n },\n });\n },\n};\n","import { assert, createUuid } from '@common/utils';\nimport { queryOptions } from '@tanstack/react-query';\nimport ky from 'ky';\n\nimport { AUTH_API,DPG_API } from '@/api';\n\ninterface DeptReportDetailProps {\n custCi: string;\n rprYr: string;\n dbtrRprClssCd: string;\n dbtrRprDt: string;\n}\n\nexport const dpgQueryOptionsKeys = {\n checkEligibility: createUuid(),\n agreement: createUuid(),\n notice: createUuid(),\n loanInterest: createUuid(),\n deptReportList: createUuid(),\n deptReportDetail: createUuid(),\n getCIInfo: createUuid(),\n address: createUuid(),\n};\n\nexport const dpgQueryOptions = {\n checkEligibility: (ciToken: string) =>\n queryOptions({\n queryKey: [dpgQueryOptionsKeys.checkEligibility, ciToken],\n queryFn: () =>\n DPG_API.postEligibilityCheck({\n requestBody: {\n custCi: ciToken,\n },\n }),\n retry: false,\n enabled: ciToken !== '',\n select: ({ context }) => {\n return {\n ciToken: context?.custCi,\n isTarget: context?.canRprYn === 'Y',\n isPeriodicReport: context?.preRgrRprtYn === 'Y',\n };\n },\n }),\n agreement: () =>\n queryOptions({\n queryKey: [dpgQueryOptionsKeys.agreement],\n queryFn: DPG_API.getAgreement,\n select: ({ context }) => {\n assert(context, 'context is not valid');\n\n return {\n financialInfo: context.finInfoAgmtCten,\n personalInfo: context.indvInfoAgmtCten,\n };\n },\n }),\n notice: (year = 2024) =>\n queryOptions({\n queryKey: [dpgQueryOptionsKeys.notice, year, DPG_API],\n queryFn: () =>\n ky\n .get('https://stage.dpgapi.wello.im/wello/v1/dept-reporting/notice', {\n searchParams: { baseYear: year.toString() },\n })\n .json>>(),\n select: (data) => {\n assert(data.context, 'context is not valid');\n\n return {\n content: data.context.noticeCten,\n };\n },\n }),\n loanInterest: (custCi: string) =>\n queryOptions({\n queryKey: [dpgQueryOptionsKeys.loanInterest, custCi],\n queryFn: () =>\n DPG_API.getLoanInterestList({\n requestBody: {\n custCi,\n baseYear: new Date().getFullYear().toString(),\n },\n }),\n enabled: !!custCi,\n select: ({ context }) => {\n assert(context, 'context is not valid');\n\n return {\n custCi: context.custCi,\n basDt: context.basDt,\n loanAmtSum: context.loanAmtSum,\n loanBlmtSum: context.loanBlmtSum,\n loanIntAmtSum: context.loanIntAmtSum,\n nyRcpDutyApmtAmt: context.nyRcpDutyApmtAmt,\n nyRcpOvdAmt: context.nyRcpOvdAmt,\n nyRcpOvdAdAmt: context.nyRcpOvdAdAmt,\n nyRcpAmtSum: context.nyRcpAmtSum,\n loanList: context.loanList,\n };\n },\n }),\n deptReportList: (custCi: string) =>\n queryOptions({\n queryKey: [dpgQueryOptionsKeys.deptReportList, custCi],\n queryFn: () =>\n DPG_API.getReportHistoryList({\n requestBody: {\n custCi,\n },\n }),\n enabled: !!custCi,\n select: ({ context }) => {\n assert(context, 'context is not valid');\n\n return {\n contents: context.contents,\n total: context.totalCount,\n };\n },\n }),\n deptReportDetail: ({\n custCi,\n rprYr,\n dbtrRprClssCd,\n dbtrRprDt,\n }: DeptReportDetailProps) =>\n queryOptions({\n queryKey: [\n dpgQueryOptionsKeys.deptReportDetail,\n custCi,\n dbtrRprClssCd,\n dbtrRprDt,\n rprYr,\n ],\n queryFn: () =>\n DPG_API.getReportHistory({\n requestBody: {\n custCi,\n rprYr,\n dbtrRprClssCd,\n dbtrRprDt,\n },\n }),\n enabled: !!custCi,\n select: ({ context }) => {\n assert(context, 'context is not valid');\n\n return {\n custCi: context.custCi,\n rprFltNm: context.rprFltNm,\n dbtrRprClssCd: context.dbtrRprClssCd,\n rprDutyAbtnYr: context.rprDutyAbtnYr,\n dbtrRprDt: context.dbtrRprDt,\n univGrdtYn: context.univGrdtYn,\n grdtDt: context.grdtDt,\n grdtUnivCd: context.grdtUnivCd,\n grdtUnivNm: context.grdtUnivNm,\n ovseRsdYn: context.ovseRsdYn,\n rsdcPno: context.rsdcPno,\n rsdcPnoAddr: context.rsdcPnoAddr,\n rsdcDtalAddr: context.rsdcDtalAddr,\n rsdcStsgLtnoDivCd: context.rsdcStsgLtnoDivCd,\n ctyCd: context.ctyCd,\n ctyNm: context.ctyNm,\n etcMttCten: context.etcMttCten,\n mblTno: context.mblTno,\n emailAddr: context.emailAddr,\n wkplEan: context.wkplEan,\n spoEan: context.spoEan,\n spoFrnrYn: context.spoFrnrYn,\n spoNm: context.spoNm,\n spoOvseRsdYn: context.spoOvseRsdYn,\n spoRsdcPno: context.spoRsdcPno,\n spoRsdcPnoAddr: context.spoRsdcPnoAddr,\n spoRsdcDtalAddr: context.spoRsdcDtalAddr,\n spoRsdcStsgLtnoDivCd: context.spoRsdcStsgLtnoDivCd,\n spoCtyCd: context.spoCtyCd,\n spoCtyNm: context.spoCtyNm,\n spoWkplEan: context.spoWkplEan,\n indvInfoOferAgmtYn: context.indvInfoOferAgmtYn,\n finInfoOferAgmtYn: context.finInfoOferAgmtYn,\n dbtrNrgrRprClssCd: context.dbtrNrgrRprClssCd,\n careerList: context.careerList,\n spoCareerList: context.spoCareerList,\n };\n },\n }),\n getCIInfo: (accessToken: string | null) =>\n queryOptions({\n queryKey: [dpgQueryOptionsKeys.getCIInfo],\n queryFn: AUTH_API.getMemberVerification,\n enabled: !!accessToken,\n select: ({ context }) => {\n assert(context, 'context is not valid');\n\n return {\n ci: context.ci,\n };\n },\n }),\n address: (custCi: string) =>\n queryOptions({\n queryKey: [dpgQueryOptionsKeys.address, custCi],\n queryFn: () => DPG_API.getAddress({ requestBody: { custCi } }),\n select: ({ context }) => {\n assert(context, 'context is not valid');\n\n return {\n address: context.pnoAddr,\n addressDetail: context.dtalAddr,\n zonecode: context.pno,\n addressType: context.stsgLtnoDivCd,\n };\n },\n }),\n};\n","import { queryOptions } from '@tanstack/react-query';\n\nimport { AUTH_API } from '@/api';\nimport { queryKeys } from '@/constants/query-keys';\n\ninterface FamilyListOptionsProps {\n isLogin: boolean;\n}\n\nexport const familyQueryOptions = {\n list: ({ isLogin }: FamilyListOptionsProps) =>\n queryOptions({\n queryKey: [queryKeys.familyList],\n queryFn: AUTH_API.getFamilyList,\n select: ({ context }) => {\n const { wello_member_family_list, total_policy_count } = context ?? {};\n\n return {\n familyList: wello_member_family_list,\n totalPolicyCount: total_policy_count,\n };\n },\n enabled: isLogin,\n }),\n};\n","import { infiniteQueryOptions, queryOptions } from '@tanstack/react-query';\n\nimport {\n AuthInfiniteQueryOptions,\n AuthQueryOptions,\n UnauthInfiniteQueryOptions,\n UnauthQueryOptions,\n} from '@/api/v2';\n\ninterface HometownNewsFeedbackOptionsProps {\n id: number | undefined;\n isLogin?: boolean;\n}\n\ninterface HometownNewsListOptionsProps {\n keyword?: string;\n codeRegion?: string;\n codeSubRegion?: string;\n isLogin: boolean | undefined;\n hometownNewsSort?: 'LATEST' | 'POPULARITY';\n}\n\nexport const hometownNewsQueryOptions = {\n list: ({\n keyword,\n isLogin,\n codeRegion,\n codeSubRegion,\n hometownNewsSort = 'LATEST',\n }: HometownNewsListOptionsProps) => {\n const INITIAL_PAGE = 1;\n const PAGE_SIZE = 20;\n\n return infiniteQueryOptions({\n ...(isLogin\n ? AuthInfiniteQueryOptions['get:/wello/v2/auth/hometown-news']\n : UnauthInfiniteQueryOptions['get:/wello/v2/allows/hometown-news'])({\n query: {\n page: INITIAL_PAGE,\n size: PAGE_SIZE,\n code_region: codeRegion,\n code_sub_region: codeSubRegion,\n hometown_news_sort: hometownNewsSort,\n search_keyword: keyword,\n },\n }),\n enabled: isLogin !== undefined,\n select: (data) => ({\n pages: data.pages.map(({ context }) => ({\n contents: context?.contents?.map((news) => {\n return {\n id: news.hometown_news_id,\n idIdx: news.hometown_news_id_idx,\n title: news.hometown_news_name,\n daysAgo: news.days_ago,\n thumbnail: news.thumbnail,\n commentCount: news.comment_count,\n isBookmarked: news.wishlist_yn,\n bookmarkCount: news.wishlist_count,\n dateText: news.published_at,\n summary: news.summary,\n thumbUpCount: news.like_count,\n isThumbUp: news.like_yn,\n };\n }),\n totalCount: context?.total_count,\n })),\n pageParams: data.pageParams,\n }),\n getNextPageParam: (lastPage) => {\n if (lastPage.context?.total_count && lastPage.context.page) {\n const nextPage = lastPage.context.page + 1;\n const maxPage = Math.ceil(lastPage.context.total_count / PAGE_SIZE);\n\n return nextPage <= maxPage ? nextPage : undefined;\n }\n },\n initialPageParam: INITIAL_PAGE,\n });\n },\n feedback: ({ id, isLogin }: HometownNewsFeedbackOptionsProps) =>\n queryOptions({\n ...(isLogin\n ? AuthQueryOptions[\n 'get:/wello/v2/auth/hometown-news/feedback/{hometown_news_id}'\n ]\n : UnauthQueryOptions[\n 'get:/wello/v2/allows/hometown-news/feedback/{hometown_news_id}'\n ])({\n path: {\n hometown_news_id: id!,\n },\n }),\n enabled: isLogin !== undefined && !!id,\n }),\n};\n","import { assert, createUuid } from '@common/utils';\nimport { queryOptions } from '@tanstack/react-query';\nimport ky from 'ky';\n\nimport { UNAUTH_API } from '@/api';\n\nexport const metaCodeQueryOptionsKeys = {\n regionList: createUuid(),\n subRegionList: createUuid(),\n geolocation: createUuid(),\n geoCodingByRegionCode: createUuid(),\n};\n\nexport const metaCodeQueryOptions = {\n regionList: queryOptions({\n queryKey: [metaCodeQueryOptionsKeys.regionList],\n queryFn: () => UNAUTH_API.getMetaCode({ metaCode: 'C01' }),\n select: (data) =>\n data.context?.meta_code_all_list?.[0].meta_sub_code_list?.map((item) => ({\n label: item.value,\n value: item.code,\n })),\n }),\n\n subRegionList: (regionCode?: string) =>\n queryOptions({\n queryKey: [metaCodeQueryOptionsKeys.subRegionList, regionCode],\n queryFn: () => {\n assert(regionCode, '지역코드가 없습니다.');\n\n return UNAUTH_API.getMetaCode({ metaCode: regionCode });\n },\n enabled: !!regionCode,\n select: ({ context }) => {\n const [{ meta_sub_code_list }] = context?.meta_code_all_list ?? [];\n\n const allItem = meta_sub_code_list?.find((item) =>\n item.value.includes('전체'),\n );\n\n const options = meta_sub_code_list?.filter(\n (item) => !item.value.includes('전체'),\n );\n\n if (allItem && options) {\n options.unshift(allItem);\n }\n\n return options?.map(({ value, code }) => ({\n label: value,\n value: code,\n }));\n },\n }),\n\n geolocation: () =>\n queryOptions({\n queryKey: [metaCodeQueryOptionsKeys.geolocation],\n queryFn: async () => {\n const ip = await ky.get('https://api.ip.pe.kr').text();\n\n return UNAUTH_API.getGeolocation({ ip });\n },\n select: ({ context }) => context,\n }),\n\n geocodingByCode: ({\n regionCode,\n subRegionCode,\n }: Partial[number]>) =>\n queryOptions({\n queryKey: [\n metaCodeQueryOptionsKeys.geoCodingByRegionCode,\n regionCode,\n subRegionCode,\n ],\n enabled: !!regionCode && !!subRegionCode,\n queryFn: () => {\n assert(regionCode, '지역코드가 없습니다.');\n assert(subRegionCode, '지역코드가 없습니다.');\n\n return UNAUTH_API.getGeocodingByRegionCode({\n regionCode,\n subRegionCode,\n });\n },\n }),\n};\n","import { redirect } from 'next/navigation';\n\ninterface RedirectDetailPageProps {\n returnCode?: number;\n pathname: string;\n}\n\nexport const redirectDetailPage = ({\n returnCode,\n pathname,\n}: RedirectDetailPageProps) => {\n switch (returnCode) {\n case 24040:\n return redirect(`${pathname}?toast=존재하지 않는 페이지입니다.`);\n case 20019:\n case 24041:\n return redirect(`${pathname}?toast=숨김 처리된 페이지입니다.`);\n }\n};\n","import { assert } from '@common/utils';\nimport { withTimeout } from 'es-toolkit';\n\nimport { ROUTES } from '@/constants';\nimport { redirectDetailPage } from '@/utils/redirectDetailPage';\n\nimport { GPT_PROMPT_TYPE, UNAUTH_API } from '.';\nimport { UnauthApi } from './v2';\n\nexport const getPolicyDetail = async (metaPolicyIdIdx: string) => {\n const { data } = await UnauthApi[\n 'get:/wello/v2/allows/policy/{meta_policy_id_idx}'\n ]({\n path: {\n meta_policy_id_idx: metaPolicyIdIdx,\n },\n });\n\n redirectDetailPage({\n pathname: ROUTES.HOME.pathname,\n returnCode: data?.return_code,\n });\n\n const context = data?.context;\n\n assert(context);\n\n let relatedInfo = '';\n if (context.apply_documents)\n relatedInfo += `○ 구비서류\\n - ${context.apply_documents\n ?.replaceAll('\\n', '\\n - ')\n .replaceAll('||', '\\n - ')}`;\n\n if (context.base_rule)\n relatedInfo += `${relatedInfo ? '\\n' : ''}○ 관계법령\\n - ${context.base_rule\n ?.replaceAll('\\n', '\\n - ')\n .replaceAll('||', '\\n - ')}`;\n\n if (!relatedInfo) relatedInfo = '- 관련 정보 없음';\n\n const [summaryString, keywordString] = await withTimeout(async () => {\n let summaryString = context.ai_summary;\n let keywordString = context.ai_seo_keyword;\n\n [summaryString, keywordString] = await Promise.all([\n summaryString\n ? summaryString\n : UNAUTH_API.updatePolicyAiInfo({\n metaPolicyIdIdx,\n requestBody: {\n gpt_prompt_type: GPT_PROMPT_TYPE.SUMMARY,\n },\n }).then((res) => res.context?.result),\n keywordString\n ? keywordString\n : UNAUTH_API.updatePolicyAiInfo({\n metaPolicyIdIdx,\n requestBody: {\n gpt_prompt_type: GPT_PROMPT_TYPE.KEYWORD,\n },\n }).then((res) => res.context?.result),\n ]);\n\n return [summaryString, keywordString];\n }, 3_000).catch(() => []);\n\n const aiSummaryList = summaryString\n ?.split('***')\n .map((s) => s.trim())\n .slice(1);\n\n const aiKeywordList = keywordString\n ?.split(' | ')\n .map((s) => s.trim())\n //! 한자 제외\n .filter((keyword) => !/[\\u4E00-\\u9FFF]/.test(keyword));\n\n return {\n id: context.id,\n idx: context.meta_policy_id_idx,\n policyName: context.policy_name,\n descAgeList: context.desc_age_list,\n dday: context.dday,\n policyApplyId: context.wello_policy_apply_id,\n provisionTypeList: context.provision_type_list,\n applyTypeList: context.apply_type_list,\n agencyLogo: context.agency_logo,\n agency: context.agency,\n dueDateBetween: context.due_date_between,\n supportBenefit: context.support_benefit,\n descTarget: context.desc_target,\n descSupport: context.desc_support,\n descProvision: context.desc_provision,\n relatedInfo,\n policyBannerTypeList: context.policy_banner_type_list,\n descApply: context.desc_apply,\n agencyTel: context.agency_tel,\n infoUrl: context.info_url,\n aiSummaryList,\n aiKeywordList,\n policyApplicationTypeCd: context.policy_application_type_cd,\n detailPolicyApplicationTypeCd: context.detail_policy_application_type_cd,\n };\n};\n\nexport type PolicyDetail = Awaited>;\n","import { createUuid } from '@common/utils';\nimport {\n infiniteQueryOptions,\n keepPreviousData,\n queryOptions,\n} from '@tanstack/react-query';\n\nimport { getPolicyDetail } from '@/api/getPolicyDetail';\nimport {\n AuthInfiniteQueryOptions,\n AuthQueryOptions,\n UnauthInfiniteQueryOptions,\n UnauthQueryOptions,\n} from '@/api/v2';\n\nexport const policyQueryOptionsKeys = {\n policyDetail: createUuid(),\n};\n\ninterface PolicyOptionsProps {\n id: number;\n isLogin: boolean | undefined;\n}\n\ninterface SearchOptionsProps {\n codeRegion?: string;\n codeSubRegion?: string;\n keyword?: string;\n isLogin?: boolean | undefined;\n descAgeList?: string[];\n codeProvisionTypeList?: string[];\n policySort?: 'LATEST' | 'POPULARITY';\n}\n\nexport interface PolicySearchItem {\n name: string;\n id: number;\n}\n\nexport const policyQueryOptions = {\n feedback: ({ id, isLogin }: PolicyOptionsProps) => {\n const options = isLogin\n ? AuthQueryOptions['get:/wello/v2/auth/policy/feedback/{policy_id}']\n : UnauthQueryOptions['get:/wello/v2/allows/policy/feedback/{policy_id}'];\n\n return queryOptions({\n ...options({\n path: {\n policy_id: id,\n },\n }),\n enabled: isLogin !== undefined,\n placeholderData: keepPreviousData,\n select: ({ context }) => ({\n readingCount: context?.reading_count ?? 0,\n hasNewComment: context?.new_comment_yn ?? false,\n isThumbUp: context?.like_yn ?? false,\n thumbUpCount: context?.like_count ?? 0,\n isBookmarked: context?.wishlist_yn,\n bookmarkCount: context?.wishlist_count ?? 0,\n commentCount: context?.comment_count ?? 0,\n likeCount: context?.like_count ?? 0,\n }),\n });\n },\n policyDetail: (idx: string) =>\n queryOptions({\n queryKey: [policyQueryOptionsKeys.policyDetail, idx],\n queryFn: () => getPolicyDetail(idx),\n }),\n search: ({\n isLogin,\n keyword,\n codeRegion,\n codeSubRegion,\n descAgeList,\n codeProvisionTypeList,\n policySort = 'LATEST',\n }: SearchOptionsProps) => {\n const INITIAL_PAGE = 1;\n const PAGE_SIZE = 20;\n\n const options = isLogin\n ? AuthInfiniteQueryOptions['get:/wello/v2/auth/policy']\n : UnauthInfiniteQueryOptions['get:/wello/v2/allows/policy'];\n\n return infiniteQueryOptions({\n ...options({\n query: {\n page: INITIAL_PAGE,\n size: PAGE_SIZE,\n codeProvisionTypeList,\n codeRegion,\n codeSubRegion,\n descAgeList,\n policySort,\n searchKeyword: keyword,\n },\n }),\n enabled: isLogin !== undefined,\n getNextPageParam: (lastPage) => {\n const { page: currentPage, total_count: totalCount } =\n lastPage.context ?? {};\n\n if (!totalCount || !currentPage) return;\n\n const nextPage = currentPage + 1;\n const totalPageCount = Math.ceil(totalCount / PAGE_SIZE);\n\n if (nextPage <= totalPageCount) return nextPage;\n },\n initialPageParam: INITIAL_PAGE,\n placeholderData: keepPreviousData,\n });\n },\n};\n","import { infiniteQueryOptions } from '@tanstack/react-query';\n\nimport { AuthInfiniteQueryOptions, UnauthInfiniteQueryOptions } from '@/api/v2';\n\ninterface PolicyInfoListOptionsProps {\n isLogin: boolean | undefined;\n keyword?: string;\n policySort?: 'LATEST' | 'POPULARITY';\n codeProvisionType?: string;\n}\n\nexport const policyInfoQueryOptions = {\n list: ({\n isLogin,\n policySort = 'LATEST',\n keyword,\n codeProvisionType,\n }: PolicyInfoListOptionsProps) => {\n const INITIAL_PAGE = 1;\n const PAGE_SIZE = 20;\n\n return infiniteQueryOptions({\n ...(isLogin\n ? AuthInfiniteQueryOptions['get:/wello/v2/auth/contents/best']\n : UnauthInfiniteQueryOptions['get:/wello/v2/allows/contents/best'])({\n query: {\n size: PAGE_SIZE,\n search_keyword: keyword,\n best_contents_sort: policySort,\n code_provision_type: codeProvisionType,\n page: INITIAL_PAGE,\n },\n }),\n getNextPageParam: ({ context }) => {\n const { total_count, page } = context ?? {};\n\n if (!total_count || !page) return;\n\n const nextPage = page + 1;\n const totalPageCount = Math.ceil(total_count / PAGE_SIZE);\n\n if (nextPage <= totalPageCount) return nextPage;\n },\n select: ({ pages }) =>\n pages.map(({ context }) => ({\n policyInfoList: context?.contents?.map(\n ({ provision_type, ...content }) => {\n const provisionTypeList: string[] = [];\n\n for (const key in provision_type) {\n const value = provision_type[key];\n if (value) provisionTypeList.push(value);\n }\n\n return { ...content, provisionTypeList };\n },\n ),\n totalCount: context?.total_count,\n })),\n initialPageParam: INITIAL_PAGE,\n });\n },\n};\n","import { createUuid,CustomError } from '@common/utils';\nimport { infiniteQueryOptions, queryOptions } from '@tanstack/react-query';\n\nimport { AUTH_API, UNAUTH_API } from '@/api';\n\nimport { EXCEPTED_HIDDEN_CODE } from './filter';\n\nexport const situationQueryKeys = {\n hospitalList: createUuid(),\n hospitalDetailLive: createUuid(),\n medicalPolicyInfinityList: createUuid(),\n emergencyRoomCountOfRegion: createUuid(),\n};\n\nexport const situationQueryOptions = {\n hospitalInfinityList: ({\n page,\n size,\n time,\n ...restParams\n }: Parameters[number]) =>\n infiniteQueryOptions({\n queryKey: [situationQueryKeys.hospitalList, page, size, time, restParams],\n queryFn: ({ pageParam }) =>\n UNAUTH_API.getEmergencyRoomList({\n page: pageParam,\n size,\n time: time === 24 ? 0 : time,\n ...restParams,\n }),\n getNextPageParam: (lastPage) => {\n const { page: currentPage, has_next } = lastPage.context ?? {};\n\n if (!has_next || !currentPage) return;\n\n return currentPage + 1;\n },\n initialPageParam: page,\n }),\n\n HospitalList: ({\n time,\n ...restParams\n }: Omit<\n Parameters[number],\n 'page' | 'size'\n >) => {\n return queryOptions({\n queryKey: [situationQueryKeys.hospitalList, restParams, time],\n queryFn: () =>\n UNAUTH_API.getEmergencyRoomList({\n ...restParams,\n time: time === 24 ? 0 : time,\n page: 1,\n size: 999,\n }),\n });\n },\n\n hospitalDetailLive: (emergencyRoomId: number) =>\n queryOptions({\n refetchInterval: 60_000,\n queryKey: [situationQueryKeys.hospitalDetailLive, emergencyRoomId],\n queryFn: () =>\n UNAUTH_API.getEmergencyRoomLive({\n emergencyRoomId,\n }),\n select: ({ context }) => ({\n roomCount: context?.hv36,\n babyRoomCount: context?.hv37,\n ambulanceUsable: context?.hvamyn,\n ctUsable: context?.hvctayn,\n mriUsable: context?.hvmriayn,\n doctorName: context?.hvdnm,\n }),\n }),\n\n medicalPolicyInfinityList: ({\n page,\n size,\n isLogin,\n ...restParams\n }: Parameters[number] & {\n isLogin?: boolean;\n }) =>\n infiniteQueryOptions({\n queryKey: [\n situationQueryKeys.medicalPolicyInfinityList,\n page,\n size,\n restParams,\n isLogin,\n ],\n queryFn: ({ pageParam }) => {\n const params = {\n page: pageParam,\n size,\n ...restParams,\n };\n\n return isLogin\n ? AUTH_API.getMedicalPolicyList(params)\n : UNAUTH_API.getMedicalPolicyList(params);\n },\n getNextPageParam: (lastPage) => {\n const { page: currentPage, total_count } = lastPage.context ?? {};\n\n if (!total_count || !currentPage)\n throw new CustomError({\n return_message: '페이지 수 데이터가 없습니다.',\n });\n\n const hasNextPage = currentPage < total_count / size;\n\n if (!hasNextPage) return;\n\n return currentPage + 1;\n },\n initialPageParam: page,\n enabled: isLogin !== undefined,\n }),\n emergencyRoomCountOfRegion: ({\n time,\n ...restParams\n }: Parameters[number]) =>\n queryOptions({\n queryFn: () =>\n UNAUTH_API.getEmergencyRoomCountOfRegion({\n ...restParams,\n time: time === 24 ? 0 : time,\n }),\n queryKey: [\n situationQueryKeys.emergencyRoomCountOfRegion,\n time,\n restParams,\n ],\n select: ({ context }) => {\n const sejongIndex = context?.contents.find(\n ({ code_sub_region }) =>\n code_sub_region === EXCEPTED_HIDDEN_CODE.REGION_SEJONG_ALL,\n );\n\n if (sejongIndex) {\n sejongIndex.sub_region = '세종시';\n }\n\n return context?.contents;\n },\n }),\n};\n","export * from './auth';\nexport * from './dpg';\nexport * from './family';\nexport * from './hometown-news';\nexport * from './meta-code';\nexport * from './policy';\nexport * from './policy-info';\nexport * from './situation';\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"contents\":\"page_contents__ASCLL\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"thumbnail\":\"HometownNewsDetailBottomDrawer_thumbnail__UaaIk\"};","class AbortError extends Error {\n constructor(message = 'The operation was aborted') {\n super(message);\n this.name = 'AbortError';\n }\n}\n\nexport { AbortError };\n","import { AbortError } from '../error/AbortError.mjs';\n\nfunction delay(ms, { signal } = {}) {\n return new Promise((resolve, reject) => {\n const abortError = () => {\n reject(new AbortError());\n };\n const abortHandler = () => {\n clearTimeout(timeoutId);\n abortError();\n };\n if (signal?.aborted) {\n return abortError();\n }\n const timeoutId = setTimeout(() => {\n signal?.removeEventListener('abort', abortHandler);\n resolve();\n }, ms);\n signal?.addEventListener('abort', abortHandler, { once: true });\n });\n}\n\nexport { delay };\n","class TimeoutError extends Error {\n constructor(message = 'The operation was timed out') {\n super(message);\n this.name = 'TimeoutError';\n }\n}\n\nexport { TimeoutError };\n","import { delay } from './delay.mjs';\nimport { TimeoutError } from '../error/TimeoutError.mjs';\n\nasync function timeout(ms) {\n await delay(ms);\n throw new TimeoutError();\n}\n\nexport { timeout };\n","import { timeout } from './timeout.mjs';\n\nasync function withTimeout(run, ms) {\n return Promise.race([run(), timeout(ms)]);\n}\n\nexport { withTimeout };\n","import { invariant } from '../../utils/errors.mjs';\nimport { setValues } from '../../render/utils/setters.mjs';\nimport { animateVisualElement } from '../interfaces/visual-element.mjs';\n\nfunction stopAnimation(visualElement) {\n visualElement.values.forEach((value) => value.stop());\n}\n/**\n * @public\n */\nfunction animationControls() {\n /**\n * Track whether the host component has mounted.\n */\n let hasMounted = false;\n /**\n * A collection of linked component animation controls.\n */\n const subscribers = new Set();\n const controls = {\n subscribe(visualElement) {\n subscribers.add(visualElement);\n return () => void subscribers.delete(visualElement);\n },\n start(definition, transitionOverride) {\n invariant(hasMounted, \"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.\");\n const animations = [];\n subscribers.forEach((visualElement) => {\n animations.push(animateVisualElement(visualElement, definition, {\n transitionOverride,\n }));\n });\n return Promise.all(animations);\n },\n set(definition) {\n invariant(hasMounted, \"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook.\");\n return subscribers.forEach((visualElement) => {\n setValues(visualElement, definition);\n });\n },\n stop() {\n subscribers.forEach((visualElement) => {\n stopAnimation(visualElement);\n });\n },\n mount() {\n hasMounted = true;\n return () => {\n hasMounted = false;\n controls.stop();\n };\n },\n };\n return controls;\n}\n\nexport { animationControls };\n","import { animationControls } from './animation-controls.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { useIsomorphicLayoutEffect } from '../../utils/use-isomorphic-effect.mjs';\n\n/**\n * Creates `AnimationControls`, which can be used to manually start, stop\n * and sequence animations on one or more components.\n *\n * The returned `AnimationControls` should be passed to the `animate` property\n * of the components you want to animate.\n *\n * These components can then be animated with the `start` method.\n *\n * ```jsx\n * import * as React from 'react'\n * import { motion, useAnimation } from 'framer-motion'\n *\n * export function MyComponent(props) {\n * const controls = useAnimation()\n *\n * controls.start({\n * x: 100,\n * transition: { duration: 0.5 },\n * })\n *\n * return \n * }\n * ```\n *\n * @returns Animation controller with `start` and `stop` methods\n *\n * @public\n */\nfunction useAnimationControls() {\n const controls = useConstant(animationControls);\n useIsomorphicLayoutEffect(controls.mount, []);\n return controls;\n}\nconst useAnimation = useAnimationControls;\n\nexport { useAnimation, useAnimationControls };\n","import * as React from \"react\";\nimport type { IntersectionObserverProps, PlainChildrenProps } from \"./index\";\nimport { observe } from \"./observe\";\n\ntype State = {\n inView: boolean;\n entry?: IntersectionObserverEntry;\n};\n\nfunction isPlainChildren(\n props: IntersectionObserverProps | PlainChildrenProps,\n): props is PlainChildrenProps {\n return typeof props.children !== \"function\";\n}\n\n/**\n ## Render props\n\n To use the `` component, you pass it a function. It will be called\n whenever the state changes, with the new value of `inView`. In addition to the\n `inView` prop, children also receive a `ref` that should be set on the\n containing DOM element. This is the element that the IntersectionObserver will\n monitor.\n\n If you need it, you can also access the\n [`IntersectionObserverEntry`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry)\n on `entry`, giving you access to all the details about the current intersection\n state.\n\n ```jsx\n import { InView } from 'react-intersection-observer';\n\n const Component = () => (\n \n {({ inView, ref, entry }) => (\n
\n

{`Header inside viewport ${inView}.`}

\n
\n )}\n
\n );\n\n export default Component;\n ```\n\n ## Plain children\n\n You can pass any element to the ``, and it will handle creating the\n wrapping DOM element. Add a handler to the `onChange` method, and control the\n state in your own component. Any extra props you add to `` will be\n passed to the HTML element, allowing you set the `className`, `style`, etc.\n\n ```jsx\n import { InView } from 'react-intersection-observer';\n\n const Component = () => (\n console.log('Inview:', inView)}>\n

Plain children are always rendered. Use onChange to monitor state.

\n
\n );\n\n export default Component;\n ```\n */\nexport class InView extends React.Component<\n IntersectionObserverProps | PlainChildrenProps,\n State\n> {\n node: Element | null = null;\n _unobserveCb: (() => void) | null = null;\n\n constructor(props: IntersectionObserverProps | PlainChildrenProps) {\n super(props);\n this.state = {\n inView: !!props.initialInView,\n entry: undefined,\n };\n }\n\n componentDidMount() {\n this.unobserve();\n this.observeNode();\n }\n\n componentDidUpdate(prevProps: IntersectionObserverProps) {\n // If a IntersectionObserver option changed, reinit the observer\n if (\n prevProps.rootMargin !== this.props.rootMargin ||\n prevProps.root !== this.props.root ||\n prevProps.threshold !== this.props.threshold ||\n prevProps.skip !== this.props.skip ||\n prevProps.trackVisibility !== this.props.trackVisibility ||\n prevProps.delay !== this.props.delay\n ) {\n this.unobserve();\n this.observeNode();\n }\n }\n\n componentWillUnmount() {\n this.unobserve();\n }\n\n observeNode() {\n if (!this.node || this.props.skip) return;\n const {\n threshold,\n root,\n rootMargin,\n trackVisibility,\n delay,\n fallbackInView,\n } = this.props;\n\n this._unobserveCb = observe(\n this.node,\n this.handleChange,\n {\n threshold,\n root,\n rootMargin,\n // @ts-ignore\n trackVisibility,\n // @ts-ignore\n delay,\n },\n fallbackInView,\n );\n }\n\n unobserve() {\n if (this._unobserveCb) {\n this._unobserveCb();\n this._unobserveCb = null;\n }\n }\n\n handleNode = (node?: Element | null) => {\n if (this.node) {\n // Clear the old observer, before we start observing a new element\n this.unobserve();\n\n if (!node && !this.props.triggerOnce && !this.props.skip) {\n // Reset the state if we get a new node, and we aren't ignoring updates\n this.setState({ inView: !!this.props.initialInView, entry: undefined });\n }\n }\n\n this.node = node ? node : null;\n this.observeNode();\n };\n\n handleChange = (inView: boolean, entry: IntersectionObserverEntry) => {\n if (inView && this.props.triggerOnce) {\n // If `triggerOnce` is true, we should stop observing the element.\n this.unobserve();\n }\n if (!isPlainChildren(this.props)) {\n // Store the current State, so we can pass it to the children in the next render update\n // There's no reason to update the state for plain children, since it's not used in the rendering.\n this.setState({ inView, entry });\n }\n if (this.props.onChange) {\n // If the user is actively listening for onChange, always trigger it\n this.props.onChange(inView, entry);\n }\n };\n\n render() {\n const { children } = this.props;\n if (typeof children === \"function\") {\n const { inView, entry } = this.state;\n return children({ inView, entry, ref: this.handleNode });\n }\n\n const {\n as,\n triggerOnce,\n threshold,\n root,\n rootMargin,\n onChange,\n skip,\n trackVisibility,\n delay,\n initialInView,\n fallbackInView,\n ...props\n } = this.props as PlainChildrenProps;\n\n return React.createElement(\n as || \"div\",\n { ref: this.handleNode, ...props },\n children,\n );\n }\n}\n","import type { ObserverInstanceCallback } from \"./index\";\n\nconst observerMap = new Map<\n string,\n {\n id: string;\n observer: IntersectionObserver;\n elements: Map>;\n }\n>();\n\nconst RootIds: WeakMap = new WeakMap();\nlet rootId = 0;\n\nlet unsupportedValue: boolean | undefined = undefined;\n\n/**\n * What should be the default behavior if the IntersectionObserver is unsupported?\n * Ideally the polyfill has been loaded, you can have the following happen:\n * - `undefined`: Throw an error\n * - `true` or `false`: Set the `inView` value to this regardless of intersection state\n * **/\nexport function defaultFallbackInView(inView: boolean | undefined) {\n unsupportedValue = inView;\n}\n\n/**\n * Generate a unique ID for the root element\n * @param root\n */\nfunction getRootId(root: IntersectionObserverInit[\"root\"]) {\n if (!root) return \"0\";\n if (RootIds.has(root)) return RootIds.get(root);\n rootId += 1;\n RootIds.set(root, rootId.toString());\n return RootIds.get(root);\n}\n\n/**\n * Convert the options to a string Id, based on the values.\n * Ensures we can reuse the same observer when observing elements with the same options.\n * @param options\n */\nexport function optionsToId(options: IntersectionObserverInit) {\n return Object.keys(options)\n .sort()\n .filter(\n (key) => options[key as keyof IntersectionObserverInit] !== undefined,\n )\n .map((key) => {\n return `${key}_${\n key === \"root\"\n ? getRootId(options.root)\n : options[key as keyof IntersectionObserverInit]\n }`;\n })\n .toString();\n}\n\nfunction createObserver(options: IntersectionObserverInit) {\n // Create a unique ID for this observer instance, based on the root, root margin and threshold.\n const id = optionsToId(options);\n let instance = observerMap.get(id);\n\n if (!instance) {\n // Create a map of elements this observer is going to observe. Each element has a list of callbacks that should be triggered, once it comes into view.\n const elements = new Map>();\n // biome-ignore lint/style/useConst: It's fine to use let here, as we are going to assign it later\n let thresholds: number[] | readonly number[];\n\n const observer = new IntersectionObserver((entries) => {\n entries.forEach((entry) => {\n // While it would be nice if you could just look at isIntersecting to determine if the component is inside the viewport, browsers can't agree on how to use it.\n // -Firefox ignores `threshold` when considering `isIntersecting`, so it will never be false again if `threshold` is > 0\n const inView =\n entry.isIntersecting &&\n thresholds.some((threshold) => entry.intersectionRatio >= threshold);\n\n // @ts-ignore support IntersectionObserver v2\n if (options.trackVisibility && typeof entry.isVisible === \"undefined\") {\n // The browser doesn't support Intersection Observer v2, falling back to v1 behavior.\n // @ts-ignore\n entry.isVisible = inView;\n }\n\n elements.get(entry.target)?.forEach((callback) => {\n callback(inView, entry);\n });\n });\n }, options);\n\n // Ensure we have a valid thresholds array. If not, use the threshold from the options\n thresholds =\n observer.thresholds ||\n (Array.isArray(options.threshold)\n ? options.threshold\n : [options.threshold || 0]);\n\n instance = {\n id,\n observer,\n elements,\n };\n\n observerMap.set(id, instance);\n }\n\n return instance;\n}\n\n/**\n * @param element - DOM Element to observe\n * @param callback - Callback function to trigger when intersection status changes\n * @param options - Intersection Observer options\n * @param fallbackInView - Fallback inView value.\n * @return Function - Cleanup function that should be triggered to unregister the observer\n */\nexport function observe(\n element: Element,\n callback: ObserverInstanceCallback,\n options: IntersectionObserverInit = {},\n fallbackInView = unsupportedValue,\n) {\n if (\n typeof window.IntersectionObserver === \"undefined\" &&\n fallbackInView !== undefined\n ) {\n const bounds = element.getBoundingClientRect();\n callback(fallbackInView, {\n isIntersecting: fallbackInView,\n target: element,\n intersectionRatio:\n typeof options.threshold === \"number\" ? options.threshold : 0,\n time: 0,\n boundingClientRect: bounds,\n intersectionRect: bounds,\n rootBounds: bounds,\n });\n return () => {\n // Nothing to cleanup\n };\n }\n // An observer with the same options can be reused, so lets use this fact\n const { id, observer, elements } = createObserver(options);\n\n // Register the callback listener for this element\n const callbacks = elements.get(element) || [];\n if (!elements.has(element)) {\n elements.set(element, callbacks);\n }\n\n callbacks.push(callback);\n observer.observe(element);\n\n return function unobserve() {\n // Remove the callback from the callback list\n callbacks.splice(callbacks.indexOf(callback), 1);\n\n if (callbacks.length === 0) {\n // No more callback exists for element, so destroy it\n elements.delete(element);\n observer.unobserve(element);\n }\n\n if (elements.size === 0) {\n // No more elements are being observer by this instance, so destroy it\n observer.disconnect();\n observerMap.delete(id);\n }\n };\n}\n","import * as React from \"react\";\nimport type { InViewHookResponse, IntersectionOptions } from \"./index\";\nimport { observe } from \"./observe\";\n\ntype State = {\n inView: boolean;\n entry?: IntersectionObserverEntry;\n};\n\n/**\n * React Hooks make it easy to monitor the `inView` state of your components. Call\n * the `useInView` hook with the (optional) [options](#options) you need. It will\n * return an array containing a `ref`, the `inView` status and the current\n * [`entry`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry).\n * Assign the `ref` to the DOM element you want to monitor, and the hook will\n * report the status.\n *\n * @example\n * ```jsx\n * import React from 'react';\n * import { useInView } from 'react-intersection-observer';\n *\n * const Component = () => {\n * const { ref, inView, entry } = useInView({\n * threshold: 0,\n * });\n *\n * return (\n *
\n *

{`Header inside viewport ${inView}.`}

\n *
\n * );\n * };\n * ```\n */\nexport function useInView({\n threshold,\n delay,\n trackVisibility,\n rootMargin,\n root,\n triggerOnce,\n skip,\n initialInView,\n fallbackInView,\n onChange,\n}: IntersectionOptions = {}): InViewHookResponse {\n const [ref, setRef] = React.useState(null);\n const callback = React.useRef(onChange);\n const [state, setState] = React.useState({\n inView: !!initialInView,\n entry: undefined,\n });\n\n // Store the onChange callback in a `ref`, so we can access the latest instance\n // inside the `useEffect`, but without triggering a rerender.\n callback.current = onChange;\n\n // biome-ignore lint/correctness/useExhaustiveDependencies: threshold is not correctly detected as a dependency\n React.useEffect(\n () => {\n // Ensure we have node ref, and that we shouldn't skip observing\n if (skip || !ref) return;\n\n let unobserve: (() => void) | undefined;\n unobserve = observe(\n ref,\n (inView, entry) => {\n setState({\n inView,\n entry,\n });\n if (callback.current) callback.current(inView, entry);\n\n if (entry.isIntersecting && triggerOnce && unobserve) {\n // If it should only trigger once, unobserve the element after it's inView\n unobserve();\n unobserve = undefined;\n }\n },\n {\n root,\n rootMargin,\n threshold,\n // @ts-ignore\n trackVisibility,\n // @ts-ignore\n delay,\n },\n fallbackInView,\n );\n\n return () => {\n if (unobserve) {\n unobserve();\n }\n };\n },\n // We break the rule here, because we aren't including the actual `threshold` variable\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [\n // If the threshold is an array, convert it to a string, so it won't change between renders.\n Array.isArray(threshold) ? threshold.toString() : threshold,\n ref,\n root,\n rootMargin,\n triggerOnce,\n skip,\n trackVisibility,\n fallbackInView,\n delay,\n ],\n );\n\n const entryTarget = state.entry?.target;\n const previousEntryTarget = React.useRef(undefined);\n if (\n !ref &&\n entryTarget &&\n !triggerOnce &&\n !skip &&\n previousEntryTarget.current !== entryTarget\n ) {\n // If we don't have a node ref, then reset the state (unless the hook is set to only `triggerOnce` or `skip`)\n // This ensures we correctly reflect the current state - If you aren't observing anything, then nothing is inView\n previousEntryTarget.current = entryTarget;\n setState({\n inView: !!initialInView,\n entry: undefined,\n });\n }\n\n const result = [setRef, state.inView, state.entry] as InViewHookResponse;\n\n // Support object destructuring, by adding the specific values.\n result.ref = result[0];\n result.inView = result[1];\n result.entry = result[2];\n\n return result;\n}\n"],"names":["Promise","resolve","then","__webpack_require__","bind","t","Object","assign","i","n","s","arguments","length","a","prototype","hasOwnProperty","call","apply","endVal","options","version","defaults","startVal","decimalPlaces","duration","useEasing","useGrouping","useIndianSeparators","smartEasingThreshold","smartEasingAmount","separator","decimal","prefix","suffix","enableScrollSpy","scrollSpyDelay","scrollSpyOnce","finalEndVal","countDown","error","paused","once","count","startTime","remaining","frameVal","easingFn","Number","toFixed","printValue","rAF","requestAnimationFrame","update","onCompleteCallback","formatNumber","e","r","Math","abs","split","l","h","u","p","numerals","replace","o","easeOutExpo","pow","formattingFn","validateValue","max","resetDuration","String","el","document","getElementById","window","console","onScrollFns","push","handleScroll","onscroll","forEach","innerHeight","scrollY","getBoundingClientRect","top","pageYOffset","height","setTimeout","start","reset","determineDirectionAndSmartEasing","onStartCallback","pauseResume","cancelAnimationFrame","plugin","render","tagName","value","textContent","innerHTML","ensureNumber","isNaN","concat","React","countup_js","ownKeys","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","_objectSpread2","_defineProperty","obj","key","_toPrimitive","Symbol","toPrimitive","defineProperty","configurable","writable","getOwnPropertyDescriptors","defineProperties","_extends","target","source","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","sourceKeys","indexOf","sourceSymbolKeys","propertyIsEnumerable","_arrayLikeToArray","arr","len","arr2","useIsomorphicLayoutEffect","createElement","useLayoutEffect","useEffect","useEventCallback","fn","ref","useRef","current","useCallback","_len","args","_key","createCountUpInstance","props","decimals","end","CountUp","_excluded$1","DEFAULTS","delay","startOnMount","enableReinitialize","useCountUp","filteredProps","fromEntries","entries","_ref","undefined","_ref2","_arrayWithHoles","Array","isArray","_iterableToArrayLimit","iterator","f","next","done","return","_unsupportedIterableToArray","minLen","toString","slice","constructor","name","from","test","_nonIterableRest","_useMemo","useMemo","onEnd","onStart","onPauseResume","onReset","onUpdate","instanceProps","countUpRef","timerRef","isInitializedRef","createInstance","getCountUp","recreate","countUp","newCountUp","run","restart","clearTimeout","newEnd","maybeInitialize","shouldReset","_excluded","exports","ZP","className","redraw","containerProps","children","style","useCountUpProps","containerRef","_useCountUp","updateCountUp","preserveValue","initializeOnMount","Element","redrawDependencies","_path","components_SvgTextfieldclose","createSvgComponent","react","xmlns","width","fill","viewBox","fillRule","d","clipRule","HometownNewsBookmarkButton","idIdx","param","isLogin","useAuthStore","state","data","id","useQuery","UnauthQueryOptions","path","hometown_news_id_idx","select","context","detail_hometown_news","hometown_news_id","feedbackQuery","hometownNewsQueryOptions","feedback","isBookmarked","wishlist_yn","bookmarkCount","wishlist_count","bookmark","useBookmark","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","BookmarkButton","onClick","assert","bookmarkType","BOOKMARK_TYPE","HOMETOWN_NEWS","contentId","idx","HometownNewsDaysAgo","fallbackDate","daysAgo","clientDaysAgo","days_ago","useGetHometownNewsRelatedList","UNAUTH_API","getRelatedHometownNewsList","hometownNewsIdIdx","Error","list","contents","keyword","search_keyword","isNormalizedResponse","return_code","ERROR_CODE","HIDDEN","redirect","ROUTES","ERROR","pathname","code","HometownNewsDetailBottomDrawer","isShow","setIsShow","useState","isWelloApp","useCheckWelloApp","isLoading","query","contents_type_cd","BANNER_CONTENTS_TYPE","HOMETOWN_BOTTOM_SHEET","banner","applyFileUrl","app_file_url","file_url","applyLinkUrl","app_link_url","link_url","sessionStorage","bottomDrawerShowPathname","getItem","STORAGE_KEY","HOMETOWN_NEWS_DETAIL_BOTTOM_DRAWER_PATH","location","removeItem","jsx_runtime","jsxs","BottomDrawer","opened","renderTo","SELECTOR","MAIN_WRAPPER","onClose","HandleWrapper","Handle","Contents","section","title","subtitle","LazyImage","styles","src","Button","theme","href","button_text","ImageFloatingBanner","isClose","setIsClose","isMounted","setIsMounted","HOMETOWN_FLOATING","mainElement","setMainElement","MAIN","createPortal","CustomLink","target_new_yn","alt","preventDefault","SvgTextfieldclose","div","Fragment","MoreFloatingButton","contentAreaSelector","recommendHometownNewsSelector","contentsElement","setContentsElement","recommendHometownNewsElement","setRecommendHometownNewsElement","controls","useAnimation","updateIsShow","isContentsScrollOveredHalf","offsetTop","offsetHeight","scrollTop","isRecommendHometownNewsListScrollOvered","throttle","addEventListener","removeEventListener","opacity","SHOW_BUTTON_OPACITY","INITIALIZE_BUTTON_OPACITY","bottom","SHOW_BUTTON_BOTTOM","INITIALIZE_BUTTON_BOTTOM","transition","Portal","motion","button","animate","disabled","initial","type","scrollIntoView","behavior","block","SvgChevrondown","RecommendHometownNewsCard","publishedAt","thumbnail","routePathname","HOMETOWN_NEWS_DETAIL","setItem","h4","RecommendHometownNewsVerticalCard","cn","RecommendHometownNews","listSection","swipeList","article","ul","map","li","news","hometown_news_name","published_at","Swiper","SWIPER_PROPS","SwiperSlide","slidesPerView","spaceBetween","mousewheel","modules","Mousewheel","MoreHometownNewsList","contentAreaId","hometownNewsRelatedList","hometownNewsRelatedListKeyword","hometownNewsRelated","useSuspenseQuery","queryKey","queryFn","getHometownNewsRelatedList","isNotRenderRelatedList","initialCommentData","initialComment","getCommentList","commentType","COMMENT_TYPE","recommendHometownNewsAreaId","createUuid","CommentListWithField","initialData","TopBanner","appFileUrl","appLinkUrl","fileUrl","linkUrl","targetNewYn","img","SvgDelete","authQueryOptionsKeys","socialLogin","authQueryOptions","enabled","queryOptions","staleTime","CustomError","return_message","redirectPath","JSON","parse","atob","access_token","ky","post","headers","body","URLSearchParams","redirect_uri","ENV","NEXT_PUBLIC_DOMAIN","grant_type","client_id","NEXT_PUBLIC_KAKAO_CLIENT_ID","json","loginType","LOGIN_TYPE","KAKAO","socialLoginToken","API_ROUTES","NAVER_AUTH","NAVER","GOOGLE_AUTH","GOOGLE","id_token","APPLE_TOKEN","APPLE","dpgQueryOptionsKeys","checkEligibility","agreement","notice","loanInterest","deptReportList","deptReportDetail","getCIInfo","address","dpgQueryOptions","ciToken","DPG_API","postEligibilityCheck","requestBody","custCi","retry","isTarget","canRprYn","isPeriodicReport","preRgrRprtYn","getAgreement","financialInfo","finInfoAgmtCten","personalInfo","indvInfoAgmtCten","year","get","searchParams","baseYear","content","noticeCten","getLoanInterestList","Date","getFullYear","basDt","loanAmtSum","loanBlmtSum","loanIntAmtSum","nyRcpDutyApmtAmt","nyRcpOvdAmt","nyRcpOvdAdAmt","nyRcpAmtSum","loanList","getReportHistoryList","total","totalCount","rprYr","dbtrRprClssCd","dbtrRprDt","getReportHistory","rprFltNm","rprDutyAbtnYr","univGrdtYn","grdtDt","grdtUnivCd","grdtUnivNm","ovseRsdYn","rsdcPno","rsdcPnoAddr","rsdcDtalAddr","rsdcStsgLtnoDivCd","ctyCd","ctyNm","etcMttCten","mblTno","emailAddr","wkplEan","spoEan","spoFrnrYn","spoNm","spoOvseRsdYn","spoRsdcPno","spoRsdcPnoAddr","spoRsdcDtalAddr","spoRsdcStsgLtnoDivCd","spoCtyCd","spoCtyNm","spoWkplEan","indvInfoOferAgmtYn","finInfoOferAgmtYn","dbtrNrgrRprClssCd","careerList","spoCareerList","AUTH_API","getMemberVerification","accessToken","ci","getAddress","pnoAddr","addressDetail","dtalAddr","zonecode","pno","addressType","stsgLtnoDivCd","familyQueryOptions","queryKeys","familyList","getFamilyList","wello_member_family_list","total_policy_count","totalPolicyCount","codeRegion","codeSubRegion","hometownNewsSort","infiniteQueryOptions","AuthInfiniteQueryOptions","UnauthInfiniteQueryOptions","page","size","code_region","code_sub_region","hometown_news_sort","pages","commentCount","comment_count","dateText","summary","thumbUpCount","like_count","isThumbUp","like_yn","total_count","pageParams","getNextPageParam","lastPage","nextPage","ceil","initialPageParam","AuthQueryOptions","metaCodeQueryOptionsKeys","regionList","subRegionList","geolocation","geoCodingByRegionCode","getMetaCode","metaCode","meta_code_all_list","meta_sub_code_list","label","item","regionCode","subRegionCode","getGeocodingByRegionCode","redirectDetailPage","returnCode","getPolicyDetail","metaPolicyIdIdx","UnauthApi","meta_policy_id_idx","HOME","relatedInfo","apply_documents","replaceAll","base_rule","summaryString","keywordString","withTimeout","ai_summary","ai_seo_keyword","all","updatePolicyAiInfo","gpt_prompt_type","GPT_PROMPT_TYPE","SUMMARY","res","result","KEYWORD","catch","aiSummaryList","trim","aiKeywordList","policyName","policy_name","descAgeList","desc_age_list","dday","policyApplyId","wello_policy_apply_id","provisionTypeList","provision_type_list","applyTypeList","apply_type_list","agencyLogo","agency_logo","agency","dueDateBetween","due_date_between","supportBenefit","support_benefit","descTarget","desc_target","descSupport","desc_support","descProvision","desc_provision","policyBannerTypeList","policy_banner_type_list","descApply","desc_apply","agencyTel","agency_tel","infoUrl","info_url","policyApplicationTypeCd","policy_application_type_cd","detailPolicyApplicationTypeCd","detail_policy_application_type_cd","policyQueryOptionsKeys","policyDetail","policyQueryOptions","policy_id","placeholderData","keepPreviousData","readingCount","reading_count","hasNewComment","new_comment_yn","likeCount","search","codeProvisionTypeList","policySort","searchKeyword","currentPage","policyInfoQueryOptions","codeProvisionType","best_contents_sort","code_provision_type","policyInfoList","provision_type","situationQueryKeys","hospitalList","hospitalDetailLive","medicalPolicyInfinityList","emergencyRoomCountOfRegion","situationQueryOptions","hospitalInfinityList","time","restParams","pageParam","getEmergencyRoomList","has_next","HospitalList","refetchInterval","emergencyRoomId","getEmergencyRoomLive","roomCount","hv36","babyRoomCount","hv37","ambulanceUsable","hvamyn","ctUsable","hvctayn","mriUsable","hvmriayn","doctorName","hvdnm","params","getMedicalPolicyList","getEmergencyRoomCountOfRegion","sejongIndex","find","EXCEPTED_HIDDEN_CODE","REGION_SEJONG_ALL","sub_region","module","AbortError","message","ms","signal","reject","abortError","abortHandler","timeoutId","aborted","TimeoutError","timeout","g","race","animationControls","hasMounted","subscribers","Set","subscribe","add","visualElement","delete","definition","transitionOverride","errors","k","animations","visual_element","set","setters","gg","stop","stopAnimation","values","mount","use_constant","use_isomorphic_effect","L","observerMap","Map","RootIds","WeakMap","rootId","unsupportedValue","useInView","_a","threshold","trackVisibility","rootMargin","root","triggerOnce","skip","initialInView","fallbackInView","onChange","setRef","React2","callback","setState","inView","entry","unobserve","observe","element","IntersectionObserver","bounds","isIntersecting","intersectionRatio","boundingClientRect","intersectionRect","rootBounds","observer","elements","createObserver","sort","has","instance","thresholds","some","isVisible","callbacks","splice","disconnect","entryTarget","previousEntryTarget"],"sourceRoot":""}