(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ ‚use strict‘;var m;function t(a){return a.raw=a}function aa(a,b){a.raw=b;return a}function ba(a){var b=0;return function(){return bc&&(c=Math.max(c+e,0));c\n /* To hide the spinner in Webkit styles must be set in the component which creates the element\n * which is being slotted. */\n\n /* Hide spinner in Firefox. */\n ::slotted(input[type=“number“]) {\n -moz-appearance: textfield;\n }\n\n\n‘;ya=Aa}za=ya;/* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ window.JSCompiler_renameProperty=function(a){return a};/* Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ var Ba={„U+0008″:“backspace“,“U+0009″:“tab“,“U+001B“:“esc“,“U+0020″:“space“,“U+007F“:“del“},Ca={8:“backspace“,9:“tab“,13:“enter“,27:“esc“,33:“pageup“,34:“pagedown“,35:“end“,36:“home“,32:“space“,37:“left“,38:“up“,39:“right“,40:“down“,46:“del“,106:“*“},Da={shift:“shiftKey“,ctrl:“ctrlKey“,alt:“altKey“,meta:“metaKey“},Ea=/[a-z0-9*]/,Ga=/U\+/,Ha=/^arrow/,Ia=/^space(bar)?/,Ja=/^escape$/; function Ka(a,b){var c=““;if(a)if(a=a.toLowerCase(),“ „===a||Ia.test(a))c=“space“;else if(Ja.test(a))c=“esc“;else if(1==a.length){if(!b||Ea.test(a))c=a}else c=Ha.test(a)?a.replace(„arrow“,““):“multiply“==a?“*“:a;return c} function La(a,b){var c=a.fc;if(b.key)c=Ka(b.key,c);else if(b.detail&&b.detail.key)c=Ka(b.detail.key,c);else{c=b.keyIdentifier;var d=““;c&&(c in Ba?d=Ba[c]:Ga.test(c)?(c=parseInt(c.replace(„U+“,“0x“),16),d=String.fromCharCode(c).toLowerCase()):d=c.toLowerCase());(c=d)||(c=b.keyCode,d=““,Number(c)&&(65<=c&&90>=c?d=String.fromCharCode(32+c):112<=c&&123>=c?d=“f“+(c-112+1):48<=c&&57>=c?d=String(c-48):96<=c&&105>=c?d=String(c-96):d=Ca[c]),c=d);c=c||““}return c===a.key&&(!a.fc||!!b.shiftKey===!!a.shiftKey&& !!b.ctrlKey===!!a.ctrlKey&&!!b.altKey===!!a.altKey&&!!b.metaKey===!!a.metaKey)}function Ma(a){return 1===a.length?{nj:a,key:a,event:“keydown“}:a.split(„+“).reduce(function(b,c){var d=c.split(„:“);c=d[0];d=d[1];c in Da?(b[Da[c]]=!0,b.fc=!0):(b.key=c,b.event=d||“keydown“);return b},{nj:a.split(„:“).shift()})}function Na(a){return a.trim().split(“ „).map(function(b){return Ma(b)})} var Oa={properties:{keyEventTarget:{type:Object,value:function(){return this}},stopKeyboardEventPropagation:{type:Boolean,value:!1},_boundKeyHandlers:{type:Array,value:function(){return[]}},_imperativeKeyBindings:{type:Object,value:function(){return{}}}},observers:[„_resetKeyEventListeners(keyEventTarget, _boundKeyHandlers)“],ja:{},registered:function(){this._prepKeyBindings()},attached:function(){this._listenKeyEventListeners()},detached:function(){this._unlistenKeyEventListeners()},addOwnKeyBinding:function(a, b){this._imperativeKeyBindings[a]=b;this._prepKeyBindings();this._resetKeyEventListeners()},removeOwnKeyBindings:function(){this._imperativeKeyBindings={};this._prepKeyBindings();this._resetKeyEventListeners()},keyboardEventMatchesKeys:function(a,b){b=Na(b);for(var c=0;carguments.length?this[c]:e;this._valueToNodeAttribute(this, e,d||this.constructor.attributeNameForProperty(c));this.me=!1};b.prototype._valueToNodeAttribute=function(c,d,e){d=this._serializeValue(d);if(„class“===e||“name“===e||“slot“===e)c=E(c);void 0===d?c.removeAttribute(e):c.setAttribute(e,d)};b.prototype._serializeValue=function(c){switch(typeof c){case „boolean“:return c?““:void 0;default:return null!=c?c.toString():void 0}};b.prototype._deserializeValue=function(c,d){switch(d){case Boolean:return null!==c;case Number:return Number(c);default:return c}}; return b});var Db=0,Eb=[];function _regLog$$module$third_party$javascript$polymer$v2$polymer$lib$utils$telemetry(a){console.log(„[„+a.is+“]: registered“)};var Fb=D(function(a){function b(){return e.apply(this,arguments)||this}function c(f){f=Object.getPrototypeOf(f);return f.prototype instanceof b?f:null}function d(f){if(!f.hasOwnProperty(„ag“)){var g=null;if(f.hasOwnProperty(„properties“)){var h=f.properties;if(h){g={};for(var k in h){var l=h[k];g[k]=“function“===typeof l?{type:l}:l}}}f.ag=g}return f.ag}var e=Cb(a);A(b,e);b.finalize=function(){if(!this.hasOwnProperty(„bi“)){var f=c(this);f&&f.finalize();this.bi=!0;this._finalizeClass()}};b._finalizeClass= function(){var f=d(this);f&&this.createProperties(f)};b.typeForProperty=function(f){return(f=this.gb[f])&&f.type};b.prototype._initializeProperties=function(){Db++;this.constructor.finalize();e.prototype._initializeProperties.call(this)};b.prototype.connectedCallback=function(){e.prototype.connectedCallback&&e.prototype.connectedCallback.call(this);this._enableProperties()};b.prototype.disconnectedCallback=function(){e.prototype.disconnectedCallback&&e.prototype.disconnectedCallback.call(this)};x.Object.defineProperties(b, {observedAttributes:{configurable:!0,enumerable:!0,get:function(){var f=this;if(!this.hasOwnProperty(„lc“)){Eb.push(this.prototype);var g=this.gb;this.lc=g?Object.keys(g).map(function(h){return f.prototype._addPropertyToAttributeMap(h)}):[]}return this.lc}},gb:{configurable:!0,enumerable:!0,get:function(){if(!this.hasOwnProperty(„dg“)){var f=c(this);this.dg=Object.assign({},f&&f.gb,d(this))}return this.dg}}});return b});var Gb={},Hb=/-[a-z]/g,Ib=/([A-Z])/g;function Jb(a){return Gb[a]||(Gb[a]=0>a.indexOf(„-„)?a:a.replace(Hb,function(b){return b[1].toUpperCase()}))}function Kb(a){return Gb[a]||(Gb[a]=a.replace(Ib,“-$1″).toLowerCase())};for(var Lb={},Mb=HTMLElement.prototype;Mb;){for(var Nb=Object.getOwnPropertyNames(Mb),Ob=0;Ob>1,r=k.get(h[q].sc)-k.get(g.sc);if(0>r)l=q+1;else if(0p&&(p=n+1);h.splice(p,0,g)}}} function lc(a){var b=a.constructor.di;if(!b){b=new Map;for(var c=a.__computeEffects,d=mc(a),e=d.oj,f=d.ready,g=d.total;d=f.shift();)b.set(d,b.size),(d=c[d])&&d.forEach(function(h){h=h.info.sc;–g;0===–e[h]&&f.push(h)});0!==g&&console.warn(„Computed graph for „+a.localName+“ incomplete; circular?“);a.constructor.di=b}return b} function mc(a){var b=a.__computeInfo,c={};a=a.__computeEffects;var d=[],e=0,f;for(f in b){var g=b[f];e+=c[f]=g.args.filter(function(k){return!k.literal}).length+(g.dynamicFn?1:0)}for(var h in a)b[h]||d.push(h);return{oj:c,ready:d,total:e}}function nc(a,b,c,d,e){b=oc(a,b,c,d,e);if(b===ac)return!1;e=e.sc;if(a.ea&&a.ea[e])return a._setPendingProperty(e,b,!0);a[e]=b;return!1} function pc(a,b,c,d,e,f,g){c.bindings=c.bindings||[];d={kind:d,target:e,parts:f,literal:g,isCompound:1!==f.length};c.bindings.push(d);d.target&&“attribute“!=d.kind&&“text“!=d.kind&&!d.isCompound&&“{„===d.parts[0].mode&&(c=d.parts[0],f=c.negate,d.listenerEvent=c.event||Kb(e)+“-changed“,d.listenerNegate=f);e=b.nodeInfoList.length;for(c=0;ck.source.length&&“property“==h.kind&&!h.isCompound&&g.vf&&g.ea&&g.ea[h.target]?(c=c[b],b=h.target+b.slice(k.source.length),g._setPendingPropertyOrPath(b,c,!1,!0)&&a._enqueueClient(g)):(b=e.vj._evaluateBinding(a,k,b,c,d,f),b!==ac&&(h.isCompound&&(c=g.__dataCompoundStorage[h.target],c[k.compoundIndex]=b,b=c.join(„“)),“attribute“===h.kind||“textContent“!==h.target&&(„value“!==h.target||“input“!==g.localName&&“textarea“!== g.localName)||(b=void 0==b?““:b),k=b,bb&&(k=bb(k,h.target,h.kind,g)),“attribute“==h.kind?a._valueToNodeAttribute(g,k,h.target):(h=h.target,g.vf&&g.ea&&g.ea[h]?g.__readOnly&&g.__readOnly[h]||g._setPendingProperty(h,k)&&a._enqueueClient(g):a._setUnmanagedPropertyToNode(g,h,k))))} function sc(a,b,c){if(c.listenerEvent){var d=c.parts[0];a.addEventListener(c.listenerEvent,function(e){var f=c.target,g=d.source,h=e.detail,k=h&&h.path;k?(g+=k.slice(f.length),e=h&&h.value):e=e.currentTarget[f];b.__readOnly&&b.__readOnly[g]||!b._setPendingPropertyOrPath(g,d.negate?!e:e,!0,!!k)||h&&h.kk||b._invalidateProperties()})}} function tc(a,b,c,d,e,f){f=b.static||f&&(„object“!==typeof f||f[b.methodName]);e={methodName:b.methodName,args:b.args,sc:e,dynamicFn:f};for(var g=0,h=void 0;g=c&&(c=“#“);switch(c){case „‚“:case ‚“‚:b.value=a.slice(1,-1);b.literal=!0;break;case „#“:b.value=Number(a),b.literal=!0}b.literal||(b.rootProperty=Wb(a),b.structured=0<=a.indexOf("."),b.structured&&(b.wildcard=".*"==a.slice(-2),b.wildcard&&(b.name=a.slice(0,-2))));return b}function zc(a,b,c){a=F(a,c);void 0===a&&(a=b[c]);return a} function Ac(a,b,c,d){d={indexSplices:d};ib&&!a.kg&&(b.sl=d);a.notifyPath(c+".splices",d);a.notifyPath(c+".length",b.length);ib&&!a.kg&&(d.indexSplices=[])}function Bc(a,b,c,d,e,f){Ac(a,b,c,[{index:d,addedCount:e,removed:f,object:b,type:"splice"}])} var Dc=D(function(a){function b(){var d=c.call(this)||this;d.vf=!0;return d}var c=Vb(Pb(a));A(b,c);b.prototype._initializeProperties=function(){c.prototype._initializeProperties.call(this);this._registerHost();this.__dataClientsReady=!1;this.__dataLinkedPaths=this.__dataToNotify=this.__dataPendingClients=null;this.__dataHasPaths=!1;this.__dataCompoundStorage=this.__dataCompoundStorage||null;this.__dataHost=this.__dataHost||null;this.__dataTemp={};this.__dataClientsInitialized=!1};b.prototype._registerHost= function(){if(Cc.length){var d=Cc[Cc.length-1];d._enqueueClient(this);this.__dataHost=d}};b.prototype._initializeProtoProperties=function(d){this.__data=Object.create(d);this.__dataPending=Object.create(d);this.__dataOld={}};b.prototype._initializeInstanceProperties=function(d){var e=this.__readOnly,f;for(f in d)e&&e[f]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[f]=this.__dataPending[f]=d[f])};b.prototype._addPropertyEffect=function(d,e,f){this._createPropertyAccessor(d, "__readOnly"==e);var g=dc(this,e,!0)[d];g||(g=this[e][d]=[]);g.push(f)};b.prototype._removePropertyEffect=function(d,e,f){d=dc(this,e,!0)[d];f=d.indexOf(f);0<=f&&d.splice(f,1)};b.prototype._hasPropertyEffect=function(d,e){e=this[e];return!(!e||!e[d])};b.prototype._hasReadOnlyEffect=function(d){return this._hasPropertyEffect(d,"__readOnly")};b.prototype._hasNotifyEffect=function(d){return this._hasPropertyEffect(d,"__notifyEffects")};b.prototype._hasReflectEffect=function(d){return this._hasPropertyEffect(d, "__reflectEffects")};b.prototype._hasComputedEffect=function(d){return this._hasPropertyEffect(d,"__computeEffects")};b.prototype._setPendingPropertyOrPath=function(d,e,f,g){if(g||Wb(Array.isArray(d)?d[0]:d)!==d){if(!g&&(g=F(this,d),d=Zb(this,d,e),!d||!c.prototype._shouldPropertyChange.call(this,d,e,g)))return!1;this.__dataHasPaths=!0;if(this._setPendingProperty(d,e,f)){if(f=this.__dataLinkedPaths)for(var h in f)g=f[h],0===d.indexOf(h+".")?(g+=d.slice(h.length),this._setPendingPropertyOrPath(g,e, !0,!0)):0===d.indexOf(g+".")&&(g=h+d.slice(g.length),this._setPendingPropertyOrPath(g,e,!0,!0));return!0}}else{if(this.ea&&this.ea[d])return this._setPendingProperty(d,e,f);this[d]=e}return!1};b.prototype._setUnmanagedPropertyToNode=function(d,e,f){if(f!==d[e]||"object"==typeof f)"className"===e&&(d=E(d)),d[e]=f};b.prototype._setPendingProperty=function(d,e,f){var g=this.__dataHasPaths&&0<=d.indexOf(".");if(this._shouldPropertyChange(d,e,(g?this.__dataTemp:this.__data)[d])){this.__dataPending||(this.__dataPending= {},this.__dataOld={});d in this.__dataOld||(this.__dataOld[d]=this.__data[d]);g?this.__dataTemp[d]=e:this.__data[d]=e;this.__dataPending[d]=e;if(g||this.__notifyEffects&&this.__notifyEffects[d])this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[d]=f;return!0}return!1};b.prototype._setProperty=function(d,e){this._setPendingProperty(d,e,!0)&&this._invalidateProperties()};b.prototype._invalidateProperties=function(){this.ad&&this._flushProperties()};b.prototype._enqueueClient=function(d){this.__dataPendingClients= this.__dataPendingClients||[];d!==this&&this.__dataPendingClients.push(d)};b.prototype._flushClients=function(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.ad=!0)};b.prototype.__enableOrFlushClients=function(){var d=this.__dataPendingClients;if(d){this.__dataPendingClients=null;for(var e=0;ee?e=l.length-Math.floor(-e):e&&(e=Math.floor(e));var n=2===arguments.length?l.splice(e):l.splice.apply(l,[e,f].concat(ca(h)));(h.length||n.length)&&Bc(this,l,k.path,e,h.length,n);return n}; b.prototype.shift=function(d){var e={path:““};d=F(this,d,e);var f=!!d.length,g=d.shift();f&&Bc(this,d,e.path,0,0,[g]);return g};b.prototype.unshift=function(d,e){for(var f=[],g=1;gg&&f.push({literal:d.slice(g,h.index)});g=h[1][0];var k=!!h[2];h=h[3].trim();var l=!1,n=““,p=-1;“{„==g&&0<(p=h.indexOf("::"))&&(n=h.substring(p+2),h=h.substring(0,p),l=!0);p=xc(h);var q=[];if(p){var r=p,v=r.args;r=r.methodName;for(var w=0;wd.indexOf(„.“)&&d==e&&this.__deselectChangedIdx(e))};b.prototype.__applySplices=function(d){for(var e= this,f=this.ra,g={},h=0;h=p.wa.index+p.wa.removed.length?f.set(r,q+p.wa.addedCount-p.wa.removed.length):f.set(r,-1))}}(g));for(var k=0;kp?(e.multi?e.splice(„selected“,n,1):e.selected=e.selectedItem=null,f.delete(q)):n++})};b.prototype.__updateLinks=function(){var d= this;this.__dataLinkedPaths={};if(this.multi){var e=0;this.ra.forEach(function(f){0<=f&&d.linkPaths("items."+f,"selected."+e++)})}else this.ra.forEach(function(f){d.linkPaths("selected","items."+f);d.linkPaths("selectedItem","items."+f)})};b.prototype.clearSelection=function(){this.__dataLinkedPaths={};this.ra=new Map;this.selected=this.multi?[]:null;this.selectedItem=null};b.prototype.isSelected=function(d){return this.ra.has(d)};b.prototype.isIndexSelected=function(d){return this.isSelected(this.items[d])}; b.prototype.__deselectChangedIdx=function(d){var e=this,f=this.__selectedIndexForItemIndex(d);if(0<=f){var g=0;this.ra.forEach(function(h,k){f==g++&&e.deselect(k)})}};b.prototype.__selectedIndexForItemIndex=function(d){if(d=this.__dataLinkedPaths["items."+d])return parseInt(d.slice(9),10)};b.prototype.deselect=function(d){var e=this.ra.get(d);if(0<=e){this.ra.delete(d);var f;this.multi&&(f=this.__selectedIndexForItemIndex(e));this.__updateLinks();this.multi?this.splice("selected",f,1):this.selected= this.selectedItem=null}};b.prototype.deselectIndex=function(d){this.deselect(this.items[d])};b.prototype.select=function(d){this.selectIndex(this.items.indexOf(d))};b.prototype.selectIndex=function(d){var e=this.items[d];this.isSelected(e)?this.toggle&&this.deselectIndex(d):(this.multi||this.ra.clear(),this.ra.set(e,d),this.__updateLinks(),this.multi?this.push("selected",e):this.selected=this.selectedItem=e)};x.Object.defineProperties(b,{properties:{configurable:!0,enumerable:!0,get:function(){return{items:{type:Array}, multi:{type:Boolean,value:!1},selected:{type:Object,notify:!0},selectedItem:{type:Object,notify:!0},toggle:{type:Boolean,value:!1}}}},observers:{configurable:!0,enumerable:!0,get:function(){return["__updateSelection(multi, items.*)"]}}});return b})(I);function Pc(){return Oc.apply(this,arguments)||this}A(Pc,Oc);x.Object.defineProperties(Pc,{is:{configurable:!0,enumerable:!0,get:function(){return"array-selector"}},template:{configurable:!0,enumerable:!0,get:function(){return null}}}); customElements.define(Pc.is,Pc);var Qc=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,Rc=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Sc=/@media\s(.*)/;function Tc(a,b){for(var c in b)null===c?a.style.removeProperty(c):a.style.setProperty(c,b[c])}function Uc(a,b){return(a=window.getComputedStyle(a).getPropertyValue(b))?a.trim():""};var Vc=null,Wc=window.HTMLImports&&window.HTMLImports.whenReady||null,Xc;function Yc(a){requestAnimationFrame(function(){Wc?Wc(a):(Vc||(Vc=new Promise(function(b){Xc=b}),"complete"===document.readyState?Xc():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&Xc()})),Vc.then(function(){a&&a()}))})};var Zc=null,$c=null;function K(){this.customStyles=[];this.enqueued=!1;Yc(function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}function ad(a){!a.enqueued&&$c&&(a.enqueued=!0,Yc($c))}K.prototype.ug=function(a){a.__seenByShadyCSS||(a.__seenByShadyCSS=!0,this.customStyles.push(a),ad(this))};K.prototype.f=function(a){if(a.__shadyCSSCachedStyle)return a.__shadyCSSCachedStyle;var b;a.getStyle?b=a.getStyle():b=a;return b}; K.prototype.c=function(){for(var a=this.customStyles,b=0;b=b.left&&c<=b.right&&a>=b.top&&a<=b.bottom)}return!1}var Bd=null,Fd=null,Gd=0,Hd=0,Id=-1,Jd=!1;function Kd(a,b,c){a.movefn=b;a.yd=c;document.addEventListener("mousemove",b);document.addEventListener("mouseup",c)} function Ld(a){document.removeEventListener("mousemove",a.movefn);document.removeEventListener("mouseup",a.yd);a.movefn=null;a.yd=null}document.addEventListener("touchend",function(a){Fd||Cd(!0);Bd=Ad(a)[0];Fd=nd(Fd,yb(2500),function(){Cd();Fd=Bd=null})},td?{passive:!0}:!1);var Ad=window.ShadyDOM&&window.ShadyDOM.rl?window.ShadyDOM.composedPath:function(a){return a.composedPath&&a.composedPath()||[]},Md={},Nd=[]; function _findOriginalTarget$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a){var b=Ad(a);return 0e:“pan-y“===c&&(d=e>b));d?a.preventDefault():Od(„track“)}} function Pd(a,b,c){return Md[b]?(_add$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a,b,c),!0):!1} function _add$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(a,b,c){var d=Md[b],e=d.deps,f=d.name,g=a.__polymerGestures;g||(a.__polymerGestures=g={});for(var h=0,k,l;h=d&&25>=e||Ed(b))||a.prevent||_fire$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(f,“tap“,{x:b.clientX,y:b.clientY,xd:b,kh:c})};var Wd=D(function(a){function b(){return a.apply(this,arguments)||this}A(b,a);b.prototype._addEventListenerToNode=function(c,d,e){Pd(c,d,e)||a.prototype._addEventListenerToNode.call(this,c,d,e)};b.prototype._removeEventListenerFromNode=function(c,d,e){if(Md[d]){_remove$$module$third_party$javascript$polymer$v2$polymer$lib$utils$gestures(c,d,e);var f=!0}else f=!1;f||a.prototype._removeEventListenerFromNode.call(this,c,d,e)};return b});function Xd(a,b,c,d,e){var f;e&&(f=“object“===typeof c&&null!==c)&&(d=a.__dataTemp[b]);d=d!==c&&(d===d||c===c);f&&d&&(a.__dataTemp[b]=c);return d} var Yd=D(function(a){function b(){return a.apply(this,arguments)||this}A(b,a);b.prototype._shouldPropertyChange=function(c,d,e){return Xd(this,c,d,e,!0)};return b}),Zd=D(function(a){function b(){return a.apply(this,arguments)||this}A(b,a);b.prototype._shouldPropertyChange=function(c,d,e){return Xd(this,c,d,e,this.mutableData)};x.Object.defineProperties(b,{properties:{configurable:!0,enumerable:!0,get:function(){return{mutableData:Boolean}}}});return b});Yd.ml=Xd;var $d=!1;function ae(){if(fb&&!Wa){if(!$d){$d=!0;var a=document.createElement(„style“);a.textContent=“dom-bind,dom-if,dom-repeat{display:none;}“;document.head.appendChild(a)}return!0}return!1};var be=Wd(Zd(Dc(HTMLElement)));function ce(){var a=be.call(this)||this;if(db)throw Error(„strictTemplatePolicy: dom-bind not allowed“);a.root=null;a.$=null;a.ib=null;return a}A(ce,be);m=ce.prototype;m.attributeChangedCallback=function(){this.mutableData=!0};m.connectedCallback=function(){ae()||(this.style.display=“none“);this.render()};m.disconnectedCallback=function(){this.__removeChildren()};m.__insertChildren=function(){E(E(this).parentNode).insertBefore(this.root,this)}; m.__removeChildren=function(){if(this.ib)for(var a=0;a child“);});c.observe(this,{childList:!0});return}this.root=this._stampTemplate(b);this.$=this.root.$;this.ib=[];for(var d=this.root.firstChild;d;d=d.nextSibling)this.ib[this.ib.length]=d;this._enableProperties()}this.__insertChildren();this.dispatchEvent(new CustomEvent(„dom-change“, {bubbles:!0,composed:!0}))};x.Object.defineProperties(ce,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return[„mutable-data“]}}});customElements.define(„dom-bind“,ce);function de(){do{var a=window.ShadyDOM&&ShadyDOM.flush();window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush();var b=od()}while(a||b)};var ee=null;function fe(){return ee}fe.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:fe,writable:!0}});var ge=Dc(fe),he=Yd(ge);function ie(a,b){ee=a;Object.setPrototypeOf(a,b.prototype);new b;ee=null}var je=Dc(function(){}); function ke(a,b){for(var c=0;c can only be templatized once“);a.xb=b;var e=(b?b.constructor:le)._parseTemplate(a),f=e.qk;f||(f=oe(a,e,c),e.qk=f);var g=ne(a);re(a,e,c,g);A(d,f);d.prototype.cc=g;d.prototype.__dataHost=a;d.prototype.xb=b;d.prototype.ci=e.hostProps;return d} function te(a,b,c){c=c.constructor.gb;a=a.propertyEffects;b=b.instanceProps;for(var d in a)if(!(c[d]||b&&b[d]))for(var e=a[d],f=0;f child“);});c.observe(this,{childList:!0});return!1}this.jd=b}return!0}; m.__ensureInstance=function(){var a=E(this).parentNode;if(this.__hasInstance()){var b=this.__getInstanceNodes();if(b&&b.length&&E(this).previousSibling!==b[b.length-1])for(var c=0,d=void 0;c child“);});c.observe(this,{childList:!0});return!1}var d={};d[this.as]=!0;d[this.indexAs]=!0;d[this.itemsIndexAs]=!0;this.jb=pe(b,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:d,forwardHostProp:function(e, f){for(var g=this.fa,h=0,k=void 0;h=e;a–)this.__detachAndRemoveInstance(a)};m.__detachInstance=function(a){a=this.fa[a];for(var b=E(a.root),c=0;cd?c:c.substring(0,d);if(a==parseInt(a,10)){c=0>d?““:c.substring(d+1);this.__handleObservedPaths(c);if(a=this.fa[this.wf[a]])a._setPendingPropertyOrPath(this.as+(c?“.“+c:““),b,!1,!0),a._flushProperties();return!0}};m.itemForElement=function(a){return(a=this.modelForElement(a))&&a[this.as]};m.indexForElement=function(a){return(a=this.modelForElement(a))&&a[this.indexAs]}; m.modelForElement=function(a){a:{var b=this.template;for(var c;a;)if(c=a.__dataHost?a:a.hi)if(c.__dataHost!=b)a=c.__dataHost;else{b=c;break a}else a=E(a).parentNode;b=null}return b}; x.Object.defineProperties(Be,{is:{configurable:!0,enumerable:!0,get:function(){return“dom-repeat“}},template:{configurable:!0,enumerable:!0,get:function(){return null}},properties:{configurable:!0,enumerable:!0,get:function(){return{items:{type:Array},as:{type:String,value:“item“},indexAs:{type:String,value:“index“},itemsIndexAs:{type:String,value:“itemsIndex“},sort:{type:Function,observer:Be.prototype.__sortChanged},filter:{type:Function,observer:Be.prototype.__filterChanged},observe:{type:String, observer:Be.prototype.__observeChanged},delay:Number,renderedItemCount:{type:Number,notify:!mb,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:“__computeFrameTime(targetFramerate)“},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}},observers:{configurable:!0,enumerable:!0,get:function(){return[„__itemsChanged(items.*)“]}}});Be.prototype._setRenderedItemCount=function(){};customElements.define(Be.is,Be);function Ce(a){return“slot“===a.localName}function De(a,b){var c=this;this.f=this.h=null;this.j=!1;this.c=a;this.ca=b;this.aa=[];this.ia=null;this.l=!1;this.v=function(){c.og()};this.connect();this.og()}function Ee(a){var b=E(a);return Ce(a)?b.assignedNodes({flatten:!0}):Array.from(b.childNodes).map(function(c){return Ce(c)?E(c).assignedNodes({flatten:!0}):[c]}).reduce(function(c,d){return c.concat(d)},[])}m=De.prototype; m.connect=function(){var a=this;Ce(this.c)?this.we([this.c]):E(this.c).children&&(this.we(E(this.c).children),window.ShadyDOM?this.h=window.ShadyDOM.observeChildren(this.c,function(b){a.ng(b)}):(this.f=new MutationObserver(function(b){a.ng(b)}),this.f.observe(this.c,{childList:!0})));this.j=!0}; m.disconnect=function(){Ce(this.c)?this.bf([this.c]):E(this.c).children&&(this.bf(E(this.c).children),window.ShadyDOM&&this.h?(window.ShadyDOM.unobserveChildren(this.h),this.h=null):this.f&&(this.f.disconnect(),this.f=null));this.j=!1};m.og=function(){var a=this;this.l||(this.l=!0,Ab.run(function(){return a.flush()}))};m.ng=function(a){this.xe(a);this.flush()};m.xe=function(a){if(a)for(var b=0;b *“)};function Lf(a,b,c){b=b.replace(Qc,function(d,e,f,g){return a.ej(d,e,f,g,c)});return a.hg(b,c)}m.pi=function(a){this.f||(this.f=document.createElement(„meta“),this.f.setAttribute(„apply-shim-measure“,““),this.f.style.all=“initial“,document.head.appendChild(this.f));return window.getComputedStyle(this.f).getPropertyValue(a)}; m.ni=function(a){for(var b=this,c=a;c.parent;)c=c.parent;var d={},e=!1;Df(c,function(f){(e=e||f===a)||f.selector===a.selector&&Object.assign(d,b.ue(f.parsedCssText))});return d};m.hg=function(a,b){for(var c;c=Rc.exec(a);){var d=c[0],e=c[1];c=c.index;var f=c+d.indexOf(„@apply“);f=a.slice(0,f);a=a.slice(c+d.length);d=b?this.ni(b):{};Object.assign(d,this.ue(f));e=this.ii(e,d);a=f+e+a;Rc.lastIndex=c+e.length}return a}; m.ii=function(a,b){a=a.replace(Gf,““);var c=[],d=this.c.get(a);d||(this.c.set(a,{}),d=this.c.get(a));if(d){this.h&&(d.zg[this.h]=!0);var e,f=d.properties;for(e in f){var g=b&&b[e];d=[e,“: var(„,a,“_-_“,e];g&&d.push(„,“,g.replace(If,““));d.push(„)“);If.test(f[e])&&d.push(“ !important“);c.push(d.join(„“))}}return c.join(„; „)};m.gj=function(a,b){var c=Hf.exec(b);c&&(b=c[1]?this.pi(a):“apply-shim-inherit“);return b}; m.ue=function(a,b){b=void 0===b?!1:b;a=a.split(„;“);for(var c,d,e={},f=0;ff?Ab.cancel(~f):window.clearTimeout(f)};b.prototype.create=function(f,g){f=document.createElement(f);if(g)if(f.setProperties)f.setProperties(g);else for(var h in g)f[h]=g[h];return f};b.prototype.elementMatches=function(f,g){return Ge.call(g||this,f)};b.prototype.toggleAttribute=function(f,g){var h=this;3===arguments.length&&(h=arguments[2]);1==arguments.length&& (g=!h.hasAttribute(f));if(g)return E(h).setAttribute(f,““),!0;E(h).removeAttribute(f);return!1};b.prototype.toggleClass=function(f,g,h){h=h||this;1==arguments.length&&(g=!h.classList.contains(f));g?h.classList.add(f):h.classList.remove(f)};b.prototype.transform=function(f,g){g=g||this;g.style.webkitTransform=f;g.style.transform=f};b.prototype.translate3d=function(f,g,h,k){this.transform(„translate3d(„+f+“,“+g+“,“+h+“)“,k||this)};b.prototype.arrayDelete=function(f,g){if(Array.isArray(f)){if(g=f.indexOf(g), 0<=g)return f.splice(g,1)}else if(g=F(this,f).indexOf(g),0<=g)return this.splice(f,g,1);return null};b.prototype._logger=function(f,g){Array.isArray(g)&&1===g.length&&Array.isArray(g[0])&&(g=g[0]);switch(f){case "log":case "warn":case "error":console[f].apply(console,ca(g))}};b.prototype._log=function(f){for(var g=[],h=0;hb.indexOf(e)&&(!c||0>c.indexOf(e))&&b.unshift(e):console.warn(„behavior is null, check for missing or 404 import“)}return b}function Yf(a,b){for(var c in b){var d=a[c],e=b[c];a[c]=!(„value“in e)&&d&&“value“in d?Object.assign({value:d.value},e):e}}var Zf=Sf(HTMLElement); function $f(a,b,c){function d(k){if(h)for(var l=h,n=0;nMath.abs(b)?a:b,a=this._sanitizeNumericValue(),b=this._sanitizeNumericValue()+this.ze*b,this._maybeChangeValue(b),a!=this._inputElement.value&&this._inputElement.dispatchEvent(new Event(„changing“,{bubbles:!0,composed:!0}))):“end“==b.state&&this.c!=this._inputElement.value&&(this._inputElement.dispatchEvent(new Event(„change“)),document.activeElement.blur()))},_maybeChangeValue:function(a){if(!this._inputElement.disabled){var b= this._inputElement.value;a=parseFloat(a);var c=parseFloat(this._inputElement.getAttribute(„max“)),d=parseFloat(this._inputElement.getAttribute(„min“));ac&&(a=c);a=parseFloat(a.toFixed(this.decimalDigits)).toString();this._inputElement.value==a||isNaN(a)||(this._inputElement.value=a,this._inputElement.checkValidity()?this._inputElement.dispatchEvent(new Event(„input“)):this._inputElement.value=b)}},_sanitizeNumericValue:function(){var a=parseFloat(this._inputElement.value);isNaN(a)&&(„undefined“!= typeof this.resetValue?a=this.resetValue:(a=parseFloat(this._inputElement.getAttribute(„min“)),isNaN(a)&&(a=0)),this._inputElement.value=a.toString());return a},_increase:function(a){this.handleStep(a,this.ze)},_decrease:function(a){this.handleStep(a,-this.ze)},handleStep:function(a,b){b=a.detail.shiftKey?b*this.shiftStepFactor:b;b=this._sanitizeNumericValue()+b;var c=this._sanitizeNumericValue();this._maybeChangeValue(b);c!=this._inputElement.value&&this._inputElement.dispatchEvent(new Event(„change“)); a.detail.hc.preventDefault()},_blurInput:function(){this._inputElement.blur()}});var O={},ag=new Map([[„pixel2xl“,{name:“Pixel 1/1XL/2/2XL“,width:412,height:732}],[„pixel3″,{name:“Pixel 3“,width:412,height:824}],[„pixel3xl“,{name:“Pixel 3 XL“,width:412,height:847}],[„nexus5″,{name:“Nexus 5“,width:360,height:640}],[„nexus6p“,{name:“Nexus 5x/6/6P“,width:412,height:732}],[„iphone5″,{name:“iPhone 5“,width:320,height:568}],[„iphone8″,{name:“iPhone 6/6S/7/8“,width:375,height:667}],[„iphone8plus“,{name:“iPhone 6/6S/7/8 Plus“,width:414,height:736}],[„iphonexs“,{name:“iPhone X/XS“,width:375, height:812}],[„iphonexr“,{name:“iPhone XS Max/XR“,width:414,height:896}],[„nexus7″,{name:“Nexus 7 (’13)“,width:960,height:600}],[„nexus10″,{name:“Nexus 10“,width:1280,height:800}],[„ipad“,{name:“iPad“,width:1024,height:768}]]);O.yk=new Map([[„allfeeds“,[„size“,“feeds“]],[„allsizes“,[„sizes“,“feed“]],[„desktop“,[„feed“]],[„mobile“,[„device“,“feed“]],[„parallax“,[„size“,“device“,“feed“]],[„single“,[„size“,“feed“]]]);O.ae=ag;O.zk=function(){}; O.eb={ALL_FEEDS:“allfeeds“,ALL_SIZES:“allsizes“,DESKTOP:“desktop“,MOBILE:“mobile“,PARALLAX:“parallax“,SINGLE:“single“};O.al=function(){};O.el=function(){};O.fl=void 0;O.xh={DEVICE:“device“,DEVICE_SIZE:“deviceSize“,FEED:“feed“,FEEDS:“feeds“,SIZE:“size“,SIZES:“sizes“};var bg=[„ninja“,“preview“,“publicConstants“],P=sa;bg[0]in P||“undefined“==typeof P.execScript||P.execScript(„var „+bg[0]); for(var cg;bg.length&&(cg=bg.shift());)bg.length||void 0===O?P[cg]&&P[cg]!==Object.prototype[cg]?P=P[cg]:P=P[cg]={}:P[cg]=O;function dg(a){if(Error.captureStackTrace)Error.captureStackTrace(this,dg);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}wa(dg,Error);dg.prototype.name=“CustomError“;function eg(a,b){a=a.split(„%s“);for(var c=““,d=a.length-1,e=0;ea.length?“&“:““)+encodeURIComponent(d)+“=“+encodeURIComponent(String(g)))}}return b};var wg={sk:{1E3:{other:“0K“},1E4:{other:“00K“},1E5:{other:“000K“},1E6:{other:“0M“},1E7:{other:“00M“},1E8:{other:“000M“},1E9:{other:“0B“},1E10:{other:“00B“},1E11:{other:“000B“},1E12:{other:“0T“},1E13:{other:“00T“},1E14:{other:“000T“}},rk:{1E3:{other:“0 thousand“},1E4:{other:“00 thousand“},1E5:{other:“000 thousand“},1E6:{other:“0 million“},1E7:{other:“00 million“},1E8:{other:“000 million“},1E9:{other:“0 billion“},1E10:{other:“00 billion“},1E11:{other:“000 billion“},1E12:{other:“0 trillion“},1E13:{other:“00 trillion“}, 1E14:{other:“000 trillion“}}},xg=wg;xg=wg;var yg={AED:[2,“dh“,“\u062f.\u0625.“],ALL:[0,“Lek“,“Lek“],AUD:[2,“$“,“AU$“],BDT:[2,“\u09f3″,“Tk“],BGN:[2,“lev“,“lev“],BRL:[2,“R$“,“R$“],CAD:[2,“$“,“C$“],CDF:[2,“FrCD“,“CDF“],CHF:[2,“CHF“,“CHF“],CLP:[0,“$“,“CL$“],CNY:[2,“\u00a5″,“RMB\u00a5″],COP:[32,“$“,“COL$“],CRC:[0,“\u20a1″,“CR\u20a1″],CZK:[50,“K\u010d“,“K\u010d“],DKK:[50,“kr.“,“kr.“],DOP:[2,“RD$“,“RD$“],EGP:[2,“\u00a3″,“LE“],ETB:[2,“Birr“,“Birr“],EUR:[2,“\u20ac“,“\u20ac“],GBP:[2,“\u00a3″,“GB\u00a3″],HKD:[2,“$“,“HK$“],HRK:[2,“kn“,“kn“],HUF:[34, „Ft“,“Ft“],IDR:[0,“Rp“,“Rp“],ILS:[34,“\u20aa“,“IL\u20aa“],INR:[2,“\u20b9″,“Rs“],IRR:[0,“Rial“,“IRR“],ISK:[0,“kr“,“kr“],JMD:[2,“$“,“JA$“],JPY:[0,“\u00a5″,“JP\u00a5″],KRW:[0,“\u20a9″,“KR\u20a9″],LKR:[2,“Rs“,“SLRs“],LTL:[2,“Lt“,“Lt“],MNT:[0,“\u20ae“,“MN\u20ae“],MVR:[2,“Rf“,“MVR“],MXN:[2,“$“,“Mex$“],MYR:[2,“RM“,“RM“],NOK:[50,“kr“,“NOkr“],PAB:[2,“B/.“,“B/.“],PEN:[2,“S/.“,“S/.“],PHP:[2,“\u20b1″,“PHP“],PKR:[0,“Rs“,“PKRs.“],PLN:[50,“z\u0142″,“z\u0142″],RON:[2,“RON“,“RON“],RSD:[0,“din“,“RSD“],RUB:[50,“\u20bd“, „RUB“],SAR:[2,“Rial“,“Rial“],SEK:[50,“kr“,“kr“],SGD:[2,“$“,“S$“],THB:[2,“\u0e3f“,“THB“],TRY:[2,“\u20ba“,“TRY“],TWD:[2,“$“,“NT$“],TZS:[0,“TSh“,“TSh“],UAH:[2,“\u0433\u0440\u043d.“,“UAH“],USD:[2,“$“,“US$“],UYU:[2,“$“,“$U“],VND:[48,“\u20ab“,“VN\u20ab“],YER:[0,“Rial“,“Rial“],ZAR:[2,“R“,“ZAR“]};var zg={mf:“.“,be:“,“,sf:“%“,ee:“0″,vh:“+“,qf:“-„,pf:“E“,tf:“\u2030″,ce:“\u221e“,uh:“NaN“,sh:“#,##0.###“,cl:“#E0″,xk:“#,##0%“,uk:“\u00a4#,##0.00″,nf:“USD“},Q=zg;Q=zg;var Ag=/&/g,Bg=//g,Dg=/“/g,Eg=/’/g,Fg=/\x00/g,Gg=/[\x00&<>„‚]/;function S(a,b){this.f=b===Hg?a:““}S.prototype.nb=!0;S.prototype.c=function(){return this.f.toString()};function Ig(a){return a instanceof S&&a.constructor===S?a.f:“type_error:SafeUrl“}var Jg=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|“[\w;,= ]+“))*$/i,Kg=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,Lg=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i; function Mg(a){if(a instanceof S)return a;a=“object“==typeof a&&a.nb?a.c():String(a);if(Lg.test(a))a=new S(a,Hg);else{a=String(a);a=a.replace(/(%0A|%0D)/g,““);var b=a.match(Kg);a=b&&Jg.test(b[1])?new S(a,Hg):null}return a}var Hg={},Ng=new S(„about:invalid#zClosurez“,Hg);function Og(a,b){this.f=b===Pg?a:““}Og.prototype.nb=!0;Og.prototype.c=function(){return this.f};var Pg={},Qg=new Og(„“,Pg);function Rg(a){var b=““,c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error(„Name allows only [-_a-zA-Z0-9], got: „+c);var d=a[c];null!=d&&(d=Array.isArray(d)?fg(d,Sg).join(“ „):Sg(d),b+=c+“:“+d+“;“)}return b?new Og(b,Pg):Qg} function Sg(a){if(a instanceof S)return’url(„‚+Ig(a).replace(/d&&h++;break;case „0“:if(0d&&h++;break;case „,“:0e+f||1>this.ta)throw Error(‚Malformed exponential pattern „‚+a+'“‚);l=!1;break;default:b[0]–,l=!1}0==f&&0d&&0e+f)||0==h)throw Error(‚Malformed pattern „‚+ a+'“‚);g=e+f+g;this.h=0<=d?g-d:0;0<=d&&(this.v=e+f-d,0>this.v&&(this.v=0));this.f=(0<=d?d:g)-e;this.ab&&(this.la=e+this.f,0==this.h&&0==this.f&&(this.f=1));this.l.push(Math.max(0,h));this.ec=0==d||d==g;c=b[0]-c;this.ma=eh(this,a,b);b[0]this.j.length?d=!1:this.ca.length=w)r+= w,h=!0;else if(v==n.charAt(0)){if(f||g)break;r+=“.“;f=!0}else if(v==p.charAt(0)&&(„\u00a0“!=p.charAt(0)||b[0]+1a||0==a&&0>1/a;d?c.ih?b.push(c.ih):(b.push(c.prefix),b.push(this.j)):(b.push(c.prefix),b.push(this.ca));if(isFinite(a))if(a=a*(d?-1:1)*this.c,this.ab)if(0==a)hh(this,a,this.f,b),ih(this,0,b);else{var e=Math.floor(Math.log(a)/Math.log(10)+2E-15);a=T(a,-e);var f=this.f;1this.f?(f=e%this.la,0>f&&(f=this.la+f),a=T(a,f),e-=f,f=1):1>this.f?(e++,a=T(a,-1)):(e-=this.f-1,a=T(a,this.f-1));hh(this, a,f,b);ih(this,e,b)}else hh(this,a,this.f,b);else b.push(Q.ce);d?c.jh?b.push(c.jh):(b.push(c.oh),b.push(this.ka)):(b.push(c.oh),b.push(this.ma));return b.join(„“)}; function hh(a,b,c,d){if(a.v>a.h)throw Error(„Min value must be less than max value“);d||(d=[]);var e=T(b,a.h);e=Math.round(e);if(isFinite(e)){b=Math.floor(T(e,-a.h));var f=Math.floor(e-T(b,a.h))}else f=0;e=b;b=f;var g=e;f=b;var h=0l?h&&isFinite(h)?T(Math.round(T(h,-1)),1):h:h&&isFinite(h)?T(Math.round(T(h,l)),-l):h}h=String(h);h=h.replace(„.“,““);h+=bh(„0“,parseInt(f[1],10)-h.length+1)}a.h+1>h.length&&(h=“1″+bh(„0“,a.h-h.length)+h);for(a=h.length;“0″==h.charAt(a-1)&&a>e+1;)a–;for(g=1;gb?(b=-b,c.push(Q.qf)):a.ud&&c.push(Q.vh);b=““+b;for(var d=Q.ee,e=b.length;ea)return a-48;var b=Q.ee.charCodeAt(0);return b<=a&&a\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ‚]); function Kh(){return I.apply(this,arguments)||this}A(Kh,I);x.Object.defineProperties(Kh,{is:{configurable:!0,enumerable:!0,get:function(){return“tf-creative-preview-gwd-logo“}},template:{configurable:!0,enumerable:!0,get:function(){return G(Jh)}}});customElements.define(Kh.is,Kh);var Lh,Mh; if(void 0===Lh){var Nh=document.createElement(„template“);Nh.innerHTML=‘\n\n\n\n
\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n
\n‘;Lh= Nh}Mh=Lh;var Oh,Ph; if(void 0===Oh){var Qh=document.createElement(„template“);Qh.innerHTML=‘\n\n
\n \n
\n \n \n
\n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n
\n‘;Oh= Qh}Ph=Oh;/* Copyright (c) 2018 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ var Rh; function Sh(){if(void 0!==Rh)return Rh;var a=document.createElement(„template“);a.innerHTML=“„;return Rh= a}Sh();var Th,Uh; if(void 0===Th){var Vh=document.createElement(„template“);Vh.innerHTML=‘\n\n\n \n \n \n \n \n
\n [[getMsg_(\’SELECT_ALL\‘)]]\n [[getMsg_(\’SELECT_NONE\‘)]]\n
\n
\n‘;Vh.content.insertBefore(Sh().content.cloneNode(!0), Vh.content.firstChild);Th=Vh}Uh=Th;/* Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ var Wh={properties:{name:{type:String},value:{notify:!0,type:String},required:{type:Boolean,value:!1}},attached:function(){},detached:function(){}};function Xh(a){Xh[“ „](a);this.type=a&&a.type||“default“;this.key=a&&a.key;a&&“value“in a&&(this.value=a.value)}Xh.prototype.byKey=function(a){this.key=a;return this.value}; x.Object.defineProperties(Xh.prototype,{value:{configurable:!0,enumerable:!0,get:function(){var a=this.type,b=this.key;if(a&&b)return Yh[a]&&Yh[a][b]},set:function(a){var b=this.type,c=this.key;b&&c&&(b=Yh[b]=Yh[b]||{},null==a?delete b[c]:b[c]=a)}},list:{configurable:!0,enumerable:!0,get:function(){if(!this.type)return[];var a=Yh[this.type];return a?Object.keys(a).map(function(b){return Yh[this.type][b]},this):[]}}});Xh[“ „]=function(){};var Yh={}; N({is:“iron-meta“,_template:null,properties:{type:{type:String,value:“default“},key:{type:String},value:{type:String,notify:!0},self:{type:Boolean,observer:“_selfChanged“},__meta:{type:Boolean,computed:“__computeMeta(type, key, value)“}},hostAttributes:{hidden:!0},__computeMeta:function(a,b,c){a=new Xh({type:a,key:b});void 0!==c&&c!==a.value?a.value=c:this.value!==a.value&&(this.value=a.value);return a},get list(){return this.__meta&&this.__meta.list},_selfChanged:function(a){a&&(this.value=this)}, byKey:function(a){return(new Xh({type:this.type,key:a})).value}});var Zh=null,$h={properties:{validator:{type:String},invalid:{notify:!0,reflectToAttribute:!0,type:Boolean,value:!1,observer:“_invalidChanged“}},registered:function(){Zh=new Xh({type:“validator“})},_invalidChanged:function(){this.invalid?this.setAttribute(„aria-invalid“,“true“):this.removeAttribute(„aria-invalid“)},get tg(){return Zh&&Zh.byKey(this.validator)},hasValidator:function(){return null!=this.tg},validate:function(a){this.invalid=void 0===a&&void 0!==this.value?!this._getValidity(this.value): !this._getValidity(a);return!this.invalid},_getValidity:function(a){return this.hasValidator()?this.tg.validate(a):!0}};var ai={properties:{checked:{type:Boolean,value:!1,reflectToAttribute:!0,notify:!0,observer:“_checkedChanged“},toggles:{type:Boolean,value:!0,reflectToAttribute:!0},value:{type:String,value:“on“,observer:“_valueChanged“}},observers:[„_requiredChanged(required)“],created:function(){this.kl=!0},_getValidity:function(){return this.disabled||!this.required||this.checked},_requiredChanged:function(){this.required?this.setAttribute(„aria-required“,“true“):this.removeAttribute(„aria-required“)},_checkedChanged:function(){this.active= this.checked;this.fire(„iron-change“)},_valueChanged:function(){if(void 0===this.value||null===this.value)this.value=“on“}},bi=[Wh,$h,ai];var ci={properties:{focused:{type:Boolean,value:!1,notify:!0,readOnly:!0,reflectToAttribute:!0},disabled:{type:Boolean,value:!1,notify:!0,observer:“_disabledChanged“,reflectToAttribute:!0},_oldTabIndex:{type:String},_boundFocusBlurHandler:{type:Function,value:function(){return this._focusBlurHandler.bind(this)}}},observers:[„_changedControlState(focused, disabled)“],ready:function(){this.addEventListener(„focus“,this._boundFocusBlurHandler,!0);this.addEventListener(„blur“,this._boundFocusBlurHandler, !0)},_focusBlurHandler:function(a){this._setFocused(„focus“===a.type)},_disabledChanged:function(a){this.setAttribute(„aria-disabled“,a?“true“:“false“);this.style.pointerEvents=a?“none“:““;a?(this._oldTabIndex=this.getAttribute(„tabindex“),this._setFocused(!1),this.tabIndex=-1,this.blur()):void 0!==this._oldTabIndex&&(null===this._oldTabIndex?this.removeAttribute(„tabindex“):this.setAttribute(„tabindex“,this._oldTabIndex))},_changedControlState:function(){this._controlStateChanged&&this._controlStateChanged()}};var di={properties:{pressed:{type:Boolean,readOnly:!0,value:!1,reflectToAttribute:!0,observer:“_pressedChanged“},toggles:{type:Boolean,value:!1,reflectToAttribute:!0},active:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0},pointerDown:{type:Boolean,readOnly:!0,value:!1},receivedFocusFromKeyboard:{type:Boolean,readOnly:!0},ariaActiveAttribute:{type:String,value:“aria-pressed“,observer:“_ariaActiveAttributeChanged“}},listeners:{down:“_downHandler“,mouseup:“_upHandler“,tap:“_tapHandler“},observers:[„_focusChanged(focused)“, „_activeChanged(active, ariaActiveAttribute)“],ja:{„enter:keydown“:“_asyncClick“,“space:keydown“:“_spaceKeyDownHandler“,“space:keyup“:“_spaceKeyUpHandler“},ll:/^mouse/,_tapHandler:function(){this.toggles?this._userActivate(!this.active):this.active=!1},_focusChanged:function(a){this._detectKeyboardFocus(a);a||this._setPressed(!1)},_detectKeyboardFocus:function(a){this._setReceivedFocusFromKeyboard(!this.pointerDown&&a)},_userActivate:function(a){this.active!==a&&(this.active=a,this.fire(„change“))}, _downHandler:function(){this._setPointerDown(!0);this._setPressed(!0);this._setReceivedFocusFromKeyboard(!1)},_upHandler:function(){this._setPointerDown(!1);this._setPressed(!1)},_spaceKeyDownHandler:function(a){a=a.detail.hc;var b=L(a).ff;this.isLightDescendant(b)||(a.preventDefault(),a.stopImmediatePropagation(),this._setPressed(!0))},_spaceKeyUpHandler:function(a){a=L(a.detail.hc).ff;this.isLightDescendant(a)||(this.pressed&&this._asyncClick(),this._setPressed(!1))},_asyncClick:function(){this.async(function(){this.click()}, 1)},_pressedChanged:function(){this._changedButtonState()},_ariaActiveAttributeChanged:function(a,b){b&&b!=a&&this.hasAttribute(b)&&this.removeAttribute(b)},_activeChanged:function(a){this.toggles?this.setAttribute(this.ariaActiveAttribute,a?“true“:“false“):this.removeAttribute(this.ariaActiveAttribute);this._changedButtonState()},_controlStateChanged:function(){this.disabled?this._setPressed(!1):this._changedButtonState()},_changedButtonState:function(){this._buttonStateChanged&&this._buttonStateChanged()}}, ei=[Oa,di];/* Copyright (c) 2014 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ var fi=t([‚\n \n\n
\n
\n‘]); function gi(a,b,c,d){a-=c;b-=d;return Math.sqrt(a*a+b*b)}var hi=window.performance&&window.performance.now?window.performance.now.bind(window.performance):Date.now;function ii(a){this.element=a;this.width=this.od.width;this.height=this.od.height;this.size=Math.max(this.width,this.height)}ii.prototype={get od(){return this.element.getBoundingClientRect()}}; function ji(a){this.element=a;this.color=window.getComputedStyle(a).color;this.j=document.createElement(„div“);this.f=document.createElement(„div“);this.j.style.backgroundColor=this.color;this.j.classList.add(„wave“);this.f.classList.add(„wave-container“);L(this.f).appendChild(this.j);ki(this)}function ki(a){a.ka=0;a.aa=0;a.h=0;a.l=0;a.v=0;a.ma=0;a.ta=0;a.c=new ii(a.element)} ji.prototype={get recenters(){return this.element.recenters},get center(){return this.element.center},get ud(){if(!this.aa)return 0;var a=hi()-this.aa;this.h&&(a-=this.za);return a},get za(){return this.h?hi()-this.h:0},get yj(){return this.ud/1E3},get la(){return this.za/1E3},get ak(){return this.yj+this.la},get initialOpacity(){return this.element.initialOpacity},get opacityDecayVelocity(){return this.element.opacityDecayVelocity},get ca(){var a=1.1*Math.min(Math.sqrt(this.c.width*this.c.width+ this.c.height*this.c.height),300)+5;return Math.abs(a*(1-Math.pow(80,-(this.ak/(1.1-a/300*.2)))))},get opacity(){return this.h?Math.max(0,this.initialOpacity-this.la*this.opacityDecayVelocity):this.initialOpacity},get jk(){return Math.max(0,Math.min(.3*this.la,this.opacity))},get fh(){return.01>this.opacity&&this.ca>=Math.min(this.ka,300)},get gh(){return this.opacity>=this.initialOpacity&&this.ca>=Math.min(this.ka,300)},get bk(){return this.h?this.fh:this.gh},get ab(){return Math.min(1,this.ca/this.c.size* 2/Math.sqrt(2))},get fk(){return this.ma?this.l+this.ab*(this.ma-this.l):this.l},get gk(){return this.ta?this.v+this.ab*(this.ta-this.v):this.v},get ec(){return this.aa&&!this.h},downAction:function(a){var b=this.c.width/2,c=this.c.height/2;ki(this);this.aa=hi();this.center?(this.l=b,this.v=c):(this.l=a?a.detail.x-this.c.od.left:this.c.width/2,this.v=a?a.detail.y-this.c.od.top:this.c.height/2);this.recenters&&(this.ma=b,this.ta=c);a=this.c;b=this.l;c=this.v;this.ka=Math.max(gi(b,c,0,0),gi(b,c,a.width, 0),gi(b,c,0,a.height),gi(b,c,a.width,a.height));this.f.style.top=(this.c.height-this.c.size)/2+“px“;this.f.style.left=(this.c.width-this.c.size)/2+“px“;this.f.style.width=this.c.size+“px“;this.f.style.height=this.c.size+“px“},upAction:function(){this.ec&&(this.h=hi())},remove:function(){L(L(this.f).parentNode).removeChild(this.f)}}; N({_template:G(fi),is:“paper-ripple“,behaviors:[Oa],properties:{initialOpacity:{type:Number,value:.25},opacityDecayVelocity:{type:Number,value:.8},recenters:{type:Boolean,value:!1},center:{type:Boolean,value:!1},ripples:{type:Array,value:function(){return[]}},animating:{type:Boolean,readOnly:!0,reflectToAttribute:!0,value:!1},holdDown:{type:Boolean,value:!1,observer:“_holdDownChanged“},noink:{type:Boolean,value:!1},_animating:{type:Boolean},_boundAnimate:{type:Function,value:function(){return this.animate.bind(this)}}}, get target(){return this.keyEventTarget},ja:{„enter:keydown“:“_onEnterKeydown“,“space:keydown“:“_onSpaceKeydown“,“space:keyup“:“_onSpaceKeyup“},attached:function(){11==L(this).parentNode.nodeType?this.keyEventTarget=L(this).getOwnerRoot().host:this.keyEventTarget=L(this).parentNode;var a=this.keyEventTarget;this.listen(a,“up“,“uiUpAction“);this.listen(a,“down“,“uiDownAction“)},detached:function(){this.unlisten(this.keyEventTarget,“up“,“uiUpAction“);this.unlisten(this.keyEventTarget,“down“,“uiDownAction“); this.keyEventTarget=null},get mk(){for(var a=0;ab||(this.ripples.splice(b,1),a.remove(),this.ripples.length||this._setAnimating(!1))}, animate:function(){if(this._animating){var a;for(a=0;a\n„; document.head.appendChild(Mi.content);var Ni=t([„\n \n\n [[_charCounterStr]]\n“]); N({_template:G(Ni),is:“paper-input-char-counter“,behaviors:[Hi],properties:{_charCounterStr:{type:String,value:“0″}},update:function(a){if(a.o){a.value=a.value||““;var b=a.value.toString().length.toString();a.o.hasAttribute(„maxlength“)&&(b+=“/“+a.o.getAttribute(„maxlength“));this._charCounterStr=b}}});var Oi=t([‚\n\n \n\n‘]), Pi=t([‚\n \n\n \n\n
\n \n\n
\n \n \n
\n\n \n
\n\n
\n
\n
\n
\n\n
\n \n
\n‘]), Qi=G(Oi);Qi.setAttribute(„style“,“display: none;“);document.head.appendChild(Qi.content); N({_template:G(Pi),is:“paper-input-container“,properties:{noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},attrForValue:{type:String,value:“bind-value“},autoValidate:{type:Boolean,value:!1},invalid:{observer:“_invalidChanged“,type:Boolean,value:!1},focused:{readOnly:!0,type:Boolean,value:!1,notify:!0},noUnfloatedLabelError:{type:Boolean,value:!1},_addons:{type:Array},_inputHasContent:{type:Boolean,value:!1},_inputSelector:{type:String,value:“input,iron-input,textarea,.paper-input-input“}, _boundOnFocus:{type:Function,value:function(){return this._onFocus.bind(this)}},_boundOnBlur:{type:Function,value:function(){return this._onBlur.bind(this)}},_boundOnInput:{type:Function,value:function(){return this._onInput.bind(this)}},_boundValueChanged:{type:Function,value:function(){return this._onValueChanged.bind(this)}}},listeners:{„addon-attached“:“_onAddonAttached“,“iron-input-validate“:“_onIronInputValidate“},get jj(){return this.attrForValue+“-changed“},get fj(){return Jb(this.attrForValue)}, get _inputElement(){return L(this).querySelector(this._inputSelector)},get md(){return this._inputElement[this.fj]||this._inputElement.value},ready:function(){this.c=!0;this._addons||(this._addons=[]);this.addEventListener(„focus“,this._boundOnFocus,!0);this.addEventListener(„blur“,this._boundOnBlur,!0)},attached:function(){this.attrForValue?this._inputElement.addEventListener(this.jj,this._boundValueChanged):this.addEventListener(„input“,this._onInput);this.md&&““!=this.md?this._handleValueAndAutoValidate(this._inputElement): this._handleValue(this._inputElement)},_onAddonAttached:function(a){this._addons||(this._addons=[]);a=a.target;-1===this._addons.indexOf(a)&&(this._addons.push(a),this.isAttached&&this._handleValue(this._inputElement))},_onFocus:function(){this._setFocused(!0)},_onBlur:function(){this._setFocused(!1);this._handleValueAndAutoValidate(this._inputElement)},_onInput:function(a){this._handleValueAndAutoValidate(a.target)},_onValueChanged:function(a){var b=a.target;if(this.c&&(this.c=!1,void 0===b.value|| „“===b.value))return;this._handleValueAndAutoValidate(a.target)},_handleValue:function(a){var b=this.md;b||0===b||“number“===a.type&&!a.checkValidity()?this._inputHasContent=!0:this._inputHasContent=!1;this.updateAddons({o:a,value:b,invalid:this.invalid})},_handleValueAndAutoValidate:function(a){this.autoValidate&&a&&(this.invalid=!(a.validate?a.validate(this.md):a.checkValidity()));this._handleValue(a)},_onIronInputValidate:function(){this.invalid=this._inputElement.invalid},_invalidChanged:function(){this._addons&& this.updateAddons({invalid:this.invalid})},updateAddons:function(a){for(var b,c=0;b=this._addons[c];c++)b.update(a)},_computeInputContentClass:function(a,b,c,d,e){var f=“input-content“;a?(e&&(f+=“ label-is-hidden“),d&&!this.noUnfloatedLabelError&&(f+=“ is-invalid“)):(a=this.querySelector(„label“),b||e?(f+=“ label-is-floating“,this.$.labelAndInputContainer.style.position=“static“,d?f+=“ is-invalid“:c&&(f+=“ label-is-highlighted“)):(a&&(this.$.labelAndInputContainer.style.position=“relative“),d&&!this.noUnfloatedLabelError&& (f+=“ is-invalid“)));c&&(f+=“ focused“);return f},_computeUnderlineClass:function(a,b){var c=“underline“;b?c+=“ is-invalid“:a&&(c+=“ is-highlighted“);return c},_computeAddOnContentClass:function(a,b){var c=“add-on-content“;b?c+=“ is-invalid“:a&&(c+=“ is-highlighted“);return c}});var Ri=aa([‚\n \n\n \x3c!–\n If the paper-input-error element is directly referenced by an\n `aria-describedby` attribute, such as when used as a paper-input add-on,\n then applying `visibility: hidden;` to the paper-input-error element itself\n does not hide the error.\n\n For more information, see:\n https://www.w3.org/TR/accname-1.1/#mapping_additional_nd_description\n –\x3e\n
\n \n
\n‘], [‚\n \n\n \x3c!–\n If the paper-input-error element is directly referenced by an\n \\`aria-describedby\\` attribute, such as when used as a paper-input add-on,\n then applying \\`visibility: hidden;\\` to the paper-input-error element itself\n does not hide the error.\n\n For more information, see:\n https://www.w3.org/TR/accname-1.1/#mapping_additional_nd_description\n –\x3e\n
\n \n
\n‘]); N({_template:G(Ri),is:“paper-input-error“,behaviors:[Hi],properties:{invalid:{readOnly:!0,reflectToAttribute:!0,type:Boolean}},update:function(a){this._setInvalid(a.invalid)}});var Si=t([‚\n \n\n \n\n \n\n \n\n \x3c!– Need to bind maxlength so that the paper-input-char-counter works correctly –\x3e\n \n \n \n\n \n\n \n\n \n\n \n ‚]); N({is:“paper-input“,_template:G(Si),behaviors:[Gi,Wh],properties:{value:{type:String},noUnfloatedLabelError:{type:Boolean,value:!1},inputRole:{type:String,value:void 0},inputAriaHaspopup:{type:String,value:void 0}},get zb(){return this.o._inputElement},listeners:{„iron-input-ready“:“_onIronInputReady“},_onIronInputReady:function(){this.$.nativeInput||(this.$.nativeInput=this.$$(„input“));this.o&&-1!==this.rg.indexOf(this.$.nativeInput.type)&&(this.alwaysFloatLabel=!0);this.o.bindValue&&this.$.container._handleValueAndAutoValidate(this.o)}});var Ti={properties:{sizingTarget:{type:Object,value:function(){return this}},fitInto:{type:Object,value:window},noOverlap:{type:Boolean},positionTarget:{type:Element},horizontalAlign:{type:String},verticalAlign:{type:String},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},autoFitOnAttach:{type:Boolean,value:!1},_fitInfo:{type:Object}},get jl(){var a;this.fitInto===window?a=this.fitInto.innerWidth:a=this.fitInto.getBoundingClientRect().width; return a},get gl(){var a;this.fitInto===window?a=this.fitInto.innerHeight:a=this.fitInto.getBoundingClientRect().height;return a},get hl(){var a;this.fitInto===window?a=0:a=this.fitInto.getBoundingClientRect().left;return a},get il(){var a;this.fitInto===window?a=0:a=this.fitInto.getBoundingClientRect().top;return a},get mi(){var a=L(this).parentNode;a&&a.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(a=a.host);return a},get vi(){if(this.ti){if(„right“===this.horizontalAlign)return“left“;if(„left“===this.horizontalAlign)return“right“}return this.horizontalAlign}, get pe(){return(this.horizontalAlign||this.verticalAlign)&&this.positionTarget},get ti(){„undefined“===typeof this.jg&&(this.jg=“rtl“==window.getComputedStyle(this).direction);return this.jg},attached:function(){this.positionTarget=this.positionTarget||this.mi;this.autoFitOnAttach&&(„none“===window.getComputedStyle(this).display?setTimeout(function(){this.fit()}.bind(this)):(window.ShadyDOM&&ShadyDOM.flush(),this.fit()))},detached:function(){this.uf&&(clearTimeout(this.uf),this.uf=null)},fit:function(){this.position(); this.constrain();this.center()},_discoverInfo:function(){if(!this._fitInfo){var a=window.getComputedStyle(this),b=window.getComputedStyle(this.sizingTarget);this._fitInfo={eh:{top:this.style.top||““,left:this.style.left||““,position:this.style.position||““},mh:{maxWidth:this.sizingTarget.style.maxWidth||““,maxHeight:this.sizingTarget.style.maxHeight||““,boxSizing:this.sizingTarget.style.boxSizing||““},uc:{wc:“auto“!==a.top?“top“:“auto“!==a.bottom?“bottom“:null,qc:“auto“!==a.left?“left“:“auto“!==a.right? „right“:null},ic:{height:“none“!==b.maxHeight,width:“none“!==b.maxWidth,minWidth:parseInt(b.minWidth,10)||0,minHeight:parseInt(b.minHeight,10)||0},margin:{top:parseInt(a.marginTop,10)||0,right:parseInt(a.marginRight,10)||0,bottom:parseInt(a.marginBottom,10)||0,left:parseInt(a.marginLeft,10)||0}}}},resetFit:function(){var a=this._fitInfo||{},b;for(b in a.mh)this.sizingTarget.style[b]=a.mh[b];for(b in a.eh)this.style[b]=a.eh[b];this._fitInfo=null},refit:function(){var a=this.sizingTarget.scrollLeft, b=this.sizingTarget.scrollTop;this.resetFit();this.fit();this.sizingTarget.scrollLeft=a;this.sizingTarget.scrollTop=b},position:function(){if(this.pe){this._discoverInfo();this.style.position=“fixed“;this.sizingTarget.style.boxSizing=“border-box“;this.style.left=“0px“;this.style.top=“0px“;var a=this.getBoundingClientRect(),b=this.__getNormalizedRect(this.positionTarget),c=this.__getNormalizedRect(this.fitInto),d=this._fitInfo.margin,e=this.__getPosition(this.vi,this.verticalAlign,{width:a.width+d.left+ d.right,height:a.height+d.top+d.bottom},a,b,c);b=e.left+d.left;e=e.top+d.top;var f=Math.min(c.right-d.right,b+a.width),g=Math.min(c.bottom-d.bottom,e+a.height);b=Math.max(c.left+d.left,Math.min(b,f-this._fitInfo.ic.minWidth));e=Math.max(c.top+d.top,Math.min(e,g-this._fitInfo.ic.minHeight));this.sizingTarget.style.maxWidth=Math.max(f-b,this._fitInfo.ic.minWidth)+“px“;this.sizingTarget.style.maxHeight=Math.max(g-e,this._fitInfo.ic.minHeight)+“px“;this.style.left=b-a.left+“px“;this.style.top=e-a.top+ „px“}},constrain:function(){if(!this.pe){this._discoverInfo();var a=this._fitInfo;a.uc.wc||(this.style.position=“fixed“,this.style.top=“0px“);a.uc.qc||(this.style.position=“fixed“,this.style.left=“0px“);this.sizingTarget.style.boxSizing=“border-box“;var b=this.getBoundingClientRect();a.ic.height||this.__sizeDimension(b,a.uc.wc,“top“,“bottom“,“Height“);a.ic.width||this.__sizeDimension(b,a.uc.qc,“left“,“right“,“Width“)}},_sizeDimension:function(a,b,c,d,e){this.__sizeDimension(a,b,c,d,e)},__sizeDimension:function(a, b,c,d,e){var f=this._fitInfo,g=this.__getNormalizedRect(this.fitInto);g=“Width“===e?g.width:g.height;b=b===d;var h=“offset“+e;this.sizingTarget.style[„max“+e]=g-f.margin[b?c:d]-(b?g-a[d]:a[c])-(this[h]-this.sizingTarget[h])+“px“},center:function(){if(!this.pe){this._discoverInfo();var a=this._fitInfo.uc;if(!a.wc||!a.qc){this.style.position=“fixed“;a.wc||(this.style.top=“0px“);a.qc||(this.style.left=“0px“);var b=this.getBoundingClientRect(),c=this.__getNormalizedRect(this.fitInto);a.wc||(this.style.top= c.top-b.top+(c.height-b.height)/2+“px“);a.qc||(this.style.left=c.left-b.left+(c.width-b.width)/2+“px“)}}},__getNormalizedRect:function(a){return a===document.documentElement||a===window?{top:0,left:0,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth,bottom:window.innerHeight}:a.getBoundingClientRect()},__getOffscreenArea:function(a,b,c){return Math.abs(Math.min(0,a.top)+Math.min(0,c.bottom-(a.top+b.height)))*b.width+Math.abs(Math.min(0,a.left)+Math.min(0,c.right-(a.left+b.width)))* b.height},__getPosition:function(a,b,c,d,e,f){var g=[{verticalAlign:“top“,horizontalAlign:“left“,top:e.top+this.verticalOffset,left:e.left+this.horizontalOffset},{verticalAlign:“top“,horizontalAlign:“right“,top:e.top+this.verticalOffset,left:e.right-c.width-this.horizontalOffset},{verticalAlign:“bottom“,horizontalAlign:“left“,top:e.bottom-c.height-this.verticalOffset,left:e.left+this.horizontalOffset},{verticalAlign:“bottom“,horizontalAlign:“right“,top:e.bottom-c.height-this.verticalOffset,left:e.right- c.width-this.horizontalOffset}];if(this.noOverlap){for(var h=0,k=g.length;hl||0===l&&(e||k))p=d}}return p}};var Ui=Element.prototype,Vi=Ui.matches||Ui.matchesSelector||Ui.mozMatchesSelector||Ui.msMatchesSelector||Ui.oMatchesSelector||Ui.webkitMatchesSelector;function Wi(){}m=Wi.prototype;m.yi=function(a){return(Vi.call(a,“input, select, textarea, button, object“)?Vi.call(a,“:not([disabled])“):Vi.call(a,“a[href], area[href], iframe, [tabindex], [contentEditable]“))?(a=a.getAttribute(„tabindex“)||0,Number(a)):-1}; m.gg=function(a,b){if(a.nodeType!==Node.ELEMENT_NODE||!this.ui(a))return!1;var c=this.yi(a),d=0b)return a;var c=Math.ceil(b/2);b=this.ye(a.slice(0,c));a=this.ye(a.slice(c));return this.wi(b,a)};m.wi=function(a,b){for(var c=[];0a:a>b};var Xi=new Wi;var Yi=t([„\n \n\n \n“]); N({_template:G(Yi),is:“iron-overlay-backdrop“,properties:{opened:{reflectToAttribute:!0,type:Boolean,value:!1,observer:“_openedChanged“}},listeners:{transitionend:“_onTransitionend“},created:function(){this.c=null},attached:function(){this.opened&&this._openedChanged(this.opened)},prepare:function(){this.opened&&!this.parentNode&&L(document.body).appendChild(this)},open:function(){this.opened=!0},close:function(){this.opened=!1},complete:function(){this.opened||this.parentNode!==document.body||L(this.parentNode).removeChild(this)}, _onTransitionend:function(a){a&&a.target===this&&this.complete()},_openedChanged:function(a){a?this.prepare():(a=window.getComputedStyle(this),“0s“!==a.transitionDuration&&0!=a.opacity||this.complete());this.isAttached&&(this.c&&(window.cancelAnimationFrame(this.c),this.c=null),this.scrollTop=this.scrollTop,this.c=window.requestAnimationFrame(function(){this.c=null;this.toggleClass(„opened“,this.opened)}.bind(this)))}});function Zi(){this.c=[];this.h=101;this.f=null;Pd(document.documentElement,“tap“,function(){});document.addEventListener(„tap“,this._onCaptureClick.bind(this),!0);document.addEventListener(„focus“,this._onCaptureFocus.bind(this),!0);document.addEventListener(„keydown“,this.zi.bind(this),!0)}m=Zi.prototype; m.ki=function(a){var b=this.c[a];if(b){var c=this.c.length-1,d=this.c[c];d&&this.qg(b,d)&&c–;if(!(a>=c)){d=Math.max(this.ac(this.c[this.c.length-1]),101);for(this.ac(b)<=d&&this.se(b,d);a=Math.abs(b),e=0;ec?0b?0\n :host {\n position: fixed;\n }\n\n #contentWrapper ::slotted(*) {\n overflow: auto;\n }\n\n #contentWrapper.animating ::slotted(*) {\n overflow: hidden;\n pointer-events: none;\n }\n \n\n
\n \n
\n‘]); N({_template:G(mj),is:“iron-dropdown“,behaviors:[ci,Oa,kj,lj],properties:{horizontalAlign:{type:String,value:“left“,reflectToAttribute:!0},verticalAlign:{type:String,value:“top“,reflectToAttribute:!0},openAnimationConfig:{type:Object},closeAnimationConfig:{type:Object},focusTarget:{type:Object},noAnimations:{type:Boolean,value:!1},allowOutsideScroll:{type:Boolean,value:!1,observer:“_allowOutsideScrollChanged“}},listeners:{„neon-animation-finish“:“_onNeonAnimationFinish“},observers:[„_updateOverlayPosition(positionTarget, verticalAlign, horizontalAlign, verticalOffset, horizontalOffset)“], get cf(){for(var a=L(this.$.content).getDistributedNodes(),b=0,c=a.length;b\n\n \n \x3c!– support hybrid mode: user might be using paper-menu-button 1.x which distributes via –\x3e\n \n \n \n‘]), tj=Sf(HTMLElement); N({_template:G(sj),is:“paper-dropdown-menu“,behaviors:[ei,ci,Wh,$h],properties:{selectedItemLabel:{type:String,notify:!0,readOnly:!0},selectedItem:{type:Object,notify:!0,readOnly:!0},value:{type:String,notify:!0},label:{type:String},placeholder:{type:String},errorMessage:{type:String},opened:{type:Boolean,notify:!0,value:!1,observer:“_openedChanged“},allowOutsideScroll:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1,reflectToAttribute:!0},alwaysFloatLabel:{type:Boolean,value:!1},noAnimations:{type:Boolean, value:!1},horizontalAlign:{type:String,value:“right“},verticalAlign:{type:String,value:“top“},verticalOffset:Number,dynamicAlign:{type:Boolean},restoreFocusOnClose:{type:Boolean,value:!0}},listeners:{tap:“_onTap“},ja:{„up down“:“open“,esc:“close“},observers:[„_selectedItemChanged(selectedItem)“],_attachDom:function(a){var b=E(this);b.attachShadow({mode:“open“,nl:!0,lk:a});b.shadowRoot.appendChild(a);return tj.prototype._attachDom.call(this,a)},focus:function(){this.$.input.zb.focus()},attached:function(){var a= this.rd;a&&a.selectedItem&&this._setSelectedItem(a.selectedItem)},get rd(){for(var a=L(this.$.content).getDistributedNodes(),b=0,c=a.length;b\n \n„; document.head.appendChild(vj.content);var wj=t([‚\n \n \n‘]);N({_template:G(wj),is:“paper-item“,behaviors:[uj]});function xj(a){this.multi=!1;this.selection=[];this.c=a}m=xj.prototype;m.get=function(){return this.multi?this.selection.slice():this.selection[0]};m.clear=function(a){this.selection.slice().forEach(function(b){(!a||0>a.indexOf(b))&&yj(this,b,!1)},this)};m.isSelected=function(a){return 0<=this.selection.indexOf(a)};function yj(a,b,c){if(null!=b&&c!==a.isSelected(b)){if(c)a.selection.push(b);else{var d=a.selection.indexOf(b);0<=d&&a.selection.splice(d,1)}a.c&&a.c(b,c)}} m.select=function(a){this.multi?this.toggle(a):this.get()!==a&&(yj(this,this.get(),!1),yj(this,a,!0))};m.toggle=function(a){yj(this,a,!this.isSelected(a))};var zj={properties:{attrForSelected:{type:String,value:null},selected:{type:String,notify:!0},selectedItem:{type:Object,readOnly:!0,notify:!0},activateEvent:{type:String,value:"tap",observer:"_activateEventChanged"},selectable:String,selectedClass:{type:String,value:"iron-selected"},selectedAttribute:{type:String,value:null},fallbackSelection:{type:String,value:null},items:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}},_excludedLocalNames:{type:Object,value:function(){return{template:1, "dom-bind":1,"dom-if":1,"dom-repeat":1}}}},observers:["_updateAttrForSelected(attrForSelected)","_updateSelected(selected)","_checkFallback(fallbackSelection)"],created:function(){this.ji=this._filterItem.bind(this);this.sa=new xj(this._applySelection.bind(this))},attached:function(){this.ia=this._observeItems(this);this._addListener(this.activateEvent)},detached:function(){this.ia&&L(this).unobserveNodes(this.ia);this._removeListener(this.activateEvent)},indexOf:function(a){return this.items?this.items.indexOf(a): -1},select:function(a){this.selected=a},selectPrevious:function(){var a=this.items.length,b=a-1;void 0!==this.selected&&(b=(Number(this._valueToIndex(this.selected))-1+a)%a);this.selected=this._indexToValue(b)},selectNext:function(){var a=0;void 0!==this.selected&&(a=(Number(this._valueToIndex(this.selected))+1)%this.items.length);this.selected=this._indexToValue(a)},selectIndex:function(a){this.select(this._indexToValue(a))},forceSynchronousItemUpdate:function(){this.ia&&"function"===typeof this.ia.flush? this.ia.flush():this._updateItems()},get ij(){return null!=this.selected},_checkFallback:function(){this._updateSelected()},_addListener:function(a){this.listen(this,a,"_activateHandler")},_removeListener:function(a){this.unlisten(this,a,"_activateHandler")},_activateEventChanged:function(a,b){this._removeListener(b);this._addListener(a)},_updateItems:function(){var a=L(this).queryDistributedElements(this.selectable||"*");a=Array.prototype.filter.call(a,this.ji);this._setItems(a)},_updateAttrForSelected:function(){this.selectedItem&& (this.selected=this._valueForItem(this.selectedItem))},_updateSelected:function(){this._selectSelected(this.selected)},_selectSelected:function(){if(this.items){var a=this._valueToItem(this.selected);a?this.sa.select(a):this.sa.clear();this.fallbackSelection&&this.items.length&&void 0===this.sa.get()&&(this.selected=this.fallbackSelection)}},_filterItem:function(a){return!this._excludedLocalNames[a.localName]},_valueToItem:function(a){return null==a?null:this.items[this._valueToIndex(a)]},_valueToIndex:function(a){if(this.attrForSelected)for(var b= 0,c;c=this.items[b];b++){if(this._valueForItem(c)==a)return b}else return Number(a)},_indexToValue:function(a){if(this.attrForSelected){if(a=this.items[a])return this._valueForItem(a)}else return a},_valueForItem:function(a){if(!a)return null;if(!this.attrForSelected)return a=this.indexOf(a),-1===a?null:a;var b=a[Jb(this.attrForSelected)];return void 0!=b?b:a.getAttribute(this.attrForSelected)},_applySelection:function(a,b){this.selectedClass&&this.toggleClass(this.selectedClass,b,a);this.selectedAttribute&& this.toggleAttribute.call(a,this.selectedAttribute,b);this._selectionChange();this.fire("iron-"+(b?"select":"deselect"),{item:a})},_selectionChange:function(){this._setSelectedItem(this.sa.get())},_observeItems:function(a){return L(a).observeNodes(function(b){this._updateItems();this._updateSelected();this.fire("iron-items-changed",b,{bubbles:!1,cancelable:!1})})},_activateHandler:function(a){a=a.target;for(var b=this.items;a&&a!=this;){var c=b.indexOf(a);if(0<=c){b=this._indexToValue(c);this._itemActivate(b, a);break}a=a.parentNode}},_itemActivate:function(a,b){this.fire("iron-activate",{selected:a,item:b},{cancelable:!0}).defaultPrevented||this.select(a)}};var Aj={properties:{multi:{type:Boolean,value:!1,observer:"multiChanged"},selectedValues:{type:Array,notify:!0,value:function(){return[]}},selectedItems:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}}},observers:["_updateSelected(selectedValues.splices)"],select:function(a){this.multi?this._toggleSelected(a):this.selected=a},multiChanged:function(a){this.sa.multi=a;this._updateSelected()},get ij(){return null!=this.selected||null!=this.selectedValues&&this.selectedValues.length},_updateAttrForSelected:function(){this.multi? this.selectedItems&&0b?this.push(„selectedValues“,a):this.splice(„selectedValues“, b,1)},_valuesToItems:function(a){return null==a?null:a.map(function(b){return this._valueToItem(b)},this)}};var Bj={properties:{focusedItem:{observer:“_focusedItemChanged“,readOnly:!0,type:Object},attrForItemTitle:{type:String},disabled:{type:Boolean,value:!1,observer:“_disabledChanged“}},zh:“Alt AltGraph CapsLock Control Fn FnLock Hyper Meta NumLock OS ScrollLock Shift Super Symbol SymbolLock“.split(“ „),ai:1E3,mg:0,hostAttributes:{role:“menu“},observers:[„_updateMultiselectable(multi)“],listeners:{focus:“_onFocus“,keydown:“_onKeydown“,“iron-items-changed“:“_onIronItemsChanged“},ja:{up:“_onUpKey“,down:“_onDownKey“, esc:“_onEscKey“,“shift+tab:keydown“:“_onShiftTabDown“},attached:function(){this._resetTabindices()},select:function(a){this.ve&&(this.cancelAsync(this.ve),this.ve=null);var b=this._valueToItem(a);b&&b.hasAttribute(„disabled“)||(this._setFocusedItem(b),Aj.select.apply(this,arguments))},_resetTabindices:function(){var a=this.multi?this.selectedItems&&this.selectedItems[0]:this.selectedItem;this.items.forEach(function(b){b.setAttribute(„tabindex“,b===a?“0″:“-1″);b.setAttribute(„aria-selected“,this.sa.isSelected(b))}, this)},_updateMultiselectable:function(a){a?this.setAttribute(„aria-multiselectable“,“true“):this.removeAttribute(„aria-multiselectable“)},_focusWithKeyboardEvent:function(a){if(-1===this.zh.indexOf(a.key)){this.cancelDebouncer(„_clearSearchText“);var b=this.pg||““;b+=(a.key&&1==a.key.length?a.key:String.fromCharCode(a.keyCode)).toLocaleLowerCase();a=b.length;for(var c=0,d;d=this.items[c];c++)if(!d.hasAttribute(„disabled“)){var e=this.attrForItemTitle||“textContent“;e=(d[e]||d.getAttribute(e)||““).trim(); if(!(e.length\n :host {\n display: block;\n padding: 8px 0;\n\n background: var(–paper-listbox-background-color, var(–primary-background-color));\n color: var(–paper-listbox-color, var(–primary-text-color));\n\n @apply –paper-listbox;\n }\n \n\n \n“]);N({_template:G(Dj),is:“paper-listbox“,behaviors:[Cj],hostAttributes:{role:“listbox“}});function Ej(){return I.apply(this,arguments)||this}A(Ej,I);m=Ej.prototype;m.getMsg_=function(a){return W(a)};m.computeDisplayedValue_=function(){var a=this.values.length;return 0==a?W(„NONE_SELECTED“):W(„SELECTED“,{num:a})};m.onSelectAllClick_=function(a){this.values=this.items.map(function(b){return b.value});a.target.blur()};m.onSelectNoneClick_=function(a){this.values=[];a.target.blur()};m.onIronEvent_=function(a){a.stopPropagation()}; m.onOpenedChanged_=function(a){a.detail.value&&(a=new CustomEvent(„overlay-will-open“,{bubbles:!0,composed:!0}),this.dispatchEvent(a))}; x.Object.defineProperties(Ej,{is:{configurable:!0,enumerable:!0,get:function(){return“tf-creative-preview-multi-selector“}},template:{configurable:!0,enumerable:!0,get:function(){return Uh}},properties:{configurable:!0,enumerable:!0,get:function(){return{label:String,items:Array,values:{type:Array,notify:!0},displayedValue_:{type:String,computed:“computeDisplayedValue_(values, values.*)“,readOnly:!0}}}}});Ej.prototype._setDisplayedValue_=function(){};customElements.define(Ej.is,Ej);var Fj,Gj; if(void 0===Fj){var Hj=document.createElement(„template“);Hj.innerHTML=‘\n \n \n \n \n \n\n \n \n \n \n\n‘;Hj.content.insertBefore(Sh().content.cloneNode(!0), Hj.content.firstChild);Fj=Hj}Gj=Fj;function Ij(){return I.apply(this,arguments)||this}A(Ij,I);Ij.prototype.getCustomLabel_=function(){return W(„CUSTOM“)};Ij.prototype.onOpenedChanged_=function(a){a.detail.value&&(a=new CustomEvent(„overlay-will-open“,{bubbles:!0,composed:!0}),this.dispatchEvent(a))}; x.Object.defineProperties(Ij,{is:{configurable:!0,enumerable:!0,get:function(){return“tf-creative-preview-selector“}},template:{configurable:!0,enumerable:!0,get:function(){return Gj}},properties:{configurable:!0,enumerable:!0,get:function(){return{label:String,items:Array,showCustomOption:Boolean,value:{type:String,notify:!0}}}}});customElements.define(Ij.is,Ij);var Jj,Kj; if(void 0===Jj){var Lj=document.createElement(„template“);Lj.innerHTML=‘\n\n
[[label]]
\n\n\n \n
\n \n \n \n x\n \n \n \n
\n
\n‘;Jj= Lj}Kj=Jj;function Mj(){return I.apply(this,arguments)||this}A(Mj,I);m=Mj.prototype;m.labelChanged_=function(a){this.setAttribute(„title“,a)};m.valueChanged_=function(){var a=U(this.value);a.width=this.validateValue_(a.width);a.height=this.validateValue_(a.height);V(a)==this.value?(this.$.width.value=a.width,this.$.height.value=a.height):this.value=V(a)};m.commitChange_=function(){this.value=V({width:this.$.width.value,height:this.$.height.value})}; m.onKeypress_=function(a){„Enter“==a.key&&(this.commitChange_(),a.target.blur())};m.validateValue_=function(a){a=Number(a);isNaN(a)&&(a=0);return Math.min(Math.max(a,this.min),this.max)}; x.Object.defineProperties(Mj,{is:{configurable:!0,enumerable:!0,get:function(){return“tf-creative-preview-size-input“}},template:{configurable:!0,enumerable:!0,get:function(){return Kj}},properties:{configurable:!0,enumerable:!0,get:function(){return{label:{type:String,observer:Mj.prototype.labelChanged_},value:{type:String,observer:Mj.prototype.valueChanged_,notify:!0},min:{type:Number,value:0},max:{type:Number,value:Number.POSITIVE_INFINITY},disabled:{type:Boolean,reflectToAttribute:!0}}}}}); customElements.define(Mj.is,Mj);/* Copyright (c) 2014 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ var Nj=document.createElement(„template“);Nj.setAttribute(„style“,“display: none;“);Nj.innerHTML=‘\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n‚; document.head.appendChild(Nj.content);var Oj=document.createElement(„template“);Oj.setAttribute(„style“,“display: none;“);Oj.innerHTML=‘\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n‚; document.head.appendChild(Oj.content);var Pj=aa([‚\n \n\n \n ‚], [‚\n \n\n \n ‚]); N({is:“paper-icon-button“,_template:G(Pj),hostAttributes:{role:“button“,tabindex:“0″},behaviors:[ni],properties:{src:{type:String},icon:{type:String},alt:{type:String,observer:“_altChanged“}},_altChanged:function(a,b){var c=this.getAttribute(„aria-label“);c&&b!=c||this.setAttribute(„aria-label“,a)},registered:function(){this._template.setAttribute(„strip-whitespace“,““)}});function Qj(a){a=U(a);return V({width:a.height,height:a.width})}function Rj(){return I.apply(this,arguments)||this}A(Rj,I);m=Rj.prototype;m.ready=function(){this.hh={};for(var a in O.eb)this.hh[O.eb[a]]=this.getMsg_(a+“_MODE“);I.prototype.ready.call(this)};m.computeSortedSizes_=function(a){a=a.map(function(b){return U(b)});a.sort(function(b,c){return b.width==c.width?b.height-c.height:b.width-c.width});return a.map(function(b){return V(b)})}; m.computeEnabledControls_=function(a,b,c){var d={};d=(d.mode=!1,d.size=!1,d.feed=!1,d);0\n :host {\n display: block;\n padding: var(–tf-creative-preview-stage-padding);\n box-sizing: border-box;\n }\n\n iframe {\n border: none;\n background: #fff;\n width: 100%;\n height: 100%;\n @apply –shadow-elevation-2dp;\n }\n\n\n\n‘;Sj=Uj}Tj=Sj;var Vj=tg(kg(new hg(ig,“about:blank“)));function X(){return I.apply(this,arguments)||this}A(X,I);X.prototype.getIframeSrc=function(a,b,c){c?(b={feed:b||void 0},a=qg({previewPath:a}),a=pg(a),a=ug.exec(a),c=a[3]||““,b=tg(a[1]+vg(„?“,a[2]||““,b)+vg(„#“,c,void 0))):b=Vj;return b};X.prototype.reload=function(){};x.Object.defineProperties(X,{properties:{configurable:!0,enumerable:!0,get:function(){return{previewPath:String,active:{type:Boolean,reflectToAttribute:!0}}}}});function Wj(){return X.apply(this,arguments)||this}A(Wj,X);Wj.prototype.reload=function(){Fh(this.$.iframe)};x.Object.defineProperties(Wj,{is:{configurable:!0,enumerable:!0,get:function(){return“tf-creative-preview-desktop“}},template:{configurable:!0,enumerable:!0,get:function(){return Tj}},properties:{configurable:!0,enumerable:!0,get:function(){return{feed:String}}}});customElements.define(Wj.is,Wj);var Xj,Yj; if(void 0===Xj){var Zj=document.createElement(„template“);Zj.innerHTML=‘\n\n\n \n\n‘;Xj= Zj}Yj=Xj;var ak,bk; if(void 0===ak){var ck=document.createElement(„template“);ck.innerHTML=‘\n\n\n\n
\n
\n \n
\n
\n\n
\n \n
\n\n
\n \n
\n‘;ak= ck}bk=ak;var dk=document.createElement(„template“);dk.setAttribute(„style“,“display: none;“);dk.innerHTML=‘\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n‚; document.head.appendChild(dk.content);var ek=Wd(I);function fk(){return ek.apply(this,arguments)||this}A(fk,ek);fk.prototype.ready=function(){this.vd=null;this.addEventListener(„mousedown“,this.onMousedown_);this.addEventListener(„mouseup“,this.onMouseup_);ek.prototype.ready.call(this)};fk.prototype.onMousedown_=function(){this.resizable&&this.querySelector(„iframe“).style.setProperty(„pointer-events“,“none“)};fk.prototype.onMouseup_=function(){this.resizable&&this.querySelector(„iframe“).style.removeProperty(„pointer-events“)}; fk.prototype.onTrack_=function(a){var b=a.composedPath().find(function(f){return f.classList&&f.classList.contains(„handle“)}).getAttribute(„data-direction“),c=a.detail,d=c.tj;a=c.uj;c=c.state;“start“==c&&(this.vd={width:this.size.width,height:this.size.height},document.body.style.setProperty(„cursor“,b+“-resize“));var e=this.size.width;if(„e“==b||“se“==b)e=Math.min(Math.max(this.vd.width+d,this.min),this.max);d=this.size.height;if(„s“==b||“se“==b)d=Math.min(Math.max(this.vd.height+a,this.min),this.max); this.size={width:e,height:d};“end“==c&&(this.vd=null,document.body.style.removeProperty(„cursor“))};x.Object.defineProperties(fk,{is:{configurable:!0,enumerable:!0,get:function(){return“tf-creative-preview-resizable-container“}},template:{configurable:!0,enumerable:!0,get:function(){return bk}},properties:{configurable:!0,enumerable:!0,get:function(){return{size:{type:Object,notify:!0},resizable:{type:Boolean,reflectToAttribute:!0},min:{type:Number,value:0},max:{type:Number,value:Number.POSITIVE_INFINITY}}}}}); customElements.define(fk.is,fk);function Y(){return X.apply(this,arguments)||this}A(Y,X);Y.prototype.ready=function(){X.prototype.ready.call(this)};Y.prototype.deviceSizeChanged_=function(a){this.parsedDeviceSize_=U(a)};Y.prototype.parsedDeviceSizeChanged_=function(a){this.deviceSize=V(a)};Y.prototype.reload=function(){Fh(this.$.iframe)}; x.Object.defineProperties(Y,{is:{configurable:!0,enumerable:!0,get:function(){return“tf-creative-preview-mobile“}},template:{configurable:!0,enumerable:!0,get:function(){return Yj}},properties:{configurable:!0,enumerable:!0,get:function(){return{deviceSize:{type:String,notify:!0,observer:Y.prototype.deviceSizeChanged_},parsedDeviceSize_:{type:Object,observer:Y.prototype.parsedDeviceSizeChanged_},feed:String,responsive:{type:Boolean,reflectToAttribute:!0}}}}});customElements.define(Y.is,Y);var gk,hk; if(void 0===gk){var ik=document.createElement(„template“);ik.innerHTML=’\n\n\n\n \n
\n \n
\n \n
\n
[[label]]
\n \n \n
\n
\n‘;gk= ik}hk=gk;var jk=aa([‚\n \n\n \n \n \n
\n‘], [‚\n \n\n \n \n \n
\n‘]); N({_template:G(jk),is:“iron-image“,properties:{src:{type:String,value:““},alt:{type:String,value:null},crossorigin:{type:String,value:null},preventLoad:{type:Boolean,value:!1},sizing:{type:String,value:null,reflectToAttribute:!0},position:{type:String,value:“center“},preload:{type:Boolean,value:!1},placeholder:{type:String,value:null,observer:“_placeholderChanged“},fade:{type:Boolean,value:!1},loaded:{notify:!0,readOnly:!0,type:Boolean,value:!1},loading:{notify:!0,readOnly:!0,type:Boolean,value:!1}, error:{notify:!0,readOnly:!0,type:Boolean,value:!1},width:{observer:“_widthChanged“,type:Number,value:null},height:{observer:“_heightChanged“,type:Number,value:null}},observers:[„_transformChanged(sizing, position)“,“_loadStateObserver(src, preventLoad)“],created:function(){this.c=““},_imgOnLoad:function(){this.$.img.src===this._resolveSrc(this.src)&&(this._setLoading(!1),this._setLoaded(!0),this._setError(!1))},_imgOnError:function(){this.$.img.src===this._resolveSrc(this.src)&&(this.$.img.removeAttribute(„src“), this.$.sizedImgDiv.style.backgroundImage=““,this._setLoading(!1),this._setLoaded(!1),this._setError(!0))},_computePlaceholderHidden:function(){return!this.preload||!this.fade&&!this.loading&&this.loaded},_computePlaceholderClassName:function(){return this.preload&&this.fade&&!this.loading&&this.loaded?“faded-out“:““},_computeImgDivHidden:function(){return!this.sizing},_computeImgDivARIAHidden:function(){return““===this.alt?“true“:void 0},_computeImgDivARIALabel:function(){return null!==this.alt?this.alt: „“===this.src?““:this._resolveSrc(this.src).replace(/[?|#].*/g,““).split(„/“).pop()},_computeImgHidden:function(){return!!this.sizing},_widthChanged:function(){this.style.width=isNaN(this.width)?this.width:this.width+“px“},_heightChanged:function(){this.style.height=isNaN(this.height)?this.height:this.height+“px“},_loadStateObserver:function(a,b){var c=this._resolveSrc(a);c!==this.c&&(this.c=““,this.$.img.removeAttribute(„src“),this.$.sizedImgDiv.style.backgroundImage=““,““===a||b?this._setLoading(!1): (this.c=c,this.$.img.src=this.c,this.$.sizedImgDiv.style.backgroundImage=’url(„‚+this.c+'“)‘,this._setLoading(!0)),this._setLoaded(!1),this._setError(!1))},_placeholderChanged:function(){this.$.placeholder.style.backgroundImage=this.placeholder?’url(„‚+this.placeholder+'“)‘:““},_transformChanged:function(){var a=this.$.sizedImgDiv.style,b=this.$.placeholder.style;a.backgroundSize=b.backgroundSize=this.sizing;a.backgroundPosition=b.backgroundPosition=this.sizing?this.position:““;a.backgroundRepeat= b.backgroundRepeat=this.sizing?“no-repeat“:““},_resolveSrc:function(a){a=Ta(a,this.$.baseURIAnchor.href);2<=a.length&&"/"===a[0]&&"/"!==a[1]&&(a=(location.origin||location.protocol+"//"+location.host)+a);return a}});var kk=document.createElement("template");kk.setAttribute("style","display: none;");kk.innerHTML='\n \n‚; document.head.appendChild(kk.content);var lk=t([‚\n \n\n
\n \n
[[heading]]
\n
\n\n \n‘]); N({_template:G(lk),is:“paper-card“,properties:{heading:{type:String,value:““,observer:“_headingChanged“},image:{type:String,value:““},alt:{type:String},preloadImage:{type:Boolean,value:!1},fadeImage:{type:Boolean,value:!1},placeholderImage:{type:String,value:null},elevation:{type:Number,value:1,reflectToAttribute:!0},animatedShadow:{type:Boolean,value:!1},animated:{type:Boolean,reflectToAttribute:!0,readOnly:!0,computed:“_computeAnimated(animatedShadow)“}},_isHidden:function(a){return a?“false“:“true“}, _headingChanged:function(a){var b=this.getAttribute(„heading“),c=this.getAttribute(„aria-label“);“string“===typeof c&&c!==b||this.setAttribute(„aria-label“,a)},_computeHeadingClass:function(a){return a?“ over-image“:““},_computeAnimated:function(a){return a}});function Z(){return I.apply(this,arguments)||this}A(Z,I);Z.prototype.srcChanged_=function(a,b){b&&a.c()==b.c()||this._setIframeSrc(a)};Z.prototype.onReloadButtonClick_=function(){this.reload()};Z.prototype.getMsg_=function(a){return W(a)};Z.prototype.reload=function(){Fh(this.$.iframe)}; x.Object.defineProperties(Z,{is:{configurable:!0,enumerable:!0,get:function(){return“tf-creative-preview-iframe-card“}},template:{configurable:!0,enumerable:!0,get:function(){return hk}},properties:{configurable:!0,enumerable:!0,get:function(){return{src:{type:Object,observer:Z.prototype.srcChanged_},iframeSrc:{type:Object,readOnly:!0},size:Object,label:String}}}});Z.prototype._setIframeSrc=function(){};customElements.define(Z.is,Z);var mk,nk; if(void 0===mk){var ok=document.createElement(„template“);ok.innerHTML=‘\n\n
\n \n \n \n \n
\n\n\n \n\n‘;mk= ok}nk=mk;function pk(a,b){for(var c=u(this.bb),d=c.next();!d.done;d=c.next())d.value.forwardHostProp(a,b)}function qk(){var a=I.call(this)||this;a.bb=[];a.jf=null;a.hf=null;return a}A(qk,I);m=qk.prototype;m.connectedCallback=function(){I.prototype.connectedCallback.call(this);this.style.display=“none“};m.itemsChanged_=function(){this.renderWhenReady_()}; m.renderWhenReady_=function(){var a=this;if(0==this.children.length){var b=new MutationObserver(function(){if(a.querySelector(„template“))b.disconnect(),a.debounceRender_();else throw Error(„tf-creative-preview-repeat requires a