PageSourceSearch

https://www.unoform.no/gui/dist/cmp-partials-moodboard-item-moodboard-item.js

js unoform.no collected 2026-09-27 08:54:35 UTC 1,981 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkathena=globalThis.webpackChunkathena||[]).push([[1330],{51:(t,e,o)=>{o.r(e),o.d(e,{MoodboardItem:()=>d});var n=o(538),s=o(629),i=o(3248);const a={name:"a-moodboard-item",props:{contentId:String,category:String,title:String,image:String,favouriteText:String},computed:{...(0,s.Se)("moodboard/wishlistItems",["items"]),isSaved(){return this.items.some((({contentId:t})=>t===this.contentId))}},methods:{...(0,s.nv)({addOrRemoveWishlistItem:`moodboard/wishlistItems/${i.Rq}`}),toggleSaved:function(){this.addOrRemoveWishlistItem({contentId:this.contentId,category:this.category,title:this.title,image:this.image})}}};const r=(0,o(1900).Z)(a,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"moodboard-item"},[o("button",{staticClass:"moodboard-item__button",on:{click:function(e){return e.preventDefault(),t.toggleSaved.apply(null,arguments)}}},[o("span",{staticClass:"moodboard-item__icon",class:{"moodboard-item__icon--saved":t.isSaved}}),t._v(" "),o("span",{staticClass:"sr-only"},[t._v(t._s(t.favouriteText))])])])}),[],!1,null,null,null).exports;n.default.prototype.$myInspirationItems=[];const d=n.default.component(r.name,r)},1900:(t,e,o)=>{function n(t,e,o,n,s,i,a,r){var d,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=o,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),s&&s.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=d):s&&(d=r?function(){s.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:s),d)if(c.functional){c._injectStyles=d;var l=c.render;c.render=function(t,e){return d.call(e),l(t,e)}}else{var m=c.beforeCreate;c.beforeCreate=m?[].concat(m,d):[d]}return{exports:t,options:c}}o.d(e,{Z:()=>n})}}]);

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.