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oBAA0B,KAAI,OACnC,MAEF,IAAK,QACH5E,KAAK4E,oBAA2B,MAAI,OAIxC5E,KAAK8E,SAAS0B,UAAUxG,KAAK0E,kBAC7B,IACE,IAAIuE,EAAwBjJ,KAAK2E,gBAAgBP,kBAA8BpE,KAAK2E,gBAAgBT,qBAC9FlE,KAAKuC,MAAoB,IAAd0G,GACjBjJ,KAAK4E,oBAAsB,CAAC,C,CAC5B,MAAO6B,GACPzG,KAAK4E,oBAAsB,CAAC,EAC5BsE,QAAQC,IAAI,8B,CAEhB,G","sources":["webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_overlays/watchlist/model.ts","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_overlays/watchlist/component.ts","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_overlays/watchlist/style.scss?bffe","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_overlays/watchlist/index.vue?9a52","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_overlays/watchlist/index.vue?f5bb","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_overlays/watchlist/index.vue","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_overlays/watchlist/style.scss","webpack://UmbracoVuePrototype/./Scripts/src/ts/models/entryAnimations.ts","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_mixins/coreMixin.vue","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_mixins/coreMixin.vue?c8a4"],"sourcesContent":["import { validate } from \"./../../../ts/validationComp\";\r\nexport class ComponentModel {\r\n public buttonStyle: string;\r\n public desktopWidth: string;\r\n public desktopHeight: string;\r\n public desktopSize: string;\r\n public mobileWidth: string;\r\n public mobileHeight: string;\r\n public mobileSize: string;\r\n public buttonPos: string;\r\n\r\n constructor(componentModel: any) {\r\n this.buttonStyle = validate().string(componentModel.buttonStyle, \"Default\");\r\n this.buttonStyle = \"b\" + this.buttonStyle;\r\n this.desktopWidth = validate().string(componentModel.desktopWidth, \"75px\");\r\n this.desktopHeight = validate().string(\r\n componentModel.desktopHeight,\r\n \"75px\"\r\n );\r\n this.desktopSize = validate().string(componentModel.desktopSize, \"30px\");\r\n this.mobileWidth = validate().string(componentModel.mobileWidth, \"50px\");\r\n this.mobileHeight = validate().string(componentModel.mobileHeight, \"50px\");\r\n this.mobileSize = validate().string(componentModel.mobileSize, \"20px\");\r\n this.buttonPos = validate().string(componentModel.buttonPos, \"r\");\r\n }\r\n}\r\n","import { defineComponent } from \"vue\";\r\nimport { globalValues } from \"../../../ts/globalValuesComp\";\r\nimport { watchlist } from \"../../../ts/watchlistComp\";\r\n// @ts-ignore\r\nimport coreMixin from \"./../../_mixins/coreMixin.vue\";\r\nimport { ComponentModel } from \"./model\";\r\nexport default defineComponent({\r\n mixins: [coreMixin],\r\n setup() {\r\n // this value needs to be declared in this function for the computed displayed properties to work.\r\n const watchlistState = watchlist().state();\r\n return {\r\n watchlistState\r\n };\r\n },\r\n data() {\r\n return {\r\n typedModel: {} as ComponentModel,\r\n watchlistRedirectLink: \"\" as string,\r\n containerStyle: {} as Record,\r\n positionStyle: {} as Record,\r\n iconAnimationState: false as boolean,\r\n previousWatchlistLength: -1 as number\r\n };\r\n },\r\n computed: {\r\n buttonStyle: function () {\r\n const watchlistLength = this.watchlistState.list.length;\r\n if (watchlistLength > 0) {\r\n return {\r\n \"--desktopWidth\": this.typedModel.desktopWidth,\r\n \"--desktopHeight\": this.typedModel.desktopHeight,\r\n \"--desktopSize\": this.typedModel.desktopSize,\r\n \"--mobileWidth\": this.typedModel.mobileWidth,\r\n \"--mobileHeight\": this.typedModel.mobileHeight,\r\n \"--mobileSize\": this.typedModel.mobileSize,\r\n \"opacity\": 1\r\n };\r\n } else {\r\n return {\r\n \"--desktopWidth\": \"0px\",\r\n \"--desktopHeight\": \"0px\",\r\n \"--desktopSize\": \"0px\",\r\n \"--mobileWidth\": \"0px\",\r\n \"--mobileHeight\": \"0px\",\r\n \"--mobileSize\": \"0px\",\r\n \"opacity\": 0\r\n };\r\n }\r\n },\r\n // toggles animations runs several times per toggle but it functions.\r\n iconAnimationClass: function () {\r\n const watchlistLength = this.watchlistState.list.length;\r\n if (this.previousWatchlistLength !== watchlistLength) {\r\n this.iconAnimationState = true;\r\n this.previousWatchlistLength = watchlistLength;\r\n }\r\n if (this.iconAnimationState) {\r\n this.flipAnimationState();\r\n return \"iconEnlarged\";\r\n } else {\r\n return \"\";\r\n }\r\n }\r\n },\r\n beforeMount() {\r\n this.typedModel = new ComponentModel(this.componentModel);\r\n },\r\n mounted() {\r\n this.typedModel = new ComponentModel(this.componentModel);\r\n this.initiateLink();\r\n this.initiateContainerStyle();\r\n if (this.typedModel.buttonPos === \"r\") {\r\n this.positionStyle = {\r\n right: 0\r\n };\r\n }\r\n },\r\n methods: {\r\n initiateLink(): void {\r\n this.watchlistRedirectLink = globalValues().get(\r\n \"watchlistRedirect\"\r\n );\r\n },\r\n initiateContainerStyle(): void {\r\n this.containerStyle = {\r\n \"--containerDesktopWidth\": this.typedModel.desktopWidth,\r\n \"--containerDesktopHeight\": this.typedModel.desktopHeight,\r\n \"--containerMobileWidth\": this.typedModel.mobileWidth,\r\n \"--containerMobileHeight\": this.typedModel.mobileHeight\r\n };\r\n },\r\n // returns HTML displaying a value.\r\n redirectToWishlist(): void {\r\n window.location.href = this.watchlistRedirectLink;\r\n },\r\n async flipAnimationState(): Promise {\r\n await this.delay(100);\r\n this.iconAnimationState = false;\r\n }\r\n }\r\n});\r\n","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./style.scss?vue&type=style&index=0&lang=scss&external\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/dist/stylePostLoader.js!../../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-3.use[2]!./style.scss?vue&type=style&index=0&lang=scss&external\";\n export default content && content.locals ? content.locals : undefined;\n","import { render } from \"./index.vue?vue&type=template&id=36ebdf1b&ts=true\"\nimport script from \"./component.ts?vue&type=script&lang=ts&external\"\nexport * from \"./component.ts?vue&type=script&lang=ts&external\"\n\nimport \"./style.scss?vue&type=style&index=0&lang=scss&external\"\n\nimport exportComponent from \"../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"watchlist-overlay component-margins\",\n style: _normalizeStyle(_ctx.positionStyle)\n }, [\n _createElementVNode(\"div\", {\n class: \"watchlist-button-container\",\n style: _normalizeStyle(_ctx.containerStyle)\n }, [\n _createElementVNode(\"button\", {\n name: \"Shortlist\",\n style: _normalizeStyle(_ctx.buttonStyle),\n class: _normalizeClass(_ctx.typedModel.buttonStyle),\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.redirectToWishlist && _ctx.redirectToWishlist(...args)))\n }, [\n _createElementVNode(\"span\", {\n class: _normalizeClass([\"icon-star\", _ctx.iconAnimationClass])\n }, null, 2 /* CLASS */)\n ], 6 /* CLASS, STYLE */)\n ], 4 /* STYLE */)\n ], 4 /* STYLE */))\n}","\r\n\r\n\r\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.watchlist-overlay{position:fixed;z-index:10;bottom:0;overflow:visible !important}.watchlist-overlay .watchlist-button-container{position:relative;display:flex;align-items:center;justify-content:center}.watchlist-overlay .watchlist-button-container button{padding:0px !important;animation:width 1s,height 1s,opacity 1s;line-height:1}.watchlist-overlay .watchlist-button-container button span{transition:font-size .15s;font-size:100%}.watchlist-overlay .watchlist-button-container button .iconEnlarged{font-size:140%}@media(max-width: 991px){.watchlist-overlay .watchlist-button-container{position:relative;width:var(--containerMobileWidth);height:var(--containerMobileHeight)}.watchlist-overlay .watchlist-button-container button{width:var(--mobileWidth);height:var(--mobileHeight);font-size:var(--mobileSize)}}@media(min-width: 992px){.watchlist-overlay .watchlist-button-container{position:relative;width:var(--containerDesktopWidth);height:var(--containerDesktopHeight)}.watchlist-overlay .watchlist-button-container button{width:var(--desktopWidth);height:var(--desktopHeight);font-size:var(--desktopSize)}}`, \"\",{\"version\":3,\"sources\":[\"webpack://./Scripts/src/vue-components/_overlays/watchlist/style.scss\"],\"names\":[],\"mappings\":\"AAAA,mBACE,cAAA,CACA,UAAA,CACA,QAAA,CACA,2BAAA,CACA,+CACE,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,sDACE,sBAAA,CACA,uCAAA,CACA,aAAA,CACA,2DACE,yBAAA,CACA,cAAA,CAEF,oEACE,cAAA,CAIN,yBACE,+CACE,iBAAA,CACA,iCAAA,CACA,mCAAA,CACA,sDACE,wBAAA,CACA,0BAAA,CACA,2BAAA,CAAA,CAIN,yBACE,+CACE,iBAAA,CACA,kCAAA,CACA,oCAAA,CACA,sDACE,yBAAA,CACA,2BAAA,CACA,4BAAA,CAAA\",\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","import { validate } from \"../validationComp\";\r\n\r\nexport class EntryAnimations {\r\n animationEnable: boolean;\r\n animationAlwaysRunOnLoad: boolean;\r\n animationDelay: number;\r\n animationDuration: number;\r\n animationDirection: string;\r\n constructor(animationModel: any) {\r\n this.animationEnable = validate().boolean(animationModel.animationEnable, false);\r\n this.animationAlwaysRunOnLoad = validate().boolean(animationModel.animationAlwaysRunOnLoad, false);\r\n this.animationDelay = validate().number(animationModel.animationDelay, 0.2);\r\n this.animationDuration = validate().number(animationModel.animationDuration, 0.3);\r\n this.animationDirection = validate().string(animationModel.animationDirection, \"bottom\");\r\n }\r\n}","\r\n","import script from \"./coreMixin.vue?vue&type=script&lang=ts\"\nexport * from \"./coreMixin.vue?vue&type=script&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__"],"names":["ComponentModel","constructor","componentModel","this","buttonStyle","string","desktopWidth","desktopHeight","desktopSize","mobileWidth","mobileHeight","mobileSize","buttonPos","mixins","coreMixin","setup","watchlistState","state","data","typedModel","watchlistRedirectLink","containerStyle","positionStyle","iconAnimationState","previousWatchlistLength","computed","list","length","iconAnimationClass","watchlistLength","flipAnimationState","beforeMount","mounted","initiateLink","initiateContainerStyle","right","methods","get","redirectToWishlist","window","location","href","delay","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","_ctx","_cache","$props","$setup","$data","$options","class","style","name","args","___CSS_LOADER_EXPORT___","push","module","id","EntryAnimations","animationModel","animationEnable","boolean","animationAlwaysRunOnLoad","animationDelay","number","animationDuration","animationDirection","backgroundUrl","componentWidth","isDesktopSize","themeId","elementContainer","entryAnimations","entryAnimationStyle","loadState","observer","observerFirstRun","watch","newVal","oldVal","setupEntryAnimation","beforeUnmount","removeEventListener","handleResize","val","$el","parentElement","getAttribute","JSON","parse","initiateEntryAnimations","closest","width","innerWidth","initiateMargins","initiatePadding","initiateHeight","initiateResizeListener","addLoadedModule","getLoadState","onUnmounted","unobserve","ex","ms","Promise","resolve","setTimeout","event","clientWidth","resizeWindow","calculateSize","addEventListener","setMargins","moduleMargin","moduleMarginMobile","setPadding","modulePadding","modulePaddingMobile","marginTop","top","size","marginBottom","bottom","marginLeft","left","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight","moduleHeight","height","includes","maxHeight","overflow","setupEntryAnimationObserver","threshold","IntersectionObserver","entries","isIntersecting","runEntryAnimations","observe","totalDuration","console","log"],"sourceRoot":""}