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AAQ,IACR2X,UAAS,IACTC,kBAAiB,IACjB5V,QACF,K","sources":["webpack://biobela/./app/javascript/components/Carousel.jsx","webpack://biobela/./app/javascript/components/Gallery.jsx","webpack://biobela/./app/javascript/components/disclosure/ContactFormToggle.jsx","webpack://biobela/./app/javascript/components/location/WorkTime.jsx","webpack://biobela/./app/javascript/components/location/Map.jsx","webpack://biobela/./app/javascript/components/location/LocationList.jsx","webpack://biobela/./app/javascript/components/location/Locations.jsx","webpack://biobela/./app/javascript/components/navbar/utils.jsx","webpack://biobela/./app/javascript/components/navbar/Profile.jsx","webpack://biobela/./app/javascript/components/navbar/Navbar.jsx","webpack://biobela/./node_modules/@rails/ujs/app/assets/javascripts/rails-ujs.esm.js","webpack://biobela/./app/javascript/packs/application_shakapacker.js","webpack://biobela/./app/javascript/packs/react.js"],"sourcesContent":["import React from 'react'\n\n// import Swiper core and required modules\nimport { Pagination, Autoplay } from 'swiper/modules'\n\nimport { Swiper, SwiperSlide } from 'swiper/react'\n\n// Import Swiper styles\nimport 'swiper/css'\nimport 'swiper/css/pagination'\n\nexport default function Carousel({ images, classNames }) {\n let fastLoadFirst = 3\n let slides = images.map((imagePath) => {\n let loading = fastLoadFirst <= 0 ? 'lazy' : 'eager'\n fastLoadFirst -= 1\n return (\n \n \n \n )\n })\n\n return (\n \n {slides}\n \n )\n}\n","import React from 'react'\n\nimport LightGallery from 'lightgallery/react'\n\n// import styles\nimport 'lightgallery/css/lightgallery.css'\nimport 'lightgallery/css/lg-zoom.css'\nimport 'lightgallery/css/lg-thumbnail.css'\n\n// If you want you can use SCSS instead of css\nimport 'lightgallery/scss/lightgallery.scss'\nimport 'lightgallery/scss/lg-zoom.scss'\n\n// import plugins if you need\nimport lgThumbnail from 'lightgallery/plugins/thumbnail'\nimport lgZoom from 'lightgallery/plugins/zoom'\nimport fjGallery from 'flickr-justified-gallery'\n\nimport { useEffect } from 'react'\n\nexport default function Gallery({ imageSources }) {\n useEffect(() => {\n fjGallery(document.querySelectorAll('.gallery'), {\n itemSelector: '.gallery-item',\n rowHeight: 300,\n lastRow: 'hide',\n gutter: 10,\n rowHeightTolerance: 0.25,\n calculateItemsHeight: false,\n })\n }, [])\n\n let images = imageSources.map((imageSource, index) => {\n return (\n
\n \n
\n )\n })\n\n return (\n \n {images}\n \n )\n}\n","import React, { useState } from 'react'\nimport { ChevronLeftIcon } from '@heroicons/react/24/solid'\nimport $ from 'jquery'\n\nconst defaultBtnStyle =\n 'w-full flex justify-between w-full px-4 py-2 text-lg font-semibold text-left text-gray-100 border-2 ' +\n 'rounded-lg hover:bg-green-800 focus:outline-none focus-visible:ring focus-visible:ring-purple-500 focus-visible:ring-opacity-75'\n\nexport default function (props) {\n let [open, setOpen] = useState(false)\n const toggleForm = () => {\n $('#contact-form').slideToggle()\n setOpen((previous) => !previous)\n }\n return (\n \n Putem kontakt obrasca\n \n \n )\n}\n","import React from 'react'\n\n// Receives working hours range for weekdays, saturday and sunday\nconst WorkTime = ({ weekdays, sat, sun }) => {\n return (\n
    \n {weekdays &&
  • PON-PET: {weekdays}
  • }\n {sat &&
  • SUB: {sat}
  • }\n {sun &&
  • NED: {sun}
  • }\n
\n )\n}\n\nexport default WorkTime\n","import React from 'react'\nimport {\n GoogleMap,\n useJsApiLoader,\n Marker,\n InfoWindow,\n} from '@react-google-maps/api'\nimport WorkTime from './WorkTime'\n\nconst SelectedLocationInfo = ({\n title,\n address1,\n address2,\n googleLink,\n coords,\n onClose,\n workingHours,\n}) => {\n const town = address2.split(', ')[1]\n const infoWindowTitle = 'text-lg mb-2'\n return (\n \n
\n

{title}

\n \n
\n

\n {address1}\n {town ? `, ${town}` : null}\n

\n {\n

\n \n Prikaži na Google kartama\n \n

\n }\n
\n
\n )\n}\n\nconst mapsLibs = ['places']\n\nfunction MyComponent(props) {\n const { isLoaded } = useJsApiLoader({\n id: 'google-map-script',\n googleMapsApiKey: props.apiKey,\n libraries: mapsLibs,\n })\n\n const [map, setMap] = React.useState(null)\n const locationMarkers = props.locations.map((location) => {\n return (\n props.setActiveLocation(location.placeId)}\n />\n )\n })\n\n const onLoad = React.useCallback(function callback(map) {\n setMap(map)\n }, [])\n\n const onUnmount = React.useCallback(function callback(map) {\n setMap(null)\n }, [])\n\n React.useEffect(() => {\n if (map && props.selectedLocation) {\n map.panTo(props.selectedLocation.coords)\n }\n }, [map, props.selectedLocation])\n\n return isLoaded ? (\n \n {locationMarkers}\n {props.selectedLocation && (\n \n )}\n \n ) : (\n <>\n )\n}\n\nexport default React.memo(MyComponent)\n","import React from 'react'\n\nimport WorkTime from './WorkTime'\n\nconst LocationButton = ({\n selected,\n onClick,\n address1,\n address2,\n title,\n placeId,\n workingHours,\n}) => {\n const selectedStyle = ' border-4 border-blue-500'\n let btnStyle = 'box-border py-3 shadow-sm rounded-md'\n if (selected) {\n btnStyle += selectedStyle\n }\n\n return (\n
  • \n \n
  • \n )\n}\n\nconst LocationList = (props) => {\n const locationItems = props.locations.map((location) => {\n return (\n \n )\n })\n return (\n \n \n {' '}\n Lokacije\n \n
      \n {locationItems}\n
    \n \n )\n}\nexport default LocationList\n","import React, { useState } from 'react'\nimport Map from './Map'\nimport LocationList from './LocationList'\n\nconst CONFIGURATION = {\n locations: [\n {\n title: 'Vrtni centar Podsused',\n address1: 'Podsusedska aleja 12',\n address2: '10000, Zagreb, Hrvatska',\n coords: { lat: 45.81645688383391, lng: 15.8370991 },\n placeId: 'ChIJw2GlDd3RZUcRu6bg_InMrjg',\n googleLink: 'https://goo.gl/maps/4cfd6refrFtkTw3d8',\n workingHours: {\n weekdays: '8:00-17:00',\n sat: '7:30-14:00',\n //\"sun\": \"ne radimo\"\n },\n },\n {\n title: 'Poslovnica Zaprešić',\n address1: 'Tržna ul. 1',\n address2: '10290, Zaprešić, Hrvatska',\n coords: { lat: 45.855959776000816, lng: 15.803622969311508 },\n placeId: 'ChIJEUCSyqPPZUcRPibwuoxFNwA',\n googleLink: 'https://goo.gl/maps/JKcDZweqwfjxDYPY8',\n workingHours: {\n weekdays: '8:00-17:00',\n sat: '8:00-13:00',\n //\"sun\": \"ne radimo\"\n },\n },\n ],\n mapOptions: {\n center: { lat: 45.817338, lng: 15.8415 },\n fullscreenControl: true,\n mapTypeControl: false,\n streetViewControl: false,\n zoom: 4,\n zoomControl: true,\n maxZoom: 17,\n },\n mapsApiKey: 'AIzaSyClJcalSDqJsr3Q2CKJuM0GmyeBUKuzK-c',\n}\n\nexport default function (props) {\n const [activeLocationId, setActiveLocation] = useState('')\n const selectedLocation = CONFIGURATION.locations.find(\n (loc) => loc.placeId === activeLocationId\n )\n\n const handleSelectLocation = (id) => {\n setActiveLocation(id)\n }\n\n const handleCloseInfoWindow = (id) => {\n setActiveLocation('')\n }\n\n return (\n
    \n \n \n
    \n )\n}\n","function classNames(...classes) {\n return classes.filter(Boolean).join(' ')\n}\n\nexport { classNames }\n","import { Menu, Transition } from '@headlessui/react'\nimport React, { Fragment } from 'react'\nimport { classNames } from './utils'\n\nconst Profile = () => {\n return (\n \n
    \n \n Open user menu\n \n \n \n \n
    \n \n \n \n {({ active }) => (\n \n Your Profile\n \n )}\n \n \n {({ active }) => (\n \n Settings\n \n )}\n \n \n {({ active }) => (\n \n Sign out\n \n )}\n \n \n \n
    \n )\n}\nexport default Profile\n","import React, { Fragment } from 'react'\nimport {\n Disclosure,\n DisclosureButton,\n DisclosurePanel,\n} from '@headlessui/react'\nimport { Bars3Icon, XMarkIcon } from '@heroicons/react/24/outline'\nimport Profile from './Profile'\nimport logo from 'images/biobela_small_light_white.png'\nimport { classNames } from './utils'\n\nconst Navbar = ({ enableUsers, navElements }) => {\n const DesktopNavElements = () => {\n return (\n
    \n
    \n {navElements.map((item) => (\n \n {item.label}\n \n ))}\n
    \n
    \n )\n }\n\n return (\n \n {({ open }) => (\n <>\n
    \n
    \n
    \n {/* Mobile menu button*/}\n \n Open main menu\n {open ? (\n \n ) : (\n \n )}\n \n
    \n
    \n
    \n \n \n \n
    \n {}\n
    \n
    \n {/* Profile dropdown */}\n {enableUsers && }\n
    \n
    \n
    \n\n {/* Mobile menu, show/hide based on menu state. */}\n \n
    \n {navElements.map((item) => (\n \n {item.label}\n \n ))}\n
    \n
    \n \n )}\n
    \n )\n}\n\nexport default Navbar\n","/*\nUnobtrusive JavaScript\nhttps://github.com/rails/rails/blob/main/actionview/app/javascript\nReleased under the MIT license\n */\nconst linkClickSelector = \"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]\";\n\nconst buttonClickSelector = {\n selector: \"button[data-remote]:not([form]), button[data-confirm]:not([form])\",\n exclude: \"form button\"\n};\n\nconst inputChangeSelector = \"select[data-remote], input[data-remote], textarea[data-remote]\";\n\nconst formSubmitSelector = \"form:not([data-turbo=true])\";\n\nconst formInputClickSelector = \"form:not([data-turbo=true]) input[type=submit], form:not([data-turbo=true]) input[type=image], form:not([data-turbo=true]) button[type=submit], form:not([data-turbo=true]) button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])\";\n\nconst formDisableSelector = \"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled\";\n\nconst formEnableSelector = \"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled\";\n\nconst fileInputSelector = \"input[name][type=file]:not([disabled])\";\n\nconst linkDisableSelector = \"a[data-disable-with], a[data-disable]\";\n\nconst buttonDisableSelector = \"button[data-remote][data-disable-with], button[data-remote][data-disable]\";\n\nlet nonce = null;\n\nconst loadCSPNonce = () => {\n const metaTag = document.querySelector(\"meta[name=csp-nonce]\");\n return nonce = metaTag && metaTag.content;\n};\n\nconst cspNonce = () => nonce || loadCSPNonce();\n\nconst m = Element.prototype.matches || Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector;\n\nconst matches = function(element, selector) {\n if (selector.exclude) {\n return m.call(element, selector.selector) && !m.call(element, selector.exclude);\n } else {\n return m.call(element, selector);\n }\n};\n\nconst EXPANDO = \"_ujsData\";\n\nconst getData = (element, key) => element[EXPANDO] ? element[EXPANDO][key] : undefined;\n\nconst setData = function(element, key, value) {\n if (!element[EXPANDO]) {\n element[EXPANDO] = {};\n }\n return element[EXPANDO][key] = value;\n};\n\nconst $ = selector => Array.prototype.slice.call(document.querySelectorAll(selector));\n\nconst isContentEditable = function(element) {\n var isEditable = false;\n do {\n if (element.isContentEditable) {\n isEditable = true;\n break;\n }\n element = element.parentElement;\n } while (element);\n return isEditable;\n};\n\nconst csrfToken = () => {\n const meta = document.querySelector(\"meta[name=csrf-token]\");\n return meta && meta.content;\n};\n\nconst csrfParam = () => {\n const meta = document.querySelector(\"meta[name=csrf-param]\");\n return meta && meta.content;\n};\n\nconst CSRFProtection = xhr => {\n const token = csrfToken();\n if (token) {\n return xhr.setRequestHeader(\"X-CSRF-Token\", token);\n }\n};\n\nconst refreshCSRFTokens = () => {\n const token = csrfToken();\n const param = csrfParam();\n if (token && param) {\n return $('form input[name=\"' + param + '\"]').forEach((input => input.value = token));\n }\n};\n\nconst AcceptHeaders = {\n \"*\": \"*/*\",\n text: \"text/plain\",\n html: \"text/html\",\n xml: \"application/xml, text/xml\",\n json: \"application/json, text/javascript\",\n script: \"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"\n};\n\nconst ajax = options => {\n options = prepareOptions(options);\n var xhr = createXHR(options, (function() {\n const response = processResponse(xhr.response != null ? xhr.response : xhr.responseText, xhr.getResponseHeader(\"Content-Type\"));\n if (Math.floor(xhr.status / 100) === 2) {\n if (typeof options.success === \"function\") {\n options.success(response, xhr.statusText, xhr);\n }\n } else {\n if (typeof options.error === \"function\") {\n options.error(response, xhr.statusText, xhr);\n }\n }\n return typeof options.complete === \"function\" ? options.complete(xhr, xhr.statusText) : undefined;\n }));\n if (options.beforeSend && !options.beforeSend(xhr, options)) {\n return false;\n }\n if (xhr.readyState === XMLHttpRequest.OPENED) {\n return xhr.send(options.data);\n }\n};\n\nvar prepareOptions = function(options) {\n options.url = options.url || location.href;\n options.type = options.type.toUpperCase();\n if (options.type === \"GET\" && options.data) {\n if (options.url.indexOf(\"?\") < 0) {\n options.url += \"?\" + options.data;\n } else {\n options.url += \"&\" + options.data;\n }\n }\n if (!(options.dataType in AcceptHeaders)) {\n options.dataType = \"*\";\n }\n options.accept = AcceptHeaders[options.dataType];\n if (options.dataType !== \"*\") {\n options.accept += \", */*; q=0.01\";\n }\n return options;\n};\n\nvar createXHR = function(options, done) {\n const xhr = new XMLHttpRequest;\n xhr.open(options.type, options.url, true);\n xhr.setRequestHeader(\"Accept\", options.accept);\n if (typeof options.data === \"string\") {\n xhr.setRequestHeader(\"Content-Type\", \"application/x-www-form-urlencoded; charset=UTF-8\");\n }\n if (!options.crossDomain) {\n xhr.setRequestHeader(\"X-Requested-With\", \"XMLHttpRequest\");\n CSRFProtection(xhr);\n }\n xhr.withCredentials = !!options.withCredentials;\n xhr.onreadystatechange = function() {\n if (xhr.readyState === XMLHttpRequest.DONE) {\n return done(xhr);\n }\n };\n return xhr;\n};\n\nvar processResponse = function(response, type) {\n if (typeof response === \"string\" && typeof type === \"string\") {\n if (type.match(/\\bjson\\b/)) {\n try {\n response = JSON.parse(response);\n } catch (error) {}\n } else if (type.match(/\\b(?:java|ecma)script\\b/)) {\n const script = document.createElement(\"script\");\n script.setAttribute(\"nonce\", cspNonce());\n script.text = response;\n document.head.appendChild(script).parentNode.removeChild(script);\n } else if (type.match(/\\b(xml|html|svg)\\b/)) {\n const parser = new DOMParser;\n type = type.replace(/;.+/, \"\");\n try {\n response = parser.parseFromString(response, type);\n } catch (error1) {}\n }\n }\n return response;\n};\n\nconst href = element => element.href;\n\nconst isCrossDomain = function(url) {\n const originAnchor = document.createElement(\"a\");\n originAnchor.href = location.href;\n const urlAnchor = document.createElement(\"a\");\n try {\n urlAnchor.href = url;\n return !((!urlAnchor.protocol || urlAnchor.protocol === \":\") && !urlAnchor.host || originAnchor.protocol + \"//\" + originAnchor.host === urlAnchor.protocol + \"//\" + urlAnchor.host);\n } catch (e) {\n return true;\n }\n};\n\nlet preventDefault;\n\nlet {CustomEvent: CustomEvent} = window;\n\nif (typeof CustomEvent !== \"function\") {\n CustomEvent = function(event, params) {\n const evt = document.createEvent(\"CustomEvent\");\n evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\n return evt;\n };\n CustomEvent.prototype = window.Event.prototype;\n ({preventDefault: preventDefault} = CustomEvent.prototype);\n CustomEvent.prototype.preventDefault = function() {\n const result = preventDefault.call(this);\n if (this.cancelable && !this.defaultPrevented) {\n Object.defineProperty(this, \"defaultPrevented\", {\n get() {\n return true;\n }\n });\n }\n return result;\n };\n}\n\nconst fire = (obj, name, data) => {\n const event = new CustomEvent(name, {\n bubbles: true,\n cancelable: true,\n detail: data\n });\n obj.dispatchEvent(event);\n return !event.defaultPrevented;\n};\n\nconst stopEverything = e => {\n fire(e.target, \"ujs:everythingStopped\");\n e.preventDefault();\n e.stopPropagation();\n e.stopImmediatePropagation();\n};\n\nconst delegate = (element, selector, eventType, handler) => element.addEventListener(eventType, (function(e) {\n let {target: target} = e;\n while (!!(target instanceof Element) && !matches(target, selector)) {\n target = target.parentNode;\n }\n if (target instanceof Element && handler.call(target, e) === false) {\n e.preventDefault();\n e.stopPropagation();\n }\n}));\n\nconst toArray = e => Array.prototype.slice.call(e);\n\nconst serializeElement = (element, additionalParam) => {\n let inputs = [ element ];\n if (matches(element, \"form\")) {\n inputs = toArray(element.elements);\n }\n const params = [];\n inputs.forEach((function(input) {\n if (!input.name || input.disabled) {\n return;\n }\n if (matches(input, \"fieldset[disabled] *\")) {\n return;\n }\n if (matches(input, \"select\")) {\n toArray(input.options).forEach((function(option) {\n if (option.selected) {\n params.push({\n name: input.name,\n value: option.value\n });\n }\n }));\n } else if (input.checked || [ \"radio\", \"checkbox\", \"submit\" ].indexOf(input.type) === -1) {\n params.push({\n name: input.name,\n value: input.value\n });\n }\n }));\n if (additionalParam) {\n params.push(additionalParam);\n }\n return params.map((function(param) {\n if (param.name) {\n return `${encodeURIComponent(param.name)}=${encodeURIComponent(param.value)}`;\n } else {\n return param;\n }\n })).join(\"&\");\n};\n\nconst formElements = (form, selector) => {\n if (matches(form, \"form\")) {\n return toArray(form.elements).filter((el => matches(el, selector)));\n } else {\n return toArray(form.querySelectorAll(selector));\n }\n};\n\nconst handleConfirmWithRails = rails => function(e) {\n if (!allowAction(this, rails)) {\n stopEverything(e);\n }\n};\n\nconst confirm = (message, element) => window.confirm(message);\n\nvar allowAction = function(element, rails) {\n let callback;\n const message = element.getAttribute(\"data-confirm\");\n if (!message) {\n return true;\n }\n let answer = false;\n if (fire(element, \"confirm\")) {\n try {\n answer = rails.confirm(message, element);\n } catch (error) {}\n callback = fire(element, \"confirm:complete\", [ answer ]);\n }\n return answer && callback;\n};\n\nconst handleDisabledElement = function(e) {\n const element = this;\n if (element.disabled) {\n stopEverything(e);\n }\n};\n\nconst enableElement = e => {\n let element;\n if (e instanceof Event) {\n if (isXhrRedirect(e)) {\n return;\n }\n element = e.target;\n } else {\n element = e;\n }\n if (isContentEditable(element)) {\n return;\n }\n if (matches(element, linkDisableSelector)) {\n return enableLinkElement(element);\n } else if (matches(element, buttonDisableSelector) || matches(element, formEnableSelector)) {\n return enableFormElement(element);\n } else if (matches(element, formSubmitSelector)) {\n return enableFormElements(element);\n }\n};\n\nconst disableElement = e => {\n const element = e instanceof Event ? e.target : e;\n if (isContentEditable(element)) {\n return;\n }\n if (matches(element, linkDisableSelector)) {\n return disableLinkElement(element);\n } else if (matches(element, buttonDisableSelector) || matches(element, formDisableSelector)) {\n return disableFormElement(element);\n } else if (matches(element, formSubmitSelector)) {\n return disableFormElements(element);\n }\n};\n\nvar disableLinkElement = function(element) {\n if (getData(element, \"ujs:disabled\")) {\n return;\n }\n const replacement = element.getAttribute(\"data-disable-with\");\n if (replacement != null) {\n setData(element, \"ujs:enable-with\", element.innerHTML);\n element.innerHTML = replacement;\n }\n element.addEventListener(\"click\", stopEverything);\n return setData(element, \"ujs:disabled\", true);\n};\n\nvar enableLinkElement = function(element) {\n const originalText = getData(element, \"ujs:enable-with\");\n if (originalText != null) {\n element.innerHTML = originalText;\n setData(element, \"ujs:enable-with\", null);\n }\n element.removeEventListener(\"click\", stopEverything);\n return setData(element, \"ujs:disabled\", null);\n};\n\nvar disableFormElements = form => formElements(form, formDisableSelector).forEach(disableFormElement);\n\nvar disableFormElement = function(element) {\n if (getData(element, \"ujs:disabled\")) {\n return;\n }\n const replacement = element.getAttribute(\"data-disable-with\");\n if (replacement != null) {\n if (matches(element, \"button\")) {\n setData(element, \"ujs:enable-with\", element.innerHTML);\n element.innerHTML = replacement;\n } else {\n setData(element, \"ujs:enable-with\", element.value);\n element.value = replacement;\n }\n }\n element.disabled = true;\n return setData(element, \"ujs:disabled\", true);\n};\n\nvar enableFormElements = form => formElements(form, formEnableSelector).forEach((element => enableFormElement(element)));\n\nvar enableFormElement = function(element) {\n const originalText = getData(element, \"ujs:enable-with\");\n if (originalText != null) {\n if (matches(element, \"button\")) {\n element.innerHTML = originalText;\n } else {\n element.value = originalText;\n }\n setData(element, \"ujs:enable-with\", null);\n }\n element.disabled = false;\n return setData(element, \"ujs:disabled\", null);\n};\n\nvar isXhrRedirect = function(event) {\n const xhr = event.detail ? event.detail[0] : undefined;\n return xhr && xhr.getResponseHeader(\"X-Xhr-Redirect\");\n};\n\nconst handleMethodWithRails = rails => function(e) {\n const link = this;\n const method = link.getAttribute(\"data-method\");\n if (!method) {\n return;\n }\n if (isContentEditable(this)) {\n return;\n }\n const href = rails.href(link);\n const csrfToken$1 = csrfToken();\n const csrfParam$1 = csrfParam();\n const form = document.createElement(\"form\");\n let formContent = ``;\n if (csrfParam$1 && csrfToken$1 && !isCrossDomain(href)) {\n formContent += ``;\n }\n formContent += '';\n form.method = \"post\";\n form.action = href;\n form.target = link.target;\n form.innerHTML = formContent;\n form.style.display = \"none\";\n document.body.appendChild(form);\n form.querySelector('[type=\"submit\"]').click();\n stopEverything(e);\n};\n\nconst isRemote = function(element) {\n const value = element.getAttribute(\"data-remote\");\n return value != null && value !== \"false\";\n};\n\nconst handleRemoteWithRails = rails => function(e) {\n let data, method, url;\n const element = this;\n if (!isRemote(element)) {\n return true;\n }\n if (!fire(element, \"ajax:before\")) {\n fire(element, \"ajax:stopped\");\n return false;\n }\n if (isContentEditable(element)) {\n fire(element, \"ajax:stopped\");\n return false;\n }\n const withCredentials = element.getAttribute(\"data-with-credentials\");\n const dataType = element.getAttribute(\"data-type\") || \"script\";\n if (matches(element, formSubmitSelector)) {\n const button = getData(element, \"ujs:submit-button\");\n method = getData(element, \"ujs:submit-button-formmethod\") || element.getAttribute(\"method\") || \"get\";\n url = getData(element, \"ujs:submit-button-formaction\") || element.getAttribute(\"action\") || location.href;\n if (method.toUpperCase() === \"GET\") {\n url = url.replace(/\\?.*$/, \"\");\n }\n if (element.enctype === \"multipart/form-data\") {\n data = new FormData(element);\n if (button != null) {\n data.append(button.name, button.value);\n }\n } else {\n data = serializeElement(element, button);\n }\n setData(element, \"ujs:submit-button\", null);\n setData(element, \"ujs:submit-button-formmethod\", null);\n setData(element, \"ujs:submit-button-formaction\", null);\n } else if (matches(element, buttonClickSelector) || matches(element, inputChangeSelector)) {\n method = element.getAttribute(\"data-method\");\n url = element.getAttribute(\"data-url\");\n data = serializeElement(element, element.getAttribute(\"data-params\"));\n } else {\n method = element.getAttribute(\"data-method\");\n url = rails.href(element);\n data = element.getAttribute(\"data-params\");\n }\n ajax({\n type: method || \"GET\",\n url: url,\n data: data,\n dataType: dataType,\n beforeSend(xhr, options) {\n if (fire(element, \"ajax:beforeSend\", [ xhr, options ])) {\n return fire(element, \"ajax:send\", [ xhr ]);\n } else {\n fire(element, \"ajax:stopped\");\n return false;\n }\n },\n success(...args) {\n return fire(element, \"ajax:success\", args);\n },\n error(...args) {\n return fire(element, \"ajax:error\", args);\n },\n complete(...args) {\n return fire(element, \"ajax:complete\", args);\n },\n crossDomain: isCrossDomain(url),\n withCredentials: withCredentials != null && withCredentials !== \"false\"\n });\n stopEverything(e);\n};\n\nconst formSubmitButtonClick = function(e) {\n const button = this;\n const {form: form} = button;\n if (!form) {\n return;\n }\n if (button.name) {\n setData(form, \"ujs:submit-button\", {\n name: button.name,\n value: button.value\n });\n }\n setData(form, \"ujs:formnovalidate-button\", button.formNoValidate);\n setData(form, \"ujs:submit-button-formaction\", button.getAttribute(\"formaction\"));\n return setData(form, \"ujs:submit-button-formmethod\", button.getAttribute(\"formmethod\"));\n};\n\nconst preventInsignificantClick = function(e) {\n const link = this;\n const method = (link.getAttribute(\"data-method\") || \"GET\").toUpperCase();\n const data = link.getAttribute(\"data-params\");\n const metaClick = e.metaKey || e.ctrlKey;\n const insignificantMetaClick = metaClick && method === \"GET\" && !data;\n const nonPrimaryMouseClick = e.button != null && e.button !== 0;\n if (nonPrimaryMouseClick || insignificantMetaClick) {\n e.stopImmediatePropagation();\n }\n};\n\nconst Rails = {\n $: $,\n ajax: ajax,\n buttonClickSelector: buttonClickSelector,\n buttonDisableSelector: buttonDisableSelector,\n confirm: confirm,\n cspNonce: cspNonce,\n csrfToken: csrfToken,\n csrfParam: csrfParam,\n CSRFProtection: CSRFProtection,\n delegate: delegate,\n disableElement: disableElement,\n enableElement: enableElement,\n fileInputSelector: fileInputSelector,\n fire: fire,\n formElements: formElements,\n formEnableSelector: formEnableSelector,\n formDisableSelector: formDisableSelector,\n formInputClickSelector: formInputClickSelector,\n formSubmitButtonClick: formSubmitButtonClick,\n formSubmitSelector: formSubmitSelector,\n getData: getData,\n handleDisabledElement: handleDisabledElement,\n href: href,\n inputChangeSelector: inputChangeSelector,\n isCrossDomain: isCrossDomain,\n linkClickSelector: linkClickSelector,\n linkDisableSelector: linkDisableSelector,\n loadCSPNonce: loadCSPNonce,\n matches: matches,\n preventInsignificantClick: preventInsignificantClick,\n refreshCSRFTokens: refreshCSRFTokens,\n serializeElement: serializeElement,\n setData: setData,\n stopEverything: stopEverything\n};\n\nconst handleConfirm = handleConfirmWithRails(Rails);\n\nRails.handleConfirm = handleConfirm;\n\nconst handleMethod = handleMethodWithRails(Rails);\n\nRails.handleMethod = handleMethod;\n\nconst handleRemote = handleRemoteWithRails(Rails);\n\nRails.handleRemote = handleRemote;\n\nconst start = function() {\n if (window._rails_loaded) {\n throw new Error(\"rails-ujs has already been loaded!\");\n }\n window.addEventListener(\"pageshow\", (function() {\n $(formEnableSelector).forEach((function(el) {\n if (getData(el, \"ujs:disabled\")) {\n enableElement(el);\n }\n }));\n $(linkDisableSelector).forEach((function(el) {\n if (getData(el, \"ujs:disabled\")) {\n enableElement(el);\n }\n }));\n }));\n delegate(document, linkDisableSelector, \"ajax:complete\", enableElement);\n delegate(document, linkDisableSelector, \"ajax:stopped\", enableElement);\n delegate(document, buttonDisableSelector, \"ajax:complete\", enableElement);\n delegate(document, buttonDisableSelector, \"ajax:stopped\", enableElement);\n delegate(document, linkClickSelector, \"click\", preventInsignificantClick);\n delegate(document, linkClickSelector, \"click\", handleDisabledElement);\n delegate(document, linkClickSelector, \"click\", handleConfirm);\n delegate(document, linkClickSelector, \"click\", disableElement);\n delegate(document, linkClickSelector, \"click\", handleRemote);\n delegate(document, linkClickSelector, \"click\", handleMethod);\n delegate(document, buttonClickSelector, \"click\", preventInsignificantClick);\n delegate(document, buttonClickSelector, \"click\", handleDisabledElement);\n delegate(document, buttonClickSelector, \"click\", handleConfirm);\n delegate(document, buttonClickSelector, \"click\", disableElement);\n delegate(document, buttonClickSelector, \"click\", handleRemote);\n delegate(document, inputChangeSelector, \"change\", handleDisabledElement);\n delegate(document, inputChangeSelector, \"change\", handleConfirm);\n delegate(document, inputChangeSelector, \"change\", handleRemote);\n delegate(document, formSubmitSelector, \"submit\", handleDisabledElement);\n delegate(document, formSubmitSelector, \"submit\", handleConfirm);\n delegate(document, formSubmitSelector, \"submit\", handleRemote);\n delegate(document, formSubmitSelector, \"submit\", (e => setTimeout((() => disableElement(e)), 13)));\n delegate(document, formSubmitSelector, \"ajax:send\", disableElement);\n delegate(document, formSubmitSelector, \"ajax:complete\", enableElement);\n delegate(document, formInputClickSelector, \"click\", preventInsignificantClick);\n delegate(document, formInputClickSelector, \"click\", handleDisabledElement);\n delegate(document, formInputClickSelector, \"click\", handleConfirm);\n delegate(document, formInputClickSelector, \"click\", formSubmitButtonClick);\n document.addEventListener(\"DOMContentLoaded\", refreshCSRFTokens);\n document.addEventListener(\"DOMContentLoaded\", loadCSPNonce);\n return window._rails_loaded = true;\n};\n\nRails.start = start;\n\nif (typeof jQuery !== \"undefined\" && jQuery && jQuery.ajax) {\n if (jQuery.rails) {\n throw new Error(\"If you load both jquery_ujs and rails-ujs, use rails-ujs only.\");\n }\n jQuery.rails = Rails;\n jQuery.ajaxPrefilter((function(options, originalOptions, xhr) {\n if (!options.crossDomain) {\n return CSRFProtection(xhr);\n }\n }));\n}\n\nexport { Rails as default };\n","// This file is automatically compiled by Webpack, along with any other files\n// present in this directory. You're encouraged to place your actual application logic in\n// a relevant structure within app/javascript and only use these pack files to reference\n// that code so it'll be compiled.\n\nimport Rails from '@rails/ujs'\n// import * as ActiveStorage from '@rails/activestorage'\n// import 'channels'\n// Load scss (tailwind etc)\nimport 'stylesheets/application.scss'\n\n// Load React\nimport './react'\n\n// document.addEventListener(\"turbolinks:load\", () => {\n// $('[data-toggle=\"tooltip\"]').tooltip()\n// $('[data-toggle=\"popover\"]').popover()\n// })\n\n// If shakapacker was to be used for shop, instead of importmaps\n// import \"../controllers\"\n// import \"@hotwired/turbo-rails\"\n\nRails.start()\n// ActiveStorage.start()\n\n// Uncomment to copy all static images under ../images to the output folder and reference\n// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>)\n// or the `imagePath` JavaScript helper below.\n//\n// const images = require.context('../images', true)\n// const imagePath = (name) => images(name, true)\n","import ReactOnRails from 'react-on-rails'\n\nimport Navbar from '../components/navbar/Navbar'\nimport Carousel from '../components/Carousel'\nimport Locations from '../components/location/Locations'\nimport ContactFormToggle from '../components/disclosure/ContactFormToggle'\nimport Gallery from '../components/Gallery'\n\nReactOnRails.register({\n Navbar,\n Carousel,\n Locations,\n ContactFormToggle,\n Gallery,\n})\n"],"names":["Carousel","images","classNames","fastLoadFirst","slides","map","imagePath","loading","React","SwiperSlide","key","style","width","minWidth","src","className","Swiper","loop","modules","Autoplay","lazy","enabled","loadPrevNext","loadOnTransitionStart","slidesPerView","spaceBetween","autoplay","delay","disableOnInteraction","speed","pagination","clickable","Gallery","imageSources","useEffect","fjGallery","document","querySelectorAll","itemSelector","rowHeight","lastRow","gutter","rowHeightTolerance","calculateItemsHeight","imageSource","index","url","thumbnail_url","LightGallery","elementClassNames","thumbnail","pager","plugins","lgThumbnail","lgZoom","defaultBtnStyle","props","open","setOpen","useState","onClick","toggleForm","$","slideToggle","previous","ChevronLeftIcon","WorkTime","weekdays","sat","sun","SelectedLocationInfo","title","address1","address2","googleLink","coords","onClose","workingHours","town","split","InfoWindow","position","onCloseClick","href","target","rel","mapsLibs","MyComponent","isLoaded","useJsApiLoader","id","googleMapsApiKey","apiKey","libraries","setMap","locationMarkers","locations","location","Marker","placeId","setActiveLocation","onLoad","onUnmount","selectedLocation","panTo","GoogleMap","mapContainerClassName","center","mapOptions","zoom","Object","assign","onCloseInfoWindow","LocationButton","selected","btnStyle","locationItems","selectLocation","selectedId","CONFIGURATION","lat","lng","fullscreenControl","mapTypeControl","streetViewControl","zoomControl","maxZoom","mapsApiKey","activeLocationId","find","loc","handleSelectLocation","Map","LocationList","active","classes","filter","Boolean","join","Profile","Menu","as","Button","xmlns","fill","viewBox","stroke","strokeLinecap","strokeLinejoin","strokeWidth","d","Transition","Fragment","enter","enterFrom","enterTo","leave","leaveFrom","leaveTo","Items","Item","Navbar","enableUsers","navElements","DesktopNavElements","item","name","current","undefined","label","Disclosure","DisclosureButton","XMarkIcon","Bars3Icon","logo","alt","DisclosurePanel","linkClickSelector","buttonClickSelector","selector","exclude","inputChangeSelector","formSubmitSelector","formInputClickSelector","formDisableSelector","formEnableSelector","linkDisableSelector","buttonDisableSelector","nonce","loadCSPNonce","metaTag","querySelector","content","cspNonce","m","Element","prototype","matches","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","element","call","EXPANDO","getData","setData","value","Array","slice","isContentEditable","isEditable","parentElement","csrfToken","meta","csrfParam","CSRFProtection","xhr","token","setRequestHeader","refreshCSRFTokens","param","forEach","input","AcceptHeaders","text","html","xml","json","script","ajax","options","prepareOptions","createXHR","response","processResponse","responseText","getResponseHeader","Math","floor","status","success","statusText","error","complete","beforeSend","readyState","XMLHttpRequest","OPENED","send","data","type","toUpperCase","indexOf","dataType","accept","done","crossDomain","withCredentials","onreadystatechange","DONE","match","JSON","parse","createElement","setAttribute","head","appendChild","parentNode","removeChild","parser","DOMParser","replace","parseFromString","error1","isCrossDomain","originAnchor","urlAnchor","protocol","host","e","preventDefault","CustomEvent","window","event","params","evt","createEvent","initCustomEvent","bubbles","cancelable","detail","Event","result","this","defaultPrevented","defineProperty","get","fire","obj","dispatchEvent","stopEverything","stopPropagation","stopImmediatePropagation","delegate","eventType","handler","addEventListener","toArray","serializeElement","additionalParam","inputs","elements","disabled","option","push","checked","encodeURIComponent","formElements","form","el","allowAction","rails","callback","message","getAttribute","answer","confirm","handleDisabledElement","enableElement","isXhrRedirect","enableLinkElement","enableFormElement","enableFormElements","disableElement","disableLinkElement","disableFormElement","disableFormElements","replacement","innerHTML","originalText","removeEventListener","formSubmitButtonClick","button","formNoValidate","preventInsignificantClick","method","insignificantMetaClick","metaKey","ctrlKey","Rails","fileInputSelector","handleConfirm","handleMethod","link","csrfToken$1","csrfParam$1","formContent","action","display","body","click","handleMethodWithRails","handleRemote","isRemote","enctype","FormData","append","args","handleRemoteWithRails","start","_rails_loaded","Error","setTimeout","jQuery","ajaxPrefilter","originalOptions","ReactOnRails","Locations","ContactFormToggle"],"sourceRoot":""}