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,oBAA0B,KAAI,OACnC,MAEF,IAAK,QACHxB,KAAKwB,oBAA2B,MAAI,OAIxCxB,KAAK6C,SAASyB,UAAUtE,KAAK0C,kBAC7B,IACE,IAAIwE,EAAwBlH,KAAK2C,gBAAgBP,kBAA8BpC,KAAK2C,gBAAgBT,qBAC9FlC,KAAKyE,MAAoB,IAAdyC,GACjBlH,KAAKwB,oBAAsB,CAAC,C,CAC5B,MAAO+C,GACPvE,KAAKwB,oBAAsB,CAAC,EAC5B2F,QAAQC,IAAI,8B,CAEhB,G","sources":["webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_image/image-basic/style.scss","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_image/image-basic/index.vue?64ab","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_image/image-basic/index.vue","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_image/image-basic/component.ts","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_image/image-basic/style.scss?1070","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/_image/image-basic/index.vue?8301","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":["// 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, `.image-basic a{height:inherit}.image-basic a img{object-fit:cover;object-position:center;min-width:100%;min-height:100%;height:inherit;width:100%}.image-basic .image-wrapper{position:relative;height:inherit}.image-basic .disable-link{cursor:default;pointer-events:none}.image-basic .contain-image img{object-fit:contain}`, \"\",{\"version\":3,\"sources\":[\"webpack://./Scripts/src/vue-components/_image/image-basic/style.scss\"],\"names\":[],\"mappings\":\"AACE,eACE,cAAA,CACA,mBACE,gBAAA,CACA,sBAAA,CACA,cAAA,CACA,eAAA,CACA,cAAA,CACA,UAAA,CAIJ,4BACE,iBAAA,CACA,cAAA,CAGF,2BACE,cAAA,CACA,mBAAA,CAGF,gCACE,kBAAA\",\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","import { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"image-wrapper\" }\nconst _hoisted_2 = [\"href\"]\nconst _hoisted_3 = [\"src\", \"alt\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"image-basic component-margins\",\n style: _normalizeStyle(_ctx.entryAnimationStyle)\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"a\", {\n href: _ctx.componentModel.urlRedirect,\n class: _normalizeClass(_ctx.linkStyle)\n }, [\n _createElementVNode(\"img\", {\n class: \"image\",\n src: _ctx.imageUrl,\n alt: _ctx.altText,\n loading: \"lazy\"\n }, null, 8 /* PROPS */, _hoisted_3)\n ], 10 /* CLASS, PROPS */, _hoisted_2)\n ])\n ], 4 /* STYLE */))\n}","\r\n \r\n\r\n\r\n\r\n","import { defineComponent } from \"vue\";\r\nimport { imageHelper } from \"./../../../ts/imageHelperComp\";\r\nimport { validate } from \"./../../../ts/validationComp\";\r\n// @ts-ignore\r\nimport coreMixin from \"./../../_mixins/coreMixin.vue\";\r\n\r\nexport default defineComponent({\r\n mixins: [coreMixin],\r\n data() {\r\n return {\r\n componentModel: {\r\n image: {\r\n resizedImages: [],\r\n url: \"\"\r\n }\r\n } as any,\r\n imageUrl: \"\",\r\n imageWidth: -1,\r\n linkStyle: \"\",\r\n displayEntireImage: false as boolean,\r\n altText: \"\" as string\r\n };\r\n },\r\n mounted() {\r\n // manage URL\r\n const element = this.$el.querySelector(\".image\");\r\n if (element) {\r\n this.imageWidth = element.getBoundingClientRect().width;\r\n }\r\n this.imageUrl = imageHelper().getResizedImage(\r\n this.componentModel.image.resizedImages,\r\n this.imageWidth\r\n );\r\n this.componentModel.urlRedirect = validate().string(\r\n this.componentModel.urlRedirect,\r\n \"\"\r\n );\r\n if (this.componentModel.urlRedirect.length === 0) {\r\n this.linkStyle = \"disable-link\";\r\n }\r\n this.displayEntireImage = validate().boolean(\r\n this.componentModel.displayEntireImage,\r\n false\r\n );\r\n if (this.displayEntireImage) {\r\n this.linkStyle += \" contain-image\";\r\n }\r\n this.altText = validate().string(this.componentModel.image.altText, \"\");\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=6f4fac4c&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 { 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":["___CSS_LOADER_EXPORT___","push","module","id","_hoisted_1","class","_hoisted_2","_hoisted_3","mixins","coreMixin","data","componentModel","image","resizedImages","url","imageUrl","imageWidth","linkStyle","displayEntireImage","altText","mounted","element","this","$el","querySelector","getBoundingClientRect","width","getResizedImage","urlRedirect","string","length","boolean","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","_ctx","_cache","$props","$setup","$data","$options","style","entryAnimationStyle","href","src","alt","loading","EntryAnimations","constructor","animationModel","animationEnable","animationAlwaysRunOnLoad","animationDelay","number","animationDuration","animationDirection","backgroundUrl","componentWidth","isDesktopSize","themeId","elementContainer","entryAnimations","loadState","observer","observerFirstRun","watch","newVal","oldVal","setupEntryAnimation","beforeUnmount","window","removeEventListener","handleResize","val","parentElement","getAttribute","JSON","parse","initiateEntryAnimations","closest","innerWidth","initiateMargins","initiatePadding","initiateHeight","initiateResizeListener","addLoadedModule","getLoadState","onUnmounted","unobserve","ex","methods","delay","ms","Promise","resolve","setTimeout","event","clientWidth","resizeWindow","calculateSize","addEventListener","setMargins","moduleMargin","moduleMarginMobile","setPadding","modulePadding","modulePaddingMobile","marginTop","top","size","marginBottom","bottom","marginLeft","left","marginRight","right","paddingTop","paddingBottom","paddingLeft","paddingRight","moduleHeight","height","includes","maxHeight","overflow","setupEntryAnimationObserver","threshold","IntersectionObserver","entries","isIntersecting","runEntryAnimations","observe","totalDuration","console","log"],"sourceRoot":""}