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AAgBT,qBAC9F/B,KAAKuE,MAAoB,IAAdyC,GACjBhH,KAAKwB,oBAAsB,CAAC,C,CAC5B,MAAO8C,GACPtE,KAAKwB,oBAAsB,CAAC,EAC5ByF,QAAQC,IAAI,8B,CAEhB,G","sources":["webpack://UmbracoVuePrototype/./Scripts/src/vue-components/surgaRte/style.scss","webpack://UmbracoVuePrototype/./Scripts/src/ts/commonStylingComp.ts","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/surgaRte/index.vue?74f5","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/surgaRte/index.vue","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/surgaRte/component.ts","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/surgaRte/style.scss?9c32","webpack://UmbracoVuePrototype/./Scripts/src/vue-components/surgaRte/index.vue?533a","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, `.surga-rte{display:block}.surga-rte .max-height{height:100%}.surga-rte .max-height .content{display:block;width:100%}`, \"\",{\"version\":3,\"sources\":[\"webpack://./Scripts/src/vue-components/surgaRte/style.scss\"],\"names\":[],\"mappings\":\"AAAA,WACE,aAAA,CACA,uBACE,WAAA,CACA,gCACE,aAAA,CACA,UAAA\",\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","export function justifyLeftRight(justify: string): string {\r\n switch (justify) {\r\n case \"left\":\r\n return \"flex-start\"\r\n case \"right\":\r\n return \"flex-end\"\r\n case \"justify\":\r\n return \"space-between\";\r\n default:\r\n return \"center\"\r\n }\r\n}\r\nexport function justifyTopBottom(justify: string): string {\r\n switch (justify) {\r\n case \"top\": {\r\n return \"flex-start\";\r\n }\r\n case \"bottom\": {\r\n return \"flex-end\";\r\n }\r\n default: {\r\n return \"center\";\r\n }\r\n }\r\n}\r\n","import { createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"innerHTML\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"surga-rte component-margins allow-overflow\",\n style: _normalizeStyle(_ctx.entryAnimationStyle)\n }, [\n _createElementVNode(\"div\", {\n class: \"max-height\",\n style: _normalizeStyle(_ctx.moduleContainerStyle)\n }, [\n _createElementVNode(\"div\", {\n class: \"content\",\n innerHTML: _ctx.textContent\n }, null, 8 /* PROPS */, _hoisted_1)\n ], 4 /* STYLE */)\n ], 4 /* STYLE */))\n}","\r\n \r\n\r\n\r\n","import { defineComponent } from \"vue\";\r\n// @ts-ignore\r\nimport { validate } from \"../../ts/validationComp\";\r\n// @ts-ignore\r\nimport coreMixin from \"./../_mixins/coreMixin.vue\";\r\nimport { justifyTopBottom } from \"@/ts/commonStylingComp\";\r\n\r\nexport default defineComponent({\r\n mixins: [coreMixin],\r\n data() {\r\n return {\r\n moduleContainerStyle: {} as Record,\r\n textContent: \"\" as string,\r\n componentModel: {} as any,\r\n };\r\n },\r\n\r\n mounted() {\r\n // setup Methods for modules.\r\n this.setTextboxVAlignment(this.componentModel.verticalAlign);\r\n this.textContent = validate().string(this.componentModel.textContent, \"\");\r\n },\r\n\r\n methods: {\r\n setTextboxVAlignment: function(vertAlignment: string): void {\r\n const alignment = validate().string(vertAlignment, \"\");\r\n this.moduleContainerStyle.display = \"flex\";\r\n this.moduleContainerStyle.alignItems = justifyTopBottom(alignment);\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=0e687803&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","justifyLeftRight","justify","justifyTopBottom","_hoisted_1","mixins","coreMixin","data","moduleContainerStyle","textContent","componentModel","mounted","this","setTextboxVAlignment","verticalAlign","string","methods","vertAlignment","alignment","display","alignItems","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","_ctx","_cache","$props","$setup","$data","$options","class","style","entryAnimationStyle","EntryAnimations","constructor","animationModel","animationEnable","boolean","animationAlwaysRunOnLoad","animationDelay","number","animationDuration","animationDirection","backgroundUrl","componentWidth","isDesktopSize","themeId","elementContainer","entryAnimations","loadState","observer","observerFirstRun","watch","newVal","oldVal","setupEntryAnimation","beforeUnmount","window","removeEventListener","handleResize","val","$el","parentElement","getAttribute","JSON","parse","initiateEntryAnimations","closest","width","innerWidth","initiateMargins","initiatePadding","initiateHeight","initiateResizeListener","addLoadedModule","getLoadState","onUnmounted","unobserve","ex","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":""}