PageSourceSearch

https://prod-cdn.charmingitaly.com/_nuxt/e2c71ac.js

js charmingitaly.com collected 2026-10-02 11:53:10 UTC 4,213 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{1075:function(t,e,r){"use strict";r.r(e);r(553),r(20),r(14),r(18),r(11),r(24),r(19),r(25);var o=r(0),l=r(12);function n(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}var c={props:{blok:Object,status:{type:Boolean,default:!1}},data:function(){return{open:!1}},methods:{getImageWidth:function(){switch(!0){case this.$viewport.isGreaterOrEquals("lg")&&this.$viewport.isLessThan("xl"):return"321";case this.$viewport.isGreaterOrEquals("md")&&this.$viewport.isLessThan("lg"):return"347";case this.$viewport.isGreaterOrEquals("sm")&&this.$viewport.isLessThan("md"):return"293";case this.$viewport.isLessThan("sm"):return"313";default:return"365"}},getImageHeight:function(){return!0===this.$viewport.isLessThan("sm")?"112":"240"},openContent:function(){this.$viewport.isGreaterThan("md")?(this.open=!0,this.$emit("onToggle",{label:this.blok.label,status:this.open})):this.$router.push(this.blok.link)},toggleContent:function(){this.$viewport.isGreaterThan("md")?(this.open=!this.open,this.$emit("onToggle",{label:this.blok.label,status:this.open})):this.$router.push(this.blok.link)}},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?n(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):n(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(l.b)("search",["searchParams"]))},h=c,v=r(4),component=Object(v.a)(h,(function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"editable",rawName:"v-editable",value:t.blok,expression:"blok"}],staticClass:"cursor-pointer"},[e("div",{staticClass:"relative"},[t.blok.image&&t.blok.image.filename?e("nuxt-img",{staticClass:"object-cover w-full h-28 sm:h-60",attrs:{provider:"storyblok",format:"webp",loading:"lazy",src:t.blok.image.filename,alt:t.blok.image.alt,title:t.blok.image.alt,width:t.getImageWidth(),height:t.getImageHeight()},on:{click:function(e){return t.openContent()}}}):t._e(),t._v(" "),e("div",{staticClass:"absolute inset-x-0 bottom-0 flex items-center justify-between uppercase group",class:t.open&&t.status?"bg-white text-black z-[11] border-x border-black":"via-black/60 from-black/90 to-black/30 hover:via-ch-primary-500 text-white bg-gradient-to-r hover:from-ch-primary-500 hover:to-ch-primary-500",on:{click:function(e){return t.toggleContent()}}},[t.open&&t.status&&t.searchParams&&t.searchParams.checkin&&t.searchParams.checkout||"external"===t.blok.linkType?e("a",{staticClass:"pt-1 pl-3",class:t.open&&t.status?"text-ch-primary-500 hover:underline underline-offset-2":"",attrs:{href:t.blok.link,target:t.blok.target}},[t._v(t._s(t.blok.label))]):t.open&&t.status&&"internal"===t.blok.linkType?e("nuxt-link",{staticClass:"pt-1 pl-3",class:t.open&&t.status?"text-ch-primary-500 hover:underline underline-offset-2":"",attrs:{to:t.blok.link,target:t.blok.target}},[t._v(t._s(t.blok.label))]):e("div",{staticClass:"pt-1 pl-3"},[t._v(t._s(t.blok.label))]),t._v(" "),e("div",{staticClass:"h-full p-3",class:t.open&&t.status?"":"group-hover:bg-black"},[e("svg",{staticClass:"w-4 h-4",class:t.open&&t.status?"hidden":"block animate-rotate",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4v16m8-8H4"}})]),t._v(" "),e("svg",{staticClass:"w-4 h-4 fill-black",class:t.open&&t.status?"animate-rotate z-10":"hidden",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"}}
1)])])],1)],1)])}),[],!1,null,null,null);e.default=component.exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.