@creaditor/newsletter-starterkit 1.0.53 → 1.0.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/1260.creaditor.bundle.js +297 -128
  2. package/dist/1260.creaditor.bundle.js.gz +0 -0
  3. package/dist/1271.creaditor.bundle.js +1 -439
  4. package/dist/1271.creaditor.bundle.js.gz +0 -0
  5. package/dist/1403.creaditor.bundle.js +110 -0
  6. package/dist/1403.creaditor.bundle.js.gz +0 -0
  7. package/dist/1529.creaditor.bundle.js +1 -1
  8. package/dist/1529.creaditor.bundle.js.gz +0 -0
  9. package/dist/1565.creaditor.bundle.js +338 -138
  10. package/dist/1565.creaditor.bundle.js.gz +0 -0
  11. package/dist/168.creaditor.bundle.js +4 -4
  12. package/dist/168.creaditor.bundle.js.gz +0 -0
  13. package/dist/170.creaditor.bundle.js +11 -5
  14. package/dist/170.creaditor.bundle.js.gz +0 -0
  15. package/dist/2384.creaditor.bundle.js +56 -8
  16. package/dist/2384.creaditor.bundle.js.gz +0 -0
  17. package/dist/2590.creaditor.bundle.js +1 -2
  18. package/dist/2590.creaditor.bundle.js.gz +0 -0
  19. package/dist/3095.creaditor.bundle.js +91 -58
  20. package/dist/3095.creaditor.bundle.js.gz +0 -0
  21. package/dist/3521.creaditor.bundle.js +11 -9
  22. package/dist/3521.creaditor.bundle.js.gz +0 -0
  23. package/dist/3553.creaditor.bundle.js +1 -1
  24. package/dist/3553.creaditor.bundle.js.gz +0 -0
  25. package/dist/3932.creaditor.bundle.js +3 -3
  26. package/dist/3932.creaditor.bundle.js.gz +0 -0
  27. package/dist/4114.creaditor.bundle.js +1 -0
  28. package/dist/4114.creaditor.bundle.js.gz +0 -0
  29. package/dist/4186.creaditor.bundle.js +1 -1
  30. package/dist/4186.creaditor.bundle.js.gz +0 -0
  31. package/dist/453.creaditor.bundle.js +1 -1
  32. package/dist/453.creaditor.bundle.js.gz +0 -0
  33. package/dist/4569.creaditor.bundle.js +30 -190
  34. package/dist/4569.creaditor.bundle.js.gz +0 -0
  35. package/dist/4819.creaditor.bundle.js +198 -235
  36. package/dist/4819.creaditor.bundle.js.gz +0 -0
  37. package/dist/5340.creaditor.bundle.js +126 -36
  38. package/dist/5340.creaditor.bundle.js.gz +0 -0
  39. package/dist/574.creaditor.bundle.js +5 -5
  40. package/dist/574.creaditor.bundle.js.gz +0 -0
  41. package/dist/589.creaditor.bundle.js +9 -9
  42. package/dist/589.creaditor.bundle.js.gz +0 -0
  43. package/dist/5926.creaditor.bundle.js +24 -31
  44. package/dist/5926.creaditor.bundle.js.gz +0 -0
  45. package/dist/638.creaditor.bundle.js +3 -3
  46. package/dist/638.creaditor.bundle.js.gz +0 -0
  47. package/dist/6713.creaditor.bundle.js +151 -0
  48. package/dist/6713.creaditor.bundle.js.gz +0 -0
  49. package/dist/7209.creaditor.bundle.js +2 -3
  50. package/dist/7209.creaditor.bundle.js.gz +0 -0
  51. package/dist/7238.creaditor.bundle.js +3 -3
  52. package/dist/7238.creaditor.bundle.js.gz +0 -0
  53. package/dist/752.creaditor.bundle.js +3 -7
  54. package/dist/752.creaditor.bundle.js.gz +0 -0
  55. package/dist/763.creaditor.bundle.js +1 -1
  56. package/dist/763.creaditor.bundle.js.gz +0 -0
  57. package/dist/7789.creaditor.bundle.js +25 -0
  58. package/dist/7789.creaditor.bundle.js.LICENSE.txt +32 -0
  59. package/dist/7789.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  60. package/dist/7789.creaditor.bundle.js.gz +0 -0
  61. package/dist/7937.creaditor.bundle.js +63 -115
  62. package/dist/7937.creaditor.bundle.js.gz +0 -0
  63. package/dist/8173.creaditor.bundle.js +1 -1
  64. package/dist/8173.creaditor.bundle.js.gz +0 -0
  65. package/dist/8305.creaditor.bundle.js +6 -6
  66. package/dist/8305.creaditor.bundle.js.gz +0 -0
  67. package/dist/8516.creaditor.bundle.js +1 -1
  68. package/dist/8516.creaditor.bundle.js.gz +0 -0
  69. package/dist/8676.creaditor.bundle.js +1 -0
  70. package/dist/8676.creaditor.bundle.js.gz +0 -0
  71. package/dist/8916.creaditor.bundle.js +4 -4
  72. package/dist/8916.creaditor.bundle.js.gz +0 -0
  73. package/dist/9041.creaditor.bundle.js +1 -1
  74. package/dist/9041.creaditor.bundle.js.gz +0 -0
  75. package/dist/9158.creaditor.bundle.js +613 -0
  76. package/dist/9158.creaditor.bundle.js.LICENSE.txt +10 -0
  77. package/dist/9158.creaditor.bundle.js.LICENSE.txt.gz +0 -0
  78. package/dist/9158.creaditor.bundle.js.gz +0 -0
  79. package/dist/9162.creaditor.bundle.js +4 -3
  80. package/dist/9162.creaditor.bundle.js.gz +0 -0
  81. package/dist/9694.creaditor.bundle.js +1 -1
  82. package/dist/9694.creaditor.bundle.js.gz +0 -0
  83. package/dist/creaditor.bundle.js +2795 -874
  84. package/dist/creaditor.bundle.js.gz +0 -0
  85. package/dist/service-worker.js +1 -1
  86. package/dist/service-worker.js.gz +0 -0
  87. package/package.json +1 -1
@@ -0,0 +1,613 @@
1
+ /*! For license information please see 9158.creaditor.bundle.js.LICENSE.txt */
2
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9158],{9158(t,e,n){n(69130);var i=n(95586),a=n(47351);const o=(0,i.b)({_template:a.q`
3
+ <style>
4
+ :host {
5
+ display: inline-block;
6
+ position: fixed;
7
+ clip: rect(0px,0px,0px,0px);
8
+ }
9
+ </style>
10
+ <div aria-live$="[[mode]]">[[_text]]</div>
11
+ `,is:"iron-a11y-announcer",properties:{mode:{type:String,value:"polite"},timeout:{type:Number,value:150},_text:{type:String,value:""}},created:function(){o.instance||(o.instance=this),document.addEventListener("iron-announce",this._onIronAnnounce.bind(this))},announce:function(t){this._text="",this.async(function(){this._text=t},this.timeout)},_onIronAnnounce:function(t){t.detail&&t.detail.text&&this.announce(t.detail.text)}});o.instance=null,o.requestAvailability=function(){o.instance||(o.instance=document.createElement("iron-a11y-announcer")),document.body?document.body.appendChild(o.instance):document.addEventListener("load",function(){document.body.appendChild(o.instance)})};var l=n(18811),p=n(53874);(0,i.b)({_template:a.q`
12
+ <style>
13
+ :host {
14
+ display: inline-block;
15
+ }
16
+ </style>
17
+ <slot id="content"></slot>
18
+ `,is:"iron-input",behaviors:[l.Q],properties:{bindValue:{type:String,value:""},value:{type:String,computed:"_computeValue(bindValue)"},allowedPattern:{type:String},autoValidate:{type:Boolean,value:!1},_inputElement:Object},observers:["_bindValueChanged(bindValue, _inputElement)"],listeners:{input:"_onInput",keypress:"_onKeypress"},created:function(){o.requestAvailability(),this._previousValidInput="",this._patternAlreadyChecked=!1},attached:function(){this._observer=(0,p.tT)(this).observeNodes(function(t){this._initSlottedInput()}.bind(this))},detached:function(){this._observer&&((0,p.tT)(this).unobserveNodes(this._observer),this._observer=null)},get inputElement(){return this._inputElement},_initSlottedInput:function(){this._inputElement=this.getEffectiveChildren()[0],this.inputElement&&this.inputElement.value&&(this.bindValue=this.inputElement.value),this.fire("iron-input-ready")},get _patternRegExp(){var t;if(this.allowedPattern)t=new RegExp(this.allowedPattern);else if("number"===this.inputElement.type)t=/[0-9.,e-]/;return t},_bindValueChanged:function(t,e){e&&(void 0===t?e.value=null:t!==e.value&&(this.inputElement.value=t),this.autoValidate&&this.validate(),this.fire("bind-value-changed",{value:t}))},_onInput:function(){this.allowedPattern&&!this._patternAlreadyChecked&&(this._checkPatternValidity()||(this._announceInvalidCharacter("Invalid string of characters not entered."),this.inputElement.value=this._previousValidInput));this.bindValue=this._previousValidInput=this.inputElement.value,this._patternAlreadyChecked=!1},_isPrintable:function(t){var e=8==t.keyCode||9==t.keyCode||13==t.keyCode||27==t.keyCode,n=19==t.keyCode||20==t.keyCode||45==t.keyCode||46==t.keyCode||144==t.keyCode||145==t.keyCode||t.keyCode>32&&t.keyCode<41||t.keyCode>111&&t.keyCode<124;return!(e||0==t.charCode&&n)},_onKeypress:function(t){if(this.allowedPattern||"number"===this.inputElement.type){var e=this._patternRegExp;if(e&&!(t.metaKey||t.ctrlKey||t.altKey)){this._patternAlreadyChecked=!0;var n=String.fromCharCode(t.charCode);this._isPrintable(t)&&!e.test(n)&&(t.preventDefault(),this._announceInvalidCharacter("Invalid character "+n+" not entered."))}}},_checkPatternValidity:function(){var t=this._patternRegExp;if(!t)return!0;for(var e=0;e<this.inputElement.value.length;e++)if(!t.test(this.inputElement.value[e]))return!1;return!0},validate:function(){if(!this.inputElement)return this.invalid=!1,!0;var t=this.inputElement.checkValidity();return t&&(this.required&&""===this.bindValue?t=!1:this.hasValidator()&&(t=l.Q.validate.call(this,this.bindValue))),this.invalid=!t,this.fire("iron-input-validate"),t},_announceInvalidCharacter:function(t){this.fire("iron-announce",{text:t})},_computeValue:function(t){return t}});n(66564);const r={attached:function(){this.fire("addon-attached")},update:function(t){}};(0,i.b)({_template:a.q`
19
+ <style>
20
+ :host {
21
+ display: inline-block;
22
+ float: right;
23
+
24
+ @apply --paper-font-caption;
25
+ @apply --paper-input-char-counter;
26
+ }
27
+
28
+ :host([hidden]) {
29
+ display: none !important;
30
+ }
31
+
32
+ :host(:dir(rtl)) {
33
+ float: left;
34
+ }
35
+ </style>
36
+
37
+ <span>[[_charCounterStr]]</span>
38
+ `,is:"paper-input-char-counter",behaviors:[r],properties:{_charCounterStr:{type:String,value:"0"}},update:function(t){if(t.inputElement){t.value=t.value||"";var e=t.value.toString().length.toString();t.inputElement.hasAttribute("maxlength")&&(e+="/"+t.inputElement.getAttribute("maxlength")),this._charCounterStr=e}}});n(12479),n(45611);var s=n(10848);const u=a.q`
39
+ <custom-style>
40
+ <style is="custom-style">
41
+ html {
42
+ --paper-input-container-shared-input-style: {
43
+ position: relative; /* to make a stacking context */
44
+ outline: none;
45
+ box-shadow: none;
46
+ padding: 0;
47
+ margin: 0;
48
+ width: 100%;
49
+ max-width: 100%;
50
+ background: transparent;
51
+ border: none;
52
+ color: var(--paper-input-container-input-color, var(--primary-text-color));
53
+ -webkit-appearance: none;
54
+ text-align: inherit;
55
+ vertical-align: var(--paper-input-container-input-align, bottom);
56
+
57
+ @apply --paper-font-subhead;
58
+ };
59
+ }
60
+ </style>
61
+ </custom-style>
62
+ `;u.setAttribute("style","display: none;"),document.head.appendChild(u.content),(0,i.b)({_template:a.q`
63
+ <style>
64
+ :host {
65
+ display: block;
66
+ padding: 8px 0;
67
+ @apply --paper-input-container;
68
+ }
69
+
70
+ :host([inline]) {
71
+ display: inline-block;
72
+ }
73
+
74
+ :host([disabled]) {
75
+ pointer-events: none;
76
+ opacity: 0.33;
77
+
78
+ @apply --paper-input-container-disabled;
79
+ }
80
+
81
+ :host([hidden]) {
82
+ display: none !important;
83
+ }
84
+
85
+ [hidden] {
86
+ display: none !important;
87
+ }
88
+
89
+ .floated-label-placeholder {
90
+ @apply --paper-font-caption;
91
+ }
92
+
93
+ .underline {
94
+ height: 2px;
95
+ position: relative;
96
+ }
97
+
98
+ .focused-line {
99
+ @apply --layout-fit;
100
+ border-bottom: 2px solid var(--paper-input-container-focus-color, var(--primary-color));
101
+
102
+ -webkit-transform-origin: center center;
103
+ transform-origin: center center;
104
+ -webkit-transform: scale3d(0,1,1);
105
+ transform: scale3d(0,1,1);
106
+
107
+ @apply --paper-input-container-underline-focus;
108
+ }
109
+
110
+ .underline.is-highlighted .focused-line {
111
+ -webkit-transform: none;
112
+ transform: none;
113
+ -webkit-transition: -webkit-transform 0.25s;
114
+ transition: transform 0.25s;
115
+
116
+ @apply --paper-transition-easing;
117
+ }
118
+
119
+ .underline.is-invalid .focused-line {
120
+ border-color: var(--paper-input-container-invalid-color, var(--error-color));
121
+ -webkit-transform: none;
122
+ transform: none;
123
+ -webkit-transition: -webkit-transform 0.25s;
124
+ transition: transform 0.25s;
125
+
126
+ @apply --paper-transition-easing;
127
+ }
128
+
129
+ .unfocused-line {
130
+ @apply --layout-fit;
131
+ border-bottom: 1px solid var(--paper-input-container-color, var(--secondary-text-color));
132
+ @apply --paper-input-container-underline;
133
+ }
134
+
135
+ :host([disabled]) .unfocused-line {
136
+ border-bottom: 1px dashed;
137
+ border-color: var(--paper-input-container-color, var(--secondary-text-color));
138
+ @apply --paper-input-container-underline-disabled;
139
+ }
140
+
141
+ .input-wrapper {
142
+ @apply --layout-horizontal;
143
+ @apply --layout-center;
144
+ position: relative;
145
+ }
146
+
147
+ .input-content {
148
+ @apply --layout-flex-auto;
149
+ @apply --layout-relative;
150
+ max-width: 100%;
151
+ }
152
+
153
+ .input-content ::slotted(label),
154
+ .input-content ::slotted(.paper-input-label) {
155
+ position: absolute;
156
+ top: 0;
157
+ left: 0;
158
+ width: 100%;
159
+ font: inherit;
160
+ color: var(--paper-input-container-color, var(--secondary-text-color));
161
+ -webkit-transition: -webkit-transform 0.25s, width 0.25s;
162
+ transition: transform 0.25s, width 0.25s;
163
+ -webkit-transform-origin: left top;
164
+ transform-origin: left top;
165
+ /* Fix for safari not focusing 0-height date/time inputs with -webkit-apperance: none; */
166
+ min-height: 1px;
167
+
168
+ @apply --paper-font-common-nowrap;
169
+ @apply --paper-font-subhead;
170
+ @apply --paper-input-container-label;
171
+ @apply --paper-transition-easing;
172
+ }
173
+
174
+
175
+ .input-content ::slotted(label):before,
176
+ .input-content ::slotted(.paper-input-label):before {
177
+ @apply --paper-input-container-label-before;
178
+ }
179
+
180
+ .input-content ::slotted(label):after,
181
+ .input-content ::slotted(.paper-input-label):after {
182
+ @apply --paper-input-container-label-after;
183
+ }
184
+
185
+ .input-content.label-is-floating ::slotted(label),
186
+ .input-content.label-is-floating ::slotted(.paper-input-label) {
187
+ -webkit-transform: translateY(-75%) scale(0.75);
188
+ transform: translateY(-75%) scale(0.75);
189
+
190
+ /* Since we scale to 75/100 of the size, we actually have 100/75 of the
191
+ original space now available */
192
+ width: 133%;
193
+
194
+ @apply --paper-input-container-label-floating;
195
+ }
196
+
197
+ :host(:dir(rtl)) .input-content.label-is-floating ::slotted(label),
198
+ :host(:dir(rtl)) .input-content.label-is-floating ::slotted(.paper-input-label) {
199
+ right: 0;
200
+ left: auto;
201
+ -webkit-transform-origin: right top;
202
+ transform-origin: right top;
203
+ }
204
+
205
+ .input-content.label-is-highlighted ::slotted(label),
206
+ .input-content.label-is-highlighted ::slotted(.paper-input-label) {
207
+ color: var(--paper-input-container-focus-color, var(--primary-color));
208
+
209
+ @apply --paper-input-container-label-focus;
210
+ }
211
+
212
+ .input-content.is-invalid ::slotted(label),
213
+ .input-content.is-invalid ::slotted(.paper-input-label) {
214
+ color: var(--paper-input-container-invalid-color, var(--error-color));
215
+ }
216
+
217
+ .input-content.label-is-hidden ::slotted(label),
218
+ .input-content.label-is-hidden ::slotted(.paper-input-label) {
219
+ visibility: hidden;
220
+ }
221
+
222
+ .input-content ::slotted(input),
223
+ .input-content ::slotted(iron-input),
224
+ .input-content ::slotted(textarea),
225
+ .input-content ::slotted(iron-autogrow-textarea),
226
+ .input-content ::slotted(.paper-input-input) {
227
+ @apply --paper-input-container-shared-input-style;
228
+ /* The apply shim doesn't apply the nested color custom property,
229
+ so we have to re-apply it here. */
230
+ color: var(--paper-input-container-input-color, var(--primary-text-color));
231
+ @apply --paper-input-container-input;
232
+ }
233
+
234
+ .input-content ::slotted(input)::-webkit-outer-spin-button,
235
+ .input-content ::slotted(input)::-webkit-inner-spin-button {
236
+ @apply --paper-input-container-input-webkit-spinner;
237
+ }
238
+
239
+ .input-content.focused ::slotted(input),
240
+ .input-content.focused ::slotted(iron-input),
241
+ .input-content.focused ::slotted(textarea),
242
+ .input-content.focused ::slotted(iron-autogrow-textarea),
243
+ .input-content.focused ::slotted(.paper-input-input) {
244
+ @apply --paper-input-container-input-focus;
245
+ }
246
+
247
+ .input-content.is-invalid ::slotted(input),
248
+ .input-content.is-invalid ::slotted(iron-input),
249
+ .input-content.is-invalid ::slotted(textarea),
250
+ .input-content.is-invalid ::slotted(iron-autogrow-textarea),
251
+ .input-content.is-invalid ::slotted(.paper-input-input) {
252
+ @apply --paper-input-container-input-invalid;
253
+ }
254
+
255
+ .prefix ::slotted(*) {
256
+ display: inline-block;
257
+ @apply --paper-font-subhead;
258
+ @apply --layout-flex-none;
259
+ @apply --paper-input-prefix;
260
+ }
261
+
262
+ .suffix ::slotted(*) {
263
+ display: inline-block;
264
+ @apply --paper-font-subhead;
265
+ @apply --layout-flex-none;
266
+
267
+ @apply --paper-input-suffix;
268
+ }
269
+
270
+ /* Firefox sets a min-width on the input, which can cause layout issues */
271
+ .input-content ::slotted(input) {
272
+ min-width: 0;
273
+ }
274
+
275
+ .input-content ::slotted(textarea) {
276
+ resize: none;
277
+ }
278
+
279
+ .add-on-content {
280
+ position: relative;
281
+ }
282
+
283
+ .add-on-content.is-invalid ::slotted(*) {
284
+ color: var(--paper-input-container-invalid-color, var(--error-color));
285
+ }
286
+
287
+ .add-on-content.is-highlighted ::slotted(*) {
288
+ color: var(--paper-input-container-focus-color, var(--primary-color));
289
+ }
290
+ </style>
291
+
292
+ <div class="floated-label-placeholder" aria-hidden="true" hidden="[[noLabelFloat]]">&nbsp;</div>
293
+
294
+ <div class="input-wrapper">
295
+ <span class="prefix"><slot name="prefix"></slot></span>
296
+
297
+ <div class$="[[_computeInputContentClass(noLabelFloat,alwaysFloatLabel,focused,invalid,_inputHasContent)]]" id="labelAndInputContainer">
298
+ <slot name="label"></slot>
299
+ <slot name="input"></slot>
300
+ </div>
301
+
302
+ <span class="suffix"><slot name="suffix"></slot></span>
303
+ </div>
304
+
305
+ <div class$="[[_computeUnderlineClass(focused,invalid)]]">
306
+ <div class="unfocused-line"></div>
307
+ <div class="focused-line"></div>
308
+ </div>
309
+
310
+ <div class$="[[_computeAddOnContentClass(focused,invalid)]]">
311
+ <slot name="add-on"></slot>
312
+ </div>
313
+ `,is:"paper-input-container",properties:{noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},attrForValue:{type:String,value:"bind-value"},autoValidate:{type:Boolean,value:!1},invalid:{observer:"_invalidChanged",type:Boolean,value:!1},focused:{readOnly:!0,type:Boolean,value:!1,notify:!0},_addons:{type:Array},_inputHasContent:{type:Boolean,value:!1},_inputSelector:{type:String,value:"input,iron-input,textarea,.paper-input-input"},_boundOnFocus:{type:Function,value:function(){return this._onFocus.bind(this)}},_boundOnBlur:{type:Function,value:function(){return this._onBlur.bind(this)}},_boundOnInput:{type:Function,value:function(){return this._onInput.bind(this)}},_boundValueChanged:{type:Function,value:function(){return this._onValueChanged.bind(this)}}},listeners:{"addon-attached":"_onAddonAttached","iron-input-validate":"_onIronInputValidate"},get _valueChangedEvent(){return this.attrForValue+"-changed"},get _propertyForValue(){return(0,s.I)(this.attrForValue)},get _inputElement(){return(0,p.tT)(this).querySelector(this._inputSelector)},get _inputElementValue(){return this._inputElement[this._propertyForValue]||this._inputElement.value},ready:function(){this.__isFirstValueUpdate=!0,this._addons||(this._addons=[]),this.addEventListener("focus",this._boundOnFocus,!0),this.addEventListener("blur",this._boundOnBlur,!0)},attached:function(){this.attrForValue?this._inputElement.addEventListener(this._valueChangedEvent,this._boundValueChanged):this.addEventListener("input",this._onInput),this._inputElementValue&&""!=this._inputElementValue?this._handleValueAndAutoValidate(this._inputElement):this._handleValue(this._inputElement)},_onAddonAttached:function(t){this._addons||(this._addons=[]);var e=t.target;-1===this._addons.indexOf(e)&&(this._addons.push(e),this.isAttached&&this._handleValue(this._inputElement))},_onFocus:function(){this._setFocused(!0)},_onBlur:function(){this._setFocused(!1),this._handleValueAndAutoValidate(this._inputElement)},_onInput:function(t){this._handleValueAndAutoValidate(t.target)},_onValueChanged:function(t){var e=t.target;this.__isFirstValueUpdate&&(this.__isFirstValueUpdate=!1,void 0===e.value||""===e.value)||this._handleValueAndAutoValidate(t.target)},_handleValue:function(t){var e=this._inputElementValue;e||0===e||"number"===t.type&&!t.checkValidity()?this._inputHasContent=!0:this._inputHasContent=!1,this.updateAddons({inputElement:t,value:e,invalid:this.invalid})},_handleValueAndAutoValidate:function(t){var e;this.autoValidate&&t&&(e=t.validate?t.validate(this._inputElementValue):t.checkValidity(),this.invalid=!e);this._handleValue(t)},_onIronInputValidate:function(t){this.invalid=this._inputElement.invalid},_invalidChanged:function(){this._addons&&this.updateAddons({invalid:this.invalid})},updateAddons:function(t){for(var e,n=0;e=this._addons[n];n++)e.update(t)},_computeInputContentClass:function(t,e,n,i,a){var o="input-content";if(t)a&&(o+=" label-is-hidden"),i&&(o+=" is-invalid");else{var l=this.querySelector("label");e||a?(o+=" label-is-floating",this.$.labelAndInputContainer.style.position="static",i?o+=" is-invalid":n&&(o+=" label-is-highlighted")):(l&&(this.$.labelAndInputContainer.style.position="relative"),i&&(o+=" is-invalid"))}return n&&(o+=" focused"),o},_computeUnderlineClass:function(t,e){var n="underline";return e?n+=" is-invalid":t&&(n+=" is-highlighted"),n},_computeAddOnContentClass:function(t,e){var n="add-on-content";return e?n+=" is-invalid":t&&(n+=" is-highlighted"),n}}),(0,i.b)({_template:a.q`
314
+ <style>
315
+ :host {
316
+ display: inline-block;
317
+ visibility: hidden;
318
+
319
+ color: var(--paper-input-container-invalid-color, var(--error-color));
320
+
321
+ @apply --paper-font-caption;
322
+ @apply --paper-input-error;
323
+ position: absolute;
324
+ left:0;
325
+ right:0;
326
+ }
327
+
328
+ :host([invalid]) {
329
+ visibility: visible;
330
+ }
331
+
332
+ #a11yWrapper {
333
+ visibility: hidden;
334
+ }
335
+
336
+ :host([invalid]) #a11yWrapper {
337
+ visibility: visible;
338
+ }
339
+ </style>
340
+
341
+ <!--
342
+ If the paper-input-error element is directly referenced by an
343
+ \`aria-describedby\` attribute, such as when used as a paper-input add-on,
344
+ then applying \`visibility: hidden;\` to the paper-input-error element itself
345
+ does not hide the error.
346
+
347
+ For more information, see:
348
+ https://www.w3.org/TR/accname-1.1/#mapping_additional_nd_description
349
+ -->
350
+ <div id="a11yWrapper">
351
+ <slot></slot>
352
+ </div>
353
+ `,is:"paper-input-error",behaviors:[r],properties:{invalid:{readOnly:!0,reflectToAttribute:!0,type:Boolean}},update:function(t){this._setInvalid(t.invalid)}});var d=n(19911),c=(n(77976),n(35915)),h=n(90703),f=n(71226);const y={NextLabelID:1,NextAddonID:1,NextInputID:1},b={properties:{label:{type:String},value:{notify:!0,type:String},disabled:{type:Boolean,value:!1},invalid:{type:Boolean,value:!1,notify:!0},allowedPattern:{type:String},type:{type:String},list:{type:String},pattern:{type:String},required:{type:Boolean,value:!1},errorMessage:{type:String},charCounter:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},autoValidate:{type:Boolean,value:!1},validator:{type:String},autocomplete:{type:String,value:"off"},autofocus:{type:Boolean,observer:"_autofocusChanged"},inputmode:{type:String},minlength:{type:Number},maxlength:{type:Number},min:{type:String},max:{type:String},step:{type:String},name:{type:String},placeholder:{type:String,value:""},readonly:{type:Boolean,value:!1},size:{type:Number},autocapitalize:{type:String,value:"none"},autocorrect:{type:String,value:"off"},autosave:{type:String},results:{type:Number},accept:{type:String},multiple:{type:Boolean},_ariaDescribedBy:{type:String,value:""},_ariaLabelledBy:{type:String,value:""},_inputId:{type:String,value:""}},listeners:{"addon-attached":"_onAddonAttached"},keyBindings:{"shift+tab:keydown":"_onShiftTabDown"},hostAttributes:{tabindex:0},get inputElement(){return this.$||(this.$={}),this.$.input||(this._generateInputId(),this.$.input=this.$$("#"+this._inputId)),this.$.input},get _focusableElement(){return this.inputElement},created:function(){this._typesThatHaveText=["date","datetime","datetime-local","month","time","week","file"]},attached:function(){this._updateAriaLabelledBy(),!f.Pu&&this.inputElement&&-1!==this._typesThatHaveText.indexOf(this.inputElement.type)&&(this.alwaysFloatLabel=!0)},_appendStringWithSpace:function(t,e){return t=t?t+" "+e:e},_onAddonAttached:function(t){var e=(0,p.tT)(t).rootTarget;if(e.id)this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,e.id);else{var n="paper-input-add-on-"+y.NextAddonID++;e.id=n,this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,n)}},validate:function(){return this.inputElement.validate()},_focusBlurHandler:function(t){h.x._focusBlurHandler.call(this,t),this.focused&&!this._shiftTabPressed&&this._focusableElement&&this._focusableElement.focus()},_onShiftTabDown:function(t){var e=this.getAttribute("tabindex");this._shiftTabPressed=!0,this.setAttribute("tabindex","-1"),this.async(function(){this.setAttribute("tabindex",e),this._shiftTabPressed=!1},1)},_handleAutoValidate:function(){this.autoValidate&&this.validate()},updateValueAndPreserveCaret:function(t){try{var e=this.inputElement.selectionStart;this.value=t,this.inputElement.selectionStart=e,this.inputElement.selectionEnd=e}catch(e){this.value=t}},_computeAlwaysFloatLabel:function(t,e){return e||t},_updateAriaLabelledBy:function(){var t,e=(0,p.tT)(this.root).querySelector("label");e?(e.id?t=e.id:(t="paper-input-label-"+y.NextLabelID++,e.id=t),this._ariaLabelledBy=t):this._ariaLabelledBy=""},_generateInputId:function(){this._inputId&&""!==this._inputId||(this._inputId="input-"+y.NextInputID++)},_onChange:function(t){this.shadowRoot&&this.fire(t.type,{sourceEvent:t},{node:this,bubbles:t.bubbles,cancelable:t.cancelable})},_autofocusChanged:function(){if(this.autofocus&&this._focusableElement){var t=document.activeElement;t instanceof HTMLElement&&t!==document.body&&t!==document.documentElement||this._focusableElement.focus()}}},m=[h.x,c.D,b];(0,i.b)({is:"paper-input",_template:a.q`
354
+ <style>
355
+ :host {
356
+ display: block;
357
+ }
358
+
359
+ :host([focused]) {
360
+ outline: none;
361
+ }
362
+
363
+ :host([hidden]) {
364
+ display: none !important;
365
+ }
366
+
367
+ input {
368
+ /* Firefox sets a min-width on the input, which can cause layout issues */
369
+ min-width: 0;
370
+ }
371
+
372
+ /* In 1.x, the <input> is distributed to paper-input-container, which styles it.
373
+ In 2.x the <iron-input> is distributed to paper-input-container, which styles
374
+ it, but in order for this to work correctly, we need to reset some
375
+ of the native input's properties to inherit (from the iron-input) */
376
+ iron-input > input {
377
+ @apply --paper-input-container-shared-input-style;
378
+ font-family: inherit;
379
+ font-weight: inherit;
380
+ font-size: inherit;
381
+ letter-spacing: inherit;
382
+ word-spacing: inherit;
383
+ line-height: inherit;
384
+ text-shadow: inherit;
385
+ color: inherit;
386
+ cursor: inherit;
387
+ }
388
+
389
+ input:disabled {
390
+ @apply --paper-input-container-input-disabled;
391
+ }
392
+
393
+ input::-webkit-outer-spin-button,
394
+ input::-webkit-inner-spin-button {
395
+ @apply --paper-input-container-input-webkit-spinner;
396
+ }
397
+
398
+ input::-webkit-clear-button {
399
+ @apply --paper-input-container-input-webkit-clear;
400
+ }
401
+
402
+ input::-webkit-calendar-picker-indicator {
403
+ @apply --paper-input-container-input-webkit-calendar-picker-indicator;
404
+ }
405
+
406
+ input::-webkit-input-placeholder {
407
+ color: var(--paper-input-container-color, var(--secondary-text-color));
408
+ }
409
+
410
+ input:-moz-placeholder {
411
+ color: var(--paper-input-container-color, var(--secondary-text-color));
412
+ }
413
+
414
+ input::-moz-placeholder {
415
+ color: var(--paper-input-container-color, var(--secondary-text-color));
416
+ }
417
+
418
+ input::-ms-clear {
419
+ @apply --paper-input-container-ms-clear;
420
+ }
421
+
422
+ input::-ms-reveal {
423
+ @apply --paper-input-container-ms-reveal;
424
+ }
425
+
426
+ input:-ms-input-placeholder {
427
+ color: var(--paper-input-container-color, var(--secondary-text-color));
428
+ }
429
+
430
+ label {
431
+ pointer-events: none;
432
+ }
433
+ </style>
434
+
435
+ <paper-input-container id="container" no-label-float="[[noLabelFloat]]" always-float-label="[[_computeAlwaysFloatLabel(alwaysFloatLabel,placeholder)]]" auto-validate$="[[autoValidate]]" disabled$="[[disabled]]" invalid="[[invalid]]">
436
+
437
+ <slot name="prefix" slot="prefix"></slot>
438
+
439
+ <label hidden$="[[!label]]" aria-hidden="true" for$="[[_inputId]]" slot="label">[[label]]</label>
440
+
441
+ <!-- Need to bind maxlength so that the paper-input-char-counter works correctly -->
442
+ <iron-input bind-value="{{value}}" slot="input" class="input-element" id$="[[_inputId]]" maxlength$="[[maxlength]]" allowed-pattern="[[allowedPattern]]" invalid="{{invalid}}" validator="[[validator]]">
443
+ <input aria-labelledby$="[[_ariaLabelledBy]]" aria-describedby$="[[_ariaDescribedBy]]" disabled$="[[disabled]]" title$="[[title]]" type$="[[type]]" pattern$="[[pattern]]" required$="[[required]]" autocomplete$="[[autocomplete]]" autofocus$="[[autofocus]]" inputmode$="[[inputmode]]" minlength$="[[minlength]]" maxlength$="[[maxlength]]" min$="[[min]]" max$="[[max]]" step$="[[step]]" name$="[[name]]" placeholder$="[[placeholder]]" readonly$="[[readonly]]" list$="[[list]]" size$="[[size]]" autocapitalize$="[[autocapitalize]]" autocorrect$="[[autocorrect]]" on-change="_onChange" tabindex$="[[tabIndex]]" autosave$="[[autosave]]" results$="[[results]]" accept$="[[accept]]" multiple$="[[multiple]]" role$="[[inputRole]]" aria-haspopup$="[[inputAriaHaspopup]]">
444
+ </iron-input>
445
+
446
+ <slot name="suffix" slot="suffix"></slot>
447
+
448
+ <template is="dom-if" if="[[errorMessage]]">
449
+ <paper-input-error aria-live="assertive" slot="add-on">[[errorMessage]]</paper-input-error>
450
+ </template>
451
+
452
+ <template is="dom-if" if="[[charCounter]]">
453
+ <paper-input-char-counter slot="add-on"></paper-input-char-counter>
454
+ </template>
455
+
456
+ </paper-input-container>
457
+ `,behaviors:[m,d.x],properties:{value:{type:String},inputRole:{type:String,value:void 0},inputAriaHaspopup:{type:String,value:void 0}},get _focusableElement(){return this.inputElement._inputElement},listeners:{"iron-input-ready":"_onIronInputReady"},_onIronInputReady:function(){this.$.nativeInput||(this.$.nativeInput=this.$$("input")),this.inputElement&&-1!==this._typesThatHaveText.indexOf(this.$.nativeInput.type)&&(this.alwaysFloatLabel=!0),this.inputElement.bindValue&&this.$.container._handleValueAndAutoValidate(this.inputElement)}})},66564(t,e,n){n(69130);if(!window.polymerSkipLoadingFontRoboto){const t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.crossOrigin="anonymous",t.href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700|Roboto:400,300,300italic,400italic,500,500italic,700,700italic",document.head.appendChild(t)}const i=n(47351).q`<custom-style>
458
+ <style is="custom-style">
459
+ html {
460
+
461
+ /* Shared Styles */
462
+ --paper-font-common-base: {
463
+ font-family: 'Roboto', 'Noto', sans-serif;
464
+ -webkit-font-smoothing: antialiased;
465
+ };
466
+
467
+ --paper-font-common-code: {
468
+ font-family: 'Roboto Mono', 'Consolas', 'Menlo', monospace;
469
+ -webkit-font-smoothing: antialiased;
470
+ };
471
+
472
+ --paper-font-common-expensive-kerning: {
473
+ text-rendering: optimizeLegibility;
474
+ };
475
+
476
+ --paper-font-common-nowrap: {
477
+ white-space: nowrap;
478
+ overflow: hidden;
479
+ text-overflow: ellipsis;
480
+ };
481
+
482
+ /* Material Font Styles */
483
+
484
+ --paper-font-display4: {
485
+ @apply --paper-font-common-base;
486
+ @apply --paper-font-common-nowrap;
487
+
488
+ font-size: 112px;
489
+ font-weight: 300;
490
+ letter-spacing: -.044em;
491
+ line-height: 120px;
492
+ };
493
+
494
+ --paper-font-display3: {
495
+ @apply --paper-font-common-base;
496
+ @apply --paper-font-common-nowrap;
497
+
498
+ font-size: 56px;
499
+ font-weight: 400;
500
+ letter-spacing: -.026em;
501
+ line-height: 60px;
502
+ };
503
+
504
+ --paper-font-display2: {
505
+ @apply --paper-font-common-base;
506
+
507
+ font-size: 45px;
508
+ font-weight: 400;
509
+ letter-spacing: -.018em;
510
+ line-height: 48px;
511
+ };
512
+
513
+ --paper-font-display1: {
514
+ @apply --paper-font-common-base;
515
+
516
+ font-size: 34px;
517
+ font-weight: 400;
518
+ letter-spacing: -.01em;
519
+ line-height: 40px;
520
+ };
521
+
522
+ --paper-font-headline: {
523
+ @apply --paper-font-common-base;
524
+
525
+ font-size: 24px;
526
+ font-weight: 400;
527
+ letter-spacing: -.012em;
528
+ line-height: 32px;
529
+ };
530
+
531
+ --paper-font-title: {
532
+ @apply --paper-font-common-base;
533
+ @apply --paper-font-common-nowrap;
534
+
535
+ font-size: 20px;
536
+ font-weight: 500;
537
+ line-height: 28px;
538
+ };
539
+
540
+ --paper-font-subhead: {
541
+ @apply --paper-font-common-base;
542
+
543
+ font-size: 16px;
544
+ font-weight: 400;
545
+ line-height: 24px;
546
+ };
547
+
548
+ --paper-font-body2: {
549
+ @apply --paper-font-common-base;
550
+
551
+ font-size: 14px;
552
+ font-weight: 500;
553
+ line-height: 24px;
554
+ };
555
+
556
+ --paper-font-body1: {
557
+ @apply --paper-font-common-base;
558
+
559
+ font-size: 14px;
560
+ font-weight: 400;
561
+ line-height: 20px;
562
+ };
563
+
564
+ --paper-font-caption: {
565
+ @apply --paper-font-common-base;
566
+ @apply --paper-font-common-nowrap;
567
+
568
+ font-size: 12px;
569
+ font-weight: 400;
570
+ letter-spacing: 0.011em;
571
+ line-height: 20px;
572
+ };
573
+
574
+ --paper-font-menu: {
575
+ @apply --paper-font-common-base;
576
+ @apply --paper-font-common-nowrap;
577
+
578
+ font-size: 13px;
579
+ font-weight: 500;
580
+ line-height: 24px;
581
+ };
582
+
583
+ --paper-font-button: {
584
+ @apply --paper-font-common-base;
585
+ @apply --paper-font-common-nowrap;
586
+
587
+ font-size: 14px;
588
+ font-weight: 500;
589
+ letter-spacing: 0.018em;
590
+ line-height: 24px;
591
+ text-transform: uppercase;
592
+ };
593
+
594
+ --paper-font-code2: {
595
+ @apply --paper-font-common-code;
596
+
597
+ font-size: 14px;
598
+ font-weight: 700;
599
+ line-height: 20px;
600
+ };
601
+
602
+ --paper-font-code1: {
603
+ @apply --paper-font-common-code;
604
+
605
+ font-size: 14px;
606
+ font-weight: 500;
607
+ line-height: 20px;
608
+ };
609
+
610
+ }
611
+
612
+ </style>
613
+ </custom-style>`;i.setAttribute("style","display: none;"),document.head.appendChild(i.content)}}]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ @license
3
+ Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4
+ This code may only be used under the BSD style license found at
5
+ http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
6
+ http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
7
+ found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as
8
+ part of the polymer project is also subject to an additional IP rights grant
9
+ found at http://polymer.github.io/PATENTS.txt
10
+ */
Binary file
@@ -1,4 +1,4 @@
1
- "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9162],{59162(t,e,h){h.r(e),h.d(e,{DesignIcon:()=>s});var i=h(59929);class s extends i.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return i.qy`<svg
1
+ "use strict";(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[9162],{59162(t,e,i){i.r(e),i.d(e,{DesignIcon:()=>r});var h=i(59929);class r extends h.WF{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return h.qy`<svg
2
2
  xmlns="http://www.w3.org/2000/svg"
3
3
  viewBox="0 0 24 24"
4
4
  width="24"
@@ -7,9 +7,10 @@
7
7
  >
8
8
  <path fill="none" d="M0 0h24v24H0z" />
9
9
  <path
10
+ fill="currentColor"
10
11
  d="M5 8v12h4V8H5zM3 7l4-5 4 5v15H3V7zm16 9v-2h-3v-2h3v-2h-2V8h2V6h-4v14h4v-2h-2v-2h2zM14 4h6a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z"
11
12
  />
12
- </svg>`}}s.styles=i.AH`
13
+ </svg>`}}r.styles=h.AH`
13
14
  :host {
14
15
  display: inherit;
15
16
  --cdtr-icon-width: 20px;
@@ -20,4 +21,4 @@
20
21
  height: var(--cdtr-icon-height);
21
22
  color: var(--cdtr-icon-color);
22
23
  }
23
- `,s.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-design-icon",s)}}]);
24
+ `,r.properties={iconStyle:{type:String},width:{type:String},height:{type:String}},customElements.define("cdtr-design-icon",r)}}]);
Binary file