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aAAO,EAAPA,EAASnD,WAAY,CAACkD,EAAWrN,SAExD,IAAIyN,GAAM,EACVD,EAAe5O,SAAQuH,IAClBA,EAAOxF,SAAS9B,EAAMsH,UACzBsH,GAAM,EAEP,IAGGJ,EAAWxF,0BACd4F,EAAMJ,EAAWxF,wBAAwBhJ,IAGtC4O,GAIAJ,EAAW3F,cACd2F,EAAW3F,aAAa7I,EACzB,EAGK0B,EAAUA,KACf6M,SAAAA,EAAQxO,SAAQC,IACfpC,OAAOsC,iBAAiBF,EAAO0O,GAAS,EAAK,GAC5C,EAGGG,EAAYA,KACjBN,SAAAA,EAAQxO,SAAQC,IACfpC,OAAOkR,oBAAoB9O,EAAO0O,GAAS,EAAK,GAC/C,EAGGK,EAAuBP,EAAWzM,WAAWiN,KAAKR,GAWxD,OATAxR,OAAOsF,OAAOkM,EAAY,CACzBzM,aACC8M,IACAE,GACD,IAGDrN,IAEO,CAACA,EAASmN,EAClB,C","sources":["webpack:/// \\.(j%7Ct)sx","webpack:///./assets/controllers.json","webpack:///./assets/controllers/brevo_controller.js","webpack:///./assets/controllers/calculate-total_controller.js","webpack:///./assets/controllers/carousel_controller.js","webpack:///./assets/controllers/counter-input_controller.js","webpack:///./assets/controllers/disable-button_controller.js","webpack:///./assets/controllers/disable-dblclick_controller.js","webpack:///./assets/controllers/link_controller.js","webpack:///./assets/controllers/modal_controller.js","webpack:///./assets/controllers/nets-checkout_controller.js","webpack:///./assets/controllers/popover_controller.js","webpack:///./assets/controllers/toggle-active-class_controller.js","webpack:///./assets/controllers/toggle-class_controller.js","webpack:///./assets/controllers/tooltip_controller.js","webpack:///./assets/bootstrap.js","webpack:///./assets/js/use-click-outside.js"],"sourcesContent":["var map = {\n\t\"./brevo_controller.js\": 6054,\n\t\"./calculate-total_controller.js\": 18190,\n\t\"./carousel_controller.js\": 17596,\n\t\"./counter-input_controller.js\": 92386,\n\t\"./disable-button_controller.js\": 49330,\n\t\"./disable-dblclick_controller.js\": 10396,\n\t\"./link_controller.js\": 88114,\n\t\"./modal_controller.js\": 56579,\n\t\"./nets-checkout_controller.js\": 65959,\n\t\"./popover_controller.js\": 24729,\n\t\"./toggle-active-class_controller.js\": 70305,\n\t\"./toggle-class_controller.js\": 52860,\n\t\"./tooltip_controller.js\": 79200\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 94692;","import controller_0 from '@symfony/ux-live-component/dist/live_controller.js';\nimport '@symfony/ux-live-component/dist/live.min.css';\nexport default {\n 'live': controller_0,\n};","import { Controller } from '@hotwired/stimulus';\n\nexport default class extends Controller {\n\tstatic values = {\n\t\tcontext: Object,\n\t\tprompt: String\n\t}\n\n\tstatic targets = ['notice'];\n\n\tbrevo = null;\n\tdisabled = false;\n\tdelay = 12;\n\tenableTimer = true;\n\n\tconnect() {\n\t\tthis.brevo = (...args) => window.BrevoConversations(...args);\n\t\tif (!this.brevo) {\n\t\t\tconsole.log(\"brevo not available\");\n\t\t\tthis.disabled = true;\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.promptValue) {\n\t\t\tthis.brevo(\"setLocale\", {\n\t\t\t\t...window.BrevoConversationsSetup.locale,\n\t\t\t\tcustomStrings: {\n\t\t\t\t\t...window.BrevoConversationsSetup.locale.customStrings,\n\t\t\t\t\twelcome: this.promptValue\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\tif (this.contextValue) {\n\t\t\tfor (const [k, v] of Object.entries(this.contextValue)) {\n\t\t\t\tthis.update(k, v);\n\t\t\t}\n\t\t}\n\n\t\tif (!this.shouldStartTimer()) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.startTimer();\n\t\tthis.resetTimerOnUserActivity();\n\t\tthis.setupOpenListener();\n\t}\n\n\tupdate(key, value) {\n\t\tif (this.disabled || !this.brevo) {\n\t\t\tconsole.log(\"brevo controller disabled or not available\");\n\t\t\treturn;\n\t\t}\n\n\t\tconst update = {};\n\t\tupdate[key] = value;\n\n\t\tthis.brevo('updateIntegrationData', { ...update })\n\t}\n\n\topenChatWindow(mobile = false) {\n\t\tif (mobile) {\n\t\t\t// opens for both mobile and desktop.\n\t\t\t// optional because on mobile, the chat window covers the whole screen.\n\t\t\tthis.brevo('openChat', true);\n\t\t} else {\n\t\t\tthis.brevo('expandWidget', true);\n\t\t}\n\t}\n\n\tdisableTimer() {\n\t\tclearTimeout(this.chatTimer);\n\t\tthis.enableTimer = false;\n\t}\n\n\tstartTimer(overrideDelay = null) {\n\t\tconst delay = overrideDelay ?? this.delay;\n\t\tthis.chatTimer = setTimeout(() => {\n\t\t\tthis.openChatWindow();\n\n\t\t\tif (this.hasNoticeTarget) {\n\t\t\t\tthis.addNotice();\n\t\t\t}\n\n\t\t\tthis.setChatNoticeShown();\n\n\t\t\tthis.disableTimer();\n\t\t}, delay * 1000);\n\t}\n\n\tresetTimerOnUserActivity() {\n\t\tthis.activityHandler = () => {\n\t\t\tif (!this.enableTimer) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tclearTimeout(this.chatTimer);\n\t\t\tthis.startTimer(this.delay / 2);\n\t\t};\n\n\t\t[\"keydown\", \"touchstart\", \"touchmove\", \"click\"].forEach(event => {\n\t\t\tdocument.addEventListener(event, this.activityHandler, { passive: true });\n\t\t});\n\t}\n\n\tonChatOpened() {\n\t\tthis.disableTimer();\n\t\tthis.hideNotice();\n\t}\n\n\tsetupOpenListener() {\n\t\tconst sleep = ms => new Promise(r => setTimeout(r, ms));\n\n\t\tconst waitForElement = (selector) => {\n\t\t\treturn new Promise(async (resolve, reject) => {\n\t\t\t\tfor (let i = 0; i < 10; i++) {\n\t\t\t\t\tlet el = document.querySelector(selector);\n\t\t\t\t\tif (el) {\n\t\t\t\t\t\tresolve(el);\n\t\t\t\t\t}\n\n\t\t\t\t\tawait sleep(1000);\n\t\t\t\t}\n\n\t\t\t\treject(\"element not found, giving up\");\n\t\t\t});\n\t\t};\n\n\t\tconst observeClassChanges = (element, callback) => {\n\t\t\tconst observer = new MutationObserver(mutations => {\n\t\t\t\tmutations.forEach(mutation => {\n\t\t\t\t\tif (mutation.attributeName === \"class\") {\n\t\t\t\t\t\tcallback(element, element.classList);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\n\t\t\tobserver.observe(element, { attributes: true, attributeFilter: [\"class\"] });\n\t\t\treturn observer;\n\t\t}\n\n\t\twaitForElement(\"#brevo-conversations\")\n\t\t\t.then((el) => {\n\t\t\t\tconst observer = observeClassChanges(el, (el, classes) => {\n\t\t\t\t\tif (classes.contains(\"brevo-conversations--expanded\")) {\n\t\t\t\t\t\tthis.onChatOpened();\n\n\t\t\t\t\t\tobserver.disconnect();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t})\n\t\t\t.catch(err => {\n\t\t\t\tconsole.error(err);\n\t\t\t});\n\t}\n\n\taddNotice() {\n\t\tif (!this.hasNoticeTarget) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst parent = document.getElementById(\"brevo-conversations\");\n\t\tconst el = this.noticeTarget;\n\t\tObject.assign(el.style, {\n\t\t\tposition: \"absolute\",\n\t\t\ttop: \"-2rem\",\n\t\t\tminWidth: \"250px\",\n\t\t\tright: 0,\n\t\t\tzIndex: 1,\n\t\t});\n\t\tparent.prepend(el);\n\t\tconst rect = el.getBoundingClientRect();\n\t\tObject.assign(el.style, {\n\t\t\ttop: `-${rect.height + 20}px`,\n\t\t});\n\t}\n\n\thideNotice() {\n\t\tif (!this.hasNoticeTarget) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.noticeTarget.classList.add(\"d-none\");\n\t}\n\n\tsetChatNoticeShown() {\n\t\tlocalStorage.setItem(\"chatNoticeShownV1\", Date.now());\n\t}\n\n\tshouldStartTimer() {\n\t\tconst noticeShown = localStorage.getItem(\"chatNoticeShownV1\");\n\t\tif (!noticeShown) {\n\t\t\treturn true;\n\t\t}\n\n\t\tif (Date.now() - noticeShown > 30*60*1000) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}\n}\n","import { Controller } from '@hotwired/stimulus';\n\nexport default class extends Controller {\n\tstatic targets = ['total', 'price', 'quantity'];\n\n\tconnect() {\n\t\tthis.totalTarget.value = '0';\n\t\tthis.calculate();\n\t}\n\n\tobserveChildren() {\n\t\t// If number of price or quantity targets change, recalculate total.\n\t\tconst observer = new MutationObserver((mutationsList) => {\n\t\t\tfor (const mutation of mutationsList) {\n\t\t\t\t// Check if there is a \"data-calculate-total-target\" attribute in the mutation.\n\t\t\t\tconst nodeList = mutation.addedNodes.length > 0 ? mutation.addedNodes : mutation.removedNodes;\n\t\t\t\tconst matches = [].filter.call(nodeList, (node) => {\n\t\t\t\t\tif (!node.querySelector) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (node.querySelector('[data-calculate-total-target]')) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn false;\n\t\t\t\t});\n\n\t\t\t\tif (matches.length > 0) {\n\t\t\t\t\tthis.calculate();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tobserver.observe(this.element, { childList: true, subtree: true });\n\t}\n\n\tcalculate() {\n\t\tlet total = 0;\n\n\t\tthis.priceTargets.forEach((price, index) => {\n\t\t\tconsole.log(price)\n\t\t\tlet amount = Number.parseFloat(price.value.replace(\",\", \".\"))\n\t\t\tif (price.value && this.quantityTargets[index].value) {\n\t\t\t\ttotal += 0 + amount * this.quantityTargets[index].value;\n\t\t\t}\n\t\t});\n\n\t\tthis.totalTarget.value = '' + total;\n\t}\n}\n","import { Controller } from '@hotwired/stimulus';\n\nexport default class extends Controller {\n\tstatic targets = [\n\t\t'container'\n\t];\n\n\tstatic values = {\n\t\tperiod: Number,\n\t\tdirection: String,\n\t}\n\n\tinterval = null;\n\n\tconnect() {\n\t\tconst container = this.containerTarget;\n\t\tconst children = [...container.children];\n\n\t\t// buffer children by doubling them\n\t\tfor (let i = 0; i < children.length; i++) {\n\t\t\tcontainer.append(children[i].cloneNode(true));\n\t\t}\n\n\t\tthis.calibrateWidth();\n\n\t\tif (this.periodValue) {\n\t\t\tconst direction = this.directionValue || 'left';\n\t\t\tthis.startCarousel(direction, this.periodValue)\n\t\t}\n\t}\n\n\tcalibrateWidth() {\n\t\tconst container = this.containerTarget;\n\t\tconst children = [...container.children];\n\n\t\tif (children.length > 0) {\n\t\t\tconst width = children[0].getBoundingClientRect().width;\n\t\t\t// shift so that the prepend/append isn't visible\n\t\t\tcontainer.style.transform = `translateX(-${width}px)`;\n\t\t}\n\t}\n\n\tstartCarousel(direction='left', period=10) {\n\t\tdirection = direction;\n\t\tperiod = period;\n\t\tthis.interval = setInterval(() => {\n\t\t\tif (direction == 'left') {\n\t\t\t\tthis._left();\n\t\t\t} else if (direction == 'right') {\n\t\t\t\tthis._right();\n\t\t\t}\n\t\t}, 1000 * period);\n\t}\n\n\tstopCarousel() {\n\t\tif (this.interval) {\n\t\t\tconsole.log(\"stopping\")\n\t\t\tclearInterval(this.interval);\n\t\t\tthis.interval = null;\n\t\t}\n\t}\n\n\tright() {\n\t\tthis.stopCarousel();\n\t\tthis._right();\n\t}\n\t_right() {\n\t\tthis.calibrateWidth();\n\n\t\tconst container = this.containerTarget;\n\t\t[...container.children].forEach(child => child.classList.add(\"shift-right\"));\n\n\t\tlet last = container.lastElementChild;\n\n\t\tlast.addEventListener('transitionend', () => {\n\t\t\t[...container.children].forEach(child => child.classList.remove(\"shift-right\"));\n\t\t\tcontainer.prepend(last);\n\t\t}, {once: true});\n\t}\n\n\tleft() {\n\t\tthis.stopCarousel();\n\t\tthis._left();\n\t}\n\t_left() {\n\t\tthis.calibrateWidth();\n\n\t\tconst container = this.containerTarget;\n\t\t[...container.children].forEach(child => child.classList.add(\"shift-left\"));\n\n\t\tlet first = container.firstElementChild;\n\n\t\tfirst.addEventListener('transitionend', () => {\n\t\t\t[...container.children].forEach(child => child.classList.remove(\"shift-left\"));\n\t\t\tcontainer.append(first);\n\t\t}, {once: true});\n\t}\n}\n","import { Controller } from '@hotwired/stimulus';\n\nexport default class extends Controller {\n\tstatic values = {\n\t\tmin: { type: Number, default: 0 }\n\t};\n\n\tstatic targets = [\"input\"];\n\n\tconnect() {\n\t}\n\n\tdecrement() {\n\t\tif (!this.inputTarget) {\n\t\t\tconsole.error(\"no input target\");\n\t\t\treturn;\n\t\t}\n\n\t\tconst value = Number(this.inputTarget.value);\n\t\tif (value <= this.minValue) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.inputTarget.value = value - 1;\n\t}\n\n\tincrement() {\n\t\tif (!this.inputTarget) {\n\t\t\tconsole.error(\"no input target\");\n\t\t\treturn;\n\t\t}\n\n\t\tconst value = this.inputTarget.value;\n\t\tthis.inputTarget.value = 1 + Number(value);\n\t}\n}\n","import { Controller } from '@hotwired/stimulus';\n\nexport default class extends Controller {\n\tconnect() {\n\t}\n\n\ttoggle({ params: { target } }) {\n\t\tconst element = document.querySelector(target);\n\t\tif (!element) {\n\t\t\tconsole.warn(`Element with selector \"${target}\" not found`);\n\t\t\treturn;\n\t\t}\n\n\t\telement.setAttribute(\n\t\t\t\"disabled\",\n\t\t\t!element.disabled\n\t\t);\n\t}\n}\n","import { Controller } from '@hotwired/stimulus';\n\nexport default class extends Controller {\n\tstatic targets = [\"element\"];\n\n\tconnect() {\n\t\tconst els = this.elementTargets ?? [];\n\t\tels.forEach((el) => {\n\t\t\tel.addEventListener('dblclick', (e) => {\n\t\t\t\te.preventDefault();\n\t\t\t}, {passive: false});\n\t\t});\n\t}\n}\n","import { Controller } from '@hotwired/stimulus';\n\nexport default class extends Controller {\n\tconnect() {\n\t}\n\n\tnavigate({params: {path}}) {\n\t\tif (!path) {\n\t\t\tconsole.log(\"no value\");\n\t\t\treturn;\n\t\t}\n\n\t\twindow.location = path;\n\t}\n}\n","import { Controller } from '@hotwired/stimulus';\nimport { useClickOutside } from '../js/use-click-outside';\n\nexport default class extends Controller {\n\tstatic targets = [\"dialog\", \"trigger\"];\n\n\tstatic values = {\n\t\ttriggerOnObserve: Boolean,\n\t\tcloseOnClickOutside: Boolean,\n\t};\n\n\tconnect() {\n\t\tif (this.closeOnClickOutsideValue) {\n\t\t\tuseClickOutside(this);\n\t\t}\n\n\t\tif (this.triggerOnObserveValue && this.triggerTarget) {\n\t\t\tconst observer = new IntersectionObserver((entries, observer) => {\n\t\t\t\tif (entries[0].isIntersecting) {\n\t\t\t\t\tthis.open();\n\t\t\t\t\tobserver.disconnect();\n\t\t\t\t}\n\n\t\t\t})\n\t\t\tobserver.observe(this.triggerTarget);\n\t\t}\n\t}\n\n\topen() {\n\t\tthis.dialogTarget.showModal();\n\t\tconst modal = this.dialogTarget.querySelector(\".modal\");\n\t\tif (modal && modal.classList.contains(\"fade\")) {\n\t\t\tmodal.classList.add(\"show\");\n\t\t}\n\t}\n\n\tclose() {\n\t\tthis.dialogTarget.close();\n\t}\n\n\tclickOutside(event) {\n\t\tif (event.target !== this.dialogTarget) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this.#isClickInElement(event, this.dialogTarget)) {\n\t\t\tthis.dialogTarget.close();\n\t\t}\n\t}\n\n\tcheckCustomBoundingRect(event) {\n\t\treturn this.#isClickInElement(event, this.dialogTarget);\n\t}\n\n\t// Dialog elements take up the entire screen, so this is a \"hack\" to check actual click location.\n\t#isClickInElement(event, element) {\n\t\tconst rect = element.getBoundingClientRect();\n\t\treturn (\n\t\t\trect.top <= event.clientY &&\n\t\t\tevent.clientY <= rect.top + rect.height &&\n\t\t\trect.left <= event.clientX &&\n\t\t\tevent.clientX <= rect.left + rect.width\n\t\t);\n\t}\n\n}\n","import { Controller } from '@hotwired/stimulus';\nimport { getComponent } from '@symfony/ux-live-component';\n\nexport default class extends Controller {\n\tstatic targets = [\"mount\", \"cancelButton\"];\n\n\tstatic values = {\n\t\tapiKey: String,\n\t\tlanguage: String,\n\t\tpaymentId: String,\n\t\tsuccessPath: String,\n\t}\n\n\tcheckout = null;\n\n\tcomponent = null;\n\n\tasync initialize() {\n\t\tthis.component = await getComponent(this.element);\n\t}\n\n\tconnect() {\n\t\tconst containerId = this.mountTarget.id;\n\n\t\tconst language = this.languageValue;\n\n\t\tthis.checkout = new Dibs.Checkout({\n\t\t\tcheckoutKey: this.apiKeyValue,\n\t\t\tpaymentId: this.paymentIdValue,\n\t\t\tcontainerId: containerId,\n\t\t\tlanguage: language,\n\t\t\ttheme: {\n\t\t\t\tbackgroundColor: \"#f8f9fa\",\n\t\t\t\tbuttonRadius: \"0.375rem\",\n\t\t\t},\n\t\t});\n\n\t\tthis.cancelButtonTarget.addEventListener('click', () => {\n\t\t\tthis.freeze();\n\t\t});\n\n\t\tthis.checkout.on('payment-completed', () => {\n\t\t\tthis.cancelButtonTarget.removeAttribute(\"href\");\n\t\t\twindow.location.replace(this.successPathValue);\n\t\t});\n\n\t\tconst validate = () => {\n\t\t\tthis.component.action('validate')\n\t\t\t\t.then(({ response }) => {\n\t\t\t\t\tif (!response.redirected) {\n\t\t\t\t\t\tthis.checkout.send('payment-order-finalized', true);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t};\n\n\t\tthis.checkout.on('pay-initialized', validate);\n\t}\n\n\tfreeze() {\n\t\tif (!this.checkout) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.checkout.freezeCheckout();\n\t}\n}\n","import { Controller } from '@hotwired/stimulus';\nimport { useClickOutside } from '../js/use-click-outside';\n\nexport default class extends Controller {\n\tstatic targets = [\"content\", \"trigger\"];\n\n\tstatic values = {\n\t\twidth: String\n\t}\n\n\tconnect() {\n\t\tlet targets = [this.contentTarget];\n\t\tif (this.triggerTarget) {\n\t\t\ttargets.push(this.triggerTarget);\n\t\t}\n\t\tuseClickOutside(this, {elements: targets});\n\n\t\tconst resizeTarget = this.getResizeTarget();\n\t\tif (resizeTarget === \"\") {\n\t\t\treturn;\n\t\t}\n\n\t\twindow.addEventListener(\"resize\", () => this.resize(resizeTarget));\n\t}\n\n\tgetResizeTarget() {\n\t\tif (this.widthValue === null || this.widthValue === \"\") {\n\t\t\treturn \"\";\n\t\t}\n\n\t\tif (String(this.widthValue).startsWith(\"match:\")) {\n\t\t\tconst [match, target] = String(this.widthValue).split(\":\", 2);\n\t\t\tif (!target) {\n\t\t\t\treturn \"\";\n\t\t\t}\n\n\t\t\tif (target === \"trigger\") {\n\t\t\t\treturn \"trigger\";\n\t\t\t}\n\n\t\t\tconsole.error(`popover: unsupported resize target: ${target}`)\n\t\t}\n\n\t\treturn \"\";\n\t}\n\n\tresize(target) {\n\t\tif (target === \"trigger\") {\n\t\t\tconst triggerRect = this.triggerTarget.getBoundingClientRect();\n\n\t\t\tthis.contentTarget.style.width = `${triggerRect.width}px`;\n\t\t\tthis.reposition();\n\t\t}\n\t}\n\n\topen() {\n\t\tthis.contentTarget?.classList?.remove('d-none');\n\t\tthis.resize(this.getResizeTarget());\n\t}\n\n\treposition() {\n\t\tconst triggerRect = this.triggerTarget.getBoundingClientRect();\n\t\tconst contentRect = this.contentTarget.getBoundingClientRect();\n\t\tthis.contentTarget.style.translate = `${-(contentRect.width - triggerRect.width)/2}px 0`;\n\t}\n\n\tclose() {\n\t\tthis.contentTarget?.classList?.add('d-none');\n\t}\n\n\tclickOutside() {\n\t\tthis.close();\n\t}\n}\n","import { Controller } from '@hotwired/stimulus';\n\nexport default class extends Controller {\n\tstatic targets = [\"target\"];\n\n\tstatic values = {\n\t\taddClassNames: Array,\n\t\tremoveClassNames: Array\n\t}\n\n\tconnect() {\n\t\tthis.update();\n\t}\n\n\tupdate() {\n\t\tconst elements = this.targetTargets;\n\n\t\tconst addCls = this.addClassNamesValue;\n\t\tconst removeCls = this.removeClassNamesValue;\n\n\t\tif (addCls.length === 0 && removeCls.length === 0) {\n\t\t\tconsole.log(\"no classlists\");\n\t\t\treturn;\n\t\t}\n\n\t\tfor (let i = 0; i < elements.length; i++) {\n\t\t\tconst el = elements[i];\n\t\t\tconst inEl = el.querySelector(\"input\");\n\t\t\tif (!inEl) {\n\t\t\t\tconsole.log(\"no input element found\");\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (inEl.checked) {\n\t\t\t\taddCls.forEach(c => { el.classList.add(c); })\n\t\t\t\tremoveCls.forEach(c => { el.classList.remove(c); })\n\t\t\t} else {\n\t\t\t\t// inverse if unchecked\n\t\t\t\taddCls.forEach(c => { el.classList.remove(c); })\n\t\t\t\tremoveCls.forEach(c => { el.classList.add(c); })\n\t\t\t}\n\t\t}\n\t\t//if (!element) {\n\t\t//\tconsole.warn(`Element with selector \"${target}\" not found`);\n\t\t//\treturn;\n\t\t//}\n\t\t//\n\t\t//element.classList.toggle(className);\n\t}\n}\n","import { Controller } from '@hotwired/stimulus';\n\nexport default class extends Controller {\n\tconnect() {\n\t}\n\n\ttoggle({ params: { target, className } }) {\n\t\tconst element = document.querySelector(target);\n\t\tif (!element) {\n\t\t\tconsole.warn(`Element with selector \"${target}\" not found`);\n\t\t\treturn;\n\t\t}\n\n\t\telement.classList.toggle(className);\n\t}\n}\n","import { Controller } from '@hotwired/stimulus';\n\nexport default class extends Controller {\n\tstatic values = {\n\t\ttext: String\n\t}\n\n\tid = \"\" + Math.round(Math.random() * 1000000);\n\n\tconnect() {\n\t\tthis.attachListeners();\n\t}\n\n\tattachListeners() {\n\t\tthis.element.addEventListener(\"mouseover\", () => {\n\t\t\tthis.showTooltip();\n\t\t})\n\t\tthis.element.addEventListener(\"mouseleave\", () => {\n\t\t\tthis.hideTooltip();\n\t\t})\n\t}\n\n\tshowTooltip() {\n\t\tconst existing = document.getElementById(this.id);\n\t\tif (existing) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst tooltipEl = document.createElement(\"div\");\n\t\ttooltipEl.classList.add(\"py-1\", \"px-2\", \"position-absolute\", \"bg-black\", \"text-white\", \"rounded\", \"text-center\");\n\t\ttooltipEl.style.maxWidth = \"200px\";\n\t\ttooltipEl.innerText = this.textValue;\n\t\ttooltipEl.id = this.id;\n\t\tdocument.lastChild.appendChild(tooltipEl)\n\t\tthis.position(tooltipEl);\n\t}\n\n\thideTooltip() {\n\t\tconst existing = document.getElementById(this.id);\n\t\tif (!existing) {\n\t\t\treturn;\n\t\t}\n\n\t\texisting.remove();\n\t}\n\n\tposition(el, pos = \"top\") {\n\t\tconst target = this.element.getBoundingClientRect();\n\t\tconst { width, height } = el.getBoundingClientRect();\n\t\tconst dist = 5;\n\n\t\tlet left = 0;\n\t\tlet top = 0;\n\t\tswitch (pos) {\n\t\t\tcase 'top':\n\t\t\t\tleft = target.x + target.width / 2 - width / 2;\n\t\t\t\ttop = target.top - height - dist;\n\t\t\t\tbreak;\n\t\t\tcase 'bottom':\n\t\t\t\tleft = target.x + target.width/2 - width/2;\n\t\t\t\ttop = target.bottom + dist;\n\t\t\t\tbreak;\n\t\t\tcase 'left':\n\t\t\t\tleft = target.left - width - dist;\n\t\t\t\ttop = target.top + target.height/2 - height/2;\n\t\t\t\tbreak;\n\t\t\tcase 'right':\n\t\t\t\tleft = target.right + dist;\n\t\t\t\ttop = target.top + target.height/2 - height/2;\n\t\t}\n\n\t\tel.style.left = `${left}px`;\n\t\tel.style.top = `${top}px`;\n\t\tel.style.zIndex = 2000;\n\t}\n}\n","// register any custom, 3rd party controllers here\n// app.register('some_controller_name', SomeImportedController\n//\nimport { startStimulusApp } from '@symfony/stimulus-bridge';\n\n// Registers Stimulus controllers from controllers.json and in the controllers/ directory\nexport const app = startStimulusApp(require.context(\n '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',\n true,\n /\\.(j|t)sx?$/\n));\n","const defaultOptions = {\n\tevents: [\"click\", \"touchend\"],\n};\n\nexport const useClickOutside = (controller, options = {}) => {\n\tconst { events } = Object.assign({}, defaultOptions, options);\n\n\tconst onEvent = (event) => {\n\t\tconst targetElements = options?.elements || [controller.element];\n\n\t\tlet hit = false;\n\t\ttargetElements.forEach(target => {\n\t\t\tif (target.contains(event.target)) {\n\t\t\t\thit = true;\n\t\t\t\treturn;\n\t\t\t}\n\t\t});\n\n\t\tif (controller.checkCustomBoundingRect) {\n\t\t\thit = controller.checkCustomBoundingRect(event);\n\t\t}\n\n\t\tif (hit) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (controller.clickOutside) {\n\t\t\tcontroller.clickOutside(event);\n\t\t}\n\t};\n\n\tconst observe = () => {\n\t\tevents?.forEach(event => {\n\t\t\twindow.addEventListener(event, onEvent, true);\n\t\t});\n\t};\n\n\tconst unobserve = () => {\n\t\tevents?.forEach(event => {\n\t\t\twindow.removeEventListener(event, onEvent, true);\n\t\t});\n\t};\n\n\tconst controllerDisconnect = controller.disconnect.bind(controller);\n\n\tObject.assign(controller, {\n\t\tdisconnect() {\n\t\t\tunobserve();\n\t\t\tcontrollerDisconnect();\n\t\t}\n\t});\n\n\tobserve();\n\n\treturn [observe, unobserve];\n}\n"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports","_class","Controller","constructor","arguments","_defineProperty","connect","this","brevo","window","BrevoConversations","console","log","disabled","promptValue","BrevoConversationsSetup","locale","customStrings","welcome","contextValue","k","v","entries","update","shouldStartTimer","startTimer","resetTimerOnUserActivity","setupOpenListener","key","value","openChatWindow","length","undefined","disableTimer","clearTimeout","chatTimer","enableTimer","overrideDelay","delay","setTimeout","hasNoticeTarget","addNotice","setChatNoticeShown","activityHandler","forEach","event","document","addEventListener","passive","onChatOpened","hideNotice","sleep","ms","Promise","r","selector","async","reject","i","el","querySelector","then","observer","observeClassChanges","element","callback","MutationObserver","mutations","mutation","attributeName","classList","observe","attributes","attributeFilter","classes","contains","disconnect","catch","err","error","parent","getElementById","noticeTarget","assign","style","position","top","minWidth","right","zIndex","prepend","rect","getBoundingClientRect","concat","height","add","localStorage","setItem","Date","now","noticeShown","getItem","context","prompt","String","totalTarget","calculate","observeChildren","mutationsList","nodeList","addedNodes","removedNodes","filter","call","node","childList","subtree","total","priceTargets","price","index","amount","Number","parseFloat","replace","quantityTargets","container","containerTarget","children","append","cloneNode","calibrateWidth","periodValue","direction","directionValue","startCarousel","width","transform","period","interval","setInterval","_left","_right","stopCarousel","clearInterval","child","last","lastElementChild","remove","once","left","first","firstElementChild","decrement","inputTarget","minValue","increment","min","type","default","toggle","_ref","params","target","setAttribute","warn","_this$elementTargets","elementTargets","preventDefault","navigate","path","location","_isClickInElement","WeakSet","_classPrivateMethodInitSpec","closeOnClickOutsideValue","useClickOutside","triggerOnObserveValue","triggerTarget","IntersectionObserver","isIntersecting","open","dialogTarget","showModal","modal","close","clickOutside","_classPrivateMethodGet","_isClickInElement2","checkCustomBoundingRect","clientY","clientX","triggerOnObserve","Boolean","closeOnClickOutside","component","getComponent","containerId","mountTarget","language","languageValue","checkout","Dibs","Checkout","checkoutKey","apiKeyValue","paymentId","paymentIdValue","theme","backgroundColor","buttonRadius","cancelButtonTarget","freeze","on","removeAttribute","successPathValue","validate","action","response","redirected","send","freezeCheckout","apiKey","successPath","targets","contentTarget","push","elements","resizeTarget","getResizeTarget","resize","widthValue","startsWith","match","split","triggerRect","reposition","_this$contentTarget","_this$contentTarget$c","contentRect","translate","_this$contentTarget2","_this$contentTarget2$","targetTargets","addCls","addClassNamesValue","removeCls","removeClassNamesValue","inEl","checked","c","addClassNames","Array","removeClassNames","className","Math","round","random","attachListeners","showTooltip","hideTooltip","tooltipEl","createElement","maxWidth","innerText","textValue","lastChild","appendChild","existing","pos","x","bottom","text","startStimulusApp","require","defaultOptions","events","controller","options","onEvent","targetElements","hit","unobserve","removeEventListener","controllerDisconnect","bind"],"sourceRoot":""}