From 27cb409a01e0eba17ab7dcb1dd56a34ae2df6058 Mon Sep 17 00:00:00 2001 From: Bashar Date: Wed, 6 Nov 2024 01:57:03 +0300 Subject: [PATCH] increase WYSIWYG height --- scripts/_bundles/buildfire_lightcarousel.min.js | 2 +- scripts/_bundles/buildfire_lightcarousel.min.js.map | 2 +- scripts/_bundles/jquery_angular_buildfire_smartcrop.min.js | 2 +- scripts/_bundles/jquery_angular_buildfire_smartcrop.min.js.map | 2 +- scripts/buildfire.js | 2 +- scripts/buildfire.min.js | 2 +- scripts/buildfire.min.js.map | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/_bundles/buildfire_lightcarousel.min.js b/scripts/_bundles/buildfire_lightcarousel.min.js index 2b1424e5..ed6bb173 100644 --- a/scripts/_bundles/buildfire_lightcarousel.min.js +++ b/scripts/_bundles/buildfire_lightcarousel.min.js @@ -2,7 +2,7 @@ * Minified Bundle for buildfire.js & lory.min.js & carouselLight.js */ -function Packet(e,t,n){this.id=e||(new Date).toISOString()+Math.random(),this.cmd=t,this.data=n,this.instanceId=null}var buildfire={isFileServer:function(e){return-1!==e.indexOf("s3.amazonaws.com")},isWidget:function(){return 0{i.queue.forEach(e=>{e&&e(t)}),i.loaded=!0,i.queue=[]}))},loadScript:function({url:t,scriptId:e},n=Function()){let i=document.getElementById(e);var a=document.getElementsByTagName("script");if(i||Array.from(a).some(e=>e.src.includes(t.replaceAll("../",""))))return n();const r=document.head||document.body;i=document.createElement("script"),i.id=e||"",i.type="text/javascript",i.src=t,i.onload=n,i.onerror=function(){n(new Error("failed to load script component")),console.error("failed to load script component")},r.appendChild(i)},ratingSystem:{inject:function(){var e,t,n,i;void 0!==buildfire&&(void 0===buildfire.components||void 0===buildfire.components.ratingSystem?(t=function(e){var t=document.head||document.body,n=document.createElement("link");n.rel="stylesheet",n.type="text/css",n.href="../../../scripts/buildfire/components/ratingSystem/index.min.css",t.appendChild(n);const i=t.querySelector("meta[charset]");i&&i.getAttribute("charset").toLowerCase().includes("utf-8")||console.warn("UTF-8 charset is required for ratingSystem to function properly"),buildfire.components.ratingSystem.injectRatings({isFromWysiwyg:!0})},function(e){for(;e.includes("../");)e=e.replace("../","");for(var t=document.getElementsByTagName("script"),n=0;n{.9<=Math.random()&&buildfire.logger.log({message:e.message,level:"error",category:"BrowserJsException",exception:{colno:e.colno,lineno:e.lineno,message:e.message,stack:e.error&&e.error.stack?e.error&&e.error.stack:"n/a",url:e.filename}}),t("Error: "+e.message," Script: "+e.filename," Line: "+e.lineno," Column: "+e.colno,(e.error,e.error.stack?e.error&&e.error.stack:"n/a"))})},log:function(n,i){n&&"object"==typeof n||(n={}),buildfire.getContext((e,t)=>{n.context||(n.context={}),n.context.pluginId=t?.pluginId,n.context.instanceId=t?.instanceId,n.context.pluginTitle=t?.title,n.tags||(n.tags=[]),n.tags.push("sdkAndPlugins");t=new Packet(null,"logger.log",n);buildfire._sendPacket(t,i)})}},_callbacks:{},parseQueryString:function(e){for(var t=(e||window.location.search.substring(1)).split("&"),n=new Object,i=0;i{return e?console.error(e):void(t&&"sdk"===t.scope?(n=(e,t)=>{var n,i;e&&console.error(e),window.pluginJson=t,buildfire._cssInjection.handleCssLayoutInjection(t),t&&t.control&&t.control.language&&t.control.language.enabled&&(n=(e,t)=>{e&&console.error(e),window.pluginLanguageJson=t,buildfire.language.handleLanguageSettings(window.pluginJson,t)},i=`../${t.control.language.languageJsonPath}`,fetch(i).then(e=>e.json()).then(e=>{n(null,e)}).catch(e=>{n(e,null)}))},t=`../plugin.json?v=${(new Date).getTime()}`,fetch(t).then(e=>e.json()).then(e=>{n(null,e)}).catch(e=>{n(e,null)})):document.write('');\n\t}\n\n\t//Add Lory CSS\n\tvar style = document.getElementById('loryInjectedStyle');\n\tif (style) document.head.removeChild(style);\n\n\tstyle = document.createElement('style');\n\tstyle.id = 'loryInjectedStyle';\n\tstyle.innerHTML += ' .loryFrame {position: relative;font-size: 0; line-height: 0; overflow: hidden; white-space: nowrap;}';\n\tstyle.innerHTML += ' .loryFrame li { position: relative; display: inline-block; height: 100%;}';\n\tstyle.innerHTML += ' .lorySlides { display: inline-block;}';\n\tstyle.innerHTML += ' .loryPercentage .lorySlides { display: block; padding: 0px;}';\n\tstyle.innerHTML += ' .loryPercentage li { width: 100%;}';\n\tstyle.innerHTML += ' .js_slide { text-align: center; position: relative; max-height: 380px; vertical-align: top; }';\n\tstyle.innerHTML += ' .js_slide img { max-height: 380px; width: auto !important; margin: 0 auto }';\n\tstyle.innerHTML += ' .js_slide.static_slide { display: none }';\n\tstyle.innerHTML += ' .js_slide.static_slide.active { display: block }';\n\n\tdocument.head.appendChild(style);\n})();\n// This is the class that will be used in the mobile\n//{selector:selector, items:items, layout:layout, speed:speed}\nbuildfire.components.carousel.view = function (options) {\n\tlet self = this;\n\tthis.config = this.mergeSettings(options);\n\tthis._initDimensions(self.config.layout);\n\tthis.selector = typeof this.config.selector === 'string' ? document.querySelector(this.config.selector) : this.config.selector;\n\tthis._attachEventListeners();\n\tif (options.items && options.items.length > 0) {\n\t\tthis._applyConfigurations(options, (err, result) => {\n\t\t\tif (result.shouldInitializeLory) { // loryCarousel\n\t\t\t\tself.init();\n\t\t\t} else {\n\t\t\t\tself._renderStaticSlides(options.items);\n\t\t\t}\n\t\t});\n\t\tif (options.selector) {\n\t\t\toptions.selector.style.display = '';\n\t\t} else {\n\t\t\tconsole.error('Selector element should be provided');\n\t\t}\n\t\t\n\t} else {\n\t\tif (options.selector) {\n\t\t\toptions.selector.style.display = 'none';\n\t\t} else {\n\t\t\tconsole.error('Selector element should be provided');\n\t\t}\n\t}\n};\nbuildfire.components.carousel.view.lastCarouselTimer = null;\n// Carousel view methods\nbuildfire.components.carousel.view.prototype = {\n\tlastImage: null,\n _applyConfigurations: function(options, callback) {\n\t\tlet self = this;\n\t\tlet { items, autoInterval, order, display } = options;\n\t\tif (buildfire.components.carousel.view.lastCarouselTimer) {\n\t\t\tclearInterval(buildfire.components.carousel.view.lastCarouselTimer);\n\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = null;\n\t\t}\n\t\tlet isHome = buildfire.getFrameType() == 'LAUNCHER_PLUGIN';\n\t\tlet storagePlace = (isHome) ? \"carouselLastImageHome\" : \"carouselLastImage\";\n\t\tif (order == 0 && display == 1 && items.length > 1) {\n\t\t\tbuildfire.localStorage.getItem(storagePlace, function(err, res) {\n\t\t\t\tlet images = items;\n\t\t\t\tlet sendIndex = 0;\n\t\t\t\tlet item = null;\n\t\t\t\tif (res == null) {\n\t\t\t\t\titem = items[0];\n\t\t\t\t} else {\n\t\t\t\t\tlet index = Number(res);\n\t\t\t\t\tif (index == -1 || index == items.length - 1) item = items[0];\n\t\t\t\t\telse {item = items[index + 1]; sendIndex = index + 1;}\n\t\t\t\t}\n\t\t\t\tself.lastImage = item;\n\t\t\t\tbuildfire.localStorage.setItem(storagePlace, sendIndex, function(e, r) {\n\t\t\t\t\tif (autoInterval != 0) buildfire.components.carousel.view.lastCarouselTimer = setInterval(self._changeImage.bind(self), self.config.autoInterval, images, false);\n\t\t\t\t});\n\t\t\t\tcallback(null, {shouldInitializeLory: false});\n\t\t\t});\n\t\t} else if (order == 1 && display == 1 && items.length > 1) {\n\t\t\tif (autoInterval != 0) {\n\t\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = setInterval(this._changeImage.bind(this), this.config.autoInterval, items, true);\n\t\t\t}\n\t\t\titem = items[Math.floor(Math.random() * items.length)];\n\t\t\tthis.lastImage = item;\n\t\t\tbuildfire.localStorage.removeItem(storagePlace);\n\t\t\tcallback(null, {shouldInitializeLory: false});\n\t\t} else if (order == 1 && display == 0 && items.length > 1) {\n\t\t\tthis._randomizeArray(items);\n\t\t\tbuildfire.localStorage.removeItem(storagePlace);\n\t\t\tcallback(null, {shouldInitializeLory: true});\n\t\t} else if (display == 1) {\n\t\t\tcallback(null, {shouldInitializeLory: false});\n\t\t} else {\n\t\t\tcallback(null, {shouldInitializeLory: true});\n\t\t}\n\t},\n\t_randomizeArray: function (images) {\n this._shuffle(images, null, null);\n let imagesCopy = Array.from(images);\n this._shuffle(imagesCopy, null, images[images.length - 1]);\n images.push(...imagesCopy);\n this._shuffle(imagesCopy, images[0], images[images.length - 1]);\n images.push(...imagesCopy);\n },\n\t_shuffle: function (images, first, last) {\n let j, x, i;\n for (i = images.length - 1; i > 0; i--) {\n j = Math.floor(Math.random() * (i + 1));\n x = images[i];\n images[i] = images[j];\n images[j] = x;\n }\n if (last == images[0] || first == images[images.length - 1]) return this._shuffle(images, first, last);\n else return images;\n },\n\t_changeImage: function (carouselImages, random) {\n let self = this;\n\t\tlet carouselImage = null;\n if (random) {\n this._changeStaticSlides(carouselImages, true);\n } else {\n let index = carouselImages.indexOf(this.lastImage);\n let sendIndex = 0;\n if (index == -1 || index == carouselImages.length - 1) {\n\t\t\t\tcarouselImage = carouselImages[0];\n\t\t\t} else {\n\t\t\t\tcarouselImage = carouselImages[index + 1]; \n\t\t\t\tsendIndex = index + 1;\n\t\t\t}\n this.lastImage = carouselImage;\n let isHome = buildfire.getFrameType() == 'LAUNCHER_PLUGIN';\n let storagePlace = (isHome) ? \"carouselLastImageHome\" : \"carouselLastImage\";\n buildfire.localStorage.setItem(storagePlace, sendIndex, function(e, r) {\n self._changeStaticSlides(carouselImages);\n });\n }\n },\n\t_changeStaticSlides: function (carouselImages, random) {\n\t\tlet activeSlide = document.querySelector('.js_slide.static_slide.active');\n\t\tlet siblingSlide = activeSlide.nextSibling;\n\t\tif (random) {\n\t\t\tlet nextSlide = document.querySelectorAll('.js_slide.static_slide')[Math.floor(Math.random() * carouselImages.length)];\n\t\t\tif (nextSlide.children[0].src == activeSlide.children[0].src) {\n\t\t\t\tthis._changeStaticSlides(carouselImages, true);\n\t\t\t} else {\n\t\t\t\tactiveSlide.classList.remove('active');\n\t\t\t\tnextSlide.classList.add('active');\n\t\t\t}\n\t\t} else {\n\t\t\tactiveSlide.classList.remove('active');\n\t\t\tif (siblingSlide) {\n\t\t\t\tsiblingSlide.classList.add('active');\n\t\t\t} else {\n\t\t\t\tdocument.querySelector('.js_slide.static_slide').classList.add('active');\n\t\t\t}\n\t\t}\n\t},\n\t_renderStaticSlides: function (carouselImages) {\n\t\tlet self = this;\n\t\tthis.selector.innerHTML = '';\n\t\tcarouselImages.forEach((carouselImage, index) => {\n\t\t\tlet slide = document.createElement('div');\n\t\t\tslide.classList.add('js_slide', 'static_slide');\n\t\t\tif (index == 0 && !self.lastImage) {\n\t\t\t\tslide.classList.add('active');\n\t\t\t} else if (self.lastImage && self.lastImage.iconUrl == carouselImage.iconUrl) {\n\t\t\t\tslide.classList.add('active');\n\t\t\t}\n\t\t\tslide.addEventListener('click', function () {\n\t\t\t\tbuildfire.actionItems.execute(carouselImage, function (err, result) {\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\tconsole.warn('Error opening slider action: ', err);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\n\t\t\tlet options = {\n\t\t\t\titem: carouselImage,\n\t\t\t\tslide: slide\n\t\t\t}\n\t\t\tif (self.layout == 'Fit') {\n\t\t\t\tself._resizeImage(options, (err, result) => {\n\t\t\t\t\tif (err) console.error('Error occurred while resizing image: ', err);\n\t\t\t\t\tself.selector.appendChild(slide);\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tself._cropImage(options, (err, result) => {\n\t\t\t\t\tif (err) console.error('Error occurred while cropping image: ', err);\n\t\t\t\t\tself.selector.appendChild(slide);\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t\tlet activeSlide = document.querySelector('.js_slide.static_slide.active');\n\t\tif (!activeSlide) {\n\t\t\tdocument.querySelector('.js_slide.static_slide').classList.add('active');\n\t\t}\n\t},\n\tmergeSettings: function (options) {\n\t\tvar settings = {\n\t\t\tselector: '.js_percentage',\n\t\t\titems: [],\n\t\t\tlayout: null,\n\t\t\tspeed: 200,\n\t\t\tloop: true,\n\t\t\tautoInterval: 5 * 1000,\n\t\t\tdisplay: 0,\n\t\t\torder: 0\n\t\t};\n\t\tvar userSettings = options;\n\t\tfor (var attrName in userSettings) {\n\t\t\tsettings[attrName] = userSettings[attrName];\n\t\t}\n\t\treturn settings;\n\t},\n\tinit: function () {\n\t\tif (!this.selector) {\n\t\t\tthrow ('selector not found');\n\t\t\treturn;\n\t\t}\n\t\t// Add min-height to carousel to prevent it from pushing content down\n\t\tthis.selector.style['min-height'] = this._minHeight;\n\n\t\tvar self = this;\n\n\t\tfunction validateLauncherCarousel() {\n\t\t\tbuildfire.getContext(function (err, result) {\n\t\t\t\tif (result && result.device && result.device.platform && result.device.platform.toLowerCase() == 'ios' && buildfire.getFrameType() == 'LAUNCHER_PLUGIN') {\n\t\t\t\t\tbuildfire.navigation.onAppLauncherActive(function () {\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t}, true);\n\t\t\t\t\tbuildfire.navigation.onAppLauncherInactive(function () {\n\t\t\t\t\t\tself._destroySlider();\n\t\t\t\t\t}, true);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\tif (this.config.items && this.config.items.length > 0) {\n\t\t\tthis._renderHTMLItems(function () {\n\t\t\t\tself._applySlider();\n\t\t\t\tvalidateLauncherCarousel();\n\t\t\t});\n\t\t} else {\n\t\t\tself._applySlider();\n\t\t\tvalidateLauncherCarousel();\n\t\t}\n\t},\n\t_destroySlider: function () {\n\t\tif (this.timerInterval) {\n\t\t\tclearInterval(this.timerInterval);\n\t\t\tthis.timerInterval = null;\n\t\t}\n\t},\n\t_applySlider: function () {\n\t\tif (!this.lorySlider) {\n\t\t\tthis.lorySlider = lory(this.config.selector, {\n\t\t\t\tclassNameSlideContainer: this.config.classNameSlideContainer || 'js_slides',\n\t\t\t\tclassNameFrame: this.config.classNameFrame || 'js_frame',\n\t\t\t\tease: 'ease',\n\t\t\t\trewindSpeed: 600,//ms\n\t\t\t\tslideSpeed: this.config.speed,//ms\n\t\t\t\tslidesToScroll: this.config.slidesToScroll || 1,\n\t\t\t\tinfinite: this.config.items.length > 1 ? 1 : 0,\n\t\t\t\tenableMouseEvents: true\n\t\t\t});\n\t\t}\n\n\t\tif (this.config.loop && this.config.items && this.config.items.length > 1) {\n\t\t\tvar self = this;\n\n\t\t\tif (this.timerInterval) {\n\t\t\t\tclearInterval(this.timerInterval);\n\t\t\t\tthis.timerInterval = null;\n\t\t\t}\n\n\t\t\tthis.timerInterval = setInterval(function () {\n\t\t\t\tself.lorySlider.next();\n\t\t\t}, this.config.autoInterval);\n\t\t}\n\t},\n\t_renderHTMLItems: function (callback) {\n\t\tvar self = this;\n\n\t\twhile (this.selector.firstChild) {\n\t\t\tthis.selector.removeChild(this.selector.firstChild);\n\t\t}\n\n\t\tthis.sliderFrame = document.createElement('div');\n\t\t['loryFrame', 'js_frame'].forEach(function (cname) {\n\t\t\tself.sliderFrame.classList.add(cname);\n\t\t});\n\n\t\tthis.slideContainer = document.createElement('ul');\n\t\t['lorySlides', 'js_slides'].forEach(function (cname) {\n\t\t\tself.slideContainer.classList.add(cname);\n\t\t});\n\n\t\tthis._loadImages(this.config.items, function () {\n\t\t\t['slider', 'js_percentage', 'loryPercentage'].forEach(function (cname) {\n\t\t\t\tself.selector.classList.add(cname);\n\t\t\t});\n\n\t\t\tself.sliderFrame.appendChild(self.slideContainer);\n\t\t\tself.selector.appendChild(self.sliderFrame);\n\n\t\t\tcallback();\n\t\t});\n\t},\n\t_loadImages: function (items, callback) {\n\t\tvar self = this;\n\n\t\tvar itemsLength = items.length;\n\t\tvar pending = itemsLength;\n\n\t\tif (itemsLength == 0) {\n\t\t\tcallback();\n\t\t}\n\n\t\tfor (var i = 0; i < itemsLength; i++) {\n\t\t\tthis._appendItem(items[i], function (itemSlide) {\n\t\t\t\tpending--;\n\t\t\t\tself.slideContainer.appendChild(itemSlide);\n\n\t\t\t\tif (pending == 0) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t},\n\t_appendItem: function (item, callback) {\n\t\tlet self = this;\n\t\tlet slide = document.createElement('li');\n\t\tslide.classList.add('js_slide');\n\n\t\tslide.addEventListener('click', function () {\n\t\t\tif (self.preventClicks) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tbuildfire.actionItems.execute(item, function (err, result) {\n\t\t\t\tif (err) {\n\t\t\t\t\tconsole.warn('Error opening slider action: ', err);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\n\t\tlet options = { item, slide }\n\t\tif (self.layout == 'Fit') {\n\t\t\tthis._resizeImage(options, (err, result) => {\n\t\t\t\tif (err) console.error('Error occurred while cropping image: ', err);\n\t\t\t\tcallback(slide);\n\t\t\t});\n\t\t} else {\n\t\t\tthis._cropImage(options, (err, result) => {\n\t\t\t\tif (err) console.error('Error occurred while cropping image: ', err);\n\t\t\t\tcallback(slide);\n\t\t\t});\n\t\t}\n\t},\n\t// allows you to append a single item or an array of items\n\tappend: function (items) {\n\t\tif (!items)\n\t\t\treturn;\n\t\telse if (!(items instanceof Array) && typeof(items) == 'object')\n\t\t\titems = [items];\n\n\t\tif (items && items instanceof Array && items.length) {\n\t\t\tfor (var i = 0; i < items.length; i++) {\n\t\t\t\tthis.config.items.push(items[i]);\n\t\t\t}\n\t\t\tvar self = this;\n\t\t\tif (this.config.display == 0) {\n\t\t\t\tthis.slideContainer.innerHTML = '';\n\t\t\t\tthis._loadImages(this.config.items, function () {\n\t\t\t\t\tif (self.config.items.length > 1 && !self.timerInterval) {\n\t\t\t\t\t\tself.lorySlider = null;\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.lorySlider.setup();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tthis._renderStaticSlides(this.config.items);\n\t\t\t}\n\t\t}\n\t},\n\tloadItems: function (items, appendItems) {\n\t\tif (appendItems) {\n\t\t\tthis.append(items);\n\t\t} else {\n\t\t\tlet self = this;\n\t\t\tthis.config.items = items;\n\t\t\tif (this.config.display == 0) {\n\t\t\t\tif (this.config.order == 1) {\n\t\t\t\t\tthis._randomizeArray(items);\n\t\t\t\t}\n\t\t\t\tthis.slideContainer.innerHTML = '';\n\t\t\t\tthis._loadImages(items, function () {\n\t\t\t\t\tif (items.length > 1 && !self.timerInterval) {\n\t\t\t\t\t\tself.lorySlider = null;\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t} else if (items.length <= 1 && self.timerInterval) {\n\t\t\t\t\t\tself._destroySlider();\n\t\t\t\t\t\tself.lorySlider = null;\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.lorySlider.setup();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tif (buildfire.components.carousel.view.lastCarouselTimer) {\n\t\t\t\t\tclearInterval(buildfire.components.carousel.view.lastCarouselTimer);\n\t\t\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = null;\n\t\t\t\t}\n\t\t\t\tthis._renderStaticSlides(items);\n\t\t\t\tif (items.length > 1) {\n\t\t\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = setInterval(this._changeImage.bind(this), this.config.autoInterval, items, this.config.order);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\t_initDimensions: function (layout) {\n\t\tthis.width = window.innerWidth;\n\t\tthis.layout = layout;\n\t\tlayout = layout || 'WideScreen';\n\t\tif (layout == 'WideScreen') {\n\t\t\tthis.height = Math.ceil(9 * this.width / 16);\n\t\t\tthis.aspect = '16:9';\n\t\t} else if (layout == 'Square') {\n\t\t\tthis.height = this.width;\n\t\t\tthis.aspect = '1:1';\n\t\t} else if (layout == 'Cinema') {\n\t\t\tthis.height = Math.ceil(1 * this.width / 2.39);\n\t\t\tthis.aspect = '2.39:1';\n\t\t} else if (layout == 'MobileScreen' || layout == 'Fit') {\n\t\t\tthis.height = (window.innerHeight / this.width) * this.width;\n\t\t\tthis.aspect = '9:16';\n\t\t} else {\n\t\t\tthis.height = Math.ceil(9 * this.width / 16);\n\t\t}\n\n\t\tthis.cssWidth = this.width + 'px';\n\t\tif (this.height > 380) {\n\t\t\tthis.cssHeight = '380px';\n\t\t} else {\n\t\t\tthis.cssHeight = this.height + 'px';\n\t\t}\n\n\t\t// Set Min height on carousel so doesn't push content down on load.\n\t\tthis._minHeight = this.cssHeight;\n\t},\n\t_cropImage: function(options, callback) {\n\t\tlet self = this;\n\t\tlet { item, slide } = options;\n\t\tbuildfire.imageLib.local.cropImage(item.iconUrl, {\n\t\t\twidth: this.width,\n\t\t\theight: this.height,\n\t\t\taspect: this.aspect,\n\t\t\tsize: 'full_width',\n\t\t}, function (err, result) {\n\t\t\tif (!err) {\n\t\t\t\tlet image = document.createElement('img');\n\t\t\t\tlet backgroundImage = document.createElement('img');\n\t\t\t\timage.src = result;\n\t\t\t\tbackgroundImage.src = buildfire.imageLib.cropImage(item.iconUrl, {\n\t\t\t\t\theight: Math.ceil(self.height / 20),\n\t\t\t\t\twidth: Math.ceil(self.width / 20),\n\t\t\t\t\tblur: 40,\n\t\t\t\t});\n\t\t\t\timage.alt = backgroundImage.alt = item.title || '';\n\t\t\t\tbackgroundImage.className = 'blurred-background-image';\n\t\t\t\tbackgroundImage.setAttribute('style', `width: 100% !important; height: ${self.height}px; top: 50%; left: 50%; transform: translate(-50%, -50%);`);\n\t\t\t\tslide.style.overflow = 'hidden';\n\t\t\t\timage.style.transform = 'translateZ(0)';\n\t\t\t\tif (self.height > 380) {\n\t\t\t\t\tslide.appendChild(backgroundImage);\n\t\t\t\t}\n\t\t\t\tslide.appendChild(image);\n\t\t\t\tcallback(null, result);\n\t\t\t} else {\n\t\t\t\tcallback(err, null);\n\t\t\t}\n\t\t});\n\t},\n\t_resizeImage: function(options, callback) {\n\t\tlet self = this;\n\t\tlet { item, slide } = options;\n\t\tbuildfire.imageLib.local.resizeImage(item.iconUrl, {\n\t\t\theight: self.height,\n\t\t}, function (err, result) {\n\t\t\tif (!err) {\n\t\t\t\tlet image = document.createElement('img');\n\t\t\t\tlet backgroundImage = document.createElement('img');\n\t\t\t\timage.src = result;\n\t\t\t\tbackgroundImage.src = buildfire.imageLib.cropImage(item.iconUrl, {\n\t\t\t\t\theight: Math.ceil(self.height / 20),\n\t\t\t\t\twidth: Math.ceil(self.width / 20),\n\t\t\t\t\tblur: 40,\n\t\t\t\t});\n\t\t\t\timage.alt = backgroundImage.alt = item.title || '';\n\t\t\t\tbackgroundImage.className = 'blurred-background-image';\n\t\t\t\tbackgroundImage.setAttribute('style', `width: 100% !important; height: ${self.height}px; top: 50%; left: 50%; transform: translate(-50%, -50%);`);\n\t\t\t\timage.style.transform = 'translateZ(0)';\n\t\t\t\tslide.setAttribute('style', `vertical-align: middle; overflow: visible;`);\n\t\t\t\tslide.appendChild(backgroundImage);\n\t\t\t\tslide.appendChild(image);\n\t\t\t\tcallback(null, result);\n\t\t\t} else {\n\t\t\t\tcallback(err, null);\n\t\t\t}\n\t\t});\n\t},\n\t_attachEventListeners: function() {\n\t\tlet self = this;\n\t\t// add event listeners to prevent immediate click event after scrolling \n\t\tthis.selector.addEventListener('on.lory.touchmove', function () {\n\t\t\tif (!self.preventClicks) {\n\t\t\t\tself.preventClicks = true;\n\t\t\t}\n\t\t});\n\t\tthis.selector.addEventListener('on.lory.touchend', function () {\n\t\t\tsetTimeout(() => {\n\t\t\t\tself.preventClicks = false;\n\t\t\t}, 0);\n\t\t});\n\t}\n};\n"]} \ No newline at end of file +{"version":3,"sources":["../sdk/scripts/buildfire.js","../sdk/scripts/lory/lory.min.js","../sdk/scripts/buildfire/components/carouselLight/carouselLight.js"],"names":["Packet","id","cmd","data","this","Date","toISOString","Math","random","instanceId","buildfire","isFileServer","url","indexOf","isWidget","window","location","href","isWidgetService","isWeb","callback","isWebFromContext","context","device","platform","toLowerCase","console","error","protocol","getContext","err","callbackContext","warn","_lazyScriptsQueues","lazyLoadScript","relativeScriptsUrl","scriptId","readyCallback","loaded","queue","lazyQueue","push","length","type","loadScript","forEach","Function","script","document","getElementById","scripts","getElementsByTagName","Array","from","some","s","src","includes","replaceAll","parentElement","head","body","createElement","onload","onerror","Error","appendChild","ratingSystem","inject","components","link","rel","charset","querySelector","getAttribute","injectRatings","isFromWysiwyg","replace","i","hasScript","onreadystatechange","logger","attachRemoteLogger","tag","buildFireAppDebuggerScript","header","removeChild","prompt","init","originalConsoleError","args","log","message","undefined","level","category","addEventListener","event","exception","colno","lineno","stack","filename","options","pluginId","pluginTitle","title","tags","p","_sendPacket","_callbacks","parseQueryString","str","vars","search","substring","split","obj","Object","pair","decodeURIComponent","index","key","value","parseMetaOptions","content","section","eventManager","events","add","handler","allowMultipleHandlers","clear","eh","splice","trigger","e","_context","removeEventListener","_postMessageHandler","appearance","insertHTMLAttributes","attachCSSFiles","localStorage","overrideNativeLocalStorage","wysiwyg","extend","pathname","enablePluginJsonLoad","scope","pluginJson","_cssInjection","handleCssLayoutInjection","control","language","enabled","pluginLanguageJson","handleLanguageSettings","languageJsonPath","fetch","then","response","json","res","catch","getTime","write","pluginLoadingAt","_whitelistedCommands","source","packet","JSON","parse","origin","sequence","parent","apply","result","newPacket","_parentPost","originInstanceId","timeout","command","resendAttempts","isDataStoreRetry","isGetContextRetry","setTimeout","d","clearTimeout","fid","sanitize","$$hashKey","postMessage","parsedQuerystring","appcontext","getGlobalSettings","navigation","navigateTo","pluginData","pluginTypeId","folderName","queryString","navigateToSocialWall","encodedHeaderContent","wallUserIds","wid","sort","reverse","join","headerContentHtml","encodeURIComponent","predefinedPluginIds","community","premium_social","social","orderedPluginIds","pluginTypeOrder","orderIndex","navigate","cb","status","navigateHome","scrollTop","openWindow","target","openIn","info","_goBackOne","onBackButtonClick","restoreBackButtonClick","goBack","makeSafeLinks","element","t","anchors","querySelectorAll","setAttribute","evt","preventDefault","navigateEmulator","onAppLauncherActive","onAppLauncherInactive","triggerOnAppLauncherActive","triggerOnAppLauncherInactive","onPluginOpened","triggerOnPluginOpened","getBackNavigationInstanceId","qs","backnavigationinstance","navigateToTab","getFrameType","PLUGIN_STRING_ENUM","PLUGIN_TYPE_ENUM","ready","_defaultTheme","appName","colors","backgroundColor","bodyText","dangerTheme","defaultTheme","footerMenuBackgroundColor","footerMenuIconColor","headerText","icons","infoTheme","primaryTheme","successTheme","titleBar","titleBarTextAndIcons","warningTheme","fontId","fontName","_setFontUrl","appTheme","isCustomFont","fontUrl","endPoints","pluginRootHost","fontFolderPath","appId","fontFileName","fontLastUpdatedOn","getAppTheme","getWidgetTheme","widgetTheme","_forceCSSRender","html","style","innerHTML","navigator","appVersion","nameOffset","ix","nAgt","userAgent","browserName","fullVersion","parseFloat","majorVersion","parseInt","os","verOffset","lastIndexOf","toUpperCase","isNaN","vendor","opera","match","maxTouchPoints","footerMenu","settings","turnOnFooterMenu","getCSSFiles","files","base","disableBootstrap","disableTheme","enableMDTheme","disableFontIcons","disableAppStyles","styleElement","applyMDTheme","css","fontFormat","theme","bfWidgetTheme","_getCommonCss","iconPack","fontFilePath","_attachAppCSSFiles","attachFontIcons","onUpdate","_sharedStyle","disableFastClickOnLoad","attachFastClick","path","references","j","ref","FastClick","attach","applyFastClick","attachAppThemeCSSFiles","liveMode","appHost","cssUrl","CSSBusterCounter","attachLocalAppThemeCSSFiles","attachCustomAppCSSUrl","attachLocalCustomAppCSSUrl","linkElement","_resizedTo","autosizeContainer","height","max","documentElement","clientHeight","scrollHeight","offsetHeight","setHeaderVisibility","triggerOnUpdate","appThemeCSSElement","customAppCSSElement","dynamic","triggerContextChange","contextProperty","titlebar","show","hide","isVisible","setText","navbar","sideMenu","open","close","fullScreenMode","enable","disable","lightBodyText","startsWith","analytics","trackAction","actionName","metadata","trackView","registerEvent","bulkRegisterEvents","unregisterEvent","bulkUnregisterEvents","keys","showReports","params","datastore","get","tagType","getWithDynamicData","withDynamicData","getById","save","insert","checkDuplicate","checkDuplicateType","bulkInsert","arrayObj","constructor","code","update","searchAndUpdate","delete","bulkDelete","ids","filter","onRefresh","triggerOnRefresh","disableRefresh","userData","userToken","userTokenType","hasIndex","_buildfire","filterKeys","validKeys","$text","$search","stringify","aggregate","publicData","appData","_isTagValid","isTagValid","imageLib","ENUMS","SIZES","xxs","xs","m","l","xl","xxl","720","1080","1440","1920","2560","full_width","findNearest","half_width","third_width","fourth_width","quarter_width","fifth_width","sixth_width","ratio","size","VALID_SIZES","innerWidth","ASPECT_RATIOS","1:1","4:3","16:9","9:16","11:5","4:1","2.39:1","VALID_RATIOS","showDialog","isProdImageServer","resizeImage","forceImgix","primaryHandler","_imgix","_cloudImg","fallbackHandler","imageCdnHandler","isSupportedUrl","width","disablePixelRation","disablePixelRatio","devicePixelRatio","innerHeight","aspect","sizes","ratios","blur","floor","constructUrl","method","_handleElement","cropImage","_getLocalPath","tagName","setProperty","removeProperty","_handleBgImage","applyStyle","img","Image","ele","localPath","requestAnimationFrame","string","extension","hash","charCodeAt","pluginHost","getCompression","c","test","local","_parser","localImageLibPath","parseFileFromUrl","sections","toLocalPath","localURL","canvas","ctx","drawImage","toDataURL","onLine","dim","offset","x","y","_transformToImgix","baseImgUrl","hasQueryString","_imgixWhitelistedUrls","http://imageserver.prod.s3.amazonaws.com","http://s3-us-west-2.amazonaws.com/imageserver.prod","http://pluginserver.buildfire.com","http://s3.amazonaws.com/Kaleo.DevBucket","http://s3-us-west-2.amazonaws.com/imagelibserver","http://s3-us-west-2.amazonaws.com/pluginserver.uat","http://s3-us-west-2.amazonaws.com/pluginserver.uat2","http://s3-us-west-2.amazonaws.com/pluginserver.uat3","http://s3.us-west-2.amazonaws.com/imageserver.prod","http://s3.us-west-2.amazonaws.com/pluginserver.prod","http://s3-us-west-2.amazonaws.com/pluginserver.prod","http://d1q5x1plk9guz6.cloudfront.net","http://d3lkxgii6udy4q.cloudfront.net","http://d26kqod42fnsx0.cloudfront.net","http://images.unsplash.com","whitelistedUrl","colorLib","onchange","packetData","_triggerOnChange","notifications","alert","buttonName","okButton","text","confirm","buttonLabels","confirmButton","cancelButton","beep","vibrate","dialog","confirmButtonText","actionButtonCallbacks","actionButtons","button","action","selectedButton","toast","actionButton","assign","actionClicked","bookmarks","_getParameterByName","name","results","RegExp","exec","param","getAll","actionItems","actionItem","execute","list","create","iconUrl","history","label","onPop","triggerOnPop","pop","messaging","sendMessageToControl","sendMessageToWidget","onReceivedMessage","sendMessageToService","broadcast","onReceivedBroadcast","pluginInstance","showCreatePluginInstancesDialog","skipPluginInstances","clone","deeplink","getData","_data","dld","template","setData","createLink","root","generateUrl","registerDeeplink","deeplinkData","_self","deeplinkItem","deeplinkId","imageUrl","pluginInstanceId","string1","array1","getDeeplink","searchOptions","_buildfire.index.string1","_buildfire.index.array1.string1","getAllDeeplinks","pageSize","unregisterDeeplink","spinner","auth","login","logout","getCurrentUser","onLogin","triggerOnLogin","user","onLogout","triggerOnLogout","openProfile","userId","getUserProfile","getUserProfiles","getUsersByEmail","getUserPictureUrl","email","username","qString","authUrl","authHost","showUsersSearchDialog","showTagsSearchDialog","assignUserTags","keepSessionAlive","searchUsers","getDeletedUsers","fromDate","_buildfire.index.date1","$gte","deletedUsers","map","deletedOn","date1","calendar","addEvent","share","messageObj","onAppBackgrounded","onAppResumed","triggerOnAppBackgrounded","triggerOnAppResumed","isKeyboardVisible","classList","contains","onKeyboardShow","onKeyboardHide","triggerKeyboardWillShow","keyboardHeight","triggerKeyboardWillHide","remove","contacts","geo","getCurrentPosition","watchPosition","onPositionChange","position","clearWatch","watchId","calculateDistance","start","end","R","unitSystem","decimalPlaces","dLat","degreesToRadians","latitude","dLon","longitude","lat1","lat2","a","sin","cos","atan2","sqrt","round","decimals","Number","degrees","PI","startTracking","isTracking","stopTracking","session","addUsers","removeUsers","updateInfo","getCurrentUserSessions","enableTrackability","isTrackable","disableTrackability","startWatch","sessionId","generatedWatchId","now","_triggerOnSessionWatchChange","stopWatch","_updateLastKnownLocation","setItem","getItem","val","removeItem","input","showTextDialog","showListDialog","imagePreviewer","notes","openDialog","onSeekTo","triggerOnSeekTo","getByItemId","dynamicBlocks","requestWidgetContext","onReceivedWidgetContextRequest","expressions","_prepareContext","_cleanseContext","dynamicEngine","arguments","imageContainer","targets","VALID_TYPES","dataset","handleContentExecution","requestPluginCustomExpressions","onReceivedCustomExpressionsRequest","getCustomExpressions","request","_mergeContext","appUser","expressionsContext","newContext","cleansedContext","sdk","_dynamicEngineQueue","_htmlContainers","_getDynamicEngine","_executeDynamicEngineQueue","evaluate","container","innerText","children","expressionHtmlContainers","expression","find","item","tempElement","evaluatedExpression","elements","attributes","cleanedName","attributeName","slice","removeAttribute","appDatasources","injectPluginStyles","tinymcePluginStylesElement","tinymcePluginStyles","appContext","originalTinymceInit","tinymce","isBuildfire","bind","_bfInitialize","images_dataimg_filter","hasAttribute","dynamicExpressionsEnabled","bf_dynamic_expressions","originalSetup","setup","editor","dynamicExpressionsActivated","originalSetContent","setContent","_syncExpressionButtonActivation","EXPRESSION_HTML","_injectExpressionNode","currentContent","dom","doc","getContent","div","_restoreCursorPosition","selection","collapse","execCommand","select","checkExpressionStatus","isNotDirty","fire","_removeExpressionNode","on","scriptElm","getDoc","allLayouts","styleElementsInBody","layout","layoutName","classes","expressionImage","className","prepend","keyupListenerDelay","ui","registry","addMenuItem","icon","onAction","shortcut","selectedNode","getNode","insertAdjacentHTML","addContextMenu","bfLayout","insertContent","content_style","content_css","splittedStyleFiles","menubar","userMenu","menu","edit","items","view","format","tools","ai","splittedPlugins","defaultPlugins","plugins","concat","defaultToolbar","toolbar","toolbarGroup","extended_valid_elements","supportedElement","toolbar_mode","skin","contextmenu","fontsize_formats","custom_elements","convert_urls","cssInjection","layouts","activeLayoutTag","_handleDataStoreActiveLayoutResponse","activeLayout","design","selectedLayout","cssPath","activeLayoutStyleElement","_attachActiveLayoutCSSFile","cssContent","_attachActiveLayoutCSSContent","$set","languageTag","getLanguage","strings","mergeUpdatedDefaultStrings","prepareDataObjectToRead","_strings","injectStrings","_handleDataStoreLanguageSettingsResponse","sectionKey","labelKey","labels","defaultValue","bfElements","_handleNode","watch","dbSection","defaultSection","hasOwnProperty","hasExpression","_onUpdate","reload","stringKey","stringKeys","onStringsReady","getStringValue","stringObj","checkExpression","valueObj","stringValue","node","destroy","evaluationRequest","executeCallbackOnUpdate","registerStringsReady","destroyRemovedNodeExpressionsCallbacks","mutationList","observer","mutation","removedNodes","removedNode","childList","observe","targetNode","MutationObserver","subtree","currentTrial","intervalId","setInterval","clearInterval","injectAttributes","parentNode","attr","onPluginLanguageJsLoaded","getAppRecipe","diagnostics","checkFeature","requestFeaturePermission","onPluginJsonLoaded","iframes","videos","vimeo_command","youtube_command","func","contentWindow","pause","stopVideos","handleEvent","eventType","processedClick","disableSelect","injectCSS","classNames","paths","debugTag","customCSS","active","disableFastClick","disableExternalLinkOverride","onclick","srcElement","inAppBrowser","regexp","CustomEvent","bubbles","cancelable","detail","createEvent","initCustomEvent","prototype","Event","exports","module","define","amd","n","eval","__esModule","default","defineProperty","r","call","lory","z","classNameActiveSlide","o","B","T","transition","hasTranslate3d","transform","slideSpeed","slidesToScroll","infinite","rewind","rewindSpeed","u","ease","v","A","h","M","nextSlide","O","k","min","S","b","offsetLeft","abs","N","P","f","currentSlide","classNameFrame","classNameSlideContainer","classNamePrevCtrl","classNameNextCtrl","enableMouseEvents","E","_","getElementsByClassName","offsetTop","cloneNode","insertBefore","firstChild","transitionEnd","L","g","C","rewindOnResize","getBoundingClientRect","offsetWidth","reduce","touches","w","pageX","pageY","D","time","F","snapBackSpeed","jQuery","reset","slideTo","returnIndex","prev","next","lastChild","getComputedStyle","getPropertyValue","dispatchEvent","foo","createEventObject","Boolean","configurable","enumerable","carousel","self","config","mergeSettings","_initDimensions","selector","_attachEventListeners","_applyConfigurations","shouldInitializeLory","_renderStaticSlides","display","lastCarouselTimer","lastImage","autoInterval","order","storagePlace","images","sendIndex","_changeImage","_randomizeArray","_shuffle","imagesCopy","first","last","carouselImages","carouselImage","_changeStaticSlides","isHome","activeSlide","siblingSlide","nextSibling","slide","_resizeImage","_cropImage","attrName","speed","loop","userSettings","_minHeight","validateLauncherCarousel","_applySlider","_destroySlider","_renderHTMLItems","timerInterval","lorySlider","sliderFrame","cname","slideContainer","_loadImages","itemsLength","pending","_appendItem","itemSlide","preventClicks","append","loadItems","appendItems","ceil","cssWidth","cssHeight","image","backgroundImage","alt","overflow"],"mappings":"AAEA,SAASA,OAAOC,EAAIC,EAAKC,GACxBC,KAAKH,GAAKA,IAAU,IAAII,MAAOC,cAAgBC,KAAKC,SACpDJ,KAAKF,IAAMA,EACXE,KAAKD,KAAOA,EACZC,KAAKK,WAAa,KAMnB,IAAIC,UAAY,CACfC,aAAc,SAASC,GACtB,OAA6C,IAArCA,EAAIC,QAAQ,qBAEnBC,SAAU,WACX,OAAkD,EAA3CC,OAAOC,SAASC,KAAKJ,QAAQ,aAEnCK,gBAAiB,WAClB,OAAOR,UAAUI,YAAcC,OAAOC,SAASC,KAAKJ,QAAQ,sBAAwB,GAEnFM,MAAO,SAASC,GACM,SAAnBC,EAA6BC,GAChC,OAAIA,GAAWA,EAAQC,QAAUD,EAAQC,OAAOC,SACE,QAA1CF,EAAQC,OAAOC,SAASC,eAE/BC,QAAQC,MAAM,uCACuC,IAA7CZ,OAAOC,SAASY,SAASf,QAAQ,SAL3C,IAQIS,EAAUZ,UAAUmB,WAAW,SAASC,EAAKC,GAC7CX,IACCU,EACFV,EAASU,GAETV,EAAS,KAAMC,EAAiBU,OAInC,OAAGT,EACKD,EAAiBC,GAEpBF,OAAJ,GACCM,QAAQM,KAAK,yFACwC,IAA7CjB,OAAOC,SAASY,SAASf,QAAQ,UAM5CoB,mBAAoB,GACpBC,eAAgB,SAAS,CAAEC,mBAAAA,EAAoBC,SAAAA,GAAYC,GAC1D,GAAKjC,KAAK6B,mBAAmBG,IAEtB,GAAIhC,KAAK6B,mBAAmBG,GAAUE,QAAUD,EACtD,OAAOA,SAFPjC,KAAK6B,mBAAmBG,GAAY,CAAEE,QAAQ,EAAOC,MAAM,IAM5D,MAAMC,EAAYpC,KAAK6B,mBAAmBG,GAC1CI,EAAUD,MAAME,KAAKJ,GAEQ,EAAzBG,EAAUD,MAAMG,SAGd9B,EAAsC,YAAhCF,UAAUmB,aAAac,4BACXR,wBACDA,IAS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pB,OAAS,GAChDs/B,EAAgBpS,UAAY,2BAC5BoS,EAAgBp3B,aAAa,2CAA4CwzB,EAAKlsB,oEAC9E6vB,EAAM/zB,MAAMgsB,UAAY,gBACxBkG,EAAMt1B,aAAa,QAAS,8CAC5Bs1B,EAAMhgC,YAAY8hC,GAClB9B,EAAMhgC,YAAY6hC,GAClB3kC,EAAS,KAAM6J,OAMlBw3B,sBAAuB,WACtB,IAAIL,EAAOhiC,KAEXA,KAAKoiC,SAASx8B,iBAAiB,oBAAqB,WAC9Co8B,EAAKoD,gBACTpD,EAAKoD,eAAgB,KAGvBplC,KAAKoiC,SAASx8B,iBAAiB,mBAAoB,WAClD0F,WAAW,KACV02B,EAAKoD,eAAgB,GACnB","file":"buildfire_lightcarousel.min.js","sourcesContent":["//\"use strict\";\n\nfunction Packet(id, cmd, data) {\n\tthis.id = id ? id : new Date().toISOString() + Math.random();\n\tthis.cmd = cmd;\n\tthis.data = data;\n\tthis.instanceId = null;\n}\n\n\n\n/// ref: https://github.com/BuildFire/sdk/wiki\nvar buildfire = {\n\tisFileServer: function(url){\n\t\treturn (url.indexOf('s3.amazonaws.com') !== -1);\n\t}\n\t, isWidget: function() {\n\t\treturn window.location.href.indexOf('/widget/') > 0;\n\t}\n\t, isWidgetService: function() {\n\t\treturn buildfire.isWidget() && window.location.href.indexOf('/widget/index.html') < 0;\n\t}\n\t, isWeb: function(callback){\n\t\tvar isWebFromContext = function (context) {\n\t\t\tif (context && context.device && context.device.platform) {\n\t\t\t\treturn context.device.platform.toLowerCase() === 'web';\n\t\t\t} else {\n\t\t\t\tconsole.error('context device platform not defined');\n\t\t\t\treturn (window.location.protocol.indexOf('http') === 0);\n\t\t\t}\n\t\t};\n\t\tvar context = buildfire.getContext(function(err, callbackContext){\n\t\t\tif(callback){\n\t\t\t\tif(err) {\n\t\t\t\t\tcallback(err);\n\t\t\t\t} else {\n\t\t\t\t\tcallback(null, isWebFromContext(callbackContext));\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tif(context) {\n\t\t\treturn isWebFromContext(context);\n\t\t} else {\n\t\t\tif(!callback) {\n\t\t\t\tconsole.warn('context not ready. must use isWeb with callback parameter: function(err, isWebResult)');\n\t\t\t\treturn (window.location.protocol.indexOf('http') === 0);\n\t\t\t}\n\t\t\t// don't return anything if context is not ready but we have a callback\n\t\t}\n\n\t},\n\t_lazyScriptsQueues: {},\n\tlazyLoadScript: function({ relativeScriptsUrl, scriptId }, readyCallback) {\n\t\tif (!this._lazyScriptsQueues[scriptId]) {\n\t\t\tthis._lazyScriptsQueues[scriptId] = { loaded: false, queue:[] };\n\t\t} else if (this._lazyScriptsQueues[scriptId].loaded && readyCallback) {\n\t\t\treturn readyCallback();\n\t\t}\n\n\n\t\tconst lazyQueue = this._lazyScriptsQueues[scriptId];\n\t\tlazyQueue.queue.push(readyCallback);\n\n\t\tif (lazyQueue.queue.length > 1) {\n\t\t\treturn;\n\t\t}\n\t\tconst url = buildfire.getContext().type === 'control' ?\n\t\t\t`../../../../scripts/${relativeScriptsUrl}`\n\t\t\t: `../../../scripts/${relativeScriptsUrl}`;\n\n\t\tconst _executeQueue = (err) => {\n\t\t\tlazyQueue.queue.forEach((callback) => {\n\t\t\t\tif (callback) callback(err);\n\t\t\t});\n\t\t\tlazyQueue.loaded = true;\n\t\t\tlazyQueue.queue = []; // clear queue\n\t\t};\n\t\tbuildfire.loadScript({ url, scriptId }, _executeQueue);\n\t},\n\tloadScript: function({ url, scriptId }, callback = Function()) {\n\t\tlet script = document.getElementById(scriptId);\n\t\tconst scripts = document.getElementsByTagName('script');\n\n\t\t// script exist\n\t\tif (script || Array.from(scripts).some((s) => s.src.includes(url.replaceAll(\"../\", \"\")))) {\n\t\t\treturn callback();\n\t\t}\n\n\t\tconst parentElement = (document.head || document.body);\n\t\tscript = document.createElement('script');\n\t\tscript.id = scriptId || '';\n\t\tscript.type = 'text/javascript';\n\t\tscript.src = url;\n\t\tscript.onload = callback;\n\t\tscript.onerror = function () {\n\t\t\tcallback(new Error('failed to load script component'));\n\t\t\tconsole.error('failed to load script component');\n\t\t};\n\t\tparentElement.appendChild(script);\n\t}, ratingSystem: {\n\t\tinject: function () {\n\t\t\tif (typeof buildfire === 'undefined') return;\n\t\t\tif (typeof (buildfire.components) == 'undefined' || typeof (buildfire.components.ratingSystem) == 'undefined') {\n\t\t\t\tloadScript('../../../scripts/buildfire/components/ratingSystem/index.min.js', function (err) {\n\t\t\t\t\tvar parentElement = (document.head || document.body);\n\t\t\t\t\tvar link = document.createElement('link');\n\t\t\t\t\tlink.rel = 'stylesheet';\n\t\t\t\t\tlink.type = 'text/css';\n\t\t\t\t\tlink.href = '../../../scripts/buildfire/components/ratingSystem/index.min.css';\n\t\t\t\t\tparentElement.appendChild(link);\n\t\t\t\t\t// utf-8 encoding is necessary for the rating system to function\n\t\t\t\t\tconst charset = parentElement.querySelector('meta[charset]');\n\t\t\t\t\tif (!charset || !charset.getAttribute('charset').toLowerCase().includes('utf-8')) {\n\t\t\t\t\t\tconsole.warn('UTF-8 charset is required for ratingSystem to function properly');\n\t\t\t\t\t}\n\t\t\t\t\tbuildfire.components.ratingSystem.injectRatings({ isFromWysiwyg: true });\n\t\t\t\t});\n\t\t\t} else buildfire.components.ratingSystem.injectRatings({ isFromWysiwyg: true });\n\n\t\t\tfunction hasScript(url) {\n\t\t\t\twhile (url.includes('../')) url = url.replace('../', '');\n\t\t\t\tvar scripts = document.getElementsByTagName('script');\n\t\t\t\tfor (var i = 0; i < scripts.length; i++) {\n\t\t\t\t\tif(scripts[i].src.includes(url)) return true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tfunction loadScript(url, callback) {\n\t\t\t\tif(hasScript(url)) return;\n\t\t\t\tvar parentElement = (document.head || document.body);\n\t\t\t\tvar script = document.createElement('script');\n\t\t\t\tscript.type = 'text/javascript';\n\t\t\t\tscript.src = url;\n\t\t\t\tscript.charset = 'utf-8';\n\t\t\t\tscript.onreadystatechange = callback;\n\t\t\t\tscript.onload = callback;\n\t\t\t\tparentElement.appendChild(script);\n\t\t\t}\n\t\t}\n\t}\n\t, logger: {\n\t\tattachRemoteLogger:function (tag){\n\n\t\t\t// dont attach twice\n\t\t\tlet buildFireAppDebuggerScript = document.getElementById('BuildFireAppDebuggerScript');\n\t\t\tif (buildFireAppDebuggerScript) {\n\t\t\t\tbuildFireAppDebuggerScript.parentElement.removeChild(buildFireAppDebuggerScript);\n\t\t\t}\n\n\t\t\tif(!tag)\n\t\t\t\ttag = prompt('Enter is a unique tag to send your logs to');\n\n\t\t\tif(!tag) return;\n\n\t\t\tvar header = document.querySelector('head');\n\t\t\tvar script = document.createElement('script');\n\t\t\tscript.src='http://debug.buildfire.com/target/target-script-min.js#' + tag;\n\t\t\tscript.id = 'BuildFireAppDebuggerScript';\n\t\t\theader.appendChild(script);\n\n\t\t},\n\t\tinit: function () {\n\t\t\tconst originalConsoleError = console.error;\n\t\t\tconsole.error = function (...args) {\n\t\t\t\tif (args && args[0]) {\n\t\t\t\t\tbuildfire.logger.log({\n\t\t\t\t\t\tmessage: typeof args[0] == \"string\" ? args[0] : \"no error message provided.\",\n\t\t\t\t\t\tdata: args.length > 1 ? {...args} : undefined,\n\t\t\t\t\t\tlevel: \"error\",\n\t\t\t\t\t\tcategory: \"ConsoleError\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\toriginalConsoleError(...args);\n\t\t\t};\n\t\t\twindow.addEventListener(\"error\", (event) => {\n\t\t\t\t// ignore 90% of errors to sample error reporting\n\t\t\t\tif(Math.random() >= 0.9) {\n\t\t\t\t\tbuildfire.logger.log({\n\t\t\t\t\t\tmessage: event.message,\n\t\t\t\t\t\tlevel: \"error\",\n\t\t\t\t\t\tcategory: \"BrowserJsException\",\n\t\t\t\t\t\texception: {\n\t\t\t\t\t\t\tcolno: event.colno,\n\t\t\t\t\t\t\tlineno: event.lineno,\n\t\t\t\t\t\t\tmessage: event.message,\n\t\t\t\t\t\t\tstack: event.error && event.error.stack ? event.error && event.error.stack : \"n/a\",\n\t\t\t\t\t\t\turl: event.filename\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\toriginalConsoleError('Error: ' + event.message, ' Script: ' + event.filename, ' Line: ' + event.lineno\n\t\t\t\t\t, ' Column: ' + event.colno, ' StackTrace: ' + event.error && event.error.stack ? event.error && event.error.stack : \"n/a\");\n\t\t\t});\n\t\t},\n\t\tlog: function (options, callback) {\n\t\t\tif (!options || (options && typeof options != 'object')) {\n\t\t\t\toptions = {};\n\t\t\t}\n\t\t\tbuildfire.getContext((err, context) => {\n\t\t\t\tif (!options.context) {\n\t\t\t\t\toptions.context = {};\n\t\t\t\t}\n\t\t\t\toptions.context.pluginId = context?.pluginId;\n\t\t\t\toptions.context.instanceId = context?.instanceId;\n\t\t\t\toptions.context.pluginTitle = context?.title;\n\t\t\t\tif (!options.tags) {\n\t\t\t\t\toptions.tags = [];\n\t\t\t\t}\n\t\t\t\toptions.tags.push('sdkAndPlugins');\n\t\t\t\tconst p = new Packet(null, 'logger.log', options);\n\t\t\t\tbuildfire._sendPacket(p, callback);\n\t\t\t});\n\t\t}\n\t}\n\t, _callbacks: {}\n\t, parseQueryString: function (str) {\n\t\tvar query = str || window.location.search.substring(1);\n\t\tvar vars = query.split('&');\n\t\tvar obj = new Object();\n\t\tfor (var i = 0; i < vars.length; i++) {\n\t\t\tvar pair = vars[i].split('=');\n\t\t\tobj[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]);\n\t\t\tvar index = vars[i].indexOf('=');\n\t\t\tvar key = vars[i].substring(0, index);\n\t\t\tvar value = vars[i].substring(index + 1);\n\t\t\tobj[decodeURIComponent(key)] = decodeURIComponent(value);\n\t\t}\n\t\treturn obj;\n\t}\n\t, options:{}\n\t, parseMetaOptions: function(){\n\t\tvar options = {};\n\n\t\tvar tags = document.head.querySelector('meta[name=buildfire]');\n\t\tif(tags && tags.content) {\n\t\t\tvar sections = tags.content.split(',');\n\t\t\tsections.forEach(function(section){\n\t\t\t\tvar s = section.split('=');\n\t\t\t\toptions[s[0]] = s.length>1?s[1]:true;\n\t\t\t});\n\t\t}\n\n\t\treturn options;\n\t}\n\t///custom events are super thus this implementation\n\t, eventManager: {\n\t\tevents: {}\n\t\t, add: function (event, handler, allowMultipleHandlers) {\n\t\t\tif (typeof(handler) != 'function')throw ('Invalid event handler');\n\n\t\t\tif (!allowMultipleHandlers) this.clear(event);\n\n\t\t\tif (!this.events[event])\n\t\t\t\tthis.events[event] = [handler];\n\t\t\telse\n\t\t\t\tthis.events[event].push(handler);\n\n\t\t\tvar eh = this.events[event];\n\t\t\treturn {\n\t\t\t\tclear: function () {\n\t\t\t\t\tfor (var i = 0; i < eh.length; i++)\n\t\t\t\t\t\tif (eh[i] === handler)\n\t\t\t\t\t\t\teh.splice(i, 1);\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\t, clear: function (event) {\n\t\t\tthis.events[event] = [];\n\t\t}\n\t\t, trigger: function (event, data) {\n\t\t\tif (this.events[event])\n\t\t\t\tfor (var i = 0; i < this.events[event].length; i++) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tthis.events[event][i](data);\n\t\t\t\t\t}\n\t\t\t\t\tcatch (e) {\n\t\t\t\t\t\tconsole.error(e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t}\n\t}\n\t, _context: null\n\t, get context() {\n\t\tconsole.warn('buildfire.context is obsolete and will be removed soon');\n\t\treturn buildfire._context;\n\t}\n\t, set context(obj) {\n\t\tbuildfire._context = obj;\n\t}\n\t, init: function () {\n\t\t// Listen to message from child window\n\t\twindow.removeEventListener('message', buildfire._postMessageHandler, false);\n\t\twindow.addEventListener('message', buildfire._postMessageHandler, false);\n\n\t\tbuildfire.options = buildfire.parseMetaOptions();\n\n\n\t\tbuildfire.appearance.insertHTMLAttributes();\n\n\t\tbuildfire.appearance.attachCSSFiles();\n\n\t\tbuildfire.localStorage.overrideNativeLocalStorage();\n\n\t\tbuildfire.wysiwyg.extend();\n\n\t\t//attach plugin.js script that contains plugin.json content.\n\t\tfunction attachPluginJsScript () {\n\t\t\tdocument.write('');\n\t}\n\n\t//Add Lory CSS\n\tvar style = document.getElementById('loryInjectedStyle');\n\tif (style) document.head.removeChild(style);\n\n\tstyle = document.createElement('style');\n\tstyle.id = 'loryInjectedStyle';\n\tstyle.innerHTML += ' .loryFrame {position: relative;font-size: 0; line-height: 0; overflow: hidden; white-space: nowrap;}';\n\tstyle.innerHTML += ' .loryFrame li { position: relative; display: inline-block; height: 100%;}';\n\tstyle.innerHTML += ' .lorySlides { display: inline-block;}';\n\tstyle.innerHTML += ' .loryPercentage .lorySlides { display: block; padding: 0px;}';\n\tstyle.innerHTML += ' .loryPercentage li { width: 100%;}';\n\tstyle.innerHTML += ' .js_slide { text-align: center; position: relative; max-height: 380px; vertical-align: top; }';\n\tstyle.innerHTML += ' .js_slide img { max-height: 380px; width: auto !important; margin: 0 auto }';\n\tstyle.innerHTML += ' .js_slide.static_slide { display: none }';\n\tstyle.innerHTML += ' .js_slide.static_slide.active { display: block }';\n\n\tdocument.head.appendChild(style);\n})();\n// This is the class that will be used in the mobile\n//{selector:selector, items:items, layout:layout, speed:speed}\nbuildfire.components.carousel.view = function (options) {\n\tlet self = this;\n\tthis.config = this.mergeSettings(options);\n\tthis._initDimensions(self.config.layout);\n\tthis.selector = typeof this.config.selector === 'string' ? document.querySelector(this.config.selector) : this.config.selector;\n\tthis._attachEventListeners();\n\tif (options.items && options.items.length > 0) {\n\t\tthis._applyConfigurations(options, (err, result) => {\n\t\t\tif (result.shouldInitializeLory) { // loryCarousel\n\t\t\t\tself.init();\n\t\t\t} else {\n\t\t\t\tself._renderStaticSlides(options.items);\n\t\t\t}\n\t\t});\n\t\tif (options.selector) {\n\t\t\toptions.selector.style.display = '';\n\t\t} else {\n\t\t\tconsole.error('Selector element should be provided');\n\t\t}\n\t\t\n\t} else {\n\t\tif (options.selector) {\n\t\t\toptions.selector.style.display = 'none';\n\t\t} else {\n\t\t\tconsole.error('Selector element should be provided');\n\t\t}\n\t}\n};\nbuildfire.components.carousel.view.lastCarouselTimer = null;\n// Carousel view methods\nbuildfire.components.carousel.view.prototype = {\n\tlastImage: null,\n _applyConfigurations: function(options, callback) {\n\t\tlet self = this;\n\t\tlet { items, autoInterval, order, display } = options;\n\t\tif (buildfire.components.carousel.view.lastCarouselTimer) {\n\t\t\tclearInterval(buildfire.components.carousel.view.lastCarouselTimer);\n\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = null;\n\t\t}\n\t\tlet isHome = buildfire.getFrameType() == 'LAUNCHER_PLUGIN';\n\t\tlet storagePlace = (isHome) ? \"carouselLastImageHome\" : \"carouselLastImage\";\n\t\tif (order == 0 && display == 1 && items.length > 1) {\n\t\t\tbuildfire.localStorage.getItem(storagePlace, function(err, res) {\n\t\t\t\tlet images = items;\n\t\t\t\tlet sendIndex = 0;\n\t\t\t\tlet item = null;\n\t\t\t\tif (res == null) {\n\t\t\t\t\titem = items[0];\n\t\t\t\t} else {\n\t\t\t\t\tlet index = Number(res);\n\t\t\t\t\tif (index == -1 || index == items.length - 1) item = items[0];\n\t\t\t\t\telse {item = items[index + 1]; sendIndex = index + 1;}\n\t\t\t\t}\n\t\t\t\tself.lastImage = item;\n\t\t\t\tbuildfire.localStorage.setItem(storagePlace, sendIndex, function(e, r) {\n\t\t\t\t\tif (autoInterval != 0) buildfire.components.carousel.view.lastCarouselTimer = setInterval(self._changeImage.bind(self), self.config.autoInterval, images, false);\n\t\t\t\t});\n\t\t\t\tcallback(null, {shouldInitializeLory: false});\n\t\t\t});\n\t\t} else if (order == 1 && display == 1 && items.length > 1) {\n\t\t\tif (autoInterval != 0) {\n\t\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = setInterval(this._changeImage.bind(this), this.config.autoInterval, items, true);\n\t\t\t}\n\t\t\titem = items[Math.floor(Math.random() * items.length)];\n\t\t\tthis.lastImage = item;\n\t\t\tbuildfire.localStorage.removeItem(storagePlace);\n\t\t\tcallback(null, {shouldInitializeLory: false});\n\t\t} else if (order == 1 && display == 0 && items.length > 1) {\n\t\t\tthis._randomizeArray(items);\n\t\t\tbuildfire.localStorage.removeItem(storagePlace);\n\t\t\tcallback(null, {shouldInitializeLory: true});\n\t\t} else if (display == 1) {\n\t\t\tcallback(null, {shouldInitializeLory: false});\n\t\t} else {\n\t\t\tcallback(null, {shouldInitializeLory: true});\n\t\t}\n\t},\n\t_randomizeArray: function (images) {\n this._shuffle(images, null, null);\n let imagesCopy = Array.from(images);\n this._shuffle(imagesCopy, null, images[images.length - 1]);\n images.push(...imagesCopy);\n this._shuffle(imagesCopy, images[0], images[images.length - 1]);\n images.push(...imagesCopy);\n },\n\t_shuffle: function (images, first, last) {\n let j, x, i;\n for (i = images.length - 1; i > 0; i--) {\n j = Math.floor(Math.random() * (i + 1));\n x = images[i];\n images[i] = images[j];\n images[j] = x;\n }\n if (last == images[0] || first == images[images.length - 1]) return this._shuffle(images, first, last);\n else return images;\n },\n\t_changeImage: function (carouselImages, random) {\n let self = this;\n\t\tlet carouselImage = null;\n if (random) {\n this._changeStaticSlides(carouselImages, true);\n } else {\n let index = carouselImages.indexOf(this.lastImage);\n let sendIndex = 0;\n if (index == -1 || index == carouselImages.length - 1) {\n\t\t\t\tcarouselImage = carouselImages[0];\n\t\t\t} else {\n\t\t\t\tcarouselImage = carouselImages[index + 1]; \n\t\t\t\tsendIndex = index + 1;\n\t\t\t}\n this.lastImage = carouselImage;\n let isHome = buildfire.getFrameType() == 'LAUNCHER_PLUGIN';\n let storagePlace = (isHome) ? \"carouselLastImageHome\" : \"carouselLastImage\";\n buildfire.localStorage.setItem(storagePlace, sendIndex, function(e, r) {\n self._changeStaticSlides(carouselImages);\n });\n }\n },\n\t_changeStaticSlides: function (carouselImages, random) {\n\t\tlet activeSlide = document.querySelector('.js_slide.static_slide.active');\n\t\tlet siblingSlide = activeSlide.nextSibling;\n\t\tif (random) {\n\t\t\tlet nextSlide = document.querySelectorAll('.js_slide.static_slide')[Math.floor(Math.random() * carouselImages.length)];\n\t\t\tif (nextSlide.children[0].src == activeSlide.children[0].src) {\n\t\t\t\tthis._changeStaticSlides(carouselImages, true);\n\t\t\t} else {\n\t\t\t\tactiveSlide.classList.remove('active');\n\t\t\t\tnextSlide.classList.add('active');\n\t\t\t}\n\t\t} else {\n\t\t\tactiveSlide.classList.remove('active');\n\t\t\tif (siblingSlide) {\n\t\t\t\tsiblingSlide.classList.add('active');\n\t\t\t} else {\n\t\t\t\tdocument.querySelector('.js_slide.static_slide').classList.add('active');\n\t\t\t}\n\t\t}\n\t},\n\t_renderStaticSlides: function (carouselImages) {\n\t\tlet self = this;\n\t\tthis.selector.innerHTML = '';\n\t\tcarouselImages.forEach((carouselImage, index) => {\n\t\t\tlet slide = document.createElement('div');\n\t\t\tslide.classList.add('js_slide', 'static_slide');\n\t\t\tif (index == 0 && !self.lastImage) {\n\t\t\t\tslide.classList.add('active');\n\t\t\t} else if (self.lastImage && self.lastImage.iconUrl == carouselImage.iconUrl) {\n\t\t\t\tslide.classList.add('active');\n\t\t\t}\n\t\t\tslide.addEventListener('click', function () {\n\t\t\t\tbuildfire.actionItems.execute(carouselImage, function (err, result) {\n\t\t\t\t\tif (err) {\n\t\t\t\t\t\tconsole.warn('Error opening slider action: ', err);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\n\t\t\tlet options = {\n\t\t\t\titem: carouselImage,\n\t\t\t\tslide: slide\n\t\t\t}\n\t\t\tif (self.layout == 'Fit') {\n\t\t\t\tself._resizeImage(options, (err, result) => {\n\t\t\t\t\tif (err) console.error('Error occurred while resizing image: ', err);\n\t\t\t\t\tself.selector.appendChild(slide);\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tself._cropImage(options, (err, result) => {\n\t\t\t\t\tif (err) console.error('Error occurred while cropping image: ', err);\n\t\t\t\t\tself.selector.appendChild(slide);\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t\tlet activeSlide = document.querySelector('.js_slide.static_slide.active');\n\t\tif (!activeSlide) {\n\t\t\tdocument.querySelector('.js_slide.static_slide').classList.add('active');\n\t\t}\n\t},\n\tmergeSettings: function (options) {\n\t\tvar settings = {\n\t\t\tselector: '.js_percentage',\n\t\t\titems: [],\n\t\t\tlayout: null,\n\t\t\tspeed: 200,\n\t\t\tloop: true,\n\t\t\tautoInterval: 5 * 1000,\n\t\t\tdisplay: 0,\n\t\t\torder: 0\n\t\t};\n\t\tvar userSettings = options;\n\t\tfor (var attrName in userSettings) {\n\t\t\tsettings[attrName] = userSettings[attrName];\n\t\t}\n\t\treturn settings;\n\t},\n\tinit: function () {\n\t\tif (!this.selector) {\n\t\t\tthrow ('selector not found');\n\t\t\treturn;\n\t\t}\n\t\t// Add min-height to carousel to prevent it from pushing content down\n\t\tthis.selector.style['min-height'] = this._minHeight;\n\n\t\tvar self = this;\n\n\t\tfunction validateLauncherCarousel() {\n\t\t\tbuildfire.getContext(function (err, result) {\n\t\t\t\tif (result && result.device && result.device.platform && result.device.platform.toLowerCase() == 'ios' && buildfire.getFrameType() == 'LAUNCHER_PLUGIN') {\n\t\t\t\t\tbuildfire.navigation.onAppLauncherActive(function () {\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t}, true);\n\t\t\t\t\tbuildfire.navigation.onAppLauncherInactive(function () {\n\t\t\t\t\t\tself._destroySlider();\n\t\t\t\t\t}, true);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\tif (this.config.items && this.config.items.length > 0) {\n\t\t\tthis._renderHTMLItems(function () {\n\t\t\t\tself._applySlider();\n\t\t\t\tvalidateLauncherCarousel();\n\t\t\t});\n\t\t} else {\n\t\t\tself._applySlider();\n\t\t\tvalidateLauncherCarousel();\n\t\t}\n\t},\n\t_destroySlider: function () {\n\t\tif (this.timerInterval) {\n\t\t\tclearInterval(this.timerInterval);\n\t\t\tthis.timerInterval = null;\n\t\t}\n\t},\n\t_applySlider: function () {\n\t\tif (!this.lorySlider) {\n\t\t\tthis.lorySlider = lory(this.config.selector, {\n\t\t\t\tclassNameSlideContainer: this.config.classNameSlideContainer || 'js_slides',\n\t\t\t\tclassNameFrame: this.config.classNameFrame || 'js_frame',\n\t\t\t\tease: 'ease',\n\t\t\t\trewindSpeed: 600,//ms\n\t\t\t\tslideSpeed: this.config.speed,//ms\n\t\t\t\tslidesToScroll: this.config.slidesToScroll || 1,\n\t\t\t\tinfinite: this.config.items.length > 1 ? 1 : 0,\n\t\t\t\tenableMouseEvents: true\n\t\t\t});\n\t\t}\n\n\t\tif (this.config.loop && this.config.items && this.config.items.length > 1) {\n\t\t\tvar self = this;\n\n\t\t\tif (this.timerInterval) {\n\t\t\t\tclearInterval(this.timerInterval);\n\t\t\t\tthis.timerInterval = null;\n\t\t\t}\n\n\t\t\tthis.timerInterval = setInterval(function () {\n\t\t\t\tself.lorySlider.next();\n\t\t\t}, this.config.autoInterval);\n\t\t}\n\t},\n\t_renderHTMLItems: function (callback) {\n\t\tvar self = this;\n\n\t\twhile (this.selector.firstChild) {\n\t\t\tthis.selector.removeChild(this.selector.firstChild);\n\t\t}\n\n\t\tthis.sliderFrame = document.createElement('div');\n\t\t['loryFrame', 'js_frame'].forEach(function (cname) {\n\t\t\tself.sliderFrame.classList.add(cname);\n\t\t});\n\n\t\tthis.slideContainer = document.createElement('ul');\n\t\t['lorySlides', 'js_slides'].forEach(function (cname) {\n\t\t\tself.slideContainer.classList.add(cname);\n\t\t});\n\n\t\tthis._loadImages(this.config.items, function () {\n\t\t\t['slider', 'js_percentage', 'loryPercentage'].forEach(function (cname) {\n\t\t\t\tself.selector.classList.add(cname);\n\t\t\t});\n\n\t\t\tself.sliderFrame.appendChild(self.slideContainer);\n\t\t\tself.selector.appendChild(self.sliderFrame);\n\n\t\t\tcallback();\n\t\t});\n\t},\n\t_loadImages: function (items, callback) {\n\t\tvar self = this;\n\n\t\tvar itemsLength = items.length;\n\t\tvar pending = itemsLength;\n\n\t\tif (itemsLength == 0) {\n\t\t\tcallback();\n\t\t}\n\n\t\tfor (var i = 0; i < itemsLength; i++) {\n\t\t\tthis._appendItem(items[i], function (itemSlide) {\n\t\t\t\tpending--;\n\t\t\t\tself.slideContainer.appendChild(itemSlide);\n\n\t\t\t\tif (pending == 0) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t},\n\t_appendItem: function (item, callback) {\n\t\tlet self = this;\n\t\tlet slide = document.createElement('li');\n\t\tslide.classList.add('js_slide');\n\n\t\tslide.addEventListener('click', function () {\n\t\t\tif (self.preventClicks) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tbuildfire.actionItems.execute(item, function (err, result) {\n\t\t\t\tif (err) {\n\t\t\t\t\tconsole.warn('Error opening slider action: ', err);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\n\t\tlet options = { item, slide }\n\t\tif (self.layout == 'Fit') {\n\t\t\tthis._resizeImage(options, (err, result) => {\n\t\t\t\tif (err) console.error('Error occurred while cropping image: ', err);\n\t\t\t\tcallback(slide);\n\t\t\t});\n\t\t} else {\n\t\t\tthis._cropImage(options, (err, result) => {\n\t\t\t\tif (err) console.error('Error occurred while cropping image: ', err);\n\t\t\t\tcallback(slide);\n\t\t\t});\n\t\t}\n\t},\n\t// allows you to append a single item or an array of items\n\tappend: function (items) {\n\t\tif (!items)\n\t\t\treturn;\n\t\telse if (!(items instanceof Array) && typeof(items) == 'object')\n\t\t\titems = [items];\n\n\t\tif (items && items instanceof Array && items.length) {\n\t\t\tfor (var i = 0; i < items.length; i++) {\n\t\t\t\tthis.config.items.push(items[i]);\n\t\t\t}\n\t\t\tvar self = this;\n\t\t\tif (this.config.display == 0) {\n\t\t\t\tthis.slideContainer.innerHTML = '';\n\t\t\t\tthis._loadImages(this.config.items, function () {\n\t\t\t\t\tif (self.config.items.length > 1 && !self.timerInterval) {\n\t\t\t\t\t\tself.lorySlider = null;\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.lorySlider.setup();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tthis._renderStaticSlides(this.config.items);\n\t\t\t}\n\t\t}\n\t},\n\tloadItems: function (items, appendItems) {\n\t\tif (appendItems) {\n\t\t\tthis.append(items);\n\t\t} else {\n\t\t\tlet self = this;\n\t\t\tthis.config.items = items;\n\t\t\tif (this.config.display == 0) {\n\t\t\t\tif (this.config.order == 1) {\n\t\t\t\t\tthis._randomizeArray(items);\n\t\t\t\t}\n\t\t\t\tthis.slideContainer.innerHTML = '';\n\t\t\t\tthis._loadImages(items, function () {\n\t\t\t\t\tif (items.length > 1 && !self.timerInterval) {\n\t\t\t\t\t\tself.lorySlider = null;\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t} else if (items.length <= 1 && self.timerInterval) {\n\t\t\t\t\t\tself._destroySlider();\n\t\t\t\t\t\tself.lorySlider = null;\n\t\t\t\t\t\tself._applySlider();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.lorySlider.setup();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tif (buildfire.components.carousel.view.lastCarouselTimer) {\n\t\t\t\t\tclearInterval(buildfire.components.carousel.view.lastCarouselTimer);\n\t\t\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = null;\n\t\t\t\t}\n\t\t\t\tthis._renderStaticSlides(items);\n\t\t\t\tif (items.length > 1) {\n\t\t\t\t\tbuildfire.components.carousel.view.lastCarouselTimer = setInterval(this._changeImage.bind(this), this.config.autoInterval, items, this.config.order);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\t_initDimensions: function (layout) {\n\t\tthis.width = window.innerWidth;\n\t\tthis.layout = layout;\n\t\tlayout = layout || 'WideScreen';\n\t\tif (layout == 'WideScreen') {\n\t\t\tthis.height = Math.ceil(9 * this.width / 16);\n\t\t\tthis.aspect = '16:9';\n\t\t} else if (layout == 'Square') {\n\t\t\tthis.height = this.width;\n\t\t\tthis.aspect = '1:1';\n\t\t} else if (layout == 'Cinema') {\n\t\t\tthis.height = Math.ceil(1 * this.width / 2.39);\n\t\t\tthis.aspect = '2.39:1';\n\t\t} else if (layout == 'MobileScreen' || layout == 'Fit') {\n\t\t\tthis.height = (window.innerHeight / this.width) * this.width;\n\t\t\tthis.aspect = '9:16';\n\t\t} else {\n\t\t\tthis.height = Math.ceil(9 * this.width / 16);\n\t\t}\n\n\t\tthis.cssWidth = this.width + 'px';\n\t\tif (this.height > 380) {\n\t\t\tthis.cssHeight = '380px';\n\t\t} else {\n\t\t\tthis.cssHeight = this.height + 'px';\n\t\t}\n\n\t\t// Set Min height on carousel so doesn't push content down on load.\n\t\tthis._minHeight = this.cssHeight;\n\t},\n\t_cropImage: function(options, callback) {\n\t\tlet self = this;\n\t\tlet { item, slide } = options;\n\t\tbuildfire.imageLib.local.cropImage(item.iconUrl, {\n\t\t\twidth: this.width,\n\t\t\theight: this.height,\n\t\t\taspect: this.aspect,\n\t\t\tsize: 'full_width',\n\t\t}, function (err, result) {\n\t\t\tif (!err) {\n\t\t\t\tlet image = document.createElement('img');\n\t\t\t\tlet backgroundImage = document.createElement('img');\n\t\t\t\timage.src = result;\n\t\t\t\tbackgroundImage.src = buildfire.imageLib.cropImage(item.iconUrl, {\n\t\t\t\t\theight: Math.ceil(self.height / 20),\n\t\t\t\t\twidth: Math.ceil(self.width / 20),\n\t\t\t\t\tblur: 40,\n\t\t\t\t});\n\t\t\t\timage.alt = backgroundImage.alt = item.title || '';\n\t\t\t\tbackgroundImage.className = 'blurred-background-image';\n\t\t\t\tbackgroundImage.setAttribute('style', `width: 100% !important; height: ${self.height}px; top: 50%; left: 50%; transform: translate(-50%, -50%);`);\n\t\t\t\tslide.style.overflow = 'hidden';\n\t\t\t\timage.style.transform = 'translateZ(0)';\n\t\t\t\tif (self.height > 380) {\n\t\t\t\t\tslide.appendChild(backgroundImage);\n\t\t\t\t}\n\t\t\t\tslide.appendChild(image);\n\t\t\t\tcallback(null, result);\n\t\t\t} else {\n\t\t\t\tcallback(err, null);\n\t\t\t}\n\t\t});\n\t},\n\t_resizeImage: function(options, callback) {\n\t\tlet self = this;\n\t\tlet { item, slide } = options;\n\t\tbuildfire.imageLib.local.resizeImage(item.iconUrl, {\n\t\t\theight: self.height,\n\t\t}, function (err, result) {\n\t\t\tif (!err) {\n\t\t\t\tlet image = document.createElement('img');\n\t\t\t\tlet backgroundImage = document.createElement('img');\n\t\t\t\timage.src = result;\n\t\t\t\tbackgroundImage.src = buildfire.imageLib.cropImage(item.iconUrl, {\n\t\t\t\t\theight: Math.ceil(self.height / 20),\n\t\t\t\t\twidth: Math.ceil(self.width / 20),\n\t\t\t\t\tblur: 40,\n\t\t\t\t});\n\t\t\t\timage.alt = backgroundImage.alt = item.title || '';\n\t\t\t\tbackgroundImage.className = 'blurred-background-image';\n\t\t\t\tbackgroundImage.setAttribute('style', `width: 100% !important; height: ${self.height}px; top: 50%; left: 50%; transform: translate(-50%, -50%);`);\n\t\t\t\timage.style.transform = 'translateZ(0)';\n\t\t\t\tslide.setAttribute('style', `vertical-align: middle; overflow: visible;`);\n\t\t\t\tslide.appendChild(backgroundImage);\n\t\t\t\tslide.appendChild(image);\n\t\t\t\tcallback(null, result);\n\t\t\t} else {\n\t\t\t\tcallback(err, null);\n\t\t\t}\n\t\t});\n\t},\n\t_attachEventListeners: function() {\n\t\tlet self = this;\n\t\t// add event listeners to prevent immediate click event after scrolling \n\t\tthis.selector.addEventListener('on.lory.touchmove', function () {\n\t\t\tif (!self.preventClicks) {\n\t\t\t\tself.preventClicks = true;\n\t\t\t}\n\t\t});\n\t\tthis.selector.addEventListener('on.lory.touchend', function () {\n\t\t\tsetTimeout(() => {\n\t\t\t\tself.preventClicks = false;\n\t\t\t}, 0);\n\t\t});\n\t}\n};\n"]} \ No newline at end of file diff --git a/scripts/_bundles/jquery_angular_buildfire_smartcrop.min.js b/scripts/_bundles/jquery_angular_buildfire_smartcrop.min.js index e12e8a3e..02eaab48 100644 --- a/scripts/_bundles/jquery_angular_buildfire_smartcrop.min.js +++ b/scripts/_bundles/jquery_angular_buildfire_smartcrop.min.js @@ -4,6 +4,6 @@ !function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(h,e){function t(e,t){return t.toUpperCase()}var d=[],c=d.slice,m=d.concat,s=d.push,i=d.indexOf,n={},r=n.toString,g=n.hasOwnProperty,v={},o="1.11.2",T=function(e,t){return new T.fn.init(e,t)},a=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,l=/^-ms-/,u=/-([\da-z])/gi;function f(e){var t=e.length,n=T.type(e);return"function"!==n&&!T.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===n||0===t||"number"==typeof t&&0>10|55296,1023&r|56320)}function t(){g()}var e,f,x,o,r,p,h,m,w,u,c,g,T,i,v,y,a,s,b,C="sizzle"+ +new Date,N=n.document,E=0,k=0,l=oe(),S=oe(),A=oe(),D=function(e,t){return e===t&&(c=!0),0},j={}.hasOwnProperty,L=[],H=L.pop,q=L.push,_=L.push,M=L.slice,F=function(e,t){for(var n=0,r=e.length;n+~]|"+B+")"+B+"*"),V=new RegExp("="+B+"*([^\\]'\"]*?)"+B+"*\\]","g"),J=new RegExp($),Y=new RegExp("^"+R+"$"),G={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P.replace("w","w*")+")"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,ee=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,te=/[+~]/,ne=/'|\\/g,re=new RegExp("\\\\([\\da-f]{1,6}"+B+"?|("+B+")|.)","ig");try{_.apply(L=M.call(N.childNodes),N.childNodes),L[N.childNodes.length].nodeType}catch(n){_={apply:L.length?function(e,t){q.apply(e,M.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ie(e,t,n,r){var i,o,a,s,l,u,c;if((t?t.ownerDocument||t:N)!==T&&g(t),n=n||[],i=(t=t||T).nodeType,"string"!=typeof e||!e||1!==i&&9!==i&&11!==i)return n;if(!r&&v){if(11!==i&&(u=ee.exec(e)))if(c=u[1]){if(9===i){if(!(s=t.getElementById(c))||!s.parentNode)return n;if(s.id===c)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(c))&&b(t,s)&&s.id===c)return n.push(s),n}else{if(u[2])return _.apply(n,t.getElementsByTagName(e)),n;if((c=u[3])&&f.getElementsByClassName)return _.apply(n,t.getElementsByClassName(c)),n}if(f.qsa&&(!y||!y.test(e))){if(l=s=C,u=t,c=1!==i&&e,1===i&&"object"!==t.nodeName.toLowerCase()){for(a=p(e),(s=t.getAttribute("id"))?l=s.replace(ne,"\\$&"):t.setAttribute("id",l),l="[id='"+l+"'] ",o=a.length;o--;)a[o]=l+pe(a[o]);u=te.test(e)&&de(t.parentNode)||t,c=a.join(",")}if(c)try{return _.apply(n,u.querySelectorAll(c)),n}catch(e){}finally{s||t.removeAttribute("id")}}}return m(e.replace(I,"$1"),t,n,r)}function oe(){var r=[];return function e(t,n){return r.push(t+" ")>x.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function ae(e){return e[C]=!0,e}function se(e){var t=T.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function le(e,t){for(var n=e.split("|"),r=e.length;r--;)x.attrHandle[n[r]]=t}function ue(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(a){return ae(function(o){return o=+o,ae(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function de(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in f=ie.support={},r=ie.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},g=ie.setDocument=function(e){var l=e?e.ownerDocument||e:N;return l!==T&&9===l.nodeType&&l.documentElement?(i=(T=l).documentElement,(e=l.defaultView)&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",t,!1):e.attachEvent&&e.attachEvent("onunload",t)),v=!r(l),f.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=se(function(e){return e.appendChild(l.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=Z.test(l.getElementsByClassName),f.getById=se(function(e){return i.appendChild(e).id=C,!l.getElementsByName||!l.getElementsByName(C).length}),f.getById?(x.find.ID=function(e,t){if(void 0!==t.getElementById&&v){e=t.getElementById(e);return e&&e.parentNode?[e]:[]}},x.filter.ID=function(e){var t=e.replace(re,d);return function(e){return e.getAttribute("id")===t}}):(delete x.find.ID,x.filter.ID=function(e){var t=e.replace(re,d);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}}),x.find.TAG=f.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},x.find.CLASS=f.getElementsByClassName&&function(e,t){return v?t.getElementsByClassName(e):void 0},a=[],y=[],(f.qsa=Z.test(l.querySelectorAll))&&(se(function(e){i.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+B+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+B+"*(?:value|"+O+")"),e.querySelectorAll("[id~="+C+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+C+"+*").length||y.push(".#.+[+~]")}),se(function(e){var t=l.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+B+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(f.matchesSelector=Z.test(s=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector||i.msMatchesSelector))&&se(function(e){f.disconnectedMatch=s.call(e,"div"),s.call(e,"[s!='']:x"),a.push("!=",$)}),y=y.length&&new RegExp(y.join("|")),a=a.length&&new RegExp(a.join("|")),e=Z.test(i.compareDocumentPosition),b=e||Z.test(i.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=e?function(e,t){return e===t?(c=!0,0):(n=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument===N&&b(N,e)?-1:t===l||t.ownerDocument===N&&b(N,t)?1:u?F(u,e)-F(u,t):0:4&n?-1:1);var n}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===l?-1:t===l?1:i?-1:o?1:u?F(u,e)-F(u,t):0;if(i===o)return ue(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ue(a[r],s[r]):a[r]===N?-1:s[r]===N?1:0},l):T},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==T&&g(e),t=t.replace(V,"='$1']"),!(!f.matchesSelector||!v||a&&a.test(t)||y&&y.test(t)))try{var n=s.call(e,t);if(n||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(re,d),e[3]=(e[3]||e[4]||e[5]||"").replace(re,d),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&J.test(n)&&(t=p(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(re,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=l[e+" "];return t||(t=new RegExp("(^|"+B+")"+e+"("+B+"|$)"))&&l(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=ie.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1(?:<\/\1>|)$/,x=/^.[^:#\[\.,]*$/;function w(e,n,r){if(T.isFunction(n))return T.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return T.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(x.test(n))return T.filter(n,e,r);n=T.filter(n,e)}return T.grep(e,function(e){return 0<=T.inArray(e,n)!==r})}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t)[^>]*|#([\w-]*))$/;(T.fn.init=function(e,t){var n,r;if(!e)return this;if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):T.isFunction(e)?void 0!==E.ready?E.ready(e):e(T):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),T.makeArray(e,this));if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:N.exec(e))||!n[1]&&t)return(!t||t.jquery?t||E:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),b.test(n[1])&&T.isPlainObject(t))for(n in t)T.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}if((r=C.getElementById(n[2]))&&r.parentNode){if(r.id!==n[2])return E.find(e);this.length=1,this[0]=r}return this.context=C,this.selector=e,this}).prototype=T.fn;var E=T(C),k=/^(?:parents|prev(?:Until|All))/,S={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.extend({dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(void 0===n||1!==i.nodeType||!T(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),T.fn.extend({has:function(e){var t,n=T(e,this),r=n.length;return this.filter(function(){for(t=0;t
a",v.leadingWhitespace=3===t.firstChild.nodeType,v.tbody=!t.getElementsByTagName("tbody").length,v.htmlSerialize=!!t.getElementsByTagName("link").length,v.html5Clone="<:nav>"!==C.createElement("nav").cloneNode(!0).outerHTML,e.type="checkbox",e.checked=!0,n.appendChild(e),v.appendChecked=e.checked,t.innerHTML="",v.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,n.appendChild(t),t.innerHTML="",v.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,v.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){v.noCloneEvent=!1}),t.cloneNode(!0).click()),null==v.deleteExpando){v.deleteExpando=!0;try{delete t.test}catch(e){v.deleteExpando=!1}}}(),function(){var e,t,n=C.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(v[e+"Bubbles"]=t in h)||(n.setAttribute(t,"t"),v[e+"Bubbles"]=!1===n.attributes[t].expando)}();var V=/^(?:input|select|textarea)$/i,J=/^key/,Y=/^(?:mouse|pointer|contextmenu)|click/,G=/^(?:focusinfocus|focusoutblur)$/,Q=/^([^.]*)(?:\.(.+)|)$/;function K(){return!0}function Z(){return!1}function ee(){try{return C.activeElement}catch(e){}}function te(e){var t=ne.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}T.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,d,f,p,h=T._data(e);if(h)for(n.handler&&(n=(s=n).handler,i=s.selector),n.guid||(n.guid=T.guid++),(o=h.events)||(o=h.events={}),(u=h.handle)||((u=h.handle=function(e){return typeof T==M||e&&T.event.triggered===e.type?void 0:T.event.dispatch.apply(u.elem,arguments)}).elem=e),a=(t=(t||"").match(j)||[""]).length;a--;)d=p=(c=Q.exec(t[a])||[])[1],f=(c[2]||"").split(".").sort(),d&&(l=T.event.special[d]||{},d=(i?l.delegateType:l.bindType)||d,l=T.event.special[d]||{},c=T.extend({type:d,origType:p,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:f.join(".")},s),(p=o[d])||((p=o[d]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(e,r,f,u)||(e.addEventListener?e.addEventListener(d,u,!1):e.attachEvent&&e.attachEvent("on"+d,u))),l.add&&(l.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),T.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,u,c,d,f,p,h,m,g=T.hasData(e)&&T._data(e);if(g&&(c=g.events)){for(u=(t=(t||"").match(j)||[""]).length;u--;)if(p=m=(s=Q.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=T.event.special[p]||{},f=c[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;o--;)a=f[o],!i&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,d.remove&&d.remove.call(e,a));l&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||T.removeEvent(e,p,g.handle),delete c[p])}else for(p in c)T.event.remove(e,p+t[u],n,r,!0);T.isEmptyObject(c)&&(delete g.handle,T._removeData(e,"events"))}},trigger:function(e,t,n,r){var i,o,a,s,l,u,c=[n||C],d=g.call(e,"type")?e.type:e,f=g.call(e,"namespace")?e.namespace.split("."):[],p=l=n=n||C;if(3!==n.nodeType&&8!==n.nodeType&&!G.test(d+T.event.triggered)&&(0<=d.indexOf(".")&&(d=(f=d.split(".")).shift(),f.sort()),o=d.indexOf(":")<0&&"on"+d,(e=e[T.expando]?e:new T.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=f.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),s=T.event.special[d]||{},r||!s.trigger||!1!==s.trigger.apply(n,t))){if(!r&&!s.noBubble&&!T.isWindow(n)){for(a=s.delegateType||d,G.test(a+d)||(p=p.parentNode);p;p=p.parentNode)c.push(p),l=p;l===(n.ownerDocument||C)&&c.push(l.defaultView||l.parentWindow||h)}for(u=0;(p=c[u++])&&!e.isPropagationStopped();)e.type=1]","i"),oe=/^\s+/,ae=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,se=/<([\w:]+)/,le=/\s*$/g,me={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:v.htmlSerialize?[0,"",""]:[1,"X
","
"]},ge=te(C).appendChild(C.createElement("div"));function ve(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!=M?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!=M?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||T.nodeName(r,t)?o.push(r):T.merge(o,ve(r,t));return void 0===t||t&&T.nodeName(e,t)?T.merge([e],o):o}function ye(e){U.test(e.type)&&(e.defaultChecked=e.checked)}function be(e,t){return T.nodeName(e,"table")&&T.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function xe(e){return e.type=(null!==T.find.attr(e,"type"))+"/"+e.type,e}function we(e){var t=pe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Te(e,t){for(var n,r=0;null!=(n=e[r]);r++)T._data(n,"globalEval",!t||T._data(t[r],"globalEval"))}function Ce(e,t){if(1===t.nodeType&&T.hasData(e)){var n,r,i,o=T._data(e),e=T._data(t,o),a=o.events;if(a)for(n in delete e.handle,e.events={},a)for(r=0,i=a[n].length;r")?o=e.cloneNode(!0):(ge.innerHTML=e.outerHTML,ge.removeChild(o=ge.firstChild)),!(v.noCloneEvent&&v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(r=ve(o),s=ve(e),a=0;null!=(i=s[a]);++a)r[a]&&function(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!v.noCloneEvent&&t[T.expando]){for(r in(i=T._data(t)).events)T.removeEvent(t,r,i.handle);t.removeAttribute(T.expando)}"script"===n&&t.text!==e.text?(xe(t).text=e.text,we(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),v.html5Clone&&e.innerHTML&&!T.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&U.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}(i,r[a]);if(t)if(n)for(s=s||ve(e),r=r||ve(o),a=0;null!=(i=s[a]);a++)Ce(i,r[a]);else Ce(e,o);return 0<(r=ve(o,"script")).length&&Te(r,!l&&ve(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,l,u,c,d=e.length,f=te(t),p=[],h=0;h")+c[2],i=c[0];i--;)s=s.lastChild;if(!v.leadingWhitespace&&oe.test(o)&&p.push(t.createTextNode(oe.exec(o)[0])),!v.tbody)for(i=(o="table"!==l||le.test(o)?""!==c[1]||le.test(o)?0:s:s.firstChild)&&o.childNodes.length;i--;)T.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(T.merge(p,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=f.lastChild}else p.push(t.createTextNode(o));for(s&&f.removeChild(s),v.appendChecked||T.grep(ve(p,"input"),ye),h=0;o=p[h++];)if((!r||-1===T.inArray(o,r))&&(a=T.contains(o.ownerDocument,o),s=ve(f.appendChild(o),"script"),a&&Te(s),n))for(i=0;o=s[i++];)fe.test(o.type||"")&&n.push(o);return s=null,f},cleanData:function(e,t){for(var n,r,i,o,a=0,s=T.expando,l=T.cache,u=v.deleteExpando,c=T.event.special;null!=(n=e[a]);a++)if((t||T.acceptData(n))&&(o=(i=n[s])&&l[i])){if(o.events)for(r in o.events)c[r]?T.event.remove(n,r):T.removeEvent(n,r,o.handle);l[i]&&(delete l[i],u?delete n[s]:typeof n.removeAttribute!=M?n.removeAttribute(s):n[s]=null,d.push(i))}}}),T.fn.extend({text:function(e){return X(this,function(e){return void 0===e?T.text(this):this.empty().append((this[0]&&this[0].ownerDocument||C).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||be(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=be(this,e)).insertBefore(e,t.firstChild)})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?T.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||T.cleanData(ve(n)),n.parentNode&&(t&&T.contains(n.ownerDocument,n)&&Te(ve(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&T.cleanData(ve(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&T.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return X(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(re,""):void 0;if(!("string"!=typeof e||ce.test(e)||!v.htmlSerialize&&ie.test(e)||!v.leadingWhitespace&&oe.test(e)||me[(se.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(ae,"<$1>");try{for(;n")).appendTo(t.documentElement))[0].contentWindow||Ne[0].contentDocument).document).write(),t.close(),n=Se(e,t),Ne.detach()),ke[e]=n),n}v.shrinkWrapBlocks=function(){return null!=Ee?Ee:(Ee=!1,(t=C.getElementsByTagName("body")[0])&&t.style?(e=C.createElement("div"),(n=C.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),typeof e.style.zoom!=M&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(C.createElement("div")).style.width="5px",Ee=3!==e.offsetWidth),t.removeChild(n),Ee):void 0);var e,t,n};var De,je,Le,He,qe,_e,Me=/^margin/,Fe=new RegExp("^("+z+")(?!px)[a-z%]+$","i"),Oe=/^(top|right|bottom|left)$/;function Be(t,n){return{get:function(){var e=t();if(null!=e)return e?void delete this.get:(this.get=n).apply(this,arguments)}}}function Pe(){var e,t,n,r;(t=C.getElementsByTagName("body")[0])&&t.style&&(e=C.createElement("div"),(n=C.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",Le=He=!1,_e=!0,h.getComputedStyle&&(Le="1%"!==(h.getComputedStyle(e,null)||{}).top,He="4px"===(h.getComputedStyle(e,null)||{width:"4px"}).width,(r=e.appendChild(C.createElement("div"))).style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",r.style.marginRight=r.style.width="0",e.style.width="1px",_e=!parseFloat((h.getComputedStyle(r,null)||{}).marginRight),e.removeChild(r)),e.innerHTML="
t
",(r=e.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(qe=0===r[0].offsetHeight)&&(r[0].style.display="",r[1].style.display="none",qe=0===r[0].offsetHeight),t.removeChild(n))}h.getComputedStyle?(De=function(e){return(e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView:h).getComputedStyle(e,null)},je=function(e,t,n){var r,i=e.style,o=(n=n||De(e))?n.getPropertyValue(t)||n[t]:void 0;return n&&(""!==o||T.contains(e.ownerDocument,e)||(o=T.style(e,t)),Fe.test(o)&&Me.test(t)&&(r=i.width,e=i.minWidth,t=i.maxWidth,i.minWidth=i.maxWidth=i.width=o,o=n.width,i.width=r,i.minWidth=e,i.maxWidth=t)),void 0===o?o:o+""}):C.documentElement.currentStyle&&(De=function(e){return e.currentStyle},je=function(e,t,n){var r,i,o,a=e.style;return null==(o=(n=n||De(e))?n[t]:void 0)&&a&&a[t]&&(o=a[t]),Fe.test(o)&&!Oe.test(t)&&(r=a.left,(n=(i=e.runtimeStyle)&&i.left)&&(i.left=e.currentStyle.left),a.left="fontSize"===t?"1em":o,o=a.pixelLeft+"px",a.left=r,n&&(i.left=n)),void 0===o?o:o+""||"auto"}),(nt=C.createElement("div")).innerHTML="
a",(rt=(rt=nt.getElementsByTagName("a")[0])&&rt.style)&&(rt.cssText="float:left;opacity:.5",v.opacity="0.5"===rt.opacity,v.cssFloat=!!rt.cssFloat,nt.style.backgroundClip="content-box",nt.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===nt.style.backgroundClip,v.boxSizing=""===rt.boxSizing||""===rt.MozBoxSizing||""===rt.WebkitBoxSizing,T.extend(v,{reliableHiddenOffsets:function(){return null==qe&&Pe(),qe},boxSizingReliable:function(){return null==He&&Pe(),He},pixelPosition:function(){return null==Le&&Pe(),Le},reliableMarginRight:function(){return null==_e&&Pe(),_e}})),T.swap=function(e,t,n,r){var i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.apply(e,r||[]),t)e.style[i]=o[i];return r};var Re=/alpha\([^)]*\)/i,We=/opacity\s*=\s*([^)]*)/,$e=/^(none|table(?!-c[ea]).+)/,ze=new RegExp("^("+z+")(.*)$","i"),Ie=new RegExp("^([+-])=("+z+")","i"),Xe={position:"absolute",visibility:"hidden",display:"block"},Ue={letterSpacing:"0",fontWeight:"400"},Ve=["Webkit","O","Moz","ms"];function Je(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Ve.length;i--;)if((t=Ve[i]+n)in e)return t;return r}function Ye(e,t){for(var n,r,i,o=[],a=0,s=e.length;a
a",p=o.getElementsByTagName("a")[0],rt=(nt=C.createElement("select")).appendChild(C.createElement("option")),z=o.getElementsByTagName("input")[0],p.style.cssText="top:1px",v.getSetAttribute="t"!==o.className,v.style=/top/.test(p.getAttribute("style")),v.hrefNormalized="/a"===p.getAttribute("href"),v.checkOn=!!z.value,v.optSelected=rt.selected,v.enctype=!!C.createElement("form").enctype,nt.disabled=!0,v.optDisabled=!rt.disabled,(z=C.createElement("input")).setAttribute("value",""),v.input=""===z.getAttribute("value"),z.value="t",z.setAttribute("type","radio"),v.radioValue="t"===z.value;var pt=/\r/g;T.fn.extend({val:function(t){var n,e,r,i=this[0];return arguments.length?(r=T.isFunction(t),this.each(function(e){1===this.nodeType&&(null==(e=r?t.call(this,e,T(this).val()):t)?e="":"number"==typeof e?e+="":T.isArray(e)&&(e=T.map(e,function(e){return null==e?"":e+""})),(n=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):i?(n=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(pt,""):null==e?"":e:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:T.trim(T.text(e))}},select:{get:function(e){for(var t,n=e.options,r=e.selectedIndex,i="select-one"===e.type||r<0,o=i?null:[],a=i?r+1:n.length,s=r<0?a:i?r:0;s").append(T.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.expr.filters.animated=function(t){return T.grep(T.timers,function(e){return t===e.elem}).length};var Qt=h.document.documentElement;function Kt(e){return T.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}T.offset={setOffset:function(e,t,n){var r,i,o,a,s=T.css(e,"position"),l=T(e),u={};"static"===s&&(e.style.position="relative"),o=l.offset(),r=T.css(e,"top"),a=T.css(e,"left"),a=("absolute"===s||"fixed"===s)&&-1").append(t).html();try{return t[0].nodeType===Tn?cn(e):e.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(t,e){return"<"+cn(e)})}catch(t){return cn(e)}}function o(t){try{return decodeURIComponent(t)}catch(t){}}function a(t){var e,n,r={};return ot((t||"").split("&"),function(t){t&&(e=t.replace(/\+/g,"%20").split("="),H(n=o(e[0]))&&(t=!H(e[1])||o(e[1]),ln.call(r,n)?bn(r[n])?r[n].push(t):r[n]=[r[n],t]:r[n]=t))}),r}function g(t){var n=[];return ot(t,function(t,e){bn(t)?ot(t,function(t){n.push(S(e,!0)+(!0===t?"":"="+S(t,!0)))}):n.push(S(e,!0)+(!0===t?"":"="+S(t,!0)))}),n.length?n.join("&"):""}function w(t){return S(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function S(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}function t(n,t){var r,i,e={};ot(An,function(t){t+="app",!r&&n.hasAttribute&&n.hasAttribute(t)&&(i=(r=n).getAttribute(t))}),ot(An,function(t){var e;t+="app",!r&&(e=n.querySelector("["+t.replace(":","\\:")+"]"))&&(i=(r=e).getAttribute(t))}),r&&(e.strictDi=null!==function(t,e){var n,r,i=An.length;for(t=on(t),r=0;r/,">"))}return(n=n||[]).unshift(["$provide",function(t){t.value("$rootElement",e)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),n.unshift("ng"),(t=St(n,r.strictDi)).invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,r){t.$apply(function(){e.data("$injector",r),n(e)(t)})}]),t}var t=/^NG_ENABLE_DEBUG_INFO!/,o=/^NG_DEFER_BOOTSTRAP!/;if(u&&t.test(u.name)&&(r.debugInfoEnabled=!0,u.name=u.name.replace(t,"")),u&&!o.test(u.name))return i();u.name=u.name.replace(o,""),vn.resumeBootstrap=function(t){return ot(t,function(t){n.push(t)}),i()},ct(vn.resumeDeferredBootstrap)&&vn.resumeDeferredBootstrap()}function j(){u.name="NG_ENABLE_DEBUG_INFO!"+u.name,u.location.reload()}function P(t){if(!(t=vn.element(t).injector()))throw mn("test");return t.get("$$testability")}function $t(t,n){return n=n||"_",t.replace(kn,function(t,e){return(e?n:"")+t.toLowerCase()})}function pt(t,e,n){if(!t)throw mn("areq",e||"?",n||"required");return t}function R(t,e,n){return pt(ct(t=n&&bn(t)?t[t.length-1]:t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function _(t,e){if("hasOwnProperty"===t)throw mn("badname",e)}function I(t,e,n){if(!e)return t;for(var r,i=t,o=(e=e.split(".")).length,a=0;a")+r[2],r=r[0];r--;)n=n.lastChild;o=k(o,n.childNodes),(n=i.firstChild).textContent=""}else o.push(e.createTextNode(t));return i.textContent="",i.innerHTML="",ot(o,function(t){i.appendChild(t)}),i}function z(t){if(t instanceof z)return t;var e,n;if(ut(t)&&(t=xn(t),n=!0),!(this instanceof z)){if(n&&"<"!=t.charAt(0))throw Rn("nosel");return new z(t)}n&&(n=rt,t=(e=In.exec(t))?[n.createElement(e[1])]:(e=B(t,n))?e.childNodes:[]),tt(this,t)}function mt(t){return t.cloneNode(!0)}function G(t,e){if(e||J(t),t.querySelectorAll)for(var n=t.querySelectorAll("*"),r=0,i=n.length;r 4096 bytes)!")},l.defer=function(t,e){var n;return m++,n=i(function(){delete d[n],r(t)},e||0),d[n]=!0,n},l.defer.cancel=function(t){return!!d[t]&&(delete d[t],p(t),r(V),!0)}}function Et(){this.$get=["$window","$log","$sniffer","$document",function(t,e,n,r){return new kt(t,r,e,n)}]}function Ot(){this.$get=function(){function t(t,e){function n(t){t!=c&&(l?l==t&&(l=t.n):l=t,r(t.n,t.p),r(t,c),(c=t).n=null)}function r(t,e){t!=e&&(t&&(t.p=e),e&&(e.n=t))}if(t in f)throw C("$cacheFactory")("iid",t);var i=0,o=T({},e,{id:t}),a={},s=e&&e.capacity||Number.MAX_VALUE,u={},c=null,l=null;return f[t]={put:function(t,e){if(s").parent()[0])});var s=H(a,t,a,e,n,r);F.$$addScopeClass(a);var u=null;return function(t,e,n){pt(t,"scope");var r=(n=n||{}).parentBoundTranscludeFn,i=n.transcludeControllers;if(n=n.futureParentElement,r&&r.$$boundTransclude&&(r=r.$$boundTransclude),n="html"!==(u=u||((n=n&&n[0])&&"foreignobject"!==M(n)&&n.toString().match(/SVG/)?"svg":"html"))?on(K(u,on("
").append(a).html())):e?_n.clone.call(a):a,i)for(var o in i)n.data("$"+o+"Controller",i[o].instance);return F.$$addScopeInfo(n,t),e&&e(n,t),s&&s(t,n,n,r),n}}function H(t,l,e,n,r,i){for(var o,a,s,u,f,h=[],c=0;cO.priority)break;if((V=O.scope)&&(O.templateUrl||(st(V)?(Z("new/isolated scope",x||s,O,p),x=O):Z("new/isolated scope",x,O,p)),s=s||O),u=O.name,!O.templateUrl&&O.controller&&(V=O.controller,Z("'"+u+"' controller",(b=b||{})[u],O,p),b[u]=O),(V=O.transclude)&&(h=!0,O.$$tlb||(Z("transclusion",f,O,p),f=O),A="element"==V?(C=!0,l=O.priority,V=p,p=m.$$element=on(rt.createComment(" "+u+": "+m[u]+" ")),d=p[0],Y(n,hn.call(V,0),d),F(V,e,l,r&&r.name,{nonTlbTranscludeDirective:f})):(V=on(mt(d)).contents(),p.empty(),F(V,e))),O.template)if($=!0,Z("template",S,O,p),V=ct((S=O).template)?O.template(p,m):O.template,V=et(V),O.replace){if(r=O,V=qn.test(V)?Dt(K(O.templateNamespace,xn(V))):[],d=V[0],1!=V.length||d.nodeType!==On)throw tr("tplrt",u,"");Y(n,p,d);var V=L(d,[],E={$attr:{}}),N=t.splice(k+1,t.length-(k+1));x&&W(V),t=t.concat(V).concat(N),J(m,E),E=t.length}else p.html(V);if(O.templateUrl)$=!0,Z("template",S,O,p),(S=O).replace&&(r=O),a=function(s,u,c,l,f,h,$,p){var d,m,v=[],g=u[0],y=s.shift(),w=at(y,{templateUrl:null,transclude:null,replace:null,$$originalDirective:y}),b=ct(y.templateUrl)?y.templateUrl(u,c):y.templateUrl,x=y.templateNamespace;return u.empty(),P(q.getTrustedResourceUrl(b)).then(function(t){var n;if(t=et(t),y.replace){if(t=qn.test(t)?Dt(K(x,xn(t))):[],n=t[0],1!=t.length||n.nodeType!==On)throw tr("tplrt",y.name,b);t={$attr:{}},Y(l,u,n);var e=L(n,[],t);st(y.scope)&&W(e),s=e.concat(s),J(c,t)}else n=g,u.html(t);for(s.unshift(w),d=G(s,n,c,f,u,y,h,$,p),ot(l,function(t,e){t==n&&(l[e]=u[0])}),m=H(u[0].childNodes,f);v.length;){t=v.shift();var r,i=v.shift(),o=v.shift(),a=v.shift(),e=u[0];t.$$destroyed||(i!==g&&(r=i.className,p.hasElementTranscludeDirective&&y.replace||(e=mt(n)),Y(o,on(i),e),U(on(e),r)),i=d.transcludeOnThisElement?_(t,d.transclude,a):a,d(m,t,e,l,i))}v=null}),function(t,e,n,r,i){t=i,e.$$destroyed||(v?v.push(e,n,r,t):(d.transcludeOnThisElement&&(t=_(e,d.transclude,i)),d(m,e,n,r,t)))}}(t.splice(k,t.length-k),p,m,n,h&&A,v,g,{controllerDirectives:b,newIsolateScopeDirective:x,templateDirective:S,nonTlbTranscludeDirective:f}),E=t.length;else if(O.compile)try{ct(c=O.compile(p,m,A))?o(null,c,T,M):c&&o(c.pre,c.post,T,M)}catch(t){j(t,ht(p))}O.terminal&&(a.terminal=!0,l=Math.max(l,O.priority))}return a.scope=s&&!0===s.scope,a.transcludeOnThisElement=h,a.elementTranscludeOnThisElement=C,a.templateOnThisElement=$,a.transclude=A,i.hasElementTranscludeDirective=C,a}function W(t){for(var e=0,n=t.length;es.priority)&&-1!=s.restrict.indexOf(n)&&(o&&(s=at(s,{$$start:o,$$end:a})),t.push(s),i=s)}catch(t){j(t)}return i}}function J(n,r){var i=r.$attr,o=n.$attr,a=n.$$element;ot(n,function(t,e){"$"!=e.charAt(0)&&(r[e]&&r[e]!==t&&(t+=("style"===e?";":" ")+r[e]),n.$set(e,t,!0,i[e]))}),ot(r,function(t,e){"class"==e?(U(a,t),n.class=(n.class?n.class+" ":"")+t):"style"==e?(a.attr("style",a.attr("style")+";"+t),n.style=(n.style?n.style+";":"")+t):"$"==e.charAt(0)||n.hasOwnProperty(e)||(n[e]=t,o[e]=i[e])})}function b(t,e){var n=e.priority-t.priority;return 0!=n?n:t.name!==e.name?t.name"+e+"",n.childNodes[0].childNodes;default:return e}}function Y(t,e,n){var r,i=e[0],o=e.length,a=i.parentNode;if(t)for(r=0,s=t.length;ri+1?t=0:(s=l,c=!0)),c)0=h+$)for(f=c.length-h,o=0;o=l},n.$observe("min",function(t){l=u(t),r.$validate()})),(H(n.max)||n.ngMax)&&(r.$validators.max=function(t){return!s(t)||F(f)||d(t)<=f},n.$observe("max",function(t){f=u(t),r.$validate()}))}}function Qe(t,n,e,r){(r.$$hasNativeValidators=st(n[0].validity))&&r.$parsers.push(function(t){var e=n.prop("validity")||{};return e.badInput&&!e.typeMismatch?it:t})}function tn(t,e,n,r,i){if(H(r)){if(!(t=t(r)).constant)throw C("ngModel")("constexpr",n,r);return t(e)}return i}function en(n,h){return n="ngClass"+n,["$animate",function(c){function l(t,e){var n=[],r=0;t:for(;r(?:<\/\1>|)$/,qn=/<|&#?\w+;/,Un=/<([\w:]+)/,Fn=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Hn={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Hn.optgroup=Hn.option,Hn.tbody=Hn.tfoot=Hn.colgroup=Hn.caption=Hn.thead,Hn.th=Hn.td;var _n=z.prototype={ready:function(t){function e(){n||(n=!0,t())}var n=!1;"complete"===rt.readyState?setTimeout(e):(this.on("DOMContentLoaded",e),z(u).on("load",e))},toString:function(){var e=[];return ot(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(t){return on(0<=t?this[t]:this[this.length+t])},length:0,push:pn,sort:[].sort,splice:[].splice},Ln={};ot("multiple selected checked disabled readOnly required open".split(" "),function(t){Ln[cn(t)]=t});var Bn={};ot("input select option textarea button form details".split(" "),function(t){Bn[t]=!0});var zn={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};function Gn(t,e){if(F(e)){var n=t.nodeType;return n===On||n===Tn?t.textContent:""}t.textContent=e}ot({data:K,removeData:J},function(t,e){z[e]=t}),ot({data:K,inheritedData:nt,scope:function(t){return on.data(t,"$scope")||nt(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return on.data(t,"$isolateScope")||on.data(t,"$isolateScopeNoTemplate")},controller:et,injector:function(t){return nt(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:Y,css:function(t,e,n){if(e=U(e),!H(n))return t.style[e];t.style[e]=n},attr:function(t,e,n){var r=cn(e);if(Ln[r]){if(!H(n))return t[e]||(t.attributes.getNamedItem(e)||V).specified?r:it;n?(t[e]=!0,t.setAttribute(e,r)):(t[e]=!1,t.removeAttribute(r))}else if(H(n))t.setAttribute(e,n);else if(t.getAttribute)return null===(t=t.getAttribute(e,2))?it:t},prop:function(t,e,n){if(!H(n))return t[e];t[e]=n},text:(Gn.$dv="",Gn),val:function(t,e){if(F(e)){if(t.multiple&&"select"===M(t)){var n=[];return ot(t.options,function(t){t.selected&&n.push(t.value||t.text)}),0===n.length?null:n}return t.value}t.value=e},html:function(t,e){if(F(e))return t.innerHTML;G(t,!0),t.innerHTML=e},empty:vt},function(a,t){z.prototype[t]=function(t,e){var n,r=this.length;if(a!==vt&&(2==a.length&&a!==Y&&a!==et?t:e)===it){if(st(t)){for(o=0;o":function(t,e,n,r){return n(t,e)>r(t,e)},"<=":function(t,e,n,r){return n(t,e)<=r(t,e)},">=":function(t,e,n,r){return n(t,e)>=r(t,e)},"&&":function(t,e,n,r){return n(t,e)&&r(t,e)},"||":function(t,e,n,r){return n(t,e)||r(t,e)},"!":function(t,e,n){return!n(t,e)},"=":!0,"|":!0}),yr={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},wr=function(t){this.options=t};wr.prototype={constructor:wr,lex:function(t){for(this.text=t,this.index=0,this.tokens=[];this.indext){var o=(t=this.tokens[t]).text;if(o===e||o===n||o===r||o===i||!(e||n||r||i))return t}return!1},expect:function(t,e,n,r){return!!(t=this.peek(t,e,n,r))&&(this.tokens.shift(),t)},consume:function(t){if(0===this.tokens.length)throw $r("ueoe",this.text);var e=this.expect(t);return e||this.throwError("is unexpected, expecting ["+t+"]",this.peek()),e},unaryFn:function(t,n){var r=gr[t];return T(function(t,e){return r(t,e,n)},{constant:n.constant,inputs:[n]})},binaryFn:function(n,t,r,e){var i=gr[t];return T(function(t,e){return i(t,e,n,r)},{constant:n.constant&&r.constant,inputs:!e&&[n,r]})},identifier:function(){for(var t=this.consume().text;this.peek(".")&&this.peekAhead(1).identifier&&!this.peekAhead(2,"(");)t+=this.consume().text+this.consume().text;return $e(t,this.options,this.text)},constant:function(){var t=this.consume().value;return T(function(){return t},{constant:!0,literal:!0})},statements:function(){for(var o=[];;)if(0","<=",">=");)e=this.binaryFn(e,t.text,this.additive());return e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e=this.binaryFn(e,t.text,this.multiplicative());return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e=this.binaryFn(e,t.text,this.unary());return e},unary:function(){var t;return this.expect("+")?this.primary():(t=this.expect("-"))?this.binaryFn(br.ZERO,t.text,this.unary()):(t=this.expect("!"))?this.unaryFn(t.text,this.unary()):this.primary()},fieldAccess:function(i){var o=this.identifier();return T(function(t,e,n){return null==(t=n||i(t,e))?it:o(t)},{assign:function(t,e,n){var r=i(t,n);return r||i.assign(t,r={},n),o.assign(r,e)}})},objectIndex:function(o){var a=this.text,s=this.expression();return this.consume("]"),T(function(t,e){var n=o(t,e),e=s(t,e);return se(e,a),n?ue(n[e],a):it},{assign:function(t,e,n){var r=se(s(t,n),a),i=ue(o(t,n),a);return i||o.assign(t,i={},n),i[r]=e}})},functionCall:function(o,a){var s=[];if(")"!==this.peekToken().text)for(;s.push(this.expression()),this.expect(","););this.consume(")");var u=this.text,c=s.length?[]:null;return function(t,e){var n=a?a(t,e):H(a)?it:t,r=o(t,e,n)||V;if(c)for(var i=s.length;i--;)c[i]=ue(s[i](t,e),u);if(ue(n,u),r){if(r.constructor===r)throw $r("isecfn",u);if(r===pr||r===dr||r===mr)throw $r("isecff",u)}return n=r.apply?r.apply(n,c):r(c[0],c[1],c[2],c[3],c[4]),c&&(c.length=0),ue(n,u)}},arrayDeclaration:function(){var o=[];if("]"!==this.peekToken().text)for(;!this.peek("]")&&(o.push(this.expression()),this.expect(",")););return this.consume("]"),T(function(t,e){for(var n=[],r=0,i=o.length;r=i})}}}var di,mi=["$animate",function(u){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(t,n,r,e,i){var o,a,s;t.$watch(r.ngIf,function(t){t?a||i(function(t,e){a=e,t[t.length++]=rt.createComment(" end ngIf: "+r.ngIf+" "),o={clone:t},u.enter(t,n.parent(),n)}):(s&&(s.remove(),s=null),a&&(a.$destroy(),a=null),o&&(s=q(o.clone),u.leave(s).then(function(){s=null}),o=null))})}}}],vi=["$templateRequest","$anchorScroll","$animate","$sce",function(d,m,v,r){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:vn.noop,compile:function(t,e){var n=e.ngInclude||e.src,$=e.onload||"",p=e.autoscroll;return function(o,a,t,s,u){function c(){e&&(e.remove(),e=null),l&&(l.$destroy(),l=null),f&&(v.leave(f).then(function(){e=null}),e=f,f=null)}var l,e,f,h=0;o.$watch(r.parseAsResourceUrl(n),function(n){function r(){!H(p)||p&&!o.$eval(p)||m()}var i=++h;n?(d(n,!0).then(function(t){var e;i===h&&(e=o.$new(),s.template=t,t=u(e,function(t){c(),v.enter(t,null,a).then(r)}),f=t,(l=e).$emit("$includeContentLoaded",n),o.$eval($))},function(){i===h&&(c(),o.$emit("$includeContentError",n))}),o.$emit("$includeContentRequested",n)):(c(),s.template=null)})}}}}],gi=["$compile",function(i){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(t,e,n,r){/SVG/.test(e[0].toString())?(e.empty(),i(B(r.template,rt).childNodes)(t,function(t){e.append(t)},{futureParentElement:e})):(e.html(r.template),i(e.contents())(t))}}}],yi=We({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),wi="ng-valid",bi="ng-invalid",xi="ng-pristine",Si="ng-dirty",Ci="ng-pending",Ai=new C("ngModel"),ki=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(i,e,o,a,s,t,r,u,l,n){this.$modelValue=this.$viewValue=Number.NaN,this.$$rawModelValue=it,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=it,this.$name=n(o.name||"",!1)(i);var f,c=s(o.ngModel),h=c.assign,$=c,p=h,d=null,m=this;this.$$setOptions=function(t){if((m.$options=t)&&t.getterSetter){var n=s(o.ngModel+"()"),r=s(o.ngModel+"($$$p)");$=function(t){var e=c(t);return e=ct(e)?n(t):e},p=function(t,e){ct(c(t))?r(t,{$$$p:m.$modelValue}):h(t,m.$modelValue)}}else if(!c.assign)throw Ai("nonassign",o.ngModel,ht(a))},this.$render=V,this.$isEmpty=function(t){return F(t)||""===t||null===t||t!=t};var v=a.inheritedData("$formController")||Ir,g=0;nn({ctrl:this,$element:a,set:function(t,e){t[e]=!0},unset:function(t,e){delete t[e]},parentForm:v,$animate:t}),this.$setPristine=function(){m.$dirty=!1,m.$pristine=!0,t.removeClass(a,Si),t.addClass(a,xi)},this.$setDirty=function(){m.$dirty=!0,m.$pristine=!1,t.removeClass(a,xi),t.addClass(a,Si),v.$setDirty()},this.$setUntouched=function(){m.$touched=!1,m.$untouched=!0,t.setClass(a,"ng-untouched","ng-touched")},this.$setTouched=function(){m.$touched=!0,m.$untouched=!1,t.setClass(a,"ng-touched","ng-untouched")},this.$rollbackViewValue=function(){r.cancel(d),m.$viewValue=m.$$lastCommittedViewValue,m.$render()},this.$validate=function(){var e,n,r,i;y(m.$modelValue)&&isNaN(m.$modelValue)||(e=m.$$rawModelValue,n=m.$valid,r=m.$modelValue,i=m.$options&&m.$options.allowInvalid,m.$$runValidators(e,m.$$lastCommittedViewValue,function(t){i||n===t||(m.$modelValue=t?e:it,m.$modelValue!==r&&m.$$writeModelToScope())}))},this.$$runValidators=function(n,r,e){function i(t,e){c===g&&m.$setValidity(t,e)}function t(t){c===g&&e(t)}var o,a,s,u,c=++g;u=m.$$parserName||"parse",(f!==it?(f||(ot(m.$validators,function(t,e){i(e,null)}),ot(m.$asyncValidators,function(t,e){i(e,null)})),i(u,f),f):(i(u,null),1))?(s=!0,ot(m.$validators,function(t,e){t=t(n,r);s=s&&t,i(e,t)}),s||(ot(m.$asyncValidators,function(t,e){i(e,null)}),0)?(o=[],a=!0,ot(m.$asyncValidators,function(t,e){t=t(n,r);if(!t||!ct(t.then))throw Ai("$asyncValidators",t);i(e,it),o.push(t.then(function(){i(e,!0)},function(t){i(e,a=!1)}))}),o.length?l.all(o).then(function(){t(a)},V):t(!0)):t(!1)):t(!1)},this.$commitViewValue=function(){var t=m.$viewValue;r.cancel(d),(m.$$lastCommittedViewValue!==t||""===t&&m.$$hasNativeValidators)&&(m.$$lastCommittedViewValue=t,m.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){var e=m.$$lastCommittedViewValue;if(f=!F(e)||it)for(var t=0;to;)w($,(t=f.pop()).label,!1),t.element.remove()}for(;T.length>n;){for(e=T.pop(),o=1;o@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}'); -function Packet(e,t,n){this.id=e||(new Date).toISOString()+Math.random(),this.cmd=t,this.data=n,this.instanceId=null}var buildfire={isFileServer:function(e){return-1!==e.indexOf("s3.amazonaws.com")},isWidget:function(){return 0{i.queue.forEach(e=>{e&&e(t)}),i.loaded=!0,i.queue=[]}))},loadScript:function({url:t,scriptId:e},n=Function()){let i=document.getElementById(e);var a=document.getElementsByTagName("script");if(i||Array.from(a).some(e=>e.src.includes(t.replaceAll("../",""))))return n();const r=document.head||document.body;i=document.createElement("script"),i.id=e||"",i.type="text/javascript",i.src=t,i.onload=n,i.onerror=function(){n(new Error("failed to load script component")),console.error("failed to load script component")},r.appendChild(i)},ratingSystem:{inject:function(){var e,t,n,i;void 0!==buildfire&&(void 0===buildfire.components||void 0===buildfire.components.ratingSystem?(t=function(e){var t=document.head||document.body,n=document.createElement("link");n.rel="stylesheet",n.type="text/css",n.href="../../../scripts/buildfire/components/ratingSystem/index.min.css",t.appendChild(n);const i=t.querySelector("meta[charset]");i&&i.getAttribute("charset").toLowerCase().includes("utf-8")||console.warn("UTF-8 charset is required for ratingSystem to function properly"),buildfire.components.ratingSystem.injectRatings({isFromWysiwyg:!0})},function(e){for(;e.includes("../");)e=e.replace("../","");for(var t=document.getElementsByTagName("script"),n=0;n{.9<=Math.random()&&buildfire.logger.log({message:e.message,level:"error",category:"BrowserJsException",exception:{colno:e.colno,lineno:e.lineno,message:e.message,stack:e.error&&e.error.stack?e.error&&e.error.stack:"n/a",url:e.filename}}),t("Error: "+e.message," Script: "+e.filename," Line: "+e.lineno," Column: "+e.colno,(e.error,e.error.stack?e.error&&e.error.stack:"n/a"))})},log:function(n,i){n&&"object"==typeof n||(n={}),buildfire.getContext((e,t)=>{n.context||(n.context={}),n.context.pluginId=t?.pluginId,n.context.instanceId=t?.instanceId,n.context.pluginTitle=t?.title,n.tags||(n.tags=[]),n.tags.push("sdkAndPlugins");t=new Packet(null,"logger.log",n);buildfire._sendPacket(t,i)})}},_callbacks:{},parseQueryString:function(e){for(var t=(e||window.location.search.substring(1)).split("&"),n=new Object,i=0;i{return e?console.error(e):void(t&&"sdk"===t.scope?(n=(e,t)=>{var n,i;e&&console.error(e),window.pluginJson=t,buildfire._cssInjection.handleCssLayoutInjection(t),t&&t.control&&t.control.language&&t.control.language.enabled&&(n=(e,t)=>{e&&console.error(e),window.pluginLanguageJson=t,buildfire.language.handleLanguageSettings(window.pluginJson,t)},i=`../${t.control.language.languageJsonPath}`,fetch(i).then(e=>e.json()).then(e=>{n(null,e)}).catch(e=>{n(e,null)}))},t=`../plugin.json?v=${(new Date).getTime()}`,fetch(t).then(e=>e.json()).then(e=>{n(null,e)}).catch(e=>{n(e,null)})):document.write('