@wizishop/img-manager-webelement 0.0.98 → 1.0.2

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,28 +1,3 @@
1
- @angular-devkit/build-angular
2
- MIT
3
- The MIT License
4
-
5
- Copyright (c) 2017 Google, Inc.
6
-
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
24
-
25
-
26
1
  @angular/animations
27
2
  MIT
28
3
 
@@ -57,6 +32,9 @@ MIT
57
32
  @angular/core
58
33
  MIT
59
34
 
35
+ @angular/elements
36
+ MIT
37
+
60
38
  @angular/forms
61
39
  MIT
62
40
 
@@ -309,29 +287,6 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
309
287
  OTHER DEALINGS IN THE SOFTWARE.
310
288
 
311
289
 
312
- core-js
313
- MIT
314
- Copyright (c) 2014-2020 Denis Pushkarev
315
-
316
- Permission is hereby granted, free of charge, to any person obtaining a copy
317
- of this software and associated documentation files (the "Software"), to deal
318
- in the Software without restriction, including without limitation the rights
319
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
320
- copies of the Software, and to permit persons to whom the Software is
321
- furnished to do so, subject to the following conditions:
322
-
323
- The above copyright notice and this permission notice shall be included in
324
- all copies or substantial portions of the Software.
325
-
326
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
327
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
328
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
329
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
330
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
331
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
332
- THE SOFTWARE.
333
-
334
-
335
290
  css-loader
336
291
  MIT
337
292
  Copyright JS Foundation and other contributors
@@ -356,6 +311,25 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
356
311
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
357
312
 
358
313
 
314
+ document-register-element
315
+ ISC
316
+ ISC License
317
+
318
+ Copyright (c) 2014-2018, Andrea Giammarchi, @WebReflection
319
+
320
+ Permission to use, copy, modify, and/or distribute this software for any
321
+ purpose with or without fee is hereby granted, provided that the above
322
+ copyright notice and this permission notice appear in all copies.
323
+
324
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
325
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
326
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
327
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
328
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
329
+ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
330
+ PERFORMANCE OF THIS SOFTWARE.
331
+
332
+
359
333
  ngx-image-cropper
360
334
  MIT
361
335
  MIT License
@@ -410,31 +384,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
410
384
  SOFTWARE.
411
385
 
412
386
 
413
- regenerator-runtime
414
- MIT
415
- MIT License
416
-
417
- Copyright (c) 2014-present, Facebook, Inc.
418
-
419
- Permission is hereby granted, free of charge, to any person obtaining a copy
420
- of this software and associated documentation files (the "Software"), to deal
421
- in the Software without restriction, including without limitation the rights
422
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
423
- copies of the Software, and to permit persons to whom the Software is
424
- furnished to do so, subject to the following conditions:
425
-
426
- The above copyright notice and this permission notice shall be included in all
427
- copies or substantial portions of the Software.
428
-
429
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
430
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
431
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
432
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
433
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
434
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
435
- SOFTWARE.
436
-
437
-
438
387
  resize-observer-polyfill
439
388
  MIT
440
389
  The MIT License (MIT)
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"HR/i":function(e,t,n){"use strict";n.r(t),n.d(t,"ResizeObserver",(function(){return L})),n.d(t,"ResizeObserverEntry",(function(){return T}));var r,i=[],o="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var s,a=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Object.freeze(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),c=function(e){return e instanceof SVGElement&&"getBBox"in e},u=function(e){if(c(e)){var t=e.getBBox();return!t.width&&!t.height}return!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},h=function(e){var t,n,r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},d="undefined"!=typeof window?window:{},f=new WeakMap,v=/auto|scroll/,p=/^tb|vertical/,l=/msie|trident/i.test(d.navigator&&d.navigator.userAgent),g=function(e){return parseFloat(e||"0")},b=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),Object.freeze({inlineSize:(n?t:e)||0,blockSize:(n?e:t)||0})},w=Object.freeze({devicePixelContentBoxSize:b(),borderBoxSize:b(),contentBoxSize:b(),contentRect:new a(0,0,0,0)}),E=function(e,t){if(void 0===t&&(t=!1),f.has(e)&&!t)return f.get(e);if(u(e))return f.set(e,w),w;var n=getComputedStyle(e),r=c(e)&&e.ownerSVGElement&&e.getBBox(),i=!l&&"border-box"===n.boxSizing,o=p.test(n.writingMode||""),s=!r&&v.test(n.overflowY||""),h=!r&&v.test(n.overflowX||""),d=r?0:g(n.paddingTop),E=r?0:g(n.paddingRight),x=r?0:g(n.paddingBottom),T=r?0:g(n.paddingLeft),z=r?0:g(n.borderTopWidth),m=r?0:g(n.borderRightWidth),y=r?0:g(n.borderBottomWidth),B=T+E,S=d+x,O=(r?0:g(n.borderLeftWidth))+m,R=z+y,k=h?e.offsetHeight-R-e.clientHeight:0,C=s?e.offsetWidth-O-e.clientWidth:0,N=i?B+O:0,D=i?S+R:0,M=r?r.width:g(n.width)-N-C,P=r?r.height:g(n.height)-D-k,_=M+B+C+O,F=P+S+k+R,I=Object.freeze({devicePixelContentBoxSize:b(Math.round(M*devicePixelRatio),Math.round(P*devicePixelRatio),o),borderBoxSize:b(_,F,o),contentBoxSize:b(M,P,o),contentRect:new a(T,d,M,P)});return f.set(e,I),I},x=function(e,t,n){var i=E(e,n),o=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return o;default:return s}},T=function(e){var t=E(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=[t.borderBoxSize],this.contentBoxSize=[t.contentBoxSize],this.devicePixelContentBoxSize=[t.devicePixelContentBoxSize]},z=function(e){if(u(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},m=function(){var e=1/0,t=[];i.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new T(t.target),i=z(t.target);r.push(n),t.lastReportedSize=x(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++)(0,r[n])();return e},y=function(e){i.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(z(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},B=[],S=0,O={attributes:!0,characterData:!0,childList:!0,subtree:!0},R=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],k=function(e){return void 0===e&&(e=0),Date.now()+e},C=!1,N=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!C){C=!0;var n,r=k(e);n=function(){var n=!1;try{n=function(){var e,t=0;for(y(t);i.some((function(e){return e.activeTargets.length>0}));)t=m(),y(t);return i.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:o}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=o),window.dispatchEvent(e)),t>0}()}finally{if(C=!1,e=r-k(),!S)return;n?t.run(1e3):e>0?t.run(e):t.start()}},function(e){if(!s){var t=0,r=document.createTextNode("");new MutationObserver((function(){return B.splice(0).forEach((function(e){return e()}))})).observe(r,{characterData:!0}),s=function(){r.textContent=""+(t?t--:t++)}}B.push((function(){requestAnimationFrame(n)})),s()}()}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,O)};document.body?t():d.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),R.forEach((function(t){return d.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),R.forEach((function(t){return d.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),D=function(e){!S&&e>0&&N.start(),!(S+=e)&&N.stop()},M=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=x(this.target,this.observedBox,!0);return c(e=this.target)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),P=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},_=new WeakMap,F=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},I=function(){function e(){}return e.connect=function(e,t){var n=new P(e,t);_.set(e,n)},e.observe=function(e,t,n){var r=_.get(e),o=0===r.observationTargets.length;F(r.observationTargets,t)<0&&(o&&i.push(r),r.observationTargets.push(new M(t,n&&n.box)),D(1),N.schedule())},e.unobserve=function(e,t){var n=_.get(e),r=F(n.observationTargets,t);r>=0&&(1===n.observationTargets.length&&i.splice(i.indexOf(n),1),n.observationTargets.splice(r,1),D(-1))},e.disconnect=function(e){var t=this,n=_.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),L=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");I.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");I.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");I.unobserve(this,e)},e.prototype.disconnect=function(){I.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()}}]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"HR/i":function(e,t,n){"use strict";n.r(t),n.d(t,"ResizeObserver",(function(){return L})),n.d(t,"ResizeObserverEntry",(function(){return T}));var r,i=[],o="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var s,a=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Object.freeze(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),c=function(e){return e instanceof SVGElement&&"getBBox"in e},u=function(e){if(c(e)){var t=e.getBBox();return!t.width&&!t.height}return!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},h=function(e){var t,n,r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},d="undefined"!=typeof window?window:{},f=new WeakMap,v=/auto|scroll/,p=/^tb|vertical/,l=/msie|trident/i.test(d.navigator&&d.navigator.userAgent),g=function(e){return parseFloat(e||"0")},b=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),Object.freeze({inlineSize:(n?t:e)||0,blockSize:(n?e:t)||0})},w=Object.freeze({devicePixelContentBoxSize:b(),borderBoxSize:b(),contentBoxSize:b(),contentRect:new a(0,0,0,0)}),E=function(e,t){if(void 0===t&&(t=!1),f.has(e)&&!t)return f.get(e);if(u(e))return f.set(e,w),w;var n=getComputedStyle(e),r=c(e)&&e.ownerSVGElement&&e.getBBox(),i=!l&&"border-box"===n.boxSizing,o=p.test(n.writingMode||""),s=!r&&v.test(n.overflowY||""),h=!r&&v.test(n.overflowX||""),d=r?0:g(n.paddingTop),E=r?0:g(n.paddingRight),x=r?0:g(n.paddingBottom),T=r?0:g(n.paddingLeft),z=r?0:g(n.borderTopWidth),m=r?0:g(n.borderRightWidth),y=r?0:g(n.borderBottomWidth),B=T+E,S=d+x,O=(r?0:g(n.borderLeftWidth))+m,R=z+y,k=h?e.offsetHeight-R-e.clientHeight:0,C=s?e.offsetWidth-O-e.clientWidth:0,N=i?B+O:0,D=i?S+R:0,M=r?r.width:g(n.width)-N-C,P=r?r.height:g(n.height)-D-k,_=M+B+C+O,F=P+S+k+R,I=Object.freeze({devicePixelContentBoxSize:b(Math.round(M*devicePixelRatio),Math.round(P*devicePixelRatio),o),borderBoxSize:b(_,F,o),contentBoxSize:b(M,P,o),contentRect:new a(T,d,M,P)});return f.set(e,I),I},x=function(e,t,n){var i=E(e,n),o=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return o;default:return s}},T=function(e){var t=E(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=[t.borderBoxSize],this.contentBoxSize=[t.contentBoxSize],this.devicePixelContentBoxSize=[t.devicePixelContentBoxSize]},z=function(e){if(u(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},m=function(){var e=1/0,t=[];i.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new T(t.target),i=z(t.target);r.push(n),t.lastReportedSize=x(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++)(0,r[n])();return e},y=function(e){i.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(z(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},B=[],S=0,O={attributes:!0,characterData:!0,childList:!0,subtree:!0},R=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],k=function(e){return void 0===e&&(e=0),Date.now()+e},C=!1,N=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!C){C=!0;var n,r=k(e);n=function(){var n=!1;try{n=function(){var e,t=0;for(y(t);i.some((function(e){return e.activeTargets.length>0}));)t=m(),y(t);return i.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:o}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=o),window.dispatchEvent(e)),t>0}()}finally{if(C=!1,e=r-k(),!S)return;n?t.run(1e3):e>0?t.run(e):t.start()}},function(e){if(!s){var t=0,r=document.createTextNode("");new MutationObserver((function(){return B.splice(0).forEach((function(e){return e()}))})).observe(r,{characterData:!0}),s=function(){r.textContent=""+(t?t--:t++)}}B.push((function(){requestAnimationFrame(n)})),s()}()}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,O)};document.body?t():d.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),R.forEach((function(t){return d.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),R.forEach((function(t){return d.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),D=function(e){!S&&e>0&&N.start(),!(S+=e)&&N.stop()},M=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=x(this.target,this.observedBox,!0);return c(e=this.target)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),P=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},_=new WeakMap,F=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},I=function(){function e(){}return e.connect=function(e,t){var n=new P(e,t);_.set(e,n)},e.observe=function(e,t,n){var r=_.get(e),o=0===r.observationTargets.length;F(r.observationTargets,t)<0&&(o&&i.push(r),r.observationTargets.push(new M(t,n&&n.box)),D(1),N.schedule())},e.unobserve=function(e,t){var n=_.get(e),r=F(n.observationTargets,t);r>=0&&(1===n.observationTargets.length&&i.splice(i.indexOf(n),1),n.observationTargets.splice(r,1),D(-1))},e.disconnect=function(e){var t=this,n=_.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),L=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");I.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");I.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");I.unobserve(this,e)},e.prototype.disconnect=function(){I.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()}}]);