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,KAAKC,QAAQC,UAAUM,IAAOR,KAAKI,UAAnC,aAEAJ,KAAKC,QAAQC,UAAUK,OAAUP,KAAKI,UAAtC,YACD,E,iGAAA,yBATH,WACE,OAAOJ,KAAKC,QAAQb,QAAQqB,SAC7B,OAvBH,CAE6BZ,EAAAA,G,iSCJ7B,kB,QAAA,kD,EAAA,G,EAAA,G,sEAAA,kBAsBI,OAtBJ,EAGEO,UAAAA,WACE,OAAOJ,KAAKC,QAAQb,QAAQqB,SAA5B,IAGFX,OAAAA,SAAQC,GACFC,KAAKC,QAAQC,UAAUC,SAAYH,KAAKI,YAAxC,qBACFJ,KAAKK,OAELL,KAAKM,OACN,IAGHD,KAAAA,WACEL,KAAKC,QAAQC,UAAUK,OAAUP,KAAKI,YAAtC,qBACAJ,KAAKC,QAAQC,UAAUM,IAAOR,KAAKI,YAAnC,uBAGFE,MAAAA,WACEN,KAAKC,QAAQC,UAAUK,OAAUP,KAAKI,YAAtC,oBACAJ,KAAKC,QAAQC,UAAUM,IAAOR,KAAKI,YAAnC,wBAtBJ,C,SAE6BP,G","sources":["webpack://caresul-app/./app/components/site/pages/backlink/mobile/component_controller.js","webpack://caresul-app/./app/components/site/pages/brand/area/mobile/component_controller.js","webpack://caresul-app/./app/components/site/pages/company/area/mobile/component_controller.js","webpack://caresul-app/./app/components/site/pages/company/brand_features/mobile/component_controller.js","webpack://caresul-app/./app/components/site/pages/company/intro/mobile/component_controller.js","webpack://caresul-app/./app/components/site/pages/national_facilities/mobile/component_controller.js","webpack://caresul-app/./app/components/site/pages/nursing_facilities/cost/mobile/component_controller.js","webpack://caresul-app/./app/components/site/pages/nursing_facilities/heading/mobile/component_controller.js","webpack://caresul-app/./app/components/site/pages/nursing_facilities/search_links/mobile/component_controller.js","webpack://caresul-app/./app/components/site/pages/ranking_facilities/mobile/component_controller.js","webpack://caresul-app/./app/components/site/pages/special_feature_facilities/heading/mobile/component_controller.js","webpack://caresul-app/./app/components/site/pages/top/conversion_btn/mobile/component_controller.js","webpack://caresul-app/./app/components/site/pages/top/mobile/component_controller.js"],"sourcesContent":["import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n copy (event) {\n event.preventDefault()\n const textArea = document.createElement('textarea')\n textArea.value = event.target.dataset.clipboardTarget\n textArea.display = 'none'\n document.body.appendChild(textArea)\n textArea.focus()\n textArea.select()\n document.execCommand('copy')\n document.body.removeChild(textArea)\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n get className () {\n return this.element.dataset.classname\n }\n\n toggle (e) {\n if (this.element.classList.contains(`${this.className}::accordion-close`)) {\n this.open()\n } else {\n this.close()\n }\n }\n\n open () {\n this.element.classList.remove(`${this.className}::accordion-close`)\n this.element.classList.add(`${this.className}::accordion-open`)\n }\n\n close () {\n this.element.classList.remove(`${this.className}::accordion-open`)\n this.element.classList.add(`${this.className}::accordion-close`)\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n get className () {\n return this.element.dataset.classname\n }\n\n toggle (e) {\n if (this.element.classList.contains(`${this.className}::accordion-close`)) {\n this.open()\n } else {\n this.close()\n }\n }\n\n open () {\n this.element.classList.remove(`${this.className}::accordion-close`)\n this.element.classList.add(`${this.className}::accordion-open`)\n }\n\n close () {\n this.element.classList.remove(`${this.className}::accordion-open`)\n this.element.classList.add(`${this.className}::accordion-close`)\n }\n}\n","import { Controller } from '@hotwired/stimulus'\nimport Swiper, { Navigation, Thumbs } from 'swiper/core'\n\nSwiper.use([Navigation, Thumbs])\n\nexport default class extends Controller {\n static targets = ['large', 'small', 'scrollArea', 'table']\n\n get className () {\n return this.element.dataset.classname\n }\n\n connect () {\n this.slider()\n }\n\n slider () {\n const thumbs = new Swiper(this.smallTarget, {\n loop: false,\n slidesPerView: 'auto',\n watchSlidesVisibility: true,\n watchSlidesProgress: true,\n slideToClickedSlide: true,\n })\n\n const slider = new Swiper(this.largeTarget, {\n loop: false,\n centeredSlides: true,\n navigation: {\n nextEl: '.swiper-button-next',\n prevEl: '.swiper-button-prev',\n },\n thumbs: {\n swiper: thumbs,\n },\n })\n\n const changeActiveCell = slider => {\n this.tableTarget.querySelectorAll('tr').forEach(trElement => {\n trElement.querySelectorAll('th, td').forEach(element => element.classList.remove(`${this.className}::active`))\n const th = trElement.querySelector(`th:nth-of-type(${slider.activeIndex + 2})`)\n const td = trElement.querySelector(`td:nth-of-type(${slider.activeIndex + 1})`)\n if (th) th.classList.add(`${this.className}::active`)\n if (td) td.classList.add(`${this.className}::active`)\n })\n }\n\n slider.on('activeIndexChange', () => {\n changeActiveCell(slider)\n })\n changeActiveCell(slider)\n }\n\n scrollWheel () {\n const mouseWheelHandler = e => {\n const scrollValue = 15\n const position = this.scrollAreaTarget.scrollLeft + (e.wheelDelta > 0 ? -scrollValue : scrollValue)\n this.scrollAreaTarget.scrollLeft = position\n }\n\n this.scrollAreaTarget.addEventListener('wheel', mouseWheelHandler)\n }\n\n scrollDrag () {\n let pos = { top: 0, left: 0, x: 0, y: 0 }\n\n const mouseMoveHandler = (e) => {\n const dx = e.clientX - pos.x\n this.scrollAreaTarget.scrollLeft = pos.left - dx\n }\n\n const mouseDownHandler = (e) => {\n this.scrollAreaTarget.style.cursor = 'grabbing'\n this.scrollAreaTarget.style.userSelect = 'none'\n\n pos = {\n left: this.scrollAreaTarget.scrollLeft,\n top: this.scrollAreaTarget.scrollTop,\n x: e.clientX,\n y: e.clientY,\n }\n\n this.scrollAreaTarget.addEventListener('mousemove', mouseMoveHandler)\n this.scrollAreaTarget.addEventListener('mouseup', mouseUpHandler)\n }\n\n const mouseUpHandler = () => {\n this.scrollAreaTarget.style.cursor = 'grab'\n this.scrollAreaTarget.style.removeProperty('user-select')\n\n this.scrollAreaTarget.removeEventListener('mousemove', mouseMoveHandler)\n this.scrollAreaTarget.removeEventListener('mouseup', mouseUpHandler)\n }\n\n this.scrollAreaTarget.style.cursor = 'grab'\n this.scrollAreaTarget.addEventListener('mousedown', mouseDownHandler)\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['moreButton', 'moreText']\n\n more () {\n this.moreButtonTarget.style.display = 'none'\n this.moreTextTarget.style.display = 'inline'\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['open', 'content']\n\n className () {\n return this.element.dataset.classname\n }\n\n open () {\n this.openTarget.style.display = 'none'\n this.contentTarget.style.display = 'block'\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['accordionContainer', 'accordion', 'show', 'hide']\n\n className () {\n return this.element.dataset.classname\n }\n\n connect () {\n if (this.hasAccordionTarget) {\n if (this.accordionTarget.clientHeight > this.accordionTarget.dataset.height) {\n this.showTarget.style.display = 'flex'\n this.accordionTarget.classList.add(`${this.className()}::hidden`)\n } else {\n this.showTarget.style.display = 'none'\n this.accordionTarget.classList.remove(`${this.className()}::hidden`)\n }\n }\n }\n\n show (e) {\n this.accordionTarget.classList.remove(`${this.className()}::hidden`)\n e.target.style.display = 'none'\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['accordion', 'show', 'hide']\n\n connect () {\n this.accordionTargets.forEach((element, _index) => {\n if (element.clientHeight >= element.dataset.height) {\n this.showTarget.style.display = 'flex'\n this.hideTarget.style.display = 'none'\n } else {\n this.showTarget.style.display = 'none'\n this.hideTarget.style.display = 'none'\n }\n })\n }\n\n show (e) {\n e.target.previousSibling.style.display = 'flex'\n e.target.style.display = 'none'\n this.accordionTargets[1].style.maxHeight = 'none'\n }\n\n hide (e) {\n e.target.nextSibling.style.display = 'flex'\n e.target.style.display = 'none'\n this.accordionTargets[1].style.maxHeight = '250px'\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['accordionContainer', 'accordion', 'show', 'hide']\n\n get className () {\n return this.element.dataset.classname\n }\n\n connect () {\n if (this.hasAccordionTarget) {\n if (this.accordionTarget.clientHeight > this.accordionTarget.dataset.height) {\n this.showTarget.style.display = 'flex'\n this.accordionTarget.classList.add(`${this.className}::hidden`)\n } else {\n this.showTarget.style.display = 'none'\n this.accordionTarget.classList.remove(`${this.className}::hidden`)\n }\n }\n }\n\n toggle () {\n if (this.element.classList.contains(`${this.className}::accordion-close`)) {\n this.open()\n } else {\n this.close()\n }\n }\n\n open () {\n this.element.classList.remove(`${this.className}::accordion-close`)\n this.element.classList.add(`${this.className}::accordion-open`)\n }\n\n close () {\n this.element.classList.remove(`${this.className}::accordion-open`)\n this.element.classList.add(`${this.className}::accordion-close`)\n }\n\n show (e) {\n this.accordionTarget.classList.remove(`${this.className}::hidden`)\n e.target.style.display = 'none'\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n static targets = ['accordionContainer', 'accordion', 'show', 'hide']\n\n className () {\n return this.element.dataset.classname\n }\n\n connect () {\n if (this.hasAccordionTarget) {\n if (this.accordionTarget.clientHeight > this.accordionTarget.dataset.height) {\n this.showTarget.style.display = 'flex'\n this.accordionTarget.classList.add(`${this.className()}::hidden`)\n } else {\n this.showTarget.style.display = 'none'\n this.accordionTarget.classList.remove(`${this.className()}::hidden`)\n }\n }\n }\n\n show (e) {\n this.accordionTarget.classList.remove(`${this.className()}::hidden`)\n e.target.style.display = 'none'\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nconst VISIBLE_POSITION = 400\n\nexport default class extends Controller {\n initialize () {\n let lastScrollPosition = 0\n let ticking = false\n\n window.addEventListener('scroll', () => {\n lastScrollPosition = window.scrollY\n\n if (!ticking) {\n window.requestAnimationFrame(() => {\n this.toggleVisibility(lastScrollPosition)\n ticking = false\n })\n\n ticking = true\n }\n })\n }\n\n get className () {\n return this.element.dataset.classname\n }\n\n toggleVisibility (scrollPosition) {\n if (scrollPosition > VISIBLE_POSITION) {\n this.element.classList.add(`${this.className}::visible`)\n } else {\n this.element.classList.remove(`${this.className}::visible`)\n }\n }\n}\n","import { Controller } from '@hotwired/stimulus'\n\nexport default class extends Controller {\n className () {\n return this.element.dataset.classname\n }\n\n toggle (e) {\n if (this.element.classList.contains(`${this.className()}::accordion-close`)) {\n this.open()\n } else {\n this.close()\n }\n }\n\n open () {\n this.element.classList.remove(`${this.className()}::accordion-close`)\n this.element.classList.add(`${this.className()}::accordion-open`)\n }\n\n close () {\n this.element.classList.remove(`${this.className()}::accordion-open`)\n this.element.classList.add(`${this.className()}::accordion-close`)\n }\n}\n"],"names":["document","copy","event","preventDefault","textArea","createElement","value","target","dataset","clipboardTarget","display","body","appendChild","focus","select","execCommand","removeChild","Controller","toggle","e","this","element","classList","contains","className","open","close","remove","add","classname","Swiper","use","Navigation","Thumbs","connect","slider","thumbs","smallTarget","loop","slidesPerView","watchSlidesVisibility","watchSlidesProgress","slideToClickedSlide","largeTarget","centeredSlides","navigation","nextEl","prevEl","swiper","changeActiveCell","_this","tableTarget","querySelectorAll","forEach","trElement","th","querySelector","activeIndex","td","on","scrollWheel","scrollAreaTarget","addEventListener","position","_this2","scrollLeft","wheelDelta","scrollDrag","pos","top","left","x","y","mouseMoveHandler","dx","clientX","_this3","mouseUpHandler","style","cursor","removeProperty","removeEventListener","userSelect","scrollTop","clientY","more","moreButtonTarget","moreTextTarget","openTarget","contentTarget","hasAccordionTarget","accordionTarget","clientHeight","height","showTarget","show","accordionTargets","_index","hideTarget","previousSibling","maxHeight","hide","nextSibling","initialize","lastScrollPosition","ticking","window","scrollY","requestAnimationFrame","toggleVisibility","scrollPosition"],"sourceRoot":""}