PageSourceSearch

https://wmt.cikisi.com/886-es2015.e2055b87c55c0d68e717.js

js cikisi.com collected 2026-10-05 07:12:13 UTC 422,622 bytes, 19 lines download raw bytes

vendor: 4,604 bytes, lines 1-19
1(self.webpackChunkcikisi=self.webpackChunkcikisi||[]).push([[886],{20977:function(A){
2/*!
3     * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
4     * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
5     * Released under MIT License
6     */
7A.exports=function(){"use strict";
8/*! *****************************************************************************
9      Copyright (c) Microsoft Corporation.
10        Permission to use, copy, modify, and/or distribute this software for any
11      purpose with or without fee is hereby granted.
12        THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
13      REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
14      AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
15      INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
16      LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
17      OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
18      PERFORMANCE OF THIS SOFTWARE.
19      ***************************************************************************** */var A=function(e,t){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,e){A.__proto__=e}||function(A,e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(A[t]=e[t])})(e,t)};function e(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var t=function(){return t=Object.assign||function(A){for(var e,t=1,i=arguments.length;t<i;t++)for(var s in e=arguments[t])Object.prototype.hasOwnProperty.call(e,s)&&(A[s]=e[s]);return A},t.apply(this,arguments)};function i(A,e,t,i){return new(t||(t=Promise))(function(s,r){function n(A){try{a(i.next(A))}catch(e){r(e)}}function o(A){try{a(i.throw(A))}catch(e){r(e)}}function a(A){A.done?s(A.value):function(A){return A instanceof t?A:new t(function(e){e(A)})}(A.value).then(n,o)}a((i=i.apply(A,e||[])).next())})}function s(A,e){var t,i,s,r,n={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return r={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(r){return function(o){return function(r){if(t)throw new TypeError("Generator is already executing.");for(;n;)try{if(t=1,i&&(s=2&r[0]?i.return:r[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,r[1])).done)return s;switch(i=0,s&&(r=[2&r[0],s.value]),r[0]){case 0:case 1:s=r;break;case 4:return n.label++,{value:r[1],done:!1};case 5:n.label++,i=r[1],r=[0];continue;case 7:r=n.ops.pop(),n.trys.pop();continue;default:if(!(s=(s=n.trys).length>0&&s[s.length-1])&&(6===r[0]||2===r[0])){n=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]<s[3])){n.label=r[1];break}if(6===r[0]&&n.label<s[1]){n.label=s[1],s=r;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(r);break}s[2]&&n.ops.pop(),n.trys.pop();continue}r=e.call(A,n)}catch(o){r=[6,o],i=0}finally{t=s=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,o])}}}function r(A,e,t){if(t||2===arguments.length)for(var i,s=0,r=e.length;s<r;s++)(i||!(s in e))&&(i||(i=Array.prototype.slice.call(e,0,s)),i[s]=e[s]);return A.concat(i||e)}for(var n=function(){function A(A,e,t,i){this.left=A,this.top=e,this.width=t,this.height=i}return A.prototype.add=function(e,t,i,s){return new A(this.left+e,this.top+t,this.width+i,this.height+s)},A.fromClientRect=function(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)},A.fromDOMRectList=function(e,t){var i=Array.from(t).find(function(A){return 0!==A.width});return i?new A(i.left+e.windowBounds.left,i.top+e.windowBounds.top,i.width,i.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),o=function(A,e){return n.fromClientRect(A,e.getBoundingClientRect())},a=function(A){for(var e=[],t=0,i=A.length;t<i;){var s=A.charCodeAt(t++);if(s>=55296&&s<=56319&&t<i){var r=A.charCodeAt(t++);56320==(64512&r)?e.push(((1023&s)<<10)+(1023&r)+65536):(e.push(s),t--)}else e.push(s)}return e},c=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var i=[],s=-1,r="";++s<t;){var n=A[s];n<=65535?i.push(n):i.push(55296+((n-=65536)>>10),n%1024+56320),(s+1===t||i.length>16384)&&(r+=String.fromCharCode.apply(String,i),i.length=0)}return r},l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
19+/",d="undefined"==typeof Uint8Array?[]:new Uint8Array(256),h=0;h<l.length;h++)d[l.charCodeAt(h)]=h;for(var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="undefined"==typeof Uint8Array?[]:new Uint8Array(256),B=0;B<g.length;B++)u[g.charCodeAt(B)]=B;for(var p=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},w=function(){function A(A,e,t,i,s,r){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=i,this.index=s,this.data=r}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return this.data[e=((e=this.index[A>>5])<<2)+(31&A)];if(A<=65535)return this.data[e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A)];if(A<this.highStart)return e=this.index[e=2080+(A>>11)],this.data[e=((e=this.index[e+=A>>5&63])<<2)+(31&A)];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f="undefined"==typeof Uint8Array?[]:new Uint8Array(256),C=0;C<m.length;C++)f[m.charCodeAt(C)]=C;var Q,F,U,b,y,v=10,I=13,x=15,_=17,H=18,E=19,T=20,k=21,D=22,S=24,M=25,L=26,K=27,O=28,Z=30,P=32,R=33,N=34,J=35,G=37,V=38,Y=39,$=40,W=42,q=[9001,65288],X="\xd7",z=(Q=function(A){var e,t,i,s,r,n=.75*A.length,o=A.length,a=0;"="===A[A.length-1]&&(n--,"="===A[A.length-2]&&n--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(n):new Array(n),l=Array.isArray(c)?c:new Uint8Array(c);for(e=0;e<o;e+=4)t=u[A.charCodeAt(e)],i=u[A.charCodeAt(e+1)],s=u[A.charCodeAt(e+2)],r=u[A.charCodeAt(e+3)],l[a++]=t<<2|i>>4,l[a++]=(15&i)<<4|s>>2,l[a++]=(3&s)<<6|63&r;return c}(
vendor: 52,890 bytes, line 19
19"KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA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BywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCG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AMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5Cg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QB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7S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G0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA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UABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHg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AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQA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ABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgA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FAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAC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ACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="
vendor: 45,761 bytes, line 19
19),F=Array.isArray(Q)?function(A){for(var e=A.length,t=[],i=0;i<e;i+=4)t.push(A[i+3]<<24|A[i+2]<<16|A[i+1]<<8|A[i]);return t}(Q):new Uint32Array(Q),U=Array.isArray(Q)?function(A){for(var e=A.length,t=[],i=0;i<e;i+=2)t.push(A[i+1]<<8|A[i]);return t}(Q):new Uint16Array(Q),b=p(U,12,F[4]/2),y=2===F[5]?p(U,(24+F[4])/2):function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))}(F,Math.ceil((24+F[4])/4)),new w(F[0],F[1],F[2],F[3],b,y)),j=[Z,36],AA=[1,2,3,5],eA=[v,8],tA=[K,L],iA=AA.concat(eA),sA=[V,Y,$,N,J],rA=[x,I],nA=function(A,e,t,i){var s=i[t];if(Array.isArray(A)?-1!==A.indexOf(s):A===s)for(var r=t;r<=i.length;){if((a=i[++r])===e)return!0;if(a!==v)break}if(s===v)for(r=t;r>0;){var n=i[--r];if(Array.isArray(A)?-1!==A.indexOf(n):A===n)for(var o=t;o<=i.length;){var a;if((a=i[++o])===e)return!0;if(a!==v)break}if(n!==v)break}return!1},oA=function(A,e){for(var t=A;t>=0;){var i=e[t];if(i!==v)return i;t--}return 0},aA=function(A,e,t,i,s){if(0===t[i])return X;var r=i-1;if(Array.isArray(s)&&!0===s[r])return X;var n=r-1,o=r+1,a=e[r],c=n>=0?e[n]:0,l=e[o];if(2===a&&3===l)return X;if(-1!==AA.indexOf(a))return"!";if(-1!==AA.indexOf(l)||-1!==eA.indexOf(l))return X;if(8===oA(r,e))return"\xf7";if(11===z.get(A[r])||(a===P||a===R)&&11===z.get(A[o])||7===a||7===l||9===a||-1===[v,I,x].indexOf(a)&&9===l||-1!==[_,H,E,S,O].indexOf(l)||oA(r,e)===D||nA(23,D,r,e)||nA([_,H],k,r,e)||nA(12,12,r,e))return X;if(a===v)return"\xf7";if(23===a||23===l)return X;if(16===l||16===a)return"\xf7";if(-1!==[I,x,k].indexOf(l)||14===a||36===c&&-1!==rA.indexOf(a)||a===O&&36===l||l===T||-1!==j.indexOf(l)&&a===M||-1!==j.indexOf(a)&&l===M||a===K&&-1!==[G,P,R].indexOf(l)||-1!==[G,P,R].indexOf(a)&&l===L||-1!==j.indexOf(a)&&-1!==tA.indexOf(l)||-1!==tA.indexOf(a)&&-1!==j.indexOf(l)||-1!==[K,L].indexOf(a)&&(l===M||-1!==[D,x].indexOf(l)&&e[o+1]===M)||-1!==[D,x].indexOf(a)&&l===M||a===M&&-1!==[M,O,S].indexOf(l))return X;if(-1!==[M,O,S,_,H].indexOf(l))for(var d=r;d>=0;){if((h=e[d])===M)return X;if(-1===[O,S].indexOf(h))break;d--}if(-1!==[K,L].indexOf(l))for(d=-1!==[_,H].indexOf(a)?n:r;d>=0;){var h;if((h=e[d])===M)return X;if(-1===[O,S].indexOf(h))break;d--}if(V===a&&-1!==[V,Y,N,J].indexOf(l)||-1!==[Y,N].indexOf(a)&&-1!==[Y,$].indexOf(l)||-1!==[$,J].indexOf(a)&&l===$||-1!==sA.indexOf(a)&&-1!==[T,L].indexOf(l)||-1!==sA.indexOf(l)&&a===K||-1!==j.indexOf(a)&&-1!==j.indexOf(l)||a===S&&-1!==j.indexOf(l)||-1!==j.concat(M).indexOf(a)&&l===D&&-1===q.indexOf(A[o])||-1!==j.concat(M).indexOf(l)&&a===H)return X;if(41===a&&41===l){for(var g=t[r],u=1;g>0&&41===e[--g];)u++;if(u%2!=0)return X}return a===P&&l===R?X:"\xf7"},cA=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=function(A,e){void 0===e&&(e="strict");var t=[],i=[],s=[];return A.forEach(function(A,r){var n=z.get(A);if(n>50?(s.push(!0),n-=50):s.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(A))return i.push(r),t.push(16);if(4===n||11===n){if(0===r)return i.push(r),t.push(Z);var o=t[r-1];return-1===iA.indexOf(o)?(i.push(i[r-1]),t.push(o)):(i.push(r),t.push(Z))}return i.push(r),31===n?t.push("strict"===e?k:G):n===W||29===n?t.push(Z):43===n?t.push(A>=131072&&A<=196605||A>=196608&&A<=262141?G:Z):void t.push(n)}),[i,t,s]}(A,e.lineBreak),i=t[0],s=t[1],r=t[2];return("break-all"===e.wordBreak||"break-word"===e.wordBreak)&&(s=s.map(function(A){return-1!==[M,Z,W].indexOf(A)?G:A})),[i,s,"keep-all"===e.wordBreak?r.map(function(e,t){return e&&A[t]>=19968&&A[t]<=40959}):void 0]},lA=function(){function A(A,e,t,i){this.codePoints=A,this.required="!"===e,this.start=t,this.end=i}return A.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),dA=function(A){return A>=48&&A<=57},hA=function(A){return dA(A)||A>=65&&A<=70||A>=97&&A<=102},gA=function(A){return 10===A||9===A||32===A},uA=function(A){return function(A){return function(A){return A>=97&&A<=122}(A)||function(A){return A>=65&&A<=90}(A)}(A)||function(A){return A>=128}(A)||95===A},BA=function(A){return uA(A)||dA(A)||45===A},pA=function(A){return A>=0&&A<=8||11===A||A>=14&&A<=31||127===A},wA=function(A,e){return 92===A&&10!==e},mA=function(A,e,t){return 45===A?uA(e)||wA(e,t):!!uA(A)||!(92!==A||!wA(A,e))},fA=function(A,e,t){return 43===A||45===A?!!dA(e)||46===e&&dA(t):dA(46===A?e:A)},CA=function(A){var e=0,t=1;(43===A[e]||45===A[e])&&(45===A[e]&&(t=-1),e++);for(var i=[];dA(A[e]);)i.push(A[e++]);var s=i.length?parseInt(c.apply(void 0,i),10):0;46===A[e]&&e++;for(var r=[];dA(A[e]);)r.push(A[e++]);var n=r.length,o=n?parseInt(c.apply(void 0,r),10):0;(69===A[e]||101===A[e])&&e++;var a=1;(43===A[e]||45===A[e])&&(45===A[e]&&(a=-1),e++);for(var l=[];dA(A[e]);)l.push(A[e++]);var d=l.length?parseInt(c.apply(void 0,l),10):0;return t*(s+o*Math.pow(10,-n))*Math.pow(10,a*d)},QA={type:2},FA={type:3},UA={type:4},bA={type:13},yA={type:8},vA={type:21},IA={type:9},xA={type:10},_A={type:11},HA={type:12},EA={type:14},TA={type:23},kA={type:1},DA={type:25},SA={type:24},MA={type:26},LA={type:27},KA={type:28},OA={type:29},ZA={type:31},PA={type:32},RA=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(a(A))},A.prototype.read=function(){for(var A=[],e=this.consumeToken();e!==PA;)A.push(e),e=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case 34:return this.consumeStringToken(34);case 35:var e=this.peekCodePoint(0),t=this.peekCodePoint(1),i=this.peekCodePoint(2);if(BA(e)||wA(t,i)){var s=mA(e,t,i)?2:1;return{type:5,value:this.consumeName(),flags:s}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),bA;break;case 39:return this.consumeStringToken(39);case 40:return QA;case 41:return FA;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),EA;break;case 43:if(fA(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return UA;case 45:var r=A,n=this.peekCodePoint(0),o=this.peekCodePoint(1);if(fA(r,n,o))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(mA(r,n,o))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(45===n&&62===o)return this.consumeCodePoint(),this.consumeCodePoint(),SA;break;case 46:if(fA(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var a=this.consumeCodePoint();if(42===a&&47===(a=this.consumeCodePoint()))return this.consumeToken();if(-1===a)return this.consumeToken()}break;case 58:return MA;case 59:return LA;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),DA;break;case 64:var l=this.peekCodePoint(0),d=this.peekCodePoint(1),h=this.peekCodePoint(2);if(mA(l,d,h))return{type:7,value:this.consumeName()};break;case 91:return KA;case 92:if(wA(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return OA;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),yA;break;case 123:return _A;case 125:return HA;case 117:case 85:var g=this.peekCodePoint(0),u=this.peekCodePoint(1);return 43===g&&(hA(u)||63===u)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),IA;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),vA;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),xA;break;case-1:return PA}return gA(A)?(this.consumeWhiteSpace(),ZA):dA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):uA(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:c(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return void 0===A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){for(var A=[],e=this.consumeCodePoint();hA(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();for(var t=!1;63===e&&A.length<6;)A.push(e),e=this.consumeCodePoint(),t=!0;if(t)return{type:30,start:parseInt(c.apply(void 0,A.map(function(A){return 63===A?48:A})),16),end:parseInt(c.apply(void 0,A.map(function(A){return 63===A?70:A})),16)};var i=parseInt(c.apply(void 0,A),16);if(45===this.peekCodePoint(0)&&hA(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var s=[];hA(e)&&s.length<6;)s.push(e),e=this.consumeCodePoint();return{type:30,start:i,end:parseInt(c.apply(void 0,s),16)}}return{type:30,start:i,end:i}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:22,value:""};var e=this.peekCodePoint(0);if(39===e||34===e){var t=this.consumeStringToken(this.consumeCodePoint());return 0===t.type&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),TA)}for(;;){var i=this.consumeCodePoint();if(-1===i||41===i)return{type:22,value:c.apply(void 0,A)};if(gA(i))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,A)}):(this.consumeBadUrlRemnants(),TA);if(34===i||39===i||40===i||pA(i))return this.consumeBadUrlRemnants(),TA;if(92===i){if(!wA(i,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),TA;A.push(this.consumeEscapedCodePoint())}else A.push(i)}},A.prototype.consumeWhiteSpace=function(){for(;gA(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(41===A||-1===A)return;wA(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){for(var e="";A>0;){var t=Math.min(5e4,A);e+=c.apply(void 0,this._value.splice(0,t)),A-=t}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){for(var e="",t=0;;){var i=this._value[t];if(-1===i||void 0===i||i===A)return{type:0,value:e+=this.consumeStringSlice(t)};if(10===i)return this._value.splice(0,t),kA;if(92===i){var s=this._value[t+1];-1!==s&&void 0!==s&&(10===s?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):wA(i,s)&&(e+=this.consumeStringSlice(t),e+=c(this.consumeEscapedCodePoint()),t=-1))}t++}},A.prototype.consumeNumber=function(){var A=[],e=4,t=this.peekCodePoint(0);for((43===t||45===t)&&A.push(this.consumeCodePoint());dA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var i=this.peekCodePoint(1);if(46===t&&dA(i))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;dA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),i=this.peekCodePoint(1);var s=this.peekCodePoint(2);if((69===t||101===t)&&((43===i||45===i)&&dA(s)||dA(i)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;dA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[CA(A),e]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],t=A[1],i=this.peekCodePoint(0),s=this.peekCodePoint(1),r=this.peekCodePoint(2);return mA(i,s,r)?{type:15,number:e,flags:t,unit:this.consumeName()}:37===i?(this.consumeCodePoint(),{type:16,number:e,flags:t}):{type:17,number:e,flags:t}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(hA(A)){for(var e=c(A);hA(this.peekCodePoint(0))&&e.length<6;)e+=c(this.consumeCodePoint());gA(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(e,16);return 0===t||function(A){return A>=55296&&A<=57343}(t)||t>1114111?65533:t}return-1===A?65533:A},A.prototype.consumeName=function(){for(var A="";;){var e=this.consumeCodePoint();if(BA(e))A+=c(e);else{if(!wA(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),A;A+=c(this.consumeEscapedCodePoint())}}},A}(),NA=function(){function A(A){this._tokens=A}return A.create=function(e){var t=new RA;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var A=this.consumeToken();31===A.type;)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var A=[];;){var e=this.consumeComponentValue();if(32===e.type)return A;A.push(e),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){for(var e={type:A,values:[]},t=this.consumeToken();;){if(32===t.type||zA(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken()}},A.prototype.consumeFunction=function(A){for(var e={name:A.value,values:[],type:18};;){var t=this.consumeToken();if(32===t.type||3===t.type)return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return void 0===A?PA:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),JA=function(A){return 15===A.type},GA=function(A){return 17===A.type},VA=function(A){return 20===A.type},YA=function(A){return 0===A.type},$A=function(A,e){return VA(A)&&A.value===e},WA=function(A){return 31!==A.type},qA=function(A){return 31!==A.type&&4!==A.type},XA=function(A){var e=[],t=[];return A.forEach(function(A){if(4===A.type){if(0===t.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(t),void(t=[])}31!==A.type&&t.push(A)}),t.length&&e.push(t),e},zA=function(A,e){return 11===e&&12===A.type||28===e&&29===A.type||2===e&&3===A.type},jA=function(A){return 17===A.type||15===A.type},Ae=function(A){return 16===A.type||jA(A)},ee=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},te={type:17,number:0,flags:4},ie={type:16,number:50,flags:4},se={type:16,number:100,flags:4},re=function(A,e,t){var i=A[0],s=A[1];return[ne(i,e),ne(void 0!==s?s:i,t)]},ne=function(A,e){if(16===A.type)return A.number/100*e;if(JA(A))switch(A.unit){case"rem":case"em":return 16*A.number;default:return A.number}return A.number},oe=function(A,e){if(15===e.type)switch(e.unit){case"deg":return Math.PI*e.number/180;case"grad":return Math.PI/200*e.number;case"rad":return e.number;case"turn":return 2*Math.PI*e.number}throw new Error("Unsupported angle type")},ae=function(A){return 15===A.type&&("deg"===A.unit||"grad"===A.unit||"rad"===A.unit||"turn"===A.unit)},ce=function(A){switch(A.filter(VA).map(function(A){return A.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[te,te];case"to top":case"bottom":return le(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[te,se];case"to right":case"left":return le(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[se,se];case"to bottom":case"top":return le(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[se,te];case"to left":case"right":return le(270)}return 0},le=function(A){return Math.PI*A/180},de=function(A,e){if(18===e.type){var t=fe[e.name];if(void 0===t)throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(5===e.type){if(3===e.value.length){var i=e.value.substring(0,1),s=e.value.substring(1,2),r=e.value.substring(2,3);return ue(parseInt(i+i,16),parseInt(s+s,16),parseInt(r+r,16),1)}if(4===e.value.length){i=e.value.substring(0,1),s=e.value.substring(1,2),r=e.value.substring(2,3);var n=e.value.substring(3,4);return ue(parseInt(i+i,16),parseInt(s+s,16),parseInt(r+r,16),parseInt(n+n,16)/255)}if(6===e.value.length)return i=e.value.substring(0,2),s=e.value.substring(2,4),r=e.value.substring(4,6),ue(parseInt(i,16),parseInt(s,16),parseInt(r,16),1);if(8===e.value.length)return i=e.value.substring(0,2),s=e.value.substring(2,4),r=e.value.substring(4,6),n=e.value.substring(6,8),ue(parseInt(i,16),parseInt(s,16),parseInt(r,16),parseInt(n,16)/255)}if(20===e.type){var o=Qe[e.value.toUpperCase()];if(void 0!==o)return o}return Qe.TRANSPARENT},he=function(A){return 0==(255&A)},ge=function(A){var e=255&A,t=255&A>>8,i=255&A>>16,s=255&A>>24;return e<255?"rgba("+s+","+i+","+t+","+e/255+")":"rgb("+s+","+i+","+t+")"},ue=function(A,e,t,i){return(A<<24|e<<16|t<<8|Math.round(255*i)<<0)>>>0},Be=function(A,e){if(17===A.type)return A.number;if(16===A.type){var t=3===e?1:255;return 3===e?A.number/100*t:Math.round(A.number/100*t)}return 0},pe=function(A,e){var t=e.filter(qA);if(3===t.length){var i=t.map(Be);return ue(i[0],i[1],i[2],1)}if(4===t.length){var s=t.map(Be);return ue(s[0],s[1],s[2],s[3])}return 0};function we(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<.5?e:t<2/3?6*(e-A)*(2/3-t)+A:A}var me=function(A,e){var t=e.filter(qA),i=t[0],s=t[1],r=t[2],n=t[3],o=(17===i.type?le(i.number):oe(A,i))/(2*Math.PI),a=Ae(s)?s.number/100:0,c=Ae(r)?r.number/100:0,l=void 0!==n&&Ae(n)?ne(n,1):1;if(0===a)return ue(255*c,255*c,255*c,1);var d=c<=.5?c*(a+1):c+a-c*a,h=2*c-d,g=we(h,d,o+1/3),u=we(h,d,o),B=we(h,d,o-1/3);return ue(255*g,255*u,255*B,l)},fe={hsl:me,hsla:me,rgb:pe,rgba:pe},Ce=function(A,e){return de(A,NA.create(e).parseComponentValue())},Qe={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Fe={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(A){if(VA(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ue={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},be=function(A,e){var t=de(A,e[0]),i=e[1];return i&&Ae(i)?{color:t,stop:i}:{color:t,stop:null}},ye=function(A,e){var t=A[0],i=A[A.length-1];null===t.stop&&(t.stop=te),null===i.stop&&(i.stop=se);for(var s=[],r=0,n=0;n<A.length;n++){var o=A[n].stop;if(null!==o){var a=ne(o,e);s.push(a>r?a:r),r=a}else s.push(null)}var c=null;for(n=0;n<s.length;n++){var l=s[n];if(null===l)null===c&&(c=n);else if(null!==c){for(var d=n-c,h=(l-s[c-1])/(d+1),g=1;g<=d;g++)s[c+g-1]=h*g;c=null}}return A.map(function(A,t){return{color:A.color,stop:Math.max(Math.min(1,s[t]/e),0)}})},ve=function(A,e,t){var i="number"==typeof A?A:function(A,e,t){var i=e/2,s=t/2,r=ne(A[0],e)-i,n=s-ne(A[1],t);return(Math.atan2(n,r)+2*Math.PI)%(2*Math.PI)}(A,e,t),s=Math.abs(e*Math.sin(i))+Math.abs(t*Math.cos(i)),r=e/2,n=t/2,o=s/2,a=Math.sin(i-Math.PI/2)*o,c=Math.cos(i-Math.PI/2)*o;return[s,r-c,r+c,n-a,n+a]},Ie=function(A,e){return Math.sqrt(A*A+e*e)},xe=function(A,e,t,i,s){return[[0,0],[0,e],[A,0],[A,e]].reduce(function(A,e){var r=Ie(t-e[0],i-e[1]);return(s?r<A.optimumDistance:r>A.optimumDistance)?{optimumCorner:e,optimumDistance:r}:A},{optimumDistance:s?1/0:-1/0,optimumCorner:null}).optimumCorner},_e=function(A,e){var t=le(180),i=[];return XA(e).forEach(function(e,s){if(0===s){var r=e[0];if(20===r.type&&-1!==["top","left","right","bottom"].indexOf(r.value))return void(t=ce(e));if(ae(r))return void(t=(oe(A,r)+le(270))%le(360))}var n=be(A,e);i.push(n)}),{angle:t,stops:i,type:1}},He="closest-side",Ee="farthest-side",Te="closest-corner",ke="farthest-corner",De="ellipse",Se="contain",Me=function(A,e){var t=0,i=3,s=[],r=[];return XA(e).forEach(function(e,n){var o=!0;if(0===n?o=e.reduce(function(A,e){if(VA(e))switch(e.value){case"center":return r.push(ie),!1;case"top":case"left":return r.push(te),!1;case"right":case"bottom":return r.push(se),!1}else if(Ae(e)||jA(e))return r.push(e),!1;return A},o):1===n&&(o=e.reduce(function(A,e){if(VA(e))switch(e.value){case"circle":return t=0,!1;case De:return t=1,!1;case Se:case He:return i=0,!1;case Ee:return i=1,!1;case Te:return i=2,!1;case"cover":case ke:return i=3,!1}else if(jA(e)||Ae(e))return Array.isArray(i)||(i=[]),i.push(e),!1;return A},o)),o){var a=be(A,e);s.push(a)}}),{size:i,shape:t,stops:s,position:r,type:2}},Le=function(A,e){if(22===e.type){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(18===e.type){var i=Ke[e.name];if(void 0===i)throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return i(A,e.values)}throw new Error("Unsupported image type "+e.type)};for(var Ke={"linear-gradient":function(A,e){var t=le(180),i=[];return XA(e).forEach(function(e,s){if(0===s){var r=e[0];if(20===r.type&&"to"===r.value)return void(t=ce(e));if(ae(r))return void(t=oe(A,r))}var n=be(A,e);i.push(n)}),{angle:t,stops:i,type:1}},"-moz-linear-gradient":_e,"-ms-linear-gradient":_e,"-o-linear-gradient":_e,"-webkit-linear-gradient":_e,"radial-gradient":function(A,e){var t=0,i=3,s=[],r=[];return XA(e).forEach(function(e,n){var o=!0;if(0===n){var a=!1;o=e.reduce(function(A,e){if(a)if(VA(e))switch(e.value){case"center":return r.push(ie),A;case"top":case"left":return r.push(te),A;case"right":case"bottom":return r.push(se),A}else(Ae(e)||jA(e))&&r.push(e);else if(VA(e))switch(e.value){case"circle":return t=0,!1;case De:return t=1,!1;case"at":return a=!0,!1;case He:return i=0,!1;case"cover":case Ee:return i=1,!1;case Se:case Te:return i=2,!1;case ke:return i=3,!1}else if(jA(e)||Ae(e))return Array.isArray(i)||(i=[]),i.push(e),!1;return A},o)}if(o){var c=be(A,e);s.push(c)}}),{size:i,shape:t,stops:s,position:r,type:2}},"-moz-radial-gradient":Me,"-ms-radial-gradient":Me,"-o-radial-gradient":Me,"-webkit-radial-gradient":Me,"-webkit-gradient":function(A,e){var t=le(180),i=[],s=1;return XA(e).forEach(function(e,t){var r=e[0];if(0===t){if(VA(r)&&"linear"===r.value)return void(s=1);if(VA(r)&&"radial"===r.value)return void(s=2)}if(18===r.type)if("from"===r.name){var n=de(A,r.values[0]);i.push({stop:te,color:n})}else if("to"===r.name)n=de(A,r.values[0]),i.push({stop:se,color:n});else if("color-stop"===r.name){var o=r.values.filter(qA);if(2===o.length){n=de(A,o[1]);var a=o[0];GA(a)&&i.push({stop:{type:16,number:100*a.number,flags:a.flags},color:n})}}}),1===s?{angle:(t+le(180))%le(360),stops:i,type:s}:{size:3,shape:0,stops:i,position:[],type:s}}},Oe={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e.filter(function(A){return qA(A)&&function(A){return!(20===A.type&&"none"===A.value||18===A.type&&!Ke[A.name])}(A)}).map(function(e){return Le(A,e)})}},Ze={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(A){if(VA(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Pe={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return XA(e).map(function(A){return A.filter(Ae)}).map(ee)}},Re={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return XA(e).map(function(A){return A.filter(VA).map(function(A){return A.value}).join(" ")}).map(Ne)}},Ne=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},Je=(()=>{return(A=Je||(Je={})).AUTO="auto",A.CONTAIN="contain",A.COVER="cover",Je;var A})(),Ge={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return XA(e).map(function(A){return A.filter(Ve)})}},Ve=function(A){return VA(A)||Ae(A)},Ye=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},$e=Ye("top"),We=Ye("right"),qe=Ye("bottom"),Xe=Ye("left"),ze=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return ee(e.filter(Ae))}}},je=ze("top-left"),At=ze("top-right"),et=ze("bottom-right"),tt=ze("bottom-left"),it=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},st=it("top"),rt=it("right"),nt=it("bottom"),ot=it("left"),at=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return JA(e)?e.number:0}}},ct=at("top"),lt=at("right"),dt=at("bottom"),ht=at("left"),gt={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ut={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){return"rtl"===e?1:0}},Bt={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(VA).reduce(function(A,e){return A|pt(e.value)},0)}},pt=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},wt={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},mt={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return 20===e.type&&"normal"===e.value?0:17===e.type||15===e.type?e.number:0}},ft=(()=>{return(A=ft||(ft={})).NORMAL="normal",A.STRICT="strict",ft;var A})(),Ct={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"strict"===e?ft.STRICT:ft.NORMAL}},Qt={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ft=function(A,e){return VA(A)&&"normal"===A.value?1.2*e:17===A.type?e*A.number:Ae(A)?ne(A,e):e},Ut={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return 20===e.type&&"none"===e.value?null:Le(A,e)}},bt={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){return"inside"===e?0:1}},yt={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},vt=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},It=vt("top"),xt=vt("right"),_t=vt("bottom"),Ht=vt("left"),Et={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(VA).map(function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},Tt={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"break-word"===e?"break-word":"normal"}},kt=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Dt=kt("top"),St=kt("right"),Mt=kt("bottom"),Lt=kt("left"),Kt={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Ot={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Zt={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&$A(e[0],"none")?[]:XA(e).map(function(e){for(var t={color:Qe.TRANSPARENT,offsetX:te,offsetY:te,blur:te},i=0,s=0;s<e.length;s++){var r=e[s];jA(r)?(0===i?t.offsetX=r:1===i?t.offsetY=r:t.blur=r,i++):t.color=de(A,r)}return t})}},Pt={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Rt={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(20===e.type&&"none"===e.value)return null;if(18===e.type){var t=Nt[e.name];if(void 0===t)throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},Nt={matrix:function(A){var e=A.filter(function(A){return 17===A.type}).map(function(A){return A.number});return 6===e.length?e:null},matrix3d:function(A){var e=A.filter(function(A){return 17===A.type}).map(function(A){return A.number});return 16===e.length?[e[0],e[1],e[4],e[5],e[12],e[13]]:null}},Jt={type:16,number:50,flags:4},Gt=[Jt,Jt],Vt={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(Ae);return 2!==t.length?Gt:[t[0],t[1]]}},Yt={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;default:return 0}}},$t=(()=>{return(A=$t||($t={})).NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all",$t;var A})(),Wt={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return $t.BREAK_ALL;case"keep-all":return $t.KEEP_ALL;default:return $t.NORMAL}}},qt={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(20===e.type)return{auto:!0,order:0};if(GA(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},Xt={name:"time",parse:function(A,e){if(15===e.type)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},zt={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return GA(e)?e.number:1}},jt={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ai={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(VA).map(function(A){switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(A){return 0!==A})}},ei={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],i=[];return e.forEach(function(A){switch(A.type){case 20:case 0:t.push(A.value);break;case 17:t.push(A.number.toString());break;case 4:i.push(t.join(" ")),t.length=0}}),t.length&&i.push(t.join(" ")),i.map(function(A){return-1===A.indexOf(" ")?A:"'"+A+"'"})}},ti={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},ii={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){return GA(e)?e.number:VA(e)&&"bold"===e.value?700:400}},si={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(VA).map(function(A){return A.value})}},ri={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},ni=function(A,e){return 0!=(A&e)},oi={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e}},ai={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return null;var t=e[0];if(20===t.type&&"none"===t.value)return null;for(var i=[],s=e.filter(WA),r=0;r<s.length;r++){var n=s[r],o=s[r+1];if(20===n.type){var a=o&&GA(o)?o.number:1;i.push({counter:n.value,increment:a})}}return i}},ci={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return[];for(var t=[],i=e.filter(WA),s=0;s<i.length;s++){var r=i[s],n=i[s+1];if(VA(r)&&"none"!==r.value){var o=n&&GA(n)?n.number:0;t.push({counter:r.value,reset:o})}}return t}},li={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(JA).map(function(e){return Xt.parse(A,e)})}},di={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return null;var t=e[0];if(20===t.type&&"none"===t.value)return null;var i=[],s=e.filter(YA);if(s.length%2!=0)return null;for(var r=0;r<s.length;r+=2)i.push({open:s[r].value,close:s[r+1].value});return i}},hi=function(A,e,t){if(!A)return"";var i=A[Math.min(e,A.length-1)];return i?t?i.open:i.close:""},gi={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&$A(e[0],"none")?[]:XA(e).map(function(e){for(var t={color:255,offsetX:te,offsetY:te,blur:te,spread:te,inset:!1},i=0,s=0;s<e.length;s++){var r=e[s];$A(r,"inset")?t.inset=!0:jA(r)?(0===i?t.offsetX=r:1===i?t.offsetY=r:2===i?t.blur=r:t.spread=r,i++):t.color=de(A,r)}return t})}},ui={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[];return e.filter(VA).forEach(function(A){switch(A.value){case"stroke":t.push(1);break;case"fill":t.push(0);break;case"markers":t.push(2)}}),[0,1,2].forEach(function(A){-1===t.indexOf(A)&&t.push(A)}),t}},Bi={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},pi={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return JA(e)?e.number:0}},wi=function(){function A(A,e){var t,i;this.animationDuration=Ci(A,li,e.animationDuration),this.backgroundClip=Ci(A,Fe,e.backgroundClip),this.backgroundColor=Ci(A,Ue,e.backgroundColor),this.backgroundImage=Ci(A,Oe,e.backgroundImage),this.backgroundOrigin=Ci(A,Ze,e.backgroundOrigin),this.backgroundPosition=Ci(A,Pe,e.backgroundPosition),this.backgroundRepeat=Ci(A,Re,e.backgroundRepeat),this.backgroundSize=Ci(A,Ge,e.backgroundSize),this.borderTopColor=Ci(A,$e,e.borderTopColor),this.borderRightColor=Ci(A,We,e.borderRightColor),this.borderBottomColor=Ci(A,qe,e.borderBottomColor),this.borderLeftColor=Ci(A,Xe,e.borderLeftColor),this.borderTopLeftRadius=Ci(A,je,e.borderTopLeftRadius),this.borderTopRightRadius=Ci(A,At,e.borderTopRightRadius),this.borderBottomRightRadius=Ci(A,et,e.borderBottomRightRadius),this.borderBottomLeftRadius=Ci(A,tt,e.borderBottomLeftRadius),this.borderTopStyle=Ci(A,st,e.borderTopStyle),this.borderRightStyle=Ci(A,rt,e.borderRightStyle),this.borderBottomStyle=Ci(A,nt,e.borderBottomStyle),this.borderLeftStyle=Ci(A,ot,e.borderLeftStyle),this.borderTopWidth=Ci(A,ct,e.borderTopWidth),this.borderRightWidth=Ci(A,lt,e.borderRightWidth),this.borderBottomWidth=Ci(A,dt,e.borderBottomWidth),this.borderLeftWidth=Ci(A,ht,e.borderLeftWidth),this.boxShadow=Ci(A,gi,e.boxShadow),this.color=Ci(A,gt,e.color),this.direction=Ci(A,ut,e.direction),this.display=Ci(A,Bt,e.display),this.float=Ci(A,wt,e.cssFloat),this.fontFamily=Ci(A,ei,e.fontFamily),this.fontSize=Ci(A,ti,e.fontSize),this.fontStyle=Ci(A,ri,e.fontStyle),this.fontVariant=Ci(A,si,e.fontVariant),this.fontWeight=Ci(A,ii,e.fontWeight),this.letterSpacing=Ci(A,mt,e.letterSpacing),this.lineBreak=Ci(A,Ct,e.lineBreak),this.lineHeight=Ci(A,Qt,e.lineHeight),this.listStyleImage=Ci(A,Ut,e.listStyleImage),this.listStylePosition=Ci(A,bt,e.listStylePosition),this.listStyleType=Ci(A,yt,e.listStyleType),this.marginTop=Ci(A,It,e.marginTop),this.marginRight=Ci(A,xt,e.marginRight),this.marginBottom=Ci(A,_t,e.marginBottom),this.marginLeft=Ci(A,Ht,e.marginLeft),this.opacity=Ci(A,zt,e.opacity);var s=Ci(A,Et,e.overflow);this.overflowX=s[0],this.overflowY=s[s.length>1?1:0],this.overflowWrap=Ci(A,Tt,e.overflowWrap),this.paddingTop=Ci(A,Dt,e.paddingTop),this.paddingRight=Ci(A,St,e.paddingRight),this.paddingBottom=Ci(A,Mt,e.paddingBottom),this.paddingLeft=Ci(A,Lt,e.paddingLeft),this.paintOrder=Ci(A,ui,e.paintOrder),this.position=Ci(A,Ot,e.position),this.textAlign=Ci(A,Kt,e.textAlign),this.textDecorationColor=Ci(A,jt,null!==(t=e.textDecorationColor)&&void 0!==t?t:e.color),this.textDecorationLine=Ci(A,Ai,null!==(i=e.textDecorationLine)&&void 0!==i?i:e.textDecoration),this.textShadow=Ci(A,Zt,e.textShadow),this.textTransform=Ci(A,Pt,e.textTransform),this.transform=Ci(A,Rt,e.transform),this.transformOrigin=Ci(A,Vt,e.transformOrigin),this.visibility=Ci(A,Yt,e.visibility),this.webkitTextStrokeColor=Ci(A,Bi,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=Ci(A,pi,e.webkitTextStrokeWidth),this.wordBreak=Ci(A,Wt,e.wordBreak),this.zIndex=Ci(A,qt,e.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},A.prototype.isTransparent=function(){return he(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return 0!==this.position},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return 0!==this.float},A.prototype.isInlineLevel=function(){return ni(this.display,4)||ni(this.display,33554432)||ni(this.display,268435456)||ni(this.display,536870912)||ni(this.display,67108864)||ni(this.display,134217728)},A}(),mi=function(A,e){this.content=Ci(A,oi,e.content),this.quotes=Ci(A,di,e.quotes)},fi=function(A,e){this.counterIncrement=Ci(A,ai,e.counterIncrement),this.counterReset=Ci(A,ci,e.counterReset)},Ci=function(A,e,t){var i=new RA,s=null!=t?t.toString():e.initialValue;i.write(s);var r=new NA(i.read());switch(e.type){case 2:var n=r.parseComponentValue();return e.parse(A,VA(n)?n.value:e.initialValue);case 0:return e.parse(A,r.parseComponentValue());case 1:return e.parse(A,r.parseComponentValues());case 4:return r.parseComponentValue();case 3:switch(e.format){case"angle":return oe(A,r.parseComponentValue());case"color":return de(A,r.parseComponentValue());case"image":return Le(A,r.parseComponentValue());case"length":var o=r.parseComponentValue();return jA(o)?o:te;case"length-percentage":var a=r.parseComponentValue();return Ae(a)?a:te;case"time":return Xt.parse(A,r.parseComponentValue())}}},Qi=function(A,e){var t=function(A){switch(A.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(A);return 1===t||e===t},Fi=function(A,e){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Qi(e,3),this.styles=new wi(A,window.getComputedStyle(e,null)),bs(e)&&(this.styles.animationDuration.some(function(A){return A>0})&&(e.style.animationDuration="0s"),null!==this.styles.transform&&(e.style.transform="none")),this.bounds=o(this.context,e),Qi(e,4)&&(this.flags|=16)},Ui="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bi="undefined"==typeof Uint8Array?[]:new Uint8Array(256),yi=0;yi<Ui.length;yi++)bi[Ui.charCodeAt(yi)]=yi;for(var vi=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},Ii=function(){function A(A,e,t,i,s,r){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=i,this.index=s,this.data=r}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return this.data[e=((e=this.index[A>>5])<<2)+(31&A)];if(A<=65535)return this.data[e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A)];if(A<this.highStart)return e=this.index[e=2080+(A>>11)],this.data[e=((e=this.index[e+=A>>5&63])<<2)+(31&A)];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),xi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_i="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Hi=0;Hi<xi.length;Hi++)_i[xi.charCodeAt(Hi)]=Hi;var Ei=8,Ti=9,ki=11,Di=12,Si=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var i=[],s=-1,r="";++s<t;){var n=A[s];n<=65535?i.push(n):i.push(55296+((n-=65536)>>10),n%1024+56320),(s+1===t||i.length>16384)&&(r+=String.fromCharCode.apply(String,i),i.length=0)}return r},Mi=function(A,e){var t=function(A){var e,t,i,s,r,n=.75*A.length,o=A.length,a=0;"="===A[A.length-1]&&(n--,"="===A[A.length-2]&&n--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(n):new Array(n),l=Array.isArray(c)?c:new Uint8Array(c);for(e=0;e<o;e+=4)t=bi[A.charCodeAt(e)],i=bi[A.charCodeAt(e+1)],s=bi[A.charCodeAt(e+2)],r=bi[A.charCodeAt(e+3)],l[a++]=t<<2|i>>4,l[a++]=(15&i)<<4|s>>2,l[a++]=(3&s)<<6|63&r;return c}(A),i=Array.isArray(t)?function(A){for(var e=A.length,t=[],i=0;i<e;i+=4)t.push(A[i+3]<<24|A[i+2]<<16|A[i+1]<<8|A[i]);return t}(t):new Uint32Array(t),s=Array.isArray(t)?function(A){for(var e=A.length,t=[],i=0;i<e;i+=2)t.push(A[i+1]<<8|A[i]);return t}(t):new Uint16Array(t),r=vi(s,12,i[4]/2),n=2===i[5]?vi(s,(24+i[4])/2):function(A,e,t){return A.
19slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))}(i,Math.ceil((24+i[4])/4));return new Ii(i[0],i[1],i[2],i[3],r,n)}(
vendor: 13,338 bytes, line 19
19"AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACA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BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQ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GVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEA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ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="
19),Li=function(A){return Mi.get(A)},Ki=function(A,e,t){var i=t-2,s=e[i],r=e[t-1],n=e[t];if(2===r&&3===n)return"\xd7";if(2===r||3===r||4===r||2===n||3===n||4===n)return"\xf7";
vendor: 10,415 bytes, line 19
19if(r===Ei&&-1!==[Ei,Ti,ki,Di].indexOf(n)||(r===ki||r===Ti)&&(n===Ti||10===n)||(r===Di||10===r)&&10===n||13===n||5===n||7===n||1===r)return"\xd7";if(13===r&&14===n){for(;5===s;)s=e[--i];if(14===s)return"\xd7"}if(15===r&&15===n){for(var o=0;15===s;)o++,s=e[--i];if(o%2==0)return"\xd7"}return"\xf7"},Oi=function(A){var e=function(A){for(var e=[],t=0,i=A.length;t<i;){var s=A.charCodeAt(t++);if(s>=55296&&s<=56319&&t<i){var r=A.charCodeAt(t++);56320==(64512&r)?e.push(((1023&s)<<10)+(1023&r)+65536):(e.push(s),t--)}else e.push(s)}return e}(A),t=e.length,i=0,s=0,r=e.map(Li);return{next:function(){if(i>=t)return{done:!0,value:null};for(var A="\xd7";i<t&&"\xd7"===(A=Ki(0,r,++i)););if("\xd7"!==A||i===t){var n=Si.apply(null,e.slice(s,i));return s=i,{value:n,done:!1}}return{done:!0,value:null}}}},Zi=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},Pi=function(A,e,t,i,s){var r="http://www.w3.org/2000/svg",n=document.createElementNS(r,"svg"),o=document.createElementNS(r,"foreignObject");return n.setAttributeNS(null,"width",A.toString()),n.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",i.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),n.appendChild(o),o.appendChild(s),n},Ri=function(A){return new Promise(function(e,t){var i=new Image;i.onload=function(){return e(i)},i.onerror=t,i.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))})},Ni={get SUPPORT_RANGE_BOUNDS(){var A=function(A){if(A.createRange){var e=A.createRange();if(e.getBoundingClientRect){var t=A.createElement("boundtest");t.style.height="123px",t.style.display="block",A.body.appendChild(t),e.selectNode(t);var i=e.getBoundingClientRect(),s=Math.round(i.height);if(A.body.removeChild(t),123===s)return!0}}return!1}(document);return Object.defineProperty(Ni,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=Ni.SUPPORT_RANGE_BOUNDS&&function(A){var e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);var t=A.createRange();e.innerHTML="function"==typeof"".repeat?"&#128104;".repeat(10):"";var i=e.firstChild,s=a(i.data).map(function(A){return c(A)}),r=0,n={},o=s.every(function(A,e){t.setStart(i,r),t.setEnd(i,r+A.length);var s=t.getBoundingClientRect();r+=A.length;var o=s.x>n.x||s.y>n.y;return n=s,0===e||o});return A.body.removeChild(e),o}(document);return Object.defineProperty(Ni,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=function(A){var e=new Image,t=A.createElement("canvas"),i=t.getContext("2d");if(!i)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{i.drawImage(e,0,0),t.toDataURL()}catch(U){return!1}return!0}(document);return Object.defineProperty(Ni,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"==typeof Array.from&&"function"==typeof window.fetch?function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var i=e.getContext("2d");if(!i)return Promise.reject(!1);i.fillStyle="rgb(0, 255, 0)",i.fillRect(0,0,t,t);var s=new Image,r=e.toDataURL();s.src=r;var n=Pi(t,t,0,0,s);return i.fillStyle="red",i.fillRect(0,0,t,t),Ri(n).then(function(e){i.drawImage(e,0,0);var s=i.getImageData(0,0,t,t).data;i.fillStyle="red",i.fillRect(0,0,t,t);var n=A.createElement("div");return n.style.backgroundImage="url("+r+")",n.style.height=t+"px",Zi(s)?Ri(Pi(t,t,0,0,n)):Promise.reject(!1)}).then(function(A){return i.drawImage(A,0,0),Zi(i.getImageData(0,0,t,t).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(Ni,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=void 0!==(new Image).crossOrigin;return Object.defineProperty(Ni,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(Ni,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ni,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(Ni,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Ji=function(A,e){this.text=A,this.bounds=e},Gi=function(A,e){var t=e.ownerDocument;if(t){var i=t.createElement("html2canvaswrapper");i.appendChild(e.cloneNode(!0));var s=e.parentNode;if(s){s.replaceChild(i,e);var r=o(A,i);return i.firstChild&&s.replaceChild(i.firstChild,i),r}}return n.EMPTY},Vi=function(A,e,t){var i=A.ownerDocument;if(!i)throw new Error("Node has no owner document");var s=i.createRange();return s.setStart(A,e),s.setEnd(A,e+t),s},Yi=function(A){if(Ni.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(A){return A.segment})}return function(A){for(var e,t=Oi(A),i=[];!(e=t.next()).done;)e.value&&i.push(e.value.slice());return i}(A)},$i=function(A,e){return 0!==e.letterSpacing?Yi(A):function(A,e){if(Ni.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(A){return A.segment})}return qi(A,e)}(A,e)},Wi=[32,160,4961,65792,65793,4153,4241],qi=function(A,e){for(var t,i=function(A,e){var t=a(A),i=cA(t,e),s=i[0],r=i[1],n=i[2],o=t.length,c=0,l=0;return{next:function(){if(l>=o)return{done:!0,value:null};for(var A=X;l<o&&(A=aA(t,r,s,++l,n))===X;);if(A!==X||l===o){var e=new lA(t,A,c,l);return c=l,{value:e,done:!1}}return{done:!0,value:null}}}}(A,{lineBreak:e.lineBreak,wordBreak:"break-word"===e.overflowWrap?"break-word":e.wordBreak}),s=[],r=function(){if(t.value){var A=t.value.slice(),e=a(A),i="";e.forEach(function(A){-1===Wi.indexOf(A)?i+=c(A):(i.length&&s.push(i),s.push(c(A)),i="")}),i.length&&s.push(i)}};!(t=i.next()).done;)r();return s},Xi=function(A,e,t){this.text=zi(e.data,t.textTransform),this.textBounds=function(A,e,t,i){var s=$i(e,t),r=[],o=0;return s.forEach(function(e){if(t.textDecorationLine.length||e.trim().length>0)if(Ni.SUPPORT_RANGE_BOUNDS){var s=Vi(i,o,e.length).getClientRects();if(s.length>1){var a=Yi(e),c=0;a.forEach(function(e){r.push(new Ji(e,n.fromDOMRectList(A,Vi(i,c+o,e.length).getClientRects()))),c+=e.length})}else r.push(new Ji(e,n.fromDOMRectList(A,s)))}else{var l=i.splitText(e.length);r.push(new Ji(e,Gi(A,i))),i=l}else Ni.SUPPORT_RANGE_BOUNDS||(i=i.splitText(e.length));o+=e.length}),r}(A,this.text,t,e)},zi=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(ji,As);case 2:return A.toUpperCase();default:return A}},ji=/(^|\s|:|-|\(|\))([a-z])/g,As=function(A,e,t){return A.length>0?e+t.toUpperCase():A},es=function(A){function t(e,t){var i=A.call(this,e,t)||this;return i.src=t.currentSrc||t.src,i.intrinsicWidth=t.naturalWidth,i.intrinsicHeight=t.naturalHeight,i.context.cache.addImage(i.src),i}return e(t,A),t}(Fi),ts=function(A){function t(e,t){var i=A.call(this,e,t)||this;return i.canvas=t,i.intrinsicWidth=t.width,i.intrinsicHeight=t.height,i}return e(t,A),t}(Fi),is=function(A){function t(e,t){var i=A.call(this,e,t)||this,s=new XMLSerializer,r=o(e,t);return t.setAttribute("width",r.width+"px"),t.setAttribute("height",r.height+"px"),i.svg="data:image/svg+xml,"+encodeURIComponent(s.serializeToString(t)),i.intrinsicWidth=t.width.baseVal.value,i.intrinsicHeight=t.height.baseVal.value,i.context.cache.addImage(i.svg),i}return e(t,A),t}(Fi),ss=function(A){function t(e,t){var i=A.call(this,e,t)||this;return i.value=t.value,i}return e(t,A),t}(Fi),rs=function(A){function t(e,t){var i=A.call(this,e,t)||this;return i.start=t.start,i.reversed="boolean"==typeof t.reversed&&!0===t.reversed,i}return e(t,A),t}(Fi),ns=[{type:15,flags:0,unit:"px",number:3}],os=[{type:16,flags:0,number:50}],as="checkbox",cs="radio",ls="password",ds=707406591,hs=function(A){function t(e,t){var i=A.call(this,e,t)||this;switch(i.type=t.type.toLowerCase(),i.checked=t.checked,i.value=function(A){var e=A.type===ls?new Array(A.value.length+1).join("\u2022"):A.value;return 0===e.length?A.placeholder||"":e}(t),(i.type===as||i.type===cs)&&(i.styles.backgroundColor=3739148031,i.styles.borderTopColor=i.styles.borderRightColor=i.styles.borderBottomColor=i.styles.borderLeftColor=2779096575,i.styles.borderTopWidth=i.styles.borderRightWidth=i.styles.borderBottomWidth=i.styles.borderLeftWidth=1,i.styles.borderTopStyle=i.styles.borderRightStyle=i.styles.borderBottomStyle=i.styles.borderLeftStyle=1,i.styles.backgroundClip=[0],i.styles.backgroundOrigin=[0],i.bounds=function(A){return A.width>A.height?new n(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new n(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A}(i.bounds)),i.type){case as:i.styles.borderTopRightRadius=i.styles.borderTopLeftRadius=i.styles.borderBottomRightRadius=i.styles.borderBottomLeftRadius=ns;break;case cs:i.styles.borderTopRightRadius=i.styles.borderTopLeftRadius=i.styles.borderBottomRightRadius=i.styles.borderBottomLeftRadius=os}return i}return e(t,A),t}(Fi),gs=function(A){function t(e,t){var i=A.call(this,e,t)||this,s=t.options[t.selectedIndex||0];return i.value=s&&s.text||"",i}return e(t,A),t}(Fi),us=function(A){function t(e,t){var i=A.call(this,e,t)||this;return i.value=t.value,i}return e(t,A),t}(Fi),Bs=function(A){function t(e,t){var i=A.call(this,e,t)||this;i.src=t.src,i.width=parseInt(t.width,10)||0,i.height=parseInt(t.height,10)||0,i.backgroundColor=i.styles.backgroundColor;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement){i.tree=fs(e,t.contentWindow.document.documentElement);var s=t.contentWindow.document.documentElement?Ce(e,getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):Qe.TRANSPARENT,r=t.contentWindow.document.body?Ce(e,getComputedStyle(t.contentWindow.document.body).backgroundColor):Qe.TRANSPARENT;i.backgroundColor=he(s)?he(r)?i.styles.backgroundColor:r:s}}catch(y){}return i}return e(t,A),t}(Fi),ps=["OL","UL","MENU"],ws=function(A,e,t,i){for(var s=e.firstChild,r=void 0;s;s=r)if(r=s.nextSibling,Fs(s)&&s.data.trim().length>0)t.textNodes.push(new Xi(A,s,t.styles));else if(Us(s))if(Ks(s)&&s.assignedNodes)s.assignedNodes().forEac
vendor: 2,416 bytes, line 19
19h(function(e){return ws(A,e,t,i)});else{var n=ms(A,s);n.styles.isVisible()&&(Cs(s,n,i)?n.flags|=4:Qs(n.styles)&&(n.flags|=2),-1!==ps.indexOf(s.tagName)&&(n.flags|=8),t.elements.push(n),s.shadowRoot?ws(A,s.shadowRoot,n,i):!Ms(s)&&!_s(s)&&!Ls(s)&&ws(A,s,n,i))}},ms=function(A,e){return ks(e)?new es(A,e):Es(e)?new ts(A,e):_s(e)?new is(A,e):vs(e)?new ss(A,e):Is(e)?new rs(A,e):xs(e)?new hs(A,e):Ls(e)?new gs(A,e):Ms(e)?new us(A,e):Ds(e)?new Bs(A,e):new Fi(A,e)},fs=function(A,e){var t=ms(A,e);return t.flags|=4,ws(A,e,t,t),t},Cs=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Hs(A)&&t.styles.isTransparent()},Qs=function(A){return A.isPositioned()||A.isFloating()},Fs=function(A){return A.nodeType===Node.TEXT_NODE},Us=function(A){return A.nodeType===Node.ELEMENT_NODE},bs=function(A){return Us(A)&&void 0!==A.style&&!ys(A)},ys=function(A){return"object"==typeof A.className},vs=function(A){return"LI"===A.tagName},Is=function(A){return"OL"===A.tagName},xs=function(A){return"INPUT"===A.tagName},_s=function(A){return"svg"===A.tagName},Hs=function(A){return"BODY"===A.tagName},Es=function(A){return"CANVAS"===A.tagName},Ts=function(A){return"VIDEO"===A.tagName},ks=function(A){return"IMG"===A.tagName},Ds=function(A){return"IFRAME"===A.tagName},Ss=function(A){return"STYLE"===A.tagName},Ms=function(A){return"TEXTAREA"===A.tagName},Ls=function(A){return"SELECT"===A.tagName},Ks=function(A){return"SLOT"===A.tagName},Os=function(A){return A.tagName.indexOf("-")>0},Zs=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},A.prototype.getCounterValues=function(A){return this.counters[A]||[]},A.prototype.pop=function(A){var e=this;A.forEach(function(A){return e.counters[A].pop()})},A.prototype.parse=function(A){var e=this,t=A.counterIncrement,i=A.counterReset,s=!0;null!==t&&t.forEach(function(A){var t=e.counters[A.counter];t&&0!==A.increment&&(s=!1,t.length||t.push(1),t[Math.max(0,t.length-1)]+=A.increment)});var r=[];return s&&i.forEach(function(A){var t=e.counters[A.counter];r.push(A.counter),t||(t=e.counters[A.counter]=[]),t.push(A.reset)}),r},A}(),Ps={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Rs={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,9
vendor: 15,804 bytes, line 19
190,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Ns={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},Js={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},Gs=function(A,e,t,i,s,r){return A<e||A>t?Xs(A,s,r.length>0):i.integers.reduce(function(e,t,s){for(;A>=t;)A-=t,e+=i.values[s];return e},"")+r},Vs=function(A,e,t,i){var s="";do{t||A--,s=i(A)+s,A/=e}while(A*e>=e);return s},Ys=function(A,e,t,i,s){var r=t-e+1;return(A<0?"-":"")+(Vs(Math.abs(A),r,i,function(A){return c(Math.floor(A%r)+e)})+s)},$s=function(A,e,t){void 0===t&&(t=". ");var i=e.length;return Vs(Math.abs(A),i,!1,function(A){return e[Math.floor(A%i)]})+t},Ws=function(A,e,t,i,s,r){if(A<-9999||A>9999)return Xs(A,4,s.length>0);var n=Math.abs(A),o=s;if(0===n)return e[0]+o;for(var a=0;n>0&&a<=4;a++){var c=n%10;0===c&&ni(r,1)&&""!==o?o=e[c]+o:c>1||1===c&&0===a||1===c&&1===a&&ni(r,2)||1===c&&1===a&&ni(r,4)&&A>100||1===c&&a>1&&ni(r,8)?o=e[c]+(a>0?t[a-1]:"")+o:1===c&&a>0&&(o=t[a-1]+o),n=Math.floor(n/10)}return(A<0?i:"")+o},qs="\ub9c8\uc774\ub108\uc2a4",Xs=function(A,e,t){var i=t?". ":"",s=t?"\u3001":"",r=t?", ":"",n=t?" ":"";switch(e){case 0:return"\u2022"+n;case 1:return"\u25e6"+n;case 2:return"\u25fe"+n;case 5:var o=Ys(A,48,57,!0,i);return o.length<4?"0"+o:o;case 4:return $s(A,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",s);case 6:return Gs(A,1,3999,Ps,3,i).toLowerCase();case 7:return Gs(A,1,3999,Ps,3,i);case 8:return Ys(A,945,969,!1,i);case 9:return Ys(A,97,122,!1,i);case 10:return Ys(A,65,90,!1,i);case 11:return Ys(A,1632,1641,!0,i);case 12:case 49:return Gs(A,1,9999,Rs,3,i);case 35:return Gs(A,1,9999,Rs,3,i).toLowerCase();case 13:return Ys(A,2534,2543,!0,i);case 14:case 30:return Ys(A,6112,6121,!0,i);case 15:return $s(A,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",s);case 16:return $s(A,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",s);case 17:case 48:return Ws(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8ca0",s,14);case 47:return Ws(A,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8ca0",s,15);case 42:return Ws(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8d1f",s,14);case 41:return Ws(A,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8d1f",s,15);case 26:return Ws(A,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",s,0);case 25:return Ws(A,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",s,7);case 31:return Ws(A,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc",qs,r,7);case 33:return Ws(A,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c",qs,r,0);case 32:return Ws(A,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343",qs,r,7);case 18:return Ys(A,2406,2415,!0,i);case 20:return Gs(A,1,19999,Js,3,i);case 21:return Ys(A,2790,2799,!0,i);case 22:return Ys(A,2662,2671,!0,i);case 22:return Gs(A,1,10999,Ns,3,i);case 23:return $s(A,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case 24:return $s(A,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case 27:return Ys(A,3302,3311,!0,i);case 28:return $s(A,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",s);case 29:return $s(A,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",s);case 34:return Ys(A,3792,3801,!0,i);case 37:return Ys(A,6160,6169,!0,i);case 38:return Ys(A,4160,4169,!0,i);case 39:return Ys(A,2918,2927,!0,i);case 40:return Ys(A,1776,1785,!0,i);case 43:return Ys(A,3046,3055,!0,i);case 44:return Ys(A,3174,3183,!0,i);case 45:return Ys(A,3664,3673,!0,i);case 46:return Ys(A,3872,3881,!0,i);default:return Ys(A,48,57,!0,i)}},zs="data-html2canvas-ignore",js=function(){function A(A,e,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new Zs,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(A,e){var t=this,r=er(A,e);if(!r.contentWindow)return Promise.reject("Unable to find iframe window");var n=A.defaultView.pageXOffset,o=A.defaultView.pageYOffset,a=r.contentWindow,c=a.document,l=sr(r).then(function(){return i(t,void 0,void 0,function(){var A,t;return s(this,function(i){switch(i.label){case 0:return this.scrolledElements.forEach(cr),a&&(a.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(a.scrollY!==e.top||a.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-e.left,a.scrollY-e.top,0,0))),A=this.options.onclone,void 0===(t=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:i.sent(),i.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,ir(c)]:[3,4];case 3:i.sent(),i.label=4;case 4:return"function"==typeof A?[2,Promise.resolve().then(function(){return A(c,t)}).then(function(){return r})]:[2,r]}})})});return c.open(),c.write(or(document.doctype)+"<html></html>"),ar(this.referenceElement.ownerDocument,n,o),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),l},A.prototype.createElementClone=function(A){if(Qi(A,2),Es(A))return this.createCanvasClone(A);if(Ts(A))return this.createVideoClone(A);if(Ss(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return ks(e)&&(ks(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),Os(e)?this.createCustomElementClone(e):e},A.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return nr(A.style,e),e},A.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var t=[].slice.call(e.cssRules,0).reduce(function(A,e){return e&&"string"==typeof e.cssText?A+e.cssText:A},""),i=A.cloneNode(!1);return i.textContent=t,i}}catch(s){if(this.context.logger.error("Unable to access cssRules property",s),"SecurityError"!==s.name)throw s}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){var e;if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch(a){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var i=A.cloneNode(!1);try{i.width=A.width,i.height=A.height;var s=A.getContext("2d"),r=i.getContext("2d");if(r)if(!this.options.allowTaint&&s)r.putImageData(s.getImageData(0,0,A.width,A.height),0,0);else{var n=null!==(e=A.getContext("webgl2"))&&void 0!==e?e:A.getContext("webgl");if(n){var o=n.getContextAttributes();!1===(null==o?void 0:o.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}r.drawImage(A,0,0)}return i}catch(a){this.context.logger.info("Unable to clone canvas as it is tainted",A)}return i},A.prototype.createVideoClone=function(A){var e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;var t=e.getContext("2d");try{return t&&(t.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||t.getImageData(0,0,e.width,e.height)),e}catch(s){this.context.logger.info("Unable to clone video as it is tainted",A)}var i=A.ownerDocument.createElement("canvas");return i.width=A.offsetWidth,i.height=A.offsetHeight,i},A.prototype.appendChildNode=function(A,e,t){(!Us(e)||!function(A){return"SCRIPT"===A.tagName}(e)&&!e.hasAttribute(zs)&&("function"!=typeof this.options.ignoreElements||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!Us(e)||!Ss(e))&&A.appendChild(this.cloneNode(e,t))},A.prototype.cloneChildNodes=function(A,e,t){for(var i=this,s=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;s;s=s.nextSibling)if(Us(s)&&Ks(s)&&"function"==typeof s.assignedNodes){var r=s.assignedNodes();r.length&&r.forEach(function(A){return i.appendChildNode(e,A,t)})}else this.appendChildNode(e,s,t)},A.prototype.cloneNode=function(A,e){if(Fs(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&Us(A)&&(bs(A)||ys(A))){var i=this.createElementClone(A);i.style.transitionProperty="none";var s=t.getComputedStyle(A),r=t.getComputedStyle(A,":before"),n=t.getComputedStyle(A,":after");this.referenceElement===A&&bs(i)&&(this.clonedReferenceElement=i),Hs(i)&&gr(i);var o=this.counters.parse(new fi(this.context,s)),a=this.resolvePseudoContent(A,i,r,Ar.BEFORE);Os(A)&&(e=!0),Ts(A)||this.cloneChildNodes(A,i,e),a&&i.insertBefore(a,i.firstChild);var c=this.resolvePseudoContent(A,i,n,Ar.AFTER);return c&&i.appendChild(c),this.counters.pop(o),(s&&(this.options.copyStyles||ys(A))&&!Ds(A)||e)&&nr(s,i),(0!==A.scrollTop||0!==A.scrollLeft)&&this.scrolledElements.push([i,A.scrollLeft,A.scrollTop]),(Ms(A)||Ls(A))&&(Ms(i)||Ls(i))&&(i.value=A.value),i}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,e,t,i){var s=this;if(t){var r=t.content,n=e.ownerDocument;if(n&&r&&"none"!==r&&"-moz-alt-content"!==r&&"none"!==t.display){this.counters.parse(new fi(this.context,t));var o=new mi(this.context,t),a=n.createElement("html2canvaspseudoelement");nr(t,a),o.content.forEach(function(e){if(0===e.type)a.appendChild(n.createTextNode(e.value));else if(22===e.type){var t=n.createElement("img");t.src=e.value,t.style.opacity="1",a.appendChild(t)}else if(18===e.type){if("attr"===e.name){var i=e.values.filter(VA);i.length&&a.appendChild(n.createTextNode(A.getAttribute(i[0].value)||""))}else if("counter"===e.name){var r=e.values.filter(qA),c=r[1];if((h=r[0])&&VA(h)){var l=s.counters.getCounterValue(h.value),d=c&&VA(c)?yt.parse(s.context,c.value):3;a.appendChild(n.createTextNode(Xs(l,d,!1)))}}else if("counters"===e.name){var h,g=e.values.filter(qA),u=g[1];if(c=g[2],(h=g[0])&&VA(h)){var B=s.counters.getCounterValues(h.value),p=c&&VA(c)?yt.parse(s.context,c.value):3,w=u&&0===u.type?u.value:"",m=B.map(function(A){return Xs(A,p,!1)}).join(w);a.appendChild(n.createTextNode(m))}}}else if(20===e.type)switch(e.value){case"open-quote":a.appendChild(n.createTextNode(hi(o.quotes,s.quoteDepth++,!0)));break;case"close-quote":a.appendChild(n.createTextNode(hi(o.quotes,--s.quoteDepth,!1)));break;default:a.appendChild(n.createTextNode(e.value))}}),a.className=lr+" "+dr;var c=i===Ar.BEFORE?" "+lr:" "+dr;return ys(e)?e.className.baseValue+=c:e.className+=c,a}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}(),Ar=(()=>{return(A=Ar||(Ar={}))[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER",Ar;var A})(),er=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(zs,"true"),A.body.appendChild(t),t},tr=function(A){return new Promise(function(e){A.complete?e():A.src?(A.onload=e,A.onerror=e):e()})},ir=function(A){return Promise.all([].slice.call(A.images,0).map(tr))},sr=function(A){return new Promise(function(e,t){var i=A.contentWindow;if(!i)return t("No window assigned for iframe");var s=i.document;i.onload=A.onload=function(){i.onload=A.onload=null;var t=setInterval(function(){s.body.childNodes.length>0&&"complete"===s.readyState&&(clearInterval(t),e(A))},50)}})},rr=["all","d","content"],nr=function(A,e){for(var t=A.length-1;t>=0;t--){var i=A.item(t);-1===rr.indexOf(i)&&e.style.setProperty(i,A.getPropertyValue(i))}return e},or=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},ar=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},cr=function(A){var e=A[0],t=A[2];e.scrollLeft=A[1],e.scrollTop=t},lr="___html2canvas___pseudoelement_before",dr="___html2canvas___pseudoelement_after",hr='{\n    content: "" !important;\n    display: none !important;\n}',gr=function(A){ur(A,"."+lr+":before"+hr+"\n         ."+dr+":after"+hr)},ur=function(A,e){var t=A.ownerDocument;if(t){var i=t.createElement("style");i.textContent=e,A.appendChild(i)}},Br=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),pr=function(){function A(A,e){this.context=A,this._options=e,this._cache={}}return A.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)||(Ur(A)||Cr(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),e},A.prototype.match=function(A){return this._cache[A]},A.prototype.loadImage=function(A){return i(this,void 0,void 0,function(){var e,t,i,r,n=this;return s(this,function(s){switch(s.label){case 0:return e=Br.isSameOrigin(A),t=!Qr(A)&&!0===this._options.useCORS&&Ni.SUPPORT_CORS_IMAGES&&!e,i=!Qr(A)&&!e&&!Ur(A)&&"string"==typeof this._options.proxy&&Ni.SUPPORT_CORS_XHR&&!t,e||!1!==this._options.allowTaint||Qr
vendor: 7,078 bytes, line 19
19(A)||Ur(A)||i||t?(r=A,i?[4,this.proxy(r)]:[3,2]):[2];case 1:r=s.sent(),s.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(A,e){var i=new Image;i.onload=function(){return A(i)},i.onerror=e,(Fr(r)||t)&&(i.crossOrigin="anonymous"),i.src=r,!0===i.complete&&setTimeout(function(){return A(i)},500),n._options.imageTimeout>0&&setTimeout(function(){return e("Timed out ("+n._options.imageTimeout+"ms) loading image")},n._options.imageTimeout)})];case 3:return[2,s.sent()]}})})},A.prototype.has=function(A){return void 0!==this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var e=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var i=A.substring(0,256);return new Promise(function(s,r){var n=Ni.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=function(){if(200===o.status)if("text"===n)s(o.response);else{var A=new FileReader;A.addEventListener("load",function(){return s(A.result)},!1),A.addEventListener("error",function(A){return r(A)},!1),A.readAsDataURL(o.response)}else r("Failed to proxy resource "+i+" with status code "+o.status)},o.onerror=r;var a=t.indexOf("?")>-1?"&":"?";if(o.open("GET",""+t+a+"url="+encodeURIComponent(A)+"&responseType="+n),"text"!==n&&o instanceof XMLHttpRequest&&(o.responseType=n),e._options.imageTimeout){var c=e._options.imageTimeout;o.timeout=c,o.ontimeout=function(){return r("Timed out ("+c+"ms) proxying "+i)}}o.send()})},A}(),wr=/^data:image\/svg\+xml/i,mr=/^data:image\/.*;base64,/i,fr=/^data:image\/.*/i,Cr=function(A){return Ni.SUPPORT_SVG_DRAWING||!br(A)},Qr=function(A){return fr.test(A)},Fr=function(A){return mr.test(A)},Ur=function(A){return"blob"===A.substr(0,4)},br=function(A){return"svg"===A.substr(-3).toLowerCase()||wr.test(A)},yr=function(){function A(A,e){this.type=0,this.x=A,this.y=e}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),vr=function(A,e,t){return new yr(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},Ir=function(){function A(A,e,t,i){this.type=1,this.start=A,this.startControl=e,this.endControl=t,this.end=i}return A.prototype.subdivide=function(e,t){var i=vr(this.start,this.startControl,e),s=vr(this.startControl,this.endControl,e),r=vr(this.endControl,this.end,e),n=vr(i,s,e),o=vr(s,r,e),a=vr(n,o,e);return t?new A(this.start,i,n,a):new A(a,o,r,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),xr=function(A){return 1===A.type},_r=function(A){var e=A.styles,t=A.bounds,i=re(e.borderTopLeftRadius,t.width,t.height),s=i[0],r=i[1],n=re(e.borderTopRightRadius,t.width,t.height),o=n[0],a=n[1],c=re(e.borderBottomRightRadius,t.width,t.height),l=c[0],d=c[1],h=re(e.borderBottomLeftRadius,t.width,t.height),g=h[0],u=h[1],B=[];B.push((s+o)/t.width),B.push((g+l)/t.width),B.push((r+u)/t.height),B.push((a+d)/t.height);var p=Math.max.apply(Math,B);p>1&&(s/=p,r/=p,o/=p,a/=p,l/=p,d/=p,g/=p,u/=p);var w=t.width-o,m=t.height-d,f=t.width-l,C=t.height-u,Q=e.borderTopWidth,F=e.borderRightWidth,U=e.borderBottomWidth,b=e.borderLeftWidth,y=ne(e.paddingTop,A.bounds.width),v=ne(e.paddingRight,A.bounds.width),I=ne(e.paddingBottom,A.bounds.width),x=ne(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||r>0?Er(t.left+b/3,t.top+Q/3,s-b/3,r-Q/3,Hr.TOP_LEFT):new yr(t.left+b/3,t.top+Q/3),this.topRightBorderDoubleOuterBox=s>0||r>0?Er(t.left+w,t.top+Q/3,o-F/3,a-Q/3,Hr.TOP_RIGHT):new yr(t.left+t.width-F/3,t.top+Q/3),this.bottomRightBorderDoubleOuterBox=l>0||d>0?Er(t.left+f,t.top+m,l-F/3,d-U/3,Hr.BOTTOM_RIGHT):new yr(t.left+t.width-F/3,t.top+t.height-U/3),this.bottomLeftBorderDoubleOuterBox=g>0||u>0?Er(t.left+b/3,t.top+C,g-b/3,u-U/3,Hr.BOTTOM_LEFT):new yr(t.left+b/3,t.top+t.height-U/3),this.topLeftBorderDoubleInnerBox=s>0||r>0?Er(t.left+2*b/3,t.top+2*Q/3,s-2*b/3,r-2*Q/3,Hr.TOP_LEFT):new yr(t.left+2*b/3,t.top+2*Q/3),this.topRightBorderDoubleInnerBox=s>0||r>0?Er(t.left+w,t.top+2*Q/3,o-2*F/3,a-2*Q/3,Hr.TOP_RIGHT):new yr(t.left+t.width-2*F/3,t.top+2*Q/3),this.bottomRightBorderDoubleInnerBox=l>0||d>0?Er(t.left+f,t.top+m,l-2*F/3,d-2*U/3,Hr.BOTTOM_RIGHT):new yr(t.left+t.width-2*F/3,t.top+t.height-2*U/3),this.bottomLeftBorderDoubleInnerBox=g>0||u>0?Er(t.left+2*b/3,t.top+C,g-2*b/3,u-2*U/3,Hr.BOTTOM_LEFT):new yr(t.left+2*b/3,t.top+t.height-2*U/3),this.topLeftBorderStroke=s>0||r>0?Er(t.left+b/2,t.top+Q/2,s-b/2,r-Q/2,Hr.TOP_LEFT):new yr(t.left+b/2,t.top+Q/2),this.topRightBorderStroke=s>0||r>0?Er(t.left+w,t.top+Q/2,o-F/2,a-Q/2,Hr.TOP_RIGHT):new yr(t.left+t.width-F/2,t.top+Q/2),this.bottomRightBorderStroke=l>0||d>0?Er(t.left+f,t.top+m,l-F/2,d-U/2,Hr.BOTTOM_RIGHT):new yr(t.left+t.width-F/2,t.top+t.height-U/2),this.bottomLeftBorderStroke=g>0||u>0?Er(t.left+b/2,t.top+C,g-b/2,u-U/2,Hr.BOTTOM_LEFT):new yr(t.left+b/2,t.top+t.height-U/2),this.topLeftBorderBox=s>0||r>0?Er(t.left,t.top,s,r,Hr.TOP_LEFT):new yr(t.left,t.top),this.topRightBorderBox=o>0||a>0?Er(t.left+w,t.top,o,a,Hr.TOP_RIGHT):new yr(t.left+t.width,t.top),this.bottomRightBorderBox=l>0||d>0?Er(t.left+f,t.top+m,l,d,Hr.BOTTOM_RIGHT):new yr(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=g>0||u>0?Er(t.left,t.top+C,g,u,Hr.BOTTOM_LEFT):new yr(t.left,t.top+t.height),this.topLeftPaddingBox=s>0||r>0?Er(t.left+b,t.top+Q,Math.max(0,s-b),Math.max(0,r-Q),Hr.TOP_LEFT):new yr(t.left+b,t.top+Q),this.topRightPaddingBox=o>0||a>0?Er(t.left+Math.min(w,t.width-F),t.top+Q,w>t.width+F?0:Math.max(0,o-F),Math.max(0,a-Q),Hr.TOP_RIGHT):new yr(t.left+t.width-F,t.top+Q),this.bottomRightPaddingBox=l>0||d>0?Er(t.left+Math.min(f,t.width-b),t.top+Math.min(m,t.height-U),Math.max(0,l-F),Math.max(0,d-U),Hr.BOTTOM_RIGHT):new yr(t.left+t.width-F,t.top+t.height-U),this.bottomLeftPaddingBox=g>0||u>0?Er(t.left+b,t.top+Math.min(C,t.height-U),Math.max(0,g-b),Math.max(0,u-U),Hr.BOTTOM_LEFT):new yr(t.left+b,t.top+t.height-U),this.topLeftContentBox=s>0||r>0?Er(t.left+b+x,t.top+Q+y,Math.max(0,s-(b+x)),Math.max(0,r-(Q+y)),Hr.TOP_LEFT):new yr(t.left+b+x,t.top+Q+y),this.topRightContentBox=o>0||a>0?Er(t.left+Math.min(w,t.width+b+x),t.top+Q+y,w>t.width+b+x?0:o-b+x,a-(Q+y),Hr.TOP_RIGHT):new yr(t.left+t.width-(F+v),t.top+Q+y),this.bottomRightContentBox=l>0||d>0?Er(t.left+Math.min(f,t.width-(b+x)),t.top+Math.min(m,t.height+Q+y),Math.max(0,l-(F+v)),d-(U+I),Hr.BOTTOM_RIGHT):new yr(t.left+t.width-(F+v),t.top+t.height-(U+I)),this.bottomLeftContentBox=g>0||u>0?Er(t.left+b+x,t.top+C,Math.max(0,g-(b+x)),u-(U+I),Hr.BOTTOM_LEFT):new yr(t.left+b+x,t.top+t.height-(U+I))},Hr=(()=>{return(A=Hr||(Hr={}))[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT",Hr;var A})(),Er=function(A,e,t,i,s){var r=(Math.sqrt(2)-1)/3*4,n=t*r,o=i*r,a=A+t,c=e+i;switch(s){case Hr.TOP_LEFT:return new Ir(new yr(A,c),new yr(A,c-o),new yr(a-n,e),new yr(a,e));case Hr.TOP_RIGHT:return new Ir(new yr(A,e),new yr(A+n,e),new yr(a,c-o),new yr(a,c));
vendor: 5,349 bytes, line 19
19case Hr.BOTTOM_RIGHT:return new Ir(new yr(a,e),new yr(a,e+o),new yr(A+n,c),new yr(A,c));default:return new Ir(new yr(a,c),new yr(a-n,c),new yr(A,e+o),new yr(A,e))}},Tr=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},kr=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},Dr=function(A,e,t){this.offsetX=A,this.offsetY=e,this.matrix=t,this.type=0,this.target=6},Sr=function(A,e){this.path=A,this.target=e,this.type=1},Mr=function(A){this.opacity=A,this.type=2,this.target=6},Lr=function(A){return 1===A.type},Kr=function(A,e){return A.length===e.length&&A.some(function(A,t){return A===e[t]})},Or=function(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},Zr=function(){function A(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new _r(this.container),this.container.styles.opacity<1&&this.effects.push(new Mr(this.container.styles.opacity)),null!==this.container.styles.transform&&this.effects.push(new Dr(this.container.bounds.left+this.container.styles.transformOrigin[0].number,this.container.bounds.top+this.container.styles.transformOrigin[1].number,this.container.styles.transform)),0!==this.container.styles.overflowX){var t=Tr(this.curves),i=kr(this.curves);Kr(t,i)?this.effects.push(new Sr(t,6)):(this.effects.push(new Sr(t,2)),this.effects.push(new Sr(i,4)))}}return A.prototype.getEffects=function(A){for(var e=-1===[2,3].indexOf(this.container.styles.position),t=this.parent,i=this.effects.slice(0);t;){var s=t.effects.filter(function(A){return!Lr(A)});if(e||0!==t.container.styles.position||!t.parent){if(i.unshift.apply(i,s),e=-1===[2,3].indexOf(t.container.styles.position),0!==t.container.styles.overflowX){var r=Tr(t.curves),n=kr(t.curves);Kr(r,n)||i.unshift(new Sr(n,6))}}else i.unshift.apply(i,s);t=t.parent}return i.filter(function(e){return ni(e.target,A)})},A}(),Pr=function(A,e,t,i){A.container.elements.forEach(function(s){var r=ni(s.flags,4),n=ni(s.flags,2),o=new Zr(s,A);ni(s.styles.display,2048)&&i.push(o);var a=ni(s.flags,8)?[]:i;if(r||n){var c=r||s.styles.isPositioned()?t:e,l=new Or(o);if(s.styles.isPositioned()||s.styles.opacity<1||s.styles.isTransformed()){var d=s.styles.zIndex.order;if(d<0){var h=0;c.negativeZIndex.some(function(A,e){return d>A.element.container.styles.zIndex.order?(h=e,!1):h>0}),c.negativeZIndex.splice(h,0,l)}else if(d>0){var g=0;c.positiveZIndex.some(function(A,e){return d>=A.element.container.styles.zIndex.order?(g=e+1,!1):g>0}),c.positiveZIndex.splice(g,0,l)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else s.styles.isFloating()?c.nonPositionedFloats.push(l):c.nonPositionedInlineLevel.push(l);Pr(o,l,r?l:t,a)}else s.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),Pr(o,e,t,a);ni(s.flags,8)&&Rr(s,a)})},Rr=function(A,e){for(var t=A instanceof rs?A.start:1,i=A instanceof rs&&A.reversed,s=0;s<e.length;s++){var r=e[s];r.container instanceof ss&&"number"==typeof r.container.value&&0!==r.container.value&&(t=r.container.value),r.listValue=Xs(t,r.container.styles.listStyleType,!0),t+=i?-1:1}},Nr=function(A,e){switch(e){case 0:return Gr(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return Gr(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return Gr(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);default:return Gr(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},Jr=function(A,e){var t=[];return xr(A)?t.push(A.subdivide(.5,!1)):t.push(A),xr(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},Gr=function(A,e,t,i){var s=[];return xr(A)?s.push(A.subdivide(.5,!1)):s.push(A),xr(t)?s.push(t.subdivide(.5,!0)):s.push(t),xr(i)?s.push(i.subdivide(.5,!0).reverse()):s.push(i),xr(e)?s.push(e.subdivide(.5,!1).reverse()):s.push(e),s},Vr=function(A){var e=A.styles;return A.bounds.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},Yr=function(A){var e=A.styles,t=A.bounds,i=ne(e.paddingLeft,t.width),s=ne(e.paddingRight,t.width),r=ne(e.paddingTop,t.width),n=ne(e.paddingBottom,t.width);return t.add(i+e.borderLeftWidth,r+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+i+s),-(e.borderTopWidth+e.borderBottomWidth+r+n))},$r=function(A,e,t){var i=function(A,e){return 0===A?e.bounds:2===A?Yr(e):Vr(e)}(zr(A.styles.backgroundOrigin,e),A),s=function(A,e){return 0===A?e.bounds:2===A?Yr(e):Vr(e)}(zr(A.styles.backgroundClip,e),A),r=Xr(zr(A.styles.backgroundSize,e),t,i),n=r[0],o=r[1],a=re(zr(A.styles.backgroundPosition,e),i.width-n,i.height-o);return[jr(zr(A.styles.backgroundRepeat,e),a,r,i,s),Math.round(i.left+a[0]),Math.round(i.top+a[1]),n,o]},Wr=function(A){return VA(A)&&A.value===Je.AUTO},qr=function(A){return"number"==typeof A},Xr=function(A,e,t){var i=e[0],s=e[1],r=e[2],n=A[0],o=A[1];if(!n)return[0,0];if(Ae(n)&&o&&Ae(o))return[ne(n,t.width),ne(o,t.height)];var a=qr(r);if(VA(n)&&(n.value===Je.CONTAIN||n.value===Je.COVER))return qr(r)?t.width/t.height<r!=(n.value===Je.COVER)?[t.width,t.width/r]:[t.height*r,t.he
vendor: 4,449 bytes, line 19
19ight]:[t.width,t.height];var c=qr(i),l=qr(s),d=c||l;if(Wr(n)&&(!o||Wr(o)))return c&&l?[i,s]:a||d?d&&a?[c?i:s*r,l?s:i/r]:[c?i:t.width,l?s:t.height]:[t.width,t.height];if(a){var h=0,g=0;return Ae(n)?h=ne(n,t.width):Ae(o)&&(g=ne(o,t.height)),Wr(n)?h=g*r:(!o||Wr(o))&&(g=h/r),[h,g]}var u=null,B=null;if(Ae(n)?u=ne(n,t.width):o&&Ae(o)&&(B=ne(o,t.height)),null!==u&&(!o||Wr(o))&&(B=c&&l?u/i*s:t.height),null!==B&&Wr(n)&&(u=c&&l?B/s*i:t.width),null!==u&&null!==B)return[u,B];throw new Error("Unable to calculate background-size for element")},zr=function(A,e){var t=A[e];return void 0===t?A[0]:t},jr=function(A,e,t,i,s){var r=e[0],n=e[1],o=t[0],a=t[1];switch(A){case 2:return[new yr(Math.round(i.left),Math.round(i.top+n)),new yr(Math.round(i.left+i.width),Math.round(i.top+n)),new yr(Math.round(i.left+i.width),Math.round(a+i.top+n)),new yr(Math.round(i.left),Math.round(a+i.top+n))];case 3:return[new yr(Math.round(i.left+r),Math.round(i.top)),new yr(Math.round(i.left+r+o),Math.round(i.top)),new yr(Math.round(i.left+r+o),Math.round(i.height+i.top)),new yr(Math.round(i.left+r),Math.round(i.height+i.top))];case 1:return[new yr(Math.round(i.left+r),Math.round(i.top+n)),new yr(Math.round(i.left+r+o),Math.round(i.top+n)),new yr(Math.round(i.left+r+o),Math.round(i.top+n+a)),new yr(Math.round(i.left+r),Math.round(i.top+n+a))];default:return[new yr(Math.round(s.left),Math.round(s.top)),new yr(Math.round(s.left+s.width),Math.round(s.top)),new yr(Math.round(s.left+s.width),Math.round(s.height+s.top)),new yr(Math.round(s.left),Math.round(s.height+s.top))]}},An="Hidden Text",en=function(){function A(A){this._data={},this._document=A}return A.prototype.parseMetrics=function(A,e){var t=this._document.createElement("div"),i=this._document.createElement("img"),s=this._document.createElement("span"),r=this._document.body;t.style.visibility="hidden",t.style.fontFamily=A,t.style.fontSize=e,t.style.margin="0",t.style.padding="0",t.style.whiteSpace="nowrap",r.appendChild(t),i.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",i.width=1,i.height=1,i.style.margin="0",i.style.padding="0",i.style.verticalAlign="baseline",s.style.fontFamily=A,s.style.fontSize=e,s.style.margin="0",s.style.padding="0",s.appendChild(this._document.createTextNode(An)),t.appendChild(s),t.appendChild(i);var n=i.offsetTop-s.offsetTop+2;t.removeChild(s),t.appendChild(this._document.createTextNode(An)),t.style.lineHeight="normal",i.style.verticalAlign="super";var o=i.offsetTop-t.offsetTop+2;return r.removeChild(t),{baseline:n,middle:o}},A.prototype.getMetrics=function(A,e){var t=A+" "+e;return void 0===this._data[t]&&(this._data[t]=this.parseMetrics(A,e)),this._data[t]},A}(),tn=function(A,e){this.context=A,this.options=e},sn=function(A){function t(e,t){var i=A.call(this,e,t)||this;return i._activeEffects=[],i.canvas=t.canvas?t.canvas:document.createElement("canvas"),i.ctx=i.canvas.getContext("2d"),t.canvas||(i.canvas.width=Math.floor(t.width*t.scale),i.canvas.height=Math.floor(t.height*t.scale),i.canvas.style.width=t.width+"px",i.canvas.style.height=t.height+"px"),i.fontMetrics=new en(document),i.ctx.scale(i.options.scale,i.options.scale),i.ctx.translate(-t.x,-t.y),i.ctx.textBaseline="bottom",i._activeEffects=[],i.context.logger.debug("Canvas renderer initialized ("+t.width+"x"+t.height+") with scale "+t.scale),i}return e(t,A),t.prototype.applyEffects=function(A){for(var e=this;this._activeEffects.length;)this.popEffect();A.forEach(function(A){return e.applyEffect(A)})},t.prototype.applyEffect=function(A){this.ctx.save(),function(A){return 2===A.type}(A)&&(this.ctx.globalAlpha=A.opacity),function(A){return 0===A.type}(A)&&(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)),Lr(A)&&(this.path(A.path),this.ctx.clip()),this._activeEffects.push(A)},t.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},t.prototype.renderStack=function(A){return i(this,void 0,void 0,function(){return s(this,function(e){switch(e.label){case 0:return A.element.container.styles.isVisible()?[4,this.renderStackContent(A)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}})})},t.prototype.renderNode=function(A){return i(this,void 0,void 0,function(){return s(this,function(e){switch(e.label){case 0:return ni(A.container.flags,16),A.container.styles.isVisible()?[4,this.renderNodeBackgroun
vendor: 17,625 bytes, line 19
19dAndBorders(A)]:[3,3];case 1:return e.sent(),[4,this.renderNodeContent(A)];case 2:e.sent(),e.label=3;case 3:return[2]}})})},t.prototype.renderTextWithLetterSpacing=function(A,e,t){var i=this;0===e?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+t):Yi(A.text).reduce(function(e,s){return i.ctx.fillText(s,e,A.bounds.top+t),e+i.ctx.measureText(s).width},A.bounds.left)},t.prototype.createFontStyle=function(A){var e=A.fontVariant.filter(function(A){return"normal"===A||"small-caps"===A}).join(""),t=cn(A.fontFamily).join(", "),i=JA(A.fontSize)?""+A.fontSize.number+A.fontSize.unit:A.fontSize.number+"px";return[[A.fontStyle,e,A.fontWeight,i,t].join(" "),t,i]},t.prototype.renderTextNode=function(A,e){return i(this,void 0,void 0,function(){var t,i,r,n,o,a,c,l=this;return s(this,function(s){return t=this.createFontStyle(e),i=t[1],r=t[2],this.ctx.font=t[0],this.ctx.direction=1===e.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",n=this.fontMetrics.getMetrics(i,r),o=n.baseline,a=n.middle,c=e.paintOrder,A.textBounds.forEach(function(A){c.forEach(function(t){switch(t){case 0:l.ctx.fillStyle=ge(e.color),l.renderTextWithLetterSpacing(A,e.letterSpacing,o);var i=e.textShadow;i.length&&A.text.trim().length&&(i.slice(0).reverse().forEach(function(t){l.ctx.shadowColor=ge(t.color),l.ctx.shadowOffsetX=t.offsetX.number*l.options.scale,l.ctx.shadowOffsetY=t.offsetY.number*l.options.scale,l.ctx.shadowBlur=t.blur.number,l.renderTextWithLetterSpacing(A,e.letterSpacing,o)}),l.ctx.shadowColor="",l.ctx.shadowOffsetX=0,l.ctx.shadowOffsetY=0,l.ctx.shadowBlur=0),e.textDecorationLine.length&&(l.ctx.fillStyle=ge(e.textDecorationColor||e.color),e.textDecorationLine.forEach(function(e){switch(e){case 1:l.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top+o),A.bounds.width,1);break;case 2:l.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top),A.bounds.width,1);break;case 3:l.ctx.fillRect(A.bounds.left,Math.ceil(A.bounds.top+a),A.bounds.width,1)}}));break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(l.ctx.strokeStyle=ge(e.webkitTextStrokeColor),l.ctx.lineWidth=e.webkitTextStrokeWidth,l.ctx.lineJoin=window.chrome?"miter":"round",l.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+o)),l.ctx.strokeStyle="",l.ctx.lineWidth=0,l.ctx.lineJoin="miter"}})}),[2]})})},t.prototype.renderReplacedElement=function(A,e,t){if(t&&A.intrinsicWidth>0&&A.intrinsicHeight>0){var i=Yr(A),s=kr(e);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(t,0,0,A.intrinsicWidth,A.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(A){return i(this,void 0,void 0,function(){var e,i,r,o,a,c,l,d,h,g,u,B,p,w,m,f;return s(this,function(s){switch(s.label){case 0:this.applyEffects(A.getEffects(4)),i=A.curves,r=(e=A.container).styles,o=0,a=e.textNodes,s.label=1;case 1:return o<a.length?[4,this.renderTextNode(a[o],r)]:[3,4];case 2:s.sent(),s.label=3;case 3:return o++,[3,1];case 4:if(!(e instanceof es))return[3,8];s.label=5;case 5:return s.trys.push([5,7,,8]),[4,this.context.cache.match(e.src)];case 6:return p=s.sent(),this.renderReplacedElement(e,i,p),[3,8];case 7:return s.sent(),this.context.logger.error("Error loading image "+e.src),[3,8];case 8:if(e instanceof ts&&this.renderReplacedElement(e,i,e.canvas),!(e instanceof is))return[3,12];s.label=9;case 9:return s.trys.push([9,11,,12]),[4,this.context.cache.match(e.svg)];case 10:return p=s.sent(),this.renderReplacedElement(e,i,p),[3,12];case 11:return s.sent(),this.context.logger.error("Error loading svg "+e.svg.substring(0,255)),[3,12];case 12:return e instanceof Bs&&e.tree?[4,new t(this.context,{scale:this.options.scale,backgroundColor:e.backgroundColor,x:0,y:0,width:e.width,height:e.height}).render(e.tree)]:[3,14];case 13:c=s.sent(),e.width&&e.height&&this.ctx.drawImage(c,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height),s.label=14;case 14:if(e instanceof hs&&(l=Math.min(e.bounds.width,e.bounds.height),e.type===as?e.checked&&(this.ctx.save(),this.path([new yr(e.bounds.left+.39363*l,e.bounds.top+.79*l),new yr(e.bounds.left+.16*l,e.bounds.top+.5549*l),new yr(e.bounds.left+.27347*l,e.bounds.top+.44071*l),new yr(e.bounds.left+.39694*l,e.bounds.top+.5649*l),new yr(e.bounds.left+.72983*l,e.bounds.top+.23*l),new yr(e.bounds.left+.84*l,e.bounds.top+.34085*l),new yr(e.bounds.left+.39363*l,e.bounds.top+.79*l)]),this.ctx.fillStyle=ge(ds),this.ctx.fill(),this.ctx.restore()):e.type===cs&&e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(e.bounds.left+l/2,e.bounds.top+l/2,l/4,0,2*Math.PI,!0),this.ctx.fillStyle=ge(ds),this.ctx.fill(),this.ctx.restore())),rn(e)&&e.value.length){switch(d=this.createFontStyle(r),h=this.fontMetrics.getMetrics(m=d[0],d[1]).baseline,this.ctx.font=m,this.ctx.fillStyle=ge(r.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=on(e.styles.textAlign),f=Yr(e),g=0,e.styles.textAlign){case 1:g+=f.width/2;break;case 2:g+=f.width}u=f.add(g,0,0,-f.height/2+1),this.ctx.save(),this.path([new yr(f.left,f.top),new yr(f.left+f.width,f.top),new yr(f.left+f.width,f.top+f.height),new yr(f.left,f.top+f.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Ji(e.value,u),r.letterSpacing,h),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!ni(e.styles.display,2048))return[3,20];if(null===e.styles.listStyleImage)return[3,19];if(0!==(B=e.styles.listStyleImage).type)return[3,18];p=void 0,w=B.url,s.label=15;case 15:return s.trys.push([15,17,,18]),[4,this.context.cache.match(w)];case 16:return p=s.sent(),this.ctx.drawImage(p,e.bounds.left-(p.width+10),e.bounds.top),[3,18];case 17:return s.sent(),this.context.logger.error("Error loading list-style-image "+w),[3,18];case 18:return[3,20];case 19:A.listValue&&-1!==e.styles.listStyleType&&(m=this.createFontStyle(r)[0],this.ctx.font=m,this.ctx.fillStyle=ge(r.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",f=new n(e.bounds.left,e.bounds.top+ne(e.styles.paddingTop,e.bounds.width),e.bounds.width,Ft(r.lineHeight,r.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Ji(A.listValue,f),r.letterSpacing,Ft(r.lineHeight,r.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),s.label=20;case 20:return[2]}})})},t.prototype.renderStackContent=function(A){return i(this,void 0,void 0,function(){var e,t,i,r,n,o,a,c,l,d,h,g,u,B;return s(this,function(s){switch(s.label){case 0:return ni(A.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(A.element)];case 1:s.sent(),e=0,t=A.negativeZIndex,s.label=2;case 2:return e<t.length?[4,this.renderStack(t[e])]:[3,5];case 3:s.sent(),s.label=4;case 4:return e++,[3,2];case 5:return[4,this.renderNodeContent(A.element)];case 6:s.sent(),i=0,r=A.nonInlineLevel,s.label=7;case 7:return i<r.length?[4,this.renderNode(r[i])]:[3,10];case 8:s.sent(),s.label=9;case 9:return i++,[3,7];case 10:n=0,o=A.nonPositionedFloats,s.label=11;case 11:return n<o.length?[4,this.renderStack(o[n])]:[3,14];case 12:s.sent(),s.label=13;case 13:return n++,[3,11];case 14:a=0,c=A.nonPositionedInlineLevel,s.label=15;case 15:return a<c.length?[4,this.renderStack(c[a])]:[3,18];case 16:s.sent(),s.label=17;case 17:return a++,[3,15];case 18:l=0,d=A.inlineLevel,s.label=19;case 19:return l<d.length?[4,this.renderNode(d[l])]:[3,22];case 20:s.sent(),s.label=21;case 21:return l++,[3,19];case 22:h=0,g=A.zeroOrAutoZIndexOrTransformedOrOpacity,s.label=23;case 23:return h<g.length?[4,this.renderStack(g[h])]:[3,26];case 24:s.sent(),s.label=25;case 25:return h++,[3,23];case 26:u=0,B=A.positiveZIndex,s.label=27;case 27:return u<B.length?[4,this.renderStack(B[u])]:[3,30];case 28:s.sent(),s.label=29;case 29:return u++,[3,27];case 30:return[2]}})})},t.prototype.mask=function(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()},t.prototype.path=function(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()},t.prototype.formatPath=function(A){var e=this;A.forEach(function(A,t){var i=xr(A)?A.start:A;0===t?e.ctx.moveTo(i.x,i.y):e.ctx.lineTo(i.x,i.y),xr(A)&&e.ctx.bezierCurveTo(A.startControl.x,A.startControl.y,A.endControl.x,A.endControl.y,A.end.x,A.end.y)})},t.prototype.renderRepeat=function(A,e,t,i){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(t,i),this.ctx.fill(),this.ctx.translate(-t,-i)},t.prototype.resizeImage=function(A,e,t){var i;if(A.width===e&&A.height===t)return A;var s=(null!==(i=this.canvas.ownerDocument)&&void 0!==i?i:document).createElement("canvas");return s.width=Math.max(1,e),s.height=Math.max(1,t),s.getContext("2d").drawImage(A,0,0,A.width,A.height,0,0,e,t),s},t.prototype.renderBackgroundImage=function(A){return i(this,void 0,void 0,function(){var e,t,i,r,n;return s(this,function(o){switch(o.label){case 0:e=A.styles.backgroundImage.length-1,t=function(t){var r,n,o,a,c,l,d,h,g,u,B,p,w,m,f,C,Q,F,U,b,y,v,I,x,_,H,E,T,k,D,S;return s(this,function(s){switch(s.label){case 0:if(0!==t.type)return[3,5];r=void 0,n=t.url,s.label=1;case 1:return s.trys.push([1,3,,4]),[4,i.context.cache.match(n)];case 2:return r=s.sent(),[3,4];case 3:return s.sent(),i.context.logger.error("Error loading background-image "+n),[3,4];case 4:return r&&(o=$r(A,e,[r.width,r.height,r.width/r.height]),C=o[0],v=o[1],I=o[2],m=i.ctx.createPattern(i.resizeImage(r,U=o[3],b=o[4]),"repeat"),i.renderRepeat(C,m,v,I)),[3,6];case 5:!function(A){return 1===A.type}(t)?function(A){return 2===A.type}(t)&&(f=$r(A,e,[null,null,null]),C=f[0],Q=f[1],F=f[2],b=f[4],v=ne((y=0===t.position.length?[ie]:t.position)[0],U=f[3]),I=ne(y[y.length-1],b),x=function(A,e,t,i,s){var r=0,n=0;switch(A.size){case 0:0===A.shape?r=n=Math.min(Math.abs(e),Math.abs(e-i),Math.abs(t),Math.abs(t-s)):1===A.shape&&(r=Math.min(Math.abs(e),Math.abs(e-i)),n=Math.min(Math.abs(t),Math.abs(t-s)));break;case 2:if(0===A.shape)r=n=Math.min(Ie(e,t),Ie(e,t-s),Ie(e-i,t),Ie(e-i,t-s));else if(1===A.shape){var o=Math.min(Math.abs(t),Math.abs(t-s))/Math.min(Math.abs(e),Math.abs(e-i)),a=xe(i,s,e,t,!0);n=o*(r=Ie(a[0]-e,(a[1]-t)/o))}break;case 1:0===A.shape?r=n=Math.max(Math.abs(e),Math.abs(e-i),Math.abs(t),Math.abs(t-s)):1===A.shape&&(r=Math.max(Math.abs(e),Math.abs(e-i)),n=Math.max(Math.abs(t),Math.abs(t-s)));break;case 3:if(0===A.shape)r=n=Math.max(Ie(e,t),Ie(e,t-s),Ie(e-i,t),Ie(e-i,t-s));else if(1===A.shape){o=Math.max(Math.abs(t),Math.abs(t-s))/Math.max(Math.abs(e),Math.abs(e-i));var c=xe(i,s,e,t,!1);n=o*(r=Ie(c[0]-e,(c[1]-t)/o))}}return Array.isArray(A.size)&&(r=ne(A.size[0],i),n=2===A.size.length?ne(A.size[1],s):r),[r,n]}(t,v,I,U,b),H=x[1],(_=x[0])>0&&H>0&&(E=i.ctx.createRadialGradient(Q+v,F+I,0,Q+v,F+I,_),ye(t.stops,2*_).forEach(function(A){return E.addColorStop(A.stop,ge(A.color))}),i.path(C),i.ctx.fillStyle=E,_!==H?(T=A.bounds.left+.5*A.bounds.width,k=A.bounds.top+.5*A.bounds.height,S=1/(D=H/_),i.ctx.save(),i.ctx.translate(T,k),i.ctx.transform(1,0,0,D,0,0),i.ctx.translate(-T,-k),i.ctx.fillRect(Q,S*(F-k)+k,U,b*S),i.ctx.restore()):i.ctx.fill())):(a=$r(A,e,[null,null,null]),C=a[0],v=a[1],I=a[2],c=ve(t.angle,U=a[3],b=a[4]),l=c[0],d=c[1],h=c[2],g=c[3],u=c[4],(B=document.createElement("canvas")).width=U,B.height=b,p=B.getContext("2d"),w=p.createLinearGradient(d,g,h,u),ye(t.stops,l).forEach(function(A){return w.addColorStop(A.stop,ge(A.color))}),p.fillStyle=w,p.fillRect(0,0,U,b),U>0&&b>0&&(m=i.ctx.createPattern(B,"repeat"),i.renderRepeat(C,m,v,I))),s.label=6;case 6:return e--,[2]}})},i=this,r=0,n=A.styles.backgroundImage.slice(0).reverse(),o.label=1;case 1:return r<n.length?[5,t(n[r])]:[3,4];case 2:o.sent(),o.label=3;case 3:return r++,[3,1];case 4:return[2]}})})},t.prototype.renderSolidBorder=function(A,e,t){return i(this,void 0,void 0,function(){return s(this,function(i){return this.path(Nr(t,e)),this.ctx.fillStyle=ge(A),this.ctx.fill(),[2]})})},t.prototype.renderDoubleBorder=function(A,e,t,r){return i(this,void 0,void 0,function(){var i,n;return s(this,function(s){switch(s.label){case 0:return e<3?[4,this.renderSolidBorder(A,t,r)]:[3,2];case 1:return s.sent(),[2];case 2:return i=function(A,e){switch(e){case 0:return Gr(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return Gr(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return Gr(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);default:return Gr(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}}(r,t),this.path(i),this.ctx.fillStyle=ge(A),this.ctx.fill(),n=function(A,e){switch(e){case 0:return Gr(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return Gr(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return Gr(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);default:return Gr(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}}(r,t),this.path(n),this.ctx.fill(),[2]}})})},t.prototype.renderNodeBackgroundAndBorders=function(A){return i(this,void 0,void 0,function(){var e,t,i,r,n,o,a,c,l=this;return s(this,function(s){switch(s.label){case 0:return this.applyEffects(A.getEffects(2)),t=!he((e=A.container.styles).backgroundColor)||e.backgroundImage.length,i=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],r=nn(zr(e.backgroundClip,0),A.curves),t||e.boxShadow.length?(this.ctx.save(),this.path(r),this.ctx.clip(),he(e.backgroundColor)||(this.ctx.fillStyle=ge(e.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(A.container)]):[3,2];case 1:s.sent(),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach(function(e){l.ctx.save();var t=Tr(A.curves),i=e.inset?0:1e4,s=function(A,e,t,i,s){return A.map(function(A,r){switch(r){case 0:return A.add(e,t);case 1:return A.add(e+i,t);case 2:return A.add(e+i,t+s);case 3:return A.add(e,t+s)}return A})}(t,(e.inset?1:-1)*e.spread.number-i,(e.inset?1:-1)*e.spread.number,e.spread.number*(e.inset?-2:2),e.spread.number*(e.inset?-2:2));e.inset?(l.path(t),l.ctx.clip(),l.mask(s)):(l.mask(t),l.ctx.clip(),l.path(s)),l.ctx.shadowOffsetX=e.offsetX.number+i,l.ctx.shadowOffsetY=e.offsetY.number,l.ctx.shadowColor=ge(e.color),l.ctx.shadowBlur=e.blur.number,l.ctx.fillStyle=e.inset?ge(e.color):"rgba(0,0,0,1)",l.ctx.fill(),l.ctx.restore()}),s.label=2;case 2:n=0,o=0,a=i,s.label=3;case 3:return o<a.length?0!==(c=a[o]).style&&!he(c.color)&&c.width>0?2!==c.style?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,n,A.curves,2)]:[3,11]:[3,13];case 4:return s.sent(),[3,11];case 5:return 3!==c.style?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,n,A.curves,3)];case 6:return s.sent(),[3,11];case 7:return 4!==c.style?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,n,A.curves)];case 8:return s.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,n,A.curves)];case 10:s.sent(),s.label=11;case 11:n++,s.label=12;case 12:return o++,[3,3];case 13:return[2]}})})},t.prototype.renderDashedDottedBorder=function(A,e,t,r,n){return i(this,void 0,void 0,function(){var i,o,a,c,l,d,h,g,u,B,p,w,m,f,C,Q;return s(this,function(s){return this.ctx.save(),i=function(A,e){switch(e){case 0:return Jr(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return Jr(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return Jr(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);default:return Jr(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}}(r,t),o=Nr(r,t),2===n&&(this.path(o),this.ctx.clip()),xr(o[0])?(a=o[0].start.x,c=o[0].start.y):(a=o[0].x,c=o[0].y),xr(o[1])?(l=o[1].end.x,d=o[1].end.y):(l=o[1].x,d=o[1].y),h=0===t||2===t?Math.abs(a-l):Math.abs(c-d),this.ctx.beginPath(),this.formatPath(3===n?i:o.slice(0,2)),g=e<3?3*e:2*e,u=e<3?2*e:e,3===n&&(g=e,u=e),B=!0,h<=2*g?B=!1:h<=2*g+u?(g*=p=h/(2*g+u),u*=p):(w=Math.floor((h+u)/(g+u)),m=(h-w*g)/(w-1),u=(f=(h-(w+1)*g)/w)<=0||Math.abs(u-m)<Math.abs(u-f)?m:f),B&&this.ctx.setLineDash(3===n?[0,g+u]:[g,u]),3===n?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=2*e+1.1,this.ctx.strokeStyle=ge(A),this.ctx.stroke(),this.ctx.setLineDash([]),2===n&&(xr(o[0])&&(C=o[3],Q=o[0],this.ctx.beginPath(),this.formatPath([new yr(C.end.x,C.end.y),new yr(Q.start.x,Q.start.y)]),this.ctx.stroke()),xr(o[1])&&(C=o[1],Q=o[2],this.ctx.beginPath(),this.formatPath([new yr(C.end.x,C.end.y),new yr(Q.start.x,Q.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},t.prototype.render=function(A){return i(this,void 0,void 0,function(){var e;return s(this,function(t){switch(t.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=ge(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),e=function(A){var e=new Zr(A,null),t=new Or(e),i=[];return Pr(e,t,t,i),Rr(e.container,i),t}(A),[4,this.renderStack(e)];case 1:return t.sent(),this.applyEffects([]),[2,this.canvas]}})})},t}(tn),rn=function(A){return A instanceof us||A instanceof gs||A instanceof hs&&A.type!==cs&&A.type!==as},nn=function(A,e){switch(A){case 0:return Tr(e);
vendor: 4,104 bytes, line 19
19case 2:return function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]}(e);default:return kr(e)}},on=function(A){switch(A){case 1:return"center";case 2:return"right";default:return"left"}},an=["-apple-system","system-ui"],cn=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter(function(A){return-1===an.indexOf(A)}):A},ln=function(A){function t(e,t){var i=A.call(this,e,t)||this;return i.canvas=t.canvas?t.canvas:document.createElement("canvas"),i.ctx=i.canvas.getContext("2d"),i.options=t,i.canvas.width=Math.floor(t.width*t.scale),i.canvas.height=Math.floor(t.height*t.scale),i.canvas.style.width=t.width+"px",i.canvas.style.height=t.height+"px",i.ctx.scale(i.options.scale,i.options.scale),i.ctx.translate(-t.x,-t.y),i.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+t.width+"x"+t.height+" at "+t.x+","+t.y+") with scale "+t.scale),i}return e(t,A),t.prototype.render=function(A){return i(this,void 0,void 0,function(){var e,t;return s(this,function(i){switch(i.label){case 0:return e=Pi(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),[4,dn(e)];case 1:return t=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=ge(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(t,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},t}(tn),dn=function(A){return new Promise(function(e,t){var i=new Image;i.onload=function(){e(i)},i.onerror=t,i.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))})},hn=function(){function A(A){var e=A.enabled;this.id=A.id,this.enabled=e,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug.apply(console,r([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info.apply(console,r([this.id,this.getTime()+"ms"],A))},A.prototype.warn=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn?console.warn.apply(console,r([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.error=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error.apply(console,r([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.instances={},A}(),gn=function(){function A(e,t){var i;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new hn({id:this.instanceName,enabled:e.logging}),this.cache=null!==(i=e.cache)&&void 0!==i?i:new pr(this,e)}return A.instanceCount=1,A}();"undefined"!=typeof window&&Br.setContext(window);var un=function(A,e){return i(void 0,void 0,void 0,function(){var i,r,a,c,l,d,h,g,u,B,p,w,m,f,C,Q,F,U,b,y,v,I,x,_,H,E,T,k,D,S,M,L,K,O,Z,P,R,N;return s(this,function(s){switch(s.label){case 0:if(!A||"object"!=typeof A)return[2,Promise.reject("Invalid element provided as first argument")];if(!(i=A.ownerDocument))throw new Error("Element is not attached to a Document");if(!(r=i.defaultView))throw new Error("Document is not attached to a Window");return a={allowTaint:null!==(I=e.allowTaint)&&void 0!==I&&I,imageTimeout:null!==(x=e.imageTimeout)&&void 0!==x?x:15e3,proxy:e.proxy,useCORS:null!==(_=e.useCORS)&&void 0!==_&&_},c=t({logging:null===(H=e.logging)||void 0===H||H,cache:e.cache},a),l={windowWidth:null!==(E=e.windowWidth)&&void 0!==E?E:r.innerWidth,windowHeight:null!==(T=e.windowHeight)&&void 0!==T?T:r.innerHe
vendor: 1,434 bytes, line 19
19ight,scrollX:null!==(k=e.scrollX)&&void 0!==k?k:r.pageXOffset,scrollY:null!==(D=e.scrollY)&&void 0!==D?D:r.pageYOffset},d=new n(l.scrollX,l.scrollY,l.windowWidth,l.windowHeight),h=new gn(c,d),g=null!==(S=e.foreignObjectRendering)&&void 0!==S&&S,u={allowTaint:null!==(M=e.allowTaint)&&void 0!==M&&M,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:g,copyStyles:g},h.logger.debug("Starting document clone with size "+d.width+"x"+d.height+" scrolled to "+-d.left+","+-d.top),B=new js(h,A,u),(p=B.clonedReferenceElement)?[4,B.toIFrame(i,d)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return w=s.sent(),m=Hs(p)||function(A){return"HTML"===A.tagName}(p)?function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var i=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),s=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new n(0,0,i,s)}(p.ownerDocument):o(h,p),f=m.width,C=m.height,Q=m.left,F=m.top,U=Bn(h,p,e.backgroundColor),b={canvas:e.canvas,backgroundColor:U,scale:null!==(K=null!==(L=e.scale)&&void 0!==L?L:r.devicePixelRatio)&&void 0!==K?K:1,x:(null!==(O=e.x)&&void 0!==O?O:0)+Q,y:(null!==(Z=e.y)&&void 0!==Z?Z:0)+F,width:null!==(P=e.width)&&void 0!==P?P:Math.ceil(f),height:null!==(R=e.he
19ight)&&void 0!==R?R:Math.ceil(C)},g?(h.logger.debug("Document cloned, using foreign object rendering"),[4,new ln(h,b).render(p)]):[3,3];case 2:return y=s.sent(),[3,5];case 3:return h.logger.debug("Document cloned, element located at "+Q+","+F+" with size "+f+"x"+C+" using computed rendering"),h.logger.debug("Starting DOM parsing"),v=fs(h,p),U===v.styles.backgroundColor&&(v.styles.backgroundColor=Qe.TRANSPARENT),h.logger.debug("Starting renderer for element at "+b.x+","+b.y+" with size "+b.width+"x"+b.height),[4,new sn(h,b).render(v)];case 4:y=s.sent(),s.label=5;case 5:return(null===(N=e.removeContainer)||void 0===N||N)&&(js.destroy(w)||h.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),h.logger.debug("Finished rendering"),[2,y]}})})},Bn=function(A,e,t){var i=e.ownerDocument,s=i.documentElement?Ce(A,getComputedStyle(i.documentElement).backgroundColor):Qe.TRANSPARENT,r=i.body?Ce(A,getComputedStyle(i.body).backgroundColor):Qe.TRANSPARENT,n="string"==typeof t?Ce(A,t):null===t?Qe.TRANSPARENT:4294967295;return e===i.documentElement?he(s)?he(r)?n:r:s:n};return function(A,e){return void 0===e&&(e={}),un(A,e)}}()},25886:function(A,e,t){"use strict";t.r(e),t.d(e,{DashboardModule:function(){return ws}});var i=t(38583),s=t(56983),r=t(3679),n=t(37716);function o(A,e){if(1&A&&n._UZ(0,"div",3),2&A){const A=e.index,t=n.oxw();n.Q6J("ngStyle",t.gridRenderer.getGridColumnStyle(A))}}function a(A,e){if(1&A&&n._UZ(0,"div",4),2&A){const A=e.index,t=n.oxw();n.Q6J("ngStyle",t.gridRenderer.getGridRowStyle(A))}}const c=["*"];function l(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",8),n.NdJ("mousedown",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)})("touchstart",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)}),n.qZA()}}function d(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",9),n.NdJ("mousedown",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)})("touchstart",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)}),n.qZA()}}function h(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",10),n.NdJ("mousedown",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)})("touchstart",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)}),n.qZA()}}function g(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",11),n.NdJ("mousedown",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)})("touchstart",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)}),n.qZA()}}function u(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",12),n.NdJ("mousedown",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)})("touchstart",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)}),n.qZA()}}function B(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",13),n.NdJ("mousedown",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)})("touchstart",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)}),n.qZA()}}function p(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",14),n.NdJ("mousedown",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)})("touchstart",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)}),n.qZA()}}function w(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",15),n.NdJ("mousedown",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)})("touchstart",function(e){return n.CHM(A),n.oxw().resize.dragStartDelay(e)}),n.qZA()}}var m=(()=>{return(A=m||(m={})).Fit="fit",A.ScrollVertical="scrollVertical",A.ScrollHorizontal="scrollHorizontal",A.Fixed="fixed",A.VerticalFixed="verticalFixed",A.HorizontalFixed="horizontalFixed",m;var A})(),f=(()=>{return(A=f||(f={})).Always="always",A.OnDragAndResize="onDrag&Resize",A.None="none",f;var A})(),C=(()=>{return(A=C||(C={})).None="none",A.CompactUp="compactUp",A.CompactLeft="compactLeft",A.CompactUpAndLeft="compactUp&Left",A.CompactLeftAndUp="compactLeft&Up",A.CompactRight="compactRight",A.CompactUpAndRight="compactUp&Right",A.CompactRightAndUp="compactRight&Up",A.CompactDown="compactDown",A.CompactDownAndLeft="compactDown&Left",A.CompactLeftAndDown="compactLeft&Down",A.CompactDownAndRight="compactDown&Right",A.CompactRightAndDown="compactRight&Down",C;var A})(),Q=(()=>{return(A=Q||(Q={})).LTR="ltr",A.RTL="rtl",Q;var A})();class F{constructor(A){this.gridster=A}destroy(){delete this.gridster}checkCompact(){this.gridster.$options.compactType!==C.None&&(this.gridster.$options.compactType===C.CompactUp?this.checkCompactMovement("y",-1):this.gridster.$options.compactType===C.CompactLeft?this.checkCompactMovement("x",-1):this.gridster.$options.compactType===C.CompactUpAndLeft?(this.checkCompactMovement("y",-1),this.checkCompactMovement("x",-1)):this.gridster.$options.compactType===C.CompactLeftAndUp?(this.checkCompactMovement("x",-1),this.checkCompactMovement("y",-1)):this.gridster.$options.compactType===C.CompactRight?this.checkCompactMovement("x",1):this.gridster.$options.compactType===C.CompactUpAndRight?(this.checkCompactMovement("y",-1),this.checkCompactMovement("x",1)):this.gridster.$options.compactType===C.CompactRightAndUp?(this.checkCompactMovement("x",1),this.checkCompactMovement("y",-1)):this.gridster.$options.compactType===C.CompactDown?this.checkCompactMovement("y",1):this.gridster.$options.compactType===C.CompactDownAndLeft?(this.checkCompactMovement("y",1),this.checkCompactMovement("x",-1)):this.gridster.$options.compactType===C.CompactDownAndRight?(this.checkCompactMovement("y",1),this.checkCompactMovement("x",1)):this.gridster.$options.compactType===C.CompactLeftAndDown?(this.checkCompactMovement("x",-1),this.checkCompactMovement("y",1)):this.gridster.$options.compactType===C.CompactRightAndDown&&(this.checkCompactMovement("x",1),this.checkCompactMovement("y",1)))}checkCompactItem(A){this.gridster.$options.compactType!==C.None&&(this.gridster.$options.compactType===C.CompactUp?this.moveTillCollision(A,"y",-1):this.gridster.$options.compactType===C.CompactLeft?this.moveTillCollision(A,"x",-1):this.gridster.$options.compactType===C.CompactUpAndLeft?(this.moveTillCollision(A,"y",-1),this.moveTillCollision(A,"x",-1)):this.gridster.$options.compactType===C.CompactLeftAndUp?(this.moveTillCollision(A,"x",-1),this.moveTillCollision(A,"y",-1)):this.gridster.$options.compactType===C.CompactUpAndRight?(this.moveTillCollision(A,"y",-1),this.moveTillCollision(A,"x",1)):this.gridster.$options.compactType===C.CompactDown?this.moveTillCollision(A,"y",1):this.gridster.$options.compactType===C.CompactDownAndLeft?(this.moveTillCollision(A,"y",1),this.moveTillCollision(A,"x",-1)):this.gridster.$options.compactType===C.CompactLeftAndDown?(this.moveTillCollision(A,"x",-1),this.moveTillCollision(A,"y",1)):this.gridster.$options.compactType===C.CompactDownAndRight?(this.moveTillCollision(A,"y",1),this.moveTillCollision(A,"x",1)):this.gridster.$options.compactType===C.CompactRightAndDown&&(this.moveTillCollision(A,"x",1),this.moveTillCollision(A,"y",1)))}checkCompactMovement(A,e){let t=!1;
19this.gridster.grid.forEach(i=>{!1!==i.$item.compactEnabled&&this.moveTillCollision(i.$item,A,e)&&(t=!0,i.item[A]=i.$item[A],i.itemChanged())}),t&&this.checkCompact()}moveTillCollision(A,e,t){return A[e]+=t,this.gridster.checkCollision(A)?(A[e]-=t,!1):(this.moveTillCollision(A,e,t),!0)}}const U={gridType:m.Fit,scale:1,fixedColWidth:250,fixedRowHeight:250,keepFixedHeightInMobile:!1,keepFixedWidthInMobile:!1,setGridSize:!1,compactType:C.None,mobileBreakpoint:640,allowMultiLayer:!1,defaultLayerIndex:0,maxLayerIndex:2,baseLayerIndex:1,minCols:1,maxCols:100,minRows:1,maxRows:100,defaultItemCols:1,defaultItemRows:1,maxItemCols:50,maxItemRows:50,minItemCols:1,minItemRows:1,minItemArea:1,maxItemArea:2500,rowHeightRatio:1,margin:10,outerMargin:!0,outerMarginTop:null,outerMarginRight:null,outerMarginBottom:null,outerMarginLeft:null,useTransformPositioning:!0,scrollSensitivity:10,scrollSpeed:20,initCallback:void 0,destroyCallback:void 0,gridSizeChangedCallback:void 0,itemChangeCallback:void 0,itemResizeCallback:void 0,itemInitCallback:void 0,itemRemovedCallback:void 0,itemValidateCallback:void 0,enableEmptyCellClick:!1,enableEmptyCellContextMenu:!1,enableEmptyCellDrop:!1,enableEmptyCellDrag:!1,enableOccupiedCellDrop:!1,emptyCellClickCallback:void 0,emptyCellContextMenuCallback:void 0,emptyCellDropCallback:void 0,emptyCellDragCallback:void 0,emptyCellDragMaxCols:50,emptyCellDragMaxRows:50,ignoreMarginInRow:!1,draggable:{delayStart:0,enabled:!1,ignoreContentClass:"gridster-item-content",ignoreContent:!1,dragHandleClass:"drag-handler",stop:void 0,start:void 0,dropOverItems:!1,dropOverItemsCallback:void 0},resizable:{delayStart:0,enabled:!1,handles:{s:!0,e:!0,n:!0,w:!0,se:!0,ne:!0,sw:!0,nw:!0},stop:void 0,start:void 0},swap:!0,swapWhileDragging:!1,pushItems:!1,disablePushOnDrag:!1,disablePushOnResize:!1,pushDirections:{north:!0,east:!0,south:!0,west:!0},pushResizeItems:!1,displayGrid:f.OnDragAndResize,disableWindowResize:!1,disableWarnings:!1,scrollToNewItems:!1,disableScrollHorizontal:!1,disableScrollVertical:!1,disableAutoPositionOnConflict:!1,dirType:Q.LTR};class b{static merge(A,e,t){for(const i in e)void 0!==e[i]&&t.hasOwnProperty(i)&&(A[i]="object"==typeof e[i]?b.merge(A[i],e[i],t[i]):e[i]);return A}static debounce(A,e){let t;return function(){const i=this,s=arguments,r=()=>{t=void 0,A.apply(i,s)};clearTimeout(t),t=setTimeout(r,e)}}static checkTouchEvent(A){void 0===A.clientX&&A.touches&&(A.touches&&A.touches.length?(A.clientX=A.touches[0].clientX,A.clientY=A.touches[0].clientY):A.changedTouches&&A.changedTouches.length&&(A.clientX=A.changedTouches[0].clientX,A.clientY=A.changedTouches[0].clientY))}static checkContentClassForEvent(A,e){if(A.$options.draggable.ignoreContent){if(!b.checkDragHandleClass(e.target,e.currentTarget,A.$options.draggable.dragHandleClass,A.$options.draggable.ignoreContentClass))return!0}else if(b.checkContentClass(e.target,e.currentTarget,A.$options.draggable.ignoreContentClass))return!0;return!1}static checkContentClassForEmptyCellClickEvent(A,e){return b.checkContentClass(e.target,e.currentTarget,A.$options.draggable.ignoreContentClass)||b.checkContentClass(e.target,e.currentTarget,A.$options.draggable.dragHandleClass)}static checkDragHandleClass(A,e,t,i){if(!A||A===e)return!1;if(A.hasAttribute("class")){const e=A.getAttribute("class").split(" ");if(e.indexOf(t)>-1)return!0;if(e.indexOf(i)>-1)return!1}return b.checkDragHandleClass(A.parentNode,e,t,i)}static checkContentClass(A,e,t){return!(!A||A===e)&&(!!(A.hasAttribute("class")&&A.getAttribute("class").split(" ").indexOf(t)>-1)||b.checkContentClass(A.parentNode,e,t))}static compareItems(A,e){return A.y>e.y?-1:A.y<e.y?1:A.x>e.x?-1:1}}class y{constructor(A){this.gridster=A}destroy(){delete this.initialItem,delete this.gridster.movingItem,this.gridster.previewStyle&&this.gridster.previewStyle(),delete this.gridster,this.emptyCellExit&&(this.emptyCellExit(),this.emptyCellExit=null)}updateOptions(){this.gridster.$options.enableEmptyCellClick&&!this.emptyCellClick&&this.gridster.options.emptyCellClickCallback?(this.emptyCellClick=this.gridster.renderer.listen(this.gridster.el,"click",this.emptyCellClickCb.bind(this)),this.emptyCellClickTouch=this.gridster.renderer.listen(this.gridster.el,"touchend",this.emptyCellClickCb.bind(this))):!this.gridster.$options.enableEmptyCellClick&&this.emptyCellClick&&this.emptyCellClickTouch&&(this.emptyCellClick(),this.emptyCellClickTouch(),this.emptyCellClick=null,this.emptyCellClickTouch=null),this.gridster.$options.enableEmptyCellContextMenu&&!this.emptyCellContextMenu&&this.gridster.options.emptyCellContextMenuCallback?this.emptyCellContextMenu=this.gridster.renderer.listen(this.gridster.el,"contextmenu",this.emptyCellContextMenuCb.bind(this)):!this.gridster.$options.enableEmptyCellContextMenu&&this.emptyCellContextMenu&&(this.emptyCellContextMenu(),this.emptyCellContextMenu=null),this.gridster.$options.enableEmptyCellDrop&&!this.emptyCellDrop&&this.gridster.options.emptyCellDropCallback?(this.emptyCellDrop=this.gridster.renderer.listen(this.gridster.el,"drop",this.emptyCellDragDrop.bind(this)),this.gridster.zone.runOutsideAngular(()=>{this.emptyCellMove=this.gridster.renderer.listen(this.gridster.el,"dragover",this.emptyCellDragOver.bind(this))}),this.emptyCellExit=this.gridster.renderer.listen("document","dragend",()=>{this.gridster.movingItem=null,this.gridster.previewStyle()}
19)):!this.gridster.$options.enableEmptyCellDrop&&this.emptyCellDrop&&this.emptyCellMove&&this.emptyCellExit&&(this.emptyCellDrop(),this.emptyCellMove(),this.emptyCellExit(),this.emptyCellMove=null,this.emptyCellDrop=null,this.emptyCellExit=null),this.gridster.$options.enableEmptyCellDrag&&!this.emptyCellDrag&&this.gridster.options.emptyCellDragCallback?(this.emptyCellDrag=this.gridster.renderer.listen(this.gridster.el,"mousedown",this.emptyCellMouseDown.bind(this)),this.emptyCellDragTouch=this.gridster.renderer.listen(this.gridster.el,"touchstart",this.emptyCellMouseDown.bind(this))):!this.gridster.$options.enableEmptyCellDrag&&this.emptyCellDrag&&this.emptyCellDragTouch&&(this.emptyCellDrag(),this.emptyCellDragTouch(),this.emptyCellDrag=null,this.emptyCellDragTouch=null)}emptyCellClickCb(A){if(!this.gridster||this.gridster.movingItem||b.checkContentClassForEmptyCellClickEvent(this.gridster,A))return;const e=this.getValidItemFromEvent(A);!e||(this.gridster.options.emptyCellClickCallback&&this.gridster.options.emptyCellClickCallback(A,e),this.gridster.cdRef.markForCheck())}emptyCellContextMenuCb(A){if(this.gridster.movingItem||b.checkContentClassForEmptyCellClickEvent(this.gridster,A))return;A.preventDefault(),A.stopPropagation();const e=this.getValidItemFromEvent(A);!e||(this.gridster.options.emptyCellContextMenuCallback&&this.gridster.options.emptyCellContextMenuCallback(A,e),this.gridster.cdRef.markForCheck())}emptyCellDragDrop(A){const e=this.getValidItemFromEvent(A);!e||(this.gridster.options.emptyCellDropCallback&&this.gridster.options.emptyCellDropCallback(A,e),this.gridster.cdRef.markForCheck())}emptyCellDragOver(A){A.preventDefault(),A.stopPropagation();const e=this.getValidItemFromEvent(A);e?(A.dataTransfer&&(A.dataTransfer.dropEffect="move"),this.gridster.movingItem=e):(A.dataTransfer&&(A.dataTransfer.dropEffect="none"),this.gridster.movingItem=null),this.gridster.previewStyle()}emptyCellMouseDown(A){if(b.checkContentClassForEmptyCellClickEvent(this.gridster,A))return;A.preventDefault(),A.stopPropagation();const e=this.getValidItemFromEvent(A);!e||1!==A.buttons||(this.initialItem=e,this.gridster.movingItem=e,this.gridster.previewStyle(),this.gridster.zone.runOutsideAngular(()=>{this.emptyCellMMove=this.gridster.renderer.listen("window","mousemove",this.emptyCellMouseMove.bind(this)),this.emptyCellMMoveTouch=this.gridster.renderer.listen("window","touchmove",this.emptyCellMouseMove.bind(this))}),this.emptyCellUp=this.gridster.renderer.listen("window","mouseup",this.emptyCellMouseUp.bind(this)),this.emptyCellUpTouch=this.gridster.renderer.listen("window","touchend",this.emptyCellMouseUp.bind(this)))}emptyCellMouseMove(A){A.preventDefault(),A.stopPropagation();const e=this.getValidItemFromEvent(A,this.initialItem);!e||(this.gridster.movingItem=e,this.gridster.previewStyle())}emptyCellMouseUp(A){this.emptyCellMMove(),this.emptyCellMMoveTouch(),this.emptyCellUp(),this.emptyCellUpTouch();const e=this.getValidItemFromEvent(A,this.initialItem);e&&(this.gridster.movingItem=e),this.gridster.options.emptyCellDragCallback&&this.gridster.movingItem&&this.gridster.options.emptyCellDragCallback(A,this.gridster.movingItem),setTimeout(()=>{this.initialItem=null,this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle())}),this.gridster.cdRef.markForCheck()}getPixelsX(A,e){const t=this.gridster.options.scale;return t?(A.clientX-e.left)/t+this.gridster.el.scrollLeft-this.gridster.gridRenderer.getLeftMargin():A.clientX+this.gridster.el.scrollLeft-e.left-this.gridster.gridRenderer.getLeftMargin()}getPixelsY(A,e){const t=this.gridster.options.scale;return t?(A.clientY-e.top)/t+this.gridster.el.scrollTop-this.gridster.gridRenderer.getTopMargin():A.clientY+this.gridster.el.scrollTop-e.top-this.gridster.gridRenderer.getTopMargin()}getValidItemFromEvent(A,e){A.preventDefault(),A.stopPropagation(),b.checkTouchEvent(A);const t=this.gridster.el.getBoundingClientRect(),i=this.getPixelsX(A,t),s=this.getPixelsY(A,t),r={x:this.gridster.pixelsToPositionX(i,Math.floor,!0),y:this.gridster.pixelsToPositionY(s,Math.floor,!0),cols:this.gridster.$options.defaultItemCols,rows:this.gridster.$options.defaultItemRows};if(e&&(r.cols=Math.min(Math.abs(e.x-r.x)+1,this.gridster.$options.emptyCellDragMaxCols),r.rows=Math.min(Math.abs(e.y-r.y)+1,this.gridster.$options.emptyCellDragMaxRows),e.x<r.x?r.x=e.x:e.x-r.x>this.gridster.$options.emptyCellDragMaxCols-1&&(r.x=this.gridster.movingItem?this.gridster.movingItem.x:0),e.y<r.y?r.y=e.y:e.y-r.y>this.gridster.$options.emptyCellDragMaxRows-1&&(r.y=this.gridster.movingItem?this.gridster.movingItem.y:0)),this.gridster.$options.enableOccupiedCellDrop||!this.gridster.checkCollision(r))return r}}class v{constructor(A){this.gridster=A}destroy(){delete this.gridster}updateItem(A,e,t){if(this.gridster.mobile)this.clearCellPosition(t,A),t.setStyle(A,"height",this.gridster.$options.keepFixedHeightInMobile?(e.rows-1)*this.gridster.$options.margin+e.rows*this.gridster.$options.fixedRowHeight+"px":e.rows*this.gridster.curWidth/e.cols+"px"),t.setStyle(A,"width",this.gridster.$options.keepFixedWidthInMobile?this.gridster.$options.fixedColWidth+"px":""),t.setStyle(A,"margin-bottom",this.gridster.$options.margin+"px"),t.setStyle(A,Q.LTR?"margin-right":"margin-left","");else{const i=Math.round(this.gridster.curColWidth*e.x),s=Math.round(this.gridster.curRowHeight*e.y),r=this.gridster.curColWidth*e.cols-this.gridster.$options.margin,n=this.gridster.curRowHeight*e.rows-this.gridster.$options.margin;this.setCellPosition(t,A,i,s),t.setStyle(A,"width",r+"px"),t.setStyle(A,"height",n+"px");let o=null,a=null;this.gridster.$options.outerMargin&&(this.gridster.rows===e.rows+e.y&&(o=null!==this.gridster.$options.outerMarginBottom?this.gridster.$options.outerMarginBottom+"px":this.gridster.$options.margin+"px"),this.gridster.columns===e.cols+e.x&&(a=null!==this.gridster.$options.outerMarginBottom?this.gridster.$options.outerMarginRight+"px":this.gridster.$options.margin+"px")),t.setStyle(A,"margin-bottom",o),t.setStyle(A,Q.LTR?"margin-right":"margin-left",a)}}updateGridster(){let A="",e="",t="",i="";if(this.gridster.$options.gridType===m.Fit)A=m.Fit,e=m.ScrollVertical,t=m.ScrollHorizontal,i=m.Fixed;else if(this.gridster.$options.gridType===m.ScrollVertical)this.gridster.curRowHeight=this.gridster.curColWidth*this.gridster.$options.rowHeightRatio,A=m.ScrollVertical,e=m.Fit,t=m.ScrollHorizontal,i=m.Fixed;else if(this.gridster.$options.gridType===m.ScrollHorizontal){const s=this.gridster.$options.rowHeightRatio;this.gridster.curColWidth=this.gridster.curRowHeight*(s>=1?s:s+1),A=m.ScrollHorizontal,e=m.Fit,t=m.ScrollVertical,i=m.Fixed}else this.gridster.$options.gridType===m.Fixed?(this.gridster.curColWidth=this.gridster.$options.fixedColWidth+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),this.gridster.curRowHeight=this.gridster.$options.fixedRowHeight+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),A=m.Fixed,e=m.Fit,t=m.ScrollVertical,i=m.ScrollHorizontal):this.gridster.$options.gridType===m.VerticalFixed?(this.gridster.curRowHeight=this.gridster.$options.fixedRowHeight+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),A=m.ScrollVertical,e=m.Fit,t=m.ScrollHorizontal,i=m.Fixed):this.gridster.$options.gridType===m.HorizontalFixed&&(this.gridster.curColWidth=this.gridster.$options.fixedColWidth+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),A=m.ScrollHorizontal,e=m.Fit,t=m.ScrollVertical,i=m.Fixed);this.gridster.mobile||this.gridster.$options.setGridSize&&this.gridster.$options.gridType!==m.Fit?this.gridster.renderer.removeClass(this.gridster.el,A):this.gridster.renderer.addClass(this.gridster.el,A),this.gridster.renderer.removeClass(this.gridster.el,e),this.gridster.renderer.removeClass(this.gridster.el,t),this.gridster.renderer.removeClass(this.gridster.el,i)}getGridColumnStyle(A){return Object.assign(Object.assign({},this.getLeftPosition(this.gridster.curColWidth*A)),{width:this.gridster.curColWidth-this.gridster.$options.margin+"px",height:this.gridster.gridRows.length*this.gridster.curRowHeight-this.gridster.$options.margin+"px"})}getGridRowStyle(A){return Object.assign(Object.assign({},this.getTopPosition(this.gridster.curRowHeight*A)),{width:this.gridster.gridColumns.length*this.gridster.curColWidth-this.gridster.$options.margin+"px",height:this.gridster.curRowHeight-this.gridster.$options.margin+"px"})}getLeftPosition(A){const e=this.gridster.$options.dirType===Q.RTL?-A:A;return this.gridster.$options.useTransformPositioning?{transform:"translateX("+e+"px)"}:{left:this.getLeftMargin()+e+"px"}}getTopPosition(A){return this.gridster.$options.useTransformPositioning?{transform:"translateY("+A+"px)"}:{top:this.getTopMargin()+A+"px"}}clearCellPosition(A,e){this.gridster.$options.useTransformPositioning?A.setStyle(e,"transform",""):(A.setStyle(e,"top",""),A.setStyle(e,"left",""))}setCellPosition(A,e,t,i){const s=this.gridster.$options.dirType===Q.RTL?-t:t;this.gridster.$options.useTransformPositioning?A.setStyle(e,"transform","translate3d("+s+"px, "+i+"px, 0)"):(A.setStyle(e,"left",this.getLeftMargin()+s+"px"),A.setStyle(e,"top",this.getTopMargin()+i+"px"))}getLeftMargin(){return this.gridster.$options.outerMargin?null!==this.gridster.$options.outerMarginLeft?this.gridster.$options.outerMarginLeft:this.gridster.$options.margin:0}getTopMargin(){return this.gridster.$options.outerMargin?null!==this.gridster.$options.outerMarginTop?this.gridster.$options.outerMarginTop:this.gridster.$options.margin:0}}let I,x,_,H,E,T,k,D,S,M=(()=>{class A{constructor(A,e){this.renderer=e,this.el=A.nativeElement}ngOnInit(){this.sub=this.previewStyle$.subscribe(A=>this.previewStyle(A))}ngOnDestroy(){this.sub.unsubscribe(),delete this.el}previewStyle(A){A?(this.renderer.setStyle(this.el,"display","block"),this.gridRenderer.updateItem(this.el,A,this.renderer)):this.renderer.setStyle(this.el,"display","")}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(n.SBq),n.Y36(n.Qsj))},A.\u0275cmp=n.Xpm({type:A,selectors:[["gridster-preview"]],inputs:{previewStyle$:"previewStyle$",gridRenderer:"gridRenderer"},decls:0,vars:0,template:function(A,e){},styles:["gridster-preview{position:absolute;display:none;background:rgba(0,0,0,.15)}\n"],encapsulation:2}),A})(),L=(()=>{class A{constructor(A,e,t,i){this.renderer=e,this.cdRef=t,this.zone=i,this.columns=0,this.rows=0,this.gridColumns=[],this.gridRows=[],this.previewStyle$=new n.vpe,this.el=A.nativeElement,this.$options=JSON.parse(JSON.stringify(U)),this.calculateLayoutDebounce=b.debounce(this.calculateLayout.bind(this),0),this.mobile=!1,this.curW
19idth=0,this.curHeight=0,this.grid=[],this.curColWidth=0,this.curRowHeight=0,this.dragInProgress=!1,this.emptyCell=new y(this),this.compact=new F(this),this.gridRenderer=new v(this)}static checkCollisionTwoItemsForSwaping(A,e){return A.x+(1===A.cols?0:1)<e.x+e.cols&&A.x+A.cols>e.x+(1===e.cols?0:1)&&A.y+(1===A.rows?0:1)<e.y+e.rows&&A.y+A.rows>e.y+(1===e.rows?0:1)}checkCollisionTwoItems(A,e){if(!(A.x<e.x+e.cols&&A.x+A.cols>e.x&&A.y<e.y+e.rows&&A.y+A.rows>e.y))return!1;if(!this.$options.allowMultiLayer)return!0;const t=this.$options.defaultLayerIndex;return(void 0===A.layerIndex?t:A.layerIndex)===(void 0===e.layerIndex?t:e.layerIndex)}ngOnInit(){this.options.initCallback&&this.options.initCallback(this)}ngOnChanges(A){A.options&&(this.setOptions(),this.options.api={optionsChanged:this.optionsChanged.bind(this),resize:this.onResize.bind(this),getNextPossiblePosition:this.getNextPossiblePosition.bind(this),getFirstPossiblePosition:this.getFirstPossiblePosition.bind(this),getLastPossiblePosition:this.getLastPossiblePosition.bind(this),getItemComponent:A=>this.getItemComponent(A)},this.columns=this.$options.minCols,this.rows=this.$options.minRows,this.setGridSize(),this.calculateLayout())}resize(){let A,e;"fit"!==this.$options.gridType||this.mobile?(e=this.el.clientWidth,A=this.el.clientHeight):(e=this.el.offsetWidth,A=this.el.offsetHeight),(e!==this.curWidth||A!==this.curHeight)&&this.checkIfToResize()&&this.onResize()}setOptions(){this.$options=b.merge(this.$options,this.options,this.$options),this.$options.disableWindowResize||this.windowResize?this.$options.disableWindowResize&&this.windowResize&&(this.windowResize(),this.windowResize=null):this.windowResize=this.renderer.listen("window","resize",this.onResize.bind(this)),this.emptyCell.updateOptions()}optionsChanged(){this.setOptions();let A,e=this.grid.length-1;for(;e>=0;e--)A=this.grid[e],A.updateOptions();this.calculateLayout()}ngOnDestroy(){this.previewStyle$.complete(),this.windowResize&&this.windowResize(),this.options&&this.options.destroyCallback&&this.options.destroyCallback(this),this.options&&this.options.api&&(this.options.api.resize=void 0,this.options.api.optionsChanged=void 0,this.options.api.getNextPossiblePosition=void 0,this.options.api=void 0),this.emptyCell.destroy(),delete this.emptyCell,this.compact.destroy(),delete this.compact}onResize(){this.el.clientWidth&&(this.options.setGridSize&&(this.renderer.setStyle(this.el,"width",""),this.renderer.setStyle(this.el,"height","")),this.setGridSize(),this.calculateLayout())}checkIfToResize(){const A=this.el.clientWidth,e=this.el.offsetWidth,t=this.el.scrollWidth,i=this.el.clientHeight,s=this.el.offsetHeight,r=this.el.scrollHeight;return!(A<e&&r>s&&r-s<e-A||i<s&&t>e&&t-e<s-i)}setGridSize(){const A=this.el;let e,t;this.$options.setGridSize||this.$options.gridType===m.Fit&&!this.mobile?(e=A.offsetWidth,t=A.offsetHeight):(e=A.clientWidth,t=A.clientHeight),this.curWidth=e,this.curHeight=t}setGridDimensions(){this.setGridSize(),!this.mobile&&this.$options.mobileBreakpoint>this.curWidth?(this.mobile=!this.mobile,this.renderer.addClass(this.el,"mobile")):this.mobile&&this.$options.mobileBreakpoint<this.curWidth&&(this.mobile=!this.mobile,this.renderer.removeClass(this.el,"mobile"));let A,e=this.$options.minRows,t=this.$options.minCols,i=this.grid.length-1;for(;i>=0;i--)A=this.grid[i],A.notPlaced||(e=Math.max(e,A.$item.y+A.$item.rows),t=Math.max(t,A.$item.x+A.$item.cols));(this.columns!==t||this.rows!==e)&&(this.columns=t,this.rows=e,this.options.gridSizeChangedCallback&&this.options.gridSizeChangedCallback(this))}calculateLayout(){if(this.compact&&this.compact.checkCompact(),this.setGridDimensions(),this.$options.outerMargin){let A=-this.$options.margin;null!==this.$options.outerMarginLeft?(A+=this.$options.outerMarginLeft,this.renderer.setStyle(this.el,"padding-left",this.$options.outerMarginLeft+"px")):(A+=this.$options.margin,this.renderer.setStyle(this.el,"padding-left",this.$options.margin+"px")),null!==this.$options.outerMarginRight?(A+=this.$options.outerMarginRight,this.renderer.setStyle(this.el,"padding-right",this.$options.outerMarginRight+"px")):(A+=this.$options.margin,this.renderer.setStyle(this.el,"padding-right",this.$options.margin+"px")),this.curColWidth=(this.curW
19idth-A)/this.columns;let e=-this.$options.margin;null!==this.$options.outerMarginTop?(e+=this.$options.outerMarginTop,this.renderer.setStyle(this.el,"padding-top",this.$options.outerMarginTop+"px")):(e+=this.$options.margin,this.renderer.setStyle(this.el,"padding-top",this.$options.margin+"px")),null!==this.$options.outerMarginBottom?(e+=this.$options.outerMarginBottom,this.renderer.setStyle(this.el,"padding-bottom",this.$options.outerMarginBottom+"px")):(e+=this.$options.margin,this.renderer.setStyle(this.el,"padding-bottom",this.$options.margin+"px")),this.curRowHeight=(this.curHeight-e)/this.rows*this.$options.rowHeightRatio}else this.curColWidth=(this.curWidth+this.$options.margin)/this.columns,this.curRowHeight=(this.curHeight+this.$options.margin)/this.rows*this.$options.rowHeightRatio,this.renderer.setStyle(this.el,"padding-left","0px"),this.renderer.setStyle(this.el,"padding-right","0px"),this.renderer.setStyle(this.el,"padding-top","0px"),this.renderer.setStyle(this.el,"padding-bottom","0px");this.gridRenderer.updateGridster(),this.$options.setGridSize?(this.renderer.addClass(this.el,"gridSize"),this.mobile||(this.renderer.setStyle(this.el,"width",this.columns*this.curColWidth+this.$options.margin+"px"),this.renderer.setStyle(this.el,"height",this.rows*this.curRowHeight+this.$options.margin+"px"))):(this.renderer.removeClass(this.el,"gridSize"),this.renderer.setStyle(this.el,"width",""),this.renderer.setStyle(this.el,"height","")),this.updateGrid();let A,e=this.grid.length-1;for(;e>=0;e--)A=this.grid[e],A.setSize(),A.drag.toggle(),A.resize.toggle();setTimeout(this.resize.bind(this),100)}updateGrid(){"always"!==this.$options.displayGrid||this.mobile?"onDrag&Resize"===this.$options.displayGrid&&this.dragInProgress?this.renderer.addClass(this.el,"display-grid"):("none"===this.$options.displayGrid||!this.dragInProgress||this.mobile)&&this.renderer.removeClass(this.el,"display-grid"):this.renderer.addClass(this.el,"display-grid"),this.setGridDimensions(),this.gridColumns.length=A.getNewArrayLength(this.columns,this.curWidth,this.curColWidth),this.gridRows.length=A.getNewArrayLength(this.rows,this.curHeight,this.curRowHeight),this.cdRef.markForCheck()}addItem(A){void 0===A.$item.cols&&(A.$item.cols=this.$options.defaultItemCols,A.item.cols=A.$item.cols,A.itemChanged()),void 0===A.$item.rows&&(A.$item.rows=this.$options.defaultItemRows,A.item.rows=A.$item.rows,A.
19itemChanged()),-1===A.$item.x||-1===A.$item.y?this.autoPositionItem(A):this.checkCollision(A.$item)&&(this.$options.disableWarnings||(A.notPlaced=!0,console.warn("Can't be placed in the bounds of the dashboard, trying to auto position!/n"+JSON.stringify(A.item,["cols","rows","x","y"]))),this.$options.disableAutoPositionOnConflict?A.notPlaced=!0:this.autoPositionItem(A)),this.grid.push(A),this.calculateLayoutDebounce()}removeItem(A){this.grid.splice(this.grid.indexOf(A),1),this.calculateLayoutDebounce(),this.options.itemRemovedCallback&&this.options.itemRemovedCallback(A.item,A)}checkCollision(A){let e=!1;if(this.options.itemValidateCallback&&(e=!this.options.itemValidateCallback(A)),!e&&this.checkGridCollision(A)&&(e=!0),!e){const t=this.findItemWithItem(A);t&&(e=t)}return e}checkGridCollision(A){const e=A.cols*A.rows;return!(A.y>-1&&A.x>-1&&A.cols+A.x<=this.$options.maxCols&&A.rows+A.y<=this.$options.maxRows&&A.cols<=(void 0===A.maxItemCols?this.$options.maxItemCols:A.maxItemCols)&&A.cols>=(void 0===A.minItemCols?this.$options.minItemCols:A.minItemCols)&&A.rows<=(void 0===A.maxItemRows?this.$options.maxItemRows:A.maxItemRows)&&A.rows>=(void 0===A.minItemRows?this.$options.minItemRows:A.minItemRows)&&(void 0===A.minItemArea?this.$options.minItemArea:A.minItemArea)<=e&&(void 0===A.maxItemArea?this.$options.maxItemArea:A.maxItemArea)>=e)}findItemWithItem(A){let e,t=0;for(;t<this.grid.length;t++)if(e=this.grid[t],e.$item!==A&&this.checkCollisionTwoItems(e.$item,A))return e;return!1}findItemsWithItem(A){const e=[];let t,i=0;for(;i<this.grid.length;i++)t=this.grid[i],t.$item!==A&&this.checkCollisionTwoItems(t.$item,A)&&e.push(t);return e}autoPositionItem(A){this.getNextPossiblePosition(A.$item)?(A.notPlaced=!1,A.item.x=A.$item.x,A.item.y=A.$item.y,A.itemChanged()):(A.notPlaced=!0,this.$options.disableWarnings||console.warn("Can't be placed in the bounds of the dashboard!/n"+JSON.stringify(A.item,["cols","rows","x","y"])))}getNextPossiblePosition(A,e={}){-1===A.cols&&(A.cols=this.$options.defaultItemCols),-1===A.rows&&(A.rows=this.$options.defaultItemRows),this.setGridDimensions();let t,i=e.y||0;for(;i<this.rows;i++)for(A.y=i,t=e.x||0;t<this.columns;t++)if(A.x=t,!this.checkCollision(A))return!0;const s=this.$options.maxRows>=this.rows+A.rows;return this.rows<=this.columns&&s||!(this.$options.maxCols>=this.columns+A.cols)?!!s&&(A.y=this.rows,A.x=0,!0):(A.x=this.columns,A.y=0,!0)}getFirstPossiblePosition(A){const e=Object.assign({},A);return this.getNextPossiblePosition(e),e}getLastPossiblePosition(A){let e={y:0,x:0};e=this.grid.reduce((A,e)=>{const t={y:e.$item.y+e.$item.rows-1,x:e.$item.x+e.$item.cols-1};return 1===b.compareItems(A,t)?t:A},e);const t=Object.assign({},A);return this.getNextPossiblePosition(t,e),t}pixelsToPositionX(A,e,t){const i=e(A/this.curColWidth);return t?i:Math.max(i,0)}pixelsToPositionY(A,e,t){const i=e(A/this.curRowHeight);return t?i:Math.max(i,0)}positionXToPixels(A){return A*this.curColWidth}positionYToPixels(A){return A*this.curRowHeight}getItemComponent(A){return this.grid.find(e=>e.item===A)}checkCollisionForSwaping(A){let e=!1;if(this.options.itemValidateCallback&&(e=!this.options.itemValidateCallback(A)),!e&&this.checkGridCollision(A)&&(e=!0),!e){const t=this.findItemWithItemForSwapping(A);t&&(e=t)}return e}findItemWithItemForSwapping(e){let t,i=this.grid.length-1;for(;i>-1;i--)if(t=this.grid[i],t.$item!==e&&A.checkCollisionTwoItemsForSwaping(t.$item,e))return t;return!1}previewStyle(A=!1){this.movingItem?(this.compact&&A&&this.compact.checkCompactItem(this.movingItem),this.previewStyle$.next(this.movingItem)):this.previewStyle$.next()}static getNewArrayLength(A,e,t){const i=Math.max(A,Math.floor(e/t));return i<0?0:Number.isFinite(i)?Math.floor(i):0}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.sBO),n.Y36(n.R0b))},A.\u0275cmp=n.Xpm({type:A,selectors:[["gridster"]],inputs:{options:"options"},features:[n.TTD],ngContentSelectors:c,decls:4,vars:4,consts:[["class","gridster-column",3,"ngStyle",4,"ngFor","ngForOf"],["class","gridster-row",3,"ngStyle",4,"ngFor","ngForOf"],[1,"gridster-preview",3,"gridRenderer","previewStyle$"],[1,"gridster-column",3,"ngStyle"],[1,"gridster-row",3,"ngStyle"]],template:function(A,e){1&A&&(n.F$t(),n.YNc(0,o,1,1,"div",0),n.YNc(1,a,1,1,"div",1),n.Hsn(2),n._UZ(3,"gridster-preview",2)),2&A&&(n.Q6J("ngForOf",e.gridColumns),n.xp6(1),n.Q6J("ngForOf",e.gridRows),n.xp6(2),n.Q6J("gridRenderer",e.gridRenderer)("previewStyle$",e.previewStyle$))},directives:[i.sg,M,i.PC],styles:["gridster{position:relative;box-sizing:border-box;background:grey;width:100%;height:100%;-webkit-user-select:none;user-select:none;display:block}gridster.fit{overflow-x:hidden;overflow-y:hidden}gridster.scrollVertical{overflow-x:hidden;overflow-y:auto}gridster.scrollHorizontal{overflow-x:auto;overflow-y:hidden}gridster.fixed{overflow:auto}gridster.mobile{overflow-x:hidden;overflow-y:auto}gridster.mobile gridster-item{position:relative}gridster.gridSize{height:initial;width:initial}gridster.gridSize.fit{height:100%;width:100%}gridster .gridster-column,gridster .gridster-row{position:absolute;display:none;transition:.3s;box-sizing:border-box}gridster.display-grid .gridster-column,gridster.display-grid .gridster-row{display:block}gridster .gridster-column{border-left:1px solid white;border-right:1px solid white}gridster .gridster-row{border-top:1px solid white;border-bottom:1px solid white}\n"],encapsulation:2}),A})();class K{constructor(A){this.iteration=0,this.pushedItems=[],this.pushedItemsTemp=[],this.pushedItemsTempPath=[],this.pushedItemsPath=[],this.gridsterItem=A,this.gridster=A.gridster,this.tryPattern={fromEast:[this.tryWest,this.trySouth,this.tryNorth,this.tryEast],fromWest:[this.tryEast,this.trySouth,this.tryNorth,this.tryWest],fromNorth:[this.trySouth,this.tryEast,this.tryWest,this.tryNorth],fromSouth:[this.tryNorth,this.tryEast,this.tryWest,this.trySouth]},this.fromSouth="fromSouth",this.fromNorth="fromNorth",this.fromEast="fromEast",this.fromWest="fromWest"}destroy(){delete this.gridster,delete this.gridsterItem}pushItems(A,e){if(this.gridster.$options.pushItems&&!e){this.pushedItemsOrder=[],this.iteration=0;const e=this.push(this.gridsterItem,A);return e||this.restoreTempItems(),this.pushedItemsOrder=[],this.pushedItemsTemp=[],this.pushedItemsTempPath=[],e}return!1}restoreTempItems(){let A=this.pushedItemsTemp.length-1;for(;A>-1;A--)this.removeFromTempPushed(this.pushedItemsTemp[A])}restoreItems(){let A=0;const e=this.pushedItems.length;let t;for(;A<e;A++)t=this.pushedItems[A],t.$item.x=t.item.x||0,t.$item.y=t.item.y||0,t.setSize();this.pushedItems=[],this.pushedItemsPath=[]}setPushedItems(){let A=0;const e=this.pushedItems.length;let t;for(;A<e;A++)t=this.pushedItems[A],t.checkItemChanges(t.$item,t.item);this.pushedItems=[],this.pushedItemsPath=[]}checkPushBack(){let A=this.pushedItems.length-1,e=!1;for(;A>-1;A--)this.checkPushedItem(this.pushedItems[A],A)&&(e=!0);e&&this.checkPushBack()}push(A,e){if(this.iteration>100)return console.warn("max iteration reached"),!1;if(this.gridster.checkGridCollision(A.$item)||""===e)return!1;const t=this.gridster.findItemsWithItem(A.$item),i=e===this.fromNorth||e===this.fromWest;t.sort((A,e)=>i?e.$item.y-A.$item.y||e.$item.x-A.$item.x:A.$item.y-e.$item.y||A.$item.x-e.$item.x);let s,r=0,n=!0;const o=[];for(;r<t.length;r++){if(s=t[r],s===this.gridsterItem)continue;if(!s.canBeDragged()){n=!1;break}const i=this.pushedItemsTemp.indexOf(s);if(i>-1&&this.pushedItemsTempPath[i].length>10){n=!1;break}if(this.tryPattern[e][0].call(this,s,A))this.pushedItemsOrder.push(s),o.push(s);else if(this.tryPattern[e][1].call(this,s,A))this.pushedItemsOrder.push(s),o.push(s);else if(this.tryPattern[e][2].call(this,s,A))this.pushedItemsOrder.push(s),o.push(s);else{if(!this.tryPattern[e][3].call(this,s,A)){n=!1;break}this.pushedItemsOrder.push(s),o.push(s)}}if(!n&&(r=this.pushedItemsOrder.lastIndexOf(o[0]),r>-1)){let A=this.pushedItemsOrder.length-1;for(;A>=r;A--)s=this.pushedItemsOrder[A],this.pushedItemsOrder.pop(),this.removeFromTempPushed(s),this.removeFromPushedItem(s)}return this.iteration++,n}trySouth(A,e){return!!this.gridster.$options.pushDirections.south&&(this.addToTempPushed(A),A.$item.y=e.$item.y+e.$item.rows,this.push(A,this.fromNorth)?(A.setSize(),this.addToPushed(A),!0):(this.removeFromTempPushed(A),!1))}tryNorth(A,e){return!!this.gridster.$options.pushDirections.north&&(this.addToTempPushed(A),A.$item.y=e.$item.y-A.$item.rows,this.push(A,this.fromSouth)?(A.setSize(),this.addToPushed(A),!0):(this.removeFromTempPushed(A),!1))}tryEast(A,e){return!!this.gridster.$options.pushDirections.east&&(this.addToTempPushed(A),A.$item.x=e.$item.x+e.$item.cols,this.push(A,this.fromWest)?(A.setSize(),this.addToPushed(A),!0):(this.removeFromTempPushed(A),!1))}tryWest(A,e){return!!this.gridster.$options.pushDirections.west&&(this.addToTempPushed(A),A.$item.x=e.$item.x-A.$item.cols,this.push(A,this.fromEast)?(A.setSize(),this.addToPushed(A),!0):(this.removeFromTempPushed(A),!1))}addToTempPushed(A){let e=this.pushedItemsTemp.indexOf(A);-1===e&&(e=this.pushedItemsTemp.push(A)-1,this.pushedItemsTempPath[e]=[]),this.pushedItemsTempPath[e].push({x:A.$item.x,y:A.$item.y})}removeFromTempPushed(A){const e=this.pushedItemsTemp.indexOf(A),t=this.pushedItemsTempPath[e].pop();!t||(A.$item.x=t.x,A.$item.y=t.y,A.setSize(),this.pushedItemsTempPath[e].length||(this.pushedItemsTemp.splice(e,1),this.pushedItemsTempPath.splice(e,1)))}addToPushed(A){if(this.pushedItems.indexOf(A)<0)this.pushedItems.push(A),this.pushedItemsPath.push([{x:A.item.x||0,y:A.item.y||0},{x:A.$item.x,y:A.$item.y}]);else{const e=this.pushedItems.indexOf(A);this.pushedItemsPath[e].push({x:A.$item.x,y:A.$item.y})}}removeFromPushed(A){A>-1&&(this.pushedItems.splice(A,1),this.pushedItemsPath.splice(A,1))}removeFromPushedItem(A){const e=this.pushedItems.indexOf(A);e>-1&&(this.pushedItemsPath[e].pop(),this.pushedItemsPath.length||(this.pushedItems.splice(e,1),this.pushedItemsPath.splice(e,1)))}checkPushedItem(A,e){const t=this.pushedItemsPath[e];let i,s,r,n=t.length-2,o=!1;for(;n>-1;
19n--)i=t[n],s=A.$item.x,r=A.$item.y,A.$item.x=i.x,A.$item.y=i.y,this.gridster.findItemWithItem(A.$item)?(A.$item.x=s,A.$item.y=r):(A.setSize(),t.splice(n+1,t.length-n-1),o=!0);return t.length<2&&this.removeFromPushed(e),o}}function O(A,e,t,i,s,r,n,o,a,c){I=A.$options.scrollSensitivity,x=A.$options.scrollSpeed,_=A.el,H=a,E=c;const l=_.offsetWidth,d=_.scrollLeft,h=_.scrollTop,g=t-h;if(!A.$options.disableScrollVertical)if(n.clientY<r.clientY&&_.offsetHeight+h-t-s<I){if($(),H&&E&&!E.s||S)return;S=Z(1,o,n)}else if(n.clientY>r.clientY&&h>0&&g<I){if(Y(),H&&E&&!E.n||D)return;D=Z(-1,o,n)}else n.clientY!==r.clientY&&J();const u=e-d;if(!A.$options.disableScrollHorizontal)if(n.clientX<r.clientX&&d+l-e-i<=I){if(V(),H&&E&&!E.e||T)return;T=P(1,o,n)}else if(n.clientX>r.clientX&&d>0&&u<I){if(G(),H&&E&&!E.w||k)return;k=P(-1,o,n)}else n.clientX!==r.clientX&&N()}function Z(A,e,t){let i=t.clientY;return setInterval(()=>{(!_||-1===A&&_.scrollTop-x<0)&&J(),_.scrollTop+=A*x,i+=A*x,e({clientX:t.clientX,clientY:i})},50)}function P(A,e,t){let i=t.clientX;return setInterval(()=>{(!_||-1===A&&_.scrollLeft-x<0)&&N(),_.scrollLeft+=A*x,i+=A*x,e({clientX:i,clientY:t.clientY})},50)}
19function R(){N(),J(),_=null}function N(){G(),V()}function J(){$(),Y()}function G(){T&&(clearInterval(T),T=0)}function V(){k&&(clearInterval(k),k=0)}function Y(){S&&(clearInterval(S),S=0)}function $(){D&&(clearInterval(D),D=0)}class W{constructor(A){this.gridsterItem=A,this.gridster=A.gridster}destroy(){delete this.gridster,delete this.gridsterItem,delete this.swapedItem}swapItems(){this.gridster.$options.swap&&(this.checkSwapBack(),this.checkSwap(this.gridsterItem))}checkSwapBack(){if(this.swapedItem){const A=this.swapedItem.$item.x,e=this.swapedItem.$item.y;this.swapedItem.$item.x=this.swapedItem.item.x||0,this.swapedItem.$item.y=this.swapedItem.item.y||0,this.gridster.checkCollision(this.swapedItem.$item)?(this.swapedItem.$item.x=A,this.swapedItem.$item.y=e):(this.swapedItem.setSize(),this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.swapedItem=void 0)}}restoreSwapItem(){this.swapedItem&&(this.swapedItem.$item.x=this.swapedItem.item.x||0,this.swapedItem.$item.y=this.swapedItem.item.y||0,this.swapedItem.setSize(),this.swapedItem=void 0)}setSwapItem(){this.swapedItem&&(this.swapedItem.checkItemChanges(this.swapedItem.$item,this.swapedItem.item),this.swapedItem=void 0)}checkSwap(A){let e;if(e=this.gridster.$options.swapWhileDragging?this.gridster.checkCollisionForSwaping(A.$item):this.gridster.checkCollision(A.$item),e&&!0!==e&&e.canBeDragged()){const t=e,i=t.$item.x,s=t.$item.y,r=A.$item.x,n=A.$item.y,o=r-i,a=n-s;t.$item.x=A.item.x-o,t.$item.y=A.item.y-a,A.$item.x=t.item.x+o,A.$item.y=t.item.y+a,this.gridster.checkCollision(t.$item)||this.gridster.checkCollision(A.$item)?(A.$item.x=r,A.$item.y=n,t.$item.x=i,t.$item.y=s):(t.setSize(),this.swapedItem=t,this.gridster.$options.swapWhileDragging&&(this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.setSwapItem()))}}}class q{constructor(A,e,t){this.zone=t,this.collision=!1,this.gridsterItem=A,this.gridster=e,this.lastMouse={clientX:0,clientY:0},this.path=[]}destroy(){this.gridster.previewStyle&&this.gridster.previewStyle(!0),delete this.gridsterItem,delete this.gridster,delete this.collision,this.mousedown&&(this.mousedown(),this.touchstart())}dragStart(A){A.which&&1!==A.which||(this.gridster.options.draggable&&this.gridster.options.draggable.start&&this.gridster.options.draggable.start(this.gridsterItem.item,this.gridsterItem,A),A.stopPropagation(),A.preventDefault(),this.dragFunction=this.dragMove.bind(this),this.dragStopFunction=this.dragStop.bind(this),this.zone.runOutsideAngular(()=>{this.mousemove=this.gridsterItem.renderer.listen("document","mousemove",this.dragFunction),this.touchmove=this.gridster.renderer.listen(this.gridster.el,"touchmove",this.dragFunction)}),this.mouseup=this.gridsterItem.renderer.listen("document","mouseup",this.dragStopFunction),this.mouseleave=this.gridsterItem.renderer.listen("document","mouseleave",this.dragStopFunction),this.cancelOnBlur=this.gridsterItem.renderer.listen("window","blur",this.dragStopFunction),this.touchend=this.gridsterItem.renderer.listen("document","touchend",this.dragStopFunction),this.touchcancel=this.gridsterItem.renderer.listen("document","touchcancel",this.dragStopFunction),this.gridsterItem.renderer.addClass(this.gridsterItem.el,"gridster-item-moving"),this.margin=this.gridster.$options.margin,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.left=this.gridsterItem.left-this.margin,this.top=this.gridsterItem.top-this.margin,this.originalClientX=A.clientX,this.originalClientY=A.clientY,this.width=this.gridsterItem.width,this.height=this.gridsterItem.height,this.diffLeft=this.gridster.$options.dirType===Q.RTL?A.clientX-this.gridster.el.scrollWidth+this.gridsterItem.left:A.clientX+this.offsetLeft-this.margin-this.left,this.diffTop=A.clientY+this.offsetTop-this.margin-this.top,this.gridster.movingItem=this.gridsterItem.$item,this.gridster.previewStyle(!0),this.push=new K(this.gridsterItem),this.swap=new W(this.gridsterItem),this.gridster.dragInProgress=!0,this.gridster.updateGrid(),this.path.push({x:this.gridsterItem.item.x||0,y:this.gridsterItem.item.y||0}))}dragMove(A){A.stopPropagation(),A.preventDefault(),b.checkTouchEvent(A),this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,O(this.gridster,this.left,this.top,this.width,this.height,A,this.lastMouse,this.calculateItemPositionFromMousePosition.bind(this)),this.calculateItemPositionFromMousePosition(A)}calculateItemPositionFromMousePosition(A){this.gridster.options.scale?this.calculateItemPositionWithScale(A,this.gridster.options.scale):this.calculateItemPositionWithoutScale(A),this.calculateItemPosition(),this.lastMouse.clientX=A.clientX,this.lastMouse.clientY=A.clientY,this.zone.run(()=>{this.gridster.updateGrid()})}calculateItemPositionWithScale(A,e){this.left=this.gridster.$options.dirType===Q.RTL?this.gridster.el.scrollWidth-this.originalClientX+(A.clientX-this.originalClientX)/e+this.diffLeft:this.originalClientX+(A.clientX-this.originalClientX)/e+this.offsetLeft-this.diffLeft,this.top=this.originalClientY+(A.clientY-this.originalClientY)/e+this.offsetTop-this.diffTop}calculateItemPositionWithoutScale(A){this.left=this.gridster.$options.dirType===Q.RTL?this.gridster.el.scrollWidth-A.clientX+this.diffLeft:A.clientX+this.offsetLeft-this.diffLeft,this.top=A.clientY+this.offsetTop-this.diffTop}dragStop(A){A.stopPropagation(),A.preventDefault(),R(),this.cancelOnBlur(),this.mousemove(),this.mouseup(),this.mouseleave(),this.touchmove(),this.touchend(),this.touchcancel(),this.gridsterItem.renderer.removeClass(this.gridsterItem.el,"gridster-item-moving"),this.gridster.dragInProgress=!1,this.gridster.updateGrid(),this.path=[],this.gridster.options.draggable&&this.gridster.options.draggable.stop?Promise.resolve(this.gridster.options.draggable.stop(this.gridsterItem.item,this.gridsterItem,A)).then(this.makeDrag.bind(this),this.cancelDrag.bind(this)):this.makeDrag(),setTimeout(()=>{this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle(!0))})}cancelDrag(){this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.gridsterItem.setSize(),this.push&&this.push.restoreItems(),this.swap&&this.swap.restoreSwapItem(),this.push&&(this.push.destroy(),delete this.push),this.swap&&(this.swap.destroy(),delete this.swap)}makeDrag(){this.gridster.$options.draggable.dropOverItems&&this.gridster.options.draggable&&this.gridster.options.draggable.dropOverItemsCallback&&this.collision&&!0!==this.collision&&this.collision.$item&&this.gridster.options.draggable.dropOverItemsCallback(this.gridsterItem.item,this.collision.item,this.gridster),this.collision=!1,this.gridsterItem.setSize(),this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.push&&this.push.setPushedItems(),this.swap&&this.swap.setSwapItem(),this.push&&(this.push.destroy(),delete this.push),this.swap&&(this.swap.destroy(),delete this.swap)}calculateItemPosition(){if(this.gridster.movingItem=this.gridsterItem.$item,this.positionX=this.gridster.pixelsToPositionX(this.left,Math.round),this.positionY=this.gridster.pixelsToPositionY(this.top,Math.round),this.positionXBackup=this.gridsterItem.$item.x,this.positionYBackup=this.gridsterItem.$item.y,this.gridsterItem.$item.x=this.positionX,this.gridster.checkGridCollision(this.gridsterItem.$item)&&(this.gridsterItem.$item.x=this.positionXBackup),this.gridsterItem.$item.y=this.positionY,this.gridster.checkGridCollision(this.gridsterItem.$item)&&(this.gridsterItem.$item.y=this.positionYBackup),this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,this.left,this.top),this.positionXBackup!==this.gridsterItem.$item.x||this.positionYBackup!==this.gridsterItem.$item.y){const A=this.path[this.path.length-1];let e="";A.x<this.gridsterItem.$item.x?e=this.push.fromWest:A.x>this.gridsterItem.$item.x?e=this.push.fromEast:A.y<this.gridsterItem.$item.y?e=this.push.fromNorth:A.y>this.gridsterItem.$item.y&&(e=this.push.fromSouth),this.push.pushItems(e,this.gridster.$options.disablePushOnDrag),this.swap.swapItems(),this.collision=this.gridster.checkCollision(this.gridsterItem.$item),this.collision?(this.gridsterItem.$item.x=this.positionXBackup,this.gridsterItem.$item.y=this.positionYBackup,this.gridster.$options.draggable.dropOverItems&&!0!==this.collision&&this.collision.$item&&(this.gridster.movingItem=null)):this.path.push({x:this.gridsterItem.$item.x,y:this.gridsterItem.$item.y}),this.push.checkPushBack()}this.gridster.previewStyle(!0)}toggle(){const A=this.gridsterItem.canBeDragged();!this.enabled&&A?(this.enabled=!this.enabled,this.dragStartFunction=this.dragStartDelay.bind(this),this.mousedown=this.gridsterItem.renderer.listen(this.gridsterItem.el,"mousedown",this.dragStartFunction),this.touchstart=this.gridsterItem.renderer.listen(this.gridsterItem.el,"touchstart",this.dragStartFunction)):this.enabled&&!A&&(this.enabled=!this.enabled,this.mousedown(),this.touchstart())}dragStartDelay(A){if(A.target.hasAttribute("class")&&A.target.getAttribute("class").split(" ").indexOf("gridster-item-resizable-handler")>-1||b.checkContentClassForEvent(this.gridster,A))return;if(b.checkTouchEvent(A),!this.gridster.$options.draggable.delayStart)return void this.dragStart(A);const e=setTimeout(()=>{this.dragStart(A),a()},this.gridster.$options.draggable.delayStart),t=this.gridsterItem.renderer.listen("document","mouseup",a),i=this.gridsterItem.renderer.listen("document","mouseleave",a),s=this.gridsterItem.renderer.listen("window","blur",a),r=this.gridsterItem.renderer.listen("document","touchmove",function(e){b.checkTouchEvent(e),(Math.abs(e.clientX-A.clientX)>9||Math.abs(e.clientY-A.clientY)>9)&&a()}),n=this.gridsterItem.renderer.listen("document","touchend",a),o=this.gridsterItem.renderer.listen("document","touchcancel",a);function a(){clearTimeout(e),s(),t(),i(),r(),n(),o()}}}class X{constructor(A){this.pushedItems=[],this.pushedItemsPath=[],this.gridsterItem=A,this.gridster=A.gridster,this.tryPattern={fromEast:this.tryWest,fromWest:this.tryEast,fromNorth:this.trySouth,fromSouth:this.tryNorth},this.fromSouth="fromSouth",this.fromNorth="fromNorth",this.fromEast="fromEast",this.fromWest="fromWest"}destroy(){delete this.gridster,delete this.gridsterItem}pushItems(A){return!!this.gridster.$options.pushResizeItems&&this.push(this.gridsterItem,A)}restoreItems(){let A=0;const e=this.pushedItems.length;let t;for(;A<e;A++)t=this.pushedItems[A],t.$item.x=t.item.x||0,t.$item.y=t.item.y||0,t.$item.cols=t.item.cols||1,t.$item.row=t.item.row||1,t.setSize();this.pushedItems=[],this.pushedItemsPath=[]}setPushedItems(){let A=0;const e=this.pushedItems.length;let t;for(;A<e;A++)t=this.pushedItems[A],t.checkItemChanges(t.$item,t.item);this.pushedItems=[],this.pushedItemsPath=[]}checkPushBack(){let A=this.pushedItems.length-1,e=!1;for(;A>-1;A--)this.checkPushedItem(this.pushedItems[A],A)&&(e=!0);e&&this.checkPushBack()}push(A,e){const t=this.gridster.checkCollision(A.$item);
19if(t&&!0!==t&&t!==this.gridsterItem&&t.canBeResized()){if(this.tryPattern[e].call(this,t,A,e))return!0}else if(!1===t)return!0;return!1}trySouth(A,e,t){const i=A.$item.y,s=A.$item.rows;return A.$item.y=e.$item.y+e.$item.rows,A.$item.rows=s+i-A.$item.y,this.gridster.checkCollisionTwoItems(A.$item,e.$item)||this.gridster.checkGridCollision(A.$item)?(A.$item.y=i,A.$item.rows=s,!1):(A.setSize(),this.addToPushed(A),this.push(e,t),!0)}tryNorth(A,e,t){const i=A.$item.rows;return A.$item.rows=e.$item.y-A.$item.y,this.gridster.checkCollisionTwoItems(A.$item,e.$item)||this.gridster.checkGridCollision(A.$item)?(A.$item.rows=i,!1):(A.setSize(),this.addToPushed(A),this.push(e,t),!0)}tryEast(A,e,t){const i=A.$item.x,s=A.$item.cols;return A.$item.x=e.$item.x+e.$item.cols,A.$item.cols=s+i-A.$item.x,this.gridster.checkCollisionTwoItems(A.$item,e.$item)||this.gridster.checkGridCollision(A.$item)?(A.$item.x=i,A.$item.cols=s,!1):(A.setSize(),this.addToPushed(A),this.push(e,t),!0)}tryWest(A,e,t){const i=A.$item.cols;return A.$item.cols=e.$item.x-A.$item.x,this.gridster.checkCollisionTwoItems(A.$item,e.$item)||this.gridster.checkGridCollision(A.$item)?(A.$item.cols=i,!1):(A.setSize(),this.addToPushed(A),this.push(e,t),!0)}addToPushed(A){if(this.pushedItems.indexOf(A)<0)this.pushedItems.push(A),this.pushedItemsPath.push([{x:A.item.x||0,y:A.item.y||0,cols:A.item.cols||0,rows:A.item.rows||0},{x:A.$item.x,y:A.$item.y,cols:A.$item.cols,rows:A.$item.rows}]);else{const e=this.pushedItems.indexOf(A);this.pushedItemsPath[e].push({x:A.$item.x,y:A.$item.y,cols:A.$item.cols,rows:A.$item.rows})}}removeFromPushed(A){A>-1&&(this.pushedItems.splice(A,1),this.pushedItemsPath.splice(A,1))}checkPushedItem(A,e){const t=this.pushedItemsPath[e];let i,s,r,n,o,a=t.length-2;for(;a>-1;a--)i=t[a],s=A.$item.x,r=A.$item.y,n=A.$item.cols,o=A.$item.rows,A.$item.x=i.x,A.$item.y=i.y,A.$item.cols=i.cols,A.$item.rows=i.rows,this.gridster.findItemWithItem(A.$item)?(A.$item.x=s,A.$item.y=r,A.$item.cols=n,A.$item.rows=o):(A.setSize(),t.splice(a+1,t.length-1-a));return t.length<2&&(this.removeFromPushed(e),!0)}}class z{constructor(A,e,t){this.zone=t,this.gridsterItem=A,this.gridster=e,this.lastMouse={clientX:0,clientY:0},this.itemBackup=[0,0,0,0],this.resizeEventScrollType={w:!1,e:!1,n:!1,s:!1}}destroy(){this.gridster.previewStyle&&this.gridster.previewStyle(),delete this.gridsterItem,delete this.gridster}dragStart(A){var e,t,i;A.which&&1!==A.which||(this.gridster.options.resizable&&this.gridster.options.resizable.start&&this.gridster.options.resizable.start(this.gridsterItem.item,this.gridsterItem,A),A.stopPropagation(),A.preventDefault(),this.dragFunction=this.dragMove.bind(this),this.dragStopFunction=this.dragStop.bind(this),this.zone.runOutsideAngular(()=>{this.mousemove=this.gridsterItem.renderer.listen("document","mousemove",this.dragFunction),this.touchmove=this.gridster.renderer.listen(this.gridster.el,"touchmove",this.dragFunction)}),this.mouseup=this.gridsterItem.renderer.listen("document","mouseup",this.dragStopFunction),this.mouseleave=this.gridsterItem.renderer.listen("document","mouseleave",this.dragStopFunction),this.cancelOnBlur=this.gridsterItem.renderer.listen("window","blur",this.dragStopFunction),this.touchend=this.gridsterItem.renderer.listen("document","touchend",this.dragStopFunction),this.touchcancel=this.gridsterItem.renderer.listen("document","touchcancel",this.dragStopFunction),this.gridsterItem.renderer.addClass(this.gridsterItem.el,"gridster-item-resizing"),this.lastMouse.clientX=A.clientX,this.lastMouse.clientY=A.clientY,this.left=this.gridsterItem.left,this.top=this.gridsterItem.top,this.originalClientX=A.clientX,this.originalClientY=A.clientY,this.width=this.gridsterItem.width,this.height=this.gridsterItem.height,this.bottom=this.gridsterItem.top+this.gridsterItem.height,this.right=this.gridsterItem.left+this.gridsterItem.width,this.margin=this.gridster.$options.margin,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.diffLeft=A.clientX+this.offsetLeft-this.left,this.diffRight=A.clientX+this.offsetLeft-this.right,this.diffTop=A.clientY+this.offsetTop-this.top,this.diffBottom=A.clientY+this.offsetTop-this.bottom,this.minHeight=this.gridster.positionYToPixels(this.gridsterItem.$item.minItemRows||this.gridster.$options.minItemRows)-this.margin,this.minWidth=this.gridster.positionXToPixels(this.gridsterItem.$item.minItemCols||this.gridster.$options.minItemCols)-this.margin,this.gridster.movingItem=this.gridsterItem.$item,this.gridster.previewStyle(),this.push=new K(this.gridsterItem),this.pushResize=new X(this.gridsterItem),this.gridster.dragInProgress=!0,this.gridster.updateGrid(),(null===(e=A.target)||void 0===e?void 0:e.hasAttribute("class"))&&A.target.getAttribute("class").split(" ").indexOf("handle-n")>-1?(this.resizeEventScrollType.n=!0,this.directionFunction=this.handleN):(null===(t=A.target)||void 0===t?void 0:t.hasAttribute("class"))&&A.target.getAttribute("class").split(" ").indexOf("handle-w")>-1?this.gridster.$options.dirType===Q.RTL?(this.resizeEventScrollType.e=!0,this.directionFunction=this.handleE):(this.resizeEventScrollType.w=!0,this.directionFunction=this.handleW):(null===(i=A.target)||void 0===i?void 0:i.hasAttribute("class"))&&A.target.getAttribute("class").split(" ").indexOf("handle-s")>-1?(this.resizeEventScrollType.s=!0,this.directionFunction=this.handleS):A.target.hasAttribute("class")&&A.target.getAttribute("class").split(" ").indexOf("handle-e")>-1?this.gridster.$options.dirType===Q.RTL?(this.resizeEventScrollType.w=!0,this.directionFunction=this.handleW):(this.resizeEventScrollType.e=!0,this.directionFunction=this.handleE):A.target.hasAttribute("class")&&A.target.getAttribute("class").split(" ").indexOf("handle-nw")>-1?this.gridster.$options.dirType===Q.RTL?(this.resizeEventScrollType.n=!0,this.resizeEventScrollType.e=!0,this.directionFunction=this.handleNE):(this.resizeEventScrollType.n=!0,this.resizeEventScrollType.w=!0,this.directionFunction=this.handleNW):A.target.hasAttribute("class")&&A.target.getAttribute("class").split(" ").indexOf("handle-ne")>-1?this.gridster.$options.dirType===Q.RTL?(this.resizeEventScrollType.n=!0,this.resizeEventScrollType.w=!0,this.directionFunction=this.handleNW):(this.resizeEventScrollType.n=!0,this.resizeEventScrollType.e=!0,this.directionFunction=this.handleNE):A.target.hasAttribute("class")&&A.target.getAttribute("class").split(" ").indexOf("handle-sw")>-1?this.gridster.$options.dirType===Q.RTL?(this.resizeEventScrollType.s=!0,this.resizeEventScrollType.e=!0,this.directionFunction=this.handleSE):(this.resizeEventScrollType.s=!0,this.resizeEventScrollType.w=!0,this.directionFunction=this.handleSW):A.target.hasAttribute("class")&&A.target.getAttribute("class").split(" ").indexOf("handle-se")>-1&&(this.gridster.$options.dirType===Q.RTL?(this.resizeEventScrollType.s=!0,this.resizeEventScrollType.w=!0,this.directionFunction=this.handleSW):(this.resizeEventScrollType.s=!0,this.resizeEventScrollType.e=!0,this.directionFunction=this.handleSE)))}dragMove(A){A.stopPropagation(),A.preventDefault(),b.checkTouchEvent(A),this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,O(this.gridster,this.left,this.top,this.width,this.height,A,this.lastMouse,this.directionFunction.bind(this),!0,this.resizeEventScrollType);const e=this.gridster.options.scale||1;this.directionFunction({clientX:this.originalClientX+(A.clientX-this.originalClientX)/e,clientY:this.originalClientY+(A.clientY-this.originalClientY)/e}),this.lastMouse.clientX=A.clientX,this.lastMouse.clientY=A.clientY,this.zone.run(()=>{this.gridster.updateGrid()})}dragStop(A){A.stopPropagation(),A.preventDefault(),R(),this.mousemove(),this.mouseup(),this.mouseleave(),this.cancelOnBlur(),this.touchmove(),this.touchend(),this.touchcancel(),this.gridster.dragInProgress=!1,this.gridster.updateGrid(),this.gridster.options.resizable&&this.gridster.options.resizable.stop?Promise.resolve(this.gridster.options.resizable.stop(this.gridsterItem.item,this.gridsterItem,A)).then(this.makeResize.bind(this),this.cancelResize.bind(this)):this.makeResize(),setTimeout(()=>{this.gridsterItem.renderer.removeClass(this.gridsterItem.el,"gridster-item-resizing"),this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle())})}cancelResize(){this.gridsterItem.$item.cols=this.gridsterItem.item.cols||1,this.gridsterItem.$item.rows=this.gridsterItem.item.rows||1,this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.gridsterItem.setSize(),this.push.restoreItems(),this.pushResize.restoreItems(),this.push.destroy(),delete this.push,this.pushResize.destroy(),delete this.pushResize}makeResize(){this.gridsterItem.setSize(),this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.push.setPushedItems(),this.pushResize.setPushedItems(),this.push.destroy(),delete this.push,this.pushResize.destroy(),delete this.pushResize}handleN(A){if(this.top=A.clientY+this.offsetTop-this.diffTop,this.height=this.bottom-this.top,this.minHeight>this.height&&(this.height=this.minHeight,this.top=this.bottom-this.minHeight),this.newPosition=this.gridster.pixelsToPositionY(this.top+this.margin,Math.floor),this.gridsterItem.$item.y!==this.newPosition){if(this.itemBackup[1]=this.gridsterItem.$item.y,this.itemBackup[3]=this.gridsterItem.$item.rows,this.gridsterItem.$item.rows+=this.gridsterItem.$item.y-this.newPosition,this.gridsterItem.$item.y=this.newPosition,this.pushResize.pushItems(this.pushResize.fromSouth),this.push.pushItems(this.push.fromSouth,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item))return this.gridsterItem.$item.y=this.itemBackup[1],this.gridsterItem.$item.rows=this.itemBackup[3],this.setItemTop(this.gridster.positionYToPixels(this.gridsterItem.$item.y)),void this.setItemHeight(this.gridster.positionYToPixels(this.gridsterItem.$item.rows)-this.margin);this.gridster.previewStyle(),this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemTop(this.top),this.setItemHeight(this.height)}handleW(A){if(this.left=(this.gridster.$options.dirType===Q.RTL?this.originalClientX+(this.originalClientX-A.clientX):A.clientX)+this.offsetLeft-this.diffLeft,this.width=this.right-this.left,this.minWidth>this.width&&(this.width=this.minWidth,this.left=this.right-this.minWidth),this.newPosition=this.gridster.pixelsToPositionX(this.left+this.margin,Math.floor),this.gridsterItem.$item.x!==this.newPosition){if(this.itemBackup[0]=this.gridsterItem.$item.x,this.itemBackup[2]=this.gridsterItem.$item.cols,this.gridsterItem.$item.cols+=this.gridsterItem.$item.x-this.newPosition,this.gridsterItem.$item.x=this.newPosition,this.pushResize.pushItems(this.pushResize.fromEast),this.push.pushItems(this.push.fromEast,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item))return this.gridsterItem.$item.x=this.itemBackup[0],this.gridsterItem.$item.cols=this.itemBackup[2],this.setItemLeft(this.gridster.positionXToPixels(this.gridsterItem.$item.x)),void this.setItemWidth(this.gridster.positionXToPixels(this.gridsterItem.$item.cols)-this.margin);this.gridster.previewStyle(),this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemLeft(this.left),this.setItemWidth(this.width)}handleS(A){if(this.height=A.clientY+this.offsetTop-this.diffBottom-this.top,this.minHeight>this.height&&(this.height=this.minHeight),this.bottom=this.top+this.height,this.newPosition=this.gridster.pixelsToPositionY(this.bottom,Math.ceil),this.gridsterItem.$item.y+this.gridsterItem.$item.rows!==this.newPosition){if(this.itemBackup[3]=this.gridsterItem.$item.rows,this.gridsterItem.$item.rows=this.newPosition-this.gridsterItem.$item.y,this.pushResize.pushItems(this.pushResize.fromNorth),this.push.pushItems(this.push.fromNorth,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item))return this.gridsterItem.$item.rows=this.itemBackup[3],void this.setItemHeight(this.gridster.positionYToPixels(this.gridsterItem.$item.rows)-this.margin);this.gridster.previewStyle(),this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemHeight(this.height)}handleE(A){if(this.width=(this.gridster.$options.dirType===Q.RTL?this.originalClientX+(this.originalClientX-A.clientX):A.clientX)+this.offsetLeft-this.diffRight-this.left,this.minWidth>this.width&&(this.width=this.minWidth),this.right=this.left+this.width,this.newPosition=this.gridster.pixelsToPositionX(this.right,Math.ceil),this.gridsterItem.$item.x+this.gridsterItem.$item.cols!==this.newPosition){if(this.itemBackup[2]=this.gridsterItem.$item.cols,this.gridsterItem.$item.cols=this.newPosition-this.gridsterItem.$item.x,this.pushResize.pushItems(this.pushResize.fromWest),this.push.pushItems(this.push.fromWest,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item))return this.gridsterItem.$item.cols=this.itemBackup[2],void this.setItemWidth(this.gridster.positionXToPixels(this.gridsterItem.$item.cols)-this.margin);this.gridster.previewStyle(),this.pushResize.checkPushBack(),this.push.checkPushBack()}this.setItemWidth(this.width)}handleNW(A){this.handleN(A),this.handleW(A)}handleNE(A){this.handleN(A),this.handleE(A)}handleSW(A){this.handleS(A),this.handleW(A)}handleSE(A){this.handleS(A),this.handleE(A)}toggle(){this.resizeEnabled=this.gridsterItem.canBeResized()}dragStartDelay(A){if(b.checkTouchEvent(A),!this.gridster.$options.resizable.delayStart)return void this.dragStart(A);const e=setTimeout(()=>{this.dragStart(A),a()},this.gridster.$options.resizable.delayStart),t=this.gridsterItem.renderer.listen("document","mouseup",a),i=this.gridsterItem.renderer.listen("document","mouseleave",a),s=this.gridsterItem.renderer.listen("window","blur",a),r=this.gridsterItem.renderer.listen("document","touchmove",function(e){b.checkTouchEvent(e),(Math.abs(e.clientX-A.clientX)>9||Math.abs(e.clientY-A.clientY)>9)&&a()}),n=this.gridsterItem.renderer.listen("document","touchend",a),o=this.gridsterItem.renderer.listen("document","touchcancel",a);function a(){clearTimeout(e),s(),t(),i(),r(),n(),o()}}setItemTop(A){this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,this.left,A)}setItemLeft(A){this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,A,this.top)}setItemHeight(A){this.gridsterItem.renderer.setStyle(this.gridsterItem.el,"height",A+"px")}setItemWidth(A){this.gridsterItem.renderer.setStyle(this.gridsterItem.el,"width",A+"px")}}let j=(()=>{class A{constructor(A,e,t,i){this.renderer=t,this.zone=i,this.itemInit=new n.vpe,this.itemChange=new n.vpe,this.itemResize=new n.vpe,this.el=A.nativeElement,this.$item={cols:-1,rows:-1,x:-1,y:-1},this.gridster=e,this.drag=new q(this,e,this.zone),this.resize=new z(this,e,this.zone)}get zIndex(){return this.getLayerIndex()+this.gridster.$options.baseLayerIndex}ngOnInit(){this.gridster.addItem(this)}ngOnChanges(A){A.item&&(this.updateOptions(),this.init||this.gridster.calculateLayoutDebounce()),A.item&&A.item.previousValue&&this.setSize()}updateOptions(){this.$item=b.merge(this.$item,this.item,{cols:void 0,rows:void 0,x:void 0,y:void 0,layerIndex:void 0,dragEnabled:void 0,resizeEnabled:void 0,compactEnabled:void 0,maxItemRows:void 0,minItemRows:void 0,maxItemCols:void 0,minItemCols:void 0,maxItemArea:void 0,minItemArea:void 0})}ngOnDestroy(){this.gridster.removeItem(this),delete this.gridster,this.drag.destroy(),delete this.drag,this.resize.destroy(),delete this.resize}setSize(){this.renderer.setStyle(this.el,"display",this.notPlaced?"":"block"),this.gridster.gridRenderer.updateItem(this.el,this.$item,this.renderer),this.updateItemSize()}updateItemSize(){const A=this.$item.x*this.gridster.curColWidth,e=this.$item.cols*this.gridster.curColWidth-this.gridster.$options.margin,t=this.$item.rows*this.gridster.curRowHeight-this.gridster.$options.margin;this.top=this.$item.y*this.gridster.curRowHeight,this.left=A,!this.init&&e>0&&t>0&&(this.init=!0,this.item.initCallback&&this.item.initCallback(this.item,this),this.gridster.options.itemInitCallback&&this.gridster.options.itemInitCallback(this.item,this),this.itemIn
19it.next({item:this.item,itemComponent:this}),this.gridster.$options.scrollToNewItems&&this.el.scrollIntoView(!1)),(e!==this.width||t!==this.height)&&(this.width=e,this.height=t,this.gridster.options.itemResizeCallback&&this.gridster.options.itemResizeCallback(this.item,this),this.itemResize.next({item:this.item,itemComponent:this}))}itemChanged(){this.gridster.options.itemChangeCallback&&this.gridster.options.itemChangeCallback(this.item,this),this.itemChange.next({item:this.item,itemComponent:this})}checkItemChanges(A,e){A.rows===e.rows&&A.cols===e.cols&&A.x===e.x&&A.y===e.y||(this.gridster.checkCollision(this.$item)?(this.$item.x=e.x||0,this.$item.y=e.y||0,this.$item.cols=e.cols||1,this.$item.rows=e.rows||1,this.setSize()):(this.item.cols=this.$item.cols,this.item.rows=this.$item.rows,this.item.x=this.$item.x,this.item.y=this.$item.y,this.gridster.calculateLayoutDebounce(),this.itemChanged()))}canBeDragged(){const A=this.gridster.$options.draggable.enabled;return!this.gridster.mobile&&A&&(void 0===this.$item.dragEnabled?A:this.$item.dragEnabled)}canBeResized(){const A=this.gridster.$options.resizable.enabled;return!this.gridster.mobile&&A&&(void 0===this.$item.resizeEnabled?A:this.$item.resizeEnabled)}bringToFront(A){if(A&&A<=0)return;const e=this.getLayerIndex(),t=this.gridster.$options.maxLayerIndex;if(e<t){const i=A?e+A:t;this.item.layerIndex=this.$item.layerIndex=i>t?t:i}}sendToBack(A){if(A&&A<=0)return;const e=this.getLayerIndex();if(e>0){const t=A?e-A:0;this.item.layerIndex=this.$item.layerIndex=t<0?0:t}}getLayerIndex(){return void 0!==this.item.layerIndex?this.item.layerIndex:void 0!==this.gridster.$options.defaultLayerIndex?this.gridster.$options.defaultLayerIndex:0}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(n.SBq),n.Y36(L),n.Y36(n.Qsj),n.Y36(n.R0b))},A.\u0275cmp=n.Xpm({type:A,selectors:[["gridster-item"]],hostVars:2,hostBindings:function(A,e){2&A&&n.Udp("z-index",e.zIndex)},inputs:{item:"item"},outputs:{itemInit:"itemInit",itemChange:"itemChange",itemResize:"itemResize"},features:[n.TTD],ngContentSelectors:c,decls:9,vars:8,consts:[["class","gridster-item-resizable-handler handle-s",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-e",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-n",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-w",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-se",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-ne",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-sw",3,"mousedown","touchstart",4,"ngIf"],["class","gridster-item-resizable-handler handle-nw",3,"mousedown","touchstart",4,"ngIf"],[1,"gridster-item-resizable-handler","handle-s",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-e",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-n",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-w",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-se",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-ne",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-sw",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-nw",3,"mousedown","touchstart"]],template:function(A,e){1&A&&(n.F$t(),n.Hsn(0),n.YNc(1,l,1,0,"div",0),n.YNc(2,d,1,0,"div",1),n.YNc(3,h,1,0,"div",2),n.YNc(4,g,1,0,"div",3),n.YNc(5,u,1,0,"div",4),n.YNc(6,B,1,0,"div",5),n.YNc(7,p,1,0,"div",6),n.YNc(8,w,1,0,"div",7)),2&A&&(n.xp6(1),n.Q6J("ngIf",e.gridster.$options.resizable.handles.s&&e.resize.resizeEnabled),n.xp6(1),n.Q6J("ngIf",e.gridster.$options.resizable.handles.e&&e.resize.resizeEnabled),n.xp6(1),n.Q6J("ngIf",e.gridster.$options.resizable.handles.n&&e.resize.resizeEnabled),n.xp6(1),n.Q6J("ngIf",e.gridster.$options.resizable.handles.w&&e.resize.resizeEnabled),n.xp6(1),n.Q6J("ngIf",e.gridster.$options.resizable.handles.se&&e.resize.resizeEnabled),n.xp6(1),n.Q6J("ngIf",e.gridster.$options.resizable.handles.ne&&e.resize.resizeEnabled),n.xp6(1),n.Q6J("ngIf",e.gridster.$options.resizable.handles.sw&&e.resize.resizeEnabled),n.xp6(1),n.Q6J("ngIf",e.gridster.$options.resizable.handles.nw&&e.resize.resizeEnabled))},directives:[i.O5],styles:["gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;transition:.3s;display:none;background:white;-webkit-user-select:text;user-select:text}gridster-item.gridster-item-moving{cursor:move}gridster-item.gridster-item-resizing,gridster-item.gridster-item-moving{transition:0s;z-index:2;box-shadow:0 0 5px 5px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.gridster-item-resizable-handler{position:absolute;z-index:2}.gridster-item-resizable-handler.handle-n{cursor:ns-resize;height:10px;right:0;top:0;left:0}.gridster-item-resizable-handler.handle-e{cursor:ew-resize;width:10px;bottom:0;right:0;top:0}.gridster-item-resizable-handler.handle-s{cursor:ns-resize;height:10px;right:0;bottom:0;left:0}.gridster-item-resizable-handler.handle-w{cursor:ew-resize;width:10px;left:0;top:0;bottom:0}.gridster-item-resizable-handler.handle-ne{cursor:ne-resize;width:10px;height:10px;right:0;top:0}.gridster-item-resizable-handler.handle-nw{cursor:nw-resize;width:10px;height:10px;left:0;top:0}.gridster-item-resizable-handler.handle-se{cursor:se-resize;width:0;height:0;right:0;bottom:0;border-style:solid;border-width:0 0 10px 10px;border-color:transparent}.gridster-item-resizable-handler.handle-sw{cursor:sw-resize;width:10px;height:10px;left:0;bottom:0}gridster-item:hover .gridster-item-resizable-handler.handle-se{border-color:transparent transparent #ccc}\n"],encapsulation:2}),A})(),AA=(()=>{class A{}return A.\u0275fac=function(e){return new(e||A)},A.\u0275mod=n.oAB({type:A}),A.\u0275inj=n.cJS({imports:[[i.ez]]}),A})();var eA=t(37207),tA=t(23901),iA=t(12523),sA=t(3780),rA=t(45435),nA=t(39701),oA=t(73554),aA=t(77524),cA=t(93342);function lA(A,e){if(1&A){const A=n.EpF();
19n.O4$(),n.TgZ(0,"svg",19),n.NdJ("click",function(e){n.CHM(A);const t=n.oxw();return t.onAddAsFavorite(t.dashboard,e)}),n._UZ(1,"path",20),n.qZA()}}function dA(A,e){if(1&A){const A=n.EpF();n.O4$(),n.TgZ(0,"svg",21),n.NdJ("click",function(e){n.CHM(A);const t=n.oxw();return t.onRemoveFromFavorite(t.dashboard,e)}),n._UZ(1,"path",22),n.qZA()}}function hA(A,e){if(1&A&&n._UZ(0,"img",23),2&A){const A=n.oxw();n.s9C("src",A.dashboard.dashboard_logo.url,n.LSH)}}const gA=function(){return{text:"Select",position:"top"}},uA=function(){return{text:"Add to favourites",position:"top"}};let BA=(()=>{class A{constructor(A){this.simpleSelectorService=A,this.selectItem=new n.vpe,this.addAsFavorite=new n.vpe,this.removeFromFavorite=new n.vpe,this.navigate=new n.vpe,this.toggleReadersPortal=new n.vpe}onSelectItem(A,e){this.selectItem.emit({dashboard:A,event:e})}onAddAsFavorite(A,e){this.addAsFavorite.emit({dashboard:A,event:e})}onRemoveFromFavorite(A,e){this.removeFromFavorite.emit({dashboard:A,event:e})}onShowDashboard(A,e){this.navigate.emit({dashboard:A,event:e})}onToggleReadersPortal(A,e){e.stopPropagation(),console.log("onToggleReadersPortal",{dashboard:A,event:e}),this.toggleReadersPortal.emit({dashboard:A,event:e})}ngOnInit(){this.simpleSelectorService.amISelected(this.dashboard.id).pipe((0,cA.b)(A=>this._selected=A)).subscribe()}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(nA.YC))},A.\u0275cmp=n.Xpm({type:A,selectors:[["dashboard-item"]],inputs:{dashboard:"dashboard"},outputs:{selectItem:"selectItem",addAsFavorite:"addAsFavorite",removeFromFavorite:"removeFromFavorite",navigate:"navigate",toggleReadersPortal:"toggleReadersPortal"},decls:22,vars:11,consts:[["width","54",3,"tooltip","click"],[1,"checkbox"],["type","checkbox","name","",3,"checked","change"],[1,"checkbox__input"],["width","54",3,"tooltip"],["width","24","height","24","viewBox","0 0 16 16","xmlns","http://www.w3.org/2000/svg",3,"click",4,"ngIf"],["width","24","height","24","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg",3,"click",4,"ngIf"],[1,"td__name"],[3,"click"],[1,"td__desc"],["width","48",1,"td__img"],["width","48","height","48","alt","Dashboard Image",3,"src",4,"ngIf"],[1,"td__readers-portal"],[1,"switch"],["name","show_in_readers_portal","type","checkbox",3,"checked","change"],[1,"switch__input"],[1,"switch__handle"],["width","200",2,"text-align","center"],[1,"btn__open-item","btn","btn--small",3,"click"],["width","24","height","24","viewBox","0 0 16 16","xmlns","http://www.w3.org/2000/svg",3,"click"],["d","M14.6673 6.15992L9.87398 5.74659L8.00065 1.33325L6.12732 5.75325L1.33398 6.15992L4.97398 9.31325L3.88065 13.9999L8.00065 11.5133L12.1207 13.9999L11.034 9.31325L14.6673 6.15992ZM8.00065 10.2666L5.49398 11.7799L6.16065 8.92659L3.94732 7.00659L6.86732 6.75325L8.00065 4.06659L9.14065 6.75992L12.0607 7.01325L9.84732 8.93325L10.514 11.7866L8.00065 10.2666Z","fill","var(--text-color)"],["width","24","height","24","viewBox","0 0 16 16","fill","none","xmlns","http://www.w3.org/2000/svg",3,"click"],["d","M8.00065 11.5133L12.1207 13.9999L11.0273 9.31325L14.6673 6.15992L9.87398 5.75325L8.00065 1.33325L6.12732 5.75325L1.33398 6.15992L4.97398 9.31325L3.88065 13.9999L8.00065 11.5133Z","fill","var(--color--yellow)"],["width","48","height","48","alt","Dashboard Image",3,"src"]],template:function(A,e){1&A&&(n.TgZ(0,"td",0),n.NdJ("click",function(A){return A.stopPropagation()}),n.TgZ(1,"label",1),n.TgZ(2,"input",2),n.NdJ("change",function(A){return e.onSelectItem(e.dashboard,A)}),n.qZA(),n._UZ(3,"span",3),n.qZA(),n.qZA(),n.TgZ(4,"td",4),n.YNc(5,lA,2,0,"svg",5),n.YNc(6,dA,2,0,"svg",6),n.qZA(),n.TgZ(7,"td",7),n.TgZ(8,"span",8),n.NdJ("click",function(A){return e.onShowDashboard(e.dashboard,A)}),n._uU(9),n.qZA(),n.qZA(),n.TgZ(10,"td",9),n._uU(11),n.qZA(),n.TgZ(12,"td",10),n.YNc(13,hA,1,1,"img",11),n.qZA(),n.TgZ(14,"td",12),n.TgZ(15,"label",13),n.TgZ(16,"input",14),n.NdJ("change",function(A){return e.onToggleReadersPortal(e.dashboard,A)}),n.qZA(),n._UZ(17,"span",15),n._UZ(18,"span",16),n.qZA(),n.qZA(),n.TgZ(19,"td",17),n.TgZ(20,"span",18),n.NdJ("
19click",function(A){return e.onShowDashboard(e.dashboard,A)}),n._uU(21,"Open this Wall"),n.qZA(),n.qZA()),2&A&&(n.Q6J("tooltip",n.DdM(9,gA)),n.xp6(2),n.Q6J("checked",e._selected),n.xp6(2),n.Q6J("tooltip",n.DdM(10,uA)),n.xp6(1),n.Q6J("ngIf",!e.dashboard.is_favorite),n.xp6(1),n.Q6J("ngIf",e.dashboard.is_favorite),n.xp6(3),n.Oqu(e.dashboard.name),n.xp6(2),n.Oqu(e.dashboard.description),n.xp6(2),n.Q6J("ngIf",e.dashboard.dashboard_logo),n.xp6(3),n.Q6J("checked",e.dashboard.show_in_readers_portal))},directives:[aA.i,i.O5],styles:["[_nghost-%COMP%]{display:contents}.btn__open-item[_ngcontent-%COMP%]{opacity:0;visibility:hidden;margin:0}table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover   .btn__open-item[_ngcontent-%COMP%], [_nghost-%COMP%]:hover   .btn__open-item[_ngcontent-%COMP%]{opacity:1;visibility:visible}.td__name[_ngcontent-%COMP%]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.td__name[_ngcontent-%COMP%]:hover{cursor:pointer;color:var(--accent)}.td__desc[_ngcontent-%COMP%]{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}"]}),A})();const pA=function(){return{text:"Select All",position:"top"}};function wA(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"th",24),n.TgZ(1,"div"),n.TgZ(2,"label",31),n.TgZ(3,"input",32),n.NdJ("change",function(e){return n.CHM(A),n.oxw(2).selectAll(e)}),n.qZA(),n._UZ(4,"span",33),n.qZA(),n.qZA(),n.qZA()}if(2&A){const A=n.oxw(2);n.Q6J("tooltip",n.DdM(2,pA)),n.xp6(3),n.Q6J("checked",null==A.listingWrapper?null:A.listingWrapper._allSelected)}}const mA=function(){return{text:"Favourites",position:"top"}};function fA(A,e){if(1&A&&(n.YNc(0,wA,5,3,"th",23),n.TgZ(1,"th",24),n.TgZ(2,"div"),n.O4$(),n.TgZ(3,"svg",25),n._UZ(4,"path",26),n.qZA(),n.qZA(),n.qZA(),n.kcU(),n.TgZ(5,"th"),n.TgZ(6,"div"),n._uU(7,"Name"),n.qZA(),n.qZA(),n.TgZ(8,"th",27),n.TgZ(9,"div"),n._uU(10,"Description"),n.qZA(),n.qZA(),n.TgZ(11,"th",28),n.TgZ(12,"div"),n._uU(13,"Image"),n.qZA(),n.qZA(),n.TgZ(14,"th",29),n.TgZ(15,"div"),n._uU(16,"Readers Portal"),n.qZA(),n.qZA(),n.TgZ(17,"th",30),n.TgZ(18,"div"),n._UZ(19,"span"),n.qZA(),n.qZA()),2&A){const A=n.oxw();n.Q6J("ngIf",null==A.listingWrapper?null:A.listingWrapper._resultsFetched),n.xp6(1),n.Q6J("tooltip",n.DdM(2,mA))}}function CA(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"dashboard-item",34),n.NdJ("selectItem",function(e){return n.CHM(A),n.oxw().selectItem(e)})("addAsFavorite",function(e){return n.CHM(A),n.oxw().addAsFavourite(e)})("removeFromFavorite",function(e){return n.CHM(A),n.oxw().removeFromFavorite(e)})("navigate",function(e){return n.CHM(A),n.oxw().onNavigate(e)})("toggleReadersPortal",function(e){return n.CHM(A),n.oxw().onToggleReadersPortal(e)}),n.qZA()}2&A&&n.Q6J("dashboard",e.$implicit)}const QA=function(A){return{_active:A}};let FA=(()=>{class A{constructor(A,e,t,i,s,r,n){this.dashboardService=A,this.router=e,this.route=t,this.tableService=i,this.queryParamsService=s,this.listingService=r,this.notificationService=n,this.dashboardQuery=new sA.cOn({tab:"all",getResultsFrom:A=>this.dashboardService.getAll(A)}),this._selectedAll=!1,this.tabSize={all:null,mine:null,favorites:null},this.currentTab="all",this._narrowedTable$=this.listingService.narrowTable$.pipe((0,rA.h)(A=>null!=A))}ngOnInit(){this.getTabs(),this.route.queryParamMap.pipe().subscribe(A=>{this.query=A.has("q")?A.get("q"):""})}createDashboard(){const A=new sA.Aa4({name:"New Wall",description:"",is_public:!1,is_owner:!0,widgets_list:[]});this.dashboardService.create(A).subscribe(A=>{console.log("Wall created",A);const e=new sA.Aa4(A);this.router.navigateByUrl("/walls/"+e.id)},A=>{console.log("Error creating wall",A)})}search(){this.listingWrapper.updateQueryParams(!0)}selectAll(A){A.stopPropagation(),this.listingWrapper.selectAll(A.target.checked)}selectItem(A){this.listingWrapper.onSelect(A.dashboard,A.event)}showDashboard(A){A.event.stopPropagation(),this.queryParamsService.navigate("/walls/show-wall",A.id),this.listingService.activeItemPath("/walls/show-wall")}changeTab(A){this.currentTab=A,this.query="",this.listingWrapper.updateParams([{key:"tab",value:A},{key:"q",value:this.query}]),this.listingWrapper.updateUrl(this.query)}onNavigate(A){this.queryParamsService.navigate("/walls",A.dashboard.id),A.event.stopPropagation()}getTabs(){this.tableService.getTabs("wall").subscribe(A=>{this.tabSize=Object.assign({},A)},A=>{console.log("Something went wrong!")})}
19onActivate(A){this._showDetails=!0}onDeactivate(A){this._showDetails=!1}addAsFavourite(A){A.event.stopPropagation(),this.tableService.addFavorite({resource_type:"wall",resource_ids:[A.dashboard.id]}).subscribe(e=>{A.dashboard.is_favorite=!0,this.getTabs(),this.notificationService.success("Added successfully to favorites")},A=>{this.notificationService.error(A)})}removeFromFavorite(A){A.event.stopPropagation(),this.tableService.removeFavorite({resource_type:"wall",resource_ids:[A.dashboard.id]}).subscribe(e=>{A.dashboard.is_favorite=!1,this.getTabs(),this.notificationService.success("Deleted successfully from favorites")},A=>{this.notificationService.error(A)})}onToggleReadersPortal(A){A.event.stopPropagation(),this.dashboardService.toggleReadersPortalState(A.dashboard.id,!A.dashboard.show_in_readers_portal).subscribe(e=>{A.dashboard.show_in_readers_portal=e.show_in_readers_portal})}ngOnDestroy(){}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(nA.sp),n.Y36(s.F0),n.Y36(s.gz),n.Y36(nA.wm),n.Y36(nA.Ed),n.Y36(nA.oI),n.Y36(nA.gq))},A.\u0275cmp=n.Xpm({type:A,selectors:[["app-dashboard"]],viewQuery:function(A,e){if(1&A&&n.Gf(iA.k,5),2&A){let A;n.iGM(A=n.CRH())&&(e.listingWrapper=A.first)}},decls:41,vars:24,consts:[[1,"flex-layout--vertical"],[1,"page__stripe"],[1,"page__stripe-left"],[1,"page-stripe__title"],[1,"table__tabs"],[1,"table__tab-item",3,"ngClass","click"],[1,"table__tab-name"],[1,"table__tab-counter"],[1,"page__stripe-right"],[3,"label","btnClass","click"],[1,"page__search","flex-item--static"],[1,"search__form"],[1,"search__input"],[1,"search__icon",3,"click"],[1,"material-icons"],["type","text","placeholder","Search Walls",3,"ngModel","ngModelChange","keyup.enter"],[1,"flex-layout--horizontal",2,"height","calc(100% - 112px)",3,"ngClass"],[1,"flex-layout--vertical","_position-relative"],[3,"typeOfTemplate","pageType","query","searchQuery","getTabs","showDetails"],["tableHeaders",""],["tableRows",""],[1,"table__details","flex-item--static",3,"hidden"],[3,"deactivate","activate"],["width","54",3,"tooltip",4,"ngIf"],["width","54",3,"tooltip"],["width","24","height","24","viewBox","0 0 16 16","xmlns","http://www.w3.org/2000/svg"],["d","M14.6673 6.15992L9.87398 5.74659L8.00065 1.33325L6.12732 5.75325L1.33398 6.15992L4.97398 9.31325L3.88065 13.9999L8.00065 11.5133L12.1207 13.9999L11.034 9.31325L14.6673 6.15992ZM8.00065 10.2666L5.49398 11.7799L6.16065 8.92659L3.94732 7.00659L6.86732 6.75325L8.00065 4.06659L9.14065 6.75992L12.0607 7.01325L9.84732 8.93325L10.514 11.7866L8.00065 10.2666Z","fill","var(--text-color)"],[1,"td__desc"],["width","100",1,"td__img"],["width","166"],["width","100"],[1,"checkbox"],["type","checkbox",3,"checked","change"],[1,"checkbox__input"],[3,"dashboard","selectItem","addAsFavorite","removeFromFavorite","navigate","toggleReadersPortal"]],template:function(A,e){1&A&&(n.TgZ(0,"div",0),n.TgZ(1,"section",1),n.TgZ(2,"div",2),n.TgZ(3,"h2",3),n._uU(4,"Walls"),n.qZA(),n.TgZ(5,"section",4),n.ynx(6),n.TgZ(7,"div",5),n.NdJ("click",function(){return e.changeTab("all")}),n.TgZ(8,"span",6),n._uU(9,"All Walls"),n.qZA(),n.TgZ(10,"span",7),n._uU(11),n.qZA(),n.qZA(),n.TgZ(12,"div",5),n.NdJ("click",function(){return e.changeTab("mine")}),n.TgZ(13,"span",6),n._uU(14,"My Walls"),n.qZA(),n.TgZ(15,"span",7),n._uU(16),n.qZA(),n.qZA(),n.TgZ(17,"div",5),n.NdJ("click",function(){return e.changeTab("favorites")}),n.TgZ(18,"span",6),n._uU(19,"My Favourites"),n.qZA(),n.TgZ(20,"span",7),n._uU(21),n.qZA(),n.qZA(),n.BQk(),n.qZA(),n.qZA(),n.TgZ(22,"div",8),n.TgZ(23,"cks-btn",9),n.NdJ("click",function(){return e.createDashboard()}),n.qZA(),n.qZA(),n.qZA(),n.TgZ(24,"section",10),n.TgZ(25,"div",11),n.TgZ(26,"div",12),n.TgZ(27,"div",13),n.NdJ("click",function(){return e.search()}),n.TgZ(28,"i",14),n._uU(29,"search"),n.qZA(),n.qZA(),n.TgZ(30,"input",15),n.NdJ("ngModelChange",function(A){return e.query=A})("keyup.enter",function(){return e.search()}),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.TgZ(31,"div",16),n.ALo(32,"async"),n.TgZ(33,"div",17),n.TgZ(34,"app-listing-wrapper",18),n.NdJ("showDetail
19s",function(A){return e.showDashboard(A)}),n.YNc(35,fA,20,3,"ng-template",null,19,n.W1O),n.YNc(37,CA,1,1,"ng-template",null,20,n.W1O),n.qZA(),n.qZA(),n.TgZ(39,"div",21),n.TgZ(40,"router-outlet",22),n.NdJ("deactivate",function(A){return e.onDeactivate(A)})("activate",function(A){return e.onActivate(A)}),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&A&&(n.xp6(7),n.Q6J("ngClass",n.VKq(18,QA,"all"==e.currentTab)),n.xp6(4),n.Oqu(e.tabSize.all),n.xp6(1),n.Q6J("ngClass",n.VKq(20,QA,"mine"==e.currentTab)),n.xp6(4),n.Oqu(e.tabSize.mine),n.xp6(1),n.Q6J("ngClass",n.VKq(22,QA,"favorites"==e.currentTab)),n.xp6(4),n.Oqu(e.tabSize.favorites),n.xp6(2),n.Q6J("label","Create a wall")("btnClass","cks-btn cks-btn--primary"),n.xp6(7),n.Q6J("ngModel",e.query),n.xp6(1),n.Q6J("ngClass",n.lcZ(32,16,e._narrowedTable$)?"table__details-active":""),n.xp6(3),n.Q6J("typeOfTemplate","table")("pageType","wall")("query",e.dashboardQuery)("searchQuery",e.query)("getTabs",e.getTabs.bind(e)),n.xp6(5),n.Q6J("hidden",!e._showDetails))},directives:[i.mk,oA.f,r.Fj,r.JJ,r.On,iA.k,s.lC,i.O5,aA.i,BA],pipes:[i.Ov],styles:[".page-content[_ngcontent-%COMP%]{position:unset}"]}),A})();var UA=t(83509),bA=t(54751),yA=t(87438);const vA=["editor__input"],IA=function(A){return{"cks-text-editable__text--multiline":A}};function xA(A,e){if(1&A&&n._UZ(0,"div",4),2&A){const A=n.oxw();n.Tol(n.VKq(4,IA,A.isMultiline)),n.Q6J("title",A.text)("innerText",A.text)}}function _A(A,e){1&A&&n._UZ(0,"i",7)}function HA(A,e){if(1&A&&(n.TgZ(0,"div",5),n.YNc(1,_A,1,0,"i",6),n.qZA()),2&A){const A=n.oxw();n.xp6(1),n.Q6J("ngIf",!A.isDisable)}}function EA(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"input",11,12),n.NdJ("ngModelChange",function(e){return n.CHM(A),n.oxw(2).pendingValue=e})("keydown.Enter",function(){return n.CHM(A),n.oxw(2).changeText()})("keydown.Meta.Enter",function(){return n.CHM(A),n.oxw(2).changeText()})("keydown.Escape",function(){return n.CHM(A),n.oxw(2).cancelEdit()}),n.qZA()}if(2&A){const A=n.oxw(2);n.Q6J("ngModel",A.pendingValue)("placeholder",A.placeholder)}}function TA(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"textarea",13,12),n.NdJ("ngModelChange",function(e){return n.CHM(A),n.oxw(2).pendingValue=e})("keydown.Enter",function(){return n.CHM(A),n.oxw(2).changeText()})("keydown.Meta.Enter",function(){return n.CHM(A),n.oxw(2).changeText()})("keydown.Escape",function(){return n.CHM(A),n.oxw(2).cancelEdit()}),n._uU(2,"    "),n.qZA()}if(2&A){const A=n.oxw(2);n.Q6J("ngModel",A.pendingValue)("placeholder",A.placeholder)}}function kA(A,e){if(1&A&&(n.TgZ(0,"div",8),n.YNc(1,EA,2,2,"input",9),n.YNc(2,TA,3,2,"textarea",10),n.qZA()),2&A){const A=n.oxw();n.xp6(1),n.Q6J("ngIf",!A.isMultiline),n.xp6(1),n.Q6J("ngIf",A.isMultiline)}}let DA=(()=>{class A{constructor(){this.onChange=new n.vpe,this.isEditing=!1,this.pendingValue="",this.currentValue=null}set editor__inputRef(A){A&&A.nativeElement.focus()}ngOnInit(){this.setDefaultOptions(this.options)}setDefaultOptions(A){this.isMultiline=(null==A?void 0:A.multiline)||!1,this.placeholder=(null==A?void 0:A.placeholder)||"no text",A={}}editText(A){this.isDisable||this.isEditing||(this.isEditing=!0,this.currentValue=A,this.pendingValue=this.text)}changeText(){!this.isEditing||(this.isEditing=!1,this.text=this.pendingValue,this.onChange.emit(this.pendingValue))}cancelEdit(){this.pendingValue="",this.currentValue=null,this.isEditing=!1}isTextEmpty(){return null==this.text||""==this.text}}return A.\u0275fac=function(e){return new(e||A)},A.\u0275cmp=n.Xpm({type:A,selectors:[["cks-text-editable"]],viewQuery:function(A,e){if(1&A&&n.Gf(vA,5),2&A){let A;n.iGM(A=n.CRH())&&(e.editor__inputRef=A.first)}},inputs:{isDisable:"isDisable",text:"text",options:"options"},outputs:{onChange:"onChange"},decls:4,vars:10,consts:[[1,"cks-text-editable",3,"ngSwitch","click","clickOutside"],["class","cks-text-editable__text",3,"class","title","innerText",4,"ngSwitchCase"],["class","cks-text-editable__pencil",4,"ngSwitchCase"],["class","cks-text-editable__editor",4,"ngSwitchCase"],[1,"cks-text-editable__text",3,"title","innerText"],[1,"cks-text-editable__pencil"],["class","cks-icon-pencil",4,"ngIf"],[1,"cks-icon-pencil"],[1,"cks-text-editable__editor"],["rows","1","type","text","name","value",3,"ngModel","placeholder","ngModelChange","keydown.Enter","keydown.Meta.Enter","keydown.Escape",4,"ngIf"],["rows","3","type","text","name","value",3,"ngModel","placeholder","ngModelChange","keydown.Enter","keydown.Meta.Enter","keydown.Escape",4,"ngIf"],["rows","1","type","text","name","value",3,"ngModel","placeholder","ngModelChange","keydown.Enter","keydown.Meta.Enter","keydown.Escape"],["editor__input",""],["rows","3","type","text","name","value",3,"ngModel","placeholder","ngModelChange","keydown.Enter","keydown.Meta.Enter","keydown.Escape"]],template:function(A,e){1&A&&(n.TgZ(0,"div",0),n.NdJ("
19click",function(A){return e.editText(A)})("clickOutside",function(){return e.changeText()}),n.YNc(1,xA,1,6,"div",1),n.YNc(2,HA,2,1,"div",2),n.YNc(3,kA,3,2,"div",3),n.qZA()),2&A&&(n.ekj("left","left"===(null==e.options?null:e.options.align))("center","center"===(null==e.options?null:e.options.align))("right","right"===(null==e.options?null:e.options.align)),n.Q6J("ngSwitch",e.isEditing),n.xp6(1),n.Q6J("ngSwitchCase",!1),n.xp6(1),n.Q6J("ngSwitchCase",!1),n.xp6(1),n.Q6J("ngSwitchCase",!0))},directives:[i.RF,yA._,i.n9,i.O5,r.Fj,r.JJ,r.On],styles:[".cks-text-editable[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;overflow:hidden;display:flex;align-items:center;justify-content:left;cursor:pointer}.cks-text-editable.left[_ngcontent-%COMP%]{justify-content:flex-start}.cks-text-editable.center[_ngcontent-%COMP%]{justify-content:center}.cks-text-editable.right[_ngcontent-%COMP%]{justify-content:flex-end}.cks-text-editable__text[_ngcontent-%COMP%]{height:100%;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:flex;align-items:center}.cks-text-editable__text--multiline[_ngcontent-%COMP%]{white-space:pre-wrap;word-wrap:break-word;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.cks-text-editable__pencil[_ngcontent-%COMP%]{z-index:1;width:48px;height:100%;display:flex;align-items:center;justify-content:center;visibility:hidden}.cks-text-editable__pencil[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:24px;line-height:24px}.cks-text-editable[_ngcontent-%COMP%]:hover   .cks-text-editable__pencil[_ngcontent-%COMP%]{visibility:visible}.cks-text-editable__editor[_ngcontent-%COMP%]{width:100%;height:100%}.cks-text-editable__editor[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .cks-text-editable__editor[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{margin:0;padding:4px;width:100%;height:100%;outline:none;border-radius:4px;border:1px solid var(--bg-color--light);background-color:var(--bg-color--extra-light);resize:none}.cks-text-editable__editor[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus, .cks-text-editable__editor[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:focus{border:1px solid var(--accent)}"]}),A})();var SA=t(63133),MA=t(29631),LA=t(60246),KA=t(23361),OA=t(95015);const ZA=["field"],PA=["optionsList"];function RA(A,e){if(1&A&&(n.TgZ(0,"span",6),n._uU(1),n.qZA()),2&A){const A=n.oxw();n.xp6(1),n.hij(" ",A.selected[A.text]," ")}}function NA(A,e){1&A&&(n.TgZ(0,"div",7),n._UZ(1,"span",8),n.qZA())}function JA(A,e){if(1&A){const A=n.EpF();
19n.TgZ(0,"i",18),n.NdJ("click",function(){return n.CHM(A),n.oxw(2).resetField()}),n.qZA()}}function GA(A,e){if(1&A&&n._UZ(0,"i"),2&A){const A=n.oxw().$implicit,e=n.oxw(3).$implicit;n.Tol(A.icon),n.ekj("active",e[A.key]===A.value)}}function VA(A,e){if(1&A&&(n.TgZ(0,"span",27),n._uU(1),n.qZA()),2&A){const A=n.oxw().$implicit,e=n.oxw(3).$implicit;n.xp6(1),n.hij(" ",e[A.key]," ")}}function YA(A,e){if(1&A&&(n.TgZ(0,"div"),n.YNc(1,GA,1,5,"i",25),n.YNc(2,VA,2,1,"span",26),n.qZA()),2&A){const A=e.$implicit;n.xp6(1),n.Q6J("ngIf","icon"===A.type),n.xp6(1),n.Q6J("ngIf","text"===A.type)}}function $A(A,e){if(1&A&&(n.ynx(0),n.YNc(1,YA,3,2,"div",19),n.BQk()),2&A){const A=n.oxw(7);n.xp6(1),n.Q6J("ngForOf",A.template)}}function WA(A,e){if(1&A&&(n.ynx(0),n.TgZ(1,"span"),n._uU(2),n.qZA(),n.BQk()),2&A){const A=n.oxw(2).$implicit,e=n.oxw(5);n.xp6(2),n.Oqu(A[e.text])}}const qA=function(A){return{selected:A}};function XA(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"li",24),n.NdJ("click",function(){n.CHM(A);const e=n.oxw().$implicit;return n.oxw(5).selectItem(e)}),n.YNc(1,$A,2,1,"ng-container",15),n.YNc(2,WA,3,1,"ng-container",15),n.qZA()}if(2&A){const A=n.oxw().$implicit,e=n.oxw(5);n.Q6J("ngClass",n.VKq(3,qA,e.currentValue===A)),n.xp6(1),n.Q6J("ngIf",e.template),n.xp6(1),n.Q6J("ngIf",!e.template)}}function zA(A,e){if(1&A&&(n.TgZ(0,"div"),n.YNc(1,XA,3,5,"li",23),n.qZA()),2&A){const A=e.$implicit,t=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngIf",A[t.key]==t.value)}}function jA(A,e){if(1&A&&(n.TgZ(0,"div",21),n.TgZ(1,"span",22),n._uU(2),n.qZA(),n.YNc(3,zA,2,1,"div",19),n.qZA()),2&A){const A=n.oxw().$implicit,e=n.oxw(3);n.xp6(2),n.hij(" ",A.title," "),n.xp6(1),n.Q6J("ngForOf",e.data)}}function Ae(A,e){if(1&A&&(n.ynx(0),n.YNc(1,jA,4,2,"div",20),n.BQk()),2&A){const A=e.$implicit,t=n.oxw(3);n.xp6(1),n.Q6J("ngIf",t.showSection(A))}}function ee(A,e){if(1&A&&(n.TgZ(0,"div"),n.YNc(1,Ae,2,1,"ng-container",19),n.qZA()),2&A){const A=n.oxw(2);n.xp6(1),n.Q6J("ngForOf",A.sections)}}function te(A,e){if(1&A&&n._UZ(0,"i"),2&A){const A=n.oxw().$implicit,e=n.oxw(2).$implicit;n.Tol(A.icon),n.ekj("active",e[A.key]===A.value)}}function ie(A,e){if(1&A&&(n.TgZ(0,"span",27),n._uU(1),n.qZA()),2&A){const A=n.oxw().$implicit,e=n.oxw(2).$implicit;n.xp6(1),n.hij(" ",e[A.key]," ")}}function se(A,e){if(1&A&&(n.TgZ(0,"span",27),n._uU(1),n.qZA()),2&A){const A=n.oxw().$implicit,e=n.oxw(2).$implicit;n.xp6(1),n.hij(" (#",e[A.key],") ")}}function re(A,e){if(1&A&&(n.TgZ(0,"div"),n.YNc(1,te,1,5,"i",25),n.YNc(2,ie,2,1,"span",26),n.YNc(3,se,2,1,"span",26),n.qZA()),2&A){const A=e.$implicit;n.xp6(1),n.Q6J("ngIf","icon"===A.type),n.xp6(1),n.Q6J("ngIf","text"===A.type),n.xp6(1),n.Q6J("ngIf","id"===A.type)}}function ne(A,e){if(1&A&&(n.ynx(0),n.YNc(1,re,4,3,"div",19),n.BQk()),2&A){const A=n.oxw(4);n.xp6(1),n.Q6J("ngForOf",A.template)}}function oe(A,e){if(1&A&&(n.ynx(0),n.TgZ(1,"span"),n._uU(2),n.qZA(),n.BQk()),2&A){const A=n.oxw().$implicit,e=n.oxw(3);n.xp6(2),n.Oqu(A[e.text])}}function ae(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"li",29),n.NdJ("click",function(){const e=n.CHM(A).$implicit;return n.oxw(3).selectItem(e)}),n.YNc(1,ne,2,1,"ng-container",15),n.YNc(2,oe,3,1,"ng-container",15),n.qZA()}if(2&A){const A=e.$implicit,t=n.oxw(3);n.Q6J("ngClass",n.VKq(3,qA,t.currentValue===A)),n.xp6(1),n.Q6J("ngIf",t.template),n.xp6(1),n.Q6J("ngIf",!t.template)}}function ce(A,e){if(1&A&&(n.TgZ(0,"div"),n.YNc(1,ae,3,5,"li",28),n.qZA()),2&A){const A=n.oxw(2);n.xp6(1),n.Q6J("ngForOf",A.data)}}function le(A,e){if(1&A&&(n.TgZ(0,"div",30),n._UZ(1,"cks-loader-bar",31),n.TgZ(2,"span"),n._uU(3,"loading..."),n.qZA(),n.qZA()),2&A){const A=n.oxw(2);n.xp6(1),n.Q6J("state",A.dataQuery._loading)}}function de(A,e){1&A&&(n.TgZ(0,"div",32),n.TgZ(1,"span"),n._uU(2,"no results"),n.qZA(),n.qZA())}function he(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"ul",9),n.TgZ(1,"div",10),n.TgZ(2,"i",11),n.NdJ("click",function(e){return n.CHM(A),n.oxw().filterItems(e)}),n.qZA(),n.TgZ(3,"input",12,13),n.NdJ("ngModelChange",function(e){return n.CHM(A),n.oxw().inputField=e})("keydown",function(){return n.CHM(A),n.oxw().keyDown()}),n.qZA(),n.YNc(5,JA,1,0,"i",14),n.qZA(),n.YNc(6,ee,2,1,"div",15),n.YNc(7,ce,2,1,"div",15),n.YNc(8,le,4,1,"div",16),n.YNc(9,de,3,0,"div",17),n.qZA()}if(2&A){const A=n.oxw();n.ekj("dropdown--open",A.isDropdownOpen),n.Q6J("dirScrolledClass",A.STRIPE)("IS",A.dataQuery),n.xp6(3),n.Q6J("placeholder",A.placeholder)("ngModel",A.inputField),n.xp6(2),n.Q6J("ngIf",(null==A.inputField?null:A.inputField.length)>0),n.xp6(1),n.Q6J("ngIf",A.sections),n.xp6(1),n.Q6J("ngIf",!A.sections),n.xp6(1),n.Q6J("ngIf",A.dataQuery._loading),n.xp6(1),n.Q6J("ngIf",0===A.data.length&&!A.dataQuery._loading)}}let ge=(()=>{class A{constructor(A,e,t){this.commonService=A,this.notInPipe=e,this.keywordFilterPipe=t,this.text="text",this.id=null,this.value="value",this.icon="icon",this.outputFormat="object",this.multiple=!1,this.allowDefalutValue=!0,this.change=new n.vpe,this.formOutput=new r.NI([]),this.initData=[],this.data=[],this.selected=[],this.inputField="",this._requestTimeout=setTimeout(()=>{},1),this.dataQuery=new sA.cOn({per_page:50}),this.isAsyncData=!1,this.isDropdownOpen=!1,this.data=this.notInPipe.transform(this.data,this.selected)}set setData(A){console.log("cks-select > [data]",A),this.initData=A,this.data=A}ngOnInit(){this.placeholder||(this.placeholder="search ..."),this.options&&("id"in this.options&&(this.id=this.options.id),"text"in this.options&&(this.text=this.options.text),"value"in this.options&&(this.value=this.options.value),"icon"in this.options&&(this.value=this.options.icon),"outputFormat"in this.options&&(this.outputFormat=this.options.outputFormat),"multiple"in this.options&&(this.multiple=this.options.multiple),"allowDefalutValue"in this.options&&(this.allowDefalutValue=this.options.allowDefalutValue)),this.isAsyncData=!!this.params,this.initSelected&&(console.log("cks-select > [selected]",this.initSelected),this.selected=this.initSelected),this.isAsyncData&&(this.data=[],this.buildUrl(),this.retrieveData(),this.dataQuery.callback=this.retrieveData.bind(this)),this.isAsyncData||this.setDefaultSelected(this.data)}ngOnChanges(A){A.initSelected&&A.initSelected.currentValue&&(console.log("cks-select > ngOnChanges > [selected]",A.initSelected.currentValue),this.selected=A.initSelected.currentValue)}buildUrl(){var A;null===(A=this.sub__data)||void 0===A||A.unsubscribe(),this.data=[];const{url:e,params:t={},searchParam:i}=this.params;this.dataQuery.addParam("url",e),this.dataQuery.addParam(i||"keywords",this.inputField),Object.entries(t).forEach(([A,e])=>{this.dataQuery.addParam(A,e)})}retrieveData(){this.dataQuery._loading||this.dataQuery._endOfResults||(this.dataQuery.pagination.next(),this.sub__data=this.commonService.getData(this.dataQuery.getQuery()).subscribe(A=>{console.log("cks-select > res: ",A),A.length<this.dataQuery.pagination.per_page&&(this.dataQuery._endOfResults=!0),this.data.push(...A),this.dataQuery.loaded(),(!this.selected||0==this.selected.length)&&this.allowDefalutValue&&(this.selected=this.setDefaultSelected(this.data),this.writeValue(this.selected))},A=>{this.dataQuery.loaded(),this.dataQuery._endOfResults=!0}))}get listOptions(){return this.notInPipe.transform(this.keywordFilterPipe.transform(this.initData,this.inputField,this.text),this.selected)}setDefaultSelected(A){return this.initSelected?this.initSelected:A[0]}fieldChanged(){clearTimeout(this._requestTimeout),this._requestTimeout=setTimeout(()=>{if(this.isAsyncData&&(this.buildUrl(),this.retrieveData()),!this.isAsyncData)return this.keywordFilterPipe.transform(this.initData,this.inputField,this.text)},300)}keyDown(A){this.fieldChanged()}resetField(){0!==this.inputField.length&&(this.inputField="",this.fieldChanged())}showSection(A){return this.data.some(e=>e[A.key]===A.value)}toggleDropdown(){this.isDropdownOpen=!this.isDropdownOpen,this.isDropdownOpen&&setTimeout(()=>this.focusField())}focusField(){this.$field.nativeElement.focus()}selectItem(A){this.writeValue(A),this.resetField(),this.toggleDropdown()}writeValue(A){console.warn("cks-select > writeValue",A),null!=A&&(A instanceof HTMLElement||(this.selected=A,setTimeout(()=>{this.formOutput.patchValue(A),this.change.emit(A)},1)))}onChange(A){}registerOnChange(A){this.formOutput.valueChanges.subscribe(A)}onTouch(A){}registerOnTouched(A){}ngOnDestroy(){var A;null===(A=this.sub__data)||void 0===A||A.unsubscribe()}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(nA.v_),n.Y36(MA.h),n.Y36(LA.i))},A.\u0275cmp=n.Xpm({type:A,selectors:[["cks-select"]],viewQuery:function(A,e){if(1&A&&(n.Gf(ZA,5),n.Gf(PA,5)),2&A){let A;n.iGM(A=n.CRH())&&(e.$field=A.first),n.iGM(A=n.CRH())&&(e.$optionsList=A.first)}},inputs:{sections:"sections",template:"template",options:"options",placeholder:"placeholder",params:["async","params"],setData:["data","setData"],initSelected:["selected","initSelected"]},outputs:{change:"change"},features:[n._Bn([{provide:r.JU,useExisting:(0,n.Gpc)(()=>A),multi:!0},MA.h,LA.i]),n.TTD],decls:6,vars:3,consts:[[1,"dropdown",3,"clickOutside"],["aria-haspopup","listbox","aria-labelledby","dropdown__label",1,"dropdown__button",3,"click"],["id","dropdown__label",4,"ngIf"],["class","loader",4,"ngIf"],[1,"cks-icon-arrow-s--down"],["class","dropdown__list","role","listbox","aria-expanded","true",3,"dirScrolledClass","IS","dropdown--open",4,"ngIf"],["id","dropdown__label"],[1,"loader"],[1,"loader__icon"],["role","listbox","aria-expanded","true",1,"dropdown__list",3,"dirScrolledClass","IS"],[1,"dropdown__filter"],[1,"cks-icon-search",3,"click"],["type","text",3,"placeholder","ngModel","ngModelChange","keydown"],["field",""],["class","cks-icon cks-icon-cancel",3,"click",4,"ngIf"],[4,"ngIf"],["class","dropdown__message dropdown__message--loading",4,"ngIf"],["class","dropdown__message dropdown__message--empty",4,"ngIf"],[1,"cks-icon","cks-icon-cancel",3,"click"],[4,"ngFor","ngForOf"],["class","dropdown__list__section",4,"ngIf"],[1,"dropdown__list__section"],[1,"dropdown__list__section--title"],[3,"ngClass","click",4,"ngIf"],[3,"ngClass","click"],[3,"class","active",4,"ngIf"],["class","",4,"ngIf"],[1,""],["class","dropdown__option",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"dropdown__option",3,"ngClass","click"],[1,"dropdown__message","dropdown__message--loading"],[3,"state"],[1,"dropdown__message","dropdown__message--empty"]],template:function(A,e){1&A&&(n.TgZ(0,"div",0),n.NdJ("
19clickOutside",function(){return e.isDropdownOpen=!1}),n.TgZ(1,"button",1),n.NdJ("click",function(){return e.toggleDropdown()}),n.YNc(2,RA,2,1,"span",2),n.YNc(3,NA,2,0,"div",3),n._UZ(4,"i",4),n.qZA(),n.YNc(5,he,10,11,"ul",5),n.qZA()),2&A&&(n.xp6(2),n.Q6J("ngIf",e.selected),n.xp6(1),n.Q6J("ngIf",e.dataQuery._loading),n.xp6(2),n.Q6J("ngIf",e.isDropdownOpen))},directives:[yA._,i.O5,KA.$,OA.R,r.Fj,r.JJ,r.On,i.sg,i.mk,bA.C],styles:[".cks-select[_ngcontent-%COMP%]{cursor:pointer;color:var(--text-color-hight);background-color:var(--bg-boxes);border:solid 1px var(--border-color)}.cks-select[_ngcontent-%COMP%]:focus{outline:none}.cks-select[_ngcontent-%COMP%]:active{outline:none}.cks-select--xs[_ngcontent-%COMP%]{height:16px;border-radius:2px;padding:0 4px;font-size:10px}.cks-select--s[_ngcontent-%COMP%]{height:24px;border-radius:2px;padding:0 6px;font-size:12px}.cks-select--m[_ngcontent-%COMP%]{height:32px;border-radius:3px;padding:0 8px;font-size:14px}.cks-select--l[_ngcontent-%COMP%]{height:48px;border-radius:4px;padding:0 12px;font-size:17px}.cks-select--xl[_ngcontent-%COMP%]{height:64px;border-radius:6px;padding:0 16px;font-size:20px}.dropdown[_ngcontent-%COMP%]{min-width:300px;position:relative;margin-right:8px;line-height:normal}.dropdown__button[_ngcontent-%COMP%]{border:1px solid var(--border-color);border-radius:3px;position:relative;justify-content:space-between;padding:0 32px 0 12px;display:flex;font-size:14px;width:100%;height:40px;cursor:pointer;align-items:center;background-color:var(--bg-boxes);color:var(--text-color);overflow:hidden}.dropdown__button[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:18px}.dropdown__button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;width:100%;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:normal}.dropdown__button[_ngcontent-%COMP%]:hover{outline:1px solid rgba(48,125,255,.5)}.dropdown[_ngcontent-%COMP%]   .dropdown__button[_ngcontent-%COMP%]   .loader[_ngcontent-%COMP%]{width:24px;height:24px;padding:0;margin-right:4px;display:grid;place-items:center}.dropdown[_ngcontent-%COMP%]   .dropdown__button[_ngcontent-%COMP%]   .loader[_ngcontent-%COMP%]   .loader__icon[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:50%;border:4px solid var(--text-color--extra-light);border-top-color:var(--accent);animation:spin 1s linear infinite}.dropdown__value[_ngcontent-%COMP%]{font-weight:600}.dropdown__list[_ngcontent-%COMP%]{display:none;background-color:var(--bg-boxes);list-style:none;outline:1px solid var(--border-color);position:absolute;bottom:0;left:0;padding:0;z-index:10;right:0;margin:0;transform:translateY(100%);max-height:256px;overflow-y:auto;overflow-x:hidden;width:100%}.dropdown__list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;padding:8px 16px;cursor:pointer;background-color:var(--bg-boxes)}.dropdown__list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin:0 8px;font-size:18px;opacity:.15}.dropdown__list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   i.active[_ngcontent-%COMP%]{opacity:1}.dropdown__list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown__list[_ngcontent-%COMP%]   li.selected[_ngcontent-%COMP%]{background-color:#0000004d}.dropdown__list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#00000026}.dropdown__list.dropdown--open[_ngcontent-%COMP%]{width:100%;display:block}.dropdown__list[_ngcontent-%COMP%]   .dropdown__option[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:8px}.dropdown__list[_ngcontent-%COMP%]   .dropdown__filter[_ngcontent-%COMP%]{display:flex;padding:16px;width:100%;background-color:var(--bgmain);line-height:normal;overflow:hidden}.dropdown__list[_ngcontent-%COMP%]   .dropdown__filter[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{margin:0 8px;font-size:14px;border:none;outline:none;background-color:var(--bgmain);color:var(--text-color-hight);width:100%}.dropdown__list[_ngcontent-%COMP%]   .dropdown__filter[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:18px}.dropdown__list[_ngcontent-%COMP%]   .dropdown__filter[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:hover{cursor:pointer;color:var(--accent)}.dropdown__list[_ngcontent-%COMP%]   .dropdown__list__section[_ngcontent-%COMP%]{color:var(--text-color);border-top:1px solid var(--border-color);margin-bottom:8px}.dropdown__list[_ngcontent-%COMP%]   .dropdown__list__section[_ngcontent-%COMP%]:first-child{border-top:none}.dropdown__list[_ngcontent-%COMP%]   .dropdown__list__section[_ngcontent-%COMP%]:last-child{margin-bottom:0}.dropdown__list[_ngcontent-%COMP%]   .dropdown__list__section--title[_ngcontent-%COMP%]{display:block;padding:16px;font-weight:700;font-size:16px}.dropdown__message[_ngcontent-%COMP%]{height:100%;width:100%}.dropdown__message[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100%;width:100%;background-color:var(--bg-boxes);color:var(--text-color);font-size:14px;padding:16px}.dropdown__message--loading[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding-top:20px}"]}),A})();var ue=t(80167),Be=t(31003);const pe=["iframe_src"],we=function(){return{url:"collections/simple"}},me=function(){return{text:"name",id:"id"}},fe=function(){return{type:"text",key:"name"}},Ce=function(){return{type:"id",key:"id"}},Qe=function(A,e){return[A,e]};function Fe(A,e){if(1&A){const A=n.EpF();
19n.TgZ(0,"cks-select",31),n.NdJ("change",function(e){return n.CHM(A),n.oxw(5).onCollectionChange(e)}),n.qZA()}if(2&A){const A=n.oxw(5);n.Q6J("async",n.DdM(4,we))("options",n.DdM(5,me))("selected",A.selectedCollection)("template",n.WLB(8,Qe,n.DdM(6,fe),n.DdM(7,Ce)))}}const Ue=function(){return{url:"searches/simple"}};function be(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"cks-select",32),n.NdJ("change",function(e){return n.CHM(A),n.oxw(5).onSearchChange(e)}),n.qZA()}if(2&A){const A=n.oxw(5);n.Q6J("async",n.DdM(4,Ue))("options",n.DdM(5,me))("selected",A.selectedSearch)("template",n.WLB(8,Qe,n.DdM(6,fe),n.DdM(7,Ce)))}}const ye=function(){return{url:"tags/simple"}},ve=function(){return{text:"name"}};function Ie(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"cks-select",33),n.NdJ("change",function(e){return n.CHM(A),n.oxw(5).onTagChange(e)}),n.qZA()}if(2&A){const A=n.oxw(5);n.Q6J("async",n.DdM(4,ye))("options",n.DdM(5,ve))("selected",A.selectedTag)("template",n.WLB(8,Qe,n.DdM(6,fe),n.DdM(7,Ce)))}}const xe=function(){return{url:"sources/simple"}};function _e(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"cks-select",34),n.NdJ("change",function(e){return n.CHM(A),n.oxw(5).onSourceChange(e)}),n.qZA()}if(2&A){const A=n.oxw(5);n.Q6J("async",n.DdM(4,xe))("options",n.DdM(5,me))("selected",A.selectedSource)("template",n.WLB(8,Qe,n.DdM(6,fe),n.DdM(7,Ce)))}}function He(A,e){if(1&A&&(n.TgZ(0,"div",24),n.YNc(1,Fe,1,11,"cks-select",27),n.YNc(2,be,1,11,"cks-select",28),n.YNc(3,Ie,1,11,"cks-select",29),n.YNc(4,_e,1,11,"cks-select",30),n.qZA()),2&A){const A=n.oxw(4);n.xp6(1),n.Q6J("ngIf","Collection"==A.widgetForm.controls.source_type.value.value),n.xp6(1),n.Q6J("ngIf","Search"==A.widgetForm.controls.source_type.value.value),n.xp6(1),n.Q6J("ngIf","Tag"==A.widgetForm.controls.source_type.value.value),n.xp6(1),n.Q6J("ngIf","Source"==A.widgetForm.controls.source_type.value.value)}}function Ee(A,e){if(1&A&&(n.TgZ(0,"div",22),n.TgZ(1,"div",23),n.TgZ(2,"span"),n._uU(3," Choose the source of your chart "),n.qZA(),n.qZA(),n.TgZ(4,"div",24),n._UZ(5,"cks-chips",25),n.qZA(),n.YNc(6,He,5,4,"div",26),n.qZA()),2&A){const A=n.oxw(3);n.xp6(5),n.Q6J("data",A.sourceType),n.xp6(1),n.Q6J("ngIf",A.widgetForm.controls.source_type.value)}}const Te=function(){return{text:"label"}};function ke(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",35),n.TgZ(1,"div",23),n.TgZ(2,"span"),n._uU(3," Choose the data of the chart "),n.qZA(),n.qZA(),n.TgZ(4,"div",24),n.TgZ(5,"cks-chips",36),n.NdJ("change",function(e){return n.CHM(A),n.oxw(3).onChartDataChange(e)}),n.qZA(),n.qZA(),n.TgZ(6,"div",23),n.TgZ(7,"span"),n._uU(8," Choose the type of the chart "),n.qZA(),n.qZA(),n.TgZ(9,"div",24),n.TgZ(10,"cks-chips",37),n.NdJ("change",function(e){return n.CHM(A),n.oxw(3).onChartTypeChange(e)}),n.qZA(),n.qZA(),n.qZA()}if(2&A){const A=n.oxw(3);n.xp6(5),n.Q6J("selected",A.chartData[0])("options",n.DdM(7,Te))("data",A.chartData),n.xp6(5),n.Q6J("selected",A.chartTypes[0])("options",n.DdM(8,Te))("data",A.chartTypes)("disable",A.disabledChartTypeList)}}function De(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",38),n.TgZ(1,"div",23),n.TgZ(2,"span"),n._uU(3," Choose the periode of the chart "),n.qZA(),n.qZA(),n._UZ(4,"input",39),n.TgZ(5,"label",40),n.NdJ("mouseup",function(e){return n.CHM(A),n.oxw(3).onDateTypeClick(e,"periode")}),n._UZ(6,"cks-chips",41),n.qZA(),n._UZ(7,"input",42),n.TgZ(8,"label",43),n.NdJ("mouseup",function(e){return n.CHM(A),n.oxw(3).onDateTypeClick(e,"range")}),n.TgZ(9,"div",44),n.TgZ(10,"label",45),n._uU(11," from : "),n.qZA(),n._UZ(12,"input",46),n.qZA(),n.TgZ(13,"div",44),n.TgZ(14,"label",45),n._uU(15," to : "),n.qZA(),n._UZ(16,"input",47),n.qZA(),n.qZA(),n.qZA()}if(2&A){const A=n.oxw(3);n.xp6(4),n.Q6J("value","periode")("checked","periode"==A.widgetForm.controls.date_type.value),n.xp6(2),n.Q6J("selected",A.periodes[0])("options",n.DdM(7,Te))("data",A.periodes),n.xp6(1),n.Q6J("value","range")("checked","range"==A.widgetForm.controls.date_type.value)}}function Se(A,e){if(1&A&&n._UZ(0,"cks-btn",50),2&A){const A=n.oxw(4);n.Q6J("icon",A.widgetForm.value.source_type.icon)("label",A.widgetForm.value.source_collection.name)}}function Me(A,e){if(1&A&&n._UZ(0,"cks-btn",50),2&A){const A=n.oxw(4);n.Q6J("icon",A.widgetForm.value.source_type.icon)("label",A.widgetForm.value.source_search.name)}}function Le(A,e){if(1&A&&n._UZ(0,"cks-btn",50),2&A){const A=n.oxw(4);n.Q6J("icon",A.widgetForm.value.source_type.icon)("label",A.widgetForm.value.source_tag.name)}}function Ke(A,e){if(1&A&&n._UZ(0,"cks-btn",50),2&A){const A=n.oxw(4);n.Q6J("icon",A.widgetForm.value.source_type.icon)("label",A.widgetForm.value.source_source.name)}
19}function Oe(A,e){if(1&A&&n._UZ(0,"cks-btn",50),2&A){const A=n.oxw(4);n.Q6J("icon","cks-icon-calendar")("label",A.widgetForm.value.periode.label)}}function Ze(A,e){if(1&A&&n._UZ(0,"cks-btn",50),2&A){const A=n.oxw(4);n.Q6J("icon","cks-icon-calendar")("label",A.widgetForm.value.date_from+" - "+A.widgetForm.value.date_to)}}function Pe(A,e){if(1&A&&(n.TgZ(0,"div",48),n.TgZ(1,"div",23),n.TgZ(2,"span"),n._uU(3," Are these settings correct ? If yes, submit ! "),n.qZA(),n.qZA(),n.TgZ(4,"div",24),n.YNc(5,Se,1,2,"cks-btn",49),n.YNc(6,Me,1,2,"cks-btn",49),n.YNc(7,Le,1,2,"cks-btn",49),n.YNc(8,Ke,1,2,"cks-btn",49),n._uU(9," > "),n._UZ(10,"cks-btn",50),n._uU(11," > "),n._UZ(12,"cks-btn",50),n._uU(13," > "),n.YNc(14,Oe,1,2,"cks-btn",49),n.YNc(15,Ze,1,2,"cks-btn",49),n.qZA(),n.qZA()),2&A){const A=n.oxw(3);n.xp6(5),n.Q6J("ngIf","Collection"==A.widgetForm.value.source_type.value),n.xp6(1),n.Q6J("ngIf","Search"==A.widgetForm.value.source_type.value),n.xp6(1),n.Q6J("ngIf","Tag"==A.widgetForm.value.source_type.value),n.xp6(1),n.Q6J("ngIf","Source"==A.widgetForm.value.source_type.value),n.xp6(2),n.Q6J("icon",A.widgetForm.value.chart_data.icon)("label",A.widgetForm.value.chart_data.label),n.xp6(2),n.Q6J("icon",A.widgetForm.value.chart_type.icon)("label",A.widgetForm.value.chart_type.label),n.xp6(2),n.Q6J("ngIf","periode"==A.widgetForm.value.date_type),n.xp6(1),n.Q6J("ngIf","range"==A.widgetForm.value.date_type)}}function Re(A,e){if(1&A&&(n.TgZ(0,"div",17),n.YNc(1,Ee,7,2,"div",18),n.YNc(2,ke,11,9,"div",19),n.YNc(3,De,17,8,"div",20),n.YNc(4,Pe,16,10,"div",21),n.qZA()),2&A){const A=n.oxw(2);n.xp6(1),n.Q6J("ngIf",A.widgetForm&&1==A.formStep),n.xp6(1),n.Q6J("ngIf",A.widgetForm&&2==A.formStep),n.xp6(1),n.Q6J("ngIf",A.widgetForm&&3==A.formStep),n.xp6(1),n.Q6J("ngIf",A.widgetForm&&4==A.formStep)}}function Ne(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"cks-select",31),n.NdJ("change",function(e){return n.CHM(A),n.oxw(5).onCollectionChange(e)}),n.qZA()}if(2&A){const A=n.oxw(5);n.Q6J("async",n.DdM(4,we))("options",n.DdM(5,me))("selected",A.selectedCollection)("template",n.WLB(8,Qe,n.DdM(6,fe),n.DdM(7,Ce)))}}function Je(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"cks-select",32),n.NdJ("change",function(e){return n.CHM(A),n.oxw(5).onSearchChange(e)}),n.qZA()}if(2&A){const A=n.oxw(5);n.Q6J("async",n.DdM(4,Ue))("options",n.DdM(5,me))("selected",A.selectedSearch)("template",n.WLB(8,Qe,n.DdM(6,fe),n.DdM(7,Ce)))}}function Ge(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"cks-select",33),n.NdJ("change",function(e){return n.CHM(A),n.oxw(5).onTagChange(e)}),n.qZA()}if(2&A){const A=n.oxw(5);n.Q6J("async",n.DdM(4,ye))("options",n.DdM(5,ve))("selected",A.selectedTag)("template",n.WLB(8,Qe,n.DdM(6,fe),n.DdM(7,Ce)))}}function Ve(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"cks-select",34),n.NdJ("change",function(e){return n.CHM(A),n.oxw(5).onSourceChange(e)}),n.qZA()}if(2&A){const A=n.oxw(5);n.Q6J("async",n.DdM(4,xe))("options",n.DdM(5,me))("selected",A.selectedSource)("template",n.WLB(8,Qe,n.DdM(6,fe),n.DdM(7,Ce)))}}function Ye(A,e){if(1&A&&(n.TgZ(0,"div",24),n.YNc(1,Ne,1,11,"cks-select",27),n.YNc(2,Je,1,11,"cks-select",28),n.YNc(3,Ge,1,11,"cks-select",29),n.YNc(4,Ve,1,11,"cks-select",30),n.qZA()),2&A){const A=n.oxw(4);n.xp6(1),n.Q6J("ngIf","Collection"==A.widgetForm.controls.source_type.value.value),n.xp6(1),n.Q6J("ngIf","Search"==A.widgetForm.controls.source_type.value.value),n.xp6(1),n.Q6J("ngIf","Tag"==A.widgetForm.controls.source_type.value.value),n.xp6(1),n.Q6J("ngIf","Source"==A.widgetForm.controls.source_type.value.value)}}function $e(A,e){if(1&A&&(n.TgZ(0,"div",22),n.TgZ(1,"div",23),n.TgZ(2,"span"),n._uU(3,"Items Source: "),n.qZA(),n.qZA(),n.TgZ(4,"div",24),n._UZ(5,"cks-chips",25),n.qZA(),n.YNc(6,Ye,5,4,"div",26),n.qZA()),2&A){const A=n.oxw(3);n.xp6(5),n.Q6J("data",A.sourceType),n.xp6(1),n.Q6J("ngIf",A.widgetForm.controls.source_type.value)}}function We(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",35),n.TgZ(1,"div",23),n.TgZ(2,"span"),n._uU(3," Choose the periode "),n.qZA(),n.qZA(),n._UZ(4,"input",39),n.TgZ(5,"label",40),n.NdJ("mouseup",function(e){return n.CHM(A),n.oxw(3).onDateTypeClick(e,"periode")}),n._UZ(6,"cks-chips",41),n.qZA(),n._UZ(7,"input",42),n.TgZ(8,"label",43),n.NdJ("mouseup",function(e){return n.CHM(A),n.oxw(3).onDateTypeClick(e,"range")}),n.TgZ(9,"div",44),n.TgZ(10,"label",45),n._uU(11," from : "),n.qZA(),n._UZ(12,"input",46),n.qZA(),n.TgZ(13,"div",44),n.TgZ(14,"label",45),n._uU(15," to : "),n.qZA(),n._UZ(16,"input",47),n.qZA(),n.qZA(),n.qZA()}if(2&A){const A=n.oxw(3);n.xp6(4),n.Q6J("value","periode")("checked","periode"==A.widgetForm.controls.date_type.value),n.xp6(2),n.Q6J("selected",A.periodes[0])("options",n.DdM(7,Te))("data",A.periodes),n.xp6(1),n.Q6J("value","range")("checked","range"==A.widgetForm.controls.date_type.value)}}function qe(A,e){if(1&A&&n._UZ(0,"cks-btn",50),2&A){const A=n.oxw(4);n.Q6J("icon",A.widgetForm.value.source_type.icon)("label",A.widgetForm.value.source_collection.name)}}function Xe(A,e){if(1&A&&n._UZ(0,"cks-btn",50),2&A){const A=n.oxw(4);n.Q6J("icon",A.widgetForm.value.source_type.icon)("label",A.widgetForm.value.source_search.name)}}function ze(A,e){if(1&A&&n._UZ(0,"cks-btn",50),2&A){const A=n.oxw(4);n.Q6J("icon",A.widgetForm.value.source_type.icon)("label",A.widgetForm.value.source_tag.name)}}function je(A,e){if(1&A&&n._UZ(0,"cks-btn",50),2&A){const A=n.oxw(4);n.Q6J("icon",A.widgetForm.value.source_type.icon)("label",A.widgetForm.value.source_source.name)}
19}function At(A,e){if(1&A&&n._UZ(0,"cks-btn",50),2&A){const A=n.oxw(4);n.Q6J("icon","cks-icon-calendar")("label",A.widgetForm.value.periode.label)}}function et(A,e){if(1&A&&n._UZ(0,"cks-btn",50),2&A){const A=n.oxw(4);n.Q6J("icon","cks-icon-calendar")("label",A.widgetForm.value.date_from+" - "+A.widgetForm.value.date_to)}}function tt(A,e){if(1&A&&(n.TgZ(0,"div",38),n.TgZ(1,"div",23),n.TgZ(2,"span"),n._uU(3," Are these settings correct ? If yes, submit ! "),n.qZA(),n.qZA(),n.TgZ(4,"div",24),n.YNc(5,qe,1,2,"cks-btn",49),n.YNc(6,Xe,1,2,"cks-btn",49),n.YNc(7,ze,1,2,"cks-btn",49),n.YNc(8,je,1,2,"cks-btn",49),n._uU(9," > "),n.YNc(10,At,1,2,"cks-btn",49),n.YNc(11,et,1,2,"cks-btn",49),n.qZA(),n.qZA()),2&A){const A=n.oxw(3);n.xp6(5),n.Q6J("ngIf","Collection"==A.widgetForm.value.source_type.value),n.xp6(1),n.Q6J("ngIf","Search"==A.widgetForm.value.source_type.value),n.xp6(1),n.Q6J("ngIf","Tag"==A.widgetForm.value.source_type.value),n.xp6(1),n.Q6J("ngIf","Source"==A.widgetForm.value.source_type.value),n.xp6(2),n.Q6J("ngIf","periode"==A.widgetForm.value.date_type),n.xp6(1),n.Q6J("ngIf","range"==A.widgetForm.value.date_type)}}function it(A,e){if(1&A&&(n.TgZ(0,"div",51),n.YNc(1,$e,7,2,"div",18),n.YNc(2,We,17,8,"div",19),n.YNc(3,tt,12,6,"div",20),n.qZA()),2&A){const A=n.oxw(2);n.xp6(1),n.Q6J("ngIf",A.widgetForm&&1==A.formStep),n.xp6(1),n.Q6J("ngIf",A.widgetForm&&2==A.formStep),n.xp6(1),n.Q6J("ngIf",A.widgetForm&&3==A.formStep)}}const st=function(){return{multiple:!1}};function rt(A,e){1&A&&(n.TgZ(0,"div",51),n.TgZ(1,"div",52),n.TgZ(2,"label",53),n.TgZ(3,"span"),n._uU(4,"File Source: "),n.qZA(),n._UZ(5,"cks-document-uploader",54),n.qZA(),n.qZA(),n.qZA()),2&A&&(n.xp6(5),n.Q6J("options",n.DdM(1,st)))}function nt(A,e){1&A&&(n.TgZ(0,"div",51),n.TgZ(1,"div",52),n.TgZ(2,"label",53),n.TgZ(3,"span"),n._uU(4,"Image Source: "),n.qZA(),n._UZ(5,"cks-image-uploader",55),n.qZA(),n.qZA(),n.qZA()),2&A&&(n.xp6(5),n.Q6J("options",n.DdM(1,st)))}function ot(A,e){1&A&&(n.TgZ(0,"div",51),n.TgZ(1,"div",52),n.TgZ(2,"label",53),n.TgZ(3,"span"),n._uU(4,"iFrame Source: "),n.qZA(),n._UZ(5,"textarea",56,57),n.qZA(),n.qZA(),n.qZA())}const at=function(){return{url:"shareplus_newsletters",searchParam:"query"}};function ct(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",51),n.TgZ(1,"div",52),n.TgZ(2,"div",23),n.TgZ(3,"span"),n._uU(4," Newsletter Source: "),n.qZA(),n.qZA(),n.TgZ(5,"div",24),n.TgZ(6,"cks-select",58),n.NdJ("change",function(e){return n.CHM(A),n.oxw(2).onReportChange(e)}),n.qZA(),n.qZA(),n.qZA(),n.qZA()}if(2&A){const A=n.oxw(2);n.xp6(6),n.Q6J("async",n.DdM(4,at))("selected",A.selectedReport)("options",n.DdM(5,me))("template",n.WLB(8,Qe,n.DdM(6,fe),n.DdM(7,Ce)))}}function lt(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"button",59),n.NdJ("click",function(){return n.CHM(A),n.oxw(2).onPrevious()}),n._uU(1," < Previous "),n.qZA()}}function dt(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"button",59),n.NdJ("click",function(){return n.CHM(A),n.oxw(2).onNext()}),n._uU(1," Next > "),n.qZA()}}function ht(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"button",60),n.NdJ("click",function(){return n.CHM(A),n.oxw(2).onSubmit()}),n._uU(1," Submit "),n.qZA()}}function gt(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"form",2,3),n.TgZ(2,"div",4),n.TgZ(3,"div",5),n.TgZ(4,"div",6),n.TgZ(5,"div",7),n._UZ(6,"i"),n.qZA(),n.TgZ(7,"cks-text-editable",8),n.NdJ("onChange",function(e){return n.CHM(A),n.oxw().onWidgetNameChanged(e)}),n.qZA(),n.qZA(),n._UZ(8,"div",9),n.qZA(),n.qZA(),n.YNc(9,Re,5,4,"div",10),n.YNc(10,it,4,3,"div",11),n.YNc(11,rt,6,2,"div",11),n.YNc(12,nt,6,2,"div",11),n.YNc(13,ot,7,0,"div",11),n.YNc(14,ct,7,11,"div",11),n.TgZ(15,"div",12),n.TgZ(16,"div",13),n.TgZ(17,"button",14),n.NdJ("click",function(){return n.CHM(A),n.oxw().onCancel()}),n._uU(18," Cancel "),n.qZA(),n.YNc(19,lt,2,0,"button",15),n.YNc(20,dt,2,0,"button",15),n.YNc(21,ht,2,0,"button",16),n.qZA(),n.qZA(),n.qZA()}if(2&A){const A=n.oxw();n.Q6J("formGroup",A.widgetForm),n.xp6(6),n.Tol(A.formIcon),n.xp6(1),n.Q6J("text",A.widget.name),n.xp6(2),n.Q6J("ngIf","chart"==A.widget.widget_type),n.xp6(1),n.Q6J("ngIf","items"==A.widget.widget_type),n.xp6(1),n.Q6J("ngIf","file"==A.widget.widget_type),n.xp6(1),n.Q6J("ngIf","image"==A.widget.widget_type),n.xp6(1),n.Q6J("ngIf","iframe"==A.widget.widget_type),n.xp6(1),n.Q6J("ngIf","newsletter"==A.widget.widget_type),n.xp6(5),n.Q6J("ngIf",1!==A.formStep&&"chart"===A.widget.widget_type||1!==A.formStep&&"items"===A.widget.widget_type),n.xp6(1),n.Q6J("ngIf",4!==A.formStep&&"chart"===A.widget.widget_type||3!==A.formStep&&"items"===A.widget.widget_type),n.xp6(1),n.Q6J("ngIf","chart"!==A.widget.widget_type&&"items"!==A.widget.widget_type||"chart"===A.widget.widget_type&&4==A.formStep||"items"===A.widget.widget_type&&3==A.formStep)}}let ut=(()=>{class A{constructor(A,e,t,i,s,r,n){this.modalService=A,this.authService=e,this.notificationService=t,this.dashboardService=i,this.newsletterService=s,this.datePipe=r,this.widgetService=n,this.isLoading=!1,this.chartData=[],this.chartTypes=[],this.sourceType=[{text:"Knowledge Topics",value:"Collection",icon:"cks-icon-archive"},{text:"Searches",value:"Search",icon:"la la-search"},{text:"Tags",value:"Tag",icon:"cks-icon-tag"},{text:"Bot ID",value:"Source",icon:"cks-icon-source"}],this.periodes=[{label:"Last 60 minutes",value:"last_60_minutes"},{label:"Last 24 hours",value:"last_24_hour"},{label:"Last 7 days ",value:"last_7_days"},{label:"Last 31 days ",value:"last_31_days"},{label:"Last 90 days ",value:"last_90_days"},{label:"Last 365 days ",value:"last_365_days"}],this.user=this.authService.currentUser}set iframe_srcRef(A){A&&A.nativeElement.focus()}ngOnInit(){this.initialWidget=this.widget,this.setForm(this.widget)}setForm(A){switch(this.setFromIcon(this.widget,this.widgetTypeList),A.widget_type){case"chart":this.getChartInfo(),this.widgetForm=this.setChartForm(this.widget),this.setStepForm(1,4);break;case"items":this.widgetForm=this.setItemsForm(this.widget),this.setStepForm(1,3);break;case"file":this.widgetForm=this.setFileForm(this.widget);break;case"image":this.widgetForm=this.setImageForm(this.widget);break;case"iframe":this.widgetForm=this.setIframeForm(this.widget);break;case"newsletter":this.widgetForm=this.setReportForm(this.widget)}}setFromIcon(A,e){const t=e.find(e=>e.type==A.widget_type);this.formIcon=t.icon}setStepForm(A,e){this.formStep=A,this.maxStep=e}getChartInfo(){this.ChartsInformations=new sA.Q7p,this.chartTypes=this.ChartsInformations.getChartTypes(),this.chartData=this.ChartsInformations.getChartDatas(),this.authService.hasPrivilege("knowledge-thesaurus")||this.authService.hasRole([0])||(this.chartData=this.chartData.filter(A=>"items_knowledge_tags"!==A.value))}setChartForm(A){const e=A.isEmpty;let t,i,s,n,o,a,c,l,d,h,g;if(!e){const e={id:this.widget.chart.src.id,name:this.widget.chart.src.name,type:this.widget.chart.src.type},r=e.type;t=this.sourceType.find(A=>A.value==e.type),i="Collection"===r?new sA.FEg(e):null,s="Search"===r?new sA.olm(e):null,n="Tag"===r?new sA.Vp9(e):null,o="Source"===r?new sA.Hw6(e):null,a=this.chartData.find(e=>e.value==A.chart.data),c=this.chartTypes.find(e=>e.value==A.chart.type),l=A.chart.date_type,d=this.periodes.find(e=>e.value==A.chart.periode),h=new Date(A.chart.range.from),g=new Date(A.chart.range.to)}return e&&(t=this.sourceType[0],a=this.chartData[0],c=this.chartTypes[0],l="periode",d=this.periodes[0],h=new Date((new Date).setMonth((new Date).getMonth()-3)),g=new Date),new r.cw({source_type:new r.NI(t,[r.kI.required]),source_search:new r.
19NI(s),source_collection:new r.NI(i),source_tag:new r.NI(n),source_source:new r.NI(o),chart_data:new r.NI(a,[r.kI.required]),chart_type:new r.NI(c,[r.kI.required]),date_type:new r.NI(l,[r.kI.required]),periode:new r.NI(d,[r.kI.required]),date_from:new r.NI(this.datePipe.transform(h,"yyyy-MM-dd")),date_to:new r.NI(this.datePipe.transform(g,"yyyy-MM-dd"))})}setItemsForm(A){const e=A.isEmpty;let t,i,s,n,o,a,c,l,d;if(!e){const e={id:this.widget.items.src.id,name:this.widget.items.src.name,type:this.widget.items.src.type},r=e.type;t=this.sourceType.find(A=>A.value==e.type),i="Collection"===r?new sA.FEg(e):null,s="Search"===r?new sA.olm(e):null,n="Tag"===r?new sA.Vp9(e):null,o="Source"===r?new sA.Hw6(e):null,a=A.items.date_type,c=this.periodes.find(e=>e.value==A.items.periode),l=new Date(A.items.range.from),d=new Date(A.items.range.to)}return e&&(t=this.sourceType[0],a="periode",c=this.periodes[0],l=new Date((new Date).setMonth((new Date).getMonth()-3)),d=new Date),new r.cw({source_type:new r.NI(t,[r.kI.required]),source_search:new r.NI(s),source_collection:new r.NI(i),source_tag:new r.NI(n),source_source:new r.NI(o),date_type:new r.NI(a,[r.kI.required]),periode:new r.NI(c,[r.kI.required]),date_from:new r.NI(this.datePipe.transform(l,"yyyy-MM-dd")),date_to:new r.NI(this.datePipe.transform(d,"yyyy-MM-dd"))})}setFileForm(A){return new r.cw({file_src:new r.NI(A.file.file,[r.kI.required])})}setImageForm(A){return new r.cw({image_src:new r.NI(A.image.image,[r.kI.required])})}setIframeForm(A){return new r.cw({iframe_src:new r.NI(A.iframe.src,[r.kI.required])})}setReportForm(A){return console.log("setReportForm",A),new r.cw({report_src:new r.NI(A.newsletter.id?A.newsletter:null,[r.kI.required])})}setChartType(A,e){const t=e.find(e=>e==A.value)?A:this.chartTypes.find(A=>A.value==e[0]);this.widgetForm.get("chart_type").setValue(t)}setDisabledChartType(A){this.chartTypes=this.chartTypes.map(e=>{const t=!(A.indexOf(e.value)>-1);return Object.assign(Object.assign({},e),{disable:t})})}onWidgetNameChanged(A){this.widget.name=A}onCollectionChange(A){this.selectedCollection=A}onSearchChange(A){this.selectedSearch=A}onTagChange(A){this.selectedTag=A}onSourceChange(A){this.selectedSource=A}onReportChange(A){this.selectedReport=A}onChartDataChange(A){var e,t;if(!A.value)return;const i=A.value,s=this.widgetForm.get("chart_type").value,r=null===(t=null===(e=this.ChartsInformations)||void 0===e?void 0:e.chart_data_info[i])||void 0===t?void 0:t.condition;this.setDisabledChartType(r),this.setChartType(s,r)}onChartTypeChange(A){console.log("onChartTypeChange",A)}onDateTypeClick(A,e){console.log("onDateTypeClick",A),this.widgetForm.get("date_type").setValue(e)}onPrevious(){this.formStep>1&&this.formStep--}onNext(){this.formStep<this.maxStep&&this.formStep++}onCancel(){this.modalService.close()}onSubmit(){if(this.widgetForm.valid){switch(this.widget.widget_type){case"chart":const A=this.widgetForm.value.source_type.value,e=this.widgetForm.value.source_search,t=this.widgetForm.value.source_collection,i=this.widgetForm.value.source_tag,s=this.widgetForm.value.source_source;let r,n;switch(A){case"Search":r=e.id,n=e.name;break;case"Collection":r=t.id,n=t.name;break;case"Tag":r=i.id,n=i.name;break;case"Source":r=s.id,n=s.name}const o=new sA.teR({type:A,id:r,name:n}),a=this.widgetForm.value.chart_data.value,c=this.widgetForm.value.chart_type.value,l=this.widgetForm.value.date_type.value,d=this.widgetForm.value.periode.value,h={from:new Date(this.widgetForm.value.date_from),to:new Date(this.widgetForm.value.date_to)};"range"==l?this.widget.chart.setDateRange(h):this.widget.chart.setDatePeriode(d),this.widget.chart.setSrc(o),this.widget.chart.setData(a),this.widget.chart.setType(c);break;case"items":const g=this.widgetForm.value.source_search,u=this.widgetForm.value.source_collection,B=this.widgetForm.value.source_tag,p=this.widgetForm.value.source_source,w=this.widgetForm.value.source_type.value;let m,f;switch(w){case"Search":m=g.id,f=g.name;break;case"Collection":m=u.id,f=u.name;break;case"Tag":m=B.id,f=B.name;break;case"Source":m=p.id,f=p.name}
19const C=new sA.teR({type:w,id:m,name:f});this.widget.items.setSrc(C);const Q=this.widgetForm.value.date_type,F=this.widgetForm.value.periode.value,U={from:new Date(this.widgetForm.value.date_from),to:new Date(this.widgetForm.value.date_to)};"range"==Q?this.widget.items.setDateRange(U):this.widget.items.setDatePeriode(F);break;case"file":this.widget.file.setSrc(this.widgetForm.value.file_src);break;case"image":this.widget.image.setSrc(this.widgetForm.value.image_src);break;case"iframe":this.widget.iframe.setSrc(this.widgetForm.value.iframe_src);break;case"newsletter":this.widget.newsletter.setSrc({name:this.widgetForm.value.report_src.name,id:this.widgetForm.value.report_src.id})}this.widget.isEmpty=!1,console.log("onSubmit : widget",this.widget),this.sendUpdatedWidget(this.widget),this.modalService.close()}}sendUpdatedWidget(A){this.widgetService.update(A).subscribe(e=>{console.log("widget updated",A),this.notificationService.success("Widget updated")},A=>{console.log("update widget error",A),this.notificationService.error("Error updating widget")},()=>{console.log("update widget complete"),A.isUpdated(),this.dashboardService.updateGrid$.emit(!0)})}ngOnDestroy(){}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(nA.Z7),n.Y36(nA.$h),n.Y36(nA.gq),n.Y36(nA.sp),n.Y36(nA.R7),n.Y36(i.uU),n.Y36(nA.i2))},A.\u0275cmp=n.Xpm({type:A,selectors:[["app-widget-create"]],viewQuery:function(A,e){if(1&A&&n.Gf(pe,5),2&A){let A;n.iGM(A=n.CRH())&&(e.iframe_srcRef=A.first)}},inputs:{widget:"widget",widgetTypeList:"widgetTypeList"},decls:2,vars:2,consts:[[3,"state"],["class","cks-form",3,"formGroup",4,"ngIf"],[1,"cks-form",3,"formGroup"],["form","ngForm"],[1,"cks-form__header"],[1,"cks-form__header__top"],[1,"cks-form__header__top__left"],[1,"cks-form__icon"],[1,"cks-form__title",3,"text","onChange"],[1,"cks-form__header__top__right"],["class","cks-form__content step-form",4,"ngIf"],["class","cks-form__content",4,"ngIf"],[1,"cks-form__footer"],[1,"cks-form__footer__btns"],[1,"btn","cks-btn","cks-btn--s",3,"click"],["class","btn cks-btn cks-btn--s cks-btn--primary",3,"click",4,"ngIf"],["type","submit","class","btn cks-btn cks-btn--s cks-btn--primary",3,"click",4,"ngIf"],[1,"cks-form__content","step-form"],["class","cks-form__group step__1",4,"ngIf"],["class","cks-form__group step__2",4,"ngIf"],["class","cks-form__group step__3",4,"ngIf"],["class","cks-form__group step__4",4,"ngIf"],[1,"cks-form__group","step__1"],[1,"cks-form__group__title"],[1,"cks-form__group__content"],["formControlName","source_type",3,"data"],["class","cks-form__group__content",4,"ngIf"],["formControlName","source_collection",3,"async","options","selected","template","change",4,"ngIf"],["formControlName","source_search",3,"async","options","selected","template","change",4,"ngIf"],["formControlName","source_tag",3,"async","options","selected","template","change",4,"ngIf"],["formControlName","source_source",3,"async","options","selected","template","change",4,"ngIf"],["formControlName","source_collection",3,"async","options","selected","template","change"],["formControlName","source_search",3,"async","options","selected","template","change"],["formControlName","source_tag",3,"async","options","selected","template","change"],["formControlName","source_source",3,"async","options","selected","template","change"],[1,"cks-form__group","step__2"],["formControlName","chart_data",3,"selected","options","data","change"],["formControlName","chart_type",3,"selected","options","data","disable","change"],[1,"cks-form__group","step__3"],["type","radio","formControlName","date_type","id","date_type_periode",3,"value","checked"],["for","date_type_periode",1,"cks-form__group__content--date",3,"mouseup"],["formControlName","periode",3,"selected","options","data"],["type","radio","formControlName","date_type","id","date_type_range",3,"value","checked"],["for","date_type_range",1,"cks-form__group__content--date","date-range",3,"mouseup"],[1,"date-range__date"],["for",""],["type","date","formControlName","date_from"],["type","date","formControlName","date_to"],[1,"cks-form__group","step__4"],[3,"icon","label",4,"ngIf"],[3,"icon","label"],[1,"cks-form__content"],[1,"cks-form__group"],[1,"cks-form__textarea"],["formControlName","file_src",3,"options"],["formControlName","image_src",3,"options"],["formControlName","iframe_src","placeholder","Enter your ( URL | HTML embedded Code ) here ... ",1,"cks-form__textarea__input"],["iframe_src",""],["formControlName","report_src",3,"async","selected","options","template","change"],[1,"btn","cks-btn","cks-btn--s","cks-btn--primary",3,"click"],["type","submit",1,"btn","cks-btn","cks-btn--s","cks-btn--primary",3,"click"]],template:function(A,e){1&A&&(n._UZ(0,"cks-loader-bar",0),n.YNc(1,gt,22,13,"form",1)),2&A&&(n.Q6J("state",e.isLoading),n.xp6(1),n.Q6J("ngIf",e.widgetForm))},directives:[bA.C,i.O5,r._Y,r.JL,r.sg,DA,SA.c,r.JJ,r.u,ge,r._,r.Fj,oA.f,ue.e,Be.r],styles:[".cks-form{width:100%;height:100%;padding:0;margin:0;z-index:999}.cks-form__header{width:100%;height:64px;border-bottom:1px solid var(--border-color)}.cks-form__header__top{width:100%;height:64px;display:flex;align-items:center;justify-content:space-between}.cks-form__header__top__left{width:100%;height:64px;display:flex;align-items:center;justify-content:flex-start;overflow:hidden}.cks-form__header__top__left .cks-form__icon{width:64px;
19height:64px;padding:0;margin:0;display:flex;justify-content:center;align-items:center}.cks-form__header__top__left .cks-form__icon i{font-size:24px;line-height:24px}.cks-form__header__top__left .cks-form__title{width:100%;height:48px;padding:0 8px;margin:0;display:flex;justify-content:flex-start;align-items:center;overflow:hidden;font-size:18px;line-height:48px}.cks-form__header__top__right{overflow:hidden}.cks-form__header__top__right .cks-form__close{width:64px;height:64px;padding:0;margin:0;display:flex;justify-content:center;align-items:center}.cks-form__header__top__right .cks-form__close .cks-btn-icon{width:32px;height:32px}.cks-form__header__top__right .cks-form__close .cks-btn-icon i{font-size:24px;line-height:24px}.cks-form__content{width:100%;height:100%;padding:32px;margin:0 0 64px}.cks-form__breadcrumb{width:100%;height:32px;padding:0;margin:0 0 16px;display:flex;justify-content:flex-start;align-items:center;overflow:hidden;border:1px solid red}.cks-form__group{width:100%;height:100%;padding:0;margin:0;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;flex-direction:column}.cks-form__group__title{width:100%;height:32px;padding:0;margin:0 0 16px;display:flex;justify-content:flex-start;align-items:center;overflow:hidden}.cks-form__group__title span{font-size:16px;font-weight:bold;color:var(--text-color);margin-right:16px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.cks-form__group__content{width:100%;height:100%;padding:0;margin:0 0 16px;display:flex;justify-content:flex-start;align-items:center}.cks-form__group__content--date{width:100%;height:100%;margin:0 0 16px;display:flex;justify-content:space-between;align-items:center;overflow:hidden;padding:16px;border:1px solid var(--border-color);border-radius:6px}input[type=radio]{display:none}input[type=radio]:checked+label.cks-form__group__content--date{background-color:var(--bgmain);border:1px var(--accent) solid}.date-range{width:100%;height:100%;display:grid;grid-template-columns:1fr 1fr;grid-gap:16px}.date-range__date{width:100%;height:100%;padding:0;margin:0;display:grid;grid-template-columns:64px 1fr;align-items:center;overflow:hidden}.date-range label{font-size:14px;font-weight:bold;color:var(--text-color);margin-right:16px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.date-range input[type=date]{padding:8px 12px;margin:0;height:32px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border-radius:6px;border:1px solid var(--border-color);cursor:pointer;background-color:var(--bg-color--extra-light);color:var(--text-color--medium);transition:all .2s ease-in-out;transform:scale(1)}.date-range input[type=date]:focus{outline:none;border:1px solid var(--accent);background-color:var(--accent-02);color:var(--accent)}.date-range ::-webkit-calendar-picker-indicator{display:none}.cks-form__group__content .step-form{min-height:600px}.cks-form__textarea{width:100%;height:100%;padding:0;margin:0}.cks-form__textarea span{width:100%;height:100%;margin-bottom:8px;display:flex;justify-content:flex-start;align-items:center;overflow:hidden;font-size:14px;line-height:24px}.cks-form__textarea textarea{width:100%;height:100px;padding:16px;color:var(--text-color);background:var(--bg-boxes);border:1px solid var(--border-color);border-radius:3px;resize:vertical;outline:none}.cks-form__textarea textarea:focus{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.cks-form__footer{width:100%;height:64px;border-top:1px solid var(--border-color);position:fixed;bottom:0px;left:0px;right:0px;display:flex;justify-content:flex-end;align-items:center;padding:16px}\n"],encapsulation:2,data:{animation:[UA.JD]}}),A})();const Bt=function(){return{text:"name"}},pt=function(){return{url:"users/simple"}};let wt=(()=>{class A{constructor(A,e,t,i){this.dashboardService=A,this.modalService=e,this.notificationService=t,this.userService=i,this.users=[]}ngOnInit(){console.log("assign-dashboard",this.dashboard)}onUserChange(A){this.selectedUser=A}onCancel(){this.modalService.close()}onAssign(){this.updateDashboardCreator(this.dashboard),this.modalService.close()}updateDashboardCreator(A){this.dashboardService.updateCreator(A.id,this.selectedUser.id).subscribe(A=>{console.log("sendUpdatedDashboard",A),this.notificationService.success("Dashboard assigned")},A=>{console.log("sendUpdatedDashboard error",A),this.notificationService.error("Error assigning dashboard")})}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(nA.sp),n.Y36(nA.Z7),n.Y36(nA.gq),n.Y36(nA.KD))},A.\u0275cmp=n.Xpm({type:A,selectors:[["assign-dashboard"]],inputs:{dashboard:"dashboard"},decls:10,vars:9,consts:[[1,"assign-dashboard"],[1,"assign-dashboard__content"],[1,"assign-dashboard__content__title"],[1,"assign-dashboard__content__select"],[3,"options","async","selected","change"],[1,"assign-dashboard__footer"],[3,"label","btnClass","click"]],template:function(A,e){1&A&&(n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"div",2),n.TgZ(3,"h2"),n._uU(4,"Assign this Wall to a user."),n.qZA(),n.qZA(),n.TgZ(5,"div",3),n.TgZ(6,"cks-select",4),n.NdJ("
19change",function(A){return e.onUserChange(A)}),n.qZA(),n.qZA(),n.qZA(),n.TgZ(7,"div",5),n.TgZ(8,"cks-btn",6),n.NdJ("click",function(){return e.onCancel()}),n.qZA(),n.TgZ(9,"cks-btn",6),n.NdJ("click",function(){return e.onAssign()}),n.qZA(),n.qZA(),n.qZA()),2&A&&(n.xp6(6),n.Q6J("options",n.DdM(7,Bt))("async",n.DdM(8,pt))("selected",e.selectedUser),n.xp6(2),n.Q6J("label","Cancel")("btnClass","cks-btn cks-btn--secondary"),n.xp6(1),n.Q6J("label","Assign")("btnClass","cks-btn cks-btn--primary"))},directives:[ge,oA.f],styles:[".assign-dashboard[_ngcontent-%COMP%]{margin:0;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.assign-dashboard__content[_ngcontent-%COMP%]{width:100%;height:100%;padding:32px;min-height:128px}.assign-dashboard__content__title[_ngcontent-%COMP%]{font-size:20px;font-weight:bold;color:var(--text-color-hight);margin-bottom:16px}.assign-dashboard__footer[_ngcontent-%COMP%]{border-top:1px solid var(--border-color);padding:16px;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;width:100%;height:64px}.assign-dashboard__footer[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:first-child{margin-right:16px}"]}),A})();var mt=t(44603);const ft=function(){return{url:"groups/simple"}},Ct=function(){return{text:"name",outputFormat:"object"}};function Qt(A,e){1&A&&(n.ynx(0),n._UZ(1,"br"),n._UZ(2,"br"),n._UZ(3,"cks-multiselect-async",20),n.BQk()),2&A&&(n.xp6(3),n.Q6J("data",n.DdM(2,ft))("options",n.DdM(3,Ct)))}let Ft=(()=>{class A{constructor(A,e,t){this.dashboardService=A,this.modalService=e,this.notificationService=t,this.isLoading=!0,this.sharingForm=new r.cw({is_public:new r.NI(!1),sharing_rule:new r.NI("client"),groups:new r.NI([]),show_in_readers_portal:new r.NI(!1)})}ngOnInit(){this.sharingForm.patchValue({is_public:this.dashboard.is_public,sharing_rule:this.dashboard.sharing_rule?this.dashboard.sharing_rule:"client",groups:this.dashboard.groups,show_in_readers_portal:this.dashboard.show_in_readers_portal})}onCancel(){this.modalService.close()}onShare(){console.log("onShare",this.sharingForm.value),this.updateDashboardSharing(this.dashboard)}updateDashboardSharing(A){this.dashboard.is_public=this.sharingForm.value.is_public,this.dashboard.sharing_rule=this.sharingForm.value.sharing_rule,this.dashboard.groups=this.sharingForm.value.groups,this.dashboard.show_in_readers_portal=this.sharingForm.value.show_in_readers_portal,this.dashboardService.update(A).subscribe(A=>{console.log("updateDashboardCreator",A),this.modalService.close()},A=>{console.log("updateDashboardCreator error",A),this.modalService.close()})}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(nA.sp),n.Y36(nA.Z7),n.Y36(nA.gq))},A.\u0275cmp=n.Xpm({type:A,selectors:[["sharing-dashboard"]],inputs:{dashboard:"dashboard"},decls:39,vars:10,consts:[[1,"sharing-dashboard",3,"formGroup"],[1,"sharing-dashboard__content"],[1,"sharing-dashboard__content__title"],[1,"form__group","clearfix"],[1,"form__header"],[1,"form__option"],[1,"switch"],["name","is_public","type","checkbox","formControlName","is_public"],[1,"switch__input"],[1,"switch__handle"],[1,"is-sharing"],[1,"radio"],["type","radio","formControlName","sharing_rule",3,"value"],[1,"radio__input"],[1,"radio__label"],[4,"ngIf"],[1,"form__option","clearfix"],["name","show_in_readers_portal","type","checkbox","formControlName","show_in_readers_portal"],[1,"sharing-dashboard__footer"],[3,"label","btnClass","click"],["formControlName","groups",3,"data","options"]],template:function(A,e){1&A&&(n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"div",2),n.TgZ(3,"p"),n._uU(4,"Share this Wall."),n.qZA(),n.qZA(),n.TgZ(5,"div",3),n.TgZ(6,"div",4),n.TgZ(7,"span"),n._uU(8,"Sharing Mode"),n.qZA(),n.qZA(),n.TgZ(9,"div",5),n.TgZ(10,"div",5),n.TgZ(11,"label",6),n._UZ(12,"input",7),n._UZ(13,"span",8),n._UZ(14,"span",9),n.qZA(),n.qZA(),n.TgZ(15,"div",10),n.TgZ(16,"label",11),n._UZ(17,"input",12),n._UZ(18,"span",13),n.TgZ(19,"span",14),n._uU(20,"Client"),n.qZA(),n.qZA(),n.TgZ(21,"label",11),n._UZ(22,"input",12),n._UZ(23,"span",13),n.TgZ(24,"span",14),n._uU(25,"Groups"),n.qZA(),n.qZA(),n.YNc(26,Qt,4,4,"ng-container",15),n.qZA(),n.qZA(),n.qZA(),n.TgZ(27,"div",3),n.TgZ(28,"div",4),n.TgZ(29,"span"),n._uU(30,"Show In Readers Portal"),n.qZA(),n.qZA(),n.TgZ(31,"div",16),n.TgZ(32,"label",6),n._UZ(33,"input",17),n._UZ(34,"span",8),n._UZ(35,"span",9),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.TgZ(36,"div",18),n.TgZ(37,"cks-btn",19),n.NdJ("
19click",function(){return e.onCancel()}),n.qZA(),n.TgZ(38,"cks-btn",19),n.NdJ("click",function(){return e.onShare()}),n.qZA(),n.qZA(),n.qZA()),2&A&&(n.Q6J("formGroup",e.sharingForm),n.xp6(15),n.ekj("disable",0==e.sharingForm.value.is_public),n.xp6(2),n.Q6J("value","client"),n.xp6(5),n.Q6J("value","groups"),n.xp6(4),n.Q6J("ngIf","groups"===e.sharingForm.value.sharing_rule),n.xp6(11),n.Q6J("label","Cancel")("btnClass","cks-btn cks-btn--secondary"),n.xp6(1),n.Q6J("label","Share")("btnClass","cks-btn cks-btn--primary"))},directives:[r.JL,r.sg,r.Wl,r.JJ,r.u,r._,r.Fj,i.O5,oA.f,mt.I],styles:[".sharing-dashboard__content__title[_ngcontent-%COMP%]{padding:16px;font-size:18px;font-weight:bold;color:var(--text-color-hight)}.is-sharing[_ngcontent-%COMP%]{border:1px solid var(--border-color);border-radius:6px;padding:16px;background-color:var(--bgmain)}.is-sharing.disable[_ngcontent-%COMP%]{opacity:.33!important;pointer-events:none!important}.sharing-dashboard__footer[_ngcontent-%COMP%]{border-top:1px solid var(--border-color);padding:16px;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;width:100%;height:64px}.sharing-dashboard__footer[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:first-child{margin-right:16px}"]}),A})();var Ut=t(4537);const bt=function(){return{multiple:!1}},yt=function(){return{value:0,label:"0%"}},vt=function(){return{value:10,label:"10%"}},It=function(){return{value:20,label:"20%"}},xt=function(){return{value:30,label:"30%"}},_t=function(){return{value:40,label:"40%"}},Ht=function(){return{value:50,label:"50%"}},Et=function(){return{value:60,label:"60%"}},Tt=function(){return{value:70,label:"70%"}},kt=function(){return{value:80,label:"80%"}},Dt=function(){return{value:90,label:"90%"}},St=function(){return{value:100,label:"100%"}},Mt=function(A,e,t,i,s,r,n,o,a,c,l){return[A,e,t,i,s,r,n,o,a,c,l]};let Lt=(()=>{class A{constructor(A,e){this.dashboardService=A,this.modalService=e,this.headerForm=new r.cw({logo:new r.NI(""),background_image:new r.NI(""),background_opacity:new r.NI(null)})}ngOnInit(){this.headerForm.patchValue({logo:this.dashboard.dashboard_logo,background_image:this.dashboard.dashboard_background,background_opacity:this.dashboard.background_opacity})}onCancel(){this.modalService.close()}onSubmit(){this.updateDashboardHeader(this.dashboard)}updateDashboardHeader(A){this.dashboard.dashboard_logo=this.headerForm.value.logo,this.dashboard.dashboard_background=this.headerForm.value.background_image,this.dashboard.background_opacity=this.headerForm.value.background_opacity,console.log("updateDashboardHeader",this.dashboard),this.dashboardService.update(A).subscribe(A=>{this.modalService.close()},A=>{console.log("error",A),this.modalService.close()})}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(nA.sp),n.Y36(nA.Z7))},A.\u0275cmp=n.Xpm({type:A,selectors:[["set-dashboard-header"]],inputs:{dashboard:"dashboard"},decls:25,vars:33,consts:[[1,"header-form",3,"formGroup"],[1,"header-form__content"],[1,"header-form__content__title"],[1,"form__group","clearfix"],[1,"form__header"],[1,"form__option","clearfix"],["formControlName","logo",3,"options"],["formControlName","background_image",3,"options"],[1,"form__option"],[1,"form__option__title",2,"margin-bottom","8px","margin-top","8px"],["formControlName","background_opacity",2,"width","100%","display","block","float","left",3,"data"],[1,"header-form__footer"],[3,"label","btnClass","click"]],template:function(A,e){1&A&&(n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"div",2),n.TgZ(3,"p"),n._uU(4,"Set Header."),n.qZA(),n.qZA(),n.TgZ(5,"div",3),n.TgZ(6,"div",4),n.TgZ(7,"span"),n._uU(8,"Banner logo"),n.qZA(),n.qZA(),n.TgZ(9,"div",5),n._UZ(10,"cks-image-uploader",6),n.qZA(),n.qZA(),n.TgZ(11,"div",3),n.TgZ(12,"div",4),n.TgZ(13,"span"),n._uU(14,"Banner background"),n.qZA(),n.qZA(),n.TgZ(15,"div",5),n._UZ(16,"cks-image-uploader",7),n.qZA(),n.TgZ(17,"div",8),n.TgZ(18,"div",9),n.TgZ(19,"span"),n._uU(20,"Background opacity"),n.qZA(),n.qZA(),n._UZ(21,"cks-input-range",10),n.qZA(),n.qZA(),n.qZA(),n.TgZ(22,"div",11),n.TgZ(23,"cks-btn",12),n.NdJ("click",function(){return e.onCancel()}
19),n.qZA(),n.TgZ(24,"cks-btn",12),n.NdJ("click",function(){return e.onSubmit()}),n.qZA(),n.qZA(),n.qZA()),2&A&&(n.Q6J("formGroup",e.headerForm),n.xp6(10),n.Q6J("options",n.DdM(8,bt)),n.xp6(6),n.Q6J("options",n.DdM(9,bt)),n.xp6(5),n.Q6J("data",n.rFY(21,Mt,[n.DdM(10,yt),n.DdM(11,vt),n.DdM(12,It),n.DdM(13,xt),n.DdM(14,_t),n.DdM(15,Ht),n.DdM(16,Et),n.DdM(17,Tt),n.DdM(18,kt),n.DdM(19,Dt),n.DdM(20,St)])),n.xp6(2),n.Q6J("label","Cancel")("btnClass","cks-btn cks-btn--secondary"),n.xp6(1),n.Q6J("label","Submit")("btnClass","cks-btn cks-btn--primary"))},directives:[r.JL,r.sg,Be.r,r.JJ,r.u,Ut.$,oA.f],styles:[".header-form__content__title[_ngcontent-%COMP%]{padding:16px;font-size:18px;font-weight:bold;color:var(--text-color-hight)}.header-form__footer[_ngcontent-%COMP%]{border-top:1px solid var(--border-color);padding:16px;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;width:100%;height:64px}.header-form__footer[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:first-child{margin-right:16px}"]}),A})(),Kt=(()=>{class A{constructor(A){this.modalService=A,this.update=Function}set dashboard(A){this._dashboard=A,this.dashboardName=new r.NI(this._dashboard.name)}updateName(){this.dashboardName.value!==this._dashboard.name&&this.update(this.dashboardName.value),this.modalService.close()}closeModal(){this.modalService.close()}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(nA.Z7))},A.\u0275cmp=n.Xpm({type:A,selectors:[["app-dashboard-update"]],inputs:{dashboard:"dashboard",update:"update"},decls:12,vars:1,consts:[[1,"_wrapper"],[1,"_wrapper--inner"],[1,"_close",3,"click"],[1,"_info"],["type","text","placeholder","New Wall Name",1,"_name",3,"formControl"],[1,"manage_buttons"],[1,"btn",2,"margin-right","0",3,"click"],[1,"btn","btn--secondary",3,"click"]],template:function(A,e){1&A&&(n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"span",2),n.NdJ("click",function(){return e.closeModal()}),n._uU(3,"\u2716"),n.qZA(),n.TgZ(4,"h2",3),n._uU(5,"Give a name to your new wall"),n.qZA(),n._UZ(6,"input",4),n.TgZ(7,"div",5),n.TgZ(8,"button",6),n.NdJ("click",function(){return e.updateName()}),n._uU(9,"Update the name"),n.qZA(),n.TgZ(10,"button",7),n.NdJ("click",function(){return e.closeModal()}),n._uU(11,"I'll do it later"),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&A&&(n.xp6(6),n.Q6J("formControl",e.dashboardName))},directives:[r.Fj,r.JJ,r.oH],styles:["._wrapper[_ngcontent-%COMP%]{padding:34px;position:relative}._wrapper[_ngcontent-%COMP%]   ._wrapper--inner[_ngcontent-%COMP%]{display:flex;flex-direction:column;grid-gap:8px;gap:8px}._wrapper[_ngcontent-%COMP%]   ._wrapper--inner[_ngcontent-%COMP%]   ._close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;padding:8px}._wrapper[_ngcontent-%COMP%]   ._wrapper--inner[_ngcontent-%COMP%]   ._close[_ngcontent-%COMP%]:hover{background-color:var(--accent-02);border-bottom-left-radius:6px;cursor:pointer}._wrapper[_ngcontent-%COMP%]   ._wrapper--inner[_ngcontent-%COMP%]   ._info[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:10px}._wrapper[_ngcontent-%COMP%]   ._wrapper--inner[_ngcontent-%COMP%]   ._name[_ngcontent-%COMP%]{width:100%;padding:10px;margin:10px 0;border:1px solid #ccc;border-radius:4px;font-size:20px}._wrapper[_ngcontent-%COMP%]   ._wrapper--inner[_ngcontent-%COMP%]   .manage_buttons[_ngcontent-%COMP%]{display:flex;grid-gap:14px;gap:14px;justify-content:center;margin-top:36px}"]}),A})();var Ot=t(20977),Zt=t.n(Ot),Pt=t(46101),Rt=t(39090);function Nt(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"cks-chart",1),n.NdJ("chartChange",function(e){return n.CHM(A),n.oxw().chart=e}),n.qZA()}if(2&A){const A=n.oxw();n.Q6J("chart",A.chart)}}let Jt=(()=>{class A{constructor(A,e){this.searchEngineService=A,this.savedSearchService=e,this.chart=null}ngOnInit(){this.listenWidgetIsResized(),this.listenWidgetIsUpdated(),this.listenWidgetMapUpdated(),this.getFilters()}listenWidgetIsResized(){this.sub__widgetIsResized=this.widget.isResizedEvent.subscribe(A=>{console.log("widget-chart: isResized",A),this.chart&&this.chart.isResized()})}listenWidgetIsUpdated(){this.sub__widgetIsUpdated=this.widget.isUpdatedEvent.subscribe(A=>{console.log("widget-chart: isUpdated",A),this.updateWidgetChart()})}listenWidgetMapUpdated(){this.sub__widgetMapUpdated=this.widget.chart.options.map.view._getViewEvent.subscribe(A=>{console.log("widget-chart: map updated",A);const e=this.chart.options.map.view;this.widget.chart.options.map.view.changeView({lat:e.center.lat,lon:e.center.lon,zoom:e.zoom})})}getFilters(){switch(this.widget.chart.src.type){case"Search":this.getSearchFilters();break;case"Collection":this.getChartFilters("Collection");break;case"Tag":this.getChartFilters("Tag");break;case"Source":this.getChartFilters("Source")}}getSearchFilters(){this.sub__getSearch30=this.savedSearchService.getSearch30(this.widget.chart.src.id).subscribe(A=>{let e=this.searchEngineService.newFiltersInstance(A.filters);this.getChartFilters("Search",e)},A=>{console.error("widget-chart : getSearchFilter() - ERROR",A)})}getChartFilters(A,e){const t={filters:e?e.value:this.searchEngineService.defaultFilters};"Collection"==A&&(t.filters.items_collections={filtering:[{id:this.widget.chart.src.id,name:this.widget.chart.src.name}],blocking:[],operator:"OR"}
19),"Source"==A&&(t.filters.sources_ids={filtering:[{id:this.widget.chart.src.id,name:this.widget.chart.src.name}],blocking:[],operator:"OR"}),"Tag"==A&&(t.filters.items_tags={filtering:[{id:this.widget.chart.src.id,name:this.widget.chart.src.name}],blocking:[],operator:"OR"});const i=this.getDate(this.widget);t.filters.items_publication_dates=[i],t.filters.publication_date_anytime=!1,t.filters.indexation_date_anytime=!1;const s=this.searchEngineService.newFiltersInstance(t.filters);this.chart=this.getChart(s)}getChart(A){const e=this.getChartOptions();return new sA.kL2({chart_data:this.widget.chart.data,chart_type:this.widget.chart.type,filters:A,options:e})}getChartOptions(){let A=new sA.oCN({disabledOutput:!0});return A.map.hidden_controls=!0,A.map.view.changeView({lat:this.widget.chart.options.map.view.center.lat,lon:this.widget.chart.options.map.view.center.lon,zoom:this.widget.chart.options.map.view.zoom}),A}getDate(A){let e,t;const i=A.chart.date_type;if("range"==i&&(e=new Date(A.chart.range.from),t=new Date(A.chart.range.to)),"periode"==i)switch(A.chart.periode){case"last_60_minutes":e=new Date(Date.now()-36e5),t=new Date(Date.now());break;case"last_24_hour":e=new Date(Date.now()-864e5),t=new Date(Date.now());break;case"last_7_days":e=new Date(Date.now()-6048e5),t=new Date(Date.now());break;case"last_31_days":e=new Date(Date.now()-26784e5),t=new Date(Date.now());break;case"last_90_days":e=new Date(Date.now()-7776e6),t=new Date(Date.now());break;case"last_365_days":e=new Date(Date.now()-31536e6),t=new Date(Date.now())}return{from:e,to:t}}updateWidgetChart(){this.chart=null,setTimeout(()=>this.getFilters(),1)}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(nA.P2),n.Y36(nA.gT))},A.\u0275cmp=n.Xpm({type:A,selectors:[["widget-chart"]],inputs:{widget:"widget"},decls:1,vars:1,consts:[[3,"chart","chartChange",4,"ngIf"],[3,"chart","chartChange"]],template:function(A,e){1&A&&n.YNc(0,Nt,1,1,"cks-chart",0),2&A&&n.Q6J("ngIf",e.chart)},directives:[i.O5,Rt.e],styles:[""]}),A})();var Gt=t(39945);function Vt(A,e){1&A&&n._UZ(0,"cks-item",4),2&A&&n.Q6J("item",e.$implicit)("viewMode","magazine")}function Yt(A,e){if(1&A&&(n.TgZ(0,"div",2),n.YNc(1,Vt,1,2,"cks-item",3),n.qZA()),2&A){const A=n.oxw();n.xp6(1),n.Q6J("ngForOf",A.searchResults)}}function $t(A,e){1&A&&(n.TgZ(0,"div",5),n.TgZ(1,"span"),n._uU(2," No Article found "),n.qZA(),n.qZA())}let Wt=(()=>{class A{constructor(A,e){this.searchEngineService=A,this.savedSearchService=e,this.searchResults=[],this.searchResultsCount=0,this.searchResultsPages=0,this._isInitialized=!1,this._searchResultsIsEmpty=!0}ngOnInit(){this.listenWidgetUpdated(),this.setWidgetItems()}listenWidgetUpdated(){this.sub__widgetUpdated=this.widget.isUpdatedEvent.subscribe(A=>{var e,t;(null===(t=null===(e=this.widget)||void 0===e?void 0:e.items)||void 0===t?void 0:t.src)&&(console.log("widget-items: isUpdated",A),this.setWidgetItems())})}setWidgetItems(){switch(this.widget.items.src.type){case"Search":this.getSearchFilters();break;case"Collection":this.getItems("Collection");break;case"Tag":this.getItems("Tag");break;case"Source":this.getItems("Source")}}getSearchFilters(){this.widget.setLoading(!0),this.sub__getSearch30=this.savedSearchService.getSearch30(this.widget.items.src.id).subscribe(A=>{let e=this.searchEngineService.newFiltersInstance(A.filters);this.getItems("Search",e.value)},A=>{console.error("widget-items : getSearchFilter() - ERROR",A),this.searchResults=[],this._isInitialized=!0,this._searchResultsIsEmpty=!(this.searchResults.length>0),this.widget.setLoading(!1)})}getItems(A,e){this.widget.setLoading(!0);const t={avoid_similar:!1,filters:e||this.searchEngineService.defaultFilters,page:0,per_page:50,search_set_id:null,sort_by:"created_at",sort_direction:"desc"};"Collection"==A&&(t.filters.items_collections={filtering:[{id:this.widget.items.src.id,name:this.widget.items.src.name}],blocking:[],operator:"OR"}),"Source"==A&&(t.filters.sources_ids={filtering:[{id:this.widget.items.src.id,name:this.widget.items.src.name}],blocking:[],operator:"OR"}),"Tag"==A&&(t.filters.items_tags={filtering:[{id:this.widget.items.src.id,name:this.widget.items.src.name}],blocking:[],operator:"OR"});const i=this.getDate(this.widget);
19t.filters.items_publication_dates=[i],t.filters.publication_date_anytime=!1,t.filters.indexation_date_anytime=!1,this.searchEngineService.search(t).subscribe(A=>{console.log("widget-items : getCollectionItems()",A),this.searchResults=A.items},A=>{console.log("widget-items : getCollectionItems() - ERROR",A),this.searchResults=[],this._isInitialized=!0,this._searchResultsIsEmpty=!(this.searchResults.length>0),this.widget.setLoading(!1)},()=>{this._isInitialized=!0,this._searchResultsIsEmpty=!(this.searchResults.length>0),this.widget.setLoading(!1)})}getDate(A){let e,t;const i=A.items.date_type;if("range"==i&&(e=new Date(A.items.range.from),t=new Date(A.items.range.to)),"periode"==i)switch(A.items.periode){case"last_60_minutes":e=new Date(Date.now()-36e5),t=new Date(Date.now());break;case"last_24_hour":e=new Date(Date.now()-864e5),t=new Date(Date.now());break;case"last_7_days":e=new Date(Date.now()-6048e5),t=new Date(Date.now());break;case"last_31_days":e=new Date(Date.now()-26784e5),t=new Date(Date.now());break;case"last_90_days":e=new Date(Date.now()-7776e6),t=new Date(Date.now());break;case"last_365_days":e=new Date(Date.now()-31536e6),t=new Date(Date.now())}return{from:e,to:t}}clearAll(){this.searchResults=null,this.searchResultsCount=null,this.searchResultsPages=null}ngOnDestroy(){var A,e,t;this.clearAll(),null===(A=this.sub__widgetUpdated)||void 0===A||A.unsubscribe(),null===(e=this.sub__getSearch30)||void 0===e||e.unsubscribe(),null===(t=this.sub__getItems)||void 0===t||t.unsubscribe()}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(nA.P2),n.Y36(nA.gT))},A.\u0275cmp=n.Xpm({type:A,selectors:[["widget-items"]],inputs:{widget:"widget"},decls:2,vars:2,consts:[["class","ck-items--magazine widget__items",4,"ngIf"],["class","widget-items__is-empty",4,"ngIf"],[1,"ck-items--magazine","widget__items"],[3,"item","viewMode",4,"ngFor","ngForOf"],[3,"item","viewMode"],[1,"widget-items__is-empty"]],template:function(A,e){1&A&&(n.YNc(0,Yt,2,1,"div",0),n.YNc(1,$t,3,0,"div",1)),2&A&&(n.Q6J("ngIf",e._isInitialized&&!e._searchResultsIsEmpty),n.xp6(1),n.Q6J("ngIf",e._isInitialized&&e._searchResultsIsEmpty))},directives:[i.O5,i.sg,Gt.P],styles:["[_nghost-%COMP%]{display:block;height:100%}.widget__items[_ngcontent-%COMP%]{padding:16px;height:100%;overflow:auto}.ck-items--magazine[_ngcontent-%COMP%]{height:100%!important}.widget-items__is-empty[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100%;font-size:24px;color:var(--text-color--light)}"]}),A})();var qt=t(10917);function Xt(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"ckeditor",3),n.NdJ("ready",function(e){return n.CHM(A),n.oxw().onReady(e)})("change",function(e){return n.CHM(A),n.oxw().onChange(e)}),n.qZA()}if(2&A){const A=n.oxw();n.Q6J("editor",A.textEditor)("config",A.textConfig)("data",A.textContent)}}function zt(A,e){if(1&A&&n._UZ(0,"div",4),2&A){const A=n.oxw();n.Q6J("innerHTML",A.textContent,n.oJD)}}let jt=(()=>{class A{constructor(A,e,t,i,s){this.modalService=A,this.dialogService=e,this.notification=t,this.dashboardService=i,this.widgetService=s,this.textEditor=qt,this.textConfig={toolbar:["undo","redo","|","heading","|","bold","italic","underline","strikethrough","|","bulletedList","numberedList","blockQuote","|","link"],placeholder:"Type your text content here ..."},this._doneTypingInterval=600}ngOnInit(){this.textContent=this.widget.text.value}onReady(A){A.plugins.get("FileRepository").createUploadAdapter=(function(A){return new Ai(A,this.imageService)}).bind(this)}onChange({editor:A}){const e=A.getData();this.widget.text.value=e,this.textContent=e,clearTimeout(this._typingTimer),this._typingTimer=setTimeout(()=>{this.updateWidget(this.widget)},this._doneTypingInterval)}updateWidget(A){this.widgetService.update(this.widget).subscribe(A=>{console.log("updateWidget",A)},A=>{console.log("updateWidget",A)})}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(nA.Z7),n.Y36(nA.xA),n.Y36(nA.gq),n.Y36(nA.sp),n.Y36(nA.i2))},A.\u0275cmp=n.Xpm({type:A,selectors:[["widget-text"]],inputs:{widget:"widget",isEditing:"isEditing"},decls:3,vars:2,consts:[[1,"widget-text"],["class","widget-text__editor","draggable","false",3,"editor","config","data","ready","change",4,"ngIf"],["class","widget-text__preview",3,"innerHTML",4,"ngIf"],["draggable","false",1,"widget-text__editor",3,"editor","config","data","ready","change"],[1,"widget-text__preview",3,"innerHTML"]],template:function(A,e){1&A&&(n.TgZ(0,"div",0),n.YNc(1,Xt,1,3,"ckeditor",1),n.YNc(2,zt,1,1,"div",2),n.qZA()),2&A&&(n.xp6(1),n.Q6J("ngIf",e.isEditing),n.xp6(1),n.Q6J("ngIf",!e.isEditing))},directives:[i.O5,eA.u],styles:[".widget-text[_ngcontent-%COMP%]{width:100%;height:100%;padding:0;margin:0;overflow-y:auto;overflow-x:hidden}
19.widget-text__editor[_ngcontent-%COMP%]{width:100%;height:100%;padding:0;margin:0}.widget-text__preview[_ngcontent-%COMP%]{width:100%;height:100%;padding:16px;margin:0}[_nghost-%COMP%]     .ck-editor{height:calc(100% - 39.5px)}[_nghost-%COMP%]     .ck-editor__main, [_nghost-%COMP%]     .ck-editor__editable_inline{height:100%!important}[_nghost-%COMP%]     .ck-editor__editable_inline{min-height:32px!important}[_nghost-%COMP%]     .ck-toolbar, [_nghost-%COMP%]     .ck-toolbar__items, [_nghost-%COMP%]     .ck-editor__editable{color:var(--text-color--high--tl)!important}"]}),A})();class Ai{constructor(A,e){this.loader=A,this.imageService=e}upload(){return this.loader.file.then(A=>new Promise((e,t)=>{var i=new FileReader;let s=[];s.push(A),this.imageService.register(s).subscribe(t=>{i.onloadend=A=>{e({default:t.data[0].url})},i.readAsDataURL(A)})}))}}var ei=t(39075);const ti=["iframe"];let ii=(()=>{class A{constructor(A){this.sanitizer=A,this._timer=null}ngOnInit(){this.listenwidgetUpdate(),this.setSrcEmbedded(this.widget.file.file.file),this.setWidgetLoader(!0),this.iframeID=`iframe_${this.widget.id}`}ngAfterViewInit(){this.checkEmbed(this.$iframe.nativeElement)}listenwidgetUpdate(){var A;null===(A=this.sub__widgetUpdate)||void 0===A||A.unsubscribe(),this.sub__widgetUpdate=this.widget.isUpdatedEvent.subscribe(A=>{console.log("widget-file: isUpdated",A),this.setSrcEmbedded(this.widget.file.file)})}setWidgetLoader(A){this.widget.isLoading=A}setSrcEmbedded(A){this.srcEmbbeded=this.sanitizer.bypassSecurityTrustResourceUrl(`https://docs.google.com/viewer?url=${A.file}&embedded=true`)}checkEmbed(A){let e=!1;this._timer=0,this.$iframe.nativeElement.onload=()=>{e=!0,clearInterval(t),this.setWidgetLoader(!1)};const t=setInterval(()=>{if(e)return clearInterval(t),void this.setWidgetLoader(!1);this._timer++,A.src+="",this._timer>5&&(clearInterval(t),this.setWidgetLoader(!1))},5e3)}ngOnDestroy(){var A;null===(A=this.sub__widgetUpdate)||void 0===A||A.unsubscribe(),clearInterval(this._timer)}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(ei.H7))},A.\u0275cmp=n.Xpm({type:A,selectors:[["widget-file"]],viewQuery:function(A,e){if(1&A&&n.Gf(ti,5),2&A){let A;n.iGM(A=n.CRH())&&(e.$iframe=A.first)}},inputs:{widget:"widget"},decls:3,vars:2,consts:[[1,"widget-file"],["width","100%","height","100%","frameborder","0","scrolling","no","title","Dashboard File Widget",1,"widget-file__iframe",3,"id","src"],["iframe",""]],template:function(A,e){1&A&&(n.TgZ(0,"div",0),n._UZ(1,"iframe",1,2),n.qZA()),2&A&&(n.xp6(1),n.Q6J("id",e.iframeID)("src",e.srcEmbbeded,n.uOi))},styles:[".widget-file[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;overflow:hidden}.widget-file__iframe[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;border:0}"]}),A})(),si=(()=>{class A{constructor(){}ngOnInit(){this.sub__widgetUpdated=this.widget.isUpdatedEvent.subscribe(A=>{var e,t;(null===(t=null===(e=this.widget)||void 0===e?void 0:e.image)||void 0===t?void 0:t.image)&&(console.log("widget-image: isUpdated",A),this.setWidgetImage(this.widget.image.image))}),this.setWidgetImage(this.widget.image.image)}setWidgetImage(A){this.imageUrl=A.url,this.widget.isLoading=!1}}return A.\u0275fac=function(e){return new(e||A)},A.\u0275cmp=n.Xpm({type:A,selectors:[["widget-image"]],inputs:{widget:"widget"},decls:3,vars:2,consts:[[1,"widgetImage"],["alt","",1,"widgetImage__image",3,"src"],["alt","",1,"widgetImage__background",3,"src"]],template:function(A,e){1&A&&(n.TgZ(0,"div",0),n._UZ(1,"img",1),n._UZ(2,"img",2),n.qZA()),2&A&&(n.xp6(1),n.Q6J("src",e.imageUrl,n.LSH),n.xp6(1),n.Q6J("src",e.imageUrl,n.LSH))},styles:[".widgetImage[_ngcontent-%COMP%]{width:100%}.widgetImage__image[_ngcontent-%COMP%]{z-index:2;width:100%;height:100%;-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;position:absolute}.widgetImage__background[_ngcontent-%COMP%]{z-index:1;position:absolute;margin:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;filter:blur(32px);opacity:80%;transform:scale(1)}"]}),A})();const ri=["iframe"];function ni(A,e){if(1&A&&n._UZ(0,"iframe",3,4),2&A){const A=n.oxw();n.Q6J("src",A.srcEmbbeded,n.uOi)}}function oi(A,e){if(1&A&&n._UZ(0,"iframe",5,4),2&A){const A=n.oxw();n.Q6J("srcdoc",A.srcEmbbeded,n.oJD)}}let ai=(()=>{class A{constructor(A){this.sanitizer=A}
19ngOnInit(){this.sub__widgetUpdated=this.widget.isUpdatedEvent.subscribe(A=>{this.setSrcEmbbeded(this.widget)}),this.setSrcEmbbeded(this.widget)}setSrcEmbbeded(A){return this.srcType=A.iframe.src_type,("iframe"===this.srcType||"url"===this.srcType)&&(this.srcEmbbeded=this.sanitizer.bypassSecurityTrustResourceUrl(this.widget.iframe.url)),"script"===this.srcType&&(this.srcEmbbeded=this.sanitizer.bypassSecurityTrustHtml(this.widget.iframe.src+'<script>console.log("SCRIPT is ok");<\/script>')),console.log("setSrcEmbbeded",this.srcEmbbeded),void(this.widget.isLoading=!1)}ngOnDestroy(){this.sub__widgetUpdated&&this.sub__widgetUpdated.unsubscribe()}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(ei.H7))},A.\u0275cmp=n.Xpm({type:A,selectors:[["widget-iframe"]],viewQuery:function(A,e){if(1&A&&n.Gf(ri,5),2&A){let A;n.iGM(A=n.CRH())&&(e.iframe=A.first)}},inputs:{widget:"widget"},decls:3,vars:2,consts:[[1,"widget-iframe"],["class","widget-iframe__iframe","sandbox","allow-forms allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-modals","frameborder","0","scrolling","yes","title","Dashboard iframe Widget",3,"src",4,"ngIf"],["class","widget-iframe__script","sandbox","allow-forms allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-modals","frameborder","0","scrolling","yes","title","Dashboard iframe script Widget",3,"srcdoc",4,"ngIf"],["sandbox","allow-forms allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-modals","frameborder","0","scrolling","yes","title","Dashboard iframe Widget",1,"widget-iframe__iframe",3,"src"],["iframe",""],["sandbox","allow-forms allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-modals","frameborder","0","scrolling","yes","title","Dashboard iframe script Widget",1,"widget-iframe__script",3,"srcdoc"]],template:function(A,e){1&A&&(n.TgZ(0,"div",0),n.YNc(1,ni,2,1,"iframe",1),n.YNc(2,oi,2,1,"iframe",2),n.qZA()),2&A&&(n.xp6(1),n.Q6J("ngIf","iframe"===e.srcType||"url"===e.srcType),n.xp6(1),n.Q6J("ngIf","script"===e.srcType))},directives:[i.O5],styles:[".widget-iframe[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;overflow-y:auto}.widget-iframe__iframe[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;border:0}.widget-iframe__script[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;border:0;display:flex;justify-content:center;align-items:center}"]}),A})();var ci=t(90796);function li(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"share-plus-template-view",3),n.NdJ("templateChange",function(e){return n.CHM(A),n.oxw().viewingTemplate=e}),n.qZA()}if(2&A){const A=n.oxw();n.Q6J("template",A.viewingTemplate)}}function di(A,e){if(1&A&&(n.TgZ(0,"div",4),n.TgZ(1,"span"),n._uU(2),n.qZA(),n._UZ(3,"img",5),n.qZA()),2&A){const A=n.oxw();n.xp6(2),n.hij(" ",A.errorMsg," ")}}let hi=(()=>{class A{constructor(A,e){this.sharePlusService=A,this.newsletterService=e,this._loadingTemplate=!1,this.errorMsg=""}ngOnInit(){this.getNewsletter(this.widget.newsletter.id),this.widget.isUpdatedEvent.subscribe(A=>this.updateNewsletter(A))}updateNewsletter(A){this.viewingTemplate=null,this.getNewsletter(this.widget.newsletter.id)}getNewsletter(A){this.newsletterService.getById(A).subscribe(A=>{console.log("widget-newsletter: getNewsletter",A),this.newsletter=A,this.getTemplate(A.active_edition)},A=>{console.log(A)})}getTemplate(A){if(this.sub__getTemplate&&this.sub__getTemplate.unsubscribe(),!A)return this.showErrorMsg("No published edition currently available"),void(this.viewingTemplate=null);this.hideErrorMsg(),this.sub__getTemplate=this.newsletterService.getTemplate(this.newsletter.id,A).subscribe(A=>{console.log("widget-newsletter: getTemplate",A),this.viewingTemplate=A},A=>{console.log(A)})}showErrorMsg(A){this.showedErrorMsg=!0,this.errorMsg=A}hideErrorMsg(){this.showedErrorMsg=!1,this.errorMsg=""}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(nA.Xw),n.Y36(nA.R7))},A.\u0275cmp=n.Xpm({type:A,selectors:[["widget-newsletter"]],inputs:{widget:"widget"},decls:3,vars:2,consts:[[1,"widget-newsletter"],["class","_template-viewer-window",3,"template","templateChange",4,"ngIf"],["class","widget-error-msg",4,"ngIf"],[1,"_template-viewer-window",3,"template","templateChange"],[1,"widget-error-msg"],["src","assets/images/error-newsletter.jpg","alt","error"]],template:function(A,e){1&A&&(n.TgZ(0,"div",0),n.YNc(1,li,1,1,"share-plus-template-view",1),n.qZA(),n.YNc(2,di,4,1,"div",2)),2&A&&(n.xp6(1),n.Q6J("ngIf",e.viewingTemplate),n.xp6(1),n.Q6J("ngIf",e.showedErrorMsg))},directives:[i.O5,ci.T],styles:[".widget-newsletter[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;transition:all .2s ease-in-out}._template-viewer-window[_ngcontent-%COMP%]{position:absolute;
19left:0;bottom:0;top:0;width:calc(100%);background-color:#0049ff1a}.widget-error-msg[_ngcontent-%COMP%]{position:absolute;left:0;bottom:0;top:0;width:calc(100%);display:flex;justify-content:center;align-items:center}.widget-error-msg[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--text-color);font-size:16px;font-weight:500;background-color:var(--bg-boxes);padding:10px 20px;border-radius:5px;border:var(--border-color) solid 1px}.widget-error-msg[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;transform:translate(-50%,-50%);top:50%;left:50%;-o-object-fit:cover;object-fit:cover;opacity:.33;z-index:-1}"]}),A})();const gi=["dashboardContent"];function ui(A,e){if(1&A&&n._UZ(0,"cks-btn",17),2&A){const A=n.oxw();n.Q6J("icon","cks-icon-dots-h-f")("btnMenu",A.getDashboardMenu())("btnClass","cks-btn")}}function Bi(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",18),n.NdJ("dragstart",function(e){const t=n.CHM(A).$implicit;return n.oxw().dragStartHandler(e,t.type)}),n.TgZ(1,"div",19),n._UZ(2,"i"),n.qZA(),n.TgZ(3,"div",20),n.TgZ(4,"span"),n._uU(5),n.qZA(),n.qZA(),n.qZA()}if(2&A){const A=e.$implicit;n.xp6(2),n.Tol(A.icon),n.xp6(3),n.hij(" ",A.title," ")}}function pi(A,e){if(1&A&&n._UZ(0,"img",39),2&A){const A=n.oxw(2);n.Udp("opacity",A.dashboard.background_opacity?A.dashboard.background_opacity/100:1),n.Q6J("src",null==A.dashboard.dashboard_background?null:A.dashboard.dashboard_background.url,n.LSH)}}function wi(A,e){1&A&&n._UZ(0,"i",40)}function mi(A,e){1&A&&n._UZ(0,"i",41)}function fi(A,e){1&A&&(n.TgZ(0,"div",46),n._UZ(1,"i",47),n.qZA())}function Ci(A,e){1&A&&(n.TgZ(0,"div",48),n._UZ(1,"i",49),n.TgZ(2,"span"),n._uU(3,"client"),n.qZA(),n.qZA())}function Qi(A,e){if(1&A&&(n.TgZ(0,"div",50),n._UZ(1,"i",49),n.TgZ(2,"span"),n._uU(3),n.qZA(),n.qZA()),2&A){const A=n.oxw(3);n.xp6(3),n.Oqu(A.dashboard.groups.length)}}function Fi(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",42),n.NdJ("click",function(){n.CHM(A);const e=n.oxw(2);return e.shareDashboard(e.dashboard)}),n.YNc(1,fi,2,0,"div",43),n.YNc(2,Ci,4,0,"div",44),n.YNc(3,Qi,4,1,"div",45),n.qZA()}if(2&A){const A=n.oxw(2);n.ekj("--private",!A.dashboard.is_public),n.xp6(1),n.Q6J("ngIf",!A.dashboard.is_public),n.xp6(1),n.Q6J("ngIf",A.dashboard.is_public&&"client"==A.dashboard.sharing_rule),n.xp6(1),n.Q6J("ngIf",A.dashboard.is_public&&"groups"==A.dashboard.sharing_rule)}}function Ui(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"cks-btn",51),n.NdJ("click",function(){n.CHM(A);const e=n.oxw(2);return e.setDashboardHeader(e.dashboard)}),n.qZA()}2&A&&n.Q6J("icon","cks-icon-pencil")}function bi(A,e){if(1&A&&n._UZ(0,"img",52),2&A){const A=n.oxw(2);n.Q6J("src",null==A.dashboard.dashboard_logo?null:A.dashboard.dashboard_logo.url,n.LSH)}}const yi=function(A,e){return{widget:A,widgetTypeList:e}},vi=function(A,e){return{content:A,size:"medium",properties:e}},Ii=function(){return{align:"left",placeholder:"Widget Title"}};function xi(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",59),n.TgZ(1,"div",60),n._UZ(2,"cks-btn",61),n.TgZ(3,"cks-text-editable",62),n.NdJ("onChange",function(e){n.CHM(A);const t=n.oxw().$implicit;return n.oxw(2).onWidgetNameChanged(e,t)}),n.qZA(),n.qZA(),n.TgZ(4,"div",63),n._UZ(5,"cks-btn",17),n.qZA(),n.qZA()}if(2&A){const A=n.oxw().$implicit,e=n.oxw(2);n.xp6(2),n.Q6J("modal","text"!=A.widget_type&&e.isGridEditable?n.WLB(11,vi,e.modal__widgetCreate,n.WLB(8,yi,A,e.widgetTypeList)):null)("icon",A.icon),n.xp6(1),n.Q6J("text",A.name)("isDisable",!e.isGridEditable)("options",n.DdM(14,Ii)),n.xp6(2),n.Q6J("icon","cks-icon-dots-h-f")("btnMenu",e.getWidgetMenu(A))("btnClass","cks-btn cks-btn--secondary")}}function _i(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"widget-chart",69),n.NdJ("mousedown",function(){return n.CHM(A),n.oxw(4).disableGrid()})("mouseup",function(){return n.CHM(A),n.oxw(4).enableGrid()})("mouseleave",function(){return n.CHM(A),n.oxw(4).enableGrid()}),n.qZA()}if(2&A){const A=n.oxw(2).$implicit,e=n.oxw(2);n.ekj("disable-pointer-events",e.disablePointerEvents),n.Q6J("widget",A)}}function Hi(A,e){if(1&A&&n._UZ(0,"widget-items",70),2&A){const A=n.oxw(2).$implicit,e=n.oxw(2);n.ekj("disable-pointer-events",e.disablePointerEvents),n.Q6J("widget",A)}}function Ei(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"widget-text",71),n.NdJ("mousedown",function(){return n.CHM(A),n.oxw(4).disableGrid()})("mouseup",function(){return n.CHM(A),n.oxw(4).enableGrid()})("mouseleave",function(){return n.CHM(A),n.oxw(4).enableGrid()}),n.qZA()}if(2&A){const A=n.oxw(2).$implicit,e=n.oxw(2);n.ekj("disable-pointer-events",!1),n.Q6J("widget",A)("isEditing",e.isGridEditable)}}function Ti(A,e){if(1&A&&n._UZ(0,"widget-file",70),2&A){const A=n.oxw(2).$implicit,e=n.oxw(2);n.ekj("disable-pointer-events",e.disablePointerEvents),n.Q6J("widget",A)}}function ki(A,e){if(1&A&&n._UZ(0,"widget-image",70),2&A){const A=n.oxw(2).$implicit,e=n.oxw(2);n.ekj("disable-pointer-events",e.disablePointerEvents),n.Q6J("widget",A)}}function Di(A,e){if(1&A&&n._UZ(0,"widget-iframe",70),2&A){const A=n.oxw(2).$implicit,e=n.oxw(2);n.ekj("disable-pointer-events",e.disablePointerEvents||e.isGridEditable),n.Q6J("widget",A)}}function Si(A,e){if(1&A&&n._UZ(0,"widget-newsletter",70),2&A){const A=n.oxw(2).$implicit,e=n.oxw(2);n.ekj("disable-pointer-events",e.disablePointerEvents),n.Q6J("widget",A)}}function Mi(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",64),n.TgZ(1,"cks-loader-bar",65),n.NdJ("stateChange",function(e){return n.CHM(A),n.oxw().$implicit.isLoading=e}),n.qZA(),n.YNc(2,_i,1,3,"widget-chart",66),n.YNc(3,Hi,1,3,"widget-items",67),n.YNc(4,Ei,1,4,"widget-text",68),n.YNc(5,Ti,1,3,"widget-file",67),n.YNc(6,ki,1,3,"widget-image",67),n.YNc(7,Di,1,3,"widget-iframe",67),n.YNc(8,Si,1,3,"widget-newsletter",67),n.qZA()}if(2&A){const A=n.oxw().$implicit;n.xp6(1),n.Q6J("state",A.isLoading),n.xp6(1),n.Q6J("ngIf","chart"==A.widget_type),n.xp6(1),n.Q6J("ngIf","items"==A.widget_type),n.xp6(1),n.Q6J("ngIf","text"==A.widget_type),n.xp6(1),n.Q6J("ngIf","file"==A.widget_type),n.xp6(1),n.Q6J("ngIf","image"==A.widget_type),n.xp6(1),n.Q6J("ngIf","iframe"==A.widget_type),n.xp6(1),n.Q6J("ngIf","newsletter"==A.widget_type)}}function Li(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"button",76),n.NdJ("mousedown",function(){return n.CHM(A),n.oxw(6).disableGrid()})("touchstart",function(){return n.CHM(A),n.oxw(6).disableGrid()})("mouseup",function(){return n.CHM(A),n.oxw(6).checkGrid()})("touchend",function(){return n.CHM(A),n.oxw(6).checkGrid()})("mouseout",function(){return n.CHM(A),n.oxw(6).checkGrid()}),n._UZ(1,"i"),n.qZA()}if(2&A){const A=n.oxw().$implicit;n.xp6(1),n.Tol(A.icon)}}const Ki=function(A,e){return{content:A,allowOverflow:!0,size:"medium",properties:e}};function Oi(A,e){if(1&A&&(n.TgZ(0,"div",74),n.YNc(1,Li,2,3,"button",75),n.qZA()),2&A){const A=e.$implicit,t=n.oxw(3).$implicit,i=n.oxw(2);n.Q6J("modal",n.WLB(5,Ki,i.modal__widgetCreate,n.WLB(2,yi,t,i.widgetTypeList))),n.xp6(1),n.Q6J("ngIf",t.widget_type==A.type)}}function Zi(A,e){if(1&A&&(n.ynx(0),n.YNc(1,Oi,2,8,"div",73),n.BQk()),2&A){const A=n.oxw(4);n.xp6(1),n.Q6J("ngForOf",A.widgetTypeList)}}function Pi(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"button",76),n.NdJ("mousedown",function(e){n.CHM(A);const t=n.oxw(4).$implicit;return n.oxw(2).setWidgetTextParameters(e,t)})("touchstart",function(e){n.CHM(A);const t=n.oxw(4).$implicit;return n.oxw(2).setWidgetTextParameters(e,t)})("mouseup",function(){return n.CHM(A),n.oxw(6).checkGrid()})("touchend",function(){return n.CHM(A),n.oxw(6).checkGrid()})("mouseout",function(){return n.CHM(A),n.oxw(6).checkGrid()}),n._UZ(1,"i"),n.qZA()}if(2&A){const A=n.oxw().$implicit;n.xp6(1),n.Tol(A.icon)}}function Ri(A,e){if(1&A&&(n.TgZ(0,"div",78),n.YNc(1,Pi,2,3,"button",75),n.qZA()),2&A){const A=e.$implicit,t=n.oxw(3).$implicit;n.xp6(1),n.Q6J("ngIf",t.widget_type==A.type)}}function Ni(A,e){if(1&A&&(n.ynx(0),n.YNc(1,Ri,2,1,"div",77),n.BQk()),2&A){const A=n.oxw(4);n.xp6(1),n.Q6J("ngForOf",A.widgetTypeList)}}function Ji(A,e){if(1&A&&(n.TgZ(0,"div",72),n.YNc(1,Zi,2,1,"ng-container",16),n.YNc(2,Ni,2,1,"ng-container",16),n.qZA()),2&A){const A=n.oxw().$implicit;n.xp6(1),n.Q6J("ngIf","text"!==A.widget_type),n.xp6(1),n.Q6J("ngIf","text"===A.widget_type)}}const Gi=function(A){return{"z-index":A}};function Vi(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"gridster-item",53),n.NdJ("mouseover",function(){return n.CHM(A).$implicit.hover(!0)})("mouseleave",function(){return n.CHM(A).$implicit.hover(!1)}),n.TgZ(1,"div",54),n.YNc(2,xi,6,15,"div",55),n.ynx(3,56),n.YNc(4,Mi,9,8,"div",57),n.YNc(5,Ji,3,2,"div",58),n.BQk(),n.qZA(),n.qZA()}if(2&A){const A=e.$implicit;n.Akn(n.VKq(7,Gi,A.isHovered||A.isExpanded?9999:5+10*A.position.rows+A.position.cols)),n.Q6J("id",A.id)("item",A.position),n.xp6(2),n.Q6J("ngIf",A.show_header||A.isHovered),n.xp6(1),n.Q6J("ngSwitch",!1===A.isEmpty),n.xp6(1),n.Q6J("ngSwitchCase",!0)}}const Yi=function(){return{x:0,y:0,cols:4,rows:1,dragEnabled:!1,resizeEnabled:!1}},$i=function(){return{align:"center",placeholder:"Wall Name"}},Wi=function(){return{multiline:!0,align:"center",placeholder:"Wall Description"}};function qi(A,e){if(1&A){const A=n.EpF();n.ynx(0),n.TgZ(1,"gridster-item",21),n.NdJ("mouseover",function(){n.CHM(A);const e=n.oxw();return e.isDashboardHeaderHovered=e.isGridEditable})("mouseleave",function(){return n.CHM(A),n.oxw().isDashboardHeaderHovered=!1}),n.TgZ(2,"div",22),n.YNc(3,pi,1,3,"img",23),n.qZA(),n.TgZ(4,"div",24),n.TgZ(5,"div",25),n.NdJ("
19click",function(e){return n.CHM(A),n.oxw().toggleDashboardIsFavorite(e)}),n.YNc(6,wi,1,0,"i",26),n.YNc(7,mi,1,0,"i",27),n.qZA(),n.YNc(8,Fi,4,5,"div",28),n.qZA(),n.TgZ(9,"div",29),n.YNc(10,Ui,1,1,"cks-btn",30),n.qZA(),n.TgZ(11,"div",31),n.TgZ(12,"div",32),n.YNc(13,bi,1,1,"img",33),n.qZA(),n.TgZ(14,"div",34),n.TgZ(15,"cks-text-editable",35),n.NdJ("onChange",function(e){return n.CHM(A),n.oxw().onDashboardNameChanged(e)}),n.qZA(),n.qZA(),n.TgZ(16,"div",36),n.TgZ(17,"cks-text-editable",37),n.NdJ("onChange",function(e){return n.CHM(A),n.oxw().onDashboardDescriptionChanged(e)}),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.YNc(18,Vi,6,9,"gridster-item",38),n.BQk()}if(2&A){const A=n.oxw();n.xp6(1),n.Q6J("id",A.dashboard.id)("item",n.DdM(17,Yi)),n.xp6(2),n.Q6J("ngIf",null==A.dashboard.dashboard_background?null:A.dashboard.dashboard_background.id),n.xp6(2),n.ekj("--active",A.dashboard.is_favorite),n.xp6(1),n.Q6J("ngIf",A.dashboard.is_favorite),n.xp6(1),n.Q6J("ngIf",!A.dashboard.is_favorite),n.xp6(1),n.Q6J("ngIf",A.dashboard.is_owner&&1===A.me.role.id),n.xp6(2),n.Q6J("ngIf",A.dashboard.is_owner&&1===A.me.role.id&&A.isDashboardHeaderHovered),n.xp6(3),n.Q6J("ngIf",null==A.dashboard.dashboard_logo?null:A.dashboard.dashboard_logo.id),n.xp6(2),n.Q6J("text",A.dashboard.name)("isDisable",!A.isGridEditable)("options",n.DdM(18,$i)),n.xp6(2),n.Q6J("text",A.dashboard.description)("isDisable",!A.isGridEditable)("options",n.DdM(19,Wi)),n.xp6(1),n.Q6J("ngForOf",A.dashboard.widgets_list)}}const Xi=function(){return{url:"dashboards"}},zi=function(){return{title:"My favorite walls",key:"is_favorite",value:!0}},ji=function(){return{title:"My walls",key:"is_owner",value:!0}},As=function(){return{title:"Walls shared with me",key:"is_owner",value:!1}},es=function(A,e,t){return[A,e,t]},ts=function(){return{type:"icon",key:"is_favorite",value:!0,icon:"cks-icon-rating-f"}},is=function(){return{type:"text",key:"name"}},ss=function(A,e){return[A,e]},rs=function(){return{text:"name",outputFormat:"object",allowDefalutValue:!1}};let ns=(()=>{class A{constructor(A,e,t,i,s,r,n,o,a,c,l,d){this.document=A,this.appSettingsService=e,this.authService=t,this.dashboardService=i,this.dialogService=s,this.modalService=r,this.notificationService=n,this.route=o,this.router=a,this.searchEngineService=c,this.tableService=l,this.widgetService=d,this.modal__widgetCreate=ut,this.modal__assignDashboard=wt,this.modal__shareDashboard=Ft,this.modal__setDashboardHeader=Lt,this.modal__updateDashboard=Kt,this.gridIsInitialized=!1,this.isGridEditable=!1,this.disablePointerEvents=!1,this.accessInExplore=!1,this.widgetExpanded=!1,this.isDashboardHeaderHovered=!1,this.isWidgetsLoaded=!1,this.dashboards=new Array,this.widgetTypeList=[{title:"Chart",icon:"cks-icon-chart",type:"chart"},{title:"Article",icon:"cks-icon-items",type:"items"},{title:"File",icon:"cks-icon-file",type:"file"},{title:"Image",icon:"cks-icon-image",type:"image"},{title:"Text",icon:"cks-icon-text",type:"text"},{title:"iframe",icon:"cks-icon-code",type:"iframe"},{title:"Newsletter",icon:"cks-icon-send",type:"newsletter"}],this.isAllDashboardsLoaded=!1,this.getAllDashboardsQuery=new sA.cOn({page:0,per_page:100,sort_by:"id",sort_direction:"desc"})}ngOnInit(){this.elem=document.documentElement,this.me=this.authService.currentUser,this.appSettings=this.appSettingsService.settings,this.accessInExplore=this.hasExploreAccess(this.me),this.listenAppSettingsService(),this.listenUpdateGrid(),this.listenAppRouting(),this.listenCreatedDashboard(),this.getAllDashboards(),this.initGridOptions(),this.gridIsInitialized=!0}ngAfterViewInit(){this.slideInState="in",this.popInState="in"}hasExploreAccess(A){return!!A.login_as_client.packages.find(A=>3===A.id)}initGridOptions(){this.gridOptions={displayGrid:f.OnDragAndResize,gridType:m.VerticalFixed,fixedColWidth:128,fixedRowHeight:256,rowHeightRatio:1,mobileBreakpoint:640,keepFixedHeightInMobile:!1,keepFixedWidthInMobile:!1,useBodyForBreakpoint:!1,setGridSize:!0,margin:16,outerMargin:!0,outerMarginTop:null,outerMarginRight:null,outerMarginBottom:null,outerMarginLeft:null,minCols:4,maxCols:4,minRows:1,maxRows:21,addEmptyRowsCount:0,initCallback:null,destroyCallback:null,gridSizeChangedCallback:null,itemChangeCallback:this.onItemGridChanged.bind(this),itemResizeCallback:null,itemInitCallback:this.itemInitCallback.bind(this),itemRemovedCallback:null,itemValidateCallback:null,compactType:C.None,defaultItemCols:1,defaultItemRows:1,minItemCols:1,maxItemCols:4,minItemRows:1,maxItemRows:21,minItemArea:1,maxItemArea:3200,emptyCellDragMaxCols:4,emptyCellDragMaxRows:8,enableEmptyCellClick:!1,enableEmptyCellContextMenu:!1,enableEmptyCellDrop:!0,enableEmptyCellDrag:!1,enableOccupiedCellDrop:!1,emptyCellClickCallback:null,emptyCellContextMenuCallback:null,emptyCellDropCallback:this.emptyCellDropCallback.bind(this),emptyCellDragCallback:null,draggable:{enabled:!1,dropOverItems:!1,ignoreContent:!1,dragHandleClass:"drag-handler",ignoreContentClass:"gridster-item-content",delayStart:0,dropOverItemsCallback:this.onDropItem.bind(this),start:this.onDragStart.bind(this),stop:this.onDragEnd.bind(this)},resizable:{enabled:!1,delayStart:0,start:this.onResizeStart.bind(this),stop:this.onResizeEnd.bind(this),handles:{s:!0,e:!0,n:!0,w:!0,se:!0,ne:!0,sw:!0,nw:!0}},pushItems:!0,disablePushOnDrag:!0,disablePushOnResize:!0,pushResizeItems:!0,pushDirections:{north:!0,east:!0,south:!0,west:!0},swap:!0,swapWhileDragging:!1,allowMultiLayer:!0,defaultLayerIndex:0,maxLayerIndex:2,baseLayerIndex:2,disableWindowResize:!1,disableWarnings:!1,ignoreMarginInRow:!1,scrollToNewItems:!1,disableAutoPositionOnConflict:!1,scale:1,scrollSensitivity:10,scrollSpeed:20,disableScrollHorizontal:!1,disableScrollVertical:!1,useTransformPositioning:!1}}listenCreatedDashboard(){this.sub__updateDashboard=this.dashboardService.newDashboardCreated$.pipe((0,rA.h)(A=>!!A),(0,cA.b)(A=>{A&&(this.dashboards.unshift(A),this.dashboard=A,this.dashboardId=this.dashboard.id,this.modalService.small({content:this.modal__updateDashboard,size:"560px",properties:{dashboard:A,update:this.onDashboardNameChanged.bind(this)},allowOverflow:!0}))}
19)).subscribe()}listenAppSettingsService(){this.appSettingsService.getSettings().subscribe(A=>{this.appSettings=A,setTimeout(()=>{this.gridOptions.api.resize(),setTimeout(()=>this.triggerResizeWidgets(this.dashboard),200)},200)})}listenUpdateGrid(){this.sub__updateGrid=this.dashboardService.updateGrid$.subscribe(A=>{this.gridIsInitialized&&this.updateGridOptions()})}listenAppRouting(){this.route.paramMap.subscribe(A=>{A.get("id")&&(this.dashboardId=Number(A.get("id")),this.dashboardService.getByID(this.dashboardId).subscribe(A=>{this.onDashboardChange(A)},A=>{this.notificationService.error("Failed to retrieve dashboard!")}))})}getAllDashboards(){this.dashboardService.getAll(this.getAllDashboardsQuery.getQuery()).subscribe(A=>{if(console.log("getAllDashboards - res - page",this.getAllDashboardsQuery.getQuery().page,A),this.dashboards=[...this.dashboards,...A.map(A=>new sA.Aa4(A))],0===this.dashboards.length)return this.createDefaultDashboard(),void(this.isAllDashboardsLoaded=!0);this.isAllDashboardsLoaded=A.length<this.getAllDashboardsQuery.getQuery().per_page,this.isAllDashboardsLoaded||(this.getAllDashboardsQuery.pagination.next(),this.getAllDashboards())},A=>{console.log("getAllDashboards - error",A)})}getWidgets(A){this.isWidgetsLoaded=!0,this.widgetService.getAll(A).subscribe(A=>{console.log("get widgets List",A),A.length>0&&(this.dashboard.widgets_list=A.map(A=>new sA.$LY(A)),this.dashboard.widgets_list.forEach(A=>{A.initialize()})),this.isWidgetsLoaded=!1},A=>{console.warn("get widgets List error",A),this.isWidgetsLoaded=!1})}createDefaultDashboard(){const A=new sA.Aa4({name:"New Wall",description:"",is_public:!1,is_owner:!0,widgets_list:[]});this.dashboardService.create(A).subscribe(A=>{console.log("Wall created",A);const e=new sA.Aa4(A);this.dashboards.unshift(e),this.dashboard=e,this.dashboardId=this.dashboard.id,this.router.navigateByUrl("/walls/"+this.dashboardId)},A=>{console.log("Error creating wall",A)})}updateDashboard(A){this.dashboardService.update(A).subscribe(A=>{console.log("Dashboard updated",A)})}updateDashboardPrivacy(A,e){this.dashboardService.updatePrivacy(A,e).subscribe(A=>{console.log("wall updated",A)})}deleteDashboard(A){this.dashboardService.delete(A).subscribe(e=>{if(console.log("Dashboard deleted",e),this.dashboards.findIndex(e=>e.id===A),this.dashboards=this.dashboards.filter(e=>e.id!==A),this.dashboards.length>0){const A=this.getFirstFavoriteDashboard();A?this.dashboard=A:this.dashboards[0]?this.dashboard=this.dashboards[0]:this.createDefaultDashboard()}else this.createDefaultDashboard();this.dashboardId=this.dashboard.id,this.router.navigateByUrl("/walls/"+this.dashboardId),this.getWidgets(this.dashboardId),this.dialogService.close()},A=>{console.log("Error deleting dashboard",A)})}getFirstFavoriteDashboard(){return this.dashboards.find(A=>A.is_favorite)}onDashboardDelete(A){this.dialogService.delete({title:`Delete ${A.name}`,message:"Are you sure you want to delete this wall ?",observe:!0,buttons:[{label:"Delete",class:"btn btn--danger",autofocus:!0,callback:()=>this.deleteDashboard(A.id)}]})}onCreateDashboard(){clearTimeout(this._btnTimer),this._btnTimer=setTimeout(()=>this.createDefaultDashboard(),300)}onDashboardNameChanged(A){console.log("Dashboard name changed",A),this.dashboard.name=A,this.updateDashboard(this.dashboard)}onDashboardDescriptionChanged(A){console.log("Dashboard description changed",A),this.dashboard.description=A,this.updateDashboard(this.dashboard)}toggleDashboardPrivacy(A){console.log("Dashboard privacy changed"),this.dialogService.delete({title:"Change dashboard privacy",message:"Are you sure you want to change the dashboard privacy ?",observe:!0,buttons:[{label:"Change",class:"btn btn--danger",autofocus:!0,callback:()=>{this.dashboard.is_public=!this.dashboard.is_public,this.updateDashboardPrivacy(this.dashboard.id,this.dashboard.is_public),this.dialogService.close()}}]})}toggleDashboardIsFavorite(A){A.stopPropagation(),this.dashboard.is_favorite?this.removeFromFavorite(this.dashboard.id):this.addAsFavourite(this.dashboard.id)}addAsFavourite(A){this.tableService.addFavorite({resource_type:"wall",resource_ids:[A]}).subscribe(A=>{this.dashboard.is_favorite=!0,this.notificationService.success("Added to favorites")},A=>{this.notificationService.error(A)})}removeFromFavorite(A){this.tableService.removeFavorite({resource_type:"wall",resource_ids:[A]}).subscribe(A=>{this.dashboard.is_favorite=!1,this.notificationService.success("Removed from favorites")},A=>{this.notificationService.error(A)})}createWidget(A){this.dashboard.widgets_list.length>=20?this.dialogService.alert({title:"Max widgets limit reached",message:"You can't add more than 20 widgets to a wall",buttons:[{label:"Ok",class:"btn btn--primary",autofocus:!0,callback:()=>this.dialogService.close()}]}):this.widgetService.create(A).subscribe(A=>{this.dashboard.widgets_list.push(A)},A=>{console.log("create widget error",A),this.notificationService.error("Error creating widget")},()=>{console.log("create widget complete"),this.updateGridView()})}updateWidget(A){this.widgetService.update(A).subscribe(e=>{console.log("widget updated",A),this.notificationService.success("Widget updated")},A=>{console.log("update widget error",A),this.notificationService.error("Error updating widget")},()=>{console.log("update widget complete"),this.updateGridView()})}updateWidgetPosition(A){this.widgetService.updatePosition([A]).subscribe(A=>{console.log("widget position updated",A),this.notificationService.success("Widget position updated")},A=>{console.log("update widget position error",A),this.notificationService.error("Error updating widget position")})}deleteWidget(A){this.dialogService.delete({title:"Delete widget ",message:"Are you sure you want to delete this widget ?",observe:!0,buttons:[{label:"Delete",class:"btn btn--danger",autofocus:!0,callback:()=>{this.widgetService.delete(A.id).subscribe(e=>{console.log("widget deleted",e),this.notificationService.success("Widget deleted"),this.dashboard.removeWidget(A)},A=>{console.log("delete widget error",A),this.notificationService.error("Error deleting widget")},()=>{console.log("delete widget complete"),this.updateGridView(),this.dialogService.close()})}}]})}onWidgetNameChanged(A,e){console.log("widget name changed",{widgetName:A,widget:e}),e.name=A,this.updateWidget(e)}triggerResizeWidgets(A){A.widgets_list.forEach(A=>{A.isResized(!0)})}getWidgetMenu(A){let e=[];const t=A.isEmpty,i="chart"===A.widget_type,s="items"===A.widget_type,r={label:"-"},n={label:"Delete widget",action:()=>{this.deleteWidget(A)}},o={label:A.isExpanded?"Collapse widget":"Expand widget",action:()=>{A.isExpanded?this.collapseWidget(A):this.expandWidget(A)}},a={label:A.show_header?"Hide header":"Show header",action:()=>{A.show_header=!A.show_header,this.updateWidget(A)}};if(this.isGridEditable&&("text"===A.widget_type||e.push({label:"Edit widget",action:()=>{this.setWidgetParameters(A)}},r),(i&&!t&&"countries_map_chart"===A.chart.type||i&&!t&&"heat_map_chart"===A.chart.type)&&e.push({label:"Save map view",action:()=>{this.triggerSaveView(A)}},{label:"-"})),i&&!t||s&&!t){const t=i?A.chart.src:A.items.src,s="Search"==t.type?"Smart web":"Knowledge Topics",n=t.
19id;"Smart web"!==s&&"Knowledge Topics"!==s||e.push({label:`Open in ${s}`,action:()=>{this.router.navigate(["Smart web"===s?"/smart-web/show-monitoring-topic":"/knowledge-base/show-knowledge-topic",n])}},{disabled:!this.accessInExplore,label:"Open in Explore",action:()=>{this.accessInExplore&&this.router.navigate(["Smart web"===s?"/smart-web/show-monitoring-topic":"/knowledge-base/show-knowledge-topic",n,"explore"],{queryParams:i?{chart_data:A.chart.data,chart_type:A.chart.type}:{chart_data:"items_publication_dates",chart_type:"line_chart"}})}},r,{label:`Open tab in ${s}`,action:()=>{const A=this.router.serializeUrl(this.router.createUrlTree(["Smart web"===s?"/smart-web/show-monitoring-topic":"/knowledge-base/show-knowledge-topic",n]));window.open(A,"_blank")}},{disabled:!this.accessInExplore,label:"Open tab in Explore",action:()=>{if(this.accessInExplore){const e=this.router.serializeUrl(this.router.createUrlTree(["Smart web"===s?"/smart-web/show-monitoring-topic":"/knowledge-base/show-knowledge-topic",n,"explore"],{queryParams:i?{chart_data:A.chart.data,chart_type:A.chart.type}:{chart_data:"items_publication_dates",chart_type:"line_chart"}}));window.open(e,"_blank")}}},r)}return e.push(o,r),this.isGridEditable&&e.push(a,r,n),e}openSmartWebInSearchEngine({id:A,name:e}){this.searchEngineService.newSearch({}),this.searchEngineService.selectOrigin({id:A,name:e,type:"theme"})}openTopicsInSearchEngine({id:A,name:e}){this.searchEngineService.selectOrigin({id:A,name:e,type:"Collection"}),this.searchEngineService.newSearch({items_collections:{filtering:[{id:A,name:e}],blocking:[],operator:"OR"}})}triggerSaveView(A){A.chart.options.map.view.getView(),this.updateWidget(A)}getDashboardMenu(){const A=this.dashboard.is_owner,e=1===this.me.role.id;let t=[];return t.push({label:"Duplicate this wall",action:()=>this.duplicateDashboard(this.dashboard)}),(A||e)&&(t.push({label:"Assign this wall to a user",action:()=>this.assignDashboard(this.dashboard)}),t.push({label:"Share this wall",action:()=>this.shareDashboard(this.dashboard)}),t.push({label:"Delete this wall",action:()=>this.onDashboardDelete(this.dashboard)})),t}duplicateDashboard(A){this.dashboardService.duplicate(A.id).subscribe(A=>{console.log("dashboard duplicated",A),this.notificationService.success("Wall duplicated");const e=new sA.Aa4(A);this.dashboards.unshift(e),this.dashboard=e,this.dashboardId=e.id,this.getWidgets(this.dashboardId)},A=>{console.log("duplicate wall error",A),this.notificationService.error("Error duplicating wall")})}assignDashboard(A){this.modalService.createModal({content:this.modal__assignDashboard,size:"small",allowOverflow:!0,properties:{dashboard:A}})}shareDashboard(A){this.modalService.createModal({content:this.modal__shareDashboard,size:"medium",allowOverflow:!0,properties:{dashboard:A}})}setDashboardHeader(A){this.modalService.createModal({content:this.modal__setDashboardHeader,size:"medium",allowOverflow:!0,properties:{dashboard:A}})}updateView(){this.changedOptions()}itemInitCallback(A,e){}onDropItem(A,e,t){console.log("onDropItems",A,e,t)}onDragStart(A,e,t){console.log("onDragStart",{item:A,itemComponent:e,event:t}),this.disablePointerEvents=!0}onDragEnd(A,e,t){console.log("onDragEnd",{item:A,itemComponent:e,event:t}),this.disablePointerEvents=!1}onResizeStart(A,e,t){console.log("onResizeStart",{item:A,itemComponent:e,event:t}),this.disablePointerEvents=!0}onResizeEnd(A,e,t){console.log("onResizeEnd",{item:A,itemComponent:e,event:t}),this.disablePointerEvents=!1;const i=Number(e.el.id);this.getWidgetFromList(this.dashboard.widgets_list,i).isResized(t)}onDeleteWidget(A,e){console.log("onDeleteWidget",{$event:A,widget:e}),A.preventDefault(),A.stopPropagation(),this.deleteWidget(e)}onItemGridChanged(A,e){console.log("onItemGridChanged",{position:A,itemComponent:e});const t=Number(e.el.id),i=this.getWidgetFromList(this.dashboard.widgets_list,t);this.updateWidgetPosition(i)}getWidgetFromList(A,e){return A.find(A=>A.id===e)}onDashboardSelect(A){this.router.navigateByUrl("/walls/"+A)}onDashboardChange(A){console.warn("cks - onDashboardChange",A),null!=A.id&&(this.slideInState="out",setTimeout(()=>{this.isGridEditable=!1,this.dashboard=new sA.Aa4(A),this.dashboardId=A.id,this.getWidgets(this.dashboardId)},250))}slideInDone(){this.gridIsInitialized=!0,this.slideInState="in"}changedOptions(){this.gridOptions.api&&this.gridOptions.api.optionsChanged&&this.gridOptions.api.optionsChanged()}dragStartHandler(A,e){A.dataTransfer&&(A.dataTransfer.setData("text/type",e),A.dataTransfer.dropEffect="copy")}emptyCellDropCallback(A,e){const t=A.dataTransfer.getData("text/type");if(t){const A=new sA.$LY({position:e,widget_type:t,dashboard_id:this.dashboard.id});this.createWidget(A)}}setWidgetParameters(A){this.modalService.createModal({content:this.modal__widgetCreate,size:"medium",allowOverflow:!0,properties:{widget:A,widgetTypeList:this.widgetTypeList}})}setWidgetTextParameters(A,e){console.log("setWidgetTextParameters",{event:A,widget:e}),e.text.value="",e.checkIfEmpty()}toogleGridEditable(){this.isGridEditable=!this.isGridEditable,this.updateGridView()}updateGridView(){this.gridOptions.enableEmptyCellDrop=!!this.isGridEditable,this.gridOptions.draggable.enabled=!!this.isGridEditable,this.gridOptions.resizable.enabled=!!this.isGridEditable,this.gridOptions.swap=!!this.isGridEditable,this.gridOptions.displayGrid=this.isGridEditable?f.OnDragAndResize:"none",this.gridOptions.minRows=this.isGridEditable?21:1,this.changedOptions()}enableGrid(){this.isGridEditable&&(this.gridOptions.enableEmptyCellDrop=!0,this.gridOptions.draggable.enabled=!0,this.gridOptions.resizable.enabled=!0,this.gridOptions.swap=!0,this.gridOptions.displayGrid=f.OnDragAndResize,this.changedOptions())}disableGrid(){this.gridOptions.enableEmptyCellDrop=!1,this.gridOptions.draggable.enabled=!1,this.gridOptions.resizable.enabled=!1,this.gridOptions.swap=!1,this.gridOptions.displayGrid="none",this.changedOptions()}updateGridOptions(){this.changedOptions()}exportAsJpeg(A){const e=Number(A.id),t=document.getElementById(e.toString());Zt()(t).then(e=>{let t=document.createElement("a");t.href=e.toDataURL("image/jpeg").replace("image/jpeg","image/octet-stream"),t.download="cikisi-"+A.name+".jpeg",t.click()})}expandWidget(A){A.expand(!0),this.getExpandTarget(A),this.openFullscreen(),setTimeout(()=>{this.widgetExpanded=!0,this.updateGridOptions(),A.isResized(!0)},300)}collapseWidget(A){A.expand(!1),this.widgetExpanded=!1,this.getExpandTarget(A),this.closeFullscreen(),setTimeout(()=>{this.updateGridOptions(),A.isResized(!0)},300)}getExpandTarget(A){const e=Number(A.id),t=document.getElementById(e.toString());this.elem=t}openFullscreen(){this.elem.requestFullscreen?this.elem.requestFullscreen():this.elem.mozRequestFullScreen?this.elem.mozRequestFullScreen():this.elem.webkitRequestFullscreen?this.elem.webkitRequestFullscreen():this.elem.msRequestFullscreen&&this.elem.msRequestFullscreen()}closeFullscreen(){this.document.exitFullscreen?this.document.exitFullscreen():this.document.mozCancelFullScreen?this.document.mozCancelFullScreen():this.document.webkitExitFullscreen?this.document.webkitExitFullscreen():this.document.msExitFullscreen&&this.document.msExitFullscreen()}ngOnDestroy(){var A,e,t;null===(A=this.sub__updateGrid)||void 0===A||A.unsubscribe(),null===(e=this.sub__routeMap)||void 0===e||e.unsubscribe(),null===(t=this.sub__updateDashboard)||void 0===t||t.unsubscribe()}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(i.K0),n.Y36(nA.Xy),n.Y36(nA.$h),n.Y36(nA.sp),n.Y36(nA.xA),n.Y36(nA.Z7),n.Y36(nA.gq),n.Y36(s.gz),n.Y36(s.F0),n.Y36(nA.P2),n.Y36(nA.wm),n.Y36(nA.i2))},A.\u0275cmp=n.Xpm({type:A,selectors:[["app-dashboard-show"]],viewQuery:function(A,e){if(1&A&&n.Gf(gi,5),2&A){let A;n.iGM(A=n.CRH())&&(e.dashboardContent=A.first)}},decls:19,vars:33,consts:[[1,"dashboard"],[1,"dashboard__header"],[1,"dashboard__header--left"],[3,"async","selected","placeholder","sections","template","options","change"],[2,"margin-left","8px",3,"icon","btnClass","click"],[1,"dashboard__header--right"],[1,"add-widgets-btn",3,"click"],[1,"cks-icon-pencil"],[1,"add-widgets-btn__circle"],[3,"icon","btnMenu","btnClass",4,"ngIf"],[1,"dashboard__add-widgets"],[1,"dashboard__add-widgets__inner"],["class","drag-handler","draggable","true",3,"dragstart",4,"ngFor","ngForOf"],[1,"dashboard__content"],["dashboardContent",""],[1,"cks-grid-container",3,"options"],[4,"ngIf"],[3,"icon","btnMenu","btnClass"],["draggable","true",1,"drag-handler",3,"dragstart"],[1,"drag-handler__icon"],[1,"drag-handler__title"],[1,"cks-grid-item","dashboard__header",3,"id","item","mouseover","mouseleave"],[1,"dashboard__header__background"],["class","dashboard__header__background__img","alt","",3,"opacity","src",4,"ngIf"],[1,"dashboard__header__top--left"],[1,"favorite__btn",3,"click"],["class","cks-icon-rating-f",4,"ngIf"],["class","cks-icon-rating",4,"ngIf"],["class","sharing__tag",3,"--private","click",4,"ngIf"],[1,"dashboard__header__top--right"],[3,"icon","click",4,"ngIf"],[1,"dashboard__header__content"],[1,"dashboard__header__content__image"],["alt","",3,"src",4,"ngIf"],[1,"dashboard__header__content__title"],[1,"dashboard__header__content__title__text",3,"text","isDisable","options","onChange"],[1,"dashboard__header__content__description"],[1,"dashboard__header__content__description__text",3,"text","isDisable","options","onChange"],["class","cks-grid-item",3,"id","style","item","mouseover","mouseleave",4,"ngFor","ngForOf"],["alt","",1,"dashboard__header__background__img",3,"src"],[1,"cks-icon-rating-f"],[1,"cks-icon-rating"],[1,"sharing__tag",3,"click"],["class","sharing__tag--private",4,"ngIf"],["class","sharing__tag--client",4,"ngIf"],["class","sharing__tag--groups",4,"ngIf"],[1,"sharing__tag--private"],[1,"cks-icon-user"],[1,"sharing__tag--client"],[1,"cks-icon-users"],[1,"sharing__tag--groups"],[3,"icon","click"],["alt","",3,"src"],[1,"cks-grid-item",3,"id","item","mouseover","mouseleave"],[1,"widget"],["class","widget__header",4,"ngIf"],[3,"ngSwitch"],["class","widget__content",4,"ngSwitchCase"],["class","empty-widget-container",4,"ngSwitchDefault"],[1,"widget__header"],[1,"widget__header--left"],[3,"modal","icon"],[1,"widget__header--left--title",3,"text","isDisable","options","onChange"],[1,"widget__header--right"],[1,"widget__content"],[3,"state","stateChange"],[3,"disable-pointer-events","widget","mousedown","mouseup","mouseleave",4,"ngIf"],[3,"disable-pointer-events","widget",4,"ngIf"],[3,"disable-pointer-events","widget","isEditing","mousedown","mouseup","mouseleave",4,"ngIf"],[3,"widget","mousedown","mouseup","mouseleave"],[3,"widget"],[3,"widget","isEditing","mousedown","mouseup","mouseleave"],[1,"empty-widget-container"],["class","empty-widget","title","Set parameters of widget",3,"modal",4,"ngFor","ngForOf"],["t
19itle","Set parameters of widget",1,"empty-widget",3,"modal"],["class","empty-widget__icon",3,"mousedown","touchstart","mouseup","touchend","mouseout",4,"ngIf"],[1,"empty-widget__icon",3,"mousedown","touchstart","mouseup","touchend","mouseout"],["class","empty-widget","title","Set parameters of widget",4,"ngFor","ngForOf"],["title","Set parameters of widget",1,"empty-widget"]],template:function(A,e){1&A&&(n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"div",2),n.TgZ(3,"cks-select",3),n.NdJ("change",function(A){return e.onDashboardSelect(A.id)}),n.qZA(),n.TgZ(4,"cks-btn",4),n.NdJ("click",function(){return e.onCreateDashboard()}),n.qZA(),n.qZA(),n.TgZ(5,"div",5),n.TgZ(6,"div",6),n.NdJ("click",function(){return e.toogleGridEditable()}),n._UZ(7,"i",7),n._UZ(8,"div",8),n.qZA(),n.YNc(9,ui,1,3,"cks-btn",9),n.qZA(),n.qZA(),n.TgZ(10,"div",10),n.TgZ(11,"div",11),n.TgZ(12,"span"),n._uU(13," + new widgets : \xa0\xa0 "),n.qZA(),n.YNc(14,Bi,6,4,"div",12),n.qZA(),n.qZA(),n.TgZ(15,"div",13,14),n.NdJ("@slideIn.done",function(){return e.slideInDone()}),n.TgZ(17,"gridster",15),n.YNc(18,qi,19,20,"ng-container",16),n.qZA(),n.qZA(),n.qZA()),2&A&&(n.xp6(3),n.Q6J("async",n.DdM(19,Xi))("selected",e.dashboard)("placeholder","Select a wall ...")("sections",n.kEZ(23,es,n.DdM(20,zi),n.DdM(21,ji),n.DdM(22,As)))("template",n.WLB(29,ss,n.DdM(27,ts),n.DdM(28,is)))("options",n.DdM(32,rs)),n.xp6(1),n.Q6J("icon","cks-icon-add")("btnClass","cks-btn cks-btn--primary"),n.xp6(2),n.ekj("--active",e.isGridEditable),n.xp6(3),n.Q6J("ngIf",e.dashboard),n.xp6(1),n.ekj("--active",e.isGridEditable),n.xp6(4),n.Q6J("ngForOf",e.widgetTypeList),n.xp6(1),n.ekj("--active",e.isGridEditable),n.Q6J("@slideIn",e.slideInState),n.xp6(2),n.Q6J("options",e.gridOptions),n.xp6(1),n.Q6J("ngIf",e.dashboard))},directives:[ge,oA.f,i.O5,i.sg,L,j,DA,i.RF,i.n9,i.ED,Pt.o,bA.C,Jt,Wt,jt,ii,si,ai,hi],styles:['@charset "UTF-8";@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInFormNone{0%{opacity:0;display:none}1%{opacity:0;display:block}to{opacity:1;display:block}}@keyframes fadeColor{0%{opacity:0;color:var(--border-color)}to{opacity:1;color:var(--accent)}}.disable-pointer-events{pointer-events:none}.close-btn{background-color:var(--accent);width:32px;height:32px}.navigation__container{height:64px;width:100%;display:flex;background-color:var(--bg-boxes);border-bottom:1px solid var(--border-color)}.navigation__breadcrumb{padding:16px 32px;width:100%;display:flex;align-items:center;font-size:18px;text-transform:uppercase}.navigation__breadcrumb span{margin-right:8px;font-weight:bold}.navigation__breadcrumb p{font-weight:normal}.navigation__searchinput{width:100px;min-width:384px}.dashboard{width:100%;height:100%;transition:all .2s ease-in-out;overflow:hidden}.dashboard__header{padding:10px 32px;min-height:54px;width:100%;display:flex;justify-content:space-between;border:blue;border-bottom:1px solid var(--border-color)}.dashboard__header--left{display:flex;align-items:center}.dashboard__header--left .cks-select{width:256px;max-width:256px}.dashboard__header--left .new-widget-page{margin-left:16px}.dashboard__header--right{margin-left:32px;display:flex;align-items:center;justify-content:flex-end}.dashboard__add-widgets{position:absolute;bottom:24px;padding:0 24px;width:100%;display:flex;align-items:center;justify-content:center;transition:all .2s ease-out;transform:translateY(16px);overflow:hidden;pointer-events:none;opacity:0;z-index:2}.dashboard__add-widgets.--active{transform:translateY(0);opacity:1}.dashboard__add-widgets__inner{padding:8px 16px;height:100%;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;color:#fff;border-radius:8px;background:var(--accent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:all}.drag-handler{position:relative;margin-right:8px;margin-bottom:8px;margin-top:8px;padding:2px 8px;height:32px;min-width:128px;display:flex;align-items:center;justify-content:center;border-radius:4px;border:solid 1px #fff6;opacity:.999;cursor:grab;color:#fff;background:var(--accent)}.drag-handler:last-child{margin-right:0}.drag-handler__icon{margin-right:8px;width:24px;height:24px;display:flex;justify-content:center;align-items:center}.drag-handler__icon i{line-height:1;font-size:20px}.drag-handler__title{font-size:14px;text-transform:uppercase;letter-spacing:.05em}.dashboard__content{width:100%;height:calc(100% - 64px)!important;padding:16px;transition:height .2s ease-out;overflow-y:auto;overflow-x:hidden!important;position:relative!important;border:2px solid transparent}.dashboard__content.--active{border:2px dashed var(--accent);padding-bottom:92px}.dashboard__content.expanded{overflow:hidden!important}.cks-grid-container{background-color:var(--bgmain);overflow-y:auto;overflow-x:hidden!important;height:100%;width:100%}.cks-grid-item{background-color:var(--bg-boxes);box-shadow:0 1px 2px #0002;border-radius:6px;animation:fadeIn .2s ease-out}.cks-grid-item.expanded{position:absolute!important;width:calc(100%)!important;height:calc(100%)!important;top:0!important;left:0!important;transform:translate(0)!important;z-index:999}.gridster-item .gridster-item-moving{box-shadow:#64646f33 0 7px 29px}.gridster .gridster-row{border-top:1px dashed var(--accent)!important;border-bottom:1px dashed var(--accent)!important}.gridster .gridster-column{border-left:1px dashed var(--accent)!important;border-right:1px dashed var(--accent)!important}.gridster .gridster-preview{background-color:var(--accent)!important;opacity:.83!important}.add-widgets-btn{width:32px;min-width:32px;height:32px;margin-right:8px;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;font-size:21px;transition:all .2s ease-in-out;color:var(--text-color--high)}.add-widgets-btn.--active{background:var(--accent)}.add-widgets-btn.--active i{color:#fff;z-index:2}.add-widgets-btn:hover{color:var(--white);transform:scale(1.1)}.add-widgets-btn .add-widgets-btn__circle{position:absolute;width:32px;height:32px;border-radius:50%;background-color:var(--text-color--light);transition:all .2s ease-in-out;opacity:0;transform:scale(.1)}.add-widgets-btn:hover .add-widgets-btn__circle{opacity:.66;transform:scale(1)}.add-widgets-btn.--active .add-widgets-btn__circle{opacity:1;transform:scale(1);background-color:var(--accent)}.dashboard__header__background{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:center;background-repeat:no-repeat;display:flex;align-items:center;justify-content:center}.dashboard__header__background .dashboard__header__background__img{width:100%}.cks-grid-item.dashboard__header{background-color:var(--accent)!important;background-color:var(--color-black-dark)!important;border:1px solid var(--border-color-accent)!important}.dashboard__header__top--left{position:absolute;top:16px;left:16px;display:flex;justify-content:center;align-items:center}.dashboard__header__top--left .sharing__tag{padding:2px 12px;
19height:32px;display:flex;justify-content:center;align-items:center;border-radius:16px;color:var(--accent);background-color:var(--text-color--high--td);cursor:pointer;transition:all .2s ease-in-out}.dashboard__header__top--left .sharing__tag i{font-size:20px}.dashboard__header__top--left .sharing__tag span{margin-left:4px;font-size:16px}.dashboard__header__top--left .sharing__tag:hover{opacity:1;transform:scale(1.05)}.dashboard__header__top--left .sharing__tag.--private{color:#fff;background-color:var(--text-color--light--td);padding:2px 6px}.dashboard__header__top--left .favorite__btn{width:32px;min-width:32px;height:32px;margin-right:8px;border-radius:50%;display:flex;justify-content:center;align-items:center;color:var(--text-color--high-light);cursor:pointer;font-size:32px;transition:all .2s ease-in-out;opacity:.33}.dashboard__header__top--left .favorite__btn:hover{opacity:1;transform:scale(1.1);color:var(--color-yellow-mustard)}.dashboard__header__top--left .favorite__btn.--active{color:var(--color-yellow-mustard);opacity:1}.dashboard__header__top--right{position:absolute;top:16px;right:16px;display:flex;justify-content:center;align-items:center}.dashboard__header__content{height:100%;width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;color:#fff;z-index:9}.dashboard__header__content input,.dashboard__header__content textarea{color:#fff}.dashboard__header__content input::-webkit-input-placeholder,.dashboard__header__content textarea::-webkit-input-placeholder{color:#fff9}.dashboard__header__content__image{height:92px;background-size:cover;background-position:center;background-repeat:no-repeat;z-index:8}.dashboard__header__content__image img{width:100%;max-height:92px}.dashboard__header__content__title{width:100%;padding:16px 16px 0;font-size:28px;font-weight:bold;text-transform:uppercase;display:flex;align-items:center;justify-content:center;margin-left:32px}.dashboard__header__content__title__text{width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.dashboard__header__content__description{width:100%;font-size:14px;padding:16px 0;display:flex;align-items:center;justify-content:center;margin-left:32px}.dashboard__header__content__description__text{width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.widget{position:relative;width:100%;height:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;overflow:hidden;transition:all .2s ease-in-out}.widget__header{width:100%;padding:8px 12px;display:flex;justify-content:space-between;border-bottom:1px solid var(--border-color);background-color:var(--bg-boxes)}.widget__header--left{display:flex;align-items:center;width:100%}.widget__top--left--title{display:flex;justify-content:flex-start;align-items:center;overflow:hidden;height:24px;width:100%;margin-right:8px;padding:0 4px;border-radius:2px;cursor:pointer;background-color:var(--bg-boxes)}.widget__header--right{right:0;display:flex;align-items:center;justify-content:flex-end}.widget__content{width:100%;flex-grow:1;position:relative;overflow:auto}.widget--add-widget{border:1px solid var(--border-color);background-color:var(--bgmain);border-radius:6px;display:flex;justify-content:center;align-items:center;font-size:32px;cursor:pointer;transition:all .2s ease-in-out;color:var(--border-color)}.widget--add-widget:hover{color:var(--accent)}.empty-widget-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;transition:all .2s ease-in-out}.empty-widget__icon{position:relative;width:64px;height:64px;display:flex;justify-content:center;align-items:center;border-radius:6px;background-color:var(--bg-boxes);border:2px solid var(--border-color);cursor:pointer;transition:all .2s ease-in-out;transform:scale(1)}.empty-widget__icon:hover{border:2px solid var(--accent);transform:scale(1.1)}.empty-widget__icon i{z-index:1;font-size:40px;color:var(--border-color)}.empty-widget__icon:hover i:before{content:"\\e95e";color:var(--accent);animation:fadeColor .2s ease-in-out}\n'],encapsulation:2,data:{animation:[UA.Ym,UA.Um]}}),A})();var os=t(90739),as=t(25917),cs=t(43190),ls=t(5304),ds=t(79860);function hs(A,e){if(1&A&&(n.TgZ(0,"div"),n.TgZ(1,"span"),n._uU(2),n.qZA(),n.qZA()),2&A){const A=n.oxw().ngIf;n.xp6(2),n.Oqu(A.description)}}function gs(A,e){if(1&A){const A=n.EpF();n.TgZ(0,"div",1),n.TgZ(1,"div",2),n.TgZ(2,"div",3),n.TgZ(3,"span"),n._uU(4),n.qZA(),n.TgZ(5,"button",4),n.NdJ("
19click",function(){return n.CHM(A),n.oxw().onCloseDetails()}),n._UZ(6,"i",5),n.qZA(),n.qZA(),n.TgZ(7,"div",6),n.TgZ(8,"div"),n.TgZ(9,"h1",7),n.TgZ(10,"span"),n._uU(11),n.qZA(),n.qZA(),n.YNc(12,hs,3,1,"div",8),n.qZA(),n.qZA(),n.qZA(),n.TgZ(13,"div",9),n.TgZ(14,"div",10),n.TgZ(15,"div"),n.TgZ(16,"div",11),n.TgZ(17,"div",12),n.TgZ(18,"span"),n._uU(19,"Wall Info"),n.qZA(),n.qZA(),n.TgZ(20,"p",13),n.TgZ(21,"span",14),n._uU(22,"Creator: "),n.qZA(),n.TgZ(23,"span",15),n._uU(24),n.qZA(),n.qZA(),n.TgZ(25,"p",13),n.TgZ(26,"span",14),n._uU(27,"Sharing: "),n.qZA(),n.TgZ(28,"span",15),n._uU(29),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n._UZ(30,"div",16),n.qZA(),n.qZA(),n.qZA()}if(2&A){const A=e.ngIf,t=n.oxw();n.Q6J("loading",t._loadingDashboard),n.xp6(4),n.hij("#",A.id,""),n.xp6(7),n.Oqu(A.name),n.xp6(1),n.Q6J("ngIf",A.description),n.xp6(12),n.Oqu(A.user.full_name),n.xp6(5),n.Oqu(A.sharing_rule)}}const us=[{path:"",component:FA,data:{trackThisRoute:!0},children:[{path:"show-wall/:id",component:(()=>{class A{constructor(A,e,t,i,s,r){this.dashboardService=A,this.route=e,this.router=t,this.listingService=i,this.queryParamsService=s,this.notificationService=r,this.dashboard$=(0,os.aj)([this.route.paramMap]).pipe((0,cs.w)(([A])=>{const e=parseInt(A.get("id"));return this.listingService.narrowTable(this.route.snapshot.data.details_available),this._loadingDashboard=!0,this.dashboardService.getByID(e).pipe((0,cA.b)(A=>this._loadingDashboard=!1),(0,ls.K)(A=>(this.notificationService.error("Unable to get this Wall"),this.router.navigateByUrl("/walls"),this.listingService.narrowTable(!1),this._loadingDashboard=!1,(0,as.of)(A))))}))}ngOnInit(){}onCloseDetails(){this.queryParamsService.navigate("/walls"),this.listingService.narrowTable(!1)}}return A.\u0275fac=function(e){return new(e||A)(n.Y36(nA.sp),n.Y36(s.gz),n.Y36(s.F0),n.Y36(nA.oI),n.Y36(nA.Ed),n.Y36(nA.gq))},A.\u0275cmp=n.Xpm({type:A,selectors:[["app-dashboard-details"]],decls:2,vars:3,consts:[["class","table__details-inner",3,"loading",4,"ngIf"],[1,"table__details-inner",3,"loading"],[1,"table__details-header"],[1,"table__details-id"],["type","button",1,"table__details-close",3,"click"],[1,"las","la-arrow-right"],[1,"table__details-info"],[1,"table__details-title"],[4,"ngIf"],[1,"table__details-data"],[1,"flex-layout--horizontal",2,"gap","40px"],[1,"table__data-item"],[1,"table__data-title"],[1,"_dashboard__info"],[1,"_dashboard__property--type"],[1,"_dashboard__property--value"],[1,"table__details-btns"]],template:function(A,e){1&A&&(n.YNc(0,gs,31,6,"div",0),n.ALo(1,"async")),2&A&&n.Q6J("ngIf",n.lcZ(1,1,e.dashboard$))},directives:[i.O5,ds.T],pipes:[i.Ov],styles:["._dashboard__info[_ngcontent-%COMP%]{font-size:13px}._dashboard__info[_ngcontent-%COMP%]   ._dashboard__property--type[_ngcontent-%COMP%]{font-weight:bold}"]}),A})(),data:{details_available:!0}}]},{path:":id",component:ns}];let Bs=(()=>{class A{}return A.\u0275fac=function(e){return new(e||A)},A.\u0275mod=n.oAB({type:A}),A.\u0275inj=n.cJS({imports:[[s.Bz.forChild(us)]]}),A})();var ps=t(27422);let ws=(()=>{class A{}return A.\u0275fac=function(e){return new(e||A)},A.\u0275mod=n.oAB({type:A}),A.\u0275inj=n.cJS({imports:[[ps.u,i.ez,r.u5,Bs,s.Bz,r.UX,tA.m,AA,eA.d]]}),A})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.