mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
1 line
3.8 KiB
JSON
1 line
3.8 KiB
JSON
|
|
{"ast":null,"code":"export function applyPolyfills() {\n if (typeof window !== 'undefined') {\n var win = window;\n var promises = [];\n if (!win.customElements || win.Element && (!win.Element.prototype.closest || !win.Element.prototype.matches || !win.Element.prototype.remove)) {\n promises.push(import('./dom.js'));\n }\n function checkIfURLIsSupported() {\n try {\n var u = new URL('b', 'http://a');\n u.pathname = 'c%20d';\n return u.href === 'http://a/c%20d' && u.searchParams;\n } catch (e) {\n return false;\n }\n }\n if ('function' !== typeof Object.assign || !Object.entries || !Array.prototype.find || !Array.prototype.includes || !String.prototype.startsWith || !String.prototype.endsWith || win.NodeList && !win.NodeList.prototype.forEach || !win.fetch || !checkIfURLIsSupported() || typeof WeakMap == 'undefined') {\n promises.push(import('./core-js.js'));\n }\n return Promise.all(promises);\n }\n return Promise.resolve();\n}","map":{"version":3,"names":["applyPolyfills","window","win","promises","customElements","Element","prototype","closest","matches","remove","push","checkIfURLIsSupported","u","URL","pathname","href","searchParams","e","Object","assign","entries","Array","find","includes","String","startsWith","endsWith","NodeList","forEach","fetch","WeakMap","Promise","all","resolve"],"sources":["C:/Users/eudes.inacio/GabineteDigital/gabinete-digital-fo/node_modules/@ionic/pwa-elements/dist/esm/polyfills/index.js"],"sourcesContent":["export function applyPolyfills() {\n if (typeof window !== 'undefined') {\n var win = window;\n\n var promises = [];\n\n if (!win.customElements || (win.Element && (!win.Element.prototype.closest || !win.Element.prototype.matches || !win.Element.prototype.remove))) {\n promises.push(import('./dom.js'));\n }\n\n function checkIfURLIsSupported() {\n try {\n var u = new URL('b', 'http://a');\n u.pathname = 'c%20d';\n return (u.href === 'http://a/c%20d') && u.searchParams;\n } catch (e) {\n return false;\n }\n }\n\n if (\n 'function' !== typeof Object.assign || !Object.entries ||\n !Array.prototype.find || !Array.prototype.includes ||\n !String.prototype.startsWith || !String.prototype.endsWith ||\n (win.NodeList && !win.NodeList.prototype.forEach) ||\n !win.fetch ||\n !checkIfURLIsSupported() ||\n typeof WeakMap == 'undefined'\n ) {\n promises.push(import('./core-js.js'));\n }\n return Promise.all(promises);\n }\n return Promise.resolve();\n}\n"],"mappings":"AAAA,OAAO,SAASA,cAAcA,CAAA,EAAG;EAC/B,IAAI,OAAOC,MAAM,KAAK,WAAW,EAAE;IACjC,IAAIC,GAAG,GAAGD,MAAM;IAEhB,IAAIE,QAAQ,GAAG,EAAE;IAEjB,IAAI,CAACD,GAAG,CAACE,cAAc,IAAKF,GAAG,CAACG,OAAO,KAAK,CAACH,GAAG,CAACG,OAAO,CAACC,SAAS,CAACC,OAAO,IAAI,CAACL,GAAG,CAACG,OAAO,CAACC,SAAS,CAACE,OAAO,IAAI,CAACN,GAAG,CAACG,OAAO,CAACC,SAAS,CAACG,MAAM,CAAE,EAAE;MAC/IN,QAAQ,CAACO,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IACnC;IAEA,SAASC,qBAAqBA,CAAA,EAAG;MAC/B,IAAI;QACF,IAAIC,CAAC,GAAG,IAAIC,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC;QAChCD,CAAC,CAACE,QAAQ,GAAG,OAAO;QACpB,OAAQF,CAAC,CAACG,IAAI,KAAK,gBAAgB,IAAKH,CAAC,CAACI,YAAY;MACxD,CAAC,CAAC,OAAOC,CAAC,EAAE;QACV,OAAO,KAAK;MACd;IACF;IAEA,IACE,UAAU,KAAK,OAAOC,MAAM,CAACC,MAAM,IAAI,CAACD,MAAM,CAACE,OAAO,IACtD,CAACC,KAAK,CAACf,SAAS,CAACgB,IAAI,IAAI,CAACD,KAAK,CAACf,SAAS,CAACiB,QAAQ,IAClD,CAACC,MAAM,CAAClB,SAAS,CAACmB,UAAU,IAAI,CAACD,MAAM,CAAClB,SAAS,CAACoB,QAAQ,IACzDxB,GAAG,CAACyB,QAAQ,IAAI,CAACzB,GAAG,CAACyB,QAAQ,CAACrB,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