{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./app/components/backdrop/index.scss","webpack:///./app/components/backdrop/index.ts","webpack:///./app/components/collapse.ts","webpack:///./app/components/cookie-banner.ts","webpack:///./app/components/link-to-accordion.ts","webpack:///./app/components/mixitup.ts","webpack:///./app/components/modal.ts","webpack:///./app/components/swiper.ts","webpack:///./app/components/swipper-minimalistic.ts","webpack:///./app/components/view.ts","webpack:///./app/main.scss","webpack:///./app/main.ts","webpack:///./node_modules/@opten/collapse/initializer/index.ts","webpack:///./node_modules/@opten/compiler/factory/index.ts","webpack:///./node_modules/@opten/compiler/index.ts","webpack:///./node_modules/@opten/compiler/metadata/component.ts","webpack:///./node_modules/@opten/compiler/reflector/index.ts","webpack:///./node_modules/@opten/compiler/resolver/index.ts","webpack:///./node_modules/@opten/compiler/util/decorators.ts","webpack:///./node_modules/@opten/compiler/util/factories.ts","webpack:///./node_modules/@opten/compiler/util/type.ts","webpack:///./node_modules/@opten/cookie/get/index.ts","webpack:///./node_modules/@opten/cookie/set/index.ts","webpack:///./node_modules/@opten/dom/add-class/index.ts","webpack:///./node_modules/@opten/dom/as-html-element/index.ts","webpack:///./node_modules/@opten/dom/change-class/index.ts","webpack:///./node_modules/@opten/dom/class-regex/index.ts","webpack:///./node_modules/@opten/dom/get-class/index.ts","webpack:///./node_modules/@opten/dom/get-selector-element-from-element/index.ts","webpack:///./node_modules/@opten/dom/get-selector-from-element/index.ts","webpack:///./node_modules/@opten/dom/has-class/index.ts","webpack:///./node_modules/@opten/dom/is-html-element/index.ts","webpack:///./node_modules/@opten/dom/remove-class/index.ts","webpack:///./node_modules/@opten/events/dispatch-custom-event/index.ts","webpack:///./node_modules/@opten/events/event-namespace-factory/index.ts","webpack:///./node_modules/@opten/reactive/debounce/index.ts","webpack:///./node_modules/@opten/transition/add-transition-end-listener/index.ts","webpack:///./node_modules/@opten/transition/get-transition-end-event-name/index.ts"],"names":["Backdrop","clickCb","element","document","createElement","body","appendChild","addEventListener","callCurrentClickCb","currentClickCb","change","add","init","CollapseComponent","className","observe","collapse","Collapse","backdropAttr","getAttribute","show","hide","input","querySelector","setTimeout","focus","syncContent","CookieBanner","style","display","setSpace","window","e","Array","from","getElementsByClassName","forEach","btn","preventDefault","remove","Infinity","removeAttribute","setAttribute","offsetHeight","OpenAccordionByLink","regex","currentUrl","location","href","regexUrl","exec","accordionIdAbsolute","accordionId","substr","querySelectorAll","o","id","click","MixitupComponent","itemSelector","filterSelector","resetFilterSelector","initialSort","defaultSort","sortSelector","sortParentSelector","activeClass","mixitupActiveClass","items","filters","resets","sorter","sorterParents","selects","search","groupsState","deserializeHash","mixer","mixitup","multifilter","enable","classNames","selectors","target","control","callbacks","onMixEnd","state","setHash","controls","toggleLogic","live","load","sort","animation","effects","filterMixerByGroupsState","onHashChange","getHashFromLocalStorage","resetFilter","activateSorter","value","searchstring","destroy","searchValue","length","toLowerCase","trim","filterByString","filter","hash","replace","obj","groups","split","group","pair","groupName","output","key","values","join","category","getFilterGroupSelectors","map","getValueFromSelector","status","year","getState","activeSort","sortString","selector","activeFilter","getGroupsState","newHash","serializeGroupsState","activeHash","history","pushState","title","pathname","localStorage","setItem","activateSelect","animate","setFilterGroupSelectors","getSelectorFromValue","then","parseFilterGroups","onhashchange","projectFilter","getItem","removeItem","parentElement","parent","isEqualNode","selectedIndex","Modal","modal","getElementById","indicator","close","openModal","closeModal","iframes","iframe","iframeSrc","src","swiper","SwiperComponent","Swiper","cssMode","preloadImages","lazy","hashNavigation","replaceState","watchState","speed","slidesPerView","loop","pagination","el","clickable","type","navigation","nextEl","prevEl","keyboard","enabled","onlyInViewport","slideTo","on","activeIndex","index","SwiperMinimalisticComponent","autoplay","delay","ViewComponent","deactivateAllElements","activateElement","targetId","stringCollapse","triggers","options","animateProp","collapsingClass","componentClass","showClass","showClassDesktop","desktopWidth","transitionDuration","isHideable","closeSiblings","useShowClassDesktop","dataParentSelector","dataTargetSelector","dataToggleSelector","hrefSelector","isTransitioning","eventNamespaceFn","handleClick","event","trigger","currentTarget","tagName","data","getInstance","toggle","outerWidth","isOpen","actives","active","anyTransitioning","collapseInstance","_handleShow","_handleClose","toggles","push","_addAriaAndCollapsedClass","collapseElement","scrollHeight","offsetWidth","toString","create","console","error","reflector","Reflector","resolver","Resolver","compiler","Compiler","factory","components","rootElement","observables","Map","componentType","component","resolve","node","compile","set","Error","name","size","MutationObserver","mutations","componentInitializer","mutation","addedNodes","comps","c","childList","subtree","componentCache","constructor","has","get","Object","keys","queries","propName","query","targetNode","descendants","nodes","cache","reduce","acc","val","concat","f","first","onInit","Component","createComponent","typeOrFunc","parentCtor","getParentCtor","ownAnnotations","_ownAnnotations","parentAnnotations","annotations","propMetadata","parentPropMetadata","ownPropMetadata","_ownPropMetadata","decorators","hasOwnProperty","ANNOTATIONS","PROP_METADATA","ctor","parentProto","getPrototypeOf","prototype","QUERY_METADATA_IDENTIFIERS","typeMetadata","metadata","findLast","metadataName","propertyMetadata","_mergeWithPropertyMetadata","a","some","i","_merge","mergedQueries","res","propertyName","_getQueryMetadata","q","read","arr","condition","makeDecorator","props","parentClass","chainFn","typeFn","metaCtor","makeMetadataCtor","DecoratorFactory","args","call","annotationInstance","typeDecorator","cls","defineProperty","makePropDecorator","PropDecoratorFactory","apply","decoratorInstance","PropDecorator","metaName","meta","unshift","makeMetadataFactory","isTypeOf","Type","Function","isType","v","getCookie","decodeURIComponent","cookie","RegExp","encodeURIComponent","setCookie","end","path","domain","secure","test","expires","Number","String","Date","toUTCString","keyStr","valueStr","domainStr","pathStr","secureStr","addClass","asHTMLElement","changeClass","classRegexCache","classRegex","getClass","getSelectorElementFromElement","attribute","fallbackHref","indexOf","getSelectorFromElement","hasClass","isHTMLElement","HTMLElement","nodeType","nodeName","removeClass","removeClassFactory","removeClassOnCollection","elements","dispatchCustomEvent","eventName","CustomEvent","dispatchEvent","eventNamespaceFactory","namespace","debounce","func","wait","immediate","timeout","result","debounceFn","context","arguments","later","callNow","clearTimeout","transitionEndEventName","addTransitionEndListener","callback","fallbackDuration","called","listener","removeEventListener","getTransitionEndEventName","transitions","WebkitTransition","transition","undefined"],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;AClFA;AACA,kBAAkB,mD;;;;;;;;;;;;;;;;;;;ACDlB;;AACA;;AAEA;;;;;;;;IAEaA,Q;;;;;;;yBACAC,O,EAAqB;AAChC,UAAID,QAAQ,CAACE,OAAT,IAAoB,IAAxB,EAA8B;AAC7BF,gBAAQ,CAACE,OAAT,GAAmBC,QAAQ,CAACC,aAAT,CAAuB,KAAvB,CAAnB;AACA,gCAASJ,QAAQ,CAACE,OAAlB,EAA2B,aAA3B;AACA,gCAASF,QAAQ,CAACE,OAAlB,EAA2B,YAA3B;AACAC,gBAAQ,CAACE,IAAT,CAAcC,WAAd,CAA0BN,QAAQ,CAACE,OAAnC;AAEAF,gBAAQ,CAACE,OAAT,CAAiBK,gBAAjB,CAAkC,OAAlC,EAA2C;AAAA,iBAC1CP,QAAQ,CAACQ,kBAAT,EAD0C;AAAA,SAA3C;AAGA;;AACDR,cAAQ,CAACS,cAAT,GAA0BR,OAA1B;AACA;;;yBAEWA,O,EAAqB;AAChCD,cAAQ,CAACU,MAAT,CAAgB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GAJD,MAIO;AACNva,WAAO,CAACK,gBAAR,CAAyB+Z,sBAAzB,EAAiDK,QAAjD,EADM,CAEN;;AACA,QAAIF,gBAAJ,EAAsB;AACrBjZ,gBAAU,CAAC,YAAM;AAChB,YAAI,CAACkZ,MAAL,EAAa;AACZ,wDAAoBxa,OAApB,EAA6Boa,sBAA7B;AACA;AACD,OAJS,EAIPG,gBAJO,CAAV;AAKA;AACD;AACD,C;;;;;;;;;;;;;;;;;;;ACtCM,SAASI,yBAAT,GAAqD;AAC3D,MAAM3a,OAAO,GAAGC,QAAQ,CAACC,aAAT,CAAuB,GAAvB,CAAhB;AACA,MAAM0a,WAAW,GAAG;AACnBC,oBAAgB,EAAE,qBADC;AAEnBC,cAAU,EAAE;AAFO,GAApB;;AAKA,OAAK,IAAMA,UAAX,IAAyBF,WAAzB,EAAsC;AACrC,QAAI5a,OAAO,CAAC0B,KAAR,CAAcoZ,UAAd,MAA8BC,SAAlC,EAA6C;AAC5C,aAAOH,WAAW,CAACE,UAAD,CAAlB;AACA;AACD;;AAED,SAAO,KAAP;AACA,C","file":"Scripts/main.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./app/main.ts\");\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"c-backdrop\":\"c-backdrop\",\"is-active\":\"is-active\"};","import { addClass } from '@opten/dom/add-class';\r\nimport { changeClass } from '@opten/dom/change-class';\r\n\r\nimport './index.scss';\r\n\r\nexport class Backdrop {\r\n\tstatic init(clickCb: () => void) {\r\n\t\tif (Backdrop.element == null) {\r\n\t\t\tBackdrop.element = document.createElement('div');\r\n\t\t\taddClass(Backdrop.element, 'js-backdrop');\r\n\t\t\taddClass(Backdrop.element, 'c-backdrop');\r\n\t\t\tdocument.body.appendChild(Backdrop.element);\r\n\r\n\t\t\tBackdrop.element.addEventListener('click', () =>\r\n\t\t\t\tBackdrop.callCurrentClickCb()\r\n\t\t\t);\r\n\t\t}\r\n\t\tBackdrop.currentClickCb = clickCb;\r\n\t}\r\n\r\n\tstatic show(clickCb: () => void) {\r\n\t\tBackdrop.change(clickCb, true);\r\n\t}\r\n\r\n\tstatic hide(clickCb: () => void = () => null) {\r\n\t\tBackdrop.change(clickCb, false);\r\n\t}\r\n\r\n\tstatic change(clickCb: () => void, add: boolean) {\r\n\t\tthis.init(clickCb);\r\n\t\tchangeClass(Backdrop.element, 'is-active', add);\r\n\t}\r\n\r\n\tprivate static currentClickCb: () => void;\r\n\tprivate static element: HTMLElement = null;\r\n\r\n\tprivate static callCurrentClickCb(): void {\r\n\t\tBackdrop.currentClickCb();\r\n\t}\r\n}\r\n","import { Component } from '@opten/compiler/metadata/component';\r\nimport { Collapse } from '@opten/collapse/initializer';\r\nimport { hasClass } from '@opten/dom/has-class';\r\nimport { addClass } from '@opten/dom/add-class';\r\nimport { removeClass } from '@opten/dom/remove-class';\r\n\r\nimport { Backdrop } from './backdrop';\r\n\r\n@Component({ className: 'js-collapse', observe: true })\r\nexport class CollapseComponent {\r\n\tcollapse: Collapse;\r\n\tconstructor(private element: HTMLElement) {\r\n\t\tthis.collapse = new Collapse(element, {});\r\n\r\n\t\t//backdrop\r\n\t\tconst backdropAttr = this.element.getAttribute('data-backdrop');\r\n\t\tif (backdropAttr != null) {\r\n\t\t\telement.addEventListener('show.opten.collapse', () =>\r\n\t\t\t\tBackdrop.show(() => this.collapse.hide())\r\n\t\t\t);\r\n\t\t\telement.addEventListener('hide.opten.collapse', () =>\r\n\t\t\t\tBackdrop.hide()\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\t// searchbar\r\n\t\tif (this.element.getAttribute('id') === 'searchbar') {\r\n\t\t\tthis.element.addEventListener('show.opten.collapse', () => {\r\n\t\t\t\tconst input = this.element.querySelector('.c-input-field') as HTMLInputElement;\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tinput.focus();\r\n\t\t\t\t}, 1);\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t// navigation\r\n\t\tif (this.element.getAttribute('id') === 'main-navigation') {\r\n\t\t\tthis.element.addEventListener('show.opten.collapse', () => {\r\n\t\t\t\taddClass(document.body, 'nav-open');\r\n\t\t\t});\r\n\t\t\tthis.element.addEventListener('hidden.opten.collapse', () => {\r\n\t\t\t\tremoveClass(document.body, 'nav-open');\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t// newslist - syncing collapse\r\n\t\tif (this.element.getAttribute('data-sync')) {\r\n\t\t\tconst syncContent = this.element.getAttribute('data-sync');\r\n\t\t\tconst element = document.querySelector(syncContent);\r\n\t\t\tthis.element.addEventListener('show.opten.collapse', () => {\r\n\t\t\t\tremoveClass(element, 'd-none');\r\n\t\t\t});\r\n\t\t\tthis.element.addEventListener('hide.opten.collapse', () => {\r\n\t\t\t\taddClass(element, 'd-none');\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n}\r\n","import { Component } from '@opten/compiler/metadata/component';\r\nimport { setCookie } from '@opten/cookie/set';\r\nimport { getCookie } from '@opten/cookie/get';\r\nimport { debounce } from '@opten/reactive/debounce';\r\n\r\n@Component({ className: 'js-cookie-banner' })\r\nexport class CookieBanner {\r\n\tprivate body = document.body;\r\n\r\n\tconstructor(private element: HTMLElement) {\r\n\t\tif (getCookie('cookiesAccepted') !== 'true') {\r\n\t\t\tthis.element.style.display = 'block';\r\n\t\t\tthis.setSpace();\r\n\t\t\twindow.addEventListener('resize', debounce((e) => {\r\n\t\t\t\tthis.setSpace();\r\n\t\t\t}, 100));\r\n\t\t\tArray.from(document.getElementsByClassName('js-cookie-banner-accept'))\r\n\t\t\t\t.forEach((btn) => btn.addEventListener('click', (e) => {\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\tthis.remove();\r\n\t\t\t\t}));\r\n\t\t} else {\r\n\t\t\tthis.hide();\r\n\t\t}\r\n\t}\r\n\r\n\tprivate remove() {\r\n\t\tsetCookie('cookiesAccepted', 'true', Infinity, '/');\r\n\t\tthis.hide();\r\n\t}\r\n\r\n\tprivate hide() {\r\n\t\tthis.element.style.display = 'none';\r\n\t\tthis.body.removeAttribute('style');\r\n\t}\r\n\r\n\tprivate setSpace() {\r\n\t\tthis.body.setAttribute('style', 'margin-bottom: ' + this.element.offsetHeight + 'px;');\r\n\t}\r\n}\r\n","import { Component } from '@opten/compiler/metadata/component';\r\n\r\n@Component({ className: 'js-link-to-accordion' })\r\nexport class OpenAccordionByLink {\r\n\tconstructor(private element: HTMLElement) {\r\n\t\tconst regex = /\\/#.*/i;\r\n\t\tlet currentUrl = window.location.href;\r\n\t\tlet regexUrl = regex.exec(currentUrl);\r\n\r\n\t\tif (regexUrl !== null) {\r\n\t\t\tregexUrl.forEach(accordionIdAbsolute => {\r\n\t\t\t\tlet accordionId = accordionIdAbsolute.substr(2);\r\n\t\t\t\tthis.element.querySelectorAll('li').forEach(o => {\r\n\t\t\t\t\tif (accordionId == o.id) {\r\n\t\t\t\t\t\to.querySelector('a').click();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n}\r\n","import { Component } from '@opten/compiler/metadata/component';\r\nimport { debounce } from '@opten/reactive/debounce';\r\nimport { hasClass } from '@opten/dom/has-class';\r\nimport { addClass } from '@opten/dom/add-class';\r\nimport { removeClass } from '@opten/dom/remove-class';\r\nimport { select } from '@opten/select';\r\nimport { dispatchCustomEvent } from '@opten/events/dispatch-custom-event';\r\n\r\ndeclare const mixitup;\r\ndeclare const barba;\r\n\r\n@Component({ className: 'js-mixitup', observe: true })\r\n\r\n\r\nexport class MixitupComponent {\r\n\tprivate mixer: any;\r\n\tprivate activeHash: string;\r\n\tprivate itemSelector: string;\r\n\tprivate filterSelector: string;\r\n\tprivate resetFilterSelector: string;\r\n\tprivate initialSort: string;\r\n\tprivate sortSelector: string;\r\n\tprivate sortParentSelector: string;\r\n\tprivate activeClass: string;\r\n\tprivate mixitupActiveClass: string;\r\n\tprivate items: HTMLElement[];\r\n\tprivate filters: HTMLElement[];\r\n\tprivate resets: HTMLElement[];\r\n\tprivate sorter: HTMLElement[];\r\n\tprivate sorterParents: HTMLElement[];\r\n\tprivate search: HTMLInputElement;\r\n\tprivate defaultSort: 'year:desc';\r\n\r\n\tprivate selects: HTMLSelectElement[];\r\n\r\n\tprivate keyupTimeout: TimeRanges;\r\n\r\n\tconstructor(public element: HTMLElement) {\r\n\t\tthis.itemSelector = '.js-mixitup-item';\r\n\t\tthis.filterSelector = '.js-mixitup-filter';\r\n\r\n\t\tthis.resetFilterSelector = '.js-mixitup-filter-reset';\r\n\r\n\t\tthis.initialSort = this.defaultSort;\r\n\t\tthis.sortSelector = '.js-sort-item';\r\n\t\tthis.sortParentSelector = '.js-sort-parent';\r\n\r\n\t\tthis.activeClass = 'is-active';\r\n\t\tthis.mixitupActiveClass = 'mixitup-control-active';\r\n\r\n\r\n\t\tthis.items = Array.from(this.element.querySelectorAll(this.itemSelector)) as HTMLElement[];\r\n\t\tthis.filters = Array.from(this.element.querySelectorAll(this.itemSelector)) as HTMLElement[];\r\n\t\tthis.resets = Array.from(document.querySelectorAll(this.resetFilterSelector)) as HTMLElement[];\r\n\t\tthis.sorter = Array.from(document.querySelectorAll(this.sortSelector)) as HTMLElement[];\r\n\t\tthis.sorterParents = Array.from(document.querySelectorAll(this.sortParentSelector)) as HTMLElement[];\r\n\t\tthis.selects = Array.from(document.querySelectorAll('select')) as HTMLSelectElement[];\r\n\t\tthis.search = document.querySelector('.js-search');\r\n\r\n\r\n\t\tconst groupsState = this.deserializeHash();\r\n\r\n\t\tthis.mixer = mixitup(element, {\r\n\t\t\tmultifilter: {\r\n\t\t\t\tenable: true\r\n\t\t\t},\r\n\t\t\tclassNames: {\r\n\t\t\t\t// modifierActive: 'is-active',\r\n\t\t\t},\r\n\t\t\tselectors: {\r\n\t\t\t\ttarget: this.itemSelector,\r\n\t\t\t\tcontrol: this.filterSelector\r\n\t\t\t},\r\n\t\t\tcallbacks: {\r\n\t\t\t\tonMixEnd: (state) => this.setHash(state)\r\n\t\t\t},\r\n\t\t\tcontrols: {\r\n\t\t\t\ttoggleLogic: 'and',\r\n\t\t\t\tlive: true\r\n\t\t\t},\r\n\t\t\tload: {\r\n\t\t\t\tsort: this.initialSort\r\n\t\t\t},\r\n\t\t\tanimation: {\r\n\t\t\t\teffects: 'fade'\r\n\t\t\t}\r\n\t\t});\r\n\r\n\r\n\t\tif (groupsState) {\r\n\t\t\tthis.filterMixerByGroupsState(groupsState, false);\r\n\t\t}\r\n\r\n\t\tthis.onHashChange();\r\n\t\tthis.getHashFromLocalStorage();\r\n\r\n\r\n\t\tthis.resets.forEach(element => {\r\n\t\t\telement.addEventListener('click', (e) => {\r\n\t\t\t\tthis.resetFilter();\r\n\t\t\t});\r\n\t\t});\r\n\r\n\r\n\t\tthis.sorter.forEach(element => {\r\n\t\t\tif (hasClass(element, this.mixitupActiveClass)) {\r\n\t\t\t\tthis.activateSorter(element);\r\n\t\t\t}\r\n\t\t\telement.addEventListener('click', (e) => {\r\n\t\t\t\tthis.activateSorter(element);\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\tif (this.search != null) {\r\n\t\t\tif (this.search.value) {\r\n\t\t\t\tthis.searchstring();\r\n\t\t\t}\r\n\r\n\t\t\tthis.search.addEventListener('keyup', debounce((e) => {\r\n\t\t\t\tdispatchCustomEvent(window, 'opten.view.list');\r\n\t\t\t\tthis.searchstring();\r\n\t\t\t}, 300));\r\n\t\t}\r\n\r\n\r\n\t\twindow.addEventListener('opten.leave', () => {\r\n\t\t\tthis.mixer.destroy();\r\n\t\t});\r\n\r\n\t}\r\n\r\n\tprivate searchstring() {\r\n\t\tlet searchValue;\r\n\t\tif (this.search.value.length < 3) {\r\n\t\t\tsearchValue = '';\r\n\t\t} else {\r\n\t\t\tsearchValue = this.search.value.toLowerCase().trim();\r\n\t\t}\r\n\t\tthis.filterByString(searchValue);\r\n\t};\r\n\r\n\tprivate filterByString(searchValue) {\r\n\t\tif (searchValue) {\r\n\t\t\tthis.mixer.filter('[class*=\"' + searchValue + '\"]');\r\n\t\t} else {\r\n\t\t\tthis.mixer.filter('all');\r\n\t\t}\r\n\t}\r\n\r\n\tprivate deserializeHash() {\r\n\t\tconst hash = window.location.hash.replace(/^#/g, '');\r\n\t\tlet obj = null;\r\n\t\tlet groups = [];\r\n\r\n\t\tif (!hash) return obj;\r\n\r\n\t\tobj = {};\r\n\t\tgroups = hash.split('&');\r\n\r\n\t\tgroups.forEach((group) => {\r\n\t\t\tconst pair = group.split('=');\r\n\t\t\tconst groupName = pair[0];\r\n\r\n\t\t\tobj[groupName] = pair[1].split(',');\r\n\t\t});\r\n\r\n\t\treturn obj;\r\n\t}\r\n\r\n\tprivate serializeGroupsState(groupsState) {\r\n\t\tlet output = '';\r\n\r\n\t\tfor (let key in groupsState) {\r\n\t\t\tlet values = groupsState[key];\r\n\r\n\t\t\tif (!values.length) continue;\r\n\r\n\t\t\toutput += key + '=';\r\n\t\t\toutput += values.join(',');\r\n\t\t\toutput += '&';\r\n\t\t};\r\n\r\n\t\toutput = output.replace(/&$/g, '');\r\n\r\n\t\treturn output;\r\n\t}\r\n\r\n\tprivate getGroupsState() {\r\n\t\treturn {\r\n\t\t\tcategory: this.mixer.getFilterGroupSelectors('category').map(this.getValueFromSelector),\r\n\t\t\tlocation: this.mixer.getFilterGroupSelectors('location').map(this.getValueFromSelector),\r\n\t\t\tstatus: this.mixer.getFilterGroupSelectors('status').map(this.getValueFromSelector),\r\n\t\t\tyear: this.mixer.getFilterGroupSelectors('year').map(this.getValueFromSelector),\r\n\t\t\tsort: this.mixer.getState().activeSort != null ? [this.mixer.getState().activeSort.sortString] : []\r\n\t\t};\r\n\t}\r\n\r\n\tprivate setHash(state) {\r\n\t\tconst selector = state.activeFilter.selector;\r\n\t\tconst groupsState = this.getGroupsState();\r\n\t\tconst newHash = '#' + this.serializeGroupsState(groupsState);\r\n\r\n\t\tif (state.activeFilter.selector !== this.itemSelector) {\r\n\t\t\tthis.resets.forEach(element => {\r\n\t\t\t\tremoveClass(element, 'd-none');\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis.resets.forEach(element => {\r\n\t\t\t\taddClass(element, 'd-none');\r\n\t\t\t});\r\n\r\n\t\t}\r\n\t\tif(selector === this.itemSelector && groupsState.sort.length > 0){\r\n\t\t\tthis.activeHash = newHash;\r\n\t\t\thistory.pushState(null, document.title, window.location.pathname + newHash); // or `history.replaceState()`\r\n\t\t\tlocalStorage.setItem('project-filter', this.activeHash);\r\n\t\t}\r\n\t\telse{\r\n\t\t\tif (selector === this.itemSelector && window.location.hash) {\r\n\t\t\t\t// Equivalent to filter \"all\", remove the hash\r\n\t\t\t\tthis.activeHash = '';\r\n\t\t\t\thistory.pushState(null, document.title, window.location.pathname); // or `history.replaceState()`\r\n\t\t\t\tlocalStorage.setItem('project-filter', this.activeHash);\r\n\t\t\t} else if (newHash !== window.location.hash && selector !== this.itemSelector) {\r\n\t\t\t\t// Change the hash\r\n\t\t\t\tthis.activeHash = newHash;\r\n\t\t\t\thistory.pushState(null, document.title, window.location.pathname + newHash); // or `history.replaceState()`\r\n\t\t\t\tlocalStorage.setItem('project-filter', this.activeHash);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.activateSelect();\r\n\t}\r\n\r\n\tprivate filterMixerByGroupsState(groupsState, animate) {\r\n\t\tconst category = (groupsState && groupsState.category) ? groupsState.category : [];\r\n\t\tconst location = (groupsState && groupsState.location) ? groupsState.location : [];\r\n\t\tconst status = (groupsState && groupsState.status) ? groupsState.status : [];\r\n\t\tconst year = (groupsState && groupsState.year) ? groupsState.year : [];\r\n\t\tconst sort = (groupsState && groupsState.sort) ? groupsState.sort : [this.defaultSort];\r\n\r\n\t\tthis.mixer.setFilterGroupSelectors('category', category.map(this.getSelectorFromValue));\r\n\t\tthis.mixer.setFilterGroupSelectors('location', location.map(this.getSelectorFromValue));\r\n\t\tthis.mixer.setFilterGroupSelectors('status', status.map(this.getSelectorFromValue));\r\n\t\tthis.mixer.setFilterGroupSelectors('year', year.map(this.getSelectorFromValue));\r\n\t\tif(sort.length > 0){\r\n\t\t\tthis.mixer.sort(sort[0]).then((o) => {\r\n\t\t\t\tthis.sorter.forEach(element => {\r\n\t\t\t\t\tif (hasClass(element, this.mixitupActiveClass)) {\r\n\t\t\t\t\t\tthis.activateSorter(element);\r\n\t\t\t\t\t}\r\n\t\t\t\t\telement.addEventListener('click', (e) => {\r\n\t\t\t\t\t\tthis.activateSorter(element);\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t// Parse the filter groups (passing `false` will perform no animation)\r\n\t\treturn this.mixer.parseFilterGroups(animate ? true : false);\r\n\t}\r\n\r\n\tprivate getValueFromSelector(selector) {\r\n\t\treturn selector.replace(/^./, '');\r\n\t}\r\n\tprivate getSelectorFromValue(value) {\r\n\t\treturn '.' + value;\r\n\t}\r\n\tprivate onHashChange() {\r\n\t\twindow.onhashchange = () => {\r\n\t\t\tconst groupsState = this.deserializeHash();\r\n\t\t\tconst hash = window.location.hash;\r\n\t\t\t// Compare new hash with active hash\r\n\t\t\tif (hash === this.activeHash) return; // no change\r\n\t\t\tthis.activeHash = hash;\r\n\t\t\tthis.filterMixerByGroupsState(groupsState, true);\r\n\t\t};\r\n\t}\r\n\r\n\tprivate getHashFromLocalStorage() {\r\n\t\tconst projectFilter = localStorage.getItem('project-filter');\r\n\r\n\t\tif (projectFilter != null) {\r\n\t\t\tif(projectFilter !== ''){\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\twindow.location.hash = projectFilter;\r\n\t\t\t\t}, 10);\r\n\t\r\n\t\t\t\tconst groupsState = this.deserializeHash();\r\n\t\t\t\tthis.filterMixerByGroupsState(groupsState, false);\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tlocalStorage.removeItem('project-filter');\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tprivate activateSorter(element) {\r\n\t\tif (!hasClass(element.parentElement, this.activeClass)) {\r\n\t\t\tthis.sorterParents.forEach(parent => {\r\n\r\n\t\t\t\tif (!element.parentElement.isEqualNode(parent)) {\r\n\t\t\t\t\tremoveClass(parent, this.activeClass);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\taddClass(element.parentElement, this.activeClass);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate resetFilter() {\r\n\t\tthis.selects.forEach(element => {\r\n\t\t\telement.selectedIndex = 0;\r\n\t\t});\r\n\t\tthis.mixer.filter('all');\r\n\t\tthis.search.value = '';\r\n\r\n\t\tthis.resets.forEach(element => {\r\n\t\t\taddClass(element, 'd-none');\r\n\t\t});\r\n\r\n\t\tthis.mixer.setFilterGroupSelectors('category', []);\r\n\t\tthis.mixer.setFilterGroupSelectors('location', []);\r\n\t\tthis.mixer.setFilterGroupSelectors('status', []);\r\n\t\tthis.mixer.setFilterGroupSelectors('year', []);\r\n\t\t/*this.mixer.sort('year:desc').then((o) => {\r\n\t\t\tthis.sorter.forEach(element => {\r\n\t\t\t\tif (hasClass(element, this.mixitupActiveClass)) {\r\n\t\t\t\t\tthis.activateSorter(element);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});*/\r\n\t}\r\n\r\n\tprivate activateSelect() {\r\n\t\tthis.selects.forEach(element => {\r\n\t\t\tif (element.selectedIndex === 0) {\r\n\t\t\t\tremoveClass(element, 'is-active');\r\n\t\t\t} else {\r\n\t\t\t\taddClass(element, 'is-active');\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n}\r\n\r\n","import { Component } from '@opten/compiler/metadata/component';\r\nimport { addClass } from '@opten/dom/add-class';\r\nimport { removeClass } from '@opten/dom/remove-class';\r\nimport { getParentWithClass } from '@opten/dom/get-parent-with-class';\r\nimport { dispatchCustomEvent } from '@opten/events/dispatch-custom-event';\r\nimport { addTransitionEndListener } from '@opten/transition/add-transition-end-listener';\r\nimport { transform } from 'async';\r\n\r\ndeclare const PhotoSwipe: any;\r\n\r\n@Component({ className: 'js-modal', observe: true })\r\nexport class Modal {\r\n\tprivate modal: HTMLElement;\r\n\tprivate items: HTMLElement[];\r\n\tprivate close: HTMLElement;\r\n\tprivate swiper: HTMLElement;\r\n\tprivate indicator: string;\r\n\r\n\tconstructor(public element: HTMLElement) {\r\n\t\tthis.modal = document.getElementById(this.element.getAttribute('href').replace('#', '')) as HTMLElement;\r\n\t\tthis.indicator = this.element.getAttribute('data-indicator');\r\n\r\n\t\tthis.close = this.modal != null ? this.modal.querySelector('.js-modal-close') : null;\r\n\r\n\t\tthis.element.addEventListener('click', (e) => {\r\n\t\t\te.preventDefault();\r\n\t\t\tthis.openModal();\r\n\t\t});\r\n\r\n\t\tif (this.close != null) {\r\n\t\t\tthis.close.addEventListener('click', (e) => {\r\n\t\t\t\tthis.closeModal();\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t}\r\n\r\n\tprivate closeModal() {\r\n\t\tremoveClass(this.modal, 'is-active');\r\n\t\tremoveClass(document.body, 'modal-open');\r\n\t\tconst iframes = Array.from(this.modal.querySelectorAll('iframe')) as HTMLIFrameElement[];\r\n\t\tiframes.forEach(iframe => {\r\n\t\t\tconst iframeSrc = iframe.src;\r\n\t\t\tiframe.src = iframeSrc;\r\n\t\t});\r\n\t}\r\n\r\n\tprivate openModal() {\r\n\t\tthis.swiper = this.modal.querySelector('.js-swiper') as HTMLElement;\r\n\t\tif(this.swiper){\r\n\t\t\tthis.swiper.setAttribute('data-index', this.indicator);\r\n\t\t\tdispatchCustomEvent(window, 'opten.gotoindex');\r\n\t\t}\r\n\r\n\t\taddClass(this.modal, 'is-active');\r\n\t\taddClass(document.body, 'modal-open');\r\n\t}\r\n}","import { Component } from '@opten/compiler/metadata/component';\r\nimport { setCookie } from '@opten/cookie/set';\r\nimport { getCookie } from '@opten/cookie/get';\r\n\r\n// import { Swiper } from 'swiper/js/swiper.esm.js';\r\n\r\ndeclare const Swiper: any;\r\n\r\n@Component({ className: 'js-swiper', observe: true })\r\nexport class SwiperComponent {\r\n\r\n\tprivate swiper: any;\r\n\tprivate iframes: HTMLIFrameElement[];\r\n\tconstructor(public element: HTMLElement) {\r\n\t\tthis.iframes = Array.from(this.element.querySelectorAll('iframe')) as HTMLIFrameElement[];\r\n\r\n\t\tthis.swiper = new Swiper(this.element, {\r\n\t\t\tcssMode: false,\r\n\t\t\tpreloadImages: true,\r\n \t\tlazy: true,\r\n\t\t\thashNavigation:{\r\n\t\t\t\treplaceState: true,\r\n\t\t\t\twatchState: true\r\n\t\t\t},\r\n\t\t\tspeed: 600,\r\n\t\t\tslidesPerView: 1,\r\n\t\t\t// grabCursor: true,\r\n\t\t\tloop: true,\r\n\t\t\tpagination: {\r\n\t\t\t\tel: '.swiper-pagination',\r\n\t\t\t\tclickable: true,\r\n\t\t\t\ttype: 'fraction',\r\n\t\t\t},\r\n\t\t\tnavigation: {\r\n\t\t\t\tnextEl: '.swiper-button-next',\r\n\t\t\t\tprevEl: '.swiper-button-prev',\r\n\t\t\t},\r\n\t\t\tkeyboard: {\r\n\t\t\t\tenabled: true,\r\n\t\t\t\tonlyInViewport: false,\r\n\t\t\t},\r\n\t\t});\r\n\r\n\t\tif (getCookie('index-of-swiper') !== null && getCookie('index-of-swiper') !== '1') {\r\n\t\t\tthis.swiper.slideTo(getCookie('index-of-swiper'));\r\n\t\t\tsetCookie('index-of-swiper', '1', Infinity, '/');\r\n\t\t}\r\n\r\n\t\tthis.swiper.on('slideChange', () => {\r\n\t\t\tif (this.element.getAttribute('data-index-handle') === 'keep') {\r\n\t\t\t\tsetCookie('index-of-swiper', this.swiper.activeIndex, Infinity, '/');\r\n\t\t\t}\r\n\t\t\tif (this.iframes.length > 0) {\r\n\t\t\t\tthis.iframes = Array.from(this.element.querySelectorAll('iframe')) as HTMLIFrameElement[];\r\n\t\t\t\tthis.iframes.forEach(iframe => {\r\n\t\t\t\t\tconst iframeSrc = iframe.src;\r\n\t\t\t\t\tiframe.src = iframeSrc;\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t});\r\n\r\n\r\n\t\twindow.addEventListener('opten.gotoindex', () => {\r\n\t\t\tconst index = this.element.getAttribute('data-index');\r\n\t\t\tif (index) {\r\n\t\t\t\tthis.swiper.slideTo(index);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n}\r\n","import { Component } from '@opten/compiler/metadata/component';\r\n\r\n// import { Swiper } from 'swiper/js/swiper.esm.js';\r\n\r\ndeclare const Swiper: any;\r\n\r\n@Component({ className: 'js-swiper-minimalistic'})\r\nexport class SwiperMinimalisticComponent {\r\n\r\n\tprivate swiper: any;\r\n\tconstructor(public element: HTMLElement) {\r\n\r\n\t\tthis.swiper = new Swiper(this.element, {\r\n\t\t\tcssMode: false,\r\n\t\t\tpreloadImages: true,\r\n \t\tlazy: true,\r\n\t\t\tspeed: 600,\r\n\t\t\tslidesPerView: 1,\r\n\t\t\t// grabCursor: true,\r\n\t\t\tloop: true,\r\n\t\t\tautoplay: {\r\n\t\t\t\tdelay: 5000,\r\n\t\t\t },\r\n\t\t\tkeyboard: {\r\n\t\t\t\tenabled: false\r\n\t\t\t},\r\n\t\t});\r\n\r\n\t\r\n\t}\r\n}\r\n","import { Component } from '@opten/compiler/metadata/component';\r\nimport { addClass } from '@opten/dom/add-class';\r\nimport { hasClass } from '@opten/dom/has-class';\r\nimport { removeClass } from '@opten/dom/remove-class';\r\n\r\nimport { setCookie } from '@opten/cookie/set';\r\nimport { getCookie } from '@opten/cookie/get';\r\n\r\n@Component({ className: 'js-view', observe: true })\r\nexport class ViewComponent {\r\n\tprivate selectors: HTMLElement[];\r\n\tprivate items: HTMLElement[];\r\n\r\n\tconstructor(private element: HTMLSelectElement) {\r\n\t\tthis.selectors = Array.from(this.element.querySelectorAll('.js-view-selector')) as HTMLElement[];\r\n\t\tthis.items = Array.from(document.querySelectorAll('.js-view-item')) as HTMLElement[];\r\n\r\n\t\tthis.selectors.forEach(element => {\r\n\t\t\telement.addEventListener('click', (e) => {\r\n\t\t\t\te.preventDefault();\r\n\t\t\t\tif(!hasClass(element, 'is-active')){\r\n\t\t\t\t\tthis.deactivateAllElements();\r\n\t\t\t\t\tthis.activateElement(element);\r\n\t\t\t\t}\t\t\t\t\r\n\t\t\t});\r\n\r\n\t\t\tif(this.element.getAttribute('data-filtered-request') === 'true') {\r\n\t\t\t\tif(hasClass(element, 'is-active')){\r\n\t\t\t\t\tthis.activateElement(element);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tif(hasClass(element, 'is-active')){\r\n\t\t\t\t\tthis.activateElement(element);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif(element.getAttribute('data-target') === getCookie('project-view')){\r\n\t\t\t\t\t\tthis.deactivateAllElements();\r\n\t\t\t\t\t\tthis.activateElement(element);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\twindow.addEventListener('opten.view.list', () => {\r\n\t\t\tthis.selectors.forEach(element => {\r\n\t\t\t\tif(element.getAttribute('data-target') === 'list-view'){\r\n\t\t\t\t\tthis.deactivateAllElements();\r\n\t\t\t\t\tthis.activateElement(element);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\t// reset cookie\r\n\t\tsetCookie('index-of-swiper', '1', Infinity, '/');\r\n\t}\r\n\r\n\tprivate activateElement(element){\r\n\t\tsetCookie('project-view', element.getAttribute('data-target'), Infinity, '/');\r\n\t\tconst targetId = element.getAttribute('href');\r\n\t\taddClass(element, 'is-active');\r\n\t\tif(targetId != null){\r\n\t\t\taddClass(document.querySelector(targetId), 'is-active');\r\n\t\t}\r\n\t}\r\n\r\n\tprivate deactivateAllElements(){\r\n\t\tthis.items.forEach(element => {\r\n\t\t\tremoveClass(element, 'is-active');\r\n\t\t});\r\n\t\tthis.selectors.forEach(element => {\r\n\t\t\tremoveClass(element, 'is-active');\r\n\t\t});\r\n\t}\r\n}\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"img-fluid\":\"img-fluid\",\"img-fluid--vertical\":\"img-fluid--vertical\",\"img-fluid--max-width\":\"img-fluid--max-width\",\"is-lazy\":\"is-lazy\",\"--lazy\":\"--lazy\",\"lazyload\":\"lazyload\",\"lazyloaded\":\"lazyloaded\",\"u-embed-responsive\":\"u-embed-responsive\",\"u-embed-responsive__item\":\"u-embed-responsive__item\",\"u-embed-responsive--ratio-1by1\":\"u-embed-responsive--ratio-1by1\",\"u-embed-responsive--ratio-4by3\":\"u-embed-responsive--ratio-4by3\",\"u-embed-responsive--ratio-16by9\":\"u-embed-responsive--ratio-16by9\",\"u-embed-responsive--ratio-video-wrapper\":\"u-embed-responsive--ratio-video-wrapper\",\"u-embed-responsive--ratio-video\":\"u-embed-responsive--ratio-video\",\"c-videoframe\":\"c-videoframe\",\"container\":\"container\",\"container-fluid\":\"container-fluid\",\"row\":\"row\",\"no-gutters\":\"no-gutters\",\"col\":\"col\",\"col-1\":\"col-1\",\"col-2\":\"col-2\",\"col-3\":\"col-3\",\"col-4\":\"col-4\",\"col-5\":\"col-5\",\"col-6\":\"col-6\",\"col-7\":\"col-7\",\"col-8\":\"col-8\",\"col-9\":\"col-9\",\"col-10\":\"col-10\",\"col-11\":\"col-11\",\"col-12\":\"col-12\",\"col-13\":\"col-13\",\"col-14\":\"col-14\",\"col-15\":\"col-15\",\"col-16\":\"col-16\",\"col-auto\":\"col-auto\",\"col-sm-1\":\"col-sm-1\",\"col-sm-2\":\"col-sm-2\",\"col-sm-3\":\"col-sm-3\",\"col-sm-4\":\"col-sm-4\",\"col-sm-5\":\"col-sm-5\",\"col-sm-6\":\"col-sm-6\",\"col-sm-7\":\"col-sm-7\",\"col-sm-8\":\"col-sm-8\",\"col-sm-9\":\"col-sm-9\",\"col-sm-10\":\"col-sm-10\",\"col-sm-11\":\"col-sm-11\",\"col-sm-12\":\"col-sm-12\",\"col-sm-13\":\"col-sm-13\",\"col-sm-14\":\"col-sm-14\",\"col-sm-15\":\"col-sm-15\",\"col-sm-16\":\"col-sm-16\",\"col-sm\":\"col-sm\",\"col-sm-auto\":\"col-sm-auto\",\"col-md-1\":\"col-md-1\",\"col-md-2\":\"col-md-2\",\"col-md-3\":\"col-md-3\",\"col-md-4\":\"col-md-4\",\"col-md-5\":\"col-md-5\",\"col-md-6\":\"col-md-6\",\"col-md-7\":\"col-md-7\",\"col-md-8\":\"col-md-8\",\"col-md-9\":\"col-md-9\",\"col-md-10\":\"col-md-10\",\"col-md-11\":\"col-md-11\",\"col-md-12\":\"col-md-12\",\"col-md-13\":\"col-md-13\",\"col-md-14\":\"col-md-14\",\"col-md-15\":\"col-md-15\",\"col-md-16\":\"col-md-16\",\"col-md\":\"col-md\",\"col-md-auto\":\"col-md-auto\",\"col-lg-1\":\"col-lg-1\",\"col-lg-2\":\"col-lg-2\",\"col-lg-3\":\"col-lg-3\",\"col-lg-4\":\"col-lg-4\",\"col-lg-5\":\"col-lg-5\",\"col-lg-6\":\"col-lg-6\",\"col-lg-7\":\"col-lg-7\",\"col-lg-8\":\"col-lg-8\",\"col-lg-9\":\"col-lg-9\",\"col-lg-10\":\"col-lg-10\",\"col-lg-11\":\"col-lg-11\",\"col-lg-12\":\"col-lg-12\",\"col-lg-13\":\"col-lg-13\",\"col-lg-14\":\"col-lg-14\",\"col-lg-15\":\"col-lg-15\",\"col-lg-16\":\"col-lg-16\",\"col-lg\":\"col-lg\",\"col-lg-auto\":\"col-lg-auto\",\"col-xl-1\":\"col-xl-1\",\"col-xl-2\":\"col-xl-2\",\"col-xl-3\":\"col-xl-3\",\"col-xl-4\":\"col-xl-4\",\"col-xl-5\":\"col-xl-5\",\"col-xl-6\":\"col-xl-6\",\"col-xl-7\":\"col-xl-7\",\"col-xl-8\":\"col-xl-8\",\"col-xl-9\":\"col-xl-9\",\"col-xl-10\":\"col-xl-10\",\"col-xl-11\":\"col-xl-11\",\"col-xl-12\":\"col-xl-12\",\"col-xl-13\":\"col-xl-13\",\"col-xl-14\":\"col-xl-14\",\"col-xl-15\":\"col-xl-15\",\"col-xl-16\":\"col-xl-16\",\"col-xl\":\"col-xl\",\"col-xl-auto\":\"col-xl-auto\",\"order-first\":\"order-first\",\"order-last\":\"order-last\",\"order-1\":\"order-1\",\"order-2\":\"order-2\",\"order-3\":\"order-3\",\"order-4\":\"order-4\",\"order-5\":\"order-5\",\"order-6\":\"order-6\",\"order-7\":\"order-7\",\"order-8\":\"order-8\",\"order-9\":\"order-9\",\"order-10\":\"order-10\",\"order-11\":\"order-11\",\"order-12\":\"order-12\",\"order-13\":\"order-13\",\"order-14\":\"order-14\",\"order-15\":\"order-15\",\"order-16\":\"order-16\",\"offset-1\":\"offset-1\",\"offset-2\":\"offset-2\",\"offset-3\":\"offset-3\",\"offset-4\":\"offset-4\",\"offset-5\":\"offset-5\",\"offset-6\":\"offset-6\",\"offset-7\":\"offset-7\",\"offset-8\":\"offset-8\",\"offset-9\":\"offset-9\",\"offset-10\":\"offset-10\",\"offset-11\":\"offset-11\",\"offset-12\":\"offset-12\",\"offset-13\":\"offset-13\",\"offset-14\":\"offset-14\",\"offset-15\":\"offset-15\",\"order-sm-first\":\"order-sm-first\",\"order-sm-last\":\"order-sm-last\",\"order-sm-1\":\"order-sm-1\",\"order-sm-2\":\"order-sm-2\",\"order-sm-3\":\"order-sm-3\",\"order-sm-4\":\"order-sm-4\",\"order-sm-5\":\"order-sm-5\",\"order-sm-6\":\"order-sm-6\",\"order-sm-7\":\"order-sm-7\",\"order-sm-8\":\"order-sm-8\",\"order-sm-9\":\"order-sm-9\",\"order-sm-10\":\"order-sm-10\",\"order-sm-11\":\"order-sm-11\",\"order-sm-12\":\"order-sm-12\",\"order-sm-13\":\"order-sm-13\",\"order-sm-14\":\"order-sm-14\",\"order-sm-15\":\"order-sm-15\",\"order-sm-16\":\"order-sm-16\",\"offset-sm-0\":\"offset-sm-0\",\"offset-sm-1\":\"offset-sm-1\",\"offset-sm-2\":\"offset-sm-2\",\"offset-sm-3\":\"offset-sm-3\",\"offset-sm-4\":\"offset-sm-4\",\"offset-sm-5\":\"offset-sm-5\",\"offset-sm-6\":\"offset-sm-6\",\"offset-sm-7\":\"offset-sm-7\",\"offset-sm-8\":\"offset-sm-8\",\"offset-sm-9\":\"offset-sm-9\",\"offset-sm-10\":\"offset-sm-10\",\"offset-sm-11\":\"offset-sm-11\",\"offset-sm-12\":\"offset-sm-12\",\"offset-sm-13\":\"offset-sm-13\",\"offset-sm-14\":\"offset-sm-14\",\"offset-sm-15\":\"offset-sm-15\",\"order-md-first\":\"order-md-first\",\"order-md-last\":\"order-md-last\",\"order-md-1\":\"order-md-1\",\"order-md-2\":\"order-md-2\",\"order-md-3\":\"order-md-3\",\"order-md-4\":\"order-md-4\",\"order-md-5\":\"order-md-5\",\"order-md-6\":\"order-md-6\",\"order-md-7\":\"order-md-7\",\"order-md-8\":\"order-md-8\",\"order-md-9\":\"order-md-9\",\"order-md-10\":\"order-md-10\",\"order-md-11\":\"order-md-11\",\"order-md-12\":\"order-md-12\",\"order-md-13\":\"order-md-13\",\"order-md-14\":\"order-md-14\",\"order-md-15\":\"order-md-15\",\"order-md-16\":\"order-md-16\",\"offset-md-0\":\"offset-md-0\",\"offset-md-1\":\"offset-md-1\",\"offset-md-2\":\"offset-md-2\",\"offset-md-3\":\"offset-md-3\",\"offset-md-4\":\"offset-md-4\",\"offset-md-5\":\"offset-md-5\",\"offset-md-6\":\"offset-md-6\",\"offset-md-7\":\"offset-md-7\",\"offset-md-8\":\"offset-md-8\",\"offset-md-9\":\"offset-md-9\",\"offset-md-10\":\"offset-md-10\",\"offset-md-11\":\"offset-md-11\",\"offset-md-12\":\"offset-md-12\",\"offset-md-13\":\"offset-md-13\",\"offset-md-14\":\"offset-md-14\",\"offset-md-15\":\"offset-md-15\",\"order-lg-first\":\"order-lg-first\",\"order-lg-last\":\"order-lg-last\",\"order-lg-1\":\"order-lg-1\",\"order-lg-2\":\"order-lg-2\",\"order-lg-3\":\"order-lg-3\",\"order-lg-4\":\"order-lg-4\",\"order-lg-5\":\"order-lg-5\",\"order-lg-6\":\"order-lg-6\",\"order-lg-7\":\"order-lg-7\",\"order-lg-8\":\"order-lg-8\",\"order-lg-9\":\"order-lg-9\",\"order-lg-10\":\"order-lg-10\",\"order-lg-11\":\"order-lg-11\",\"order-lg-12\":\"order-lg-12\",\"order-lg-13\":\"order-lg-13\",\"order-lg-14\":\"order-lg-14\",\"order-lg-15\":\"order-lg-15\",\"order-lg-16\":\"order-lg-16\",\"offset-lg-0\":\"offset-lg-0\",\"offset-lg-1\":\"offset-lg-1\",\"offset-lg-2\":\"offset-lg-2\",\"offset-lg-3\":\"offset-lg-3\",\"offset-lg-4\":\"offset-lg-4\",\"offset-lg-5\":\"offset-lg-5\",\"offset-lg-6\":\"offset-lg-6\",\"offset-lg-7\":\"offset-lg-7\",\"offset-lg-8\":\"offset-lg-8\",\"offset-lg-9\":\"offset-lg-9\",\"offset-lg-10\":\"offset-lg-10\",\"offset-lg-11\":\"offset-lg-11\",\"offset-lg-12\":\"offset-lg-12\",\"offset-lg-13\":\"offset-lg-13\",\"offset-lg-14\":\"offset-lg-14\",\"offset-lg-15\":\"offset-lg-15\",\"order-xl-first\":\"order-xl-first\",\"order-xl-last\":\"order-xl-last\",\"order-xl-1\":\"order-xl-1\",\"order-xl-2\":\"order-xl-2\",\"order-xl-3\":\"order-xl-3\",\"order-xl-4\":\"order-xl-4\",\"order-xl-5\":\"order-xl-5\",\"order-xl-6\":\"order-xl-6\",\"order-xl-7\":\"order-xl-7\",\"order-xl-8\":\"order-xl-8\",\"order-xl-9\":\"order-xl-9\",\"order-xl-10\":\"order-xl-10\",\"order-xl-11\":\"order-xl-11\",\"order-xl-12\":\"order-xl-12\",\"order-xl-13\":\"order-xl-13\",\"order-xl-14\":\"order-xl-14\",\"order-xl-15\":\"order-xl-15\",\"order-xl-16\":\"order-xl-16\",\"offset-xl-0\":\"offset-xl-0\",\"offset-xl-1\":\"offset-xl-1\",\"offset-xl-2\":\"offset-xl-2\",\"offset-xl-3\":\"offset-xl-3\",\"offset-xl-4\":\"offset-xl-4\",\"offset-xl-5\":\"offset-xl-5\",\"offset-xl-6\":\"offset-xl-6\",\"offset-xl-7\":\"offset-xl-7\",\"offset-xl-8\":\"offset-xl-8\",\"offset-xl-9\":\"offset-xl-9\",\"offset-xl-10\":\"offset-xl-10\",\"offset-xl-11\":\"offset-xl-11\",\"offset-xl-12\":\"offset-xl-12\",\"offset-xl-13\":\"offset-xl-13\",\"offset-xl-14\":\"offset-xl-14\",\"offset-xl-15\":\"offset-xl-15\",\"text-justify\":\"text-justify\",\"text-left\":\"text-left\",\"text-right\":\"text-right\",\"text-center\":\"text-center\",\"text-sm-justify\":\"text-sm-justify\",\"text-sm-left\":\"text-sm-left\",\"text-sm-right\":\"text-sm-right\",\"text-sm-center\":\"text-sm-center\",\"text-md-justify\":\"text-md-justify\",\"text-md-left\":\"text-md-left\",\"text-md-right\":\"text-md-right\",\"text-md-center\":\"text-md-center\",\"text-lg-justify\":\"text-lg-justify\",\"text-lg-left\":\"text-lg-left\",\"text-lg-right\":\"text-lg-right\",\"text-lg-center\":\"text-lg-center\",\"text-xl-justify\":\"text-xl-justify\",\"text-xl-left\":\"text-xl-left\",\"text-xl-right\":\"text-xl-right\",\"text-xl-center\":\"text-xl-center\",\"text-lowercase\":\"text-lowercase\",\"text-uppercase\":\"text-uppercase\",\"text-capitalize\":\"text-capitalize\",\"font-size-base\":\"font-size-base\",\"font-size-xs\":\"font-size-xs\",\"font-size-small\":\"font-size-small\",\"font-size-medium\":\"font-size-medium\",\"font-size-large\":\"font-size-large\",\"font-size-x-large\":\"font-size-x-large\",\"font-size-xx-large\":\"font-size-xx-large\",\"font-size-xxx-large\":\"font-size-xxx-large\",\"font-size-normal\":\"font-size-normal\",\"font-size-light\":\"font-size-light\",\"font-size-bold\":\"font-size-bold\",\"color-body\":\"color-body\",\"color-primary\":\"color-primary\",\"color-default\":\"color-default\",\"text-nowrap\":\"text-nowrap\",\"font-italic\":\"font-italic\",\"font-normal\":\"font-normal\",\"font-oblique\":\"font-oblique\",\"text-truncate\":\"text-truncate\",\"bg-body\":\"bg-body\",\"bg-primary\":\"bg-primary\",\"bg-default\":\"bg-default\",\"d-none\":\"d-none\",\"d-inline\":\"d-inline\",\"d-inline-block\":\"d-inline-block\",\"d-block\":\"d-block\",\"d-table\":\"d-table\",\"d-table-row\":\"d-table-row\",\"d-table-cell\":\"d-table-cell\",\"d-flex\":\"d-flex\",\"d-inline-flex\":\"d-inline-flex\",\"d-sm-none\":\"d-sm-none\",\"d-sm-inline\":\"d-sm-inline\",\"d-sm-inline-block\":\"d-sm-inline-block\",\"d-sm-block\":\"d-sm-block\",\"d-sm-table\":\"d-sm-table\",\"d-sm-table-row\":\"d-sm-table-row\",\"d-sm-table-cell\":\"d-sm-table-cell\",\"d-sm-flex\":\"d-sm-flex\",\"d-sm-inline-flex\":\"d-sm-inline-flex\",\"d-md-none\":\"d-md-none\",\"d-md-inline\":\"d-md-inline\",\"d-md-inline-block\":\"d-md-inline-block\",\"d-md-block\":\"d-md-block\",\"d-md-table\":\"d-md-table\",\"d-md-table-row\":\"d-md-table-row\",\"d-md-table-cell\":\"d-md-table-cell\",\"d-md-flex\":\"d-md-flex\",\"d-md-inline-flex\":\"d-md-inline-flex\",\"d-lg-none\":\"d-lg-none\",\"d-lg-inline\":\"d-lg-inline\",\"d-lg-inline-block\":\"d-lg-inline-block\",\"d-lg-block\":\"d-lg-block\",\"d-lg-table\":\"d-lg-table\",\"d-lg-table-row\":\"d-lg-table-row\",\"d-lg-table-cell\":\"d-lg-table-cell\",\"d-lg-flex\":\"d-lg-flex\",\"d-lg-inline-flex\":\"d-lg-inline-flex\",\"d-xl-none\":\"d-xl-none\",\"d-xl-inline\":\"d-xl-inline\",\"d-xl-inline-block\":\"d-xl-inline-block\",\"d-xl-block\":\"d-xl-block\",\"d-xl-table\":\"d-xl-table\",\"d-xl-table-row\":\"d-xl-table-row\",\"d-xl-table-cell\":\"d-xl-table-cell\",\"d-xl-flex\":\"d-xl-flex\",\"d-xl-inline-flex\":\"d-xl-inline-flex\",\"flex-row\":\"flex-row\",\"flex-column\":\"flex-column\",\"flex-row-reverse\":\"flex-row-reverse\",\"flex-column-reverse\":\"flex-column-reverse\",\"flex-wrap\":\"flex-wrap\",\"flex-nowrap\":\"flex-nowrap\",\"flex-wrap-reverse\":\"flex-wrap-reverse\",\"justify-content-start\":\"justify-content-start\",\"justify-content-end\":\"justify-content-end\",\"justify-content-center\":\"justify-content-center\",\"justify-content-between\":\"justify-content-between\",\"justify-content-around\":\"justify-content-around\",\"align-items-start\":\"align-items-start\",\"align-items-end\":\"align-items-end\",\"align-items-center\":\"align-items-center\",\"align-items-baseline\":\"align-items-baseline\",\"align-items-stretch\":\"align-items-stretch\",\"align-content-start\":\"align-content-start\",\"align-content-end\":\"align-content-end\",\"align-content-center\":\"align-content-center\",\"align-content-between\":\"align-content-between\",\"align-content-around\":\"align-content-around\",\"align-content-stretch\":\"align-content-stretch\",\"align-self-auto\":\"align-self-auto\",\"align-self-start\":\"align-self-start\",\"align-self-end\":\"align-self-end\",\"align-self-center\":\"align-self-center\",\"align-self-baseline\":\"align-self-baseline\",\"align-self-stretch\":\"align-self-stretch\",\"flex-grow-shrink-on\":\"flex-grow-shrink-on\",\"flex-grow-shrink-off\":\"flex-grow-shrink-off\",\"flex-sm-row\":\"flex-sm-row\",\"flex-sm-column\":\"flex-sm-column\",\"flex-sm-row-reverse\":\"flex-sm-row-reverse\",\"flex-sm-column-reverse\":\"flex-sm-column-reverse\",\"flex-sm-wrap\":\"flex-sm-wrap\",\"flex-sm-nowrap\":\"flex-sm-nowrap\",\"flex-sm-wrap-reverse\":\"flex-sm-wrap-reverse\",\"justify-content-sm-start\":\"justify-content-sm-start\",\"justify-content-sm-end\":\"justify-content-sm-end\",\"justify-content-sm-center\":\"justify-content-sm-center\",\"justify-content-sm-between\":\"justify-content-sm-between\",\"justify-content-sm-around\":\"justify-content-sm-around\",\"align-items-sm-start\":\"align-items-sm-start\",\"align-items-sm-end\":\"align-items-sm-end\",\"align-items-sm-center\":\"align-items-sm-center\",\"align-items-sm-baseline\":\"align-items-sm-baseline\",\"align-items-sm-stretch\":\"align-items-sm-stretch\",\"align-content-sm-start\":\"align-content-sm-start\",\"align-content-sm-end\":\"align-content-sm-end\",\"align-content-sm-center\":\"align-content-sm-center\",\"align-content-sm-between\":\"align-content-sm-between\",\"align-content-sm-around\":\"align-content-sm-around\",\"align-content-sm-stretch\":\"align-content-sm-stretch\",\"align-self-sm-auto\":\"align-self-sm-auto\",\"align-self-sm-start\":\"align-self-sm-start\",\"align-self-sm-end\":\"align-self-sm-end\",\"align-self-sm-center\":\"align-self-sm-center\",\"align-self-sm-baseline\":\"align-self-sm-baseline\",\"align-self-sm-stretch\":\"align-self-sm-stretch\",\"flex-grow-shrink-sm-on\":\"flex-grow-shrink-sm-on\",\"flex-grow-shrink-sm-off\":\"flex-grow-shrink-sm-off\",\"flex-md-row\":\"flex-md-row\",\"flex-md-column\":\"flex-md-column\",\"flex-md-row-reverse\":\"flex-md-row-reverse\",\"flex-md-column-reverse\":\"flex-md-column-reverse\",\"flex-md-wrap\":\"flex-md-wrap\",\"flex-md-nowrap\":\"flex-md-nowrap\",\"flex-md-wrap-reverse\":\"flex-md-wrap-reverse\",\"justify-content-md-start\":\"justify-content-md-start\",\"justify-content-md-end\":\"justify-content-md-end\",\"justify-content-md-center\":\"justify-content-md-center\",\"justify-content-md-between\":\"justify-content-md-between\",\"justify-content-md-around\":\"justify-content-md-around\",\"align-items-md-start\":\"align-items-md-start\",\"align-items-md-end\":\"align-items-md-end\",\"align-items-md-center\":\"align-items-md-center\",\"align-items-md-baseline\":\"align-items-md-baseline\",\"align-items-md-stretch\":\"align-items-md-stretch\",\"align-content-md-start\":\"align-content-md-start\",\"align-content-md-end\":\"align-content-md-end\",\"align-content-md-center\":\"align-content-md-center\",\"align-content-md-between\":\"align-content-md-between\",\"align-content-md-around\":\"align-content-md-around\",\"align-content-md-stretch\":\"align-content-md-stretch\",\"align-self-md-auto\":\"align-self-md-auto\",\"align-self-md-start\":\"align-self-md-start\",\"align-self-md-end\":\"align-self-md-end\",\"align-self-md-center\":\"align-self-md-center\",\"align-self-md-baseline\":\"align-self-md-baseline\",\"align-self-md-stretch\":\"align-self-md-stretch\",\"flex-grow-shrink-md-on\":\"flex-grow-shrink-md-on\",\"flex-grow-shrink-md-off\":\"flex-grow-shrink-md-off\",\"flex-lg-row\":\"flex-lg-row\",\"flex-lg-column\":\"flex-lg-column\",\"flex-lg-row-reverse\":\"flex-lg-row-reverse\",\"flex-lg-column-reverse\":\"flex-lg-column-reverse\",\"flex-lg-wrap\":\"flex-lg-wrap\",\"flex-lg-nowrap\":\"flex-lg-nowrap\",\"flex-lg-wrap-reverse\":\"flex-lg-wrap-reverse\",\"justify-content-lg-start\":\"justify-content-lg-start\",\"justify-content-lg-end\":\"justify-content-lg-end\",\"justify-content-lg-center\":\"justify-content-lg-center\",\"justify-content-lg-between\":\"justify-content-lg-between\",\"justify-content-lg-around\":\"justify-content-lg-around\",\"align-items-lg-start\":\"align-items-lg-start\",\"align-items-lg-end\":\"align-items-lg-end\",\"align-items-lg-center\":\"align-items-lg-center\",\"align-items-lg-baseline\":\"align-items-lg-baseline\",\"align-items-lg-stretch\":\"align-items-lg-stretch\",\"align-content-lg-start\":\"align-content-lg-start\",\"align-content-lg-end\":\"align-content-lg-end\",\"align-content-lg-center\":\"align-content-lg-center\",\"align-content-lg-between\":\"align-content-lg-between\",\"align-content-lg-around\":\"align-content-lg-around\",\"align-content-lg-stretch\":\"align-content-lg-stretch\",\"align-self-lg-auto\":\"align-self-lg-auto\",\"align-self-lg-start\":\"align-self-lg-start\",\"align-self-lg-end\":\"align-self-lg-end\",\"align-self-lg-center\":\"align-self-lg-center\",\"align-self-lg-baseline\":\"align-self-lg-baseline\",\"align-self-lg-stretch\":\"align-self-lg-stretch\",\"flex-grow-shrink-lg-on\":\"flex-grow-shrink-lg-on\",\"flex-grow-shrink-lg-off\":\"flex-grow-shrink-lg-off\",\"flex-xl-row\":\"flex-xl-row\",\"flex-xl-column\":\"flex-xl-column\",\"flex-xl-row-reverse\":\"flex-xl-row-reverse\",\"flex-xl-column-reverse\":\"flex-xl-column-reverse\",\"flex-xl-wrap\":\"flex-xl-wrap\",\"flex-xl-nowrap\":\"flex-xl-nowrap\",\"flex-xl-wrap-reverse\":\"flex-xl-wrap-reverse\",\"justify-content-xl-start\":\"justify-content-xl-start\",\"justify-content-xl-end\":\"justify-content-xl-end\",\"justify-content-xl-center\":\"justify-content-xl-center\",\"justify-content-xl-between\":\"justify-content-xl-between\",\"justify-content-xl-around\":\"justify-content-xl-around\",\"align-items-xl-start\":\"align-items-xl-start\",\"align-items-xl-end\":\"align-items-xl-end\",\"align-items-xl-center\":\"align-items-xl-center\",\"align-items-xl-baseline\":\"align-items-xl-baseline\",\"align-items-xl-stretch\":\"align-items-xl-stretch\",\"align-content-xl-start\":\"align-content-xl-start\",\"align-content-xl-end\":\"align-content-xl-end\",\"align-content-xl-center\":\"align-content-xl-center\",\"align-content-xl-between\":\"align-content-xl-between\",\"align-content-xl-around\":\"align-content-xl-around\",\"align-content-xl-stretch\":\"align-content-xl-stretch\",\"align-self-xl-auto\":\"align-self-xl-auto\",\"align-self-xl-start\":\"align-self-xl-start\",\"align-self-xl-end\":\"align-self-xl-end\",\"align-self-xl-center\":\"align-self-xl-center\",\"align-self-xl-baseline\":\"align-self-xl-baseline\",\"align-self-xl-stretch\":\"align-self-xl-stretch\",\"flex-grow-shrink-xl-on\":\"flex-grow-shrink-xl-on\",\"flex-grow-shrink-xl-off\":\"flex-grow-shrink-xl-off\",\"fade\":\"fade\",\"fade--show\":\"fade--show\",\"collapse\":\"collapse\",\"collapse--show\":\"collapse--show\",\"collapse-open\":\"collapse-open\",\"collapse-open-sm\":\"collapse-open-sm\",\"collapse-open-md\":\"collapse-open-md\",\"collapse-open-lg\":\"collapse-open-lg\",\"collapse-open-xl\":\"collapse-open-xl\",\"collapse--collapsing\":\"collapse--collapsing\",\"fade--fading\":\"fade--fading\",\"h1\":\"h1\",\"h2\":\"h2\",\"h3\":\"h3\",\"h4\":\"h4\",\"h5\":\"h5\",\"h6\":\"h6\",\"m--1\":\"m--1\",\"mt--1\":\"mt--1\",\"my--1\":\"my--1\",\"mr--1\":\"mr--1\",\"mx--1\":\"mx--1\",\"mb--1\":\"mb--1\",\"ml--1\":\"ml--1\",\"m-0\":\"m-0\",\"mt-0\":\"mt-0\",\"my-0\":\"my-0\",\"mr-0\":\"mr-0\",\"mx-0\":\"mx-0\",\"mb-0\":\"mb-0\",\"ml-0\":\"ml-0\",\"m-1\":\"m-1\",\"mt-1\":\"mt-1\",\"my-1\":\"my-1\",\"mr-1\":\"mr-1\",\"mx-1\":\"mx-1\",\"mb-1\":\"mb-1\",\"ml-1\":\"ml-1\",\"m-2\":\"m-2\",\"mt-2\":\"mt-2\",\"my-2\":\"my-2\",\"mr-2\":\"mr-2\",\"mx-2\":\"mx-2\",\"mb-2\":\"mb-2\",\"ml-2\":\"ml-2\",\"m-3\":\"m-3\",\"mt-3\":\"mt-3\",\"my-3\":\"my-3\",\"mr-3\":\"mr-3\",\"mx-3\":\"mx-3\",\"mb-3\":\"mb-3\",\"ml-3\":\"ml-3\",\"m-4\":\"m-4\",\"mt-4\":\"mt-4\",\"my-4\":\"my-4\",\"mr-4\":\"mr-4\",\"mx-4\":\"mx-4\",\"mb-4\":\"mb-4\",\"ml-4\":\"ml-4\",\"m-5\":\"m-5\",\"mt-5\":\"mt-5\",\"my-5\":\"my-5\",\"mr-5\":\"mr-5\",\"mx-5\":\"mx-5\",\"mb-5\":\"mb-5\",\"ml-5\":\"ml-5\",\"m-6\":\"m-6\",\"mt-6\":\"mt-6\",\"my-6\":\"my-6\",\"mr-6\":\"mr-6\",\"mx-6\":\"mx-6\",\"mb-6\":\"mb-6\",\"ml-6\":\"ml-6\",\"m-7\":\"m-7\",\"mt-7\":\"mt-7\",\"my-7\":\"my-7\",\"mr-7\":\"mr-7\",\"mx-7\":\"mx-7\",\"mb-7\":\"mb-7\",\"ml-7\":\"ml-7\",\"p--1\":\"p--1\",\"pt--1\":\"pt--1\",\"py--1\":\"py--1\",\"pr--1\":\"pr--1\",\"px--1\":\"px--1\",\"pb--1\":\"pb--1\",\"pl--1\":\"pl--1\",\"p-0\":\"p-0\",\"pt-0\":\"pt-0\",\"py-0\":\"py-0\",\"pr-0\":\"pr-0\",\"px-0\":\"px-0\",\"pb-0\":\"pb-0\",\"pl-0\":\"pl-0\",\"p-1\":\"p-1\",\"pt-1\":\"pt-1\",\"py-1\":\"py-1\",\"pr-1\":\"pr-1\",\"px-1\":\"px-1\",\"pb-1\":\"pb-1\",\"pl-1\":\"pl-1\",\"p-2\":\"p-2\",\"pt-2\":\"pt-2\",\"py-2\":\"py-2\",\"pr-2\":\"pr-2\",\"px-2\":\"px-2\",\"pb-2\":\"pb-2\",\"pl-2\":\"pl-2\",\"p-3\":\"p-3\",\"pt-3\":\"pt-3\",\"py-3\":\"py-3\",\"pr-3\":\"pr-3\",\"px-3\":\"px-3\",\"pb-3\":\"pb-3\",\"pl-3\":\"pl-3\",\"p-4\":\"p-4\",\"pt-4\":\"pt-4\",\"py-4\":\"py-4\",\"pr-4\":\"pr-4\",\"px-4\":\"px-4\",\"pb-4\":\"pb-4\",\"pl-4\":\"pl-4\",\"p-5\":\"p-5\",\"pt-5\":\"pt-5\",\"py-5\":\"py-5\",\"pr-5\":\"pr-5\",\"px-5\":\"px-5\",\"pb-5\":\"pb-5\",\"pl-5\":\"pl-5\",\"p-6\":\"p-6\",\"pt-6\":\"pt-6\",\"py-6\":\"py-6\",\"pr-6\":\"pr-6\",\"px-6\":\"px-6\",\"pb-6\":\"pb-6\",\"pl-6\":\"pl-6\",\"p-7\":\"p-7\",\"pt-7\":\"pt-7\",\"py-7\":\"py-7\",\"pr-7\":\"pr-7\",\"px-7\":\"px-7\",\"pb-7\":\"pb-7\",\"pl-7\":\"pl-7\",\"m-auto\":\"m-auto\",\"mt-auto\":\"mt-auto\",\"my-auto\":\"my-auto\",\"mr-auto\":\"mr-auto\",\"mx-auto\":\"mx-auto\",\"mb-auto\":\"mb-auto\",\"ml-auto\":\"ml-auto\",\"m-sm--1\":\"m-sm--1\",\"mt-sm--1\":\"mt-sm--1\",\"my-sm--1\":\"my-sm--1\",\"mr-sm--1\":\"mr-sm--1\",\"mx-sm--1\":\"mx-sm--1\",\"mb-sm--1\":\"mb-sm--1\",\"ml-sm--1\":\"ml-sm--1\",\"m-sm-0\":\"m-sm-0\",\"mt-sm-0\":\"mt-sm-0\",\"my-sm-0\":\"my-sm-0\",\"mr-sm-0\":\"mr-sm-0\",\"mx-sm-0\":\"mx-sm-0\",\"mb-sm-0\":\"mb-sm-0\",\"ml-sm-0\":\"ml-sm-0\",\"m-sm-1\":\"m-sm-1\",\"mt-sm-1\":\"mt-sm-1\",\"my-sm-1\":\"my-sm-1\",\"mr-sm-1\":\"mr-sm-1\",\"mx-sm-1\":\"mx-sm-1\",\"mb-sm-1\":\"mb-sm-1\",\"ml-sm-1\":\"ml-sm-1\",\"m-sm-2\":\"m-sm-2\",\"mt-sm-2\":\"mt-sm-2\",\"my-sm-2\":\"my-sm-2\",\"mr-sm-2\":\"mr-sm-2\",\"mx-sm-2\":\"mx-sm-2\",\"mb-sm-2\":\"mb-sm-2\",\"ml-sm-2\":\"ml-sm-2\",\"m-sm-3\":\"m-sm-3\",\"mt-sm-3\":\"mt-sm-3\",\"my-sm-3\":\"my-sm-3\",\"mr-sm-3\":\"mr-sm-3\",\"mx-sm-3\":\"mx-sm-3\",\"mb-sm-3\":\"mb-sm-3\",\"ml-sm-3\":\"ml-sm-3\",\"m-sm-4\":\"m-sm-4\",\"mt-sm-4\":\"mt-sm-4\",\"my-sm-4\":\"my-sm-4\",\"mr-sm-4\":\"mr-sm-4\",\"mx-sm-4\":\"mx-sm-4\",\"mb-sm-4\":\"mb-sm-4\",\"ml-sm-4\":\"ml-sm-4\",\"m-sm-5\":\"m-sm-5\",\"mt-sm-5\":\"mt-sm-5\",\"my-sm-5\":\"my-sm-5\",\"mr-sm-5\":\"mr-sm-5\",\"mx-sm-5\":\"mx-sm-5\",\"mb-sm-5\":\"mb-sm-5\",\"ml-sm-5\":\"ml-sm-5\",\"m-sm-6\":\"m-sm-6\",\"mt-sm-6\":\"mt-sm-6\",\"my-sm-6\":\"my-sm-6\",\"mr-sm-6\":\"mr-sm-6\",\"mx-sm-6\":\"mx-sm-6\",\"mb-sm-6\":\"mb-sm-6\",\"ml-sm-6\":\"ml-sm-6\",\"m-sm-7\":\"m-sm-7\",\"mt-sm-7\":\"mt-sm-7\",\"my-sm-7\":\"my-sm-7\",\"mr-sm-7\":\"mr-sm-7\",\"mx-sm-7\":\"mx-sm-7\",\"mb-sm-7\":\"mb-sm-7\",\"ml-sm-7\":\"ml-sm-7\",\"p-sm--1\":\"p-sm--1\",\"pt-sm--1\":\"pt-sm--1\",\"py-sm--1\":\"py-sm--1\",\"pr-sm--1\":\"pr-sm--1\",\"px-sm--1\":\"px-sm--1\",\"pb-sm--1\":\"pb-sm--1\",\"pl-sm--1\":\"pl-sm--1\",\"p-sm-0\":\"p-sm-0\",\"pt-sm-0\":\"pt-sm-0\",\"py-sm-0\":\"py-sm-0\",\"pr-sm-0\":\"pr-sm-0\",\"px-sm-0\":\"px-sm-0\",\"pb-sm-0\":\"pb-sm-0\",\"pl-sm-0\":\"pl-sm-0\",\"p-sm-1\":\"p-sm-1\",\"pt-sm-1\":\"pt-sm-1\",\"py-sm-1\":\"py-sm-1\",\"pr-sm-1\":\"pr-sm-1\",\"px-sm-1\":\"px-sm-1\",\"pb-sm-1\":\"pb-sm-1\",\"pl-sm-1\":\"pl-sm-1\",\"p-sm-2\":\"p-sm-2\",\"pt-sm-2\":\"pt-sm-2\",\"py-sm-2\":\"py-sm-2\",\"pr-sm-2\":\"pr-sm-2\",\"px-sm-2\":\"px-sm-2\",\"pb-sm-2\":\"pb-sm-2\",\"pl-sm-2\":\"pl-sm-2\",\"p-sm-3\":\"p-sm-3\",\"pt-sm-3\":\"pt-sm-3\",\"py-sm-3\":\"py-sm-3\",\"pr-sm-3\":\"pr-sm-3\",\"px-sm-3\":\"px-sm-3\",\"pb-sm-3\":\"pb-sm-3\",\"pl-sm-3\":\"pl-sm-3\",\"p-sm-4\":\"p-sm-4\",\"pt-sm-4\":\"pt-sm-4\",\"py-sm-4\":\"py-sm-4\",\"pr-sm-4\":\"pr-sm-4\",\"px-sm-4\":\"px-sm-4\",\"pb-sm-4\":\"pb-sm-4\",\"pl-sm-4\":\"pl-sm-4\",\"p-sm-5\":\"p-sm-5\",\"pt-sm-5\":\"pt-sm-5\",\"py-sm-5\":\"py-sm-5\",\"pr-sm-5\":\"pr-sm-5\",\"px-sm-5\":\"px-sm-5\",\"pb-sm-5\":\"pb-sm-5\",\"pl-sm-5\":\"pl-sm-5\",\"p-sm-6\":\"p-sm-6\",\"pt-sm-6\":\"pt-sm-6\",\"py-sm-6\":\"py-sm-6\",\"pr-sm-6\":\"pr-sm-6\",\"px-sm-6\":\"px-sm-6\",\"pb-sm-6\":\"pb-sm-6\",\"pl-sm-6\":\"pl-sm-6\",\"p-sm-7\":\"p-sm-7\",\"pt-sm-7\":\"pt-sm-7\",\"py-sm-7\":\"py-sm-7\",\"pr-sm-7\":\"pr-sm-7\",\"px-sm-7\":\"px-sm-7\",\"pb-sm-7\":\"pb-sm-7\",\"pl-sm-7\":\"pl-sm-7\",\"m-sm-auto\":\"m-sm-auto\",\"mt-sm-auto\":\"mt-sm-auto\",\"my-sm-auto\":\"my-sm-auto\",\"mr-sm-auto\":\"mr-sm-auto\",\"mx-sm-auto\":\"mx-sm-auto\",\"mb-sm-auto\":\"mb-sm-auto\",\"ml-sm-auto\":\"ml-sm-auto\",\"m-md--1\":\"m-md--1\",\"mt-md--1\":\"mt-md--1\",\"my-md--1\":\"my-md--1\",\"mr-md--1\":\"mr-md--1\",\"mx-md--1\":\"mx-md--1\",\"mb-md--1\":\"mb-md--1\",\"ml-md--1\":\"ml-md--1\",\"m-md-0\":\"m-md-0\",\"mt-md-0\":\"mt-md-0\",\"my-md-0\":\"my-md-0\",\"mr-md-0\":\"mr-md-0\",\"mx-md-0\":\"mx-md-0\",\"mb-md-0\":\"mb-md-0\",\"ml-md-0\":\"ml-md-0\",\"m-md-1\":\"m-md-1\",\"mt-md-1\":\"mt-md-1\",\"my-md-1\":\"my-md-1\",\"mr-md-1\":\"mr-md-1\",\"mx-md-1\":\"mx-md-1\",\"mb-md-1\":\"mb-md-1\",\"ml-md-1\":\"ml-md-1\",\"m-md-2\":\"m-md-2\",\"mt-md-2\":\"mt-md-2\",\"my-md-2\":\"my-md-2\",\"mr-md-2\":\"mr-md-2\",\"mx-md-2\":\"mx-md-2\",\"mb-md-2\":\"mb-md-2\",\"ml-md-2\":\"ml-md-2\",\"m-md-3\":\"m-md-3\",\"mt-md-3\":\"mt-md-3\",\"my-md-3\":\"my-md-3\",\"mr-md-3\":\"mr-md-3\",\"mx-md-3\":\"mx-md-3\",\"mb-md-3\":\"mb-md-3\",\"ml-md-3\":\"ml-md-3\",\"m-md-4\":\"m-md-4\",\"mt-md-4\":\"mt-md-4\",\"my-md-4\":\"my-md-4\",\"mr-md-4\":\"mr-md-4\",\"mx-md-4\":\"mx-md-4\",\"mb-md-4\":\"mb-md-4\",\"ml-md-4\":\"ml-md-4\",\"m-md-5\":\"m-md-5\",\"mt-md-5\":\"mt-md-5\",\"my-md-5\":\"my-md-5\",\"mr-md-5\":\"mr-md-5\",\"mx-md-5\":\"mx-md-5\",\"mb-md-5\":\"mb-md-5\",\"ml-md-5\":\"ml-md-5\",\"m-md-6\":\"m-md-6\",\"mt-md-6\":\"mt-md-6\",\"my-md-6\":\"my-md-6\",\"mr-md-6\":\"mr-md-6\",\"mx-md-6\":\"mx-md-6\",\"mb-md-6\":\"mb-md-6\",\"ml-md-6\":\"ml-md-6\",\"m-md-7\":\"m-md-7\",\"mt-md-7\":\"mt-md-7\",\"my-md-7\":\"my-md-7\",\"mr-md-7\":\"mr-md-7\",\"mx-md-7\":\"mx-md-7\",\"mb-md-7\":\"mb-md-7\",\"ml-md-7\":\"ml-md-7\",\"p-md--1\":\"p-md--1\",\"pt-md--1\":\"pt-md--1\",\"py-md--1\":\"py-md--1\",\"pr-md--1\":\"pr-md--1\",\"px-md--1\":\"px-md--1\",\"pb-md--1\":\"pb-md--1\",\"pl-md--1\":\"pl-md--1\",\"p-md-0\":\"p-md-0\",\"pt-md-0\":\"pt-md-0\",\"py-md-0\":\"py-md-0\",\"pr-md-0\":\"pr-md-0\",\"px-md-0\":\"px-md-0\",\"pb-md-0\":\"pb-md-0\",\"pl-md-0\":\"pl-md-0\",\"p-md-1\":\"p-md-1\",\"pt-md-1\":\"pt-md-1\",\"py-md-1\":\"py-md-1\",\"pr-md-1\":\"pr-md-1\",\"px-md-1\":\"px-md-1\",\"pb-md-1\":\"pb-md-1\",\"pl-md-1\":\"pl-md-1\",\"p-md-2\":\"p-md-2\",\"pt-md-2\":\"pt-md-2\",\"py-md-2\":\"py-md-2\",\"pr-md-2\":\"pr-md-2\",\"px-md-2\":\"px-md-2\",\"pb-md-2\":\"pb-md-2\",\"pl-md-2\":\"pl-md-2\",\"p-md-3\":\"p-md-3\",\"pt-md-3\":\"pt-md-3\",\"py-md-3\":\"py-md-3\",\"pr-md-3\":\"pr-md-3\",\"px-md-3\":\"px-md-3\",\"pb-md-3\":\"pb-md-3\",\"pl-md-3\":\"pl-md-3\",\"p-md-4\":\"p-md-4\",\"pt-md-4\":\"pt-md-4\",\"py-md-4\":\"py-md-4\",\"pr-md-4\":\"pr-md-4\",\"px-md-4\":\"px-md-4\",\"pb-md-4\":\"pb-md-4\",\"pl-md-4\":\"pl-md-4\",\"p-md-5\":\"p-md-5\",\"pt-md-5\":\"pt-md-5\",\"py-md-5\":\"py-md-5\",\"pr-md-5\":\"pr-md-5\",\"px-md-5\":\"px-md-5\",\"pb-md-5\":\"pb-md-5\",\"pl-md-5\":\"pl-md-5\",\"p-md-6\":\"p-md-6\",\"pt-md-6\":\"pt-md-6\",\"py-md-6\":\"py-md-6\",\"pr-md-6\":\"pr-md-6\",\"px-md-6\":\"px-md-6\",\"pb-md-6\":\"pb-md-6\",\"pl-md-6\":\"pl-md-6\",\"p-md-7\":\"p-md-7\",\"pt-md-7\":\"pt-md-7\",\"py-md-7\":\"py-md-7\",\"pr-md-7\":\"pr-md-7\",\"px-md-7\":\"px-md-7\",\"pb-md-7\":\"pb-md-7\",\"pl-md-7\":\"pl-md-7\",\"m-md-auto\":\"m-md-auto\",\"mt-md-auto\":\"mt-md-auto\",\"my-md-auto\":\"my-md-auto\",\"mr-md-auto\":\"mr-md-auto\",\"mx-md-auto\":\"mx-md-auto\",\"mb-md-auto\":\"mb-md-auto\",\"ml-md-auto\":\"ml-md-auto\",\"m-lg--1\":\"m-lg--1\",\"mt-lg--1\":\"mt-lg--1\",\"my-lg--1\":\"my-lg--1\",\"mr-lg--1\":\"mr-lg--1\",\"mx-lg--1\":\"mx-lg--1\",\"mb-lg--1\":\"mb-lg--1\",\"ml-lg--1\":\"ml-lg--1\",\"m-lg-0\":\"m-lg-0\",\"mt-lg-0\":\"mt-lg-0\",\"my-lg-0\":\"my-lg-0\",\"mr-lg-0\":\"mr-lg-0\",\"mx-lg-0\":\"mx-lg-0\",\"mb-lg-0\":\"mb-lg-0\",\"ml-lg-0\":\"ml-lg-0\",\"m-lg-1\":\"m-lg-1\",\"mt-lg-1\":\"mt-lg-1\",\"my-lg-1\":\"my-lg-1\",\"mr-lg-1\":\"mr-lg-1\",\"mx-lg-1\":\"mx-lg-1\",\"mb-lg-1\":\"mb-lg-1\",\"ml-lg-1\":\"ml-lg-1\",\"m-lg-2\":\"m-lg-2\",\"mt-lg-2\":\"mt-lg-2\",\"my-lg-2\":\"my-lg-2\",\"mr-lg-2\":\"mr-lg-2\",\"mx-lg-2\":\"mx-lg-2\",\"mb-lg-2\":\"mb-lg-2\",\"ml-lg-2\":\"ml-lg-2\",\"m-lg-3\":\"m-lg-3\",\"mt-lg-3\":\"mt-lg-3\",\"my-lg-3\":\"my-lg-3\",\"mr-lg-3\":\"mr-lg-3\",\"mx-lg-3\":\"mx-lg-3\",\"mb-lg-3\":\"mb-lg-3\",\"ml-lg-3\":\"ml-lg-3\",\"m-lg-4\":\"m-lg-4\",\"mt-lg-4\":\"mt-lg-4\",\"my-lg-4\":\"my-lg-4\",\"mr-lg-4\":\"mr-lg-4\",\"mx-lg-4\":\"mx-lg-4\",\"mb-lg-4\":\"mb-lg-4\",\"ml-lg-4\":\"ml-lg-4\",\"m-lg-5\":\"m-lg-5\",\"mt-lg-5\":\"mt-lg-5\",\"my-lg-5\":\"my-lg-5\",\"mr-lg-5\":\"mr-lg-5\",\"mx-lg-5\":\"mx-lg-5\",\"mb-lg-5\":\"mb-lg-5\",\"ml-lg-5\":\"ml-lg-5\",\"m-lg-6\":\"m-lg-6\",\"mt-lg-6\":\"mt-lg-6\",\"my-lg-6\":\"my-lg-6\",\"mr-lg-6\":\"mr-lg-6\",\"mx-lg-6\":\"mx-lg-6\",\"mb-lg-6\":\"mb-lg-6\",\"ml-lg-6\":\"ml-lg-6\",\"m-lg-7\":\"m-lg-7\",\"mt-lg-7\":\"mt-lg-7\",\"my-lg-7\":\"my-lg-7\",\"mr-lg-7\":\"mr-lg-7\",\"mx-lg-7\":\"mx-lg-7\",\"mb-lg-7\":\"mb-lg-7\",\"ml-lg-7\":\"ml-lg-7\",\"p-lg--1\":\"p-lg--1\",\"pt-lg--1\":\"pt-lg--1\",\"py-lg--1\":\"py-lg--1\",\"pr-lg--1\":\"pr-lg--1\",\"px-lg--1\":\"px-lg--1\",\"pb-lg--1\":\"pb-lg--1\",\"pl-lg--1\":\"pl-lg--1\",\"p-lg-0\":\"p-lg-0\",\"pt-lg-0\":\"pt-lg-0\",\"py-lg-0\":\"py-lg-0\",\"pr-lg-0\":\"pr-lg-0\",\"px-lg-0\":\"px-lg-0\",\"pb-lg-0\":\"pb-lg-0\",\"pl-lg-0\":\"pl-lg-0\",\"p-lg-1\":\"p-lg-1\",\"pt-lg-1\":\"pt-lg-1\",\"py-lg-1\":\"py-lg-1\",\"pr-lg-1\":\"pr-lg-1\",\"px-lg-1\":\"px-lg-1\",\"pb-lg-1\":\"pb-lg-1\",\"pl-lg-1\":\"pl-lg-1\",\"p-lg-2\":\"p-lg-2\",\"pt-lg-2\":\"pt-lg-2\",\"py-lg-2\":\"py-lg-2\",\"pr-lg-2\":\"pr-lg-2\",\"px-lg-2\":\"px-lg-2\",\"pb-lg-2\":\"pb-lg-2\",\"pl-lg-2\":\"pl-lg-2\",\"p-lg-3\":\"p-lg-3\",\"pt-lg-3\":\"pt-lg-3\",\"py-lg-3\":\"py-lg-3\",\"pr-lg-3\":\"pr-lg-3\",\"px-lg-3\":\"px-lg-3\",\"pb-lg-3\":\"pb-lg-3\",\"pl-lg-3\":\"pl-lg-3\",\"p-lg-4\":\"p-lg-4\",\"pt-lg-4\":\"pt-lg-4\",\"py-lg-4\":\"py-lg-4\",\"pr-lg-4\":\"pr-lg-4\",\"px-lg-4\":\"px-lg-4\",\"pb-lg-4\":\"pb-lg-4\",\"pl-lg-4\":\"pl-lg-4\",\"p-lg-5\":\"p-lg-5\",\"pt-lg-5\":\"pt-lg-5\",\"py-lg-5\":\"py-lg-5\",\"pr-lg-5\":\"pr-lg-5\",\"px-lg-5\":\"px-lg-5\",\"pb-lg-5\":\"pb-lg-5\",\"pl-lg-5\":\"pl-lg-5\",\"p-lg-6\":\"p-lg-6\",\"pt-lg-6\":\"pt-lg-6\",\"py-lg-6\":\"py-lg-6\",\"pr-lg-6\":\"pr-lg-6\",\"px-lg-6\":\"px-lg-6\",\"pb-lg-6\":\"pb-lg-6\",\"pl-lg-6\":\"pl-lg-6\",\"p-lg-7\":\"p-lg-7\",\"pt-lg-7\":\"pt-lg-7\",\"py-lg-7\":\"py-lg-7\",\"pr-lg-7\":\"pr-lg-7\",\"px-lg-7\":\"px-lg-7\",\"pb-lg-7\":\"pb-lg-7\",\"pl-lg-7\":\"pl-lg-7\",\"m-lg-auto\":\"m-lg-auto\",\"mt-lg-auto\":\"mt-lg-auto\",\"my-lg-auto\":\"my-lg-auto\",\"mr-lg-auto\":\"mr-lg-auto\",\"mx-lg-auto\":\"mx-lg-auto\",\"mb-lg-auto\":\"mb-lg-auto\",\"ml-lg-auto\":\"ml-lg-auto\",\"m-xl--1\":\"m-xl--1\",\"mt-xl--1\":\"mt-xl--1\",\"my-xl--1\":\"my-xl--1\",\"mr-xl--1\":\"mr-xl--1\",\"mx-xl--1\":\"mx-xl--1\",\"mb-xl--1\":\"mb-xl--1\",\"ml-xl--1\":\"ml-xl--1\",\"m-xl-0\":\"m-xl-0\",\"mt-xl-0\":\"mt-xl-0\",\"my-xl-0\":\"my-xl-0\",\"mr-xl-0\":\"mr-xl-0\",\"mx-xl-0\":\"mx-xl-0\",\"mb-xl-0\":\"mb-xl-0\",\"ml-xl-0\":\"ml-xl-0\",\"m-xl-1\":\"m-xl-1\",\"mt-xl-1\":\"mt-xl-1\",\"my-xl-1\":\"my-xl-1\",\"mr-xl-1\":\"mr-xl-1\",\"mx-xl-1\":\"mx-xl-1\",\"mb-xl-1\":\"mb-xl-1\",\"ml-xl-1\":\"ml-xl-1\",\"m-xl-2\":\"m-xl-2\",\"mt-xl-2\":\"mt-xl-2\",\"my-xl-2\":\"my-xl-2\",\"mr-xl-2\":\"mr-xl-2\",\"mx-xl-2\":\"mx-xl-2\",\"mb-xl-2\":\"mb-xl-2\",\"ml-xl-2\":\"ml-xl-2\",\"m-xl-3\":\"m-xl-3\",\"mt-xl-3\":\"mt-xl-3\",\"my-xl-3\":\"my-xl-3\",\"mr-xl-3\":\"mr-xl-3\",\"mx-xl-3\":\"mx-xl-3\",\"mb-xl-3\":\"mb-xl-3\",\"ml-xl-3\":\"ml-xl-3\",\"m-xl-4\":\"m-xl-4\",\"mt-xl-4\":\"mt-xl-4\",\"my-xl-4\":\"my-xl-4\",\"mr-xl-4\":\"mr-xl-4\",\"mx-xl-4\":\"mx-xl-4\",\"mb-xl-4\":\"mb-xl-4\",\"ml-xl-4\":\"ml-xl-4\",\"m-xl-5\":\"m-xl-5\",\"mt-xl-5\":\"mt-xl-5\",\"my-xl-5\":\"my-xl-5\",\"mr-xl-5\":\"mr-xl-5\",\"mx-xl-5\":\"mx-xl-5\",\"mb-xl-5\":\"mb-xl-5\",\"ml-xl-5\":\"ml-xl-5\",\"m-xl-6\":\"m-xl-6\",\"mt-xl-6\":\"mt-xl-6\",\"my-xl-6\":\"my-xl-6\",\"mr-xl-6\":\"mr-xl-6\",\"mx-xl-6\":\"mx-xl-6\",\"mb-xl-6\":\"mb-xl-6\",\"ml-xl-6\":\"ml-xl-6\",\"m-xl-7\":\"m-xl-7\",\"mt-xl-7\":\"mt-xl-7\",\"my-xl-7\":\"my-xl-7\",\"mr-xl-7\":\"mr-xl-7\",\"mx-xl-7\":\"mx-xl-7\",\"mb-xl-7\":\"mb-xl-7\",\"ml-xl-7\":\"ml-xl-7\",\"p-xl--1\":\"p-xl--1\",\"pt-xl--1\":\"pt-xl--1\",\"py-xl--1\":\"py-xl--1\",\"pr-xl--1\":\"pr-xl--1\",\"px-xl--1\":\"px-xl--1\",\"pb-xl--1\":\"pb-xl--1\",\"pl-xl--1\":\"pl-xl--1\",\"p-xl-0\":\"p-xl-0\",\"pt-xl-0\":\"pt-xl-0\",\"py-xl-0\":\"py-xl-0\",\"pr-xl-0\":\"pr-xl-0\",\"px-xl-0\":\"px-xl-0\",\"pb-xl-0\":\"pb-xl-0\",\"pl-xl-0\":\"pl-xl-0\",\"p-xl-1\":\"p-xl-1\",\"pt-xl-1\":\"pt-xl-1\",\"py-xl-1\":\"py-xl-1\",\"pr-xl-1\":\"pr-xl-1\",\"px-xl-1\":\"px-xl-1\",\"pb-xl-1\":\"pb-xl-1\",\"pl-xl-1\":\"pl-xl-1\",\"p-xl-2\":\"p-xl-2\",\"pt-xl-2\":\"pt-xl-2\",\"py-xl-2\":\"py-xl-2\",\"pr-xl-2\":\"pr-xl-2\",\"px-xl-2\":\"px-xl-2\",\"pb-xl-2\":\"pb-xl-2\",\"pl-xl-2\":\"pl-xl-2\",\"p-xl-3\":\"p-xl-3\",\"pt-xl-3\":\"pt-xl-3\",\"py-xl-3\":\"py-xl-3\",\"pr-xl-3\":\"pr-xl-3\",\"px-xl-3\":\"px-xl-3\",\"pb-xl-3\":\"pb-xl-3\",\"pl-xl-3\":\"pl-xl-3\",\"p-xl-4\":\"p-xl-4\",\"pt-xl-4\":\"pt-xl-4\",\"py-xl-4\":\"py-xl-4\",\"pr-xl-4\":\"pr-xl-4\",\"px-xl-4\":\"px-xl-4\",\"pb-xl-4\":\"pb-xl-4\",\"pl-xl-4\":\"pl-xl-4\",\"p-xl-5\":\"p-xl-5\",\"pt-xl-5\":\"pt-xl-5\",\"py-xl-5\":\"py-xl-5\",\"pr-xl-5\":\"pr-xl-5\",\"px-xl-5\":\"px-xl-5\",\"pb-xl-5\":\"pb-xl-5\",\"pl-xl-5\":\"pl-xl-5\",\"p-xl-6\":\"p-xl-6\",\"pt-xl-6\":\"pt-xl-6\",\"py-xl-6\":\"py-xl-6\",\"pr-xl-6\":\"pr-xl-6\",\"px-xl-6\":\"px-xl-6\",\"pb-xl-6\":\"pb-xl-6\",\"pl-xl-6\":\"pl-xl-6\",\"p-xl-7\":\"p-xl-7\",\"pt-xl-7\":\"pt-xl-7\",\"py-xl-7\":\"py-xl-7\",\"pr-xl-7\":\"pr-xl-7\",\"px-xl-7\":\"px-xl-7\",\"pb-xl-7\":\"pb-xl-7\",\"pl-xl-7\":\"pl-xl-7\",\"m-xl-auto\":\"m-xl-auto\",\"mt-xl-auto\":\"mt-xl-auto\",\"my-xl-auto\":\"my-xl-auto\",\"mr-xl-auto\":\"mr-xl-auto\",\"mx-xl-auto\":\"mx-xl-auto\",\"mb-xl-auto\":\"mb-xl-auto\",\"ml-xl-auto\":\"ml-xl-auto\",\"u-spacing\":\"u-spacing\",\"u-spacing-vertical\":\"u-spacing-vertical\",\"u-spacing-top\":\"u-spacing-top\",\"u-spacing-videoframe\":\"u-spacing-videoframe\",\"u-spacing-videoframe--full-center\":\"u-spacing-videoframe--full-center\",\"u-spacing--bottom\":\"u-spacing--bottom\",\"c-fixed-a\":\"c-fixed-a\",\"theme\":\"theme\",\"icon\":\"icon\",\"c-icon\":\"c-icon\",\"c-icon--search\":\"c-icon--search\",\"c-icon--list\":\"c-icon--list\",\"c-icon--tile\":\"c-icon--tile\",\"c-icon--prev\":\"c-icon--prev\",\"c-icon--next\":\"c-icon--next\",\"icon-insta\":\"icon-insta\",\"icon-linkedin\":\"icon-linkedin\",\"icon-film\":\"icon-film\",\"icon-pdf\":\"icon-pdf\",\"icon-book-open\":\"icon-book-open\",\"icon-cross\":\"icon-cross\",\"icon-logo\":\"icon-logo\",\"icon-magnifier\":\"icon-magnifier\",\"icon-list\":\"icon-list\",\"icon-minus\":\"icon-minus\",\"icon-arrow_down\":\"icon-arrow_down\",\"icon-arrow_left\":\"icon-arrow_left\",\"icon-arrow_right\":\"icon-arrow_right\",\"icon-arrow_up\":\"icon-arrow_up\",\"icon-plus\":\"icon-plus\",\"icon-search\":\"icon-search\",\"icon-book\":\"icon-book\",\"icon-facebook\":\"icon-facebook\",\"icon-twitter\":\"icon-twitter\",\"text-font-default\":\"text-font-default\",\"text-font-default--extended\":\"text-font-default--extended\",\"text-block\":\"text-block\",\"text-white\":\"text-white\",\"text-black\":\"text-black\",\"text-icon\":\"text-icon\",\"nav-open\":\"nav-open\",\"c-navbar\":\"c-navbar\",\"c-navbar__nav\":\"c-navbar__nav\",\"c-navbar__nav--meta\":\"c-navbar__nav--meta\",\"c-navbar__nav--subnav\":\"c-navbar__nav--subnav\",\"c-navbar__item\":\"c-navbar__item\",\"c-navbar__item__link\":\"c-navbar__item__link\",\"is-active\":\"is-active\",\"c-navbar__item--small\":\"c-navbar__item--small\",\"c-navbar__collapse\":\"c-navbar__collapse\",\"c-navbar--main\":\"c-navbar--main\",\"u-hamburger\":\"u-hamburger\",\"u-hamburger__inner\":\"u-hamburger__inner\",\"c-header\":\"c-header\",\"c-header__brand\":\"c-header__brand\",\"hide-logo\":\"hide-logo\",\"modal-open\":\"modal-open\",\"c-link\":\"c-link\",\"barba\":\"barba\",\"barba-leave-active\":\"barba-leave-active\",\"barba-enter-active\":\"barba-enter-active\",\"barba-leave\":\"barba-leave\",\"barba-enter\":\"barba-enter\",\"barba-leave-to\":\"barba-leave-to\",\"barba-enter-to\":\"barba-enter-to\",\"barba-appear-active\":\"barba-appear-active\",\"barba-appear\":\"barba-appear\",\"barba-appear-to\":\"barba-appear-to\",\"c-cookie-banner\":\"c-cookie-banner\",\"c-cookie-banner--transparent\":\"c-cookie-banner--transparent\",\"c-cookie-banner__content\":\"c-cookie-banner__content\",\"c-cookie-banner__link\":\"c-cookie-banner__link\",\"CybotCookiebotDialogPoweredbyCybot\":\"CybotCookiebotDialogPoweredbyCybot\",\"CybotCookiebotDialogPoweredByText\":\"CybotCookiebotDialogPoweredByText\",\"CookiebotWidget\":\"CookiebotWidget\",\"CookiebotWidget-body\":\"CookiebotWidget-body\",\"CookiebotWidget-main-logo\":\"CookiebotWidget-main-logo\",\"CookiebotWidget-consents-list\":\"CookiebotWidget-consents-list\",\"CookiebotWidget-approved\":\"CookiebotWidget-approved\",\"CookiebotWidget-consent-details\":\"CookiebotWidget-consent-details\",\"CookiebotWidget-btn-withdraw\":\"CookiebotWidget-btn-withdraw\",\"CookiebotWidget-btn-change\":\"CookiebotWidget-btn-change\",\"cookie-notice\":\"cookie-notice\",\"c-list\":\"c-list\",\"c-list__item\":\"c-list__item\",\"c-list--horizontal\":\"c-list--horizontal\",\"icon-stuecheli-facebook\":\"icon-stuecheli-facebook\",\"c-list__link\":\"c-list__link\",\"c-list--inline\":\"c-list--inline\",\"c-list--seperator\":\"c-list--seperator\",\"c-list--seperator-csv\":\"c-list--seperator-csv\",\"c-list--bordered\":\"c-list--bordered\",\"c-list--no-border\":\"c-list--no-border\",\"c-link--bright\":\"c-link--bright\",\"c-link--csv\":\"c-link--csv\",\"c-cover\":\"c-cover\",\"c-cover--crop\":\"c-cover--crop\",\"c-cover__text\":\"c-cover__text\",\"has-media\":\"has-media\",\"c-modal\":\"c-modal\",\"is-portrait\":\"is-portrait\",\"c-button\":\"c-button\",\"c-button--borderless\":\"c-button--borderless\",\"c-button--cookie-notice\":\"c-button--cookie-notice\",\"c-filter__item\":\"c-filter__item\",\"mixitup-control-active\":\"mixitup-control-active\",\"c-filter__select\":\"c-filter__select\",\"c-accordion\":\"c-accordion\",\"c-accordion--absolute\":\"c-accordion--absolute\",\"c-search\":\"c-search\",\"c-stage\":\"c-stage\",\"c-input-field\":\"c-input-field\",\"c-view\":\"c-view\",\"c-tile\":\"c-tile\",\"c-tile__image\":\"c-tile__image\",\"c-tile__image__wrapper\":\"c-tile__image__wrapper\",\"c-tile__title\":\"c-tile__title\",\"c-tile__link\":\"c-tile__link\",\"c-toggler\":\"c-toggler\",\"c-toggler__button\":\"c-toggler__button\",\"c-toggler__button--absolute\":\"c-toggler__button--absolute\",\"c-toggler__button--white\":\"c-toggler__button--white\",\"c-toggler__button--shadowed\":\"c-toggler__button--shadowed\",\"c-toggler__button--big\":\"c-toggler__button--big\",\"c-indicator__icon\":\"c-indicator__icon\",\"c-indicator__icon--arrow-down\":\"c-indicator__icon--arrow-down\",\"c-indicator\":\"c-indicator\",\"c-language-chooser\":\"c-language-chooser\",\"c-special-cover\":\"c-special-cover\",\"fade-cover-out\":\"fade-cover-out\",\"c-special-cover__title\":\"c-special-cover__title\",\"fade-cover-in\":\"fade-cover-in\",\"c-medias\":\"c-medias\",\"c-medias--element\":\"c-medias--element\",\"c-project-nav\":\"c-project-nav\",\"c-project-nav__wrapper\":\"c-project-nav__wrapper\",\"c-project-nav__button\":\"c-project-nav__button\",\"c-project-nav__button--absolute\":\"c-project-nav__button--absolute\",\"mixitup-fail-message\":\"mixitup-fail-message\",\"mixitup-container-failed\":\"mixitup-container-failed\",\"c-the-wall__list\":\"c-the-wall__list\",\"c-table__head\":\"c-table__head\",\"c-table__head__item\":\"c-table__head__item\",\"c-filter\":\"c-filter\",\"c-table__head__reset\":\"c-table__head__reset\",\"c-table__lable\":\"c-table__lable\",\"c-table__item\":\"c-table__item\",\"c-sort\":\"c-sort\",\"c-sort__item\":\"c-sort__item\",\"c-sort__item--asc\":\"c-sort__item--asc\",\"c-sort__item--desc\":\"c-sort__item--desc\",\"c-swiper\":\"c-swiper\",\"c-swiper--cover\":\"c-swiper--cover\",\"c-swiper__slide\":\"c-swiper__slide\",\"c-swiper__pagination\":\"c-swiper__pagination\",\"c-swiper__controlls\":\"c-swiper__controlls\",\"c-swiper__controlls__item\":\"c-swiper__controlls__item\",\"c-swiper__controlls__item--prev\":\"c-swiper__controlls__item--prev\",\"c-swiper__controlls__item--next\":\"c-swiper__controlls__item--next\",\"c-swiper--fading\":\"c-swiper--fading\",\"c-video-preview\":\"c-video-preview\",\"c-video-preview__icon\":\"c-video-preview__icon\"};","import './main.scss';\r\n\r\nimport { factory } from '@opten/compiler/factory';\r\nimport { CollapseComponent } from './components/collapse';\r\nimport { CookieBanner } from './components/cookie-banner';\r\n// import { PageTransition } from './components/page-transition';\r\nimport { MixitupComponent } from './components/mixitup';\r\nimport { SwiperComponent } from './components/swiper';\r\nimport { ViewComponent } from './components/view';\r\nimport { Modal } from './components/modal';\r\nimport { SwiperMinimalisticComponent } from './components/swipper-minimalistic';\r\nimport { OpenAccordionByLink } from './components/link-to-accordion';\r\n\r\n\r\nfactory([\r\n\tModal,\r\n\tCookieBanner,\r\n\tCollapseComponent,\r\n\t// PageTransition,\r\n\tMixitupComponent,\r\n\t// SortComponent,\r\n\tSwiperComponent,\r\n\tSwiperMinimalisticComponent,\r\n ViewComponent,\r\n OpenAccordionByLink\r\n])(document.body);","import { addClass } from '@opten/dom/add-class';\r\nimport { hasClass } from '@opten/dom/has-class';\r\nimport { removeClass } from '@opten/dom/remove-class';\r\n\r\nimport { getSelectorElementFromElement } from '@opten/dom/get-selector-element-from-element';\r\nimport { addTransitionEndListener } from '@opten/transition/add-transition-end-listener';\r\n\r\nimport { eventNamespaceFactory } from '@opten/events/event-namespace-factory';\r\n\r\nconst stringCollapse = 'Collapse';\r\n\r\nexport interface CollapseOptions {\r\n\tcomponentClass?: string;\r\n\tactiveClass?: string;\r\n\tshowClass?: string;\r\n\tshowClassDesktop?: string;\r\n\tdesktopWidth?: number;\r\n\tcollapsingClass?: string;\r\n\tparentElement?: HTMLElement;\r\n\ttransitionDuration?: number;\r\n\tanimateProp?: 'height' | 'width' | false;\r\n\tisHideable?: boolean;\r\n\tcloseSiblings?: boolean;\r\n\tuseShowClassDesktop?: boolean;\r\n\tdataParentSelector?: string;\r\n\tdataTargetSelector?: string;\r\n\tdataToggleSelector?: string;\r\n\threfSelector?: string;\r\n}\r\n\r\nexport class Collapse {\r\n\tprivate options: CollapseOptions = {\r\n\t\tactiveClass: 'is-active',\r\n\t\tanimateProp: 'height',\r\n\t\tcollapsingClass: 'collapse--collapsing',\r\n\t\tcomponentClass: 'collapse',\r\n\t\tshowClass: 'collapse--show',\r\n\t\tshowClassDesktop: 'collapse--md-show',\r\n\t\tdesktopWidth: 1024,\r\n\t\ttransitionDuration: 600,\r\n\t\tisHideable: true,\r\n\t\tcloseSiblings: true,\r\n\t\tuseShowClassDesktop: false,\r\n\t\tdataParentSelector: 'data-parent',\r\n\t\tdataTargetSelector: 'data-target',\r\n\t\tdataToggleSelector: 'data-toggle',\r\n\t\threfSelector: 'href'\r\n\t};\r\n\r\n\tprivate parent: HTMLElement;\r\n\tprivate triggers: HTMLElement[];\r\n\r\n\t// TODO: Uggly naming\r\n\tget toggles(): HTMLElement[] {\r\n\t\treturn this.triggers;\r\n\t}\r\n\r\n\tprivate target: Element;\r\n\tprivate isTransitioning = false; // when true it will prevent click handlers\r\n\r\n\t// event names\r\n\tprivate eventNamespaceFn = eventNamespaceFactory('opten.collapse');\r\n\r\n\tconstructor(public element: HTMLElement, options?: CollapseOptions) {\r\n\t\tthis.options = {\r\n\t\t\t...this.options,\r\n\t\t\t...options\r\n\t\t};\r\n\r\n\t\tif (!this.options.parentElement) {\r\n\t\t\tthis.options.parentElement = getSelectorElementFromElement(\r\n\t\t\t\telement,\r\n\t\t\t\tthis.options.dataParentSelector,\r\n\t\t\t\tfalse\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tthis.init();\r\n\t}\r\n\r\n\tisOpen() {\r\n\t\tif (\r\n\t\t\tthis.options.useShowClassDesktop &&\r\n\t\t\twindow.outerWidth >= this.options.desktopWidth &&\r\n\t\t\thasClass(this.element, this.options.showClassDesktop)\r\n\t\t) {\r\n\t\t\taddClass(this.element, this.options.showClass);\r\n\t\t}\r\n\t\tremoveClass(this.element, this.options.showClassDesktop);\r\n\t\treturn hasClass(this.element, this.options.showClass);\r\n\t}\r\n\r\n\ttoggle() {\r\n\t\tif (this.isOpen()) {\r\n\t\t\tif (this.options.isHideable) {\r\n\t\t\t\tthis.hide();\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tthis.show();\r\n\t\t}\r\n\t}\r\n\r\n\tshow() {\r\n\t\tif (this.isTransitioning || this.isOpen()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.options.closeSiblings && this.parent) {\r\n\t\t\tconst selector = `[${this.options.dataParentSelector}=\"#${\r\n\t\t\t\tthis.parent.id\r\n\t\t\t}\"]`;\r\n\t\t\tconst actives = Array.from(\r\n\t\t\t\tthis.parent.querySelectorAll(\r\n\t\t\t\t\t`${selector}.${this.options.showClass}, ${selector}.${\r\n\t\t\t\t\t\tthis.options.collapsingClass\r\n\t\t\t\t\t}`\r\n\t\t\t\t)\r\n\t\t\t).filter(active => active !== this.target);\r\n\r\n\t\t\tif (actives && actives.length) {\r\n\t\t\t\tconst anyTransitioning = actives.filter(active => {\r\n\t\t\t\t\tconst collapseInstance = active[stringCollapse] as Collapse;\r\n\t\t\t\t\treturn collapseInstance && collapseInstance.isTransitioning;\r\n\t\t\t\t});\r\n\r\n\t\t\t\tif (anyTransitioning.length) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tactives.forEach(active =>\r\n\t\t\t\t\tCollapse.getInstance(active as HTMLElement).hide()\r\n\t\t\t\t);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis._handleShow(this.element, this.triggers);\r\n\t}\r\n\r\n\thide() {\r\n\t\tif (this.isTransitioning || !this.isOpen()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis._handleClose(this.element, this.triggers);\r\n\t}\r\n\r\n\tdestroy() {\r\n\t\tconst element = this.element;\r\n\r\n\t\tif (element[stringCollapse]) {\r\n\t\t\telement[stringCollapse] = null;\r\n\r\n\t\t\tremoveClass(element, this.options.componentClass);\r\n\t\t\tremoveClass(element, this.options.collapsingClass);\r\n\t\t\tremoveClass(element, this.options.showClass);\r\n\r\n\t\t\tif (this.options.animateProp) {\r\n\t\t\t\telement.style[this.options.animateProp] = null;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tprivate init() {\r\n\t\t// todo: only initalize once, like bootstrap does it?\r\n\t\tthis.triggers = Array.from(\r\n\t\t\tdocument.querySelectorAll(\r\n\t\t\t\t`[${this.options.hrefSelector}=\"#${this.element.id}\"], [${\r\n\t\t\t\t\tthis.options.dataTargetSelector\r\n\t\t\t\t}=\"#${this.element.id}\"]`\r\n\t\t\t)\r\n\t\t);\r\n\r\n\t\t// todo: why do we need that?\r\n\t\tconst toggles = Array.from(\r\n\t\t\tdocument.querySelectorAll(\r\n\t\t\t\t`[${this.options.dataToggleSelector}=\"collapse\"]`\r\n\t\t\t)\r\n\t\t);\r\n\t\tfor (const toggle of toggles) {\r\n\t\t\tconst target = getSelectorElementFromElement(\r\n\t\t\t\ttoggle,\r\n\t\t\t\tthis.options.dataTargetSelector\r\n\t\t\t);\r\n\t\t\tif (target !== null && target === this.element) {\r\n\t\t\t\tthis.target = target;\r\n\t\t\t\tthis.triggers.push(toggle as HTMLElement);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tthis.parent = this.options.parentElement;\r\n\r\n\t\t// init\r\n\t\tif (!(stringCollapse in this.element)) {\r\n\t\t\t// prevent adding event handlers twice\r\n\t\t\tthis.triggers.forEach(trigger =>\r\n\t\t\t\ttrigger.addEventListener('click', this.handleClick, false)\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tif (this.parent) {\r\n\t\t\tArray.from(\r\n\t\t\t\tthis.parent.querySelectorAll(\r\n\t\t\t\t\t`[${this.options.dataToggleSelector}=\"collapse\"][${\r\n\t\t\t\t\t\tthis.options.dataParentSelector\r\n\t\t\t\t\t}=\"#${this.parent.id}\"]`\r\n\t\t\t\t)\r\n\t\t\t).forEach(element => {\r\n\t\t\t\tthis._addAriaAndCollapsedClass(\r\n\t\t\t\t\tgetSelectorElementFromElement(\r\n\t\t\t\t\t\telement,\r\n\t\t\t\t\t\tthis.options.dataTargetSelector\r\n\t\t\t\t\t),\r\n\t\t\t\t\t[element]\r\n\t\t\t\t);\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tthis._addAriaAndCollapsedClass(this.element, this.triggers);\r\n\t\t}\r\n\r\n\t\taddClass(this.element, this.options.componentClass);\r\n\r\n\t\tthis.element[stringCollapse] = this;\r\n\t}\r\n\r\n\tprivate handleClick = (event: Event) => {\r\n\t\t// preventDefault only for elements (which change the URL) not inside the collapsible element\r\n\t\tconst trigger = event && (event.currentTarget as HTMLElement);\r\n\t\tif (trigger && trigger.tagName === 'A') {\r\n\t\t\tevent.preventDefault();\r\n\t\t}\r\n\r\n\t\tconst target = getSelectorElementFromElement(\r\n\t\t\ttrigger,\r\n\t\t\tthis.options.dataTargetSelector\r\n\t\t);\r\n\t\tlet data = target[stringCollapse] as Collapse;\r\n\r\n\t\tif (!data) {\r\n\t\t\tdata = trigger[stringCollapse] as Collapse;\r\n\t\t}\r\n\r\n\t\tif (target) {\r\n\t\t\tCollapse.getInstance(target, data.options).toggle();\r\n\t\t}\r\n\t};\r\n\r\n\tprivate _handleShow(collapseElement: HTMLElement, triggers?: Element[]) {\r\n\t\tthis.eventNamespaceFn(collapseElement, 'show');\r\n\r\n\t\tremoveClass(collapseElement, this.options.componentClass);\r\n\t\taddClass(collapseElement, this.options.collapsingClass);\r\n\t\tif (this.options.animateProp) {\r\n\t\t\tcollapseElement.style[this.options.animateProp] =\r\n\t\t\t\tcollapseElement.scrollHeight + 'px';\r\n\t\t}\r\n\r\n\t\tif (triggers && triggers.length) {\r\n\t\t\ttriggers.forEach(trigger => {\r\n\t\t\t\taddClass(trigger, this.options.activeClass);\r\n\t\t\t\ttrigger.setAttribute('aria-expanded', 'true');\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tthis.isTransitioning = true;\r\n\r\n\t\taddTransitionEndListener(\r\n\t\t\tcollapseElement,\r\n\t\t\t() => {\r\n\t\t\t\tremoveClass(collapseElement, this.options.collapsingClass);\r\n\t\t\t\taddClass(collapseElement, this.options.componentClass);\r\n\t\t\t\taddClass(collapseElement, this.options.showClass);\r\n\r\n\t\t\t\tthis.isTransitioning = false;\r\n\t\t\t\tif (this.options.animateProp) {\r\n\t\t\t\t\tcollapseElement.style[this.options.animateProp] = null;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.eventNamespaceFn(collapseElement, 'shown');\r\n\t\t\t},\r\n\t\t\tthis.options.transitionDuration\r\n\t\t);\r\n\t}\r\n\r\n\tprivate _handleClose(collapseElement: HTMLElement, triggers?: Element[]) {\r\n\t\tthis.eventNamespaceFn(collapseElement, 'hide');\r\n\r\n\t\tif (this.options.animateProp) {\r\n\t\t\tcollapseElement.style[this.options.animateProp] =\r\n\t\t\t\tcollapseElement.scrollHeight + 'px';\r\n\t\t}\r\n\r\n\t\taddClass(collapseElement, this.options.collapsingClass);\r\n\t\tremoveClass(collapseElement, this.options.componentClass);\r\n\t\tremoveClass(collapseElement, this.options.showClass);\r\n\t\t// force reflow to enable transition\r\n\t\tcollapseElement.offsetWidth; // tslint:disable-line\r\n\r\n\t\tif (triggers && triggers.length) {\r\n\t\t\ttriggers.forEach(trigger => {\r\n\t\t\t\tconst target = getSelectorElementFromElement(\r\n\t\t\t\t\ttrigger,\r\n\t\t\t\t\tthis.options.dataTargetSelector\r\n\t\t\t\t);\r\n\r\n\t\t\t\tif (target !== null) {\r\n\t\t\t\t\tif (!hasClass(target, this.options.showClass)) {\r\n\t\t\t\t\t\tremoveClass(trigger, this.options.activeClass);\r\n\t\t\t\t\t\ttrigger.setAttribute('aria-expanded', 'false');\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tthis.isTransitioning = true;\r\n\t\tif (this.options.animateProp) {\r\n\t\t\tcollapseElement.style[this.options.animateProp] = null;\r\n\t\t}\r\n\r\n\t\taddTransitionEndListener(\r\n\t\t\tcollapseElement,\r\n\t\t\t() => {\r\n\t\t\t\tthis.isTransitioning = false;\r\n\r\n\t\t\t\tremoveClass(collapseElement, this.options.collapsingClass);\r\n\t\t\t\taddClass(collapseElement, this.options.componentClass);\r\n\r\n\t\t\t\tif (this.options.animateProp) {\r\n\t\t\t\t\tcollapseElement.style[this.options.animateProp] = null;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis.eventNamespaceFn(collapseElement, 'hidden');\r\n\t\t\t},\r\n\t\t\tthis.options.transitionDuration\r\n\t\t);\r\n\t}\r\n\r\n\tprivate _addAriaAndCollapsedClass(element: Element, triggers: Element[]) {\r\n\t\tif (element) {\r\n\t\t\tconst isOpen = hasClass(element, this.options.showClass);\r\n\r\n\t\t\tif (triggers && triggers.length) {\r\n\t\t\t\ttriggers.forEach(trigger => {\r\n\t\t\t\t\tisOpen\r\n\t\t\t\t\t\t? addClass(trigger, this.options.activeClass)\r\n\t\t\t\t\t\t: removeClass(trigger, this.options.activeClass);\r\n\r\n\t\t\t\t\ttrigger.setAttribute(\r\n\t\t\t\t\t\t'aria-expanded',\r\n\t\t\t\t\t\tisOpen.toString().toLowerCase()\r\n\t\t\t\t\t);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tstatic getInstance(\r\n\t\telement: HTMLElement,\r\n\t\toptions?: CollapseOptions,\r\n\t\tcreate = true\r\n\t) {\r\n\t\tlet data = element[stringCollapse] as Collapse;\r\n\r\n\t\tif (!data && create) {\r\n\t\t\tdata = new Collapse(element, options);\r\n\t\t}\r\n\r\n\t\treturn data;\r\n\t}\r\n}\r\n\r\nexport function collapse(\r\n\telement: HTMLElement,\r\n\toptions?: CollapseOptions\r\n): Collapse {\r\n\tconsole.error(\r\n\t\t'collapse deprecated: use new Collapse(element, options) instead. (initialized elements can be accessed via Collapse.getInstance()'\r\n\t);\r\n\tlet data = element[stringCollapse] as Collapse;\r\n\r\n\tif (!data) {\r\n\t\tdata = new Collapse(element, options);\r\n\t}\r\n\r\n\treturn data;\r\n}\r\n","import { asHTMLElement } from '@opten/dom/as-html-element';\r\nimport { hasClass } from '@opten/dom/has-class';\r\nimport { isHTMLElement } from '@opten/dom/is-html-element';\r\n\r\nimport { Compiler } from '../';\r\nimport { Component } from '../metadata/component';\r\nimport { Reflector } from '../reflector';\r\nimport { Resolver } from '../resolver';\r\n\r\n// todo: cache, static, inject?\r\nconst reflector = new Reflector();\r\nconst resolver = new Resolver(reflector);\r\nconst compiler = new Compiler(resolver);\r\n\r\nexport function factory(components: any[]) {\r\n\treturn (rootElement: HTMLElement) => {\r\n\t\tconst observables = new Map();\r\n\t\tcomponents.forEach(componentType => {\r\n\t\t\t// todo: inject resolver, or cache?\r\n\t\t\t// todo: static or something to cache?\r\n\t\t\tconst component = resolver.resolve(componentType);\r\n\r\n\t\t\tif (component) {\r\n\t\t\t\tArray.from(\r\n\t\t\t\t\tdocument.getElementsByClassName(component.className)\r\n\t\t\t\t).forEach(node =>\r\n\t\t\t\t\tcompiler.compile(\r\n\t\t\t\t\t\tcomponent,\r\n\t\t\t\t\t\tnode as HTMLElement,\r\n\t\t\t\t\t\tcomponentType\r\n\t\t\t\t\t)\r\n\t\t\t\t);\r\n\r\n\t\t\t\tif (component.observe) {\r\n\t\t\t\t\tobservables.set(component, componentType);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tthrow new Error(\r\n\t\t\t\t\t`No @Component annotation for ${\r\n\t\t\t\t\t\tcomponentType ? componentType.name : componentType\r\n\t\t\t\t\t} found!`\r\n\t\t\t\t);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tif (observables.size) {\r\n\t\t\tnew MutationObserver(mutations => {\r\n\t\t\t\tconst componentInitializer = new Map void>();\r\n\r\n\t\t\t\tmutations.forEach(mutation => {\r\n\t\t\t\t\tobservables.forEach((value, key) =>\r\n\t\t\t\t\t\tArray.from(mutation.addedNodes)\r\n\t\t\t\t\t\t\t.filter(node => isHTMLElement(node))\r\n\t\t\t\t\t\t\t.map(node => asHTMLElement(node))\r\n\t\t\t\t\t\t\t.forEach(node => {\r\n\t\t\t\t\t\t\t\tconst comps = Array.from(\r\n\t\t\t\t\t\t\t\t\tnode.getElementsByClassName(key.className)\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\tif (hasClass(node, key.className)) {\r\n\t\t\t\t\t\t\t\t\tcomps.push(node);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tcomps.forEach(component => {\r\n\t\t\t\t\t\t\t\t\tcomponentInitializer.set(\r\n\t\t\t\t\t\t\t\t\t\tcomponent as HTMLElement,\r\n\t\t\t\t\t\t\t\t\t\t() =>\r\n\t\t\t\t\t\t\t\t\t\t\tcompiler.compile(\r\n\t\t\t\t\t\t\t\t\t\t\t\tkey,\r\n\t\t\t\t\t\t\t\t\t\t\t\tcomponent as HTMLElement,\r\n\t\t\t\t\t\t\t\t\t\t\t\tvalue\r\n\t\t\t\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t);\r\n\t\t\t\t});\r\n\r\n\t\t\t\tcomponentInitializer.forEach(c => c());\r\n\t\t\t}).observe(rootElement, {\r\n\t\t\t\tchildList: true,\r\n\t\t\t\tsubtree: true\r\n\t\t\t});\r\n\t\t}\r\n\t};\r\n}\r\n","import { Component } from './metadata/component';\r\nimport { Query } from './metadata/di';\r\nimport { OnInit } from './metadata/lifecycle';\r\nimport { Resolver } from './resolver';\r\nimport { isType } from './util/type';\r\n\r\n\r\n// todo: move whole project to @opten/initializer?\r\nexport class Compiler {\r\n\tprivate componentCache = new Map();\r\n\r\n\tconstructor(private resolver: Resolver) {}\r\n\r\n\tcompile(\r\n\t\tcomponent: Component,\r\n\t\tnode: HTMLElement,\r\n\t\tcomponentType: /*Type*/ any\r\n\t) {\r\n\t\t// todo: cache everything?\r\n\r\n\t\t// todo: cache that also?\r\n\t\tconst constructor = new componentType(node);\r\n\r\n\t\tif (this.componentCache.has(node)) {\r\n\t\t\tthis.componentCache.get(node).push(constructor);\r\n\t\t} else {\r\n\t\t\tthis.componentCache.set(node, [constructor]);\r\n\t\t}\r\n\r\n\t\tObject.keys(component.queries).forEach(propName => {\r\n\t\t\tconst query: Query = component.queries[propName];\r\n\r\n\t\t\t// todo: why do we have to inject the resolver?\r\n\t\t\t// can we not get the class name by some other way?\r\n\t\t\tconst target = this.resolver.resolve(query.selector);\r\n\r\n\t\t\tif (target) {\r\n\t\t\t\tconst targetNode = query.descendants ? node : document;\r\n\t\t\t\tconst nodes = targetNode.getElementsByClassName(\r\n\t\t\t\t\ttarget.className\r\n\t\t\t\t);\r\n\r\n\t\t\t\tconst cache = Array.from(nodes)\r\n\t\t\t\t\t.filter(o => (query.filter ? query.filter(o) : true))\r\n\t\t\t\t\t.map(e => this.componentCache.get(e as HTMLElement))\r\n\t\t\t\t\t.reduce((acc, val) => acc.concat(val), [])\r\n\t\t\t\t\t.filter(f => f.constructor === query.selector);\r\n\r\n\t\t\t\tconstructor[propName] = query.first ? cache[0] : cache;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tif (isType(constructor.onInit)) {\r\n\t\t\t(constructor as OnInit).onInit();\r\n\t\t}\r\n\t}\r\n}\r\n\r\n","import { makeDecorator, TypeDecorator } from '../util/decorators';\r\nimport { makeMetadataFactory, MetadataFactory } from '../util/factories';\r\n\r\nexport interface ComponentDecorator {\r\n\t(obj: Component): TypeDecorator;\r\n\tnew (obj: Component): Component;\r\n}\r\n\r\nexport interface Component {\r\n\tclassName?: string;\r\n\tobserve?: boolean;\r\n\tqueries?: { [key: string]: any };\r\n}\r\n\r\n// tslint:disable-next-line:variable-name\r\nexport const Component: ComponentDecorator = makeDecorator(\r\n\t'Component',\r\n\t(c: Component = {}) => ({ ...c })\r\n);\r\n\r\nexport const createComponent: MetadataFactory = makeMetadataFactory<\r\n\tComponent\r\n>('Component', (c: Component = {}) => ({ ...c }));\r\n","import { ANNOTATIONS, PROP_METADATA } from '../util/decorators';\r\nimport { isType, Type } from '../util/type';\r\n\r\n\r\n// todo: @opten/reflector? or @opten/initializer/reflector?\r\nexport class Reflector {\r\n\tannotations(typeOrFunc: Type): any[] {\r\n\t\tif (!isType(typeOrFunc)) {\r\n\t\t\treturn [];\r\n\t\t}\r\n\t\tconst parentCtor = getParentCtor(typeOrFunc);\r\n\t\tconst ownAnnotations =\r\n\t\t\tthis._ownAnnotations(typeOrFunc, parentCtor) || [];\r\n\t\tconst parentAnnotations =\r\n\t\t\tparentCtor !== Object ? this.annotations(parentCtor) : [];\r\n\t\treturn parentAnnotations.concat(ownAnnotations);\r\n\t}\r\n\r\n\tpropMetadata(typeOrFunc: any): { [key: string]: any[] } {\r\n\t\tif (!isType(typeOrFunc)) {\r\n\t\t\treturn {};\r\n\t\t}\r\n\t\tconst parentCtor = getParentCtor(typeOrFunc);\r\n\t\tconst propMetadata: { [key: string]: any[] } = {};\r\n\t\tif (parentCtor !== Object) {\r\n\t\t\tconst parentPropMetadata = this.propMetadata(parentCtor);\r\n\t\t\tObject.keys(parentPropMetadata).forEach(propName => {\r\n\t\t\t\tpropMetadata[propName] = parentPropMetadata[propName];\r\n\t\t\t});\r\n\t\t}\r\n\t\tconst ownPropMetadata = this._ownPropMetadata(typeOrFunc, parentCtor);\r\n\t\tif (ownPropMetadata) {\r\n\t\t\tObject.keys(ownPropMetadata).forEach(propName => {\r\n\t\t\t\tconst decorators: any[] = [];\r\n\t\t\t\tif (propMetadata.hasOwnProperty(propName)) {\r\n\t\t\t\t\tdecorators.push(...propMetadata[propName]);\r\n\t\t\t\t}\r\n\t\t\t\tdecorators.push(...ownPropMetadata[propName]);\r\n\t\t\t\tpropMetadata[propName] = decorators;\r\n\t\t\t});\r\n\t\t}\r\n\t\treturn propMetadata;\r\n\t}\r\n\r\n\tprivate _ownAnnotations(\r\n\t\ttypeOrFunc: Type,\r\n\t\tparentCtor: any\r\n\t): any[] | null {\r\n\t\t// API for metadata created by invoking the decorators.\r\n\t\tif (typeOrFunc.hasOwnProperty(ANNOTATIONS)) {\r\n\t\t\treturn (typeOrFunc as any)[ANNOTATIONS];\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n\r\n\tprivate _ownPropMetadata(\r\n\t\ttypeOrFunc: any,\r\n\t\tparentCtor: any\r\n\t): { [key: string]: any[] } | null {\r\n\t\t// API for metadata created by invoking the decorators.\r\n\t\tif (typeOrFunc.hasOwnProperty(PROP_METADATA)) {\r\n\t\t\treturn (typeOrFunc as any)[PROP_METADATA];\r\n\t\t}\r\n\t\treturn null;\r\n\t}\r\n}\r\n\r\nfunction getParentCtor(ctor: Type): Type {\r\n\tconst parentProto = Object.getPrototypeOf(ctor.prototype);\r\n\tconst parentCtor = parentProto ? parentProto.constructor : null;\r\n\t// Note: We always use `Object` as the null value\r\n\t// to simplify checking later on.\r\n\treturn parentCtor || Object;\r\n}\r\n","import { Component, createComponent } from '../metadata/component';\r\nimport { Query } from '../metadata/di';\r\nimport { Reflector } from '../reflector';\r\n\r\n\r\nconst QUERY_METADATA_IDENTIFIERS = [\r\n\t'ComponentRef',\r\n\t'ComponentRefs',\r\n\t'ChildRef',\r\n\t'ChildrenRef'\r\n];\r\n\r\n// todo: @opten/resolver? or @opten/initializer/resolver?\r\nexport class Resolver {\r\n\tconstructor(private reflector: Reflector) {}\r\n\r\n\t// propertyCache = new Map();\r\n\r\n\tresolve(type: any /*Type*/): Component | null {\r\n\t\tconst typeMetadata = this.reflector.annotations(type);\r\n\r\n\t\tif (typeMetadata) {\r\n\t\t\tconst metadata = findLast(\r\n\t\t\t\ttypeMetadata,\r\n\t\t\t\tc => c && c.metadataName === 'Component'\r\n\t\t\t);\r\n\r\n\t\t\tif (metadata) {\r\n\t\t\t\tconst propertyMetadata = this.reflector.propMetadata(type);\r\n\r\n\t\t\t\treturn this._mergeWithPropertyMetadata(\r\n\t\t\t\t\tmetadata,\r\n\t\t\t\t\tpropertyMetadata,\r\n\t\t\t\t\ttype\r\n\t\t\t\t);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t}\r\n\r\n\tprivate _mergeWithPropertyMetadata(\r\n\t\tcomponent: Component,\r\n\t\tpropertyMetadata: { [key: string]: any[] },\r\n\t\tcomponentType: /*Type*/ any\r\n\t): Component {\r\n\t\tconst queries: { [key: string]: any } = {};\r\n\r\n\t\tObject.keys(propertyMetadata).forEach((propName: string) => {\r\n\t\t\tconst query = findLast(propertyMetadata[propName], a =>\r\n\t\t\t\tQUERY_METADATA_IDENTIFIERS.some(i => i && i === a.metadataName)\r\n\t\t\t);\r\n\r\n\t\t\tif (query) {\r\n\t\t\t\tqueries[propName] = query;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\treturn this._merge(component, queries, componentType);\r\n\t}\r\n\r\n\tprivate _merge(\r\n\t\tcomponent: Component,\r\n\t\tqueries: { [key: string]: any },\r\n\t\tcomponentType: /*Type*/ any\r\n\t): Component {\r\n\t\tconst mergedQueries = component.queries\r\n\t\t\t? { ...component.queries, ...queries }\r\n\t\t\t: queries;\r\n\r\n\t\treturn createComponent({\r\n\t\t\tclassName: component.className,\r\n\t\t\tobserve: component.observe,\r\n\t\t\tqueries: mergedQueries\r\n\t\t});\r\n\t}\r\n\r\n\tprivate _getQueriesMetadata(queries: { [key: string]: Query }): any[] {\r\n\t\tconst res: any[] = [];\r\n\r\n\t\tObject.keys(queries).forEach((propertyName: string) => {\r\n\t\t\tconst query = queries[propertyName];\r\n\t\t\tres.push(this._getQueryMetadata(query, propertyName));\r\n\t\t});\r\n\r\n\t\treturn res;\r\n\t}\r\n\r\n\tprivate _getQueryMetadata(q: Query, propertyName: string): any {\r\n\t\treturn {\r\n\t\t\tdescendants: q.descendants,\r\n\t\t\tfirst: q.first,\r\n\t\t\tpropertyName,\r\n\t\t\tread: false,\r\n\t\t\tselector: q.selector\r\n\t\t};\r\n\t}\r\n}\r\n\r\nfunction findLast(arr: T[], condition: (value: T) => boolean): T | null {\r\n\tfor (let i = arr.length - 1; i >= 0; i--) {\r\n\t\tif (condition(arr[i])) {\r\n\t\t\treturn arr[i];\r\n\t\t}\r\n\t}\r\n\treturn null;\r\n}\r\n","import { Type } from './type';\r\n\r\nexport const ANNOTATIONS = '__annotations__';\r\nexport const PROP_METADATA = '__prop__metadata__';\r\n\r\nexport interface TypeDecorator {\r\n\t// Invoke as ES7 decorator.\r\n\t>(type: T): T;\r\n\r\n\t// Make TypeDecorator assignable to built-in ParameterDecorator type.\r\n\t// ParameterDecorator is declared in lib.d.ts as a `declare type`\r\n\t// so we cannot declare this interface as a subtype.\r\n\t// see https://github.com/angular/angular/issues/3379#issuecomment-126169417\r\n\t(\r\n\t\ttarget: object,\r\n\t\tpropertyKey?: string | symbol,\r\n\t\tparameterIndex?: number\r\n\t): void;\r\n}\r\n\r\nexport function makeDecorator(\r\n\tname: string,\r\n\tprops?: (...args: any[]) => any,\r\n\tparentClass?: any,\r\n\tchainFn?: (fn: TypeDecorator) => void,\r\n\ttypeFn?: (type: Type, ...args: any[]) => void\r\n): {\r\n\tnew (...args: any[]): any;\r\n\t(...args: any[]): any;\r\n\t(...args: any[]): (cls: any) => any;\r\n} {\r\n\tconst metaCtor = makeMetadataCtor(props);\r\n\r\n\tfunction DecoratorFactory(...args: any[]): (cls: any) => any {\r\n\t\tif (this instanceof DecoratorFactory) {\r\n\t\t\tmetaCtor.call(this, ...args);\r\n\t\t\treturn this;\r\n\t\t}\r\n\r\n\t\tconst annotationInstance = new (DecoratorFactory as any)(...args);\r\n\t\tconst typeDecorator: TypeDecorator = (cls: Type) => {\r\n\t\t\tif (typeFn) {\r\n\t\t\t\ttypeFn(cls, ...args);\r\n\t\t\t}\r\n\t\t\t// Use of Object.defineProperty is important since it creates non-enumerable property which\r\n\t\t\t// prevents the property is copied during subclassing.\r\n\t\t\tconst annotations = cls.hasOwnProperty(ANNOTATIONS)\r\n\t\t\t\t? (cls as any)[ANNOTATIONS]\r\n\t\t\t\t: Object.defineProperty(cls, ANNOTATIONS, { value: [] })[\r\n\t\t\t\t\t\tANNOTATIONS\r\n\t\t\t\t ];\r\n\t\t\tannotations.push(annotationInstance);\r\n\t\t\treturn cls;\r\n\t\t};\r\n\t\tif (chainFn) {\r\n\t\t\tchainFn(typeDecorator);\r\n\t\t}\r\n\t\treturn typeDecorator;\r\n\t}\r\n\r\n\tif (parentClass) {\r\n\t\tDecoratorFactory.prototype = Object.create(parentClass.prototype);\r\n\t}\r\n\r\n\tDecoratorFactory.prototype.metadataName = name;\r\n\treturn DecoratorFactory as any;\r\n}\r\n\r\nfunction makeMetadataCtor(props?: (...args: any[]) => any): any {\r\n\treturn function ctor(...args: any[]) {\r\n\t\tif (props) {\r\n\t\t\tconst values = props(...args);\r\n\t\t\tfor (const propName in values) {\r\n\t\t\t\tif (values.hasOwnProperty(propName)) {\r\n\t\t\t\t\tthis[propName] = values[propName];\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n}\r\n\r\nexport function makePropDecorator(\r\n\tname: string,\r\n\tprops?: (...args: any[]) => any,\r\n\tparentClass?: any\r\n): any {\r\n\tconst metaCtor = makeMetadataCtor(props);\r\n\r\n\tfunction PropDecoratorFactory(...args: any[]): any {\r\n\t\tif (this instanceof PropDecoratorFactory) {\r\n\t\t\tmetaCtor.apply(this, args);\r\n\t\t\treturn this;\r\n\t\t}\r\n\r\n\t\tconst decoratorInstance = new (PropDecoratorFactory as any)(...args);\r\n\r\n\t\treturn function PropDecorator(target: any, metaName: string) {\r\n\t\t\tconst constructor = target.constructor;\r\n\t\t\t// Use of Object.defineProperty is important since it creates non-enumerable property which\r\n\t\t\t// prevents the property is copied during subclassing.\r\n\t\t\tconst meta = constructor.hasOwnProperty(PROP_METADATA)\r\n\t\t\t\t? (constructor as any)[PROP_METADATA]\r\n\t\t\t\t: Object.defineProperty(constructor, PROP_METADATA, {\r\n\t\t\t\t\t\tvalue: {}\r\n\t\t\t\t })[PROP_METADATA];\r\n\t\t\tmeta[metaName] =\r\n\t\t\t\t(meta.hasOwnProperty(metaName) && meta[metaName]) || [];\r\n\t\t\tmeta[metaName].unshift(decoratorInstance);\r\n\t\t};\r\n\t}\r\n\r\n\tif (parentClass) {\r\n\t\tPropDecoratorFactory.prototype = Object.create(parentClass.prototype);\r\n\t}\r\n\r\n\tPropDecoratorFactory.prototype.metadataName = name;\r\n\treturn PropDecoratorFactory;\r\n}\r\n","\r\n\r\nexport interface MetadataFactory {\r\n\t(...args: any[]): T;\r\n\tmetadataName: string;\r\n\tisTypeOf(obj: any): obj is T;\r\n}\r\n\r\nexport function makeMetadataFactory(\r\n\tname: string,\r\n\tprops?: (...args: any[]) => T\r\n): MetadataFactory {\r\n\tconst factory: any = (...args: any[]) => {\r\n\t\tconst values = props ? props(...args) : {};\r\n\t\treturn {\r\n\t\t\tmetadataName: name,\r\n\t\t\t...values\r\n\t\t};\r\n\t};\r\n\tfactory.isTypeOf = (obj: any) => obj && obj.metadataName === name;\r\n\tfactory.metadataName = name;\r\n\treturn factory;\r\n}\r\n","// tslint:disable-next-line:variable-name\r\nexport const Type = Function;\r\n\r\n\r\nexport function isType(v: any): v is Type {\r\n\treturn typeof v === 'function';\r\n}\r\n\r\nexport interface Type extends Function {\r\n\tnew (...args: any[]): T;\r\n}\r\n","export function getCookie(key: string) {\r\n\tif (!key) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\treturn decodeURIComponent(\r\n\t\tdocument.cookie.replace(\r\n\t\t\tnew RegExp(`(?:(?:^|.*;)\\\\s*${encodeURIComponent(key).replace(/[\\-\\.\\+\\*]/g, '\\\\$&')}\\\\s*\\\\=\\\\s*([^;]*).*$)|^.*$`,\r\n\t\t\t), '$1')) || null;\r\n}\r\n","export function setCookie(\r\n\tkey: string,\r\n\tvalue: string,\r\n\tend: number | string | Date,\r\n\tpath = '/',\r\n\tdomain = '',\r\n\tsecure = false\r\n) {\r\n\tif (!key || /^(?:expires|max\\-age|path|domain|secure)$/i.test(key)) {\r\n\t\treturn false;\r\n\t}\r\n\tlet expires = '';\r\n\tif (end) {\r\n\t\tswitch (end.constructor) {\r\n\t\t\tcase Number:\r\n\t\t\t\texpires =\r\n\t\t\t\t\tend === Infinity\r\n\t\t\t\t\t\t? '; expires=Fri, 31 Dec 9999 23:59:59 GMT'\r\n\t\t\t\t\t\t: '; max-age=' + end;\r\n\t\t\t\tbreak;\r\n\t\t\tcase String:\r\n\t\t\t\texpires = `; expires=${end}`;\r\n\t\t\t\tbreak;\r\n\t\t\tcase Date:\r\n\t\t\t\texpires = `; expires=${(end as Date).toUTCString()}`;\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\texpires = '';\r\n\t\t}\r\n\t}\r\n\tconst keyStr = encodeURIComponent(key);\r\n\tconst valueStr = encodeURIComponent(value);\r\n\tconst domainStr = `${domain ? `; domain=${domain}` : ''}`;\r\n\tconst pathStr = `${path ? `; path=${path}` : ''}`;\r\n\tconst secureStr = `${secure ? '; secure' : ''}`;\r\n\tdocument.cookie = `${keyStr}=${valueStr}${expires}${domainStr}${pathStr}${secureStr}`;\r\n\r\n\treturn true;\r\n}\r\n","import { getClass } from '../get-class';\r\nimport { hasClass } from '../has-class';\r\n\r\nexport function addClass(element: Element, className: string) {\r\n\tif (element && !hasClass(element, className)) {\r\n\t\telement.setAttribute(\r\n\t\t\t'class',\r\n\t\t\tgetClass(element).trim() + ' ' + className,\r\n\t\t);\r\n\t}\r\n}\r\n","import { isHTMLElement } from '../is-html-element';\r\n\r\nexport function asHTMLElement(o: any): HTMLElement {\r\n\tif (isHTMLElement(o)) {\r\n\t\treturn o as HTMLElement;\r\n\t}\r\n\treturn null;\r\n}\r\n","import { addClass } from '../add-class';\r\nimport { removeClass } from '../remove-class';\r\n\r\nexport function changeClass(\r\n\telement: Element,\r\n\tclassName: string,\r\n\tadd = true,\r\n) {\r\n\tif (add) {\r\n\t\taddClass(element, className);\r\n\t} else {\r\n\t\tremoveClass(element, className);\r\n\t}\r\n}\r\n","const classRegexCache = {};\r\nexport function classRegex(className: string): RegExp {\r\n\tif (!classRegexCache[className]) {\r\n\t\tclassRegexCache[className] = new RegExp('(\\\\s|^)' + className + '(\\\\s|$)');\r\n\t}\r\n\treturn classRegexCache[className];\r\n}\r\n","export function getClass(element: Element) {\r\n\treturn element.getAttribute('class') || '';\r\n}\r\n","import { getSelectorFromElement } from '../get-selector-from-element';\r\n\r\nexport function getSelectorElementFromElement(\r\n\telement: Element,\r\n\tattribute = 'data-target',\r\n\tfallbackHref = true\r\n): HTMLElement {\r\n\tconst selector = getSelectorFromElement(element, attribute, fallbackHref);\r\n\r\n\tif (selector && selector.indexOf('#') === 0) {\r\n\t\treturn document.getElementById(selector.substr(1, selector.length - 1));\r\n\t}\r\n\r\n\treturn null;\r\n}\r\n","export function getSelectorFromElement(\r\n\telement: Element,\r\n\tattribute = 'data-target',\r\n\tfallbackHref = true\r\n): string {\r\n\tlet selector = element.getAttribute(attribute);\r\n\r\n\tif (!selector && fallbackHref) {\r\n\t\tselector = element.getAttribute('href') || '';\r\n\t\tselector = /^#.*/i.test(selector) ? selector : null;\r\n\t}\r\n\r\n\treturn selector;\r\n}\r\n","import { classRegex } from '../class-regex';\r\nimport { getClass } from '../get-class';\r\n\r\nexport function hasClass(element: Element, className: string): boolean {\r\n\treturn element && classRegex(className).test(getClass(element));\r\n}\r\n","export function isHTMLElement(o: any) {\r\n\treturn typeof HTMLElement === 'object'\r\n\t\t? o instanceof HTMLElement\r\n\t\t: o &&\r\n\t\t\t\ttypeof o === 'object' &&\r\n\t\t\t\to !== null &&\r\n\t\t\t\to.nodeType === 1 &&\r\n\t\t\t\ttypeof o.nodeName === 'string';\r\n}\r\n","import { classRegex } from '../class-regex';\r\nimport { getClass } from '../get-class';\r\nimport { hasClass } from '../has-class';\r\n\r\nexport function removeClass(element: Element, className: string) {\r\n\tif (element && hasClass(element, className)) {\r\n\t\tconst regex = classRegex(className);\r\n\t\telement.setAttribute(\r\n\t\t\t'class',\r\n\t\t\tgetClass(element)\r\n\t\t\t\t.replace(regex, ' ')\r\n\t\t\t\t.trim(),\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport function removeClassFactory(className: string) {\r\n\treturn (element: Element) => {\r\n\t\tremoveClass(element, className);\r\n\t};\r\n}\r\n\r\nexport function removeClassOnCollection(elements: Element[], className: string) {\r\n\telements.forEach(removeClassFactory(className));\r\n}\r\n","export function dispatchCustomEvent(\r\n\telement: EventTarget,\r\n\teventName: string,\r\n) {\r\n\tconst event = new CustomEvent(eventName);\r\n\telement.dispatchEvent(event);\r\n}\r\n","import { dispatchCustomEvent } from '../dispatch-custom-event';\r\n\r\nexport function eventNamespaceFactory(namespace: string) {\r\n\treturn (element: EventTarget, eventName: string) =>\r\n\t\tdispatchCustomEvent(element, eventName + '.' + namespace);\r\n}\r\n","export function debounce(func: Function, wait: number, immediate?: boolean) {\r\n\tlet timeout;\r\n\tlet result;\r\n\treturn function debounceFn() {\r\n\t\tconst context = this;\r\n\t\tconst args = arguments;\r\n\t\tconst later = () => {\r\n\t\t\ttimeout = null;\r\n\t\t\tif (!immediate) {\r\n\t\t\t\tresult = func.apply(context, args);\r\n\t\t\t}\r\n\t\t};\r\n\t\tconst callNow = immediate && !timeout;\r\n\t\tclearTimeout(timeout);\r\n\t\ttimeout = setTimeout(later, wait);\r\n\t\tif (callNow) {\r\n\t\t\tresult = func.apply(context, args);\r\n\t\t}\r\n\t\treturn result;\r\n\t};\r\n}\r\n","import { dispatchCustomEvent } from '@opten/events/dispatch-custom-event';\r\nimport { getTransitionEndEventName } from '../get-transition-end-event-name';\r\n\r\nconst transitionEndEventName = getTransitionEndEventName();\r\n\r\nexport function addTransitionEndListener(\r\n\telement: Element,\r\n\tcallback: () => void,\r\n\tfallbackDuration = 0,\r\n\tremove = true\r\n): void {\r\n\tlet called = false;\r\n\tconst listener = (event: Event) => {\r\n\t\tcalled = true;\r\n\t\tif (remove) {\r\n\t\t\telement.removeEventListener(\r\n\t\t\t\ttransitionEndEventName as string,\r\n\t\t\t\tlistener\r\n\t\t\t);\r\n\t\t}\r\n\t\tcallback();\r\n\t};\r\n\r\n\tif (transitionEndEventName === false) {\r\n\t\tsetTimeout(() => {\r\n\t\t\tcallback();\r\n\t\t}, fallbackDuration);\r\n\t} else {\r\n\t\telement.addEventListener(transitionEndEventName, listener);\r\n\t\t// https://github.com/twbs/bootstrap/blob/v4.0.0/js/src/util.js#L49\r\n\t\tif (fallbackDuration) {\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tif (!called) {\r\n\t\t\t\t\tdispatchCustomEvent(element, transitionEndEventName);\r\n\t\t\t\t}\r\n\t\t\t}, fallbackDuration);\r\n\t\t}\r\n\t}\r\n}\r\n","export function getTransitionEndEventName(): string | false {\r\n\tconst element = document.createElement('_');\r\n\tconst transitions = {\r\n\t\tWebkitTransition: 'webkitTransitionEnd',\r\n\t\ttransition: 'transitionend',\r\n\t};\r\n\r\n\tfor (const transition in transitions) {\r\n\t\tif (element.style[transition] !== undefined) {\r\n\t\t\treturn transitions[transition];\r\n\t\t}\r\n\t}\r\n\r\n\treturn false;\r\n}\r\n"],"sourceRoot":""}