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,GAAAA,MAAAA,CAAgB,GAChBA,CAAAA,GAAAA,MAAAA,CAAgB,GAChBA,CAAAA,GAAAA,MAAAA,CACJuH,GAAIvH,CAAAA,GAAAA,MAAAA,CAAgB,IACfA,CAAAA,GAAAA,MAAAA,CAAgB,KACfA,CAAAA,GAAAA,MAAAA,CAAgB,SACZA,CAAAA,GAAAA,GAAAA,CAAa,UACZA,CAAAA,GAAAA,IAAAA,CAAc,CAM7B,MAAe6G,IAAIA,EAAC,0BC3DL,SAAStC,EAAkB,CAAgB,KAAhB,UAAEC,CAAQ,IAAEP,CAAE,CAAE,CAAhB,EACtC,MAAO,KAAO,GAAgBA,MAAAA,CAAbO,EAAS,MAAO,OAAHP,EAClC","sources":["webpack://_N_E/./components/layout/Grid/Grid.module.scss","webpack://_N_E/./components/navigation/Breadcrumbs/Breadcrumb.module.scss","webpack://_N_E/./components/layout/GridColumn/index.jsx","webpack://_N_E/./components/navigation/Breadcrumbs/useExportBreadcrumbPath.js","webpack://_N_E/./lib/utils/toTitleCase.js","webpack://_N_E/./components/navigation/Breadcrumbs/Breadcrumb.tsx","webpack://_N_E/./components/navigation/Breadcrumbs/index.jsx","webpack://_N_E/./app/(content)/blog/blog.module.scss","webpack://_N_E/./services/ErrorBoundary.js","webpack://_N_E/./components/layout/Grid/index.jsx","webpack://_N_E/./lib/utils/createCategoryURL.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"span_xs_1\":\"Grid_span_xs_1__A_QNF\",\"xs_1\":\"Grid_xs_1__4S4Zq\",\"gridStart_xs_1\":\"Grid_gridStart_xs_1__rsK3o\",\"gridEnd_xs_1\":\"Grid_gridEnd_xs_1__B_qzT\",\"span_xs_2\":\"Grid_span_xs_2__PaBl6\",\"xs_2\":\"Grid_xs_2__oUUgR\",\"gridStart_xs_2\":\"Grid_gridStart_xs_2__GClVC\",\"gridEnd_xs_2\":\"Grid_gridEnd_xs_2__JYBwd\",\"span_xs_3\":\"Grid_span_xs_3__dFjnA\",\"xs_3\":\"Grid_xs_3__c_QKD\",\"gridStart_xs_3\":\"Grid_gridStart_xs_3__Ih5XL\",\"gridEnd_xs_3\":\"Grid_gridEnd_xs_3__hCrJR\",\"span_xs_4\":\"Grid_span_xs_4__durlL\",\"xs_4\":\"Grid_xs_4__iPD32\",\"gridStart_xs_4\":\"Grid_gridStart_xs_4__5C1Wd\",\"gridEnd_xs_4\":\"Grid_gridEnd_xs_4__vqrBa\",\"span_xs_5\":\"Grid_span_xs_5__DaLiz\",\"xs_5\":\"Grid_xs_5__AtaC2\",\"gridStart_xs_5\":\"Grid_gridStart_xs_5__sCK8t\",\"gridEnd_xs_5\":\"Grid_gridEnd_xs_5__nzacm\",\"span_xs_6\":\"Grid_span_xs_6__hX3_f\",\"xs_6\":\"Grid_xs_6__taEOH\",\"gridStart_xs_6\":\"Grid_gridStart_xs_6__v1Hin\",\"gridEnd_xs_6\":\"Grid_gridEnd_xs_6__n8PP5\",\"span_xs_7\":\"Grid_span_xs_7__8zFPn\",\"xs_7\":\"Grid_xs_7__cSxh1\",\"gridStart_xs_7\":\"Grid_gridStart_xs_7__FVa2x\",\"gridEnd_xs_7\":\"Grid_gridEnd_xs_7__VA3Z_\",\"span_xs_8\":\"Grid_span_xs_8__mf97q\",\"xs_8\":\"Grid_xs_8__ahsdv\",\"gridStart_xs_8\":\"Grid_gridStart_xs_8__qiHoS\",\"gridEnd_xs_8\":\"Grid_gridEnd_xs_8__c0guo\",\"span_xs_9\":\"Grid_span_xs_9__r0_bO\",\"xs_9\":\"Grid_xs_9__38fst\",\"gridStart_xs_9\":\"Grid_gridStart_xs_9__Fv6ZJ\",\"gridEnd_xs_9\":\"Grid_gridEnd_xs_9__Iel6o\",\"span_xs_10\":\"Grid_span_xs_10__UNMBm\",\"xs_10\":\"Grid_xs_10__M00sr\",\"gridStart_xs_10\":\"Grid_gridStart_xs_10__HU8zr\",\"gridEnd_xs_10\":\"Grid_gridEnd_xs_10__4Geio\",\"span_xs_11\":\"Grid_span_xs_11___YqA4\",\"xs_11\":\"Grid_xs_11__xOW7y\",\"gridStart_xs_11\":\"Grid_gridStart_xs_11__k1jv8\",\"gridEnd_xs_11\":\"Grid_gridEnd_xs_11__bHXuJ\",\"span_xs_12\":\"Grid_span_xs_12__RRz5v\",\"xs_12\":\"Grid_xs_12__wvVui\",\"gridStart_xs_12\":\"Grid_gridStart_xs_12__ZRv8j\",\"gridEnd_xs_12\":\"Grid_gridEnd_xs_12__pjHY5\",\"span_xs_13\":\"Grid_span_xs_13__GffQr\",\"xs_13\":\"Grid_xs_13__a_4ic\",\"gridStart_xs_13\":\"Grid_gridStart_xs_13__nAF2P\",\"gridEnd_xs_13\":\"Grid_gridEnd_xs_13__pkhQS\",\"span_xs_14\":\"Grid_span_xs_14__aTjB5\",\"xs_14\":\"Grid_xs_14__Ku9oW\",\"gridStart_xs_14\":\"Grid_gridStart_xs_14__XoEoD\",\"gridEnd_xs_14\":\"Grid_gridEnd_xs_14__GSOPq\",\"span_sm_1\":\"Grid_span_sm_1__UQWin\",\"sm_1\":\"Grid_sm_1__taYeG\",\"gridStart_sm_1\":\"Grid_gridStart_sm_1__lLc6f\",\"gridEnd_sm_1\":\"Grid_gridEnd_sm_1__NlIyN\",\"span_sm_2\":\"Grid_span_sm_2__wd_ZB\",\"sm_2\":\"Grid_sm_2__GPhyc\",\"gridStart_sm_2\":\"Grid_gridStart_sm_2___dOHh\",\"gridEnd_sm_2\":\"Grid_gridEnd_sm_2__2_ixV\",\"span_sm_3\":\"Grid_span_sm_3__EtjU9\",\"sm_3\":\"Grid_sm_3__aXS9_\",\"gridStart_sm_3\":\"Grid_gridStart_sm_3__5eINW\",\"gridEnd_sm_3\":\"Grid_gridEnd_sm_3__H1Exj\",\"span_sm_4\":\"Grid_span_sm_4__4_yno\",\"sm_4\":\"Grid_sm_4__1cgEk\",\"gridStart_sm_4\":\"Grid_gridStart_sm_4__gblb1\",\"gridEnd_sm_4\":\"Grid_gridEnd_sm_4__SjSpU\",\"span_sm_5\":\"Grid_span_sm_5__7BcSE\",\"sm_5\":\"Grid_sm_5__EOV6f\",\"gridStart_sm_5\":\"Grid_gridStart_sm_5__Upo5X\",\"gridEnd_sm_5\":\"Grid_gridEnd_sm_5__0HZUb\",\"span_sm_6\":\"Grid_span_sm_6__Xs_ez\",\"sm_6\":\"Grid_sm_6__DjhWN\",\"gridStart_sm_6\":\"Grid_gridStart_sm_6__HGHuf\",\"gridEnd_sm_6\":\"Grid_gridEnd_sm_6__vir_k\",\"span_sm_7\":\"Grid_span_sm_7__J8uVv\",\"sm_7\":\"Grid_sm_7__b3oTT\",\"gridStart_sm_7\":\"Grid_gridStart_sm_7__xh3NF\",\"gridEnd_sm_7\":\"Grid_gridEnd_sm_7__v_Rf8\",\"span_sm_8\":\"Grid_span_sm_8__eE5Vu\",\"sm_8\":\"Grid_sm_8__ZIIkY\",\"gridStart_sm_8\":\"Grid_gridStart_sm_8__cO4kP\",\"gridEnd_sm_8\":\"Grid_gridEnd_sm_8__B5kbp\",\"span_sm_9\":\"Grid_span_sm_9__NkRhv\",\"sm_9\":\"Grid_sm_9___8vyE\",\"gridStart_sm_9\":\"Grid_gridStart_sm_9__26jBo\",\"gridEnd_sm_9\":\"Grid_gridEnd_sm_9__4FLKx\",\"span_sm_10\":\"Grid_span_sm_10__39MdK\",\"sm_10\":\"Grid_sm_10__cqGCy\",\"gridStart_sm_10\":\"Grid_gridStart_sm_10__U55I9\",\"gridEnd_sm_10\":\"Grid_gridEnd_sm_10__1P6pF\",\"span_sm_11\":\"Grid_span_sm_11__fQecU\",\"sm_11\":\"Grid_sm_11__q3kXI\",\"gridStart_sm_11\":\"Grid_gridStart_sm_11__rEpSC\",\"gridEnd_sm_11\":\"Grid_gridEnd_sm_11__hn6VA\",\"span_sm_12\":\"Grid_span_sm_12__Nj5ro\",\"sm_12\":\"Grid_sm_12__ekT8p\",\"gridStart_sm_12\":\"Grid_gridStart_sm_12__dK_2g\",\"gridEnd_sm_12\":\"Grid_gridEnd_sm_12__o5HNi\",\"span_sm_13\":\"Grid_span_sm_13__vwsgF\",\"sm_13\":\"Grid_sm_13__9PtUq\",\"gridStart_sm_13\":\"Grid_gridStart_sm_13__kU1Bp\",\"gridEnd_sm_13\":\"Grid_gridEnd_sm_13__zsEQf\",\"span_sm_14\":\"Grid_span_sm_14__lpTFI\",\"sm_14\":\"Grid_sm_14__6pIPj\",\"gridStart_sm_14\":\"Grid_gridStart_sm_14__7kKww\",\"gridEnd_sm_14\":\"Grid_gridEnd_sm_14__0yMIb\",\"span_md_1\":\"Grid_span_md_1___7kal\",\"md_1\":\"Grid_md_1__f1Puk\",\"gridStart_md_1\":\"Grid_gridStart_md_1__RIApM\",\"gridEnd_md_1\":\"Grid_gridEnd_md_1__DFoPs\",\"span_md_2\":\"Grid_span_md_2__bdJ9q\",\"md_2\":\"Grid_md_2__L_YGg\",\"gridStart_md_2\":\"Grid_gridStart_md_2__NHDFe\",\"gridEnd_md_2\":\"Grid_gridEnd_md_2__H8LW2\",\"span_md_3\":\"Grid_span_md_3__JW_qj\",\"md_3\":\"Grid_md_3__aMCL_\",\"gridStart_md_3\":\"Grid_gridStart_md_3__Z1X7b\",\"gridEnd_md_3\":\"Grid_gridEnd_md_3__V_62I\",\"span_md_4\":\"Grid_span_md_4__ECepA\",\"md_4\":\"Grid_md_4__XBHmv\",\"gridStart_md_4\":\"Grid_gridStart_md_4__14gMm\",\"gridEnd_md_4\":\"Grid_gridEnd_md_4__h9Zg2\",\"span_md_5\":\"Grid_span_md_5__nSh1M\",\"md_5\":\"Grid_md_5__5OWY5\",\"gridStart_md_5\":\"Grid_gridStart_md_5__8b3ZU\",\"gridEnd_md_5\":\"Grid_gridEnd_md_5__tNdyG\",\"span_md_6\":\"Grid_span_md_6__PwES5\",\"md_6\":\"Grid_md_6__rg6SU\",\"gridStart_md_6\":\"Grid_gridStart_md_6__vB1e8\",\"gridEnd_md_6\":\"Grid_gridEnd_md_6__09WYL\",\"span_md_7\":\"Grid_span_md_7__Ve62P\",\"md_7\":\"Grid_md_7__lZEMK\",\"gridStart_md_7\":\"Grid_gridStart_md_7__E1xc5\",\"gridEnd_md_7\":\"Grid_gridEnd_md_7__o_XTA\",\"span_md_8\":\"Grid_span_md_8__BFYxL\",\"md_8\":\"Grid_md_8__6nr_Q\",\"gridStart_md_8\":\"Grid_gridStart_md_8__RS4cg\",\"gridEnd_md_8\":\"Grid_gridEnd_md_8__0RmzZ\",\"span_md_9\":\"Grid_span_md_9__HIntZ\",\"md_9\":\"Grid_md_9__O2zRy\",\"gridStart_md_9\":\"Grid_gridStart_md_9__4Nu3m\",\"gridEnd_md_9\":\"Grid_gridEnd_md_9__IVEp7\",\"span_md_10\":\"Grid_span_md_10__1X3BF\",\"md_10\":\"Grid_md_10__w_HjW\",\"gridStart_md_10\":\"Grid_gridStart_md_10__AEUc_\",\"gridEnd_md_10\":\"Grid_gridEnd_md_10__G1_KM\",\"span_md_11\":\"Grid_span_md_11__Oc9So\",\"md_11\":\"Grid_md_11__jp0DP\",\"gridStart_md_11\":\"Grid_gridStart_md_11__OqJnh\",\"gridEnd_md_11\":\"Grid_gridEnd_md_11__oqj_d\",\"span_md_12\":\"Grid_span_md_12__QBrGt\",\"md_12\":\"Grid_md_12__zfm12\",\"gridStart_md_12\":\"Grid_gridStart_md_12__5Hkhq\",\"gridEnd_md_12\":\"Grid_gridEnd_md_12__QNjbT\",\"span_md_13\":\"Grid_span_md_13__owlLI\",\"md_13\":\"Grid_md_13__jf18B\",\"gridStart_md_13\":\"Grid_gridStart_md_13__jNh_o\",\"gridEnd_md_13\":\"Grid_gridEnd_md_13__rM3Xc\",\"span_md_14\":\"Grid_span_md_14__M_qNl\",\"md_14\":\"Grid_md_14__0cDCE\",\"gridStart_md_14\":\"Grid_gridStart_md_14__kHk_0\",\"gridEnd_md_14\":\"Grid_gridEnd_md_14__WUu8K\",\"span_lg_1\":\"Grid_span_lg_1__TK8wS\",\"lg_1\":\"Grid_lg_1__fBN1O\",\"gridStart_lg_1\":\"Grid_gridStart_lg_1__OCQvl\",\"gridEnd_lg_1\":\"Grid_gridEnd_lg_1__O06ca\",\"span_lg_2\":\"Grid_span_lg_2__eBDdt\",\"lg_2\":\"Grid_lg_2__QsaBB\",\"gridStart_lg_2\":\"Grid_gridStart_lg_2__Ldtgv\",\"gridEnd_lg_2\":\"Grid_gridEnd_lg_2__UFVpe\",\"span_lg_3\":\"Grid_span_lg_3__Akiyl\",\"lg_3\":\"Grid_lg_3__jq5Zx\",\"gridStart_lg_3\":\"Grid_gridStart_lg_3__7WT8c\",\"gridEnd_lg_3\":\"Grid_gridEnd_lg_3__8nyEk\",\"span_lg_4\":\"Grid_span_lg_4__WGmVY\",\"lg_4\":\"Grid_lg_4__aZlkL\",\"gridStart_lg_4\":\"Grid_gridStart_lg_4__U4YOR\",\"gridEnd_lg_4\":\"Grid_gridEnd_lg_4__QOK_p\",\"span_lg_5\":\"Grid_span_lg_5__vh5ds\",\"lg_5\":\"Grid_lg_5__APZU6\",\"gridStart_lg_5\":\"Grid_gridStart_lg_5__yrwJE\",\"gridEnd_lg_5\":\"Grid_gridEnd_lg_5__3Tx_W\",\"span_lg_6\":\"Grid_span_lg_6__fUAM7\",\"lg_6\":\"Grid_lg_6__ochae\",\"gridStart_lg_6\":\"Grid_gridStart_lg_6__z4CT_\",\"gridEnd_lg_6\":\"Grid_gridEnd_lg_6__CAxL0\",\"span_lg_7\":\"Grid_span_lg_7__F3oK7\",\"lg_7\":\"Grid_lg_7__1e1XA\",\"gridStart_lg_7\":\"Grid_gridStart_lg_7__B_LPa\",\"gridEnd_lg_7\":\"Grid_gridEnd_lg_7__Etuy5\",\"span_lg_8\":\"Grid_span_lg_8__jKsyF\",\"lg_8\":\"Grid_lg_8__PbFoU\",\"gridStart_lg_8\":\"Grid_gridStart_lg_8__zblEt\",\"gridEnd_lg_8\":\"Grid_gridEnd_lg_8__pWj5_\",\"span_lg_9\":\"Grid_span_lg_9__2o7Ro\",\"lg_9\":\"Grid_lg_9__NfJKI\",\"gridStart_lg_9\":\"Grid_gridStart_lg_9__NldiH\",\"gridEnd_lg_9\":\"Grid_gridEnd_lg_9__TlOfq\",\"span_lg_10\":\"Grid_span_lg_10__HSJK4\",\"lg_10\":\"Grid_lg_10__M0CZa\",\"gridStart_lg_10\":\"Grid_gridStart_lg_10__dmrD8\",\"gridEnd_lg_10\":\"Grid_gridEnd_lg_10__Fse2i\",\"span_lg_11\":\"Grid_span_lg_11__AaVqu\",\"lg_11\":\"Grid_lg_11__pjUfQ\",\"gridStart_lg_11\":\"Grid_gridStart_lg_11__lqCk_\",\"gridEnd_lg_11\":\"Grid_gridEnd_lg_11__qDEle\",\"span_lg_12\":\"Grid_span_lg_12__nzKQc\",\"lg_12\":\"Grid_lg_12__bf4D5\",\"gridStart_lg_12\":\"Grid_gridStart_lg_12__18LeM\",\"gridEnd_lg_12\":\"Grid_gridEnd_lg_12__uR0tk\",\"span_lg_13\":\"Grid_span_lg_13__mEOTW\",\"lg_13\":\"Grid_lg_13__hrnfh\",\"gridStart_lg_13\":\"Grid_gridStart_lg_13__lVkER\",\"gridEnd_lg_13\":\"Grid_gridEnd_lg_13__CA4fc\",\"span_lg_14\":\"Grid_span_lg_14__gplEy\",\"lg_14\":\"Grid_lg_14__Y9Bs_\",\"gridStart_lg_14\":\"Grid_gridStart_lg_14__fjrZj\",\"gridEnd_lg_14\":\"Grid_gridEnd_lg_14__wj28L\",\"span_xl_1\":\"Grid_span_xl_1__umjK3\",\"xl_1\":\"Grid_xl_1__PEgf0\",\"gridStart_xl_1\":\"Grid_gridStart_xl_1__JfDVf\",\"gridEnd_xl_1\":\"Grid_gridEnd_xl_1__6_Zmz\",\"span_xl_2\":\"Grid_span_xl_2__Pz_UW\",\"xl_2\":\"Grid_xl_2__1LBrh\",\"gridStart_xl_2\":\"Grid_gridStart_xl_2__GrfeB\",\"gridEnd_xl_2\":\"Grid_gridEnd_xl_2__rjKLq\",\"span_xl_3\":\"Grid_span_xl_3__BZKZ1\",\"xl_3\":\"Grid_xl_3__3_KIJ\",\"gridStart_xl_3\":\"Grid_gridStart_xl_3__vxRsD\",\"gridEnd_xl_3\":\"Grid_gridEnd_xl_3__VUWtb\",\"span_xl_4\":\"Grid_span_xl_4__HGVZu\",\"xl_4\":\"Grid_xl_4__UfJ_k\",\"gridStart_xl_4\":\"Grid_gridStart_xl_4__fa39q\",\"gridEnd_xl_4\":\"Grid_gridEnd_xl_4__oShfU\",\"span_xl_5\":\"Grid_span_xl_5___MAH6\",\"xl_5\":\"Grid_xl_5__iClB_\",\"gridStart_xl_5\":\"Grid_gridStart_xl_5__fQDPY\",\"gridEnd_xl_5\":\"Grid_gridEnd_xl_5__4QSAz\",\"span_xl_6\":\"Grid_span_xl_6__RNgKN\",\"xl_6\":\"Grid_xl_6__WYAH_\",\"gridStart_xl_6\":\"Grid_gridStart_xl_6__RRtx9\",\"gridEnd_xl_6\":\"Grid_gridEnd_xl_6__TJTQL\",\"span_xl_7\":\"Grid_span_xl_7___EdC1\",\"xl_7\":\"Grid_xl_7__FoqWw\",\"gridStart_xl_7\":\"Grid_gridStart_xl_7___ga8O\",\"gridEnd_xl_7\":\"Grid_gridEnd_xl_7__E1Gjz\",\"span_xl_8\":\"Grid_span_xl_8__WHuLv\",\"xl_8\":\"Grid_xl_8__6eSpp\",\"gridStart_xl_8\":\"Grid_gridStart_xl_8__EG8Tm\",\"gridEnd_xl_8\":\"Grid_gridEnd_xl_8__OYQpu\",\"span_xl_9\":\"Grid_span_xl_9__wxdhx\",\"xl_9\":\"Grid_xl_9__4_OEf\",\"gridStart_xl_9\":\"Grid_gridStart_xl_9__OngUU\",\"gridEnd_xl_9\":\"Grid_gridEnd_xl_9__FwZmu\",\"span_xl_10\":\"Grid_span_xl_10__Ll27z\",\"xl_10\":\"Grid_xl_10__CwjNh\",\"gridStart_xl_10\":\"Grid_gridStart_xl_10__0DD7S\",\"gridEnd_xl_10\":\"Grid_gridEnd_xl_10__OvSE1\",\"span_xl_11\":\"Grid_span_xl_11__rvEGs\",\"xl_11\":\"Grid_xl_11__BoTQ3\",\"gridStart_xl_11\":\"Grid_gridStart_xl_11__V1GGf\",\"gridEnd_xl_11\":\"Grid_gridEnd_xl_11__4oeu2\",\"span_xl_12\":\"Grid_span_xl_12__4EA2C\",\"xl_12\":\"Grid_xl_12__E14CE\",\"gridStart_xl_12\":\"Grid_gridStart_xl_12__ZQped\",\"gridEnd_xl_12\":\"Grid_gridEnd_xl_12__wgXbk\",\"span_xl_13\":\"Grid_span_xl_13__d_FWg\",\"xl_13\":\"Grid_xl_13__bITgI\",\"gridStart_xl_13\":\"Grid_gridStart_xl_13__Y06Vm\",\"gridEnd_xl_13\":\"Grid_gridEnd_xl_13__lm0KB\",\"span_xl_14\":\"Grid_span_xl_14__COh_H\",\"xl_14\":\"Grid_xl_14__d9KiS\",\"gridStart_xl_14\":\"Grid_gridStart_xl_14__PDt_6\",\"gridEnd_xl_14\":\"Grid_gridEnd_xl_14__WC9mX\",\"row\":\"Grid_row__xb4It\",\"wrap\":\"Grid_wrap__ybyZU\",\"container\":\"Grid_container__miTvF\",\"alignLeft\":\"Grid_alignLeft__rNFXc\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"Breadcrumb_root__jp7mF\",\"hide\":\"Breadcrumb_hide__c_xNn\",\"block\":\"Breadcrumb_block__VcVvl\",\"left\":\"Breadcrumb_left__fQxT6\",\"listCenter\":\"Breadcrumb_listCenter__PL9ei\",\"list\":\"Breadcrumb_list__kRPzt\",\"link\":\"Breadcrumb_link__x2FBM\",\"item\":\"Breadcrumb_item__WS2hF\"};","import React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport style from './GridColumn.module.scss';\n\n\nconst GridColumn = React.forwardRef(({ \n isRow,\n className,\n noWrap,\n children,\n start,\n end,\n rowEnd,\n rowStart,\n element = null,\n ...other\n}, ref ) => {\n\n const col_xls = other[\"xl-start\"] === void 0 ? false : style[`gridStart_xl_${other[\"xl-start\"]}`],\n col_xle = other[\"xl-end\"] === void 0 ? false : style[`gridEnd_xl_${other[\"xl-end\"]}`],\n col_lgs = other[\"lg-start\"] === void 0 ? false : style[`gridStart_lg_${other[\"lg-start\"]}`],\n col_lge = other[\"lg-end\"] === void 0 ? false : style[`gridEnd_lg_${other[\"lg-end\"]}`],\n col_mds = other[\"md-start\"] === void 0 ? false : style[`gridStart_md_${other[\"md-start\"]}`],\n col_mde = other[\"md-end\"] === void 0 ? false : style[`gridEnd_md_${other[\"md-end\"]}`],\n col_sms = other[\"sm-start\"] === void 0 ? false : style[`gridStart_sm_${other[\"sm-start\"]}`],\n col_sme = other[\"sm-end\"] === void 0 ? false : style[`gridEnd_sm_${other[\"sm-end\"]}`],\n col_xss = other[\"xs-start\"] === void 0 ? false : style[`gridStart_xs_${other[\"xs-start\"]}`],\n col_xse = other[\"xs-end\"] === void 0 ? false : style[`gridEnd_xs_${other[\"xs-end\"]}`],\n col_GridColumnStyle = {\n gridColumnStart: start, \n gridColumnEnd: end, \n gridRowEnd: rowEnd,\n gridRowStart: rowStart\n };\n\n\n const Element = element === null ? \"div\" : element;\n\n return(\n \n {children}\n \n )\n})\n\nGridColumn.displayName = 'GridColumn';\n\n\nGridColumn.propTypes = {\n start: PropTypes.number,\n end: PropTypes.number,\n isRow: PropTypes.bool,\n rowStart: PropTypes.number,\n rowEnd: PropTypes.number,\n noWrap: PropTypes.bool,\n other: PropTypes.string\n};\n\n\n\nexport default GridColumn;","import createCategoryURL from \"@/lib/utils/createCategoryURL\";\n\n\nexport default function useExportBreadcrumbPath(){\n const restrictedPaths = [\"c\", \"p\", \"l\", \"b\", \"-\"];\n\n\n /**\n * creates an array of breadcrumbs based off the URL\n * @param {string} customPath \n * @param {string} routerAsPath \n * @returns array\n */\n\n function buildRouterPath(customPath, routerAsPath){\n const linkPath = customPath ? customPath.split('/') : routerAsPath.split('/');\n\n linkPath.shift();\n\n const pathArray = linkPath.map((path, i) => {\n if (restrictedPaths.find(item => path === item)) {\n return;\n }\n\n return {\n breadcrumb: path,\n href: '/' + linkPath.slice(0, i + 1).join('/'),\n };\n\n }).filter(item => typeof item !== \"undefined\")\n\n\n return pathArray;\n }\n\n \n\n /**\n * Creates an array of breadcrumbs based off the category data\n * @param {object} data \n * @returns array\n */\n\n function buildCategoryDataPath(data){\n const category = {\n ...data.category,\n parent: data.parent?.[0] ?? null\n }\n\n const linkPath = category?.url && category?.url?.path.split(\"/\");\n const categoryPath = linkPath.filter(item => item !== \"\" && restrictedPaths.indexOf(item) === -1)\n\n const categoryDataPath = categoryPath.reduce((acc, path, i) => {\n const crumbPath = acc[i - 1]?.breadcrumb ?? \"\";\n const url_path = (crumbPath && `/${crumbPath}`) + \"/\" + path + \"/\";\n const id = categoryPath.length > 2 ? determineCategoryId(category, i) : (i ? category?.category_id : category.parent_id)\n\n return acc.concat({\n breadcrumb: path,\n href: createCategoryURL({ \n url_path,\n id\n }),\n })\n\n }, []) \n \n return categoryDataPath;\n }\n\n\n\n /**\n * For 3 or more url segments, determine the category id based on the reducer index\n * @param {object} category \n * @param {number} index \n * @returns \n */\n\n function determineCategoryId(category, index){\n switch(index){\n case 0: return category?.parent?.parent_id;\n case 1: return category?.parent_id;\n case 2: return category?.category_id;\n }\n }\n\n\n return{\n buildRouterPath,\n buildCategoryDataPath\n }\n\n}","/**\n * Makes a string Title Case\n * https://stackoverflow.com/questions/196972/convert-string-to-title-case-with-javascript\n * @param {String} str \n * @returns - A Title Case String\n */\n\nexport default function toTitleCase(str = \"\") {\n return str.replace(/\\w\\S*/g, (txt) => txt.charAt(0).toUpperCase() + txt.substring(1).toLowerCase()\n );\n}\n","/* eslint-disable react-hooks/exhaustive-deps */\n/** @format */\n\n\n/**\n * Nextjs-Breadcrumbs by Niklas NiklasMencke\n * Highly Modified for AuthenTEAK\n * https://github.com/NiklasMencke/nextjs-breadcrumbs\n */\n\nimport React, { useEffect, useState } from 'react';\nimport Link from 'next/link';\nimport { usePathname } from 'next/navigation';\nimport useExportBreadcrumbPath from './useExportBreadcrumbPath';\nimport toTitleCase from 'lib/utils/toTitleCase';\n\n\n/**\n * Takes an URL String and removes query params and hash params\n *\n * @param url - The URL string\n * @returns The transformed URL string\n *\n */\n\nconst getPathFromUrl = (url: string): string => {\n return url.split(/[?#]/)[0];\n};\n\n\n/**\n * Takes a breadcrumb title (from url path) and replaces\n * special chars to more readable chars\n *\n * @param title - The breadcrumb title\n * @returns The transformed title or the result of the custom transformLabel function\n *\n */\n\nconst convertBreadcrumb = (\n title: string,\n toUpperCase: boolean | undefined,\n replaceCharacterList: Array | undefined,\n transformLabel ? : ((title: string) => React.ReactNode) | undefined\n\n): React.ReactNode => {\n\n let transformedTitle = getPathFromUrl(title);\n\n if (transformLabel) {\n return transformLabel(transformedTitle);\n }\n\n if (replaceCharacterList) {\n for (let i = 0; i < replaceCharacterList.length; i++) {\n transformedTitle = transformedTitle.replaceAll(\n replaceCharacterList[i].from,\n replaceCharacterList[i].to\n );\n }\n }\n\n\n // decode for utf-8 characters and return ascii. \n return (\n \n {toUpperCase ? decodeURI(transformedTitle).toUpperCase() : decodeURI(transformedTitle)}\n \n );\n};\n\n\n\nexport interface Breadcrumb {\n /** Breadcrumb title. Example: 'blog-entries' */\n breadcrumb: string;\n\n /** The URL which the breadcrumb points to. Example: 'blog/blog-entries' */\n href: string;\n}\n\nexport interface CharacterMap {\n /** The source character or character pattern that should be replaced (e.g. 'ae') */\n from: string;\n\n /** The replacement into which the character should be replaced. */\n to: string;\n}\n\nexport interface BreadcrumbsProps {\n /** If true, the default styles are used.\n * Make sure to import the CSS in _app.js\n * Example: true Default: false */\n useDefaultStyle ? : boolean;\n\n /** The title for the very first breadcrumb pointing to the root directory. Example: '/' Default: 'HOME' */\n rootLabel ? : string | null;\n\n /** Boolean indicator whether the root label should be omitted. Example: true Default: false */\n omitRootLabel ? : boolean;\n\n /** Boolean indicator if the labels should be displayed as uppercase. Example: true Default: false */\n labelsToUppercase ? : boolean | undefined;\n\n /** Array containing a list of specific characters that should be replaced in the label. This can be useful to convert special characters such as vowels. Example: [{ from: 'ae', to: 'รค' }, { from: '-', to: ' '}] Default: [{ from: '-', to: ' ' }] */\n replaceCharacterList ? : Array < CharacterMap > | undefined;\n\n /** A transformation function that allows to customize the label strings. Receives the label string and has to return a string or React Component */\n transformLabel ? : ((title: string) => React.ReactNode) | undefined;\n\n /** Array containing all the indexes of the path that should be omitted and not be rendered as labels. If we have a path like '/home/category/1' then you might want to pass '[2]' here, which omits the breadcrumb label '1'. Indexes start with 0. Example: [2] Default: undefined */\n omitIndexList ? : Array < number > | undefined;\n\n /** An inline style object for the outer container */\n containerStyle ? : any | null;\n\n /** Classes to be used for the outer container. Won't be used if useDefaultStyle is true */\n containerClassName ? : string;\n\n /** An inline style object for the breadcrumb list */\n listStyle ? : any | null;\n\n /** Classes to be used for the breadcrumb list */\n listClassName ? : string;\n\n /** An inline style object for the inactive breadcrumb list item */\n inactiveItemStyle ? : any | null;\n\n /** Classes to be used for the inactive breadcrumb list item */\n inactiveItemClassName ? : string;\n\n /** An inline style object for the active breadcrumb list item */\n activeItemStyle ? : any | null;\n\n /** Classes to be used for the active breadcrumb list item */\n activeItemClassName ? : string;\n\n /** class for the link */\n linkClassName ? : string;\n\n /** custom url path for a bespoke breadcrumb */\n customPath ? : string;\n\n /** big commerce object to build url */\n data ? : any | null;\n\n /** path array for json schema */\n // exportPath ? : ((array: Array