@indfnd/common-mobile-pro 1.0.74 → 1.0.75

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.
@@ -1,29 +1,3 @@
1
- /*!
2
- * Compressor.js v1.2.1
3
- * https://fengyuanchen.github.io/compressorjs
4
- *
5
- * Copyright 2018-present Chen Fengyuan
6
- * Released under the MIT license
7
- *
8
- * Date: 2023-02-28T14:09:41.732Z
9
- */
10
-
11
- /*!
12
- * css-vars-ponyfill
13
- * v2.4.9
14
- * https://jhildenbiddle.github.io/css-vars-ponyfill/
15
- * (c) 2018-2024 John Hildenbiddle <http://hildenbiddle.com>
16
- * MIT license
17
- */
18
-
19
- /*!
20
- * get-css-data
21
- * v2.1.0
22
- * https://github.com/jhildenbiddle/get-css-data
23
- * (c) 2018-2022 John Hildenbiddle <http://hildenbiddle.com>
24
- * MIT license
25
- */
26
-
27
1
  /*!
28
2
  * ZRender, a high performance 2d drawing library.
29
3
  *
@@ -49,172 +23,6 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
49
23
  PERFORMANCE OF THIS SOFTWARE.
50
24
  ***************************************************************************** */
51
25
 
52
- /**
53
- * @license
54
- * Lodash <https://lodash.com/>
55
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
56
- * Released under MIT license <https://lodash.com/license>
57
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
58
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
59
- */
60
-
61
- /**
62
- * Fetches, parses, and transforms CSS custom properties from specified
63
- * <style> and <link> elements into static values, then appends a new <style>
64
- * element with static values to the DOM to provide CSS custom property
65
- * compatibility for legacy browsers. Also provides a single interface for
66
- * live updates of runtime values in both modern and legacy browsers.
67
- *
68
- * @preserve
69
- * @param {object} [options] Options object
70
- * @param {object} [options.rootElement=document] Root element to traverse for
71
- * <link> and <style> nodes
72
- * @param {boolean} [options.shadowDOM=false] Determines if shadow DOM <link>
73
- * and <style> nodes will be processed.
74
- * @param {string} [options.include="style,link[rel=stylesheet]"] CSS selector
75
- * matching <link re="stylesheet"> and <style> nodes to
76
- * process
77
- * @param {string} [options.exclude] CSS selector matching <link
78
- * rel="stylehseet"> and <style> nodes to exclude from those
79
- * matches by options.include
80
- * @param {object} [options.variables] A map of custom property name/value
81
- * pairs. Property names can omit or include the leading
82
- * double-hyphen (—), and values specified will override
83
- * previous values
84
- * @param {boolean} [options.onlyLegacy=true] Determines if the ponyfill will
85
- * only generate legacy-compatible CSS in browsers that lack
86
- * native support (i.e., legacy browsers)
87
- * @param {boolean} [options.preserveStatic=true] Determines if CSS
88
- * declarations that do not reference a custom property will
89
- * be preserved in the transformed CSS
90
- * @param {boolean} [options.preserveVars=false] Determines if CSS custom
91
- * property declarations will be preserved in the transformed
92
- * CSS
93
- * @param {boolean} [options.silent=false] Determines if warning and error
94
- * messages will be displayed on the console
95
- * @param {boolean} [options.updateDOM=true] Determines if the ponyfill will
96
- * update the DOM after processing CSS custom properties
97
- * @param {boolean} [options.updateURLs=true] Determines if relative url()
98
- * paths will be converted to absolute urls in external CSS
99
- * @param {boolean} [options.watch=false] Determines if a MutationObserver will
100
- * be created that will execute the ponyfill when a <link> or
101
- * <style> DOM mutation is observed
102
- * @param {function} [options.onBeforeSend] Callback before XHR is sent. Passes
103
- * 1) the XHR object, 2) source node reference, and 3) the
104
- * source URL as arguments
105
- * @param {function} [options.onError] Callback after a CSS parsing error has
106
- * occurred or an XHR request has failed. Passes 1) an error
107
- * message, and 2) source node reference, 3) xhr, and 4 url as
108
- * arguments.
109
- * @param {function} [options.onWarning] Callback after each CSS parsing warning
110
- * has occurred. Passes 1) a warning message as an argument.
111
- * @param {function} [options.onSuccess] Callback after CSS data has been
112
- * collected from each node and before CSS custom properties
113
- * have been transformed. Allows modifying the CSS data before
114
- * it is transformed by returning any string value (or false
115
- * to skip). Passes 1) CSS text, 2) source node reference, and
116
- * 3) the source URL as arguments.
117
- * @param {function} [options.onComplete] Callback after all CSS has been
118
- * processed, legacy-compatible CSS has been generated, and
119
- * (optionally) the DOM has been updated. Passes 1) a CSS
120
- * string with CSS variable values resolved, 2) an array of
121
- * output <style> node references that have been appended to
122
- * the DOM, 3) an object containing all custom properies names
123
- * and values, and 4) the ponyfill execution time in
124
- * milliseconds.
125
- * @param {function} [options.onFinally] Callback in modern and legacy browsers
126
- * after the ponyfill has finished all tasks. Passes 1) a
127
- * boolean indicating if the last ponyfill call resulted in a
128
- * style change, 2) a boolean indicating if the current
129
- * browser provides native support for CSS custom properties,
130
- * and 3) the ponyfill execution time in milliseconds.
131
- * @example
132
- *
133
- * cssVars({
134
- * rootElement : document,
135
- * shadowDOM : false,
136
- * include : 'style,link[rel="stylesheet"]',
137
- * exclude : '',
138
- * variables : {},
139
- * onlyLegacy : true,
140
- * preserveStatic: true,
141
- * preserveVars : false,
142
- * silent : false,
143
- * updateDOM : true,
144
- * updateURLs : true,
145
- * watch : false,
146
- * onBeforeSend(xhr, node, url) {},
147
- * onError(message, node, xhr, url) {},
148
- * onWarning(message) {},
149
- * onSuccess(cssText, node, url) {},
150
- * onComplete(cssText, styleNode, cssVariables, benchmark) {},
151
- * onFinally(hasChanged, hasNativeSupport, benchmark)
152
- * });
153
- */
154
-
155
- /**
156
- * Gets CSS data from <style> and <link> nodes (including @imports), then
157
- * returns data in order processed by DOM. Allows specifying nodes to
158
- * include/exclude and filtering CSS data using RegEx.
159
- *
160
- * @preserve
161
- * @param {object} [options] The options object
162
- * @param {object} [options.rootElement=document] Root element to traverse for
163
- * <link> and <style> nodes.
164
- * @param {string} [options.include] CSS selector matching <link> and <style>
165
- * nodes to include
166
- * @param {string} [options.exclude] CSS selector matching <link> and <style>
167
- * nodes to exclude
168
- * @param {object} [options.filter] Regular expression used to filter node CSS
169
- * data. Each block of CSS data is tested against the filter,
170
- * and only matching data is included.
171
- * @param {boolean} [options.skipDisabled=true] Determines if disabled
172
- * stylesheets will be skipped while collecting CSS data.
173
- * @param {boolean} [options.useCSSOM=false] Determines if CSS data will be
174
- * collected from a stylesheet's runtime values instead of its
175
- * text content. This is required to get accurate CSS data
176
- * when a stylesheet has been modified using the deleteRule()
177
- * or insertRule() methods because these modifications will
178
- * not be reflected in the stylesheet's text content.
179
- * @param {function} [options.onBeforeSend] Callback before XHR is sent. Passes
180
- * 1) the XHR object, 2) source node reference, and 3) the
181
- * source URL as arguments.
182
- * @param {function} [options.onSuccess] Callback on each CSS node read. Passes
183
- * 1) CSS text, 2) source node reference, and 3) the source
184
- * URL as arguments.
185
- * @param {function} [options.onError] Callback on each error. Passes 1) the XHR
186
- * object for inspection, 2) soure node reference, and 3) the
187
- * source URL that failed (either a <link> href or an @import)
188
- * as arguments
189
- * @param {function} [options.onComplete] Callback after all nodes have been
190
- * processed. Passes 1) concatenated CSS text, 2) an array of
191
- * CSS text in DOM order, and 3) an array of nodes in DOM
192
- * order as arguments.
193
- *
194
- * @example
195
- *
196
- * getCssData({
197
- * rootElement : document,
198
- * include : 'style,link[rel="stylesheet"]',
199
- * exclude : '[href="skip.css"]',
200
- * filter : /red/,
201
- * skipDisabled: true,
202
- * useCSSOM : false,
203
- * onBeforeSend(xhr, node, url) {
204
- * // ...
205
- * }
206
- * onSuccess(cssText, node, url) {
207
- * // ...
208
- * }
209
- * onError(xhr, node, url) {
210
- * // ...
211
- * },
212
- * onComplete(cssText, cssArray, nodeArray) {
213
- * // ...
214
- * }
215
- * });
216
- */
217
-
218
26
  //! Burak Yiğit Kaya: https://github.com/BYK
219
27
 
220
28
  //! Sigurd Gartmann : https://github.com/sigurdga