⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
invoice
/
node_modules
/
vue-resize
/
dist
/
View File Name :
vue-resize.min.js.map
{"version":3,"file":"vue-resize.min.js","sources":["../src/components/ResizeObserver.vue","../src/utils/compatibility.js","../src/index.js"],"sourcesContent":["<template>\n <div\n class=\"resize-observer\"\n tabindex=\"-1\"\n />\n</template>\n\n<script>\nimport { getInternetExplorerVersion } from '../utils/compatibility'\n\nlet isIE\n\nfunction initCompat () {\n if (!initCompat.init) {\n initCompat.init = true\n isIE = getInternetExplorerVersion() !== -1\n }\n}\n\nexport default {\n name: 'ResizeObserver',\n\n props: {\n emitOnMount: {\n type: Boolean,\n default: false,\n },\n\n ignoreWidth: {\n type: Boolean,\n default: false,\n },\n\n ignoreHeight: {\n type: Boolean,\n default: false,\n },\n },\n\n mounted () {\n initCompat()\n this.$nextTick(() => {\n this._w = this.$el.offsetWidth\n this._h = this.$el.offsetHeight\n if (this.emitOnMount) {\n this.emitSize()\n }\n })\n const object = document.createElement('object')\n this._resizeObject = object\n object.setAttribute('aria-hidden', 'true')\n object.setAttribute('tabindex', -1)\n object.onload = this.addResizeHandlers\n object.type = 'text/html'\n if (isIE) {\n this.$el.appendChild(object)\n }\n object.data = 'about:blank'\n if (!isIE) {\n this.$el.appendChild(object)\n }\n },\n\n beforeDestroy () {\n this.removeResizeHandlers()\n },\n\n methods: {\n compareAndNotify () {\n if ((!this.ignoreWidth && this._w !== this.$el.offsetWidth) || (!this.ignoreHeight && this._h !== this.$el.offsetHeight)) {\n this._w = this.$el.offsetWidth\n this._h = this.$el.offsetHeight\n this.emitSize()\n }\n },\n\n emitSize () {\n this.$emit('notify', {\n width: this._w,\n height: this._h,\n })\n },\n\n addResizeHandlers () {\n this._resizeObject.contentDocument.defaultView.addEventListener('resize', this.compareAndNotify)\n this.compareAndNotify()\n },\n\n removeResizeHandlers () {\n if (this._resizeObject && this._resizeObject.onload) {\n if (!isIE && this._resizeObject.contentDocument) {\n this._resizeObject.contentDocument.defaultView.removeEventListener('resize', this.compareAndNotify)\n }\n this.$el.removeChild(this._resizeObject)\n this._resizeObject.onload = null\n this._resizeObject = null\n }\n },\n },\n}\n</script>\n\n<style scoped>\n.resize-observer {\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n width: 100%;\n height: 100%;\n border: none;\n background-color: transparent;\n pointer-events: none;\n display: block;\n overflow: hidden;\n opacity: 0;\n}\n\n.resize-observer >>> object {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n overflow: hidden;\n pointer-events: none;\n z-index: -1;\n}\n</style>\n","export function getInternetExplorerVersion () {\n const ua = window.navigator.userAgent\n\n const msie = ua.indexOf('MSIE ')\n if (msie > 0) {\n // IE 10 or older => return version number\n return parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10)\n }\n\n const trident = ua.indexOf('Trident/')\n if (trident > 0) {\n // IE 11 => return version number\n const rv = ua.indexOf('rv:')\n return parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10)\n }\n\n const edge = ua.indexOf('Edge/')\n if (edge > 0) {\n // Edge (IE 12+) => return version number\n return parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10)\n }\n\n // other browser\n return -1\n}\n","import ResizeObserver from './components/ResizeObserver.vue'\n\n// Install the components\nexport function install (Vue) {\n // eslint-disable-next-line vue/component-definition-name-casing\n Vue.component('resize-observer', ResizeObserver)\n Vue.component('ResizeObserver', ResizeObserver)\n}\n\nexport {\n ResizeObserver,\n}\n\n// Plugin\nconst plugin = {\n // eslint-disable-next-line no-undef\n version: VERSION,\n install,\n}\n\nexport default plugin\n\n// Auto-install\nlet GlobalVue = null\nif (typeof window !== 'undefined') {\n GlobalVue = window.Vue\n} else if (typeof global !== 'undefined') {\n GlobalVue = global.Vue\n}\nif (GlobalVue) {\n GlobalVue.use(plugin)\n}\n"],"names":["ua","window","navigator","userAgent","msie","indexOf","parseInt","substring","rv","edge","install","Vue","component","ResizeObserver","plugin","version","VERSION","GlobalVue","global","use"],"mappings":"uCAUA,MAEA,uCCZO,eACCA,EAAKC,OAAOC,UAAUC,UAEtBC,EAAOJ,EAAGK,QAAQ,YACpBD,EAAO,SAEFE,SAASN,EAAGO,UAAUH,EAAO,EAAGJ,EAAGK,QAAQ,IAAKD,IAAQ,OAGjDJ,EAAGK,QAAQ,YACb,EAAG,KAETG,EAAKR,EAAGK,QAAQ,cACfC,SAASN,EAAGO,UAAUC,EAAK,EAAGR,EAAGK,QAAQ,IAAKG,IAAM,QAGvDC,EAAOT,EAAGK,QAAQ,gBACpBI,EAAO,EAEFH,SAASN,EAAGO,UAAUE,EAAO,EAAGT,EAAGK,QAAQ,IAAKI,IAAQ,KAIzD,ixBDrBV,ukDECO,SAASC,EAASC,GAEvBA,EAAIC,UAAU,kBAAmBC,GACjCF,EAAIC,UAAU,iBAAkBC,OAQ5BC,EAAS,CAEbC,QAASC,QACTN,QAAAA,GAMEO,EAAY,WACM,oBAAXhB,OACTgB,EAAYhB,OAAOU,IACQ,oBAAXO,SAChBD,EAAYC,OAAOP,KAEjBM,GACFA,EAAUE,IAAIL"}