{"version":3,"file":"js/property-page-d292ce2b57985f3d5c6b.js","mappings":"+IAGAA,IAAQ,sCAAsC,WAC5C,IAAIC,EAAAA,GAAO,qCAAsC,CAC/CC,QAAS,CAACC,EAAAA,IACVC,WAAY,CACVC,GAAI,qBACJC,KAAM,aAGZ,G,mjECEAC,GAAAA,SAAsB,CACpBC,eAAAA,EAAAA,EACAC,WAAAA,EAAAA,EACAC,gBAAAA,EAAAA,IAGFV,IACE,kCACA,WACE,IAAMW,EAAwB,WAC5B,IAAMC,EAAQC,IAAEC,QAAQC,aAClBC,EAAiBH,IAAE,kCAErBD,GAAS,KACXI,EAAeC,SAAS,SAExBJ,IAAE,YAAYK,MAAMF,EAExB,EAEIH,IAAE,QAAQM,SAAS,mBACrBR,IAEAE,IAAEC,QAAQM,GAAG,UAAU,WACrBT,GACF,IAEJ,IACA,WACME,IAAE,QAAQM,SAAS,kBACrBN,IAAEC,QAAQO,IAAI,SAElB,G","sources":["webpack://sunseasons24/./app/components/resource_mobile_carousel_component.js","webpack://sunseasons24/./app/javascript/property-page.js"],"sourcesContent":["import onmount from 'onmount';\nimport Swiper, { Pagination } from 'swiper';\n\nonmount('[data-js-resource-mobile-carousel]', () => {\n new Swiper('[data-js-resource-mobile-carousel]', {\n modules: [Pagination],\n pagination: {\n el: '.swiper-pagination',\n type: 'fraction',\n },\n });\n});\n","import 'core-js/stable';\nimport 'regenerator-runtime/runtime';\nimport 'resource_mobile_carousel_component';\nimport 'fslightbox';\nimport 'react-dates/initialize';\n\nimport DateRangePicker from 'components/Elements/DateRangePicker';\nimport LocationSelect from 'components/Elements/LocationSelect';\nimport $ from 'jquery';\nimport Navigation from 'modules/navigation/app';\nimport onmount from 'onmount';\nimport ReactOnRails from 'react-on-rails';\n\nReactOnRails.register({\n LocationSelect,\n Navigation,\n DateRangePicker,\n});\n\nonmount(\n '[data-js-side-property-offers]',\n () => {\n const movePropertyOfferList = () => {\n const width = $(window).innerWidth();\n const propertyOffers = $('[data-js-side-property-offers]');\n\n if (width >= 1200) {\n propertyOffers.appendTo('#side');\n } else {\n $('.details').after(propertyOffers);\n }\n };\n\n if ($('body').hasClass('page-location')) {\n movePropertyOfferList();\n\n $(window).on('resize', () => {\n movePropertyOfferList();\n });\n }\n },\n () => {\n if ($('body').hasClass('page-location')) {\n $(window).off('resize');\n }\n }\n);\n"],"names":["onmount","Swiper","modules","Pagination","pagination","el","type","ReactOnRails","LocationSelect","Navigation","DateRangePicker","movePropertyOfferList","width","$","window","innerWidth","propertyOffers","appendTo","after","hasClass","on","off"],"sourceRoot":""}