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wD,EAAQ,GAAKK,EAAW/G,MAAMkD,OAAU,EAAG,KAAA8D,EAC9CvB,EAAiBS,KACfxF,EAAAA,aAAmBqG,EAAnBC,CAAAA,EAAA,CACEb,IAAKlB,EAAKqB,QADZ,KAAAQ,EAAA7C,CAAAA,EAAA+C,EAEGlC,EAAW2B,GAFd,GAAAK,EAAA7C,CAAAA,EAAA+C,EAGGlC,EAAW,QAAUyB,GAHxB,GAAAO,EAAA7C,CAAAA,EAAA+C,EAIGlC,EAAW,QAAU0B,GAJxB,GAAAM,EAAA7C,CAAAA,EAAA+C,EAAA,QAKSN,GALTM,CAAA,GAQH,CAEJ,GAEHT,EAAOE,CACR,EACF,CACF,OA5EKjB,GACFC,EAAiBS,KACfxF,EAAAA,aAAmB8E,EAAU,CAC3BW,IAAK,KAAKG,QADiB,IAkFnC,OAPIf,GACFE,EAAiBS,KACfxF,EAAAA,aAAmB6E,EAAM,CACvBY,IAAK,gBADkB,IAKtBV,CACR,uBAED,WACE,IAAAwB,EAQI,KAAKjH,MAPPH,EADFoH,EACEpH,SACAgF,EAFFoC,EAEEpC,UACAC,EAHFmC,EAGEnC,SACAoC,EAJFD,EAIEC,YACAnC,EALFkC,EAKElC,QALFoC,EAAAF,EAMEjC,aAAAA,EANFmC,KAAA,IAAAA,GAAAA,EAOKpD,EAPL,GAAAC,EAAAC,CAAAA,EAAAgD,EAAAG,GASMC,EAAUH,GAA4B,KAC5C,OAAOxG,EAAAA,cACL2G,EADKC,kWAAA,GAEAvD,GACL,KAAKwD,WAAW1H,EAAUgF,EAAWC,EAAUC,EAASC,GAE3D,QAnMoBnD,EAAAA","sources":["webpack://_N_E/./src/features/common/components/layout/getTemplate.js","webpack://_N_E/./src/features/common/components/layout/ContentTemplate.jsx","webpack://_N_E/./src/features/common/components/layout/LeftMenuTemplate.jsx","webpack://_N_E/./src/features/common/components/layout/LoginContentTemplate.jsx","webpack://_N_E/./src/features/common/components/layout/NotLoginContentTemplate.jsx","webpack://_N_E/./src/features/common/components/layout/PageLayout.jsx","webpack://_N_E/./src/features/common/components/layout/index.js","webpack://_N_E/./src/features/customer/CustomerConstants.js","webpack://_N_E/./src/library/ReactSwitchCase.jsx","webpack://_N_E/./src/library/board/PostShowPlatform.js","webpack://_N_E/./src/library/repeater/renderComponent.js","webpack://_N_E/./src/library/repeater/FootContainer.jsx","webpack://_N_E/./src/library/repeater/ItemContainer.jsx","webpack://_N_E/./src/library/repeater/NotFoundContainer.jsx","webpack://_N_E/./src/library/repeater/Repeater.jsx","webpack://_N_E/./src/library/repeater/index.jsx","webpack://_N_E/"],"sourcesContent":["import React from 'react';\n\nexport default function getTemplate(children, template, props = {}) {\n if (!Array.isArray(children)) {\n if (children.type === template) {\n return children;\n }\n } else {\n let component;\n children.forEach((child, idx) => {\n if (!component && child.type === template) {\n component = child;\n }\n });\n if (component) {\n return React.cloneElement(component, props);\n } else {\n return null;\n }\n }\n return null;\n}\n","const ContentTemplate = (props) => {\n const { children } = props;\n return children;\n};\n\nexport default ContentTemplate;\n","const LeftMenuTemplate = (props) => {\n const { children } = props;\n return children;\n};\n\nexport default LeftMenuTemplate;\n","import LoginInjector from '../../LoginInjector';\n\nconst LoginContentTemplate = ({ children, userInfo }) => {\n if (userInfo.isLogin === false) {\n return null;\n }\n return children;\n};\n\nexport default LoginInjector(LoginContentTemplate);\n","import LoginInjector from '../../LoginInjector';\n\nconst NotLoginContentTemplate = ({ children, userInfo }) => {\n if (userInfo.isLogin === true) {\n return null;\n }\n return children;\n};\n\nexport default LoginInjector(NotLoginContentTemplate);\n","import React, { Component } from 'react';\nimport getTemplate from './getTemplate';\nimport ContentTemplate from './ContentTemplate';\nimport LeftMenuTemplate from './LeftMenuTemplate';\nimport LoginContentTemplate from './LoginContentTemplate';\nimport NotLoginContentTemplate from './NotLoginContentTemplate';\n\nclass PageLayout extends Component {\n render() {\n const { children } = this.props;\n return (\n
\n
{getTemplate(children, LeftMenuTemplate)}
\n {getTemplate(children, ContentTemplate)}\n {getTemplate(children, NotLoginContentTemplate)}\n {getTemplate(children, LoginContentTemplate)}\n
\n );\n }\n}\n\nexport default PageLayout;\n","import PageLayout from './PageLayout';\nimport ContentTemplate from './ContentTemplate';\nimport LeftMenuTemplate from './LeftMenuTemplate';\nimport LoginContentTemplate from './LoginContentTemplate';\nimport NotLoginContentTemplate from './NotLoginContentTemplate';\n\nexport {\n PageLayout,\n ContentTemplate,\n LoginContentTemplate,\n NotLoginContentTemplate,\n LeftMenuTemplate,\n};\n","import { routes } from '../../constants/routes';\n\nconst NoticeConstants = {\n boardType: 'NoticeBoard',\n boardName: '공지사항',\n pageSize: 10,\n listPage: routes.customer.notice,\n is_show_pc: true,\n};\nconst EventConstants = {\n boardType: 'NoticeBoard',\n boardName: '학부모이벤트',\n is_show_pc: true,\n pageSize: 50,\n listPage: routes.customer.event,\n detailPage: routes.customer.event,\n};\n\nconst BannerConstants = {\n boardType: 'NoticeBoard',\n pageSize: 50,\n boardName: '학부모배너',\n is_show_pc: true,\n};\n\nconst MENU_LABELS = [\n { label: '공지사항', link: 'noticelist' },\n { label: '이벤트', link: 'event' },\n { label: '자주하는 질문', link: 'question' },\n { label: '신고 · 건의 · 문의', link: 'report' },\n { label: '앱다운로드', link: 'download' },\n { label: '선생님 지원', link: 'teacher' },\n];\n\nexport { EventConstants, BannerConstants, NoticeConstants, MENU_LABELS };\n","import React, { Component } from 'react';\n\nclass Case extends Component {\n render() {\n return this.props.children;\n }\n}\n\nclass Default extends Component {\n render() {\n return this.props.children;\n }\n}\n\nclass Switch extends Component {\n getChildrens() {\n let cases, defaultComponent;\n\n React.Children.forEach(this.props.children, (item) => {\n if (React.isValidElement(item)) {\n if (!cases && item.type === Case) {\n if (this.props.condition === item.props.value) {\n cases = item;\n }\n } else if (!defaultComponent && item.type === Default) {\n defaultComponent = item;\n }\n }\n });\n\n if (!cases) {\n if (defaultComponent) {\n return defaultComponent;\n } else {\n return null;\n }\n }\n return cases;\n }\n\n render() {\n return this.getChildrens();\n }\n}\n\nexport default Switch;\nexport { Switch, Case, Default };\n","export function showPlatform(ownProps, query) {\n const { boardType, is_show_app, is_show_mobile, is_show_pc } = ownProps;\n\n if (query === null || query === undefined) {\n return query;\n }\n\n let newQuery = { ...query };\n if (boardType === 'NoticeBoard') {\n if (is_show_app === true) {\n newQuery['is_show_app'] = is_show_app;\n }\n if (is_show_mobile === true) {\n newQuery['is_show_mobile'] = is_show_mobile;\n }\n if (is_show_pc === true) {\n newQuery['is_show_pc'] = is_show_pc;\n }\n }\n return newQuery;\n}\n","import React from 'react';\n\nexport default function renderComponent(props) {\n const { children, ...rest } = { ...props };\n\n if (children) {\n if (typeof children === 'function') {\n return children(rest);\n } else if (!Array.isArray(props.children) || !children.length) {\n if (typeof children.type === 'function') {\n return React.cloneElement(children, rest);\n } else {\n return React.cloneElement(children);\n }\n }\n } else {\n return null;\n }\n}\n","import renderComponent from './renderComponent';\n\nconst FootContainer = (props) => {\n return renderComponent(props);\n};\n\nexport default FootContainer;\n","import renderComponent from './renderComponent';\n\nconst ItemContainer = (props) => {\n return renderComponent(props);\n};\n\nexport default ItemContainer;\n","import renderComponent from './renderComponent';\n\nconst NotFoundContainer = (props) => {\n return renderComponent(props);\n};\n\nexport default NotFoundContainer;\n","import React, { Component } from 'react';\nimport {\n FootContainer,\n HeadContainer,\n ItemContainer,\n ItemFootContainer,\n ItemHeadContainer,\n DivideContainer,\n ItemWrapperContainer,\n NotFoundContainer,\n} from './';\n\nclass Repeater extends Component {\n constructor(props) {\n super(props);\n\n this.keyIdx = 0;\n this.startIdx = 0;\n }\n\n genKey() {\n this.keyIdx = this.keyIdx + 1;\n return this.keyIdx;\n }\n\n renderItem(children, arrayData, propName, reverse, newComponent) {\n let head = null;\n let itemWrapper = null;\n let itemHead = null;\n let item = null;\n let itemFoot = null;\n let divide = [];\n let foot = null;\n let notFound = null;\n let renderComponents = [];\n if (newComponent === false) {\n this.keyIdx = this.startIdx;\n } else {\n this.startIdx = this.keyIdx;\n }\n\n // Header 영역 //\n if (!Array.isArray(children)) {\n if (children.type === HeadContainer) {\n head = children;\n }\n if (children.type === FootContainer) {\n foot = children;\n }\n if (children.type === ItemContainer) {\n item = children;\n }\n if (children.type === ItemFootContainer) {\n itemFoot = children;\n }\n if (children.type === ItemHeadContainer) {\n itemHead = children;\n }\n if (children.type === NotFoundContainer) {\n notFound = children;\n }\n if (children.type === DivideContainer) {\n divide.push(children);\n }\n if (children.type === ItemWrapperContainer) {\n itemWrapper = children;\n }\n } else {\n children.forEach((child, idx) => {\n if (child.type === HeadContainer) {\n head = child;\n }\n if (child.type === FootContainer) {\n foot = child;\n }\n if (child.type === ItemContainer) {\n item = child;\n }\n if (child.type === ItemWrapperContainer) {\n itemWrapper = child;\n }\n if (child.type === ItemFootContainer) {\n itemFoot = child;\n }\n if (child.type === ItemHeadContainer) {\n itemHead = child;\n }\n if (child.type === NotFoundContainer) {\n notFound = child;\n }\n if (child.type === DivideContainer) {\n divide.push(child);\n }\n });\n }\n\n if (head) {\n renderComponents.push(\n React.cloneElement(head, {\n key: '_repeater_head',\n })\n );\n }\n if (!arrayData || !Array.isArray(arrayData) || arrayData.length === 0) {\n if (notFound) {\n renderComponents.push(\n React.cloneElement(notFound, {\n key: this.genKey(),\n })\n );\n }\n } else if (arrayData && Array.isArray(arrayData)) {\n let tempArray = [...arrayData];\n if (reverse) {\n tempArray = tempArray.reverse();\n }\n if (itemWrapper) {\n renderComponents.push(\n React.cloneElement(itemWrapper, {\n key: this.genKey(),\n arrayData: tempArray,\n propName: propName,\n })\n );\n } else if (item) {\n let prev = undefined;\n let next = undefined;\n tempArray.forEach((data, index) => {\n next = arrayData[index + 1];\n if (itemHead) {\n renderComponents.push(\n React.cloneElement(itemHead, {\n key: this.genKey(),\n [propName + '_prev']: prev,\n [propName + '_next']: next,\n [propName]: data,\n index: index,\n })\n );\n }\n renderComponents.push(\n React.cloneElement(item, {\n key: this.genKey(),\n [propName]: data,\n [propName + '_prev']: prev,\n [propName + '_next']: next,\n index: index,\n })\n );\n if (itemFoot) {\n renderComponents.push(\n React.cloneElement(itemFoot, {\n key: this.genKey(),\n [propName]: data,\n [propName + '_prev']: prev,\n [propName + '_next']: next,\n index: index,\n })\n );\n }\n if (divide.length > 0) {\n divide.forEach((divideItem) => {\n if (divideItem.props.value) {\n if ((index + 1) % divideItem.props.value === 0) {\n renderComponents.push(\n React.cloneElement(divideItem, {\n key: this.genKey(),\n [propName]: data,\n [propName + '_prev']: prev,\n [propName + '_next']: next,\n index: index,\n })\n );\n }\n }\n });\n }\n prev = data;\n });\n }\n }\n if (foot) {\n renderComponents.push(\n React.cloneElement(foot, {\n key: '_repeater_foot',\n })\n );\n }\n return renderComponents;\n }\n\n render() {\n const {\n children,\n arrayData,\n propName,\n elementName,\n reverse,\n newComponent = false,\n ...rest\n } = this.props;\n const element = elementName ? elementName : 'r_';\n return React.createElement(\n element,\n { ...rest },\n this.renderItem(children, arrayData, propName, reverse, newComponent)\n );\n }\n}\n\nexport default Repeater;\n","import FootContainer from './FootContainer';\nimport ItemContainer from './ItemContainer';\nimport NotFoundContainer from './NotFoundContainer';\nimport Repeater from './Repeater';\n\nexport { Repeater, FootContainer, ItemContainer, NotFoundContainer };\n"],"names":["getTemplate","children","template","component","props","arguments","length","undefined","Array","isArray","forEach","child","idx","type","React","layout_ContentTemplate","layout_LeftMenuTemplate","layout_LoginContentTemplate","LoginInjector","_ref","userInfo","isLogin","layout_NotLoginContentTemplate","layout_PageLayout","PageLayout","emotion_react_jsx_runtime_browser_esm","BX","id","tZ","LeftMenuTemplate","ContentTemplate","NotLoginContentTemplate","LoginContentTemplate","Component","NoticeConstants","boardType","boardName","pageSize","listPage","routes","customer","notice","is_show_pc","EventConstants","event","detailPage","Case","Default","Switch","cases","defaultComponent","_this","item","condition","value","getChildrens","__webpack_exports__","ZP","showPlatform","ownProps","query","is_show_app","is_show_mobile","newQuery","_objectSpread","renderComponent","_props","rest","objectWithoutProperties","Z","_excluded","repeater_FootContainer","repeater_ItemContainer","repeater_NotFoundContainer","repeater_Repeater","Repeater","classCallCheck","_super","call","keyIdx","startIdx","arrayData","propName","reverse","newComponent","_this2","head","itemWrapper","itemHead","itemFoot","divide","foot","notFound","renderComponents","HeadContainer","FootContainer","ItemContainer","ItemWrapperContainer","ItemFootContainer","ItemHeadContainer","NotFoundContainer","DivideContainer","push","key","tempArray","toConsumableArray","genKey","prev","next","data","index","_React$cloneElement2","_React$cloneElement","_React$cloneElement3","defineProperty","divideItem","_React$cloneElement4","_this$props","elementName","_this$props$newCompon","Repeater_excluded","element","Repeater_objectSpread","renderItem"],"sourceRoot":""}