@teleporthq/teleport-shared 0.43.61 → 0.43.63

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.
Files changed (78) hide show
  1. package/__tests__/utils/font-preconnect.ts +62 -0
  2. package/__tests__/utils/rich-text-embeds-runtime-module.ts +124 -0
  3. package/__tests__/utils/rich-text-embeds.ts +254 -0
  4. package/dist/cjs/index.d.ts +6 -1
  5. package/dist/cjs/index.d.ts.map +1 -1
  6. package/dist/cjs/index.js +11 -1
  7. package/dist/cjs/index.js.map +1 -1
  8. package/dist/cjs/page-revalidate/api-route.d.ts +24 -0
  9. package/dist/cjs/page-revalidate/api-route.d.ts.map +1 -0
  10. package/dist/cjs/page-revalidate/api-route.js +30 -0
  11. package/dist/cjs/page-revalidate/api-route.js.map +1 -0
  12. package/dist/cjs/page-revalidate/constants.d.ts +22 -0
  13. package/dist/cjs/page-revalidate/constants.d.ts.map +1 -0
  14. package/dist/cjs/page-revalidate/constants.js +25 -0
  15. package/dist/cjs/page-revalidate/constants.js.map +1 -0
  16. package/dist/cjs/page-revalidate/index.d.ts +3 -0
  17. package/dist/cjs/page-revalidate/index.d.ts.map +1 -0
  18. package/dist/cjs/page-revalidate/index.js +19 -0
  19. package/dist/cjs/page-revalidate/index.js.map +1 -0
  20. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  21. package/dist/cjs/utils/font-preconnect.d.ts +40 -0
  22. package/dist/cjs/utils/font-preconnect.d.ts.map +1 -0
  23. package/dist/cjs/utils/font-preconnect.js +52 -0
  24. package/dist/cjs/utils/font-preconnect.js.map +1 -0
  25. package/dist/cjs/utils/product-ratings.d.ts +26 -0
  26. package/dist/cjs/utils/product-ratings.d.ts.map +1 -0
  27. package/dist/cjs/utils/product-ratings.js +30 -0
  28. package/dist/cjs/utils/product-ratings.js.map +1 -0
  29. package/dist/cjs/utils/rich-text-embeds-codegen.d.ts +9 -0
  30. package/dist/cjs/utils/rich-text-embeds-codegen.d.ts.map +1 -0
  31. package/dist/cjs/utils/rich-text-embeds-codegen.js +139 -0
  32. package/dist/cjs/utils/rich-text-embeds-codegen.js.map +1 -0
  33. package/dist/cjs/utils/rich-text-embeds.d.ts +251 -0
  34. package/dist/cjs/utils/rich-text-embeds.d.ts.map +1 -0
  35. package/dist/cjs/utils/rich-text-embeds.js +852 -0
  36. package/dist/cjs/utils/rich-text-embeds.js.map +1 -0
  37. package/dist/esm/index.d.ts +6 -1
  38. package/dist/esm/index.d.ts.map +1 -1
  39. package/dist/esm/index.js +6 -1
  40. package/dist/esm/index.js.map +1 -1
  41. package/dist/esm/page-revalidate/api-route.d.ts +24 -0
  42. package/dist/esm/page-revalidate/api-route.d.ts.map +1 -0
  43. package/dist/esm/page-revalidate/api-route.js +26 -0
  44. package/dist/esm/page-revalidate/api-route.js.map +1 -0
  45. package/dist/esm/page-revalidate/constants.d.ts +22 -0
  46. package/dist/esm/page-revalidate/constants.d.ts.map +1 -0
  47. package/dist/esm/page-revalidate/constants.js +22 -0
  48. package/dist/esm/page-revalidate/constants.js.map +1 -0
  49. package/dist/esm/page-revalidate/index.d.ts +3 -0
  50. package/dist/esm/page-revalidate/index.d.ts.map +1 -0
  51. package/dist/esm/page-revalidate/index.js +3 -0
  52. package/dist/esm/page-revalidate/index.js.map +1 -0
  53. package/dist/esm/tsconfig.tsbuildinfo +1 -1
  54. package/dist/esm/utils/font-preconnect.d.ts +40 -0
  55. package/dist/esm/utils/font-preconnect.d.ts.map +1 -0
  56. package/dist/esm/utils/font-preconnect.js +48 -0
  57. package/dist/esm/utils/font-preconnect.js.map +1 -0
  58. package/dist/esm/utils/product-ratings.d.ts +26 -0
  59. package/dist/esm/utils/product-ratings.d.ts.map +1 -0
  60. package/dist/esm/utils/product-ratings.js +26 -0
  61. package/dist/esm/utils/product-ratings.js.map +1 -0
  62. package/dist/esm/utils/rich-text-embeds-codegen.d.ts +9 -0
  63. package/dist/esm/utils/rich-text-embeds-codegen.d.ts.map +1 -0
  64. package/dist/esm/utils/rich-text-embeds-codegen.js +134 -0
  65. package/dist/esm/utils/rich-text-embeds-codegen.js.map +1 -0
  66. package/dist/esm/utils/rich-text-embeds.d.ts +251 -0
  67. package/dist/esm/utils/rich-text-embeds.d.ts.map +1 -0
  68. package/dist/esm/utils/rich-text-embeds.js +822 -0
  69. package/dist/esm/utils/rich-text-embeds.js.map +1 -0
  70. package/package.json +3 -3
  71. package/src/index.ts +10 -0
  72. package/src/page-revalidate/api-route.ts +77 -0
  73. package/src/page-revalidate/constants.ts +24 -0
  74. package/src/page-revalidate/index.ts +2 -0
  75. package/src/utils/font-preconnect.ts +61 -0
  76. package/src/utils/product-ratings.ts +98 -0
  77. package/src/utils/rich-text-embeds-codegen.ts +216 -0
  78. package/src/utils/rich-text-embeds.ts +966 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/page-revalidate/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,8CAA2B"}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../teleport-types/dist/cjs/helper.d.ts","../../../teleport-types/dist/cjs/uidl.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-types/dist/cjs/generators.d.ts","../../../teleport-types/dist/cjs/errors.d.ts","../../../teleport-types/dist/cjs/vuidl.d.ts","../../../teleport-types/dist/cjs/index.d.ts","../../src/constants/index.ts","../../src/utils/js-identifiers.ts","../../src/utils/string-utils.ts","../../src/utils/uidl-utils.ts","../../src/utils/generic.ts","../../src/utils/local-imports.ts","../../src/utils/ast-scope.ts","../../src/utils/ast-statement-order.ts","../../src/utils/ast-effect-cleanup.ts","../../src/utils/route-paths.ts","../../src/utils/layout-topology.ts","../../src/utils/html-content-model.ts","../../src/utils/style-declarations.ts","../../src/utils/storefront-tax.ts","../../src/utils/product-discounts.ts","../../src/utils/email-date.ts","../../src/cache/constants.ts","../../src/cache/client-runtime.ts","../../src/cache/server-runtime.ts","../../src/cache/version-store.ts","../../src/cache/api-routes.ts","../../src/cache/index.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14fc7efae8b184b18019a5906c6f6de752823b44ff1acf7924bbdc8877ded21b","b42584f9282882a4c3e388b5c9ef8d78b007540795dfd6ea2421dd28d2e1564f","8d27e5f73b75340198b2df36f39326f693743e64006bd7b88a925a5f285df628","b89124f3badfae5989afdc5c92193da02dee7dbea1b0f265794521bb02ddbe74","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","d9118ed71b9968fea213b070209081a1b1c378b55ddcd026fb1ae8a7f52c15b7","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f",{"version":"11650c5bddaa406f3d38215ee50e9b7ef974a4cd547c232d318e440ec9765b6b","signature":"950376ec316f431002898dc46c9e712d4df602735e79710032f82ff7cb0ff639"},{"version":"a3a7229dea45fec3b66fb3db95ea86b6f79456d53b01124be574234b855e7f33","signature":"9ea2bd139a31e4bcccbaaf18a67b1ffce16768d35396263d271deb29da1d6f3d"},{"version":"c24f079ec435435dcfa36db980f1da9fa965af8458308a1e4a635d33ad1f8a93","signature":"5fe9ca7b6dc98850f1b426855662f868e86c375e86c7f5486ad4692bc2572fde"},{"version":"8a2a94472cdd6a36100128806588f6e7df23e28f062cdc346b8201af7b7317da","signature":"ffebee2a958508484af19fffc046c9c69ae120bdfd7b452f143219e05e97c20b"},{"version":"d36d38e7840bb5eb64570d6a75b4cda6b30f810ff28e788eabbe20f2ca6ec20d","signature":"def6a19b93529e8c08bb970740d56ecfce4d17a3c495a49761636087f6c80c4a"},{"version":"6cd90a046b174d27446a3682bdfdf31b56f0f566796d0345395d3a409dd9284c","signature":"dfda7fae8dc2ce6b5f728ccdf83f252923d50f47cb9535b18e34bc0d34c5a985"},{"version":"d5d7bef99b9b58cb67c8a18f1a1a1a74ad36e707226181dc5306f5fd56875bdf","signature":"b290a1d459a7028ae36165b73a69a4877c73f4dd72af733964b55110882c3216"},{"version":"bf4571325f6084257e36752366f3c2196c4d1489a46e53854fab86f76f700189","signature":"3816fd253a52b0f8dedd04c55eb2d77d0aa4f1c92707fb50cf14a5d1aa3869dd"},{"version":"19c4db2864f00fb2a76efa2f7d8dcf04a2b5a05742e96781166571c6d2250320","signature":"a36f3d868428938cd620deb11cd0747f31fab1c490d54224e99ac8ea6a270220"},{"version":"3805506eba293e77c14ddcbff35b0aa053b4de13137abc9ebed48ce8dca1fe49","signature":"d487aeebf39008a9b79a9c44a4943bfac9131afe5bb67f6f91319c91f0b74d2b"},{"version":"ec521fde10cc9bbb583b13eb7d9f426c715290c9766554e331040bbc208b688e","signature":"d00b4720674bd31c264f1add708dfeedcb80432a76541c91e38f867b434e0331"},{"version":"3385231c8904b943ead6ae26402c71c270c801a1a04dcf711b37d1fc8b1949c6","signature":"448d42608cb5eab83dc8fff0baac2cea61c5bfa654bc4c18b7640c61b4a8a72f"},{"version":"b4a28d604c143417486a5f5edc69c76ad8c7675d2fb453d1cf47d69831400e04","signature":"0dd5553c80b72c9796c41a5cbea3b2d5ad430651569efceaf08b982ccf4a2f5e"},{"version":"85db6d2b55c2d9802a66ecb6ecf1f41889f38e7075d4b77efc3aeeb83608c9f8","signature":"29fed62b94aa759c78d2ade5cf35805b6c4a287c457f92b874bc72a0cb0238ae"},{"version":"402224f379e89fda21400c1e98701843fdde8746bed0fa5b8f8a837ca3a4d224","signature":"e6104a2be1332eb0de3fed325b86aab795be0f618407652cc90f24daacd74a11"},{"version":"ecb1d950b0a0ab1d0fde6552253857281e515dfd00e7f894669c275ad4ae4436","signature":"0ad3df2740f91e7b7a6191972283d1af25d5f544d4a9ab1df9c41427f09d93fa"},{"version":"f1605474f305995c2b2d8e7d48a8cdd72a2ae57ebbb47ed07bc9abfbf49ffeb1","signature":"5b58f892097fb651076e5be6a77a95c8343a5a84d54dab0ffd97a9450aa39c74"},{"version":"d67f5b62fe97d3f8036fb5c46396f7e65c01eb7124a56926ec7fa8f0857f21da","signature":"35fd626998b26ab1272bf57d013b6d133f3bd3a00eabd4a7b9d9c9312026ae8d"},{"version":"cfefe3982eb13d34b267f265850486badb5b7898edef0a829b17b3c258324575","signature":"03cbc47f7121335ef90a6deca986aaeb999a93252f3f7781867bf793e8a8d0e3"},{"version":"61339f04368d0e7c9a6f8719713be60e561adc6fb6587c33b44a4770ce0247e7","signature":"bf2b32b9d75b611ee022f889ba550d13e0bd14c2deeb1e4d89ce22544e23a1d0"},{"version":"e38653fbd95c5f8178b20faad66bf94a138ba8735a4923e92d810f96e9c20fc3","signature":"c4ccebbab1965eb732ff59c5127b9e177f4a5e2213ea8fa086d7ec6ace62d416"},{"version":"a7f1d2060c1ee57d44ea8f97f242e5b41f95ff4db1963660c9e199a22e1824ce","signature":"6d14d871eae84e541ef7c400686573943068eea5f6ccafa6bf7578ba2abc77a6"},{"version":"ef3d030bc5e4e336b24dc17ae2765b459ca57ab446c766a0e1f35dab1e92c688","signature":"2b48d43d1a029c51cd3645fbfddb81f4aa32708323ffcf76580495d4f59a7293"},"0b4bc32128fda7bb0752cf284730dd3a817aae04a3d7f92e3b2d54bd61362fe1","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"5f290ea7efbe9d8431e10df12c0d5672b67988e7c171c2d356749fac70347a55","affectsGlobalScope":true},"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89",{"version":"49c89f8fa09d21c161e6a367448639e032f42d77cc2ec8ab54ecb8fa9a3ad59f","affectsGlobalScope":true},"e4b50850c2a62c7750428e452ee24b167180104d514d5e5c0ca691753365f610","304504c854c47a55ab4a89111a27a2daf8a3614740bd787cc1f2c51e5574239c",{"version":"95f9129a37dcace36e17b061a8484952586ecfe928c9c8ce526de1a2f4aaefa7","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","0f9061846236850a872cb44097d071631e93c8749a8b16c191fe3c2a48faede4","e46fa644658c2d6e5c85e954ea76b92c97d63f0851d3ccdab8c2a80d5962aaa9","1c611ff373ce1958aafc40b328048ac2540ba5c7f373cf2897e0d9aeaabe90a0","a307d22a0130ac94c1a17fffa6d57ac272deb5838cb966a9420911d259cdf1be","d2e415abf6cb81ac9e2700b4db5ea7be76b997e812285b8e5e1e414eb2750b6e","09d6cebdced6aa1181ac1523c8f22a133f5ed80589678b64051f0602f0518374",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"7c35691dc3972ff1507d8dd279d833f540973d0917bde22e191cf7a8feaac29f","affectsGlobalScope":true},"62662d7a886e5cfa870685720fd27b763743ca4d2cf29326f75d76606a64eadd","b8c670688bd228d3cc9c169690b09b687188c50ff263a94df63b207701105ad9","d8e16905907111390d5a943816306ae997dfe56476f14142166f8b13ee322eea","8068c911a1c40bc6c5ffc58c625b21d807778f6aa6d63a73e6f04f88bcac5b79","a1dbce56ad5f3a37caafb9033c9d190a199217d673f5fa099c8968d471a2fdaa","c6f77efcc19f51c8759779b6b6ee0d88046c15c15dadac8ffed729a6620daf39",{"version":"089867511b37a534ae71f3d9bc97acc0b925b7f5dbec113f98c4b49224c694eb","affectsGlobalScope":true},"269d0ea3202820c29a32c1f2a357837a4f1918426844f7e7c90af15ec40d1dc1","66432f885e30cf471573de22a5af5eca9ab46b37b122aec98beadf77e9b7df24","323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c",{"version":"034e635df3c014df1d6b1110b724ca0c4d2d324b45a84974c7d6931f9cf95ea7","affectsGlobalScope":true},{"version":"87f9456115554cb0f78f098ddbd585096871c19d2d05274c1b1b4ade3151da78","affectsGlobalScope":true},"ea3ab3727cd6c222d94003ecafa30e8550c61eadcdabbf59514aee76e86211a5","d3cdd41693c5ed6bec4f1a1c399d9501372b14bd341bc46eedacf2854c5df5a7","2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","da618f0ea09d95c3b51514de43bf97dab008c85bede58aa57cf95e4984c7c957","48a35b181ecf47dbbc0a7ab4b5ba778d91eaa838ba42bf4aaaead42be77ef39a","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","5195aeb0de306d1c5ca8033457fbcab5987657112fa6d4971cfeb7644493a369","c5dbf0003bc9f0f643e54cd00a3868d1afe85497fecb56be6f2373dc85102924",{"version":"ce73eb199c4bf96c015f069aac161488ed73ebeaea3d87b6d5aa9a968a7b38d4","affectsGlobalScope":true},{"version":"300f8e9de0b0c3482be3e749462b6ebc3dab8a316801f1da0def94aed0cd2018","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","962f105729d5b888c8b70e193f6020ee92c6c8144c827de40f80d65dd188ad7f","ac74e2b754fba690036f8221d978f6debb867462b87af254f24e924b677395d0","80858f6de9af22e53aff221fe3590215ea544c2aeb2cc60cf8e08a9c785c8fef",{"version":"068b8ee5c2cd90d7a50f2efadbbe353cb10196a41189a48bf4b2a867363012b4","affectsGlobalScope":true},{"version":"340659b96782f5813aad6c1f89ea1b83b2f3fa993115c7b30366375d9bae5a4e","affectsGlobalScope":true},"6f44a190351ab5e1811abebe007cf60518044772ccc08244f9f241706afa767f","fecdf44bec4ee9c5188e5f2f58c292c9689c02520900dceaaa6e76594de6da90","cf45d0510b661f1da461479851ff902f188edb111777c37055eff12fa986a23a",{"version":"895ca532c15c77cbb6a871af1870b57bcd0ca4f38a1bd69669dd0e95bb58565a","affectsGlobalScope":true},"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[164,166],[160,161],[160,161,162,163],[165],[167],[73],[109],[110,115,143],[111,122,123,130,140,151],[111,112,122,130],[113,152],[114,115,123,131],[115,140,148],[116,118,122,130],[109,117],[118,119],[122],[120,122],[109,122],[122,123,124,140,151],[122,123,124,137,140,143],[107,156],[118,122,125,130,140,151],[122,123,125,126,130,140,148,151],[125,127,140,148,151],[73,74,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158],[122,128],[129,151,156],[118,122,130,140],[131],[132],[109,133],[134,150,156],[135],[136],[122,137,138],[137,139,152,154],[110,122,140,141,142,143],[110,140,142],[140,141],[143],[144],[109,140],[122,146,147],[146,147],[115,130,140,148],[149],[130,150],[110,125,136,151],[115,152],[140,153],[129,154],[155],[110,115,122,124,133,140,151,154,156],[140,157],[84,88,151],[84,140,151],[79],[81,84,148,151],[130,148],[159],[79,159],[81,84,130,151],[76,77,80,83,110,122,140,151],[76,82],[80,84,110,143,151,159],[110,159],[100,110,159],[78,79,159],[84],[78,79,80,81,82,83,84,85,86,88,89,90,91,92,93,94,95,96,97,98,99,101,102,103,104,105,106],[84,91,92],[82,84,92,93],[83],[76,79,84],[84,88,92,93],[88],[82,84,87,151],[76,81,82,84,88,91],[110,140],[79,84,100,110,156,159],[66],[66,67,68,69,70],[49],[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,71],[45,56],[45],[49,132],[51],[49,52,72,132],[44,45],[44,46,47,48],[43],[43,44]],"referencedMap":[[167,1],[162,2],[164,3],[163,2],[166,4],[168,5],[73,6],[74,6],[109,7],[110,8],[111,9],[112,10],[113,11],[114,12],[115,13],[116,14],[117,15],[118,16],[119,16],[121,17],[120,18],[122,19],[123,20],[124,21],[108,22],[125,23],[126,24],[127,25],[159,26],[128,27],[129,28],[130,29],[131,30],[132,31],[133,32],[134,33],[135,34],[136,35],[137,36],[138,36],[139,37],[140,38],[142,39],[141,40],[143,41],[144,42],[145,43],[146,44],[147,45],[148,46],[149,47],[150,48],[151,49],[152,50],[153,51],[154,52],[155,53],[156,54],[157,55],[91,56],[98,57],[90,56],[105,58],[82,59],[81,60],[104,61],[99,62],[102,63],[84,64],[83,65],[79,66],[78,67],[101,68],[80,69],[85,70],[89,70],[107,71],[106,70],[93,72],[94,73],[96,74],[92,75],[95,76],[100,61],[87,77],[88,78],[97,79],[77,80],[103,81],[70,82],[67,82],[71,83],[68,82],[69,82],[50,84],[72,85],[58,86],[56,87],[57,86],[54,88],[60,84],[55,84],[63,84],[52,89],[62,84],[53,90],[46,91],[49,92],[44,93],[48,94]],"exportedModulesMap":[[167,1],[162,2],[164,3],[163,2],[166,4],[168,5],[73,6],[74,6],[109,7],[110,8],[111,9],[112,10],[113,11],[114,12],[115,13],[116,14],[117,15],[118,16],[119,16],[121,17],[120,18],[122,19],[123,20],[124,21],[108,22],[125,23],[126,24],[127,25],[159,26],[128,27],[129,28],[130,29],[131,30],[132,31],[133,32],[134,33],[135,34],[136,35],[137,36],[138,36],[139,37],[140,38],[142,39],[141,40],[143,41],[144,42],[145,43],[146,44],[147,45],[148,46],[149,47],[150,48],[151,49],[152,50],[153,51],[154,52],[155,53],[156,54],[157,55],[91,56],[98,57],[90,56],[105,58],[82,59],[81,60],[104,61],[99,62],[102,63],[84,64],[83,65],[79,66],[78,67],[101,68],[80,69],[85,70],[89,70],[107,71],[106,70],[93,72],[94,73],[96,74],[92,75],[95,76],[100,61],[87,77],[88,78],[97,79],[77,80],[103,81],[71,83],[50,84],[72,85],[58,87],[56,87],[57,87],[54,84],[60,84],[55,84],[63,84],[62,84],[53,84],[46,91],[49,92],[44,93],[48,94]],"semanticDiagnosticsPerFile":[45,167,160,162,164,163,161,166,165,168,73,74,109,110,111,112,113,114,115,116,117,118,119,121,120,122,123,124,108,158,125,126,127,159,128,129,130,131,132,133,134,135,136,137,138,139,140,142,141,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,75,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,91,98,90,105,82,81,104,99,102,84,83,79,78,101,80,85,86,89,76,107,106,93,94,96,92,95,100,87,88,97,77,103,70,67,66,71,68,69,50,72,58,56,57,65,54,61,51,60,55,64,59,63,52,62,53,47,46,43,49,44,48]},"version":"4.9.5"}
1
+ {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../teleport-types/dist/cjs/helper.d.ts","../../../teleport-types/dist/cjs/uidl.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-types/dist/cjs/generators.d.ts","../../../teleport-types/dist/cjs/errors.d.ts","../../../teleport-types/dist/cjs/vuidl.d.ts","../../../teleport-types/dist/cjs/index.d.ts","../../src/constants/index.ts","../../src/utils/js-identifiers.ts","../../src/utils/string-utils.ts","../../src/utils/uidl-utils.ts","../../src/utils/generic.ts","../../src/utils/local-imports.ts","../../src/utils/ast-scope.ts","../../src/utils/ast-statement-order.ts","../../src/utils/ast-effect-cleanup.ts","../../src/utils/route-paths.ts","../../src/utils/layout-topology.ts","../../src/utils/html-content-model.ts","../../src/utils/style-declarations.ts","../../src/utils/storefront-tax.ts","../../src/utils/product-discounts.ts","../../src/utils/product-ratings.ts","../../src/utils/font-preconnect.ts","../../src/utils/email-date.ts","../../src/utils/rich-text-embeds.ts","../../src/utils/rich-text-embeds-codegen.ts","../../src/cache/constants.ts","../../src/cache/client-runtime.ts","../../src/cache/server-runtime.ts","../../src/cache/version-store.ts","../../src/cache/api-routes.ts","../../src/cache/index.ts","../../src/page-revalidate/constants.ts","../../src/page-revalidate/api-route.ts","../../src/page-revalidate/index.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14fc7efae8b184b18019a5906c6f6de752823b44ff1acf7924bbdc8877ded21b","dfdb483de9b11a6a4b821c95b90b899c1db51423f0cd014ea936a048d3ffe8de","8d27e5f73b75340198b2df36f39326f693743e64006bd7b88a925a5f285df628","1adf52df4f197a19525caa1722d6bfd30a883dba759598a24d75c4239c84619f","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","d9118ed71b9968fea213b070209081a1b1c378b55ddcd026fb1ae8a7f52c15b7","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f",{"version":"11650c5bddaa406f3d38215ee50e9b7ef974a4cd547c232d318e440ec9765b6b","signature":"950376ec316f431002898dc46c9e712d4df602735e79710032f82ff7cb0ff639"},{"version":"a3a7229dea45fec3b66fb3db95ea86b6f79456d53b01124be574234b855e7f33","signature":"9ea2bd139a31e4bcccbaaf18a67b1ffce16768d35396263d271deb29da1d6f3d"},{"version":"c24f079ec435435dcfa36db980f1da9fa965af8458308a1e4a635d33ad1f8a93","signature":"5fe9ca7b6dc98850f1b426855662f868e86c375e86c7f5486ad4692bc2572fde"},{"version":"8a2a94472cdd6a36100128806588f6e7df23e28f062cdc346b8201af7b7317da","signature":"ffebee2a958508484af19fffc046c9c69ae120bdfd7b452f143219e05e97c20b"},{"version":"d36d38e7840bb5eb64570d6a75b4cda6b30f810ff28e788eabbe20f2ca6ec20d","signature":"def6a19b93529e8c08bb970740d56ecfce4d17a3c495a49761636087f6c80c4a"},{"version":"6cd90a046b174d27446a3682bdfdf31b56f0f566796d0345395d3a409dd9284c","signature":"dfda7fae8dc2ce6b5f728ccdf83f252923d50f47cb9535b18e34bc0d34c5a985"},{"version":"d5d7bef99b9b58cb67c8a18f1a1a1a74ad36e707226181dc5306f5fd56875bdf","signature":"b290a1d459a7028ae36165b73a69a4877c73f4dd72af733964b55110882c3216"},{"version":"bf4571325f6084257e36752366f3c2196c4d1489a46e53854fab86f76f700189","signature":"3816fd253a52b0f8dedd04c55eb2d77d0aa4f1c92707fb50cf14a5d1aa3869dd"},{"version":"19c4db2864f00fb2a76efa2f7d8dcf04a2b5a05742e96781166571c6d2250320","signature":"a36f3d868428938cd620deb11cd0747f31fab1c490d54224e99ac8ea6a270220"},{"version":"3805506eba293e77c14ddcbff35b0aa053b4de13137abc9ebed48ce8dca1fe49","signature":"d487aeebf39008a9b79a9c44a4943bfac9131afe5bb67f6f91319c91f0b74d2b"},{"version":"ec521fde10cc9bbb583b13eb7d9f426c715290c9766554e331040bbc208b688e","signature":"d00b4720674bd31c264f1add708dfeedcb80432a76541c91e38f867b434e0331"},{"version":"3385231c8904b943ead6ae26402c71c270c801a1a04dcf711b37d1fc8b1949c6","signature":"448d42608cb5eab83dc8fff0baac2cea61c5bfa654bc4c18b7640c61b4a8a72f"},{"version":"b4a28d604c143417486a5f5edc69c76ad8c7675d2fb453d1cf47d69831400e04","signature":"0dd5553c80b72c9796c41a5cbea3b2d5ad430651569efceaf08b982ccf4a2f5e"},{"version":"85db6d2b55c2d9802a66ecb6ecf1f41889f38e7075d4b77efc3aeeb83608c9f8","signature":"29fed62b94aa759c78d2ade5cf35805b6c4a287c457f92b874bc72a0cb0238ae"},{"version":"402224f379e89fda21400c1e98701843fdde8746bed0fa5b8f8a837ca3a4d224","signature":"e6104a2be1332eb0de3fed325b86aab795be0f618407652cc90f24daacd74a11"},{"version":"a5152661651e56d7de6157afbe27b1ce3715b3d9409953a9e297ab12023b6aff","signature":"ea13b757647c1a972e5e2c8fe2d1127c7964a2a304d41b28f611024faba50836"},{"version":"07ef3048fe039893ec7001370abfb9725fd76dbade6ed3a0c6596f402e352df3","signature":"4e1c5b37b16c856d27e2ad000ecc24644d868a279e2c6910d56b9d5a81da2fe6"},{"version":"ecb1d950b0a0ab1d0fde6552253857281e515dfd00e7f894669c275ad4ae4436","signature":"0ad3df2740f91e7b7a6191972283d1af25d5f544d4a9ab1df9c41427f09d93fa"},{"version":"4bd6366f8de24dde2e31a494273232cc32d7c0ea564592ea8b7610901cf9478b","signature":"51634cb824ba91140770f4ac7311304479e33f151134f3521e088e14cd235dc5"},{"version":"071ad09f6345127de75e27f8379f30c56d02c72e6ab42819dae454e6b47d388f","signature":"7597acbd22e33e358945a8acf664f517c3dac69d9689bceed60cb13716771f95"},{"version":"f1605474f305995c2b2d8e7d48a8cdd72a2ae57ebbb47ed07bc9abfbf49ffeb1","signature":"5b58f892097fb651076e5be6a77a95c8343a5a84d54dab0ffd97a9450aa39c74"},{"version":"d67f5b62fe97d3f8036fb5c46396f7e65c01eb7124a56926ec7fa8f0857f21da","signature":"35fd626998b26ab1272bf57d013b6d133f3bd3a00eabd4a7b9d9c9312026ae8d"},{"version":"cfefe3982eb13d34b267f265850486badb5b7898edef0a829b17b3c258324575","signature":"03cbc47f7121335ef90a6deca986aaeb999a93252f3f7781867bf793e8a8d0e3"},{"version":"61339f04368d0e7c9a6f8719713be60e561adc6fb6587c33b44a4770ce0247e7","signature":"bf2b32b9d75b611ee022f889ba550d13e0bd14c2deeb1e4d89ce22544e23a1d0"},{"version":"e38653fbd95c5f8178b20faad66bf94a138ba8735a4923e92d810f96e9c20fc3","signature":"c4ccebbab1965eb732ff59c5127b9e177f4a5e2213ea8fa086d7ec6ace62d416"},{"version":"a7f1d2060c1ee57d44ea8f97f242e5b41f95ff4db1963660c9e199a22e1824ce","signature":"6d14d871eae84e541ef7c400686573943068eea5f6ccafa6bf7578ba2abc77a6"},{"version":"5e95fcbdce633bfd470930f0ab735ee050caa10b2ec17309c2f0525774997c36","signature":"5b3d935d994f5f1e5c16fbe3f5f58dec6747b79ba28db27a1df2d5e7dec42d1d"},{"version":"2ae95932d3dd08cd2cd5a576ac7791317152b430934bdf611717343055eb701f","signature":"c910ef78eae5387ab1df8977cb62753621a62e266c6526752a9b88cee0100248"},{"version":"8e009708e9b57945cd2395a3858a5d79e2234e1559ce2ee349fe584a66c50e00","signature":"5df60b82d73860d9bb138a4c57a390e725c768a52bd69fa1a3001d99466ca99b"},{"version":"1237a3cf81d300296e971c8ee6f0735975aee72f256bafd1560734236f6fe418","signature":"b06949baec5bbacf3662a82a3544a6b6bac693687f8e1aa6326ecd155f99fd5a"},"0b4bc32128fda7bb0752cf284730dd3a817aae04a3d7f92e3b2d54bd61362fe1","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"5f290ea7efbe9d8431e10df12c0d5672b67988e7c171c2d356749fac70347a55","affectsGlobalScope":true},"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89",{"version":"49c89f8fa09d21c161e6a367448639e032f42d77cc2ec8ab54ecb8fa9a3ad59f","affectsGlobalScope":true},"e4b50850c2a62c7750428e452ee24b167180104d514d5e5c0ca691753365f610","304504c854c47a55ab4a89111a27a2daf8a3614740bd787cc1f2c51e5574239c",{"version":"95f9129a37dcace36e17b061a8484952586ecfe928c9c8ce526de1a2f4aaefa7","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","0f9061846236850a872cb44097d071631e93c8749a8b16c191fe3c2a48faede4","e46fa644658c2d6e5c85e954ea76b92c97d63f0851d3ccdab8c2a80d5962aaa9","1c611ff373ce1958aafc40b328048ac2540ba5c7f373cf2897e0d9aeaabe90a0","a307d22a0130ac94c1a17fffa6d57ac272deb5838cb966a9420911d259cdf1be","d2e415abf6cb81ac9e2700b4db5ea7be76b997e812285b8e5e1e414eb2750b6e","09d6cebdced6aa1181ac1523c8f22a133f5ed80589678b64051f0602f0518374",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"7c35691dc3972ff1507d8dd279d833f540973d0917bde22e191cf7a8feaac29f","affectsGlobalScope":true},"62662d7a886e5cfa870685720fd27b763743ca4d2cf29326f75d76606a64eadd","b8c670688bd228d3cc9c169690b09b687188c50ff263a94df63b207701105ad9","d8e16905907111390d5a943816306ae997dfe56476f14142166f8b13ee322eea","8068c911a1c40bc6c5ffc58c625b21d807778f6aa6d63a73e6f04f88bcac5b79","a1dbce56ad5f3a37caafb9033c9d190a199217d673f5fa099c8968d471a2fdaa","c6f77efcc19f51c8759779b6b6ee0d88046c15c15dadac8ffed729a6620daf39",{"version":"089867511b37a534ae71f3d9bc97acc0b925b7f5dbec113f98c4b49224c694eb","affectsGlobalScope":true},"269d0ea3202820c29a32c1f2a357837a4f1918426844f7e7c90af15ec40d1dc1","66432f885e30cf471573de22a5af5eca9ab46b37b122aec98beadf77e9b7df24","323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c",{"version":"034e635df3c014df1d6b1110b724ca0c4d2d324b45a84974c7d6931f9cf95ea7","affectsGlobalScope":true},{"version":"87f9456115554cb0f78f098ddbd585096871c19d2d05274c1b1b4ade3151da78","affectsGlobalScope":true},"ea3ab3727cd6c222d94003ecafa30e8550c61eadcdabbf59514aee76e86211a5","d3cdd41693c5ed6bec4f1a1c399d9501372b14bd341bc46eedacf2854c5df5a7","2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","da618f0ea09d95c3b51514de43bf97dab008c85bede58aa57cf95e4984c7c957","48a35b181ecf47dbbc0a7ab4b5ba778d91eaa838ba42bf4aaaead42be77ef39a","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","5195aeb0de306d1c5ca8033457fbcab5987657112fa6d4971cfeb7644493a369","c5dbf0003bc9f0f643e54cd00a3868d1afe85497fecb56be6f2373dc85102924",{"version":"ce73eb199c4bf96c015f069aac161488ed73ebeaea3d87b6d5aa9a968a7b38d4","affectsGlobalScope":true},{"version":"300f8e9de0b0c3482be3e749462b6ebc3dab8a316801f1da0def94aed0cd2018","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","962f105729d5b888c8b70e193f6020ee92c6c8144c827de40f80d65dd188ad7f","ac74e2b754fba690036f8221d978f6debb867462b87af254f24e924b677395d0","80858f6de9af22e53aff221fe3590215ea544c2aeb2cc60cf8e08a9c785c8fef",{"version":"068b8ee5c2cd90d7a50f2efadbbe353cb10196a41189a48bf4b2a867363012b4","affectsGlobalScope":true},{"version":"340659b96782f5813aad6c1f89ea1b83b2f3fa993115c7b30366375d9bae5a4e","affectsGlobalScope":true},"6f44a190351ab5e1811abebe007cf60518044772ccc08244f9f241706afa767f","fecdf44bec4ee9c5188e5f2f58c292c9689c02520900dceaaa6e76594de6da90","cf45d0510b661f1da461479851ff902f188edb111777c37055eff12fa986a23a",{"version":"895ca532c15c77cbb6a871af1870b57bcd0ca4f38a1bd69669dd0e95bb58565a","affectsGlobalScope":true},"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[171,173],[167,168],[167,168,169,170],[172],[174],[80],[116],[117,122,150],[118,129,130,137,147,158],[118,119,129,137],[120,159],[121,122,130,138],[122,147,155],[123,125,129,137],[116,124],[125,126],[129],[127,129],[116,129],[129,130,131,147,158],[129,130,131,144,147,150],[114,163],[125,129,132,137,147,158],[129,130,132,133,137,147,155,158],[132,134,147,155,158],[80,81,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165],[129,135],[136,158,163],[125,129,137,147],[138],[139],[116,140],[141,157,163],[142],[143],[129,144,145],[144,146,159,161],[117,129,147,148,149,150],[117,147,149],[147,148],[150],[151],[116,147],[129,153,154],[153,154],[122,137,147,155],[156],[137,157],[117,132,143,158],[122,159],[147,160],[136,161],[162],[117,122,129,131,140,147,158,161,163],[147,164],[91,95,158],[91,147,158],[86],[88,91,155,158],[137,155],[166],[86,166],[88,91,137,158],[83,84,87,90,117,129,147,158],[83,89],[87,91,117,150,158,166],[117,166],[107,117,166],[85,86,166],[91],[85,86,87,88,89,90,91,92,93,95,96,97,98,99,100,101,102,103,104,105,106,108,109,110,111,112,113],[91,98,99],[89,91,99,100],[90],[83,86,91],[91,95,99,100],[95],[89,91,94,158],[83,88,89,91,95,98],[117,147],[86,91,107,117,163,166],[70],[70,71,72,73,74],[49],[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,75,78],[70,76],[76,77],[45,56],[45],[49,139],[68],[51],[49,52,79,139],[44,45],[44,46,47,48],[43],[43,44]],"referencedMap":[[174,1],[169,2],[171,3],[170,2],[173,4],[175,5],[80,6],[81,6],[116,7],[117,8],[118,9],[119,10],[120,11],[121,12],[122,13],[123,14],[124,15],[125,16],[126,16],[128,17],[127,18],[129,19],[130,20],[131,21],[115,22],[132,23],[133,24],[134,25],[166,26],[135,27],[136,28],[137,29],[138,30],[139,31],[140,32],[141,33],[142,34],[143,35],[144,36],[145,36],[146,37],[147,38],[149,39],[148,40],[150,41],[151,42],[152,43],[153,44],[154,45],[155,46],[156,47],[157,48],[158,49],[159,50],[160,51],[161,52],[162,53],[163,54],[164,55],[98,56],[105,57],[97,56],[112,58],[89,59],[88,60],[111,61],[106,62],[109,63],[91,64],[90,65],[86,66],[85,67],[108,68],[87,69],[92,70],[96,70],[114,71],[113,70],[100,72],[101,73],[103,74],[99,75],[102,76],[107,61],[94,77],[95,78],[104,79],[84,80],[110,81],[74,82],[71,82],[75,83],[72,82],[73,82],[50,84],[79,85],[77,86],[78,87],[58,88],[56,89],[57,88],[54,90],[60,84],[55,84],[69,91],[63,84],[52,92],[62,84],[53,93],[46,94],[49,95],[44,96],[48,97]],"exportedModulesMap":[[174,1],[169,2],[171,3],[170,2],[173,4],[175,5],[80,6],[81,6],[116,7],[117,8],[118,9],[119,10],[120,11],[121,12],[122,13],[123,14],[124,15],[125,16],[126,16],[128,17],[127,18],[129,19],[130,20],[131,21],[115,22],[132,23],[133,24],[134,25],[166,26],[135,27],[136,28],[137,29],[138,30],[139,31],[140,32],[141,33],[142,34],[143,35],[144,36],[145,36],[146,37],[147,38],[149,39],[148,40],[150,41],[151,42],[152,43],[153,44],[154,45],[155,46],[156,47],[157,48],[158,49],[159,50],[160,51],[161,52],[162,53],[163,54],[164,55],[98,56],[105,57],[97,56],[112,58],[89,59],[88,60],[111,61],[106,62],[109,63],[91,64],[90,65],[86,66],[85,67],[108,68],[87,69],[92,70],[96,70],[114,71],[113,70],[100,72],[101,73],[103,74],[99,75],[102,76],[107,61],[94,77],[95,78],[104,79],[84,80],[110,81],[75,83],[50,84],[79,85],[78,87],[58,89],[56,89],[57,89],[54,84],[60,84],[55,84],[63,84],[62,84],[53,84],[46,94],[49,95],[44,96],[48,97]],"semanticDiagnosticsPerFile":[45,174,167,169,171,170,168,173,172,175,80,81,116,117,118,119,120,121,122,123,124,125,126,128,127,129,130,131,115,165,132,133,134,166,135,136,137,138,139,140,141,142,143,144,145,146,147,149,148,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,82,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,98,105,97,112,89,88,111,106,109,91,90,86,85,108,87,92,93,96,83,114,113,100,101,103,99,102,107,94,95,104,84,110,74,71,70,75,72,73,50,79,77,76,78,58,56,57,67,66,54,61,51,60,55,64,65,69,68,59,63,52,62,53,47,46,43,49,44,48]},"version":"4.9.5"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Preconnect hints for the font hosts a project's stylesheet links point at.
3
+ *
4
+ * ## Why this is worth a `<link>`
5
+ *
6
+ * A Google Fonts stylesheet is a two-hop dependency: the browser fetches the CSS
7
+ * from `fonts.googleapis.com`, parses it, and only THEN discovers the font files
8
+ * on `fonts.gstatic.com` — a second origin, needing its own DNS lookup, TCP
9
+ * handshake and TLS negotiation, all of it starting after the CSS has already
10
+ * come back. On a mobile connection that chain routinely costs a few hundred
11
+ * milliseconds of invisible or fallback text.
12
+ *
13
+ * Two `preconnect` hints in the head let both handshakes run in parallel with
14
+ * the CSS request instead of after it. It is the single cheapest font
15
+ * optimisation there is: two tags, no behaviour change, nothing to configure.
16
+ *
17
+ * ## Why `crossorigin` matters on the gstatic hint
18
+ *
19
+ * Font files are fetched in CORS mode. A preconnect without `crossorigin` opens
20
+ * a connection in the wrong mode, the browser cannot reuse it for the font
21
+ * request, and it opens a SECOND one — so the hint costs a connection instead of
22
+ * saving one. The stylesheet itself is a normal same-mode request and takes the
23
+ * plain hint.
24
+ */
25
+ /** One preconnect hint: an origin, and whether it needs CORS mode. */
26
+ export interface FontPreconnectHint {
27
+ href: string;
28
+ crossorigin: boolean;
29
+ }
30
+ /**
31
+ * The hints a project needs, in head order, or an empty list when it loads no
32
+ * fonts from a known host.
33
+ *
34
+ * Deliberately conservative: a preconnect to an origin the page never uses wastes
35
+ * a connection, so this only answers for hosts whose two-hop behaviour is known.
36
+ * A self-hosted font, or a font already inlined as `@font-face`, needs nothing —
37
+ * its files come from an origin the browser has connected to anyway.
38
+ */
39
+ export declare const resolveFontPreconnectHints: (assetPaths: ReadonlyArray<string | undefined>) => FontPreconnectHint[];
40
+ //# sourceMappingURL=font-preconnect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"font-preconnect.d.ts","sourceRoot":"","sources":["../../../src/utils/font-preconnect.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,sEAAsE;AACtE,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,OAAO,CAAA;CACrB;AAKD;;;;;;;;GAQG;AACH,eAAO,MAAM,0BAA0B,eACzB,cAAc,MAAM,GAAG,SAAS,CAAC,KAC5C,kBAAkB,EAepB,CAAA"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * Preconnect hints for the font hosts a project's stylesheet links point at.
4
+ *
5
+ * ## Why this is worth a `<link>`
6
+ *
7
+ * A Google Fonts stylesheet is a two-hop dependency: the browser fetches the CSS
8
+ * from `fonts.googleapis.com`, parses it, and only THEN discovers the font files
9
+ * on `fonts.gstatic.com` — a second origin, needing its own DNS lookup, TCP
10
+ * handshake and TLS negotiation, all of it starting after the CSS has already
11
+ * come back. On a mobile connection that chain routinely costs a few hundred
12
+ * milliseconds of invisible or fallback text.
13
+ *
14
+ * Two `preconnect` hints in the head let both handshakes run in parallel with
15
+ * the CSS request instead of after it. It is the single cheapest font
16
+ * optimisation there is: two tags, no behaviour change, nothing to configure.
17
+ *
18
+ * ## Why `crossorigin` matters on the gstatic hint
19
+ *
20
+ * Font files are fetched in CORS mode. A preconnect without `crossorigin` opens
21
+ * a connection in the wrong mode, the browser cannot reuse it for the font
22
+ * request, and it opens a SECOND one — so the hint costs a connection instead of
23
+ * saving one. The stylesheet itself is a normal same-mode request and takes the
24
+ * plain hint.
25
+ */
26
+ Object.defineProperty(exports, "__esModule", { value: true });
27
+ exports.resolveFontPreconnectHints = void 0;
28
+ var GOOGLE_FONTS_STYLESHEET_HOST = 'fonts.googleapis.com';
29
+ var GOOGLE_FONTS_FILE_HOST = 'fonts.gstatic.com';
30
+ /**
31
+ * The hints a project needs, in head order, or an empty list when it loads no
32
+ * fonts from a known host.
33
+ *
34
+ * Deliberately conservative: a preconnect to an origin the page never uses wastes
35
+ * a connection, so this only answers for hosts whose two-hop behaviour is known.
36
+ * A self-hosted font, or a font already inlined as `@font-face`, needs nothing —
37
+ * its files come from an origin the browser has connected to anyway.
38
+ */
39
+ var resolveFontPreconnectHints = function (assetPaths) {
40
+ var usesGoogleFonts = assetPaths.some(function (path) { return typeof path === 'string' && path.includes(GOOGLE_FONTS_STYLESHEET_HOST); });
41
+ if (!usesGoogleFonts) {
42
+ return [];
43
+ }
44
+ return [
45
+ { href: "https://".concat(GOOGLE_FONTS_STYLESHEET_HOST), crossorigin: false },
46
+ // CORS mode — see the note above; without it the connection is not reusable
47
+ // for the font files and the hint becomes a cost rather than a saving.
48
+ { href: "https://".concat(GOOGLE_FONTS_FILE_HOST), crossorigin: true },
49
+ ];
50
+ };
51
+ exports.resolveFontPreconnectHints = resolveFontPreconnectHints;
52
+ //# sourceMappingURL=font-preconnect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"font-preconnect.js","sourceRoot":"","sources":["../../../src/utils/font-preconnect.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;;;AAQH,IAAM,4BAA4B,GAAG,sBAAsB,CAAA;AAC3D,IAAM,sBAAsB,GAAG,mBAAmB,CAAA;AAElD;;;;;;;;GAQG;AACI,IAAM,0BAA0B,GAAG,UACxC,UAA6C;IAE7C,IAAM,eAAe,GAAG,UAAU,CAAC,IAAI,CACrC,UAAC,IAAI,IAAK,OAAA,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,4BAA4B,CAAC,EAAvE,CAAuE,CAClF,CAAA;IAED,IAAI,CAAC,eAAe,EAAE;QACpB,OAAO,EAAE,CAAA;KACV;IAED,OAAO;QACL,EAAE,IAAI,EAAE,kBAAW,4BAA4B,CAAE,EAAE,WAAW,EAAE,KAAK,EAAE;QACvE,4EAA4E;QAC5E,uEAAuE;QACvE,EAAE,IAAI,EAAE,kBAAW,sBAAsB,CAAE,EAAE,WAAW,EAAE,IAAI,EAAE;KACjE,CAAA;AACH,CAAC,CAAA;AAjBY,QAAA,0BAA0B,8BAiBtC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * The aggregate-rating rule, as ES5 source for embedding into generated runtime
3
+ * code (the data-source product transform) that cannot import from this package.
4
+ *
5
+ * ⚠️ SECOND MIRROR. The editor/canvas copy is teleport-gui's
6
+ * `features/e-commerce/utils/product-ratings.ts`, and the two must agree exactly
7
+ * or the canvas shows one rating and the deployed store shows another — the
8
+ * divergence class that hid the variant picker for a whole release. The GUI's
9
+ * `utils/__tests__/product-rating-parity.spec.ts` and this package's
10
+ * `__tests__/product-ratings.test.ts` run the SAME fixture table against their
11
+ * respective copies.
12
+ *
13
+ * Three rules the whole feature rests on (stated in full in the GUI copy):
14
+ *
15
+ * - Only APPROVED reviews count. The predicate lives in the SQL, never here.
16
+ * - "No reviews" and "we could not look" both render as NOTHING — never as
17
+ * "0.0 ★☆☆☆☆", which reads as a product everyone hated.
18
+ * - The label and the stars round from the SAME number: one decimal for the
19
+ * label, that value snapped to the nearest half for the stars.
20
+ *
21
+ * Everything is prefixed `__pr` so the block can be concatenated into any
22
+ * generated module without colliding with its locals — it is emitted alongside
23
+ * the `__pd` discount helpers and the storefront-tax helpers.
24
+ */
25
+ export declare const generateProductRatingHelperCode: () => string;
26
+ //# sourceMappingURL=product-ratings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product-ratings.d.ts","sourceRoot":"","sources":["../../../src/utils/product-ratings.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,+BAA+B,QAAO,MAyEjD,CAAA"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.generateProductRatingHelperCode = void 0;
4
+ /**
5
+ * The aggregate-rating rule, as ES5 source for embedding into generated runtime
6
+ * code (the data-source product transform) that cannot import from this package.
7
+ *
8
+ * ⚠️ SECOND MIRROR. The editor/canvas copy is teleport-gui's
9
+ * `features/e-commerce/utils/product-ratings.ts`, and the two must agree exactly
10
+ * or the canvas shows one rating and the deployed store shows another — the
11
+ * divergence class that hid the variant picker for a whole release. The GUI's
12
+ * `utils/__tests__/product-rating-parity.spec.ts` and this package's
13
+ * `__tests__/product-ratings.test.ts` run the SAME fixture table against their
14
+ * respective copies.
15
+ *
16
+ * Three rules the whole feature rests on (stated in full in the GUI copy):
17
+ *
18
+ * - Only APPROVED reviews count. The predicate lives in the SQL, never here.
19
+ * - "No reviews" and "we could not look" both render as NOTHING — never as
20
+ * "0.0 ★☆☆☆☆", which reads as a product everyone hated.
21
+ * - The label and the stars round from the SAME number: one decimal for the
22
+ * label, that value snapped to the nearest half for the stars.
23
+ *
24
+ * Everything is prefixed `__pr` so the block can be concatenated into any
25
+ * generated module without colliding with its locals — it is emitted alongside
26
+ * the `__pd` discount helpers and the storefront-tax helpers.
27
+ */
28
+ var generateProductRatingHelperCode = function () { return "\n// \u2500\u2500 Aggregate product ratings \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n// Turns the batched COUNT/AVG of a product's APPROVED reviews into the fields\n// the card and the details page bind: a one-decimal label, a count, a\n// 'true'/'false' gate and five per-slot fill states.\n//\n// Strings throughout (except the two numbers) to match the storefront's\n// string-equality convention: rendering conditions compare operands as TEXT and\n// a bound text node prints its value verbatim.\nvar __PR_MAX_STARS = 5;\n\n// Mean rounded to one decimal, clamped to the 1-5 scale. Clamping is not\n// paranoia: `rating` is a plain integer column and an import or a hand-written\n// UPDATE can put a 7 in it, which would ask for a star slot that does not exist.\nfunction __prRoundAverage(average) {\n var raw = Number(average);\n if (!isFinite(raw) || !(raw > 0)) return 0;\n var clamped = Math.min(__PR_MAX_STARS, raw);\n return Math.round(clamped * 10) / 10;\n}\n\n// The value the STARS are drawn from: the label average snapped to the nearest\n// half, so the stars can never disagree with the number printed beside them.\nfunction __prHalfStar(roundedAverage) {\n return Math.round(roundedAverage * 2) / 2;\n}\n\n// Fill state of one 1-based slot. At 4.5: slots 1-4 full, slot 5 half.\nfunction __prStarFill(slot, halfSnapped) {\n if (halfSnapped >= slot) return 'full';\n if (halfSnapped >= slot - 0.5) return 'half';\n return 'empty';\n}\n\n// Every product carries these keys; this is the \"no reviews\" answer, and it is\n// also what a FAILED lookup returns \u2014 the two are deliberately indistinguishable.\nfunction __prEmptyRatingFields() {\n return {\n ratingAverage: 0,\n ratingCount: 0,\n ratingAverageLabel: '',\n ratingCountLabel: '',\n hasRatings: 'false',\n ratingStar1: 'empty',\n ratingStar2: 'empty',\n ratingStar3: 'empty',\n ratingStar4: 'empty',\n ratingStar5: 'empty'\n };\n}\n\nfunction __prBuildRatingFields(aggregate) {\n var rawCount = aggregate ? Number(aggregate.count) : 0;\n var count = isFinite(rawCount) ? Math.max(0, Math.trunc(rawCount)) : 0;\n var average = __prRoundAverage(aggregate ? aggregate.average : 0);\n\n // A count with no usable average (every row NULL) is not a rating anyone can\n // read, so it degrades to \"no reviews\" rather than to zero stars.\n if (count <= 0 || average <= 0) return __prEmptyRatingFields();\n\n var half = __prHalfStar(average);\n return {\n ratingAverage: average,\n ratingCount: count,\n ratingAverageLabel: average.toFixed(1),\n ratingCountLabel: String(count),\n hasRatings: 'true',\n ratingStar1: __prStarFill(1, half),\n ratingStar2: __prStarFill(2, half),\n ratingStar3: __prStarFill(3, half),\n ratingStar4: __prStarFill(4, half),\n ratingStar5: __prStarFill(5, half)\n };\n}"; };
29
+ exports.generateProductRatingHelperCode = generateProductRatingHelperCode;
30
+ //# sourceMappingURL=product-ratings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product-ratings.js","sourceRoot":"","sources":["../../../src/utils/product-ratings.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACI,IAAM,+BAA+B,GAAG,cAAc,OAAA,0hGAyE3D,EAzE2D,CAyE3D,CAAA;AAzEW,QAAA,+BAA+B,mCAyE1C"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The provider registry as a JavaScript literal, so the component the Next
3
+ * generator writes is built from THIS array rather than a hand-copied one.
4
+ * Regexes are re-created from their source and flags because `JSON.stringify`
5
+ * flattens a `RegExp` to `{}`.
6
+ */
7
+ export declare function serializeEmbedProvidersForRuntime(): string;
8
+ export declare function generateEmbedRuntimeModuleSource(): string;
9
+ //# sourceMappingURL=rich-text-embeds-codegen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rich-text-embeds-codegen.d.ts","sourceRoot":"","sources":["../../../src/utils/rich-text-embeds-codegen.ts"],"names":[],"mappings":"AA0DA;;;;;GAKG;AACH,wBAAgB,iCAAiC,IAAI,MAAM,CAe1D;AAuED,wBAAgB,gCAAgC,IAAI,MAAM,CAoDzD"}
@@ -0,0 +1,139 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.generateEmbedRuntimeModuleSource = exports.serializeEmbedProvidersForRuntime = void 0;
4
+ /**
5
+ * Code-generation helpers for the rich-text embed contract.
6
+ *
7
+ * Kept apart from `rich-text-embeds.ts` on purpose: that module is imported by
8
+ * the studio editor and the canvas renderer, which are BROWSER bundles, and the
9
+ * function registry below holds a live reference to every helper so that none
10
+ * of them can be tree-shaken. Only the project generator imports this file.
11
+ */
12
+ var rich_text_embeds_1 = require("./rich-text-embeds");
13
+ /**
14
+ * The provider registry as a JavaScript literal, so the component the Next
15
+ * generator writes is built from THIS array rather than a hand-copied one.
16
+ * Regexes are re-created from their source and flags because `JSON.stringify`
17
+ * flattens a `RegExp` to `{}`.
18
+ */
19
+ function serializeEmbedProvidersForRuntime() {
20
+ var entries = rich_text_embeds_1.EMBED_PROVIDERS.map(function (provider) {
21
+ var patterns = provider.patterns
22
+ .map(function (pattern) {
23
+ return "new RegExp(".concat(JSON.stringify(pattern.source), ", ").concat(JSON.stringify(pattern.flags), ")");
24
+ })
25
+ .join(', ');
26
+ return ("{ id: ".concat(JSON.stringify(provider.id), ", label: ").concat(JSON.stringify(provider.label), ", ") +
27
+ "patterns: [".concat(patterns, "], template: ").concat(JSON.stringify(provider.template), ", ") +
28
+ "ratio: ".concat(provider.ratio === null ? 'null' : String(provider.ratio), " }"));
29
+ });
30
+ return "[\n ".concat(entries.join(',\n '), "\n]");
31
+ }
32
+ exports.serializeEmbedProvidersForRuntime = serializeEmbedProvidersForRuntime;
33
+ /* ── The generated runtime module ───────────────────────────────────────────
34
+ *
35
+ * The exported project needs these same helpers at runtime: its rich-text
36
+ * editor builds embeds with them and its activator mounts them. Rather than
37
+ * hand-copying the logic into a code-generator template — where it would drift
38
+ * from this file the first time a provider is added — the module is EMITTED
39
+ * from the very functions above: the constants are serialized, the functions
40
+ * are printed with `Function.prototype.toString`, and the result is written to
41
+ * the generated project as `components/embed-runtime.js`.
42
+ *
43
+ * Two rules keep that safe, and `__tests__/utils/rich-text-embeds.ts` pins both:
44
+ * - every emitted function may only reference other emitted functions and the
45
+ * constants below, never a module-private helper or an import;
46
+ * - the emitted module must parse and behave identically to this one.
47
+ */
48
+ /**
49
+ * Every function the generated editor and activator reach — the ones they
50
+ * import, plus everything those call in turn. Deliberately not the whole of
51
+ * `rich-text-embeds`: the editor overlay helpers belong to the studio, and an
52
+ * export nothing calls is dead weight in every generated project.
53
+ */
54
+ var RUNTIME_EXPORTS = [
55
+ rich_text_embeds_1.isSafeEmbedUrl,
56
+ rich_text_embeds_1.resolveEmbedProvider,
57
+ rich_text_embeds_1.applyEmbedTemplate,
58
+ rich_text_embeds_1.buildEmbedHtmlFromUrl,
59
+ rich_text_embeds_1.resolveEmbedMode,
60
+ rich_text_embeds_1.clampEmbedWidth,
61
+ rich_text_embeds_1.normalizeEmbedAlign,
62
+ rich_text_embeds_1.escapeEmbedAttribute,
63
+ rich_text_embeds_1.escapeEmbedText,
64
+ rich_text_embeds_1.encodeEmbedCode,
65
+ rich_text_embeds_1.decodeEmbedCode,
66
+ rich_text_embeds_1.createEmbedValue,
67
+ rich_text_embeds_1.embedBlockStyle,
68
+ rich_text_embeds_1.embedFrameStyle,
69
+ rich_text_embeds_1.buildEmbedElementHtml,
70
+ rich_text_embeds_1.buildEmbedFrameChildren,
71
+ rich_text_embeds_1.findEmbedFrame,
72
+ rich_text_embeds_1.readEmbedValueFromElement,
73
+ rich_text_embeds_1.readEncodedEmbedCode,
74
+ rich_text_embeds_1.normalizeEmbedsForStorage,
75
+ rich_text_embeds_1.resolveEmbedSandboxFlags,
76
+ rich_text_embeds_1.buildEmbedSandboxDocument,
77
+ rich_text_embeds_1.parseEmbedHeightMessage,
78
+ rich_text_embeds_1.createEmbedToken,
79
+ ];
80
+ var runtimeConstant = function (name, literal) { return ({ name: name, literal: literal }); };
81
+ /**
82
+ * TypeScript's CommonJS emit rewrites every reference to an exported CONSTANT
83
+ * as `exports.NAME` (exported functions keep their bare names, which is why
84
+ * they can call each other). The generator runs against that CommonJS build, so
85
+ * printed function bodies arrive carrying `exports.` prefixes that mean nothing
86
+ * in the emitted module — where each constant is re-declared as a plain
87
+ * top-level binding of the same name. Rewriting them back is therefore exact,
88
+ * not a heuristic: only names this module emits are rewritten, and
89
+ * `generateEmbedRuntimeModuleSource` asserts nothing module-scoped is left.
90
+ */
91
+ var bindRuntimeConstantReferences = function (source, names) {
92
+ return names.reduce(function (acc, name) { return acc.replace(new RegExp("\\bexports\\.".concat(name, "\\b"), 'g'), name); }, source);
93
+ };
94
+ function generateEmbedRuntimeModuleSource() {
95
+ var constants = [
96
+ runtimeConstant('EMBED_CLASS_NAME', JSON.stringify(rich_text_embeds_1.EMBED_CLASS_NAME)),
97
+ runtimeConstant('EMBED_FRAME_CLASS_NAME', JSON.stringify(rich_text_embeds_1.EMBED_FRAME_CLASS_NAME)),
98
+ runtimeConstant('EMBED_CAPTION_CLASS_NAME', JSON.stringify(rich_text_embeds_1.EMBED_CAPTION_CLASS_NAME)),
99
+ runtimeConstant('EMBED_BLOT_NAME', JSON.stringify(rich_text_embeds_1.EMBED_BLOT_NAME)),
100
+ runtimeConstant('EMBED_ATTR', JSON.stringify(rich_text_embeds_1.EMBED_ATTR, null, 2)),
101
+ runtimeConstant('EMBED_ALIGNMENTS', JSON.stringify(rich_text_embeds_1.EMBED_ALIGNMENTS)),
102
+ runtimeConstant('CUSTOM_EMBED_PROVIDER_ID', JSON.stringify(rich_text_embeds_1.CUSTOM_EMBED_PROVIDER_ID)),
103
+ runtimeConstant('GENERIC_EMBED_PROVIDER_ID', JSON.stringify(rich_text_embeds_1.GENERIC_EMBED_PROVIDER_ID)),
104
+ runtimeConstant('DEFAULT_EMBED_WIDTH', String(rich_text_embeds_1.DEFAULT_EMBED_WIDTH)),
105
+ runtimeConstant('DEFAULT_EMBED_ALIGN', JSON.stringify(rich_text_embeds_1.DEFAULT_EMBED_ALIGN)),
106
+ runtimeConstant('DEFAULT_EMBED_SANDBOX_LEVEL', JSON.stringify(rich_text_embeds_1.DEFAULT_EMBED_SANDBOX_LEVEL)),
107
+ runtimeConstant('WIDESCREEN_EMBED_RATIO', String(rich_text_embeds_1.WIDESCREEN_EMBED_RATIO)),
108
+ runtimeConstant('EMBED_CAPTION_STYLE', JSON.stringify(rich_text_embeds_1.EMBED_CAPTION_STYLE)),
109
+ runtimeConstant('EMBED_PROVIDERS', serializeEmbedProvidersForRuntime()),
110
+ runtimeConstant('EMBED_SANDBOX_FLAGS_STRICT', JSON.stringify(rich_text_embeds_1.EMBED_SANDBOX_FLAGS_STRICT)),
111
+ runtimeConstant('EMBED_SANDBOX_FLAGS_TRUSTED', JSON.stringify(rich_text_embeds_1.EMBED_SANDBOX_FLAGS_TRUSTED)),
112
+ runtimeConstant('EMBED_HEIGHT_MESSAGE_TYPE', JSON.stringify(rich_text_embeds_1.EMBED_HEIGHT_MESSAGE_TYPE)),
113
+ runtimeConstant('EMBED_TOKEN_PLACEHOLDER', JSON.stringify(rich_text_embeds_1.EMBED_TOKEN_PLACEHOLDER)),
114
+ runtimeConstant('EMBED_MIN_HEIGHT', String(rich_text_embeds_1.EMBED_MIN_HEIGHT)),
115
+ runtimeConstant('EMBED_MAX_HEIGHT', String(rich_text_embeds_1.EMBED_MAX_HEIGHT)),
116
+ runtimeConstant('EMBED_INITIAL_HEIGHT', String(rich_text_embeds_1.EMBED_INITIAL_HEIGHT)),
117
+ runtimeConstant('EMBED_SANDBOX_DOC_HEAD', JSON.stringify(rich_text_embeds_1.EMBED_SANDBOX_DOC_HEAD)),
118
+ runtimeConstant('EMBED_SANDBOX_DOC_TAIL', JSON.stringify(rich_text_embeds_1.EMBED_SANDBOX_DOC_TAIL)),
119
+ // `createEmbedToken` closes over this counter.
120
+ runtimeConstant('embedTokenCounter', '0'),
121
+ ];
122
+ var names = constants.map(function (entry) { return entry.name; });
123
+ var declarations = constants.map(function (entry) { return "export var ".concat(entry.name, " = ").concat(entry.literal); });
124
+ var functions = RUNTIME_EXPORTS.map(function (fn) { return "export ".concat(bindRuntimeConstantReferences(fn.toString(), names)); });
125
+ var source = "".concat(RUNTIME_MODULE_HEADER, "\n").concat(declarations.join('\n\n'), "\n\n").concat(functions.join('\n\n'), "\n");
126
+ // An `exports.` reference that survived means a function reached for a
127
+ // constant left off the list above. That crashes every generated project at
128
+ // runtime, so it fails here instead. (Import leakage is covered by the
129
+ // emitted module being evaluated in this package's tests — this module has
130
+ // no imports, and must not gain any.)
131
+ var leaked = source.match(/\bexports\.[A-Za-z_$][\w$]*/g);
132
+ if (leaked) {
133
+ throw new Error("Embed runtime module cannot be emitted: unresolved module references ".concat(leaked.join(', ')));
134
+ }
135
+ return source;
136
+ }
137
+ exports.generateEmbedRuntimeModuleSource = generateEmbedRuntimeModuleSource;
138
+ var RUNTIME_MODULE_HEADER = "/**\n * Code embeds inside rich-text content \u2014 the shape the editor writes and the\n * page reads back. Generated from @teleporthq/teleport-shared; edit it there.\n *\n * An embed is stored inside the content HTML as a <figure class=\"tq-embed\">.\n * Passive markup (a provider iframe) lives in the figure as real children, so\n * it renders server-side with no JavaScript. Markup that can execute \u2014 a\n * <script>, an on* handler, a javascript: URL \u2014 is base64-encoded onto the\n * element instead, and mounted at runtime inside a sandboxed iframe so it can\n * never reach this page.\n */\n";
139
+ //# sourceMappingURL=rich-text-embeds-codegen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rich-text-embeds-codegen.js","sourceRoot":"","sources":["../../../src/utils/rich-text-embeds-codegen.ts"],"names":[],"mappings":"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"}