You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hai-oil-web/.angular/cache/17.0.7/vite/deps/chunk-D5ODNR6D.js.map

8 lines
32 KiB

7 months ago
{
"version": 3,
"sources": ["../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-core-polyfill.mjs", "../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-core-services.mjs"],
"sourcesContent": ["/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n/* eslint-disable no-invalid-this */\nconst availablePrefixes = ['moz', 'ms', 'webkit'];\nfunction requestAnimationFramePolyfill() {\n let lastTime = 0;\n return function (callback) {\n const currTime = new Date().getTime();\n const timeToCall = Math.max(0, 16 - (currTime - lastTime));\n const id = setTimeout(() => {\n callback(currTime + timeToCall);\n }, timeToCall);\n lastTime = currTime + timeToCall;\n return id;\n };\n}\nfunction getRequestAnimationFrame() {\n if (typeof window === 'undefined') {\n return () => 0;\n }\n if (window.requestAnimationFrame) {\n // https://github.com/vuejs/vue/issues/4465\n return window.requestAnimationFrame.bind(window);\n }\n const prefix = availablePrefixes.filter(key => `${key}RequestAnimationFrame` in window)[0];\n return prefix ? window[`${prefix}RequestAnimationFrame`] : requestAnimationFramePolyfill();\n}\nfunction cancelRequestAnimationFrame(id) {\n if (typeof window === 'undefined') {\n return null;\n }\n if (window.cancelAnimationFrame) {\n return window.cancelAnimationFrame(id);\n }\n const prefix = availablePrefixes.filter(key => `${key}CancelAnimationFrame` in window || `${key}CancelRequestAnimationFrame` in window)[0];\n return prefix\n ? (window[`${prefix}CancelAnimationFrame`] ||\n window[`${prefix}CancelRequestAnimationFrame`])\n // @ts-ignore\n .call(this, id)\n : clearTimeout(id);\n}\nconst reqAnimFrame = getRequestAnimationFrame();\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { cancelRequestAnimationFrame, reqAnimFrame };\n\n", "import * as i0 from '@angular/core';\nimport { Injectable, Inject } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { auditTime, finalize, map, filter, takeUntil, startWith, distinctUntilChanged } from 'rxjs/operators';\nimport { environment } from 'ng-zorro-antd/core/environments';\nimport { getEventPosition, isTouchEvent } from 'ng-zorro-antd/core/util';\nimport { DOCUMENT } from '@angular/common';\nimport { reqAnimFrame } from 'ng-zorro-antd/core/polyfill';\nimport * as i2 from '@angular/cdk/layout';\nimport * as i1 from '@angular/cdk/platform';\n\n/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\nconst NOOP = () => {};\nclass NzResizeService {\n constructor(ngZone, rendererFactory2) {\n this.ngZone = ngZone;\n this.rendererFactory2 = rendererFactory2;\n this.resizeSource$ = new Subject();\n this.listeners = 0;\n this.disposeHandle = NOOP;\n this.handler = () => {\n this.ngZone.run(() => {\n this.resizeSource$.next();\n });\n };\n this.renderer = this.rendererFactory2.createRenderer(null, null);\n }\n ngOnDestroy() {\n // Caretaker note: the `handler` is an instance property (it's not defined on the class prototype).\n // The `handler` captures `this` and prevents the `NzResizeService` from being GC'd.\n this.handler = NOOP;\n }\n subscribe() {\n this.registerListener();\n return this.resizeSource$.pipe(auditTime(16), finalize(() => this.unregisterListener()));\n }\n unsubscribe() {\n this.unregisterListener();\n }\n registerListener() {\n if (this.listeners === 0) {\n this.ngZone.runOutsideAngular(() => {\n this.disposeHandle = this.renderer.listen('window', 'resize', this.handler);\n });\n }\n this.listeners += 1;\n }\n unregisterListener() {\n this.listeners -= 1;\n if (this.listeners === 0) {\n this.disposeHandle
7 months ago
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,IAAM,oBAAoB,CAAC,OAAO,MAAM,QAAQ;AAChD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