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rB,EAASoB,EAAMO,WAEnB,GAAI,UAAY3B,EAAOngE,KAAM,CAC3B,IAAImjE,EAAShD,EAAOpmE,IACpB8nE,EAAcN,EAChB,CAEA,OAAO4B,CACT,CACF,CAEA,MAAM,IAAI5rE,MAAM,wBAClB,EACA6rE,cAAe,SAAuBpB,EAAUb,EAAYC,GAC1D,OAAOhpE,KAAKunE,SAAW,CACrBziD,SAAU3Z,EAAOy+D,GACjBb,WAAYA,EACZC,QAASA,GACR,SAAWhpE,KAAK0T,SAAW1T,KAAK2B,SAAMpB,GAAYmnE,CACvD,GACCnsE,CACL,CAEAD,EAAOC,QAAU2qE,EAAqB5qE,EAAOC,QAAQ4qE,YAAa,EAAM7qE,EAAOC,QAAiB,QAAID,EAAOC,0BCjW3G,SAASqpB,EAAQtmB,GAGf,OAAQhD,EAAOC,QAAUqpB,EAAU,mBAAqBC,QAAU,iBAAmBA,OAAOC,SAAW,SAAUxmB,GAC/G,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAO,mBAAqBumB,QAAUvmB,EAAIhC,cAAgBuoB,QAAUvmB,IAAQumB,OAAOrnB,UAAY,gBAAkBc,CAC1H,EAAGhD,EAAOC,QAAQ4qE,YAAa,EAAM7qE,EAAOC,QAAiB,QAAID,EAAOC,QAAUqpB,EAAQtmB,EAC5F,CAEAhD,EAAOC,QAAUqpB,EAAStpB,EAAOC,QAAQ4qE,YAAa,EAAM7qE,EAAOC,QAAiB,QAAID,EAAOC,8BCR/F,IAAI0vE,EAAU,EAAQ,KAAR,GACd3vE,EAAOC,QAAU0vE,EAGjB,IACEC,mBAAqBD,CAOvB,CANE,MAAOE,GACmB,iBAAfC,WACTA,WAAWF,mBAAqBD,EAEhC1rC,SAAS,IAAK,yBAAdA,CAAwC0rC,EAE5C","sources":["webpack://ashridge-house-gatsby/./node_modules/gatsby/dist/internal-plugins/bundle-optimisations/polyfills/object-assign.js","webpack://ashridge-house-gatsby/./node_modules/react-fast-compare/index.js","webpack://ashridge-house-gatsby/./node_modules/react-side-effect/lib/index.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/dist/gatsby-source-storyblok.mjs","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/index.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/adapters/xhr.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/axios.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/cancel/CancelToken.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/cancel/CanceledError.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/cancel/isCancel.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/core/Axios.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/core/AxiosError.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/core/InterceptorManager.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/core/buildFullPath.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/core/dispatchRequest.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/core/mergeConfig.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/core/settle.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/core/transformData.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/defaults/index.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/defaults/transitional.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/env/data.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/helpers/bind.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/helpers/buildURL.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/helpers/combineURLs.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/helpers/cookies.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/helpers/isAxiosError.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/helpers/null.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/helpers/parseHeaders.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/helpers/parseProtocol.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/helpers/spread.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/helpers/toFormData.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/helpers/validator.js","webpack://ashridge-house-gatsby/./node_modules/gatsby-source-storyblok/node_modules/axios/lib/utils.js","webpack://ashridge-house-gatsby/./node_modules/react-helmet/es/Helmet.js","webpack://ashridge-house-gatsby/./src/assets/fonts/Bembo.woff","webpack://ashridge-house-gatsby/./src/assets/fonts/Bembo.woff2","webpack://ashridge-house-gatsby/./src/assets/fonts/EFCircularWeb-Bold.woff","webpack://ashridge-house-gatsby/./src/assets/fonts/EFCircularWeb-Bold.woff2","webpack://ashridge-house-gatsby/./src/assets/fonts/EFCircularWeb-Book.woff","webpack://ashridge-house-gatsby/./src/assets/fonts/EFCircularWeb-Book.woff2","webpack://ashridge-house-gatsby/./src/assets/fonts/EFCircularWeb-BookItalic.woff","webpack://ashridge-house-gatsby/./src/assets/fonts/EFCircularWeb-BookItalic.woff2","webpack://ashridge-house-gatsby/./src/assets/fonts/EFCircularWeb-Medium.woff","webpack://ashridge-house-gatsby/./src/assets/fonts/EFCircularWeb-Medium.woff2","webpack://ashridge-house-gatsby/./src/assets/fonts/EFCircularWeb-MediumItalic.woff","webpack://ashridge-house-gatsby/./src/assets/fonts/EFCircularWeb-MediumItalic.woff2","webpack://ashridge-house-gatsby/./src/assets/styles/global.tsx","webpack://ashridge-house-gatsby/./src/assets/styles/theme.tsx","webpack://ashridge-house-gatsby/./src/utils/helpers.ts","webpack://ashridge-house-gatsby/./src/components/button/styles.tsx","webpack://ashridge-house-gatsby/./src/components/button/button.tsx","webpack://ashridge-house-gatsby/./src/components/button/index.tsx","webpack://ashridge-house-gatsby/./src/components/event-section/styles.tsx","webpack://ashridge-house-gatsby/./src/components/event-section/event-section.tsx","webpack://ashridge-house-gatsby/./src/components/event-section/index.tsx","webpack://ashridge-house-gatsby/./src/utils/sbImage.tsx","webpack://ashridge-house-gatsby/./src/components/event-section/event-card/styles.tsx","webpack://ashridge-house-gatsby/./src/components/event-section/event-card/event-card.tsx","webpack://ashridge-house-gatsby/./src/components/event-section/event-card/index.tsx","webpack://ashridge-house-gatsby/./src/components/icon/styles.tsx","webpack://ashridge-house-gatsby/./src/components/link/styles.tsx","webpack://ashridge-house-gatsby/./src/components/footer/partials/styled-footer.tsx","webpack://ashridge-house-gatsby/./src/components/rich-text/styles.tsx","webpack://ashridge-house-gatsby/./src/components/rich-text/rich-text.tsx","webpack://ashridge-house-gatsby/./src/components/icon/icon.tsx","webpack://ashridge-house-gatsby/./src/components/footer/footer.tsx","webpack://ashridge-house-gatsby/./src/components/footer/index.tsx","webpack://ashridge-house-gatsby/./src/components/section/styles.tsx","webpack://ashridge-house-gatsby/./src/components/form/StyledForm.ts","webpack://ashridge-house-gatsby/./src/components/form/form.tsx","webpack://ashridge-house-gatsby/./src/components/gallery/styles.tsx","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://ashridge-house-gatsby/./node_modules/ssr-window/ssr-window.esm.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/construct.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/isNativeFunction.js","webpack://ashridge-house-gatsby/./node_modules/dom7/dom7.esm.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/inherits.js","webpack://ashridge-house-gatsby/./node_modules/swiper/shared/dom.js","webpack://ashridge-house-gatsby/./node_modules/swiper/shared/get-support.js","webpack://ashridge-house-gatsby/./node_modules/swiper/shared/get-device.js","webpack://ashridge-house-gatsby/./node_modules/swiper/shared/get-browser.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://ashridge-house-gatsby/./node_modules/swiper/shared/utils.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/events-emitter.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/update/index.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/update/updateSize.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/update/updateSlides.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/update/updateAutoHeight.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/update/updateSlidesOffset.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/update/updateSlidesProgress.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/update/updateProgress.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/update/updateSlidesClasses.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/update/updateActiveIndex.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/update/updateClickedSlide.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/translate/index.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/translate/getTranslate.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/translate/setTranslate.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/translate/minTranslate.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/translate/maxTranslate.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/translate/translateTo.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/transition/transitionEmit.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/slide/index.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/slide/slideTo.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/slide/slideToLoop.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/slide/slideNext.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/slide/slidePrev.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/slide/slideReset.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/slide/slideToClosest.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/slide/slideToClickedSlide.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/loop/index.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/loop/loopCreate.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/loop/loopFix.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/loop/loopDestroy.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/events/onTouchStart.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/events/onTouchMove.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/events/onTouchEnd.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/events/onResize.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/events/onClick.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/events/onScroll.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/events/index.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/breakpoints/setBreakpoint.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/breakpoints/index.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/breakpoints/getBreakpoint.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/classes/index.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/classes/addClasses.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/classes/removeClasses.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/check-overflow/index.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/defaults.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/moduleExtendParams.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/core.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/transition/index.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/transition/setTransition.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/transition/transitionStart.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/transition/transitionEnd.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/grab-cursor/index.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/grab-cursor/setGrabCursor.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/grab-cursor/unsetGrabCursor.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/images/index.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/images/loadImage.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/images/preloadImages.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/modules/resize/resize.js","webpack://ashridge-house-gatsby/./node_modules/swiper/core/modules/observer/observer.js","webpack://ashridge-house-gatsby/./node_modules/swiper/modules/navigation/navigation.js","webpack://ashridge-house-gatsby/./node_modules/swiper/shared/create-element-if-not-defined.js","webpack://ashridge-house-gatsby/./node_modules/swiper/modules/autoplay/autoplay.js","webpack://ashridge-house-gatsby/./node_modules/swiper/modules/thumbs/thumbs.js","webpack://ashridge-house-gatsby/./node_modules/swiper/modules/free-mode/free-mode.js","webpack://ashridge-house-gatsby/./node_modules/swiper/shared/effect-target.js","webpack://ashridge-house-gatsby/./node_modules/swiper/modules/effect-fade/effect-fade.js","webpack://ashridge-house-gatsby/./node_modules/swiper/shared/effect-init.js","webpack://ashridge-house-gatsby/./node_modules/swiper/shared/effect-virtual-transition-end.js","webpack://ashridge-house-gatsby/./node_modules/swiper/components-shared/utils.js","webpack://ashridge-house-gatsby/./node_modules/swiper/components-shared/params-list.js","webpack://ashridge-house-gatsby/./node_modules/swiper/react/loop.js","webpack://ashridge-house-gatsby/./node_modules/swiper/react/get-children.js","webpack://ashridge-house-gatsby/./node_modules/swiper/components-shared/update-swiper.js","webpack://ashridge-house-gatsby/./node_modules/swiper/react/use-isomorphic-layout-effect.js","webpack://ashridge-house-gatsby/./node_modules/swiper/react/context.js","webpack://ashridge-house-gatsby/./node_modules/swiper/react/swiper.js","webpack://ashridge-house-gatsby/./node_modules/swiper/components-shared/get-params.js","webpack://ashridge-house-gatsby/./node_modules/swiper/components-shared/mount-swiper.js","webpack://ashridge-house-gatsby/./node_modules/swiper/components-shared/get-changed-params.js","webpack://ashridge-house-gatsby/./node_modules/swiper/components-shared/update-on-virtual-data.js","webpack://ashridge-house-gatsby/./node_modules/swiper/react/virtual.js","webpack://ashridge-house-gatsby/./node_modules/swiper/react/swiper-slide.js","webpack://ashridge-house-gatsby/./src/components/gallery/gallery.tsx","webpack://ashridge-house-gatsby/./src/components/gallery/index.tsx","webpack://ashridge-house-gatsby/./src/components/gallery/gallery-item/styles.tsx","webpack://ashridge-house-gatsby/./src/components/gallery/gallery-item/gallery-item.tsx","webpack://ashridge-house-gatsby/./src/components/gallery/gallery-item/index.tsx","webpack://ashridge-house-gatsby/./src/components/global-reference/index.tsx","webpack://ashridge-house-gatsby/./src/components/hero/styles.tsx","webpack://ashridge-house-gatsby/./src/components/slider/styles.tsx","webpack://ashridge-house-gatsby/./src/components/slider/slider.tsx","webpack://ashridge-house-gatsby/./src/components/hero/hero.tsx","webpack://ashridge-house-gatsby/./src/components/hero/index.tsx","webpack://ashridge-house-gatsby/./src/components/hero-home/styles.tsx","webpack://ashridge-house-gatsby/./src/components/hero-home/hero-home.tsx","webpack://ashridge-house-gatsby/./src/components/hero-home/index.tsx","webpack://ashridge-house-gatsby/./src/components/hero-title/styles.ts","webpack://ashridge-house-gatsby/./src/components/hero-title/hero-title.tsx","webpack://ashridge-house-gatsby/./src/components/icon/index.tsx","webpack://ashridge-house-gatsby/./src/components/image/styles.tsx","webpack://ashridge-house-gatsby/./src/components/image/image.tsx","webpack://ashridge-house-gatsby/./src/components/image/index.tsx","webpack://ashridge-house-gatsby/./src/components/link/link.tsx","webpack://ashridge-house-gatsby/./src/components/link/index.tsx","webpack://ashridge-house-gatsby/./src/components/meta-data/meta-data.tsx","webpack://ashridge-house-gatsby/./src/components/meta-data/index.tsx","webpack://ashridge-house-gatsby/./src/components/layout/styles.tsx","webpack://ashridge-house-gatsby/./src/components/navigation/styles.tsx","webpack://ashridge-house-gatsby/./src/components/navigation/navigation.tsx","webpack://ashridge-house-gatsby/./src/components/navigation/index.tsx","webpack://ashridge-house-gatsby/./src/components/new-hero-home/styles.tsx","webpack://ashridge-house-gatsby/./src/components/new-hero-home/new-hero-home.tsx","webpack://ashridge-house-gatsby/./src/components/new-hero-home/index.tsx","webpack://ashridge-house-gatsby/./src/components/section/section.tsx","webpack://ashridge-house-gatsby/./src/components/section/index.tsx","webpack://ashridge-house-gatsby/./src/components/section-cards/styles.tsx","webpack://ashridge-house-gatsby/./src/components/section-cards/section-cards.tsx","webpack://ashridge-house-gatsby/./src/components/section-cards/section-cards-item/styles.tsx","webpack://ashridge-house-gatsby/./src/components/section-cards/section-cards-item/section-cards-item.tsx","webpack://ashridge-house-gatsby/./src/components/section-cards/section-cards-item/index.tsx","webpack://ashridge-house-gatsby/./src/components/slider/index.tsx","webpack://ashridge-house-gatsby/./src/components/social-icon/styles.ts","webpack://ashridge-house-gatsby/./src/components/social-icon/social-icon.tsx","webpack://ashridge-house-gatsby/./src/components/testimonial/styles.tsx","webpack://ashridge-house-gatsby/./src/components/testimonial/testimonial.tsx","webpack://ashridge-house-gatsby/./src/components/testimonial/index.tsx","webpack://ashridge-house-gatsby/./src/components/testimonial/testimonial-item/styles.tsx","webpack://ashridge-house-gatsby/./src/components/testimonial/testimonial-item/testimonial-item.tsx","webpack://ashridge-house-gatsby/./src/components/testimonial/testimonial-item/index.tsx","webpack://ashridge-house-gatsby/./src/components/widget-dmn/styles.tsx","webpack://ashridge-house-gatsby/./src/components/widget-dmn/widget.tsx","webpack://ashridge-house-gatsby/./src/components/index.tsx","webpack://ashridge-house-gatsby/./src/components/hero-title/index.tsx","webpack://ashridge-house-gatsby/./src/components/social-icon/index.tsx","webpack://ashridge-house-gatsby/./src/components/section-cards/index.tsx","webpack://ashridge-house-gatsby/./src/components/form/index.tsx","webpack://ashridge-house-gatsby/./src/components/widget-dmn/index.tsx","webpack://ashridge-house-gatsby/./src/utils/seo.tsx","webpack://ashridge-house-gatsby/./src/components/layout/layout.tsx","webpack://ashridge-house-gatsby/./src/components/layout/index.tsx","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/regeneratorRuntime.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/helpers/typeof.js","webpack://ashridge-house-gatsby/./node_modules/@babel/runtime/regenerator/index.js"],"sourcesContent":["\"use strict\";\n\nmodule.exports = Object.assign;","/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */\nvar hasElementType = typeof Element !== 'undefined';\nvar hasMap = typeof Map === 'function';\nvar hasSet = typeof Set === 'function';\nvar hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView; // Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js\n\nfunction equal(a, b) {\n // START: fast-deep-equal es6/index.js 3.1.1\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n var length, i, keys;\n\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n\n for (i = length; i-- !== 0;) {\n if (!equal(a[i], b[i])) return false;\n }\n\n return true;\n } // START: Modifications:\n // 1. Extra `has &&` helpers in initial condition allow es6 code\n // to co-exist with es5.\n // 2. Replace `for of` with es5 compliant iteration using `for`.\n // Basically, take:\n //\n // ```js\n // for (i of a.entries())\n // if (!b.has(i[0])) return false;\n // ```\n //\n // ... and convert to:\n //\n // ```js\n // it = a.entries();\n // while (!(i = it.next()).done)\n // if (!b.has(i.value[0])) return false;\n // ```\n //\n // **Note**: `i` access switches to `i.value`.\n\n\n var it;\n\n if (hasMap && a instanceof Map && b instanceof Map) {\n if (a.size !== b.size) return false;\n it = a.entries();\n\n while (!(i = it.next()).done) {\n if (!b.has(i.value[0])) return false;\n }\n\n it = a.entries();\n\n while (!(i = it.next()).done) {\n if (!equal(i.value[1], b.get(i.value[0]))) return false;\n }\n\n return true;\n }\n\n if (hasSet && a instanceof Set && b instanceof Set) {\n if (a.size !== b.size) return false;\n it = a.entries();\n\n while (!(i = it.next()).done) {\n if (!b.has(i.value[0])) return false;\n }\n\n return true;\n } // END: Modifications\n\n\n if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {\n length = a.length;\n if (length != b.length) return false;\n\n for (i = length; i-- !== 0;) {\n if (a[i] !== b[i]) return false;\n }\n\n return true;\n }\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;) {\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n } // END: fast-deep-equal\n // START: react-fast-compare\n // custom handling for DOM elements\n\n\n if (hasElementType && a instanceof Element) return false; // custom handling for React/Preact\n\n for (i = length; i-- !== 0;) {\n if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner\n // Preact-specific: avoid traversing Preact elements' __v and __o\n // __v = $_original / $_vnode\n // __o = $_owner\n // These properties contain circular references and are not needed when\n // comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of elements\n continue;\n } // all other properties should be traversed as usual\n\n\n if (!equal(a[keys[i]], b[keys[i]])) return false;\n } // END: react-fast-compare\n // START: fast-deep-equal\n\n\n return true;\n }\n\n return a !== a && b !== b;\n} // end fast-deep-equal\n\n\nmodule.exports = function isEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if ((error.message || '').match(/stack|recursion/i)) {\n // warn on circular references, don't crash\n // browsers give this different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n console.warn('react-fast-compare cannot handle circular refs');\n return false;\n } // some other error. we should definitely know about these\n\n\n throw error;\n }\n};","'use strict';\n\nfunction _interopDefault(ex) {\n return ex && typeof ex === 'object' && 'default' in ex ? ex['default'] : ex;\n}\n\nvar React = require('react');\n\nvar React__default = _interopDefault(React);\n\nfunction _defineProperty(obj, key, value) {\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\n return obj;\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\nfunction withSideEffect(reducePropsToState, handleStateChangeOnClient, mapStateOnServer) {\n if (typeof reducePropsToState !== 'function') {\n throw new Error('Expected reducePropsToState to be a function.');\n }\n\n if (typeof handleStateChangeOnClient !== 'function') {\n throw new Error('Expected handleStateChangeOnClient to be a function.');\n }\n\n if (typeof mapStateOnServer !== 'undefined' && typeof mapStateOnServer !== 'function') {\n throw new Error('Expected mapStateOnServer to either be undefined or a function.');\n }\n\n function getDisplayName(WrappedComponent) {\n return WrappedComponent.displayName || WrappedComponent.name || 'Component';\n }\n\n return function wrap(WrappedComponent) {\n if (typeof WrappedComponent !== 'function') {\n throw new Error('Expected WrappedComponent to be a React component.');\n }\n\n var mountedInstances = [];\n var state;\n\n function emitChange() {\n state = reducePropsToState(mountedInstances.map(function (instance) {\n return instance.props;\n }));\n\n if (SideEffect.canUseDOM) {\n handleStateChangeOnClient(state);\n } else if (mapStateOnServer) {\n state = mapStateOnServer(state);\n }\n }\n\n var SideEffect = /*#__PURE__*/function (_PureComponent) {\n _inheritsLoose(SideEffect, _PureComponent);\n\n function SideEffect() {\n return _PureComponent.apply(this, arguments) || this;\n } // Try to use displayName of wrapped component\n // Expose canUseDOM so tests can monkeypatch it\n\n\n SideEffect.peek = function peek() {\n return state;\n };\n\n SideEffect.rewind = function rewind() {\n if (SideEffect.canUseDOM) {\n throw new Error('You may only call rewind() on the server. Call peek() to read the current state.');\n }\n\n var recordedState = state;\n state = undefined;\n mountedInstances = [];\n return recordedState;\n };\n\n var _proto = SideEffect.prototype;\n\n _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {\n mountedInstances.push(this);\n emitChange();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n emitChange();\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n var index = mountedInstances.indexOf(this);\n mountedInstances.splice(index, 1);\n emitChange();\n };\n\n _proto.render = function render() {\n return React__default.createElement(WrappedComponent, this.props);\n };\n\n return SideEffect;\n }(React.PureComponent);\n\n _defineProperty(SideEffect, \"displayName\", \"SideEffect(\" + getDisplayName(WrappedComponent) + \")\");\n\n _defineProperty(SideEffect, \"canUseDOM\", canUseDOM);\n\n return SideEffect;\n };\n}\n\nmodule.exports = withSideEffect;","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}","import React, { useState, useEffect } from \"react\";\nimport e from \"axios\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a2, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a2, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a2, prop, b[prop]);\n }\n return a2;\n};\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nvar __defProp2 = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols2 = Object.getOwnPropertySymbols;\nvar __hasOwnProp2 = Object.prototype.hasOwnProperty;\nvar __propIsEnum2 = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues2 = (a2, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp2.call(b, prop))\n __defNormalProp2(a2, prop, b[prop]);\n if (__getOwnPropSymbols2)\n for (var prop of __getOwnPropSymbols2(b)) {\n if (__propIsEnum2.call(b, prop))\n __defNormalProp2(a2, prop, b[prop]);\n }\n return a2;\n};\nvar __spreadProps = (a2, b) => __defProps(a2, __getOwnPropDescs(b));\nlet loaded = false;\nconst callbacks = [];\nconst loadBridge = (src) => {\n return new Promise((resolve, reject) => {\n if (typeof window === \"undefined\")\n return;\n window.storyblokRegisterEvent = (cb) => {\n if (window.location === window.parent.location) {\n console.warn(\"You are not in Draft Mode or in the Visual Editor.\");\n return;\n }\n if (!loaded)\n callbacks.push(cb);\n else\n cb();\n };\n if (document.getElementById(\"storyblok-javascript-bridge\"))\n return;\n const script = document.createElement(\"script\");\n script.async = true;\n script.src = src;\n script.id = \"storyblok-javascript-bridge\";\n script.onerror = (error) => reject(error);\n script.onload = (ev) => {\n callbacks.forEach((cb) => cb());\n loaded = true;\n resolve(ev);\n };\n document.getElementsByTagName(\"head\")[0].appendChild(script);\n });\n};\n/*!\n * storyblok-js-client v4.5.2\n * Universal JavaScript SDK for Storyblok's API\n * (c) 2020-2022 Stobylok Team\n */\nfunction t(e2) {\n return typeof e2 == \"number\" && (e2 == e2 && e2 !== 1 / 0 && e2 !== -1 / 0);\n}\nfunction s(e2, s2, r2) {\n if (!t(s2))\n throw new TypeError(\"Expected `limit` to be a finite number\");\n if (!t(r2))\n throw new TypeError(\"Expected `interval` to be a finite number\");\n var i2 = [], n2 = [], o2 = 0, a2 = function() {\n o2++;\n var t2 = setTimeout(function() {\n o2--, i2.length > 0 && a2(), n2 = n2.filter(function(e3) {\n return e3 !== t2;\n });\n }, r2);\n n2.indexOf(t2) < 0 && n2.push(t2);\n var s3 = i2.shift();\n s3.resolve(e2.apply(s3.self, s3.args));\n }, l2 = function() {\n var e3 = arguments, t2 = this;\n return new Promise(function(r3, n3) {\n i2.push({ resolve: r3, reject: n3, args: e3, self: t2 }), o2 < s2 && a2();\n });\n };\n return l2.abort = function() {\n n2.forEach(clearTimeout), n2 = [], i2.forEach(function(e3) {\n e3.reject(new throttle.AbortError());\n }), i2.length = 0;\n }, l2;\n}\ns.AbortError = function() {\n Error.call(this, \"Throttled function aborted\"), this.name = \"AbortError\";\n};\nconst r = function(e2, t2) {\n if (!e2)\n return null;\n let s2 = {};\n for (let r2 in e2) {\n let i2 = e2[r2];\n t2.indexOf(r2) > -1 && i2 !== null && (s2[r2] = i2);\n }\n return s2;\n};\nvar i = { nodes: { horizontal_rule: () => ({ singleTag: \"hr\" }), blockquote: () => ({ tag: \"blockquote\" }), bullet_list: () => ({ tag: \"ul\" }), code_block: (e2) => ({ tag: [\"pre\", { tag: \"code\", attrs: e2.attrs }] }), hard_break: () => ({ singleTag: \"br\" }), heading: (e2) => ({ tag: `h${e2.attrs.level}` }), image: (e2) => ({ singleTag: [{ tag: \"img\", attrs: r(e2.attrs, [\"src\", \"alt\", \"title\"]) }] }), list_item: () => ({ tag: \"li\" }), ordered_list: () => ({ tag: \"ol\" }), paragraph: () => ({ tag: \"p\" }) }, marks: { bold: () => ({ tag: \"b\" }), strike: () => ({ tag: \"strike\" }), underline: () => ({ tag: \"u\" }), strong: () => ({ tag: \"strong\" }), code: () => ({ tag: \"code\" }), italic: () => ({ tag: \"i\" }), link(e2) {\n const t2 = __spreadValues2({}, e2.attrs), { linktype: s2 = \"url\" } = e2.attrs;\n return s2 === \"email\" && (t2.href = `mailto:${t2.href}`), t2.anchor && (t2.href = `${t2.href}#${t2.anchor}`, delete t2.anchor), { tag: [{ tag: \"a\", attrs: t2 }] };\n}, styled: (e2) => ({ tag: [{ tag: \"span\", attrs: e2.attrs }] }) } };\nclass n {\n constructor(e2) {\n e2 || (e2 = i), this.marks = e2.marks || [], this.nodes = e2.nodes || [];\n }\n addNode(e2, t2) {\n this.nodes[e2] = t2;\n }\n addMark(e2, t2) {\n this.marks[e2] = t2;\n }\n render(e2 = {}) {\n if (e2.content && Array.isArray(e2.content)) {\n let t2 = \"\";\n return e2.content.forEach((e3) => {\n t2 += this.renderNode(e3);\n }), t2;\n }\n return console.warn(\"The render method must receive an object with a content field, which is an array\"), \"\";\n }\n renderNode(e2) {\n let t2 = [];\n e2.marks && e2.marks.forEach((e3) => {\n const s3 = this.getMatchingMark(e3);\n s3 && t2.push(this.renderOpeningTag(s3.tag));\n });\n const s2 = this.getMatchingNode(e2);\n return s2 && s2.tag && t2.push(this.renderOpeningTag(s2.tag)), e2.content ? e2.content.forEach((e3) => {\n t2.push(this.renderNode(e3));\n }) : e2.text ? t2.push(function(e3) {\n const t3 = { \"&\": \"&\", \"<\": \"<\", \">\": \">\", '\"': \""\", \"'\": \"'\" }, s3 = /[&<>\"']/g, r2 = RegExp(s3.source);\n return e3 && r2.test(e3) ? e3.replace(s3, (e4) => t3[e4]) : e3;\n }(e2.text)) : s2 && s2.singleTag ? t2.push(this.renderTag(s2.singleTag, \" /\")) : s2 && s2.html && t2.push(s2.html), s2 && s2.tag && t2.push(this.renderClosingTag(s2.tag)), e2.marks && e2.marks.slice(0).reverse().forEach((e3) => {\n const s3 = this.getMatchingMark(e3);\n s3 && t2.push(this.renderClosingTag(s3.tag));\n }), t2.join(\"\");\n }\n renderTag(e2, t2) {\n if (e2.constructor === String)\n return `<${e2}${t2}>`;\n return e2.map((e3) => {\n if (e3.constructor === String)\n return `<${e3}${t2}>`;\n {\n let s2 = `<${e3.tag}`;\n if (e3.attrs)\n for (let t3 in e3.attrs) {\n let r2 = e3.attrs[t3];\n r2 !== null && (s2 += ` ${t3}=\"${r2}\"`);\n }\n return `${s2}${t2}>`;\n }\n }).join(\"\");\n }\n renderOpeningTag(e2) {\n return this.renderTag(e2, \"\");\n }\n renderClosingTag(e2) {\n if (e2.constructor === String)\n return ``;\n return e2.slice(0).reverse().map((e3) => e3.constructor === String ? `` : ``).join(\"\");\n }\n getMatchingNode(e2) {\n if (typeof this.nodes[e2.type] == \"function\")\n return this.nodes[e2.type](e2);\n }\n getMatchingMark(e2) {\n if (typeof this.marks[e2.type] == \"function\")\n return this.marks[e2.type](e2);\n }\n}\nconst o = (e2 = 0, t2 = e2) => {\n const s2 = Math.abs(t2 - e2) || 0, r2 = e2 < t2 ? 1 : -1;\n return ((e3 = 0, t3) => [...Array(e3)].map(t3))(s2, (t3, s3) => s3 * r2 + e2);\n}, a = (e2, t2, s2) => {\n const r2 = [];\n for (const i2 in e2) {\n if (!Object.prototype.hasOwnProperty.call(e2, i2))\n continue;\n const n2 = e2[i2], o2 = s2 ? \"\" : encodeURIComponent(i2);\n let l2;\n l2 = typeof n2 == \"object\" ? a(n2, t2 ? t2 + encodeURIComponent(\"[\" + o2 + \"]\") : o2, Array.isArray(n2)) : (t2 ? t2 + encodeURIComponent(\"[\" + o2 + \"]\") : o2) + \"=\" + encodeURIComponent(n2), r2.push(l2);\n }\n return r2.join(\"&\");\n};\nlet l = {}, c = {};\nclass h {\n constructor(t2, r2) {\n if (!r2) {\n let e2 = t2.region ? `-${t2.region}` : \"\", s2 = t2.https === false ? \"http\" : \"https\";\n r2 = t2.oauthToken === void 0 ? `${s2}://api${e2}.storyblok.com/v2` : `${s2}://api${e2}.storyblok.com/v1`;\n }\n let i2 = Object.assign({}, t2.headers), o2 = 5;\n t2.oauthToken !== void 0 && (i2.Authorization = t2.oauthToken, o2 = 3), t2.rateLimit !== void 0 && (o2 = t2.rateLimit), this.richTextResolver = new n(t2.richTextSchema), typeof t2.componentResolver == \"function\" && this.setComponentResolver(t2.componentResolver), this.maxRetries = t2.maxRetries || 5, this.throttle = s(this.throttledRequest, o2, 1e3), this.accessToken = t2.accessToken, this.relations = {}, this.links = {}, this.cache = t2.cache || { clear: \"manual\" }, this.client = e.create({ baseURL: r2, timeout: t2.timeout || 0, headers: i2, proxy: t2.proxy || false }), t2.responseInterceptor && this.client.interceptors.response.use((e2) => t2.responseInterceptor(e2)), this.resolveNestedRelations = t2.resolveNestedRelations || true;\n }\n setComponentResolver(e2) {\n this.richTextResolver.addNode(\"blok\", (t2) => {\n let s2 = \"\";\n return t2.attrs.body.forEach((t3) => {\n s2 += e2(t3.component, t3);\n }), { html: s2 };\n });\n }\n parseParams(e2 = {}) {\n return e2.version || (e2.version = \"published\"), e2.token || (e2.token = this.getToken()), e2.cv || (e2.cv = c[e2.token]), Array.isArray(e2.resolve_relations) && (e2.resolve_relations = e2.resolve_relations.join(\",\")), e2;\n }\n factoryParamOptions(e2, t2 = {}) {\n return ((e3 = \"\") => e3.indexOf(\"/cdn/\") > -1)(e2) ? this.parseParams(t2) : t2;\n }\n makeRequest(e2, t2, s2, r2) {\n const i2 = this.factoryParamOptions(e2, ((e3 = {}, t3 = 25, s3 = 1) => __spreadProps(__spreadValues2({}, e3), { per_page: t3, page: s3 }))(t2, s2, r2));\n return this.cacheResponse(e2, i2);\n }\n get(e2, t2) {\n let s2 = `/${e2}`;\n const r2 = this.factoryParamOptions(s2, t2);\n return this.cacheResponse(s2, r2);\n }\n async getAll(e2, t2 = {}, s2) {\n const r2 = t2.per_page || 25, i2 = `/${e2}`, n2 = i2.split(\"/\");\n s2 = s2 || n2[n2.length - 1];\n const a2 = await this.makeRequest(i2, t2, r2, 1), l2 = Math.ceil(a2.total / r2);\n return ((e3 = [], t3) => e3.map(t3).reduce((e4, t4) => [...e4, ...t4], []))([a2, ...await (async (e3 = [], t3) => Promise.all(e3.map(t3)))(o(1, l2), async (e3) => this.makeRequest(i2, t2, r2, e3 + 1))], (e3) => Object.values(e3.data[s2]));\n }\n post(e2, t2) {\n let s2 = `/${e2}`;\n return this.throttle(\"post\", s2, t2);\n }\n put(e2, t2) {\n let s2 = `/${e2}`;\n return this.throttle(\"put\", s2, t2);\n }\n delete(e2, t2) {\n let s2 = `/${e2}`;\n return this.throttle(\"delete\", s2, t2);\n }\n getStories(e2) {\n return this.get(\"cdn/stories\", e2);\n }\n getStory(e2, t2) {\n return this.get(`cdn/stories/${e2}`, t2);\n }\n setToken(e2) {\n this.accessToken = e2;\n }\n getToken() {\n return this.accessToken;\n }\n _cleanCopy(e2) {\n return JSON.parse(JSON.stringify(e2));\n }\n _insertLinks(e2, t2) {\n const s2 = e2[t2];\n s2 && s2.fieldtype == \"multilink\" && s2.linktype == \"story\" && typeof s2.id == \"string\" && this.links[s2.id] ? s2.story = this._cleanCopy(this.links[s2.id]) : s2 && s2.linktype === \"story\" && typeof s2.uuid == \"string\" && this.links[s2.uuid] && (s2.story = this._cleanCopy(this.links[s2.uuid]));\n }\n _insertRelations(e2, t2, s2) {\n if (s2.indexOf(e2.component + \".\" + t2) > -1) {\n if (typeof e2[t2] == \"string\")\n this.relations[e2[t2]] && (e2[t2] = this._cleanCopy(this.relations[e2[t2]]));\n else if (e2[t2].constructor === Array) {\n let s3 = [];\n e2[t2].forEach((e3) => {\n this.relations[e3] && s3.push(this._cleanCopy(this.relations[e3]));\n }), e2[t2] = s3;\n }\n }\n }\n _insertAssetsRelations(e2, t2) {\n t2.forEach((t3) => {\n e2.id === t3.id && (e2.original = t3, e2.original.filename = e2.filename, e2.original.filename = e2.original.filename.includes(\"https://s3.amazonaws.com/\") ? e2.original.filename : e2.original.filename.replace(\"https://\", \"https://s3.amazonaws.com/\"), delete e2.original.s3_filename);\n });\n }\n iterateTree(e2, t2) {\n let s2 = (e3) => {\n if (e3 != null) {\n if (e3.constructor === Array)\n for (let t3 = 0; t3 < e3.length; t3++)\n s2(e3[t3]);\n else if (e3.constructor === Object) {\n if (e3._stopResolving)\n return;\n for (let r2 in e3)\n e3.component && e3._uid || e3.type === \"link\" ? (this._insertRelations(e3, r2, t2), this._insertLinks(e3, r2)) : \"id\" in e3 && e3.fieldtype === \"asset\" && this._insertAssetsRelations(e3, t2), s2(e3[r2]);\n }\n }\n };\n s2(e2.content);\n }\n async resolveLinks(e2, t2) {\n let s2 = [];\n if (e2.link_uuids) {\n const r2 = e2.link_uuids.length;\n let i2 = [];\n const n2 = 50;\n for (let t3 = 0; t3 < r2; t3 += n2) {\n const s3 = Math.min(r2, t3 + n2);\n i2.push(e2.link_uuids.slice(t3, s3));\n }\n for (let e3 = 0; e3 < i2.length; e3++) {\n (await this.getStories({ per_page: n2, language: t2.language, version: t2.version, by_uuids: i2[e3].join(\",\") })).data.stories.forEach((e4) => {\n s2.push(e4);\n });\n }\n } else\n s2 = e2.links;\n s2.forEach((e3) => {\n this.links[e3.uuid] = __spreadProps(__spreadValues2({}, e3), { _stopResolving: true });\n });\n }\n async resolveRelations(e2, t2) {\n let s2 = [];\n if (e2.rel_uuids) {\n const r2 = e2.rel_uuids.length;\n let i2 = [];\n const n2 = 50;\n for (let t3 = 0; t3 < r2; t3 += n2) {\n const s3 = Math.min(r2, t3 + n2);\n i2.push(e2.rel_uuids.slice(t3, s3));\n }\n for (let e3 = 0; e3 < i2.length; e3++) {\n (await this.getStories({ per_page: n2, language: t2.language, version: t2.version, by_uuids: i2[e3].join(\",\") })).data.stories.forEach((e4) => {\n s2.push(e4);\n });\n }\n } else\n s2 = e2.rels;\n s2.forEach((e3) => {\n this.relations[e3.uuid] = __spreadProps(__spreadValues2({}, e3), { _stopResolving: true });\n });\n }\n async resolveStories(e2, t2) {\n let s2 = [];\n if (t2.resolve_relations !== void 0 && t2.resolve_relations.length > 0 && (e2.rels || e2.rel_uuids) && (s2 = t2.resolve_relations.split(\",\"), await this.resolveRelations(e2, t2)), [\"1\", \"story\", \"url\"].indexOf(t2.resolve_links) > -1 && (e2.links || e2.link_uuids) && await this.resolveLinks(e2, t2), this.resolveNestedRelations)\n for (const e3 in this.relations)\n this.iterateTree(this.relations[e3], s2);\n e2.story ? this.iterateTree(e2.story, s2) : e2.stories.forEach((e3) => {\n this.iterateTree(e3, s2);\n });\n }\n resolveAssetsRelations(e2) {\n const { assets: t2, stories: s2, story: r2 } = e2;\n if (s2)\n for (const e3 of s2)\n this.iterateTree(e3, t2);\n else {\n if (!r2)\n return e2;\n this.iterateTree(r2, t2);\n }\n }\n cacheResponse(e2, t2, s2) {\n return s2 === void 0 && (s2 = 0), new Promise(async (r2, i2) => {\n let n2 = a({ url: e2, params: t2 }), o2 = this.cacheProvider();\n if (this.cache.clear === \"auto\" && t2.version === \"draft\" && await this.flushCache(), t2.version === \"published\" && e2 != \"/cdn/spaces/me\") {\n const e3 = await o2.get(n2);\n if (e3)\n return r2(e3);\n }\n try {\n let s3 = await this.throttle(\"get\", e2, { params: t2, paramsSerializer: (e3) => a(e3) }), l3 = { data: s3.data, headers: s3.headers };\n if (l3.data.assets && l3.data.assets.length && this.resolveAssetsRelations(l3.data), s3.headers[\"per-page\"] && (l3 = Object.assign({}, l3, { perPage: parseInt(s3.headers[\"per-page\"]), total: parseInt(s3.headers.total) })), s3.status != 200)\n return i2(s3);\n (l3.data.story || l3.data.stories) && await this.resolveStories(l3.data, t2), t2.version === \"published\" && e2 != \"/cdn/spaces/me\" && o2.set(n2, l3), l3.data.cv && (t2.version == \"draft\" && c[t2.token] != l3.data.cv && this.flushCache(), c[t2.token] = l3.data.cv), r2(l3);\n } catch (n3) {\n if (n3.response && n3.response.status === 429 && (s2 += 1) < this.maxRetries)\n return console.log(`Hit rate limit. Retrying in ${s2} seconds.`), await (l2 = 1e3 * s2, new Promise((e3) => setTimeout(e3, l2))), this.cacheResponse(e2, t2, s2).then(r2).catch(i2);\n i2(n3);\n }\n var l2;\n });\n }\n throttledRequest(e2, t2, s2) {\n return this.client[e2](t2, s2);\n }\n cacheVersions() {\n return c;\n }\n cacheVersion() {\n return c[this.accessToken];\n }\n setCacheVersion(e2) {\n this.accessToken && (c[this.accessToken] = e2);\n }\n cacheProvider() {\n return this.cache.type === \"memory\" ? { get: (e2) => l[e2], getAll: () => l, set(e2, t2) {\n l[e2] = t2;\n }, flush() {\n l = {};\n } } : { get() {\n }, getAll() {\n }, set() {\n }, flush() {\n } };\n }\n async flushCache() {\n return await this.cacheProvider().flush(), this;\n }\n}\nconst apiFactory = (options = {}) => {\n const { apiOptions } = options;\n if (!apiOptions.accessToken) {\n console.error(\"You need to provide an access token to interact with Storyblok API. Read https://www.storyblok.com/docs/api/content-delivery#topics/authentication\");\n return;\n }\n const storyblokApi = new h(apiOptions);\n return { storyblokApi };\n};\nvar editable = (blok) => {\n if (typeof blok !== \"object\" || typeof blok._editable === \"undefined\") {\n return {};\n }\n const options = JSON.parse(blok._editable.replace(/^$/, \"\"));\n return {\n \"data-blok-c\": JSON.stringify(options),\n \"data-blok-uid\": options.id + \"-\" + options.uid\n };\n};\nconst bridgeLatest = \"https://app.storyblok.com/f/storyblok-v2-latest.js\";\nconst useStoryblokBridge = (id, cb, options = {}) => {\n if (typeof window === \"undefined\") {\n return;\n }\n if (typeof window.storyblokRegisterEvent === \"undefined\") {\n console.error(\"Storyblok Bridge is disabled. Please enable it to use it. Read https://github.com/storyblok/storyblok-js\");\n return;\n }\n if (!id) {\n console.warn(\"Story ID is not defined. Please provide a valid ID.\");\n return;\n }\n window.storyblokRegisterEvent(() => {\n const sbBridge = new window.StoryblokBridge(options);\n sbBridge.on([\"input\", \"published\", \"change\"], (event) => {\n if (event.action == \"input\" && event.story.id === id) {\n cb(event.story);\n } else {\n window.location.reload();\n }\n });\n });\n};\nconst storyblokInit$1 = (pluginOptions = {}) => {\n const { bridge, accessToken, use = [], apiOptions = {} } = pluginOptions;\n apiOptions.accessToken = apiOptions.accessToken || accessToken;\n const options = { bridge, apiOptions };\n let result = {};\n use.forEach((pluginFactory) => {\n result = __spreadValues2(__spreadValues2({}, result), pluginFactory(options));\n });\n if (bridge !== false) {\n loadBridge(bridgeLatest);\n }\n return result;\n};\nconst StoryblokComponent = (_a) => {\n var _b = _a, {\n blok\n } = _b, restProps = __objRest(_b, [\n \"blok\"\n ]);\n if (!blok) {\n console.error(\"Please provide a 'blok' property to the StoryblokComponent\");\n return /* @__PURE__ */ React.createElement(\"div\", null, \"Please provide a blok property to the StoryblokComponent\");\n }\n const Component = getComponent(blok.component);\n if (Component) {\n return /* @__PURE__ */ React.createElement(Component, __spreadValues({\n blok\n }, restProps));\n }\n return /* @__PURE__ */ React.createElement(\"div\", null);\n};\nlet storyblokApiInstance = null;\nconst useStoryblokApi = () => {\n if (!storyblokApiInstance) {\n console.error(\"You can't use getStoryblokApi if you're not loading apiPlugin.\");\n }\n return storyblokApiInstance;\n};\nlet componentsMap = {};\nconst getComponent = (componentKey) => {\n if (!componentsMap[componentKey]) {\n console.error(`Component ${componentKey} doesn't exist.`);\n return false;\n }\n return componentsMap[componentKey];\n};\nconst storyblokInit = (pluginOptions = {}) => {\n const { storyblokApi } = storyblokInit$1(pluginOptions);\n storyblokApiInstance = storyblokApi;\n componentsMap = pluginOptions.components;\n};\nfunction useStoryblokState(originalStory, bridgeOptions = {}) {\n if (typeof originalStory.content === \"string\")\n originalStory.content = JSON.parse(originalStory.content);\n let [story, setStory] = useState(originalStory);\n useEffect(() => {\n useStoryblokBridge(story.internalId, (newStory) => setStory(newStory), bridgeOptions);\n }, []);\n return story;\n}\nexport { StoryblokComponent, apiFactory as apiPlugin, useStoryblokApi as getStoryblokApi, editable as storyblokEditable, storyblokInit, useStoryblokApi, useStoryblokBridge, useStoryblokState };\n","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar transitionalDefaults = require('../defaults/transitional');\nvar AxiosError = require('../core/AxiosError');\nvar CanceledError = require('../cancel/CanceledError');\nvar parseProtocol = require('../helpers/parseProtocol');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n if (utils.isFormData(requestData) && utils.isStandardBrowserEnv()) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n var transitional = config.transitional || transitionalDefaults;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(new AxiosError(\n timeoutErrorMessage,\n transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,\n config,\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (!request) {\n return;\n }\n reject(!cancel || (cancel && cancel.type) ? new CanceledError() : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n var protocol = parseProtocol(fullPath);\n\n if (protocol && [ 'http', 'https', 'file' ].indexOf(protocol) === -1) {\n reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));\n return;\n }\n\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.CanceledError = require('./cancel/CanceledError');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\naxios.VERSION = require('./env/data').version;\naxios.toFormData = require('./helpers/toFormData');\n\n// Expose AxiosError class\naxios.AxiosError = require('../lib/core/AxiosError');\n\n// alias for CanceledError for backward compatibility\naxios.Cancel = axios.CanceledError;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\nvar CanceledError = require('./CanceledError');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(function(cancel) {\n if (!token._listeners) return;\n\n var i;\n var l = token._listeners.length;\n\n for (i = 0; i < l; i++) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = function(onfulfilled) {\n var _resolve;\n // eslint-disable-next-line func-names\n var promise = new Promise(function(resolve) {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new CanceledError(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Subscribe to the cancel signal\n */\n\nCancelToken.prototype.subscribe = function subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n};\n\n/**\n * Unsubscribe from the cancel signal\n */\n\nCancelToken.prototype.unsubscribe = function unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n var index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nvar AxiosError = require('../core/AxiosError');\nvar utils = require('../utils');\n\n/**\n * A `CanceledError` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction CanceledError(message) {\n // eslint-disable-next-line no-eq-null,eqeqeq\n AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED);\n this.name = 'CanceledError';\n}\n\nutils.inherits(CanceledError, AxiosError, {\n __CANCEL__: true\n});\n\nmodule.exports = CanceledError;\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar buildFullPath = require('./buildFullPath');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n var fullPath = buildFullPath(config.baseURL, config.url);\n return buildURL(fullPath, config.params, config.paramsSerializer);\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n\n function generateHTTPMethod(isForm) {\n return function httpMethod(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n headers: isForm ? {\n 'Content-Type': 'multipart/form-data'\n } : {},\n url: url,\n data: data\n }));\n };\n }\n\n Axios.prototype[method] = generateHTTPMethod();\n\n Axios.prototype[method + 'Form'] = generateHTTPMethod(true);\n});\n\nmodule.exports = Axios;\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [config] The config.\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nfunction AxiosError(message, code, config, request, response) {\n Error.call(this);\n this.message = message;\n this.name = 'AxiosError';\n code && (this.code = code);\n config && (this.config = config);\n request && (this.request = request);\n response && (this.response = response);\n}\n\nutils.inherits(AxiosError, Error, {\n toJSON: function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n }\n});\n\nvar prototype = AxiosError.prototype;\nvar descriptors = {};\n\n[\n 'ERR_BAD_OPTION_VALUE',\n 'ERR_BAD_OPTION',\n 'ECONNABORTED',\n 'ETIMEDOUT',\n 'ERR_NETWORK',\n 'ERR_FR_TOO_MANY_REDIRECTS',\n 'ERR_DEPRECATED',\n 'ERR_BAD_RESPONSE',\n 'ERR_BAD_REQUEST',\n 'ERR_CANCELED'\n// eslint-disable-next-line func-names\n].forEach(function(code) {\n descriptors[code] = {value: code};\n});\n\nObject.defineProperties(AxiosError, descriptors);\nObject.defineProperty(prototype, 'isAxiosError', {value: true});\n\n// eslint-disable-next-line func-names\nAxiosError.from = function(error, code, config, request, response, customProps) {\n var axiosError = Object.create(prototype);\n\n utils.toFlatObject(error, axiosError, function filter(obj) {\n return obj !== Error.prototype;\n });\n\n AxiosError.call(axiosError, error.message, code, config, request, response);\n\n axiosError.name = error.name;\n\n customProps && Object.assign(axiosError, customProps);\n\n return axiosError;\n};\n\nmodule.exports = AxiosError;\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar CanceledError = require('../cancel/CanceledError');\n\n/**\n * Throws a `CanceledError` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new CanceledError();\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(prop) {\n if (prop in config2) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n var mergeMap = {\n 'url': valueFromConfig2,\n 'method': valueFromConfig2,\n 'data': valueFromConfig2,\n 'baseURL': defaultToConfig2,\n 'transformRequest': defaultToConfig2,\n 'transformResponse': defaultToConfig2,\n 'paramsSerializer': defaultToConfig2,\n 'timeout': defaultToConfig2,\n 'timeoutMessage': defaultToConfig2,\n 'withCredentials': defaultToConfig2,\n 'adapter': defaultToConfig2,\n 'responseType': defaultToConfig2,\n 'xsrfCookieName': defaultToConfig2,\n 'xsrfHeaderName': defaultToConfig2,\n 'onUploadProgress': defaultToConfig2,\n 'onDownloadProgress': defaultToConfig2,\n 'decompress': defaultToConfig2,\n 'maxContentLength': defaultToConfig2,\n 'maxBodyLength': defaultToConfig2,\n 'beforeRedirect': defaultToConfig2,\n 'transport': defaultToConfig2,\n 'httpAgent': defaultToConfig2,\n 'httpsAgent': defaultToConfig2,\n 'cancelToken': defaultToConfig2,\n 'socketPath': defaultToConfig2,\n 'responseEncoding': defaultToConfig2,\n 'validateStatus': mergeDirectKeys\n };\n\n utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {\n var merge = mergeMap[prop] || mergeDeepProperties;\n var configValue = merge(prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n};\n","'use strict';\n\nvar AxiosError = require('./AxiosError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(new AxiosError(\n 'Request failed with status code ' + response.status,\n [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],\n response.config,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar utils = require('../utils');\nvar normalizeHeaderName = require('../helpers/normalizeHeaderName');\nvar AxiosError = require('../core/AxiosError');\nvar transitionalDefaults = require('./transitional');\nvar toFormData = require('../helpers/toFormData');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('../adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('../adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: transitionalDefaults,\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n\n var isObjectPayload = utils.isObject(data);\n var contentType = headers && headers['Content-Type'];\n\n var isFileList;\n\n if ((isFileList = utils.isFileList(data)) || (isObjectPayload && contentType === 'multipart/form-data')) {\n var _FormData = this.env && this.env.FormData;\n return toFormData(isFileList ? {'files[]': data} : data, _FormData && new _FormData());\n } else if (isObjectPayload || contentType === 'application/json') {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional || defaults.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n env: {\n FormData: require('./env/FormData')\n },\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nmodule.exports = {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n","module.exports = {\n \"version\": \"0.27.2\"\n};","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return utils.isObject(payload) && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","// eslint-disable-next-line strict\nmodule.exports = null;\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nmodule.exports = function parseProtocol(url) {\n var match = /^([-+\\w]{1,25})(:?\\/\\/|:)/.exec(url);\n return match && match[1] || '';\n};\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Convert a data object to FormData\n * @param {Object} obj\n * @param {?Object} [formData]\n * @returns {Object}\n **/\n\nfunction toFormData(obj, formData) {\n // eslint-disable-next-line no-param-reassign\n formData = formData || new FormData();\n\n var stack = [];\n\n function convertValue(value) {\n if (value === null) return '';\n\n if (utils.isDate(value)) {\n return value.toISOString();\n }\n\n if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {\n return typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);\n }\n\n return value;\n }\n\n function build(data, parentKey) {\n if (utils.isPlainObject(data) || utils.isArray(data)) {\n if (stack.indexOf(data) !== -1) {\n throw Error('Circular reference detected in ' + parentKey);\n }\n\n stack.push(data);\n\n utils.forEach(data, function each(value, key) {\n if (utils.isUndefined(value)) return;\n var fullKey = parentKey ? parentKey + '.' + key : key;\n var arr;\n\n if (value && !parentKey && typeof value === 'object') {\n if (utils.endsWith(key, '{}')) {\n // eslint-disable-next-line no-param-reassign\n value = JSON.stringify(value);\n } else if (utils.endsWith(key, '[]') && (arr = utils.toArray(value))) {\n // eslint-disable-next-line func-names\n arr.forEach(function(el) {\n !utils.isUndefined(el) && formData.append(fullKey, convertValue(el));\n });\n return;\n }\n }\n\n build(value, fullKey);\n });\n\n stack.pop();\n } else {\n formData.append(parentKey, convertValue(data));\n }\n }\n\n build(obj);\n\n return formData;\n}\n\nmodule.exports = toFormData;\n","'use strict';\n\nvar VERSION = require('../env/data').version;\nvar AxiosError = require('../core/AxiosError');\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new AxiosError(\n formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),\n AxiosError.ERR_DEPRECATED\n );\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);\n }\n }\n}\n\nmodule.exports = {\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n// eslint-disable-next-line func-names\nvar kindOf = (function(cache) {\n // eslint-disable-next-line func-names\n return function(thing) {\n var str = toString.call(thing);\n return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());\n };\n})(Object.create(null));\n\nfunction kindOfTest(type) {\n type = type.toLowerCase();\n return function isKindOf(thing) {\n return kindOf(thing) === type;\n };\n}\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return Array.isArray(val);\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @function\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nvar isArrayBuffer = kindOfTest('ArrayBuffer');\n\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (kindOf(val) !== 'object') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @function\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nvar isDate = kindOfTest('Date');\n\n/**\n * Determine if a value is a File\n *\n * @function\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nvar isFile = kindOfTest('File');\n\n/**\n * Determine if a value is a Blob\n *\n * @function\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nvar isBlob = kindOfTest('Blob');\n\n/**\n * Determine if a value is a FileList\n *\n * @function\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nvar isFileList = kindOfTest('FileList');\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} thing The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(thing) {\n var pattern = '[object FormData]';\n return thing && (\n (typeof FormData === 'function' && thing instanceof FormData) ||\n toString.call(thing) === pattern ||\n (isFunction(thing.toString) && thing.toString() === pattern)\n );\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n * @function\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nvar isURLSearchParams = kindOfTest('URLSearchParams');\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\n/**\n * Inherit the prototype methods from one constructor into another\n * @param {function} constructor\n * @param {function} superConstructor\n * @param {object} [props]\n * @param {object} [descriptors]\n */\n\nfunction inherits(constructor, superConstructor, props, descriptors) {\n constructor.prototype = Object.create(superConstructor.prototype, descriptors);\n constructor.prototype.constructor = constructor;\n props && Object.assign(constructor.prototype, props);\n}\n\n/**\n * Resolve object with deep prototype chain to a flat object\n * @param {Object} sourceObj source object\n * @param {Object} [destObj]\n * @param {Function} [filter]\n * @returns {Object}\n */\n\nfunction toFlatObject(sourceObj, destObj, filter) {\n var props;\n var i;\n var prop;\n var merged = {};\n\n destObj = destObj || {};\n\n do {\n props = Object.getOwnPropertyNames(sourceObj);\n i = props.length;\n while (i-- > 0) {\n prop = props[i];\n if (!merged[prop]) {\n destObj[prop] = sourceObj[prop];\n merged[prop] = true;\n }\n }\n sourceObj = Object.getPrototypeOf(sourceObj);\n } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);\n\n return destObj;\n}\n\n/*\n * determines whether a string ends with the characters of a specified string\n * @param {String} str\n * @param {String} searchString\n * @param {Number} [position= 0]\n * @returns {boolean}\n */\nfunction endsWith(str, searchString, position) {\n str = String(str);\n if (position === undefined || position > str.length) {\n position = str.length;\n }\n position -= searchString.length;\n var lastIndex = str.indexOf(searchString, position);\n return lastIndex !== -1 && lastIndex === position;\n}\n\n\n/**\n * Returns new array from array like object\n * @param {*} [thing]\n * @returns {Array}\n */\nfunction toArray(thing) {\n if (!thing) return null;\n var i = thing.length;\n if (isUndefined(i)) return null;\n var arr = new Array(i);\n while (i-- > 0) {\n arr[i] = thing[i];\n }\n return arr;\n}\n\n// eslint-disable-next-line func-names\nvar isTypedArray = (function(TypedArray) {\n // eslint-disable-next-line func-names\n return function(thing) {\n return TypedArray && thing instanceof TypedArray;\n };\n})(typeof Uint8Array !== 'undefined' && Object.getPrototypeOf(Uint8Array));\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM,\n inherits: inherits,\n toFlatObject: toFlatObject,\n kindOf: kindOf,\n kindOfTest: kindOfTest,\n endsWith: endsWith,\n toArray: toArray,\n isTypedArray: isTypedArray,\n isFileList: isFileList\n};\n","import PropTypes from 'prop-types';\nimport withSideEffect from 'react-side-effect';\nimport isEqual from 'react-fast-compare';\nimport React from 'react';\nimport objectAssign from 'object-assign';\nvar ATTRIBUTE_NAMES = {\n BODY: \"bodyAttributes\",\n HTML: \"htmlAttributes\",\n TITLE: \"titleAttributes\"\n};\nvar TAG_NAMES = {\n BASE: \"base\",\n BODY: \"body\",\n HEAD: \"head\",\n HTML: \"html\",\n LINK: \"link\",\n META: \"meta\",\n NOSCRIPT: \"noscript\",\n SCRIPT: \"script\",\n STYLE: \"style\",\n TITLE: \"title\"\n};\nvar VALID_TAG_NAMES = Object.keys(TAG_NAMES).map(function (name) {\n return TAG_NAMES[name];\n});\nvar TAG_PROPERTIES = {\n CHARSET: \"charset\",\n CSS_TEXT: \"cssText\",\n HREF: \"href\",\n HTTPEQUIV: \"http-equiv\",\n INNER_HTML: \"innerHTML\",\n ITEM_PROP: \"itemprop\",\n NAME: \"name\",\n PROPERTY: \"property\",\n REL: \"rel\",\n SRC: \"src\",\n TARGET: \"target\"\n};\nvar REACT_TAG_MAP = {\n accesskey: \"accessKey\",\n charset: \"charSet\",\n class: \"className\",\n contenteditable: \"contentEditable\",\n contextmenu: \"contextMenu\",\n \"http-equiv\": \"httpEquiv\",\n itemprop: \"itemProp\",\n tabindex: \"tabIndex\"\n};\nvar HELMET_PROPS = {\n DEFAULT_TITLE: \"defaultTitle\",\n DEFER: \"defer\",\n ENCODE_SPECIAL_CHARACTERS: \"encodeSpecialCharacters\",\n ON_CHANGE_CLIENT_STATE: \"onChangeClientState\",\n TITLE_TEMPLATE: \"titleTemplate\"\n};\nvar HTML_TAG_MAP = Object.keys(REACT_TAG_MAP).reduce(function (obj, key) {\n obj[REACT_TAG_MAP[key]] = key;\n return obj;\n}, {});\nvar SELF_CLOSING_TAGS = [TAG_NAMES.NOSCRIPT, TAG_NAMES.SCRIPT, TAG_NAMES.STYLE];\nvar HELMET_ATTRIBUTE = \"data-react-helmet\";\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar classCallCheck = function classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\nvar inherits = function inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\nvar objectWithoutProperties = function objectWithoutProperties(obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n};\n\nvar possibleConstructorReturn = function possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n};\n\nvar encodeSpecialCharacters = function encodeSpecialCharacters(str) {\n var encode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n if (encode === false) {\n return String(str);\n }\n\n return String(str).replace(/&/g, \"&\").replace(//g, \">\").replace(/\"/g, \""\").replace(/'/g, \"'\");\n};\n\nvar getTitleFromPropsList = function getTitleFromPropsList(propsList) {\n var innermostTitle = getInnermostProperty(propsList, TAG_NAMES.TITLE);\n var innermostTemplate = getInnermostProperty(propsList, HELMET_PROPS.TITLE_TEMPLATE);\n\n if (innermostTemplate && innermostTitle) {\n // use function arg to avoid need to escape $ characters\n return innermostTemplate.replace(/%s/g, function () {\n return Array.isArray(innermostTitle) ? innermostTitle.join(\"\") : innermostTitle;\n });\n }\n\n var innermostDefaultTitle = getInnermostProperty(propsList, HELMET_PROPS.DEFAULT_TITLE);\n return innermostTitle || innermostDefaultTitle || undefined;\n};\n\nvar getOnChangeClientState = function getOnChangeClientState(propsList) {\n return getInnermostProperty(propsList, HELMET_PROPS.ON_CHANGE_CLIENT_STATE) || function () {};\n};\n\nvar getAttributesFromPropsList = function getAttributesFromPropsList(tagType, propsList) {\n return propsList.filter(function (props) {\n return typeof props[tagType] !== \"undefined\";\n }).map(function (props) {\n return props[tagType];\n }).reduce(function (tagAttrs, current) {\n return _extends({}, tagAttrs, current);\n }, {});\n};\n\nvar getBaseTagFromPropsList = function getBaseTagFromPropsList(primaryAttributes, propsList) {\n return propsList.filter(function (props) {\n return typeof props[TAG_NAMES.BASE] !== \"undefined\";\n }).map(function (props) {\n return props[TAG_NAMES.BASE];\n }).reverse().reduce(function (innermostBaseTag, tag) {\n if (!innermostBaseTag.length) {\n var keys = Object.keys(tag);\n\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var lowerCaseAttributeKey = attributeKey.toLowerCase();\n\n if (primaryAttributes.indexOf(lowerCaseAttributeKey) !== -1 && tag[lowerCaseAttributeKey]) {\n return innermostBaseTag.concat(tag);\n }\n }\n }\n\n return innermostBaseTag;\n }, []);\n};\n\nvar getTagsFromPropsList = function getTagsFromPropsList(tagName, primaryAttributes, propsList) {\n // Calculate list of tags, giving priority innermost component (end of the propslist)\n var approvedSeenTags = {};\n return propsList.filter(function (props) {\n if (Array.isArray(props[tagName])) {\n return true;\n }\n\n if (typeof props[tagName] !== \"undefined\") {\n warn(\"Helmet: \" + tagName + \" should be of type \\\"Array\\\". Instead found type \\\"\" + _typeof(props[tagName]) + \"\\\"\");\n }\n\n return false;\n }).map(function (props) {\n return props[tagName];\n }).reverse().reduce(function (approvedTags, instanceTags) {\n var instanceSeenTags = {};\n instanceTags.filter(function (tag) {\n var primaryAttributeKey = void 0;\n var keys = Object.keys(tag);\n\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var lowerCaseAttributeKey = attributeKey.toLowerCase(); // Special rule with link tags, since rel and href are both primary tags, rel takes priority\n\n if (primaryAttributes.indexOf(lowerCaseAttributeKey) !== -1 && !(primaryAttributeKey === TAG_PROPERTIES.REL && tag[primaryAttributeKey].toLowerCase() === \"canonical\") && !(lowerCaseAttributeKey === TAG_PROPERTIES.REL && tag[lowerCaseAttributeKey].toLowerCase() === \"stylesheet\")) {\n primaryAttributeKey = lowerCaseAttributeKey;\n } // Special case for innerHTML which doesn't work lowercased\n\n\n if (primaryAttributes.indexOf(attributeKey) !== -1 && (attributeKey === TAG_PROPERTIES.INNER_HTML || attributeKey === TAG_PROPERTIES.CSS_TEXT || attributeKey === TAG_PROPERTIES.ITEM_PROP)) {\n primaryAttributeKey = attributeKey;\n }\n }\n\n if (!primaryAttributeKey || !tag[primaryAttributeKey]) {\n return false;\n }\n\n var value = tag[primaryAttributeKey].toLowerCase();\n\n if (!approvedSeenTags[primaryAttributeKey]) {\n approvedSeenTags[primaryAttributeKey] = {};\n }\n\n if (!instanceSeenTags[primaryAttributeKey]) {\n instanceSeenTags[primaryAttributeKey] = {};\n }\n\n if (!approvedSeenTags[primaryAttributeKey][value]) {\n instanceSeenTags[primaryAttributeKey][value] = true;\n return true;\n }\n\n return false;\n }).reverse().forEach(function (tag) {\n return approvedTags.push(tag);\n }); // Update seen tags with tags from this instance\n\n var keys = Object.keys(instanceSeenTags);\n\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var tagUnion = objectAssign({}, approvedSeenTags[attributeKey], instanceSeenTags[attributeKey]);\n approvedSeenTags[attributeKey] = tagUnion;\n }\n\n return approvedTags;\n }, []).reverse();\n};\n\nvar getInnermostProperty = function getInnermostProperty(propsList, property) {\n for (var i = propsList.length - 1; i >= 0; i--) {\n var props = propsList[i];\n\n if (props.hasOwnProperty(property)) {\n return props[property];\n }\n }\n\n return null;\n};\n\nvar reducePropsToState = function reducePropsToState(propsList) {\n return {\n baseTag: getBaseTagFromPropsList([TAG_PROPERTIES.HREF, TAG_PROPERTIES.TARGET], propsList),\n bodyAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.BODY, propsList),\n defer: getInnermostProperty(propsList, HELMET_PROPS.DEFER),\n encode: getInnermostProperty(propsList, HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),\n htmlAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.HTML, propsList),\n linkTags: getTagsFromPropsList(TAG_NAMES.LINK, [TAG_PROPERTIES.REL, TAG_PROPERTIES.HREF], propsList),\n metaTags: getTagsFromPropsList(TAG_NAMES.META, [TAG_PROPERTIES.NAME, TAG_PROPERTIES.CHARSET, TAG_PROPERTIES.HTTPEQUIV, TAG_PROPERTIES.PROPERTY, TAG_PROPERTIES.ITEM_PROP], propsList),\n noscriptTags: getTagsFromPropsList(TAG_NAMES.NOSCRIPT, [TAG_PROPERTIES.INNER_HTML], propsList),\n onChangeClientState: getOnChangeClientState(propsList),\n scriptTags: getTagsFromPropsList(TAG_NAMES.SCRIPT, [TAG_PROPERTIES.SRC, TAG_PROPERTIES.INNER_HTML], propsList),\n styleTags: getTagsFromPropsList(TAG_NAMES.STYLE, [TAG_PROPERTIES.CSS_TEXT], propsList),\n title: getTitleFromPropsList(propsList),\n titleAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.TITLE, propsList)\n };\n};\n\nvar rafPolyfill = function () {\n var clock = Date.now();\n return function (callback) {\n var currentTime = Date.now();\n\n if (currentTime - clock > 16) {\n clock = currentTime;\n callback(currentTime);\n } else {\n setTimeout(function () {\n rafPolyfill(callback);\n }, 0);\n }\n };\n}();\n\nvar cafPolyfill = function cafPolyfill(id) {\n return clearTimeout(id);\n};\n\nvar requestAnimationFrame = typeof window !== \"undefined\" ? window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || rafPolyfill : global.requestAnimationFrame || rafPolyfill;\nvar cancelAnimationFrame = typeof window !== \"undefined\" ? window.cancelAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || cafPolyfill : global.cancelAnimationFrame || cafPolyfill;\n\nvar warn = function warn(msg) {\n return console && typeof console.warn === \"function\" && console.warn(msg);\n};\n\nvar _helmetCallback = null;\n\nvar handleClientStateChange = function handleClientStateChange(newState) {\n if (_helmetCallback) {\n cancelAnimationFrame(_helmetCallback);\n }\n\n if (newState.defer) {\n _helmetCallback = requestAnimationFrame(function () {\n commitTagChanges(newState, function () {\n _helmetCallback = null;\n });\n });\n } else {\n commitTagChanges(newState);\n _helmetCallback = null;\n }\n};\n\nvar commitTagChanges = function commitTagChanges(newState, cb) {\n var baseTag = newState.baseTag,\n bodyAttributes = newState.bodyAttributes,\n htmlAttributes = newState.htmlAttributes,\n linkTags = newState.linkTags,\n metaTags = newState.metaTags,\n noscriptTags = newState.noscriptTags,\n onChangeClientState = newState.onChangeClientState,\n scriptTags = newState.scriptTags,\n styleTags = newState.styleTags,\n title = newState.title,\n titleAttributes = newState.titleAttributes;\n updateAttributes(TAG_NAMES.BODY, bodyAttributes);\n updateAttributes(TAG_NAMES.HTML, htmlAttributes);\n updateTitle(title, titleAttributes);\n var tagUpdates = {\n baseTag: updateTags(TAG_NAMES.BASE, baseTag),\n linkTags: updateTags(TAG_NAMES.LINK, linkTags),\n metaTags: updateTags(TAG_NAMES.META, metaTags),\n noscriptTags: updateTags(TAG_NAMES.NOSCRIPT, noscriptTags),\n scriptTags: updateTags(TAG_NAMES.SCRIPT, scriptTags),\n styleTags: updateTags(TAG_NAMES.STYLE, styleTags)\n };\n var addedTags = {};\n var removedTags = {};\n Object.keys(tagUpdates).forEach(function (tagType) {\n var _tagUpdates$tagType = tagUpdates[tagType],\n newTags = _tagUpdates$tagType.newTags,\n oldTags = _tagUpdates$tagType.oldTags;\n\n if (newTags.length) {\n addedTags[tagType] = newTags;\n }\n\n if (oldTags.length) {\n removedTags[tagType] = tagUpdates[tagType].oldTags;\n }\n });\n cb && cb();\n onChangeClientState(newState, addedTags, removedTags);\n};\n\nvar flattenArray = function flattenArray(possibleArray) {\n return Array.isArray(possibleArray) ? possibleArray.join(\"\") : possibleArray;\n};\n\nvar updateTitle = function updateTitle(title, attributes) {\n if (typeof title !== \"undefined\" && document.title !== title) {\n document.title = flattenArray(title);\n }\n\n updateAttributes(TAG_NAMES.TITLE, attributes);\n};\n\nvar updateAttributes = function updateAttributes(tagName, attributes) {\n var elementTag = document.getElementsByTagName(tagName)[0];\n\n if (!elementTag) {\n return;\n }\n\n var helmetAttributeString = elementTag.getAttribute(HELMET_ATTRIBUTE);\n var helmetAttributes = helmetAttributeString ? helmetAttributeString.split(\",\") : [];\n var attributesToRemove = [].concat(helmetAttributes);\n var attributeKeys = Object.keys(attributes);\n\n for (var i = 0; i < attributeKeys.length; i++) {\n var attribute = attributeKeys[i];\n var value = attributes[attribute] || \"\";\n\n if (elementTag.getAttribute(attribute) !== value) {\n elementTag.setAttribute(attribute, value);\n }\n\n if (helmetAttributes.indexOf(attribute) === -1) {\n helmetAttributes.push(attribute);\n }\n\n var indexToSave = attributesToRemove.indexOf(attribute);\n\n if (indexToSave !== -1) {\n attributesToRemove.splice(indexToSave, 1);\n }\n }\n\n for (var _i = attributesToRemove.length - 1; _i >= 0; _i--) {\n elementTag.removeAttribute(attributesToRemove[_i]);\n }\n\n if (helmetAttributes.length === attributesToRemove.length) {\n elementTag.removeAttribute(HELMET_ATTRIBUTE);\n } else if (elementTag.getAttribute(HELMET_ATTRIBUTE) !== attributeKeys.join(\",\")) {\n elementTag.setAttribute(HELMET_ATTRIBUTE, attributeKeys.join(\",\"));\n }\n};\n\nvar updateTags = function updateTags(type, tags) {\n var headElement = document.head || document.querySelector(TAG_NAMES.HEAD);\n var tagNodes = headElement.querySelectorAll(type + \"[\" + HELMET_ATTRIBUTE + \"]\");\n var oldTags = Array.prototype.slice.call(tagNodes);\n var newTags = [];\n var indexToDelete = void 0;\n\n if (tags && tags.length) {\n tags.forEach(function (tag) {\n var newElement = document.createElement(type);\n\n for (var attribute in tag) {\n if (tag.hasOwnProperty(attribute)) {\n if (attribute === TAG_PROPERTIES.INNER_HTML) {\n newElement.innerHTML = tag.innerHTML;\n } else if (attribute === TAG_PROPERTIES.CSS_TEXT) {\n if (newElement.styleSheet) {\n newElement.styleSheet.cssText = tag.cssText;\n } else {\n newElement.appendChild(document.createTextNode(tag.cssText));\n }\n } else {\n var value = typeof tag[attribute] === \"undefined\" ? \"\" : tag[attribute];\n newElement.setAttribute(attribute, value);\n }\n }\n }\n\n newElement.setAttribute(HELMET_ATTRIBUTE, \"true\"); // Remove a duplicate tag from domTagstoRemove, so it isn't cleared.\n\n if (oldTags.some(function (existingTag, index) {\n indexToDelete = index;\n return newElement.isEqualNode(existingTag);\n })) {\n oldTags.splice(indexToDelete, 1);\n } else {\n newTags.push(newElement);\n }\n });\n }\n\n oldTags.forEach(function (tag) {\n return tag.parentNode.removeChild(tag);\n });\n newTags.forEach(function (tag) {\n return headElement.appendChild(tag);\n });\n return {\n oldTags: oldTags,\n newTags: newTags\n };\n};\n\nvar generateElementAttributesAsString = function generateElementAttributesAsString(attributes) {\n return Object.keys(attributes).reduce(function (str, key) {\n var attr = typeof attributes[key] !== \"undefined\" ? key + \"=\\\"\" + attributes[key] + \"\\\"\" : \"\" + key;\n return str ? str + \" \" + attr : attr;\n }, \"\");\n};\n\nvar generateTitleAsString = function generateTitleAsString(type, title, attributes, encode) {\n var attributeString = generateElementAttributesAsString(attributes);\n var flattenedTitle = flattenArray(title);\n return attributeString ? \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\" \" + attributeString + \">\" + encodeSpecialCharacters(flattenedTitle, encode) + \"\" : \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\">\" + encodeSpecialCharacters(flattenedTitle, encode) + \"\";\n};\n\nvar generateTagsAsString = function generateTagsAsString(type, tags, encode) {\n return tags.reduce(function (str, tag) {\n var attributeHtml = Object.keys(tag).filter(function (attribute) {\n return !(attribute === TAG_PROPERTIES.INNER_HTML || attribute === TAG_PROPERTIES.CSS_TEXT);\n }).reduce(function (string, attribute) {\n var attr = typeof tag[attribute] === \"undefined\" ? attribute : attribute + \"=\\\"\" + encodeSpecialCharacters(tag[attribute], encode) + \"\\\"\";\n return string ? string + \" \" + attr : attr;\n }, \"\");\n var tagContent = tag.innerHTML || tag.cssText || \"\";\n var isSelfClosing = SELF_CLOSING_TAGS.indexOf(type) === -1;\n return str + \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\" \" + attributeHtml + (isSelfClosing ? \"/>\" : \">\" + tagContent + \"\");\n }, \"\");\n};\n\nvar convertElementAttributestoReactProps = function convertElementAttributestoReactProps(attributes) {\n var initProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return Object.keys(attributes).reduce(function (obj, key) {\n obj[REACT_TAG_MAP[key] || key] = attributes[key];\n return obj;\n }, initProps);\n};\n\nvar convertReactPropstoHtmlAttributes = function convertReactPropstoHtmlAttributes(props) {\n var initAttributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return Object.keys(props).reduce(function (obj, key) {\n obj[HTML_TAG_MAP[key] || key] = props[key];\n return obj;\n }, initAttributes);\n};\n\nvar generateTitleAsReactComponent = function generateTitleAsReactComponent(type, title, attributes) {\n var _initProps; // assigning into an array to define toString function on it\n\n\n var initProps = (_initProps = {\n key: title\n }, _initProps[HELMET_ATTRIBUTE] = true, _initProps);\n var props = convertElementAttributestoReactProps(attributes, initProps);\n return [React.createElement(TAG_NAMES.TITLE, props, title)];\n};\n\nvar generateTagsAsReactComponent = function generateTagsAsReactComponent(type, tags) {\n return tags.map(function (tag, i) {\n var _mappedTag;\n\n var mappedTag = (_mappedTag = {\n key: i\n }, _mappedTag[HELMET_ATTRIBUTE] = true, _mappedTag);\n Object.keys(tag).forEach(function (attribute) {\n var mappedAttribute = REACT_TAG_MAP[attribute] || attribute;\n\n if (mappedAttribute === TAG_PROPERTIES.INNER_HTML || mappedAttribute === TAG_PROPERTIES.CSS_TEXT) {\n var content = tag.innerHTML || tag.cssText;\n mappedTag.dangerouslySetInnerHTML = {\n __html: content\n };\n } else {\n mappedTag[mappedAttribute] = tag[attribute];\n }\n });\n return React.createElement(type, mappedTag);\n });\n};\n\nvar getMethodsForTag = function getMethodsForTag(type, tags, encode) {\n switch (type) {\n case TAG_NAMES.TITLE:\n return {\n toComponent: function toComponent() {\n return generateTitleAsReactComponent(type, tags.title, tags.titleAttributes, encode);\n },\n toString: function toString() {\n return generateTitleAsString(type, tags.title, tags.titleAttributes, encode);\n }\n };\n\n case ATTRIBUTE_NAMES.BODY:\n case ATTRIBUTE_NAMES.HTML:\n return {\n toComponent: function toComponent() {\n return convertElementAttributestoReactProps(tags);\n },\n toString: function toString() {\n return generateElementAttributesAsString(tags);\n }\n };\n\n default:\n return {\n toComponent: function toComponent() {\n return generateTagsAsReactComponent(type, tags);\n },\n toString: function toString() {\n return generateTagsAsString(type, tags, encode);\n }\n };\n }\n};\n\nvar mapStateOnServer = function mapStateOnServer(_ref) {\n var baseTag = _ref.baseTag,\n bodyAttributes = _ref.bodyAttributes,\n encode = _ref.encode,\n htmlAttributes = _ref.htmlAttributes,\n linkTags = _ref.linkTags,\n metaTags = _ref.metaTags,\n noscriptTags = _ref.noscriptTags,\n scriptTags = _ref.scriptTags,\n styleTags = _ref.styleTags,\n _ref$title = _ref.title,\n title = _ref$title === undefined ? \"\" : _ref$title,\n titleAttributes = _ref.titleAttributes;\n return {\n base: getMethodsForTag(TAG_NAMES.BASE, baseTag, encode),\n bodyAttributes: getMethodsForTag(ATTRIBUTE_NAMES.BODY, bodyAttributes, encode),\n htmlAttributes: getMethodsForTag(ATTRIBUTE_NAMES.HTML, htmlAttributes, encode),\n link: getMethodsForTag(TAG_NAMES.LINK, linkTags, encode),\n meta: getMethodsForTag(TAG_NAMES.META, metaTags, encode),\n noscript: getMethodsForTag(TAG_NAMES.NOSCRIPT, noscriptTags, encode),\n script: getMethodsForTag(TAG_NAMES.SCRIPT, scriptTags, encode),\n style: getMethodsForTag(TAG_NAMES.STYLE, styleTags, encode),\n title: getMethodsForTag(TAG_NAMES.TITLE, {\n title: title,\n titleAttributes: titleAttributes\n }, encode)\n };\n};\n\nvar Helmet = function Helmet(Component) {\n var _class, _temp;\n\n return _temp = _class = function (_React$Component) {\n inherits(HelmetWrapper, _React$Component);\n\n function HelmetWrapper() {\n classCallCheck(this, HelmetWrapper);\n return possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n }\n\n HelmetWrapper.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {\n return !isEqual(this.props, nextProps);\n };\n\n HelmetWrapper.prototype.mapNestedChildrenToProps = function mapNestedChildrenToProps(child, nestedChildren) {\n if (!nestedChildren) {\n return null;\n }\n\n switch (child.type) {\n case TAG_NAMES.SCRIPT:\n case TAG_NAMES.NOSCRIPT:\n return {\n innerHTML: nestedChildren\n };\n\n case TAG_NAMES.STYLE:\n return {\n cssText: nestedChildren\n };\n }\n\n throw new Error(\"<\" + child.type + \" /> elements are self-closing and can not contain children. Refer to our API for more information.\");\n };\n\n HelmetWrapper.prototype.flattenArrayTypeChildren = function flattenArrayTypeChildren(_ref) {\n var _babelHelpers$extends;\n\n var child = _ref.child,\n arrayTypeChildren = _ref.arrayTypeChildren,\n newChildProps = _ref.newChildProps,\n nestedChildren = _ref.nestedChildren;\n return _extends({}, arrayTypeChildren, (_babelHelpers$extends = {}, _babelHelpers$extends[child.type] = [].concat(arrayTypeChildren[child.type] || [], [_extends({}, newChildProps, this.mapNestedChildrenToProps(child, nestedChildren))]), _babelHelpers$extends));\n };\n\n HelmetWrapper.prototype.mapObjectTypeChildren = function mapObjectTypeChildren(_ref2) {\n var _babelHelpers$extends2, _babelHelpers$extends3;\n\n var child = _ref2.child,\n newProps = _ref2.newProps,\n newChildProps = _ref2.newChildProps,\n nestedChildren = _ref2.nestedChildren;\n\n switch (child.type) {\n case TAG_NAMES.TITLE:\n return _extends({}, newProps, (_babelHelpers$extends2 = {}, _babelHelpers$extends2[child.type] = nestedChildren, _babelHelpers$extends2.titleAttributes = _extends({}, newChildProps), _babelHelpers$extends2));\n\n case TAG_NAMES.BODY:\n return _extends({}, newProps, {\n bodyAttributes: _extends({}, newChildProps)\n });\n\n case TAG_NAMES.HTML:\n return _extends({}, newProps, {\n htmlAttributes: _extends({}, newChildProps)\n });\n }\n\n return _extends({}, newProps, (_babelHelpers$extends3 = {}, _babelHelpers$extends3[child.type] = _extends({}, newChildProps), _babelHelpers$extends3));\n };\n\n HelmetWrapper.prototype.mapArrayTypeChildrenToProps = function mapArrayTypeChildrenToProps(arrayTypeChildren, newProps) {\n var newFlattenedProps = _extends({}, newProps);\n\n Object.keys(arrayTypeChildren).forEach(function (arrayChildName) {\n var _babelHelpers$extends4;\n\n newFlattenedProps = _extends({}, newFlattenedProps, (_babelHelpers$extends4 = {}, _babelHelpers$extends4[arrayChildName] = arrayTypeChildren[arrayChildName], _babelHelpers$extends4));\n });\n return newFlattenedProps;\n };\n\n HelmetWrapper.prototype.warnOnInvalidChildren = function warnOnInvalidChildren(child, nestedChildren) {\n if (process.env.NODE_ENV !== \"production\") {\n if (!VALID_TAG_NAMES.some(function (name) {\n return child.type === name;\n })) {\n if (typeof child.type === \"function\") {\n return warn(\"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.\");\n }\n\n return warn(\"Only elements types \" + VALID_TAG_NAMES.join(\", \") + \" are allowed. Helmet does not support rendering <\" + child.type + \"> elements. Refer to our API for more information.\");\n }\n\n if (nestedChildren && typeof nestedChildren !== \"string\" && (!Array.isArray(nestedChildren) || nestedChildren.some(function (nestedChild) {\n return typeof nestedChild !== \"string\";\n }))) {\n throw new Error(\"Helmet expects a string as a child of <\" + child.type + \">. Did you forget to wrap your children in braces? ( <\" + child.type + \">{``} ) Refer to our API for more information.\");\n }\n }\n\n return true;\n };\n\n HelmetWrapper.prototype.mapChildrenToProps = function mapChildrenToProps(children, newProps) {\n var _this2 = this;\n\n var arrayTypeChildren = {};\n React.Children.forEach(children, function (child) {\n if (!child || !child.props) {\n return;\n }\n\n var _child$props = child.props,\n nestedChildren = _child$props.children,\n childProps = objectWithoutProperties(_child$props, [\"children\"]);\n var newChildProps = convertReactPropstoHtmlAttributes(childProps);\n\n _this2.warnOnInvalidChildren(child, nestedChildren);\n\n switch (child.type) {\n case TAG_NAMES.LINK:\n case TAG_NAMES.META:\n case TAG_NAMES.NOSCRIPT:\n case TAG_NAMES.SCRIPT:\n case TAG_NAMES.STYLE:\n arrayTypeChildren = _this2.flattenArrayTypeChildren({\n child: child,\n arrayTypeChildren: arrayTypeChildren,\n newChildProps: newChildProps,\n nestedChildren: nestedChildren\n });\n break;\n\n default:\n newProps = _this2.mapObjectTypeChildren({\n child: child,\n newProps: newProps,\n newChildProps: newChildProps,\n nestedChildren: nestedChildren\n });\n break;\n }\n });\n newProps = this.mapArrayTypeChildrenToProps(arrayTypeChildren, newProps);\n return newProps;\n };\n\n HelmetWrapper.prototype.render = function render() {\n var _props = this.props,\n children = _props.children,\n props = objectWithoutProperties(_props, [\"children\"]);\n\n var newProps = _extends({}, props);\n\n if (children) {\n newProps = this.mapChildrenToProps(children, newProps);\n }\n\n return React.createElement(Component, newProps);\n };\n\n createClass(HelmetWrapper, null, [{\n key: \"canUseDOM\",\n // Component.peek comes from react-side-effect:\n // For testing, you may use a static peek() method available on the returned component.\n // It lets you get the current state without resetting the mounted instance stack.\n // Don’t use it for anything other than testing.\n\n /**\n * @param {Object} base: {\"target\": \"_blank\", \"href\": \"http://mysite.com/\"}\n * @param {Object} bodyAttributes: {\"className\": \"root\"}\n * @param {String} defaultTitle: \"Default Title\"\n * @param {Boolean} defer: true\n * @param {Boolean} encodeSpecialCharacters: true\n * @param {Object} htmlAttributes: {\"lang\": \"en\", \"amp\": undefined}\n * @param {Array} link: [{\"rel\": \"canonical\", \"href\": \"http://mysite.com/example\"}]\n * @param {Array} meta: [{\"name\": \"description\", \"content\": \"Test description\"}]\n * @param {Array} noscript: [{\"innerHTML\": \" console.log(newState)\"\n * @param {Array} script: [{\"type\": \"text/javascript\", \"src\": \"http://mysite.com/js/test.js\"}]\n * @param {Array} style: [{\"type\": \"text/css\", \"cssText\": \"div { display: block; color: blue; }\"}]\n * @param {String} title: \"Title\"\n * @param {Object} titleAttributes: {\"itemprop\": \"name\"}\n * @param {String} titleTemplate: \"MySite.com - %s\"\n */\n set: function set$$1(canUseDOM) {\n Component.canUseDOM = canUseDOM;\n }\n }]);\n return HelmetWrapper;\n }(React.Component), _class.propTypes = {\n base: PropTypes.object,\n bodyAttributes: PropTypes.object,\n children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),\n defaultTitle: PropTypes.string,\n defer: PropTypes.bool,\n encodeSpecialCharacters: PropTypes.bool,\n htmlAttributes: PropTypes.object,\n link: PropTypes.arrayOf(PropTypes.object),\n meta: PropTypes.arrayOf(PropTypes.object),\n noscript: PropTypes.arrayOf(PropTypes.object),\n onChangeClientState: PropTypes.func,\n script: PropTypes.arrayOf(PropTypes.object),\n style: PropTypes.arrayOf(PropTypes.object),\n title: PropTypes.string,\n titleAttributes: PropTypes.object,\n titleTemplate: PropTypes.string\n }, _class.defaultProps = {\n defer: true,\n encodeSpecialCharacters: true\n }, _class.peek = Component.peek, _class.rewind = function () {\n var mappedState = Component.rewind();\n\n if (!mappedState) {\n // provide fallback if mappedState is undefined\n mappedState = mapStateOnServer({\n baseTag: [],\n bodyAttributes: {},\n encodeSpecialCharacters: true,\n htmlAttributes: {},\n linkTags: [],\n metaTags: [],\n noscriptTags: [],\n scriptTags: [],\n styleTags: [],\n title: \"\",\n titleAttributes: {}\n });\n }\n\n return mappedState;\n }, _temp;\n};\n\nvar NullComponent = function NullComponent() {\n return null;\n};\n\nvar HelmetSideEffects = withSideEffect(reducePropsToState, handleClientStateChange, mapStateOnServer)(NullComponent);\nvar HelmetExport = Helmet(HelmetSideEffects);\nHelmetExport.renderStatic = HelmetExport.rewind;\nexport default HelmetExport;\nexport { HelmetExport as Helmet };","export default __webpack_public_path__ + \"static/Bembo-47ce1aa40de37fbf647dc1a4c0ba216a.woff\";","export default __webpack_public_path__ + \"static/Bembo-47a3d11abc71b24e953f46fcdbbe5361.woff2\";","export default __webpack_public_path__ + \"static/EFCircularWeb-Bold-35ca6bfd993652e6dc850a66ea8e4d2f.woff\";","export default __webpack_public_path__ + \"static/EFCircularWeb-Bold-692c900d119e0bf8589ac324f9517479.woff2\";","export default __webpack_public_path__ + \"static/EFCircularWeb-Book-2196f44a639a45b3d7d9148731cbab58.woff\";","export default __webpack_public_path__ + \"static/EFCircularWeb-Book-907054a8796e4ba15002f1c09af4d16e.woff2\";","export default __webpack_public_path__ + \"static/EFCircularWeb-BookItalic-c67f723e869dfc8af89a4a4bf0fa5263.woff\";","export default __webpack_public_path__ + \"static/EFCircularWeb-BookItalic-58274d7cd81a800dba88419ee9349739.woff2\";","export default __webpack_public_path__ + \"static/EFCircularWeb-Medium-8786967bfbdc65fa7824364a3fafed81.woff\";","export default __webpack_public_path__ + \"static/EFCircularWeb-Medium-d8d4be4c9b519c6251c542d10fc33188.woff2\";","export default __webpack_public_path__ + \"static/EFCircularWeb-MediumItalic-bc6236adced945151e64e905997cedb3.woff\";","export default __webpack_public_path__ + \"static/EFCircularWeb-MediumItalic-afa7dc71f894ece5ddb2846eb1f365f8.woff2\";","import { createGlobalStyle } from \"styled-components\";\n\nimport BemboWoff from \"../fonts/Bembo.woff\";\nimport BemboWoff2 from \"../fonts/Bembo.woff2\";\nimport EFCircularWebBoldWoff from \"../fonts/EFCircularWeb-Bold.woff\";\nimport EFCircularWebBoldWoff2 from \"../fonts/EFCircularWeb-Bold.woff2\";\nimport EFCircularWebBookWoff from \"../fonts/EFCircularWeb-Book.woff\";\nimport EFCircularWebBookWoff2 from \"../fonts/EFCircularWeb-Book.woff2\";\nimport EFCircularWebBookItalicWoff from \"../fonts/EFCircularWeb-BookItalic.woff\";\nimport EFCircularWebBookItalicWoff2 from \"../fonts/EFCircularWeb-BookItalic.woff2\";\nimport EFCircularWebMediumWoff from \"../fonts/EFCircularWeb-Medium.woff\";\nimport EFCircularWebMediumWoff2 from \"../fonts/EFCircularWeb-Medium.woff2\";\nimport EFCircularWebMediumItalicWoff from \"../fonts/EFCircularWeb-MediumItalic.woff\";\nimport EFCircularWebMediumItalicWoff2 from \"../fonts/EFCircularWeb-MediumItalic.woff2\";\n\nexport const GlobalStyle = createGlobalStyle`\n * {\n outline: none;\n box-sizing: border-box;\n }\n html, body {\n margin: 0;\n overflow-x: hidden;\n background: ${(props) => props.theme.colors.beige};\n }\n @font-face {\n font-family: ${(props) => props.theme.fonts.circularBook};\n src: url(${EFCircularWebBookWoff2}) format('woff2'),\n url(${EFCircularWebBookWoff}) format('woff');\n }\n @font-face {\n font-family: ${(props) => props.theme.fonts.circularBookItalic};\n src: url(${EFCircularWebBookItalicWoff2}) format('woff2'),\n url(${EFCircularWebBookItalicWoff}) format('woff');\n }\n @font-face {\n font-family: ${(props) => props.theme.fonts.circularMedium};\n src: url(${EFCircularWebMediumWoff2}) format('woff2'),\n url(${EFCircularWebMediumWoff}) format('woff');\n }\n @font-face {\n font-family: ${(props) => props.theme.fonts.circularMediumItalic};\n src: url(${EFCircularWebMediumItalicWoff2}) format('woff2'),\n url(${EFCircularWebMediumItalicWoff}) format('woff');\n }\n @font-face {\n font-family: ${(props) => props.theme.fonts.circularBold};\n src: url(${EFCircularWebBoldWoff2}) format('woff2'),\n url(${EFCircularWebBoldWoff}) format('woff');\n }\n @font-face {\n font-family: ${(props) => props.theme.fonts.bembo};\n src: url(${BemboWoff2}) format('woff2'),\n url(${BemboWoff}) format('woff');\n }\n\n\n h1, h2, h3, h4, p, ul, li, b, a, label {\n margin: 0;\n padding: 0;\n font-weight: normal;\n }\n h1{\n font-size: 64px;\n line-height: 68px;\n margin: 16px 0;\n font-family: ${(props) => props.theme.fonts.circularBold};\n color: ${(props) => props.theme.colors.darkBlue};\n }\n h2{\n font-size: 32px;\n line-height: 36px;\n margin: 16px 0;\n font-family: ${(props) => props.theme.fonts.bembo};\n text-transform: uppercase;\n color: ${(props) => props.theme.colors.darkBlue};\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n font-size: 28px;\n line-height: 32px;\n }\n }\n h3{\n font-size: 24px;\n line-height: 28px;\n margin: 16px 0;\n font-family: ${(props) => props.theme.fonts.circularMedium};\n color: ${(props) => props.theme.colors.darkBlue};\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n font-size: 18px;\n line-height: 22px;\n }\n }\n p {\n font-size: 16px;\n line-height: 26px;\n margin: 16px 0;\n font-family: ${(props) => props.theme.fonts.circularBook};\n color: ${(props) => props.theme.colors.darkBlueLighter};\n max-width: 53em;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n font-size: 14px;\n line-height: 24px;\n }\n }\n b{\n font-family: ${(props) => props.theme.fonts.circularMedium};\n color: ${(props) => props.theme.colors.darkBlue};\n\n & i{\n font-family: ${(props) => props.theme.fonts.circularMediumItalic};\n }\n }\n a{\n text-decoration: underline;\n /* color: ${(props) => props.theme.colors.darkBlue}; */\n }\n i{\n font-family: ${(props) => props.theme.fonts.circularBookItalic};\n }\n section{\n\n }\n`;\n","const variables = {\n colors: {\n white: \"white\",\n darkBlue: \"#16222D\",\n darkBlueLighter: \"#414A53\",\n darkBlue20: \"rgba(22,34,45,0.2)\",\n darkBlue40: \"rgba(22,34,45,0.4)\",\n darkBlue60: \"rgba(22,34,45,0.6)\",\n darkBlue80: \"rgba(22,34,45,0.8)\",\n lightBlue: \"#E7EEF1\",\n lightGrey: \"#CFD6DD\",\n grey: \"#D9D9D1\",\n error: \"#DD2144\",\n beige: \"#F2EBDE\",\n silver: \"#D6DCD8\",\n black: \"#191919\",\n },\n breakPoints: {\n widest: \"1920px\",\n wide: \"1440px\",\n desktop: \"1024px\",\n tablet: \"768px\",\n mobile: \"414px\",\n navbarBreak: \"1270px\",\n },\n fonts: {\n circularBook: \"EFCircularWebBook\",\n circularBookItalic: \"EFCircularWebBookItalic\",\n circularMedium: \"EFCircularWebMedium\",\n circularMediumItalic: \"EFCircularWebMediumItalic\",\n circularBold: \"EFCircularWebBold\",\n bembo: \"Bembo\",\n efCircularMedium: \"EFCircularMedium\",\n },\n maxWidth: \"896px\",\n};\n\nconst mixins = {\n mixins: {\n container: `\n width: 100%;\n margin: 0 auto;\n max-width: ${variables.breakPoints.wide};\n @media (min-width: ${variables.breakPoints.desktop}) {\n padding-left: 32px;\n padding-right: 32px;\n }\n @media (max-width: ${variables.breakPoints.desktop}) {\n padding-left: 24px;\n padding-right: 24px;\n }\n `,\n },\n};\n\nconst theme = { ...variables, ...mixins };\n\nexport { theme };\n","import { sbLinkType } from \"./types\";\n\nexport const getUrl = (link: sbLinkType) => {\n if (link.cached_url && link.linktype === \"url\") {\n return link.cached_url.charAt(link.cached_url.length - 1) === \"/\"\n ? link.cached_url.substring(0, link.cached_url.length - 1)\n : link.cached_url;\n }\n\n if (link.url || link.cached_url) {\n const correctUrl = link.url ? link.url : `/${link.cached_url}`;\n\n return addTrailingSlash(correctUrl);\n } else {\n return undefined;\n }\n};\n\nexport const getKey = (prefix: string, identifier: number | string) => {\n return `${prefix}-${identifier}`;\n};\n\nexport const addTrailingSlash = (\n input: string | undefined\n): string | undefined => {\n if (input === undefined) return;\n\n return input.charAt(input.length - 1) === \"/\" ? input : input + \"/\";\n};\n","import styled from \"styled-components\";\n\nexport interface StyledButtonProps {\n variant?: string;\n mini?: boolean;\n}\n\nexport const StyledButton = styled.button`\n text-transform: uppercase;\n font-size: 16px;\n line-height: 20px;\n text-decoration: none;\n display: inline-flex;\n align-items: center;\n border: 0;\n font-family: ${(props) => props.theme.fonts.circularMedium};\n padding: 12px 16px;\n cursor: pointer;\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n font-size: 14px;\n line-height: 18px;\n }\n\n ${(props) =>\n props.variant === \"primary\" &&\n `\n background: ${props.theme.colors.darkBlue};\n color: ${props.theme.colors.white};\n `}\n ${(props) =>\n props.variant === \"secondary\" &&\n `\n background: ${props.theme.colors.white};\n color: ${props.theme.colors.darkBlue};\n `}\n ${(props) =>\n props.variant === \"grey\" &&\n `\n background: ${props.theme.colors.grey};\n color: ${props.theme.colors.darkBlue};\n `}\n ${(props) =>\n props.variant === \"text-only\" &&\n `\n padding: 0;\n color: ${props.theme.colors.darkBlue};\n `}\n\n ${(props) =>\n props.mini &&\n `\n font-size: 14px;\n line-height: 18px;\n padding: 8px 12px;\n @media (max-width: ${props.theme.breakPoints.tablet}) {\n font-size: 12px;\n line-height: 16px;\n }\n `}\n\n & svg {\n margin-left: 16px;\n }\n`;\n\nexport const StyledLink = styled.a`\n text-decoration: none;\n`;\n","import React from \"react\";\n\nimport DynamicComponent from \"..\";\nimport { getUrl } from \"../../utils/helpers\";\nimport { sbLinkType } from \"../../utils/types\";\nimport { StyledButton, StyledLink } from \"./styles\";\n\nexport interface ButtonProps {\n label?: string;\n url?: sbLinkType;\n icon?: Array;\n variant?: string;\n mini?: boolean;\n onClick?: any;\n type?: \"button\" | \"reset\" | \"submit\";\n}\n\nexport const ButtonCmp: React.FC = ({\n label,\n url,\n icon,\n variant,\n onClick,\n mini,\n type = \"button\",\n}) => {\n function handleHref(url) {\n if (typeof window !== \"undefined\" && url) {\n window.location.href = getUrl(url);\n }\n }\n\n function handleClick() {\n if (onClick) {\n onClick();\n }\n }\n\n return (\n \n handleHref(url) : handleClick}\n variant={variant}\n mini={mini}\n >\n {label}\n {icon &&\n icon.map((item) => )}\n \n \n );\n};\n\nexport default ButtonCmp;\n","import * as React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { ButtonCmp, ButtonProps } from \"./button\";\n\ninterface ButtonWrapperProps {\n blok: ButtonProps & blokType;\n onClick: any\n}\n\nconst Button: React.FC = ({ blok, onClick }) => (\n \n);\n\nexport default Button;\n","import styled from \"styled-components\";\n\nexport interface StyledEventCardsProps {\n column_count?: number;\n}\n\nexport const StyledEventSection = styled.section`\n width: 100%;\n background: ${(props) => props.theme.colors.beige};\n padding: 48px 0;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n padding: 32px 0;\n }\n`;\n\nexport const StyledContainer = styled.div`\n ${(props) => props.theme.mixins.container}\n display: flex;\n flex-direction: column;\n gap: 32px;\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n gap: 24px;\n }\n`;\n\nexport const StyledTitle = styled.h2`\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n justify-content: center;\n border-bottom: none;\n margin: 0;\n`;\n\nexport const StyledEventCards = styled.div`\n display: grid;\n grid-template-columns: repeat(${(props) => props.column_count}, 25%);\n justify-content: center;\n gap: 8px;\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n grid-template-columns: repeat(2, 50%);\n grid-column-gap: 8px;\n grid-row-gap: 16px;\n }\n @media (max-width: ${(props) => props.theme.breakPoints.mobile}) {\n grid-template-columns: repeat(1, 100%);\n grid-column-gap: 8px;\n grid-row-gap: 16px;\n }\n`;\n\nexport const StyledButton = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n","import * as React from \"react\";\nimport {\n StyledEventSection,\n StyledContainer,\n StyledTitle,\n StyledEventCards,\n StyledButton,\n} from \"./styles\";\nimport DynamicComponent from \"..\";\n\nexport interface EventSectionProps {\n title?: string;\n event_cards?: Array;\n button?: Array;\n}\n\nexport const EventSectionCmp: React.FC = ({\n title,\n event_cards,\n button,\n}) => {\n return (\n \n \n {title && {title}}\n {event_cards && (\n \n {event_cards.map((item) => ( \n \n ))}\n \n )}\n \n {button &&\n button.map((item) => (\n \n ))}\n \n \n \n );\n};\n\nexport default EventSectionCmp;\n","import * as React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { EventSectionCmp, EventSectionProps } from \"./event-section\";\n\ninterface EventSectionWrapperProps {\n blok: EventSectionProps & blokType;\n}\n\nconst EventSection: React.FC = ({ blok }) => (\n \n);\n\nexport default EventSection;\n","export default function sbImageService(\r\n imageSrc: string,\r\n resize = \"\",\r\n quality = 90,\r\n format?: string\r\n) {\r\n if (imageSrc && !isSvg(imageSrc) && imageSrc.includes(\"//a.storyblok.com\")) {\r\n const imgUrl = format\r\n ? `img2.storyblok.com/${resize}/filters:quality(${quality}):format(${format})`\r\n : `img2.storyblok.com/${resize}/filters:quality(${quality})`;\r\n\r\n return imageSrc.replace(\"a.storyblok.com\", imgUrl);\r\n }\r\n\r\n return imageSrc;\r\n}\r\n\r\nexport function isSvg(imageSrc: string) {\r\n if (imageSrc) return imageSrc.endsWith(\".svg\");\r\n return false;\r\n}\r\n","import styled from \"styled-components\";\n\nexport interface StyledImageProps {\n mobile?: boolean;\n}\n\nexport const StyledEventCardLink = styled.a`\n text-decoration: none;\n`;\n\nexport const StyledEventCard = styled.div`\n display: flex;\n flex-direction: column;\n position: relative;\n`;\n\nexport const StyledImage = styled.img`\n width: 100%;\n aspect-ratio: 5 / 4;\n object-fit: cover;\n\n ${(props) =>\n props.mobile\n ? `\n @media (min-width: ${props.theme.breakPoints.tablet}) {\n display: none;\n }\n @media (max-width: ${props.theme.breakPoints.tablet}) {\n display: block;\n }\n `\n : `\n @media (min-width: ${props.theme.breakPoints.tablet}) {\n display: block;\n }\n @media (max-width: ${props.theme.breakPoints.tablet}) {\n display: none;\n }\n `}\n`;\n\nexport const StyledCardTitle = styled.p`\n text-transform: uppercase;\n margin: 8px 0 0;\n color: ${(props) => props.theme.colors.darkBlue};\n font-size: 16px;\n line-height: 20px;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n font-size: 14px;\n line-height: 18px;\n }\n`;\n","import * as React from \"react\";\n\nimport { getUrl } from \"../../../utils/helpers\";\nimport sbImageService from \"../../../utils/sbImage\";\nimport { sbAssetType, sbLinkType } from \"../../../utils/types\";\nimport {\n StyledCardTitle,\n StyledEventCard,\n StyledEventCardLink,\n StyledImage,\n} from \"./styles\";\n\nexport interface EventCardProps {\n image?: sbAssetType;\n image_mobile?: sbAssetType;\n text?: string;\n link: sbLinkType;\n}\n\nexport const EventCardCmp: React.FC = ({\n image,\n image_mobile,\n text,\n link,\n}) => {\n return (\n \n \n {image && image.filename !== null && (\n \n )}\n {image_mobile && image_mobile.filename !== null && (\n \n )}\n {text && text}\n \n \n );\n};\n\nexport default EventCardCmp;\n","import * as React from \"react\";\nimport { blokType } from \"../../../utils/types\";\nimport { EventCardCmp, EventCardProps } from \"./event-card\";\n\ninterface EventCardWrapperProps {\n blok: EventCardProps & blokType;\n}\n\nconst EventCard: React.FC = ({ blok }) => (\n \n);\n\nexport default EventCard;\n","import styled from \"styled-components\";\n\nexport const StyledIcon = styled.i`\n /* @media (min-width: ${props => props.theme.breakPoints.tablet}) {\n font-size: 18px;\n }\n @media (max-width: ${props => props.theme.breakPoints.tablet}) {\n font-size: 16px;\n } */\n`;\n","import styled from \"styled-components\";\n\nexport const StyledLink = styled.a``;\n\nexport const StyledLabel = styled.div`\n font-family: ${(props) => props.theme.fonts.circularBook};\n font-size: 14px;\n line-height: 18px;\n cursor: pointer;\n display: block;\n white-space: nowrap;\n text-decoration: none;\n`;\n","import styled from \"styled-components\";\nimport { StyledButton } from \"../../button/styles\";\nimport { StyledIcon } from \"../../icon/styles\";\nimport { StyledLink, StyledLabel } from \"../../link/styles\";\n\nexport const StyledFooter = styled.div`\n width: 100vw;\n background: white;\n margin-top: 64px;\n @media (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n margin-top: 48px;\n }\n`;\n\nexport const StyledFooterContainer = styled.div`\n ${(props) => props.theme.mixins.container}\n color: ${(props) => props.theme.colors.darkBlue};\n font-family: ${(props) => props.theme.fonts.circularBook};\n display: flex;\n justify-content: space-between;\n\n @media (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n gap: 32px;\n flex-direction: column;\n }\n`;\n\nexport const StyledContactStripWrapper = styled.div`\n width: 100%;\n margin-bottom: 32px;\n border-top: 1px solid #707070;\n border-bottom: 1px solid #707070;\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n padding: 16px 24px;\n }\n`;\n\nexport const StyledContactStrip = styled.div`\n display: flex;\n margin: 0 auto;\n width: 556px;\n align-items: center;\n\n p {\n font-size: 13px;\n }\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n flex-direction: column;\n width: 100%;\n align-items: flex-start;\n\n & p {\n margin: 0px 0;\n }\n }\n`;\n\nexport const StyledContactTitle = styled.p`\n flex: 1;\n`;\n\nexport const StyledContactButtons = styled.div`\n display: flex;\n flex: 3;\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n flex: 1;\n flex-direction: column;\n margin-top: 16px;\n width: 100%;\n gap: 8px;\n }\n`;\n\nexport const StyledContactButton = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n flex: 1;\n\n & svg {\n padding-right: 8px;\n }\n\n & ${StyledIcon}, p {\n :hover {\n cursor: pointer;\n }\n }\n\n @media screen and (max-width: ${props => props.theme.breakPoints.desktop}) {\n justify-content: flex-start;\n }\n`;\n\nexport const StyledFooterEdge = styled.div`\n display: flex;\n flex-direction: column;\n\n @media (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n width: 100%;\n }\n`;\n\nexport const StyledFooterLeft = styled(StyledFooterEdge)`\n width: 19vw;\n position: absolute;\n\n @media screen and (min-width: ${props => props.theme.breakPoints.wide}) {\n width: 340px;\n }\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n position: relative;\n width: 40%;\n }\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n width: 60%;\n }\n`;\n\nexport const StyledFooterCenter = styled.div`\n display: flex;\n gap: 50px;\n width: 556px;\n margin: 0 auto;\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n flex-direction: column-reverse;\n width: 100%;\n gap: 32px;\n }\n`;\n\nexport const StyledColumn = styled.div`\n width: 200px;\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n width: 100%;\n }\n`;\n\nexport const StyledTitle = styled.div`\n font-size: 13px;\n line-height: 20px;\n color: #122834;\n margin-bottom: 16px;\n`;\n\nexport const StyledInput = styled.div`\n position: relative;\n\n /* replace with cmp */\n input {\n width: 100%;\n height: 40px;\n border: ${(props) => props.theme.colors.darkBlue} 1px solid;\n border-radius: 4px;\n }\n`;\n\nexport const StyledInputIconContainer = styled.div`\n /* replace with cmp */\n position: absolute;\n right: 0;\n top: 0;\n height: 100%;\n width: 40px;\n background: ${(props) => props.theme.colors.darkBlue};\n border-radius: 0 4px 4px 0;\n cursor: pointer;\n`;\n\nexport const StyledInputIcon = styled.div`\n /* replace with cmp */\n color: ${(props) => props.theme.colors.white};\n display: flex;\n height: 100%;\n align-items: center;\n justify-content: center;\n`;\n\nexport const StyledSocialMedia = styled.div``;\n\nexport const StyledIcons = styled.div`\n display: flex;\n gap: 0 16px;\n\n @media screen and (max-width: ${props => props.theme.breakPoints.tablet}) {\n gap: 0 32px;\n\n & svg {\n height: 32px;\n }\n }\n`;\n\nexport const StyledLinks = styled.div`\n display: flex;\n flex-direction: column;\n text-decoration: none;\n white-space: normal !important;\n\n & ${StyledLink} {\n margin-bottom: 8px;\n color: ${(props) => props.theme.colors.darkBlue80};\n\n &:nth-last-of-type(1) {\n margin-bottom: 0;\n }\n & ${StyledLabel} {\n white-space: normal;\n }\n }\n`;\n\nexport const StyledContactUsContainer = styled.div`\n @media (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n margin-top: 32px;\n }\n`;\n\nexport const StyledContactUsInfo = styled.div`\n display: flex;\n flex-direction: column;\n height: 100%;\n\n p {\n font-size: 14px;\n line-height: 18px;\n color: ${(props) => props.theme.colors.darkBlue80};\n }\n`;\n\nexport const StyledFindUsButtonWrapper = styled.div`\n justify-self: flex-end;\n flex: 1;\n display: flex;\n\n & ${StyledButton} {\n width: 80px;\n height: 35px;\n align-self: flex-end;\n\n @media screen and (max-width: ${(props) =>\n props.theme.breakPoints.desktop}) {\n margin-top: 12px;\n }\n }\n`;\n\nexport const StyledFollowUsWrapper = styled.div``;\n\nexport const StyledSubscribe = styled.div`\n margin-bottom: 32px;\n @media (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n margin-bottom: 24px;\n }\n`;\n\nexport const StyledLogo = styled.div`\n max-width: 60px;\n & img {\n width: 100%;\n display: block;\n }\n`;\n\nexport const StyledLegal = styled.div`\n padding: 22px 0;\n margin-top: 32px;\n width: 100%;\n border-top: 1px solid #707070;\n @media (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n padding-top: 24px;\n margin-top: 24px;\n }\n\n & p {\n margin: 0;\n font-size: 14px;\n line-height: 18px;\n color: color: #122834;\n }\n`;\n","import styled from \"styled-components\";\n\nexport const StyledRichText = styled.div`\n .bold {\n font-family: ${(props) => props.theme.fonts.circularMedium};\n }\n\n .italic {\n font-family: ${(props) => props.theme.fonts.circularBookItalic};\n }\n\n .bold.italic {\n font-family: ${(props) => props.theme.fonts.circularMediumItalic};\n }\n\n .underline {\n text-decoration: underline;\n }\n\n & a {\n color: ${(props) => props.theme.colors.darkBlueLighter};\n }\n\n & h3 {\n font-family: ${(props) => props.theme.fonts.bembo};\n text-transform: uppercase;\n margin-top: 42px;\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n margin-top: 32px;\n }\n }\n\n & h3:first-child {\n margin-top: 16px;\n }\n\n & p {\n margin: 8px 0;\n }\n`;\n\nexport const RichTextWrapper = styled.div``;\n","import React, { useState } from \"react\";\nimport { RichTextWrapper, StyledRichText } from \"./styles\";\nimport DynamicComponent from \"..\";\n\nexport interface RichTextProps {\n copy?: Array;\n}\n\nexport const RichTextCmp: React.FC = ({ copy }) => {\n return (\n \n {copy &&\n copy.content?.map((i, index) => (\n \n {i.type === \"heading\" && (\n

\n {i.content &&\n i.content?.map((e) => {\n return {e.text};\n })}\n

\n )}\n {i.type === \"paragraph\" && (\n

\n {i.content &&\n i.content?.map((e, index) => {\n const marks = [];\n e.marks &&\n e.marks.map((m) => {\n marks.push(m.type);\n });\n const marks_string = JSON.stringify(marks)\n .replace(/['\"]+/g, \"\")\n .replace(/[\\[\\]']+/g, \"\")\n .replace(/,/g, \" \")\n .replace(/link/g, \"\");\n if (marks.includes(\"link\")) {\n return (\n \n {e.text}\n \n );\n }\n return {e.text};\n })}\n

\n )}\n {i.type === \"blok\" && (\n <>\n {i.attrs &&\n i.attrs.body?.map((b) => )}\n \n )}\n
\n ))}\n
\n );\n};\n\nexport default RichTextCmp;\n","import * as React from \"react\";\nimport { StyledIcon } from \"./styles\";\n\nexport interface IconProps {\n icon?: string\n variant?: string\n}\n\nexport const IconCmp: React.FC = ({\n icon,\n variant = \"regular\"\n}) => (\n \n);\n\nexport default IconCmp","import * as React from \"react\";\nimport {\n StyledFooter,\n StyledFooterContainer,\n StyledFooterLeft,\n StyledSubscribe,\n StyledTitle,\n StyledInput,\n StyledInputIconContainer,\n StyledInputIcon,\n StyledIcons,\n StyledLinks,\n StyledColumn,\n StyledContactUsInfo,\n StyledLogo,\n StyledLegal,\n StyledFooterEdge,\n StyledFooterCenter,\n StyledFindUsButtonWrapper,\n StyledContactStripWrapper,\n StyledContactStrip,\n StyledContactTitle,\n StyledContactButtons,\n StyledContactButton,\n} from \"./partials/styled-footer\";\nimport RichTextCmp from \"../rich-text/rich-text\";\nimport DynamicComponent from \"..\";\nimport IconCmp from \"../icon/icon\";\nimport { sbAssetType } from \"../../utils/types\";\nimport sbImageService from \"../../utils/sbImage\";\nimport ButtonCmp, { ButtonProps } from \"../button/button\";\n\nexport interface FooterProps {\n subscribe?: boolean;\n social_media_icons?: Array;\n links?: Array;\n contact_number: string;\n contact_email: string;\n address_info?: any;\n find_us_button?: ButtonProps;\n onClick?: any;\n logo: sbAssetType;\n legal: Array;\n button: Array;\n}\n\nexport const FooterCmp: React.FC = ({\n subscribe,\n social_media_icons,\n links,\n contact_number,\n contact_email,\n address_info,\n find_us_button,\n onClick,\n logo,\n legal,\n button,\n}) => {\n return (\n \n \n \n Contact us\n \n {contact_number && (\n window.open(`tel:${contact_number}`)}\n >\n \n

{contact_number}

\n \n )}\n {contact_email && (\n window.open(`mailto:${contact_email}`)}\n >\n \n

{contact_email}

\n \n )}\n
\n
\n
\n \n \n {subscribe && (\n \n Subscribe to our Newsletter\n \n \n \n \n \n \n \n \n \n )}\n {social_media_icons && (\n <>\n Follow us\n \n {social_media_icons.map((icon) => (\n \n ))}\n \n \n )}\n \n \n {links && (\n \n \n Useful links\n {links.map((link) => (\n \n ))}\n \n \n )}\n {address_info && (\n \n \n Address\n \n {find_us_button && (\n \n \n \n )}\n \n \n )}\n \n \n {logo && logo.filename !== null && (\n \n \n \n )}\n \n \n {legal && (\n \n \n \n \n \n )}\n
\n );\n};\n\nexport default FooterCmp;\n","import * as React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { FooterCmp, FooterProps } from \"./footer\";\n\ninterface FooterWrapperProps {\n blok: FooterProps & blokType;\n}\n\nconst Footer: React.FC = ({ blok }) => {\n return (\n \n );\n};\n\nexport default Footer;\n","import styled from \"styled-components\";\nimport { StyledSlider } from \"../slider/styles\";\n\nexport interface StyledSectionProps {\n reverse?: boolean;\n wide?: boolean;\n heading_underline?: boolean;\n image?: number;\n}\n\nexport interface StyledImageProps {\n image_width?: string;\n mobile_full_bleed?: boolean;\n}\n\nexport const StyledSection = styled.section`\n width: 100%;\n padding: 48px 0;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n padding: 32px 0;\n }\n`;\n\nexport const StyledContainer = styled.div`\n ${(props) => props.theme.mixins.container}\n max-width: ${(props) =>\n props.wide ? props.theme.breakPoints.desktop : `960px`};\n`;\n\nexport const StyledIcon = styled.img`\n max-width: 124px;\n margin-bottom: 32px;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n max-width: 80px;\n margin-bottom: 24px;\n }\n`;\n\nexport const StyledHeader = styled.header`\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n justify-content: center;\n\n h2 {\n margin-top: 0;\n margin-bottom: 32px;\n letter-spacing: 0.05em;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n margin-bottom: 24px;\n }\n\n ${(props) =>\n props.span_width &&\n `\n position: relative;\n\n & span{\n padding-bottom: 4px;\n\n &:after{\n margin-top: 4px;\n content: \"\";\n width: ${props.span_width}px;\n height: 1px;\n background: ${props.theme.colors.darkBlue};\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n bottom: 0;\n }\n }\n `}\n }\n`;\n\nexport const StyledContent = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n gap: 64px;\n flex-direction: ${(props) => (props.reverse ? `row-reverse` : `row`)};\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n gap: 24px;\n flex-direction: column-reverse;\n }\n`;\n\nexport const StyledText = styled.div`\n ${(props) =>\n props.image === 0 &&\n `\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n `}\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n width: 100%;\n }\n`;\n\nexport const StyledSubHeader = styled.h2`\n width: fit-content;\n font-family: ${(props) => props.theme.fonts.bembo};\n text-transform: uppercase;\n letter-spacing: 0.05em;\n font-size: 24px;\n line-height: 28px;\n margin: 16px 0;\n color: ${(props) => props.theme.colors.darkBlue};\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n font-size: 18px;\n line-height: 22px;\n }\n`;\n\nexport const StyledImage = styled.div`\n width: 100%;\n max-width: ${(props) =>\n props.image_width ? `${props.image_width}px` : `100%;`};\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n max-width: ${(props) =>\n props.mobile_full_bleed ? `calc(100% + 48px)` : `100%`};\n width: calc(100% + 48px);\n }\n`;\n\nexport const StyledButtons = styled.div`\n margin-top: 24px;\n display: flex;\n gap: 8px;\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n justify-content: center;\n }\n`;\n","import styled from \"styled-components\";\n\nimport { StyledRichText } from \"../rich-text/styles\";\n\ninterface StyledFormProps {\n wide?: boolean;\n position?: \"flex-start\" | \"center\" | \"flex-end\";\n}\n\nexport const StyledMCFormWrapper = styled.div`\n ${(props) => props.theme.mixins.container};\n max-width: 960px;\n`;\n\nexport const StyledMCForm = styled.div`\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-gap: 36px;\n\n // Common input properties across all types\n label,\n input,\n select {\n font-size: 16px;\n line-height: 26px;\n font-family: ${(props) => props.theme.fonts.circularBook};\n color: ${(props) => props.theme.colors.darkBlueLighter};\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n font-size: 14px;\n line-height: 24px;\n }\n }\n\n button {\n width: 100px;\n height: 42px;\n }\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n grid-template-columns: 1fr;\n }\n`;\n\nexport const StyledMCFormHeader = styled.h2`\n margin-top: 0;\n margin-bottom: 32px;\n letter-spacing: 0.05em;\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n margin-bottom: 24px;\n }\n`;\n\nexport const StyledMCFormInputWrapper = styled.div`\n display: flex;\n flex-direction: column;\n\n :last-child {\n justify-self: ${(props) => props.position};\n\n a {\n text-align: center;\n }\n\n @media screen and (max-width: ${(props) =>\n props.theme.breakPoints.tablet}) {\n justify-self: flex-start;\n }\n }\n`;\n\nexport const StyledMCFormInput = styled.input`\n height: 54px;\n padding: 12px;\n\n :not(:placeholder-shown):not(:focus):invalid {\n border: 1px solid ${(props) => props.theme.colors.error};\n }\n`;\n\nexport const StyledMCFormSelect = styled.select`\n height: 54px;\n padding: 12px;\n\n :not(:placeholder-shown):not(:focus):invalid {\n border: 1px solid ${(props) => props.theme.colors.error};\n }\n`;\n\nexport const StyledMCFormInputLabel = styled.label`\n & ${StyledRichText} {\n p {\n font-size: 14px;\n margin: 0;\n }\n }\n`;\n\nexport const StyledMCFormDateFieldsWrapper = styled.div`\n display: flex;\n gap: 6px;\n\n input {\n flex: 1;\n }\n`;\n\nexport const StyledMCFormCheckboxWrapper = styled.div`\n display: grid;\n grid-template-columns: 7.5% auto;\n grid-column-gap: 16px;\n\n label {\n font-size: 14px;\n }\n`;\n\nexport const StyledMCFormCheckbox = styled.input`\n height: 32px;\n width: 32px;\n margin: 0;\n`;\n\nexport const StyledMCFormInfoWrapper = styled.div`\n display: flex;\n flex-direction: column;\n grid-column: ${(props) => (props.wide ? \"1 / span 2\" : \"\")};\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n grid-column: 1;\n }\n`;\n\nexport const StyledMCFormButton = styled.input`\n text-transform: uppercase;\n font-size: 16px;\n line-height: 20px;\n text-decoration: none;\n display: inline-flex;\n align-items: center;\n border: 0;\n font-family: ${(props) => props.theme.fonts.circularMedium};\n padding: 12px 16px;\n background: ${(props) => props.theme.colors.darkBlue};\n color: white !important;\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n font-size: 14px;\n line-height: 18px;\n }\n`;\n\nexport const StyledMCFormLineBreak = styled(StyledMCFormInputWrapper)`\n @media screen and (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n display: none;\n }\n`;\n","import React from \"react\";\n\nimport RichTextCmp from \"../rich-text/rich-text\";\nimport { StyledHeader } from \"../section/styles\";\nimport {\n StyledMCForm,\n StyledMCFormButton,\n StyledMCFormCheckbox,\n StyledMCFormCheckboxWrapper,\n StyledMCFormDateFieldsWrapper,\n StyledMCFormInfoWrapper,\n StyledMCFormInput,\n StyledMCFormInputLabel,\n StyledMCFormInputWrapper,\n StyledMCFormLineBreak,\n StyledMCFormSelect,\n StyledMCFormWrapper,\n} from \"./StyledForm\";\n\nexport interface FormProps {\n title: string;\n form_url: string;\n include_fname: boolean;\n fname_label: string;\n fname_placeholder: string;\n include_lname: boolean;\n lname_label: string;\n lname_placeholder: string;\n email_label: string;\n email_placeholder: string;\n include_phone: boolean;\n phone_label: string;\n phone_placeholder: string;\n include_company: boolean;\n company_label: string;\n company_placeholder: string;\n include_start: boolean;\n start_label: string;\n start_d_placeholder: string;\n start_m_placeholder: string;\n start_y_placeholder: string;\n include_end: boolean;\n end_label: string;\n end_d_placeholder: string;\n end_m_placeholder: string;\n end_y_placeholder: string;\n include_guest: boolean;\n guest_label: string;\n guest_placeholder: string;\n include_referral: boolean;\n referral_label: string;\n referral_placeholder: string;\n dropdown_options: Array;\n include_info: boolean;\n wide_info: boolean;\n info_label: string;\n info_placeholder: string;\n consent_message: any;\n position: \"flex-start\" | \"center\" | \"flex-end\";\n submit_label: string;\n line_break: boolean;\n}\n\nexport const FormCmp: React.FC = ({\n title,\n form_url,\n include_fname,\n fname_label,\n fname_placeholder,\n include_lname,\n lname_label,\n lname_placeholder,\n email_label,\n email_placeholder,\n include_phone,\n phone_label,\n phone_placeholder,\n include_company,\n company_label,\n company_placeholder,\n include_start,\n start_label,\n start_d_placeholder,\n start_m_placeholder,\n start_y_placeholder,\n include_end,\n end_label,\n end_d_placeholder,\n end_m_placeholder,\n end_y_placeholder,\n include_guest,\n guest_label,\n guest_placeholder,\n include_referral,\n referral_label,\n referral_placeholder,\n dropdown_options,\n include_info,\n wide_info,\n info_label,\n info_placeholder,\n consent_message,\n position,\n submit_label,\n line_break,\n}) => {\n return (\n <>\n \n \n \n

{title}

\n
\n \n {include_fname && (\n \n \n {fname_label}\n \n \n \n )}\n {include_lname && (\n \n \n {lname_label}\n \n \n \n )}\n \n \n {email_label}\n \n \n \n {include_phone && (\n \n \n {phone_label}\n \n \n \n )}\n {include_start && (\n \n \n {start_label}\n \n \n \n \n \n \n \n )}\n {include_end && (\n \n \n {end_label}\n \n \n \n \n \n \n \n )}\n {include_guest && (\n \n \n {guest_label}\n \n \n \n )}\n {include_referral && (\n \n \n {referral_label}\n \n \n \n {dropdown_options.map((option, index) => (\n \n ))}\n \n \n )}\n {include_company && (\n \n {company_label}\n \n \n )}\n {include_info && (\n \n \n {info_label}\n \n \n \n )}\n {line_break && }\n \n \n \n {/* I am happy to receive the latest news, offers and information\n from Ashridge House. Read our Privacy Policy here. * */}\n \n \n \n \n \n \n \n {/* real people should not fill this in and expect good things - do not remove this or risk form bot signups*/}\n \n \n \n \n
\n \n );\n};\n","import styled from \"styled-components\";\n\nexport const StyledGallery = styled.section`\n padding: 48px 0;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n padding: 32px 0;\n }\n`;\n\nexport const StyledGalleryContainer = styled.div`\n ${(props) => props.theme.mixins.container};\n\n .swiper-slide {\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n\n p {\n font-family: ${(props) => props.theme.fonts.bembo};\n text-transform: uppercase;\n color: white;\n font-size: 90px;\n line-height: 94px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n font-size: 64px;\n line-height: 68px;\n }\n }\n }\n\n .mySwiper .swiper-slide {\n p {\n display: none;\n }\n }\n\n .swiper-slide img {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .swiper-button-next,\n .swiper-button-prev {\n color: white;\n }\n & .swiper-button-prev {\n left: 32px;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n left: 24px;\n }\n }\n & .swiper-button-next {\n right: 32px;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n right: 24px;\n }\n }\n\n .swiper-button-next.swiper-button-disabled,\n .swiper-button-prev.swiper-button-disabled {\n opacity: 0;\n }\n .swiper-slide {\n cursor: pointer;\n }\n`;\n\nexport const StyledGalleryItems = styled.div``;\n\nexport const StyledActiveImage = styled.div``;\n\nexport const StyledSlider = styled.div`\n margin-top: 8px;\n`;\n","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}","export default function _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}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\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\n return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\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\n return target;\n}","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","/**\n * SSR Window 4.0.2\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2021, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: December 13, 2021\n */\n\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;\n}\n\nfunction extend() {\n var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var src = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n Object.keys(src).forEach(function (key) {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\n\nvar ssrDocument = {\n body: {},\n addEventListener: function addEventListener() {},\n removeEventListener: function removeEventListener() {},\n activeElement: {\n blur: function blur() {},\n nodeName: ''\n },\n querySelector: function querySelector() {\n return null;\n },\n querySelectorAll: function querySelectorAll() {\n return [];\n },\n getElementById: function getElementById() {\n return null;\n },\n createEvent: function createEvent() {\n return {\n initEvent: function initEvent() {}\n };\n },\n createElement: function createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute: function setAttribute() {},\n getElementsByTagName: function getElementsByTagName() {\n return [];\n }\n };\n },\n createElementNS: function createElementNS() {\n return {};\n },\n importNode: function importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n }\n};\n\nfunction getDocument() {\n var doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\n\nvar ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: ''\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n },\n history: {\n replaceState: function replaceState() {},\n pushState: function pushState() {},\n go: function go() {},\n back: function back() {}\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener: function addEventListener() {},\n removeEventListener: function removeEventListener() {},\n getComputedStyle: function getComputedStyle() {\n return {\n getPropertyValue: function getPropertyValue() {\n return '';\n }\n };\n },\n Image: function Image() {},\n Date: function Date() {},\n screen: {},\n setTimeout: function setTimeout() {},\n clearTimeout: function clearTimeout() {},\n matchMedia: function matchMedia() {\n return {};\n },\n requestAnimationFrame: function requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame: function cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n\n clearTimeout(id);\n }\n};\n\nfunction getWindow() {\n var win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { extend, getDocument, getWindow, ssrDocument, ssrWindow };","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return assertThisInitialized(self);\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nexport default function _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n _construct = Reflect.construct.bind();\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n\n return _construct.apply(null, arguments);\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeFunction from \"./isNativeFunction.js\";\nimport construct from \"./construct.js\";\nexport default function _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n };\n\n return _wrapNativeSuper(Class);\n}","export default function _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}","import _toConsumableArray from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\";\nimport _createClass from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/createClass.js\";\nimport _classCallCheck from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/classCallCheck.js\";\nimport _assertThisInitialized from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js\";\nimport _inherits from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/inherits.js\";\nimport _possibleConstructorReturn from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js\";\nimport _getPrototypeOf from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js\";\nimport _wrapNativeSuper from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js\";\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\n/**\n * Dom7 4.0.4\n * Minimalistic JavaScript library for DOM manipulation, with a jQuery-compatible API\n * https://framework7.io/docs/dom7.html\n *\n * Copyright 2022, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: January 11, 2022\n */\nimport { getWindow, getDocument } from 'ssr-window';\n/* eslint-disable no-proto */\n\nfunction makeReactive(obj) {\n var proto = obj.__proto__;\n Object.defineProperty(obj, '__proto__', {\n get: function get() {\n return proto;\n },\n set: function set(value) {\n proto.__proto__ = value;\n }\n });\n}\n\nvar Dom7 = /*#__PURE__*/function (_Array) {\n _inherits(Dom7, _Array);\n\n var _super = _createSuper(Dom7);\n\n function Dom7(items) {\n var _this;\n\n _classCallCheck(this, Dom7);\n\n if (typeof items === 'number') {\n _this = _super.call(this, items);\n } else {\n _this = _super.call.apply(_super, [this].concat(_toConsumableArray(items || [])));\n makeReactive(_assertThisInitialized(_this));\n }\n\n return _possibleConstructorReturn(_this);\n }\n\n return _createClass(Dom7);\n}( /*#__PURE__*/_wrapNativeSuper(Array));\n\nfunction arrayFlat() {\n var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var res = [];\n arr.forEach(function (el) {\n if (Array.isArray(el)) {\n res.push.apply(res, _toConsumableArray(arrayFlat(el)));\n } else {\n res.push(el);\n }\n });\n return res;\n}\n\nfunction arrayFilter(arr, callback) {\n return Array.prototype.filter.call(arr, callback);\n}\n\nfunction arrayUnique(arr) {\n var uniqueArray = [];\n\n for (var i = 0; i < arr.length; i += 1) {\n if (uniqueArray.indexOf(arr[i]) === -1) uniqueArray.push(arr[i]);\n }\n\n return uniqueArray;\n}\n\nfunction toCamelCase(string) {\n return string.toLowerCase().replace(/-(.)/g, function (match, group) {\n return group.toUpperCase();\n });\n} // eslint-disable-next-line\n\n\nfunction qsa(selector, context) {\n if (typeof selector !== 'string') {\n return [selector];\n }\n\n var a = [];\n var res = context.querySelectorAll(selector);\n\n for (var i = 0; i < res.length; i += 1) {\n a.push(res[i]);\n }\n\n return a;\n}\n\nfunction $(selector, context) {\n var window = getWindow();\n var document = getDocument();\n var arr = [];\n\n if (!context && selector instanceof Dom7) {\n return selector;\n }\n\n if (!selector) {\n return new Dom7(arr);\n }\n\n if (typeof selector === 'string') {\n var _html = selector.trim();\n\n if (_html.indexOf('<') >= 0 && _html.indexOf('>') >= 0) {\n var toCreate = 'div';\n if (_html.indexOf(' 0;\n }).length > 0;\n}\n\nfunction attr(attrs, value) {\n if (arguments.length === 1 && typeof attrs === 'string') {\n // Get attr\n if (this[0]) return this[0].getAttribute(attrs);\n return undefined;\n } // Set attrs\n\n\n for (var i = 0; i < this.length; i += 1) {\n if (arguments.length === 2) {\n // String\n this[i].setAttribute(attrs, value);\n } else {\n // Object\n for (var attrName in attrs) {\n this[i][attrName] = attrs[attrName];\n this[i].setAttribute(attrName, attrs[attrName]);\n }\n }\n }\n\n return this;\n}\n\nfunction removeAttr(attr) {\n for (var i = 0; i < this.length; i += 1) {\n this[i].removeAttribute(attr);\n }\n\n return this;\n}\n\nfunction prop(props, value) {\n if (arguments.length === 1 && typeof props === 'string') {\n // Get prop\n if (this[0]) return this[0][props];\n } else {\n // Set props\n for (var i = 0; i < this.length; i += 1) {\n if (arguments.length === 2) {\n // String\n this[i][props] = value;\n } else {\n // Object\n for (var propName in props) {\n this[i][propName] = props[propName];\n }\n }\n }\n\n return this;\n }\n\n return this;\n}\n\nfunction data(key, value) {\n var el;\n\n if (typeof value === 'undefined') {\n el = this[0];\n if (!el) return undefined; // Get value\n\n if (el.dom7ElementDataStorage && key in el.dom7ElementDataStorage) {\n return el.dom7ElementDataStorage[key];\n }\n\n var dataKey = el.getAttribute(\"data-\".concat(key));\n\n if (dataKey) {\n return dataKey;\n }\n\n return undefined;\n } // Set value\n\n\n for (var i = 0; i < this.length; i += 1) {\n el = this[i];\n if (!el.dom7ElementDataStorage) el.dom7ElementDataStorage = {};\n el.dom7ElementDataStorage[key] = value;\n }\n\n return this;\n}\n\nfunction removeData(key) {\n for (var i = 0; i < this.length; i += 1) {\n var el = this[i];\n\n if (el.dom7ElementDataStorage && el.dom7ElementDataStorage[key]) {\n el.dom7ElementDataStorage[key] = null;\n delete el.dom7ElementDataStorage[key];\n }\n }\n}\n\nfunction dataset() {\n var el = this[0];\n if (!el) return undefined;\n var dataset = {}; // eslint-disable-line\n\n if (el.dataset) {\n for (var dataKey in el.dataset) {\n dataset[dataKey] = el.dataset[dataKey];\n }\n } else {\n for (var i = 0; i < el.attributes.length; i += 1) {\n var _attr = el.attributes[i];\n\n if (_attr.name.indexOf('data-') >= 0) {\n dataset[toCamelCase(_attr.name.split('data-')[1])] = _attr.value;\n }\n }\n }\n\n for (var key in dataset) {\n if (dataset[key] === 'false') dataset[key] = false;else if (dataset[key] === 'true') dataset[key] = true;else if (parseFloat(dataset[key]) === dataset[key] * 1) dataset[key] *= 1;\n }\n\n return dataset;\n}\n\nfunction val(value) {\n if (typeof value === 'undefined') {\n // get value\n var el = this[0];\n if (!el) return undefined;\n\n if (el.multiple && el.nodeName.toLowerCase() === 'select') {\n var values = [];\n\n for (var i = 0; i < el.selectedOptions.length; i += 1) {\n values.push(el.selectedOptions[i].value);\n }\n\n return values;\n }\n\n return el.value;\n } // set value\n\n\n for (var _i = 0; _i < this.length; _i += 1) {\n var _el = this[_i];\n\n if (Array.isArray(value) && _el.multiple && _el.nodeName.toLowerCase() === 'select') {\n for (var j = 0; j < _el.options.length; j += 1) {\n _el.options[j].selected = value.indexOf(_el.options[j].value) >= 0;\n }\n } else {\n _el.value = value;\n }\n }\n\n return this;\n}\n\nfunction value(value) {\n return this.val(value);\n}\n\nfunction transform(transform) {\n for (var i = 0; i < this.length; i += 1) {\n this[i].style.transform = transform;\n }\n\n return this;\n}\n\nfunction transition(duration) {\n for (var i = 0; i < this.length; i += 1) {\n this[i].style.transitionDuration = typeof duration !== 'string' ? \"\".concat(duration, \"ms\") : duration;\n }\n\n return this;\n}\n\nfunction on() {\n for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n\n var eventType = args[0],\n targetSelector = args[1],\n listener = args[2],\n capture = args[3];\n\n if (typeof args[1] === 'function') {\n eventType = args[0];\n listener = args[1];\n capture = args[2];\n targetSelector = undefined;\n }\n\n if (!capture) capture = false;\n\n function handleLiveEvent(e) {\n var target = e.target;\n if (!target) return;\n var eventData = e.target.dom7EventData || [];\n\n if (eventData.indexOf(e) < 0) {\n eventData.unshift(e);\n }\n\n if ($(target).is(targetSelector)) listener.apply(target, eventData);else {\n var _parents = $(target).parents(); // eslint-disable-line\n\n\n for (var k = 0; k < _parents.length; k += 1) {\n if ($(_parents[k]).is(targetSelector)) listener.apply(_parents[k], eventData);\n }\n }\n }\n\n function handleEvent(e) {\n var eventData = e && e.target ? e.target.dom7EventData || [] : [];\n\n if (eventData.indexOf(e) < 0) {\n eventData.unshift(e);\n }\n\n listener.apply(this, eventData);\n }\n\n var events = eventType.split(' ');\n var j;\n\n for (var i = 0; i < this.length; i += 1) {\n var el = this[i];\n\n if (!targetSelector) {\n for (j = 0; j < events.length; j += 1) {\n var event = events[j];\n if (!el.dom7Listeners) el.dom7Listeners = {};\n if (!el.dom7Listeners[event]) el.dom7Listeners[event] = [];\n el.dom7Listeners[event].push({\n listener: listener,\n proxyListener: handleEvent\n });\n el.addEventListener(event, handleEvent, capture);\n }\n } else {\n // Live events\n for (j = 0; j < events.length; j += 1) {\n var _event = events[j];\n if (!el.dom7LiveListeners) el.dom7LiveListeners = {};\n if (!el.dom7LiveListeners[_event]) el.dom7LiveListeners[_event] = [];\n\n el.dom7LiveListeners[_event].push({\n listener: listener,\n proxyListener: handleLiveEvent\n });\n\n el.addEventListener(_event, handleLiveEvent, capture);\n }\n }\n }\n\n return this;\n}\n\nfunction off() {\n for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n args[_key6] = arguments[_key6];\n }\n\n var eventType = args[0],\n targetSelector = args[1],\n listener = args[2],\n capture = args[3];\n\n if (typeof args[1] === 'function') {\n eventType = args[0];\n listener = args[1];\n capture = args[2];\n targetSelector = undefined;\n }\n\n if (!capture) capture = false;\n var events = eventType.split(' ');\n\n for (var i = 0; i < events.length; i += 1) {\n var event = events[i];\n\n for (var j = 0; j < this.length; j += 1) {\n var el = this[j];\n var handlers = void 0;\n\n if (!targetSelector && el.dom7Listeners) {\n handlers = el.dom7Listeners[event];\n } else if (targetSelector && el.dom7LiveListeners) {\n handlers = el.dom7LiveListeners[event];\n }\n\n if (handlers && handlers.length) {\n for (var k = handlers.length - 1; k >= 0; k -= 1) {\n var handler = handlers[k];\n\n if (listener && handler.listener === listener) {\n el.removeEventListener(event, handler.proxyListener, capture);\n handlers.splice(k, 1);\n } else if (listener && handler.listener && handler.listener.dom7proxy && handler.listener.dom7proxy === listener) {\n el.removeEventListener(event, handler.proxyListener, capture);\n handlers.splice(k, 1);\n } else if (!listener) {\n el.removeEventListener(event, handler.proxyListener, capture);\n handlers.splice(k, 1);\n }\n }\n }\n }\n }\n\n return this;\n}\n\nfunction once() {\n var dom = this;\n\n for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {\n args[_key7] = arguments[_key7];\n }\n\n var eventName = args[0],\n targetSelector = args[1],\n listener = args[2],\n capture = args[3];\n\n if (typeof args[1] === 'function') {\n eventName = args[0];\n listener = args[1];\n capture = args[2];\n targetSelector = undefined;\n }\n\n function onceHandler() {\n for (var _len8 = arguments.length, eventArgs = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {\n eventArgs[_key8] = arguments[_key8];\n }\n\n listener.apply(this, eventArgs);\n dom.off(eventName, targetSelector, onceHandler, capture);\n\n if (onceHandler.dom7proxy) {\n delete onceHandler.dom7proxy;\n }\n }\n\n onceHandler.dom7proxy = listener;\n return dom.on(eventName, targetSelector, onceHandler, capture);\n}\n\nfunction trigger() {\n var window = getWindow();\n\n for (var _len9 = arguments.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {\n args[_key9] = arguments[_key9];\n }\n\n var events = args[0].split(' ');\n var eventData = args[1];\n\n for (var i = 0; i < events.length; i += 1) {\n var event = events[i];\n\n for (var j = 0; j < this.length; j += 1) {\n var el = this[j];\n\n if (window.CustomEvent) {\n var evt = new window.CustomEvent(event, {\n detail: eventData,\n bubbles: true,\n cancelable: true\n });\n el.dom7EventData = args.filter(function (data, dataIndex) {\n return dataIndex > 0;\n });\n el.dispatchEvent(evt);\n el.dom7EventData = [];\n delete el.dom7EventData;\n }\n }\n }\n\n return this;\n}\n\nfunction transitionEnd(callback) {\n var dom = this;\n\n function fireCallBack(e) {\n if (e.target !== this) return;\n callback.call(this, e);\n dom.off('transitionend', fireCallBack);\n }\n\n if (callback) {\n dom.on('transitionend', fireCallBack);\n }\n\n return this;\n}\n\nfunction animationEnd(callback) {\n var dom = this;\n\n function fireCallBack(e) {\n if (e.target !== this) return;\n callback.call(this, e);\n dom.off('animationend', fireCallBack);\n }\n\n if (callback) {\n dom.on('animationend', fireCallBack);\n }\n\n return this;\n}\n\nfunction width() {\n var window = getWindow();\n\n if (this[0] === window) {\n return window.innerWidth;\n }\n\n if (this.length > 0) {\n return parseFloat(this.css('width'));\n }\n\n return null;\n}\n\nfunction outerWidth(includeMargins) {\n if (this.length > 0) {\n if (includeMargins) {\n var _styles = this.styles();\n\n return this[0].offsetWidth + parseFloat(_styles.getPropertyValue('margin-right')) + parseFloat(_styles.getPropertyValue('margin-left'));\n }\n\n return this[0].offsetWidth;\n }\n\n return null;\n}\n\nfunction height() {\n var window = getWindow();\n\n if (this[0] === window) {\n return window.innerHeight;\n }\n\n if (this.length > 0) {\n return parseFloat(this.css('height'));\n }\n\n return null;\n}\n\nfunction outerHeight(includeMargins) {\n if (this.length > 0) {\n if (includeMargins) {\n var _styles2 = this.styles();\n\n return this[0].offsetHeight + parseFloat(_styles2.getPropertyValue('margin-top')) + parseFloat(_styles2.getPropertyValue('margin-bottom'));\n }\n\n return this[0].offsetHeight;\n }\n\n return null;\n}\n\nfunction offset() {\n if (this.length > 0) {\n var window = getWindow();\n var document = getDocument();\n var el = this[0];\n var box = el.getBoundingClientRect();\n var body = document.body;\n var clientTop = el.clientTop || body.clientTop || 0;\n var clientLeft = el.clientLeft || body.clientLeft || 0;\n\n var _scrollTop = el === window ? window.scrollY : el.scrollTop;\n\n var _scrollLeft = el === window ? window.scrollX : el.scrollLeft;\n\n return {\n top: box.top + _scrollTop - clientTop,\n left: box.left + _scrollLeft - clientLeft\n };\n }\n\n return null;\n}\n\nfunction hide() {\n for (var i = 0; i < this.length; i += 1) {\n this[i].style.display = 'none';\n }\n\n return this;\n}\n\nfunction show() {\n var window = getWindow();\n\n for (var i = 0; i < this.length; i += 1) {\n var el = this[i];\n\n if (el.style.display === 'none') {\n el.style.display = '';\n }\n\n if (window.getComputedStyle(el, null).getPropertyValue('display') === 'none') {\n // Still not visible\n el.style.display = 'block';\n }\n }\n\n return this;\n}\n\nfunction styles() {\n var window = getWindow();\n if (this[0]) return window.getComputedStyle(this[0], null);\n return {};\n}\n\nfunction css(props, value) {\n var window = getWindow();\n var i;\n\n if (arguments.length === 1) {\n if (typeof props === 'string') {\n // .css('width')\n if (this[0]) return window.getComputedStyle(this[0], null).getPropertyValue(props);\n } else {\n // .css({ width: '100px' })\n for (i = 0; i < this.length; i += 1) {\n for (var _prop in props) {\n this[i].style[_prop] = props[_prop];\n }\n }\n\n return this;\n }\n }\n\n if (arguments.length === 2 && typeof props === 'string') {\n // .css('width', '100px')\n for (i = 0; i < this.length; i += 1) {\n this[i].style[props] = value;\n }\n\n return this;\n }\n\n return this;\n}\n\nfunction each(callback) {\n if (!callback) return this;\n this.forEach(function (el, index) {\n callback.apply(el, [el, index]);\n });\n return this;\n}\n\nfunction filter(callback) {\n var result = arrayFilter(this, callback);\n return $(result);\n}\n\nfunction html(html) {\n if (typeof html === 'undefined') {\n return this[0] ? this[0].innerHTML : null;\n }\n\n for (var i = 0; i < this.length; i += 1) {\n this[i].innerHTML = html;\n }\n\n return this;\n}\n\nfunction text(text) {\n if (typeof text === 'undefined') {\n return this[0] ? this[0].textContent.trim() : null;\n }\n\n for (var i = 0; i < this.length; i += 1) {\n this[i].textContent = text;\n }\n\n return this;\n}\n\nfunction is(selector) {\n var window = getWindow();\n var document = getDocument();\n var el = this[0];\n var compareWith;\n var i;\n if (!el || typeof selector === 'undefined') return false;\n\n if (typeof selector === 'string') {\n if (el.matches) return el.matches(selector);\n if (el.webkitMatchesSelector) return el.webkitMatchesSelector(selector);\n if (el.msMatchesSelector) return el.msMatchesSelector(selector);\n compareWith = $(selector);\n\n for (i = 0; i < compareWith.length; i += 1) {\n if (compareWith[i] === el) return true;\n }\n\n return false;\n }\n\n if (selector === document) {\n return el === document;\n }\n\n if (selector === window) {\n return el === window;\n }\n\n if (selector.nodeType || selector instanceof Dom7) {\n compareWith = selector.nodeType ? [selector] : selector;\n\n for (i = 0; i < compareWith.length; i += 1) {\n if (compareWith[i] === el) return true;\n }\n\n return false;\n }\n\n return false;\n}\n\nfunction index() {\n var child = this[0];\n var i;\n\n if (child) {\n i = 0; // eslint-disable-next-line\n\n while ((child = child.previousSibling) !== null) {\n if (child.nodeType === 1) i += 1;\n }\n\n return i;\n }\n\n return undefined;\n}\n\nfunction eq(index) {\n if (typeof index === 'undefined') return this;\n var length = this.length;\n\n if (index > length - 1) {\n return $([]);\n }\n\n if (index < 0) {\n var returnIndex = length + index;\n if (returnIndex < 0) return $([]);\n return $([this[returnIndex]]);\n }\n\n return $([this[index]]);\n}\n\nfunction append() {\n var newChild;\n var document = getDocument();\n\n for (var k = 0; k < arguments.length; k += 1) {\n newChild = k < 0 || arguments.length <= k ? undefined : arguments[k];\n\n for (var i = 0; i < this.length; i += 1) {\n if (typeof newChild === 'string') {\n var tempDiv = document.createElement('div');\n tempDiv.innerHTML = newChild;\n\n while (tempDiv.firstChild) {\n this[i].appendChild(tempDiv.firstChild);\n }\n } else if (newChild instanceof Dom7) {\n for (var j = 0; j < newChild.length; j += 1) {\n this[i].appendChild(newChild[j]);\n }\n } else {\n this[i].appendChild(newChild);\n }\n }\n }\n\n return this;\n}\n\nfunction appendTo(parent) {\n $(parent).append(this);\n return this;\n}\n\nfunction prepend(newChild) {\n var document = getDocument();\n var i;\n var j;\n\n for (i = 0; i < this.length; i += 1) {\n if (typeof newChild === 'string') {\n var tempDiv = document.createElement('div');\n tempDiv.innerHTML = newChild;\n\n for (j = tempDiv.childNodes.length - 1; j >= 0; j -= 1) {\n this[i].insertBefore(tempDiv.childNodes[j], this[i].childNodes[0]);\n }\n } else if (newChild instanceof Dom7) {\n for (j = 0; j < newChild.length; j += 1) {\n this[i].insertBefore(newChild[j], this[i].childNodes[0]);\n }\n } else {\n this[i].insertBefore(newChild, this[i].childNodes[0]);\n }\n }\n\n return this;\n}\n\nfunction prependTo(parent) {\n $(parent).prepend(this);\n return this;\n}\n\nfunction insertBefore(selector) {\n var before = $(selector);\n\n for (var i = 0; i < this.length; i += 1) {\n if (before.length === 1) {\n before[0].parentNode.insertBefore(this[i], before[0]);\n } else if (before.length > 1) {\n for (var j = 0; j < before.length; j += 1) {\n before[j].parentNode.insertBefore(this[i].cloneNode(true), before[j]);\n }\n }\n }\n}\n\nfunction insertAfter(selector) {\n var after = $(selector);\n\n for (var i = 0; i < this.length; i += 1) {\n if (after.length === 1) {\n after[0].parentNode.insertBefore(this[i], after[0].nextSibling);\n } else if (after.length > 1) {\n for (var j = 0; j < after.length; j += 1) {\n after[j].parentNode.insertBefore(this[i].cloneNode(true), after[j].nextSibling);\n }\n }\n }\n}\n\nfunction next(selector) {\n if (this.length > 0) {\n if (selector) {\n if (this[0].nextElementSibling && $(this[0].nextElementSibling).is(selector)) {\n return $([this[0].nextElementSibling]);\n }\n\n return $([]);\n }\n\n if (this[0].nextElementSibling) return $([this[0].nextElementSibling]);\n return $([]);\n }\n\n return $([]);\n}\n\nfunction nextAll(selector) {\n var nextEls = [];\n var el = this[0];\n if (!el) return $([]);\n\n while (el.nextElementSibling) {\n var _next = el.nextElementSibling; // eslint-disable-line\n\n if (selector) {\n if ($(_next).is(selector)) nextEls.push(_next);\n } else nextEls.push(_next);\n\n el = _next;\n }\n\n return $(nextEls);\n}\n\nfunction prev(selector) {\n if (this.length > 0) {\n var el = this[0];\n\n if (selector) {\n if (el.previousElementSibling && $(el.previousElementSibling).is(selector)) {\n return $([el.previousElementSibling]);\n }\n\n return $([]);\n }\n\n if (el.previousElementSibling) return $([el.previousElementSibling]);\n return $([]);\n }\n\n return $([]);\n}\n\nfunction prevAll(selector) {\n var prevEls = [];\n var el = this[0];\n if (!el) return $([]);\n\n while (el.previousElementSibling) {\n var _prev = el.previousElementSibling; // eslint-disable-line\n\n if (selector) {\n if ($(_prev).is(selector)) prevEls.push(_prev);\n } else prevEls.push(_prev);\n\n el = _prev;\n }\n\n return $(prevEls);\n}\n\nfunction siblings(selector) {\n return this.nextAll(selector).add(this.prevAll(selector));\n}\n\nfunction parent(selector) {\n var parents = []; // eslint-disable-line\n\n for (var i = 0; i < this.length; i += 1) {\n if (this[i].parentNode !== null) {\n if (selector) {\n if ($(this[i].parentNode).is(selector)) parents.push(this[i].parentNode);\n } else {\n parents.push(this[i].parentNode);\n }\n }\n }\n\n return $(parents);\n}\n\nfunction parents(selector) {\n var parents = []; // eslint-disable-line\n\n for (var i = 0; i < this.length; i += 1) {\n var _parent = this[i].parentNode; // eslint-disable-line\n\n while (_parent) {\n if (selector) {\n if ($(_parent).is(selector)) parents.push(_parent);\n } else {\n parents.push(_parent);\n }\n\n _parent = _parent.parentNode;\n }\n }\n\n return $(parents);\n}\n\nfunction closest(selector) {\n var closest = this; // eslint-disable-line\n\n if (typeof selector === 'undefined') {\n return $([]);\n }\n\n if (!closest.is(selector)) {\n closest = closest.parents(selector).eq(0);\n }\n\n return closest;\n}\n\nfunction find(selector) {\n var foundElements = [];\n\n for (var i = 0; i < this.length; i += 1) {\n var found = this[i].querySelectorAll(selector);\n\n for (var j = 0; j < found.length; j += 1) {\n foundElements.push(found[j]);\n }\n }\n\n return $(foundElements);\n}\n\nfunction children(selector) {\n var children = []; // eslint-disable-line\n\n for (var i = 0; i < this.length; i += 1) {\n var childNodes = this[i].children;\n\n for (var j = 0; j < childNodes.length; j += 1) {\n if (!selector || $(childNodes[j]).is(selector)) {\n children.push(childNodes[j]);\n }\n }\n }\n\n return $(children);\n}\n\nfunction remove() {\n for (var i = 0; i < this.length; i += 1) {\n if (this[i].parentNode) this[i].parentNode.removeChild(this[i]);\n }\n\n return this;\n}\n\nfunction detach() {\n return this.remove();\n}\n\nfunction add() {\n var dom = this;\n var i;\n var j;\n\n for (var _len10 = arguments.length, els = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) {\n els[_key10] = arguments[_key10];\n }\n\n for (i = 0; i < els.length; i += 1) {\n var toAdd = $(els[i]);\n\n for (j = 0; j < toAdd.length; j += 1) {\n dom.push(toAdd[j]);\n }\n }\n\n return dom;\n}\n\nfunction empty() {\n for (var i = 0; i < this.length; i += 1) {\n var el = this[i];\n\n if (el.nodeType === 1) {\n for (var j = 0; j < el.childNodes.length; j += 1) {\n if (el.childNodes[j].parentNode) {\n el.childNodes[j].parentNode.removeChild(el.childNodes[j]);\n }\n }\n\n el.textContent = '';\n }\n }\n\n return this;\n} // eslint-disable-next-line\n\n\nfunction scrollTo() {\n var window = getWindow();\n\n for (var _len11 = arguments.length, args = new Array(_len11), _key11 = 0; _key11 < _len11; _key11++) {\n args[_key11] = arguments[_key11];\n }\n\n var left = args[0],\n top = args[1],\n duration = args[2],\n easing = args[3],\n callback = args[4];\n\n if (args.length === 4 && typeof easing === 'function') {\n callback = easing;\n left = args[0];\n top = args[1];\n duration = args[2];\n callback = args[3];\n easing = args[4];\n }\n\n if (typeof easing === 'undefined') easing = 'swing';\n return this.each(function animate() {\n var el = this;\n var currentTop;\n var currentLeft;\n var maxTop;\n var maxLeft;\n var newTop;\n var newLeft;\n var scrollTop; // eslint-disable-line\n\n var scrollLeft; // eslint-disable-line\n\n var animateTop = top > 0 || top === 0;\n var animateLeft = left > 0 || left === 0;\n\n if (typeof easing === 'undefined') {\n easing = 'swing';\n }\n\n if (animateTop) {\n currentTop = el.scrollTop;\n\n if (!duration) {\n el.scrollTop = top;\n }\n }\n\n if (animateLeft) {\n currentLeft = el.scrollLeft;\n\n if (!duration) {\n el.scrollLeft = left;\n }\n }\n\n if (!duration) return;\n\n if (animateTop) {\n maxTop = el.scrollHeight - el.offsetHeight;\n newTop = Math.max(Math.min(top, maxTop), 0);\n }\n\n if (animateLeft) {\n maxLeft = el.scrollWidth - el.offsetWidth;\n newLeft = Math.max(Math.min(left, maxLeft), 0);\n }\n\n var startTime = null;\n if (animateTop && newTop === currentTop) animateTop = false;\n if (animateLeft && newLeft === currentLeft) animateLeft = false;\n\n function render() {\n var time = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Date().getTime();\n\n if (startTime === null) {\n startTime = time;\n }\n\n var progress = Math.max(Math.min((time - startTime) / duration, 1), 0);\n var easeProgress = easing === 'linear' ? progress : 0.5 - Math.cos(progress * Math.PI) / 2;\n var done;\n if (animateTop) scrollTop = currentTop + easeProgress * (newTop - currentTop);\n if (animateLeft) scrollLeft = currentLeft + easeProgress * (newLeft - currentLeft);\n\n if (animateTop && newTop > currentTop && scrollTop >= newTop) {\n el.scrollTop = newTop;\n done = true;\n }\n\n if (animateTop && newTop < currentTop && scrollTop <= newTop) {\n el.scrollTop = newTop;\n done = true;\n }\n\n if (animateLeft && newLeft > currentLeft && scrollLeft >= newLeft) {\n el.scrollLeft = newLeft;\n done = true;\n }\n\n if (animateLeft && newLeft < currentLeft && scrollLeft <= newLeft) {\n el.scrollLeft = newLeft;\n done = true;\n }\n\n if (done) {\n if (callback) callback();\n return;\n }\n\n if (animateTop) el.scrollTop = scrollTop;\n if (animateLeft) el.scrollLeft = scrollLeft;\n window.requestAnimationFrame(render);\n }\n\n window.requestAnimationFrame(render);\n });\n} // scrollTop(top, duration, easing, callback) {\n\n\nfunction scrollTop() {\n for (var _len12 = arguments.length, args = new Array(_len12), _key12 = 0; _key12 < _len12; _key12++) {\n args[_key12] = arguments[_key12];\n }\n\n var top = args[0],\n duration = args[1],\n easing = args[2],\n callback = args[3];\n\n if (args.length === 3 && typeof easing === 'function') {\n top = args[0];\n duration = args[1];\n callback = args[2];\n easing = args[3];\n }\n\n var dom = this;\n\n if (typeof top === 'undefined') {\n if (dom.length > 0) return dom[0].scrollTop;\n return null;\n }\n\n return dom.scrollTo(undefined, top, duration, easing, callback);\n}\n\nfunction scrollLeft() {\n for (var _len13 = arguments.length, args = new Array(_len13), _key13 = 0; _key13 < _len13; _key13++) {\n args[_key13] = arguments[_key13];\n }\n\n var left = args[0],\n duration = args[1],\n easing = args[2],\n callback = args[3];\n\n if (args.length === 3 && typeof easing === 'function') {\n left = args[0];\n duration = args[1];\n callback = args[2];\n easing = args[3];\n }\n\n var dom = this;\n\n if (typeof left === 'undefined') {\n if (dom.length > 0) return dom[0].scrollLeft;\n return null;\n }\n\n return dom.scrollTo(left, undefined, duration, easing, callback);\n} // eslint-disable-next-line\n\n\nfunction animate(initialProps, initialParams) {\n var window = getWindow();\n var els = this;\n var a = {\n props: Object.assign({}, initialProps),\n params: Object.assign({\n duration: 300,\n easing: 'swing' // or 'linear'\n\n /* Callbacks\n begin(elements)\n complete(elements)\n progress(elements, complete, remaining, start, tweenValue)\n */\n\n }, initialParams),\n elements: els,\n animating: false,\n que: [],\n easingProgress: function easingProgress(easing, progress) {\n if (easing === 'swing') {\n return 0.5 - Math.cos(progress * Math.PI) / 2;\n }\n\n if (typeof easing === 'function') {\n return easing(progress);\n }\n\n return progress;\n },\n stop: function stop() {\n if (a.frameId) {\n window.cancelAnimationFrame(a.frameId);\n }\n\n a.animating = false;\n a.elements.each(function (el) {\n var element = el;\n delete element.dom7AnimateInstance;\n });\n a.que = [];\n },\n done: function done(complete) {\n a.animating = false;\n a.elements.each(function (el) {\n var element = el;\n delete element.dom7AnimateInstance;\n });\n if (complete) complete(els);\n\n if (a.que.length > 0) {\n var que = a.que.shift();\n a.animate(que[0], que[1]);\n }\n },\n animate: function animate(props, params) {\n if (a.animating) {\n a.que.push([props, params]);\n return a;\n }\n\n var elements = []; // Define & Cache Initials & Units\n\n a.elements.each(function (el, index) {\n var initialFullValue;\n var initialValue;\n var unit;\n var finalValue;\n var finalFullValue;\n if (!el.dom7AnimateInstance) a.elements[index].dom7AnimateInstance = a;\n elements[index] = {\n container: el\n };\n Object.keys(props).forEach(function (prop) {\n initialFullValue = window.getComputedStyle(el, null).getPropertyValue(prop).replace(',', '.');\n initialValue = parseFloat(initialFullValue);\n unit = initialFullValue.replace(initialValue, '');\n finalValue = parseFloat(props[prop]);\n finalFullValue = props[prop] + unit;\n elements[index][prop] = {\n initialFullValue: initialFullValue,\n initialValue: initialValue,\n unit: unit,\n finalValue: finalValue,\n finalFullValue: finalFullValue,\n currentValue: initialValue\n };\n });\n });\n var startTime = null;\n var time;\n var elementsDone = 0;\n var propsDone = 0;\n var done;\n var began = false;\n a.animating = true;\n\n function render() {\n time = new Date().getTime();\n var progress;\n var easeProgress; // let el;\n\n if (!began) {\n began = true;\n if (params.begin) params.begin(els);\n }\n\n if (startTime === null) {\n startTime = time;\n }\n\n if (params.progress) {\n // eslint-disable-next-line\n params.progress(els, Math.max(Math.min((time - startTime) / params.duration, 1), 0), startTime + params.duration - time < 0 ? 0 : startTime + params.duration - time, startTime);\n }\n\n elements.forEach(function (element) {\n var el = element;\n if (done || el.done) return;\n Object.keys(props).forEach(function (prop) {\n if (done || el.done) return;\n progress = Math.max(Math.min((time - startTime) / params.duration, 1), 0);\n easeProgress = a.easingProgress(params.easing, progress);\n var _el$prop = el[prop],\n initialValue = _el$prop.initialValue,\n finalValue = _el$prop.finalValue,\n unit = _el$prop.unit;\n el[prop].currentValue = initialValue + easeProgress * (finalValue - initialValue);\n var currentValue = el[prop].currentValue;\n\n if (finalValue > initialValue && currentValue >= finalValue || finalValue < initialValue && currentValue <= finalValue) {\n el.container.style[prop] = finalValue + unit;\n propsDone += 1;\n\n if (propsDone === Object.keys(props).length) {\n el.done = true;\n elementsDone += 1;\n }\n\n if (elementsDone === elements.length) {\n done = true;\n }\n }\n\n if (done) {\n a.done(params.complete);\n return;\n }\n\n el.container.style[prop] = currentValue + unit;\n });\n });\n if (done) return; // Then call\n\n a.frameId = window.requestAnimationFrame(render);\n }\n\n a.frameId = window.requestAnimationFrame(render);\n return a;\n }\n };\n\n if (a.elements.length === 0) {\n return els;\n }\n\n var animateInstance;\n\n for (var i = 0; i < a.elements.length; i += 1) {\n if (a.elements[i].dom7AnimateInstance) {\n animateInstance = a.elements[i].dom7AnimateInstance;\n } else a.elements[i].dom7AnimateInstance = a;\n }\n\n if (!animateInstance) {\n animateInstance = a;\n }\n\n if (initialProps === 'stop') {\n animateInstance.stop();\n } else {\n animateInstance.animate(a.props, a.params);\n }\n\n return els;\n}\n\nfunction stop() {\n var els = this;\n\n for (var i = 0; i < els.length; i += 1) {\n if (els[i].dom7AnimateInstance) {\n els[i].dom7AnimateInstance.stop();\n }\n }\n}\n\nvar noTrigger = 'resize scroll'.split(' ');\n\nfunction shortcut(name) {\n function eventHandler() {\n for (var _len14 = arguments.length, args = new Array(_len14), _key14 = 0; _key14 < _len14; _key14++) {\n args[_key14] = arguments[_key14];\n }\n\n if (typeof args[0] === 'undefined') {\n for (var i = 0; i < this.length; i += 1) {\n if (noTrigger.indexOf(name) < 0) {\n if (name in this[i]) this[i][name]();else {\n $(this[i]).trigger(name);\n }\n }\n }\n\n return this;\n }\n\n return this.on.apply(this, [name].concat(args));\n }\n\n return eventHandler;\n}\n\nvar click = shortcut('click');\nvar blur = shortcut('blur');\nvar focus = shortcut('focus');\nvar focusin = shortcut('focusin');\nvar focusout = shortcut('focusout');\nvar keyup = shortcut('keyup');\nvar keydown = shortcut('keydown');\nvar keypress = shortcut('keypress');\nvar submit = shortcut('submit');\nvar change = shortcut('change');\nvar mousedown = shortcut('mousedown');\nvar mousemove = shortcut('mousemove');\nvar mouseup = shortcut('mouseup');\nvar mouseenter = shortcut('mouseenter');\nvar mouseleave = shortcut('mouseleave');\nvar mouseout = shortcut('mouseout');\nvar mouseover = shortcut('mouseover');\nvar touchstart = shortcut('touchstart');\nvar touchend = shortcut('touchend');\nvar touchmove = shortcut('touchmove');\nvar resize = shortcut('resize');\nvar scroll = shortcut('scroll');\nexport default $;\nexport { $, add, addClass, animate, animationEnd, append, appendTo, attr, blur, change, children, click, closest, css, data, dataset, detach, each, empty, eq, filter, find, focus, focusin, focusout, hasClass, height, hide, html, index, insertAfter, insertBefore, is, keydown, keypress, keyup, mousedown, mouseenter, mouseleave, mousemove, mouseout, mouseover, mouseup, next, nextAll, off, offset, on, once, outerHeight, outerWidth, parent, parents, prepend, prependTo, prev, prevAll, prop, remove, removeAttr, removeClass, removeData, resize, scroll, scrollLeft, scrollTo, scrollTop, show, siblings, stop, styles, submit, text, toggleClass, touchend, touchmove, touchstart, transform, transition, transitionEnd, trigger, val, value, width };","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","import { $, addClass, removeClass, hasClass, toggleClass, attr, removeAttr, transform, transition, on, off, trigger, transitionEnd, outerWidth, outerHeight, styles, offset, css, each, html, text, is, index, eq, append, prepend, next, nextAll, prev, prevAll, parent, parents, closest, find, children, filter, remove } from 'dom7';\nvar Methods = {\n addClass: addClass,\n removeClass: removeClass,\n hasClass: hasClass,\n toggleClass: toggleClass,\n attr: attr,\n removeAttr: removeAttr,\n transform: transform,\n transition: transition,\n on: on,\n off: off,\n trigger: trigger,\n transitionEnd: transitionEnd,\n outerWidth: outerWidth,\n outerHeight: outerHeight,\n styles: styles,\n offset: offset,\n css: css,\n each: each,\n html: html,\n text: text,\n is: is,\n index: index,\n eq: eq,\n append: append,\n prepend: prepend,\n next: next,\n nextAll: nextAll,\n prev: prev,\n prevAll: prevAll,\n parent: parent,\n parents: parents,\n closest: closest,\n find: find,\n children: children,\n filter: filter,\n remove: remove\n};\nObject.keys(Methods).forEach(function (methodName) {\n Object.defineProperty($.fn, methodName, {\n value: Methods[methodName],\n writable: true\n });\n});\nexport default $;","import { getWindow, getDocument } from 'ssr-window';\nvar support;\n\nfunction calcSupport() {\n var window = getWindow();\n var document = getDocument();\n return {\n smoothScroll: document.documentElement && 'scrollBehavior' in document.documentElement.style,\n touch: !!('ontouchstart' in window || window.DocumentTouch && document instanceof window.DocumentTouch),\n passiveListener: function checkPassiveListener() {\n var supportsPassive = false;\n\n try {\n var opts = Object.defineProperty({}, 'passive', {\n // eslint-disable-next-line\n get: function get() {\n supportsPassive = true;\n }\n });\n window.addEventListener('testPassiveListener', null, opts);\n } catch (e) {// No support\n }\n\n return supportsPassive;\n }(),\n gestures: function checkGestures() {\n return 'ongesturestart' in window;\n }()\n };\n}\n\nfunction getSupport() {\n if (!support) {\n support = calcSupport();\n }\n\n return support;\n}\n\nexport { getSupport };","import { getWindow } from 'ssr-window';\nimport { getSupport } from './get-support.js';\nvar deviceCached;\n\nfunction calcDevice(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n userAgent = _ref.userAgent;\n\n var support = getSupport();\n var window = getWindow();\n var platform = window.navigator.platform;\n var ua = userAgent || window.navigator.userAgent;\n var device = {\n ios: false,\n android: false\n };\n var screenWidth = window.screen.width;\n var screenHeight = window.screen.height;\n var android = ua.match(/(Android);?[\\s\\/]+([\\d.]+)?/); // eslint-disable-line\n\n var ipad = ua.match(/(iPad).*OS\\s([\\d_]+)/);\n var ipod = ua.match(/(iPod)(.*OS\\s([\\d_]+))?/);\n var iphone = !ipad && ua.match(/(iPhone\\sOS|iOS)\\s([\\d_]+)/);\n var windows = platform === 'Win32';\n var macos = platform === 'MacIntel'; // iPadOs 13 fix\n\n var iPadScreens = ['1024x1366', '1366x1024', '834x1194', '1194x834', '834x1112', '1112x834', '768x1024', '1024x768', '820x1180', '1180x820', '810x1080', '1080x810'];\n\n if (!ipad && macos && support.touch && iPadScreens.indexOf(\"\".concat(screenWidth, \"x\").concat(screenHeight)) >= 0) {\n ipad = ua.match(/(Version)\\/([\\d.]+)/);\n if (!ipad) ipad = [0, 1, '13_0_0'];\n macos = false;\n } // Android\n\n\n if (android && !windows) {\n device.os = 'android';\n device.android = true;\n }\n\n if (ipad || iphone || ipod) {\n device.os = 'ios';\n device.ios = true;\n } // Export object\n\n\n return device;\n}\n\nfunction getDevice(overrides) {\n if (overrides === void 0) {\n overrides = {};\n }\n\n if (!deviceCached) {\n deviceCached = calcDevice(overrides);\n }\n\n return deviceCached;\n}\n\nexport { getDevice };","import { getWindow } from 'ssr-window';\nvar browser;\n\nfunction calcBrowser() {\n var window = getWindow();\n\n function isSafari() {\n var ua = window.navigator.userAgent.toLowerCase();\n return ua.indexOf('safari') >= 0 && ua.indexOf('chrome') < 0 && ua.indexOf('android') < 0;\n }\n\n return {\n isSafari: isSafari(),\n isWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.navigator.userAgent)\n };\n}\n\nfunction getBrowser() {\n if (!browser) {\n browser = calcBrowser();\n }\n\n return browser;\n}\n\nexport { getBrowser };","export default function _defineProperty(obj, key, value) {\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\n return obj;\n}","import _defineProperty from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { getWindow } from 'ssr-window';\n\nfunction deleteProps(obj) {\n var object = obj;\n Object.keys(object).forEach(function (key) {\n try {\n object[key] = null;\n } catch (e) {// no getter for object\n }\n\n try {\n delete object[key];\n } catch (e) {// something got wrong\n }\n });\n}\n\nfunction nextTick(callback, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n\n return setTimeout(callback, delay);\n}\n\nfunction now() {\n return Date.now();\n}\n\nfunction getComputedStyle(el) {\n var window = getWindow();\n var style;\n\n if (window.getComputedStyle) {\n style = window.getComputedStyle(el, null);\n }\n\n if (!style && el.currentStyle) {\n style = el.currentStyle;\n }\n\n if (!style) {\n style = el.style;\n }\n\n return style;\n}\n\nfunction getTranslate(el, axis) {\n if (axis === void 0) {\n axis = 'x';\n }\n\n var window = getWindow();\n var matrix;\n var curTransform;\n var transformMatrix;\n var curStyle = getComputedStyle(el, null);\n\n if (window.WebKitCSSMatrix) {\n curTransform = curStyle.transform || curStyle.webkitTransform;\n\n if (curTransform.split(',').length > 6) {\n curTransform = curTransform.split(', ').map(function (a) {\n return a.replace(',', '.');\n }).join(', ');\n } // Some old versions of Webkit choke when 'none' is passed; pass\n // empty string instead in this case\n\n\n transformMatrix = new window.WebKitCSSMatrix(curTransform === 'none' ? '' : curTransform);\n } else {\n transformMatrix = curStyle.MozTransform || curStyle.OTransform || curStyle.MsTransform || curStyle.msTransform || curStyle.transform || curStyle.getPropertyValue('transform').replace('translate(', 'matrix(1, 0, 0, 1,');\n matrix = transformMatrix.toString().split(',');\n }\n\n if (axis === 'x') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m41; // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[12]); // Normal Browsers\n else curTransform = parseFloat(matrix[4]);\n }\n\n if (axis === 'y') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m42; // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[13]); // Normal Browsers\n else curTransform = parseFloat(matrix[5]);\n }\n\n return curTransform || 0;\n}\n\nfunction isObject(o) {\n return typeof o === 'object' && o !== null && o.constructor && Object.prototype.toString.call(o).slice(8, -1) === 'Object';\n}\n\nfunction isNode(node) {\n // eslint-disable-next-line\n if (typeof window !== 'undefined' && typeof window.HTMLElement !== 'undefined') {\n return node instanceof HTMLElement;\n }\n\n return node && (node.nodeType === 1 || node.nodeType === 11);\n}\n\nfunction extend() {\n var to = Object(arguments.length <= 0 ? undefined : arguments[0]);\n var noExtend = ['__proto__', 'constructor', 'prototype'];\n\n for (var i = 1; i < arguments.length; i += 1) {\n var nextSource = i < 0 || arguments.length <= i ? undefined : arguments[i];\n\n if (nextSource !== undefined && nextSource !== null && !isNode(nextSource)) {\n var keysArray = Object.keys(Object(nextSource)).filter(function (key) {\n return noExtend.indexOf(key) < 0;\n });\n\n for (var nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex += 1) {\n var nextKey = keysArray[nextIndex];\n var desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);\n\n if (desc !== undefined && desc.enumerable) {\n if (isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else if (!isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n to[nextKey] = {};\n\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else {\n to[nextKey] = nextSource[nextKey];\n }\n }\n }\n }\n }\n\n return to;\n}\n\nfunction setCSSProperty(el, varName, varValue) {\n el.style.setProperty(varName, varValue);\n}\n\nfunction animateCSSModeScroll(_ref) {\n var swiper = _ref.swiper,\n targetPosition = _ref.targetPosition,\n side = _ref.side;\n var window = getWindow();\n var startPosition = -swiper.translate;\n var startTime = null;\n var time;\n var duration = swiper.params.speed;\n swiper.wrapperEl.style.scrollSnapType = 'none';\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n var dir = targetPosition > startPosition ? 'next' : 'prev';\n\n var isOutOfBound = function isOutOfBound(current, target) {\n return dir === 'next' && current >= target || dir === 'prev' && current <= target;\n };\n\n var animate = function animate() {\n time = new Date().getTime();\n\n if (startTime === null) {\n startTime = time;\n }\n\n var progress = Math.max(Math.min((time - startTime) / duration, 1), 0);\n var easeProgress = 0.5 - Math.cos(progress * Math.PI) / 2;\n var currentPosition = startPosition + easeProgress * (targetPosition - startPosition);\n\n if (isOutOfBound(currentPosition, targetPosition)) {\n currentPosition = targetPosition;\n }\n\n swiper.wrapperEl.scrollTo(_defineProperty({}, side, currentPosition));\n\n if (isOutOfBound(currentPosition, targetPosition)) {\n swiper.wrapperEl.style.overflow = 'hidden';\n swiper.wrapperEl.style.scrollSnapType = '';\n setTimeout(function () {\n swiper.wrapperEl.style.overflow = '';\n swiper.wrapperEl.scrollTo(_defineProperty({}, side, currentPosition));\n });\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n return;\n }\n\n swiper.cssModeFrameID = window.requestAnimationFrame(animate);\n };\n\n animate();\n}\n\nexport { animateCSSModeScroll, deleteProps, nextTick, now, getTranslate, isObject, extend, getComputedStyle, setCSSProperty };","import _toConsumableArray from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\";\n\n/* eslint-disable no-underscore-dangle */\nexport default {\n on: function on(events, handler, priority) {\n var self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (typeof handler !== 'function') return self;\n var method = priority ? 'unshift' : 'push';\n events.split(' ').forEach(function (event) {\n if (!self.eventsListeners[event]) self.eventsListeners[event] = [];\n self.eventsListeners[event][method](handler);\n });\n return self;\n },\n once: function once(events, handler, priority) {\n var self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (typeof handler !== 'function') return self;\n\n function onceHandler() {\n self.off(events, onceHandler);\n\n if (onceHandler.__emitterProxy) {\n delete onceHandler.__emitterProxy;\n }\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n handler.apply(self, args);\n }\n\n onceHandler.__emitterProxy = handler;\n return self.on(events, onceHandler, priority);\n },\n onAny: function onAny(handler, priority) {\n var self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (typeof handler !== 'function') return self;\n var method = priority ? 'unshift' : 'push';\n\n if (self.eventsAnyListeners.indexOf(handler) < 0) {\n self.eventsAnyListeners[method](handler);\n }\n\n return self;\n },\n offAny: function offAny(handler) {\n var self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (!self.eventsAnyListeners) return self;\n var index = self.eventsAnyListeners.indexOf(handler);\n\n if (index >= 0) {\n self.eventsAnyListeners.splice(index, 1);\n }\n\n return self;\n },\n off: function off(events, handler) {\n var self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (!self.eventsListeners) return self;\n events.split(' ').forEach(function (event) {\n if (typeof handler === 'undefined') {\n self.eventsListeners[event] = [];\n } else if (self.eventsListeners[event]) {\n self.eventsListeners[event].forEach(function (eventHandler, index) {\n if (eventHandler === handler || eventHandler.__emitterProxy && eventHandler.__emitterProxy === handler) {\n self.eventsListeners[event].splice(index, 1);\n }\n });\n }\n });\n return self;\n },\n emit: function emit() {\n var self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (!self.eventsListeners) return self;\n var events;\n var data;\n var context;\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n if (typeof args[0] === 'string' || Array.isArray(args[0])) {\n events = args[0];\n data = args.slice(1, args.length);\n context = self;\n } else {\n events = args[0].events;\n data = args[0].data;\n context = args[0].context || self;\n }\n\n data.unshift(context);\n var eventsArray = Array.isArray(events) ? events : events.split(' ');\n eventsArray.forEach(function (event) {\n if (self.eventsAnyListeners && self.eventsAnyListeners.length) {\n self.eventsAnyListeners.forEach(function (eventHandler) {\n eventHandler.apply(context, [event].concat(_toConsumableArray(data)));\n });\n }\n\n if (self.eventsListeners && self.eventsListeners[event]) {\n self.eventsListeners[event].forEach(function (eventHandler) {\n eventHandler.apply(context, data);\n });\n }\n });\n return self;\n }\n};","import updateSize from './updateSize.js';\nimport updateSlides from './updateSlides.js';\nimport updateAutoHeight from './updateAutoHeight.js';\nimport updateSlidesOffset from './updateSlidesOffset.js';\nimport updateSlidesProgress from './updateSlidesProgress.js';\nimport updateProgress from './updateProgress.js';\nimport updateSlidesClasses from './updateSlidesClasses.js';\nimport updateActiveIndex from './updateActiveIndex.js';\nimport updateClickedSlide from './updateClickedSlide.js';\nexport default {\n updateSize: updateSize,\n updateSlides: updateSlides,\n updateAutoHeight: updateAutoHeight,\n updateSlidesOffset: updateSlidesOffset,\n updateSlidesProgress: updateSlidesProgress,\n updateProgress: updateProgress,\n updateSlidesClasses: updateSlidesClasses,\n updateActiveIndex: updateActiveIndex,\n updateClickedSlide: updateClickedSlide\n};","export default function updateSize() {\n var swiper = this;\n var width;\n var height;\n var $el = swiper.$el;\n\n if (typeof swiper.params.width !== 'undefined' && swiper.params.width !== null) {\n width = swiper.params.width;\n } else {\n width = $el[0].clientWidth;\n }\n\n if (typeof swiper.params.height !== 'undefined' && swiper.params.height !== null) {\n height = swiper.params.height;\n } else {\n height = $el[0].clientHeight;\n }\n\n if (width === 0 && swiper.isHorizontal() || height === 0 && swiper.isVertical()) {\n return;\n } // Subtract paddings\n\n\n width = width - parseInt($el.css('padding-left') || 0, 10) - parseInt($el.css('padding-right') || 0, 10);\n height = height - parseInt($el.css('padding-top') || 0, 10) - parseInt($el.css('padding-bottom') || 0, 10);\n if (Number.isNaN(width)) width = 0;\n if (Number.isNaN(height)) height = 0;\n Object.assign(swiper, {\n width: width,\n height: height,\n size: swiper.isHorizontal() ? width : height\n });\n}","import _defineProperty from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { setCSSProperty } from '../../shared/utils.js';\nexport default function updateSlides() {\n var swiper = this;\n\n function getDirectionLabel(property) {\n if (swiper.isHorizontal()) {\n return property;\n } // prettier-ignore\n\n\n return {\n 'width': 'height',\n 'margin-top': 'margin-left',\n 'margin-bottom ': 'margin-right',\n 'margin-left': 'margin-top',\n 'margin-right': 'margin-bottom',\n 'padding-left': 'padding-top',\n 'padding-right': 'padding-bottom',\n 'marginRight': 'marginBottom'\n }[property];\n }\n\n function getDirectionPropertyValue(node, label) {\n return parseFloat(node.getPropertyValue(getDirectionLabel(label)) || 0);\n }\n\n var params = swiper.params;\n var $wrapperEl = swiper.$wrapperEl,\n swiperSize = swiper.size,\n rtl = swiper.rtlTranslate,\n wrongRTL = swiper.wrongRTL;\n var isVirtual = swiper.virtual && params.virtual.enabled;\n var previousSlidesLength = isVirtual ? swiper.virtual.slides.length : swiper.slides.length;\n var slides = $wrapperEl.children(\".\".concat(swiper.params.slideClass));\n var slidesLength = isVirtual ? swiper.virtual.slides.length : slides.length;\n var snapGrid = [];\n var slidesGrid = [];\n var slidesSizesGrid = [];\n var offsetBefore = params.slidesOffsetBefore;\n\n if (typeof offsetBefore === 'function') {\n offsetBefore = params.slidesOffsetBefore.call(swiper);\n }\n\n var offsetAfter = params.slidesOffsetAfter;\n\n if (typeof offsetAfter === 'function') {\n offsetAfter = params.slidesOffsetAfter.call(swiper);\n }\n\n var previousSnapGridLength = swiper.snapGrid.length;\n var previousSlidesGridLength = swiper.slidesGrid.length;\n var spaceBetween = params.spaceBetween;\n var slidePosition = -offsetBefore;\n var prevSlideSize = 0;\n var index = 0;\n\n if (typeof swiperSize === 'undefined') {\n return;\n }\n\n if (typeof spaceBetween === 'string' && spaceBetween.indexOf('%') >= 0) {\n spaceBetween = parseFloat(spaceBetween.replace('%', '')) / 100 * swiperSize;\n }\n\n swiper.virtualSize = -spaceBetween; // reset margins\n\n if (rtl) slides.css({\n marginLeft: '',\n marginBottom: '',\n marginTop: ''\n });else slides.css({\n marginRight: '',\n marginBottom: '',\n marginTop: ''\n }); // reset cssMode offsets\n\n if (params.centeredSlides && params.cssMode) {\n setCSSProperty(swiper.wrapperEl, '--swiper-centered-offset-before', '');\n setCSSProperty(swiper.wrapperEl, '--swiper-centered-offset-after', '');\n }\n\n var gridEnabled = params.grid && params.grid.rows > 1 && swiper.grid;\n\n if (gridEnabled) {\n swiper.grid.initSlides(slidesLength);\n } // Calc slides\n\n\n var slideSize;\n var shouldResetSlideSize = params.slidesPerView === 'auto' && params.breakpoints && Object.keys(params.breakpoints).filter(function (key) {\n return typeof params.breakpoints[key].slidesPerView !== 'undefined';\n }).length > 0;\n\n for (var i = 0; i < slidesLength; i += 1) {\n slideSize = 0;\n var slide = slides.eq(i);\n\n if (gridEnabled) {\n swiper.grid.updateSlide(i, slide, slidesLength, getDirectionLabel);\n }\n\n if (slide.css('display') === 'none') continue; // eslint-disable-line\n\n if (params.slidesPerView === 'auto') {\n if (shouldResetSlideSize) {\n slides[i].style[getDirectionLabel('width')] = \"\";\n }\n\n var slideStyles = getComputedStyle(slide[0]);\n var currentTransform = slide[0].style.transform;\n var currentWebKitTransform = slide[0].style.webkitTransform;\n\n if (currentTransform) {\n slide[0].style.transform = 'none';\n }\n\n if (currentWebKitTransform) {\n slide[0].style.webkitTransform = 'none';\n }\n\n if (params.roundLengths) {\n slideSize = swiper.isHorizontal() ? slide.outerWidth(true) : slide.outerHeight(true);\n } else {\n // eslint-disable-next-line\n var width = getDirectionPropertyValue(slideStyles, 'width');\n var paddingLeft = getDirectionPropertyValue(slideStyles, 'padding-left');\n var paddingRight = getDirectionPropertyValue(slideStyles, 'padding-right');\n var marginLeft = getDirectionPropertyValue(slideStyles, 'margin-left');\n var marginRight = getDirectionPropertyValue(slideStyles, 'margin-right');\n var boxSizing = slideStyles.getPropertyValue('box-sizing');\n\n if (boxSizing && boxSizing === 'border-box') {\n slideSize = width + marginLeft + marginRight;\n } else {\n var _slide$ = slide[0],\n clientWidth = _slide$.clientWidth,\n offsetWidth = _slide$.offsetWidth;\n slideSize = width + paddingLeft + paddingRight + marginLeft + marginRight + (offsetWidth - clientWidth);\n }\n }\n\n if (currentTransform) {\n slide[0].style.transform = currentTransform;\n }\n\n if (currentWebKitTransform) {\n slide[0].style.webkitTransform = currentWebKitTransform;\n }\n\n if (params.roundLengths) slideSize = Math.floor(slideSize);\n } else {\n slideSize = (swiperSize - (params.slidesPerView - 1) * spaceBetween) / params.slidesPerView;\n if (params.roundLengths) slideSize = Math.floor(slideSize);\n\n if (slides[i]) {\n slides[i].style[getDirectionLabel('width')] = \"\".concat(slideSize, \"px\");\n }\n }\n\n if (slides[i]) {\n slides[i].swiperSlideSize = slideSize;\n }\n\n slidesSizesGrid.push(slideSize);\n\n if (params.centeredSlides) {\n slidePosition = slidePosition + slideSize / 2 + prevSlideSize / 2 + spaceBetween;\n if (prevSlideSize === 0 && i !== 0) slidePosition = slidePosition - swiperSize / 2 - spaceBetween;\n if (i === 0) slidePosition = slidePosition - swiperSize / 2 - spaceBetween;\n if (Math.abs(slidePosition) < 1 / 1000) slidePosition = 0;\n if (params.roundLengths) slidePosition = Math.floor(slidePosition);\n if (index % params.slidesPerGroup === 0) snapGrid.push(slidePosition);\n slidesGrid.push(slidePosition);\n } else {\n if (params.roundLengths) slidePosition = Math.floor(slidePosition);\n if ((index - Math.min(swiper.params.slidesPerGroupSkip, index)) % swiper.params.slidesPerGroup === 0) snapGrid.push(slidePosition);\n slidesGrid.push(slidePosition);\n slidePosition = slidePosition + slideSize + spaceBetween;\n }\n\n swiper.virtualSize += slideSize + spaceBetween;\n prevSlideSize = slideSize;\n index += 1;\n }\n\n swiper.virtualSize = Math.max(swiper.virtualSize, swiperSize) + offsetAfter;\n\n if (rtl && wrongRTL && (params.effect === 'slide' || params.effect === 'coverflow')) {\n $wrapperEl.css({\n width: \"\".concat(swiper.virtualSize + params.spaceBetween, \"px\")\n });\n }\n\n if (params.setWrapperSize) {\n $wrapperEl.css(_defineProperty({}, getDirectionLabel('width'), \"\".concat(swiper.virtualSize + params.spaceBetween, \"px\")));\n }\n\n if (gridEnabled) {\n swiper.grid.updateWrapperSize(slideSize, snapGrid, getDirectionLabel);\n } // Remove last grid elements depending on width\n\n\n if (!params.centeredSlides) {\n var newSlidesGrid = [];\n\n for (var _i = 0; _i < snapGrid.length; _i += 1) {\n var slidesGridItem = snapGrid[_i];\n if (params.roundLengths) slidesGridItem = Math.floor(slidesGridItem);\n\n if (snapGrid[_i] <= swiper.virtualSize - swiperSize) {\n newSlidesGrid.push(slidesGridItem);\n }\n }\n\n snapGrid = newSlidesGrid;\n\n if (Math.floor(swiper.virtualSize - swiperSize) - Math.floor(snapGrid[snapGrid.length - 1]) > 1) {\n snapGrid.push(swiper.virtualSize - swiperSize);\n }\n }\n\n if (snapGrid.length === 0) snapGrid = [0];\n\n if (params.spaceBetween !== 0) {\n var key = swiper.isHorizontal() && rtl ? 'marginLeft' : getDirectionLabel('marginRight');\n slides.filter(function (_, slideIndex) {\n if (!params.cssMode) return true;\n\n if (slideIndex === slides.length - 1) {\n return false;\n }\n\n return true;\n }).css(_defineProperty({}, key, \"\".concat(spaceBetween, \"px\")));\n }\n\n if (params.centeredSlides && params.centeredSlidesBounds) {\n var allSlidesSize = 0;\n slidesSizesGrid.forEach(function (slideSizeValue) {\n allSlidesSize += slideSizeValue + (params.spaceBetween ? params.spaceBetween : 0);\n });\n allSlidesSize -= params.spaceBetween;\n var maxSnap = allSlidesSize - swiperSize;\n snapGrid = snapGrid.map(function (snap) {\n if (snap < 0) return -offsetBefore;\n if (snap > maxSnap) return maxSnap + offsetAfter;\n return snap;\n });\n }\n\n if (params.centerInsufficientSlides) {\n var _allSlidesSize = 0;\n slidesSizesGrid.forEach(function (slideSizeValue) {\n _allSlidesSize += slideSizeValue + (params.spaceBetween ? params.spaceBetween : 0);\n });\n _allSlidesSize -= params.spaceBetween;\n\n if (_allSlidesSize < swiperSize) {\n var allSlidesOffset = (swiperSize - _allSlidesSize) / 2;\n snapGrid.forEach(function (snap, snapIndex) {\n snapGrid[snapIndex] = snap - allSlidesOffset;\n });\n slidesGrid.forEach(function (snap, snapIndex) {\n slidesGrid[snapIndex] = snap + allSlidesOffset;\n });\n }\n }\n\n Object.assign(swiper, {\n slides: slides,\n snapGrid: snapGrid,\n slidesGrid: slidesGrid,\n slidesSizesGrid: slidesSizesGrid\n });\n\n if (params.centeredSlides && params.cssMode && !params.centeredSlidesBounds) {\n setCSSProperty(swiper.wrapperEl, '--swiper-centered-offset-before', \"\".concat(-snapGrid[0], \"px\"));\n setCSSProperty(swiper.wrapperEl, '--swiper-centered-offset-after', \"\".concat(swiper.size / 2 - slidesSizesGrid[slidesSizesGrid.length - 1] / 2, \"px\"));\n var addToSnapGrid = -swiper.snapGrid[0];\n var addToSlidesGrid = -swiper.slidesGrid[0];\n swiper.snapGrid = swiper.snapGrid.map(function (v) {\n return v + addToSnapGrid;\n });\n swiper.slidesGrid = swiper.slidesGrid.map(function (v) {\n return v + addToSlidesGrid;\n });\n }\n\n if (slidesLength !== previousSlidesLength) {\n swiper.emit('slidesLengthChange');\n }\n\n if (snapGrid.length !== previousSnapGridLength) {\n if (swiper.params.watchOverflow) swiper.checkOverflow();\n swiper.emit('snapGridLengthChange');\n }\n\n if (slidesGrid.length !== previousSlidesGridLength) {\n swiper.emit('slidesGridLengthChange');\n }\n\n if (params.watchSlidesProgress) {\n swiper.updateSlidesOffset();\n }\n\n if (!isVirtual && !params.cssMode && (params.effect === 'slide' || params.effect === 'fade')) {\n var backFaceHiddenClass = \"\".concat(params.containerModifierClass, \"backface-hidden\");\n var hasClassBackfaceClassAdded = swiper.$el.hasClass(backFaceHiddenClass);\n\n if (slidesLength <= params.maxBackfaceHiddenSlides) {\n if (!hasClassBackfaceClassAdded) swiper.$el.addClass(backFaceHiddenClass);\n } else if (hasClassBackfaceClassAdded) {\n swiper.$el.removeClass(backFaceHiddenClass);\n }\n }\n}","import $ from '../../shared/dom.js';\nexport default function updateAutoHeight(speed) {\n var swiper = this;\n var activeSlides = [];\n var isVirtual = swiper.virtual && swiper.params.virtual.enabled;\n var newHeight = 0;\n var i;\n\n if (typeof speed === 'number') {\n swiper.setTransition(speed);\n } else if (speed === true) {\n swiper.setTransition(swiper.params.speed);\n }\n\n var getSlideByIndex = function getSlideByIndex(index) {\n if (isVirtual) {\n return swiper.slides.filter(function (el) {\n return parseInt(el.getAttribute('data-swiper-slide-index'), 10) === index;\n })[0];\n }\n\n return swiper.slides.eq(index)[0];\n }; // Find slides currently in view\n\n\n if (swiper.params.slidesPerView !== 'auto' && swiper.params.slidesPerView > 1) {\n if (swiper.params.centeredSlides) {\n (swiper.visibleSlides || $([])).each(function (slide) {\n activeSlides.push(slide);\n });\n } else {\n for (i = 0; i < Math.ceil(swiper.params.slidesPerView); i += 1) {\n var index = swiper.activeIndex + i;\n if (index > swiper.slides.length && !isVirtual) break;\n activeSlides.push(getSlideByIndex(index));\n }\n }\n } else {\n activeSlides.push(getSlideByIndex(swiper.activeIndex));\n } // Find new height from highest slide in view\n\n\n for (i = 0; i < activeSlides.length; i += 1) {\n if (typeof activeSlides[i] !== 'undefined') {\n var height = activeSlides[i].offsetHeight;\n newHeight = height > newHeight ? height : newHeight;\n }\n } // Update Height\n\n\n if (newHeight || newHeight === 0) swiper.$wrapperEl.css('height', \"\".concat(newHeight, \"px\"));\n}","export default function updateSlidesOffset() {\n var swiper = this;\n var slides = swiper.slides;\n\n for (var i = 0; i < slides.length; i += 1) {\n slides[i].swiperSlideOffset = swiper.isHorizontal() ? slides[i].offsetLeft : slides[i].offsetTop;\n }\n}","import $ from '../../shared/dom.js';\nexport default function updateSlidesProgress(translate) {\n if (translate === void 0) {\n translate = this && this.translate || 0;\n }\n\n var swiper = this;\n var params = swiper.params;\n var slides = swiper.slides,\n rtl = swiper.rtlTranslate,\n snapGrid = swiper.snapGrid;\n if (slides.length === 0) return;\n if (typeof slides[0].swiperSlideOffset === 'undefined') swiper.updateSlidesOffset();\n var offsetCenter = -translate;\n if (rtl) offsetCenter = translate; // Visible Slides\n\n slides.removeClass(params.slideVisibleClass);\n swiper.visibleSlidesIndexes = [];\n swiper.visibleSlides = [];\n\n for (var i = 0; i < slides.length; i += 1) {\n var slide = slides[i];\n var slideOffset = slide.swiperSlideOffset;\n\n if (params.cssMode && params.centeredSlides) {\n slideOffset -= slides[0].swiperSlideOffset;\n }\n\n var slideProgress = (offsetCenter + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + params.spaceBetween);\n var originalSlideProgress = (offsetCenter - snapGrid[0] + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + params.spaceBetween);\n var slideBefore = -(offsetCenter - slideOffset);\n var slideAfter = slideBefore + swiper.slidesSizesGrid[i];\n var isVisible = slideBefore >= 0 && slideBefore < swiper.size - 1 || slideAfter > 1 && slideAfter <= swiper.size || slideBefore <= 0 && slideAfter >= swiper.size;\n\n if (isVisible) {\n swiper.visibleSlides.push(slide);\n swiper.visibleSlidesIndexes.push(i);\n slides.eq(i).addClass(params.slideVisibleClass);\n }\n\n slide.progress = rtl ? -slideProgress : slideProgress;\n slide.originalProgress = rtl ? -originalSlideProgress : originalSlideProgress;\n }\n\n swiper.visibleSlides = $(swiper.visibleSlides);\n}","export default function updateProgress(translate) {\n var swiper = this;\n\n if (typeof translate === 'undefined') {\n var multiplier = swiper.rtlTranslate ? -1 : 1; // eslint-disable-next-line\n\n translate = swiper && swiper.translate && swiper.translate * multiplier || 0;\n }\n\n var params = swiper.params;\n var translatesDiff = swiper.maxTranslate() - swiper.minTranslate();\n var progress = swiper.progress,\n isBeginning = swiper.isBeginning,\n isEnd = swiper.isEnd;\n var wasBeginning = isBeginning;\n var wasEnd = isEnd;\n\n if (translatesDiff === 0) {\n progress = 0;\n isBeginning = true;\n isEnd = true;\n } else {\n progress = (translate - swiper.minTranslate()) / translatesDiff;\n isBeginning = progress <= 0;\n isEnd = progress >= 1;\n }\n\n Object.assign(swiper, {\n progress: progress,\n isBeginning: isBeginning,\n isEnd: isEnd\n });\n if (params.watchSlidesProgress || params.centeredSlides && params.autoHeight) swiper.updateSlidesProgress(translate);\n\n if (isBeginning && !wasBeginning) {\n swiper.emit('reachBeginning toEdge');\n }\n\n if (isEnd && !wasEnd) {\n swiper.emit('reachEnd toEdge');\n }\n\n if (wasBeginning && !isBeginning || wasEnd && !isEnd) {\n swiper.emit('fromEdge');\n }\n\n swiper.emit('progress', progress);\n}","export default function updateSlidesClasses() {\n var swiper = this;\n var slides = swiper.slides,\n params = swiper.params,\n $wrapperEl = swiper.$wrapperEl,\n activeIndex = swiper.activeIndex,\n realIndex = swiper.realIndex;\n var isVirtual = swiper.virtual && params.virtual.enabled;\n slides.removeClass(\"\".concat(params.slideActiveClass, \" \").concat(params.slideNextClass, \" \").concat(params.slidePrevClass, \" \").concat(params.slideDuplicateActiveClass, \" \").concat(params.slideDuplicateNextClass, \" \").concat(params.slideDuplicatePrevClass));\n var activeSlide;\n\n if (isVirtual) {\n activeSlide = swiper.$wrapperEl.find(\".\".concat(params.slideClass, \"[data-swiper-slide-index=\\\"\").concat(activeIndex, \"\\\"]\"));\n } else {\n activeSlide = slides.eq(activeIndex);\n } // Active classes\n\n\n activeSlide.addClass(params.slideActiveClass);\n\n if (params.loop) {\n // Duplicate to all looped slides\n if (activeSlide.hasClass(params.slideDuplicateClass)) {\n $wrapperEl.children(\".\".concat(params.slideClass, \":not(.\").concat(params.slideDuplicateClass, \")[data-swiper-slide-index=\\\"\").concat(realIndex, \"\\\"]\")).addClass(params.slideDuplicateActiveClass);\n } else {\n $wrapperEl.children(\".\".concat(params.slideClass, \".\").concat(params.slideDuplicateClass, \"[data-swiper-slide-index=\\\"\").concat(realIndex, \"\\\"]\")).addClass(params.slideDuplicateActiveClass);\n }\n } // Next Slide\n\n\n var nextSlide = activeSlide.nextAll(\".\".concat(params.slideClass)).eq(0).addClass(params.slideNextClass);\n\n if (params.loop && nextSlide.length === 0) {\n nextSlide = slides.eq(0);\n nextSlide.addClass(params.slideNextClass);\n } // Prev Slide\n\n\n var prevSlide = activeSlide.prevAll(\".\".concat(params.slideClass)).eq(0).addClass(params.slidePrevClass);\n\n if (params.loop && prevSlide.length === 0) {\n prevSlide = slides.eq(-1);\n prevSlide.addClass(params.slidePrevClass);\n }\n\n if (params.loop) {\n // Duplicate to all looped slides\n if (nextSlide.hasClass(params.slideDuplicateClass)) {\n $wrapperEl.children(\".\".concat(params.slideClass, \":not(.\").concat(params.slideDuplicateClass, \")[data-swiper-slide-index=\\\"\").concat(nextSlide.attr('data-swiper-slide-index'), \"\\\"]\")).addClass(params.slideDuplicateNextClass);\n } else {\n $wrapperEl.children(\".\".concat(params.slideClass, \".\").concat(params.slideDuplicateClass, \"[data-swiper-slide-index=\\\"\").concat(nextSlide.attr('data-swiper-slide-index'), \"\\\"]\")).addClass(params.slideDuplicateNextClass);\n }\n\n if (prevSlide.hasClass(params.slideDuplicateClass)) {\n $wrapperEl.children(\".\".concat(params.slideClass, \":not(.\").concat(params.slideDuplicateClass, \")[data-swiper-slide-index=\\\"\").concat(prevSlide.attr('data-swiper-slide-index'), \"\\\"]\")).addClass(params.slideDuplicatePrevClass);\n } else {\n $wrapperEl.children(\".\".concat(params.slideClass, \".\").concat(params.slideDuplicateClass, \"[data-swiper-slide-index=\\\"\").concat(prevSlide.attr('data-swiper-slide-index'), \"\\\"]\")).addClass(params.slideDuplicatePrevClass);\n }\n }\n\n swiper.emitSlidesClasses();\n}","export default function updateActiveIndex(newActiveIndex) {\n var swiper = this;\n var translate = swiper.rtlTranslate ? swiper.translate : -swiper.translate;\n var slidesGrid = swiper.slidesGrid,\n snapGrid = swiper.snapGrid,\n params = swiper.params,\n previousIndex = swiper.activeIndex,\n previousRealIndex = swiper.realIndex,\n previousSnapIndex = swiper.snapIndex;\n var activeIndex = newActiveIndex;\n var snapIndex;\n\n if (typeof activeIndex === 'undefined') {\n for (var i = 0; i < slidesGrid.length; i += 1) {\n if (typeof slidesGrid[i + 1] !== 'undefined') {\n if (translate >= slidesGrid[i] && translate < slidesGrid[i + 1] - (slidesGrid[i + 1] - slidesGrid[i]) / 2) {\n activeIndex = i;\n } else if (translate >= slidesGrid[i] && translate < slidesGrid[i + 1]) {\n activeIndex = i + 1;\n }\n } else if (translate >= slidesGrid[i]) {\n activeIndex = i;\n }\n } // Normalize slideIndex\n\n\n if (params.normalizeSlideIndex) {\n if (activeIndex < 0 || typeof activeIndex === 'undefined') activeIndex = 0;\n }\n }\n\n if (snapGrid.indexOf(translate) >= 0) {\n snapIndex = snapGrid.indexOf(translate);\n } else {\n var skip = Math.min(params.slidesPerGroupSkip, activeIndex);\n snapIndex = skip + Math.floor((activeIndex - skip) / params.slidesPerGroup);\n }\n\n if (snapIndex >= snapGrid.length) snapIndex = snapGrid.length - 1;\n\n if (activeIndex === previousIndex) {\n if (snapIndex !== previousSnapIndex) {\n swiper.snapIndex = snapIndex;\n swiper.emit('snapIndexChange');\n }\n\n return;\n } // Get real index\n\n\n var realIndex = parseInt(swiper.slides.eq(activeIndex).attr('data-swiper-slide-index') || activeIndex, 10);\n Object.assign(swiper, {\n snapIndex: snapIndex,\n realIndex: realIndex,\n previousIndex: previousIndex,\n activeIndex: activeIndex\n });\n swiper.emit('activeIndexChange');\n swiper.emit('snapIndexChange');\n\n if (previousRealIndex !== realIndex) {\n swiper.emit('realIndexChange');\n }\n\n if (swiper.initialized || swiper.params.runCallbacksOnInit) {\n swiper.emit('slideChange');\n }\n}","import $ from '../../shared/dom.js';\nexport default function updateClickedSlide(e) {\n var swiper = this;\n var params = swiper.params;\n var slide = $(e).closest(\".\".concat(params.slideClass))[0];\n var slideFound = false;\n var slideIndex;\n\n if (slide) {\n for (var i = 0; i < swiper.slides.length; i += 1) {\n if (swiper.slides[i] === slide) {\n slideFound = true;\n slideIndex = i;\n break;\n }\n }\n }\n\n if (slide && slideFound) {\n swiper.clickedSlide = slide;\n\n if (swiper.virtual && swiper.params.virtual.enabled) {\n swiper.clickedIndex = parseInt($(slide).attr('data-swiper-slide-index'), 10);\n } else {\n swiper.clickedIndex = slideIndex;\n }\n } else {\n swiper.clickedSlide = undefined;\n swiper.clickedIndex = undefined;\n return;\n }\n\n if (params.slideToClickedSlide && swiper.clickedIndex !== undefined && swiper.clickedIndex !== swiper.activeIndex) {\n swiper.slideToClickedSlide();\n }\n}","import getTranslate from './getTranslate.js';\nimport setTranslate from './setTranslate.js';\nimport minTranslate from './minTranslate.js';\nimport maxTranslate from './maxTranslate.js';\nimport translateTo from './translateTo.js';\nexport default {\n getTranslate: getTranslate,\n setTranslate: setTranslate,\n minTranslate: minTranslate,\n maxTranslate: maxTranslate,\n translateTo: translateTo\n};","import { getTranslate } from '../../shared/utils.js';\nexport default function getSwiperTranslate(axis) {\n if (axis === void 0) {\n axis = this.isHorizontal() ? 'x' : 'y';\n }\n\n var swiper = this;\n var params = swiper.params,\n rtl = swiper.rtlTranslate,\n translate = swiper.translate,\n $wrapperEl = swiper.$wrapperEl;\n\n if (params.virtualTranslate) {\n return rtl ? -translate : translate;\n }\n\n if (params.cssMode) {\n return translate;\n }\n\n var currentTranslate = getTranslate($wrapperEl[0], axis);\n if (rtl) currentTranslate = -currentTranslate;\n return currentTranslate || 0;\n}","export default function setTranslate(translate, byController) {\n var swiper = this;\n var rtl = swiper.rtlTranslate,\n params = swiper.params,\n $wrapperEl = swiper.$wrapperEl,\n wrapperEl = swiper.wrapperEl,\n progress = swiper.progress;\n var x = 0;\n var y = 0;\n var z = 0;\n\n if (swiper.isHorizontal()) {\n x = rtl ? -translate : translate;\n } else {\n y = translate;\n }\n\n if (params.roundLengths) {\n x = Math.floor(x);\n y = Math.floor(y);\n }\n\n if (params.cssMode) {\n wrapperEl[swiper.isHorizontal() ? 'scrollLeft' : 'scrollTop'] = swiper.isHorizontal() ? -x : -y;\n } else if (!params.virtualTranslate) {\n $wrapperEl.transform(\"translate3d(\".concat(x, \"px, \").concat(y, \"px, \").concat(z, \"px)\"));\n }\n\n swiper.previousTranslate = swiper.translate;\n swiper.translate = swiper.isHorizontal() ? x : y; // Check if we need to update progress\n\n var newProgress;\n var translatesDiff = swiper.maxTranslate() - swiper.minTranslate();\n\n if (translatesDiff === 0) {\n newProgress = 0;\n } else {\n newProgress = (translate - swiper.minTranslate()) / translatesDiff;\n }\n\n if (newProgress !== progress) {\n swiper.updateProgress(translate);\n }\n\n swiper.emit('setTranslate', swiper.translate, byController);\n}","export default function minTranslate() {\n return -this.snapGrid[0];\n}","export default function maxTranslate() {\n return -this.snapGrid[this.snapGrid.length - 1];\n}","import _defineProperty from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { animateCSSModeScroll } from '../../shared/utils.js';\nexport default function translateTo(translate, speed, runCallbacks, translateBounds, internal) {\n if (translate === void 0) {\n translate = 0;\n }\n\n if (speed === void 0) {\n speed = this.params.speed;\n }\n\n if (runCallbacks === void 0) {\n runCallbacks = true;\n }\n\n if (translateBounds === void 0) {\n translateBounds = true;\n }\n\n var swiper = this;\n var params = swiper.params,\n wrapperEl = swiper.wrapperEl;\n\n if (swiper.animating && params.preventInteractionOnTransition) {\n return false;\n }\n\n var minTranslate = swiper.minTranslate();\n var maxTranslate = swiper.maxTranslate();\n var newTranslate;\n if (translateBounds && translate > minTranslate) newTranslate = minTranslate;else if (translateBounds && translate < maxTranslate) newTranslate = maxTranslate;else newTranslate = translate; // Update progress\n\n swiper.updateProgress(newTranslate);\n\n if (params.cssMode) {\n var isH = swiper.isHorizontal();\n\n if (speed === 0) {\n wrapperEl[isH ? 'scrollLeft' : 'scrollTop'] = -newTranslate;\n } else {\n var _wrapperEl$scrollTo;\n\n if (!swiper.support.smoothScroll) {\n animateCSSModeScroll({\n swiper: swiper,\n targetPosition: -newTranslate,\n side: isH ? 'left' : 'top'\n });\n return true;\n }\n\n wrapperEl.scrollTo((_wrapperEl$scrollTo = {}, _defineProperty(_wrapperEl$scrollTo, isH ? 'left' : 'top', -newTranslate), _defineProperty(_wrapperEl$scrollTo, \"behavior\", 'smooth'), _wrapperEl$scrollTo));\n }\n\n return true;\n }\n\n if (speed === 0) {\n swiper.setTransition(0);\n swiper.setTranslate(newTranslate);\n\n if (runCallbacks) {\n swiper.emit('beforeTransitionStart', speed, internal);\n swiper.emit('transitionEnd');\n }\n } else {\n swiper.setTransition(speed);\n swiper.setTranslate(newTranslate);\n\n if (runCallbacks) {\n swiper.emit('beforeTransitionStart', speed, internal);\n swiper.emit('transitionStart');\n }\n\n if (!swiper.animating) {\n swiper.animating = true;\n\n if (!swiper.onTranslateToWrapperTransitionEnd) {\n swiper.onTranslateToWrapperTransitionEnd = function transitionEnd(e) {\n if (!swiper || swiper.destroyed) return;\n if (e.target !== this) return;\n swiper.$wrapperEl[0].removeEventListener('transitionend', swiper.onTranslateToWrapperTransitionEnd);\n swiper.$wrapperEl[0].removeEventListener('webkitTransitionEnd', swiper.onTranslateToWrapperTransitionEnd);\n swiper.onTranslateToWrapperTransitionEnd = null;\n delete swiper.onTranslateToWrapperTransitionEnd;\n\n if (runCallbacks) {\n swiper.emit('transitionEnd');\n }\n };\n }\n\n swiper.$wrapperEl[0].addEventListener('transitionend', swiper.onTranslateToWrapperTransitionEnd);\n swiper.$wrapperEl[0].addEventListener('webkitTransitionEnd', swiper.onTranslateToWrapperTransitionEnd);\n }\n }\n\n return true;\n}","export default function transitionEmit(_ref) {\n var swiper = _ref.swiper,\n runCallbacks = _ref.runCallbacks,\n direction = _ref.direction,\n step = _ref.step;\n var activeIndex = swiper.activeIndex,\n previousIndex = swiper.previousIndex;\n var dir = direction;\n\n if (!dir) {\n if (activeIndex > previousIndex) dir = 'next';else if (activeIndex < previousIndex) dir = 'prev';else dir = 'reset';\n }\n\n swiper.emit(\"transition\".concat(step));\n\n if (runCallbacks && activeIndex !== previousIndex) {\n if (dir === 'reset') {\n swiper.emit(\"slideResetTransition\".concat(step));\n return;\n }\n\n swiper.emit(\"slideChangeTransition\".concat(step));\n\n if (dir === 'next') {\n swiper.emit(\"slideNextTransition\".concat(step));\n } else {\n swiper.emit(\"slidePrevTransition\".concat(step));\n }\n }\n}","import slideTo from './slideTo.js';\nimport slideToLoop from './slideToLoop.js';\nimport slideNext from './slideNext.js';\nimport slidePrev from './slidePrev.js';\nimport slideReset from './slideReset.js';\nimport slideToClosest from './slideToClosest.js';\nimport slideToClickedSlide from './slideToClickedSlide.js';\nexport default {\n slideTo: slideTo,\n slideToLoop: slideToLoop,\n slideNext: slideNext,\n slidePrev: slidePrev,\n slideReset: slideReset,\n slideToClosest: slideToClosest,\n slideToClickedSlide: slideToClickedSlide\n};","import _defineProperty from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { animateCSSModeScroll } from '../../shared/utils.js';\nexport default function slideTo(index, speed, runCallbacks, internal, initial) {\n if (index === void 0) {\n index = 0;\n }\n\n if (speed === void 0) {\n speed = this.params.speed;\n }\n\n if (runCallbacks === void 0) {\n runCallbacks = true;\n }\n\n if (typeof index !== 'number' && typeof index !== 'string') {\n throw new Error(\"The 'index' argument cannot have type other than 'number' or 'string'. [\".concat(typeof index, \"] given.\"));\n }\n\n if (typeof index === 'string') {\n /**\n * The `index` argument converted from `string` to `number`.\n * @type {number}\n */\n var indexAsNumber = parseInt(index, 10);\n /**\n * Determines whether the `index` argument is a valid `number`\n * after being converted from the `string` type.\n * @type {boolean}\n */\n\n var isValidNumber = isFinite(indexAsNumber);\n\n if (!isValidNumber) {\n throw new Error(\"The passed-in 'index' (string) couldn't be converted to 'number'. [\".concat(index, \"] given.\"));\n } // Knowing that the converted `index` is a valid number,\n // we can update the original argument's value.\n\n\n index = indexAsNumber;\n }\n\n var swiper = this;\n var slideIndex = index;\n if (slideIndex < 0) slideIndex = 0;\n var params = swiper.params,\n snapGrid = swiper.snapGrid,\n slidesGrid = swiper.slidesGrid,\n previousIndex = swiper.previousIndex,\n activeIndex = swiper.activeIndex,\n rtl = swiper.rtlTranslate,\n wrapperEl = swiper.wrapperEl,\n enabled = swiper.enabled;\n\n if (swiper.animating && params.preventInteractionOnTransition || !enabled && !internal && !initial) {\n return false;\n }\n\n var skip = Math.min(swiper.params.slidesPerGroupSkip, slideIndex);\n var snapIndex = skip + Math.floor((slideIndex - skip) / swiper.params.slidesPerGroup);\n if (snapIndex >= snapGrid.length) snapIndex = snapGrid.length - 1;\n\n if ((activeIndex || params.initialSlide || 0) === (previousIndex || 0) && runCallbacks) {\n swiper.emit('beforeSlideChangeStart');\n }\n\n var translate = -snapGrid[snapIndex]; // Update progress\n\n swiper.updateProgress(translate); // Normalize slideIndex\n\n if (params.normalizeSlideIndex) {\n for (var i = 0; i < slidesGrid.length; i += 1) {\n var normalizedTranslate = -Math.floor(translate * 100);\n var normalizedGrid = Math.floor(slidesGrid[i] * 100);\n var normalizedGridNext = Math.floor(slidesGrid[i + 1] * 100);\n\n if (typeof slidesGrid[i + 1] !== 'undefined') {\n if (normalizedTranslate >= normalizedGrid && normalizedTranslate < normalizedGridNext - (normalizedGridNext - normalizedGrid) / 2) {\n slideIndex = i;\n } else if (normalizedTranslate >= normalizedGrid && normalizedTranslate < normalizedGridNext) {\n slideIndex = i + 1;\n }\n } else if (normalizedTranslate >= normalizedGrid) {\n slideIndex = i;\n }\n }\n } // Directions locks\n\n\n if (swiper.initialized && slideIndex !== activeIndex) {\n if (!swiper.allowSlideNext && translate < swiper.translate && translate < swiper.minTranslate()) {\n return false;\n }\n\n if (!swiper.allowSlidePrev && translate > swiper.translate && translate > swiper.maxTranslate()) {\n if ((activeIndex || 0) !== slideIndex) return false;\n }\n }\n\n var direction;\n if (slideIndex > activeIndex) direction = 'next';else if (slideIndex < activeIndex) direction = 'prev';else direction = 'reset'; // Update Index\n\n if (rtl && -translate === swiper.translate || !rtl && translate === swiper.translate) {\n swiper.updateActiveIndex(slideIndex); // Update Height\n\n if (params.autoHeight) {\n swiper.updateAutoHeight();\n }\n\n swiper.updateSlidesClasses();\n\n if (params.effect !== 'slide') {\n swiper.setTranslate(translate);\n }\n\n if (direction !== 'reset') {\n swiper.transitionStart(runCallbacks, direction);\n swiper.transitionEnd(runCallbacks, direction);\n }\n\n return false;\n }\n\n if (params.cssMode) {\n var isH = swiper.isHorizontal();\n var t = rtl ? translate : -translate;\n\n if (speed === 0) {\n var isVirtual = swiper.virtual && swiper.params.virtual.enabled;\n\n if (isVirtual) {\n swiper.wrapperEl.style.scrollSnapType = 'none';\n swiper._immediateVirtual = true;\n }\n\n wrapperEl[isH ? 'scrollLeft' : 'scrollTop'] = t;\n\n if (isVirtual) {\n requestAnimationFrame(function () {\n swiper.wrapperEl.style.scrollSnapType = '';\n swiper._swiperImmediateVirtual = false;\n });\n }\n } else {\n var _wrapperEl$scrollTo;\n\n if (!swiper.support.smoothScroll) {\n animateCSSModeScroll({\n swiper: swiper,\n targetPosition: t,\n side: isH ? 'left' : 'top'\n });\n return true;\n }\n\n wrapperEl.scrollTo((_wrapperEl$scrollTo = {}, _defineProperty(_wrapperEl$scrollTo, isH ? 'left' : 'top', t), _defineProperty(_wrapperEl$scrollTo, \"behavior\", 'smooth'), _wrapperEl$scrollTo));\n }\n\n return true;\n }\n\n swiper.setTransition(speed);\n swiper.setTranslate(translate);\n swiper.updateActiveIndex(slideIndex);\n swiper.updateSlidesClasses();\n swiper.emit('beforeTransitionStart', speed, internal);\n swiper.transitionStart(runCallbacks, direction);\n\n if (speed === 0) {\n swiper.transitionEnd(runCallbacks, direction);\n } else if (!swiper.animating) {\n swiper.animating = true;\n\n if (!swiper.onSlideToWrapperTransitionEnd) {\n swiper.onSlideToWrapperTransitionEnd = function transitionEnd(e) {\n if (!swiper || swiper.destroyed) return;\n if (e.target !== this) return;\n swiper.$wrapperEl[0].removeEventListener('transitionend', swiper.onSlideToWrapperTransitionEnd);\n swiper.$wrapperEl[0].removeEventListener('webkitTransitionEnd', swiper.onSlideToWrapperTransitionEnd);\n swiper.onSlideToWrapperTransitionEnd = null;\n delete swiper.onSlideToWrapperTransitionEnd;\n swiper.transitionEnd(runCallbacks, direction);\n };\n }\n\n swiper.$wrapperEl[0].addEventListener('transitionend', swiper.onSlideToWrapperTransitionEnd);\n swiper.$wrapperEl[0].addEventListener('webkitTransitionEnd', swiper.onSlideToWrapperTransitionEnd);\n }\n\n return true;\n}","export default function slideToLoop(index, speed, runCallbacks, internal) {\n if (index === void 0) {\n index = 0;\n }\n\n if (speed === void 0) {\n speed = this.params.speed;\n }\n\n if (runCallbacks === void 0) {\n runCallbacks = true;\n }\n\n if (typeof index === 'string') {\n /**\n * The `index` argument converted from `string` to `number`.\n * @type {number}\n */\n var indexAsNumber = parseInt(index, 10);\n /**\n * Determines whether the `index` argument is a valid `number`\n * after being converted from the `string` type.\n * @type {boolean}\n */\n\n var isValidNumber = isFinite(indexAsNumber);\n\n if (!isValidNumber) {\n throw new Error(\"The passed-in 'index' (string) couldn't be converted to 'number'. [\".concat(index, \"] given.\"));\n } // Knowing that the converted `index` is a valid number,\n // we can update the original argument's value.\n\n\n index = indexAsNumber;\n }\n\n var swiper = this;\n var newIndex = index;\n\n if (swiper.params.loop) {\n newIndex += swiper.loopedSlides;\n }\n\n return swiper.slideTo(newIndex, speed, runCallbacks, internal);\n}","/* eslint no-unused-vars: \"off\" */\nexport default function slideNext(speed, runCallbacks, internal) {\n if (speed === void 0) {\n speed = this.params.speed;\n }\n\n if (runCallbacks === void 0) {\n runCallbacks = true;\n }\n\n var swiper = this;\n var animating = swiper.animating,\n enabled = swiper.enabled,\n params = swiper.params;\n if (!enabled) return swiper;\n var perGroup = params.slidesPerGroup;\n\n if (params.slidesPerView === 'auto' && params.slidesPerGroup === 1 && params.slidesPerGroupAuto) {\n perGroup = Math.max(swiper.slidesPerViewDynamic('current', true), 1);\n }\n\n var increment = swiper.activeIndex < params.slidesPerGroupSkip ? 1 : perGroup;\n\n if (params.loop) {\n if (animating && params.loopPreventsSlide) return false;\n swiper.loopFix(); // eslint-disable-next-line\n\n swiper._clientLeft = swiper.$wrapperEl[0].clientLeft;\n }\n\n if (params.rewind && swiper.isEnd) {\n return swiper.slideTo(0, speed, runCallbacks, internal);\n }\n\n return swiper.slideTo(swiper.activeIndex + increment, speed, runCallbacks, internal);\n}","/* eslint no-unused-vars: \"off\" */\nexport default function slidePrev(speed, runCallbacks, internal) {\n if (speed === void 0) {\n speed = this.params.speed;\n }\n\n if (runCallbacks === void 0) {\n runCallbacks = true;\n }\n\n var swiper = this;\n var params = swiper.params,\n animating = swiper.animating,\n snapGrid = swiper.snapGrid,\n slidesGrid = swiper.slidesGrid,\n rtlTranslate = swiper.rtlTranslate,\n enabled = swiper.enabled;\n if (!enabled) return swiper;\n\n if (params.loop) {\n if (animating && params.loopPreventsSlide) return false;\n swiper.loopFix(); // eslint-disable-next-line\n\n swiper._clientLeft = swiper.$wrapperEl[0].clientLeft;\n }\n\n var translate = rtlTranslate ? swiper.translate : -swiper.translate;\n\n function normalize(val) {\n if (val < 0) return -Math.floor(Math.abs(val));\n return Math.floor(val);\n }\n\n var normalizedTranslate = normalize(translate);\n var normalizedSnapGrid = snapGrid.map(function (val) {\n return normalize(val);\n });\n var prevSnap = snapGrid[normalizedSnapGrid.indexOf(normalizedTranslate) - 1];\n\n if (typeof prevSnap === 'undefined' && params.cssMode) {\n var prevSnapIndex;\n snapGrid.forEach(function (snap, snapIndex) {\n if (normalizedTranslate >= snap) {\n // prevSnap = snap;\n prevSnapIndex = snapIndex;\n }\n });\n\n if (typeof prevSnapIndex !== 'undefined') {\n prevSnap = snapGrid[prevSnapIndex > 0 ? prevSnapIndex - 1 : prevSnapIndex];\n }\n }\n\n var prevIndex = 0;\n\n if (typeof prevSnap !== 'undefined') {\n prevIndex = slidesGrid.indexOf(prevSnap);\n if (prevIndex < 0) prevIndex = swiper.activeIndex - 1;\n\n if (params.slidesPerView === 'auto' && params.slidesPerGroup === 1 && params.slidesPerGroupAuto) {\n prevIndex = prevIndex - swiper.slidesPerViewDynamic('previous', true) + 1;\n prevIndex = Math.max(prevIndex, 0);\n }\n }\n\n if (params.rewind && swiper.isBeginning) {\n var lastIndex = swiper.params.virtual && swiper.params.virtual.enabled && swiper.virtual ? swiper.virtual.slides.length - 1 : swiper.slides.length - 1;\n return swiper.slideTo(lastIndex, speed, runCallbacks, internal);\n }\n\n return swiper.slideTo(prevIndex, speed, runCallbacks, internal);\n}","/* eslint no-unused-vars: \"off\" */\nexport default function slideReset(speed, runCallbacks, internal) {\n if (speed === void 0) {\n speed = this.params.speed;\n }\n\n if (runCallbacks === void 0) {\n runCallbacks = true;\n }\n\n var swiper = this;\n return swiper.slideTo(swiper.activeIndex, speed, runCallbacks, internal);\n}","/* eslint no-unused-vars: \"off\" */\nexport default function slideToClosest(speed, runCallbacks, internal, threshold) {\n if (speed === void 0) {\n speed = this.params.speed;\n }\n\n if (runCallbacks === void 0) {\n runCallbacks = true;\n }\n\n if (threshold === void 0) {\n threshold = 0.5;\n }\n\n var swiper = this;\n var index = swiper.activeIndex;\n var skip = Math.min(swiper.params.slidesPerGroupSkip, index);\n var snapIndex = skip + Math.floor((index - skip) / swiper.params.slidesPerGroup);\n var translate = swiper.rtlTranslate ? swiper.translate : -swiper.translate;\n\n if (translate >= swiper.snapGrid[snapIndex]) {\n // The current translate is on or after the current snap index, so the choice\n // is between the current index and the one after it.\n var currentSnap = swiper.snapGrid[snapIndex];\n var nextSnap = swiper.snapGrid[snapIndex + 1];\n\n if (translate - currentSnap > (nextSnap - currentSnap) * threshold) {\n index += swiper.params.slidesPerGroup;\n }\n } else {\n // The current translate is before the current snap index, so the choice\n // is between the current index and the one before it.\n var prevSnap = swiper.snapGrid[snapIndex - 1];\n var _currentSnap = swiper.snapGrid[snapIndex];\n\n if (translate - prevSnap <= (_currentSnap - prevSnap) * threshold) {\n index -= swiper.params.slidesPerGroup;\n }\n }\n\n index = Math.max(index, 0);\n index = Math.min(index, swiper.slidesGrid.length - 1);\n return swiper.slideTo(index, speed, runCallbacks, internal);\n}","import $ from '../../shared/dom.js';\nimport { nextTick } from '../../shared/utils.js';\nexport default function slideToClickedSlide() {\n var swiper = this;\n var params = swiper.params,\n $wrapperEl = swiper.$wrapperEl;\n var slidesPerView = params.slidesPerView === 'auto' ? swiper.slidesPerViewDynamic() : params.slidesPerView;\n var slideToIndex = swiper.clickedIndex;\n var realIndex;\n\n if (params.loop) {\n if (swiper.animating) return;\n realIndex = parseInt($(swiper.clickedSlide).attr('data-swiper-slide-index'), 10);\n\n if (params.centeredSlides) {\n if (slideToIndex < swiper.loopedSlides - slidesPerView / 2 || slideToIndex > swiper.slides.length - swiper.loopedSlides + slidesPerView / 2) {\n swiper.loopFix();\n slideToIndex = $wrapperEl.children(\".\".concat(params.slideClass, \"[data-swiper-slide-index=\\\"\").concat(realIndex, \"\\\"]:not(.\").concat(params.slideDuplicateClass, \")\")).eq(0).index();\n nextTick(function () {\n swiper.slideTo(slideToIndex);\n });\n } else {\n swiper.slideTo(slideToIndex);\n }\n } else if (slideToIndex > swiper.slides.length - slidesPerView) {\n swiper.loopFix();\n slideToIndex = $wrapperEl.children(\".\".concat(params.slideClass, \"[data-swiper-slide-index=\\\"\").concat(realIndex, \"\\\"]:not(.\").concat(params.slideDuplicateClass, \")\")).eq(0).index();\n nextTick(function () {\n swiper.slideTo(slideToIndex);\n });\n } else {\n swiper.slideTo(slideToIndex);\n }\n } else {\n swiper.slideTo(slideToIndex);\n }\n}","import loopCreate from './loopCreate.js';\nimport loopFix from './loopFix.js';\nimport loopDestroy from './loopDestroy.js';\nexport default {\n loopCreate: loopCreate,\n loopFix: loopFix,\n loopDestroy: loopDestroy\n};","import { getDocument } from 'ssr-window';\nimport $ from '../../shared/dom.js';\nexport default function loopCreate() {\n var swiper = this;\n var document = getDocument();\n var params = swiper.params,\n $wrapperEl = swiper.$wrapperEl; // Remove duplicated slides\n\n var $selector = $wrapperEl.children().length > 0 ? $($wrapperEl.children()[0].parentNode) : $wrapperEl;\n $selector.children(\".\".concat(params.slideClass, \".\").concat(params.slideDuplicateClass)).remove();\n var slides = $selector.children(\".\".concat(params.slideClass));\n\n if (params.loopFillGroupWithBlank) {\n var blankSlidesNum = params.slidesPerGroup - slides.length % params.slidesPerGroup;\n\n if (blankSlidesNum !== params.slidesPerGroup) {\n for (var i = 0; i < blankSlidesNum; i += 1) {\n var blankNode = $(document.createElement('div')).addClass(\"\".concat(params.slideClass, \" \").concat(params.slideBlankClass));\n $selector.append(blankNode);\n }\n\n slides = $selector.children(\".\".concat(params.slideClass));\n }\n }\n\n if (params.slidesPerView === 'auto' && !params.loopedSlides) params.loopedSlides = slides.length;\n swiper.loopedSlides = Math.ceil(parseFloat(params.loopedSlides || params.slidesPerView, 10));\n swiper.loopedSlides += params.loopAdditionalSlides;\n\n if (swiper.loopedSlides > slides.length && swiper.params.loopedSlidesLimit) {\n swiper.loopedSlides = slides.length;\n }\n\n var prependSlides = [];\n var appendSlides = [];\n slides.each(function (el, index) {\n $(el).attr('data-swiper-slide-index', index);\n });\n\n for (var _i = 0; _i < swiper.loopedSlides; _i += 1) {\n var index = _i - Math.floor(_i / slides.length) * slides.length;\n\n appendSlides.push(slides.eq(index)[0]);\n prependSlides.unshift(slides.eq(slides.length - index - 1)[0]);\n }\n\n for (var _i2 = 0; _i2 < appendSlides.length; _i2 += 1) {\n $selector.append($(appendSlides[_i2].cloneNode(true)).addClass(params.slideDuplicateClass));\n }\n\n for (var _i3 = prependSlides.length - 1; _i3 >= 0; _i3 -= 1) {\n $selector.prepend($(prependSlides[_i3].cloneNode(true)).addClass(params.slideDuplicateClass));\n }\n}","export default function loopFix() {\n var swiper = this;\n swiper.emit('beforeLoopFix');\n var activeIndex = swiper.activeIndex,\n slides = swiper.slides,\n loopedSlides = swiper.loopedSlides,\n allowSlidePrev = swiper.allowSlidePrev,\n allowSlideNext = swiper.allowSlideNext,\n snapGrid = swiper.snapGrid,\n rtl = swiper.rtlTranslate;\n var newIndex;\n swiper.allowSlidePrev = true;\n swiper.allowSlideNext = true;\n var snapTranslate = -snapGrid[activeIndex];\n var diff = snapTranslate - swiper.getTranslate(); // Fix For Negative Oversliding\n\n if (activeIndex < loopedSlides) {\n newIndex = slides.length - loopedSlides * 3 + activeIndex;\n newIndex += loopedSlides;\n var slideChanged = swiper.slideTo(newIndex, 0, false, true);\n\n if (slideChanged && diff !== 0) {\n swiper.setTranslate((rtl ? -swiper.translate : swiper.translate) - diff);\n }\n } else if (activeIndex >= slides.length - loopedSlides) {\n // Fix For Positive Oversliding\n newIndex = -slides.length + activeIndex + loopedSlides;\n newIndex += loopedSlides;\n\n var _slideChanged = swiper.slideTo(newIndex, 0, false, true);\n\n if (_slideChanged && diff !== 0) {\n swiper.setTranslate((rtl ? -swiper.translate : swiper.translate) - diff);\n }\n }\n\n swiper.allowSlidePrev = allowSlidePrev;\n swiper.allowSlideNext = allowSlideNext;\n swiper.emit('loopFix');\n}","export default function loopDestroy() {\n var swiper = this;\n var $wrapperEl = swiper.$wrapperEl,\n params = swiper.params,\n slides = swiper.slides;\n $wrapperEl.children(\".\".concat(params.slideClass, \".\").concat(params.slideDuplicateClass, \",.\").concat(params.slideClass, \".\").concat(params.slideBlankClass)).remove();\n slides.removeAttr('data-swiper-slide-index');\n}","import { getWindow, getDocument } from 'ssr-window';\nimport $ from '../../shared/dom.js';\nimport { now } from '../../shared/utils.js'; // Modified from https://stackoverflow.com/questions/54520554/custom-element-getrootnode-closest-function-crossing-multiple-parent-shadowd\n\nfunction closestElement(selector, base) {\n if (base === void 0) {\n base = this;\n }\n\n function __closestFrom(el) {\n if (!el || el === getDocument() || el === getWindow()) return null;\n if (el.assignedSlot) el = el.assignedSlot;\n var found = el.closest(selector);\n\n if (!found && !el.getRootNode) {\n return null;\n }\n\n return found || __closestFrom(el.getRootNode().host);\n }\n\n return __closestFrom(base);\n}\n\nexport default function onTouchStart(event) {\n var swiper = this;\n var document = getDocument();\n var window = getWindow();\n var data = swiper.touchEventsData;\n var params = swiper.params,\n touches = swiper.touches,\n enabled = swiper.enabled;\n if (!enabled) return;\n\n if (swiper.animating && params.preventInteractionOnTransition) {\n return;\n }\n\n if (!swiper.animating && params.cssMode && params.loop) {\n swiper.loopFix();\n }\n\n var e = event;\n if (e.originalEvent) e = e.originalEvent;\n var $targetEl = $(e.target);\n\n if (params.touchEventsTarget === 'wrapper') {\n if (!$targetEl.closest(swiper.wrapperEl).length) return;\n }\n\n data.isTouchEvent = e.type === 'touchstart';\n if (!data.isTouchEvent && 'which' in e && e.which === 3) return;\n if (!data.isTouchEvent && 'button' in e && e.button > 0) return;\n if (data.isTouched && data.isMoved) return; // change target el for shadow root component\n\n var swipingClassHasValue = !!params.noSwipingClass && params.noSwipingClass !== '';\n\n if (swipingClassHasValue && e.target && e.target.shadowRoot && event.path && event.path[0]) {\n $targetEl = $(event.path[0]);\n }\n\n var noSwipingSelector = params.noSwipingSelector ? params.noSwipingSelector : \".\".concat(params.noSwipingClass);\n var isTargetShadow = !!(e.target && e.target.shadowRoot); // use closestElement for shadow root element to get the actual closest for nested shadow root element\n\n if (params.noSwiping && (isTargetShadow ? closestElement(noSwipingSelector, $targetEl[0]) : $targetEl.closest(noSwipingSelector)[0])) {\n swiper.allowClick = true;\n return;\n }\n\n if (params.swipeHandler) {\n if (!$targetEl.closest(params.swipeHandler)[0]) return;\n }\n\n touches.currentX = e.type === 'touchstart' ? e.targetTouches[0].pageX : e.pageX;\n touches.currentY = e.type === 'touchstart' ? e.targetTouches[0].pageY : e.pageY;\n var startX = touches.currentX;\n var startY = touches.currentY; // Do NOT start if iOS edge swipe is detected. Otherwise iOS app cannot swipe-to-go-back anymore\n\n var edgeSwipeDetection = params.edgeSwipeDetection || params.iOSEdgeSwipeDetection;\n var edgeSwipeThreshold = params.edgeSwipeThreshold || params.iOSEdgeSwipeThreshold;\n\n if (edgeSwipeDetection && (startX <= edgeSwipeThreshold || startX >= window.innerWidth - edgeSwipeThreshold)) {\n if (edgeSwipeDetection === 'prevent') {\n event.preventDefault();\n } else {\n return;\n }\n }\n\n Object.assign(data, {\n isTouched: true,\n isMoved: false,\n allowTouchCallbacks: true,\n isScrolling: undefined,\n startMoving: undefined\n });\n touches.startX = startX;\n touches.startY = startY;\n data.touchStartTime = now();\n swiper.allowClick = true;\n swiper.updateSize();\n swiper.swipeDirection = undefined;\n if (params.threshold > 0) data.allowThresholdMove = false;\n\n if (e.type !== 'touchstart') {\n var preventDefault = true;\n\n if ($targetEl.is(data.focusableElements)) {\n preventDefault = false;\n\n if ($targetEl[0].nodeName === 'SELECT') {\n data.isTouched = false;\n }\n }\n\n if (document.activeElement && $(document.activeElement).is(data.focusableElements) && document.activeElement !== $targetEl[0]) {\n document.activeElement.blur();\n }\n\n var shouldPreventDefault = preventDefault && swiper.allowTouchMove && params.touchStartPreventDefault;\n\n if ((params.touchStartForcePreventDefault || shouldPreventDefault) && !$targetEl[0].isContentEditable) {\n e.preventDefault();\n }\n }\n\n if (swiper.params.freeMode && swiper.params.freeMode.enabled && swiper.freeMode && swiper.animating && !params.cssMode) {\n swiper.freeMode.onTouchStart();\n }\n\n swiper.emit('touchStart', e);\n}","import { getDocument } from 'ssr-window';\nimport $ from '../../shared/dom.js';\nimport { now } from '../../shared/utils.js';\nexport default function onTouchMove(event) {\n var document = getDocument();\n var swiper = this;\n var data = swiper.touchEventsData;\n var params = swiper.params,\n touches = swiper.touches,\n rtl = swiper.rtlTranslate,\n enabled = swiper.enabled;\n if (!enabled) return;\n var e = event;\n if (e.originalEvent) e = e.originalEvent;\n\n if (!data.isTouched) {\n if (data.startMoving && data.isScrolling) {\n swiper.emit('touchMoveOpposite', e);\n }\n\n return;\n }\n\n if (data.isTouchEvent && e.type !== 'touchmove') return;\n var targetTouch = e.type === 'touchmove' && e.targetTouches && (e.targetTouches[0] || e.changedTouches[0]);\n var pageX = e.type === 'touchmove' ? targetTouch.pageX : e.pageX;\n var pageY = e.type === 'touchmove' ? targetTouch.pageY : e.pageY;\n\n if (e.preventedByNestedSwiper) {\n touches.startX = pageX;\n touches.startY = pageY;\n return;\n }\n\n if (!swiper.allowTouchMove) {\n if (!$(e.target).is(data.focusableElements)) {\n swiper.allowClick = false;\n }\n\n if (data.isTouched) {\n Object.assign(touches, {\n startX: pageX,\n startY: pageY,\n currentX: pageX,\n currentY: pageY\n });\n data.touchStartTime = now();\n }\n\n return;\n }\n\n if (data.isTouchEvent && params.touchReleaseOnEdges && !params.loop) {\n if (swiper.isVertical()) {\n // Vertical\n if (pageY < touches.startY && swiper.translate <= swiper.maxTranslate() || pageY > touches.startY && swiper.translate >= swiper.minTranslate()) {\n data.isTouched = false;\n data.isMoved = false;\n return;\n }\n } else if (pageX < touches.startX && swiper.translate <= swiper.maxTranslate() || pageX > touches.startX && swiper.translate >= swiper.minTranslate()) {\n return;\n }\n }\n\n if (data.isTouchEvent && document.activeElement) {\n if (e.target === document.activeElement && $(e.target).is(data.focusableElements)) {\n data.isMoved = true;\n swiper.allowClick = false;\n return;\n }\n }\n\n if (data.allowTouchCallbacks) {\n swiper.emit('touchMove', e);\n }\n\n if (e.targetTouches && e.targetTouches.length > 1) return;\n touches.currentX = pageX;\n touches.currentY = pageY;\n var diffX = touches.currentX - touches.startX;\n var diffY = touches.currentY - touches.startY;\n if (swiper.params.threshold && Math.sqrt(Math.pow(diffX, 2) + Math.pow(diffY, 2)) < swiper.params.threshold) return;\n\n if (typeof data.isScrolling === 'undefined') {\n var touchAngle;\n\n if (swiper.isHorizontal() && touches.currentY === touches.startY || swiper.isVertical() && touches.currentX === touches.startX) {\n data.isScrolling = false;\n } else {\n // eslint-disable-next-line\n if (diffX * diffX + diffY * diffY >= 25) {\n touchAngle = Math.atan2(Math.abs(diffY), Math.abs(diffX)) * 180 / Math.PI;\n data.isScrolling = swiper.isHorizontal() ? touchAngle > params.touchAngle : 90 - touchAngle > params.touchAngle;\n }\n }\n }\n\n if (data.isScrolling) {\n swiper.emit('touchMoveOpposite', e);\n }\n\n if (typeof data.startMoving === 'undefined') {\n if (touches.currentX !== touches.startX || touches.currentY !== touches.startY) {\n data.startMoving = true;\n }\n }\n\n if (data.isScrolling) {\n data.isTouched = false;\n return;\n }\n\n if (!data.startMoving) {\n return;\n }\n\n swiper.allowClick = false;\n\n if (!params.cssMode && e.cancelable) {\n e.preventDefault();\n }\n\n if (params.touchMoveStopPropagation && !params.nested) {\n e.stopPropagation();\n }\n\n if (!data.isMoved) {\n if (params.loop && !params.cssMode) {\n swiper.loopFix();\n }\n\n data.startTranslate = swiper.getTranslate();\n swiper.setTransition(0);\n\n if (swiper.animating) {\n swiper.$wrapperEl.trigger('webkitTransitionEnd transitionend');\n }\n\n data.allowMomentumBounce = false; // Grab Cursor\n\n if (params.grabCursor && (swiper.allowSlideNext === true || swiper.allowSlidePrev === true)) {\n swiper.setGrabCursor(true);\n }\n\n swiper.emit('sliderFirstMove', e);\n }\n\n swiper.emit('sliderMove', e);\n data.isMoved = true;\n var diff = swiper.isHorizontal() ? diffX : diffY;\n touches.diff = diff;\n diff *= params.touchRatio;\n if (rtl) diff = -diff;\n swiper.swipeDirection = diff > 0 ? 'prev' : 'next';\n data.currentTranslate = diff + data.startTranslate;\n var disableParentSwiper = true;\n var resistanceRatio = params.resistanceRatio;\n\n if (params.touchReleaseOnEdges) {\n resistanceRatio = 0;\n }\n\n if (diff > 0 && data.currentTranslate > swiper.minTranslate()) {\n disableParentSwiper = false;\n if (params.resistance) data.currentTranslate = swiper.minTranslate() - 1 + Math.pow(-swiper.minTranslate() + data.startTranslate + diff, resistanceRatio);\n } else if (diff < 0 && data.currentTranslate < swiper.maxTranslate()) {\n disableParentSwiper = false;\n if (params.resistance) data.currentTranslate = swiper.maxTranslate() + 1 - Math.pow(swiper.maxTranslate() - data.startTranslate - diff, resistanceRatio);\n }\n\n if (disableParentSwiper) {\n e.preventedByNestedSwiper = true;\n } // Directions locks\n\n\n if (!swiper.allowSlideNext && swiper.swipeDirection === 'next' && data.currentTranslate < data.startTranslate) {\n data.currentTranslate = data.startTranslate;\n }\n\n if (!swiper.allowSlidePrev && swiper.swipeDirection === 'prev' && data.currentTranslate > data.startTranslate) {\n data.currentTranslate = data.startTranslate;\n }\n\n if (!swiper.allowSlidePrev && !swiper.allowSlideNext) {\n data.currentTranslate = data.startTranslate;\n } // Threshold\n\n\n if (params.threshold > 0) {\n if (Math.abs(diff) > params.threshold || data.allowThresholdMove) {\n if (!data.allowThresholdMove) {\n data.allowThresholdMove = true;\n touches.startX = touches.currentX;\n touches.startY = touches.currentY;\n data.currentTranslate = data.startTranslate;\n touches.diff = swiper.isHorizontal() ? touches.currentX - touches.startX : touches.currentY - touches.startY;\n return;\n }\n } else {\n data.currentTranslate = data.startTranslate;\n return;\n }\n }\n\n if (!params.followFinger || params.cssMode) return; // Update active index in free mode\n\n if (params.freeMode && params.freeMode.enabled && swiper.freeMode || params.watchSlidesProgress) {\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n }\n\n if (swiper.params.freeMode && params.freeMode.enabled && swiper.freeMode) {\n swiper.freeMode.onTouchMove();\n } // Update progress\n\n\n swiper.updateProgress(data.currentTranslate); // Update translate\n\n swiper.setTranslate(data.currentTranslate);\n}","import { now, nextTick } from '../../shared/utils.js';\nexport default function onTouchEnd(event) {\n var swiper = this;\n var data = swiper.touchEventsData;\n var params = swiper.params,\n touches = swiper.touches,\n rtl = swiper.rtlTranslate,\n slidesGrid = swiper.slidesGrid,\n enabled = swiper.enabled;\n if (!enabled) return;\n var e = event;\n if (e.originalEvent) e = e.originalEvent;\n\n if (data.allowTouchCallbacks) {\n swiper.emit('touchEnd', e);\n }\n\n data.allowTouchCallbacks = false;\n\n if (!data.isTouched) {\n if (data.isMoved && params.grabCursor) {\n swiper.setGrabCursor(false);\n }\n\n data.isMoved = false;\n data.startMoving = false;\n return;\n } // Return Grab Cursor\n\n\n if (params.grabCursor && data.isMoved && data.isTouched && (swiper.allowSlideNext === true || swiper.allowSlidePrev === true)) {\n swiper.setGrabCursor(false);\n } // Time diff\n\n\n var touchEndTime = now();\n var timeDiff = touchEndTime - data.touchStartTime; // Tap, doubleTap, Click\n\n if (swiper.allowClick) {\n var pathTree = e.path || e.composedPath && e.composedPath();\n swiper.updateClickedSlide(pathTree && pathTree[0] || e.target);\n swiper.emit('tap click', e);\n\n if (timeDiff < 300 && touchEndTime - data.lastClickTime < 300) {\n swiper.emit('doubleTap doubleClick', e);\n }\n }\n\n data.lastClickTime = now();\n nextTick(function () {\n if (!swiper.destroyed) swiper.allowClick = true;\n });\n\n if (!data.isTouched || !data.isMoved || !swiper.swipeDirection || touches.diff === 0 || data.currentTranslate === data.startTranslate) {\n data.isTouched = false;\n data.isMoved = false;\n data.startMoving = false;\n return;\n }\n\n data.isTouched = false;\n data.isMoved = false;\n data.startMoving = false;\n var currentPos;\n\n if (params.followFinger) {\n currentPos = rtl ? swiper.translate : -swiper.translate;\n } else {\n currentPos = -data.currentTranslate;\n }\n\n if (params.cssMode) {\n return;\n }\n\n if (swiper.params.freeMode && params.freeMode.enabled) {\n swiper.freeMode.onTouchEnd({\n currentPos: currentPos\n });\n return;\n } // Find current slide\n\n\n var stopIndex = 0;\n var groupSize = swiper.slidesSizesGrid[0];\n\n for (var i = 0; i < slidesGrid.length; i += i < params.slidesPerGroupSkip ? 1 : params.slidesPerGroup) {\n var _increment = i < params.slidesPerGroupSkip - 1 ? 1 : params.slidesPerGroup;\n\n if (typeof slidesGrid[i + _increment] !== 'undefined') {\n if (currentPos >= slidesGrid[i] && currentPos < slidesGrid[i + _increment]) {\n stopIndex = i;\n groupSize = slidesGrid[i + _increment] - slidesGrid[i];\n }\n } else if (currentPos >= slidesGrid[i]) {\n stopIndex = i;\n groupSize = slidesGrid[slidesGrid.length - 1] - slidesGrid[slidesGrid.length - 2];\n }\n }\n\n var rewindFirstIndex = null;\n var rewindLastIndex = null;\n\n if (params.rewind) {\n if (swiper.isBeginning) {\n rewindLastIndex = swiper.params.virtual && swiper.params.virtual.enabled && swiper.virtual ? swiper.virtual.slides.length - 1 : swiper.slides.length - 1;\n } else if (swiper.isEnd) {\n rewindFirstIndex = 0;\n }\n } // Find current slide size\n\n\n var ratio = (currentPos - slidesGrid[stopIndex]) / groupSize;\n var increment = stopIndex < params.slidesPerGroupSkip - 1 ? 1 : params.slidesPerGroup;\n\n if (timeDiff > params.longSwipesMs) {\n // Long touches\n if (!params.longSwipes) {\n swiper.slideTo(swiper.activeIndex);\n return;\n }\n\n if (swiper.swipeDirection === 'next') {\n if (ratio >= params.longSwipesRatio) swiper.slideTo(params.rewind && swiper.isEnd ? rewindFirstIndex : stopIndex + increment);else swiper.slideTo(stopIndex);\n }\n\n if (swiper.swipeDirection === 'prev') {\n if (ratio > 1 - params.longSwipesRatio) {\n swiper.slideTo(stopIndex + increment);\n } else if (rewindLastIndex !== null && ratio < 0 && Math.abs(ratio) > params.longSwipesRatio) {\n swiper.slideTo(rewindLastIndex);\n } else {\n swiper.slideTo(stopIndex);\n }\n }\n } else {\n // Short swipes\n if (!params.shortSwipes) {\n swiper.slideTo(swiper.activeIndex);\n return;\n }\n\n var isNavButtonTarget = swiper.navigation && (e.target === swiper.navigation.nextEl || e.target === swiper.navigation.prevEl);\n\n if (!isNavButtonTarget) {\n if (swiper.swipeDirection === 'next') {\n swiper.slideTo(rewindFirstIndex !== null ? rewindFirstIndex : stopIndex + increment);\n }\n\n if (swiper.swipeDirection === 'prev') {\n swiper.slideTo(rewindLastIndex !== null ? rewindLastIndex : stopIndex);\n }\n } else if (e.target === swiper.navigation.nextEl) {\n swiper.slideTo(stopIndex + increment);\n } else {\n swiper.slideTo(stopIndex);\n }\n }\n}","export default function onResize() {\n var swiper = this;\n var params = swiper.params,\n el = swiper.el;\n if (el && el.offsetWidth === 0) return; // Breakpoints\n\n if (params.breakpoints) {\n swiper.setBreakpoint();\n } // Save locks\n\n\n var allowSlideNext = swiper.allowSlideNext,\n allowSlidePrev = swiper.allowSlidePrev,\n snapGrid = swiper.snapGrid; // Disable locks on resize\n\n swiper.allowSlideNext = true;\n swiper.allowSlidePrev = true;\n swiper.updateSize();\n swiper.updateSlides();\n swiper.updateSlidesClasses();\n\n if ((params.slidesPerView === 'auto' || params.slidesPerView > 1) && swiper.isEnd && !swiper.isBeginning && !swiper.params.centeredSlides) {\n swiper.slideTo(swiper.slides.length - 1, 0, false, true);\n } else {\n swiper.slideTo(swiper.activeIndex, 0, false, true);\n }\n\n if (swiper.autoplay && swiper.autoplay.running && swiper.autoplay.paused) {\n swiper.autoplay.run();\n } // Return locks after resize\n\n\n swiper.allowSlidePrev = allowSlidePrev;\n swiper.allowSlideNext = allowSlideNext;\n\n if (swiper.params.watchOverflow && snapGrid !== swiper.snapGrid) {\n swiper.checkOverflow();\n }\n}","export default function onClick(e) {\n var swiper = this;\n if (!swiper.enabled) return;\n\n if (!swiper.allowClick) {\n if (swiper.params.preventClicks) e.preventDefault();\n\n if (swiper.params.preventClicksPropagation && swiper.animating) {\n e.stopPropagation();\n e.stopImmediatePropagation();\n }\n }\n}","export default function onScroll() {\n var swiper = this;\n var wrapperEl = swiper.wrapperEl,\n rtlTranslate = swiper.rtlTranslate,\n enabled = swiper.enabled;\n if (!enabled) return;\n swiper.previousTranslate = swiper.translate;\n\n if (swiper.isHorizontal()) {\n swiper.translate = -wrapperEl.scrollLeft;\n } else {\n swiper.translate = -wrapperEl.scrollTop;\n } // eslint-disable-next-line\n\n\n if (swiper.translate === 0) swiper.translate = 0;\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n var newProgress;\n var translatesDiff = swiper.maxTranslate() - swiper.minTranslate();\n\n if (translatesDiff === 0) {\n newProgress = 0;\n } else {\n newProgress = (swiper.translate - swiper.minTranslate()) / translatesDiff;\n }\n\n if (newProgress !== swiper.progress) {\n swiper.updateProgress(rtlTranslate ? -swiper.translate : swiper.translate);\n }\n\n swiper.emit('setTranslate', swiper.translate, false);\n}","import { getDocument } from 'ssr-window';\nimport onTouchStart from './onTouchStart.js';\nimport onTouchMove from './onTouchMove.js';\nimport onTouchEnd from './onTouchEnd.js';\nimport onResize from './onResize.js';\nimport onClick from './onClick.js';\nimport onScroll from './onScroll.js';\nvar dummyEventAttached = false;\n\nfunction dummyEventListener() {}\n\nvar events = function events(swiper, method) {\n var document = getDocument();\n var params = swiper.params,\n touchEvents = swiper.touchEvents,\n el = swiper.el,\n wrapperEl = swiper.wrapperEl,\n device = swiper.device,\n support = swiper.support;\n var capture = !!params.nested;\n var domMethod = method === 'on' ? 'addEventListener' : 'removeEventListener';\n var swiperMethod = method; // Touch Events\n\n if (!support.touch) {\n el[domMethod](touchEvents.start, swiper.onTouchStart, false);\n document[domMethod](touchEvents.move, swiper.onTouchMove, capture);\n document[domMethod](touchEvents.end, swiper.onTouchEnd, false);\n } else {\n var passiveListener = touchEvents.start === 'touchstart' && support.passiveListener && params.passiveListeners ? {\n passive: true,\n capture: false\n } : false;\n el[domMethod](touchEvents.start, swiper.onTouchStart, passiveListener);\n el[domMethod](touchEvents.move, swiper.onTouchMove, support.passiveListener ? {\n passive: false,\n capture: capture\n } : capture);\n el[domMethod](touchEvents.end, swiper.onTouchEnd, passiveListener);\n\n if (touchEvents.cancel) {\n el[domMethod](touchEvents.cancel, swiper.onTouchEnd, passiveListener);\n }\n } // Prevent Links Clicks\n\n\n if (params.preventClicks || params.preventClicksPropagation) {\n el[domMethod]('click', swiper.onClick, true);\n }\n\n if (params.cssMode) {\n wrapperEl[domMethod]('scroll', swiper.onScroll);\n } // Resize handler\n\n\n if (params.updateOnWindowResize) {\n swiper[swiperMethod](device.ios || device.android ? 'resize orientationchange observerUpdate' : 'resize observerUpdate', onResize, true);\n } else {\n swiper[swiperMethod]('observerUpdate', onResize, true);\n }\n};\n\nfunction attachEvents() {\n var swiper = this;\n var document = getDocument();\n var params = swiper.params,\n support = swiper.support;\n swiper.onTouchStart = onTouchStart.bind(swiper);\n swiper.onTouchMove = onTouchMove.bind(swiper);\n swiper.onTouchEnd = onTouchEnd.bind(swiper);\n\n if (params.cssMode) {\n swiper.onScroll = onScroll.bind(swiper);\n }\n\n swiper.onClick = onClick.bind(swiper);\n\n if (support.touch && !dummyEventAttached) {\n document.addEventListener('touchstart', dummyEventListener);\n dummyEventAttached = true;\n }\n\n events(swiper, 'on');\n}\n\nfunction detachEvents() {\n var swiper = this;\n events(swiper, 'off');\n}\n\nexport default {\n attachEvents: attachEvents,\n detachEvents: detachEvents\n};","import { extend } from '../../shared/utils.js';\n\nvar isGridEnabled = function isGridEnabled(swiper, params) {\n return swiper.grid && params.grid && params.grid.rows > 1;\n};\n\nexport default function setBreakpoint() {\n var swiper = this;\n var activeIndex = swiper.activeIndex,\n initialized = swiper.initialized,\n _swiper$loopedSlides = swiper.loopedSlides,\n loopedSlides = _swiper$loopedSlides === void 0 ? 0 : _swiper$loopedSlides,\n params = swiper.params,\n $el = swiper.$el;\n var breakpoints = params.breakpoints;\n if (!breakpoints || breakpoints && Object.keys(breakpoints).length === 0) return; // Get breakpoint for window width and update parameters\n\n var breakpoint = swiper.getBreakpoint(breakpoints, swiper.params.breakpointsBase, swiper.el);\n if (!breakpoint || swiper.currentBreakpoint === breakpoint) return;\n var breakpointOnlyParams = breakpoint in breakpoints ? breakpoints[breakpoint] : undefined;\n var breakpointParams = breakpointOnlyParams || swiper.originalParams;\n var wasMultiRow = isGridEnabled(swiper, params);\n var isMultiRow = isGridEnabled(swiper, breakpointParams);\n var wasEnabled = params.enabled;\n\n if (wasMultiRow && !isMultiRow) {\n $el.removeClass(\"\".concat(params.containerModifierClass, \"grid \").concat(params.containerModifierClass, \"grid-column\"));\n swiper.emitContainerClasses();\n } else if (!wasMultiRow && isMultiRow) {\n $el.addClass(\"\".concat(params.containerModifierClass, \"grid\"));\n\n if (breakpointParams.grid.fill && breakpointParams.grid.fill === 'column' || !breakpointParams.grid.fill && params.grid.fill === 'column') {\n $el.addClass(\"\".concat(params.containerModifierClass, \"grid-column\"));\n }\n\n swiper.emitContainerClasses();\n } // Toggle navigation, pagination, scrollbar\n\n\n ['navigation', 'pagination', 'scrollbar'].forEach(function (prop) {\n var wasModuleEnabled = params[prop] && params[prop].enabled;\n var isModuleEnabled = breakpointParams[prop] && breakpointParams[prop].enabled;\n\n if (wasModuleEnabled && !isModuleEnabled) {\n swiper[prop].disable();\n }\n\n if (!wasModuleEnabled && isModuleEnabled) {\n swiper[prop].enable();\n }\n });\n var directionChanged = breakpointParams.direction && breakpointParams.direction !== params.direction;\n var needsReLoop = params.loop && (breakpointParams.slidesPerView !== params.slidesPerView || directionChanged);\n\n if (directionChanged && initialized) {\n swiper.changeDirection();\n }\n\n extend(swiper.params, breakpointParams);\n var isEnabled = swiper.params.enabled;\n Object.assign(swiper, {\n allowTouchMove: swiper.params.allowTouchMove,\n allowSlideNext: swiper.params.allowSlideNext,\n allowSlidePrev: swiper.params.allowSlidePrev\n });\n\n if (wasEnabled && !isEnabled) {\n swiper.disable();\n } else if (!wasEnabled && isEnabled) {\n swiper.enable();\n }\n\n swiper.currentBreakpoint = breakpoint;\n swiper.emit('_beforeBreakpoint', breakpointParams);\n\n if (needsReLoop && initialized) {\n swiper.loopDestroy();\n swiper.loopCreate();\n swiper.updateSlides();\n swiper.slideTo(activeIndex - loopedSlides + swiper.loopedSlides, 0, false);\n }\n\n swiper.emit('breakpoint', breakpointParams);\n}","import setBreakpoint from './setBreakpoint.js';\nimport getBreakpoint from './getBreakpoint.js';\nexport default {\n setBreakpoint: setBreakpoint,\n getBreakpoint: getBreakpoint\n};","import { getWindow } from 'ssr-window';\nexport default function getBreakpoint(breakpoints, base, containerEl) {\n if (base === void 0) {\n base = 'window';\n }\n\n if (!breakpoints || base === 'container' && !containerEl) return undefined;\n var breakpoint = false;\n var window = getWindow();\n var currentHeight = base === 'window' ? window.innerHeight : containerEl.clientHeight;\n var points = Object.keys(breakpoints).map(function (point) {\n if (typeof point === 'string' && point.indexOf('@') === 0) {\n var minRatio = parseFloat(point.substr(1));\n var value = currentHeight * minRatio;\n return {\n value: value,\n point: point\n };\n }\n\n return {\n value: point,\n point: point\n };\n });\n points.sort(function (a, b) {\n return parseInt(a.value, 10) - parseInt(b.value, 10);\n });\n\n for (var i = 0; i < points.length; i += 1) {\n var _points$i = points[i],\n point = _points$i.point,\n value = _points$i.value;\n\n if (base === 'window') {\n if (window.matchMedia(\"(min-width: \".concat(value, \"px)\")).matches) {\n breakpoint = point;\n }\n } else if (value <= containerEl.clientWidth) {\n breakpoint = point;\n }\n }\n\n return breakpoint || 'max';\n}","import addClasses from './addClasses.js';\nimport removeClasses from './removeClasses.js';\nexport default {\n addClasses: addClasses,\n removeClasses: removeClasses\n};","import _toConsumableArray from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\";\n\nfunction prepareClasses(entries, prefix) {\n var resultClasses = [];\n entries.forEach(function (item) {\n if (typeof item === 'object') {\n Object.keys(item).forEach(function (classNames) {\n if (item[classNames]) {\n resultClasses.push(prefix + classNames);\n }\n });\n } else if (typeof item === 'string') {\n resultClasses.push(prefix + item);\n }\n });\n return resultClasses;\n}\n\nexport default function addClasses() {\n var swiper = this;\n var classNames = swiper.classNames,\n params = swiper.params,\n rtl = swiper.rtl,\n $el = swiper.$el,\n device = swiper.device,\n support = swiper.support; // prettier-ignore\n\n var suffixes = prepareClasses(['initialized', params.direction, {\n 'pointer-events': !support.touch\n }, {\n 'free-mode': swiper.params.freeMode && params.freeMode.enabled\n }, {\n 'autoheight': params.autoHeight\n }, {\n 'rtl': rtl\n }, {\n 'grid': params.grid && params.grid.rows > 1\n }, {\n 'grid-column': params.grid && params.grid.rows > 1 && params.grid.fill === 'column'\n }, {\n 'android': device.android\n }, {\n 'ios': device.ios\n }, {\n 'css-mode': params.cssMode\n }, {\n 'centered': params.cssMode && params.centeredSlides\n }, {\n 'watch-progress': params.watchSlidesProgress\n }], params.containerModifierClass);\n classNames.push.apply(classNames, _toConsumableArray(suffixes));\n $el.addClass(_toConsumableArray(classNames).join(' '));\n swiper.emitContainerClasses();\n}","export default function removeClasses() {\n var swiper = this;\n var $el = swiper.$el,\n classNames = swiper.classNames;\n $el.removeClass(classNames.join(' '));\n swiper.emitContainerClasses();\n}","function checkOverflow() {\n var swiper = this;\n var wasLocked = swiper.isLocked,\n params = swiper.params;\n var slidesOffsetBefore = params.slidesOffsetBefore;\n\n if (slidesOffsetBefore) {\n var lastSlideIndex = swiper.slides.length - 1;\n var lastSlideRightEdge = swiper.slidesGrid[lastSlideIndex] + swiper.slidesSizesGrid[lastSlideIndex] + slidesOffsetBefore * 2;\n swiper.isLocked = swiper.size > lastSlideRightEdge;\n } else {\n swiper.isLocked = swiper.snapGrid.length === 1;\n }\n\n if (params.allowSlideNext === true) {\n swiper.allowSlideNext = !swiper.isLocked;\n }\n\n if (params.allowSlidePrev === true) {\n swiper.allowSlidePrev = !swiper.isLocked;\n }\n\n if (wasLocked && wasLocked !== swiper.isLocked) {\n swiper.isEnd = false;\n }\n\n if (wasLocked !== swiper.isLocked) {\n swiper.emit(swiper.isLocked ? 'lock' : 'unlock');\n }\n}\n\nexport default {\n checkOverflow: checkOverflow\n};","export default {\n init: true,\n direction: 'horizontal',\n touchEventsTarget: 'wrapper',\n initialSlide: 0,\n speed: 300,\n cssMode: false,\n updateOnWindowResize: true,\n resizeObserver: true,\n nested: false,\n createElements: false,\n enabled: true,\n focusableElements: 'input, select, option, textarea, button, video, label',\n // Overrides\n width: null,\n height: null,\n //\n preventInteractionOnTransition: false,\n // ssr\n userAgent: null,\n url: null,\n // To support iOS's swipe-to-go-back gesture (when being used in-app).\n edgeSwipeDetection: false,\n edgeSwipeThreshold: 20,\n // Autoheight\n autoHeight: false,\n // Set wrapper width\n setWrapperSize: false,\n // Virtual Translate\n virtualTranslate: false,\n // Effects\n effect: 'slide',\n // 'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'\n // Breakpoints\n breakpoints: undefined,\n breakpointsBase: 'window',\n // Slides grid\n spaceBetween: 0,\n slidesPerView: 1,\n slidesPerGroup: 1,\n slidesPerGroupSkip: 0,\n slidesPerGroupAuto: false,\n centeredSlides: false,\n centeredSlidesBounds: false,\n slidesOffsetBefore: 0,\n // in px\n slidesOffsetAfter: 0,\n // in px\n normalizeSlideIndex: true,\n centerInsufficientSlides: false,\n // Disable swiper and hide navigation when container not overflow\n watchOverflow: true,\n // Round length\n roundLengths: false,\n // Touches\n touchRatio: 1,\n touchAngle: 45,\n simulateTouch: true,\n shortSwipes: true,\n longSwipes: true,\n longSwipesRatio: 0.5,\n longSwipesMs: 300,\n followFinger: true,\n allowTouchMove: true,\n threshold: 0,\n touchMoveStopPropagation: false,\n touchStartPreventDefault: true,\n touchStartForcePreventDefault: false,\n touchReleaseOnEdges: false,\n // Unique Navigation Elements\n uniqueNavElements: true,\n // Resistance\n resistance: true,\n resistanceRatio: 0.85,\n // Progress\n watchSlidesProgress: false,\n // Cursor\n grabCursor: false,\n // Clicks\n preventClicks: true,\n preventClicksPropagation: true,\n slideToClickedSlide: false,\n // Images\n preloadImages: true,\n updateOnImagesReady: true,\n // loop\n loop: false,\n loopAdditionalSlides: 0,\n loopedSlides: null,\n loopedSlidesLimit: true,\n loopFillGroupWithBlank: false,\n loopPreventsSlide: true,\n // rewind\n rewind: false,\n // Swiping/no swiping\n allowSlidePrev: true,\n allowSlideNext: true,\n swipeHandler: null,\n // '.swipe-handler',\n noSwiping: true,\n noSwipingClass: 'swiper-no-swiping',\n noSwipingSelector: null,\n // Passive Listeners\n passiveListeners: true,\n maxBackfaceHiddenSlides: 10,\n // NS\n containerModifierClass: 'swiper-',\n // NEW\n slideClass: 'swiper-slide',\n slideBlankClass: 'swiper-slide-invisible-blank',\n slideActiveClass: 'swiper-slide-active',\n slideDuplicateActiveClass: 'swiper-slide-duplicate-active',\n slideVisibleClass: 'swiper-slide-visible',\n slideDuplicateClass: 'swiper-slide-duplicate',\n slideNextClass: 'swiper-slide-next',\n slideDuplicateNextClass: 'swiper-slide-duplicate-next',\n slidePrevClass: 'swiper-slide-prev',\n slideDuplicatePrevClass: 'swiper-slide-duplicate-prev',\n wrapperClass: 'swiper-wrapper',\n // Callbacks\n runCallbacksOnInit: true,\n // Internals\n _emitClasses: false\n};","import { extend } from '../shared/utils.js';\nexport default function moduleExtendParams(params, allModulesParams) {\n return function extendParams(obj) {\n if (obj === void 0) {\n obj = {};\n }\n\n var moduleParamName = Object.keys(obj)[0];\n var moduleParams = obj[moduleParamName];\n\n if (typeof moduleParams !== 'object' || moduleParams === null) {\n extend(allModulesParams, obj);\n return;\n }\n\n if (['navigation', 'pagination', 'scrollbar'].indexOf(moduleParamName) >= 0 && params[moduleParamName] === true) {\n params[moduleParamName] = {\n auto: true\n };\n }\n\n if (!(moduleParamName in params && 'enabled' in moduleParams)) {\n extend(allModulesParams, obj);\n return;\n }\n\n if (params[moduleParamName] === true) {\n params[moduleParamName] = {\n enabled: true\n };\n }\n\n if (typeof params[moduleParamName] === 'object' && !('enabled' in params[moduleParamName])) {\n params[moduleParamName].enabled = true;\n }\n\n if (!params[moduleParamName]) params[moduleParamName] = {\n enabled: false\n };\n extend(allModulesParams, obj);\n };\n}","import _toConsumableArray from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\";\nimport _classCallCheck from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/classCallCheck.js\";\nimport _createClass from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/createClass.js\";\n\n/* eslint no-param-reassign: \"off\" */\nimport { getDocument } from 'ssr-window';\nimport $ from '../shared/dom.js';\nimport { extend, now, deleteProps } from '../shared/utils.js';\nimport { getSupport } from '../shared/get-support.js';\nimport { getDevice } from '../shared/get-device.js';\nimport { getBrowser } from '../shared/get-browser.js';\nimport Resize from './modules/resize/resize.js';\nimport Observer from './modules/observer/observer.js';\nimport eventsEmitter from './events-emitter.js';\nimport update from './update/index.js';\nimport translate from './translate/index.js';\nimport transition from './transition/index.js';\nimport slide from './slide/index.js';\nimport loop from './loop/index.js';\nimport grabCursor from './grab-cursor/index.js';\nimport events from './events/index.js';\nimport breakpoints from './breakpoints/index.js';\nimport classes from './classes/index.js';\nimport images from './images/index.js';\nimport checkOverflow from './check-overflow/index.js';\nimport defaults from './defaults.js';\nimport moduleExtendParams from './moduleExtendParams.js';\nvar prototypes = {\n eventsEmitter: eventsEmitter,\n update: update,\n translate: translate,\n transition: transition,\n slide: slide,\n loop: loop,\n grabCursor: grabCursor,\n events: events,\n breakpoints: breakpoints,\n checkOverflow: checkOverflow,\n classes: classes,\n images: images\n};\nvar extendedDefaults = {};\n\nvar Swiper = /*#__PURE__*/function () {\n function Swiper() {\n _classCallCheck(this, Swiper);\n\n var el;\n var params;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if (args.length === 1 && args[0].constructor && Object.prototype.toString.call(args[0]).slice(8, -1) === 'Object') {\n params = args[0];\n } else {\n el = args[0];\n params = args[1];\n }\n\n if (!params) params = {};\n params = extend({}, params);\n if (el && !params.el) params.el = el;\n\n if (params.el && $(params.el).length > 1) {\n var swipers = [];\n $(params.el).each(function (containerEl) {\n var newParams = extend({}, params, {\n el: containerEl\n });\n swipers.push(new Swiper(newParams));\n });\n return swipers;\n } // Swiper Instance\n\n\n var swiper = this;\n swiper.__swiper__ = true;\n swiper.support = getSupport();\n swiper.device = getDevice({\n userAgent: params.userAgent\n });\n swiper.browser = getBrowser();\n swiper.eventsListeners = {};\n swiper.eventsAnyListeners = [];\n swiper.modules = _toConsumableArray(swiper.__modules__);\n\n if (params.modules && Array.isArray(params.modules)) {\n var _swiper$modules;\n\n (_swiper$modules = swiper.modules).push.apply(_swiper$modules, _toConsumableArray(params.modules));\n }\n\n var allModulesParams = {};\n swiper.modules.forEach(function (mod) {\n mod({\n swiper: swiper,\n extendParams: moduleExtendParams(params, allModulesParams),\n on: swiper.on.bind(swiper),\n once: swiper.once.bind(swiper),\n off: swiper.off.bind(swiper),\n emit: swiper.emit.bind(swiper)\n });\n }); // Extend defaults with modules params\n\n var swiperParams = extend({}, defaults, allModulesParams); // Extend defaults with passed params\n\n swiper.params = extend({}, swiperParams, extendedDefaults, params);\n swiper.originalParams = extend({}, swiper.params);\n swiper.passedParams = extend({}, params); // add event listeners\n\n if (swiper.params && swiper.params.on) {\n Object.keys(swiper.params.on).forEach(function (eventName) {\n swiper.on(eventName, swiper.params.on[eventName]);\n });\n }\n\n if (swiper.params && swiper.params.onAny) {\n swiper.onAny(swiper.params.onAny);\n } // Save Dom lib\n\n\n swiper.$ = $; // Extend Swiper\n\n Object.assign(swiper, {\n enabled: swiper.params.enabled,\n el: el,\n // Classes\n classNames: [],\n // Slides\n slides: $(),\n slidesGrid: [],\n snapGrid: [],\n slidesSizesGrid: [],\n // isDirection\n isHorizontal: function isHorizontal() {\n return swiper.params.direction === 'horizontal';\n },\n isVertical: function isVertical() {\n return swiper.params.direction === 'vertical';\n },\n // Indexes\n activeIndex: 0,\n realIndex: 0,\n //\n isBeginning: true,\n isEnd: false,\n // Props\n translate: 0,\n previousTranslate: 0,\n progress: 0,\n velocity: 0,\n animating: false,\n // Locks\n allowSlideNext: swiper.params.allowSlideNext,\n allowSlidePrev: swiper.params.allowSlidePrev,\n // Touch Events\n touchEvents: function touchEvents() {\n var touch = ['touchstart', 'touchmove', 'touchend', 'touchcancel'];\n var desktop = ['pointerdown', 'pointermove', 'pointerup'];\n swiper.touchEventsTouch = {\n start: touch[0],\n move: touch[1],\n end: touch[2],\n cancel: touch[3]\n };\n swiper.touchEventsDesktop = {\n start: desktop[0],\n move: desktop[1],\n end: desktop[2]\n };\n return swiper.support.touch || !swiper.params.simulateTouch ? swiper.touchEventsTouch : swiper.touchEventsDesktop;\n }(),\n touchEventsData: {\n isTouched: undefined,\n isMoved: undefined,\n allowTouchCallbacks: undefined,\n touchStartTime: undefined,\n isScrolling: undefined,\n currentTranslate: undefined,\n startTranslate: undefined,\n allowThresholdMove: undefined,\n // Form elements to match\n focusableElements: swiper.params.focusableElements,\n // Last click time\n lastClickTime: now(),\n clickTimeout: undefined,\n // Velocities\n velocities: [],\n allowMomentumBounce: undefined,\n isTouchEvent: undefined,\n startMoving: undefined\n },\n // Clicks\n allowClick: true,\n // Touches\n allowTouchMove: swiper.params.allowTouchMove,\n touches: {\n startX: 0,\n startY: 0,\n currentX: 0,\n currentY: 0,\n diff: 0\n },\n // Images\n imagesToLoad: [],\n imagesLoaded: 0\n });\n swiper.emit('_swiper'); // Init\n\n if (swiper.params.init) {\n swiper.init();\n } // Return app instance\n\n\n return swiper;\n }\n\n _createClass(Swiper, [{\n key: \"enable\",\n value: function enable() {\n var swiper = this;\n if (swiper.enabled) return;\n swiper.enabled = true;\n\n if (swiper.params.grabCursor) {\n swiper.setGrabCursor();\n }\n\n swiper.emit('enable');\n }\n }, {\n key: \"disable\",\n value: function disable() {\n var swiper = this;\n if (!swiper.enabled) return;\n swiper.enabled = false;\n\n if (swiper.params.grabCursor) {\n swiper.unsetGrabCursor();\n }\n\n swiper.emit('disable');\n }\n }, {\n key: \"setProgress\",\n value: function setProgress(progress, speed) {\n var swiper = this;\n progress = Math.min(Math.max(progress, 0), 1);\n var min = swiper.minTranslate();\n var max = swiper.maxTranslate();\n var current = (max - min) * progress + min;\n swiper.translateTo(current, typeof speed === 'undefined' ? 0 : speed);\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n }\n }, {\n key: \"emitContainerClasses\",\n value: function emitContainerClasses() {\n var swiper = this;\n if (!swiper.params._emitClasses || !swiper.el) return;\n var cls = swiper.el.className.split(' ').filter(function (className) {\n return className.indexOf('swiper') === 0 || className.indexOf(swiper.params.containerModifierClass) === 0;\n });\n swiper.emit('_containerClasses', cls.join(' '));\n }\n }, {\n key: \"getSlideClasses\",\n value: function getSlideClasses(slideEl) {\n var swiper = this;\n if (swiper.destroyed) return '';\n return slideEl.className.split(' ').filter(function (className) {\n return className.indexOf('swiper-slide') === 0 || className.indexOf(swiper.params.slideClass) === 0;\n }).join(' ');\n }\n }, {\n key: \"emitSlidesClasses\",\n value: function emitSlidesClasses() {\n var swiper = this;\n if (!swiper.params._emitClasses || !swiper.el) return;\n var updates = [];\n swiper.slides.each(function (slideEl) {\n var classNames = swiper.getSlideClasses(slideEl);\n updates.push({\n slideEl: slideEl,\n classNames: classNames\n });\n swiper.emit('_slideClass', slideEl, classNames);\n });\n swiper.emit('_slideClasses', updates);\n }\n }, {\n key: \"slidesPerViewDynamic\",\n value: function slidesPerViewDynamic(view, exact) {\n if (view === void 0) {\n view = 'current';\n }\n\n if (exact === void 0) {\n exact = false;\n }\n\n var swiper = this;\n var params = swiper.params,\n slides = swiper.slides,\n slidesGrid = swiper.slidesGrid,\n slidesSizesGrid = swiper.slidesSizesGrid,\n swiperSize = swiper.size,\n activeIndex = swiper.activeIndex;\n var spv = 1;\n\n if (params.centeredSlides) {\n var slideSize = slides[activeIndex].swiperSlideSize;\n var breakLoop;\n\n for (var i = activeIndex + 1; i < slides.length; i += 1) {\n if (slides[i] && !breakLoop) {\n slideSize += slides[i].swiperSlideSize;\n spv += 1;\n if (slideSize > swiperSize) breakLoop = true;\n }\n }\n\n for (var _i = activeIndex - 1; _i >= 0; _i -= 1) {\n if (slides[_i] && !breakLoop) {\n slideSize += slides[_i].swiperSlideSize;\n spv += 1;\n if (slideSize > swiperSize) breakLoop = true;\n }\n }\n } else {\n // eslint-disable-next-line\n if (view === 'current') {\n for (var _i2 = activeIndex + 1; _i2 < slides.length; _i2 += 1) {\n var slideInView = exact ? slidesGrid[_i2] + slidesSizesGrid[_i2] - slidesGrid[activeIndex] < swiperSize : slidesGrid[_i2] - slidesGrid[activeIndex] < swiperSize;\n\n if (slideInView) {\n spv += 1;\n }\n }\n } else {\n // previous\n for (var _i3 = activeIndex - 1; _i3 >= 0; _i3 -= 1) {\n var _slideInView = slidesGrid[activeIndex] - slidesGrid[_i3] < swiperSize;\n\n if (_slideInView) {\n spv += 1;\n }\n }\n }\n }\n\n return spv;\n }\n }, {\n key: \"update\",\n value: function update() {\n var swiper = this;\n if (!swiper || swiper.destroyed) return;\n var snapGrid = swiper.snapGrid,\n params = swiper.params; // Breakpoints\n\n if (params.breakpoints) {\n swiper.setBreakpoint();\n }\n\n swiper.updateSize();\n swiper.updateSlides();\n swiper.updateProgress();\n swiper.updateSlidesClasses();\n\n function setTranslate() {\n var translateValue = swiper.rtlTranslate ? swiper.translate * -1 : swiper.translate;\n var newTranslate = Math.min(Math.max(translateValue, swiper.maxTranslate()), swiper.minTranslate());\n swiper.setTranslate(newTranslate);\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n }\n\n var translated;\n\n if (swiper.params.freeMode && swiper.params.freeMode.enabled) {\n setTranslate();\n\n if (swiper.params.autoHeight) {\n swiper.updateAutoHeight();\n }\n } else {\n if ((swiper.params.slidesPerView === 'auto' || swiper.params.slidesPerView > 1) && swiper.isEnd && !swiper.params.centeredSlides) {\n translated = swiper.slideTo(swiper.slides.length - 1, 0, false, true);\n } else {\n translated = swiper.slideTo(swiper.activeIndex, 0, false, true);\n }\n\n if (!translated) {\n setTranslate();\n }\n }\n\n if (params.watchOverflow && snapGrid !== swiper.snapGrid) {\n swiper.checkOverflow();\n }\n\n swiper.emit('update');\n }\n }, {\n key: \"changeDirection\",\n value: function changeDirection(newDirection, needUpdate) {\n if (needUpdate === void 0) {\n needUpdate = true;\n }\n\n var swiper = this;\n var currentDirection = swiper.params.direction;\n\n if (!newDirection) {\n // eslint-disable-next-line\n newDirection = currentDirection === 'horizontal' ? 'vertical' : 'horizontal';\n }\n\n if (newDirection === currentDirection || newDirection !== 'horizontal' && newDirection !== 'vertical') {\n return swiper;\n }\n\n swiper.$el.removeClass(\"\".concat(swiper.params.containerModifierClass).concat(currentDirection)).addClass(\"\".concat(swiper.params.containerModifierClass).concat(newDirection));\n swiper.emitContainerClasses();\n swiper.params.direction = newDirection;\n swiper.slides.each(function (slideEl) {\n if (newDirection === 'vertical') {\n slideEl.style.width = '';\n } else {\n slideEl.style.height = '';\n }\n });\n swiper.emit('changeDirection');\n if (needUpdate) swiper.update();\n return swiper;\n }\n }, {\n key: \"changeLanguageDirection\",\n value: function changeLanguageDirection(direction) {\n var swiper = this;\n if (swiper.rtl && direction === 'rtl' || !swiper.rtl && direction === 'ltr') return;\n swiper.rtl = direction === 'rtl';\n swiper.rtlTranslate = swiper.params.direction === 'horizontal' && swiper.rtl;\n\n if (swiper.rtl) {\n swiper.$el.addClass(\"\".concat(swiper.params.containerModifierClass, \"rtl\"));\n swiper.el.dir = 'rtl';\n } else {\n swiper.$el.removeClass(\"\".concat(swiper.params.containerModifierClass, \"rtl\"));\n swiper.el.dir = 'ltr';\n }\n\n swiper.update();\n }\n }, {\n key: \"mount\",\n value: function mount(el) {\n var swiper = this;\n if (swiper.mounted) return true; // Find el\n\n var $el = $(el || swiper.params.el);\n el = $el[0];\n\n if (!el) {\n return false;\n }\n\n el.swiper = swiper;\n\n var getWrapperSelector = function getWrapperSelector() {\n return \".\".concat((swiper.params.wrapperClass || '').trim().split(' ').join('.'));\n };\n\n var getWrapper = function getWrapper() {\n if (el && el.shadowRoot && el.shadowRoot.querySelector) {\n var res = $(el.shadowRoot.querySelector(getWrapperSelector())); // Children needs to return slot items\n\n res.children = function (options) {\n return $el.children(options);\n };\n\n return res;\n }\n\n if (!$el.children) {\n return $($el).children(getWrapperSelector());\n }\n\n return $el.children(getWrapperSelector());\n }; // Find Wrapper\n\n\n var $wrapperEl = getWrapper();\n\n if ($wrapperEl.length === 0 && swiper.params.createElements) {\n var document = getDocument();\n var wrapper = document.createElement('div');\n $wrapperEl = $(wrapper);\n wrapper.className = swiper.params.wrapperClass;\n $el.append(wrapper);\n $el.children(\".\".concat(swiper.params.slideClass)).each(function (slideEl) {\n $wrapperEl.append(slideEl);\n });\n }\n\n Object.assign(swiper, {\n $el: $el,\n el: el,\n $wrapperEl: $wrapperEl,\n wrapperEl: $wrapperEl[0],\n mounted: true,\n // RTL\n rtl: el.dir.toLowerCase() === 'rtl' || $el.css('direction') === 'rtl',\n rtlTranslate: swiper.params.direction === 'horizontal' && (el.dir.toLowerCase() === 'rtl' || $el.css('direction') === 'rtl'),\n wrongRTL: $wrapperEl.css('display') === '-webkit-box'\n });\n return true;\n }\n }, {\n key: \"init\",\n value: function init(el) {\n var swiper = this;\n if (swiper.initialized) return swiper;\n var mounted = swiper.mount(el);\n if (mounted === false) return swiper;\n swiper.emit('beforeInit'); // Set breakpoint\n\n if (swiper.params.breakpoints) {\n swiper.setBreakpoint();\n } // Add Classes\n\n\n swiper.addClasses(); // Create loop\n\n if (swiper.params.loop) {\n swiper.loopCreate();\n } // Update size\n\n\n swiper.updateSize(); // Update slides\n\n swiper.updateSlides();\n\n if (swiper.params.watchOverflow) {\n swiper.checkOverflow();\n } // Set Grab Cursor\n\n\n if (swiper.params.grabCursor && swiper.enabled) {\n swiper.setGrabCursor();\n }\n\n if (swiper.params.preloadImages) {\n swiper.preloadImages();\n } // Slide To Initial Slide\n\n\n if (swiper.params.loop) {\n swiper.slideTo(swiper.params.initialSlide + swiper.loopedSlides, 0, swiper.params.runCallbacksOnInit, false, true);\n } else {\n swiper.slideTo(swiper.params.initialSlide, 0, swiper.params.runCallbacksOnInit, false, true);\n } // Attach events\n\n\n swiper.attachEvents(); // Init Flag\n\n swiper.initialized = true; // Emit\n\n swiper.emit('init');\n swiper.emit('afterInit');\n return swiper;\n }\n }, {\n key: \"destroy\",\n value: function destroy(deleteInstance, cleanStyles) {\n if (deleteInstance === void 0) {\n deleteInstance = true;\n }\n\n if (cleanStyles === void 0) {\n cleanStyles = true;\n }\n\n var swiper = this;\n var params = swiper.params,\n $el = swiper.$el,\n $wrapperEl = swiper.$wrapperEl,\n slides = swiper.slides;\n\n if (typeof swiper.params === 'undefined' || swiper.destroyed) {\n return null;\n }\n\n swiper.emit('beforeDestroy'); // Init Flag\n\n swiper.initialized = false; // Detach events\n\n swiper.detachEvents(); // Destroy loop\n\n if (params.loop) {\n swiper.loopDestroy();\n } // Cleanup styles\n\n\n if (cleanStyles) {\n swiper.removeClasses();\n $el.removeAttr('style');\n $wrapperEl.removeAttr('style');\n\n if (slides && slides.length) {\n slides.removeClass([params.slideVisibleClass, params.slideActiveClass, params.slideNextClass, params.slidePrevClass].join(' ')).removeAttr('style').removeAttr('data-swiper-slide-index');\n }\n }\n\n swiper.emit('destroy'); // Detach emitter events\n\n Object.keys(swiper.eventsListeners).forEach(function (eventName) {\n swiper.off(eventName);\n });\n\n if (deleteInstance !== false) {\n swiper.$el[0].swiper = null;\n deleteProps(swiper);\n }\n\n swiper.destroyed = true;\n return null;\n }\n }], [{\n key: \"extendDefaults\",\n value: function extendDefaults(newDefaults) {\n extend(extendedDefaults, newDefaults);\n }\n }, {\n key: \"extendedDefaults\",\n get: function get() {\n return extendedDefaults;\n }\n }, {\n key: \"defaults\",\n get: function get() {\n return defaults;\n }\n }, {\n key: \"installModule\",\n value: function installModule(mod) {\n if (!Swiper.prototype.__modules__) Swiper.prototype.__modules__ = [];\n var modules = Swiper.prototype.__modules__;\n\n if (typeof mod === 'function' && modules.indexOf(mod) < 0) {\n modules.push(mod);\n }\n }\n }, {\n key: \"use\",\n value: function use(module) {\n if (Array.isArray(module)) {\n module.forEach(function (m) {\n return Swiper.installModule(m);\n });\n return Swiper;\n }\n\n Swiper.installModule(module);\n return Swiper;\n }\n }]);\n\n return Swiper;\n}();\n\nObject.keys(prototypes).forEach(function (prototypeGroup) {\n Object.keys(prototypes[prototypeGroup]).forEach(function (protoMethod) {\n Swiper.prototype[protoMethod] = prototypes[prototypeGroup][protoMethod];\n });\n});\nSwiper.use([Resize, Observer]);\nexport default Swiper;","import setTransition from './setTransition.js';\nimport transitionStart from './transitionStart.js';\nimport transitionEnd from './transitionEnd.js';\nexport default {\n setTransition: setTransition,\n transitionStart: transitionStart,\n transitionEnd: transitionEnd\n};","export default function setTransition(duration, byController) {\n var swiper = this;\n\n if (!swiper.params.cssMode) {\n swiper.$wrapperEl.transition(duration);\n }\n\n swiper.emit('setTransition', duration, byController);\n}","import transitionEmit from './transitionEmit.js';\nexport default function transitionStart(runCallbacks, direction) {\n if (runCallbacks === void 0) {\n runCallbacks = true;\n }\n\n var swiper = this;\n var params = swiper.params;\n if (params.cssMode) return;\n\n if (params.autoHeight) {\n swiper.updateAutoHeight();\n }\n\n transitionEmit({\n swiper: swiper,\n runCallbacks: runCallbacks,\n direction: direction,\n step: 'Start'\n });\n}","import transitionEmit from './transitionEmit.js';\nexport default function transitionEnd(runCallbacks, direction) {\n if (runCallbacks === void 0) {\n runCallbacks = true;\n }\n\n var swiper = this;\n var params = swiper.params;\n swiper.animating = false;\n if (params.cssMode) return;\n swiper.setTransition(0);\n transitionEmit({\n swiper: swiper,\n runCallbacks: runCallbacks,\n direction: direction,\n step: 'End'\n });\n}","import setGrabCursor from './setGrabCursor.js';\nimport unsetGrabCursor from './unsetGrabCursor.js';\nexport default {\n setGrabCursor: setGrabCursor,\n unsetGrabCursor: unsetGrabCursor\n};","export default function setGrabCursor(moving) {\n var swiper = this;\n if (swiper.support.touch || !swiper.params.simulateTouch || swiper.params.watchOverflow && swiper.isLocked || swiper.params.cssMode) return;\n var el = swiper.params.touchEventsTarget === 'container' ? swiper.el : swiper.wrapperEl;\n el.style.cursor = 'move';\n el.style.cursor = moving ? 'grabbing' : 'grab';\n}","export default function unsetGrabCursor() {\n var swiper = this;\n\n if (swiper.support.touch || swiper.params.watchOverflow && swiper.isLocked || swiper.params.cssMode) {\n return;\n }\n\n swiper[swiper.params.touchEventsTarget === 'container' ? 'el' : 'wrapperEl'].style.cursor = '';\n}","import loadImage from './loadImage.js';\nimport preloadImages from './preloadImages.js';\nexport default {\n loadImage: loadImage,\n preloadImages: preloadImages\n};","import { getWindow } from 'ssr-window';\nimport $ from '../../shared/dom.js';\nexport default function loadImage(imageEl, src, srcset, sizes, checkForComplete, callback) {\n var window = getWindow();\n var image;\n\n function onReady() {\n if (callback) callback();\n }\n\n var isPicture = $(imageEl).parent('picture')[0];\n\n if (!isPicture && (!imageEl.complete || !checkForComplete)) {\n if (src) {\n image = new window.Image();\n image.onload = onReady;\n image.onerror = onReady;\n\n if (sizes) {\n image.sizes = sizes;\n }\n\n if (srcset) {\n image.srcset = srcset;\n }\n\n if (src) {\n image.src = src;\n }\n } else {\n onReady();\n }\n } else {\n // image already loaded...\n onReady();\n }\n}","export default function preloadImages() {\n var swiper = this;\n swiper.imagesToLoad = swiper.$el.find('img');\n\n function onReady() {\n if (typeof swiper === 'undefined' || swiper === null || !swiper || swiper.destroyed) return;\n if (swiper.imagesLoaded !== undefined) swiper.imagesLoaded += 1;\n\n if (swiper.imagesLoaded === swiper.imagesToLoad.length) {\n if (swiper.params.updateOnImagesReady) swiper.update();\n swiper.emit('imagesReady');\n }\n }\n\n for (var i = 0; i < swiper.imagesToLoad.length; i += 1) {\n var imageEl = swiper.imagesToLoad[i];\n swiper.loadImage(imageEl, imageEl.currentSrc || imageEl.getAttribute('src'), imageEl.srcset || imageEl.getAttribute('srcset'), imageEl.sizes || imageEl.getAttribute('sizes'), true, onReady);\n }\n}","import { getWindow } from 'ssr-window';\nexport default function Resize(_ref) {\n var swiper = _ref.swiper,\n on = _ref.on,\n emit = _ref.emit;\n var window = getWindow();\n var observer = null;\n var animationFrame = null;\n\n var resizeHandler = function resizeHandler() {\n if (!swiper || swiper.destroyed || !swiper.initialized) return;\n emit('beforeResize');\n emit('resize');\n };\n\n var createObserver = function createObserver() {\n if (!swiper || swiper.destroyed || !swiper.initialized) return;\n observer = new ResizeObserver(function (entries) {\n animationFrame = window.requestAnimationFrame(function () {\n var width = swiper.width,\n height = swiper.height;\n var newWidth = width;\n var newHeight = height;\n entries.forEach(function (_ref2) {\n var contentBoxSize = _ref2.contentBoxSize,\n contentRect = _ref2.contentRect,\n target = _ref2.target;\n if (target && target !== swiper.el) return;\n newWidth = contentRect ? contentRect.width : (contentBoxSize[0] || contentBoxSize).inlineSize;\n newHeight = contentRect ? contentRect.height : (contentBoxSize[0] || contentBoxSize).blockSize;\n });\n\n if (newWidth !== width || newHeight !== height) {\n resizeHandler();\n }\n });\n });\n observer.observe(swiper.el);\n };\n\n var removeObserver = function removeObserver() {\n if (animationFrame) {\n window.cancelAnimationFrame(animationFrame);\n }\n\n if (observer && observer.unobserve && swiper.el) {\n observer.unobserve(swiper.el);\n observer = null;\n }\n };\n\n var orientationChangeHandler = function orientationChangeHandler() {\n if (!swiper || swiper.destroyed || !swiper.initialized) return;\n emit('orientationchange');\n };\n\n on('init', function () {\n if (swiper.params.resizeObserver && typeof window.ResizeObserver !== 'undefined') {\n createObserver();\n return;\n }\n\n window.addEventListener('resize', resizeHandler);\n window.addEventListener('orientationchange', orientationChangeHandler);\n });\n on('destroy', function () {\n removeObserver();\n window.removeEventListener('resize', resizeHandler);\n window.removeEventListener('orientationchange', orientationChangeHandler);\n });\n}","import { getWindow } from 'ssr-window';\nexport default function Observer(_ref) {\n var swiper = _ref.swiper,\n extendParams = _ref.extendParams,\n on = _ref.on,\n emit = _ref.emit;\n var observers = [];\n var window = getWindow();\n\n var attach = function attach(target, options) {\n if (options === void 0) {\n options = {};\n }\n\n var ObserverFunc = window.MutationObserver || window.WebkitMutationObserver;\n var observer = new ObserverFunc(function (mutations) {\n // The observerUpdate event should only be triggered\n // once despite the number of mutations. Additional\n // triggers are redundant and are very costly\n if (mutations.length === 1) {\n emit('observerUpdate', mutations[0]);\n return;\n }\n\n var observerUpdate = function observerUpdate() {\n emit('observerUpdate', mutations[0]);\n };\n\n if (window.requestAnimationFrame) {\n window.requestAnimationFrame(observerUpdate);\n } else {\n window.setTimeout(observerUpdate, 0);\n }\n });\n observer.observe(target, {\n attributes: typeof options.attributes === 'undefined' ? true : options.attributes,\n childList: typeof options.childList === 'undefined' ? true : options.childList,\n characterData: typeof options.characterData === 'undefined' ? true : options.characterData\n });\n observers.push(observer);\n };\n\n var init = function init() {\n if (!swiper.params.observer) return;\n\n if (swiper.params.observeParents) {\n var containerParents = swiper.$el.parents();\n\n for (var i = 0; i < containerParents.length; i += 1) {\n attach(containerParents[i]);\n }\n } // Observe container\n\n\n attach(swiper.$el[0], {\n childList: swiper.params.observeSlideChildren\n }); // Observe wrapper\n\n attach(swiper.$wrapperEl[0], {\n attributes: false\n });\n };\n\n var destroy = function destroy() {\n observers.forEach(function (observer) {\n observer.disconnect();\n });\n observers.splice(0, observers.length);\n };\n\n extendParams({\n observer: false,\n observeParents: false,\n observeSlideChildren: false\n });\n on('init', init);\n on('destroy', destroy);\n}","import createElementIfNotDefined from '../../shared/create-element-if-not-defined.js';\nimport $ from '../../shared/dom.js';\nexport default function Navigation(_ref) {\n var swiper = _ref.swiper,\n extendParams = _ref.extendParams,\n on = _ref.on,\n emit = _ref.emit;\n extendParams({\n navigation: {\n nextEl: null,\n prevEl: null,\n hideOnClick: false,\n disabledClass: 'swiper-button-disabled',\n hiddenClass: 'swiper-button-hidden',\n lockClass: 'swiper-button-lock',\n navigationDisabledClass: 'swiper-navigation-disabled'\n }\n });\n swiper.navigation = {\n nextEl: null,\n $nextEl: null,\n prevEl: null,\n $prevEl: null\n };\n\n function getEl(el) {\n var $el;\n\n if (el) {\n $el = $(el);\n\n if (swiper.params.uniqueNavElements && typeof el === 'string' && $el.length > 1 && swiper.$el.find(el).length === 1) {\n $el = swiper.$el.find(el);\n }\n }\n\n return $el;\n }\n\n function toggleEl($el, disabled) {\n var params = swiper.params.navigation;\n\n if ($el && $el.length > 0) {\n $el[disabled ? 'addClass' : 'removeClass'](params.disabledClass);\n if ($el[0] && $el[0].tagName === 'BUTTON') $el[0].disabled = disabled;\n\n if (swiper.params.watchOverflow && swiper.enabled) {\n $el[swiper.isLocked ? 'addClass' : 'removeClass'](params.lockClass);\n }\n }\n }\n\n function update() {\n // Update Navigation Buttons\n if (swiper.params.loop) return;\n var _swiper$navigation = swiper.navigation,\n $nextEl = _swiper$navigation.$nextEl,\n $prevEl = _swiper$navigation.$prevEl;\n toggleEl($prevEl, swiper.isBeginning && !swiper.params.rewind);\n toggleEl($nextEl, swiper.isEnd && !swiper.params.rewind);\n }\n\n function onPrevClick(e) {\n e.preventDefault();\n if (swiper.isBeginning && !swiper.params.loop && !swiper.params.rewind) return;\n swiper.slidePrev();\n emit('navigationPrev');\n }\n\n function onNextClick(e) {\n e.preventDefault();\n if (swiper.isEnd && !swiper.params.loop && !swiper.params.rewind) return;\n swiper.slideNext();\n emit('navigationNext');\n }\n\n function init() {\n var params = swiper.params.navigation;\n swiper.params.navigation = createElementIfNotDefined(swiper, swiper.originalParams.navigation, swiper.params.navigation, {\n nextEl: 'swiper-button-next',\n prevEl: 'swiper-button-prev'\n });\n if (!(params.nextEl || params.prevEl)) return;\n var $nextEl = getEl(params.nextEl);\n var $prevEl = getEl(params.prevEl);\n\n if ($nextEl && $nextEl.length > 0) {\n $nextEl.on('click', onNextClick);\n }\n\n if ($prevEl && $prevEl.length > 0) {\n $prevEl.on('click', onPrevClick);\n }\n\n Object.assign(swiper.navigation, {\n $nextEl: $nextEl,\n nextEl: $nextEl && $nextEl[0],\n $prevEl: $prevEl,\n prevEl: $prevEl && $prevEl[0]\n });\n\n if (!swiper.enabled) {\n if ($nextEl) $nextEl.addClass(params.lockClass);\n if ($prevEl) $prevEl.addClass(params.lockClass);\n }\n }\n\n function destroy() {\n var _swiper$navigation2 = swiper.navigation,\n $nextEl = _swiper$navigation2.$nextEl,\n $prevEl = _swiper$navigation2.$prevEl;\n\n if ($nextEl && $nextEl.length) {\n $nextEl.off('click', onNextClick);\n $nextEl.removeClass(swiper.params.navigation.disabledClass);\n }\n\n if ($prevEl && $prevEl.length) {\n $prevEl.off('click', onPrevClick);\n $prevEl.removeClass(swiper.params.navigation.disabledClass);\n }\n }\n\n on('init', function () {\n if (swiper.params.navigation.enabled === false) {\n // eslint-disable-next-line\n disable();\n } else {\n init();\n update();\n }\n });\n on('toEdge fromEdge lock unlock', function () {\n update();\n });\n on('destroy', function () {\n destroy();\n });\n on('enable disable', function () {\n var _swiper$navigation3 = swiper.navigation,\n $nextEl = _swiper$navigation3.$nextEl,\n $prevEl = _swiper$navigation3.$prevEl;\n\n if ($nextEl) {\n $nextEl[swiper.enabled ? 'removeClass' : 'addClass'](swiper.params.navigation.lockClass);\n }\n\n if ($prevEl) {\n $prevEl[swiper.enabled ? 'removeClass' : 'addClass'](swiper.params.navigation.lockClass);\n }\n });\n on('click', function (_s, e) {\n var _swiper$navigation4 = swiper.navigation,\n $nextEl = _swiper$navigation4.$nextEl,\n $prevEl = _swiper$navigation4.$prevEl;\n var targetEl = e.target;\n\n if (swiper.params.navigation.hideOnClick && !$(targetEl).is($prevEl) && !$(targetEl).is($nextEl)) {\n if (swiper.pagination && swiper.params.pagination && swiper.params.pagination.clickable && (swiper.pagination.el === targetEl || swiper.pagination.el.contains(targetEl))) return;\n var isHidden;\n\n if ($nextEl) {\n isHidden = $nextEl.hasClass(swiper.params.navigation.hiddenClass);\n } else if ($prevEl) {\n isHidden = $prevEl.hasClass(swiper.params.navigation.hiddenClass);\n }\n\n if (isHidden === true) {\n emit('navigationShow');\n } else {\n emit('navigationHide');\n }\n\n if ($nextEl) {\n $nextEl.toggleClass(swiper.params.navigation.hiddenClass);\n }\n\n if ($prevEl) {\n $prevEl.toggleClass(swiper.params.navigation.hiddenClass);\n }\n }\n });\n\n var enable = function enable() {\n swiper.$el.removeClass(swiper.params.navigation.navigationDisabledClass);\n init();\n update();\n };\n\n var disable = function disable() {\n swiper.$el.addClass(swiper.params.navigation.navigationDisabledClass);\n destroy();\n };\n\n Object.assign(swiper.navigation, {\n enable: enable,\n disable: disable,\n update: update,\n init: init,\n destroy: destroy\n });\n}","import { getDocument } from 'ssr-window';\nexport default function createElementIfNotDefined(swiper, originalParams, params, checkProps) {\n var document = getDocument();\n\n if (swiper.params.createElements) {\n Object.keys(checkProps).forEach(function (key) {\n if (!params[key] && params.auto === true) {\n var element = swiper.$el.children(\".\".concat(checkProps[key]))[0];\n\n if (!element) {\n element = document.createElement('div');\n element.className = checkProps[key];\n swiper.$el.append(element);\n }\n\n params[key] = element;\n originalParams[key] = element;\n }\n });\n }\n\n return params;\n}","/* eslint no-underscore-dangle: \"off\" */\n\n/* eslint no-use-before-define: \"off\" */\nimport { getDocument } from 'ssr-window';\nimport { nextTick } from '../../shared/utils.js';\nexport default function Autoplay(_ref) {\n var swiper = _ref.swiper,\n extendParams = _ref.extendParams,\n on = _ref.on,\n emit = _ref.emit;\n var timeout;\n swiper.autoplay = {\n running: false,\n paused: false\n };\n extendParams({\n autoplay: {\n enabled: false,\n delay: 3000,\n waitForTransition: true,\n disableOnInteraction: true,\n stopOnLastSlide: false,\n reverseDirection: false,\n pauseOnMouseEnter: false\n }\n });\n\n function run() {\n if (!swiper.size) {\n swiper.autoplay.running = false;\n swiper.autoplay.paused = false;\n return;\n }\n\n var $activeSlideEl = swiper.slides.eq(swiper.activeIndex);\n var delay = swiper.params.autoplay.delay;\n\n if ($activeSlideEl.attr('data-swiper-autoplay')) {\n delay = $activeSlideEl.attr('data-swiper-autoplay') || swiper.params.autoplay.delay;\n }\n\n clearTimeout(timeout);\n timeout = nextTick(function () {\n var autoplayResult;\n\n if (swiper.params.autoplay.reverseDirection) {\n if (swiper.params.loop) {\n swiper.loopFix();\n autoplayResult = swiper.slidePrev(swiper.params.speed, true, true);\n emit('autoplay');\n } else if (!swiper.isBeginning) {\n autoplayResult = swiper.slidePrev(swiper.params.speed, true, true);\n emit('autoplay');\n } else if (!swiper.params.autoplay.stopOnLastSlide) {\n autoplayResult = swiper.slideTo(swiper.slides.length - 1, swiper.params.speed, true, true);\n emit('autoplay');\n } else {\n stop();\n }\n } else if (swiper.params.loop) {\n swiper.loopFix();\n autoplayResult = swiper.slideNext(swiper.params.speed, true, true);\n emit('autoplay');\n } else if (!swiper.isEnd) {\n autoplayResult = swiper.slideNext(swiper.params.speed, true, true);\n emit('autoplay');\n } else if (!swiper.params.autoplay.stopOnLastSlide) {\n autoplayResult = swiper.slideTo(0, swiper.params.speed, true, true);\n emit('autoplay');\n } else {\n stop();\n }\n\n if (swiper.params.cssMode && swiper.autoplay.running) run();else if (autoplayResult === false) {\n run();\n }\n }, delay);\n }\n\n function start() {\n if (typeof timeout !== 'undefined') return false;\n if (swiper.autoplay.running) return false;\n swiper.autoplay.running = true;\n emit('autoplayStart');\n run();\n return true;\n }\n\n function stop() {\n if (!swiper.autoplay.running) return false;\n if (typeof timeout === 'undefined') return false;\n\n if (timeout) {\n clearTimeout(timeout);\n timeout = undefined;\n }\n\n swiper.autoplay.running = false;\n emit('autoplayStop');\n return true;\n }\n\n function pause(speed) {\n if (!swiper.autoplay.running) return;\n if (swiper.autoplay.paused) return;\n if (timeout) clearTimeout(timeout);\n swiper.autoplay.paused = true;\n\n if (speed === 0 || !swiper.params.autoplay.waitForTransition) {\n swiper.autoplay.paused = false;\n run();\n } else {\n ['transitionend', 'webkitTransitionEnd'].forEach(function (event) {\n swiper.$wrapperEl[0].addEventListener(event, onTransitionEnd);\n });\n }\n }\n\n function onVisibilityChange() {\n var document = getDocument();\n\n if (document.visibilityState === 'hidden' && swiper.autoplay.running) {\n pause();\n }\n\n if (document.visibilityState === 'visible' && swiper.autoplay.paused) {\n run();\n swiper.autoplay.paused = false;\n }\n }\n\n function onTransitionEnd(e) {\n if (!swiper || swiper.destroyed || !swiper.$wrapperEl) return;\n if (e.target !== swiper.$wrapperEl[0]) return;\n ['transitionend', 'webkitTransitionEnd'].forEach(function (event) {\n swiper.$wrapperEl[0].removeEventListener(event, onTransitionEnd);\n });\n swiper.autoplay.paused = false;\n\n if (!swiper.autoplay.running) {\n stop();\n } else {\n run();\n }\n }\n\n function onMouseEnter() {\n if (swiper.params.autoplay.disableOnInteraction) {\n stop();\n } else {\n emit('autoplayPause');\n pause();\n }\n\n ['transitionend', 'webkitTransitionEnd'].forEach(function (event) {\n swiper.$wrapperEl[0].removeEventListener(event, onTransitionEnd);\n });\n }\n\n function onMouseLeave() {\n if (swiper.params.autoplay.disableOnInteraction) {\n return;\n }\n\n swiper.autoplay.paused = false;\n emit('autoplayResume');\n run();\n }\n\n function attachMouseEvents() {\n if (swiper.params.autoplay.pauseOnMouseEnter) {\n swiper.$el.on('mouseenter', onMouseEnter);\n swiper.$el.on('mouseleave', onMouseLeave);\n }\n }\n\n function detachMouseEvents() {\n swiper.$el.off('mouseenter', onMouseEnter);\n swiper.$el.off('mouseleave', onMouseLeave);\n }\n\n on('init', function () {\n if (swiper.params.autoplay.enabled) {\n start();\n var document = getDocument();\n document.addEventListener('visibilitychange', onVisibilityChange);\n attachMouseEvents();\n }\n });\n on('beforeTransitionStart', function (_s, speed, internal) {\n if (swiper.autoplay.running) {\n if (internal || !swiper.params.autoplay.disableOnInteraction) {\n swiper.autoplay.pause(speed);\n } else {\n stop();\n }\n }\n });\n on('sliderFirstMove', function () {\n if (swiper.autoplay.running) {\n if (swiper.params.autoplay.disableOnInteraction) {\n stop();\n } else {\n pause();\n }\n }\n });\n on('touchEnd', function () {\n if (swiper.params.cssMode && swiper.autoplay.paused && !swiper.params.autoplay.disableOnInteraction) {\n run();\n }\n });\n on('destroy', function () {\n detachMouseEvents();\n\n if (swiper.autoplay.running) {\n stop();\n }\n\n var document = getDocument();\n document.removeEventListener('visibilitychange', onVisibilityChange);\n });\n Object.assign(swiper.autoplay, {\n pause: pause,\n run: run,\n start: start,\n stop: stop\n });\n}","import { isObject } from '../../shared/utils.js';\nimport $ from '../../shared/dom.js';\nexport default function Thumb(_ref) {\n var swiper = _ref.swiper,\n extendParams = _ref.extendParams,\n on = _ref.on;\n extendParams({\n thumbs: {\n swiper: null,\n multipleActiveThumbs: true,\n autoScrollOffset: 0,\n slideThumbActiveClass: 'swiper-slide-thumb-active',\n thumbsContainerClass: 'swiper-thumbs'\n }\n });\n var initialized = false;\n var swiperCreated = false;\n swiper.thumbs = {\n swiper: null\n };\n\n function onThumbClick() {\n var thumbsSwiper = swiper.thumbs.swiper;\n if (!thumbsSwiper || thumbsSwiper.destroyed) return;\n var clickedIndex = thumbsSwiper.clickedIndex;\n var clickedSlide = thumbsSwiper.clickedSlide;\n if (clickedSlide && $(clickedSlide).hasClass(swiper.params.thumbs.slideThumbActiveClass)) return;\n if (typeof clickedIndex === 'undefined' || clickedIndex === null) return;\n var slideToIndex;\n\n if (thumbsSwiper.params.loop) {\n slideToIndex = parseInt($(thumbsSwiper.clickedSlide).attr('data-swiper-slide-index'), 10);\n } else {\n slideToIndex = clickedIndex;\n }\n\n if (swiper.params.loop) {\n var currentIndex = swiper.activeIndex;\n\n if (swiper.slides.eq(currentIndex).hasClass(swiper.params.slideDuplicateClass)) {\n swiper.loopFix(); // eslint-disable-next-line\n\n swiper._clientLeft = swiper.$wrapperEl[0].clientLeft;\n currentIndex = swiper.activeIndex;\n }\n\n var prevIndex = swiper.slides.eq(currentIndex).prevAll(\"[data-swiper-slide-index=\\\"\".concat(slideToIndex, \"\\\"]\")).eq(0).index();\n var nextIndex = swiper.slides.eq(currentIndex).nextAll(\"[data-swiper-slide-index=\\\"\".concat(slideToIndex, \"\\\"]\")).eq(0).index();\n if (typeof prevIndex === 'undefined') slideToIndex = nextIndex;else if (typeof nextIndex === 'undefined') slideToIndex = prevIndex;else if (nextIndex - currentIndex < currentIndex - prevIndex) slideToIndex = nextIndex;else slideToIndex = prevIndex;\n }\n\n swiper.slideTo(slideToIndex);\n }\n\n function init() {\n var thumbsParams = swiper.params.thumbs;\n if (initialized) return false;\n initialized = true;\n var SwiperClass = swiper.constructor;\n\n if (thumbsParams.swiper instanceof SwiperClass) {\n swiper.thumbs.swiper = thumbsParams.swiper;\n Object.assign(swiper.thumbs.swiper.originalParams, {\n watchSlidesProgress: true,\n slideToClickedSlide: false\n });\n Object.assign(swiper.thumbs.swiper.params, {\n watchSlidesProgress: true,\n slideToClickedSlide: false\n });\n } else if (isObject(thumbsParams.swiper)) {\n var thumbsSwiperParams = Object.assign({}, thumbsParams.swiper);\n Object.assign(thumbsSwiperParams, {\n watchSlidesProgress: true,\n slideToClickedSlide: false\n });\n swiper.thumbs.swiper = new SwiperClass(thumbsSwiperParams);\n swiperCreated = true;\n }\n\n swiper.thumbs.swiper.$el.addClass(swiper.params.thumbs.thumbsContainerClass);\n swiper.thumbs.swiper.on('tap', onThumbClick);\n return true;\n }\n\n function update(initial) {\n var thumbsSwiper = swiper.thumbs.swiper;\n if (!thumbsSwiper || thumbsSwiper.destroyed) return;\n var slidesPerView = thumbsSwiper.params.slidesPerView === 'auto' ? thumbsSwiper.slidesPerViewDynamic() : thumbsSwiper.params.slidesPerView; // Activate thumbs\n\n var thumbsToActivate = 1;\n var thumbActiveClass = swiper.params.thumbs.slideThumbActiveClass;\n\n if (swiper.params.slidesPerView > 1 && !swiper.params.centeredSlides) {\n thumbsToActivate = swiper.params.slidesPerView;\n }\n\n if (!swiper.params.thumbs.multipleActiveThumbs) {\n thumbsToActivate = 1;\n }\n\n thumbsToActivate = Math.floor(thumbsToActivate);\n thumbsSwiper.slides.removeClass(thumbActiveClass);\n\n if (thumbsSwiper.params.loop || thumbsSwiper.params.virtual && thumbsSwiper.params.virtual.enabled) {\n for (var i = 0; i < thumbsToActivate; i += 1) {\n thumbsSwiper.$wrapperEl.children(\"[data-swiper-slide-index=\\\"\".concat(swiper.realIndex + i, \"\\\"]\")).addClass(thumbActiveClass);\n }\n } else {\n for (var _i = 0; _i < thumbsToActivate; _i += 1) {\n thumbsSwiper.slides.eq(swiper.realIndex + _i).addClass(thumbActiveClass);\n }\n }\n\n var autoScrollOffset = swiper.params.thumbs.autoScrollOffset;\n var useOffset = autoScrollOffset && !thumbsSwiper.params.loop;\n\n if (swiper.realIndex !== thumbsSwiper.realIndex || useOffset) {\n var currentThumbsIndex = thumbsSwiper.activeIndex;\n var newThumbsIndex;\n var direction;\n\n if (thumbsSwiper.params.loop) {\n if (thumbsSwiper.slides.eq(currentThumbsIndex).hasClass(thumbsSwiper.params.slideDuplicateClass)) {\n thumbsSwiper.loopFix(); // eslint-disable-next-line\n\n thumbsSwiper._clientLeft = thumbsSwiper.$wrapperEl[0].clientLeft;\n currentThumbsIndex = thumbsSwiper.activeIndex;\n } // Find actual thumbs index to slide to\n\n\n var prevThumbsIndex = thumbsSwiper.slides.eq(currentThumbsIndex).prevAll(\"[data-swiper-slide-index=\\\"\".concat(swiper.realIndex, \"\\\"]\")).eq(0).index();\n var nextThumbsIndex = thumbsSwiper.slides.eq(currentThumbsIndex).nextAll(\"[data-swiper-slide-index=\\\"\".concat(swiper.realIndex, \"\\\"]\")).eq(0).index();\n\n if (typeof prevThumbsIndex === 'undefined') {\n newThumbsIndex = nextThumbsIndex;\n } else if (typeof nextThumbsIndex === 'undefined') {\n newThumbsIndex = prevThumbsIndex;\n } else if (nextThumbsIndex - currentThumbsIndex === currentThumbsIndex - prevThumbsIndex) {\n newThumbsIndex = thumbsSwiper.params.slidesPerGroup > 1 ? nextThumbsIndex : currentThumbsIndex;\n } else if (nextThumbsIndex - currentThumbsIndex < currentThumbsIndex - prevThumbsIndex) {\n newThumbsIndex = nextThumbsIndex;\n } else {\n newThumbsIndex = prevThumbsIndex;\n }\n\n direction = swiper.activeIndex > swiper.previousIndex ? 'next' : 'prev';\n } else {\n newThumbsIndex = swiper.realIndex;\n direction = newThumbsIndex > swiper.previousIndex ? 'next' : 'prev';\n }\n\n if (useOffset) {\n newThumbsIndex += direction === 'next' ? autoScrollOffset : -1 * autoScrollOffset;\n }\n\n if (thumbsSwiper.visibleSlidesIndexes && thumbsSwiper.visibleSlidesIndexes.indexOf(newThumbsIndex) < 0) {\n if (thumbsSwiper.params.centeredSlides) {\n if (newThumbsIndex > currentThumbsIndex) {\n newThumbsIndex = newThumbsIndex - Math.floor(slidesPerView / 2) + 1;\n } else {\n newThumbsIndex = newThumbsIndex + Math.floor(slidesPerView / 2) - 1;\n }\n } else if (newThumbsIndex > currentThumbsIndex && thumbsSwiper.params.slidesPerGroup === 1) {// newThumbsIndex = newThumbsIndex - slidesPerView + 1;\n }\n\n thumbsSwiper.slideTo(newThumbsIndex, initial ? 0 : undefined);\n }\n }\n }\n\n on('beforeInit', function () {\n var thumbs = swiper.params.thumbs;\n if (!thumbs || !thumbs.swiper) return;\n init();\n update(true);\n });\n on('slideChange update resize observerUpdate', function () {\n update();\n });\n on('setTransition', function (_s, duration) {\n var thumbsSwiper = swiper.thumbs.swiper;\n if (!thumbsSwiper || thumbsSwiper.destroyed) return;\n thumbsSwiper.setTransition(duration);\n });\n on('beforeDestroy', function () {\n var thumbsSwiper = swiper.thumbs.swiper;\n if (!thumbsSwiper || thumbsSwiper.destroyed) return;\n\n if (swiperCreated) {\n thumbsSwiper.destroy();\n }\n });\n Object.assign(swiper.thumbs, {\n init: init,\n update: update\n });\n}","import { now } from '../../shared/utils.js';\nexport default function freeMode(_ref) {\n var swiper = _ref.swiper,\n extendParams = _ref.extendParams,\n emit = _ref.emit,\n once = _ref.once;\n extendParams({\n freeMode: {\n enabled: false,\n momentum: true,\n momentumRatio: 1,\n momentumBounce: true,\n momentumBounceRatio: 1,\n momentumVelocityRatio: 1,\n sticky: false,\n minimumVelocity: 0.02\n }\n });\n\n function onTouchStart() {\n var translate = swiper.getTranslate();\n swiper.setTranslate(translate);\n swiper.setTransition(0);\n swiper.touchEventsData.velocities.length = 0;\n swiper.freeMode.onTouchEnd({\n currentPos: swiper.rtl ? swiper.translate : -swiper.translate\n });\n }\n\n function onTouchMove() {\n var data = swiper.touchEventsData,\n touches = swiper.touches; // Velocity\n\n if (data.velocities.length === 0) {\n data.velocities.push({\n position: touches[swiper.isHorizontal() ? 'startX' : 'startY'],\n time: data.touchStartTime\n });\n }\n\n data.velocities.push({\n position: touches[swiper.isHorizontal() ? 'currentX' : 'currentY'],\n time: now()\n });\n }\n\n function onTouchEnd(_ref2) {\n var currentPos = _ref2.currentPos;\n var params = swiper.params,\n $wrapperEl = swiper.$wrapperEl,\n rtl = swiper.rtlTranslate,\n snapGrid = swiper.snapGrid,\n data = swiper.touchEventsData; // Time diff\n\n var touchEndTime = now();\n var timeDiff = touchEndTime - data.touchStartTime;\n\n if (currentPos < -swiper.minTranslate()) {\n swiper.slideTo(swiper.activeIndex);\n return;\n }\n\n if (currentPos > -swiper.maxTranslate()) {\n if (swiper.slides.length < snapGrid.length) {\n swiper.slideTo(snapGrid.length - 1);\n } else {\n swiper.slideTo(swiper.slides.length - 1);\n }\n\n return;\n }\n\n if (params.freeMode.momentum) {\n if (data.velocities.length > 1) {\n var lastMoveEvent = data.velocities.pop();\n var velocityEvent = data.velocities.pop();\n var distance = lastMoveEvent.position - velocityEvent.position;\n var time = lastMoveEvent.time - velocityEvent.time;\n swiper.velocity = distance / time;\n swiper.velocity /= 2;\n\n if (Math.abs(swiper.velocity) < params.freeMode.minimumVelocity) {\n swiper.velocity = 0;\n } // this implies that the user stopped moving a finger then released.\n // There would be no events with distance zero, so the last event is stale.\n\n\n if (time > 150 || now() - lastMoveEvent.time > 300) {\n swiper.velocity = 0;\n }\n } else {\n swiper.velocity = 0;\n }\n\n swiper.velocity *= params.freeMode.momentumVelocityRatio;\n data.velocities.length = 0;\n var momentumDuration = 1000 * params.freeMode.momentumRatio;\n var momentumDistance = swiper.velocity * momentumDuration;\n var newPosition = swiper.translate + momentumDistance;\n if (rtl) newPosition = -newPosition;\n var doBounce = false;\n var afterBouncePosition;\n var bounceAmount = Math.abs(swiper.velocity) * 20 * params.freeMode.momentumBounceRatio;\n var needsLoopFix;\n\n if (newPosition < swiper.maxTranslate()) {\n if (params.freeMode.momentumBounce) {\n if (newPosition + swiper.maxTranslate() < -bounceAmount) {\n newPosition = swiper.maxTranslate() - bounceAmount;\n }\n\n afterBouncePosition = swiper.maxTranslate();\n doBounce = true;\n data.allowMomentumBounce = true;\n } else {\n newPosition = swiper.maxTranslate();\n }\n\n if (params.loop && params.centeredSlides) needsLoopFix = true;\n } else if (newPosition > swiper.minTranslate()) {\n if (params.freeMode.momentumBounce) {\n if (newPosition - swiper.minTranslate() > bounceAmount) {\n newPosition = swiper.minTranslate() + bounceAmount;\n }\n\n afterBouncePosition = swiper.minTranslate();\n doBounce = true;\n data.allowMomentumBounce = true;\n } else {\n newPosition = swiper.minTranslate();\n }\n\n if (params.loop && params.centeredSlides) needsLoopFix = true;\n } else if (params.freeMode.sticky) {\n var nextSlide;\n\n for (var j = 0; j < snapGrid.length; j += 1) {\n if (snapGrid[j] > -newPosition) {\n nextSlide = j;\n break;\n }\n }\n\n if (Math.abs(snapGrid[nextSlide] - newPosition) < Math.abs(snapGrid[nextSlide - 1] - newPosition) || swiper.swipeDirection === 'next') {\n newPosition = snapGrid[nextSlide];\n } else {\n newPosition = snapGrid[nextSlide - 1];\n }\n\n newPosition = -newPosition;\n }\n\n if (needsLoopFix) {\n once('transitionEnd', function () {\n swiper.loopFix();\n });\n } // Fix duration\n\n\n if (swiper.velocity !== 0) {\n if (rtl) {\n momentumDuration = Math.abs((-newPosition - swiper.translate) / swiper.velocity);\n } else {\n momentumDuration = Math.abs((newPosition - swiper.translate) / swiper.velocity);\n }\n\n if (params.freeMode.sticky) {\n // If freeMode.sticky is active and the user ends a swipe with a slow-velocity\n // event, then durations can be 20+ seconds to slide one (or zero!) slides.\n // It's easy to see this when simulating touch with mouse events. To fix this,\n // limit single-slide swipes to the default slide duration. This also has the\n // nice side effect of matching slide speed if the user stopped moving before\n // lifting finger or mouse vs. moving slowly before lifting the finger/mouse.\n // For faster swipes, also apply limits (albeit higher ones).\n var moveDistance = Math.abs((rtl ? -newPosition : newPosition) - swiper.translate);\n var currentSlideSize = swiper.slidesSizesGrid[swiper.activeIndex];\n\n if (moveDistance < currentSlideSize) {\n momentumDuration = params.speed;\n } else if (moveDistance < 2 * currentSlideSize) {\n momentumDuration = params.speed * 1.5;\n } else {\n momentumDuration = params.speed * 2.5;\n }\n }\n } else if (params.freeMode.sticky) {\n swiper.slideToClosest();\n return;\n }\n\n if (params.freeMode.momentumBounce && doBounce) {\n swiper.updateProgress(afterBouncePosition);\n swiper.setTransition(momentumDuration);\n swiper.setTranslate(newPosition);\n swiper.transitionStart(true, swiper.swipeDirection);\n swiper.animating = true;\n $wrapperEl.transitionEnd(function () {\n if (!swiper || swiper.destroyed || !data.allowMomentumBounce) return;\n emit('momentumBounce');\n swiper.setTransition(params.speed);\n setTimeout(function () {\n swiper.setTranslate(afterBouncePosition);\n $wrapperEl.transitionEnd(function () {\n if (!swiper || swiper.destroyed) return;\n swiper.transitionEnd();\n });\n }, 0);\n });\n } else if (swiper.velocity) {\n emit('_freeModeNoMomentumRelease');\n swiper.updateProgress(newPosition);\n swiper.setTransition(momentumDuration);\n swiper.setTranslate(newPosition);\n swiper.transitionStart(true, swiper.swipeDirection);\n\n if (!swiper.animating) {\n swiper.animating = true;\n $wrapperEl.transitionEnd(function () {\n if (!swiper || swiper.destroyed) return;\n swiper.transitionEnd();\n });\n }\n } else {\n swiper.updateProgress(newPosition);\n }\n\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n } else if (params.freeMode.sticky) {\n swiper.slideToClosest();\n return;\n } else if (params.freeMode) {\n emit('_freeModeNoMomentumRelease');\n }\n\n if (!params.freeMode.momentum || timeDiff >= params.longSwipesMs) {\n swiper.updateProgress();\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n }\n }\n\n Object.assign(swiper, {\n freeMode: {\n onTouchStart: onTouchStart,\n onTouchMove: onTouchMove,\n onTouchEnd: onTouchEnd\n }\n });\n}","export default function effectTarget(effectParams, $slideEl) {\n if (effectParams.transformEl) {\n return $slideEl.find(effectParams.transformEl).css({\n 'backface-visibility': 'hidden',\n '-webkit-backface-visibility': 'hidden'\n });\n }\n\n return $slideEl;\n}","import effectInit from '../../shared/effect-init.js';\nimport effectTarget from '../../shared/effect-target.js';\nimport effectVirtualTransitionEnd from '../../shared/effect-virtual-transition-end.js';\nexport default function EffectFade(_ref) {\n var swiper = _ref.swiper,\n extendParams = _ref.extendParams,\n on = _ref.on;\n extendParams({\n fadeEffect: {\n crossFade: false,\n transformEl: null\n }\n });\n\n var setTranslate = function setTranslate() {\n var slides = swiper.slides;\n var params = swiper.params.fadeEffect;\n\n for (var i = 0; i < slides.length; i += 1) {\n var $slideEl = swiper.slides.eq(i);\n var offset = $slideEl[0].swiperSlideOffset;\n var tx = -offset;\n if (!swiper.params.virtualTranslate) tx -= swiper.translate;\n var ty = 0;\n\n if (!swiper.isHorizontal()) {\n ty = tx;\n tx = 0;\n }\n\n var slideOpacity = swiper.params.fadeEffect.crossFade ? Math.max(1 - Math.abs($slideEl[0].progress), 0) : 1 + Math.min(Math.max($slideEl[0].progress, -1), 0);\n var $targetEl = effectTarget(params, $slideEl);\n $targetEl.css({\n opacity: slideOpacity\n }).transform(\"translate3d(\".concat(tx, \"px, \").concat(ty, \"px, 0px)\"));\n }\n };\n\n var setTransition = function setTransition(duration) {\n var transformEl = swiper.params.fadeEffect.transformEl;\n var $transitionElements = transformEl ? swiper.slides.find(transformEl) : swiper.slides;\n $transitionElements.transition(duration);\n effectVirtualTransitionEnd({\n swiper: swiper,\n duration: duration,\n transformEl: transformEl,\n allSlides: true\n });\n };\n\n effectInit({\n effect: 'fade',\n swiper: swiper,\n on: on,\n setTranslate: setTranslate,\n setTransition: setTransition,\n overwriteParams: function overwriteParams() {\n return {\n slidesPerView: 1,\n slidesPerGroup: 1,\n watchSlidesProgress: true,\n spaceBetween: 0,\n virtualTranslate: !swiper.params.cssMode\n };\n }\n });\n}","export default function effectInit(params) {\n var effect = params.effect,\n swiper = params.swiper,\n on = params.on,\n setTranslate = params.setTranslate,\n setTransition = params.setTransition,\n overwriteParams = params.overwriteParams,\n perspective = params.perspective,\n recreateShadows = params.recreateShadows,\n getEffectParams = params.getEffectParams;\n on('beforeInit', function () {\n if (swiper.params.effect !== effect) return;\n swiper.classNames.push(\"\".concat(swiper.params.containerModifierClass).concat(effect));\n\n if (perspective && perspective()) {\n swiper.classNames.push(\"\".concat(swiper.params.containerModifierClass, \"3d\"));\n }\n\n var overwriteParamsResult = overwriteParams ? overwriteParams() : {};\n Object.assign(swiper.params, overwriteParamsResult);\n Object.assign(swiper.originalParams, overwriteParamsResult);\n });\n on('setTranslate', function () {\n if (swiper.params.effect !== effect) return;\n setTranslate();\n });\n on('setTransition', function (_s, duration) {\n if (swiper.params.effect !== effect) return;\n setTransition(duration);\n });\n on('transitionEnd', function () {\n if (swiper.params.effect !== effect) return;\n\n if (recreateShadows) {\n if (!getEffectParams || !getEffectParams().slideShadows) return; // remove shadows\n\n swiper.slides.each(function (slideEl) {\n var $slideEl = swiper.$(slideEl);\n $slideEl.find('.swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left').remove();\n }); // create new one\n\n recreateShadows();\n }\n });\n var requireUpdateOnVirtual;\n on('virtualUpdate', function () {\n if (swiper.params.effect !== effect) return;\n\n if (!swiper.slides.length) {\n requireUpdateOnVirtual = true;\n }\n\n requestAnimationFrame(function () {\n if (requireUpdateOnVirtual && swiper.slides && swiper.slides.length) {\n setTranslate();\n requireUpdateOnVirtual = false;\n }\n });\n });\n}","export default function effectVirtualTransitionEnd(_ref) {\n var swiper = _ref.swiper,\n duration = _ref.duration,\n transformEl = _ref.transformEl,\n allSlides = _ref.allSlides;\n var slides = swiper.slides,\n activeIndex = swiper.activeIndex,\n $wrapperEl = swiper.$wrapperEl;\n\n if (swiper.params.virtualTranslate && duration !== 0) {\n var eventTriggered = false;\n var $transitionEndTarget;\n\n if (allSlides) {\n $transitionEndTarget = transformEl ? slides.find(transformEl) : slides;\n } else {\n $transitionEndTarget = transformEl ? slides.eq(activeIndex).find(transformEl) : slides.eq(activeIndex);\n }\n\n $transitionEndTarget.transitionEnd(function () {\n if (eventTriggered) return;\n if (!swiper || swiper.destroyed) return;\n eventTriggered = true;\n swiper.animating = false;\n var triggerEvents = ['webkitTransitionEnd', 'transitionend'];\n\n for (var i = 0; i < triggerEvents.length; i += 1) {\n $wrapperEl.trigger(triggerEvents[i]);\n }\n });\n }\n}","function isObject(o) {\n return typeof o === 'object' && o !== null && o.constructor && Object.prototype.toString.call(o).slice(8, -1) === 'Object';\n}\n\nfunction extend(target, src) {\n var noExtend = ['__proto__', 'constructor', 'prototype'];\n Object.keys(src).filter(function (key) {\n return noExtend.indexOf(key) < 0;\n }).forEach(function (key) {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n if (src[key].__swiper__) target[key] = src[key];else extend(target[key], src[key]);\n } else {\n target[key] = src[key];\n }\n });\n}\n\nfunction needsNavigation(params) {\n if (params === void 0) {\n params = {};\n }\n\n return params.navigation && typeof params.navigation.nextEl === 'undefined' && typeof params.navigation.prevEl === 'undefined';\n}\n\nfunction needsPagination(params) {\n if (params === void 0) {\n params = {};\n }\n\n return params.pagination && typeof params.pagination.el === 'undefined';\n}\n\nfunction needsScrollbar(params) {\n if (params === void 0) {\n params = {};\n }\n\n return params.scrollbar && typeof params.scrollbar.el === 'undefined';\n}\n\nfunction uniqueClasses(classNames) {\n if (classNames === void 0) {\n classNames = '';\n }\n\n var classes = classNames.split(' ').map(function (c) {\n return c.trim();\n }).filter(function (c) {\n return !!c;\n });\n var unique = [];\n classes.forEach(function (c) {\n if (unique.indexOf(c) < 0) unique.push(c);\n });\n return unique.join(' ');\n}\n\nexport { isObject, extend, needsNavigation, needsPagination, needsScrollbar, uniqueClasses };","/* underscore in name -> watch for changes */\nvar paramsList = ['modules', 'init', '_direction', 'touchEventsTarget', 'initialSlide', '_speed', 'cssMode', 'updateOnWindowResize', 'resizeObserver', 'nested', 'focusableElements', '_enabled', '_width', '_height', 'preventInteractionOnTransition', 'userAgent', 'url', '_edgeSwipeDetection', '_edgeSwipeThreshold', '_freeMode', '_autoHeight', 'setWrapperSize', 'virtualTranslate', '_effect', 'breakpoints', '_spaceBetween', '_slidesPerView', 'maxBackfaceHiddenSlides', '_grid', '_slidesPerGroup', '_slidesPerGroupSkip', '_slidesPerGroupAuto', '_centeredSlides', '_centeredSlidesBounds', '_slidesOffsetBefore', '_slidesOffsetAfter', 'normalizeSlideIndex', '_centerInsufficientSlides', '_watchOverflow', 'roundLengths', 'touchRatio', 'touchAngle', 'simulateTouch', '_shortSwipes', '_longSwipes', 'longSwipesRatio', 'longSwipesMs', '_followFinger', 'allowTouchMove', '_threshold', 'touchMoveStopPropagation', 'touchStartPreventDefault', 'touchStartForcePreventDefault', 'touchReleaseOnEdges', 'uniqueNavElements', '_resistance', '_resistanceRatio', '_watchSlidesProgress', '_grabCursor', 'preventClicks', 'preventClicksPropagation', '_slideToClickedSlide', '_preloadImages', 'updateOnImagesReady', '_loop', '_loopAdditionalSlides', '_loopedSlides', '_loopedSlidesLimit', '_loopFillGroupWithBlank', 'loopPreventsSlide', '_rewind', '_allowSlidePrev', '_allowSlideNext', '_swipeHandler', '_noSwiping', 'noSwipingClass', 'noSwipingSelector', 'passiveListeners', 'containerModifierClass', 'slideClass', 'slideBlankClass', 'slideActiveClass', 'slideDuplicateActiveClass', 'slideVisibleClass', 'slideDuplicateClass', 'slideNextClass', 'slideDuplicateNextClass', 'slidePrevClass', 'slideDuplicatePrevClass', 'wrapperClass', 'runCallbacksOnInit', 'observer', 'observeParents', 'observeSlideChildren', // modules\n'a11y', '_autoplay', '_controller', 'coverflowEffect', 'cubeEffect', 'fadeEffect', 'flipEffect', 'creativeEffect', 'cardsEffect', 'hashNavigation', 'history', 'keyboard', 'lazy', 'mousewheel', '_navigation', '_pagination', 'parallax', '_scrollbar', '_thumbs', 'virtual', 'zoom'];\nexport { paramsList };","import _toConsumableArray from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\";\nimport React from 'react';\nimport Swiper from 'swiper';\n\nfunction calcLoopedSlides(slides, swiperParams) {\n var slidesPerViewParams = swiperParams.slidesPerView;\n\n if (swiperParams.breakpoints) {\n var breakpoint = Swiper.prototype.getBreakpoint(swiperParams.breakpoints);\n var breakpointOnlyParams = breakpoint in swiperParams.breakpoints ? swiperParams.breakpoints[breakpoint] : undefined;\n\n if (breakpointOnlyParams && breakpointOnlyParams.slidesPerView) {\n slidesPerViewParams = breakpointOnlyParams.slidesPerView;\n }\n }\n\n var loopedSlides = Math.ceil(parseFloat(swiperParams.loopedSlides || slidesPerViewParams, 10));\n loopedSlides += swiperParams.loopAdditionalSlides;\n\n if (loopedSlides > slides.length && swiperParams.loopedSlidesLimit) {\n loopedSlides = slides.length;\n }\n\n return loopedSlides;\n}\n\nfunction renderLoop(swiper, slides, swiperParams) {\n var modifiedSlides = slides.map(function (child, index) {\n return /*#__PURE__*/React.cloneElement(child, {\n swiper: swiper,\n 'data-swiper-slide-index': index\n });\n });\n\n function duplicateSlide(child, index, position) {\n return /*#__PURE__*/React.cloneElement(child, {\n key: \"\".concat(child.key, \"-duplicate-\").concat(index, \"-\").concat(position),\n className: \"\".concat(child.props.className || '', \" \").concat(swiperParams.slideDuplicateClass)\n });\n }\n\n if (swiperParams.loopFillGroupWithBlank) {\n var blankSlidesNum = swiperParams.slidesPerGroup - modifiedSlides.length % swiperParams.slidesPerGroup;\n\n if (blankSlidesNum !== swiperParams.slidesPerGroup) {\n for (var i = 0; i < blankSlidesNum; i += 1) {\n var blankSlide = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(swiperParams.slideClass, \" \").concat(swiperParams.slideBlankClass)\n });\n modifiedSlides.push(blankSlide);\n }\n }\n }\n\n if (swiperParams.slidesPerView === 'auto' && !swiperParams.loopedSlides) {\n swiperParams.loopedSlides = modifiedSlides.length;\n }\n\n var loopedSlides = calcLoopedSlides(modifiedSlides, swiperParams);\n var prependSlides = [];\n var appendSlides = [];\n\n for (var _i = 0; _i < loopedSlides; _i += 1) {\n var index = _i - Math.floor(_i / modifiedSlides.length) * modifiedSlides.length;\n\n appendSlides.push(duplicateSlide(modifiedSlides[index], _i, 'append'));\n prependSlides.unshift(duplicateSlide(modifiedSlides[modifiedSlides.length - index - 1], _i, 'prepend'));\n }\n\n if (swiper) {\n swiper.loopedSlides = loopedSlides;\n }\n\n return [].concat(prependSlides, _toConsumableArray(modifiedSlides), appendSlides);\n}\n\nexport { calcLoopedSlides, renderLoop };","import React from 'react';\n\nfunction processChildren(c) {\n var slides = [];\n React.Children.toArray(c).forEach(function (child) {\n if (child.type && child.type.displayName === 'SwiperSlide') {\n slides.push(child);\n } else if (child.props && child.props.children) {\n processChildren(child.props.children).forEach(function (slide) {\n return slides.push(slide);\n });\n }\n });\n return slides;\n}\n\nfunction getChildren(c) {\n var slides = [];\n var slots = {\n 'container-start': [],\n 'container-end': [],\n 'wrapper-start': [],\n 'wrapper-end': []\n };\n React.Children.toArray(c).forEach(function (child) {\n if (child.type && child.type.displayName === 'SwiperSlide') {\n slides.push(child);\n } else if (child.props && child.props.slot && slots[child.props.slot]) {\n slots[child.props.slot].push(child);\n } else if (child.props && child.props.children) {\n var foundSlides = processChildren(child.props.children);\n\n if (foundSlides.length > 0) {\n foundSlides.forEach(function (slide) {\n return slides.push(slide);\n });\n } else {\n slots['container-end'].push(child);\n }\n } else {\n slots['container-end'].push(child);\n }\n });\n return {\n slides: slides,\n slots: slots\n };\n}\n\nexport { getChildren };","import { isObject, extend } from './utils.js';\n\nfunction updateSwiper(_ref) {\n var swiper = _ref.swiper,\n slides = _ref.slides,\n passedParams = _ref.passedParams,\n changedParams = _ref.changedParams,\n nextEl = _ref.nextEl,\n prevEl = _ref.prevEl,\n scrollbarEl = _ref.scrollbarEl,\n paginationEl = _ref.paginationEl;\n var updateParams = changedParams.filter(function (key) {\n return key !== 'children' && key !== 'direction';\n });\n var currentParams = swiper.params,\n pagination = swiper.pagination,\n navigation = swiper.navigation,\n scrollbar = swiper.scrollbar,\n virtual = swiper.virtual,\n thumbs = swiper.thumbs;\n var needThumbsInit;\n var needControllerInit;\n var needPaginationInit;\n var needScrollbarInit;\n var needNavigationInit;\n\n if (changedParams.includes('thumbs') && passedParams.thumbs && passedParams.thumbs.swiper && currentParams.thumbs && !currentParams.thumbs.swiper) {\n needThumbsInit = true;\n }\n\n if (changedParams.includes('controller') && passedParams.controller && passedParams.controller.control && currentParams.controller && !currentParams.controller.control) {\n needControllerInit = true;\n }\n\n if (changedParams.includes('pagination') && passedParams.pagination && (passedParams.pagination.el || paginationEl) && (currentParams.pagination || currentParams.pagination === false) && pagination && !pagination.el) {\n needPaginationInit = true;\n }\n\n if (changedParams.includes('scrollbar') && passedParams.scrollbar && (passedParams.scrollbar.el || scrollbarEl) && (currentParams.scrollbar || currentParams.scrollbar === false) && scrollbar && !scrollbar.el) {\n needScrollbarInit = true;\n }\n\n if (changedParams.includes('navigation') && passedParams.navigation && (passedParams.navigation.prevEl || prevEl) && (passedParams.navigation.nextEl || nextEl) && (currentParams.navigation || currentParams.navigation === false) && navigation && !navigation.prevEl && !navigation.nextEl) {\n needNavigationInit = true;\n }\n\n var destroyModule = function destroyModule(mod) {\n if (!swiper[mod]) return;\n swiper[mod].destroy();\n\n if (mod === 'navigation') {\n currentParams[mod].prevEl = undefined;\n currentParams[mod].nextEl = undefined;\n swiper[mod].prevEl = undefined;\n swiper[mod].nextEl = undefined;\n } else {\n currentParams[mod].el = undefined;\n swiper[mod].el = undefined;\n }\n };\n\n updateParams.forEach(function (key) {\n if (isObject(currentParams[key]) && isObject(passedParams[key])) {\n extend(currentParams[key], passedParams[key]);\n } else {\n var newValue = passedParams[key];\n\n if ((newValue === true || newValue === false) && (key === 'navigation' || key === 'pagination' || key === 'scrollbar')) {\n if (newValue === false) {\n destroyModule(key);\n }\n } else {\n currentParams[key] = passedParams[key];\n }\n }\n });\n\n if (updateParams.includes('controller') && !needControllerInit && swiper.controller && swiper.controller.control && currentParams.controller && currentParams.controller.control) {\n swiper.controller.control = currentParams.controller.control;\n }\n\n if (changedParams.includes('children') && slides && virtual && currentParams.virtual.enabled) {\n virtual.slides = slides;\n virtual.update(true);\n } else if (changedParams.includes('children') && swiper.lazy && swiper.params.lazy.enabled) {\n swiper.lazy.load();\n }\n\n if (needThumbsInit) {\n var initialized = thumbs.init();\n if (initialized) thumbs.update(true);\n }\n\n if (needControllerInit) {\n swiper.controller.control = currentParams.controller.control;\n }\n\n if (needPaginationInit) {\n if (paginationEl) currentParams.pagination.el = paginationEl;\n pagination.init();\n pagination.render();\n pagination.update();\n }\n\n if (needScrollbarInit) {\n if (scrollbarEl) currentParams.scrollbar.el = scrollbarEl;\n scrollbar.init();\n scrollbar.updateSize();\n scrollbar.setTranslate();\n }\n\n if (needNavigationInit) {\n if (nextEl) currentParams.navigation.nextEl = nextEl;\n if (prevEl) currentParams.navigation.prevEl = prevEl;\n navigation.init();\n navigation.update();\n }\n\n if (changedParams.includes('allowSlideNext')) {\n swiper.allowSlideNext = passedParams.allowSlideNext;\n }\n\n if (changedParams.includes('allowSlidePrev')) {\n swiper.allowSlidePrev = passedParams.allowSlidePrev;\n }\n\n if (changedParams.includes('direction')) {\n swiper.changeDirection(passedParams.direction, false);\n }\n\n swiper.update();\n}\n\nexport { updateSwiper };","import { useEffect, useLayoutEffect } from 'react';\n\nfunction useIsomorphicLayoutEffect(callback, deps) {\n // eslint-disable-next-line\n if (typeof window === 'undefined') return useEffect(callback, deps);\n return useLayoutEffect(callback, deps);\n}\n\nexport { useIsomorphicLayoutEffect };","import { createContext, useContext } from 'react';\nexport var SwiperSlideContext = /*#__PURE__*/createContext(null);\nexport var useSwiperSlide = function useSwiperSlide() {\n return useContext(SwiperSlideContext);\n};\nexport var SwiperContext = /*#__PURE__*/createContext(null);\nexport var useSwiper = function useSwiper() {\n return useContext(SwiperContext);\n};","import _slicedToArray from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nimport _objectWithoutProperties from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\";\nvar _excluded = [\"className\", \"tag\", \"wrapperTag\", \"children\", \"onSwiper\"];\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\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nimport React, { useRef, useState, useEffect, forwardRef } from 'react';\nimport SwiperCore from 'swiper';\nimport { getParams } from '../components-shared/get-params.js';\nimport { mountSwiper } from '../components-shared/mount-swiper.js';\nimport { needsScrollbar, needsNavigation, needsPagination, uniqueClasses, extend } from '../components-shared/utils.js';\nimport { renderLoop, calcLoopedSlides } from './loop.js';\nimport { getChangedParams } from '../components-shared/get-changed-params.js';\nimport { getChildren } from './get-children.js';\nimport { updateSwiper } from '../components-shared/update-swiper.js';\nimport { renderVirtual } from './virtual.js';\nimport { updateOnVirtualData } from '../components-shared/update-on-virtual-data.js';\nimport { useIsomorphicLayoutEffect } from './use-isomorphic-layout-effect.js';\nimport { SwiperContext } from './context.js';\nvar Swiper = /*#__PURE__*/forwardRef(function (_temp, externalElRef) {\n var _ref = _temp === void 0 ? {} : _temp,\n className = _ref.className,\n _ref$tag = _ref.tag,\n Tag = _ref$tag === void 0 ? 'div' : _ref$tag,\n _ref$wrapperTag = _ref.wrapperTag,\n WrapperTag = _ref$wrapperTag === void 0 ? 'div' : _ref$wrapperTag,\n children = _ref.children,\n onSwiper = _ref.onSwiper,\n rest = _objectWithoutProperties(_ref, _excluded);\n\n var eventsAssigned = false;\n\n var _useState = useState('swiper'),\n _useState2 = _slicedToArray(_useState, 2),\n containerClasses = _useState2[0],\n setContainerClasses = _useState2[1];\n\n var _useState3 = useState(null),\n _useState4 = _slicedToArray(_useState3, 2),\n virtualData = _useState4[0],\n setVirtualData = _useState4[1];\n\n var _useState5 = useState(false),\n _useState6 = _slicedToArray(_useState5, 2),\n breakpointChanged = _useState6[0],\n setBreakpointChanged = _useState6[1];\n\n var initializedRef = useRef(false);\n var swiperElRef = useRef(null);\n var swiperRef = useRef(null);\n var oldPassedParamsRef = useRef(null);\n var oldSlides = useRef(null);\n var nextElRef = useRef(null);\n var prevElRef = useRef(null);\n var paginationElRef = useRef(null);\n var scrollbarElRef = useRef(null);\n\n var _getParams = getParams(rest),\n swiperParams = _getParams.params,\n passedParams = _getParams.passedParams,\n restProps = _getParams.rest,\n events = _getParams.events;\n\n var _getChildren = getChildren(children),\n slides = _getChildren.slides,\n slots = _getChildren.slots;\n\n var onBeforeBreakpoint = function onBeforeBreakpoint() {\n setBreakpointChanged(!breakpointChanged);\n };\n\n Object.assign(swiperParams.on, {\n _containerClasses: function _containerClasses(swiper, classes) {\n setContainerClasses(classes);\n }\n });\n\n var initSwiper = function initSwiper() {\n // init swiper\n Object.assign(swiperParams.on, events);\n eventsAssigned = true;\n swiperRef.current = new SwiperCore(swiperParams);\n\n swiperRef.current.loopCreate = function () {};\n\n swiperRef.current.loopDestroy = function () {};\n\n if (swiperParams.loop) {\n swiperRef.current.loopedSlides = calcLoopedSlides(slides, swiperParams);\n }\n\n if (swiperRef.current.virtual && swiperRef.current.params.virtual.enabled) {\n swiperRef.current.virtual.slides = slides;\n var extendWith = {\n cache: false,\n slides: slides,\n renderExternal: setVirtualData,\n renderExternalUpdate: false\n };\n extend(swiperRef.current.params.virtual, extendWith);\n extend(swiperRef.current.originalParams.virtual, extendWith);\n }\n };\n\n if (!swiperElRef.current) {\n initSwiper();\n } // Listen for breakpoints change\n\n\n if (swiperRef.current) {\n swiperRef.current.on('_beforeBreakpoint', onBeforeBreakpoint);\n }\n\n var attachEvents = function attachEvents() {\n if (eventsAssigned || !events || !swiperRef.current) return;\n Object.keys(events).forEach(function (eventName) {\n swiperRef.current.on(eventName, events[eventName]);\n });\n };\n\n var detachEvents = function detachEvents() {\n if (!events || !swiperRef.current) return;\n Object.keys(events).forEach(function (eventName) {\n swiperRef.current.off(eventName, events[eventName]);\n });\n };\n\n useEffect(function () {\n return function () {\n if (swiperRef.current) swiperRef.current.off('_beforeBreakpoint', onBeforeBreakpoint);\n };\n }); // set initialized flag\n\n useEffect(function () {\n if (!initializedRef.current && swiperRef.current) {\n swiperRef.current.emitSlidesClasses();\n initializedRef.current = true;\n }\n }); // mount swiper\n\n useIsomorphicLayoutEffect(function () {\n if (externalElRef) {\n externalElRef.current = swiperElRef.current;\n }\n\n if (!swiperElRef.current) return;\n\n if (swiperRef.current.destroyed) {\n initSwiper();\n }\n\n mountSwiper({\n el: swiperElRef.current,\n nextEl: nextElRef.current,\n prevEl: prevElRef.current,\n paginationEl: paginationElRef.current,\n scrollbarEl: scrollbarElRef.current,\n swiper: swiperRef.current\n }, swiperParams);\n if (onSwiper) onSwiper(swiperRef.current); // eslint-disable-next-line\n\n return function () {\n if (swiperRef.current && !swiperRef.current.destroyed) {\n swiperRef.current.destroy(true, false);\n }\n };\n }, []); // watch for params change\n\n useIsomorphicLayoutEffect(function () {\n attachEvents();\n var changedParams = getChangedParams(passedParams, oldPassedParamsRef.current, slides, oldSlides.current, function (c) {\n return c.key;\n });\n oldPassedParamsRef.current = passedParams;\n oldSlides.current = slides;\n\n if (changedParams.length && swiperRef.current && !swiperRef.current.destroyed) {\n updateSwiper({\n swiper: swiperRef.current,\n slides: slides,\n passedParams: passedParams,\n changedParams: changedParams,\n nextEl: nextElRef.current,\n prevEl: prevElRef.current,\n scrollbarEl: scrollbarElRef.current,\n paginationEl: paginationElRef.current\n });\n }\n\n return function () {\n detachEvents();\n };\n }); // update on virtual update\n\n useIsomorphicLayoutEffect(function () {\n updateOnVirtualData(swiperRef.current);\n }, [virtualData]); // bypass swiper instance to slides\n\n function renderSlides() {\n if (swiperParams.virtual) {\n return renderVirtual(swiperRef.current, slides, virtualData);\n }\n\n if (!swiperParams.loop || swiperRef.current && swiperRef.current.destroyed) {\n return slides.map(function (child) {\n return /*#__PURE__*/React.cloneElement(child, {\n swiper: swiperRef.current\n });\n });\n }\n\n return renderLoop(swiperRef.current, slides, swiperParams);\n }\n\n return /*#__PURE__*/React.createElement(Tag, _extends({\n ref: swiperElRef,\n className: uniqueClasses(\"\".concat(containerClasses).concat(className ? \" \".concat(className) : ''))\n }, restProps), /*#__PURE__*/React.createElement(SwiperContext.Provider, {\n value: swiperRef.current\n }, slots['container-start'], /*#__PURE__*/React.createElement(WrapperTag, {\n className: \"swiper-wrapper\"\n }, slots['wrapper-start'], renderSlides(), slots['wrapper-end']), needsNavigation(swiperParams) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n ref: prevElRef,\n className: \"swiper-button-prev\"\n }), /*#__PURE__*/React.createElement(\"div\", {\n ref: nextElRef,\n className: \"swiper-button-next\"\n })), needsScrollbar(swiperParams) && /*#__PURE__*/React.createElement(\"div\", {\n ref: scrollbarElRef,\n className: \"swiper-scrollbar\"\n }), needsPagination(swiperParams) && /*#__PURE__*/React.createElement(\"div\", {\n ref: paginationElRef,\n className: \"swiper-pagination\"\n }), slots['container-end']));\n});\nSwiper.displayName = 'Swiper';\nexport { Swiper };","import Swiper from 'swiper';\nimport { isObject, extend } from './utils.js';\nimport { paramsList } from './params-list.js';\n\nfunction getParams(obj, splitEvents) {\n if (obj === void 0) {\n obj = {};\n }\n\n if (splitEvents === void 0) {\n splitEvents = true;\n }\n\n var params = {\n on: {}\n };\n var events = {};\n var passedParams = {};\n extend(params, Swiper.defaults);\n extend(params, Swiper.extendedDefaults);\n params._emitClasses = true;\n params.init = false;\n var rest = {};\n var allowedParams = paramsList.map(function (key) {\n return key.replace(/_/, '');\n });\n var plainObj = Object.assign({}, obj);\n Object.keys(plainObj).forEach(function (key) {\n if (typeof obj[key] === 'undefined') return;\n\n if (allowedParams.indexOf(key) >= 0) {\n if (isObject(obj[key])) {\n params[key] = {};\n passedParams[key] = {};\n extend(params[key], obj[key]);\n extend(passedParams[key], obj[key]);\n } else {\n params[key] = obj[key];\n passedParams[key] = obj[key];\n }\n } else if (key.search(/on[A-Z]/) === 0 && typeof obj[key] === 'function') {\n if (splitEvents) {\n events[\"\".concat(key[2].toLowerCase()).concat(key.substr(3))] = obj[key];\n } else {\n params.on[\"\".concat(key[2].toLowerCase()).concat(key.substr(3))] = obj[key];\n }\n } else {\n rest[key] = obj[key];\n }\n });\n ['navigation', 'pagination', 'scrollbar'].forEach(function (key) {\n if (params[key] === true) params[key] = {};\n if (params[key] === false) delete params[key];\n });\n return {\n params: params,\n passedParams: passedParams,\n rest: rest,\n events: events\n };\n}\n\nexport { getParams };","import { needsNavigation, needsPagination, needsScrollbar } from './utils.js';\n\nfunction mountSwiper(_ref, swiperParams) {\n var el = _ref.el,\n nextEl = _ref.nextEl,\n prevEl = _ref.prevEl,\n paginationEl = _ref.paginationEl,\n scrollbarEl = _ref.scrollbarEl,\n swiper = _ref.swiper;\n\n if (needsNavigation(swiperParams) && nextEl && prevEl) {\n swiper.params.navigation.nextEl = nextEl;\n swiper.originalParams.navigation.nextEl = nextEl;\n swiper.params.navigation.prevEl = prevEl;\n swiper.originalParams.navigation.prevEl = prevEl;\n }\n\n if (needsPagination(swiperParams) && paginationEl) {\n swiper.params.pagination.el = paginationEl;\n swiper.originalParams.pagination.el = paginationEl;\n }\n\n if (needsScrollbar(swiperParams) && scrollbarEl) {\n swiper.params.scrollbar.el = scrollbarEl;\n swiper.originalParams.scrollbar.el = scrollbarEl;\n }\n\n swiper.init(el);\n}\n\nexport { mountSwiper };","import { paramsList } from './params-list.js';\nimport { isObject } from './utils.js';\n\nfunction getChangedParams(swiperParams, oldParams, children, oldChildren, getKey) {\n var keys = [];\n if (!oldParams) return keys;\n\n var addKey = function addKey(key) {\n if (keys.indexOf(key) < 0) keys.push(key);\n };\n\n if (children && oldChildren) {\n var oldChildrenKeys = oldChildren.map(getKey);\n var childrenKeys = children.map(getKey);\n if (oldChildrenKeys.join('') !== childrenKeys.join('')) addKey('children');\n if (oldChildren.length !== children.length) addKey('children');\n }\n\n var watchParams = paramsList.filter(function (key) {\n return key[0] === '_';\n }).map(function (key) {\n return key.replace(/_/, '');\n });\n watchParams.forEach(function (key) {\n if (key in swiperParams && key in oldParams) {\n if (isObject(swiperParams[key]) && isObject(oldParams[key])) {\n var newKeys = Object.keys(swiperParams[key]);\n var oldKeys = Object.keys(oldParams[key]);\n\n if (newKeys.length !== oldKeys.length) {\n addKey(key);\n } else {\n newKeys.forEach(function (newKey) {\n if (swiperParams[key][newKey] !== oldParams[key][newKey]) {\n addKey(key);\n }\n });\n oldKeys.forEach(function (oldKey) {\n if (swiperParams[key][oldKey] !== oldParams[key][oldKey]) addKey(key);\n });\n }\n } else if (swiperParams[key] !== oldParams[key]) {\n addKey(key);\n }\n }\n });\n return keys;\n}\n\nexport { getChangedParams };","export var updateOnVirtualData = function updateOnVirtualData(swiper) {\n if (!swiper || swiper.destroyed || !swiper.params.virtual || swiper.params.virtual && !swiper.params.virtual.enabled) return;\n swiper.updateSlides();\n swiper.updateProgress();\n swiper.updateSlidesClasses();\n\n if (swiper.lazy && swiper.params.lazy.enabled) {\n swiper.lazy.load();\n }\n\n if (swiper.parallax && swiper.params.parallax && swiper.params.parallax.enabled) {\n swiper.parallax.setTranslate();\n }\n};","import _defineProperty from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport React from 'react';\n\nfunction renderVirtual(swiper, slides, virtualData) {\n if (!virtualData) return null;\n var style = swiper.isHorizontal() ? _defineProperty({}, swiper.rtlTranslate ? 'right' : 'left', \"\".concat(virtualData.offset, \"px\")) : {\n top: \"\".concat(virtualData.offset, \"px\")\n };\n return slides.filter(function (child, index) {\n return index >= virtualData.from && index <= virtualData.to;\n }).map(function (child) {\n return /*#__PURE__*/React.cloneElement(child, {\n swiper: swiper,\n style: style\n });\n });\n}\n\nexport { renderVirtual };","import _slicedToArray from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nimport _objectWithoutProperties from \"/codebuild/output/src624378701/src/ashridge-storyblok/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\";\nvar _excluded = [\"tag\", \"children\", \"className\", \"swiper\", \"zoom\", \"virtualIndex\"];\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\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nimport React, { useRef, useState, forwardRef } from 'react';\nimport { uniqueClasses } from '../components-shared/utils.js';\nimport { useIsomorphicLayoutEffect } from './use-isomorphic-layout-effect.js';\nimport { SwiperSlideContext } from './context.js';\nvar SwiperSlide = /*#__PURE__*/forwardRef(function (_temp, externalRef) {\n var _ref = _temp === void 0 ? {} : _temp,\n _ref$tag = _ref.tag,\n Tag = _ref$tag === void 0 ? 'div' : _ref$tag,\n children = _ref.children,\n _ref$className = _ref.className,\n className = _ref$className === void 0 ? '' : _ref$className,\n swiper = _ref.swiper,\n zoom = _ref.zoom,\n virtualIndex = _ref.virtualIndex,\n rest = _objectWithoutProperties(_ref, _excluded);\n\n var slideElRef = useRef(null);\n\n var _useState = useState('swiper-slide'),\n _useState2 = _slicedToArray(_useState, 2),\n slideClasses = _useState2[0],\n setSlideClasses = _useState2[1];\n\n function updateClasses(_s, el, classNames) {\n if (el === slideElRef.current) {\n setSlideClasses(classNames);\n }\n }\n\n useIsomorphicLayoutEffect(function () {\n if (externalRef) {\n externalRef.current = slideElRef.current;\n }\n\n if (!slideElRef.current || !swiper) {\n return;\n }\n\n if (swiper.destroyed) {\n if (slideClasses !== 'swiper-slide') {\n setSlideClasses('swiper-slide');\n }\n\n return;\n }\n\n swiper.on('_slideClass', updateClasses); // eslint-disable-next-line\n\n return function () {\n if (!swiper) return;\n swiper.off('_slideClass', updateClasses);\n };\n });\n useIsomorphicLayoutEffect(function () {\n if (swiper && slideElRef.current && !swiper.destroyed) {\n setSlideClasses(swiper.getSlideClasses(slideElRef.current));\n }\n }, [swiper]);\n var slideData = {\n isActive: slideClasses.indexOf('swiper-slide-active') >= 0 || slideClasses.indexOf('swiper-slide-duplicate-active') >= 0,\n isVisible: slideClasses.indexOf('swiper-slide-visible') >= 0,\n isDuplicate: slideClasses.indexOf('swiper-slide-duplicate') >= 0,\n isPrev: slideClasses.indexOf('swiper-slide-prev') >= 0 || slideClasses.indexOf('swiper-slide-duplicate-prev') >= 0,\n isNext: slideClasses.indexOf('swiper-slide-next') >= 0 || slideClasses.indexOf('swiper-slide-duplicate-next') >= 0\n };\n\n var renderChildren = function renderChildren() {\n return typeof children === 'function' ? children(slideData) : children;\n };\n\n return /*#__PURE__*/React.createElement(Tag, _extends({\n ref: slideElRef,\n className: uniqueClasses(\"\".concat(slideClasses).concat(className ? \" \".concat(className) : '')),\n \"data-swiper-slide-index\": virtualIndex\n }, rest), /*#__PURE__*/React.createElement(SwiperSlideContext.Provider, {\n value: slideData\n }, zoom ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"swiper-zoom-container\",\n \"data-swiper-zoom\": typeof zoom === 'number' ? zoom : undefined\n }, renderChildren()) : renderChildren()));\n});\nSwiperSlide.displayName = 'SwiperSlide';\nexport { SwiperSlide };","import React, { useState } from \"react\";\nimport {\n StyledGallery,\n StyledGalleryItems,\n StyledGalleryContainer,\n StyledActiveImage,\n StyledSlider,\n} from \"./styles\";\nimport DynamicComponent from \"..\";\n\nimport { Swiper, SwiperSlide } from \"swiper/react\";\nimport { FreeMode, Navigation, Thumbs } from \"swiper\";\nimport \"swiper/css\";\nimport \"swiper/css/free-mode\";\nimport \"swiper/css/navigation\";\nimport \"swiper/css/thumbs\";\n\nexport interface GalleryProps {\n gallery_items?: Array;\n}\n\nexport const GalleryCmp: React.FC = ({ gallery_items }) => {\n const [thumbsSwiper, setThumbsSwiper] = useState(null);\n\n return (\n \n \n \n \n {gallery_items && (\n \n {gallery_items.map((item) => (\n \n \n \n ))}\n \n )}\n \n \n \n setThumbsSwiper(swiper)}\n spaceBetween={8}\n slidesPerView={4}\n freeMode\n watchSlidesProgress\n modules={[FreeMode, Navigation, Thumbs]}\n className=\"mySwiper\"\n >\n {gallery_items && (\n \n {gallery_items.map((item) => (\n \n \n \n ))}\n \n )}\n \n \n \n \n );\n};\n\nexport default GalleryCmp;\n","import * as React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { GalleryCmp, GalleryProps } from \"./gallery\";\n\ninterface GalleryWrapperProps {\n blok: GalleryProps & blokType;\n}\n\nconst Gallery: React.FC = ({ blok }) => (\n \n);\n\nexport default Gallery;\n","import styled from \"styled-components\";\n\nexport const StyledGalleryItem = styled.div``;\n","import React from \"react\";\nimport { StyledGalleryItem } from \"./styles\";\nimport sbImageService from \"../../../utils/sbImage\";\n\nexport interface GalleryItemProps {\n image?: any;\n description?: string;\n}\n\nexport const GalleryItemCmp: React.FC = ({\n image,\n description,\n}) => {\n return (\n \n {image && image.filename !== null && (\n \n )}\n {description &&

{description}

}\n
\n );\n};\n\nexport default GalleryItemCmp;\n","import * as React from \"react\";\nimport { blokType } from \"../../../utils/types\";\nimport { GalleryItemCmp, GalleryItemProps } from \"./gallery-item\";\n\ninterface GalleryItemWrapperProps {\n blok: GalleryItemProps & blokType;\n}\n\nconst GalleryItem: React.FC = ({ blok }) => {\n return ;\n};\n\nexport default GalleryItem;\n","import React from \"react\";\nimport { StaticQuery, graphql } from \"gatsby\";\nimport _ from \"lodash\";\nimport DynamicComponent from \"..\";\n\nexport interface GlobalReferenceProps {\n blok: any;\n hero_nav?: boolean\n sticky_nav?: boolean\n}\n\nexport const GlobalReference: React.FC = ({ blok, hero_nav, sticky_nav }) => {\n return (\n {\n let cmp;\n if (data && data.allStoryblokEntry) {\n data.allStoryblokEntry.edges.filter((e) => {\n if (e.node.uuid === blok.reference) {\n const block = JSON.parse(e.node.content);\n return (cmp = );\n }\n return cmp;\n });\n }\n return cmp;\n }}\n />\n );\n};\n","import styled from \"styled-components\";\n\nexport const StyledHero = styled.div`\n width: 100vw;\n height: 100vh;\n max-height: 768px;\n position: relative;\n overflow: hidden;\n margin: 0 auto 64px;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n margin: 0 auto 48px;\n }\n`;\n\nexport const StyledImage = styled.div`\n width: 100%;\n height: 100%;\n`;\n\nexport const StyledTitle = styled.h1`\n font-family: ${(props) => props.theme.fonts.circularMedium};\n letter-spacing: 3.36px !important;\n color: ${(props) => props.theme.colors.white};\n text-transform: uppercase;\n position: absolute;\n z-index: 2;\n bottom: 64px;\n left: 50%;\n transform: translateX(-50%);\n text-align: center;\n display: flex;\n width: 100%;\n letter-spacing: 0.05em;\n justify-content: center;\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n bottom: 48px;\n font-size: 42px;\n line-height: 46px;\n }\n`;\n","import styled from \"styled-components\";\n\nexport interface StyledSliderProps {\n no_image?: boolean;\n slider_width?: string;\n}\n\nexport const StyledSlider = styled.div`\n width: ${props => props.slider_width}px;\n height: 100%;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n width: 100%;\n }\n\n\n .swiper{\n width: 100%;\n height: 100%;\n }\n\n .swiper-wrapper{\n // align-items: center;\n }\n .swiper-slide {\n width: 100%;\n height: ${props => props.no_image ? `auto` : `100%`};\n background: rgba(0,0,0,0.1);\n }\n\n .swiper-button-next,\n .swiper-button-prev {\n color: white;\n }\n\n .swiper-button-prev, .swiper-button-next {\n --swiper-navigation-size: 24px;\n width: auto;\n top: auto;\n left: ${props => props.no_image ? `64px` : `24px`};\n bottom: ${props => props.no_image ? `50%` : `24px`};\n ${props => props.no_image && `\n transform: translateY(50%);\n color: ${props.theme.colors.darkBlue};\n `}\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n left: ${props => props.no_image ? `50px` : `24px`};\n }\n }\n\n .swiper-button-next {\n left: auto;\n right: ${props => props.no_image ? `64px` : `24px`};\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n right: ${props => props.no_image ? `50px` : `24px`};\n }\n }\n\n .swiper-button-next.swiper-button-disabled,\n .swiper-button-prev.swiper-button-disabled {\n opacity: 0;\n }\n`;\n","import React from \"react\";\n\nimport { Autoplay, EffectFade, Navigation } from \"swiper\";\nimport \"swiper/css\";\nimport \"swiper/css/effect-fade\";\nimport \"swiper/css/navigation\";\nimport { Swiper, SwiperSlide } from \"swiper/react\";\n\nimport DynamicComponent from \"..\";\nimport { StyledSlider } from \"./styles\";\n\nexport interface SliderProps {\n slider_items?: Array;\n no_image?: boolean;\n navigation?: boolean;\n autoplay?: boolean;\n slider_width?: string;\n transitionSpeed?: number;\n}\n\nexport const SliderCmp: React.FC = ({\n slider_items,\n no_image,\n navigation = true,\n autoplay = false,\n slider_width,\n transitionSpeed = 0,\n}) => {\n let autoPlaySettings;\n if (autoplay) {\n autoPlaySettings = {\n delay: 3000,\n disableOnInteraction: false,\n };\n } else {\n autoPlaySettings = false;\n }\n\n return (\n \n \n {slider_items &&\n slider_items.map((item) => (\n \n \n \n ))}\n \n \n );\n};\n\nexport default SliderCmp;\n","import React from \"react\";\nimport {\n StyledHero,\n StyledImage,\n StyledTitle,\n StyledOverlay,\n} from \"./styles\";\nimport DynamicComponent from \"../../components\";\nimport SliderCmp from \"../slider/slider\";\n\nexport interface HeroProps {\n image?: any;\n title?: string;\n}\n\nexport const HeroCmp: React.FC = ({ image, title }) => {\n return (\n \n {image && image.length > 0 && (\n \n {image.length > 1 ? (\n \n ) : (\n image.map((item) => (\n \n ))\n )}\n \n )}\n {title && title}\n \n );\n};\n\nexport default HeroCmp;\n","import * as React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { HeroCmp, HeroProps } from \"./hero\";\n\ninterface HeroWrapperProps {\n blok: HeroProps & blokType;\n}\n\nconst Hero: React.FC = ({ blok }) => (\n \n);\n\nexport default Hero;\n","import styled from \"styled-components\";\n\nimport { StyledButton } from \"../button/styles\";\n\nexport interface StyledImageProps {\n nav_height?: string;\n}\nexport interface StyledNavigationProps {\n sticky_nav?: boolean;\n}\n\nexport const StyledHeroWrapper = styled.div`\n width: 100vw;\n background: ${(props) => props.theme.colors.darkBlue};\n`;\n\nexport const StyledHero = styled.div`\n width: 100vw;\n height: calc(100vh);\n max-height: 768px;\n position: relative;\n margin: 0 auto;\n\n @media (min-width: ${(props) => props.theme.breakPoints.widest}) {\n max-height: 85vh;\n }\n`;\nexport const StyledDarken = styled.div`\n position: relative;\n z-index: 2;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n @media (min-width: ${(props) => props.theme.breakPoints.desktop}) {\n height: calc(100% - ${(props) => props.nav_height}px);\n }\n @media (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n height: 100%;\n }\n`;\nexport const StyledButtons = styled.div`\n @media (min-width: ${(props) => props.theme.breakPoints.desktop}) {\n position: fixed;\n left: 50%;\n top: 16px;\n transform: translateX(-50%);\n display: flex;\n justify-content: flex-end;\n ${(props) => props.theme.mixins.container}\n ${StyledButton} {\n font-size: 16px;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n padding: 8px 12px;\n }\n }\n }\n @media (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n display: none;\n }\n`;\nexport const StyledLogoText = styled.h1`\n max-width: 800px;\n font-family: ${(props) => props.theme.fonts.bembo};\n color: white;\n font-size: 135px;\n line-height: 110px;\n text-align: center;\n margin: 0;\n text-transform: uppercase;\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n max-width: 600px;\n font-size: 72px;\n line-height: 60px;\n }\n @media screen and (max-width: ${(props) => props.theme.breakPoints.mobile}) {\n max-width: 600px;\n font-size: 56px;\n line-height: 48px;\n }\n`;\nexport const StyledTagline = styled.h2`\n color: white;\n margin-top: 48px;\n text-align: center;\n text-transform: none;\n @media screen and (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n width: 85%;\n }\n`;\nexport const StyledImage = styled.div`\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n @media (min-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n height: calc(100% - ${(props) => props.nav_height}px);\n }\n @media (max-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n height: 100%;\n }\n`;\nexport const StyledNavigation = styled.div`\n left: 0;\n width: 100%;\n z-index: 3;\n @media (min-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n ${(props) =>\n props.sticky_nav\n ? `\n position: fixed;\n top: 0;\n `\n : `\n position: absolute;\n bottom: 0;\n `}\n }\n @media (max-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n position: fixed;\n top: 0;\n }\n`;\n","import React, { useEffect, useRef, useState } from \"react\";\n\nimport DynamicComponent from \"../../components\";\nimport { blokType } from \"../../utils/types\";\nimport { GlobalReference } from \"../global-reference\";\nimport SliderCmp from \"../slider/slider\";\nimport {\n StyledButtons,\n StyledDarken,\n StyledHero,\n StyledHeroWrapper,\n StyledImage,\n StyledLogoText,\n StyledNavigation,\n StyledTagline,\n} from \"./styles\";\n\nexport interface HeroHomeProps {\n logo_text: string;\n tagline: string;\n image?: any;\n button?: blokType;\n navigation?: Array;\n}\n\nexport const HeroHomeCmp: React.FC = ({\n button,\n logo_text,\n tagline,\n image,\n navigation,\n}) => {\n const navRef = useRef();\n const heroRef = useRef();\n const [stickyNav, setStickyNav] = useState(false);\n const [navHeight, setNavHeight] = useState(0);\n\n useEffect(() => {\n function resizeHandler() {\n if (navRef.current) {\n setNavHeight(navRef.current.clientHeight);\n }\n }\n function scrollHandler() {\n if (\n navRef.current &&\n heroRef.current &&\n heroRef.current.getBoundingClientRect().bottom <\n 0 + navRef.current.clientHeight\n ) {\n setStickyNav(true);\n } else {\n setStickyNav(false);\n }\n }\n addEventListener(\"scroll\", scrollHandler);\n addEventListener(\"resize\", resizeHandler);\n });\n\n return (\n \n \n \n \n {button &&\n button.map((item) => (\n \n ))}\n \n {logo_text}\n {tagline && {tagline}}\n \n {image && image.length > 0 && (\n \n \n \n )}\n {navigation && (\n \n {navigation.map((item) => (\n \n ))}\n \n )}\n \n \n );\n};\n\nexport default HeroHomeCmp;\n","import * as React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { HeroHomeCmp, HeroHomeProps } from \"./hero-home\";\n\ninterface HeroHomeWrapperProps {\n blok: HeroHomeProps & blokType;\n}\n\nexport const HeroHome: React.FC = ({ blok }) => (\n \n);\n\nexport default HeroHome;","import styled from \"styled-components\";\n\ninterface StyledHeroTitleProps {\n span_width: number;\n}\n\nexport const StyledHeroTitleWrapper = styled.div`\n width: 100%;\n padding: 48px 0;\n margin: 0 auto;\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n padding: 32px 0;\n }\n`;\n\nexport const StyledHeroTitle = styled.header`\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n justify-content: center;\n\n h1 {\n font-size: 32px;\n line-height: 36px;\n font-family: ${(props) => props.theme.fonts.bembo};\n text-transform: uppercase;\n color: ${(props) => props.theme.colors.darkBlue};\n letter-spacing: 0.05em;\n letter-spacing: 0.05em;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n \n }\n\n ${(props) =>\n props.span_width &&\n `\n position: relative;\n\n & span{\n padding-bottom: 4px;\n\n &:after{\n margin-top: 4px;\n content: \"\";\n width: ${props.span_width}px;\n height: 1px;\n background: ${props.theme.colors.darkBlue};\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n bottom: 0;\n }\n }\n `}\n }\n`;\n","import React, { useEffect, useRef, useState } from 'react';\nimport { StyledHeroTitle, StyledHeroTitleWrapper } from './styles';\n\nexport interface HeroTitleProps {\n title: string;\n}\n\nexport const HeroTitleCmp: React.FC = ({ title }) => {\n const headingRef = useRef();\n const [spanWidth, setSpanWidth] = useState();\n\n useEffect(() => {\n if (headingRef.current){\n setSpanWidth(headingRef.current.offsetWidth)\n }\n function resizeHandler() {\n if (headingRef.current) {\n setSpanWidth(headingRef.current.offsetWidth);\n }\n }\n addEventListener(\"resize\", resizeHandler);\n });\n\n return (\n \n \n

\n {title}\n

\n
\n
\n );\n}\n","import * as React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { IconCmp, IconProps } from \"./icon\";\n\ninterface IconWrapperProps {\n blok: IconProps & blokType;\n}\n\nconst Icon: React.FC = ({ blok }) => (\n \n);\n\nexport default Icon;\n","import styled from \"styled-components\";\n\nexport interface StyledImageProps {\n mobile_exists?: boolean;\n image_width?: string;\n}\n\nexport const StyledImageDesktop = styled.img`\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n ${(props) =>\n props.mobile_exists\n ? `\n display: none;\n `\n : `\n display: block;\n `}\n }\n max-width: ${(props) =>\n props.image_width ? `${props.image_width}px` : \"100%;\"};\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n max-width: 100%;\n }\n @media (min-width: ${(props) => props.theme.breakPoints.widest}) {\n max-width: 100%;\n }\n`;\nexport const StyledImageMobile = styled.img`\n @media (min-width: ${(props) => props.theme.breakPoints.tablet}) {\n display: none;\n }\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n`;\nexport const StyledVideoDesktop = styled.video`\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n ${(props) =>\n props.mobile_exists\n ? `\n display: none;\n `\n : `\n display: block;\n `}\n }\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n`;\nexport const StyledVideoMobile = styled.video`\n @media (min-width: ${(props) => props.theme.breakPoints.tablet}) {\n display: none;\n }\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n`;\n","import * as React from \"react\";\nimport { sbAssetType } from \"../../utils/types\";\nimport { StyledImageDesktop, StyledImageMobile, StyledVideoDesktop, StyledVideoMobile } from \"./styles\";\n\nexport interface ImageProps {\n image?: sbAssetType;\n image_resize?: string,\n image_quality?: string,\n image_mobile?: sbAssetType;\n image_mobile_resize?: string,\n image_mobile_quality?: string,\n}\n \nexport const ImageCmp: React.FC = ({ \n image,\n image_resize = \"\",\n image_quality = \"100\",\n image_mobile,\n image_mobile_resize = \"\",\n image_mobile_quality = \"100\",\n}) => {\n\n return (\n <>\n {image && image?.id !== null && (\n <>\n {image.filename.endsWith(\".mp4\") ? (\n \n \n \n ) : (\n \n )}\n \n )}\n {image_mobile && image_mobile?.id !== null && (\n <>\n {image_mobile.filename.endsWith(\".mp4\") ? (\n \n \n \n ) : (\n \n )}\n \n )}\n \n )\n}\n\nexport default ImageCmp","import * as React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { ImageCmp, ImageProps } from \"./image\";\n\ninterface ImageWrapperProps {\n blok: ImageProps & blokType;\n}\n\nconst Image: React.FC = ({ blok }) => (\n \n);\n\nexport default Image;\n","import * as React from \"react\";\nimport { StyledLink, StyledLabel } from \"./styles\";\nimport { sbLinkType } from \"../../utils/types\";\nimport { getUrl } from \"../../utils/helpers\";\n\nexport interface LinkProps {\n label?: string;\n url?: sbLinkType;\n}\n\nexport const LinkCmp: React.FC = ({ label, url }) => {\n return(\n \n {label && {label}}\n \n)}\n\nexport default LinkCmp;\n","import * as React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { LinkCmp, LinkProps } from \"./link\";\n\ninterface LinkWrapperProps {\n blok: LinkProps & blokType;\n}\n\nconst Link: React.FC = ({ blok }) => (\n \n);\n\nexport default Link;\n","import React from \"react\";\n\nimport { Helmet } from \"react-helmet\";\n\nimport { getUrl } from \"../../utils/helpers\";\nimport { sbLinkType } from \"../../utils/types\";\n\nexport interface MetaDataProps {\n meta_title: string;\n meta_description: string;\n og_title: string;\n og_description: string;\n og_image: string;\n og_image_alt: string; // based on og description\n og_type: string;\n og_site_name: string;\n twitter_card: string;\n twitter_image: string;\n twitter_site: string;\n twitter_creator: string; // based on twiter site\n structured_data: string;\n no_index: boolean;\n canonical_link?: string;\n og_url: string; // page url\n}\n\nexport const MetaDataCmp: React.FC = ({\n meta_title,\n meta_description,\n og_title,\n og_description,\n og_image,\n og_image_alt, // based on og description\n og_type,\n og_site_name,\n twitter_card,\n twitter_image,\n twitter_site,\n twitter_creator, // based on twiter site\n structured_data,\n no_index,\n canonical_link,\n og_url,\n}) => (\n \n {meta_title && {meta_title}}\n {meta_description && }\n\n {canonical_link && }\n {!canonical_link && }\n\n {no_index && }\n\n {og_title && }\n {og_description && (\n \n )}\n {og_image && }\n {og_image && og_image_alt && (\n \n )}\n\n {og_site_name && }\n {og_type && }\n {og_url && }\n\n {twitter_card && }\n {twitter_site && }\n {twitter_creator && (\n \n )}\n {twitter_image && (\n \n )}\n\n {structured_data && (\n \n )}\n \n);\n","import React from \"react\";\n\nimport { addTrailingSlash, getUrl } from \"../../utils/helpers\";\nimport sbImageService from \"../../utils/sbImage\";\nimport { blokType, sbAssetType, sbLinkType } from \"../../utils/types\";\nimport { MetaDataCmp } from \"./meta-data\";\n\nexport interface MetaDataBlokProps {\n meta_title: string;\n meta_description: string;\n og_title: string;\n og_description: string;\n og_image: sbAssetType;\n og_type: string;\n og_site_name: string;\n twitter_card: string;\n twitter_image: sbAssetType;\n twitter_site: string;\n structured_data: string;\n no_index: boolean;\n canonical_link: sbLinkType;\n}\n\ninterface MetaDataWrapperProps {\n blok: MetaDataBlokProps & blokType;\n path: string;\n}\n\nconst MetaData: React.FC = ({ blok, path }) => {\n const formattedPath = `${addTrailingSlash(\n process.env.GATSBY_HOST\n )}${addTrailingSlash(path)}`;\n\n const formattedCanonical =\n blok.canonical_link.url || blok.canonical_link.cached_url\n ? `${process.env.GATSBY_HOST}${getUrl(blok.canonical_link)}`\n : undefined;\n\n return (\n \n );\n};\n\nexport default MetaData;\n","import styled from \"styled-components\";\n\ninterface LayoutProps {\n isHomepage: boolean;\n}\n\nexport const StyledLayout = styled.div`\n margin-top: ${(props) => (props.isHomepage ? 0 : \"62px\")};\n`;\nexport const StyledBody = styled.main``;\n","import styled from \"styled-components\";\n\nimport { StyledButton } from \"../button/styles\";\nimport { StyledBody } from \"../layout/styles\";\nimport { StyledLabel, StyledLink } from \"../link/styles\";\n\nexport interface StyledNavigationProps {\n hero_nav?: boolean;\n sticky_nav?: boolean;\n show_menu?: boolean;\n backgroundColour?: \"darkblue\" | \"silver\";\n}\n\nexport const StyledMobileNavigation = styled.div`\n position: fixed;\n z-index: 10;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n background-color: ${({ backgroundColour, theme }) =>\n backgroundColour === \"silver\"\n ? theme.colors.silver\n : theme.colors.darkBlue};\n transition: 0.4s;\n overflow: hidden;\n ${(props) =>\n props.show_menu\n ? `\n opacity: 1;\n `\n : `\n opacity: 0;\n\n pointer-events: none;\n `}\n`;\n\nexport const StyledMobileNavigationContainer = styled.div`\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n height: 100%;\n width: 100%;\n padding: 0 24px;\n overflow: hidden;\n\n ${(props) =>\n props.show_menu\n ? `\n opacity: 1;\n transition-duration: .4s;\n transition-delay: .4s;\n `\n : `\n opacity: 0;\n pointer-events: none;\n `}\n`;\n\nexport const StyledMobileNavigationItems = styled.nav`\n margin: 0 0 28px 0;\n display: flex;\n flex-direction: column;\n`;\n\nexport const StyledNavigationItem = styled.div`\n width: 100vw;\n border-bottom: 1px solid\n ${({ backgroundColour, theme }) =>\n backgroundColour === \"silver\" ? theme.colors.black : theme.colors.white};\n padding: 8px 0;\n margin-left: -24px;\n\n &:nth-of-type(1) {\n margin-top: 64px;\n }\n\n & ${StyledLink} {\n color: ${({ backgroundColour, theme }) =>\n backgroundColour === \"silver\" ? theme.colors.black : theme.colors.white};\n text-transform: uppercase;\n font-size: 16px;\n line-height: 20px;\n font-family: ${(props) => props.theme.fonts.circularMedium};\n cursor: pointer;\n white-space: nowrap;\n text-decoration: none;\n padding: 8px;\n\n & ${StyledLabel} {\n padding-left: 24px;\n }\n }\n`;\n\nexport const StyledNavigation = styled.div`\n z-index: 10;\n background-color: ${({ backgroundColour, theme }) =>\n backgroundColour === \"silver\"\n ? theme.colors.silver\n : theme.colors.darkBlue};\n ${(props) =>\n !props.hero_nav &&\n `\n position: fixed;\n width: 100%;\n top: 0;\n left: 0;\n `}\n\n @media (min-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n background-color: ${({ backgroundColour, theme }) =>\n backgroundColour === \"silver\"\n ? theme.colors.silver\n : theme.colors.darkBlue};\n }\n\n @media (max-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n padding-top: 16px;\n padding-bottom: 16px;\n transition: 0.4s;\n ${(props) =>\n props.sticky_nav\n ? `\n background-color: ${({ backgroundColour, theme }) =>\n backgroundColour === \"silver\"\n ? theme.colors.silver\n : theme.colors.darkBlue};\n `\n : `\n background-color: transparent;\n `}\n\n ${(props) => props.show_menu && \"padding-bottom:15px;\"}\n }\n\n & + ${StyledBody} {\n ${(props) =>\n !props.hero_nav &&\n `\n @media (min-width: ${props.theme.breakPoints.navbarBreak}) {\n padding-top: 66px;\n }\n @media (max-width: ${props.theme.breakPoints.navbarBreak}) {\n padding-top: 64px;\n }\n `}\n }\n`;\n\nexport const StyledContainer = styled.div`\n ${(props) => props.theme.mixins.container}\n display: flex;\n align-items: center;\n position: relative;\n\n @media (min-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n justify-content: space-between;\n }\n\n @media (max-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n justify-content: space-between;\n position: relative;\n height: 32px;\n }\n`;\n\nexport const StyledLogoWrapper = styled.a`\n @media (max-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n margin-top: -24px;\n width: 100%;\n }\n`;\n\nexport const StyledLogo = styled.img`\n cursor: pointer;\n transition: 0.4s;\n ${(props) =>\n props.sticky_nav\n ? `\n opacity: 1;\n `\n : `\n opacity: 0;\n `}\n\n @media (min-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n padding: 16px 0;\n max-width: 110px;\n display: block;\n }\n @media (max-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n position: absolute;\n top: 0;\n left: 50%;\n height: 96%;\n align-items: center;\n transform: translateX(-50%);\n z-index: 9999;\n ${(props) => props.show_menu && \" opacity: 1;\"}\n }\n`;\n\nexport const StyledNavigationItems = styled.nav`\n display: flex;\n\n @media (min-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n position: absolute;\n top: 0;\n left: 50%;\n height: 100%;\n align-items: center;\n transform: translateX(-50%);\n }\n\n @media (max-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n display: none;\n }\n\n & ${StyledLink} {\n color: ${({ backgroundColour, theme }) =>\n backgroundColour === \"silver\" ? theme.colors.black : theme.colors.white};\n text-transform: uppercase;\n font-size: 14px;\n font-family: ${(props) => props.theme.fonts.circularMedium};\n cursor: pointer;\n display: block;\n white-space: nowrap;\n text-decoration: none;\n padding: 16px 12px;\n\n @media (min-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n letter-spacing: 0.08em;\n &:hover {\n text-decoration: underline;\n }\n }\n }\n`;\n\nexport const StyledButtons = styled.div`\n ${(props) => (props.show_menu ? \"opacity: 0;\" : \" opacity: 1;\")}\n transition: 0.4s;\n\n & ${StyledButton} {\n padding: 8px 12px;\n }\n\n @media (max-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n width: 100%;\n display: flex;\n justify-content: flex-end;\n }\n`;\n\nexport const StyledCloseIcon = styled.div`\n @media (min-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n display: none;\n }\n\n & svg {\n color: ${({ backgroundColour, theme }) =>\n backgroundColour === \"silver\" ? theme.colors.black : theme.colors.white};\n font-size: 25px;\n z-index: 1000;\n position: relative;\n }\n`;\n\nexport const StyledBurgerIcon = styled.div`\n @media (min-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n display: none;\n }\n & svg {\n color: ${({ backgroundColour, theme }) =>\n backgroundColour === \"silver\" ? theme.colors.black : theme.colors.white};\n font-size: 25px;\n }\n`;\n","import React, { useCallback, useState } from \"react\";\n\nimport { useLocation } from \"@reach/router\";\nimport { navigate } from \"gatsby\";\n\nimport DynamicComponent from \"..\";\nimport sbImageService from \"../../utils/sbImage\";\nimport { sbAssetType } from \"../../utils/types\";\nimport IconCmp from \"../icon/icon\";\nimport {\n StyledBurgerIcon,\n StyledButtons,\n StyledCloseIcon,\n StyledContainer,\n StyledLogo,\n StyledLogoWrapper,\n StyledMobileNavigation,\n StyledMobileNavigationContainer,\n StyledMobileNavigationItems,\n StyledNavigation,\n StyledNavigationItem,\n StyledNavigationItems,\n} from \"./styles\";\n\nexport interface NavigationProps {\n logo?: sbAssetType;\n navigation?: Array;\n button?: Array;\n backgroundColour?: \"darkblue\" | \"silver\";\n hero_nav?: boolean;\n sticky_nav?: boolean;\n}\n\nexport const NavigationCmp: React.FC = ({\n logo,\n navigation,\n button,\n backgroundColour,\n hero_nav = false,\n sticky_nav = true,\n}) => {\n const [showMenu, setShowMenu] = useState(false);\n\n const location = useLocation();\n\n const handleLogoClick = useCallback(() => {\n if (location.pathname === \"/\") {\n if (showMenu) {\n setShowMenu(false);\n return;\n }\n const body = document.querySelector(\"body\");\n body?.scrollIntoView();\n } else {\n navigate(\"/\");\n }\n }, [showMenu, location.pathname]);\n\n return (\n <>\n \n \n {navigation && (\n \n {navigation.map((item) => (\n \n \n \n ))}\n \n )}\n {button &&\n button.map((item) => (\n \n \n \n ))}\n \n \n \n \n {showMenu && showMenu ? (\n setShowMenu(!showMenu)}\n backgroundColour={backgroundColour}\n >\n \n \n ) : (\n setShowMenu(!showMenu)}\n data-testid=\"hamburger-menu\"\n backgroundColour={backgroundColour}\n >\n \n \n )}\n \n {logo && logo.filename !== null && (\n \n )}\n \n {navigation && (\n \n {navigation.map((item) => (\n \n ))}\n \n )}\n {button &&\n button.map((item) => (\n \n \n \n ))}\n \n \n \n );\n};\n\nexport default NavigationCmp;\n","import * as React from \"react\";\n\nimport { blokType } from \"../../utils/types\";\nimport { NavigationCmp, NavigationProps } from \"./navigation\";\n\ninterface NavigationWrapperProps {\n blok: NavigationProps & blokType;\n hero_nav?: boolean;\n sticky_nav?: boolean;\n backgroundColour?: \"darkblue\" | \"silver\";\n}\n\nconst Navigation: React.FC = ({\n blok,\n hero_nav,\n sticky_nav,\n}) => {\n return (\n \n );\n};\n\nexport default Navigation;\n","import styled from \"styled-components\";\n\nexport interface StyledImageProps {\n nav_height?: string;\n isTaglineBottom?: boolean;\n}\n\nexport interface StyledNavigationProps {\n sticky_nav?: boolean;\n}\n\nexport const StyledNewHero = styled.div`\n width: 100vw;\n height: calc(100vh);\n max-height: 768px;\n position: relative;\n margin: 0 auto;\n background: ${(props) => props.theme.colors.darkBlue};\n\n @media (min-width: ${(props) => props.theme.breakPoints.widest}) {\n max-height: 85vh;\n }\n`;\n\nexport const StyledDarken = styled.div`\n position: relative;\n z-index: 2;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: ${({ isTaglineBottom }) =>\n isTaglineBottom ? \"space-between\" : \"flex-start\"};\n\n @media (min-width: ${(props) => props.theme.breakPoints.desktop}) {\n height: calc(100% - ${(props) => props.nav_height}px);\n }\n\n @media (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n height: 100%;\n }\n`;\n\nexport const StyleLogoWrapper = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-top: 70px;\n\n @media (max-width: ${(props) => props.theme.breakPoints.desktop}) {\n width: 100%;\n }\n`;\n\nexport const StyleLogoImage = styled.div`\n max-width: 300px;\n max-height: 156px;\n\n & img {\n width: 100%;\n }\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.mobile}) {\n width: 209px;\n height: 110px;\n }\n`;\n\nexport const StyledLogoText = styled.h1`\n max-width: 800px;\n font-family: ${(props) => props.theme.fonts.circularMedium};\n color: white;\n font-size: 64px;\n line-height: 70px;\n text-align: center;\n margin-bottom: 30px;\n text-transform: uppercase;\n letter-spacing: 0.08em !important;\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n max-width: 600px;\n font-size: 56px;\n line-height: 60px;\n }\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.mobile}) {\n max-width: 600px;\n font-size: 46px;\n line-height: 48px;\n }\n`;\n\nexport const StyledTagline = styled.h2`\n color: white;\n text-align: center;\n text-transform: none;\n font-family: ${(props) => props.theme.fonts.circularMedium};\n letter-spacing: 0.21em;\n font-size: 32px;\n font-weight: 500;\n line-height: 36px;\n margin-bottom: 80px;\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n width: 85%;\n }\n\n @media screen and (max-width: ${(props) => props.theme.breakPoints.mobile}) {\n font-size: ${({ isTaglineBottom }) => (isTaglineBottom ? \"26px\" : \"18px\")};\n line-height: ${({ isTaglineBottom }) =>\n isTaglineBottom ? \"32px\" : \"24px\"};\n font-weight: 500;\n letter-spacing: 0.21em;\n text-align: center;\n margin-bottom: 180px;\n }\n`;\n\nexport const StyledImage = styled.div`\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n\n @media (min-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n height: calc(100% - ${(props) => props.nav_height}px);\n }\n\n @media (max-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n height: 100%;\n }\n`;\n\nexport const StyledNavigation = styled.div`\n left: 0;\n width: 100%;\n z-index: 3;\n\n @media (min-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n ${(props) =>\n props.sticky_nav\n ? `position: fixed;\n top: 0;\n `\n : `\n position: absolute;\n bottom: 0;\n `}\n }\n\n @media (max-width: ${(props) => props.theme.breakPoints.navbarBreak}) {\n position: fixed;\n top: 0;\n }\n`;\n","import React, { useEffect, useRef, useState } from \"react\";\n\nimport sbImageService from \"../../utils/sbImage\";\nimport { sbAssetType } from \"../../utils/types\";\nimport { GlobalReference } from \"../global-reference\";\nimport SliderCmp from \"../slider/slider\";\nimport {\n StyleLogoImage,\n StyleLogoWrapper,\n StyledDarken,\n StyledImage,\n StyledLogoText,\n StyledNavigation,\n StyledNewHero,\n StyledTagline,\n} from \"./styles\";\n\nexport interface NewHeroHomeProps {\n logoText: string;\n logoImage: sbAssetType;\n tagline: string;\n isTaglineBottom?: boolean;\n image?: any;\n navigation?: Array;\n}\n\nexport const NewHeroHomeCmp: React.FC = ({\n logoText,\n logoImage,\n tagline,\n isTaglineBottom,\n image,\n navigation,\n}) => {\n const navRef = useRef();\n const heroRef = useRef();\n const [stickyNav, setStickyNav] = useState(false);\n const [navHeight, setNavHeight] = useState(0);\n\n useEffect(() => {\n function resizeHandler() {\n if (navRef.current) {\n setNavHeight(navRef.current.clientHeight);\n }\n }\n function scrollHandler() {\n if (\n navRef.current &&\n heroRef.current &&\n heroRef.current.getBoundingClientRect().bottom <\n 0 + navRef.current.clientHeight\n ) {\n setStickyNav(true);\n } else {\n setStickyNav(false);\n }\n }\n addEventListener(\"scroll\", scrollHandler);\n addEventListener(\"resize\", resizeHandler);\n\n return () => {\n removeEventListener(\"scroll\", scrollHandler);\n removeEventListener(\"resize\", resizeHandler);\n };\n }, []);\n\n return (\n \n \n \n {logoImage && logoImage.filename !== null && (\n \n \n \n )}\n {logoText}\n \n \n {tagline}\n \n \n {image && image.length > 0 && (\n \n \n \n )}\n {navigation && (\n \n {navigation.map((item) => (\n \n ))}\n \n )}\n \n );\n};\n\nexport default NewHeroHomeCmp;\n","import * as React from \"react\";\n\nimport { blokType } from \"../../utils/types\";\nimport { NewHeroHomeCmp, NewHeroHomeProps } from \"./new-hero-home\";\n\ninterface NewHeroHomeWrapperProps {\n blok: NewHeroHomeProps & blokType;\n}\n\nexport const NewHeroHome: React.FC = ({ blok }) => (\n \n);\n\nexport default NewHeroHome;\n","import React, { useRef, useState, useEffect } from \"react\";\nimport {\n StyledContainer,\n StyledSection,\n StyledIcon,\n StyledHeader,\n StyledContent,\n StyledSubHeader,\n StyledText,\n StyledImage,\n StyledButtons,\n} from \"./styles\";\nimport DynamicComponent from \"../../components\";\nimport sbImageService from \"../../utils/sbImage\";\nimport RichTextCmp from \"../rich-text/rich-text\";\nimport { sbAssetType } from \"../../utils/types\";\nimport SliderCmp from \"../slider/slider\";\nimport { Richtext } from \"gatsby-source-storyblok\";\n\nexport interface SectionProps {\n icon?: sbAssetType;\n reverse?: boolean;\n title_layout?: string;\n title?: string;\n copy?: Richtext;\n image?: Array;\n button?: Array;\n wide?: boolean;\n mobile_full_bleed?: boolean;\n}\n\nexport const SectionCmp: React.FC = ({\n icon,\n reverse,\n title_layout,\n title,\n copy,\n image,\n button,\n wide,\n mobile_full_bleed,\n}) => {\n const headingRef = useRef();\n const [spanWidth, setSpanWidth] = useState();\n\n useEffect(() => {\n if (headingRef.current){\n setSpanWidth(headingRef.current.offsetWidth)\n }\n function resizeHandler() {\n if (headingRef.current) {\n setSpanWidth(headingRef.current.offsetWidth);\n }\n }\n addEventListener(\"resize\", resizeHandler);\n });\n\n return (\n \n \n \n {icon && icon.id !== null && (\n \n )}\n {title && title_layout === \"section\" && (\n

\n {title}\n

\n )}\n
\n \n \n {title && title_layout === \"body\" && (\n \n {title}\n \n )}\n {copy && }\n \n {button &&\n button.map((item) => (\n \n ))}\n \n \n {image && image.length > 0 && (\n \n {image.length > 1 ? (\n \n ) : (\n image.map((item) => (\n \n ))\n )}\n \n )}\n \n
\n
\n );\n};\n\nexport default SectionCmp;\n","import * as React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { SectionCmp, SectionProps } from \"./section\";\n\ninterface SectionWrapperProps {\n blok: SectionProps & blokType;\n}\n\nconst Section: React.FC = ({ blok }) => (\n \n);\n\nexport default Section;\n","import styled from \"styled-components\";\n\nexport interface StyledSectionCardsProps {\n column?: string;\n}\n\nexport interface StyledSectionTitleProps {\n heading_underline?: boolean;\n}\n\nexport const StyledSectionCards = styled.section`\n margin: 64px 0;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n margin: 48px 0;\n }\n`;\n\nexport const StyledContainer = styled.div`\n ${(props) => props.theme.mixins.container};\n`;\n\nexport const StyledHeader = styled.h3`\n font-family: ${(props) => props.theme.fonts.bembo};\n padding: 0;\n text-transform: uppercase;\n width: fit-content;\n margin: 0 0 42px 0;\n border-bottom: ${(props) =>\n props.heading_underline && `1px solid ${props.theme.colors.darkBlue};`};\n\n @media (min-width: ${(props) => props.theme.breakPoints.desktop}) {\n padding: 0;\n }\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n margin: 0 0 24px 0;\n }\n`;\n\nexport const StyledSectionCardsContainer = styled.div`\n width: 100%;\n display: grid;\n grid-template-columns: repeat(${(props) => props.column}, 1fr);\n gap: 16px;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n grid-template-columns: repeat(${(props) => props.column_tablet}, 1fr);\n }\n @media (max-width: ${(props) => props.theme.breakPoints.mobile}) {\n grid-template-columns: repeat(${(props) => props.column_mobile}, 1fr);\n }\n`;\n","import * as React from \"react\";\nimport {\n StyledSectionCards,\n StyledContainer,\n StyledHeader,\n StyledSectionCardsContainer,\n} from \"./styles\";\nimport DynamicComponent from \"..\";\n\nexport interface SectionCardsProps {\n header: string;\n heading_underline: boolean;\n cards?: Array;\n column?: string;\n column_tablet?: string;\n column_mobile?: string;\n}\n\nexport const SectionCardsCmp: React.FC = ({\n header,\n heading_underline,\n cards,\n column,\n column_tablet,\n column_mobile,\n}) => {\n return (\n \n \n {header && (\n \n {header}\n \n )}\n\n {cards && (\n \n {cards.map((item) => (\n \n ))}\n \n )}\n \n \n );\n};\n\nexport default SectionCardsCmp;\n","import styled from \"styled-components\";\n\nexport interface StyledSectionCardsItemProps {\n card_type?: string;\n}\n\nexport const StyledSectionCardsItem = styled.div`\n display: flex;\n height: 100%;\n background: ${(props) => props.theme.colors.white};\n\n ${(props) =>\n props.card_type === \"feature-card\"\n ? `\n @media (max-width: ${props.theme.breakPoints.tablet}) {\n flex-direction: column;\n }\n `\n : `\n flex-direction: column;\n `}\n`;\n\nexport const StyledImage = styled.div`\n display: flex;\n ${(props) =>\n props.card_type === \"feature-card\"\n ? `\n max-width: 440px;\n @media (max-width: ${props.theme.breakPoints.tablet}) {\n max-width: 100%;\n }\n `\n : `\n max-width: 100%;\n `}\n`;\nexport const StyledContent = styled.div`\n height: 100%;\n padding: 64px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n ${(props) =>\n props.card_type === \"feature-card\" &&\n `\n width: 70%;\n @media (max-width: ${props.theme.breakPoints.tablet}) {\n padding: 48px;\n width: 100%;\n }\n `}\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n padding: 24px;\n }\n`;\n\nexport const StyledInformation = styled.div`\n display: flex;\n flex-direction: column;\n height: 100%;\n`;\n\nexport const StyledHeader = styled.div``;\n\nexport const StyledTitle = styled.h3`\n font-family: ${(props) => props.theme.fonts.bembo};\n margin: 0 0 16px 0;\n text-transform: uppercase;\n`;\n\nexport const StyledDate = styled.p`\n margin: 0 0 8px;\n`;\n\nexport const StyledBookingInfo = styled.div``;\n\nexport const StyledButtons = styled.div`\n margin-top: 24px;\n`;\n\nexport const StyledDescription = styled.div`\n display: flex;\n flex-grow: 1;\n`;\n\nexport const StyledPrices = styled.div`\n margin-top: 64px;\n\n & + & {\n margin-top: 0;\n padding-top: 24px;\n }\n\n & p + p {\n padding-top: 4px;\n border-top: 1px solid ${(props) => props.theme.colors.darkBlue20};\n }\n\n & p {\n margin: 0;\n padding: 0 0 4px 0;\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n & span:nth-last-of-type(1) {\n color: ${(props) => props.theme.colors.darkBlue};\n font-family: ${(props) => props.theme.fonts.circularMedium};\n padding-left: 16px;\n }\n }\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n padding-bottom: 16px;\n }\n`;\n","import * as React from \"react\";\nimport {\n StyledSectionCardsItem,\n StyledContent,\n StyledImage,\n StyledInformation,\n StyledHeader,\n StyledTitle,\n StyledDate,\n StyledBookingInfo,\n StyledPrices,\n StyledButtons,\n StyledDescription,\n} from \"./styles\";\nimport { blokType, sbAssetType } from \"../../../utils/types\";\nimport DynamicComponent from \"../..\";\nimport RichTextCmp from \"../../rich-text/rich-text\";\nimport { Richtext } from \"gatsby-source-storyblok\";\n\nexport interface BookingDetails {\n label: string;\n price: string;\n}\nexport interface RoomDetails {\n capacity_type: string;\n number: string;\n}\nexport interface SectionCardsItemProps {\n card_type?: string;\n image?: Array;\n title?: string;\n date?: string;\n copy?: Richtext;\n booking_details?: BookingDetails[];\n room_details?: RoomDetails[];\n button?: Array;\n link?: blokType;\n}\n\nexport const SectionCardsItemCmp: React.FC = ({\n card_type,\n image,\n title,\n date,\n copy,\n booking_details,\n room_details,\n button,\n link,\n}) => (\n \n {image && (\n \n {image.map((item) => (\n \n ))}\n \n )}\n\n \n \n \n {date && {date}}\n {title && {title}}\n \n {copy && (\n \n \n \n )}\n \n {booking_details && booking_details.length > 0 && (\n \n {booking_details?.map(({ label, price }) => (\n

\n {label}\n £{price}\n

\n ))}\n
\n )}\n {room_details && room_details.length > 0 && button && (\n \n {room_details?.map(({ capacity_type, number }) => (\n

\n {capacity_type}\n {number}\n

\n ))}\n
\n )}\n
\n
\n {button && button.length > 0 && (\n \n {button.map((item) => (\n \n ))}\n \n )}\n
\n
\n);\n\nexport default SectionCardsItemCmp;\n","import * as React from \"react\";\nimport { blokType } from \"../../../utils/types\";\nimport { SectionCardsItemCmp, SectionCardsItemProps } from \"./section-cards-item\";\n\ninterface SectionCardsItemWrapperProps {\n blok: SectionCardsItemProps & blokType;\n}\n\n\nexport const SectionCardsItem: React.FC = ({ blok }) => {\n return(\n \n)}\n\n\n","import * as React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { SliderCmp, SliderProps } from \"./slider\";\n\ninterface SliderWrapperProps {\n blok: SliderProps & blokType;\n}\n\nconst Slider: React.FC = ({ blok }) => (\n \n);\n\nexport default Slider;\n","import styled from \"styled-components\";\n\nexport const StyledSocialIconLink = styled.a`\n cursor: pointer;\n color: ${props => props.theme.colors.darkBlue};\n`;\n\nexport const StyledSocialIcon = styled.i``;\n","import React from \"react\";\nimport { getUrl } from \"../../utils/helpers\";\nimport { sbLinkType } from \"../../utils/types\";\nimport { StyledSocialIcon, StyledSocialIconLink } from \"./styles\";\n\nexport interface SocialIconProps {\n icon: string;\n link: sbLinkType;\n}\n\nexport const SocialIconCmp: React.FC = ({ icon, link }) => {\n return (\n \n \n \n )\n};\n","import styled from \"styled-components\";\n\nexport const StyledTestimonial = styled.section`\n width: 100%;\n padding: 48px 0;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n padding: 32px 0;\n }\n`;\n\nexport const StyledTestimonialContainer = styled.div`\n ${(props) => props.theme.mixins.container}\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n padding: 0;\n }\n`;\n\nexport const StyledTestimonialItem = styled.div``\n\n\n","import * as React from \"react\";\nimport {\n StyledTestimonial,\n StyledTestimonialContainer,\n StyledTestimonialItem,\n} from \"./styles\";\nimport SliderCmp from \"../slider/slider\";\n\nexport interface TestimonialProps {\n testimonials?: Array;\n}\n\nexport const TestimonialCmp: React.FC = ({\n testimonials,\n}) => {\n return (\n \n \n {testimonials && testimonials.length > 0 && (\n \n \n \n )}\n \n \n );\n};\n\nexport default TestimonialCmp;\n","import * as React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { TestimonialCmp, TestimonialProps } from \"./testimonial\";\n\ninterface TestimonialWrapperProps {\n blok: TestimonialProps & blokType;\n}\n\nconst Testimonial: React.FC = ({ blok }) => (\n \n);\n\nexport default Testimonial;\n","import styled from \"styled-components\";\n\nexport const StyledTestimonialItemContainer = styled.div`\n height: 100%;\n`;\n\nexport const StyledTestimonialItem = styled.div`\n height: 100%;\n padding: 32px;\n background: ${(props) => props.theme.colors.lightGrey};\n display: flex;\n justify-content: center;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n padding: 24px;\n }\n`;\nexport const StyledText = styled.div`\n padding: 32px 75px;\n height: 100%;\n width: 100%;\n border: 2px solid ${(props) => props.theme.colors.darkBlue};\n font-family: ${(props) => props.theme.fonts.bembo};\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n text-align: center;\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n padding: 24px 61px;\n }\n`;\n\nexport const StyledTitle = styled.header`\n font-size: 24px;\n text-transform: uppercase;\n margin-bottom: 8px;\n color: ${(props) => props.theme.colors.darkBlue};\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n font-size: 20px;\n margin-bottom: 0px;\n }\n`;\n\nexport const StyledCopy = styled.p`\n font-family: ${(props) => props.theme.fonts.bembo};\n font-size: 18px;\n line-height: 28px;\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n font-size: 16px;\n line-height: 26px;\n }\n`;\nexport const StyledBorder = styled.div`\n border-bottom: 2px solid ${(props) => props.theme.colors.darkBlue};\n width: 64px;\n margin: 8px 0 24px 0;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n width: 48px;\n margin: 0 0 16px 0;\n }\n`;\n\nexport const StyledName = styled.div`\n font-size: 18px;\n line-height: 22px;\n color: ${(props) => props.theme.colors.darkBlue};\n\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n font-size: 16px;\n line-height: 20px;\n }\n`;\n","import * as React from \"react\";\nimport {\n StyledTestimonialItem,\n StyledTestimonialItemContainer,\n StyledText,\n StyledTitle,\n StyledCopy,\n StyledName,\n StyledBorder,\n} from \"./styles\";\n\nexport interface TestimonialItemProps {\n title?: string;\n copy?: string;\n name?: string;\n}\n\nexport const TestimonialItemCmp: React.FC = ({\n title,\n copy,\n name,\n}) => {\n return (\n \n \n \n {title && {title}}\n {copy && {copy}}\n \n {name && {name}}\n \n \n \n );\n};\n\nexport default TestimonialItemCmp;\n","import * as React from \"react\";\nimport { blokType } from \"../../../utils/types\";\nimport { TestimonialItemCmp, TestimonialItemProps } from \"./testimonial-item\";\n\ninterface TestimonialItemWrapperProps {\n blok: TestimonialItemProps & blokType;\n}\n\nconst TestimonialItem: React.FC = ({ blok }) => (\n \n);\n\nexport default TestimonialItem;\n","import styled from \"styled-components\";\n\nexport const StyledWidgetDmn = styled.section`\n width: 100%;\n padding: 48px 0;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n padding: 32px 0;\n }\n`;\n\nexport const StyledWidgetDmnContainer = styled.div`\n ${(props) => props.theme.mixins.container};\n height: auto;\n @media (max-width: ${(props) => props.theme.breakPoints.tablet}) {\n padding: 0;\n }\n`;\n","import React, { useEffect } from \"react\";\n\nimport { StyledWidgetDmn, StyledWidgetDmnContainer } from \"./styles\";\n\nexport interface WidgetDmnProps {\n url: string;\n}\n\nexport const WidgetDmnCmp: React.FC = ({ url }) => {\n const useExternalScripts = (url: string) => {\n useEffect(() => {\n const widget = document.getElementById(url);\n const script = document.createElement(\"script\");\n script.setAttribute(\"src\", url);\n script.setAttribute(\"soda-partner-widget\", \"\");\n script.async;\n widget?.appendChild(script);\n }, [url]);\n };\n useExternalScripts(url);\n return (\n \n \n \n );\n};\n\nexport default WidgetDmnCmp;\n","import React from \"react\";\n\nimport { storyblokEditable } from \"gatsby-source-storyblok\";\n\nimport Button from \"./button\";\nimport EventSection from \"./event-section\";\nimport EventCard from \"./event-section/event-card\";\nimport Footer from \"./footer\";\nimport { Form, FormModule } from \"./form\";\nimport Gallery from \"./gallery\";\nimport GalleryItem from \"./gallery/gallery-item\";\nimport { GlobalReference } from \"./global-reference\";\nimport Hero from \"./hero\";\nimport HeroHome from \"./hero-home\";\nimport { HeroTitle } from \"./hero-title\";\nimport Icon from \"./icon\";\nimport Image from \"./image\";\nimport Link from \"./link\";\nimport MetaData from \"./meta-data\";\nimport Navigation from \"./navigation\";\nimport NewHeroHome from \"./new-hero-home\";\nimport Section from \"./section\";\nimport { SectionCards } from \"./section-cards\";\nimport { SectionCardsItem } from \"./section-cards/section-cards-item\";\nimport Slider from \"./slider\";\nimport { SocialIcon } from \"./social-icon\";\nimport Testimonial from \"./testimonial\";\nimport TestimonialItem from \"./testimonial/testimonial-item\";\nimport WidgetDmn from \"./widget-dmn\";\n\nconst Components = {\n navigation: Navigation,\n \"meta-data\": MetaData,\n link: Link,\n button: Button,\n footer: Footer,\n \"hero-home\": HeroHome,\n \"new-hero-home\": NewHeroHome,\n \"hero-title\": HeroTitle,\n section: Section,\n \"event-section\": EventSection,\n \"event-card\": EventCard,\n gallery: Gallery,\n \"gallery-item\": GalleryItem,\n testimonial: Testimonial,\n \"testimonial-item\": TestimonialItem,\n icon: Icon,\n \"social-icon\": SocialIcon,\n slider: Slider,\n image: Image,\n \"section-cards\": SectionCards,\n \"feature-card\": SectionCardsItem,\n \"booking-card\": SectionCardsItem,\n \"room-card\": SectionCardsItem,\n \"film-card\": SectionCardsItem,\n hero: Hero,\n \"global-reference\": GlobalReference,\n \"form-module\": FormModule,\n \"widget-dmn\": WidgetDmn,\n};\n\nexport interface DynamicComponentProps {\n blok?: any;\n hero_nav?: boolean;\n sticky_nav?: boolean;\n}\n\nconst DynamicComponent: React.FC = ({\n blok,\n hero_nav,\n sticky_nav,\n}) => {\n if (typeof Components[blok.component] !== \"undefined\") {\n const Component = Components[blok.component];\n return (\n \n );\n }\n return (\n

\n The component {blok.component} has not been created yet.\n

\n );\n};\n\nexport default DynamicComponent;\n","import React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { HeroTitleCmp, HeroTitleProps } from \"./hero-title\";\n\ninterface HeroTitleWBlokProps {\n blok: HeroTitleProps & blokType;\n}\n\nexport const HeroTitle: React.FC = ({ blok }) => {\n return ;\n};\n","import React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { SocialIconCmp, SocialIconProps } from \"./social-icon\";\n\ninterface SocialIconWBlokProps {\n blok: SocialIconProps & blokType;\n}\n\nexport const SocialIcon: React.FC = ({ blok }) => (\n \n);\n","import * as React from \"react\";\nimport { blokType } from \"../../utils/types\";\nimport { SectionCardsCmp, SectionCardsProps } from \"./section-cards\";\n\ninterface SectionCardsWrapperProps {\n blok: SectionCardsProps & blokType;\n}\n\nexport const SectionCards: React.FC = ({ blok }) => {\n return (\n \n );\n};\n","import React from \"react\";\n\nimport { StaticQuery, graphql } from \"gatsby\";\n\nimport { AllStoryblokEntryResult, blokType } from \"../../utils/types\";\nimport { FormCmp } from \"./form\";\n\ninterface FormModuleWrapper {\n blok: blokType & {\n form: string;\n };\n}\n\nexport const FormModule: React.FC = ({ blok }) => {\n function parseQueryResult(data: AllStoryblokEntryResult, id: string): any {\n let parsedResult: blokType;\n\n data.allStoryblokEntry.edges.forEach((edge) => {\n const { node } = edge;\n let content: blokType = node.content;\n if (typeof node.content === \"string\") content = JSON.parse(node.content);\n if (node.uuid == id) {\n parsedResult = content;\n }\n });\n\n return parsedResult;\n }\n\n return (\n {\n const parsedResult = parseQueryResult(data, blok.form);\n\n return <>{parsedResult && };\n }}\n />\n );\n};\n","import * as React from \"react\";\n\nimport { blokType } from \"../../utils/types\";\nimport { WidgetDmnCmp, WidgetDmnProps } from \"./widget\";\n\ninterface WidgetDmnWrapperProps {\n blok: WidgetDmnProps & blokType;\n}\n\nconst WidgetDmn: React.FC = ({ blok }) => (\n \n);\n\nexport default WidgetDmn;\n","import React from \"react\";\nimport Helmet from \"react-helmet\";\nimport { StaticQuery, graphql } from \"gatsby\";\n\ninterface SeoProps {\n description?: string;\n meta?: Array<\n | { name: string; content: any; property?: undefined }\n | { property: string; content: any; name?: undefined }\n >;\n pathname: string;\n keywords?: Array;\n title: string;\n image?: string;\n alternates?: Array;\n}\n\nconst detailsQuery = graphql`\n query DefaultSEOQuery {\n site {\n siteMetadata {\n title\n description\n author\n siteUrl\n googleSiteVerification\n }\n }\n }\n`;\n\nconst SEO: React.FC = ({\n description,\n meta = [],\n pathname,\n keywords = [],\n title,\n image,\n alternates,\n}) => {\n function getHrefLang(path: string): string {\n if (path === \"/\") {\n return \"en\";\n }\n\n let langPath = path;\n if (path.charAt(0) == \"/\") {\n langPath = path.substring(1);\n }\n\n if (langPath.substring(0, 2) === \"jp\") {\n return \"ja\";\n } else {\n return langPath.substring(0, 2);\n }\n }\n\n function getLang(path: string): string {\n if (typeof window !== \"undefined\") {\n if (path === \"/\") {\n return \"en\";\n }\n if (path.substring(0, 2) === \"zh\") {\n return \"zh-CN\";\n } else if (path === \"/\") {\n } else {\n return path.substring(0, 2);\n }\n }\n\n return \"en\";\n }\n\n function getAltLink(path: string) {\n let langPath = path;\n if (path.charAt(0) == \"/\") {\n langPath = path.substring(1);\n }\n return langPath;\n }\n\n function getDirection(path: string): string {\n return path.substring(0, 2) === \"ar\" ? \"rtl\" : \"ltr\";\n }\n\n function getOGUrl(siteUrl: string) {\n return pathname ? `${siteUrl}/` : siteUrl;\n }\n\n return (\n {\n const siteMetadata = data.site.siteMetadata;\n const seo = {\n siteUrl: siteMetadata.siteUrl,\n image: image || `${siteMetadata.siteUrl}`,\n metaDescription: description || siteMetadata.description,\n };\n return (\n 0\n ? {\n name: \"keywords\",\n content: keywords.join(\", \"),\n }\n : []\n )\n .concat(meta)}\n >\n {Array.isArray(alternates) &&\n alternates.map((item, idx) => (\n \n ))}\n )\n
\n );\n }}\n />\n );\n};\n\nexport default SEO;\n","import * as React from \"react\";\n\nimport { ThemeProvider } from \"styled-components\";\n\nimport { GlobalStyle } from \"../../assets/styles/global\";\nimport { theme } from \"../../assets/styles/theme\";\nimport DynamicComponent from \"../../components\";\nimport Seo from \"../../utils/seo\";\nimport MetaData from \"../meta-data\";\nimport { StyledBody, StyledLayout } from \"./styles\";\n\nexport interface LayoutProps {\n content?: any;\n children?: any;\n}\n\nexport const LayoutCmp: React.FC = ({\n content,\n path,\n}) => (\n <>\n \n {content?.meta_data &&\n content.meta_data.map((item, index) => (\n \n ))}\n \n \n \n {content?.navigation &&\n content.navigation.map((item) => (\n \n ))}\n {content?.hero &&\n content.hero.map((item) => (\n \n ))}\n {content?.body && (\n \n {content.body.map((item) => (\n \n ))}\n \n )}\n {content?.footer &&\n content.footer.map((item) => (\n \n ))}\n \n \n \n);\n\nexport default LayoutCmp;\n","import React, { FC } from \"react\";\n\nimport { SbBlokData, storyblokEditable } from \"gatsby-source-storyblok\";\nimport { Helmet } from \"react-helmet\";\n\nimport { blokType } from \"../../utils/types\";\nimport { LayoutCmp, LayoutProps } from \"./layout\";\n\ninterface LayoutWrapperProps {\n content: SbBlokData & LayoutProps & blokType;\n children?: JSX.Element; // children should always be JSX.Element?\n path: string;\n}\n\nconst Layout: FC = ({ content, path }) => (\n <>\n \n \n \n
\n \n
\n \n);\n\nexport default Layout;\n","var _typeof = require(\"./typeof.js\")[\"default\"];\n\nfunction _regeneratorRuntime() {\n \"use strict\";\n /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n\n module.exports = _regeneratorRuntime = function _regeneratorRuntime() {\n return exports;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n var exports = {},\n Op = Object.prototype,\n hasOwn = Op.hasOwnProperty,\n $Symbol = \"function\" == typeof Symbol ? Symbol : {},\n iteratorSymbol = $Symbol.iterator || \"@@iterator\",\n asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\",\n toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n return Object.defineProperty(obj, key, {\n value: value,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), obj[key];\n }\n\n try {\n define({}, \"\");\n } catch (err) {\n define = function define(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,\n generator = Object.create(protoGenerator.prototype),\n context = new Context(tryLocsList || []);\n return generator._invoke = function (innerFn, self, context) {\n var state = \"suspendedStart\";\n return function (method, arg) {\n if (\"executing\" === state) throw new Error(\"Generator is already running\");\n\n if (\"completed\" === state) {\n if (\"throw\" === method) throw arg;\n return doneResult();\n }\n\n for (context.method = method, context.arg = arg;;) {\n var delegate = context.delegate;\n\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (\"next\" === context.method) context.sent = context._sent = context.arg;else if (\"throw\" === context.method) {\n if (\"suspendedStart\" === state) throw state = \"completed\", context.arg;\n context.dispatchException(context.arg);\n } else \"return\" === context.method && context.abrupt(\"return\", context.arg);\n state = \"executing\";\n var record = tryCatch(innerFn, self, context);\n\n if (\"normal\" === record.type) {\n if (state = context.done ? \"completed\" : \"suspendedYield\", record.arg === ContinueSentinel) continue;\n return {\n value: record.arg,\n done: context.done\n };\n }\n\n \"throw\" === record.type && (state = \"completed\", context.method = \"throw\", context.arg = record.arg);\n }\n };\n }(innerFn, self, context), generator;\n }\n\n function tryCatch(fn, obj, arg) {\n try {\n return {\n type: \"normal\",\n arg: fn.call(obj, arg)\n };\n } catch (err) {\n return {\n type: \"throw\",\n arg: err\n };\n }\n }\n\n exports.wrap = wrap;\n var ContinueSentinel = {};\n\n function Generator() {}\n\n function GeneratorFunction() {}\n\n function GeneratorFunctionPrototype() {}\n\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n var getProto = Object.getPrototypeOf,\n NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);\n var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);\n\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function (method) {\n define(prototype, method, function (arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n\n if (\"throw\" !== record.type) {\n var result = record.arg,\n value = result.value;\n return value && \"object\" == _typeof(value) && hasOwn.call(value, \"__await\") ? PromiseImpl.resolve(value.__await).then(function (value) {\n invoke(\"next\", value, resolve, reject);\n }, function (err) {\n invoke(\"throw\", err, resolve, reject);\n }) : PromiseImpl.resolve(value).then(function (unwrapped) {\n result.value = unwrapped, resolve(result);\n }, function (error) {\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n\n reject(record.arg);\n }\n\n var previousPromise;\n\n this._invoke = function (method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function (resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n };\n }\n\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n\n if (undefined === method) {\n if (context.delegate = null, \"throw\" === context.method) {\n if (delegate.iterator[\"return\"] && (context.method = \"return\", context.arg = undefined, maybeInvokeDelegate(delegate, context), \"throw\" === context.method)) return ContinueSentinel;\n context.method = \"throw\", context.arg = new TypeError(\"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n if (\"throw\" === record.type) return context.method = \"throw\", context.arg = record.arg, context.delegate = null, ContinueSentinel;\n var info = record.arg;\n return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, \"return\" !== context.method && (context.method = \"next\", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = \"throw\", context.arg = new TypeError(\"iterator result is not an object\"), context.delegate = null, ContinueSentinel);\n }\n\n function pushTryEntry(locs) {\n var entry = {\n tryLoc: locs[0]\n };\n 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\", delete record.arg, entry.completion = record;\n }\n\n function Context(tryLocsList) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);\n }\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) return iteratorMethod.call(iterable);\n if (\"function\" == typeof iterable.next) return iterable;\n\n if (!isNaN(iterable.length)) {\n var i = -1,\n next = function next() {\n for (; ++i < iterable.length;) {\n if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;\n }\n\n return next.value = undefined, next.done = !0, next;\n };\n\n return next.next = next;\n }\n }\n\n return {\n next: doneResult\n };\n }\n\n function doneResult() {\n return {\n value: undefined,\n done: !0\n };\n }\n\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, \"constructor\", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\"), exports.isGeneratorFunction = function (genFun) {\n var ctor = \"function\" == typeof genFun && genFun.constructor;\n return !!ctor && (ctor === GeneratorFunction || \"GeneratorFunction\" === (ctor.displayName || ctor.name));\n }, exports.mark = function (genFun) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, \"GeneratorFunction\")), genFun.prototype = Object.create(Gp), genFun;\n }, exports.awrap = function (arg) {\n return {\n __await: arg\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n void 0 === PromiseImpl && (PromiseImpl = Promise);\n var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);\n return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {\n return result.done ? result.value : iter.next();\n });\n }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, \"Generator\"), define(Gp, iteratorSymbol, function () {\n return this;\n }), define(Gp, \"toString\", function () {\n return \"[object Generator]\";\n }), exports.keys = function (object) {\n var keys = [];\n\n for (var key in object) {\n keys.push(key);\n }\n\n return keys.reverse(), function next() {\n for (; keys.length;) {\n var key = keys.pop();\n if (key in object) return next.value = key, next.done = !1, next;\n }\n\n return next.done = !0, next;\n };\n }, exports.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(skipTempReset) {\n if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) {\n \"t\" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);\n }\n },\n stop: function stop() {\n this.done = !0;\n var rootRecord = this.tryEntries[0].completion;\n if (\"throw\" === rootRecord.type) throw rootRecord.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(exception) {\n if (this.done) throw exception;\n var context = this;\n\n function handle(loc, caught) {\n return record.type = \"throw\", record.arg = exception, context.next = loc, caught && (context.method = \"next\", context.arg = undefined), !!caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i],\n record = entry.completion;\n if (\"root\" === entry.tryLoc) return handle(\"end\");\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\"),\n hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n } else {\n if (!hasFinally) throw new Error(\"try statement without catch or finally\");\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n\n if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n finallyEntry && (\"break\" === type || \"continue\" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);\n var record = finallyEntry ? finallyEntry.completion : {};\n return record.type = type, record.arg = arg, finallyEntry ? (this.method = \"next\", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);\n },\n complete: function complete(record, afterLoc) {\n if (\"throw\" === record.type) throw record.arg;\n return \"break\" === record.type || \"continue\" === record.type ? this.next = record.arg : \"return\" === record.type ? (this.rval = this.arg = record.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;\n },\n finish: function finish(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;\n }\n },\n \"catch\": function _catch(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n\n if (\"throw\" === record.type) {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n\n return thrown;\n }\n }\n\n throw new Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(iterable, resultName, nextLoc) {\n return this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n }, \"next\" === this.method && (this.arg = undefined), ContinueSentinel;\n }\n }, exports;\n}\n\nmodule.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\n\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","// TODO(Babel 8): Remove this file.\n\nvar runtime = require(\"../helpers/regeneratorRuntime\")();\nmodule.exports = runtime;\n\n// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n"],"names":["module","exports","Object","assign","hasElementType","Element","hasMap","Map","hasSet","Set","hasArrayBuffer","ArrayBuffer","isView","equal","a","b","constructor","length","i","keys","it","Array","isArray","size","entries","next","done","has","value","get","RegExp","source","flags","valueOf","prototype","toString","hasOwnProperty","call","$$typeof","error","message","match","console","warn","ex","React","React__default","_defineProperty","obj","key","defineProperty","enumerable","configurable","writable","canUseDOM","window","document","createElement","reducePropsToState","handleStateChangeOnClient","mapStateOnServer","Error","WrappedComponent","state","mountedInstances","emitChange","map","instance","props","SideEffect","_PureComponent","subClass","superClass","apply","this","arguments","create","__proto__","peek","rewind","recordedState","undefined","_proto","UNSAFE_componentWillMount","push","componentDidUpdate","componentWillUnmount","index","indexOf","splice","render","PureComponent","displayName","name","getDisplayName","asyncGeneratorStep","gen","resolve","reject","_next","_throw","arg","info","Promise","then","_asyncToGenerator","fn","self","args","err","getOwnPropertySymbols","propertyIsEnumerable","__defProp2","__defProps","defineProperties","__getOwnPropDescs","getOwnPropertyDescriptors","__getOwnPropSymbols2","__hasOwnProp2","__propIsEnum2","__defNormalProp2","__spreadValues2","a2","prop","__spreadProps","loaded","callbacks","t","e2","s","s2","r2","TypeError","i2","n2","o2","t2","setTimeout","filter","e3","s3","shift","l2","r3","n3","abort","forEach","clearTimeout","throttle","AbortError","r","nodes","horizontal_rule","singleTag","blockquote","tag","bullet_list","code_block","attrs","hard_break","heading","level","image","list_item","ordered_list","paragraph","marks","bold","strike","underline","strong","code","italic","link","linktype","href","anchor","styled","n","addNode","addMark","content","renderNode","getMatchingMark","renderOpeningTag","t3","getMatchingNode","text","test","replace","e4","renderTag","html","renderClosingTag","slice","reverse","join","String","type","o","Math","abs","encodeURIComponent","l","c","h","region","https","oauthToken","headers","Authorization","rateLimit","richTextResolver","richTextSchema","componentResolver","setComponentResolver","maxRetries","throttledRequest","accessToken","relations","links","cache","clear","client","e","baseURL","timeout","proxy","responseInterceptor","interceptors","response","use","resolveNestedRelations","body","component","parseParams","version","token","getToken","cv","resolve_relations","factoryParamOptions","makeRequest","per_page","page","cacheResponse","getAll","split","ceil","total","reduce","t4","all","values","data","post","put","delete","getStories","getStory","setToken","_cleanCopy","JSON","parse","stringify","_insertLinks","fieldtype","id","story","uuid","_insertRelations","_insertAssetsRelations","original","filename","includes","s3_filename","iterateTree","_stopResolving","_uid","resolveLinks","link_uuids","min","language","by_uuids","stories","resolveRelations","rel_uuids","rels","resolveStories","resolve_links","resolveAssetsRelations","assets","url","params","cacheProvider","flushCache","paramsSerializer","l3","perPage","parseInt","status","set","log","catch","cacheVersions","cacheVersion","setCacheVersion","flush","apiFactory","options","apiOptions","storyblokApi","editable","blok","_editable","uid","storyblokInit$1","pluginOptions","bridge","src","result","pluginFactory","storyblokRegisterEvent","cb","location","parent","getElementById","script","async","onerror","onload","ev","getElementsByTagName","appendChild","storyblokApiInstance","useStoryblokApi","storyblokInit","components","useStoryblokState","originalStory","bridgeOptions","useState","setStory","useEffect","internalId","newStory","StoryblokBridge","on","event","action","reload","utils","require","settle","cookies","buildURL","buildFullPath","parseHeaders","isURLSameOrigin","transitionalDefaults","AxiosError","CanceledError","parseProtocol","config","onCanceled","requestData","requestHeaders","responseType","cancelToken","unsubscribe","signal","removeEventListener","isFormData","isStandardBrowserEnv","request","XMLHttpRequest","auth","username","password","unescape","btoa","fullPath","onloadend","responseHeaders","getAllResponseHeaders","responseText","statusText","open","method","toUpperCase","onreadystatechange","readyState","responseURL","onabort","ECONNABORTED","ERR_NETWORK","ontimeout","timeoutErrorMessage","transitional","clarifyTimeoutError","ETIMEDOUT","xsrfValue","withCredentials","xsrfCookieName","read","xsrfHeaderName","val","toLowerCase","setRequestHeader","isUndefined","onDownloadProgress","addEventListener","onUploadProgress","upload","cancel","subscribe","aborted","protocol","ERR_BAD_REQUEST","send","bind","Axios","mergeConfig","axios","createInstance","defaultConfig","context","extend","instanceConfig","CancelToken","isCancel","VERSION","toFormData","Cancel","promises","spread","isAxiosError","executor","resolvePromise","promise","_listeners","onfulfilled","_resolve","reason","throwIfRequested","listener","ERR_CANCELED","inherits","__CANCEL__","InterceptorManager","dispatchRequest","validator","validators","defaults","configOrUrl","assertOptions","silentJSONParsing","boolean","forcedJSONParsing","requestInterceptorChain","synchronousRequestInterceptors","interceptor","runWhen","synchronous","unshift","fulfilled","rejected","responseInterceptorChain","chain","concat","newConfig","onFulfilled","onRejected","getUri","generateHTTPMethod","isForm","toJSON","description","number","fileName","lineNumber","columnNumber","stack","descriptors","from","customProps","axiosError","toFlatObject","handlers","eject","isAbsoluteURL","combineURLs","requestedURL","transformData","throwIfCancellationRequested","transformRequest","merge","common","adapter","transformResponse","config1","config2","getMergedValue","target","isPlainObject","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","configValue","validateStatus","ERR_BAD_RESPONSE","floor","fns","normalizeHeaderName","DEFAULT_CONTENT_TYPE","setContentTypeIfUnset","process","isArrayBuffer","isBuffer","isStream","isFile","isBlob","isArrayBufferView","buffer","isURLSearchParams","isFileList","isObjectPayload","isObject","contentType","_FormData","env","FormData","rawValue","parser","encoder","isString","trim","stringifySafely","strictJSONParsing","maxContentLength","maxBodyLength","thisArg","encode","serializedParams","parts","v","isDate","toISOString","hashmarkIndex","relativeURL","write","expires","path","domain","secure","cookie","isNumber","Date","toGMTString","decodeURIComponent","remove","now","payload","originURL","msie","navigator","userAgent","urlParsingNode","resolveURL","setAttribute","host","search","hash","hostname","port","pathname","charAt","requestURL","parsed","normalizedName","ignoreDuplicateOf","line","substr","exec","callback","arr","formData","convertValue","isTypedArray","Blob","Buffer","build","parentKey","fullKey","endsWith","toArray","el","append","pop","thing","deprecatedWarnings","formatMessage","opt","desc","opts","ERR_DEPRECATED","schema","allowUnknown","ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","kindOf","str","kindOfTest","getPrototypeOf","isFunction","TypedArray","Uint8Array","pattern","pipe","product","assignValue","stripBOM","charCodeAt","superConstructor","sourceObj","destObj","merged","getOwnPropertyNames","searchString","position","lastIndex","clock","Component","_class","_temp","ATTRIBUTE_NAMES","TAG_NAMES","BASE","BODY","HEAD","HTML","LINK","META","NOSCRIPT","SCRIPT","STYLE","TITLE","TAG_PROPERTIES","REACT_TAG_MAP","accesskey","charset","class","contenteditable","contextmenu","itemprop","tabindex","HELMET_PROPS","HTML_TAG_MAP","SELF_CLOSING_TAGS","HELMET_ATTRIBUTE","_typeof","Symbol","iterator","classCallCheck","Constructor","createClass","descriptor","protoProps","staticProps","_extends","objectWithoutProperties","possibleConstructorReturn","ReferenceError","encodeSpecialCharacters","getTitleFromPropsList","propsList","innermostTitle","getInnermostProperty","innermostTemplate","innermostDefaultTitle","getOnChangeClientState","getAttributesFromPropsList","tagType","tagAttrs","current","getBaseTagFromPropsList","primaryAttributes","innermostBaseTag","lowerCaseAttributeKey","getTagsFromPropsList","tagName","approvedSeenTags","approvedTags","instanceTags","instanceSeenTags","primaryAttributeKey","attributeKey","tagUnion","property","rafPolyfill","currentTime","cafPolyfill","requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","g","cancelAnimationFrame","webkitCancelAnimationFrame","mozCancelAnimationFrame","msg","_helmetCallback","commitTagChanges","newState","baseTag","bodyAttributes","htmlAttributes","linkTags","metaTags","noscriptTags","onChangeClientState","scriptTags","styleTags","title","titleAttributes","updateAttributes","updateTitle","tagUpdates","updateTags","addedTags","removedTags","_tagUpdates$tagType","newTags","oldTags","flattenArray","possibleArray","attributes","elementTag","helmetAttributeString","getAttribute","helmetAttributes","attributesToRemove","attributeKeys","attribute","indexToSave","_i","removeAttribute","tags","headElement","head","querySelector","tagNodes","querySelectorAll","indexToDelete","newElement","innerHTML","styleSheet","cssText","createTextNode","some","existingTag","isEqualNode","parentNode","removeChild","generateElementAttributesAsString","attr","convertElementAttributestoReactProps","initProps","getMethodsForTag","toComponent","_initProps","attributeString","flattenedTitle","generateTitleAsString","_mappedTag","mappedTag","mappedAttribute","dangerouslySetInnerHTML","__html","generateTagsAsReactComponent","attributeHtml","string","tagContent","isSelfClosing","generateTagsAsString","_ref","_ref$title","base","meta","noscript","style","HelmetSideEffects","defer","HelmetExport","_React$Component","HelmetWrapper","setPrototypeOf","shouldComponentUpdate","nextProps","mapNestedChildrenToProps","child","nestedChildren","flattenArrayTypeChildren","_babelHelpers$extends","arrayTypeChildren","newChildProps","mapObjectTypeChildren","_ref2","_babelHelpers$extends2","_babelHelpers$extends3","newProps","mapArrayTypeChildrenToProps","newFlattenedProps","arrayChildName","_babelHelpers$extends4","warnOnInvalidChildren","mapChildrenToProps","children","_this2","_child$props","initAttributes","convertReactPropstoHtmlAttributes","_props","propTypes","defaultTitle","titleTemplate","defaultProps","mappedState","renderStatic","GlobalStyle","createGlobalStyle","theme","colors","beige","fonts","circularBook","EFCircularWebBookWoff2","EFCircularWebBookWoff","circularBookItalic","EFCircularWebBookItalicWoff2","EFCircularWebBookItalicWoff","circularMedium","EFCircularWebMediumWoff2","EFCircularWebMediumWoff","circularMediumItalic","EFCircularWebMediumItalicWoff2","EFCircularWebMediumItalicWoff","circularBold","EFCircularWebBoldWoff2","EFCircularWebBoldWoff","bembo","BemboWoff2","BemboWoff","darkBlue","breakPoints","tablet","darkBlueLighter","variables","white","darkBlue20","darkBlue40","darkBlue60","darkBlue80","lightBlue","lightGrey","grey","silver","black","widest","wide","desktop","mobile","navbarBreak","efCircularMedium","maxWidth","mixins","container","getUrl","cached_url","substring","correctUrl","addTrailingSlash","input","StyledButton","variant","mini","StyledLink","ButtonCmp","label","icon","onClick","className","_","handleHref","item","DynamicComponent","StyledEventSection","StyledContainer","StyledTitle","StyledEventCards","column_count","EventSectionCmp","event_cards","button","sbImageService","imageSrc","resize","quality","format","isSvg","imgUrl","StyledEventCardLink","StyledEventCard","StyledImage","StyledCardTitle","EventCardCmp","image_mobile","alt","loading","StyledIcon","StyledLabel","StyledFooter","StyledFooterContainer","StyledContactStripWrapper","StyledContactStrip","StyledContactTitle","StyledContactButtons","StyledContactButton","StyledFooterEdge","StyledFooterLeft","withConfig","StyledFooterCenter","StyledColumn","StyledInput","StyledInputIconContainer","StyledInputIcon","StyledIcons","StyledLinks","StyledContactUsInfo","StyledFindUsButtonWrapper","StyledSubscribe","StyledLogo","StyledLegal","StyledRichText","RichTextWrapper","copy","_copy$content","_i$content","_i$content2","m","marks_string","_i$attrs$body","IconCmp","FooterCmp","social_media_icons","contact_number","contact_email","address_info","find_us_button","logo","legal","RichTextCmp","StyledSection","StyledHeader","span_width","StyledContent","StyledText","StyledSubHeader","image_width","mobile_full_bleed","StyledButtons","StyledMCFormWrapper","StyledMCForm","StyledMCFormInputWrapper","StyledMCFormInput","StyledMCFormSelect","StyledMCFormInputLabel","StyledMCFormDateFieldsWrapper","StyledMCFormCheckboxWrapper","StyledMCFormCheckbox","StyledMCFormInfoWrapper","StyledMCFormButton","StyledMCFormLineBreak","FormCmp","form_url","include_fname","fname_label","fname_placeholder","include_lname","lname_label","lname_placeholder","email_label","email_placeholder","include_phone","phone_label","phone_placeholder","include_company","company_label","company_placeholder","include_start","start_label","start_d_placeholder","start_m_placeholder","start_y_placeholder","include_end","end_label","end_d_placeholder","end_m_placeholder","end_y_placeholder","include_guest","guest_label","guest_placeholder","include_referral","referral_label","referral_placeholder","dropdown_options","include_info","wide_info","info_label","info_placeholder","consent_message","submit_label","line_break","noValidate","htmlFor","defaultValue","placeholder","required","maxLength","disabled","option","left","tabIndex","StyledGallery","StyledGalleryContainer","StyledGalleryItems","StyledActiveImage","StyledSlider","_slicedToArray","_s","_e","_arr","_n","_d","unsupportedIterableToArray","_objectWithoutProperties","excluded","sourceKeys","sourceSymbolKeys","_classCallCheck","_defineProperties","_createClass","ssrDocument","activeElement","blur","nodeName","createEvent","initEvent","childNodes","createElementNS","importNode","origin","doc","ssrWindow","history","replaceState","pushState","go","back","CustomEvent","getComputedStyle","getPropertyValue","Image","screen","matchMedia","win","_assertThisInitialized","_possibleConstructorReturn","_getPrototypeOf","_isNativeReflectConstruct","Reflect","construct","sham","Proxy","Boolean","_construct","Parent","Class","Function","_wrapNativeSuper","_cache","Wrapper","_createSuper","Derived","hasNativeReflectConstruct","Super","NewTarget","Dom7","_Array","_inherits","_super","items","_this","proto","arrayFlat","res","arrayFilter","selector","_html","toCreate","tempParent","qsa","nodeType","uniqueArray","arrayUnique","noTrigger","shortcut","_len14","_key14","trigger","Methods","addClass","_len","classes","_key","classNames","_el$classList","classList","add","removeClass","_len2","_key2","_el$classList2","hasClass","_len4","_key4","contains","toggleClass","_len3","_key3","toggle","attrName","removeAttr","transform","transition","duration","transitionDuration","_len5","_key5","eventType","targetSelector","capture","handleLiveEvent","eventData","dom7EventData","is","_parents","parents","k","handleEvent","j","events","_event","dom7LiveListeners","proxyListener","dom7Listeners","off","_len6","_key6","handler","dom7proxy","_len9","_key9","evt","detail","bubbles","cancelable","dataIndex","dispatchEvent","transitionEnd","dom","fireCallBack","outerWidth","includeMargins","_styles","styles","offsetWidth","parseFloat","outerHeight","_styles2","offsetHeight","offset","box","getBoundingClientRect","clientTop","clientLeft","_scrollTop","scrollY","scrollTop","_scrollLeft","scrollX","scrollLeft","top","css","_prop","each","textContent","compareWith","matches","webkitMatchesSelector","msMatchesSelector","previousSibling","eq","returnIndex","newChild","tempDiv","firstChild","prepend","insertBefore","nextElementSibling","nextAll","nextEls","prev","previousElementSibling","prevAll","prevEls","_prev","_parent","closest","find","foundElements","found","methodName","support","deviceCached","browser","delay","axis","matrix","curTransform","transformMatrix","curStyle","currentStyle","WebKitCSSMatrix","webkitTransform","MozTransform","OTransform","MsTransform","msTransform","m41","m42","isNode","node","HTMLElement","to","noExtend","nextSource","keysArray","nextIndex","len","nextKey","getOwnPropertyDescriptor","__swiper__","varName","varValue","setProperty","animateCSSModeScroll","time","swiper","targetPosition","side","startPosition","translate","startTime","speed","wrapperEl","scrollSnapType","cssModeFrameID","dir","isOutOfBound","animate","getTime","progress","max","easeProgress","cos","PI","currentPosition","scrollTo","overflow","getSupport","smoothScroll","documentElement","touch","DocumentTouch","passiveListener","supportsPassive","gestures","calcSupport","getDevice","overrides","platform","ua","device","ios","android","screenWidth","width","screenHeight","height","ipad","ipod","iphone","windows","macos","os","calcDevice","getBrowser","isSafari","isWebView","calcBrowser","priority","eventsListeners","destroyed","once","onceHandler","__emitterProxy","onAny","eventsAnyListeners","offAny","eventHandler","emit","eventsArray","updateSize","$el","clientWidth","clientHeight","isHorizontal","isVertical","Number","isNaN","updateSlides","getDirectionLabel","getDirectionPropertyValue","$wrapperEl","swiperSize","rtl","rtlTranslate","wrongRTL","isVirtual","virtual","enabled","previousSlidesLength","slides","slideClass","slidesLength","snapGrid","slidesGrid","slidesSizesGrid","offsetBefore","slidesOffsetBefore","offsetAfter","slidesOffsetAfter","previousSnapGridLength","previousSlidesGridLength","spaceBetween","slidePosition","prevSlideSize","virtualSize","marginLeft","marginBottom","marginTop","marginRight","centeredSlides","cssMode","slideSize","gridEnabled","grid","rows","initSlides","shouldResetSlideSize","slidesPerView","breakpoints","slide","updateSlide","slideStyles","currentTransform","currentWebKitTransform","roundLengths","paddingLeft","paddingRight","boxSizing","_slide$","swiperSlideSize","slidesPerGroup","slidesPerGroupSkip","effect","setWrapperSize","updateWrapperSize","newSlidesGrid","slidesGridItem","slideIndex","centeredSlidesBounds","allSlidesSize","slideSizeValue","maxSnap","snap","centerInsufficientSlides","_allSlidesSize","allSlidesOffset","snapIndex","addToSnapGrid","addToSlidesGrid","watchOverflow","checkOverflow","watchSlidesProgress","updateSlidesOffset","backFaceHiddenClass","containerModifierClass","hasClassBackfaceClassAdded","maxBackfaceHiddenSlides","updateAutoHeight","activeSlides","newHeight","setTransition","getSlideByIndex","visibleSlides","activeIndex","swiperSlideOffset","offsetLeft","offsetTop","updateSlidesProgress","offsetCenter","slideVisibleClass","visibleSlidesIndexes","slideOffset","slideProgress","minTranslate","originalSlideProgress","slideBefore","slideAfter","originalProgress","updateProgress","multiplier","translatesDiff","maxTranslate","isBeginning","isEnd","wasBeginning","wasEnd","autoHeight","updateSlidesClasses","activeSlide","realIndex","slideActiveClass","slideNextClass","slidePrevClass","slideDuplicateActiveClass","slideDuplicateNextClass","slideDuplicatePrevClass","loop","slideDuplicateClass","nextSlide","prevSlide","emitSlidesClasses","updateActiveIndex","newActiveIndex","previousIndex","previousRealIndex","previousSnapIndex","normalizeSlideIndex","skip","initialized","runCallbacksOnInit","updateClickedSlide","slideFound","clickedSlide","clickedIndex","slideToClickedSlide","getTranslate","virtualTranslate","currentTranslate","setTranslate","byController","x","y","previousTranslate","translateTo","runCallbacks","translateBounds","internal","animating","preventInteractionOnTransition","newTranslate","isH","_wrapperEl$scrollTo","onTranslateToWrapperTransitionEnd","transitionEmit","direction","step","slideTo","initial","indexAsNumber","isFinite","initialSlide","normalizedTranslate","normalizedGrid","normalizedGridNext","allowSlideNext","allowSlidePrev","transitionStart","_immediateVirtual","_swiperImmediateVirtual","onSlideToWrapperTransitionEnd","slideToLoop","newIndex","loopedSlides","slideNext","perGroup","slidesPerGroupAuto","slidesPerViewDynamic","increment","loopPreventsSlide","loopFix","_clientLeft","slidePrev","normalize","prevSnapIndex","normalizedSnapGrid","prevSnap","prevIndex","slideReset","slideToClosest","threshold","currentSnap","slideToIndex","loopCreate","$selector","loopFillGroupWithBlank","blankSlidesNum","blankNode","slideBlankClass","loopAdditionalSlides","loopedSlidesLimit","prependSlides","appendSlides","_i2","cloneNode","_i3","diff","loopDestroy","onTouchStart","touchEventsData","touches","originalEvent","$targetEl","touchEventsTarget","isTouchEvent","which","isTouched","isMoved","noSwipingClass","shadowRoot","noSwipingSelector","isTargetShadow","noSwiping","__closestFrom","assignedSlot","getRootNode","closestElement","allowClick","swipeHandler","currentX","targetTouches","pageX","currentY","pageY","startX","startY","edgeSwipeDetection","iOSEdgeSwipeDetection","edgeSwipeThreshold","iOSEdgeSwipeThreshold","innerWidth","preventDefault","allowTouchCallbacks","isScrolling","startMoving","touchStartTime","swipeDirection","allowThresholdMove","focusableElements","shouldPreventDefault","allowTouchMove","touchStartPreventDefault","touchStartForcePreventDefault","isContentEditable","freeMode","onTouchMove","targetTouch","changedTouches","preventedByNestedSwiper","touchReleaseOnEdges","diffX","diffY","sqrt","pow","touchAngle","atan2","touchMoveStopPropagation","nested","stopPropagation","startTranslate","allowMomentumBounce","grabCursor","setGrabCursor","touchRatio","disableParentSwiper","resistanceRatio","resistance","followFinger","onTouchEnd","currentPos","touchEndTime","timeDiff","pathTree","composedPath","lastClickTime","stopIndex","groupSize","_increment","rewindFirstIndex","rewindLastIndex","ratio","longSwipesMs","longSwipes","longSwipesRatio","shortSwipes","navigation","nextEl","prevEl","onResize","setBreakpoint","autoplay","running","paused","run","preventClicks","preventClicksPropagation","stopImmediatePropagation","onScroll","dummyEventAttached","dummyEventListener","touchEvents","domMethod","swiperMethod","start","passiveListeners","passive","move","end","updateOnWindowResize","attachEvents","detachEvents","isGridEnabled","_swiper$loopedSlides","breakpoint","getBreakpoint","breakpointsBase","currentBreakpoint","breakpointParams","originalParams","wasMultiRow","isMultiRow","wasEnabled","emitContainerClasses","fill","wasModuleEnabled","isModuleEnabled","disable","enable","directionChanged","needsReLoop","changeDirection","isEnabled","containerEl","currentHeight","innerHeight","points","point","minRatio","sort","_points$i","addClasses","prefix","resultClasses","suffixes","removeClasses","init","resizeObserver","createElements","simulateTouch","uniqueNavElements","preloadImages","updateOnImagesReady","wrapperClass","_emitClasses","moduleExtendParams","allModulesParams","moduleParamName","moduleParams","auto","prototypes","eventsEmitter","update","moving","isLocked","cursor","unsetGrabCursor","wasLocked","lastSlideIndex","lastSlideRightEdge","images","loadImage","imageEl","srcset","sizes","checkForComplete","onReady","complete","imagesLoaded","imagesToLoad","currentSrc","extendedDefaults","Swiper","swipers","newParams","_swiper$modules","modules","__modules__","mod","extendParams","swiperParams","passedParams","eventName","$","velocity","touchEventsTouch","touchEventsDesktop","clickTimeout","velocities","cls","slideEl","updates","getSlideClasses","view","exact","spv","breakLoop","translateValue","newDirection","needUpdate","currentDirection","mounted","getWrapperSelector","getWrapper","wrapper","mount","deleteInstance","cleanStyles","object","newDefaults","installModule","prototypeGroup","protoMethod","observer","animationFrame","resizeHandler","orientationChangeHandler","ResizeObserver","newWidth","contentBoxSize","contentRect","inlineSize","blockSize","observe","unobserve","observers","attach","MutationObserver","WebkitMutationObserver","mutations","observerUpdate","childList","characterData","observeParents","observeSlideChildren","containerParents","disconnect","Navigation","getEl","toggleEl","disabledClass","lockClass","_swiper$navigation","$nextEl","$prevEl","onPrevClick","onNextClick","checkProps","element","destroy","_swiper$navigation2","hideOnClick","hiddenClass","navigationDisabledClass","_swiper$navigation3","_swiper$navigation4","targetEl","pagination","clickable","isHidden","Autoplay","$activeSlideEl","autoplayResult","reverseDirection","stopOnLastSlide","stop","pause","waitForTransition","onTransitionEnd","onVisibilityChange","visibilityState","onMouseEnter","disableOnInteraction","onMouseLeave","pauseOnMouseEnter","Thumb","thumbs","multipleActiveThumbs","autoScrollOffset","slideThumbActiveClass","thumbsContainerClass","swiperCreated","onThumbClick","thumbsSwiper","currentIndex","thumbsParams","SwiperClass","thumbsSwiperParams","thumbsToActivate","thumbActiveClass","useOffset","newThumbsIndex","currentThumbsIndex","prevThumbsIndex","nextThumbsIndex","momentum","momentumRatio","momentumBounce","momentumBounceRatio","momentumVelocityRatio","sticky","minimumVelocity","lastMoveEvent","velocityEvent","distance","momentumDuration","momentumDistance","newPosition","afterBouncePosition","needsLoopFix","doBounce","bounceAmount","moveDistance","currentSlideSize","effectParams","$slideEl","transformEl","EffectFade","fadeEffect","crossFade","requireUpdateOnVirtual","overwriteParams","perspective","recreateShadows","getEffectParams","overwriteParamsResult","slideShadows","tx","ty","slideOpacity","opacity","allSlides","eventTriggered","triggerEvents","needsNavigation","needsPagination","needsScrollbar","scrollbar","uniqueClasses","unique","paramsList","calcLoopedSlides","slidesPerViewParams","breakpointOnlyParams","processChildren","getChildren","slots","slot","foundSlides","updateSwiper","needThumbsInit","needControllerInit","needPaginationInit","needScrollbarInit","needNavigationInit","changedParams","scrollbarEl","paginationEl","updateParams","currentParams","controller","control","newValue","lazy","load","useIsomorphicLayoutEffect","deps","useLayoutEffect","SwiperSlideContext","createContext","SwiperContext","_excluded","forwardRef","externalElRef","_ref$tag","Tag","_ref$wrapperTag","wrapperTag","WrapperTag","onSwiper","rest","eventsAssigned","_useState2","containerClasses","setContainerClasses","_useState4","virtualData","setVirtualData","_useState6","breakpointChanged","setBreakpointChanged","initializedRef","useRef","swiperElRef","swiperRef","oldPassedParamsRef","oldSlides","nextElRef","prevElRef","paginationElRef","scrollbarElRef","_getParams","splitEvents","allowedParams","plainObj","getParams","restProps","_getChildren","onBeforeBreakpoint","_containerClasses","initSwiper","extendWith","renderExternal","renderExternalUpdate","mountSwiper","oldParams","oldChildren","getKey","addKey","oldChildrenKeys","childrenKeys","newKeys","oldKeys","newKey","oldKey","getChangedParams","parallax","ref","Provider","renderVirtual","modifiedSlides","duplicateSlide","blankSlide","renderLoop","SwiperSlide","externalRef","_ref$className","zoom","virtualIndex","slideElRef","slideClasses","setSlideClasses","updateClasses","slideData","isActive","isVisible","isDuplicate","isPrev","isNext","renderChildren","GalleryCmp","gallery_items","setThumbsSwiper","FreeMode","Thumbs","StyledGalleryItem","GalleryItemCmp","GlobalReference","hero_nav","sticky_nav","StaticQuery","query","cmp","allStoryblokEntry","edges","reference","block","StyledHero","slider_width","no_image","SliderCmp","autoPlaySettings","slider_items","transitionSpeed","HeroCmp","StyledHeroWrapper","StyledDarken","nav_height","StyledLogoText","StyledTagline","StyledNavigation","HeroHomeCmp","logo_text","tagline","navRef","heroRef","stickyNav","setStickyNav","navHeight","setNavHeight","bottom","StyledHeroTitleWrapper","StyledHeroTitle","HeroTitleCmp","headingRef","spanWidth","setSpanWidth","StyledImageDesktop","mobile_exists","StyledImageMobile","StyledVideoDesktop","StyledVideoMobile","ImageCmp","image_resize","image_quality","image_mobile_resize","image_mobile_quality","controls","autoPlay","muted","focus","LinkCmp","MetaDataCmp","meta_title","meta_description","og_title","og_description","og_image","og_image_alt","og_type","og_site_name","twitter_card","twitter_image","twitter_site","twitter_creator","structured_data","no_index","canonical_link","og_url","Helmet","rel","formattedPath","formattedCanonical","StyledLayout","isHomepage","StyledBody","StyledMobileNavigation","backgroundColour","show_menu","StyledMobileNavigationContainer","StyledMobileNavigationItems","StyledNavigationItem","StyledLogoWrapper","StyledNavigationItems","StyledCloseIcon","StyledBurgerIcon","NavigationCmp","showMenu","setShowMenu","useLocation","handleLogoClick","useCallback","scrollIntoView","navigate","StyledNewHero","isTaglineBottom","StyleLogoWrapper","StyleLogoImage","NewHeroHomeCmp","logoText","logoImage","scrollHandler","SectionCmp","title_layout","_image$0$image_resize","_image$0$image_resize2","StyledSectionCards","heading_underline","StyledSectionCardsContainer","column","column_tablet","column_mobile","SectionCardsCmp","header","cards","StyledSectionCardsItem","card_type","StyledInformation","StyledDate","StyledBookingInfo","StyledDescription","StyledPrices","SectionCardsItemCmp","date","booking_details","room_details","price","capacity_type","SectionCardsItem","StyledSocialIconLink","StyledSocialIcon","SocialIconCmp","StyledTestimonial","StyledTestimonialContainer","StyledTestimonialItem","TestimonialCmp","testimonials","StyledTestimonialItemContainer","StyledCopy","StyledBorder","StyledName","TestimonialItemCmp","StyledWidgetDmn","StyledWidgetDmnContainer","WidgetDmnCmp","widget","useExternalScripts","Components","MetaData","Link","Button","footer","Footer","HeroHome","NewHeroHome","section","Section","EventSection","EventCard","gallery","Gallery","GalleryItem","testimonial","Testimonial","TestimonialItem","Icon","slider","Slider","hero","Hero","parsedResult","edge","parseQueryResult","form","storyblokEditable","keywords","alternates","getHrefLang","langPath","getLang","getAltLink","siteUrl","siteMetadata","site","seo","metaDescription","lang","author","googleSiteVerification","idx","hrefLang","LayoutCmp","Seo","slug","full_slug","meta_data","ThemeProvider","_regeneratorRuntime","__esModule","Op","hasOwn","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","Context","_invoke","doneResult","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","NativeIteratorPrototype","Gp","defineIteratorMethods","AsyncIterator","PromiseImpl","invoke","__await","unwrapped","previousPromise","callInvokeWithMethodAndArg","resultName","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isGeneratorFunction","genFun","ctor","mark","awrap","iter","skipTempReset","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","finish","thrown","delegateYield","runtime","regeneratorRuntime","accidentalStrictMode","globalThis"],"sourceRoot":""}