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AACkI,EAAW1R,SAExD,IAAI8R,GAAM,EACVD,EAAejP,SAAQ4H,IAClBA,EAAO9F,SAAS7B,EAAM2H,UACzBsH,GAAM,EAEP,IAGGJ,EAAW1F,0BACd8F,EAAMJ,EAAW1F,wBAAwBnJ,IAGtCiP,GAIAJ,EAAWjI,cACdiI,EAAWjI,aAAa5G,EACzB,EAGKyB,EAAUA,KACfmN,SAAAA,EAAQ7O,SAAQC,IACflC,OAAOoC,iBAAiBF,EAAO+O,GAAS,EAAK,GAC5C,EAGGG,EAAYA,KACjBN,SAAAA,EAAQ7O,SAAQC,IACflC,OAAOqR,oBAAoBnP,EAAO+O,GAAS,EAAK,GAC/C,EAGGK,EAAuBP,EAAW/M,WAAWuN,KAAKR,GAWxD,OATAzS,OAAOiG,OAAOwM,EAAY,CACzB/M,aACCoN,IACAE,GACD,IAGD3N,IAEO,CAACA,EAASyN,EAClB,C","sources":["webpack:/// \\.(j%7Ct)sx","webpack:///./assets/controllers.json","webpack:///./assets/controllers/autosubmit_controller.js","webpack:///./assets/controllers/brevo_controller.js","webpack:///./assets/controllers/calculate-total_controller.js","webpack:///./assets/controllers/carousel_controller.js","webpack:///./assets/controllers/click-outside_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\"./autosubmit_controller.js\": 8139,\n\t\"./brevo_controller.js\": 6054,\n\t\"./calculate-total_controller.js\": 18190,\n\t\"./carousel_controller.js\": 17596,\n\t\"./click-outside_controller.js\": 15344,\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\tdebounce: { type: Number, default: 500 }\n\t};\n\n\tstatic targets = [\"input\"];\n\n\tconnect() {\n\t\tthis.timeout = null;\n\t}\n\n\thandleInput() {\n\t\tclearTimeout(this.timeout);\n\t\tthis.timeout = setTimeout(() => {\n\t\t\tthis.submitForm();\n\t\t}, this.debounceValue);\n\t}\n\n\tsubmitForm() {\n\t\t// Find the nearest form element and submit it.\n\t\tconst form = this.element.closest('form');\n\t\tif (form) {\n\t\t\t// Using requestSubmit() allows for built-in form validation.\n\t\t\tform.requestSubmit();\n\t\t}\n\t}\n}\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\tleft: 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';\nimport { useClickOutside } from '../js/use-click-outside';\n\nexport default class extends Controller {\n\tconnect() {\n\t\tuseClickOutside(this, {elements: [this.element]})\n\t}\n\n\tclickOutside() {\n\t\tconsole.log(\"click outside\");\n\t\tthis.dispatch(\"click\");\n\t}\n}\n","import { Controller } from '@hotwired/stimulus';\n\nconst noMax = Infinity;\n\nexport default class extends Controller {\n\tstatic values = {\n\t\tmin: { type: Number, default: 0 },\n\t\tmax: { type: Number, default: noMax }\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\n\t\tvar event = new Event('change');\n\t\tthis.inputTarget.dispatchEvent(event);\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\tif (value >= this.maxValue) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.inputTarget.value = 1 + Number(value);\n\n\t\tvar event = new Event('change');\n\t\tthis.inputTarget.dispatchEvent(event);\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: { targets } }) {\n\t\ttargets.forEach(({ selector, className, op = 'toggle' }) => {\n\t\t\tthis.do(selector, className, op);\n\t\t});\n\t}\n\n\tdo(selector, className, op = 'toggle') {\n\t\tconst element = document.querySelector(selector);\n\t\tif (!element) {\n\t\t\tconsole.warn(`Element with selector \"${selector}\" not found`);\n\n\t\t\treturn;\n\t\t}\n\n\t\tswitch (op) {\n\t\t\tcase 'toggle':\n\t\t\t\telement.classList.toggle(className);\n\t\t\t\tbreak;\n\t\t\tcase 'add':\n\t\t\t\telement.classList.add(className);\n\t\t\t\tbreak;\n\t\t\tcase 'remove':\n\t\t\t\telement.classList.remove(className);\n\t\t\t\tbreak;\n\t\t}\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","connect","this","timeout","handleInput","clearTimeout","setTimeout","submitForm","debounceValue","form","element","closest","requestSubmit","_defineProperty","debounce","type","Number","default","constructor","arguments","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","chatTimer","enableTimer","overrideDelay","delay","hasNoticeTarget","addNotice","setChatNoticeShown","activityHandler","forEach","event","document","addEventListener","passive","onChatOpened","hideNotice","sleep","ms","Promise","r","selector","async","reject","i","el","querySelector","then","observer","observeClassChanges","callback","MutationObserver","mutations","mutation","attributeName","classList","observe","attributes","attributeFilter","classes","contains","disconnect","catch","err","error","parent","getElementById","noticeTarget","assign","style","position","top","minWidth","left","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","parseFloat","replace","quantityTargets","container","containerTarget","children","append","cloneNode","calibrateWidth","periodValue","direction","directionValue","startCarousel","width","transform","period","interval","setInterval","_left","_right","stopCarousel","clearInterval","right","child","last","lastElementChild","remove","once","first","firstElementChild","useClickOutside","elements","clickOutside","dispatch","decrement","inputTarget","minValue","Event","dispatchEvent","increment","maxValue","min","max","Infinity","toggle","_ref","params","target","setAttribute","warn","_this$elementTargets","elementTargets","preventDefault","navigate","path","location","_isClickInElement","WeakSet","_classPrivateMethodInitSpec","closeOnClickOutsideValue","triggerOnObserveValue","triggerTarget","IntersectionObserver","isIntersecting","open","dialogTarget","showModal","modal","close","_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","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","_ref2","className","op","do","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":""}